1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | import { AddLiffAppRequest } from "../model/addLiffAppRequest.js";
|
13 | import { AddLiffAppResponse } from "../model/addLiffAppResponse.js";
|
14 | import { GetAllLiffAppsResponse } from "../model/getAllLiffAppsResponse.js";
|
15 | import { UpdateLiffAppRequest } from "../model/updateLiffAppRequest.js";
|
16 | import * as Types from "../../types.js";
|
17 | interface httpClientConfig {
|
18 | baseURL?: string;
|
19 | channelAccessToken: string;
|
20 | }
|
21 | export 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 | }
|
90 | export {};
|
91 |
|
\ | No newline at end of file |