cv-contracts 0.0.29 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -14
- package/dist/enums/ConversationType.d.ts +6 -0
- package/dist/enums/ConversationType.js +11 -0
- package/dist/enums/ConversationType.js.map +1 -0
- package/dist/enums/ConversationVisibility.d.ts +5 -0
- package/dist/enums/ConversationVisibility.js +10 -0
- package/dist/enums/ConversationVisibility.js.map +1 -0
- package/dist/enums/index.d.ts +2 -5
- package/dist/enums/index.js +2 -5
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/webhook/ChannelType.js.map +1 -0
- package/dist/enums/webhook/ChannelVisibility.js.map +1 -0
- package/dist/enums/webhook/ResourceType.js.map +1 -0
- package/dist/enums/webhook/SubscriptionEvents.js.map +1 -0
- package/dist/enums/webhook/SubscriptionOperator.js.map +1 -0
- package/dist/enums/webhook/index.d.ts +5 -0
- package/dist/enums/webhook/index.js +22 -0
- package/dist/enums/webhook/index.js.map +1 -0
- package/dist/interfaces/AsyncMeetingStats.d.ts +1 -1
- package/dist/interfaces/Attachment.d.ts +1 -1
- package/dist/interfaces/Conversation.d.ts +23 -0
- package/dist/interfaces/{BasicUser.js → Conversation.js} +1 -1
- package/dist/interfaces/Conversation.js.map +1 -0
- package/dist/interfaces/Label.d.ts +1 -1
- package/dist/interfaces/Message.d.ts +9 -9
- package/dist/interfaces/User.d.ts +2 -2
- package/dist/interfaces/Workspace.d.ts +7 -7
- package/dist/interfaces/index.d.ts +3 -14
- package/dist/interfaces/index.js +3 -14
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/webhook/SubscribedUserSettings.js.map +1 -0
- package/dist/interfaces/{SubscriptionFilter.d.ts → webhook/SubscriptionFilter.d.ts} +1 -1
- package/dist/interfaces/webhook/SubscriptionFilter.js.map +1 -0
- package/dist/interfaces/webhook/WebhookAsyncMeetingStats.d.ts +18 -0
- package/dist/interfaces/webhook/WebhookAsyncMeetingStats.js +3 -0
- package/dist/interfaces/webhook/WebhookAsyncMeetingStats.js.map +1 -0
- package/dist/interfaces/{BasicUser.d.ts → webhook/WebhookBasicUser.d.ts} +1 -1
- package/dist/interfaces/webhook/WebhookBasicUser.js +3 -0
- package/dist/interfaces/webhook/WebhookBasicUser.js.map +1 -0
- package/dist/interfaces/{Channel.d.ts → webhook/WebhookChannel.d.ts} +3 -3
- package/dist/interfaces/{Channel.js → webhook/WebhookChannel.js} +1 -1
- package/dist/interfaces/webhook/WebhookChannel.js.map +1 -0
- package/dist/interfaces/webhook/WebhookChannelUserJoined.d.ts +6 -0
- package/dist/interfaces/webhook/WebhookChannelUserJoined.js +3 -0
- package/dist/interfaces/webhook/WebhookChannelUserJoined.js.map +1 -0
- package/dist/interfaces/webhook/WebhookChannelUserLeft.d.ts +6 -0
- package/dist/interfaces/{ChannelUserJoined.js → webhook/WebhookChannelUserLeft.js} +1 -1
- package/dist/interfaces/webhook/WebhookChannelUserLeft.js.map +1 -0
- package/dist/interfaces/webhook/WebhookChannelUserRemoved.d.ts +7 -0
- package/dist/interfaces/webhook/WebhookChannelUserRemoved.js +3 -0
- package/dist/interfaces/webhook/WebhookChannelUserRemoved.js.map +1 -0
- package/dist/interfaces/webhook/WebhookChannelUsersAdded.d.ts +7 -0
- package/dist/interfaces/webhook/WebhookChannelUsersAdded.js +3 -0
- package/dist/interfaces/webhook/WebhookChannelUsersAdded.js.map +1 -0
- package/dist/interfaces/webhook/WebhookMessage.d.ts +26 -0
- package/dist/interfaces/{ChannelUserLeft.js → webhook/WebhookMessage.js} +1 -1
- package/dist/interfaces/webhook/WebhookMessage.js.map +1 -0
- package/dist/interfaces/{WebhookPayload.d.ts → webhook/WebhookPayload.d.ts} +2 -2
- package/dist/interfaces/webhook/WebhookPayload.js.map +1 -0
- package/dist/interfaces/webhook/WebhookWorkspace.d.ts +12 -0
- package/dist/interfaces/webhook/WebhookWorkspace.js +3 -0
- package/dist/interfaces/webhook/WebhookWorkspace.js.map +1 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserAdded.d.ts +6 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserAdded.js +3 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserAdded.js.map +1 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserJoined.d.ts +6 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserJoined.js +3 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserJoined.js.map +1 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserLeft.d.ts +6 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserLeft.js +3 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserLeft.js.map +1 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserRemoved.d.ts +7 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserRemoved.js +3 -0
- package/dist/interfaces/webhook/WebhookWorkspaceUserRemoved.js.map +1 -0
- package/dist/interfaces/webhook/WorkspaceFindableChannelCreated.d.ts +6 -0
- package/dist/interfaces/webhook/WorkspaceFindableChannelCreated.js.map +1 -0
- package/dist/interfaces/webhook/index.d.ts +17 -0
- package/dist/interfaces/webhook/index.js +34 -0
- package/dist/interfaces/webhook/index.js.map +1 -0
- package/dist/schemas/AsyncMeetingStatsSchema.d.ts +2 -2
- package/dist/schemas/AsyncMeetingStatsSchema.js +3 -3
- package/dist/schemas/AsyncMeetingStatsSchema.js.map +1 -1
- package/dist/schemas/AttachmentSchema.d.ts +2 -2
- package/dist/schemas/AttachmentSchema.js +3 -3
- package/dist/schemas/AttachmentSchema.js.map +1 -1
- package/dist/schemas/ConversationSchema.d.ts +162 -0
- package/dist/schemas/ConversationSchema.js +202 -0
- package/dist/schemas/ConversationSchema.js.map +1 -0
- package/dist/schemas/LabelSchema.d.ts +2 -2
- package/dist/schemas/LabelSchema.js +3 -3
- package/dist/schemas/LabelSchema.js.map +1 -1
- package/dist/schemas/MessageSchema.d.ts +19 -19
- package/dist/schemas/MessageSchema.js +23 -23
- package/dist/schemas/MessageSchema.js.map +1 -1
- package/dist/schemas/UserSchema.d.ts +4 -4
- package/dist/schemas/UserSchema.js +5 -5
- package/dist/schemas/UserSchema.js.map +1 -1
- package/dist/schemas/WorkspaceSchema.d.ts +8 -8
- package/dist/schemas/WorkspaceSchema.js +14 -14
- package/dist/schemas/WorkspaceSchema.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -14
- package/dist/schemas/index.js +1 -14
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/webhook/SubscribedUserSettingsSchema.js.map +1 -0
- package/dist/schemas/webhook/SubscriptionFilterSchema.js.map +1 -0
- package/dist/schemas/webhook/WebhookAsyncMeetingStatsSchema.d.ts +65 -0
- package/dist/schemas/webhook/WebhookAsyncMeetingStatsSchema.js +84 -0
- package/dist/schemas/webhook/WebhookAsyncMeetingStatsSchema.js.map +1 -0
- package/dist/schemas/{BasicUserSchema.d.ts → webhook/WebhookBasicUserSchema.d.ts} +2 -2
- package/dist/schemas/webhook/WebhookBasicUserSchema.js +27 -0
- package/dist/schemas/webhook/WebhookBasicUserSchema.js.map +1 -0
- package/dist/schemas/{ChannelSchema.d.ts → webhook/WebhookChannelSchema.d.ts} +3 -3
- package/dist/schemas/{ChannelSchema.js → webhook/WebhookChannelSchema.js} +27 -27
- package/dist/schemas/webhook/WebhookChannelSchema.js.map +1 -0
- package/dist/schemas/{ChannelUserJoinedSchema.d.ts → webhook/WebhookChannelUserJoinedSchema.d.ts} +5 -5
- package/dist/schemas/{ChannelUserJoinedSchema.js → webhook/WebhookChannelUserJoinedSchema.js} +14 -14
- package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.js.map +1 -0
- package/dist/schemas/{ChannelUserLeftSchema.d.ts → webhook/WebhookChannelUserLeftSchema.d.ts} +5 -5
- package/dist/schemas/{ChannelUserLeftSchema.js → webhook/WebhookChannelUserLeftSchema.js} +14 -14
- package/dist/schemas/webhook/WebhookChannelUserLeftSchema.js.map +1 -0
- package/dist/schemas/{ChannelUserRemovedSchema.d.ts → webhook/WebhookChannelUserRemovedSchema.d.ts} +5 -5
- package/dist/schemas/{ChannelUserRemovedSchema.js → webhook/WebhookChannelUserRemovedSchema.js} +16 -16
- package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.js.map +1 -0
- package/dist/schemas/{ChannelUsersAddedSchema.d.ts → webhook/WebhookChannelUsersAddedSchema.d.ts} +5 -5
- package/dist/schemas/{ChannelUsersAddedSchema.js → webhook/WebhookChannelUsersAddedSchema.js} +16 -16
- package/dist/schemas/{ChannelUserRemovedSchema.js.map → webhook/WebhookChannelUsersAddedSchema.js.map} +1 -1
- package/dist/schemas/webhook/WebhookMessageSchema.d.ts +149 -0
- package/dist/schemas/webhook/WebhookMessageSchema.js +175 -0
- package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -0
- package/dist/schemas/webhook/WebhookPayloadSchema.js.map +1 -0
- package/dist/schemas/{WorkspaceFindableChannelCreatedSchema.d.ts → webhook/WebhookWorkspaceFindableChannelCreatedSchema.d.ts} +5 -5
- package/dist/schemas/{WorkspaceFindableChannelCreatedSchema.js → webhook/WebhookWorkspaceFindableChannelCreatedSchema.js} +14 -14
- package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.js.map +1 -0
- package/dist/schemas/webhook/WebhookWorkspaceSchema.d.ts +50 -0
- package/dist/schemas/webhook/WebhookWorkspaceSchema.js +63 -0
- package/dist/schemas/webhook/WebhookWorkspaceSchema.js.map +1 -0
- package/dist/schemas/{WorkspaceUserAddedSchema.d.ts → webhook/WebhookWorkspaceUserAddedSchema.d.ts} +4 -4
- package/dist/schemas/{WorkspaceUserAddedSchema.js → webhook/WebhookWorkspaceUserAddedSchema.js} +12 -12
- package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.js.map +1 -0
- package/dist/schemas/{WorkspaceUserJoinedSchema.d.ts → webhook/WebhookWorkspaceUserJoinedSchema.d.ts} +4 -4
- package/dist/schemas/{WorkspaceUserJoinedSchema.js → webhook/WebhookWorkspaceUserJoinedSchema.js} +12 -12
- package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.js.map +1 -0
- package/dist/schemas/{WorkspaceUserLeftSchema.d.ts → webhook/WebhookWorkspaceUserLeftSchema.d.ts} +4 -4
- package/dist/schemas/{WorkspaceUserLeftSchema.js → webhook/WebhookWorkspaceUserLeftSchema.js} +12 -12
- package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.js.map +1 -0
- package/dist/schemas/{WorkspaceUserRemovedSchema.d.ts → webhook/WebhookWorkspaceUserRemovedSchema.d.ts} +4 -4
- package/dist/schemas/{WorkspaceUserRemovedSchema.js → webhook/WebhookWorkspaceUserRemovedSchema.js} +14 -14
- package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.js.map +1 -0
- package/dist/schemas/webhook/index.d.ts +17 -0
- package/dist/schemas/webhook/index.js +34 -0
- package/dist/schemas/webhook/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/enums/ChannelType.js.map +0 -1
- package/dist/enums/ChannelVisibility.js.map +0 -1
- package/dist/enums/ResourceType.js.map +0 -1
- package/dist/enums/SubscriptionEvents.js.map +0 -1
- package/dist/enums/SubscriptionOperator.js.map +0 -1
- package/dist/interfaces/BasicUser.js.map +0 -1
- package/dist/interfaces/Channel.js.map +0 -1
- package/dist/interfaces/ChannelUserJoined.d.ts +0 -6
- package/dist/interfaces/ChannelUserJoined.js.map +0 -1
- package/dist/interfaces/ChannelUserLeft.d.ts +0 -6
- package/dist/interfaces/ChannelUserLeft.js.map +0 -1
- package/dist/interfaces/ChannelUserRemoved.d.ts +0 -7
- package/dist/interfaces/ChannelUserRemoved.js +0 -3
- package/dist/interfaces/ChannelUserRemoved.js.map +0 -1
- package/dist/interfaces/ChannelUsersAdded.d.ts +0 -7
- package/dist/interfaces/ChannelUsersAdded.js +0 -3
- package/dist/interfaces/ChannelUsersAdded.js.map +0 -1
- package/dist/interfaces/SubscribedUserSettings.js.map +0 -1
- package/dist/interfaces/SubscriptionFilter.js.map +0 -1
- package/dist/interfaces/WebhookPayload.js.map +0 -1
- package/dist/interfaces/WorkspaceFindableChannelCreated.d.ts +0 -6
- package/dist/interfaces/WorkspaceFindableChannelCreated.js.map +0 -1
- package/dist/interfaces/WorkspaceUserAdded.d.ts +0 -6
- package/dist/interfaces/WorkspaceUserAdded.js +0 -3
- package/dist/interfaces/WorkspaceUserAdded.js.map +0 -1
- package/dist/interfaces/WorkspaceUserJoined.d.ts +0 -6
- package/dist/interfaces/WorkspaceUserJoined.js +0 -3
- package/dist/interfaces/WorkspaceUserJoined.js.map +0 -1
- package/dist/interfaces/WorkspaceUserLeft.d.ts +0 -6
- package/dist/interfaces/WorkspaceUserLeft.js +0 -3
- package/dist/interfaces/WorkspaceUserLeft.js.map +0 -1
- package/dist/interfaces/WorkspaceUserRemoved.d.ts +0 -7
- package/dist/interfaces/WorkspaceUserRemoved.js +0 -3
- package/dist/interfaces/WorkspaceUserRemoved.js.map +0 -1
- package/dist/schemas/BasicUserSchema.js +0 -27
- package/dist/schemas/BasicUserSchema.js.map +0 -1
- package/dist/schemas/ChannelSchema.js.map +0 -1
- package/dist/schemas/ChannelUserJoinedSchema.js.map +0 -1
- package/dist/schemas/ChannelUserLeftSchema.js.map +0 -1
- package/dist/schemas/ChannelUsersAddedSchema.js.map +0 -1
- package/dist/schemas/SubscribedUserSettingsSchema.js.map +0 -1
- package/dist/schemas/SubscriptionFilterSchema.js.map +0 -1
- package/dist/schemas/WebhookPayloadSchema.js.map +0 -1
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.js.map +0 -1
- package/dist/schemas/WorkspaceUserAddedSchema.js.map +0 -1
- package/dist/schemas/WorkspaceUserJoinedSchema.js.map +0 -1
- package/dist/schemas/WorkspaceUserLeftSchema.js.map +0 -1
- package/dist/schemas/WorkspaceUserRemovedSchema.js.map +0 -1
- /package/dist/enums/{ChannelType.d.ts → webhook/ChannelType.d.ts} +0 -0
- /package/dist/enums/{ChannelType.js → webhook/ChannelType.js} +0 -0
- /package/dist/enums/{ChannelVisibility.d.ts → webhook/ChannelVisibility.d.ts} +0 -0
- /package/dist/enums/{ChannelVisibility.js → webhook/ChannelVisibility.js} +0 -0
- /package/dist/enums/{ResourceType.d.ts → webhook/ResourceType.d.ts} +0 -0
- /package/dist/enums/{ResourceType.js → webhook/ResourceType.js} +0 -0
- /package/dist/enums/{SubscriptionEvents.d.ts → webhook/SubscriptionEvents.d.ts} +0 -0
- /package/dist/enums/{SubscriptionEvents.js → webhook/SubscriptionEvents.js} +0 -0
- /package/dist/enums/{SubscriptionOperator.d.ts → webhook/SubscriptionOperator.d.ts} +0 -0
- /package/dist/enums/{SubscriptionOperator.js → webhook/SubscriptionOperator.js} +0 -0
- /package/dist/interfaces/{SubscribedUserSettings.d.ts → webhook/SubscribedUserSettings.d.ts} +0 -0
- /package/dist/interfaces/{SubscribedUserSettings.js → webhook/SubscribedUserSettings.js} +0 -0
- /package/dist/interfaces/{SubscriptionFilter.js → webhook/SubscriptionFilter.js} +0 -0
- /package/dist/interfaces/{WebhookPayload.js → webhook/WebhookPayload.js} +0 -0
- /package/dist/interfaces/{WorkspaceFindableChannelCreated.js → webhook/WorkspaceFindableChannelCreated.js} +0 -0
- /package/dist/schemas/{SubscribedUserSettingsSchema.d.ts → webhook/SubscribedUserSettingsSchema.d.ts} +0 -0
- /package/dist/schemas/{SubscribedUserSettingsSchema.js → webhook/SubscribedUserSettingsSchema.js} +0 -0
- /package/dist/schemas/{SubscriptionFilterSchema.d.ts → webhook/SubscriptionFilterSchema.d.ts} +0 -0
- /package/dist/schemas/{SubscriptionFilterSchema.js → webhook/SubscriptionFilterSchema.js} +0 -0
- /package/dist/schemas/{WebhookPayloadSchema.d.ts → webhook/WebhookPayloadSchema.d.ts} +0 -0
- /package/dist/schemas/{WebhookPayloadSchema.js → webhook/WebhookPayloadSchema.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const MessageSchema: {
|
|
2
2
|
type: string;
|
|
3
3
|
properties: {
|
|
4
|
-
|
|
4
|
+
id: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
link: {
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
creator_id: {
|
|
11
11
|
type: string;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
conversation_id: {
|
|
14
14
|
type: string[];
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
workspace_id: {
|
|
17
17
|
type: string[];
|
|
18
18
|
};
|
|
19
19
|
created_at: {
|
|
@@ -28,16 +28,16 @@ export declare const MessageSchema: {
|
|
|
28
28
|
duration_ms: {
|
|
29
29
|
type: string;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
audio_url: {
|
|
32
32
|
type: string[];
|
|
33
33
|
};
|
|
34
34
|
audio_stream_url: {
|
|
35
35
|
type: string[];
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
transcript: {
|
|
38
38
|
type: string[];
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
ai_summary: {
|
|
41
41
|
type: string[];
|
|
42
42
|
};
|
|
43
43
|
has_ai_summary: {
|
|
@@ -49,7 +49,7 @@ export declare const MessageSchema: {
|
|
|
49
49
|
reply_count: {
|
|
50
50
|
type: string;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
parent_message_id: {
|
|
53
53
|
type: string[];
|
|
54
54
|
};
|
|
55
55
|
language: {
|
|
@@ -78,7 +78,7 @@ export declare const MessageSchema: {
|
|
|
78
78
|
Attachment: {
|
|
79
79
|
type: string;
|
|
80
80
|
properties: {
|
|
81
|
-
|
|
81
|
+
id: {
|
|
82
82
|
type: string;
|
|
83
83
|
};
|
|
84
84
|
creator_id: {
|
|
@@ -125,23 +125,23 @@ export declare const MessageSchema: {
|
|
|
125
125
|
$schema: string;
|
|
126
126
|
};
|
|
127
127
|
export declare enum MessageKeys {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
id = "id",
|
|
129
|
+
link = "link",
|
|
130
|
+
creator_id = "creator_id",
|
|
131
|
+
conversation_id = "conversation_id",
|
|
132
|
+
workspace_id = "workspace_id",
|
|
133
133
|
created_at = "created_at",
|
|
134
134
|
last_updated_at = "last_updated_at",
|
|
135
135
|
deleted_at = "deleted_at",
|
|
136
136
|
duration_ms = "duration_ms",
|
|
137
|
-
|
|
137
|
+
audio_url = "audio_url",
|
|
138
138
|
audio_stream_url = "audio_stream_url",
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
transcript = "transcript",
|
|
140
|
+
ai_summary = "ai_summary",
|
|
141
141
|
has_ai_summary = "has_ai_summary",
|
|
142
142
|
waveform_url = "waveform_url",
|
|
143
143
|
reply_count = "reply_count",
|
|
144
|
-
|
|
144
|
+
parent_message_id = "parent_message_id",
|
|
145
145
|
language = "language",
|
|
146
146
|
status = "status",
|
|
147
147
|
attachments = "attachments",
|
|
@@ -4,19 +4,19 @@ exports.MessageKeys = exports.MessageSchema = void 0;
|
|
|
4
4
|
exports.MessageSchema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
properties: {
|
|
7
|
-
|
|
7
|
+
id: {
|
|
8
8
|
type: 'string',
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
link: {
|
|
11
11
|
type: 'string',
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
creator_id: {
|
|
14
14
|
type: 'string',
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
conversation_id: {
|
|
17
17
|
type: ['null', 'string'],
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
workspace_id: {
|
|
20
20
|
type: ['null', 'string'],
|
|
21
21
|
},
|
|
22
22
|
created_at: {
|
|
@@ -31,16 +31,16 @@ exports.MessageSchema = {
|
|
|
31
31
|
duration_ms: {
|
|
32
32
|
type: 'number',
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
audio_url: {
|
|
35
35
|
type: ['null', 'string'],
|
|
36
36
|
},
|
|
37
37
|
audio_stream_url: {
|
|
38
38
|
type: ['null', 'string'],
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
transcript: {
|
|
41
41
|
type: ['null', 'string'],
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
ai_summary: {
|
|
44
44
|
type: ['null', 'string'],
|
|
45
45
|
},
|
|
46
46
|
has_ai_summary: {
|
|
@@ -52,7 +52,7 @@ exports.MessageSchema = {
|
|
|
52
52
|
reply_count: {
|
|
53
53
|
type: 'number',
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
parent_message_id: {
|
|
56
56
|
type: ['null', 'string'],
|
|
57
57
|
},
|
|
58
58
|
language: {
|
|
@@ -74,12 +74,12 @@ exports.MessageSchema = {
|
|
|
74
74
|
additionalProperties: false,
|
|
75
75
|
required: [
|
|
76
76
|
'created_at',
|
|
77
|
-
'
|
|
77
|
+
'creator_id',
|
|
78
78
|
'duration_ms',
|
|
79
|
+
'id',
|
|
79
80
|
'last_updated_at',
|
|
80
|
-
'
|
|
81
|
+
'link',
|
|
81
82
|
'reply_count',
|
|
82
|
-
'self_link',
|
|
83
83
|
'status',
|
|
84
84
|
'type',
|
|
85
85
|
],
|
|
@@ -102,7 +102,7 @@ exports.MessageSchema = {
|
|
|
102
102
|
Attachment: {
|
|
103
103
|
type: 'object',
|
|
104
104
|
properties: {
|
|
105
|
-
|
|
105
|
+
id: {
|
|
106
106
|
type: 'string',
|
|
107
107
|
},
|
|
108
108
|
creator_id: {
|
|
@@ -135,7 +135,7 @@ exports.MessageSchema = {
|
|
|
135
135
|
location: {},
|
|
136
136
|
},
|
|
137
137
|
additionalProperties: false,
|
|
138
|
-
required: ['
|
|
138
|
+
required: ['created_at', 'creator_id', 'id', 'link', 'type'],
|
|
139
139
|
},
|
|
140
140
|
AttachmentType: {
|
|
141
141
|
type: 'string',
|
|
@@ -150,23 +150,23 @@ exports.MessageSchema = {
|
|
|
150
150
|
};
|
|
151
151
|
var MessageKeys;
|
|
152
152
|
(function (MessageKeys) {
|
|
153
|
-
MessageKeys["
|
|
154
|
-
MessageKeys["
|
|
155
|
-
MessageKeys["
|
|
156
|
-
MessageKeys["
|
|
157
|
-
MessageKeys["
|
|
153
|
+
MessageKeys["id"] = "id";
|
|
154
|
+
MessageKeys["link"] = "link";
|
|
155
|
+
MessageKeys["creator_id"] = "creator_id";
|
|
156
|
+
MessageKeys["conversation_id"] = "conversation_id";
|
|
157
|
+
MessageKeys["workspace_id"] = "workspace_id";
|
|
158
158
|
MessageKeys["created_at"] = "created_at";
|
|
159
159
|
MessageKeys["last_updated_at"] = "last_updated_at";
|
|
160
160
|
MessageKeys["deleted_at"] = "deleted_at";
|
|
161
161
|
MessageKeys["duration_ms"] = "duration_ms";
|
|
162
|
-
MessageKeys["
|
|
162
|
+
MessageKeys["audio_url"] = "audio_url";
|
|
163
163
|
MessageKeys["audio_stream_url"] = "audio_stream_url";
|
|
164
|
-
MessageKeys["
|
|
165
|
-
MessageKeys["
|
|
164
|
+
MessageKeys["transcript"] = "transcript";
|
|
165
|
+
MessageKeys["ai_summary"] = "ai_summary";
|
|
166
166
|
MessageKeys["has_ai_summary"] = "has_ai_summary";
|
|
167
167
|
MessageKeys["waveform_url"] = "waveform_url";
|
|
168
168
|
MessageKeys["reply_count"] = "reply_count";
|
|
169
|
-
MessageKeys["
|
|
169
|
+
MessageKeys["parent_message_id"] = "parent_message_id";
|
|
170
170
|
MessageKeys["language"] = "language";
|
|
171
171
|
MessageKeys["status"] = "status";
|
|
172
172
|
MessageKeys["attachments"] = "attachments";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageSchema.js","sourceRoot":"","sources":["../../src/schemas/MessageSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,
|
|
1
|
+
{"version":3,"file":"MessageSchema.js","sourceRoot":"","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AAE,EAAE;aACb;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;SAC7D;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC;SACnC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,CAAC;SACnE;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,WAsBX;AAtBD,WAAY,WAAW;IACrB,wBAAS,CAAA;IACT,4BAAa,CAAA;IACb,wCAAyB,CAAA;IACzB,kDAAmC,CAAA;IACnC,4CAA6B,CAAA;IAC7B,wCAAyB,CAAA;IACzB,kDAAmC,CAAA;IACnC,wCAAyB,CAAA;IACzB,0CAA2B,CAAA;IAC3B,sCAAuB,CAAA;IACvB,oDAAqC,CAAA;IACrC,wCAAyB,CAAA;IACzB,wCAAyB,CAAA;IACzB,gDAAiC,CAAA;IACjC,4CAA6B,CAAA;IAC7B,0CAA2B,CAAA;IAC3B,sDAAuC,CAAA;IACvC,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,0CAA2B,CAAA;IAC3B,4BAAa,CAAA;AACf,CAAC,EAtBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAsBtB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const UserSchema: {
|
|
2
2
|
type: string;
|
|
3
3
|
properties: {
|
|
4
|
-
|
|
4
|
+
id: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
link: {
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
10
|
first_name: {
|
|
@@ -46,8 +46,8 @@ export declare const UserSchema: {
|
|
|
46
46
|
$schema: string;
|
|
47
47
|
};
|
|
48
48
|
export declare enum UserKeys {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
id = "id",
|
|
50
|
+
link = "link",
|
|
51
51
|
first_name = "first_name",
|
|
52
52
|
last_name = "last_name",
|
|
53
53
|
full_name = "full_name",
|
|
@@ -4,10 +4,10 @@ exports.UserKeys = exports.UserSchema = void 0;
|
|
|
4
4
|
exports.UserSchema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
properties: {
|
|
7
|
-
|
|
7
|
+
id: {
|
|
8
8
|
type: 'string',
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
link: {
|
|
11
11
|
type: 'string',
|
|
12
12
|
},
|
|
13
13
|
first_name: {
|
|
@@ -45,13 +45,13 @@ exports.UserSchema = {
|
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
additionalProperties: false,
|
|
48
|
-
required: ['
|
|
48
|
+
required: ['created_at', 'first_name', 'full_name', 'id', 'link'],
|
|
49
49
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
50
50
|
};
|
|
51
51
|
var UserKeys;
|
|
52
52
|
(function (UserKeys) {
|
|
53
|
-
UserKeys["
|
|
54
|
-
UserKeys["
|
|
53
|
+
UserKeys["id"] = "id";
|
|
54
|
+
UserKeys["link"] = "link";
|
|
55
55
|
UserKeys["first_name"] = "first_name";
|
|
56
56
|
UserKeys["last_name"] = "last_name";
|
|
57
57
|
UserKeys["full_name"] = "full_name";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSchema.js","sourceRoot":"","sources":["../../src/schemas/UserSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,
|
|
1
|
+
{"version":3,"file":"UserSchema.js","sourceRoot":"","sources":["../../src/schemas/UserSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,UAAU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
|
+
name: {
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
description: {
|
|
11
11
|
type: string[];
|
|
12
12
|
};
|
|
13
13
|
image_url: {
|
|
14
14
|
type: string[];
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
owner_id: {
|
|
17
17
|
type: string;
|
|
18
18
|
};
|
|
19
19
|
owner_first_name: {
|
|
@@ -37,11 +37,11 @@ export declare const WorkspaceSchema: {
|
|
|
37
37
|
$schema: string;
|
|
38
38
|
};
|
|
39
39
|
export declare enum WorkspaceKeys {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
id = "id",
|
|
41
|
+
name = "name",
|
|
42
|
+
description = "description",
|
|
43
43
|
image_url = "image_url",
|
|
44
|
-
|
|
44
|
+
owner_id = "owner_id",
|
|
45
45
|
owner_first_name = "owner_first_name",
|
|
46
46
|
owner_last_name = "owner_last_name",
|
|
47
47
|
created_at = "created_at",
|
|
@@ -4,19 +4,19 @@ exports.WorkspaceKeys = exports.WorkspaceSchema = void 0;
|
|
|
4
4
|
exports.WorkspaceSchema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
properties: {
|
|
7
|
-
|
|
7
|
+
id: {
|
|
8
8
|
type: 'string',
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
name: {
|
|
11
11
|
type: 'string',
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
description: {
|
|
14
14
|
type: ['null', 'string'],
|
|
15
15
|
},
|
|
16
16
|
image_url: {
|
|
17
17
|
type: ['null', 'string'],
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
owner_id: {
|
|
20
20
|
type: 'string',
|
|
21
21
|
},
|
|
22
22
|
owner_first_name: {
|
|
@@ -26,34 +26,34 @@ exports.WorkspaceSchema = {
|
|
|
26
26
|
type: 'string',
|
|
27
27
|
},
|
|
28
28
|
created_at: {
|
|
29
|
-
type: '
|
|
29
|
+
type: 'string',
|
|
30
30
|
},
|
|
31
31
|
last_updated_at: {
|
|
32
|
-
type: '
|
|
32
|
+
type: 'string',
|
|
33
33
|
},
|
|
34
34
|
deleted_at: {
|
|
35
|
-
type: ['null', '
|
|
35
|
+
type: ['null', 'string'],
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
additionalProperties: false,
|
|
39
39
|
required: [
|
|
40
40
|
'created_at',
|
|
41
|
+
'id',
|
|
41
42
|
'last_updated_at',
|
|
43
|
+
'name',
|
|
42
44
|
'owner_first_name',
|
|
43
|
-
'
|
|
45
|
+
'owner_id',
|
|
44
46
|
'owner_last_name',
|
|
45
|
-
'workspace_guid',
|
|
46
|
-
'workspace_name',
|
|
47
47
|
],
|
|
48
48
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
49
49
|
};
|
|
50
50
|
var WorkspaceKeys;
|
|
51
51
|
(function (WorkspaceKeys) {
|
|
52
|
-
WorkspaceKeys["
|
|
53
|
-
WorkspaceKeys["
|
|
54
|
-
WorkspaceKeys["
|
|
52
|
+
WorkspaceKeys["id"] = "id";
|
|
53
|
+
WorkspaceKeys["name"] = "name";
|
|
54
|
+
WorkspaceKeys["description"] = "description";
|
|
55
55
|
WorkspaceKeys["image_url"] = "image_url";
|
|
56
|
-
WorkspaceKeys["
|
|
56
|
+
WorkspaceKeys["owner_id"] = "owner_id";
|
|
57
57
|
WorkspaceKeys["owner_first_name"] = "owner_first_name";
|
|
58
58
|
WorkspaceKeys["owner_last_name"] = "owner_last_name";
|
|
59
59
|
WorkspaceKeys["created_at"] = "created_at";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceSchema.js","sourceRoot":"","sources":["../../src/schemas/WorkspaceSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,
|
|
1
|
+
{"version":3,"file":"WorkspaceSchema.js","sourceRoot":"","sources":["../../src/schemas/WorkspaceSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,IAAI;QACJ,iBAAiB;QACjB,MAAM;QACN,kBAAkB;QAClB,UAAU;QACV,iBAAiB;KAClB;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,0BAAS,CAAA;IACT,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,sDAAqC,CAAA;IACrC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;AAC3B,CAAC,EAXW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAWxB"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
export * from './AsyncMeetingStatsSchema';
|
|
2
2
|
export * from './AttachmentSchema';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './ChannelSchema';
|
|
5
|
-
export * from './ChannelUserJoinedSchema';
|
|
6
|
-
export * from './ChannelUserLeftSchema';
|
|
7
|
-
export * from './ChannelUserRemovedSchema';
|
|
8
|
-
export * from './ChannelUsersAddedSchema';
|
|
3
|
+
export * from './ConversationSchema';
|
|
9
4
|
export * from './LabelSchema';
|
|
10
5
|
export * from './MessageSchema';
|
|
11
|
-
export * from './SubscribedUserSettingsSchema';
|
|
12
|
-
export * from './SubscriptionFilterSchema';
|
|
13
6
|
export * from './UserSchema';
|
|
14
|
-
export * from './WebhookPayloadSchema';
|
|
15
7
|
export * from './WorkspaceSchema';
|
|
16
|
-
export * from './WorkspaceFindableChannelCreatedSchema';
|
|
17
|
-
export * from './WorkspaceUserAddedSchema';
|
|
18
|
-
export * from './WorkspaceUserJoinedSchema';
|
|
19
|
-
export * from './WorkspaceUserLeftSchema';
|
|
20
|
-
export * from './WorkspaceUserRemovedSchema';
|
package/dist/schemas/index.js
CHANGED
|
@@ -16,22 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AsyncMeetingStatsSchema"), exports);
|
|
18
18
|
__exportStar(require("./AttachmentSchema"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./ChannelSchema"), exports);
|
|
21
|
-
__exportStar(require("./ChannelUserJoinedSchema"), exports);
|
|
22
|
-
__exportStar(require("./ChannelUserLeftSchema"), exports);
|
|
23
|
-
__exportStar(require("./ChannelUserRemovedSchema"), exports);
|
|
24
|
-
__exportStar(require("./ChannelUsersAddedSchema"), exports);
|
|
19
|
+
__exportStar(require("./ConversationSchema"), exports);
|
|
25
20
|
__exportStar(require("./LabelSchema"), exports);
|
|
26
21
|
__exportStar(require("./MessageSchema"), exports);
|
|
27
|
-
__exportStar(require("./SubscribedUserSettingsSchema"), exports);
|
|
28
|
-
__exportStar(require("./SubscriptionFilterSchema"), exports);
|
|
29
22
|
__exportStar(require("./UserSchema"), exports);
|
|
30
|
-
__exportStar(require("./WebhookPayloadSchema"), exports);
|
|
31
23
|
__exportStar(require("./WorkspaceSchema"), exports);
|
|
32
|
-
__exportStar(require("./WorkspaceFindableChannelCreatedSchema"), exports);
|
|
33
|
-
__exportStar(require("./WorkspaceUserAddedSchema"), exports);
|
|
34
|
-
__exportStar(require("./WorkspaceUserJoinedSchema"), exports);
|
|
35
|
-
__exportStar(require("./WorkspaceUserLeftSchema"), exports);
|
|
36
|
-
__exportStar(require("./WorkspaceUserRemovedSchema"), exports);
|
|
37
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,qDAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscribedUserSettingsSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/SubscribedUserSettingsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG;IAC1C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,+CAAiB,CAAA;IACjB,iEAAmC,CAAA;IACnC,mDAAqB,CAAA;AACvB,CAAC,EAJW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAIrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionFilterSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/SubscriptionFilterSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,IAAI;SACZ;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC;IACtC,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,qCAAW,CAAA;IACX,yCAAe,CAAA;IACf,+CAAqB,CAAA;AACvB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const WebhookAsyncMeetingStatsSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
channel_stats: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
total_duration_milliseconds: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
total_heard_milliseconds: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
total_engaged_percentage: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
total_messages_posted: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
total_users: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
|
+
};
|
|
26
|
+
user_stats: {
|
|
27
|
+
type: string;
|
|
28
|
+
items: {
|
|
29
|
+
type: string;
|
|
30
|
+
properties: {
|
|
31
|
+
user_id: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
total_messages_posted: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
total_sent_milliseconds: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
total_heard_milliseconds: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
total_engaged_percentage: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
total_heard_messages: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
total_unheard_messages: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
additionalProperties: boolean;
|
|
54
|
+
required: string[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
additionalProperties: boolean;
|
|
59
|
+
required: string[];
|
|
60
|
+
$schema: string;
|
|
61
|
+
};
|
|
62
|
+
export declare enum WebhookAsyncMeetingStatsKeys {
|
|
63
|
+
channel_stats = "channel_stats",
|
|
64
|
+
user_stats = "user_stats"
|
|
65
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookAsyncMeetingStatsKeys = exports.WebhookAsyncMeetingStatsSchema = void 0;
|
|
4
|
+
exports.WebhookAsyncMeetingStatsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
channel_stats: {
|
|
8
|
+
type: 'object',
|
|
9
|
+
properties: {
|
|
10
|
+
total_duration_milliseconds: {
|
|
11
|
+
type: 'number',
|
|
12
|
+
},
|
|
13
|
+
total_heard_milliseconds: {
|
|
14
|
+
type: 'number',
|
|
15
|
+
},
|
|
16
|
+
total_engaged_percentage: {
|
|
17
|
+
type: 'number',
|
|
18
|
+
},
|
|
19
|
+
total_messages_posted: {
|
|
20
|
+
type: 'number',
|
|
21
|
+
},
|
|
22
|
+
total_users: {
|
|
23
|
+
type: 'number',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
additionalProperties: false,
|
|
27
|
+
required: [
|
|
28
|
+
'total_duration_milliseconds',
|
|
29
|
+
'total_engaged_percentage',
|
|
30
|
+
'total_heard_milliseconds',
|
|
31
|
+
'total_messages_posted',
|
|
32
|
+
'total_users',
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
user_stats: {
|
|
36
|
+
type: 'array',
|
|
37
|
+
items: {
|
|
38
|
+
type: 'object',
|
|
39
|
+
properties: {
|
|
40
|
+
user_id: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
},
|
|
43
|
+
total_messages_posted: {
|
|
44
|
+
type: 'number',
|
|
45
|
+
},
|
|
46
|
+
total_sent_milliseconds: {
|
|
47
|
+
type: 'number',
|
|
48
|
+
},
|
|
49
|
+
total_heard_milliseconds: {
|
|
50
|
+
type: 'number',
|
|
51
|
+
},
|
|
52
|
+
total_engaged_percentage: {
|
|
53
|
+
type: 'number',
|
|
54
|
+
},
|
|
55
|
+
total_heard_messages: {
|
|
56
|
+
type: 'number',
|
|
57
|
+
},
|
|
58
|
+
total_unheard_messages: {
|
|
59
|
+
type: 'number',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
additionalProperties: false,
|
|
63
|
+
required: [
|
|
64
|
+
'total_engaged_percentage',
|
|
65
|
+
'total_heard_messages',
|
|
66
|
+
'total_heard_milliseconds',
|
|
67
|
+
'total_messages_posted',
|
|
68
|
+
'total_sent_milliseconds',
|
|
69
|
+
'total_unheard_messages',
|
|
70
|
+
'user_id',
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
additionalProperties: false,
|
|
76
|
+
required: ['channel_stats', 'user_stats'],
|
|
77
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
78
|
+
};
|
|
79
|
+
var WebhookAsyncMeetingStatsKeys;
|
|
80
|
+
(function (WebhookAsyncMeetingStatsKeys) {
|
|
81
|
+
WebhookAsyncMeetingStatsKeys["channel_stats"] = "channel_stats";
|
|
82
|
+
WebhookAsyncMeetingStatsKeys["user_stats"] = "user_stats";
|
|
83
|
+
})(WebhookAsyncMeetingStatsKeys = exports.WebhookAsyncMeetingStatsKeys || (exports.WebhookAsyncMeetingStatsKeys = {}));
|
|
84
|
+
//# sourceMappingURL=WebhookAsyncMeetingStatsSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhookAsyncMeetingStatsSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookAsyncMeetingStatsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,2BAA2B,EAAE;oBAC3B,IAAI,EAAE,QAAQ;iBACf;gBACD,wBAAwB,EAAE;oBACxB,IAAI,EAAE,QAAQ;iBACf;gBACD,wBAAwB,EAAE;oBACxB,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,QAAQ;iBACf;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,6BAA6B;gBAC7B,0BAA0B;gBAC1B,0BAA0B;gBAC1B,uBAAuB;gBACvB,aAAa;aACd;SACF;QACD,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;qBACf;oBACD,qBAAqB,EAAE;wBACrB,IAAI,EAAE,QAAQ;qBACf;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,QAAQ;qBACf;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,QAAQ;qBACf;oBACD,wBAAwB,EAAE;wBACxB,IAAI,EAAE,QAAQ;qBACf;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,QAAQ;qBACf;oBACD,sBAAsB,EAAE;wBACtB,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE;oBACR,0BAA0B;oBAC1B,sBAAsB;oBACtB,0BAA0B;oBAC1B,uBAAuB;oBACvB,yBAAyB;oBACzB,wBAAwB;oBACxB,SAAS;iBACV;aACF;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,eAAe,EAAE,YAAY,CAAC;IACzC,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,+DAA+B,CAAA;IAC/B,yDAAyB,CAAA;AAC3B,CAAC,EAHW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAGvC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const WebhookBasicUserSchema: {
|
|
2
2
|
type: string;
|
|
3
3
|
properties: {
|
|
4
4
|
user_guid: {
|
|
@@ -15,7 +15,7 @@ export declare const BasicUserSchema: {
|
|
|
15
15
|
required: string[];
|
|
16
16
|
$schema: string;
|
|
17
17
|
};
|
|
18
|
-
export declare enum
|
|
18
|
+
export declare enum WebhookBasicUserKeys {
|
|
19
19
|
user_guid = "user_guid",
|
|
20
20
|
first_name = "first_name",
|
|
21
21
|
last_name = "last_name"
|