@code0-tech/sagittarius-graphql-types 0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6 → 0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150

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 +362 -18
  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,9 +54,20 @@ 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']>;
61
71
  /** Shows if organization creation is restricted to administrators */
62
72
  organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
63
73
  /** Shows if user registration is enabled */
@@ -66,6 +76,8 @@ export interface ApplicationSettings {
66
76
 
67
77
  /** Autogenerated input type of ApplicationSettingsUpdate */
68
78
  export interface ApplicationSettingsUpdateInput {
79
+ /** Set if admin status can be queried by non-administrators. */
80
+ adminStatusVisible?: InputMaybe<Scalars['Boolean']['input']>;
69
81
  /** A unique identifier for the client performing the mutation. */
70
82
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
71
83
  /** Set if organization creation is restricted to administrators. */
@@ -91,8 +103,12 @@ export type Authentication = UserSession;
91
103
  /** Represents a DataType */
92
104
  export interface DataType {
93
105
  __typename?: 'DataType';
106
+ /** Name of the function */
107
+ aliases?: Maybe<TranslationConnection>;
94
108
  /** Time when this DataType was created */
95
109
  createdAt?: Maybe<Scalars['Time']['output']>;
110
+ /** Display message of the function */
111
+ displayMessages?: Maybe<TranslationConnection>;
96
112
  /** Generic keys of the datatype */
97
113
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
114
  /** Global ID of this DataType */
@@ -112,6 +128,24 @@ export interface DataType {
112
128
  }
113
129
 
114
130
 
131
+ /** Represents a DataType */
132
+ export interface DataTypeAliasesArgs {
133
+ after?: InputMaybe<Scalars['String']['input']>;
134
+ before?: InputMaybe<Scalars['String']['input']>;
135
+ first?: InputMaybe<Scalars['Int']['input']>;
136
+ last?: InputMaybe<Scalars['Int']['input']>;
137
+ }
138
+
139
+
140
+ /** Represents a DataType */
141
+ export interface DataTypeDisplayMessagesArgs {
142
+ after?: InputMaybe<Scalars['String']['input']>;
143
+ before?: InputMaybe<Scalars['String']['input']>;
144
+ first?: InputMaybe<Scalars['Int']['input']>;
145
+ last?: InputMaybe<Scalars['Int']['input']>;
146
+ }
147
+
148
+
115
149
  /** Represents a DataType */
116
150
  export interface DataTypeNameArgs {
117
151
  after?: InputMaybe<Scalars['String']['input']>;
@@ -296,7 +330,7 @@ export const enum DataTypeRulesVariant {
296
330
  /** The rule checks if a specific type is present in the data type. */
297
331
  ContainsType = 'CONTAINS_TYPE',
298
332
  /** The rule checks if the data type matches a specific input type. */
299
- InputType = 'INPUT_TYPE',
333
+ InputTypes = 'INPUT_TYPES',
300
334
  /** The rule checks if an item is part of a collection in the data type. */
301
335
  ItemOfCollection = 'ITEM_OF_COLLECTION',
302
336
  /** The rule checks if a number falls within a specified range. */
@@ -327,6 +361,9 @@ export const enum DataTypeVariant {
327
361
  Type = 'TYPE'
328
362
  }
329
363
 
364
+ /** Represents a detailed error with either a message or an active model error */
365
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
366
+
330
367
  /** Autogenerated input type of Echo */
331
368
  export interface EchoInput {
332
369
  /** A unique identifier for the client performing the mutation. */
@@ -347,12 +384,11 @@ export interface EchoPayload {
347
384
  }
348
385
 
349
386
  /** 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 */
387
+ export interface Error {
388
+ __typename?: 'Error';
389
+ /** Detailed validation errors if applicable */
390
+ details?: Maybe<Array<DetailedError>>;
391
+ /** The code representing the error type */
356
392
  errorCode?: Maybe<ErrorCodeEnum>;
357
393
  }
358
394
 
@@ -360,50 +396,144 @@ export interface ErrorCode {
360
396
  export const enum ErrorCodeEnum {
361
397
  /** This action would remove the last administrative role */
362
398
  CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
399
+ /** Only administrators can modify admin status of users */
400
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
401
+ /** Users cannot modify their own admin status */
402
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
363
403
  /** This action would remove the last administrator */
364
404
  CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
365
405
  /** This action would remove the last administrative ability */
366
406
  CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
407
+ /** The data type identifier with the given identifier was not found */
408
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
409
+ /** The data type with the given identifier was not found */
410
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
411
+ /** Failed to send the email verification */
412
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
367
413
  /** This external identity does not exist */
368
414
  ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
369
415
  /** The old backup codes could not be deleted */
370
416
  FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
417
+ /** Failed to reset the user password */
418
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
371
419
  /** The new backup codes could not be saved */
372
420
  FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
421
+ /** The flow with the given identifier was not found */
422
+ FlowNotFound = 'FLOW_NOT_FOUND',
423
+ /** The flow type with the given identifier was not found */
424
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
425
+ /** The flow validation has failed */
426
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
373
427
  /** The given key was not found in the data type */
374
428
  GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
429
+ /** The external identity with the given identifier was not found */
430
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
375
431
  /** Failed to validate the external identity */
376
432
  IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
377
433
  /** Resources are from different namespaces */
378
434
  InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
435
+ /** The attachment is invalid because of active model errors */
436
+ InvalidAttachment = 'INVALID_ATTACHMENT',
437
+ /** The data type is invalid because of active model errors */
438
+ InvalidDataType = 'INVALID_DATA_TYPE',
379
439
  /** This external identity is invalid */
380
440
  InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
441
+ /** The flow is invalid because of active model errors */
442
+ InvalidFlow = 'INVALID_FLOW',
443
+ /** The flow setting is invalid because of active model errors */
444
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
445
+ /** The flow type is invalid because of active model errors */
446
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
447
+ /** The generic mapper is invalid because of active model errors */
448
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
381
449
  /** Invalid login data provided */
382
450
  InvalidLoginData = 'INVALID_LOGIN_DATA',
451
+ /** The namespace license is invalid because of active model errors */
452
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
453
+ /** The namespace member is invalid because of active model errors */
454
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
455
+ /** The namespace project is invalid because of active model errors */
456
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
457
+ /** The namespace role is invalid because of active model errors */
458
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
459
+ /** The organization is invalid because of active model errors */
460
+ InvalidOrganization = 'INVALID_ORGANIZATION',
461
+ /** The provided password repeat does not match the password */
462
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
463
+ /** The runtime is invalid because of active model errors */
464
+ InvalidRuntime = 'INVALID_RUNTIME',
465
+ /** The runtime function definition is invalid */
466
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
467
+ /** The runtime function ID is invalid */
468
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
469
+ /** The runtime parameter definition is invalid */
470
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
471
+ /** The runtime parameter ID is invalid */
472
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
383
473
  /** Invalid setting provided */
384
474
  InvalidSetting = 'INVALID_SETTING',
475
+ /** The TOTP secret is invalid or cannot be verified */
476
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
477
+ /** The user is invalid because of active model errors */
478
+ InvalidUser = 'INVALID_USER',
479
+ /** The user identity is invalid because of active model errors */
480
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
481
+ /** The user session is invalid because of active model errors */
482
+ InvalidUserSession = 'INVALID_USER_SESSION',
385
483
  /** Invalid verification code provided */
386
484
  InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
485
+ /** The namespace license with the given identifier was not found */
486
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
487
+ /** Failed to load user identity from external provider */
488
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
387
489
  /** Invalid MFA data provided */
388
490
  MfaFailed = 'MFA_FAILED',
389
491
  /** MFA is required */
390
492
  MfaRequired = 'MFA_REQUIRED',
493
+ /** The primary runtime has more definitions than this one */
494
+ MissingDefinition = 'MISSING_DEFINITION',
391
495
  /** This external identity is missing data */
392
496
  MissingIdentityData = 'MISSING_IDENTITY_DATA',
393
497
  /** Not all required parameters are present */
394
498
  MissingParameter = 'MISSING_PARAMETER',
395
499
  /** The user is not permitted to perform this operation */
396
500
  MissingPermission = 'MISSING_PERMISSION',
501
+ /** The project is missing a primary runtime */
502
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
503
+ /** The namespace member with the given identifier was not found */
504
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
505
+ /** The namespace with the given identifier was not found */
506
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
507
+ /** The namespace project with the given identifier was not found */
508
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
509
+ /** The namespace role with the given identifier was not found */
510
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
511
+ /** No data type identifier could be found for the given generic key */
512
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
513
+ /** No data type could be found for the given identifier */
514
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
397
515
  /** There are no free license seats to complete this operation */
398
516
  NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
517
+ /** No generic type could be found for the given identifier */
518
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
399
519
  /** The project does not have a primary runtime */
400
520
  NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
521
+ /** The organization with the given identifier was not found */
522
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
523
+ /** The primary runtime has a newer definition than this one */
524
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
401
525
  /** @deprecated Outdated concept */
402
526
  PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
527
+ /** The namespace project with the given identifier was not found */
528
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
529
+ /** A referenced value could not be found */
530
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
403
531
  /** Self-registration is disabled */
404
532
  RegistrationDisabled = 'REGISTRATION_DISABLED',
405
533
  /** Resources are from different runtimes */
406
534
  RuntimeMismatch = 'RUNTIME_MISMATCH',
535
+ /** The runtime with the given identifier was not found */
536
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
407
537
  /** @deprecated Outdated concept */
408
538
  SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
409
539
  /** @deprecated Outdated concept */
@@ -412,6 +542,10 @@ export const enum ErrorCodeEnum {
412
542
  TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
413
543
  /** The user is not permitted to modify this field */
414
544
  UnmodifiableField = 'UNMODIFIABLE_FIELD',
545
+ /** The user with the given identifier was not found */
546
+ UserNotFound = 'USER_NOT_FOUND',
547
+ /** The user session with the given identifier was not found */
548
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
415
549
  /** Invalid TOTP code provided */
416
550
  WrongTotp = 'WRONG_TOTP'
417
551
  }
@@ -487,10 +621,12 @@ export interface FlowEdge {
487
621
  export interface FlowInput {
488
622
  /** The name of the flow */
489
623
  name: Scalars['String']['input'];
624
+ /** The node functions of the flow */
625
+ nodes: Array<NodeFunctionInput>;
490
626
  /** The settings of the flow */
491
627
  settings?: InputMaybe<Array<FlowSettingInput>>;
492
628
  /** The starting node of the flow */
493
- startingNode: NodeFunctionInput;
629
+ startingNodeId: Scalars['NodeFunctionID']['input'];
494
630
  /** The identifier of the flow type */
495
631
  type: Scalars['FlowTypeID']['input'];
496
632
  }
@@ -535,24 +671,28 @@ export interface FlowSettingEdge {
535
671
  /** Input type for flow settings */
536
672
  export interface FlowSettingInput {
537
673
  /** The identifier (not database id) of the flow setting */
538
- flowSettingId: Scalars['String']['input'];
674
+ flowSettingIdentifier: Scalars['String']['input'];
539
675
  /** The value of the flow setting */
540
- object: Scalars['JSON']['input'];
676
+ value: Scalars['JSON']['input'];
541
677
  }
542
678
 
543
679
  /** Represents a flow type */
544
680
  export interface FlowType {
545
681
  __typename?: 'FlowType';
682
+ /** Name of the function */
683
+ aliases?: Maybe<TranslationConnection>;
546
684
  /** Time when this FlowType was created */
547
685
  createdAt?: Maybe<Scalars['Time']['output']>;
548
686
  /** Descriptions of the flow type */
549
687
  descriptions?: Maybe<TranslationConnection>;
688
+ /** Display message of the function */
689
+ displayMessages?: Maybe<TranslationConnection>;
550
690
  /** Editable status of the flow type */
551
691
  editable?: Maybe<Scalars['Boolean']['output']>;
552
692
  /** Flow type settings of the flow type */
553
693
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
554
694
  /** Global ID of this FlowType */
555
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
695
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
556
696
  /** Identifier of the flow type */
557
697
  identifier?: Maybe<Scalars['String']['output']>;
558
698
  /** Input type of the flow type */
@@ -566,6 +706,15 @@ export interface FlowType {
566
706
  }
567
707
 
568
708
 
709
+ /** Represents a flow type */
710
+ export interface FlowTypeAliasesArgs {
711
+ after?: InputMaybe<Scalars['String']['input']>;
712
+ before?: InputMaybe<Scalars['String']['input']>;
713
+ first?: InputMaybe<Scalars['Int']['input']>;
714
+ last?: InputMaybe<Scalars['Int']['input']>;
715
+ }
716
+
717
+
569
718
  /** Represents a flow type */
570
719
  export interface FlowTypeDescriptionsArgs {
571
720
  after?: InputMaybe<Scalars['String']['input']>;
@@ -575,6 +724,15 @@ export interface FlowTypeDescriptionsArgs {
575
724
  }
576
725
 
577
726
 
727
+ /** Represents a flow type */
728
+ export interface FlowTypeDisplayMessagesArgs {
729
+ after?: InputMaybe<Scalars['String']['input']>;
730
+ before?: InputMaybe<Scalars['String']['input']>;
731
+ first?: InputMaybe<Scalars['Int']['input']>;
732
+ last?: InputMaybe<Scalars['Int']['input']>;
733
+ }
734
+
735
+
578
736
  /** Represents a flow type */
579
737
  export interface FlowTypeNamesArgs {
580
738
  after?: InputMaybe<Scalars['String']['input']>;
@@ -653,15 +811,62 @@ export interface FlowUserAbilities {
653
811
  deleteFlow?: Maybe<Scalars['Boolean']['output']>;
654
812
  }
655
813
 
814
+ /** Represents a flow validation error */
815
+ export interface FlowValidationError {
816
+ __typename?: 'FlowValidationError';
817
+ /** Additional details about the validation error */
818
+ details?: Maybe<ActiveModelError>;
819
+ /** The code representing the validation error type */
820
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
821
+ /** The severity of the validation error */
822
+ severity?: Maybe<FlowValidationSeverityEnum>;
823
+ }
824
+
825
+ /** Represents the available error responses */
826
+ export const enum FlowValidationErrorCodeEnum {
827
+ /** The generic key for the data type identifier was not found. */
828
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
829
+ /** The data type identifier runtime does not match the flow type runtime. */
830
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
831
+ /** The data type rule model is invalid. */
832
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
833
+ /** The data type runtime does not match the flow type runtime. */
834
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
835
+ /** The flow setting model is invalid. */
836
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
837
+ /** The flow type runtime does not match the project primary runtime. */
838
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
839
+ /** The node function runtime does not match the project primary runtime. */
840
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
841
+ /** The project does not have a primary runtime set. */
842
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
843
+ }
844
+
845
+ /** Represents the severity of a flow validation error */
846
+ export const enum FlowValidationSeverityEnum {
847
+ /** A blocking validation error */
848
+ Error = 'ERROR',
849
+ /** A minor typographical issue can also be blocking */
850
+ Typo = 'TYPO',
851
+ /** A non-blocking validation warning */
852
+ Warning = 'WARNING',
853
+ /** A weak validation issue that may not need to be addressed */
854
+ Weak = 'WEAK'
855
+ }
856
+
656
857
  /** Represents a function definition */
657
858
  export interface FunctionDefinition {
658
859
  __typename?: 'FunctionDefinition';
860
+ /** Name of the function */
861
+ aliases?: Maybe<TranslationConnection>;
659
862
  /** Time when this FunctionDefinition was created */
660
863
  createdAt?: Maybe<Scalars['Time']['output']>;
661
864
  /** Deprecation message of the function */
662
865
  deprecationMessages?: Maybe<TranslationConnection>;
663
866
  /** Description of the function */
664
867
  descriptions?: Maybe<TranslationConnection>;
868
+ /** Display message of the function */
869
+ displayMessages?: Maybe<TranslationConnection>;
665
870
  /** Documentation of the function */
666
871
  documentations?: Maybe<TranslationConnection>;
667
872
  /** Generic keys of the function */
@@ -685,6 +890,15 @@ export interface FunctionDefinition {
685
890
  }
686
891
 
687
892
 
893
+ /** Represents a function definition */
894
+ export interface FunctionDefinitionAliasesArgs {
895
+ after?: InputMaybe<Scalars['String']['input']>;
896
+ before?: InputMaybe<Scalars['String']['input']>;
897
+ first?: InputMaybe<Scalars['Int']['input']>;
898
+ last?: InputMaybe<Scalars['Int']['input']>;
899
+ }
900
+
901
+
688
902
  /** Represents a function definition */
689
903
  export interface FunctionDefinitionDeprecationMessagesArgs {
690
904
  after?: InputMaybe<Scalars['String']['input']>;
@@ -703,6 +917,15 @@ export interface FunctionDefinitionDescriptionsArgs {
703
917
  }
704
918
 
705
919
 
920
+ /** Represents a function definition */
921
+ export interface FunctionDefinitionDisplayMessagesArgs {
922
+ after?: InputMaybe<Scalars['String']['input']>;
923
+ before?: InputMaybe<Scalars['String']['input']>;
924
+ first?: InputMaybe<Scalars['Int']['input']>;
925
+ last?: InputMaybe<Scalars['Int']['input']>;
926
+ }
927
+
928
+
706
929
  /** Represents a function definition */
707
930
  export interface FunctionDefinitionDocumentationsArgs {
708
931
  after?: InputMaybe<Scalars['String']['input']>;
@@ -794,7 +1017,7 @@ export interface GenericMapper {
794
1017
  /** Input type for generic mappers */
795
1018
  export interface GenericMapperInput {
796
1019
  /** The source data type identifier for the mapper */
797
- sources: Array<DataTypeIdentifierInput>;
1020
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
798
1021
  /** The target data type identifier for the mapper */
799
1022
  target: Scalars['String']['input'];
800
1023
  }
@@ -863,6 +1086,15 @@ export interface MessageError {
863
1086
  message?: Maybe<Scalars['String']['output']>;
864
1087
  }
865
1088
 
1089
+ /** Application metadata */
1090
+ export interface Metadata {
1091
+ __typename?: 'Metadata';
1092
+ /** List of loaded extensions */
1093
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1094
+ /** Application version */
1095
+ version?: Maybe<Scalars['String']['output']>;
1096
+ }
1097
+
866
1098
  /** Represents the input for mfa authentication */
867
1099
  export interface MfaInput {
868
1100
  /** The type of the mfa authentication */
@@ -871,6 +1103,17 @@ export interface MfaInput {
871
1103
  value: Scalars['String']['input'];
872
1104
  }
873
1105
 
1106
+ /** Represents the MFA status of a user */
1107
+ export interface MfaStatus {
1108
+ __typename?: 'MfaStatus';
1109
+ /** The number of backup codes remaining for the user. */
1110
+ backupCodesCount?: Maybe<Scalars['Int']['output']>;
1111
+ /** Indicates whether MFA is enabled for the user. */
1112
+ enabled?: Maybe<Scalars['Boolean']['output']>;
1113
+ /** Indicates whether TOTP MFA is enabled for the user. */
1114
+ totpEnabled?: Maybe<Scalars['Boolean']['output']>;
1115
+ }
1116
+
874
1117
  /** Represent all available types to authenticate with mfa */
875
1118
  export const enum MfaType {
876
1119
  /** Single use backup code */
@@ -938,6 +1181,10 @@ export interface Mutation {
938
1181
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
939
1182
  /** Update an existing runtime. */
940
1183
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1184
+ /** Admin-create a user. */
1185
+ usersCreate?: Maybe<UsersCreatePayload>;
1186
+ /** Delete an existing user. */
1187
+ usersDelete?: Maybe<UsersDeletePayload>;
941
1188
  /** Verify your email when changing it or signing up */
942
1189
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
943
1190
  /** Links an external identity to an existing user */
@@ -1119,6 +1366,18 @@ export interface MutationRuntimesUpdateArgs {
1119
1366
  }
1120
1367
 
1121
1368
 
1369
+ /** Root Mutation type */
1370
+ export interface MutationUsersCreateArgs {
1371
+ input: UsersCreateInput;
1372
+ }
1373
+
1374
+
1375
+ /** Root Mutation type */
1376
+ export interface MutationUsersDeleteArgs {
1377
+ input: UsersDeleteInput;
1378
+ }
1379
+
1380
+
1122
1381
  /** Root Mutation type */
1123
1382
  export interface MutationUsersEmailVerificationArgs {
1124
1383
  input: UsersEmailVerificationInput;
@@ -1453,6 +1712,8 @@ export interface NamespaceProject {
1453
1712
  namespace?: Maybe<Namespace>;
1454
1713
  /** The primary runtime for the project */
1455
1714
  primaryRuntime?: Maybe<Runtime>;
1715
+ /** Roles assigned to this project */
1716
+ roles?: Maybe<NamespaceRoleConnection>;
1456
1717
  /** Runtimes assigned to this project */
1457
1718
  runtimes?: Maybe<RuntimeConnection>;
1458
1719
  /** Time when this NamespaceProject was last updated */
@@ -1477,6 +1738,15 @@ export interface NamespaceProjectFlowsArgs {
1477
1738
  }
1478
1739
 
1479
1740
 
1741
+ /** Represents a namespace project */
1742
+ export interface NamespaceProjectRolesArgs {
1743
+ after?: InputMaybe<Scalars['String']['input']>;
1744
+ before?: InputMaybe<Scalars['String']['input']>;
1745
+ first?: InputMaybe<Scalars['Int']['input']>;
1746
+ last?: InputMaybe<Scalars['Int']['input']>;
1747
+ }
1748
+
1749
+
1480
1750
  /** Represents a namespace project */
1481
1751
  export interface NamespaceProjectRuntimesArgs {
1482
1752
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1531,6 +1801,8 @@ export interface NamespaceRole {
1531
1801
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
1802
  /** Global ID of this NamespaceRole */
1533
1803
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1804
+ /** The members this role is assigned to */
1805
+ members?: Maybe<NamespaceMemberConnection>;
1534
1806
  /** The name of this role */
1535
1807
  name?: Maybe<Scalars['String']['output']>;
1536
1808
  /** The namespace where this role belongs to */
@@ -1550,6 +1822,15 @@ export interface NamespaceRoleAssignedProjectsArgs {
1550
1822
  last?: InputMaybe<Scalars['Int']['input']>;
1551
1823
  }
1552
1824
 
1825
+
1826
+ /** Represents a namespace role. */
1827
+ export interface NamespaceRoleMembersArgs {
1828
+ after?: InputMaybe<Scalars['String']['input']>;
1829
+ before?: InputMaybe<Scalars['String']['input']>;
1830
+ first?: InputMaybe<Scalars['Int']['input']>;
1831
+ last?: InputMaybe<Scalars['Int']['input']>;
1832
+ }
1833
+
1553
1834
  /** Represents abilities that can be granted to roles in namespaces. */
1554
1835
  export const enum NamespaceRoleAbility {
1555
1836
  /** Allows to change the roles of a namespace member */
@@ -1713,8 +1994,8 @@ export interface NamespacesMembersAssignRolesPayload {
1713
1994
  clientMutationId?: Maybe<Scalars['String']['output']>;
1714
1995
  /** Errors encountered during execution of the mutation. */
1715
1996
  errors?: Maybe<Array<Error>>;
1716
- /** The roles the member is now assigned to */
1717
- namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
1997
+ /** The member which was assigned the roles */
1998
+ member?: Maybe<NamespaceMember>;
1718
1999
  }
1719
2000
 
1720
2001
  /** Autogenerated input type of NamespacesMembersDelete */
@@ -2044,8 +2325,10 @@ export interface NodeFunctionEdge {
2044
2325
 
2045
2326
  /** Input type for a Node Function */
2046
2327
  export interface NodeFunctionInput {
2328
+ /** The identifier of the Node Function used to create/update the flow */
2329
+ id: Scalars['NodeFunctionID']['input'];
2047
2330
  /** The next Node Function in the flow */
2048
- nextNode?: InputMaybe<NodeFunctionInput>;
2331
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
2049
2332
  /** The parameters of the Node Function */
2050
2333
  parameters: Array<NodeParameterInput>;
2051
2334
  /** The identifier of the Runtime Function Definition */
@@ -2303,8 +2586,8 @@ export interface ParameterDefinitionEdge {
2303
2586
  /** Root Query type */
2304
2587
  export interface Query {
2305
2588
  __typename?: 'Query';
2306
- /** Get global application settings */
2307
- applicationSettings?: Maybe<ApplicationSettings>;
2589
+ /** Get application information */
2590
+ application?: Maybe<Application>;
2308
2591
  /** Get the currently logged in authentication */
2309
2592
  currentAuthentication?: Maybe<Authentication>;
2310
2593
  /** Get the currently logged in user */
@@ -2323,6 +2606,8 @@ export interface Query {
2323
2606
  organization?: Maybe<Organization>;
2324
2607
  /** Find organizations */
2325
2608
  organizations?: Maybe<OrganizationConnection>;
2609
+ /** Find a user */
2610
+ user?: Maybe<User>;
2326
2611
  /** Abilities for the current user on this Instance */
2327
2612
  userAbilities?: Maybe<InstanceUserAbilities>;
2328
2613
  /** Find users */
@@ -2379,6 +2664,13 @@ export interface QueryOrganizationsArgs {
2379
2664
  }
2380
2665
 
2381
2666
 
2667
+ /** Root Query type */
2668
+ export interface QueryUserArgs {
2669
+ id?: InputMaybe<Scalars['UserID']['input']>;
2670
+ username?: InputMaybe<Scalars['String']['input']>;
2671
+ }
2672
+
2673
+
2382
2674
  /** Root Query type */
2383
2675
  export interface QueryUsersArgs {
2384
2676
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2752,6 +3044,8 @@ export interface User {
2752
3044
  identities?: Maybe<UserIdentityConnection>;
2753
3045
  /** Lastname of the user */
2754
3046
  lastname?: Maybe<Scalars['String']['output']>;
3047
+ /** Multi-factor authentication status of this user */
3048
+ mfaStatus?: Maybe<MfaStatus>;
2755
3049
  /** Namespace of this user */
2756
3050
  namespace?: Maybe<Namespace>;
2757
3051
  /** Namespace Memberships of this user */
@@ -2911,6 +3205,56 @@ export interface UserUserAbilities {
2911
3205
  updateUser?: Maybe<Scalars['Boolean']['output']>;
2912
3206
  }
2913
3207
 
3208
+ /** Autogenerated input type of UsersCreate */
3209
+ export interface UsersCreateInput {
3210
+ /** Admin status for the user. */
3211
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3212
+ /** A unique identifier for the client performing the mutation. */
3213
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3214
+ /** Email for the user. */
3215
+ email: Scalars['String']['input'];
3216
+ /** Firstname for the user. */
3217
+ firstname?: InputMaybe<Scalars['String']['input']>;
3218
+ /** Lastname for the user. */
3219
+ lastname?: InputMaybe<Scalars['String']['input']>;
3220
+ /** Password for the user. */
3221
+ password: Scalars['String']['input'];
3222
+ /** Password repeat for the user to check for typos. */
3223
+ passwordRepeat: Scalars['String']['input'];
3224
+ /** Username for the user. */
3225
+ username: Scalars['String']['input'];
3226
+ }
3227
+
3228
+ /** Autogenerated return type of UsersCreate. */
3229
+ export interface UsersCreatePayload {
3230
+ __typename?: 'UsersCreatePayload';
3231
+ /** A unique identifier for the client performing the mutation. */
3232
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3233
+ /** Errors encountered during execution of the mutation. */
3234
+ errors?: Maybe<Array<Error>>;
3235
+ /** The created user. */
3236
+ user?: Maybe<User>;
3237
+ }
3238
+
3239
+ /** Autogenerated input type of UsersDelete */
3240
+ export interface UsersDeleteInput {
3241
+ /** A unique identifier for the client performing the mutation. */
3242
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3243
+ /** The user to delete. */
3244
+ userId: Scalars['UserID']['input'];
3245
+ }
3246
+
3247
+ /** Autogenerated return type of UsersDelete. */
3248
+ export interface UsersDeletePayload {
3249
+ __typename?: 'UsersDeletePayload';
3250
+ /** A unique identifier for the client performing the mutation. */
3251
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3252
+ /** Errors encountered during execution of the mutation. */
3253
+ errors?: Maybe<Array<Error>>;
3254
+ /** The deleted user. */
3255
+ user?: Maybe<User>;
3256
+ }
3257
+
2914
3258
  /** Autogenerated input type of UsersEmailVerification */
2915
3259
  export interface UsersEmailVerificationInput {
2916
3260
  /** 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-c63274fdd34593b8aa24f9f977659fd3d6270150",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",