ynab 2.10.0 → 4.0.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 +50 -42
- package/dist/apis/AccountsApi.d.ts +12 -12
- package/dist/apis/AccountsApi.js +38 -28
- package/dist/apis/CategoriesApi.d.ts +68 -25
- package/dist/apis/CategoriesApi.js +176 -46
- package/dist/apis/DeprecatedApi.js +17 -7
- package/dist/apis/MoneyMovementsApi.d.ts +67 -0
- package/dist/apis/MoneyMovementsApi.js +194 -0
- package/dist/apis/MonthsApi.d.ts +16 -16
- package/dist/apis/MonthsApi.js +38 -28
- package/dist/apis/PayeeLocationsApi.d.ts +12 -12
- package/dist/apis/PayeeLocationsApi.js +38 -28
- package/dist/apis/PayeesApi.d.ts +10 -10
- package/dist/apis/PayeesApi.js +36 -26
- package/dist/apis/PlansApi.d.ts +53 -0
- package/dist/apis/{BudgetsApi.js → PlansApi.js} +51 -41
- package/dist/apis/ScheduledTransactionsApi.d.ts +20 -20
- package/dist/apis/ScheduledTransactionsApi.js +52 -42
- package/dist/apis/TransactionsApi.d.ts +49 -49
- package/dist/apis/TransactionsApi.js +99 -89
- package/dist/apis/UserApi.d.ts +2 -2
- package/dist/apis/UserApi.js +19 -9
- package/dist/apis/index.d.ts +2 -1
- package/dist/apis/index.js +2 -1
- package/dist/browser/ynab.js +1 -1
- package/dist/esm/apis/AccountsApi.d.ts +12 -12
- package/dist/esm/apis/AccountsApi.js +23 -23
- package/dist/esm/apis/CategoriesApi.d.ts +68 -25
- package/dist/esm/apis/CategoriesApi.js +228 -42
- package/dist/esm/apis/DeprecatedApi.js +2 -2
- package/dist/esm/apis/MoneyMovementsApi.d.ts +67 -0
- package/dist/esm/apis/MoneyMovementsApi.js +302 -0
- package/dist/esm/apis/MonthsApi.d.ts +16 -16
- package/dist/esm/apis/MonthsApi.js +23 -23
- package/dist/esm/apis/PayeeLocationsApi.d.ts +12 -12
- package/dist/esm/apis/PayeeLocationsApi.js +23 -23
- package/dist/esm/apis/PayeesApi.d.ts +10 -10
- package/dist/esm/apis/PayeesApi.js +21 -21
- package/dist/esm/apis/PlansApi.d.ts +53 -0
- package/dist/esm/apis/{BudgetsApi.js → PlansApi.js} +39 -39
- package/dist/esm/apis/ScheduledTransactionsApi.d.ts +20 -20
- package/dist/esm/apis/ScheduledTransactionsApi.js +37 -37
- package/dist/esm/apis/TransactionsApi.d.ts +49 -49
- package/dist/esm/apis/TransactionsApi.js +84 -84
- package/dist/esm/apis/UserApi.d.ts +2 -2
- package/dist/esm/apis/UserApi.js +4 -4
- package/dist/esm/apis/index.d.ts +2 -1
- package/dist/esm/apis/index.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +5 -5
- package/dist/esm/models/Account.d.ts +6 -6
- package/dist/esm/models/Category.d.ts +10 -4
- package/dist/esm/models/Category.js +2 -0
- package/dist/esm/models/CategoryGroupWithCategories.d.ts +1 -1
- package/dist/esm/models/CurrencyFormat.d.ts +1 -1
- package/dist/esm/models/DateFormat.d.ts +1 -1
- package/dist/esm/models/ExistingCategory.d.ts +51 -0
- package/dist/esm/models/ExistingCategory.js +45 -0
- package/dist/esm/models/ExistingTransaction.d.ts +4 -4
- package/dist/esm/models/HybridTransaction.d.ts +12 -12
- package/dist/esm/models/MoneyMovement.d.ts +75 -0
- package/dist/esm/models/MoneyMovement.js +57 -0
- package/dist/esm/models/MoneyMovementGroup.d.ts +51 -0
- package/dist/esm/models/MoneyMovementGroup.js +51 -0
- package/dist/esm/models/MoneyMovementGroupsResponse.d.ts +28 -0
- package/dist/esm/models/MoneyMovementGroupsResponse.js +40 -0
- package/dist/esm/models/MoneyMovementGroupsResponseData.d.ts +34 -0
- package/dist/esm/models/MoneyMovementGroupsResponseData.js +44 -0
- package/dist/esm/models/MoneyMovementsResponse.d.ts +28 -0
- package/dist/esm/models/{BudgetSettingsResponse.js → MoneyMovementsResponse.js} +11 -11
- package/dist/esm/models/MoneyMovementsResponseData.d.ts +34 -0
- package/dist/esm/models/MoneyMovementsResponseData.js +44 -0
- package/dist/esm/models/MonthDetail.d.ts +4 -4
- package/dist/esm/models/MonthSummary.d.ts +1 -1
- package/dist/esm/models/NewCategory.d.ts +51 -0
- package/dist/esm/models/NewCategory.js +45 -0
- package/dist/esm/models/NewTransaction.d.ts +4 -4
- package/dist/esm/models/PatchCategoryGroupWrapper.d.ts +28 -0
- package/dist/esm/models/PatchCategoryGroupWrapper.js +40 -0
- package/dist/esm/models/PatchCategoryWrapper.d.ts +3 -3
- package/dist/esm/models/PatchCategoryWrapper.js +3 -3
- package/dist/{models/BudgetDetail.d.ts → esm/models/PlanDetail.d.ts} +30 -30
- package/dist/esm/models/{BudgetDetail.js → PlanDetail.js} +8 -8
- package/dist/esm/models/PlanDetailResponse.d.ts +28 -0
- package/dist/esm/models/PlanDetailResponse.js +40 -0
- package/dist/esm/models/PlanDetailResponseData.d.ts +34 -0
- package/dist/esm/models/{BudgetDetailResponseData.js → PlanDetailResponseData.js} +12 -12
- package/dist/esm/models/PlanSettings.d.ts +35 -0
- package/dist/esm/models/{BudgetSettings.js → PlanSettings.js} +8 -8
- package/dist/esm/models/PlanSettingsResponse.d.ts +28 -0
- package/dist/esm/models/{BudgetDetailResponse.js → PlanSettingsResponse.js} +11 -11
- package/dist/esm/models/PlanSettingsResponseData.d.ts +28 -0
- package/dist/esm/models/PlanSettingsResponseData.js +40 -0
- package/dist/esm/models/PlanSummary.d.ts +72 -0
- package/dist/esm/models/{BudgetSummary.js → PlanSummary.js} +8 -8
- package/dist/esm/models/PlanSummaryResponse.d.ts +28 -0
- package/dist/esm/models/PlanSummaryResponse.js +40 -0
- package/dist/esm/models/PlanSummaryResponseData.d.ts +34 -0
- package/dist/esm/models/PlanSummaryResponseData.js +42 -0
- package/dist/esm/models/PostCategoryGroupWrapper.d.ts +28 -0
- package/dist/esm/models/PostCategoryGroupWrapper.js +40 -0
- package/dist/esm/models/PostCategoryWrapper.d.ts +28 -0
- package/dist/esm/models/PostCategoryWrapper.js +40 -0
- package/dist/esm/models/SaveCategory.d.ts +7 -1
- package/dist/esm/models/SaveCategory.js +2 -0
- package/dist/esm/models/SaveCategoryGroup.d.ts +27 -0
- package/dist/esm/models/SaveCategoryGroup.js +39 -0
- package/dist/esm/models/SaveCategoryGroupResponse.d.ts +28 -0
- package/dist/esm/models/SaveCategoryGroupResponse.js +40 -0
- package/dist/esm/models/SaveCategoryGroupResponseData.d.ts +34 -0
- package/dist/esm/models/SaveCategoryGroupResponseData.js +44 -0
- package/dist/esm/models/SaveMonthCategory.d.ts +1 -1
- package/dist/esm/models/SaveTransactionWithIdOrImportId.d.ts +4 -4
- package/dist/esm/models/ScheduledTransactionDetail.d.ts +6 -6
- package/dist/esm/models/ScheduledTransactionSummary.d.ts +1 -1
- package/dist/esm/models/TransactionDetail.d.ts +11 -11
- package/dist/esm/models/TransactionSummary.d.ts +1 -1
- package/dist/esm/models/index.d.ts +23 -9
- package/dist/esm/models/index.js +23 -9
- package/dist/esm/runtime.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +22 -12
- package/dist/models/Account.d.ts +6 -6
- package/dist/models/Account.js +5 -6
- package/dist/models/AccountResponse.js +5 -6
- package/dist/models/AccountResponseData.js +5 -6
- package/dist/models/AccountType.js +6 -6
- package/dist/models/AccountsResponse.js +5 -6
- package/dist/models/AccountsResponseData.js +5 -6
- package/dist/models/BulkResponse.js +5 -6
- package/dist/models/BulkResponseData.js +5 -6
- package/dist/models/BulkResponseDataBulk.js +5 -6
- package/dist/models/BulkTransactions.js +5 -6
- package/dist/models/CategoriesResponse.js +5 -6
- package/dist/models/CategoriesResponseData.js +5 -6
- package/dist/models/Category.d.ts +10 -4
- package/dist/models/Category.js +8 -6
- package/dist/models/CategoryGoalType.js +4 -5
- package/dist/models/CategoryGroup.js +5 -6
- package/dist/models/CategoryGroupWithCategories.d.ts +1 -1
- package/dist/models/CategoryGroupWithCategories.js +5 -6
- package/dist/models/CategoryGroupWithCategoriesAllOf.js +4 -5
- package/dist/models/CategoryResponse.js +5 -6
- package/dist/models/CategoryResponseData.js +5 -6
- package/dist/models/CurrencyFormat.d.ts +1 -1
- package/dist/models/CurrencyFormat.js +5 -6
- package/dist/models/DateFormat.d.ts +1 -1
- package/dist/models/DateFormat.js +5 -6
- package/dist/models/ErrorDetail.js +5 -6
- package/dist/models/ErrorResponse.js +5 -6
- package/dist/models/ExistingCategory.d.ts +51 -0
- package/dist/models/ExistingCategory.js +51 -0
- package/dist/models/ExistingTransaction.d.ts +4 -4
- package/dist/models/ExistingTransaction.js +5 -6
- package/dist/models/HybridTransaction.d.ts +12 -12
- package/dist/models/HybridTransaction.js +6 -6
- package/dist/models/HybridTransactionAllOf.js +5 -5
- package/dist/models/HybridTransactionsResponse.js +5 -6
- package/dist/models/HybridTransactionsResponseData.js +5 -6
- package/dist/models/MoneyMovement.d.ts +75 -0
- package/dist/models/MoneyMovement.js +63 -0
- package/dist/models/MoneyMovementGroup.d.ts +51 -0
- package/dist/models/MoneyMovementGroup.js +57 -0
- package/dist/models/MoneyMovementGroupsResponse.d.ts +28 -0
- package/dist/models/MoneyMovementGroupsResponse.js +46 -0
- package/dist/models/MoneyMovementGroupsResponseData.d.ts +34 -0
- package/dist/models/MoneyMovementGroupsResponseData.js +50 -0
- package/dist/models/MoneyMovementsResponse.d.ts +28 -0
- package/dist/models/MoneyMovementsResponse.js +46 -0
- package/dist/models/MoneyMovementsResponseData.d.ts +34 -0
- package/dist/models/MoneyMovementsResponseData.js +50 -0
- package/dist/models/MonthDetail.d.ts +4 -4
- package/dist/models/MonthDetail.js +5 -6
- package/dist/models/MonthDetailAllOf.js +4 -5
- package/dist/models/MonthDetailResponse.js +5 -6
- package/dist/models/MonthDetailResponseData.js +5 -6
- package/dist/models/MonthSummariesResponse.js +5 -6
- package/dist/models/MonthSummariesResponseData.js +5 -6
- package/dist/models/MonthSummary.d.ts +1 -1
- package/dist/models/MonthSummary.js +5 -6
- package/dist/models/NewCategory.d.ts +51 -0
- package/dist/models/NewCategory.js +51 -0
- package/dist/models/NewTransaction.d.ts +4 -4
- package/dist/models/NewTransaction.js +5 -6
- package/dist/models/PatchCategoryGroupWrapper.d.ts +28 -0
- package/dist/models/PatchCategoryGroupWrapper.js +46 -0
- package/dist/models/PatchCategoryWrapper.d.ts +3 -3
- package/dist/models/PatchCategoryWrapper.js +8 -9
- package/dist/models/PatchMonthCategoryWrapper.js +5 -6
- package/dist/models/PatchPayeeWrapper.js +5 -6
- package/dist/models/PatchTransactionsWrapper.js +5 -6
- package/dist/models/Payee.js +5 -6
- package/dist/models/PayeeLocation.js +5 -6
- package/dist/models/PayeeLocationResponse.js +5 -6
- package/dist/models/PayeeLocationResponseData.js +5 -6
- package/dist/models/PayeeLocationsResponse.js +5 -6
- package/dist/models/PayeeLocationsResponseData.js +5 -6
- package/dist/models/PayeeResponse.js +5 -6
- package/dist/models/PayeeResponseData.js +5 -6
- package/dist/models/PayeesResponse.js +5 -6
- package/dist/models/PayeesResponseData.js +5 -6
- package/dist/{esm/models/BudgetDetail.d.ts → models/PlanDetail.d.ts} +30 -30
- package/dist/models/{BudgetDetail.js → PlanDetail.js} +13 -14
- package/dist/models/PlanDetailResponse.d.ts +28 -0
- package/dist/models/PlanDetailResponse.js +46 -0
- package/dist/models/PlanDetailResponseData.d.ts +34 -0
- package/dist/models/PlanDetailResponseData.js +50 -0
- package/dist/models/PlanSettings.d.ts +35 -0
- package/dist/models/{BudgetSettings.js → PlanSettings.js} +13 -14
- package/dist/models/PlanSettingsResponse.d.ts +28 -0
- package/dist/models/PlanSettingsResponse.js +46 -0
- package/dist/models/PlanSettingsResponseData.d.ts +28 -0
- package/dist/models/PlanSettingsResponseData.js +46 -0
- package/dist/models/PlanSummary.d.ts +72 -0
- package/dist/models/{BudgetSummary.js → PlanSummary.js} +13 -14
- package/dist/models/PlanSummaryResponse.d.ts +28 -0
- package/dist/models/PlanSummaryResponse.js +46 -0
- package/dist/models/PlanSummaryResponseData.d.ts +34 -0
- package/dist/models/PlanSummaryResponseData.js +48 -0
- package/dist/models/PostAccountWrapper.js +5 -6
- package/dist/models/PostCategoryGroupWrapper.d.ts +28 -0
- package/dist/models/PostCategoryGroupWrapper.js +46 -0
- package/dist/models/PostCategoryWrapper.d.ts +28 -0
- package/dist/models/PostCategoryWrapper.js +46 -0
- package/dist/models/PostScheduledTransactionWrapper.js +5 -6
- package/dist/models/PostTransactionsWrapper.js +5 -6
- package/dist/models/PutScheduledTransactionWrapper.js +5 -6
- package/dist/models/PutTransactionWrapper.js +5 -6
- package/dist/models/SaveAccount.js +5 -6
- package/dist/models/SaveCategory.d.ts +7 -1
- package/dist/models/SaveCategory.js +7 -6
- package/dist/models/SaveCategoryGroup.d.ts +27 -0
- package/dist/models/SaveCategoryGroup.js +45 -0
- package/dist/models/SaveCategoryGroupResponse.d.ts +28 -0
- package/dist/models/SaveCategoryGroupResponse.js +46 -0
- package/dist/models/SaveCategoryGroupResponseData.d.ts +34 -0
- package/dist/models/SaveCategoryGroupResponseData.js +50 -0
- package/dist/models/SaveCategoryResponse.js +5 -6
- package/dist/models/SaveCategoryResponseData.js +5 -6
- package/dist/models/SaveMonthCategory.d.ts +1 -1
- package/dist/models/SaveMonthCategory.js +5 -6
- package/dist/models/SavePayee.js +5 -6
- package/dist/models/SavePayeeResponse.js +5 -6
- package/dist/models/SavePayeeResponseData.js +5 -6
- package/dist/models/SaveScheduledTransaction.js +5 -6
- package/dist/models/SaveSubTransaction.js +5 -6
- package/dist/models/SaveTransaction.js +4 -5
- package/dist/models/SaveTransactionWithId.js +4 -5
- package/dist/models/SaveTransactionWithIdAllOf.js +4 -5
- package/dist/models/SaveTransactionWithIdOrImportId.d.ts +4 -4
- package/dist/models/SaveTransactionWithIdOrImportId.js +5 -6
- package/dist/models/SaveTransactionWithOptionalFields.js +5 -6
- package/dist/models/SaveTransactionWithOptionalFieldsFlagColor.js +4 -5
- package/dist/models/SaveTransactionsResponse.js +5 -6
- package/dist/models/SaveTransactionsResponseData.js +5 -6
- package/dist/models/ScheduledSubTransaction.js +5 -6
- package/dist/models/ScheduledTransactionDetail.d.ts +6 -6
- package/dist/models/ScheduledTransactionDetail.js +6 -6
- package/dist/models/ScheduledTransactionDetailAllOf.js +4 -5
- package/dist/models/ScheduledTransactionFrequency.js +6 -6
- package/dist/models/ScheduledTransactionResponse.js +5 -6
- package/dist/models/ScheduledTransactionResponseData.js +5 -6
- package/dist/models/ScheduledTransactionSummary.d.ts +1 -1
- package/dist/models/ScheduledTransactionSummary.js +6 -6
- package/dist/models/ScheduledTransactionSummaryFlagColor.js +4 -5
- package/dist/models/ScheduledTransactionsResponse.js +5 -6
- package/dist/models/ScheduledTransactionsResponseData.js +5 -6
- package/dist/models/SubTransaction.js +5 -6
- package/dist/models/TransactionClearedStatus.js +6 -6
- package/dist/models/TransactionDetail.d.ts +11 -11
- package/dist/models/TransactionDetail.js +6 -6
- package/dist/models/TransactionDetailAllOf.js +4 -5
- package/dist/models/TransactionFlagColor.js +6 -6
- package/dist/models/TransactionResponse.js +5 -6
- package/dist/models/TransactionResponseData.js +5 -6
- package/dist/models/TransactionSummary.d.ts +1 -1
- package/dist/models/TransactionSummary.js +6 -6
- package/dist/models/TransactionSummaryDebtTransactionType.js +4 -5
- package/dist/models/TransactionsImportResponse.js +5 -6
- package/dist/models/TransactionsImportResponseData.js +5 -6
- package/dist/models/TransactionsResponse.js +5 -6
- package/dist/models/TransactionsResponseData.js +5 -6
- package/dist/models/User.js +5 -6
- package/dist/models/UserResponse.js +5 -6
- package/dist/models/UserResponseData.js +5 -6
- package/dist/models/index.d.ts +23 -9
- package/dist/models/index.js +23 -9
- package/dist/runtime.js +5 -5
- package/package.json +7 -8
- package/dist/apis/BudgetsApi.d.ts +0 -53
- package/dist/esm/apis/BudgetsApi.d.ts +0 -53
- package/dist/esm/models/BudgetDetailAllOf.d.ts +0 -95
- package/dist/esm/models/BudgetDetailAllOf.js +0 -71
- package/dist/esm/models/BudgetDetailResponse.d.ts +0 -28
- package/dist/esm/models/BudgetDetailResponseData.d.ts +0 -34
- package/dist/esm/models/BudgetSettings.d.ts +0 -35
- package/dist/esm/models/BudgetSettingsResponse.d.ts +0 -28
- package/dist/esm/models/BudgetSettingsResponseData.d.ts +0 -28
- package/dist/esm/models/BudgetSettingsResponseData.js +0 -40
- package/dist/esm/models/BudgetSummary.d.ts +0 -72
- package/dist/esm/models/BudgetSummaryResponse.d.ts +0 -28
- package/dist/esm/models/BudgetSummaryResponse.js +0 -40
- package/dist/esm/models/BudgetSummaryResponseData.d.ts +0 -34
- package/dist/esm/models/BudgetSummaryResponseData.js +0 -42
- package/dist/models/BudgetDetailAllOf.d.ts +0 -95
- package/dist/models/BudgetDetailAllOf.js +0 -78
- package/dist/models/BudgetDetailResponse.d.ts +0 -28
- package/dist/models/BudgetDetailResponse.js +0 -47
- package/dist/models/BudgetDetailResponseData.d.ts +0 -34
- package/dist/models/BudgetDetailResponseData.js +0 -51
- package/dist/models/BudgetSettings.d.ts +0 -35
- package/dist/models/BudgetSettingsResponse.d.ts +0 -28
- package/dist/models/BudgetSettingsResponse.js +0 -47
- package/dist/models/BudgetSettingsResponseData.d.ts +0 -28
- package/dist/models/BudgetSettingsResponseData.js +0 -47
- package/dist/models/BudgetSummary.d.ts +0 -72
- package/dist/models/BudgetSummaryResponse.d.ts +0 -28
- package/dist/models/BudgetSummaryResponse.js +0 -47
- package/dist/models/BudgetSummaryResponseData.d.ts +0 -34
- package/dist/models/BudgetSummaryResponseData.js +0 -49
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.TransactionClearedStatus = void 0;
|
|
12
|
+
exports.instanceOfTransactionClearedStatus = instanceOfTransactionClearedStatus;
|
|
13
|
+
exports.TransactionClearedStatusFromJSON = TransactionClearedStatusFromJSON;
|
|
14
|
+
exports.TransactionClearedStatusFromJSONTyped = TransactionClearedStatusFromJSONTyped;
|
|
15
|
+
exports.TransactionClearedStatusToJSON = TransactionClearedStatusToJSON;
|
|
16
|
+
exports.TransactionClearedStatusToJSONTyped = TransactionClearedStatusToJSONTyped;
|
|
12
17
|
/**
|
|
13
18
|
* The cleared status of the transaction
|
|
14
19
|
* @export
|
|
@@ -28,20 +33,15 @@ function instanceOfTransactionClearedStatus(value) {
|
|
|
28
33
|
}
|
|
29
34
|
return false;
|
|
30
35
|
}
|
|
31
|
-
exports.instanceOfTransactionClearedStatus = instanceOfTransactionClearedStatus;
|
|
32
36
|
function TransactionClearedStatusFromJSON(json) {
|
|
33
37
|
return TransactionClearedStatusFromJSONTyped(json, false);
|
|
34
38
|
}
|
|
35
|
-
exports.TransactionClearedStatusFromJSON = TransactionClearedStatusFromJSON;
|
|
36
39
|
function TransactionClearedStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
40
|
return json;
|
|
38
41
|
}
|
|
39
|
-
exports.TransactionClearedStatusFromJSONTyped = TransactionClearedStatusFromJSONTyped;
|
|
40
42
|
function TransactionClearedStatusToJSON(value) {
|
|
41
43
|
return value;
|
|
42
44
|
}
|
|
43
|
-
exports.TransactionClearedStatusToJSON = TransactionClearedStatusToJSON;
|
|
44
45
|
function TransactionClearedStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
45
46
|
return value;
|
|
46
47
|
}
|
|
47
|
-
exports.TransactionClearedStatusToJSONTyped = TransactionClearedStatusToJSONTyped;
|
|
@@ -36,7 +36,7 @@ export interface TransactionDetail {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof TransactionDetail
|
|
38
38
|
*/
|
|
39
|
-
memo?: string
|
|
39
|
+
memo?: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {TransactionClearedStatus}
|
|
@@ -60,7 +60,7 @@ export interface TransactionDetail {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof TransactionDetail
|
|
62
62
|
*/
|
|
63
|
-
flag_name?: string
|
|
63
|
+
flag_name?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -72,52 +72,52 @@ export interface TransactionDetail {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof TransactionDetail
|
|
74
74
|
*/
|
|
75
|
-
payee_id?: string
|
|
75
|
+
payee_id?: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof TransactionDetail
|
|
80
80
|
*/
|
|
81
|
-
category_id?: string
|
|
81
|
+
category_id?: string;
|
|
82
82
|
/**
|
|
83
83
|
* If a transfer transaction, the account to which it transfers
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof TransactionDetail
|
|
86
86
|
*/
|
|
87
|
-
transfer_account_id?: string
|
|
87
|
+
transfer_account_id?: string;
|
|
88
88
|
/**
|
|
89
89
|
* If a transfer transaction, the id of transaction on the other side of the transfer
|
|
90
90
|
* @type {string}
|
|
91
91
|
* @memberof TransactionDetail
|
|
92
92
|
*/
|
|
93
|
-
transfer_transaction_id?: string
|
|
93
|
+
transfer_transaction_id?: string;
|
|
94
94
|
/**
|
|
95
95
|
* If transaction is matched, the id of the matched transaction
|
|
96
96
|
* @type {string}
|
|
97
97
|
* @memberof TransactionDetail
|
|
98
98
|
*/
|
|
99
|
-
matched_transaction_id?: string
|
|
99
|
+
matched_transaction_id?: string;
|
|
100
100
|
/**
|
|
101
101
|
* 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'.
|
|
102
102
|
* @type {string}
|
|
103
103
|
* @memberof TransactionDetail
|
|
104
104
|
*/
|
|
105
|
-
import_id?: string
|
|
105
|
+
import_id?: string;
|
|
106
106
|
/**
|
|
107
107
|
* If the transaction was imported, the payee name that was used when importing and before applying any payee rename rules
|
|
108
108
|
* @type {string}
|
|
109
109
|
* @memberof TransactionDetail
|
|
110
110
|
*/
|
|
111
|
-
import_payee_name?: string
|
|
111
|
+
import_payee_name?: string;
|
|
112
112
|
/**
|
|
113
113
|
* If the transaction was imported, the original payee name as it appeared on the statement
|
|
114
114
|
* @type {string}
|
|
115
115
|
* @memberof TransactionDetail
|
|
116
116
|
*/
|
|
117
|
-
import_payee_name_original?: string
|
|
117
|
+
import_payee_name_original?: string;
|
|
118
118
|
/**
|
|
119
119
|
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
120
|
-
* @type {
|
|
120
|
+
* @type {TransactionDetailDebtTransactionTypeEnum}
|
|
121
121
|
* @memberof TransactionDetail
|
|
122
122
|
*/
|
|
123
123
|
debt_transaction_type?: TransactionDetailDebtTransactionTypeEnum | null;
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.TransactionDetailDebtTransactionTypeEnum = void 0;
|
|
12
|
+
exports.instanceOfTransactionDetail = instanceOfTransactionDetail;
|
|
13
|
+
exports.TransactionDetailFromJSON = TransactionDetailFromJSON;
|
|
14
|
+
exports.TransactionDetailFromJSONTyped = TransactionDetailFromJSONTyped;
|
|
15
|
+
exports.TransactionDetailToJSON = TransactionDetailToJSON;
|
|
16
|
+
exports.TransactionDetailToJSONTyped = TransactionDetailToJSONTyped;
|
|
12
17
|
const TransactionFlagColor_1 = require("./TransactionFlagColor");
|
|
13
18
|
const TransactionClearedStatus_1 = require("./TransactionClearedStatus");
|
|
14
19
|
const SubTransaction_1 = require("./SubTransaction");
|
|
@@ -49,11 +54,9 @@ function instanceOfTransactionDetail(value) {
|
|
|
49
54
|
return false;
|
|
50
55
|
return true;
|
|
51
56
|
}
|
|
52
|
-
exports.instanceOfTransactionDetail = instanceOfTransactionDetail;
|
|
53
57
|
function TransactionDetailFromJSON(json) {
|
|
54
58
|
return TransactionDetailFromJSONTyped(json, false);
|
|
55
59
|
}
|
|
56
|
-
exports.TransactionDetailFromJSON = TransactionDetailFromJSON;
|
|
57
60
|
function TransactionDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
61
|
if (json == null) {
|
|
59
62
|
return json;
|
|
@@ -84,11 +87,9 @@ function TransactionDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
84
87
|
'subtransactions': (json['subtransactions'].map(SubTransaction_1.SubTransactionFromJSON)),
|
|
85
88
|
};
|
|
86
89
|
}
|
|
87
|
-
exports.TransactionDetailFromJSONTyped = TransactionDetailFromJSONTyped;
|
|
88
90
|
function TransactionDetailToJSON(json) {
|
|
89
91
|
return TransactionDetailToJSONTyped(json, false);
|
|
90
92
|
}
|
|
91
|
-
exports.TransactionDetailToJSON = TransactionDetailToJSON;
|
|
92
93
|
function TransactionDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
93
94
|
if (value == null) {
|
|
94
95
|
return value;
|
|
@@ -119,4 +120,3 @@ function TransactionDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
119
120
|
'subtransactions': (value['subtransactions'].map(SubTransaction_1.SubTransactionToJSON)),
|
|
120
121
|
};
|
|
121
122
|
}
|
|
122
|
-
exports.TransactionDetailToJSONTyped = TransactionDetailToJSONTyped;
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfTransactionDetailAllOf = instanceOfTransactionDetailAllOf;
|
|
17
|
+
exports.TransactionDetailAllOfFromJSON = TransactionDetailAllOfFromJSON;
|
|
18
|
+
exports.TransactionDetailAllOfFromJSONTyped = TransactionDetailAllOfFromJSONTyped;
|
|
19
|
+
exports.TransactionDetailAllOfToJSON = TransactionDetailAllOfToJSON;
|
|
17
20
|
const runtime_1 = require("../runtime");
|
|
18
21
|
const SubTransaction_1 = require("./SubTransaction");
|
|
19
22
|
/**
|
|
@@ -25,11 +28,9 @@ function instanceOfTransactionDetailAllOf(value) {
|
|
|
25
28
|
isInstance = isInstance && "subtransactions" in value;
|
|
26
29
|
return isInstance;
|
|
27
30
|
}
|
|
28
|
-
exports.instanceOfTransactionDetailAllOf = instanceOfTransactionDetailAllOf;
|
|
29
31
|
function TransactionDetailAllOfFromJSON(json) {
|
|
30
32
|
return TransactionDetailAllOfFromJSONTyped(json, false);
|
|
31
33
|
}
|
|
32
|
-
exports.TransactionDetailAllOfFromJSON = TransactionDetailAllOfFromJSON;
|
|
33
34
|
function TransactionDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
35
|
if ((json === undefined) || (json === null)) {
|
|
35
36
|
return json;
|
|
@@ -41,7 +42,6 @@ function TransactionDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'subtransactions': (json['subtransactions'].map(SubTransaction_1.SubTransactionFromJSON)),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
exports.TransactionDetailAllOfFromJSONTyped = TransactionDetailAllOfFromJSONTyped;
|
|
45
45
|
function TransactionDetailAllOfToJSON(value) {
|
|
46
46
|
if (value === undefined) {
|
|
47
47
|
return undefined;
|
|
@@ -56,4 +56,3 @@ function TransactionDetailAllOfToJSON(value) {
|
|
|
56
56
|
'subtransactions': (value.subtransactions.map(SubTransaction_1.SubTransactionToJSON)),
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
exports.TransactionDetailAllOfToJSON = TransactionDetailAllOfToJSON;
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.TransactionFlagColor = void 0;
|
|
12
|
+
exports.instanceOfTransactionFlagColor = instanceOfTransactionFlagColor;
|
|
13
|
+
exports.TransactionFlagColorFromJSON = TransactionFlagColorFromJSON;
|
|
14
|
+
exports.TransactionFlagColorFromJSONTyped = TransactionFlagColorFromJSONTyped;
|
|
15
|
+
exports.TransactionFlagColorToJSON = TransactionFlagColorToJSON;
|
|
16
|
+
exports.TransactionFlagColorToJSONTyped = TransactionFlagColorToJSONTyped;
|
|
12
17
|
/**
|
|
13
18
|
* The transaction flag
|
|
14
19
|
* @export
|
|
@@ -32,20 +37,15 @@ function instanceOfTransactionFlagColor(value) {
|
|
|
32
37
|
}
|
|
33
38
|
return false;
|
|
34
39
|
}
|
|
35
|
-
exports.instanceOfTransactionFlagColor = instanceOfTransactionFlagColor;
|
|
36
40
|
function TransactionFlagColorFromJSON(json) {
|
|
37
41
|
return TransactionFlagColorFromJSONTyped(json, false);
|
|
38
42
|
}
|
|
39
|
-
exports.TransactionFlagColorFromJSON = TransactionFlagColorFromJSON;
|
|
40
43
|
function TransactionFlagColorFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
44
|
return json;
|
|
42
45
|
}
|
|
43
|
-
exports.TransactionFlagColorFromJSONTyped = TransactionFlagColorFromJSONTyped;
|
|
44
46
|
function TransactionFlagColorToJSON(value) {
|
|
45
47
|
return value;
|
|
46
48
|
}
|
|
47
|
-
exports.TransactionFlagColorToJSON = TransactionFlagColorToJSON;
|
|
48
49
|
function TransactionFlagColorToJSONTyped(value, ignoreDiscriminator) {
|
|
49
50
|
return value;
|
|
50
51
|
}
|
|
51
|
-
exports.TransactionFlagColorToJSONTyped = TransactionFlagColorToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionResponse = instanceOfTransactionResponse;
|
|
12
|
+
exports.TransactionResponseFromJSON = TransactionResponseFromJSON;
|
|
13
|
+
exports.TransactionResponseFromJSONTyped = TransactionResponseFromJSONTyped;
|
|
14
|
+
exports.TransactionResponseToJSON = TransactionResponseToJSON;
|
|
15
|
+
exports.TransactionResponseToJSONTyped = TransactionResponseToJSONTyped;
|
|
12
16
|
const TransactionResponseData_1 = require("./TransactionResponseData");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the TransactionResponse interface.
|
|
@@ -18,11 +22,9 @@ function instanceOfTransactionResponse(value) {
|
|
|
18
22
|
return false;
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
|
-
exports.instanceOfTransactionResponse = instanceOfTransactionResponse;
|
|
22
25
|
function TransactionResponseFromJSON(json) {
|
|
23
26
|
return TransactionResponseFromJSONTyped(json, false);
|
|
24
27
|
}
|
|
25
|
-
exports.TransactionResponseFromJSON = TransactionResponseFromJSON;
|
|
26
28
|
function TransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
29
|
if (json == null) {
|
|
28
30
|
return json;
|
|
@@ -31,11 +33,9 @@ function TransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
'data': (0, TransactionResponseData_1.TransactionResponseDataFromJSON)(json['data']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
|
-
exports.TransactionResponseFromJSONTyped = TransactionResponseFromJSONTyped;
|
|
35
36
|
function TransactionResponseToJSON(json) {
|
|
36
37
|
return TransactionResponseToJSONTyped(json, false);
|
|
37
38
|
}
|
|
38
|
-
exports.TransactionResponseToJSON = TransactionResponseToJSON;
|
|
39
39
|
function TransactionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
40
|
if (value == null) {
|
|
41
41
|
return value;
|
|
@@ -44,4 +44,3 @@ function TransactionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
44
|
'data': (0, TransactionResponseData_1.TransactionResponseDataToJSON)(value['data']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
exports.TransactionResponseToJSONTyped = TransactionResponseToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionResponseData = instanceOfTransactionResponseData;
|
|
12
|
+
exports.TransactionResponseDataFromJSON = TransactionResponseDataFromJSON;
|
|
13
|
+
exports.TransactionResponseDataFromJSONTyped = TransactionResponseDataFromJSONTyped;
|
|
14
|
+
exports.TransactionResponseDataToJSON = TransactionResponseDataToJSON;
|
|
15
|
+
exports.TransactionResponseDataToJSONTyped = TransactionResponseDataToJSONTyped;
|
|
12
16
|
const TransactionDetail_1 = require("./TransactionDetail");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the TransactionResponseData interface.
|
|
@@ -20,11 +24,9 @@ function instanceOfTransactionResponseData(value) {
|
|
|
20
24
|
return false;
|
|
21
25
|
return true;
|
|
22
26
|
}
|
|
23
|
-
exports.instanceOfTransactionResponseData = instanceOfTransactionResponseData;
|
|
24
27
|
function TransactionResponseDataFromJSON(json) {
|
|
25
28
|
return TransactionResponseDataFromJSONTyped(json, false);
|
|
26
29
|
}
|
|
27
|
-
exports.TransactionResponseDataFromJSON = TransactionResponseDataFromJSON;
|
|
28
30
|
function TransactionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
31
|
if (json == null) {
|
|
30
32
|
return json;
|
|
@@ -34,11 +36,9 @@ function TransactionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
36
|
'server_knowledge': json['server_knowledge'],
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
|
-
exports.TransactionResponseDataFromJSONTyped = TransactionResponseDataFromJSONTyped;
|
|
38
39
|
function TransactionResponseDataToJSON(json) {
|
|
39
40
|
return TransactionResponseDataToJSONTyped(json, false);
|
|
40
41
|
}
|
|
41
|
-
exports.TransactionResponseDataToJSON = TransactionResponseDataToJSON;
|
|
42
42
|
function TransactionResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
@@ -48,4 +48,3 @@ function TransactionResponseDataToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
48
48
|
'server_knowledge': value['server_knowledge'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
exports.TransactionResponseDataToJSONTyped = TransactionResponseDataToJSONTyped;
|
|
@@ -116,7 +116,7 @@ export interface TransactionSummary {
|
|
|
116
116
|
import_payee_name_original?: string | null;
|
|
117
117
|
/**
|
|
118
118
|
* If the transaction is a debt/loan account transaction, the type of transaction
|
|
119
|
-
* @type {
|
|
119
|
+
* @type {TransactionSummaryDebtTransactionTypeEnum}
|
|
120
120
|
* @memberof TransactionSummary
|
|
121
121
|
*/
|
|
122
122
|
debt_transaction_type?: TransactionSummaryDebtTransactionTypeEnum | null;
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.TransactionSummaryDebtTransactionTypeEnum = void 0;
|
|
12
|
+
exports.instanceOfTransactionSummary = instanceOfTransactionSummary;
|
|
13
|
+
exports.TransactionSummaryFromJSON = TransactionSummaryFromJSON;
|
|
14
|
+
exports.TransactionSummaryFromJSONTyped = TransactionSummaryFromJSONTyped;
|
|
15
|
+
exports.TransactionSummaryToJSON = TransactionSummaryToJSON;
|
|
16
|
+
exports.TransactionSummaryToJSONTyped = TransactionSummaryToJSONTyped;
|
|
12
17
|
const TransactionFlagColor_1 = require("./TransactionFlagColor");
|
|
13
18
|
const TransactionClearedStatus_1 = require("./TransactionClearedStatus");
|
|
14
19
|
/**
|
|
@@ -44,11 +49,9 @@ function instanceOfTransactionSummary(value) {
|
|
|
44
49
|
return false;
|
|
45
50
|
return true;
|
|
46
51
|
}
|
|
47
|
-
exports.instanceOfTransactionSummary = instanceOfTransactionSummary;
|
|
48
52
|
function TransactionSummaryFromJSON(json) {
|
|
49
53
|
return TransactionSummaryFromJSONTyped(json, false);
|
|
50
54
|
}
|
|
51
|
-
exports.TransactionSummaryFromJSON = TransactionSummaryFromJSON;
|
|
52
55
|
function TransactionSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
56
|
if (json == null) {
|
|
54
57
|
return json;
|
|
@@ -75,11 +78,9 @@ function TransactionSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
78
|
'deleted': json['deleted'],
|
|
76
79
|
};
|
|
77
80
|
}
|
|
78
|
-
exports.TransactionSummaryFromJSONTyped = TransactionSummaryFromJSONTyped;
|
|
79
81
|
function TransactionSummaryToJSON(json) {
|
|
80
82
|
return TransactionSummaryToJSONTyped(json, false);
|
|
81
83
|
}
|
|
82
|
-
exports.TransactionSummaryToJSON = TransactionSummaryToJSON;
|
|
83
84
|
function TransactionSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
84
85
|
if (value == null) {
|
|
85
86
|
return value;
|
|
@@ -106,4 +107,3 @@ function TransactionSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
106
107
|
'deleted': value['deleted'],
|
|
107
108
|
};
|
|
108
109
|
}
|
|
109
|
-
exports.TransactionSummaryToJSONTyped = TransactionSummaryToJSONTyped;
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfTransactionSummaryDebtTransactionType = instanceOfTransactionSummaryDebtTransactionType;
|
|
17
|
+
exports.TransactionSummaryDebtTransactionTypeFromJSON = TransactionSummaryDebtTransactionTypeFromJSON;
|
|
18
|
+
exports.TransactionSummaryDebtTransactionTypeFromJSONTyped = TransactionSummaryDebtTransactionTypeFromJSONTyped;
|
|
19
|
+
exports.TransactionSummaryDebtTransactionTypeToJSON = TransactionSummaryDebtTransactionTypeToJSON;
|
|
17
20
|
/**
|
|
18
21
|
* Check if a given object implements the TransactionSummaryDebtTransactionType interface.
|
|
19
22
|
*/
|
|
@@ -21,16 +24,12 @@ function instanceOfTransactionSummaryDebtTransactionType(value) {
|
|
|
21
24
|
let isInstance = true;
|
|
22
25
|
return isInstance;
|
|
23
26
|
}
|
|
24
|
-
exports.instanceOfTransactionSummaryDebtTransactionType = instanceOfTransactionSummaryDebtTransactionType;
|
|
25
27
|
function TransactionSummaryDebtTransactionTypeFromJSON(json) {
|
|
26
28
|
return TransactionSummaryDebtTransactionTypeFromJSONTyped(json, false);
|
|
27
29
|
}
|
|
28
|
-
exports.TransactionSummaryDebtTransactionTypeFromJSON = TransactionSummaryDebtTransactionTypeFromJSON;
|
|
29
30
|
function TransactionSummaryDebtTransactionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
31
|
return json;
|
|
31
32
|
}
|
|
32
|
-
exports.TransactionSummaryDebtTransactionTypeFromJSONTyped = TransactionSummaryDebtTransactionTypeFromJSONTyped;
|
|
33
33
|
function TransactionSummaryDebtTransactionTypeToJSON(value) {
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
|
-
exports.TransactionSummaryDebtTransactionTypeToJSON = TransactionSummaryDebtTransactionTypeToJSON;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionsImportResponse = instanceOfTransactionsImportResponse;
|
|
12
|
+
exports.TransactionsImportResponseFromJSON = TransactionsImportResponseFromJSON;
|
|
13
|
+
exports.TransactionsImportResponseFromJSONTyped = TransactionsImportResponseFromJSONTyped;
|
|
14
|
+
exports.TransactionsImportResponseToJSON = TransactionsImportResponseToJSON;
|
|
15
|
+
exports.TransactionsImportResponseToJSONTyped = TransactionsImportResponseToJSONTyped;
|
|
12
16
|
const TransactionsImportResponseData_1 = require("./TransactionsImportResponseData");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the TransactionsImportResponse interface.
|
|
@@ -18,11 +22,9 @@ function instanceOfTransactionsImportResponse(value) {
|
|
|
18
22
|
return false;
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
|
-
exports.instanceOfTransactionsImportResponse = instanceOfTransactionsImportResponse;
|
|
22
25
|
function TransactionsImportResponseFromJSON(json) {
|
|
23
26
|
return TransactionsImportResponseFromJSONTyped(json, false);
|
|
24
27
|
}
|
|
25
|
-
exports.TransactionsImportResponseFromJSON = TransactionsImportResponseFromJSON;
|
|
26
28
|
function TransactionsImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
29
|
if (json == null) {
|
|
28
30
|
return json;
|
|
@@ -31,11 +33,9 @@ function TransactionsImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
'data': (0, TransactionsImportResponseData_1.TransactionsImportResponseDataFromJSON)(json['data']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
|
-
exports.TransactionsImportResponseFromJSONTyped = TransactionsImportResponseFromJSONTyped;
|
|
35
36
|
function TransactionsImportResponseToJSON(json) {
|
|
36
37
|
return TransactionsImportResponseToJSONTyped(json, false);
|
|
37
38
|
}
|
|
38
|
-
exports.TransactionsImportResponseToJSON = TransactionsImportResponseToJSON;
|
|
39
39
|
function TransactionsImportResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
40
|
if (value == null) {
|
|
41
41
|
return value;
|
|
@@ -44,4 +44,3 @@ function TransactionsImportResponseToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
44
44
|
'data': (0, TransactionsImportResponseData_1.TransactionsImportResponseDataToJSON)(value['data']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
exports.TransactionsImportResponseToJSONTyped = TransactionsImportResponseToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionsImportResponseData = instanceOfTransactionsImportResponseData;
|
|
12
|
+
exports.TransactionsImportResponseDataFromJSON = TransactionsImportResponseDataFromJSON;
|
|
13
|
+
exports.TransactionsImportResponseDataFromJSONTyped = TransactionsImportResponseDataFromJSONTyped;
|
|
14
|
+
exports.TransactionsImportResponseDataToJSON = TransactionsImportResponseDataToJSON;
|
|
15
|
+
exports.TransactionsImportResponseDataToJSONTyped = TransactionsImportResponseDataToJSONTyped;
|
|
12
16
|
/**
|
|
13
17
|
* Check if a given object implements the TransactionsImportResponseData interface.
|
|
14
18
|
*/
|
|
@@ -17,11 +21,9 @@ function instanceOfTransactionsImportResponseData(value) {
|
|
|
17
21
|
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
|
-
exports.instanceOfTransactionsImportResponseData = instanceOfTransactionsImportResponseData;
|
|
21
24
|
function TransactionsImportResponseDataFromJSON(json) {
|
|
22
25
|
return TransactionsImportResponseDataFromJSONTyped(json, false);
|
|
23
26
|
}
|
|
24
|
-
exports.TransactionsImportResponseDataFromJSON = TransactionsImportResponseDataFromJSON;
|
|
25
27
|
function TransactionsImportResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
28
|
if (json == null) {
|
|
27
29
|
return json;
|
|
@@ -30,11 +32,9 @@ function TransactionsImportResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
30
32
|
'transaction_ids': json['transaction_ids'],
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
|
-
exports.TransactionsImportResponseDataFromJSONTyped = TransactionsImportResponseDataFromJSONTyped;
|
|
34
35
|
function TransactionsImportResponseDataToJSON(json) {
|
|
35
36
|
return TransactionsImportResponseDataToJSONTyped(json, false);
|
|
36
37
|
}
|
|
37
|
-
exports.TransactionsImportResponseDataToJSON = TransactionsImportResponseDataToJSON;
|
|
38
38
|
function TransactionsImportResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
39
|
if (value == null) {
|
|
40
40
|
return value;
|
|
@@ -43,4 +43,3 @@ function TransactionsImportResponseDataToJSONTyped(value, ignoreDiscriminator =
|
|
|
43
43
|
'transaction_ids': value['transaction_ids'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
exports.TransactionsImportResponseDataToJSONTyped = TransactionsImportResponseDataToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionsResponse = instanceOfTransactionsResponse;
|
|
12
|
+
exports.TransactionsResponseFromJSON = TransactionsResponseFromJSON;
|
|
13
|
+
exports.TransactionsResponseFromJSONTyped = TransactionsResponseFromJSONTyped;
|
|
14
|
+
exports.TransactionsResponseToJSON = TransactionsResponseToJSON;
|
|
15
|
+
exports.TransactionsResponseToJSONTyped = TransactionsResponseToJSONTyped;
|
|
12
16
|
const TransactionsResponseData_1 = require("./TransactionsResponseData");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the TransactionsResponse interface.
|
|
@@ -18,11 +22,9 @@ function instanceOfTransactionsResponse(value) {
|
|
|
18
22
|
return false;
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
|
-
exports.instanceOfTransactionsResponse = instanceOfTransactionsResponse;
|
|
22
25
|
function TransactionsResponseFromJSON(json) {
|
|
23
26
|
return TransactionsResponseFromJSONTyped(json, false);
|
|
24
27
|
}
|
|
25
|
-
exports.TransactionsResponseFromJSON = TransactionsResponseFromJSON;
|
|
26
28
|
function TransactionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
29
|
if (json == null) {
|
|
28
30
|
return json;
|
|
@@ -31,11 +33,9 @@ function TransactionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
'data': (0, TransactionsResponseData_1.TransactionsResponseDataFromJSON)(json['data']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
|
-
exports.TransactionsResponseFromJSONTyped = TransactionsResponseFromJSONTyped;
|
|
35
36
|
function TransactionsResponseToJSON(json) {
|
|
36
37
|
return TransactionsResponseToJSONTyped(json, false);
|
|
37
38
|
}
|
|
38
|
-
exports.TransactionsResponseToJSON = TransactionsResponseToJSON;
|
|
39
39
|
function TransactionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
40
|
if (value == null) {
|
|
41
41
|
return value;
|
|
@@ -44,4 +44,3 @@ function TransactionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
44
|
'data': (0, TransactionsResponseData_1.TransactionsResponseDataToJSON)(value['data']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
exports.TransactionsResponseToJSONTyped = TransactionsResponseToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfTransactionsResponseData = instanceOfTransactionsResponseData;
|
|
12
|
+
exports.TransactionsResponseDataFromJSON = TransactionsResponseDataFromJSON;
|
|
13
|
+
exports.TransactionsResponseDataFromJSONTyped = TransactionsResponseDataFromJSONTyped;
|
|
14
|
+
exports.TransactionsResponseDataToJSON = TransactionsResponseDataToJSON;
|
|
15
|
+
exports.TransactionsResponseDataToJSONTyped = TransactionsResponseDataToJSONTyped;
|
|
12
16
|
const TransactionDetail_1 = require("./TransactionDetail");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the TransactionsResponseData interface.
|
|
@@ -20,11 +24,9 @@ function instanceOfTransactionsResponseData(value) {
|
|
|
20
24
|
return false;
|
|
21
25
|
return true;
|
|
22
26
|
}
|
|
23
|
-
exports.instanceOfTransactionsResponseData = instanceOfTransactionsResponseData;
|
|
24
27
|
function TransactionsResponseDataFromJSON(json) {
|
|
25
28
|
return TransactionsResponseDataFromJSONTyped(json, false);
|
|
26
29
|
}
|
|
27
|
-
exports.TransactionsResponseDataFromJSON = TransactionsResponseDataFromJSON;
|
|
28
30
|
function TransactionsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
31
|
if (json == null) {
|
|
30
32
|
return json;
|
|
@@ -34,11 +36,9 @@ function TransactionsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
36
|
'server_knowledge': json['server_knowledge'],
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
|
-
exports.TransactionsResponseDataFromJSONTyped = TransactionsResponseDataFromJSONTyped;
|
|
38
39
|
function TransactionsResponseDataToJSON(json) {
|
|
39
40
|
return TransactionsResponseDataToJSONTyped(json, false);
|
|
40
41
|
}
|
|
41
|
-
exports.TransactionsResponseDataToJSON = TransactionsResponseDataToJSON;
|
|
42
42
|
function TransactionsResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
@@ -48,4 +48,3 @@ function TransactionsResponseDataToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
48
48
|
'server_knowledge': value['server_knowledge'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
exports.TransactionsResponseDataToJSONTyped = TransactionsResponseDataToJSONTyped;
|
package/dist/models/User.js
CHANGED
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfUser = instanceOfUser;
|
|
12
|
+
exports.UserFromJSON = UserFromJSON;
|
|
13
|
+
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
14
|
+
exports.UserToJSON = UserToJSON;
|
|
15
|
+
exports.UserToJSONTyped = UserToJSONTyped;
|
|
12
16
|
/**
|
|
13
17
|
* Check if a given object implements the User interface.
|
|
14
18
|
*/
|
|
@@ -17,11 +21,9 @@ function instanceOfUser(value) {
|
|
|
17
21
|
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
|
-
exports.instanceOfUser = instanceOfUser;
|
|
21
24
|
function UserFromJSON(json) {
|
|
22
25
|
return UserFromJSONTyped(json, false);
|
|
23
26
|
}
|
|
24
|
-
exports.UserFromJSON = UserFromJSON;
|
|
25
27
|
function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
28
|
if (json == null) {
|
|
27
29
|
return json;
|
|
@@ -30,11 +32,9 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
32
|
'id': json['id'],
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
|
-
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
34
35
|
function UserToJSON(json) {
|
|
35
36
|
return UserToJSONTyped(json, false);
|
|
36
37
|
}
|
|
37
|
-
exports.UserToJSON = UserToJSON;
|
|
38
38
|
function UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
39
|
if (value == null) {
|
|
40
40
|
return value;
|
|
@@ -43,4 +43,3 @@ function UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
43
|
'id': value['id'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
exports.UserToJSONTyped = UserToJSONTyped;
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.instanceOfUserResponse = instanceOfUserResponse;
|
|
12
|
+
exports.UserResponseFromJSON = UserResponseFromJSON;
|
|
13
|
+
exports.UserResponseFromJSONTyped = UserResponseFromJSONTyped;
|
|
14
|
+
exports.UserResponseToJSON = UserResponseToJSON;
|
|
15
|
+
exports.UserResponseToJSONTyped = UserResponseToJSONTyped;
|
|
12
16
|
const UserResponseData_1 = require("./UserResponseData");
|
|
13
17
|
/**
|
|
14
18
|
* Check if a given object implements the UserResponse interface.
|
|
@@ -18,11 +22,9 @@ function instanceOfUserResponse(value) {
|
|
|
18
22
|
return false;
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
|
-
exports.instanceOfUserResponse = instanceOfUserResponse;
|
|
22
25
|
function UserResponseFromJSON(json) {
|
|
23
26
|
return UserResponseFromJSONTyped(json, false);
|
|
24
27
|
}
|
|
25
|
-
exports.UserResponseFromJSON = UserResponseFromJSON;
|
|
26
28
|
function UserResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
29
|
if (json == null) {
|
|
28
30
|
return json;
|
|
@@ -31,11 +33,9 @@ function UserResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
'data': (0, UserResponseData_1.UserResponseDataFromJSON)(json['data']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
|
-
exports.UserResponseFromJSONTyped = UserResponseFromJSONTyped;
|
|
35
36
|
function UserResponseToJSON(json) {
|
|
36
37
|
return UserResponseToJSONTyped(json, false);
|
|
37
38
|
}
|
|
38
|
-
exports.UserResponseToJSON = UserResponseToJSON;
|
|
39
39
|
function UserResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
40
|
if (value == null) {
|
|
41
41
|
return value;
|
|
@@ -44,4 +44,3 @@ function UserResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
44
|
'data': (0, UserResponseData_1.UserResponseDataToJSON)(value['data']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
exports.UserResponseToJSONTyped = UserResponseToJSONTyped;
|