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
@@ -0,0 +1,374 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMessageResponseV2Keys = exports.GetMessageResponseV2Schema = void 0;
4
+ exports.GetMessageResponseV2Schema = {
5
+ type: 'object',
6
+ properties: {
7
+ message: {
8
+ $ref: '#/definitions/MessageV3',
9
+ },
10
+ },
11
+ additionalProperties: false,
12
+ required: ['message'],
13
+ definitions: {
14
+ MessageV3: {
15
+ type: 'object',
16
+ properties: {
17
+ id: {
18
+ type: 'string',
19
+ },
20
+ type: {
21
+ $ref: '#/definitions/MessageType',
22
+ },
23
+ kind: {
24
+ anyOf: [
25
+ {
26
+ enum: [
27
+ 'action-item',
28
+ 'ai-prompt',
29
+ 'ai-response',
30
+ 'attachment',
31
+ 'audio',
32
+ 'text',
33
+ ],
34
+ type: 'string',
35
+ },
36
+ {
37
+ type: 'null',
38
+ },
39
+ ],
40
+ },
41
+ created_at: {
42
+ type: 'string',
43
+ },
44
+ updated_at: {
45
+ type: 'string',
46
+ },
47
+ deleted_at: {
48
+ type: ['null', 'string'],
49
+ },
50
+ conversation_id: {
51
+ type: ['null', 'string'],
52
+ },
53
+ workspace_id: {
54
+ type: 'string',
55
+ },
56
+ creator_id: {
57
+ type: 'string',
58
+ },
59
+ status: {
60
+ $ref: '#/definitions/MessageStatus',
61
+ },
62
+ parent_message_id: {
63
+ type: ['null', 'string'],
64
+ },
65
+ attachments: {
66
+ type: 'array',
67
+ items: {
68
+ $ref: '#/definitions/AttachmentV2',
69
+ },
70
+ },
71
+ language: {
72
+ type: ['null', 'string'],
73
+ },
74
+ is_original_language: {
75
+ type: ['null', 'boolean'],
76
+ },
77
+ transcript: {
78
+ type: ['null', 'string'],
79
+ },
80
+ ai_summary: {
81
+ type: ['null', 'string'],
82
+ },
83
+ ai_response_ids: {
84
+ type: 'array',
85
+ items: {
86
+ $ref: '#/definitions/MessageAIResponse',
87
+ },
88
+ },
89
+ share_link_id: {
90
+ type: ['null', 'string'],
91
+ },
92
+ link: {
93
+ type: 'string',
94
+ },
95
+ time_codes: {
96
+ type: 'array',
97
+ items: {
98
+ $ref: '#/definitions/MessageTimeCode',
99
+ },
100
+ },
101
+ waveform_percentages: {
102
+ type: 'array',
103
+ items: {
104
+ type: 'number',
105
+ },
106
+ },
107
+ folder_id: {
108
+ type: ['null', 'string'],
109
+ },
110
+ utm_data: {
111
+ anyOf: [
112
+ {
113
+ $ref: '#/definitions/UtmData',
114
+ },
115
+ {
116
+ type: 'null',
117
+ },
118
+ ],
119
+ },
120
+ conversation_sequence: {
121
+ type: ['null', 'number'],
122
+ },
123
+ source_message_id: {
124
+ type: ['null', 'string'],
125
+ },
126
+ audio: {
127
+ anyOf: [
128
+ {
129
+ $ref: '#/definitions/AudioInfo',
130
+ },
131
+ {
132
+ type: 'null',
133
+ },
134
+ ],
135
+ },
136
+ users_caught_up: {
137
+ anyOf: [
138
+ {
139
+ enum: ['all', 'none', 'some'],
140
+ type: 'string',
141
+ },
142
+ {
143
+ type: 'null',
144
+ },
145
+ ],
146
+ },
147
+ reaction_summary: {
148
+ anyOf: [
149
+ {
150
+ $ref: '#/definitions/ReactionSummary',
151
+ },
152
+ {
153
+ type: 'null',
154
+ },
155
+ ],
156
+ },
157
+ users_not_allowed_to_receive_notifications: {
158
+ anyOf: [
159
+ {
160
+ type: 'array',
161
+ items: {
162
+ $ref: '#/definitions/UserNotAllowedReceiveNotifications',
163
+ },
164
+ },
165
+ {
166
+ type: 'null',
167
+ },
168
+ ],
169
+ },
170
+ },
171
+ additionalProperties: false,
172
+ required: [
173
+ 'created_at',
174
+ 'creator_id',
175
+ 'id',
176
+ 'link',
177
+ 'status',
178
+ 'type',
179
+ 'updated_at',
180
+ 'workspace_id',
181
+ ],
182
+ },
183
+ MessageType: {
184
+ type: 'string',
185
+ enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
186
+ },
187
+ MessageStatus: {
188
+ type: 'string',
189
+ enum: [
190
+ 'offline',
191
+ 'paused',
192
+ 'processing',
193
+ 'scheduled',
194
+ 'active',
195
+ 'deleted',
196
+ 'account-deleted',
197
+ 'initializing',
198
+ 'inprogress',
199
+ 'canceled',
200
+ 'failed',
201
+ ],
202
+ },
203
+ AttachmentV2: {
204
+ type: 'object',
205
+ properties: {
206
+ id: {
207
+ type: 'string',
208
+ },
209
+ creator_id: {
210
+ type: 'string',
211
+ },
212
+ created_at: {
213
+ type: 'string',
214
+ },
215
+ type: {
216
+ $ref: '#/definitions/AttachmentType',
217
+ },
218
+ link: {
219
+ type: 'string',
220
+ },
221
+ filename: {
222
+ type: ['null', 'string'],
223
+ },
224
+ mime_type: {
225
+ type: ['null', 'string'],
226
+ },
227
+ length_in_bytes: {
228
+ type: ['null', 'number'],
229
+ },
230
+ },
231
+ additionalProperties: false,
232
+ required: ['created_at', 'creator_id', 'id', 'link', 'type'],
233
+ },
234
+ AttachmentType: {
235
+ type: 'string',
236
+ enum: [
237
+ 'link',
238
+ 'file',
239
+ 'location',
240
+ 'ai-response-id',
241
+ 'ai-prompt-id',
242
+ 'action-item-id',
243
+ ],
244
+ },
245
+ MessageAIResponse: {
246
+ type: 'object',
247
+ properties: {
248
+ id: {
249
+ type: 'string',
250
+ },
251
+ prompt_id: {
252
+ type: 'string',
253
+ },
254
+ },
255
+ additionalProperties: false,
256
+ required: ['id', 'prompt_id'],
257
+ },
258
+ MessageTimeCode: {
259
+ type: 'object',
260
+ properties: {
261
+ t: {
262
+ type: 'string',
263
+ },
264
+ s: {
265
+ type: 'number',
266
+ },
267
+ e: {
268
+ type: 'number',
269
+ },
270
+ },
271
+ additionalProperties: false,
272
+ required: ['e', 's', 't'],
273
+ },
274
+ UtmData: {
275
+ type: 'object',
276
+ properties: {
277
+ utm_source: {
278
+ type: ['null', 'string'],
279
+ },
280
+ utm_medium: {
281
+ type: ['null', 'string'],
282
+ },
283
+ utm_campaign: {
284
+ type: ['null', 'string'],
285
+ },
286
+ utm_content: {
287
+ type: ['null', 'string'],
288
+ },
289
+ utm_term: {
290
+ type: ['null', 'string'],
291
+ },
292
+ },
293
+ additionalProperties: false,
294
+ },
295
+ AudioInfo: {
296
+ type: 'object',
297
+ properties: {
298
+ url: {
299
+ type: ['null', 'string'],
300
+ },
301
+ streaming_url: {
302
+ type: ['null', 'string'],
303
+ },
304
+ presigned_url: {
305
+ type: ['null', 'string'],
306
+ },
307
+ presigned_url_expiration_date: {
308
+ type: ['null', 'string'],
309
+ },
310
+ duration_ms: {
311
+ type: ['null', 'number'],
312
+ },
313
+ },
314
+ additionalProperties: false,
315
+ },
316
+ ReactionSummary: {
317
+ type: 'object',
318
+ properties: {
319
+ reaction_counts: {
320
+ $ref: '#/definitions/ReactionCounts',
321
+ },
322
+ top_user_reactions: {
323
+ type: 'array',
324
+ items: {
325
+ $ref: '#/definitions/UserReaction',
326
+ },
327
+ },
328
+ },
329
+ additionalProperties: false,
330
+ required: ['reaction_counts', 'top_user_reactions'],
331
+ },
332
+ ReactionCounts: {
333
+ type: 'object',
334
+ additionalProperties: {
335
+ type: 'number',
336
+ },
337
+ },
338
+ UserReaction: {
339
+ type: 'object',
340
+ properties: {
341
+ user_id: {
342
+ type: 'string',
343
+ },
344
+ reaction_id: {
345
+ type: 'string',
346
+ },
347
+ },
348
+ additionalProperties: false,
349
+ required: ['reaction_id', 'user_id'],
350
+ },
351
+ UserNotAllowedReceiveNotifications: {
352
+ type: 'object',
353
+ properties: {
354
+ user_id: {
355
+ type: 'string',
356
+ },
357
+ phone: {
358
+ type: 'string',
359
+ },
360
+ email: {
361
+ type: 'string',
362
+ },
363
+ },
364
+ additionalProperties: false,
365
+ required: ['user_id'],
366
+ },
367
+ },
368
+ $schema: 'http://json-schema.org/draft-07/schema#',
369
+ };
370
+ var GetMessageResponseV2Keys;
371
+ (function (GetMessageResponseV2Keys) {
372
+ GetMessageResponseV2Keys["message"] = "message";
373
+ })(GetMessageResponseV2Keys = exports.GetMessageResponseV2Keys || (exports.GetMessageResponseV2Keys = {}));
374
+ //# sourceMappingURL=GetMessageResponseV2Schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMessageResponseV2Schema.js","sourceRoot":"","sources":["../../src/schemas/GetMessageResponseV2Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,yBAAyB;SAChC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,WAAW,EAAE;QACX,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,2BAA2B;iBAClC;gBACD,IAAI,EAAE;oBACJ,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE;gCACJ,aAAa;gCACb,WAAW;gCACX,aAAa;gCACb,YAAY;gCACZ,OAAO;gCACP,MAAM;6BACP;4BACD,IAAI,EAAE,QAAQ;yBACf;wBACD;4BACE,IAAI,EAAE,MAAM;yBACb;qBACF;iBACF;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,6BAA6B;iBACpC;gBACD,iBAAiB,EAAE;oBACjB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,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,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE;gBACpB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACf;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC;SACrC;QACD,kCAAkC,EAAE;YAClC,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACf;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;SACtB;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;AACrB,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
@@ -3,23 +3,14 @@ export * from './AIShareLinkPromptResponseSchema';
3
3
  export * from './ActionItemSchema';
