@bpinternal/const 0.13.0 → 0.14.1

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.
@@ -32,26 +32,11 @@ export declare const addons: {
32
32
  readonly increment: 1;
33
33
  readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
34
34
  };
35
- readonly always_alive_addon: {
36
- readonly id: "always_alive_addon";
37
- readonly name: "Add-on - Always Alive";
38
- readonly description: "Keep one more bot always alive";
39
- readonly prices: {
40
- readonly month: {
41
- readonly amount: 10;
42
- readonly currency: "usd";
43
- readonly interval: "month";
44
- readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
45
- };
46
- };
47
- readonly feature: "always_alive_count";
48
- readonly increment: 1;
49
- readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
50
- };
51
35
  readonly messages_events_addon: {
52
36
  readonly id: "messages_events_addon";
53
37
  readonly name: "Add-on - Messages & Events";
54
38
  readonly description: "Adds 5,000 messages and events";
39
+ readonly prorationDisabled: true;
55
40
  readonly prices: {
56
41
  readonly month: {
57
42
  readonly amount: 20;
@@ -37,26 +37,11 @@ exports.addons = {
37
37
  increment: 1,
38
38
  providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
39
39
  },
40
- always_alive_addon: {
41
- id: 'always_alive_addon',
42
- name: 'Add-on - Always Alive',
43
- description: 'Keep one more bot always alive',
44
- prices: {
45
- month: {
46
- amount: 10,
47
- currency: 'usd',
48
- interval: 'month',
49
- providerPriceId: schemas_1.UNKNOWN_STRIPE_ID,
50
- },
51
- },
52
- feature: 'always_alive_count',
53
- increment: 1,
54
- providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
55
- },
56
40
  messages_events_addon: {
57
41
  id: 'messages_events_addon',
58
42
  name: 'Add-on - Messages & Events',
59
43
  description: 'Adds 5,000 messages and events',
44
+ prorationDisabled: true,
60
45
  prices: {
61
46
  month: {
62
47
  amount: 20,
@@ -14,15 +14,10 @@ export declare const plans: {
14
14
  };
15
15
  };
16
16
  readonly features: {
17
- readonly human_in_the_loop: false;
18
- readonly ratelimit: 100;
19
17
  readonly incoming_messages_events: 500;
20
18
  readonly integration_spend: 0;
21
- readonly integration_subscription: false;
22
19
  readonly table_rows: 1000;
23
20
  readonly bot_count: 1;
24
- readonly always_alive_count: 0;
25
- readonly always_alive_concurrency: 1;
26
21
  readonly collaborator_count: 1;
27
22
  readonly file_storage: 100000000;
28
23
  readonly vector_db_storage: 100000000;
@@ -51,15 +46,10 @@ export declare const plans: {
51
46
  };
52
47
  };
53
48
  readonly features: {
54
- readonly human_in_the_loop: true;
55
- readonly ratelimit: 100;
56
49
  readonly incoming_messages_events: 5000;
57
50
  readonly integration_spend: 5000000000;
58
- readonly integration_subscription: true;
59
51
  readonly table_rows: 100000;
60
52
  readonly bot_count: 2;
61
- readonly always_alive_count: 1;
62
- readonly always_alive_concurrency: 1;
63
53
  readonly collaborator_count: 2;
64
54
  readonly file_storage: 10000000000;
65
55
  readonly vector_db_storage: 1000000000;
@@ -88,15 +78,10 @@ export declare const plans: {
88
78
  };
89
79
  };
90
80
  readonly features: {
91
- readonly human_in_the_loop: true;
92
- readonly ratelimit: 1000;
93
81
  readonly incoming_messages_events: 50000;
94
82
  readonly integration_spend: 5000000000;
95
- readonly integration_subscription: true;
96
83
  readonly table_rows: 100000;
97
84
  readonly bot_count: 3;
98
- readonly always_alive_count: 3;
99
- readonly always_alive_concurrency: 3;
100
85
  readonly collaborator_count: 3;
101
86
  readonly file_storage: 10000000000;
102
87
  readonly vector_db_storage: 2000000000;
@@ -119,15 +104,10 @@ export declare const plans: {
119
104
  };
120
105
  };
121
106
  readonly features: {
122
- human_in_the_loop: boolean;
123
- ratelimit: number;
124
107
  incoming_messages_events: number;
125
108
  integration_spend: number;
126
- integration_subscription: boolean;
127
109
  table_rows: number;
128
110
  bot_count: number;
129
- always_alive_count: number;
130
- always_alive_concurrency: number;
131
111
  collaborator_count: number;
132
112
  file_storage: number;
133
113
  vector_db_storage: number;
@@ -150,15 +130,10 @@ export declare const plans: {
150
130
  };
151
131
  };
152
132
  readonly features: {
153
- human_in_the_loop: boolean;
154
- ratelimit: number;
155
133
  incoming_messages_events: number;
156
134
  integration_spend: number;
157
- integration_subscription: boolean;
158
135
  table_rows: number;
159
136
  bot_count: number;
160
- always_alive_count: number;
161
- always_alive_concurrency: number;
162
137
  collaborator_count: number;
163
138
  file_storage: number;
164
139
  vector_db_storage: number;
@@ -4,15 +4,10 @@ exports.plans = void 0;
4
4
  const consts_1 = require("../consts");
5
5
  const schemas_1 = require("./schemas");
6
6
  const ENTERPRISE_PLAN_FEATURES = {
7
- human_in_the_loop: true,
8
- ratelimit: 10000,
9
7
  incoming_messages_events: 1000000,
10
8
  integration_spend: 5_000_000_000, // $5 in nano-dollars
11
- integration_subscription: true,
12
9
  table_rows: 10000000,
13
10
  bot_count: 100,
14
- always_alive_count: 50,
15
- always_alive_concurrency: 3,
16
11
  collaborator_count: 100,
17
12
  file_storage: 1000_000_000_000, // 1000 GB
18
13
  vector_db_storage: 500_000_000_000, // 500 GB
@@ -35,15 +30,10 @@ exports.plans = {
35
30
  },
36
31
  },
37
32
  features: {
38
- human_in_the_loop: false,
39
- ratelimit: 100,
40
33
  incoming_messages_events: 500,
41
34
  integration_spend: 0,
42
- integration_subscription: false,
43
35
  table_rows: 1000,
44
36
  bot_count: 1,
45
- always_alive_count: 0,
46
- always_alive_concurrency: 1,
47
37
  collaborator_count: 1,
48
38
  file_storage: 100_000_000, // 100 MB
49
39
  vector_db_storage: 100_000_000, // 100 MB
@@ -72,15 +62,10 @@ exports.plans = {
72
62
  },
73
63
  },
74
64
  features: {
75
- human_in_the_loop: true,
76
- ratelimit: 100,
77
65
  incoming_messages_events: 5000,
78
66
  integration_spend: 5_000_000_000, // $5 in nano-dollars
79
- integration_subscription: true,
80
67
  table_rows: 100000,
81
68
  bot_count: 2,
82
- always_alive_count: 1,
83
- always_alive_concurrency: 1,
84
69
  collaborator_count: 2,
85
70
  file_storage: 10_000_000_000, // 10 GB
86
71
  vector_db_storage: 1_000_000_000, // 1 GB
@@ -109,15 +94,10 @@ exports.plans = {
109
94
  },
110
95
  },
111
96
  features: {
112
- human_in_the_loop: true,
113
- ratelimit: 1000,
114
97
  incoming_messages_events: 50000,
115
98
  integration_spend: 5_000_000_000, // $5 in nano-dollars
116
- integration_subscription: true,
117
99
  table_rows: 100000,
118
100
  bot_count: 3,
119
- always_alive_count: 3,
120
- always_alive_concurrency: 3,
121
101
  collaborator_count: 3,
122
102
  file_storage: 10_000_000_000, // 10 GB
123
103
  vector_db_storage: 2_000_000_000, // 2 GB
@@ -4,7 +4,7 @@ import { z } from 'zod';
4
4
  * This allows us to have a reference to the Stripe products and prices in our billing config without having to hardcode them before they are created in Stripe.
5
5
  */
6
6
  export declare const UNKNOWN_STRIPE_ID = "__UNKNOWN_STRIPE_ID__";
7
- 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", "indexed_file_count"]>;
7
+ export declare const featureSchema: z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>;
8
8
  export type Interval = z.infer<typeof intervalSchema>;
9
9
  export declare const intervalSchema: z.ZodEnum<["month", "year"]>;
10
10
  export type UnitAmount = z.infer<typeof unitAmountSchema>;
@@ -78,7 +78,7 @@ export declare const planSchema: z.ZodObject<{
78
78
  providerPriceId: string;
79
79
  metadata?: Record<string, string> | undefined;
80
80
  }>>;
81
- 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", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
81
+ features: z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
82
82
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
83
83
  providerProductId: z.ZodString;
84
84
  }, "strip", z.ZodTypeAny, {
@@ -93,7 +93,7 @@ export declare const planSchema: z.ZodObject<{
93
93
  providerPriceId: string;
94
94
  metadata?: Record<string, string> | undefined;
95
95
  }>>;
96
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
96
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
97
97
  providerProductId: string;
98
98
  metadata?: Record<string, string> | undefined;
99
99
  }, {
@@ -108,7 +108,7 @@ export declare const planSchema: z.ZodObject<{
108
108
  providerPriceId: string;
109
109
  metadata?: Record<string, string> | undefined;
110
110
  }>>;
111
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
111
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
112
112
  providerProductId: string;
113
113
  metadata?: Record<string, string> | undefined;
114
114
  }>;
@@ -136,9 +136,9 @@ export declare const addOnSchema: z.ZodEffects<z.ZodObject<{
136
136
  providerPriceId: string;
137
137
  metadata?: Record<string, string> | undefined;
138
138
  }>>;
139
- 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", "indexed_file_count"]>;
139
+ feature: z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>;
140
140
  increment: z.ZodNumber;
141
- increments: z.ZodOptional<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", "indexed_file_count"]>, z.ZodNumber>>;
141
+ increments: z.ZodOptional<z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodNumber>>;
142
142
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
143
143
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
144
144
  autoRechargeable: z.ZodOptional<z.ZodBoolean>;
@@ -156,10 +156,10 @@ export declare const addOnSchema: z.ZodEffects<z.ZodObject<{
156
156
  metadata?: Record<string, string> | undefined;
157
157
  }>>;
158
158
  providerProductId: string;
159
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
159
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
160
160
  increment: number;
161
161
  metadata?: Record<string, string> | undefined;
162
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
162
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
163
163
  prorationDisabled?: boolean | undefined;
164
164
  autoRechargeable?: boolean | undefined;
165
165
  hidden?: boolean | undefined;
@@ -175,10 +175,10 @@ export declare const addOnSchema: z.ZodEffects<z.ZodObject<{
175
175
  metadata?: Record<string, string> | undefined;
176
176
  }>>;
177
177
  providerProductId: string;
178
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
178
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
179
179
  increment: number;
180
180
  metadata?: Record<string, string> | undefined;
181
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
181
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
182
182
  prorationDisabled?: boolean | undefined;
183
183
  autoRechargeable?: boolean | undefined;
184
184
  hidden?: boolean | undefined;
@@ -194,10 +194,10 @@ export declare const addOnSchema: z.ZodEffects<z.ZodObject<{
194
194
  metadata?: Record<string, string> | undefined;
195
195
  }>>;
196
196
  providerProductId: string;
197
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
197
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
198
198
  increment: number;
199
199
  metadata?: Record<string, string> | undefined;
200
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
200
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
201
201
  prorationDisabled?: boolean | undefined;
202
202
  autoRechargeable?: boolean | undefined;
203
203
  hidden?: boolean | undefined;
@@ -213,10 +213,10 @@ export declare const addOnSchema: z.ZodEffects<z.ZodObject<{
213
213
  metadata?: Record<string, string> | undefined;
214
214
  }>>;
215
215
  providerProductId: string;
216
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
216
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
217
217
  increment: number;
218
218
  metadata?: Record<string, string> | undefined;
219
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
219
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
220
220
  prorationDisabled?: boolean | undefined;
221
221
  autoRechargeable?: boolean | undefined;
222
222
  hidden?: boolean | undefined;
@@ -353,7 +353,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
353
353
  providerPriceId: string;
354
354
  metadata?: Record<string, string> | undefined;
355
355
  }>>;
356
- 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", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
356
+ features: z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
357
357
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
358
358
  providerProductId: z.ZodString;
359
359
  }, "strip", z.ZodTypeAny, {
@@ -368,7 +368,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
368
368
  providerPriceId: string;
369
369
  metadata?: Record<string, string> | undefined;
370
370
  }>>;
371
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
371
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
372
372
  providerProductId: string;
373
373
  metadata?: Record<string, string> | undefined;
374
374
  }, {
@@ -383,7 +383,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
383
383
  providerPriceId: string;
384
384
  metadata?: Record<string, string> | undefined;
385
385
  }>>;
386
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
386
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
387
387
  providerProductId: string;
388
388
  metadata?: Record<string, string> | undefined;
389
389
  }>>;
@@ -410,9 +410,9 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
410
410
  providerPriceId: string;
411
411
  metadata?: Record<string, string> | undefined;
412
412
  }>>;
413
- 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", "indexed_file_count"]>;
413
+ feature: z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>;
414
414
  increment: z.ZodNumber;
415
- increments: z.ZodOptional<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", "indexed_file_count"]>, z.ZodNumber>>;
415
+ increments: z.ZodOptional<z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodNumber>>;
416
416
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
417
417
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
418
418
  autoRechargeable: z.ZodOptional<z.ZodBoolean>;
@@ -430,10 +430,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
430
430
  metadata?: Record<string, string> | undefined;
431
431
  }>>;
