@bash-app/bash-common 29.36.0 → 29.36.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.36.0",
3
+ "version": "29.36.1",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -112,6 +112,7 @@ export type ServicePromoCode = {
112
112
  days?: number;
113
113
  },
114
114
  type: ServicePromoCodeType;
115
+ automaticallyApplied: boolean;
115
116
  };
116
117
 
117
118
  export type ServicePromoCodeMap = {
@@ -31,13 +31,16 @@ export const VenuePricingPlanData: VenuePricingPlanMap = {
31
31
  } as const;
32
32
 
33
33
  export const VenuePromoCodes: ServicePromoCodeMap = {
34
- "Vnue3345": {
34
+ "Venue0001": {
35
35
  isTrial: true,
36
36
  duration: {
37
37
  days: 90
38
38
  },
39
- type: "PerUser"
39
+ type: "PerUser",
40
+ automaticallyApplied: true
40
41
  }
41
- };
42
+ } as const;
43
+
44
+ Object.entries(VenuePromoCodes).forEach(promoCode => promoCode[1].code = promoCode[0]);
42
45
 
43
- Object.entries(VenuePromoCodes).forEach(promoCode => promoCode[1].code = promoCode[0]);
46
+ export const VenueFreeTrialPromoCode = "Venue0001";