/* tslint:disable */ /* eslint-disable */ /** * deposits * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * 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 type { Currency } from './currency'; /** * Asset, holds information about a client asset entry. */ export interface Asset { /** * The amount used by the client for the guaranty */ amount: number; /** * The name of a value the client guarantees with (populated when the guaranty type is ASSET) */ assetName: string; /** * The key of the deposit account used by the guarantor (populated when the guaranty type is GUARANTOR). It can be null. */ depositAccountKey?: string; /** * The encoded key of the security, auto generated, unique. */ encodedKey?: string; /** * The key of the client/group used as the guarantor. */ guarantorKey?: string; /** * Indicated the account holder type. */ guarantorType?: AssetGuarantorTypeEnum; /** * The original amount used by the client for a collateral asset */ originalAmount?: number; originalCurrency?: Currency; } export const AssetGuarantorTypeEnum = { Client: 'CLIENT', Group: 'GROUP', } as const; export type AssetGuarantorTypeEnum = (typeof AssetGuarantorTypeEnum)[keyof typeof AssetGuarantorTypeEnum];