@casual-simulation/aux-records 3.3.6 → 3.3.7-alpha.9747723960
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 +126 -0
- package/AIController.js +177 -7
- package/AIController.js.map +1 -1
- package/AISloydInterface.d.ts +154 -0
- package/AISloydInterface.js +2 -0
- package/AISloydInterface.js.map +1 -0
- package/AuthController.js +165 -0
- package/AuthController.js.map +1 -1
- package/BlockadeLabsGenerateSkyboxInterface.js +28 -0
- package/BlockadeLabsGenerateSkyboxInterface.js.map +1 -1
- package/DataRecordsController.js +39 -0
- package/DataRecordsController.js.map +1 -1
- package/EventRecordsController.js +33 -0
- package/EventRecordsController.js.map +1 -1
- package/FileRecordsController.js +54 -0
- package/FileRecordsController.js.map +1 -1
- package/GoogleAIChatInterface.js +28 -0
- package/GoogleAIChatInterface.js.map +1 -1
- package/LivekitController.js +15 -0
- package/LivekitController.js.map +1 -1
- package/LoomController.js +15 -0
- package/LoomController.js.map +1 -1
- package/MemoryStore.d.ts +6 -1
- package/MemoryStore.js +41 -0
- package/MemoryStore.js.map +1 -1
- package/MetricsStore.d.ts +65 -0
- package/ModerationController.js +15 -0
- package/ModerationController.js.map +1 -1
- package/OpenAIChatInterface.js +25 -0
- package/OpenAIChatInterface.js.map +1 -1
- package/OpenAIImageInterface.js +19 -0
- package/OpenAIImageInterface.js.map +1 -1
- package/PolicyController.d.ts +26 -1
- package/PolicyController.js +126 -0
- package/PolicyController.js.map +1 -1
- package/PrivoClient.js +40 -0
- package/PrivoClient.js.map +1 -1
- package/RateLimitController.js +15 -0
- package/RateLimitController.js.map +1 -1
- package/RecordsController.js +114 -0
- package/RecordsController.js.map +1 -1
- package/RecordsServer.d.ts +49 -10
- package/RecordsServer.js +152 -4
- package/RecordsServer.js.map +1 -1
- package/SloydInterface.d.ts +16 -0
- package/SloydInterface.js +109 -0
- package/SloydInterface.js.map +1 -0
- package/StabilityAIImageInterface.js +11 -0
- package/StabilityAIImageInterface.js.map +1 -1
- package/SubscriptionConfiguration.d.ts +304 -0
- package/SubscriptionConfiguration.js +33 -0
- package/SubscriptionConfiguration.js.map +1 -1
- package/SubscriptionController.js +35 -0
- package/SubscriptionController.js.map +1 -1
- package/package.json +7 -4
- package/tracing/TracingDecorators.d.ts +18 -0
- package/tracing/TracingDecorators.js +138 -0
- package/tracing/TracingDecorators.js.map +1 -0
- package/websockets/WebsocketController.js +83 -0
- package/websockets/WebsocketController.js.map +1 -1
|
@@ -106,6 +106,16 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
106
106
|
}, {
|
|
107
107
|
allowed?: boolean;
|
|
108
108
|
}>>>;
|
|
109
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
110
|
+
allowed: z.ZodBoolean;
|
|
111
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
allowed?: boolean;
|
|
114
|
+
maxModelsPerPeriod?: number;
|
|
115
|
+
}, {
|
|
116
|
+
allowed?: boolean;
|
|
117
|
+
maxModelsPerPeriod?: number;
|
|
118
|
+
}>>>;
|
|
109
119
|
}, "strip", z.ZodTypeAny, {
|
|
110
120
|
chat?: {
|
|
111
121
|
allowed?: boolean;
|
|
@@ -122,6 +132,10 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
122
132
|
hume?: {
|
|
123
133
|
allowed?: boolean;
|
|
124
134
|
};
|
|
135
|
+
sloyd?: {
|
|
136
|
+
allowed?: boolean;
|
|
137
|
+
maxModelsPerPeriod?: number;
|
|
138
|
+
};
|
|
125
139
|
}, {
|
|
126
140
|
chat?: {
|
|
127
141
|
allowed?: boolean;
|
|
@@ -138,6 +152,10 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
138
152
|
hume?: {
|
|
139
153
|
allowed?: boolean;
|
|
140
154
|
};
|
|
155
|
+
sloyd?: {
|
|
156
|
+
allowed?: boolean;
|
|
157
|
+
maxModelsPerPeriod?: number;
|
|
158
|
+
};
|
|
141
159
|
}>;
|
|
142
160
|
insts: z.ZodObject<{
|
|
143
161
|
allowed: z.ZodBoolean;
|
|
@@ -215,6 +233,10 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
215
233
|
hume?: {
|
|
216
234
|
allowed?: boolean;
|
|
217
235
|
};
|
|
236
|
+
sloyd?: {
|
|
237
|
+
allowed?: boolean;
|
|
238
|
+
maxModelsPerPeriod?: number;
|
|
239
|
+
};
|
|
218
240
|
};
|
|
219
241
|
insts?: {
|
|
220
242
|
allowed?: boolean;
|
|
@@ -272,6 +294,10 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
272
294
|
hume?: {
|
|
273
295
|
allowed?: boolean;
|
|
274
296
|
};
|
|
297
|
+
sloyd?: {
|
|
298
|
+
allowed?: boolean;
|
|
299
|
+
maxModelsPerPeriod?: number;
|
|
300
|
+
};
|
|
275
301
|
};
|
|
276
302
|
insts?: {
|
|
277
303
|
allowed?: boolean;
|
|
@@ -439,6 +465,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
439
465
|
}, {
|
|
440
466
|
allowed?: boolean;
|
|
441
467
|
}>>>;
|
|
468
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
469
|
+
allowed: z.ZodBoolean;
|
|
470
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
allowed?: boolean;
|
|
473
|
+
maxModelsPerPeriod?: number;
|
|
474
|
+
}, {
|
|
475
|
+
allowed?: boolean;
|
|
476
|
+
maxModelsPerPeriod?: number;
|
|
477
|
+
}>>>;
|
|
442
478
|
}, "strip", z.ZodTypeAny, {
|
|
443
479
|
chat?: {
|
|
444
480
|
allowed?: boolean;
|
|
@@ -455,6 +491,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
455
491
|
hume?: {
|
|
456
492
|
allowed?: boolean;
|
|
457
493
|
};
|
|
494
|
+
sloyd?: {
|
|
495
|
+
allowed?: boolean;
|
|
496
|
+
maxModelsPerPeriod?: number;
|
|
497
|
+
};
|
|
458
498
|
}, {
|
|
459
499
|
chat?: {
|
|
460
500
|
allowed?: boolean;
|
|
@@ -471,6 +511,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
471
511
|
hume?: {
|
|
472
512
|
allowed?: boolean;
|
|
473
513
|
};
|
|
514
|
+
sloyd?: {
|
|
515
|
+
allowed?: boolean;
|
|
516
|
+
maxModelsPerPeriod?: number;
|
|
517
|
+
};
|
|
474
518
|
}>;
|
|
475
519
|
insts: z.ZodObject<{
|
|
476
520
|
allowed: z.ZodBoolean;
|
|
@@ -548,6 +592,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
548
592
|
hume?: {
|
|
549
593
|
allowed?: boolean;
|
|
550
594
|
};
|
|
595
|
+
sloyd?: {
|
|
596
|
+
allowed?: boolean;
|
|
597
|
+
maxModelsPerPeriod?: number;
|
|
598
|
+
};
|
|
551
599
|
};
|
|
552
600
|
insts?: {
|
|
553
601
|
allowed?: boolean;
|
|
@@ -605,6 +653,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
605
653
|
hume?: {
|
|
606
654
|
allowed?: boolean;
|
|
607
655
|
};
|
|
656
|
+
sloyd?: {
|
|
657
|
+
allowed?: boolean;
|
|
658
|
+
maxModelsPerPeriod?: number;
|
|
659
|
+
};
|
|
608
660
|
};
|
|
609
661
|
insts?: {
|
|
610
662
|
allowed?: boolean;
|
|
@@ -664,6 +716,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
664
716
|
hume?: {
|
|
665
717
|
allowed?: boolean;
|
|
666
718
|
};
|
|
719
|
+
sloyd?: {
|
|
720
|
+
allowed?: boolean;
|
|
721
|
+
maxModelsPerPeriod?: number;
|
|
722
|
+
};
|
|
667
723
|
};
|
|
668
724
|
insts?: {
|
|
669
725
|
allowed?: boolean;
|
|
@@ -723,6 +779,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
723
779
|
hume?: {
|
|
724
780
|
allowed?: boolean;
|
|
725
781
|
};
|
|
782
|
+
sloyd?: {
|
|
783
|
+
allowed?: boolean;
|
|
784
|
+
maxModelsPerPeriod?: number;
|
|
785
|
+
};
|
|
726
786
|
};
|
|
727
787
|
insts?: {
|
|
728
788
|
allowed?: boolean;
|
|
@@ -846,6 +906,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
846
906
|
}, {
|
|
847
907
|
allowed?: boolean;
|
|
848
908
|
}>>>;
|
|
909
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
910
|
+
allowed: z.ZodBoolean;
|
|
911
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
allowed?: boolean;
|
|
914
|
+
maxModelsPerPeriod?: number;
|
|
915
|
+
}, {
|
|
916
|
+
allowed?: boolean;
|
|
917
|
+
maxModelsPerPeriod?: number;
|
|
918
|
+
}>>>;
|
|
849
919
|
}, "strip", z.ZodTypeAny, {
|
|
850
920
|
chat?: {
|
|
851
921
|
allowed?: boolean;
|
|
@@ -862,6 +932,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
862
932
|
hume?: {
|
|
863
933
|
allowed?: boolean;
|
|
864
934
|
};
|
|
935
|
+
sloyd?: {
|
|
936
|
+
allowed?: boolean;
|
|
937
|
+
maxModelsPerPeriod?: number;
|
|
938
|
+
};
|
|
865
939
|
}, {
|
|
866
940
|
chat?: {
|
|
867
941
|
allowed?: boolean;
|
|
@@ -878,6 +952,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
878
952
|
hume?: {
|
|
879
953
|
allowed?: boolean;
|
|
880
954
|
};
|
|
955
|
+
sloyd?: {
|
|
956
|
+
allowed?: boolean;
|
|
957
|
+
maxModelsPerPeriod?: number;
|
|
958
|
+
};
|
|
881
959
|
}>;
|
|
882
960
|
insts: z.ZodObject<{
|
|
883
961
|
allowed: z.ZodBoolean;
|
|
@@ -955,6 +1033,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
955
1033
|
hume?: {
|
|
956
1034
|
allowed?: boolean;
|
|
957
1035
|
};
|
|
1036
|
+
sloyd?: {
|
|
1037
|
+
allowed?: boolean;
|
|
1038
|
+
maxModelsPerPeriod?: number;
|
|
1039
|
+
};
|
|
958
1040
|
};
|
|
959
1041
|
insts?: {
|
|
960
1042
|
allowed?: boolean;
|
|
@@ -1012,6 +1094,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1012
1094
|
hume?: {
|
|
1013
1095
|
allowed?: boolean;
|
|
1014
1096
|
};
|
|
1097
|
+
sloyd?: {
|
|
1098
|
+
allowed?: boolean;
|
|
1099
|
+
maxModelsPerPeriod?: number;
|
|
1100
|
+
};
|
|
1015
1101
|
};
|
|
1016
1102
|
insts?: {
|
|
1017
1103
|
allowed?: boolean;
|
|
@@ -1071,6 +1157,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1071
1157
|
hume?: {
|
|
1072
1158
|
allowed?: boolean;
|
|
1073
1159
|
};
|
|
1160
|
+
sloyd?: {
|
|
1161
|
+
allowed?: boolean;
|
|
1162
|
+
maxModelsPerPeriod?: number;
|
|
1163
|
+
};
|
|
1074
1164
|
};
|
|
1075
1165
|
insts?: {
|
|
1076
1166
|
allowed?: boolean;
|
|
@@ -1130,6 +1220,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1130
1220
|
hume?: {
|
|
1131
1221
|
allowed?: boolean;
|
|
1132
1222
|
};
|
|
1223
|
+
sloyd?: {
|
|
1224
|
+
allowed?: boolean;
|
|
1225
|
+
maxModelsPerPeriod?: number;
|
|
1226
|
+
};
|
|
1133
1227
|
};
|
|
1134
1228
|
insts?: {
|
|
1135
1229
|
allowed?: boolean;
|
|
@@ -1253,6 +1347,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1253
1347
|
}, {
|
|
1254
1348
|
allowed?: boolean;
|
|
1255
1349
|
}>>>;
|
|
1350
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1351
|
+
allowed: z.ZodBoolean;
|
|
1352
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
allowed?: boolean;
|
|
1355
|
+
maxModelsPerPeriod?: number;
|
|
1356
|
+
}, {
|
|
1357
|
+
allowed?: boolean;
|
|
1358
|
+
maxModelsPerPeriod?: number;
|
|
1359
|
+
}>>>;
|
|
1256
1360
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1361
|
chat?: {
|
|
1258
1362
|
allowed?: boolean;
|
|
@@ -1269,6 +1373,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1269
1373
|
hume?: {
|
|
1270
1374
|
allowed?: boolean;
|
|
1271
1375
|
};
|
|
1376
|
+
sloyd?: {
|
|
1377
|
+
allowed?: boolean;
|
|
1378
|
+
maxModelsPerPeriod?: number;
|
|
1379
|
+
};
|
|
1272
1380
|
}, {
|
|
1273
1381
|
chat?: {
|
|
1274
1382
|
allowed?: boolean;
|
|
@@ -1285,6 +1393,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1285
1393
|
hume?: {
|
|
1286
1394
|
allowed?: boolean;
|
|
1287
1395
|
};
|
|
1396
|
+
sloyd?: {
|
|
1397
|
+
allowed?: boolean;
|
|
1398
|
+
maxModelsPerPeriod?: number;
|
|
1399
|
+
};
|
|
1288
1400
|
}>;
|
|
1289
1401
|
insts: z.ZodObject<{
|
|
1290
1402
|
allowed: z.ZodBoolean;
|
|
@@ -1362,6 +1474,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1362
1474
|
hume?: {
|
|
1363
1475
|
allowed?: boolean;
|
|
1364
1476
|
};
|
|
1477
|
+
sloyd?: {
|
|
1478
|
+
allowed?: boolean;
|
|
1479
|
+
maxModelsPerPeriod?: number;
|
|
1480
|
+
};
|
|
1365
1481
|
};
|
|
1366
1482
|
insts?: {
|
|
1367
1483
|
allowed?: boolean;
|
|
@@ -1419,6 +1535,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1419
1535
|
hume?: {
|
|
1420
1536
|
allowed?: boolean;
|
|
1421
1537
|
};
|
|
1538
|
+
sloyd?: {
|
|
1539
|
+
allowed?: boolean;
|
|
1540
|
+
maxModelsPerPeriod?: number;
|
|
1541
|
+
};
|
|
1422
1542
|
};
|
|
1423
1543
|
insts?: {
|
|
1424
1544
|
allowed?: boolean;
|
|
@@ -1478,6 +1598,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1478
1598
|
hume?: {
|
|
1479
1599
|
allowed?: boolean;
|
|
1480
1600
|
};
|
|
1601
|
+
sloyd?: {
|
|
1602
|
+
allowed?: boolean;
|
|
1603
|
+
maxModelsPerPeriod?: number;
|
|
1604
|
+
};
|
|
1481
1605
|
};
|
|
1482
1606
|
insts?: {
|
|
1483
1607
|
allowed?: boolean;
|
|
@@ -1537,6 +1661,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1537
1661
|
hume?: {
|
|
1538
1662
|
allowed?: boolean;
|
|
1539
1663
|
};
|
|
1664
|
+
sloyd?: {
|
|
1665
|
+
allowed?: boolean;
|
|
1666
|
+
maxModelsPerPeriod?: number;
|
|
1667
|
+
};
|
|
1540
1668
|
};
|
|
1541
1669
|
insts?: {
|
|
1542
1670
|
allowed?: boolean;
|
|
@@ -1661,6 +1789,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1661
1789
|
}, {
|
|
1662
1790
|
allowed?: boolean;
|
|
1663
1791
|
}>>>;
|
|
1792
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1793
|
+
allowed: z.ZodBoolean;
|
|
1794
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1795
|
+
}, "strip", z.ZodTypeAny, {
|
|
1796
|
+
allowed?: boolean;
|
|
1797
|
+
maxModelsPerPeriod?: number;
|
|
1798
|
+
}, {
|
|
1799
|
+
allowed?: boolean;
|
|
1800
|
+
maxModelsPerPeriod?: number;
|
|
1801
|
+
}>>>;
|
|
1664
1802
|
}, "strip", z.ZodTypeAny, {
|
|
1665
1803
|
chat?: {
|
|
1666
1804
|
allowed?: boolean;
|
|
@@ -1677,6 +1815,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1677
1815
|
hume?: {
|
|
1678
1816
|
allowed?: boolean;
|
|
1679
1817
|
};
|
|
1818
|
+
sloyd?: {
|
|
1819
|
+
allowed?: boolean;
|
|
1820
|
+
maxModelsPerPeriod?: number;
|
|
1821
|
+
};
|
|
1680
1822
|
}, {
|
|
1681
1823
|
chat?: {
|
|
1682
1824
|
allowed?: boolean;
|
|
@@ -1693,6 +1835,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1693
1835
|
hume?: {
|
|
1694
1836
|
allowed?: boolean;
|
|
1695
1837
|
};
|
|
1838
|
+
sloyd?: {
|
|
1839
|
+
allowed?: boolean;
|
|
1840
|
+
maxModelsPerPeriod?: number;
|
|
1841
|
+
};
|
|
1696
1842
|
}>;
|
|
1697
1843
|
insts: z.ZodObject<{
|
|
1698
1844
|
allowed: z.ZodBoolean;
|
|
@@ -1770,6 +1916,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1770
1916
|
hume?: {
|
|
1771
1917
|
allowed?: boolean;
|
|
1772
1918
|
};
|
|
1919
|
+
sloyd?: {
|
|
1920
|
+
allowed?: boolean;
|
|
1921
|
+
maxModelsPerPeriod?: number;
|
|
1922
|
+
};
|
|
1773
1923
|
};
|
|
1774
1924
|
insts?: {
|
|
1775
1925
|
allowed?: boolean;
|
|
@@ -1827,6 +1977,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1827
1977
|
hume?: {
|
|
1828
1978
|
allowed?: boolean;
|
|
1829
1979
|
};
|
|
1980
|
+
sloyd?: {
|
|
1981
|
+
allowed?: boolean;
|
|
1982
|
+
maxModelsPerPeriod?: number;
|
|
1983
|
+
};
|
|
1830
1984
|
};
|
|
1831
1985
|
insts?: {
|
|
1832
1986
|
allowed?: boolean;
|
|
@@ -1949,6 +2103,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1949
2103
|
}, {
|
|
1950
2104
|
allowed?: boolean;
|
|
1951
2105
|
}>>>;
|
|
2106
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2107
|
+
allowed: z.ZodBoolean;
|
|
2108
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
}, "strip", z.ZodTypeAny, {
|
|
2110
|
+
allowed?: boolean;
|
|
2111
|
+
maxModelsPerPeriod?: number;
|
|
2112
|
+
}, {
|
|
2113
|
+
allowed?: boolean;
|
|
2114
|
+
maxModelsPerPeriod?: number;
|
|
2115
|
+
}>>>;
|
|
1952
2116
|
}, "strip", z.ZodTypeAny, {
|
|
1953
2117
|
chat?: {
|
|
1954
2118
|
allowed?: boolean;
|
|
@@ -1965,6 +2129,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1965
2129
|
hume?: {
|
|
1966
2130
|
allowed?: boolean;
|
|
1967
2131
|
};
|
|
2132
|
+
sloyd?: {
|
|
2133
|
+
allowed?: boolean;
|
|
2134
|
+
maxModelsPerPeriod?: number;
|
|
2135
|
+
};
|
|
1968
2136
|
}, {
|
|
1969
2137
|
chat?: {
|
|
1970
2138
|
allowed?: boolean;
|
|
@@ -1981,6 +2149,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1981
2149
|
hume?: {
|
|
1982
2150
|
allowed?: boolean;
|
|
1983
2151
|
};
|
|
2152
|
+
sloyd?: {
|
|
2153
|
+
allowed?: boolean;
|
|
2154
|
+
maxModelsPerPeriod?: number;
|
|
2155
|
+
};
|
|
1984
2156
|
}>;
|
|
1985
2157
|
insts: z.ZodObject<{
|
|
1986
2158
|
allowed: z.ZodBoolean;
|
|
@@ -2058,6 +2230,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2058
2230
|
hume?: {
|
|
2059
2231
|
allowed?: boolean;
|
|
2060
2232
|
};
|
|
2233
|
+
sloyd?: {
|
|
2234
|
+
allowed?: boolean;
|
|
2235
|
+
maxModelsPerPeriod?: number;
|
|
2236
|
+
};
|
|
2061
2237
|
};
|
|
2062
2238
|
insts?: {
|
|
2063
2239
|
allowed?: boolean;
|
|
@@ -2115,6 +2291,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2115
2291
|
hume?: {
|
|
2116
2292
|
allowed?: boolean;
|
|
2117
2293
|
};
|
|
2294
|
+
sloyd?: {
|
|
2295
|
+
allowed?: boolean;
|
|
2296
|
+
maxModelsPerPeriod?: number;
|
|
2297
|
+
};
|
|
2118
2298
|
};
|
|
2119
2299
|
insts?: {
|
|
2120
2300
|
allowed?: boolean;
|
|
@@ -2197,6 +2377,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2197
2377
|
hume?: {
|
|
2198
2378
|
allowed?: boolean;
|
|
2199
2379
|
};
|
|
2380
|
+
sloyd?: {
|
|
2381
|
+
allowed?: boolean;
|
|
2382
|
+
maxModelsPerPeriod?: number;
|
|
2383
|
+
};
|
|
2200
2384
|
};
|
|
2201
2385
|
insts?: {
|
|
2202
2386
|
allowed?: boolean;
|
|
@@ -2255,6 +2439,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2255
2439
|
hume?: {
|
|
2256
2440
|
allowed?: boolean;
|
|
2257
2441
|
};
|
|
2442
|
+
sloyd?: {
|
|
2443
|
+
allowed?: boolean;
|
|
2444
|
+
maxModelsPerPeriod?: number;
|
|
2445
|
+
};
|
|
2258
2446
|
};
|
|
2259
2447
|
insts?: {
|
|
2260
2448
|
allowed?: boolean;
|
|
@@ -2323,6 +2511,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2323
2511
|
hume?: {
|
|
2324
2512
|
allowed?: boolean;
|
|
2325
2513
|
};
|
|
2514
|
+
sloyd?: {
|
|
2515
|
+
allowed?: boolean;
|
|
2516
|
+
maxModelsPerPeriod?: number;
|
|
2517
|
+
};
|
|
2326
2518
|
};
|
|
2327
2519
|
insts?: {
|
|
2328
2520
|
allowed?: boolean;
|
|
@@ -2381,6 +2573,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2381
2573
|
hume?: {
|
|
2382
2574
|
allowed?: boolean;
|
|
2383
2575
|
};
|
|
2576
|
+
sloyd?: {
|
|
2577
|
+
allowed?: boolean;
|
|
2578
|
+
maxModelsPerPeriod?: number;
|
|
2579
|
+
};
|
|
2384
2580
|
};
|
|
2385
2581
|
insts?: {
|
|
2386
2582
|
allowed?: boolean;
|
|
@@ -2534,6 +2730,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2534
2730
|
}, {
|
|
2535
2731
|
allowed?: boolean;
|
|
2536
2732
|
}>>>;
|
|
2733
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2734
|
+
allowed: z.ZodBoolean;
|
|
2735
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
2736
|
+
}, "strip", z.ZodTypeAny, {
|
|
2737
|
+
allowed?: boolean;
|
|
2738
|
+
maxModelsPerPeriod?: number;
|
|
2739
|
+
}, {
|
|
2740
|
+
allowed?: boolean;
|
|
2741
|
+
maxModelsPerPeriod?: number;
|
|
2742
|
+
}>>>;
|
|
2537
2743
|
}, "strip", z.ZodTypeAny, {
|
|
2538
2744
|
chat?: {
|
|
2539
2745
|
allowed?: boolean;
|
|
@@ -2550,6 +2756,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2550
2756
|
hume?: {
|
|
2551
2757
|
allowed?: boolean;
|
|
2552
2758
|
};
|
|
2759
|
+
sloyd?: {
|
|
2760
|
+
allowed?: boolean;
|
|
2761
|
+
maxModelsPerPeriod?: number;
|
|
2762
|
+
};
|
|
2553
2763
|
}, {
|
|
2554
2764
|
chat?: {
|
|
2555
2765
|
allowed?: boolean;
|
|
@@ -2566,6 +2776,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2566
2776
|
hume?: {
|
|
2567
2777
|
allowed?: boolean;
|
|
2568
2778
|
};
|
|
2779
|
+
sloyd?: {
|
|
2780
|
+
allowed?: boolean;
|
|
2781
|
+
maxModelsPerPeriod?: number;
|
|
2782
|
+
};
|
|
2569
2783
|
}>;
|
|
2570
2784
|
insts: z.ZodObject<{
|
|
2571
2785
|
allowed: z.ZodBoolean;
|
|
@@ -2643,6 +2857,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2643
2857
|
hume?: {
|
|
2644
2858
|
allowed?: boolean;
|
|
2645
2859
|
};
|
|
2860
|
+
sloyd?: {
|
|
2861
|
+
allowed?: boolean;
|
|
2862
|
+
maxModelsPerPeriod?: number;
|
|
2863
|
+
};
|
|
2646
2864
|
};
|
|
2647
2865
|
insts?: {
|
|
2648
2866
|
allowed?: boolean;
|
|
@@ -2700,6 +2918,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2700
2918
|
hume?: {
|
|
2701
2919
|
allowed?: boolean;
|
|
2702
2920
|
};
|
|
2921
|
+
sloyd?: {
|
|
2922
|
+
allowed?: boolean;
|
|
2923
|
+
maxModelsPerPeriod?: number;
|
|
2924
|
+
};
|
|
2703
2925
|
};
|
|
2704
2926
|
insts?: {
|
|
2705
2927
|
allowed?: boolean;
|
|
@@ -2759,6 +2981,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2759
2981
|
hume?: {
|
|
2760
2982
|
allowed?: boolean;
|
|
2761
2983
|
};
|
|
2984
|
+
sloyd?: {
|
|
2985
|
+
allowed?: boolean;
|
|
2986
|
+
maxModelsPerPeriod?: number;
|
|
2987
|
+
};
|
|
2762
2988
|
};
|
|
2763
2989
|
insts?: {
|
|
2764
2990
|
allowed?: boolean;
|
|
@@ -2818,6 +3044,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2818
3044
|
hume?: {
|
|
2819
3045
|
allowed?: boolean;
|
|
2820
3046
|
};
|
|
3047
|
+
sloyd?: {
|
|
3048
|
+
allowed?: boolean;
|
|
3049
|
+
maxModelsPerPeriod?: number;
|
|
3050
|
+
};
|
|
2821
3051
|
};
|
|
2822
3052
|
insts?: {
|
|
2823
3053
|
allowed?: boolean;
|
|
@@ -2878,6 +3108,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2878
3108
|
hume?: {
|
|
2879
3109
|
allowed?: boolean;
|
|
2880
3110
|
};
|
|
3111
|
+
sloyd?: {
|
|
3112
|
+
allowed?: boolean;
|
|
3113
|
+
maxModelsPerPeriod?: number;
|
|
3114
|
+
};
|
|
2881
3115
|
};
|
|
2882
3116
|
insts?: {
|
|
2883
3117
|
allowed?: boolean;
|
|
@@ -2936,6 +3170,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2936
3170
|
hume?: {
|
|
2937
3171
|
allowed?: boolean;
|
|
2938
3172
|
};
|
|
3173
|
+
sloyd?: {
|
|
3174
|
+
allowed?: boolean;
|
|
3175
|
+
maxModelsPerPeriod?: number;
|
|
3176
|
+
};
|
|
2939
3177
|
};
|
|
2940
3178
|
insts?: {
|
|
2941
3179
|
allowed?: boolean;
|
|
@@ -3089,6 +3327,16 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3089
3327
|
}, {
|
|
3090
3328
|
allowed?: boolean;
|
|
3091
3329
|
}>>>;
|
|
3330
|
+
sloyd: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3331
|
+
allowed: z.ZodBoolean;
|
|
3332
|
+
maxModelsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
3333
|
+
}, "strip", z.ZodTypeAny, {
|
|
3334
|
+
allowed?: boolean;
|
|
3335
|
+
maxModelsPerPeriod?: number;
|
|
3336
|
+
}, {
|
|
3337
|
+
allowed?: boolean;
|
|
3338
|
+
maxModelsPerPeriod?: number;
|
|
3339
|
+
}>>>;
|
|
3092
3340
|
}, "strip", z.ZodTypeAny, {
|
|
3093
3341
|
chat?: {
|
|
3094
3342
|
allowed?: boolean;
|
|
@@ -3105,6 +3353,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3105
3353
|
hume?: {
|
|
3106
3354
|
allowed?: boolean;
|
|
3107
3355
|
};
|
|
3356
|
+
sloyd?: {
|
|
3357
|
+
allowed?: boolean;
|
|
3358
|
+
maxModelsPerPeriod?: number;
|
|
3359
|
+
};
|
|
3108
3360
|
}, {
|
|
3109
3361
|
chat?: {
|
|
3110
3362
|
allowed?: boolean;
|
|
@@ -3121,6 +3373,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3121
3373
|
hume?: {
|
|
3122
3374
|
allowed?: boolean;
|
|
3123
3375
|
};
|
|
3376
|
+
sloyd?: {
|
|
3377
|
+
allowed?: boolean;
|
|
3378
|
+
maxModelsPerPeriod?: number;
|
|
3379
|
+
};
|
|
3124
3380
|
}>;
|
|
3125
3381
|
insts: z.ZodObject<{
|
|
3126
3382
|
allowed: z.ZodBoolean;
|
|
@@ -3198,6 +3454,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3198
3454
|
hume?: {
|
|
3199
3455
|
allowed?: boolean;
|
|
3200
3456
|
};
|
|
3457
|
+
sloyd?: {
|
|
3458
|
+
allowed?: boolean;
|
|
3459
|
+
maxModelsPerPeriod?: number;
|
|
3460
|
+
};
|
|
3201
3461
|
};
|
|
3202
3462
|
insts?: {
|
|
3203
3463
|
allowed?: boolean;
|
|
@@ -3255,6 +3515,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3255
3515
|
hume?: {
|
|
3256
3516
|
allowed?: boolean;
|
|
3257
3517
|
};
|
|
3518
|
+
sloyd?: {
|
|
3519
|
+
allowed?: boolean;
|
|
3520
|
+
maxModelsPerPeriod?: number;
|
|
3521
|
+
};
|
|
3258
3522
|
};
|
|
3259
3523
|
insts?: {
|
|
3260
3524
|
allowed?: boolean;
|
|
@@ -3314,6 +3578,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3314
3578
|
hume?: {
|
|
3315
3579
|
allowed?: boolean;
|
|
3316
3580
|
};
|
|
3581
|
+
sloyd?: {
|
|
3582
|
+
allowed?: boolean;
|
|
3583
|
+
maxModelsPerPeriod?: number;
|
|
3584
|
+
};
|
|
3317
3585
|
};
|
|
3318
3586
|
insts?: {
|
|
3319
3587
|
allowed?: boolean;
|
|
@@ -3373,6 +3641,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3373
3641
|
hume?: {
|
|
3374
3642
|
allowed?: boolean;
|
|
3375
3643
|
};
|
|
3644
|
+
sloyd?: {
|
|
3645
|
+
allowed?: boolean;
|
|
3646
|
+
maxModelsPerPeriod?: number;
|
|
3647
|
+
};
|
|
3376
3648
|
};
|
|
3377
3649
|
insts?: {
|
|
3378
3650
|
allowed?: boolean;
|
|
@@ -3433,6 +3705,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3433
3705
|
hume?: {
|
|
3434
3706
|
allowed?: boolean;
|
|
3435
3707
|
};
|
|
3708
|
+
sloyd?: {
|
|
3709
|
+
allowed?: boolean;
|
|
3710
|
+
maxModelsPerPeriod?: number;
|
|
3711
|
+
};
|
|
3436
3712
|
};
|
|
3437
3713
|
insts?: {
|
|
3438
3714
|
allowed?: boolean;
|
|
@@ -3491,6 +3767,10 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3491
3767
|
hume?: {
|
|
3492
3768
|
allowed?: boolean;
|
|
3493
3769
|
};
|
|
3770
|
+
sloyd?: {
|
|
3771
|
+
allowed?: boolean;
|
|
3772
|
+
maxModelsPerPeriod?: number;
|
|
3773
|
+
};
|
|
3494
3774
|
};
|
|
3495
3775
|
insts?: {
|
|
3496
3776
|
allowed?: boolean;
|
|
@@ -3779,6 +4059,10 @@ export interface AIFeaturesConfiguration {
|
|
|
3779
4059
|
* The configuration for Hume AI features.
|
|
3780
4060
|
*/
|
|
3781
4061
|
hume?: AIHumeFeaturesConfiguration;
|
|
4062
|
+
/**
|
|
4063
|
+
* The configuration for Sloyd AI features.
|
|
4064
|
+
*/
|
|
4065
|
+
sloyd?: AISloydFeaturesConfiguration;
|
|
3782
4066
|
}
|
|
3783
4067
|
export interface AIChatFeaturesConfiguration {
|
|
3784
4068
|
/**
|
|
@@ -3833,6 +4117,17 @@ export interface AIHumeFeaturesConfiguration {
|
|
|
3833
4117
|
*/
|
|
3834
4118
|
allowed: boolean;
|
|
3835
4119
|
}
|
|
4120
|
+
export interface AISloydFeaturesConfiguration {
|
|
4121
|
+
/**
|
|
4122
|
+
* The Sloyd AI features are allowed.
|
|
4123
|
+
*/
|
|
4124
|
+
allowed: boolean;
|
|
4125
|
+
/**
|
|
4126
|
+
* The maximum number of models that can be generated per subscription period.
|
|
4127
|
+
* If not specified, then there is no limit.
|
|
4128
|
+
*/
|
|
4129
|
+
maxModelsPerPeriod?: number;
|
|
4130
|
+
}
|
|
3836
4131
|
export interface InstsFeaturesConfiguration {
|
|
3837
4132
|
/**
|
|
3838
4133
|
* Whether inst features are allowed.
|
|
@@ -3887,6 +4182,15 @@ export declare function getLoomFeatures(config: SubscriptionConfiguration, subsc
|
|
|
3887
4182
|
* @param type The type of the user.
|
|
3888
4183
|
*/
|
|
3889
4184
|
export declare function getHumeAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio'): AIHumeFeaturesConfiguration;
|
|
4185
|
+
/**
|
|
4186
|
+
* Gets the Sloyd AI features that are allowed for the given subscription.
|
|
4187
|
+
* If sloyd ai features are not configured, then they are not allowed.
|
|
4188
|
+
* @param config The configuration. If null, then all default features are allowed.
|
|
4189
|
+
* @param subscriptionStatus The status of the subscription.
|
|
4190
|
+
* @param subscriptionId The ID of the subscription.
|
|
4191
|
+
* @param type The type of the user.
|
|
4192
|
+
*/
|
|
4193
|
+
export declare function getSloydAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio'): AISloydFeaturesConfiguration;
|
|
3890
4194
|
/**
|
|
3891
4195
|
* Gets the features that are available for the given subscription.
|
|
3892
4196
|
* Useful for determining which features a user/studio should have access to based on the ID of their subscription.
|