/* 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. */ /** * * @export * @interface BulkSigningKeyJob */ export interface BulkSigningKeyJob { /** * Id of the registration job. * @type {string} * @memberof BulkSigningKeyJob */ 'jobId': string; /** * QUEUED means the job is waiting for another bulk registration to finish, since only a limited number run at once. IN_PROGRESS means it is running. COMPLETED means every submitted key is present in the workspace. FAILED means the request was refused before any key was registered, so `reason` has to be acted on before resubmitting is worth anything. INCOMPLETE means some keys are not registered; resubmitting the same request retries exactly those, and `reason` says whether that is likely to help -- keys not registered because of a transient failure will succeed, a key whose certificate or proof was rejected will be rejected again. * @type {string} * @memberof BulkSigningKeyJob */ 'status': BulkSigningKeyJobStatusEnum; /** * Keys in the submitted request. * @type {number} * @memberof BulkSigningKeyJob */ 'total': number; /** * Keys registered by this job. * @type {number} * @memberof BulkSigningKeyJob */ 'created': number; /** * Keys already present in the workspace, recognized and skipped. * @type {number} * @memberof BulkSigningKeyJob */ 'alreadyRegistered': number; /** * Keys rejected. See `reason`. * @type {number} * @memberof BulkSigningKeyJob */ 'failed': number; /** * Creation date (timestamp) in milliseconds. * @type {number} * @memberof BulkSigningKeyJob */ 'createdAt': number; /** * Last progress update (timestamp) in milliseconds. * @type {number} * @memberof BulkSigningKeyJob */ 'updatedAt': number; /** * Free text describing what went wrong. Null while the job is healthy. * @type {string} * @memberof BulkSigningKeyJob */ 'reason'?: string | null; /** * Hex digest over the submitted keys. Two jobs sharing a digest were the same set of keys, which makes a sequence of resubmissions recognizable. * @type {string} * @memberof BulkSigningKeyJob */ 'fileHash'?: string | null; } export const BulkSigningKeyJobStatusEnum = { Queued: 'QUEUED', InProgress: 'IN_PROGRESS', Completed: 'COMPLETED', Incomplete: 'INCOMPLETE', Failed: 'FAILED' } as const; export type BulkSigningKeyJobStatusEnum = typeof BulkSigningKeyJobStatusEnum[keyof typeof BulkSigningKeyJobStatusEnum];