/* tslint:disable */ /* eslint-disable */ /** * configuration/currencies.yaml * 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 { HolidayConfiguration } from './holiday-configuration'; /** * Represents the currency configuration. */ export interface CurrencyConfiguration { /** * The unique currency code. */ code?: string; /** * List of holidays for this currency. */ currencyHolidays?: Array; /** * The number of decimals of the currency. */ digitsAfterDecimal?: number; /** * The currency name. */ name?: string; /** * The currency symbol. */ symbol?: string; /** * Model representation of the currency symbol position. */ symbolPosition?: CurrencyConfigurationSymbolPositionEnum; /** * Model representation of the currency type. */ type?: CurrencyConfigurationTypeEnum; } export const CurrencyConfigurationSymbolPositionEnum = { BeforeNumber: 'BEFORE_NUMBER', AfterNumber: 'AFTER_NUMBER', } as const; export type CurrencyConfigurationSymbolPositionEnum = (typeof CurrencyConfigurationSymbolPositionEnum)[keyof typeof CurrencyConfigurationSymbolPositionEnum]; export const CurrencyConfigurationTypeEnum = { FiatCurrency: 'FIAT_CURRENCY', Cryptocurrency: 'CRYPTOCURRENCY', NonTraditionalCurrency: 'NON_TRADITIONAL_CURRENCY', } as const; export type CurrencyConfigurationTypeEnum = (typeof CurrencyConfigurationTypeEnum)[keyof typeof CurrencyConfigurationTypeEnum];