@casual-simulation/aux-records 3.3.7 → 3.3.8-alpha.10185283421

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/AnthropicAIChatInterface.d.ts +18 -0
  2. package/AnthropicAIChatInterface.js +238 -0
  3. package/AnthropicAIChatInterface.js.map +1 -0
  4. package/AuthController.d.ts +2 -0
  5. package/AuthController.js +22 -12
  6. package/AuthController.js.map +1 -1
  7. package/FileRecordsStore.d.ts +4 -0
  8. package/GoogleAIChatInterface.js +5 -1
  9. package/GoogleAIChatInterface.js.map +1 -1
  10. package/InstrumentedHashHelpers.d.ts +28 -0
  11. package/InstrumentedHashHelpers.js +61 -0
  12. package/InstrumentedHashHelpers.js.map +1 -0
  13. package/MemoryModerationJobProvider.d.ts +15 -0
  14. package/MemoryModerationJobProvider.js +45 -0
  15. package/MemoryModerationJobProvider.js.map +1 -0
  16. package/MemoryStore.d.ts +9 -1
  17. package/MemoryStore.js +30 -0
  18. package/MemoryStore.js.map +1 -1
  19. package/ModerationConfiguration.d.ts +84 -0
  20. package/ModerationConfiguration.js +95 -0
  21. package/ModerationConfiguration.js.map +1 -1
  22. package/ModerationController.d.ts +59 -2
  23. package/ModerationController.js +171 -1
  24. package/ModerationController.js.map +1 -1
  25. package/ModerationJobProvider.d.ts +110 -0
  26. package/ModerationJobProvider.js +2 -0
  27. package/ModerationJobProvider.js.map +1 -0
  28. package/ModerationScanner.d.ts +1 -0
  29. package/ModerationScanner.js +1 -0
  30. package/ModerationScanner.js.map +1 -0
  31. package/ModerationStore.d.ts +90 -0
  32. package/NotificationMessenger.d.ts +42 -2
  33. package/NotificationMessenger.js +27 -0
  34. package/NotificationMessenger.js.map +1 -1
  35. package/RecordsController.d.ts +1 -0
  36. package/RecordsController.js +9 -3
  37. package/RecordsController.js.map +1 -1
  38. package/RecordsServer.d.ts +12 -0
  39. package/RecordsServer.js +82 -1
  40. package/RecordsServer.js.map +1 -1
  41. package/ServerConfig.d.ts +392 -16
  42. package/ServerConfig.js +126 -2
  43. package/ServerConfig.js.map +1 -1
  44. package/StabilityAIImageInterface.d.ts +9 -0
  45. package/StabilityAIImageInterface.js +156 -0
  46. package/StabilityAIImageInterface.js.map +1 -1
  47. package/Utils.js.map +1 -1
  48. package/index.d.ts +3 -0
  49. package/index.js +3 -0
  50. package/index.js.map +1 -1
  51. package/package.json +5 -4
  52. package/tracing/TracingDecorators.d.ts +51 -3
  53. package/tracing/TracingDecorators.js +41 -38
  54. package/tracing/TracingDecorators.js.map +1 -1
  55. package/websockets/WebsocketController.js +1 -1
  56. package/websockets/WebsocketController.js.map +1 -1
package/ServerConfig.d.ts CHANGED
@@ -109,6 +109,192 @@ export declare const serverConfigSchema: z.ZodObject<{
109
109
  };
110
110
  host?: string;
111
111
  }>>;
