/** * Swagger Petstore - OpenAPI 3.0Lib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core'; import { User } from '../models/user'; import { BaseController } from './baseController'; export declare class UserController extends BaseController { /** * 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>; /** * Logs user 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>; /** * Logs out current logged in user session * * @return Response from the API call */ logoutUser(requestOptions?: RequestOptions): Promise>; /** * Get user by user name * * @param name The name that needs to be fetched. Use user1 for testing. * @return Response from the API call */ getUserByName(name: string, requestOptions?: RequestOptions): Promise>; /** * This can only be done by the logged in user. * * @param name name that need to be deleted * @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(name: 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 name The name that needs to be deleted * @return Response from the API call */ deleteUser(name: string, requestOptions?: RequestOptions): Promise>; }