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 | * @summary Create LIFF app
|
28 | * @param addLiffAppRequest
|
29 | *
|
30 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">Create LIFF app Documentation</a>
|
31 | */
|
32 | addLIFFApp(addLiffAppRequest: AddLiffAppRequest): Promise<AddLiffAppResponse>;
|
33 | /**
|
34 | * Adding the LIFF app to a channel.
|
35 | * This method includes HttpInfo object to return additional information.
|
36 | * @summary Create LIFF app
|
37 | * @param addLiffAppRequest
|
38 | *
|
39 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#add-liff-app">Create LIFF app Documentation</a>
|
40 | */
|
41 | addLIFFAppWithHttpInfo(addLiffAppRequest: AddLiffAppRequest): Promise<Types.ApiResponseType<AddLiffAppResponse>>;
|
42 | /**
|
43 | * Deletes a LIFF app from a channel.
|
44 | * @summary Delete LIFF app from a channel
|
45 | * @param liffId ID of the LIFF app to be updated
|
46 | *
|
47 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">Delete LIFF app from a channel Documentation</a>
|
48 | */
|
49 | deleteLIFFApp(liffId: string): Promise<Types.MessageAPIResponseBase>;
|
50 | /**
|
51 | * Deletes a LIFF app from a channel. .
|
52 | * This method includes HttpInfo object to return additional information.
|
53 | * @summary Delete LIFF app from a channel
|
54 | * @param liffId ID of the LIFF app to be updated
|
55 | *
|
56 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#delete-liff-app">Delete LIFF app from a channel Documentation</a>
|
57 | */
|
58 | deleteLIFFAppWithHttpInfo(liffId: string): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
|
59 | /**
|
60 | * Gets information on all the LIFF apps added to the channel.
|
61 | * @summary Get all LIFF apps
|
62 | *
|
63 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">Get all LIFF apps Documentation</a>
|
64 | */
|
65 | getAllLIFFApps(): Promise<GetAllLiffAppsResponse>;
|
66 | /**
|
67 | * Gets information on all the LIFF apps added to the channel..
|
68 | * This method includes HttpInfo object to return additional information.
|
69 | * @summary Get all LIFF apps
|
70 | *
|
71 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#get-all-liff-apps">Get all LIFF apps Documentation</a>
|
72 | */
|
73 | getAllLIFFAppsWithHttpInfo(): Promise<Types.ApiResponseType<GetAllLiffAppsResponse>>;
|
74 | /**
|
75 | * Update LIFF app settings
|
76 | * @summary Update LIFF app from a channel
|
77 | * @param liffId ID of the LIFF app to be updated
|
78 | * @param updateLiffAppRequest
|
79 | *
|
80 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">Update LIFF app from a channel Documentation</a>
|
81 | */
|
82 | updateLIFFApp(liffId: string, updateLiffAppRequest: UpdateLiffAppRequest): Promise<Types.MessageAPIResponseBase>;
|
83 | /**
|
84 | * Update LIFF app settings.
|
85 | * This method includes HttpInfo object to return additional information.
|
86 | * @summary Update LIFF app from a channel
|
87 | * @param liffId ID of the LIFF app to be updated
|
88 | * @param updateLiffAppRequest
|
89 | *
|
90 | * @see <a href="https://developers.line.biz/en/reference/liff-server/#update-liff-app">Update LIFF app from a channel Documentation</a>
|
91 | */
|
92 | updateLIFFAppWithHttpInfo(liffId: string, updateLiffAppRequest: UpdateLiffAppRequest): Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
|
93 | }
|
94 | export {};
|
95 |
|
\ | No newline at end of file |