cv-contracts 1.0.17 → 1.0.18

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
  }
@@ -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
  };
@@ -10,7 +10,7 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
10
10
  messages: {
11
11
  type: 'array',
12
12
  items: {
13
- $ref: '#/definitions/WebhookMessage',
13
+ $ref: '#/definitions/GetMessageResponse',
14
14
  },
15
15
  },
16
16
  },
@@ -74,22 +74,47 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
74
74
  type: 'string',
75
75
  enum: ['text', 'json'],
76
76
  },
77
- WebhookMessage: {
77
+ GetMessageResponse: {
78
78
  type: 'object',
79
79
  properties: {
80
- message_guid: {
80
+ message: {
81
+ $ref: '#/definitions/Message',
82
+ },
83
+ creator: {
84
+ $ref: '#/definitions/User',
85
+ },
86
+ conversation: {
87
+ $ref: '#/definitions/Conversation',
88
+ },
89
+ labels: {
90
+ type: 'array',
91
+ items: {
92
+ $ref: '#/definitions/Label',
93
+ },
94
+ },
95
+ },
96
+ additionalProperties: false,
97
+ required: ['message'],
98
+ },
99
+ Message: {
100
+ type: 'object',
101
+ properties: {
102
+ id: {
81
103
  type: 'string',
82
104
  },
83
- self_link: {
105
+ name: {
106
+ type: ['null', 'string'],
107
+ },
108
+ link: {
84
109
  type: 'string',
85
110
  },
86
- creator_guid: {
111
+ creator_id: {
87
112
  type: 'string',
88
113
  },
89
- channel_guid: {
114
+ conversation_id: {
90
115
  type: ['null', 'string'],
91
116
  },
92
- workspace_guid: {
117
+ workspace_id: {
93
118
  type: ['null', 'string'],
94
119
  },
95
120
  created_at: {
@@ -104,16 +129,16 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
104
129
  duration_ms: {
105
130
  type: 'number',
106
131
  },
107
- message_url: {
132
+ audio_url: {
108
133
  type: ['null', 'string'],
109
134
  },
110
135
  audio_stream_url: {
111
136
  type: ['null', 'string'],
112
137
  },
113
- transcript_txt: {
138
+ transcript: {
114
139
  type: ['null', 'string'],
115
140
  },
116
- ai_summary_txt: {
141
+ ai_summary: {
117
142
  type: ['null', 'string'],
118
143
  },
119
144
  has_ai_summary: {
@@ -125,7 +150,7 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
125
150
  reply_count: {
126
151
  type: 'number',
127
152
  },
128
- parent_message_guid: {
153
+ parent_message_id: {
129
154
  type: ['null', 'string'],
130
155
  },
131
156
  language: {
@@ -143,16 +168,19 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
143
168
  type: {
144
169
  $ref: '#/definitions/MessageType',
145
170
  },
171
+ share_link_id: {
172
+ type: 'string',
173
+ },
146
174
  },
147
175
  additionalProperties: false,
148
176
  required: [
149
177
  'created_at',
150
- 'creator_guid',
178
+ 'creator_id',
151
179
  'duration_ms',
180
+ 'id',
152
181
  'last_updated_at',
153
- 'message_guid',
182
+ 'link',
154
183
  'reply_count',
155
- 'self_link',
156
184
  'status',
157
185
  'type',
158
186
  ],
@@ -218,6 +246,267 @@ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
218
246
  type: 'string',
219
247
  enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
220
248
  },
249
+ User: {
250
+ type: 'object',
251
+ properties: {
252
+ id: {
253
+ type: 'string',
254
+ },
255
+ link: {
256
+ type: 'string',
257
+ },
258
+ first_name: {
259
+ type: 'string',
260
+ },
261
+ last_name: {
262
+ type: 'string',
263
+ },
264
+ full_name: {
265
+ type: 'string',
266
+ },
267
+ image_url: {
268
+ type: 'string',
269
+ },
270
+ created_at: {
271
+ type: 'string',
272
+ },
273
+ phones: {
274
+ type: 'array',
275
+ items: {
276
+ type: 'string',
277
+ },
278
+ },
279
+ emails: {
280
+ type: 'array',
281
+ items: {
282
+ type: 'string',
283
+ },
284
+ },
285
+ languages: {
286
+ type: 'array',
287
+ items: {
288
+ type: 'string',
289
+ },
290
+ },
291
+ },
292
+ additionalProperties: false,
293
+ required: ['created_at', 'first_name', 'full_name', 'id', 'link'],
294
+ },
295
+ Conversation: {
296
+ type: 'object',
297
+ properties: {
298
+ id: {
299
+ type: 'string',
300
+ },
301
+ link: {
302
+ type: 'string',
303
+ },
304
+ name: {
305
+ type: 'string',
306
+ },
307
+ description: {
308
+ type: ['null', 'string'],
309
+ },
310
+ workspace_id: {
311
+ type: 'string',
312
+ },
313
+ workspace_name: {
314
+ type: 'string',
315
+ },
316
+ workspace_image_url: {
317
+ type: ['null', 'string'],
318
+ },
319
+ owner_id: {
320
+ type: 'string',
321
+ },
322
+ type: {
323
+ $ref: '#/definitions/ConversationType',
324
+ },
325
+ visibility: {
326
+ $ref: '#/definitions/ConversationVisibility',
327
+ },
328
+ total_messages: {
329
+ type: 'number',
330
+ },
331
+ total_duration_ms: {
332
+ type: 'number',
333
+ },
334
+ image_url: {
335
+ type: ['null', 'string'],
336
+ },
337
+ is_private: {
338
+ type: 'boolean',
339
+ },
340
+ is_async: {
341
+ type: 'boolean',
342
+ },
343
+ async_stats: {
344
+ anyOf: [
345
+ {
346
+ $ref: '#/definitions/AsyncMeetingStats',
347
+ },
348
+ {
349
+ type: 'null',
350
+ },
351
+ ],
352
+ },
353
+ created_at: {
354
+ type: 'string',
355
+ },
356
+ last_updated_at: {
357
+ type: 'string',
358
+ },
359
+ deleted_at: {
360
+ type: 'string',
361
+ },
362
+ },
363
+ additionalProperties: false,
364
+ required: [
365
+ 'created_at',
366
+ 'id',
367
+ 'is_async',
368
+ 'is_private',
369
+ 'last_updated_at',
370
+ 'link',
371
+ 'name',
372
+ 'owner_id',
373
+ 'total_duration_ms',
374
+ 'total_messages',
375
+ 'type',
376
+ 'visibility',
377
+ 'workspace_id',
378
+ 'workspace_name',
379
+ ],
380
+ },
381
+ ConversationType: {
382
+ type: 'string',
383
+ enum: [
384
+ 'directMessage',
385
+ 'customerConversation',
386
+ 'namedConversation',
387
+ 'asyncMeeting',
388
+ ],
389
+ },
390
+ ConversationVisibility: {
391
+ type: 'string',
392
+ enum: ['private', 'workspace', 'public'],
393
+ },
394
+ AsyncMeetingStats: {
395
+ type: 'object',
396
+ properties: {
397
+ stats: {
398
+ type: 'object',
399
+ properties: {
400
+ total_duration_milliseconds: {
401
+ type: 'number',
402
+ },
403
+ total_heard_milliseconds: {
404
+ type: 'number',
405
+ },
406
+ total_engaged_percentage: {
407
+ type: 'number',
408
+ },
409
+ total_messages_posted: {
410
+ type: 'number',
411
+ },
412
+ total_users: {
413
+ type: 'number',
414
+ },
415
+ },
416
+ additionalProperties: false,
417
+ required: [
418
+ 'total_duration_milliseconds',
419
+ 'total_engaged_percentage',
420
+ 'total_heard_milliseconds',
421
+ 'total_messages_posted',
422
+ 'total_users',
423
+ ],
424
+ },
425
+ user_stats: {
426
+ type: 'array',
427
+ items: {
428
+ type: 'object',
429
+ properties: {
430
+ user_id: {
431
+ type: 'string',
432
+ },
433
+ total_messages_posted: {
434
+ type: 'number',
435
+ },
436
+ total_sent_milliseconds: {
437
+ type: 'number',
438
+ },
439
+ total_heard_milliseconds: {
440
+ type: 'number',
441
+ },
442
+ total_engaged_percentage: {
443
+ type: 'number',
444
+ },
445
+ total_heard_messages: {
446
+ type: 'number',
447
+ },
448
+ total_unheard_messages: {
449
+ type: 'number',
450
+ },
451
+ },
452
+ additionalProperties: false,
453
+ required: [
454
+ 'total_engaged_percentage',
455
+ 'total_heard_messages',
456
+ 'total_heard_milliseconds',
457
+ 'total_messages_posted',
458
+ 'total_sent_milliseconds',
459
+ 'total_unheard_messages',
460
+ 'user_id',
461
+ ],
462
+ },
463
+ },
464
+ },
465
+ additionalProperties: false,
466
+ required: ['stats', 'user_stats'],
467
+ },
468
+ Label: {
469
+ type: 'object',
470
+ properties: {
471
+ id: {
472
+ type: 'string',
473
+ },
474
+ name: {
475
+ type: 'string',
476
+ },
477
+ behavior: {
478
+ $ref: '#/definitions/LabelBehavior',
479
+ },
480
+ type: {
481
+ $ref: '#/definitions/LabelType',
482
+ },
483
+ creator_guid: {
484
+ type: 'string',
485
+ },
486
+ space_guid: {
487
+ type: ['null', 'string'],
488
+ },
489
+ image_url: {
490
+ type: ['null', 'string'],
491
+ },
492
+ automatic_playlist: {
493
+ type: 'boolean',
494
+ },
495
+ sort_order: {
496
+ type: 'number',
497
+ },
498
+ },
499
+ additionalProperties: false,
500
+ required: ['behavior', 'creator_guid', 'id', 'name', 'type'],
501
+ },
502
+ LabelBehavior: {
503
+ type: 'string',
504
+ enum: ['removeOnListenStart', 'removeWhenHeard', 'persistent'],
505
+ },
506
+ LabelType: {
507
+ type: 'string',
508
+ enum: ['personal', 'workspace', 'system', 'reaction'],
509
+ },
221
510
  },
222
511
  $schema: 'http://json-schema.org/draft-07/schema#',
223
512
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceLevelAIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,2CAA2C,GAAG;IACzD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SAC9C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aA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EAAE,UAAU,CAAC;SACnC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,CAAC;SACnE;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,wEAA2B,CAAA;IAC3B,kEAAqB,CAAA;AACvB,CAAC,EAHW,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAGpD"}
1
+ {"version":3,"file":"WebhookWorkspaceLevelAIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,2CAA2C,GAAG;IACzD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SAC9C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,kCAAkC;aACzC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC;IACrC,WAAW,EAAE;QACX,uBAAuB,EAAE;YACvB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,qCAAqC;iBAC5C;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,gCAAgC;iBACvC;gBACD,WAAW,EAAE;oBACX,IAAI,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,yCAAyC;IACnD,wEAA2B,CAAA;IAC3B,kEAAqB,CAAA;AACvB,CAAC,EAHW,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAGpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cv-contracts",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",