cv-contracts 5.0.1 → 5.1.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 (36) hide show
  1. package/dist/enums/AttachmentStatus.d.ts +6 -0
  2. package/dist/enums/AttachmentStatus.js +11 -0
  3. package/dist/enums/AttachmentStatus.js.map +1 -0
  4. package/dist/enums/MessageSource.d.ts +4 -0
  5. package/dist/enums/MessageSource.js +9 -0
  6. package/dist/enums/MessageSource.js.map +1 -0
  7. package/dist/enums/index.d.ts +2 -0
  8. package/dist/enums/index.js +2 -0
  9. package/dist/enums/index.js.map +1 -1
  10. package/dist/enums/webhook/SubscriptionEvents.d.ts +2 -0
  11. package/dist/enums/webhook/SubscriptionEvents.js +2 -0
  12. package/dist/enums/webhook/SubscriptionEvents.js.map +1 -1
  13. package/dist/interfaces/index.d.ts +1 -0
  14. package/dist/interfaces/index.js +1 -0
  15. package/dist/interfaces/index.js.map +1 -1
  16. package/dist/interfaces/v6/MessageV6.d.ts +54 -0
  17. package/dist/interfaces/v6/MessageV6.js +3 -0
  18. package/dist/interfaces/v6/MessageV6.js.map +1 -0
  19. package/dist/interfaces/v6/index.d.ts +1 -0
  20. package/dist/interfaces/v6/index.js +18 -0
  21. package/dist/interfaces/v6/index.js.map +1 -0
  22. package/dist/schemas/index.d.ts +1 -0
  23. package/dist/schemas/index.js +1 -0
  24. package/dist/schemas/index.js.map +1 -1
  25. package/dist/schemas/v6/MessageContentSchema.d.ts +76 -0
  26. package/dist/schemas/v6/MessageContentSchema.js +81 -0
  27. package/dist/schemas/v6/MessageContentSchema.js.map +1 -0
  28. package/dist/schemas/v6/MessageV6Schema.d.ts +412 -0
  29. package/dist/schemas/v6/MessageV6Schema.js +470 -0
  30. package/dist/schemas/v6/MessageV6Schema.js.map +1 -0
  31. package/dist/schemas/v6/index.d.ts +2 -0
  32. package/dist/schemas/v6/index.js +19 -0
  33. package/dist/schemas/v6/index.js.map +1 -0
  34. package/dist/schemas/webhook/WebhookPayloadSchema.js +2 -0
  35. package/dist/schemas/webhook/WebhookPayloadSchema.js.map +1 -1
  36. package/package.json +1 -1
