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

50 lines (49 loc) 1.68 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 scheduled transaction frequency * @export */ export var ScheduledTransactionFrequency = { Never: 'never', Daily: 'daily', Weekly: 'weekly', EveryOtherWeek: 'everyOtherWeek', TwiceAMonth: 'twiceAMonth', Every4Weeks: 'every4Weeks', Monthly: 'monthly', EveryOtherMonth: 'everyOtherMonth', Every3Months: 'every3Months', Every4Months: 'every4Months', TwiceAYear: 'twiceAYear', Yearly: 'yearly', EveryOtherYear: 'everyOtherYear' }; export function instanceOfScheduledTransactionFrequency(value) { for (var key in ScheduledTransactionFrequency) { if (Object.prototype.hasOwnProperty.call(ScheduledTransactionFrequency, key)) { if (ScheduledTransactionFrequency[key] === value) { return true; } } } return false; } export function ScheduledTransactionFrequencyFromJSON(json) { return ScheduledTransactionFrequencyFromJSONTyped(json, false); } export function ScheduledTransactionFrequencyFromJSONTyped(json, ignoreDiscriminator) { return json; } export function ScheduledTransactionFrequencyToJSON(value) { return value; } export function ScheduledTransactionFrequencyToJSONTyped(value, ignoreDiscriminator) { return value; }