@pulsecharterconnect/types 0.1.59 → 0.1.60

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.
@@ -198,4 +198,5 @@ export declare class Organization implements IOrganization {
198
198
  isGroundOperator(): boolean;
199
199
  isAirOperator(): boolean;
200
200
  isSystemAdmin(): boolean;
201
+ isGroundTransportationEnabled(): boolean;
201
202
  }
@@ -168,5 +168,8 @@ class Organization {
168
168
  isSystemAdmin() {
169
169
  return this.type === OrganizationType.SYSTEM_ADMIN;
170
170
  }
171
+ isGroundTransportationEnabled() {
172
+ return this.featureFlags.some((flag) => flag.name === FeatureFlag_1.FeatureFlagName.GROUND_TRANSPORTATION && flag.enabled);
173
+ }
171
174
  }
172
175
  exports.Organization = Organization;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",