UNPKG

ynab

Version:

Official JavaScript client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.85.0

43 lines (42 loc) 1.32 kB
/* tslint:disable */ /* eslint-disable */ /** * 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) */ /** * The type of account to create or update * @export */ export var SaveAccountType = { Checking: 'checking', Savings: 'savings', Cash: 'cash', CreditCard: 'creditCard', OtherAsset: 'otherAsset', OtherLiability: 'otherLiability' }; export function instanceOfSaveAccountType(value) { for (var key in SaveAccountType) { if (Object.prototype.hasOwnProperty.call(SaveAccountType, key)) { if (SaveAccountType[key] === value) { return true; } } } return false; } export function SaveAccountTypeFromJSON(json) { return SaveAccountTypeFromJSONTyped(json, false); } export function SaveAccountTypeFromJSONTyped(json, ignoreDiscriminator) { return json; } export function SaveAccountTypeToJSON(value) { return value; } export function SaveAccountTypeToJSONTyped(value, ignoreDiscriminator) { return value; }