ynab 2.0.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AccountsApi.d.ts +1 -1
  3. package/dist/apis/AccountsApi.js +1 -1
  4. package/dist/apis/BudgetsApi.d.ts +1 -1
  5. package/dist/apis/BudgetsApi.js +1 -1
  6. package/dist/apis/CategoriesApi.d.ts +17 -2
  7. package/dist/apis/CategoriesApi.js +43 -1
  8. package/dist/apis/CustomTransactionsApi.d.ts +1 -1
  9. package/dist/apis/MonthsApi.d.ts +1 -1
  10. package/dist/apis/MonthsApi.js +1 -1
  11. package/dist/apis/PayeeLocationsApi.d.ts +1 -1
  12. package/dist/apis/PayeeLocationsApi.js +1 -1
  13. package/dist/apis/PayeesApi.d.ts +17 -2
  14. package/dist/apis/PayeesApi.js +43 -1
  15. package/dist/apis/ScheduledTransactionsApi.d.ts +1 -1
  16. package/dist/apis/ScheduledTransactionsApi.js +1 -1
  17. package/dist/apis/TransactionsApi.d.ts +13 -13
  18. package/dist/apis/TransactionsApi.js +9 -9
  19. package/dist/apis/UserApi.d.ts +1 -1
  20. package/dist/apis/UserApi.js +1 -1
  21. package/dist/apis/index.d.ts +0 -1
  22. package/dist/apis/index.js +5 -2
  23. package/dist/browser/ynab.js +1 -1
  24. package/dist/esm/apis/CategoriesApi.d.ts +16 -1
  25. package/dist/esm/apis/CategoriesApi.js +65 -1
  26. package/dist/esm/apis/CustomTransactionsApi.d.ts +1 -1
  27. package/dist/esm/apis/index.d.ts +0 -1
  28. package/dist/esm/apis/index.js +0 -1
  29. package/dist/esm/models/Category.d.ts +0 -1
  30. package/dist/esm/models/Category.js +0 -1
  31. package/dist/esm/models/CategoryGoalType.d.ts +25 -0
  32. package/dist/esm/models/CategoryGoalType.js +29 -0
  33. package/dist/esm/models/HybridTransaction.d.ts +9 -30
  34. package/dist/esm/models/HybridTransaction.js +7 -26
  35. package/dist/esm/models/PatchCategoryWrapper.d.ts +32 -0
  36. package/dist/esm/models/PatchCategoryWrapper.js +44 -0
  37. package/dist/esm/models/SaveCategory.d.ts +43 -0
  38. package/dist/esm/models/SaveCategory.js +47 -0
  39. package/dist/esm/models/SaveTransaction.d.ts +8 -28
  40. package/dist/esm/models/SaveTransaction.js +6 -24
  41. package/dist/esm/models/SaveTransactionWithId.d.ts +8 -28
  42. package/dist/esm/models/SaveTransactionWithId.js +6 -24
  43. package/dist/esm/models/SaveTransactionWithOptionalFields.d.ts +8 -28
  44. package/dist/esm/models/SaveTransactionWithOptionalFields.js +6 -24
  45. package/dist/esm/models/SaveTransactionWithOptionalFieldsFlagColor.d.ts +25 -0
  46. package/dist/esm/models/SaveTransactionWithOptionalFieldsFlagColor.js +29 -0
  47. package/dist/esm/models/ScheduledTransactionDetail.d.ts +4 -16
  48. package/dist/esm/models/ScheduledTransactionDetail.js +3 -14
  49. package/dist/esm/models/ScheduledTransactionSummary.d.ts +4 -16
  50. package/dist/esm/models/ScheduledTransactionSummary.js +3 -14
  51. package/dist/esm/models/ScheduledTransactionSummaryFlagColor.d.ts +25 -0
  52. package/dist/esm/models/ScheduledTransactionSummaryFlagColor.js +29 -0
  53. package/dist/esm/models/TransactionClearedStatus.d.ts +24 -0
  54. package/dist/esm/models/TransactionClearedStatus.js +31 -0
  55. package/dist/esm/models/TransactionDetail.d.ts +9 -30
  56. package/dist/esm/models/TransactionDetail.js +7 -26
  57. package/dist/esm/models/TransactionFlagColor.d.ts +27 -0
  58. package/dist/esm/models/TransactionFlagColor.js +34 -0
  59. package/dist/esm/models/TransactionSummary.d.ts +9 -30
  60. package/dist/esm/models/TransactionSummary.js +7 -26
  61. package/dist/esm/models/TransactionSummaryDebtTransactionType.d.ts +25 -0
  62. package/dist/esm/models/TransactionSummaryDebtTransactionType.js +29 -0
  63. package/dist/esm/models/index.d.ts +4 -0
  64. package/dist/esm/models/index.js +4 -0
  65. package/dist/index.js +5 -1
  66. package/dist/models/Account.d.ts +8 -8
  67. package/dist/models/Account.js +51 -46
  68. package/dist/models/AccountResponse.d.ts +2 -2
  69. package/dist/models/AccountResponse.js +8 -11
  70. package/dist/models/AccountResponseData.d.ts +2 -2
  71. package/dist/models/AccountResponseData.js +8 -11
  72. package/dist/models/AccountType.d.ts +3 -2
  73. package/dist/models/AccountType.js +13 -2
  74. package/dist/models/AccountsResponse.d.ts +2 -2
  75. package/dist/models/AccountsResponse.js +8 -11
  76. package/dist/models/AccountsResponseData.d.ts +2 -2
  77. package/dist/models/AccountsResponseData.js +11 -13
  78. package/dist/models/BudgetDetail.d.ts +8 -8
  79. package/dist/models/BudgetDetail.js +45 -48
  80. package/dist/models/BudgetDetailResponse.d.ts +2 -2
  81. package/dist/models/BudgetDetailResponse.js +8 -11
  82. package/dist/models/BudgetDetailResponseData.d.ts +2 -2
  83. package/dist/models/BudgetDetailResponseData.js +11 -13
  84. package/dist/models/BudgetSettings.d.ts +2 -2
  85. package/dist/models/BudgetSettings.js +11 -13
  86. package/dist/models/BudgetSettingsResponse.d.ts +2 -2
  87. package/dist/models/BudgetSettingsResponse.js +8 -11
  88. package/dist/models/BudgetSettingsResponseData.d.ts +2 -2
  89. package/dist/models/BudgetSettingsResponseData.js +8 -11
  90. package/dist/models/BudgetSummary.d.ts +4 -4
  91. package/dist/models/BudgetSummary.js +23 -26
  92. package/dist/models/BudgetSummaryResponse.d.ts +2 -2
  93. package/dist/models/BudgetSummaryResponse.js +8 -11
  94. package/dist/models/BudgetSummaryResponseData.d.ts +2 -2
  95. package/dist/models/BudgetSummaryResponseData.js +10 -14
  96. package/dist/models/BulkResponse.d.ts +2 -2
  97. package/dist/models/BulkResponse.js +8 -11
  98. package/dist/models/BulkResponseData.d.ts +2 -2
  99. package/dist/models/BulkResponseData.js +8 -11
  100. package/dist/models/BulkResponseDataBulk.d.ts +2 -2
  101. package/dist/models/BulkResponseDataBulk.js +11 -13
  102. package/dist/models/BulkTransactions.d.ts +5 -5
  103. package/dist/models/BulkTransactions.js +10 -13
  104. package/dist/models/CategoriesResponse.d.ts +2 -2
  105. package/dist/models/CategoriesResponse.js +8 -11
  106. package/dist/models/CategoriesResponseData.d.ts +2 -2
  107. package/dist/models/CategoriesResponseData.js +11 -13
  108. package/dist/models/Category.d.ts +22 -17
  109. package/dist/models/Category.js +61 -57
  110. package/dist/models/CategoryGoalType.d.ts +25 -0
  111. package/dist/models/CategoryGoalType.js +36 -0
  112. package/dist/models/CategoryGroup.d.ts +2 -2
  113. package/dist/models/CategoryGroup.js +17 -17
  114. package/dist/models/CategoryGroupWithCategories.d.ts +2 -2
  115. package/dist/models/CategoryGroupWithCategories.js +20 -19
  116. package/dist/models/CategoryResponse.d.ts +2 -2
  117. package/dist/models/CategoryResponse.js +8 -11
  118. package/dist/models/CategoryResponseData.d.ts +2 -2
  119. package/dist/models/CategoryResponseData.js +8 -11
  120. package/dist/models/CurrencyFormat.d.ts +2 -2
  121. package/dist/models/CurrencyFormat.js +29 -25
  122. package/dist/models/DateFormat.d.ts +2 -2
  123. package/dist/models/DateFormat.js +8 -11
  124. package/dist/models/ErrorDetail.d.ts +2 -2
  125. package/dist/models/ErrorDetail.js +14 -15
  126. package/dist/models/ErrorResponse.d.ts +2 -2
  127. package/dist/models/ErrorResponse.js +8 -11
  128. package/dist/models/ExistingTransaction.d.ts +94 -0
  129. package/dist/models/ExistingTransaction.js +68 -0
  130. package/dist/models/HybridTransaction.d.ts +29 -44
  131. package/dist/models/HybridTransaction.js +67 -80
  132. package/dist/models/HybridTransactionAllOf.d.ts +1 -1
  133. package/dist/models/HybridTransactionsResponse.d.ts +2 -2
  134. package/dist/models/HybridTransactionsResponse.js +8 -11
  135. package/dist/models/HybridTransactionsResponseData.d.ts +2 -2
  136. package/dist/models/HybridTransactionsResponseData.js +10 -14
  137. package/dist/models/MonthDetail.d.ts +4 -4
  138. package/dist/models/MonthDetail.js +30 -28
  139. package/dist/models/MonthDetailResponse.d.ts +2 -2
  140. package/dist/models/MonthDetailResponse.js +8 -11
  141. package/dist/models/MonthDetailResponseData.d.ts +2 -2
  142. package/dist/models/MonthDetailResponseData.js +8 -11
  143. package/dist/models/MonthSummariesResponse.d.ts +2 -2
  144. package/dist/models/MonthSummariesResponse.js +8 -11
  145. package/dist/models/MonthSummariesResponseData.d.ts +2 -2
  146. package/dist/models/MonthSummariesResponseData.js +11 -13
  147. package/dist/models/MonthSummary.d.ts +4 -4
  148. package/dist/models/MonthSummary.js +27 -26
  149. package/dist/models/NewTransaction.d.ts +100 -0
  150. package/dist/models/NewTransaction.js +70 -0
  151. package/dist/models/PatchCategoryWrapper.d.ts +32 -0
  152. package/dist/models/PatchCategoryWrapper.js +48 -0
  153. package/dist/models/PatchMonthCategoryWrapper.d.ts +2 -2
  154. package/dist/models/PatchMonthCategoryWrapper.js +8 -11
  155. package/dist/models/PatchPayeeWrapper.d.ts +32 -0
  156. package/dist/models/PatchPayeeWrapper.js +48 -0
  157. package/dist/models/PatchTransactionsWrapper.d.ts +5 -5
  158. package/dist/models/PatchTransactionsWrapper.js +10 -13
  159. package/dist/models/Payee.d.ts +3 -3
  160. package/dist/models/Payee.js +16 -18
  161. package/dist/models/PayeeLocation.d.ts +2 -2
  162. package/dist/models/PayeeLocation.js +20 -19
  163. package/dist/models/PayeeLocationResponse.d.ts +2 -2
  164. package/dist/models/PayeeLocationResponse.js +8 -11
  165. package/dist/models/PayeeLocationResponseData.d.ts +2 -2
  166. package/dist/models/PayeeLocationResponseData.js +8 -11
  167. package/dist/models/PayeeLocationsResponse.d.ts +2 -2
  168. package/dist/models/PayeeLocationsResponse.js +8 -11
  169. package/dist/models/PayeeLocationsResponseData.d.ts +2 -2
  170. package/dist/models/PayeeLocationsResponseData.js +8 -11
  171. package/dist/models/PayeeResponse.d.ts +2 -2
  172. package/dist/models/PayeeResponse.js +8 -11
  173. package/dist/models/PayeeResponseData.d.ts +2 -2
  174. package/dist/models/PayeeResponseData.js +8 -11
  175. package/dist/models/PayeesResponse.d.ts +2 -2
  176. package/dist/models/PayeesResponse.js +8 -11
  177. package/dist/models/PayeesResponseData.d.ts +2 -2
  178. package/dist/models/PayeesResponseData.js +11 -13
  179. package/dist/models/PostAccountWrapper.d.ts +2 -2
  180. package/dist/models/PostAccountWrapper.js +8 -11
  181. package/dist/models/PostTransactionsWrapper.d.ts +7 -7
  182. package/dist/models/PostTransactionsWrapper.js +10 -15
  183. package/dist/models/PutTransactionWrapper.d.ts +5 -5
  184. package/dist/models/PutTransactionWrapper.js +10 -13
  185. package/dist/models/SaveAccount.d.ts +2 -2
  186. package/dist/models/SaveAccount.js +14 -15
  187. package/dist/models/SaveCategory.d.ts +43 -0
  188. package/dist/models/SaveCategory.js +49 -0
  189. package/dist/models/SaveCategoryResponse.d.ts +2 -2
  190. package/dist/models/SaveCategoryResponse.js +8 -11
  191. package/dist/models/SaveCategoryResponseData.d.ts +2 -2
  192. package/dist/models/SaveCategoryResponseData.js +11 -13
  193. package/dist/models/SaveMonthCategory.d.ts +2 -2
  194. package/dist/models/SaveMonthCategory.js +8 -11
  195. package/dist/models/SavePayee.d.ts +31 -0
  196. package/dist/models/SavePayee.js +45 -0
  197. package/dist/models/SavePayeeResponse.d.ts +32 -0
  198. package/dist/models/SavePayeeResponse.js +48 -0
  199. package/dist/models/SavePayeeResponseData.d.ts +38 -0
  200. package/dist/models/SavePayeeResponseData.js +52 -0
  201. package/dist/models/SaveSubTransaction.d.ts +6 -6
  202. package/dist/models/SaveSubTransaction.js +16 -20
  203. package/dist/models/SaveTransaction.d.ts +8 -28
  204. package/dist/models/SaveTransaction.js +7 -25
  205. package/dist/models/SaveTransactionWithId.d.ts +8 -28
  206. package/dist/models/SaveTransactionWithId.js +7 -25
  207. package/dist/models/SaveTransactionWithIdOrImportId.d.ts +106 -0
  208. package/dist/models/SaveTransactionWithIdOrImportId.js +72 -0
  209. package/dist/models/SaveTransactionWithOptionalFields.d.ts +14 -40
  210. package/dist/models/SaveTransactionWithOptionalFields.js +30 -55
  211. package/dist/models/SaveTransactionWithOptionalFieldsFlagColor.d.ts +25 -0
  212. package/dist/models/SaveTransactionWithOptionalFieldsFlagColor.js +36 -0
  213. package/dist/models/SaveTransactionsResponse.d.ts +2 -2
  214. package/dist/models/SaveTransactionsResponse.js +8 -11
  215. package/dist/models/SaveTransactionsResponseData.d.ts +2 -2
  216. package/dist/models/SaveTransactionsResponseData.js +17 -20
  217. package/dist/models/ScheduledSubTransaction.d.ts +6 -6
  218. package/dist/models/ScheduledSubTransaction.js +25 -26
  219. package/dist/models/ScheduledTransactionDetail.d.ts +18 -24
  220. package/dist/models/ScheduledTransactionDetail.js +50 -55
  221. package/dist/models/ScheduledTransactionResponse.d.ts +2 -2
  222. package/dist/models/ScheduledTransactionResponse.js +8 -11
  223. package/dist/models/ScheduledTransactionResponseData.d.ts +2 -2
  224. package/dist/models/ScheduledTransactionResponseData.js +8 -11
  225. package/dist/models/ScheduledTransactionSummary.d.ts +16 -22
  226. package/dist/models/ScheduledTransactionSummary.js +40 -47
  227. package/dist/models/ScheduledTransactionSummaryFlagColor.d.ts +25 -0
  228. package/dist/models/ScheduledTransactionSummaryFlagColor.js +36 -0
  229. package/dist/models/ScheduledTransactionsResponse.d.ts +2 -2
  230. package/dist/models/ScheduledTransactionsResponse.js +8 -11
  231. package/dist/models/ScheduledTransactionsResponseData.d.ts +2 -2
  232. package/dist/models/ScheduledTransactionsResponseData.js +11 -13
  233. package/dist/models/SubTransaction.d.ts +9 -9
  234. package/dist/models/SubTransaction.js +31 -32
  235. package/dist/models/TransactionClearedStatus.d.ts +25 -0
  236. package/dist/models/TransactionClearedStatus.js +48 -0
  237. package/dist/models/TransactionDetail.d.ts +28 -43
  238. package/dist/models/TransactionDetail.js +65 -78
  239. package/dist/models/TransactionFlagColor.d.ts +28 -0
  240. package/dist/models/TransactionFlagColor.js +51 -0
  241. package/dist/models/TransactionResponse.d.ts +2 -2
  242. package/dist/models/TransactionResponse.js +8 -11
  243. package/dist/models/TransactionResponseData.d.ts +2 -2
  244. package/dist/models/TransactionResponseData.js +8 -11
  245. package/dist/models/TransactionSummary.d.ts +26 -41
  246. package/dist/models/TransactionSummary.js +55 -70
  247. package/dist/models/TransactionSummaryDebtTransactionType.d.ts +25 -0
  248. package/dist/models/TransactionSummaryDebtTransactionType.js +36 -0
  249. package/dist/models/TransactionsImportResponse.d.ts +2 -2
  250. package/dist/models/TransactionsImportResponse.js +8 -11
  251. package/dist/models/TransactionsImportResponseData.d.ts +2 -2
  252. package/dist/models/TransactionsImportResponseData.js +8 -11
  253. package/dist/models/TransactionsResponse.d.ts +2 -2
  254. package/dist/models/TransactionsResponse.js +8 -11
  255. package/dist/models/TransactionsResponseData.d.ts +2 -2
  256. package/dist/models/TransactionsResponseData.js +11 -13
  257. package/dist/models/User.d.ts +2 -2
  258. package/dist/models/User.js +8 -11
  259. package/dist/models/UserResponse.d.ts +2 -2
  260. package/dist/models/UserResponse.js +8 -11
  261. package/dist/models/UserResponseData.d.ts +2 -2
  262. package/dist/models/UserResponseData.js +8 -11
  263. package/dist/models/index.d.ts +11 -9
  264. package/dist/models/index.js +16 -10
  265. package/dist/runtime.d.ts +10 -10
  266. package/dist/runtime.js +1 -1
  267. package/package.json +6 -7
