@code0-tech/sagittarius-graphql-types 0.0.0-00f33663039d78ad59e95306730878c687de5c48 → 0.0.0-65144a9920c6a8de3bcf24acdcb8eec4158cef73

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 +72 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -347,7 +347,74 @@ export interface EchoPayload {
347
347
  }
348
348
 
349
349
  /** Objects that can present an error */
350
- 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
+ }
351
418
 
352
419
  /** Represents a flow */
353
420
  export interface Flow {
@@ -358,6 +425,8 @@ export interface Flow {
358
425
  id?: Maybe<Scalars['FlowID']['output']>;
359
426
  /** The input data type of the flow */
360
427
  inputType?: Maybe<DataType>;
428
+ /** Name of the flow */
429
+ name?: Maybe<Scalars['String']['output']>;
361
430
  /** Nodes of the flow */
362
431
  nodes?: Maybe<NodeFunctionConnection>;
363
432
  /** The return data type of the flow */
@@ -414,6 +483,8 @@ export interface FlowEdge {
414
483
 
415
484
  /** Input type for creating or updating a flow */
416
485
  export interface FlowInput {
486
+ /** The name of the flow */
487
+ name: Scalars['String']['input'];
417
488
  /** The settings of the flow */
418
489
  settings?: InputMaybe<Array<FlowSettingInput>>;
419
490
  /** The starting node of the flow */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-00f33663039d78ad59e95306730878c687de5c48",
3
+ "version": "0.0.0-65144a9920c6a8de3bcf24acdcb8eec4158cef73",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",