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