@casual-simulation/aux-records 3.4.6-alpha.14601027727 → 3.5.0-alpha.15117651144
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.js +835 -890
- package/AIController.js.map +1 -1
- package/AIHumeInterface.js +43 -54
- package/AIHumeInterface.js.map +1 -1
- package/AIOpenAIRealtimeInterface.js +60 -71
- package/AIOpenAIRealtimeInterface.js.map +1 -1
- package/AnthropicAIChatInterface.js +96 -142
- package/AnthropicAIChatInterface.js.map +1 -1
- package/AuthController.d.ts +3 -2
- package/AuthController.js +1907 -1933
- package/AuthController.js.map +1 -1
- package/AuthStore.d.ts +1 -10
- package/BlockadeLabsGenerateSkyboxInterface.js +57 -72
- package/BlockadeLabsGenerateSkyboxInterface.js.map +1 -1
- package/CachingConfigStore.js +30 -45
- package/CachingConfigStore.js.map +1 -1
- package/CachingPolicyStore.d.ts +8 -2
- package/CachingPolicyStore.js +108 -135
- package/CachingPolicyStore.js.map +1 -1
- package/ComIdConfig.d.ts +18 -18
- package/ComIdConfig.js.map +1 -1
- package/ConsoleAuthMessenger.js +7 -20
- package/ConsoleAuthMessenger.js.map +1 -1
- package/DataRecordsController.d.ts +2 -2
- package/DataRecordsController.js +369 -377
- package/DataRecordsController.js.map +1 -1
- package/DataRecordsStore.d.ts +1 -1
- package/DataRecordsStore.js +1 -1
- package/DataRecordsStore.js.map +1 -1
- package/EventRecordsController.js +226 -240
- package/EventRecordsController.js.map +1 -1
- package/FileRecordsController.d.ts +13 -2
- package/FileRecordsController.js +458 -450
- package/FileRecordsController.js.map +1 -1
- package/GoogleAIChatInterface.js +133 -179
- package/GoogleAIChatInterface.js.map +1 -1
- package/LivekitController.js +43 -54
- package/LivekitController.js.map +1 -1
- package/LoomController.js +64 -75
- package/LoomController.js.map +1 -1
- package/MemoryAuthMessenger.js +10 -23
- package/MemoryAuthMessenger.js.map +1 -1
- package/MemoryCache.js +18 -35
- package/MemoryCache.js.map +1 -1
- package/MemoryFileRecordsLookup.js +105 -125
- package/MemoryFileRecordsLookup.js.map +1 -1
- package/MemoryModerationJobProvider.js +17 -30
- package/MemoryModerationJobProvider.js.map +1 -1
- package/MemoryRateLimiter.js +12 -27
- package/MemoryRateLimiter.js.map +1 -1
- package/MemoryStore.d.ts +18 -6
- package/MemoryStore.js +1879 -1997
- package/MemoryStore.js.map +1 -1
- package/MetricsStore.d.ts +2 -2
- package/ModerationController.js +186 -200
- package/ModerationController.js.map +1 -1
- package/OpenAIChatInterface.js +105 -135
- package/OpenAIChatInterface.js.map +1 -1
- package/OpenAIImageInterface.js +57 -51
- package/OpenAIImageInterface.js.map +1 -1
- package/PolicyController.d.ts +150 -10
- package/PolicyController.js +1546 -1299
- package/PolicyController.js.map +1 -1
- package/PolicyStore.d.ts +110 -2
- package/PolicyStore.js +36 -1
- package/PolicyStore.js.map +1 -1
- package/PrivoClient.js +398 -435
- package/PrivoClient.js.map +1 -1
- package/RateLimitController.js +25 -36
- package/RateLimitController.js.map +1 -1
- package/RecordsClient.js +51 -74
- package/RecordsClient.js.map +1 -1
- package/RecordsController.d.ts +2 -42
- package/RecordsController.js +1026 -1182
- package/RecordsController.js.map +1 -1
- package/RecordsServer.d.ts +196 -27
- package/RecordsServer.js +1701 -1343
- package/RecordsServer.js.map +1 -1
- package/RecordsStore.d.ts +1 -10
- package/RecordsStore.js.map +1 -1
- package/ServerConfig.d.ts +339 -195
- package/ServerConfig.js +13 -0
- package/ServerConfig.js.map +1 -1
- package/SloydInterface.js +62 -75
- package/SloydInterface.js.map +1 -1
- package/StabilityAIImageInterface.js +150 -167
- package/StabilityAIImageInterface.js.map +1 -1
- package/SubscriptionConfigBuilder.d.ts +6 -1
- package/SubscriptionConfigBuilder.js +22 -0
- package/SubscriptionConfigBuilder.js.map +1 -1
- package/SubscriptionConfiguration.d.ts +266 -169
- package/SubscriptionConfiguration.js +101 -79
- package/SubscriptionConfiguration.js.map +1 -1
- package/SubscriptionController.d.ts +2 -1
- package/SubscriptionController.js +643 -650
- package/SubscriptionController.js.map +1 -1
- package/SystemNotificationMessenger.d.ts +21 -4
- package/SystemNotificationMessenger.js +36 -30
- package/SystemNotificationMessenger.js.map +1 -1
- package/TestUtils.d.ts +9 -1
- package/TestUtils.js +105 -129
- package/TestUtils.js.map +1 -1
- package/Utils.d.ts +2 -16
- package/Utils.js +21 -22
- package/Utils.js.map +1 -1
- package/crud/CrudHelpers.js +17 -26
- package/crud/CrudHelpers.js.map +1 -1
- package/crud/CrudRecordsController.d.ts +1 -1
- package/crud/CrudRecordsController.js +259 -267
- package/crud/CrudRecordsController.js.map +1 -1
- package/crud/CrudRecordsControllerTests.js +174 -185
- package/crud/CrudRecordsControllerTests.js.map +1 -1
- package/crud/CrudRecordsStore.d.ts +7 -3
- package/crud/MemoryCrudRecordsStore.d.ts +4 -4
- package/crud/MemoryCrudRecordsStore.js +98 -118
- package/crud/MemoryCrudRecordsStore.js.map +1 -1
- package/crud/sub/MemorySubCrudRecordsStore.d.ts +24 -0
- package/crud/sub/MemorySubCrudRecordsStore.js +146 -0
- package/crud/sub/MemorySubCrudRecordsStore.js.map +1 -0
- package/crud/sub/SubCrudRecordsController.d.ts +182 -0
- package/crud/sub/SubCrudRecordsController.js +360 -0
- package/crud/sub/SubCrudRecordsController.js.map +1 -0
- package/crud/sub/SubCrudRecordsControllerTests.d.ts +39 -0
- package/crud/sub/SubCrudRecordsControllerTests.js +821 -0
- package/crud/sub/SubCrudRecordsControllerTests.js.map +1 -0
- package/crud/sub/SubCrudRecordsStore.d.ts +95 -0
- package/{forms/index.js → crud/sub/SubCrudRecordsStore.js} +2 -2
- package/crud/sub/SubCrudRecordsStore.js.map +1 -0
- package/crud/sub/index.d.ts +3 -0
- package/crud/sub/index.js +20 -0
- package/{forms → crud/sub}/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications/MemoryNotificationRecordsStore.js +189 -198
- package/notifications/MemoryNotificationRecordsStore.js.map +1 -1
- package/notifications/NotificationRecordsController.js +438 -460
- package/notifications/NotificationRecordsController.js.map +1 -1
- package/notifications/NotificationRecordsStore.d.ts +2 -1
- package/notifications/WebPushInterface.d.ts +0 -1
- package/notifications/WebPushInterface.js +0 -1
- package/notifications/WebPushInterface.js.map +1 -1
- package/package.json +6 -6
- package/packages/MemoryPackageRecordsStore.d.ts +10 -0
- package/packages/MemoryPackageRecordsStore.js +38 -0
- package/packages/MemoryPackageRecordsStore.js.map +1 -0
- package/packages/PackageRecordsController.d.ts +26 -0
- package/packages/PackageRecordsController.js +49 -0
- package/packages/PackageRecordsController.js.map +1 -0
- package/packages/PackageRecordsStore.d.ts +32 -0
- package/packages/PackageRecordsStore.js +19 -0
- package/packages/PackageRecordsStore.js.map +1 -0
- package/packages/index.d.ts +4 -0
- package/packages/index.js +21 -0
- package/packages/index.js.map +1 -0
- package/packages/version/MemoryPackageVersionRecordsStore.d.ts +21 -0
- package/packages/version/MemoryPackageVersionRecordsStore.js +177 -0
- package/packages/version/MemoryPackageVersionRecordsStore.js.map +1 -0
- package/packages/version/PackageVersionRecordsController.d.ts +144 -0
- package/packages/version/PackageVersionRecordsController.js +656 -0
- package/packages/version/PackageVersionRecordsController.js.map +1 -0
- package/packages/version/PackageVersionRecordsStore.d.ts +342 -0
- package/packages/version/PackageVersionRecordsStore.js +126 -0
- package/packages/version/PackageVersionRecordsStore.js.map +1 -0
- package/packages/version/index.d.ts +4 -0
- package/packages/version/index.js +21 -0
- package/packages/version/index.js.map +1 -0
- package/tracing/TracingDecorators.js +31 -40
- package/tracing/TracingDecorators.js.map +1 -1
- package/webhooks/MemoryWebhookRecordsStore.js +56 -72
- package/webhooks/MemoryWebhookRecordsStore.js.map +1 -1
- package/webhooks/WebhookEnvironment.d.ts +3 -3
- package/webhooks/WebhookRecordsController.d.ts +2 -1
- package/webhooks/WebhookRecordsController.js +389 -382
- package/webhooks/WebhookRecordsController.js.map +1 -1
- package/webhooks/WebhookRecordsStore.d.ts +2 -1
- package/websockets/InstRecordsStore.d.ts +50 -0
- package/websockets/InstRecordsStore.js +17 -0
- package/websockets/InstRecordsStore.js.map +1 -1
- package/websockets/MemoryTempInstRecordsStore.d.ts +5 -0
- package/websockets/MemoryTempInstRecordsStore.js +168 -179
- package/websockets/MemoryTempInstRecordsStore.js.map +1 -1
- package/websockets/MemoryWebsocketConnectionStore.js +98 -135
- package/websockets/MemoryWebsocketConnectionStore.js.map +1 -1
- package/websockets/MemoryWebsocketMessenger.js +29 -48
- package/websockets/MemoryWebsocketMessenger.js.map +1 -1
- package/websockets/SplitInstRecordsStore.d.ts +4 -1
- package/websockets/SplitInstRecordsStore.js +167 -185
- package/websockets/SplitInstRecordsStore.js.map +1 -1
- package/websockets/TemporaryInstRecordsStore.d.ts +19 -1
- package/websockets/TemporaryInstRecordsStore.js +17 -0
- package/websockets/TemporaryInstRecordsStore.js.map +1 -1
- package/websockets/WebsocketController.d.ts +147 -3
- package/websockets/WebsocketController.js +1735 -1391
- package/websockets/WebsocketController.js.map +1 -1
- package/websockets/index.d.ts +0 -1
- package/websockets/index.js +0 -1
- package/websockets/index.js.map +1 -1
- package/AAGUID.d.ts +0 -11
- package/AAGUID.js +0 -116
- package/AAGUID.js.map +0 -1
- package/AuthUtils.d.ts +0 -162
- package/AuthUtils.js +0 -327
- package/AuthUtils.js.map +0 -1
- package/forms/FormError.d.ts +0 -43
- package/forms/FormError.js +0 -56
- package/forms/FormError.js.map +0 -1
- package/forms/index.d.ts +0 -2
- package/websockets/Utils.d.ts +0 -33
- package/websockets/Utils.js +0 -82
- package/websockets/Utils.js.map +0 -1
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const webhookFeaturesSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3
|
+
allowed: z.ZodBoolean;
|
|
4
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
tokenLifetimeMs: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
6
|
+
initTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
7
|
+
requestTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
8
|
+
fetchTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
9
|
+
addStateTimeoutMs: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
10
|
+
maxRunsPerPeriod: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
maxRunsPerHour: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
allowed?: boolean;
|
|
14
|
+
maxItems?: number;
|
|
15
|
+
tokenLifetimeMs?: number;
|
|
16
|
+
initTimeoutMs?: number;
|
|
17
|
+
requestTimeoutMs?: number;
|
|
18
|
+
fetchTimeoutMs?: number;
|
|
19
|
+
addStateTimeoutMs?: number;
|
|
20
|
+
maxRunsPerPeriod?: number;
|
|
21
|
+
maxRunsPerHour?: number;
|
|
22
|
+
}, {
|
|
23
|
+
allowed?: boolean;
|
|
24
|
+
maxItems?: number;
|
|
25
|
+
tokenLifetimeMs?: number;
|
|
26
|
+
initTimeoutMs?: number;
|
|
27
|
+
requestTimeoutMs?: number;
|
|
28
|
+
fetchTimeoutMs?: number;
|
|
29
|
+
addStateTimeoutMs?: number;
|
|
30
|
+
maxRunsPerPeriod?: number;
|
|
31
|
+
maxRunsPerHour?: number;
|
|
32
|
+
}>>>;
|
|
2
33
|
export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
3
34
|
records: z.ZodOptional<z.ZodObject<{
|
|
4
35
|
allowed: z.ZodBoolean;
|
|
@@ -293,21 +324,24 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
293
324
|
maxSentNotificationsPerPeriod?: number;
|
|
294
325
|
maxSentPushNotificationsPerPeriod?: number;
|
|
295
326
|
}>>>;
|
|
296
|
-
|
|
327
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
297
328
|
allowed: z.ZodBoolean;
|
|
298
329
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
299
|
-
|
|
300
|
-
|
|
330
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
331
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
332
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
301
333
|
}, "strip", z.ZodTypeAny, {
|
|
302
334
|
allowed?: boolean;
|
|
303
335
|
maxItems?: number;
|
|
304
|
-
|
|
305
|
-
|
|
336
|
+
maxPackageVersions?: number;
|
|
337
|
+
maxPackageVersionSizeInBytes?: number;
|
|
338
|
+
maxPackageBytesTotal?: number;
|
|
306
339
|
}, {
|
|
307
340
|
allowed?: boolean;
|
|
308
341
|
maxItems?: number;
|
|
309
|
-
|
|
310
|
-
|
|
342
|
+
maxPackageVersions?: number;
|
|
343
|
+
maxPackageVersionSizeInBytes?: number;
|
|
344
|
+
maxPackageBytesTotal?: number;
|
|
311
345
|
}>>>;
|
|
312
346
|
}, "strip", z.ZodTypeAny, {
|
|
313
347
|
records?: {
|
|
@@ -397,11 +431,12 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
397
431
|
maxSentNotificationsPerPeriod?: number;
|
|
398
432
|
maxSentPushNotificationsPerPeriod?: number;
|
|
399
433
|
};
|
|
400
|
-
|
|
434
|
+
packages?: {
|
|
401
435
|
allowed?: boolean;
|
|
402
436
|
maxItems?: number;
|
|
403
|
-
|
|
404
|
-
|
|
437
|
+
maxPackageVersions?: number;
|
|
438
|
+
maxPackageVersionSizeInBytes?: number;
|
|
439
|
+
maxPackageBytesTotal?: number;
|
|
405
440
|
};
|
|
406
441
|
}, {
|
|
407
442
|
records?: {
|
|
@@ -491,11 +526,12 @@ export declare const subscriptionFeaturesSchema: z.ZodObject<{
|
|
|
491
526
|
maxSentNotificationsPerPeriod?: number;
|
|
492
527
|
maxSentPushNotificationsPerPeriod?: number;
|
|
493
528
|
};
|
|
494
|
-
|
|
529
|
+
packages?: {
|
|
495
530
|
allowed?: boolean;
|
|
496
531
|
maxItems?: number;
|
|
497
|
-
|
|
498
|
-
|
|
532
|
+
maxPackageVersions?: number;
|
|
533
|
+
maxPackageVersionSizeInBytes?: number;
|
|
534
|
+
maxPackageBytesTotal?: number;
|
|
499
535
|
};
|
|
500
536
|
}>;
|
|
501
537
|
export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
@@ -837,21 +873,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
837
873
|
maxSentNotificationsPerPeriod?: number;
|
|
838
874
|
maxSentPushNotificationsPerPeriod?: number;
|
|
839
875
|
}>>>;
|
|
840
|
-
|
|
876
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
841
877
|
allowed: z.ZodBoolean;
|
|
842
878
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
843
|
-
|
|
844
|
-
|
|
879
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
880
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
881
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
845
882
|
}, "strip", z.ZodTypeAny, {
|
|
846
883
|
allowed?: boolean;
|
|
847
884
|
maxItems?: number;
|
|
848
|
-
|
|
849
|
-
|
|
885
|
+
maxPackageVersions?: number;
|
|
886
|
+
maxPackageVersionSizeInBytes?: number;
|
|
887
|
+
maxPackageBytesTotal?: number;
|
|
850
888
|
}, {
|
|
851
889
|
allowed?: boolean;
|
|
852
890
|
maxItems?: number;
|
|
853
|
-
|
|
854
|
-
|
|
891
|
+
maxPackageVersions?: number;
|
|
892
|
+
maxPackageVersionSizeInBytes?: number;
|
|
893
|
+
maxPackageBytesTotal?: number;
|
|
855
894
|
}>>>;
|
|
856
895
|
}, "strip", z.ZodTypeAny, {
|
|
857
896
|
records?: {
|
|
@@ -941,11 +980,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
941
980
|
maxSentNotificationsPerPeriod?: number;
|
|
942
981
|
maxSentPushNotificationsPerPeriod?: number;
|
|
943
982
|
};
|
|
944
|
-
|
|
983
|
+
packages?: {
|
|
945
984
|
allowed?: boolean;
|
|
946
985
|
maxItems?: number;
|
|
947
|
-
|
|
948
|
-
|
|
986
|
+
maxPackageVersions?: number;
|
|
987
|
+
maxPackageVersionSizeInBytes?: number;
|
|
988
|
+
maxPackageBytesTotal?: number;
|
|
949
989
|
};
|
|
950
990
|
}, {
|
|
951
991
|
records?: {
|
|
@@ -1035,11 +1075,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1035
1075
|
maxSentNotificationsPerPeriod?: number;
|
|
1036
1076
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1037
1077
|
};
|
|
1038
|
-
|
|
1078
|
+
packages?: {
|
|
1039
1079
|
allowed?: boolean;
|
|
1040
1080
|
maxItems?: number;
|
|
1041
|
-
|
|
1042
|
-
|
|
1081
|
+
maxPackageVersions?: number;
|
|
1082
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1083
|
+
maxPackageBytesTotal?: number;
|
|
1043
1084
|
};
|
|
1044
1085
|
}>>;
|
|
1045
1086
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1131,11 +1172,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1131
1172
|
maxSentNotificationsPerPeriod?: number;
|
|
1132
1173
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1133
1174
|
};
|
|
1134
|
-
|
|
1175
|
+
packages?: {
|
|
1135
1176
|
allowed?: boolean;
|
|
1136
1177
|
maxItems?: number;
|
|
1137
|
-
|
|
1138
|
-
|
|
1178
|
+
maxPackageVersions?: number;
|
|
1179
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1180
|
+
maxPackageBytesTotal?: number;
|
|
1139
1181
|
};
|
|
1140
1182
|
};
|
|
1141
1183
|
}, {
|
|
@@ -1227,11 +1269,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1227
1269
|
maxSentNotificationsPerPeriod?: number;
|
|
1228
1270
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1229
1271
|
};
|
|
1230
|
-
|
|
1272
|
+
packages?: {
|
|
1231
1273
|
allowed?: boolean;
|
|
1232
1274
|
maxItems?: number;
|
|
1233
|
-
|
|
1234
|
-
|
|
1275
|
+
maxPackageVersions?: number;
|
|
1276
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1277
|
+
maxPackageBytesTotal?: number;
|
|
1235
1278
|
};
|
|
1236
1279
|
};
|
|
1237
1280
|
}>, z.objectOutputType<{}, z.ZodObject<{
|
|
@@ -1529,21 +1572,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1529
1572
|
maxSentNotificationsPerPeriod?: number;
|
|
1530
1573
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1531
1574
|
}>>>;
|
|
1532
|
-
|
|
1575
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1533
1576
|
allowed: z.ZodBoolean;
|
|
1534
1577
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1535
|
-
|
|
1536
|
-
|
|
1578
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
1579
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
1580
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
1537
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1538
1582
|
allowed?: boolean;
|
|
1539
1583
|
maxItems?: number;
|
|
1540
|
-
|
|
1541
|
-
|
|
1584
|
+
maxPackageVersions?: number;
|
|
1585
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1586
|
+
maxPackageBytesTotal?: number;
|
|
1542
1587
|
}, {
|
|
1543
1588
|
allowed?: boolean;
|
|
1544
1589
|
maxItems?: number;
|
|
1545
|
-
|
|
1546
|
-
|
|
1590
|
+
maxPackageVersions?: number;
|
|
1591
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1592
|
+
maxPackageBytesTotal?: number;
|
|
1547
1593
|
}>>>;
|
|
1548
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1595
|
records?: {
|
|
@@ -1633,11 +1679,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1633
1679
|
maxSentNotificationsPerPeriod?: number;
|
|
1634
1680
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1635
1681
|
};
|
|
1636
|
-
|
|
1682
|
+
packages?: {
|
|
1637
1683
|
allowed?: boolean;
|
|
1638
1684
|
maxItems?: number;
|
|
1639
|
-
|
|
1640
|
-
|
|
1685
|
+
maxPackageVersions?: number;
|
|
1686
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1687
|
+
maxPackageBytesTotal?: number;
|
|
1641
1688
|
};
|
|
1642
1689
|
}, {
|
|
1643
1690
|
records?: {
|
|
@@ -1727,11 +1774,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1727
1774
|
maxSentNotificationsPerPeriod?: number;
|
|
1728
1775
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1729
1776
|
};
|
|
1730
|
-
|
|
1777
|
+
packages?: {
|
|
1731
1778
|
allowed?: boolean;
|
|
1732
1779
|
maxItems?: number;
|
|
1733
|
-
|
|
1734
|
-
|
|
1780
|
+
maxPackageVersions?: number;
|
|
1781
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1782
|
+
maxPackageBytesTotal?: number;
|
|
1735
1783
|
};
|
|
1736
1784
|
}>>;
|
|
1737
1785
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1823,11 +1871,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1823
1871
|
maxSentNotificationsPerPeriod?: number;
|
|
1824
1872
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1825
1873
|
};
|
|
1826
|
-
|
|
1874
|
+
packages?: {
|
|
1827
1875
|
allowed?: boolean;
|
|
1828
1876
|
maxItems?: number;
|
|
1829
|
-
|
|
1830
|
-
|
|
1877
|
+
maxPackageVersions?: number;
|
|
1878
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1879
|
+
maxPackageBytesTotal?: number;
|
|
1831
1880
|
};
|
|
1832
1881
|
};
|
|
1833
1882
|
}, {
|
|
@@ -1919,11 +1968,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
1919
1968
|
maxSentNotificationsPerPeriod?: number;
|
|
1920
1969
|
maxSentPushNotificationsPerPeriod?: number;
|
|
1921
1970
|
};
|
|
1922
|
-
|
|
1971
|
+
packages?: {
|
|
1923
1972
|
allowed?: boolean;
|
|
1924
1973
|
maxItems?: number;
|
|
1925
|
-
|
|
1926
|
-
|
|
1974
|
+
maxPackageVersions?: number;
|
|
1975
|
+
maxPackageVersionSizeInBytes?: number;
|
|
1976
|
+
maxPackageBytesTotal?: number;
|
|
1927
1977
|
};
|
|
1928
1978
|
};
|
|
1929
1979
|
}>, "strip">, z.objectInputType<{}, z.ZodObject<{
|
|
@@ -2221,21 +2271,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2221
2271
|
maxSentNotificationsPerPeriod?: number;
|
|
2222
2272
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2223
2273
|
}>>>;
|
|
2224
|
-
|
|
2274
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2225
2275
|
allowed: z.ZodBoolean;
|
|
2226
2276
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2227
|
-
|
|
2228
|
-
|
|
2277
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
2278
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
2279
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
2229
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2230
2281
|
allowed?: boolean;
|
|
2231
2282
|
maxItems?: number;
|
|
2232
|
-
|
|
2233
|
-
|
|
2283
|
+
maxPackageVersions?: number;
|
|
2284
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2285
|
+
maxPackageBytesTotal?: number;
|
|
2234
2286
|
}, {
|
|
2235
2287
|
allowed?: boolean;
|
|
2236
2288
|
maxItems?: number;
|
|
2237
|
-
|
|
2238
|
-
|
|
2289
|
+
maxPackageVersions?: number;
|
|
2290
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2291
|
+
maxPackageBytesTotal?: number;
|
|
2239
2292
|
}>>>;
|
|
2240
2293
|
}, "strip", z.ZodTypeAny, {
|
|
2241
2294
|
records?: {
|
|
@@ -2325,11 +2378,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2325
2378
|
maxSentNotificationsPerPeriod?: number;
|
|
2326
2379
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2327
2380
|
};
|
|
2328
|
-
|
|
2381
|
+
packages?: {
|
|
2329
2382
|
allowed?: boolean;
|
|
2330
2383
|
maxItems?: number;
|
|
2331
|
-
|
|
2332
|
-
|
|
2384
|
+
maxPackageVersions?: number;
|
|
2385
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2386
|
+
maxPackageBytesTotal?: number;
|
|
2333
2387
|
};
|
|
2334
2388
|
}, {
|
|
2335
2389
|
records?: {
|
|
@@ -2419,11 +2473,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2419
2473
|
maxSentNotificationsPerPeriod?: number;
|
|
2420
2474
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2421
2475
|
};
|
|
2422
|
-
|
|
2476
|
+
packages?: {
|
|
2423
2477
|
allowed?: boolean;
|
|
2424
2478
|
maxItems?: number;
|
|
2425
|
-
|
|
2426
|
-
|
|
2479
|
+
maxPackageVersions?: number;
|
|
2480
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2481
|
+
maxPackageBytesTotal?: number;
|
|
2427
2482
|
};
|
|
2428
2483
|
}>>;
|
|
2429
2484
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2515,11 +2570,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2515
2570
|
maxSentNotificationsPerPeriod?: number;
|
|
2516
2571
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2517
2572
|
};
|
|
2518
|
-
|
|
2573
|
+
packages?: {
|
|
2519
2574
|
allowed?: boolean;
|
|
2520
2575
|
maxItems?: number;
|
|
2521
|
-
|
|
2522
|
-
|
|
2576
|
+
maxPackageVersions?: number;
|
|
2577
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2578
|
+
maxPackageBytesTotal?: number;
|
|
2523
2579
|
};
|
|
2524
2580
|
};
|
|
2525
2581
|
}, {
|
|
@@ -2611,11 +2667,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2611
2667
|
maxSentNotificationsPerPeriod?: number;
|
|
2612
2668
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2613
2669
|
};
|
|
2614
|
-
|
|
2670
|
+
packages?: {
|
|
2615
2671
|
allowed?: boolean;
|
|
2616
2672
|
maxItems?: number;
|
|
2617
|
-
|
|
2618
|
-
|
|
2673
|
+
maxPackageVersions?: number;
|
|
2674
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2675
|
+
maxPackageBytesTotal?: number;
|
|
2619
2676
|
};
|
|
2620
2677
|
};
|
|
2621
2678
|
}>, "strip">>>;
|
|
@@ -2914,21 +2971,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
2914
2971
|
maxSentNotificationsPerPeriod?: number;
|
|
2915
2972
|
maxSentPushNotificationsPerPeriod?: number;
|
|
2916
2973
|
}>>>;
|
|
2917
|
-
|
|
2974
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2918
2975
|
allowed: z.ZodBoolean;
|
|
2919
2976
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2920
|
-
|
|
2921
|
-
|
|
2977
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
2978
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
2979
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
2922
2980
|
}, "strip", z.ZodTypeAny, {
|
|
2923
2981
|
allowed?: boolean;
|
|
2924
2982
|
maxItems?: number;
|
|
2925
|
-
|
|
2926
|
-
|
|
2983
|
+
maxPackageVersions?: number;
|
|
2984
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2985
|
+
maxPackageBytesTotal?: number;
|
|
2927
2986
|
}, {
|
|
2928
2987
|
allowed?: boolean;
|
|
2929
2988
|
maxItems?: number;
|
|
2930
|
-
|
|
2931
|
-
|
|
2989
|
+
maxPackageVersions?: number;
|
|
2990
|
+
maxPackageVersionSizeInBytes?: number;
|
|
2991
|
+
maxPackageBytesTotal?: number;
|
|
2932
2992
|
}>>>;
|
|
2933
2993
|
}, "strip", z.ZodTypeAny, {
|
|
2934
2994
|
records?: {
|
|
@@ -3018,11 +3078,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3018
3078
|
maxSentNotificationsPerPeriod?: number;
|
|
3019
3079
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3020
3080
|
};
|
|
3021
|
-
|
|
3081
|
+
packages?: {
|
|
3022
3082
|
allowed?: boolean;
|
|
3023
3083
|
maxItems?: number;
|
|
3024
|
-
|
|
3025
|
-
|
|
3084
|
+
maxPackageVersions?: number;
|
|
3085
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3086
|
+
maxPackageBytesTotal?: number;
|
|
3026
3087
|
};
|
|
3027
3088
|
}, {
|
|
3028
3089
|
records?: {
|
|
@@ -3112,11 +3173,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3112
3173
|
maxSentNotificationsPerPeriod?: number;
|
|
3113
3174
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3114
3175
|
};
|
|
3115
|
-
|
|
3176
|
+
packages?: {
|
|
3116
3177
|
allowed?: boolean;
|
|
3117
3178
|
maxItems?: number;
|
|
3118
|
-
|
|
3119
|
-
|
|
3179
|
+
maxPackageVersions?: number;
|
|
3180
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3181
|
+
maxPackageBytesTotal?: number;
|
|
3120
3182
|
};
|
|
3121
3183
|
}>>;
|
|
3122
3184
|
studio: z.ZodOptional<z.ZodObject<{
|
|
@@ -3413,21 +3475,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3413
3475
|
maxSentNotificationsPerPeriod?: number;
|
|
3414
3476
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3415
3477
|
}>>>;
|
|
3416
|
-
|
|
3478
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
3417
3479
|
allowed: z.ZodBoolean;
|
|
3418
3480
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
3419
|
-
|
|
3420
|
-
|
|
3481
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
3482
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
3483
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
3421
3484
|
}, "strip", z.ZodTypeAny, {
|
|
3422
3485
|
allowed?: boolean;
|
|
3423
3486
|
maxItems?: number;
|
|
3424
|
-
|
|
3425
|
-
|
|
3487
|
+
maxPackageVersions?: number;
|
|
3488
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3489
|
+
maxPackageBytesTotal?: number;
|
|
3426
3490
|
}, {
|
|
3427
3491
|
allowed?: boolean;
|
|
3428
3492
|
maxItems?: number;
|
|
3429
|
-
|
|
3430
|
-
|
|
3493
|
+
maxPackageVersions?: number;
|
|
3494
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3495
|
+
maxPackageBytesTotal?: number;
|
|
3431
3496
|
}>>>;
|
|
3432
3497
|
}, "strip", z.ZodTypeAny, {
|
|
3433
3498
|
records?: {
|
|
@@ -3517,11 +3582,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3517
3582
|
maxSentNotificationsPerPeriod?: number;
|
|
3518
3583
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3519
3584
|
};
|
|
3520
|
-
|
|
3585
|
+
packages?: {
|
|
3521
3586
|
allowed?: boolean;
|
|
3522
3587
|
maxItems?: number;
|
|
3523
|
-
|
|
3524
|
-
|
|
3588
|
+
maxPackageVersions?: number;
|
|
3589
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3590
|
+
maxPackageBytesTotal?: number;
|
|
3525
3591
|
};
|
|
3526
3592
|
}, {
|
|
3527
3593
|
records?: {
|
|
@@ -3611,11 +3677,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3611
3677
|
maxSentNotificationsPerPeriod?: number;
|
|
3612
3678
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3613
3679
|
};
|
|
3614
|
-
|
|
3680
|
+
packages?: {
|
|
3615
3681
|
allowed?: boolean;
|
|
3616
3682
|
maxItems?: number;
|
|
3617
|
-
|
|
3618
|
-
|
|
3683
|
+
maxPackageVersions?: number;
|
|
3684
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3685
|
+
maxPackageBytesTotal?: number;
|
|
3619
3686
|
};
|
|
3620
3687
|
}>>;
|
|
3621
3688
|
defaultPeriodLength: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
@@ -3730,11 +3797,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3730
3797
|
maxSentNotificationsPerPeriod?: number;
|
|
3731
3798
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3732
3799
|
};
|
|
3733
|
-
|
|
3800
|
+
packages?: {
|
|
3734
3801
|
allowed?: boolean;
|
|
3735
3802
|
maxItems?: number;
|
|
3736
|
-
|
|
3737
|
-
|
|
3803
|
+
maxPackageVersions?: number;
|
|
3804
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3805
|
+
maxPackageBytesTotal?: number;
|
|
3738
3806
|
};
|
|
3739
3807
|
};
|
|
3740
3808
|
studio?: {
|
|
@@ -3825,11 +3893,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3825
3893
|
maxSentNotificationsPerPeriod?: number;
|
|
3826
3894
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3827
3895
|
};
|
|
3828
|
-
|
|
3896
|
+
packages?: {
|
|
3829
3897
|
allowed?: boolean;
|
|
3830
3898
|
maxItems?: number;
|
|
3831
|
-
|
|
3832
|
-
|
|
3899
|
+
maxPackageVersions?: number;
|
|
3900
|
+
maxPackageVersionSizeInBytes?: number;
|
|
3901
|
+
maxPackageBytesTotal?: number;
|
|
3833
3902
|
};
|
|
3834
3903
|
};
|
|
3835
3904
|
defaultPeriodLength?: {
|
|
@@ -3930,11 +3999,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
3930
3999
|
maxSentNotificationsPerPeriod?: number;
|
|
3931
4000
|
maxSentPushNotificationsPerPeriod?: number;
|
|
3932
4001
|
};
|
|
3933
|
-
|
|
4002
|
+
packages?: {
|
|
3934
4003
|
allowed?: boolean;
|
|
3935
4004
|
maxItems?: number;
|
|
3936
|
-
|
|
3937
|
-
|
|
4005
|
+
maxPackageVersions?: number;
|
|
4006
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4007
|
+
maxPackageBytesTotal?: number;
|
|
3938
4008
|
};
|
|
3939
4009
|
};
|
|
3940
4010
|
studio?: {
|
|
@@ -4025,11 +4095,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4025
4095
|
maxSentNotificationsPerPeriod?: number;
|
|
4026
4096
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4027
4097
|
};
|
|
4028
|
-
|
|
4098
|
+
packages?: {
|
|
4029
4099
|
allowed?: boolean;
|
|
4030
4100
|
maxItems?: number;
|
|
4031
|
-
|
|
4032
|
-
|
|
4101
|
+
maxPackageVersions?: number;
|
|
4102
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4103
|
+
maxPackageBytesTotal?: number;
|
|
4033
4104
|
};
|
|
4034
4105
|
};
|
|
4035
4106
|
defaultPeriodLength?: {
|
|
@@ -4357,21 +4428,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4357
4428
|
maxSentNotificationsPerPeriod?: number;
|
|
4358
4429
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4359
4430
|
}>>>;
|
|
4360
|
-
|
|
4431
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4361
4432
|
allowed: z.ZodBoolean;
|
|
4362
4433
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
4363
|
-
|
|
4364
|
-
|
|
4434
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
4435
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
4436
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
4365
4437
|
}, "strip", z.ZodTypeAny, {
|
|
4366
4438
|
allowed?: boolean;
|
|
4367
4439
|
maxItems?: number;
|
|
4368
|
-
|
|
4369
|
-
|
|
4440
|
+
maxPackageVersions?: number;
|
|
4441
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4442
|
+
maxPackageBytesTotal?: number;
|
|
4370
4443
|
}, {
|
|
4371
4444
|
allowed?: boolean;
|
|
4372
4445
|
maxItems?: number;
|
|
4373
|
-
|
|
4374
|
-
|
|
4446
|
+
maxPackageVersions?: number;
|
|
4447
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4448
|
+
maxPackageBytesTotal?: number;
|
|
4375
4449
|
}>>>;
|
|
4376
4450
|
}, "strip", z.ZodTypeAny, {
|
|
4377
4451
|
records?: {
|
|
@@ -4461,11 +4535,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4461
4535
|
maxSentNotificationsPerPeriod?: number;
|
|
4462
4536
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4463
4537
|
};
|
|
4464
|
-
|
|
4538
|
+
packages?: {
|
|
4465
4539
|
allowed?: boolean;
|
|
4466
4540
|
maxItems?: number;
|
|
4467
|
-
|
|
4468
|
-
|
|
4541
|
+
maxPackageVersions?: number;
|
|
4542
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4543
|
+
maxPackageBytesTotal?: number;
|
|
4469
4544
|
};
|
|
4470
4545
|
}, {
|
|
4471
4546
|
records?: {
|
|
@@ -4555,11 +4630,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4555
4630
|
maxSentNotificationsPerPeriod?: number;
|
|
4556
4631
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4557
4632
|
};
|
|
4558
|
-
|
|
4633
|
+
packages?: {
|
|
4559
4634
|
allowed?: boolean;
|
|
4560
4635
|
maxItems?: number;
|
|
4561
|
-
|
|
4562
|
-
|
|
4636
|
+
maxPackageVersions?: number;
|
|
4637
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4638
|
+
maxPackageBytesTotal?: number;
|
|
4563
4639
|
};
|
|
4564
4640
|
}>>;
|
|
4565
4641
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4651,11 +4727,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4651
4727
|
maxSentNotificationsPerPeriod?: number;
|
|
4652
4728
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4653
4729
|
};
|
|
4654
|
-
|
|
4730
|
+
packages?: {
|
|
4655
4731
|
allowed?: boolean;
|
|
4656
4732
|
maxItems?: number;
|
|
4657
|
-
|
|
4658
|
-
|
|
4733
|
+
maxPackageVersions?: number;
|
|
4734
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4735
|
+
maxPackageBytesTotal?: number;
|
|
4659
4736
|
};
|
|
4660
4737
|
};
|
|
4661
4738
|
}, {
|
|
@@ -4747,11 +4824,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4747
4824
|
maxSentNotificationsPerPeriod?: number;
|
|
4748
4825
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4749
4826
|
};
|
|
4750
|
-
|
|
4827
|
+
packages?: {
|
|
4751
4828
|
allowed?: boolean;
|
|
4752
4829
|
maxItems?: number;
|
|
4753
|
-
|
|
4754
|
-
|
|
4830
|
+
maxPackageVersions?: number;
|
|
4831
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4832
|
+
maxPackageBytesTotal?: number;
|
|
4755
4833
|
};
|
|
4756
4834
|
};
|
|
4757
4835
|
}>, "strip">;
|
|
@@ -4844,11 +4922,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4844
4922
|
maxSentNotificationsPerPeriod?: number;
|
|
4845
4923
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4846
4924
|
};
|
|
4847
|
-
|
|
4925
|
+
packages?: {
|
|
4848
4926
|
allowed?: boolean;
|
|
4849
4927
|
maxItems?: number;
|
|
4850
|
-
|
|
4851
|
-
|
|
4928
|
+
maxPackageVersions?: number;
|
|
4929
|
+
maxPackageVersionSizeInBytes?: number;
|
|
4930
|
+
maxPackageBytesTotal?: number;
|
|
4852
4931
|
};
|
|
4853
4932
|
};
|
|
4854
4933
|
studio?: {
|
|
@@ -4939,11 +5018,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
4939
5018
|
maxSentNotificationsPerPeriod?: number;
|
|
4940
5019
|
maxSentPushNotificationsPerPeriod?: number;
|
|
4941
5020
|
};
|
|
4942
|
-
|
|
5021
|
+
packages?: {
|
|
4943
5022
|
allowed?: boolean;
|
|
4944
5023
|
maxItems?: number;
|
|
4945
|
-
|
|
4946
|
-
|
|
5024
|
+
maxPackageVersions?: number;
|
|
5025
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5026
|
+
maxPackageBytesTotal?: number;
|
|
4947
5027
|
};
|
|
4948
5028
|
};
|
|
4949
5029
|
defaultPeriodLength?: {
|
|
@@ -5271,21 +5351,24 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5271
5351
|
maxSentNotificationsPerPeriod?: number;
|
|
5272
5352
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5273
5353
|
}>>>;
|
|
5274
|
-
|
|
5354
|
+
packages: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5275
5355
|
allowed: z.ZodBoolean;
|
|
5276
5356
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
5277
|
-
|
|
5278
|
-
|
|
5357
|
+
maxPackageVersions: z.ZodOptional<z.ZodNumber>;
|
|
5358
|
+
maxPackageVersionSizeInBytes: z.ZodOptional<z.ZodNumber>;
|
|
5359
|
+
maxPackageBytesTotal: z.ZodOptional<z.ZodNumber>;
|
|
5279
5360
|
}, "strip", z.ZodTypeAny, {
|
|
5280
5361
|
allowed?: boolean;
|
|
5281
5362
|
maxItems?: number;
|
|
5282
|
-
|
|
5283
|
-
|
|
5363
|
+
maxPackageVersions?: number;
|
|
5364
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5365
|
+
maxPackageBytesTotal?: number;
|
|
5284
5366
|
}, {
|
|
5285
5367
|
allowed?: boolean;
|
|
5286
5368
|
maxItems?: number;
|
|
5287
|
-
|
|
5288
|
-
|
|
5369
|
+
maxPackageVersions?: number;
|
|
5370
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5371
|
+
maxPackageBytesTotal?: number;
|
|
5289
5372
|
}>>>;
|
|
5290
5373
|
}, "strip", z.ZodTypeAny, {
|
|
5291
5374
|
records?: {
|
|
@@ -5375,11 +5458,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5375
5458
|
maxSentNotificationsPerPeriod?: number;
|
|
5376
5459
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5377
5460
|
};
|
|
5378
|
-
|
|
5461
|
+
packages?: {
|
|
5379
5462
|
allowed?: boolean;
|
|
5380
5463
|
maxItems?: number;
|
|
5381
|
-
|
|
5382
|
-
|
|
5464
|
+
maxPackageVersions?: number;
|
|
5465
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5466
|
+
maxPackageBytesTotal?: number;
|
|
5383
5467
|
};
|
|
5384
5468
|
}, {
|
|
5385
5469
|
records?: {
|
|
@@ -5469,11 +5553,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5469
5553
|
maxSentNotificationsPerPeriod?: number;
|
|
5470
5554
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5471
5555
|
};
|
|
5472
|
-
|
|
5556
|
+
packages?: {
|
|
5473
5557
|
allowed?: boolean;
|
|
5474
5558
|
maxItems?: number;
|
|
5475
|
-
|
|
5476
|
-
|
|
5559
|
+
maxPackageVersions?: number;
|
|
5560
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5561
|
+
maxPackageBytesTotal?: number;
|
|
5477
5562
|
};
|
|
5478
5563
|
}>>;
|
|
5479
5564
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5565,11 +5650,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5565
5650
|
maxSentNotificationsPerPeriod?: number;
|
|
5566
5651
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5567
5652
|
};
|
|
5568
|
-
|
|
5653
|
+
packages?: {
|
|
5569
5654
|
allowed?: boolean;
|
|
5570
5655
|
maxItems?: number;
|
|
5571
|
-
|
|
5572
|
-
|
|
5656
|
+
maxPackageVersions?: number;
|
|
5657
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5658
|
+
maxPackageBytesTotal?: number;
|
|
5573
5659
|
};
|
|
5574
5660
|
};
|
|
5575
5661
|
}, {
|
|
@@ -5661,11 +5747,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5661
5747
|
maxSentNotificationsPerPeriod?: number;
|
|
5662
5748
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5663
5749
|
};
|
|
5664
|
-
|
|
5750
|
+
packages?: {
|
|
5665
5751
|
allowed?: boolean;
|
|
5666
5752
|
maxItems?: number;
|
|
5667
|
-
|
|
5668
|
-
|
|
5753
|
+
maxPackageVersions?: number;
|
|
5754
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5755
|
+
maxPackageBytesTotal?: number;
|
|
5669
5756
|
};
|
|
5670
5757
|
};
|
|
5671
5758
|
}>, "strip">;
|
|
@@ -5758,11 +5845,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5758
5845
|
maxSentNotificationsPerPeriod?: number;
|
|
5759
5846
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5760
5847
|
};
|
|
5761
|
-
|
|
5848
|
+
packages?: {
|
|
5762
5849
|
allowed?: boolean;
|
|
5763
5850
|
maxItems?: number;
|
|
5764
|
-
|
|
5765
|
-
|
|
5851
|
+
maxPackageVersions?: number;
|
|
5852
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5853
|
+
maxPackageBytesTotal?: number;
|
|
5766
5854
|
};
|
|
5767
5855
|
};
|
|
5768
5856
|
studio?: {
|
|
@@ -5853,11 +5941,12 @@ export declare const subscriptionConfigSchema: z.ZodObject<{
|
|
|
5853
5941
|
maxSentNotificationsPerPeriod?: number;
|
|
5854
5942
|
maxSentPushNotificationsPerPeriod?: number;
|
|
5855
5943
|
};
|
|
5856
|
-
|
|
5944
|
+
packages?: {
|
|
5857
5945
|
allowed?: boolean;
|
|
5858
5946
|
maxItems?: number;
|
|
5859
|
-
|
|
5860
|
-
|
|
5947
|
+
maxPackageVersions?: number;
|
|
5948
|
+
maxPackageVersionSizeInBytes?: number;
|
|
5949
|
+
maxPackageBytesTotal?: number;
|
|
5861
5950
|
};
|
|
5862
5951
|
};
|
|
5863
5952
|
defaultPeriodLength?: {
|
|
@@ -6060,9 +6149,9 @@ export interface FeaturesConfiguration {
|
|
|
6060
6149
|
*/
|
|
6061
6150
|
notifications?: NotificationFeaturesConfiguration;
|
|
6062
6151
|
/**
|
|
6063
|
-
* The configuration for
|
|
6152
|
+
* The configuration for package features.
|
|
6064
6153
|
*/
|
|
6065
|
-
|
|
6154
|
+
packages?: PackageFeaturesConfiguration;
|
|
6066
6155
|
}
|
|
6067
6156
|
export interface RecordFeaturesConfiguration {
|
|
6068
6157
|
/**
|
|
@@ -6257,9 +6346,17 @@ export interface StudioComIdFeaturesConfiguration {
|
|
|
6257
6346
|
export type StudioLoomFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['loom'];
|
|
6258
6347
|
export type WebhooksFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['webhooks'];
|
|
6259
6348
|
export type NotificationFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['notifications'];
|
|
6260
|
-
export type
|
|
6349
|
+
export type PackageFeaturesConfiguration = z.infer<typeof subscriptionFeaturesSchema>['packages'];
|
|
6261
6350
|
export declare function allowAllFeatures(): FeaturesConfiguration;
|
|
6262
6351
|
export declare function denyAllFeatures(): FeaturesConfiguration;
|
|
6352
|
+
/**
|
|
6353
|
+
* Gets the package features that are available for the given subscription.
|
|
6354
|
+
* @param config The configuration. If null, then all default features are allowed.
|
|
6355
|
+
* @param subscriptionStatus The status of the subscription.
|
|
6356
|
+
* @param subscriptionId The ID of the subscription.
|
|
6357
|
+
* @param type The type of the user.
|
|
6358
|
+
*/
|
|
6359
|
+
export declare function getPackageFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number | null, periodEndMs?: number | null, nowMs?: number): PackageFeaturesConfiguration;
|
|
6263
6360
|
/**
|
|
6264
6361
|
* Gets the notification features that are available for the given subscription.
|
|
6265
6362
|
* @param config The configuration. If null, then all default features are allowed.
|
|
@@ -6267,7 +6364,7 @@ export declare function denyAllFeatures(): FeaturesConfiguration;
|
|
|
6267
6364
|
* @param subscriptionId The ID of the subscription.
|
|
6268
6365
|
* @param type The type of the user.
|
|
6269
6366
|
*/
|
|
6270
|
-
export declare function getNotificationFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): NotificationFeaturesConfiguration;
|
|
6367
|
+
export declare function getNotificationFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): NotificationFeaturesConfiguration;
|
|
6271
6368
|
/**
|
|
6272
6369
|
* Gets the webhook features that are available for the given subscription.
|
|
6273
6370
|
* @param config The configuration. If null, then all default features are allowed.
|
|
@@ -6275,21 +6372,21 @@ export declare function getNotificationFeatures(config: SubscriptionConfiguratio
|
|
|
6275
6372
|
* @param subscriptionId The ID of the subscription.
|
|
6276
6373
|
* @param type The type of the user.
|
|
6277
6374
|
*/
|
|
6278
|
-
export declare function getWebhookFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): WebhooksFeaturesConfiguration;
|
|
6375
|
+
export declare function getWebhookFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): WebhooksFeaturesConfiguration;
|
|
6279
6376
|
/**
|
|
6280
6377
|
* Gets the comId features that are available for the given subscription.
|
|
6281
6378
|
* @param config The configuration. If null, then all default features are allowed.
|
|
6282
6379
|
* @param subscriptionStatus The status of the subscription.
|
|
6283
6380
|
* @param subscriptionId The ID of the subscription.
|
|
6284
6381
|
*/
|
|
6285
|
-
export declare function getComIdFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, periodStartMs?: number, periodEndMs?: number, nowMs?: number): StudioComIdFeaturesConfiguration;
|
|
6382
|
+
export declare function getComIdFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, periodStartMs?: number, periodEndMs?: number, nowMs?: number): StudioComIdFeaturesConfiguration;
|
|
6286
6383
|
/**
|
|
6287
6384
|
* Gets the loom features that are available for the given subscription.
|
|
6288
6385
|
* @param config The configuration. If null, then all default features are allowed.
|
|
6289
6386
|
* @param subscriptionStatus The status of the subscription.
|
|
6290
6387
|
* @param subscriptionId The ID of the subscription.
|
|
6291
6388
|
*/
|
|
6292
|
-
export declare function getLoomFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, periodStartMs?: number, periodEndMs?: number, nowMs?: number): StudioLoomFeaturesConfiguration;
|
|
6389
|
+
export declare function getLoomFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, periodStartMs?: number, periodEndMs?: number, nowMs?: number): StudioLoomFeaturesConfiguration;
|
|
6293
6390
|
/**
|
|
6294
6391
|
* Gets the Hume AI features that are allowed for the given subscription.
|
|
6295
6392
|
* If hume ai features are not configured, then they are not allowed.
|
|
@@ -6298,7 +6395,7 @@ export declare function getLoomFeatures(config: SubscriptionConfiguration, subsc
|
|
|
6298
6395
|
* @param subscriptionId The ID of the subscription.
|
|
6299
6396
|
* @param type The type of the user.
|
|
6300
6397
|
*/
|
|
6301
|
-
export declare function getHumeAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AIHumeFeaturesConfiguration;
|
|
6398
|
+
export declare function getHumeAiFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AIHumeFeaturesConfiguration;
|
|
6302
6399
|
/**
|
|
6303
6400
|
* Gets the Sloyd AI features that are allowed for the given subscription.
|
|
6304
6401
|
* If sloyd ai features are not configured, then they are not allowed.
|
|
@@ -6307,7 +6404,7 @@ export declare function getHumeAiFeatures(config: SubscriptionConfiguration, sub
|
|
|
6307
6404
|
* @param subscriptionId The ID of the subscription.
|
|
6308
6405
|
* @param type The type of the user.
|
|
6309
6406
|
*/
|
|
6310
|
-
export declare function getSloydAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AISloydFeaturesConfiguration;
|
|
6407
|
+
export declare function getSloydAiFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AISloydFeaturesConfiguration;
|
|
6311
6408
|
/**
|
|
6312
6409
|
* Gets the OpenAI-specific features that are allowed for the given subscription.
|
|
6313
6410
|
* If OpenAI features are not configured, then they are not allowed.
|
|
@@ -6316,7 +6413,7 @@ export declare function getSloydAiFeatures(config: SubscriptionConfiguration, su
|
|
|
6316
6413
|
* @param subscriptionId The ID of the subscription.
|
|
6317
6414
|
* @param type The type of the user.
|
|
6318
6415
|
*/
|
|
6319
|
-
export declare function getOpenAiFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AIOpenAIFeaturesConfiguration;
|
|
6416
|
+
export declare function getOpenAiFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): AIOpenAIFeaturesConfiguration;
|
|
6320
6417
|
/**
|
|
6321
6418
|
* Gets the features that are available for the given subscription.
|
|
6322
6419
|
* Useful for determining which features a user/studio should have access to based on the ID of their subscription.
|
|
@@ -6328,7 +6425,7 @@ export declare function getOpenAiFeatures(config: SubscriptionConfiguration, sub
|
|
|
6328
6425
|
* @param periodEndMs The end of the subscription period in unix time in miliseconds. If omitted, then the period won't be checked.
|
|
6329
6426
|
* @param nowMs The current time in milliseconds.
|
|
6330
6427
|
*/
|
|
6331
|
-
export declare function getSubscriptionFeatures(config: SubscriptionConfiguration, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number, periodEndMs?: number, nowMs?: number): FeaturesConfiguration;
|
|
6428
|
+
export declare function getSubscriptionFeatures(config: SubscriptionConfiguration | null, subscriptionStatus: string, subscriptionId: string, type: 'user' | 'studio', periodStartMs?: number | null, periodEndMs?: number | null, nowMs?: number): FeaturesConfiguration;
|
|
6332
6429
|
export declare function getSubscriptionTier(config: SubscriptionConfiguration, subscriptionStatus: string, subId: string): string | null;
|
|
6333
6430
|
/**
|
|
6334
6431
|
* Determines if the subscription is allowed to be used for the given role.
|