@bpinternal/const 0.5.2 → 0.6.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.
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* Based on the requirements from the billing refactor document
|
|
4
4
|
*/
|
|
5
5
|
export declare const BILLING_FEATURE_IDS: readonly ["human_in_the_loop", "ratelimit", "incoming_messages_events", "integration_spend", "integration_subscription", "table_rows", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "file_storage", "vector_db_storage", "saved_versions"];
|
|
6
|
+
export declare const ATOMIC_BILLING_FEATURE_IDS: ["integration_subscription", "bot_count", "always_alive_count", "always_alive_concurrency", "collaborator_count", "saved_versions"];
|
|
7
|
+
export declare const NON_ATOMIC_BILLING_FEATURE_IDS: ["incoming_messages_events", "integration_spend", "table_rows", "file_storage", "vector_db_storage"];
|
|
8
|
+
export declare const CREDIT_GRANT_BILLING_FEATURE_IDS: ["integration_spend"];
|
|
6
9
|
export declare const billingFeatureDefs: {
|
|
7
10
|
readonly human_in_the_loop: {
|
|
8
11
|
readonly name: "Human in the Loop";
|
package/dist/billing-features.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Based on the requirements from the billing refactor document
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.billingFeatureDefs = exports.BILLING_FEATURE_IDS = void 0;
|
|
7
|
+
exports.billingFeatureDefs = exports.CREDIT_GRANT_BILLING_FEATURE_IDS = exports.NON_ATOMIC_BILLING_FEATURE_IDS = exports.ATOMIC_BILLING_FEATURE_IDS = exports.BILLING_FEATURE_IDS = void 0;
|
|
8
8
|
exports.BILLING_FEATURE_IDS = [
|
|
9
9
|
'human_in_the_loop',
|
|
10
10
|
'ratelimit',
|
|
@@ -20,6 +20,22 @@ exports.BILLING_FEATURE_IDS = [
|
|
|
20
20
|
'vector_db_storage',
|
|
21
21
|
'saved_versions',
|
|
22
22
|
];
|
|
23
|
+
exports.ATOMIC_BILLING_FEATURE_IDS = [
|
|
24
|
+
'integration_subscription',
|
|
25
|
+
'bot_count',
|
|
26
|
+
'always_alive_count',
|
|
27
|
+
'always_alive_concurrency',
|
|
28
|
+
'collaborator_count',
|
|
29
|
+
'saved_versions',
|
|
30
|
+
];
|
|
31
|
+
exports.NON_ATOMIC_BILLING_FEATURE_IDS = [
|
|
32
|
+
'incoming_messages_events',
|
|
33
|
+
'integration_spend',
|
|
34
|
+
'table_rows',
|
|
35
|
+
'file_storage',
|
|
36
|
+
'vector_db_storage',
|
|
37
|
+
];
|
|
38
|
+
exports.CREDIT_GRANT_BILLING_FEATURE_IDS = ['integration_spend'];
|
|
23
39
|
exports.billingFeatureDefs = {
|
|
24
40
|
human_in_the_loop: {
|
|
25
41
|
name: 'Human in the Loop',
|