432
432
  providerProductId: string;
433
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
433
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
434
434
  increment: number;
435
435
  metadata?: Record<string, string> | undefined;
436
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
436
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
437
437
  prorationDisabled?: boolean | undefined;
438
438
  autoRechargeable?: boolean | undefined;
439
439
  hidden?: boolean | undefined;
@@ -449,10 +449,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
449
449
  metadata?: Record<string, string> | undefined;
450
450
  }>>;
451
451
  providerProductId: string;
452
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
452
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
453
453
  increment: number;
454
454
  metadata?: Record<string, string> | undefined;
455
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
455
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
456
456
  prorationDisabled?: boolean | undefined;
457
457
  autoRechargeable?: boolean | undefined;
458
458
  hidden?: boolean | undefined;
@@ -468,10 +468,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
468
468
  metadata?: Record<string, string> | undefined;
469
469
  }>>;
470
470
  providerProductId: string;
471
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
471
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
472
472
  increment: number;
473
473
  metadata?: Record<string, string> | undefined;
474
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
474
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
475
475
  prorationDisabled?: boolean | undefined;
476
476
  autoRechargeable?: boolean | undefined;
477
477
  hidden?: boolean | undefined;
@@ -487,10 +487,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
487
487
  metadata?: Record<string, string> | undefined;