@@ -0,0 +1,412 @@
1
+ export declare const MessageV6Schema: {
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
+ thread_id: {
41
+ description: string;
42
+ type: string;
43
+ };
44
+ idempotency_key: {
45
+ type: string[];
46
+ };
47
+ attachments: {
48
+ type: string;
49
+ items: {
50
+ $ref: string;
51
+ };
52
+ };
53
+ available_languages: {
54
+ anyOf: ({
55
+ type: string;
56
+ items: {
57
+ type: string;
58
+ };
59
+ } | {
60
+ type: string;
61
+ items?: undefined;
62
+ })[];
63
+ };
64
+ original_language: {
65
+ type: string[];
66
+ };
67
+ ai_response_ids: {
68
+ type: string;
69
+ items: {
70
+ $ref: string;
71
+ };
72
+ };
73
+ share_link_id: {
74
+ type: string[];
75
+ };
76
+ link: {
77
+ type: string;
78
+ };
79
+ folder_id: {
80
+ type: string[];
81
+ };
82
+ utm_data: {
83
+ anyOf: ({
84
+ $ref: string;
85
+ type?: undefined;
86
+ } | {
87
+ type: string;
88
+ $ref?: undefined;
89
+ })[];
90
+ };
91
+ conversation_sequence: {
92
+ type: string[];
93
+ };
94
+ source_message_id: {
95
+ type: string[];
96
+ };
97
+ audio: {
98
+ anyOf: ({
99
+ $ref: string;
100
+ type?: undefined;
101
+ } | {
102
+ type: string;
103
+ $ref?: undefined;
104
+ })[];
105
+ };
106
+ users_caught_up: {
107
+ anyOf: ({
108
+ enum: string[];
109
+ type: string;
110
+ } | {
111
+ type: string;
112
+ enum?: undefined;
113
+ })[];
114
+ };
115
+ reaction_summary: {
116
+ anyOf: ({
117
+ $ref: string;
118
+ type?: undefined;
119
+ } | {
120
+ type: string;
121
+ $ref?: undefined;
122
+ })[];
123
+ };
124
+ users_not_allowed_to_receive_notifications: {
125
+ anyOf: ({
126
+ type: string;
127
+ items: {
128
+ $ref: string;
129
+ };
130
+ } | {
131
+ type: string;
132
+ items?: undefined;
133
+ })[];
134
+ };
135
+ source: {
136
+ anyOf: ({
137
+ enum: string[];
138
+ type: string;
139
+ } | {
140
+ type: string;
141
+ enum?: undefined;
142
+ })[];
143
+ };
144
+ source_value: {
145
+ type: string[];
146
+ };
147
+ tagged_user_ids: {
148
+ type: string;
149
+ items: {
150
+ type: string;
151
+ };
152
+ };
153
+ heard_ms: {
154
+ type: string[];
155
+ };
156
+ label_ids: {
157
+ anyOf: ({
158
+ type: string;
159
+ items: {
160
+ type: string;
161
+ };
162
+ } | {
163
+ type: string;
164
+ items?: undefined;
165
+ })[];
166
+ };
167
+ notify: {
168
+ type: string[];
169
+ };
170
+ notes: {
171
+ type: string[];
172
+ };
173
+ last_heard_update: {
174
+ type: string[];
175
+ };
176
+ };
177
+ additionalProperties: boolean;
178
+ required: string[];
179
+ definitions: {
180
+ MessageType: {
181
+ type: string;
182
+ enum: string[];
183
+ };
184
+ MessageStatus: {
185
+ type: string;
186
+ enum: string[];
187
+ };
188
+ AttachmentV5: {
189
+ type: string;
190
+ properties: {
191
+ id: {
192
+ type: string;
193
+ };
194
+ creator_id: {
195
+ type: string;
196
+ };
197
+ created_at: {
198
+ type: string;
199
+ };
200
+ type: {
201
+ $ref: string;
202
+ };
203
+ url: {
204
+ type: string;
205
+ };
206
+ presigned_url: {
207
+ type: string[];
208
+ };
209
+ presigned_url_expiration_date: {
210
+ type: string[];
211
+ };
212
+ filename: {
213
+ type: string[];
214
+ };
215
+ mime_type: {
216
+ type: string[];
217
+ };
218
+ length_in_bytes: {
219
+ type: string[];
220
+ };
221
+ };
222
+ additionalProperties: boolean;
223
+ required: string[];
224
+ };
225
+ AttachmentType: {
226
+ type: string;
227
+ enum: string[];
228
+ };
229
+ MessageAIResponse: {
230
+ type: string;
231
+ properties: {
232
+ id: {
233
+ type: string;
234
+ };
235
+ prompt_id: {
236
+ type: string;
237
+ };
238
+ };
239
+ additionalProperties: boolean;
240
+ required: string[];
241
+ };
242
+ UtmData: {
243
+ type: string;
244
+ properties: {
245
+ utm_source: {
246
+ type: string[];
247
+ };
248
+ utm_medium: {
249
+ type: string[];
250
+ };
251
+ utm_campaign: {
252
+ type: string[];
253
+ };
254
+ utm_content: {
255
+ type: string[];
256
+ };
257
+ utm_term: {
258
+ type: string[];
259
+ };
260
+ };
261
+ additionalProperties: boolean;
262
+ };
263
+ MessageContent: {
264
+ description: string;
265
+ type: string;
266
+ properties: {
267
+ ai_summary: {
268
+ type: string[];
269
+ };
270
+ transcript: {
271
+ type: string[];
272
+ };
273
+ time_codes: {
274
+ type: string;
275
+ items: {
276
+ $ref: string;
277
+ };
278
+ };
279
+ is_original_language: {
280
+ type: string[];
281
+ };
282
+ language: {
283
+ type: string[];
284
+ };
285
+ presigned_url: {
286
+ type: string[];
287
+ };
288
+ presigned_url_expiration_date: {
289
+ type: string[];
290
+ };
291
+ url: {
292
+ type: string[];
293
+ };
294
+ streaming_url: {
295
+ type: string[];
296
+ };
297
+ duration_ms: {
298
+ type: string[];
299
+ };
300
+ waveform_percentage: {
301
+ description: string;
302
+ type: string[];
303
+ };
304
+ };
305
+ additionalProperties: boolean;
306
+ };
307
+ MessageTimeCode: {
308
+ type: string;
309
+ properties: {
310
+ t: {
311
+ type: string;
312
+ };
313
+ s: {
314
+ type: string;
315
+ };
316
+ e: {
317
+ type: string;
318
+ };
319
+ };
320
+ additionalProperties: boolean;
321
+ required: string[];
322
+ };
323
+ ReactionSummary: {
324
+ type: string;
325
+ properties: {
326
+ reaction_counts: {
327
+ $ref: string;
328
+ };
329
+ top_user_reactions: {
330
+ type: string;
331
+ items: {
332
+ $ref: string;
333
+ };
334
+ };
335
+ };
336
+ additionalProperties: boolean;
337
+ required: string[];
338
+ };
339
+ ReactionCounts: {
340
+ type: string;
341
+ additionalProperties: {
342
+ type: string;
343
+ };
344
+ };
345
+ UserReaction: {
346
+ type: string;
347
+ properties: {
348
+ user_id: {
349
+ type: string;
350
+ };
351
+ reaction_id: {
352
+ type: string;
353
+ };
354
+ };
355
+ additionalProperties: boolean;
356
+ required: string[];
357
+ };
358
+ UserNotAllowedReceiveNotifications: {
359
+ type: string;
360
+ properties: {
361
+ user_id: {
362
+ type: string;
363
+ };
364
+ phone: {
365
+ type: string;
366
+ };
367
+ email: {
368
+ type: string;
369
+ };
370
+ };
371
+ additionalProperties: boolean;
372
+ required: string[];
373
+ };
374
+ };
375
+ $schema: string;
376
+ };
377
+ export declare enum MessageV6Keys {
378
+ id = "id",
379
+ type = "type",
380
+ kind = "kind",
381
+ created_at = "created_at",
382
+ updated_at = "updated_at",
383
+ deleted_at = "deleted_at",
384
+ conversation_id = "conversation_id",
385
+ workspace_id = "workspace_id",
386
+ creator_id = "creator_id",
387
+ status = "status",
388
+ thread_id = "thread_id",
389
+ idempotency_key = "idempotency_key",
390
+ attachments = "attachments",
391
+ available_languages = "available_languages",
392
+ original_language = "original_language",
393
+ ai_response_ids = "ai_response_ids",
394
+ share_link_id = "share_link_id",
395
+ link = "link",
396
+ folder_id = "folder_id",
397
+ utm_data = "utm_data",
398
+ conversation_sequence = "conversation_sequence",
399
+ source_message_id = "source_message_id",
400
+ audio = "audio",
401
+ users_caught_up = "users_caught_up",
402
+ reaction_summary = "reaction_summary",
403
+ users_not_allowed_to_receive_notifications = "users_not_allowed_to_receive_notifications",
404
+ source = "source",
405
+ source_value = "source_value",
406
+ tagged_user_ids = "tagged_user_ids",
407
+ heard_ms = "heard_ms",
408
+ label_ids = "label_ids",
409
+ notify = "notify",
410
+ notes = "notes",
411
+ last_heard_update = "last_heard_update"
412
+ }