ynab 2.3.0 → 2.5.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 +3 -1
- 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 +1 -6
- package/dist/apis/PayeesApi.js +1 -6
- package/dist/apis/ScheduledTransactionsApi.d.ts +16 -7
- package/dist/apis/ScheduledTransactionsApi.js +40 -6
- package/dist/apis/TransactionsApi.d.ts +28 -8
- package/dist/apis/TransactionsApi.js +57 -9
- package/dist/apis/UserApi.d.ts +1 -6
- package/dist/apis/UserApi.js +1 -6
- package/dist/browser/ynab.js +1 -1
- package/dist/esm/apis/AccountsApi.d.ts +1 -6
- package/dist/esm/apis/AccountsApi.js +2 -7
- package/dist/esm/apis/BudgetsApi.d.ts +1 -6
- package/dist/esm/apis/BudgetsApi.js +2 -7
- package/dist/esm/apis/CategoriesApi.d.ts +1 -6
- package/dist/esm/apis/CategoriesApi.js +2 -7
- package/dist/esm/apis/DeprecatedApi.js +1 -1
- package/dist/esm/apis/MonthsApi.d.ts +1 -6
- package/dist/esm/apis/MonthsApi.js +2 -7
- package/dist/esm/apis/PayeeLocationsApi.d.ts +1 -6
- package/dist/esm/apis/PayeeLocationsApi.js +2 -7
- package/dist/esm/apis/PayeesApi.d.ts +17 -7
- package/dist/esm/apis/PayeesApi.js +67 -8
- package/dist/esm/apis/ScheduledTransactionsApi.d.ts +16 -7
- package/dist/esm/apis/ScheduledTransactionsApi.js +64 -8
- package/dist/esm/apis/TransactionsApi.d.ts +40 -20
- package/dist/esm/apis/TransactionsApi.js +87 -17
- package/dist/esm/apis/UserApi.d.ts +1 -6
- package/dist/esm/apis/UserApi.js +2 -7
- package/dist/esm/models/Account.d.ts +2 -7
- package/dist/esm/models/Account.js +51 -51
- package/dist/esm/models/AccountResponse.d.ts +2 -7
- package/dist/esm/models/AccountResponse.js +8 -16
- package/dist/esm/models/AccountResponseData.d.ts +2 -7
- package/dist/esm/models/AccountResponseData.js +8 -16
- package/dist/esm/models/AccountType.d.ts +3 -7
- package/dist/esm/models/AccountType.js +11 -6
- package/dist/esm/models/AccountsResponse.d.ts +2 -7
- package/dist/esm/models/AccountsResponse.js +8 -16
- package/dist/esm/models/AccountsResponseData.d.ts +2 -7
- package/dist/esm/models/AccountsResponseData.js +11 -18
- package/dist/esm/models/BudgetDetail.d.ts +6 -11
- package/dist/esm/models/BudgetDetail.js +45 -53
- package/dist/esm/models/BudgetDetailResponse.d.ts +2 -7
- package/dist/esm/models/BudgetDetailResponse.js +8 -16
- package/dist/esm/models/BudgetDetailResponseData.d.ts +2 -7
- package/dist/esm/models/BudgetDetailResponseData.js +11 -18
- package/dist/esm/models/BudgetSettings.d.ts +2 -7
- package/dist/esm/models/BudgetSettings.js +11 -18
- package/dist/esm/models/BudgetSettingsResponse.d.ts +2 -7
- package/dist/esm/models/BudgetSettingsResponse.js +8 -16
- package/dist/esm/models/BudgetSettingsResponseData.d.ts +2 -7
- package/dist/esm/models/BudgetSettingsResponseData.js +8 -16
- package/dist/esm/models/BudgetSummary.d.ts +2 -7
- package/dist/esm/models/BudgetSummary.js +23 -31
- package/dist/esm/models/BudgetSummaryResponse.d.ts +2 -7
- package/dist/esm/models/BudgetSummaryResponse.js +8 -16
- package/dist/esm/models/BudgetSummaryResponseData.d.ts +2 -7
- package/dist/esm/models/BudgetSummaryResponseData.js +10 -19
- package/dist/esm/models/BulkResponse.d.ts +2 -7
- package/dist/esm/models/BulkResponse.js +8 -16
- package/dist/esm/models/BulkResponseData.d.ts +2 -7
- package/dist/esm/models/BulkResponseData.js +8 -16
- package/dist/esm/models/BulkResponseDataBulk.d.ts +2 -7
- package/dist/esm/models/BulkResponseDataBulk.js +11 -18
- package/dist/esm/models/BulkTransactions.d.ts +5 -10
- package/dist/esm/models/BulkTransactions.js +10 -18
- package/dist/esm/models/CategoriesResponse.d.ts +2 -7
- package/dist/esm/models/CategoriesResponse.js +8 -16
- package/dist/esm/models/CategoriesResponseData.d.ts +2 -7
- package/dist/esm/models/CategoriesResponseData.js +11 -18
- package/dist/esm/models/Category.d.ts +10 -9
- package/dist/esm/models/Category.js +61 -61
- package/dist/esm/models/CategoryGroup.d.ts +2 -7
- package/dist/esm/models/CategoryGroup.js +17 -22
- package/dist/esm/models/CategoryGroupWithCategories.d.ts +2 -7
- package/dist/esm/models/CategoryGroupWithCategories.js +20 -24
- package/dist/esm/models/CategoryResponse.d.ts +2 -7
- package/dist/esm/models/CategoryResponse.js +8 -16
- package/dist/esm/models/CategoryResponseData.d.ts +2 -7
- package/dist/esm/models/CategoryResponseData.js +8 -16
- package/dist/esm/models/CurrencyFormat.d.ts +2 -7
- package/dist/esm/models/CurrencyFormat.js +29 -30
- package/dist/esm/models/DateFormat.d.ts +2 -7
- package/dist/esm/models/DateFormat.js +8 -16
- package/dist/esm/models/ErrorDetail.d.ts +2 -7
- package/dist/esm/models/ErrorDetail.js +14 -20
- package/dist/esm/models/ErrorResponse.d.ts +2 -7
- package/dist/esm/models/ErrorResponse.js +8 -16
- package/dist/esm/models/ExistingTransaction.d.ts +89 -0
- package/dist/esm/models/ExistingTransaction.js +56 -0
- package/dist/esm/models/HybridTransaction.d.ts +12 -11
- package/dist/esm/models/HybridTransaction.js +63 -62
- package/dist/esm/models/HybridTransactionAllOf.d.ts +1 -1
- package/dist/esm/models/HybridTransactionsResponse.d.ts +2 -7
- package/dist/esm/models/HybridTransactionsResponse.js +8 -16
- package/dist/esm/models/HybridTransactionsResponseData.d.ts +2 -7
- package/dist/esm/models/HybridTransactionsResponseData.js +10 -19
- package/dist/esm/models/MonthDetail.d.ts +2 -7
- package/dist/esm/models/MonthDetail.js +30 -33
- package/dist/esm/models/MonthDetailResponse.d.ts +2 -7
- package/dist/esm/models/MonthDetailResponse.js +8 -16
- package/dist/esm/models/MonthDetailResponseData.d.ts +2 -7
- package/dist/esm/models/MonthDetailResponseData.js +8 -16
- package/dist/esm/models/MonthSummariesResponse.d.ts +2 -7
- package/dist/esm/models/MonthSummariesResponse.js +8 -16
- package/dist/esm/models/MonthSummariesResponseData.d.ts +2 -7
- package/dist/esm/models/MonthSummariesResponseData.js +11 -18
- package/dist/esm/models/MonthSummary.d.ts +2 -7
- package/dist/esm/models/MonthSummary.js +27 -31
- package/dist/esm/models/NewTransaction.d.ts +95 -0
- package/dist/esm/models/NewTransaction.js +58 -0
- package/dist/esm/models/PatchCategoryWrapper.d.ts +2 -7
- package/dist/esm/models/PatchCategoryWrapper.js +8 -16
- package/dist/esm/models/PatchMonthCategoryWrapper.d.ts +2 -7
- package/dist/esm/models/PatchMonthCategoryWrapper.js +8 -16
- package/dist/esm/models/PatchPayeeWrapper.d.ts +27 -0
- package/dist/esm/models/PatchPayeeWrapper.js +36 -0
- package/dist/esm/models/PatchTransactionsWrapper.d.ts +5 -10
- package/dist/esm/models/PatchTransactionsWrapper.js +10 -18
- package/dist/esm/models/Payee.d.ts +2 -7
- package/dist/esm/models/Payee.js +16 -23
- package/dist/esm/models/PayeeLocation.d.ts +2 -7
- package/dist/esm/models/PayeeLocation.js +20 -24
- package/dist/esm/models/PayeeLocationResponse.d.ts +2 -7
- package/dist/esm/models/PayeeLocationResponse.js +8 -16
- package/dist/esm/models/PayeeLocationResponseData.d.ts +2 -7
- package/dist/esm/models/PayeeLocationResponseData.js +8 -16
- package/dist/esm/models/PayeeLocationsResponse.d.ts +2 -7
- package/dist/esm/models/PayeeLocationsResponse.js +8 -16
- package/dist/esm/models/PayeeLocationsResponseData.d.ts +2 -7
- package/dist/esm/models/PayeeLocationsResponseData.js +8 -16
- package/dist/esm/models/PayeeResponse.d.ts +2 -7
- package/dist/esm/models/PayeeResponse.js +8 -16
- package/dist/esm/models/PayeeResponseData.d.ts +2 -7
- package/dist/esm/models/PayeeResponseData.js +8 -16
- package/dist/esm/models/PayeesResponse.d.ts +2 -7
- package/dist/esm/models/PayeesResponse.js +8 -16
- package/dist/esm/models/PayeesResponseData.d.ts +2 -7
- package/dist/esm/models/PayeesResponseData.js +11 -18
- package/dist/esm/models/PostAccountWrapper.d.ts +2 -7
- package/dist/esm/models/PostAccountWrapper.js +8 -16
- package/dist/esm/models/PostScheduledTransactionWrapper.d.ts +27 -0
- package/dist/esm/models/PostScheduledTransactionWrapper.js +36 -0
- package/dist/esm/models/PostTransactionsWrapper.d.ts +7 -12
- package/dist/esm/models/PostTransactionsWrapper.js +10 -20
- package/dist/esm/models/PutTransactionWrapper.d.ts +5 -10
- package/dist/esm/models/PutTransactionWrapper.js +10 -18
- package/dist/esm/models/SaveAccount.d.ts +2 -7
- package/dist/esm/models/SaveAccount.js +14 -20
- package/dist/esm/models/SaveCategory.d.ts +2 -7
- package/dist/esm/models/SaveCategory.js +11 -21
- package/dist/esm/models/SaveCategoryResponse.d.ts +2 -7
- package/dist/esm/models/SaveCategoryResponse.js +8 -16
- package/dist/esm/models/SaveCategoryResponseData.d.ts +2 -7
- package/dist/esm/models/SaveCategoryResponseData.js +11 -18
- package/dist/esm/models/SaveMonthCategory.d.ts +2 -7
- package/dist/esm/models/SaveMonthCategory.js +8 -16
- package/dist/esm/models/SavePayee.d.ts +26 -0
- package/dist/esm/models/SavePayee.js +33 -0
- package/dist/esm/models/SavePayeeResponse.d.ts +27 -0
- package/dist/esm/models/SavePayeeResponse.js +36 -0
- package/dist/esm/models/SavePayeeResponseData.d.ts +33 -0
- package/dist/esm/models/SavePayeeResponseData.js +40 -0
- package/dist/esm/models/SaveScheduledTransaction.d.ts +76 -0
- package/dist/esm/models/SaveScheduledTransaction.js +55 -0
- package/dist/esm/models/SaveSubTransaction.d.ts +2 -7
- package/dist/esm/models/SaveSubTransaction.js +16 -25
- package/dist/esm/models/SaveTransactionWithIdOrImportId.d.ts +101 -0
- package/dist/esm/models/SaveTransactionWithIdOrImportId.js +60 -0
- package/dist/esm/models/SaveTransactionWithOptionalFields.d.ts +5 -16
- package/dist/esm/models/SaveTransactionWithOptionalFields.js +29 -41
- package/dist/esm/models/SaveTransactionsResponse.d.ts +2 -7
- package/dist/esm/models/SaveTransactionsResponse.js +8 -16
- package/dist/esm/models/SaveTransactionsResponseData.d.ts +2 -7
- package/dist/esm/models/SaveTransactionsResponseData.js +17 -25
- package/dist/esm/models/ScheduledSubTransaction.d.ts +2 -7
- package/dist/esm/models/ScheduledSubTransaction.js +25 -31
- package/dist/esm/models/ScheduledTransactionDetail.d.ts +10 -9
- package/dist/esm/models/ScheduledTransactionDetail.js +49 -48
- package/dist/esm/models/ScheduledTransactionFrequency.d.ts +30 -0
- package/dist/esm/models/ScheduledTransactionFrequency.js +46 -0
- package/dist/esm/models/ScheduledTransactionResponse.d.ts +2 -7
- package/dist/esm/models/ScheduledTransactionResponse.js +8 -16
- package/dist/esm/models/ScheduledTransactionResponseData.d.ts +2 -7
- package/dist/esm/models/ScheduledTransactionResponseData.js +8 -16
- package/dist/esm/models/ScheduledTransactionSummary.d.ts +9 -8
- package/dist/esm/models/ScheduledTransactionSummary.js +38 -39
- package/dist/esm/models/ScheduledTransactionsResponse.d.ts +2 -7
- package/dist/esm/models/ScheduledTransactionsResponse.js +8 -16
- package/dist/esm/models/ScheduledTransactionsResponseData.d.ts +2 -7
- package/dist/esm/models/ScheduledTransactionsResponseData.js +11 -18
- package/dist/esm/models/SubTransaction.d.ts +2 -7
- package/dist/esm/models/SubTransaction.js +31 -37
- package/dist/esm/models/TransactionClearedStatus.d.ts +3 -7
- package/dist/esm/models/TransactionClearedStatus.js +11 -6
- package/dist/esm/models/TransactionDetail.d.ts +12 -11
- package/dist/esm/models/TransactionDetail.js +62 -61
- package/dist/esm/models/TransactionFlagColor.d.ts +3 -7
- package/dist/esm/models/TransactionFlagColor.js +11 -6
- package/dist/esm/models/TransactionResponse.d.ts +2 -7
- package/dist/esm/models/TransactionResponse.js +8 -16
- package/dist/esm/models/TransactionResponseData.d.ts +2 -7
- package/dist/esm/models/TransactionResponseData.js +8 -16
- package/dist/esm/models/TransactionSummary.d.ts +11 -10
- package/dist/esm/models/TransactionSummary.js +51 -52
- package/dist/esm/models/TransactionsImportResponse.d.ts +2 -7
- package/dist/esm/models/TransactionsImportResponse.js +8 -16
- package/dist/esm/models/TransactionsImportResponseData.d.ts +2 -7
- package/dist/esm/models/TransactionsImportResponseData.js +8 -16
- package/dist/esm/models/TransactionsResponse.d.ts +2 -7
- package/dist/esm/models/TransactionsResponse.js +8 -16
- package/dist/esm/models/TransactionsResponseData.d.ts +2 -7
- package/dist/esm/models/TransactionsResponseData.js +11 -18
- package/dist/esm/models/User.d.ts +2 -7
- package/dist/esm/models/User.js +8 -16
- package/dist/esm/models/UserResponse.d.ts +2 -7
- package/dist/esm/models/UserResponse.js +8 -16
- package/dist/esm/models/UserResponseData.d.ts +2 -7
- package/dist/esm/models/UserResponseData.js +8 -16
- package/dist/esm/models/index.d.ts +10 -9
- package/dist/esm/models/index.js +10 -9
- package/dist/esm/runtime.d.ts +10 -15
- package/dist/esm/runtime.js +2 -7
- package/dist/models/Account.d.ts +7 -12
- package/dist/models/Account.js +1 -6
- package/dist/models/AccountResponse.d.ts +1 -6
- package/dist/models/AccountResponse.js +1 -6
- package/dist/models/AccountResponseData.d.ts +1 -6
- package/dist/models/AccountResponseData.js +1 -6
- package/dist/models/AccountType.d.ts +1 -6
- package/dist/models/AccountType.js +1 -6
- package/dist/models/AccountsResponse.d.ts +1 -6
- package/dist/models/AccountsResponse.js +1 -6
- package/dist/models/AccountsResponseData.d.ts +1 -6
- package/dist/models/AccountsResponseData.js +1 -6
- package/dist/models/BudgetDetail.d.ts +3 -8
- package/dist/models/BudgetDetail.js +1 -6
- package/dist/models/BudgetDetailResponse.d.ts +1 -6
- package/dist/models/BudgetDetailResponse.js +1 -6
- package/dist/models/BudgetDetailResponseData.d.ts +1 -6
- package/dist/models/BudgetDetailResponseData.js +1 -6
- package/dist/models/BudgetSettings.d.ts +1 -6
- package/dist/models/BudgetSettings.js +1 -6
- package/dist/models/BudgetSettingsResponse.d.ts +1 -6
- package/dist/models/BudgetSettingsResponse.js +1 -6
- package/dist/models/BudgetSettingsResponseData.d.ts +1 -6
- package/dist/models/BudgetSettingsResponseData.js +1 -6
- package/dist/models/BudgetSummary.d.ts +3 -8
- package/dist/models/BudgetSummary.js +1 -6
- package/dist/models/BudgetSummaryResponse.d.ts +1 -6
- package/dist/models/BudgetSummaryResponse.js +1 -6
- package/dist/models/BudgetSummaryResponseData.d.ts +1 -6
- package/dist/models/BudgetSummaryResponseData.js +1 -6
- package/dist/models/BulkResponse.d.ts +1 -6
- package/dist/models/BulkResponse.js +1 -6
- package/dist/models/BulkResponseData.d.ts +1 -6
- package/dist/models/BulkResponseData.js +1 -6
- package/dist/models/BulkResponseDataBulk.d.ts +1 -6
- package/dist/models/BulkResponseDataBulk.js +1 -6
- package/dist/models/BulkTransactions.d.ts +1 -6
- package/dist/models/BulkTransactions.js +1 -6
- package/dist/models/CategoriesResponse.d.ts +1 -6
- package/dist/models/CategoriesResponse.js +1 -6
- package/dist/models/CategoriesResponseData.d.ts +1 -6
- package/dist/models/CategoriesResponseData.js +1 -6
- package/dist/models/Category.d.ts +16 -21
- package/dist/models/Category.js +1 -6
- package/dist/models/CategoryGroup.d.ts +1 -6
- package/dist/models/CategoryGroup.js +1 -6
- package/dist/models/CategoryGroupWithCategories.d.ts +1 -6
- package/dist/models/CategoryGroupWithCategories.js +1 -6
- package/dist/models/CategoryResponse.d.ts +1 -6
- package/dist/models/CategoryResponse.js +1 -6
- package/dist/models/CategoryResponseData.d.ts +1 -6
- package/dist/models/CategoryResponseData.js +1 -6
- package/dist/models/CurrencyFormat.d.ts +1 -6
- package/dist/models/CurrencyFormat.js +1 -6
- package/dist/models/DateFormat.d.ts +1 -6
- package/dist/models/DateFormat.js +1 -6
- package/dist/models/ErrorDetail.d.ts +1 -6
- package/dist/models/ErrorDetail.js +1 -6
- package/dist/models/ErrorResponse.d.ts +1 -6
- package/dist/models/ErrorResponse.js +1 -6
- package/dist/models/ExistingTransaction.d.ts +7 -12
- package/dist/models/ExistingTransaction.js +1 -6
- package/dist/models/HybridTransaction.d.ts +15 -20
- package/dist/models/HybridTransaction.js +1 -6
- package/dist/models/HybridTransactionsResponse.d.ts +1 -6
- package/dist/models/HybridTransactionsResponse.js +1 -6
- package/dist/models/HybridTransactionsResponseData.d.ts +1 -6
- package/dist/models/HybridTransactionsResponseData.js +1 -6
- package/dist/models/MonthDetail.d.ts +3 -8
- package/dist/models/MonthDetail.js +1 -6
- package/dist/models/MonthDetailResponse.d.ts +1 -6
- package/dist/models/MonthDetailResponse.js +1 -6
- package/dist/models/MonthDetailResponseData.d.ts +1 -6
- package/dist/models/MonthDetailResponseData.js +1 -6
- package/dist/models/MonthSummariesResponse.d.ts +1 -6
- package/dist/models/MonthSummariesResponse.js +1 -6
- package/dist/models/MonthSummariesResponseData.d.ts +1 -6
- package/dist/models/MonthSummariesResponseData.js +1 -6
- package/dist/models/MonthSummary.d.ts +3 -8
- package/dist/models/MonthSummary.js +1 -6
- package/dist/models/NewTransaction.d.ts +8 -13
- package/dist/models/NewTransaction.js +1 -6
- package/dist/models/PatchCategoryWrapper.d.ts +1 -6
- package/dist/models/PatchCategoryWrapper.js +1 -6
- package/dist/models/PatchMonthCategoryWrapper.d.ts +1 -6
- package/dist/models/PatchMonthCategoryWrapper.js +1 -6
- package/dist/models/PatchPayeeWrapper.d.ts +1 -6
- package/dist/models/PatchPayeeWrapper.js +1 -6
- package/dist/models/PatchTransactionsWrapper.d.ts +1 -6
- package/dist/models/PatchTransactionsWrapper.js +1 -6
- package/dist/models/Payee.d.ts +2 -7
- package/dist/models/Payee.js +1 -6
- package/dist/models/PayeeLocation.d.ts +1 -6
- package/dist/models/PayeeLocation.js +1 -6
- package/dist/models/PayeeLocationResponse.d.ts +1 -6
- package/dist/models/PayeeLocationResponse.js +1 -6
- package/dist/models/PayeeLocationResponseData.d.ts +1 -6
- package/dist/models/PayeeLocationResponseData.js +1 -6
- package/dist/models/PayeeLocationsResponse.d.ts +1 -6
- package/dist/models/PayeeLocationsResponse.js +1 -6
- package/dist/models/PayeeLocationsResponseData.d.ts +1 -6
- package/dist/models/PayeeLocationsResponseData.js +1 -6
- package/dist/models/PayeeResponse.d.ts +1 -6
- package/dist/models/PayeeResponse.js +1 -6
- package/dist/models/PayeeResponseData.d.ts +1 -6
- package/dist/models/PayeeResponseData.js +1 -6
- package/dist/models/PayeesResponse.d.ts +1 -6
- package/dist/models/PayeesResponse.js +1 -6
- package/dist/models/PayeesResponseData.d.ts +1 -6
- package/dist/models/PayeesResponseData.js +1 -6
- package/dist/models/PostAccountWrapper.d.ts +1 -6
- package/dist/models/PostAccountWrapper.js +1 -6
- package/dist/models/PostScheduledTransactionWrapper.d.ts +27 -0
- package/dist/models/PostScheduledTransactionWrapper.js +43 -0
- package/dist/models/PostTransactionsWrapper.d.ts +1 -6
- package/dist/models/PostTransactionsWrapper.js +1 -6
- package/dist/models/PutTransactionWrapper.d.ts +1 -6
- package/dist/models/PutTransactionWrapper.js +1 -6
- package/dist/models/SaveAccount.d.ts +1 -6
- package/dist/models/SaveAccount.js +1 -6
- package/dist/models/SaveCategory.d.ts +3 -8
- package/dist/models/SaveCategory.js +1 -6
- package/dist/models/SaveCategoryResponse.d.ts +1 -6
- package/dist/models/SaveCategoryResponse.js +1 -6
- package/dist/models/SaveCategoryResponseData.d.ts +1 -6
- package/dist/models/SaveCategoryResponseData.js +1 -6
- package/dist/models/SaveMonthCategory.d.ts +1 -6
- package/dist/models/SaveMonthCategory.js +1 -6
- package/dist/models/SavePayee.d.ts +1 -6
- package/dist/models/SavePayee.js +1 -6
- package/dist/models/SavePayeeResponse.d.ts +1 -6
- package/dist/models/SavePayeeResponse.js +1 -6
- package/dist/models/SavePayeeResponseData.d.ts +1 -6
- package/dist/models/SavePayeeResponseData.js +1 -6
- package/dist/models/SaveScheduledTransaction.d.ts +76 -0
- package/dist/models/SaveScheduledTransaction.js +62 -0
- package/dist/models/SaveSubTransaction.d.ts +5 -10
- package/dist/models/SaveSubTransaction.js +1 -6
- package/dist/models/SaveTransactionWithIdOrImportId.d.ts +9 -14
- package/dist/models/SaveTransactionWithIdOrImportId.js +1 -6
- package/dist/models/SaveTransactionWithOptionalFields.d.ts +7 -12
- package/dist/models/SaveTransactionWithOptionalFields.js +1 -6
- package/dist/models/SaveTransactionsResponse.d.ts +1 -6
- package/dist/models/SaveTransactionsResponse.js +1 -6
- package/dist/models/SaveTransactionsResponseData.d.ts +1 -6
- package/dist/models/SaveTransactionsResponseData.js +1 -6
- package/dist/models/ScheduledSubTransaction.d.ts +5 -10
- package/dist/models/ScheduledSubTransaction.js +1 -6
- package/dist/models/ScheduledTransactionDetail.d.ts +9 -14
- package/dist/models/ScheduledTransactionDetail.js +1 -6
- package/dist/models/ScheduledTransactionFrequency.d.ts +30 -0
- package/dist/models/ScheduledTransactionFrequency.js +53 -0
- package/dist/models/ScheduledTransactionResponse.d.ts +1 -6
- package/dist/models/ScheduledTransactionResponse.js +1 -6
- package/dist/models/ScheduledTransactionResponseData.d.ts +1 -6
- package/dist/models/ScheduledTransactionResponseData.js +1 -6
- package/dist/models/ScheduledTransactionSummary.d.ts +7 -12
- package/dist/models/ScheduledTransactionSummary.js +1 -6
- package/dist/models/ScheduledTransactionsResponse.d.ts +1 -6
- package/dist/models/ScheduledTransactionsResponse.js +1 -6
- package/dist/models/ScheduledTransactionsResponseData.d.ts +1 -6
- package/dist/models/ScheduledTransactionsResponseData.js +1 -6
- package/dist/models/SubTransaction.d.ts +8 -13
- package/dist/models/SubTransaction.js +1 -6
- package/dist/models/TransactionClearedStatus.d.ts +1 -6
- package/dist/models/TransactionClearedStatus.js +1 -6
- package/dist/models/TransactionDetail.d.ts +15 -20
- package/dist/models/TransactionDetail.js +1 -6
- package/dist/models/TransactionFlagColor.d.ts +1 -6
- package/dist/models/TransactionFlagColor.js +1 -6
- package/dist/models/TransactionResponse.d.ts +1 -6
- package/dist/models/TransactionResponse.js +1 -6
- package/dist/models/TransactionResponseData.d.ts +1 -6
- package/dist/models/TransactionResponseData.js +1 -6
- package/dist/models/TransactionSummary.d.ts +13 -18
- package/dist/models/TransactionSummary.js +1 -6
- package/dist/models/TransactionsImportResponse.d.ts +1 -6
- package/dist/models/TransactionsImportResponse.js +1 -6
- package/dist/models/TransactionsImportResponseData.d.ts +1 -6
- package/dist/models/TransactionsImportResponseData.js +1 -6
- package/dist/models/TransactionsResponse.d.ts +1 -6
- package/dist/models/TransactionsResponse.js +1 -6
- package/dist/models/TransactionsResponseData.d.ts +1 -6
- package/dist/models/TransactionsResponseData.js +1 -6
- package/dist/models/User.d.ts +1 -6
- package/dist/models/User.js +1 -6
- package/dist/models/UserResponse.d.ts +1 -6
- package/dist/models/UserResponse.js +1 -6
- package/dist/models/UserResponseData.d.ts +1 -6
- package/dist/models/UserResponseData.js +1 -6
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -6
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
|
@@ -4,29 +4,26 @@
|
|
|
4
4
|
* YNAB API Endpoints
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
13
8
|
*/
|
|
14
9
|
import { AccountTypeFromJSON, AccountTypeToJSON, } from './AccountType';
|
|
15
10
|
/**
|
|
16
11
|
* Check if a given object implements the SaveAccount interface.
|
|
17
12
|
*/
|
|
18
13
|
export function instanceOfSaveAccount(value) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
15
|
+
return false;
|
|
16
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
17
|
+
return false;
|
|
18
|
+
if (!('balance' in value) || value['balance'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
24
21
|
}
|
|
25
22
|
export function SaveAccountFromJSON(json) {
|
|
26
23
|
return SaveAccountFromJSONTyped(json, false);
|
|
27
24
|
}
|
|
28
25
|
export function SaveAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (
|
|
26
|
+
if (json == null) {
|
|
30
27
|
return json;
|
|
31
28
|
}
|
|
32
29
|
return {
|
|
@@ -36,15 +33,12 @@ export function SaveAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
33
|
};
|
|
37
34
|
}
|
|
38
35
|
export function SaveAccountToJSON(value) {
|
|
39
|
-
if (value
|
|
40
|
-
return
|
|
41
|
-
}
|
|
42
|
-
if (value === null) {
|
|
43
|
-
return null;
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
44
38
|
}
|
|
45
39
|
return {
|
|
46
|
-
'name': value
|
|
47
|
-
'type': AccountTypeToJSON(value
|
|
48
|
-
'balance': value
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'type': AccountTypeToJSON(value['type']),
|
|
42
|
+
'balance': value['balance'],
|
|
49
43
|
};
|
|
50
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
|
/**
|
|
13
8
|
*
|
|
@@ -37,7 +32,7 @@ export interface SaveCategory {
|
|
|
37
32
|
/**
|
|
38
33
|
* Check if a given object implements the SaveCategory interface.
|
|
39
34
|
*/
|
|
40
|
-
export declare function instanceOfSaveCategory(value: object):
|
|
35
|
+
export declare function instanceOfSaveCategory(value: object): value is SaveCategory;
|
|
41
36
|
export declare function SaveCategoryFromJSON(json: any): SaveCategory;
|
|
42
37
|
export declare function SaveCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCategory;
|
|
43
38
|
export declare function SaveCategoryToJSON(value?: SaveCategory | null): any;
|
|
@@ -4,44 +4,34 @@
|
|
|
4
4
|
* YNAB API Endpoints
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
13
8
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
9
|
/**
|
|
16
10
|
* Check if a given object implements the SaveCategory interface.
|
|
17
11
|
*/
|
|
18
12
|
export function instanceOfSaveCategory(value) {
|
|
19
|
-
|
|
20
|
-
return isInstance;
|
|
13
|
+
return true;
|
|
21
14
|
}
|
|
22
15
|
export function SaveCategoryFromJSON(json) {
|
|
23
16
|
return SaveCategoryFromJSONTyped(json, false);
|
|
24
17
|
}
|
|
25
18
|
export function SaveCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (
|
|
19
|
+
if (json == null) {
|
|
27
20
|
return json;
|
|
28
21
|
}
|
|
29
22
|
return {
|
|
30
|
-
'name':
|
|
31
|
-
'note':
|
|
32
|
-
'category_group_id':
|
|
23
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
24
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
25
|
+
'category_group_id': json['category_group_id'] == null ? undefined : json['category_group_id'],
|
|
33
26
|
};
|
|
34
27
|
}
|
|
35
28
|
export function SaveCategoryToJSON(value) {
|
|
36
|
-
if (value
|
|
37
|
-
return
|
|
38
|
-
}
|
|
39
|
-
if (value === null) {
|
|
40
|
-
return null;
|
|
29
|
+
if (value == null) {
|
|
30
|
+
return value;
|
|
41
31
|
}
|
|
42
32
|
return {
|
|
43
|
-
'name': value
|
|
44
|
-
'note': value
|
|
45
|
-
'category_group_id': value
|
|
33
|
+
'name': value['name'],
|
|
34
|
+
'note': value['note'],
|
|
35
|
+
'category_group_id': value['category_group_id'],
|
|
46
36
|
};
|
|
47
37
|
}
|
|
@@ -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 { SaveCategoryResponseData } from './SaveCategoryResponseData';
|
|
13
8
|
/**
|
|
@@ -26,7 +21,7 @@ export interface SaveCategoryResponse {
|
|
|
26
21
|
/**
|
|
27
22
|
* Check if a given object implements the SaveCategoryResponse interface.
|
|
28
23
|
*/
|
|
29
|
-
export declare function instanceOfSaveCategoryResponse(value: object):
|
|
24
|
+
export declare function instanceOfSaveCategoryResponse(value: object): value is SaveCategoryResponse;
|
|
30
25
|
export declare function SaveCategoryResponseFromJSON(json: any): SaveCategoryResponse;
|
|
31
26
|
export declare function SaveCategoryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCategoryResponse;
|
|
32
27
|
export declare function SaveCategoryResponseToJSON(value?: SaveCategoryResponse | null): any;
|
|
@@ -4,27 +4,22 @@
|
|
|
4
4
|
* YNAB API Endpoints
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
13
8
|
*/
|
|
14
9
|
import { SaveCategoryResponseDataFromJSON, SaveCategoryResponseDataToJSON, } from './SaveCategoryResponseData';
|
|
15
10
|
/**
|
|
16
11
|
* Check if a given object implements the SaveCategoryResponse interface.
|
|
17
12
|
*/
|
|
18
13
|
export function instanceOfSaveCategoryResponse(value) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return
|
|
14
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
15
|
+
return false;
|
|
16
|
+
return true;
|
|
22
17
|
}
|
|
23
18
|
export function SaveCategoryResponseFromJSON(json) {
|
|
24
19
|
return SaveCategoryResponseFromJSONTyped(json, false);
|
|
25
20
|
}
|
|
26
21
|
export function SaveCategoryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (
|
|
22
|
+
if (json == null) {
|
|
28
23
|
return json;
|
|
29
24
|
}
|
|
30
25
|
return {
|
|
@@ -32,13 +27,10 @@ export function SaveCategoryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
27
|
};
|
|
33
28
|
}
|
|
34
29
|
export function SaveCategoryResponseToJSON(value) {
|
|
35
|
-
if (value
|
|
36
|
-
return
|
|
37
|
-
}
|
|
38
|
-
if (value === null) {
|
|
39
|
-
return null;
|
|
30
|
+
if (value == null) {
|
|
31
|
+
return value;
|
|
40
32
|
}
|
|
41
33
|
return {
|
|
42
|
-
'data': SaveCategoryResponseDataToJSON(value
|
|
34
|
+
'data': SaveCategoryResponseDataToJSON(value['data']),
|
|
43
35
|
};
|
|
44
36
|
}
|
|
@@ -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 { Category } from './Category';
|
|
13
8
|
/**
|
|
@@ -32,7 +27,7 @@ export interface SaveCategoryResponseData {
|
|
|
32
27
|
/**
|
|
33
28
|
* Check if a given object implements the SaveCategoryResponseData interface.
|
|
34
29
|
*/
|
|
35
|
-
export declare function instanceOfSaveCategoryResponseData(value: object):
|
|
30
|
+
export declare function instanceOfSaveCategoryResponseData(value: object): value is SaveCategoryResponseData;
|
|
36
31
|
export declare function SaveCategoryResponseDataFromJSON(json: any): SaveCategoryResponseData;
|
|
37
32
|
export declare function SaveCategoryResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCategoryResponseData;
|
|
38
33
|
export declare function SaveCategoryResponseDataToJSON(value?: SaveCategoryResponseData | null): any;
|
|
@@ -4,28 +4,24 @@
|
|
|
4
4
|
* YNAB API Endpoints
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
13
8
|
*/
|
|
14
9
|
import { CategoryFromJSON, CategoryToJSON, } from './Category';
|
|
15
10
|
/**
|
|
16
11
|
* Check if a given object implements the SaveCategoryResponseData interface.
|
|
17
12
|
*/
|
|
18
13
|
export function instanceOfSaveCategoryResponseData(value) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
15
|
+
return false;
|
|
16
|
+
if (!('server_knowledge' in value) || value['server_knowledge'] === undefined)
|
|
17
|
+
return false;
|
|
18
|
+
return true;
|
|
23
19
|
}
|
|
24
20
|
export function SaveCategoryResponseDataFromJSON(json) {
|
|
25
21
|
return SaveCategoryResponseDataFromJSONTyped(json, false);
|
|
26
22
|
}
|
|
27
23
|
export function SaveCategoryResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (
|
|
24
|
+
if (json == null) {
|
|
29
25
|
return json;
|
|
30
26
|
}
|
|
31
27
|
return {
|
|
@@ -34,14 +30,11 @@ export function SaveCategoryResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
30
|
};
|
|
35
31
|
}
|
|
36
32
|
export function SaveCategoryResponseDataToJSON(value) {
|
|
37
|
-
if (value
|
|
38
|
-
return
|
|
39
|
-
}
|
|
40
|
-
if (value === null) {
|
|
41
|
-
return null;
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
42
35
|
}
|
|
43
36
|
return {
|
|
44
|
-
'category': CategoryToJSON(value
|
|
45
|
-
'server_knowledge': value
|
|
37
|
+
'category': CategoryToJSON(value['category']),
|
|
38
|
+
'server_knowledge': value['server_knowledge'],
|
|
46
39
|
};
|
|
47
40
|
}
|
|
@@ -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
|
*
|
|
@@ -25,7 +20,7 @@ export interface SaveMonthCategory {
|
|
|
25
20
|
/**
|
|
26
21
|
* Check if a given object implements the SaveMonthCategory interface.
|
|
27
22
|
*/
|
|
28
|
-
export declare function instanceOfSaveMonthCategory(value: object):
|
|
23
|
+
export declare function instanceOfSaveMonthCategory(value: object): value is SaveMonthCategory;
|
|
29
24
|
export declare function SaveMonthCategoryFromJSON(json: any): SaveMonthCategory;
|
|
30
25
|
export declare function SaveMonthCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMonthCategory;
|
|
31
26
|
export declare function SaveMonthCategoryToJSON(value?: SaveMonthCategory | null): any;
|
|
@@ -4,26 +4,21 @@
|
|
|
4
4
|
* YNAB API Endpoints
|
|
5
5
|
* 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
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
13
8
|
*/
|
|
14
9
|
/**
|
|
15
10
|
* Check if a given object implements the SaveMonthCategory interface.
|
|
16
11
|
*/
|
|
17
12
|
export function instanceOfSaveMonthCategory(value) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return
|
|
13
|
+
if (!('budgeted' in value) || value['budgeted'] === undefined)
|
|
14
|
+
return false;
|
|
15
|
+
return true;
|
|
21
16
|
}
|
|
22
17
|
export function SaveMonthCategoryFromJSON(json) {
|
|
23
18
|
return SaveMonthCategoryFromJSONTyped(json, false);
|
|
24
19
|
}
|
|
25
20
|
export function SaveMonthCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (
|
|
21
|
+
if (json == null) {
|
|
27
22
|
return json;
|
|
28
23
|
}
|
|
29
24
|
return {
|
|
@@ -31,13 +26,10 @@ export function SaveMonthCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
26
|
};
|
|
32
27
|
}
|
|
33
28
|
export function SaveMonthCategoryToJSON(value) {
|
|
34
|
-
if (value
|
|
35
|
-
return
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
29
|
+
if (value == null) {
|
|
30
|
+
return value;
|
|
39
31
|
}
|
|
40
32
|
return {
|
|
41
|
-
'budgeted': value
|
|
33
|
+
'budgeted': value['budgeted'],
|
|
42
34
|
};
|
|
43
35
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YNAB API Endpoints
|
|
3
|
+
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
4
|
+
*
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface SavePayee
|
|
11
|
+
*/
|
|
12
|
+
export interface SavePayee {
|
|
13
|
+
/**
|
|
14
|
+
* The name of the payee. The name must be a maximum of 500 characters.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof SavePayee
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SavePayee interface.
|
|
22
|
+
*/
|
|
23
|
+
export declare function instanceOfSavePayee(value: object): value is SavePayee;
|
|
24
|
+
export declare function SavePayeeFromJSON(json: any): SavePayee;
|
|
25
|
+
export declare function SavePayeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavePayee;
|
|
26
|
+
export declare function SavePayeeToJSON(value?: SavePayee | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* YNAB API Endpoints
|
|
5
|
+
* 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
|
|
6
|
+
*
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Check if a given object implements the SavePayee interface.
|
|
11
|
+
*/
|
|
12
|
+
export function instanceOfSavePayee(value) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
export function SavePayeeFromJSON(json) {
|
|
16
|
+
return SavePayeeFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function SavePayeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if (json == null) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function SavePayeeToJSON(value) {
|
|
27
|
+
if (value == null) {
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'name': value['name'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YNAB API Endpoints
|
|
3
|
+
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
4
|
+
*
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
+
*/
|
|
7
|
+
import type { SavePayeeResponseData } from './SavePayeeResponseData';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface SavePayeeResponse
|
|
12
|
+
*/
|
|
13
|
+
export interface SavePayeeResponse {
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {SavePayeeResponseData}
|
|
17
|
+
* @memberof SavePayeeResponse
|
|
18
|
+
*/
|
|
19
|
+
data: SavePayeeResponseData;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SavePayeeResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
export declare function instanceOfSavePayeeResponse(value: object): value is SavePayeeResponse;
|
|
25
|
+
export declare function SavePayeeResponseFromJSON(json: any): SavePayeeResponse;
|
|
26
|
+
export declare function SavePayeeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavePayeeResponse;
|
|
27
|
+
export declare function SavePayeeResponseToJSON(value?: SavePayeeResponse | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* YNAB API Endpoints
|
|
5
|
+
* 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
|
|
6
|
+
*
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
*/
|
|
9
|
+
import { SavePayeeResponseDataFromJSON, SavePayeeResponseDataToJSON, } from './SavePayeeResponseData';
|
|
10
|
+
/**
|
|
11
|
+
* Check if a given object implements the SavePayeeResponse interface.
|
|
12
|
+
*/
|
|
13
|
+
export function instanceOfSavePayeeResponse(value) {
|
|
14
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
15
|
+
return false;
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
export function SavePayeeResponseFromJSON(json) {
|
|
19
|
+
return SavePayeeResponseFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function SavePayeeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if (json == null) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'data': SavePayeeResponseDataFromJSON(json['data']),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function SavePayeeResponseToJSON(value) {
|
|
30
|
+
if (value == null) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'data': SavePayeeResponseDataToJSON(value['data']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YNAB API Endpoints
|
|
3
|
+
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
4
|
+
*
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
+
*/
|
|
7
|
+
import type { Payee } from './Payee';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface SavePayeeResponseData
|
|
12
|
+
*/
|
|
13
|
+
export interface SavePayeeResponseData {
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {Payee}
|
|
17
|
+
* @memberof SavePayeeResponseData
|
|
18
|
+
*/
|
|
19
|
+
payee: Payee;
|
|
20
|
+
/**
|
|
21
|
+
* The knowledge of the server
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof SavePayeeResponseData
|
|
24
|
+
*/
|
|
25
|
+
server_knowledge: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the SavePayeeResponseData interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfSavePayeeResponseData(value: object): value is SavePayeeResponseData;
|
|
31
|
+
export declare function SavePayeeResponseDataFromJSON(json: any): SavePayeeResponseData;
|
|
32
|
+
export declare function SavePayeeResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SavePayeeResponseData;
|
|
33
|
+
export declare function SavePayeeResponseDataToJSON(value?: SavePayeeResponseData | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* YNAB API Endpoints
|
|
5
|
+
* 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
|
|
6
|
+
*
|
|
7
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
*/
|
|
9
|
+
import { PayeeFromJSON, PayeeToJSON, } from './Payee';
|
|
10
|
+
/**
|
|
11
|
+
* Check if a given object implements the SavePayeeResponseData interface.
|
|
12
|
+
*/
|
|
13
|
+
export function instanceOfSavePayeeResponseData(value) {
|
|
14
|
+
if (!('payee' in value) || value['payee'] === undefined)
|
|
15
|
+
return false;
|
|
16
|
+
if (!('server_knowledge' in value) || value['server_knowledge'] === undefined)
|
|
17
|
+
return false;
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SavePayeeResponseDataFromJSON(json) {
|
|
21
|
+
return SavePayeeResponseDataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SavePayeeResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'payee': PayeeFromJSON(json['payee']),
|
|
29
|
+
'server_knowledge': json['server_knowledge'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SavePayeeResponseDataToJSON(value) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'payee': PayeeToJSON(value['payee']),
|
|
38
|
+
'server_knowledge': value['server_knowledge'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YNAB API Endpoints
|
|
3
|
+
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
4
|
+
*
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
6
|
+
*/
|
|
7
|
+
import type { TransactionFlagColor } from './TransactionFlagColor';
|
|
8
|
+
import type { ScheduledTransactionFrequency } from './ScheduledTransactionFrequency';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface SaveScheduledTransaction
|
|
13
|
+
*/
|
|
14
|
+
export interface SaveScheduledTransaction {
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof SaveScheduledTransaction
|
|
19
|
+
*/
|
|
20
|
+
account_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* The scheduled transaction date in ISO format (e.g. 2016-12-01).
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SaveScheduledTransaction
|
|
25
|
+
*/
|
|
26
|
+
date: string;
|
|
27
|
+
/**
|
|
28
|
+
* The scheduled transaction amount in milliunits format.
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof SaveScheduledTransaction
|
|
31
|
+
*/
|
|
32
|
+
amount?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The payee for the scheduled transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `transfer_payee_id` on the account resource.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof SaveScheduledTransaction
|
|
37
|
+
*/
|
|
38
|
+
payee_id?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The payee name for the the scheduled transaction. If a `payee_name` value is provided and `payee_id` has a null value, the `payee_name` value will be used to resolve the payee by either (1) a payee with the same name or (2) creation of a new payee.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof SaveScheduledTransaction
|
|
43
|
+
*/
|
|
44
|
+
payee_name?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* The category for the scheduled transaction. Credit Card Payment categories are not permitted. Creating a split scheduled transaction is not currently supported.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof SaveScheduledTransaction
|
|
49
|
+
*/
|
|
50
|
+
category_id?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof SaveScheduledTransaction
|
|
55
|
+
*/
|
|
56
|
+
memo?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {TransactionFlagColor}
|
|
60
|
+
* @memberof SaveScheduledTransaction
|
|
61
|
+
*/
|
|
62
|
+
flag_color?: TransactionFlagColor | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {ScheduledTransactionFrequency}
|
|
66
|
+
* @memberof SaveScheduledTransaction
|
|
67
|
+
*/
|
|
68
|
+
frequency?: ScheduledTransactionFrequency;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the SaveScheduledTransaction interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfSaveScheduledTransaction(value: object): value is SaveScheduledTransaction;
|
|
74
|
+
export declare function SaveScheduledTransactionFromJSON(json: any): SaveScheduledTransaction;
|
|
75
|
+
export declare function SaveScheduledTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveScheduledTransaction;
|
|
76
|
+
export declare function SaveScheduledTransactionToJSON(value?: SaveScheduledTransaction | null): any;
|