ynab 2.0.0 → 2.3.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/README.md +2 -2
- package/dist/apis/AccountsApi.d.ts +1 -1
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/BudgetsApi.d.ts +1 -1
- package/dist/apis/BudgetsApi.js +1 -1
- package/dist/apis/CategoriesApi.d.ts +17 -2
- package/dist/apis/CategoriesApi.js +43 -1
- package/dist/apis/CustomTransactionsApi.d.ts +1 -1
- package/dist/apis/MonthsApi.d.ts +1 -1
- package/dist/apis/MonthsApi.js +1 -1
- package/dist/apis/PayeeLocationsApi.d.ts +1 -1
- package/dist/apis/PayeeLocationsApi.js +1 -1
- package/dist/apis/PayeesApi.d.ts +17 -2
- package/dist/apis/PayeesApi.js +43 -1
- package/dist/apis/ScheduledTransactionsApi.d.ts +1 -1
- package/dist/apis/ScheduledTransactionsApi.js +1 -1
- package/dist/apis/TransactionsApi.d.ts +13 -13
- package/dist/apis/TransactionsApi.js +9 -9
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.js +1 -1
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +5 -2
- package/dist/browser/ynab.js +1 -1
- package/dist/esm/apis/CategoriesApi.d.ts +16 -1
- package/dist/esm/apis/CategoriesApi.js +65 -1
- package/dist/esm/apis/CustomTransactionsApi.d.ts +1 -1
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -1
- package/dist/esm/models/Category.d.ts +0 -1
- package/dist/esm/models/Category.js +0 -1
- package/dist/esm/models/CategoryGoalType.d.ts +25 -0
- package/dist/esm/models/CategoryGoalType.js +29 -0
- package/dist/esm/models/HybridTransaction.d.ts +9 -30
- package/dist/esm/models/HybridTransaction.js +7 -26
- package/dist/esm/models/PatchCategoryWrapper.d.ts +32 -0
- package/dist/esm/models/PatchCategoryWrapper.js +44 -0
- package/dist/esm/models/SaveCategory.d.ts +43 -0
- package/dist/esm/models/SaveCategory.js +47 -0
- package/dist/esm/models/SaveTransaction.d.ts +8 -28
- package/dist/esm/models/SaveTransaction.js +6 -24
- package/dist/esm/models/SaveTransactionWithId.d.ts +8 -28
- package/dist/esm/models/SaveTransactionWithId.js +6 -24
- package/dist/esm/models/SaveTransactionWithOptionalFields.d.ts +8 -28
- package/dist/esm/models/SaveTransactionWithOptionalFields.js +6 -24
- package/dist/esm/models/SaveTransactionWithOptionalFieldsFlagColor.d.ts +25 -0
- package/dist/esm/models/SaveTransactionWithOptionalFieldsFlagColor.js +29 -0
- package/dist/esm/models/ScheduledTransactionDetail.d.ts +4 -16
- package/dist/esm/models/ScheduledTransactionDetail.js +3 -14
- package/dist/esm/models/ScheduledTransactionSummary.d.ts +4 -16
- package/dist/esm/models/ScheduledTransactionSummary.js +3 -14
- package/dist/esm/models/ScheduledTransactionSummaryFlagColor.d.ts +25 -0
- package/dist/esm/models/ScheduledTransactionSummaryFlagColor.js +29 -0
- package/dist/esm/models/TransactionClearedStatus.d.ts +24 -0
- package/dist/esm/models/TransactionClearedStatus.js +31 -0
- package/dist/esm/models/TransactionDetail.d.ts +9 -30
- package/dist/esm/models/TransactionDetail.js +7 -26
- package/dist/esm/models/TransactionFlagColor.d.ts +27 -0
- package/dist/esm/models/TransactionFlagColor.js +34 -0
- package/dist/esm/models/TransactionSummary.d.ts +9 -30
- package/dist/esm/models/TransactionSummary.js +7 -26
- package/dist/esm/models/TransactionSummaryDebtTransactionType.d.ts +25 -0
- package/dist/esm/models/TransactionSummaryDebtTransactionType.js +29 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/index.js +5 -1
- package/dist/models/Account.d.ts +8 -8
- package/dist/models/Account.js +51 -46
- package/dist/models/AccountResponse.d.ts +2 -2
- package/dist/models/AccountResponse.js +8 -11
- package/dist/models/AccountResponseData.d.ts +2 -2
- package/dist/models/AccountResponseData.js +8 -11
- package/dist/models/AccountType.d.ts +3 -2
- package/dist/models/AccountType.js +13 -2
- package/dist/models/AccountsResponse.d.ts +2 -2
- package/dist/models/AccountsResponse.js +8 -11
- package/dist/models/AccountsResponseData.d.ts +2 -2
- package/dist/models/AccountsResponseData.js +11 -13
- package/dist/models/BudgetDetail.d.ts +8 -8
- package/dist/models/BudgetDetail.js +45 -48
- package/dist/models/BudgetDetailResponse.d.ts +2 -2
- package/dist/models/BudgetDetailResponse.js +8 -11
- package/dist/models/BudgetDetailResponseData.d.ts +2 -2
- package/dist/models/BudgetDetailResponseData.js +11 -13
- package/dist/models/BudgetSettings.d.ts +2 -2
- package/dist/models/BudgetSettings.js +11 -13
- package/dist/models/BudgetSettingsResponse.d.ts +2 -2
- package/dist/models/BudgetSettingsResponse.js +8 -11
- package/dist/models/BudgetSettingsResponseData.d.ts +2 -2
- package/dist/models/BudgetSettingsResponseData.js +8 -11
- package/dist/models/BudgetSummary.d.ts +4 -4
- package/dist/models/BudgetSummary.js +23 -26
- package/dist/models/BudgetSummaryResponse.d.ts +2 -2
- package/dist/models/BudgetSummaryResponse.js +8 -11
- package/dist/models/BudgetSummaryResponseData.d.ts +2 -2
- package/dist/models/BudgetSummaryResponseData.js +10 -14
- package/dist/models/BulkResponse.d.ts +2 -2
- package/dist/models/BulkResponse.js +8 -11
- package/dist/models/BulkResponseData.d.ts +2 -2
- package/dist/models/BulkResponseData.js +8 -11
- package/dist/models/BulkResponseDataBulk.d.ts +2 -2
- package/dist/models/BulkResponseDataBulk.js +11 -13
- package/dist/models/BulkTransactions.d.ts +5 -5
- package/dist/models/BulkTransactions.js +10 -13
- package/dist/models/CategoriesResponse.d.ts +2 -2
- package/dist/models/CategoriesResponse.js +8 -11
- package/dist/models/CategoriesResponseData.d.ts +2 -2
- package/dist/models/CategoriesResponseData.js +11 -13
- package/dist/models/Category.d.ts +22 -17
- package/dist/models/Category.js +61 -57
- package/dist/models/CategoryGoalType.d.ts +25 -0
- package/dist/models/CategoryGoalType.js +36 -0
- package/dist/models/CategoryGroup.d.ts +2 -2
- package/dist/models/CategoryGroup.js +17 -17
- package/dist/models/CategoryGroupWithCategories.d.ts +2 -2
- package/dist/models/CategoryGroupWithCategories.js +20 -19
- package/dist/models/CategoryResponse.d.ts +2 -2
- package/dist/models/CategoryResponse.js +8 -11
- package/dist/models/CategoryResponseData.d.ts +2 -2
- package/dist/models/CategoryResponseData.js +8 -11
- package/dist/models/CurrencyFormat.d.ts +2 -2
- package/dist/models/CurrencyFormat.js +29 -25
- package/dist/models/DateFormat.d.ts +2 -2
- package/dist/models/DateFormat.js +8 -11
- package/dist/models/ErrorDetail.d.ts +2 -2
- package/dist/models/ErrorDetail.js +14 -15
- package/dist/models/ErrorResponse.d.ts +2 -2
- package/dist/models/ErrorResponse.js +8 -11
- package/dist/models/ExistingTransaction.d.ts +94 -0
- package/dist/models/ExistingTransaction.js +68 -0
- package/dist/models/HybridTransaction.d.ts +29 -44
- package/dist/models/HybridTransaction.js +67 -80
- package/dist/models/HybridTransactionAllOf.d.ts +1 -1
- package/dist/models/HybridTransactionsResponse.d.ts +2 -2
- package/dist/models/HybridTransactionsResponse.js +8 -11
- package/dist/models/HybridTransactionsResponseData.d.ts +2 -2
- package/dist/models/HybridTransactionsResponseData.js +10 -14
- package/dist/models/MonthDetail.d.ts +4 -4
- package/dist/models/MonthDetail.js +30 -28
- package/dist/models/MonthDetailResponse.d.ts +2 -2
- package/dist/models/MonthDetailResponse.js +8 -11
- package/dist/models/MonthDetailResponseData.d.ts +2 -2
- package/dist/models/MonthDetailResponseData.js +8 -11
- package/dist/models/MonthSummariesResponse.d.ts +2 -2
- package/dist/models/MonthSummariesResponse.js +8 -11
- package/dist/models/MonthSummariesResponseData.d.ts +2 -2
- package/dist/models/MonthSummariesResponseData.js +11 -13
- package/dist/models/MonthSummary.d.ts +4 -4
- package/dist/models/MonthSummary.js +27 -26
- package/dist/models/NewTransaction.d.ts +100 -0
- package/dist/models/NewTransaction.js +70 -0
- package/dist/models/PatchCategoryWrapper.d.ts +32 -0
- package/dist/models/PatchCategoryWrapper.js +48 -0
- package/dist/models/PatchMonthCategoryWrapper.d.ts +2 -2
- package/dist/models/PatchMonthCategoryWrapper.js +8 -11
- package/dist/models/PatchPayeeWrapper.d.ts +32 -0
- package/dist/models/PatchPayeeWrapper.js +48 -0
- package/dist/models/PatchTransactionsWrapper.d.ts +5 -5
- package/dist/models/PatchTransactionsWrapper.js +10 -13
- package/dist/models/Payee.d.ts +3 -3
- package/dist/models/Payee.js +16 -18
- package/dist/models/PayeeLocation.d.ts +2 -2
- package/dist/models/PayeeLocation.js +20 -19
- package/dist/models/PayeeLocationResponse.d.ts +2 -2
- package/dist/models/PayeeLocationResponse.js +8 -11
- package/dist/models/PayeeLocationResponseData.d.ts +2 -2
- package/dist/models/PayeeLocationResponseData.js +8 -11
- package/dist/models/PayeeLocationsResponse.d.ts +2 -2
- package/dist/models/PayeeLocationsResponse.js +8 -11
- package/dist/models/PayeeLocationsResponseData.d.ts +2 -2
- package/dist/models/PayeeLocationsResponseData.js +8 -11
- package/dist/models/PayeeResponse.d.ts +2 -2
- package/dist/models/PayeeResponse.js +8 -11
- package/dist/models/PayeeResponseData.d.ts +2 -2
- package/dist/models/PayeeResponseData.js +8 -11
- package/dist/models/PayeesResponse.d.ts +2 -2
- package/dist/models/PayeesResponse.js +8 -11
- package/dist/models/PayeesResponseData.d.ts +2 -2
- package/dist/models/PayeesResponseData.js +11 -13
- package/dist/models/PostAccountWrapper.d.ts +2 -2
- package/dist/models/PostAccountWrapper.js +8 -11
- package/dist/models/PostTransactionsWrapper.d.ts +7 -7
- package/dist/models/PostTransactionsWrapper.js +10 -15
- package/dist/models/PutTransactionWrapper.d.ts +5 -5
- package/dist/models/PutTransactionWrapper.js +10 -13
- package/dist/models/SaveAccount.d.ts +2 -2
- package/dist/models/SaveAccount.js +14 -15
- package/dist/models/SaveCategory.d.ts +43 -0
- package/dist/models/SaveCategory.js +49 -0
- package/dist/models/SaveCategoryResponse.d.ts +2 -2
- package/dist/models/SaveCategoryResponse.js +8 -11
- package/dist/models/SaveCategoryResponseData.d.ts +2 -2
- package/dist/models/SaveCategoryResponseData.js +11 -13
- package/dist/models/SaveMonthCategory.d.ts +2 -2
- package/dist/models/SaveMonthCategory.js +8 -11
- package/dist/models/SavePayee.d.ts +31 -0
- package/dist/models/SavePayee.js +45 -0
- package/dist/models/SavePayeeResponse.d.ts +32 -0
- package/dist/models/SavePayeeResponse.js +48 -0
- package/dist/models/SavePayeeResponseData.d.ts +38 -0
- package/dist/models/SavePayeeResponseData.js +52 -0
- package/dist/models/SaveSubTransaction.d.ts +6 -6
- package/dist/models/SaveSubTransaction.js +16 -20
- package/dist/models/SaveTransaction.d.ts +8 -28
- package/dist/models/SaveTransaction.js +7 -25
- package/dist/models/SaveTransactionWithId.d.ts +8 -28
- package/dist/models/SaveTransactionWithId.js +7 -25
- package/dist/models/SaveTransactionWithIdOrImportId.d.ts +106 -0
- package/dist/models/SaveTransactionWithIdOrImportId.js +72 -0
- package/dist/models/SaveTransactionWithOptionalFields.d.ts +14 -40
- package/dist/models/SaveTransactionWithOptionalFields.js +30 -55
- package/dist/models/SaveTransactionWithOptionalFieldsFlagColor.d.ts +25 -0
- package/dist/models/SaveTransactionWithOptionalFieldsFlagColor.js +36 -0
- package/dist/models/SaveTransactionsResponse.d.ts +2 -2
- package/dist/models/SaveTransactionsResponse.js +8 -11
- package/dist/models/SaveTransactionsResponseData.d.ts +2 -2
- package/dist/models/SaveTransactionsResponseData.js +17 -20
- package/dist/models/ScheduledSubTransaction.d.ts +6 -6
- package/dist/models/ScheduledSubTransaction.js +25 -26
- package/dist/models/ScheduledTransactionDetail.d.ts +18 -24
- package/dist/models/ScheduledTransactionDetail.js +50 -55
- package/dist/models/ScheduledTransactionResponse.d.ts +2 -2
- package/dist/models/ScheduledTransactionResponse.js +8 -11
- package/dist/models/ScheduledTransactionResponseData.d.ts +2 -2
- package/dist/models/ScheduledTransactionResponseData.js +8 -11
- package/dist/models/ScheduledTransactionSummary.d.ts +16 -22
- package/dist/models/ScheduledTransactionSummary.js +40 -47
- package/dist/models/ScheduledTransactionSummaryFlagColor.d.ts +25 -0
- package/dist/models/ScheduledTransactionSummaryFlagColor.js +36 -0
- package/dist/models/ScheduledTransactionsResponse.d.ts +2 -2
- package/dist/models/ScheduledTransactionsResponse.js +8 -11
- package/dist/models/ScheduledTransactionsResponseData.d.ts +2 -2
- package/dist/models/ScheduledTransactionsResponseData.js +11 -13
- package/dist/models/SubTransaction.d.ts +9 -9
- package/dist/models/SubTransaction.js +31 -32
- package/dist/models/TransactionClearedStatus.d.ts +25 -0
- package/dist/models/TransactionClearedStatus.js +48 -0
- package/dist/models/TransactionDetail.d.ts +28 -43
- package/dist/models/TransactionDetail.js +65 -78
- package/dist/models/TransactionFlagColor.d.ts +28 -0
- package/dist/models/TransactionFlagColor.js +51 -0
- package/dist/models/TransactionResponse.d.ts +2 -2
- package/dist/models/TransactionResponse.js +8 -11
- package/dist/models/TransactionResponseData.d.ts +2 -2
- package/dist/models/TransactionResponseData.js +8 -11
- package/dist/models/TransactionSummary.d.ts +26 -41
- package/dist/models/TransactionSummary.js +55 -70
- package/dist/models/TransactionSummaryDebtTransactionType.d.ts +25 -0
- package/dist/models/TransactionSummaryDebtTransactionType.js +36 -0
- package/dist/models/TransactionsImportResponse.d.ts +2 -2
- package/dist/models/TransactionsImportResponse.js +8 -11
- package/dist/models/TransactionsImportResponseData.d.ts +2 -2
- package/dist/models/TransactionsImportResponseData.js +8 -11
- package/dist/models/TransactionsResponse.d.ts +2 -2
- package/dist/models/TransactionsResponse.js +8 -11
- package/dist/models/TransactionsResponseData.d.ts +2 -2
- package/dist/models/TransactionsResponseData.js +11 -13
- package/dist/models/User.d.ts +2 -2
- package/dist/models/User.js +8 -11
- package/dist/models/UserResponse.d.ts +2 -2
- package/dist/models/UserResponse.js +8 -11
- package/dist/models/UserResponseData.d.ts +2 -2
- package/dist/models/UserResponseData.js +8 -11
- package/dist/models/index.d.ts +11 -9
- package/dist/models/index.js +16 -10
- package/dist/runtime.d.ts +10 -10
- package/dist/runtime.js +1 -1
- package/package.json +6 -7
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* YNAB API Endpoints
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.70.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,29 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TransactionDetailToJSON = exports.TransactionDetailFromJSONTyped = exports.TransactionDetailFromJSON = exports.instanceOfTransactionDetail = exports.TransactionDetailDebtTransactionTypeEnum =
|
|
17
|
-
const
|
|
16
|
+
exports.TransactionDetailToJSON = exports.TransactionDetailFromJSONTyped = exports.TransactionDetailFromJSON = exports.instanceOfTransactionDetail = exports.TransactionDetailDebtTransactionTypeEnum = void 0;
|
|
17
|
+
const TransactionFlagColor_1 = require("./TransactionFlagColor");
|
|
18
|
+
const TransactionClearedStatus_1 = require("./TransactionClearedStatus");
|
|
18
19
|
const SubTransaction_1 = require("./SubTransaction");
|
|
19
|
-
/**
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
|
-
exports.TransactionDetailClearedEnum = {
|
|
23
|
-
Cleared: 'cleared',
|
|
24
|
-
Uncleared: 'uncleared',
|
|
25
|
-
Reconciled: 'reconciled'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
exports.TransactionDetailFlagColorEnum = {
|
|
31
|
-
Red: 'red',
|
|
32
|
-
Orange: 'orange',
|
|
33
|
-
Yellow: 'yellow',
|
|
34
|
-
Green: 'green',
|
|
35
|
-
Blue: 'blue',
|
|
36
|
-
Purple: 'purple',
|
|
37
|
-
Null: 'null'
|
|
38
|
-
};
|
|
39
20
|
/**
|
|
40
21
|
* @export
|
|
41
22
|
*/
|
|
@@ -45,26 +26,33 @@ exports.TransactionDetailDebtTransactionTypeEnum = {
|
|
|
45
26
|
Fee: 'fee',
|
|
46
27
|
Interest: 'interest',
|
|
47
28
|
Escrow: 'escrow',
|
|
48
|
-
|
|
29
|
+
BalanceAdjustment: 'balanceAdjustment',
|
|
49
30
|
Credit: 'credit',
|
|
50
31
|
Charge: 'charge',
|
|
51
|
-
Null: 'null'
|
|
52
32
|
};
|
|
53
33
|
/**
|
|
54
34
|
* Check if a given object implements the TransactionDetail interface.
|
|
55
35
|
*/
|
|
56
36
|
function instanceOfTransactionDetail(value) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
37
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('cleared' in value) || value['cleared'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('approved' in value) || value['approved'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('account_id' in value) || value['account_id'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('account_name' in value) || value['account_name'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('subtransactions' in value) || value['subtransactions'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
68
56
|
}
|
|
69
57
|
exports.instanceOfTransactionDetail = instanceOfTransactionDetail;
|
|
70
58
|
function TransactionDetailFromJSON(json) {
|
|
@@ -72,65 +60,64 @@ function TransactionDetailFromJSON(json) {
|
|
|
72
60
|
}
|
|
73
61
|
exports.TransactionDetailFromJSON = TransactionDetailFromJSON;
|
|
74
62
|
function TransactionDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
75
|
-
if (
|
|
63
|
+
if (json == null) {
|
|
76
64
|
return json;
|
|
77
65
|
}
|
|
78
66
|
return {
|
|
79
67
|
'id': json['id'],
|
|
80
68
|
'date': json['date'],
|
|
81
69
|
'amount': json['amount'],
|
|
82
|
-
'memo':
|
|
83
|
-
'cleared': json['cleared'],
|
|
70
|
+
'memo': json['memo'] == null ? undefined : json['memo'],
|
|
71
|
+
'cleared': (0, TransactionClearedStatus_1.TransactionClearedStatusFromJSON)(json['cleared']),
|
|
84
72
|
'approved': json['approved'],
|
|
85
|
-
'flag_color':
|
|
73
|
+
'flag_color': json['flag_color'] == null ? undefined : (0, TransactionFlagColor_1.TransactionFlagColorFromJSON)(json['flag_color']),
|
|
74
|
+
'flag_name': json['flag_name'] == null ? undefined : json['flag_name'],
|
|
86
75
|
'account_id': json['account_id'],
|
|
87
|
-
'payee_id':
|
|
88
|
-
'category_id':
|
|
89
|
-
'transfer_account_id':
|
|
90
|
-
'transfer_transaction_id':
|
|
91
|
-
'matched_transaction_id':
|
|
92
|
-
'import_id':
|
|
93
|
-
'import_payee_name':
|
|
94
|
-
'import_payee_name_original':
|
|
95
|
-
'debt_transaction_type':
|
|
76
|
+
'payee_id': json['payee_id'] == null ? undefined : json['payee_id'],
|
|
77
|
+
'category_id': json['category_id'] == null ? undefined : json['category_id'],
|
|
78
|
+
'transfer_account_id': json['transfer_account_id'] == null ? undefined : json['transfer_account_id'],
|
|
79
|
+
'transfer_transaction_id': json['transfer_transaction_id'] == null ? undefined : json['transfer_transaction_id'],
|
|
80
|
+
'matched_transaction_id': json['matched_transaction_id'] == null ? undefined : json['matched_transaction_id'],
|
|
81
|
+
'import_id': json['import_id'] == null ? undefined : json['import_id'],
|
|
82
|
+
'import_payee_name': json['import_payee_name'] == null ? undefined : json['import_payee_name'],
|
|
83
|
+
'import_payee_name_original': json['import_payee_name_original'] == null ? undefined : json['import_payee_name_original'],
|
|
84
|
+
'debt_transaction_type': json['debt_transaction_type'] == null ? undefined : json['debt_transaction_type'],
|
|
96
85
|
'deleted': json['deleted'],
|
|
97
86
|
'account_name': json['account_name'],
|
|
98
|
-
'payee_name':
|
|
99
|
-
'category_name':
|
|
87
|
+
'payee_name': json['payee_name'] == null ? undefined : json['payee_name'],
|
|
88
|
+
'category_name': json['category_name'] == null ? undefined : json['category_name'],
|
|
100
89
|
'subtransactions': (json['subtransactions'].map(SubTransaction_1.SubTransactionFromJSON)),
|
|
101
90
|
};
|
|
102
91
|
}
|
|
103
92
|
exports.TransactionDetailFromJSONTyped = TransactionDetailFromJSONTyped;
|
|
104
93
|
function TransactionDetailToJSON(value) {
|
|
105
|
-
if (value
|
|
106
|
-
return
|
|
107
|
-
}
|
|
108
|
-
if (value === null) {
|
|
109
|
-
return null;
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
110
96
|
}
|
|
111
97
|
return {
|
|
112
|
-
'id': value
|
|
113
|
-
'date': value
|
|
114
|
-
'amount': value
|
|
115
|
-
'memo': value
|
|
116
|
-
'cleared': value
|
|
117
|
-
'approved': value
|
|
118
|
-
'flag_color': value
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'
|
|
122
|
-
'
|
|
123
|
-
'
|
|
124
|
-
'
|
|
125
|
-
'
|
|
126
|
-
'
|
|
127
|
-
'
|
|
128
|
-
'
|
|
129
|
-
'
|
|
130
|
-
'
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
98
|
+
'id': value['id'],
|
|
99
|
+
'date': value['date'],
|
|
100
|
+
'amount': value['amount'],
|
|
101
|
+
'memo': value['memo'],
|
|
102
|
+
'cleared': (0, TransactionClearedStatus_1.TransactionClearedStatusToJSON)(value['cleared']),
|
|
103
|
+
'approved': value['approved'],
|
|
104
|
+
'flag_color': (0, TransactionFlagColor_1.TransactionFlagColorToJSON)(value['flag_color']),
|
|
105
|
+
'flag_name': value['flag_name'],
|
|
106
|
+
'account_id': value['account_id'],
|
|
107
|
+
'payee_id': value['payee_id'],
|
|
108
|
+
'category_id': value['category_id'],
|
|
109
|
+
'transfer_account_id': value['transfer_account_id'],
|
|
110
|
+
'transfer_transaction_id': value['transfer_transaction_id'],
|
|
111
|
+
'matched_transaction_id': value['matched_transaction_id'],
|
|
112
|
+
'import_id': value['import_id'],
|
|
113
|
+
'import_payee_name': value['import_payee_name'],
|
|
114
|
+
'import_payee_name_original': value['import_payee_name_original'],
|
|
115
|
+
'debt_transaction_type': value['debt_transaction_type'],
|
|
116
|
+
'deleted': value['deleted'],
|
|
117
|
+
'account_name': value['account_name'],
|
|
118
|
+
'payee_name': value['payee_name'],
|
|
119
|
+
'category_name': value['category_name'],
|
|
120
|
+
'subtransactions': (value['subtransactions'].map(SubTransaction_1.SubTransactionToJSON)),
|
|
134
121
|
};
|
|
135
122
|
}
|
|
136
123
|
exports.TransactionDetailToJSON = TransactionDetailToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YNAB API Endpoints
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.70.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The transaction flag
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const TransactionFlagColor: {
|
|
17
|
+
readonly Red: "red";
|
|
18
|
+
readonly Orange: "orange";
|
|
19
|
+
readonly Yellow: "yellow";
|
|
20
|
+
readonly Green: "green";
|
|
21
|
+
readonly Blue: "blue";
|
|
22
|
+
readonly Purple: "purple";
|
|
23
|
+
};
|
|
24
|
+
export type TransactionFlagColor = typeof TransactionFlagColor[keyof typeof TransactionFlagColor];
|
|
25
|
+
export declare function instanceOfTransactionFlagColor(value: any): boolean;
|
|
26
|
+
export declare function TransactionFlagColorFromJSON(json: any): TransactionFlagColor;
|
|
27
|
+
export declare function TransactionFlagColorFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionFlagColor;
|
|
28
|
+
export declare function TransactionFlagColorToJSON(value?: TransactionFlagColor | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* YNAB API Endpoints
|
|
6
|
+
* 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
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.70.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TransactionFlagColorToJSON = exports.TransactionFlagColorFromJSONTyped = exports.TransactionFlagColorFromJSON = exports.instanceOfTransactionFlagColor = exports.TransactionFlagColor = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The transaction flag
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.TransactionFlagColor = {
|
|
22
|
+
Red: 'red',
|
|
23
|
+
Orange: 'orange',
|
|
24
|
+
Yellow: 'yellow',
|
|
25
|
+
Green: 'green',
|
|
26
|
+
Blue: 'blue',
|
|
27
|
+
Purple: 'purple',
|
|
28
|
+
};
|
|
29
|
+
function instanceOfTransactionFlagColor(value) {
|
|
30
|
+
for (const key in exports.TransactionFlagColor) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.TransactionFlagColor, key)) {
|
|
32
|
+
if (exports.TransactionFlagColor[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
exports.instanceOfTransactionFlagColor = instanceOfTransactionFlagColor;
|
|
40
|
+
function TransactionFlagColorFromJSON(json) {
|
|
41
|
+
return TransactionFlagColorFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
exports.TransactionFlagColorFromJSON = TransactionFlagColorFromJSON;
|
|
44
|
+
function TransactionFlagColorFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
exports.TransactionFlagColorFromJSONTyped = TransactionFlagColorFromJSONTyped;
|
|
48
|
+
function TransactionFlagColorToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
exports.TransactionFlagColorToJSON = TransactionFlagColorToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* YNAB API Endpoints
|
|
3
3
|
* 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
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.70.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ export interface TransactionResponse {
|
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the TransactionResponse interface.
|
|
28
28
|
*/
|
|
29
|
-
export declare function instanceOfTransactionResponse(value: object):
|
|
29
|
+
export declare function instanceOfTransactionResponse(value: object): value is TransactionResponse;
|
|
30
30
|
export declare function TransactionResponseFromJSON(json: any): TransactionResponse;
|
|
31
31
|
export declare function TransactionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionResponse;
|
|
32
32
|
export declare function TransactionResponseToJSON(value?: TransactionResponse | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* YNAB API Endpoints
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.70.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,9 +19,9 @@ const TransactionResponseData_1 = require("./TransactionResponseData");
|
|
|
19
19
|
* Check if a given object implements the TransactionResponse interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfTransactionResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfTransactionResponse = instanceOfTransactionResponse;
|
|
27
27
|
function TransactionResponseFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function TransactionResponseFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.TransactionResponseFromJSON = TransactionResponseFromJSON;
|
|
31
31
|
function TransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function TransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.TransactionResponseFromJSONTyped = TransactionResponseFromJSONTyped;
|
|
40
40
|
function TransactionResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'data': (0, TransactionResponseData_1.TransactionResponseDataToJSON)(value
|
|
45
|
+
'data': (0, TransactionResponseData_1.TransactionResponseDataToJSON)(value['data']),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.TransactionResponseToJSON = TransactionResponseToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* YNAB API Endpoints
|
|
3
3
|
* 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
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.70.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ export interface TransactionResponseData {
|
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the TransactionResponseData interface.
|
|
28
28
|
*/
|
|
29
|
-
export declare function instanceOfTransactionResponseData(value: object):
|
|
29
|
+
export declare function instanceOfTransactionResponseData(value: object): value is TransactionResponseData;
|
|
30
30
|
export declare function TransactionResponseDataFromJSON(json: any): TransactionResponseData;
|
|
31
31
|
export declare function TransactionResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionResponseData;
|
|
32
32
|
export declare function TransactionResponseDataToJSON(value?: TransactionResponseData | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* YNAB API Endpoints
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.70.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,9 +19,9 @@ const TransactionDetail_1 = require("./TransactionDetail");
|
|
|
19
19
|
* Check if a given object implements the TransactionResponseData interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfTransactionResponseData(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('transaction' in value) || value['transaction'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfTransactionResponseData = instanceOfTransactionResponseData;
|
|
27
27
|
function TransactionResponseDataFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function TransactionResponseDataFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.TransactionResponseDataFromJSON = TransactionResponseDataFromJSON;
|
|
31
31
|
function TransactionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function TransactionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.TransactionResponseDataFromJSONTyped = TransactionResponseDataFromJSONTyped;
|
|
40
40
|
function TransactionResponseDataToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'transaction': (0, TransactionDetail_1.TransactionDetailToJSON)(value
|
|
45
|
+
'transaction': (0, TransactionDetail_1.TransactionDetailToJSON)(value['transaction']),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.TransactionResponseDataToJSON = TransactionResponseDataToJSON;
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* YNAB API Endpoints
|
|
3
3
|
* 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
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.70.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TransactionFlagColor } from './TransactionFlagColor';
|
|
13
|
+
import type { TransactionClearedStatus } from './TransactionClearedStatus';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -38,13 +40,13 @@ export interface TransactionSummary {
|
|
|
38
40
|
* @type {string}
|
|
39
41
|
* @memberof TransactionSummary
|
|
40
42
|
*/
|
|
41
|
-
memo?: string
|
|
43
|
+
memo?: string;
|
|
42
44
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
45
|
+
*
|
|
46
|
+
* @type {TransactionClearedStatus}
|
|
45
47
|
* @memberof TransactionSummary
|
|
46
48
|
*/
|
|
47
|
-
cleared:
|
|
49
|
+
cleared: TransactionClearedStatus;
|
|
48
50
|
/**
|
|
49
51
|
* Whether or not the transaction is approved
|
|
50
52
|
* @type {boolean}
|
|
@@ -52,11 +54,17 @@ export interface TransactionSummary {
|
|
|
52
54
|
*/
|
|
53
55
|
approved: boolean;
|
|
54
56
|
/**
|
|
55
|
-
*
|
|
57
|
+
*
|
|
58
|
+
* @type {TransactionFlagColor}
|
|
59
|
+
* @memberof TransactionSummary
|
|
60
|
+
*/
|
|
61
|
+
flag_color?: TransactionFlagColor;
|
|
62
|
+
/**
|
|
63
|
+
* The customized name of a transaction flag
|
|
56
64
|
* @type {string}
|
|
57
65
|
* @memberof TransactionSummary
|
|
58
66
|
*/
|
|
59
|
-
|
|
67
|
+
flag_name?: string;
|
|
60
68
|
/**
|
|
61
69
|
*
|
|
62
70
|
* @type {string}
|
|
@@ -68,49 +76,49 @@ export interface TransactionSummary {
|
|
|
68
76
|
* @type {string}
|
|
69
77
|
* @memberof TransactionSummary
|
|
70
78
|
*/
|
|
71
|
-
payee_id?: string
|
|
79
|
+
payee_id?: string;
|
|
72
80
|
/**
|
|
73
81
|
*
|
|
74
82
|
* @type {string}
|
|
75
83
|
* @memberof TransactionSummary
|
|
76
84
|
*/
|
|
77
|
-
category_id?: string
|
|
85
|
+
category_id?: string;
|
|
78
86
|
/**
|
|
79
87
|
* If a transfer transaction, the account to which it transfers
|
|
80
88
|
* @type {string}
|
|
81
89
|
* @memberof TransactionSummary
|
|
82
90
|
*/
|
|
83
|
-
transfer_account_id?: string
|
|
91
|
+
transfer_account_id?: string;
|
|
84
92
|
/**
|
|
85
93
|
* If a transfer transaction, the id of transaction on the other side of the transfer
|
|
86
94
|
* @type {string}
|
|
87
95
|
* @memberof TransactionSummary
|
|
88
96
|
*/
|
|
89
|
-
transfer_transaction_id?: string
|
|
97
|
+
transfer_transaction_id?: string;
|
|
90
98
|
/**
|
|
91
99
|
* If transaction is matched, the id of the matched transaction
|
|
92
100
|
* @type {string}
|
|
93
101
|
* @memberof TransactionSummary
|
|
94
102
|
*/
|
|
95
|
-
matched_transaction_id?: string
|
|
103
|
+
matched_transaction_id?: string;
|
|
96
104
|
/**
|
|
97
105
|
* If the transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'.
|
|
98
106
|
* @type {string}
|
|
99
107
|
* @memberof TransactionSummary
|
|
100
108
|
*/
|
|
101
|
-
import_id?: string
|
|
109
|
+
import_id?: string;
|
|
102
110
|
/**
|
|
103
111
|
* If the transaction was imported, the payee name that was used when importing and before applying any payee rename rules
|
|
104
112
|
* @type {string}
|
|
105
113
|
* @memberof TransactionSummary
|
|
106
114
|
*/
|
|
107
|
-
import_payee_name?: string
|
|
115
|
+
import_payee_name?: string;
|
|
108
116
|
/**
|
|
109
117
|
* If the transaction was imported, the original payee name as it appeared on the statement
|
|
110
118
|
* @type {string}
|
|
111
119
|
* @memberof TransactionSummary
|
|
112
120
|
*/
|
|
113
|
-
import_payee_name_original?: string
|
|
121
|
+
import_payee_name_original?: string;
|
|
114
122
|
/**
|
|
115
123
|
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
116
124
|
* @type {string}
|
|
@@ -124,28 +132,6 @@ export interface TransactionSummary {
|
|
|
124
132
|
*/
|
|
125
133
|
deleted: boolean;
|
|
126
134
|
}
|
|
127
|
-
/**
|
|
128
|
-
* @export
|
|
129
|
-
*/
|
|
130
|
-
export declare const TransactionSummaryClearedEnum: {
|
|
131
|
-
readonly Cleared: "cleared";
|
|
132
|
-
readonly Uncleared: "uncleared";
|
|
133
|
-
readonly Reconciled: "reconciled";
|
|
134
|
-
};
|
|
135
|
-
export declare type TransactionSummaryClearedEnum = typeof TransactionSummaryClearedEnum[keyof typeof TransactionSummaryClearedEnum];
|
|
136
|
-
/**
|
|
137
|
-
* @export
|
|
138
|
-
*/
|
|
139
|
-
export declare const TransactionSummaryFlagColorEnum: {
|
|
140
|
-
readonly Red: "red";
|
|
141
|
-
readonly Orange: "orange";
|
|
142
|
-
readonly Yellow: "yellow";
|
|
143
|
-
readonly Green: "green";
|
|
144
|
-
readonly Blue: "blue";
|
|
145
|
-
readonly Purple: "purple";
|
|
146
|
-
readonly Null: "null";
|
|
147
|
-
};
|
|
148
|
-
export declare type TransactionSummaryFlagColorEnum = typeof TransactionSummaryFlagColorEnum[keyof typeof TransactionSummaryFlagColorEnum];
|
|
149
135
|
/**
|
|
150
136
|
* @export
|
|
151
137
|
*/
|
|
@@ -155,16 +141,15 @@ export declare const TransactionSummaryDebtTransactionTypeEnum: {
|
|
|
155
141
|
readonly Fee: "fee";
|
|
156
142
|
readonly Interest: "interest";
|
|
157
143
|
readonly Escrow: "escrow";
|
|
158
|
-
readonly
|
|
144
|
+
readonly BalanceAdjustment: "balanceAdjustment";
|
|
159
145
|
readonly Credit: "credit";
|
|
160
146
|
readonly Charge: "charge";
|
|
161
|
-
readonly Null: "null";
|
|
162
147
|
};
|
|
163
|
-
export
|
|
148
|
+
export type TransactionSummaryDebtTransactionTypeEnum = typeof TransactionSummaryDebtTransactionTypeEnum[keyof typeof TransactionSummaryDebtTransactionTypeEnum];
|
|
164
149
|
/**
|
|
165
150
|
* Check if a given object implements the TransactionSummary interface.
|
|
166
151
|
*/
|
|
167
|
-
export declare function instanceOfTransactionSummary(value: object):
|
|
152
|
+
export declare function instanceOfTransactionSummary(value: object): value is TransactionSummary;
|
|
168
153
|
export declare function TransactionSummaryFromJSON(json: any): TransactionSummary;
|
|
169
154
|
export declare function TransactionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionSummary;
|
|
170
155
|
export declare function TransactionSummaryToJSON(value?: TransactionSummary | null): any;
|