Comparing version 1.19.0 to 1.20.0
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Configuration = void 0; | ||
class Configuration { | ||
@@ -17,0 +18,0 @@ constructor(accessToken, basePath) { |
@@ -34,3 +34,3 @@ /** | ||
*/ | ||
readonly user: CodeGen.UserApi; | ||
get user(): CodeGen.UserApi; | ||
protected _budgets: CodeGen.BudgetsApi; | ||
@@ -40,3 +40,3 @@ /** | ||
*/ | ||
readonly budgets: CodeGen.BudgetsApi; | ||
get budgets(): CodeGen.BudgetsApi; | ||
protected _accounts: CodeGen.AccountsApi; | ||
@@ -46,3 +46,3 @@ /** | ||
*/ | ||
readonly accounts: CodeGen.AccountsApi; | ||
get accounts(): CodeGen.AccountsApi; | ||
protected _categories: CodeGen.CategoriesApi; | ||
@@ -52,3 +52,3 @@ /** | ||
*/ | ||
readonly categories: CodeGen.CategoriesApi; | ||
get categories(): CodeGen.CategoriesApi; | ||
protected _months: CodeGen.MonthsApi; | ||
@@ -58,3 +58,3 @@ /** | ||
*/ | ||
readonly months: CodeGen.MonthsApi; | ||
get months(): CodeGen.MonthsApi; | ||
protected _payees: CodeGen.PayeesApi; | ||
@@ -64,3 +64,3 @@ /** | ||
*/ | ||
readonly payees: CodeGen.PayeesApi; | ||
get payees(): CodeGen.PayeesApi; | ||
protected _payeeLocations: CodeGen.PayeeLocationsApi; | ||
@@ -70,3 +70,3 @@ /** | ||
*/ | ||
readonly payeeLocations: CodeGen.PayeeLocationsApi; | ||
get payeeLocations(): CodeGen.PayeeLocationsApi; | ||
protected _transactions: TransactionsApi; | ||
@@ -76,3 +76,3 @@ /** | ||
*/ | ||
readonly transactions: TransactionsApi; | ||
get transactions(): TransactionsApi; | ||
protected _scheduledTransactions: CodeGen.ScheduledTransactionsApi; | ||
@@ -82,3 +82,3 @@ /** | ||
*/ | ||
readonly scheduledTransactions: CodeGen.ScheduledTransactionsApi; | ||
get scheduledTransactions(): CodeGen.ScheduledTransactionsApi; | ||
} |
@@ -14,6 +14,14 @@ "use strict"; | ||
*/ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.api = exports.utils = exports.API = void 0; | ||
const configuration_1 = require("./configuration"); | ||
@@ -24,3 +32,3 @@ const CodeGen = require("./api"); | ||
exports.utils = utils_1.default; | ||
__export(require("./api")); | ||
__exportStar(require("./api"), exports); | ||
/** | ||
@@ -27,0 +35,0 @@ * The YNAB API client |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TransactionsApi = void 0; | ||
const CodeGen = require("./api"); | ||
@@ -4,0 +5,0 @@ class TransactionsApi extends CodeGen.TransactionsApi { |
{ | ||
"name": "ynab", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"description": "YNAB API Javascript (Node) Library", | ||
@@ -26,3 +26,3 @@ "author": "You Need a Budget, LLC", | ||
"scripts": { | ||
"generate": "npx jbash ./scripts/generate.js", | ||
"generate": "npx jbash ./.swagger-codegen/generate.js", | ||
"build": "tsc -b src/ test/ examples/ && tsc -p src/ --target ES5 --module ES2015 --outDir ../dist/esm && webpack --mode production && npm run build_examples", | ||
@@ -37,18 +37,18 @@ "build_examples": "tsc -b examples/", | ||
"devDependencies": { | ||
"@types/chai": "^4.1.7", | ||
"@types/fetch-mock": "^7.3.1", | ||
"@types/chai": "^4.2.12", | ||
"@types/fetch-mock": "^7.3.2", | ||
"@types/isomorphic-fetch": "0.0.35", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.6.6", | ||
"@types/mocha": "^8.0.2", | ||
"@types/node": "^14.0.27", | ||
"chai": "^4.2.0", | ||
"fetch-mock": "^7.3.6", | ||
"jbash": "^1.48.0", | ||
"mocha": "^6.1.4", | ||
"npm-github-release": "^0.9.0", | ||
"swagger-model-validator": "^3.0.11", | ||
"ts-loader": "^6.0.4", | ||
"ts-node": "^8.3.0", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.36.0", | ||
"webpack-cli": "^3.3.6" | ||
"fetch-mock": "^9.10.6", | ||
"jbash": "^1.50.0", | ||
"mocha": "^8.1.1", | ||
"npm-github-release": "^0.13.0", | ||
"swagger-model-validator": "^3.0.19", | ||
"ts-loader": "^8.0.2", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.7", | ||
"webpack": "^4.44.1", | ||
"webpack-cli": "^3.3.12" | ||
}, | ||
@@ -55,0 +55,0 @@ "engines": { |
@@ -63,3 +63,3 @@ # YNAB API JavaScript Library | ||
[obtain an access token](https://api.youneedabudget.com/#authentication-overview) from | ||
the [My Account](https://app.youneedabudget.com/settings) area of the YNAB web | ||
the [Account Settings](https://app.youneedabudget.com/settings) area of the YNAB web | ||
application. | ||
@@ -126,2 +126,3 @@ | ||
| | [categories.getCategoryById(budget_id, category_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns a single category | | ||
| | [categories.updateMonthCategory(budget_id, month, category_id, month_category)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts#L2629) | Update an existing month category | | ||
| **Payees** | [payees.getPayees(budget_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns all payees | | ||
@@ -135,3 +136,2 @@ | | [payees.getPayeeById(budget_id, payee_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns single payee | | ||
| | [months.getMonthCategory_by_id(budget_id, month, category_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns a single category for a specific budget month | | ||
| | [months.updateMonthCategory(budget_id, month, category_id, month_category)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts#L2629) | Update an existing month category | | ||
| **Transactions** | [transactions.getTransactions(budget_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns budget transactions | | ||
@@ -138,0 +138,0 @@ | | [transactions.getTransactionsByAccount(budget_id, account_id)](https://github.com/ynab/ynab-sdk-js/blob/master/dist/api.d.ts) | Returns all transactions for a specified account | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
815150
15284
88