@bpinternal/const 0.8.0 → 0.10.0

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.
@@ -2,9 +2,10 @@
2
2
  * Billing features for v4 billing system
3
3
  * Based on the requirements from the billing refactor document
4
4
  */
5
- export declare const BILLING_FEATURE_IDS: readonly ["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"];
5
+ export declare const BILLING_FEATURE_IDS: readonly ["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"];
6
6
  export declare const ATOMIC_BILLING_FEATURE_IDS: ["integration_subscription", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "saved_versions"];
7
- export declare const NON_ATOMIC_BILLING_FEATURE_IDS: ["incoming_messages_events", "integration_spend", "table_rows", "file_storage", "vector_db_storage"];
7
+ export declare const NON_ATOMIC_BILLING_FEATURE_IDS: ["incoming_messages_events", "integration_spend", "table_rows", "file_storage", "vector_db_storage", "indexed_file_count"];
8
+ export declare const NON_RESETTING_BILLING_FEATURE_IDS: ["integration_subscription", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "saved_versions", "table_rows", "file_storage", "vector_db_storage", "indexed_file_count"];
8
9
  export declare const CREDIT_GRANT_BILLING_FEATURE_IDS: ["integration_spend"];
9
10
  export declare const billingFeatureDefs: {
10
11
  readonly human_in_the_loop: {
@@ -85,4 +86,9 @@ export declare const billingFeatureDefs: {
85
86
  readonly description: "Number of bot versions that can be saved";
86
87
  readonly type: "static";
87
88
  };
89
+ readonly indexed_file_count: {
90
+ readonly name: "Indexed File Count";
91
+ readonly description: "The number of indexed files in the files api";
92
+ readonly type: "static";
93
+ };
88
94
  };
@@ -4,7 +4,7 @@
4
4
  * Based on the requirements from the billing refactor document
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.billingFeatureDefs = exports.CREDIT_GRANT_BILLING_FEATURE_IDS = exports.NON_ATOMIC_BILLING_FEATURE_IDS = exports.ATOMIC_BILLING_FEATURE_IDS = exports.BILLING_FEATURE_IDS = void 0;
7
+ exports.billingFeatureDefs = exports.CREDIT_GRANT_BILLING_FEATURE_IDS = exports.NON_RESETTING_BILLING_FEATURE_IDS = exports.NON_ATOMIC_BILLING_FEATURE_IDS = exports.ATOMIC_BILLING_FEATURE_IDS = exports.BILLING_FEATURE_IDS = void 0;
8
8
  exports.BILLING_FEATURE_IDS = [
9
9
  'human_in_the_loop',
10
10
  'ratelimit',
@@ -18,6 +18,7 @@ exports.BILLING_FEATURE_IDS = [
18
18
  'collaborator_count',
19
19
  'file_storage',
20
20
  'vector_db_storage',
21
+ 'indexed_file_count',
21
22
  'saved_versions',
22
23
  ];
23
24
  exports.ATOMIC_BILLING_FEATURE_IDS = [
@@ -34,6 +35,14 @@ exports.NON_ATOMIC_BILLING_FEATURE_IDS = [
34
35
  'table_rows',
35
36
  'file_storage',
36
37
  'vector_db_storage',
38
+ 'indexed_file_count',
39
+ ];
40
+ exports.NON_RESETTING_BILLING_FEATURE_IDS = [
41
+ ...exports.ATOMIC_BILLING_FEATURE_IDS,
42
+ 'table_rows',
43
+ 'file_storage',
44
+ 'vector_db_storage',
45
+ 'indexed_file_count',
37
46
  ];
38
47
  exports.CREDIT_GRANT_BILLING_FEATURE_IDS = ['integration_spend'];
39
48
  exports.billingFeatureDefs = {
@@ -115,4 +124,9 @@ exports.billingFeatureDefs = {
115
124
  description: 'Number of bot versions that can be saved',
116
125
  type: 'static',
117
126
  },
127
+ indexed_file_count: {
128
+ name: 'Indexed File Count',
129
+ description: 'The number of indexed files in the files api',
130
+ type: 'static',
131
+ },
118
132
  };
@@ -32,6 +32,7 @@ export declare const billingPlansDefs: {
32
32
  readonly file_storage: 100000000;
33
33
  readonly vector_db_storage: 100000000;
34
34
  readonly saved_versions: 3;
35
+ readonly indexed_file_count: 1000;
35
36
  };
36
37
  };
37
38
  readonly plus: {
@@ -62,6 +63,7 @@ export declare const billingPlansDefs: {
62
63
  readonly file_storage: 10000000000;
63
64
  readonly vector_db_storage: 1000000000;
64
65
  readonly saved_versions: 50;
66
+ readonly indexed_file_count: 2000;
65
67
  };
66
68
  };
67
69
  readonly team: {
@@ -92,6 +94,7 @@ export declare const billingPlansDefs: {
92
94
  readonly file_storage: 10000000000;
93
95
  readonly vector_db_storage: 2000000000;
94
96
  readonly saved_versions: 100;
97
+ readonly indexed_file_count: 10000;
95
98
  };
96
99
  };
97
100
  readonly enterprise: {
@@ -118,6 +121,7 @@ export declare const billingPlansDefs: {
118
121
  readonly file_storage: 1000000000000;
119
122
  readonly vector_db_storage: 500000000000;
120
123
  readonly saved_versions: 1000;
124
+ readonly indexed_file_count: 10000;
121
125
  };
122
126
  };
123
127
  };
@@ -51,6 +51,7 @@ exports.billingPlansDefs = {
51
51
  file_storage: 100_000_000, // 100 MB
52
52
  vector_db_storage: 100_000_000, // 100 MB
53
53
  saved_versions: 3,
54
+ indexed_file_count: 1_000,
54
55
  },
55
56
  },