488
488
  }>>;
489
489
  providerProductId: string;
490
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
490
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
491
491
  increment: number;
492
492
  metadata?: Record<string, string> | undefined;
493
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
493
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
494
494
  prorationDisabled?: boolean | undefined;
495
495
  autoRechargeable?: boolean | undefined;
496
496
  hidden?: boolean | undefined;
@@ -615,7 +615,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
615
615
  providerPriceId: string;
616
616
  metadata?: Record<string, string> | undefined;
617
617
  }>>;
618
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
618
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
619
619
  providerProductId: string;
620
620
  metadata?: Record<string, string> | undefined;
621
621
  }>;
@@ -631,10 +631,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
631
631
  metadata?: Record<string, string> | undefined;
632
632
  }>>;
633
633
  providerProductId: string;
634
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
634
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
635
635
  increment: number;
636
636
  metadata?: Record<string, string> | undefined;
637
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
637
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
638
638
  prorationDisabled?: boolean | undefined;
639
639
  autoRechargeable?: boolean | undefined;
640
640
  hidden?: boolean | undefined;
@@ -683,7 +683,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
683
683
  providerPriceId: string;
684
684
  metadata?: Record<string, string> | undefined;
685
685
  }>>;
686
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
686
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
687
687
  providerProductId: string;
