@pulsecharterconnect/types 0.0.8 → 0.0.9

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.
@@ -1,4 +1,4 @@
1
- export type OrganizationType = 'System Admin' | 'Transplant Center' | 'Transportation Provider' | 'Surgical Provider' | 'Donor Hospital';
1
+ export type OrganizationType = 'System Admin' | 'Transplant Center' | 'Transportation Operator' | 'Surgical Provider' | 'Donor Hospital';
2
2
  export type AirService = 'Jet' | 'TurboProp' | 'Helicopter';
3
3
  export type GroundService = 'Ambulance' | 'Limo' | 'Car' | 'Mid-Size SUV' | 'Full-Size SUV';
4
4
  export type Aircraft = {
@@ -40,7 +40,7 @@ export interface IOrganization {
40
40
  type: OrganizationType;
41
41
  systemAdminOrganizationDetails?: ISystemAdminOrganization;
42
42
  transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
43
- transportationProviderOrganizationDetails?: ITranportationOperatorOrganization;
43
+ transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
44
44
  }
45
45
  export declare class Organization implements IOrganization {
46
46
  id: string;
@@ -49,6 +49,6 @@ export declare class Organization implements IOrganization {
49
49
  type: OrganizationType;
50
50
  systemAdminOrganizationDetails?: ISystemAdminOrganization;
51
51
  transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
52
- transportationProviderOrganizationDetails?: ITranportationOperatorOrganization;
53
- constructor(id: string, workOsId: string, name: string, type: OrganizationType, systemAdminOrganizationDetails?: ISystemAdminOrganization, transplantCenterOrganizationDetails?: ITransplantCenterOrganization, transportationProviderOrganizationDetails?: ITranportationOperatorOrganization);
52
+ transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
53
+ constructor(id: string, workOsId: string, name: string, type: OrganizationType, systemAdminOrganizationDetails?: ISystemAdminOrganization, transplantCenterOrganizationDetails?: ITransplantCenterOrganization, transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization);
54
54
  }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Organization = void 0;
4
4
  class Organization {
5
- constructor(id, workOsId, name, type, systemAdminOrganizationDetails, transplantCenterOrganizationDetails, transportationProviderOrganizationDetails) {
5
+ constructor(id, workOsId, name, type, systemAdminOrganizationDetails, transplantCenterOrganizationDetails, transportationOperatorOrganizationDetails) {
6
6
  this.id = id;
7
7
  this.workOsId = workOsId;
8
8
  this.name = name;
@@ -14,8 +14,8 @@ class Organization {
14
14
  case 'Transplant Center':
15
15
  this.transplantCenterOrganizationDetails = transplantCenterOrganizationDetails;
16
16
  break;
17
- case 'Transportation Provider':
18
- this.transportationProviderOrganizationDetails = transportationProviderOrganizationDetails;
17
+ case 'Transportation Operator':
18
+ this.transportationOperatorOrganizationDetails = transportationOperatorOrganizationDetails;
19
19
  break;
20
20
  default:
21
21
  throw new Error('Organization type not recognized');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",