mealie-typescript 1.0.5 → 1.0.7

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 (306) hide show
  1. package/README.md +4 -0
  2. package/package.json +25 -11
  3. package/.openapi-generator/FILES +0 -303
  4. package/.openapi-generator/VERSION +0 -1
  5. package/.openapi-generator-ignore +0 -26
  6. package/api.ts +0 -28987
  7. package/base.ts +0 -62
  8. package/common.ts +0 -113
  9. package/configuration.ts +0 -121
  10. package/docs/AdminAboutApi.md +0 -164
  11. package/docs/AdminAboutInfo.md +0 -62
  12. package/docs/AdminBackupsApi.md +0 -333
  13. package/docs/AdminDebugApi.md +0 -62
  14. package/docs/AdminEmailApi.md +0 -116
  15. package/docs/AdminMaintenanceApi.md +0 -270
  16. package/docs/AdminManageGroupsApi.md +0 -305
  17. package/docs/AdminManageHouseholdsApi.md +0 -305
  18. package/docs/AdminManageUsersApi.md +0 -417
  19. package/docs/AllBackups.md +0 -22
  20. package/docs/AppAboutApi.md +0 -142
  21. package/docs/AppInfo.md +0 -44
  22. package/docs/AppStartupInfo.md +0 -22
  23. package/docs/AppStatistics.md +0 -30
  24. package/docs/AppTheme.md +0 -46
  25. package/docs/AssignCategories.md +0 -22
  26. package/docs/AssignSettings.md +0 -22
  27. package/docs/AssignTags.md +0 -22
  28. package/docs/AuthMethod.md +0 -12
  29. package/docs/BackupFile.md +0 -24
  30. package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +0 -20
  31. package/docs/CategoryBase.md +0 -26
  32. package/docs/CategoryIn.md +0 -20
  33. package/docs/CategoryOut.md +0 -26
  34. package/docs/CategorySummary.md +0 -24
  35. package/docs/ChangePassword.md +0 -22
  36. package/docs/CheckAppConfig.md +0 -30
  37. package/docs/CookBookPagination.md +0 -32
  38. package/docs/Cookbook.md +0 -18
  39. package/docs/Cookbook1.md +0 -18
  40. package/docs/CookbookHousehold.md +0 -22
  41. package/docs/CreateCookBook.md +0 -30
  42. package/docs/CreateGroupRecipeAction.md +0 -24
  43. package/docs/CreateIngredientFood.md +0 -34
  44. package/docs/CreateIngredientFoodAlias.md +0 -20
  45. package/docs/CreateIngredientUnit.md +0 -38
  46. package/docs/CreateIngredientUnitAlias.md +0 -20
  47. package/docs/CreateInviteToken.md +0 -24
  48. package/docs/CreatePlanEntry.md +0 -28
  49. package/docs/CreateRandomEntry.md +0 -22
  50. package/docs/CreateRecipe.md +0 -20
  51. package/docs/CreateRecipeBulk.md +0 -24
  52. package/docs/CreateRecipeByUrlBulk.md +0 -20
  53. package/docs/CreateUserRegistration.md +0 -42
  54. package/docs/CreateWebhook.md +0 -28
  55. package/docs/DebugResponse.md +0 -22
  56. package/docs/DeleteRecipes.md +0 -20
  57. package/docs/DeleteTokenResponse.md +0 -20
  58. package/docs/EmailInitationResponse.md +0 -22
  59. package/docs/EmailInvitation.md +0 -22
  60. package/docs/EmailReady.md +0 -20
  61. package/docs/EmailSuccess.md +0 -22
  62. package/docs/EmailTest.md +0 -20
  63. package/docs/ExploreCategoriesApi.md +0 -144
  64. package/docs/ExploreCookbooksApi.md +0 -145
  65. package/docs/ExploreFoodsApi.md +0 -144
  66. package/docs/ExploreHouseholdsApi.md +0 -141
  67. package/docs/ExploreRecipesApi.md +0 -266
  68. package/docs/ExploreTagsApi.md +0 -144
  69. package/docs/ExploreToolsApi.md +0 -144
  70. package/docs/ExportRecipes.md +0 -22
  71. package/docs/ExportTypes.md +0 -8
  72. package/docs/FileTokenResponse.md +0 -20
  73. package/docs/Food.md +0 -40
  74. package/docs/Food1.md +0 -40
  75. package/docs/ForgotPassword.md +0 -20
  76. package/docs/FormatResponse.md +0 -22
  77. package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +0 -18
  78. package/docs/GetAllApiRecipesGetTagsParameterInner.md +0 -18
  79. package/docs/GroupAdminUpdate.md +0 -24
  80. package/docs/GroupBase.md +0 -20
  81. package/docs/GroupDataExport.md +0 -32
  82. package/docs/GroupEventNotifierCreate.md +0 -22
  83. package/docs/GroupEventNotifierOptions.md +0 -69
  84. package/docs/GroupEventNotifierOptionsOut.md +0 -70
  85. package/docs/GroupEventNotifierOut.md +0 -30
  86. package/docs/GroupEventNotifierUpdate.md +0 -32
  87. package/docs/GroupEventPagination.md +0 -32
  88. package/docs/GroupHouseholdSummary.md +0 -22
  89. package/docs/GroupInDB.md +0 -34
  90. package/docs/GroupPagination.md +0 -32
  91. package/docs/GroupRecipeActionOut.md +0 -30
  92. package/docs/GroupRecipeActionPagination.md +0 -32
  93. package/docs/GroupRecipeActionType.md +0 -10
  94. package/docs/GroupStorage.md +0 -26
  95. package/docs/GroupSummary.md +0 -26
  96. package/docs/GroupsHouseholdsApi.md +0 -135
  97. package/docs/GroupsMigrationsApi.md +0 -68
  98. package/docs/GroupsMultiPurposeLabelsApi.md +0 -308
  99. package/docs/GroupsReportsApi.md +0 -172
  100. package/docs/GroupsSeedersApi.md +0 -175
  101. package/docs/GroupsSelfServiceApi.md +0 -351
  102. package/docs/HTTPValidationError.md +0 -20
  103. package/docs/HouseholdCreate.md +0 -22
  104. package/docs/HouseholdInDB.md +0 -34
  105. package/docs/HouseholdPagination.md +0 -32
  106. package/docs/HouseholdRecipeSummary.md +0 -22
  107. package/docs/HouseholdStatistics.md +0 -28
  108. package/docs/HouseholdSummary.md +0 -28
  109. package/docs/HouseholdUserSummary.md +0 -22
  110. package/docs/HouseholdsCookbooksApi.md +0 -361
  111. package/docs/HouseholdsEventNotificationsApi.md +0 -360
  112. package/docs/HouseholdsInvitationsApi.md +0 -171
  113. package/docs/HouseholdsMealplanRulesApi.md +0 -305
  114. package/docs/HouseholdsMealplansApi.md +0 -420
  115. package/docs/HouseholdsRecipeActionsApi.md +0 -367
  116. package/docs/HouseholdsSelfServiceApi.md +0 -406
  117. package/docs/HouseholdsShoppingListItemsApi.md +0 -470
  118. package/docs/HouseholdsShoppingListsApi.md +0 -545
  119. package/docs/HouseholdsWebhooksApi.md +0 -413
  120. package/docs/ImageType.md +0 -12
  121. package/docs/IngredientConfidence.md +0 -30
  122. package/docs/IngredientFoodAlias.md +0 -20
  123. package/docs/IngredientFoodInput.md +0 -40
  124. package/docs/IngredientFoodOutput.md +0 -40
  125. package/docs/IngredientFoodPagination.md +0 -32
  126. package/docs/IngredientReferences.md +0 -21
  127. package/docs/IngredientRequest.md +0 -22
  128. package/docs/IngredientUnitAlias.md +0 -20
  129. package/docs/IngredientUnitInput.md +0 -42
  130. package/docs/IngredientUnitOutput.md +0 -42
  131. package/docs/IngredientUnitPagination.md +0 -32
  132. package/docs/IngredientsRequest.md +0 -22
  133. package/docs/ItemId.md +0 -18
  134. package/docs/ItemId1.md +0 -18
  135. package/docs/LogicalOperator.md +0 -10
  136. package/docs/LongLiveTokenCreateResponse.md +0 -27
  137. package/docs/LongLiveTokenIn.md +0 -22
  138. package/docs/LongLiveTokenOut.md +0 -24
  139. package/docs/MaintenanceStorageDetails.md +0 -28
  140. package/docs/MaintenanceSummary.md +0 -24
  141. package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +0 -26
  142. package/docs/MealieSchemaUserUserUserBase.md +0 -44
  143. package/docs/MergeFood.md +0 -22
  144. package/docs/MergeUnit.md +0 -22
  145. package/docs/MultiPurposeLabelCreate.md +0 -22
  146. package/docs/MultiPurposeLabelOut.md +0 -26
  147. package/docs/MultiPurposeLabelPagination.md +0 -32
  148. package/docs/MultiPurposeLabelSummary.md +0 -26
  149. package/docs/MultiPurposeLabelUpdate.md +0 -26
  150. package/docs/Nutrition.md +0 -40
  151. package/docs/OrderByNullPosition.md +0 -10
  152. package/docs/OrderDirection.md +0 -10
  153. package/docs/OrganizerCategoriesApi.md +0 -422
  154. package/docs/OrganizerTagsApi.md +0 -421
  155. package/docs/OrganizerToolsApi.md +0 -363
  156. package/docs/PaginationBaseHouseholdSummary.md +0 -32
  157. package/docs/PaginationBaseIngredientFood.md +0 -32
  158. package/docs/PaginationBaseReadCookBook.md +0 -32
  159. package/docs/PaginationBaseRecipeCategory.md +0 -32
  160. package/docs/PaginationBaseRecipeSummary.md +0 -32
  161. package/docs/PaginationBaseRecipeTag.md +0 -32
  162. package/docs/PaginationBaseRecipeTool.md +0 -32
  163. package/docs/PaginationBaseUserOut.md +0 -32
  164. package/docs/PaginationBaseUserSummary.md +0 -32
  165. package/docs/ParsedIngredient.md +0 -24
  166. package/docs/PasswordResetToken.md +0 -20
  167. package/docs/PlanEntryPagination.md +0 -32
  168. package/docs/PlanEntryType.md +0 -20
  169. package/docs/PlanRulesCreate.md +0 -24
  170. package/docs/PlanRulesDay.md +0 -22
  171. package/docs/PlanRulesOut.md +0 -32
  172. package/docs/PlanRulesPagination.md +0 -32
  173. package/docs/PlanRulesType.md +0 -22
  174. package/docs/QueryFilterJSON.md +0 -20
  175. package/docs/QueryFilterJSONPart.md +0 -30
  176. package/docs/ReadCookBook.md +0 -40
  177. package/docs/ReadGroupPreferences.md +0 -24
  178. package/docs/ReadHouseholdPreferences.md +0 -36
  179. package/docs/ReadInviteToken.md +0 -26
  180. package/docs/ReadPlanEntry.md +0 -38
  181. package/docs/ReadWebhook.md +0 -34
  182. package/docs/RecipeAsset.md +0 -24
  183. package/docs/RecipeBulkActionsApi.md +0 -448
  184. package/docs/RecipeCRUDApi.md +0 -1306
  185. package/docs/RecipeCategory.md +0 -26
  186. package/docs/RecipeCategoryPagination.md +0 -32
  187. package/docs/RecipeCommentCreate.md +0 -22
  188. package/docs/RecipeCommentOutInput.md +0 -32
  189. package/docs/RecipeCommentOutOutput.md +0 -32
  190. package/docs/RecipeCommentPagination.md +0 -32
  191. package/docs/RecipeCommentUpdate.md +0 -22
  192. package/docs/RecipeCommentsApi.md +0 -361
  193. package/docs/RecipeDuplicate.md +0 -20
  194. package/docs/RecipeExportsApi.md +0 -118
  195. package/docs/RecipeImagesAndAssetsApi.md +0 -521
  196. package/docs/RecipeIngredientInput.md +0 -36
  197. package/docs/RecipeIngredientOutput.md +0 -36
  198. package/docs/RecipeIngredientParserApi.md +0 -119
  199. package/docs/RecipeInput.md +0 -84
  200. package/docs/RecipeLastMade.md +0 -20
  201. package/docs/RecipeNote.md +0 -22
  202. package/docs/RecipeOutput.md +0 -84
  203. package/docs/RecipeSettings.md +0 -30
  204. package/docs/RecipeShareToken.md +0 -30
  205. package/docs/RecipeShareTokenCreate.md +0 -22
  206. package/docs/RecipeShareTokenSummary.md +0 -28
  207. package/docs/RecipeSharedApi.md +0 -112
  208. package/docs/RecipeStep.md +0 -28
  209. package/docs/RecipeSuggestionResponse.md +0 -20
  210. package/docs/RecipeSuggestionResponseItem.md +0 -24
  211. package/docs/RecipeSummary.md +0 -68
  212. package/docs/RecipeTag.md +0 -26
  213. package/docs/RecipeTagPagination.md +0 -32
  214. package/docs/RecipeTagResponse.md +0 -28
  215. package/docs/RecipeTimelineApi.md +0 -366
  216. package/docs/RecipeTimelineEventIn.md +0 -32
  217. package/docs/RecipeTimelineEventOut.md +0 -42
  218. package/docs/RecipeTimelineEventPagination.md +0 -32
  219. package/docs/RecipeTimelineEventUpdate.md +0 -24
  220. package/docs/RecipeTool.md +0 -28
  221. package/docs/RecipeToolCreate.md +0 -22
  222. package/docs/RecipeToolOut.md +0 -28
  223. package/docs/RecipeToolPagination.md +0 -32
  224. package/docs/RecipeToolResponse.md +0 -30
  225. package/docs/RecipesFoodsApi.md +0 -364
  226. package/docs/RecipesUnitsApi.md +0 -364
  227. package/docs/RegisteredParser.md +0 -12
  228. package/docs/RelationalKeyword.md +0 -20
  229. package/docs/RelationalOperator.md +0 -18
  230. package/docs/Relationaloperator.md +0 -18
  231. package/docs/ReportCategory.md +0 -14
  232. package/docs/ReportEntryOut.md +0 -30
  233. package/docs/ReportOut.md +0 -32
  234. package/docs/ReportSummary.md +0 -30
  235. package/docs/ReportSummaryStatus.md +0 -14
  236. package/docs/ResetPassword.md +0 -26
  237. package/docs/SaveGroupRecipeAction.md +0 -28
  238. package/docs/ScrapeRecipe.md +0 -22
  239. package/docs/ScrapeRecipeData.md +0 -22
  240. package/docs/ScrapeRecipeTest.md +0 -22
  241. package/docs/SeederConfig.md +0 -20
  242. package/docs/SetPermissions.md +0 -28
  243. package/docs/SharedRecipesApi.md +0 -228
  244. package/docs/ShoppingListAddRecipeParams.md +0 -22
  245. package/docs/ShoppingListAddRecipeParamsBulk.md +0 -24
  246. package/docs/ShoppingListCreate.md +0 -26
  247. package/docs/ShoppingListItemCreate.md +0 -48
  248. package/docs/ShoppingListItemOutInput.md +0 -58
  249. package/docs/ShoppingListItemOutOutput.md +0 -58
  250. package/docs/ShoppingListItemPagination.md +0 -32
  251. package/docs/ShoppingListItemRecipeRefCreate.md +0 -26
  252. package/docs/ShoppingListItemRecipeRefOut.md +0 -30
  253. package/docs/ShoppingListItemRecipeRefUpdate.md +0 -30
  254. package/docs/ShoppingListItemUpdate.md +0 -46
  255. package/docs/ShoppingListItemUpdateBulk.md +0 -49
  256. package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +0 -30
  257. package/docs/ShoppingListItemsCollectionOut.md +0 -25
  258. package/docs/ShoppingListMultiPurposeLabelOut.md +0 -28
  259. package/docs/ShoppingListMultiPurposeLabelUpdate.md +0 -26
  260. package/docs/ShoppingListOut.md +0 -40
  261. package/docs/ShoppingListPagination.md +0 -32
  262. package/docs/ShoppingListRecipeRefOut.md +0 -28
  263. package/docs/ShoppingListRemoveRecipeParams.md +0 -20
  264. package/docs/ShoppingListSummary.md +0 -38
  265. package/docs/ShoppingListUpdate.md +0 -34
  266. package/docs/SuccessResponse.md +0 -22
  267. package/docs/SupportedMigrations.md +0 -26
  268. package/docs/TagBase.md +0 -26
  269. package/docs/TagIn.md +0 -20
  270. package/docs/TagOut.md +0 -26
  271. package/docs/TimelineEventImage.md +0 -10
  272. package/docs/TimelineEventType.md +0 -12
  273. package/docs/Unit.md +0 -42
  274. package/docs/Unit1.md +0 -42
  275. package/docs/UnlockResults.md +0 -20
  276. package/docs/UpdateCookBook.md +0 -36
  277. package/docs/UpdateGroupPreferences.md +0 -20
  278. package/docs/UpdateHouseholdAdmin.md +0 -26
  279. package/docs/UpdateHouseholdPreferences.md +0 -34
  280. package/docs/UpdateImageResponse.md +0 -20
  281. package/docs/UpdatePlanEntry.md +0 -34
  282. package/docs/UserIn.md +0 -46
  283. package/docs/UserOut.md +0 -56
  284. package/docs/UserPagination.md +0 -32
  285. package/docs/UserRatingOut.md +0 -28
  286. package/docs/UserRatingSummary.md +0 -24
  287. package/docs/UserRatingUpdate.md +0 -22
  288. package/docs/UserRatingsUserRatingOut.md +0 -20
  289. package/docs/UserRatingsUserRatingSummary.md +0 -20
  290. package/docs/UserSummary.md +0 -28
  291. package/docs/UsernameOrId.md +0 -18
  292. package/docs/UsersAuthenticationApi.md +0 -250
  293. package/docs/UsersCRUDApi.md +0 -334
  294. package/docs/UsersImagesApi.md +0 -66
  295. package/docs/UsersPasswordsApi.md +0 -118
  296. package/docs/UsersRatingsApi.md +0 -300
  297. package/docs/UsersRegistrationApi.md +0 -63
  298. package/docs/UsersTokensApi.md +0 -120
  299. package/docs/UtilsApi.md +0 -60
  300. package/docs/ValidationError.md +0 -24
  301. package/docs/ValidationErrorLocInner.md +0 -18
  302. package/docs/Value.md +0 -18
  303. package/docs/WebhookPagination.md +0 -32
  304. package/docs/WebhookType.md +0 -8
  305. package/index.ts +0 -18
  306. package/tsconfig.json +0 -21
