cv-contracts 2.0.1 → 2.0.3
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.
- package/dist/interfaces/Attachment.d.ts +3 -0
- package/dist/interfaces/AttachmentV2.d.ts +11 -0
- package/dist/interfaces/AttachmentV2.js +3 -0
- package/dist/interfaces/AttachmentV2.js.map +1 -0
- package/dist/interfaces/GetMessageResponseV2.d.ts +4 -0
- package/dist/interfaces/GetMessageResponseV2.js +3 -0
- package/dist/interfaces/GetMessageResponseV2.js.map +1 -0
- package/dist/interfaces/Message.d.ts +20 -64
- package/dist/interfaces/MessageV3.d.ts +72 -0
- package/dist/interfaces/MessageV3.js +3 -0
- package/dist/interfaces/MessageV3.js.map +1 -0
- package/dist/interfaces/index.d.ts +3 -0
- package/dist/interfaces/index.js +3 -0
- package/dist/interfaces/index.js.map +1 -1
- package/dist/schemas/AttachmentSchema.d.ts +11 -1
- package/dist/schemas/AttachmentSchema.js +10 -0
- package/dist/schemas/AttachmentSchema.js.map +1 -1
- package/dist/schemas/AttachmentV2Schema.d.ts +48 -0
- package/dist/schemas/AttachmentV2Schema.js +60 -0
- package/dist/schemas/AttachmentV2Schema.js.map +1 -0
- package/dist/schemas/GetMessageResponseSchema.d.ts +38 -209
- package/dist/schemas/GetMessageResponseSchema.js +55 -232
- package/dist/schemas/GetMessageResponseSchema.js.map +1 -1
- package/dist/schemas/GetMessageResponseV2Schema.d.ts +325 -0
- package/dist/schemas/GetMessageResponseV2Schema.js +374 -0
- package/dist/schemas/GetMessageResponseV2Schema.js.map +1 -0
- package/dist/schemas/MessageSchema.d.ts +57 -233
- package/dist/schemas/MessageSchema.js +73 -255
- package/dist/schemas/MessageSchema.js.map +1 -1
- package/dist/schemas/MessageShareLinkSchema.d.ts +38 -209
- package/dist/schemas/MessageShareLinkSchema.js +55 -232
- package/dist/schemas/MessageShareLinkSchema.js.map +1 -1
- package/dist/schemas/MessageV3Schema.d.ts +343 -0
- package/dist/schemas/MessageV3Schema.js +392 -0
- package/dist/schemas/MessageV3Schema.js.map +1 -0
- package/dist/schemas/index.d.ts +6 -3
- package/dist/schemas/index.js +6 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.d.ts +38 -209
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js +55 -232
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.d.ts +38 -209
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js +55 -232
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookMessageSchema.d.ts +7 -0
- package/dist/schemas/webhook/WebhookMessageSchema.js +7 -0
- package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -89,52 +89,37 @@ export declare const MessageShareLinkSchema: {
|
|
|
89
89
|
id: {
|
|
90
90
|
type: string;
|
|
91
91
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
};
|
|
95
|
-
kind: {
|
|
96
|
-
anyOf: ({
|
|
97
|
-
enum: string[];
|
|
98
|
-
type: string;
|
|
99
|
-
} | {
|
|
100
|
-
type: string;
|
|
101
|
-
enum?: undefined;
|
|
102
|
-
})[];
|
|
92
|
+
name: {
|
|
93
|
+
type: string[];
|
|
103
94
|
};
|
|
104
|
-
|
|
95
|
+
link: {
|
|
105
96
|
type: string;
|
|
106
97
|
};
|
|
107
|
-
|
|
98
|
+
creator_id: {
|
|
108
99
|
type: string;
|
|
109
100
|
};
|
|
110
|
-
deleted_at: {
|
|
111
|
-
type: string[];
|
|
112
|
-
};
|
|
113
101
|
conversation_id: {
|
|
114
102
|
type: string[];
|
|
115
103
|
};
|
|
116
104
|
workspace_id: {
|
|
117
|
-
type: string;
|
|
105
|
+
type: string[];
|
|
118
106
|
};
|
|
119
|
-
|
|
107
|
+
created_at: {
|
|
120
108
|
type: string;
|
|
121
109
|
};
|
|
122
|
-
|
|
123
|
-
|
|
110
|
+
last_updated_at: {
|
|
111
|
+
type: string;
|
|
124
112
|
};
|
|
125
|
-
|
|
113
|
+
deleted_at: {
|
|
126
114
|
type: string[];
|
|
127
115
|
};
|
|
128
|
-
|
|
116
|
+
duration_ms: {
|
|
129
117
|
type: string;
|
|
130
|
-
items: {
|
|
131
|
-
$ref: string;
|
|
132
|
-
};
|
|
133
118
|
};
|
|
134
|
-
|
|
119
|
+
audio_url: {
|
|
135
120
|
type: string[];
|
|
136
121
|
};
|
|
137
|
-
|
|
122
|
+
audio_stream_url: {
|
|
138
123
|
type: string[];
|
|
139
124
|
};
|
|
140
125
|
transcript: {
|
|
@@ -143,58 +128,34 @@ export declare const MessageShareLinkSchema: {
|
|
|
143
128
|
ai_summary: {
|
|
144
129
|
type: string[];
|
|
145
130
|
};
|
|
146
|
-
|
|
131
|
+
has_ai_summary: {
|
|
147
132
|
type: string;
|
|
148
|
-
items: {
|
|
149
|
-
$ref: string;
|
|
150
|
-
};
|
|
151
133
|
};
|
|
152
|
-
|
|
134
|
+
waveform_url: {
|
|
153
135
|
type: string[];
|
|
154
136
|
};
|
|
155
|
-
|
|
137
|
+
reply_count: {
|
|
156
138
|
type: string;
|
|
157
139
|
};
|
|
158
|
-
|
|
159
|
-
type: string;
|
|
160
|
-
items: {
|
|
161
|
-
$ref: string;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
waveform_percentages: {
|
|
165
|
-
type: string;
|
|
166
|
-
items: {
|
|
167
|
-
type: string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
folder_id: {
|
|
140
|
+
parent_message_id: {
|
|
171
141
|
type: string[];
|
|
172
142
|
};
|
|
173
|
-
|
|
174
|
-
anyOf: ({
|
|
175
|
-
$ref: string;
|
|
176
|
-
type?: undefined;
|
|
177
|
-
} | {
|
|
178
|
-
type: string;
|
|
179
|
-
$ref?: undefined;
|
|
180
|
-
})[];
|
|
181
|
-
};
|
|
182
|
-
conversation_sequence: {
|
|
143
|
+
language: {
|
|
183
144
|
type: string[];
|
|
184
145
|
};
|
|
185
|
-
|
|
186
|
-
|
|
146
|
+
status: {
|
|
147
|
+
$ref: string;
|
|
187
148
|
};
|
|
188
|
-
|
|
189
|
-
|
|
149
|
+
attachments: {
|
|
150
|
+
type: string;
|
|
151
|
+
items: {
|
|
190
152
|
$ref: string;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
})[];
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
type: {
|
|
156
|
+
$ref: string;
|
|
196
157
|
};
|
|
197
|
-
|
|
158
|
+
kind: {
|
|
198
159
|
anyOf: ({
|
|
199
160
|
enum: string[];
|
|
200
161
|
type: string;
|
|
@@ -203,34 +164,13 @@ export declare const MessageShareLinkSchema: {
|
|
|
203
164
|
enum?: undefined;
|
|
204
165
|
})[];
|
|
205
166
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
$ref: string;
|
|
209
|
-
type?: undefined;
|
|
210
|
-
} | {
|
|
211
|
-
type: string;
|
|
212
|
-
$ref?: undefined;
|
|
213
|
-
})[];
|
|
214
|
-
};
|
|
215
|
-
users_not_allowed_to_receive_notifications: {
|
|
216
|
-
anyOf: ({
|
|
217
|
-
type: string;
|
|
218
|
-
items: {
|
|
219
|
-
$ref: string;
|
|
220
|
-
};
|
|
221
|
-
} | {
|
|
222
|
-
type: string;
|
|
223
|
-
items?: undefined;
|
|
224
|
-
})[];
|
|
167
|
+
share_link_id: {
|
|
168
|
+
type: string;
|
|
225
169
|
};
|
|
226
170
|
};
|
|
227
171
|
additionalProperties: boolean;
|
|
228
172
|
required: string[];
|
|
229
173
|
};
|
|
230
|
-
MessageType: {
|
|
231
|
-
type: string;
|
|
232
|
-
enum: string[];
|
|
233
|
-
};
|
|
234
174
|
MessageStatus: {
|
|
235
175
|
type: string;
|
|
236
176
|
enum: string[];
|
|
@@ -253,6 +193,12 @@ export declare const MessageShareLinkSchema: {
|
|
|
253
193
|
link: {
|
|
254
194
|
type: string;
|
|
255
195
|
};
|
|
196
|
+
active_begin: {
|
|
197
|
+
type: string[];
|
|
198
|
+
};
|
|
199
|
+
active_end: {
|
|
200
|
+
type: string[];
|
|
201
|
+
};
|
|
256
202
|
filename: {
|
|
257
203
|
type: string[];
|
|
258
204
|
};
|
|
@@ -262,6 +208,7 @@ export declare const MessageShareLinkSchema: {
|
|
|
262
208
|
length_in_bytes: {
|
|
263
209
|
type: string[];
|
|
264
210
|
};
|
|
211
|
+
location: {};
|
|
265
212
|
};
|
|
266
213
|
additionalProperties: boolean;
|
|
267
214
|
required: string[];
|
|
@@ -270,127 +217,9 @@ export declare const MessageShareLinkSchema: {
|
|
|
270
217
|
type: string;
|
|
271
218
|
enum: string[];
|
|
272
219
|
};
|
|
273
|
-
|
|
274
|
-
type: string;
|
|
275
|
-
properties: {
|
|
276
|
-
id: {
|
|
277
|
-
type: string;
|
|
278
|
-
};
|
|
279
|
-
prompt_id: {
|
|
280
|
-
type: string;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
additionalProperties: boolean;
|
|
284
|
-
required: string[];
|
|
285
|
-
};
|
|
286
|
-
MessageTimeCode: {
|
|
287
|
-
type: string;
|
|
288
|
-
properties: {
|
|
289
|
-
t: {
|
|
290
|
-
type: string;
|
|
291
|
-
};
|
|
292
|
-
s: {
|
|
293
|
-
type: string;
|
|
294
|
-
};
|
|
295
|
-
e: {
|
|
296
|
-
type: string;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
additionalProperties: boolean;
|
|
300
|
-
required: string[];
|
|
301
|
-
};
|
|
302
|
-
UtmData: {
|
|
303
|
-
type: string;
|
|
304
|
-
properties: {
|
|
305
|
-
utm_source: {
|
|
306
|
-
type: string[];
|
|
307
|
-
};
|
|
308
|
-
utm_medium: {
|
|
309
|
-
type: string[];
|
|
310
|
-
};
|
|
311
|
-
utm_campaign: {
|
|
312
|
-
type: string[];
|
|
313
|
-
};
|
|
314
|
-
utm_content: {
|
|
315
|
-
type: string[];
|
|
316
|
-
};
|
|
317
|
-
utm_term: {
|
|
318
|
-
type: string[];
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
additionalProperties: boolean;
|
|
322
|
-
};
|
|
323
|
-
AudioInfo: {
|
|
324
|
-
type: string;
|
|
325
|
-
properties: {
|
|
326
|
-
url: {
|
|
327
|
-
type: string[];
|
|
328
|
-
};
|
|
329
|
-
streaming_url: {
|
|
330
|
-
type: string[];
|
|
331
|
-
};
|
|
332
|
-
presigned_url: {
|
|
333
|
-
type: string[];
|
|
334
|
-
};
|
|
335
|
-
presigned_url_expiration_date: {
|
|
336
|
-
type: string[];
|
|
337
|
-
};
|
|
338
|
-
duration_ms: {
|
|
339
|
-
type: string[];
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
additionalProperties: boolean;
|
|
343
|
-
};
|
|
344
|
-
ReactionSummary: {
|
|
345
|
-
type: string;
|
|
346
|
-
properties: {
|
|
347
|
-
reaction_counts: {
|
|
348
|
-
$ref: string;
|
|
349
|
-
};
|
|
350
|
-
top_user_reactions: {
|
|
351
|
-
type: string;
|
|
352
|
-
items: {
|
|
353
|
-
$ref: string;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
additionalProperties: boolean;
|
|
358
|
-
required: string[];
|
|
359
|
-
};
|
|
360
|
-
ReactionCounts: {
|
|
361
|
-
type: string;
|
|
362
|
-
additionalProperties: {
|
|
363
|
-
type: string;
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
UserReaction: {
|
|
367
|
-
type: string;
|
|
368
|
-
properties: {
|
|
369
|
-
user_id: {
|
|
370
|
-
type: string;
|
|
371
|
-
};
|
|
372
|
-
reaction_id: {
|
|
373
|
-
type: string;
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
additionalProperties: boolean;
|
|
377
|
-
required: string[];
|
|
378
|
-
};
|
|
379
|
-
UserNotAllowedReceiveNotifications: {
|
|
220
|
+
MessageType: {
|
|
380
221
|
type: string;
|
|
381
|
-
|
|
382
|
-
user_id: {
|
|
383
|
-
type: string;
|
|
384
|
-
};
|
|
385
|
-
phone: {
|
|
386
|
-
type: string;
|
|
387
|
-
};
|
|
388
|
-
email: {
|
|
389
|
-
type: string;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
additionalProperties: boolean;
|
|
393
|
-
required: string[];
|
|
222
|
+
enum: string[];
|
|
394
223
|
};
|
|
395
224
|
};
|
|
396
225
|
$schema: string;
|
|
@@ -103,62 +103,38 @@ exports.MessageShareLinkSchema = {
|
|
|
103
103
|
id: {
|
|
104
104
|
type: 'string',
|
|
105
105
|
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
kind: {
|
|
110
|
-
anyOf: [
|
|
111
|
-
{
|
|
112
|
-
enum: [
|
|
113
|
-
'action-item',
|
|
114
|
-
'ai-prompt',
|
|
115
|
-
'ai-response',
|
|
116
|
-
'attachment',
|
|
117
|
-
'audio',
|
|
118
|
-
'text',
|
|
119
|
-
],
|
|
120
|
-
type: 'string',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
type: 'null',
|
|
124
|
-
},
|
|
125
|
-
],
|
|
106
|
+
name: {
|
|
107
|
+
type: ['null', 'string'],
|
|
126
108
|
},
|
|
127
|
-
|
|
109
|
+
link: {
|
|
128
110
|
type: 'string',
|
|
129
111
|
},
|
|
130
|
-
|
|
112
|
+
creator_id: {
|
|
131
113
|
type: 'string',
|
|
132
114
|
},
|
|
133
|
-
deleted_at: {
|
|
134
|
-
type: ['null', 'string'],
|
|
135
|
-
},
|
|
136
115
|
conversation_id: {
|
|
137
116
|
type: ['null', 'string'],
|
|
138
117
|
},
|
|
139
118
|
workspace_id: {
|
|
140
|
-
type: 'string',
|
|
119
|
+
type: ['null', 'string'],
|
|
141
120
|
},
|
|
142
|
-
|
|
121
|
+
created_at: {
|
|
143
122
|
type: 'string',
|
|
144
123
|
},
|
|
145
|
-
|
|
146
|
-
|
|
124
|
+
last_updated_at: {
|
|
125
|
+
type: 'string',
|
|
147
126
|
},
|
|
148
|
-
|
|
127
|
+
deleted_at: {
|
|
149
128
|
type: ['null', 'string'],
|
|
150
129
|
},
|
|
151
|
-
|
|
152
|
-
type: '
|
|
153
|
-
items: {
|
|
154
|
-
$ref: '#/definitions/Attachment',
|
|
155
|
-
},
|
|
130
|
+
duration_ms: {
|
|
131
|
+
type: 'number',
|
|
156
132
|
},
|
|
157
|
-
|
|
133
|
+
audio_url: {
|
|
158
134
|
type: ['null', 'string'],
|
|
159
135
|
},
|
|
160
|
-
|
|
161
|
-
type: ['null', '
|
|
136
|
+
audio_stream_url: {
|
|
137
|
+
type: ['null', 'string'],
|
|
162
138
|
},
|
|
163
139
|
transcript: {
|
|
164
140
|
type: ['null', 'string'],
|
|
@@ -166,63 +142,44 @@ exports.MessageShareLinkSchema = {
|
|
|
166
142
|
ai_summary: {
|
|
167
143
|
type: ['null', 'string'],
|
|
168
144
|
},
|
|
169
|
-
|
|
170
|
-
type: '
|
|
171
|
-
items: {
|
|
172
|
-
$ref: '#/definitions/MessageAIResponse',
|
|
173
|
-
},
|
|
145
|
+
has_ai_summary: {
|
|
146
|
+
type: 'boolean',
|
|
174
147
|
},
|
|
175
|
-
|
|
148
|
+
waveform_url: {
|
|
176
149
|
type: ['null', 'string'],
|
|
177
150
|
},
|
|
178
|
-
|
|
179
|
-
type: '
|
|
180
|
-
},
|
|
181
|
-
time_codes: {
|
|
182
|
-
type: 'array',
|
|
183
|
-
items: {
|
|
184
|
-
$ref: '#/definitions/MessageTimeCode',
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
waveform_percentages: {
|
|
188
|
-
type: 'array',
|
|
189
|
-
items: {
|
|
190
|
-
type: 'number',
|
|
191
|
-
},
|
|
151
|
+
reply_count: {
|
|
152
|
+
type: 'number',
|
|
192
153
|
},
|
|
193
|
-
|
|
154
|
+
parent_message_id: {
|
|
194
155
|
type: ['null', 'string'],
|
|
195
156
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
{
|
|
199
|
-
$ref: '#/definitions/UtmData',
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
type: 'null',
|
|
203
|
-
},
|
|
204
|
-
],
|
|
157
|
+
language: {
|
|
158
|
+
type: ['null', 'string'],
|
|
205
159
|
},
|
|
206
|
-
|
|
207
|
-
|
|
160
|
+
status: {
|
|
161
|
+
$ref: '#/definitions/MessageStatus',
|
|
208
162
|
},
|
|
209
|
-
|
|
210
|
-
type:
|
|
163
|
+
attachments: {
|
|
164
|
+
type: 'array',
|
|
165
|
+
items: {
|
|
166
|
+
$ref: '#/definitions/Attachment',
|
|
167
|
+
},
|
|
211
168
|
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
{
|
|
215
|
-
$ref: '#/definitions/AudioInfo',
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
type: 'null',
|
|
219
|
-
},
|
|
220
|
-
],
|
|
169
|
+
type: {
|
|
170
|
+
$ref: '#/definitions/MessageType',
|
|
221
171
|
},
|
|
222
|
-
|
|
172
|
+
kind: {
|
|
223
173
|
anyOf: [
|
|
224
174
|
{
|
|
225
|
-
enum: [
|
|
175
|
+
enum: [
|
|
176
|
+
'action-item',
|
|
177
|
+
'ai-prompt',
|
|
178
|
+
'ai-response',
|
|
179
|
+
'attachment',
|
|
180
|
+
'audio',
|
|
181
|
+
'text',
|
|
182
|
+
],
|
|
226
183
|
type: 'string',
|
|
227
184
|
},
|
|
228
185
|
{
|
|
@@ -230,46 +187,23 @@ exports.MessageShareLinkSchema = {
|
|
|
230
187
|
},
|
|
231
188
|
],
|
|
232
189
|
},
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
{
|
|
236
|
-
$ref: '#/definitions/ReactionSummary',
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
type: 'null',
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
},
|
|
243
|
-
users_not_allowed_to_receive_notifications: {
|
|
244
|
-
anyOf: [
|
|
245
|
-
{
|
|
246
|
-
type: 'array',
|
|
247
|
-
items: {
|
|
248
|
-
$ref: '#/definitions/UserNotAllowedReceiveNotifications',
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
type: 'null',
|
|
253
|
-
},
|
|
254
|
-
],
|
|
190
|
+
share_link_id: {
|
|
191
|
+
type: 'string',
|
|
255
192
|
},
|
|
256
193
|
},
|
|
257
194
|
additionalProperties: false,
|
|
258
195
|
required: [
|
|
259
196
|
'created_at',
|
|
260
197
|
'creator_id',
|
|
198
|
+
'duration_ms',
|
|
261
199
|
'id',
|
|
200
|
+
'last_updated_at',
|
|
262
201
|
'link',
|
|
202
|
+
'reply_count',
|
|
263
203
|
'status',
|
|
264
204
|
'type',
|
|
265
|
-
'updated_at',
|
|
266
|
-
'workspace_id',
|
|
267
205
|
],
|
|
268
206
|
},
|
|
269
|
-
MessageType: {
|
|
270
|
-
type: 'string',
|
|
271
|
-
enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
|
|
272
|
-
},
|
|
273
207
|
MessageStatus: {
|
|
274
208
|
type: 'string',
|
|
275
209
|
enum: [
|
|
@@ -304,6 +238,12 @@ exports.MessageShareLinkSchema = {
|
|
|
304
238
|
link: {
|
|
305
239
|
type: 'string',
|
|
306
240
|
},
|
|
241
|
+
active_begin: {
|
|
242
|
+
type: ['null', 'string'],
|
|
243
|
+
},
|
|
244
|
+
active_end: {
|
|
245
|
+
type: ['null', 'string'],
|
|
246
|
+
},
|
|
307
247
|
filename: {
|
|
308
248
|
type: ['null', 'string'],
|
|
309
249
|
},
|
|
@@ -313,6 +253,7 @@ exports.MessageShareLinkSchema = {
|
|
|
313
253
|
length_in_bytes: {
|
|
314
254
|
type: ['null', 'number'],
|
|
315
255
|
},
|
|
256
|
+
location: {},
|
|
316
257
|
},
|
|
317
258
|
additionalProperties: false,
|
|
318
259
|
required: ['created_at', 'creator_id', 'id', 'link', 'type'],
|
|
@@ -328,127 +269,9 @@ exports.MessageShareLinkSchema = {
|
|
|
328
269
|
'action-item-id',
|
|
329
270
|
],
|
|
330
271
|
},
|
|
331
|
-
|
|
332
|
-
type: '
|
|
333
|
-
|
|
334
|
-
id: {
|
|
335
|
-
type: 'string',
|
|
336
|
-
},
|
|
337
|
-
prompt_id: {
|
|
338
|
-
type: 'string',
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
additionalProperties: false,
|
|
342
|
-
required: ['id', 'prompt_id'],
|
|
343
|
-
},
|
|
344
|
-
MessageTimeCode: {
|
|
345
|
-
type: 'object',
|
|
346
|
-
properties: {
|
|
347
|
-
t: {
|
|
348
|
-
type: 'string',
|
|
349
|
-
},
|
|
350
|
-
s: {
|
|
351
|
-
type: 'number',
|
|
352
|
-
},
|
|
353
|
-
e: {
|
|
354
|
-
type: 'number',
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
additionalProperties: false,
|
|
358
|
-
required: ['e', 's', 't'],
|
|
359
|
-
},
|
|
360
|
-
UtmData: {
|
|
361
|
-
type: 'object',
|
|
362
|
-
properties: {
|
|
363
|
-
utm_source: {
|
|
364
|
-
type: ['null', 'string'],
|
|
365
|
-
},
|
|
366
|
-
utm_medium: {
|
|
367
|
-
type: ['null', 'string'],
|
|
368
|
-
},
|
|
369
|
-
utm_campaign: {
|
|
370
|
-
type: ['null', 'string'],
|
|
371
|
-
},
|
|
372
|
-
utm_content: {
|
|
373
|
-
type: ['null', 'string'],
|
|
374
|
-
},
|
|
375
|
-
utm_term: {
|
|
376
|
-
type: ['null', 'string'],
|
|
377
|
-
},
|
|
378
|
-
},
|
|
379
|
-
additionalProperties: false,
|
|
380
|
-
},
|
|
381
|
-
AudioInfo: {
|
|
382
|
-
type: 'object',
|
|
383
|
-
properties: {
|
|
384
|
-
url: {
|
|
385
|
-
type: ['null', 'string'],
|
|
386
|
-
},
|
|
387
|
-
streaming_url: {
|
|
388
|
-
type: ['null', 'string'],
|
|
389
|
-
},
|
|
390
|
-
presigned_url: {
|
|
391
|
-
type: ['null', 'string'],
|
|
392
|
-
},
|
|
393
|
-
presigned_url_expiration_date: {
|
|
394
|
-
type: ['null', 'string'],
|
|
395
|
-
},
|
|
396
|
-
duration_ms: {
|
|
397
|
-
type: ['null', 'number'],
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
additionalProperties: false,
|
|
401
|
-
},
|
|
402
|
-
ReactionSummary: {
|
|
403
|
-
type: 'object',
|
|
404
|
-
properties: {
|
|
405
|
-
reaction_counts: {
|
|
406
|
-
$ref: '#/definitions/ReactionCounts',
|
|
407
|
-
},
|
|
408
|
-
top_user_reactions: {
|
|
409
|
-
type: 'array',
|
|
410
|
-
items: {
|
|
411
|
-
$ref: '#/definitions/UserReaction',
|
|
412
|
-
},
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
additionalProperties: false,
|
|
416
|
-
required: ['reaction_counts', 'top_user_reactions'],
|
|
417
|
-
},
|
|
418
|
-
ReactionCounts: {
|
|
419
|
-
type: 'object',
|
|
420
|
-
additionalProperties: {
|
|
421
|
-
type: 'number',
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
UserReaction: {
|
|
425
|
-
type: 'object',
|
|
426
|
-
properties: {
|
|
427
|
-
user_id: {
|
|
428
|
-
type: 'string',
|
|
429
|
-
},
|
|
430
|
-
reaction_id: {
|
|
431
|
-
type: 'string',
|
|
432
|
-
},
|
|
433
|
-
},
|
|
434
|
-
additionalProperties: false,
|
|
435
|
-
required: ['reaction_id', 'user_id'],
|
|
436
|
-
},
|
|
437
|
-
UserNotAllowedReceiveNotifications: {
|
|
438
|
-
type: 'object',
|
|
439
|
-
properties: {
|
|
440
|
-
user_id: {
|
|
441
|
-
type: 'string',
|
|
442
|
-
},
|
|
443
|
-
phone: {
|
|
444
|
-
type: 'string',
|
|
445
|
-
},
|
|
446
|
-
email: {
|
|
447
|
-
type: 'string',
|
|
448
|
-
},
|
|
449
|
-
},
|
|
450
|
-
additionalProperties: false,
|
|
451
|
-
required: ['user_id'],
|
|
272
|
+
MessageType: {
|
|
273
|
+
type: 'string',
|
|
274
|
+
enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
|
|
452
275
|
},
|
|
453
276
|
},
|
|
454
277
|
$schema: 'http://json-schema.org/draft-07/schema#',
|