cv-contracts 1.0.16 → 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.
@@ -0,0 +1,10 @@
1
+ import { Conversation } from './Conversation';
2
+ import { Label } from './Label';
3
+ import { Message } from './Message';
4
+ import { User } from './User';
5
+ export interface GetMessageResponse {
6
+ message: Message;
7
+ creator?: User;
8
+ conversation?: Conversation;
9
+ labels?: Label[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GetMessageResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMessageResponse.js","sourceRoot":"","sources":["../../src/interfaces/GetMessageResponse.ts"],"names":[],"mappings":""}
@@ -9,3 +9,4 @@ export * from './Attachment';
9
9
  export * from './User';
10
10
  export * from './webhook';
11
11
  export * from './AIPromptResponse';
12
+ export * from './GetMessageResponse';
@@ -25,4 +25,5 @@ __exportStar(require("./Attachment"), exports);
25
25
  __exportStar(require("./User"), exports);
26
26
  __exportStar(require("./webhook"), exports);
27
27
  __exportStar(require("./AIPromptResponse"), exports);
28
+ __exportStar(require("./GetMessageResponse"), exports);
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,mEAAiD;AACjD,8CAA4B;AAC5B,+DAA6C;AAC7C,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,mEAAiD;AACjD,8CAA4B;AAC5B,+DAA6C;AAC7C,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC"}
@@ -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,386 @@
1
+ export declare const GetMessageResponseSchema: {
2
+ type: string;
3
+ properties: {
4
+ message: {
5
+ $ref: string;
6
+ };
7
+ creator: {
8
+ $ref: string;
9
+ };
10
+ conversation: {
11
+ $ref: string;
12
+ };
13
+ labels: {
14
+ type: string;
15
+ items: {
16
+ $ref: string;
17
+ };
18
+ };
19
+ };
20
+ additionalProperties: boolean;
21
+ required: string[];
22
+ definitions: {
23
+ Message: {
24
+ type: string;
25
+ properties: {
26
+ id: {
27
+ type: string;
28
+ };
29
+ name: {
30
+ type: string[];
31
+ };
32
+ link: {
33
+ type: string;
34
+ };
35
+ creator_id: {
36
+ type: string;
37
+ };
38
+ conversation_id: {
39
+ type: string[];
40
+ };
41
+ workspace_id: {
42
+ type: string[];
43
+ };
44
+ created_at: {
45
+ type: string;
46
+ };
47
+ last_updated_at: {
48
+ type: string;
49
+ };
50
+ deleted_at: {
51
+ type: string[];
52
+ };
53
+ duration_ms: {
54
+ type: string;
55
+ };
56
+ audio_url: {
57
+ type: string[];
58
+ };
59
+ audio_stream_url: {
60
+ type: string[];
61
+ };
62
+ transcript: {
63
+ type: string[];
64
+ };
65
+ ai_summary: {
66
+ type: string[];
67
+ };
68
+ has_ai_summary: {
69
+ type: string;
70
+ };
71
+ waveform_url: {
72
+ type: string[];
73
+ };
74
+ reply_count: {
75
+ type: string;
76
+ };
77
+ parent_message_id: {
78
+ type: string[];
79
+ };
80
+ language: {
81
+ type: string[];
82
+ };
83
+ status: {
84
+ $ref: string;
85
+ };
86
+ attachments: {
87
+ type: string;
88
+ items: {
89
+ $ref: string;
90
+ };
91
+ };
92
+ type: {
93
+ $ref: string;
94
+ };
95
+ share_link_id: {
96
+ type: string;
97
+ };
98
+ };
99
+ additionalProperties: boolean;
100
+ required: string[];
101
+ };
102
+ MessageStatus: {
103
+ type: string;
104
+ enum: string[];
105
+ };
106
+ Attachment: {
107
+ type: string;
108
+ properties: {
109
+ id: {
110
+ type: string;
111
+ };
112
+ creator_id: {
113
+ type: string;
114
+ };
115
+ created_at: {
116
+ type: string;
117
+ };
118
+ type: {
119
+ $ref: string;
120
+ };
121
+ link: {
122
+ type: string;
123
+ };
124
+ active_begin: {
125
+ type: string[];
126
+ };
127
+ active_end: {
128
+ type: string[];
129
+ };
130
+ filename: {
131
+ type: string[];
132
+ };
133
+ mime_type: {
134
+ type: string[];
135
+ };
136
+ length_in_bytes: {
137
+ type: string[];
138
+ };
139
+ location: {};
140
+ };
141
+ additionalProperties: boolean;
142
+ required: string[];
143
+ };
144
+ AttachmentType: {
145
+ type: string;
146
+ enum: string[];
147
+ };
148
+ MessageType: {
149
+ type: string;
150
+ enum: string[];
151
+ };
152
+ User: {
153
+ type: string;
154
+ properties: {
155
+ id: {
156
+ type: string;
157
+ };
158
+ link: {
159
+ type: string;
160
+ };
161
+ first_name: {
162
+ type: string;
163
+ };
164
+ last_name: {
165
+ type: string;
166
+ };
167
+ full_name: {
168
+ type: string;
169
+ };
170
+ image_url: {
171
+ type: string;
172
+ };
173
+ created_at: {
174
+ type: string;
175
+ };
176
+ phones: {
177
+ type: string;
178
+ items: {
179
+ type: string;
180
+ };
181
+ };
182
+ emails: {
183
+ type: string;
184
+ items: {
185
+ type: string;
186
+ };
187
+ };
188
+ languages: {
189
+ type: string;
190
+ items: {
191
+ type: string;
192
+ };
193
+ };
194
+ };
195
+ additionalProperties: boolean;
196
+ required: string[];
197
+ };
198
+ Conversation: {
199
+ type: string;
200
+ properties: {
201
+ id: {
202
+ type: string;
203
+ };
204
+ link: {
205
+ type: string;
206
+ };
207
+ name: {
208
+ type: string;
209
+ };
210
+ description: {
211
+ type: string[];
212
+ };
213
+ workspace_id: {
214
+ type: string;
215
+ };
216
+ workspace_name: {
217
+ type: string;
218
+ };
219
+ workspace_image_url: {
220
+ type: string[];
221
+ };
222
+ owner_id: {
223
+ type: string;
224
+ };
225
+ type: {
226
+ $ref: string;
227
+ };
228
+ visibility: {
229
+ $ref: string;
230
+ };
231
+ total_messages: {
232
+ type: string;
233
+ };
234
+ total_duration_ms: {
235
+ type: string;
236
+ };
237
+ image_url: {
238
+ type: string[];
239
+ };
240
+ is_private: {
241
+ type: string;
242
+ };
243
+ is_async: {
244
+ type: string;
245
+ };
246
+ async_stats: {
247
+ anyOf: ({
248
+ $ref: string;
249
+ type?: undefined;
250
+ } | {
251
+ type: string;
252
+ $ref?: undefined;
253
+ })[];
254
+ };
255
+ created_at: {
256
+ type: string;
257
+ };
258
+ last_updated_at: {
259
+ type: string;
260
+ };
261
+ deleted_at: {
262
+ type: string;
263
+ };
264
+ };
265
+ additionalProperties: boolean;
266
+ required: string[];
267
+ };
268
+ ConversationType: {
269
+ type: string;
270
+ enum: string[];
271
+ };
272
+ ConversationVisibility: {
273
+ type: string;
274
+ enum: string[];
275
+ };
276
+ AsyncMeetingStats: {
277
+ type: string;
278
+ properties: {
279
+ stats: {
280
+ type: string;
281
+ properties: {
282
+ total_duration_milliseconds: {
283
+ type: string;
284
+ };
285
+ total_heard_milliseconds: {
286
+ type: string;
287
+ };
288
+ total_engaged_percentage: {
289
+ type: string;
290
+ };
291
+ total_messages_posted: {
292
+ type: string;
293
+ };
294
+ total_users: {
295
+ type: string;
296
+ };
297
+ };
298
+ additionalProperties: boolean;
299
+ required: string[];
300
+ };
301
+ user_stats: {
302
+ type: string;
303
+ items: {
304
+ type: string;
305
+ properties: {
306
+ user_id: {
307
+ type: string;
308
+ };
309
+ total_messages_posted: {
310
+ type: string;
311
+ };
312
+ total_sent_milliseconds: {
313
+ type: string;
314
+ };
315
+ total_heard_milliseconds: {
316
+ type: string;
317
+ };
318
+ total_engaged_percentage: {
319
+ type: string;
320
+ };
321
+ total_heard_messages: {
322
+ type: string;
323
+ };
324
+ total_unheard_messages: {
325
+ type: string;
326
+ };
327
+ };
328
+ additionalProperties: boolean;
329
+ required: string[];
330
+ };
331
+ };
332
+ };
333
+ additionalProperties: boolean;
334
+ required: string[];
335
+ };
336
+ Label: {
337
+ type: string;
338
+ properties: {
339
+ id: {
340
+ type: string;
341
+ };
342
+ name: {
343
+ type: string;
344
+ };
345
+ behavior: {
346
+ $ref: string;
347
+ };
348
+ type: {
349
+ $ref: string;
350
+ };
351
+ creator_guid: {
352
+ type: string;
353
+ };
354
+ space_guid: {
355
+ type: string[];
356
+ };
357
+ image_url: {
358
+ type: string[];
359
+ };
360
+ automatic_playlist: {
361
+ type: string;
362
+ };
363
+ sort_order: {
364
+ type: string;
365
+ };
366
+ };
367
+ additionalProperties: boolean;
368
+ required: string[];
369
+ };
370
+ LabelBehavior: {
371
+ type: string;
372
+ enum: string[];
373
+ };
374
+ LabelType: {
375
+ type: string;
376
+ enum: string[];
377
+ };
378
+ };
379
+ $schema: string;
380
+ };
381
+ export declare enum GetMessageResponseKeys {
382
+ message = "message",
383
+ creator = "creator",
384
+ conversation = "conversation",
385
+ labels = "labels"
386
+ }