/* 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. */ /** * Guarantor, holds information about a client guaranty entry. It can be defined based on another client which guarantees (including or not a savings account whether it is a client of the organization using Mambu or not) or based on a value the client holds (an asset) */ export interface Guarantor { /** * 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: GuarantorGuarantorTypeEnum; } export const GuarantorGuarantorTypeEnum = { Client: 'CLIENT', Group: 'GROUP', } as const; export type GuarantorGuarantorTypeEnum = (typeof GuarantorGuarantorTypeEnum)[keyof typeof GuarantorGuarantorTypeEnum];