cv-contracts 1.0.43 → 2.0.1
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/dist/enums/MessageCaughtUpStatus.d.ts +5 -0
- package/dist/enums/MessageCaughtUpStatus.js +10 -0
- package/dist/enums/MessageCaughtUpStatus.js.map +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/interfaces/Attachment.d.ts +0 -3
- package/dist/interfaces/Message.d.ts +64 -20
- package/dist/schemas/AttachmentSchema.d.ts +1 -11
- package/dist/schemas/AttachmentSchema.js +0 -10
- package/dist/schemas/AttachmentSchema.js.map +1 -1
- package/dist/schemas/AudioInfoSchema.d.ts +29 -0
- package/dist/schemas/AudioInfoSchema.js +34 -0
- package/dist/schemas/AudioInfoSchema.js.map +1 -0
- package/dist/schemas/GetMessageResponseSchema.d.ts +209 -38
- package/dist/schemas/GetMessageResponseSchema.js +232 -55
- package/dist/schemas/GetMessageResponseSchema.js.map +1 -1
- package/dist/schemas/MessageAIResponseSchema.d.ts +18 -0
- package/dist/schemas/MessageAIResponseSchema.js +23 -0
- package/dist/schemas/MessageAIResponseSchema.js.map +1 -0
- package/dist/schemas/MessageSchema.d.ts +233 -57
- package/dist/schemas/MessageSchema.js +255 -73
- package/dist/schemas/MessageSchema.js.map +1 -1
- package/dist/schemas/MessageShareLinkSchema.d.ts +209 -38
- package/dist/schemas/MessageShareLinkSchema.js +232 -55
- package/dist/schemas/MessageShareLinkSchema.js.map +1 -1
- package/dist/schemas/MessageTimeCodeSchema.d.ts +22 -0
- package/dist/schemas/MessageTimeCodeSchema.js +27 -0
- package/dist/schemas/MessageTimeCodeSchema.js.map +1 -0
- package/dist/schemas/ReactionCountsSchema.d.ts +12 -0
- package/dist/schemas/ReactionCountsSchema.js +17 -0
- package/dist/schemas/ReactionCountsSchema.js.map +1 -0
- package/dist/schemas/ReactionSummarySchema.d.ts +42 -0
- package/dist/schemas/ReactionSummarySchema.js +47 -0
- package/dist/schemas/ReactionSummarySchema.js.map +1 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js +27 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
- package/dist/schemas/UserReactionSchema.d.ts +18 -0
- package/dist/schemas/UserReactionSchema.js +23 -0
- package/dist/schemas/UserReactionSchema.js.map +1 -0
- package/dist/schemas/UtmDataSchema.d.ts +29 -0
- package/dist/schemas/UtmDataSchema.js +34 -0
- package/dist/schemas/UtmDataSchema.js.map +1 -0
- package/dist/schemas/index.d.ts +8 -0
- package/dist/schemas/index.js +8 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.d.ts +209 -38
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js +232 -55
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.d.ts +209 -38
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js +232 -55
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookMessageSchema.d.ts +0 -7
- package/dist/schemas/webhook/WebhookMessageSchema.js +0 -7
- package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,37 +4,52 @@ export declare const MessageSchema: {
|
|
|
4
4
|
id: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
type: {
|
|
8
|
+
$ref: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
kind: {
|
|
11
|
+
anyOf: ({
|
|
12
|
+
enum: string[];
|
|
13
|
+
type: string;
|
|
14
|
+
} | {
|
|
15
|
+
type: string;
|
|
16
|
+
enum?: undefined;
|
|
17
|
+
})[];
|
|
18
|
+
};
|
|
19
|
+
created_at: {
|
|
11
20
|
type: string;
|
|
12
21
|
};
|
|
13
|
-
|
|
22
|
+
updated_at: {
|
|
14
23
|
type: string;
|
|
15
24
|
};
|
|
16
|
-
|
|
25
|
+
deleted_at: {
|
|
17
26
|
type: string[];
|
|
18
27
|
};
|
|
19
|
-
|
|
28
|
+
conversation_id: {
|
|
20
29
|
type: string[];
|
|
21
30
|
};
|
|
22
|
-
|
|
31
|
+
workspace_id: {
|
|
23
32
|
type: string;
|
|
24
33
|
};
|
|
25
|
-
|
|
34
|
+
creator_id: {
|
|
26
35
|
type: string;
|
|
27
36
|
};
|
|
28
|
-
|
|
37
|
+
status: {
|
|
38
|
+
$ref: string;
|
|
39
|
+
};
|
|
40
|
+
parent_message_id: {
|
|
29
41
|
type: string[];
|
|
30
42
|
};
|
|
31
|
-
|
|
43
|
+
attachments: {
|
|
32
44
|
type: string;
|
|
45
|
+
items: {
|
|
46
|
+
$ref: string;
|
|
47
|
+
};
|
|
33
48
|
};
|
|
34
|
-
|
|
49
|
+
language: {
|
|
35
50
|
type: string[];
|
|
36
51
|
};
|
|
37
|
-
|
|
52
|
+
is_original_language: {
|
|
38
53
|
type: string[];
|
|
39
54
|
};
|
|
40
55
|
transcript: {
|
|
@@ -43,34 +58,58 @@ export declare const MessageSchema: {
|
|
|
43
58
|
ai_summary: {
|
|
44
59
|
type: string[];
|
|
45
60
|
};
|
|
46
|
-
|
|
61
|
+
ai_response_ids: {
|
|
47
62
|
type: string;
|
|
63
|
+
items: {
|
|
64
|
+
$ref: string;
|
|
65
|
+
};
|
|
48
66
|
};
|
|
49
|
-
|
|
67
|
+
share_link_id: {
|
|
50
68
|
type: string[];
|
|
51
69
|
};
|
|
52
|
-
|
|
70
|
+
link: {
|
|
53
71
|
type: string;
|
|
54
72
|
};
|
|
55
|
-
|
|
73
|
+
time_codes: {
|
|
74
|
+
type: string;
|
|
75
|
+
items: {
|
|
76
|
+
$ref: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
waveform_percentages: {
|
|
80
|
+
type: string;
|
|
81
|
+
items: {
|
|
82
|
+
type: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
folder_id: {
|
|
56
86
|
type: string[];
|
|
57
87
|
};
|
|
58
|
-
|
|
88
|
+
utm_data: {
|
|
89
|
+
anyOf: ({
|
|
90
|
+
$ref: string;
|
|
91
|
+
type?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
type: string;
|
|
94
|
+
$ref?: undefined;
|
|
95
|
+
})[];
|
|
96
|
+
};
|
|
97
|
+
conversation_sequence: {
|
|
59
98
|
type: string[];
|
|
60
99
|
};
|
|
61
|
-
|
|
62
|
-
|
|
100
|
+
source_message_id: {
|
|
101
|
+
type: string[];
|
|
63
102
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
items: {
|
|
103
|
+
audio: {
|
|
104
|
+
anyOf: ({
|
|
67
105
|
$ref: string;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
106
|
+
type?: undefined;
|
|
107
|
+
} | {
|
|
108
|
+
type: string;
|
|
109
|
+
$ref?: undefined;
|
|
110
|
+
})[];
|
|
72
111
|
};
|
|
73
|
-
|
|
112
|
+
users_caught_up: {
|
|
74
113
|
anyOf: ({
|
|
75
114
|
enum: string[];
|
|
76
115
|
type: string;
|
|
@@ -79,13 +118,34 @@ export declare const MessageSchema: {
|
|
|
79
118
|
enum?: undefined;
|
|
80
119
|
})[];
|
|
81
120
|
};
|
|
82
|
-
|
|
83
|
-
|
|
121
|
+
reaction_summary: {
|
|
122
|
+
anyOf: ({
|
|
123
|
+
$ref: string;
|
|
124
|
+
type?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
type: string;
|
|
127
|
+
$ref?: undefined;
|
|
128
|
+
})[];
|
|
129
|
+
};
|
|
130
|
+
users_not_allowed_to_receive_notifications: {
|
|
131
|
+
anyOf: ({
|
|
132
|
+
type: string;
|
|
133
|
+
items: {
|
|
134
|
+
$ref: string;
|
|
135
|
+
};
|
|
136
|
+
} | {
|
|
137
|
+
type: string;
|
|
138
|
+
items?: undefined;
|
|
139
|
+
})[];
|
|
84
140
|
};
|
|
85
141
|
};
|
|
86
142
|
additionalProperties: boolean;
|
|
87
143
|
required: string[];
|
|
88
144
|
definitions: {
|
|
145
|
+
MessageType: {
|
|
146
|
+
type: string;
|
|
147
|
+
enum: string[];
|
|
148
|
+
};
|
|
89
149
|
MessageStatus: {
|
|
90
150
|
type: string;
|
|
91
151
|
enum: string[];
|
|
@@ -108,12 +168,6 @@ export declare const MessageSchema: {
|
|
|
108
168
|
link: {
|
|
109
169
|
type: string;
|
|
110
170
|
};
|
|
111
|
-
active_begin: {
|
|
112
|
-
type: string[];
|
|
113
|
-
};
|
|
114
|
-
active_end: {
|
|
115
|
-
type: string[];
|
|
116
|
-
};
|
|
117
171
|
filename: {
|
|
118
172
|
type: string[];
|
|
119
173
|
};
|
|
@@ -123,7 +177,6 @@ export declare const MessageSchema: {
|
|
|
123
177
|
length_in_bytes: {
|
|
124
178
|
type: string[];
|
|
125
179
|
};
|
|
126
|
-
location: {};
|
|
127
180
|
};
|
|
128
181
|
additionalProperties: boolean;
|
|
129
182
|
required: string[];
|
|
@@ -132,36 +185,159 @@ export declare const MessageSchema: {
|
|
|
132
185
|
type: string;
|
|
133
186
|
enum: string[];
|
|
134
187
|
};
|
|
135
|
-
|
|
188
|
+
MessageAIResponse: {
|
|
136
189
|
type: string;
|
|
137
|
-
|
|
190
|
+
properties: {
|
|
191
|
+
id: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
prompt_id: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
additionalProperties: boolean;
|
|
199
|
+
required: string[];
|
|
200
|
+
};
|
|
201
|
+
MessageTimeCode: {
|
|
202
|
+
type: string;
|
|
203
|
+
properties: {
|
|
204
|
+
t: {
|
|
205
|
+
type: string;
|
|
206
|
+
};
|
|
207
|
+
s: {
|
|
208
|
+
type: string;
|
|
209
|
+
};
|
|
210
|
+
e: {
|
|
211
|
+
type: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
additionalProperties: boolean;
|
|
215
|
+
required: string[];
|
|
216
|
+
};
|
|
217
|
+
UtmData: {
|
|
218
|
+
type: string;
|
|
219
|
+
properties: {
|
|
220
|
+
utm_source: {
|
|
221
|
+
type: string[];
|
|
222
|
+
};
|
|
223
|
+
utm_medium: {
|
|
224
|
+
type: string[];
|
|
225
|
+
};
|
|
226
|
+
utm_campaign: {
|
|
227
|
+
type: string[];
|
|
228
|
+
};
|
|
229
|
+
utm_content: {
|
|
230
|
+
type: string[];
|
|
231
|
+
};
|
|
232
|
+
utm_term: {
|
|
233
|
+
type: string[];
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
additionalProperties: boolean;
|
|
237
|
+
};
|
|
238
|
+
AudioInfo: {
|
|
239
|
+
type: string;
|
|
240
|
+
properties: {
|
|
241
|
+
url: {
|
|
242
|
+
type: string[];
|
|
243
|
+
};
|
|
244
|
+
streaming_url: {
|
|
245
|
+
type: string[];
|
|
246
|
+
};
|
|
247
|
+
presigned_url: {
|
|
248
|
+
type: string[];
|
|
249
|
+
};
|
|
250
|
+
presigned_url_expiration_date: {
|
|
251
|
+
type: string[];
|
|
252
|
+
};
|
|
253
|
+
duration_ms: {
|
|
254
|
+
type: string[];
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
additionalProperties: boolean;
|
|
258
|
+
};
|
|
259
|
+
ReactionSummary: {
|
|
260
|
+
type: string;
|
|
261
|
+
properties: {
|
|
262
|
+
reaction_counts: {
|
|
263
|
+
$ref: string;
|
|
264
|
+
};
|
|
265
|
+
top_user_reactions: {
|
|
266
|
+
type: string;
|
|
267
|
+
items: {
|
|
268
|
+
$ref: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
additionalProperties: boolean;
|
|
273
|
+
required: string[];
|
|
274
|
+
};
|
|
275
|
+
ReactionCounts: {
|
|
276
|
+
type: string;
|
|
277
|
+
additionalProperties: {
|
|
278
|
+
type: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
UserReaction: {
|
|
282
|
+
type: string;
|
|
283
|
+
properties: {
|
|
284
|
+
user_id: {
|
|
285
|
+
type: string;
|
|
286
|
+
};
|
|
287
|
+
reaction_id: {
|
|
288
|
+
type: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
additionalProperties: boolean;
|
|
292
|
+
required: string[];
|
|
293
|
+
};
|
|
294
|
+
UserNotAllowedReceiveNotifications: {
|
|
295
|
+
type: string;
|
|
296
|
+
properties: {
|
|
297
|
+
user_id: {
|
|
298
|
+
type: string;
|
|
299
|
+
};
|
|
300
|
+
phone: {
|
|
301
|
+
type: string;
|
|
302
|
+
};
|
|
303
|
+
email: {
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
additionalProperties: boolean;
|
|
308
|
+
required: string[];
|
|
138
309
|
};
|
|
139
310
|
};
|
|
140
311
|
$schema: string;
|
|
141
312
|
};
|
|
142
313
|
export declare enum MessageKeys {
|
|
143
314
|
id = "id",
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
creator_id = "creator_id",
|
|
147
|
-
conversation_id = "conversation_id",
|
|
148
|
-
workspace_id = "workspace_id",
|
|
315
|
+
type = "type",
|
|
316
|
+
kind = "kind",
|
|
149
317
|
created_at = "created_at",
|
|
150
|
-
|
|
318
|
+
updated_at = "updated_at",
|
|
151
319
|
deleted_at = "deleted_at",
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
transcript = "transcript",
|
|
156
|
-
ai_summary = "ai_summary",
|
|
157
|
-
has_ai_summary = "has_ai_summary",
|
|
158
|
-
waveform_url = "waveform_url",
|
|
159
|
-
reply_count = "reply_count",
|
|
160
|
-
parent_message_id = "parent_message_id",
|
|
161
|
-
language = "language",
|
|
320
|
+
conversation_id = "conversation_id",
|
|
321
|
+
workspace_id = "workspace_id",
|
|
322
|
+
creator_id = "creator_id",
|
|
162
323
|
status = "status",
|
|
324
|
+
parent_message_id = "parent_message_id",
|
|
163
325
|
attachments = "attachments",
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
326
|
+
language = "language",
|
|
327
|
+
is_original_language = "is_original_language",
|
|
328
|
+
transcript = "transcript",
|
|
329
|
+
ai_summary = "ai_summary",
|
|
330
|
+
ai_response_ids = "ai_response_ids",
|
|
331
|
+
share_link_id = "share_link_id",
|
|
332
|
+
link = "link",
|
|
333
|
+
time_codes = "time_codes",
|
|
334
|
+
waveform_percentages = "waveform_percentages",
|
|
335
|
+
folder_id = "folder_id",
|
|
336
|
+
utm_data = "utm_data",
|
|
337
|
+
conversation_sequence = "conversation_sequence",
|
|
338
|
+
source_message_id = "source_message_id",
|
|
339
|
+
audio = "audio",
|
|
340
|
+
users_caught_up = "users_caught_up",
|
|
341
|
+
reaction_summary = "reaction_summary",
|
|
342
|
+
users_not_allowed_to_receive_notifications = "users_not_allowed_to_receive_notifications"
|
|
167
343
|
}
|