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