UNPKG

@apideck/node

Version:
126 lines (125 loc) 3.23 kB
/** * Apideck * The Apideck OpenAPI Spec: SDK Optimized * * The version of the OpenAPI document: 10.13.0 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CostOfGoodsSold } from './CostOfGoodsSold'; import { Currency } from './Currency'; import { Expenses } from './Expenses'; import { Income } from './Income'; import { OtherExpenses } from './OtherExpenses'; import { OtherIncome } from './OtherIncome'; import { ProfitAndLossIndicator } from './ProfitAndLossIndicator'; import { UncategorizedAccounts } from './UncategorizedAccounts'; /** * * @export * @interface ProfitAndLoss */ export interface ProfitAndLoss { /** * The name of the report * @type {string} * @memberof ProfitAndLoss */ report_name: string; /** * * @type {Currency} * @memberof ProfitAndLoss */ currency: Currency | null; /** * * @type {Income} * @memberof ProfitAndLoss */ income: Income; /** * * @type {Expenses} * @memberof ProfitAndLoss */ expenses: Expenses; /** * A unique identifier for an object. * @type {string} * @memberof ProfitAndLoss */ readonly id?: string; /** * The start date of the report * @type {string} * @memberof ProfitAndLoss */ start_date?: string; /** * The end date of the report * @type {string} * @memberof ProfitAndLoss */ end_date?: string; /** * * @type {CostOfGoodsSold} * @memberof ProfitAndLoss */ cost_of_goods_sold?: CostOfGoodsSold; /** * * @type {OtherIncome} * @memberof ProfitAndLoss */ other_income?: OtherIncome; /** * * @type {OtherExpenses} * @memberof ProfitAndLoss */ other_expenses?: OtherExpenses; /** * * @type {UncategorizedAccounts} * @memberof ProfitAndLoss */ uncategorized_accounts?: UncategorizedAccounts; /** * * @type {ProfitAndLossIndicator} * @memberof ProfitAndLoss */ gross_profit?: ProfitAndLossIndicator; /** * * @type {ProfitAndLossIndicator} * @memberof ProfitAndLoss */ net_operating_income?: ProfitAndLossIndicator; /** * * @type {ProfitAndLossIndicator} * @memberof ProfitAndLoss */ net_income?: ProfitAndLossIndicator; /** * When custom mappings are configured on the resource, the result is included here. * @type {object} * @memberof ProfitAndLoss */ readonly custom_mappings?: object | null; /** * The customer id * @type {string} * @memberof ProfitAndLoss */ customer?: string; } export declare function ProfitAndLossFromJSON(json: any): ProfitAndLoss; export declare function ProfitAndLossFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfitAndLoss; export declare function ProfitAndLossToJSON(value?: ProfitAndLoss | null): any;