56
57
  plus: {
@@ -84,6 +85,7 @@ exports.billingPlansDefs = {
84
85
  file_storage: 10_000_000_000, // 10 GB
85
86
  vector_db_storage: 1_000_000_000, // 1 GB
86
87
  saved_versions: 50,
88
+ indexed_file_count: 2_000,
87
89
  },
88
90
  },
89
91
  team: {
@@ -117,6 +119,7 @@ exports.billingPlansDefs = {
117
119
  file_storage: 10_000_000_000, // 10 GB
118
120
  vector_db_storage: 2_000_000_000, // 2 GB
119
121
  saved_versions: 100,
122
+ indexed_file_count: 10_000,
120
123
  },
121
124
  },
122
125
  enterprise: {
@@ -145,6 +148,7 @@ exports.billingPlansDefs = {
145
148
  file_storage: 1000_000_000_000, // 1000 GB
146
149
  vector_db_storage: 500_000_000_000, // 500 GB
147
150
  saved_versions: 1000,
151
+ indexed_file_count: 10_000,
148
152
  },
149
153
  },
150
154
  };
package/dist/schema.d.ts CHANGED
@@ -41,7 +41,7 @@ export declare const meteredPriceSchema: z.ZodObject<{
41
41
  unitAmount: number;
42
42
  metadata?: Record<string, string> | undefined;
43
43
  }>;
44
- export declare const featureSchema: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>;
44
+ export declare const featureSchema: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>;
45
45
  export declare const planSchema: z.ZodObject<{
46
46
  id: z.ZodString;
47
47
  name: z.ZodString;
@@ -67,7 +67,7 @@ export declare const planSchema: z.ZodObject<{
67
67
  interval: "month" | "year";
68
68
  metadata?: Record<string, string> | undefined;
69
69
  }>>;
70
- features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>, z.ZodAny>;
70
+ features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>, z.ZodAny>;
71
71
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
72
72
  }, "strip", z.ZodTypeAny, {
73
73
  id: string;
@@ -82,7 +82,7 @@ export declare const planSchema: z.ZodObject<{
82
82
  interval: "month" | "year";
83
83
  metadata?: Record<string, string> | undefined;
84
84
  }>>;
85
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
85
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
86
86
  metadata?: Record<string, string> | undefined;
87
87
  }, {
88
88
  id: string;
@@ -97,7 +97,7 @@ export declare const planSchema: z.ZodObject<{
97
97
  interval: "month" | "year";
98
98
  metadata?: Record<string, string> | undefined;
99
99
  }>>;
100
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
100
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
101
101
  metadata?: Record<string, string> | undefined;
102
102
  }>;
