mealie-typescript 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/.openapi-generator/FILES +306 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +24 -0
  4. package/README.md +564 -0
  5. package/api.ts +28987 -0
  6. package/base.ts +62 -0
  7. package/common.ts +113 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +15860 -0
  10. package/dist/api.js +28568 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +67 -0
  13. package/dist/common.d.ts +28 -0
  14. package/dist/common.js +216 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +57 -0
  17. package/dist/index.d.ts +13 -0
  18. package/dist/index.js +31 -0
  19. package/docs/AdminAboutApi.md +164 -0
  20. package/docs/AdminAboutInfo.md +62 -0
  21. package/docs/AdminBackupsApi.md +333 -0
  22. package/docs/AdminDebugApi.md +62 -0
  23. package/docs/AdminEmailApi.md +116 -0
  24. package/docs/AdminMaintenanceApi.md +270 -0
  25. package/docs/AdminManageGroupsApi.md +305 -0
  26. package/docs/AdminManageHouseholdsApi.md +305 -0
  27. package/docs/AdminManageUsersApi.md +417 -0
  28. package/docs/AllBackups.md +22 -0
  29. package/docs/AppAboutApi.md +142 -0
  30. package/docs/AppInfo.md +44 -0
  31. package/docs/AppStartupInfo.md +22 -0
  32. package/docs/AppStatistics.md +30 -0
  33. package/docs/AppTheme.md +46 -0
  34. package/docs/AssignCategories.md +22 -0
  35. package/docs/AssignSettings.md +22 -0
  36. package/docs/AssignTags.md +22 -0
  37. package/docs/AuthMethod.md +12 -0
  38. package/docs/BackupFile.md +24 -0
  39. package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +20 -0
  40. package/docs/CategoryBase.md +26 -0
  41. package/docs/CategoryIn.md +20 -0
  42. package/docs/CategoryOut.md +26 -0
  43. package/docs/CategorySummary.md +24 -0
  44. package/docs/ChangePassword.md +22 -0
  45. package/docs/CheckAppConfig.md +30 -0
  46. package/docs/CookBookPagination.md +32 -0
  47. package/docs/Cookbook.md +18 -0
  48. package/docs/Cookbook1.md +18 -0
  49. package/docs/CookbookHousehold.md +22 -0
  50. package/docs/CreateCookBook.md +30 -0
  51. package/docs/CreateGroupRecipeAction.md +24 -0
  52. package/docs/CreateIngredientFood.md +34 -0
  53. package/docs/CreateIngredientFoodAlias.md +20 -0
  54. package/docs/CreateIngredientUnit.md +38 -0
  55. package/docs/CreateIngredientUnitAlias.md +20 -0
  56. package/docs/CreateInviteToken.md +24 -0
  57. package/docs/CreatePlanEntry.md +28 -0
  58. package/docs/CreateRandomEntry.md +22 -0
  59. package/docs/CreateRecipe.md +20 -0
  60. package/docs/CreateRecipeBulk.md +24 -0
  61. package/docs/CreateRecipeByUrlBulk.md +20 -0
  62. package/docs/CreateUserRegistration.md +42 -0
  63. package/docs/CreateWebhook.md +28 -0
  64. package/docs/DebugResponse.md +22 -0
  65. package/docs/DeleteRecipes.md +20 -0
  66. package/docs/DeleteTokenResponse.md +20 -0
  67. package/docs/EmailInitationResponse.md +22 -0
  68. package/docs/EmailInvitation.md +22 -0
  69. package/docs/EmailReady.md +20 -0
  70. package/docs/EmailSuccess.md +22 -0
  71. package/docs/EmailTest.md +20 -0
  72. package/docs/ExploreCategoriesApi.md +144 -0
  73. package/docs/ExploreCookbooksApi.md +145 -0
  74. package/docs/ExploreFoodsApi.md +144 -0
  75. package/docs/ExploreHouseholdsApi.md +141 -0
  76. package/docs/ExploreRecipesApi.md +266 -0
  77. package/docs/ExploreTagsApi.md +144 -0
  78. package/docs/ExploreToolsApi.md +144 -0
  79. package/docs/ExportRecipes.md +22 -0
  80. package/docs/ExportTypes.md +8 -0
  81. package/docs/FileTokenResponse.md +20 -0
  82. package/docs/Food.md +40 -0
  83. package/docs/Food1.md +40 -0
  84. package/docs/ForgotPassword.md +20 -0
  85. package/docs/FormatResponse.md +22 -0
  86. package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +18 -0
  87. package/docs/GetAllApiRecipesGetTagsParameterInner.md +18 -0
  88. package/docs/GroupAdminUpdate.md +24 -0
  89. package/docs/GroupBase.md +20 -0
  90. package/docs/GroupDataExport.md +32 -0
  91. package/docs/GroupEventNotifierCreate.md +22 -0
  92. package/docs/GroupEventNotifierOptions.md +69 -0
  93. package/docs/GroupEventNotifierOptionsOut.md +70 -0
  94. package/docs/GroupEventNotifierOut.md +30 -0
  95. package/docs/GroupEventNotifierUpdate.md +32 -0
  96. package/docs/GroupEventPagination.md +32 -0
  97. package/docs/GroupHouseholdSummary.md +22 -0
  98. package/docs/GroupInDB.md +34 -0
  99. package/docs/GroupPagination.md +32 -0
  100. package/docs/GroupRecipeActionOut.md +30 -0
  101. package/docs/GroupRecipeActionPagination.md +32 -0
  102. package/docs/GroupRecipeActionType.md +10 -0
  103. package/docs/GroupStorage.md +26 -0
  104. package/docs/GroupSummary.md +26 -0
  105. package/docs/GroupsHouseholdsApi.md +135 -0
  106. package/docs/GroupsMigrationsApi.md +68 -0
  107. package/docs/GroupsMultiPurposeLabelsApi.md +308 -0
  108. package/docs/GroupsReportsApi.md +172 -0
  109. package/docs/GroupsSeedersApi.md +175 -0
  110. package/docs/GroupsSelfServiceApi.md +351 -0
  111. package/docs/HTTPValidationError.md +20 -0
  112. package/docs/HouseholdCreate.md +22 -0
  113. package/docs/HouseholdInDB.md +34 -0
  114. package/docs/HouseholdPagination.md +32 -0
  115. package/docs/HouseholdRecipeSummary.md +22 -0
  116. package/docs/HouseholdStatistics.md +28 -0
  117. package/docs/HouseholdSummary.md +28 -0
  118. package/docs/HouseholdUserSummary.md +22 -0
  119. package/docs/HouseholdsCookbooksApi.md +361 -0
  120. package/docs/HouseholdsEventNotificationsApi.md +360 -0
  121. package/docs/HouseholdsInvitationsApi.md +171 -0
  122. package/docs/HouseholdsMealplanRulesApi.md +305 -0
  123. package/docs/HouseholdsMealplansApi.md +420 -0
  124. package/docs/HouseholdsRecipeActionsApi.md +367 -0
  125. package/docs/HouseholdsSelfServiceApi.md +406 -0
  126. package/docs/HouseholdsShoppingListItemsApi.md +470 -0
  127. package/docs/HouseholdsShoppingListsApi.md +545 -0
  128. package/docs/HouseholdsWebhooksApi.md +413 -0
  129. package/docs/ImageType.md +12 -0
  130. package/docs/IngredientConfidence.md +30 -0
  131. package/docs/IngredientFoodAlias.md +20 -0
  132. package/docs/IngredientFoodInput.md +40 -0
  133. package/docs/IngredientFoodOutput.md +40 -0
  134. package/docs/IngredientFoodPagination.md +32 -0
  135. package/docs/IngredientReferences.md +21 -0
  136. package/docs/IngredientRequest.md +22 -0
  137. package/docs/IngredientUnitAlias.md +20 -0
  138. package/docs/IngredientUnitInput.md +42 -0
  139. package/docs/IngredientUnitOutput.md +42 -0
  140. package/docs/IngredientUnitPagination.md +32 -0
  141. package/docs/IngredientsRequest.md +22 -0
  142. package/docs/ItemId.md +18 -0
  143. package/docs/ItemId1.md +18 -0
  144. package/docs/LogicalOperator.md +10 -0
  145. package/docs/LongLiveTokenCreateResponse.md +27 -0
  146. package/docs/LongLiveTokenIn.md +22 -0
  147. package/docs/LongLiveTokenOut.md +24 -0
  148. package/docs/MaintenanceStorageDetails.md +28 -0
  149. package/docs/MaintenanceSummary.md +24 -0
  150. package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +26 -0
  151. package/docs/MealieSchemaUserUserUserBase.md +44 -0
  152. package/docs/MergeFood.md +22 -0
  153. package/docs/MergeUnit.md +22 -0
  154. package/docs/MultiPurposeLabelCreate.md +22 -0
  155. package/docs/MultiPurposeLabelOut.md +26 -0
  156. package/docs/MultiPurposeLabelPagination.md +32 -0
  157. package/docs/MultiPurposeLabelSummary.md +26 -0
  158. package/docs/MultiPurposeLabelUpdate.md +26 -0
  159. package/docs/Nutrition.md +40 -0
  160. package/docs/OrderByNullPosition.md +10 -0
  161. package/docs/OrderDirection.md +10 -0
  162. package/docs/OrganizerCategoriesApi.md +422 -0
  163. package/docs/OrganizerTagsApi.md +421 -0
  164. package/docs/OrganizerToolsApi.md +363 -0
  165. package/docs/PaginationBaseHouseholdSummary.md +32 -0
  166. package/docs/PaginationBaseIngredientFood.md +32 -0
  167. package/docs/PaginationBaseReadCookBook.md +32 -0
  168. package/docs/PaginationBaseRecipeCategory.md +32 -0
  169. package/docs/PaginationBaseRecipeSummary.md +32 -0
  170. package/docs/PaginationBaseRecipeTag.md +32 -0
  171. package/docs/PaginationBaseRecipeTool.md +32 -0
  172. package/docs/PaginationBaseUserOut.md +32 -0
  173. package/docs/PaginationBaseUserSummary.md +32 -0
  174. package/docs/ParsedIngredient.md +24 -0
  175. package/docs/PasswordResetToken.md +20 -0
  176. package/docs/PlanEntryPagination.md +32 -0
  177. package/docs/PlanEntryType.md +20 -0
  178. package/docs/PlanRulesCreate.md +24 -0
  179. package/docs/PlanRulesDay.md +22 -0
  180. package/docs/PlanRulesOut.md +32 -0
  181. package/docs/PlanRulesPagination.md +32 -0
  182. package/docs/PlanRulesType.md +22 -0
  183. package/docs/QueryFilterJSON.md +20 -0
  184. package/docs/QueryFilterJSONPart.md +30 -0
  185. package/docs/ReadCookBook.md +40 -0
  186. package/docs/ReadGroupPreferences.md +24 -0
  187. package/docs/ReadHouseholdPreferences.md +36 -0
  188. package/docs/ReadInviteToken.md +26 -0
  189. package/docs/ReadPlanEntry.md +38 -0
  190. package/docs/ReadWebhook.md +34 -0
  191. package/docs/RecipeAsset.md +24 -0
  192. package/docs/RecipeBulkActionsApi.md +448 -0
  193. package/docs/RecipeCRUDApi.md +1306 -0
  194. package/docs/RecipeCategory.md +26 -0
  195. package/docs/RecipeCategoryPagination.md +32 -0
  196. package/docs/RecipeCommentCreate.md +22 -0
  197. package/docs/RecipeCommentOutInput.md +32 -0
  198. package/docs/RecipeCommentOutOutput.md +32 -0
  199. package/docs/RecipeCommentPagination.md +32 -0
  200. package/docs/RecipeCommentUpdate.md +22 -0
  201. package/docs/RecipeCommentsApi.md +361 -0
  202. package/docs/RecipeDuplicate.md +20 -0
  203. package/docs/RecipeExportsApi.md +118 -0
  204. package/docs/RecipeImagesAndAssetsApi.md +521 -0
  205. package/docs/RecipeIngredientInput.md +36 -0
  206. package/docs/RecipeIngredientOutput.md +36 -0
  207. package/docs/RecipeIngredientParserApi.md +119 -0
  208. package/docs/RecipeInput.md +84 -0
  209. package/docs/RecipeLastMade.md +20 -0
  210. package/docs/RecipeNote.md +22 -0
  211. package/docs/RecipeOutput.md +84 -0
  212. package/docs/RecipeSettings.md +30 -0
  213. package/docs/RecipeShareToken.md +30 -0
  214. package/docs/RecipeShareTokenCreate.md +22 -0
  215. package/docs/RecipeShareTokenSummary.md +28 -0
  216. package/docs/RecipeSharedApi.md +112 -0
  217. package/docs/RecipeStep.md +28 -0
  218. package/docs/RecipeSuggestionResponse.md +20 -0
  219. package/docs/RecipeSuggestionResponseItem.md +24 -0
  220. package/docs/RecipeSummary.md +68 -0
  221. package/docs/RecipeTag.md +26 -0
  222. package/docs/RecipeTagPagination.md +32 -0
  223. package/docs/RecipeTagResponse.md +28 -0
  224. package/docs/RecipeTimelineApi.md +366 -0
  225. package/docs/RecipeTimelineEventIn.md +32 -0
  226. package/docs/RecipeTimelineEventOut.md +42 -0
  227. package/docs/RecipeTimelineEventPagination.md +32 -0
  228. package/docs/RecipeTimelineEventUpdate.md +24 -0
  229. package/docs/RecipeTool.md +28 -0
  230. package/docs/RecipeToolCreate.md +22 -0
  231. package/docs/RecipeToolOut.md +28 -0
  232. package/docs/RecipeToolPagination.md +32 -0
  233. package/docs/RecipeToolResponse.md +30 -0
  234. package/docs/RecipesFoodsApi.md +364 -0
  235. package/docs/RecipesUnitsApi.md +364 -0
  236. package/docs/RegisteredParser.md +12 -0
  237. package/docs/RelationalKeyword.md +20 -0
  238. package/docs/RelationalOperator.md +18 -0
  239. package/docs/Relationaloperator.md +18 -0
  240. package/docs/ReportCategory.md +14 -0
  241. package/docs/ReportEntryOut.md +30 -0
  242. package/docs/ReportOut.md +32 -0
  243. package/docs/ReportSummary.md +30 -0
  244. package/docs/ReportSummaryStatus.md +14 -0
  245. package/docs/ResetPassword.md +26 -0
  246. package/docs/SaveGroupRecipeAction.md +28 -0
  247. package/docs/ScrapeRecipe.md +22 -0
  248. package/docs/ScrapeRecipeData.md +22 -0
  249. package/docs/ScrapeRecipeTest.md +22 -0
  250. package/docs/SeederConfig.md +20 -0
  251. package/docs/SetPermissions.md +28 -0
  252. package/docs/SharedRecipesApi.md +228 -0
  253. package/docs/ShoppingListAddRecipeParams.md +22 -0
  254. package/docs/ShoppingListAddRecipeParamsBulk.md +24 -0
  255. package/docs/ShoppingListCreate.md +26 -0
  256. package/docs/ShoppingListItemCreate.md +48 -0
  257. package/docs/ShoppingListItemOutInput.md +58 -0
  258. package/docs/ShoppingListItemOutOutput.md +58 -0
  259. package/docs/ShoppingListItemPagination.md +32 -0
  260. package/docs/ShoppingListItemRecipeRefCreate.md +26 -0
  261. package/docs/ShoppingListItemRecipeRefOut.md +30 -0
  262. package/docs/ShoppingListItemRecipeRefUpdate.md +30 -0
  263. package/docs/ShoppingListItemUpdate.md +46 -0
  264. package/docs/ShoppingListItemUpdateBulk.md +49 -0
  265. package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +30 -0
  266. package/docs/ShoppingListItemsCollectionOut.md +25 -0
  267. package/docs/ShoppingListMultiPurposeLabelOut.md +28 -0
  268. package/docs/ShoppingListMultiPurposeLabelUpdate.md +26 -0
  269. package/docs/ShoppingListOut.md +40 -0
  270. package/docs/ShoppingListPagination.md +32 -0
  271. package/docs/ShoppingListRecipeRefOut.md +28 -0
  272. package/docs/ShoppingListRemoveRecipeParams.md +20 -0
  273. package/docs/ShoppingListSummary.md +38 -0
  274. package/docs/ShoppingListUpdate.md +34 -0
  275. package/docs/SuccessResponse.md +22 -0
  276. package/docs/SupportedMigrations.md +26 -0
  277. package/docs/TagBase.md +26 -0
  278. package/docs/TagIn.md +20 -0
  279. package/docs/TagOut.md +26 -0
  280. package/docs/TimelineEventImage.md +10 -0
  281. package/docs/TimelineEventType.md +12 -0
  282. package/docs/Unit.md +42 -0
  283. package/docs/Unit1.md +42 -0
  284. package/docs/UnlockResults.md +20 -0
  285. package/docs/UpdateCookBook.md +36 -0
  286. package/docs/UpdateGroupPreferences.md +20 -0
  287. package/docs/UpdateHouseholdAdmin.md +26 -0
  288. package/docs/UpdateHouseholdPreferences.md +34 -0
  289. package/docs/UpdateImageResponse.md +20 -0
  290. package/docs/UpdatePlanEntry.md +34 -0
  291. package/docs/UserIn.md +46 -0
  292. package/docs/UserOut.md +56 -0
  293. package/docs/UserPagination.md +32 -0
  294. package/docs/UserRatingOut.md +28 -0
  295. package/docs/UserRatingSummary.md +24 -0
  296. package/docs/UserRatingUpdate.md +22 -0
  297. package/docs/UserRatingsUserRatingOut.md +20 -0
  298. package/docs/UserRatingsUserRatingSummary.md +20 -0
  299. package/docs/UserSummary.md +28 -0
  300. package/docs/UsernameOrId.md +18 -0
  301. package/docs/UsersAuthenticationApi.md +250 -0
  302. package/docs/UsersCRUDApi.md +334 -0
  303. package/docs/UsersImagesApi.md +66 -0
  304. package/docs/UsersPasswordsApi.md +118 -0
  305. package/docs/UsersRatingsApi.md +300 -0
  306. package/docs/UsersRegistrationApi.md +63 -0
  307. package/docs/UsersTokensApi.md +120 -0
  308. package/docs/UtilsApi.md +60 -0
  309. package/docs/ValidationError.md +24 -0
  310. package/docs/ValidationErrorLocInner.md +18 -0
  311. package/docs/Value.md +18 -0
  312. package/docs/WebhookPagination.md +32 -0
  313. package/docs/WebhookType.md +8 -0
  314. package/git_push.sh +57 -0
  315. package/index.ts +18 -0
  316. package/package.json +31 -0
  317. package/tsconfig.json +21 -0
