/** * 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 NewCategory */ export interface NewCategory { /** * * @type {string} * @memberof NewCategory */ name?: string; /** * * @type {string} * @memberof NewCategory */ note?: string; /** * * @type {string} * @memberof NewCategory */ 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 NewCategory */ goal_target?: number; /** * The goal target date in ISO format (e.g. 2016-12-01). * @type {string} * @memberof NewCategory */ goal_target_date?: string; /** * 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 NewCategory */ goal_needs_whole_amount?: boolean; } /** * Check if a given object implements the NewCategory interface. */ export declare function instanceOfNewCategory(value: object): value is NewCategory; export declare function NewCategoryFromJSON(json: any): NewCategory; export declare function NewCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): NewCategory; export declare function NewCategoryToJSON(json: any): NewCategory; export declare function NewCategoryToJSONTyped(value?: NewCategory | null, ignoreDiscriminator?: boolean): any;