-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMonthsApi.d.ts
41 lines (41 loc) · 1.68 KB
/
MonthsApi.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* 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 GetBudgetMonthRequest {
budgetId: string;
month: string;
}
export interface GetBudgetMonthsRequest {
budgetId: string;
lastKnowledgeOfServer?: number;
}
/**
*
*/
export declare class MonthsApi extends runtime.BaseAPI {
/**
* Returns a single budget month
* Single budget month
*/
getBudgetMonthRaw(requestParameters: GetBudgetMonthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MonthDetailResponse>>;
/**
* Returns a single budget month
* Single budget month
*/
getBudgetMonth(budgetId: string, month: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MonthDetailResponse>;
/**
* Returns all budget months
* List budget months
*/
getBudgetMonthsRaw(requestParameters: GetBudgetMonthsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MonthSummariesResponse>>;
/**
* Returns all budget months
* List budget months
*/
getBudgetMonths(budgetId: string, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MonthSummariesResponse>;
}