Skip to content

Commit

Permalink
Version 1.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymholt committed May 22, 2023
1 parent 27dbc5d commit b62a43d
Show file tree
Hide file tree
Showing 7 changed files with 328 additions and 6 deletions.
116 changes: 116 additions & 0 deletions dist/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,36 @@ export interface Account {
* @memberof Account
*/
direct_import_in_error?: boolean | null;
/**
* A date/time specifying when the account was last reconciled.
* @type {string}
* @memberof Account
*/
last_reconciled_at?: string | null;
/**
* The original debt/loan account balance, specified in milliunits format.
* @type {number}
* @memberof Account
*/
debt_original_balance?: number | null;
/**
* The debt/loan account interest rate(s), by effective date.
* @type {LoanAccountPeriodicValue}
* @memberof Account
*/
debt_interest_rates?: LoanAccountPeriodicValue | null;
/**
* The minimum payment amount(s) for the debt/loan account, by effective date. The amounts are specified in milliunits format.
* @type {LoanAccountPeriodicValue}
* @memberof Account
*/
debt_minimum_payments?: LoanAccountPeriodicValue | null;
/**
* The escrow value(s) for the debt/loan account, by effective date. The amounts are specified in milliunits format.
* @type {LoanAccountPeriodicValue}
* @memberof Account
*/
debt_escrow_amounts?: LoanAccountPeriodicValue | null;
/**
* Whether or not the account has been deleted. Deleted accounts will only be included in delta requests.
* @type {boolean}
Expand Down Expand Up @@ -540,6 +570,24 @@ export interface Category {
* @memberof Category
*/
goal_type?: Category.GoalTypeEnum | null;
/**
* The day of the goal
* @type {number}
* @memberof Category
*/
goal_day?: number | null;
/**
* The goal cadence
* @type {number}
* @memberof Category
*/
goal_cadence?: number | null;
/**
* The goal cadence frequency
* @type {number}
* @memberof Category
*/
goal_cadence_frequency?: number | null;
/**
* The month a goal was created
* @type {string}
Expand Down Expand Up @@ -807,6 +855,14 @@ export interface HybridTransactionsResponseData {
*/
server_knowledge?: number | null;
}
/**
*
* @export
* @interface LoanAccountPeriodicValue
*/
export interface LoanAccountPeriodicValue {
[key: string]: number;
}
/**
*
* @export
Expand Down Expand Up @@ -1862,6 +1918,12 @@ export interface TransactionSummary {
* @memberof TransactionSummary
*/
import_payee_name_original?: string | null;
/**
* If the transaction is a debt/loan account transaction, the type of transaction
* @type {string}
* @memberof TransactionSummary
*/
debt_transaction_type?: TransactionSummary.DebtTransactionTypeEnum | null;
/**
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
* @type {boolean}
Expand Down Expand Up @@ -1895,6 +1957,20 @@ export declare namespace TransactionSummary {
Blue,
Purple
}
/**
* @export
* @enum {string}
*/
enum DebtTransactionTypeEnum {
Payment,
Refund,
Fee,
Interest,
Escrow,
BalancedAdjustment,
Credit,
Charge
}
}
/**
*
Expand Down Expand Up @@ -2241,6 +2317,12 @@ export interface HybridTransaction {
* @memberof HybridTransaction
*/
import_payee_name_original?: string | null;
/**
* If the transaction is a debt/loan account transaction, the type of transaction
* @type {string}
* @memberof HybridTransaction
*/
debt_transaction_type?: HybridTransaction.DebtTransactionTypeEnum | null;
/**
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
* @type {boolean}
Expand Down Expand Up @@ -2304,6 +2386,20 @@ export declare namespace HybridTransaction {
Blue,
Purple
}
/**
* @export
* @enum {string}
*/
enum DebtTransactionTypeEnum {
Payment,
Refund,
Fee,
Interest,
Escrow,
BalancedAdjustment,
Credit,
Charge
}
/**
* @export
* @enum {string}
Expand Down Expand Up @@ -2834,6 +2930,12 @@ export interface TransactionDetail {
* @memberof TransactionDetail
*/
import_payee_name_original?: string | null;
/**
* If the transaction is a debt/loan account transaction, the type of transaction
* @type {string}
* @memberof TransactionDetail
*/
debt_transaction_type?: TransactionDetail.DebtTransactionTypeEnum | null;
/**
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
* @type {boolean}
Expand Down Expand Up @@ -2891,6 +2993,20 @@ export declare namespace TransactionDetail {
Blue,
Purple
}
/**
* @export
* @enum {string}
*/
enum DebtTransactionTypeEnum {
Payment,
Refund,
Fee,
Interest,
Escrow,
BalancedAdjustment,
Credit,
Charge
}
}
/**
* AccountsApi - fetch parameter creator
Expand Down
47 changes: 46 additions & 1 deletion dist/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (!globalThis.fetch) {
globalThis.Headers = fetchPonyfill.Headers;
globalThis.Request = fetchPonyfill.Request;
}
const USER_AGENT = "api_client/js/1.42.0";
const USER_AGENT = "api_client/js/1.45.0";
function convertDateToFullDateStringFormat(date) {
// Convert to RFC 3339 "full-date" format, like "2017-11-27"
if (date instanceof Date) {
Expand Down Expand Up @@ -217,6 +217,21 @@ var TransactionSummary;
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
})(FlagColorEnum = TransactionSummary.FlagColorEnum || (TransactionSummary.FlagColorEnum = {}));
/**
* @export
* @enum {string}
*/
let DebtTransactionTypeEnum;
(function (DebtTransactionTypeEnum) {
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
})(DebtTransactionTypeEnum = TransactionSummary.DebtTransactionTypeEnum || (TransactionSummary.DebtTransactionTypeEnum = {}));
})(TransactionSummary = exports.TransactionSummary || (exports.TransactionSummary = {}));
/**
* @export
Expand Down Expand Up @@ -247,6 +262,21 @@ var HybridTransaction;
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
})(FlagColorEnum = HybridTransaction.FlagColorEnum || (HybridTransaction.FlagColorEnum = {}));
/**
* @export
* @enum {string}
*/
let DebtTransactionTypeEnum;
(function (DebtTransactionTypeEnum) {
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
})(DebtTransactionTypeEnum = HybridTransaction.DebtTransactionTypeEnum || (HybridTransaction.DebtTransactionTypeEnum = {}));
/**
* @export
* @enum {string}
Expand Down Expand Up @@ -386,6 +416,21 @@ var TransactionDetail;
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
})(FlagColorEnum = TransactionDetail.FlagColorEnum || (TransactionDetail.FlagColorEnum = {}));
/**
* @export
* @enum {string}
*/
let DebtTransactionTypeEnum;
(function (DebtTransactionTypeEnum) {
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
})(DebtTransactionTypeEnum = TransactionDetail.DebtTransactionTypeEnum || (TransactionDetail.DebtTransactionTypeEnum = {}));
})(TransactionDetail = exports.TransactionDetail || (exports.TransactionDetail = {}));
/**
* AccountsApi - fetch parameter creator
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/ynab.js

Large diffs are not rendered by default.

Loading

0 comments on commit b62a43d

Please sign in to comment.