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.
- package/.openapi-generator/FILES +306 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +24 -0
- package/README.md +564 -0
- package/api.ts +28987 -0
- package/base.ts +62 -0
- package/common.ts +113 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +15860 -0
- package/dist/api.js +28568 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +67 -0
- package/dist/common.d.ts +28 -0
- package/dist/common.js +216 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AdminAboutApi.md +164 -0
- package/docs/AdminAboutInfo.md +62 -0
- package/docs/AdminBackupsApi.md +333 -0
- package/docs/AdminDebugApi.md +62 -0
- package/docs/AdminEmailApi.md +116 -0
- package/docs/AdminMaintenanceApi.md +270 -0
- package/docs/AdminManageGroupsApi.md +305 -0
- package/docs/AdminManageHouseholdsApi.md +305 -0
- package/docs/AdminManageUsersApi.md +417 -0
- package/docs/AllBackups.md +22 -0
- package/docs/AppAboutApi.md +142 -0
- package/docs/AppInfo.md +44 -0
- package/docs/AppStartupInfo.md +22 -0
- package/docs/AppStatistics.md +30 -0
- package/docs/AppTheme.md +46 -0
- package/docs/AssignCategories.md +22 -0
- package/docs/AssignSettings.md +22 -0
- package/docs/AssignTags.md +22 -0
- package/docs/AuthMethod.md +12 -0
- package/docs/BackupFile.md +24 -0
- package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +20 -0
- package/docs/CategoryBase.md +26 -0
- package/docs/CategoryIn.md +20 -0
- package/docs/CategoryOut.md +26 -0
- package/docs/CategorySummary.md +24 -0
- package/docs/ChangePassword.md +22 -0
- package/docs/CheckAppConfig.md +30 -0
- package/docs/CookBookPagination.md +32 -0
- package/docs/Cookbook.md +18 -0
- package/docs/Cookbook1.md +18 -0
- package/docs/CookbookHousehold.md +22 -0
- package/docs/CreateCookBook.md +30 -0
- package/docs/CreateGroupRecipeAction.md +24 -0
- package/docs/CreateIngredientFood.md +34 -0
- package/docs/CreateIngredientFoodAlias.md +20 -0
- package/docs/CreateIngredientUnit.md +38 -0
- package/docs/CreateIngredientUnitAlias.md +20 -0
- package/docs/CreateInviteToken.md +24 -0
- package/docs/CreatePlanEntry.md +28 -0
- package/docs/CreateRandomEntry.md +22 -0
- package/docs/CreateRecipe.md +20 -0
- package/docs/CreateRecipeBulk.md +24 -0
- package/docs/CreateRecipeByUrlBulk.md +20 -0
- package/docs/CreateUserRegistration.md +42 -0
- package/docs/CreateWebhook.md +28 -0
- package/docs/DebugResponse.md +22 -0
- package/docs/DeleteRecipes.md +20 -0
- package/docs/DeleteTokenResponse.md +20 -0
- package/docs/EmailInitationResponse.md +22 -0
- package/docs/EmailInvitation.md +22 -0
- package/docs/EmailReady.md +20 -0
- package/docs/EmailSuccess.md +22 -0
- package/docs/EmailTest.md +20 -0
- package/docs/ExploreCategoriesApi.md +144 -0
- package/docs/ExploreCookbooksApi.md +145 -0
- package/docs/ExploreFoodsApi.md +144 -0
- package/docs/ExploreHouseholdsApi.md +141 -0
- package/docs/ExploreRecipesApi.md +266 -0
- package/docs/ExploreTagsApi.md +144 -0
- package/docs/ExploreToolsApi.md +144 -0
- package/docs/ExportRecipes.md +22 -0
- package/docs/ExportTypes.md +8 -0
- package/docs/FileTokenResponse.md +20 -0
- package/docs/Food.md +40 -0
- package/docs/Food1.md +40 -0
- package/docs/ForgotPassword.md +20 -0
- package/docs/FormatResponse.md +22 -0
- package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +18 -0
- package/docs/GetAllApiRecipesGetTagsParameterInner.md +18 -0
- package/docs/GroupAdminUpdate.md +24 -0
- package/docs/GroupBase.md +20 -0
- package/docs/GroupDataExport.md +32 -0
- package/docs/GroupEventNotifierCreate.md +22 -0
- package/docs/GroupEventNotifierOptions.md +69 -0
- package/docs/GroupEventNotifierOptionsOut.md +70 -0
- package/docs/GroupEventNotifierOut.md +30 -0
- package/docs/GroupEventNotifierUpdate.md +32 -0
- package/docs/GroupEventPagination.md +32 -0
- package/docs/GroupHouseholdSummary.md +22 -0
- package/docs/GroupInDB.md +34 -0
- package/docs/GroupPagination.md +32 -0
- package/docs/GroupRecipeActionOut.md +30 -0
- package/docs/GroupRecipeActionPagination.md +32 -0
- package/docs/GroupRecipeActionType.md +10 -0
- package/docs/GroupStorage.md +26 -0
- package/docs/GroupSummary.md +26 -0
- package/docs/GroupsHouseholdsApi.md +135 -0
- package/docs/GroupsMigrationsApi.md +68 -0
- package/docs/GroupsMultiPurposeLabelsApi.md +308 -0
- package/docs/GroupsReportsApi.md +172 -0
- package/docs/GroupsSeedersApi.md +175 -0
- package/docs/GroupsSelfServiceApi.md +351 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/HouseholdCreate.md +22 -0
- package/docs/HouseholdInDB.md +34 -0
- package/docs/HouseholdPagination.md +32 -0
- package/docs/HouseholdRecipeSummary.md +22 -0
- package/docs/HouseholdStatistics.md +28 -0
- package/docs/HouseholdSummary.md +28 -0
- package/docs/HouseholdUserSummary.md +22 -0
- package/docs/HouseholdsCookbooksApi.md +361 -0
- package/docs/HouseholdsEventNotificationsApi.md +360 -0
- package/docs/HouseholdsInvitationsApi.md +171 -0
- package/docs/HouseholdsMealplanRulesApi.md +305 -0
- package/docs/HouseholdsMealplansApi.md +420 -0
- package/docs/HouseholdsRecipeActionsApi.md +367 -0
- package/docs/HouseholdsSelfServiceApi.md +406 -0
- package/docs/HouseholdsShoppingListItemsApi.md +470 -0
- package/docs/HouseholdsShoppingListsApi.md +545 -0
- package/docs/HouseholdsWebhooksApi.md +413 -0
- package/docs/ImageType.md +12 -0
- package/docs/IngredientConfidence.md +30 -0
- package/docs/IngredientFoodAlias.md +20 -0
- package/docs/IngredientFoodInput.md +40 -0
- package/docs/IngredientFoodOutput.md +40 -0
- package/docs/IngredientFoodPagination.md +32 -0
- package/docs/IngredientReferences.md +21 -0
- package/docs/IngredientRequest.md +22 -0
- package/docs/IngredientUnitAlias.md +20 -0
- package/docs/IngredientUnitInput.md +42 -0
- package/docs/IngredientUnitOutput.md +42 -0
- package/docs/IngredientUnitPagination.md +32 -0
- package/docs/IngredientsRequest.md +22 -0
- package/docs/ItemId.md +18 -0
- package/docs/ItemId1.md +18 -0
- package/docs/LogicalOperator.md +10 -0
- package/docs/LongLiveTokenCreateResponse.md +27 -0
- package/docs/LongLiveTokenIn.md +22 -0
- package/docs/LongLiveTokenOut.md +24 -0
- package/docs/MaintenanceStorageDetails.md +28 -0
- package/docs/MaintenanceSummary.md +24 -0
- package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +26 -0
- package/docs/MealieSchemaUserUserUserBase.md +44 -0
- package/docs/MergeFood.md +22 -0
- package/docs/MergeUnit.md +22 -0
- package/docs/MultiPurposeLabelCreate.md +22 -0
- package/docs/MultiPurposeLabelOut.md +26 -0
- package/docs/MultiPurposeLabelPagination.md +32 -0
- package/docs/MultiPurposeLabelSummary.md +26 -0
- package/docs/MultiPurposeLabelUpdate.md +26 -0
- package/docs/Nutrition.md +40 -0
- package/docs/OrderByNullPosition.md +10 -0
- package/docs/OrderDirection.md +10 -0
- package/docs/OrganizerCategoriesApi.md +422 -0
- package/docs/OrganizerTagsApi.md +421 -0
- package/docs/OrganizerToolsApi.md +363 -0
- package/docs/PaginationBaseHouseholdSummary.md +32 -0
- package/docs/PaginationBaseIngredientFood.md +32 -0
- package/docs/PaginationBaseReadCookBook.md +32 -0
- package/docs/PaginationBaseRecipeCategory.md +32 -0
- package/docs/PaginationBaseRecipeSummary.md +32 -0
- package/docs/PaginationBaseRecipeTag.md +32 -0
- package/docs/PaginationBaseRecipeTool.md +32 -0
- package/docs/PaginationBaseUserOut.md +32 -0
- package/docs/PaginationBaseUserSummary.md +32 -0
- package/docs/ParsedIngredient.md +24 -0
- package/docs/PasswordResetToken.md +20 -0
- package/docs/PlanEntryPagination.md +32 -0
- package/docs/PlanEntryType.md +20 -0
- package/docs/PlanRulesCreate.md +24 -0
- package/docs/PlanRulesDay.md +22 -0
- package/docs/PlanRulesOut.md +32 -0
- package/docs/PlanRulesPagination.md +32 -0
- package/docs/PlanRulesType.md +22 -0
- package/docs/QueryFilterJSON.md +20 -0
- package/docs/QueryFilterJSONPart.md +30 -0
- package/docs/ReadCookBook.md +40 -0
- package/docs/ReadGroupPreferences.md +24 -0
- package/docs/ReadHouseholdPreferences.md +36 -0
- package/docs/ReadInviteToken.md +26 -0
- package/docs/ReadPlanEntry.md +38 -0
- package/docs/ReadWebhook.md +34 -0
- package/docs/RecipeAsset.md +24 -0
- package/docs/RecipeBulkActionsApi.md +448 -0
- package/docs/RecipeCRUDApi.md +1306 -0
- package/docs/RecipeCategory.md +26 -0
- package/docs/RecipeCategoryPagination.md +32 -0
- package/docs/RecipeCommentCreate.md +22 -0
- package/docs/RecipeCommentOutInput.md +32 -0
- package/docs/RecipeCommentOutOutput.md +32 -0
- package/docs/RecipeCommentPagination.md +32 -0
- package/docs/RecipeCommentUpdate.md +22 -0
- package/docs/RecipeCommentsApi.md +361 -0
- package/docs/RecipeDuplicate.md +20 -0
- package/docs/RecipeExportsApi.md +118 -0
- package/docs/RecipeImagesAndAssetsApi.md +521 -0
- package/docs/RecipeIngredientInput.md +36 -0
- package/docs/RecipeIngredientOutput.md +36 -0
- package/docs/RecipeIngredientParserApi.md +119 -0
- package/docs/RecipeInput.md +84 -0
- package/docs/RecipeLastMade.md +20 -0
- package/docs/RecipeNote.md +22 -0
- package/docs/RecipeOutput.md +84 -0
- package/docs/RecipeSettings.md +30 -0
- package/docs/RecipeShareToken.md +30 -0
- package/docs/RecipeShareTokenCreate.md +22 -0
- package/docs/RecipeShareTokenSummary.md +28 -0
- package/docs/RecipeSharedApi.md +112 -0
- package/docs/RecipeStep.md +28 -0
- package/docs/RecipeSuggestionResponse.md +20 -0
- package/docs/RecipeSuggestionResponseItem.md +24 -0
- package/docs/RecipeSummary.md +68 -0
- package/docs/RecipeTag.md +26 -0
- package/docs/RecipeTagPagination.md +32 -0
- package/docs/RecipeTagResponse.md +28 -0
- package/docs/RecipeTimelineApi.md +366 -0
- package/docs/RecipeTimelineEventIn.md +32 -0
- package/docs/RecipeTimelineEventOut.md +42 -0
- package/docs/RecipeTimelineEventPagination.md +32 -0
- package/docs/RecipeTimelineEventUpdate.md +24 -0
- package/docs/RecipeTool.md +28 -0
- package/docs/RecipeToolCreate.md +22 -0
- package/docs/RecipeToolOut.md +28 -0
- package/docs/RecipeToolPagination.md +32 -0
- package/docs/RecipeToolResponse.md +30 -0
- package/docs/RecipesFoodsApi.md +364 -0
- package/docs/RecipesUnitsApi.md +364 -0
- package/docs/RegisteredParser.md +12 -0
- package/docs/RelationalKeyword.md +20 -0
- package/docs/RelationalOperator.md +18 -0
- package/docs/Relationaloperator.md +18 -0
- package/docs/ReportCategory.md +14 -0
- package/docs/ReportEntryOut.md +30 -0
- package/docs/ReportOut.md +32 -0
- package/docs/ReportSummary.md +30 -0
- package/docs/ReportSummaryStatus.md +14 -0
- package/docs/ResetPassword.md +26 -0
- package/docs/SaveGroupRecipeAction.md +28 -0
- package/docs/ScrapeRecipe.md +22 -0
- package/docs/ScrapeRecipeData.md +22 -0
- package/docs/ScrapeRecipeTest.md +22 -0
- package/docs/SeederConfig.md +20 -0
- package/docs/SetPermissions.md +28 -0
- package/docs/SharedRecipesApi.md +228 -0
- package/docs/ShoppingListAddRecipeParams.md +22 -0
- package/docs/ShoppingListAddRecipeParamsBulk.md +24 -0
- package/docs/ShoppingListCreate.md +26 -0
- package/docs/ShoppingListItemCreate.md +48 -0
- package/docs/ShoppingListItemOutInput.md +58 -0
- package/docs/ShoppingListItemOutOutput.md +58 -0
- package/docs/ShoppingListItemPagination.md +32 -0
- package/docs/ShoppingListItemRecipeRefCreate.md +26 -0
- package/docs/ShoppingListItemRecipeRefOut.md +30 -0
- package/docs/ShoppingListItemRecipeRefUpdate.md +30 -0
- package/docs/ShoppingListItemUpdate.md +46 -0
- package/docs/ShoppingListItemUpdateBulk.md +49 -0
- package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +30 -0
- package/docs/ShoppingListItemsCollectionOut.md +25 -0
- package/docs/ShoppingListMultiPurposeLabelOut.md +28 -0
- package/docs/ShoppingListMultiPurposeLabelUpdate.md +26 -0
- package/docs/ShoppingListOut.md +40 -0
- package/docs/ShoppingListPagination.md +32 -0
- package/docs/ShoppingListRecipeRefOut.md +28 -0
- package/docs/ShoppingListRemoveRecipeParams.md +20 -0
- package/docs/ShoppingListSummary.md +38 -0
- package/docs/ShoppingListUpdate.md +34 -0
- package/docs/SuccessResponse.md +22 -0
- package/docs/SupportedMigrations.md +26 -0
- package/docs/TagBase.md +26 -0
- package/docs/TagIn.md +20 -0
- package/docs/TagOut.md +26 -0
- package/docs/TimelineEventImage.md +10 -0
- package/docs/TimelineEventType.md +12 -0
- package/docs/Unit.md +42 -0
- package/docs/Unit1.md +42 -0
- package/docs/UnlockResults.md +20 -0
- package/docs/UpdateCookBook.md +36 -0
- package/docs/UpdateGroupPreferences.md +20 -0
- package/docs/UpdateHouseholdAdmin.md +26 -0
- package/docs/UpdateHouseholdPreferences.md +34 -0
- package/docs/UpdateImageResponse.md +20 -0
- package/docs/UpdatePlanEntry.md +34 -0
- package/docs/UserIn.md +46 -0
- package/docs/UserOut.md +56 -0
- package/docs/UserPagination.md +32 -0
- package/docs/UserRatingOut.md +28 -0
- package/docs/UserRatingSummary.md +24 -0
- package/docs/UserRatingUpdate.md +22 -0
- package/docs/UserRatingsUserRatingOut.md +20 -0
- package/docs/UserRatingsUserRatingSummary.md +20 -0
- package/docs/UserSummary.md +28 -0
- package/docs/UsernameOrId.md +18 -0
- package/docs/UsersAuthenticationApi.md +250 -0
- package/docs/UsersCRUDApi.md +334 -0
- package/docs/UsersImagesApi.md +66 -0
- package/docs/UsersPasswordsApi.md +118 -0
- package/docs/UsersRatingsApi.md +300 -0
- package/docs/UsersRegistrationApi.md +63 -0
- package/docs/UsersTokensApi.md +120 -0
- package/docs/UtilsApi.md +60 -0
- package/docs/ValidationError.md +24 -0
- package/docs/ValidationErrorLocInner.md +18 -0
- package/docs/Value.md +18 -0
- package/docs/WebhookPagination.md +32 -0
- package/docs/WebhookType.md +8 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
# HouseholdsShoppingListsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**addRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipePost**](#addrecipeingredientstolistapihouseholdsshoppinglistsitemidrecipepost) | **POST** /api/households/shopping/lists/{item_id}/recipe | Add Recipe Ingredients To List|
|
|
8
|
+
|[**addSingleRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipeRecipeIdPost**](#addsinglerecipeingredientstolistapihouseholdsshoppinglistsitemidreciperecipeidpost) | **POST** /api/households/shopping/lists/{item_id}/recipe/{recipe_id} | Add Single Recipe Ingredients To List|
|
|
9
|
+
|[**createOneApiHouseholdsShoppingListsPost**](#createoneapihouseholdsshoppinglistspost) | **POST** /api/households/shopping/lists | Create One|
|
|
10
|
+
|[**deleteOneApiHouseholdsShoppingListsItemIdDelete**](#deleteoneapihouseholdsshoppinglistsitemiddelete) | **DELETE** /api/households/shopping/lists/{item_id} | Delete One|
|
|
11
|
+
|[**getAllApiHouseholdsShoppingListsGet**](#getallapihouseholdsshoppinglistsget) | **GET** /api/households/shopping/lists | Get All|
|
|
12
|
+
|[**getOneApiHouseholdsShoppingListsItemIdGet**](#getoneapihouseholdsshoppinglistsitemidget) | **GET** /api/households/shopping/lists/{item_id} | Get One|
|
|
13
|
+
|[**removeRecipeIngredientsFromListApiHouseholdsShoppingListsItemIdRecipeRecipeIdDeletePost**](#removerecipeingredientsfromlistapihouseholdsshoppinglistsitemidreciperecipeiddeletepost) | **POST** /api/households/shopping/lists/{item_id}/recipe/{recipe_id}/delete | Remove Recipe Ingredients From List|
|
|
14
|
+
|[**updateLabelSettingsApiHouseholdsShoppingListsItemIdLabelSettingsPut**](#updatelabelsettingsapihouseholdsshoppinglistsitemidlabelsettingsput) | **PUT** /api/households/shopping/lists/{item_id}/label-settings | Update Label Settings|
|
|
15
|
+
|[**updateOneApiHouseholdsShoppingListsItemIdPut**](#updateoneapihouseholdsshoppinglistsitemidput) | **PUT** /api/households/shopping/lists/{item_id} | Update One|
|
|
16
|
+
|
|
17
|
+
# **addRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipePost**
|
|
18
|
+
> ShoppingListOut addRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipePost(shoppingListAddRecipeParamsBulk)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import {
|
|
25
|
+
HouseholdsShoppingListsApi,
|
|
26
|
+
Configuration
|
|
27
|
+
} from 'mealie-typescript';
|
|
28
|
+
|
|
29
|
+
const configuration = new Configuration();
|
|
30
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
31
|
+
|
|
32
|
+
let itemId: string; // (default to undefined)
|
|
33
|
+
let shoppingListAddRecipeParamsBulk: Array<ShoppingListAddRecipeParamsBulk>; //
|
|
34
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
35
|
+
|
|
36
|
+
const { status, data } = await apiInstance.addRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipePost(
|
|
37
|
+
itemId,
|
|
38
|
+
shoppingListAddRecipeParamsBulk,
|
|
39
|
+
acceptLanguage
|
|
40
|
+
);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
|Name | Type | Description | Notes|
|
|
46
|
+
|------------- | ------------- | ------------- | -------------|
|
|
47
|
+
| **shoppingListAddRecipeParamsBulk** | **Array<ShoppingListAddRecipeParamsBulk>**| | |
|
|
48
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
49
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Return type
|
|
53
|
+
|
|
54
|
+
**ShoppingListOut**
|
|
55
|
+
|
|
56
|
+
### Authorization
|
|
57
|
+
|
|
58
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
59
|
+
|
|
60
|
+
### HTTP request headers
|
|
61
|
+
|
|
62
|
+
- **Content-Type**: application/json
|
|
63
|
+
- **Accept**: application/json
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### HTTP response details
|
|
67
|
+
| Status code | Description | Response headers |
|
|
68
|
+
|-------------|-------------|------------------|
|
|
69
|
+
|**200** | Successful Response | - |
|
|
70
|
+
|**422** | Validation Error | - |
|
|
71
|
+
|
|
72
|
+
[[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)
|
|
73
|
+
|
|
74
|
+
# **addSingleRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipeRecipeIdPost**
|
|
75
|
+
> ShoppingListOut addSingleRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipeRecipeIdPost()
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Example
|
|
79
|
+
|
|
80
|
+
```typescript
|
|
81
|
+
import {
|
|
82
|
+
HouseholdsShoppingListsApi,
|
|
83
|
+
Configuration,
|
|
84
|
+
ShoppingListAddRecipeParams
|
|
85
|
+
} from 'mealie-typescript';
|
|
86
|
+
|
|
87
|
+
const configuration = new Configuration();
|
|
88
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
89
|
+
|
|
90
|
+
let itemId: string; // (default to undefined)
|
|
91
|
+
let recipeId: string; // (default to undefined)
|
|
92
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
93
|
+
let shoppingListAddRecipeParams: ShoppingListAddRecipeParams; // (optional)
|
|
94
|
+
|
|
95
|
+
const { status, data } = await apiInstance.addSingleRecipeIngredientsToListApiHouseholdsShoppingListsItemIdRecipeRecipeIdPost(
|
|
96
|
+
itemId,
|
|
97
|
+
recipeId,
|
|
98
|
+
acceptLanguage,
|
|
99
|
+
shoppingListAddRecipeParams
|
|
100
|
+
);
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Parameters
|
|
104
|
+
|
|
105
|
+
|Name | Type | Description | Notes|
|
|
106
|
+
|------------- | ------------- | ------------- | -------------|
|
|
107
|
+
| **shoppingListAddRecipeParams** | **ShoppingListAddRecipeParams**| | |
|
|
108
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
109
|
+
| **recipeId** | [**string**] | | defaults to undefined|
|
|
110
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Return type
|
|
114
|
+
|
|
115
|
+
**ShoppingListOut**
|
|
116
|
+
|
|
117
|
+
### Authorization
|
|
118
|
+
|
|
119
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
120
|
+
|
|
121
|
+
### HTTP request headers
|
|
122
|
+
|
|
123
|
+
- **Content-Type**: application/json
|
|
124
|
+
- **Accept**: application/json
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### HTTP response details
|
|
128
|
+
| Status code | Description | Response headers |
|
|
129
|
+
|-------------|-------------|------------------|
|
|
130
|
+
|**200** | Successful Response | - |
|
|
131
|
+
|**422** | Validation Error | - |
|
|
132
|
+
|
|
133
|
+
[[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)
|
|
134
|
+
|
|
135
|
+
# **createOneApiHouseholdsShoppingListsPost**
|
|
136
|
+
> ShoppingListOut createOneApiHouseholdsShoppingListsPost(shoppingListCreate)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Example
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
import {
|
|
143
|
+
HouseholdsShoppingListsApi,
|
|
144
|
+
Configuration,
|
|
145
|
+
ShoppingListCreate
|
|
146
|
+
} from 'mealie-typescript';
|
|
147
|
+
|
|
148
|
+
const configuration = new Configuration();
|
|
149
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
150
|
+
|
|
151
|
+
let shoppingListCreate: ShoppingListCreate; //
|
|
152
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
153
|
+
|
|
154
|
+
const { status, data } = await apiInstance.createOneApiHouseholdsShoppingListsPost(
|
|
155
|
+
shoppingListCreate,
|
|
156
|
+
acceptLanguage
|
|
157
|
+
);
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Parameters
|
|
161
|
+
|
|
162
|
+
|Name | Type | Description | Notes|
|
|
163
|
+
|------------- | ------------- | ------------- | -------------|
|
|
164
|
+
| **shoppingListCreate** | **ShoppingListCreate**| | |
|
|
165
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Return type
|
|
169
|
+
|
|
170
|
+
**ShoppingListOut**
|
|
171
|
+
|
|
172
|
+
### Authorization
|
|
173
|
+
|
|
174
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
175
|
+
|
|
176
|
+
### HTTP request headers
|
|
177
|
+
|
|
178
|
+
- **Content-Type**: application/json
|
|
179
|
+
- **Accept**: application/json
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### HTTP response details
|
|
183
|
+
| Status code | Description | Response headers |
|
|
184
|
+
|-------------|-------------|------------------|
|
|
185
|
+
|**201** | Successful Response | - |
|
|
186
|
+
|**422** | Validation Error | - |
|
|
187
|
+
|
|
188
|
+
[[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)
|
|
189
|
+
|
|
190
|
+
# **deleteOneApiHouseholdsShoppingListsItemIdDelete**
|
|
191
|
+
> ShoppingListOut deleteOneApiHouseholdsShoppingListsItemIdDelete()
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Example
|
|
195
|
+
|
|
196
|
+
```typescript
|
|
197
|
+
import {
|
|
198
|
+
HouseholdsShoppingListsApi,
|
|
199
|
+
Configuration
|
|
200
|
+
} from 'mealie-typescript';
|
|
201
|
+
|
|
202
|
+
const configuration = new Configuration();
|
|
203
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
204
|
+
|
|
205
|
+
let itemId: string; // (default to undefined)
|
|
206
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
207
|
+
|
|
208
|
+
const { status, data } = await apiInstance.deleteOneApiHouseholdsShoppingListsItemIdDelete(
|
|
209
|
+
itemId,
|
|
210
|
+
acceptLanguage
|
|
211
|
+
);
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Parameters
|
|
215
|
+
|
|
216
|
+
|Name | Type | Description | Notes|
|
|
217
|
+
|------------- | ------------- | ------------- | -------------|
|
|
218
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
219
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
### Return type
|
|
223
|
+
|
|
224
|
+
**ShoppingListOut**
|
|
225
|
+
|
|
226
|
+
### Authorization
|
|
227
|
+
|
|
228
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
229
|
+
|
|
230
|
+
### HTTP request headers
|
|
231
|
+
|
|
232
|
+
- **Content-Type**: Not defined
|
|
233
|
+
- **Accept**: application/json
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### HTTP response details
|
|
237
|
+
| Status code | Description | Response headers |
|
|
238
|
+
|-------------|-------------|------------------|
|
|
239
|
+
|**200** | Successful Response | - |
|
|
240
|
+
|**422** | Validation Error | - |
|
|
241
|
+
|
|
242
|
+
[[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)
|
|
243
|
+
|
|
244
|
+
# **getAllApiHouseholdsShoppingListsGet**
|
|
245
|
+
> ShoppingListPagination getAllApiHouseholdsShoppingListsGet()
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Example
|
|
249
|
+
|
|
250
|
+
```typescript
|
|
251
|
+
import {
|
|
252
|
+
HouseholdsShoppingListsApi,
|
|
253
|
+
Configuration
|
|
254
|
+
} from 'mealie-typescript';
|
|
255
|
+
|
|
256
|
+
const configuration = new Configuration();
|
|
257
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
258
|
+
|
|
259
|
+
let orderBy: string; // (optional) (default to undefined)
|
|
260
|
+
let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
|
|
261
|
+
let orderDirection: OrderDirection; // (optional) (default to undefined)
|
|
262
|
+
let queryFilter: string; // (optional) (default to undefined)
|
|
263
|
+
let paginationSeed: string; // (optional) (default to undefined)
|
|
264
|
+
let page: number; // (optional) (default to 1)
|
|
265
|
+
let perPage: number; // (optional) (default to 50)
|
|
266
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
267
|
+
|
|
268
|
+
const { status, data } = await apiInstance.getAllApiHouseholdsShoppingListsGet(
|
|
269
|
+
orderBy,
|
|
270
|
+
orderByNullPosition,
|
|
271
|
+
orderDirection,
|
|
272
|
+
queryFilter,
|
|
273
|
+
paginationSeed,
|
|
274
|
+
page,
|
|
275
|
+
perPage,
|
|
276
|
+
acceptLanguage
|
|
277
|
+
);
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### Parameters
|
|
281
|
+
|
|
282
|
+
|Name | Type | Description | Notes|
|
|
283
|
+
|------------- | ------------- | ------------- | -------------|
|
|
284
|
+
| **orderBy** | [**string**] | | (optional) defaults to undefined|
|
|
285
|
+
| **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
|
|
286
|
+
| **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
|
|
287
|
+
| **queryFilter** | [**string**] | | (optional) defaults to undefined|
|
|
288
|
+
| **paginationSeed** | [**string**] | | (optional) defaults to undefined|
|
|
289
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
290
|
+
| **perPage** | [**number**] | | (optional) defaults to 50|
|
|
291
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Return type
|
|
295
|
+
|
|
296
|
+
**ShoppingListPagination**
|
|
297
|
+
|
|
298
|
+
### Authorization
|
|
299
|
+
|
|
300
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
301
|
+
|
|
302
|
+
### HTTP request headers
|
|
303
|
+
|
|
304
|
+
- **Content-Type**: Not defined
|
|
305
|
+
- **Accept**: application/json
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### HTTP response details
|
|
309
|
+
| Status code | Description | Response headers |
|
|
310
|
+
|-------------|-------------|------------------|
|
|
311
|
+
|**200** | Successful Response | - |
|
|
312
|
+
|**422** | Validation Error | - |
|
|
313
|
+
|
|
314
|
+
[[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)
|
|
315
|
+
|
|
316
|
+
# **getOneApiHouseholdsShoppingListsItemIdGet**
|
|
317
|
+
> ShoppingListOut getOneApiHouseholdsShoppingListsItemIdGet()
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### Example
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
import {
|
|
324
|
+
HouseholdsShoppingListsApi,
|
|
325
|
+
Configuration
|
|
326
|
+
} from 'mealie-typescript';
|
|
327
|
+
|
|
328
|
+
const configuration = new Configuration();
|
|
329
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
330
|
+
|
|
331
|
+
let itemId: string; // (default to undefined)
|
|
332
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
333
|
+
|
|
334
|
+
const { status, data } = await apiInstance.getOneApiHouseholdsShoppingListsItemIdGet(
|
|
335
|
+
itemId,
|
|
336
|
+
acceptLanguage
|
|
337
|
+
);
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Parameters
|
|
341
|
+
|
|
342
|
+
|Name | Type | Description | Notes|
|
|
343
|
+
|------------- | ------------- | ------------- | -------------|
|
|
344
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
345
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Return type
|
|
349
|
+
|
|
350
|
+
**ShoppingListOut**
|
|
351
|
+
|
|
352
|
+
### Authorization
|
|
353
|
+
|
|
354
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
355
|
+
|
|
356
|
+
### HTTP request headers
|
|
357
|
+
|
|
358
|
+
- **Content-Type**: Not defined
|
|
359
|
+
- **Accept**: application/json
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### HTTP response details
|
|
363
|
+
| Status code | Description | Response headers |
|
|
364
|
+
|-------------|-------------|------------------|
|
|
365
|
+
|**200** | Successful Response | - |
|
|
366
|
+
|**422** | Validation Error | - |
|
|
367
|
+
|
|
368
|
+
[[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)
|
|
369
|
+
|
|
370
|
+
# **removeRecipeIngredientsFromListApiHouseholdsShoppingListsItemIdRecipeRecipeIdDeletePost**
|
|
371
|
+
> ShoppingListOut removeRecipeIngredientsFromListApiHouseholdsShoppingListsItemIdRecipeRecipeIdDeletePost()
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
### Example
|
|
375
|
+
|
|
376
|
+
```typescript
|
|
377
|
+
import {
|
|
378
|
+
HouseholdsShoppingListsApi,
|
|
379
|
+
Configuration,
|
|
380
|
+
ShoppingListRemoveRecipeParams
|
|
381
|
+
} from 'mealie-typescript';
|
|
382
|
+
|
|
383
|
+
const configuration = new Configuration();
|
|
384
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
385
|
+
|
|
386
|
+
let itemId: string; // (default to undefined)
|
|
387
|
+
let recipeId: string; // (default to undefined)
|
|
388
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
389
|
+
let shoppingListRemoveRecipeParams: ShoppingListRemoveRecipeParams; // (optional)
|
|
390
|
+
|
|
391
|
+
const { status, data } = await apiInstance.removeRecipeIngredientsFromListApiHouseholdsShoppingListsItemIdRecipeRecipeIdDeletePost(
|
|
392
|
+
itemId,
|
|
393
|
+
recipeId,
|
|
394
|
+
acceptLanguage,
|
|
395
|
+
shoppingListRemoveRecipeParams
|
|
396
|
+
);
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
### Parameters
|
|
400
|
+
|
|
401
|
+
|Name | Type | Description | Notes|
|
|
402
|
+
|------------- | ------------- | ------------- | -------------|
|
|
403
|
+
| **shoppingListRemoveRecipeParams** | **ShoppingListRemoveRecipeParams**| | |
|
|
404
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
405
|
+
| **recipeId** | [**string**] | | defaults to undefined|
|
|
406
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### Return type
|
|
410
|
+
|
|
411
|
+
**ShoppingListOut**
|
|
412
|
+
|
|
413
|
+
### Authorization
|
|
414
|
+
|
|
415
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
416
|
+
|
|
417
|
+
### HTTP request headers
|
|
418
|
+
|
|
419
|
+
- **Content-Type**: application/json
|
|
420
|
+
- **Accept**: application/json
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### HTTP response details
|
|
424
|
+
| Status code | Description | Response headers |
|
|
425
|
+
|-------------|-------------|------------------|
|
|
426
|
+
|**200** | Successful Response | - |
|
|
427
|
+
|**422** | Validation Error | - |
|
|
428
|
+
|
|
429
|
+
[[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)
|
|
430
|
+
|
|
431
|
+
# **updateLabelSettingsApiHouseholdsShoppingListsItemIdLabelSettingsPut**
|
|
432
|
+
> ShoppingListOut updateLabelSettingsApiHouseholdsShoppingListsItemIdLabelSettingsPut(shoppingListMultiPurposeLabelUpdate)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
### Example
|
|
436
|
+
|
|
437
|
+
```typescript
|
|
438
|
+
import {
|
|
439
|
+
HouseholdsShoppingListsApi,
|
|
440
|
+
Configuration
|
|
441
|
+
} from 'mealie-typescript';
|
|
442
|
+
|
|
443
|
+
const configuration = new Configuration();
|
|
444
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
445
|
+
|
|
446
|
+
let itemId: string; // (default to undefined)
|
|
447
|
+
let shoppingListMultiPurposeLabelUpdate: Array<ShoppingListMultiPurposeLabelUpdate>; //
|
|
448
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
449
|
+
|
|
450
|
+
const { status, data } = await apiInstance.updateLabelSettingsApiHouseholdsShoppingListsItemIdLabelSettingsPut(
|
|
451
|
+
itemId,
|
|
452
|
+
shoppingListMultiPurposeLabelUpdate,
|
|
453
|
+
acceptLanguage
|
|
454
|
+
);
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
### Parameters
|
|
458
|
+
|
|
459
|
+
|Name | Type | Description | Notes|
|
|
460
|
+
|------------- | ------------- | ------------- | -------------|
|
|
461
|
+
| **shoppingListMultiPurposeLabelUpdate** | **Array<ShoppingListMultiPurposeLabelUpdate>**| | |
|
|
462
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
463
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
### Return type
|
|
467
|
+
|
|
468
|
+
**ShoppingListOut**
|
|
469
|
+
|
|
470
|
+
### Authorization
|
|
471
|
+
|
|
472
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
473
|
+
|
|
474
|
+
### HTTP request headers
|
|
475
|
+
|
|
476
|
+
- **Content-Type**: application/json
|
|
477
|
+
- **Accept**: application/json
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
### HTTP response details
|
|
481
|
+
| Status code | Description | Response headers |
|
|
482
|
+
|-------------|-------------|------------------|
|
|
483
|
+
|**200** | Successful Response | - |
|
|
484
|
+
|**422** | Validation Error | - |
|
|
485
|
+
|
|
486
|
+
[[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)
|
|
487
|
+
|
|
488
|
+
# **updateOneApiHouseholdsShoppingListsItemIdPut**
|
|
489
|
+
> ShoppingListOut updateOneApiHouseholdsShoppingListsItemIdPut(shoppingListUpdate)
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
### Example
|
|
493
|
+
|
|
494
|
+
```typescript
|
|
495
|
+
import {
|
|
496
|
+
HouseholdsShoppingListsApi,
|
|
497
|
+
Configuration,
|
|
498
|
+
ShoppingListUpdate
|
|
499
|
+
} from 'mealie-typescript';
|
|
500
|
+
|
|
501
|
+
const configuration = new Configuration();
|
|
502
|
+
const apiInstance = new HouseholdsShoppingListsApi(configuration);
|
|
503
|
+
|
|
504
|
+
let itemId: string; // (default to undefined)
|
|
505
|
+
let shoppingListUpdate: ShoppingListUpdate; //
|
|
506
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
507
|
+
|
|
508
|
+
const { status, data } = await apiInstance.updateOneApiHouseholdsShoppingListsItemIdPut(
|
|
509
|
+
itemId,
|
|
510
|
+
shoppingListUpdate,
|
|
511
|
+
acceptLanguage
|
|
512
|
+
);
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
### Parameters
|
|
516
|
+
|
|
517
|
+
|Name | Type | Description | Notes|
|
|
518
|
+
|------------- | ------------- | ------------- | -------------|
|
|
519
|
+
| **shoppingListUpdate** | **ShoppingListUpdate**| | |
|
|
520
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
521
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
### Return type
|
|
525
|
+
|
|
526
|
+
**ShoppingListOut**
|
|
527
|
+
|
|
528
|
+
### Authorization
|
|
529
|
+
|
|
530
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
531
|
+
|
|
532
|
+
### HTTP request headers
|
|
533
|
+
|
|
534
|
+
- **Content-Type**: application/json
|
|
535
|
+
- **Accept**: application/json
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
### HTTP response details
|
|
539
|
+
| Status code | Description | Response headers |
|
|
540
|
+
|-------------|-------------|------------------|
|
|
541
|
+
|**200** | Successful Response | - |
|
|
542
|
+
|**422** | Validation Error | - |
|
|
543
|
+
|
|
544
|
+
[[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)
|
|
545
|
+
|