From 418821d8d3d32a2dc3fdd77f120d2dabaa432263 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 26 Feb 2024 21:54:38 +0100 Subject: [PATCH] saerch dialogh --- cookbook/serializer.py | 15 + cookbook/views/api.py | 10 +- vue/src/utils/openapi/api.ts | 9303 ++++++++++++----- vue3/src/apps/tandoor/Tandoor.vue | 7 +- .../display/IngredientsTableRow.vue | 2 +- .../components/inputs/GlobalSearchDialog.vue | 115 + vue3/src/pages/RecipeSearchPage.vue | 51 +- vue3/src/types/SearchTypes.ts | 14 + 8 files changed, 6982 insertions(+), 2535 deletions(-) create mode 100644 vue3/src/components/inputs/GlobalSearchDialog.vue create mode 100644 vue3/src/types/SearchTypes.ts diff --git a/cookbook/serializer.py b/cookbook/serializer.py index 14f6d4310..42cc99357 100644 --- a/cookbook/serializer.py +++ b/cookbook/serializer.py @@ -610,6 +610,21 @@ class RecipeSimpleSerializer(WritableNestedModelSerializer): fields = ('id', 'name', 'url') +class RecipeFlatSerializer(WritableNestedModelSerializer): + + def create(self, validated_data): + # don't allow writing to Recipe via this API + return Recipe.objects.get(**validated_data) + + def update(self, instance, validated_data): + # don't allow writing to Recipe via this API + return Recipe.objects.get(**validated_data) + + class Meta: + model = Recipe + fields = ('id', 'name', 'image') + + class FoodSimpleSerializer(serializers.ModelSerializer): class Meta: model = Food diff --git a/cookbook/views/api.py b/cookbook/views/api.py index 3d3de5e16..37bf28149 100644 --- a/cookbook/views/api.py +++ b/cookbook/views/api.py @@ -97,7 +97,7 @@ from cookbook.serializer import (AccessTokenSerializer, AutomationSerializer, SyncLogSerializer, SyncSerializer, UnitConversionSerializer, UnitSerializer, UserFileSerializer, UserPreferenceSerializer, UserSerializer, UserSpaceSerializer, ViewLogSerializer, - ShoppingListEntryBulkSerializer, ConnectorConfigConfigSerializer) + ShoppingListEntryBulkSerializer, ConnectorConfigConfigSerializer, RecipeFlatSerializer) from cookbook.views.import_export import get_integration from recipes import settings from recipes.settings import DRF_THROTTLE_RECIPE_URL_IMPORT, FDC_API_KEY @@ -1068,11 +1068,13 @@ class RecipeViewSet(viewsets.ModelViewSet): @decorators.action( detail=False, methods=['GET'], + serializer_class=RecipeFlatSerializer, ) def flat(self, request): - return JsonResponse({'data': list(Recipe.objects.filter(space=request.space).filter( - Q(private=False) | (Q(private=True) & (Q(created_by=self.request.user) | Q(shared=self.request.user))) - ).values_list('name', flat=True))}) + qs = Recipe.objects.filter( + space=request.space).filter(Q(private=False) | (Q(private=True) & (Q(created_by=self.request.user) | Q(shared=self.request.user)))).all() # TODO limit fields retrieved but .values() kills image + + return Response(self.serializer_class(qs, many=True).data) class UnitConversionViewSet(viewsets.ModelViewSet): diff --git a/vue/src/utils/openapi/api.ts b/vue/src/utils/openapi/api.ts index 9f25a3273..6f27eef7b 100644 --- a/vue/src/utils/openapi/api.ts +++ b/vue/src/utils/openapi/api.ts @@ -5,7 +5,7 @@ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,144 +13,144 @@ */ +import globalAxios, { AxiosInstance, AxiosPromise } from 'axios'; import { Configuration } from './configuration'; -import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; // Some imports not used depending on template conditions // @ts-ignore -import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; +import { DUMMY_BASE_URL, assertParamExists, createRequestFunction, serializeDataIfNeeded, setSearchParams, toPathString } from './common'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; +import { BASE_PATH, BaseAPI, RequestArgs, RequiredError } from './base'; /** - * + * * @export * @interface AccessToken */ export interface AccessToken { /** - * + * * @type {number} * @memberof AccessToken */ id?: number; /** - * + * * @type {string} * @memberof AccessToken */ token?: string; /** - * + * * @type {string} * @memberof AccessToken */ expires: string; /** - * + * * @type {string} * @memberof AccessToken */ scope?: string; /** - * + * * @type {string} * @memberof AccessToken */ created?: string; /** - * + * * @type {string} * @memberof AccessToken */ updated?: string; } /** - * + * * @export * @interface AuthToken */ export interface AuthToken { /** - * + * * @type {string} * @memberof AuthToken */ username: string; /** - * + * * @type {string} * @memberof AuthToken */ password: string; /** - * + * * @type {string} * @memberof AuthToken */ token?: string; } /** - * + * * @export * @interface Automation */ export interface Automation { /** - * + * * @type {number} * @memberof Automation */ id?: number; /** - * + * * @type {string} * @memberof Automation */ type: AutomationTypeEnum; /** - * + * * @type {string} * @memberof Automation */ name?: string; /** - * + * * @type {string} * @memberof Automation */ description?: string | null; /** - * + * * @type {string} * @memberof Automation */ param_1?: string | null; /** - * + * * @type {string} * @memberof Automation */ param_2?: string | null; /** - * + * * @type {string} * @memberof Automation */ param_3?: string | null; /** - * + * * @type {number} * @memberof Automation */ order?: number; /** - * + * * @type {boolean} * @memberof Automation */ disabled?: boolean; /** - * + * * @type {string} * @memberof Automation */ @@ -175,161 +175,277 @@ export enum AutomationTypeEnum { } /** - * + * * @export * @interface BookmarkletImport */ export interface BookmarkletImport { /** - * + * * @type {number} * @memberof BookmarkletImport */ id?: number; /** - * + * * @type {string} * @memberof BookmarkletImport */ url?: string | null; /** - * + * * @type {string} * @memberof BookmarkletImport */ html: string; /** - * + * * @type {string} * @memberof BookmarkletImport */ created_by?: string; /** - * + * * @type {string} * @memberof BookmarkletImport */ created_at?: string; } /** - * + * * @export * @interface BookmarkletImportList */ export interface BookmarkletImportList { /** - * + * * @type {number} * @memberof BookmarkletImportList */ id?: number; /** - * + * * @type {string} * @memberof BookmarkletImportList */ url?: string | null; /** - * + * * @type {string} * @memberof BookmarkletImportList */ created_by?: string; /** - * + * * @type {string} * @memberof BookmarkletImportList */ created_at?: string; } /** - * + * + * @export + * @interface ConnectorConfigConfig + */ +export interface ConnectorConfigConfig { + /** + * + * @type {number} + * @memberof ConnectorConfigConfig + */ + id?: number; + /** + * + * @type {string} + * @memberof ConnectorConfigConfig + */ + name: string; + /** + * + * @type {string} + * @memberof ConnectorConfigConfig + */ + url?: string | null; + /** + * + * @type {string} + * @memberof ConnectorConfigConfig + */ + token?: string | null; + /** + * + * @type {string} + * @memberof ConnectorConfigConfig + */ + todo_entity?: string | null; + /** + * Is Connector Enabled + * @type {boolean} + * @memberof ConnectorConfigConfig + */ + enabled?: boolean; + /** + * + * @type {boolean} + * @memberof ConnectorConfigConfig + */ + on_shopping_list_entry_created_enabled?: boolean; + /** + * + * @type {boolean} + * @memberof ConnectorConfigConfig + */ + on_shopping_list_entry_updated_enabled?: boolean; + /** + * + * @type {boolean} + * @memberof ConnectorConfigConfig + */ + on_shopping_list_entry_deleted_enabled?: boolean; + /** + * + * @type {string} + * @memberof ConnectorConfigConfig + */ + created_by?: string; +} +/** + * * @export * @interface CookLog */ export interface CookLog { /** - * + * * @type {number} * @memberof CookLog */ id?: number; /** - * + * * @type {number} * @memberof CookLog */ recipe: number; /** - * + * * @type {number} * @memberof CookLog */ - servings?: number; + servings?: number | null; /** - * + * * @type {number} * @memberof CookLog */ rating?: number | null; /** - * + * * @type {string} * @memberof CookLog */ - created_by?: string; + comment?: string | null; /** - * + * + * @type {CookLogCreatedBy} + * @memberof CookLog + */ + created_by?: CookLogCreatedBy; + /** + * * @type {string} * @memberof CookLog */ created_at?: string; + /** + * + * @type {string} + * @memberof CookLog + */ + updated_at?: string; } /** - * + * + * @export + * @interface CookLogCreatedBy + */ +export interface CookLogCreatedBy { + /** + * + * @type {number} + * @memberof CookLogCreatedBy + */ + id?: number; + /** + * Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + * @type {string} + * @memberof CookLogCreatedBy + */ + username?: string; + /** + * + * @type {string} + * @memberof CookLogCreatedBy + */ + first_name?: string; + /** + * + * @type {string} + * @memberof CookLogCreatedBy + */ + last_name?: string; + /** + * + * @type {string} + * @memberof CookLogCreatedBy + */ + display_name?: string; +} +/** + * * @export * @interface CustomFilter */ export interface CustomFilter { /** - * + * * @type {number} * @memberof CustomFilter */ id?: number; /** - * + * * @type {string} * @memberof CustomFilter */ name: string; /** - * + * * @type {string} * @memberof CustomFilter */ search: string; /** - * + * * @type {Array} * @memberof CustomFilter */ shared?: Array; /** - * + * * @type {string} * @memberof CustomFilter */ created_by?: string; } /** - * + * * @export * @interface CustomFilterShared */ export interface CustomFilterShared { /** - * + * * @type {number} * @memberof CustomFilterShared */ @@ -341,442 +457,442 @@ export interface CustomFilterShared { */ username?: string; /** - * + * * @type {string} * @memberof CustomFilterShared */ first_name?: string; /** - * + * * @type {string} * @memberof CustomFilterShared */ last_name?: string; /** - * + * * @type {string} * @memberof CustomFilterShared */ display_name?: string; } /** - * + * * @export * @interface ExportLog */ export interface ExportLog { /** - * + * * @type {number} * @memberof ExportLog */ id?: number; /** - * + * * @type {string} * @memberof ExportLog */ type: string; /** - * + * * @type {string} * @memberof ExportLog */ msg?: string; /** - * + * * @type {boolean} * @memberof ExportLog */ running?: boolean; /** - * + * * @type {number} * @memberof ExportLog */ total_recipes?: number; /** - * + * * @type {number} * @memberof ExportLog */ exported_recipes?: number; /** - * + * * @type {number} * @memberof ExportLog */ cache_duration?: number; /** - * + * * @type {boolean} * @memberof ExportLog */ possibly_not_expired?: boolean; /** - * + * * @type {string} * @memberof ExportLog */ created_by?: string; /** - * + * * @type {string} * @memberof ExportLog */ created_at?: string; } /** - * + * * @export * @interface Food */ export interface Food { /** - * + * * @type {number} * @memberof Food */ id?: number; /** - * + * * @type {string} * @memberof Food */ name: string; /** - * + * * @type {string} * @memberof Food */ plural_name?: string | null; /** - * + * * @type {string} * @memberof Food */ description?: string; /** - * + * * @type {string} * @memberof Food */ shopping?: string; /** - * + * * @type {FoodRecipe} * @memberof Food */ recipe?: FoodRecipe | null; /** - * + * * @type {string} * @memberof Food */ url?: string | null; /** - * + * * @type {Array} * @memberof Food */ properties?: Array | null; /** - * + * * @type {string} * @memberof Food */ properties_food_amount?: string; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof Food */ properties_food_unit?: FoodPropertiesFoodUnit | null; /** - * + * * @type {number} * @memberof Food */ fdc_id?: number | null; /** - * + * * @type {string} * @memberof Food */ food_onhand?: string | null; /** - * + * * @type {FoodSupermarketCategory} * @memberof Food */ supermarket_category?: FoodSupermarketCategory | null; /** - * + * * @type {string} * @memberof Food */ parent?: string; /** - * + * * @type {number} * @memberof Food */ numchild?: number; /** - * + * * @type {Array} * @memberof Food */ inherit_fields?: Array | null; /** - * + * * @type {string} * @memberof Food */ full_name?: string; /** - * + * * @type {boolean} * @memberof Food */ ignore_shopping?: boolean; /** - * + * * @type {Array} * @memberof Food */ substitute?: Array | null; /** - * + * * @type {boolean} * @memberof Food */ substitute_siblings?: boolean; /** - * + * * @type {boolean} * @memberof Food */ substitute_children?: boolean; /** - * + * * @type {string} * @memberof Food */ substitute_onhand?: string; /** - * + * * @type {Array} * @memberof Food */ child_inherit_fields?: Array | null; /** - * + * * @type {string} * @memberof Food */ open_data_slug?: string | null; } /** - * + * * @export * @interface FoodInheritField */ export interface FoodInheritField { /** - * + * * @type {number} * @memberof FoodInheritField */ id?: number; /** - * + * * @type {string} * @memberof FoodInheritField */ name?: string | null; /** - * + * * @type {string} * @memberof FoodInheritField */ field?: string | null; } /** - * + * * @export * @interface FoodInheritFields */ export interface FoodInheritFields { /** - * + * * @type {number} * @memberof FoodInheritFields */ id?: number; /** - * + * * @type {string} * @memberof FoodInheritFields */ name?: string | null; /** - * + * * @type {string} * @memberof FoodInheritFields */ field?: string | null; } /** - * + * * @export * @interface FoodProperties */ export interface FoodProperties { /** - * + * * @type {number} * @memberof FoodProperties */ id?: number; /** - * + * * @type {string} * @memberof FoodProperties */ property_amount: string | null; /** - * + * * @type {FoodPropertyType} * @memberof FoodProperties */ property_type: FoodPropertyType; } /** - * + * * @export * @interface FoodPropertiesFoodUnit */ export interface FoodPropertiesFoodUnit { /** - * + * * @type {number} * @memberof FoodPropertiesFoodUnit */ id?: number; /** - * + * * @type {string} * @memberof FoodPropertiesFoodUnit */ name: string; /** - * + * * @type {string} * @memberof FoodPropertiesFoodUnit */ plural_name?: string | null; /** - * + * * @type {string} * @memberof FoodPropertiesFoodUnit */ description?: string | null; /** - * + * * @type {string} * @memberof FoodPropertiesFoodUnit */ base_unit?: string | null; /** - * + * * @type {string} * @memberof FoodPropertiesFoodUnit */ open_data_slug?: string | null; } /** - * + * * @export * @interface FoodPropertyType */ export interface FoodPropertyType { /** - * + * * @type {number} * @memberof FoodPropertyType */ id?: number; /** - * + * * @type {string} * @memberof FoodPropertyType */ name: string; /** - * + * * @type {string} * @memberof FoodPropertyType */ unit?: string | null; /** - * + * * @type {string} * @memberof FoodPropertyType */ description?: string | null; /** - * + * * @type {number} * @memberof FoodPropertyType */ order?: number; /** - * + * * @type {string} * @memberof FoodPropertyType */ open_data_slug?: string | null; /** - * + * * @type {number} * @memberof FoodPropertyType */ fdc_id?: number | null; } /** - * + * * @export * @interface FoodRecipe */ export interface FoodRecipe { /** - * + * * @type {number} * @memberof FoodRecipe */ id?: number; /** - * + * * @type {string} * @memberof FoodRecipe */ name: string; /** - * + * * @type {string} * @memberof FoodRecipe */ url?: string; } /** - * + * * @export * @interface FoodShoppingUpdate */ export interface FoodShoppingUpdate { /** - * + * * @type {number} * @memberof FoodShoppingUpdate */ @@ -810,2053 +926,3029 @@ export enum FoodShoppingUpdateDeleteEnum { } /** - * + * * @export * @interface FoodSubstitute */ export interface FoodSubstitute { /** - * + * * @type {number} * @memberof FoodSubstitute */ id?: number; /** - * + * * @type {string} * @memberof FoodSubstitute */ name: string; /** - * + * * @type {string} * @memberof FoodSubstitute */ plural_name?: string | null; } /** - * + * * @export * @interface FoodSupermarketCategory */ export interface FoodSupermarketCategory { /** - * + * * @type {number} * @memberof FoodSupermarketCategory */ id?: number; /** - * + * * @type {string} * @memberof FoodSupermarketCategory */ name: string; /** - * + * * @type {string} * @memberof FoodSupermarketCategory */ description?: string | null; } /** - * + * * @export * @interface Group */ export interface Group { /** - * + * * @type {number} * @memberof Group */ id?: number; /** - * + * * @type {string} * @memberof Group */ name: string; } /** - * + * * @export * @interface ImportLog */ export interface ImportLog { /** - * + * * @type {number} * @memberof ImportLog */ id?: number; /** - * + * * @type {string} * @memberof ImportLog */ type: string; /** - * + * * @type {string} * @memberof ImportLog */ msg?: string; /** - * + * * @type {boolean} * @memberof ImportLog */ running?: boolean; /** - * + * * @type {ImportLogKeyword} * @memberof ImportLog */ keyword?: ImportLogKeyword; /** - * + * * @type {number} * @memberof ImportLog */ total_recipes?: number; /** - * + * * @type {number} * @memberof ImportLog */ imported_recipes?: number; /** - * + * * @type {string} * @memberof ImportLog */ created_by?: string; /** - * + * * @type {string} * @memberof ImportLog */ created_at?: string; } /** - * + * * @export * @interface ImportLogKeyword */ export interface ImportLogKeyword { /** - * + * * @type {number} * @memberof ImportLogKeyword */ id?: number; /** - * + * * @type {string} * @memberof ImportLogKeyword */ name: string; /** - * + * * @type {string} * @memberof ImportLogKeyword */ label?: string; /** - * + * * @type {string} * @memberof ImportLogKeyword */ description?: string; /** - * + * * @type {string} * @memberof ImportLogKeyword */ parent?: string; /** - * + * * @type {number} * @memberof ImportLogKeyword */ numchild?: number; /** - * + * * @type {string} * @memberof ImportLogKeyword */ created_at?: string; /** - * + * * @type {string} * @memberof ImportLogKeyword */ updated_at?: string; /** - * + * * @type {string} * @memberof ImportLogKeyword */ full_name?: string; } /** - * + * * @export * @interface Ingredient */ export interface Ingredient { /** - * + * * @type {number} * @memberof Ingredient */ id?: number; /** - * + * * @type {IngredientFood} * @memberof Ingredient */ food: IngredientFood | null; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof Ingredient */ unit: FoodPropertiesFoodUnit | null; /** - * + * * @type {string} * @memberof Ingredient */ amount: string; /** - * + * * @type {string} * @memberof Ingredient */ conversions?: string; /** - * + * * @type {string} * @memberof Ingredient */ note?: string | null; /** - * + * * @type {number} * @memberof Ingredient */ order?: number; /** - * + * * @type {boolean} * @memberof Ingredient */ is_header?: boolean; /** - * + * * @type {boolean} * @memberof Ingredient */ no_amount?: boolean; /** - * + * * @type {string} * @memberof Ingredient */ original_text?: string | null; /** - * + * * @type {string} * @memberof Ingredient */ used_in_recipes?: string; /** - * + * * @type {boolean} * @memberof Ingredient */ always_use_plural_unit?: boolean; /** - * + * * @type {boolean} * @memberof Ingredient */ always_use_plural_food?: boolean; } /** - * + * * @export * @interface IngredientFood */ export interface IngredientFood { /** - * + * * @type {number} * @memberof IngredientFood */ id?: number; /** - * + * * @type {string} * @memberof IngredientFood */ name: string; /** - * + * * @type {string} * @memberof IngredientFood */ plural_name?: string | null; /** - * + * * @type {string} * @memberof IngredientFood */ description?: string; /** - * + * * @type {string} * @memberof IngredientFood */ shopping?: string; /** - * + * * @type {FoodRecipe} * @memberof IngredientFood */ recipe?: FoodRecipe | null; /** - * + * * @type {string} * @memberof IngredientFood */ url?: string | null; /** - * + * * @type {Array} * @memberof IngredientFood */ properties?: Array | null; /** - * + * * @type {string} * @memberof IngredientFood */ properties_food_amount?: string; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof IngredientFood */ properties_food_unit?: FoodPropertiesFoodUnit | null; /** - * + * * @type {number} * @memberof IngredientFood */ fdc_id?: number | null; /** - * + * * @type {string} * @memberof IngredientFood */ food_onhand?: string | null; /** - * + * * @type {FoodSupermarketCategory} * @memberof IngredientFood */ supermarket_category?: FoodSupermarketCategory | null; /** - * + * * @type {string} * @memberof IngredientFood */ parent?: string; /** - * + * * @type {number} * @memberof IngredientFood */ numchild?: number; /** - * + * * @type {Array} * @memberof IngredientFood */ inherit_fields?: Array | null; /** - * + * * @type {string} * @memberof IngredientFood */ full_name?: string; /** - * + * * @type {boolean} * @memberof IngredientFood */ ignore_shopping?: boolean; /** - * + * * @type {Array} * @memberof IngredientFood */ substitute?: Array | null; /** - * + * * @type {boolean} * @memberof IngredientFood */ substitute_siblings?: boolean; /** - * + * * @type {boolean} * @memberof IngredientFood */ substitute_children?: boolean; /** - * + * * @type {string} * @memberof IngredientFood */ substitute_onhand?: string; /** - * + * * @type {Array} * @memberof IngredientFood */ child_inherit_fields?: Array | null; /** - * + * * @type {string} * @memberof IngredientFood */ open_data_slug?: string | null; } /** - * + * * @export * @interface InlineResponse200 */ export interface InlineResponse200 { /** - * + * * @type {number} * @memberof InlineResponse200 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse200 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse200 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse200 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2001 */ export interface InlineResponse2001 { /** - * + * * @type {number} * @memberof InlineResponse2001 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2001 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2001 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2001 */ results?: Array; } /** - * + * * @export * @interface InlineResponse20010 */ export interface InlineResponse20010 { /** - * + * * @type {number} * @memberof InlineResponse20010 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse20010 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse20010 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse20010 */ results?: Array; } /** - * + * * @export * @interface InlineResponse20011 */ export interface InlineResponse20011 { /** - * + * * @type {number} * @memberof InlineResponse20011 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse20011 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse20011 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse20011 */ results?: Array; } /** - * + * * @export * @interface InlineResponse20012 */ export interface InlineResponse20012 { /** - * + * * @type {number} * @memberof InlineResponse20012 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse20012 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse20012 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse20012 */ results?: Array; } /** - * + * * @export * @interface InlineResponse20013 */ export interface InlineResponse20013 { /** - * + * * @type {number} * @memberof InlineResponse20013 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse20013 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse20013 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse20013 */ results?: Array; } /** - * + * * @export * @interface InlineResponse20014 */ export interface InlineResponse20014 { /** - * + * * @type {number} * @memberof InlineResponse20014 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse20014 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse20014 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse20014 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2002 */ export interface InlineResponse2002 { /** - * + * * @type {number} * @memberof InlineResponse2002 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2002 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2002 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2002 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2003 */ export interface InlineResponse2003 { /** - * + * * @type {number} * @memberof InlineResponse2003 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2003 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2003 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2003 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2004 */ export interface InlineResponse2004 { /** - * + * * @type {number} * @memberof InlineResponse2004 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2004 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2004 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2004 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2005 */ export interface InlineResponse2005 { /** - * + * * @type {number} * @memberof InlineResponse2005 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2005 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2005 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2005 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2006 */ export interface InlineResponse2006 { /** - * + * * @type {number} * @memberof InlineResponse2006 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2006 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2006 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2006 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2007 */ export interface InlineResponse2007 { /** - * + * * @type {number} * @memberof InlineResponse2007 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2007 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2007 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2007 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2008 */ export interface InlineResponse2008 { /** - * + * * @type {number} * @memberof InlineResponse2008 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2008 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2008 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2008 */ results?: Array; } /** - * + * * @export * @interface InlineResponse2009 */ export interface InlineResponse2009 { /** - * + * * @type {number} * @memberof InlineResponse2009 */ count?: number; /** - * + * * @type {string} * @memberof InlineResponse2009 */ next?: string | null; /** - * + * * @type {string} * @memberof InlineResponse2009 */ previous?: string | null; /** - * + * * @type {Array} * @memberof InlineResponse2009 */ results?: Array; } /** - * + * * @export * @interface InviteLink */ export interface InviteLink { /** - * + * * @type {number} * @memberof InviteLink */ id?: number; /** - * + * * @type {string} * @memberof InviteLink */ uuid?: string; /** - * + * * @type {string} * @memberof InviteLink */ email?: string; /** - * + * * @type {InviteLinkGroup} * @memberof InviteLink */ group: InviteLinkGroup; /** - * + * * @type {string} * @memberof InviteLink */ valid_until?: string; /** - * + * * @type {number} * @memberof InviteLink */ used_by?: number | null; /** - * + * * @type {boolean} * @memberof InviteLink */ reusable?: boolean; /** - * + * * @type {string} * @memberof InviteLink */ internal_note?: string | null; /** - * + * * @type {string} * @memberof InviteLink */ created_by?: string; /** - * + * * @type {string} * @memberof InviteLink */ created_at?: string; } /** - * + * * @export * @interface InviteLinkGroup */ export interface InviteLinkGroup { /** - * + * * @type {number} * @memberof InviteLinkGroup */ id?: number; /** - * + * * @type {string} * @memberof InviteLinkGroup */ name: string; } /** - * + * * @export * @interface Keyword */ export interface Keyword { /** - * + * * @type {number} * @memberof Keyword */ id?: number; /** - * + * * @type {string} * @memberof Keyword */ name: string; /** - * + * * @type {string} * @memberof Keyword */ label?: string; /** - * + * * @type {string} * @memberof Keyword */ description?: string; /** - * + * * @type {string} * @memberof Keyword */ parent?: string; /** - * + * * @type {number} * @memberof Keyword */ numchild?: number; /** - * + * * @type {string} * @memberof Keyword */ created_at?: string; /** - * + * * @type {string} * @memberof Keyword */ updated_at?: string; /** - * + * * @type {string} * @memberof Keyword */ full_name?: string; } /** - * + * * @export * @interface MealPlan */ export interface MealPlan { /** - * + * * @type {number} * @memberof MealPlan */ id?: number; /** - * + * * @type {string} * @memberof MealPlan */ title?: string; /** - * + * * @type {MealPlanRecipe} * @memberof MealPlan */ recipe?: MealPlanRecipe | null; /** - * + * * @type {string} * @memberof MealPlan */ servings: string; /** - * + * * @type {string} * @memberof MealPlan */ note?: string; /** - * + * * @type {string} * @memberof MealPlan */ note_markdown?: string; /** - * + * * @type {string} * @memberof MealPlan */ from_date: string; /** - * + * * @type {string} * @memberof MealPlan */ to_date?: string; /** - * + * * @type {MealPlanMealType} * @memberof MealPlan */ meal_type: MealPlanMealType; /** - * + * * @type {string} * @memberof MealPlan */ created_by?: string; /** - * + * * @type {Array} * @memberof MealPlan */ shared?: Array | null; /** - * + * * @type {string} * @memberof MealPlan */ recipe_name?: string; /** - * + * * @type {string} * @memberof MealPlan */ meal_type_name?: string; /** - * + * * @type {string} * @memberof MealPlan */ shopping?: string; } /** - * + * * @export * @interface MealPlanMealType */ export interface MealPlanMealType { /** - * + * * @type {number} * @memberof MealPlanMealType */ id?: number; /** - * + * * @type {string} * @memberof MealPlanMealType */ name: string; /** - * + * * @type {number} * @memberof MealPlanMealType */ order?: number; /** - * + * * @type {string} * @memberof MealPlanMealType */ color?: string | null; /** - * + * * @type {boolean} * @memberof MealPlanMealType */ _default?: boolean; /** - * + * * @type {string} * @memberof MealPlanMealType */ created_by?: string; } /** - * + * * @export * @interface MealPlanRecipe */ export interface MealPlanRecipe { /** - * + * * @type {number} * @memberof MealPlanRecipe */ id?: number; /** - * + * * @type {string} * @memberof MealPlanRecipe */ name: string; /** - * + * * @type {string} * @memberof MealPlanRecipe */ description?: string | null; /** - * + * * @type {any} * @memberof MealPlanRecipe */ image?: any | null; /** - * + * * @type {Array} * @memberof MealPlanRecipe */ keywords: Array; /** - * + * * @type {number} * @memberof MealPlanRecipe */ working_time?: number; /** - * + * * @type {number} * @memberof MealPlanRecipe */ waiting_time?: number; /** - * + * * @type {string} * @memberof MealPlanRecipe */ created_by?: string; /** - * + * * @type {string} * @memberof MealPlanRecipe */ created_at?: string; /** - * + * * @type {string} * @memberof MealPlanRecipe */ updated_at?: string; /** - * + * * @type {boolean} * @memberof MealPlanRecipe */ internal?: boolean; /** - * + * * @type {number} * @memberof MealPlanRecipe */ servings?: number; /** - * + * * @type {string} * @memberof MealPlanRecipe */ servings_text?: string; /** - * + * * @type {string} * @memberof MealPlanRecipe */ rating?: string | null; /** - * + * * @type {string} * @memberof MealPlanRecipe */ last_cooked?: string | null; /** - * + * * @type {string} * @memberof MealPlanRecipe */ _new?: string; /** - * + * * @type {string} * @memberof MealPlanRecipe */ recent?: string; } /** - * + * * @export * @interface MealPlanRecipeKeywords */ export interface MealPlanRecipeKeywords { /** - * + * * @type {number} * @memberof MealPlanRecipeKeywords */ id?: number; /** - * + * * @type {string} * @memberof MealPlanRecipeKeywords */ label?: string; } /** - * + * * @export * @interface MealType */ export interface MealType { /** - * + * * @type {number} * @memberof MealType */ id?: number; /** - * + * * @type {string} * @memberof MealType */ name: string; /** - * + * * @type {number} * @memberof MealType */ order?: number; /** - * + * * @type {string} * @memberof MealType */ color?: string | null; /** - * + * * @type {boolean} * @memberof MealType */ _default?: boolean; /** - * + * * @type {string} * @memberof MealType */ created_by?: string; } /** - * + * + * @export + * @interface OpenDataCategory + */ +export interface OpenDataCategory { + /** + * + * @type {number} + * @memberof OpenDataCategory + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataCategory + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataCategory + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataCategory + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataCategory + */ + description?: string; + /** + * + * @type {string} + * @memberof OpenDataCategory + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataCategory + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataConversion + */ +export interface OpenDataConversion { + /** + * + * @type {number} + * @memberof OpenDataConversion + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataConversion + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + slug: string; + /** + * + * @type {OpenDataConversionFood} + * @memberof OpenDataConversion + */ + food: OpenDataConversionFood; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + base_amount: string; + /** + * + * @type {OpenDataConversionFoodPropertiesFoodUnit} + * @memberof OpenDataConversion + */ + base_unit: OpenDataConversionFoodPropertiesFoodUnit; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + converted_amount: string; + /** + * + * @type {OpenDataConversionFoodPropertiesFoodUnit} + * @memberof OpenDataConversion + */ + converted_unit: OpenDataConversionFoodPropertiesFoodUnit; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + source: string; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataConversion + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataConversionFood + */ +export interface OpenDataConversionFood { + /** + * + * @type {number} + * @memberof OpenDataConversionFood + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataConversionFood + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + plural_name: string; + /** + * + * @type {OpenDataStoreCategory} + * @memberof OpenDataConversionFood + */ + store_category: OpenDataStoreCategory; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataConversionFood + */ + preferred_unit_metric?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataConversionFood + */ + preferred_shopping_unit_metric?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataConversionFood + */ + preferred_unit_imperial?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataConversionFood + */ + preferred_shopping_unit_imperial?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {Array} + * @memberof OpenDataConversionFood + */ + properties: Array | null; + /** + * + * @type {number} + * @memberof OpenDataConversionFood + */ + properties_food_amount?: number; + /** + * + * @type {OpenDataConversionFoodPropertiesFoodUnit} + * @memberof OpenDataConversionFood + */ + properties_food_unit: OpenDataConversionFoodPropertiesFoodUnit; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + properties_source?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + fdc_id: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFood + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataConversionFoodPreferredUnitMetric + */ +export interface OpenDataConversionFoodPreferredUnitMetric { + /** + * + * @type {number} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + plural_name?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + base_unit?: OpenDataConversionFoodPreferredUnitMetricBaseUnitEnum; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + type: OpenDataConversionFoodPreferredUnitMetricTypeEnum; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPreferredUnitMetric + */ + created_by?: string; +} + +/** + * @export + * @enum {string} + */ +export enum OpenDataConversionFoodPreferredUnitMetricBaseUnitEnum { + G = 'G', + Kg = 'KG', + Ml = 'ML', + L = 'L', + Ounce = 'OUNCE', + Pound = 'POUND', + FluidOunce = 'FLUID_OUNCE', + Tsp = 'TSP', + Tbsp = 'TBSP', + Cup = 'CUP', + Pint = 'PINT', + Quart = 'QUART', + Gallon = 'GALLON', + ImperialFluidOunce = 'IMPERIAL_FLUID_OUNCE', + ImperialPint = 'IMPERIAL_PINT', + ImperialQuart = 'IMPERIAL_QUART', + ImperialGallon = 'IMPERIAL_GALLON' +} +/** + * @export + * @enum {string} + */ +export enum OpenDataConversionFoodPreferredUnitMetricTypeEnum { + Weight = 'WEIGHT', + Volume = 'VOLUME', + Other = 'OTHER' +} + +/** + * + * @export + * @interface OpenDataConversionFoodProperties + */ +export interface OpenDataConversionFoodProperties { + /** + * + * @type {number} + * @memberof OpenDataConversionFoodProperties + */ + id?: number; + /** + * + * @type {OpenDataConversionFoodProperty} + * @memberof OpenDataConversionFoodProperties + */ + property: OpenDataConversionFoodProperty; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperties + */ + property_amount: string; +} +/** + * + * @export + * @interface OpenDataConversionFoodPropertiesFoodUnit + */ +export interface OpenDataConversionFoodPropertiesFoodUnit { + /** + * + * @type {number} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + plural_name?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + base_unit?: OpenDataConversionFoodPropertiesFoodUnitBaseUnitEnum; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + type: OpenDataConversionFoodPropertiesFoodUnitTypeEnum; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodPropertiesFoodUnit + */ + created_by?: string; +} + +/** + * @export + * @enum {string} + */ +export enum OpenDataConversionFoodPropertiesFoodUnitBaseUnitEnum { + G = 'G', + Kg = 'KG', + Ml = 'ML', + L = 'L', + Ounce = 'OUNCE', + Pound = 'POUND', + FluidOunce = 'FLUID_OUNCE', + Tsp = 'TSP', + Tbsp = 'TBSP', + Cup = 'CUP', + Pint = 'PINT', + Quart = 'QUART', + Gallon = 'GALLON', + ImperialFluidOunce = 'IMPERIAL_FLUID_OUNCE', + ImperialPint = 'IMPERIAL_PINT', + ImperialQuart = 'IMPERIAL_QUART', + ImperialGallon = 'IMPERIAL_GALLON' +} +/** + * @export + * @enum {string} + */ +export enum OpenDataConversionFoodPropertiesFoodUnitTypeEnum { + Weight = 'WEIGHT', + Volume = 'VOLUME', + Other = 'OTHER' +} + +/** + * + * @export + * @interface OpenDataConversionFoodProperty + */ +export interface OpenDataConversionFoodProperty { + /** + * + * @type {number} + * @memberof OpenDataConversionFoodProperty + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataConversionFoodProperty + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperty + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperty + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperty + */ + unit?: string; + /** + * + * @type {number} + * @memberof OpenDataConversionFoodProperty + */ + fdc_id?: number | null; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperty + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataConversionFoodProperty + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataFood + */ +export interface OpenDataFood { + /** + * + * @type {number} + * @memberof OpenDataFood + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataFood + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + plural_name: string; + /** + * + * @type {OpenDataStoreCategory} + * @memberof OpenDataFood + */ + store_category: OpenDataStoreCategory; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataFood + */ + preferred_unit_metric?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataFood + */ + preferred_shopping_unit_metric?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataFood + */ + preferred_unit_imperial?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {OpenDataConversionFoodPreferredUnitMetric} + * @memberof OpenDataFood + */ + preferred_shopping_unit_imperial?: OpenDataConversionFoodPreferredUnitMetric | null; + /** + * + * @type {Array} + * @memberof OpenDataFood + */ + properties: Array | null; + /** + * + * @type {number} + * @memberof OpenDataFood + */ + properties_food_amount?: number; + /** + * + * @type {OpenDataConversionFoodPropertiesFoodUnit} + * @memberof OpenDataFood + */ + properties_food_unit: OpenDataConversionFoodPropertiesFoodUnit; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + properties_source?: string; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + fdc_id: string; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataFood + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataProperty + */ +export interface OpenDataProperty { + /** + * + * @type {number} + * @memberof OpenDataProperty + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataProperty + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataProperty + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataProperty + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataProperty + */ + unit?: string; + /** + * + * @type {number} + * @memberof OpenDataProperty + */ + fdc_id?: number | null; + /** + * + * @type {string} + * @memberof OpenDataProperty + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataProperty + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataStore + */ +export interface OpenDataStore { + /** + * + * @type {number} + * @memberof OpenDataStore + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataStore + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataStore + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataStore + */ + name: string; + /** + * + * @type {Array} + * @memberof OpenDataStore + */ + category_to_store: Array | null; + /** + * + * @type {string} + * @memberof OpenDataStore + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataStore + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataStoreCategory + */ +export interface OpenDataStoreCategory { + /** + * + * @type {number} + * @memberof OpenDataStoreCategory + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataStoreCategory + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataStoreCategory + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataStoreCategory + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataStoreCategory + */ + description?: string; + /** + * + * @type {string} + * @memberof OpenDataStoreCategory + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataStoreCategory + */ + created_by?: string; +} +/** + * + * @export + * @interface OpenDataStoreCategoryToStore + */ +export interface OpenDataStoreCategoryToStore { + /** + * + * @type {number} + * @memberof OpenDataStoreCategoryToStore + */ + id?: number; + /** + * + * @type {OpenDataStoreCategory} + * @memberof OpenDataStoreCategoryToStore + */ + category: OpenDataStoreCategory; + /** + * + * @type {number} + * @memberof OpenDataStoreCategoryToStore + */ + store: number; + /** + * + * @type {number} + * @memberof OpenDataStoreCategoryToStore + */ + order?: number; +} +/** + * + * @export + * @interface OpenDataUnit + */ +export interface OpenDataUnit { + /** + * + * @type {number} + * @memberof OpenDataUnit + */ + id?: number; + /** + * + * @type {OpenDataUnitVersion} + * @memberof OpenDataUnit + */ + version: OpenDataUnitVersion; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + slug: string; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + plural_name?: string; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + base_unit?: OpenDataUnitBaseUnitEnum; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + type: OpenDataUnitTypeEnum; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + comment?: string; + /** + * + * @type {string} + * @memberof OpenDataUnit + */ + created_by?: string; +} + +/** + * @export + * @enum {string} + */ +export enum OpenDataUnitBaseUnitEnum { + G = 'G', + Kg = 'KG', + Ml = 'ML', + L = 'L', + Ounce = 'OUNCE', + Pound = 'POUND', + FluidOunce = 'FLUID_OUNCE', + Tsp = 'TSP', + Tbsp = 'TBSP', + Cup = 'CUP', + Pint = 'PINT', + Quart = 'QUART', + Gallon = 'GALLON', + ImperialFluidOunce = 'IMPERIAL_FLUID_OUNCE', + ImperialPint = 'IMPERIAL_PINT', + ImperialQuart = 'IMPERIAL_QUART', + ImperialGallon = 'IMPERIAL_GALLON' +} +/** + * @export + * @enum {string} + */ +export enum OpenDataUnitTypeEnum { + Weight = 'WEIGHT', + Volume = 'VOLUME', + Other = 'OTHER' +} + +/** + * + * @export + * @interface OpenDataUnitVersion + */ +export interface OpenDataUnitVersion { + /** + * + * @type {number} + * @memberof OpenDataUnitVersion + */ + id?: number; + /** + * + * @type {string} + * @memberof OpenDataUnitVersion + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataUnitVersion + */ + code: string; + /** + * + * @type {string} + * @memberof OpenDataUnitVersion + */ + comment?: string; +} +/** + * + * @export + * @interface OpenDataVersion + */ +export interface OpenDataVersion { + /** + * + * @type {number} + * @memberof OpenDataVersion + */ + id?: number; + /** + * + * @type {string} + * @memberof OpenDataVersion + */ + name: string; + /** + * + * @type {string} + * @memberof OpenDataVersion + */ + code: string; + /** + * + * @type {string} + * @memberof OpenDataVersion + */ + comment?: string; +} +/** + * * @export * @interface Property */ export interface Property { /** - * + * * @type {number} * @memberof Property */ id?: number; /** - * + * * @type {string} * @memberof Property */ property_amount: string | null; /** - * + * * @type {FoodPropertyType} * @memberof Property */ property_type: FoodPropertyType; } /** - * + * * @export * @interface PropertyType */ export interface PropertyType { /** - * + * * @type {number} * @memberof PropertyType */ id?: number; /** - * + * * @type {string} * @memberof PropertyType */ name: string; /** - * + * * @type {string} * @memberof PropertyType */ unit?: string | null; /** - * + * * @type {string} * @memberof PropertyType */ description?: string | null; /** - * + * * @type {number} * @memberof PropertyType */ order?: number; /** - * + * * @type {string} * @memberof PropertyType */ open_data_slug?: string | null; /** - * + * * @type {number} * @memberof PropertyType */ fdc_id?: number | null; } /** - * + * * @export * @interface Recipe */ export interface Recipe { /** - * + * * @type {number} * @memberof Recipe */ id?: number; /** - * + * * @type {string} * @memberof Recipe */ name: string; /** - * + * * @type {string} * @memberof Recipe */ description?: string | null; /** - * + * * @type {any} * @memberof Recipe */ image?: any | null; /** - * + * * @type {Array} * @memberof Recipe */ keywords?: Array; /** - * + * * @type {Array} * @memberof Recipe */ steps: Array; /** - * + * * @type {number} * @memberof Recipe */ working_time?: number; /** - * + * * @type {number} * @memberof Recipe */ waiting_time?: number; /** - * + * * @type {string} * @memberof Recipe */ created_by?: string; /** - * + * * @type {string} * @memberof Recipe */ created_at?: string; /** - * + * * @type {string} * @memberof Recipe */ updated_at?: string; /** - * + * * @type {string} * @memberof Recipe */ source_url?: string | null; /** - * + * * @type {boolean} * @memberof Recipe */ internal?: boolean; /** - * + * * @type {boolean} * @memberof Recipe */ show_ingredient_overview?: boolean; /** - * + * * @type {RecipeNutrition} * @memberof Recipe */ nutrition?: RecipeNutrition | null; /** - * + * * @type {Array} * @memberof Recipe */ properties?: Array; /** - * + * * @type {string} * @memberof Recipe */ food_properties?: string; /** - * + * * @type {number} * @memberof Recipe */ servings?: number; /** - * + * * @type {string} * @memberof Recipe */ file_path?: string; /** - * + * * @type {string} * @memberof Recipe */ servings_text?: string; /** - * + * * @type {string} * @memberof Recipe */ rating?: string | null; /** - * + * * @type {string} * @memberof Recipe */ last_cooked?: string | null; /** - * + * * @type {boolean} * @memberof Recipe */ _private?: boolean; /** - * + * * @type {Array} * @memberof Recipe */ shared?: Array; } /** - * + * * @export * @interface RecipeBook */ export interface RecipeBook { /** - * + * * @type {number} * @memberof RecipeBook */ id?: number; /** - * + * * @type {string} * @memberof RecipeBook */ name: string; /** - * + * * @type {string} * @memberof RecipeBook */ description?: string; /** - * + * * @type {Array} * @memberof RecipeBook */ shared: Array; /** - * + * * @type {string} * @memberof RecipeBook */ created_by?: string; /** - * + * * @type {RecipeBookFilter} * @memberof RecipeBook */ filter?: RecipeBookFilter | null; /** - * + * * @type {number} * @memberof RecipeBook */ order?: number; } /** - * + * * @export * @interface RecipeBookEntry */ export interface RecipeBookEntry { /** - * + * * @type {number} * @memberof RecipeBookEntry */ id?: number; /** - * + * * @type {number} * @memberof RecipeBookEntry */ book: number; /** - * + * * @type {string} * @memberof RecipeBookEntry */ book_content?: string; /** - * + * * @type {number} * @memberof RecipeBookEntry */ recipe: number; /** - * + * * @type {string} * @memberof RecipeBookEntry */ recipe_content?: string; } /** - * + * * @export * @interface RecipeBookFilter */ export interface RecipeBookFilter { /** - * + * * @type {number} * @memberof RecipeBookFilter */ id?: number; /** - * + * * @type {string} * @memberof RecipeBookFilter */ name: string; /** - * + * * @type {string} * @memberof RecipeBookFilter */ search: string; /** - * + * * @type {Array} * @memberof RecipeBookFilter */ shared?: Array; /** - * + * * @type {string} * @memberof RecipeBookFilter */ created_by?: string; } /** - * + * * @export * @interface RecipeFile */ export interface RecipeFile { /** - * + * * @type {number} * @memberof RecipeFile */ id?: number; /** - * + * * @type {string} * @memberof RecipeFile */ name: string; /** - * + * * @type {string} * @memberof RecipeFile */ file_download?: string; /** - * + * * @type {string} * @memberof RecipeFile */ preview?: string; } /** - * + * + * @export + * @interface RecipeFlat + */ +export interface RecipeFlat { + /** + * + * @type {number} + * @memberof RecipeFlat + */ + id?: number; + /** + * + * @type {string} + * @memberof RecipeFlat + */ + name: string; + /** + * + * @type {any} + * @memberof RecipeFlat + */ + image?: any | null; +} +/** + * * @export * @interface RecipeImage */ export interface RecipeImage { /** - * + * * @type {any} * @memberof RecipeImage */ image?: any | null; /** - * + * * @type {string} * @memberof RecipeImage */ image_url?: string | null; } /** - * + * * @export * @interface RecipeIngredients */ export interface RecipeIngredients { /** - * + * * @type {number} * @memberof RecipeIngredients */ id?: number; /** - * + * * @type {IngredientFood} * @memberof RecipeIngredients */ food: IngredientFood | null; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof RecipeIngredients */ unit: FoodPropertiesFoodUnit | null; /** - * + * * @type {string} * @memberof RecipeIngredients */ amount: string; /** - * + * * @type {string} * @memberof RecipeIngredients */ conversions?: string; /** - * + * * @type {string} * @memberof RecipeIngredients */ note?: string | null; /** - * + * * @type {number} * @memberof RecipeIngredients */ order?: number; /** - * + * * @type {boolean} * @memberof RecipeIngredients */ is_header?: boolean; /** - * + * * @type {boolean} * @memberof RecipeIngredients */ no_amount?: boolean; /** - * + * * @type {string} * @memberof RecipeIngredients */ original_text?: string | null; /** - * + * * @type {string} * @memberof RecipeIngredients */ used_in_recipes?: string; /** - * + * * @type {boolean} * @memberof RecipeIngredients */ always_use_plural_unit?: boolean; /** - * + * * @type {boolean} * @memberof RecipeIngredients */ always_use_plural_food?: boolean; } /** - * + * * @export * @interface RecipeKeywords */ export interface RecipeKeywords { /** - * + * * @type {number} * @memberof RecipeKeywords */ id?: number; /** - * + * * @type {string} * @memberof RecipeKeywords */ name: string; /** - * + * * @type {string} * @memberof RecipeKeywords */ label?: string; /** - * + * * @type {string} * @memberof RecipeKeywords */ description?: string; /** - * + * * @type {string} * @memberof RecipeKeywords */ parent?: string; /** - * + * * @type {number} * @memberof RecipeKeywords */ numchild?: number; /** - * + * * @type {string} * @memberof RecipeKeywords */ created_at?: string; /** - * + * * @type {string} * @memberof RecipeKeywords */ updated_at?: string; /** - * + * * @type {string} * @memberof RecipeKeywords */ full_name?: string; } /** - * + * * @export * @interface RecipeNutrition */ export interface RecipeNutrition { /** - * + * * @type {number} * @memberof RecipeNutrition */ id?: number; /** - * + * * @type {string} * @memberof RecipeNutrition */ carbohydrates: string; /** - * + * * @type {string} * @memberof RecipeNutrition */ fats: string; /** - * + * * @type {string} * @memberof RecipeNutrition */ proteins: string; /** - * + * * @type {string} * @memberof RecipeNutrition */ calories: string; /** - * + * * @type {string} * @memberof RecipeNutrition */ source?: string | null; } /** - * + * * @export * @interface RecipeOverview */ export interface RecipeOverview { /** - * + * * @type {number} * @memberof RecipeOverview */ id?: number; /** - * + * * @type {string} * @memberof RecipeOverview */ name: string; /** - * + * * @type {string} * @memberof RecipeOverview */ description?: string | null; /** - * + * * @type {any} * @memberof RecipeOverview */ image?: any | null; /** - * + * * @type {Array} * @memberof RecipeOverview */ keywords: Array; /** - * + * * @type {number} * @memberof RecipeOverview */ working_time?: number; /** - * + * * @type {number} * @memberof RecipeOverview */ waiting_time?: number; /** - * + * * @type {string} * @memberof RecipeOverview */ created_by?: string; /** - * + * * @type {string} * @memberof RecipeOverview */ created_at?: string; /** - * + * * @type {string} * @memberof RecipeOverview */ updated_at?: string; /** - * + * * @type {boolean} * @memberof RecipeOverview */ internal?: boolean; /** - * + * * @type {number} * @memberof RecipeOverview */ servings?: number; /** - * + * * @type {string} * @memberof RecipeOverview */ servings_text?: string; /** - * + * * @type {string} * @memberof RecipeOverview */ rating?: string | null; /** - * + * * @type {string} * @memberof RecipeOverview */ last_cooked?: string | null; /** - * + * * @type {string} * @memberof RecipeOverview */ _new?: string; /** - * + * * @type {string} * @memberof RecipeOverview */ recent?: string; } /** - * + * * @export * @interface RecipeShoppingUpdate */ export interface RecipeShoppingUpdate { /** - * + * * @type {number} * @memberof RecipeShoppingUpdate */ @@ -2881,728 +3973,685 @@ export interface RecipeShoppingUpdate { servings?: number | null; } /** - * + * * @export * @interface RecipeSimple */ export interface RecipeSimple { /** - * + * * @type {number} * @memberof RecipeSimple */ id?: number; /** - * + * * @type {string} * @memberof RecipeSimple */ name: string; /** - * + * * @type {string} * @memberof RecipeSimple */ url?: string; } /** - * + * * @export * @interface RecipeSteps */ export interface RecipeSteps { /** - * + * * @type {number} * @memberof RecipeSteps */ id?: number; /** - * + * * @type {string} * @memberof RecipeSteps */ name?: string; /** - * + * * @type {string} * @memberof RecipeSteps */ instruction?: string; /** - * + * * @type {Array} * @memberof RecipeSteps */ ingredients: Array; /** - * + * * @type {string} * @memberof RecipeSteps */ instructions_markdown?: string; /** - * - * @type {string} - * @memberof RecipeSteps - */ - ingredients_vue?: string; - /** - * + * * @type {number} * @memberof RecipeSteps */ time?: number; /** - * + * * @type {number} * @memberof RecipeSteps */ order?: number; /** - * + * * @type {boolean} * @memberof RecipeSteps */ show_as_header?: boolean; /** - * + * * @type {RecipeFile} * @memberof RecipeSteps */ file?: RecipeFile | null; /** - * + * * @type {number} * @memberof RecipeSteps */ step_recipe?: number | null; /** - * + * * @type {string} * @memberof RecipeSteps */ step_recipe_data?: string; /** - * + * * @type {string} * @memberof RecipeSteps */ numrecipe?: string; /** - * + * * @type {boolean} * @memberof RecipeSteps */ show_ingredients_table?: boolean; } /** - * + * * @export * @interface ShoppingList */ export interface ShoppingList { /** - * + * * @type {number} * @memberof ShoppingList */ id?: number; /** - * + * * @type {string} * @memberof ShoppingList */ uuid?: string; /** - * + * * @type {string} * @memberof ShoppingList */ note?: string | null; /** - * + * * @type {Array} * @memberof ShoppingList */ recipes: Array | null; /** - * + * * @type {Array} * @memberof ShoppingList */ entries: Array | null; /** - * + * * @type {Array} * @memberof ShoppingList */ shared: Array; /** - * + * * @type {boolean} * @memberof ShoppingList */ finished?: boolean; /** - * + * * @type {ShoppingListSupermarket} * @memberof ShoppingList */ supermarket: ShoppingListSupermarket | null; /** - * + * * @type {string} * @memberof ShoppingList */ created_by?: string; /** - * + * * @type {string} * @memberof ShoppingList */ created_at?: string; } /** - * - * @export - * @interface ShoppingListCreatedBy - */ -export interface ShoppingListCreatedBy { - /** - * - * @type {number} - * @memberof ShoppingListCreatedBy - */ - id?: number; - /** - * Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. - * @type {string} - * @memberof ShoppingListCreatedBy - */ - username?: string; - /** - * - * @type {string} - * @memberof ShoppingListCreatedBy - */ - first_name?: string; - /** - * - * @type {string} - * @memberof ShoppingListCreatedBy - */ - last_name?: string; - /** - * - * @type {string} - * @memberof ShoppingListCreatedBy - */ - display_name?: string; -} -/** - * + * * @export * @interface ShoppingListEntries */ export interface ShoppingListEntries { /** - * + * * @type {number} * @memberof ShoppingListEntries */ id?: number; /** - * + * * @type {number} * @memberof ShoppingListEntries */ list_recipe?: number | null; /** - * + * * @type {IngredientFood} * @memberof ShoppingListEntries */ food: IngredientFood | null; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof ShoppingListEntries */ unit?: FoodPropertiesFoodUnit | null; /** - * + * * @type {string} * @memberof ShoppingListEntries */ amount: string; /** - * + * * @type {number} * @memberof ShoppingListEntries */ order?: number; /** - * + * * @type {boolean} * @memberof ShoppingListEntries */ checked?: boolean; /** - * + * * @type {ShoppingListRecipeMealplan} * @memberof ShoppingListEntries */ recipe_mealplan?: ShoppingListRecipeMealplan; /** - * - * @type {ShoppingListCreatedBy} + * + * @type {CookLogCreatedBy} * @memberof ShoppingListEntries */ - created_by?: ShoppingListCreatedBy; + created_by?: CookLogCreatedBy; /** - * + * * @type {string} * @memberof ShoppingListEntries */ created_at?: string; /** - * + * * @type {string} * @memberof ShoppingListEntries */ updated_at?: string; /** - * + * * @type {string} * @memberof ShoppingListEntries */ completed_at?: string | null; /** - * + * * @type {string} * @memberof ShoppingListEntries */ delay_until?: string | null; } /** - * + * * @export * @interface ShoppingListEntry */ export interface ShoppingListEntry { /** - * + * * @type {number} * @memberof ShoppingListEntry */ id?: number; /** - * + * * @type {number} * @memberof ShoppingListEntry */ list_recipe?: number | null; /** - * + * * @type {IngredientFood} * @memberof ShoppingListEntry */ food: IngredientFood | null; /** - * + * * @type {FoodPropertiesFoodUnit} * @memberof ShoppingListEntry */ unit?: FoodPropertiesFoodUnit | null; /** - * + * * @type {string} * @memberof ShoppingListEntry */ amount: string; /** - * + * * @type {number} * @memberof ShoppingListEntry */ order?: number; /** - * + * * @type {boolean} * @memberof ShoppingListEntry */ checked?: boolean; /** - * + * * @type {ShoppingListRecipeMealplan} * @memberof ShoppingListEntry */ recipe_mealplan?: ShoppingListRecipeMealplan; /** - * - * @type {ShoppingListCreatedBy} + * + * @type {CookLogCreatedBy} * @memberof ShoppingListEntry */ - created_by?: ShoppingListCreatedBy; + created_by?: CookLogCreatedBy; /** - * + * * @type {string} * @memberof ShoppingListEntry */ created_at?: string; /** - * + * * @type {string} * @memberof ShoppingListEntry */ updated_at?: string; /** - * + * * @type {string} * @memberof ShoppingListEntry */ completed_at?: string | null; /** - * + * * @type {string} * @memberof ShoppingListEntry */ delay_until?: string | null; } /** - * + * * @export * @interface ShoppingListEntryBulk */ export interface ShoppingListEntryBulk { /** - * + * * @type {Array} * @memberof ShoppingListEntryBulk */ ids: Array; /** - * + * * @type {boolean} * @memberof ShoppingListEntryBulk */ checked: boolean; } /** - * + * * @export * @interface ShoppingListRecipe */ export interface ShoppingListRecipe { /** - * + * * @type {number} * @memberof ShoppingListRecipe */ id?: number; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ recipe_name?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ name?: string; /** - * + * * @type {number} * @memberof ShoppingListRecipe */ recipe?: number | null; /** - * + * * @type {number} * @memberof ShoppingListRecipe */ mealplan?: number | null; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ servings: string; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ mealplan_note?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ mealplan_from_date?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipe */ mealplan_type?: string; } /** - * + * * @export * @interface ShoppingListRecipeMealplan */ export interface ShoppingListRecipeMealplan { /** - * + * * @type {number} * @memberof ShoppingListRecipeMealplan */ id?: number; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ recipe_name?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ name?: string; /** - * + * * @type {number} * @memberof ShoppingListRecipeMealplan */ recipe?: number | null; /** - * + * * @type {number} * @memberof ShoppingListRecipeMealplan */ mealplan?: number | null; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ servings: string; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ mealplan_note?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ mealplan_from_date?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipeMealplan */ mealplan_type?: string; } /** - * + * * @export * @interface ShoppingListRecipes */ export interface ShoppingListRecipes { /** - * + * * @type {number} * @memberof ShoppingListRecipes */ id?: number; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ recipe_name?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ name?: string; /** - * + * * @type {number} * @memberof ShoppingListRecipes */ recipe?: number | null; /** - * + * * @type {number} * @memberof ShoppingListRecipes */ mealplan?: number | null; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ servings: string; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ mealplan_note?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ mealplan_from_date?: string; /** - * + * * @type {string} * @memberof ShoppingListRecipes */ mealplan_type?: string; } /** - * + * * @export * @interface ShoppingListSupermarket */ export interface ShoppingListSupermarket { /** - * + * * @type {number} * @memberof ShoppingListSupermarket */ id?: number; /** - * + * * @type {string} * @memberof ShoppingListSupermarket */ name: string; /** - * + * * @type {string} * @memberof ShoppingListSupermarket */ description?: string | null; /** - * + * * @type {Array} * @memberof ShoppingListSupermarket */ category_to_supermarket?: Array; /** - * + * * @type {string} * @memberof ShoppingListSupermarket */ open_data_slug?: string | null; } /** - * + * * @export * @interface ShoppingListSupermarketCategory */ export interface ShoppingListSupermarketCategory { /** - * + * * @type {number} * @memberof ShoppingListSupermarketCategory */ id?: number; /** - * + * * @type {string} * @memberof ShoppingListSupermarketCategory */ name: string; /** - * + * * @type {string} * @memberof ShoppingListSupermarketCategory */ description?: string | null; } /** - * + * * @export * @interface ShoppingListSupermarketCategoryToSupermarket */ export interface ShoppingListSupermarketCategoryToSupermarket { /** - * + * * @type {number} * @memberof ShoppingListSupermarketCategoryToSupermarket */ id?: number; /** - * + * * @type {ShoppingListSupermarketCategory} * @memberof ShoppingListSupermarketCategoryToSupermarket */ category: ShoppingListSupermarketCategory; /** - * + * * @type {number} * @memberof ShoppingListSupermarketCategoryToSupermarket */ supermarket: number; /** - * + * * @type {number} * @memberof ShoppingListSupermarketCategoryToSupermarket */ order?: number; } /** - * + * * @export * @interface Space */ export interface Space { /** - * + * * @type {number} * @memberof Space */ id?: number; /** - * + * * @type {string} * @memberof Space */ name?: string; /** - * + * * @type {string} * @memberof Space */ created_by?: string | null; /** - * + * * @type {string} * @memberof Space */ created_at?: string; /** - * + * * @type {string} * @memberof Space */ message?: string; /** - * + * * @type {number} * @memberof Space */ @@ -3614,121 +4663,121 @@ export interface Space { */ max_file_storage_mb?: number; /** - * + * * @type {number} * @memberof Space */ max_users?: number; /** - * + * * @type {boolean} * @memberof Space */ allow_sharing?: boolean; /** - * + * * @type {boolean} * @memberof Space */ demo?: boolean; /** - * + * * @type {Array} * @memberof Space */ food_inherit: Array; /** - * + * * @type {string} * @memberof Space */ user_count?: string; /** - * + * * @type {string} * @memberof Space */ recipe_count?: string; /** - * + * * @type {string} * @memberof Space */ file_size_mb?: string; /** - * + * * @type {RecipeFile} * @memberof Space */ image?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ nav_logo?: RecipeFile | null; /** - * + * * @type {string} * @memberof Space */ space_theme?: SpaceSpaceThemeEnum; /** - * + * * @type {RecipeFile} * @memberof Space */ custom_space_theme?: RecipeFile | null; /** - * + * * @type {string} * @memberof Space */ nav_bg_color?: string; /** - * + * * @type {string} * @memberof Space */ nav_text_color?: SpaceNavTextColorEnum; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_32?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_128?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_144?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_180?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_192?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ logo_color_512?: RecipeFile | null; /** - * + * * @type {RecipeFile} * @memberof Space */ @@ -3759,140 +4808,134 @@ export enum SpaceNavTextColorEnum { } /** - * + * * @export * @interface Step */ export interface Step { /** - * + * * @type {number} * @memberof Step */ id?: number; /** - * + * * @type {string} * @memberof Step */ name?: string; /** - * + * * @type {string} * @memberof Step */ instruction?: string; /** - * + * * @type {Array} * @memberof Step */ ingredients: Array; /** - * + * * @type {string} * @memberof Step */ instructions_markdown?: string; /** - * - * @type {string} - * @memberof Step - */ - ingredients_vue?: string; - /** - * + * * @type {number} * @memberof Step */ time?: number; /** - * + * * @type {number} * @memberof Step */ order?: number; /** - * + * * @type {boolean} * @memberof Step */ show_as_header?: boolean; /** - * + * * @type {RecipeFile} * @memberof Step */ file?: RecipeFile | null; /** - * + * * @type {number} * @memberof Step */ step_recipe?: number | null; /** - * + * * @type {string} * @memberof Step */ step_recipe_data?: string; /** - * + * * @type {string} * @memberof Step */ numrecipe?: string; /** - * + * * @type {boolean} * @memberof Step */ show_ingredients_table?: boolean; } /** - * + * * @export * @interface Storage */ export interface Storage { /** - * + * * @type {number} * @memberof Storage */ id?: number; /** - * + * * @type {string} * @memberof Storage */ name: string; /** - * + * * @type {string} * @memberof Storage */ method?: StorageMethodEnum; /** - * + * * @type {string} * @memberof Storage */ username?: string | null; /** - * + * * @type {string} * @memberof Storage */ password?: string | null; /** - * + * * @type {string} * @memberof Storage */ token?: string | null; /** - * + * * @type {string} * @memberof Storage */ @@ -3910,333 +4953,333 @@ export enum StorageMethodEnum { } /** - * + * * @export * @interface Supermarket */ export interface Supermarket { /** - * + * * @type {number} * @memberof Supermarket */ id?: number; /** - * + * * @type {string} * @memberof Supermarket */ name: string; /** - * + * * @type {string} * @memberof Supermarket */ description?: string | null; /** - * + * * @type {Array} * @memberof Supermarket */ category_to_supermarket?: Array; /** - * + * * @type {string} * @memberof Supermarket */ open_data_slug?: string | null; } /** - * + * * @export * @interface SupermarketCategory */ export interface SupermarketCategory { /** - * + * * @type {number} * @memberof SupermarketCategory */ id?: number; /** - * + * * @type {string} * @memberof SupermarketCategory */ name: string; /** - * + * * @type {string} * @memberof SupermarketCategory */ description?: string | null; } /** - * + * * @export * @interface SupermarketCategoryRelation */ export interface SupermarketCategoryRelation { /** - * + * * @type {number} * @memberof SupermarketCategoryRelation */ id?: number; /** - * + * * @type {ShoppingListSupermarketCategory} * @memberof SupermarketCategoryRelation */ category: ShoppingListSupermarketCategory; /** - * + * * @type {number} * @memberof SupermarketCategoryRelation */ supermarket: number; /** - * + * * @type {number} * @memberof SupermarketCategoryRelation */ order?: number; } /** - * + * * @export * @interface Sync */ export interface Sync { /** - * + * * @type {number} * @memberof Sync */ id?: number; /** - * + * * @type {number} * @memberof Sync */ storage: number; /** - * + * * @type {string} * @memberof Sync */ path?: string; /** - * + * * @type {boolean} * @memberof Sync */ active?: boolean; /** - * + * * @type {string} * @memberof Sync */ last_checked?: string | null; /** - * + * * @type {string} * @memberof Sync */ created_at?: string; /** - * + * * @type {string} * @memberof Sync */ updated_at?: string; } /** - * + * * @export * @interface SyncLog */ export interface SyncLog { /** - * + * * @type {number} * @memberof SyncLog */ id?: number; /** - * + * * @type {number} * @memberof SyncLog */ sync: number; /** - * + * * @type {string} * @memberof SyncLog */ status: string; /** - * + * * @type {string} * @memberof SyncLog */ msg?: string; /** - * + * * @type {string} * @memberof SyncLog */ created_at?: string; } /** - * + * * @export * @interface Unit */ export interface Unit { /** - * + * * @type {number} * @memberof Unit */ id?: number; /** - * + * * @type {string} * @memberof Unit */ name: string; /** - * + * * @type {string} * @memberof Unit */ plural_name?: string | null; /** - * + * * @type {string} * @memberof Unit */ description?: string | null; /** - * + * * @type {string} * @memberof Unit */ base_unit?: string | null; /** - * + * * @type {string} * @memberof Unit */ open_data_slug?: string | null; } /** - * + * * @export * @interface UnitConversion */ export interface UnitConversion { /** - * + * * @type {number} * @memberof UnitConversion */ id?: number; /** - * + * * @type {string} * @memberof UnitConversion */ name?: string; /** - * + * * @type {string} * @memberof UnitConversion */ base_amount: string; /** - * + * * @type {UnitConversionBaseUnit} * @memberof UnitConversion */ base_unit: UnitConversionBaseUnit; /** - * + * * @type {string} * @memberof UnitConversion */ converted_amount: string; /** - * + * * @type {UnitConversionBaseUnit} * @memberof UnitConversion */ converted_unit: UnitConversionBaseUnit; /** - * + * * @type {IngredientFood} * @memberof UnitConversion */ food?: IngredientFood | null; /** - * + * * @type {string} * @memberof UnitConversion */ open_data_slug?: string | null; } /** - * + * * @export * @interface UnitConversionBaseUnit */ export interface UnitConversionBaseUnit { /** - * + * * @type {number} * @memberof UnitConversionBaseUnit */ id?: number; /** - * + * * @type {string} * @memberof UnitConversionBaseUnit */ name: string; /** - * + * * @type {string} * @memberof UnitConversionBaseUnit */ plural_name?: string | null; /** - * + * * @type {string} * @memberof UnitConversionBaseUnit */ description?: string | null; /** - * + * * @type {string} * @memberof UnitConversionBaseUnit */ base_unit?: string | null; /** - * + * * @type {string} * @memberof UnitConversionBaseUnit */ open_data_slug?: string | null; } /** - * + * * @export * @interface User */ export interface User { /** - * + * * @type {number} * @memberof User */ @@ -4248,243 +5291,243 @@ export interface User { */ username?: string; /** - * + * * @type {string} * @memberof User */ first_name?: string; /** - * + * * @type {string} * @memberof User */ last_name?: string; /** - * + * * @type {string} * @memberof User */ display_name?: string; } /** - * + * * @export * @interface UserFile */ export interface UserFile { /** - * + * * @type {number} * @memberof UserFile */ id?: number; /** - * + * * @type {string} * @memberof UserFile */ name: string; /** - * + * * @type {any} * @memberof UserFile */ file: any; /** - * + * * @type {string} * @memberof UserFile */ file_download?: string; /** - * + * * @type {string} * @memberof UserFile */ preview?: string; /** - * + * * @type {number} * @memberof UserFile */ file_size_kb?: number; } /** - * + * * @export * @interface UserPreference */ export interface UserPreference { /** - * + * * @type {number} * @memberof UserPreference */ user: number; /** - * + * * @type {RecipeFile} * @memberof UserPreference */ image?: RecipeFile | null; /** - * + * * @type {string} * @memberof UserPreference */ theme?: UserPreferenceThemeEnum; /** - * + * * @type {string} * @memberof UserPreference */ nav_bg_color?: string; /** - * + * * @type {string} * @memberof UserPreference */ nav_text_color?: UserPreferenceNavTextColorEnum; /** - * + * * @type {boolean} * @memberof UserPreference */ nav_show_logo?: boolean; /** - * + * * @type {string} * @memberof UserPreference */ default_unit?: string; /** - * + * * @type {string} * @memberof UserPreference */ default_page?: UserPreferenceDefaultPageEnum; /** - * + * * @type {boolean} * @memberof UserPreference */ use_fractions?: boolean; /** - * + * * @type {boolean} * @memberof UserPreference */ use_kj?: boolean; /** - * + * * @type {Array} * @memberof UserPreference */ plan_share?: Array | null; /** - * + * * @type {boolean} * @memberof UserPreference */ nav_sticky?: boolean; /** - * + * * @type {number} * @memberof UserPreference */ ingredient_decimals?: number; /** - * + * * @type {boolean} * @memberof UserPreference */ comments?: boolean; /** - * + * * @type {number} * @memberof UserPreference */ shopping_auto_sync?: number; /** - * + * * @type {boolean} * @memberof UserPreference */ mealplan_autoadd_shopping?: boolean; /** - * + * * @type {string} * @memberof UserPreference */ food_inherit_default?: string; /** - * + * * @type {string} * @memberof UserPreference */ default_delay?: string; /** - * + * * @type {boolean} * @memberof UserPreference */ mealplan_autoinclude_related?: boolean; /** - * + * * @type {boolean} * @memberof UserPreference */ mealplan_autoexclude_onhand?: boolean; /** - * + * * @type {Array} * @memberof UserPreference */ shopping_share?: Array | null; /** - * + * * @type {number} * @memberof UserPreference */ shopping_recent_days?: number; /** - * + * * @type {string} * @memberof UserPreference */ csv_delim?: string; /** - * + * * @type {string} * @memberof UserPreference */ csv_prefix?: string; /** - * + * * @type {boolean} * @memberof UserPreference */ filter_to_supermarket?: boolean; /** - * + * * @type {boolean} * @memberof UserPreference */ shopping_add_onhand?: boolean; /** - * + * * @type {boolean} * @memberof UserPreference */ left_handed?: boolean; /** - * + * * @type {boolean} * @memberof UserPreference */ show_step_ingredients?: boolean; /** - * + * * @type {string} * @memberof UserPreference */ @@ -4522,92 +5565,92 @@ export enum UserPreferenceDefaultPageEnum { } /** - * + * * @export * @interface UserSpace */ export interface UserSpace { /** - * + * * @type {number} * @memberof UserSpace */ id?: number; /** - * - * @type {ShoppingListCreatedBy} + * + * @type {CookLogCreatedBy} * @memberof UserSpace */ - user?: ShoppingListCreatedBy; + user?: CookLogCreatedBy; /** - * + * * @type {string} * @memberof UserSpace */ space?: string; /** - * + * * @type {Array} * @memberof UserSpace */ groups: Array; /** - * + * * @type {boolean} * @memberof UserSpace */ active?: boolean; /** - * + * * @type {string} * @memberof UserSpace */ internal_note?: string | null; /** - * + * * @type {string} * @memberof UserSpace */ invite_link?: string | null; /** - * + * * @type {string} * @memberof UserSpace */ created_at?: string; /** - * + * * @type {string} * @memberof UserSpace */ updated_at?: string; } /** - * + * * @export * @interface ViewLog */ export interface ViewLog { /** - * + * * @type {number} * @memberof ViewLog */ id?: number; /** - * + * * @type {number} * @memberof ViewLog */ recipe: number; /** - * + * * @type {string} * @memberof ViewLog */ created_by?: string; /** - * + * * @type {string} * @memberof ViewLog */ @@ -4621,8 +5664,8 @@ export interface ViewLog { export const ApiApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] + * + * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4640,7 +5683,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4654,8 +5697,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {AccessToken} [accessToken] + * + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4673,7 +5716,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4687,8 +5730,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4706,7 +5749,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4720,8 +5763,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Automation} [automation] + * + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4739,7 +5782,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4753,8 +5796,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {BookmarkletImport} [bookmarkletImport] + * + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4772,7 +5815,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4786,8 +5829,41 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {CookLog} [cookLog] + * + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createConnectorConfig: async (connectorConfigConfig?: ConnectorConfigConfig, options: any = {}): Promise => { + const localVarPath = `/api/connector-config/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(connectorConfigConfig, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4805,7 +5881,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4819,8 +5895,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {CustomFilter} [customFilter] + * + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4838,7 +5914,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4852,8 +5928,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ExportLog} [exportLog] + * + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4871,7 +5947,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4885,8 +5961,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Food} [food] + * + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4904,7 +5980,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4918,8 +5994,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ImportLog} [importLog] + * + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4937,7 +6013,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4951,8 +6027,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Ingredient} [ingredient] + * + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -4970,7 +6046,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -4984,8 +6060,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {InviteLink} [inviteLink] + * + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5003,7 +6079,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5017,8 +6093,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Keyword} [keyword] + * + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5036,7 +6112,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5050,8 +6126,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {MealPlan} [mealPlan] + * + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5069,7 +6145,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5084,7 +6160,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }, /** * returns list of meal types created by the requesting user ordered by the order field. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5102,7 +6178,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5116,8 +6192,239 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Property} [property] + * + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataCategory: async (openDataCategory?: OpenDataCategory, options: any = {}): Promise => { + const localVarPath = `/api/open-data-category/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataCategory, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataConversion: async (openDataConversion?: OpenDataConversion, options: any = {}): Promise => { + const localVarPath = `/api/open-data-conversion/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataConversion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataFood: async (openDataFood?: OpenDataFood, options: any = {}): Promise => { + const localVarPath = `/api/open-data-food/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataFood, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataProperty: async (openDataProperty?: OpenDataProperty, options: any = {}): Promise => { + const localVarPath = `/api/open-data-property/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataProperty, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataStore: async (openDataStore?: OpenDataStore, options: any = {}): Promise => { + const localVarPath = `/api/open-data-store/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataStore, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataUnit: async (openDataUnit?: OpenDataUnit, options: any = {}): Promise => { + const localVarPath = `/api/open-data-unit/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataUnit, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataVersion: async (openDataVersion?: OpenDataVersion, options: any = {}): Promise => { + const localVarPath = `/api/open-data-version/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataVersion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5135,7 +6442,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5149,8 +6456,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {PropertyType} [propertyType] + * + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5168,7 +6475,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5182,8 +6489,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Recipe} [recipe] + * + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5201,7 +6508,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5215,8 +6522,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {RecipeBook} [recipeBook] + * + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5234,7 +6541,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5248,8 +6555,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {RecipeBookEntry} [recipeBookEntry] + * + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5267,7 +6574,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5282,7 +6589,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }, /** * function to retrieve a recipe from a given url or source string :param request: standard request with additional post parameters - url: url to use for importing recipe - data: if no url is given recipe is imported from provided source data - (optional) bookmarklet: id of bookmarklet import to use, overrides URL and data attributes :return: JsonResponse containing the parsed json and images - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5300,7 +6607,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5314,8 +6621,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ShoppingList} [shoppingList] + * + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5333,7 +6640,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5347,8 +6654,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ShoppingListEntry} [shoppingListEntry] + * + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5366,7 +6673,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5380,8 +6687,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ShoppingListRecipe} [shoppingListRecipe] + * + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5399,7 +6706,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5413,8 +6720,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Step} [step] + * + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5432,7 +6739,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5446,8 +6753,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Storage} [storage] + * + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5465,7 +6772,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5479,8 +6786,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Supermarket} [supermarket] + * + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5498,7 +6805,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5512,8 +6819,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {SupermarketCategory} [supermarketCategory] + * + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5531,7 +6838,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5545,8 +6852,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5564,7 +6871,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5578,8 +6885,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Sync} [sync] + * + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5597,7 +6904,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5611,8 +6918,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {Unit} [unit] + * + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5630,7 +6937,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5644,8 +6951,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {UnitConversion} [unitConversion] + * + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5663,7 +6970,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5677,13 +6984,13 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {string} name - * @param {any} file - * @param {number} [id] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * + * @param {string} name + * @param {any} file + * @param {number} [id] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5706,33 +7013,33 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); - if (id !== undefined) { + if (id !== undefined) { localVarFormParams.append('id', id as any); } - - if (name !== undefined) { + + if (name !== undefined) { localVarFormParams.append('name', name as any); } - - if (file !== undefined) { + + if (file !== undefined) { localVarFormParams.append('file', file as any); } - - if (fileDownload !== undefined) { + + if (fileDownload !== undefined) { localVarFormParams.append('file_download', fileDownload as any); } - - if (preview !== undefined) { + + if (preview !== undefined) { localVarFormParams.append('preview', preview as any); } - - if (fileSizeKb !== undefined) { + + if (fileSizeKb !== undefined) { localVarFormParams.append('file_size_kb', fileSizeKb as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5744,8 +7051,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {ViewLog} [viewLog] + * + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5763,7 +7070,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5778,7 +7085,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }, /** * function to handle files passed by application importer - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5796,7 +7103,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -5810,7 +7117,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5832,7 +7139,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5843,7 +7150,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5865,7 +7172,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5876,7 +7183,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5898,7 +7205,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5909,7 +7216,40 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyConnectorConfig: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyConnectorConfig', 'id', id) + const localVarPath = `/api/connector-config/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5931,7 +7271,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5942,7 +7282,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5964,7 +7304,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -5975,7 +7315,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -5997,7 +7337,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6008,7 +7348,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6030,7 +7370,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6041,7 +7381,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6063,7 +7403,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6074,7 +7414,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6096,7 +7436,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6107,7 +7447,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6129,7 +7469,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6140,7 +7480,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6162,7 +7502,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6173,7 +7513,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6195,7 +7535,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6228,7 +7568,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6239,7 +7579,238 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataCategory: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataCategory', 'id', id) + const localVarPath = `/api/open-data-category/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataConversion: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataConversion', 'id', id) + const localVarPath = `/api/open-data-conversion/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataFood: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataFood', 'id', id) + const localVarPath = `/api/open-data-food/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataProperty: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataProperty', 'id', id) + const localVarPath = `/api/open-data-property/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataStore: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataStore', 'id', id) + const localVarPath = `/api/open-data-store/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataUnit: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataUnit', 'id', id) + const localVarPath = `/api/open-data-unit/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataVersion: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('destroyOpenDataVersion', 'id', id) + const localVarPath = `/api/open-data-version/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6261,7 +7832,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6272,7 +7843,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6294,7 +7865,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6305,7 +7876,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6327,7 +7898,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6338,7 +7909,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6360,7 +7931,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6371,7 +7942,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6393,7 +7964,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6404,7 +7975,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6426,7 +7997,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6437,7 +8008,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6459,7 +8030,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6470,7 +8041,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6492,7 +8063,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6503,7 +8074,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6525,7 +8096,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6536,7 +8107,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6558,7 +8129,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6569,7 +8140,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6591,7 +8162,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6602,7 +8173,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6624,7 +8195,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6635,7 +8206,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6657,7 +8228,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6668,7 +8239,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6690,7 +8261,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6701,7 +8272,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6723,7 +8294,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6734,7 +8305,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6756,7 +8327,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6767,7 +8338,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6789,7 +8360,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6800,7 +8371,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6822,7 +8393,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6833,7 +8404,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6855,7 +8426,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6868,7 +8439,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) /** * updates the food with all possible data from the FDC Api if properties with a fdc_id already exist they will be overridden, if existing properties don\'t have a fdc_id they won\'t be changed * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6889,7 +8460,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -6903,10 +8474,39 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + flatRecipe: async (options: any = {}): Promise => { + const localVarPath = `/api/recipe/flat/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this recipe. - * @param {any} [image] - * @param {string} [imageUrl] + * @param {any} [image] + * @param {string} [imageUrl] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6928,17 +8528,17 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); - if (image !== undefined) { + if (image !== undefined) { localVarFormParams.append('image', image as any); } - - if (imageUrl !== undefined) { + + if (imageUrl !== undefined) { localVarFormParams.append('image_url', imageUrl as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6950,7 +8550,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6968,7 +8568,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6979,14 +8579,11 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * optional parameters - **automation_type**: Return the Automations matching the automation type. Multiple values allowed. *Automation Types:* - FS: Food Alias - UA: Unit Alias - KA: Keyword Alias - DR: Description Replace - IR: Instruction Replace - NU: Never Unit - TW: Transpose Words - FR: Food Replace - UR: Unit Replace - NR: Name Replace - * @param {string} [automationType] Return the Automations matching the automation type. Multiple values allowed. - * @param {number} [page] A page number within the paginated result set. - * @param {number} [pageSize] Number of results to return per page. + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listAutomations: async (automationType?: string, page?: number, pageSize?: number, options: any = {}): Promise => { + listAutomations: async (options: any = {}): Promise => { const localVarPath = `/api/automation/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -6999,20 +8596,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - if (automationType !== undefined) { - localVarQueryParameter['automation_type'] = automationType; - } - - if (page !== undefined) { - localVarQueryParameter['page'] = page; - } - - if (pageSize !== undefined) { - localVarQueryParameter['page_size'] = pageSize; - } - setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7023,7 +8608,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7041,7 +8626,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7052,7 +8637,36 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listConnectorConfigs: async (options: any = {}): Promise => { + const localVarPath = `/api/connector-config/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -7080,7 +8694,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7091,13 +8705,11 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {number} [page] A page number within the paginated result set. - * @param {number} [pageSize] Number of results to return per page. + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listCustomFilters: async (page?: number, pageSize?: number, options: any = {}): Promise => { + listCustomFilters: async (options: any = {}): Promise => { const localVarPath = `/api/custom-filter/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7110,16 +8722,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - if (page !== undefined) { - localVarQueryParameter['page'] = page; - } - - if (pageSize !== undefined) { - localVarQueryParameter['page_size'] = pageSize; - } - setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7130,7 +8734,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -7158,7 +8762,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7169,7 +8773,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7187,7 +8791,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7198,7 +8802,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against food name. * @param {number} [root] Return first level children of food with ID [int]. Integer 0 will return root foods. * @param {number} [tree] Return all self and children of food with ID [int]. @@ -7241,7 +8845,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7252,7 +8856,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7270,7 +8874,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7281,7 +8885,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -7309,7 +8913,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7320,7 +8924,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -7348,7 +8952,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7359,7 +8963,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7377,7 +8981,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7388,7 +8992,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against keyword name. * @param {number} [root] Return first level children of keyword with ID [int]. Integer 0 will return root keywords. * @param {number} [tree] Return all self and children of keyword with ID [int]. @@ -7431,7 +9035,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7475,7 +9079,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7504,7 +9108,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7515,7 +9119,239 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataCategorys: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-category/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataConversions: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-conversion/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataFoods: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-food/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataPropertys: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-property/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataStatisticsViewSets: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-stats/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataStores: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-store/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataUnits: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-unit/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataVersions: async (options: any = {}): Promise => { + const localVarPath = `/api/open-data-version/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7533,7 +9369,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7544,7 +9380,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7562,7 +9398,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7591,7 +9427,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7602,7 +9438,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7620,7 +9456,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7631,7 +9467,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched (fuzzy) against recipe name. In the future also fulltext search. * @param {number} [keywords] ID of keyword a recipe should have. For multiple repeat parameter. Equivalent to keywords_or * @param {number} [keywordsOr] Keyword IDs, repeat for multiple. Return recipes with any of the keywords @@ -7769,18 +9605,45 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['cookedon'] = cookedon; } - if (createdon !== undefined) { - localVarQueryParameter['createdon'] = createdon; + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * optional parameters - **automation_type**: Return the Automations matching the automation type. Multiple values allowed. *Automation Types:* - FS: Food Alias - UA: Unit Alias - KA: Keyword Alias - DR: Description Replace - IR: Instruction Replace - NU: Never Unit - TW: Transpose Words - FR: Food Replace - UR: Unit Replace - NR: Name Replace + * @param {string} [automationType] Return the Automations matching the automation type. Multiple values allowed. + * @param {number} [page] A page number within the paginated result set. + * @param {number} [pageSize] Number of results to return per page. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listAutomations: async (automationType?: string, page?: number, pageSize?: number, options: any = {}): Promise => { + const localVarPath = `/api/automation/`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; } if (updatedon !== undefined) { localVarQueryParameter['updatedon'] = updatedon; } - if (viewedon !== undefined) { - localVarQueryParameter['viewedon'] = viewedon; + if (automationType !== undefined) { + localVarQueryParameter['automation_type'] = automationType; } + if (page !== undefined) { + localVarQueryParameter['page'] = page; + } + + if (pageSize !== undefined) { + localVarQueryParameter['page_size'] = pageSize; + } + + if (makenow !== undefined) { localVarQueryParameter['makenow'] = makenow; } @@ -7794,7 +9657,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7805,9 +9668,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [id] Returns the shopping list entry with a primary key of id. Multiple values allowed. - * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. + * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. * @param {number} [supermarket] Returns the shopping list entries sorted by supermarket category order. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -7838,7 +9701,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7849,12 +9712,14 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {number} [page] A page number within the paginated result set. + * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listShoppingListRecipes: async (options: any = {}): Promise => { - const localVarPath = `/api/shopping-list-recipe/`; + listCustomFilters: async (page?: number, pageSize?: number, options: any = {}): Promise => { + const localVarPath = `/api/custom-filter/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -7866,8 +9731,16 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (page !== undefined) { + localVarQueryParameter['page'] = page; + } + + if (pageSize !== undefined) { + localVarQueryParameter['page_size'] = pageSize; + } + + - setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7878,7 +9751,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7896,7 +9769,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7907,7 +9780,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7925,7 +9798,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7936,7 +9809,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [recipe] ID of recipe a step is part of. For multiple repeat parameter. * @param {string} [query] Query string matched (fuzzy) against object name. * @param {number} [page] A page number within the paginated result set. @@ -7974,7 +9847,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7985,7 +9858,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8003,7 +9876,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8014,7 +9887,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -8042,7 +9915,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8053,7 +9926,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against supermarket-category name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -8076,7 +9949,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8087,7 +9960,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against supermarket name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -8110,7 +9983,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8121,7 +9994,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -8149,7 +10022,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8160,7 +10033,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8178,7 +10051,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8189,7 +10062,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [foodId] ID of food to filter for * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -8212,7 +10085,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8223,7 +10096,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against unit name. * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. @@ -8256,7 +10129,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8267,7 +10140,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} [query] Query string matched against user-file name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -8290,7 +10163,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8301,7 +10174,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8319,7 +10192,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8330,7 +10203,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -8358,7 +10231,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8387,7 +10260,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8398,9 +10271,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {number} [page] A page number within the paginated result set. - * @param {number} [pageSize] Number of results to return per page. + * + * @param {number} [id] Returns the shopping list entry with a primary key of id. Multiple values allowed. + * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. + * @param {number} [supermarket] Returns the shopping list entries sorted by supermarket category order. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8426,7 +10300,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) } - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8455,7 +10329,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8466,10 +10340,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} target - * @param {Food} [food] + * @param {string} target + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8493,7 +10367,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8507,10 +10381,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} target - * @param {Keyword} [keyword] + * @param {string} target + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8534,7 +10408,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8548,10 +10422,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {string} target - * @param {SupermarketCategory} [supermarketCategory] + * @param {string} target + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8575,7 +10449,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8589,10 +10463,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {string} target - * @param {Unit} [unit] + * @param {string} target + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8616,7 +10490,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8630,10 +10504,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} parent - * @param {Food} [food] + * @param {string} parent + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8657,7 +10531,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8671,10 +10545,10 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} parent - * @param {Keyword} [keyword] + * @param {string} parent + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8698,7 +10572,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8712,9 +10586,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8735,7 +10609,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8749,9 +10623,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8772,7 +10646,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8786,9 +10660,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8809,7 +10683,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8823,9 +10697,46 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateConnectorConfig: async (id: string, connectorConfigConfig?: ConnectorConfigConfig, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateConnectorConfig', 'id', id) + const localVarPath = `/api/connector-config/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(connectorConfigConfig, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8846,7 +10757,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8860,9 +10771,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8883,7 +10794,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8897,9 +10808,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8920,7 +10831,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8934,9 +10845,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8957,7 +10868,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -8971,9 +10882,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8994,7 +10905,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9008,9 +10919,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9031,7 +10942,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9045,9 +10956,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9068,7 +10979,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9082,9 +10993,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9105,7 +11016,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9119,9 +11030,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9142,7 +11053,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9158,7 +11069,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9179,7 +11090,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9193,9 +11104,268 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataCategory: async (id: string, openDataCategory?: OpenDataCategory, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataCategory', 'id', id) + const localVarPath = `/api/open-data-category/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataCategory, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataConversion: async (id: string, openDataConversion?: OpenDataConversion, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataConversion', 'id', id) + const localVarPath = `/api/open-data-conversion/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataConversion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataFood: async (id: string, openDataFood?: OpenDataFood, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataFood', 'id', id) + const localVarPath = `/api/open-data-food/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataFood, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataProperty: async (id: string, openDataProperty?: OpenDataProperty, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataProperty', 'id', id) + const localVarPath = `/api/open-data-property/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataProperty, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataStore: async (id: string, openDataStore?: OpenDataStore, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataStore', 'id', id) + const localVarPath = `/api/open-data-store/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataStore, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataUnit: async (id: string, openDataUnit?: OpenDataUnit, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataUnit', 'id', id) + const localVarPath = `/api/open-data-unit/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataUnit, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataVersion: async (id: string, openDataVersion?: OpenDataVersion, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('partialUpdateOpenDataVersion', 'id', id) + const localVarPath = `/api/open-data-version/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataVersion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9216,7 +11386,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9230,9 +11400,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9253,7 +11423,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9267,9 +11437,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9290,7 +11460,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9304,9 +11474,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9327,7 +11497,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9341,9 +11511,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9364,7 +11534,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9378,9 +11548,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9401,7 +11571,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9415,9 +11585,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9438,7 +11608,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9452,9 +11622,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9475,7 +11645,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9489,9 +11659,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this space. - * @param {Space} [space] + * @param {Space} [space] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9512,7 +11682,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9526,9 +11696,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9549,7 +11719,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9563,9 +11733,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9586,7 +11756,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9600,9 +11770,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9623,7 +11793,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9637,9 +11807,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9660,7 +11830,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9674,9 +11844,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9697,7 +11867,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9711,9 +11881,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9734,7 +11904,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9748,9 +11918,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9771,7 +11941,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9785,9 +11955,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9808,7 +11978,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9822,9 +11992,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user. - * @param {User} [user] + * @param {User} [user] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9845,7 +12015,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9859,14 +12029,14 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9892,33 +12062,33 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); - if (id2 !== undefined) { + if (id2 !== undefined) { localVarFormParams.append('id', id2 as any); } - - if (name !== undefined) { + + if (name !== undefined) { localVarFormParams.append('name', name as any); } - - if (file !== undefined) { + + if (file !== undefined) { localVarFormParams.append('file', file as any); } - - if (fileDownload !== undefined) { + + if (fileDownload !== undefined) { localVarFormParams.append('file_download', fileDownload as any); } - - if (preview !== undefined) { + + if (preview !== undefined) { localVarFormParams.append('preview', preview as any); } - - if (fileSizeKb !== undefined) { + + if (fileSizeKb !== undefined) { localVarFormParams.append('file_size_kb', fileSizeKb as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9930,9 +12100,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} user A unique value identifying this user preference. - * @param {UserPreference} [userPreference] + * @param {UserPreference} [userPreference] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9953,7 +12123,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -9967,9 +12137,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user space. - * @param {UserSpace} [userSpace] + * @param {UserSpace} [userSpace] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9990,7 +12160,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -10004,9 +12174,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -10027,7 +12197,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -10041,7 +12211,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10063,7 +12233,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10074,7 +12244,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10096,7 +12266,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10107,7 +12277,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10129,7 +12299,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10140,7 +12310,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10162,7 +12332,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10173,7 +12343,40 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveConnectorConfig: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveConnectorConfig', 'id', id) + const localVarPath = `/api/connector-config/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10195,7 +12398,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10206,7 +12409,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10228,7 +12431,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10239,7 +12442,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10261,7 +12464,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10272,7 +12475,40 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveFDCViewSet: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveFDCViewSet', 'id', id) + const localVarPath = `/api/open-data-FDC/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10294,7 +12530,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10305,7 +12541,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food inherit field. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10327,7 +12563,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10338,7 +12574,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this group. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10360,7 +12596,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10371,7 +12607,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10393,7 +12629,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10404,7 +12640,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10426,7 +12662,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10437,7 +12673,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10459,7 +12695,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10470,7 +12706,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10492,7 +12728,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10503,7 +12739,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10525,7 +12761,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10558,7 +12794,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10569,7 +12805,238 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataCategory: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataCategory', 'id', id) + const localVarPath = `/api/open-data-category/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataConversion: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataConversion', 'id', id) + const localVarPath = `/api/open-data-conversion/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataFood: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataFood', 'id', id) + const localVarPath = `/api/open-data-food/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataProperty: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataProperty', 'id', id) + const localVarPath = `/api/open-data-property/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataStore: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataStore', 'id', id) + const localVarPath = `/api/open-data-store/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataUnit: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataUnit', 'id', id) + const localVarPath = `/api/open-data-unit/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataVersion: async (id: string, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('retrieveOpenDataVersion', 'id', id) + const localVarPath = `/api/open-data-version/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10591,7 +13058,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10602,7 +13069,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10624,7 +13091,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10635,7 +13102,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10657,7 +13124,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10668,7 +13135,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10690,7 +13157,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10701,7 +13168,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10723,7 +13190,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10734,7 +13201,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10756,7 +13223,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10767,7 +13234,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10789,7 +13256,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10800,7 +13267,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10822,7 +13289,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10833,7 +13300,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10855,7 +13322,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10866,7 +13333,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10888,7 +13355,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10899,7 +13366,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10921,7 +13388,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10932,7 +13399,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10954,7 +13421,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10965,7 +13432,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10987,7 +13454,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10998,7 +13465,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11020,7 +13487,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11031,7 +13498,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11053,7 +13520,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11064,7 +13531,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this sync log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11086,7 +13553,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11097,7 +13564,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11119,7 +13586,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11130,7 +13597,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11152,7 +13619,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11163,7 +13630,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11185,7 +13652,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11196,7 +13663,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11218,7 +13685,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11229,7 +13696,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} user A unique value identifying this user preference. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11251,7 +13718,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11262,7 +13729,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11284,7 +13751,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11295,7 +13762,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -11317,7 +13784,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11329,7 +13796,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }, /** * function to download a user file securely (wrapping as zip to prevent any context based XSS problems) temporary solution until a real file manager is implemented - * @param {string} fileId + * @param {string} fileId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11350,7 +13817,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11361,8 +13828,8 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * - * @param {string} id + * + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11383,7 +13850,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11395,7 +13862,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }, /** * api endpoint to switch space function - * @param {string} spaceId + * @param {string} spaceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11416,7 +13883,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11427,9 +13894,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {FoodShoppingUpdate} [foodShoppingUpdate] + * @param {FoodShoppingUpdate} [foodShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11450,7 +13917,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11464,9 +13931,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] + * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11487,7 +13954,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11501,9 +13968,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11524,7 +13991,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11538,9 +14005,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11561,7 +14028,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11575,9 +14042,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11598,7 +14065,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11612,9 +14079,46 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateConnectorConfig: async (id: string, connectorConfigConfig?: ConnectorConfigConfig, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateConnectorConfig', 'id', id) + const localVarPath = `/api/connector-config/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(connectorConfigConfig, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11635,7 +14139,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11649,9 +14153,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11672,7 +14176,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11686,9 +14190,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11709,7 +14213,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11723,9 +14227,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11746,7 +14250,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11760,9 +14264,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11783,7 +14287,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11797,9 +14301,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11820,7 +14324,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11834,9 +14338,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11857,7 +14361,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11871,9 +14375,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11894,7 +14398,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11908,9 +14412,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11931,7 +14435,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11947,7 +14451,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11968,7 +14472,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -11982,9 +14486,268 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataCategory: async (id: string, openDataCategory?: OpenDataCategory, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataCategory', 'id', id) + const localVarPath = `/api/open-data-category/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataCategory, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataConversion: async (id: string, openDataConversion?: OpenDataConversion, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataConversion', 'id', id) + const localVarPath = `/api/open-data-conversion/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataConversion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataFood: async (id: string, openDataFood?: OpenDataFood, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataFood', 'id', id) + const localVarPath = `/api/open-data-food/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataFood, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataProperty: async (id: string, openDataProperty?: OpenDataProperty, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataProperty', 'id', id) + const localVarPath = `/api/open-data-property/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataProperty, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataStore: async (id: string, openDataStore?: OpenDataStore, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataStore', 'id', id) + const localVarPath = `/api/open-data-store/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataStore, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataUnit: async (id: string, openDataUnit?: OpenDataUnit, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataUnit', 'id', id) + const localVarPath = `/api/open-data-unit/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataUnit, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataVersion: async (id: string, openDataVersion?: OpenDataVersion, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('updateOpenDataVersion', 'id', id) + const localVarPath = `/api/open-data-version/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(openDataVersion, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12005,7 +14768,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12019,9 +14782,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12042,7 +14805,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12056,9 +14819,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12079,7 +14842,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12093,9 +14856,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12116,7 +14879,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12130,9 +14893,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12153,7 +14916,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12167,9 +14930,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12190,7 +14953,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12204,9 +14967,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12227,7 +14990,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12241,9 +15004,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12264,7 +15027,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12278,9 +15041,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12301,7 +15064,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12315,9 +15078,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12338,7 +15101,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12352,9 +15115,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12375,7 +15138,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12389,9 +15152,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12412,7 +15175,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12426,9 +15189,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12449,7 +15212,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12463,9 +15226,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12486,7 +15249,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12500,9 +15263,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12523,7 +15286,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12537,9 +15300,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12560,7 +15323,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12574,14 +15337,14 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12607,33 +15370,33 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); - if (id2 !== undefined) { + if (id2 !== undefined) { localVarFormParams.append('id', id2 as any); } - - if (name !== undefined) { + + if (name !== undefined) { localVarFormParams.append('name', name as any); } - - if (file !== undefined) { + + if (file !== undefined) { localVarFormParams.append('file', file as any); } - - if (fileDownload !== undefined) { + + if (fileDownload !== undefined) { localVarFormParams.append('file_download', fileDownload as any); } - - if (preview !== undefined) { + + if (preview !== undefined) { localVarFormParams.append('preview', preview as any); } - - if (fileSizeKb !== undefined) { + + if (fileSizeKb !== undefined) { localVarFormParams.append('file_size_kb', fileSizeKb as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12645,9 +15408,9 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12668,7 +15431,7 @@ export const ApiApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -12692,8 +15455,8 @@ export const ApiApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ApiApiAxiosParamCreator(configuration) return { /** - * - * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] + * + * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12702,8 +15465,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {AccessToken} [accessToken] + * + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12712,8 +15475,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12722,8 +15485,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Automation} [automation] + * + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12732,8 +15495,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {BookmarkletImport} [bookmarkletImport] + * + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12742,8 +15505,18 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {CookLog} [cookLog] + * + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createConnectorConfig(connectorConfigConfig?: ConnectorConfigConfig, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createConnectorConfig(connectorConfigConfig, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12752,8 +15525,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {CustomFilter} [customFilter] + * + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12762,8 +15535,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ExportLog} [exportLog] + * + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12772,8 +15545,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Food} [food] + * + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12782,8 +15555,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ImportLog} [importLog] + * + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12792,8 +15565,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Ingredient} [ingredient] + * + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12802,8 +15575,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {InviteLink} [inviteLink] + * + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12812,8 +15585,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Keyword} [keyword] + * + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12822,8 +15595,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {MealPlan} [mealPlan] + * + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12833,7 +15606,7 @@ export const ApiApiFp = function(configuration?: Configuration) { }, /** * returns list of meal types created by the requesting user ordered by the order field. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12842,8 +15615,78 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Property} [property] + * + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataCategory(openDataCategory?: OpenDataCategory, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataCategory(openDataCategory, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataConversion(openDataConversion?: OpenDataConversion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataConversion(openDataConversion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataFood(openDataFood?: OpenDataFood, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataFood(openDataFood, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataProperty(openDataProperty?: OpenDataProperty, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataProperty(openDataProperty, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataStore(openDataStore?: OpenDataStore, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataStore(openDataStore, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataUnit(openDataUnit?: OpenDataUnit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataUnit(openDataUnit, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createOpenDataVersion(openDataVersion?: OpenDataVersion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createOpenDataVersion(openDataVersion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12852,8 +15695,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {PropertyType} [propertyType] + * + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12862,8 +15705,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Recipe} [recipe] + * + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12872,8 +15715,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {RecipeBook} [recipeBook] + * + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12882,8 +15725,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {RecipeBookEntry} [recipeBookEntry] + * + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12893,7 +15736,7 @@ export const ApiApiFp = function(configuration?: Configuration) { }, /** * function to retrieve a recipe from a given url or source string :param request: standard request with additional post parameters - url: url to use for importing recipe - data: if no url is given recipe is imported from provided source data - (optional) bookmarklet: id of bookmarklet import to use, overrides URL and data attributes :return: JsonResponse containing the parsed json and images - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12902,8 +15745,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ShoppingList} [shoppingList] + * + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12912,8 +15755,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ShoppingListEntry} [shoppingListEntry] + * + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12922,8 +15765,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ShoppingListRecipe} [shoppingListRecipe] + * + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12932,8 +15775,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Step} [step] + * + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12942,8 +15785,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Storage} [storage] + * + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12952,8 +15795,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Supermarket} [supermarket] + * + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12962,8 +15805,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {SupermarketCategory} [supermarketCategory] + * + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12972,8 +15815,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12982,8 +15825,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Sync} [sync] + * + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12992,8 +15835,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {Unit} [unit] + * + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13002,8 +15845,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {UnitConversion} [unitConversion] + * + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13012,13 +15855,13 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {string} name - * @param {any} file - * @param {number} [id] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * + * @param {string} name + * @param {any} file + * @param {number} [id] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13027,8 +15870,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {ViewLog} [viewLog] + * + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13038,7 +15881,7 @@ export const ApiApiFp = function(configuration?: Configuration) { }, /** * function to handle files passed by application importer - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13047,7 +15890,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13057,7 +15900,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13067,7 +15910,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13077,7 +15920,17 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyConnectorConfig(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyConnectorConfig(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13087,7 +15940,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13097,7 +15950,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13107,7 +15960,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13117,7 +15970,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13127,7 +15980,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13137,7 +15990,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13147,7 +16000,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13157,7 +16010,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13177,7 +16030,77 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataCategory(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataCategory(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataConversion(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataConversion(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataFood(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataFood(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataProperty(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataProperty(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataStore(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataStore(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataUnit(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataUnit(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async destroyOpenDataVersion(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.destroyOpenDataVersion(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13187,7 +16110,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13197,7 +16120,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13207,7 +16130,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13217,7 +16140,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13227,7 +16150,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13237,7 +16160,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13247,7 +16170,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13257,7 +16180,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13267,7 +16190,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13277,7 +16200,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13287,7 +16210,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13297,7 +16220,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13307,7 +16230,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13317,7 +16240,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13327,7 +16250,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13337,7 +16260,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13347,7 +16270,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13357,7 +16280,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13369,7 +16292,7 @@ export const ApiApiFp = function(configuration?: Configuration) { /** * updates the food with all possible data from the FDC Api if properties with a fdc_id already exist they will be overridden, if existing properties don\'t have a fdc_id they won\'t be changed * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13378,10 +16301,19 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async flatRecipe(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.flatRecipe(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this recipe. - * @param {any} [image] - * @param {string} [imageUrl] + * @param {any} [image] + * @param {string} [imageUrl] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13390,7 +16322,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13411,7 +16343,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13420,7 +16352,16 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listConnectorConfigs(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listConnectorConfigs(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13431,7 +16372,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13442,7 +16383,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13453,7 +16394,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13462,7 +16403,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against food name. * @param {number} [root] Return first level children of food with ID [int]. Integer 0 will return root foods. * @param {number} [tree] Return all self and children of food with ID [int]. @@ -13476,7 +16417,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13485,7 +16426,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13496,7 +16437,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13507,7 +16448,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13516,7 +16457,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against keyword name. * @param {number} [root] Return first level children of keyword with ID [int]. Integer 0 will return root keywords. * @param {number} [tree] Return all self and children of keyword with ID [int]. @@ -13551,7 +16492,79 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataCategorys(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataCategorys(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataConversions(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataConversions(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataFoods(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataFoods(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataPropertys(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataPropertys(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataStatisticsViewSets(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataStatisticsViewSets(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataStores(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataStores(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataUnits(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataUnits(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listOpenDataVersions(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listOpenDataVersions(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13560,7 +16573,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13578,7 +16591,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13587,7 +16600,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched (fuzzy) against recipe name. In the future also fulltext search. * @param {number} [keywords] ID of keyword a recipe should have. For multiple repeat parameter. Equivalent to keywords_or * @param {number} [keywordsOr] Keyword IDs, repeat for multiple. Return recipes with any of the keywords @@ -13625,7 +16638,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [id] Returns the shopping list entry with a primary key of id. Multiple values allowed. * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. * @param {number} [supermarket] Returns the shopping list entries sorted by supermarket category order. @@ -13637,7 +16650,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13646,7 +16659,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13655,7 +16668,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13664,7 +16677,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [recipe] ID of recipe a step is part of. For multiple repeat parameter. * @param {string} [query] Query string matched (fuzzy) against object name. * @param {number} [page] A page number within the paginated result set. @@ -13677,7 +16690,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13686,7 +16699,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13697,7 +16710,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against supermarket-category name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13707,7 +16720,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against supermarket name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13717,7 +16730,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13728,7 +16741,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13737,7 +16750,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [foodId] ID of food to filter for * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13747,7 +16760,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against unit name. * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. @@ -13759,7 +16772,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} [query] Query string matched against user-file name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13769,7 +16782,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13778,7 +16791,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13798,7 +16811,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -13818,10 +16831,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} target - * @param {Food} [food] + * @param {string} target + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13830,10 +16843,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} target - * @param {Keyword} [keyword] + * @param {string} target + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13842,10 +16855,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {string} target - * @param {SupermarketCategory} [supermarketCategory] + * @param {string} target + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13854,10 +16867,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {string} target - * @param {Unit} [unit] + * @param {string} target + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13866,10 +16879,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} parent - * @param {Food} [food] + * @param {string} parent + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13878,10 +16891,10 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} parent - * @param {Keyword} [keyword] + * @param {string} parent + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13890,9 +16903,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13901,9 +16914,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13912,9 +16925,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13923,9 +16936,20 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateConnectorConfig(id, connectorConfigConfig, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13934,9 +16958,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13945,9 +16969,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13956,9 +16980,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13967,9 +16991,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13978,9 +17002,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13989,9 +17013,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14000,9 +17024,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14011,9 +17035,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14024,7 +17048,7 @@ export const ApiApiFp = function(configuration?: Configuration) { /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14033,9 +17057,86 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataCategory(id, openDataCategory, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataConversion(id, openDataConversion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataFood(id, openDataFood, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataProperty(id, openDataProperty, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataStore(id, openDataStore, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataUnit(id, openDataUnit, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async partialUpdateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.partialUpdateOpenDataVersion(id, openDataVersion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14044,9 +17145,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14055,9 +17156,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14066,9 +17167,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14077,9 +17178,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14088,9 +17189,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14099,9 +17200,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14110,9 +17211,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14121,9 +17222,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this space. - * @param {Space} [space] + * @param {Space} [space] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14132,9 +17233,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14143,9 +17244,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14154,9 +17255,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14165,9 +17266,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14176,9 +17277,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14187,9 +17288,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14198,9 +17299,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14209,9 +17310,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14220,9 +17321,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user. - * @param {User} [user] + * @param {User} [user] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14231,14 +17332,14 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14247,9 +17348,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} user A unique value identifying this user preference. - * @param {UserPreference} [userPreference] + * @param {UserPreference} [userPreference] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14258,9 +17359,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user space. - * @param {UserSpace} [userSpace] + * @param {UserSpace} [userSpace] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14269,9 +17370,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14280,7 +17381,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14290,7 +17391,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14300,7 +17401,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14310,7 +17411,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14320,7 +17421,17 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveConnectorConfig(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveConnectorConfig(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14330,7 +17441,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14340,7 +17451,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14350,7 +17461,17 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveFDCViewSet(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveFDCViewSet(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14360,7 +17481,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food inherit field. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14370,7 +17491,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this group. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14380,7 +17501,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14390,7 +17511,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14400,7 +17521,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14410,7 +17531,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14420,7 +17541,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14440,7 +17561,77 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataCategory(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataCategory(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataConversion(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataConversion(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataFood(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataFood(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataProperty(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataProperty(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataStore(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataStore(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataUnit(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataUnit(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async retrieveOpenDataVersion(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveOpenDataVersion(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14450,7 +17641,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14460,7 +17651,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14470,7 +17661,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14480,7 +17671,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14490,7 +17681,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14500,7 +17691,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14510,7 +17701,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14520,7 +17711,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14530,7 +17721,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14540,7 +17731,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14550,7 +17741,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14560,7 +17751,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14570,7 +17761,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14580,7 +17771,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14590,7 +17781,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this sync log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14600,7 +17791,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14610,7 +17801,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14620,7 +17811,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14630,7 +17821,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14640,7 +17831,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} user A unique value identifying this user preference. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14650,7 +17841,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14660,7 +17851,7 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14671,7 +17862,7 @@ export const ApiApiFp = function(configuration?: Configuration) { }, /** * function to download a user file securely (wrapping as zip to prevent any context based XSS problems) temporary solution until a real file manager is implemented - * @param {string} fileId + * @param {string} fileId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14680,8 +17871,8 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * - * @param {string} id + * + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14691,7 +17882,7 @@ export const ApiApiFp = function(configuration?: Configuration) { }, /** * api endpoint to switch space function - * @param {string} spaceId + * @param {string} spaceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14700,9 +17891,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {FoodShoppingUpdate} [foodShoppingUpdate] + * @param {FoodShoppingUpdate} [foodShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14711,9 +17902,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] + * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14722,9 +17913,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14733,9 +17924,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14744,9 +17935,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14755,9 +17946,20 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateConnectorConfig(id, connectorConfigConfig, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14766,9 +17968,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14777,9 +17979,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14788,9 +17990,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14799,9 +18001,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14810,9 +18012,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14821,9 +18023,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14832,9 +18034,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14843,9 +18045,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14856,7 +18058,7 @@ export const ApiApiFp = function(configuration?: Configuration) { /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14865,9 +18067,86 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataCategory(id, openDataCategory, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataConversion(id, openDataConversion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataFood(id, openDataFood, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataProperty(id, openDataProperty, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataStore(id, openDataStore, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataUnit(id, openDataUnit, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateOpenDataVersion(id, openDataVersion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14876,9 +18155,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14887,9 +18166,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14898,9 +18177,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14909,9 +18188,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14920,9 +18199,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14931,9 +18210,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14942,9 +18221,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14953,9 +18232,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14964,9 +18243,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14975,9 +18254,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14986,9 +18265,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14997,9 +18276,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15008,9 +18287,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15019,9 +18298,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15030,9 +18309,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15041,14 +18320,14 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15057,9 +18336,9 @@ export const ApiApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15078,8 +18357,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: const localVarFp = ApiApiFp(configuration) return { /** - * - * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] + * + * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15087,8 +18366,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.bulkShoppingListEntry(shoppingListEntryBulk, options).then((request) => request(axios, basePath)); }, /** - * - * @param {AccessToken} [accessToken] + * + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15096,8 +18375,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createAccessToken(accessToken, options).then((request) => request(axios, basePath)); }, /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15105,8 +18384,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createAutoPlanViewSet(body, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Automation} [automation] + * + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15114,8 +18393,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createAutomation(automation, options).then((request) => request(axios, basePath)); }, /** - * - * @param {BookmarkletImport} [bookmarkletImport] + * + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15123,8 +18402,17 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createBookmarkletImport(bookmarkletImport, options).then((request) => request(axios, basePath)); }, /** - * - * @param {CookLog} [cookLog] + * + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createConnectorConfig(connectorConfigConfig?: ConnectorConfigConfig, options?: any): AxiosPromise { + return localVarFp.createConnectorConfig(connectorConfigConfig, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15132,8 +18420,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createCookLog(cookLog, options).then((request) => request(axios, basePath)); }, /** - * - * @param {CustomFilter} [customFilter] + * + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15141,8 +18429,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createCustomFilter(customFilter, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ExportLog} [exportLog] + * + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15150,8 +18438,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createExportLog(exportLog, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Food} [food] + * + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15159,8 +18447,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createFood(food, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ImportLog} [importLog] + * + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15168,8 +18456,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createImportLog(importLog, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Ingredient} [ingredient] + * + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15177,8 +18465,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createIngredient(ingredient, options).then((request) => request(axios, basePath)); }, /** - * - * @param {InviteLink} [inviteLink] + * + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15186,8 +18474,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createInviteLink(inviteLink, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Keyword} [keyword] + * + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15195,8 +18483,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createKeyword(keyword, options).then((request) => request(axios, basePath)); }, /** - * - * @param {MealPlan} [mealPlan] + * + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15205,7 +18493,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: }, /** * returns list of meal types created by the requesting user ordered by the order field. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15213,8 +18501,71 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createMealType(mealType, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Property} [property] + * + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataCategory(openDataCategory?: OpenDataCategory, options?: any): AxiosPromise { + return localVarFp.createOpenDataCategory(openDataCategory, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataConversion(openDataConversion?: OpenDataConversion, options?: any): AxiosPromise { + return localVarFp.createOpenDataConversion(openDataConversion, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataFood(openDataFood?: OpenDataFood, options?: any): AxiosPromise { + return localVarFp.createOpenDataFood(openDataFood, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataProperty(openDataProperty?: OpenDataProperty, options?: any): AxiosPromise { + return localVarFp.createOpenDataProperty(openDataProperty, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataStore(openDataStore?: OpenDataStore, options?: any): AxiosPromise { + return localVarFp.createOpenDataStore(openDataStore, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataUnit(openDataUnit?: OpenDataUnit, options?: any): AxiosPromise { + return localVarFp.createOpenDataUnit(openDataUnit, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createOpenDataVersion(openDataVersion?: OpenDataVersion, options?: any): AxiosPromise { + return localVarFp.createOpenDataVersion(openDataVersion, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15222,8 +18573,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createProperty(property, options).then((request) => request(axios, basePath)); }, /** - * - * @param {PropertyType} [propertyType] + * + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15231,8 +18582,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createPropertyType(propertyType, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Recipe} [recipe] + * + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15240,8 +18591,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createRecipe(recipe, options).then((request) => request(axios, basePath)); }, /** - * - * @param {RecipeBook} [recipeBook] + * + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15249,8 +18600,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createRecipeBook(recipeBook, options).then((request) => request(axios, basePath)); }, /** - * - * @param {RecipeBookEntry} [recipeBookEntry] + * + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15259,7 +18610,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: }, /** * function to retrieve a recipe from a given url or source string :param request: standard request with additional post parameters - url: url to use for importing recipe - data: if no url is given recipe is imported from provided source data - (optional) bookmarklet: id of bookmarklet import to use, overrides URL and data attributes :return: JsonResponse containing the parsed json and images - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15267,8 +18618,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createRecipeUrlImport(body, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ShoppingList} [shoppingList] + * + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15276,8 +18627,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createShoppingList(shoppingList, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ShoppingListEntry} [shoppingListEntry] + * + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15285,8 +18636,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createShoppingListEntry(shoppingListEntry, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ShoppingListRecipe} [shoppingListRecipe] + * + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15294,8 +18645,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createShoppingListRecipe(shoppingListRecipe, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Step} [step] + * + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15303,8 +18654,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createStep(step, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Storage} [storage] + * + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15312,8 +18663,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createStorage(storage, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Supermarket} [supermarket] + * + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15321,8 +18672,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createSupermarket(supermarket, options).then((request) => request(axios, basePath)); }, /** - * - * @param {SupermarketCategory} [supermarketCategory] + * + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15330,8 +18681,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createSupermarketCategory(supermarketCategory, options).then((request) => request(axios, basePath)); }, /** - * - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15339,8 +18690,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createSupermarketCategoryRelation(supermarketCategoryRelation, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Sync} [sync] + * + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15348,8 +18699,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createSync(sync, options).then((request) => request(axios, basePath)); }, /** - * - * @param {Unit} [unit] + * + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15357,8 +18708,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createUnit(unit, options).then((request) => request(axios, basePath)); }, /** - * - * @param {UnitConversion} [unitConversion] + * + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15366,13 +18717,13 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createUnitConversion(unitConversion, options).then((request) => request(axios, basePath)); }, /** - * - * @param {string} name - * @param {any} file - * @param {number} [id] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * + * @param {string} name + * @param {any} file + * @param {number} [id] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15380,8 +18731,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createUserFile(name, file, id, fileDownload, preview, fileSizeKb, options).then((request) => request(axios, basePath)); }, /** - * - * @param {ViewLog} [viewLog] + * + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15390,7 +18741,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: }, /** * function to handle files passed by application importer - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15398,7 +18749,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.createimportFiles(body, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15407,7 +18758,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyAccessToken(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15416,7 +18767,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyAutomation(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15425,7 +18776,16 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyBookmarkletImport(id, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyConnectorConfig(id: string, options?: any): AxiosPromise { + return localVarFp.destroyConnectorConfig(id, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15434,7 +18794,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyCookLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15443,7 +18803,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyCustomFilter(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15452,7 +18812,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyExportLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15461,7 +18821,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyFood(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15470,7 +18830,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyImportLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15479,7 +18839,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyIngredient(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15488,7 +18848,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyInviteLink(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15497,7 +18857,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyKeyword(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15515,7 +18875,70 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyMealType(id, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataCategory(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataCategory(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataConversion(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataConversion(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataFood(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataFood(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataProperty(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataProperty(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataStore(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataStore(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataUnit(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataUnit(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + destroyOpenDataVersion(id: string, options?: any): AxiosPromise { + return localVarFp.destroyOpenDataVersion(id, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15524,7 +18947,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyProperty(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15533,7 +18956,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyPropertyType(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15542,7 +18965,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyRecipe(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15551,7 +18974,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyRecipeBook(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15560,7 +18983,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyRecipeBookEntry(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15569,7 +18992,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyShoppingList(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15578,7 +19001,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyShoppingListEntry(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15587,7 +19010,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyShoppingListRecipe(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15596,7 +19019,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyStep(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15605,7 +19028,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyStorage(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15614,7 +19037,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroySupermarket(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15623,7 +19046,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroySupermarketCategory(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15632,7 +19055,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroySupermarketCategoryRelation(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15641,7 +19064,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroySync(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15650,7 +19073,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyUnit(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15659,7 +19082,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyUnitConversion(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15668,7 +19091,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyUserFile(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15677,7 +19100,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.destroyUserSpace(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15688,7 +19111,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: /** * updates the food with all possible data from the FDC Api if properties with a fdc_id already exist they will be overridden, if existing properties don\'t have a fdc_id they won\'t be changed * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15696,10 +19119,18 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.fdcFood(id, food, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + flatRecipe(options?: any): AxiosPromise { + return localVarFp.flatRecipe(options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this recipe. - * @param {any} [image] - * @param {string} [imageUrl] + * @param {any} [image] + * @param {string} [imageUrl] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15707,7 +19138,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.imageRecipe(id, image, imageUrl, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15726,7 +19157,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listAutomations(automationType, page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15734,7 +19165,15 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listBookmarkletImports(options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listConnectorConfigs(options?: any): AxiosPromise> { + return localVarFp.listConnectorConfigs(options).then((request) => request(axios, basePath)); + }, + /** + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15744,7 +19183,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listCookLogs(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15754,7 +19193,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listCustomFilters(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15764,7 +19203,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listExportLogs(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15772,7 +19211,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listFoodInheritFields(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against food name. * @param {number} [root] Return first level children of food with ID [int]. Integer 0 will return root foods. * @param {number} [tree] Return all self and children of food with ID [int]. @@ -15785,7 +19224,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listFoods(query, root, tree, page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15793,7 +19232,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listGroups(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15803,7 +19242,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listImportLogs(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15813,7 +19252,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listIngredients(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15821,7 +19260,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listInviteLinks(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against keyword name. * @param {number} [root] Return first level children of keyword with ID [int]. Integer 0 will return root keywords. * @param {number} [tree] Return all self and children of keyword with ID [int]. @@ -15853,7 +19292,71 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listMealTypes(options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataCategorys(options?: any): AxiosPromise> { + return localVarFp.listOpenDataCategorys(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataConversions(options?: any): AxiosPromise> { + return localVarFp.listOpenDataConversions(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataFoods(options?: any): AxiosPromise> { + return localVarFp.listOpenDataFoods(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataPropertys(options?: any): AxiosPromise> { + return localVarFp.listOpenDataPropertys(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataStatisticsViewSets(options?: any): AxiosPromise> { + return localVarFp.listOpenDataStatisticsViewSets(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataStores(options?: any): AxiosPromise> { + return localVarFp.listOpenDataStores(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataUnits(options?: any): AxiosPromise> { + return localVarFp.listOpenDataUnits(options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listOpenDataVersions(options?: any): AxiosPromise> { + return localVarFp.listOpenDataVersions(options).then((request) => request(axios, basePath)); + }, + /** + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15861,7 +19364,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listPropertyTypes(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15877,7 +19380,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listRecipeBookEntrys(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15885,7 +19388,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listRecipeBooks(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched (fuzzy) against recipe name. In the future also fulltext search. * @param {number} [keywords] ID of keyword a recipe should have. For multiple repeat parameter. Equivalent to keywords_or * @param {number} [keywordsOr] Keyword IDs, repeat for multiple. Return recipes with any of the keywords @@ -15922,7 +19425,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listRecipes(query, keywords, keywordsOr, keywordsAnd, keywordsOrNot, keywordsAndNot, foods, foodsOr, foodsAnd, foodsOrNot, foodsAndNot, units, rating, books, booksOr, booksAnd, booksOrNot, booksAndNot, internal, random, _new, timescooked, cookedon, createdon, updatedon, viewedon, makenow, page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [id] Returns the shopping list entry with a primary key of id. Multiple values allowed. * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. * @param {number} [supermarket] Returns the shopping list entries sorted by supermarket category order. @@ -15933,7 +19436,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listShoppingListEntrys(id, checked, supermarket, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15941,7 +19444,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listShoppingListRecipes(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15949,7 +19452,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listShoppingLists(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15957,7 +19460,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSpaces(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [recipe] ID of recipe a step is part of. For multiple repeat parameter. * @param {string} [query] Query string matched (fuzzy) against object name. * @param {number} [page] A page number within the paginated result set. @@ -15969,7 +19472,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSteps(recipe, query, page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15977,7 +19480,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listStorages(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -15987,7 +19490,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSupermarketCategoryRelations(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against supermarket-category name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -15996,7 +19499,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSupermarketCategorys(query, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against supermarket name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16005,7 +19508,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSupermarkets(query, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -16015,7 +19518,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSyncLogs(page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16023,7 +19526,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listSyncs(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [foodId] ID of food to filter for * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16032,7 +19535,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listUnitConversions(foodId, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against unit name. * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. @@ -16043,7 +19546,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listUnits(query, page, pageSize, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} [query] Query string matched against user-file name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16052,7 +19555,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listUserFiles(query, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16060,7 +19563,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listUserPreferences(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -16078,7 +19581,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listUsers(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -16096,10 +19599,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.listresetFoodInheritances(options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} target - * @param {Food} [food] + * @param {string} target + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16107,10 +19610,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.mergeFood(id, target, food, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} target - * @param {Keyword} [keyword] + * @param {string} target + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16118,10 +19621,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.mergeKeyword(id, target, keyword, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {string} target - * @param {SupermarketCategory} [supermarketCategory] + * @param {string} target + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16129,10 +19632,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.mergeSupermarketCategory(id, target, supermarketCategory, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {string} target - * @param {Unit} [unit] + * @param {string} target + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16140,10 +19643,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.mergeUnit(id, target, unit, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} parent - * @param {Food} [food] + * @param {string} parent + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16151,10 +19654,10 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.moveFood(id, parent, food, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} parent - * @param {Keyword} [keyword] + * @param {string} parent + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16162,9 +19665,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.moveKeyword(id, parent, keyword, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16172,9 +19675,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateAccessToken(id, accessToken, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16182,9 +19685,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateAutomation(id, automation, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16192,9 +19695,19 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateBookmarkletImport(id, bookmarkletImport, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any): AxiosPromise { + return localVarFp.partialUpdateConnectorConfig(id, connectorConfigConfig, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16202,9 +19715,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateCookLog(id, cookLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16212,9 +19725,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateCustomFilter(id, customFilter, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16222,9 +19735,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateExportLog(id, exportLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16232,9 +19745,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateFood(id, food, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16242,9 +19755,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateImportLog(id, importLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16252,9 +19765,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateIngredient(id, ingredient, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16262,9 +19775,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateInviteLink(id, inviteLink, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16272,9 +19785,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateKeyword(id, keyword, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16284,7 +19797,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16292,9 +19805,79 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateMealType(id, mealType, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataCategory(id, openDataCategory, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataConversion(id, openDataConversion, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataFood(id, openDataFood, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataProperty(id, openDataProperty, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataStore(id, openDataStore, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataUnit(id, openDataUnit, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + partialUpdateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any): AxiosPromise { + return localVarFp.partialUpdateOpenDataVersion(id, openDataVersion, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16302,9 +19885,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateProperty(id, property, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16312,9 +19895,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdatePropertyType(id, propertyType, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16322,9 +19905,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateRecipe(id, recipe, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16332,9 +19915,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateRecipeBook(id, recipeBook, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16342,9 +19925,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateRecipeBookEntry(id, recipeBookEntry, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16352,9 +19935,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateShoppingList(id, shoppingList, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16362,9 +19945,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateShoppingListEntry(id, shoppingListEntry, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16372,9 +19955,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateShoppingListRecipe(id, shoppingListRecipe, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this space. - * @param {Space} [space] + * @param {Space} [space] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16382,9 +19965,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateSpace(id, space, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16392,9 +19975,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateStep(id, step, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16402,9 +19985,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateStorage(id, storage, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16412,9 +19995,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateSupermarket(id, supermarket, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16422,9 +20005,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateSupermarketCategory(id, supermarketCategory, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16432,9 +20015,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateSupermarketCategoryRelation(id, supermarketCategoryRelation, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16442,9 +20025,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateSync(id, sync, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16452,9 +20035,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUnit(id, unit, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16462,9 +20045,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUnitConversion(id, unitConversion, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user. - * @param {User} [user] + * @param {User} [user] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16472,14 +20055,14 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUser(id, user, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16487,9 +20070,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUserFile(id, name, file, id2, fileDownload, preview, fileSizeKb, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} user A unique value identifying this user preference. - * @param {UserPreference} [userPreference] + * @param {UserPreference} [userPreference] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16497,9 +20080,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUserPreference(user, userPreference, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user space. - * @param {UserSpace} [userSpace] + * @param {UserSpace} [userSpace] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16507,9 +20090,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateUserSpace(id, userSpace, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16517,7 +20100,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.partialUpdateViewLog(id, viewLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16526,7 +20109,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.relatedRecipe(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16535,7 +20118,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveAccessToken(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16544,7 +20127,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveAutomation(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16553,7 +20136,16 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveBookmarkletImport(id, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveConnectorConfig(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveConnectorConfig(id, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16562,7 +20154,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveCookLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16571,7 +20163,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveCustomFilter(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16580,7 +20172,16 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveExportLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveFDCViewSet(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveFDCViewSet(id, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16589,7 +20190,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveFood(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food inherit field. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16598,7 +20199,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveFoodInheritField(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this group. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16607,7 +20208,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveGroup(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16616,7 +20217,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveImportLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16625,7 +20226,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveIngredient(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16634,7 +20235,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveInviteLink(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16643,7 +20244,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveKeyword(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16661,7 +20262,70 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveMealType(id, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataCategory(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataCategory(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataConversion(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataConversion(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataFood(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataFood(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataProperty(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataProperty(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataStore(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataStore(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataUnit(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataUnit(id, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + retrieveOpenDataVersion(id: string, options?: any): AxiosPromise { + return localVarFp.retrieveOpenDataVersion(id, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16670,7 +20334,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveProperty(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16679,7 +20343,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrievePropertyType(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16688,7 +20352,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveRecipe(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16697,7 +20361,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveRecipeBook(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16706,7 +20370,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveRecipeBookEntry(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16715,7 +20379,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveShoppingList(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16724,7 +20388,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveShoppingListEntry(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16733,7 +20397,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveShoppingListRecipe(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16742,7 +20406,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSpace(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16751,7 +20415,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveStep(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16760,7 +20424,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveStorage(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16769,7 +20433,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSupermarket(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16778,7 +20442,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSupermarketCategory(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16787,7 +20451,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSupermarketCategoryRelation(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16796,7 +20460,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSync(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this sync log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16805,7 +20469,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveSyncLog(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16814,7 +20478,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUnit(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16823,7 +20487,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUnitConversion(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16832,7 +20496,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUser(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16841,7 +20505,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUserFile(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} user A unique value identifying this user preference. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16850,7 +20514,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUserPreference(user, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16859,7 +20523,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveUserSpace(id, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -16869,7 +20533,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: }, /** * function to download a user file securely (wrapping as zip to prevent any context based XSS problems) temporary solution until a real file manager is implemented - * @param {string} fileId + * @param {string} fileId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16877,8 +20541,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrievedownloadFile(fileId, options).then((request) => request(axios, basePath)); }, /** - * - * @param {string} id + * + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16887,7 +20551,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: }, /** * api endpoint to switch space function - * @param {string} spaceId + * @param {string} spaceId * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16895,9 +20559,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.retrieveswitchActiveSpace(spaceId, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {FoodShoppingUpdate} [foodShoppingUpdate] + * @param {FoodShoppingUpdate} [foodShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16905,9 +20569,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.shoppingFood(id, foodShoppingUpdate, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] + * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16915,9 +20579,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.shoppingRecipe(id, recipeShoppingUpdate, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16925,9 +20589,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateAccessToken(id, accessToken, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16935,9 +20599,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateAutomation(id, automation, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16945,9 +20609,19 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateBookmarkletImport(id, bookmarkletImport, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any): AxiosPromise { + return localVarFp.updateConnectorConfig(id, connectorConfigConfig, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16955,9 +20629,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateCookLog(id, cookLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16965,9 +20639,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateCustomFilter(id, customFilter, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16975,9 +20649,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateExportLog(id, exportLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16985,9 +20659,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateFood(id, food, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16995,9 +20669,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateImportLog(id, importLog, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17005,9 +20679,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateIngredient(id, ingredient, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17015,9 +20689,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateInviteLink(id, inviteLink, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17025,9 +20699,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateKeyword(id, keyword, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17037,7 +20711,7 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17045,9 +20719,79 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateMealType(id, mealType, options).then((request) => request(axios, basePath)); }, /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any): AxiosPromise { + return localVarFp.updateOpenDataCategory(id, openDataCategory, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any): AxiosPromise { + return localVarFp.updateOpenDataConversion(id, openDataConversion, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any): AxiosPromise { + return localVarFp.updateOpenDataFood(id, openDataFood, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any): AxiosPromise { + return localVarFp.updateOpenDataProperty(id, openDataProperty, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any): AxiosPromise { + return localVarFp.updateOpenDataStore(id, openDataStore, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any): AxiosPromise { + return localVarFp.updateOpenDataUnit(id, openDataUnit, options).then((request) => request(axios, basePath)); + }, + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any): AxiosPromise { + return localVarFp.updateOpenDataVersion(id, openDataVersion, options).then((request) => request(axios, basePath)); + }, + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17055,9 +20799,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateProperty(id, property, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17065,9 +20809,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updatePropertyType(id, propertyType, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17075,9 +20819,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateRecipe(id, recipe, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17085,9 +20829,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateRecipeBook(id, recipeBook, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17095,9 +20839,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateRecipeBookEntry(id, recipeBookEntry, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17105,9 +20849,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateShoppingList(id, shoppingList, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17115,9 +20859,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateShoppingListEntry(id, shoppingListEntry, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17125,9 +20869,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateShoppingListRecipe(id, shoppingListRecipe, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17135,9 +20879,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateStep(id, step, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17145,9 +20889,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateStorage(id, storage, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17155,9 +20899,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateSupermarket(id, supermarket, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17165,9 +20909,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateSupermarketCategory(id, supermarketCategory, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17175,9 +20919,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateSupermarketCategoryRelation(id, supermarketCategoryRelation, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17185,9 +20929,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateSync(id, sync, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17195,9 +20939,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateUnit(id, unit, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17205,14 +20949,14 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateUnitConversion(id, unitConversion, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17220,9 +20964,9 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.updateUserFile(id, name, file, id2, fileDownload, preview, fileSizeKb, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17240,8 +20984,8 @@ export const ApiApiFactory = function (configuration?: Configuration, basePath?: */ export class ApiApi extends BaseAPI { /** - * - * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] + * + * @param {ShoppingListEntryBulk} [shoppingListEntryBulk] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17251,8 +20995,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {AccessToken} [accessToken] + * + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17262,8 +21006,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17273,8 +21017,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Automation} [automation] + * + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17284,8 +21028,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {BookmarkletImport} [bookmarkletImport] + * + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17295,8 +21039,19 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {CookLog} [cookLog] + * + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createConnectorConfig(connectorConfigConfig?: ConnectorConfigConfig, options?: any) { + return ApiApiFp(this.configuration).createConnectorConfig(connectorConfigConfig, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17306,8 +21061,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {CustomFilter} [customFilter] + * + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17317,8 +21072,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ExportLog} [exportLog] + * + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17328,8 +21083,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Food} [food] + * + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17339,8 +21094,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ImportLog} [importLog] + * + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17350,8 +21105,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Ingredient} [ingredient] + * + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17361,8 +21116,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {InviteLink} [inviteLink] + * + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17372,8 +21127,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Keyword} [keyword] + * + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17383,8 +21138,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {MealPlan} [mealPlan] + * + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17395,7 +21150,7 @@ export class ApiApi extends BaseAPI { /** * returns list of meal types created by the requesting user ordered by the order field. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17405,8 +21160,85 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Property} [property] + * + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataCategory(openDataCategory?: OpenDataCategory, options?: any) { + return ApiApiFp(this.configuration).createOpenDataCategory(openDataCategory, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataConversion(openDataConversion?: OpenDataConversion, options?: any) { + return ApiApiFp(this.configuration).createOpenDataConversion(openDataConversion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataFood(openDataFood?: OpenDataFood, options?: any) { + return ApiApiFp(this.configuration).createOpenDataFood(openDataFood, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataProperty(openDataProperty?: OpenDataProperty, options?: any) { + return ApiApiFp(this.configuration).createOpenDataProperty(openDataProperty, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataStore(openDataStore?: OpenDataStore, options?: any) { + return ApiApiFp(this.configuration).createOpenDataStore(openDataStore, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataUnit(openDataUnit?: OpenDataUnit, options?: any) { + return ApiApiFp(this.configuration).createOpenDataUnit(openDataUnit, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public createOpenDataVersion(openDataVersion?: OpenDataVersion, options?: any) { + return ApiApiFp(this.configuration).createOpenDataVersion(openDataVersion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17416,8 +21248,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {PropertyType} [propertyType] + * + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17427,8 +21259,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Recipe} [recipe] + * + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17438,8 +21270,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {RecipeBook} [recipeBook] + * + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17449,8 +21281,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {RecipeBookEntry} [recipeBookEntry] + * + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17461,7 +21293,7 @@ export class ApiApi extends BaseAPI { /** * function to retrieve a recipe from a given url or source string :param request: standard request with additional post parameters - url: url to use for importing recipe - data: if no url is given recipe is imported from provided source data - (optional) bookmarklet: id of bookmarklet import to use, overrides URL and data attributes :return: JsonResponse containing the parsed json and images - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17471,8 +21303,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ShoppingList} [shoppingList] + * + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17482,8 +21314,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ShoppingListEntry} [shoppingListEntry] + * + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17493,8 +21325,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ShoppingListRecipe} [shoppingListRecipe] + * + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17504,8 +21336,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Step} [step] + * + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17515,8 +21347,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Storage} [storage] + * + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17526,8 +21358,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Supermarket} [supermarket] + * + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17537,8 +21369,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {SupermarketCategory} [supermarketCategory] + * + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17548,8 +21380,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17559,8 +21391,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Sync} [sync] + * + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17570,8 +21402,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {Unit} [unit] + * + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17581,8 +21413,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {UnitConversion} [unitConversion] + * + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17592,13 +21424,13 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {string} name - * @param {any} file - * @param {number} [id] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * + * @param {string} name + * @param {any} file + * @param {number} [id] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17608,8 +21440,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {ViewLog} [viewLog] + * + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17620,7 +21452,7 @@ export class ApiApi extends BaseAPI { /** * function to handle files passed by application importer - * @param {any} [body] + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17630,7 +21462,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17641,7 +21473,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17652,7 +21484,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17663,7 +21495,18 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyConnectorConfig(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyConnectorConfig(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17674,7 +21517,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17685,7 +21528,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17696,7 +21539,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17707,7 +21550,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17718,7 +21561,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17729,7 +21572,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17740,7 +21583,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17751,7 +21594,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17773,7 +21616,84 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataCategory(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataCategory(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataConversion(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataConversion(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataFood(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataFood(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataProperty(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataProperty(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataStore(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataStore(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataUnit(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataUnit(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public destroyOpenDataVersion(id: string, options?: any) { + return ApiApiFp(this.configuration).destroyOpenDataVersion(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17784,7 +21704,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17795,7 +21715,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17806,7 +21726,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17817,7 +21737,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17828,7 +21748,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17839,7 +21759,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17850,7 +21770,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17861,7 +21781,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17872,7 +21792,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17883,7 +21803,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17894,7 +21814,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17905,7 +21825,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17916,7 +21836,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17927,7 +21847,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17938,7 +21858,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17949,7 +21869,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17960,7 +21880,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17971,7 +21891,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17984,7 +21904,7 @@ export class ApiApi extends BaseAPI { /** * updates the food with all possible data from the FDC Api if properties with a fdc_id already exist they will be overridden, if existing properties don\'t have a fdc_id they won\'t be changed * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -17994,10 +21914,20 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public flatRecipe(options?: any) { + return ApiApiFp(this.configuration).flatRecipe(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this recipe. - * @param {any} [image] - * @param {string} [imageUrl] + * @param {any} [image] + * @param {string} [imageUrl] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18007,7 +21937,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18030,7 +21960,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18040,7 +21970,17 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listConnectorConfigs(options?: any) { + return ApiApiFp(this.configuration).listConnectorConfigs(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18052,7 +21992,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18064,7 +22004,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18076,7 +22016,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18086,7 +22026,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against food name. * @param {number} [root] Return first level children of food with ID [int]. Integer 0 will return root foods. * @param {number} [tree] Return all self and children of food with ID [int]. @@ -18101,7 +22041,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18111,7 +22051,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18123,7 +22063,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18135,7 +22075,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18145,7 +22085,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against keyword name. * @param {number} [root] Return first level children of keyword with ID [int]. Integer 0 will return root keywords. * @param {number} [tree] Return all self and children of keyword with ID [int]. @@ -18183,7 +22123,87 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataCategorys(options?: any) { + return ApiApiFp(this.configuration).listOpenDataCategorys(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataConversions(options?: any) { + return ApiApiFp(this.configuration).listOpenDataConversions(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataFoods(options?: any) { + return ApiApiFp(this.configuration).listOpenDataFoods(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataPropertys(options?: any) { + return ApiApiFp(this.configuration).listOpenDataPropertys(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataStatisticsViewSets(options?: any) { + return ApiApiFp(this.configuration).listOpenDataStatisticsViewSets(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataStores(options?: any) { + return ApiApiFp(this.configuration).listOpenDataStores(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataUnits(options?: any) { + return ApiApiFp(this.configuration).listOpenDataUnits(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public listOpenDataVersions(options?: any) { + return ApiApiFp(this.configuration).listOpenDataVersions(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18193,7 +22213,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18213,7 +22233,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18223,7 +22243,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched (fuzzy) against recipe name. In the future also fulltext search. * @param {number} [keywords] ID of keyword a recipe should have. For multiple repeat parameter. Equivalent to keywords_or * @param {number} [keywordsOr] Keyword IDs, repeat for multiple. Return recipes with any of the keywords @@ -18262,7 +22282,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [id] Returns the shopping list entry with a primary key of id. Multiple values allowed. * @param {string} [checked] Filter shopping list entries on checked. [true, false, both, <b>recent</b>]<br> - recent includes unchecked items and recently completed items. * @param {number} [supermarket] Returns the shopping list entries sorted by supermarket category order. @@ -18275,7 +22295,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18285,7 +22305,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18295,7 +22315,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18305,7 +22325,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [recipe] ID of recipe a step is part of. For multiple repeat parameter. * @param {string} [query] Query string matched (fuzzy) against object name. * @param {number} [page] A page number within the paginated result set. @@ -18319,7 +22339,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18329,7 +22349,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18341,7 +22361,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against supermarket-category name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18352,7 +22372,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against supermarket name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18363,7 +22383,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18375,7 +22395,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18385,7 +22405,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [foodId] ID of food to filter for * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18396,7 +22416,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against unit name. * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. @@ -18409,7 +22429,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} [query] Query string matched against user-file name. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18420,7 +22440,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18430,7 +22450,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18452,7 +22472,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {number} [page] A page number within the paginated result set. * @param {number} [pageSize] Number of results to return per page. * @param {*} [options] Override http request option. @@ -18474,10 +22494,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} target - * @param {Food} [food] + * @param {string} target + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18487,10 +22507,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} target - * @param {Keyword} [keyword] + * @param {string} target + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18500,10 +22520,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {string} target - * @param {SupermarketCategory} [supermarketCategory] + * @param {string} target + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18513,10 +22533,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {string} target - * @param {Unit} [unit] + * @param {string} target + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18526,10 +22546,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {string} parent - * @param {Food} [food] + * @param {string} parent + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18539,10 +22559,10 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {string} parent - * @param {Keyword} [keyword] + * @param {string} parent + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18552,9 +22572,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18564,9 +22584,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18576,9 +22596,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18588,9 +22608,21 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any) { + return ApiApiFp(this.configuration).partialUpdateConnectorConfig(id, connectorConfigConfig, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18600,9 +22632,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18612,9 +22644,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18624,9 +22656,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18636,9 +22668,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18648,9 +22680,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18660,9 +22692,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18672,9 +22704,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18684,9 +22716,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18698,7 +22730,7 @@ export class ApiApi extends BaseAPI { /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18708,9 +22740,93 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataCategory(id, openDataCategory, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataConversion(id, openDataConversion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataFood(id, openDataFood, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataProperty(id, openDataProperty, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataStore(id, openDataStore, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataUnit(id, openDataUnit, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public partialUpdateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any) { + return ApiApiFp(this.configuration).partialUpdateOpenDataVersion(id, openDataVersion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18720,9 +22836,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18732,9 +22848,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18744,9 +22860,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18756,9 +22872,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18768,9 +22884,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18780,9 +22896,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18792,9 +22908,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18804,9 +22920,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this space. - * @param {Space} [space] + * @param {Space} [space] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18816,9 +22932,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18828,9 +22944,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18840,9 +22956,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18852,9 +22968,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18864,9 +22980,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18876,9 +22992,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18888,9 +23004,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18900,9 +23016,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18912,9 +23028,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user. - * @param {User} [user] + * @param {User} [user] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18924,14 +23040,14 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18941,9 +23057,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} user A unique value identifying this user preference. - * @param {UserPreference} [userPreference] + * @param {UserPreference} [userPreference] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18953,9 +23069,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user space. - * @param {UserSpace} [userSpace] + * @param {UserSpace} [userSpace] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18965,9 +23081,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -18977,7 +23093,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18988,7 +23104,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this access token. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18999,7 +23115,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this automation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19010,7 +23126,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19021,7 +23137,18 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveConnectorConfig(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveConnectorConfig(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this cook log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19032,7 +23159,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this custom filter. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19043,7 +23170,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this export log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19054,7 +23181,18 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveFDCViewSet(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveFDCViewSet(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this food. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19065,7 +23203,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food inherit field. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19076,7 +23214,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this group. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19087,7 +23225,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this import log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19098,7 +23236,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this ingredient. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19109,7 +23247,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this invite link. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19120,7 +23258,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19131,7 +23269,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this meal plan. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19153,7 +23291,84 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataCategory(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataCategory(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataConversion(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataConversion(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataFood(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataFood(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataProperty(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataProperty(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataStore(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataStore(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataUnit(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataUnit(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public retrieveOpenDataVersion(id: string, options?: any) { + return ApiApiFp(this.configuration).retrieveOpenDataVersion(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this property. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19164,7 +23379,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this property type. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19175,7 +23390,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19186,7 +23401,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19197,7 +23412,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19208,7 +23423,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19219,7 +23434,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19230,7 +23445,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19241,7 +23456,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19252,7 +23467,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this step. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19263,7 +23478,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this storage. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19274,7 +23489,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19285,7 +23500,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19296,7 +23511,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19307,7 +23522,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this sync. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19318,7 +23533,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this sync log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19329,7 +23544,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19340,7 +23555,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit conversion. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19351,7 +23566,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19362,7 +23577,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user file. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19373,7 +23588,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} user A unique value identifying this user preference. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19384,7 +23599,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user space. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19395,7 +23610,7 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this view log. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -19407,7 +23622,7 @@ export class ApiApi extends BaseAPI { /** * function to download a user file securely (wrapping as zip to prevent any context based XSS problems) temporary solution until a real file manager is implemented - * @param {string} fileId + * @param {string} fileId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19417,8 +23632,8 @@ export class ApiApi extends BaseAPI { } /** - * - * @param {string} id + * + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19429,7 +23644,7 @@ export class ApiApi extends BaseAPI { /** * api endpoint to switch space function - * @param {string} spaceId + * @param {string} spaceId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19439,9 +23654,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {FoodShoppingUpdate} [foodShoppingUpdate] + * @param {FoodShoppingUpdate} [foodShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19451,9 +23666,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] + * @param {RecipeShoppingUpdate} [recipeShoppingUpdate] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19463,9 +23678,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this access token. - * @param {AccessToken} [accessToken] + * @param {AccessToken} [accessToken] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19475,9 +23690,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this automation. - * @param {Automation} [automation] + * @param {Automation} [automation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19487,9 +23702,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this bookmarklet import. - * @param {BookmarkletImport} [bookmarkletImport] + * @param {BookmarkletImport} [bookmarkletImport] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19499,9 +23714,21 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this connector config. + * @param {ConnectorConfigConfig} [connectorConfigConfig] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateConnectorConfig(id: string, connectorConfigConfig?: ConnectorConfigConfig, options?: any) { + return ApiApiFp(this.configuration).updateConnectorConfig(id, connectorConfigConfig, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this cook log. - * @param {CookLog} [cookLog] + * @param {CookLog} [cookLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19511,9 +23738,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this custom filter. - * @param {CustomFilter} [customFilter] + * @param {CustomFilter} [customFilter] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19523,9 +23750,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this export log. - * @param {ExportLog} [exportLog] + * @param {ExportLog} [exportLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19535,9 +23762,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this food. - * @param {Food} [food] + * @param {Food} [food] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19547,9 +23774,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this import log. - * @param {ImportLog} [importLog] + * @param {ImportLog} [importLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19559,9 +23786,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this ingredient. - * @param {Ingredient} [ingredient] + * @param {Ingredient} [ingredient] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19571,9 +23798,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this invite link. - * @param {InviteLink} [inviteLink] + * @param {InviteLink} [inviteLink] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19583,9 +23810,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this keyword. - * @param {Keyword} [keyword] + * @param {Keyword} [keyword] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19595,9 +23822,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this meal plan. - * @param {MealPlan} [mealPlan] + * @param {MealPlan} [mealPlan] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19609,7 +23836,7 @@ export class ApiApi extends BaseAPI { /** * returns list of meal types created by the requesting user ordered by the order field. * @param {string} id A unique integer value identifying this meal type. - * @param {MealType} [mealType] + * @param {MealType} [mealType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19619,9 +23846,93 @@ export class ApiApi extends BaseAPI { } /** - * + * + * @param {string} id A unique integer value identifying this open data category. + * @param {OpenDataCategory} [openDataCategory] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataCategory(id: string, openDataCategory?: OpenDataCategory, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataCategory(id, openDataCategory, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data conversion. + * @param {OpenDataConversion} [openDataConversion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataConversion(id: string, openDataConversion?: OpenDataConversion, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataConversion(id, openDataConversion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data food. + * @param {OpenDataFood} [openDataFood] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataFood(id: string, openDataFood?: OpenDataFood, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataFood(id, openDataFood, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data property. + * @param {OpenDataProperty} [openDataProperty] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataProperty(id: string, openDataProperty?: OpenDataProperty, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataProperty(id, openDataProperty, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data store. + * @param {OpenDataStore} [openDataStore] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataStore(id: string, openDataStore?: OpenDataStore, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataStore(id, openDataStore, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data unit. + * @param {OpenDataUnit} [openDataUnit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataUnit(id: string, openDataUnit?: OpenDataUnit, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataUnit(id, openDataUnit, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @param {string} id A unique integer value identifying this open data version. + * @param {OpenDataVersion} [openDataVersion] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ApiApi + */ + public updateOpenDataVersion(id: string, openDataVersion?: OpenDataVersion, options?: any) { + return ApiApiFp(this.configuration).updateOpenDataVersion(id, openDataVersion, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * * @param {string} id A unique integer value identifying this property. - * @param {Property} [property] + * @param {Property} [property] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19631,9 +23942,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this property type. - * @param {PropertyType} [propertyType] + * @param {PropertyType} [propertyType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19643,9 +23954,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe. - * @param {Recipe} [recipe] + * @param {Recipe} [recipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19655,9 +23966,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book. - * @param {RecipeBook} [recipeBook] + * @param {RecipeBook} [recipeBook] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19667,9 +23978,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this recipe book entry. - * @param {RecipeBookEntry} [recipeBookEntry] + * @param {RecipeBookEntry} [recipeBookEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19679,9 +23990,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list. - * @param {ShoppingList} [shoppingList] + * @param {ShoppingList} [shoppingList] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19691,9 +24002,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list entry. - * @param {ShoppingListEntry} [shoppingListEntry] + * @param {ShoppingListEntry} [shoppingListEntry] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19703,9 +24014,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this shopping list recipe. - * @param {ShoppingListRecipe} [shoppingListRecipe] + * @param {ShoppingListRecipe} [shoppingListRecipe] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19715,9 +24026,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this step. - * @param {Step} [step] + * @param {Step} [step] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19727,9 +24038,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this storage. - * @param {Storage} [storage] + * @param {Storage} [storage] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19739,9 +24050,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket. - * @param {Supermarket} [supermarket] + * @param {Supermarket} [supermarket] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19751,9 +24062,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category. - * @param {SupermarketCategory} [supermarketCategory] + * @param {SupermarketCategory} [supermarketCategory] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19763,9 +24074,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this supermarket category relation. - * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] + * @param {SupermarketCategoryRelation} [supermarketCategoryRelation] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19775,9 +24086,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this sync. - * @param {Sync} [sync] + * @param {Sync} [sync] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19787,9 +24098,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit. - * @param {Unit} [unit] + * @param {Unit} [unit] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19799,9 +24110,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this unit conversion. - * @param {UnitConversion} [unitConversion] + * @param {UnitConversion} [unitConversion] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19811,14 +24122,14 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this user file. - * @param {string} name - * @param {any} file - * @param {number} [id2] - * @param {string} [fileDownload] - * @param {string} [preview] - * @param {number} [fileSizeKb] + * @param {string} name + * @param {any} file + * @param {number} [id2] + * @param {string} [fileDownload] + * @param {string} [preview] + * @param {number} [fileSizeKb] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19828,9 +24139,9 @@ export class ApiApi extends BaseAPI { } /** - * + * * @param {string} id A unique integer value identifying this view log. - * @param {ViewLog} [viewLog] + * @param {ViewLog} [viewLog] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiApi @@ -19848,8 +24159,8 @@ export class ApiApi extends BaseAPI { export const ApiImportOpenDataApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19867,7 +24178,7 @@ export const ApiImportOpenDataApiAxiosParamCreator = function (configuration?: C const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); @@ -19881,7 +24192,7 @@ export const ApiImportOpenDataApiAxiosParamCreator = function (configuration?: C }; }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19899,7 +24210,7 @@ export const ApiImportOpenDataApiAxiosParamCreator = function (configuration?: C const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -19920,8 +24231,8 @@ export const ApiImportOpenDataApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ApiImportOpenDataApiAxiosParamCreator(configuration) return { /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19930,7 +24241,7 @@ export const ApiImportOpenDataApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19949,8 +24260,8 @@ export const ApiImportOpenDataApiFactory = function (configuration?: Configurati const localVarFp = ApiImportOpenDataApiFp(configuration) return { /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19958,7 +24269,7 @@ export const ApiImportOpenDataApiFactory = function (configuration?: Configurati return localVarFp.createImportOpenData(body, options).then((request) => request(axios, basePath)); }, /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19976,8 +24287,8 @@ export const ApiImportOpenDataApiFactory = function (configuration?: Configurati */ export class ApiImportOpenDataApi extends BaseAPI { /** - * - * @param {any} [body] + * + * @param {any} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiImportOpenDataApi @@ -19987,7 +24298,7 @@ export class ApiImportOpenDataApi extends BaseAPI { } /** - * + * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiImportOpenDataApi @@ -20005,10 +24316,10 @@ export class ApiImportOpenDataApi extends BaseAPI { export const ApiTokenAuthApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * - * @param {string} username - * @param {string} password - * @param {string} [token] + * + * @param {string} username + * @param {string} password + * @param {string} [token] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -20031,21 +24342,21 @@ export const ApiTokenAuthApiAxiosParamCreator = function (configuration?: Config const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); - if (username !== undefined) { + if (username !== undefined) { localVarFormParams.append('username', username as any); } - - if (password !== undefined) { + + if (password !== undefined) { localVarFormParams.append('password', password as any); } - - if (token !== undefined) { + + if (token !== undefined) { localVarFormParams.append('token', token as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -20067,10 +24378,10 @@ export const ApiTokenAuthApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ApiTokenAuthApiAxiosParamCreator(configuration) return { /** - * - * @param {string} username - * @param {string} password - * @param {string} [token] + * + * @param {string} username + * @param {string} password + * @param {string} [token] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -20089,10 +24400,10 @@ export const ApiTokenAuthApiFactory = function (configuration?: Configuration, b const localVarFp = ApiTokenAuthApiFp(configuration) return { /** - * - * @param {string} username - * @param {string} password - * @param {string} [token] + * + * @param {string} username + * @param {string} password + * @param {string} [token] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -20110,10 +24421,10 @@ export const ApiTokenAuthApiFactory = function (configuration?: Configuration, b */ export class ApiTokenAuthApi extends BaseAPI { /** - * - * @param {string} username - * @param {string} password - * @param {string} [token] + * + * @param {string} username + * @param {string} password + * @param {string} [token] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ApiTokenAuthApi diff --git a/vue3/src/apps/tandoor/Tandoor.vue b/vue3/src/apps/tandoor/Tandoor.vue index bde11d1db..ba6ccc493 100644 --- a/vue3/src/apps/tandoor/Tandoor.vue +++ b/vue3/src/apps/tandoor/Tandoor.vue @@ -6,9 +6,9 @@ - +
- + @@ -51,9 +51,10 @@ + + + \ No newline at end of file diff --git a/vue3/src/pages/RecipeSearchPage.vue b/vue3/src/pages/RecipeSearchPage.vue index 5e46cdeec..64c03a41e 100644 --- a/vue3/src/pages/RecipeSearchPage.vue +++ b/vue3/src/pages/RecipeSearchPage.vue @@ -1,26 +1,15 @@ @@ -29,29 +18,29 @@ import {defineComponent} from 'vue' import {ApiApi, Recipe} from "@/openapi"; import KeywordsComponent from "@/components/display/KeywordsBar.vue"; import RecipeCardComponent from "@/components/display/RecipeCard.vue"; +import GlobalSearchDialog from "@/components/inputs/GlobalSearchDialog.vue"; + export default defineComponent({ name: "RecipeSearchPage", - components: {RecipeCardComponent, KeywordsComponent}, + components: {GlobalSearchDialog, RecipeCardComponent, KeywordsComponent}, + computed: { + + }, data() { return { recipes: [] as Recipe[], - flat_recipes: [] as Array + + } }, mounted() { - const api = new ApiApi() - api.listRecipes().then(r => { - this.recipes = r.results - }) - this.flat_recipes = ["Bouillon papardelle et bolognaise", "Pandoro", "torta fresca", "a\u00efoli", "Aioli senza uovo", "Anelli di calamari con ricotta e grana padano", "Arrosto al forno di manzo", "Asparagi bianchi, zabaione al passito e crumble di prosciutto", "Avocado al forno", "Baccal\u00e0 alla potentina", "Baccal\u00e0 alla vicentina", "Baccal\u00e0 Pil Pil", "Bagna cauda", "Bavarese al cioccolato bianco e lavanda", "Bavarese Al Mango", "Bavarese di ricotta con sorpresa di ribes", "Besciamella", "Besciamella senza glutine", "Beurre Blanche", "Biscotti con scaglie di cioccolato", "Biscotti dita di strega per Halloween", "Biscotti Salati", "Biscotti Sani", "Blanquette de veau \u00e0 l'ancienne", "Bocconi di rana pescatrice con verdurine", "Borsh", "BRACIOLE DI MAIALE AL CAFF\u00c8 CON CREMOSA SALSA WHISKY", "Branzino al cartoccio", "Branzino al sale: la ricetta per fare la spigola in crosta di sale", "Brodetto di pesce", "BRODO DI BUCCIA DI ZUCCA", "BRODO DI CALDARROSTE", "Brodo di carne", "Brodo di gallina (o pollo)", "BRODO DI GAMBERI ROSSI DI MAZARA", "BRODO DI MINESTRONE", "Brodo di pesce", "Brownies al cacao", "Burger di fagioli rucola e feta", "burrata e pomodori", "Caesar salad", "Calamari ripieni di ricotta e catalogna", "Calamari su vellutata di zucchine e patate", "Calamaro ripieno, ricetta classica", "Canederli kn\u00f6del", "CANNOLI DI PANDORO TIRAMISU", "Capesante con arancia e salsa di avocado", "CAPESANTE CON PUR\u00c8 DI ZUCCA ALL\u2019ARANCIA", "Caponata di melanzane, delizia agrodolce", "Caponata senza glutine", "Cappelli delle streghe", "CARAMELLO SALATO", "Carbonara di seppie", "Carpaccio di manzo", "Carpaccio di tonno", "Caviale di melanzane - Babaganoush", "Cavolfiore fritto", "Cavolo rosso in padella - Ricetta con foto il Cuore in Pentola", "Cernia in crosta di pane", "Ceviche peruviano", "Cheesecake ai mirtilli", "Cheesecake al limone", "Chicken Caesar salad", "Chicken Rub", "Chimichurri", "Chiokapic", "Chips di pecorino", "Chocolate Mousse and Cherry Gelee Spheres", "Cialde corallo", "Cialdine di Parmigiano Reggiano Dop", "Cipolla In Agrodolce", "cipolla scura al forno", "Cipolle pickle", "Cipolle ripiene al forno", "Clam Chowder", "COME FARE LA RICOTTA", "Come fare lo zabaione all\u2019arancia", "Come fare una crema al limone favolosa: solo se hai il Bimby ti viene cos\u00ec! - RicettaSprint.it", "Composta Di Mele", "Condimento per pesce crudo", "Confettura di cipolle di Tropea", "CONSOMM\u00c9", "COPPA DI CHEESECAKE AL CAFFE'", "Costolette Di Maiale", "Cotolette alla Kiev", "Cous cous", "Cozze alla marinara", "Cozze in salsa di vino bianco e panna", "Crema Al Limone", "Crema al mascarpone", "CREMA ALL\u2019ARANCIA CON LATTE DI MANDORLA", "Crema di avocado", "Crema di Parmigiano", "Crema di pesche con amaretti e gelatina di mango e Amaretto: ricetta gourmet", "Crema di zucca (Vellutata di zucca): la Ricetta perfetta, veloce e squisita!", "Crema pasticcera", "Crema pasticcera smart", "Crema pasticciera", "Crema ricotta e cannella", "Creme brul\u00e8e", "Creme Caramel", "Crepe con farina di ceci", "Crepes", "Crepes funghi e besciamella", "Crescenza di anacardi", "Crespelle di ceci con zucca, spinaci e funghi", "Crocche Di Gamberi", "Croissant", "Crostata al limone", "CROSTATA CREMA LATTE ALL'ARANCIA dolce ripieno cremoso", "Crudit\u00e8 al curry", "Crumble", "crumble salato", "Crystal bread", "Curry di ceci la ricetta indiana da preparare in meno di mezz'ora - RicettaSprint.it", "Dado Vegetale", "Dahl di lenticchie in vasocottura", "daurade marin\u00e9 \u00e0 la bi\u00e8re de monaco et zeste d'orange", "DESSERT CON SFOGLIATINE E CREMA AL MASCARPONE", "Dolce all'arancia", "dolce di fichi", "Dolcetti all'arancia", "epaule d'agneau confite aux \u00e9pices", "Banana Shape Chia-Joghurt", "Kakao-Bananen-Muffins", "Pfannkuchen mit Erdbeer-Rhabarber-Marmelade", "H\u00e4hnchenstreifen mit Salat", "Buntes Pfannen Gem\u00fcse mit H\u00e4hnchenbrust im Arizona-Pfeffer", "Curryh\u00e4hnchen", "Pfannkuchen mit Erdbeer-Rhabarber-Marmelade", "Banana Shape Chia-Joghurt", "Kakao-Bananen-Muffins", "Pfannkuchen mit Erdbeer-Rhabarber-Marmelade", "H\u00e4hnchenstreifen mit Salat", "Buntes Pfannen Gem\u00fcse mit H\u00e4hnchenbrust im Arizona-Pfeffer", "Curryh\u00e4hnchen", "Roggenbrot", "Gem\u00fcselasagne", "Gebackene Auberginen", "Zucchini-M\u00f6hren-Puffer", "Mini-Apfelstrudel mit Filoteig", "Frischer Mangosalat", "Zucchini-Paprika-M\u00f6hren-Frittata mit H\u00fcttenk\u00e4se und Tomaten", "Hasselback-Kartoffeln", "Pizzateig (Flammkuchenteig)", "Chicor\u00e9e Rollladen Auflauf", "Gem\u00fcsepfanne", "Ohne Mehl: Rezept f\u00fcr leckere Zucchini-Muffins mit Chili und Feta", "Cremige Maissuppe", "Kathis Dunkle Cookies", "Grillpizza", "Italienischer Nudelsalat", "Kathis Apfelkuchen", "Nussecken", "Stollen", "Wok", "Pancake (Mini-Spie\u00dfe)", "Kassler in Bl\u00e4tterteig", "Baklava", "Bohneneintopf", "Galette Frangipane (Franz\u00f6sischer Bl\u00e4tterteig Kuchen)", "Giotto-Torte", "Spaghetti mit Feigen und Ziegenk\u00e4se", "Ipanema", "Mai Tai", "Wikingertopf", "Tequila Sunrise", "Hurricane", "Sauerkraut-Kasseler-Pfanne mit Schupfnudeln", "Putenkeulen", "Mojito", "Apfelschichtkuchen", "Lachs in Honigglasur mit Mango-Avocado-Salsa", "Spinat-Curry mit Erdn\u00fcssen", "H\u00fcttenk\u00e4setaler", "White Russian", "Risotto mit Pfifferlingen, Zucchini, Serranoschinken und Pecorino", "Gelbe Sauce", "Tortellini-Spinat-Auflauf", "H\u00e4hnchen-Gnocchi-Pfanne mit M\u00f6hren", "Jans Linsen Curry", "Schweinefilet in Curry-Sahne", "Griechischer Salat", "Vegetarische Frikadellen", "Caipirinha", "Cannelloni mit Spinat-Ricotta", "Gnocchi-Gem\u00fcseauflauf mit Hackfleischso\u00dfe", "Rotk\u00e4ppchenkuchen", "Lachs-Spinat-Lasagne Rezept", "Lasagne mit Mozzarella und Parmaschinken", "Rote Bete Carpaccio mit Rucola und Ziegenk\u00e4se", "Ofenpfannkuchen mit Gem\u00fcse & Feta", "Vegetarische Linsen-Lasagne", "Saure Bohnen Eintopf", "Crepesteig", "Gef\u00fcllte Auberginen", "Moscow Mule", "Bunte Kichererbsenpfanne", "Vegetarischer Nudel-Spinat-Auflauf mit Rote Beten", "Raclette", "Vegetarische Spinat-Lasagne al forno", "Pina Colada", "Obazda", "Kleine R\u00f6llchen ganz gro\u00df: Zucchini-Rollen mit Ricotta-Basilikum-Creme", "Samasa Bl\u00e4tterteig Taschen", "K\u00fcrbissuppe", "Asia-Gem\u00fcse mit ger\u00f6stetem Sesam", "KERNIGER ROTE-BETE-SALAT AUS DEM THERMOMIX\u00ae", "Teigtaschen mit Spinat-Feta-F\u00fcllung", "Marzipan-Torte", "Kohlrabi in Parmesan-Kr\u00e4uter-Panade", "Avocado-Tomaten Salsa zu Red Snapper", "Spie\u00dfbraten", "Knusprige Putenr\u00f6llchen", "Ger\u00f6stete K\u00fcrbiskerne", "Magaretenpl\u00e4tzchen", "Bayerische Semmelkn\u00f6del", "Gebratene Nudeln mit Gem\u00fcse, asiatisch", "Schnelle Asia-Gem\u00fcsepfanne", "Westf\u00e4lische Quarkspeise", "Weckmann (Hefeteig)", "Helgas Wirsingeintopf", "Linsen-Mangold-Curry", "Vegane Brokkoli-K\u00e4se-Suppe mit M\u00f6hren", "Vegetarisches Linsen-Chili mit Reis", "Nudelauflauf mit H\u00e4hnchen und Spinat", "Rote-Bete-Burger - vegan mit Guacamole und R\u00f6stzwiebeln", "Spaghetti mit Bacon, Fr\u00fchlingszwiebeln, Tomaten Sahne-Sauce", "Obstboden", "Chili con Carne", "Toskanischer Filet-Topf", "Rigatoni mit Tomaten-Sahne-Sauce", "Kathis Lasagne", "Pfirsichkuchen von Petra", "Brombeerkuchen", "Lauchcremesuppe", "K\u00e4se Lauch Suppe", "Bergische Waffeln", "Cannelloni della Nonna", "Salatdressing a la Mama", "Apfel-Zimt-Kuchen", "Zucchini Hackfleischauflauf", "Helga's Kartoffelsalat", "Kalbsschnitzel gratiniert", "Sauerteig Anstellgut", "Nuss Marzipan Kranz Striezel", "Erdbeer Tiramisu", "Burger", "Roggenbrot", "Baguette", "Risotto mit gr\u00fcnem Spargel", "Zwiebelkuchen", "Pita Brot", "Goldstulle s\u00fc\u00dfes Brot", "Gyros Spie\u00df", "Rote-Linsen-Salat mit Ziegenk\u00e4se im Speckmantel", "Parmigiana di Melanzane", "Zucchini-Ricotta-Puffer mit buntem Tomatensalat", "Vegetarische Zucchini-Karotten-Puffer", "Naan Brot", "Mit Quinoa gef\u00fcllte Zucchini mit einem Walnuss-Ziegenk\u00e4se-Topping", "Indisches Rotes Linsen Dal", "Tomatenreis mit mediterranem Gem\u00fcse", "Schoko - Souffle", "Veganer Bohnenburger", "Quiche", "S\u00fc\u00dfkartoffel Taler vom Grill", "Risotto mit getrockneten Tomaten und Rucola dazu Ziegenk\u00e4se", "Maiseintopf", "Eintopf mit Lamm und Auberginen", "Schoko-Souffl\u00e9", "Nudelauflauf mit Parmesanstreuseln", "Quinoa Powersalat mit Tomaten und Avocado", "Gem\u00fcsepfanne"] + }, methods: { - customFilter: function (itemTitle: string, queryText: string, item: any){ - return item - } + } }) diff --git a/vue3/src/types/SearchTypes.ts b/vue3/src/types/SearchTypes.ts new file mode 100644 index 000000000..6adaedc4d --- /dev/null +++ b/vue3/src/types/SearchTypes.ts @@ -0,0 +1,14 @@ +export interface SearchResult { + name: string, + recipe_id?: number, + suffix?: string, + description?: string, + icon?: string, + image?: string, +} + +export interface FlatRecipe{ + id: number, + name: string, + image:string|null, +} \ No newline at end of file