/** * Swagger Petstore - OpenAPI 3.0Lib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core.js'; import { User } from '../models/user.js'; import { BaseApi } from './baseApi.js'; export declare class UserApi extends BaseApi { /** * This can only be done by the logged in user. * * @param id * @param username * @param firstName * @param lastName * @param email * @param password * @param phone * @param userStatus User Status * @return Response from the API call */ createUser(id?: bigint, username?: string, firstName?: string, lastName?: string, email?: string, password?: string, phone?: string, userStatus?: number, requestOptions?: RequestOptions): Promise>; /** * Creates list of users with given input array. * * @param body * @return Response from the API call */ createUsersWithListInput(body?: User[], requestOptions?: RequestOptions): Promise>; /** * Log into the system. * * @param username The user name for login * @param password The password for login in clear text * @return Response from the API call */ loginUser(username?: string, password?: string, requestOptions?: RequestOptions): Promise>; /** * Log user out of the system. * * @return Response from the API call */ logoutUser(requestOptions?: RequestOptions): Promise>; /** * Get user detail based on username. * * @param usersname The username that needs to be processed * @return Response from the API call */ getUserByName(usersname: string, requestOptions?: RequestOptions): Promise>; /** * This can only be done by the logged in user. * * @param usersname The username that needs to be processed * @param id * @param username * @param firstName * @param lastName * @param email * @param password * @param phone * @param userStatus User Status * @return Response from the API call */ updateUser(usersname: string, id?: bigint, username?: string, firstName?: string, lastName?: string, email?: string, password?: string, phone?: string, userStatus?: number, requestOptions?: RequestOptions): Promise>; /** * This can only be done by the logged in user. * * @param usersname The username that needs to be processed * @return Response from the API call */ deleteUser(usersname: string, requestOptions?: RequestOptions): Promise>; } //# sourceMappingURL=userApi.d.ts.map