/** * Swagger Petstore - OpenAPI 3.0Lib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, FileWrapper, RequestOptions } from '../core'; import { Category } from '../models/category'; import { Pet } from '../models/pet'; import { PetImage } from '../models/petImage'; import { PetStatusEnum } from '../models/petStatusEnum'; import { StatusEnum } from '../models/statusEnum'; import { Tag } from '../models/tag'; import { BaseController } from './baseController'; export declare class PetController extends BaseController { /** * Update an existing pet by Id * * @param name * @param photoUrls * @param id * @param category * @param tags * @param petStatus pet status in the store * @return Response from the API call */ updatePet(name: string, photoUrls: string[], id?: bigint, category?: Category, tags?: Tag[], petStatus?: PetStatusEnum, requestOptions?: RequestOptions): Promise>; /** * Add a new pet to the store * * @param name * @param photoUrls * @param id * @param category * @param tags * @param petStatus pet status in the store * @return Response from the API call */ addPet(name: string, photoUrls: string[], id?: bigint, category?: Category, tags?: Tag[], petStatus?: PetStatusEnum, requestOptions?: RequestOptions): Promise>; /** * Multiple status values can be provided with comma separated strings * * @param status Status values that need to be considered for filter * @return Response from the API call */ findPetsByStatus(status?: StatusEnum, requestOptions?: RequestOptions): Promise>; /** * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. * * @param tags Tags to filter by * @return Response from the API call */ findPetsByTags(tags?: string[], requestOptions?: RequestOptions): Promise>; /** * Returns a single pet * * @param petId ID of pet to return * @return Response from the API call */ getPetById(petId: bigint, requestOptions?: RequestOptions): Promise>; /** * Updates a pet in the store with form data * * @param petId ID of pet that needs to be updated * @param name Name of pet that needs to be updated * @param status Status of pet that needs to be updated * @return Response from the API call */ updatePetWithForm(petId: bigint, name?: string, status?: string, requestOptions?: RequestOptions): Promise>; /** * delete a pet * * @param petId Pet id to delete * @param apiKey * @return Response from the API call */ deletePet(petId: bigint, apiKey?: string, requestOptions?: RequestOptions): Promise>; /** * uploads an image * * @param petId ID of pet to update * @param additionalMetadata Additional Metadata * @param body * @return Response from the API call */ uploadFile(petId: bigint, additionalMetadata?: string, body?: FileWrapper, requestOptions?: RequestOptions): Promise>; }