103
103
  export declare const addOnSchema: z.ZodObject<{
@@ -124,7 +124,7 @@ export declare const addOnSchema: z.ZodObject<{
124
124
  interval: "month" | "year";
125
125
  metadata?: Record<string, string> | undefined;
126
126
  }>>;
127
- feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>;
127
+ feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>;
128
128
  increment: z.ZodNumber;
129
129
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
130
130
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -142,7 +142,7 @@ export declare const addOnSchema: z.ZodObject<{
142
142
  interval: "month" | "year";
143
143
  metadata?: Record<string, string> | undefined;
144
144
  }>>;
145
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
145
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
146
146
  increment: number;
147
147
  metadata?: Record<string, string> | undefined;
148
148
  prorationDisabled?: boolean | undefined;
@@ -160,7 +160,7 @@ export declare const addOnSchema: z.ZodObject<{
160
160
  interval: "month" | "year";
161
161
  metadata?: Record<string, string> | undefined;
162
162
  }>>;
163
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
163
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
164
164
  increment: number;
165
165
  metadata?: Record<string, string> | undefined;
166
166
  prorationDisabled?: boolean | undefined;
@@ -254,7 +254,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
254
254
  interval: "month" | "year";
255
255
  metadata?: Record<string, string> | undefined;
256
256
  }>>;
257
- features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>, z.ZodAny>;
257
+ features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>, z.ZodAny>;
258
258
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
259
259
  }, "strip", z.ZodTypeAny, {
260
260
  id: string;
@@ -269,7 +269,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
269
269
  interval: "month" | "year";
270
270
  metadata?: Record<string, string> | undefined;
271
271
  }>>;
272
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
272
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
273
273
  metadata?: Record<string, string> | undefined;
274
274
  }, {
275
275
  id: string;
@@ -284,7 +284,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
284
284
  interval: "month" | "year";
285
285
  metadata?: Record<string, string> | undefined;
286
286
  }>>;
287
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
287
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
288
288
  metadata?: Record<string, string> | undefined;
289
289
  }>>;
290
290
  addons: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -311,7 +311,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
311
311
  interval: "month" | "year";
312
312
  metadata?: Record<string, string> | undefined;
313
313
  }>>;
314
- feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>;
314
+ feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>;
315
315
  increment: z.ZodNumber;
316
316
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
317
317
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -329,7 +329,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
329
329
  interval: "month" | "year";
330
330
  metadata?: Record<string, string> | undefined;
331
331
  }>>;
332
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
332
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
333
333
  increment: number;
334
334
  metadata?: Record<string, string> | undefined;
335
335
  prorationDisabled?: boolean | undefined;
@@ -347,7 +347,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
347
347
  interval: "month" | "year";
348
348
  metadata?: Record<string, string> | undefined;
349
349
  }>>;
350
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
350
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
351
351
  increment: number;
352
352
  metadata?: Record<string, string> | undefined;
353
353
  prorationDisabled?: boolean | undefined;
@@ -431,7 +431,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
431
431
  interval: "month" | "year";
432
432
  metadata?: Record<string, string> | undefined;
433
433
  }>>;
434
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
434
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
435
435
  metadata?: Record<string, string> | undefined;
436
436
  }>;
437
437
  addons: Record<string, {
@@ -446,7 +446,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
446
446
  interval: "month" | "year";
447
447
  metadata?: Record<string, string> | undefined;
448
448
  }>>;
