/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { BlockchainDeclaredProperties } from './blockchain-declared-properties'; /** * Blockchain entity * @export * @interface Blockchain */ export interface Blockchain { /** * Unique blockchain identifier. * @type {string} * @memberof Blockchain */ 'id': string; /** * Current lifecycle state of the blockchain. * @type {string} * @memberof Blockchain */ 'blockchainState': BlockchainBlockchainStateEnum; /** * * @type {BlockchainDeclaredProperties} * @memberof Blockchain */ 'declaredProperties': BlockchainDeclaredProperties; /** * Creation timestamp (epoch milliseconds, UTC). * @type {number} * @memberof Blockchain */ 'createdAtUtc': number; /** * Last update timestamp (epoch milliseconds, UTC). * @type {number} * @memberof Blockchain */ 'updatedAtUtc': number; /** * Reasons the latest validation failed, if any. * @type {Array} * @memberof Blockchain */ 'validationFailureReasons': Array; /** * Validation session data (optional - only present if validation session exists) * @type {string} * @memberof Blockchain */ 'validationSessionId'?: string; /** * Status of the latest validation session. * @type {string} * @memberof Blockchain */ 'validationStatus'?: BlockchainValidationStatusEnum; /** * Validation session creation timestamp (epoch milliseconds, UTC). * @type {number} * @memberof Blockchain */ 'validationCreatedAtUtc'?: number; /** * Validation session last update timestamp (epoch milliseconds, UTC). * @type {number} * @memberof Blockchain */ 'validationUpdatedAtUtc'?: number; /** * Validation session completion timestamp (epoch milliseconds, UTC). * @type {number} * @memberof Blockchain */ 'validationCompletedAtUtc'?: number; /** * Business step at which the activation flow failed. Absent when no failure has been recorded. * @type {string} * @memberof Blockchain */ 'failedStep'?: BlockchainFailedStepEnum; } export const BlockchainBlockchainStateEnum = { Created: 'BLOCKCHAIN_STATE_CREATED', Activating: 'BLOCKCHAIN_STATE_ACTIVATING', Activated: 'BLOCKCHAIN_STATE_ACTIVATED', Deactivating: 'BLOCKCHAIN_STATE_DEACTIVATING', Deactivated: 'BLOCKCHAIN_STATE_DEACTIVATED', TechnicalFailure: 'BLOCKCHAIN_STATE_TECHNICAL_FAILURE' } as const; export type BlockchainBlockchainStateEnum = typeof BlockchainBlockchainStateEnum[keyof typeof BlockchainBlockchainStateEnum]; export const BlockchainValidationStatusEnum = { Pending: 'VALIDATION_STATUS_PENDING', InProgress: 'VALIDATION_STATUS_IN_PROGRESS', Succeeded: 'VALIDATION_STATUS_SUCCEEDED', Failed: 'VALIDATION_STATUS_FAILED', TechnicalFailure: 'VALIDATION_STATUS_TECHNICAL_FAILURE' } as const; export type BlockchainValidationStatusEnum = typeof BlockchainValidationStatusEnum[keyof typeof BlockchainValidationStatusEnum]; export const BlockchainFailedStepEnum = { Configuration: 'FAILED_STEP_CONFIGURATION', ResourcesAllocation: 'FAILED_STEP_RESOURCES_ALLOCATION', TestTxExternalToFireblocks: 'FAILED_STEP_TEST_TX_EXTERNAL_TO_FIREBLOCKS', TestTxFireblocksToFireblocks: 'FAILED_STEP_TEST_TX_FIREBLOCKS_TO_FIREBLOCKS' } as const; export type BlockchainFailedStepEnum = typeof BlockchainFailedStepEnum[keyof typeof BlockchainFailedStepEnum];