@bpinternal/const 0.23.0 → 0.24.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.
@@ -36,13 +36,15 @@ export declare const addons: {
36
36
  readonly id: "storage_addon";
37
37
  readonly name: "Add-on - Storage";
38
38
  readonly description: "Adds table rows, vector db space and files";
39
- readonly prices: Record<string, {
40
- amount: number;
41
- currency: "usd";
42
- interval: "month" | "year";
43
- providerPriceId: string;
44
- metadata?: Record<string, string> | undefined;
45
- }>;
39
+ readonly prices: {
40
+ readonly [x: string]: {
41
+ amount: number;
42
+ currency: "usd";
43
+ interval: "month" | "year";
44
+ providerPriceId: string;
45
+ metadata?: Record<string, string> | undefined;
46
+ };
47
+ };
46
48
  readonly increments: {
47
49
  readonly table_rows: 100000;
48
50
  readonly vector_db_storage: number;
@@ -53,7 +53,10 @@ exports.addons = {
53
53
  id: 'storage_addon',
54
54
  name: 'Add-on - Storage',
55
55
  description: 'Adds table rows, vector db space and files',
56
- prices: constantMonthlyPrice(40, ['plus', 'team', 'enterprise', 'managed']),
56
+ prices: {
57
+ ...constantMonthlyPrice(40, ['plus', 'team']),
58
+ ...constantMonthlyPrice(consts_1.FREE_PRICE, ['enterprise', 'managed']),
59
+ },
57
60
  increments: {
58
61
  table_rows: 100_000,
59
62
  vector_db_storage: 1 * consts_1.GB,
@@ -190,13 +190,15 @@ export declare const billingConfig: {
190
190
  readonly id: "storage_addon";
191
191
  readonly name: "Add-on - Storage";
192
192
  readonly description: "Adds table rows, vector db space and files";
193
- readonly prices: Record<string, {
194
- amount: number;
195
- currency: "usd";
196
- interval: "month" | "year";
197
- providerPriceId: string;
198
- metadata?: Record<string, string> | undefined;
199
- }>;
193
+ readonly prices: {
194
+ readonly [x: string]: {
195
+ amount: number;
196
+ currency: "usd";
197
+ interval: "month" | "year";
198
+ providerPriceId: string;
199
+ metadata?: Record<string, string> | undefined;
200
+ };
201
+ };
200
202
  readonly increments: {
201
203
  readonly table_rows: 100000;
202
204
  readonly vector_db_storage: number;
@@ -458,13 +460,15 @@ export declare const billingDefinitions: {
458
460
  readonly id: "storage_addon";
459
461
  readonly name: "Add-on - Storage";
460
462
  readonly description: "Adds table rows, vector db space and files";
461
- readonly prices: Record<string, {
462
- amount: number;
463
- currency: "usd";
464
- interval: "month" | "year";
465
- providerPriceId: string;
466
- metadata?: Record<string, string> | undefined;
467
- }>;
463
+ readonly prices: {
464
+ readonly [x: string]: {
465
+ amount: number;
466
+ currency: "usd";
467
+ interval: "month" | "year";
468
+ providerPriceId: string;
469
+ metadata?: Record<string, string> | undefined;
470
+ };
471
+ };
468
472
  readonly increments: {
469
473
  readonly table_rows: 100000;
470
474
  readonly vector_db_storage: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "files": [