1 |
c7d2ced1
|
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 { HttpClient, RequestParams } from "./http-client";
|
13 |
|
|
|
14 |
|
|
export class Token<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
15 |
|
|
/**
|
16 |
|
|
* No description
|
17 |
|
|
*
|
18 |
|
|
* @tags user-controller
|
19 |
|
|
* @name RefreshToken
|
20 |
|
|
* @request GET:/token/refresh
|
21 |
|
|
*/
|
22 |
|
|
refreshToken = (params: RequestParams = {}) =>
|
23 |
|
|
this.request<void, any>({
|
24 |
|
|
path: `/token/refresh`,
|
25 |
|
|
method: "GET",
|
26 |
|
|
...params,
|
27 |
|
|
});
|
28 |
|
|
}
|