/** * YNAB API Endpoints * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ import type { Account } from './Account'; import type { CurrencyFormat } from './CurrencyFormat'; import type { DateFormat } from './DateFormat'; /** * * @export * @interface PlanSummary */ export interface PlanSummary { /** * * @type {string} * @memberof PlanSummary */ id: string; /** * * @type {string} * @memberof PlanSummary */ name: string; /** * The last time any changes were made to the plan from either a web or mobile client * @type {string} * @memberof PlanSummary */ last_modified_on?: string; /** * The earliest plan month * @type {string} * @memberof PlanSummary */ first_month?: string; /** * The latest plan month * @type {string} * @memberof PlanSummary */ last_month?: string; /** * * @type {DateFormat} * @memberof PlanSummary */ date_format?: DateFormat; /** * * @type {CurrencyFormat} * @memberof PlanSummary */ currency_format?: CurrencyFormat; /** * The plan accounts (only included if `include_accounts=true` specified as query parameter) * @type {Array} * @memberof PlanSummary */ accounts?: Array; } /** * Check if a given object implements the PlanSummary interface. */ export declare function instanceOfPlanSummary(value: object): value is PlanSummary; export declare function PlanSummaryFromJSON(json: any): PlanSummary; export declare function PlanSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanSummary; export declare function PlanSummaryToJSON(json: any): PlanSummary; export declare function PlanSummaryToJSONTyped(value?: PlanSummary | null, ignoreDiscriminator?: boolean): any;