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.
Files changed (57) hide show
  1. package/dist/enums/MessageCaughtUpStatus.d.ts +5 -0
  2. package/dist/enums/MessageCaughtUpStatus.js +10 -0
  3. package/dist/enums/MessageCaughtUpStatus.js.map +1 -0
  4. package/dist/enums/index.d.ts +1 -0
  5. package/dist/enums/index.js +1 -0
  6. package/dist/enums/index.js.map +1 -1
  7. package/dist/interfaces/Attachment.d.ts +0 -3
  8. package/dist/interfaces/Message.d.ts +64 -20
  9. package/dist/schemas/AttachmentSchema.d.ts +1 -11
  10. package/dist/schemas/AttachmentSchema.js +0 -10
  11. package/dist/schemas/AttachmentSchema.js.map +1 -1
  12. package/dist/schemas/AudioInfoSchema.d.ts +29 -0
  13. package/dist/schemas/AudioInfoSchema.js +34 -0
  14. package/dist/schemas/AudioInfoSchema.js.map +1 -0
  15. package/dist/schemas/GetMessageResponseSchema.d.ts +209 -38
  16. package/dist/schemas/GetMessageResponseSchema.js +232 -55
  17. package/dist/schemas/GetMessageResponseSchema.js.map +1 -1
  18. package/dist/schemas/MessageAIResponseSchema.d.ts +18 -0
  19. package/dist/schemas/MessageAIResponseSchema.js +23 -0
  20. package/dist/schemas/MessageAIResponseSchema.js.map +1 -0
  21. package/dist/schemas/MessageSchema.d.ts +233 -57
  22. package/dist/schemas/MessageSchema.js +255 -73
  23. package/dist/schemas/MessageSchema.js.map +1 -1
  24. package/dist/schemas/MessageShareLinkSchema.d.ts +209 -38
  25. package/dist/schemas/MessageShareLinkSchema.js +232 -55
  26. package/dist/schemas/MessageShareLinkSchema.js.map +1 -1
  27. package/dist/schemas/MessageTimeCodeSchema.d.ts +22 -0
  28. package/dist/schemas/MessageTimeCodeSchema.js +27 -0
  29. package/dist/schemas/MessageTimeCodeSchema.js.map +1 -0
  30. package/dist/schemas/ReactionCountsSchema.d.ts +12 -0
  31. package/dist/schemas/ReactionCountsSchema.js +17 -0
  32. package/dist/schemas/ReactionCountsSchema.js.map +1 -0
  33. package/dist/schemas/ReactionSummarySchema.d.ts +42 -0
  34. package/dist/schemas/ReactionSummarySchema.js +47 -0
  35. package/dist/schemas/ReactionSummarySchema.js.map +1 -0
  36. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
  37. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js +27 -0
  38. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
  39. package/dist/schemas/UserReactionSchema.d.ts +18 -0
  40. package/dist/schemas/UserReactionSchema.js +23 -0
  41. package/dist/schemas/UserReactionSchema.js.map +1 -0
  42. package/dist/schemas/UtmDataSchema.d.ts +29 -0
  43. package/dist/schemas/UtmDataSchema.js +34 -0
  44. package/dist/schemas/UtmDataSchema.js.map +1 -0
  45. package/dist/schemas/index.d.ts +8 -0
  46. package/dist/schemas/index.js +8 -0
  47. package/dist/schemas/index.js.map +1 -1
  48. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.d.ts +209 -38
  49. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js +232 -55
  50. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js.map +1 -1
  51. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.d.ts +209 -38
  52. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js +232 -55
  53. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js.map +1 -1
  54. package/dist/schemas/webhook/WebhookMessageSchema.d.ts +0 -7
  55. package/dist/schemas/webhook/WebhookMessageSchema.js +0 -7
  56. package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
  57. package/package.json +1 -1
@@ -4,37 +4,52 @@ export declare const MessageSchema: {
4
4
  id: {
5
5
  type: string;
6
6
  };
7
- name: {
8
- type: string[];
7
+ type: {
8
+ $ref: string;
9
9
  };
10
- link: {
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
- creator_id: {
22
+ updated_at: {
14
23
  type: string;
15
24
  };
16
- conversation_id: {
25
+ deleted_at: {
17
26
  type: string[];
18
27
  };
19
- workspace_id: {
28
+ conversation_id: {
20
29
  type: string[];
21
30
  };
22
- created_at: {
31
+ workspace_id: {
23
32
  type: string;
24
33
  };
25
- last_updated_at: {
34
+ creator_id: {
26
35
  type: string;
27
36
  };
28
- deleted_at: {
37
+ status: {
38
+ $ref: string;
39
+ };
40
+ parent_message_id: {
29
41
  type: string[];
30
42
  };
31
- duration_ms: {
43
+ attachments: {
32
44
  type: string;
45
+ items: {
46
+ $ref: string;
47
+ };
33
48
  };
34
- audio_url: {
49
+ language: {
35
50
  type: string[];
36
51
  };
37
- audio_stream_url: {
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
- has_ai_summary: {
61
+ ai_response_ids: {
47
62
  type: string;
63
+ items: {
64
+ $ref: string;
65
+ };
48
66
  };
49
- waveform_url: {
67
+ share_link_id: {
50
68
  type: string[];
51
69
  };
52
- reply_count: {
70
+ link: {
53
71
  type: string;
54
72
  };
55
- parent_message_id: {
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
- language: {
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
- status: {
62
- $ref: string;
100
+ source_message_id: {
101
+ type: string[];
63
102
  };
64
- attachments: {
65
- type: string;
66
- items: {
103
+ audio: {
104
+ anyOf: ({
67
105
  $ref: string;
68
- };
69
- };
70
- type: {
71
- $ref: string;
106
+ type?: undefined;
107
+ } | {
108
+ type: string;
109
+ $ref?: undefined;
110
+ })[];
72
111
  };
73
- kind: {
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
- share_link_id: {
83
- type: string;
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
- MessageType: {
188
+ MessageAIResponse: {
136
189
  type: string;
137
- enum: string[];
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
- name = "name",
145
- link = "link",
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
- last_updated_at = "last_updated_at",
318
+ updated_at = "updated_at",
151
319
  deleted_at = "deleted_at",
152
- duration_ms = "duration_ms",
153
- audio_url = "audio_url",
154
- audio_stream_url = "audio_stream_url",
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
- type = "type",
165
- kind = "kind",
166
- share_link_id = "share_link_id"
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
  }