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
package/docs/HouseholdSummary.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# HouseholdSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**groupId** | **string** | | [default to undefined]
|
|
9
|
-
**name** | **string** | | [default to undefined]
|
|
10
|
-
**id** | **string** | | [default to undefined]
|
|
11
|
-
**slug** | **string** | | [default to undefined]
|
|
12
|
-
**preferences** | [**ReadHouseholdPreferences**](ReadHouseholdPreferences.md) | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { HouseholdSummary } from 'mealie-typescript';
|
|
18
|
-
|
|
19
|
-
const instance: HouseholdSummary = {
|
|
20
|
-
groupId,
|
|
21
|
-
name,
|
|
22
|
-
id,
|
|
23
|
-
slug,
|
|
24
|
-
preferences,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# HouseholdUserSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**fullName** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { HouseholdUserSummary } from 'mealie-typescript';
|
|
15
|
-
|
|
16
|
-
const instance: HouseholdUserSummary = {
|
|
17
|
-
id,
|
|
18
|
-
fullName,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,361 +0,0 @@
|
|
|
1
|
-
# HouseholdsCookbooksApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**createOneApiHouseholdsCookbooksPost**](#createoneapihouseholdscookbookspost) | **POST** /api/households/cookbooks | Create One|
|
|
8
|
-
|[**deleteOneApiHouseholdsCookbooksItemIdDelete**](#deleteoneapihouseholdscookbooksitemiddelete) | **DELETE** /api/households/cookbooks/{item_id} | Delete One|
|
|
9
|
-
|[**getAllApiHouseholdsCookbooksGet**](#getallapihouseholdscookbooksget) | **GET** /api/households/cookbooks | Get All|
|
|
10
|
-
|[**getOneApiHouseholdsCookbooksItemIdGet**](#getoneapihouseholdscookbooksitemidget) | **GET** /api/households/cookbooks/{item_id} | Get One|
|
|
11
|
-
|[**updateManyApiHouseholdsCookbooksPut**](#updatemanyapihouseholdscookbooksput) | **PUT** /api/households/cookbooks | Update Many|
|
|
12
|
-
|[**updateOneApiHouseholdsCookbooksItemIdPut**](#updateoneapihouseholdscookbooksitemidput) | **PUT** /api/households/cookbooks/{item_id} | Update One|
|
|
13
|
-
|
|
14
|
-
# **createOneApiHouseholdsCookbooksPost**
|
|
15
|
-
> ReadCookBook createOneApiHouseholdsCookbooksPost(createCookBook)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import {
|
|
22
|
-
HouseholdsCookbooksApi,
|
|
23
|
-
Configuration,
|
|
24
|
-
CreateCookBook
|
|
25
|
-
} from 'mealie-typescript';
|
|
26
|
-
|
|
27
|
-
const configuration = new Configuration();
|
|
28
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
29
|
-
|
|
30
|
-
let createCookBook: CreateCookBook; //
|
|
31
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
32
|
-
|
|
33
|
-
const { status, data } = await apiInstance.createOneApiHouseholdsCookbooksPost(
|
|
34
|
-
createCookBook,
|
|
35
|
-
acceptLanguage
|
|
36
|
-
);
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### Parameters
|
|
40
|
-
|
|
41
|
-
|Name | Type | Description | Notes|
|
|
42
|
-
|------------- | ------------- | ------------- | -------------|
|
|
43
|
-
| **createCookBook** | **CreateCookBook**| | |
|
|
44
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
### Return type
|
|
48
|
-
|
|
49
|
-
**ReadCookBook**
|
|
50
|
-
|
|
51
|
-
### Authorization
|
|
52
|
-
|
|
53
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
54
|
-
|
|
55
|
-
### HTTP request headers
|
|
56
|
-
|
|
57
|
-
- **Content-Type**: application/json
|
|
58
|
-
- **Accept**: application/json
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### HTTP response details
|
|
62
|
-
| Status code | Description | Response headers |
|
|
63
|
-
|-------------|-------------|------------------|
|
|
64
|
-
|**201** | Successful Response | - |
|
|
65
|
-
|**422** | Validation Error | - |
|
|
66
|
-
|
|
67
|
-
[[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)
|
|
68
|
-
|
|
69
|
-
# **deleteOneApiHouseholdsCookbooksItemIdDelete**
|
|
70
|
-
> ReadCookBook deleteOneApiHouseholdsCookbooksItemIdDelete()
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Example
|
|
74
|
-
|
|
75
|
-
```typescript
|
|
76
|
-
import {
|
|
77
|
-
HouseholdsCookbooksApi,
|
|
78
|
-
Configuration
|
|
79
|
-
} from 'mealie-typescript';
|
|
80
|
-
|
|
81
|
-
const configuration = new Configuration();
|
|
82
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
83
|
-
|
|
84
|
-
let itemId: string; // (default to undefined)
|
|
85
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
86
|
-
|
|
87
|
-
const { status, data } = await apiInstance.deleteOneApiHouseholdsCookbooksItemIdDelete(
|
|
88
|
-
itemId,
|
|
89
|
-
acceptLanguage
|
|
90
|
-
);
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### Parameters
|
|
94
|
-
|
|
95
|
-
|Name | Type | Description | Notes|
|
|
96
|
-
|------------- | ------------- | ------------- | -------------|
|
|
97
|
-
| **itemId** | [**string**] | | defaults to undefined|
|
|
98
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
### Return type
|
|
102
|
-
|
|
103
|
-
**ReadCookBook**
|
|
104
|
-
|
|
105
|
-
### Authorization
|
|
106
|
-
|
|
107
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
108
|
-
|
|
109
|
-
### HTTP request headers
|
|
110
|
-
|
|
111
|
-
- **Content-Type**: Not defined
|
|
112
|
-
- **Accept**: application/json
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
### HTTP response details
|
|
116
|
-
| Status code | Description | Response headers |
|
|
117
|
-
|-------------|-------------|------------------|
|
|
118
|
-
|**200** | Successful Response | - |
|
|
119
|
-
|**422** | Validation Error | - |
|
|
120
|
-
|
|
121
|
-
[[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)
|
|
122
|
-
|
|
123
|
-
# **getAllApiHouseholdsCookbooksGet**
|
|
124
|
-
> CookBookPagination getAllApiHouseholdsCookbooksGet()
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Example
|
|
128
|
-
|
|
129
|
-
```typescript
|
|
130
|
-
import {
|
|
131
|
-
HouseholdsCookbooksApi,
|
|
132
|
-
Configuration
|
|
133
|
-
} from 'mealie-typescript';
|
|
134
|
-
|
|
135
|
-
const configuration = new Configuration();
|
|
136
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
137
|
-
|
|
138
|
-
let orderBy: string; // (optional) (default to undefined)
|
|
139
|
-
let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
|
|
140
|
-
let orderDirection: OrderDirection; // (optional) (default to undefined)
|
|
141
|
-
let queryFilter: string; // (optional) (default to undefined)
|
|
142
|
-
let paginationSeed: string; // (optional) (default to undefined)
|
|
143
|
-
let page: number; // (optional) (default to 1)
|
|
144
|
-
let perPage: number; // (optional) (default to 50)
|
|
145
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
146
|
-
|
|
147
|
-
const { status, data } = await apiInstance.getAllApiHouseholdsCookbooksGet(
|
|
148
|
-
orderBy,
|
|
149
|
-
orderByNullPosition,
|
|
150
|
-
orderDirection,
|
|
151
|
-
queryFilter,
|
|
152
|
-
paginationSeed,
|
|
153
|
-
page,
|
|
154
|
-
perPage,
|
|
155
|
-
acceptLanguage
|
|
156
|
-
);
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Parameters
|
|
160
|
-
|
|
161
|
-
|Name | Type | Description | Notes|
|
|
162
|
-
|------------- | ------------- | ------------- | -------------|
|
|
163
|
-
| **orderBy** | [**string**] | | (optional) defaults to undefined|
|
|
164
|
-
| **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
|
|
165
|
-
| **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
|
|
166
|
-
| **queryFilter** | [**string**] | | (optional) defaults to undefined|
|
|
167
|
-
| **paginationSeed** | [**string**] | | (optional) defaults to undefined|
|
|
168
|
-
| **page** | [**number**] | | (optional) defaults to 1|
|
|
169
|
-
| **perPage** | [**number**] | | (optional) defaults to 50|
|
|
170
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
### Return type
|
|
174
|
-
|
|
175
|
-
**CookBookPagination**
|
|
176
|
-
|
|
177
|
-
### Authorization
|
|
178
|
-
|
|
179
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
180
|
-
|
|
181
|
-
### HTTP request headers
|
|
182
|
-
|
|
183
|
-
- **Content-Type**: Not defined
|
|
184
|
-
- **Accept**: application/json
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
### HTTP response details
|
|
188
|
-
| Status code | Description | Response headers |
|
|
189
|
-
|-------------|-------------|------------------|
|
|
190
|
-
|**200** | Successful Response | - |
|
|
191
|
-
|**422** | Validation Error | - |
|
|
192
|
-
|
|
193
|
-
[[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)
|
|
194
|
-
|
|
195
|
-
# **getOneApiHouseholdsCookbooksItemIdGet**
|
|
196
|
-
> ReadCookBook getOneApiHouseholdsCookbooksItemIdGet()
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
### Example
|
|
200
|
-
|
|
201
|
-
```typescript
|
|
202
|
-
import {
|
|
203
|
-
HouseholdsCookbooksApi,
|
|
204
|
-
Configuration,
|
|
205
|
-
ItemId
|
|
206
|
-
} from 'mealie-typescript';
|
|
207
|
-
|
|
208
|
-
const configuration = new Configuration();
|
|
209
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
210
|
-
|
|
211
|
-
let itemId: ItemId; // (default to undefined)
|
|
212
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
213
|
-
|
|
214
|
-
const { status, data } = await apiInstance.getOneApiHouseholdsCookbooksItemIdGet(
|
|
215
|
-
itemId,
|
|
216
|
-
acceptLanguage
|
|
217
|
-
);
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Parameters
|
|
221
|
-
|
|
222
|
-
|Name | Type | Description | Notes|
|
|
223
|
-
|------------- | ------------- | ------------- | -------------|
|
|
224
|
-
| **itemId** | **ItemId** | | defaults to undefined|
|
|
225
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
### Return type
|
|
229
|
-
|
|
230
|
-
**ReadCookBook**
|
|
231
|
-
|
|
232
|
-
### Authorization
|
|
233
|
-
|
|
234
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
235
|
-
|
|
236
|
-
### HTTP request headers
|
|
237
|
-
|
|
238
|
-
- **Content-Type**: Not defined
|
|
239
|
-
- **Accept**: application/json
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
### HTTP response details
|
|
243
|
-
| Status code | Description | Response headers |
|
|
244
|
-
|-------------|-------------|------------------|
|
|
245
|
-
|**200** | Successful Response | - |
|
|
246
|
-
|**422** | Validation Error | - |
|
|
247
|
-
|
|
248
|
-
[[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)
|
|
249
|
-
|
|
250
|
-
# **updateManyApiHouseholdsCookbooksPut**
|
|
251
|
-
> Array<ReadCookBook> updateManyApiHouseholdsCookbooksPut(updateCookBook)
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
### Example
|
|
255
|
-
|
|
256
|
-
```typescript
|
|
257
|
-
import {
|
|
258
|
-
HouseholdsCookbooksApi,
|
|
259
|
-
Configuration
|
|
260
|
-
} from 'mealie-typescript';
|
|
261
|
-
|
|
262
|
-
const configuration = new Configuration();
|
|
263
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
264
|
-
|
|
265
|
-
let updateCookBook: Array<UpdateCookBook>; //
|
|
266
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
267
|
-
|
|
268
|
-
const { status, data } = await apiInstance.updateManyApiHouseholdsCookbooksPut(
|
|
269
|
-
updateCookBook,
|
|
270
|
-
acceptLanguage
|
|
271
|
-
);
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Parameters
|
|
275
|
-
|
|
276
|
-
|Name | Type | Description | Notes|
|
|
277
|
-
|------------- | ------------- | ------------- | -------------|
|
|
278
|
-
| **updateCookBook** | **Array<UpdateCookBook>**| | |
|
|
279
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
### Return type
|
|
283
|
-
|
|
284
|
-
**Array<ReadCookBook>**
|
|
285
|
-
|
|
286
|
-
### Authorization
|
|
287
|
-
|
|
288
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
289
|
-
|
|
290
|
-
### HTTP request headers
|
|
291
|
-
|
|
292
|
-
- **Content-Type**: application/json
|
|
293
|
-
- **Accept**: application/json
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
### HTTP response details
|
|
297
|
-
| Status code | Description | Response headers |
|
|
298
|
-
|-------------|-------------|------------------|
|
|
299
|
-
|**200** | Successful Response | - |
|
|
300
|
-
|**422** | Validation Error | - |
|
|
301
|
-
|
|
302
|
-
[[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)
|
|
303
|
-
|
|
304
|
-
# **updateOneApiHouseholdsCookbooksItemIdPut**
|
|
305
|
-
> ReadCookBook updateOneApiHouseholdsCookbooksItemIdPut(createCookBook)
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
### Example
|
|
309
|
-
|
|
310
|
-
```typescript
|
|
311
|
-
import {
|
|
312
|
-
HouseholdsCookbooksApi,
|
|
313
|
-
Configuration,
|
|
314
|
-
CreateCookBook
|
|
315
|
-
} from 'mealie-typescript';
|
|
316
|
-
|
|
317
|
-
const configuration = new Configuration();
|
|
318
|
-
const apiInstance = new HouseholdsCookbooksApi(configuration);
|
|
319
|
-
|
|
320
|
-
let itemId: string; // (default to undefined)
|
|
321
|
-
let createCookBook: CreateCookBook; //
|
|
322
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
323
|
-
|
|
324
|
-
const { status, data } = await apiInstance.updateOneApiHouseholdsCookbooksItemIdPut(
|
|
325
|
-
itemId,
|
|
326
|
-
createCookBook,
|
|
327
|
-
acceptLanguage
|
|
328
|
-
);
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
### Parameters
|
|
332
|
-
|
|
333
|
-
|Name | Type | Description | Notes|
|
|
334
|
-
|------------- | ------------- | ------------- | -------------|
|
|
335
|
-
| **createCookBook** | **CreateCookBook**| | |
|
|
336
|
-
| **itemId** | [**string**] | | defaults to undefined|
|
|
337
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
### Return type
|
|
341
|
-
|
|
342
|
-
**ReadCookBook**
|
|
343
|
-
|
|
344
|
-
### Authorization
|
|
345
|
-
|
|
346
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
347
|
-
|
|
348
|
-
### HTTP request headers
|
|
349
|
-
|
|
350
|
-
- **Content-Type**: application/json
|
|
351
|
-
- **Accept**: application/json
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
### HTTP response details
|
|
355
|
-
| Status code | Description | Response headers |
|
|
356
|
-
|-------------|-------------|------------------|
|
|
357
|
-
|**200** | Successful Response | - |
|
|
358
|
-
|**422** | Validation Error | - |
|
|
359
|
-
|
|
360
|
-
[[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)
|
|
361
|
-
|