@@ -3461,7 +3461,7 @@ export class ApiClient {
3461
3461
path : Path ,
3462
3462
...params : MaybeOptionalArg < z . infer < TEndpoint [ "parameters" ] > >
3463
3463
) : Promise < z . infer < TEndpoint [ "response" ] > > {
3464
- return this . fetcher ( "get" , this . baseUrl + path , params [ 0 ] ) as Promise < TEndpoint [ "response" ] > ;
3464
+ return this . fetcher ( "get" , this . baseUrl + path , params [ 0 ] ) as Promise < z . infer < TEndpoint [ "response" ] > > ;
3465
3465
}
3466
3466
// </ApiClient.get>
3467
3467
@@ -3470,7 +3470,7 @@ export class ApiClient {
3470
3470
path : Path ,
3471
3471
...params : MaybeOptionalArg < z . infer < TEndpoint [ "parameters" ] > >
3472
3472
) : Promise < z . infer < TEndpoint [ "response" ] > > {
3473
- return this . fetcher ( "post" , this . baseUrl + path , params [ 0 ] ) as Promise < TEndpoint [ "response" ] > ;
3473
+ return this . fetcher ( "post" , this . baseUrl + path , params [ 0 ] ) as Promise < z . infer < TEndpoint [ "response" ] > > ;
3474
3474
}
3475
3475
// </ApiClient.post>
3476
3476
@@ -3479,7 +3479,7 @@ export class ApiClient {
3479
3479
path : Path ,
3480
3480
...params : MaybeOptionalArg < z . infer < TEndpoint [ "parameters" ] > >
3481
3481
) : Promise < z . infer < TEndpoint [ "response" ] > > {
3482
- return this . fetcher ( "delete" , this . baseUrl + path , params [ 0 ] ) as Promise < TEndpoint [ "response" ] > ;
3482
+ return this . fetcher ( "delete" , this . baseUrl + path , params [ 0 ] ) as Promise < z . infer < TEndpoint [ "response" ] > > ;
3483
3483
}
3484
3484
// </ApiClient.delete>
3485
3485
@@ -3488,7 +3488,7 @@ export class ApiClient {
3488
3488
path : Path ,
3489
3489
...params : MaybeOptionalArg < z . infer < TEndpoint [ "parameters" ] > >
3490
3490
) : Promise < z . infer < TEndpoint [ "response" ] > > {
3491
- return this . fetcher ( "put" , this . baseUrl + path , params [ 0 ] ) as Promise < TEndpoint [ "response" ] > ;
3491
+ return this . fetcher ( "put" , this . baseUrl + path , params [ 0 ] ) as Promise < z . infer < TEndpoint [ "response" ] > > ;
3492
3492
}
3493
3493
// </ApiClient.put>
3494
3494
@@ -3497,7 +3497,7 @@ export class ApiClient {
3497
3497
path : Path ,
3498
3498
...params : MaybeOptionalArg < z . infer < TEndpoint [ "parameters" ] > >
3499
3499
) : Promise < z . infer < TEndpoint [ "response" ] > > {
3500
- return this . fetcher ( "head" , this . baseUrl + path , params [ 0 ] ) as Promise < TEndpoint [ "response" ] > ;
3500
+ return this . fetcher ( "head" , this . baseUrl + path , params [ 0 ] ) as Promise < z . infer < TEndpoint [ "response" ] > > ;
3501
3501
}
3502
3502
// </ApiClient.head>
3503
3503
}
0 commit comments