UNPKG

3.96 kBTypeScriptView Raw
1/**
2 * LIFF server API
3 * LIFF Server API.
4 *
5 * The version of the OpenAPI document: 1.0.0
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12import { AddLiffAppRequest } from "../model/addLiffAppRequest";
13import { AddLiffAppResponse } from "../model/addLiffAppResponse";
14import { GetAllLiffAppsResponse } from "../model/getAllLiffAppsResponse";
15import { UpdateLiffAppRequest } from "../model/updateLiffAppRequest";
16import * as Types from "../../types";
17interface httpClientConfig {
18 baseURL?: string;
19 channelAccessToken: string;
20}
21export declare class LiffClient {
22 private httpClient;
23 constructor(config: httpClientConfig);
24 private parseHTTPResponse;
25 /**
26 * Adding the LIFF app to a channel
27 * @param addLiffAppRequest
28 *
29 * @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app"> Documentation</a>
30 */
31 addLIFFApp(addLiffAppRequest: AddLiffAppRequest): Promise<AddLiffAppResponse>;
32 /**
33 * Adding the LIFF app to a channel.
34 * This method includes HttpInfo object to return additional information.
35 * @param addLiffAppRequest
36 *
37 * @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app"> Documentation</a>
38 */
39 addLIFFAppWithHttpInfo(addLiffAppRequest: AddLiffAppRequest): Promise<Types.ApiResponseType<AddLiffAppResponse>>;
40 /**
41 * Deletes a LIFF app from a channel.
42 * @summary Delete LIFF app from a channel
43 * @param liffId ID of the LIFF app to be updated
44 *
45 * @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">Delete LIFF app from a channel Documentation</a>
46 */
47 deleteLIFFApp(liffId: string): Promise<Types.MessageAPIResponseBase>;
48 /**
49 * Deletes a LIFF app from a channel. .
50 * This method includes HttpInfo object to return additional information.
51 * @summary Delete LIFF app from a channel
52 * @param liffId ID of the LIFF app to be updated
53 *
54 * @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">Delete LIFF app from a channel Documentation</a>
55 */
56 deleteLIFFAppWithHttpInfo(liffId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
57 /**
58 * Gets information on all the LIFF apps added to the channel.
59 * @summary Get all LIFF apps
60 *
61 * @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">Get all LIFF apps Documentation</a>
62 */
63 getAllLIFFApps(): Promise<GetAllLiffAppsResponse>;
64 /**
65 * Gets information on all the LIFF apps added to the channel..
66 * This method includes HttpInfo object to return additional information.
67 * @summary Get all LIFF apps
68 *
69 * @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">Get all LIFF apps Documentation</a>
70 */
71 getAllLIFFAppsWithHttpInfo(): Promise<Types.ApiResponseType<GetAllLiffAppsResponse>>;
72 /**
73 * Update LIFF app settings
74 * @param liffId ID of the LIFF app to be updated
75 * @param updateLiffAppRequest
76 *
77 * @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app"> Documentation</a>
78 */
79 updateLIFFApp(liffId: string, updateLiffAppRequest: UpdateLiffAppRequest): Promise<Types.MessageAPIResponseBase>;
80 /**
81 * Update LIFF app settings.
82 * This method includes HttpInfo object to return additional information.
83 * @param liffId ID of the LIFF app to be updated
84 * @param updateLiffAppRequest
85 *
86 * @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app"> Documentation</a>
87 */
88 updateLIFFAppWithHttpInfo(liffId: string, updateLiffAppRequest: UpdateLiffAppRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
89}
90export {};