688
688
  metadata?: Record<string, string> | undefined;
689
689
  }>;
@@ -699,10 +699,10 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
699
699
  metadata?: Record<string, string> | undefined;
700
700
  }>>;
701
701
  providerProductId: string;
702
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
702
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
703
703
  increment: number;
704
704
  metadata?: Record<string, string> | undefined;
705
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
705
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
706
706
  prorationDisabled?: boolean | undefined;
707
707
  autoRechargeable?: boolean | undefined;
708
708
  hidden?: boolean | undefined;
@@ -765,7 +765,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
765
765
  providerPriceId: string;
766
766
  metadata?: Record<string, string> | undefined;
767
767
  }>>;
768
- 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", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
768
+ features: z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
769
769
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
770
770
  providerProductId: z.ZodString;
771
771
  }, "strip", z.ZodTypeAny, {
@@ -780,7 +780,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
780
780
  providerPriceId: string;
781
781
  metadata?: Record<string, string> | undefined;
782
782
  }>>;
783
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
783
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
784
784
  providerProductId: string;
785
785
  metadata?: Record<string, string> | undefined;
786
786
  }, {
@@ -795,7 +795,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
795
795
  providerPriceId: string;
796
796
  metadata?: Record<string, string> | undefined;
797
797
  }>>;
