ynab 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api.d.ts +0 -116
- package/dist/esm/api.js +1 -46
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -135,36 +135,6 @@ export interface Account {
|
|
|
135
135
|
* @memberof Account
|
|
136
136
|
*/
|
|
137
137
|
direct_import_in_error?: boolean | null;
|
|
138
|
-
/**
|
|
139
|
-
* A date/time specifying when the account was last reconciled.
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof Account
|
|
142
|
-
*/
|
|
143
|
-
last_reconciled_at?: string | null;
|
|
144
|
-
/**
|
|
145
|
-
* The original debt/loan account balance, specified in milliunits format.
|
|
146
|
-
* @type {number}
|
|
147
|
-
* @memberof Account
|
|
148
|
-
*/
|
|
149
|
-
debt_original_balance?: number | null;
|
|
150
|
-
/**
|
|
151
|
-
* The debt/loan account interest rate(s), by effective date.
|
|
152
|
-
* @type {LoanAccountPeriodicValue}
|
|
153
|
-
* @memberof Account
|
|
154
|
-
*/
|
|
155
|
-
debt_interest_rates?: LoanAccountPeriodicValue | null;
|
|
156
|
-
/**
|
|
157
|
-
* The minimum payment amount(s) for the debt/loan account, by effective date. The amounts are specified in milliunits format.
|
|
158
|
-
* @type {LoanAccountPeriodicValue}
|
|
159
|
-
* @memberof Account
|
|
160
|
-
*/
|
|
161
|
-
debt_minimum_payments?: LoanAccountPeriodicValue | null;
|
|
162
|
-
/**
|
|
163
|
-
* The escrow value(s) for the debt/loan account, by effective date. The amounts are specified in milliunits format.
|
|
164
|
-
* @type {LoanAccountPeriodicValue}
|
|
165
|
-
* @memberof Account
|
|
166
|
-
*/
|
|
167
|
-
debt_escrow_amounts?: LoanAccountPeriodicValue | null;
|
|
168
138
|
/**
|
|
169
139
|
* Whether or not the account has been deleted. Deleted accounts will only be included in delta requests.
|
|
170
140
|
* @type {boolean}
|
|
@@ -570,24 +540,6 @@ export interface Category {
|
|
|
570
540
|
* @memberof Category
|
|
571
541
|
*/
|
|
572
542
|
goal_type?: Category.GoalTypeEnum | null;
|
|
573
|
-
/**
|
|
574
|
-
* The day of the goal
|
|
575
|
-
* @type {number}
|
|
576
|
-
* @memberof Category
|
|
577
|
-
*/
|
|
578
|
-
goal_day?: number | null;
|
|
579
|
-
/**
|
|
580
|
-
* The goal cadence
|
|
581
|
-
* @type {number}
|
|
582
|
-
* @memberof Category
|
|
583
|
-
*/
|
|
584
|
-
goal_cadence?: number | null;
|
|
585
|
-
/**
|
|
586
|
-
* The goal cadence frequency
|
|
587
|
-
* @type {number}
|
|
588
|
-
* @memberof Category
|
|
589
|
-
*/
|
|
590
|
-
goal_cadence_frequency?: number | null;
|
|
591
543
|
/**
|
|
592
544
|
* The month a goal was created
|
|
593
545
|
* @type {string}
|
|
@@ -855,14 +807,6 @@ export interface HybridTransactionsResponseData {
|
|
|
855
807
|
*/
|
|
856
808
|
server_knowledge?: number | null;
|
|
857
809
|
}
|
|
858
|
-
/**
|
|
859
|
-
*
|
|
860
|
-
* @export
|
|
861
|
-
* @interface LoanAccountPeriodicValue
|
|
862
|
-
*/
|
|
863
|
-
export interface LoanAccountPeriodicValue {
|
|
864
|
-
[key: string]: number;
|
|
865
|
-
}
|
|
866
810
|
/**
|
|
867
811
|
*
|
|
868
812
|
* @export
|
|
@@ -1918,12 +1862,6 @@ export interface TransactionSummary {
|
|
|
1918
1862
|
* @memberof TransactionSummary
|
|
1919
1863
|
*/
|
|
1920
1864
|
import_payee_name_original?: string | null;
|
|
1921
|
-
/**
|
|
1922
|
-
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
1923
|
-
* @type {string}
|
|
1924
|
-
* @memberof TransactionSummary
|
|
1925
|
-
*/
|
|
1926
|
-
debt_transaction_type?: TransactionSummary.DebtTransactionTypeEnum | null;
|
|
1927
1865
|
/**
|
|
1928
1866
|
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
|
|
1929
1867
|
* @type {boolean}
|
|
@@ -1957,20 +1895,6 @@ export declare namespace TransactionSummary {
|
|
|
1957
1895
|
Blue,
|
|
1958
1896
|
Purple
|
|
1959
1897
|
}
|
|
1960
|
-
/**
|
|
1961
|
-
* @export
|
|
1962
|
-
* @enum {string}
|
|
1963
|
-
*/
|
|
1964
|
-
enum DebtTransactionTypeEnum {
|
|
1965
|
-
Payment,
|
|
1966
|
-
Refund,
|
|
1967
|
-
Fee,
|
|
1968
|
-
Interest,
|
|
1969
|
-
Escrow,
|
|
1970
|
-
BalancedAdjustment,
|
|
1971
|
-
Credit,
|
|
1972
|
-
Charge
|
|
1973
|
-
}
|
|
1974
1898
|
}
|
|
1975
1899
|
/**
|
|
1976
1900
|
*
|
|
@@ -2317,12 +2241,6 @@ export interface HybridTransaction {
|
|
|
2317
2241
|
* @memberof HybridTransaction
|
|
2318
2242
|
*/
|
|
2319
2243
|
import_payee_name_original?: string | null;
|
|
2320
|
-
/**
|
|
2321
|
-
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
2322
|
-
* @type {string}
|
|
2323
|
-
* @memberof HybridTransaction
|
|
2324
|
-
*/
|
|
2325
|
-
debt_transaction_type?: HybridTransaction.DebtTransactionTypeEnum | null;
|
|
2326
2244
|
/**
|
|
2327
2245
|
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
|
|
2328
2246
|
* @type {boolean}
|
|
@@ -2386,20 +2304,6 @@ export declare namespace HybridTransaction {
|
|
|
2386
2304
|
Blue,
|
|
2387
2305
|
Purple
|
|
2388
2306
|
}
|
|
2389
|
-
/**
|
|
2390
|
-
* @export
|
|
2391
|
-
* @enum {string}
|
|
2392
|
-
*/
|
|
2393
|
-
enum DebtTransactionTypeEnum {
|
|
2394
|
-
Payment,
|
|
2395
|
-
Refund,
|
|
2396
|
-
Fee,
|
|
2397
|
-
Interest,
|
|
2398
|
-
Escrow,
|
|
2399
|
-
BalancedAdjustment,
|
|
2400
|
-
Credit,
|
|
2401
|
-
Charge
|
|
2402
|
-
}
|
|
2403
2307
|
/**
|
|
2404
2308
|
* @export
|
|
2405
2309
|
* @enum {string}
|
|
@@ -2930,12 +2834,6 @@ export interface TransactionDetail {
|
|
|
2930
2834
|
* @memberof TransactionDetail
|
|
2931
2835
|
*/
|
|
2932
2836
|
import_payee_name_original?: string | null;
|
|
2933
|
-
/**
|
|
2934
|
-
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
2935
|
-
* @type {string}
|
|
2936
|
-
* @memberof TransactionDetail
|
|
2937
|
-
*/
|
|
2938
|
-
debt_transaction_type?: TransactionDetail.DebtTransactionTypeEnum | null;
|
|
2939
2837
|
/**
|
|
2940
2838
|
* Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.
|
|
2941
2839
|
* @type {boolean}
|
|
@@ -2993,20 +2891,6 @@ export declare namespace TransactionDetail {
|
|
|
2993
2891
|
Blue,
|
|
2994
2892
|
Purple
|
|
2995
2893
|
}
|
|
2996
|
-
/**
|
|
2997
|
-
* @export
|
|
2998
|
-
* @enum {string}
|
|
2999
|
-
*/
|
|
3000
|
-
enum DebtTransactionTypeEnum {
|
|
3001
|
-
Payment,
|
|
3002
|
-
Refund,
|
|
3003
|
-
Fee,
|
|
3004
|
-
Interest,
|
|
3005
|
-
Escrow,
|
|
3006
|
-
BalancedAdjustment,
|
|
3007
|
-
Credit,
|
|
3008
|
-
Charge
|
|
3009
|
-
}
|
|
3010
2894
|
}
|
|
3011
2895
|
/**
|
|
3012
2896
|
* AccountsApi - fetch parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -69,7 +69,7 @@ if (!globalThis.fetch) {
|
|
|
69
69
|
globalThis.Headers = fetchPonyfill.Headers;
|
|
70
70
|
globalThis.Request = fetchPonyfill.Request;
|
|
71
71
|
}
|
|
72
|
-
var USER_AGENT = "api_client/js/1.
|
|
72
|
+
var USER_AGENT = "api_client/js/1.42.0";
|
|
73
73
|
function convertDateToFullDateStringFormat(date) {
|
|
74
74
|
// Convert to RFC 3339 "full-date" format, like "2017-11-27"
|
|
75
75
|
if (date instanceof Date) {
|
|
@@ -259,21 +259,6 @@ export var TransactionSummary;
|
|
|
259
259
|
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
|
|
260
260
|
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
|
|
261
261
|
})(FlagColorEnum = TransactionSummary.FlagColorEnum || (TransactionSummary.FlagColorEnum = {}));
|
|
262
|
-
/**
|
|
263
|
-
* @export
|
|
264
|
-
* @enum {string}
|
|
265
|
-
*/
|
|
266
|
-
var DebtTransactionTypeEnum;
|
|
267
|
-
(function (DebtTransactionTypeEnum) {
|
|
268
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
|
|
269
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
|
|
270
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
|
|
271
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
|
|
272
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
|
|
273
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
|
|
274
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
|
|
275
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
|
|
276
|
-
})(DebtTransactionTypeEnum = TransactionSummary.DebtTransactionTypeEnum || (TransactionSummary.DebtTransactionTypeEnum = {}));
|
|
277
262
|
})(TransactionSummary || (TransactionSummary = {}));
|
|
278
263
|
/**
|
|
279
264
|
* @export
|
|
@@ -304,21 +289,6 @@ export var HybridTransaction;
|
|
|
304
289
|
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
|
|
305
290
|
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
|
|
306
291
|
})(FlagColorEnum = HybridTransaction.FlagColorEnum || (HybridTransaction.FlagColorEnum = {}));
|
|
307
|
-
/**
|
|
308
|
-
* @export
|
|
309
|
-
* @enum {string}
|
|
310
|
-
*/
|
|
311
|
-
var DebtTransactionTypeEnum;
|
|
312
|
-
(function (DebtTransactionTypeEnum) {
|
|
313
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
|
|
314
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
|
|
315
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
|
|
316
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
|
|
317
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
|
|
318
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
|
|
319
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
|
|
320
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
|
|
321
|
-
})(DebtTransactionTypeEnum = HybridTransaction.DebtTransactionTypeEnum || (HybridTransaction.DebtTransactionTypeEnum = {}));
|
|
322
292
|
/**
|
|
323
293
|
* @export
|
|
324
294
|
* @enum {string}
|
|
@@ -458,21 +428,6 @@ export var TransactionDetail;
|
|
|
458
428
|
FlagColorEnum[FlagColorEnum["Blue"] = 'blue'] = "Blue";
|
|
459
429
|
FlagColorEnum[FlagColorEnum["Purple"] = 'purple'] = "Purple";
|
|
460
430
|
})(FlagColorEnum = TransactionDetail.FlagColorEnum || (TransactionDetail.FlagColorEnum = {}));
|
|
461
|
-
/**
|
|
462
|
-
* @export
|
|
463
|
-
* @enum {string}
|
|
464
|
-
*/
|
|
465
|
-
var DebtTransactionTypeEnum;
|
|
466
|
-
(function (DebtTransactionTypeEnum) {
|
|
467
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Payment"] = 'payment'] = "Payment";
|
|
468
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Refund"] = 'refund'] = "Refund";
|
|
469
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Fee"] = 'fee'] = "Fee";
|
|
470
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Interest"] = 'interest'] = "Interest";
|
|
471
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Escrow"] = 'escrow'] = "Escrow";
|
|
472
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["BalancedAdjustment"] = 'balancedAdjustment'] = "BalancedAdjustment";
|
|
473
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Credit"] = 'credit'] = "Credit";
|
|
474
|
-
DebtTransactionTypeEnum[DebtTransactionTypeEnum["Charge"] = 'charge'] = "Charge";
|
|
475
|
-
})(DebtTransactionTypeEnum = TransactionDetail.DebtTransactionTypeEnum || (TransactionDetail.DebtTransactionTypeEnum = {}));
|
|
476
431
|
})(TransactionDetail || (TransactionDetail = {}));
|
|
477
432
|
/**
|
|
478
433
|
* AccountsApi - fetch parameter creator
|