cv-contracts 2.0.2 → 2.0.4

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 (60) hide show
  1. package/dist/interfaces/index.d.ts +1 -2
  2. package/dist/interfaces/index.js +1 -2
  3. package/dist/interfaces/index.js.map +1 -1
  4. package/dist/interfaces/{AttachmentV2.d.ts → v5/AttachmentV5.d.ts} +2 -2
  5. package/dist/interfaces/{AttachmentV2.js → v5/AttachmentV5.js} +1 -1
  6. package/dist/interfaces/v5/AttachmentV5.js.map +1 -0
  7. package/dist/interfaces/v5/GetMessageResponseV5.d.ts +4 -0
  8. package/dist/interfaces/v5/GetMessageResponseV5.js +3 -0
  9. package/dist/interfaces/v5/GetMessageResponseV5.js.map +1 -0
  10. package/dist/interfaces/{MessageV3.d.ts → v5/MessageV5.d.ts} +4 -4
  11. package/dist/interfaces/{MessageV3.js → v5/MessageV5.js} +1 -1
  12. package/dist/interfaces/v5/MessageV5.js.map +1 -0
  13. package/dist/interfaces/v5/index.d.ts +3 -0
  14. package/dist/interfaces/v5/index.js +20 -0
  15. package/dist/interfaces/v5/index.js.map +1 -0
  16. package/dist/schemas/GetMessageResponseV2Schema.d.ts +325 -0
  17. package/dist/schemas/GetMessageResponseV2Schema.js +374 -0
  18. package/dist/schemas/GetMessageResponseV2Schema.js.map +1 -0
  19. package/dist/schemas/index.d.ts +1 -10
  20. package/dist/schemas/index.js +1 -10
  21. package/dist/schemas/index.js.map +1 -1
  22. package/dist/schemas/v5/AttachmentV5Schema.d.ts +48 -0
  23. package/dist/schemas/v5/AttachmentV5Schema.js +60 -0
  24. package/dist/schemas/v5/AttachmentV5Schema.js.map +1 -0
  25. package/dist/schemas/v5/AudioInfoSchema.d.ts +29 -0
  26. package/dist/schemas/v5/AudioInfoSchema.js +34 -0
  27. package/dist/schemas/v5/AudioInfoSchema.js.map +1 -0
  28. package/dist/schemas/v5/GetMessageResponseV5Schema.d.ts +325 -0
  29. package/dist/schemas/v5/GetMessageResponseV5Schema.js +374 -0
  30. package/dist/schemas/v5/GetMessageResponseV5Schema.js.map +1 -0
  31. package/dist/schemas/v5/MessageAIResponseSchema.d.ts +18 -0
  32. package/dist/schemas/v5/MessageAIResponseSchema.js +23 -0
  33. package/dist/schemas/v5/MessageAIResponseSchema.js.map +1 -0
  34. package/dist/schemas/v5/MessageTimeCodeSchema.d.ts +22 -0
  35. package/dist/schemas/v5/MessageTimeCodeSchema.js +27 -0
  36. package/dist/schemas/v5/MessageTimeCodeSchema.js.map +1 -0
  37. package/dist/schemas/v5/MessageV5Schema.d.ts +343 -0
  38. package/dist/schemas/v5/MessageV5Schema.js +392 -0
  39. package/dist/schemas/v5/MessageV5Schema.js.map +1 -0
  40. package/dist/schemas/v5/ReactionCountsSchema.d.ts +12 -0
  41. package/dist/schemas/v5/ReactionCountsSchema.js +17 -0
  42. package/dist/schemas/v5/ReactionCountsSchema.js.map +1 -0
  43. package/dist/schemas/v5/ReactionSummarySchema.d.ts +42 -0
  44. package/dist/schemas/v5/ReactionSummarySchema.js +47 -0
  45. package/dist/schemas/v5/ReactionSummarySchema.js.map +1 -0
  46. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
  47. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js +27 -0
  48. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
  49. package/dist/schemas/v5/UserReactionSchema.d.ts +18 -0
  50. package/dist/schemas/v5/UserReactionSchema.js +23 -0
  51. package/dist/schemas/v5/UserReactionSchema.js.map +1 -0
  52. package/dist/schemas/v5/UtmDataSchema.d.ts +29 -0
  53. package/dist/schemas/v5/UtmDataSchema.js +34 -0
  54. package/dist/schemas/v5/UtmDataSchema.js.map +1 -0
  55. package/dist/schemas/v5/index.d.ts +11 -0
  56. package/dist/schemas/v5/index.js +28 -0
  57. package/dist/schemas/v5/index.js.map +1 -0
  58. package/package.json +1 -1
  59. package/dist/interfaces/AttachmentV2.js.map +0 -1
  60. package/dist/interfaces/MessageV3.js.map +0 -1
