Skip to content

Commit

Permalink
Merge pull request #50 from ynab/deleted-support
Browse files Browse the repository at this point in the history
Generate from latest spec; adds support for deleted
  • Loading branch information
bradymholt authored Jun 8, 2018
2 parents 78bd55c + 78d2822 commit dd9fb81
Show file tree
Hide file tree
Showing 11 changed files with 1,611 additions and 155 deletions.
700 changes: 675 additions & 25 deletions dist/api.d.ts

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const url = require("url");
// Requiring portable-fetch like this ensures that we have a global fetch function
// That makes it easier to override with modules like fetch-mock
require("portable-fetch");
const USER_AGENT = "api_client/js/0.14.0";
const USER_AGENT = "api_client/js/0.17.0";
function convertDateToFullDateStringFormat(date) {
// Convert to RFC 3339 "full-date" format, like "2017-11-27"
if (date instanceof Date) {
Expand Down Expand Up @@ -77,15 +77,15 @@ var Account;
(function (TypeEnum) {
TypeEnum[TypeEnum["Checking"] = 'checking'] = "Checking";
TypeEnum[TypeEnum["Savings"] = 'savings'] = "Savings";
TypeEnum[TypeEnum["CreditCard"] = 'creditCard'] = "CreditCard";
TypeEnum[TypeEnum["Cash"] = 'cash'] = "Cash";
TypeEnum[TypeEnum["CreditCard"] = 'creditCard'] = "CreditCard";
TypeEnum[TypeEnum["LineOfCredit"] = 'lineOfCredit'] = "LineOfCredit";
TypeEnum[TypeEnum["MerchantAccount"] = 'merchantAccount'] = "MerchantAccount";
TypeEnum[TypeEnum["OtherAsset"] = 'otherAsset'] = "OtherAsset";
TypeEnum[TypeEnum["OtherLiability"] = 'otherLiability'] = "OtherLiability";
TypeEnum[TypeEnum["PayPal"] = 'payPal'] = "PayPal";
TypeEnum[TypeEnum["MerchantAccount"] = 'merchantAccount'] = "MerchantAccount";
TypeEnum[TypeEnum["InvestmentAccount"] = 'investmentAccount'] = "InvestmentAccount";
TypeEnum[TypeEnum["Mortgage"] = 'mortgage'] = "Mortgage";
TypeEnum[TypeEnum["OtherAsset"] = 'otherAsset'] = "OtherAsset";
TypeEnum[TypeEnum["OtherLiability"] = 'otherLiability'] = "OtherLiability";
})(TypeEnum = Account.TypeEnum || (Account.TypeEnum = {}));
})(Account = exports.Account || (exports.Account = {}));
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/ynab.js

Large diffs are not rendered by default.

Loading

0 comments on commit dd9fb81

Please sign in to comment.