/* 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 { ApprovalApiPublicKey } from './approval-api-public-key'; /** * A registered approval API key for an API user. * @export * @interface ApprovalApiKey */ export interface ApprovalApiKey { /** * The unique key ID, used to delete the key. * @type {string} * @memberof ApprovalApiKey */ 'id': string; /** * A human-readable label for the key. * @type {string} * @memberof ApprovalApiKey */ 'name': string; /** * Creation time as epoch time in seconds. * @type {string} * @memberof ApprovalApiKey */ 'createdAt': string; /** * Last time the key was used to sign, as epoch time in seconds (0 if never used). * @type {string} * @memberof ApprovalApiKey */ 'lastUsedAt': string; /** * * @type {ApprovalApiPublicKey} * @memberof ApprovalApiKey */ 'approvalApiPublicKey': ApprovalApiPublicKey; /** * The ID of the API user who owns this key. * @type {string} * @memberof ApprovalApiKey */ 'userId': string; /** * The state of the key. `APPROVAL_API_KEY_STATUS_PENDING_REGISTRATION` - registered but waiting for approval, cannot sign yet. `APPROVAL_API_KEY_STATUS_ENABLED` - active. `APPROVAL_API_KEY_STATUS_PENDING_DELETION` - removal is waiting for approval, the key stays active until then. `APPROVAL_API_KEY_STATUS_UNSPECIFIED` - unknown. * @type {string} * @memberof ApprovalApiKey */ 'status': ApprovalApiKeyStatusEnum; } export const ApprovalApiKeyStatusEnum = { Unspecified: 'APPROVAL_API_KEY_STATUS_UNSPECIFIED', PendingRegistration: 'APPROVAL_API_KEY_STATUS_PENDING_REGISTRATION', Enabled: 'APPROVAL_API_KEY_STATUS_ENABLED', PendingDeletion: 'APPROVAL_API_KEY_STATUS_PENDING_DELETION' } as const; export type ApprovalApiKeyStatusEnum = typeof ApprovalApiKeyStatusEnum[keyof typeof ApprovalApiKeyStatusEnum];