/** * 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 { TransactionTagsInner } from './TransactionTagsInner'; /** * * @export * @interface Transaction */ export interface Transaction { /** * ID of the Transaction * @type {number} * @memberof Transaction */ id: number; /** * * @type {string} * @memberof Transaction */ description: string; /** * * @type {Date} * @memberof Transaction */ date: Date; /** * * @type {boolean} * @memberof Transaction */ paid: boolean; /** * * @type {number} * @memberof Transaction */ amountCents: number; /** * * @type {number} * @memberof Transaction */ totalInstallments: number; /** * * @type {number} * @memberof Transaction */ installment: number; /** * * @type {boolean} * @memberof Transaction */ recurring: boolean; /** * ID of the Bank Account * @type {number} * @memberof Transaction */ accountId: number; /** * * @type {number} * @memberof Transaction */ categoryId: number; /** * * @type {string} * @memberof Transaction */ notes: string | null; /** * * @type {number} * @memberof Transaction */ attachmentsCount: number; /** * * @type {number} * @memberof Transaction */ creditCardId: number | null; /** * * @type {number} * @memberof Transaction */ creditCardInvoiceId: number | null; /** * * @type {number} * @memberof Transaction */ paidCreditCardId: number | null; /** * * @type {number} * @memberof Transaction */ paidCreditCardInvoiceId: number | null; /** * * @type {number} * @memberof Transaction */ opositeTransactionId: number | null; /** * ID of the Bank Account * @type {number} * @memberof Transaction */ opositeAccountId: number | null; /** * * @type {Date} * @memberof Transaction */ createdAt: Date; /** * * @type {Date} * @memberof Transaction */ updatedAt: Date; /** * * @type {Array} * @memberof Transaction */ tags: Array | null; /** * * @type {Array} * @memberof Transaction */ attachments: Array | null; /** * * @type {number} * @memberof Transaction */ recurrenceId: number | null; } /** * Check if a given object implements the Transaction interface. */ export declare function instanceOfTransaction(value: object): value is Transaction; export declare function TransactionFromJSON(json: any): Transaction; export declare function TransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Transaction; export declare function TransactionToJSON(json: any): Transaction; export declare function TransactionToJSONTyped(value?: Transaction | null, ignoreDiscriminator?: boolean): any;