@@ -0,0 +1,305 @@
1
+ # AdminManageHouseholdsApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createOneApiAdminHouseholdsPost**](#createoneapiadminhouseholdspost) | **POST** /api/admin/households | Create One|
8
+ |[**deleteOneApiAdminHouseholdsItemIdDelete**](#deleteoneapiadminhouseholdsitemiddelete) | **DELETE** /api/admin/households/{item_id} | Delete One|
9
+ |[**getAllApiAdminHouseholdsGet**](#getallapiadminhouseholdsget) | **GET** /api/admin/households | Get All|
10
+ |[**getOneApiAdminHouseholdsItemIdGet**](#getoneapiadminhouseholdsitemidget) | **GET** /api/admin/households/{item_id} | Get One|
11
+ |[**updateOneApiAdminHouseholdsItemIdPut**](#updateoneapiadminhouseholdsitemidput) | **PUT** /api/admin/households/{item_id} | Update One|
12
+
13
+ # **createOneApiAdminHouseholdsPost**
14
+ > HouseholdInDB createOneApiAdminHouseholdsPost(householdCreate)
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ AdminManageHouseholdsApi,
22
+ Configuration,
23
+ HouseholdCreate
24
+ } from 'mealie-typescript';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new AdminManageHouseholdsApi(configuration);
28
+
29
+ let householdCreate: HouseholdCreate; //
30
+ let acceptLanguage: string; // (optional) (default to undefined)
31
+
32
+ const { status, data } = await apiInstance.createOneApiAdminHouseholdsPost(
33
+ householdCreate,
34
+ acceptLanguage
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **householdCreate** | **HouseholdCreate**| | |
43
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **HouseholdInDB**
49
+
50
+ ### Authorization
51
+
52
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**201** | Successful Response | - |
64
+ |**422** | Validation Error | - |
65
+
66
+ [[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)
67
+
68
+ # **deleteOneApiAdminHouseholdsItemIdDelete**
69
+ > HouseholdInDB deleteOneApiAdminHouseholdsItemIdDelete()
70
+
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ AdminManageHouseholdsApi,
77
+ Configuration
78
+ } from 'mealie-typescript';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new AdminManageHouseholdsApi(configuration);
82
+
83
+ let itemId: string; // (default to undefined)
84
+ let acceptLanguage: string; // (optional) (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.deleteOneApiAdminHouseholdsItemIdDelete(
87
+ itemId,
88
+ acceptLanguage
89
+ );
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ |Name | Type | Description | Notes|
95
+ |------------- | ------------- | ------------- | -------------|
96
+ | **itemId** | [**string**] | | defaults to undefined|
97
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **HouseholdInDB**
103
+
104
+ ### Authorization
105
+
106
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Successful Response | - |
118
+ |**422** | Validation Error | - |
119
+
120
+ [[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)
121
+
122
+ # **getAllApiAdminHouseholdsGet**
123
+ > HouseholdPagination getAllApiAdminHouseholdsGet()
124
+
125
+
126
+ ### Example
127
+
128
+ ```typescript
129
+ import {
130
+ AdminManageHouseholdsApi,
131
+ Configuration
132
+ } from 'mealie-typescript';
133
+
134
+ const configuration = new Configuration();
135
+ const apiInstance = new AdminManageHouseholdsApi(configuration);
136
+
137
+ let orderBy: string; // (optional) (default to undefined)
138
+ let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
139
+ let orderDirection: OrderDirection; // (optional) (default to undefined)
140
+ let queryFilter: string; // (optional) (default to undefined)
141
+ let paginationSeed: string; // (optional) (default to undefined)
142
+ let page: number; // (optional) (default to 1)
143
+ let perPage: number; // (optional) (default to 50)
144
+ let acceptLanguage: string; // (optional) (default to undefined)
145
+
146
+ const { status, data } = await apiInstance.getAllApiAdminHouseholdsGet(
147
+ orderBy,
148
+ orderByNullPosition,
149
+ orderDirection,
150
+ queryFilter,
151
+ paginationSeed,
152
+ page,
153
+ perPage,
154
+ acceptLanguage
155
+ );
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+ |Name | Type | Description | Notes|
161
+ |------------- | ------------- | ------------- | -------------|
162
+ | **orderBy** | [**string**] | | (optional) defaults to undefined|
163
+ | **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
164
+ | **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
165
+ | **queryFilter** | [**string**] | | (optional) defaults to undefined|
166
+ | **paginationSeed** | [**string**] | | (optional) defaults to undefined|
167
+ | **page** | [**number**] | | (optional) defaults to 1|
168
+ | **perPage** | [**number**] | | (optional) defaults to 50|
169
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
170
+
171
+
172
+ ### Return type
173
+
174
+ **HouseholdPagination**
175
+
176
+ ### Authorization
177
+
178
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
179
+
180
+ ### HTTP request headers
181
+
182
+ - **Content-Type**: Not defined
183
+ - **Accept**: application/json
184
+
185
+
186
+ ### HTTP response details
187
+ | Status code | Description | Response headers |
188
+ |-------------|-------------|------------------|
189
+ |**200** | Successful Response | - |
190
+ |**422** | Validation Error | - |
191
+
192
+ [[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)
193
+
194
+ # **getOneApiAdminHouseholdsItemIdGet**
195
+ > HouseholdInDB getOneApiAdminHouseholdsItemIdGet()
196
+
197
+
198
+ ### Example
199
+
200
+ ```typescript
201
+ import {
202
+ AdminManageHouseholdsApi,
203
+ Configuration
204
+ } from 'mealie-typescript';
205
+
206
+ const configuration = new Configuration();
207
+ const apiInstance = new AdminManageHouseholdsApi(configuration);
208
+
209
+ let itemId: string; // (default to undefined)
210
+ let acceptLanguage: string; // (optional) (default to undefined)
211
+
212
+ const { status, data } = await apiInstance.getOneApiAdminHouseholdsItemIdGet(
213
+ itemId,
214
+ acceptLanguage
215
+ );
216
+ ```
217
+
218
+ ### Parameters
219
+
220
+ |Name | Type | Description | Notes|
221
+ |------------- | ------------- | ------------- | -------------|
222
+ | **itemId** | [**string**] | | defaults to undefined|
223
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
224
+
225
+
226
+ ### Return type
227
+
228
+ **HouseholdInDB**
229
+
230
+ ### Authorization
231
+
232
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
233
+
234
+ ### HTTP request headers
235
+
236
+ - **Content-Type**: Not defined
237
+ - **Accept**: application/json
238
+
239
+
240
+ ### HTTP response details
241
+ | Status code | Description | Response headers |
242
+ |-------------|-------------|------------------|
243
+ |**200** | Successful Response | - |
244
+ |**422** | Validation Error | - |
245
+
246
+ [[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)
247
+
248
+ # **updateOneApiAdminHouseholdsItemIdPut**
249
+ > HouseholdInDB updateOneApiAdminHouseholdsItemIdPut(updateHouseholdAdmin)
250
+
251
+
252
+ ### Example
253
+
254
+ ```typescript
255
+ import {
256
+ AdminManageHouseholdsApi,
257
+ Configuration,
258
+ UpdateHouseholdAdmin
259
+ } from 'mealie-typescript';
260
+
261
+ const configuration = new Configuration();
262
+ const apiInstance = new AdminManageHouseholdsApi(configuration);
263
+
264
+ let itemId: string; // (default to undefined)
265
+ let updateHouseholdAdmin: UpdateHouseholdAdmin; //
266
+ let acceptLanguage: string; // (optional) (default to undefined)
267
+
268
+ const { status, data } = await apiInstance.updateOneApiAdminHouseholdsItemIdPut(
269
+ itemId,
270
+ updateHouseholdAdmin,
271
+ acceptLanguage
272
+ );
273
+ ```
274
+
275
+ ### Parameters
276
+
277
+ |Name | Type | Description | Notes|
278
+ |------------- | ------------- | ------------- | -------------|
279
+ | **updateHouseholdAdmin** | **UpdateHouseholdAdmin**| | |
280
+ | **itemId** | [**string**] | | defaults to undefined|
281
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
282
+
283
+
284
+ ### Return type
285
+
286
+ **HouseholdInDB**
287
+
288
+ ### Authorization
289
+
290
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
291
+
292
+ ### HTTP request headers
293
+
294
+ - **Content-Type**: application/json
295
+ - **Accept**: application/json
296
+
297
+
298
+ ### HTTP response details
299
+ | Status code | Description | Response headers |
300
+ |-------------|-------------|------------------|
301
+ |**200** | Successful Response | - |
302
+ |**422** | Validation Error | - |
303
+
304
+ [[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)
305
+
@@ -0,0 +1,417 @@
1
+ # AdminManageUsersApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createOneApiAdminUsersPost**](#createoneapiadminuserspost) | **POST** /api/admin/users | Create One|
8
+ |[**deleteOneApiAdminUsersItemIdDelete**](#deleteoneapiadminusersitemiddelete) | **DELETE** /api/admin/users/{item_id} | Delete One|
9
+ |[**generateTokenApiAdminUsersPasswordResetTokenPost**](#generatetokenapiadminuserspasswordresettokenpost) | **POST** /api/admin/users/password-reset-token | Generate Token|
10
+ |[**getAllApiAdminUsersGet**](#getallapiadminusersget) | **GET** /api/admin/users | Get All|
11
+ |[**getOneApiAdminUsersItemIdGet**](#getoneapiadminusersitemidget) | **GET** /api/admin/users/{item_id} | Get One|
12
+ |[**unlockUsersApiAdminUsersUnlockPost**](#unlockusersapiadminusersunlockpost) | **POST** /api/admin/users/unlock | Unlock Users|
13
+ |[**updateOneApiAdminUsersItemIdPut**](#updateoneapiadminusersitemidput) | **PUT** /api/admin/users/{item_id} | Update One|
14
+
15
+ # **createOneApiAdminUsersPost**
16
+ > UserOut createOneApiAdminUsersPost(userIn)
17
+
18
+
19
+ ### Example
20
+
21
+ ```typescript
22
+ import {
23
+ AdminManageUsersApi,
24
+ Configuration,
25
+ UserIn
26
+ } from 'mealie-typescript';
27
+
28
+ const configuration = new Configuration();
29
+ const apiInstance = new AdminManageUsersApi(configuration);
30
+
31
+ let userIn: UserIn; //
32
+ let acceptLanguage: string; // (optional) (default to undefined)
33
+
34
+ const { status, data } = await apiInstance.createOneApiAdminUsersPost(
35
+ userIn,
36
+ acceptLanguage
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **userIn** | **UserIn**| | |
45
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **UserOut**
51
+
52
+ ### Authorization
53
+
54
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: application/json
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**201** | Successful Response | - |
66
+ |**422** | Validation Error | - |
67
+
68
+ [[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)
69
+
70
+ # **deleteOneApiAdminUsersItemIdDelete**
71
+ > UserOut deleteOneApiAdminUsersItemIdDelete()
72
+
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ AdminManageUsersApi,
79
+ Configuration
80
+ } from 'mealie-typescript';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new AdminManageUsersApi(configuration);
84
+
85
+ let itemId: string; // (default to undefined)
86
+ let acceptLanguage: string; // (optional) (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.deleteOneApiAdminUsersItemIdDelete(
89
+ itemId,
90
+ acceptLanguage
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **itemId** | [**string**] | | defaults to undefined|
99
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
100
+
101
+
102
+ ### Return type
103
+
104
+ **UserOut**
105
+
106
+ ### Authorization
107
+
108
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: Not defined
113
+ - **Accept**: application/json
114
+
115
+
116
+ ### HTTP response details
117
+ | Status code | Description | Response headers |
118
+ |-------------|-------------|------------------|
119
+ |**200** | Successful Response | - |
120
+ |**422** | Validation Error | - |
121
+
122
+ [[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)
123
+
124
+ # **generateTokenApiAdminUsersPasswordResetTokenPost**
125
+ > PasswordResetToken generateTokenApiAdminUsersPasswordResetTokenPost(forgotPassword)
126
+
127
+ Generates a reset token and returns it. This is an authenticated endpoint
128
+
129
+ ### Example
130
+
131
+ ```typescript
132
+ import {
133
+ AdminManageUsersApi,
134
+ Configuration,
135
+ ForgotPassword
136
+ } from 'mealie-typescript';
137
+
138
+ const configuration = new Configuration();
139
+ const apiInstance = new AdminManageUsersApi(configuration);
140
+
141
+ let forgotPassword: ForgotPassword; //
142
+ let acceptLanguage: string; // (optional) (default to undefined)
143
+
144
+ const { status, data } = await apiInstance.generateTokenApiAdminUsersPasswordResetTokenPost(
145
+ forgotPassword,
146
+ acceptLanguage
147
+ );
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ |Name | Type | Description | Notes|
153
+ |------------- | ------------- | ------------- | -------------|
154
+ | **forgotPassword** | **ForgotPassword**| | |
155
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
156
+
157
+
158
+ ### Return type
159
+
160
+ **PasswordResetToken**
161
+
162
+ ### Authorization
163
+
164
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: application/json
169
+ - **Accept**: application/json
170
+
171
+
172
+ ### HTTP response details
173
+ | Status code | Description | Response headers |
174
+ |-------------|-------------|------------------|
175
+ |**201** | Successful Response | - |
176
+ |**422** | Validation Error | - |
177
+
178
+ [[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)
179
+
180
+ # **getAllApiAdminUsersGet**
181
+ > UserPagination getAllApiAdminUsersGet()
182
+
183
+
184
+ ### Example
185
+
186
+ ```typescript
187
+ import {
188
+ AdminManageUsersApi,
189
+ Configuration
190
+ } from 'mealie-typescript';
191
+
192
+ const configuration = new Configuration();
193
+ const apiInstance = new AdminManageUsersApi(configuration);
194
+
195
+ let orderBy: string; // (optional) (default to undefined)
196
+ let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
197
+ let orderDirection: OrderDirection; // (optional) (default to undefined)
198
+ let queryFilter: string; // (optional) (default to undefined)
199
+ let paginationSeed: string; // (optional) (default to undefined)
200
+ let page: number; // (optional) (default to 1)
201
+ let perPage: number; // (optional) (default to 50)
202
+ let acceptLanguage: string; // (optional) (default to undefined)
203
+
204
+ const { status, data } = await apiInstance.getAllApiAdminUsersGet(
205
+ orderBy,
206
+ orderByNullPosition,
207
+ orderDirection,
208
+ queryFilter,
209
+ paginationSeed,
210
+ page,
211
+ perPage,
212
+ acceptLanguage
213
+ );
214
+ ```
215
+
216
+ ### Parameters
217
+
218
+ |Name | Type | Description | Notes|
219
+ |------------- | ------------- | ------------- | -------------|
220
+ | **orderBy** | [**string**] | | (optional) defaults to undefined|
221
+ | **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
222
+ | **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
223
+ | **queryFilter** | [**string**] | | (optional) defaults to undefined|
224
+ | **paginationSeed** | [**string**] | | (optional) defaults to undefined|
225
+ | **page** | [**number**] | | (optional) defaults to 1|
226
+ | **perPage** | [**number**] | | (optional) defaults to 50|
227
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
228
+
229
+
230
+ ### Return type
231
+
232
+ **UserPagination**
233
+
234
+ ### Authorization
235
+
236
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
237
+
238
+ ### HTTP request headers
239
+
240
+ - **Content-Type**: Not defined
241
+ - **Accept**: application/json
242
+
243
+
244
+ ### HTTP response details
245
+ | Status code | Description | Response headers |
246
+ |-------------|-------------|------------------|
247
+ |**200** | Successful Response | - |
248
+ |**422** | Validation Error | - |
249
+
250
+ [[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)
251
+
252
+ # **getOneApiAdminUsersItemIdGet**
253
+ > UserOut getOneApiAdminUsersItemIdGet()
254
+
255
+
256
+ ### Example
257
+
258
+ ```typescript
259
+ import {
260
+ AdminManageUsersApi,
261
+ Configuration
262
+ } from 'mealie-typescript';
263
+
264
+ const configuration = new Configuration();
265
+ const apiInstance = new AdminManageUsersApi(configuration);
266
+
267
+ let itemId: string; // (default to undefined)
268
+ let acceptLanguage: string; // (optional) (default to undefined)
269
+
270
+ const { status, data } = await apiInstance.getOneApiAdminUsersItemIdGet(
271
+ itemId,
272
+ acceptLanguage
273
+ );
274
+ ```
275
+
276
+ ### Parameters
277
+
278
+ |Name | Type | Description | Notes|
279
+ |------------- | ------------- | ------------- | -------------|
280
+ | **itemId** | [**string**] | | defaults to undefined|
281
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
282
+
283
+
284
+ ### Return type
285
+
286
+ **UserOut**
287
+
288
+ ### Authorization
289
+
290
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
291
+
292
+ ### HTTP request headers
293
+
294
+ - **Content-Type**: Not defined
295
+ - **Accept**: application/json
296
+
297
+
298
+ ### HTTP response details
299
+ | Status code | Description | Response headers |
300
+ |-------------|-------------|------------------|
301
+ |**200** | Successful Response | - |
302
+ |**422** | Validation Error | - |
303
+
304
+ [[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)
305
+
306
+ # **unlockUsersApiAdminUsersUnlockPost**
307
+ > UnlockResults unlockUsersApiAdminUsersUnlockPost()
308
+
309
+
310
+ ### Example
311
+
312
+ ```typescript
313
+ import {
314
+ AdminManageUsersApi,
315
+ Configuration
316
+ } from 'mealie-typescript';
317
+
318
+ const configuration = new Configuration();
319
+ const apiInstance = new AdminManageUsersApi(configuration);
320
+
321
+ let force: boolean; // (optional) (default to false)
322
+ let acceptLanguage: string; // (optional) (default to undefined)
323
+
324
+ const { status, data } = await apiInstance.unlockUsersApiAdminUsersUnlockPost(
325
+ force,
326
+ acceptLanguage
327
+ );
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ |Name | Type | Description | Notes|
333
+ |------------- | ------------- | ------------- | -------------|
334
+ | **force** | [**boolean**] | | (optional) defaults to false|
335
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
336
+
337
+
338
+ ### Return type
339
+
340
+ **UnlockResults**
341
+
342
+ ### Authorization
343
+
344
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
345
+
346
+ ### HTTP request headers
347
+
348
+ - **Content-Type**: Not defined
349
+ - **Accept**: application/json
350
+
351
+
352
+ ### HTTP response details
353
+ | Status code | Description | Response headers |
354
+ |-------------|-------------|------------------|
355
+ |**200** | Successful Response | - |
356
+ |**422** | Validation Error | - |
357
+
358
+ [[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)
359
+
360
+ # **updateOneApiAdminUsersItemIdPut**
361
+ > UserOut updateOneApiAdminUsersItemIdPut(userOut)
362
+
363
+
364
+ ### Example
365
+
366
+ ```typescript
367
+ import {
368
+ AdminManageUsersApi,
369
+ Configuration,
370
+ UserOut
371
+ } from 'mealie-typescript';
372
+
373
+ const configuration = new Configuration();
374
+ const apiInstance = new AdminManageUsersApi(configuration);
375
+
376
+ let itemId: string; // (default to undefined)
377
+ let userOut: UserOut; //
378
+ let acceptLanguage: string; // (optional) (default to undefined)
379
+
380
+ const { status, data } = await apiInstance.updateOneApiAdminUsersItemIdPut(
381
+ itemId,
382
+ userOut,
383
+ acceptLanguage
384
+ );
385
+ ```
386
+
387
+ ### Parameters
388
+
389
+ |Name | Type | Description | Notes|
390
+ |------------- | ------------- | ------------- | -------------|
391
+ | **userOut** | **UserOut**| | |
392
+ | **itemId** | [**string**] | | defaults to undefined|
393
+ | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
394
+
395
+
396
+ ### Return type
397
+
398
+ **UserOut**
399
+
400
+ ### Authorization
401
+
402
+ [OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: application/json
407
+ - **Accept**: application/json
408
+
409
+
410
+ ### HTTP response details
411
+ | Status code | Description | Response headers |
412
+ |-------------|-------------|------------------|
413
+ |**200** | Successful Response | - |
414
+ |**422** | Validation Error | - |
415
+
416
+ [[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)
417
+