@@ -12,5 +12,4 @@ export * from './ResponseByLanguage';
12
12
  export * from './AIShareLinkPromptResponse';
13
13
  export * from './ActionItem';
14
14
  export * from './MessageShareLink';
15
- export * from './MessageV3';
16
- export * from './AttachmentV2';
15
+ export * from './v5';
@@ -28,6 +28,5 @@ __exportStar(require("./ResponseByLanguage"), exports);
28
28
  __exportStar(require("./AIShareLinkPromptResponse"), exports);
29
29
  __exportStar(require("./ActionItem"), exports);
30
30
  __exportStar(require("./MessageShareLink"), exports);
31
- __exportStar(require("./MessageV3"), exports);
32
- __exportStar(require("./AttachmentV2"), exports);
31
+ __exportStar(require("./v5"), exports);
33
32
  //# 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,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,qDAAmC;AACnC,8CAA4B;AAC5B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,qDAAmC;AACnC,uCAAqB"}
@@ -1,5 +1,5 @@
1
- import { AttachmentType } from '../enums';
2
- export interface AttachmentV2 {
1
+ import { AttachmentType } from '../../enums';
2
+ export interface AttachmentV5 {
3
3
  id: string;
4
4
  creator_id: string;
5
5
  created_at: string;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AttachmentV2.js.map
3
+ //# sourceMappingURL=AttachmentV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/AttachmentV5.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { MessageV5 } from './MessageV5';
2
+ export interface GetMessageResponseV5 {
3
+ message: MessageV5;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GetMessageResponseV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMessageResponseV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/GetMessageResponseV5.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import { AttachmentV2 } from './AttachmentV2';
2
- import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '../enums';
1
+ import { AttachmentV5 } from './AttachmentV5';
2
+ import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '../../enums';
3
3
  export interface MessageAIResponse {
4
4
  id: string;
5
5
  prompt_id: string;
@@ -39,7 +39,7 @@ export interface AudioInfo {
39
39
  presigned_url_expiration_date?: string | null;
40
40
  duration_ms?: number | null;
41
41
  }
42
- export interface MessageV3 {
42
+ export interface MessageV5 {
43
43
  id: string;
44
44
  type: MessageType;
45
45
  kind?: MessageKind | null;
@@ -51,7 +51,7 @@ export interface MessageV3 {
51
51
  creator_id: string;
52
52
  status: MessageStatus;
53
53
  parent_message_id?: string | null;
54
- attachments?: AttachmentV2[];
54
+ attachments?: AttachmentV5[];
55
55
  language?: string | null;
56
56
  is_original_language?: boolean | null;
57
57
  transcript?: string | null;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=MessageV3.js.map
3
+ //# sourceMappingURL=MessageV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/MessageV5.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './MessageV5';
2
+ export * from './AttachmentV5';
3
+ export * from './GetMessageResponseV5';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./MessageV5"), exports);
18
+ __exportStar(require("./AttachmentV5"), exports);
19
+ __exportStar(require("./GetMessageResponseV5"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC"}
@@ -0,0 +1,325 @@
1
+ export declare const GetMessageResponseV2Schema: {
2
+ type: string;
3
+ properties: {
4
+ message: {
5
+ $ref: string;
6
+ };
7
+ };
8
+ additionalProperties: boolean;
9
+ required: string[];
10
+ definitions: {
11
+ MessageV3: {
12
+ type: string;
13
+ properties: {
14
+ id: {
15
+ type: string;
16
+ };
17
+ type: {
18
+ $ref: string;
19
+ };
20
+ kind: {
21
+ anyOf: ({
22
+ enum: string[];
23
+ type: string;
24
+ } | {
25
+ type: string;
26
+ enum?: undefined;
27
+ })[];
28
+ };
29
+ created_at: {
30
+ type: string;
31
+ };
32
+ updated_at: {
33
+ type: string;
34
+ };
35
+ deleted_at: {
36
+ type: string[];
37
+ };
38
+ conversation_id: {
39
+ type: string[];
40
+ };
41
+ workspace_id: {
42
+ type: string;
43
+ };
44
+ creator_id: {
45
+ type: string;
46
+ };
47
+ status: {
48
+ $ref: string;
49
+ };
50
+ parent_message_id: {
51
+ type: string[];
52
+ };
53
+ attachments: {
54
+ type: string;
55
+ items: {
56
+ $ref: string;
57
+ };
58
+ };
59
+ language: {
60
+ type: string[];
61
+ };
62
+ is_original_language: {
63
+ type: string[];
64
+ };
65
+ transcript: {
66
+ type: string[];
67
+ };
68
+ ai_summary: {
69
+ type: string[];
70
+ };
71
+ ai_response_ids: {
72
+ type: string;
73
+ items: {
74
+ $ref: string;
75
+ };
76
+ };
77
+ share_link_id: {
78
+ type: string[];
79
+ };
80
+ link: {
81
+ type: string;
82
+ };
83
+ time_codes: {
84
+ type: string;
85
+ items: {
86
+ $ref: string;
87
+ };
88
+ };
89
+ waveform_percentages: {
90
+ type: string;
91
+ items: {
92
+ type: string;
93
+ };
94
+ };
95
+ folder_id: {
96
+ type: string[];
97
+ };
98
+ utm_data: {
99
+ anyOf: ({
100
+ $ref: string;
101
+ type?: undefined;
102
+ } | {
103
+ type: string;
104
+ $ref?: undefined;
105
+ })[];
106
+ };
107
+ conversation_sequence: {
108
+ type: string[];
109
+ };
110
+ source_message_id: {
111
+ type: string[];
112
+ };
113
+ audio: {
114
+ anyOf: ({
115
+ $ref: string;
116
+ type?: undefined;
117
+ } | {
118
+ type: string;
119
+ $ref?: undefined;
120
+ })[];
121
+ };
122
+ users_caught_up: {
123
+ anyOf: ({
124
+ enum: string[];
125
+ type: string;
126
+ } | {
127
+ type: string;
128
+ enum?: undefined;
129
+ })[];
130
+ };
131
+ reaction_summary: {
132
+ anyOf: ({
133
+ $ref: string;
134
+ type?: undefined;
135
+ } | {
136
+ type: string;
137
+ $ref?: undefined;
138
+ })[];
139
+ };
140
+ users_not_allowed_to_receive_notifications: {
141
+ anyOf: ({
142
+ type: string;
143
+ items: {
144
+ $ref: string;
145
+ };
146
+ } | {
147
+ type: string;
148
+ items?: undefined;
149
+ })[];
150
+ };
151
+ };
152
+ additionalProperties: boolean;
153
+ required: string[];
154
+ };
155
+ MessageType: {
156
+ type: string;
157
+ enum: string[];
158
+ };
159
+ MessageStatus: {
160
+ type: string;
161
+ enum: string[];
162
+ };
163
+ AttachmentV2: {
164
+ type: string;
165
+ properties: {
166
+ id: {
167
+ type: string;
168
+ };
169
+ creator_id: {
170
+ type: string;
171
+ };
172
+ created_at: {
173
+ type: string;
174
+ };
175
+ type: {
176
+ $ref: string;
177
+ };
178
+ link: {
179
+ type: string;
180
+ };
181
+ filename: {
182
+ type: string[];
183
+ };
184
+ mime_type: {
185
+ type: string[];
186
+ };
187
+ length_in_bytes: {
188
+ type: string[];
189
+ };
190
+ };
191
+ additionalProperties: boolean;
192
+ required: string[];
193
+ };
194
+ AttachmentType: {
195
+ type: string;
196
+ enum: string[];
197
+ };
198
+ MessageAIResponse: {
199
+ type: string;
200
+ properties: {
201
+ id: {
202
+ type: string;
203
+ };
204
+ prompt_id: {
205
+ type: string;
206
+ };
207
+ };
208
+ additionalProperties: boolean;
209
+ required: string[];
210
+ };
211
+ MessageTimeCode: {
212
+ type: string;
213
+ properties: {
214
+ t: {
215
+ type: string;
216
+ };
217
+ s: {
218
+ type: string;
219
+ };
220
+ e: {
221
+ type: string;
222
+ };
223
+ };
224
+ additionalProperties: boolean;
225
+ required: string[];
226
+ };
227
+ UtmData: {
228
+ type: string;
229
+ properties: {
230
+ utm_source: {
231
+ type: string[];
232
+ };
233
+ utm_medium: {
234
+ type: string[];
235
+ };
236
+ utm_campaign: {
237
+ type: string[];
238
+ };
239
+ utm_content: {
240
+ type: string[];
241
+ };
242
+ utm_term: {
243
+ type: string[];
244
+ };
245
+ };
246
+ additionalProperties: boolean;
247
+ };
248
+ AudioInfo: {
249
+ type: string;
250
+ properties: {
251
+ url: {
252
+ type: string[];
253
+ };
254
+ streaming_url: {
255
+ type: string[];
256
+ };
257
+ presigned_url: {
258
+ type: string[];
259
+ };
260
+ presigned_url_expiration_date: {
261
+ type: string[];
262
+ };
263
+ duration_ms: {
264
+ type: string[];
265
+ };
266
+ };
267
+ additionalProperties: boolean;
268
+ };
269
+ ReactionSummary: {
270
+ type: string;
271
+ properties: {
272
+ reaction_counts: {
273
+ $ref: string;
274
+ };
275
+ top_user_reactions: {
276
+ type: string;
277
+ items: {
278
+ $ref: string;
279
+ };
280
+ };
281
+ };
282
+ additionalProperties: boolean;
283
+ required: string[];
284
+ };
285
+ ReactionCounts: {
286
+ type: string;
287
+ additionalProperties: {
288
+ type: string;
289
+ };
290
+ };
291
+ UserReaction: {
292
+ type: string;
293
+ properties: {
294
+ user_id: {
295
+ type: string;
296
+ };
297
+ reaction_id: {
298
+ type: string;
299
+ };
300
+ };
301
+ additionalProperties: boolean;
302
+ required: string[];
303
+ };
304
+ UserNotAllowedReceiveNotifications: {
305
+ type: string;
306
+ properties: {
307
+ user_id: {
308
+ type: string;
309
+ };
310
+ phone: {
311
+ type: string;
312
+ };
313
+ email: {
314
+ type: string;
315
+ };
316
+ };
317
+ additionalProperties: boolean;
318
+ required: string[];
319
+ };
320
+ };
321
+ $schema: string;
322
+ };
323
+ export declare enum GetMessageResponseV2Keys {
324
+ message = "message"
325
+ }