@bpinternal/const 0.3.5 → 0.3.6

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.
@@ -274,3 +274,5 @@ export declare const billingAddons: {
274
274
  readonly increment: 10;
275
275
  };
276
276
  };
277
+ export declare const ALLOWED_TRIAL_LENGTHS_IN_DAYS = 7;
278
+ export declare const ALLOWED_TRIAL_PLANS: readonly ["plus"];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.billingAddons = exports.billingPlans = exports.BILLING_PLAN_IDS = exports.FREE_PRICE = void 0;
3
+ exports.ALLOWED_TRIAL_PLANS = exports.ALLOWED_TRIAL_LENGTHS_IN_DAYS = exports.billingAddons = exports.billingPlans = exports.BILLING_PLAN_IDS = exports.FREE_PRICE = void 0;
4
4
  /**
5
5
  * Special price value indicating a free product/plan.
6
6
  * This will be converted to $0 during deployment.
@@ -284,3 +284,5 @@ exports.billingAddons = {
284
284
  increment: 10,
285
285
  },
286
286
  };
287
+ exports.ALLOWED_TRIAL_LENGTHS_IN_DAYS = 7;
288
+ exports.ALLOWED_TRIAL_PLANS = ['plus'];
@@ -48,6 +48,7 @@ export declare const prefixToObjectMap: {
48
48
  readonly wkspace: "workspace";
49
49
  readonly wrkflow: "workflow";
50
50
  readonly wkspacepf: "workspacePreference";
51
+ readonly trial: "trial";
51
52
  };
52
53
  export declare const objectToPrefixMap: Reverser<typeof prefixToObjectMap>;
53
54
  export type Prefixes = (typeof objectToPrefixMap)[keyof typeof objectToPrefixMap];
package/dist/prefixes.js CHANGED
@@ -51,6 +51,7 @@ exports.prefixToObjectMap = {
51
51
  wkspace: 'workspace',
52
52
  wrkflow: 'workflow',
53
53
  wkspacepf: 'workspacePreference',
54
+ trial: 'trial',
54
55
  };
55
56
  exports.objectToPrefixMap = {
56
57
  account: 'accnt',
@@ -102,4 +103,5 @@ exports.objectToPrefixMap = {
102
103
  workflow: 'wrkflow',
103
104
  workspace: 'wkspace',
104
105
  workspacePreference: 'wkspacepf',
106
+ trial: 'trial',
105
107
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",