798
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
798
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
799
799
  providerProductId: string;
800
800
  metadata?: Record<string, string> | undefined;
801
801
  }>>;
@@ -822,9 +822,9 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
822
822
  providerPriceId: string;
823
823
  metadata?: Record<string, string> | undefined;
824
824
  }>>;
825
- 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", "indexed_file_count"]>;
825
+ feature: z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>;
826
826
  increment: z.ZodNumber;
827
- increments: z.ZodOptional<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", "indexed_file_count"]>, z.ZodNumber>>;
827
+ increments: z.ZodOptional<z.ZodRecord<z.ZodEnum<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions", "indexed_file_count"]>, z.ZodNumber>>;
828
828
  prorationDisabled: z.ZodOptional<z.ZodBoolean>;
829
829
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
830
830
  autoRechargeable: z.ZodOptional<z.ZodBoolean>;
@@ -842,10 +842,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
842
842
  metadata?: Record<string, string> | undefined;
843
843
  }>>;
844
844
  providerProductId: string;
845
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
845
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
846
846
  increment: number;
847
847
  metadata?: Record<string, string> | undefined;
848
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
848
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
849
849
  prorationDisabled?: boolean | undefined;
850
850
  autoRechargeable?: boolean | undefined;
851
851
  hidden?: boolean | undefined;
@@ -861,10 +861,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
861
861
  metadata?: Record<string, string> | undefined;
862
862
  }>>;
863
863
  providerProductId: string;
864
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
864
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
865
865
  increment: number;
866
866
  metadata?: Record<string, string> | undefined;
867
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
867
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
868
868
  prorationDisabled?: boolean | undefined;
869
869
  autoRechargeable?: boolean | undefined;
870
870
  hidden?: boolean | undefined;
@@ -880,10 +880,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
880
880
  metadata?: Record<string, string> | undefined;
881
881
  }>>;
882
882
  providerProductId: string;
883
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
883
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
884
884
  increment: number;
885
885
  metadata?: Record<string, string> | undefined;
886
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
886
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
887
887
  prorationDisabled?: boolean | undefined;
888
888
  autoRechargeable?: boolean | undefined;
889
889
  hidden?: boolean | undefined;
@@ -899,10 +899,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
899
899
  metadata?: Record<string, string> | undefined;
900
900
  }>>;
901
901
  providerProductId: string;
902
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
902
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
903
903
  increment: number;
904
904
  metadata?: Record<string, string> | undefined;
905
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
905
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
906
906
  prorationDisabled?: boolean | undefined;
907
907
  autoRechargeable?: boolean | undefined;
908
908
  hidden?: boolean | undefined;
@@ -1027,7 +1027,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1027
1027
  providerPriceId: string;
1028
1028
  metadata?: Record<string, string> | undefined;
1029
1029
  }>>;
1030
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
1030
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
1031
1031
  providerProductId: string;
1032
1032
  metadata?: Record<string, string> | undefined;
1033
1033
  }>;
@@ -1043,10 +1043,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1043
1043
  metadata?: Record<string, string> | undefined;
1044
1044
  }>>;
1045
1045
  providerProductId: string;
1046
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
1046
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
1047
1047
  increment: number;
1048
1048
  metadata?: Record<string, string> | undefined;
1049
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
1049
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
1050
1050
  prorationDisabled?: boolean | undefined;
1051
1051
  autoRechargeable?: boolean | undefined;
1052
1052
  hidden?: boolean | undefined;
@@ -1095,7 +1095,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1095
1095
  providerPriceId: string;
1096
1096
  metadata?: Record<string, string> | undefined;
1097
1097
  }>>;
1098
- features: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
1098
+ features: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number | boolean>>;
1099
1099
  providerProductId: string;
1100
1100
  metadata?: Record<string, string> | undefined;
1101
1101
  }>;
@@ -1111,10 +1111,10 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1111
1111
  metadata?: Record<string, string> | undefined;
1112
1112
  }>>;
1113
1113
  providerProductId: string;
1114
- feature: "ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
1114
+ feature: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
1115
1115
  increment: number;
1116
1116
  metadata?: Record<string, string> | undefined;
