/* 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 { ActionRecord } from './action-record'; /** * Single lending action (intent plus per-step execution rows). * @export * @interface GetActionResponse */ export interface GetActionResponse { /** * Action sequence id (UUID). * @type {string} * @memberof GetActionResponse */ 'id': string; /** * Fireblocks vault account that executed the action. * @type {string} * @memberof GetActionResponse */ 'vaultAccountId': string; /** * User who initiated the action. * @type {string} * @memberof GetActionResponse */ 'userId': string; /** * Intent status (e.g. CREATED, IN_PROGRESS, COMPLETED). * @type {string} * @memberof GetActionResponse */ 'status': string; /** * Lending protocol identifier. * @type {string} * @memberof GetActionResponse */ 'providerId': GetActionResponseProviderIdEnum; /** * Whether this action is a deposit or withdraw flow. * @type {string} * @memberof GetActionResponse */ 'actionType': GetActionResponseActionTypeEnum; /** * Target lending opportunity identifier. * @type {string} * @memberof GetActionResponse */ 'opportunityId': string; /** * Human-readable amount for the action. * @type {string} * @memberof GetActionResponse */ 'amount': string; /** * Creation time (ISO-8601). * @type {string} * @memberof GetActionResponse */ 'createdAt': string; /** * Last update time (ISO-8601). * @type {string} * @memberof GetActionResponse */ 'updatedAt': string; /** * Ordered execution steps for this action. * @type {Array} * @memberof GetActionResponse */ 'records': Array; /** * Position id in the system when applicable. * @type {string} * @memberof GetActionResponse */ 'positionId'?: string; } export const GetActionResponseProviderIdEnum = { Morpho: 'MORPHO', Aave: 'AAVE' } as const; export type GetActionResponseProviderIdEnum = typeof GetActionResponseProviderIdEnum[keyof typeof GetActionResponseProviderIdEnum]; export const GetActionResponseActionTypeEnum = { Deposit: 'DEPOSIT', Withdraw: 'WITHDRAW' } as const; export type GetActionResponseActionTypeEnum = typeof GetActionResponseActionTypeEnum[keyof typeof GetActionResponseActionTypeEnum];