UNPKG

@nikhil-patil/ngx-firefly-iii-api-client

Version:
109 lines (108 loc) 3.49 kB
/** * Firefly III API v2.1.0 * This is the documentation of the Firefly III API. You can find accompanying documentation on the website of Firefly III itself (see below). Please report any bugs or issues. You may use the \"Authorize\" button to try the API below. This file was last generated on 2024-05-19T04:33:01+00:00 Please keep in mind that the demo site does not accept requests from curl, colly, wget, etc. You must use a browser or a tool like Postman to make requests. Too many script kiddies out there, sorry about that. * * The version of the OpenAPI document: 2.1.0 * Contact: james@firefly-iii.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AccountTypeProperty } from './accountTypeProperty'; export interface RecurrenceTransaction { id?: string; description: string; /** * Amount of the transaction. */ amount: string; /** * Foreign amount of the transaction. */ foreign_amount?: string | null; /** * Submit either a currency_id or a currency_code. */ currency_id?: string; /** * Submit either a currency_id or a currency_code. */ currency_code?: string; readonly currency_symbol?: string; /** * Number of decimals in the currency */ readonly currency_decimal_places?: number; /** * Submit either a foreign_currency_id or a foreign_currency_code, or neither. */ foreign_currency_id?: string | null; /** * Submit either a foreign_currency_id or a foreign_currency_code, or neither. */ foreign_currency_code?: string | null; readonly foreign_currency_symbol?: string | null; /** * Number of decimals in the currency */ readonly foreign_currency_decimal_places?: number | null; /** * The budget ID for this transaction. */ budget_id?: string; /** * The name of the budget to be used. If the budget name is unknown, the ID will be used or the value will be ignored. */ readonly budget_name?: string | null; /** * Category ID for this transaction. */ category_id?: string; /** * Category name for this transaction. */ category_name?: string; /** * ID of the source account. Submit either this or source_name. */ source_id?: string; /** * Name of the source account. Submit either this or source_id. */ source_name?: string; readonly source_iban?: string | null; source_type?: AccountTypeProperty; /** * ID of the destination account. Submit either this or destination_name. */ destination_id?: string; /** * Name of the destination account. Submit either this or destination_id. */ destination_name?: string; readonly destination_iban?: string | null; destination_type?: AccountTypeProperty; /** * Array of tags. */ tags?: Array<string> | null; /** * Optional. Use either this or the piggy_bank_name */ piggy_bank_id?: string | null; /** * Optional. Use either this or the piggy_bank_id */ piggy_bank_name?: string | null; /** * Optional. Use either this or the bill_name */ bill_id?: string | null; /** * Optional. Use either this or the bill_id */ bill_name?: string | null; } export declare namespace RecurrenceTransaction { }