package/README.md CHANGED
@@ -9,7 +9,7 @@ This client is generated using the [OpenAPI Generator](https://openapi-generator
9
9
 
10
10
  ## Installation
11
11
 
12
- First, install the module with npm (or yarn):
12
+ First, install the module with npm:
13
13
 
14
14
  ```shell
15
15
  npm install ynab
@@ -118,7 +118,7 @@ folder for example usage scenarios.
118
118
 
119
119
  ## Methods
120
120
 
121
- The following methods are available in this library. For more details on parameters and usage, the [TypeScript declaration file](https://github.com/ynab/ynab-sdk-js/blob/main/dist/api.d.ts) can be referenced.
121
+ The following methods are available in this library.
122
122
 
123
123
  | | Method | Description |
124
124
  |----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CategoriesResponse, CategoryResponse, PatchMonthCategoryWrapper, SaveCategoryResponse } from '../models/index';
13
+ import type { CategoriesResponse, CategoryResponse, PatchCategoryWrapper, PatchMonthCategoryWrapper, SaveCategoryResponse } from '../models/index';
14
14
  export interface GetCategoriesRequest {
15
15
  budgetId: string;
16
16
  lastKnowledgeOfServer?: number;
@@ -24,6 +24,11 @@ export interface GetMonthCategoryByIdRequest {
24
24
  month: string;
25
25
  categoryId: string;
26
26
  }
27
+ export interface UpdateCategoryRequest {
28
+ budgetId: string;
29
+ categoryId: string;
30
+ data: PatchCategoryWrapper;
31
+ }
27
32
  export interface UpdateMonthCategoryRequest {
28
33
  budgetId: string;
29
34
  month: string;
@@ -64,6 +69,16 @@ export declare class CategoriesApi extends runtime.BaseAPI {
64
69
  * Single category for a specific budget month
65
70
  */
66
71
  getMonthCategoryById(budgetId: string, month: string, categoryId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CategoryResponse>;
72
+ /**
73
+ * Update a category
74
+ * Update a category
75
+ */
76
+ updateCategoryRaw(requestParameters: UpdateCategoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveCategoryResponse>>;
77
+ /**
78
+ * Update a category
79
+ * Update a category
80
+ */
81
+ updateCategory(budgetId: string, categoryId: string, data: PatchCategoryWrapper, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveCategoryResponse>;
67
82
  /**
68
83
  * Update a category for a specific month. Only `budgeted` amount can be updated.
69
84
  * Update a category for a specific month
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -134,6 +134,48 @@ class CategoriesApi extends runtime.BaseAPI {
134
134
  const response = await this.getMonthCategoryByIdRaw({ budgetId: budgetId, month: month, categoryId: categoryId }, initOverrides);
135
135
  return await response.value();
136
136
  }
137
+ /**
138
+ * Update a category
139
+ * Update a category
140
+ */
141
+ async updateCategoryRaw(requestParameters, initOverrides) {
142
+ if (requestParameters.budgetId === null || requestParameters.budgetId === undefined) {
143
+ throw new runtime.RequiredError('budgetId', 'Required parameter requestParameters.budgetId was null or undefined when calling updateCategory.');
144
+ }
145
+ if (requestParameters.categoryId === null || requestParameters.categoryId === undefined) {
146
+ throw new runtime.RequiredError('categoryId', 'Required parameter requestParameters.categoryId was null or undefined when calling updateCategory.');
147
+ }
148
+ if (requestParameters.data === null || requestParameters.data === undefined) {
149
+ throw new runtime.RequiredError('data', 'Required parameter requestParameters.data was null or undefined when calling updateCategory.');
150
+ }
151
+ const queryParameters = {};
152
+ const headerParameters = {};
153
+ headerParameters['Accept'] = 'application/json';
154
+ headerParameters['Content-Type'] = 'application/json';
155
+ if (this.configuration && this.configuration.accessToken) {
156
+ const token = this.configuration.accessToken;
157
+ const tokenString = await token("bearer", []);
158
+ if (tokenString) {
159
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
160
+ }
161
+ }
162
+ const response = await this.request({
163
+ path: `/budgets/{budget_id}/categories/{category_id}`.replace(`{${"budget_id"}}`, encodeURIComponent(String(requestParameters.budgetId))).replace(`{${"category_id"}}`, encodeURIComponent(String(requestParameters.categoryId))),
164
+ method: 'PATCH',
165
+ headers: headerParameters,
166
+ query: queryParameters,
167
+ body: (0, index_1.PatchCategoryWrapperToJSON)(requestParameters.data),
168
+ }, initOverrides);
169
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SaveCategoryResponseFromJSON)(jsonValue));
170
+ }
171
+ /**
172
+ * Update a category
173
+ * Update a category
174
+ */
175
+ async updateCategory(budgetId, categoryId, data, initOverrides) {
176
+ const response = await this.updateCategoryRaw({ budgetId: budgetId, categoryId: categoryId, data: data }, initOverrides);
177
+ return await response.value();
178
+ }
137
179
  /**
138
180
  * Update a category for a specific month. Only `budgeted` amount can be updated.
139
181
  * Update a category for a specific month
@@ -25,7 +25,7 @@ export declare class CustomTransactionsApi extends TransactionsApi {
25
25
  * @throws {RequiredError}
26
26
  * @memberof TransactionsApi
27
27
  */
28
- getTransactionsByType(budgetId: string, type: "uncategorized" | "unapproved", lastKnowledgeOfServer?: number, options?: any): Promise<import("..").TransactionsResponse>;
28
+ getTransactionsByType(budgetId: string, type: "uncategorized" | "unapproved" | undefined, lastKnowledgeOfServer?: number, options?: any): Promise<import("..").TransactionsResponse>;
29
29
  /**
30
30
  * Creates multiple transactions. Provide a body containing a 'transactions' array, multiple transactions will be created.
31
31
  * @summary Create a single transaction or multiple transactions
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { PayeeResponse, PayeesResponse } from '../models/index';
13
+ import type { PatchPayeeWrapper, PayeeResponse, PayeesResponse, SavePayeeResponse } from '../models/index';
14
14
  export interface GetPayeeByIdRequest {
15
15
  budgetId: string;
16
16
  payeeId: string;
@@ -19,6 +19,11 @@ export interface GetPayeesRequest {
19
19
  budgetId: string;
20
20
  lastKnowledgeOfServer?: number;
21
21
  }
22
+ export interface UpdatePayeeRequest {
23
+ budgetId: string;
24
+ payeeId: string;
25
+ data: PatchPayeeWrapper;
26
+ }
22
27
  /**
23
28
  *
24
29
  */
@@ -43,4 +48,14 @@ export declare class PayeesApi extends runtime.BaseAPI {
43
48
  * List payees
44
49
  */
45
50
  getPayees(budgetId: string, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PayeesResponse>;
51
+ /**
52
+ * Update a payee
53
+ * Update a payee
54
+ */
55
+ updatePayeeRaw(requestParameters: UpdatePayeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SavePayeeResponse>>;
56
+ /**
57
+ * Update a payee
58
+ * Update a payee
59
+ */
60
+ updatePayee(budgetId: string, payeeId: string, data: PatchPayeeWrapper, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SavePayeeResponse>;
46
61
  }
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -94,5 +94,47 @@ class PayeesApi extends runtime.BaseAPI {
94
94
  const response = await this.getPayeesRaw({ budgetId: budgetId, lastKnowledgeOfServer: lastKnowledgeOfServer }, initOverrides);
95
95
  return await response.value();
96
96
  }
97
+ /**
98
+ * Update a payee
99
+ * Update a payee
100
+ */
101
+ async updatePayeeRaw(requestParameters, initOverrides) {
102
+ if (requestParameters.budgetId === null || requestParameters.budgetId === undefined) {
103
+ throw new runtime.RequiredError('budgetId', 'Required parameter requestParameters.budgetId was null or undefined when calling updatePayee.');
104
+ }
105
+ if (requestParameters.payeeId === null || requestParameters.payeeId === undefined) {
106
+ throw new runtime.RequiredError('payeeId', 'Required parameter requestParameters.payeeId was null or undefined when calling updatePayee.');
107
+ }
108
+ if (requestParameters.data === null || requestParameters.data === undefined) {
109
+ throw new runtime.RequiredError('data', 'Required parameter requestParameters.data was null or undefined when calling updatePayee.');
110
+ }
111
+ const queryParameters = {};
112
+ const headerParameters = {};
113
+ headerParameters['Accept'] = 'application/json';
114
+ headerParameters['Content-Type'] = 'application/json';
115
+ if (this.configuration && this.configuration.accessToken) {
116
+ const token = this.configuration.accessToken;
117
+ const tokenString = await token("bearer", []);
118
+ if (tokenString) {
119
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
120
+ }
121
+ }
122
+ const response = await this.request({
123
+ path: `/budgets/{budget_id}/payees/{payee_id}`.replace(`{${"budget_id"}}`, encodeURIComponent(String(requestParameters.budgetId))).replace(`{${"payee_id"}}`, encodeURIComponent(String(requestParameters.payeeId))),
124
+ method: 'PATCH',
125
+ headers: headerParameters,
126
+ query: queryParameters,
127
+ body: (0, index_1.PatchPayeeWrapperToJSON)(requestParameters.data),
128
+ }, initOverrides);
129
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SavePayeeResponseFromJSON)(jsonValue));
130
+ }
131
+ /**
132
+ * Update a payee
133
+ * Update a payee
134
+ */
135
+ async updatePayee(budgetId, payeeId, data, initOverrides) {
136
+ const response = await this.updatePayeeRaw({ budgetId: budgetId, payeeId: payeeId, data: data }, initOverrides);
137
+ return await response.value();
138
+ }
97
139
  }
98
140
  exports.PayeesApi = PayeesApi;
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,43 +97,43 @@ export declare class TransactionsApi extends runtime.BaseAPI {
97
97
  */
98
98
  getTransactionById(budgetId: string, transactionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionResponse>;
99
99
  /**
100
- * Returns budget transactions
100
+ * Returns budget transactions, excluding any pending transactions
101
101
  * List transactions
102
102
  */
103
103
  getTransactionsRaw(requestParameters: GetTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionsResponse>>;
104
104
  /**
105
- * Returns budget transactions
105
+ * Returns budget transactions, excluding any pending transactions
106
106
  * List transactions
107
107
  */
108
108
  getTransactions(budgetId: string, sinceDate?: string, type?: GetTransactionsTypeEnum, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionsResponse>;
109
109
  /**
110
- * Returns all transactions for a specified account
110
+ * Returns all transactions for a specified account, excluding any pending transactions
111
111
  * List account transactions
112
112
  */
113
113
  getTransactionsByAccountRaw(requestParameters: GetTransactionsByAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionsResponse>>;
114
114
  /**
115
- * Returns all transactions for a specified account
115
+ * Returns all transactions for a specified account, excluding any pending transactions
116
116
  * List account transactions
117
117
  */
118
118
  getTransactionsByAccount(budgetId: string, accountId: string, sinceDate?: string, type?: GetTransactionsByAccountTypeEnum, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionsResponse>;
119
119
  /**
120
120
  * Returns all transactions for a specified category
121
- * List category transactions
121
+ * List category transactions, excluding any pending transactions
122
122
  */
123
123
  getTransactionsByCategoryRaw(requestParameters: GetTransactionsByCategoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HybridTransactionsResponse>>;
124
124
  /**
125
125
  * Returns all transactions for a specified category
126
- * List category transactions
126
+ * List category transactions, excluding any pending transactions
127
127
  */
128
128
  getTransactionsByCategory(budgetId: string, categoryId: string, sinceDate?: string, type?: GetTransactionsByCategoryTypeEnum, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HybridTransactionsResponse>;
129
129
  /**
130
130
  * Returns all transactions for a specified payee
131
- * List payee transactions
131
+ * List payee transactions, excluding any pending transactions
132
132
  */
133
133
  getTransactionsByPayeeRaw(requestParameters: GetTransactionsByPayeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HybridTransactionsResponse>>;
134
134
  /**
135
135
  * Returns all transactions for a specified payee
136
- * List payee transactions
136
+ * List payee transactions, excluding any pending transactions
137
137
  */
138
138
  getTransactionsByPayee(budgetId: string, payeeId: string, sinceDate?: string, type?: GetTransactionsByPayeeTypeEnum, lastKnowledgeOfServer?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HybridTransactionsResponse>;
139
139
  /**
@@ -174,7 +174,7 @@ export declare const GetTransactionsTypeEnum: {
174
174
  readonly Uncategorized: "uncategorized";
175
175
  readonly Unapproved: "unapproved";
176
176
  };
177
- export declare type GetTransactionsTypeEnum = typeof GetTransactionsTypeEnum[keyof typeof GetTransactionsTypeEnum];
177
+ export type GetTransactionsTypeEnum = typeof GetTransactionsTypeEnum[keyof typeof GetTransactionsTypeEnum];
178
178
  /**
179
179
  * @export
180
180
  */
@@ -182,7 +182,7 @@ export declare const GetTransactionsByAccountTypeEnum: {
182
182
  readonly Uncategorized: "uncategorized";
183
183
  readonly Unapproved: "unapproved";
184
184
  };
185
- export declare type GetTransactionsByAccountTypeEnum = typeof GetTransactionsByAccountTypeEnum[keyof typeof GetTransactionsByAccountTypeEnum];
185
+ export type GetTransactionsByAccountTypeEnum = typeof GetTransactionsByAccountTypeEnum[keyof typeof GetTransactionsByAccountTypeEnum];
186
186
  /**
187
187
  * @export
188
188
  */
@@ -190,7 +190,7 @@ export declare const GetTransactionsByCategoryTypeEnum: {
190
190
  readonly Uncategorized: "uncategorized";
191
191
  readonly Unapproved: "unapproved";
192
192
  };
193
- export declare type GetTransactionsByCategoryTypeEnum = typeof GetTransactionsByCategoryTypeEnum[keyof typeof GetTransactionsByCategoryTypeEnum];
193
+ export type GetTransactionsByCategoryTypeEnum = typeof GetTransactionsByCategoryTypeEnum[keyof typeof GetTransactionsByCategoryTypeEnum];
194
194
  /**
195
195
  * @export
196
196
  */
@@ -198,4 +198,4 @@ export declare const GetTransactionsByPayeeTypeEnum: {
198
198
  readonly Uncategorized: "uncategorized";
199
199
  readonly Unapproved: "unapproved";
200
200
  };
201
- export declare type GetTransactionsByPayeeTypeEnum = typeof GetTransactionsByPayeeTypeEnum[keyof typeof GetTransactionsByPayeeTypeEnum];
201
+ export type GetTransactionsByPayeeTypeEnum = typeof GetTransactionsByPayeeTypeEnum[keyof typeof GetTransactionsByPayeeTypeEnum];
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -134,7 +134,7 @@ class TransactionsApi extends runtime.BaseAPI {
134
134
  return await response.value();
135
135
  }
136
136
  /**
137
- * Returns budget transactions
137
+ * Returns budget transactions, excluding any pending transactions
138
138
  * List transactions
139
139
  */
140
140
  async getTransactionsRaw(requestParameters, initOverrides) {
@@ -169,7 +169,7 @@ class TransactionsApi extends runtime.BaseAPI {
169
169
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TransactionsResponseFromJSON)(jsonValue));
170
170
  }
171
171
  /**
172
- * Returns budget transactions
172
+ * Returns budget transactions, excluding any pending transactions
173
173
  * List transactions
174
174
  */
175
175
  async getTransactions(budgetId, sinceDate, type, lastKnowledgeOfServer, initOverrides) {
@@ -177,7 +177,7 @@ class TransactionsApi extends runtime.BaseAPI {
177
177
  return await response.value();
178
178
  }
179
179
  /**
180
- * Returns all transactions for a specified account
180
+ * Returns all transactions for a specified account, excluding any pending transactions
181
181
  * List account transactions
182
182
  */
183
183
  async getTransactionsByAccountRaw(requestParameters, initOverrides) {
@@ -215,7 +215,7 @@ class TransactionsApi extends runtime.BaseAPI {
215
215
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TransactionsResponseFromJSON)(jsonValue));
216
216
  }
217
217
  /**
218
- * Returns all transactions for a specified account
218
+ * Returns all transactions for a specified account, excluding any pending transactions
219
219
  * List account transactions
220
220
  */
221
221
  async getTransactionsByAccount(budgetId, accountId, sinceDate, type, lastKnowledgeOfServer, initOverrides) {
@@ -224,7 +224,7 @@ class TransactionsApi extends runtime.BaseAPI {
224
224
  }
225
225
  /**
226
226
  * Returns all transactions for a specified category
227
- * List category transactions
227
+ * List category transactions, excluding any pending transactions
228
228
  */
229
229
  async getTransactionsByCategoryRaw(requestParameters, initOverrides) {
230
230
  if (requestParameters.budgetId === null || requestParameters.budgetId === undefined) {
@@ -262,7 +262,7 @@ class TransactionsApi extends runtime.BaseAPI {
262
262
  }
263
263
  /**
264
264
  * Returns all transactions for a specified category
265
- * List category transactions
265
+ * List category transactions, excluding any pending transactions
266
266
  */
267
267
  async getTransactionsByCategory(budgetId, categoryId, sinceDate, type, lastKnowledgeOfServer, initOverrides) {
268
268
  const response = await this.getTransactionsByCategoryRaw({ budgetId: budgetId, categoryId: categoryId, sinceDate: sinceDate, type: type, lastKnowledgeOfServer: lastKnowledgeOfServer }, initOverrides);
@@ -270,7 +270,7 @@ class TransactionsApi extends runtime.BaseAPI {
270
270
  }
271
271
  /**
272
272
  * Returns all transactions for a specified payee
273
- * List payee transactions
273
+ * List payee transactions, excluding any pending transactions
274
274
  */
275
275
  async getTransactionsByPayeeRaw(requestParameters, initOverrides) {
276
276
  if (requestParameters.budgetId === null || requestParameters.budgetId === undefined) {
@@ -308,7 +308,7 @@ class TransactionsApi extends runtime.BaseAPI {
308
308
  }
309
309
  /**
310
310
  * Returns all transactions for a specified payee
311
- * List payee transactions
311
+ * List payee transactions, excluding any pending transactions
312
312
  */
313
313
  async getTransactionsByPayee(budgetId, payeeId, sinceDate, type, lastKnowledgeOfServer, initOverrides) {
314
314
  const response = await this.getTransactionsByPayeeRaw({ budgetId: budgetId, payeeId: payeeId, sinceDate: sinceDate, type: type, lastKnowledgeOfServer: lastKnowledgeOfServer }, initOverrides);
@@ -2,7 +2,7 @@
2
2
  * YNAB API Endpoints
3
3
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * YNAB API Endpoints
6
6
  * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,6 @@
1
1
  export * from './AccountsApi';
2
2
  export * from './BudgetsApi';
3
3
  export * from './CategoriesApi';
4
- export * from './DeprecatedApi';
5
4
  export * from './MonthsApi';
6
5
  export * from './PayeeLocationsApi';
7
6
  export * from './PayeesApi';
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -15,7 +19,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
19
  __exportStar(require("./AccountsApi"), exports);
16
20
  __exportStar(require("./BudgetsApi"), exports);
17
21
  __exportStar(require("./CategoriesApi"), exports);
18
- __exportStar(require("./DeprecatedApi"), exports);
19
22
  __exportStar(require("./MonthsApi"), exports);
20
23
  __exportStar(require("./PayeeLocationsApi"), exports);
21
24
  __exportStar(require("./PayeesApi"), exports);