/** * Swagger Petstore - OpenAPI 3.0Lib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, FileWrapper, RequestOptions } from '../core.js'; import { Category } from '../models/category.js'; import { MApiResponse } from '../models/mApiResponse.js'; import { Pet } from '../models/pet.js'; import { PetStatus } from '../models/petStatus.js'; import { Tag } from '../models/tag.js'; import { BaseApi } from './baseApi.js'; export declare class PetApi extends BaseApi { /** * Update an existing pet by Id. * * @param name * @param photoUrls * @param id * @param category * @param tags * @param status pet status in the store * @return Response from the API call */ updatePet(name: string, photoUrls: string[], id?: bigint, category?: Category, tags?: Tag[], status?: PetStatus, requestOptions?: RequestOptions): Promise>; /** * Add a new pet to the store. * * @param name * @param photoUrls * @param id * @param category * @param tags * @param status pet status in the store * @return Response from the API call */ addPet(name: string, photoUrls: string[], id?: bigint, category?: Category, tags?: Tag[], status?: PetStatus, 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?: PetStatus, 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 resource based on the 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>; /** * Upload image of the pet. * * @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>; } //# sourceMappingURL=petApi.d.ts.map