ynab 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/apis/AccountsApi.d.ts +1 -6
- package/dist/apis/AccountsApi.js +1 -6
- package/dist/apis/BudgetsApi.d.ts +1 -6
- package/dist/apis/BudgetsApi.js +1 -6
- package/dist/apis/CategoriesApi.d.ts +1 -6
- package/dist/apis/CategoriesApi.js +1 -6
- package/dist/apis/MonthsApi.d.ts +1 -6
- package/dist/apis/MonthsApi.js +1 -6
- package/dist/apis/PayeeLocationsApi.d.ts +1 -6
- package/dist/apis/PayeeLocationsApi.js +1 -6
- package/dist/apis/PayeesApi.d.ts +17 -7
- package/dist/apis/PayeesApi.js +43 -6
- package/dist/apis/ScheduledTransactionsApi.d.ts +16 -7
- package/dist/apis/ScheduledTransactionsApi.js +40 -6
- package/dist/apis/TransactionsApi.d.ts +36 -16
- package/dist/apis/TransactionsApi.js +65 -17
- package/dist/apis/UserApi.d.ts +1 -6
- package/dist/apis/UserApi.js +1 -6
- package/dist/browser/ynab.js +1 -1
- package/dist/models/Account.d.ts +2 -7
- package/dist/models/Account.js +51 -51
- package/dist/models/AccountResponse.d.ts +2 -7
- package/dist/models/AccountResponse.js +8 -16
- package/dist/models/AccountResponseData.d.ts +2 -7
- package/dist/models/AccountResponseData.js +8 -16
- package/dist/models/AccountType.d.ts +2 -6
- package/dist/models/AccountType.js +13 -7
- package/dist/models/AccountsResponse.d.ts +2 -7
- package/dist/models/AccountsResponse.js +8 -16
- package/dist/models/AccountsResponseData.d.ts +2 -7
- package/dist/models/AccountsResponseData.js +11 -18
- package/dist/models/BudgetDetail.d.ts +6 -11
- package/dist/models/BudgetDetail.js +45 -53
- package/dist/models/BudgetDetailResponse.d.ts +2 -7
- package/dist/models/BudgetDetailResponse.js +8 -16
- package/dist/models/BudgetDetailResponseData.d.ts +2 -7
- package/dist/models/BudgetDetailResponseData.js +11 -18
- package/dist/models/BudgetSettings.d.ts +2 -7
- package/dist/models/BudgetSettings.js +11 -18
- package/dist/models/BudgetSettingsResponse.d.ts +2 -7
- package/dist/models/BudgetSettingsResponse.js +8 -16
- package/dist/models/BudgetSettingsResponseData.d.ts +2 -7
- package/dist/models/BudgetSettingsResponseData.js +8 -16
- package/dist/models/BudgetSummary.d.ts +2 -7
- package/dist/models/BudgetSummary.js +23 -31
- package/dist/models/BudgetSummaryResponse.d.ts +2 -7
- package/dist/models/BudgetSummaryResponse.js +8 -16
- package/dist/models/BudgetSummaryResponseData.d.ts +2 -7
- package/dist/models/BudgetSummaryResponseData.js +10 -19
- package/dist/models/BulkResponse.d.ts +2 -7
- package/dist/models/BulkResponse.js +8 -16
- package/dist/models/BulkResponseData.d.ts +2 -7
- package/dist/models/BulkResponseData.js +8 -16
- package/dist/models/BulkResponseDataBulk.d.ts +2 -7
- package/dist/models/BulkResponseDataBulk.js +11 -18
- package/dist/models/BulkTransactions.d.ts +5 -10
- package/dist/models/BulkTransactions.js +10 -18
- package/dist/models/CategoriesResponse.d.ts +2 -7
- package/dist/models/CategoriesResponse.js +8 -16
- package/dist/models/CategoriesResponseData.d.ts +2 -7
- package/dist/models/CategoriesResponseData.js +11 -18
- package/dist/models/Category.d.ts +9 -8
- package/dist/models/Category.js +61 -61
- package/dist/models/CategoryGroup.d.ts +2 -7
- package/dist/models/CategoryGroup.js +17 -22
- package/dist/models/CategoryGroupWithCategories.d.ts +2 -7
- package/dist/models/CategoryGroupWithCategories.js +20 -24
- package/dist/models/CategoryResponse.d.ts +2 -7
- package/dist/models/CategoryResponse.js +8 -16
- package/dist/models/CategoryResponseData.d.ts +2 -7
- package/dist/models/CategoryResponseData.js +8 -16
- package/dist/models/CurrencyFormat.d.ts +2 -7
- package/dist/models/CurrencyFormat.js +29 -30
- package/dist/models/DateFormat.d.ts +2 -7
- package/dist/models/DateFormat.js +8 -16
- package/dist/models/ErrorDetail.d.ts +2 -7
- package/dist/models/ErrorDetail.js +14 -20
- package/dist/models/ErrorResponse.d.ts +2 -7
- package/dist/models/ErrorResponse.js +8 -16
- package/dist/models/ExistingTransaction.d.ts +89 -0
- package/dist/models/ExistingTransaction.js +63 -0
- package/dist/models/HybridTransaction.d.ts +10 -9
- package/dist/models/HybridTransaction.js +63 -62
- package/dist/models/HybridTransactionsResponse.d.ts +2 -7
- package/dist/models/HybridTransactionsResponse.js +8 -16
- package/dist/models/HybridTransactionsResponseData.d.ts +2 -7
- package/dist/models/HybridTransactionsResponseData.js +10 -19
- package/dist/models/MonthDetail.d.ts +2 -7
- package/dist/models/MonthDetail.js +30 -33
- package/dist/models/MonthDetailResponse.d.ts +2 -7
- package/dist/models/MonthDetailResponse.js +8 -16
- package/dist/models/MonthDetailResponseData.d.ts +2 -7
- package/dist/models/MonthDetailResponseData.js +8 -16
- package/dist/models/MonthSummariesResponse.d.ts +2 -7
- package/dist/models/MonthSummariesResponse.js +8 -16
- package/dist/models/MonthSummariesResponseData.d.ts +2 -7
- package/dist/models/MonthSummariesResponseData.js +11 -18
- package/dist/models/MonthSummary.d.ts +2 -7
- package/dist/models/MonthSummary.js +27 -31
- package/dist/models/NewTransaction.d.ts +95 -0
- package/dist/models/NewTransaction.js +65 -0
- package/dist/models/PatchCategoryWrapper.d.ts +2 -7
- package/dist/models/PatchCategoryWrapper.js +8 -16
- package/dist/models/PatchMonthCategoryWrapper.d.ts +2 -7
- package/dist/models/PatchMonthCategoryWrapper.js +8 -16
- package/dist/models/PatchPayeeWrapper.d.ts +27 -0
- package/dist/models/PatchPayeeWrapper.js +43 -0
- package/dist/models/PatchTransactionsWrapper.d.ts +5 -10
- package/dist/models/PatchTransactionsWrapper.js +10 -18
- package/dist/models/Payee.d.ts +2 -7
- package/dist/models/Payee.js +16 -23
- package/dist/models/PayeeLocation.d.ts +2 -7
- package/dist/models/PayeeLocation.js +20 -24
- package/dist/models/PayeeLocationResponse.d.ts +2 -7
- package/dist/models/PayeeLocationResponse.js +8 -16
- package/dist/models/PayeeLocationResponseData.d.ts +2 -7
- package/dist/models/PayeeLocationResponseData.js +8 -16
- package/dist/models/PayeeLocationsResponse.d.ts +2 -7
- package/dist/models/PayeeLocationsResponse.js +8 -16
- package/dist/models/PayeeLocationsResponseData.d.ts +2 -7
- package/dist/models/PayeeLocationsResponseData.js +8 -16
- package/dist/models/PayeeResponse.d.ts +2 -7
- package/dist/models/PayeeResponse.js +8 -16
- package/dist/models/PayeeResponseData.d.ts +2 -7
- package/dist/models/PayeeResponseData.js +8 -16
- package/dist/models/PayeesResponse.d.ts +2 -7
- package/dist/models/PayeesResponse.js +8 -16
- package/dist/models/PayeesResponseData.d.ts +2 -7
- package/dist/models/PayeesResponseData.js +11 -18
- package/dist/models/PostAccountWrapper.d.ts +2 -7
- package/dist/models/PostAccountWrapper.js +8 -16
- package/dist/models/PostScheduledTransactionWrapper.d.ts +27 -0
- package/dist/models/PostScheduledTransactionWrapper.js +43 -0
- package/dist/models/PostTransactionsWrapper.d.ts +7 -12
- package/dist/models/PostTransactionsWrapper.js +10 -20
- package/dist/models/PutTransactionWrapper.d.ts +5 -10
- package/dist/models/PutTransactionWrapper.js +10 -18
- package/dist/models/SaveAccount.d.ts +2 -7
- package/dist/models/SaveAccount.js +14 -20
- package/dist/models/SaveCategory.d.ts +2 -7
- package/dist/models/SaveCategory.js +11 -21
- package/dist/models/SaveCategoryResponse.d.ts +2 -7
- package/dist/models/SaveCategoryResponse.js +8 -16
- package/dist/models/SaveCategoryResponseData.d.ts +2 -7
- package/dist/models/SaveCategoryResponseData.js +11 -18
- package/dist/models/SaveMonthCategory.d.ts +2 -7
- package/dist/models/SaveMonthCategory.js +8 -16
- package/dist/models/SavePayee.d.ts +26 -0
- package/dist/models/SavePayee.js +40 -0
- package/dist/models/SavePayeeResponse.d.ts +27 -0
- package/dist/models/SavePayeeResponse.js +43 -0
- package/dist/models/SavePayeeResponseData.d.ts +33 -0
- package/dist/models/SavePayeeResponseData.js +47 -0
- package/dist/models/SaveScheduledTransaction.d.ts +76 -0
- package/dist/models/SaveScheduledTransaction.js +62 -0
- package/dist/models/SaveSubTransaction.d.ts +2 -7
- package/dist/models/SaveSubTransaction.js +16 -25
- package/dist/models/SaveTransactionWithIdOrImportId.d.ts +101 -0
- package/dist/models/SaveTransactionWithIdOrImportId.js +67 -0
- package/dist/models/SaveTransactionWithOptionalFields.d.ts +5 -16
- package/dist/models/SaveTransactionWithOptionalFields.js +29 -41
- package/dist/models/SaveTransactionsResponse.d.ts +2 -7
- package/dist/models/SaveTransactionsResponse.js +8 -16
- package/dist/models/SaveTransactionsResponseData.d.ts +2 -7
- package/dist/models/SaveTransactionsResponseData.js +17 -25
- package/dist/models/ScheduledSubTransaction.d.ts +2 -7
- package/dist/models/ScheduledSubTransaction.js +25 -31
- package/dist/models/ScheduledTransactionDetail.d.ts +9 -8
- package/dist/models/ScheduledTransactionDetail.js +49 -48
- package/dist/models/ScheduledTransactionFrequency.d.ts +30 -0
- package/dist/models/ScheduledTransactionFrequency.js +53 -0
- package/dist/models/ScheduledTransactionResponse.d.ts +2 -7
- package/dist/models/ScheduledTransactionResponse.js +8 -16
- package/dist/models/ScheduledTransactionResponseData.d.ts +2 -7
- package/dist/models/ScheduledTransactionResponseData.js +8 -16
- package/dist/models/ScheduledTransactionSummary.d.ts +8 -7
- package/dist/models/ScheduledTransactionSummary.js +38 -39
- package/dist/models/ScheduledTransactionsResponse.d.ts +2 -7
- package/dist/models/ScheduledTransactionsResponse.js +8 -16
- package/dist/models/ScheduledTransactionsResponseData.d.ts +2 -7
- package/dist/models/ScheduledTransactionsResponseData.js +11 -18
- package/dist/models/SubTransaction.d.ts +2 -7
- package/dist/models/SubTransaction.js +31 -37
- package/dist/models/TransactionClearedStatus.d.ts +2 -6
- package/dist/models/TransactionClearedStatus.js +13 -7
- package/dist/models/TransactionDetail.d.ts +11 -10
- package/dist/models/TransactionDetail.js +62 -61
- package/dist/models/TransactionFlagColor.d.ts +2 -6
- package/dist/models/TransactionFlagColor.js +13 -7
- package/dist/models/TransactionResponse.d.ts +2 -7
- package/dist/models/TransactionResponse.js +8 -16
- package/dist/models/TransactionResponseData.d.ts +2 -7
- package/dist/models/TransactionResponseData.js +8 -16
- package/dist/models/TransactionSummary.d.ts +10 -9
- package/dist/models/TransactionSummary.js +51 -52
- package/dist/models/TransactionsImportResponse.d.ts +2 -7
- package/dist/models/TransactionsImportResponse.js +8 -16
- package/dist/models/TransactionsImportResponseData.d.ts +2 -7
- package/dist/models/TransactionsImportResponseData.js +8 -16
- package/dist/models/TransactionsResponse.d.ts +2 -7
- package/dist/models/TransactionsResponse.js +8 -16
- package/dist/models/TransactionsResponseData.d.ts +2 -7
- package/dist/models/TransactionsResponseData.js +11 -18
- package/dist/models/User.d.ts +2 -7
- package/dist/models/User.js +8 -16
- package/dist/models/UserResponse.d.ts +2 -7
- package/dist/models/UserResponse.js +8 -16
- package/dist/models/UserResponseData.d.ts +2 -7
- package/dist/models/UserResponseData.js +8 -16
- package/dist/models/index.d.ts +10 -9
- package/dist/models/index.js +10 -9
- package/dist/runtime.d.ts +1 -6
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./AccountType"), exports);
|
|
|
23
23
|
__exportStar(require("./AccountsResponse"), exports);
|
|
24
24
|
__exportStar(require("./AccountsResponseData"), exports);
|
|
25
25
|
__exportStar(require("./BudgetDetail"), exports);
|
|
26
|
-
__exportStar(require("./BudgetDetailAllOf"), exports);
|
|
27
26
|
__exportStar(require("./BudgetDetailResponse"), exports);
|
|
28
27
|
__exportStar(require("./BudgetDetailResponseData"), exports);
|
|
29
28
|
__exportStar(require("./BudgetSettings"), exports);
|
|
@@ -41,26 +40,26 @@ __exportStar(require("./CategoriesResponseData"), exports);
|
|
|
41
40
|
__exportStar(require("./Category"), exports);
|
|
42
41
|
__exportStar(require("./CategoryGroup"), exports);
|
|
43
42
|
__exportStar(require("./CategoryGroupWithCategories"), exports);
|
|
44
|
-
__exportStar(require("./CategoryGroupWithCategoriesAllOf"), exports);
|
|
45
43
|
__exportStar(require("./CategoryResponse"), exports);
|
|
46
44
|
__exportStar(require("./CategoryResponseData"), exports);
|
|
47
45
|
__exportStar(require("./CurrencyFormat"), exports);
|
|
48
46
|
__exportStar(require("./DateFormat"), exports);
|
|
49
47
|
__exportStar(require("./ErrorDetail"), exports);
|
|
50
48
|
__exportStar(require("./ErrorResponse"), exports);
|
|
49
|
+
__exportStar(require("./ExistingTransaction"), exports);
|
|
51
50
|
__exportStar(require("./HybridTransaction"), exports);
|
|
52
|
-
__exportStar(require("./HybridTransactionAllOf"), exports);
|
|
53
51
|
__exportStar(require("./HybridTransactionsResponse"), exports);
|
|
54
52
|
__exportStar(require("./HybridTransactionsResponseData"), exports);
|
|
55
53
|
__exportStar(require("./MonthDetail"), exports);
|
|
56
|
-
__exportStar(require("./MonthDetailAllOf"), exports);
|
|
57
54
|
__exportStar(require("./MonthDetailResponse"), exports);
|
|
58
55
|
__exportStar(require("./MonthDetailResponseData"), exports);
|
|
59
56
|
__exportStar(require("./MonthSummariesResponse"), exports);
|
|
60
57
|
__exportStar(require("./MonthSummariesResponseData"), exports);
|
|
61
58
|
__exportStar(require("./MonthSummary"), exports);
|
|
59
|
+
__exportStar(require("./NewTransaction"), exports);
|
|
62
60
|
__exportStar(require("./PatchCategoryWrapper"), exports);
|
|
63
61
|
__exportStar(require("./PatchMonthCategoryWrapper"), exports);
|
|
62
|
+
__exportStar(require("./PatchPayeeWrapper"), exports);
|
|
64
63
|
__exportStar(require("./PatchTransactionsWrapper"), exports);
|
|
65
64
|
__exportStar(require("./Payee"), exports);
|
|
66
65
|
__exportStar(require("./PayeeLocation"), exports);
|
|
@@ -73,6 +72,7 @@ __exportStar(require("./PayeeResponseData"), exports);
|
|
|
73
72
|
__exportStar(require("./PayeesResponse"), exports);
|
|
74
73
|
__exportStar(require("./PayeesResponseData"), exports);
|
|
75
74
|
__exportStar(require("./PostAccountWrapper"), exports);
|
|
75
|
+
__exportStar(require("./PostScheduledTransactionWrapper"), exports);
|
|
76
76
|
__exportStar(require("./PostTransactionsWrapper"), exports);
|
|
77
77
|
__exportStar(require("./PutTransactionWrapper"), exports);
|
|
78
78
|
__exportStar(require("./SaveAccount"), exports);
|
|
@@ -80,16 +80,18 @@ __exportStar(require("./SaveCategory"), exports);
|
|
|
80
80
|
__exportStar(require("./SaveCategoryResponse"), exports);
|
|
81
81
|
__exportStar(require("./SaveCategoryResponseData"), exports);
|
|
82
82
|
__exportStar(require("./SaveMonthCategory"), exports);
|
|
83
|
+
__exportStar(require("./SavePayee"), exports);
|
|
84
|
+
__exportStar(require("./SavePayeeResponse"), exports);
|
|
85
|
+
__exportStar(require("./SavePayeeResponseData"), exports);
|
|
86
|
+
__exportStar(require("./SaveScheduledTransaction"), exports);
|
|
83
87
|
__exportStar(require("./SaveSubTransaction"), exports);
|
|
84
|
-
__exportStar(require("./
|
|
85
|
-
__exportStar(require("./SaveTransactionWithId"), exports);
|
|
86
|
-
__exportStar(require("./SaveTransactionWithIdAllOf"), exports);
|
|
88
|
+
__exportStar(require("./SaveTransactionWithIdOrImportId"), exports);
|
|
87
89
|
__exportStar(require("./SaveTransactionWithOptionalFields"), exports);
|
|
88
90
|
__exportStar(require("./SaveTransactionsResponse"), exports);
|
|
89
91
|
__exportStar(require("./SaveTransactionsResponseData"), exports);
|
|
90
92
|
__exportStar(require("./ScheduledSubTransaction"), exports);
|
|
91
93
|
__exportStar(require("./ScheduledTransactionDetail"), exports);
|
|
92
|
-
__exportStar(require("./
|
|
94
|
+
__exportStar(require("./ScheduledTransactionFrequency"), exports);
|
|
93
95
|
__exportStar(require("./ScheduledTransactionResponse"), exports);
|
|
94
96
|
__exportStar(require("./ScheduledTransactionResponseData"), exports);
|
|
95
97
|
__exportStar(require("./ScheduledTransactionSummary"), exports);
|
|
@@ -98,7 +100,6 @@ __exportStar(require("./ScheduledTransactionsResponseData"), exports);
|
|
|
98
100
|
__exportStar(require("./SubTransaction"), exports);
|
|
99
101
|
__exportStar(require("./TransactionClearedStatus"), exports);
|
|
100
102
|
__exportStar(require("./TransactionDetail"), exports);
|
|
101
|
-
__exportStar(require("./TransactionDetailAllOf"), exports);
|
|
102
103
|
__exportStar(require("./TransactionFlagColor"), exports);
|
|
103
104
|
__exportStar(require("./TransactionResponse"), exports);
|
|
104
105
|
__exportStar(require("./TransactionResponseData"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,12 +2,7 @@
|
|
|
2
2
|
* YNAB API Endpoints
|
|
3
3
|
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
5
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
11
6
|
*/
|
|
12
7
|
export declare const BASE_PATH: string;
|
|
13
8
|
export interface ConfigurationParameters {
|
package/dist/runtime.js
CHANGED
|
@@ -5,12 +5,7 @@
|
|
|
5
5
|
* YNAB API Endpoints
|
|
6
6
|
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
8
|
+
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
14
9
|
*/
|
|
15
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
11
|
exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
|