/** * 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 * as runtime from '../runtime'; import type { MonthDetailResponse, MonthSummariesResponse } from '../models/index'; export interface GetPlanMonthRequest { planId: string; month: string; } export interface GetPlanMonthsRequest { planId: string; lastKnowledgeOfServer?: number; } /** * */ export declare class MonthsApi extends runtime.BaseAPI { /** * Returns a single plan month * Get a plan month */ getPlanMonthRaw(requestParameters: GetPlanMonthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a single plan month * Get a plan month */ getPlanMonth(planId: string, month: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns all plan months * Get all plan months */ getPlanMonthsRaw(requestParameters: GetPlanMonthsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns all plan months * Get all plan months */ getPlanMonths(planId: string, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }