@@ -790,7 +790,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
790
790
* @param {* } [options] Override http request option.
791
791
* @throws {RequiredError }
792
792
*/
793
- addPet ( body : Pet , options ?: any ) {
793
+ addPet ( body : Pet , options ?: any ) : AxiosPromise < void > {
794
794
return PetApiFp ( configuration ) . addPet ( body , options ) ( axios , basePath ) ;
795
795
} ,
796
796
/**
@@ -801,7 +801,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
801
801
* @param {* } [options] Override http request option.
802
802
* @throws {RequiredError }
803
803
*/
804
- deletePet ( petId : number , apiKey ?: string , options ?: any ) {
804
+ deletePet ( petId : number , apiKey ?: string , options ?: any ) : AxiosPromise < void > {
805
805
return PetApiFp ( configuration ) . deletePet ( petId , apiKey , options ) ( axios , basePath ) ;
806
806
} ,
807
807
/**
@@ -811,7 +811,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
811
811
* @param {* } [options] Override http request option.
812
812
* @throws {RequiredError }
813
813
*/
814
- findPetsByStatus ( status : Array < 'available' | 'pending' | 'sold' > , options ?: any ) {
814
+ findPetsByStatus ( status : Array < 'available' | 'pending' | 'sold' > , options ?: any ) : AxiosPromise < Array < Pet > > {
815
815
return PetApiFp ( configuration ) . findPetsByStatus ( status , options ) ( axios , basePath ) ;
816
816
} ,
817
817
/**
@@ -821,7 +821,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
821
821
* @param {* } [options] Override http request option.
822
822
* @throws {RequiredError }
823
823
*/
824
- findPetsByTags ( tags : Array < string > , options ?: any ) {
824
+ findPetsByTags ( tags : Array < string > , options ?: any ) : AxiosPromise < Array < Pet > > {
825
825
return PetApiFp ( configuration ) . findPetsByTags ( tags , options ) ( axios , basePath ) ;
826
826
} ,
827
827
/**
@@ -831,7 +831,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
831
831
* @param {* } [options] Override http request option.
832
832
* @throws {RequiredError }
833
833
*/
834
- getPetById ( petId : number , options ?: any ) {
834
+ getPetById ( petId : number , options ?: any ) : AxiosPromise < Pet > {
835
835
return PetApiFp ( configuration ) . getPetById ( petId , options ) ( axios , basePath ) ;
836
836
} ,
837
837
/**
@@ -841,7 +841,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
841
841
* @param {* } [options] Override http request option.
842
842
* @throws {RequiredError }
843
843
*/
844
- updatePet ( body : Pet , options ?: any ) {
844
+ updatePet ( body : Pet , options ?: any ) : AxiosPromise < void > {
845
845
return PetApiFp ( configuration ) . updatePet ( body , options ) ( axios , basePath ) ;
846
846
} ,
847
847
/**
@@ -853,7 +853,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
853
853
* @param {* } [options] Override http request option.
854
854
* @throws {RequiredError }
855
855
*/
856
- updatePetWithForm ( petId : number , name ?: string , status ?: string , options ?: any ) {
856
+ updatePetWithForm ( petId : number , name ?: string , status ?: string , options ?: any ) : AxiosPromise < void > {
857
857
return PetApiFp ( configuration ) . updatePetWithForm ( petId , name , status , options ) ( axios , basePath ) ;
858
858
} ,
859
859
/**
@@ -865,7 +865,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
865
865
* @param {* } [options] Override http request option.
866
866
* @throws {RequiredError }
867
867
*/
868
- uploadFile ( petId : number , additionalMetadata ?: string , file ?: any , options ?: any ) {
868
+ uploadFile ( petId : number , additionalMetadata ?: string , file ?: any , options ?: any ) : AxiosPromise < ApiResponse > {
869
869
return PetApiFp ( configuration ) . uploadFile ( petId , additionalMetadata , file , options ) ( axios , basePath ) ;
870
870
} ,
871
871
} ;
@@ -1213,7 +1213,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
1213
1213
* @param {* } [options] Override http request option.
1214
1214
* @throws {RequiredError }
1215
1215
*/
1216
- deleteOrder ( orderId : string , options ?: any ) {
1216
+ deleteOrder ( orderId : string , options ?: any ) : AxiosPromise < void > {
1217
1217
return StoreApiFp ( configuration ) . deleteOrder ( orderId , options ) ( axios , basePath ) ;
1218
1218
} ,
1219
1219
/**
@@ -1222,7 +1222,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
1222
1222
* @param {* } [options] Override http request option.
1223
1223
* @throws {RequiredError }
1224
1224
*/
1225
- getInventory ( options ?: any ) {
1225
+ getInventory ( options ?: any ) : AxiosPromise < { [ key : string ] : number ; } > {
1226
1226
return StoreApiFp ( configuration ) . getInventory ( options ) ( axios , basePath ) ;
1227
1227
} ,
1228
1228
/**
@@ -1232,7 +1232,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
1232
1232
* @param {* } [options] Override http request option.
1233
1233
* @throws {RequiredError }
1234
1234
*/
1235
- getOrderById ( orderId : number , options ?: any ) {
1235
+ getOrderById ( orderId : number , options ?: any ) : AxiosPromise < Order > {
1236
1236
return StoreApiFp ( configuration ) . getOrderById ( orderId , options ) ( axios , basePath ) ;
1237
1237
} ,
1238
1238
/**
@@ -1242,7 +1242,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
1242
1242
* @param {* } [options] Override http request option.
1243
1243
* @throws {RequiredError }
1244
1244
*/
1245
- placeOrder ( body : Order , options ?: any ) {
1245
+ placeOrder ( body : Order , options ?: any ) : AxiosPromise < Order > {
1246
1246
return StoreApiFp ( configuration ) . placeOrder ( body , options ) ( axios , basePath ) ;
1247
1247
} ,
1248
1248
} ;
@@ -1753,7 +1753,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1753
1753
* @param {* } [options] Override http request option.
1754
1754
* @throws {RequiredError }
1755
1755
*/
1756
- createUser ( body : User , options ?: any ) {
1756
+ createUser ( body : User , options ?: any ) : AxiosPromise < void > {
1757
1757
return UserApiFp ( configuration ) . createUser ( body , options ) ( axios , basePath ) ;
1758
1758
} ,
1759
1759
/**
@@ -1763,7 +1763,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1763
1763
* @param {* } [options] Override http request option.
1764
1764
* @throws {RequiredError }
1765
1765
*/
1766
- createUsersWithArrayInput ( body : Array < User > , options ?: any ) {
1766
+ createUsersWithArrayInput ( body : Array < User > , options ?: any ) : AxiosPromise < void > {
1767
1767
return UserApiFp ( configuration ) . createUsersWithArrayInput ( body , options ) ( axios , basePath ) ;
1768
1768
} ,
1769
1769
/**
@@ -1773,7 +1773,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1773
1773
* @param {* } [options] Override http request option.
1774
1774
* @throws {RequiredError }
1775
1775
*/
1776
- createUsersWithListInput ( body : Array < User > , options ?: any ) {
1776
+ createUsersWithListInput ( body : Array < User > , options ?: any ) : AxiosPromise < void > {
1777
1777
return UserApiFp ( configuration ) . createUsersWithListInput ( body , options ) ( axios , basePath ) ;
1778
1778
} ,
1779
1779
/**
@@ -1783,7 +1783,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1783
1783
* @param {* } [options] Override http request option.
1784
1784
* @throws {RequiredError }
1785
1785
*/
1786
- deleteUser ( username : string , options ?: any ) {
1786
+ deleteUser ( username : string , options ?: any ) : AxiosPromise < void > {
1787
1787
return UserApiFp ( configuration ) . deleteUser ( username , options ) ( axios , basePath ) ;
1788
1788
} ,
1789
1789
/**
@@ -1793,7 +1793,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1793
1793
* @param {* } [options] Override http request option.
1794
1794
* @throws {RequiredError }
1795
1795
*/
1796
- getUserByName ( username : string , options ?: any ) {
1796
+ getUserByName ( username : string , options ?: any ) : AxiosPromise < User > {
1797
1797
return UserApiFp ( configuration ) . getUserByName ( username , options ) ( axios , basePath ) ;
1798
1798
} ,
1799
1799
/**
@@ -1804,7 +1804,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1804
1804
* @param {* } [options] Override http request option.
1805
1805
* @throws {RequiredError }
1806
1806
*/
1807
- loginUser ( username : string , password : string , options ?: any ) {
1807
+ loginUser ( username : string , password : string , options ?: any ) : AxiosPromise < string > {
1808
1808
return UserApiFp ( configuration ) . loginUser ( username , password , options ) ( axios , basePath ) ;
1809
1809
} ,
1810
1810
/**
@@ -1813,7 +1813,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1813
1813
* @param {* } [options] Override http request option.
1814
1814
* @throws {RequiredError }
1815
1815
*/
1816
- logoutUser ( options ?: any ) {
1816
+ logoutUser ( options ?: any ) : AxiosPromise < void > {
1817
1817
return UserApiFp ( configuration ) . logoutUser ( options ) ( axios , basePath ) ;
1818
1818
} ,
1819
1819
/**
@@ -1824,7 +1824,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1824
1824
* @param {* } [options] Override http request option.
1825
1825
* @throws {RequiredError }
1826
1826
*/
1827
- updateUser ( username : string , body : User , options ?: any ) {
1827
+ updateUser ( username : string , body : User , options ?: any ) : AxiosPromise < void > {
1828
1828
return UserApiFp ( configuration ) . updateUser ( username , body , options ) ( axios , basePath ) ;
1829
1829
} ,
1830
1830
} ;
0 commit comments