4
4
  export * from './AsyncMeetingStatsSchema';
5
5
  export * from './AttachmentSchema';
6
- export * from './AttachmentV2Schema';
7
6
  export * from './ConversationSchema';
8
7
  export * from './GetMessageResponseSchema';
9
8
  export * from './LabelSchema';
10
9
  export * from './MessageSchema';
11
10
  export * from './SpecifiedAccessSchema';
12
11
  export * from './MessageShareLinkSchema';
13
- export * from './MessageAIResponseSchema';
14
- export * from './MessageTimeCodeSchema';
15
- export * from './UtmDataSchema';
16
- export * from './UserReactionSchema';
17
- export * from './ReactionCountsSchema';
18
- export * from './ReactionSummarySchema';
19
- export * from './UserNotAllowedReceiveNotificationsSchema';
20
- export * from './AudioInfoSchema';
21
- export * from './MessageV3Schema';
22
12
  export * from './ResponseByLanguageSchema';
23
13
  export * from './UserSchema';
24
14
  export * from './WorkspaceSchema';
15
+ export * from './v5';
25
16
  export * from './webhook';
@@ -19,24 +19,15 @@ __exportStar(require("./AIShareLinkPromptResponseSchema"), exports);
19
19
  __exportStar(require("./ActionItemSchema"), exports);
