calmlens 0.4.0 → 0.5.0

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,1761 +0,0 @@
1
- import { RequestBackend } from "api-def";
2
- import * as zod from "zod";
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_SCHEMA: zod.ZodObject<{
14
- id: zod.ZodString;
15
- projectId: zod.ZodString;
16
- sizeInBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
17
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
18
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
19
- folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
20
- createdAt: zod.ZodNumber;
21
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
22
- checksums: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
23
- md5: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
24
- sha1: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
25
- sha256: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
26
- sha384: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
27
- sha512: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
28
- }, zod.core.$strip>>>;
29
- imageData: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
30
- perceptualHash: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
31
- width: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
32
- height: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
33
- }, zod.core.$strip>>>;
34
- documentData: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{}, zod.core.$strip>>>;
35
- name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
36
- fileFormat: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
37
- fileExtension: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
38
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
39
- externalId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
40
- externalUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
41
- previewImage: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
42
- id: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
43
- fileFormat: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
44
- thumbhash: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
45
- averageColor: zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
46
- width: zod.ZodNullable<zod.ZodNumber>;
47
- height: zod.ZodNullable<zod.ZodNumber>;
48
- }, zod.core.$strip>>>;
49
- storageId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
50
- uploadPartsReceived: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
51
- type: zod.ZodEnum<{
52
- audio: "audio";
53
- file: "file";
54
- image: "image";
55
- "multimedia-document": "multimedia-document";
56
- "plaintext-document": "plaintext-document";
57
- video: "video";
58
- website: "website";
59
- }>;
60
- metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
61
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
62
- value: zod.ZodJSONSchema;
63
- }, zod.core.$strip>>>>;
64
- tags: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
65
- report: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
66
- processedAt: zod.ZodNumber;
67
- categories: zod.ZodObject<{
68
- sexual: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
69
- status: zod.ZodLiteral<"evaluated">;
70
- likelihood: zod.ZodEnum<{
71
- likely: "likely";
72
- possible: "possible";
73
- unlikely: "unlikely";
74
- "very-likely": "very-likely";
75
- "very-unlikely": "very-unlikely";
76
- }>;
77
- score: zod.ZodNumber;
78
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
79
- "criminal-demonstration": "criminal-demonstration";
80
- "criminal-instructions": "criminal-instructions";
81
- "criminal-preparation": "criminal-preparation";
82
- "criminal-promotion": "criminal-promotion";
83
- "criminal-request": "criminal-request";
84
- death: "death";
85
- dehumanization: "dehumanization";
86
- "discriminatory-exclusion": "discriminatory-exclusion";
87
- documentary: "documentary";
88
- "explicit-sexual-language": "explicit-sexual-language";
89
- fictional: "fictional";
90
- graphic: "graphic";
91
- "harassment-encouragement": "harassment-encouragement";
92
- "harassment-threat": "harassment-threat";
93
- "hate-threat": "hate-threat";
94
- historical: "historical";
95
- "identity-abuse": "identity-abuse";
96
- "identity-inferiority": "identity-inferiority";
97
- injury: "injury";
98
- nudity: "nudity";
99
- "personal-abuse": "personal-abuse";
100
- "physical-attack": "physical-attack";
101
- "self-harm-act": "self-harm-act";
102
- "self-harm-encouragement": "self-harm-encouragement";
103
- "self-harm-methods": "self-harm-methods";
104
- "self-harm-preparation": "self-harm-preparation";
105
- "self-harm-thoughts": "self-harm-thoughts";
106
- "sexual-activity": "sexual-activity";
107
- "sexual-harassment": "sexual-harassment";
108
- "sexual-solicitation": "sexual-solicitation";
109
- "support-prevention": "support-prevention";
110
- "targeted-intimidation": "targeted-intimidation";
111
- "violent-encouragement": "violent-encouragement";
112
- "violent-preparation": "violent-preparation";
113
- "violent-threat": "violent-threat";
114
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
115
- status: zod.ZodLiteral<"evaluated">;
116
- score: zod.ZodNumber;
117
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
118
- likelihood: zod.ZodEnum<{
119
- likely: "likely";
120
- possible: "possible";
121
- unlikely: "unlikely";
122
- "very-likely": "very-likely";
123
- "very-unlikely": "very-unlikely";
124
- }>;
125
- }, zod.core.$strict>, zod.ZodObject<{
126
- status: zod.ZodLiteral<"not-evaluated">;
127
- reason: zod.ZodEnum<{
128
- "not-supported": "not-supported";
129
- unavailable: "unavailable";
130
- }>;
131
- }, zod.core.$strict>], "status">>>;
132
- }, zod.core.$strict>, zod.ZodObject<{
133
- status: zod.ZodLiteral<"partial">;
134
- likelihood: zod.ZodEnum<{
135
- likely: "likely";
136
- possible: "possible";
137
- unlikely: "unlikely";
138
- "very-likely": "very-likely";
139
- "very-unlikely": "very-unlikely";
140
- }>;
141
- score: zod.ZodNumber;
142
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
143
- "criminal-demonstration": "criminal-demonstration";
144
- "criminal-instructions": "criminal-instructions";
145
- "criminal-preparation": "criminal-preparation";
146
- "criminal-promotion": "criminal-promotion";
147
- "criminal-request": "criminal-request";
148
- death: "death";
149
- dehumanization: "dehumanization";
150
- "discriminatory-exclusion": "discriminatory-exclusion";
151
- documentary: "documentary";
152
- "explicit-sexual-language": "explicit-sexual-language";
153
- fictional: "fictional";
154
- graphic: "graphic";
155
- "harassment-encouragement": "harassment-encouragement";
156
- "harassment-threat": "harassment-threat";
157
- "hate-threat": "hate-threat";
158
- historical: "historical";
159
- "identity-abuse": "identity-abuse";
160
- "identity-inferiority": "identity-inferiority";
161
- injury: "injury";
162
- nudity: "nudity";
163
- "personal-abuse": "personal-abuse";
164
- "physical-attack": "physical-attack";
165
- "self-harm-act": "self-harm-act";
166
- "self-harm-encouragement": "self-harm-encouragement";
167
- "self-harm-methods": "self-harm-methods";
168
- "self-harm-preparation": "self-harm-preparation";
169
- "self-harm-thoughts": "self-harm-thoughts";
170
- "sexual-activity": "sexual-activity";
171
- "sexual-harassment": "sexual-harassment";
172
- "sexual-solicitation": "sexual-solicitation";
173
- "support-prevention": "support-prevention";
174
- "targeted-intimidation": "targeted-intimidation";
175
- "violent-encouragement": "violent-encouragement";
176
- "violent-preparation": "violent-preparation";
177
- "violent-threat": "violent-threat";
178
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
179
- status: zod.ZodLiteral<"evaluated">;
180
- score: zod.ZodNumber;
181
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
182
- likelihood: zod.ZodEnum<{
183
- likely: "likely";
184
- possible: "possible";
185
- unlikely: "unlikely";
186
- "very-likely": "very-likely";
187
- "very-unlikely": "very-unlikely";
188
- }>;
189
- }, zod.core.$strict>, zod.ZodObject<{
190
- status: zod.ZodLiteral<"not-evaluated">;
191
- reason: zod.ZodEnum<{
192
- "not-supported": "not-supported";
193
- unavailable: "unavailable";
194
- }>;
195
- }, zod.core.$strict>], "status">>>;
196
- }, zod.core.$strict>, zod.ZodObject<{
197
- status: zod.ZodLiteral<"not-evaluated">;
198
- reason: zod.ZodEnum<{
199
- "not-supported": "not-supported";
200
- unavailable: "unavailable";
201
- }>;
202
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
203
- "criminal-demonstration": "criminal-demonstration";
204
- "criminal-instructions": "criminal-instructions";
205
- "criminal-preparation": "criminal-preparation";
206
- "criminal-promotion": "criminal-promotion";
207
- "criminal-request": "criminal-request";
208
- death: "death";
209
- dehumanization: "dehumanization";
210
- "discriminatory-exclusion": "discriminatory-exclusion";
211
- documentary: "documentary";
212
- "explicit-sexual-language": "explicit-sexual-language";
213
- fictional: "fictional";
214
- graphic: "graphic";
215
- "harassment-encouragement": "harassment-encouragement";
216
- "harassment-threat": "harassment-threat";
217
- "hate-threat": "hate-threat";
218
- historical: "historical";
219
- "identity-abuse": "identity-abuse";
220
- "identity-inferiority": "identity-inferiority";
221
- injury: "injury";
222
- nudity: "nudity";
223
- "personal-abuse": "personal-abuse";
224
- "physical-attack": "physical-attack";
225
- "self-harm-act": "self-harm-act";
226
- "self-harm-encouragement": "self-harm-encouragement";
227
- "self-harm-methods": "self-harm-methods";
228
- "self-harm-preparation": "self-harm-preparation";
229
- "self-harm-thoughts": "self-harm-thoughts";
230
- "sexual-activity": "sexual-activity";
231
- "sexual-harassment": "sexual-harassment";
232
- "sexual-solicitation": "sexual-solicitation";
233
- "support-prevention": "support-prevention";
234
- "targeted-intimidation": "targeted-intimidation";
235
- "violent-encouragement": "violent-encouragement";
236
- "violent-preparation": "violent-preparation";
237
- "violent-threat": "violent-threat";
238
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
239
- status: zod.ZodLiteral<"evaluated">;
240
- score: zod.ZodNumber;
241
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
242
- likelihood: zod.ZodEnum<{
243
- likely: "likely";
244
- possible: "possible";
245
- unlikely: "unlikely";
246
- "very-likely": "very-likely";
247
- "very-unlikely": "very-unlikely";
248
- }>;
249
- }, zod.core.$strict>, zod.ZodObject<{
250
- status: zod.ZodLiteral<"not-evaluated">;
251
- reason: zod.ZodEnum<{
252
- "not-supported": "not-supported";
253
- unavailable: "unavailable";
254
- }>;
255
- }, zod.core.$strict>], "status">>>;
256
- }, zod.core.$strict>], "status">;
257
- violence: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
258
- status: zod.ZodLiteral<"evaluated">;
259
- likelihood: zod.ZodEnum<{
260
- likely: "likely";
261
- possible: "possible";
262
- unlikely: "unlikely";
263
- "very-likely": "very-likely";
264
- "very-unlikely": "very-unlikely";
265
- }>;
266
- score: zod.ZodNumber;
267
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
268
- "criminal-demonstration": "criminal-demonstration";
269
- "criminal-instructions": "criminal-instructions";
270
- "criminal-preparation": "criminal-preparation";
271
- "criminal-promotion": "criminal-promotion";
272
- "criminal-request": "criminal-request";
273
- death: "death";
274
- dehumanization: "dehumanization";
275
- "discriminatory-exclusion": "discriminatory-exclusion";
276
- documentary: "documentary";
277
- "explicit-sexual-language": "explicit-sexual-language";
278
- fictional: "fictional";
279
- graphic: "graphic";
280
- "harassment-encouragement": "harassment-encouragement";
281
- "harassment-threat": "harassment-threat";
282
- "hate-threat": "hate-threat";
283
- historical: "historical";
284
- "identity-abuse": "identity-abuse";
285
- "identity-inferiority": "identity-inferiority";
286
- injury: "injury";
287
- nudity: "nudity";
288
- "personal-abuse": "personal-abuse";
289
- "physical-attack": "physical-attack";
290
- "self-harm-act": "self-harm-act";
291
- "self-harm-encouragement": "self-harm-encouragement";
292
- "self-harm-methods": "self-harm-methods";
293
- "self-harm-preparation": "self-harm-preparation";
294
- "self-harm-thoughts": "self-harm-thoughts";
295
- "sexual-activity": "sexual-activity";
296
- "sexual-harassment": "sexual-harassment";
297
- "sexual-solicitation": "sexual-solicitation";
298
- "support-prevention": "support-prevention";
299
- "targeted-intimidation": "targeted-intimidation";
300
- "violent-encouragement": "violent-encouragement";
301
- "violent-preparation": "violent-preparation";
302
- "violent-threat": "violent-threat";
303
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
304
- status: zod.ZodLiteral<"evaluated">;
305
- score: zod.ZodNumber;
306
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
307
- likelihood: zod.ZodEnum<{
308
- likely: "likely";
309
- possible: "possible";
310
- unlikely: "unlikely";
311
- "very-likely": "very-likely";
312
- "very-unlikely": "very-unlikely";
313
- }>;
314
- }, zod.core.$strict>, zod.ZodObject<{
315
- status: zod.ZodLiteral<"not-evaluated">;
316
- reason: zod.ZodEnum<{
317
- "not-supported": "not-supported";
318
- unavailable: "unavailable";
319
- }>;
320
- }, zod.core.$strict>], "status">>>;
321
- }, zod.core.$strict>, zod.ZodObject<{
322
- status: zod.ZodLiteral<"partial">;
323
- likelihood: zod.ZodEnum<{
324
- likely: "likely";
325
- possible: "possible";
326
- unlikely: "unlikely";
327
- "very-likely": "very-likely";
328
- "very-unlikely": "very-unlikely";
329
- }>;
330
- score: zod.ZodNumber;
331
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
332
- "criminal-demonstration": "criminal-demonstration";
333
- "criminal-instructions": "criminal-instructions";
334
- "criminal-preparation": "criminal-preparation";
335
- "criminal-promotion": "criminal-promotion";
336
- "criminal-request": "criminal-request";
337
- death: "death";
338
- dehumanization: "dehumanization";
339
- "discriminatory-exclusion": "discriminatory-exclusion";
340
- documentary: "documentary";
341
- "explicit-sexual-language": "explicit-sexual-language";
342
- fictional: "fictional";
343
- graphic: "graphic";
344
- "harassment-encouragement": "harassment-encouragement";
345
- "harassment-threat": "harassment-threat";
346
- "hate-threat": "hate-threat";
347
- historical: "historical";
348
- "identity-abuse": "identity-abuse";
349
- "identity-inferiority": "identity-inferiority";
350
- injury: "injury";
351
- nudity: "nudity";
352
- "personal-abuse": "personal-abuse";
353
- "physical-attack": "physical-attack";
354
- "self-harm-act": "self-harm-act";
355
- "self-harm-encouragement": "self-harm-encouragement";
356
- "self-harm-methods": "self-harm-methods";
357
- "self-harm-preparation": "self-harm-preparation";
358
- "self-harm-thoughts": "self-harm-thoughts";
359
- "sexual-activity": "sexual-activity";
360
- "sexual-harassment": "sexual-harassment";
361
- "sexual-solicitation": "sexual-solicitation";
362
- "support-prevention": "support-prevention";
363
- "targeted-intimidation": "targeted-intimidation";
364
- "violent-encouragement": "violent-encouragement";
365
- "violent-preparation": "violent-preparation";
366
- "violent-threat": "violent-threat";
367
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
368
- status: zod.ZodLiteral<"evaluated">;
369
- score: zod.ZodNumber;
370
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
371
- likelihood: zod.ZodEnum<{
372
- likely: "likely";
373
- possible: "possible";
374
- unlikely: "unlikely";
375
- "very-likely": "very-likely";
376
- "very-unlikely": "very-unlikely";
377
- }>;
378
- }, zod.core.$strict>, zod.ZodObject<{
379
- status: zod.ZodLiteral<"not-evaluated">;
380
- reason: zod.ZodEnum<{
381
- "not-supported": "not-supported";
382
- unavailable: "unavailable";
383
- }>;
384
- }, zod.core.$strict>], "status">>>;
385
- }, zod.core.$strict>, zod.ZodObject<{
386
- status: zod.ZodLiteral<"not-evaluated">;
387
- reason: zod.ZodEnum<{
388
- "not-supported": "not-supported";
389
- unavailable: "unavailable";
390
- }>;
391
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
392
- "criminal-demonstration": "criminal-demonstration";
393
- "criminal-instructions": "criminal-instructions";
394
- "criminal-preparation": "criminal-preparation";
395
- "criminal-promotion": "criminal-promotion";
396
- "criminal-request": "criminal-request";
397
- death: "death";
398
- dehumanization: "dehumanization";
399
- "discriminatory-exclusion": "discriminatory-exclusion";
400
- documentary: "documentary";
401
- "explicit-sexual-language": "explicit-sexual-language";
402
- fictional: "fictional";
403
- graphic: "graphic";
404
- "harassment-encouragement": "harassment-encouragement";
405
- "harassment-threat": "harassment-threat";
406
- "hate-threat": "hate-threat";
407
- historical: "historical";
408
- "identity-abuse": "identity-abuse";
409
- "identity-inferiority": "identity-inferiority";
410
- injury: "injury";
411
- nudity: "nudity";
412
- "personal-abuse": "personal-abuse";
413
- "physical-attack": "physical-attack";
414
- "self-harm-act": "self-harm-act";
415
- "self-harm-encouragement": "self-harm-encouragement";
416
- "self-harm-methods": "self-harm-methods";
417
- "self-harm-preparation": "self-harm-preparation";
418
- "self-harm-thoughts": "self-harm-thoughts";
419
- "sexual-activity": "sexual-activity";
420
- "sexual-harassment": "sexual-harassment";
421
- "sexual-solicitation": "sexual-solicitation";
422
- "support-prevention": "support-prevention";
423
- "targeted-intimidation": "targeted-intimidation";
424
- "violent-encouragement": "violent-encouragement";
425
- "violent-preparation": "violent-preparation";
426
- "violent-threat": "violent-threat";
427
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
428
- status: zod.ZodLiteral<"evaluated">;
429
- score: zod.ZodNumber;
430
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
431
- likelihood: zod.ZodEnum<{
432
- likely: "likely";
433
- possible: "possible";
434
- unlikely: "unlikely";
435
- "very-likely": "very-likely";
436
- "very-unlikely": "very-unlikely";
437
- }>;
438
- }, zod.core.$strict>, zod.ZodObject<{
439
- status: zod.ZodLiteral<"not-evaluated">;
440
- reason: zod.ZodEnum<{
441
- "not-supported": "not-supported";
442
- unavailable: "unavailable";
443
- }>;
444
- }, zod.core.$strict>], "status">>>;
445
- }, zod.core.$strict>], "status">;
446
- "self-harm": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
447
- status: zod.ZodLiteral<"evaluated">;
448
- likelihood: zod.ZodEnum<{
449
- likely: "likely";
450
- possible: "possible";
451
- unlikely: "unlikely";
452
- "very-likely": "very-likely";
453
- "very-unlikely": "very-unlikely";
454
- }>;
455
- score: zod.ZodNumber;
456
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
457
- "criminal-demonstration": "criminal-demonstration";
458
- "criminal-instructions": "criminal-instructions";
459
- "criminal-preparation": "criminal-preparation";
460
- "criminal-promotion": "criminal-promotion";
461
- "criminal-request": "criminal-request";
462
- death: "death";
463
- dehumanization: "dehumanization";
464
- "discriminatory-exclusion": "discriminatory-exclusion";
465
- documentary: "documentary";
466
- "explicit-sexual-language": "explicit-sexual-language";
467
- fictional: "fictional";
468
- graphic: "graphic";
469
- "harassment-encouragement": "harassment-encouragement";
470
- "harassment-threat": "harassment-threat";
471
- "hate-threat": "hate-threat";
472
- historical: "historical";
473
- "identity-abuse": "identity-abuse";
474
- "identity-inferiority": "identity-inferiority";
475
- injury: "injury";
476
- nudity: "nudity";
477
- "personal-abuse": "personal-abuse";
478
- "physical-attack": "physical-attack";
479
- "self-harm-act": "self-harm-act";
480
- "self-harm-encouragement": "self-harm-encouragement";
481
- "self-harm-methods": "self-harm-methods";
482
- "self-harm-preparation": "self-harm-preparation";
483
- "self-harm-thoughts": "self-harm-thoughts";
484
- "sexual-activity": "sexual-activity";
485
- "sexual-harassment": "sexual-harassment";
486
- "sexual-solicitation": "sexual-solicitation";
487
- "support-prevention": "support-prevention";
488
- "targeted-intimidation": "targeted-intimidation";
489
- "violent-encouragement": "violent-encouragement";
490
- "violent-preparation": "violent-preparation";
491
- "violent-threat": "violent-threat";
492
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
493
- status: zod.ZodLiteral<"evaluated">;
494
- score: zod.ZodNumber;
495
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
496
- likelihood: zod.ZodEnum<{
497
- likely: "likely";
498
- possible: "possible";
499
- unlikely: "unlikely";
500
- "very-likely": "very-likely";
501
- "very-unlikely": "very-unlikely";
502
- }>;
503
- }, zod.core.$strict>, zod.ZodObject<{
504
- status: zod.ZodLiteral<"not-evaluated">;
505
- reason: zod.ZodEnum<{
506
- "not-supported": "not-supported";
507
- unavailable: "unavailable";
508
- }>;
509
- }, zod.core.$strict>], "status">>>;
510
- }, zod.core.$strict>, zod.ZodObject<{
511
- status: zod.ZodLiteral<"partial">;
512
- likelihood: zod.ZodEnum<{
513
- likely: "likely";
514
- possible: "possible";
515
- unlikely: "unlikely";
516
- "very-likely": "very-likely";
517
- "very-unlikely": "very-unlikely";
518
- }>;
519
- score: zod.ZodNumber;
520
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
521
- "criminal-demonstration": "criminal-demonstration";
522
- "criminal-instructions": "criminal-instructions";
523
- "criminal-preparation": "criminal-preparation";
524
- "criminal-promotion": "criminal-promotion";
525
- "criminal-request": "criminal-request";
526
- death: "death";
527
- dehumanization: "dehumanization";
528
- "discriminatory-exclusion": "discriminatory-exclusion";
529
- documentary: "documentary";
530
- "explicit-sexual-language": "explicit-sexual-language";
531
- fictional: "fictional";
532
- graphic: "graphic";
533
- "harassment-encouragement": "harassment-encouragement";
534
- "harassment-threat": "harassment-threat";
535
- "hate-threat": "hate-threat";
536
- historical: "historical";
537
- "identity-abuse": "identity-abuse";
538
- "identity-inferiority": "identity-inferiority";
539
- injury: "injury";
540
- nudity: "nudity";
541
- "personal-abuse": "personal-abuse";
542
- "physical-attack": "physical-attack";
543
- "self-harm-act": "self-harm-act";
544
- "self-harm-encouragement": "self-harm-encouragement";
545
- "self-harm-methods": "self-harm-methods";
546
- "self-harm-preparation": "self-harm-preparation";
547
- "self-harm-thoughts": "self-harm-thoughts";
548
- "sexual-activity": "sexual-activity";
549
- "sexual-harassment": "sexual-harassment";
550
- "sexual-solicitation": "sexual-solicitation";
551
- "support-prevention": "support-prevention";
552
- "targeted-intimidation": "targeted-intimidation";
553
- "violent-encouragement": "violent-encouragement";
554
- "violent-preparation": "violent-preparation";
555
- "violent-threat": "violent-threat";
556
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
557
- status: zod.ZodLiteral<"evaluated">;
558
- score: zod.ZodNumber;
559
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
560
- likelihood: zod.ZodEnum<{
561
- likely: "likely";
562
- possible: "possible";
563
- unlikely: "unlikely";
564
- "very-likely": "very-likely";
565
- "very-unlikely": "very-unlikely";
566
- }>;
567
- }, zod.core.$strict>, zod.ZodObject<{
568
- status: zod.ZodLiteral<"not-evaluated">;
569
- reason: zod.ZodEnum<{
570
- "not-supported": "not-supported";
571
- unavailable: "unavailable";
572
- }>;
573
- }, zod.core.$strict>], "status">>>;
574
- }, zod.core.$strict>, zod.ZodObject<{
575
- status: zod.ZodLiteral<"not-evaluated">;
576
- reason: zod.ZodEnum<{
577
- "not-supported": "not-supported";
578
- unavailable: "unavailable";
579
- }>;
580
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
581
- "criminal-demonstration": "criminal-demonstration";
582
- "criminal-instructions": "criminal-instructions";
583
- "criminal-preparation": "criminal-preparation";
584
- "criminal-promotion": "criminal-promotion";
585
- "criminal-request": "criminal-request";
586
- death: "death";
587
- dehumanization: "dehumanization";
588
- "discriminatory-exclusion": "discriminatory-exclusion";
589
- documentary: "documentary";
590
- "explicit-sexual-language": "explicit-sexual-language";
591
- fictional: "fictional";
592
- graphic: "graphic";
593
- "harassment-encouragement": "harassment-encouragement";
594
- "harassment-threat": "harassment-threat";
595
- "hate-threat": "hate-threat";
596
- historical: "historical";
597
- "identity-abuse": "identity-abuse";
598
- "identity-inferiority": "identity-inferiority";
599
- injury: "injury";
600
- nudity: "nudity";
601
- "personal-abuse": "personal-abuse";
602
- "physical-attack": "physical-attack";
603
- "self-harm-act": "self-harm-act";
604
- "self-harm-encouragement": "self-harm-encouragement";
605
- "self-harm-methods": "self-harm-methods";
606
- "self-harm-preparation": "self-harm-preparation";
607
- "self-harm-thoughts": "self-harm-thoughts";
608
- "sexual-activity": "sexual-activity";
609
- "sexual-harassment": "sexual-harassment";
610
- "sexual-solicitation": "sexual-solicitation";
611
- "support-prevention": "support-prevention";
612
- "targeted-intimidation": "targeted-intimidation";
613
- "violent-encouragement": "violent-encouragement";
614
- "violent-preparation": "violent-preparation";
615
- "violent-threat": "violent-threat";
616
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
617
- status: zod.ZodLiteral<"evaluated">;
618
- score: zod.ZodNumber;
619
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
620
- likelihood: zod.ZodEnum<{
621
- likely: "likely";
622
- possible: "possible";
623
- unlikely: "unlikely";
624
- "very-likely": "very-likely";
625
- "very-unlikely": "very-unlikely";
626
- }>;
627
- }, zod.core.$strict>, zod.ZodObject<{
628
- status: zod.ZodLiteral<"not-evaluated">;
629
- reason: zod.ZodEnum<{
630
- "not-supported": "not-supported";
631
- unavailable: "unavailable";
632
- }>;
633
- }, zod.core.$strict>], "status">>>;
634
- }, zod.core.$strict>], "status">;
635
- harassment: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
636
- status: zod.ZodLiteral<"evaluated">;
637
- likelihood: zod.ZodEnum<{
638
- likely: "likely";
639
- possible: "possible";
640
- unlikely: "unlikely";
641
- "very-likely": "very-likely";
642
- "very-unlikely": "very-unlikely";
643
- }>;
644
- score: zod.ZodNumber;
645
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
646
- "criminal-demonstration": "criminal-demonstration";
647
- "criminal-instructions": "criminal-instructions";
648
- "criminal-preparation": "criminal-preparation";
649
- "criminal-promotion": "criminal-promotion";
650
- "criminal-request": "criminal-request";
651
- death: "death";
652
- dehumanization: "dehumanization";
653
- "discriminatory-exclusion": "discriminatory-exclusion";
654
- documentary: "documentary";
655
- "explicit-sexual-language": "explicit-sexual-language";
656
- fictional: "fictional";
657
- graphic: "graphic";
658
- "harassment-encouragement": "harassment-encouragement";
659
- "harassment-threat": "harassment-threat";
660
- "hate-threat": "hate-threat";
661
- historical: "historical";
662
- "identity-abuse": "identity-abuse";
663
- "identity-inferiority": "identity-inferiority";
664
- injury: "injury";
665
- nudity: "nudity";
666
- "personal-abuse": "personal-abuse";
667
- "physical-attack": "physical-attack";
668
- "self-harm-act": "self-harm-act";
669
- "self-harm-encouragement": "self-harm-encouragement";
670
- "self-harm-methods": "self-harm-methods";
671
- "self-harm-preparation": "self-harm-preparation";
672
- "self-harm-thoughts": "self-harm-thoughts";
673
- "sexual-activity": "sexual-activity";
674
- "sexual-harassment": "sexual-harassment";
675
- "sexual-solicitation": "sexual-solicitation";
676
- "support-prevention": "support-prevention";
677
- "targeted-intimidation": "targeted-intimidation";
678
- "violent-encouragement": "violent-encouragement";
679
- "violent-preparation": "violent-preparation";
680
- "violent-threat": "violent-threat";
681
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
682
- status: zod.ZodLiteral<"evaluated">;
683
- score: zod.ZodNumber;
684
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
685
- likelihood: zod.ZodEnum<{
686
- likely: "likely";
687
- possible: "possible";
688
- unlikely: "unlikely";
689
- "very-likely": "very-likely";
690
- "very-unlikely": "very-unlikely";
691
- }>;
692
- }, zod.core.$strict>, zod.ZodObject<{
693
- status: zod.ZodLiteral<"not-evaluated">;
694
- reason: zod.ZodEnum<{
695
- "not-supported": "not-supported";
696
- unavailable: "unavailable";
697
- }>;
698
- }, zod.core.$strict>], "status">>>;
699
- }, zod.core.$strict>, zod.ZodObject<{
700
- status: zod.ZodLiteral<"partial">;
701
- likelihood: zod.ZodEnum<{
702
- likely: "likely";
703
- possible: "possible";
704
- unlikely: "unlikely";
705
- "very-likely": "very-likely";
706
- "very-unlikely": "very-unlikely";
707
- }>;
708
- score: zod.ZodNumber;
709
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
710
- "criminal-demonstration": "criminal-demonstration";
711
- "criminal-instructions": "criminal-instructions";
712
- "criminal-preparation": "criminal-preparation";
713
- "criminal-promotion": "criminal-promotion";
714
- "criminal-request": "criminal-request";
715
- death: "death";
716
- dehumanization: "dehumanization";
717
- "discriminatory-exclusion": "discriminatory-exclusion";
718
- documentary: "documentary";
719
- "explicit-sexual-language": "explicit-sexual-language";
720
- fictional: "fictional";
721
- graphic: "graphic";
722
- "harassment-encouragement": "harassment-encouragement";
723
- "harassment-threat": "harassment-threat";
724
- "hate-threat": "hate-threat";
725
- historical: "historical";
726
- "identity-abuse": "identity-abuse";
727
- "identity-inferiority": "identity-inferiority";
728
- injury: "injury";
729
- nudity: "nudity";
730
- "personal-abuse": "personal-abuse";
731
- "physical-attack": "physical-attack";
732
- "self-harm-act": "self-harm-act";
733
- "self-harm-encouragement": "self-harm-encouragement";
734
- "self-harm-methods": "self-harm-methods";
735
- "self-harm-preparation": "self-harm-preparation";
736
- "self-harm-thoughts": "self-harm-thoughts";
737
- "sexual-activity": "sexual-activity";
738
- "sexual-harassment": "sexual-harassment";
739
- "sexual-solicitation": "sexual-solicitation";
740
- "support-prevention": "support-prevention";
741
- "targeted-intimidation": "targeted-intimidation";
742
- "violent-encouragement": "violent-encouragement";
743
- "violent-preparation": "violent-preparation";
744
- "violent-threat": "violent-threat";
745
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
746
- status: zod.ZodLiteral<"evaluated">;
747
- score: zod.ZodNumber;
748
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
749
- likelihood: zod.ZodEnum<{
750
- likely: "likely";
751
- possible: "possible";
752
- unlikely: "unlikely";
753
- "very-likely": "very-likely";
754
- "very-unlikely": "very-unlikely";
755
- }>;
756
- }, zod.core.$strict>, zod.ZodObject<{
757
- status: zod.ZodLiteral<"not-evaluated">;
758
- reason: zod.ZodEnum<{
759
- "not-supported": "not-supported";
760
- unavailable: "unavailable";
761
- }>;
762
- }, zod.core.$strict>], "status">>>;
763
- }, zod.core.$strict>, zod.ZodObject<{
764
- status: zod.ZodLiteral<"not-evaluated">;
765
- reason: zod.ZodEnum<{
766
- "not-supported": "not-supported";
767
- unavailable: "unavailable";
768
- }>;
769
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
770
- "criminal-demonstration": "criminal-demonstration";
771
- "criminal-instructions": "criminal-instructions";
772
- "criminal-preparation": "criminal-preparation";
773
- "criminal-promotion": "criminal-promotion";
774
- "criminal-request": "criminal-request";
775
- death: "death";
776
- dehumanization: "dehumanization";
777
- "discriminatory-exclusion": "discriminatory-exclusion";
778
- documentary: "documentary";
779
- "explicit-sexual-language": "explicit-sexual-language";
780
- fictional: "fictional";
781
- graphic: "graphic";
782
- "harassment-encouragement": "harassment-encouragement";
783
- "harassment-threat": "harassment-threat";
784
- "hate-threat": "hate-threat";
785
- historical: "historical";
786
- "identity-abuse": "identity-abuse";
787
- "identity-inferiority": "identity-inferiority";
788
- injury: "injury";
789
- nudity: "nudity";
790
- "personal-abuse": "personal-abuse";
791
- "physical-attack": "physical-attack";
792
- "self-harm-act": "self-harm-act";
793
- "self-harm-encouragement": "self-harm-encouragement";
794
- "self-harm-methods": "self-harm-methods";
795
- "self-harm-preparation": "self-harm-preparation";
796
- "self-harm-thoughts": "self-harm-thoughts";
797
- "sexual-activity": "sexual-activity";
798
- "sexual-harassment": "sexual-harassment";
799
- "sexual-solicitation": "sexual-solicitation";
800
- "support-prevention": "support-prevention";
801
- "targeted-intimidation": "targeted-intimidation";
802
- "violent-encouragement": "violent-encouragement";
803
- "violent-preparation": "violent-preparation";
804
- "violent-threat": "violent-threat";
805
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
806
- status: zod.ZodLiteral<"evaluated">;
807
- score: zod.ZodNumber;
808
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
809
- likelihood: zod.ZodEnum<{
810
- likely: "likely";
811
- possible: "possible";
812
- unlikely: "unlikely";
813
- "very-likely": "very-likely";
814
- "very-unlikely": "very-unlikely";
815
- }>;
816
- }, zod.core.$strict>, zod.ZodObject<{
817
- status: zod.ZodLiteral<"not-evaluated">;
818
- reason: zod.ZodEnum<{
819
- "not-supported": "not-supported";
820
- unavailable: "unavailable";
821
- }>;
822
- }, zod.core.$strict>], "status">>>;
823
- }, zod.core.$strict>], "status">;
824
- hate: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
825
- status: zod.ZodLiteral<"evaluated">;
826
- likelihood: zod.ZodEnum<{
827
- likely: "likely";
828
- possible: "possible";
829
- unlikely: "unlikely";
830
- "very-likely": "very-likely";
831
- "very-unlikely": "very-unlikely";
832
- }>;
833
- score: zod.ZodNumber;
834
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
835
- "criminal-demonstration": "criminal-demonstration";
836
- "criminal-instructions": "criminal-instructions";
837
- "criminal-preparation": "criminal-preparation";
838
- "criminal-promotion": "criminal-promotion";
839
- "criminal-request": "criminal-request";
840
- death: "death";
841
- dehumanization: "dehumanization";
842
- "discriminatory-exclusion": "discriminatory-exclusion";
843
- documentary: "documentary";
844
- "explicit-sexual-language": "explicit-sexual-language";
845
- fictional: "fictional";
846
- graphic: "graphic";
847
- "harassment-encouragement": "harassment-encouragement";
848
- "harassment-threat": "harassment-threat";
849
- "hate-threat": "hate-threat";
850
- historical: "historical";
851
- "identity-abuse": "identity-abuse";
852
- "identity-inferiority": "identity-inferiority";
853
- injury: "injury";
854
- nudity: "nudity";
855
- "personal-abuse": "personal-abuse";
856
- "physical-attack": "physical-attack";
857
- "self-harm-act": "self-harm-act";
858
- "self-harm-encouragement": "self-harm-encouragement";
859
- "self-harm-methods": "self-harm-methods";
860
- "self-harm-preparation": "self-harm-preparation";
861
- "self-harm-thoughts": "self-harm-thoughts";
862
- "sexual-activity": "sexual-activity";
863
- "sexual-harassment": "sexual-harassment";
864
- "sexual-solicitation": "sexual-solicitation";
865
- "support-prevention": "support-prevention";
866
- "targeted-intimidation": "targeted-intimidation";
867
- "violent-encouragement": "violent-encouragement";
868
- "violent-preparation": "violent-preparation";
869
- "violent-threat": "violent-threat";
870
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
871
- status: zod.ZodLiteral<"evaluated">;
872
- score: zod.ZodNumber;
873
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
874
- likelihood: zod.ZodEnum<{
875
- likely: "likely";
876
- possible: "possible";
877
- unlikely: "unlikely";
878
- "very-likely": "very-likely";
879
- "very-unlikely": "very-unlikely";
880
- }>;
881
- }, zod.core.$strict>, zod.ZodObject<{
882
- status: zod.ZodLiteral<"not-evaluated">;
883
- reason: zod.ZodEnum<{
884
- "not-supported": "not-supported";
885
- unavailable: "unavailable";
886
- }>;
887
- }, zod.core.$strict>], "status">>>;
888
- }, zod.core.$strict>, zod.ZodObject<{
889
- status: zod.ZodLiteral<"partial">;
890
- likelihood: zod.ZodEnum<{
891
- likely: "likely";
892
- possible: "possible";
893
- unlikely: "unlikely";
894
- "very-likely": "very-likely";
895
- "very-unlikely": "very-unlikely";
896
- }>;
897
- score: zod.ZodNumber;
898
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
899
- "criminal-demonstration": "criminal-demonstration";
900
- "criminal-instructions": "criminal-instructions";
901
- "criminal-preparation": "criminal-preparation";
902
- "criminal-promotion": "criminal-promotion";
903
- "criminal-request": "criminal-request";
904
- death: "death";
905
- dehumanization: "dehumanization";
906
- "discriminatory-exclusion": "discriminatory-exclusion";
907
- documentary: "documentary";
908
- "explicit-sexual-language": "explicit-sexual-language";
909
- fictional: "fictional";
910
- graphic: "graphic";
911
- "harassment-encouragement": "harassment-encouragement";
912
- "harassment-threat": "harassment-threat";
913
- "hate-threat": "hate-threat";
914
- historical: "historical";
915
- "identity-abuse": "identity-abuse";
916
- "identity-inferiority": "identity-inferiority";
917
- injury: "injury";
918
- nudity: "nudity";
919
- "personal-abuse": "personal-abuse";
920
- "physical-attack": "physical-attack";
921
- "self-harm-act": "self-harm-act";
922
- "self-harm-encouragement": "self-harm-encouragement";
923
- "self-harm-methods": "self-harm-methods";
924
- "self-harm-preparation": "self-harm-preparation";
925
- "self-harm-thoughts": "self-harm-thoughts";
926
- "sexual-activity": "sexual-activity";
927
- "sexual-harassment": "sexual-harassment";
928
- "sexual-solicitation": "sexual-solicitation";
929
- "support-prevention": "support-prevention";
930
- "targeted-intimidation": "targeted-intimidation";
931
- "violent-encouragement": "violent-encouragement";
932
- "violent-preparation": "violent-preparation";
933
- "violent-threat": "violent-threat";
934
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
935
- status: zod.ZodLiteral<"evaluated">;
936
- score: zod.ZodNumber;
937
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
938
- likelihood: zod.ZodEnum<{
939
- likely: "likely";
940
- possible: "possible";
941
- unlikely: "unlikely";
942
- "very-likely": "very-likely";
943
- "very-unlikely": "very-unlikely";
944
- }>;
945
- }, zod.core.$strict>, zod.ZodObject<{
946
- status: zod.ZodLiteral<"not-evaluated">;
947
- reason: zod.ZodEnum<{
948
- "not-supported": "not-supported";
949
- unavailable: "unavailable";
950
- }>;
951
- }, zod.core.$strict>], "status">>>;
952
- }, zod.core.$strict>, zod.ZodObject<{
953
- status: zod.ZodLiteral<"not-evaluated">;
954
- reason: zod.ZodEnum<{
955
- "not-supported": "not-supported";
956
- unavailable: "unavailable";
957
- }>;
958
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
959
- "criminal-demonstration": "criminal-demonstration";
960
- "criminal-instructions": "criminal-instructions";
961
- "criminal-preparation": "criminal-preparation";
962
- "criminal-promotion": "criminal-promotion";
963
- "criminal-request": "criminal-request";
964
- death: "death";
965
- dehumanization: "dehumanization";
966
- "discriminatory-exclusion": "discriminatory-exclusion";
967
- documentary: "documentary";
968
- "explicit-sexual-language": "explicit-sexual-language";
969
- fictional: "fictional";
970
- graphic: "graphic";
971
- "harassment-encouragement": "harassment-encouragement";
972
- "harassment-threat": "harassment-threat";
973
- "hate-threat": "hate-threat";
974
- historical: "historical";
975
- "identity-abuse": "identity-abuse";
976
- "identity-inferiority": "identity-inferiority";
977
- injury: "injury";
978
- nudity: "nudity";
979
- "personal-abuse": "personal-abuse";
980
- "physical-attack": "physical-attack";
981
- "self-harm-act": "self-harm-act";
982
- "self-harm-encouragement": "self-harm-encouragement";
983
- "self-harm-methods": "self-harm-methods";
984
- "self-harm-preparation": "self-harm-preparation";
985
- "self-harm-thoughts": "self-harm-thoughts";
986
- "sexual-activity": "sexual-activity";
987
- "sexual-harassment": "sexual-harassment";
988
- "sexual-solicitation": "sexual-solicitation";
989
- "support-prevention": "support-prevention";
990
- "targeted-intimidation": "targeted-intimidation";
991
- "violent-encouragement": "violent-encouragement";
992
- "violent-preparation": "violent-preparation";
993
- "violent-threat": "violent-threat";
994
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
995
- status: zod.ZodLiteral<"evaluated">;
996
- score: zod.ZodNumber;
997
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
998
- likelihood: zod.ZodEnum<{
999
- likely: "likely";
1000
- possible: "possible";
1001
- unlikely: "unlikely";
1002
- "very-likely": "very-likely";
1003
- "very-unlikely": "very-unlikely";
1004
- }>;
1005
- }, zod.core.$strict>, zod.ZodObject<{
1006
- status: zod.ZodLiteral<"not-evaluated">;
1007
- reason: zod.ZodEnum<{
1008
- "not-supported": "not-supported";
1009
- unavailable: "unavailable";
1010
- }>;
1011
- }, zod.core.$strict>], "status">>>;
1012
- }, zod.core.$strict>], "status">;
1013
- "criminal-activity": zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1014
- status: zod.ZodLiteral<"evaluated">;
1015
- likelihood: zod.ZodEnum<{
1016
- likely: "likely";
1017
- possible: "possible";
1018
- unlikely: "unlikely";
1019
- "very-likely": "very-likely";
1020
- "very-unlikely": "very-unlikely";
1021
- }>;
1022
- score: zod.ZodNumber;
1023
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1024
- "criminal-demonstration": "criminal-demonstration";
1025
- "criminal-instructions": "criminal-instructions";
1026
- "criminal-preparation": "criminal-preparation";
1027
- "criminal-promotion": "criminal-promotion";
1028
- "criminal-request": "criminal-request";
1029
- death: "death";
1030
- dehumanization: "dehumanization";
1031
- "discriminatory-exclusion": "discriminatory-exclusion";
1032
- documentary: "documentary";
1033
- "explicit-sexual-language": "explicit-sexual-language";
1034
- fictional: "fictional";
1035
- graphic: "graphic";
1036
- "harassment-encouragement": "harassment-encouragement";
1037
- "harassment-threat": "harassment-threat";
1038
- "hate-threat": "hate-threat";
1039
- historical: "historical";
1040
- "identity-abuse": "identity-abuse";
1041
- "identity-inferiority": "identity-inferiority";
1042
- injury: "injury";
1043
- nudity: "nudity";
1044
- "personal-abuse": "personal-abuse";
1045
- "physical-attack": "physical-attack";
1046
- "self-harm-act": "self-harm-act";
1047
- "self-harm-encouragement": "self-harm-encouragement";
1048
- "self-harm-methods": "self-harm-methods";
1049
- "self-harm-preparation": "self-harm-preparation";
1050
- "self-harm-thoughts": "self-harm-thoughts";
1051
- "sexual-activity": "sexual-activity";
1052
- "sexual-harassment": "sexual-harassment";
1053
- "sexual-solicitation": "sexual-solicitation";
1054
- "support-prevention": "support-prevention";
1055
- "targeted-intimidation": "targeted-intimidation";
1056
- "violent-encouragement": "violent-encouragement";
1057
- "violent-preparation": "violent-preparation";
1058
- "violent-threat": "violent-threat";
1059
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1060
- status: zod.ZodLiteral<"evaluated">;
1061
- score: zod.ZodNumber;
1062
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1063
- likelihood: zod.ZodEnum<{
1064
- likely: "likely";
1065
- possible: "possible";
1066
- unlikely: "unlikely";
1067
- "very-likely": "very-likely";
1068
- "very-unlikely": "very-unlikely";
1069
- }>;
1070
- }, zod.core.$strict>, zod.ZodObject<{
1071
- status: zod.ZodLiteral<"not-evaluated">;
1072
- reason: zod.ZodEnum<{
1073
- "not-supported": "not-supported";
1074
- unavailable: "unavailable";
1075
- }>;
1076
- }, zod.core.$strict>], "status">>>;
1077
- }, zod.core.$strict>, zod.ZodObject<{
1078
- status: zod.ZodLiteral<"partial">;
1079
- likelihood: zod.ZodEnum<{
1080
- likely: "likely";
1081
- possible: "possible";
1082
- unlikely: "unlikely";
1083
- "very-likely": "very-likely";
1084
- "very-unlikely": "very-unlikely";
1085
- }>;
1086
- score: zod.ZodNumber;
1087
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1088
- "criminal-demonstration": "criminal-demonstration";
1089
- "criminal-instructions": "criminal-instructions";
1090
- "criminal-preparation": "criminal-preparation";
1091
- "criminal-promotion": "criminal-promotion";
1092
- "criminal-request": "criminal-request";
1093
- death: "death";
1094
- dehumanization: "dehumanization";
1095
- "discriminatory-exclusion": "discriminatory-exclusion";
1096
- documentary: "documentary";
1097
- "explicit-sexual-language": "explicit-sexual-language";
1098
- fictional: "fictional";
1099
- graphic: "graphic";
1100
- "harassment-encouragement": "harassment-encouragement";
1101
- "harassment-threat": "harassment-threat";
1102
- "hate-threat": "hate-threat";
1103
- historical: "historical";
1104
- "identity-abuse": "identity-abuse";
1105
- "identity-inferiority": "identity-inferiority";
1106
- injury: "injury";
1107
- nudity: "nudity";
1108
- "personal-abuse": "personal-abuse";
1109
- "physical-attack": "physical-attack";
1110
- "self-harm-act": "self-harm-act";
1111
- "self-harm-encouragement": "self-harm-encouragement";
1112
- "self-harm-methods": "self-harm-methods";
1113
- "self-harm-preparation": "self-harm-preparation";
1114
- "self-harm-thoughts": "self-harm-thoughts";
1115
- "sexual-activity": "sexual-activity";
1116
- "sexual-harassment": "sexual-harassment";
1117
- "sexual-solicitation": "sexual-solicitation";
1118
- "support-prevention": "support-prevention";
1119
- "targeted-intimidation": "targeted-intimidation";
1120
- "violent-encouragement": "violent-encouragement";
1121
- "violent-preparation": "violent-preparation";
1122
- "violent-threat": "violent-threat";
1123
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1124
- status: zod.ZodLiteral<"evaluated">;
1125
- score: zod.ZodNumber;
1126
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1127
- likelihood: zod.ZodEnum<{
1128
- likely: "likely";
1129
- possible: "possible";
1130
- unlikely: "unlikely";
1131
- "very-likely": "very-likely";
1132
- "very-unlikely": "very-unlikely";
1133
- }>;
1134
- }, zod.core.$strict>, zod.ZodObject<{
1135
- status: zod.ZodLiteral<"not-evaluated">;
1136
- reason: zod.ZodEnum<{
1137
- "not-supported": "not-supported";
1138
- unavailable: "unavailable";
1139
- }>;
1140
- }, zod.core.$strict>], "status">>>;
1141
- }, zod.core.$strict>, zod.ZodObject<{
1142
- status: zod.ZodLiteral<"not-evaluated">;
1143
- reason: zod.ZodEnum<{
1144
- "not-supported": "not-supported";
1145
- unavailable: "unavailable";
1146
- }>;
1147
- qualifiers: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<{
1148
- "criminal-demonstration": "criminal-demonstration";
1149
- "criminal-instructions": "criminal-instructions";
1150
- "criminal-preparation": "criminal-preparation";
1151
- "criminal-promotion": "criminal-promotion";
1152
- "criminal-request": "criminal-request";
1153
- death: "death";
1154
- dehumanization: "dehumanization";
1155
- "discriminatory-exclusion": "discriminatory-exclusion";
1156
- documentary: "documentary";
1157
- "explicit-sexual-language": "explicit-sexual-language";
1158
- fictional: "fictional";
1159
- graphic: "graphic";
1160
- "harassment-encouragement": "harassment-encouragement";
1161
- "harassment-threat": "harassment-threat";
1162
- "hate-threat": "hate-threat";
1163
- historical: "historical";
1164
- "identity-abuse": "identity-abuse";
1165
- "identity-inferiority": "identity-inferiority";
1166
- injury: "injury";
1167
- nudity: "nudity";
1168
- "personal-abuse": "personal-abuse";
1169
- "physical-attack": "physical-attack";
1170
- "self-harm-act": "self-harm-act";
1171
- "self-harm-encouragement": "self-harm-encouragement";
1172
- "self-harm-methods": "self-harm-methods";
1173
- "self-harm-preparation": "self-harm-preparation";
1174
- "self-harm-thoughts": "self-harm-thoughts";
1175
- "sexual-activity": "sexual-activity";
1176
- "sexual-harassment": "sexual-harassment";
1177
- "sexual-solicitation": "sexual-solicitation";
1178
- "support-prevention": "support-prevention";
1179
- "targeted-intimidation": "targeted-intimidation";
1180
- "violent-encouragement": "violent-encouragement";
1181
- "violent-preparation": "violent-preparation";
1182
- "violent-threat": "violent-threat";
1183
- }> & zod.core.$partial, zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1184
- status: zod.ZodLiteral<"evaluated">;
1185
- score: zod.ZodNumber;
1186
- scopeScore: zod.ZodOptional<zod.ZodNumber>;
1187
- likelihood: zod.ZodEnum<{
1188
- likely: "likely";
1189
- possible: "possible";
1190
- unlikely: "unlikely";
1191
- "very-likely": "very-likely";
1192
- "very-unlikely": "very-unlikely";
1193
- }>;
1194
- }, zod.core.$strict>, zod.ZodObject<{
1195
- status: zod.ZodLiteral<"not-evaluated">;
1196
- reason: zod.ZodEnum<{
1197
- "not-supported": "not-supported";
1198
- unavailable: "unavailable";
1199
- }>;
1200
- }, zod.core.$strict>], "status">>>;
1201
- }, zod.core.$strict>], "status">;
1202
- }, zod.core.$strict>;
1203
- flagged: zod.ZodBoolean;
1204
- score: zod.ZodNumber;
1205
- notes: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1206
- labels: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1207
- description: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
1208
- score: zod.ZodNumber;
1209
- topicalityScore: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1210
- likelihood: zod.ZodEnum<{
1211
- likely: "likely";
1212
- possible: "possible";
1213
- unlikely: "unlikely";
1214
- "very-likely": "very-likely";
1215
- "very-unlikely": "very-unlikely";
1216
- }>;
1217
- knowledgeBaseId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1218
- }, zod.core.$strip>>>>;
1219
- }, zod.core.$strict>>>;
1220
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
1221
- alert: "alert";
1222
- hide: "hide";
1223
- ignore: "ignore";
1224
- purge: "purge";
1225
- }>>>;
1226
- status: zod.ZodEnum<{
1227
- approved: "approved";
1228
- error: "error";
1229
- pending: "pending";
1230
- rejected: "rejected";
1231
- uploading: "uploading";
1232
- }>;
1233
- safetyHold: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1234
- placedAt: zod.ZodNumber;
1235
- reason: zod.ZodEnum<{
1236
- "suspected-illegal-content": "suspected-illegal-content";
1237
- }>;
1238
- disposedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1239
- }, zod.core.$strip>>>;
1240
- rejectionNote: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1241
- extractedText: zod.ZodOptional<zod.ZodNullable<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
1242
- type: zod.ZodLiteral<"string">;
1243
- content: zod.ZodString;
1244
- }, zod.core.$strip>, zod.ZodObject<{
1245
- type: zod.ZodLiteral<"document">;
1246
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
1247
- }, zod.core.$strip>], "type">>>;
1248
- processingOptions: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1249
- keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1250
- flaggedContentPolicy: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1251
- action: zod.ZodEnum<{
1252
- alert: "alert";
1253
- hide: "hide";
1254
- ignore: "ignore";
1255
- purge: "purge";
1256
- }>;
1257
- }, zod.core.$strip>>>;
1258
- image: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1259
- ocrEnabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1260
- }, zod.core.$strip>>>;
1261
- }, zod.core.$strict>>>;
1262
- visibility: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
1263
- private: "private";
1264
- public: "public";
1265
- }>>>;
1266
- storageDeletedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1267
- }, zod.core.$strip>;
1268
- type Asset = zod.infer<typeof ASSET_SCHEMA>;
1269
- //#endregion
1270
- //#region ../shared/src/Folder.d.ts
1271
- declare const FOLDER_SCHEMA: zod.ZodObject<{
1272
- id: zod.ZodString;
1273
- projectId: zod.ZodString;
1274
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1275
- name: zod.ZodString;
1276
- createdAt: zod.ZodNumber;
1277
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
1278
- }, zod.core.$strip>;
1279
- type Folder = zod.infer<typeof FOLDER_SCHEMA>;
1280
- //#endregion
1281
- //#region ../shared/src/AssetTransform.d.ts
1282
- interface AssetTransform<T extends string = string, O = unknown> {
1283
- type: T;
1284
- options: O;
1285
- }
1286
- interface AssetTransformType<T extends string = string, OSchema extends JSONSchema = JSONSchema> {
1287
- type: T;
1288
- optionsSchema: OSchema;
1289
- }
1290
- declare const DEFAULT_ASSET_TRANSFORMS: {
1291
- readonly imageTransform: {
1292
- readonly type: "imageTransform";
1293
- readonly optionsSchema: {
1294
- type: "object";
1295
- properties: {
1296
- format: {
1297
- type: "string";
1298
- enum: ["jpg", "png", "webp", "avif", "gif"];
1299
- };
1300
- width: {
1301
- type: "integer";
1302
- minimum: 0;
1303
- };
1304
- height: {
1305
- type: "integer";
1306
- minimum: 0;
1307
- };
1308
- background: {
1309
- type: "string";
1310
- };
1311
- blur: {
1312
- type: "number";
1313
- };
1314
- border: {
1315
- type: "object";
1316
- properties: {
1317
- color: {
1318
- type: "string";
1319
- };
1320
- width: {
1321
- type: "number";
1322
- };
1323
- };
1324
- required: [];
1325
- additionalProperties: false;
1326
- };
1327
- brightness: {
1328
- type: "number";
1329
- };
1330
- contrast: {
1331
- type: "number";
1332
- };
1333
- quality: {
1334
- type: "integer";
1335
- minimum: 0;
1336
- maximum: 255;
1337
- };
1338
- fit: {
1339
- type: "string";
1340
- enum: ["scale-down", "contain", "pad", "squeeze", "cover", "crop"];
1341
- };
1342
- flip: {
1343
- type: "string";
1344
- enum: ["h", "v", "hv"];
1345
- };
1346
- gamma: {
1347
- type: "number";
1348
- };
1349
- segment: {
1350
- type: "string";
1351
- enum: ["foreground"];
1352
- };
1353
- gravity: {
1354
- oneOf: [{
1355
- type: "string";
1356
- enum: ["face", "left", "right", "top", "bottom", "center", "auto", "entropy"];
1357
- }, {
1358
- type: "object";
1359
- properties: {
1360
- mode: {
1361
- type: "string";
1362
- enum: ["remainder", "box-center"];
1363
- };
1364
- x: {
1365
- type: "number";
1366
- };
1367
- y: {
1368
- type: "number";
1369
- };
1370
- };
1371
- required: ["mode"];
1372
- additionalProperties: false;
1373
- }];
1374
- };
1375
- rotate: {
1376
- type: "integer";
1377
- enum: [0, 90, 180, 270];
1378
- };
1379
- saturation: {
1380
- type: "number";
1381
- };
1382
- sharpen: {
1383
- type: "number";
1384
- };
1385
- trim: {
1386
- oneOf: [{
1387
- type: "string";
1388
- enum: ["border"];
1389
- }, {
1390
- type: "object";
1391
- properties: {
1392
- top: {
1393
- type: "number";
1394
- };
1395
- bottom: {
1396
- type: "number";
1397
- };
1398
- left: {
1399
- type: "number";
1400
- };
1401
- right: {
1402
- type: "number";
1403
- };
1404
- width: {
1405
- type: "number";
1406
- };
1407
- height: {
1408
- type: "number";
1409
- };
1410
- border: {
1411
- oneOf: [{
1412
- type: "boolean";
1413
- }, {
1414
- type: "object";
1415
- properties: {
1416
- color: {
1417
- type: "string";
1418
- };
1419
- tolerance: {
1420
- type: "number";
1421
- };
1422
- keep: {
1423
- type: "number";
1424
- };
1425
- };
1426
- required: [];
1427
- additionalProperties: false;
1428
- }];
1429
- };
1430
- };
1431
- required: [];
1432
- additionalProperties: false;
1433
- }];
1434
- };
1435
- };
1436
- required: [];
1437
- additionalProperties: false;
1438
- };
1439
- };
1440
- };
1441
- type AssetTransformForType<TType extends AssetTransformType> = TType extends AssetTransformType<infer T, infer O> ? AssetTransform<T, FromSchema<O>> : never;
1442
- type DefaultAssetTransformType = keyof typeof DEFAULT_ASSET_TRANSFORMS;
1443
- type DefaultAssetTransform = AssetTransformForType<(typeof DEFAULT_ASSET_TRANSFORMS)[DefaultAssetTransformType]>;
1444
- //#endregion
1445
- //#region ../shared/src/Lens.d.ts
1446
- declare const LENS_SCHEMA: zod.ZodObject<{
1447
- id: zod.ZodString;
1448
- projectId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1449
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1450
- version: zod.ZodDefault<zod.ZodNumber>;
1451
- identifier: zod.ZodString;
1452
- name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
1453
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1454
- type: zod.ZodEnum<{
1455
- audio: "audio";
1456
- document: "document";
1457
- image: "image";
1458
- video: "video";
1459
- website: "website";
1460
- }>;
1461
- active: zod.ZodBoolean;
1462
- transforms: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1463
- type: zod.ZodString;
1464
- options: zod.ZodUnknown;
1465
- }, zod.core.$strip>>>>;
1466
- createdAt: zod.ZodNumber;
1467
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
1468
- }, zod.core.$strip>;
1469
- type Lens = Omit<zod.infer<typeof LENS_SCHEMA>, "transforms"> & {
1470
- transforms?: Array<DefaultAssetTransform | AssetTransform> | null;
1471
- };
1472
- //#endregion
1473
- //#region ../shared/src/AssetPayload.d.ts
1474
- type AssetDataInput = Blob | Response | ReadableStream<Uint8Array>;
1475
- type AssetBufferInput = ArrayBuffer | (Uint8Array & {
1476
- write(string: string, offset?: number, length?: number, encoding?: string): number;
1477
- });
1478
- type AssetBinaryPayloadInput = {
1479
- plainText: string;
1480
- base64?: never;
1481
- uint8Array?: never;
1482
- buffer?: never;
1483
- data?: never;
1484
- } | {
1485
- base64: string;
1486
- plainText?: never;
1487
- uint8Array?: never;
1488
- buffer?: never;
1489
- data?: never;
1490
- } | {
1491
- uint8Array: number[] | Uint8Array;
1492
- plainText?: never;
1493
- base64?: never;
1494
- buffer?: never;
1495
- data?: never;
1496
- } | {
1497
- buffer: AssetBufferInput;
1498
- plainText?: never;
1499
- base64?: never;
1500
- uint8Array?: never;
1501
- data?: never;
1502
- } | {
1503
- data: AssetDataInput;
1504
- plainText?: never;
1505
- base64?: never;
1506
- uint8Array?: never;
1507
- buffer?: never;
1508
- };
1509
- //#endregion
1510
- //#region ../shared/src/Page.d.ts
1511
- declare const PAGE_QUERY_SCHEMA: zod.ZodObject<{
1512
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
1513
- pageSize: zod.ZodOptional<zod.ZodNumber>;
1514
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1515
- field: zod.ZodString;
1516
- direction: zod.ZodEnum<{
1517
- ASC: "ASC";
1518
- DESC: "DESC";
1519
- }>;
1520
- }, zod.core.$strip>>>;
1521
- }, zod.core.$strip>;
1522
- type PageQuery = zod.infer<typeof PAGE_QUERY_SCHEMA>;
1523
- interface Page<T> extends Required<PageQuery> {
1524
- items: T[];
1525
- total: number | undefined;
1526
- hasMore: boolean;
1527
- }
1528
- //#endregion
1529
- //#region ../shared/src/Event.d.ts
1530
- declare const EVENT_SCHEMA: zod.ZodObject<{
1531
- id: zod.ZodString;
1532
- projectId: zod.ZodString;
1533
- userId: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1534
- type: zod.ZodEnum<{
1535
- "asset.classified": "asset.classified";
1536
- "asset.flagged": "asset.flagged";
1537
- "asset.uploaded": "asset.uploaded";
1538
- }>;
1539
- severity: zod.ZodEnum<{
1540
- high: "high";
1541
- low: "low";
1542
- }>;
1543
- title: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
1544
- description: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1545
- assetId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1546
- asset: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
1547
- id: zod.ZodString;
1548
- externalId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1549
- status: zod.ZodEnum<{
1550
- approved: "approved";
1551
- error: "error";
1552
- pending: "pending";
1553
- rejected: "rejected";
1554
- uploading: "uploading";
1555
- }>;
1556
- flagged: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1557
- moderationAction: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
1558
- alert: "alert";
1559
- hide: "hide";
1560
- ignore: "ignore";
1561
- purge: "purge";
1562
- }>>>;
1563
- }, zod.core.$strip>>>;
1564
- metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
1565
- notify: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1566
- createdAt: zod.ZodNumber;
1567
- updatedAt: zod.ZodOptional<zod.ZodNumber>;
1568
- readAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
1569
- }, zod.core.$strip>;
1570
- type Event = zod.infer<typeof EVENT_SCHEMA>;
1571
- //#endregion
1572
- //#region ../shared/src/RequestInfo.d.ts
1573
- interface RequestErrorCode {
1574
- getId(): string;
1575
- getDefaultMessage(): string | undefined;
1576
- is(error: any): error is any;
1577
- getStatus(): number | undefined;
1578
- }
1579
- //#endregion
1580
- //#region ../shared/src/PublicApiSchemas.d.ts
1581
- declare const POST_FOLDER_BODY_SCHEMA: zod.ZodObject<{
1582
- name: zod.ZodString;
1583
- parentId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1584
- }, zod.core.$strip>;
1585
- type PostFolderBody = zod.infer<typeof POST_FOLDER_BODY_SCHEMA>;
1586
- declare const PATCH_FOLDER_BODY_SCHEMA: zod.ZodObject<{
1587
- name: zod.ZodOptional<zod.ZodString>;
1588
- }, zod.core.$strip>;
1589
- type PatchFolderBody = zod.infer<typeof PATCH_FOLDER_BODY_SCHEMA>;
1590
- declare const GET_ASSETS_PAGE_QUERY_SCHEMA: zod.ZodObject<{
1591
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
1592
- pageSize: zod.ZodOptional<zod.ZodNumber>;
1593
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1594
- field: zod.ZodString;
1595
- direction: zod.ZodEnum<{
1596
- ASC: "ASC";
1597
- DESC: "DESC";
1598
- }>;
1599
- }, zod.core.$strip>>>;
1600
- filter: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
1601
- folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1602
- }, zod.core.$strip>;
1603
- type GetAssetsPageQuery = zod.infer<typeof GET_ASSETS_PAGE_QUERY_SCHEMA>;
1604
- type GetAssetsPageResponse = Page<Asset>;
1605
- type GetAssetResponse = Asset;
1606
- declare const GET_ASSET_CHILDREN_QUERY_SCHEMA: zod.ZodObject<{
1607
- pageIndex: zod.ZodDefault<zod.ZodNumber>;
1608
- pageSize: zod.ZodOptional<zod.ZodNumber>;
1609
- ordering: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1610
- field: zod.ZodString;
1611
- direction: zod.ZodEnum<{
1612
- ASC: "ASC";
1613
- DESC: "DESC";
1614
- }>;
1615
- }, zod.core.$strip>>>;
1616
- }, zod.core.$strip>;
1617
- type GetAssetChildrenQuery = zod.infer<typeof GET_ASSET_CHILDREN_QUERY_SCHEMA>;
1618
- type GetAssetChildrenResponse = Page<Asset>;
1619
- declare const POST_ASSET_SIGNED_URL_RESPONSE_SCHEMA: zod.ZodObject<{
1620
- url: zod.ZodString;
1621
- expiresAt: zod.ZodNumber;
1622
- }, zod.core.$strip>;
1623
- type PostAssetSignedUrlResponse = zod.infer<typeof POST_ASSET_SIGNED_URL_RESPONSE_SCHEMA>;
1624
- declare const PATCH_ASSET_BODY_SCHEMA: zod.ZodObject<{
1625
- name: zod.ZodOptional<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>;
1626
- description: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
1627
- externalId: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>;
1628
- externalUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
1629
- metadata: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1630
- id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
1631
- value: zod.ZodJSONSchema;
1632
- }, zod.core.$strip>>>>>;
1633
- tags: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>>>;
1634
- visibility: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
1635
- private: "private";
1636
- public: "public";
1637
- }>>>>;
1638
- }, zod.core.$strip>;
1639
- type PatchAssetBody = zod.infer<typeof PATCH_ASSET_BODY_SCHEMA>;
1640
- declare const GET_EVENTS_QUERY_SCHEMA: zod.ZodObject<{
1641
- after: zod.ZodOptional<zod.ZodString>;
1642
- limit: zod.ZodDefault<zod.ZodNumber>;
1643
- }, zod.core.$strip>;
1644
- type GetEventsQuery = zod.input<typeof GET_EVENTS_QUERY_SCHEMA>;
1645
- type GetEventsResponse = {
1646
- events: Event[];
1647
- cursor: string;
1648
- hasMore: boolean;
1649
- };
1650
- //#endregion
1651
- //#region src/client/CalmLensTypes.d.ts
1652
- interface CalmLensClientOptions {
1653
- apiKey: string;
1654
- projectId: string;
1655
- baseUrl?: string;
1656
- cdnBaseUrl?: string;
1657
- cdnFetch?: typeof fetch;
1658
- uploadFetch?: typeof fetch;
1659
- requestBackend?: RequestBackend;
1660
- }
1661
- interface CdnAssetUrlOptions {
1662
- assetIdentifier: string;
1663
- resource?: "content" | "preview";
1664
- lens?: string;
1665
- transform?: string;
1666
- }
1667
- interface CdnServeOptions extends CdnAssetUrlOptions {
1668
- init?: RequestInit;
1669
- }
1670
- interface CreateAssetSignedUrlOptions {
1671
- assetId: string;
1672
- resource?: "content" | "preview";
1673
- lens?: string;
1674
- transform?: string;
1675
- expiresInSeconds?: number;
1676
- }
1677
- type EnsureLensOptions = Pick<Lens, "identifier" | "name" | "description" | "type" | "active" | "transforms" | "version">;
1678
- interface EnsureLensesOptions {
1679
- lenses: EnsureLensOptions[];
1680
- }
1681
- type ListAssetsOptions = Partial<GetAssetsPageQuery>;
1682
- type ListEventsOptions = GetEventsQuery;
1683
- interface RetrieveAssetOptions {
1684
- assetId: string;
1685
- }
1686
- interface RetryAssetOptions {
1687
- assetId: string;
1688
- }
1689
- type UpdateAssetOptions = PatchAssetBody & {
1690
- assetId: string;
1691
- };
1692
- type CreateFolderOptions = PostFolderBody;
1693
- type UpdateFolderOptions = PatchFolderBody & {
1694
- folderId: string;
1695
- };
1696
- interface FolderIdOptions {
1697
- folderId: string;
1698
- }
1699
- interface MoveFolderOptions extends FolderIdOptions {
1700
- parentId: string | null;
1701
- }
1702
- interface MoveAssetOptions {
1703
- assetId: string;
1704
- folderId: string | null;
1705
- }
1706
- type ListAssetChildrenOptions = Partial<GetAssetChildrenQuery> & {
1707
- assetId: string;
1708
- };
1709
- type AssetContentOptions = AssetBinaryPayloadInput & {
1710
- type: string;
1711
- sizeInBytes?: number;
1712
- };
1713
- type MultipartUploadPartOptions = AssetBinaryPayloadInput & {
1714
- partNumber: number;
1715
- isFinal?: boolean;
1716
- sizeInBytes?: number;
1717
- };
1718
- interface UploadAssetPartOptions {
1719
- assetId: string;
1720
- part: MultipartUploadPartOptions;
1721
- }
1722
- type CreateMultipartUploadPartOptions = AssetContentOptions & {
1723
- partNumber?: number;
1724
- isFinal?: boolean;
1725
- sizeInBytes?: number;
1726
- };
1727
- interface SubmitAssetCommonOptions {
1728
- name: string;
1729
- description?: string;
1730
- processingOptions?: Asset["processingOptions"];
1731
- visibility?: "public" | "private";
1732
- metadata?: Asset["metadata"];
1733
- externalId?: string;
1734
- externalUrl?: string;
1735
- folderId?: string | null;
1736
- isFinal?: never;
1737
- }
1738
- type SubmitAssetOptions = (SubmitAssetCommonOptions & {
1739
- content: AssetContentOptions;
1740
- }) | (SubmitAssetCommonOptions & {
1741
- url: string;
1742
- }) | (SubmitAssetCommonOptions & {
1743
- part: CreateMultipartUploadPartOptions;
1744
- sizeInBytes?: number;
1745
- });
1746
- interface ModerateTextOptions extends Omit<SubmitAssetCommonOptions, "name" | "visibility" | "isFinal"> {
1747
- /** The text to moderate, such as a comment, caption, bio or chat message. */
1748
- text: string;
1749
- /** Asset name shown in the portal. Defaults to `"text"`. */
1750
- name?: string;
1751
- }
1752
- interface MultipartUploadOptions extends SubmitAssetCommonOptions {
1753
- part: CreateMultipartUploadPartOptions;
1754
- }
1755
- interface VerifyWebhookSignatureOptions {
1756
- payload: string | object;
1757
- signatureHex: string;
1758
- secret: string;
1759
- }
1760
- //#endregion
1761
- export { RequestErrorCode as A, UploadAssetPartOptions as C, GetAssetsPageResponse as D, GetAssetResponse as E, AssetStatus as F, Lens as M, Folder as N, GetEventsResponse as O, Asset as P, UpdateFolderOptions as S, GetAssetChildrenResponse as T, MultipartUploadPartOptions as _, CreateFolderOptions as a, SubmitAssetOptions as b, EnsureLensesOptions as c, ListAssetsOptions as d, ListEventsOptions as f, MultipartUploadOptions as g, MoveFolderOptions as h, CreateAssetSignedUrlOptions as i, AssetBinaryPayloadInput as j, PostAssetSignedUrlResponse as k, FolderIdOptions as l, MoveAssetOptions as m, CdnAssetUrlOptions as n, CreateMultipartUploadPartOptions as o, ModerateTextOptions as p, CdnServeOptions as r, EnsureLensOptions as s, CalmLensClientOptions as t, ListAssetChildrenOptions as u, RetrieveAssetOptions as v, VerifyWebhookSignatureOptions as w, UpdateAssetOptions as x, RetryAssetOptions as y };