You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/resources/conversations/types/Conversation.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -7,25 +7,25 @@ import type * as Intercom from "../../../index.js";
7
7
*/
8
8
exportinterfaceConversation{
9
9
/** Always conversation. */
10
-
type?: string;
10
+
type: string;
11
11
/** The id representing the conversation. */
12
-
id?: string;
12
+
id: string;
13
13
/** The title given to the conversation. */
14
14
title?: string;
15
15
/** The time the conversation was created. */
16
-
created_at?: number;
16
+
created_at: number;
17
17
/** The last time the conversation was updated. */
18
-
updated_at?: number;
18
+
updated_at: number;
19
19
/** The last time a Contact responded to an Admin. In other words, the time a customer started waiting for a response. Set to null if last reply is from an Admin. */
20
20
waiting_since?: number;
21
21
/** If set this is the time in the future when this conversation will be marked as open. i.e. it will be in a snoozed state until this time. i.e. it will be in a snoozed state until this time. */
22
22
snoozed_until?: number;
23
23
/** Indicates whether a conversation is open (true) or closed (false). */
24
-
open?: boolean;
24
+
open: boolean;
25
25
/** Can be set to "open", "closed" or "snoozed". */
26
-
state?: Conversation.State;
26
+
state: Conversation.State;
27
27
/** Indicates whether a conversation has been read. */
28
-
read?: boolean;
28
+
read: boolean;
29
29
/** If marked as priority, it will return priority or else not_priority. */
30
30
priority?: Conversation.Priority;
31
31
/** The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null. */
Copy file name to clipboardExpand all lines: src/api/resources/dataEvents/types/DataEvent.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*/
6
6
exportinterfaceDataEvent{
7
7
/** The type of the object */
8
-
type?: "event";
8
+
type: "event";
9
9
/** The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`. */
10
10
event_name: string;
11
11
/** The time the event occurred as a UTC Unix timestamp */
0 commit comments