UNPKG

@circle-fin/circle-sdk

Version:
38 lines (34 loc) 736 B
/* tslint:disable */ /* eslint-disable */ /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface Money */ export interface Money { /** * Magnitude of the amount, in units of the currency, with a `.`. * @type {string} * @memberof Money */ amount: string; /** * Currency code for the amount. * @type {string} * @memberof Money */ currency: MoneyCurrencyEnum; } export const MoneyCurrencyEnum = { Usd: "USD", Eur: "EUR", Btc: "BTC", Eth: "ETH" } as const; export type MoneyCurrencyEnum = typeof MoneyCurrencyEnum[keyof typeof MoneyCurrencyEnum];