@bpinternal/const 0.23.0 → 0.25.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.
|
@@ -31,18 +31,21 @@ export declare const addons: {
|
|
|
31
31
|
};
|
|
32
32
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
33
33
|
readonly autoRechargeable: true;
|
|
34
|
+
readonly prorationDisabled: true;
|
|
34
35
|
};
|
|
35
36
|
readonly storage_addon: {
|
|
36
37
|
readonly id: "storage_addon";
|
|
37
38
|
readonly name: "Add-on - Storage";
|
|
38
39
|
readonly description: "Adds table rows, vector db space and files";
|
|
39
|
-
readonly prices:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
readonly prices: {
|
|
41
|
+
readonly [x: string]: {
|
|
42
|
+
amount: number;
|
|
43
|
+
currency: "usd";
|
|
44
|
+
interval: "month" | "year";
|
|
45
|
+
providerPriceId: string;
|
|
46
|
+
metadata?: Record<string, string> | undefined;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
46
49
|
readonly increments: {
|
|
47
50
|
readonly table_rows: 100000;
|
|
48
51
|
readonly vector_db_storage: number;
|
|
@@ -48,12 +48,16 @@ exports.addons = {
|
|
|
48
48
|
},
|
|
49
49
|
providerProductId: schemas_1.UNKNOWN_STRIPE_ID,
|
|
50
50
|
autoRechargeable: true,
|
|
51
|
+
prorationDisabled: true,
|
|
51
52
|
},
|
|
52
53
|
storage_addon: {
|
|
53
54
|
id: 'storage_addon',
|
|
54
55
|
name: 'Add-on - Storage',
|
|
55
56
|
description: 'Adds table rows, vector db space and files',
|
|
56
|
-
prices:
|
|
57
|
+
prices: {
|
|
58
|
+
...constantMonthlyPrice(40, ['plus', 'team']),
|
|
59
|
+
...constantMonthlyPrice(consts_1.FREE_PRICE, ['enterprise', 'managed']),
|
|
60
|
+
},
|
|
57
61
|
increments: {
|
|
58
62
|
table_rows: 100_000,
|
|
59
63
|
vector_db_storage: 1 * consts_1.GB,
|
|
@@ -185,18 +185,21 @@ export declare const billingConfig: {
|
|
|
185
185
|
};
|
|
186
186
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
187
187
|
readonly autoRechargeable: true;
|
|
188
|
+
readonly prorationDisabled: true;
|
|
188
189
|
};
|
|
189
190
|
readonly storage_addon: {
|
|
190
191
|
readonly id: "storage_addon";
|
|
191
192
|
readonly name: "Add-on - Storage";
|
|
192
193
|
readonly description: "Adds table rows, vector db space and files";
|
|
193
|
-
readonly prices:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
194
|
+
readonly prices: {
|
|
195
|
+
readonly [x: string]: {
|
|
196
|
+
amount: number;
|
|
197
|
+
currency: "usd";
|
|
198
|
+
interval: "month" | "year";
|
|
199
|
+
providerPriceId: string;
|
|
200
|
+
metadata?: Record<string, string> | undefined;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
200
203
|
readonly increments: {
|
|
201
204
|
readonly table_rows: 100000;
|
|
202
205
|
readonly vector_db_storage: number;
|
|
@@ -453,18 +456,21 @@ export declare const billingDefinitions: {
|
|
|
453
456
|
};
|
|
454
457
|
readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
|
|
455
458
|
readonly autoRechargeable: true;
|
|
459
|
+
readonly prorationDisabled: true;
|
|
456
460
|
};
|
|
457
461
|
readonly storage_addon: {
|
|
458
462
|
readonly id: "storage_addon";
|
|
459
463
|
readonly name: "Add-on - Storage";
|
|
460
464
|
readonly description: "Adds table rows, vector db space and files";
|
|
461
|
-
readonly prices:
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
readonly prices: {
|
|
466
|
+
readonly [x: string]: {
|
|
467
|
+
amount: number;
|
|
468
|
+
currency: "usd";
|
|
469
|
+
interval: "month" | "year";
|
|
470
|
+
providerPriceId: string;
|
|
471
|
+
metadata?: Record<string, string> | undefined;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
468
474
|
readonly increments: {
|
|
469
475
|
readonly table_rows: 100000;
|
|
470
476
|
readonly vector_db_storage: number;
|
package/dist/prefixes.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare const prefixToObjectMap: {
|
|
|
54
54
|
readonly webhook: "webhook";
|
|
55
55
|
readonly wkspace: "workspace";
|
|
56
56
|
readonly wksadd: "workspaceAddon";
|
|
57
|
-
readonly
|
|
57
|
+
readonly wksqtaadd: "workspaceQuotaAddition";
|
|
58
58
|
readonly wksplan: "workspacePlan";
|
|
59
59
|
readonly wrkflow: "workflow";
|
|
60
60
|
readonly wkspacepf: "workspacePreference";
|
|
@@ -112,7 +112,7 @@ export type UserId = Ids['UserId'];
|
|
|
112
112
|
export type WebhookId = Ids['WebhookId'];
|
|
113
113
|
export type WorkflowId = Ids['WorkflowId'];
|
|
114
114
|
export type WorkspaceAddonId = Ids['WorkspaceAddonId'];
|
|
115
|
-
export type
|
|
115
|
+
export type WorkspaceQuotaAdditionId = Ids['WorkspaceQuotaAdditionId'];
|
|
116
116
|
export type WorkspaceId = Ids['WorkspaceId'];
|
|
117
117
|
export type WorkspacePlanId = Ids['WorkspacePlanId'];
|
|
118
118
|
type Reverser<T extends Record<PropertyKey, PropertyKey>> = {
|
package/dist/prefixes.js
CHANGED
|
@@ -57,7 +57,7 @@ exports.prefixToObjectMap = {
|
|
|
57
57
|
webhook: 'webhook',
|
|
58
58
|
wkspace: 'workspace',
|
|
59
59
|
wksadd: 'workspaceAddon',
|
|
60
|
-
|
|
60
|
+
wksqtaadd: 'workspaceQuotaAddition',
|
|
61
61
|
wksplan: 'workspacePlan',
|
|
62
62
|
wrkflow: 'workflow',
|
|
63
63
|
wkspacepf: 'workspacePreference',
|
|
@@ -120,7 +120,7 @@ exports.objectToPrefixMap = {
|
|
|
120
120
|
workflow: 'wrkflow',
|
|
121
121
|
workspace: 'wkspace',
|
|
122
122
|
workspaceAddon: 'wksadd',
|
|
123
|
-
|
|
123
|
+
workspaceQuotaAddition: 'wksqtaadd',
|
|
124
124
|
workspacePlan: 'wksplan',
|
|
125
125
|
workspacePreference: 'wkspacepf',
|
|
126
126
|
trial: 'trial',
|