20
20
  __exportStar(require("./AsyncMeetingStatsSchema"), exports);
21
21
  __exportStar(require("./AttachmentSchema"), exports);
22
- __exportStar(require("./AttachmentV2Schema"), exports);
23
22
  __exportStar(require("./ConversationSchema"), exports);
24
23
  __exportStar(require("./GetMessageResponseSchema"), exports);
25
24
  __exportStar(require("./LabelSchema"), exports);
26
25
  __exportStar(require("./MessageSchema"), exports);
27
26
  __exportStar(require("./SpecifiedAccessSchema"), exports);
28
27
  __exportStar(require("./MessageShareLinkSchema"), exports);
29
- __exportStar(require("./MessageAIResponseSchema"), exports);
30
- __exportStar(require("./MessageTimeCodeSchema"), exports);
31
- __exportStar(require("./UtmDataSchema"), exports);
32
- __exportStar(require("./UserReactionSchema"), exports);
33
- __exportStar(require("./ReactionCountsSchema"), exports);
34
- __exportStar(require("./ReactionSummarySchema"), exports);
35
- __exportStar(require("./UserNotAllowedReceiveNotificationsSchema"), exports);
36
- __exportStar(require("./AudioInfoSchema"), exports);
37
- __exportStar(require("./MessageV3Schema"), exports);
38
28
  __exportStar(require("./ResponseByLanguageSchema"), exports);
