@calmlens/sdk 0.9.1 → 0.10.1

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.
@@ -1,3633 +0,0 @@
1
- import * as zod from "zod";
2
- import { RequestBackend } from "api-def";
3
- import { FromSchema, JSONSchema } from "json-schema-to-ts";
4
- //#region ../shared/src/Asset.d.ts
5
- declare const ASSET_STATUS_SCHEMA: zod.ZodEnum<{
6
- approved: "approved";
7
- error: "error";
8
- pending: "pending";
9
- rejected: "rejected";
10
- uploading: "uploading";
11
- }>;
12
- type AssetStatus = zod.infer<typeof ASSET_STATUS_SCHEMA>;
13
- declare const ASSET_TYPE_SCHEMA: zod.ZodEnum<{
14
- audio: "audio";
15
- file: "file";
16
- image: "image";
17
- "multimedia-document": "multimedia-document";
18
- "plaintext-document": "plaintext-document";
19
- video: "video";
20
- website: "website";
21
- }>;
22
- type AssetType = zod.infer<typeof ASSET_TYPE_SCHEMA>;
23
- declare const ASSET_VISIBILITY_SCHEMA: zod.ZodEnum<{
24
- private: "private";
25
- public: "public";
26
- }>;
27
- type AssetVisibility = zod.infer<typeof ASSET_VISIBILITY_SCHEMA>;
28
- declare const METADATA_ITEM_SCHEMA: zod.ZodObject<{
29
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
30
- value: zod.ZodJSONSchema;
31
- }, zod.core.$strip>;
32
- type MetadataItem = zod.infer<typeof METADATA_ITEM_SCHEMA>;
33
- declare const PROCESSING_OPTIONS_SCHEMA: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34
- keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
35
- flaggedContentPolicy: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
36
- action: zod.ZodEnum<{
37
- alert: "alert";
38
- hide: "hide";
39
- ignore: "ignore";
40
- purge: "purge";
41
- }>;
42
- }, zod.core.$strip>>>;
43
- image: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
44
- ocrEnabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
45
- }, zod.core.$strip>>>;
46
- }, zod.core.$strict>>>;
47
- type ProcessingOptions = zod.infer<typeof PROCESSING_OPTIONS_SCHEMA>;
48
- declare const ASSET_SCHEMA: zod.ZodObject<{
49
- id: zod.ZodString;
50
- projectId: zod.ZodString;
51
- sizeInBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
52
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
53
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
54
- folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
55
- createdAt: zod.ZodNumber;
56
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
57
- checksums: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
58
- md5: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
59
- sha1: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
60
- sha256: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
61
- sha384: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
62
- sha512: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
63
- }, zod.core.$strip>>>;
64
- imageData: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
65
- perceptualHash: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
66
- width: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
67
- height: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
68
- }, zod.core.$strip>>>;
69
- documentData: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod.core.$strip>>>;
70
- name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
71
- fileFormat: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
72
- fileExtension: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
73
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
74
- externalId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
75
- externalUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
76
- previewImage: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
77
- id: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
78
- fileFormat: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
79
- thumbhash: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
80
- averageColor: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
81
- width: zod.ZodNullable<zod.ZodNumber>;
82
- height: zod.ZodNullable<zod.ZodNumber>;
83
- }, zod.core.$strip>>>;
84
- storageId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
85
- uploadPartsReceived: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
86
- type: zod.ZodEnum<{
87
- audio: "audio";
88
- file: "file";
89
- image: "image";
90
- "multimedia-document": "multimedia-document";
91
- "plaintext-document": "plaintext-document";
92
- video: "video";
93
- website: "website";
94
- }>;
95
- metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
96
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
97
- value: zod.ZodJSONSchema;
98
- }, zod.core.$strip>>>>;
99
- tags: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
100
- report: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
101
- processedAt: zod.ZodNumber;
102
- categories: zod.ZodObject<{
103
- sexual: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
104
- status: zod.ZodLiteral<"evaluated">;
105
- likelihood: zod.ZodEnum<{
106
- likely: "likely";
107
- possible: "possible";
108
- unlikely: "unlikely";
109
- "very-likely": "very-likely";
110
- "very-unlikely": "very-unlikely";
111
- }>;
112
- score: zod.ZodNumber;
113
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
114
- "criminal-demonstration": "criminal-demonstration";
115
- "criminal-instructions": "criminal-instructions";
116
- "criminal-preparation": "criminal-preparation";
117
- "criminal-promotion": "criminal-promotion";
118
- "criminal-request": "criminal-request";
119
- death: "death";
120
- dehumanization: "dehumanization";
121
- "discriminatory-exclusion": "discriminatory-exclusion";
122
- documentary: "documentary";
123
- "explicit-sexual-language": "explicit-sexual-language";
124
- fictional: "fictional";
125
- graphic: "graphic";
126
- "harassment-encouragement": "harassment-encouragement";
127
- "harassment-threat": "harassment-threat";
128
- "hate-threat": "hate-threat";
129
- historical: "historical";
130
- "identity-abuse": "identity-abuse";
131
- "identity-inferiority": "identity-inferiority";
132
- injury: "injury";
133
- nudity: "nudity";
134
- "personal-abuse": "personal-abuse";
135
- "physical-attack": "physical-attack";
136
- "self-harm-act": "self-harm-act";
137
- "self-harm-encouragement": "self-harm-encouragement";
138
- "self-harm-methods": "self-harm-methods";
139
- "self-harm-preparation": "self-harm-preparation";
140
- "self-harm-thoughts": "self-harm-thoughts";
141
- "sexual-activity": "sexual-activity";
142
- "sexual-harassment": "sexual-harassment";
143
- "sexual-solicitation": "sexual-solicitation";
144
- "support-prevention": "support-prevention";
145
- "targeted-intimidation": "targeted-intimidation";
146
- "violent-encouragement": "violent-encouragement";
147
- "violent-preparation": "violent-preparation";
148
- "violent-threat": "violent-threat";
149
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
150
- status: zod.ZodLiteral<"evaluated">;
151
- score: zod.ZodNumber;
152
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
153
- likelihood: zod.ZodEnum<{
154
- likely: "likely";
155
- possible: "possible";
156
- unlikely: "unlikely";
157
- "very-likely": "very-likely";
158
- "very-unlikely": "very-unlikely";
159
- }>;
160
- }, zod.core.$strict>, zod.ZodObject<{
161
- status: zod.ZodLiteral<"not-evaluated">;
162
- reason: zod.ZodEnum<{
163
- "not-supported": "not-supported";
164
- unavailable: "unavailable";
165
- }>;
166
- }, zod.core.$strict>], "status">>>;
167
- }, zod.core.$strict>, zod.ZodObject<{
168
- status: zod.ZodLiteral<"partial">;
169
- likelihood: zod.ZodEnum<{
170
- likely: "likely";
171
- possible: "possible";
172
- unlikely: "unlikely";
173
- "very-likely": "very-likely";
174
- "very-unlikely": "very-unlikely";
175
- }>;
176
- score: zod.ZodNumber;
177
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
178
- "criminal-demonstration": "criminal-demonstration";
179
- "criminal-instructions": "criminal-instructions";
180
- "criminal-preparation": "criminal-preparation";
181
- "criminal-promotion": "criminal-promotion";
182
- "criminal-request": "criminal-request";
183
- death: "death";
184
- dehumanization: "dehumanization";
185
- "discriminatory-exclusion": "discriminatory-exclusion";
186
- documentary: "documentary";
187
- "explicit-sexual-language": "explicit-sexual-language";
188
- fictional: "fictional";
189
- graphic: "graphic";
190
- "harassment-encouragement": "harassment-encouragement";
191
- "harassment-threat": "harassment-threat";
192
- "hate-threat": "hate-threat";
193
- historical: "historical";
194
- "identity-abuse": "identity-abuse";
195
- "identity-inferiority": "identity-inferiority";
196
- injury: "injury";
197
- nudity: "nudity";
198
- "personal-abuse": "personal-abuse";
199
- "physical-attack": "physical-attack";
200
- "self-harm-act": "self-harm-act";
201
- "self-harm-encouragement": "self-harm-encouragement";
202
- "self-harm-methods": "self-harm-methods";
203
- "self-harm-preparation": "self-harm-preparation";
204
- "self-harm-thoughts": "self-harm-thoughts";
205
- "sexual-activity": "sexual-activity";
206
- "sexual-harassment": "sexual-harassment";
207
- "sexual-solicitation": "sexual-solicitation";
208
- "support-prevention": "support-prevention";
209
- "targeted-intimidation": "targeted-intimidation";
210
- "violent-encouragement": "violent-encouragement";
211
- "violent-preparation": "violent-preparation";
212
- "violent-threat": "violent-threat";
213
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
214
- status: zod.ZodLiteral<"evaluated">;
215
- score: zod.ZodNumber;
216
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
217
- likelihood: zod.ZodEnum<{
218
- likely: "likely";
219
- possible: "possible";
220
- unlikely: "unlikely";
221
- "very-likely": "very-likely";
222
- "very-unlikely": "very-unlikely";
223
- }>;
224
- }, zod.core.$strict>, zod.ZodObject<{
225
- status: zod.ZodLiteral<"not-evaluated">;
226
- reason: zod.ZodEnum<{
227
- "not-supported": "not-supported";
228
- unavailable: "unavailable";
229
- }>;
230
- }, zod.core.$strict>], "status">>>;
231
- }, zod.core.$strict>, zod.ZodObject<{
232
- status: zod.ZodLiteral<"not-evaluated">;
233
- reason: zod.ZodEnum<{
234
- "not-supported": "not-supported";
235
- unavailable: "unavailable";
236
- }>;
237
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
238
- "criminal-demonstration": "criminal-demonstration";
239
- "criminal-instructions": "criminal-instructions";
240
- "criminal-preparation": "criminal-preparation";
241
- "criminal-promotion": "criminal-promotion";
242
- "criminal-request": "criminal-request";
243
- death: "death";
244
- dehumanization: "dehumanization";
245
- "discriminatory-exclusion": "discriminatory-exclusion";
246
- documentary: "documentary";
247
- "explicit-sexual-language": "explicit-sexual-language";
248
- fictional: "fictional";
249
- graphic: "graphic";
250
- "harassment-encouragement": "harassment-encouragement";
251
- "harassment-threat": "harassment-threat";
252
- "hate-threat": "hate-threat";
253
- historical: "historical";
254
- "identity-abuse": "identity-abuse";
255
- "identity-inferiority": "identity-inferiority";
256
- injury: "injury";
257
- nudity: "nudity";
258
- "personal-abuse": "personal-abuse";
259
- "physical-attack": "physical-attack";
260
- "self-harm-act": "self-harm-act";
261
- "self-harm-encouragement": "self-harm-encouragement";
262
- "self-harm-methods": "self-harm-methods";
263
- "self-harm-preparation": "self-harm-preparation";
264
- "self-harm-thoughts": "self-harm-thoughts";
265
- "sexual-activity": "sexual-activity";
266
- "sexual-harassment": "sexual-harassment";
267
- "sexual-solicitation": "sexual-solicitation";
268
- "support-prevention": "support-prevention";
269
- "targeted-intimidation": "targeted-intimidation";
270
- "violent-encouragement": "violent-encouragement";
271
- "violent-preparation": "violent-preparation";
272
- "violent-threat": "violent-threat";
273
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
274
- status: zod.ZodLiteral<"evaluated">;
275
- score: zod.ZodNumber;
276
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
277
- likelihood: zod.ZodEnum<{
278
- likely: "likely";
279
- possible: "possible";
280
- unlikely: "unlikely";
281
- "very-likely": "very-likely";
282
- "very-unlikely": "very-unlikely";
283
- }>;
284
- }, zod.core.$strict>, zod.ZodObject<{
285
- status: zod.ZodLiteral<"not-evaluated">;
286
- reason: zod.ZodEnum<{
287
- "not-supported": "not-supported";
288
- unavailable: "unavailable";
289
- }>;
290
- }, zod.core.$strict>], "status">>>;
291
- }, zod.core.$strict>], "status">;
292
- violence: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
293
- status: zod.ZodLiteral<"evaluated">;
294
- likelihood: zod.ZodEnum<{
295
- likely: "likely";
296
- possible: "possible";
297
- unlikely: "unlikely";
298
- "very-likely": "very-likely";
299
- "very-unlikely": "very-unlikely";
300
- }>;
301
- score: zod.ZodNumber;
302
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
303
- "criminal-demonstration": "criminal-demonstration";
304
- "criminal-instructions": "criminal-instructions";
305
- "criminal-preparation": "criminal-preparation";
306
- "criminal-promotion": "criminal-promotion";
307
- "criminal-request": "criminal-request";
308
- death: "death";
309
- dehumanization: "dehumanization";
310
- "discriminatory-exclusion": "discriminatory-exclusion";
311
- documentary: "documentary";
312
- "explicit-sexual-language": "explicit-sexual-language";
313
- fictional: "fictional";
314
- graphic: "graphic";
315
- "harassment-encouragement": "harassment-encouragement";
316
- "harassment-threat": "harassment-threat";
317
- "hate-threat": "hate-threat";
318
- historical: "historical";
319
- "identity-abuse": "identity-abuse";
320
- "identity-inferiority": "identity-inferiority";
321
- injury: "injury";
322
- nudity: "nudity";
323
- "personal-abuse": "personal-abuse";
324
- "physical-attack": "physical-attack";
325
- "self-harm-act": "self-harm-act";
326
- "self-harm-encouragement": "self-harm-encouragement";
327
- "self-harm-methods": "self-harm-methods";
328
- "self-harm-preparation": "self-harm-preparation";
329
- "self-harm-thoughts": "self-harm-thoughts";
330
- "sexual-activity": "sexual-activity";
331
- "sexual-harassment": "sexual-harassment";
332
- "sexual-solicitation": "sexual-solicitation";
333
- "support-prevention": "support-prevention";
334
- "targeted-intimidation": "targeted-intimidation";
335
- "violent-encouragement": "violent-encouragement";
336
- "violent-preparation": "violent-preparation";
337
- "violent-threat": "violent-threat";
338
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
339
- status: zod.ZodLiteral<"evaluated">;
340
- score: zod.ZodNumber;
341
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
342
- likelihood: zod.ZodEnum<{
343
- likely: "likely";
344
- possible: "possible";
345
- unlikely: "unlikely";
346
- "very-likely": "very-likely";
347
- "very-unlikely": "very-unlikely";
348
- }>;
349
- }, zod.core.$strict>, zod.ZodObject<{
350
- status: zod.ZodLiteral<"not-evaluated">;
351
- reason: zod.ZodEnum<{
352
- "not-supported": "not-supported";
353
- unavailable: "unavailable";
354
- }>;
355
- }, zod.core.$strict>], "status">>>;
356
- }, zod.core.$strict>, zod.ZodObject<{
357
- status: zod.ZodLiteral<"partial">;
358
- likelihood: zod.ZodEnum<{
359
- likely: "likely";
360
- possible: "possible";
361
- unlikely: "unlikely";
362
- "very-likely": "very-likely";
363
- "very-unlikely": "very-unlikely";
364
- }>;
365
- score: zod.ZodNumber;
366
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
367
- "criminal-demonstration": "criminal-demonstration";
368
- "criminal-instructions": "criminal-instructions";
369
- "criminal-preparation": "criminal-preparation";
370
- "criminal-promotion": "criminal-promotion";
371
- "criminal-request": "criminal-request";
372
- death: "death";
373
- dehumanization: "dehumanization";
374
- "discriminatory-exclusion": "discriminatory-exclusion";
375
- documentary: "documentary";
376
- "explicit-sexual-language": "explicit-sexual-language";
377
- fictional: "fictional";
378
- graphic: "graphic";
379
- "harassment-encouragement": "harassment-encouragement";
380
- "harassment-threat": "harassment-threat";
381
- "hate-threat": "hate-threat";
382
- historical: "historical";
383
- "identity-abuse": "identity-abuse";
384
- "identity-inferiority": "identity-inferiority";
385
- injury: "injury";
386
- nudity: "nudity";
387
- "personal-abuse": "personal-abuse";
388
- "physical-attack": "physical-attack";
389
- "self-harm-act": "self-harm-act";
390
- "self-harm-encouragement": "self-harm-encouragement";
391
- "self-harm-methods": "self-harm-methods";
392
- "self-harm-preparation": "self-harm-preparation";
393
- "self-harm-thoughts": "self-harm-thoughts";
394
- "sexual-activity": "sexual-activity";
395
- "sexual-harassment": "sexual-harassment";
396
- "sexual-solicitation": "sexual-solicitation";
397
- "support-prevention": "support-prevention";
398
- "targeted-intimidation": "targeted-intimidation";
399
- "violent-encouragement": "violent-encouragement";
400
- "violent-preparation": "violent-preparation";
401
- "violent-threat": "violent-threat";
402
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
403
- status: zod.ZodLiteral<"evaluated">;
404
- score: zod.ZodNumber;
405
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
406
- likelihood: zod.ZodEnum<{
407
- likely: "likely";
408
- possible: "possible";
409
- unlikely: "unlikely";
410
- "very-likely": "very-likely";
411
- "very-unlikely": "very-unlikely";
412
- }>;
413
- }, zod.core.$strict>, zod.ZodObject<{
414
- status: zod.ZodLiteral<"not-evaluated">;
415
- reason: zod.ZodEnum<{
416
- "not-supported": "not-supported";
417
- unavailable: "unavailable";
418
- }>;
419
- }, zod.core.$strict>], "status">>>;
420
- }, zod.core.$strict>, zod.ZodObject<{
421
- status: zod.ZodLiteral<"not-evaluated">;
422
- reason: zod.ZodEnum<{
423
- "not-supported": "not-supported";
424
- unavailable: "unavailable";
425
- }>;
426
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
427
- "criminal-demonstration": "criminal-demonstration";
428
- "criminal-instructions": "criminal-instructions";
429
- "criminal-preparation": "criminal-preparation";
430
- "criminal-promotion": "criminal-promotion";
431
- "criminal-request": "criminal-request";
432
- death: "death";
433
- dehumanization: "dehumanization";
434
- "discriminatory-exclusion": "discriminatory-exclusion";
435
- documentary: "documentary";
436
- "explicit-sexual-language": "explicit-sexual-language";
437
- fictional: "fictional";
438
- graphic: "graphic";
439
- "harassment-encouragement": "harassment-encouragement";
440
- "harassment-threat": "harassment-threat";
441
- "hate-threat": "hate-threat";
442
- historical: "historical";
443
- "identity-abuse": "identity-abuse";
444
- "identity-inferiority": "identity-inferiority";
445
- injury: "injury";
446
- nudity: "nudity";
447
- "personal-abuse": "personal-abuse";
448
- "physical-attack": "physical-attack";
449
- "self-harm-act": "self-harm-act";
450
- "self-harm-encouragement": "self-harm-encouragement";
451
- "self-harm-methods": "self-harm-methods";
452
- "self-harm-preparation": "self-harm-preparation";
453
- "self-harm-thoughts": "self-harm-thoughts";
454
- "sexual-activity": "sexual-activity";
455
- "sexual-harassment": "sexual-harassment";
456
- "sexual-solicitation": "sexual-solicitation";
457
- "support-prevention": "support-prevention";
458
- "targeted-intimidation": "targeted-intimidation";
459
- "violent-encouragement": "violent-encouragement";
460
- "violent-preparation": "violent-preparation";
461
- "violent-threat": "violent-threat";
462
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
463
- status: zod.ZodLiteral<"evaluated">;
464
- score: zod.ZodNumber;
465
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
466
- likelihood: zod.ZodEnum<{
467
- likely: "likely";
468
- possible: "possible";
469
- unlikely: "unlikely";
470
- "very-likely": "very-likely";
471
- "very-unlikely": "very-unlikely";
472
- }>;
473
- }, zod.core.$strict>, zod.ZodObject<{
474
- status: zod.ZodLiteral<"not-evaluated">;
475
- reason: zod.ZodEnum<{
476
- "not-supported": "not-supported";
477
- unavailable: "unavailable";
478
- }>;
479
- }, zod.core.$strict>], "status">>>;
480
- }, zod.core.$strict>], "status">;
481
- "self-harm": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
482
- status: zod.ZodLiteral<"evaluated">;
483
- likelihood: zod.ZodEnum<{
484
- likely: "likely";
485
- possible: "possible";
486
- unlikely: "unlikely";
487
- "very-likely": "very-likely";
488
- "very-unlikely": "very-unlikely";
489
- }>;
490
- score: zod.ZodNumber;
491
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
492
- "criminal-demonstration": "criminal-demonstration";
493
- "criminal-instructions": "criminal-instructions";
494
- "criminal-preparation": "criminal-preparation";
495
- "criminal-promotion": "criminal-promotion";
496
- "criminal-request": "criminal-request";
497
- death: "death";
498
- dehumanization: "dehumanization";
499
- "discriminatory-exclusion": "discriminatory-exclusion";
500
- documentary: "documentary";
501
- "explicit-sexual-language": "explicit-sexual-language";
502
- fictional: "fictional";
503
- graphic: "graphic";
504
- "harassment-encouragement": "harassment-encouragement";
505
- "harassment-threat": "harassment-threat";
506
- "hate-threat": "hate-threat";
507
- historical: "historical";
508
- "identity-abuse": "identity-abuse";
509
- "identity-inferiority": "identity-inferiority";
510
- injury: "injury";
511
- nudity: "nudity";
512
- "personal-abuse": "personal-abuse";
513
- "physical-attack": "physical-attack";
514
- "self-harm-act": "self-harm-act";
515
- "self-harm-encouragement": "self-harm-encouragement";
516
- "self-harm-methods": "self-harm-methods";
517
- "self-harm-preparation": "self-harm-preparation";
518
- "self-harm-thoughts": "self-harm-thoughts";
519
- "sexual-activity": "sexual-activity";
520
- "sexual-harassment": "sexual-harassment";
521
- "sexual-solicitation": "sexual-solicitation";
522
- "support-prevention": "support-prevention";
523
- "targeted-intimidation": "targeted-intimidation";
524
- "violent-encouragement": "violent-encouragement";
525
- "violent-preparation": "violent-preparation";
526
- "violent-threat": "violent-threat";
527
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
528
- status: zod.ZodLiteral<"evaluated">;
529
- score: zod.ZodNumber;
530
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
531
- likelihood: zod.ZodEnum<{
532
- likely: "likely";
533
- possible: "possible";
534
- unlikely: "unlikely";
535
- "very-likely": "very-likely";
536
- "very-unlikely": "very-unlikely";
537
- }>;
538
- }, zod.core.$strict>, zod.ZodObject<{
539
- status: zod.ZodLiteral<"not-evaluated">;
540
- reason: zod.ZodEnum<{
541
- "not-supported": "not-supported";
542
- unavailable: "unavailable";
543
- }>;
544
- }, zod.core.$strict>], "status">>>;
545
- }, zod.core.$strict>, zod.ZodObject<{
546
- status: zod.ZodLiteral<"partial">;
547
- likelihood: zod.ZodEnum<{
548
- likely: "likely";
549
- possible: "possible";
550
- unlikely: "unlikely";
551
- "very-likely": "very-likely";
552
- "very-unlikely": "very-unlikely";
553
- }>;
554
- score: zod.ZodNumber;
555
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
556
- "criminal-demonstration": "criminal-demonstration";
557
- "criminal-instructions": "criminal-instructions";
558
- "criminal-preparation": "criminal-preparation";
559
- "criminal-promotion": "criminal-promotion";
560
- "criminal-request": "criminal-request";
561
- death: "death";
562
- dehumanization: "dehumanization";
563
- "discriminatory-exclusion": "discriminatory-exclusion";
564
- documentary: "documentary";
565
- "explicit-sexual-language": "explicit-sexual-language";
566
- fictional: "fictional";
567
- graphic: "graphic";
568
- "harassment-encouragement": "harassment-encouragement";
569
- "harassment-threat": "harassment-threat";
570
- "hate-threat": "hate-threat";
571
- historical: "historical";
572
- "identity-abuse": "identity-abuse";
573
- "identity-inferiority": "identity-inferiority";
574
- injury: "injury";
575
- nudity: "nudity";
576
- "personal-abuse": "personal-abuse";
577
- "physical-attack": "physical-attack";
578
- "self-harm-act": "self-harm-act";
579
- "self-harm-encouragement": "self-harm-encouragement";
580
- "self-harm-methods": "self-harm-methods";
581
- "self-harm-preparation": "self-harm-preparation";
582
- "self-harm-thoughts": "self-harm-thoughts";
583
- "sexual-activity": "sexual-activity";
584
- "sexual-harassment": "sexual-harassment";
585
- "sexual-solicitation": "sexual-solicitation";
586
- "support-prevention": "support-prevention";
587
- "targeted-intimidation": "targeted-intimidation";
588
- "violent-encouragement": "violent-encouragement";
589
- "violent-preparation": "violent-preparation";
590
- "violent-threat": "violent-threat";
591
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
592
- status: zod.ZodLiteral<"evaluated">;
593
- score: zod.ZodNumber;
594
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
595
- likelihood: zod.ZodEnum<{
596
- likely: "likely";
597
- possible: "possible";
598
- unlikely: "unlikely";
599
- "very-likely": "very-likely";
600
- "very-unlikely": "very-unlikely";
601
- }>;
602
- }, zod.core.$strict>, zod.ZodObject<{
603
- status: zod.ZodLiteral<"not-evaluated">;
604
- reason: zod.ZodEnum<{
605
- "not-supported": "not-supported";
606
- unavailable: "unavailable";
607
- }>;
608
- }, zod.core.$strict>], "status">>>;
609
- }, zod.core.$strict>, zod.ZodObject<{
610
- status: zod.ZodLiteral<"not-evaluated">;
611
- reason: zod.ZodEnum<{
612
- "not-supported": "not-supported";
613
- unavailable: "unavailable";
614
- }>;
615
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
616
- "criminal-demonstration": "criminal-demonstration";
617
- "criminal-instructions": "criminal-instructions";
618
- "criminal-preparation": "criminal-preparation";
619
- "criminal-promotion": "criminal-promotion";
620
- "criminal-request": "criminal-request";
621
- death: "death";
622
- dehumanization: "dehumanization";
623
- "discriminatory-exclusion": "discriminatory-exclusion";
624
- documentary: "documentary";
625
- "explicit-sexual-language": "explicit-sexual-language";
626
- fictional: "fictional";
627
- graphic: "graphic";
628
- "harassment-encouragement": "harassment-encouragement";
629
- "harassment-threat": "harassment-threat";
630
- "hate-threat": "hate-threat";
631
- historical: "historical";
632
- "identity-abuse": "identity-abuse";
633
- "identity-inferiority": "identity-inferiority";
634
- injury: "injury";
635
- nudity: "nudity";
636
- "personal-abuse": "personal-abuse";
637
- "physical-attack": "physical-attack";
638
- "self-harm-act": "self-harm-act";
639
- "self-harm-encouragement": "self-harm-encouragement";
640
- "self-harm-methods": "self-harm-methods";
641
- "self-harm-preparation": "self-harm-preparation";
642
- "self-harm-thoughts": "self-harm-thoughts";
643
- "sexual-activity": "sexual-activity";
644
- "sexual-harassment": "sexual-harassment";
645
- "sexual-solicitation": "sexual-solicitation";
646
- "support-prevention": "support-prevention";
647
- "targeted-intimidation": "targeted-intimidation";
648
- "violent-encouragement": "violent-encouragement";
649
- "violent-preparation": "violent-preparation";
650
- "violent-threat": "violent-threat";
651
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
652
- status: zod.ZodLiteral<"evaluated">;
653
- score: zod.ZodNumber;
654
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
655
- likelihood: zod.ZodEnum<{
656
- likely: "likely";
657
- possible: "possible";
658
- unlikely: "unlikely";
659
- "very-likely": "very-likely";
660
- "very-unlikely": "very-unlikely";
661
- }>;
662
- }, zod.core.$strict>, zod.ZodObject<{
663
- status: zod.ZodLiteral<"not-evaluated">;
664
- reason: zod.ZodEnum<{
665
- "not-supported": "not-supported";
666
- unavailable: "unavailable";
667
- }>;
668
- }, zod.core.$strict>], "status">>>;
669
- }, zod.core.$strict>], "status">;
670
- harassment: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
671
- status: zod.ZodLiteral<"evaluated">;
672
- likelihood: zod.ZodEnum<{
673
- likely: "likely";
674
- possible: "possible";
675
- unlikely: "unlikely";
676
- "very-likely": "very-likely";
677
- "very-unlikely": "very-unlikely";
678
- }>;
679
- score: zod.ZodNumber;
680
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
681
- "criminal-demonstration": "criminal-demonstration";
682
- "criminal-instructions": "criminal-instructions";
683
- "criminal-preparation": "criminal-preparation";
684
- "criminal-promotion": "criminal-promotion";
685
- "criminal-request": "criminal-request";
686
- death: "death";
687
- dehumanization: "dehumanization";
688
- "discriminatory-exclusion": "discriminatory-exclusion";
689
- documentary: "documentary";
690
- "explicit-sexual-language": "explicit-sexual-language";
691
- fictional: "fictional";
692
- graphic: "graphic";
693
- "harassment-encouragement": "harassment-encouragement";
694
- "harassment-threat": "harassment-threat";
695
- "hate-threat": "hate-threat";
696
- historical: "historical";
697
- "identity-abuse": "identity-abuse";
698
- "identity-inferiority": "identity-inferiority";
699
- injury: "injury";
700
- nudity: "nudity";
701
- "personal-abuse": "personal-abuse";
702
- "physical-attack": "physical-attack";
703
- "self-harm-act": "self-harm-act";
704
- "self-harm-encouragement": "self-harm-encouragement";
705
- "self-harm-methods": "self-harm-methods";
706
- "self-harm-preparation": "self-harm-preparation";
707
- "self-harm-thoughts": "self-harm-thoughts";
708
- "sexual-activity": "sexual-activity";
709
- "sexual-harassment": "sexual-harassment";
710
- "sexual-solicitation": "sexual-solicitation";
711
- "support-prevention": "support-prevention";
712
- "targeted-intimidation": "targeted-intimidation";
713
- "violent-encouragement": "violent-encouragement";
714
- "violent-preparation": "violent-preparation";
715
- "violent-threat": "violent-threat";
716
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
717
- status: zod.ZodLiteral<"evaluated">;
718
- score: zod.ZodNumber;
719
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
720
- likelihood: zod.ZodEnum<{
721
- likely: "likely";
722
- possible: "possible";
723
- unlikely: "unlikely";
724
- "very-likely": "very-likely";
725
- "very-unlikely": "very-unlikely";
726
- }>;
727
- }, zod.core.$strict>, zod.ZodObject<{
728
- status: zod.ZodLiteral<"not-evaluated">;
729
- reason: zod.ZodEnum<{
730
- "not-supported": "not-supported";
731
- unavailable: "unavailable";
732
- }>;
733
- }, zod.core.$strict>], "status">>>;
734
- }, zod.core.$strict>, zod.ZodObject<{
735
- status: zod.ZodLiteral<"partial">;
736
- likelihood: zod.ZodEnum<{
737
- likely: "likely";
738
- possible: "possible";
739
- unlikely: "unlikely";
740
- "very-likely": "very-likely";
741
- "very-unlikely": "very-unlikely";
742
- }>;
743
- score: zod.ZodNumber;
744
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
745
- "criminal-demonstration": "criminal-demonstration";
746
- "criminal-instructions": "criminal-instructions";
747
- "criminal-preparation": "criminal-preparation";
748
- "criminal-promotion": "criminal-promotion";
749
- "criminal-request": "criminal-request";
750
- death: "death";
751
- dehumanization: "dehumanization";
752
- "discriminatory-exclusion": "discriminatory-exclusion";
753
- documentary: "documentary";
754
- "explicit-sexual-language": "explicit-sexual-language";
755
- fictional: "fictional";
756
- graphic: "graphic";
757
- "harassment-encouragement": "harassment-encouragement";
758
- "harassment-threat": "harassment-threat";
759
- "hate-threat": "hate-threat";
760
- historical: "historical";
761
- "identity-abuse": "identity-abuse";
762
- "identity-inferiority": "identity-inferiority";
763
- injury: "injury";
764
- nudity: "nudity";
765
- "personal-abuse": "personal-abuse";
766
- "physical-attack": "physical-attack";
767
- "self-harm-act": "self-harm-act";
768
- "self-harm-encouragement": "self-harm-encouragement";
769
- "self-harm-methods": "self-harm-methods";
770
- "self-harm-preparation": "self-harm-preparation";
771
- "self-harm-thoughts": "self-harm-thoughts";
772
- "sexual-activity": "sexual-activity";
773
- "sexual-harassment": "sexual-harassment";
774
- "sexual-solicitation": "sexual-solicitation";
775
- "support-prevention": "support-prevention";
776
- "targeted-intimidation": "targeted-intimidation";
777
- "violent-encouragement": "violent-encouragement";
778
- "violent-preparation": "violent-preparation";
779
- "violent-threat": "violent-threat";
780
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
781
- status: zod.ZodLiteral<"evaluated">;
782
- score: zod.ZodNumber;
783
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
784
- likelihood: zod.ZodEnum<{
785
- likely: "likely";
786
- possible: "possible";
787
- unlikely: "unlikely";
788
- "very-likely": "very-likely";
789
- "very-unlikely": "very-unlikely";
790
- }>;
791
- }, zod.core.$strict>, zod.ZodObject<{
792
- status: zod.ZodLiteral<"not-evaluated">;
793
- reason: zod.ZodEnum<{
794
- "not-supported": "not-supported";
795
- unavailable: "unavailable";
796
- }>;
797
- }, zod.core.$strict>], "status">>>;
798
- }, zod.core.$strict>, zod.ZodObject<{
799
- status: zod.ZodLiteral<"not-evaluated">;
800
- reason: zod.ZodEnum<{
801
- "not-supported": "not-supported";
802
- unavailable: "unavailable";
803
- }>;
804
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
805
- "criminal-demonstration": "criminal-demonstration";
806
- "criminal-instructions": "criminal-instructions";
807
- "criminal-preparation": "criminal-preparation";
808
- "criminal-promotion": "criminal-promotion";
809
- "criminal-request": "criminal-request";
810
- death: "death";
811
- dehumanization: "dehumanization";
812
- "discriminatory-exclusion": "discriminatory-exclusion";
813
- documentary: "documentary";
814
- "explicit-sexual-language": "explicit-sexual-language";
815
- fictional: "fictional";
816
- graphic: "graphic";
817
- "harassment-encouragement": "harassment-encouragement";
818
- "harassment-threat": "harassment-threat";
819
- "hate-threat": "hate-threat";
820
- historical: "historical";
821
- "identity-abuse": "identity-abuse";
822
- "identity-inferiority": "identity-inferiority";
823
- injury: "injury";
824
- nudity: "nudity";
825
- "personal-abuse": "personal-abuse";
826
- "physical-attack": "physical-attack";
827
- "self-harm-act": "self-harm-act";
828
- "self-harm-encouragement": "self-harm-encouragement";
829
- "self-harm-methods": "self-harm-methods";
830
- "self-harm-preparation": "self-harm-preparation";
831
- "self-harm-thoughts": "self-harm-thoughts";
832
- "sexual-activity": "sexual-activity";
833
- "sexual-harassment": "sexual-harassment";
834
- "sexual-solicitation": "sexual-solicitation";
835
- "support-prevention": "support-prevention";
836
- "targeted-intimidation": "targeted-intimidation";
837
- "violent-encouragement": "violent-encouragement";
838
- "violent-preparation": "violent-preparation";
839
- "violent-threat": "violent-threat";
840
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
841
- status: zod.ZodLiteral<"evaluated">;
842
- score: zod.ZodNumber;
843
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
844
- likelihood: zod.ZodEnum<{
845
- likely: "likely";
846
- possible: "possible";
847
- unlikely: "unlikely";
848
- "very-likely": "very-likely";
849
- "very-unlikely": "very-unlikely";
850
- }>;
851
- }, zod.core.$strict>, zod.ZodObject<{
852
- status: zod.ZodLiteral<"not-evaluated">;
853
- reason: zod.ZodEnum<{
854
- "not-supported": "not-supported";
855
- unavailable: "unavailable";
856
- }>;
857
- }, zod.core.$strict>], "status">>>;
858
- }, zod.core.$strict>], "status">;
859
- hate: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
860
- status: zod.ZodLiteral<"evaluated">;
861
- likelihood: zod.ZodEnum<{
862
- likely: "likely";
863
- possible: "possible";
864
- unlikely: "unlikely";
865
- "very-likely": "very-likely";
866
- "very-unlikely": "very-unlikely";
867
- }>;
868
- score: zod.ZodNumber;
869
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
870
- "criminal-demonstration": "criminal-demonstration";
871
- "criminal-instructions": "criminal-instructions";
872
- "criminal-preparation": "criminal-preparation";
873
- "criminal-promotion": "criminal-promotion";
874
- "criminal-request": "criminal-request";
875
- death: "death";
876
- dehumanization: "dehumanization";
877
- "discriminatory-exclusion": "discriminatory-exclusion";
878
- documentary: "documentary";
879
- "explicit-sexual-language": "explicit-sexual-language";
880
- fictional: "fictional";
881
- graphic: "graphic";
882
- "harassment-encouragement": "harassment-encouragement";
883
- "harassment-threat": "harassment-threat";
884
- "hate-threat": "hate-threat";
885
- historical: "historical";
886
- "identity-abuse": "identity-abuse";
887
- "identity-inferiority": "identity-inferiority";
888
- injury: "injury";
889
- nudity: "nudity";
890
- "personal-abuse": "personal-abuse";
891
- "physical-attack": "physical-attack";
892
- "self-harm-act": "self-harm-act";
893
- "self-harm-encouragement": "self-harm-encouragement";
894
- "self-harm-methods": "self-harm-methods";
895
- "self-harm-preparation": "self-harm-preparation";
896
- "self-harm-thoughts": "self-harm-thoughts";
897
- "sexual-activity": "sexual-activity";
898
- "sexual-harassment": "sexual-harassment";
899
- "sexual-solicitation": "sexual-solicitation";
900
- "support-prevention": "support-prevention";
901
- "targeted-intimidation": "targeted-intimidation";
902
- "violent-encouragement": "violent-encouragement";
903
- "violent-preparation": "violent-preparation";
904
- "violent-threat": "violent-threat";
905
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
906
- status: zod.ZodLiteral<"evaluated">;
907
- score: zod.ZodNumber;
908
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
909
- likelihood: zod.ZodEnum<{
910
- likely: "likely";
911
- possible: "possible";
912
- unlikely: "unlikely";
913
- "very-likely": "very-likely";
914
- "very-unlikely": "very-unlikely";
915
- }>;
916
- }, zod.core.$strict>, zod.ZodObject<{
917
- status: zod.ZodLiteral<"not-evaluated">;
918
- reason: zod.ZodEnum<{
919
- "not-supported": "not-supported";
920
- unavailable: "unavailable";
921
- }>;
922
- }, zod.core.$strict>], "status">>>;
923
- }, zod.core.$strict>, zod.ZodObject<{
924
- status: zod.ZodLiteral<"partial">;
925
- likelihood: zod.ZodEnum<{
926
- likely: "likely";
927
- possible: "possible";
928
- unlikely: "unlikely";
929
- "very-likely": "very-likely";
930
- "very-unlikely": "very-unlikely";
931
- }>;
932
- score: zod.ZodNumber;
933
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
934
- "criminal-demonstration": "criminal-demonstration";
935
- "criminal-instructions": "criminal-instructions";
936
- "criminal-preparation": "criminal-preparation";
937
- "criminal-promotion": "criminal-promotion";
938
- "criminal-request": "criminal-request";
939
- death: "death";
940
- dehumanization: "dehumanization";
941
- "discriminatory-exclusion": "discriminatory-exclusion";
942
- documentary: "documentary";
943
- "explicit-sexual-language": "explicit-sexual-language";
944
- fictional: "fictional";
945
- graphic: "graphic";
946
- "harassment-encouragement": "harassment-encouragement";
947
- "harassment-threat": "harassment-threat";
948
- "hate-threat": "hate-threat";
949
- historical: "historical";
950
- "identity-abuse": "identity-abuse";
951
- "identity-inferiority": "identity-inferiority";
952
- injury: "injury";
953
- nudity: "nudity";
954
- "personal-abuse": "personal-abuse";
955
- "physical-attack": "physical-attack";
956
- "self-harm-act": "self-harm-act";
957
- "self-harm-encouragement": "self-harm-encouragement";
958
- "self-harm-methods": "self-harm-methods";
959
- "self-harm-preparation": "self-harm-preparation";
960
- "self-harm-thoughts": "self-harm-thoughts";
961
- "sexual-activity": "sexual-activity";
962
- "sexual-harassment": "sexual-harassment";
963
- "sexual-solicitation": "sexual-solicitation";
964
- "support-prevention": "support-prevention";
965
- "targeted-intimidation": "targeted-intimidation";
966
- "violent-encouragement": "violent-encouragement";
967
- "violent-preparation": "violent-preparation";
968
- "violent-threat": "violent-threat";
969
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
970
- status: zod.ZodLiteral<"evaluated">;
971
- score: zod.ZodNumber;
972
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
973
- likelihood: zod.ZodEnum<{
974
- likely: "likely";
975
- possible: "possible";
976
- unlikely: "unlikely";
977
- "very-likely": "very-likely";
978
- "very-unlikely": "very-unlikely";
979
- }>;
980
- }, zod.core.$strict>, zod.ZodObject<{
981
- status: zod.ZodLiteral<"not-evaluated">;
982
- reason: zod.ZodEnum<{
983
- "not-supported": "not-supported";
984
- unavailable: "unavailable";
985
- }>;
986
- }, zod.core.$strict>], "status">>>;
987
- }, zod.core.$strict>, zod.ZodObject<{
988
- status: zod.ZodLiteral<"not-evaluated">;
989
- reason: zod.ZodEnum<{
990
- "not-supported": "not-supported";
991
- unavailable: "unavailable";
992
- }>;
993
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
994
- "criminal-demonstration": "criminal-demonstration";
995
- "criminal-instructions": "criminal-instructions";
996
- "criminal-preparation": "criminal-preparation";
997
- "criminal-promotion": "criminal-promotion";
998
- "criminal-request": "criminal-request";
999
- death: "death";
1000
- dehumanization: "dehumanization";
1001
- "discriminatory-exclusion": "discriminatory-exclusion";
1002
- documentary: "documentary";
1003
- "explicit-sexual-language": "explicit-sexual-language";
1004
- fictional: "fictional";
1005
- graphic: "graphic";
1006
- "harassment-encouragement": "harassment-encouragement";
1007
- "harassment-threat": "harassment-threat";
1008
- "hate-threat": "hate-threat";
1009
- historical: "historical";
1010
- "identity-abuse": "identity-abuse";
1011
- "identity-inferiority": "identity-inferiority";
1012
- injury: "injury";
1013
- nudity: "nudity";
1014
- "personal-abuse": "personal-abuse";
1015
- "physical-attack": "physical-attack";
1016
- "self-harm-act": "self-harm-act";
1017
- "self-harm-encouragement": "self-harm-encouragement";
1018
- "self-harm-methods": "self-harm-methods";
1019
- "self-harm-preparation": "self-harm-preparation";
1020
- "self-harm-thoughts": "self-harm-thoughts";
1021
- "sexual-activity": "sexual-activity";
1022
- "sexual-harassment": "sexual-harassment";
1023
- "sexual-solicitation": "sexual-solicitation";
1024
- "support-prevention": "support-prevention";
1025
- "targeted-intimidation": "targeted-intimidation";
1026
- "violent-encouragement": "violent-encouragement";
1027
- "violent-preparation": "violent-preparation";
1028
- "violent-threat": "violent-threat";
1029
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1030
- status: zod.ZodLiteral<"evaluated">;
1031
- score: zod.ZodNumber;
1032
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1033
- likelihood: zod.ZodEnum<{
1034
- likely: "likely";
1035
- possible: "possible";
1036
- unlikely: "unlikely";
1037
- "very-likely": "very-likely";
1038
- "very-unlikely": "very-unlikely";
1039
- }>;
1040
- }, zod.core.$strict>, zod.ZodObject<{
1041
- status: zod.ZodLiteral<"not-evaluated">;
1042
- reason: zod.ZodEnum<{
1043
- "not-supported": "not-supported";
1044
- unavailable: "unavailable";
1045
- }>;
1046
- }, zod.core.$strict>], "status">>>;
1047
- }, zod.core.$strict>], "status">;
1048
- "criminal-activity": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1049
- status: zod.ZodLiteral<"evaluated">;
1050
- likelihood: zod.ZodEnum<{
1051
- likely: "likely";
1052
- possible: "possible";
1053
- unlikely: "unlikely";
1054
- "very-likely": "very-likely";
1055
- "very-unlikely": "very-unlikely";
1056
- }>;
1057
- score: zod.ZodNumber;
1058
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1059
- "criminal-demonstration": "criminal-demonstration";
1060
- "criminal-instructions": "criminal-instructions";
1061
- "criminal-preparation": "criminal-preparation";
1062
- "criminal-promotion": "criminal-promotion";
1063
- "criminal-request": "criminal-request";
1064
- death: "death";
1065
- dehumanization: "dehumanization";
1066
- "discriminatory-exclusion": "discriminatory-exclusion";
1067
- documentary: "documentary";
1068
- "explicit-sexual-language": "explicit-sexual-language";
1069
- fictional: "fictional";
1070
- graphic: "graphic";
1071
- "harassment-encouragement": "harassment-encouragement";
1072
- "harassment-threat": "harassment-threat";
1073
- "hate-threat": "hate-threat";
1074
- historical: "historical";
1075
- "identity-abuse": "identity-abuse";
1076
- "identity-inferiority": "identity-inferiority";
1077
- injury: "injury";
1078
- nudity: "nudity";
1079
- "personal-abuse": "personal-abuse";
1080
- "physical-attack": "physical-attack";
1081
- "self-harm-act": "self-harm-act";
1082
- "self-harm-encouragement": "self-harm-encouragement";
1083
- "self-harm-methods": "self-harm-methods";
1084
- "self-harm-preparation": "self-harm-preparation";
1085
- "self-harm-thoughts": "self-harm-thoughts";
1086
- "sexual-activity": "sexual-activity";
1087
- "sexual-harassment": "sexual-harassment";
1088
- "sexual-solicitation": "sexual-solicitation";
1089
- "support-prevention": "support-prevention";
1090
- "targeted-intimidation": "targeted-intimidation";
1091
- "violent-encouragement": "violent-encouragement";
1092
- "violent-preparation": "violent-preparation";
1093
- "violent-threat": "violent-threat";
1094
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1095
- status: zod.ZodLiteral<"evaluated">;
1096
- score: zod.ZodNumber;
1097
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1098
- likelihood: zod.ZodEnum<{
1099
- likely: "likely";
1100
- possible: "possible";
1101
- unlikely: "unlikely";
1102
- "very-likely": "very-likely";
1103
- "very-unlikely": "very-unlikely";
1104
- }>;
1105
- }, zod.core.$strict>, zod.ZodObject<{
1106
- status: zod.ZodLiteral<"not-evaluated">;
1107
- reason: zod.ZodEnum<{
1108
- "not-supported": "not-supported";
1109
- unavailable: "unavailable";
1110
- }>;
1111
- }, zod.core.$strict>], "status">>>;
1112
- }, zod.core.$strict>, zod.ZodObject<{
1113
- status: zod.ZodLiteral<"partial">;
1114
- likelihood: zod.ZodEnum<{
1115
- likely: "likely";
1116
- possible: "possible";
1117
- unlikely: "unlikely";
1118
- "very-likely": "very-likely";
1119
- "very-unlikely": "very-unlikely";
1120
- }>;
1121
- score: zod.ZodNumber;
1122
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1123
- "criminal-demonstration": "criminal-demonstration";
1124
- "criminal-instructions": "criminal-instructions";
1125
- "criminal-preparation": "criminal-preparation";
1126
- "criminal-promotion": "criminal-promotion";
1127
- "criminal-request": "criminal-request";
1128
- death: "death";
1129
- dehumanization: "dehumanization";
1130
- "discriminatory-exclusion": "discriminatory-exclusion";
1131
- documentary: "documentary";
1132
- "explicit-sexual-language": "explicit-sexual-language";
1133
- fictional: "fictional";
1134
- graphic: "graphic";
1135
- "harassment-encouragement": "harassment-encouragement";
1136
- "harassment-threat": "harassment-threat";
1137
- "hate-threat": "hate-threat";
1138
- historical: "historical";
1139
- "identity-abuse": "identity-abuse";
1140
- "identity-inferiority": "identity-inferiority";
1141
- injury: "injury";
1142
- nudity: "nudity";
1143
- "personal-abuse": "personal-abuse";
1144
- "physical-attack": "physical-attack";
1145
- "self-harm-act": "self-harm-act";
1146
- "self-harm-encouragement": "self-harm-encouragement";
1147
- "self-harm-methods": "self-harm-methods";
1148
- "self-harm-preparation": "self-harm-preparation";
1149
- "self-harm-thoughts": "self-harm-thoughts";
1150
- "sexual-activity": "sexual-activity";
1151
- "sexual-harassment": "sexual-harassment";
1152
- "sexual-solicitation": "sexual-solicitation";
1153
- "support-prevention": "support-prevention";
1154
- "targeted-intimidation": "targeted-intimidation";
1155
- "violent-encouragement": "violent-encouragement";
1156
- "violent-preparation": "violent-preparation";
1157
- "violent-threat": "violent-threat";
1158
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1159
- status: zod.ZodLiteral<"evaluated">;
1160
- score: zod.ZodNumber;
1161
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1162
- likelihood: zod.ZodEnum<{
1163
- likely: "likely";
1164
- possible: "possible";
1165
- unlikely: "unlikely";
1166
- "very-likely": "very-likely";
1167
- "very-unlikely": "very-unlikely";
1168
- }>;
1169
- }, zod.core.$strict>, zod.ZodObject<{
1170
- status: zod.ZodLiteral<"not-evaluated">;
1171
- reason: zod.ZodEnum<{
1172
- "not-supported": "not-supported";
1173
- unavailable: "unavailable";
1174
- }>;
1175
- }, zod.core.$strict>], "status">>>;
1176
- }, zod.core.$strict>, zod.ZodObject<{
1177
- status: zod.ZodLiteral<"not-evaluated">;
1178
- reason: zod.ZodEnum<{
1179
- "not-supported": "not-supported";
1180
- unavailable: "unavailable";
1181
- }>;
1182
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1183
- "criminal-demonstration": "criminal-demonstration";
1184
- "criminal-instructions": "criminal-instructions";
1185
- "criminal-preparation": "criminal-preparation";
1186
- "criminal-promotion": "criminal-promotion";
1187
- "criminal-request": "criminal-request";
1188
- death: "death";
1189
- dehumanization: "dehumanization";
1190
- "discriminatory-exclusion": "discriminatory-exclusion";
1191
- documentary: "documentary";
1192
- "explicit-sexual-language": "explicit-sexual-language";
1193
- fictional: "fictional";
1194
- graphic: "graphic";
1195
- "harassment-encouragement": "harassment-encouragement";
1196
- "harassment-threat": "harassment-threat";
1197
- "hate-threat": "hate-threat";
1198
- historical: "historical";
1199
- "identity-abuse": "identity-abuse";
1200
- "identity-inferiority": "identity-inferiority";
1201
- injury: "injury";
1202
- nudity: "nudity";
1203
- "personal-abuse": "personal-abuse";
1204
- "physical-attack": "physical-attack";
1205
- "self-harm-act": "self-harm-act";
1206
- "self-harm-encouragement": "self-harm-encouragement";
1207
- "self-harm-methods": "self-harm-methods";
1208
- "self-harm-preparation": "self-harm-preparation";
1209
- "self-harm-thoughts": "self-harm-thoughts";
1210
- "sexual-activity": "sexual-activity";
1211
- "sexual-harassment": "sexual-harassment";
1212
- "sexual-solicitation": "sexual-solicitation";
1213
- "support-prevention": "support-prevention";
1214
- "targeted-intimidation": "targeted-intimidation";
1215
- "violent-encouragement": "violent-encouragement";
1216
- "violent-preparation": "violent-preparation";
1217
- "violent-threat": "violent-threat";
1218
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1219
- status: zod.ZodLiteral<"evaluated">;
1220
- score: zod.ZodNumber;
1221
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1222
- likelihood: zod.ZodEnum<{
1223
- likely: "likely";
1224
- possible: "possible";
1225
- unlikely: "unlikely";
1226
- "very-likely": "very-likely";
1227
- "very-unlikely": "very-unlikely";
1228
- }>;
1229
- }, zod.core.$strict>, zod.ZodObject<{
1230
- status: zod.ZodLiteral<"not-evaluated">;
1231
- reason: zod.ZodEnum<{
1232
- "not-supported": "not-supported";
1233
- unavailable: "unavailable";
1234
- }>;
1235
- }, zod.core.$strict>], "status">>>;
1236
- }, zod.core.$strict>], "status">;
1237
- }, zod.core.$strict>;
1238
- flagged: zod.ZodBoolean;
1239
- score: zod.ZodNumber;
1240
- notes: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1241
- media: zod.ZodOptional<zod.ZodObject<{
1242
- durationSeconds: zod.ZodNumber;
1243
- frameIntervalSeconds: zod.ZodOptional<zod.ZodNumber>;
1244
- sampledFrames: zod.ZodNumber;
1245
- audioTranscribed: zod.ZodBoolean;
1246
- segments: zod.ZodArray<zod.ZodObject<{
1247
- source: zod.ZodEnum<{
1248
- clip: "clip";
1249
- frame: "frame";
1250
- "frame-text": "frame-text";
1251
- speech: "speech";
1252
- }>;
1253
- startSeconds: zod.ZodNumber;
1254
- endSeconds: zod.ZodNumber;
1255
- categories: zod.ZodObject<{
1256
- sexual: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1257
- status: zod.ZodLiteral<"evaluated">;
1258
- likelihood: zod.ZodEnum<{
1259
- likely: "likely";
1260
- possible: "possible";
1261
- unlikely: "unlikely";
1262
- "very-likely": "very-likely";
1263
- "very-unlikely": "very-unlikely";
1264
- }>;
1265
- score: zod.ZodNumber;
1266
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1267
- "criminal-demonstration": "criminal-demonstration";
1268
- "criminal-instructions": "criminal-instructions";
1269
- "criminal-preparation": "criminal-preparation";
1270
- "criminal-promotion": "criminal-promotion";
1271
- "criminal-request": "criminal-request";
1272
- death: "death";
1273
- dehumanization: "dehumanization";
1274
- "discriminatory-exclusion": "discriminatory-exclusion";
1275
- documentary: "documentary";
1276
- "explicit-sexual-language": "explicit-sexual-language";
1277
- fictional: "fictional";
1278
- graphic: "graphic";
1279
- "harassment-encouragement": "harassment-encouragement";
1280
- "harassment-threat": "harassment-threat";
1281
- "hate-threat": "hate-threat";
1282
- historical: "historical";
1283
- "identity-abuse": "identity-abuse";
1284
- "identity-inferiority": "identity-inferiority";
1285
- injury: "injury";
1286
- nudity: "nudity";
1287
- "personal-abuse": "personal-abuse";
1288
- "physical-attack": "physical-attack";
1289
- "self-harm-act": "self-harm-act";
1290
- "self-harm-encouragement": "self-harm-encouragement";
1291
- "self-harm-methods": "self-harm-methods";
1292
- "self-harm-preparation": "self-harm-preparation";
1293
- "self-harm-thoughts": "self-harm-thoughts";
1294
- "sexual-activity": "sexual-activity";
1295
- "sexual-harassment": "sexual-harassment";
1296
- "sexual-solicitation": "sexual-solicitation";
1297
- "support-prevention": "support-prevention";
1298
- "targeted-intimidation": "targeted-intimidation";
1299
- "violent-encouragement": "violent-encouragement";
1300
- "violent-preparation": "violent-preparation";
1301
- "violent-threat": "violent-threat";
1302
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1303
- status: zod.ZodLiteral<"evaluated">;
1304
- score: zod.ZodNumber;
1305
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1306
- likelihood: zod.ZodEnum<{
1307
- likely: "likely";
1308
- possible: "possible";
1309
- unlikely: "unlikely";
1310
- "very-likely": "very-likely";
1311
- "very-unlikely": "very-unlikely";
1312
- }>;
1313
- }, zod.core.$strict>, zod.ZodObject<{
1314
- status: zod.ZodLiteral<"not-evaluated">;
1315
- reason: zod.ZodEnum<{
1316
- "not-supported": "not-supported";
1317
- unavailable: "unavailable";
1318
- }>;
1319
- }, zod.core.$strict>], "status">>>;
1320
- }, zod.core.$strict>, zod.ZodObject<{
1321
- status: zod.ZodLiteral<"partial">;
1322
- likelihood: zod.ZodEnum<{
1323
- likely: "likely";
1324
- possible: "possible";
1325
- unlikely: "unlikely";
1326
- "very-likely": "very-likely";
1327
- "very-unlikely": "very-unlikely";
1328
- }>;
1329
- score: zod.ZodNumber;
1330
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1331
- "criminal-demonstration": "criminal-demonstration";
1332
- "criminal-instructions": "criminal-instructions";
1333
- "criminal-preparation": "criminal-preparation";
1334
- "criminal-promotion": "criminal-promotion";
1335
- "criminal-request": "criminal-request";
1336
- death: "death";
1337
- dehumanization: "dehumanization";
1338
- "discriminatory-exclusion": "discriminatory-exclusion";
1339
- documentary: "documentary";
1340
- "explicit-sexual-language": "explicit-sexual-language";
1341
- fictional: "fictional";
1342
- graphic: "graphic";
1343
- "harassment-encouragement": "harassment-encouragement";
1344
- "harassment-threat": "harassment-threat";
1345
- "hate-threat": "hate-threat";
1346
- historical: "historical";
1347
- "identity-abuse": "identity-abuse";
1348
- "identity-inferiority": "identity-inferiority";
1349
- injury: "injury";
1350
- nudity: "nudity";
1351
- "personal-abuse": "personal-abuse";
1352
- "physical-attack": "physical-attack";
1353
- "self-harm-act": "self-harm-act";
1354
- "self-harm-encouragement": "self-harm-encouragement";
1355
- "self-harm-methods": "self-harm-methods";
1356
- "self-harm-preparation": "self-harm-preparation";
1357
- "self-harm-thoughts": "self-harm-thoughts";
1358
- "sexual-activity": "sexual-activity";
1359
- "sexual-harassment": "sexual-harassment";
1360
- "sexual-solicitation": "sexual-solicitation";
1361
- "support-prevention": "support-prevention";
1362
- "targeted-intimidation": "targeted-intimidation";
1363
- "violent-encouragement": "violent-encouragement";
1364
- "violent-preparation": "violent-preparation";
1365
- "violent-threat": "violent-threat";
1366
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1367
- status: zod.ZodLiteral<"evaluated">;
1368
- score: zod.ZodNumber;
1369
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1370
- likelihood: zod.ZodEnum<{
1371
- likely: "likely";
1372
- possible: "possible";
1373
- unlikely: "unlikely";
1374
- "very-likely": "very-likely";
1375
- "very-unlikely": "very-unlikely";
1376
- }>;
1377
- }, zod.core.$strict>, zod.ZodObject<{
1378
- status: zod.ZodLiteral<"not-evaluated">;
1379
- reason: zod.ZodEnum<{
1380
- "not-supported": "not-supported";
1381
- unavailable: "unavailable";
1382
- }>;
1383
- }, zod.core.$strict>], "status">>>;
1384
- }, zod.core.$strict>, zod.ZodObject<{
1385
- status: zod.ZodLiteral<"not-evaluated">;
1386
- reason: zod.ZodEnum<{
1387
- "not-supported": "not-supported";
1388
- unavailable: "unavailable";
1389
- }>;
1390
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1391
- "criminal-demonstration": "criminal-demonstration";
1392
- "criminal-instructions": "criminal-instructions";
1393
- "criminal-preparation": "criminal-preparation";
1394
- "criminal-promotion": "criminal-promotion";
1395
- "criminal-request": "criminal-request";
1396
- death: "death";
1397
- dehumanization: "dehumanization";
1398
- "discriminatory-exclusion": "discriminatory-exclusion";
1399
- documentary: "documentary";
1400
- "explicit-sexual-language": "explicit-sexual-language";
1401
- fictional: "fictional";
1402
- graphic: "graphic";
1403
- "harassment-encouragement": "harassment-encouragement";
1404
- "harassment-threat": "harassment-threat";
1405
- "hate-threat": "hate-threat";
1406
- historical: "historical";
1407
- "identity-abuse": "identity-abuse";
1408
- "identity-inferiority": "identity-inferiority";
1409
- injury: "injury";
1410
- nudity: "nudity";
1411
- "personal-abuse": "personal-abuse";
1412
- "physical-attack": "physical-attack";
1413
- "self-harm-act": "self-harm-act";
1414
- "self-harm-encouragement": "self-harm-encouragement";
1415
- "self-harm-methods": "self-harm-methods";
1416
- "self-harm-preparation": "self-harm-preparation";
1417
- "self-harm-thoughts": "self-harm-thoughts";
1418
- "sexual-activity": "sexual-activity";
1419
- "sexual-harassment": "sexual-harassment";
1420
- "sexual-solicitation": "sexual-solicitation";
1421
- "support-prevention": "support-prevention";
1422
- "targeted-intimidation": "targeted-intimidation";
1423
- "violent-encouragement": "violent-encouragement";
1424
- "violent-preparation": "violent-preparation";
1425
- "violent-threat": "violent-threat";
1426
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1427
- status: zod.ZodLiteral<"evaluated">;
1428
- score: zod.ZodNumber;
1429
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1430
- likelihood: zod.ZodEnum<{
1431
- likely: "likely";
1432
- possible: "possible";
1433
- unlikely: "unlikely";
1434
- "very-likely": "very-likely";
1435
- "very-unlikely": "very-unlikely";
1436
- }>;
1437
- }, zod.core.$strict>, zod.ZodObject<{
1438
- status: zod.ZodLiteral<"not-evaluated">;
1439
- reason: zod.ZodEnum<{
1440
- "not-supported": "not-supported";
1441
- unavailable: "unavailable";
1442
- }>;
1443
- }, zod.core.$strict>], "status">>>;
1444
- }, zod.core.$strict>], "status">;
1445
- violence: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1446
- status: zod.ZodLiteral<"evaluated">;
1447
- likelihood: zod.ZodEnum<{
1448
- likely: "likely";
1449
- possible: "possible";
1450
- unlikely: "unlikely";
1451
- "very-likely": "very-likely";
1452
- "very-unlikely": "very-unlikely";
1453
- }>;
1454
- score: zod.ZodNumber;
1455
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1456
- "criminal-demonstration": "criminal-demonstration";
1457
- "criminal-instructions": "criminal-instructions";
1458
- "criminal-preparation": "criminal-preparation";
1459
- "criminal-promotion": "criminal-promotion";
1460
- "criminal-request": "criminal-request";
1461
- death: "death";
1462
- dehumanization: "dehumanization";
1463
- "discriminatory-exclusion": "discriminatory-exclusion";
1464
- documentary: "documentary";
1465
- "explicit-sexual-language": "explicit-sexual-language";
1466
- fictional: "fictional";
1467
- graphic: "graphic";
1468
- "harassment-encouragement": "harassment-encouragement";
1469
- "harassment-threat": "harassment-threat";
1470
- "hate-threat": "hate-threat";
1471
- historical: "historical";
1472
- "identity-abuse": "identity-abuse";
1473
- "identity-inferiority": "identity-inferiority";
1474
- injury: "injury";
1475
- nudity: "nudity";
1476
- "personal-abuse": "personal-abuse";
1477
- "physical-attack": "physical-attack";
1478
- "self-harm-act": "self-harm-act";
1479
- "self-harm-encouragement": "self-harm-encouragement";
1480
- "self-harm-methods": "self-harm-methods";
1481
- "self-harm-preparation": "self-harm-preparation";
1482
- "self-harm-thoughts": "self-harm-thoughts";
1483
- "sexual-activity": "sexual-activity";
1484
- "sexual-harassment": "sexual-harassment";
1485
- "sexual-solicitation": "sexual-solicitation";
1486
- "support-prevention": "support-prevention";
1487
- "targeted-intimidation": "targeted-intimidation";
1488
- "violent-encouragement": "violent-encouragement";
1489
- "violent-preparation": "violent-preparation";
1490
- "violent-threat": "violent-threat";
1491
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1492
- status: zod.ZodLiteral<"evaluated">;
1493
- score: zod.ZodNumber;
1494
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1495
- likelihood: zod.ZodEnum<{
1496
- likely: "likely";
1497
- possible: "possible";
1498
- unlikely: "unlikely";
1499
- "very-likely": "very-likely";
1500
- "very-unlikely": "very-unlikely";
1501
- }>;
1502
- }, zod.core.$strict>, zod.ZodObject<{
1503
- status: zod.ZodLiteral<"not-evaluated">;
1504
- reason: zod.ZodEnum<{
1505
- "not-supported": "not-supported";
1506
- unavailable: "unavailable";
1507
- }>;
1508
- }, zod.core.$strict>], "status">>>;
1509
- }, zod.core.$strict>, zod.ZodObject<{
1510
- status: zod.ZodLiteral<"partial">;
1511
- likelihood: zod.ZodEnum<{
1512
- likely: "likely";
1513
- possible: "possible";
1514
- unlikely: "unlikely";
1515
- "very-likely": "very-likely";
1516
- "very-unlikely": "very-unlikely";
1517
- }>;
1518
- score: zod.ZodNumber;
1519
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1520
- "criminal-demonstration": "criminal-demonstration";
1521
- "criminal-instructions": "criminal-instructions";
1522
- "criminal-preparation": "criminal-preparation";
1523
- "criminal-promotion": "criminal-promotion";
1524
- "criminal-request": "criminal-request";
1525
- death: "death";
1526
- dehumanization: "dehumanization";
1527
- "discriminatory-exclusion": "discriminatory-exclusion";
1528
- documentary: "documentary";
1529
- "explicit-sexual-language": "explicit-sexual-language";
1530
- fictional: "fictional";
1531
- graphic: "graphic";
1532
- "harassment-encouragement": "harassment-encouragement";
1533
- "harassment-threat": "harassment-threat";
1534
- "hate-threat": "hate-threat";
1535
- historical: "historical";
1536
- "identity-abuse": "identity-abuse";
1537
- "identity-inferiority": "identity-inferiority";
1538
- injury: "injury";
1539
- nudity: "nudity";
1540
- "personal-abuse": "personal-abuse";
1541
- "physical-attack": "physical-attack";
1542
- "self-harm-act": "self-harm-act";
1543
- "self-harm-encouragement": "self-harm-encouragement";
1544
- "self-harm-methods": "self-harm-methods";
1545
- "self-harm-preparation": "self-harm-preparation";
1546
- "self-harm-thoughts": "self-harm-thoughts";
1547
- "sexual-activity": "sexual-activity";
1548
- "sexual-harassment": "sexual-harassment";
1549
- "sexual-solicitation": "sexual-solicitation";
1550
- "support-prevention": "support-prevention";
1551
- "targeted-intimidation": "targeted-intimidation";
1552
- "violent-encouragement": "violent-encouragement";
1553
- "violent-preparation": "violent-preparation";
1554
- "violent-threat": "violent-threat";
1555
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1556
- status: zod.ZodLiteral<"evaluated">;
1557
- score: zod.ZodNumber;
1558
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1559
- likelihood: zod.ZodEnum<{
1560
- likely: "likely";
1561
- possible: "possible";
1562
- unlikely: "unlikely";
1563
- "very-likely": "very-likely";
1564
- "very-unlikely": "very-unlikely";
1565
- }>;
1566
- }, zod.core.$strict>, zod.ZodObject<{
1567
- status: zod.ZodLiteral<"not-evaluated">;
1568
- reason: zod.ZodEnum<{
1569
- "not-supported": "not-supported";
1570
- unavailable: "unavailable";
1571
- }>;
1572
- }, zod.core.$strict>], "status">>>;
1573
- }, zod.core.$strict>, zod.ZodObject<{
1574
- status: zod.ZodLiteral<"not-evaluated">;
1575
- reason: zod.ZodEnum<{
1576
- "not-supported": "not-supported";
1577
- unavailable: "unavailable";
1578
- }>;
1579
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1580
- "criminal-demonstration": "criminal-demonstration";
1581
- "criminal-instructions": "criminal-instructions";
1582
- "criminal-preparation": "criminal-preparation";
1583
- "criminal-promotion": "criminal-promotion";
1584
- "criminal-request": "criminal-request";
1585
- death: "death";
1586
- dehumanization: "dehumanization";
1587
- "discriminatory-exclusion": "discriminatory-exclusion";
1588
- documentary: "documentary";
1589
- "explicit-sexual-language": "explicit-sexual-language";
1590
- fictional: "fictional";
1591
- graphic: "graphic";
1592
- "harassment-encouragement": "harassment-encouragement";
1593
- "harassment-threat": "harassment-threat";
1594
- "hate-threat": "hate-threat";
1595
- historical: "historical";
1596
- "identity-abuse": "identity-abuse";
1597
- "identity-inferiority": "identity-inferiority";
1598
- injury: "injury";
1599
- nudity: "nudity";
1600
- "personal-abuse": "personal-abuse";
1601
- "physical-attack": "physical-attack";
1602
- "self-harm-act": "self-harm-act";
1603
- "self-harm-encouragement": "self-harm-encouragement";
1604
- "self-harm-methods": "self-harm-methods";
1605
- "self-harm-preparation": "self-harm-preparation";
1606
- "self-harm-thoughts": "self-harm-thoughts";
1607
- "sexual-activity": "sexual-activity";
1608
- "sexual-harassment": "sexual-harassment";
1609
- "sexual-solicitation": "sexual-solicitation";
1610
- "support-prevention": "support-prevention";
1611
- "targeted-intimidation": "targeted-intimidation";
1612
- "violent-encouragement": "violent-encouragement";
1613
- "violent-preparation": "violent-preparation";
1614
- "violent-threat": "violent-threat";
1615
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1616
- status: zod.ZodLiteral<"evaluated">;
1617
- score: zod.ZodNumber;
1618
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1619
- likelihood: zod.ZodEnum<{
1620
- likely: "likely";
1621
- possible: "possible";
1622
- unlikely: "unlikely";
1623
- "very-likely": "very-likely";
1624
- "very-unlikely": "very-unlikely";
1625
- }>;
1626
- }, zod.core.$strict>, zod.ZodObject<{
1627
- status: zod.ZodLiteral<"not-evaluated">;
1628
- reason: zod.ZodEnum<{
1629
- "not-supported": "not-supported";
1630
- unavailable: "unavailable";
1631
- }>;
1632
- }, zod.core.$strict>], "status">>>;
1633
- }, zod.core.$strict>], "status">;
1634
- "self-harm": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1635
- status: zod.ZodLiteral<"evaluated">;
1636
- likelihood: zod.ZodEnum<{
1637
- likely: "likely";
1638
- possible: "possible";
1639
- unlikely: "unlikely";
1640
- "very-likely": "very-likely";
1641
- "very-unlikely": "very-unlikely";
1642
- }>;
1643
- score: zod.ZodNumber;
1644
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1645
- "criminal-demonstration": "criminal-demonstration";
1646
- "criminal-instructions": "criminal-instructions";
1647
- "criminal-preparation": "criminal-preparation";
1648
- "criminal-promotion": "criminal-promotion";
1649
- "criminal-request": "criminal-request";
1650
- death: "death";
1651
- dehumanization: "dehumanization";
1652
- "discriminatory-exclusion": "discriminatory-exclusion";
1653
- documentary: "documentary";
1654
- "explicit-sexual-language": "explicit-sexual-language";
1655
- fictional: "fictional";
1656
- graphic: "graphic";
1657
- "harassment-encouragement": "harassment-encouragement";
1658
- "harassment-threat": "harassment-threat";
1659
- "hate-threat": "hate-threat";
1660
- historical: "historical";
1661
- "identity-abuse": "identity-abuse";
1662
- "identity-inferiority": "identity-inferiority";
1663
- injury: "injury";
1664
- nudity: "nudity";
1665
- "personal-abuse": "personal-abuse";
1666
- "physical-attack": "physical-attack";
1667
- "self-harm-act": "self-harm-act";
1668
- "self-harm-encouragement": "self-harm-encouragement";
1669
- "self-harm-methods": "self-harm-methods";
1670
- "self-harm-preparation": "self-harm-preparation";
1671
- "self-harm-thoughts": "self-harm-thoughts";
1672
- "sexual-activity": "sexual-activity";
1673
- "sexual-harassment": "sexual-harassment";
1674
- "sexual-solicitation": "sexual-solicitation";
1675
- "support-prevention": "support-prevention";
1676
- "targeted-intimidation": "targeted-intimidation";
1677
- "violent-encouragement": "violent-encouragement";
1678
- "violent-preparation": "violent-preparation";
1679
- "violent-threat": "violent-threat";
1680
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1681
- status: zod.ZodLiteral<"evaluated">;
1682
- score: zod.ZodNumber;
1683
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1684
- likelihood: zod.ZodEnum<{
1685
- likely: "likely";
1686
- possible: "possible";
1687
- unlikely: "unlikely";
1688
- "very-likely": "very-likely";
1689
- "very-unlikely": "very-unlikely";
1690
- }>;
1691
- }, zod.core.$strict>, zod.ZodObject<{
1692
- status: zod.ZodLiteral<"not-evaluated">;
1693
- reason: zod.ZodEnum<{
1694
- "not-supported": "not-supported";
1695
- unavailable: "unavailable";
1696
- }>;
1697
- }, zod.core.$strict>], "status">>>;
1698
- }, zod.core.$strict>, zod.ZodObject<{
1699
- status: zod.ZodLiteral<"partial">;
1700
- likelihood: zod.ZodEnum<{
1701
- likely: "likely";
1702
- possible: "possible";
1703
- unlikely: "unlikely";
1704
- "very-likely": "very-likely";
1705
- "very-unlikely": "very-unlikely";
1706
- }>;
1707
- score: zod.ZodNumber;
1708
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1709
- "criminal-demonstration": "criminal-demonstration";
1710
- "criminal-instructions": "criminal-instructions";
1711
- "criminal-preparation": "criminal-preparation";
1712
- "criminal-promotion": "criminal-promotion";
1713
- "criminal-request": "criminal-request";
1714
- death: "death";
1715
- dehumanization: "dehumanization";
1716
- "discriminatory-exclusion": "discriminatory-exclusion";
1717
- documentary: "documentary";
1718
- "explicit-sexual-language": "explicit-sexual-language";
1719
- fictional: "fictional";
1720
- graphic: "graphic";
1721
- "harassment-encouragement": "harassment-encouragement";
1722
- "harassment-threat": "harassment-threat";
1723
- "hate-threat": "hate-threat";
1724
- historical: "historical";
1725
- "identity-abuse": "identity-abuse";
1726
- "identity-inferiority": "identity-inferiority";
1727
- injury: "injury";
1728
- nudity: "nudity";
1729
- "personal-abuse": "personal-abuse";
1730
- "physical-attack": "physical-attack";
1731
- "self-harm-act": "self-harm-act";
1732
- "self-harm-encouragement": "self-harm-encouragement";
1733
- "self-harm-methods": "self-harm-methods";
1734
- "self-harm-preparation": "self-harm-preparation";
1735
- "self-harm-thoughts": "self-harm-thoughts";
1736
- "sexual-activity": "sexual-activity";
1737
- "sexual-harassment": "sexual-harassment";
1738
- "sexual-solicitation": "sexual-solicitation";
1739
- "support-prevention": "support-prevention";
1740
- "targeted-intimidation": "targeted-intimidation";
1741
- "violent-encouragement": "violent-encouragement";
1742
- "violent-preparation": "violent-preparation";
1743
- "violent-threat": "violent-threat";
1744
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1745
- status: zod.ZodLiteral<"evaluated">;
1746
- score: zod.ZodNumber;
1747
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1748
- likelihood: zod.ZodEnum<{
1749
- likely: "likely";
1750
- possible: "possible";
1751
- unlikely: "unlikely";
1752
- "very-likely": "very-likely";
1753
- "very-unlikely": "very-unlikely";
1754
- }>;
1755
- }, zod.core.$strict>, zod.ZodObject<{
1756
- status: zod.ZodLiteral<"not-evaluated">;
1757
- reason: zod.ZodEnum<{
1758
- "not-supported": "not-supported";
1759
- unavailable: "unavailable";
1760
- }>;
1761
- }, zod.core.$strict>], "status">>>;
1762
- }, zod.core.$strict>, zod.ZodObject<{
1763
- status: zod.ZodLiteral<"not-evaluated">;
1764
- reason: zod.ZodEnum<{
1765
- "not-supported": "not-supported";
1766
- unavailable: "unavailable";
1767
- }>;
1768
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1769
- "criminal-demonstration": "criminal-demonstration";
1770
- "criminal-instructions": "criminal-instructions";
1771
- "criminal-preparation": "criminal-preparation";
1772
- "criminal-promotion": "criminal-promotion";
1773
- "criminal-request": "criminal-request";
1774
- death: "death";
1775
- dehumanization: "dehumanization";
1776
- "discriminatory-exclusion": "discriminatory-exclusion";
1777
- documentary: "documentary";
1778
- "explicit-sexual-language": "explicit-sexual-language";
1779
- fictional: "fictional";
1780
- graphic: "graphic";
1781
- "harassment-encouragement": "harassment-encouragement";
1782
- "harassment-threat": "harassment-threat";
1783
- "hate-threat": "hate-threat";
1784
- historical: "historical";
1785
- "identity-abuse": "identity-abuse";
1786
- "identity-inferiority": "identity-inferiority";
1787
- injury: "injury";
1788
- nudity: "nudity";
1789
- "personal-abuse": "personal-abuse";
1790
- "physical-attack": "physical-attack";
1791
- "self-harm-act": "self-harm-act";
1792
- "self-harm-encouragement": "self-harm-encouragement";
1793
- "self-harm-methods": "self-harm-methods";
1794
- "self-harm-preparation": "self-harm-preparation";
1795
- "self-harm-thoughts": "self-harm-thoughts";
1796
- "sexual-activity": "sexual-activity";
1797
- "sexual-harassment": "sexual-harassment";
1798
- "sexual-solicitation": "sexual-solicitation";
1799
- "support-prevention": "support-prevention";
1800
- "targeted-intimidation": "targeted-intimidation";
1801
- "violent-encouragement": "violent-encouragement";
1802
- "violent-preparation": "violent-preparation";
1803
- "violent-threat": "violent-threat";
1804
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1805
- status: zod.ZodLiteral<"evaluated">;
1806
- score: zod.ZodNumber;
1807
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1808
- likelihood: zod.ZodEnum<{
1809
- likely: "likely";
1810
- possible: "possible";
1811
- unlikely: "unlikely";
1812
- "very-likely": "very-likely";
1813
- "very-unlikely": "very-unlikely";
1814
- }>;
1815
- }, zod.core.$strict>, zod.ZodObject<{
1816
- status: zod.ZodLiteral<"not-evaluated">;
1817
- reason: zod.ZodEnum<{
1818
- "not-supported": "not-supported";
1819
- unavailable: "unavailable";
1820
- }>;
1821
- }, zod.core.$strict>], "status">>>;
1822
- }, zod.core.$strict>], "status">;
1823
- harassment: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1824
- status: zod.ZodLiteral<"evaluated">;
1825
- likelihood: zod.ZodEnum<{
1826
- likely: "likely";
1827
- possible: "possible";
1828
- unlikely: "unlikely";
1829
- "very-likely": "very-likely";
1830
- "very-unlikely": "very-unlikely";
1831
- }>;
1832
- score: zod.ZodNumber;
1833
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1834
- "criminal-demonstration": "criminal-demonstration";
1835
- "criminal-instructions": "criminal-instructions";
1836
- "criminal-preparation": "criminal-preparation";
1837
- "criminal-promotion": "criminal-promotion";
1838
- "criminal-request": "criminal-request";
1839
- death: "death";
1840
- dehumanization: "dehumanization";
1841
- "discriminatory-exclusion": "discriminatory-exclusion";
1842
- documentary: "documentary";
1843
- "explicit-sexual-language": "explicit-sexual-language";
1844
- fictional: "fictional";
1845
- graphic: "graphic";
1846
- "harassment-encouragement": "harassment-encouragement";
1847
- "harassment-threat": "harassment-threat";
1848
- "hate-threat": "hate-threat";
1849
- historical: "historical";
1850
- "identity-abuse": "identity-abuse";
1851
- "identity-inferiority": "identity-inferiority";
1852
- injury: "injury";
1853
- nudity: "nudity";
1854
- "personal-abuse": "personal-abuse";
1855
- "physical-attack": "physical-attack";
1856
- "self-harm-act": "self-harm-act";
1857
- "self-harm-encouragement": "self-harm-encouragement";
1858
- "self-harm-methods": "self-harm-methods";
1859
- "self-harm-preparation": "self-harm-preparation";
1860
- "self-harm-thoughts": "self-harm-thoughts";
1861
- "sexual-activity": "sexual-activity";
1862
- "sexual-harassment": "sexual-harassment";
1863
- "sexual-solicitation": "sexual-solicitation";
1864
- "support-prevention": "support-prevention";
1865
- "targeted-intimidation": "targeted-intimidation";
1866
- "violent-encouragement": "violent-encouragement";
1867
- "violent-preparation": "violent-preparation";
1868
- "violent-threat": "violent-threat";
1869
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1870
- status: zod.ZodLiteral<"evaluated">;
1871
- score: zod.ZodNumber;
1872
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1873
- likelihood: zod.ZodEnum<{
1874
- likely: "likely";
1875
- possible: "possible";
1876
- unlikely: "unlikely";
1877
- "very-likely": "very-likely";
1878
- "very-unlikely": "very-unlikely";
1879
- }>;
1880
- }, zod.core.$strict>, zod.ZodObject<{
1881
- status: zod.ZodLiteral<"not-evaluated">;
1882
- reason: zod.ZodEnum<{
1883
- "not-supported": "not-supported";
1884
- unavailable: "unavailable";
1885
- }>;
1886
- }, zod.core.$strict>], "status">>>;
1887
- }, zod.core.$strict>, zod.ZodObject<{
1888
- status: zod.ZodLiteral<"partial">;
1889
- likelihood: zod.ZodEnum<{
1890
- likely: "likely";
1891
- possible: "possible";
1892
- unlikely: "unlikely";
1893
- "very-likely": "very-likely";
1894
- "very-unlikely": "very-unlikely";
1895
- }>;
1896
- score: zod.ZodNumber;
1897
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1898
- "criminal-demonstration": "criminal-demonstration";
1899
- "criminal-instructions": "criminal-instructions";
1900
- "criminal-preparation": "criminal-preparation";
1901
- "criminal-promotion": "criminal-promotion";
1902
- "criminal-request": "criminal-request";
1903
- death: "death";
1904
- dehumanization: "dehumanization";
1905
- "discriminatory-exclusion": "discriminatory-exclusion";
1906
- documentary: "documentary";
1907
- "explicit-sexual-language": "explicit-sexual-language";
1908
- fictional: "fictional";
1909
- graphic: "graphic";
1910
- "harassment-encouragement": "harassment-encouragement";
1911
- "harassment-threat": "harassment-threat";
1912
- "hate-threat": "hate-threat";
1913
- historical: "historical";
1914
- "identity-abuse": "identity-abuse";
1915
- "identity-inferiority": "identity-inferiority";
1916
- injury: "injury";
1917
- nudity: "nudity";
1918
- "personal-abuse": "personal-abuse";
1919
- "physical-attack": "physical-attack";
1920
- "self-harm-act": "self-harm-act";
1921
- "self-harm-encouragement": "self-harm-encouragement";
1922
- "self-harm-methods": "self-harm-methods";
1923
- "self-harm-preparation": "self-harm-preparation";
1924
- "self-harm-thoughts": "self-harm-thoughts";
1925
- "sexual-activity": "sexual-activity";
1926
- "sexual-harassment": "sexual-harassment";
1927
- "sexual-solicitation": "sexual-solicitation";
1928
- "support-prevention": "support-prevention";
1929
- "targeted-intimidation": "targeted-intimidation";
1930
- "violent-encouragement": "violent-encouragement";
1931
- "violent-preparation": "violent-preparation";
1932
- "violent-threat": "violent-threat";
1933
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1934
- status: zod.ZodLiteral<"evaluated">;
1935
- score: zod.ZodNumber;
1936
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1937
- likelihood: zod.ZodEnum<{
1938
- likely: "likely";
1939
- possible: "possible";
1940
- unlikely: "unlikely";
1941
- "very-likely": "very-likely";
1942
- "very-unlikely": "very-unlikely";
1943
- }>;
1944
- }, zod.core.$strict>, zod.ZodObject<{
1945
- status: zod.ZodLiteral<"not-evaluated">;
1946
- reason: zod.ZodEnum<{
1947
- "not-supported": "not-supported";
1948
- unavailable: "unavailable";
1949
- }>;
1950
- }, zod.core.$strict>], "status">>>;
1951
- }, zod.core.$strict>, zod.ZodObject<{
1952
- status: zod.ZodLiteral<"not-evaluated">;
1953
- reason: zod.ZodEnum<{
1954
- "not-supported": "not-supported";
1955
- unavailable: "unavailable";
1956
- }>;
1957
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1958
- "criminal-demonstration": "criminal-demonstration";
1959
- "criminal-instructions": "criminal-instructions";
1960
- "criminal-preparation": "criminal-preparation";
1961
- "criminal-promotion": "criminal-promotion";
1962
- "criminal-request": "criminal-request";
1963
- death: "death";
1964
- dehumanization: "dehumanization";
1965
- "discriminatory-exclusion": "discriminatory-exclusion";
1966
- documentary: "documentary";
1967
- "explicit-sexual-language": "explicit-sexual-language";
1968
- fictional: "fictional";
1969
- graphic: "graphic";
1970
- "harassment-encouragement": "harassment-encouragement";
1971
- "harassment-threat": "harassment-threat";
1972
- "hate-threat": "hate-threat";
1973
- historical: "historical";
1974
- "identity-abuse": "identity-abuse";
1975
- "identity-inferiority": "identity-inferiority";
1976
- injury: "injury";
1977
- nudity: "nudity";
1978
- "personal-abuse": "personal-abuse";
1979
- "physical-attack": "physical-attack";
1980
- "self-harm-act": "self-harm-act";
1981
- "self-harm-encouragement": "self-harm-encouragement";
1982
- "self-harm-methods": "self-harm-methods";
1983
- "self-harm-preparation": "self-harm-preparation";
1984
- "self-harm-thoughts": "self-harm-thoughts";
1985
- "sexual-activity": "sexual-activity";
1986
- "sexual-harassment": "sexual-harassment";
1987
- "sexual-solicitation": "sexual-solicitation";
1988
- "support-prevention": "support-prevention";
1989
- "targeted-intimidation": "targeted-intimidation";
1990
- "violent-encouragement": "violent-encouragement";
1991
- "violent-preparation": "violent-preparation";
1992
- "violent-threat": "violent-threat";
1993
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1994
- status: zod.ZodLiteral<"evaluated">;
1995
- score: zod.ZodNumber;
1996
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1997
- likelihood: zod.ZodEnum<{
1998
- likely: "likely";
1999
- possible: "possible";
2000
- unlikely: "unlikely";
2001
- "very-likely": "very-likely";
2002
- "very-unlikely": "very-unlikely";
2003
- }>;
2004
- }, zod.core.$strict>, zod.ZodObject<{
2005
- status: zod.ZodLiteral<"not-evaluated">;
2006
- reason: zod.ZodEnum<{
2007
- "not-supported": "not-supported";
2008
- unavailable: "unavailable";
2009
- }>;
2010
- }, zod.core.$strict>], "status">>>;
2011
- }, zod.core.$strict>], "status">;
2012
- hate: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2013
- status: zod.ZodLiteral<"evaluated">;
2014
- likelihood: zod.ZodEnum<{
2015
- likely: "likely";
2016
- possible: "possible";
2017
- unlikely: "unlikely";
2018
- "very-likely": "very-likely";
2019
- "very-unlikely": "very-unlikely";
2020
- }>;
2021
- score: zod.ZodNumber;
2022
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2023
- "criminal-demonstration": "criminal-demonstration";
2024
- "criminal-instructions": "criminal-instructions";
2025
- "criminal-preparation": "criminal-preparation";
2026
- "criminal-promotion": "criminal-promotion";
2027
- "criminal-request": "criminal-request";
2028
- death: "death";
2029
- dehumanization: "dehumanization";
2030
- "discriminatory-exclusion": "discriminatory-exclusion";
2031
- documentary: "documentary";
2032
- "explicit-sexual-language": "explicit-sexual-language";
2033
- fictional: "fictional";
2034
- graphic: "graphic";
2035
- "harassment-encouragement": "harassment-encouragement";
2036
- "harassment-threat": "harassment-threat";
2037
- "hate-threat": "hate-threat";
2038
- historical: "historical";
2039
- "identity-abuse": "identity-abuse";
2040
- "identity-inferiority": "identity-inferiority";
2041
- injury: "injury";
2042
- nudity: "nudity";
2043
- "personal-abuse": "personal-abuse";
2044
- "physical-attack": "physical-attack";
2045
- "self-harm-act": "self-harm-act";
2046
- "self-harm-encouragement": "self-harm-encouragement";
2047
- "self-harm-methods": "self-harm-methods";
2048
- "self-harm-preparation": "self-harm-preparation";
2049
- "self-harm-thoughts": "self-harm-thoughts";
2050
- "sexual-activity": "sexual-activity";
2051
- "sexual-harassment": "sexual-harassment";
2052
- "sexual-solicitation": "sexual-solicitation";
2053
- "support-prevention": "support-prevention";
2054
- "targeted-intimidation": "targeted-intimidation";
2055
- "violent-encouragement": "violent-encouragement";
2056
- "violent-preparation": "violent-preparation";
2057
- "violent-threat": "violent-threat";
2058
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2059
- status: zod.ZodLiteral<"evaluated">;
2060
- score: zod.ZodNumber;
2061
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2062
- likelihood: zod.ZodEnum<{
2063
- likely: "likely";
2064
- possible: "possible";
2065
- unlikely: "unlikely";
2066
- "very-likely": "very-likely";
2067
- "very-unlikely": "very-unlikely";
2068
- }>;
2069
- }, zod.core.$strict>, zod.ZodObject<{
2070
- status: zod.ZodLiteral<"not-evaluated">;
2071
- reason: zod.ZodEnum<{
2072
- "not-supported": "not-supported";
2073
- unavailable: "unavailable";
2074
- }>;
2075
- }, zod.core.$strict>], "status">>>;
2076
- }, zod.core.$strict>, zod.ZodObject<{
2077
- status: zod.ZodLiteral<"partial">;
2078
- likelihood: zod.ZodEnum<{
2079
- likely: "likely";
2080
- possible: "possible";
2081
- unlikely: "unlikely";
2082
- "very-likely": "very-likely";
2083
- "very-unlikely": "very-unlikely";
2084
- }>;
2085
- score: zod.ZodNumber;
2086
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2087
- "criminal-demonstration": "criminal-demonstration";
2088
- "criminal-instructions": "criminal-instructions";
2089
- "criminal-preparation": "criminal-preparation";
2090
- "criminal-promotion": "criminal-promotion";
2091
- "criminal-request": "criminal-request";
2092
- death: "death";
2093
- dehumanization: "dehumanization";
2094
- "discriminatory-exclusion": "discriminatory-exclusion";
2095
- documentary: "documentary";
2096
- "explicit-sexual-language": "explicit-sexual-language";
2097
- fictional: "fictional";
2098
- graphic: "graphic";
2099
- "harassment-encouragement": "harassment-encouragement";
2100
- "harassment-threat": "harassment-threat";
2101
- "hate-threat": "hate-threat";
2102
- historical: "historical";
2103
- "identity-abuse": "identity-abuse";
2104
- "identity-inferiority": "identity-inferiority";
2105
- injury: "injury";
2106
- nudity: "nudity";
2107
- "personal-abuse": "personal-abuse";
2108
- "physical-attack": "physical-attack";
2109
- "self-harm-act": "self-harm-act";
2110
- "self-harm-encouragement": "self-harm-encouragement";
2111
- "self-harm-methods": "self-harm-methods";
2112
- "self-harm-preparation": "self-harm-preparation";
2113
- "self-harm-thoughts": "self-harm-thoughts";
2114
- "sexual-activity": "sexual-activity";
2115
- "sexual-harassment": "sexual-harassment";
2116
- "sexual-solicitation": "sexual-solicitation";
2117
- "support-prevention": "support-prevention";
2118
- "targeted-intimidation": "targeted-intimidation";
2119
- "violent-encouragement": "violent-encouragement";
2120
- "violent-preparation": "violent-preparation";
2121
- "violent-threat": "violent-threat";
2122
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2123
- status: zod.ZodLiteral<"evaluated">;
2124
- score: zod.ZodNumber;
2125
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2126
- likelihood: zod.ZodEnum<{
2127
- likely: "likely";
2128
- possible: "possible";
2129
- unlikely: "unlikely";
2130
- "very-likely": "very-likely";
2131
- "very-unlikely": "very-unlikely";
2132
- }>;
2133
- }, zod.core.$strict>, zod.ZodObject<{
2134
- status: zod.ZodLiteral<"not-evaluated">;
2135
- reason: zod.ZodEnum<{
2136
- "not-supported": "not-supported";
2137
- unavailable: "unavailable";
2138
- }>;
2139
- }, zod.core.$strict>], "status">>>;
2140
- }, zod.core.$strict>, zod.ZodObject<{
2141
- status: zod.ZodLiteral<"not-evaluated">;
2142
- reason: zod.ZodEnum<{
2143
- "not-supported": "not-supported";
2144
- unavailable: "unavailable";
2145
- }>;
2146
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2147
- "criminal-demonstration": "criminal-demonstration";
2148
- "criminal-instructions": "criminal-instructions";
2149
- "criminal-preparation": "criminal-preparation";
2150
- "criminal-promotion": "criminal-promotion";
2151
- "criminal-request": "criminal-request";
2152
- death: "death";
2153
- dehumanization: "dehumanization";
2154
- "discriminatory-exclusion": "discriminatory-exclusion";
2155
- documentary: "documentary";
2156
- "explicit-sexual-language": "explicit-sexual-language";
2157
- fictional: "fictional";
2158
- graphic: "graphic";
2159
- "harassment-encouragement": "harassment-encouragement";
2160
- "harassment-threat": "harassment-threat";
2161
- "hate-threat": "hate-threat";
2162
- historical: "historical";
2163
- "identity-abuse": "identity-abuse";
2164
- "identity-inferiority": "identity-inferiority";
2165
- injury: "injury";
2166
- nudity: "nudity";
2167
- "personal-abuse": "personal-abuse";
2168
- "physical-attack": "physical-attack";
2169
- "self-harm-act": "self-harm-act";
2170
- "self-harm-encouragement": "self-harm-encouragement";
2171
- "self-harm-methods": "self-harm-methods";
2172
- "self-harm-preparation": "self-harm-preparation";
2173
- "self-harm-thoughts": "self-harm-thoughts";
2174
- "sexual-activity": "sexual-activity";
2175
- "sexual-harassment": "sexual-harassment";
2176
- "sexual-solicitation": "sexual-solicitation";
2177
- "support-prevention": "support-prevention";
2178
- "targeted-intimidation": "targeted-intimidation";
2179
- "violent-encouragement": "violent-encouragement";
2180
- "violent-preparation": "violent-preparation";
2181
- "violent-threat": "violent-threat";
2182
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2183
- status: zod.ZodLiteral<"evaluated">;
2184
- score: zod.ZodNumber;
2185
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2186
- likelihood: zod.ZodEnum<{
2187
- likely: "likely";
2188
- possible: "possible";
2189
- unlikely: "unlikely";
2190
- "very-likely": "very-likely";
2191
- "very-unlikely": "very-unlikely";
2192
- }>;
2193
- }, zod.core.$strict>, zod.ZodObject<{
2194
- status: zod.ZodLiteral<"not-evaluated">;
2195
- reason: zod.ZodEnum<{
2196
- "not-supported": "not-supported";
2197
- unavailable: "unavailable";
2198
- }>;
2199
- }, zod.core.$strict>], "status">>>;
2200
- }, zod.core.$strict>], "status">;
2201
- "criminal-activity": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2202
- status: zod.ZodLiteral<"evaluated">;
2203
- likelihood: zod.ZodEnum<{
2204
- likely: "likely";
2205
- possible: "possible";
2206
- unlikely: "unlikely";
2207
- "very-likely": "very-likely";
2208
- "very-unlikely": "very-unlikely";
2209
- }>;
2210
- score: zod.ZodNumber;
2211
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2212
- "criminal-demonstration": "criminal-demonstration";
2213
- "criminal-instructions": "criminal-instructions";
2214
- "criminal-preparation": "criminal-preparation";
2215
- "criminal-promotion": "criminal-promotion";
2216
- "criminal-request": "criminal-request";
2217
- death: "death";
2218
- dehumanization: "dehumanization";
2219
- "discriminatory-exclusion": "discriminatory-exclusion";
2220
- documentary: "documentary";
2221
- "explicit-sexual-language": "explicit-sexual-language";
2222
- fictional: "fictional";
2223
- graphic: "graphic";
2224
- "harassment-encouragement": "harassment-encouragement";
2225
- "harassment-threat": "harassment-threat";
2226
- "hate-threat": "hate-threat";
2227
- historical: "historical";
2228
- "identity-abuse": "identity-abuse";
2229
- "identity-inferiority": "identity-inferiority";
2230
- injury: "injury";
2231
- nudity: "nudity";
2232
- "personal-abuse": "personal-abuse";
2233
- "physical-attack": "physical-attack";
2234
- "self-harm-act": "self-harm-act";
2235
- "self-harm-encouragement": "self-harm-encouragement";
2236
- "self-harm-methods": "self-harm-methods";
2237
- "self-harm-preparation": "self-harm-preparation";
2238
- "self-harm-thoughts": "self-harm-thoughts";
2239
- "sexual-activity": "sexual-activity";
2240
- "sexual-harassment": "sexual-harassment";
2241
- "sexual-solicitation": "sexual-solicitation";
2242
- "support-prevention": "support-prevention";
2243
- "targeted-intimidation": "targeted-intimidation";
2244
- "violent-encouragement": "violent-encouragement";
2245
- "violent-preparation": "violent-preparation";
2246
- "violent-threat": "violent-threat";
2247
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2248
- status: zod.ZodLiteral<"evaluated">;
2249
- score: zod.ZodNumber;
2250
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2251
- likelihood: zod.ZodEnum<{
2252
- likely: "likely";
2253
- possible: "possible";
2254
- unlikely: "unlikely";
2255
- "very-likely": "very-likely";
2256
- "very-unlikely": "very-unlikely";
2257
- }>;
2258
- }, zod.core.$strict>, zod.ZodObject<{
2259
- status: zod.ZodLiteral<"not-evaluated">;
2260
- reason: zod.ZodEnum<{
2261
- "not-supported": "not-supported";
2262
- unavailable: "unavailable";
2263
- }>;
2264
- }, zod.core.$strict>], "status">>>;
2265
- }, zod.core.$strict>, zod.ZodObject<{
2266
- status: zod.ZodLiteral<"partial">;
2267
- likelihood: zod.ZodEnum<{
2268
- likely: "likely";
2269
- possible: "possible";
2270
- unlikely: "unlikely";
2271
- "very-likely": "very-likely";
2272
- "very-unlikely": "very-unlikely";
2273
- }>;
2274
- score: zod.ZodNumber;
2275
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2276
- "criminal-demonstration": "criminal-demonstration";
2277
- "criminal-instructions": "criminal-instructions";
2278
- "criminal-preparation": "criminal-preparation";
2279
- "criminal-promotion": "criminal-promotion";
2280
- "criminal-request": "criminal-request";
2281
- death: "death";
2282
- dehumanization: "dehumanization";
2283
- "discriminatory-exclusion": "discriminatory-exclusion";
2284
- documentary: "documentary";
2285
- "explicit-sexual-language": "explicit-sexual-language";
2286
- fictional: "fictional";
2287
- graphic: "graphic";
2288
- "harassment-encouragement": "harassment-encouragement";
2289
- "harassment-threat": "harassment-threat";
2290
- "hate-threat": "hate-threat";
2291
- historical: "historical";
2292
- "identity-abuse": "identity-abuse";
2293
- "identity-inferiority": "identity-inferiority";
2294
- injury: "injury";
2295
- nudity: "nudity";
2296
- "personal-abuse": "personal-abuse";
2297
- "physical-attack": "physical-attack";
2298
- "self-harm-act": "self-harm-act";
2299
- "self-harm-encouragement": "self-harm-encouragement";
2300
- "self-harm-methods": "self-harm-methods";
2301
- "self-harm-preparation": "self-harm-preparation";
2302
- "self-harm-thoughts": "self-harm-thoughts";
2303
- "sexual-activity": "sexual-activity";
2304
- "sexual-harassment": "sexual-harassment";
2305
- "sexual-solicitation": "sexual-solicitation";
2306
- "support-prevention": "support-prevention";
2307
- "targeted-intimidation": "targeted-intimidation";
2308
- "violent-encouragement": "violent-encouragement";
2309
- "violent-preparation": "violent-preparation";
2310
- "violent-threat": "violent-threat";
2311
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2312
- status: zod.ZodLiteral<"evaluated">;
2313
- score: zod.ZodNumber;
2314
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2315
- likelihood: zod.ZodEnum<{
2316
- likely: "likely";
2317
- possible: "possible";
2318
- unlikely: "unlikely";
2319
- "very-likely": "very-likely";
2320
- "very-unlikely": "very-unlikely";
2321
- }>;
2322
- }, zod.core.$strict>, zod.ZodObject<{
2323
- status: zod.ZodLiteral<"not-evaluated">;
2324
- reason: zod.ZodEnum<{
2325
- "not-supported": "not-supported";
2326
- unavailable: "unavailable";
2327
- }>;
2328
- }, zod.core.$strict>], "status">>>;
2329
- }, zod.core.$strict>, zod.ZodObject<{
2330
- status: zod.ZodLiteral<"not-evaluated">;
2331
- reason: zod.ZodEnum<{
2332
- "not-supported": "not-supported";
2333
- unavailable: "unavailable";
2334
- }>;
2335
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
2336
- "criminal-demonstration": "criminal-demonstration";
2337
- "criminal-instructions": "criminal-instructions";
2338
- "criminal-preparation": "criminal-preparation";
2339
- "criminal-promotion": "criminal-promotion";
2340
- "criminal-request": "criminal-request";
2341
- death: "death";
2342
- dehumanization: "dehumanization";
2343
- "discriminatory-exclusion": "discriminatory-exclusion";
2344
- documentary: "documentary";
2345
- "explicit-sexual-language": "explicit-sexual-language";
2346
- fictional: "fictional";
2347
- graphic: "graphic";
2348
- "harassment-encouragement": "harassment-encouragement";
2349
- "harassment-threat": "harassment-threat";
2350
- "hate-threat": "hate-threat";
2351
- historical: "historical";
2352
- "identity-abuse": "identity-abuse";
2353
- "identity-inferiority": "identity-inferiority";
2354
- injury: "injury";
2355
- nudity: "nudity";
2356
- "personal-abuse": "personal-abuse";
2357
- "physical-attack": "physical-attack";
2358
- "self-harm-act": "self-harm-act";
2359
- "self-harm-encouragement": "self-harm-encouragement";
2360
- "self-harm-methods": "self-harm-methods";
2361
- "self-harm-preparation": "self-harm-preparation";
2362
- "self-harm-thoughts": "self-harm-thoughts";
2363
- "sexual-activity": "sexual-activity";
2364
- "sexual-harassment": "sexual-harassment";
2365
- "sexual-solicitation": "sexual-solicitation";
2366
- "support-prevention": "support-prevention";
2367
- "targeted-intimidation": "targeted-intimidation";
2368
- "violent-encouragement": "violent-encouragement";
2369
- "violent-preparation": "violent-preparation";
2370
- "violent-threat": "violent-threat";
2371
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2372
- status: zod.ZodLiteral<"evaluated">;
2373
- score: zod.ZodNumber;
2374
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
2375
- likelihood: zod.ZodEnum<{
2376
- likely: "likely";
2377
- possible: "possible";
2378
- unlikely: "unlikely";
2379
- "very-likely": "very-likely";
2380
- "very-unlikely": "very-unlikely";
2381
- }>;
2382
- }, zod.core.$strict>, zod.ZodObject<{
2383
- status: zod.ZodLiteral<"not-evaluated">;
2384
- reason: zod.ZodEnum<{
2385
- "not-supported": "not-supported";
2386
- unavailable: "unavailable";
2387
- }>;
2388
- }, zod.core.$strict>], "status">>>;
2389
- }, zod.core.$strict>], "status">;
2390
- }, zod.core.$strict>;
2391
- }, zod.core.$strict>>;
2392
- }, zod.core.$strict>>;
2393
- labels: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
2394
- description: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
2395
- score: zod.ZodNumber;
2396
- topicalityScore: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
2397
- likelihood: zod.ZodEnum<{
2398
- likely: "likely";
2399
- possible: "possible";
2400
- unlikely: "unlikely";
2401
- "very-likely": "very-likely";
2402
- "very-unlikely": "very-unlikely";
2403
- }>;
2404
- knowledgeBaseId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
2405
- }, zod.core.$strip>>>>;
2406
- }, zod.core.$strict>>>;
2407
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2408
- alert: "alert";
2409
- hide: "hide";
2410
- ignore: "ignore";
2411
- purge: "purge";
2412
- }>>>;
2413
- status: zod.ZodEnum<{
2414
- approved: "approved";
2415
- error: "error";
2416
- pending: "pending";
2417
- rejected: "rejected";
2418
- uploading: "uploading";
2419
- }>;
2420
- safetyHold: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2421
- placedAt: zod.ZodNumber;
2422
- reason: zod.ZodEnum<{
2423
- "suspected-illegal-content": "suspected-illegal-content";
2424
- }>;
2425
- disposedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
2426
- }, zod.core.$strip>>>;
2427
- rejectionNote: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
2428
- extractedText: zod.ZodOptional<zod.ZodNullable<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
2429
- type: zod.ZodLiteral<"string">;
2430
- content: zod.ZodString;
2431
- }, zod.core.$strip>, zod.ZodObject<{
2432
- type: zod.ZodLiteral<"document">;
2433
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
2434
- }, zod.core.$strip>], "type">>>;
2435
- processingOptions: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2436
- keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2437
- flaggedContentPolicy: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2438
- action: zod.ZodEnum<{
2439
- alert: "alert";
2440
- hide: "hide";
2441
- ignore: "ignore";
2442
- purge: "purge";
2443
- }>;
2444
- }, zod.core.$strip>>>;
2445
- image: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
2446
- ocrEnabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2447
- }, zod.core.$strip>>>;
2448
- }, zod.core.$strict>>>;
2449
- visibility: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2450
- private: "private";
2451
- public: "public";
2452
- }>>>;
2453
- storageDeletedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
2454
- }, zod.core.$strip>;
2455
- type Asset = zod.infer<typeof ASSET_SCHEMA>;
2456
- //#endregion
2457
- //#region ../shared/src/EventCatalog.d.ts
2458
- declare const EVENT_SEVERITY_SCHEMA: zod.ZodEnum<{
2459
- high: "high";
2460
- low: "low";
2461
- }>;
2462
- type EventSeverity = zod.infer<typeof EVENT_SEVERITY_SCHEMA>;
2463
- declare const EVENT_CATEGORY_SCHEMA: zod.ZodEnum<{
2464
- assets: "assets";
2465
- connectors: "connectors";
2466
- moderation: "moderation";
2467
- team: "team";
2468
- usage: "usage";
2469
- }>;
2470
- type EventCategory = zod.infer<typeof EVENT_CATEGORY_SCHEMA>;
2471
- /**
2472
- * How a data field is shown in messages and docs:
2473
- * - `text`: plain text
2474
- * - `code`: an identifier, shown in monospace
2475
- * - `enum`: a machine value such as `rejected`, shown humanized ("Rejected")
2476
- * - `list`: an array of machine values, shown humanized and comma separated
2477
- * - `number`: a count, shown with thousands separators
2478
- */
2479
- declare const EVENT_FIELD_DISPLAY_SCHEMA: zod.ZodEnum<{
2480
- code: "code";
2481
- enum: "enum";
2482
- list: "list";
2483
- number: "number";
2484
- text: "text";
2485
- }>;
2486
- type EventFieldDisplay = zod.infer<typeof EVENT_FIELD_DISPLAY_SCHEMA>;
2487
- interface EventFieldInfo {
2488
- label: string;
2489
- description: string;
2490
- display: EventFieldDisplay;
2491
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2492
- hidden?: boolean;
2493
- }
2494
- interface EventFieldDefinition<TSchema extends zod.ZodType = zod.ZodType> extends EventFieldInfo {
2495
- schema: TSchema;
2496
- }
2497
- /** Every event type, in the order the portal and docs list them. */
2498
- declare const EVENT_TYPE_INFO: {
2499
- readonly "asset.uploaded": {
2500
- id: "asset.uploaded";
2501
- name: string;
2502
- description: string;
2503
- category: EventCategory;
2504
- severity: EventSeverity;
2505
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2506
- notify: boolean;
2507
- fields: {
2508
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2509
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2510
- audio: "audio";
2511
- file: "file";
2512
- image: "image";
2513
- "multimedia-document": "multimedia-document";
2514
- "plaintext-document": "plaintext-document";
2515
- video: "video";
2516
- website: "website";
2517
- }>>>>;
2518
- fileFormat: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2519
- };
2520
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2521
- example: NoInfer<{
2522
- assetName?: string | null | undefined;
2523
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2524
- fileFormat?: string | null | undefined;
2525
- }>;
2526
- factInfo: {
2527
- label: string;
2528
- description: string;
2529
- display: EventFieldDisplay;
2530
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2531
- hidden?: boolean;
2532
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2533
- key: string;
2534
- }[];
2535
- values: zod.ZodObject<{
2536
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2537
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2538
- audio: "audio";
2539
- file: "file";
2540
- image: "image";
2541
- "multimedia-document": "multimedia-document";
2542
- "plaintext-document": "plaintext-document";
2543
- video: "video";
2544
- website: "website";
2545
- }>>>;
2546
- fileFormat: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2547
- }, zod.core.$strip>;
2548
- };
2549
- readonly "asset.classified": {
2550
- id: "asset.classified";
2551
- name: string;
2552
- description: string;
2553
- category: EventCategory;
2554
- severity: EventSeverity;
2555
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2556
- notify: boolean;
2557
- fields: {
2558
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2559
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2560
- audio: "audio";
2561
- file: "file";
2562
- image: "image";
2563
- "multimedia-document": "multimedia-document";
2564
- "plaintext-document": "plaintext-document";
2565
- video: "video";
2566
- website: "website";
2567
- }>>>>;
2568
- status: EventFieldDefinition<zod.ZodEnum<{
2569
- approved: "approved";
2570
- error: "error";
2571
- pending: "pending";
2572
- rejected: "rejected";
2573
- uploading: "uploading";
2574
- }>>;
2575
- moderationAction: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2576
- alert: "alert";
2577
- hide: "hide";
2578
- ignore: "ignore";
2579
- purge: "purge";
2580
- }>>>>;
2581
- };
2582
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2583
- example: NoInfer<{
2584
- assetName?: string | null | undefined;
2585
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2586
- status: "approved" | "error" | "pending" | "rejected" | "uploading";
2587
- moderationAction?: "alert" | "hide" | "ignore" | "purge" | null | undefined;
2588
- }>;
2589
- factInfo: {
2590
- label: string;
2591
- description: string;
2592
- display: EventFieldDisplay;
2593
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2594
- hidden?: boolean;
2595
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2596
- key: string;
2597
- }[];
2598
- values: zod.ZodObject<{
2599
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2600
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2601
- audio: "audio";
2602
- file: "file";
2603
- image: "image";
2604
- "multimedia-document": "multimedia-document";
2605
- "plaintext-document": "plaintext-document";
2606
- video: "video";
2607
- website: "website";
2608
- }>>>;
2609
- status: zod.ZodEnum<{
2610
- approved: "approved";
2611
- error: "error";
2612
- pending: "pending";
2613
- rejected: "rejected";
2614
- uploading: "uploading";
2615
- }>;
2616
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2617
- alert: "alert";
2618
- hide: "hide";
2619
- ignore: "ignore";
2620
- purge: "purge";
2621
- }>>>;
2622
- }, zod.core.$strip>;
2623
- };
2624
- readonly "asset.flagged": {
2625
- id: "asset.flagged";
2626
- name: string;
2627
- description: string;
2628
- category: EventCategory;
2629
- severity: EventSeverity;
2630
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2631
- notify: boolean;
2632
- fields: {
2633
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2634
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2635
- audio: "audio";
2636
- file: "file";
2637
- image: "image";
2638
- "multimedia-document": "multimedia-document";
2639
- "plaintext-document": "plaintext-document";
2640
- video: "video";
2641
- website: "website";
2642
- }>>>>;
2643
- flaggedCategories: EventFieldDefinition<zod.ZodArray<zod.ZodString>>;
2644
- moderationAction: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2645
- alert: "alert";
2646
- hide: "hide";
2647
- ignore: "ignore";
2648
- purge: "purge";
2649
- }>>>>;
2650
- };
2651
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2652
- example: NoInfer<{
2653
- assetName?: string | null | undefined;
2654
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2655
- flaggedCategories: string[];
2656
- moderationAction?: "alert" | "hide" | "ignore" | "purge" | null | undefined;
2657
- }>;
2658
- factInfo: {
2659
- label: string;
2660
- description: string;
2661
- display: EventFieldDisplay;
2662
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2663
- hidden?: boolean;
2664
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2665
- key: string;
2666
- }[];
2667
- values: zod.ZodObject<{
2668
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2669
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2670
- audio: "audio";
2671
- file: "file";
2672
- image: "image";
2673
- "multimedia-document": "multimedia-document";
2674
- "plaintext-document": "plaintext-document";
2675
- video: "video";
2676
- website: "website";
2677
- }>>>;
2678
- flaggedCategories: zod.ZodArray<zod.ZodString>;
2679
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2680
- alert: "alert";
2681
- hide: "hide";
2682
- ignore: "ignore";
2683
- purge: "purge";
2684
- }>>>;
2685
- }, zod.core.$strip>;
2686
- };
2687
- readonly "asset.approved": {
2688
- id: "asset.approved";
2689
- name: string;
2690
- description: string;
2691
- category: EventCategory;
2692
- severity: EventSeverity;
2693
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2694
- notify: boolean;
2695
- fields: {
2696
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2697
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2698
- audio: "audio";
2699
- file: "file";
2700
- image: "image";
2701
- "multimedia-document": "multimedia-document";
2702
- "plaintext-document": "plaintext-document";
2703
- video: "video";
2704
- website: "website";
2705
- }>>>>;
2706
- reviewerUserId: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2707
- reviewerName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2708
- note: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2709
- };
2710
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2711
- example: NoInfer<{
2712
- assetName?: string | null | undefined;
2713
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2714
- reviewerUserId?: string | null | undefined;
2715
- reviewerName?: string | null | undefined;
2716
- note?: string | null | undefined;
2717
- }>;
2718
- factInfo: {
2719
- label: string;
2720
- description: string;
2721
- display: EventFieldDisplay;
2722
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2723
- hidden?: boolean;
2724
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2725
- key: string;
2726
- }[];
2727
- values: zod.ZodObject<{
2728
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2729
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2730
- audio: "audio";
2731
- file: "file";
2732
- image: "image";
2733
- "multimedia-document": "multimedia-document";
2734
- "plaintext-document": "plaintext-document";
2735
- video: "video";
2736
- website: "website";
2737
- }>>>;
2738
- reviewerUserId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2739
- reviewerName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2740
- note: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2741
- }, zod.core.$strip>;
2742
- };
2743
- readonly "asset.rejected": {
2744
- id: "asset.rejected";
2745
- name: string;
2746
- description: string;
2747
- category: EventCategory;
2748
- severity: EventSeverity;
2749
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2750
- notify: boolean;
2751
- fields: {
2752
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2753
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2754
- audio: "audio";
2755
- file: "file";
2756
- image: "image";
2757
- "multimedia-document": "multimedia-document";
2758
- "plaintext-document": "plaintext-document";
2759
- video: "video";
2760
- website: "website";
2761
- }>>>>;
2762
- reviewerUserId: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2763
- reviewerName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2764
- note: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2765
- };
2766
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2767
- example: NoInfer<{
2768
- assetName?: string | null | undefined;
2769
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2770
- reviewerUserId?: string | null | undefined;
2771
- reviewerName?: string | null | undefined;
2772
- note?: string | null | undefined;
2773
- }>;
2774
- factInfo: {
2775
- label: string;
2776
- description: string;
2777
- display: EventFieldDisplay;
2778
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2779
- hidden?: boolean;
2780
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2781
- key: string;
2782
- }[];
2783
- values: zod.ZodObject<{
2784
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2785
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2786
- audio: "audio";
2787
- file: "file";
2788
- image: "image";
2789
- "multimedia-document": "multimedia-document";
2790
- "plaintext-document": "plaintext-document";
2791
- video: "video";
2792
- website: "website";
2793
- }>>>;
2794
- reviewerUserId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2795
- reviewerName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2796
- note: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2797
- }, zod.core.$strip>;
2798
- };
2799
- readonly "asset.failed": {
2800
- id: "asset.failed";
2801
- name: string;
2802
- description: string;
2803
- category: EventCategory;
2804
- severity: EventSeverity;
2805
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2806
- notify: boolean;
2807
- fields: {
2808
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2809
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2810
- audio: "audio";
2811
- file: "file";
2812
- image: "image";
2813
- "multimedia-document": "multimedia-document";
2814
- "plaintext-document": "plaintext-document";
2815
- video: "video";
2816
- website: "website";
2817
- }>>>>;
2818
- previousStatus: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2819
- approved: "approved";
2820
- error: "error";
2821
- pending: "pending";
2822
- rejected: "rejected";
2823
- uploading: "uploading";
2824
- }>>>>;
2825
- };
2826
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2827
- example: NoInfer<{
2828
- assetName?: string | null | undefined;
2829
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
2830
- previousStatus?: "approved" | "error" | "pending" | "rejected" | "uploading" | null | undefined;
2831
- }>;
2832
- factInfo: {
2833
- label: string;
2834
- description: string;
2835
- display: EventFieldDisplay;
2836
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2837
- hidden?: boolean;
2838
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2839
- key: string;
2840
- }[];
2841
- values: zod.ZodObject<{
2842
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2843
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2844
- audio: "audio";
2845
- file: "file";
2846
- image: "image";
2847
- "multimedia-document": "multimedia-document";
2848
- "plaintext-document": "plaintext-document";
2849
- video: "video";
2850
- website: "website";
2851
- }>>>;
2852
- previousStatus: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2853
- approved: "approved";
2854
- error: "error";
2855
- pending: "pending";
2856
- rejected: "rejected";
2857
- uploading: "uploading";
2858
- }>>>;
2859
- }, zod.core.$strip>;
2860
- };
2861
- readonly "usage.limit-reached": {
2862
- id: "usage.limit-reached";
2863
- name: string;
2864
- description: string;
2865
- category: EventCategory;
2866
- severity: EventSeverity;
2867
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2868
- notify: boolean;
2869
- fields: {
2870
- limit: EventFieldDefinition<zod.ZodNumber>;
2871
- used: EventFieldDefinition<zod.ZodNumber>;
2872
- ownerUserId: EventFieldDefinition<zod.ZodString>;
2873
- };
2874
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2875
- example: NoInfer<{
2876
- limit: number;
2877
- used: number;
2878
- ownerUserId: string;
2879
- }>;
2880
- factInfo: {
2881
- label: string;
2882
- description: string;
2883
- display: EventFieldDisplay;
2884
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2885
- hidden?: boolean;
2886
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2887
- key: string;
2888
- }[];
2889
- values: zod.ZodObject<{
2890
- limit: zod.ZodNumber;
2891
- used: zod.ZodNumber;
2892
- ownerUserId: zod.ZodString;
2893
- }, zod.core.$strip>;
2894
- };
2895
- readonly "project.member-joined": {
2896
- id: "project.member-joined";
2897
- name: string;
2898
- description: string;
2899
- category: EventCategory;
2900
- severity: EventSeverity;
2901
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2902
- notify: boolean;
2903
- fields: {
2904
- memberUserId: EventFieldDefinition<zod.ZodString>;
2905
- memberName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2906
- role: EventFieldDefinition<zod.ZodEnum<{
2907
- admin: "admin";
2908
- custom: "custom";
2909
- member: "member";
2910
- viewer: "viewer";
2911
- }>>;
2912
- invitedByUserId: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2913
- };
2914
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2915
- example: NoInfer<{
2916
- memberUserId: string;
2917
- memberName?: string | null | undefined;
2918
- role: "admin" | "custom" | "member" | "viewer";
2919
- invitedByUserId?: string | null | undefined;
2920
- }>;
2921
- factInfo: {
2922
- label: string;
2923
- description: string;
2924
- display: EventFieldDisplay;
2925
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2926
- hidden?: boolean;
2927
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2928
- key: string;
2929
- }[];
2930
- values: zod.ZodObject<{
2931
- memberUserId: zod.ZodString;
2932
- memberName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2933
- role: zod.ZodEnum<{
2934
- admin: "admin";
2935
- custom: "custom";
2936
- member: "member";
2937
- viewer: "viewer";
2938
- }>;
2939
- invitedByUserId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2940
- }, zod.core.$strip>;
2941
- };
2942
- readonly "connector.failing": {
2943
- id: "connector.failing";
2944
- name: string;
2945
- description: string;
2946
- category: EventCategory;
2947
- severity: EventSeverity;
2948
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2949
- notify: boolean;
2950
- fields: {
2951
- connectorId: EventFieldDefinition<zod.ZodString>;
2952
- connectorName: EventFieldDefinition<zod.ZodString>;
2953
- connectorType: EventFieldDefinition<zod.ZodString>;
2954
- consecutiveFailures: EventFieldDefinition<zod.ZodNumber>;
2955
- lastError: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
2956
- };
2957
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
2958
- example: NoInfer<{
2959
- connectorId: string;
2960
- connectorName: string;
2961
- connectorType: string;
2962
- consecutiveFailures: number;
2963
- lastError?: string | null | undefined;
2964
- }>;
2965
- factInfo: {
2966
- label: string;
2967
- description: string;
2968
- display: EventFieldDisplay;
2969
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
2970
- hidden?: boolean;
2971
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
2972
- key: string;
2973
- }[];
2974
- values: zod.ZodObject<{
2975
- connectorId: zod.ZodString;
2976
- connectorName: zod.ZodString;
2977
- connectorType: zod.ZodString;
2978
- consecutiveFailures: zod.ZodNumber;
2979
- lastError: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2980
- }, zod.core.$strip>;
2981
- };
2982
- readonly "appeal.submitted": {
2983
- id: "appeal.submitted";
2984
- name: string;
2985
- description: string;
2986
- category: EventCategory;
2987
- severity: EventSeverity;
2988
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
2989
- notify: boolean;
2990
- fields: {
2991
- appealId: EventFieldDefinition<zod.ZodString>;
2992
- subjectType: EventFieldDefinition<zod.ZodEnum<{
2993
- post: "post";
2994
- "reported-post": "reported-post";
2995
- "reported-user": "reported-user";
2996
- user: "user";
2997
- }>>;
2998
- subjectId: EventFieldDefinition<zod.ZodString>;
2999
- };
3000
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
3001
- example: NoInfer<{
3002
- appealId: string;
3003
- subjectType: "post" | "reported-post" | "reported-user" | "user";
3004
- subjectId: string;
3005
- }>;
3006
- factInfo: {
3007
- label: string;
3008
- description: string;
3009
- display: EventFieldDisplay;
3010
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
3011
- hidden?: boolean;
3012
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
3013
- key: string;
3014
- }[];
3015
- values: zod.ZodObject<{
3016
- appealId: zod.ZodString;
3017
- subjectType: zod.ZodEnum<{
3018
- post: "post";
3019
- "reported-post": "reported-post";
3020
- "reported-user": "reported-user";
3021
- user: "user";
3022
- }>;
3023
- subjectId: zod.ZodString;
3024
- }, zod.core.$strip>;
3025
- };
3026
- readonly "appeal.resolved": {
3027
- id: "appeal.resolved";
3028
- name: string;
3029
- description: string;
3030
- category: EventCategory;
3031
- severity: EventSeverity;
3032
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
3033
- notify: boolean;
3034
- fields: {
3035
- appealId: EventFieldDefinition<zod.ZodString>;
3036
- subjectType: EventFieldDefinition<zod.ZodEnum<{
3037
- post: "post";
3038
- "reported-post": "reported-post";
3039
- "reported-user": "reported-user";
3040
- user: "user";
3041
- }>>;
3042
- subjectId: EventFieldDefinition<zod.ZodString>;
3043
- decision: EventFieldDefinition<zod.ZodEnum<{
3044
- overturned: "overturned";
3045
- upheld: "upheld";
3046
- }>>;
3047
- action: EventFieldDefinition<zod.ZodString>;
3048
- appliedToAsset: EventFieldDefinition<zod.ZodBoolean>;
3049
- };
3050
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
3051
- example: NoInfer<{
3052
- appealId: string;
3053
- subjectType: "post" | "reported-post" | "reported-user" | "user";
3054
- subjectId: string;
3055
- decision: "overturned" | "upheld";
3056
- action: string;
3057
- appliedToAsset: boolean;
3058
- }>;
3059
- factInfo: {
3060
- label: string;
3061
- description: string;
3062
- display: EventFieldDisplay;
3063
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
3064
- hidden?: boolean;
3065
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
3066
- key: string;
3067
- }[];
3068
- values: zod.ZodObject<{
3069
- appealId: zod.ZodString;
3070
- subjectType: zod.ZodEnum<{
3071
- post: "post";
3072
- "reported-post": "reported-post";
3073
- "reported-user": "reported-user";
3074
- user: "user";
3075
- }>;
3076
- subjectId: zod.ZodString;
3077
- decision: zod.ZodEnum<{
3078
- overturned: "overturned";
3079
- upheld: "upheld";
3080
- }>;
3081
- action: zod.ZodString;
3082
- appliedToAsset: zod.ZodBoolean;
3083
- }, zod.core.$strip>;
3084
- };
3085
- };
3086
- type EventType = keyof typeof EVENT_TYPE_INFO;
3087
- type EventTypeInfo<TType extends EventType = EventType> = (typeof EVENT_TYPE_INFO)[TType];
3088
- declare const EVENT_FACT_VALUE_SCHEMAS: { [TType in EventType]: EventTypeInfo<TType>["values"]; };
3089
- /** Named values used internally to produce event copy. */
3090
- type EventFactValues<TType extends EventType = EventType> = zod.infer<(typeof EVENT_FACT_VALUE_SCHEMAS)[TType]>;
3091
- type KebabCase<S extends string> = S extends `${infer First}${infer Rest}` ? `${First extends Lowercase<First> ? First : `-${Lowercase<First>}`}${KebabCase<Rest>}` : S;
3092
- type EventFact<TType extends EventType = EventType> = TType extends EventType ? { [Key in keyof EventFactValues<TType> & string]: {
3093
- key: KebabCase<Key>;
3094
- value: Exclude<EventFactValues<TType>[Key], undefined>;
3095
- url?: string;
3096
- }; }[keyof EventFactValues<TType> & string] | {
3097
- key: "test";
3098
- value: boolean;
3099
- url?: string;
3100
- } : never;
3101
- type EventFacts<TType extends EventType = EventType> = EventFact<TType>[];
3102
- //#endregion
3103
- //#region ../shared/src/Page.d.ts
3104
- declare const PAGE_QUERY_SCHEMA: zod.ZodObject<{
3105
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
3106
- pageSize: zod.ZodOptional<zod.ZodNumber>;
3107
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3108
- field: zod.ZodString;
3109
- direction: zod.ZodEnum<{
3110
- ASC: "ASC";
3111
- DESC: "DESC";
3112
- }>;
3113
- }, zod.core.$strip>>>;
3114
- }, zod.core.$strip>;
3115
- type PageQuery = zod.infer<typeof PAGE_QUERY_SCHEMA>;
3116
- interface Page<T> extends Required<PageQuery> {
3117
- items: T[];
3118
- total: number | undefined;
3119
- hasMore: boolean;
3120
- }
3121
- //#endregion
3122
- //#region ../shared/src/Event.d.ts
3123
- declare const EVENT_SCHEMA: zod.ZodObject<{
3124
- id: zod.ZodString;
3125
- projectId: zod.ZodString;
3126
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
3127
- type: zod.ZodEnum<{
3128
- "appeal.resolved": "appeal.resolved";
3129
- "appeal.submitted": "appeal.submitted";
3130
- "asset.approved": "asset.approved";
3131
- "asset.classified": "asset.classified";
3132
- "asset.failed": "asset.failed";
3133
- "asset.flagged": "asset.flagged";
3134
- "asset.rejected": "asset.rejected";
3135
- "asset.uploaded": "asset.uploaded";
3136
- "connector.failing": "connector.failing";
3137
- "project.member-joined": "project.member-joined";
3138
- "usage.limit-reached": "usage.limit-reached";
3139
- }>;
3140
- severity: zod.ZodEnum<{
3141
- high: "high";
3142
- low: "low";
3143
- }>;
3144
- title: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
3145
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
3146
- assetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3147
- asset: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
3148
- id: zod.ZodString;
3149
- externalId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3150
- status: zod.ZodEnum<{
3151
- approved: "approved";
3152
- error: "error";
3153
- pending: "pending";
3154
- rejected: "rejected";
3155
- uploading: "uploading";
3156
- }>;
3157
- flagged: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3158
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
3159
- alert: "alert";
3160
- hide: "hide";
3161
- ignore: "ignore";
3162
- purge: "purge";
3163
- }>>>;
3164
- }, zod.core.$strip>>>;
3165
- facts: zod.ZodArray<zod.ZodObject<{
3166
- key: zod.ZodString;
3167
- value: zod.ZodUnknown & zod.ZodType<{} | null, unknown, zod.core.$ZodTypeInternals<{} | null, unknown>>;
3168
- url: zod.ZodOptional<zod.ZodString>;
3169
- }, zod.core.$strict>>;
3170
- notify: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
3171
- createdAt: zod.ZodNumber;
3172
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
3173
- readAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
3174
- }, zod.core.$strict>;
3175
- type Event = zod.infer<typeof EVENT_SCHEMA>;
3176
- /** `Event` narrowed by `type`, with typed `facts`. */
3177
- type TypedEvent = { [TType in EventType]: Omit<Event, "type" | "facts"> & {
3178
- type: TType;
3179
- facts: EventFacts<TType>;
3180
- }; }[EventType];
3181
- //#endregion
3182
- //#region ../shared/src/Folder.d.ts
3183
- declare const FOLDER_SCHEMA: zod.ZodObject<{
3184
- id: zod.ZodString;
3185
- projectId: zod.ZodString;
3186
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3187
- name: zod.ZodString;
3188
- createdAt: zod.ZodNumber;
3189
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
3190
- }, zod.core.$strip>;
3191
- type Folder = zod.infer<typeof FOLDER_SCHEMA>;
3192
- //#endregion
3193
- //#region ../shared/src/AssetTransform.d.ts
3194
- interface AssetTransform<T extends string = string, O = unknown> {
3195
- type: T;
3196
- options: O;
3197
- }
3198
- interface AssetTransformType<T extends string = string, OSchema extends JSONSchema = JSONSchema> {
3199
- type: T;
3200
- optionsSchema: OSchema;
3201
- }
3202
- declare const DEFAULT_ASSET_TRANSFORMS: {
3203
- readonly imageTransform: {
3204
- readonly type: "imageTransform";
3205
- readonly optionsSchema: {
3206
- type: "object";
3207
- properties: {
3208
- format: {
3209
- type: "string";
3210
- enum: ["jpg", "png", "webp", "avif", "gif"];
3211
- };
3212
- width: {
3213
- type: "integer";
3214
- minimum: 0;
3215
- };
3216
- height: {
3217
- type: "integer";
3218
- minimum: 0;
3219
- };
3220
- background: {
3221
- type: "string";
3222
- };
3223
- blur: {
3224
- type: "number";
3225
- };
3226
- border: {
3227
- type: "object";
3228
- properties: {
3229
- color: {
3230
- type: "string";
3231
- };
3232
- width: {
3233
- type: "number";
3234
- };
3235
- };
3236
- required: [];
3237
- additionalProperties: false;
3238
- };
3239
- brightness: {
3240
- type: "number";
3241
- };
3242
- contrast: {
3243
- type: "number";
3244
- };
3245
- quality: {
3246
- type: "integer";
3247
- minimum: 0;
3248
- maximum: 255;
3249
- };
3250
- fit: {
3251
- type: "string";
3252
- enum: ["scale-down", "contain", "pad", "squeeze", "cover", "crop"];
3253
- };
3254
- flip: {
3255
- type: "string";
3256
- enum: ["h", "v", "hv"];
3257
- };
3258
- gamma: {
3259
- type: "number";
3260
- };
3261
- segment: {
3262
- type: "string";
3263
- enum: ["foreground"];
3264
- };
3265
- gravity: {
3266
- oneOf: [{
3267
- type: "string";
3268
- enum: ["face", "left", "right", "top", "bottom", "center", "auto", "entropy"];
3269
- }, {
3270
- type: "object";
3271
- properties: {
3272
- mode: {
3273
- type: "string";
3274
- enum: ["remainder", "box-center"];
3275
- };
3276
- x: {
3277
- type: "number";
3278
- };
3279
- y: {
3280
- type: "number";
3281
- };
3282
- };
3283
- required: ["mode"];
3284
- additionalProperties: false;
3285
- }];
3286
- };
3287
- rotate: {
3288
- type: "integer";
3289
- enum: [0, 90, 180, 270];
3290
- };
3291
- saturation: {
3292
- type: "number";
3293
- };
3294
- sharpen: {
3295
- type: "number";
3296
- };
3297
- trim: {
3298
- oneOf: [{
3299
- type: "string";
3300
- enum: ["border"];
3301
- }, {
3302
- type: "object";
3303
- properties: {
3304
- top: {
3305
- type: "number";
3306
- };
3307
- bottom: {
3308
- type: "number";
3309
- };
3310
- left: {
3311
- type: "number";
3312
- };
3313
- right: {
3314
- type: "number";
3315
- };
3316
- width: {
3317
- type: "number";
3318
- };
3319
- height: {
3320
- type: "number";
3321
- };
3322
- border: {
3323
- oneOf: [{
3324
- type: "boolean";
3325
- }, {
3326
- type: "object";
3327
- properties: {
3328
- color: {
3329
- type: "string";
3330
- };
3331
- tolerance: {
3332
- type: "number";
3333
- };
3334
- keep: {
3335
- type: "number";
3336
- };
3337
- };
3338
- required: [];
3339
- additionalProperties: false;
3340
- }];
3341
- };
3342
- };
3343
- required: [];
3344
- additionalProperties: false;
3345
- }];
3346
- };
3347
- };
3348
- required: [];
3349
- additionalProperties: false;
3350
- };
3351
- };
3352
- };
3353
- type AssetTransformForType<TType extends AssetTransformType> = TType extends AssetTransformType<infer T, infer O> ? AssetTransform<T, FromSchema<O>> : never;
3354
- type DefaultAssetTransformType = keyof typeof DEFAULT_ASSET_TRANSFORMS;
3355
- type DefaultAssetTransform = AssetTransformForType<(typeof DEFAULT_ASSET_TRANSFORMS)[DefaultAssetTransformType]>;
3356
- //#endregion
3357
- //#region ../shared/src/Lens.d.ts
3358
- declare const LENS_SCHEMA: zod.ZodObject<{
3359
- id: zod.ZodString;
3360
- projectId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3361
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
3362
- version: zod.ZodDefault<zod.ZodNumber>;
3363
- identifier: zod.ZodString;
3364
- name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
3365
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
3366
- type: zod.ZodEnum<{
3367
- audio: "audio";
3368
- document: "document";
3369
- image: "image";
3370
- video: "video";
3371
- website: "website";
3372
- }>;
3373
- active: zod.ZodBoolean;
3374
- transforms: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3375
- type: zod.ZodString;
3376
- options: zod.ZodUnknown;
3377
- }, zod.core.$strip>>>>;
3378
- createdAt: zod.ZodNumber;
3379
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
3380
- }, zod.core.$strip>;
3381
- type Lens = Omit<zod.infer<typeof LENS_SCHEMA>, "transforms"> & {
3382
- transforms?: Array<DefaultAssetTransform | AssetTransform> | null;
3383
- };
3384
- //#endregion
3385
- //#region ../shared/src/AssetPayload.d.ts
3386
- type AssetDataInput = Blob | Response | ReadableStream<Uint8Array>;
3387
- type AssetBufferInput = ArrayBuffer | (Uint8Array & {
3388
- write(string: string, offset?: number, length?: number, encoding?: string): number;
3389
- });
3390
- type AssetBinaryPayloadInput = {
3391
- plainText: string;
3392
- base64?: never;
3393
- uint8Array?: never;
3394
- buffer?: never;
3395
- data?: never;
3396
- } | {
3397
- base64: string;
3398
- plainText?: never;
3399
- uint8Array?: never;
3400
- buffer?: never;
3401
- data?: never;
3402
- } | {
3403
- uint8Array: number[] | Uint8Array;
3404
- plainText?: never;
3405
- base64?: never;
3406
- buffer?: never;
3407
- data?: never;
3408
- } | {
3409
- buffer: AssetBufferInput;
3410
- plainText?: never;
3411
- base64?: never;
3412
- uint8Array?: never;
3413
- data?: never;
3414
- } | {
3415
- data: AssetDataInput;
3416
- plainText?: never;
3417
- base64?: never;
3418
- uint8Array?: never;
3419
- buffer?: never;
3420
- };
3421
- //#endregion
3422
- //#region ../shared/src/RequestInfo.d.ts
3423
- interface RequestErrorCode {
3424
- getId(): string;
3425
- getDefaultMessage(): string | undefined;
3426
- is(error: any): error is any;
3427
- getStatus(): number | undefined;
3428
- }
3429
- //#endregion
3430
- //#region ../shared/src/PublicApiSchemas.d.ts
3431
- declare const POST_FOLDER_BODY_SCHEMA: zod.ZodObject<{
3432
- name: zod.ZodString;
3433
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3434
- }, zod.core.$strip>;
3435
- type PostFolderBody = zod.infer<typeof POST_FOLDER_BODY_SCHEMA>;
3436
- declare const PATCH_FOLDER_BODY_SCHEMA: zod.ZodObject<{
3437
- name: zod.ZodOptional<zod.ZodString>;
3438
- }, zod.core.$strip>;
3439
- type PatchFolderBody = zod.infer<typeof PATCH_FOLDER_BODY_SCHEMA>;
3440
- declare const GET_ASSETS_PAGE_QUERY_SCHEMA: zod.ZodObject<{
3441
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
3442
- pageSize: zod.ZodOptional<zod.ZodNumber>;
3443
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3444
- field: zod.ZodString;
3445
- direction: zod.ZodEnum<{
3446
- ASC: "ASC";
3447
- DESC: "DESC";
3448
- }>;
3449
- }, zod.core.$strip>>>;
3450
- filter: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
3451
- folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
3452
- }, zod.core.$strip>;
3453
- type GetAssetsPageQuery = zod.infer<typeof GET_ASSETS_PAGE_QUERY_SCHEMA>;
3454
- type GetAssetsPageResponse = Page<Asset>;
3455
- type GetAssetResponse = Asset;
3456
- declare const GET_ASSET_CHILDREN_QUERY_SCHEMA: zod.ZodObject<{
3457
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
3458
- pageSize: zod.ZodOptional<zod.ZodNumber>;
3459
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3460
- field: zod.ZodString;
3461
- direction: zod.ZodEnum<{
3462
- ASC: "ASC";
3463
- DESC: "DESC";
3464
- }>;
3465
- }, zod.core.$strip>>>;
3466
- }, zod.core.$strip>;
3467
- type GetAssetChildrenQuery = zod.infer<typeof GET_ASSET_CHILDREN_QUERY_SCHEMA>;
3468
- type GetAssetChildrenResponse = Page<Asset>;
3469
- declare const POST_ASSET_SIGNED_URL_RESPONSE_SCHEMA: zod.ZodObject<{
3470
- url: zod.ZodString;
3471
- expiresAt: zod.ZodNumber;
3472
- }, zod.core.$strip>;
3473
- type PostAssetSignedUrlResponse = zod.infer<typeof POST_ASSET_SIGNED_URL_RESPONSE_SCHEMA>;
3474
- declare const PATCH_ASSET_BODY_SCHEMA: zod.ZodObject<{
3475
- name: zod.ZodOptional<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
3476
- description: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
3477
- externalId: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
3478
- externalUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
3479
- metadata: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
3480
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
3481
- value: zod.ZodJSONSchema;
3482
- }, zod.core.$strip>>>>>;
3483
- tags: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>>;
3484
- visibility: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
3485
- private: "private";
3486
- public: "public";
3487
- }>>>>;
3488
- }, zod.core.$strip>;
3489
- type PatchAssetBody = zod.infer<typeof PATCH_ASSET_BODY_SCHEMA>;
3490
- declare const GET_EVENTS_QUERY_SCHEMA: zod.ZodObject<{
3491
- after: zod.ZodOptional<zod.ZodString>;
3492
- limit: zod.ZodDefault<zod.ZodNumber>;
3493
- }, zod.core.$strip>;
3494
- type GetEventsQuery = zod.input<typeof GET_EVENTS_QUERY_SCHEMA>;
3495
- type GetEventsResponse = {
3496
- events: TypedEvent[];
3497
- cursor: string;
3498
- hasMore: boolean;
3499
- };
3500
- //#endregion
3501
- //#region src/client/CalmLensTypes.d.ts
3502
- interface RequestOptions {
3503
- /** Cancellation for every request made by this client. */
3504
- signal?: AbortSignal;
3505
- /** Request timeout in milliseconds, including response body reads. Defaults to 120000. */
3506
- timeoutMs?: number;
3507
- }
3508
- interface CalmLensClientOptions extends RequestOptions {
3509
- apiKey: string;
3510
- projectId: string;
3511
- baseUrl?: string;
3512
- cdnBaseUrl?: string;
3513
- cdnFetch?: typeof fetch;
3514
- uploadFetch?: typeof fetch;
3515
- requestBackend?: RequestBackend;
3516
- }
3517
- interface CdnAssetUrlOptions {
3518
- assetIdentifier: string;
3519
- resource?: "content" | "preview";
3520
- lens?: string;
3521
- transform?: string;
3522
- }
3523
- interface CdnServeOptions extends CdnAssetUrlOptions {
3524
- init?: RequestInit;
3525
- }
3526
- interface CreateAssetSignedUrlOptions {
3527
- assetId: string;
3528
- resource?: "content" | "preview";
3529
- lens?: string;
3530
- transform?: string;
3531
- expiresInSeconds?: number;
3532
- }
3533
- type EnsureLensOptions = Pick<Lens, "identifier" | "name" | "description" | "type" | "active" | "transforms" | "version">;
3534
- interface EnsureLensesOptions {
3535
- lenses: EnsureLensOptions[];
3536
- }
3537
- type ListAssetsOptions = Partial<GetAssetsPageQuery>;
3538
- type ListEventsOptions = GetEventsQuery;
3539
- interface RetrieveAssetOptions {
3540
- assetId: string;
3541
- }
3542
- interface RetryAssetOptions {
3543
- assetId: string;
3544
- }
3545
- interface DeleteAssetOptions {
3546
- assetId: string;
3547
- }
3548
- interface DeleteAssetContentOptions {
3549
- assetId: string;
3550
- }
3551
- type UpdateAssetOptions = PatchAssetBody & {
3552
- assetId: string;
3553
- };
3554
- type CreateFolderOptions = PostFolderBody;
3555
- type UpdateFolderOptions = PatchFolderBody & {
3556
- folderId: string;
3557
- };
3558
- interface FolderIdOptions {
3559
- folderId: string;
3560
- }
3561
- interface MoveFolderOptions extends FolderIdOptions {
3562
- parentId: string | null;
3563
- }
3564
- interface MoveAssetOptions {
3565
- assetId: string;
3566
- folderId: string | null;
3567
- }
3568
- type ListAssetChildrenOptions = Partial<GetAssetChildrenQuery> & {
3569
- assetId: string;
3570
- };
3571
- type AssetContentOptions = AssetBinaryPayloadInput & {
3572
- type: string;
3573
- sizeInBytes?: number;
3574
- };
3575
- type MultipartUploadPartOptions = AssetBinaryPayloadInput & {
3576
- partNumber: number;
3577
- isFinal?: boolean;
3578
- sizeInBytes?: number;
3579
- };
3580
- interface UploadAssetPartOptions {
3581
- assetId: string;
3582
- part: MultipartUploadPartOptions;
3583
- }
3584
- type CreateMultipartUploadPartOptions = AssetContentOptions & {
3585
- partNumber?: number;
3586
- isFinal?: boolean;
3587
- sizeInBytes?: number;
3588
- };
3589
- interface SubmitAssetCommonOptions {
3590
- name: string;
3591
- description?: string;
3592
- processingOptions?: Asset["processingOptions"];
3593
- visibility?: "public" | "private";
3594
- metadata?: Asset["metadata"];
3595
- externalId?: string;
3596
- externalUrl?: string;
3597
- folderId?: string | null;
3598
- isFinal?: never;
3599
- }
3600
- type SubmitAssetOptions = (SubmitAssetCommonOptions & {
3601
- content: AssetContentOptions;
3602
- }) | (SubmitAssetCommonOptions & {
3603
- url: string;
3604
- }) | (SubmitAssetCommonOptions & {
3605
- part: CreateMultipartUploadPartOptions;
3606
- sizeInBytes?: number;
3607
- });
3608
- interface MultipartUploadOptions extends SubmitAssetCommonOptions {
3609
- part: CreateMultipartUploadPartOptions;
3610
- }
3611
- interface VerifyWebhookSignatureOptions {
3612
- /**
3613
- * The raw request body, exactly as received. Passing a parsed object is supported but
3614
- * discouraged: re-serializing JSON can change the signed bytes.
3615
- */
3616
- payload: string | object;
3617
- /** The `x-calmlens-signature` header value, e.g. `v1=<hex>` (a comma-separated list is allowed). */
3618
- signature: string | null | undefined;
3619
- /** The `x-calmlens-timestamp` header value (unix seconds). */
3620
- timestamp: string | number | null | undefined;
3621
- /** The connector's signing secret. */
3622
- secret: string;
3623
- /** Maximum allowed distance between `timestamp` and now, in seconds. Defaults to 300. */
3624
- toleranceSeconds?: number;
3625
- /** The current time, as a `Date` or milliseconds since the epoch. Defaults to `Date.now()`. */
3626
- now?: Date | number;
3627
- }
3628
- interface ModerateTextOptions extends Omit<SubmitAssetCommonOptions, "name" | "visibility" | "isFinal"> {
3629
- text: string;
3630
- name?: string;
3631
- }
3632
- //#endregion
3633
- export { GetAssetResponse as A, EventCategory as B, RetryAssetOptions as C, UploadAssetPartOptions as D, UpdateFolderOptions as E, AssetBinaryPayloadInput as F, EventType as G, EventFactValues as H, Lens as I, AssetType as J, Asset as K, Folder as L, GetEventsResponse as M, PostAssetSignedUrlResponse as N, VerifyWebhookSignatureOptions as O, RequestErrorCode as P, Event as R, RetrieveAssetOptions as S, UpdateAssetOptions as T, EventFacts as U, EventFact as V, EventSeverity as W, MetadataItem as X, AssetVisibility as Y, ProcessingOptions as Z, MoveAssetOptions as _, CreateAssetSignedUrlOptions as a, MultipartUploadPartOptions as b, DeleteAssetContentOptions as c, EnsureLensesOptions as d, FolderIdOptions as f, ModerateTextOptions as g, ListEventsOptions as h, CdnServeOptions as i, GetAssetsPageResponse as j, GetAssetChildrenResponse as k, DeleteAssetOptions as l, ListAssetsOptions as m, CalmLensClientOptions as n, CreateFolderOptions as o, ListAssetChildrenOptions as p, AssetStatus as q, CdnAssetUrlOptions as r, CreateMultipartUploadPartOptions as s, AssetContentOptions as t, EnsureLensOptions as u, MoveFolderOptions as v, SubmitAssetOptions as w, RequestOptions as x, MultipartUploadOptions as y, TypedEvent as z };