@casual-simulation/aux-records 3.3.5-alpha.9308538612 → 3.3.5
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 +42 -1
- package/AIController.js +56 -1
- package/AIController.js.map +1 -1
- package/AIHumeInterface.d.ts +42 -0
- package/AIHumeInterface.js +66 -0
- package/AIHumeInterface.js.map +1 -0
- package/RecordsServer.d.ts +1 -0
- package/RecordsServer.js +20 -0
- package/RecordsServer.js.map +1 -1
- package/SubscriptionConfiguration.d.ts +225 -0
- package/SubscriptionConfiguration.js +27 -0
- package/SubscriptionConfiguration.js.map +1 -1
- package/package.json +4 -4
|
@@ -99,6 +99,13 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
99
99
|
allowed?: boolean;
|
|
100
100
|
maxSkyboxesPerPeriod?: number;
|
|
101
101
|
}>;
|
|
102
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
103
|
+
allowed: z.ZodBoolean;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
allowed?: boolean;
|
|
106
|
+
}, {
|
|
107
|
+
allowed?: boolean;
|
|
108
|
+
}>>>;
|
|
102
109
|
}, "strip", z.ZodTypeAny, {
|
|
103
110
|
chat?: {
|
|
104
111
|
allowed?: boolean;
|
|
@@ -112,6 +119,9 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
112
119
|
allowed?: boolean;
|
|
113
120
|
maxSkyboxesPerPeriod?: number;
|
|
114
121
|
};
|
|
122
|
+
hume?: {
|
|
123
|
+
allowed?: boolean;
|
|
124
|
+
};
|
|
115
125
|
}, {
|
|
116
126
|
chat?: {
|
|
117
127
|
allowed?: boolean;
|
|
@@ -125,6 +135,9 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
125
135
|
allowed?: boolean;
|
|
126
136
|
maxSkyboxesPerPeriod?: number;
|
|
127
137
|
};
|
|
138
|
+
hume?: {
|
|
139
|
+
allowed?: boolean;
|
|
140
|
+
};
|
|
128
141
|
}>;
|
|
129
142
|
insts: z.ZodObject<{
|
|
130
143
|
allowed: z.ZodBoolean;
|
|
@@ -192,6 +205,9 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
192
205
|
allowed?: boolean;
|
|
193
206
|
maxSkyboxesPerPeriod?: number;
|
|
194
207
|
};
|
|
208
|
+
hume?: {
|
|
209
|
+
allowed?: boolean;
|
|
210
|
+
};
|
|
195
211
|
};
|
|
196
212
|
insts?: {
|
|
197
213
|
allowed?: boolean;
|
|
@@ -243,6 +259,9 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
243
259
|
allowed?: boolean;
|
|
244
260
|
maxSkyboxesPerPeriod?: number;
|
|
245
261
|
};
|
|
262
|
+
hume?: {
|
|
263
|
+
allowed?: boolean;
|
|
264
|
+
};
|
|
246
265
|
};
|
|
247
266
|
insts?: {
|
|
248
267
|
allowed?: boolean;
|
|
@@ -400,6 +419,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
400
419
|
allowed?: boolean;
|
|
401
420
|
maxSkyboxesPerPeriod?: number;
|
|
402
421
|
}>;
|
|
422
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
423
|
+
allowed: z.ZodBoolean;
|
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
allowed?: boolean;
|
|
426
|
+
}, {
|
|
427
|
+
allowed?: boolean;
|
|
428
|
+
}>>>;
|
|
403
429
|
}, "strip", z.ZodTypeAny, {
|
|
404
430
|
chat?: {
|
|
405
431
|
allowed?: boolean;
|
|
@@ -413,6 +439,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
413
439
|
allowed?: boolean;
|
|
414
440
|
maxSkyboxesPerPeriod?: number;
|
|
415
441
|
};
|
|
442
|
+
hume?: {
|
|
443
|
+
allowed?: boolean;
|
|
444
|
+
};
|
|
416
445
|
}, {
|
|
417
446
|
chat?: {
|
|
418
447
|
allowed?: boolean;
|
|
@@ -426,6 +455,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
426
455
|
allowed?: boolean;
|
|
427
456
|
maxSkyboxesPerPeriod?: number;
|
|
428
457
|
};
|
|
458
|
+
hume?: {
|
|
459
|
+
allowed?: boolean;
|
|
460
|
+
};
|
|
429
461
|
}>;
|
|
430
462
|
insts: z.ZodObject<{
|
|
431
463
|
allowed: z.ZodBoolean;
|
|
@@ -493,6 +525,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
493
525
|
allowed?: boolean;
|
|
494
526
|
maxSkyboxesPerPeriod?: number;
|
|
495
527
|
};
|
|
528
|
+
hume?: {
|
|
529
|
+
allowed?: boolean;
|
|
530
|
+
};
|
|
496
531
|
};
|
|
497
532
|
insts?: {
|
|
498
533
|
allowed?: boolean;
|
|
@@ -544,6 +579,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
544
579
|
allowed?: boolean;
|
|
545
580
|
maxSkyboxesPerPeriod?: number;
|
|
546
581
|
};
|
|
582
|
+
hume?: {
|
|
583
|
+
allowed?: boolean;
|
|
584
|
+
};
|
|
547
585
|
};
|
|
548
586
|
insts?: {
|
|
549
587
|
allowed?: boolean;
|
|
@@ -597,6 +635,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
597
635
|
allowed?: boolean;
|
|
598
636
|
maxSkyboxesPerPeriod?: number;
|
|
599
637
|
};
|
|
638
|
+
hume?: {
|
|
639
|
+
allowed?: boolean;
|
|
640
|
+
};
|
|
600
641
|
};
|
|
601
642
|
insts?: {
|
|
602
643
|
allowed?: boolean;
|
|
@@ -650,6 +691,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
650
691
|
allowed?: boolean;
|
|
651
692
|
maxSkyboxesPerPeriod?: number;
|
|
652
693
|
};
|
|
694
|
+
hume?: {
|
|
695
|
+
allowed?: boolean;
|
|
696
|
+
};
|
|
653
697
|
};
|
|
654
698
|
insts?: {
|
|
655
699
|
allowed?: boolean;
|
|
@@ -763,6 +807,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
763
807
|
allowed?: boolean;
|
|
764
808
|
maxSkyboxesPerPeriod?: number;
|
|
765
809
|
}>;
|
|
810
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
811
|
+
allowed: z.ZodBoolean;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
|
+
allowed?: boolean;
|
|
814
|
+
}, {
|
|
815
|
+
allowed?: boolean;
|
|
816
|
+
}>>>;
|
|
766
817
|
}, "strip", z.ZodTypeAny, {
|
|
767
818
|
chat?: {
|
|
768
819
|
allowed?: boolean;
|
|
@@ -776,6 +827,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
776
827
|
allowed?: boolean;
|
|
777
828
|
maxSkyboxesPerPeriod?: number;
|
|
778
829
|
};
|
|
830
|
+
hume?: {
|
|
831
|
+
allowed?: boolean;
|
|
832
|
+
};
|
|
779
833
|
}, {
|
|
780
834
|
chat?: {
|
|
781
835
|
allowed?: boolean;
|
|
@@ -789,6 +843,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
789
843
|
allowed?: boolean;
|
|
790
844
|
maxSkyboxesPerPeriod?: number;
|
|
791
845
|
};
|
|
846
|
+
hume?: {
|
|
847
|
+
allowed?: boolean;
|
|
848
|
+
};
|
|
792
849
|
}>;
|
|
793
850
|
insts: z.ZodObject<{
|
|
794
851
|
allowed: z.ZodBoolean;
|
|
@@ -856,6 +913,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
856
913
|
allowed?: boolean;
|
|
857
914
|
maxSkyboxesPerPeriod?: number;
|
|
858
915
|
};
|
|
916
|
+
hume?: {
|
|
917
|
+
allowed?: boolean;
|
|
918
|
+
};
|
|
859
919
|
};
|
|
860
920
|
insts?: {
|
|
861
921
|
allowed?: boolean;
|
|
@@ -907,6 +967,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
907
967
|
allowed?: boolean;
|
|
908
968
|
maxSkyboxesPerPeriod?: number;
|
|
909
969
|
};
|
|
970
|
+
hume?: {
|
|
971
|
+
allowed?: boolean;
|
|
972
|
+
};
|
|
910
973
|
};
|
|
911
974
|
insts?: {
|
|
912
975
|
allowed?: boolean;
|
|
@@ -960,6 +1023,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
960
1023
|
allowed?: boolean;
|
|
961
1024
|
maxSkyboxesPerPeriod?: number;
|
|
962
1025
|
};
|
|
1026
|
+
hume?: {
|
|
1027
|
+
allowed?: boolean;
|
|
1028
|
+
};
|
|
963
1029
|
};
|
|
964
1030
|
insts?: {
|
|
965
1031
|
allowed?: boolean;
|
|
@@ -1013,6 +1079,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1013
1079
|
allowed?: boolean;
|
|
1014
1080
|
maxSkyboxesPerPeriod?: number;
|
|
1015
1081
|
};
|
|
1082
|
+
hume?: {
|
|
1083
|
+
allowed?: boolean;
|
|
1084
|
+
};
|
|
1016
1085
|
};
|
|
1017
1086
|
insts?: {
|
|
1018
1087
|
allowed?: boolean;
|
|
@@ -1126,6 +1195,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1126
1195
|
allowed?: boolean;
|
|
1127
1196
|
maxSkyboxesPerPeriod?: number;
|
|
1128
1197
|
}>;
|
|
1198
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1199
|
+
allowed: z.ZodBoolean;
|
|
1200
|
+
}, "strip", z.ZodTypeAny, {
|
|
1201
|
+
allowed?: boolean;
|
|
1202
|
+
}, {
|
|
1203
|
+
allowed?: boolean;
|
|
1204
|
+
}>>>;
|
|
1129
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1130
1206
|
chat?: {
|
|
1131
1207
|
allowed?: boolean;
|
|
@@ -1139,6 +1215,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1139
1215
|
allowed?: boolean;
|
|
1140
1216
|
maxSkyboxesPerPeriod?: number;
|
|
1141
1217
|
};
|
|
1218
|
+
hume?: {
|
|
1219
|
+
allowed?: boolean;
|
|
1220
|
+
};
|
|
1142
1221
|
}, {
|
|
1143
1222
|
chat?: {
|
|
1144
1223
|
allowed?: boolean;
|
|
@@ -1152,6 +1231,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1152
1231
|
allowed?: boolean;
|
|
1153
1232
|
maxSkyboxesPerPeriod?: number;
|
|
1154
1233
|
};
|
|
1234
|
+
hume?: {
|
|
1235
|
+
allowed?: boolean;
|
|
1236
|
+
};
|
|
1155
1237
|
}>;
|
|
1156
1238
|
insts: z.ZodObject<{
|
|
1157
1239
|
allowed: z.ZodBoolean;
|
|
@@ -1219,6 +1301,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1219
1301
|
allowed?: boolean;
|
|
1220
1302
|
maxSkyboxesPerPeriod?: number;
|
|
1221
1303
|
};
|
|
1304
|
+
hume?: {
|
|
1305
|
+
allowed?: boolean;
|
|
1306
|
+
};
|
|
1222
1307
|
};
|
|
1223
1308
|
insts?: {
|
|
1224
1309
|
allowed?: boolean;
|
|
@@ -1270,6 +1355,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1270
1355
|
allowed?: boolean;
|
|
1271
1356
|
maxSkyboxesPerPeriod?: number;
|
|
1272
1357
|
};
|
|
1358
|
+
hume?: {
|
|
1359
|
+
allowed?: boolean;
|
|
1360
|
+
};
|
|
1273
1361
|
};
|
|
1274
1362
|
insts?: {
|
|
1275
1363
|
allowed?: boolean;
|
|
@@ -1323,6 +1411,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1323
1411
|
allowed?: boolean;
|
|
1324
1412
|
maxSkyboxesPerPeriod?: number;
|
|
1325
1413
|
};
|
|
1414
|
+
hume?: {
|
|
1415
|
+
allowed?: boolean;
|
|
1416
|
+
};
|
|
1326
1417
|
};
|
|
1327
1418
|
insts?: {
|
|
1328
1419
|
allowed?: boolean;
|
|
@@ -1376,6 +1467,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1376
1467
|
allowed?: boolean;
|
|
1377
1468
|
maxSkyboxesPerPeriod?: number;
|
|
1378
1469
|
};
|
|
1470
|
+
hume?: {
|
|
1471
|
+
allowed?: boolean;
|
|
1472
|
+
};
|
|
1379
1473
|
};
|
|
1380
1474
|
insts?: {
|
|
1381
1475
|
allowed?: boolean;
|
|
@@ -1490,6 +1584,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1490
1584
|
allowed?: boolean;
|
|
1491
1585
|
maxSkyboxesPerPeriod?: number;
|
|
1492
1586
|
}>;
|
|
1587
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1588
|
+
allowed: z.ZodBoolean;
|
|
1589
|
+
}, "strip", z.ZodTypeAny, {
|
|
1590
|
+
allowed?: boolean;
|
|
1591
|
+
}, {
|
|
1592
|
+
allowed?: boolean;
|
|
1593
|
+
}>>>;
|
|
1493
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1494
1595
|
chat?: {
|
|
1495
1596
|
allowed?: boolean;
|
|
@@ -1503,6 +1604,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1503
1604
|
allowed?: boolean;
|
|
1504
1605
|
maxSkyboxesPerPeriod?: number;
|
|
1505
1606
|
};
|
|
1607
|
+
hume?: {
|
|
1608
|
+
allowed?: boolean;
|
|
1609
|
+
};
|
|
1506
1610
|
}, {
|
|
1507
1611
|
chat?: {
|
|
1508
1612
|
allowed?: boolean;
|
|
@@ -1516,6 +1620,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1516
1620
|
allowed?: boolean;
|
|
1517
1621
|
maxSkyboxesPerPeriod?: number;
|
|
1518
1622
|
};
|
|
1623
|
+
hume?: {
|
|
1624
|
+
allowed?: boolean;
|
|
1625
|
+
};
|
|
1519
1626
|
}>;
|
|
1520
1627
|
insts: z.ZodObject<{
|
|
1521
1628
|
allowed: z.ZodBoolean;
|
|
@@ -1583,6 +1690,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1583
1690
|
allowed?: boolean;
|
|
1584
1691
|
maxSkyboxesPerPeriod?: number;
|
|
1585
1692
|
};
|
|
1693
|
+
hume?: {
|
|
1694
|
+
allowed?: boolean;
|
|
1695
|
+
};
|
|
1586
1696
|
};
|
|
1587
1697
|
insts?: {
|
|
1588
1698
|
allowed?: boolean;
|
|
@@ -1634,6 +1744,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1634
1744
|
allowed?: boolean;
|
|
1635
1745
|
maxSkyboxesPerPeriod?: number;
|
|
1636
1746
|
};
|
|
1747
|
+
hume?: {
|
|
1748
|
+
allowed?: boolean;
|
|
1749
|
+
};
|
|
1637
1750
|
};
|
|
1638
1751
|
insts?: {
|
|
1639
1752
|
allowed?: boolean;
|
|
@@ -1746,6 +1859,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1746
1859
|
allowed?: boolean;
|
|
1747
1860
|
maxSkyboxesPerPeriod?: number;
|
|
1748
1861
|
}>;
|
|
1862
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1863
|
+
allowed: z.ZodBoolean;
|
|
1864
|
+
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
allowed?: boolean;
|
|
1866
|
+
}, {
|
|
1867
|
+
allowed?: boolean;
|
|
1868
|
+
}>>>;
|
|
1749
1869
|
}, "strip", z.ZodTypeAny, {
|
|
1750
1870
|
chat?: {
|
|
1751
1871
|
allowed?: boolean;
|
|
@@ -1759,6 +1879,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1759
1879
|
allowed?: boolean;
|
|
1760
1880
|
maxSkyboxesPerPeriod?: number;
|
|
1761
1881
|
};
|
|
1882
|
+
hume?: {
|
|
1883
|
+
allowed?: boolean;
|
|
1884
|
+
};
|
|
1762
1885
|
}, {
|
|
1763
1886
|
chat?: {
|
|
1764
1887
|
allowed?: boolean;
|
|
@@ -1772,6 +1895,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1772
1895
|
allowed?: boolean;
|
|
1773
1896
|
maxSkyboxesPerPeriod?: number;
|
|
1774
1897
|
};
|
|
1898
|
+
hume?: {
|
|
1899
|
+
allowed?: boolean;
|
|
1900
|
+
};
|
|
1775
1901
|
}>;
|
|
1776
1902
|
insts: z.ZodObject<{
|
|
1777
1903
|
allowed: z.ZodBoolean;
|
|
@@ -1839,6 +1965,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1839
1965
|
allowed?: boolean;
|
|
1840
1966
|
maxSkyboxesPerPeriod?: number;
|
|
1841
1967
|
};
|
|
1968
|
+
hume?: {
|
|
1969
|
+
allowed?: boolean;
|
|
1970
|
+
};
|
|
1842
1971
|
};
|
|
1843
1972
|
insts?: {
|
|
1844
1973
|
allowed?: boolean;
|
|
@@ -1890,6 +2019,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1890
2019
|
allowed?: boolean;
|
|
1891
2020
|
maxSkyboxesPerPeriod?: number;
|
|
1892
2021
|
};
|
|
2022
|
+
hume?: {
|
|
2023
|
+
allowed?: boolean;
|
|
2024
|
+
};
|
|
1893
2025
|
};
|
|
1894
2026
|
insts?: {
|
|
1895
2027
|
allowed?: boolean;
|
|
@@ -1966,6 +2098,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1966
2098
|
allowed?: boolean;
|
|
1967
2099
|
maxSkyboxesPerPeriod?: number;
|
|
1968
2100
|
};
|
|
2101
|
+
hume?: {
|
|
2102
|
+
allowed?: boolean;
|
|
2103
|
+
};
|
|
1969
2104
|
};
|
|
1970
2105
|
insts?: {
|
|
1971
2106
|
allowed?: boolean;
|
|
@@ -2018,6 +2153,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2018
2153
|
allowed?: boolean;
|
|
2019
2154
|
maxSkyboxesPerPeriod?: number;
|
|
2020
2155
|
};
|
|
2156
|
+
hume?: {
|
|
2157
|
+
allowed?: boolean;
|
|
2158
|
+
};
|
|
2021
2159
|
};
|
|
2022
2160
|
insts?: {
|
|
2023
2161
|
allowed?: boolean;
|
|
@@ -2080,6 +2218,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2080
2218
|
allowed?: boolean;
|
|
2081
2219
|
maxSkyboxesPerPeriod?: number;
|
|
2082
2220
|
};
|
|
2221
|
+
hume?: {
|
|
2222
|
+
allowed?: boolean;
|
|
2223
|
+
};
|
|
2083
2224
|
};
|
|
2084
2225
|
insts?: {
|
|
2085
2226
|
allowed?: boolean;
|
|
@@ -2132,6 +2273,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2132
2273
|
allowed?: boolean;
|
|
2133
2274
|
maxSkyboxesPerPeriod?: number;
|
|
2134
2275
|
};
|
|
2276
|
+
hume?: {
|
|
2277
|
+
allowed?: boolean;
|
|
2278
|
+
};
|
|
2135
2279
|
};
|
|
2136
2280
|
insts?: {
|
|
2137
2281
|
allowed?: boolean;
|
|
@@ -2275,6 +2419,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2275
2419
|
allowed?: boolean;
|
|
2276
2420
|
maxSkyboxesPerPeriod?: number;
|
|
2277
2421
|
}>;
|
|
2422
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2423
|
+
allowed: z.ZodBoolean;
|
|
2424
|
+
}, "strip", z.ZodTypeAny, {
|
|
2425
|
+
allowed?: boolean;
|
|
2426
|
+
}, {
|
|
2427
|
+
allowed?: boolean;
|
|
2428
|
+
}>>>;
|
|
2278
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2279
2430
|
chat?: {
|
|
2280
2431
|
allowed?: boolean;
|
|
@@ -2288,6 +2439,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2288
2439
|
allowed?: boolean;
|
|
2289
2440
|
maxSkyboxesPerPeriod?: number;
|
|
2290
2441
|
};
|
|
2442
|
+
hume?: {
|
|
2443
|
+
allowed?: boolean;
|
|
2444
|
+
};
|
|
2291
2445
|
}, {
|
|
2292
2446
|
chat?: {
|
|
2293
2447
|
allowed?: boolean;
|
|
@@ -2301,6 +2455,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2301
2455
|
allowed?: boolean;
|
|
2302
2456
|
maxSkyboxesPerPeriod?: number;
|
|
2303
2457
|
};
|
|
2458
|
+
hume?: {
|
|
2459
|
+
allowed?: boolean;
|
|
2460
|
+
};
|
|
2304
2461
|
}>;
|
|
2305
2462
|
insts: z.ZodObject<{
|
|
2306
2463
|
allowed: z.ZodBoolean;
|
|
@@ -2368,6 +2525,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2368
2525
|
allowed?: boolean;
|
|
2369
2526
|
maxSkyboxesPerPeriod?: number;
|
|
2370
2527
|
};
|
|
2528
|
+
hume?: {
|
|
2529
|
+
allowed?: boolean;
|
|
2530
|
+
};
|
|
2371
2531
|
};
|
|
2372
2532
|
insts?: {
|
|
2373
2533
|
allowed?: boolean;
|
|
@@ -2419,6 +2579,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2419
2579
|
allowed?: boolean;
|
|
2420
2580
|
maxSkyboxesPerPeriod?: number;
|
|
2421
2581
|
};
|
|
2582
|
+
hume?: {
|
|
2583
|
+
allowed?: boolean;
|
|
2584
|
+
};
|
|
2422
2585
|
};
|
|
2423
2586
|
insts?: {
|
|
2424
2587
|
allowed?: boolean;
|
|
@@ -2472,6 +2635,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2472
2635
|
allowed?: boolean;
|
|
2473
2636
|
maxSkyboxesPerPeriod?: number;
|
|
2474
2637
|
};
|
|
2638
|
+
hume?: {
|
|
2639
|
+
allowed?: boolean;
|
|
2640
|
+
};
|
|
2475
2641
|
};
|
|
2476
2642
|
insts?: {
|
|
2477
2643
|
allowed?: boolean;
|
|
@@ -2525,6 +2691,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2525
2691
|
allowed?: boolean;
|
|
2526
2692
|
maxSkyboxesPerPeriod?: number;
|
|
2527
2693
|
};
|
|
2694
|
+
hume?: {
|
|
2695
|
+
allowed?: boolean;
|
|
2696
|
+
};
|
|
2528
2697
|
};
|
|
2529
2698
|
insts?: {
|
|
2530
2699
|
allowed?: boolean;
|
|
@@ -2579,6 +2748,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2579
2748
|
allowed?: boolean;
|
|
2580
2749
|
maxSkyboxesPerPeriod?: number;
|
|
2581
2750
|
};
|
|
2751
|
+
hume?: {
|
|
2752
|
+
allowed?: boolean;
|
|
2753
|
+
};
|
|
2582
2754
|
};
|
|
2583
2755
|
insts?: {
|
|
2584
2756
|
allowed?: boolean;
|
|
@@ -2631,6 +2803,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2631
2803
|
allowed?: boolean;
|
|
2632
2804
|
maxSkyboxesPerPeriod?: number;
|
|
2633
2805
|
};
|
|
2806
|
+
hume?: {
|
|
2807
|
+
allowed?: boolean;
|
|
2808
|
+
};
|
|
2634
2809
|
};
|
|
2635
2810
|
insts?: {
|
|
2636
2811
|
allowed?: boolean;
|
|
@@ -2774,6 +2949,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2774
2949
|
allowed?: boolean;
|
|
2775
2950
|
maxSkyboxesPerPeriod?: number;
|
|
2776
2951
|
}>;
|
|
2952
|
+
hume: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2953
|
+
allowed: z.ZodBoolean;
|
|
2954
|
+
}, "strip", z.ZodTypeAny, {
|
|
2955
|
+
allowed?: boolean;
|
|
2956
|
+
}, {
|
|
2957
|
+
allowed?: boolean;
|
|
2958
|
+
}>>>;
|
|
2777
2959
|
}, "strip", z.ZodTypeAny, {
|
|
2778
2960
|
chat?: {
|
|
2779
2961
|
allowed?: boolean;
|
|
@@ -2787,6 +2969,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2787
2969
|
allowed?: boolean;
|
|
2788
2970
|
maxSkyboxesPerPeriod?: number;
|
|
2789
2971
|
};
|
|
2972
|
+
hume?: {
|
|
2973
|
+
allowed?: boolean;
|
|
2974
|
+
};
|
|
2790
2975
|
}, {
|
|
2791
2976
|
chat?: {
|
|
2792
2977
|
allowed?: boolean;
|
|
@@ -2800,6 +2985,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2800
2985
|
allowed?: boolean;
|
|
2801
2986
|
maxSkyboxesPerPeriod?: number;
|
|
2802
2987
|
};
|
|
2988
|
+
hume?: {
|
|
2989
|
+
allowed?: boolean;
|
|
2990
|
+
};
|
|
2803
2991
|
}>;
|
|
2804
2992
|
insts: z.ZodObject<{
|
|
2805
2993
|
allowed: z.ZodBoolean;
|
|
@@ -2867,6 +3055,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2867
3055
|
allowed?: boolean;
|
|
2868
3056
|
maxSkyboxesPerPeriod?: number;
|
|
2869
3057
|
};
|
|
3058
|
+
hume?: {
|
|
3059
|
+
allowed?: boolean;
|
|
3060
|
+
};
|
|
2870
3061
|
};
|
|
2871
3062
|
insts?: {
|
|
2872
3063
|
allowed?: boolean;
|
|
@@ -2918,6 +3109,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2918
3109
|
allowed?: boolean;
|
|
2919
3110
|
maxSkyboxesPerPeriod?: number;
|
|
2920
3111
|
};
|
|
3112
|
+
hume?: {
|
|
3113
|
+
allowed?: boolean;
|
|
3114
|
+
};
|
|
2921
3115
|
};
|
|
2922
3116
|
insts?: {
|
|
2923
3117
|
allowed?: boolean;
|
|
@@ -2971,6 +3165,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2971
3165
|
allowed?: boolean;
|
|
2972
3166
|
maxSkyboxesPerPeriod?: number;
|
|
2973
3167
|
};
|
|
3168
|
+
hume?: {
|
|
3169
|
+
allowed?: boolean;
|
|
3170
|
+
};
|
|
2974
3171
|
};
|
|
2975
3172
|
insts?: {
|
|
2976
3173
|
allowed?: boolean;
|
|
@@ -3024,6 +3221,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3024
3221
|
allowed?: boolean;
|
|
3025
3222
|
maxSkyboxesPerPeriod?: number;
|
|
3026
3223
|
};
|
|
3224
|
+
hume?: {
|
|
3225
|
+
allowed?: boolean;
|
|
3226
|
+
};
|
|
3027
3227
|
};
|
|
3028
3228
|
insts?: {
|
|
3029
3229
|
allowed?: boolean;
|
|
@@ -3078,6 +3278,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3078
3278
|
allowed?: boolean;
|
|
3079
3279
|
maxSkyboxesPerPeriod?: number;
|
|
3080
3280
|
};
|
|
3281
|
+
hume?: {
|
|
3282
|
+
allowed?: boolean;
|
|
3283
|
+
};
|
|
3081
3284
|
};
|
|
3082
3285
|
insts?: {
|
|
3083
3286
|
allowed?: boolean;
|
|
@@ -3130,6 +3333,9 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3130
3333
|
allowed?: boolean;
|
|
3131
3334
|
maxSkyboxesPerPeriod?: number;
|
|
3132
3335
|
};
|
|
3336
|
+
hume?: {
|
|
3337
|
+
allowed?: boolean;
|
|
3338
|
+
};
|
|
3133
3339
|
};
|
|
3134
3340
|
insts?: {
|
|
3135
3341
|
allowed?: boolean;
|
|
@@ -3407,6 +3613,10 @@ export interface AIFeaturesConfiguration {
|
|
|
3407
3613
|
* The configuration for AI skybox features.
|
|
3408
3614
|
*/
|
|
3409
3615
|
skyboxes: AISkyboxFeaturesConfiguration;
|
|
3616
|
+
/**
|
|
3617
|
+
* The configuration for Hume AI features.
|
|
3618
|
+
*/
|
|
3619
|
+
hume?: AIHumeFeaturesConfiguration;
|
|
3410
3620
|
}
|
|
3411
3621
|
export interface AIChatFeaturesConfiguration {
|
|
3412
3622
|
/**
|
|
@@ -3455,6 +3665,12 @@ export interface AISkyboxFeaturesConfiguration {
|
|
|
3455
3665
|
*/
|
|
3456
3666
|
maxSkyboxesPerPeriod?: number;
|
|
3457
3667
|
}
|
|
3668
|
+
export interface AIHumeFeaturesConfiguration {
|
|
3669
|
+
/**
|
|
3670
|
+
* Whether Hume AI features are allowed.
|
|
3671
|
+
*/
|
|
3672
|
+
allowed: boolean;
|
|
3673
|
+
}
|
|
3458
3674
|
export interface InstsFeaturesConfiguration {
|
|
3459
3675
|
/**
|
|
3460
3676
|
* Whether inst features are allowed.
|
|
@@ -3492,6 +3708,15 @@ export declare function allowAllFeatures(): FeaturesConfiguration;
|
|
|
3492
3708
|
* @param subscriptionId The ID of the subscription.
|
|
3493
3709
|
*/
|
|
3494
3710
|
export declare function getComIdFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string): StudioComIdFeaturesConfiguration;
|
|
3711
|
+
/**
|
|
3712
|
+
* Gets the Hume AI features that are allowed for the given subscription.
|
|
3713
|
+
* If hume ai features are not configured, then they are not allowed.
|
|
3714
|
+
* @param config The configuration. If null, then all default features are allowed.
|
|
3715
|
+
* @param subscriptionStatus The status of the subscription.
|
|
3716
|
+
* @param subscriptionId The ID of the subscription.
|
|
3717
|
+
* @param type The type of the user.
|
|
3718
|
+
*/
|
|
3719
|
+
export declare function getHumeAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio'): AIHumeFeaturesConfiguration;
|
|
3495
3720
|
/**
|
|
3496
3721
|
* Gets the features that are available for the given subscription.
|
|
3497
3722
|
* Useful for determining which features a user/studio should have access to based on the ID of their subscription.
|
|
@@ -131,6 +131,17 @@ export const subscriptionFeaturesSchema = z.object({
|
|
|
131
131
|
.positive()
|
|
132
132
|
.optional(),
|
|
133
133
|
}),
|
|
134
|
+
hume: z
|
|
135
|
+
.object({
|
|
136
|
+
allowed: z
|
|
137
|
+
.boolean()
|
|
138
|
+
.describe('Whether Hume AI features are allowed for the subscription. If false, then every request to generate Hume AI will be rejected.'),
|
|
139
|
+
})
|
|
140
|
+
.describe('The configuration for Hume AI features for the subscription. Defaults to not allowed if omitted.')
|
|
141
|
+
.optional()
|
|
142
|
+
.default({
|
|
143
|
+
allowed: false,
|
|
144
|
+
}),
|
|
134
145
|
}),
|
|
135
146
|
insts: z.object({
|
|
136
147
|
allowed: z
|
|
@@ -337,6 +348,9 @@ export function allowAllFeatures() {
|
|
|
337
348
|
skyboxes: {
|
|
338
349
|
allowed: true,
|
|
339
350
|
},
|
|
351
|
+
hume: {
|
|
352
|
+
allowed: true,
|
|
353
|
+
},
|
|
340
354
|
},
|
|
341
355
|
data: {
|
|
342
356
|
allowed: true,
|
|
@@ -366,6 +380,19 @@ export function getComIdFeatures(config, subscriptionStatus, subscriptionId) {
|
|
|
366
380
|
// allowCustomComId: false,
|
|
367
381
|
});
|
|
368
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* Gets the Hume AI features that are allowed for the given subscription.
|
|
385
|
+
* If hume ai features are not configured, then they are not allowed.
|
|
386
|
+
* @param config The configuration. If null, then all default features are allowed.
|
|
387
|
+
* @param subscriptionStatus The status of the subscription.
|
|
388
|
+
* @param subscriptionId The ID of the subscription.
|
|
389
|
+
* @param type The type of the user.
|
|
390
|
+
*/
|
|
391
|
+
export function getHumeAiFeatures(config, subscriptionStatus, subscriptionId, type) {
|
|
392
|
+
var _a;
|
|
393
|
+
const features = getSubscriptionFeatures(config, subscriptionStatus, subscriptionId, type);
|
|
394
|
+
return (_a = features.ai.hume) !== null && _a !== void 0 ? _a : { allowed: false };
|
|
395
|
+
}
|
|
369
396
|
/**
|
|
370
397
|
* Gets the features that are available for the given subscription.
|
|
371
398
|
* Useful for determining which features a user/studio should have access to based on the ID of their subscription.
|