449
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
449
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
450
450
  increment: number;
451
451
  metadata?: Record<string, string> | undefined;
452
452
  prorationDisabled?: boolean | undefined;
@@ -488,7 +488,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
488
488
  interval: "month" | "year";
489
489
  metadata?: Record<string, string> | undefined;
490
490
  }>>;
491
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
491
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
492
492
  metadata?: Record<string, string> | undefined;
493
493
  }>;
494
494
  addons: Record<string, {
@@ -503,7 +503,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
503
503
  interval: "month" | "year";
504
504
  metadata?: Record<string, string> | undefined;
505
505
  }>>;
506
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
506
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
507
507
  increment: number;
508
508
  metadata?: Record<string, string> | undefined;
509
509
  prorationDisabled?: boolean | undefined;
@@ -558,7 +558,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
558
558
  interval: "month" | "year";
559
559
  metadata?: Record<string, string> | undefined;
560
560
  }>>;
561
- features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>, z.ZodAny>;
561
+ features: z.ZodRecord<z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>, z.ZodAny>;
562
562
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
563
563
  }, "strip", z.ZodTypeAny, {
564
564
  id: string;
@@ -573,7 +573,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
573
573
  interval: "month" | "year";
574
574
  metadata?: Record<string, string> | undefined;
575
575
  }>>;
576
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
576
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
577
577
  metadata?: Record<string, string> | undefined;
578
578
  }, {
579
579
  id: string;
@@ -588,7 +588,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
588
588
  interval: "month" | "year";
589
589
  metadata?: Record<string, string> | undefined;
590
590
  }>>;
591
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
591
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
592
592
  metadata?: Record<string, string> | undefined;
593
593
  }>>;
594
594
  addons: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -615,7 +615,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
615
615
  interval: "month" | "year";
616
616
  metadata?: Record<string, string> | undefined;
617
617
  }>>;
618
- feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"]>;
618
+ feature: z.ZodEnum<["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "indexed_file_count", "saved_versions"]>;
619
619
  increment: z.ZodNumber;
620
620
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
621
621
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -633,7 +633,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
633
633
  interval: "month" | "year";
634
634
  metadata?: Record<string, string> | undefined;
635
635
  }>>;
636
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
636
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
637
637
  increment: number;
638
638
  metadata?: Record<string, string> | undefined;
639
639
  prorationDisabled?: boolean | undefined;
@@ -651,7 +651,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
651
651
  interval: "month" | "year";
652
652
  metadata?: Record<string, string> | undefined;
653
653
  }>>;
654
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
654
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
655
655
  increment: number;
656
656
  metadata?: Record<string, string> | undefined;
657
657
  prorationDisabled?: boolean | undefined;
@@ -735,7 +735,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
735
735
  interval: "month" | "year";
736
736
  metadata?: Record<string, string> | undefined;
737
737
  }>>;
738
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
738
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
739
739
  metadata?: Record<string, string> | undefined;
740
740
  }>;
741
741
  addons: Record<string, {
@@ -750,7 +750,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
750
750
  interval: "month" | "year";
751
751
  metadata?: Record<string, string> | undefined;
752
752
  }>>;
753
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
753
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
754
754
  increment: number;
755
755
  metadata?: Record<string, string> | undefined;
756
756
  prorationDisabled?: boolean | undefined;
@@ -792,7 +792,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
792
792
  interval: "month" | "year";
793
793
  metadata?: Record<string, string> | undefined;
794
794
  }>>;
795
- features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", any>>;
795
+ features: Partial<Record<"human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions", any>>;
796
796
  metadata?: Record<string, string> | undefined;
797
797
  }>;
798
798
  addons: Record<string, {
@@ -807,7 +807,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
807
807
  interval: "month" | "year";
808
808
  metadata?: Record<string, string> | undefined;
809
809
  }>>;
810
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
810
+ feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
811
811
  increment: number;
812
812
  metadata?: Record<string, string> | undefined;
813
813
  prorationDisabled?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "files": [