UNPKG

1.33 kBTypeScriptView Raw
1/**
2 * Channel Access Token API
3 * This document describes Channel Access Token API.
4 *
5 * The version of the OpenAPI document: 0.0.1
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 */
12/**
13 * Issued channel access token
14 */
15export type IssueChannelAccessTokenResponse = {
16 /**
17 * Channel access token.
18 *
19 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1">accessToken Documentation</a>
20 */
21 accessToken: string;
22 /**
23 * Amount of time in seconds from issue to expiration of the channel access token
24 *
25 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1">expiresIn Documentation</a>
26 */
27 expiresIn: number;
28 /**
29 * A token type.
30 *
31 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1">tokenType Documentation</a>
32 */
33 tokenType: string;
34 /**
35 * Unique key ID for identifying the channel access token.
36 *
37 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1">keyId Documentation</a>
38 */
39 keyId: string;
40};