/* tslint:disable */ /* eslint-disable */ /** * currencies * 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 { Holiday } from './holiday'; /** * Represents a currency. */ export interface CurrencyDetails { /** * `TRUE` if the currency is the base currency, `FALSE` otherwise. It cannot be changed and it\'s a read-only field not required for update operations. */ baseCurrency: boolean; /** * The currency code, which cannot be changed once the currency is created. */ code: string; /** * The date this currency was created. It cannot be changed and it\'s a read-only field not required for update operations. */ creationDate?: string; /** * The list of holidays for this currency. */ currencyHolidays?: Array; /** * Model representation of the currency symbol position. */ currencySymbolPosition: CurrencyDetailsCurrencySymbolPositionEnum; /** * The number of digits that are supported for a given currency. */ digitsAfterDecimal?: number; /** * The last date this currency was modified. It\'s updated automatically and it\'s a read-only field not required for update operations. */ lastModifiedDate?: string; /** * The name of the currency. */ name: string; /** * The currency numeric code. */ numericCode?: string; /** * The currency symbol. */ symbol: string; /** * Model representation of the currency type. */ type: CurrencyDetailsTypeEnum; } export const CurrencyDetailsCurrencySymbolPositionEnum = { BeforeNumber: 'BEFORE_NUMBER', AfterNumber: 'AFTER_NUMBER', } as const; export type CurrencyDetailsCurrencySymbolPositionEnum = (typeof CurrencyDetailsCurrencySymbolPositionEnum)[keyof typeof CurrencyDetailsCurrencySymbolPositionEnum]; export const CurrencyDetailsTypeEnum = { FiatCurrency: 'FIAT_CURRENCY', Cryptocurrency: 'CRYPTOCURRENCY', NonTraditionalCurrency: 'NON_TRADITIONAL_CURRENCY', } as const; export type CurrencyDetailsTypeEnum = (typeof CurrencyDetailsTypeEnum)[keyof typeof CurrencyDetailsTypeEnum];