@bpinternal/const 0.21.0 → 0.22.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.
|
@@ -49,7 +49,7 @@ exports.addons = {
|
|
|
49
49
|
id: 'storage_addon',
|
|
50
50
|
name: 'Add-on - Storage',
|
|
51
51
|
description: 'Adds table rows, vector db space and files',
|
|
52
|
-
prices: constantMonthlyPrice(40),
|
|
52
|
+
prices: constantMonthlyPrice(40, ['plus', 'team', 'enterprise', 'managed']),
|
|
53
53
|
increments: {
|
|
54
54
|
table_rows: 100_000,
|
|
55
55
|
vector_db_storage: 1 * consts_1.GB,
|
|
@@ -15,7 +15,6 @@ export declare const billingFeatureDefinitions: [{
|
|
|
15
15
|
readonly description: "Credits spent on integrations (AI, third-party services)";
|
|
16
16
|
readonly resetPeriod: "monthly";
|
|
17
17
|
readonly consistency: "eventual";
|
|
18
|
-
readonly grantable: true;
|
|
19
18
|
readonly dimensions: {
|
|
20
19
|
readonly botId: "Bot ID";
|
|
21
20
|
readonly integrationName: "Integration name";
|
|
@@ -76,6 +75,7 @@ export declare const billingFeatureDefinitions: [{
|
|
|
76
75
|
readonly description: "Amount that is useable for AI in nano-dollars";
|
|
77
76
|
readonly resetPeriod: "monthly";
|
|
78
77
|
readonly consistency: "eventual";
|
|
78
|
+
readonly grantable: true;
|
|
79
79
|
}];
|
|
80
80
|
export type BillingFeatureDefinitions = typeof billingFeatureDefinitions;
|
|
81
81
|
export type AtomicBillingFeatureDefinitions = FilterTuple<BillingFeatureDefinitions, {
|
|
@@ -19,7 +19,6 @@ exports.billingFeatureDefinitions = [
|
|
|
19
19
|
description: 'Credits spent on integrations (AI, third-party services)',
|
|
20
20
|
resetPeriod: 'monthly',
|
|
21
21
|
consistency: 'eventual',
|
|
22
|
-
grantable: true,
|
|
23
22
|
dimensions: {
|
|
24
23
|
botId: 'Bot ID',
|
|
25
24
|
integrationName: 'Integration name',
|
|
@@ -89,6 +88,7 @@ exports.billingFeatureDefinitions = [
|
|
|
89
88
|
description: 'Amount that is useable for AI in nano-dollars',
|
|
90
89
|
resetPeriod: 'monthly',
|
|
91
90
|
consistency: 'eventual',
|
|
91
|
+
grantable: true,
|
|
92
92
|
},
|
|
93
93
|
];
|
|
94
94
|
exports.BILLING_FEATURE_IDS = exports.billingFeatureDefinitions.map((def) => def.id);
|