UNPKG

ynab

Version:

Official JavaScript client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.76.0

46 lines (45 loc) 1.54 kB
/** * 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) */ /** * * @export * @interface SaveCategory */ export interface SaveCategory { /** * * @type {string} * @memberof SaveCategory */ name?: string | null; /** * * @type {string} * @memberof SaveCategory */ note?: string | null; /** * * @type {string} * @memberof SaveCategory */ category_group_id?: string; /** * The goal target amount in milliunits format. This amount can only be changed if the category already has a configured goal (goal_type != null). * @type {number} * @memberof SaveCategory */ goal_target?: number | null; } /** * Check if a given object implements the SaveCategory interface. */ export declare function instanceOfSaveCategory(value: object): value is SaveCategory; export declare function SaveCategoryFromJSON(json: any): SaveCategory; export declare function SaveCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCategory; export declare function SaveCategoryToJSON(json: any): SaveCategory; export declare function SaveCategoryToJSONTyped(value?: SaveCategory | null, ignoreDiscriminator?: boolean): any;