112
+ rekognition: z.ZodOptional<z.ZodObject<{
113
+ moderation: z.ZodObject<{
114
+ files: z.ZodObject<{
115
+ job: z.ZodOptional<z.ZodObject<{
116
+ sourceBucket: z.ZodString;
117
+ reportBucket: z.ZodString;
118
+ priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
119
+ roleArn: z.ZodString;
120
+ lambdaFunctionArn: z.ZodString;
121
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
122
+ key: z.ZodString;
123
+ value: z.ZodString;
124
+ }, "strip", z.ZodTypeAny, {
125
+ key?: string;
126
+ value?: string;
127
+ }, {
128
+ key?: string;
129
+ value?: string;
130
+ }>, "many">>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ sourceBucket?: string;
133
+ reportBucket?: string;
134
+ priority?: number;
135
+ roleArn?: string;
136
+ lambdaFunctionArn?: string;
137
+ tags?: {
138
+ key?: string;
139
+ value?: string;
140
+ }[];
141
+ }, {
142
+ sourceBucket?: string;
143
+ reportBucket?: string;
144
+ priority?: number;
145
+ roleArn?: string;
146
+ lambdaFunctionArn?: string;
147
+ tags?: {
148
+ key?: string;
149
+ value?: string;
150
+ }[];
151
+ }>>;
152
+ scan: z.ZodOptional<z.ZodObject<{
153
+ projectVersionArn: z.ZodOptional<z.ZodString>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ projectVersionArn?: string;
156
+ }, {
157
+ projectVersionArn?: string;
158
+ }>>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ job?: {
161
+ sourceBucket?: string;
162
+ reportBucket?: string;
163
+ priority?: number;
164
+ roleArn?: string;
165
+ lambdaFunctionArn?: string;
166
+ tags?: {
167
+ key?: string;
168
+ value?: string;
169
+ }[];
170
+ };
171
+ scan?: {
172
+ projectVersionArn?: string;
173
+ };
174
+ }, {
175
+ job?: {
176
+ sourceBucket?: string;
177
+ reportBucket?: string;
178
+ priority?: number;
179
+ roleArn?: string;
180
+ lambdaFunctionArn?: string;
181
+ tags?: {
182
+ key?: string;
183
+ value?: string;
184
+ }[];
185
+ };
186
+ scan?: {
187
+ projectVersionArn?: string;
188
+ };
189
+ }>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ files?: {
192
+ job?: {
193
+ sourceBucket?: string;
194
+ reportBucket?: string;
195
+ priority?: number;
196
+ roleArn?: string;
197
+ lambdaFunctionArn?: string;
198
+ tags?: {
199
+ key?: string;
200
+ value?: string;
201
+ }[];
202
+ };
203
+ scan?: {
204
+ projectVersionArn?: string;
205
+ };
206
+ };
207
+ }, {
208
+ files?: {
209
+ job?: {
210
+ sourceBucket?: string;
211
+ reportBucket?: string;
212
+ priority?: number;
213
+ roleArn?: string;
214
+ lambdaFunctionArn?: string;
215
+ tags?: {
216
+ key?: string;
217
+ value?: string;
218
+ }[];
219
+ };
220
+ scan?: {
221
+ projectVersionArn?: string;
222
+ };
223
+ };
224
+ }>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ moderation?: {
227
+ files?: {
228
+ job?: {
229
+ sourceBucket?: string;
230
+ reportBucket?: string;
231
+ priority?: number;
232
+ roleArn?: string;
233
+ lambdaFunctionArn?: string;
234
+ tags?: {
235
+ key?: string;
236
+ value?: string;
237
+ }[];
238
+ };
239
+ scan?: {
240
+ projectVersionArn?: string;
241
+ };
242
+ };
243
+ };
244
+ }, {
245
+ moderation?: {
246
+ files?: {
247
+ job?: {
248
+ sourceBucket?: string;
249
+ reportBucket?: string;
250
+ priority?: number;
251
+ roleArn?: string;
252
+ lambdaFunctionArn?: string;
253
+ tags?: {
254
+ key?: string;
255
+ value?: string;
256
+ }[];
257
+ };
258
+ scan?: {
259
+ projectVersionArn?: string;
260
+ };
261
+ };
262
+ };
263
+ }>>;
264
+ minio: z.ZodOptional<z.ZodObject<{
265
+ endpoint: z.ZodString;
266
+ port: z.ZodOptional<z.ZodNumber>;
267
+ useSSL: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
268
+ accessKey: z.ZodString;
269
+ secretKey: z.ZodString;
270
+ region: z.ZodDefault<z.ZodOptional<z.ZodString>>;
271
+ filesBucket: z.ZodString;
272
+ defaultFilesBucket: z.ZodOptional<z.ZodString>;
273
+ publicFilesUrl: z.ZodOptional<z.ZodString>;
274
+ messagesBucket: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ endpoint?: string;
277
+ port?: number;
278
+ useSSL?: boolean;
279
+ accessKey?: string;
280
+ secretKey?: string;
281
+ region?: string;
282
+ filesBucket?: string;
283
+ defaultFilesBucket?: string;
284
+ publicFilesUrl?: string;
285
+ messagesBucket?: string;
286
+ }, {
287
+ endpoint?: string;
288
+ port?: number;
289
+ useSSL?: boolean;
290
+ accessKey?: string;
291
+ secretKey?: string;
292
+ region?: string;
293
+ filesBucket?: string;
294
+ defaultFilesBucket?: string;
295
+ publicFilesUrl?: string;
296
+ messagesBucket?: string;
297
+ }>>;
112
298
  apiGateway: z.ZodOptional<z.ZodObject<{
113
299
  endpoint: z.ZodString;
114
300
  }, "strip", z.ZodTypeAny, {
@@ -515,6 +701,13 @@ export declare const serverConfigSchema: z.ZodObject<{
515
701
  }, {
516
702
  apiKey?: string;
517
703
  }>>;
704
+ anthropicai: z.ZodOptional<z.ZodObject<{
705
+ apiKey: z.ZodString;
706
+ }, "strip", z.ZodTypeAny, {
707
+ apiKey?: string;
708
+ }, {
709
+ apiKey?: string;
710
+ }>>;
518
711
  humeai: z.ZodOptional<z.ZodObject<{
519
712
  apiKey: z.ZodString;
520
713
  secretKey: z.ZodString;
@@ -537,32 +730,32 @@ export declare const serverConfigSchema: z.ZodObject<{
537
730
  }>>;
538
731
  ai: z.ZodOptional<z.ZodObject<{
539
732
  chat: z.ZodOptional<z.ZodObject<{
540
- provider: z.ZodEnum<["openai", "google"]>;
733
+ provider: z.ZodEnum<["openai", "google", "anthropic"]>;
541
734
  defaultModel: z.ZodString;
542
735
  allowedModels: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
543
- provider: z.ZodOptional<z.ZodEnum<["openai", "google"]>>;
736
+ provider: z.ZodOptional<z.ZodEnum<["openai", "google", "anthropic"]>>;
544
737
  model: z.ZodString;
545
738
  }, "strip", z.ZodTypeAny, {
546
- provider?: "google" | "openai";
739
+ provider?: "anthropic" | "google" | "openai";
547
740
  model?: string;
548
741
  }, {
549
- provider?: "google" | "openai";
742
+ provider?: "anthropic" | "google" | "openai";
550
743
  model?: string;
551
744
  }>]>, "many">;
552
745
  allowedSubscriptionTiers: z.ZodUnion<[z.ZodLiteral<true>, z.ZodArray<z.ZodString, "many">]>;
553
746
  }, "strip", z.ZodTypeAny, {
554
- provider?: "google" | "openai";
747
+ provider?: "anthropic" | "google" | "openai";
555
748
  defaultModel?: string;
556
749
  allowedModels?: (string | {
557
- provider?: "google" | "openai";
750
+ provider?: "anthropic" | "google" | "openai";
558
751
  model?: string;
559
752
  })[];
560
753
  allowedSubscriptionTiers?: true | string[];
561
754
  }, {
562
- provider?: "google" | "openai";
755
+ provider?: "anthropic" | "google" | "openai";
563
756
  defaultModel?: string;
564
757
  allowedModels?: (string | {
565
- provider?: "google" | "openai";
758
+ provider?: "anthropic" | "google" | "openai";
566
759
  model?: string;
567
760
  })[];
568
761
  allowedSubscriptionTiers?: true | string[];
@@ -625,10 +818,10 @@ export declare const serverConfigSchema: z.ZodObject<{
625
818
  }>>;
626
819
  }, "strip", z.ZodTypeAny, {
627
820
  chat?: {
628
- provider?: "google" | "openai";
821
+ provider?: "anthropic" | "google" | "openai";
629
822
  defaultModel?: string;
630
823
  allowedModels?: (string | {
631
- provider?: "google" | "openai";
824
+ provider?: "anthropic" | "google" | "openai";
632
825
  model?: string;
633
826
  })[];
634
827
  allowedSubscriptionTiers?: true | string[];
@@ -653,10 +846,10 @@ export declare const serverConfigSchema: z.ZodObject<{
653
846
  };
654
847
  }, {
655
848
  chat?: {
656
- provider?: "google" | "openai";
849
+ provider?: "anthropic" | "google" | "openai";
657
850
  defaultModel?: string;
658
851
  allowedModels?: (string | {
659
- provider?: "google" | "openai";
852
+ provider?: "anthropic" | "google" | "openai";
660
853
  model?: string;
661
854
  })[];
662
855
  allowedSubscriptionTiers?: true | string[];
@@ -837,6 +1030,7 @@ export declare const serverConfigSchema: z.ZodObject<{
837
1030
  prisma?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
838
1031
  redis?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
839
1032
  }>>>;
1033
+ resource: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
840
1034
  }, "strip", z.ZodTypeAny, {
841
1035
  tracing?: {
842
1036
  exporter?: "none" | "console" | "otlp";
@@ -853,6 +1047,7 @@ export declare const serverConfigSchema: z.ZodObject<{
853
1047
  prisma?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
854
1048
  redis?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
855
1049
  };
1050
+ resource?: Record<string, string>;
856
1051
  }, {
857
1052
  tracing?: {
858
1053
  exporter?: "none" | "console" | "otlp";
@@ -869,6 +1064,7 @@ export declare const serverConfigSchema: z.ZodObject<{
869
1064
  prisma?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
870
1065
  redis?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
871
1066
  };
1067
+ resource?: Record<string, string>;
872
1068
  }>>;
873
1069
  subscriptions: z.ZodOptional<z.ZodObject<{
874
1070
  webhookSecret: z.ZodString;
@@ -4422,10 +4618,94 @@ export declare const serverConfigSchema: z.ZodObject<{
4422
4618
  }>>;
4423
4619
  moderation: z.ZodOptional<z.ZodObject<{
4424
4620
  allowUnauthenticatedReports: z.ZodDefault<z.ZodBoolean>;
4621
+ jobs: z.ZodOptional<z.ZodObject<{
4622
+ files: z.ZodObject<{
4623
+ enabled: z.ZodBoolean;
4624
+ fileExtensions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4625
+ minConfidence: z.ZodOptional<z.ZodNumber>;
4626
+ bannedLabels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4627
+ label: z.ZodOptional<z.ZodString>;
4628
+ threshold: z.ZodDefault<z.ZodNumber>;
4629
+ actions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["notify"]>, "many">>>;
4630
+ }, "strip", z.ZodTypeAny, {
4631
+ label?: string;
4632
+ threshold?: number;
4633
+ actions?: "notify"[];
4634
+ }, {
4635
+ label?: string;
4636
+ threshold?: number;
4637
+ actions?: "notify"[];
4638
+ }>, "many">>>;
4639
+ }, "strip", z.ZodTypeAny, {
4640
+ enabled?: boolean;
4641
+ fileExtensions?: string[];
4642
+ minConfidence?: number;
4643
+ bannedLabels?: {
4644
+ label?: string;
4645
+ threshold?: number;
4646
+ actions?: "notify"[];
4647
+ }[];
4648
+ }, {
4649
+ enabled?: boolean;
4650
+ fileExtensions?: string[];
4651
+ minConfidence?: number;
4652
+ bannedLabels?: {
4653
+ label?: string;
4654
+ threshold?: number;
4655
+ actions?: "notify"[];
4656
+ }[];
4657
+ }>;
4658
+ }, "strip", z.ZodTypeAny, {
4659
+ files?: {
4660
+ enabled?: boolean;
4661
+ fileExtensions?: string[];
4662
+ minConfidence?: number;
4663
+ bannedLabels?: {
4664
+ label?: string;
4665
+ threshold?: number;
4666
+ actions?: "notify"[];
4667
+ }[];
4668
+ };
4669
+ }, {
4670
+ files?: {
4671
+ enabled?: boolean;
4672
+ fileExtensions?: string[];
4673
+ minConfidence?: number;
4674
+ bannedLabels?: {
4675
+ label?: string;
4676
+ threshold?: number;
4677
+ actions?: "notify"[];
4678
+ }[];
4679
+ };
4680
+ }>>;
4425
4681
  }, "strip", z.ZodTypeAny, {
4426
4682
  allowUnauthenticatedReports?: boolean;
4683
+ jobs?: {
4684
+ files?: {
4685
+ enabled?: boolean;
4686
+ fileExtensions?: string[];
4687
+ minConfidence?: number;
4688
+ bannedLabels?: {
4689
+ label?: string;
4690
+ threshold?: number;
4691
+ actions?: "notify"[];
4692
+ }[];
4693
+ };
4694
+ };
4427
4695
  }, {
4428
4696
  allowUnauthenticatedReports?: boolean;
4697
+ jobs?: {
4698
+ files?: {
4699
+ enabled?: boolean;
4700
+ fileExtensions?: string[];
4701
+ minConfidence?: number;
4702
+ bannedLabels?: {
4703
+ label?: string;
4704
+ threshold?: number;
4705
+ actions?: "notify"[];
4706
+ }[];
4707
+ };
4708
+ };
4429
4709
  }>>;
4430
4710
  }, "strip", z.ZodTypeAny, {
4431
4711
  s3?: {
@@ -4441,6 +4721,38 @@ export declare const serverConfigSchema: z.ZodObject<{
4441
4721
  };
4442
4722
  host?: string;
4443
4723
  };
4724
+ rekognition?: {
4725
+ moderation?: {
4726
+ files?: {
4727
+ job?: {
4728
+ sourceBucket?: string;
4729
+ reportBucket?: string;
4730
+ priority?: number;
4731
+ roleArn?: string;
4732
+ lambdaFunctionArn?: string;
4733
+ tags?: {
4734
+ key?: string;
4735
+ value?: string;
4736
+ }[];
4737
+ };
4738
+ scan?: {
4739
+ projectVersionArn?: string;
4740
+ };
4741
+ };
4742
+ };
4743
+ };
4744
+ minio?: {
4745
+ endpoint?: string;
4746
+ port?: number;
4747
+ useSSL?: boolean;
4748
+ accessKey?: string;
4749
+ secretKey?: string;
4750
+ region?: string;
4751
+ filesBucket?: string;
4752
+ defaultFilesBucket?: string;
4753
+ publicFilesUrl?: string;
4754
+ messagesBucket?: string;
4755
+ };
4444
4756
  apiGateway?: {
4445
4757
  endpoint?: string;
4446
4758
  };
@@ -4545,6 +4857,9 @@ export declare const serverConfigSchema: z.ZodObject<{
4545
4857
  googleai?: {
4546
4858
  apiKey?: string;
4547
4859
  };
4860
+ anthropicai?: {
4861
+ apiKey?: string;
4862
+ };
4548
4863
  humeai?: {
4549
4864
  apiKey?: string;
4550
4865
  secretKey?: string;
@@ -4555,10 +4870,10 @@ export declare const serverConfigSchema: z.ZodObject<{
4555
4870
  };
4556
4871
  ai?: {
4557
4872
  chat?: {
4558
- provider?: "google" | "openai";
4873
+ provider?: "anthropic" | "google" | "openai";
4559
4874
  defaultModel?: string;
4560
4875
  allowedModels?: (string | {
4561
- provider?: "google" | "openai";
4876
+ provider?: "anthropic" | "google" | "openai";
4562
4877
  model?: string;
4563
4878
  })[];
4564
4879
  allowedSubscriptionTiers?: true | string[];
@@ -4629,6 +4944,7 @@ export declare const serverConfigSchema: z.ZodObject<{
4629
4944
  prisma?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
4630
4945
  redis?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
4631
4946
  };
4947
+ resource?: Record<string, string>;
4632
4948
  };
4633
4949
  subscriptions?: {
4634
4950
  webhookSecret?: string;
@@ -5248,6 +5564,18 @@ export declare const serverConfigSchema: z.ZodObject<{
5248
5564
  };
5249
5565
  moderation?: {
5250
5566
  allowUnauthenticatedReports?: boolean;
5567
+ jobs?: {
5568
+ files?: {
5569
+ enabled?: boolean;
5570
+ fileExtensions?: string[];
5571
+ minConfidence?: number;
5572
+ bannedLabels?: {
5573
+ label?: string;
5574
+ threshold?: number;
5575
+ actions?: "notify"[];
5576
+ }[];
5577
+ };
5578
+ };
5251
5579
  };
5252
5580
  }, {
5253
5581
  s3?: {
@@ -5263,6 +5591,38 @@ export declare const serverConfigSchema: z.ZodObject<{
5263
5591
  };
5264
5592
  host?: string;
5265
5593
  };
5594
+ rekognition?: {
5595
+ moderation?: {
5596
+ files?: {
5597
+ job?: {
5598
+ sourceBucket?: string;
5599
+ reportBucket?: string;
5600
+ priority?: number;
5601
+ roleArn?: string;
5602
+ lambdaFunctionArn?: string;
5603
+ tags?: {
5604
+ key?: string;
5605
+ value?: string;
5606
+ }[];
5607
+ };
5608
+ scan?: {
5609
+ projectVersionArn?: string;
5610
+ };
5611
+ };
5612
+ };
5613
+ };
5614
+ minio?: {
5615
+ endpoint?: string;
5616
+ port?: number;
5617
+ useSSL?: boolean;
5618
+ accessKey?: string;
5619
+ secretKey?: string;
5620
+ region?: string;
5621
+ filesBucket?: string;
5622
+ defaultFilesBucket?: string;
5623
+ publicFilesUrl?: string;
5624
+ messagesBucket?: string;
5625
+ };
5266
5626
  apiGateway?: {
5267
5627
  endpoint?: string;
5268
5628
  };
@@ -5367,6 +5727,9 @@ export declare const serverConfigSchema: z.ZodObject<{
5367
5727
  googleai?: {
5368
5728
  apiKey?: string;
5369
5729
  };
5730
+ anthropicai?: {
5731
+ apiKey?: string;
5732
+ };
5370
5733
  humeai?: {
5371
5734
  apiKey?: string;
5372
5735
  secretKey?: string;
@@ -5377,10 +5740,10 @@ export declare const serverConfigSchema: z.ZodObject<{
5377
5740
  };
5378
5741
  ai?: {
5379
5742
  chat?: {
5380
- provider?: "google" | "openai";
5743
+ provider?: "anthropic" | "google" | "openai";
5381
5744
  defaultModel?: string;
5382
5745
  allowedModels?: (string | {
5383
- provider?: "google" | "openai";
5746
+ provider?: "anthropic" | "google" | "openai";
5384
5747
  model?: string;
5385
5748
  })[];
5386
5749
  allowedSubscriptionTiers?: true | string[];
@@ -5451,6 +5814,7 @@ export declare const serverConfigSchema: z.ZodObject<{
5451
5814
  prisma?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
5452
5815
  redis?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
5453
5816
  };
5817
+ resource?: Record<string, string>;
5454
5818
  };
5455
5819
  subscriptions?: {
5456
5820
  webhookSecret?: string;
@@ -6070,6 +6434,18 @@ export declare const serverConfigSchema: z.ZodObject<{
6070
6434
  };
6071
6435
  moderation?: {
6072
6436
  allowUnauthenticatedReports?: boolean;
6437
+ jobs?: {
6438
+ files?: {
6439
+ enabled?: boolean;
6440
+ fileExtensions?: string[];
6441
+ minConfidence?: number;
6442
+ bannedLabels?: {
6443
+ label?: string;
6444
+ threshold?: number;
6445
+ actions?: "notify"[];
6446
+ }[];
6447
+ };
6448
+ };
6073
6449
  };
6074
6450
  }>;
6075
6451
  export type S3Config = z.infer<typeof s3Schema>;