/** * Organizze API * Specification for the Organizze API described in [https://github.com/organizze/api-doc](https://github.com/organizze/api-doc) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Tag } from './Tag'; /** * Schema for creating a transaction * @export * @interface TransactionInput */ export interface TransactionInput { /** * * @type {string} * @memberof TransactionInput */ description: string; /** * * @type {Date} * @memberof TransactionInput */ date: Date; /** * * @type {boolean} * @memberof TransactionInput */ paid?: boolean; /** * * @type {number} * @memberof TransactionInput */ amountCents: number; /** * ID of the Bank Account * @type {number} * @memberof TransactionInput */ accountId?: number; /** * * @type {number} * @memberof TransactionInput */ categoryId: number; /** * * @type {string} * @memberof TransactionInput */ notes?: string | null; /** * * @type {number} * @memberof TransactionInput */ creditCardId?: number | null; /** * * @type {number} * @memberof TransactionInput */ creditCardInvoiceId?: number | null; /** * * @type {Array} * @memberof TransactionInput */ tags?: Array; } /** * Check if a given object implements the TransactionInput interface. */ export declare function instanceOfTransactionInput(value: object): value is TransactionInput; export declare function TransactionInputFromJSON(json: any): TransactionInput; export declare function TransactionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionInput; export declare function TransactionInputToJSON(json: any): TransactionInput; export declare function TransactionInputToJSONTyped(value?: TransactionInput | null, ignoreDiscriminator?: boolean): any;