@bpinternal/const 0.14.1 → 0.16.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.
- package/dist/billing-next/config/addons.d.ts +17 -0
- package/dist/billing-next/config/addons.js +17 -0
- package/dist/billing-next/config/plans.d.ts +6 -1
- package/dist/billing-next/config/plans.js +9 -5
- package/dist/billing-next/config/schemas.d.ts +62 -62
- package/dist/billing-next/config/versions.d.ts +46 -2
- package/dist/billing-next/features.d.ts +6 -0
- package/dist/billing-next/features.js +7 -0
- package/dist/prefixes.d.ts +18 -0
- package/dist/prefixes.js +18 -0
- package/package.json +2 -2
|
@@ -163,4 +163,21 @@ export declare const addons: {
|
|
|
163
163
|
readonly hidden: true;
|
|
164
164
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
165
165
|
};
|
|
166
|
+
readonly conversation_sessions_addon: {
|
|
167
|
+
readonly id: "conversation_sessions_addon";
|
|
168
|
+
readonly name: "Add-on - Conversation Sessions";
|
|
169
|
+
readonly description: "Adds 500 conversations sessions per month";
|
|
170
|
+
readonly prices: {
|
|
171
|
+
readonly month: {
|
|
172
|
+
readonly amount: 20;
|
|
173
|
+
readonly currency: "usd";
|
|
174
|
+
readonly interval: "month";
|
|
175
|
+
readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readonly feature: "conversation_sessions";
|
|
179
|
+
readonly increment: 500;
|
|
180
|
+
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
181
|
+
readonly autoRechargeable: true;
|
|
182
|
+
};
|
|
166
183
|
};
|
|
@@ -168,4 +168,21 @@ exports.addons = {
|
|
|
168
168
|
hidden: true,
|
|
169
169
|
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
170
170
|
},
|
|
171
|
+
conversation_sessions_addon: {
|
|
172
|
+
id: 'conversation_sessions_addon',
|
|
173
|
+
name: 'Add-on - Conversation Sessions',
|
|
174
|
+
description: 'Adds 500 conversations sessions per month',
|
|
175
|
+
prices: {
|
|
176
|
+
month: {
|
|
177
|
+
amount: 20,
|
|
178
|
+
currency: 'usd',
|
|
179
|
+
interval: 'month',
|
|
180
|
+
providerPriceId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
feature: 'conversation_sessions',
|
|
184
|
+
increment: 500, // not sure about this number
|
|
185
|
+
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
186
|
+
autoRechargeable: true,
|
|
187
|
+
},
|
|
171
188
|
};
|
|
@@ -15,7 +15,7 @@ export declare const plans: {
|
|
|
15
15
|
};
|
|
16
16
|
readonly features: {
|
|
17
17
|
readonly incoming_messages_events: 500;
|
|
18
|
-
readonly integration_spend:
|
|
18
|
+
readonly integration_spend: 5000000000;
|
|
19
19
|
readonly table_rows: 1000;
|
|
20
20
|
readonly bot_count: 1;
|
|
21
21
|
readonly collaborator_count: 1;
|
|
@@ -23,6 +23,7 @@ export declare const plans: {
|
|
|
23
23
|
readonly vector_db_storage: 100000000;
|
|
24
24
|
readonly saved_versions: 3;
|
|
25
25
|
readonly indexed_file_count: 1000;
|
|
26
|
+
readonly conversation_sessions: 100;
|
|
26
27
|
};
|
|
27
28
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
28
29
|
};
|
|
@@ -55,6 +56,7 @@ export declare const plans: {
|
|
|
55
56
|
readonly vector_db_storage: 1000000000;
|
|
56
57
|
readonly saved_versions: 50;
|
|
57
58
|
readonly indexed_file_count: 2000;
|
|
59
|
+
readonly conversation_sessions: 250;
|
|
58
60
|
};
|
|
59
61
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
60
62
|
};
|
|
@@ -87,6 +89,7 @@ export declare const plans: {
|
|
|
87
89
|
readonly vector_db_storage: 2000000000;
|
|
88
90
|
readonly saved_versions: 100;
|
|
89
91
|
readonly indexed_file_count: 10000;
|
|
92
|
+
readonly conversation_sessions: 1000;
|
|
90
93
|
};
|
|
91
94
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
92
95
|
};
|
|
@@ -113,6 +116,7 @@ export declare const plans: {
|
|
|
113
116
|
vector_db_storage: number;
|
|
114
117
|
saved_versions: number;
|
|
115
118
|
indexed_file_count: number;
|
|
119
|
+
conversation_sessions: number;
|
|
116
120
|
};
|
|
117
121
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
118
122
|
};
|
|
@@ -139,6 +143,7 @@ export declare const plans: {
|
|
|
139
143
|
vector_db_storage: number;
|
|
140
144
|
saved_versions: number;
|
|
141
145
|
indexed_file_count: number;
|
|
146
|
+
conversation_sessions: number;
|
|
142
147
|
};
|
|
143
148
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
144
149
|
};
|
|
@@ -4,7 +4,7 @@ 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
|
-
incoming_messages_events:
|
|
7
|
+
incoming_messages_events: 1_000_000,
|
|
8
8
|
integration_spend: 5_000_000_000, // $5 in nano-dollars
|
|
9
9
|
table_rows: 10000000,
|
|
10
10
|
bot_count: 100,
|
|
@@ -13,6 +13,7 @@ const ENTERPRISE_PLAN_FEATURES = {
|
|
|
13
13
|
vector_db_storage: 500_000_000_000, // 500 GB
|
|
14
14
|
saved_versions: 1000,
|
|
15
15
|
indexed_file_count: 10_000,
|
|
16
|
+
conversation_sessions: 10_000,
|
|
16
17
|
};
|
|
17
18
|
/* IMPORTANT: the `name` field is used to match existing products in Stripe DO NOT CHANGE THE NAME OF AN EXISTING PRODUCT */
|
|
18
19
|
exports.plans = {
|
|
@@ -31,7 +32,7 @@ exports.plans = {
|
|
|
31
32
|
},
|
|
32
33
|
features: {
|
|
33
34
|
incoming_messages_events: 500,
|
|
34
|
-
integration_spend:
|
|
35
|
+
integration_spend: 5_000_000_000,
|
|
35
36
|
table_rows: 1000,
|
|
36
37
|
bot_count: 1,
|
|
37
38
|
collaborator_count: 1,
|
|
@@ -39,6 +40,7 @@ exports.plans = {
|
|
|
39
40
|
vector_db_storage: 100_000_000, // 100 MB
|
|
40
41
|
saved_versions: 3,
|
|
41
42
|
indexed_file_count: 1_000,
|
|
43
|
+
conversation_sessions: 100,
|
|
42
44
|
},
|
|
43
45
|
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
44
46
|
},
|
|
@@ -62,15 +64,16 @@ exports.plans = {
|
|
|
62
64
|
},
|
|
63
65
|
},
|
|
64
66
|
features: {
|
|
65
|
-
incoming_messages_events:
|
|
67
|
+
incoming_messages_events: 5_000,
|
|
66
68
|
integration_spend: 5_000_000_000, // $5 in nano-dollars
|
|
67
|
-
table_rows:
|
|
69
|
+
table_rows: 100_000,
|
|
68
70
|
bot_count: 2,
|
|
69
71
|
collaborator_count: 2,
|
|
70
72
|
file_storage: 10_000_000_000, // 10 GB
|
|
71
73
|
vector_db_storage: 1_000_000_000, // 1 GB
|
|
72
74
|
saved_versions: 50,
|
|
73
75
|
indexed_file_count: 2_000,
|
|
76
|
+
conversation_sessions: 250,
|
|
74
77
|
},
|
|
75
78
|
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
76
79
|
},
|
|
@@ -94,7 +97,7 @@ exports.plans = {
|
|
|
94
97
|
},
|
|
95
98
|
},
|
|
96
99
|
features: {
|
|
97
|
-
incoming_messages_events:
|
|
100
|
+
incoming_messages_events: 50_000,
|
|
98
101
|
integration_spend: 5_000_000_000, // $5 in nano-dollars
|
|
99
102
|
table_rows: 100000,
|
|
100
103
|
bot_count: 3,
|
|
@@ -103,6 +106,7 @@ exports.plans = {
|
|
|
103
106
|
vector_db_storage: 2_000_000_000, // 2 GB
|
|
104
107
|
saved_versions: 100,
|
|
105
108
|
indexed_file_count: 10_000,
|
|
109
|
+
conversation_sessions: 1_000,
|
|
106
110
|
},
|
|
107
111
|
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
108
112
|
},
|
|
@@ -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<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "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", "conversation_sessions"]>;
|
|
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<["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]>>;
|
|
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", "conversation_sessions"]>, 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "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", "conversation_sessions"]>;
|
|
140
140
|
increment: 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>>;
|
|
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", "conversation_sessions"]>, 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
160
160
|
increment: number;
|
|
161
161
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
179
179
|
increment: number;
|
|
180
180
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
198
198
|
increment: number;
|
|
199
199
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
217
217
|
increment: number;
|
|
218
218
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
220
220
|
prorationDisabled?: boolean | undefined;
|
|
221
221
|
autoRechargeable?: boolean | undefined;
|
|
222
222
|
hidden?: boolean | undefined;
|
|
@@ -285,7 +285,7 @@ export declare const meterSchema: z.ZodObject<{
|
|
|
285
285
|
metadata?: Record<string, string> | undefined;
|
|
286
286
|
}>>;
|
|
287
287
|
providerProductId: string;
|
|
288
|
-
meterType: "
|
|
288
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
289
289
|
providerMeterId: string;
|
|
290
290
|
metadata?: Record<string, string> | undefined;
|
|
291
291
|
defaultAggregation?: {
|
|
@@ -310,7 +310,7 @@ export declare const meterSchema: z.ZodObject<{
|
|
|
310
310
|
metadata?: Record<string, string> | undefined;
|
|
311
311
|
}>>;
|
|
312
312
|
providerProductId: string;
|
|
313
|
-
meterType: "
|
|
313
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
314
314
|
providerMeterId: string;
|
|
315
315
|
metadata?: Record<string, string> | undefined;
|
|
316
316
|
defaultAggregation?: {
|
|
@@ -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<["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]>>;
|
|
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", "conversation_sessions"]>, 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "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", "conversation_sessions"]>;
|
|
414
414
|
increment: 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>>;
|
|
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", "conversation_sessions"]>, 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
434
434
|
increment: number;
|
|
435
435
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
453
453
|
increment: number;
|
|
454
454
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
472
472
|
increment: number;
|
|
473
473
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
491
491
|
increment: number;
|
|
492
492
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
494
494
|
prorationDisabled?: boolean | undefined;
|
|
495
495
|
autoRechargeable?: boolean | undefined;
|
|
496
496
|
hidden?: boolean | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
558
558
|
metadata?: Record<string, string> | undefined;
|
|
559
559
|
}>>;
|
|
560
560
|
providerProductId: string;
|
|
561
|
-
meterType: "
|
|
561
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
562
562
|
providerMeterId: string;
|
|
563
563
|
metadata?: Record<string, string> | undefined;
|
|
564
564
|
defaultAggregation?: {
|
|
@@ -583,7 +583,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
583
583
|
metadata?: Record<string, string> | undefined;
|
|
584
584
|
}>>;
|
|
585
585
|
providerProductId: string;
|
|
586
|
-
meterType: "
|
|
586
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
587
587
|
providerMeterId: string;
|
|
588
588
|
metadata?: Record<string, string> | undefined;
|
|
589
589
|
defaultAggregation?: {
|
|
@@ -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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
635
635
|
increment: number;
|
|
636
636
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
638
638
|
prorationDisabled?: boolean | undefined;
|
|
639
639
|
autoRechargeable?: boolean | undefined;
|
|
640
640
|
hidden?: boolean | undefined;
|
|
@@ -651,7 +651,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
651
651
|
metadata?: Record<string, string> | undefined;
|
|
652
652
|
}>>;
|
|
653
653
|
providerProductId: string;
|
|
654
|
-
meterType: "
|
|
654
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
655
655
|
providerMeterId: string;
|
|
656
656
|
metadata?: Record<string, string> | undefined;
|
|
657
657
|
defaultAggregation?: {
|
|
@@ -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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
703
703
|
increment: number;
|
|
704
704
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
706
706
|
prorationDisabled?: boolean | undefined;
|
|
707
707
|
autoRechargeable?: boolean | undefined;
|
|
708
708
|
hidden?: boolean | undefined;
|
|
@@ -719,7 +719,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
719
719
|
metadata?: Record<string, string> | undefined;
|
|
720
720
|
}>>;
|
|
721
721
|
providerProductId: string;
|
|
722
|
-
meterType: "
|
|
722
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
723
723
|
providerMeterId: string;
|
|
724
724
|
metadata?: Record<string, string> | undefined;
|
|
725
725
|
defaultAggregation?: {
|
|
@@ -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<["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]>>;
|
|
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", "conversation_sessions"]>, 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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<["incoming_messages_events", "integration_spend", "table_rows", "bot_count", "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", "conversation_sessions"]>;
|
|
826
826
|
increment: 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>>;
|
|
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", "conversation_sessions"]>, 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
846
846
|
increment: number;
|
|
847
847
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
865
865
|
increment: number;
|
|
866
866
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
884
884
|
increment: number;
|
|
885
885
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
903
903
|
increment: number;
|
|
904
904
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
906
906
|
prorationDisabled?: boolean | undefined;
|
|
907
907
|
autoRechargeable?: boolean | undefined;
|
|
908
908
|
hidden?: boolean | undefined;
|
|
@@ -970,7 +970,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
970
970
|
metadata?: Record<string, string> | undefined;
|
|
971
971
|
}>>;
|
|
972
972
|
providerProductId: string;
|
|
973
|
-
meterType: "
|
|
973
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
974
974
|
providerMeterId: string;
|
|
975
975
|
metadata?: Record<string, string> | undefined;
|
|
976
976
|
defaultAggregation?: {
|
|
@@ -995,7 +995,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
995
995
|
metadata?: Record<string, string> | undefined;
|
|
996
996
|
}>>;
|
|
997
997
|
providerProductId: string;
|
|
998
|
-
meterType: "
|
|
998
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
999
999
|
providerMeterId: string;
|
|
1000
1000
|
metadata?: Record<string, string> | undefined;
|
|
1001
1001
|
defaultAggregation?: {
|
|
@@ -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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
1047
1047
|
increment: number;
|
|
1048
1048
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
1050
1050
|
prorationDisabled?: boolean | undefined;
|
|
1051
1051
|
autoRechargeable?: boolean | undefined;
|
|
1052
1052
|
hidden?: boolean | undefined;
|
|
@@ -1063,7 +1063,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1063
1063
|
metadata?: Record<string, string> | undefined;
|
|
1064
1064
|
}>>;
|
|
1065
1065
|
providerProductId: string;
|
|
1066
|
-
meterType: "
|
|
1066
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
1067
1067
|
providerMeterId: string;
|
|
1068
1068
|
metadata?: Record<string, string> | undefined;
|
|
1069
1069
|
defaultAggregation?: {
|
|
@@ -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<"bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions", 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: "bot_count" | "indexed_file_count" | "incoming_messages_events" | "integration_spend" | "table_rows" | "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" | "conversation_sessions";
|
|
1115
1115
|
increment: number;
|
|
1116
1116
|
metadata?: Record<string, string> | 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;
|
|
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" | "conversation_sessions", number>> | undefined;
|
|
1118
1118
|
prorationDisabled?: boolean | undefined;
|
|
1119
1119
|
autoRechargeable?: boolean | undefined;
|
|
1120
1120
|
hidden?: boolean | undefined;
|
|
@@ -1131,7 +1131,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1131
1131
|
metadata?: Record<string, string> | undefined;
|
|
1132
1132
|
}>>;
|
|
1133
1133
|
providerProductId: string;
|
|
1134
|
-
meterType: "
|
|
1134
|
+
meterType: "creditGrant" | "payAsYouGo";
|
|
1135
1135
|
providerMeterId: string;
|
|
1136
1136
|
metadata?: Record<string, string> | undefined;
|
|
1137
1137
|
defaultAggregation?: {
|
|
@@ -20,7 +20,7 @@ export declare const billingConfig: {
|
|
|
20
20
|
};
|
|
21
21
|
readonly features: {
|
|
22
22
|
readonly incoming_messages_events: 500;
|
|
23
|
-
readonly integration_spend:
|
|
23
|
+
readonly integration_spend: 5000000000;
|
|
24
24
|
readonly table_rows: 1000;
|
|
25
25
|
readonly bot_count: 1;
|
|
26
26
|
readonly collaborator_count: 1;
|
|
@@ -28,6 +28,7 @@ export declare const billingConfig: {
|
|
|
28
28
|
readonly vector_db_storage: 100000000;
|
|
29
29
|
readonly saved_versions: 3;
|
|
30
30
|
readonly indexed_file_count: 1000;
|
|
31
|
+
readonly conversation_sessions: 100;
|
|
31
32
|
};
|
|
32
33
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
33
34
|
};
|
|
@@ -60,6 +61,7 @@ export declare const billingConfig: {
|
|
|
60
61
|
readonly vector_db_storage: 1000000000;
|
|
61
62
|
readonly saved_versions: 50;
|
|
62
63
|
readonly indexed_file_count: 2000;
|
|
64
|
+
readonly conversation_sessions: 250;
|
|
63
65
|
};
|
|
64
66
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
65
67
|
};
|
|
@@ -92,6 +94,7 @@ export declare const billingConfig: {
|
|
|
92
94
|
readonly vector_db_storage: 2000000000;
|
|
93
95
|
readonly saved_versions: 100;
|
|
94
96
|
readonly indexed_file_count: 10000;
|
|
97
|
+
readonly conversation_sessions: 1000;
|
|
95
98
|
};
|
|
96
99
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
97
100
|
};
|
|
@@ -118,6 +121,7 @@ export declare const billingConfig: {
|
|
|
118
121
|
vector_db_storage: number;
|
|
119
122
|
saved_versions: number;
|
|
120
123
|
indexed_file_count: number;
|
|
124
|
+
conversation_sessions: number;
|
|
121
125
|
};
|
|
122
126
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
123
127
|
};
|
|
@@ -144,6 +148,7 @@ export declare const billingConfig: {
|
|
|
144
148
|
vector_db_storage: number;
|
|
145
149
|
saved_versions: number;
|
|
146
150
|
indexed_file_count: number;
|
|
151
|
+
conversation_sessions: number;
|
|
147
152
|
};
|
|
148
153
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
149
154
|
};
|
|
@@ -312,6 +317,23 @@ export declare const billingConfig: {
|
|
|
312
317
|
readonly hidden: true;
|
|
313
318
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
314
319
|
};
|
|
320
|
+
readonly conversation_sessions_addon: {
|
|
321
|
+
readonly id: "conversation_sessions_addon";
|
|
322
|
+
readonly name: "Add-on - Conversation Sessions";
|
|
323
|
+
readonly description: "Adds 500 conversations sessions per month";
|
|
324
|
+
readonly prices: {
|
|
325
|
+
readonly month: {
|
|
326
|
+
readonly amount: 20;
|
|
327
|
+
readonly currency: "usd";
|
|
328
|
+
readonly interval: "month";
|
|
329
|
+
readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
readonly feature: "conversation_sessions";
|
|
333
|
+
readonly increment: 500;
|
|
334
|
+
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
335
|
+
readonly autoRechargeable: true;
|
|
336
|
+
};
|
|
315
337
|
};
|
|
316
338
|
readonly meters: {
|
|
317
339
|
readonly ai_spend_credit_grant: {
|
|
@@ -396,7 +418,7 @@ export declare const billingDefinitions: {
|
|
|
396
418
|
};
|
|
397
419
|
readonly features: {
|
|
398
420
|
readonly incoming_messages_events: 500;
|
|
399
|
-
readonly integration_spend:
|
|
421
|
+
readonly integration_spend: 5000000000;
|
|
400
422
|
readonly table_rows: 1000;
|
|
401
423
|
readonly bot_count: 1;
|
|
402
424
|
readonly collaborator_count: 1;
|
|
@@ -404,6 +426,7 @@ export declare const billingDefinitions: {
|
|
|
404
426
|
readonly vector_db_storage: 100000000;
|
|
405
427
|
readonly saved_versions: 3;
|
|
406
428
|
readonly indexed_file_count: 1000;
|
|
429
|
+
readonly conversation_sessions: 100;
|
|
407
430
|
};
|
|
408
431
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
409
432
|
};
|
|
@@ -436,6 +459,7 @@ export declare const billingDefinitions: {
|
|
|
436
459
|
readonly vector_db_storage: 1000000000;
|
|
437
460
|
readonly saved_versions: 50;
|
|
438
461
|
readonly indexed_file_count: 2000;
|
|
462
|
+
readonly conversation_sessions: 250;
|
|
439
463
|
};
|
|
440
464
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
441
465
|
};
|
|
@@ -468,6 +492,7 @@ export declare const billingDefinitions: {
|
|
|
468
492
|
readonly vector_db_storage: 2000000000;
|
|
469
493
|
readonly saved_versions: 100;
|
|
470
494
|
readonly indexed_file_count: 10000;
|
|
495
|
+
readonly conversation_sessions: 1000;
|
|
471
496
|
};
|
|
472
497
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
473
498
|
};
|
|
@@ -494,6 +519,7 @@ export declare const billingDefinitions: {
|
|
|
494
519
|
vector_db_storage: number;
|
|
495
520
|
saved_versions: number;
|
|
496
521
|
indexed_file_count: number;
|
|
522
|
+
conversation_sessions: number;
|
|
497
523
|
};
|
|
498
524
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
499
525
|
};
|
|
@@ -520,6 +546,7 @@ export declare const billingDefinitions: {
|
|
|
520
546
|
vector_db_storage: number;
|
|
521
547
|
saved_versions: number;
|
|
522
548
|
indexed_file_count: number;
|
|
549
|
+
conversation_sessions: number;
|
|
523
550
|
};
|
|
524
551
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
525
552
|
};
|
|
@@ -688,6 +715,23 @@ export declare const billingDefinitions: {
|
|
|
688
715
|
readonly hidden: true;
|
|
689
716
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
690
717
|
};
|
|
718
|
+
readonly conversation_sessions_addon: {
|
|
719
|
+
readonly id: "conversation_sessions_addon";
|
|
720
|
+
readonly name: "Add-on - Conversation Sessions";
|
|
721
|
+
readonly description: "Adds 500 conversations sessions per month";
|
|
722
|
+
readonly prices: {
|
|
723
|
+
readonly month: {
|
|
724
|
+
readonly amount: 20;
|
|
725
|
+
readonly currency: "usd";
|
|
726
|
+
readonly interval: "month";
|
|
727
|
+
readonly providerPriceId: "__UNKNOWN_STRIPE_ID__";
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
readonly feature: "conversation_sessions";
|
|
731
|
+
readonly increment: 500;
|
|
732
|
+
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
733
|
+
readonly autoRechargeable: true;
|
|
734
|
+
};
|
|
691
735
|
};
|
|
692
736
|
readonly meters: {
|
|
693
737
|
readonly ai_spend_credit_grant: {
|
|
@@ -64,6 +64,12 @@ export declare const billingFeatureDefinitions: [{
|
|
|
64
64
|
readonly description: "The number of indexed files in the files api";
|
|
65
65
|
readonly resetPeriod: "never";
|
|
66
66
|
readonly consistency: "eventual";
|
|
67
|
+
}, {
|
|
68
|
+
readonly id: "conversation_sessions";
|
|
69
|
+
readonly name: "Conversations";
|
|
70
|
+
readonly description: "Number of conversation sessions that can occur";
|
|
71
|
+
readonly resetPeriod: "monthly";
|
|
72
|
+
readonly consistency: "eventual";
|
|
67
73
|
}];
|
|
68
74
|
export type BillingFeatureDefinitions = typeof billingFeatureDefinitions;
|
|
69
75
|
export type AtomicBillingFeatureDefinitions = FilterTuple<BillingFeatureDefinitions, {
|
|
@@ -76,6 +76,13 @@ exports.billingFeatureDefinitions = [
|
|
|
76
76
|
resetPeriod: 'never',
|
|
77
77
|
consistency: 'eventual',
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
id: 'conversation_sessions',
|
|
81
|
+
name: 'Conversations',
|
|
82
|
+
description: 'Number of conversation sessions that can occur',
|
|
83
|
+
resetPeriod: 'monthly',
|
|
84
|
+
consistency: 'eventual',
|
|
85
|
+
},
|
|
79
86
|
];
|
|
80
87
|
exports.BILLING_FEATURE_IDS = exports.billingFeatureDefinitions.map((def) => def.id);
|
|
81
88
|
exports.ATOMIC_BILLING_FEATURE_IDS = exports.billingFeatureDefinitions
|
package/dist/prefixes.d.ts
CHANGED
|
@@ -42,10 +42,19 @@ export declare const prefixToObjectMap: {
|
|
|
42
42
|
readonly table: "table";
|
|
43
43
|
readonly tag: "tag";
|
|
44
44
|
readonly task: "task";
|
|
45
|
+
readonly archrg: "autoRechargeSetting";
|
|
46
|
+
readonly archtx: "autoRechargeTransaction";
|
|
47
|
+
readonly crgrant: "creditGrant";
|
|
48
|
+
readonly job: "job";
|
|
49
|
+
readonly pcrgrant: "pendingCreditGrant";
|
|
50
|
+
readonly promo: "promoCode";
|
|
45
51
|
readonly usage: "usage";
|
|
46
52
|
readonly user: "user";
|
|
47
53
|
readonly webhook: "webhook";
|
|
48
54
|
readonly wkspace: "workspace";
|
|
55
|
+
readonly wksadd: "workspaceAddon";
|
|
56
|
+
readonly wksaddinst: "workspaceAddonAddition";
|
|
57
|
+
readonly wksplan: "workspacePlan";
|
|
49
58
|
readonly wrkflow: "workflow";
|
|
50
59
|
readonly wkspacepf: "workspacePreference";
|
|
51
60
|
readonly trial: "trial";
|
|
@@ -90,11 +99,20 @@ export type StateId = Ids['StateId'];
|
|
|
90
99
|
export type TableId = Ids['TableId'];
|
|
91
100
|
export type TagId = Ids['TagId'];
|
|
92
101
|
export type TaskId = Ids['TaskId'];
|
|
102
|
+
export type AutoRechargeSettingId = Ids['AutoRechargeSettingId'];
|
|
103
|
+
export type AutoRechargeTransactionId = Ids['AutoRechargeTransactionId'];
|
|
104
|
+
export type CreditGrantId = Ids['CreditGrantId'];
|
|
105
|
+
export type JobId = Ids['JobId'];
|
|
106
|
+
export type PendingCreditGrantId = Ids['PendingCreditGrantId'];
|
|
107
|
+
export type PromoCodeId = Ids['PromoCodeId'];
|
|
93
108
|
export type UsageId = Ids['UsageId'];
|
|
94
109
|
export type UserId = Ids['UserId'];
|
|
95
110
|
export type WebhookId = Ids['WebhookId'];
|
|
96
111
|
export type WorkflowId = Ids['WorkflowId'];
|
|
112
|
+
export type WorkspaceAddonId = Ids['WorkspaceAddonId'];
|
|
113
|
+
export type WorkspaceAddonAdditionId = Ids['WorkspaceAddonAdditionId'];
|
|
97
114
|
export type WorkspaceId = Ids['WorkspaceId'];
|
|
115
|
+
export type WorkspacePlanId = Ids['WorkspacePlanId'];
|
|
98
116
|
type Reverser<T extends Record<PropertyKey, PropertyKey>> = {
|
|
99
117
|
[P in keyof T as T[P]]: P;
|
|
100
118
|
};
|
package/dist/prefixes.js
CHANGED
|
@@ -45,10 +45,19 @@ exports.prefixToObjectMap = {
|
|
|
45
45
|
table: 'table',
|
|
46
46
|
tag: 'tag',
|
|
47
47
|
task: 'task',
|
|
48
|
+
archrg: 'autoRechargeSetting',
|
|
49
|
+
archtx: 'autoRechargeTransaction',
|
|
50
|
+
crgrant: 'creditGrant',
|
|
51
|
+
job: 'job',
|
|
52
|
+
pcrgrant: 'pendingCreditGrant',
|
|
53
|
+
promo: 'promoCode',
|
|
48
54
|
usage: 'usage',
|
|
49
55
|
user: 'user',
|
|
50
56
|
webhook: 'webhook',
|
|
51
57
|
wkspace: 'workspace',
|
|
58
|
+
wksadd: 'workspaceAddon',
|
|
59
|
+
wksaddinst: 'workspaceAddonAddition',
|
|
60
|
+
wksplan: 'workspacePlan',
|
|
52
61
|
wrkflow: 'workflow',
|
|
53
62
|
wkspacepf: 'workspacePreference',
|
|
54
63
|
trial: 'trial',
|
|
@@ -97,11 +106,20 @@ exports.objectToPrefixMap = {
|
|
|
97
106
|
table: 'table',
|
|
98
107
|
tag: 'tag',
|
|
99
108
|
task: 'task',
|
|
109
|
+
autoRechargeSetting: 'archrg',
|
|
110
|
+
autoRechargeTransaction: 'archtx',
|
|
111
|
+
creditGrant: 'crgrant',
|
|
112
|
+
job: 'job',
|
|
113
|
+
pendingCreditGrant: 'pcrgrant',
|
|
114
|
+
promoCode: 'promo',
|
|
100
115
|
usage: 'usage',
|
|
101
116
|
user: 'user',
|
|
102
117
|
webhook: 'webhook',
|
|
103
118
|
workflow: 'wrkflow',
|
|
104
119
|
workspace: 'wkspace',
|
|
120
|
+
workspaceAddon: 'wksadd',
|
|
121
|
+
workspaceAddonAddition: 'wksaddinst',
|
|
122
|
+
workspacePlan: 'wksplan',
|
|
105
123
|
workspacePreference: 'wkspacepf',
|
|
106
124
|
trial: 'trial',
|
|
107
125
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpinternal/const",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"files": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"zod": "^3.
|
|
12
|
+
"zod": "^3.25.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"typescript": "5.9.3"
|