1117
- increments?: Partial<Record<"ratelimit" | "bot_count" | "indexed_file_count" | "human_in_the_loop" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
1117
+ increments?: Partial<Record<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions", number>> | undefined;
1118
1118
  prorationDisabled?: boolean | undefined;
1119
1119
  autoRechargeable?: boolean | undefined;
1120
1120
  hidden?: boolean | undefined;
@@ -19,15 +19,10 @@ export declare const billingConfig: {
19
19
  };
20
20
  };
21
21
  readonly features: {
22
- readonly human_in_the_loop: false;
23
- readonly ratelimit: 100;
24
22
  readonly incoming_messages_events: 500;
25
23
  readonly integration_spend: 0;
26
- readonly integration_subscription: false;
27
24
  readonly table_rows: 1000;
28
25
  readonly bot_count: 1;
29
- readonly always_alive_count: 0;
30
- readonly always_alive_concurrency: 1;
31
26
  readonly collaborator_count: 1;
32
27
  readonly file_storage: 100000000;
33
28
  readonly vector_db_storage: 100000000;
@@ -56,15 +51,10 @@ export declare const billingConfig: {
56
51
  };
57
52
  };
58
53
  readonly features: {
59
- readonly human_in_the_loop: true;
60
- readonly ratelimit: 100;
61
54
  readonly incoming_messages_events: 5000;
62
55
  readonly integration_spend: 5000000000;
63
- readonly integration_subscription: true;
64
56
  readonly table_rows: 100000;
65
57
  readonly bot_count: 2;
66
- readonly always_alive_count: 1;
67
- readonly always_alive_concurrency: 1;
68
58
  readonly collaborator_count: 2;
69
59
  readonly file_storage: 10000000000;
70
60
  readonly vector_db_storage: 1000000000;
@@ -93,15 +83,10 @@ export declare const billingConfig: {
93
83
  };
94
84
  };
95
85
  readonly features: {
96
- readonly human_in_the_loop: true;
97
- readonly ratelimit: 1000;
98
86
  readonly incoming_messages_events: 50000;
99
87
  readonly integration_spend: 5000000000;
100
- readonly integration_subscription: true;
101
88
  readonly table_rows: 100000;
102
89
  readonly bot_count: 3;
103
- readonly always_alive_count: 3;
104
- readonly always_alive_concurrency: 3;
105
90
  readonly collaborator_count: 3;
106
91
  readonly file_storage: 10000000000;
107
92
  readonly vector_db_storage: 2000000000;
@@ -124,15 +109,10 @@ export declare const billingConfig: {
124
109
  };
125
110
  };
126
111
  readonly features: {
127
- human_in_the_loop: boolean;
128
- ratelimit: number;
129
112
  incoming_messages_events: number;
130
113
  integration_spend: number;
131
- integration_subscription: boolean;
132
114
  table_rows: number;
133
115
  bot_count: number;
134
- always_alive_count: number;
135
- always_alive_concurrency: number;
136
116
  collaborator_count: number;
137
117
  file_storage: number;
138
118
  vector_db_storage: number;
@@ -155,15 +135,10 @@ export declare const billingConfig: {
155
135
  };
156
136
  };
