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.42 kB
TypeScript
/**
* 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 Payee
*/
export interface Payee {
/**
*
* @type {string}
* @memberof Payee
*/
id: string;
/**
*
* @type {string}
* @memberof Payee
*/
name: string;
/**
* If a transfer payee, the `account_id` to which this payee transfers to
* @type {string}
* @memberof Payee
*/
transfer_account_id?: string | null;
/**
* Whether or not the payee has been deleted. Deleted payees will only be included in delta requests.
* @type {boolean}
* @memberof Payee
*/
deleted: boolean;
}
/**
* Check if a given object implements the Payee interface.
*/
export declare function instanceOfPayee(value: object): value is Payee;
export declare function PayeeFromJSON(json: any): Payee;
export declare function PayeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Payee;
export declare function PayeeToJSON(json: any): Payee;
export declare function PayeeToJSONTyped(value?: Payee | null, ignoreDiscriminator?: boolean): any;