import { emptySplitApi as api } from "./emptyApi"; const injectedRtkApi = api.injectEndpoints({ endpoints: (build) => ({ updatePet: build.mutation<UpdatePetApiResponse, UpdatePetApiArg>({ query: (queryArg) => ({ url: `/pet`, method: "PUT", body: queryArg.pet }), }), addPet: build.mutation<AddPetApiResponse, AddPetApiArg>({ query: (queryArg) => ({ url: `/pet`, method: "POST", body: queryArg.pet, })

