1 |
394f2d16
|
Vaclav Honzik
|
/* 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 { PathDto } from "./data-contracts";
|
13 |
4996b85f
|
Schwobik
|
import { ContentType, HttpClient, RequestParams } from "./http-client";
|
14 |
394f2d16
|
Vaclav Honzik
|
|
15 |
|
|
export class Path<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
16 |
|
|
/**
|
17 |
|
|
* No description
|
18 |
|
|
*
|
19 |
|
|
* @tags path-controller
|
20 |
|
|
* @name GetPath
|
21 |
4996b85f
|
Schwobik
|
* @summary returns path with highlighted text and found catalog items based on given text
|
22 |
|
|
* @request POST:/path
|
23 |
394f2d16
|
Vaclav Honzik
|
*/
|
24 |
4996b85f
|
Schwobik
|
getPath = (data: PathDto, params: RequestParams = {}) =>
|
25 |
394f2d16
|
Vaclav Honzik
|
this.request<PathDto, any>({
|
26 |
|
|
path: `/path`,
|
27 |
4996b85f
|
Schwobik
|
method: "POST",
|
28 |
|
|
body: data,
|
29 |
|
|
type: ContentType.Json,
|
30 |
394f2d16
|
Vaclav Honzik
|
...params,
|
31 |
|
|
});
|
32 |
|
|
}
|