@casual-simulation/aux-records 3.3.12 → 3.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AIController.d.ts +11 -0
- package/AIController.js +32 -2
- package/AIController.js.map +1 -1
- package/LivekitController.js +1 -1
- package/LivekitController.js.map +1 -1
- package/ServerConfig.d.ts +511 -0
- package/ServerConfig.js +8 -0
- package/ServerConfig.js.map +1 -1
- package/SubscriptionConfiguration.d.ts +416 -0
- package/SubscriptionConfiguration.js +36 -0
- package/SubscriptionConfiguration.js.map +1 -1
- package/package.json +6 -6
- package/websockets/WebsocketController.js +27 -0
- package/websockets/WebsocketController.js.map +1 -1
|
@@ -72,12 +72,15 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
72
72
|
chat: z.ZodObject<{
|
|
73
73
|
allowed: z.ZodBoolean;
|
|
74
74
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
76
77
|
allowed?: boolean;
|
|
77
78
|
maxTokensPerPeriod?: number;
|
|
79
|
+
allowedModels?: string[];
|
|
78
80
|
}, {
|
|
79
81
|
allowed?: boolean;
|
|
80
82
|
maxTokensPerPeriod?: number;
|
|
83
|
+
allowedModels?: string[];
|
|
81
84
|
}>;
|
|
82
85
|
images: z.ZodObject<{
|
|
83
86
|
allowed: z.ZodBoolean;
|
|
@@ -120,6 +123,7 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
120
123
|
chat?: {
|
|
121
124
|
allowed?: boolean;
|
|
122
125
|
maxTokensPerPeriod?: number;
|
|
126
|
+
allowedModels?: string[];
|
|
123
127
|
};
|
|
124
128
|
images?: {
|
|
125
129
|
allowed?: boolean;
|
|
@@ -140,6 +144,7 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
140
144
|
chat?: {
|
|
141
145
|
allowed?: boolean;
|
|
142
146
|
maxTokensPerPeriod?: number;
|
|
147
|
+
allowedModels?: string[];
|
|
143
148
|
};
|
|
144
149
|
images?: {
|
|
145
150
|
allowed?: boolean;
|
|
@@ -240,6 +245,22 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
240
245
|
maxSentNotificationsPerPeriod?: number;
|
|
241
246
|
maxSentPushNotificationsPerPeriod?: number;
|
|
242
247
|
}>>>;
|
|
248
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
249
|
+
allowed: z.ZodBoolean;
|
|
250
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
allowed?: boolean;
|
|
255
|
+
maxItems?: number;
|
|
256
|
+
maxBytesPerItem?: number;
|
|
257
|
+
maxActiveConnectionsPerItem?: number;
|
|
258
|
+
}, {
|
|
259
|
+
allowed?: boolean;
|
|
260
|
+
maxItems?: number;
|
|
261
|
+
maxBytesPerItem?: number;
|
|
262
|
+
maxActiveConnectionsPerItem?: number;
|
|
263
|
+
}>>>;
|
|
243
264
|
}, "strip", z.ZodTypeAny, {
|
|
244
265
|
records?: {
|
|
245
266
|
allowed?: boolean;
|
|
@@ -271,6 +292,7 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
271
292
|
chat?: {
|
|
272
293
|
allowed?: boolean;
|
|
273
294
|
maxTokensPerPeriod?: number;
|
|
295
|
+
allowedModels?: string[];
|
|
274
296
|
};
|
|
275
297
|
images?: {
|
|
276
298
|
allowed?: boolean;
|
|
@@ -319,6 +341,12 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
319
341
|
maxSentNotificationsPerPeriod?: number;
|
|
320
342
|
maxSentPushNotificationsPerPeriod?: number;
|
|
321
343
|
};
|
|
344
|
+
documents?: {
|
|
345
|
+
allowed?: boolean;
|
|
346
|
+
maxItems?: number;
|
|
347
|
+
maxBytesPerItem?: number;
|
|
348
|
+
maxActiveConnectionsPerItem?: number;
|
|
349
|
+
};
|
|
322
350
|
}, {
|
|
323
351
|
records?: {
|
|
324
352
|
allowed?: boolean;
|
|
@@ -350,6 +378,7 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
350
378
|
chat?: {
|
|
351
379
|
allowed?: boolean;
|
|
352
380
|
maxTokensPerPeriod?: number;
|
|
381
|
+
allowedModels?: string[];
|
|
353
382
|
};
|
|
354
383
|
images?: {
|
|
355
384
|
allowed?: boolean;
|
|
@@ -398,6 +427,12 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
398
427
|
maxSentNotificationsPerPeriod?: number;
|
|
399
428
|
maxSentPushNotificationsPerPeriod?: number;
|
|
400
429
|
};
|
|
430
|
+
documents?: {
|
|
431
|
+
allowed?: boolean;
|
|
432
|
+
maxItems?: number;
|
|
433
|
+
maxBytesPerItem?: number;
|
|
434
|
+
maxActiveConnectionsPerItem?: number;
|
|
435
|
+
};
|
|
401
436
|
}>;
|
|
402
437
|
export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
403
438
|
webhookSecret: z.ZodString;
|
|
@@ -517,12 +552,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
517
552
|
chat: z.ZodObject<{
|
|
518
553
|
allowed: z.ZodBoolean;
|
|
519
554
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
555
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
520
556
|
}, "strip", z.ZodTypeAny, {
|
|
521
557
|
allowed?: boolean;
|
|
522
558
|
maxTokensPerPeriod?: number;
|
|
559
|
+
allowedModels?: string[];
|
|
523
560
|
}, {
|
|
524
561
|
allowed?: boolean;
|
|
525
562
|
maxTokensPerPeriod?: number;
|
|
563
|
+
allowedModels?: string[];
|
|
526
564
|
}>;
|
|
527
565
|
images: z.ZodObject<{
|
|
528
566
|
allowed: z.ZodBoolean;
|
|
@@ -565,6 +603,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
565
603
|
chat?: {
|
|
566
604
|
allowed?: boolean;
|
|
567
605
|
maxTokensPerPeriod?: number;
|
|
606
|
+
allowedModels?: string[];
|
|
568
607
|
};
|
|
569
608
|
images?: {
|
|
570
609
|
allowed?: boolean;
|
|
@@ -585,6 +624,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
585
624
|
chat?: {
|
|
586
625
|
allowed?: boolean;
|
|
587
626
|
maxTokensPerPeriod?: number;
|
|
627
|
+
allowedModels?: string[];
|
|
588
628
|
};
|
|
589
629
|
images?: {
|
|
590
630
|
allowed?: boolean;
|
|
@@ -685,6 +725,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
685
725
|
maxSentNotificationsPerPeriod?: number;
|
|
686
726
|
maxSentPushNotificationsPerPeriod?: number;
|
|
687
727
|
}>>>;
|
|
728
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
729
|
+
allowed: z.ZodBoolean;
|
|
730
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
}, "strip", z.ZodTypeAny, {
|
|
734
|
+
allowed?: boolean;
|
|
735
|
+
maxItems?: number;
|
|
736
|
+
maxBytesPerItem?: number;
|
|
737
|
+
maxActiveConnectionsPerItem?: number;
|
|
738
|
+
}, {
|
|
739
|
+
allowed?: boolean;
|
|
740
|
+
maxItems?: number;
|
|
741
|
+
maxBytesPerItem?: number;
|
|
742
|
+
maxActiveConnectionsPerItem?: number;
|
|
743
|
+
}>>>;
|
|
688
744
|
}, "strip", z.ZodTypeAny, {
|
|
689
745
|
records?: {
|
|
690
746
|
allowed?: boolean;
|
|
@@ -716,6 +772,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
716
772
|
chat?: {
|
|
717
773
|
allowed?: boolean;
|
|
718
774
|
maxTokensPerPeriod?: number;
|
|
775
|
+
allowedModels?: string[];
|
|
719
776
|
};
|
|
720
777
|
images?: {
|
|
721
778
|
allowed?: boolean;
|
|
@@ -764,6 +821,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
764
821
|
maxSentNotificationsPerPeriod?: number;
|
|
765
822
|
maxSentPushNotificationsPerPeriod?: number;
|
|
766
823
|
};
|
|
824
|
+
documents?: {
|
|
825
|
+
allowed?: boolean;
|
|
826
|
+
maxItems?: number;
|
|
827
|
+
maxBytesPerItem?: number;
|
|
828
|
+
maxActiveConnectionsPerItem?: number;
|
|
829
|
+
};
|
|
767
830
|
}, {
|
|
768
831
|
records?: {
|
|
769
832
|
allowed?: boolean;
|
|
@@ -795,6 +858,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
795
858
|
chat?: {
|
|
796
859
|
allowed?: boolean;
|
|
797
860
|
maxTokensPerPeriod?: number;
|
|
861
|
+
allowedModels?: string[];
|
|
798
862
|
};
|
|
799
863
|
images?: {
|
|
800
864
|
allowed?: boolean;
|
|
@@ -843,6 +907,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
843
907
|
maxSentNotificationsPerPeriod?: number;
|
|
844
908
|
maxSentPushNotificationsPerPeriod?: number;
|
|
845
909
|
};
|
|
910
|
+
documents?: {
|
|
911
|
+
allowed?: boolean;
|
|
912
|
+
maxItems?: number;
|
|
913
|
+
maxBytesPerItem?: number;
|
|
914
|
+
maxActiveConnectionsPerItem?: number;
|
|
915
|
+
};
|
|
846
916
|
}>>;
|
|
847
917
|
}, "strip", z.ZodTypeAny, {
|
|
848
918
|
features?: {
|
|
@@ -876,6 +946,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
876
946
|
chat?: {
|
|
877
947
|
allowed?: boolean;
|
|
878
948
|
maxTokensPerPeriod?: number;
|
|
949
|
+
allowedModels?: string[];
|
|
879
950
|
};
|
|
880
951
|
images?: {
|
|
881
952
|
allowed?: boolean;
|
|
@@ -924,6 +995,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
924
995
|
maxSentNotificationsPerPeriod?: number;
|
|
925
996
|
maxSentPushNotificationsPerPeriod?: number;
|
|
926
997
|
};
|
|
998
|
+
documents?: {
|
|
999
|
+
allowed?: boolean;
|
|
1000
|
+
maxItems?: number;
|
|
1001
|
+
maxBytesPerItem?: number;
|
|
1002
|
+
maxActiveConnectionsPerItem?: number;
|
|
1003
|
+
};
|
|
927
1004
|
};
|
|
928
1005
|
}, {
|
|
929
1006
|
features?: {
|
|
@@ -957,6 +1034,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
957
1034
|
chat?: {
|
|
958
1035
|
allowed?: boolean;
|
|
959
1036
|
maxTokensPerPeriod?: number;
|
|
1037
|
+
allowedModels?: string[];
|
|
960
1038
|
};
|
|
961
1039
|
images?: {
|
|
962
1040
|
allowed?: boolean;
|
|
@@ -1005,6 +1083,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1005
1083
|
maxSentNotificationsPerPeriod?: number;
|
|
1006
1084
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1007
1085
|
};
|
|
1086
|
+
documents?: {
|
|
1087
|
+
allowed?: boolean;
|
|
1088
|
+
maxItems?: number;
|
|
1089
|
+
maxBytesPerItem?: number;
|
|
1090
|
+
maxActiveConnectionsPerItem?: number;
|
|
1091
|
+
};
|
|
1008
1092
|
};
|
|
1009
1093
|
}>, z.objectOutputType<{}, z.ZodObject<{
|
|
1010
1094
|
features: z.ZodOptional<z.ZodObject<{
|
|
@@ -1080,12 +1164,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1080
1164
|
chat: z.ZodObject<{
|
|
1081
1165
|
allowed: z.ZodBoolean;
|
|
1082
1166
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1167
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1083
1168
|
}, "strip", z.ZodTypeAny, {
|
|
1084
1169
|
allowed?: boolean;
|
|
1085
1170
|
maxTokensPerPeriod?: number;
|
|
1171
|
+
allowedModels?: string[];
|
|
1086
1172
|
}, {
|
|
1087
1173
|
allowed?: boolean;
|
|
1088
1174
|
maxTokensPerPeriod?: number;
|
|
1175
|
+
allowedModels?: string[];
|
|
1089
1176
|
}>;
|
|
1090
1177
|
images: z.ZodObject<{
|
|
1091
1178
|
allowed: z.ZodBoolean;
|
|
@@ -1128,6 +1215,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1128
1215
|
chat?: {
|
|
1129
1216
|
allowed?: boolean;
|
|
1130
1217
|
maxTokensPerPeriod?: number;
|
|
1218
|
+
allowedModels?: string[];
|
|
1131
1219
|
};
|
|
1132
1220
|
images?: {
|
|
1133
1221
|
allowed?: boolean;
|
|
@@ -1148,6 +1236,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1148
1236
|
chat?: {
|
|
1149
1237
|
allowed?: boolean;
|
|
1150
1238
|
maxTokensPerPeriod?: number;
|
|
1239
|
+
allowedModels?: string[];
|
|
1151
1240
|
};
|
|
1152
1241
|
images?: {
|
|
1153
1242
|
allowed?: boolean;
|
|
@@ -1248,6 +1337,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1248
1337
|
maxSentNotificationsPerPeriod?: number;
|
|
1249
1338
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1250
1339
|
}>>>;
|
|
1340
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1341
|
+
allowed: z.ZodBoolean;
|
|
1342
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1343
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
1344
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
allowed?: boolean;
|
|
1347
|
+
maxItems?: number;
|
|
1348
|
+
maxBytesPerItem?: number;
|
|
1349
|
+
maxActiveConnectionsPerItem?: number;
|
|
1350
|
+
}, {
|
|
1351
|
+
allowed?: boolean;
|
|
1352
|
+
maxItems?: number;
|
|
1353
|
+
maxBytesPerItem?: number;
|
|
1354
|
+
maxActiveConnectionsPerItem?: number;
|
|
1355
|
+
}>>>;
|
|
1251
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1357
|
records?: {
|
|
1253
1358
|
allowed?: boolean;
|
|
@@ -1279,6 +1384,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1279
1384
|
chat?: {
|
|
1280
1385
|
allowed?: boolean;
|
|
1281
1386
|
maxTokensPerPeriod?: number;
|
|
1387
|
+
allowedModels?: string[];
|
|
1282
1388
|
};
|
|
1283
1389
|
images?: {
|
|
1284
1390
|
allowed?: boolean;
|
|
@@ -1327,6 +1433,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1327
1433
|
maxSentNotificationsPerPeriod?: number;
|
|
1328
1434
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1329
1435
|
};
|
|
1436
|
+
documents?: {
|
|
1437
|
+
allowed?: boolean;
|
|
1438
|
+
maxItems?: number;
|
|
1439
|
+
maxBytesPerItem?: number;
|
|
1440
|
+
maxActiveConnectionsPerItem?: number;
|
|
1441
|
+
};
|
|
1330
1442
|
}, {
|
|
1331
1443
|
records?: {
|
|
1332
1444
|
allowed?: boolean;
|
|
@@ -1358,6 +1470,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1358
1470
|
chat?: {
|
|
1359
1471
|
allowed?: boolean;
|
|
1360
1472
|
maxTokensPerPeriod?: number;
|
|
1473
|
+
allowedModels?: string[];
|
|
1361
1474
|
};
|
|
1362
1475
|
images?: {
|
|
1363
1476
|
allowed?: boolean;
|
|
@@ -1406,6 +1519,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1406
1519
|
maxSentNotificationsPerPeriod?: number;
|
|
1407
1520
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1408
1521
|
};
|
|
1522
|
+
documents?: {
|
|
1523
|
+
allowed?: boolean;
|
|
1524
|
+
maxItems?: number;
|
|
1525
|
+
maxBytesPerItem?: number;
|
|
1526
|
+
maxActiveConnectionsPerItem?: number;
|
|
1527
|
+
};
|
|
1409
1528
|
}>>;
|
|
1410
1529
|
}, "strip", z.ZodTypeAny, {
|
|
1411
1530
|
features?: {
|
|
@@ -1439,6 +1558,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1439
1558
|
chat?: {
|
|
1440
1559
|
allowed?: boolean;
|
|
1441
1560
|
maxTokensPerPeriod?: number;
|
|
1561
|
+
allowedModels?: string[];
|
|
1442
1562
|
};
|
|
1443
1563
|
images?: {
|
|
1444
1564
|
allowed?: boolean;
|
|
@@ -1487,6 +1607,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1487
1607
|
maxSentNotificationsPerPeriod?: number;
|
|
1488
1608
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1489
1609
|
};
|
|
1610
|
+
documents?: {
|
|
1611
|
+
allowed?: boolean;
|
|
1612
|
+
maxItems?: number;
|
|
1613
|
+
maxBytesPerItem?: number;
|
|
1614
|
+
maxActiveConnectionsPerItem?: number;
|
|
1615
|
+
};
|
|
1490
1616
|
};
|
|
1491
1617
|
}, {
|
|
1492
1618
|
features?: {
|
|
@@ -1520,6 +1646,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1520
1646
|
chat?: {
|
|
1521
1647
|
allowed?: boolean;
|
|
1522
1648
|
maxTokensPerPeriod?: number;
|
|
1649
|
+
allowedModels?: string[];
|
|
1523
1650
|
};
|
|
1524
1651
|
images?: {
|
|
1525
1652
|
allowed?: boolean;
|
|
@@ -1568,6 +1695,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1568
1695
|
maxSentNotificationsPerPeriod?: number;
|
|
1569
1696
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1570
1697
|
};
|
|
1698
|
+
documents?: {
|
|
1699
|
+
allowed?: boolean;
|
|
1700
|
+
maxItems?: number;
|
|
1701
|
+
maxBytesPerItem?: number;
|
|
1702
|
+
maxActiveConnectionsPerItem?: number;
|
|
1703
|
+
};
|
|
1571
1704
|
};
|
|
1572
1705
|
}>, "strip">, z.objectInputType<{}, z.ZodObject<{
|
|
1573
1706
|
features: z.ZodOptional<z.ZodObject<{
|
|
@@ -1643,12 +1776,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1643
1776
|
chat: z.ZodObject<{
|
|
1644
1777
|
allowed: z.ZodBoolean;
|
|
1645
1778
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1779
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1646
1780
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1781
|
allowed?: boolean;
|
|
1648
1782
|
maxTokensPerPeriod?: number;
|
|
1783
|
+
allowedModels?: string[];
|
|
1649
1784
|
}, {
|
|
1650
1785
|
allowed?: boolean;
|
|
1651
1786
|
maxTokensPerPeriod?: number;
|
|
1787
|
+
allowedModels?: string[];
|
|
1652
1788
|
}>;
|
|
1653
1789
|
images: z.ZodObject<{
|
|
1654
1790
|
allowed: z.ZodBoolean;
|
|
@@ -1691,6 +1827,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1691
1827
|
chat?: {
|
|
1692
1828
|
allowed?: boolean;
|
|
1693
1829
|
maxTokensPerPeriod?: number;
|
|
1830
|
+
allowedModels?: string[];
|
|
1694
1831
|
};
|
|
1695
1832
|
images?: {
|
|
1696
1833
|
allowed?: boolean;
|
|
@@ -1711,6 +1848,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1711
1848
|
chat?: {
|
|
1712
1849
|
allowed?: boolean;
|
|
1713
1850
|
maxTokensPerPeriod?: number;
|
|
1851
|
+
allowedModels?: string[];
|
|
1714
1852
|
};
|
|
1715
1853
|
images?: {
|
|
1716
1854
|
allowed?: boolean;
|
|
@@ -1811,6 +1949,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1811
1949
|
maxSentNotificationsPerPeriod?: number;
|
|
1812
1950
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1813
1951
|
}>>>;
|
|
1952
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1953
|
+
allowed: z.ZodBoolean;
|
|
1954
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1955
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
1956
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
1957
|
+
}, "strip", z.ZodTypeAny, {
|
|
1958
|
+
allowed?: boolean;
|
|
1959
|
+
maxItems?: number;
|
|
1960
|
+
maxBytesPerItem?: number;
|
|
1961
|
+
maxActiveConnectionsPerItem?: number;
|
|
1962
|
+
}, {
|
|
1963
|
+
allowed?: boolean;
|
|
1964
|
+
maxItems?: number;
|
|
1965
|
+
maxBytesPerItem?: number;
|
|
1966
|
+
maxActiveConnectionsPerItem?: number;
|
|
1967
|
+
}>>>;
|
|
1814
1968
|
}, "strip", z.ZodTypeAny, {
|
|
1815
1969
|
records?: {
|
|
1816
1970
|
allowed?: boolean;
|
|
@@ -1842,6 +1996,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1842
1996
|
chat?: {
|
|
1843
1997
|
allowed?: boolean;
|
|
1844
1998
|
maxTokensPerPeriod?: number;
|
|
1999
|
+
allowedModels?: string[];
|
|
1845
2000
|
};
|
|
1846
2001
|
images?: {
|
|
1847
2002
|
allowed?: boolean;
|
|
@@ -1890,6 +2045,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1890
2045
|
maxSentNotificationsPerPeriod?: number;
|
|
1891
2046
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1892
2047
|
};
|
|
2048
|
+
documents?: {
|
|
2049
|
+
allowed?: boolean;
|
|
2050
|
+
maxItems?: number;
|
|
2051
|
+
maxBytesPerItem?: number;
|
|
2052
|
+
maxActiveConnectionsPerItem?: number;
|
|
2053
|
+
};
|
|
1893
2054
|
}, {
|
|
1894
2055
|
records?: {
|
|
1895
2056
|
allowed?: boolean;
|
|
@@ -1921,6 +2082,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1921
2082
|
chat?: {
|
|
1922
2083
|
allowed?: boolean;
|
|
1923
2084
|
maxTokensPerPeriod?: number;
|
|
2085
|
+
allowedModels?: string[];
|
|
1924
2086
|
};
|
|
1925
2087
|
images?: {
|
|
1926
2088
|
allowed?: boolean;
|
|
@@ -1969,6 +2131,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1969
2131
|
maxSentNotificationsPerPeriod?: number;
|
|
1970
2132
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1971
2133
|
};
|
|
2134
|
+
documents?: {
|
|
2135
|
+
allowed?: boolean;
|
|
2136
|
+
maxItems?: number;
|
|
2137
|
+
maxBytesPerItem?: number;
|
|
2138
|
+
maxActiveConnectionsPerItem?: number;
|
|
2139
|
+
};
|
|
1972
2140
|
}>>;
|
|
1973
2141
|
}, "strip", z.ZodTypeAny, {
|
|
1974
2142
|
features?: {
|
|
@@ -2002,6 +2170,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2002
2170
|
chat?: {
|
|
2003
2171
|
allowed?: boolean;
|
|
2004
2172
|
maxTokensPerPeriod?: number;
|
|
2173
|
+
allowedModels?: string[];
|
|
2005
2174
|
};
|
|
2006
2175
|
images?: {
|
|
2007
2176
|
allowed?: boolean;
|
|
@@ -2050,6 +2219,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2050
2219
|
maxSentNotificationsPerPeriod?: number;
|
|
2051
2220
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2052
2221
|
};
|
|
2222
|
+
documents?: {
|
|
2223
|
+
allowed?: boolean;
|
|
2224
|
+
maxItems?: number;
|
|
2225
|
+
maxBytesPerItem?: number;
|
|
2226
|
+
maxActiveConnectionsPerItem?: number;
|
|
2227
|
+
};
|
|
2053
2228
|
};
|
|
2054
2229
|
}, {
|
|
2055
2230
|
features?: {
|
|
@@ -2083,6 +2258,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2083
2258
|
chat?: {
|
|
2084
2259
|
allowed?: boolean;
|
|
2085
2260
|
maxTokensPerPeriod?: number;
|
|
2261
|
+
allowedModels?: string[];
|
|
2086
2262
|
};
|
|
2087
2263
|
images?: {
|
|
2088
2264
|
allowed?: boolean;
|
|
@@ -2131,6 +2307,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2131
2307
|
maxSentNotificationsPerPeriod?: number;
|
|
2132
2308
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2133
2309
|
};
|
|
2310
|
+
documents?: {
|
|
2311
|
+
allowed?: boolean;
|
|
2312
|
+
maxItems?: number;
|
|
2313
|
+
maxBytesPerItem?: number;
|
|
2314
|
+
maxActiveConnectionsPerItem?: number;
|
|
2315
|
+
};
|
|
2134
2316
|
};
|
|
2135
2317
|
}>, "strip">>>;
|
|
2136
2318
|
defaultFeatures: z.ZodOptional<z.ZodObject<{
|
|
@@ -2207,12 +2389,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2207
2389
|
chat: z.ZodObject<{
|
|
2208
2390
|
allowed: z.ZodBoolean;
|
|
2209
2391
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
2392
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2210
2393
|
}, "strip", z.ZodTypeAny, {
|
|
2211
2394
|
allowed?: boolean;
|
|
2212
2395
|
maxTokensPerPeriod?: number;
|
|
2396
|
+
allowedModels?: string[];
|
|
2213
2397
|
}, {
|
|
2214
2398
|
allowed?: boolean;
|
|
2215
2399
|
maxTokensPerPeriod?: number;
|
|
2400
|
+
allowedModels?: string[];
|
|
2216
2401
|
}>;
|
|
2217
2402
|
images: z.ZodObject<{
|
|
2218
2403
|
allowed: z.ZodBoolean;
|
|
@@ -2255,6 +2440,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2255
2440
|
chat?: {
|
|
2256
2441
|
allowed?: boolean;
|
|
2257
2442
|
maxTokensPerPeriod?: number;
|
|
2443
|
+
allowedModels?: string[];
|
|
2258
2444
|
};
|
|
2259
2445
|
images?: {
|
|
2260
2446
|
allowed?: boolean;
|
|
@@ -2275,6 +2461,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2275
2461
|
chat?: {
|
|
2276
2462
|
allowed?: boolean;
|
|
2277
2463
|
maxTokensPerPeriod?: number;
|
|
2464
|
+
allowedModels?: string[];
|
|
2278
2465
|
};
|
|
2279
2466
|
images?: {
|
|
2280
2467
|
allowed?: boolean;
|
|
@@ -2375,6 +2562,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2375
2562
|
maxSentNotificationsPerPeriod?: number;
|
|
2376
2563
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2377
2564
|
}>>>;
|
|
2565
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2566
|
+
allowed: z.ZodBoolean;
|
|
2567
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2568
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
2569
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
2570
|
+
}, "strip", z.ZodTypeAny, {
|
|
2571
|
+
allowed?: boolean;
|
|
2572
|
+
maxItems?: number;
|
|
2573
|
+
maxBytesPerItem?: number;
|
|
2574
|
+
maxActiveConnectionsPerItem?: number;
|
|
2575
|
+
}, {
|
|
2576
|
+
allowed?: boolean;
|
|
2577
|
+
maxItems?: number;
|
|
2578
|
+
maxBytesPerItem?: number;
|
|
2579
|
+
maxActiveConnectionsPerItem?: number;
|
|
2580
|
+
}>>>;
|
|
2378
2581
|
}, "strip", z.ZodTypeAny, {
|
|
2379
2582
|
records?: {
|
|
2380
2583
|
allowed?: boolean;
|
|
@@ -2406,6 +2609,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2406
2609
|
chat?: {
|
|
2407
2610
|
allowed?: boolean;
|
|
2408
2611
|
maxTokensPerPeriod?: number;
|
|
2612
|
+
allowedModels?: string[];
|
|
2409
2613
|
};
|
|
2410
2614
|
images?: {
|
|
2411
2615
|
allowed?: boolean;
|
|
@@ -2454,6 +2658,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2454
2658
|
maxSentNotificationsPerPeriod?: number;
|
|
2455
2659
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2456
2660
|
};
|
|
2661
|
+
documents?: {
|
|
2662
|
+
allowed?: boolean;
|
|
2663
|
+
maxItems?: number;
|
|
2664
|
+
maxBytesPerItem?: number;
|
|
2665
|
+
maxActiveConnectionsPerItem?: number;
|
|
2666
|
+
};
|
|
2457
2667
|
}, {
|
|
2458
2668
|
records?: {
|
|
2459
2669
|
allowed?: boolean;
|
|
@@ -2485,6 +2695,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2485
2695
|
chat?: {
|
|
2486
2696
|
allowed?: boolean;
|
|
2487
2697
|
maxTokensPerPeriod?: number;
|
|
2698
|
+
allowedModels?: string[];
|
|
2488
2699
|
};
|
|
2489
2700
|
images?: {
|
|
2490
2701
|
allowed?: boolean;
|
|
@@ -2533,6 +2744,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2533
2744
|
maxSentNotificationsPerPeriod?: number;
|
|
2534
2745
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2535
2746
|
};
|
|
2747
|
+
documents?: {
|
|
2748
|
+
allowed?: boolean;
|
|
2749
|
+
maxItems?: number;
|
|
2750
|
+
maxBytesPerItem?: number;
|
|
2751
|
+
maxActiveConnectionsPerItem?: number;
|
|
2752
|
+
};
|
|
2536
2753
|
}>>;
|
|
2537
2754
|
studio: z.ZodOptional<z.ZodObject<{
|
|
2538
2755
|
records: z.ZodOptional<z.ZodObject<{
|
|
@@ -2607,12 +2824,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2607
2824
|
chat: z.ZodObject<{
|
|
2608
2825
|
allowed: z.ZodBoolean;
|
|
2609
2826
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
2827
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2610
2828
|
}, "strip", z.ZodTypeAny, {
|
|
2611
2829
|
allowed?: boolean;
|
|
2612
2830
|
maxTokensPerPeriod?: number;
|
|
2831
|
+
allowedModels?: string[];
|
|
2613
2832
|
}, {
|
|
2614
2833
|
allowed?: boolean;
|
|
2615
2834
|
maxTokensPerPeriod?: number;
|
|
2835
|
+
allowedModels?: string[];
|
|
2616
2836
|
}>;
|
|
2617
2837
|
images: z.ZodObject<{
|
|
2618
2838
|
allowed: z.ZodBoolean;
|
|
@@ -2655,6 +2875,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2655
2875
|
chat?: {
|
|
2656
2876
|
allowed?: boolean;
|
|
2657
2877
|
maxTokensPerPeriod?: number;
|
|
2878
|
+
allowedModels?: string[];
|
|
2658
2879
|
};
|
|
2659
2880
|
images?: {
|
|
2660
2881
|
allowed?: boolean;
|
|
@@ -2675,6 +2896,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2675
2896
|
chat?: {
|
|
2676
2897
|
allowed?: boolean;
|
|
2677
2898
|
maxTokensPerPeriod?: number;
|
|
2899
|
+
allowedModels?: string[];
|
|
2678
2900
|
};
|
|
2679
2901
|
images?: {
|
|
2680
2902
|
allowed?: boolean;
|
|
@@ -2775,6 +2997,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2775
2997
|
maxSentNotificationsPerPeriod?: number;
|
|
2776
2998
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2777
2999
|
}>>>;
|
|
3000
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3001
|
+
allowed: z.ZodBoolean;
|
|
3002
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
3003
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
3004
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
3005
|
+
}, "strip", z.ZodTypeAny, {
|
|
3006
|
+
allowed?: boolean;
|
|
3007
|
+
maxItems?: number;
|
|
3008
|
+
maxBytesPerItem?: number;
|
|
3009
|
+
maxActiveConnectionsPerItem?: number;
|
|
3010
|
+
}, {
|
|
3011
|
+
allowed?: boolean;
|
|
3012
|
+
maxItems?: number;
|
|
3013
|
+
maxBytesPerItem?: number;
|
|
3014
|
+
maxActiveConnectionsPerItem?: number;
|
|
3015
|
+
}>>>;
|
|
2778
3016
|
}, "strip", z.ZodTypeAny, {
|
|
2779
3017
|
records?: {
|
|
2780
3018
|
allowed?: boolean;
|
|
@@ -2806,6 +3044,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2806
3044
|
chat?: {
|
|
2807
3045
|
allowed?: boolean;
|
|
2808
3046
|
maxTokensPerPeriod?: number;
|
|
3047
|
+
allowedModels?: string[];
|
|
2809
3048
|
};
|
|
2810
3049
|
images?: {
|
|
2811
3050
|
allowed?: boolean;
|
|
@@ -2854,6 +3093,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2854
3093
|
maxSentNotificationsPerPeriod?: number;
|
|
2855
3094
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2856
3095
|
};
|
|
3096
|
+
documents?: {
|
|
3097
|
+
allowed?: boolean;
|
|
3098
|
+
maxItems?: number;
|
|
3099
|
+
maxBytesPerItem?: number;
|
|
3100
|
+
maxActiveConnectionsPerItem?: number;
|
|
3101
|
+
};
|
|
2857
3102
|
}, {
|
|
2858
3103
|
records?: {
|
|
2859
3104
|
allowed?: boolean;
|
|
@@ -2885,6 +3130,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2885
3130
|
chat?: {
|
|
2886
3131
|
allowed?: boolean;
|
|
2887
3132
|
maxTokensPerPeriod?: number;
|
|
3133
|
+
allowedModels?: string[];
|
|
2888
3134
|
};
|
|
2889
3135
|
images?: {
|
|
2890
3136
|
allowed?: boolean;
|
|
@@ -2933,6 +3179,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2933
3179
|
maxSentNotificationsPerPeriod?: number;
|
|
2934
3180
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2935
3181
|
};
|
|
3182
|
+
documents?: {
|
|
3183
|
+
allowed?: boolean;
|
|
3184
|
+
maxItems?: number;
|
|
3185
|
+
maxBytesPerItem?: number;
|
|
3186
|
+
maxActiveConnectionsPerItem?: number;
|
|
3187
|
+
};
|
|
2936
3188
|
}>>;
|
|
2937
3189
|
defaultPeriodLength: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2938
3190
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2989,6 +3241,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2989
3241
|
chat?: {
|
|
2990
3242
|
allowed?: boolean;
|
|
2991
3243
|
maxTokensPerPeriod?: number;
|
|
3244
|
+
allowedModels?: string[];
|
|
2992
3245
|
};
|
|
2993
3246
|
images?: {
|
|
2994
3247
|
allowed?: boolean;
|
|
@@ -3037,6 +3290,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3037
3290
|
maxSentNotificationsPerPeriod?: number;
|
|
3038
3291
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3039
3292
|
};
|
|
3293
|
+
documents?: {
|
|
3294
|
+
allowed?: boolean;
|
|
3295
|
+
maxItems?: number;
|
|
3296
|
+
maxBytesPerItem?: number;
|
|
3297
|
+
maxActiveConnectionsPerItem?: number;
|
|
3298
|
+
};
|
|
3040
3299
|
};
|
|
3041
3300
|
studio?: {
|
|
3042
3301
|
records?: {
|
|
@@ -3069,6 +3328,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3069
3328
|
chat?: {
|
|
3070
3329
|
allowed?: boolean;
|
|
3071
3330
|
maxTokensPerPeriod?: number;
|
|
3331
|
+
allowedModels?: string[];
|
|
3072
3332
|
};
|
|
3073
3333
|
images?: {
|
|
3074
3334
|
allowed?: boolean;
|
|
@@ -3117,6 +3377,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3117
3377
|
maxSentNotificationsPerPeriod?: number;
|
|
3118
3378
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3119
3379
|
};
|
|
3380
|
+
documents?: {
|
|
3381
|
+
allowed?: boolean;
|
|
3382
|
+
maxItems?: number;
|
|
3383
|
+
maxBytesPerItem?: number;
|
|
3384
|
+
maxActiveConnectionsPerItem?: number;
|
|
3385
|
+
};
|
|
3120
3386
|
};
|
|
3121
3387
|
defaultPeriodLength?: {
|
|
3122
3388
|
days?: number;
|
|
@@ -3159,6 +3425,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3159
3425
|
chat?: {
|
|
3160
3426
|
allowed?: boolean;
|
|
3161
3427
|
maxTokensPerPeriod?: number;
|
|
3428
|
+
allowedModels?: string[];
|
|
3162
3429
|
};
|
|
3163
3430
|
images?: {
|
|
3164
3431
|
allowed?: boolean;
|
|
@@ -3207,6 +3474,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3207
3474
|
maxSentNotificationsPerPeriod?: number;
|
|
3208
3475
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3209
3476
|
};
|
|
3477
|
+
documents?: {
|
|
3478
|
+
allowed?: boolean;
|
|
3479
|
+
maxItems?: number;
|
|
3480
|
+
maxBytesPerItem?: number;
|
|
3481
|
+
maxActiveConnectionsPerItem?: number;
|
|
3482
|
+
};
|
|
3210
3483
|
};
|
|
3211
3484
|
studio?: {
|
|
3212
3485
|
records?: {
|
|
@@ -3239,6 +3512,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3239
3512
|
chat?: {
|
|
3240
3513
|
allowed?: boolean;
|
|
3241
3514
|
maxTokensPerPeriod?: number;
|
|
3515
|
+
allowedModels?: string[];
|
|
3242
3516
|
};
|
|
3243
3517
|
images?: {
|
|
3244
3518
|
allowed?: boolean;
|
|
@@ -3287,6 +3561,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3287
3561
|
maxSentNotificationsPerPeriod?: number;
|
|
3288
3562
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3289
3563
|
};
|
|
3564
|
+
documents?: {
|
|
3565
|
+
allowed?: boolean;
|
|
3566
|
+
maxItems?: number;
|
|
3567
|
+
maxBytesPerItem?: number;
|
|
3568
|
+
maxActiveConnectionsPerItem?: number;
|
|
3569
|
+
};
|
|
3290
3570
|
};
|
|
3291
3571
|
defaultPeriodLength?: {
|
|
3292
3572
|
days?: number;
|
|
@@ -3392,12 +3672,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3392
3672
|
chat: z.ZodObject<{
|
|
3393
3673
|
allowed: z.ZodBoolean;
|
|
3394
3674
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
3675
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3395
3676
|
}, "strip", z.ZodTypeAny, {
|
|
3396
3677
|
allowed?: boolean;
|
|
3397
3678
|
maxTokensPerPeriod?: number;
|
|
3679
|
+
allowedModels?: string[];
|
|
3398
3680
|
}, {
|
|
3399
3681
|
allowed?: boolean;
|
|
3400
3682
|
maxTokensPerPeriod?: number;
|
|
3683
|
+
allowedModels?: string[];
|
|
3401
3684
|
}>;
|
|
3402
3685
|
images: z.ZodObject<{
|
|
3403
3686
|
allowed: z.ZodBoolean;
|
|
@@ -3440,6 +3723,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3440
3723
|
chat?: {
|
|
3441
3724
|
allowed?: boolean;
|
|
3442
3725
|
maxTokensPerPeriod?: number;
|
|
3726
|
+
allowedModels?: string[];
|
|
3443
3727
|
};
|
|
3444
3728
|
images?: {
|
|
3445
3729
|
allowed?: boolean;
|
|
@@ -3460,6 +3744,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3460
3744
|
chat?: {
|
|
3461
3745
|
allowed?: boolean;
|
|
3462
3746
|
maxTokensPerPeriod?: number;
|
|
3747
|
+
allowedModels?: string[];
|
|
3463
3748
|
};
|
|
3464
3749
|
images?: {
|
|
3465
3750
|
allowed?: boolean;
|
|
@@ -3560,6 +3845,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3560
3845
|
maxSentNotificationsPerPeriod?: number;
|
|
3561
3846
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3562
3847
|
}>>>;
|
|
3848
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3849
|
+
allowed: z.ZodBoolean;
|
|
3850
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
3851
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
3852
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
3853
|
+
}, "strip", z.ZodTypeAny, {
|
|
3854
|
+
allowed?: boolean;
|
|
3855
|
+
maxItems?: number;
|
|
3856
|
+
maxBytesPerItem?: number;
|
|
3857
|
+
maxActiveConnectionsPerItem?: number;
|
|
3858
|
+
}, {
|
|
3859
|
+
allowed?: boolean;
|
|
3860
|
+
maxItems?: number;
|
|
3861
|
+
maxBytesPerItem?: number;
|
|
3862
|
+
maxActiveConnectionsPerItem?: number;
|
|
3863
|
+
}>>>;
|
|
3563
3864
|
}, "strip", z.ZodTypeAny, {
|
|
3564
3865
|
records?: {
|
|
3565
3866
|
allowed?: boolean;
|
|
@@ -3591,6 +3892,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3591
3892
|
chat?: {
|
|
3592
3893
|
allowed?: boolean;
|
|
3593
3894
|
maxTokensPerPeriod?: number;
|
|
3895
|
+
allowedModels?: string[];
|
|
3594
3896
|
};
|
|
3595
3897
|
images?: {
|
|
3596
3898
|
allowed?: boolean;
|
|
@@ -3639,6 +3941,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3639
3941
|
maxSentNotificationsPerPeriod?: number;
|
|
3640
3942
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3641
3943
|
};
|
|
3944
|
+
documents?: {
|
|
3945
|
+
allowed?: boolean;
|
|
3946
|
+
maxItems?: number;
|
|
3947
|
+
maxBytesPerItem?: number;
|
|
3948
|
+
maxActiveConnectionsPerItem?: number;
|
|
3949
|
+
};
|
|
3642
3950
|
}, {
|
|
3643
3951
|
records?: {
|
|
3644
3952
|
allowed?: boolean;
|
|
@@ -3670,6 +3978,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3670
3978
|
chat?: {
|
|
3671
3979
|
allowed?: boolean;
|
|
3672
3980
|
maxTokensPerPeriod?: number;
|
|
3981
|
+
allowedModels?: string[];
|
|
3673
3982
|
};
|
|
3674
3983
|
images?: {
|
|
3675
3984
|
allowed?: boolean;
|
|
@@ -3718,6 +4027,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3718
4027
|
maxSentNotificationsPerPeriod?: number;
|
|
3719
4028
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3720
4029
|
};
|
|
4030
|
+
documents?: {
|
|
4031
|
+
allowed?: boolean;
|
|
4032
|
+
maxItems?: number;
|
|
4033
|
+
maxBytesPerItem?: number;
|
|
4034
|
+
maxActiveConnectionsPerItem?: number;
|
|
4035
|
+
};
|
|
3721
4036
|
}>>;
|
|
3722
4037
|
}, "strip", z.ZodTypeAny, {
|
|
3723
4038
|
features?: {
|
|
@@ -3751,6 +4066,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3751
4066
|
chat?: {
|
|
3752
4067
|
allowed?: boolean;
|
|
3753
4068
|
maxTokensPerPeriod?: number;
|
|
4069
|
+
allowedModels?: string[];
|
|
3754
4070
|
};
|
|
3755
4071
|
images?: {
|
|
3756
4072
|
allowed?: boolean;
|
|
@@ -3799,6 +4115,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3799
4115
|
maxSentNotificationsPerPeriod?: number;
|
|
3800
4116
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3801
4117
|
};
|
|
4118
|
+
documents?: {
|
|
4119
|
+
allowed?: boolean;
|
|
4120
|
+
maxItems?: number;
|
|
4121
|
+
maxBytesPerItem?: number;
|
|
4122
|
+
maxActiveConnectionsPerItem?: number;
|
|
4123
|
+
};
|
|
3802
4124
|
};
|
|
3803
4125
|
}, {
|
|
3804
4126
|
features?: {
|
|
@@ -3832,6 +4154,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3832
4154
|
chat?: {
|
|
3833
4155
|
allowed?: boolean;
|
|
3834
4156
|
maxTokensPerPeriod?: number;
|
|
4157
|
+
allowedModels?: string[];
|
|
3835
4158
|
};
|
|
3836
4159
|
images?: {
|
|
3837
4160
|
allowed?: boolean;
|
|
@@ -3880,6 +4203,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3880
4203
|
maxSentNotificationsPerPeriod?: number;
|
|
3881
4204
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3882
4205
|
};
|
|
4206
|
+
documents?: {
|
|
4207
|
+
allowed?: boolean;
|
|
4208
|
+
maxItems?: number;
|
|
4209
|
+
maxBytesPerItem?: number;
|
|
4210
|
+
maxActiveConnectionsPerItem?: number;
|
|
4211
|
+
};
|
|
3883
4212
|
};
|
|
3884
4213
|
}>, "strip">;
|
|
3885
4214
|
defaultFeatures?: {
|
|
@@ -3914,6 +4243,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3914
4243
|
chat?: {
|
|
3915
4244
|
allowed?: boolean;
|
|
3916
4245
|
maxTokensPerPeriod?: number;
|
|
4246
|
+
allowedModels?: string[];
|
|
3917
4247
|
};
|
|
3918
4248
|
images?: {
|
|
3919
4249
|
allowed?: boolean;
|
|
@@ -3962,6 +4292,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3962
4292
|
maxSentNotificationsPerPeriod?: number;
|
|
3963
4293
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3964
4294
|
};
|
|
4295
|
+
documents?: {
|
|
4296
|
+
allowed?: boolean;
|
|
4297
|
+
maxItems?: number;
|
|
4298
|
+
maxBytesPerItem?: number;
|
|
4299
|
+
maxActiveConnectionsPerItem?: number;
|
|
4300
|
+
};
|
|
3965
4301
|
};
|
|
3966
4302
|
studio?: {
|
|
3967
4303
|
records?: {
|
|
@@ -3994,6 +4330,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3994
4330
|
chat?: {
|
|
3995
4331
|
allowed?: boolean;
|
|
3996
4332
|
maxTokensPerPeriod?: number;
|
|
4333
|
+
allowedModels?: string[];
|
|
3997
4334
|
};
|
|
3998
4335
|
images?: {
|
|
3999
4336
|
allowed?: boolean;
|
|
@@ -4042,6 +4379,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4042
4379
|
maxSentNotificationsPerPeriod?: number;
|
|
4043
4380
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4044
4381
|
};
|
|
4382
|
+
documents?: {
|
|
4383
|
+
allowed?: boolean;
|
|
4384
|
+
maxItems?: number;
|
|
4385
|
+
maxBytesPerItem?: number;
|
|
4386
|
+
maxActiveConnectionsPerItem?: number;
|
|
4387
|
+
};
|
|
4045
4388
|
};
|
|
4046
4389
|
defaultPeriodLength?: {
|
|
4047
4390
|
days?: number;
|
|
@@ -4147,12 +4490,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4147
4490
|
chat: z.ZodObject<{
|
|
4148
4491
|
allowed: z.ZodBoolean;
|
|
4149
4492
|
maxTokensPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
4493
|
+
allowedModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4150
4494
|
}, "strip", z.ZodTypeAny, {
|
|
4151
4495
|
allowed?: boolean;
|
|
4152
4496
|
maxTokensPerPeriod?: number;
|
|
4497
|
+
allowedModels?: string[];
|
|
4153
4498
|
}, {
|
|
4154
4499
|
allowed?: boolean;
|
|
4155
4500
|
maxTokensPerPeriod?: number;
|
|
4501
|
+
allowedModels?: string[];
|
|
4156
4502
|
}>;
|
|
4157
4503
|
images: z.ZodObject<{
|
|
4158
4504
|
allowed: z.ZodBoolean;
|
|
@@ -4195,6 +4541,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4195
4541
|
chat?: {
|
|
4196
4542
|
allowed?: boolean;
|
|
4197
4543
|
maxTokensPerPeriod?: number;
|
|
4544
|
+
allowedModels?: string[];
|
|
4198
4545
|
};
|
|
4199
4546
|
images?: {
|
|
4200
4547
|
allowed?: boolean;
|
|
@@ -4215,6 +4562,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4215
4562
|
chat?: {
|
|
4216
4563
|
allowed?: boolean;
|
|
4217
4564
|
maxTokensPerPeriod?: number;
|
|
4565
|
+
allowedModels?: string[];
|
|
4218
4566
|
};
|
|
4219
4567
|
images?: {
|
|
4220
4568
|
allowed?: boolean;
|
|
@@ -4315,6 +4663,22 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4315
4663
|
maxSentNotificationsPerPeriod?: number;
|
|
4316
4664
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4317
4665
|
}>>>;
|
|
4666
|
+
documents: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4667
|
+
allowed: z.ZodBoolean;
|
|
4668
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
4669
|
+
maxBytesPerItem: z.ZodOptional<z.ZodNumber>;
|
|
4670
|
+
maxActiveConnectionsPerItem: z.ZodOptional<z.ZodNumber>;
|
|
4671
|
+
}, "strip", z.ZodTypeAny, {
|
|
4672
|
+
allowed?: boolean;
|
|
4673
|
+
maxItems?: number;
|
|
4674
|
+
maxBytesPerItem?: number;
|
|
4675
|
+
maxActiveConnectionsPerItem?: number;
|
|
4676
|
+
}, {
|
|
4677
|
+
allowed?: boolean;
|
|
4678
|
+
maxItems?: number;
|
|
4679
|
+
maxBytesPerItem?: number;
|
|
4680
|
+
maxActiveConnectionsPerItem?: number;
|
|
4681
|
+
}>>>;
|
|
4318
4682
|
}, "strip", z.ZodTypeAny, {
|
|
4319
4683
|
records?: {
|
|
4320
4684
|
allowed?: boolean;
|
|
@@ -4346,6 +4710,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4346
4710
|
chat?: {
|
|
4347
4711
|
allowed?: boolean;
|
|
4348
4712
|
maxTokensPerPeriod?: number;
|
|
4713
|
+
allowedModels?: string[];
|
|
4349
4714
|
};
|
|
4350
4715
|
images?: {
|
|
4351
4716
|
allowed?: boolean;
|
|
@@ -4394,6 +4759,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4394
4759
|
maxSentNotificationsPerPeriod?: number;
|
|
4395
4760
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4396
4761
|
};
|
|
4762
|
+
documents?: {
|
|
4763
|
+
allowed?: boolean;
|
|
4764
|
+
maxItems?: number;
|
|
4765
|
+
maxBytesPerItem?: number;
|
|
4766
|
+
maxActiveConnectionsPerItem?: number;
|
|
4767
|
+
};
|
|
4397
4768
|
}, {
|
|
4398
4769
|
records?: {
|
|
4399
4770
|
allowed?: boolean;
|
|
@@ -4425,6 +4796,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4425
4796
|
chat?: {
|
|
4426
4797
|
allowed?: boolean;
|
|
4427
4798
|
maxTokensPerPeriod?: number;
|
|
4799
|
+
allowedModels?: string[];
|
|
4428
4800
|
};
|
|
4429
4801
|
images?: {
|
|
4430
4802
|
allowed?: boolean;
|
|
@@ -4473,6 +4845,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4473
4845
|
maxSentNotificationsPerPeriod?: number;
|
|
4474
4846
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4475
4847
|
};
|
|
4848
|
+
documents?: {
|
|
4849
|
+
allowed?: boolean;
|
|
4850
|
+
maxItems?: number;
|
|
4851
|
+
maxBytesPerItem?: number;
|
|
4852
|
+
maxActiveConnectionsPerItem?: number;
|
|
4853
|
+
};
|
|
4476
4854
|
}>>;
|
|
4477
4855
|
}, "strip", z.ZodTypeAny, {
|
|
4478
4856
|
features?: {
|
|
@@ -4506,6 +4884,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4506
4884
|
chat?: {
|
|
4507
4885
|
allowed?: boolean;
|
|
4508
4886
|
maxTokensPerPeriod?: number;
|
|
4887
|
+
allowedModels?: string[];
|
|
4509
4888
|
};
|
|
4510
4889
|
images?: {
|
|
4511
4890
|
allowed?: boolean;
|
|
@@ -4554,6 +4933,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4554
4933
|
maxSentNotificationsPerPeriod?: number;
|
|
4555
4934
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4556
4935
|
};
|
|
4936
|
+
documents?: {
|
|
4937
|
+
allowed?: boolean;
|
|
4938
|
+
maxItems?: number;
|
|
4939
|
+
maxBytesPerItem?: number;
|
|
4940
|
+
maxActiveConnectionsPerItem?: number;
|
|
4941
|
+
};
|
|
4557
4942
|
};
|
|
4558
4943
|
}, {
|
|
4559
4944
|
features?: {
|
|
@@ -4587,6 +4972,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4587
4972
|
chat?: {
|
|
4588
4973
|
allowed?: boolean;
|
|
4589
4974
|
maxTokensPerPeriod?: number;
|
|
4975
|
+
allowedModels?: string[];
|
|
4590
4976
|
};
|
|
4591
4977
|
images?: {
|
|
4592
4978
|
allowed?: boolean;
|
|
@@ -4635,6 +5021,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4635
5021
|
maxSentNotificationsPerPeriod?: number;
|
|
4636
5022
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4637
5023
|
};
|
|
5024
|
+
documents?: {
|
|
5025
|
+
allowed?: boolean;
|
|
5026
|
+
maxItems?: number;
|
|
5027
|
+
maxBytesPerItem?: number;
|
|
5028
|
+
maxActiveConnectionsPerItem?: number;
|
|
5029
|
+
};
|
|
4638
5030
|
};
|
|
4639
5031
|
}>, "strip">;
|
|
4640
5032
|
defaultFeatures?: {
|
|
@@ -4669,6 +5061,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4669
5061
|
chat?: {
|
|
4670
5062
|
allowed?: boolean;
|
|
4671
5063
|
maxTokensPerPeriod?: number;
|
|
5064
|
+
allowedModels?: string[];
|
|
4672
5065
|
};
|
|
4673
5066
|
images?: {
|
|
4674
5067
|
allowed?: boolean;
|
|
@@ -4717,6 +5110,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4717
5110
|
maxSentNotificationsPerPeriod?: number;
|
|
4718
5111
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4719
5112
|
};
|
|
5113
|
+
documents?: {
|
|
5114
|
+
allowed?: boolean;
|
|
5115
|
+
maxItems?: number;
|
|
5116
|
+
maxBytesPerItem?: number;
|
|
5117
|
+
maxActiveConnectionsPerItem?: number;
|
|
5118
|
+
};
|
|
4720
5119
|
};
|
|
4721
5120
|
studio?: {
|
|
4722
5121
|
records?: {
|
|
@@ -4749,6 +5148,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4749
5148
|
chat?: {
|
|
4750
5149
|
allowed?: boolean;
|
|
4751
5150
|
maxTokensPerPeriod?: number;
|
|
5151
|
+
allowedModels?: string[];
|
|
4752
5152
|
};
|
|
4753
5153
|
images?: {
|
|
4754
5154
|
allowed?: boolean;
|
|
@@ -4797,6 +5197,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4797
5197
|
maxSentNotificationsPerPeriod?: number;
|
|
4798
5198
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4799
5199
|
};
|
|
5200
|
+
documents?: {
|
|
5201
|
+
allowed?: boolean;
|
|
5202
|
+
maxItems?: number;
|
|
5203
|
+
maxBytesPerItem?: number;
|
|
5204
|
+
maxActiveConnectionsPerItem?: number;
|
|
5205
|
+
};
|
|
4800
5206
|
};
|
|
4801
5207
|
defaultPeriodLength?: {
|
|
4802
5208
|
days?: number;
|
|
@@ -4997,6 +5403,10 @@ export interface FeaturesConfiguration {
|
|
|
4997
5403
|
* The configuration for notification features.
|
|
4998
5404
|
*/
|
|
4999
5405
|
notifications?: NotificationFeaturesConfiguration;
|
|
5406
|
+
/**
|
|
5407
|
+
* The configuration for document features.
|
|
5408
|
+
*/
|
|
5409
|
+
documents?: DocumentFeaturesConfiguration;
|
|
5000
5410
|
}
|
|
5001
5411
|
export interface RecordFeaturesConfiguration {
|
|
5002
5412
|
/**
|
|
@@ -5100,6 +5510,11 @@ export interface AIChatFeaturesConfiguration {
|
|
|
5100
5510
|
* If not specified, then there is no limit.
|
|
5101
5511
|
*/
|
|
5102
5512
|
maxTokensPerPeriod?: number;
|
|
5513
|
+
/**
|
|
5514
|
+
* The list of model IDs that are allowed for the subscription.
|
|
5515
|
+
* If omitted, then all models are allowed.
|
|
5516
|
+
*/
|
|
5517
|
+
allowedModels?: string[];
|
|
5103
5518
|
}
|
|
5104
5519
|
export interface AIImageFeaturesConfiguration {
|
|
5105
5520
|
/**
|
|
@@ -5181,6 +5596,7 @@ export interface StudioComIdFeaturesConfiguration {
|
|
|
5181
5596
|
export type StudioLoomFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['loom'];
|
|
5182
5597
|
export type WebhooksFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['webhooks'];
|
|
5183
5598
|
export type NotificationFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['notifications'];
|
|
5599
|
+
export type DocumentFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['documents'];
|
|
5184
5600
|
export declare function allowAllFeatures(): FeaturesConfiguration;
|
|
5185
5601
|
export declare function denyAllFeatures(): FeaturesConfiguration;
|
|
5186
5602
|
/**
|