-
Notifications
You must be signed in to change notification settings - Fork 180
/
ExperienceComposerResponse.ts
56 lines (46 loc) · 1.14 KB
/
ExperienceComposerResponse.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { ExperienceComposerResolution } from "../../enums";
/**
* Represents a response from the Experience Composer.
*/
export type ExperienceComposerResponse = {
/**
* The unique ID of the response.
*/
id: string;
/**
* The session ID associated with the response.
*/
sessionId: string;
/**
* The application ID associated with the response.
*/
applicationId: string;
/**
* The timestamp when the response was created (milliseconds since the Unix epoch).
*/
createdAt: number;
/**
* The timestamp when the response was last updated (milliseconds since the Unix epoch).
*/
updatedAt: number;
/**
* The URL associated with the response.
*/
url: string;
/**
* The resolution used by the Experience Composer.
*/
resolution: ExperienceComposerResolution;
/**
* The status of the response, which can be one of: "starting", "started", "stopped", "failed".
*/
status: "starting" | "started" | "stopped" | "failed";
/**
* The stream ID associated with the response.
*/
streamId: string;
/**
* An optional reason for the status, if available.
*/
reason?: string;
}