mealie-typescript 1.0.6 → 1.0.8

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 (305) hide show
  1. package/package.json +25 -11
  2. package/.openapi-generator/FILES +0 -303
  3. package/.openapi-generator/VERSION +0 -1
  4. package/.openapi-generator-ignore +0 -26
  5. package/api.ts +0 -28987
  6. package/base.ts +0 -62
  7. package/common.ts +0 -113
  8. package/configuration.ts +0 -121
  9. package/docs/AdminAboutApi.md +0 -164
  10. package/docs/AdminAboutInfo.md +0 -62
  11. package/docs/AdminBackupsApi.md +0 -333
  12. package/docs/AdminDebugApi.md +0 -62
  13. package/docs/AdminEmailApi.md +0 -116
  14. package/docs/AdminMaintenanceApi.md +0 -270
  15. package/docs/AdminManageGroupsApi.md +0 -305
  16. package/docs/AdminManageHouseholdsApi.md +0 -305
  17. package/docs/AdminManageUsersApi.md +0 -417
  18. package/docs/AllBackups.md +0 -22
  19. package/docs/AppAboutApi.md +0 -142
  20. package/docs/AppInfo.md +0 -44
  21. package/docs/AppStartupInfo.md +0 -22
  22. package/docs/AppStatistics.md +0 -30
  23. package/docs/AppTheme.md +0 -46
  24. package/docs/AssignCategories.md +0 -22
  25. package/docs/AssignSettings.md +0 -22
  26. package/docs/AssignTags.md +0 -22
  27. package/docs/AuthMethod.md +0 -12
  28. package/docs/BackupFile.md +0 -24
  29. package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +0 -20
  30. package/docs/CategoryBase.md +0 -26
  31. package/docs/CategoryIn.md +0 -20
  32. package/docs/CategoryOut.md +0 -26
  33. package/docs/CategorySummary.md +0 -24
  34. package/docs/ChangePassword.md +0 -22
  35. package/docs/CheckAppConfig.md +0 -30
  36. package/docs/CookBookPagination.md +0 -32
  37. package/docs/Cookbook.md +0 -18
  38. package/docs/Cookbook1.md +0 -18
  39. package/docs/CookbookHousehold.md +0 -22
  40. package/docs/CreateCookBook.md +0 -30
  41. package/docs/CreateGroupRecipeAction.md +0 -24
  42. package/docs/CreateIngredientFood.md +0 -34
  43. package/docs/CreateIngredientFoodAlias.md +0 -20
  44. package/docs/CreateIngredientUnit.md +0 -38
  45. package/docs/CreateIngredientUnitAlias.md +0 -20
  46. package/docs/CreateInviteToken.md +0 -24
  47. package/docs/CreatePlanEntry.md +0 -28
  48. package/docs/CreateRandomEntry.md +0 -22
  49. package/docs/CreateRecipe.md +0 -20
  50. package/docs/CreateRecipeBulk.md +0 -24
  51. package/docs/CreateRecipeByUrlBulk.md +0 -20
  52. package/docs/CreateUserRegistration.md +0 -42
  53. package/docs/CreateWebhook.md +0 -28
  54. package/docs/DebugResponse.md +0 -22
  55. package/docs/DeleteRecipes.md +0 -20
  56. package/docs/DeleteTokenResponse.md +0 -20
  57. package/docs/EmailInitationResponse.md +0 -22
  58. package/docs/EmailInvitation.md +0 -22
  59. package/docs/EmailReady.md +0 -20
  60. package/docs/EmailSuccess.md +0 -22
  61. package/docs/EmailTest.md +0 -20
  62. package/docs/ExploreCategoriesApi.md +0 -144
  63. package/docs/ExploreCookbooksApi.md +0 -145
  64. package/docs/ExploreFoodsApi.md +0 -144
  65. package/docs/ExploreHouseholdsApi.md +0 -141
  66. package/docs/ExploreRecipesApi.md +0 -266
  67. package/docs/ExploreTagsApi.md +0 -144
  68. package/docs/ExploreToolsApi.md +0 -144
  69. package/docs/ExportRecipes.md +0 -22
  70. package/docs/ExportTypes.md +0 -8
  71. package/docs/FileTokenResponse.md +0 -20
  72. package/docs/Food.md +0 -40
  73. package/docs/Food1.md +0 -40
  74. package/docs/ForgotPassword.md +0 -20
  75. package/docs/FormatResponse.md +0 -22
  76. package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +0 -18
  77. package/docs/GetAllApiRecipesGetTagsParameterInner.md +0 -18
  78. package/docs/GroupAdminUpdate.md +0 -24
  79. package/docs/GroupBase.md +0 -20
  80. package/docs/GroupDataExport.md +0 -32
  81. package/docs/GroupEventNotifierCreate.md +0 -22
  82. package/docs/GroupEventNotifierOptions.md +0 -69
  83. package/docs/GroupEventNotifierOptionsOut.md +0 -70
  84. package/docs/GroupEventNotifierOut.md +0 -30
  85. package/docs/GroupEventNotifierUpdate.md +0 -32
  86. package/docs/GroupEventPagination.md +0 -32
  87. package/docs/GroupHouseholdSummary.md +0 -22
  88. package/docs/GroupInDB.md +0 -34
  89. package/docs/GroupPagination.md +0 -32
  90. package/docs/GroupRecipeActionOut.md +0 -30
  91. package/docs/GroupRecipeActionPagination.md +0 -32
  92. package/docs/GroupRecipeActionType.md +0 -10
  93. package/docs/GroupStorage.md +0 -26
  94. package/docs/GroupSummary.md +0 -26
  95. package/docs/GroupsHouseholdsApi.md +0 -135
  96. package/docs/GroupsMigrationsApi.md +0 -68
  97. package/docs/GroupsMultiPurposeLabelsApi.md +0 -308
  98. package/docs/GroupsReportsApi.md +0 -172
  99. package/docs/GroupsSeedersApi.md +0 -175
  100. package/docs/GroupsSelfServiceApi.md +0 -351
  101. package/docs/HTTPValidationError.md +0 -20
  102. package/docs/HouseholdCreate.md +0 -22
  103. package/docs/HouseholdInDB.md +0 -34
  104. package/docs/HouseholdPagination.md +0 -32
  105. package/docs/HouseholdRecipeSummary.md +0 -22
  106. package/docs/HouseholdStatistics.md +0 -28
  107. package/docs/HouseholdSummary.md +0 -28
  108. package/docs/HouseholdUserSummary.md +0 -22
  109. package/docs/HouseholdsCookbooksApi.md +0 -361
  110. package/docs/HouseholdsEventNotificationsApi.md +0 -360
  111. package/docs/HouseholdsInvitationsApi.md +0 -171
  112. package/docs/HouseholdsMealplanRulesApi.md +0 -305
  113. package/docs/HouseholdsMealplansApi.md +0 -420
  114. package/docs/HouseholdsRecipeActionsApi.md +0 -367
  115. package/docs/HouseholdsSelfServiceApi.md +0 -406
  116. package/docs/HouseholdsShoppingListItemsApi.md +0 -470
  117. package/docs/HouseholdsShoppingListsApi.md +0 -545
  118. package/docs/HouseholdsWebhooksApi.md +0 -413
  119. package/docs/ImageType.md +0 -12
  120. package/docs/IngredientConfidence.md +0 -30
  121. package/docs/IngredientFoodAlias.md +0 -20
  122. package/docs/IngredientFoodInput.md +0 -40
  123. package/docs/IngredientFoodOutput.md +0 -40
  124. package/docs/IngredientFoodPagination.md +0 -32
  125. package/docs/IngredientReferences.md +0 -21
  126. package/docs/IngredientRequest.md +0 -22
  127. package/docs/IngredientUnitAlias.md +0 -20
  128. package/docs/IngredientUnitInput.md +0 -42
  129. package/docs/IngredientUnitOutput.md +0 -42
  130. package/docs/IngredientUnitPagination.md +0 -32
  131. package/docs/IngredientsRequest.md +0 -22
  132. package/docs/ItemId.md +0 -18
  133. package/docs/ItemId1.md +0 -18
  134. package/docs/LogicalOperator.md +0 -10
  135. package/docs/LongLiveTokenCreateResponse.md +0 -27
  136. package/docs/LongLiveTokenIn.md +0 -22
  137. package/docs/LongLiveTokenOut.md +0 -24
  138. package/docs/MaintenanceStorageDetails.md +0 -28
  139. package/docs/MaintenanceSummary.md +0 -24
  140. package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +0 -26
  141. package/docs/MealieSchemaUserUserUserBase.md +0 -44
  142. package/docs/MergeFood.md +0 -22
  143. package/docs/MergeUnit.md +0 -22
  144. package/docs/MultiPurposeLabelCreate.md +0 -22
  145. package/docs/MultiPurposeLabelOut.md +0 -26
  146. package/docs/MultiPurposeLabelPagination.md +0 -32
  147. package/docs/MultiPurposeLabelSummary.md +0 -26
  148. package/docs/MultiPurposeLabelUpdate.md +0 -26
  149. package/docs/Nutrition.md +0 -40
  150. package/docs/OrderByNullPosition.md +0 -10
  151. package/docs/OrderDirection.md +0 -10
  152. package/docs/OrganizerCategoriesApi.md +0 -422
  153. package/docs/OrganizerTagsApi.md +0 -421
  154. package/docs/OrganizerToolsApi.md +0 -363
  155. package/docs/PaginationBaseHouseholdSummary.md +0 -32
  156. package/docs/PaginationBaseIngredientFood.md +0 -32
  157. package/docs/PaginationBaseReadCookBook.md +0 -32
  158. package/docs/PaginationBaseRecipeCategory.md +0 -32
  159. package/docs/PaginationBaseRecipeSummary.md +0 -32
  160. package/docs/PaginationBaseRecipeTag.md +0 -32
  161. package/docs/PaginationBaseRecipeTool.md +0 -32
  162. package/docs/PaginationBaseUserOut.md +0 -32
  163. package/docs/PaginationBaseUserSummary.md +0 -32
  164. package/docs/ParsedIngredient.md +0 -24
  165. package/docs/PasswordResetToken.md +0 -20
  166. package/docs/PlanEntryPagination.md +0 -32
  167. package/docs/PlanEntryType.md +0 -20
  168. package/docs/PlanRulesCreate.md +0 -24
  169. package/docs/PlanRulesDay.md +0 -22
  170. package/docs/PlanRulesOut.md +0 -32
  171. package/docs/PlanRulesPagination.md +0 -32
  172. package/docs/PlanRulesType.md +0 -22
  173. package/docs/QueryFilterJSON.md +0 -20
  174. package/docs/QueryFilterJSONPart.md +0 -30
  175. package/docs/ReadCookBook.md +0 -40
  176. package/docs/ReadGroupPreferences.md +0 -24
  177. package/docs/ReadHouseholdPreferences.md +0 -36
  178. package/docs/ReadInviteToken.md +0 -26
  179. package/docs/ReadPlanEntry.md +0 -38
  180. package/docs/ReadWebhook.md +0 -34
  181. package/docs/RecipeAsset.md +0 -24
  182. package/docs/RecipeBulkActionsApi.md +0 -448
  183. package/docs/RecipeCRUDApi.md +0 -1306
  184. package/docs/RecipeCategory.md +0 -26
  185. package/docs/RecipeCategoryPagination.md +0 -32
  186. package/docs/RecipeCommentCreate.md +0 -22
  187. package/docs/RecipeCommentOutInput.md +0 -32
  188. package/docs/RecipeCommentOutOutput.md +0 -32
  189. package/docs/RecipeCommentPagination.md +0 -32
  190. package/docs/RecipeCommentUpdate.md +0 -22
  191. package/docs/RecipeCommentsApi.md +0 -361
  192. package/docs/RecipeDuplicate.md +0 -20
  193. package/docs/RecipeExportsApi.md +0 -118
  194. package/docs/RecipeImagesAndAssetsApi.md +0 -521
  195. package/docs/RecipeIngredientInput.md +0 -36
  196. package/docs/RecipeIngredientOutput.md +0 -36
  197. package/docs/RecipeIngredientParserApi.md +0 -119
  198. package/docs/RecipeInput.md +0 -84
  199. package/docs/RecipeLastMade.md +0 -20
  200. package/docs/RecipeNote.md +0 -22
  201. package/docs/RecipeOutput.md +0 -84
  202. package/docs/RecipeSettings.md +0 -30
  203. package/docs/RecipeShareToken.md +0 -30
  204. package/docs/RecipeShareTokenCreate.md +0 -22
  205. package/docs/RecipeShareTokenSummary.md +0 -28
  206. package/docs/RecipeSharedApi.md +0 -112
  207. package/docs/RecipeStep.md +0 -28
  208. package/docs/RecipeSuggestionResponse.md +0 -20
  209. package/docs/RecipeSuggestionResponseItem.md +0 -24
  210. package/docs/RecipeSummary.md +0 -68
  211. package/docs/RecipeTag.md +0 -26
  212. package/docs/RecipeTagPagination.md +0 -32
  213. package/docs/RecipeTagResponse.md +0 -28
  214. package/docs/RecipeTimelineApi.md +0 -366
  215. package/docs/RecipeTimelineEventIn.md +0 -32
  216. package/docs/RecipeTimelineEventOut.md +0 -42
  217. package/docs/RecipeTimelineEventPagination.md +0 -32
  218. package/docs/RecipeTimelineEventUpdate.md +0 -24
  219. package/docs/RecipeTool.md +0 -28
  220. package/docs/RecipeToolCreate.md +0 -22
  221. package/docs/RecipeToolOut.md +0 -28
  222. package/docs/RecipeToolPagination.md +0 -32
  223. package/docs/RecipeToolResponse.md +0 -30
  224. package/docs/RecipesFoodsApi.md +0 -364
  225. package/docs/RecipesUnitsApi.md +0 -364
  226. package/docs/RegisteredParser.md +0 -12
  227. package/docs/RelationalKeyword.md +0 -20
  228. package/docs/RelationalOperator.md +0 -18
  229. package/docs/Relationaloperator.md +0 -18
  230. package/docs/ReportCategory.md +0 -14
  231. package/docs/ReportEntryOut.md +0 -30
  232. package/docs/ReportOut.md +0 -32
  233. package/docs/ReportSummary.md +0 -30
  234. package/docs/ReportSummaryStatus.md +0 -14
  235. package/docs/ResetPassword.md +0 -26
  236. package/docs/SaveGroupRecipeAction.md +0 -28
  237. package/docs/ScrapeRecipe.md +0 -22
  238. package/docs/ScrapeRecipeData.md +0 -22
  239. package/docs/ScrapeRecipeTest.md +0 -22
  240. package/docs/SeederConfig.md +0 -20
  241. package/docs/SetPermissions.md +0 -28
  242. package/docs/SharedRecipesApi.md +0 -228
  243. package/docs/ShoppingListAddRecipeParams.md +0 -22
  244. package/docs/ShoppingListAddRecipeParamsBulk.md +0 -24
  245. package/docs/ShoppingListCreate.md +0 -26
  246. package/docs/ShoppingListItemCreate.md +0 -48
  247. package/docs/ShoppingListItemOutInput.md +0 -58
  248. package/docs/ShoppingListItemOutOutput.md +0 -58
  249. package/docs/ShoppingListItemPagination.md +0 -32
  250. package/docs/ShoppingListItemRecipeRefCreate.md +0 -26
  251. package/docs/ShoppingListItemRecipeRefOut.md +0 -30
  252. package/docs/ShoppingListItemRecipeRefUpdate.md +0 -30
  253. package/docs/ShoppingListItemUpdate.md +0 -46
  254. package/docs/ShoppingListItemUpdateBulk.md +0 -49
  255. package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +0 -30
  256. package/docs/ShoppingListItemsCollectionOut.md +0 -25
  257. package/docs/ShoppingListMultiPurposeLabelOut.md +0 -28
  258. package/docs/ShoppingListMultiPurposeLabelUpdate.md +0 -26
  259. package/docs/ShoppingListOut.md +0 -40
  260. package/docs/ShoppingListPagination.md +0 -32
  261. package/docs/ShoppingListRecipeRefOut.md +0 -28
  262. package/docs/ShoppingListRemoveRecipeParams.md +0 -20
  263. package/docs/ShoppingListSummary.md +0 -38
  264. package/docs/ShoppingListUpdate.md +0 -34
  265. package/docs/SuccessResponse.md +0 -22
  266. package/docs/SupportedMigrations.md +0 -26
  267. package/docs/TagBase.md +0 -26
  268. package/docs/TagIn.md +0 -20
  269. package/docs/TagOut.md +0 -26
  270. package/docs/TimelineEventImage.md +0 -10
  271. package/docs/TimelineEventType.md +0 -12
  272. package/docs/Unit.md +0 -42
  273. package/docs/Unit1.md +0 -42
  274. package/docs/UnlockResults.md +0 -20
  275. package/docs/UpdateCookBook.md +0 -36
  276. package/docs/UpdateGroupPreferences.md +0 -20
  277. package/docs/UpdateHouseholdAdmin.md +0 -26
  278. package/docs/UpdateHouseholdPreferences.md +0 -34
  279. package/docs/UpdateImageResponse.md +0 -20
  280. package/docs/UpdatePlanEntry.md +0 -34
  281. package/docs/UserIn.md +0 -46
  282. package/docs/UserOut.md +0 -56
  283. package/docs/UserPagination.md +0 -32
  284. package/docs/UserRatingOut.md +0 -28
  285. package/docs/UserRatingSummary.md +0 -24
  286. package/docs/UserRatingUpdate.md +0 -22
  287. package/docs/UserRatingsUserRatingOut.md +0 -20
  288. package/docs/UserRatingsUserRatingSummary.md +0 -20
  289. package/docs/UserSummary.md +0 -28
  290. package/docs/UsernameOrId.md +0 -18
  291. package/docs/UsersAuthenticationApi.md +0 -250
  292. package/docs/UsersCRUDApi.md +0 -334
  293. package/docs/UsersImagesApi.md +0 -66
  294. package/docs/UsersPasswordsApi.md +0 -118
  295. package/docs/UsersRatingsApi.md +0 -300
  296. package/docs/UsersRegistrationApi.md +0 -63
  297. package/docs/UsersTokensApi.md +0 -120
  298. package/docs/UtilsApi.md +0 -60
  299. package/docs/ValidationError.md +0 -24
  300. package/docs/ValidationErrorLocInner.md +0 -18
  301. package/docs/Value.md +0 -18
  302. package/docs/WebhookPagination.md +0 -32
  303. package/docs/WebhookType.md +0 -8
  304. package/index.ts +0 -18
  305. package/tsconfig.json +0 -21
