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.
- package/dist/interfaces/index.d.ts +1 -2
- package/dist/interfaces/index.js +1 -2
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/{AttachmentV2.d.ts → v5/AttachmentV5.d.ts} +2 -2
- package/dist/interfaces/{AttachmentV2.js → v5/AttachmentV5.js} +1 -1
- package/dist/interfaces/v5/AttachmentV5.js.map +1 -0
- package/dist/interfaces/v5/GetMessageResponseV5.d.ts +4 -0
- package/dist/interfaces/v5/GetMessageResponseV5.js +3 -0
- package/dist/interfaces/v5/GetMessageResponseV5.js.map +1 -0
- package/dist/interfaces/{MessageV3.d.ts → v5/MessageV5.d.ts} +4 -4
- package/dist/interfaces/{MessageV3.js → v5/MessageV5.js} +1 -1
- package/dist/interfaces/v5/MessageV5.js.map +1 -0
- package/dist/interfaces/v5/index.d.ts +3 -0
- package/dist/interfaces/v5/index.js +20 -0
- package/dist/interfaces/v5/index.js.map +1 -0
- 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/index.d.ts +1 -10
- package/dist/schemas/index.js +1 -10
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/v5/AttachmentV5Schema.d.ts +48 -0
- package/dist/schemas/v5/AttachmentV5Schema.js +60 -0
- package/dist/schemas/v5/AttachmentV5Schema.js.map +1 -0
- package/dist/schemas/v5/AudioInfoSchema.d.ts +29 -0
- package/dist/schemas/v5/AudioInfoSchema.js +34 -0
- package/dist/schemas/v5/AudioInfoSchema.js.map +1 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.d.ts +325 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.js +374 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.js.map +1 -0
- package/dist/schemas/v5/MessageAIResponseSchema.d.ts +18 -0
- package/dist/schemas/v5/MessageAIResponseSchema.js +23 -0
- package/dist/schemas/v5/MessageAIResponseSchema.js.map +1 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.d.ts +22 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.js +27 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.js.map +1 -0
- package/dist/schemas/v5/MessageV5Schema.d.ts +343 -0
- package/dist/schemas/v5/MessageV5Schema.js +392 -0
- package/dist/schemas/v5/MessageV5Schema.js.map +1 -0
- package/dist/schemas/v5/ReactionCountsSchema.d.ts +12 -0
- package/dist/schemas/v5/ReactionCountsSchema.js +17 -0
- package/dist/schemas/v5/ReactionCountsSchema.js.map +1 -0
- package/dist/schemas/v5/ReactionSummarySchema.d.ts +42 -0
- package/dist/schemas/v5/ReactionSummarySchema.js +47 -0
- package/dist/schemas/v5/ReactionSummarySchema.js.map +1 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js +27 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
- package/dist/schemas/v5/UserReactionSchema.d.ts +18 -0
- package/dist/schemas/v5/UserReactionSchema.js +23 -0
- package/dist/schemas/v5/UserReactionSchema.js.map +1 -0
- package/dist/schemas/v5/UtmDataSchema.d.ts +29 -0
- package/dist/schemas/v5/UtmDataSchema.js +34 -0
- package/dist/schemas/v5/UtmDataSchema.js.map +1 -0
- package/dist/schemas/v5/index.d.ts +11 -0
- package/dist/schemas/v5/index.js +28 -0
- package/dist/schemas/v5/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/interfaces/AttachmentV2.js.map +0 -1
- package/dist/interfaces/MessageV3.js.map +0 -1
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageV5Keys = exports.MessageV5Schema = void 0;
|
|
4
|
+
exports.MessageV5Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
type: {
|
|
11
|
+
$ref: '#/definitions/MessageType',
|
|
12
|
+
},
|
|
13
|
+
kind: {
|
|
14
|
+
anyOf: [
|
|
15
|
+
{
|
|
16
|
+
enum: [
|
|
17
|
+
'action-item',
|
|
18
|
+
'ai-prompt',
|
|
19
|
+
'ai-response',
|
|
20
|
+
'attachment',
|
|
21
|
+
'audio',
|
|
22
|
+
'text',
|
|
23
|
+
],
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: 'null',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
created_at: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
},
|
|
34
|
+
updated_at: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
},
|
|
37
|
+
deleted_at: {
|
|
38
|
+
type: ['null', 'string'],
|
|
39
|
+
},
|
|
40
|
+
conversation_id: {
|
|
41
|
+
type: ['null', 'string'],
|
|
42
|
+
},
|
|
43
|
+
workspace_id: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
},
|
|
46
|
+
creator_id: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
},
|
|
49
|
+
status: {
|
|
50
|
+
$ref: '#/definitions/MessageStatus',
|
|
51
|
+
},
|
|
52
|
+
parent_message_id: {
|
|
53
|
+
type: ['null', 'string'],
|
|
54
|
+
},
|
|
55
|
+
attachments: {
|
|
56
|
+
type: 'array',
|
|
57
|
+
items: {
|
|
58
|
+
$ref: '#/definitions/AttachmentV5',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
language: {
|
|
62
|
+
type: ['null', 'string'],
|
|
63
|
+
},
|
|
64
|
+
is_original_language: {
|
|
65
|
+
type: ['null', 'boolean'],
|
|
66
|
+
},
|
|
67
|
+
transcript: {
|
|
68
|
+
type: ['null', 'string'],
|
|
69
|
+
},
|
|
70
|
+
ai_summary: {
|
|
71
|
+
type: ['null', 'string'],
|
|
72
|
+
},
|
|
73
|
+
ai_response_ids: {
|
|
74
|
+
type: 'array',
|
|
75
|
+
items: {
|
|
76
|
+
$ref: '#/definitions/MessageAIResponse',
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
share_link_id: {
|
|
80
|
+
type: ['null', 'string'],
|
|
81
|
+
},
|
|
82
|
+
link: {
|
|
83
|
+
type: 'string',
|
|
84
|
+
},
|
|
85
|
+
time_codes: {
|
|
86
|
+
type: 'array',
|
|
87
|
+
items: {
|
|
88
|
+
$ref: '#/definitions/MessageTimeCode',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
waveform_percentages: {
|
|
92
|
+
type: 'array',
|
|
93
|
+
items: {
|
|
94
|
+
type: 'number',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
folder_id: {
|
|
98
|
+
type: ['null', 'string'],
|
|
99
|
+
},
|
|
100
|
+
utm_data: {
|
|
101
|
+
anyOf: [
|
|
102
|
+
{
|
|
103
|
+
$ref: '#/definitions/UtmData',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'null',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
conversation_sequence: {
|
|
111
|
+
type: ['null', 'number'],
|
|
112
|
+
},
|
|
113
|
+
source_message_id: {
|
|
114
|
+
type: ['null', 'string'],
|
|
115
|
+
},
|
|
116
|
+
audio: {
|
|
117
|
+
anyOf: [
|
|
118
|
+
{
|
|
119
|
+
$ref: '#/definitions/AudioInfo',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'null',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
users_caught_up: {
|
|
127
|
+
anyOf: [
|
|
128
|
+
{
|
|
129
|
+
enum: ['all', 'none', 'some'],
|
|
130
|
+
type: 'string',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
type: 'null',
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
reaction_summary: {
|
|
138
|
+
anyOf: [
|
|
139
|
+
{
|
|
140
|
+
$ref: '#/definitions/ReactionSummary',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'null',
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
},
|
|
147
|
+
users_not_allowed_to_receive_notifications: {
|
|
148
|
+
anyOf: [
|
|
149
|
+
{
|
|
150
|
+
type: 'array',
|
|
151
|
+
items: {
|
|
152
|
+
$ref: '#/definitions/UserNotAllowedReceiveNotifications',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
type: 'null',
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
additionalProperties: false,
|
|
162
|
+
required: [
|
|
163
|
+
'created_at',
|
|
164
|
+
'creator_id',
|
|
165
|
+
'id',
|
|
166
|
+
'link',
|
|
167
|
+
'status',
|
|
168
|
+
'type',
|
|
169
|
+
'updated_at',
|
|
170
|
+
'workspace_id',
|
|
171
|
+
],
|
|
172
|
+
definitions: {
|
|
173
|
+
MessageType: {
|
|
174
|
+
type: 'string',
|
|
175
|
+
enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
|
|
176
|
+
},
|
|
177
|
+
MessageStatus: {
|
|
178
|
+
type: 'string',
|
|
179
|
+
enum: [
|
|
180
|
+
'offline',
|
|
181
|
+
'paused',
|
|
182
|
+
'processing',
|
|
183
|
+
'scheduled',
|
|
184
|
+
'active',
|
|
185
|
+
'deleted',
|
|
186
|
+
'account-deleted',
|
|
187
|
+
'initializing',
|
|
188
|
+
'inprogress',
|
|
189
|
+
'canceled',
|
|
190
|
+
'failed',
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
AttachmentV5: {
|
|
194
|
+
type: 'object',
|
|
195
|
+
properties: {
|
|
196
|
+
id: {
|
|
197
|
+
type: 'string',
|
|
198
|
+
},
|
|
199
|
+
creator_id: {
|
|
200
|
+
type: 'string',
|
|
201
|
+
},
|
|
202
|
+
created_at: {
|
|
203
|
+
type: 'string',
|
|
204
|
+
},
|
|
205
|
+
type: {
|
|
206
|
+
$ref: '#/definitions/AttachmentType',
|
|
207
|
+
},
|
|
208
|
+
link: {
|
|
209
|
+
type: 'string',
|
|
210
|
+
},
|
|
211
|
+
filename: {
|
|
212
|
+
type: ['null', 'string'],
|
|
213
|
+
},
|
|
214
|
+
mime_type: {
|
|
215
|
+
type: ['null', 'string'],
|
|
216
|
+
},
|
|
217
|
+
length_in_bytes: {
|
|
218
|
+
type: ['null', 'number'],
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
additionalProperties: false,
|
|
222
|
+
required: ['created_at', 'creator_id', 'id', 'link', 'type'],
|
|
223
|
+
},
|
|
224
|
+
AttachmentType: {
|
|
225
|
+
type: 'string',
|
|
226
|
+
enum: [
|
|
227
|
+
'link',
|
|
228
|
+
'file',
|
|
229
|
+
'location',
|
|
230
|
+
'ai-response-id',
|
|
231
|
+
'ai-prompt-id',
|
|
232
|
+
'action-item-id',
|
|
233
|
+
],
|
|
234
|
+
},
|
|
235
|
+
MessageAIResponse: {
|
|
236
|
+
type: 'object',
|
|
237
|
+
properties: {
|
|
238
|
+
id: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
},
|
|
241
|
+
prompt_id: {
|
|
242
|
+
type: 'string',
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
additionalProperties: false,
|
|
246
|
+
required: ['id', 'prompt_id'],
|
|
247
|
+
},
|
|
248
|
+
MessageTimeCode: {
|
|
249
|
+
type: 'object',
|
|
250
|
+
properties: {
|
|
251
|
+
t: {
|
|
252
|
+
type: 'string',
|
|
253
|
+
},
|
|
254
|
+
s: {
|
|
255
|
+
type: 'number',
|
|
256
|
+
},
|
|
257
|
+
e: {
|
|
258
|
+
type: 'number',
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
additionalProperties: false,
|
|
262
|
+
required: ['e', 's', 't'],
|
|
263
|
+
},
|
|
264
|
+
UtmData: {
|
|
265
|
+
type: 'object',
|
|
266
|
+
properties: {
|
|
267
|
+
utm_source: {
|
|
268
|
+
type: ['null', 'string'],
|
|
269
|
+
},
|
|
270
|
+
utm_medium: {
|
|
271
|
+
type: ['null', 'string'],
|
|
272
|
+
},
|
|
273
|
+
utm_campaign: {
|
|
274
|
+
type: ['null', 'string'],
|
|
275
|
+
},
|
|
276
|
+
utm_content: {
|
|
277
|
+
type: ['null', 'string'],
|
|
278
|
+
},
|
|
279
|
+
utm_term: {
|
|
280
|
+
type: ['null', 'string'],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
additionalProperties: false,
|
|
284
|
+
},
|
|
285
|
+
AudioInfo: {
|
|
286
|
+
type: 'object',
|
|
287
|
+
properties: {
|
|
288
|
+
url: {
|
|
289
|
+
type: ['null', 'string'],
|
|
290
|
+
},
|
|
291
|
+
streaming_url: {
|
|
292
|
+
type: ['null', 'string'],
|
|
293
|
+
},
|
|
294
|
+
presigned_url: {
|
|
295
|
+
type: ['null', 'string'],
|
|
296
|
+
},
|
|
297
|
+
presigned_url_expiration_date: {
|
|
298
|
+
type: ['null', 'string'],
|
|
299
|
+
},
|
|
300
|
+
duration_ms: {
|
|
301
|
+
type: ['null', 'number'],
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
additionalProperties: false,
|
|
305
|
+
},
|
|
306
|
+
ReactionSummary: {
|
|
307
|
+
type: 'object',
|
|
308
|
+
properties: {
|
|
309
|
+
reaction_counts: {
|
|
310
|
+
$ref: '#/definitions/ReactionCounts',
|
|
311
|
+
},
|
|
312
|
+
top_user_reactions: {
|
|
313
|
+
type: 'array',
|
|
314
|
+
items: {
|
|
315
|
+
$ref: '#/definitions/UserReaction',
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
additionalProperties: false,
|
|
320
|
+
required: ['reaction_counts', 'top_user_reactions'],
|
|
321
|
+
},
|
|
322
|
+
ReactionCounts: {
|
|
323
|
+
type: 'object',
|
|
324
|
+
additionalProperties: {
|
|
325
|
+
type: 'number',
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
UserReaction: {
|
|
329
|
+
type: 'object',
|
|
330
|
+
properties: {
|
|
331
|
+
user_id: {
|
|
332
|
+
type: 'string',
|
|
333
|
+
},
|
|
334
|
+
reaction_id: {
|
|
335
|
+
type: 'string',
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
additionalProperties: false,
|
|
339
|
+
required: ['reaction_id', 'user_id'],
|
|
340
|
+
},
|
|
341
|
+
UserNotAllowedReceiveNotifications: {
|
|
342
|
+
type: 'object',
|
|
343
|
+
properties: {
|
|
344
|
+
user_id: {
|
|
345
|
+
type: 'string',
|
|
346
|
+
},
|
|
347
|
+
phone: {
|
|
348
|
+
type: 'string',
|
|
349
|
+
},
|
|
350
|
+
email: {
|
|
351
|
+
type: 'string',
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
additionalProperties: false,
|
|
355
|
+
required: ['user_id'],
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
359
|
+
};
|
|
360
|
+
var MessageV5Keys;
|
|
361
|
+
(function (MessageV5Keys) {
|
|
362
|
+
MessageV5Keys["id"] = "id";
|
|
363
|
+
MessageV5Keys["type"] = "type";
|
|
364
|
+
MessageV5Keys["kind"] = "kind";
|
|
365
|
+
MessageV5Keys["created_at"] = "created_at";
|
|
366
|
+
MessageV5Keys["updated_at"] = "updated_at";
|
|
367
|
+
MessageV5Keys["deleted_at"] = "deleted_at";
|
|
368
|
+
MessageV5Keys["conversation_id"] = "conversation_id";
|
|
369
|
+
MessageV5Keys["workspace_id"] = "workspace_id";
|
|
370
|
+
MessageV5Keys["creator_id"] = "creator_id";
|
|
371
|
+
MessageV5Keys["status"] = "status";
|
|
372
|
+
MessageV5Keys["parent_message_id"] = "parent_message_id";
|
|
373
|
+
MessageV5Keys["attachments"] = "attachments";
|
|
374
|
+
MessageV5Keys["language"] = "language";
|
|
375
|
+
MessageV5Keys["is_original_language"] = "is_original_language";
|
|
376
|
+
MessageV5Keys["transcript"] = "transcript";
|
|
377
|
+
MessageV5Keys["ai_summary"] = "ai_summary";
|
|
378
|
+
MessageV5Keys["ai_response_ids"] = "ai_response_ids";
|
|
379
|
+
MessageV5Keys["share_link_id"] = "share_link_id";
|
|
380
|
+
MessageV5Keys["link"] = "link";
|
|
381
|
+
MessageV5Keys["time_codes"] = "time_codes";
|
|
382
|
+
MessageV5Keys["waveform_percentages"] = "waveform_percentages";
|
|
383
|
+
MessageV5Keys["folder_id"] = "folder_id";
|
|
384
|
+
MessageV5Keys["utm_data"] = "utm_data";
|
|
385
|
+
MessageV5Keys["conversation_sequence"] = "conversation_sequence";
|
|
386
|
+
MessageV5Keys["source_message_id"] = "source_message_id";
|
|
387
|
+
MessageV5Keys["audio"] = "audio";
|
|
388
|
+
MessageV5Keys["users_caught_up"] = "users_caught_up";
|
|
389
|
+
MessageV5Keys["reaction_summary"] = "reaction_summary";
|
|
390
|
+
MessageV5Keys["users_not_allowed_to_receive_notifications"] = "users_not_allowed_to_receive_notifications";
|
|
391
|
+
})(MessageV5Keys = exports.MessageV5Keys || (exports.MessageV5Keys = {}));
|
|
392
|
+
//# sourceMappingURL=MessageV5Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/MessageV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,IA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ACtB;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,aA8BX;AA9BD,WAAY,aAAa;IACvB,0BAAS,CAAA;IACT,8BAAa,CAAA;IACb,8BAAa,CAAA;IACb,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;IAC7B,0CAAyB,CAAA;IACzB,kCAAiB,CAAA;IACjB,wDAAuC,CAAA;IACvC,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,8DAA6C,CAAA;IAC7C,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,gDAA+B,CAAA;IAC/B,8BAAa,CAAA;IACb,0CAAyB,CAAA;IACzB,8DAA6C,CAAA;IAC7C,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,gEAA+C,CAAA;IAC/C,wDAAuC,CAAA;IACvC,gCAAe,CAAA;IACf,oDAAmC,CAAA;IACnC,sDAAqC,CAAA;IACrC,0GAAyF,CAAA;AAC3F,CAAC,EA9BW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA8BxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReactionCountsKeys = exports.ReactionCountsSchema = void 0;
|
|
4
|
+
exports.ReactionCountsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
additionalProperties: {
|
|
7
|
+
type: 'number',
|
|
8
|
+
},
|
|
9
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
10
|
+
propertyNames: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
var ReactionCountsKeys;
|
|
15
|
+
(function (ReactionCountsKeys) {
|
|
16
|
+
})(ReactionCountsKeys = exports.ReactionCountsKeys || (exports.ReactionCountsKeys = {}));
|
|
17
|
+
//# sourceMappingURL=ReactionCountsSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionCountsSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/ReactionCountsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE,yCAAyC;IAClD,aAAa,EAAE;QACb,IAAI,EAAE,QAAQ;KACf;CACF,CAAC;AAEF,IAAY,kBAAqB;AAAjC,WAAY,kBAAkB;AAAE,CAAC,EAArB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAAG"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const ReactionSummarySchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
reaction_counts: {
|
|
5
|
+
$ref: string;
|
|
6
|
+
};
|
|
7
|
+
top_user_reactions: {
|
|
8
|
+
type: string;
|
|
9
|
+
items: {
|
|
10
|
+
$ref: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
additionalProperties: boolean;
|
|
15
|
+
required: string[];
|
|
16
|
+
definitions: {
|
|
17
|
+
ReactionCounts: {
|
|
18
|
+
type: string;
|
|
19
|
+
additionalProperties: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
UserReaction: {
|
|
24
|
+
type: string;
|
|
25
|
+
properties: {
|
|
26
|
+
user_id: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
reaction_id: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
additionalProperties: boolean;
|
|
34
|
+
required: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
$schema: string;
|
|
38
|
+
};
|
|
39
|
+
export declare enum ReactionSummaryKeys {
|
|
40
|
+
reaction_counts = "reaction_counts",
|
|
41
|
+
top_user_reactions = "top_user_reactions"
|
|
42
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReactionSummaryKeys = exports.ReactionSummarySchema = void 0;
|
|
4
|
+
exports.ReactionSummarySchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
reaction_counts: {
|
|
8
|
+
$ref: '#/definitions/ReactionCounts',
|
|
9
|
+
},
|
|
10
|
+
top_user_reactions: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
items: {
|
|
13
|
+
$ref: '#/definitions/UserReaction',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
additionalProperties: false,
|
|
18
|
+
required: ['reaction_counts', 'top_user_reactions'],
|
|
19
|
+
definitions: {
|
|
20
|
+
ReactionCounts: {
|
|
21
|
+
type: 'object',
|
|
22
|
+
additionalProperties: {
|
|
23
|
+
type: 'number',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
UserReaction: {
|
|
27
|
+
type: 'object',
|
|
28
|
+
properties: {
|
|
29
|
+
user_id: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
},
|
|
32
|
+
reaction_id: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
additionalProperties: false,
|
|
37
|
+
required: ['reaction_id', 'user_id'],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
41
|
+
};
|
|
42
|
+
var ReactionSummaryKeys;
|
|
43
|
+
(function (ReactionSummaryKeys) {
|
|
44
|
+
ReactionSummaryKeys["reaction_counts"] = "reaction_counts";
|
|
45
|
+
ReactionSummaryKeys["top_user_reactions"] = "top_user_reactions";
|
|
46
|
+
})(ReactionSummaryKeys = exports.ReactionSummaryKeys || (exports.ReactionSummaryKeys = {}));
|
|
47
|
+
//# sourceMappingURL=ReactionSummarySchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionSummarySchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/ReactionSummarySchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,eAAe,EAAE;YACf,IAAI,EAAE,8BAA8B;SACrC;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,4BAA4B;aACnC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,CAAC;IACnD,WAAW,EAAE;QACX,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;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,0DAAmC,CAAA;IACnC,gEAAyC,CAAA;AAC3C,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const UserNotAllowedReceiveNotificationsSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
user_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
phone: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
email: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
additionalProperties: boolean;
|
|
15
|
+
required: string[];
|
|
16
|
+
$schema: string;
|
|
17
|
+
};
|
|
18
|
+
export declare enum UserNotAllowedReceiveNotificationsKeys {
|
|
19
|
+
user_id = "user_id",
|
|
20
|
+
phone = "phone",
|
|
21
|
+
email = "email"
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserNotAllowedReceiveNotificationsKeys = exports.UserNotAllowedReceiveNotificationsSchema = void 0;
|
|
4
|
+
exports.UserNotAllowedReceiveNotificationsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
user_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
phone: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
email: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
additionalProperties: false,
|
|
18
|
+
required: ['user_id'],
|
|
19
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
20
|
+
};
|
|
21
|
+
var UserNotAllowedReceiveNotificationsKeys;
|
|
22
|
+
(function (UserNotAllowedReceiveNotificationsKeys) {
|
|
23
|
+
UserNotAllowedReceiveNotificationsKeys["user_id"] = "user_id";
|
|
24
|
+
UserNotAllowedReceiveNotificationsKeys["phone"] = "phone";
|
|
25
|
+
UserNotAllowedReceiveNotificationsKeys["email"] = "email";
|
|
26
|
+
})(UserNotAllowedReceiveNotificationsKeys = exports.UserNotAllowedReceiveNotificationsKeys || (exports.UserNotAllowedReceiveNotificationsKeys = {}));
|
|
27
|
+
//# sourceMappingURL=UserNotAllowedReceiveNotificationsSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserNotAllowedReceiveNotificationsSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/UserNotAllowedReceiveNotificationsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,wCAAwC,GAAG;IACtD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,sCAIX;AAJD,WAAY,sCAAsC;IAChD,6DAAmB,CAAA;IACnB,yDAAe,CAAA;IACf,yDAAe,CAAA;AACjB,CAAC,EAJW,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QAIjD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const UserReactionSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
user_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
reaction_id: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
additionalProperties: boolean;
|
|
12
|
+
required: string[];
|
|
13
|
+
$schema: string;
|
|
14
|
+
};
|
|
15
|
+
export declare enum UserReactionKeys {
|
|
16
|
+
user_id = "user_id",
|
|
17
|
+
reaction_id = "reaction_id"
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserReactionKeys = exports.UserReactionSchema = void 0;
|
|
4
|
+
exports.UserReactionSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
user_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
reaction_id: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
additionalProperties: false,
|
|
15
|
+
required: ['reaction_id', 'user_id'],
|
|
16
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
17
|
+
};
|
|
18
|
+
var UserReactionKeys;
|
|
19
|
+
(function (UserReactionKeys) {
|
|
20
|
+
UserReactionKeys["user_id"] = "user_id";
|
|
21
|
+
UserReactionKeys["reaction_id"] = "reaction_id";
|
|
22
|
+
})(UserReactionKeys = exports.UserReactionKeys || (exports.UserReactionKeys = {}));
|
|
23
|
+
//# sourceMappingURL=UserReactionSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserReactionSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/UserReactionSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC;IACpC,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,+CAA2B,CAAA;AAC7B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const UtmDataSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
utm_source: {
|
|
5
|
+
type: string[];
|
|
6
|
+
};
|
|
7
|
+
utm_medium: {
|
|
8
|
+
type: string[];
|
|
9
|
+
};
|
|
10
|
+
utm_campaign: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
utm_content: {
|
|
14
|
+
type: string[];
|
|
15
|
+
};
|
|
16
|
+
utm_term: {
|
|
17
|
+
type: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
additionalProperties: boolean;
|
|
21
|
+
$schema: string;
|
|
22
|
+
};
|
|
23
|
+
export declare enum UtmDataKeys {
|
|
24
|
+
utm_source = "utm_source",
|
|
25
|
+
utm_medium = "utm_medium",
|
|
26
|
+
utm_campaign = "utm_campaign",
|
|
27
|
+
utm_content = "utm_content",
|
|
28
|
+
utm_term = "utm_term"
|
|
29
|
+
}
|