@bpinternal/const 0.24.0 → 0.26.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,6 +31,7 @@ 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";
@@ -48,6 +48,7 @@ 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',
@@ -16,7 +16,7 @@ export declare const plans: {
16
16
  readonly features: {
17
17
  readonly table_rows: 1000;
18
18
  readonly bot_count: 3;
19
- readonly collaborator_count: 1;
19
+ readonly collaborator_count: 3;
20
20
  readonly file_storage: number;
21
21
  readonly vector_db_storage: number;
22
22
  readonly saved_versions: 3;
@@ -33,7 +33,7 @@ exports.plans = {
33
33
  features: {
34
34
  table_rows: 1000,
35
35
  bot_count: 3,
36
- collaborator_count: 1,
36
+ collaborator_count: 3,
37
37
  file_storage: 100 * consts_1.MB,
38
38
  vector_db_storage: 100 * consts_1.MB,
39
39
  saved_versions: 3,
@@ -21,7 +21,7 @@ export declare const billingConfig: {
21
21
  readonly features: {
22
22
  readonly table_rows: 1000;
23
23
  readonly bot_count: 3;
24
- readonly collaborator_count: 1;
24
+ readonly collaborator_count: 3;
25
25
  readonly file_storage: number;
26
26
  readonly vector_db_storage: number;
27
27
  readonly saved_versions: 3;
@@ -185,6 +185,7 @@ 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";
@@ -291,7 +292,7 @@ export declare const billingDefinitions: {
291
292
  readonly features: {
292
293
  readonly table_rows: 1000;
293
294
  readonly bot_count: 3;
294
- readonly collaborator_count: 1;
295
+ readonly collaborator_count: 3;
295
296
  readonly file_storage: number;
296
297
  readonly vector_db_storage: number;
297
298
  readonly saved_versions: 3;
@@ -455,6 +456,7 @@ export declare const billingDefinitions: {
455
456
  };
456
457
  readonly providerProductId: "__UNKNOWN_STRIPE_ID__";
457
458
  readonly autoRechargeable: true;
459
+ readonly prorationDisabled: true;
458
460
  };
459
461
  readonly storage_addon: {
460
462
  readonly id: "storage_addon";
@@ -54,11 +54,14 @@ export declare const prefixToObjectMap: {
54
54
  readonly webhook: "webhook";
55
55
  readonly wkspace: "workspace";
56
56
  readonly wksadd: "workspaceAddon";
57
- readonly wksaddinst: "workspaceAddonAddition";
57
+ readonly wksqtaadd: "workspaceQuotaAddition";
58
58
  readonly wksplan: "workspacePlan";
59
59
  readonly wrkflow: "workflow";
60
60
  readonly wkspacepf: "workspacePreference";
61
61
  readonly trial: "trial";
62
+ readonly evlrun: "evalRun";
63
+ readonly evlent: "evalEntry";
64
+ readonly evlres: "evalResult";
62
65
  };
63
66
  export declare const objectToPrefixMap: Reverser<typeof prefixToObjectMap>;
64
67
  export type Prefixes = (typeof objectToPrefixMap)[keyof typeof objectToPrefixMap];
@@ -112,9 +115,12 @@ export type UserId = Ids['UserId'];
112
115
  export type WebhookId = Ids['WebhookId'];
113
116
  export type WorkflowId = Ids['WorkflowId'];
114
117
  export type WorkspaceAddonId = Ids['WorkspaceAddonId'];
115
- export type WorkspaceAddonAdditionId = Ids['WorkspaceAddonAdditionId'];
118
+ export type WorkspaceQuotaAdditionId = Ids['WorkspaceQuotaAdditionId'];
116
119
  export type WorkspaceId = Ids['WorkspaceId'];
117
120
  export type WorkspacePlanId = Ids['WorkspacePlanId'];
121
+ export type EvalRunId = Ids['EvalRunId'];
122
+ export type EvalEntryId = Ids['EvalEntryId'];
123
+ export type EvalResultId = Ids['EvalResultId'];
118
124
  type Reverser<T extends Record<PropertyKey, PropertyKey>> = {
119
125
  [P in keyof T as T[P]]: P;
120
126
  };
package/dist/prefixes.js CHANGED
@@ -57,11 +57,14 @@ exports.prefixToObjectMap = {
57
57
  webhook: 'webhook',
58
58
  wkspace: 'workspace',
59
59
  wksadd: 'workspaceAddon',
60
- wksaddinst: 'workspaceAddonAddition',
60
+ wksqtaadd: 'workspaceQuotaAddition',
61
61
  wksplan: 'workspacePlan',
62
62
  wrkflow: 'workflow',
63
63
  wkspacepf: 'workspacePreference',
64
64
  trial: 'trial',
65
+ evlrun: 'evalRun',
66
+ evlent: 'evalEntry',
67
+ evlres: 'evalResult',
65
68
  };
66
69
  exports.objectToPrefixMap = {
67
70
  account: 'accnt',
@@ -120,8 +123,11 @@ exports.objectToPrefixMap = {
120
123
  workflow: 'wrkflow',
121
124
  workspace: 'wkspace',
122
125
  workspaceAddon: 'wksadd',
123
- workspaceAddonAddition: 'wksaddinst',
126
+ workspaceQuotaAddition: 'wksqtaadd',
124
127
  workspacePlan: 'wksplan',
125
128
  workspacePreference: 'wkspacepf',
126
129
  trial: 'trial',
130
+ evalRun: 'evlrun',
131
+ evalEntry: 'evlent',
132
+ evalResult: 'evlres',
127
133
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "files": [