1 |
2a34f0e1
|
Václav Honzík
|
/* eslint-disable */
|
2 |
|
|
/* tslint:disable */
|
3 |
|
|
/*
|
4 |
|
|
* ---------------------------------------------------------------
|
5 |
|
|
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
6 |
|
|
* ## ##
|
7 |
|
|
* ## AUTHOR: acacode ##
|
8 |
|
|
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
9 |
|
|
* ---------------------------------------------------------------
|
10 |
|
|
*/
|
11 |
|
|
|
12 |
|
|
import { UserDto } from "./data-contracts";
|
13 |
|
|
import { HttpClient, RequestParams } from "./http-client";
|
14 |
|
|
|
15 |
|
|
export class Users<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
16 |
|
|
/**
|
17 |
|
|
* No description
|
18 |
|
|
*
|
19 |
|
|
* @tags user-controller
|
20 |
|
|
* @name GetAllUsers
|
21 |
|
|
* @request GET:/users
|
22 |
|
|
*/
|
23 |
|
|
getAllUsers = (params: RequestParams = {}) =>
|
24 |
|
|
this.request<UserDto[], any>({
|
25 |
|
|
path: `/users`,
|
26 |
|
|
method: "GET",
|
27 |
|
|
...params,
|
28 |
|
|
});
|
29 |
|
|
}
|