/* 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 { UtxoIdentifier } from './utxo-identifier'; /** * A requested identifier that blocked the label request, with the reason it could not be labelled. * @export * @interface UtxoLabelFailure */ export interface UtxoLabelFailure { /** * The identifier exactly as it was sent in the request. * @type {UtxoIdentifier} * @memberof UtxoLabelFailure */ 'identifier': UtxoIdentifier; /** * Why the identifier could not be labelled: - `NOT_FOUND` — no UTXO for it in this vault and asset. Retrying can work once it is indexed. - `NOT_LABELLABLE` — the UTXO exists but can no longer be labelled (spent, or removed; for a transaction ID, every output). Retrying will not help. * @type {string} * @memberof UtxoLabelFailure */ 'reason': UtxoLabelFailureReasonEnum; /** * The UTXO status behind the reason, when one explains it. With `NOT_FOUND`, `REMOVED` means the UTXO was removed within the last hour and may still reappear; if it does not, the same request returns `NOT_LABELLABLE` after about an hour. * @type {string} * @memberof UtxoLabelFailure */ 'utxoStatus'?: UtxoLabelFailureUtxoStatusEnum; } export const UtxoLabelFailureReasonEnum = { NotFound: 'NOT_FOUND', NotLabellable: 'NOT_LABELLABLE', UnusableIdentifier: 'UNUSABLE_IDENTIFIER' } as const; export type UtxoLabelFailureReasonEnum = typeof UtxoLabelFailureReasonEnum[keyof typeof UtxoLabelFailureReasonEnum]; export const UtxoLabelFailureUtxoStatusEnum = { Spent: 'SPENT', Removed: 'REMOVED' } as const; export type UtxoLabelFailureUtxoStatusEnum = typeof UtxoLabelFailureUtxoStatusEnum[keyof typeof UtxoLabelFailureUtxoStatusEnum];