@horpynka/api-sdk 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/api/generated/base.ts","../src/api/generated/common.ts","../src/api/generated/api.ts","../src/api/generated/configuration.ts","../src/client/clients.ts","../src/operations/authApi.ts","../src/operations/categoriesApi.ts","../src/operations/dishesApi.ts","../src/operations/ordersApi.ts","../src/operations/productsApi.ts"],"names":["axios","globalAxios","BASE_PATH","queryOptions","useQueryClient","useMutation"],"mappings":";;;;AAqBO,IAAM,SAAA,GAAY,kBAAA,CAAmB,OAAA,CAAQ,MAAA,EAAQ,EAAE,CAAA;AA4BvD,IAAM,UAAN,MAAc;AAAA,EAGjB,WAAA,CAAY,aAAA,EAAyC,QAAA,GAAmB,SAAA,EAAqBA,SAAuBC,YAAA,EAAa;AAA5E,IAAA,IAAA,CAAA,QAAA,GAAA,QAAA;AAAwC,IAAA,IAAA,CAAA,KAAA,GAAAD,MAAAA;AACzF,IAAA,IAAI,aAAA,EAAe;AACf,MAAA,IAAA,CAAK,aAAA,GAAgB,aAAA;AACrB,MAAA,IAAA,CAAK,QAAA,GAAW,cAAc,QAAA,IAAY,QAAA;AAAA,IAC9C;AAAA,EACJ;AAAA,EALqD,QAAA;AAAA,EAAwC,KAAA;AAAA,EAFnF,aAAA;AAQd,CAAA;AAQO,IAAM,aAAA,GAAN,cAA4B,KAAA,CAAM;AAAA,EACrC,WAAA,CAAmB,OAAe,GAAA,EAAc;AAC5C,IAAA,KAAA,CAAM,GAAG,CAAA;AADM,IAAA,IAAA,CAAA,KAAA,GAAA,KAAA;AAEf,IAAA,IAAA,CAAK,IAAA,GAAO,eAAA;AAAA,EAChB;AAAA,EAHmB,KAAA;AAIvB,CAAA;AAaO,IAAM,qBAAgC,EAC7C;;;AC7DO,IAAM,cAAA,GAAiB,qBAAA;AAOvB,IAAM,iBAAA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,kBAAkB,EAAE,QAAA,EAAU,CAAC,QAAQ,GAAG,CAAA;AACtD,MAAA,iBAAA,IAAqB,iBAAA,EAAkB;AAAA,IACzC;AAAA,GACD,CAAA;AAED,EAAA,MAAM,sBAAsBA,WAAAA,CAAY;AAAA,IACtC,UAAA,EAAY,CAAC,EAAE,MAAA,EAAQ,EAAE,IAAG,EAAE,KAC5B,SAAA,CAAU,mBAAA,CAAoB,EAAE,CAAA;AAAA,IAClC,WAAW,CAAC,KAAA,EAAO,MAAA,EAAQ,EAAE,mBAAkB,KAAM;AACnD,MAAA,WAAA,CAAY,kBAAkB,EAAE,QAAA,EAAU,CAAC,QAAQ,GAAG,CAAA;AACtD,MAAA,iBAAA,IAAqB,iBAAA,EAAkB;AAAA,IACzC;AAAA,GACD,CAAA;AAED,EAAA,OAAO;AAAA,IACL,cAAA;AAAA,IACA,aAAA;AAAA,IACA,iBAAA;AAAA,IACA,iBAAA;AAAA,IACA;AAAA,GACF;AACF;AC5DA,IAAM,gBAAA,GAAmB,MACvBF,YAAAA,CAAa;AAAA,EACX,QAAA,EAAU,CAAC,UAAU,CAAA;AAAA,EACrB,OAAA,EAAS,MACP,WAAA,CACG,OAAA,GACA,IAAA,CAAK,CAAC,GAAA,KAAQ,GAAA,CAAI,IAAI;AAC7B,CAAC,CAAA;AAEI,IAAM,iBAAiB,MAAM;AAClC,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"http://localhost\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n options: RawAxiosRequestConfig;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\n/**\n *\n * @export\n */\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"./configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey =>\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction: (\n axiosArgs: RequestArgs,\n globalAxios: AxiosInstance,\n BASE_PATH: string,\n configuration?: Configuration,\n) => <T = unknown, R = AxiosResponse<T>>(\n axios?: AxiosInstance,\n basePath?: string,\n) => Promise<R> = function (\n axiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs);\n };\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface AccessTokenResponseDto\n */\nexport interface AccessTokenResponseDto {\n /**\n * \n * @type {string}\n * @memberof AccessTokenResponseDto\n */\n 'accessToken': string;\n}\n/**\n * \n * @export\n * @interface CashShiftDto\n */\nexport interface CashShiftDto {\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'openedAt': string;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'closedAt': string | null;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'openingBalance': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'cashSales': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'cardSales': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'refunds': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'closingBalance': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'ordersCount': number;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'status': CashShiftDtoStatusEnum;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'cashierName': string;\n}\n\nexport const CashShiftDtoStatusEnum = {\n Open: 'OPEN',\n Closed: 'CLOSED'\n} as const;\n\nexport type CashShiftDtoStatusEnum = typeof CashShiftDtoStatusEnum[keyof typeof CashShiftDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface Category\n */\nexport interface Category {\n /**\n * \n * @type {number}\n * @memberof Category\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Category\n */\n 'name': string;\n /**\n * \n * @type {Array<Dish>}\n * @memberof Category\n */\n 'dishes': Array<Dish>;\n /**\n * \n * @type {Array<Product>}\n * @memberof Category\n */\n 'products': Array<Product>;\n}\n/**\n * \n * @export\n * @interface CreateOrderDto\n */\nexport interface CreateOrderDto {\n /**\n * @default CREATED\n * @type {string}\n * @memberof CreateOrderDto\n */\n 'status'?: CreateOrderDtoStatusEnum;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'orderPrice': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'paidWithCash': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'paidWithCard': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'refundedWithCash': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'refundedWithCard': number;\n}\n\nexport const CreateOrderDtoStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type CreateOrderDtoStatusEnum = typeof CreateOrderDtoStatusEnum[keyof typeof CreateOrderDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface DashboardStatsDto\n */\nexport interface DashboardStatsDto {\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'todaySales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'ordersCount': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'openOrders': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'closedOrders': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'cashSales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'cardSales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'refunds': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'averageOrder': number;\n /**\n * \n * @type {CashShiftDto}\n * @memberof DashboardStatsDto\n */\n 'currentShift': CashShiftDto | null;\n /**\n * \n * @type {Array<SalesByDayDto>}\n * @memberof DashboardStatsDto\n */\n 'salesByDay': Array<SalesByDayDto>;\n /**\n * \n * @type {Array<PaymentSplitDto>}\n * @memberof DashboardStatsDto\n */\n 'paymentSplit': Array<PaymentSplitDto>;\n}\n/**\n * \n * @export\n * @interface Dish\n */\nexport interface Dish {\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'categoryId': number | null;\n /**\n * \n * @type {Category}\n * @memberof Dish\n */\n 'category': Category;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'ownPrice': number;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'sellingPrice': number;\n /**\n * \n * @type {boolean}\n * @memberof Dish\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'updatedAt': string;\n /**\n * \n * @type {Array<DishIngredient>}\n * @memberof Dish\n */\n 'dishIngredients': Array<DishIngredient>;\n}\n/**\n * \n * @export\n * @interface DishIngredient\n */\nexport interface DishIngredient {\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'id': number;\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'dishId': number | null;\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'ingredientId': number | null;\n /**\n * \n * @type {Dish}\n * @memberof DishIngredient\n */\n 'dish': Dish;\n /**\n * \n * @type {Ingredient}\n * @memberof DishIngredient\n */\n 'ingredient': Ingredient;\n}\n/**\n * \n * @export\n * @interface Ingredient\n */\nexport interface Ingredient {\n /**\n * \n * @type {number}\n * @memberof Ingredient\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Ingredient\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof Ingredient\n */\n 'measurementUnit': string;\n /**\n * \n * @type {Array<DishIngredient>}\n * @memberof Ingredient\n */\n 'dishIngredients': Array<DishIngredient>;\n}\n/**\n * \n * @export\n * @interface InventoryDto\n */\nexport interface InventoryDto {\n /**\n * \n * @type {number}\n * @memberof InventoryDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'finishedAt': string | null;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'status': InventoryDtoStatusEnum;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'responsible': string;\n /**\n * \n * @type {Array<InventoryItemDto>}\n * @memberof InventoryDto\n */\n 'items': Array<InventoryItemDto>;\n}\n\nexport const InventoryDtoStatusEnum = {\n Completed: 'COMPLETED',\n WithDifferences: 'WITH_DIFFERENCES',\n InProgress: 'IN_PROGRESS'\n} as const;\n\nexport type InventoryDtoStatusEnum = typeof InventoryDtoStatusEnum[keyof typeof InventoryDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface InventoryItemDto\n */\nexport interface InventoryItemDto {\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof InventoryItemDto\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof InventoryItemDto\n */\n 'measurementUnit': InventoryItemDtoMeasurementUnitEnum;\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'expectedQuantity': number;\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'actualQuantity': number;\n}\n\nexport const InventoryItemDtoMeasurementUnitEnum = {\n G: 'g',\n Ml: 'ml',\n Pcs: 'pcs'\n} as const;\n\nexport type InventoryItemDtoMeasurementUnitEnum = typeof InventoryItemDtoMeasurementUnitEnum[keyof typeof InventoryItemDtoMeasurementUnitEnum];\n\n/**\n * \n * @export\n * @interface MenuItemDto\n */\nexport interface MenuItemDto {\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'id': string;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'kind': MenuItemDtoKindEnum;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'entityId': number;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'categoryId': number | null;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'sellingPrice': number;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'ownPrice': number;\n /**\n * \n * @type {boolean}\n * @memberof MenuItemDto\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'updatedAt': string;\n}\n\nexport const MenuItemDtoKindEnum = {\n Dish: 'DISH',\n Product: 'PRODUCT'\n} as const;\n\nexport type MenuItemDtoKindEnum = typeof MenuItemDtoKindEnum[keyof typeof MenuItemDtoKindEnum];\n\n/**\n * \n * @export\n * @interface Order\n */\nexport interface Order {\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'status': OrderStatusEnum;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'updatedAt': string;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'orderPrice': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'paidWithCash': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'paidWithCard': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'refundedWithCash': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'refundedWithCard': number;\n /**\n * \n * @type {Array<OrderItem>}\n * @memberof Order\n */\n 'orderItems': Array<OrderItem>;\n}\n\nexport const OrderStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];\n\n/**\n * \n * @export\n * @interface OrderItem\n */\nexport interface OrderItem {\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'id': number;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'sellingPrice': number;\n /**\n * \n * @type {string}\n * @memberof OrderItem\n */\n 'discount': string | null;\n /**\n * \n * @type {string}\n * @memberof OrderItem\n */\n 'discountType': string;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'dishId': number | null;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'productId': number | null;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'orderId': number | null;\n /**\n * \n * @type {Dish}\n * @memberof OrderItem\n */\n 'dish': Dish | null;\n /**\n * \n * @type {Product}\n * @memberof OrderItem\n */\n 'product': Product | null;\n /**\n * \n * @type {Order}\n * @memberof OrderItem\n */\n 'order': Order;\n}\n/**\n * \n * @export\n * @interface PaymentSplitDto\n */\nexport interface PaymentSplitDto {\n /**\n * \n * @type {string}\n * @memberof PaymentSplitDto\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof PaymentSplitDto\n */\n 'value': number;\n}\n/**\n * \n * @export\n * @interface Product\n */\nexport interface Product {\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'ownPrice': number;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'sellingPrice': number;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'categoryId': number | null;\n /**\n * \n * @type {Category}\n * @memberof Product\n */\n 'category': Category;\n /**\n * \n * @type {boolean}\n * @memberof Product\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'updatedAt': string;\n}\n/**\n * \n * @export\n * @interface SalesByDayDto\n */\nexport interface SalesByDayDto {\n /**\n * \n * @type {string}\n * @memberof SalesByDayDto\n */\n 'date': string;\n /**\n * \n * @type {number}\n * @memberof SalesByDayDto\n */\n 'sales': number;\n /**\n * \n * @type {number}\n * @memberof SalesByDayDto\n */\n 'orders': number;\n}\n/**\n * \n * @export\n * @interface SessionResponseDto\n */\nexport interface SessionResponseDto {\n /**\n * \n * @type {string}\n * @memberof SessionResponseDto\n */\n 'email': string;\n}\n/**\n * \n * @export\n * @interface SignInUserDTO\n */\nexport interface SignInUserDTO {\n /**\n * \n * @type {string}\n * @memberof SignInUserDTO\n */\n 'email': string;\n /**\n * \n * @type {string}\n * @memberof SignInUserDTO\n */\n 'password': string;\n}\n/**\n * \n * @export\n * @interface SignUpUserDTO\n */\nexport interface SignUpUserDTO {\n /**\n * \n * @type {string}\n * @memberof SignUpUserDTO\n */\n 'email': string;\n /**\n * \n * @type {string}\n * @memberof SignUpUserDTO\n */\n 'password': string;\n}\n/**\n * \n * @export\n * @interface TransactionDto\n */\nexport interface TransactionDto {\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'id': string;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'orderId': number;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'kind': TransactionDtoKindEnum;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'paymentMethod': TransactionDtoPaymentMethodEnum;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'amount': number;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'refundedAmount': number;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'orderStatus': TransactionDtoOrderStatusEnum;\n}\n\nexport const TransactionDtoKindEnum = {\n Sale: 'SALE',\n Refund: 'REFUND'\n} as const;\n\nexport type TransactionDtoKindEnum = typeof TransactionDtoKindEnum[keyof typeof TransactionDtoKindEnum];\nexport const TransactionDtoPaymentMethodEnum = {\n Cash: 'CASH',\n Card: 'CARD',\n Mixed: 'MIXED'\n} as const;\n\nexport type TransactionDtoPaymentMethodEnum = typeof TransactionDtoPaymentMethodEnum[keyof typeof TransactionDtoPaymentMethodEnum];\nexport const TransactionDtoOrderStatusEnum = {\n Paid: 'PAID',\n Refunded: 'REFUNDED',\n Closed: 'CLOSED'\n} as const;\n\nexport type TransactionDtoOrderStatusEnum = typeof TransactionDtoOrderStatusEnum[keyof typeof TransactionDtoOrderStatusEnum];\n\n/**\n * \n * @export\n * @interface UpdateOrderDto\n */\nexport interface UpdateOrderDto {\n /**\n * @default CREATED\n * @type {string}\n * @memberof UpdateOrderDto\n */\n 'status'?: UpdateOrderDtoStatusEnum;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'orderPrice'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'paidWithCash'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'paidWithCard'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'refundedWithCash'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'refundedWithCard'?: number;\n}\n\nexport const UpdateOrderDtoStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type UpdateOrderDtoStatusEnum = typeof UpdateOrderDtoStatusEnum[keyof typeof UpdateOrderDtoStatusEnum];\n\n\n/**\n * AppApi - axios parameter creator\n * @export\n */\nexport const AppApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getHello: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AppApi - functional programming interface\n * @export\n */\nexport const AppApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getHello(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AppApi.getHello']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * AppApi - factory interface\n * @export\n */\nexport const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = AppApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getHello(options?: RawAxiosRequestConfig): AxiosPromise<string> {\n return localVarFp.getHello(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AppApi - object-oriented interface\n * @export\n * @class AppApi\n * @extends {BaseAPI}\n */\nexport class AppApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AppApi\n */\n public getHello(options?: RawAxiosRequestConfig) {\n return AppApiFp(this.configuration).getHello(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * AuthApi - axios parameter creator\n * @export\n */\nexport const AuthApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getSession: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/auth/get-session`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n refresh: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/auth/refresh`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signIn: async (signInUserDTO: SignInUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'signInUserDTO' is not null or undefined\n assertParamExists('signIn', 'signInUserDTO', signInUserDTO)\n const localVarPath = `/auth/sign-in`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(signInUserDTO, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signUp: async (signUpUserDTO: SignUpUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'signUpUserDTO' is not null or undefined\n assertParamExists('signUp', 'signUpUserDTO', signUpUserDTO)\n const localVarPath = `/auth/sign-up`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(signUpUserDTO, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AuthApi - functional programming interface\n * @export\n */\nexport const AuthApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.getSession']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async refresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.refresh(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.refresh']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.signIn(signInUserDTO, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.signIn']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.signUp(signUpUserDTO, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.signUp']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * AuthApi - factory interface\n * @export\n */\nexport const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = AuthApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getSession(options?: RawAxiosRequestConfig): AxiosPromise<SessionResponseDto> {\n return localVarFp.getSession(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n refresh(options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.refresh(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<AccessTokenResponseDto> {\n return localVarFp.signIn(signInUserDTO, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<AccessTokenResponseDto> {\n return localVarFp.signUp(signUpUserDTO, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AuthApi - object-oriented interface\n * @export\n * @class AuthApi\n * @extends {BaseAPI}\n */\nexport class AuthApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public getSession(options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).getSession(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public refresh(options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).refresh(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).signIn(signInUserDTO, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).signUp(signUpUserDTO, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * CashShiftsApi - axios parameter creator\n * @export\n */\nexport const CashShiftsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/cash-shifts`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/cash-shifts/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * CashShiftsApi - functional programming interface\n * @export\n */\nexport const CashShiftsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = CashShiftsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CashShiftDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CashShiftsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashShiftDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CashShiftsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * CashShiftsApi - factory interface\n * @export\n */\nexport const CashShiftsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = CashShiftsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<CashShiftDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<CashShiftDto> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * CashShiftsApi - object-oriented interface\n * @export\n * @class CashShiftsApi\n * @extends {BaseAPI}\n */\nexport class CashShiftsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CashShiftsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return CashShiftsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CashShiftsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return CashShiftsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * CategoriesApi - axios parameter creator\n * @export\n */\nexport const CategoriesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/categories`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/categories/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * CategoriesApi - functional programming interface\n * @export\n */\nexport const CategoriesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = CategoriesApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CategoriesApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Category>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CategoriesApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * CategoriesApi - factory interface\n * @export\n */\nexport const CategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = CategoriesApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<object> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Category> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * CategoriesApi - object-oriented interface\n * @export\n * @class CategoriesApi\n * @extends {BaseAPI}\n */\nexport class CategoriesApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CategoriesApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return CategoriesApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CategoriesApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return CategoriesApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * DashboardApi - axios parameter creator\n * @export\n */\nexport const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getStats: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/dashboard/stats`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DashboardApi - functional programming interface\n * @export\n */\nexport const DashboardApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardStatsDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getStats(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DashboardApi.getStats']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * DashboardApi - factory interface\n * @export\n */\nexport const DashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = DashboardApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getStats(options?: RawAxiosRequestConfig): AxiosPromise<DashboardStatsDto> {\n return localVarFp.getStats(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DashboardApi - object-oriented interface\n * @export\n * @class DashboardApi\n * @extends {BaseAPI}\n */\nexport class DashboardApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public getStats(options?: RawAxiosRequestConfig) {\n return DashboardApiFp(this.configuration).getStats(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * DishesApi - axios parameter creator\n * @export\n */\nexport const DishesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/dishes`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/dishes/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DishesApi - functional programming interface\n * @export\n */\nexport const DishesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = DishesApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Dish>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DishesApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Dish>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DishesApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * DishesApi - factory interface\n * @export\n */\nexport const DishesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = DishesApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Dish>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Dish> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DishesApi - object-oriented interface\n * @export\n * @class DishesApi\n * @extends {BaseAPI}\n */\nexport class DishesApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DishesApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return DishesApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DishesApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return DishesApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * IngredientsApi - axios parameter creator\n * @export\n */\nexport const IngredientsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/ingredients`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/ingredients/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * IngredientsApi - functional programming interface\n * @export\n */\nexport const IngredientsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = IngredientsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Ingredient>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['IngredientsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Ingredient>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['IngredientsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * IngredientsApi - factory interface\n * @export\n */\nexport const IngredientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = IngredientsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Ingredient>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Ingredient> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * IngredientsApi - object-oriented interface\n * @export\n * @class IngredientsApi\n * @extends {BaseAPI}\n */\nexport class IngredientsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IngredientsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return IngredientsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IngredientsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return IngredientsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * InventoryApi - axios parameter creator\n * @export\n */\nexport const InventoryApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/inventory`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/inventory/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * InventoryApi - functional programming interface\n * @export\n */\nexport const InventoryApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = InventoryApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InventoryDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InventoryApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InventoryApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * InventoryApi - factory interface\n * @export\n */\nexport const InventoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = InventoryApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<InventoryDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<InventoryDto> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * InventoryApi - object-oriented interface\n * @export\n * @class InventoryApi\n * @extends {BaseAPI}\n */\nexport class InventoryApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof InventoryApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return InventoryApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof InventoryApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return InventoryApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * MenuApi - axios parameter creator\n * @export\n */\nexport const MenuApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/menu`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MenuApi - functional programming interface\n * @export\n */\nexport const MenuApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MenuApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuItemDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MenuApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MenuApi - factory interface\n * @export\n */\nexport const MenuApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MenuApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<MenuItemDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * MenuApi - object-oriented interface\n * @export\n * @class MenuApi\n * @extends {BaseAPI}\n */\nexport class MenuApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof MenuApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return MenuApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * OrdersApi - axios parameter creator\n * @export\n */\nexport const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n create: async (createOrderDto: CreateOrderDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'createOrderDto' is not null or undefined\n assertParamExists('create', 'createOrderDto', createOrderDto)\n const localVarPath = `/orders`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createOrderDto, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (page?: number, limit?: number, status?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/orders`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/orders/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n removeActiveReceipt: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('removeActiveReceipt', 'id', id)\n const localVarPath = `/orders/remove-active-receipt/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n update: async (id: number, updateOrderDto: UpdateOrderDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('update', 'id', id)\n // verify required parameter 'updateOrderDto' is not null or undefined\n assertParamExists('update', 'updateOrderDto', updateOrderDto)\n const localVarPath = `/orders/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateOrderDto, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * OrdersApi - functional programming interface\n * @export\n */\nexport const OrdersApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.create(createOrderDto, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.create']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Order>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(page, limit, status, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async removeActiveReceipt(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.removeActiveReceipt(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.removeActiveReceipt']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.update(id, updateOrderDto, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.update']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * OrdersApi - factory interface\n * @export\n */\nexport const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = OrdersApiFp(configuration)\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.create(createOrderDto, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Order>> {\n return localVarFp.findAll(page, limit, status, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n removeActiveReceipt(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.removeActiveReceipt(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.update(id, updateOrderDto, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * OrdersApi - object-oriented interface\n * @export\n * @class OrdersApi\n * @extends {BaseAPI}\n */\nexport class OrdersApi extends BaseAPI {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).create(createOrderDto, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).findAll(page, limit, status, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public removeActiveReceipt(id: number, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).removeActiveReceipt(id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).update(id, updateOrderDto, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * ProductsApi - axios parameter creator\n * @export\n */\nexport const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/products`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/products/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ProductsApi - functional programming interface\n * @export\n */\nexport const ProductsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Product>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ProductsApi - factory interface\n * @export\n */\nexport const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ProductsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Product>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Product> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ProductsApi - object-oriented interface\n * @export\n * @class ProductsApi\n * @extends {BaseAPI}\n */\nexport class ProductsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ProductsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return ProductsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ProductsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return ProductsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * TransactionsApi - axios parameter creator\n * @export\n */\nexport const TransactionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/transactions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * TransactionsApi - functional programming interface\n * @export\n */\nexport const TransactionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = TransactionsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['TransactionsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * TransactionsApi - factory interface\n * @export\n */\nexport const TransactionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = TransactionsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * TransactionsApi - object-oriented interface\n * @export\n * @class TransactionsApi\n * @extends {BaseAPI}\n */\nexport class TransactionsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TransactionsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return TransactionsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n * @memberof Configuration\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n username?: string;\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n * @memberof Configuration\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * override base path\n *\n * @type {string}\n * @memberof Configuration\n */\n basePath?: string;\n /**\n * override server index\n *\n * @type {number}\n * @memberof Configuration\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n *\n * @type {any}\n * @memberof Configuration\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = {\n ...param.baseOptions,\n headers: {\n ...param.baseOptions?.headers,\n },\n };\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\n","import axios, { AxiosInstance, CreateAxiosDefaults } from \"axios\";\nimport {\n AuthApi,\n CategoriesApi,\n Configuration,\n DishesApi,\n OrdersApi,\n ProductsApi,\n} from \"../api/generated\";\nimport { QueryClient } from \"@tanstack/react-query\";\n\nexport let tanstackClient: QueryClient;\nexport let authApi: AuthApi;\nexport let categoriesApi: CategoriesApi;\nexport let dishesApi: DishesApi;\nexport let ordersApi: OrdersApi;\nexport let productsApi: ProductsApi;\n\nexport function initApiClient(config: CreateAxiosDefaults): AxiosInstance {\n const apiClient = axios.create({\n baseURL: config.baseURL,\n timeout: config.timeout ?? 10_000,\n });\n\n const configuration = new Configuration({\n basePath: config.baseURL,\n });\n\n tanstackClient = new QueryClient();\n authApi = new AuthApi(configuration, undefined, apiClient);\n categoriesApi = new CategoriesApi(configuration, undefined, apiClient);\n dishesApi = new DishesApi(configuration, undefined, apiClient);\n ordersApi = new OrdersApi(configuration, undefined, apiClient);\n productsApi = new ProductsApi(configuration, undefined, apiClient);\n\n return apiClient;\n}\n","import { useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport { authApi } from \"../client\"\nimport { SignInUserDTO, SignUpUserDTO } from \"../api/generated\"\n\nexport const useAuthApi = () => {\n const queryClient = useQueryClient()\n\n const mutateRefresh = useMutation({\n mutationFn: ({ onSettledCallback }: { onSettledCallback?: () => void } = {}) =>\n authApi.refresh(),\n onSettled: (_data, _error, variables) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n variables?.onSettledCallback && variables.onSettledCallback()\n },\n })\n\n const mutateSignIn = useMutation({\n mutationFn: ({ params: { signInUserDTO } }: { params: { signInUserDTO: SignInUserDTO }; onSettledCallback?: () => void }) =>\n authApi.signIn(signInUserDTO),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateSignUp = useMutation({\n mutationFn: ({ params: { signUpUserDTO } }: { params: { signUpUserDTO: SignUpUserDTO }; onSettledCallback?: () => void }) =>\n authApi.signUp(signUpUserDTO),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n return {\n mutateRefresh,\n mutateSignIn,\n mutateSignUp,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { categoriesApi } from \"../client\"\n\nconst getCategoriesQuery = () =>\n queryOptions({\n queryKey: [\"categories\"],\n queryFn: () =>\n categoriesApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useCategoriesApi = () => {\n return {\n getCategoriesQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { dishesApi } from \"../client\"\n\nconst getDishesQuery = () =>\n queryOptions({\n queryKey: [\"dishes\"],\n queryFn: () =>\n dishesApi\n .findAll()\n .then((res) => res.data),\n })\n\nconst getDishQuery = (id: number) =>\n queryOptions({\n queryKey: [\"dishes\", id],\n queryFn: () =>\n dishesApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useDishesApi = () => {\n return {\n getDishesQuery,\n getDishQuery,\n }\n}\n","import { queryOptions, useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport { ordersApi } from \"../client\"\nimport { CreateOrderDto, UpdateOrderDto } from \"../api/generated\"\n\nconst getOrdersQuery = (params?: {\n page?: number\n limit?: number\n status?: string\n}) =>\n queryOptions({\n queryKey: [\"orders\", params],\n queryFn: () =>\n ordersApi\n .findAll(params?.page, params?.limit, params?.status)\n .then((res) => res.data),\n })\n\nconst getOrderQuery = (id: number) =>\n queryOptions({\n queryKey: [\"orders\", id],\n queryFn: () =>\n ordersApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useOrdersApi = () => {\n const queryClient = useQueryClient()\n\n const mutateCreateOrder = useMutation({\n mutationFn: ({ params: { createOrderDto } }: { params: { createOrderDto: CreateOrderDto }; onSettledCallback?: () => void }) =>\n ordersApi.create(createOrderDto),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateUpdateOrder = useMutation({\n mutationFn: ({ params: { id, updateOrderDto } }: { params: { id: number; updateOrderDto: UpdateOrderDto }; onSettledCallback?: () => void }) =>\n ordersApi.update(id, updateOrderDto),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateDeleteReceipt = useMutation({\n mutationFn: ({ params: { id } }: { params: { id: number }; onSettledCallback?: () => void }) =>\n ordersApi.removeActiveReceipt(id),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n return {\n getOrdersQuery,\n getOrderQuery,\n mutateCreateOrder,\n mutateUpdateOrder,\n mutateDeleteReceipt,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { productsApi } from \"../client\"\n\nconst getProductsQuery = () =>\n queryOptions({\n queryKey: [\"products\"],\n queryFn: () =>\n productsApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useProductsApi = () => {\n return {\n getProductsQuery,\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/api/generated/base.ts","../src/api/generated/common.ts","../src/api/generated/api.ts","../src/api/generated/configuration.ts","../src/client/clients.ts","../src/operations/authApi.ts","../src/operations/cashShiftsApi.ts","../src/operations/categoriesApi.ts","../src/operations/dashboardApi.ts","../src/operations/dishesApi.ts","../src/operations/ingredientsApi.ts","../src/operations/inventoryApi.ts","../src/operations/menuApi.ts","../src/operations/ordersApi.ts","../src/operations/productsApi.ts","../src/operations/transactionsApi.ts"],"names":["axios","globalAxios","BASE_PATH","queryOptions","useQueryClient","useMutation"],"mappings":";;;;AAqBO,IAAM,SAAA,GAAY,kBAAA,CAAmB,OAAA,CAAQ,MAAA,EAAQ,EAAE,CAAA;AA4BvD,IAAM,UAAN,MAAc;AAAA,EAGjB,WAAA,CAAY,aAAA,EAAyC,QAAA,GAAmB,SAAA,EAAqBA,SAAuBC,YAAA,EAAa;AAA5E,IAAA,IAAA,CAAA,QAAA,GAAA,QAAA;AAAwC,IAAA,IAAA,CAAA,KAAA,GAAAD,MAAAA;AACzF,IAAA,IAAI,aAAA,EAAe;AACf,MAAA,IAAA,CAAK,aAAA,GAAgB,aAAA;AACrB,MAAA,IAAA,CAAK,QAAA,GAAW,cAAc,QAAA,IAAY,QAAA;AAAA,IAC9C;AAAA,EACJ;AAAA,EALqD,QAAA;AAAA,EAAwC,KAAA;AAAA,EAFnF,aAAA;AAQd,CAAA;AAQO,IAAM,aAAA,GAAN,cAA4B,KAAA,CAAM;AAAA,EACrC,WAAA,CAAmB,OAAe,GAAA,EAAc;AAC5C,IAAA,KA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A;AAAA,IAClC,WAAW,CAAC,KAAA,EAAO,MAAA,EAAQ,EAAE,mBAAkB,KAAM;AACnD,MAAA,WAAA,CAAY,kBAAkB,EAAE,QAAA,EAAU,CAAC,QAAQ,GAAG,CAAA;AACtD,MAAA,iBAAA,IAAqB,iBAAA,EAAkB;AAAA,IACzC;AAAA,GACD,CAAA;AAED,EAAA,OAAO;AAAA,IACL,cAAA;AAAA,IACA,aAAA;AAAA,IACA,iBAAA;AAAA,IACA,iBAAA;AAAA,IACA;AAAA,GACF;AACF;AC5DA,IAAM,gBAAA,GAAmB,MACvBF,YAAAA,CAAa;AAAA,EACX,QAAA,EAAU,CAAC,UAAU,CAAA;AAAA,EACrB,OAAA,EAAS,MACP,WAAA,CACG,OAAA,GACA,IAAA,CAAK,CAAC,GAAA,KAAQ,GAAA,CAAI,IAAI;AAC7B,CAAC,CAAA;AAEI,IAAM,iBAAiB,MAAM;AAClC,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF;ACbA,IAAM,oBAAA,GAAuB,MAC3BA,YAAAA,CAAa;AAAA,EACX,QAAA,EAAU,CAAC,cAAc,CAAA;AAAA,EACzB,OAAA,EAAS,MACP,eAAA,CACG,OAAA,GACA,IAAA,CAAK,CAAC,GAAA,KAAQ,GAAA,CAAI,IAAI;AAC7B,CAAC,CAAA;AAEI,IAAM,qBAAqB,MAAM;AACtC,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"http://localhost\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n options: RawAxiosRequestConfig;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\n/**\n *\n * @export\n */\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"./configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey =>\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction: (\n axiosArgs: RequestArgs,\n globalAxios: AxiosInstance,\n BASE_PATH: string,\n configuration?: Configuration,\n) => <T = unknown, R = AxiosResponse<T>>(\n axios?: AxiosInstance,\n basePath?: string,\n) => Promise<R> = function (\n axiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs) as Promise<R>;\n };\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface AccessTokenResponseDto\n */\nexport interface AccessTokenResponseDto {\n /**\n * \n * @type {string}\n * @memberof AccessTokenResponseDto\n */\n 'accessToken': string;\n}\n/**\n * \n * @export\n * @interface CashShiftDto\n */\nexport interface CashShiftDto {\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'openedAt': string;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'closedAt': string | null;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'openingBalance': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'cashSales': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'cardSales': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'refunds': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'closingBalance': number;\n /**\n * \n * @type {number}\n * @memberof CashShiftDto\n */\n 'ordersCount': number;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'status': CashShiftDtoStatusEnum;\n /**\n * \n * @type {string}\n * @memberof CashShiftDto\n */\n 'cashierName': string;\n}\n\nexport const CashShiftDtoStatusEnum = {\n Open: 'OPEN',\n Closed: 'CLOSED'\n} as const;\n\nexport type CashShiftDtoStatusEnum = typeof CashShiftDtoStatusEnum[keyof typeof CashShiftDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface Category\n */\nexport interface Category {\n /**\n * \n * @type {number}\n * @memberof Category\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Category\n */\n 'name': string;\n /**\n * \n * @type {Array<Dish>}\n * @memberof Category\n */\n 'dishes': Array<Dish>;\n /**\n * \n * @type {Array<Product>}\n * @memberof Category\n */\n 'products': Array<Product>;\n}\n/**\n * \n * @export\n * @interface CreateOrderDto\n */\nexport interface CreateOrderDto {\n /**\n * @default CREATED\n * @type {string}\n * @memberof CreateOrderDto\n */\n 'status'?: CreateOrderDtoStatusEnum;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'orderPrice': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'paidWithCash': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'paidWithCard': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'refundedWithCash': number;\n /**\n * \n * @type {number}\n * @memberof CreateOrderDto\n */\n 'refundedWithCard': number;\n}\n\nexport const CreateOrderDtoStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type CreateOrderDtoStatusEnum = typeof CreateOrderDtoStatusEnum[keyof typeof CreateOrderDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface DashboardStatsDto\n */\nexport interface DashboardStatsDto {\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'todaySales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'ordersCount': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'openOrders': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'closedOrders': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'cashSales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'cardSales': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'refunds': number;\n /**\n * \n * @type {number}\n * @memberof DashboardStatsDto\n */\n 'averageOrder': number;\n /**\n * \n * @type {CashShiftDto}\n * @memberof DashboardStatsDto\n */\n 'currentShift': CashShiftDto | null;\n /**\n * \n * @type {Array<SalesByDayDto>}\n * @memberof DashboardStatsDto\n */\n 'salesByDay': Array<SalesByDayDto>;\n /**\n * \n * @type {Array<PaymentSplitDto>}\n * @memberof DashboardStatsDto\n */\n 'paymentSplit': Array<PaymentSplitDto>;\n}\n/**\n * \n * @export\n * @interface Dish\n */\nexport interface Dish {\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'categoryId': number | null;\n /**\n * \n * @type {Category}\n * @memberof Dish\n */\n 'category': Category;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'ownPrice': number;\n /**\n * \n * @type {number}\n * @memberof Dish\n */\n 'sellingPrice': number;\n /**\n * \n * @type {boolean}\n * @memberof Dish\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Dish\n */\n 'updatedAt': string;\n /**\n * \n * @type {Array<DishIngredient>}\n * @memberof Dish\n */\n 'dishIngredients': Array<DishIngredient>;\n}\n/**\n * \n * @export\n * @interface DishIngredient\n */\nexport interface DishIngredient {\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'id': number;\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'dishId': number | null;\n /**\n * \n * @type {number}\n * @memberof DishIngredient\n */\n 'ingredientId': number | null;\n /**\n * \n * @type {Dish}\n * @memberof DishIngredient\n */\n 'dish': Dish;\n /**\n * \n * @type {Ingredient}\n * @memberof DishIngredient\n */\n 'ingredient': Ingredient;\n}\n/**\n * \n * @export\n * @interface Ingredient\n */\nexport interface Ingredient {\n /**\n * \n * @type {number}\n * @memberof Ingredient\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Ingredient\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof Ingredient\n */\n 'measurementUnit': string;\n /**\n * \n * @type {Array<DishIngredient>}\n * @memberof Ingredient\n */\n 'dishIngredients': Array<DishIngredient>;\n}\n/**\n * \n * @export\n * @interface InventoryDto\n */\nexport interface InventoryDto {\n /**\n * \n * @type {number}\n * @memberof InventoryDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'finishedAt': string | null;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'status': InventoryDtoStatusEnum;\n /**\n * \n * @type {string}\n * @memberof InventoryDto\n */\n 'responsible': string;\n /**\n * \n * @type {Array<InventoryItemDto>}\n * @memberof InventoryDto\n */\n 'items': Array<InventoryItemDto>;\n}\n\nexport const InventoryDtoStatusEnum = {\n Completed: 'COMPLETED',\n WithDifferences: 'WITH_DIFFERENCES',\n InProgress: 'IN_PROGRESS'\n} as const;\n\nexport type InventoryDtoStatusEnum = typeof InventoryDtoStatusEnum[keyof typeof InventoryDtoStatusEnum];\n\n/**\n * \n * @export\n * @interface InventoryItemDto\n */\nexport interface InventoryItemDto {\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof InventoryItemDto\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof InventoryItemDto\n */\n 'measurementUnit': InventoryItemDtoMeasurementUnitEnum;\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'expectedQuantity': number;\n /**\n * \n * @type {number}\n * @memberof InventoryItemDto\n */\n 'actualQuantity': number;\n}\n\nexport const InventoryItemDtoMeasurementUnitEnum = {\n G: 'g',\n Ml: 'ml',\n Pcs: 'pcs'\n} as const;\n\nexport type InventoryItemDtoMeasurementUnitEnum = typeof InventoryItemDtoMeasurementUnitEnum[keyof typeof InventoryItemDtoMeasurementUnitEnum];\n\n/**\n * \n * @export\n * @interface MenuItemDto\n */\nexport interface MenuItemDto {\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'id': string;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'kind': MenuItemDtoKindEnum;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'entityId': number;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'categoryId': number | null;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'sellingPrice': number;\n /**\n * \n * @type {number}\n * @memberof MenuItemDto\n */\n 'ownPrice': number;\n /**\n * \n * @type {boolean}\n * @memberof MenuItemDto\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof MenuItemDto\n */\n 'updatedAt': string;\n}\n\nexport const MenuItemDtoKindEnum = {\n Dish: 'DISH',\n Product: 'PRODUCT'\n} as const;\n\nexport type MenuItemDtoKindEnum = typeof MenuItemDtoKindEnum[keyof typeof MenuItemDtoKindEnum];\n\n/**\n * \n * @export\n * @interface Order\n */\nexport interface Order {\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'status': OrderStatusEnum;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n 'updatedAt': string;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'orderPrice': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'paidWithCash': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'paidWithCard': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'refundedWithCash': number;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n 'refundedWithCard': number;\n /**\n * \n * @type {Array<OrderItem>}\n * @memberof Order\n */\n 'orderItems': Array<OrderItem>;\n}\n\nexport const OrderStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];\n\n/**\n * \n * @export\n * @interface OrderItem\n */\nexport interface OrderItem {\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'id': number;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'sellingPrice': number;\n /**\n * \n * @type {string}\n * @memberof OrderItem\n */\n 'discount': string | null;\n /**\n * \n * @type {string}\n * @memberof OrderItem\n */\n 'discountType': string;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'dishId': number | null;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'productId': number | null;\n /**\n * \n * @type {number}\n * @memberof OrderItem\n */\n 'orderId': number | null;\n /**\n * \n * @type {Dish}\n * @memberof OrderItem\n */\n 'dish': Dish | null;\n /**\n * \n * @type {Product}\n * @memberof OrderItem\n */\n 'product': Product | null;\n /**\n * \n * @type {Order}\n * @memberof OrderItem\n */\n 'order': Order;\n}\n/**\n * \n * @export\n * @interface PaymentSplitDto\n */\nexport interface PaymentSplitDto {\n /**\n * \n * @type {string}\n * @memberof PaymentSplitDto\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof PaymentSplitDto\n */\n 'value': number;\n}\n/**\n * \n * @export\n * @interface Product\n */\nexport interface Product {\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'id': number;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'name': string;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'ownPrice': number;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'sellingPrice': number;\n /**\n * \n * @type {number}\n * @memberof Product\n */\n 'categoryId': number | null;\n /**\n * \n * @type {Category}\n * @memberof Product\n */\n 'category': Category;\n /**\n * \n * @type {boolean}\n * @memberof Product\n */\n 'selling': boolean;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof Product\n */\n 'updatedAt': string;\n}\n/**\n * \n * @export\n * @interface SalesByDayDto\n */\nexport interface SalesByDayDto {\n /**\n * \n * @type {string}\n * @memberof SalesByDayDto\n */\n 'date': string;\n /**\n * \n * @type {number}\n * @memberof SalesByDayDto\n */\n 'sales': number;\n /**\n * \n * @type {number}\n * @memberof SalesByDayDto\n */\n 'orders': number;\n}\n/**\n * \n * @export\n * @interface SessionResponseDto\n */\nexport interface SessionResponseDto {\n /**\n * \n * @type {string}\n * @memberof SessionResponseDto\n */\n 'email': string;\n}\n/**\n * \n * @export\n * @interface SignInUserDTO\n */\nexport interface SignInUserDTO {\n /**\n * \n * @type {string}\n * @memberof SignInUserDTO\n */\n 'email': string;\n /**\n * \n * @type {string}\n * @memberof SignInUserDTO\n */\n 'password': string;\n}\n/**\n * \n * @export\n * @interface SignUpUserDTO\n */\nexport interface SignUpUserDTO {\n /**\n * \n * @type {string}\n * @memberof SignUpUserDTO\n */\n 'email': string;\n /**\n * \n * @type {string}\n * @memberof SignUpUserDTO\n */\n 'password': string;\n}\n/**\n * \n * @export\n * @interface TransactionDto\n */\nexport interface TransactionDto {\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'id': string;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'orderId': number;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'kind': TransactionDtoKindEnum;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'paymentMethod': TransactionDtoPaymentMethodEnum;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'amount': number;\n /**\n * \n * @type {number}\n * @memberof TransactionDto\n */\n 'refundedAmount': number;\n /**\n * \n * @type {string}\n * @memberof TransactionDto\n */\n 'orderStatus': TransactionDtoOrderStatusEnum;\n}\n\nexport const TransactionDtoKindEnum = {\n Sale: 'SALE',\n Refund: 'REFUND'\n} as const;\n\nexport type TransactionDtoKindEnum = typeof TransactionDtoKindEnum[keyof typeof TransactionDtoKindEnum];\nexport const TransactionDtoPaymentMethodEnum = {\n Cash: 'CASH',\n Card: 'CARD',\n Mixed: 'MIXED'\n} as const;\n\nexport type TransactionDtoPaymentMethodEnum = typeof TransactionDtoPaymentMethodEnum[keyof typeof TransactionDtoPaymentMethodEnum];\nexport const TransactionDtoOrderStatusEnum = {\n Paid: 'PAID',\n Refunded: 'REFUNDED',\n Closed: 'CLOSED'\n} as const;\n\nexport type TransactionDtoOrderStatusEnum = typeof TransactionDtoOrderStatusEnum[keyof typeof TransactionDtoOrderStatusEnum];\n\n/**\n * \n * @export\n * @interface UpdateOrderDto\n */\nexport interface UpdateOrderDto {\n /**\n * @default CREATED\n * @type {string}\n * @memberof UpdateOrderDto\n */\n 'status'?: UpdateOrderDtoStatusEnum;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'orderPrice'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'paidWithCash'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'paidWithCard'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'refundedWithCash'?: number;\n /**\n * \n * @type {number}\n * @memberof UpdateOrderDto\n */\n 'refundedWithCard'?: number;\n}\n\nexport const UpdateOrderDtoStatusEnum = {\n Created: 'CREATED',\n Paid: 'PAID',\n Cancelled: 'CANCELLED',\n Deleted: 'DELETED',\n Refunded: 'REFUNDED',\n Completed: 'COMPLETED'\n} as const;\n\nexport type UpdateOrderDtoStatusEnum = typeof UpdateOrderDtoStatusEnum[keyof typeof UpdateOrderDtoStatusEnum];\n\n\n/**\n * AppApi - axios parameter creator\n * @export\n */\nexport const AppApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getHello: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AppApi - functional programming interface\n * @export\n */\nexport const AppApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getHello(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AppApi.getHello']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * AppApi - factory interface\n * @export\n */\nexport const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = AppApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getHello(options?: RawAxiosRequestConfig): AxiosPromise<string> {\n return localVarFp.getHello(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AppApi - object-oriented interface\n * @export\n * @class AppApi\n * @extends {BaseAPI}\n */\nexport class AppApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AppApi\n */\n public getHello(options?: RawAxiosRequestConfig) {\n return AppApiFp(this.configuration).getHello(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * AuthApi - axios parameter creator\n * @export\n */\nexport const AuthApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getSession: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/auth/get-session`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n refresh: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/auth/refresh`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signIn: async (signInUserDTO: SignInUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'signInUserDTO' is not null or undefined\n assertParamExists('signIn', 'signInUserDTO', signInUserDTO)\n const localVarPath = `/auth/sign-in`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(signInUserDTO, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signUp: async (signUpUserDTO: SignUpUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'signUpUserDTO' is not null or undefined\n assertParamExists('signUp', 'signUpUserDTO', signUpUserDTO)\n const localVarPath = `/auth/sign-up`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(signUpUserDTO, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AuthApi - functional programming interface\n * @export\n */\nexport const AuthApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.getSession']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async refresh(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.refresh(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.refresh']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.signIn(signInUserDTO, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.signIn']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponseDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.signUp(signUpUserDTO, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['AuthApi.signUp']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * AuthApi - factory interface\n * @export\n */\nexport const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = AuthApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getSession(options?: RawAxiosRequestConfig): AxiosPromise<SessionResponseDto> {\n return localVarFp.getSession(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n refresh(options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.refresh(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<AccessTokenResponseDto> {\n return localVarFp.signIn(signInUserDTO, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<AccessTokenResponseDto> {\n return localVarFp.signUp(signUpUserDTO, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AuthApi - object-oriented interface\n * @export\n * @class AuthApi\n * @extends {BaseAPI}\n */\nexport class AuthApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public getSession(options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).getSession(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public refresh(options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).refresh(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {SignInUserDTO} signInUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public signIn(signInUserDTO: SignInUserDTO, options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).signIn(signInUserDTO, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {SignUpUserDTO} signUpUserDTO \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthApi\n */\n public signUp(signUpUserDTO: SignUpUserDTO, options?: RawAxiosRequestConfig) {\n return AuthApiFp(this.configuration).signUp(signUpUserDTO, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * CashShiftsApi - axios parameter creator\n * @export\n */\nexport const CashShiftsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/cash-shifts`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/cash-shifts/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * CashShiftsApi - functional programming interface\n * @export\n */\nexport const CashShiftsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = CashShiftsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CashShiftDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CashShiftsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashShiftDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CashShiftsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * CashShiftsApi - factory interface\n * @export\n */\nexport const CashShiftsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = CashShiftsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<CashShiftDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<CashShiftDto> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * CashShiftsApi - object-oriented interface\n * @export\n * @class CashShiftsApi\n * @extends {BaseAPI}\n */\nexport class CashShiftsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CashShiftsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return CashShiftsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CashShiftsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return CashShiftsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * CategoriesApi - axios parameter creator\n * @export\n */\nexport const CategoriesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/categories`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/categories/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * CategoriesApi - functional programming interface\n * @export\n */\nexport const CategoriesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = CategoriesApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CategoriesApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Category>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['CategoriesApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * CategoriesApi - factory interface\n * @export\n */\nexport const CategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = CategoriesApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<object> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Category> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * CategoriesApi - object-oriented interface\n * @export\n * @class CategoriesApi\n * @extends {BaseAPI}\n */\nexport class CategoriesApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CategoriesApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return CategoriesApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof CategoriesApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return CategoriesApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * DashboardApi - axios parameter creator\n * @export\n */\nexport const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getStats: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/dashboard/stats`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DashboardApi - functional programming interface\n * @export\n */\nexport const DashboardApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardStatsDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getStats(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DashboardApi.getStats']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * DashboardApi - factory interface\n * @export\n */\nexport const DashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = DashboardApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getStats(options?: RawAxiosRequestConfig): AxiosPromise<DashboardStatsDto> {\n return localVarFp.getStats(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DashboardApi - object-oriented interface\n * @export\n * @class DashboardApi\n * @extends {BaseAPI}\n */\nexport class DashboardApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public getStats(options?: RawAxiosRequestConfig) {\n return DashboardApiFp(this.configuration).getStats(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * DishesApi - axios parameter creator\n * @export\n */\nexport const DishesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/dishes`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/dishes/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DishesApi - functional programming interface\n * @export\n */\nexport const DishesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = DishesApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Dish>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DishesApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Dish>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['DishesApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * DishesApi - factory interface\n * @export\n */\nexport const DishesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = DishesApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Dish>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Dish> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DishesApi - object-oriented interface\n * @export\n * @class DishesApi\n * @extends {BaseAPI}\n */\nexport class DishesApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DishesApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return DishesApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DishesApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return DishesApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * IngredientsApi - axios parameter creator\n * @export\n */\nexport const IngredientsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/ingredients`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/ingredients/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * IngredientsApi - functional programming interface\n * @export\n */\nexport const IngredientsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = IngredientsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Ingredient>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['IngredientsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Ingredient>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['IngredientsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * IngredientsApi - factory interface\n * @export\n */\nexport const IngredientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = IngredientsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Ingredient>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Ingredient> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * IngredientsApi - object-oriented interface\n * @export\n * @class IngredientsApi\n * @extends {BaseAPI}\n */\nexport class IngredientsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IngredientsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return IngredientsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IngredientsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return IngredientsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * InventoryApi - axios parameter creator\n * @export\n */\nexport const InventoryApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/inventory`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/inventory/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * InventoryApi - functional programming interface\n * @export\n */\nexport const InventoryApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = InventoryApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InventoryDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InventoryApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryDto>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InventoryApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * InventoryApi - factory interface\n * @export\n */\nexport const InventoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = InventoryApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<InventoryDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<InventoryDto> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * InventoryApi - object-oriented interface\n * @export\n * @class InventoryApi\n * @extends {BaseAPI}\n */\nexport class InventoryApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof InventoryApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return InventoryApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof InventoryApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return InventoryApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * MenuApi - axios parameter creator\n * @export\n */\nexport const MenuApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/menu`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MenuApi - functional programming interface\n * @export\n */\nexport const MenuApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MenuApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuItemDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MenuApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MenuApi - factory interface\n * @export\n */\nexport const MenuApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MenuApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<MenuItemDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * MenuApi - object-oriented interface\n * @export\n * @class MenuApi\n * @extends {BaseAPI}\n */\nexport class MenuApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof MenuApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return MenuApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * OrdersApi - axios parameter creator\n * @export\n */\nexport const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n create: async (createOrderDto: CreateOrderDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'createOrderDto' is not null or undefined\n assertParamExists('create', 'createOrderDto', createOrderDto)\n const localVarPath = `/orders`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createOrderDto, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (page?: number, limit?: number, status?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/orders`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/orders/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n removeActiveReceipt: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('removeActiveReceipt', 'id', id)\n const localVarPath = `/orders/remove-active-receipt/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n update: async (id: number, updateOrderDto: UpdateOrderDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('update', 'id', id)\n // verify required parameter 'updateOrderDto' is not null or undefined\n assertParamExists('update', 'updateOrderDto', updateOrderDto)\n const localVarPath = `/orders/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateOrderDto, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * OrdersApi - functional programming interface\n * @export\n */\nexport const OrdersApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.create(createOrderDto, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.create']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Order>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(page, limit, status, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async removeActiveReceipt(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.removeActiveReceipt(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.removeActiveReceipt']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.update(id, updateOrderDto, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['OrdersApi.update']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * OrdersApi - factory interface\n * @export\n */\nexport const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = OrdersApiFp(configuration)\n return {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.create(createOrderDto, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Order>> {\n return localVarFp.findAll(page, limit, status, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n removeActiveReceipt(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.removeActiveReceipt(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig): AxiosPromise<Order> {\n return localVarFp.update(id, updateOrderDto, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * OrdersApi - object-oriented interface\n * @export\n * @class OrdersApi\n * @extends {BaseAPI}\n */\nexport class OrdersApi extends BaseAPI {\n /**\n * \n * @param {CreateOrderDto} createOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public create(createOrderDto: CreateOrderDto, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).create(createOrderDto, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} [page] \n * @param {number} [limit] \n * @param {string} [status] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public findAll(page?: number, limit?: number, status?: string, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).findAll(page, limit, status, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public removeActiveReceipt(id: number, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).removeActiveReceipt(id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {UpdateOrderDto} updateOrderDto \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrdersApi\n */\n public update(id: number, updateOrderDto: UpdateOrderDto, options?: RawAxiosRequestConfig) {\n return OrdersApiFp(this.configuration).update(id, updateOrderDto, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * ProductsApi - axios parameter creator\n * @export\n */\nexport const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/products`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('findOne', 'id', id)\n const localVarPath = `/products/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ProductsApi - functional programming interface\n * @export\n */\nexport const ProductsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findOne(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Product>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findOne(id, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductsApi.findOne']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ProductsApi - factory interface\n * @export\n */\nexport const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ProductsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<Product>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findOne(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Product> {\n return localVarFp.findOne(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ProductsApi - object-oriented interface\n * @export\n * @class ProductsApi\n * @extends {BaseAPI}\n */\nexport class ProductsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ProductsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return ProductsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * \n * @param {number} id \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ProductsApi\n */\n public findOne(id: number, options?: RawAxiosRequestConfig) {\n return ProductsApiFp(this.configuration).findOne(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n/**\n * TransactionsApi - axios parameter creator\n * @export\n */\nexport const TransactionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/transactions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * TransactionsApi - functional programming interface\n * @export\n */\nexport const TransactionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = TransactionsApiAxiosParamCreator(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async findAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionDto>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.findAll(options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['TransactionsApi.findAll']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * TransactionsApi - factory interface\n * @export\n */\nexport const TransactionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = TransactionsApiFp(configuration)\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n findAll(options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionDto>> {\n return localVarFp.findAll(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * TransactionsApi - object-oriented interface\n * @export\n * @class TransactionsApi\n * @extends {BaseAPI}\n */\nexport class TransactionsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TransactionsApi\n */\n public findAll(options?: RawAxiosRequestConfig) {\n return TransactionsApiFp(this.configuration).findAll(options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Horpynka API\n * Backend API for Horpynka POS\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n * @memberof Configuration\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n username?: string;\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n * @memberof Configuration\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * override base path\n *\n * @type {string}\n * @memberof Configuration\n */\n basePath?: string;\n /**\n * override server index\n *\n * @type {number}\n * @memberof Configuration\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n *\n * @type {any}\n * @memberof Configuration\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = {\n ...param.baseOptions,\n headers: {\n ...param.baseOptions?.headers,\n },\n };\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\n","import axios, { AxiosInstance, CreateAxiosDefaults } from \"axios\";\nimport {\n AuthApi,\n CashShiftsApi,\n CategoriesApi,\n Configuration,\n DashboardApi,\n DishesApi,\n IngredientsApi,\n InventoryApi,\n MenuApi,\n OrdersApi,\n ProductsApi,\n TransactionsApi,\n} from \"../api/generated\";\nimport { QueryClient } from \"@tanstack/react-query\";\n\nexport let tanstackClient: QueryClient;\nexport let authApi: AuthApi;\nexport let cashShiftsApi: CashShiftsApi;\nexport let categoriesApi: CategoriesApi;\nexport let dashboardApi: DashboardApi;\nexport let dishesApi: DishesApi;\nexport let ingredientsApi: IngredientsApi;\nexport let inventoryApi: InventoryApi;\nexport let menuApi: MenuApi;\nexport let ordersApi: OrdersApi;\nexport let productsApi: ProductsApi;\nexport let transactionsApi: TransactionsApi;\n\nexport function initApiClient(config: CreateAxiosDefaults): AxiosInstance {\n const apiClient = axios.create({\n baseURL: config.baseURL,\n timeout: config.timeout ?? 10_000,\n });\n\n const configuration = new Configuration({\n basePath: config.baseURL,\n });\n\n tanstackClient = new QueryClient();\n authApi = new AuthApi(configuration, undefined, apiClient);\n cashShiftsApi = new CashShiftsApi(configuration, undefined, apiClient);\n categoriesApi = new CategoriesApi(configuration, undefined, apiClient);\n dashboardApi = new DashboardApi(configuration, undefined, apiClient);\n dishesApi = new DishesApi(configuration, undefined, apiClient);\n ingredientsApi = new IngredientsApi(configuration, undefined, apiClient);\n inventoryApi = new InventoryApi(configuration, undefined, apiClient);\n menuApi = new MenuApi(configuration, undefined, apiClient);\n ordersApi = new OrdersApi(configuration, undefined, apiClient);\n productsApi = new ProductsApi(configuration, undefined, apiClient);\n transactionsApi = new TransactionsApi(configuration, undefined, apiClient);\n\n return apiClient;\n}\n","import { useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport { authApi } from \"../client\"\nimport { SignInUserDTO, SignUpUserDTO } from \"../api/generated\"\n\nexport const useAuthApi = () => {\n const queryClient = useQueryClient()\n\n const mutateRefresh = useMutation({\n mutationFn: ({ onSettledCallback }: { onSettledCallback?: () => void } = {}) =>\n authApi.refresh(),\n onSettled: (_data, _error, variables) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n variables?.onSettledCallback && variables.onSettledCallback()\n },\n })\n\n const mutateSignIn = useMutation({\n mutationFn: ({ params: { signInUserDTO } }: { params: { signInUserDTO: SignInUserDTO }; onSettledCallback?: () => void }) =>\n authApi.signIn(signInUserDTO),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateSignUp = useMutation({\n mutationFn: ({ params: { signUpUserDTO } }: { params: { signUpUserDTO: SignUpUserDTO }; onSettledCallback?: () => void }) =>\n authApi.signUp(signUpUserDTO),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"auth\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n return {\n mutateRefresh,\n mutateSignIn,\n mutateSignUp,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { cashShiftsApi } from \"../client\"\n\nconst getCashShiftsQuery = () =>\n queryOptions({\n queryKey: [\"cash-shifts\"],\n queryFn: () =>\n cashShiftsApi\n .findAll()\n .then((res) => res.data),\n })\n\nconst getCashShiftQuery = (id: number) =>\n queryOptions({\n queryKey: [\"cash-shifts\", id],\n queryFn: () =>\n cashShiftsApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useCashShiftsApi = () => {\n return {\n getCashShiftsQuery,\n getCashShiftQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { categoriesApi } from \"../client\"\n\nconst getCategoriesQuery = () =>\n queryOptions({\n queryKey: [\"categories\"],\n queryFn: () =>\n categoriesApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useCategoriesApi = () => {\n return {\n getCategoriesQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { dashboardApi } from \"../client\"\n\nconst getStatsQuery = () =>\n queryOptions({\n queryKey: [\"dashboard\"],\n queryFn: () =>\n dashboardApi\n .getStats()\n .then((res) => res.data),\n })\n\nexport const useDashboardApi = () => {\n return {\n getStatsQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { dishesApi } from \"../client\"\n\nconst getDishesQuery = () =>\n queryOptions({\n queryKey: [\"dishes\"],\n queryFn: () =>\n dishesApi\n .findAll()\n .then((res) => res.data),\n })\n\nconst getDishQuery = (id: number) =>\n queryOptions({\n queryKey: [\"dishes\", id],\n queryFn: () =>\n dishesApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useDishesApi = () => {\n return {\n getDishesQuery,\n getDishQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { ingredientsApi } from \"../client\"\n\nconst getIngredientsQuery = () =>\n queryOptions({\n queryKey: [\"ingredients\"],\n queryFn: () =>\n ingredientsApi\n .findAll()\n .then((res) => res.data),\n })\n\nconst getIngredientQuery = (id: number) =>\n queryOptions({\n queryKey: [\"ingredients\", id],\n queryFn: () =>\n ingredientsApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useIngredientsApi = () => {\n return {\n getIngredientsQuery,\n getIngredientQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { inventoryApi } from \"../client\"\n\nconst getInventoriesQuery = () =>\n queryOptions({\n queryKey: [\"inventory\"],\n queryFn: () =>\n inventoryApi\n .findAll()\n .then((res) => res.data),\n })\n\nconst getInventoryQuery = (id: number) =>\n queryOptions({\n queryKey: [\"inventory\", id],\n queryFn: () =>\n inventoryApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useInventoryApi = () => {\n return {\n getInventoriesQuery,\n getInventoryQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { menuApi } from \"../client\"\n\nconst getMenuQuery = () =>\n queryOptions({\n queryKey: [\"menu\"],\n queryFn: () =>\n menuApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useMenuApi = () => {\n return {\n getMenuQuery,\n }\n}\n","import { queryOptions, useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport { ordersApi } from \"../client\"\nimport { CreateOrderDto, UpdateOrderDto } from \"../api/generated\"\n\nconst getOrdersQuery = (params?: {\n page?: number\n limit?: number\n status?: string\n}) =>\n queryOptions({\n queryKey: [\"orders\", params],\n queryFn: () =>\n ordersApi\n .findAll(params?.page, params?.limit, params?.status)\n .then((res) => res.data),\n })\n\nconst getOrderQuery = (id: number) =>\n queryOptions({\n queryKey: [\"orders\", id],\n queryFn: () =>\n ordersApi\n .findOne(id)\n .then((res) => res.data),\n })\n\nexport const useOrdersApi = () => {\n const queryClient = useQueryClient()\n\n const mutateCreateOrder = useMutation({\n mutationFn: ({ params: { createOrderDto } }: { params: { createOrderDto: CreateOrderDto }; onSettledCallback?: () => void }) =>\n ordersApi.create(createOrderDto),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateUpdateOrder = useMutation({\n mutationFn: ({ params: { id, updateOrderDto } }: { params: { id: number; updateOrderDto: UpdateOrderDto }; onSettledCallback?: () => void }) =>\n ordersApi.update(id, updateOrderDto),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n const mutateDeleteReceipt = useMutation({\n mutationFn: ({ params: { id } }: { params: { id: number }; onSettledCallback?: () => void }) =>\n ordersApi.removeActiveReceipt(id),\n onSettled: (_data, _error, { onSettledCallback }) => {\n queryClient.invalidateQueries({ queryKey: [\"orders\"] })\n onSettledCallback && onSettledCallback()\n },\n })\n\n return {\n getOrdersQuery,\n getOrderQuery,\n mutateCreateOrder,\n mutateUpdateOrder,\n mutateDeleteReceipt,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { productsApi } from \"../client\"\n\nconst getProductsQuery = () =>\n queryOptions({\n queryKey: [\"products\"],\n queryFn: () =>\n productsApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useProductsApi = () => {\n return {\n getProductsQuery,\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\nimport { transactionsApi } from \"../client\"\n\nconst getTransactionsQuery = () =>\n queryOptions({\n queryKey: [\"transactions\"],\n queryFn: () =>\n transactionsApi\n .findAll()\n .then((res) => res.data),\n })\n\nexport const useTransactionsApi = () => {\n return {\n getTransactionsQuery,\n }\n}\n"]}