@casual-simulation/aux-records 3.2.6 → 3.2.7-alpha.6227012901
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 +1 -1
- package/AIGenerateSkyboxInterface.d.ts +1 -1
- package/AuthController.d.ts +53 -1
- package/AuthController.js +117 -1
- package/AuthController.js.map +1 -1
- package/AuthMessenger.d.ts +1 -1
- package/AuthStore.d.ts +5 -1
- package/AuthUtils.d.ts +55 -1
- package/AuthUtils.js +130 -2
- package/AuthUtils.js.map +1 -1
- package/DataRecordsController.d.ts +1 -1
- package/DataRecordsStore.d.ts +1 -1
- package/EventRecordsController.d.ts +1 -1
- package/EventRecordsController.js.map +1 -1
- package/EventRecordsStore.d.ts +1 -1
- package/FileRecordsController.d.ts +1 -1
- package/FileRecordsStore.d.ts +2 -2
- package/LivekitEvents.d.ts +1 -1
- package/MemoryRateLimiter.js +1 -1
- package/MemoryRateLimiter.js.map +1 -1
- package/MemoryStore.d.ts +2 -2
- package/MemoryStore.js +2 -0
- package/MemoryStore.js.map +1 -1
- package/PolicyController.d.ts +1 -1
- package/PolicyController.js.map +1 -1
- package/PolicyPermissions.d.ts +212 -1
- package/PolicyPermissions.js +67 -0
- package/PolicyPermissions.js.map +1 -1
- package/PolicyStore.d.ts +1 -1
- package/RateLimitController.d.ts +3 -1
- package/RateLimitController.js +2 -0
- package/RateLimitController.js.map +1 -1
- package/RecordsController.d.ts +30 -2
- package/RecordsController.js +12 -8
- package/RecordsController.js.map +1 -1
- package/{RecordsHttpServer.d.ts → RecordsServer.d.ts} +35 -5
- package/{RecordsHttpServer.js → RecordsServer.js} +153 -6
- package/RecordsServer.js.map +1 -0
- package/RecordsStore.d.ts +12 -6
- package/SubscriptionConfiguration.d.ts +479 -74
- package/SubscriptionConfiguration.js +34 -1
- package/SubscriptionConfiguration.js.map +1 -1
- package/SubscriptionController.d.ts +1 -1
- package/TestUtils.d.ts +2 -0
- package/TestUtils.js +5 -0
- package/TestUtils.js.map +1 -1
- package/Utils.d.ts +0 -10
- package/Utils.js +0 -19
- package/Utils.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +6 -3
- package/websockets/InstRecordsStore.d.ts +186 -0
- package/websockets/InstRecordsStore.js +2 -0
- package/websockets/InstRecordsStore.js.map +1 -0
- package/websockets/MemoryInstRecordsStore.d.ts +31 -0
- package/websockets/MemoryInstRecordsStore.js +310 -0
- package/websockets/MemoryInstRecordsStore.js.map +1 -0
- package/websockets/MemoryTempInstRecordsStore.d.ts +31 -0
- package/websockets/MemoryTempInstRecordsStore.js +169 -0
- package/websockets/MemoryTempInstRecordsStore.js.map +1 -0
- package/websockets/MemoryWebsocketConnectionStore.d.ts +33 -0
- package/websockets/MemoryWebsocketConnectionStore.js +169 -0
- package/websockets/MemoryWebsocketConnectionStore.js.map +1 -0
- package/websockets/MemoryWebsocketMessenger.d.ts +21 -0
- package/websockets/MemoryWebsocketMessenger.js +94 -0
- package/websockets/MemoryWebsocketMessenger.js.map +1 -0
- package/websockets/SplitInstRecordsStore.d.ts +21 -0
- package/websockets/SplitInstRecordsStore.js +186 -0
- package/websockets/SplitInstRecordsStore.js.map +1 -0
- package/websockets/TemporaryInstRecordsStore.d.ts +130 -0
- package/websockets/TemporaryInstRecordsStore.js +2 -0
- package/websockets/TemporaryInstRecordsStore.js.map +1 -0
- package/websockets/Utils.d.ts +16 -0
- package/websockets/Utils.js +26 -0
- package/websockets/Utils.js.map +1 -0
- package/websockets/WebsocketConnectionStore.d.ts +141 -0
- package/websockets/WebsocketConnectionStore.js +2 -0
- package/websockets/WebsocketConnectionStore.js.map +1 -0
- package/websockets/WebsocketController.d.ts +97 -0
- package/websockets/WebsocketController.js +707 -0
- package/websockets/WebsocketController.js.map +1 -0
- package/websockets/WebsocketMessenger.d.ts +42 -0
- package/websockets/WebsocketMessenger.js +2 -0
- package/websockets/WebsocketMessenger.js.map +1 -0
- package/websockets/index.d.ts +12 -0
- package/websockets/index.js +12 -0
- package/websockets/index.js.map +1 -0
- package/Errors.d.ts +0 -29
- package/Errors.js +0 -2
- package/Errors.js.map +0 -1
- package/RecordsHttpServer.js.map +0 -1
|
@@ -88,13 +88,13 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
skyboxes: z.ZodObject<{
|
|
90
90
|
allowed: z.ZodBoolean;
|
|
91
|
-
|
|
91
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
93
|
allowed?: boolean;
|
|
94
|
-
|
|
94
|
+
maxSkyboxesPerPeriod?: number;
|
|
95
95
|
}, {
|
|
96
96
|
allowed?: boolean;
|
|
97
|
-
|
|
97
|
+
maxSkyboxesPerPeriod?: number;
|
|
98
98
|
}>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
chat?: {
|
|
@@ -107,7 +107,7 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
107
107
|
};
|
|
108
108
|
skyboxes?: {
|
|
109
109
|
allowed?: boolean;
|
|
110
|
-
|
|
110
|
+
maxSkyboxesPerPeriod?: number;
|
|
111
111
|
};
|
|
112
112
|
}, {
|
|
113
113
|
chat?: {
|
|
@@ -120,9 +120,25 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
120
120
|
};
|
|
121
121
|
skyboxes?: {
|
|
122
122
|
allowed?: boolean;
|
|
123
|
-
|
|
123
|
+
maxSkyboxesPerPeriod?: number;
|
|
124
124
|
};
|
|
125
125
|
}>;
|
|
126
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
allowed: z.ZodBoolean;
|
|
128
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
allowed?: boolean;
|
|
133
|
+
maxInsts?: number;
|
|
134
|
+
maxBytesPerInst?: number;
|
|
135
|
+
maxActiveConnectionsPerInst?: number;
|
|
136
|
+
}, {
|
|
137
|
+
allowed?: boolean;
|
|
138
|
+
maxInsts?: number;
|
|
139
|
+
maxBytesPerInst?: number;
|
|
140
|
+
maxActiveConnectionsPerInst?: number;
|
|
141
|
+
}>>;
|
|
126
142
|
}, "strip", z.ZodTypeAny, {
|
|
127
143
|
records?: {
|
|
128
144
|
allowed?: boolean;
|
|
@@ -160,9 +176,15 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
160
176
|
};
|
|
161
177
|
skyboxes?: {
|
|
162
178
|
allowed?: boolean;
|
|
163
|
-
|
|
179
|
+
maxSkyboxesPerPeriod?: number;
|
|
164
180
|
};
|
|
165
181
|
};
|
|
182
|
+
insts?: {
|
|
183
|
+
allowed?: boolean;
|
|
184
|
+
maxInsts?: number;
|
|
185
|
+
maxBytesPerInst?: number;
|
|
186
|
+
maxActiveConnectionsPerInst?: number;
|
|
187
|
+
};
|
|
166
188
|
}, {
|
|
167
189
|
records?: {
|
|
168
190
|
allowed?: boolean;
|
|
@@ -200,9 +222,15 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
200
222
|
};
|
|
201
223
|
skyboxes?: {
|
|
202
224
|
allowed?: boolean;
|
|
203
|
-
|
|
225
|
+
maxSkyboxesPerPeriod?: number;
|
|
204
226
|
};
|
|
205
227
|
};
|
|
228
|
+
insts?: {
|
|
229
|
+
allowed?: boolean;
|
|
230
|
+
maxInsts?: number;
|
|
231
|
+
maxBytesPerInst?: number;
|
|
232
|
+
maxActiveConnectionsPerInst?: number;
|
|
233
|
+
};
|
|
206
234
|
}>;
|
|
207
235
|
export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
208
236
|
webhookSecret: z.ZodString;
|
|
@@ -332,13 +360,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
332
360
|
}>;
|
|
333
361
|
skyboxes: z.ZodObject<{
|
|
334
362
|
allowed: z.ZodBoolean;
|
|
335
|
-
|
|
363
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
336
364
|
}, "strip", z.ZodTypeAny, {
|
|
337
365
|
allowed?: boolean;
|
|
338
|
-
|
|
366
|
+
maxSkyboxesPerPeriod?: number;
|
|
339
367
|
}, {
|
|
340
368
|
allowed?: boolean;
|
|
341
|
-
|
|
369
|
+
maxSkyboxesPerPeriod?: number;
|
|
342
370
|
}>;
|
|
343
371
|
}, "strip", z.ZodTypeAny, {
|
|
344
372
|
chat?: {
|
|
@@ -351,7 +379,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
351
379
|
};
|
|
352
380
|
skyboxes?: {
|
|
353
381
|
allowed?: boolean;
|
|
354
|
-
|
|
382
|
+
maxSkyboxesPerPeriod?: number;
|
|
355
383
|
};
|
|
356
384
|
}, {
|
|
357
385
|
chat?: {
|
|
@@ -364,9 +392,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
364
392
|
};
|
|
365
393
|
skyboxes?: {
|
|
366
394
|
allowed?: boolean;
|
|
367
|
-
|
|
395
|
+
maxSkyboxesPerPeriod?: number;
|
|
368
396
|
};
|
|
369
397
|
}>;
|
|
398
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
399
|
+
allowed: z.ZodBoolean;
|
|
400
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
|
404
|
+
allowed?: boolean;
|
|
405
|
+
maxInsts?: number;
|
|
406
|
+
maxBytesPerInst?: number;
|
|
407
|
+
maxActiveConnectionsPerInst?: number;
|
|
408
|
+
}, {
|
|
409
|
+
allowed?: boolean;
|
|
410
|
+
maxInsts?: number;
|
|
411
|
+
maxBytesPerInst?: number;
|
|
412
|
+
maxActiveConnectionsPerInst?: number;
|
|
413
|
+
}>>;
|
|
370
414
|
}, "strip", z.ZodTypeAny, {
|
|
371
415
|
records?: {
|
|
372
416
|
allowed?: boolean;
|
|
@@ -404,9 +448,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
404
448
|
};
|
|
405
449
|
skyboxes?: {
|
|
406
450
|
allowed?: boolean;
|
|
407
|
-
|
|
451
|
+
maxSkyboxesPerPeriod?: number;
|
|
408
452
|
};
|
|
409
453
|
};
|
|
454
|
+
insts?: {
|
|
455
|
+
allowed?: boolean;
|
|
456
|
+
maxInsts?: number;
|
|
457
|
+
maxBytesPerInst?: number;
|
|
458
|
+
maxActiveConnectionsPerInst?: number;
|
|
459
|
+
};
|
|
410
460
|
}, {
|
|
411
461
|
records?: {
|
|
412
462
|
allowed?: boolean;
|
|
@@ -444,9 +494,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
444
494
|
};
|
|
445
495
|
skyboxes?: {
|
|
446
496
|
allowed?: boolean;
|
|
447
|
-
|
|
497
|
+
maxSkyboxesPerPeriod?: number;
|
|
448
498
|
};
|
|
449
499
|
};
|
|
500
|
+
insts?: {
|
|
501
|
+
allowed?: boolean;
|
|
502
|
+
maxInsts?: number;
|
|
503
|
+
maxBytesPerInst?: number;
|
|
504
|
+
maxActiveConnectionsPerInst?: number;
|
|
505
|
+
};
|
|
450
506
|
}>>;
|
|
451
507
|
}, "strip", z.ZodTypeAny, {
|
|
452
508
|
features?: {
|
|
@@ -486,9 +542,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
486
542
|
};
|
|
487
543
|
skyboxes?: {
|
|
488
544
|
allowed?: boolean;
|
|
489
|
-
|
|
545
|
+
maxSkyboxesPerPeriod?: number;
|
|
490
546
|
};
|
|
491
547
|
};
|
|
548
|
+
insts?: {
|
|
549
|
+
allowed?: boolean;
|
|
550
|
+
maxInsts?: number;
|
|
551
|
+
maxBytesPerInst?: number;
|
|
552
|
+
maxActiveConnectionsPerInst?: number;
|
|
553
|
+
};
|
|
492
554
|
};
|
|
493
555
|
}, {
|
|
494
556
|
features?: {
|
|
@@ -528,9 +590,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
528
590
|
};
|
|
529
591
|
skyboxes?: {
|
|
530
592
|
allowed?: boolean;
|
|
531
|
-
|
|
593
|
+
maxSkyboxesPerPeriod?: number;
|
|
532
594
|
};
|
|
533
595
|
};
|
|
596
|
+
insts?: {
|
|
597
|
+
allowed?: boolean;
|
|
598
|
+
maxInsts?: number;
|
|
599
|
+
maxBytesPerInst?: number;
|
|
600
|
+
maxActiveConnectionsPerInst?: number;
|
|
601
|
+
};
|
|
534
602
|
};
|
|
535
603
|
}>, z.objectOutputType<{}, z.ZodObject<{
|
|
536
604
|
features: z.ZodOptional<z.ZodObject<{
|
|
@@ -622,13 +690,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
622
690
|
}>;
|
|
623
691
|
skyboxes: z.ZodObject<{
|
|
624
692
|
allowed: z.ZodBoolean;
|
|
625
|
-
|
|
693
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
626
694
|
}, "strip", z.ZodTypeAny, {
|
|
627
695
|
allowed?: boolean;
|
|
628
|
-
|
|
696
|
+
maxSkyboxesPerPeriod?: number;
|
|
629
697
|
}, {
|
|
630
698
|
allowed?: boolean;
|
|
631
|
-
|
|
699
|
+
maxSkyboxesPerPeriod?: number;
|
|
632
700
|
}>;
|
|
633
701
|
}, "strip", z.ZodTypeAny, {
|
|
634
702
|
chat?: {
|
|
@@ -641,7 +709,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
641
709
|
};
|
|
642
710
|
skyboxes?: {
|
|
643
711
|
allowed?: boolean;
|
|
644
|
-
|
|
712
|
+
maxSkyboxesPerPeriod?: number;
|
|
645
713
|
};
|
|
646
714
|
}, {
|
|
647
715
|
chat?: {
|
|
@@ -654,9 +722,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
654
722
|
};
|
|
655
723
|
skyboxes?: {
|
|
656
724
|
allowed?: boolean;
|
|
657
|
-
|
|
725
|
+
maxSkyboxesPerPeriod?: number;
|
|
658
726
|
};
|
|
659
727
|
}>;
|
|
728
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
729
|
+
allowed: z.ZodBoolean;
|
|
730
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
}, "strip", z.ZodTypeAny, {
|
|
734
|
+
allowed?: boolean;
|
|
735
|
+
maxInsts?: number;
|
|
736
|
+
maxBytesPerInst?: number;
|
|
737
|
+
maxActiveConnectionsPerInst?: number;
|
|
738
|
+
}, {
|
|
739
|
+
allowed?: boolean;
|
|
740
|
+
maxInsts?: number;
|
|
741
|
+
maxBytesPerInst?: number;
|
|
742
|
+
maxActiveConnectionsPerInst?: number;
|
|
743
|
+
}>>;
|
|
660
744
|
}, "strip", z.ZodTypeAny, {
|
|
661
745
|
records?: {
|
|
662
746
|
allowed?: boolean;
|
|
@@ -694,9 +778,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
694
778
|
};
|
|
695
779
|
skyboxes?: {
|
|
696
780
|
allowed?: boolean;
|
|
697
|
-
|
|
781
|
+
maxSkyboxesPerPeriod?: number;
|
|
698
782
|
};
|
|
699
783
|
};
|
|
784
|
+
insts?: {
|
|
785
|
+
allowed?: boolean;
|
|
786
|
+
maxInsts?: number;
|
|
787
|
+
maxBytesPerInst?: number;
|
|
788
|
+
maxActiveConnectionsPerInst?: number;
|
|
789
|
+
};
|
|
700
790
|
}, {
|
|
701
791
|
records?: {
|
|
702
792
|
allowed?: boolean;
|
|
@@ -734,9 +824,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
734
824
|
};
|
|
735
825
|
skyboxes?: {
|
|
736
826
|
allowed?: boolean;
|
|
737
|
-
|
|
827
|
+
maxSkyboxesPerPeriod?: number;
|
|
738
828
|
};
|
|
739
829
|
};
|
|
830
|
+
insts?: {
|
|
831
|
+
allowed?: boolean;
|
|
832
|
+
maxInsts?: number;
|
|
833
|
+
maxBytesPerInst?: number;
|
|
834
|
+
maxActiveConnectionsPerInst?: number;
|
|
835
|
+
};
|
|
740
836
|
}>>;
|
|
741
837
|
}, "strip", z.ZodTypeAny, {
|
|
742
838
|
features?: {
|
|
@@ -776,9 +872,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
776
872
|
};
|
|
777
873
|
skyboxes?: {
|
|
778
874
|
allowed?: boolean;
|
|
779
|
-
|
|
875
|
+
maxSkyboxesPerPeriod?: number;
|
|
780
876
|
};
|
|
781
877
|
};
|
|
878
|
+
insts?: {
|
|
879
|
+
allowed?: boolean;
|
|
880
|
+
maxInsts?: number;
|
|
881
|
+
maxBytesPerInst?: number;
|
|
882
|
+
maxActiveConnectionsPerInst?: number;
|
|
883
|
+
};
|
|
782
884
|
};
|
|
783
885
|
}, {
|
|
784
886
|
features?: {
|
|
@@ -818,9 +920,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
818
920
|
};
|
|
819
921
|
skyboxes?: {
|
|
820
922
|
allowed?: boolean;
|
|
821
|
-
|
|
923
|
+
maxSkyboxesPerPeriod?: number;
|
|
822
924
|
};
|
|
823
925
|
};
|
|
926
|
+
insts?: {
|
|
927
|
+
allowed?: boolean;
|
|
928
|
+
maxInsts?: number;
|
|
929
|
+
maxBytesPerInst?: number;
|
|
930
|
+
maxActiveConnectionsPerInst?: number;
|
|
931
|
+
};
|
|
824
932
|
};
|
|
825
933
|
}>, "strip">, z.objectInputType<{}, z.ZodObject<{
|
|
826
934
|
features: z.ZodOptional<z.ZodObject<{
|
|
@@ -912,13 +1020,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
912
1020
|
}>;
|
|
913
1021
|
skyboxes: z.ZodObject<{
|
|
914
1022
|
allowed: z.ZodBoolean;
|
|
915
|
-
|
|
1023
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
916
1024
|
}, "strip", z.ZodTypeAny, {
|
|
917
1025
|
allowed?: boolean;
|
|
918
|
-
|
|
1026
|
+
maxSkyboxesPerPeriod?: number;
|
|
919
1027
|
}, {
|
|
920
1028
|
allowed?: boolean;
|
|
921
|
-
|
|
1029
|
+
maxSkyboxesPerPeriod?: number;
|
|
922
1030
|
}>;
|
|
923
1031
|
}, "strip", z.ZodTypeAny, {
|
|
924
1032
|
chat?: {
|
|
@@ -931,7 +1039,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
931
1039
|
};
|
|
932
1040
|
skyboxes?: {
|
|
933
1041
|
allowed?: boolean;
|
|
934
|
-
|
|
1042
|
+
maxSkyboxesPerPeriod?: number;
|
|
935
1043
|
};
|
|
936
1044
|
}, {
|
|
937
1045
|
chat?: {
|
|
@@ -944,9 +1052,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
944
1052
|
};
|
|
945
1053
|
skyboxes?: {
|
|
946
1054
|
allowed?: boolean;
|
|
947
|
-
|
|
1055
|
+
maxSkyboxesPerPeriod?: number;
|
|
948
1056
|
};
|
|
949
1057
|
}>;
|
|
1058
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
1059
|
+
allowed: z.ZodBoolean;
|
|
1060
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1062
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1063
|
+
}, "strip", z.ZodTypeAny, {
|
|
1064
|
+
allowed?: boolean;
|
|
1065
|
+
maxInsts?: number;
|
|
1066
|
+
maxBytesPerInst?: number;
|
|
1067
|
+
maxActiveConnectionsPerInst?: number;
|
|
1068
|
+
}, {
|
|
1069
|
+
allowed?: boolean;
|
|
1070
|
+
maxInsts?: number;
|
|
1071
|
+
maxBytesPerInst?: number;
|
|
1072
|
+
maxActiveConnectionsPerInst?: number;
|
|
1073
|
+
}>>;
|
|
950
1074
|
}, "strip", z.ZodTypeAny, {
|
|
951
1075
|
records?: {
|
|
952
1076
|
allowed?: boolean;
|
|
@@ -984,9 +1108,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
984
1108
|
};
|
|
985
1109
|
skyboxes?: {
|
|
986
1110
|
allowed?: boolean;
|
|
987
|
-
|
|
1111
|
+
maxSkyboxesPerPeriod?: number;
|
|
988
1112
|
};
|
|
989
1113
|
};
|
|
1114
|
+
insts?: {
|
|
1115
|
+
allowed?: boolean;
|
|
1116
|
+
maxInsts?: number;
|
|
1117
|
+
maxBytesPerInst?: number;
|
|
1118
|
+
maxActiveConnectionsPerInst?: number;
|
|
1119
|
+
};
|
|
990
1120
|
}, {
|
|
991
1121
|
records?: {
|
|
992
1122
|
allowed?: boolean;
|
|
@@ -1024,9 +1154,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1024
1154
|
};
|
|
1025
1155
|
skyboxes?: {
|
|
1026
1156
|
allowed?: boolean;
|
|
1027
|
-
|
|
1157
|
+
maxSkyboxesPerPeriod?: number;
|
|
1028
1158
|
};
|
|
1029
1159
|
};
|
|
1160
|
+
insts?: {
|
|
1161
|
+
allowed?: boolean;
|
|
1162
|
+
maxInsts?: number;
|
|
1163
|
+
maxBytesPerInst?: number;
|
|
1164
|
+
maxActiveConnectionsPerInst?: number;
|
|
1165
|
+
};
|
|
1030
1166
|
}>>;
|
|
1031
1167
|
}, "strip", z.ZodTypeAny, {
|
|
1032
1168
|
features?: {
|
|
@@ -1066,9 +1202,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1066
1202
|
};
|
|
1067
1203
|
skyboxes?: {
|
|
1068
1204
|
allowed?: boolean;
|
|
1069
|
-
|
|
1205
|
+
maxSkyboxesPerPeriod?: number;
|
|
1070
1206
|
};
|
|
1071
1207
|
};
|
|
1208
|
+
insts?: {
|
|
1209
|
+
allowed?: boolean;
|
|
1210
|
+
maxInsts?: number;
|
|
1211
|
+
maxBytesPerInst?: number;
|
|
1212
|
+
maxActiveConnectionsPerInst?: number;
|
|
1213
|
+
};
|
|
1072
1214
|
};
|
|
1073
1215
|
}, {
|
|
1074
1216
|
features?: {
|
|
@@ -1108,9 +1250,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1108
1250
|
};
|
|
1109
1251
|
skyboxes?: {
|
|
1110
1252
|
allowed?: boolean;
|
|
1111
|
-
|
|
1253
|
+
maxSkyboxesPerPeriod?: number;
|
|
1112
1254
|
};
|
|
1113
1255
|
};
|
|
1256
|
+
insts?: {
|
|
1257
|
+
allowed?: boolean;
|
|
1258
|
+
maxInsts?: number;
|
|
1259
|
+
maxBytesPerInst?: number;
|
|
1260
|
+
maxActiveConnectionsPerInst?: number;
|
|
1261
|
+
};
|
|
1114
1262
|
};
|
|
1115
1263
|
}>, "strip">>>;
|
|
1116
1264
|
defaultFeatures: z.ZodOptional<z.ZodObject<{
|
|
@@ -1203,13 +1351,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1203
1351
|
}>;
|
|
1204
1352
|
skyboxes: z.ZodObject<{
|
|
1205
1353
|
allowed: z.ZodBoolean;
|
|
1206
|
-
|
|
1354
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1207
1355
|
}, "strip", z.ZodTypeAny, {
|
|
1208
1356
|
allowed?: boolean;
|
|
1209
|
-
|
|
1357
|
+
maxSkyboxesPerPeriod?: number;
|
|
1210
1358
|
}, {
|
|
1211
1359
|
allowed?: boolean;
|
|
1212
|
-
|
|
1360
|
+
maxSkyboxesPerPeriod?: number;
|
|
1213
1361
|
}>;
|
|
1214
1362
|
}, "strip", z.ZodTypeAny, {
|
|
1215
1363
|
chat?: {
|
|
@@ -1222,7 +1370,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1222
1370
|
};
|
|
1223
1371
|
skyboxes?: {
|
|
1224
1372
|
allowed?: boolean;
|
|
1225
|
-
|
|
1373
|
+
maxSkyboxesPerPeriod?: number;
|
|
1226
1374
|
};
|
|
1227
1375
|
}, {
|
|
1228
1376
|
chat?: {
|
|
@@ -1235,9 +1383,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1235
1383
|
};
|
|
1236
1384
|
skyboxes?: {
|
|
1237
1385
|
allowed?: boolean;
|
|
1238
|
-
|
|
1386
|
+
maxSkyboxesPerPeriod?: number;
|
|
1239
1387
|
};
|
|
1240
1388
|
}>;
|
|
1389
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
1390
|
+
allowed: z.ZodBoolean;
|
|
1391
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1393
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
allowed?: boolean;
|
|
1396
|
+
maxInsts?: number;
|
|
1397
|
+
maxBytesPerInst?: number;
|
|
1398
|
+
maxActiveConnectionsPerInst?: number;
|
|
1399
|
+
}, {
|
|
1400
|
+
allowed?: boolean;
|
|
1401
|
+
maxInsts?: number;
|
|
1402
|
+
maxBytesPerInst?: number;
|
|
1403
|
+
maxActiveConnectionsPerInst?: number;
|
|
1404
|
+
}>>;
|
|
1241
1405
|
}, "strip", z.ZodTypeAny, {
|
|
1242
1406
|
records?: {
|
|
1243
1407
|
allowed?: boolean;
|
|
@@ -1275,9 +1439,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1275
1439
|
};
|
|
1276
1440
|
skyboxes?: {
|
|
1277
1441
|
allowed?: boolean;
|
|
1278
|
-
|
|
1442
|
+
maxSkyboxesPerPeriod?: number;
|
|
1279
1443
|
};
|
|
1280
1444
|
};
|
|
1445
|
+
insts?: {
|
|
1446
|
+
allowed?: boolean;
|
|
1447
|
+
maxInsts?: number;
|
|
1448
|
+
maxBytesPerInst?: number;
|
|
1449
|
+
maxActiveConnectionsPerInst?: number;
|
|
1450
|
+
};
|
|
1281
1451
|
}, {
|
|
1282
1452
|
records?: {
|
|
1283
1453
|
allowed?: boolean;
|
|
@@ -1315,9 +1485,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1315
1485
|
};
|
|
1316
1486
|
skyboxes?: {
|
|
1317
1487
|
allowed?: boolean;
|
|
1318
|
-
|
|
1488
|
+
maxSkyboxesPerPeriod?: number;
|
|
1319
1489
|
};
|
|
1320
1490
|
};
|
|
1491
|
+
insts?: {
|
|
1492
|
+
allowed?: boolean;
|
|
1493
|
+
maxInsts?: number;
|
|
1494
|
+
maxBytesPerInst?: number;
|
|
1495
|
+
maxActiveConnectionsPerInst?: number;
|
|
1496
|
+
};
|
|
1321
1497
|
}>>;
|
|
1322
1498
|
studio: z.ZodOptional<z.ZodObject<{
|
|
1323
1499
|
records: z.ZodOptional<z.ZodObject<{
|
|
@@ -1408,13 +1584,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1408
1584
|
}>;
|
|
1409
1585
|
skyboxes: z.ZodObject<{
|
|
1410
1586
|
allowed: z.ZodBoolean;
|
|
1411
|
-
|
|
1587
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1412
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1413
1589
|
allowed?: boolean;
|
|
1414
|
-
|
|
1590
|
+
maxSkyboxesPerPeriod?: number;
|
|
1415
1591
|
}, {
|
|
1416
1592
|
allowed?: boolean;
|
|
1417
|
-
|
|
1593
|
+
maxSkyboxesPerPeriod?: number;
|
|
1418
1594
|
}>;
|
|
1419
1595
|
}, "strip", z.ZodTypeAny, {
|
|
1420
1596
|
chat?: {
|
|
@@ -1427,7 +1603,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1427
1603
|
};
|
|
1428
1604
|
skyboxes?: {
|
|
1429
1605
|
allowed?: boolean;
|
|
1430
|
-
|
|
1606
|
+
maxSkyboxesPerPeriod?: number;
|
|
1431
1607
|
};
|
|
1432
1608
|
}, {
|
|
1433
1609
|
chat?: {
|
|
@@ -1440,9 +1616,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1440
1616
|
};
|
|
1441
1617
|
skyboxes?: {
|
|
1442
1618
|
allowed?: boolean;
|
|
1443
|
-
|
|
1619
|
+
maxSkyboxesPerPeriod?: number;
|
|
1444
1620
|
};
|
|
1445
1621
|
}>;
|
|
1622
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
1623
|
+
allowed: z.ZodBoolean;
|
|
1624
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1627
|
+
}, "strip", z.ZodTypeAny, {
|
|
1628
|
+
allowed?: boolean;
|
|
1629
|
+
maxInsts?: number;
|
|
1630
|
+
maxBytesPerInst?: number;
|
|
1631
|
+
maxActiveConnectionsPerInst?: number;
|
|
1632
|
+
}, {
|
|
1633
|
+
allowed?: boolean;
|
|
1634
|
+
maxInsts?: number;
|
|
1635
|
+
maxBytesPerInst?: number;
|
|
1636
|
+
maxActiveConnectionsPerInst?: number;
|
|
1637
|
+
}>>;
|
|
1446
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1447
1639
|
records?: {
|
|
1448
1640
|
allowed?: boolean;
|
|
@@ -1480,9 +1672,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1480
1672
|
};
|
|
1481
1673
|
skyboxes?: {
|
|
1482
1674
|
allowed?: boolean;
|
|
1483
|
-
|
|
1675
|
+
maxSkyboxesPerPeriod?: number;
|
|
1484
1676
|
};
|
|
1485
1677
|
};
|
|
1678
|
+
insts?: {
|
|
1679
|
+
allowed?: boolean;
|
|
1680
|
+
maxInsts?: number;
|
|
1681
|
+
maxBytesPerInst?: number;
|
|
1682
|
+
maxActiveConnectionsPerInst?: number;
|
|
1683
|
+
};
|
|
1486
1684
|
}, {
|
|
1487
1685
|
records?: {
|
|
1488
1686
|
allowed?: boolean;
|
|
@@ -1520,9 +1718,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1520
1718
|
};
|
|
1521
1719
|
skyboxes?: {
|
|
1522
1720
|
allowed?: boolean;
|
|
1523
|
-
|
|
1721
|
+
maxSkyboxesPerPeriod?: number;
|
|
1524
1722
|
};
|
|
1525
1723
|
};
|
|
1724
|
+
insts?: {
|
|
1725
|
+
allowed?: boolean;
|
|
1726
|
+
maxInsts?: number;
|
|
1727
|
+
maxBytesPerInst?: number;
|
|
1728
|
+
maxActiveConnectionsPerInst?: number;
|
|
1729
|
+
};
|
|
1526
1730
|
}>>;
|
|
1527
1731
|
defaultPeriodLength: z.ZodDefault<z.ZodObject<{
|
|
1528
1732
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1534,6 +1738,19 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1534
1738
|
days?: number;
|
|
1535
1739
|
months?: number;
|
|
1536
1740
|
}>>;
|
|
1741
|
+
tempInsts: z.ZodOptional<z.ZodObject<{
|
|
1742
|
+
allowed: z.ZodBoolean;
|
|
1743
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1744
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
allowed?: boolean;
|
|
1747
|
+
maxBytesPerInst?: number;
|
|
1748
|
+
maxActiveConnectionsPerInst?: number;
|
|
1749
|
+
}, {
|
|
1750
|
+
allowed?: boolean;
|
|
1751
|
+
maxBytesPerInst?: number;
|
|
1752
|
+
maxActiveConnectionsPerInst?: number;
|
|
1753
|
+
}>>;
|
|
1537
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1538
1755
|
user?: {
|
|
1539
1756
|
records?: {
|
|
@@ -1572,9 +1789,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1572
1789
|
};
|
|
1573
1790
|
skyboxes?: {
|
|
1574
1791
|
allowed?: boolean;
|
|
1575
|
-
|
|
1792
|
+
maxSkyboxesPerPeriod?: number;
|
|
1576
1793
|
};
|
|
1577
1794
|
};
|
|
1795
|
+
insts?: {
|
|
1796
|
+
allowed?: boolean;
|
|
1797
|
+
maxInsts?: number;
|
|
1798
|
+
maxBytesPerInst?: number;
|
|
1799
|
+
maxActiveConnectionsPerInst?: number;
|
|
1800
|
+
};
|
|
1578
1801
|
};
|
|
1579
1802
|
studio?: {
|
|
1580
1803
|
records?: {
|
|
@@ -1613,14 +1836,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1613
1836
|
};
|
|
1614
1837
|
skyboxes?: {
|
|
1615
1838
|
allowed?: boolean;
|
|
1616
|
-
|
|
1839
|
+
maxSkyboxesPerPeriod?: number;
|
|
1617
1840
|
};
|
|
1618
1841
|
};
|
|
1842
|
+
insts?: {
|
|
1843
|
+
allowed?: boolean;
|
|
1844
|
+
maxInsts?: number;
|
|
1845
|
+
maxBytesPerInst?: number;
|
|
1846
|
+
maxActiveConnectionsPerInst?: number;
|
|
1847
|
+
};
|
|
1619
1848
|
};
|
|
1620
1849
|
defaultPeriodLength?: {
|
|
1621
1850
|
days?: number;
|
|
1622
1851
|
months?: number;
|
|
1623
1852
|
};
|
|
1853
|
+
tempInsts?: {
|
|
1854
|
+
allowed?: boolean;
|
|
1855
|
+
maxBytesPerInst?: number;
|
|
1856
|
+
maxActiveConnectionsPerInst?: number;
|
|
1857
|
+
};
|
|
1624
1858
|
}, {
|
|
1625
1859
|
user?: {
|
|
1626
1860
|
records?: {
|
|
@@ -1659,9 +1893,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1659
1893
|
};
|
|
1660
1894
|
skyboxes?: {
|
|
1661
1895
|
allowed?: boolean;
|
|
1662
|
-
|
|
1896
|
+
maxSkyboxesPerPeriod?: number;
|
|
1663
1897
|
};
|
|
1664
1898
|
};
|
|
1899
|
+
insts?: {
|
|
1900
|
+
allowed?: boolean;
|
|
1901
|
+
maxInsts?: number;
|
|
1902
|
+
maxBytesPerInst?: number;
|
|
1903
|
+
maxActiveConnectionsPerInst?: number;
|
|
1904
|
+
};
|
|
1665
1905
|
};
|
|
1666
1906
|
studio?: {
|
|
1667
1907
|
records?: {
|
|
@@ -1700,14 +1940,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1700
1940
|
};
|
|
1701
1941
|
skyboxes?: {
|
|
1702
1942
|
allowed?: boolean;
|
|
1703
|
-
|
|
1943
|
+
maxSkyboxesPerPeriod?: number;
|
|
1704
1944
|
};
|
|
1705
1945
|
};
|
|
1946
|
+
insts?: {
|
|
1947
|
+
allowed?: boolean;
|
|
1948
|
+
maxInsts?: number;
|
|
1949
|
+
maxBytesPerInst?: number;
|
|
1950
|
+
maxActiveConnectionsPerInst?: number;
|
|
1951
|
+
};
|
|
1706
1952
|
};
|
|
1707
1953
|
defaultPeriodLength?: {
|
|
1708
1954
|
days?: number;
|
|
1709
1955
|
months?: number;
|
|
1710
1956
|
};
|
|
1957
|
+
tempInsts?: {
|
|
1958
|
+
allowed?: boolean;
|
|
1959
|
+
maxBytesPerInst?: number;
|
|
1960
|
+
maxActiveConnectionsPerInst?: number;
|
|
1961
|
+
};
|
|
1711
1962
|
}>>;
|
|
1712
1963
|
}, "strip", z.ZodTypeAny, {
|
|
1713
1964
|
webhookSecret?: string;
|
|
@@ -1817,13 +2068,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1817
2068
|
}>;
|
|
1818
2069
|
skyboxes: z.ZodObject<{
|
|
1819
2070
|
allowed: z.ZodBoolean;
|
|
1820
|
-
|
|
2071
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
1821
2072
|
}, "strip", z.ZodTypeAny, {
|
|
1822
2073
|
allowed?: boolean;
|
|
1823
|
-
|
|
2074
|
+
maxSkyboxesPerPeriod?: number;
|
|
1824
2075
|
}, {
|
|
1825
2076
|
allowed?: boolean;
|
|
1826
|
-
|
|
2077
|
+
maxSkyboxesPerPeriod?: number;
|
|
1827
2078
|
}>;
|
|
1828
2079
|
}, "strip", z.ZodTypeAny, {
|
|
1829
2080
|
chat?: {
|
|
@@ -1836,7 +2087,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1836
2087
|
};
|
|
1837
2088
|
skyboxes?: {
|
|
1838
2089
|
allowed?: boolean;
|
|
1839
|
-
|
|
2090
|
+
maxSkyboxesPerPeriod?: number;
|
|
1840
2091
|
};
|
|
1841
2092
|
}, {
|
|
1842
2093
|
chat?: {
|
|
@@ -1849,9 +2100,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1849
2100
|
};
|
|
1850
2101
|
skyboxes?: {
|
|
1851
2102
|
allowed?: boolean;
|
|
1852
|
-
|
|
2103
|
+
maxSkyboxesPerPeriod?: number;
|
|
1853
2104
|
};
|
|
1854
2105
|
}>;
|
|
2106
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
2107
|
+
allowed: z.ZodBoolean;
|
|
2108
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
2110
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
2111
|
+
}, "strip", z.ZodTypeAny, {
|
|
2112
|
+
allowed?: boolean;
|
|
2113
|
+
maxInsts?: number;
|
|
2114
|
+
maxBytesPerInst?: number;
|
|
2115
|
+
maxActiveConnectionsPerInst?: number;
|
|
2116
|
+
}, {
|
|
2117
|
+
allowed?: boolean;
|
|
2118
|
+
maxInsts?: number;
|
|
2119
|
+
maxBytesPerInst?: number;
|
|
2120
|
+
maxActiveConnectionsPerInst?: number;
|
|
2121
|
+
}>>;
|
|
1855
2122
|
}, "strip", z.ZodTypeAny, {
|
|
1856
2123
|
records?: {
|
|
1857
2124
|
allowed?: boolean;
|
|
@@ -1889,9 +2156,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1889
2156
|
};
|
|
1890
2157
|
skyboxes?: {
|
|
1891
2158
|
allowed?: boolean;
|
|
1892
|
-
|
|
2159
|
+
maxSkyboxesPerPeriod?: number;
|
|
1893
2160
|
};
|
|
1894
2161
|
};
|
|
2162
|
+
insts?: {
|
|
2163
|
+
allowed?: boolean;
|
|
2164
|
+
maxInsts?: number;
|
|
2165
|
+
maxBytesPerInst?: number;
|
|
2166
|
+
maxActiveConnectionsPerInst?: number;
|
|
2167
|
+
};
|
|
1895
2168
|
}, {
|
|
1896
2169
|
records?: {
|
|
1897
2170
|
allowed?: boolean;
|
|
@@ -1929,9 +2202,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1929
2202
|
};
|
|
1930
2203
|
skyboxes?: {
|
|
1931
2204
|
allowed?: boolean;
|
|
1932
|
-
|
|
2205
|
+
maxSkyboxesPerPeriod?: number;
|
|
1933
2206
|
};
|
|
1934
2207
|
};
|
|
2208
|
+
insts?: {
|
|
2209
|
+
allowed?: boolean;
|
|
2210
|
+
maxInsts?: number;
|
|
2211
|
+
maxBytesPerInst?: number;
|
|
2212
|
+
maxActiveConnectionsPerInst?: number;
|
|
2213
|
+
};
|
|
1935
2214
|
}>>;
|
|
1936
2215
|
}, "strip", z.ZodTypeAny, {
|
|
1937
2216
|
features?: {
|
|
@@ -1971,9 +2250,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1971
2250
|
};
|
|
1972
2251
|
skyboxes?: {
|
|
1973
2252
|
allowed?: boolean;
|
|
1974
|
-
|
|
2253
|
+
maxSkyboxesPerPeriod?: number;
|
|
1975
2254
|
};
|
|
1976
2255
|
};
|
|
2256
|
+
insts?: {
|
|
2257
|
+
allowed?: boolean;
|
|
2258
|
+
maxInsts?: number;
|
|
2259
|
+
maxBytesPerInst?: number;
|
|
2260
|
+
maxActiveConnectionsPerInst?: number;
|
|
2261
|
+
};
|
|
1977
2262
|
};
|
|
1978
2263
|
}, {
|
|
1979
2264
|
features?: {
|
|
@@ -2013,9 +2298,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2013
2298
|
};
|
|
2014
2299
|
skyboxes?: {
|
|
2015
2300
|
allowed?: boolean;
|
|
2016
|
-
|
|
2301
|
+
maxSkyboxesPerPeriod?: number;
|
|
2017
2302
|
};
|
|
2018
2303
|
};
|
|
2304
|
+
insts?: {
|
|
2305
|
+
allowed?: boolean;
|
|
2306
|
+
maxInsts?: number;
|
|
2307
|
+
maxBytesPerInst?: number;
|
|
2308
|
+
maxActiveConnectionsPerInst?: number;
|
|
2309
|
+
};
|
|
2019
2310
|
};
|
|
2020
2311
|
}>, "strip">;
|
|
2021
2312
|
defaultFeatures?: {
|
|
@@ -2056,9 +2347,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2056
2347
|
};
|
|
2057
2348
|
skyboxes?: {
|
|
2058
2349
|
allowed?: boolean;
|
|
2059
|
-
|
|
2350
|
+
maxSkyboxesPerPeriod?: number;
|
|
2060
2351
|
};
|
|
2061
2352
|
};
|
|
2353
|
+
insts?: {
|
|
2354
|
+
allowed?: boolean;
|
|
2355
|
+
maxInsts?: number;
|
|
2356
|
+
maxBytesPerInst?: number;
|
|
2357
|
+
maxActiveConnectionsPerInst?: number;
|
|
2358
|
+
};
|
|
2062
2359
|
};
|
|
2063
2360
|
studio?: {
|
|
2064
2361
|
records?: {
|
|
@@ -2097,14 +2394,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2097
2394
|
};
|
|
2098
2395
|
skyboxes?: {
|
|
2099
2396
|
allowed?: boolean;
|
|
2100
|
-
|
|
2397
|
+
maxSkyboxesPerPeriod?: number;
|
|
2101
2398
|
};
|
|
2102
2399
|
};
|
|
2400
|
+
insts?: {
|
|
2401
|
+
allowed?: boolean;
|
|
2402
|
+
maxInsts?: number;
|
|
2403
|
+
maxBytesPerInst?: number;
|
|
2404
|
+
maxActiveConnectionsPerInst?: number;
|
|
2405
|
+
};
|
|
2103
2406
|
};
|
|
2104
2407
|
defaultPeriodLength?: {
|
|
2105
2408
|
days?: number;
|
|
2106
2409
|
months?: number;
|
|
2107
2410
|
};
|
|
2411
|
+
tempInsts?: {
|
|
2412
|
+
allowed?: boolean;
|
|
2413
|
+
maxBytesPerInst?: number;
|
|
2414
|
+
maxActiveConnectionsPerInst?: number;
|
|
2415
|
+
};
|
|
2108
2416
|
};
|
|
2109
2417
|
}, {
|
|
2110
2418
|
webhookSecret?: string;
|
|
@@ -2214,13 +2522,13 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2214
2522
|
}>;
|
|
2215
2523
|
skyboxes: z.ZodObject<{
|
|
2216
2524
|
allowed: z.ZodBoolean;
|
|
2217
|
-
|
|
2525
|
+
maxSkyboxesPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
2218
2526
|
}, "strip", z.ZodTypeAny, {
|
|
2219
2527
|
allowed?: boolean;
|
|
2220
|
-
|
|
2528
|
+
maxSkyboxesPerPeriod?: number;
|
|
2221
2529
|
}, {
|
|
2222
2530
|
allowed?: boolean;
|
|
2223
|
-
|
|
2531
|
+
maxSkyboxesPerPeriod?: number;
|
|
2224
2532
|
}>;
|
|
2225
2533
|
}, "strip", z.ZodTypeAny, {
|
|
2226
2534
|
chat?: {
|
|
@@ -2233,7 +2541,7 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2233
2541
|
};
|
|
2234
2542
|
skyboxes?: {
|
|
2235
2543
|
allowed?: boolean;
|
|
2236
|
-
|
|
2544
|
+
maxSkyboxesPerPeriod?: number;
|
|
2237
2545
|
};
|
|
2238
2546
|
}, {
|
|
2239
2547
|
chat?: {
|
|
@@ -2246,9 +2554,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2246
2554
|
};
|
|
2247
2555
|
skyboxes?: {
|
|
2248
2556
|
allowed?: boolean;
|
|
2249
|
-
|
|
2557
|
+
maxSkyboxesPerPeriod?: number;
|
|
2250
2558
|
};
|
|
2251
2559
|
}>;
|
|
2560
|
+
insts: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
allowed: z.ZodBoolean;
|
|
2562
|
+
maxInsts: z.ZodOptional<z.ZodNumber>;
|
|
2563
|
+
maxBytesPerInst: z.ZodOptional<z.ZodNumber>;
|
|
2564
|
+
maxActiveConnectionsPerInst: z.ZodOptional<z.ZodNumber>;
|
|
2565
|
+
}, "strip", z.ZodTypeAny, {
|
|
2566
|
+
allowed?: boolean;
|
|
2567
|
+
maxInsts?: number;
|
|
2568
|
+
maxBytesPerInst?: number;
|
|
2569
|
+
maxActiveConnectionsPerInst?: number;
|
|
2570
|
+
}, {
|
|
2571
|
+
allowed?: boolean;
|
|
2572
|
+
maxInsts?: number;
|
|
2573
|
+
maxBytesPerInst?: number;
|
|
2574
|
+
maxActiveConnectionsPerInst?: number;
|
|
2575
|
+
}>>;
|
|
2252
2576
|
}, "strip", z.ZodTypeAny, {
|
|
2253
2577
|
records?: {
|
|
2254
2578
|
allowed?: boolean;
|
|
@@ -2286,9 +2610,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2286
2610
|
};
|
|
2287
2611
|
skyboxes?: {
|
|
2288
2612
|
allowed?: boolean;
|
|
2289
|
-
|
|
2613
|
+
maxSkyboxesPerPeriod?: number;
|
|
2290
2614
|
};
|
|
2291
2615
|
};
|
|
2616
|
+
insts?: {
|
|
2617
|
+
allowed?: boolean;
|
|
2618
|
+
maxInsts?: number;
|
|
2619
|
+
maxBytesPerInst?: number;
|
|
2620
|
+
maxActiveConnectionsPerInst?: number;
|
|
2621
|
+
};
|
|
2292
2622
|
}, {
|
|
2293
2623
|
records?: {
|
|
2294
2624
|
allowed?: boolean;
|
|
@@ -2326,9 +2656,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2326
2656
|
};
|
|
2327
2657
|
skyboxes?: {
|
|
2328
2658
|
allowed?: boolean;
|
|
2329
|
-
|
|
2659
|
+
maxSkyboxesPerPeriod?: number;
|
|
2330
2660
|
};
|
|
2331
2661
|
};
|
|
2662
|
+
insts?: {
|
|
2663
|
+
allowed?: boolean;
|
|
2664
|
+
maxInsts?: number;
|
|
2665
|
+
maxBytesPerInst?: number;
|
|
2666
|
+
maxActiveConnectionsPerInst?: number;
|
|
2667
|
+
};
|
|
2332
2668
|
}>>;
|
|
2333
2669
|
}, "strip", z.ZodTypeAny, {
|
|
2334
2670
|
features?: {
|
|
@@ -2368,9 +2704,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2368
2704
|
};
|
|
2369
2705
|
skyboxes?: {
|
|
2370
2706
|
allowed?: boolean;
|
|
2371
|
-
|
|
2707
|
+
maxSkyboxesPerPeriod?: number;
|
|
2372
2708
|
};
|
|
2373
2709
|
};
|
|
2710
|
+
insts?: {
|
|
2711
|
+
allowed?: boolean;
|
|
2712
|
+
maxInsts?: number;
|
|
2713
|
+
maxBytesPerInst?: number;
|
|
2714
|
+
maxActiveConnectionsPerInst?: number;
|
|
2715
|
+
};
|
|
2374
2716
|
};
|
|
2375
2717
|
}, {
|
|
2376
2718
|
features?: {
|
|
@@ -2410,9 +2752,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2410
2752
|
};
|
|
2411
2753
|
skyboxes?: {
|
|
2412
2754
|
allowed?: boolean;
|
|
2413
|
-
|
|
2755
|
+
maxSkyboxesPerPeriod?: number;
|
|
2414
2756
|
};
|
|
2415
2757
|
};
|
|
2758
|
+
insts?: {
|
|
2759
|
+
allowed?: boolean;
|
|
2760
|
+
maxInsts?: number;
|
|
2761
|
+
maxBytesPerInst?: number;
|
|
2762
|
+
maxActiveConnectionsPerInst?: number;
|
|
2763
|
+
};
|
|
2416
2764
|
};
|
|
2417
2765
|
}>, "strip">;
|
|
2418
2766
|
defaultFeatures?: {
|
|
@@ -2453,9 +2801,15 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2453
2801
|
};
|
|
2454
2802
|
skyboxes?: {
|
|
2455
2803
|
allowed?: boolean;
|
|
2456
|
-
|
|
2804
|
+
maxSkyboxesPerPeriod?: number;
|
|
2457
2805
|
};
|
|
2458
2806
|
};
|
|
2807
|
+
insts?: {
|
|
2808
|
+
allowed?: boolean;
|
|
2809
|
+
maxInsts?: number;
|
|
2810
|
+
maxBytesPerInst?: number;
|
|
2811
|
+
maxActiveConnectionsPerInst?: number;
|
|
2812
|
+
};
|
|
2459
2813
|
};
|
|
2460
2814
|
studio?: {
|
|
2461
2815
|
records?: {
|
|
@@ -2494,14 +2848,25 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2494
2848
|
};
|
|
2495
2849
|
skyboxes?: {
|
|
2496
2850
|
allowed?: boolean;
|
|
2497
|
-
|
|
2851
|
+
maxSkyboxesPerPeriod?: number;
|
|
2498
2852
|
};
|
|
2499
2853
|
};
|
|
2854
|
+
insts?: {
|
|
2855
|
+
allowed?: boolean;
|
|
2856
|
+
maxInsts?: number;
|
|
2857
|
+
maxBytesPerInst?: number;
|
|
2858
|
+
maxActiveConnectionsPerInst?: number;
|
|
2859
|
+
};
|
|
2500
2860
|
};
|
|
2501
2861
|
defaultPeriodLength?: {
|
|
2502
2862
|
days?: number;
|
|
2503
2863
|
months?: number;
|
|
2504
2864
|
};
|
|
2865
|
+
tempInsts?: {
|
|
2866
|
+
allowed?: boolean;
|
|
2867
|
+
maxBytesPerInst?: number;
|
|
2868
|
+
maxActiveConnectionsPerInst?: number;
|
|
2869
|
+
};
|
|
2505
2870
|
};
|
|
2506
2871
|
}>;
|
|
2507
2872
|
export declare function parseSubscriptionConfig(config: any, defaultConfig: SubscriptionConfiguration): SubscriptionConfiguration;
|
|
@@ -2621,6 +2986,23 @@ export interface DefaultFeaturesConfiguration {
|
|
|
2621
2986
|
*/
|
|
2622
2987
|
months?: number;
|
|
2623
2988
|
};
|
|
2989
|
+
/**
|
|
2990
|
+
* The configuration for temporary insts.
|
|
2991
|
+
*/
|
|
2992
|
+
tempInsts?: {
|
|
2993
|
+
/**
|
|
2994
|
+
* Whether they are allowed to be created.
|
|
2995
|
+
*/
|
|
2996
|
+
allowed: boolean;
|
|
2997
|
+
/**
|
|
2998
|
+
* The maximum number of bytes that each inst can store.
|
|
2999
|
+
*/
|
|
3000
|
+
maxBytesPerInst?: number;
|
|
3001
|
+
/**
|
|
3002
|
+
* The maximum number of active connections that each inst can have.
|
|
3003
|
+
*/
|
|
3004
|
+
maxActiveConnectionsPerInst?: number;
|
|
3005
|
+
};
|
|
2624
3006
|
}
|
|
2625
3007
|
/**
|
|
2626
3008
|
* Defines an interface that contains the configuration for features.
|
|
@@ -2643,6 +3025,10 @@ export interface FeaturesConfiguration {
|
|
|
2643
3025
|
* The configuration for AI features.
|
|
2644
3026
|
*/
|
|
2645
3027
|
ai: AIFeaturesConfiguration;
|
|
3028
|
+
/**
|
|
3029
|
+
* The configuration for inst features.
|
|
3030
|
+
*/
|
|
3031
|
+
insts: InstsFeaturesConfiguration;
|
|
2646
3032
|
}
|
|
2647
3033
|
export interface RecordFeaturesConfiguration {
|
|
2648
3034
|
/**
|
|
@@ -2764,6 +3150,25 @@ export interface AISkyboxFeaturesConfiguration {
|
|
|
2764
3150
|
*/
|
|
2765
3151
|
maxSkyboxesPerPeriod?: number;
|
|
2766
3152
|
}
|
|
3153
|
+
export interface InstsFeaturesConfiguration {
|
|
3154
|
+
/**
|
|
3155
|
+
* Whether inst features are allowed.
|
|
3156
|
+
*/
|
|
3157
|
+
allowed: boolean;
|
|
3158
|
+
/**
|
|
3159
|
+
* The maximum number of insts that a subscription can have.
|
|
3160
|
+
*/
|
|
3161
|
+
maxInsts?: number;
|
|
3162
|
+
/**
|
|
3163
|
+
* The maximum number of bytes that an inst can store.
|
|
3164
|
+
*/
|
|
3165
|
+
maxBytesPerInst?: number;
|
|
3166
|
+
/**
|
|
3167
|
+
* The maximum number of concurrent connections allowed per inst.
|
|
3168
|
+
*/
|
|
3169
|
+
maxActiveConnectionsPerInst?: number;
|
|
3170
|
+
}
|
|
2767
3171
|
export declare function allowAllFeatures(): FeaturesConfiguration;
|
|
2768
3172
|
export declare function getSubscriptionFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio'): FeaturesConfiguration;
|
|
3173
|
+
export declare function getSubscriptionTier(config: SubscriptionConfiguration, subscriptionStatus: string, subId: string): string | null;
|
|
2769
3174
|
//# sourceMappingURL=SubscriptionConfiguration.d.ts.map
|