cv-contracts 1.0.44 → 2.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.
Files changed (49) 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/AttachmentV2.d.ts +11 -0
  8. package/dist/interfaces/AttachmentV2.js +3 -0
  9. package/dist/interfaces/AttachmentV2.js.map +1 -0
  10. package/dist/interfaces/MessageV3.d.ts +72 -0
  11. package/dist/interfaces/MessageV3.js +3 -0
  12. package/dist/interfaces/MessageV3.js.map +1 -0
  13. package/dist/interfaces/index.d.ts +2 -0
  14. package/dist/interfaces/index.js +2 -0
  15. package/dist/interfaces/index.js.map +1 -1
  16. package/dist/schemas/AttachmentV2Schema.d.ts +48 -0
  17. package/dist/schemas/AttachmentV2Schema.js +60 -0
  18. package/dist/schemas/AttachmentV2Schema.js.map +1 -0
  19. package/dist/schemas/AudioInfoSchema.d.ts +29 -0
  20. package/dist/schemas/AudioInfoSchema.js +34 -0
  21. package/dist/schemas/AudioInfoSchema.js.map +1 -0
  22. package/dist/schemas/MessageAIResponseSchema.d.ts +18 -0
  23. package/dist/schemas/MessageAIResponseSchema.js +23 -0
  24. package/dist/schemas/MessageAIResponseSchema.js.map +1 -0
  25. package/dist/schemas/MessageTimeCodeSchema.d.ts +22 -0
  26. package/dist/schemas/MessageTimeCodeSchema.js +27 -0
  27. package/dist/schemas/MessageTimeCodeSchema.js.map +1 -0
  28. package/dist/schemas/MessageV3Schema.d.ts +343 -0
  29. package/dist/schemas/MessageV3Schema.js +392 -0
  30. package/dist/schemas/MessageV3Schema.js.map +1 -0
  31. package/dist/schemas/ReactionCountsSchema.d.ts +12 -0
  32. package/dist/schemas/ReactionCountsSchema.js +17 -0
  33. package/dist/schemas/ReactionCountsSchema.js.map +1 -0
  34. package/dist/schemas/ReactionSummarySchema.d.ts +42 -0
  35. package/dist/schemas/ReactionSummarySchema.js +47 -0
  36. package/dist/schemas/ReactionSummarySchema.js.map +1 -0
  37. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
  38. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js +27 -0
  39. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
  40. package/dist/schemas/UserReactionSchema.d.ts +18 -0
  41. package/dist/schemas/UserReactionSchema.js +23 -0
  42. package/dist/schemas/UserReactionSchema.js.map +1 -0
  43. package/dist/schemas/UtmDataSchema.d.ts +29 -0
  44. package/dist/schemas/UtmDataSchema.js +34 -0
  45. package/dist/schemas/UtmDataSchema.js.map +1 -0
  46. package/dist/schemas/index.d.ts +10 -0
  47. package/dist/schemas/index.js +10 -0
  48. package/dist/schemas/index.js.map +1 -1
  49. package/package.json +1 -1
@@ -0,0 +1,343 @@
1
+ export declare const MessageV3Schema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ type: {
8
+ $ref: string;
9
+ };
10
+ kind: {
11
+ anyOf: ({
12
+ enum: string[];
13
+ type: string;
14
+ } | {
15
+ type: string;
16
+ enum?: undefined;
17
+ })[];
18
+ };
19
+ created_at: {
20
+ type: string;
21
+ };
22
+ updated_at: {
23
+ type: string;
24
+ };
25
+ deleted_at: {
26
+ type: string[];
27
+ };
28
+ conversation_id: {
29
+ type: string[];
30
+ };
31
+ workspace_id: {
32
+ type: string;
33
+ };
34
+ creator_id: {
35
+ type: string;
36
+ };
37
+ status: {
38
+ $ref: string;
39
+ };
40
+ parent_message_id: {
41
+ type: string[];
42
+ };
43
+ attachments: {
44
+ type: string;
45
+ items: {
46
+ $ref: string;
47
+ };
48
+ };
49
+ language: {
50
+ type: string[];
51
+ };
52
+ is_original_language: {
53
+ type: string[];
54
+ };
55
+ transcript: {
56
+ type: string[];
57
+ };
58
+ ai_summary: {
59
+ type: string[];
60
+ };
61
+ ai_response_ids: {
62
+ type: string;
63
+ items: {
64
+ $ref: string;
65
+ };
66
+ };
67
+ share_link_id: {
68
+ type: string[];
69
+ };
70
+ link: {
71
+ type: string;
72
+ };
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: {
86
+ type: string[];
87
+ };
88
+ utm_data: {
89
+ anyOf: ({
90
+ $ref: string;
91
+ type?: undefined;
92
+ } | {
93
+ type: string;
94
+ $ref?: undefined;
95
+ })[];
96
+ };
97
+ conversation_sequence: {
98
+ type: string[];
99
+ };
100
+ source_message_id: {
101
+ type: string[];
102
+ };
103
+ audio: {
104
+ anyOf: ({
105
+ $ref: string;
106
+ type?: undefined;
107
+ } | {
108
+ type: string;
109
+ $ref?: undefined;
110
+ })[];
111
+ };
112
+ users_caught_up: {
113
+ anyOf: ({
114
+ enum: string[];
115
+ type: string;
116
+ } | {
117
+ type: string;
118
+ enum?: undefined;
119
+ })[];
120
+ };
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
+ })[];
140
+ };
141
+ };
142
+ additionalProperties: boolean;
143
+ required: string[];
144
+ definitions: {
145
+ MessageType: {
146
+ type: string;
147
+ enum: string[];
148
+ };
149
+ MessageStatus: {
150
+ type: string;
151
+ enum: string[];
152
+ };
153
+ AttachmentV2: {
154
+ type: string;
155
+ properties: {
156
+ id: {
157
+ type: string;
158
+ };
159
+ creator_id: {
160
+ type: string;
161
+ };
162
+ created_at: {
163
+ type: string;
164
+ };
165
+ type: {
166
+ $ref: string;
167
+ };
168
+ link: {
169
+ type: string;
170
+ };
171
+ filename: {
172
+ type: string[];
173
+ };
174
+ mime_type: {
175
+ type: string[];
176
+ };
177
+ length_in_bytes: {
178
+ type: string[];
179
+ };
180
+ };
181
+ additionalProperties: boolean;
182
+ required: string[];
183
+ };
184
+ AttachmentType: {
185
+ type: string;
186
+ enum: string[];
187
+ };
188
+ MessageAIResponse: {
189
+ type: 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[];
309
+ };
310
+ };
311
+ $schema: string;
312
+ };
313
+ export declare enum MessageV3Keys {
314
+ id = "id",
315
+ type = "type",
316
+ kind = "kind",
317
+ created_at = "created_at",
318
+ updated_at = "updated_at",
319
+ deleted_at = "deleted_at",
320
+ conversation_id = "conversation_id",
321
+ workspace_id = "workspace_id",
322
+ creator_id = "creator_id",
323
+ status = "status",
324
+ parent_message_id = "parent_message_id",
325
+ attachments = "attachments",
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"
343
+ }