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