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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +536 -45
  2. package/package.json +2 -3
  3. package/index.js +0 -0
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export type Maybe<T> = T | null;
2
2
  export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
4
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
5
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
6
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
7
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
3
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
4
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
5
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
6
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
7
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
8
8
  /** All built-in and custom scalars, mapped to their actual values */
9
9
  export interface Scalars {
10
10
  ID: { input: `gid://sagittarius//${number}`; output: `gid://sagittarius//${number}`; }
@@ -101,12 +101,10 @@ export interface DataType {
101
101
  identifier?: Maybe<Scalars['String']['output']>;
102
102
  /** Names of the flow type setting */
103
103
  name?: Maybe<TranslationConnection>;
104
- /** The namespace where this datatype belongs to */
105
- namespace?: Maybe<Namespace>;
106
- /** The parent datatype */
107
- parent?: Maybe<DataTypeIdentifier>;
108
104
  /** Rules of the datatype */
109
105
  rules?: Maybe<DataTypeRuleConnection>;
106
+ /** The runtime where this datatype belongs to */
107
+ runtime?: Maybe<Runtime>;
110
108
  /** Time when this DataType was last updated */
111
109
  updatedAt?: Maybe<Scalars['Time']['output']>;
112
110
  /** The type of the datatype */
@@ -241,8 +239,8 @@ export interface DataTypeRulesInputTypeConfig {
241
239
  __typename?: 'DataTypeRulesInputTypeConfig';
242
240
  /** The identifier of the data type this input type belongs to */
243
241
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
244
- /** The input data type that this configuration applies to */
245
- inputType?: Maybe<DataType>;
242
+ /** The input identifier that this configuration applies to */
243
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
246
244
  }
247
245
 
248
246
  /** Represents a rule that can be applied to a data type. */
@@ -292,7 +290,7 @@ export interface DataTypeRulesReturnTypeConfig {
292
290
  }
293
291
 
294
292
  /** The type of rule that can be applied to a data type. */
295
- export enum DataTypeRulesVariant {
293
+ export const enum DataTypeRulesVariant {
296
294
  /** The rule checks if a key is present in the data type. */
297
295
  ContainsKey = 'CONTAINS_KEY',
298
296
  /** The rule checks if a specific type is present in the data type. */
@@ -312,7 +310,7 @@ export enum DataTypeRulesVariant {
312
310
  }
313
311
 
314
312
  /** Represent all available types of a datatype */
315
- export enum DataTypeVariant {
313
+ export const enum DataTypeVariant {
316
314
  /** Represents an array */
317
315
  Array = 'ARRAY',
318
316
  /** Represents an data type containing a data type */
@@ -349,7 +347,74 @@ export interface EchoPayload {
349
347
  }
350
348
 
351
349
  /** Objects that can present an error */
352
- export type Error = ActiveModelError | MessageError;
350
+ export type Error = ActiveModelError | ErrorCode | MessageError;
351
+
352
+ /** Represents an error code */
353
+ export interface ErrorCode {
354
+ __typename?: 'ErrorCode';
355
+ /** The error code */
356
+ errorCode?: Maybe<ErrorCodeEnum>;
357
+ }
358
+
359
+ /** Represents the available error responses */
360
+ export const enum ErrorCodeEnum {
361
+ /** This action would remove the last administrative role */
362
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
363
+ /** This action would remove the last administrator */
364
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
365
+ /** This action would remove the last administrative ability */
366
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
367
+ /** This external identity does not exist */
368
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
369
+ /** The old backup codes could not be deleted */
370
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
371
+ /** The new backup codes could not be saved */
372
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
373
+ /** The given key was not found in the data type */
374
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
375
+ /** Failed to validate the external identity */
376
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
377
+ /** Resources are from different namespaces */
378
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
379
+ /** This external identity is invalid */
380
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
381
+ /** Invalid login data provided */
382
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
383
+ /** Invalid setting provided */
384
+ InvalidSetting = 'INVALID_SETTING',
385
+ /** Invalid verification code provided */
386
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
387
+ /** Invalid MFA data provided */
388
+ MfaFailed = 'MFA_FAILED',
389
+ /** MFA is required */
390
+ MfaRequired = 'MFA_REQUIRED',
391
+ /** This external identity is missing data */
392
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
393
+ /** Not all required parameters are present */
394
+ MissingParameter = 'MISSING_PARAMETER',
395
+ /** The user is not permitted to perform this operation */
396
+ MissingPermission = 'MISSING_PERMISSION',
397
+ /** There are no free license seats to complete this operation */
398
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
399
+ /** The project does not have a primary runtime */
400
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
401
+ /** @deprecated Outdated concept */
402
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
403
+ /** Self-registration is disabled */
404
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
405
+ /** Resources are from different runtimes */
406
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
407
+ /** @deprecated Outdated concept */
408
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
409
+ /** @deprecated Outdated concept */
410
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
411
+ /** This user already has TOTP set up */
412
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
413
+ /** The user is not permitted to modify this field */
414
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
415
+ /** Invalid TOTP code provided */
416
+ WrongTotp = 'WRONG_TOTP'
417
+ }
353
418
 
354
419
  /** Represents a flow */
355
420
  export interface Flow {
@@ -360,18 +425,22 @@ export interface Flow {
360
425
  id?: Maybe<Scalars['FlowID']['output']>;
361
426
  /** The input data type of the flow */
362
427
  inputType?: Maybe<DataType>;
428
+ /** Name of the flow */
429
+ name?: Maybe<Scalars['String']['output']>;
363
430
  /** Nodes of the flow */
364
431
  nodes?: Maybe<NodeFunctionConnection>;
365
432
  /** The return data type of the flow */
366
433
  returnType?: Maybe<DataType>;
367
434
  /** The settings of the flow */
368
- settings?: Maybe<Array<FlowSetting>>;
435
+ settings?: Maybe<FlowSettingConnection>;
369
436
  /** The ID of the starting node of the flow */
370
437
  startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
371
438
  /** The flow type of the flow */
372
439
  type?: Maybe<FlowType>;
373
440
  /** Time when this Flow was last updated */
374
441
  updatedAt?: Maybe<Scalars['Time']['output']>;
442
+ /** Abilities for the current user on this Flow */
443
+ userAbilities?: Maybe<FlowUserAbilities>;
375
444
  }
376
445
 
377
446
 
@@ -383,6 +452,15 @@ export interface FlowNodesArgs {
383
452
  last?: InputMaybe<Scalars['Int']['input']>;
384
453
  }
385
454
 
455
+
456
+ /** Represents a flow */
457
+ export interface FlowSettingsArgs {
458
+ after?: InputMaybe<Scalars['String']['input']>;
459
+ before?: InputMaybe<Scalars['String']['input']>;
460
+ first?: InputMaybe<Scalars['Int']['input']>;
461
+ last?: InputMaybe<Scalars['Int']['input']>;
462
+ }
463
+
386
464
  /** The connection type for Flow. */
387
465
  export interface FlowConnection {
388
466
  __typename?: 'FlowConnection';
@@ -407,6 +485,8 @@ export interface FlowEdge {
407
485
 
408
486
  /** Input type for creating or updating a flow */
409
487
  export interface FlowInput {
488
+ /** The name of the flow */
489
+ name: Scalars['String']['input'];
410
490
  /** The settings of the flow */
411
491
  settings?: InputMaybe<Array<FlowSettingInput>>;
412
492
  /** The starting node of the flow */
@@ -421,7 +501,7 @@ export interface FlowSetting {
421
501
  /** Time when this FlowSetting was created */
422
502
  createdAt?: Maybe<Scalars['Time']['output']>;
423
503
  /** The identifier of the flow setting */
424
- flowSettingId?: Maybe<Scalars['String']['output']>;
504
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
425
505
  /** Global ID of this FlowSetting */
426
506
  id?: Maybe<Scalars['FlowSettingID']['output']>;
427
507
  /** Time when this FlowSetting was last updated */
@@ -430,6 +510,28 @@ export interface FlowSetting {
430
510
  value?: Maybe<Scalars['JSON']['output']>;
431
511
  }
432
512
 
513
+ /** The connection type for FlowSetting. */
514
+ export interface FlowSettingConnection {
515
+ __typename?: 'FlowSettingConnection';
516
+ /** Total count of collection. */
517
+ count?: Maybe<Scalars['Int']['output']>;
518
+ /** A list of edges. */
519
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
520
+ /** A list of nodes. */
521
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
522
+ /** Information to aid in pagination. */
523
+ pageInfo?: Maybe<PageInfo>;
524
+ }
525
+
526
+ /** An edge in a connection. */
527
+ export interface FlowSettingEdge {
528
+ __typename?: 'FlowSettingEdge';
529
+ /** A cursor for use in pagination. */
530
+ cursor?: Maybe<Scalars['String']['output']>;
531
+ /** The item at the end of the edge. */
532
+ node?: Maybe<FlowSetting>;
533
+ }
534
+
433
535
  /** Input type for flow settings */
434
536
  export interface FlowSettingInput {
435
537
  /** The identifier (not database id) of the flow setting */
@@ -544,6 +646,13 @@ export interface FlowTypeSettingNamesArgs {
544
646
  last?: InputMaybe<Scalars['Int']['input']>;
545
647
  }
546
648
 
649
+ /** Abilities for the current user on this Flow */
650
+ export interface FlowUserAbilities {
651
+ __typename?: 'FlowUserAbilities';
652
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
653
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
654
+ }
655
+
547
656
  /** Represents a function definition */
548
657
  export interface FunctionDefinition {
549
658
  __typename?: 'FunctionDefinition';
@@ -559,6 +668,8 @@ export interface FunctionDefinition {
559
668
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
560
669
  /** Global ID of this FunctionDefinition */
561
670
  id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
671
+ /** Identifier of the function */
672
+ identifier?: Maybe<Scalars['String']['output']>;
562
673
  /** Name of the function */
563
674
  names?: Maybe<TranslationConnection>;
564
675
  /** Parameters of the function */
@@ -656,7 +767,7 @@ export interface GenericCombinationStrategy {
656
767
  }
657
768
 
658
769
  /** The available combination strategy types. */
659
- export enum GenericCombinationStrategyType {
770
+ export const enum GenericCombinationStrategyType {
660
771
  /** Represents a logical AND combination. */
661
772
  And = 'AND',
662
773
  /** Represents a logical OR combination. */
@@ -673,7 +784,7 @@ export interface GenericMapper {
673
784
  /** Global ID of this GenericMapper */
674
785
  id?: Maybe<Scalars['GenericMapperID']['output']>;
675
786
  /** The source data type identifier. */
676
- sources?: Maybe<Array<DataTypeIdentifier>>;
787
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
677
788
  /** The target key for the generic value. */
678
789
  target?: Maybe<Scalars['String']['output']>;
679
790
  /** Time when this GenericMapper was last updated */
@@ -717,6 +828,23 @@ export interface IdentityInput {
717
828
  code?: InputMaybe<Scalars['String']['input']>;
718
829
  }
719
830
 
831
+ /** Abilities for the current user on this Instance */
832
+ export interface InstanceUserAbilities {
833
+ __typename?: 'InstanceUserAbilities';
834
+ /** Shows if the current user has the `create_organization` ability on this Instance */
835
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
836
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
837
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
838
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
839
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
840
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
841
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
842
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
843
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
844
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
845
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
846
+ }
847
+
720
848
  /** Represents a literal value, such as a string or number. */
721
849
  export interface LiteralValue {
722
850
  __typename?: 'LiteralValue';
@@ -744,7 +872,7 @@ export interface MfaInput {
744
872
  }
745
873
 
746
874
  /** Represent all available types to authenticate with mfa */
747
- export enum MfaType {
875
+ export const enum MfaType {
748
876
  /** Single use backup code */
749
877
  BackupCode = 'BACKUP_CODE',
750
878
  /** Time based onetime password */
@@ -764,9 +892,9 @@ export interface Mutation {
764
892
  *
765
893
  */
766
894
  echo?: Maybe<EchoPayload>;
767
- /** Create a new namespace license. */
895
+ /** (EE only) Create a new namespace license. */
768
896
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
769
- /** Deletes an namespace license. */
897
+ /** (EE only) Deletes an namespace license. */
770
898
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
771
899
  /** Update the roles a member is assigned to. */
772
900
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -830,6 +958,10 @@ export interface Mutation {
830
958
  usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
831
959
  /** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
832
960
  usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
961
+ /** Reset the password using a reset token */
962
+ usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
963
+ /** Request an password reset */
964
+ usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
833
965
  /** Register a new user */
834
966
  usersRegister?: Maybe<UsersRegisterPayload>;
835
967
  /** Update an existing user. */
@@ -1047,6 +1179,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1047
1179
  }
1048
1180
 
1049
1181
 
1182
+ /** Root Mutation type */
1183
+ export interface MutationUsersPasswordResetArgs {
1184
+ input: UsersPasswordResetInput;
1185
+ }
1186
+
1187
+
1188
+ /** Root Mutation type */
1189
+ export interface MutationUsersPasswordResetRequestArgs {
1190
+ input: UsersPasswordResetRequestInput;
1191
+ }
1192
+
1193
+
1050
1194
  /** Root Mutation type */
1051
1195
  export interface MutationUsersRegisterArgs {
1052
1196
  input: UsersRegisterInput;
@@ -1063,11 +1207,13 @@ export interface Namespace {
1063
1207
  __typename?: 'Namespace';
1064
1208
  /** Time when this Namespace was created */
1065
1209
  createdAt?: Maybe<Scalars['Time']['output']>;
1210
+ /** (EE only) Currently active license of the namespace */
1211
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1066
1212
  /** Global ID of this Namespace */
1067
1213
  id?: Maybe<Scalars['NamespaceID']['output']>;
1068
1214
  /** Members of the namespace */
1069
1215
  members?: Maybe<NamespaceMemberConnection>;
1070
- /** Licenses of the namespace */
1216
+ /** (EE only) Licenses of the namespace */
1071
1217
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1072
1218
  /** Parent of this namespace */
1073
1219
  parent?: Maybe<NamespaceParent>;
@@ -1079,6 +1225,8 @@ export interface Namespace {
1079
1225
  runtimes?: Maybe<RuntimeConnection>;
1080
1226
  /** Time when this Namespace was last updated */
1081
1227
  updatedAt?: Maybe<Scalars['Time']['output']>;
1228
+ /** Abilities for the current user on this Namespace */
1229
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1082
1230
  }
1083
1231
 
1084
1232
 
@@ -1126,17 +1274,25 @@ export interface NamespaceRuntimesArgs {
1126
1274
  last?: InputMaybe<Scalars['Int']['input']>;
1127
1275
  }
1128
1276
 
1129
- /** Represents a Namespace License */
1277
+ /** (EE only) Represents a Namespace License */
1130
1278
  export interface NamespaceLicense {
1131
1279
  __typename?: 'NamespaceLicense';
1132
1280
  /** Time when this NamespaceLicense was created */
1133
1281
  createdAt?: Maybe<Scalars['Time']['output']>;
1282
+ /** The end date of the license */
1283
+ endDate?: Maybe<Scalars['Time']['output']>;
1134
1284
  /** Global ID of this NamespaceLicense */
1135
1285
  id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1286
+ /** The licensee information */
1287
+ licensee?: Maybe<Scalars['JSON']['output']>;
1136
1288
  /** The namespace the license belongs to */
1137
1289
  namespace?: Maybe<Namespace>;
1290
+ /** The start date of the license */
1291
+ startDate?: Maybe<Scalars['Time']['output']>;
1138
1292
  /** Time when this NamespaceLicense was last updated */
1139
1293
  updatedAt?: Maybe<Scalars['Time']['output']>;
1294
+ /** Abilities for the current user on this NamespaceLicense */
1295
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1140
1296
  }
1141
1297
 
1142
1298
  /** The connection type for NamespaceLicense. */
@@ -1161,6 +1317,13 @@ export interface NamespaceLicenseEdge {
1161
1317
  node?: Maybe<NamespaceLicense>;
1162
1318
  }
1163
1319
 
1320
+ /** Abilities for the current user on this NamespaceLicense */
1321
+ export interface NamespaceLicenseUserAbilities {
1322
+ __typename?: 'NamespaceLicenseUserAbilities';
1323
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1324
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1325
+ }
1326
+
1164
1327
  /** Represents a namespace member */
1165
1328
  export interface NamespaceMember {
1166
1329
  __typename?: 'NamespaceMember';
@@ -1168,12 +1331,36 @@ export interface NamespaceMember {
1168
1331
  createdAt?: Maybe<Scalars['Time']['output']>;
1169
1332
  /** Global ID of this NamespaceMember */
1170
1333
  id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1334
+ /** Memberroles of the member */
1335
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1171
1336
  /** Namespace this member belongs to */
1172
1337
  namespace?: Maybe<Namespace>;
1338
+ /** Roles of the member */
1339
+ roles?: Maybe<NamespaceRoleConnection>;
1173
1340
  /** Time when this NamespaceMember was last updated */
1174
1341
  updatedAt?: Maybe<Scalars['Time']['output']>;
1175
1342
  /** User this member belongs to */
1176
1343
  user?: Maybe<User>;
1344
+ /** Abilities for the current user on this NamespaceMember */
1345
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1346
+ }
1347
+
1348
+
1349
+ /** Represents a namespace member */
1350
+ export interface NamespaceMemberMemberRolesArgs {
1351
+ after?: InputMaybe<Scalars['String']['input']>;
1352
+ before?: InputMaybe<Scalars['String']['input']>;
1353
+ first?: InputMaybe<Scalars['Int']['input']>;
1354
+ last?: InputMaybe<Scalars['Int']['input']>;
1355
+ }
1356
+
1357
+
1358
+ /** Represents a namespace member */
1359
+ export interface NamespaceMemberRolesArgs {
1360
+ after?: InputMaybe<Scalars['String']['input']>;
1361
+ before?: InputMaybe<Scalars['String']['input']>;
1362
+ first?: InputMaybe<Scalars['Int']['input']>;
1363
+ last?: InputMaybe<Scalars['Int']['input']>;
1177
1364
  }
1178
1365
 
1179
1366
  /** The connection type for NamespaceMember. */
@@ -1213,8 +1400,39 @@ export interface NamespaceMemberRole {
1213
1400
  updatedAt?: Maybe<Scalars['Time']['output']>;
1214
1401
  }
1215
1402
 
1403
+ /** The connection type for NamespaceMemberRole. */
1404
+ export interface NamespaceMemberRoleConnection {
1405
+ __typename?: 'NamespaceMemberRoleConnection';
1406
+ /** Total count of collection. */
1407
+ count?: Maybe<Scalars['Int']['output']>;
1408
+ /** A list of edges. */
1409
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1410
+ /** A list of nodes. */
1411
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1412
+ /** Information to aid in pagination. */
1413
+ pageInfo?: Maybe<PageInfo>;
1414
+ }
1415
+
1416
+ /** An edge in a connection. */
1417
+ export interface NamespaceMemberRoleEdge {
1418
+ __typename?: 'NamespaceMemberRoleEdge';
1419
+ /** A cursor for use in pagination. */
1420
+ cursor?: Maybe<Scalars['String']['output']>;
1421
+ /** The item at the end of the edge. */
1422
+ node?: Maybe<NamespaceMemberRole>;
1423
+ }
1424
+
1425
+ /** Abilities for the current user on this NamespaceMember */
1426
+ export interface NamespaceMemberUserAbilities {
1427
+ __typename?: 'NamespaceMemberUserAbilities';
1428
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1429
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1430
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1431
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1432
+ }
1433
+
1216
1434
  /** Objects that can present a namespace */
1217
- export type NamespaceParent = Organization;
1435
+ export type NamespaceParent = Organization | User;
1218
1436
 
1219
1437
  /** Represents a namespace project */
1220
1438
  export interface NamespaceProject {
@@ -1239,6 +1457,8 @@ export interface NamespaceProject {
1239
1457
  runtimes?: Maybe<RuntimeConnection>;
1240
1458
  /** Time when this NamespaceProject was last updated */
1241
1459
  updatedAt?: Maybe<Scalars['Time']['output']>;
1460
+ /** Abilities for the current user on this NamespaceProject */
1461
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1242
1462
  }
1243
1463
 
1244
1464
 
@@ -1287,6 +1507,19 @@ export interface NamespaceProjectEdge {
1287
1507
  node?: Maybe<NamespaceProject>;
1288
1508
  }
1289
1509
 
1510
+ /** Abilities for the current user on this NamespaceProject */
1511
+ export interface NamespaceProjectUserAbilities {
1512
+ __typename?: 'NamespaceProjectUserAbilities';
1513
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1514
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1515
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1516
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1517
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1518
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1519
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1520
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1521
+ }
1522
+
1290
1523
  /** Represents a namespace role. */
1291
1524
  export interface NamespaceRole {
1292
1525
  __typename?: 'NamespaceRole';
@@ -1304,6 +1537,8 @@ export interface NamespaceRole {
1304
1537
  namespace?: Maybe<Namespace>;
1305
1538
  /** Time when this NamespaceRole was last updated */
1306
1539
  updatedAt?: Maybe<Scalars['Time']['output']>;
1540
+ /** Abilities for the current user on this NamespaceRole */
1541
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1307
1542
  }
1308
1543
 
1309
1544
 
@@ -1316,7 +1551,7 @@ export interface NamespaceRoleAssignedProjectsArgs {
1316
1551
  }
1317
1552
 
1318
1553
  /** Represents abilities that can be granted to roles in namespaces. */
1319
- export enum NamespaceRoleAbility {
1554
+ export const enum NamespaceRoleAbility {
1320
1555
  /** Allows to change the roles of a namespace member */
1321
1556
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1322
1557
  /** Allows to assign runtimes to a project in the namespace */
@@ -1326,7 +1561,7 @@ export enum NamespaceRoleAbility {
1326
1561
  /** Allows to change the assigned projects of a namespace role */
1327
1562
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1328
1563
  /** Allows to create flows in a namespace project */
1329
- CreateFlows = 'CREATE_FLOWS',
1564
+ CreateFlow = 'CREATE_FLOW',
1330
1565
  /** Allows to create a license for the namespace */
1331
1566
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1332
1567
  /** Allows to create a project in the namespace */
@@ -1336,7 +1571,7 @@ export enum NamespaceRoleAbility {
1336
1571
  /** Allows to create a runtime globally or for the namespace */
1337
1572
  CreateRuntime = 'CREATE_RUNTIME',
1338
1573
  /** Allows to delete flows in a namespace project */
1339
- DeleteFlows = 'DELETE_FLOWS',
1574
+ DeleteFlow = 'DELETE_FLOW',
1340
1575
  /** Allows to remove members of a namespace */
1341
1576
  DeleteMember = 'DELETE_MEMBER',
1342
1577
  /** Allows to delete the license of the namespace */
@@ -1360,7 +1595,7 @@ export enum NamespaceRoleAbility {
1360
1595
  /** Allows to regenerate a runtime token */
1361
1596
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1362
1597
  /** Allows to update flows in the project */
1363
- UpdateFlows = 'UPDATE_FLOWS',
1598
+ UpdateFlow = 'UPDATE_FLOW',
1364
1599
  /** Allows to update the project of the namespace */
1365
1600
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1366
1601
  /** Allows to update the namespace role */
@@ -1393,6 +1628,34 @@ export interface NamespaceRoleEdge {
1393
1628
  node?: Maybe<NamespaceRole>;
1394
1629
  }
1395
1630
 
1631
+ /** Abilities for the current user on this NamespaceRole */
1632
+ export interface NamespaceRoleUserAbilities {
1633
+ __typename?: 'NamespaceRoleUserAbilities';
1634
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1635
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1636
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1637
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1638
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1639
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1640
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1641
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1642
+ }
1643
+
1644
+ /** Abilities for the current user on this Namespace */
1645
+ export interface NamespaceUserAbilities {
1646
+ __typename?: 'NamespaceUserAbilities';
1647
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1648
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1649
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1650
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1651
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1652
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1653
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1654
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1655
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1656
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1657
+ }
1658
+
1396
1659
  /** Autogenerated input type of NamespacesLicensesCreate */
1397
1660
  export interface NamespacesLicensesCreateInput {
1398
1661
  /** A unique identifier for the client performing the mutation. */
@@ -1736,14 +1999,14 @@ export interface NodeFunction {
1736
1999
  __typename?: 'NodeFunction';
1737
2000
  /** Time when this NodeFunction was created */
1738
2001
  createdAt?: Maybe<Scalars['Time']['output']>;
2002
+ /** The definition of the Node Function */
2003
+ functionDefinition?: Maybe<FunctionDefinition>;
1739
2004
  /** Global ID of this NodeFunction */
1740
2005
  id?: Maybe<Scalars['NodeFunctionID']['output']>;
1741
2006
  /** The ID of the next Node Function in the flow */
1742
2007
  nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1743
2008
  /** The parameters of the Node Function */
1744
2009
  parameters?: Maybe<NodeParameterConnection>;
1745
- /** The definition of the Node Function */
1746
- runtimeFunction?: Maybe<RuntimeFunctionDefinition>;
1747
2010
  /** Time when this NodeFunction was last updated */
1748
2011
  updatedAt?: Maybe<Scalars['Time']['output']>;
1749
2012
  }
@@ -1860,6 +2123,39 @@ export interface Organization {
1860
2123
  namespace?: Maybe<Namespace>;
1861
2124
  /** Time when this Organization was last updated */
1862
2125
  updatedAt?: Maybe<Scalars['Time']['output']>;
2126
+ /** Abilities for the current user on this Organization */
2127
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2128
+ }
2129
+
2130
+ /** The connection type for Organization. */
2131
+ export interface OrganizationConnection {
2132
+ __typename?: 'OrganizationConnection';
2133
+ /** Total count of collection. */
2134
+ count?: Maybe<Scalars['Int']['output']>;
2135
+ /** A list of edges. */
2136
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2137
+ /** A list of nodes. */
2138
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2139
+ /** Information to aid in pagination. */
2140
+ pageInfo?: Maybe<PageInfo>;
2141
+ }
2142
+
2143
+ /** An edge in a connection. */
2144
+ export interface OrganizationEdge {
2145
+ __typename?: 'OrganizationEdge';
2146
+ /** A cursor for use in pagination. */
2147
+ cursor?: Maybe<Scalars['String']['output']>;
2148
+ /** The item at the end of the edge. */
2149
+ node?: Maybe<Organization>;
2150
+ }
2151
+
2152
+ /** Abilities for the current user on this Organization */
2153
+ export interface OrganizationUserAbilities {
2154
+ __typename?: 'OrganizationUserAbilities';
2155
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2156
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2157
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2158
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1863
2159
  }
1864
2160
 
1865
2161
  /** Autogenerated input type of OrganizationsCreate */
@@ -1940,13 +2236,15 @@ export interface ParameterDefinition {
1940
2236
  /** Time when this ParameterDefinition was created */
1941
2237
  createdAt?: Maybe<Scalars['Time']['output']>;
1942
2238
  /** Data type of the parameter */
1943
- dataType?: Maybe<DataTypeIdentifier>;
2239
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1944
2240
  /** Description of the parameter */
1945
2241
  descriptions?: Maybe<TranslationConnection>;
1946
2242
  /** Documentation of the parameter */
1947
2243
  documentations?: Maybe<TranslationConnection>;
1948
2244
  /** Global ID of this ParameterDefinition */
1949
2245
  id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2246
+ /** Identifier of the parameter */
2247
+ identifier?: Maybe<Scalars['String']['output']>;
1950
2248
  /** Name of the parameter */
1951
2249
  names?: Maybe<TranslationConnection>;
1952
2250
  /** Time when this ParameterDefinition was last updated */
@@ -2023,6 +2321,10 @@ export interface Query {
2023
2321
  nodes?: Maybe<Array<Maybe<Node>>>;
2024
2322
  /** Find a organization */
2025
2323
  organization?: Maybe<Organization>;
2324
+ /** Find organizations */
2325
+ organizations?: Maybe<OrganizationConnection>;
2326
+ /** Abilities for the current user on this Instance */
2327
+ userAbilities?: Maybe<InstanceUserAbilities>;
2026
2328
  /** Find users */
2027
2329
  users?: Maybe<UserConnection>;
2028
2330
  }
@@ -2068,6 +2370,15 @@ export interface QueryOrganizationArgs {
2068
2370
  }
2069
2371
 
2070
2372
 
2373
+ /** Root Query type */
2374
+ export interface QueryOrganizationsArgs {
2375
+ after?: InputMaybe<Scalars['String']['input']>;
2376
+ before?: InputMaybe<Scalars['String']['input']>;
2377
+ first?: InputMaybe<Scalars['Int']['input']>;
2378
+ last?: InputMaybe<Scalars['Int']['input']>;
2379
+ }
2380
+
2381
+
2071
2382
  /** Root Query type */
2072
2383
  export interface QueryUsersArgs {
2073
2384
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2112,6 +2423,8 @@ export interface ReferenceValue {
2112
2423
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2113
2424
  /** The node of the reference value. */
2114
2425
  node?: Maybe<Scalars['Int']['output']>;
2426
+ /** The referenced value. */
2427
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2115
2428
  /** The paths associated with this reference value. */
2116
2429
  referencePath?: Maybe<Array<ReferencePath>>;
2117
2430
  /** The scope of the reference value. */
@@ -2124,14 +2437,16 @@ export interface ReferenceValue {
2124
2437
  export interface ReferenceValueInput {
2125
2438
  /** The identifier of the data type this reference value belongs to */
2126
2439
  dataTypeIdentifier: DataTypeIdentifierInput;
2127
- /** The primary level of the reference value */
2128
- primaryLevel: Scalars['Int']['input'];
2440
+ /** The depth of the reference value */
2441
+ depth: Scalars['Int']['input'];
2442
+ /** The node of the reference */
2443
+ node: Scalars['Int']['input'];
2444
+ /** The referenced value */
2445
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2129
2446
  /** The paths associated with this reference value */
2130
2447
  referencePath: Array<ReferencePathInput>;
2131
- /** The secondary level of the reference value */
2132
- secondaryLevel: Scalars['Int']['input'];
2133
- /** The tertiary level of the reference value */
2134
- tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2448
+ /** The scope of the reference value */
2449
+ scope: Array<Scalars['Int']['input']>;
2135
2450
  }
2136
2451
 
2137
2452
  /** Represents a runtime */
@@ -2159,6 +2474,8 @@ export interface Runtime {
2159
2474
  token?: Maybe<Scalars['String']['output']>;
2160
2475
  /** Time when this Runtime was last updated */
2161
2476
  updatedAt?: Maybe<Scalars['Time']['output']>;
2477
+ /** Abilities for the current user on this Runtime */
2478
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2162
2479
  }
2163
2480
 
2164
2481
 
@@ -2210,25 +2527,27 @@ export interface RuntimeEdge {
2210
2527
  node?: Maybe<Runtime>;
2211
2528
  }
2212
2529
 
2213
- /** Represents a Node Function definition */
2530
+ /** Represents a runtime function definition */
2214
2531
  export interface RuntimeFunctionDefinition {
2215
2532
  __typename?: 'RuntimeFunctionDefinition';
2216
2533
  /** Time when this RuntimeFunctionDefinition was created */
2217
2534
  createdAt?: Maybe<Scalars['Time']['output']>;
2218
- /** Function definitions of the Node Function */
2535
+ /** Function definitions of the runtime function definition */
2219
2536
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2220
2537
  /** Global ID of this RuntimeFunctionDefinition */
2221
- id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2222
- /** Identifier of the Node Function */
2538
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2539
+ /** Identifier of the runtime function definition */
2223
2540
  identifier?: Maybe<Scalars['String']['output']>;
2224
- /** The runtime this Node Function belongs to */
2541
+ /** The runtime this runtime function definition belongs to */
2225
2542
  runtime?: Maybe<Runtime>;
2543
+ /** Parameter definitions of the runtime function definition */
2544
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2226
2545
  /** Time when this RuntimeFunctionDefinition was last updated */
2227
2546
  updatedAt?: Maybe<Scalars['Time']['output']>;
2228
2547
  }
2229
2548
 
2230
2549
 
2231
- /** Represents a Node Function definition */
2550
+ /** Represents a runtime function definition */
2232
2551
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2233
2552
  after?: InputMaybe<Scalars['String']['input']>;
2234
2553
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2236,7 +2555,16 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2236
2555
  last?: InputMaybe<Scalars['Int']['input']>;
2237
2556
  }
2238
2557
 
2239
- /** Represents a Node parameter definition */
2558
+
2559
+ /** Represents a runtime function definition */
2560
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2561
+ after?: InputMaybe<Scalars['String']['input']>;
2562
+ before?: InputMaybe<Scalars['String']['input']>;
2563
+ first?: InputMaybe<Scalars['Int']['input']>;
2564
+ last?: InputMaybe<Scalars['Int']['input']>;
2565
+ }
2566
+
2567
+ /** Represents a runtime parameter definition */
2240
2568
  export interface RuntimeParameterDefinition {
2241
2569
  __typename?: 'RuntimeParameterDefinition';
2242
2570
  /** Time when this RuntimeParameterDefinition was created */
@@ -2247,14 +2575,47 @@ export interface RuntimeParameterDefinition {
2247
2575
  updatedAt?: Maybe<Scalars['Time']['output']>;
2248
2576
  }
2249
2577
 
2578
+ /** The connection type for RuntimeParameterDefinition. */
2579
+ export interface RuntimeParameterDefinitionConnection {
2580
+ __typename?: 'RuntimeParameterDefinitionConnection';
2581
+ /** Total count of collection. */
2582
+ count?: Maybe<Scalars['Int']['output']>;
2583
+ /** A list of edges. */
2584
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2585
+ /** A list of nodes. */
2586
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2587
+ /** Information to aid in pagination. */
2588
+ pageInfo?: Maybe<PageInfo>;
2589
+ }
2590
+
2591
+ /** An edge in a connection. */
2592
+ export interface RuntimeParameterDefinitionEdge {
2593
+ __typename?: 'RuntimeParameterDefinitionEdge';
2594
+ /** A cursor for use in pagination. */
2595
+ cursor?: Maybe<Scalars['String']['output']>;
2596
+ /** The item at the end of the edge. */
2597
+ node?: Maybe<RuntimeParameterDefinition>;
2598
+ }
2599
+
2250
2600
  /** Represent all available types of statuses of a runtime */
2251
- export enum RuntimeStatusType {
2601
+ export const enum RuntimeStatusType {
2252
2602
  /** No problem with connection, everything works as expected */
2253
2603
  Connected = 'CONNECTED',
2254
2604
  /** The runtime is disconnected, cause unknown */
2255
2605
  Disconnected = 'DISCONNECTED'
2256
2606
  }
2257
2607
 
2608
+ /** Abilities for the current user on this Runtime */
2609
+ export interface RuntimeUserAbilities {
2610
+ __typename?: 'RuntimeUserAbilities';
2611
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2612
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2613
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2614
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2615
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2616
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2617
+ }
2618
+
2258
2619
  /** Autogenerated input type of RuntimesCreate */
2259
2620
  export interface RuntimesCreateInput {
2260
2621
  /** A unique identifier for the client performing the mutation. */
@@ -2381,23 +2742,40 @@ export interface User {
2381
2742
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
2743
  /** Email of the user */
2383
2744
  email?: Maybe<Scalars['String']['output']>;
2745
+ /** Email verification date of the user if present */
2746
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2384
2747
  /** Firstname of the user */
2385
2748
  firstname?: Maybe<Scalars['String']['output']>;
2386
2749
  /** Global ID of this User */
2387
2750
  id?: Maybe<Scalars['UserID']['output']>;
2751
+ /** Identities of this user */
2752
+ identities?: Maybe<UserIdentityConnection>;
2388
2753
  /** Lastname of the user */
2389
2754
  lastname?: Maybe<Scalars['String']['output']>;
2390
2755
  /** Namespace of this user */
2391
2756
  namespace?: Maybe<Namespace>;
2392
2757
  /** Namespace Memberships of this user */
2393
2758
  namespaceMemberships?: Maybe<NamespaceMemberConnection>;
2759
+ /** Sessions of this user */
2760
+ sessions?: Maybe<UserSessionConnection>;
2394
2761
  /** Time when this User was last updated */
2395
2762
  updatedAt?: Maybe<Scalars['Time']['output']>;
2763
+ /** Abilities for the current user on this User */
2764
+ userAbilities?: Maybe<UserUserAbilities>;
2396
2765
  /** Username of the user */
2397
2766
  username?: Maybe<Scalars['String']['output']>;
2398
2767
  }
2399
2768
 
2400
2769
 
2770
+ /** Represents a user */
2771
+ export interface UserIdentitiesArgs {
2772
+ after?: InputMaybe<Scalars['String']['input']>;
2773
+ before?: InputMaybe<Scalars['String']['input']>;
2774
+ first?: InputMaybe<Scalars['Int']['input']>;
2775
+ last?: InputMaybe<Scalars['Int']['input']>;
2776
+ }
2777
+
2778
+
2401
2779
  /** Represents a user */
2402
2780
  export interface UserNamespaceMembershipsArgs {
2403
2781
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2406,6 +2784,15 @@ export interface UserNamespaceMembershipsArgs {
2406
2784
  last?: InputMaybe<Scalars['Int']['input']>;
2407
2785
  }
2408
2786
 
2787
+
2788
+ /** Represents a user */
2789
+ export interface UserSessionsArgs {
2790
+ after?: InputMaybe<Scalars['String']['input']>;
2791
+ before?: InputMaybe<Scalars['String']['input']>;
2792
+ first?: InputMaybe<Scalars['Int']['input']>;
2793
+ last?: InputMaybe<Scalars['Int']['input']>;
2794
+ }
2795
+
2409
2796
  /** The connection type for User. */
2410
2797
  export interface UserConnection {
2411
2798
  __typename?: 'UserConnection';
@@ -2445,6 +2832,28 @@ export interface UserIdentity {
2445
2832
  user?: Maybe<User>;
2446
2833
  }
2447
2834
 
2835
+ /** The connection type for UserIdentity. */
2836
+ export interface UserIdentityConnection {
2837
+ __typename?: 'UserIdentityConnection';
2838
+ /** Total count of collection. */
2839
+ count?: Maybe<Scalars['Int']['output']>;
2840
+ /** A list of edges. */
2841
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
2842
+ /** A list of nodes. */
2843
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
2844
+ /** Information to aid in pagination. */
2845
+ pageInfo?: Maybe<PageInfo>;
2846
+ }
2847
+
2848
+ /** An edge in a connection. */
2849
+ export interface UserIdentityEdge {
2850
+ __typename?: 'UserIdentityEdge';
2851
+ /** A cursor for use in pagination. */
2852
+ cursor?: Maybe<Scalars['String']['output']>;
2853
+ /** The item at the end of the edge. */
2854
+ node?: Maybe<UserIdentity>;
2855
+ }
2856
+
2448
2857
  /** Represents a user session */
2449
2858
  export interface UserSession {
2450
2859
  __typename?: 'UserSession';
@@ -2460,6 +2869,46 @@ export interface UserSession {
2460
2869
  updatedAt?: Maybe<Scalars['Time']['output']>;
2461
2870
  /** User that belongs to the session */
2462
2871
  user?: Maybe<User>;
2872
+ /** Abilities for the current user on this UserSession */
2873
+ userAbilities?: Maybe<UserSessionUserAbilities>;
2874
+ }
2875
+
2876
+ /** The connection type for UserSession. */
2877
+ export interface UserSessionConnection {
2878
+ __typename?: 'UserSessionConnection';
2879
+ /** Total count of collection. */
2880
+ count?: Maybe<Scalars['Int']['output']>;
2881
+ /** A list of edges. */
2882
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
2883
+ /** A list of nodes. */
2884
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
2885
+ /** Information to aid in pagination. */
2886
+ pageInfo?: Maybe<PageInfo>;
2887
+ }
2888
+
2889
+ /** An edge in a connection. */
2890
+ export interface UserSessionEdge {
2891
+ __typename?: 'UserSessionEdge';
2892
+ /** A cursor for use in pagination. */
2893
+ cursor?: Maybe<Scalars['String']['output']>;
2894
+ /** The item at the end of the edge. */
2895
+ node?: Maybe<UserSession>;
2896
+ }
2897
+
2898
+ /** Abilities for the current user on this UserSession */
2899
+ export interface UserSessionUserAbilities {
2900
+ __typename?: 'UserSessionUserAbilities';
2901
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
2902
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
2903
+ }
2904
+
2905
+ /** Abilities for the current user on this User */
2906
+ export interface UserUserAbilities {
2907
+ __typename?: 'UserUserAbilities';
2908
+ /** Shows if the current user has the `manage_mfa` ability on this User */
2909
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
2910
+ /** Shows if the current user has the `update_user` ability on this User */
2911
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
2463
2912
  }
2464
2913
 
2465
2914
  /** Autogenerated input type of UsersEmailVerification */
@@ -2665,6 +3114,48 @@ export interface UsersMfaTotpValidateSecretPayload {
2665
3114
  user?: Maybe<User>;
2666
3115
  }
2667
3116
 
3117
+ /** Autogenerated input type of UsersPasswordReset */
3118
+ export interface UsersPasswordResetInput {
3119
+ /** A unique identifier for the client performing the mutation. */
3120
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3121
+ /** The new password to set for the user */
3122
+ newPassword: Scalars['String']['input'];
3123
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3124
+ newPasswordConfirmation: Scalars['String']['input'];
3125
+ /** The password reset token sent to the user email */
3126
+ resetToken: Scalars['String']['input'];
3127
+ }
3128
+
3129
+ /** Autogenerated return type of UsersPasswordReset. */
3130
+ export interface UsersPasswordResetPayload {
3131
+ __typename?: 'UsersPasswordResetPayload';
3132
+ /** A unique identifier for the client performing the mutation. */
3133
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3134
+ /** Errors encountered during execution of the mutation. */
3135
+ errors?: Maybe<Array<Error>>;
3136
+ /** A message indicating the result of the password reset request */
3137
+ message?: Maybe<Scalars['String']['output']>;
3138
+ }
3139
+
3140
+ /** Autogenerated input type of UsersPasswordResetRequest */
3141
+ export interface UsersPasswordResetRequestInput {
3142
+ /** A unique identifier for the client performing the mutation. */
3143
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3144
+ /** Email of the user to reset the password */
3145
+ email: Scalars['String']['input'];
3146
+ }
3147
+
3148
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3149
+ export interface UsersPasswordResetRequestPayload {
3150
+ __typename?: 'UsersPasswordResetRequestPayload';
3151
+ /** A unique identifier for the client performing the mutation. */
3152
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3153
+ /** Errors encountered during execution of the mutation. */
3154
+ errors?: Maybe<Array<Error>>;
3155
+ /** A message indicating the result of the password reset request */
3156
+ message?: Maybe<Scalars['String']['output']>;
3157
+ }
3158
+
2668
3159
  /** Autogenerated input type of UsersRegister */
2669
3160
  export interface UsersRegisterInput {
2670
3161
  /** A unique identifier for the client performing the mutation. */
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-967667e8c736081887d32d99a5e2ab0445718798",
3
+ "version": "0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6",
4
4
  "description": "",
5
- "main": "index.js",
5
+ "main": "index.d.ts",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
8
8
  "generate": "graphql-codegen --config codegen.ts"
@@ -23,7 +23,6 @@
23
23
  },
24
24
  "files": [
25
25
  "index.d.ts",
26
- "index.js",
27
26
  "package.json"
28
27
  ],
29
28
  "publishConfig": {
package/index.js DELETED
File without changes