UNPKG

1.68 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging 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 */
12export type TestWebhookEndpointResponse = {
13 /**
14 * Result of the communication from the LINE platform to the webhook URL.
15 *
16 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">success Documentation</a>
17 */
18 success?: boolean;
19 /**
20 * Time of the event in milliseconds. Even in the case of a redelivered webhook, it represents the time the event occurred, not the time it was redelivered.
21 *
22 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">timestamp Documentation</a>
23 */
24 timestamp: Date;
25 /**
26 * The HTTP status code. If the webhook response isn\'t received, the status code is set to zero or a negative number.
27 *
28 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">statusCode Documentation</a>
29 */
30 statusCode: number;
31 /**
32 * Reason for the response.
33 *
34 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">reason Documentation</a>
35 */
36 reason: string;
37 /**
38 * Details of the response.
39 *
40 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">detail Documentation</a>
41 */
42 detail: string;
43};
44//# sourceMappingURL=testWebhookEndpointResponse.d.ts.map
\No newline at end of file