cv-contracts 1.0.17 → 1.0.19

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.
@@ -1,6 +1,6 @@
1
1
  import { WebhookAIPromptResponse } from './WebhookAIPromptResponse';
2
- import { WebhookMessage } from './WebhookMessage';
2
+ import { GetMessageResponse } from '../GetMessageResponse';
3
3
  export interface WebhookWorkspaceLevelAIPromptResponse {
4
4
  ai_response: WebhookAIPromptResponse;
5
- messages: WebhookMessage[];
5
+ messages: GetMessageResponse[];
6
6
  }
@@ -0,0 +1,6 @@
1
+ import { GetMessageResponse } from '../GetMessageResponse';
2
+ import { Label } from '../Label';
3
+ export interface WebhookWorkspaceLevelLabelAddedToMessage {
4
+ label: Label;
5
+ message: GetMessageResponse;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WebhookWorkspaceLevelLabelAddedToMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookWorkspaceLevelLabelAddedToMessage.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/WebhookWorkspaceLevelLabelAddedToMessage.ts"],"names":[],"mappings":""}
@@ -17,3 +17,4 @@ export * from './SubscribedUserSettings';
17
17
  export * from './SubscriptionFilter';
18
18
  export * from './WebhookAIPromptResponse';
19
19
  export * from './WebhookWorkspaceLevelAIPromptResponse';
20
+ export * from './WebhookWorkspaceLevelLabelAddedToMessage';
@@ -33,4 +33,5 @@ __exportStar(require("./SubscribedUserSettings"), exports);
33
33
  __exportStar(require("./SubscriptionFilter"), exports);
34
34
  __exportStar(require("./WebhookAIPromptResponse"), exports);
35
35
  __exportStar(require("./WebhookWorkspaceLevelAIPromptResponse"), exports);
36
+ __exportStar(require("./WebhookWorkspaceLevelLabelAddedToMessage"), exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,6DAA2C;AAC3C,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,oEAAkD;AAClD,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,0EAAwD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,6DAA2C;AAC3C,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,oEAAkD;AAClD,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,0EAAwD;AACxD,6EAA2D"}
@@ -62,22 +62,47 @@ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
62
62
  type: string;
63
63
  enum: string[];
64
64
  };
65
- WebhookMessage: {
65
+ GetMessageResponse: {
66
66
  type: string;
67
67
  properties: {
68
- message_guid: {
68
+ message: {
69
+ $ref: string;
70
+ };
71
+ creator: {
72
+ $ref: string;
73
+ };
74
+ conversation: {
75
+ $ref: string;
76
+ };
77
+ labels: {
69
78
  type: string;
79
+ items: {
80
+ $ref: string;
81
+ };
70
82
  };
71
- self_link: {
83
+ };
84
+ additionalProperties: boolean;
85
+ required: string[];
86
+ };
87
+ Message: {
88
+ type: string;
89
+ properties: {
90
+ id: {
72
91
  type: string;
73
92
  };
74
- creator_guid: {
93
+ name: {
94
+ type: string[];
95
+ };
96
+ link: {
75
97
  type: string;
76
98
  };
77
- channel_guid: {
99
+ creator_id: {
100
+ type: string;
101
+ };
102
+ conversation_id: {
78
103
  type: string[];
79
104
  };
80
- workspace_guid: {
105
+ workspace_id: {
81
106
  type: string[];
82
107
  };
83
108
  created_at: {
@@ -92,16 +117,16 @@ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
92
117
  duration_ms: {
93
118
  type: string;
94
119
  };
95
- message_url: {
120
+ audio_url: {
96
121
  type: string[];
97
122
  };
98
123
  audio_stream_url: {
99
124
  type: string[];
100
125
  };
101
- transcript_txt: {
126
+ transcript: {
102
127
  type: string[];
103
128
  };
104
- ai_summary_txt: {
129
+ ai_summary: {
105
130
  type: string[];
106
131
  };
107
132
  has_ai_summary: {
@@ -113,7 +138,7 @@ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
113
138
  reply_count: {
114
139
  type: string;
115
140
  };
116
- parent_message_guid: {
141
+ parent_message_id: {
117
142
  type: string[];
118
143
  };
119
144
  language: {
@@ -131,6 +156,9 @@ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
131
156
  type: {
132
157
  $ref: string;
133
158
  };
159
+ share_link_id: {
160
+ type: string;
161
+ };
134
162
  };
135
163
  additionalProperties: boolean;
136
164
  required: string[];
@@ -185,6 +213,232 @@ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
185
213
  type: string;
186
214
  enum: string[];
187
215
  };
216
+ User: {
217
+ type: string;
218
+ properties: {
219
+ id: {
220
+ type: string;
221
+ };
222
+ link: {
223
+ type: string;
224
+ };
225
+ first_name: {
226
+ type: string;
227
+ };
228
+ last_name: {
229
+ type: string;
230
+ };
231
+ full_name: {
232
+ type: string;
233
+ };
234
+ image_url: {
235
+ type: string;
236
+ };
237
+ created_at: {
238
+ type: string;
239
+ };
240
+ phones: {
241
+ type: string;
242
+ items: {
243
+ type: string;
244
+ };
245
+ };
246
+ emails: {
247
+ type: string;
248
+ items: {
249
+ type: string;
250
+ };
251
+ };
252
+ languages: {
253
+ type: string;
254
+ items: {
255
+ type: string;
256
+ };
257
+ };
258
+ };
259
+ additionalProperties: boolean;
260
+ required: string[];
261
+ };
262
+ Conversation: {
263
+ type: string;
264
+ properties: {
265
+ id: {
266
+ type: string;
267
+ };
268
+ link: {
269
+ type: string;
270
+ };
271
+ name: {
272
+ type: string;
273
+ };
274
+ description: {
275
+ type: string[];
276
+ };
277
+ workspace_id: {
278
+ type: string;
279
+ };
280
+ workspace_name: {
281
+ type: string;
282
+ };
283
+ workspace_image_url: {
284
+ type: string[];
285
+ };
286
+ owner_id: {
287
+ type: string;
288
+ };
289
+ type: {
290
+ $ref: string;
291
+ };
292
+ visibility: {
293
+ $ref: string;
294
+ };
295
+ total_messages: {
296
+ type: string;
297
+ };
298
+ total_duration_ms: {
299
+ type: string;
300
+ };
301
+ image_url: {
302
+ type: string[];
303
+ };
304
+ is_private: {
305
+ type: string;
306
+ };
307
+ is_async: {
308
+ type: string;
309
+ };
310
+ async_stats: {
311
+ anyOf: ({
312
+ $ref: string;
313
+ type?: undefined;
314
+ } | {
315
+ type: string;
316
+ $ref?: undefined;
317
+ })[];
318
+ };
319
+ created_at: {
320
+ type: string;
321
+ };
322
+ last_updated_at: {
323
+ type: string;
324
+ };
325
+ deleted_at: {
326
+ type: string;
327
+ };
328
+ };
329
+ additionalProperties: boolean;
330
+ required: string[];
331
+ };
332
+ ConversationType: {
333
+ type: string;
334
+ enum: string[];
335
+ };
336
+ ConversationVisibility: {
337
+ type: string;
338
+ enum: string[];
339
+ };
340
+ AsyncMeetingStats: {
341
+ type: string;
342
+ properties: {
343
+ stats: {
344
+ type: string;
345
+ properties: {
346
+ total_duration_milliseconds: {
347
+ type: string;
348
+ };
349
+ total_heard_milliseconds: {
350
+ type: string;
351
+ };
352
+ total_engaged_percentage: {
353
+ type: string;
354
+ };
355
+ total_messages_posted: {
356
+ type: string;
357
+ };
358
+ total_users: {
359
+ type: string;
360
+ };
361
+ };
362
+ additionalProperties: boolean;
363
+ required: string[];
364
+ };
365
+ user_stats: {
366
+ type: string;
367
+ items: {
368
+ type: string;
369
+ properties: {
370
+ user_id: {
371
+ type: string;
372
+ };
373
+ total_messages_posted: {
374
+ type: string;
375
+ };
376
+ total_sent_milliseconds: {
377
+ type: string;
378
+ };
379
+ total_heard_milliseconds: {
380
+ type: string;
381
+ };
382
+ total_engaged_percentage: {
383
+ type: string;
384
+ };
385
+ total_heard_messages: {
386
+ type: string;
387
+ };
388
+ total_unheard_messages: {
389
+ type: string;
390
+ };
391
+ };
392
+ additionalProperties: boolean;
393
+ required: string[];
394
+ };
395
+ };
396
+ };
397
+ additionalProperties: boolean;
398
+ required: string[];
399
+ };
400
+ Label: {
401
+ type: string;
402
+ properties: {
403
+ id: {
404
+ type: string;
405
+ };
406
+ name: {
407
+ type: string;
408
+ };
409
+ behavior: {
410
+ $ref: string;
411
+ };
412
+ type: {
413
+ $ref: string;
414
+ };
415
+ creator_guid: {
416
+ type: string;
417
+ };
418
+ space_guid: {
419
+ type: string[];
420
+ };
421
+ image_url: {
422
+ type: string[];
423
+ };
424
+ automatic_playlist: {
425
+ type: string;
426
+ };
427
+ sort_order: {
428
+ type: string;
429
+ };
430
+ };
431
+ additionalProperties: boolean;
432
+ required: string[];
433
+ };
434
+ LabelBehavior: {
435
+ type: string;
436
+ enum: string[];
437
+ };
438
+ LabelType: {
439
+ type: string;
440
+ enum: string[];
441
+ };
188
442
  };
189
443
  $schema: string;
190
444
  };