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

41 lines (40 loc) 1.38 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) */ import type { AccountType } from './AccountType'; /** * * @export * @interface SaveAccount */ export interface SaveAccount { /** * The name of the account * @type {string} * @memberof SaveAccount */ name: string; /** * * @type {AccountType} * @memberof SaveAccount */ type: AccountType; /** * The current balance of the account in milliunits format * @type {number} * @memberof SaveAccount */ balance: number; } /** * Check if a given object implements the SaveAccount interface. */ export declare function instanceOfSaveAccount(value: object): value is SaveAccount; export declare function SaveAccountFromJSON(json: any): SaveAccount; export declare function SaveAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveAccount; export declare function SaveAccountToJSON(json: any): SaveAccount; export declare function SaveAccountToJSONTyped(value?: SaveAccount | null, ignoreDiscriminator?: boolean): any;