import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Currency } from "./currency.js"; /** * A balance sheet assets account represents the financial position of a company at a specific point in time. */ export type BalanceSheetAssetsAccount = { /** * The unique identifier for the account. */ accountId?: string | undefined; /** * The account code of the account */ code?: string | undefined; /** * The name of the account. */ name?: string | undefined; /** * The amount or value of the item */ value?: number | undefined; /** * A list of balance sheet accounts */ items?: any | undefined; }; /** * A balance sheet liabilities account represents the financial position of a company at a specific point in time. */ export type BalanceSheetLiabilitiesAccount = { /** * The unique identifier for the account. */ accountId?: string | undefined; /** * The account code of the account */ code?: string | undefined; /** * The name of the account. */ name?: string | undefined; /** * The amount or value of the item */ value?: number | undefined; /** * A list of balance sheet accounts */ items?: any | undefined; }; /** * A balance sheet equity account represents the financial position of a company at a specific point in time. */ export type BalanceSheetEquityAccount = { /** * The unique identifier for the account. */ accountId?: string | undefined; /** * The account code of the account */ code?: string | undefined; /** * The name of the account. */ name?: string | undefined; /** * The amount or value of the item */ value?: number | undefined; /** * A list of balance sheet accounts */ items?: any | undefined; }; /** * A balance sheet uncategorized items account represents the financial position of a company at a specific point in time. */ export type BalanceSheetUncategorizedItemsAccount = { /** * The unique identifier for the account. */ accountId?: string | undefined; /** * The account code of the account */ code?: string | undefined; /** * The name of the account. */ name?: string | undefined; /** * The amount or value of the item */ value?: number | undefined; /** * A list of balance sheet accounts */ items?: any | undefined; }; export type Reports = { /** * A unique identifier for an object. */ id?: string | undefined; /** * The name of the report */ reportName?: string | undefined; /** * The start date of the report */ startDate?: string | undefined; /** * The start date of the report */ endDate: string; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * A balance sheet assets account represents the financial position of a company at a specific point in time. */ assets: BalanceSheetAssetsAccount; /** * A balance sheet liabilities account represents the financial position of a company at a specific point in time. */ liabilities: BalanceSheetLiabilitiesAccount; /** * A balance sheet equity account represents the financial position of a company at a specific point in time. */ equity: BalanceSheetEquityAccount; /** * The net assets of the balance sheet */ netAssets?: number | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: { [k: string]: any; } | null | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * A balance sheet uncategorized items account represents the financial position of a company at a specific point in time. */ uncategorizedItems?: BalanceSheetUncategorizedItemsAccount | undefined; }; export type BalanceSheet = { reports: Array; }; /** @internal */ export declare const BalanceSheetAssetsAccount$inboundSchema: z.ZodType; export declare function balanceSheetAssetsAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BalanceSheetLiabilitiesAccount$inboundSchema: z.ZodType; export declare function balanceSheetLiabilitiesAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BalanceSheetEquityAccount$inboundSchema: z.ZodType; export declare function balanceSheetEquityAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BalanceSheetUncategorizedItemsAccount$inboundSchema: z.ZodType; export declare function balanceSheetUncategorizedItemsAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Reports$inboundSchema: z.ZodType; export declare function reportsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BalanceSheet$inboundSchema: z.ZodType; export declare function balanceSheetFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=balancesheet.d.ts.map