@nikhil-patil/ngx-firefly-iii-api-client
Version:
OpenAPI client for ngx-firefly-iii-api-client
72 lines (71 loc) • 3.14 kB
TypeScript
/**
* 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 { LiabilityTypeProperty } from './liabilityTypeProperty';
import { CreditCardTypeProperty } from './creditCardTypeProperty';
import { AccountRoleProperty } from './accountRoleProperty';
import { InterestPeriodProperty } from './interestPeriodProperty';
export interface AccountUpdate {
name: string;
iban?: string | null;
bic?: string | null;
account_number?: string | null;
opening_balance?: string;
opening_balance_date?: string | null;
virtual_balance?: string;
/**
* Use either currency_id or currency_code. Defaults to the user\'s default currency.
*/
currency_id?: string;
/**
* Use either currency_id or currency_code. Defaults to the user\'s default currency.
*/
currency_code?: string;
/**
* If omitted, defaults to true.
*/
active?: boolean;
/**
* Order of the account
*/
order?: number;
/**
* If omitted, defaults to true.
*/
include_net_worth?: boolean;
account_role?: AccountRoleProperty | null;
credit_card_type?: CreditCardTypeProperty | null;
/**
* Mandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for by the bank.
*/
monthly_payment_date?: string | null;
liability_type?: LiabilityTypeProperty | null;
/**
* Mandatory when type is liability. Interest percentage.
*/
interest?: string | null;
interest_period?: InterestPeriodProperty | null;
notes?: string | null;
/**
* Latitude of the account\'s location, if applicable. Can be used to draw a map. If omitted, the existing location will be kept. If submitted as NULL, the current location will be removed.
*/
latitude?: number | null;
/**
* Latitude of the account\'s location, if applicable. Can be used to draw a map. If omitted, the existing location will be kept. If submitted as NULL, the current location will be removed.
*/
longitude?: number | null;
/**
* Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary value because each map provider has different zoom levels. If omitted, the existing location will be kept. If submitted as NULL, the current location will be removed.
*/
zoom_level?: number | null;
}
export declare namespace AccountUpdate {
}