@@ -1,300 +0,0 @@
1
- # UsersRatingsApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**addFavoriteApiUsersIdFavoritesSlugPost**](#addfavoriteapiusersidfavoritesslugpost) | **POST** /api/users/{id}/favorites/{slug} | Add Favorite|
8
- |[**getFavoritesApiUsersIdFavoritesGet**](#getfavoritesapiusersidfavoritesget) | **GET** /api/users/{id}/favorites | Get Favorites|
9
- |[**getRatingsApiUsersIdRatingsGet**](#getratingsapiusersidratingsget) | **GET** /api/users/{id}/ratings | Get Ratings|
10
- |[**removeFavoriteApiUsersIdFavoritesSlugDelete**](#removefavoriteapiusersidfavoritesslugdelete) | **DELETE** /api/users/{id}/favorites/{slug} | Remove Favorite|
11
- |[**setRatingApiUsersIdRatingsSlugPost**](#setratingapiusersidratingsslugpost) | **POST** /api/users/{id}/ratings/{slug} | Set Rating|
12
-
13
- # **addFavoriteApiUsersIdFavoritesSlugPost**
14
- > any addFavoriteApiUsersIdFavoritesSlugPost()
15
-
16
- Adds a recipe to the user\'s favorites
17
-
18
- ### Example
19
-
20
- ```typescript
21
- import {
22
- UsersRatingsApi,
23
- Configuration
24
- } from 'mealie-typescript';
25
-
26
- const configuration = new Configuration();
27
- const apiInstance = new UsersRatingsApi(configuration);
28
-
29
- let id: string; // (default to undefined)
30
- let slug: string; // (default to undefined)
31
- let acceptLanguage: string; // (optional) (default to undefined)
32
-
33
- const { status, data } = await apiInstance.addFavoriteApiUsersIdFavoritesSlugPost(
34
- id,
35
- slug,
36
- acceptLanguage
37
- );
38
- ```
39
-
40
- ### Parameters
41
-
42
- |Name | Type | Description | Notes|
43
- |------------- | ------------- | ------------- | -------------|
44
- | **id** | [**string**] | | defaults to undefined|
45
- | **slug** | [**string**] | | defaults to undefined|
46
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
47
-
48
-
49
- ### Return type
50
-
51
- **any**
52
-
53
- ### Authorization
54
-
55
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: Not defined
60
- - **Accept**: application/json
61
-
62
-
63
- ### HTTP response details
64
- | Status code | Description | Response headers |
65
- |-------------|-------------|------------------|
66
- |**200** | Successful Response | - |
67
- |**422** | Validation Error | - |
68
-
69
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
70
-
71
- # **getFavoritesApiUsersIdFavoritesGet**
72
- > UserRatingsUserRatingOut getFavoritesApiUsersIdFavoritesGet()
73
-
74
- Get user\'s favorited recipes
75
-
76
- ### Example
77
-
78
- ```typescript
79
- import {
80
- UsersRatingsApi,
81
- Configuration
82
- } from 'mealie-typescript';
83
-
84
- const configuration = new Configuration();
85
- const apiInstance = new UsersRatingsApi(configuration);
86
-
87
- let id: string; // (default to undefined)
88
- let acceptLanguage: string; // (optional) (default to undefined)
89
-
90
- const { status, data } = await apiInstance.getFavoritesApiUsersIdFavoritesGet(
91
- id,
92
- acceptLanguage
93
- );
94
- ```
95
-
96
- ### Parameters
97
-
98
- |Name | Type | Description | Notes|
99
- |------------- | ------------- | ------------- | -------------|
100
- | **id** | [**string**] | | defaults to undefined|
101
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
102
-
103
-
104
- ### Return type
105
-
106
- **UserRatingsUserRatingOut**
107
-
108
- ### Authorization
109
-
110
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
111
-
112
- ### HTTP request headers
113
-
114
- - **Content-Type**: Not defined
115
- - **Accept**: application/json
116
-
117
-
118
- ### HTTP response details
119
- | Status code | Description | Response headers |
120
- |-------------|-------------|------------------|
121
- |**200** | Successful Response | - |
122
- |**422** | Validation Error | - |
123
-
124
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
125
-
126
- # **getRatingsApiUsersIdRatingsGet**
127
- > UserRatingsUserRatingOut getRatingsApiUsersIdRatingsGet()
128
-
129
- Get user\'s rated recipes
130
-
131
- ### Example
132
-
133
- ```typescript
134
- import {
135
- UsersRatingsApi,
136
- Configuration
137
- } from 'mealie-typescript';
138
-
139
- const configuration = new Configuration();
140
- const apiInstance = new UsersRatingsApi(configuration);
141
-
142
- let id: string; // (default to undefined)
143
- let acceptLanguage: string; // (optional) (default to undefined)
144
-
145
- const { status, data } = await apiInstance.getRatingsApiUsersIdRatingsGet(
146
- id,
147
- acceptLanguage
148
- );
149
- ```
150
-
151
- ### Parameters
152
-
153
- |Name | Type | Description | Notes|
154
- |------------- | ------------- | ------------- | -------------|
155
- | **id** | [**string**] | | defaults to undefined|
156
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
157
-
158
-
159
- ### Return type
160
-
161
- **UserRatingsUserRatingOut**
162
-
163
- ### Authorization
164
-
165
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
166
-
167
- ### HTTP request headers
168
-
169
- - **Content-Type**: Not defined
170
- - **Accept**: application/json
171
-
172
-
173
- ### HTTP response details
174
- | Status code | Description | Response headers |
175
- |-------------|-------------|------------------|
176
- |**200** | Successful Response | - |
177
- |**422** | Validation Error | - |
178
-
179
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
180
-
181
- # **removeFavoriteApiUsersIdFavoritesSlugDelete**
182
- > any removeFavoriteApiUsersIdFavoritesSlugDelete()
183
-
184
- Removes a recipe from the user\'s favorites
185
-
186
- ### Example
187
-
188
- ```typescript
189
- import {
190
- UsersRatingsApi,
191
- Configuration
192
- } from 'mealie-typescript';
193
-
194
- const configuration = new Configuration();
195
- const apiInstance = new UsersRatingsApi(configuration);
196
-
197
- let id: string; // (default to undefined)
198
- let slug: string; // (default to undefined)
199
- let acceptLanguage: string; // (optional) (default to undefined)
200
-
201
- const { status, data } = await apiInstance.removeFavoriteApiUsersIdFavoritesSlugDelete(
202
- id,
203
- slug,
204
- acceptLanguage
205
- );
206
- ```
207
-
208
- ### Parameters
209
-
210
- |Name | Type | Description | Notes|
211
- |------------- | ------------- | ------------- | -------------|
212
- | **id** | [**string**] | | defaults to undefined|
213
- | **slug** | [**string**] | | defaults to undefined|
214
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
215
-
216
-
217
- ### Return type
218
-
219
- **any**
220
-
221
- ### Authorization
222
-
223
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
224
-
225
- ### HTTP request headers
226
-
227
- - **Content-Type**: Not defined
228
- - **Accept**: application/json
229
-
230
-
231
- ### HTTP response details
232
- | Status code | Description | Response headers |
233
- |-------------|-------------|------------------|
234
- |**200** | Successful Response | - |
235
- |**422** | Validation Error | - |
236
-
237
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
238
-
239
- # **setRatingApiUsersIdRatingsSlugPost**
240
- > any setRatingApiUsersIdRatingsSlugPost(userRatingUpdate)
241
-
242
- Sets the user\'s rating for a recipe
243
-
244
- ### Example
245
-
246
- ```typescript
247
- import {
248
- UsersRatingsApi,
249
- Configuration,
250
- UserRatingUpdate
251
- } from 'mealie-typescript';
252
-
253
- const configuration = new Configuration();
254
- const apiInstance = new UsersRatingsApi(configuration);
255
-
256
- let id: string; // (default to undefined)
257
- let slug: string; // (default to undefined)
258
- let userRatingUpdate: UserRatingUpdate; //
259
- let acceptLanguage: string; // (optional) (default to undefined)
260
-
261
- const { status, data } = await apiInstance.setRatingApiUsersIdRatingsSlugPost(
262
- id,
263
- slug,
264
- userRatingUpdate,
265
- acceptLanguage
266
- );
267
- ```
268
-
269
- ### Parameters
270
-
271
- |Name | Type | Description | Notes|
272
- |------------- | ------------- | ------------- | -------------|
273
- | **userRatingUpdate** | **UserRatingUpdate**| | |
274
- | **id** | [**string**] | | defaults to undefined|
275
- | **slug** | [**string**] | | defaults to undefined|
276
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
277
-
278
-
279
- ### Return type
280
-
281
- **any**
282
-
283
- ### Authorization
284
-
285
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
286
-
287
- ### HTTP request headers
288
-
289
- - **Content-Type**: application/json
290
- - **Accept**: application/json
291
-
292
-
293
- ### HTTP response details
294
- | Status code | Description | Response headers |
295
- |-------------|-------------|------------------|
296
- |**200** | Successful Response | - |
297
- |**422** | Validation Error | - |
298
-
299
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
300
-
@@ -1,63 +0,0 @@
1
- # UsersRegistrationApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**registerNewUserApiUsersRegisterPost**](#registernewuserapiusersregisterpost) | **POST** /api/users/register | Register New User|
8
-
9
- # **registerNewUserApiUsersRegisterPost**
10
- > UserOut registerNewUserApiUsersRegisterPost(createUserRegistration)
11
-
12
-
13
- ### Example
14
-
15
- ```typescript
16
- import {
17
- UsersRegistrationApi,
18
- Configuration,
19
- CreateUserRegistration
20
- } from 'mealie-typescript';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new UsersRegistrationApi(configuration);
24
-
25
- let createUserRegistration: CreateUserRegistration; //
26
- let acceptLanguage: string; // (optional) (default to undefined)
27
-
28
- const { status, data } = await apiInstance.registerNewUserApiUsersRegisterPost(
29
- createUserRegistration,
30
- acceptLanguage
31
- );
32
- ```
33
-
34
- ### Parameters
35
-
36
- |Name | Type | Description | Notes|
37
- |------------- | ------------- | ------------- | -------------|
38
- | **createUserRegistration** | **CreateUserRegistration**| | |
39
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
40
-
41
-
42
- ### Return type
43
-
44
- **UserOut**
45
-
46
- ### Authorization
47
-
48
- No authorization required
49
-
50
- ### HTTP request headers
51
-
52
- - **Content-Type**: application/json
53
- - **Accept**: application/json
54
-
55
-
56
- ### HTTP response details
57
- | Status code | Description | Response headers |
58
- |-------------|-------------|------------------|
59
- |**201** | Successful Response | - |
60
- |**422** | Validation Error | - |
61
-
62
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
63
-
@@ -1,120 +0,0 @@
1
- # UsersTokensApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**createApiTokenApiUsersApiTokensPost**](#createapitokenapiusersapitokenspost) | **POST** /api/users/api-tokens | Create Api Token|
8
- |[**deleteApiTokenApiUsersApiTokensTokenIdDelete**](#deleteapitokenapiusersapitokenstokeniddelete) | **DELETE** /api/users/api-tokens/{token_id} | Delete Api Token|
9
-
10
- # **createApiTokenApiUsersApiTokensPost**
11
- > LongLiveTokenCreateResponse createApiTokenApiUsersApiTokensPost(longLiveTokenIn)
12
-
13
- Create api_token in the Database
14
-
15
- ### Example
16
-
17
- ```typescript
18
- import {
19
- UsersTokensApi,
20
- Configuration,
21
- LongLiveTokenIn
22
- } from 'mealie-typescript';
23
-
24
- const configuration = new Configuration();
25
- const apiInstance = new UsersTokensApi(configuration);
26
-
27
- let longLiveTokenIn: LongLiveTokenIn; //
28
- let acceptLanguage: string; // (optional) (default to undefined)
29
-
30
- const { status, data } = await apiInstance.createApiTokenApiUsersApiTokensPost(
31
- longLiveTokenIn,
32
- acceptLanguage
33
- );
34
- ```
35
-
36
- ### Parameters
37
-
38
- |Name | Type | Description | Notes|
39
- |------------- | ------------- | ------------- | -------------|
40
- | **longLiveTokenIn** | **LongLiveTokenIn**| | |
41
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
42
-
43
-
44
- ### Return type
45
-
46
- **LongLiveTokenCreateResponse**
47
-
48
- ### Authorization
49
-
50
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
51
-
52
- ### HTTP request headers
53
-
54
- - **Content-Type**: application/json
55
- - **Accept**: application/json
56
-
57
-
58
- ### HTTP response details
59
- | Status code | Description | Response headers |
60
- |-------------|-------------|------------------|
61
- |**201** | Successful Response | - |
62
- |**422** | Validation Error | - |
63
-
64
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
65
-
66
- # **deleteApiTokenApiUsersApiTokensTokenIdDelete**
67
- > DeleteTokenResponse deleteApiTokenApiUsersApiTokensTokenIdDelete()
68
-
69
- Delete api_token from the Database
70
-
71
- ### Example
72
-
73
- ```typescript
74
- import {
75
- UsersTokensApi,
76
- Configuration
77
- } from 'mealie-typescript';
78
-
79
- const configuration = new Configuration();
80
- const apiInstance = new UsersTokensApi(configuration);
81
-
82
- let tokenId: number; // (default to undefined)
83
- let acceptLanguage: string; // (optional) (default to undefined)
84
-
85
- const { status, data } = await apiInstance.deleteApiTokenApiUsersApiTokensTokenIdDelete(
86
- tokenId,
87
- acceptLanguage
88
- );
89
- ```
90
-
91
- ### Parameters
92
-
93
- |Name | Type | Description | Notes|
94
- |------------- | ------------- | ------------- | -------------|
95
- | **tokenId** | [**number**] | | defaults to undefined|
96
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
97
-
98
-
99
- ### Return type
100
-
101
- **DeleteTokenResponse**
102
-
103
- ### Authorization
104
-
105
- [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
106
-
107
- ### HTTP request headers
108
-
109
- - **Content-Type**: Not defined
110
- - **Accept**: application/json
111
-
112
-
113
- ### HTTP response details
114
- | Status code | Description | Response headers |
115
- |-------------|-------------|------------------|
116
- |**200** | Successful Response | - |
117
- |**422** | Validation Error | - |
118
-
119
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
120
-
package/docs/UtilsApi.md DELETED
@@ -1,60 +0,0 @@
1
- # UtilsApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**downloadFileApiUtilsDownloadGet**](#downloadfileapiutilsdownloadget) | **GET** /api/utils/download | Download File|
8
-
9
- # **downloadFileApiUtilsDownloadGet**
10
- > any downloadFileApiUtilsDownloadGet()
11
-
12
- Uses a file token obtained by an active user to retrieve a file from the operating system.
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- UtilsApi,
19
- Configuration
20
- } from 'mealie-typescript';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new UtilsApi(configuration);
24
-
25
- let token: string; // (optional) (default to undefined)
26
-
27
- const { status, data } = await apiInstance.downloadFileApiUtilsDownloadGet(
28
- token
29
- );
30
- ```
31
-
32
- ### Parameters
33
-
34
- |Name | Type | Description | Notes|
35
- |------------- | ------------- | ------------- | -------------|
36
- | **token** | [**string**] | | (optional) defaults to undefined|
37
-
38
-
39
- ### Return type
40
-
41
- **any**
42
-
43
- ### Authorization
44
-
45
- No authorization required
46
-
47
- ### HTTP request headers
48
-
49
- - **Content-Type**: Not defined
50
- - **Accept**: application/json
51
-
52
-
53
- ### HTTP response details
54
- | Status code | Description | Response headers |
55
- |-------------|-------------|------------------|
56
- |**200** | Successful Response | - |
57
- |**422** | Validation Error | - |
58
-
59
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
60
-
@@ -1,24 +0,0 @@
1
- # ValidationError
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **loc** | [**Array<ValidationErrorLocInner>**](ValidationErrorLocInner.md) | | [default to undefined]
9
- **msg** | **string** | | [default to undefined]
10
- **type** | **string** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ValidationError } from 'mealie-typescript';
16
-
17
- const instance: ValidationError = {
18
- loc,
19
- msg,
20
- type,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,18 +0,0 @@
1
- # ValidationErrorLocInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
-
9
- ## Example
10
-
11
- ```typescript
12
- import { ValidationErrorLocInner } from 'mealie-typescript';
13
-
14
- const instance: ValidationErrorLocInner = {
15
- };
16
- ```
17
-
18
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Value.md DELETED
@@ -1,18 +0,0 @@
1
- # Value
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
-
9
- ## Example
10
-
11
- ```typescript
12
- import { Value } from 'mealie-typescript';
13
-
14
- const instance: Value = {
15
- };
16
- ```
17
-
18
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,32 +0,0 @@
1
- # WebhookPagination
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **page** | **number** | | [optional] [default to 1]
9
- **per_page** | **number** | | [optional] [default to 10]
10
- **total** | **number** | | [optional] [default to 0]
11
- **total_pages** | **number** | | [optional] [default to 0]
12
- **items** | [**Array<ReadWebhook>**](ReadWebhook.md) | | [default to undefined]
13
- **next** | **string** | | [optional] [default to undefined]
14
- **previous** | **string** | | [optional] [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { WebhookPagination } from 'mealie-typescript';
20
-
21
- const instance: WebhookPagination = {
22
- page,
23
- per_page,
24
- total,
25
- total_pages,
26
- items,
27
- next,
28
- previous,
29
- };
30
- ```
31
-
32
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,8 +0,0 @@
1
- # WebhookType
2
-
3
-
4
- ## Enum
5
-
6
- * `Mealplan` (value: `'mealplan'`)
7
-
8
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts DELETED
@@ -1,18 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Mealie
5
- * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
6
- *
7
- * The version of the OpenAPI document: nightly
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.
13
- */
14
-
15
-
16
- export * from "./api";
17
- export * from "./configuration";
18
-
package/tsconfig.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "declaration": true,
4
- "target": "ES5",
5
- "module": "commonjs",
6
- "noImplicitAny": true,
7
- "outDir": "dist",
8
- "rootDir": ".",
9
- "lib": [
10
- "es2017",
11
- "dom"
12
- ],
13
- "typeRoots": [
14
- "node_modules/@types"
15
- ]
16
- },
17
- "exclude": [
18
- "dist",
19
- "node_modules"
20
- ]
21
- }