157
137
  readonly features: {
158
- human_in_the_loop: boolean;
159
- ratelimit: number;
160
138
  incoming_messages_events: number;
161
139
  integration_spend: number;
162
- integration_subscription: boolean;
163
140
  table_rows: number;
164
141
  bot_count: number;
165
- always_alive_count: number;
166
- always_alive_concurrency: number;
167
142
  collaborator_count: number;
168
143
  file_storage: number;
169
144
  vector_db_storage: number;
@@ -206,26 +181,11 @@ export declare const billingConfig: {
206
181
  readonly increment: 1;
207
182
  readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
208
183
  };
209
- readonly always_alive_addon: {
210
- readonly id: "always_alive_addon";
211
- readonly name: "Add-on - Always Alive";
212
- readonly description: "Keep one more bot always alive";
213
- readonly prices: {
214
- readonly month: {
215
- readonly amount: 10;
216
- readonly currency: "usd";
217
- readonly interval: "month";
218
- readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
219
- };
220
- };
221
- readonly feature: "always_alive_count";
222
- readonly increment: 1;
223
- readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
224
- };
225
184
  readonly messages_events_addon: {
226
185
  readonly id: "messages_events_addon";
227
186
  readonly name: "Add-on - Messages & Events";
228
187
  readonly description: "Adds 5,000 messages and events";
188
+ readonly prorationDisabled: true;
229
189
  readonly prices: {
230
190
  readonly month: {
231
191
  readonly amount: 20;
@@ -435,15 +395,10 @@ export declare const billingDefinitions: {
435
395
  };
436
396
  };
437
397
  readonly features: {
438
- readonly human_in_the_loop: false;
439
- readonly ratelimit: 100;
440
398
  readonly incoming_messages_events: 500;
441
399
  readonly integration_spend: 0;
442
- readonly integration_subscription: false;
443
400
  readonly table_rows: 1000;
444
401
  readonly bot_count: 1;
445
- readonly always_alive_count: 0;
446
- readonly always_alive_concurrency: 1;
447
402
  readonly collaborator_count: 1;
448
403
  readonly file_storage: 100000000;
449
404
  readonly vector_db_storage: 100000000;
@@ -472,15 +427,10 @@ export declare const billingDefinitions: {
472
427
  };
473
428
  };
474
429
  readonly features: {
475
- readonly human_in_the_loop: true;
476
- readonly ratelimit: 100;
477
430
  readonly incoming_messages_events: 5000;
478
431
  readonly integration_spend: 5000000000;
479
- readonly integration_subscription: true;
480
432
  readonly table_rows: 100000;
481
433
  readonly bot_count: 2;
482
- readonly always_alive_count: 1;
483
- readonly always_alive_concurrency: 1;
484
434
  readonly collaborator_count: 2;
485
435
  readonly file_storage: 10000000000;
486
436
  readonly vector_db_storage: 1000000000;
@@ -509,15 +459,10 @@ export declare const billingDefinitions: {
509
459
  };
510
460
  };
511
461
  readonly features: {
512
- readonly human_in_the_loop: true;
513
- readonly ratelimit: 1000;
514
462
  readonly incoming_messages_events: 50000;
515
463
  readonly integration_spend: 5000000000;
516
- readonly integration_subscription: true;
517
464
  readonly table_rows: 100000;
518
465
  readonly bot_count: 3;
519
- readonly always_alive_count: 3;
520
- readonly always_alive_concurrency: 3;
521
466
  readonly collaborator_count: 3;
522
467
  readonly file_storage: 10000000000;
523
468
  readonly vector_db_storage: 2000000000;
@@ -540,15 +485,10 @@ export declare const billingDefinitions: {
540
485
  };
541
486
  };
542
487
  readonly features: {
543
- human_in_the_loop: boolean;
544
- ratelimit: number;
545
488
  incoming_messages_events: number;
546
489
  integration_spend: number;
547
- integration_subscription: boolean;
548
490
  table_rows: number;
549
491
  bot_count: number;
550
- always_alive_count: number;
551
- always_alive_concurrency: number;
552
492
  collaborator_count: number;
553
493
  file_storage: number;
554
494
  vector_db_storage: number;
@@ -571,15 +511,10 @@ export declare const billingDefinitions: {
571
511
  };
572
512
  };
573
513
  readonly features: {
574
- human_in_the_loop: boolean;
575
- ratelimit: number;
576
514
  incoming_messages_events: number;
577
515
  integration_spend: number;
578
- integration_subscription: boolean;
579
516
  table_rows: number;
580
517
  bot_count: number;
581
- always_alive_count: number;
582
- always_alive_concurrency: number;
583
518
  collaborator_count: number;
584
519
  file_storage: number;
585
520
  vector_db_storage: number;
@@ -622,26 +557,11 @@ export declare const billingDefinitions: {
622
557
  readonly increment: 1;
623
558
  readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
624
559
  };
625
- readonly always_alive_addon: {
626
- readonly id: "always_alive_addon";
627
- readonly name: "Add-on - Always Alive";
628
- readonly description: "Keep one more bot always alive";
629
- readonly prices: {
630
- readonly month: {
631
- readonly amount: 10;
632
- readonly currency: "usd";
633
- readonly interval: "month";
634
- readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
635
- };
636
- };
637
- readonly feature: "always_alive_count";
638
- readonly increment: 1;
639
- readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
640
- };
641
560
  readonly messages_events_addon: {
642
561
  readonly id: "messages_events_addon";
643
562
  readonly name: "Add-on - Messages & Events";
644
563
  readonly description: "Adds 5,000 messages and events";
564
+ readonly prorationDisabled: true;
645
565
  readonly prices: {
646
566
  readonly month: {
647
567
  readonly amount: 20;
@@ -1,17 +1,5 @@
1
1
  import { FilterTuple, MapTuple } from './type-utils';
2
2
  export declare const billingFeatureDefinitions: [{
3
- readonly id: "human_in_the_loop";
4
- readonly name: "Human in the Loop";
5
- readonly description: "Ability to enable human intervention in bot conversations";
6
- readonly resetPeriod: undefined;
7
- readonly consistency: undefined;
8
- }, {
9
- readonly id: "ratelimit";
10
- readonly name: "Rate Limit";
11
- readonly description: "API rate limiting configuration";
12
- readonly resetPeriod: undefined;
13
- readonly consistency: undefined;
14
- }, {
15
3
  readonly id: "incoming_messages_events";
16
4
  readonly name: "Incoming Messages/Events";
17
5
  readonly description: "Number of incoming messages and events processed per month";
@@ -34,12 +22,6 @@ export declare const billingFeatureDefinitions: [{
34
22
  readonly integrationVersionId: "Integration version ID";
35
23
  readonly actionName: "Action name";
36
24
  };
37
- }, {
38
- readonly id: "integration_subscription";
39
- readonly name: "Integration Subscription";
40
- readonly description: "Monthly subscription to premium integrations";
41
- readonly resetPeriod: "never";
42
- readonly consistency: "atomic";
43
25
  }, {
44
26
  readonly id: "table_rows";
45
27
  readonly name: "Table Rows";
@@ -52,18 +34,6 @@ export declare const billingFeatureDefinitions: [{
52
34
  readonly description: "Number of bots that can be created";
53
35
  readonly resetPeriod: "never";
54
36
  readonly consistency: "atomic";
55
- }, {
56
- readonly id: "always_alive_count";
57
- readonly name: "Always Alive Count";
58
- readonly description: "Number of bots that can be kept always alive";
59
- readonly resetPeriod: "never";
60
- readonly consistency: "atomic";
61
- }, {
62
- readonly id: "always_alive_concurrency";
63
- readonly name: "Always Alive Concurrency";
64
- readonly description: "Number of concurrent instances for always alive bots";
65
- readonly resetPeriod: "never";
66
- readonly consistency: "atomic";
67
37
  }, {
68
38
  readonly id: "collaborator_count";
69
39
  readonly name: "Collaborator Count";
@@ -2,20 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  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 = exports.billingFeatureDefinitions = void 0;
4
4
  exports.billingFeatureDefinitions = [
5
- {
6
- id: 'human_in_the_loop',
7
- name: 'Human in the Loop',
8
- description: 'Ability to enable human intervention in bot conversations',
9
- resetPeriod: undefined,
10
- consistency: undefined,
11
- },
12
- {
13
- id: 'ratelimit',
14
- name: 'Rate Limit',
15
- description: 'API rate limiting configuration',
16
- resetPeriod: undefined,
17
- consistency: undefined,
18
- },
19
5
  {
20
6
  id: 'incoming_messages_events',
21
7
  name: 'Incoming Messages/Events',
@@ -41,13 +27,6 @@ exports.billingFeatureDefinitions = [
41
27
  actionName: 'Action name',
42
28
  },
43
29
  },
44
- {
45
- id: 'integration_subscription',
46
- name: 'Integration Subscription',
47
- description: 'Monthly subscription to premium integrations',
48
- resetPeriod: 'never',
49
- consistency: 'atomic',
50
- },
51
30
  {
52
31
  id: 'table_rows',
53
32
  name: 'Table Rows',
@@ -62,20 +41,6 @@ exports.billingFeatureDefinitions = [
62
41
  resetPeriod: 'never',
63
42
  consistency: 'atomic',
64
43
  },
65
- {
66
- id: 'always_alive_count',
67
- name: 'Always Alive Count',
68
- description: 'Number of bots that can be kept always alive',
69
- resetPeriod: 'never',
70
- consistency: 'atomic',
71
- },
72
- {
73
- id: 'always_alive_concurrency',
74
- name: 'Always Alive Concurrency',
75
- description: 'Number of concurrent instances for always alive bots',
76
- resetPeriod: 'never',
77
- consistency: 'atomic',
78
- },
79
44
  {
80
45
  id: 'collaborator_count',
81
46
  name: 'Collaborator Count',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "files": [