Projekt

Obecné

Profil

Stáhnout (1.34 KB) Statistiky
| Větev: | Tag: | Revize:
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 { TitlePageDto } from "./data-contracts";
13
import { ContentType, HttpClient, RequestParams } from "./http-client";
14

    
15
export class TitlePage<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
16
  /**
17
   * No description
18
   *
19
   * @tags title-page-controller
20
   * @name GetTitlePage
21
   * @summary returns title page
22
   * @request GET:/title-page
23
   */
24
  getTitlePage = (params: RequestParams = {}) =>
25
    this.request<TitlePageDto, any>({
26
      path: `/title-page`,
27
      method: "GET",
28
      ...params,
29
    });
30
  /**
31
   * No description
32
   *
33
   * @tags title-page-controller
34
   * @name UpdateTitlePage
35
   * @summary updates/creates title page
36
   * @request POST:/title-page
37
   */
38
  updateTitlePage = (data: TitlePageDto, params: RequestParams = {}) =>
39
    this.request<void, any>({
40
      path: `/title-page`,
41
      method: "POST",
42
      body: data,
43
      type: ContentType.Json,
44
      ...params,
45
    });
46
}
(5-5/8)