ynab 2.2.0 → 2.4.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 -0
- package/dist/apis/AccountsApi.d.ts +1 -6
- package/dist/apis/AccountsApi.js +1 -6
- package/dist/apis/BudgetsApi.d.ts +1 -6
- package/dist/apis/BudgetsApi.js +1 -6
- package/dist/apis/CategoriesApi.d.ts +1 -6
- package/dist/apis/CategoriesApi.js +1 -6
- package/dist/apis/MonthsApi.d.ts +1 -6
- package/dist/apis/MonthsApi.js +1 -6
- package/dist/apis/PayeeLocationsApi.d.ts +1 -6
- package/dist/apis/PayeeLocationsApi.js +1 -6
- package/dist/apis/PayeesApi.d.ts +17 -7
- package/dist/apis/PayeesApi.js +43 -6
- package/dist/apis/ScheduledTransactionsApi.d.ts +16 -7
- package/dist/apis/ScheduledTransactionsApi.js +40 -6
- package/dist/apis/TransactionsApi.d.ts +36 -16
- package/dist/apis/TransactionsApi.js +65 -17
- package/dist/apis/UserApi.d.ts +1 -6
- package/dist/apis/UserApi.js +1 -6
- package/dist/browser/ynab.js +1 -1
- package/dist/models/Account.d.ts +2 -7
- package/dist/models/Account.js +51 -51
- package/dist/models/AccountResponse.d.ts +2 -7
- package/dist/models/AccountResponse.js +8 -16
- package/dist/models/AccountResponseData.d.ts +2 -7
- package/dist/models/AccountResponseData.js +8 -16
- package/dist/models/AccountType.d.ts +2 -6
- package/dist/models/AccountType.js +13 -7
- package/dist/models/AccountsResponse.d.ts +2 -7
- package/dist/models/AccountsResponse.js +8 -16
- package/dist/models/AccountsResponseData.d.ts +2 -7
- package/dist/models/AccountsResponseData.js +11 -18
- package/dist/models/BudgetDetail.d.ts +6 -11
- package/dist/models/BudgetDetail.js +45 -53
- package/dist/models/BudgetDetailResponse.d.ts +2 -7
- package/dist/models/BudgetDetailResponse.js +8 -16
- package/dist/models/BudgetDetailResponseData.d.ts +2 -7
- package/dist/models/BudgetDetailResponseData.js +11 -18
- package/dist/models/BudgetSettings.d.ts +2 -7
- package/dist/models/BudgetSettings.js +11 -18
- package/dist/models/BudgetSettingsResponse.d.ts +2 -7
- package/dist/models/BudgetSettingsResponse.js +8 -16
- package/dist/models/BudgetSettingsResponseData.d.ts +2 -7
- package/dist/models/BudgetSettingsResponseData.js +8 -16
- package/dist/models/BudgetSummary.d.ts +2 -7
- package/dist/models/BudgetSummary.js +23 -31
- package/dist/models/BudgetSummaryResponse.d.ts +2 -7
- package/dist/models/BudgetSummaryResponse.js +8 -16
- package/dist/models/BudgetSummaryResponseData.d.ts +2 -7
- package/dist/models/BudgetSummaryResponseData.js +10 -19
- package/dist/models/BulkResponse.d.ts +2 -7
- package/dist/models/BulkResponse.js +8 -16
- package/dist/models/BulkResponseData.d.ts +2 -7
- package/dist/models/BulkResponseData.js +8 -16
- package/dist/models/BulkResponseDataBulk.d.ts +2 -7
- package/dist/models/BulkResponseDataBulk.js +11 -18
- package/dist/models/BulkTransactions.d.ts +5 -10
- package/dist/models/BulkTransactions.js +10 -18
- package/dist/models/CategoriesResponse.d.ts +2 -7
- package/dist/models/CategoriesResponse.js +8 -16
- package/dist/models/CategoriesResponseData.d.ts +2 -7
- package/dist/models/CategoriesResponseData.js +11 -18
- package/dist/models/Category.d.ts +9 -8
- package/dist/models/Category.js +61 -61
- package/dist/models/CategoryGroup.d.ts +2 -7
- package/dist/models/CategoryGroup.js +17 -22
- package/dist/models/CategoryGroupWithCategories.d.ts +2 -7
- package/dist/models/CategoryGroupWithCategories.js +20 -24
- package/dist/models/CategoryResponse.d.ts +2 -7
- package/dist/models/CategoryResponse.js +8 -16
- package/dist/models/CategoryResponseData.d.ts +2 -7
- package/dist/models/CategoryResponseData.js +8 -16
- package/dist/models/CurrencyFormat.d.ts +2 -7
- package/dist/models/CurrencyFormat.js +29 -30
- package/dist/models/DateFormat.d.ts +2 -7
- package/dist/models/DateFormat.js +8 -16
- package/dist/models/ErrorDetail.d.ts +2 -7
- package/dist/models/ErrorDetail.js +14 -20
- package/dist/models/ErrorResponse.d.ts +2 -7
- package/dist/models/ErrorResponse.js +8 -16
- package/dist/models/ExistingTransaction.d.ts +89 -0
- package/dist/models/ExistingTransaction.js +63 -0
- package/dist/models/HybridTransaction.d.ts +10 -9
- package/dist/models/HybridTransaction.js +63 -62
- package/dist/models/HybridTransactionsResponse.d.ts +2 -7
- package/dist/models/HybridTransactionsResponse.js +8 -16
- package/dist/models/HybridTransactionsResponseData.d.ts +2 -7
- package/dist/models/HybridTransactionsResponseData.js +10 -19
- package/dist/models/MonthDetail.d.ts +2 -7
- package/dist/models/MonthDetail.js +30 -33
- package/dist/models/MonthDetailResponse.d.ts +2 -7
- package/dist/models/MonthDetailResponse.js +8 -16
- package/dist/models/MonthDetailResponseData.d.ts +2 -7
- package/dist/models/MonthDetailResponseData.js +8 -16
- package/dist/models/MonthSummariesResponse.d.ts +2 -7
- package/dist/models/MonthSummariesResponse.js +8 -16
- package/dist/models/MonthSummariesResponseData.d.ts +2 -7
- package/dist/models/MonthSummariesResponseData.js +11 -18
- package/dist/models/MonthSummary.d.ts +2 -7
- package/dist/models/MonthSummary.js +27 -31
- package/dist/models/NewTransaction.d.ts +95 -0
- package/dist/models/NewTransaction.js +65 -0
- package/dist/models/PatchCategoryWrapper.d.ts +2 -7
- package/dist/models/PatchCategoryWrapper.js +8 -16
- package/dist/models/PatchMonthCategoryWrapper.d.ts +2 -7
- package/dist/models/PatchMonthCategoryWrapper.js +8 -16
- package/dist/models/PatchPayeeWrapper.d.ts +27 -0
- package/dist/models/PatchPayeeWrapper.js +43 -0
- package/dist/models/PatchTransactionsWrapper.d.ts +5 -10
- package/dist/models/PatchTransactionsWrapper.js +10 -18
- package/dist/models/Payee.d.ts +2 -7
- package/dist/models/Payee.js +16 -23
- package/dist/models/PayeeLocation.d.ts +2 -7
- package/dist/models/PayeeLocation.js +20 -24
- package/dist/models/PayeeLocationResponse.d.ts +2 -7
- package/dist/models/PayeeLocationResponse.js +8 -16
- package/dist/models/PayeeLocationResponseData.d.ts +2 -7
- package/dist/models/PayeeLocationResponseData.js +8 -16
- package/dist/models/PayeeLocationsResponse.d.ts +2 -7
- package/dist/models/PayeeLocationsResponse.js +8 -16
- package/dist/models/PayeeLocationsResponseData.d.ts +2 -7
- package/dist/models/PayeeLocationsResponseData.js +8 -16
- package/dist/models/PayeeResponse.d.ts +2 -7
- package/dist/models/PayeeResponse.js +8 -16
- package/dist/models/PayeeResponseData.d.ts +2 -7
- package/dist/models/PayeeResponseData.js +8 -16
- package/dist/models/PayeesResponse.d.ts +2 -7
- package/dist/models/PayeesResponse.js +8 -16
- package/dist/models/PayeesResponseData.d.ts +2 -7
- package/dist/models/PayeesResponseData.js +11 -18
- package/dist/models/PostAccountWrapper.d.ts +2 -7
- package/dist/models/PostAccountWrapper.js +8 -16
- package/dist/models/PostScheduledTransactionWrapper.d.ts +27 -0
- package/dist/models/PostScheduledTransactionWrapper.js +43 -0
- package/dist/models/PostTransactionsWrapper.d.ts +7 -12
- package/dist/models/PostTransactionsWrapper.js +10 -20
- package/dist/models/PutTransactionWrapper.d.ts +5 -10
- package/dist/models/PutTransactionWrapper.js +10 -18
- package/dist/models/SaveAccount.d.ts +2 -7
- package/dist/models/SaveAccount.js +14 -20
- package/dist/models/SaveCategory.d.ts +2 -7
- package/dist/models/SaveCategory.js +11 -21
- package/dist/models/SaveCategoryResponse.d.ts +2 -7
- package/dist/models/SaveCategoryResponse.js +8 -16
- package/dist/models/SaveCategoryResponseData.d.ts +2 -7
- package/dist/models/SaveCategoryResponseData.js +11 -18
- package/dist/models/SaveMonthCategory.d.ts +2 -7
- package/dist/models/SaveMonthCategory.js +8 -16
- package/dist/models/SavePayee.d.ts +26 -0
- package/dist/models/SavePayee.js +40 -0
- package/dist/models/SavePayeeResponse.d.ts +27 -0
- package/dist/models/SavePayeeResponse.js +43 -0
- package/dist/models/SavePayeeResponseData.d.ts +33 -0
- package/dist/models/SavePayeeResponseData.js +47 -0
- package/dist/models/SaveScheduledTransaction.d.ts +76 -0
- package/dist/models/SaveScheduledTransaction.js +62 -0
- package/dist/models/SaveSubTransaction.d.ts +2 -7
- package/dist/models/SaveSubTransaction.js +16 -25
- package/dist/models/SaveTransactionWithIdOrImportId.d.ts +101 -0
- package/dist/models/SaveTransactionWithIdOrImportId.js +67 -0
- package/dist/models/SaveTransactionWithOptionalFields.d.ts +5 -16
- package/dist/models/SaveTransactionWithOptionalFields.js +29 -41
- package/dist/models/SaveTransactionsResponse.d.ts +2 -7
- package/dist/models/SaveTransactionsResponse.js +8 -16
- package/dist/models/SaveTransactionsResponseData.d.ts +2 -7
- package/dist/models/SaveTransactionsResponseData.js +17 -25
- package/dist/models/ScheduledSubTransaction.d.ts +2 -7
- package/dist/models/ScheduledSubTransaction.js +25 -31
- package/dist/models/ScheduledTransactionDetail.d.ts +9 -8
- package/dist/models/ScheduledTransactionDetail.js +49 -48
- package/dist/models/ScheduledTransactionFrequency.d.ts +30 -0
- package/dist/models/ScheduledTransactionFrequency.js +53 -0
- package/dist/models/ScheduledTransactionResponse.d.ts +2 -7
- package/dist/models/ScheduledTransactionResponse.js +8 -16
- package/dist/models/ScheduledTransactionResponseData.d.ts +2 -7
- package/dist/models/ScheduledTransactionResponseData.js +8 -16
- package/dist/models/ScheduledTransactionSummary.d.ts +8 -7
- package/dist/models/ScheduledTransactionSummary.js +38 -39
- package/dist/models/ScheduledTransactionsResponse.d.ts +2 -7
- package/dist/models/ScheduledTransactionsResponse.js +8 -16
- package/dist/models/ScheduledTransactionsResponseData.d.ts +2 -7
- package/dist/models/ScheduledTransactionsResponseData.js +11 -18
- package/dist/models/SubTransaction.d.ts +2 -7
- package/dist/models/SubTransaction.js +31 -37
- package/dist/models/TransactionClearedStatus.d.ts +2 -6
- package/dist/models/TransactionClearedStatus.js +13 -7
- package/dist/models/TransactionDetail.d.ts +11 -10
- package/dist/models/TransactionDetail.js +62 -61
- package/dist/models/TransactionFlagColor.d.ts +2 -6
- package/dist/models/TransactionFlagColor.js +13 -7
- package/dist/models/TransactionResponse.d.ts +2 -7
- package/dist/models/TransactionResponse.js +8 -16
- package/dist/models/TransactionResponseData.d.ts +2 -7
- package/dist/models/TransactionResponseData.js +8 -16
- package/dist/models/TransactionSummary.d.ts +10 -9
- package/dist/models/TransactionSummary.js +51 -52
- package/dist/models/TransactionsImportResponse.d.ts +2 -7
- package/dist/models/TransactionsImportResponse.js +8 -16
- package/dist/models/TransactionsImportResponseData.d.ts +2 -7
- package/dist/models/TransactionsImportResponseData.js +8 -16
- package/dist/models/TransactionsResponse.d.ts +2 -7
- package/dist/models/TransactionsResponse.js +8 -16
- package/dist/models/TransactionsResponseData.d.ts +2 -7
- package/dist/models/TransactionsResponseData.js +11 -18
- package/dist/models/User.d.ts +2 -7
- package/dist/models/User.js +8 -16
- package/dist/models/UserResponse.d.ts +2 -7
- package/dist/models/UserResponse.js +8 -16
- package/dist/models/UserResponseData.d.ts +2 -7
- package/dist/models/UserResponseData.js +8 -16
- package/dist/models/index.d.ts +10 -9
- package/dist/models/index.js +10 -9
- package/dist/runtime.d.ts +1 -6
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
package/dist/models/Account.d.ts
CHANGED
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
import type { AccountType } from './AccountType';
|
|
13
8
|
/**
|
|
@@ -134,7 +129,7 @@ export interface Account {
|
|
|
134
129
|
/**
|
|
135
130
|
* Check if a given object implements the Account interface.
|
|
136
131
|
*/
|
|
137
|
-
export declare function instanceOfAccount(value: object):
|
|
132
|
+
export declare function instanceOfAccount(value: object): value is Account;
|
|
138
133
|
export declare function AccountFromJSON(json: any): Account;
|
|
139
134
|
export declare function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): Account;
|
|
140
135
|
export declare function AccountToJSON(value?: Account | null): any;
|
package/dist/models/Account.js
CHANGED
|
@@ -5,33 +5,36 @@
|
|
|
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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.AccountToJSON = exports.AccountFromJSONTyped = exports.AccountFromJSON = exports.instanceOfAccount = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
12
|
const AccountType_1 = require("./AccountType");
|
|
19
13
|
/**
|
|
20
14
|
* Check if a given object implements the Account interface.
|
|
21
15
|
*/
|
|
22
16
|
function instanceOfAccount(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
18
|
+
return false;
|
|
19
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('on_budget' in value) || value['on_budget'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('closed' in value) || value['closed'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('balance' in value) || value['balance'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cleared_balance' in value) || value['cleared_balance'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('uncleared_balance' in value) || value['uncleared_balance'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('transfer_payee_id' in value) || value['transfer_payee_id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
35
38
|
}
|
|
36
39
|
exports.instanceOfAccount = instanceOfAccount;
|
|
37
40
|
function AccountFromJSON(json) {
|
|
@@ -39,7 +42,7 @@ function AccountFromJSON(json) {
|
|
|
39
42
|
}
|
|
40
43
|
exports.AccountFromJSON = AccountFromJSON;
|
|
41
44
|
function AccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (
|
|
45
|
+
if (json == null) {
|
|
43
46
|
return json;
|
|
44
47
|
}
|
|
45
48
|
return {
|
|
@@ -48,48 +51,45 @@ function AccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
51
|
'type': (0, AccountType_1.AccountTypeFromJSON)(json['type']),
|
|
49
52
|
'on_budget': json['on_budget'],
|
|
50
53
|
'closed': json['closed'],
|
|
51
|
-
'note':
|
|
54
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
52
55
|
'balance': json['balance'],
|
|
53
56
|
'cleared_balance': json['cleared_balance'],
|
|
54
57
|
'uncleared_balance': json['uncleared_balance'],
|
|
55
58
|
'transfer_payee_id': json['transfer_payee_id'],
|
|
56
|
-
'direct_import_linked':
|
|
57
|
-
'direct_import_in_error':
|
|
58
|
-
'last_reconciled_at':
|
|
59
|
-
'debt_original_balance':
|
|
60
|
-
'debt_interest_rates':
|
|
61
|
-
'debt_minimum_payments':
|
|
62
|
-
'debt_escrow_amounts':
|
|
59
|
+
'direct_import_linked': json['direct_import_linked'] == null ? undefined : json['direct_import_linked'],
|
|
60
|
+
'direct_import_in_error': json['direct_import_in_error'] == null ? undefined : json['direct_import_in_error'],
|
|
61
|
+
'last_reconciled_at': json['last_reconciled_at'] == null ? undefined : json['last_reconciled_at'],
|
|
62
|
+
'debt_original_balance': json['debt_original_balance'] == null ? undefined : json['debt_original_balance'],
|
|
63
|
+
'debt_interest_rates': json['debt_interest_rates'] == null ? undefined : json['debt_interest_rates'],
|
|
64
|
+
'debt_minimum_payments': json['debt_minimum_payments'] == null ? undefined : json['debt_minimum_payments'],
|
|
65
|
+
'debt_escrow_amounts': json['debt_escrow_amounts'] == null ? undefined : json['debt_escrow_amounts'],
|
|
63
66
|
'deleted': json['deleted'],
|
|
64
67
|
};
|
|
65
68
|
}
|
|
66
69
|
exports.AccountFromJSONTyped = AccountFromJSONTyped;
|
|
67
70
|
function AccountToJSON(value) {
|
|
68
|
-
if (value
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
73
|
}
|
|
74
74
|
return {
|
|
75
|
-
'id': value
|
|
76
|
-
'name': value
|
|
77
|
-
'type': (0, AccountType_1.AccountTypeToJSON)(value
|
|
78
|
-
'on_budget': value
|
|
79
|
-
'closed': value
|
|
80
|
-
'note': value
|
|
81
|
-
'balance': value
|
|
82
|
-
'cleared_balance': value
|
|
83
|
-
'uncleared_balance': value
|
|
84
|
-
'transfer_payee_id': value
|
|
85
|
-
'direct_import_linked': value
|
|
86
|
-
'direct_import_in_error': value
|
|
87
|
-
'last_reconciled_at': value
|
|
88
|
-
'debt_original_balance': value
|
|
89
|
-
'debt_interest_rates': value
|
|
90
|
-
'debt_minimum_payments': value
|
|
91
|
-
'debt_escrow_amounts': value
|
|
92
|
-
'deleted': value
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'type': (0, AccountType_1.AccountTypeToJSON)(value['type']),
|
|
78
|
+
'on_budget': value['on_budget'],
|
|
79
|
+
'closed': value['closed'],
|
|
80
|
+
'note': value['note'],
|
|
81
|
+
'balance': value['balance'],
|
|
82
|
+
'cleared_balance': value['cleared_balance'],
|
|
83
|
+
'uncleared_balance': value['uncleared_balance'],
|
|
84
|
+
'transfer_payee_id': value['transfer_payee_id'],
|
|
85
|
+
'direct_import_linked': value['direct_import_linked'],
|
|
86
|
+
'direct_import_in_error': value['direct_import_in_error'],
|
|
87
|
+
'last_reconciled_at': value['last_reconciled_at'],
|
|
88
|
+
'debt_original_balance': value['debt_original_balance'],
|
|
89
|
+
'debt_interest_rates': value['debt_interest_rates'],
|
|
90
|
+
'debt_minimum_payments': value['debt_minimum_payments'],
|
|
91
|
+
'debt_escrow_amounts': value['debt_escrow_amounts'],
|
|
92
|
+
'deleted': value['deleted'],
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
exports.AccountToJSON = AccountToJSON;
|
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
import type { AccountResponseData } from './AccountResponseData';
|
|
13
8
|
/**
|
|
@@ -26,7 +21,7 @@ export interface AccountResponse {
|
|
|
26
21
|
/**
|
|
27
22
|
* Check if a given object implements the AccountResponse interface.
|
|
28
23
|
*/
|
|
29
|
-
export declare function instanceOfAccountResponse(value: object):
|
|
24
|
+
export declare function instanceOfAccountResponse(value: object): value is AccountResponse;
|
|
30
25
|
export declare function AccountResponseFromJSON(json: any): AccountResponse;
|
|
31
26
|
export declare function AccountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountResponse;
|
|
32
27
|
export declare function AccountResponseToJSON(value?: AccountResponse | null): any;
|
|
@@ -5,12 +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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.AccountResponseToJSON = exports.AccountResponseFromJSONTyped = exports.AccountResponseFromJSON = exports.instanceOfAccountResponse = void 0;
|
|
@@ -19,9 +14,9 @@ const AccountResponseData_1 = require("./AccountResponseData");
|
|
|
19
14
|
* Check if a given object implements the AccountResponse interface.
|
|
20
15
|
*/
|
|
21
16
|
function instanceOfAccountResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
17
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
18
|
+
return false;
|
|
19
|
+
return true;
|
|
25
20
|
}
|
|
26
21
|
exports.instanceOfAccountResponse = instanceOfAccountResponse;
|
|
27
22
|
function AccountResponseFromJSON(json) {
|
|
@@ -29,7 +24,7 @@ function AccountResponseFromJSON(json) {
|
|
|
29
24
|
}
|
|
30
25
|
exports.AccountResponseFromJSON = AccountResponseFromJSON;
|
|
31
26
|
function AccountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
27
|
+
if (json == null) {
|
|
33
28
|
return json;
|
|
34
29
|
}
|
|
35
30
|
return {
|
|
@@ -38,14 +33,11 @@ function AccountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
33
|
}
|
|
39
34
|
exports.AccountResponseFromJSONTyped = AccountResponseFromJSONTyped;
|
|
40
35
|
function AccountResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
46
38
|
}
|
|
47
39
|
return {
|
|
48
|
-
'data': (0, AccountResponseData_1.AccountResponseDataToJSON)(value
|
|
40
|
+
'data': (0, AccountResponseData_1.AccountResponseDataToJSON)(value['data']),
|
|
49
41
|
};
|
|
50
42
|
}
|
|
51
43
|
exports.AccountResponseToJSON = AccountResponseToJSON;
|
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
import type { Account } from './Account';
|
|
13
8
|
/**
|
|
@@ -26,7 +21,7 @@ export interface AccountResponseData {
|
|
|
26
21
|
/**
|
|
27
22
|
* Check if a given object implements the AccountResponseData interface.
|
|
28
23
|
*/
|
|
29
|
-
export declare function instanceOfAccountResponseData(value: object):
|
|
24
|
+
export declare function instanceOfAccountResponseData(value: object): value is AccountResponseData;
|
|
30
25
|
export declare function AccountResponseDataFromJSON(json: any): AccountResponseData;
|
|
31
26
|
export declare function AccountResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountResponseData;
|
|
32
27
|
export declare function AccountResponseDataToJSON(value?: AccountResponseData | null): any;
|
|
@@ -5,12 +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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.AccountResponseDataToJSON = exports.AccountResponseDataFromJSONTyped = exports.AccountResponseDataFromJSON = exports.instanceOfAccountResponseData = void 0;
|
|
@@ -19,9 +14,9 @@ const Account_1 = require("./Account");
|
|
|
19
14
|
* Check if a given object implements the AccountResponseData interface.
|
|
20
15
|
*/
|
|
21
16
|
function instanceOfAccountResponseData(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
17
|
+
if (!('account' in value) || value['account'] === undefined)
|
|
18
|
+
return false;
|
|
19
|
+
return true;
|
|
25
20
|
}
|
|
26
21
|
exports.instanceOfAccountResponseData = instanceOfAccountResponseData;
|
|
27
22
|
function AccountResponseDataFromJSON(json) {
|
|
@@ -29,7 +24,7 @@ function AccountResponseDataFromJSON(json) {
|
|
|
29
24
|
}
|
|
30
25
|
exports.AccountResponseDataFromJSON = AccountResponseDataFromJSON;
|
|
31
26
|
function AccountResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
27
|
+
if (json == null) {
|
|
33
28
|
return json;
|
|
34
29
|
}
|
|
35
30
|
return {
|
|
@@ -38,14 +33,11 @@ function AccountResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
33
|
}
|
|
39
34
|
exports.AccountResponseDataFromJSONTyped = AccountResponseDataFromJSONTyped;
|
|
40
35
|
function AccountResponseDataToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
46
38
|
}
|
|
47
39
|
return {
|
|
48
|
-
'account': (0, Account_1.AccountToJSON)(value
|
|
40
|
+
'account': (0, Account_1.AccountToJSON)(value['account']),
|
|
49
41
|
};
|
|
50
42
|
}
|
|
51
43
|
exports.AccountResponseDataToJSON = AccountResponseDataToJSON;
|
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
/**
|
|
13
8
|
* The type of account
|
|
@@ -29,6 +24,7 @@ export declare const AccountType: {
|
|
|
29
24
|
readonly OtherDebt: "otherDebt";
|
|
30
25
|
};
|
|
31
26
|
export type AccountType = typeof AccountType[keyof typeof AccountType];
|
|
27
|
+
export declare function instanceOfAccountType(value: any): boolean;
|
|
32
28
|
export declare function AccountTypeFromJSON(json: any): AccountType;
|
|
33
29
|
export declare function AccountTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountType;
|
|
34
30
|
export declare function AccountTypeToJSON(value?: AccountType | null): any;
|
|
@@ -5,15 +5,10 @@
|
|
|
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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AccountTypeToJSON = exports.AccountTypeFromJSONTyped = exports.AccountTypeFromJSON = exports.AccountType = void 0;
|
|
11
|
+
exports.AccountTypeToJSON = exports.AccountTypeFromJSONTyped = exports.AccountTypeFromJSON = exports.instanceOfAccountType = exports.AccountType = void 0;
|
|
17
12
|
/**
|
|
18
13
|
* The type of account
|
|
19
14
|
* @export
|
|
@@ -33,6 +28,17 @@ exports.AccountType = {
|
|
|
33
28
|
MedicalDebt: 'medicalDebt',
|
|
34
29
|
OtherDebt: 'otherDebt'
|
|
35
30
|
};
|
|
31
|
+
function instanceOfAccountType(value) {
|
|
32
|
+
for (const key in exports.AccountType) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.AccountType, key)) {
|
|
34
|
+
if (exports.AccountType[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
exports.instanceOfAccountType = instanceOfAccountType;
|
|
36
42
|
function AccountTypeFromJSON(json) {
|
|
37
43
|
return AccountTypeFromJSONTyped(json, false);
|
|
38
44
|
}
|
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
import type { AccountsResponseData } from './AccountsResponseData';
|
|
13
8
|
/**
|
|
@@ -26,7 +21,7 @@ export interface AccountsResponse {
|
|
|
26
21
|
/**
|
|
27
22
|
* Check if a given object implements the AccountsResponse interface.
|
|
28
23
|
*/
|
|
29
|
-
export declare function instanceOfAccountsResponse(value: object):
|
|
24
|
+
export declare function instanceOfAccountsResponse(value: object): value is AccountsResponse;
|
|
30
25
|
export declare function AccountsResponseFromJSON(json: any): AccountsResponse;
|
|
31
26
|
export declare function AccountsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountsResponse;
|
|
32
27
|
export declare function AccountsResponseToJSON(value?: AccountsResponse | null): any;
|
|
@@ -5,12 +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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.AccountsResponseToJSON = exports.AccountsResponseFromJSONTyped = exports.AccountsResponseFromJSON = exports.instanceOfAccountsResponse = void 0;
|
|
@@ -19,9 +14,9 @@ const AccountsResponseData_1 = require("./AccountsResponseData");
|
|
|
19
14
|
* Check if a given object implements the AccountsResponse interface.
|
|
20
15
|
*/
|
|
21
16
|
function instanceOfAccountsResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
17
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
18
|
+
return false;
|
|
19
|
+
return true;
|
|
25
20
|
}
|
|
26
21
|
exports.instanceOfAccountsResponse = instanceOfAccountsResponse;
|
|
27
22
|
function AccountsResponseFromJSON(json) {
|
|
@@ -29,7 +24,7 @@ function AccountsResponseFromJSON(json) {
|
|
|
29
24
|
}
|
|
30
25
|
exports.AccountsResponseFromJSON = AccountsResponseFromJSON;
|
|
31
26
|
function AccountsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
27
|
+
if (json == null) {
|
|
33
28
|
return json;
|
|
34
29
|
}
|
|
35
30
|
return {
|
|
@@ -38,14 +33,11 @@ function AccountsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
33
|
}
|
|
39
34
|
exports.AccountsResponseFromJSONTyped = AccountsResponseFromJSONTyped;
|
|
40
35
|
function AccountsResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
46
38
|
}
|
|
47
39
|
return {
|
|
48
|
-
'data': (0, AccountsResponseData_1.AccountsResponseDataToJSON)(value
|
|
40
|
+
'data': (0, AccountsResponseData_1.AccountsResponseDataToJSON)(value['data']),
|
|
49
41
|
};
|
|
50
42
|
}
|
|
51
43
|
exports.AccountsResponseToJSON = AccountsResponseToJSON;
|
|
@@ -2,12 +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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
import type { Account } from './Account';
|
|
13
8
|
/**
|
|
@@ -32,7 +27,7 @@ export interface AccountsResponseData {
|
|
|
32
27
|
/**
|
|
33
28
|
* Check if a given object implements the AccountsResponseData interface.
|
|
34
29
|
*/
|
|
35
|
-
export declare function instanceOfAccountsResponseData(value: object):
|
|
30
|
+
export declare function instanceOfAccountsResponseData(value: object): value is AccountsResponseData;
|
|
36
31
|
export declare function AccountsResponseDataFromJSON(json: any): AccountsResponseData;
|
|
37
32
|
export declare function AccountsResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountsResponseData;
|
|
38
33
|
export declare function AccountsResponseDataToJSON(value?: AccountsResponseData | null): any;
|
|
@@ -5,12 +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
|
-
*
|
|
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.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.AccountsResponseDataToJSON = exports.AccountsResponseDataFromJSONTyped = exports.AccountsResponseDataFromJSON = exports.instanceOfAccountsResponseData = void 0;
|
|
@@ -19,10 +14,11 @@ const Account_1 = require("./Account");
|
|
|
19
14
|
* Check if a given object implements the AccountsResponseData interface.
|
|
20
15
|
*/
|
|
21
16
|
function instanceOfAccountsResponseData(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
if (!('accounts' in value) || value['accounts'] === undefined)
|
|
18
|
+
return false;
|
|
19
|
+
if (!('server_knowledge' in value) || value['server_knowledge'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
26
22
|
}
|
|
27
23
|
exports.instanceOfAccountsResponseData = instanceOfAccountsResponseData;
|
|
28
24
|
function AccountsResponseDataFromJSON(json) {
|
|
@@ -30,7 +26,7 @@ function AccountsResponseDataFromJSON(json) {
|
|
|
30
26
|
}
|
|
31
27
|
exports.AccountsResponseDataFromJSON = AccountsResponseDataFromJSON;
|
|
32
28
|
function AccountsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
34
30
|
return json;
|
|
35
31
|
}
|
|
36
32
|
return {
|
|
@@ -40,15 +36,12 @@ function AccountsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
36
|
}
|
|
41
37
|
exports.AccountsResponseDataFromJSONTyped = AccountsResponseDataFromJSONTyped;
|
|
42
38
|
function AccountsResponseDataToJSON(value) {
|
|
43
|
-
if (value
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
48
41
|
}
|
|
49
42
|
return {
|
|
50
|
-
'accounts': (value
|
|
51
|
-
'server_knowledge': value
|
|
43
|
+
'accounts': (value['accounts'].map(Account_1.AccountToJSON)),
|
|
44
|
+
'server_knowledge': value['server_knowledge'],
|
|
52
45
|
};
|
|
53
46
|
}
|
|
54
47
|
exports.AccountsResponseDataToJSON = AccountsResponseDataToJSON;
|
|
@@ -2,25 +2,20 @@
|
|
|
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
|
-
*
|
|
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.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
7
|
+
import type { PayeeLocation } from './PayeeLocation';
|
|
12
8
|
import type { Account } from './Account';
|
|
9
|
+
import type { ScheduledTransactionSummary } from './ScheduledTransactionSummary';
|
|
13
10
|
import type { Category } from './Category';
|
|
14
|
-
import type { CategoryGroup } from './CategoryGroup';
|
|
15
11
|
import type { CurrencyFormat } from './CurrencyFormat';
|
|
16
12
|
import type { DateFormat } from './DateFormat';
|
|
13
|
+
import type { SubTransaction } from './SubTransaction';
|
|
17
14
|
import type { MonthDetail } from './MonthDetail';
|
|
18
15
|
import type { Payee } from './Payee';
|
|
19
|
-
import type { PayeeLocation } from './PayeeLocation';
|
|
20
16
|
import type { ScheduledSubTransaction } from './ScheduledSubTransaction';
|
|
21
|
-
import type { ScheduledTransactionSummary } from './ScheduledTransactionSummary';
|
|
22
|
-
import type { SubTransaction } from './SubTransaction';
|
|
23
17
|
import type { TransactionSummary } from './TransactionSummary';
|
|
18
|
+
import type { CategoryGroup } from './CategoryGroup';
|
|
24
19
|
/**
|
|
25
20
|
*
|
|
26
21
|
* @export
|
|
@@ -133,7 +128,7 @@ export interface BudgetDetail {
|
|
|
133
128
|
/**
|
|
134
129
|
* Check if a given object implements the BudgetDetail interface.
|
|
135
130
|
*/
|
|
136
|
-
export declare function instanceOfBudgetDetail(value: object):
|
|
131
|
+
export declare function instanceOfBudgetDetail(value: object): value is BudgetDetail;
|
|
137
132
|
export declare function BudgetDetailFromJSON(json: any): BudgetDetail;
|
|
138
133
|
export declare function BudgetDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetDetail;
|
|
139
134
|
export declare function BudgetDetailToJSON(value?: BudgetDetail | null): any;
|