UNPKG

2.4 kBTypeScriptView Raw
1/**
2 * Webhook Type Definition
3 * Webhook event definition of the LINE Messaging 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 { ActionResult } from "./actionResult.js";
13export type ScenarioResult = {
14 /**
15 * Scenario ID executed
16 *
17 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">scenarioId Documentation</a>
18 */
19 scenarioId?: string;
20 /**
21 * Revision number of the scenario set containing the executed scenario
22 *
23 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">revision Documentation</a>
24 */
25 revision?: number;
26 /**
27 * Timestamp for when execution of scenario action started (milliseconds, LINE app time)
28 *
29 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">startTime Documentation</a>
30 */
31 startTime: number;
32 /**
33 * Timestamp for when execution of scenario was completed (milliseconds, LINE app time)
34 *
35 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">endTime Documentation</a>
36 */
37 endTime: number;
38 /**
39 * Scenario execution completion status
40 *
41 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">resultCode Documentation</a>
42 */
43 resultCode: string;
44 /**
45 * Execution result of individual operations specified in action. Only included when things.result.resultCode is success.
46 *
47 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">actionResults Documentation</a>
48 */
49 actionResults?: Array<ActionResult>;
50 /**
51 * Data contained in notification.
52 *
53 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">bleNotificationPayload Documentation</a>
54 */
55 bleNotificationPayload?: string;
56 /**
57 * Error reason.
58 *
59 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#scenario-result-event">errorReason Documentation</a>
60 */
61 errorReason?: string;
62};
63//# sourceMappingURL=scenarioResult.d.ts.map
\No newline at end of file