/** * Households service - implements all households-related API endpoints * https://demo.mealie.io/openapi.json */ import { MealieClient } from '../client.js'; import type { CreateCookBook, UpdateCookBook, ReadCookBook, RecipeCookBook, CookBookPagination, GroupEventNotifierCreate, GroupEventNotifierOut, GroupEventNotifierUpdate, GroupEventPagination, CreateGroupRecipeAction, SaveGroupRecipeAction, GroupRecipeActionOut, GroupRecipeActionPagination, HouseholdInDB, HouseholdRecipeSummary, ReadHouseholdPreferences, UpdateHouseholdPreferences, SetPermissions, HouseholdStatistics, CreateInviteToken, ReadInviteToken, EmailInvitation, EmailInitationResponse, ShoppingListCreate, ShoppingListUpdate, ShoppingListOut, ShoppingListItemCreate, ShoppingListItemOut, ShoppingListItemUpdate, ShoppingListItemUpdateBulk, ShoppingListMultiPurposeLabelUpdate, ShoppingListAddRecipeParams, ShoppingListAddRecipeParamsBulk, ShoppingListRemoveRecipeParams, ShoppingListPagination, ShoppingListItemPagination, ShoppingListItemsCollectionOut, CreateWebhook, ReadWebhook, WebhookPagination, CreatePlanEntry, ReadPlanEntry, UpdatePlanEntry, CreateRandomEntry, PlanRulesCreate, PlanRulesOut, PlanEntryPagination, PlanRulesPagination, QueryParams, SuccessResponse, PaginationBase } from '../types/index.js'; import type { UserOut } from '../types/user.js'; export declare class HouseholdsService extends MealieClient { private buildQueryParams; getCookbooks(params?: QueryParams): Promise; createCookbook(data: CreateCookBook): Promise; updateManyCookbooks(data: UpdateCookBook[]): Promise; getCookbook(id: string): Promise; updateCookbook(id: string, data: CreateCookBook): Promise; deleteCookbook(id: string): Promise; getEventNotifications(params?: QueryParams): Promise; createEventNotification(data: GroupEventNotifierCreate): Promise; getEventNotification(id: string): Promise; updateEventNotification(id: string, data: GroupEventNotifierUpdate): Promise; deleteEventNotification(id: string): Promise; testEventNotification(id: string): Promise; getRecipeActions(params?: QueryParams): Promise; createRecipeAction(data: CreateGroupRecipeAction): Promise; getRecipeAction(id: string): Promise; updateRecipeAction(id: string, data: SaveGroupRecipeAction): Promise; deleteRecipeAction(id: string): Promise; triggerRecipeAction(id: string, recipeSlug: string): Promise; getSelf(): Promise; getHouseholdRecipe(recipeSlug: string): Promise; getHouseholdMembers(params?: QueryParams): Promise>; getHouseholdPreferences(): Promise; updateHouseholdPreferences(data: UpdateHouseholdPreferences): Promise; setMemberPermissions(data: SetPermissions): Promise; getStatistics(): Promise; getInviteTokens(): Promise; createInviteToken(data: CreateInviteToken): Promise; emailInvitation(data: EmailInvitation): Promise; getShoppingLists(params?: QueryParams): Promise; createShoppingList(data: ShoppingListCreate): Promise; getShoppingList(id: string): Promise; updateShoppingList(id: string, data: ShoppingListUpdate): Promise; deleteShoppingList(id: string): Promise; updateShoppingListLabelSettings(id: string, data: ShoppingListMultiPurposeLabelUpdate[]): Promise; addRecipeIngredientsToList(id: string, data: ShoppingListAddRecipeParamsBulk[]): Promise; addSingleRecipeIngredientsToList(id: string, recipeId: string, data?: ShoppingListAddRecipeParams): Promise; removeRecipeIngredientsFromList(id: string, recipeId: string, data?: ShoppingListRemoveRecipeParams): Promise; getShoppingListItems(params?: QueryParams): Promise; createShoppingListItem(data: ShoppingListItemCreate): Promise; updateManyShoppingListItems(data: ShoppingListItemUpdateBulk[]): Promise; deleteManyShoppingListItems(ids: string[]): Promise; createManyShoppingListItems(data: ShoppingListItemCreate[]): Promise; getShoppingListItem(id: string): Promise; updateShoppingListItem(id: string, data: ShoppingListItemUpdate): Promise; deleteShoppingListItem(id: string): Promise; getWebhooks(params?: QueryParams): Promise; createWebhook(data: CreateWebhook): Promise; rerunWebhooks(): Promise; getWebhook(id: string): Promise; updateWebhook(id: string, data: CreateWebhook): Promise; deleteWebhook(id: string): Promise; testWebhook(id: string): Promise; getMealplans(params?: QueryParams & { start_date?: string; end_date?: string; }): Promise; createMealplan(data: CreatePlanEntry): Promise; getTodaysMeals(): Promise; createRandomMeal(data: CreateRandomEntry): Promise; getMealplan(id: number): Promise; updateMealplan(id: number, data: UpdatePlanEntry): Promise; deleteMealplan(id: number): Promise; getMealplanRules(params?: QueryParams): Promise; createMealplanRule(data: PlanRulesCreate): Promise; getMealplanRule(id: string): Promise; updateMealplanRule(id: string, data: PlanRulesCreate): Promise; deleteMealplanRule(id: string): Promise; } //# sourceMappingURL=households.d.ts.map