/** * 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. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories. * @type {number} * @memberof SaveCategory */ goal_target?: number | null; /** * The goal target date in ISO format (e.g. 2016-12-01). * @type {string} * @memberof SaveCategory */ goal_target_date?: string | null; /** * Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'. * @type {boolean} * @memberof SaveCategory */ goal_needs_whole_amount?: boolean | 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;