39
29
  __exportStar(require("./UserSchema"), exports);
40
30
  __exportStar(require("./WorkspaceSchema"), exports);
31
+ __exportStar(require("./v5"), exports);
41
32
  __exportStar(require("./webhook"), exports);
42
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,uCAAqB;AACrB,4CAA0B"}
@@ -0,0 +1,48 @@
1
+ export declare const AttachmentV5Schema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ creator_id: {
8
+ type: string;
9
+ };
10
+ created_at: {
11
+ type: string;
12
+ };
13
+ type: {
14
+ $ref: string;
15
+ };
16
+ link: {
17
+ type: string;
18
+ };
19
+ filename: {
20
+ type: string[];
21
+ };
22
+ mime_type: {
23
+ type: string[];
24
+ };
25
+ length_in_bytes: {
26
+ type: string[];
27
+ };
28
+ };
29
+ additionalProperties: boolean;
30
+ required: string[];
31
+ definitions: {
32
+ AttachmentType: {
33
+ type: string;
34
+ enum: string[];
35
+ };
36
+ };
37
+ $schema: string;
38
+ };
39
+ export declare enum AttachmentV5Keys {
40
+ id = "id",
41
+ creator_id = "creator_id",
42
+ created_at = "created_at",
43
+ type = "type",
44
+ link = "link",
45
+ filename = "filename",
46
+ mime_type = "mime_type",
47
+ length_in_bytes = "length_in_bytes"
48
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttachmentV5Keys = exports.AttachmentV5Schema = void 0;
4
+ exports.AttachmentV5Schema = {
5
+ type: 'object',
6
+ properties: {
7
+ id: {
8
+ type: 'string',
9
+ },
10
+ creator_id: {
11
+ type: 'string',
12
+ },
13
+ created_at: {
14
+ type: 'string',
15
+ },
16
+ type: {
17
+ $ref: '#/definitions/AttachmentType',
18
+ },
19
+ link: {
20
+ type: 'string',
21
+ },
22
+ filename: {
23
+ type: ['null', 'string'],
24
+ },
25
+ mime_type: {
26
+ type: ['null', 'string'],
27
+ },
28
+ length_in_bytes: {
29
+ type: ['null', 'number'],
30
+ },
31
+ },
32
+ additionalProperties: false,
33
+ required: ['created_at', 'creator_id', 'id', 'link', 'type'],
34
+ definitions: {
35
+ AttachmentType: {
36
+ type: 'string',
37
+ enum: [
38
+ 'link',
39
+ 'file',
40
+ 'location',
41
+ 'ai-response-id',
42
+ 'ai-prompt-id',
43
+ 'action-item-id',
44
+ ],
45
+ },
46
+ },
47
+ $schema: 'http://json-schema.org/draft-07/schema#',
48
+ };
49
+ var AttachmentV5Keys;
50
+ (function (AttachmentV5Keys) {
51
+ AttachmentV5Keys["id"] = "id";
52
+ AttachmentV5Keys["creator_id"] = "creator_id";
53
+ AttachmentV5Keys["created_at"] = "created_at";
54
+ AttachmentV5Keys["type"] = "type";
55
+ AttachmentV5Keys["link"] = "link";
56
+ AttachmentV5Keys["filename"] = "filename";
57
+ AttachmentV5Keys["mime_type"] = "mime_type";
58
+ AttachmentV5Keys["length_in_bytes"] = "length_in_bytes";
59
+ })(AttachmentV5Keys = exports.AttachmentV5Keys || (exports.AttachmentV5Keys = {}));
60
+ //# sourceMappingURL=AttachmentV5Schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/AttachmentV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,8BAA8B;SACrC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,eAAe,EAAE;YACf,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IAC5D,WAAW,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,MAAM;gBACN,MAAM;gBACN,UAAU;gBACV,gBAAgB;gBAChB,cAAc;gBACd,gBAAgB;aACjB;SACF;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,6BAAS,CAAA;IACT,6CAAyB,CAAA;IACzB,6CAAyB,CAAA;IACzB,iCAAa,CAAA;IACb,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;IACvB,uDAAmC,CAAA;AACrC,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B"}
@@ -0,0 +1,29 @@
1
+ export declare const AudioInfoSchema: {
2
+ type: string;
3
+ properties: {
4
+ url: {
5
+ type: string[];
6
+ };
7
+ streaming_url: {
8
+ type: string[];
9
+ };
10
+ presigned_url: {
11
+ type: string[];
12
+ };
13
+ presigned_url_expiration_date: {
14
+ type: string[];
15
+ };
16
+ duration_ms: {
17
+ type: string[];
18
+ };
19
+ };
20
+ additionalProperties: boolean;
21
+ $schema: string;
22
+ };
23
+ export declare enum AudioInfoKeys {
24
+ url = "url",
25
+ streaming_url = "streaming_url",
26
+ presigned_url = "presigned_url",
27
+ presigned_url_expiration_date = "presigned_url_expiration_date",
28
+ duration_ms = "duration_ms"
29
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AudioInfoKeys = exports.AudioInfoSchema = void 0;
4
+ exports.AudioInfoSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ url: {
8
+ type: ['null', 'string'],
9
+ },
10
+ streaming_url: {
11
+ type: ['null', 'string'],
12
+ },
13
+ presigned_url: {
14
+ type: ['null', 'string'],
15
+ },
16
+ presigned_url_expiration_date: {
17
+ type: ['null', 'string'],
18
+ },
19
+ duration_ms: {
20
+ type: ['null', 'number'],
21
+ },
22
+ },
23
+ additionalProperties: false,
24
+ $schema: 'http://json-schema.org/draft-07/schema#',
25
+ };
26
+ var AudioInfoKeys;
27
+ (function (AudioInfoKeys) {
28
+ AudioInfoKeys["url"] = "url";
29
+ AudioInfoKeys["streaming_url"] = "streaming_url";
30
+ AudioInfoKeys["presigned_url"] = "presigned_url";
31
+ AudioInfoKeys["presigned_url_expiration_date"] = "presigned_url_expiration_date";
32
+ AudioInfoKeys["duration_ms"] = "duration_ms";
33
+ })(AudioInfoKeys = exports.AudioInfoKeys || (exports.AudioInfoKeys = {}));
34
+ //# sourceMappingURL=AudioInfoSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioInfoSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/AudioInfoSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,aAAa,EAAE;YACb,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,aAAa,EAAE;YACb,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,6BAA6B,EAAE;YAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,gFAA+D,CAAA;IAC/D,4CAA2B,CAAA;AAC7B,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}