@@ -1,305 +0,0 @@
1
- # HouseholdsMealplanRulesApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**createOneApiHouseholdsMealplansRulesPost**](#createoneapihouseholdsmealplansrulespost) | **POST** /api/households/mealplans/rules | Create One|
8
- |[**deleteOneApiHouseholdsMealplansRulesItemIdDelete**](#deleteoneapihouseholdsmealplansrulesitemiddelete) | **DELETE** /api/households/mealplans/rules/{item_id} | Delete One|
9
- |[**getAllApiHouseholdsMealplansRulesGet**](#getallapihouseholdsmealplansrulesget) | **GET** /api/households/mealplans/rules | Get All|
10
- |[**getOneApiHouseholdsMealplansRulesItemIdGet**](#getoneapihouseholdsmealplansrulesitemidget) | **GET** /api/households/mealplans/rules/{item_id} | Get One|
11
- |[**updateOneApiHouseholdsMealplansRulesItemIdPut**](#updateoneapihouseholdsmealplansrulesitemidput) | **PUT** /api/households/mealplans/rules/{item_id} | Update One|
12
-
13
- # **createOneApiHouseholdsMealplansRulesPost**
14
- > PlanRulesOut createOneApiHouseholdsMealplansRulesPost(planRulesCreate)
15
-
16
-
17
- ### Example
18
-
19
- ```typescript
20
- import {
21
- HouseholdsMealplanRulesApi,
22
- Configuration,
23
- PlanRulesCreate
24
- } from 'mealie-typescript';
25
-
26
- const configuration = new Configuration();
27
- const apiInstance = new HouseholdsMealplanRulesApi(configuration);
28
-
29
- let planRulesCreate: PlanRulesCreate; //
30
- let acceptLanguage: string; // (optional) (default to undefined)
31
-
32
- const { status, data } = await apiInstance.createOneApiHouseholdsMealplansRulesPost(
33
- planRulesCreate,
34
- acceptLanguage
35
- );
36
- ```
37
-
38
- ### Parameters
39
-
40
- |Name | Type | Description | Notes|
41
- |------------- | ------------- | ------------- | -------------|
42
- | **planRulesCreate** | **PlanRulesCreate**| | |
43
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
44
-
45
-
46
- ### Return type
47
-
48
- **PlanRulesOut**
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
- # **deleteOneApiHouseholdsMealplansRulesItemIdDelete**
69
- > PlanRulesOut deleteOneApiHouseholdsMealplansRulesItemIdDelete()
70
-
71
-
72
- ### Example
73
-
74
- ```typescript
75
- import {
76
- HouseholdsMealplanRulesApi,
77
- Configuration
78
- } from 'mealie-typescript';
79
-
80
- const configuration = new Configuration();
81
- const apiInstance = new HouseholdsMealplanRulesApi(configuration);
82
-
83
- let itemId: string; // (default to undefined)
84
- let acceptLanguage: string; // (optional) (default to undefined)
85
-
86
- const { status, data } = await apiInstance.deleteOneApiHouseholdsMealplansRulesItemIdDelete(
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
- **PlanRulesOut**
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
- # **getAllApiHouseholdsMealplansRulesGet**
123
- > PlanRulesPagination getAllApiHouseholdsMealplansRulesGet()
124
-
125
-
126
- ### Example
127
-
128
- ```typescript
129
- import {
130
- HouseholdsMealplanRulesApi,
131
- Configuration
132
- } from 'mealie-typescript';
133
-
134
- const configuration = new Configuration();
135
- const apiInstance = new HouseholdsMealplanRulesApi(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.getAllApiHouseholdsMealplansRulesGet(
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
- **PlanRulesPagination**
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
- # **getOneApiHouseholdsMealplansRulesItemIdGet**
195
- > PlanRulesOut getOneApiHouseholdsMealplansRulesItemIdGet()
196
-
197
-
198
- ### Example
199
-
200
- ```typescript
201
- import {
202
- HouseholdsMealplanRulesApi,
203
- Configuration
204
- } from 'mealie-typescript';
205
-
206
- const configuration = new Configuration();
207
- const apiInstance = new HouseholdsMealplanRulesApi(configuration);
208
-
209
- let itemId: string; // (default to undefined)
210
- let acceptLanguage: string; // (optional) (default to undefined)
211
-
212
- const { status, data } = await apiInstance.getOneApiHouseholdsMealplansRulesItemIdGet(
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
- **PlanRulesOut**
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
- # **updateOneApiHouseholdsMealplansRulesItemIdPut**
249
- > PlanRulesOut updateOneApiHouseholdsMealplansRulesItemIdPut(planRulesCreate)
250
-
251
-
252
- ### Example
253
-
254
- ```typescript
255
- import {
256
- HouseholdsMealplanRulesApi,
257
- Configuration,
258
- PlanRulesCreate
259
- } from 'mealie-typescript';
260
-
261
- const configuration = new Configuration();
262
- const apiInstance = new HouseholdsMealplanRulesApi(configuration);
263
-
264
- let itemId: string; // (default to undefined)
265
- let planRulesCreate: PlanRulesCreate; //
266
- let acceptLanguage: string; // (optional) (default to undefined)
267
-
268
- const { status, data } = await apiInstance.updateOneApiHouseholdsMealplansRulesItemIdPut(
269
- itemId,
270
- planRulesCreate,
271
- acceptLanguage
272
- );
273
- ```
274
-
275
- ### Parameters
276
-
277
- |Name | Type | Description | Notes|
278
- |------------- | ------------- | ------------- | -------------|
279
- | **planRulesCreate** | **PlanRulesCreate**| | |
280
- | **itemId** | [**string**] | | defaults to undefined|
281
- | **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
282
-
283
-
284
- ### Return type
285
-
286
- **PlanRulesOut**
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
-