@pulsecharterconnect/types 0.2.102 → 0.2.103

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.
@@ -0,0 +1,45 @@
1
+ import { Facility, StateCode } from "./Organization";
2
+ export interface IOrganProcurementOrganizationContact {
3
+ id: string;
4
+ organProcurementOrganizationId: string;
5
+ firstName: string;
6
+ lastName: string;
7
+ email?: string;
8
+ phoneNumber: string;
9
+ active?: boolean;
10
+ createdAt?: number;
11
+ updatedAt?: number;
12
+ }
13
+ export declare class OrganProcurementOrganizationContact implements IOrganProcurementOrganizationContact {
14
+ id: string;
15
+ organProcurementOrganizationId: string;
16
+ firstName: string;
17
+ lastName: string;
18
+ email?: string;
19
+ phoneNumber: string;
20
+ active?: boolean;
21
+ createdAt?: number;
22
+ updatedAt?: number;
23
+ constructor(organProcurementOrganizationContact: IOrganProcurementOrganizationContact);
24
+ }
25
+ export interface IOrganProcurementOrganization {
26
+ id: string;
27
+ name: string;
28
+ code: string;
29
+ facility: Facility;
30
+ region: string;
31
+ statesServed: StateCode[];
32
+ createdAt?: number;
33
+ updatedAt?: number;
34
+ }
35
+ export declare class OrganProcurementOrganization implements IOrganProcurementOrganization {
36
+ id: string;
37
+ name: string;
38
+ code: string;
39
+ facility: Facility;
40
+ region: string;
41
+ statesServed: StateCode[];
42
+ createdAt?: number;
43
+ updatedAt?: number;
44
+ constructor(organProcurementOrganization: IOrganProcurementOrganization);
45
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganProcurementOrganization = exports.OrganProcurementOrganizationContact = void 0;
4
+ class OrganProcurementOrganizationContact {
5
+ constructor(organProcurementOrganizationContact) {
6
+ this.id = organProcurementOrganizationContact.id;
7
+ this.organProcurementOrganizationId =
8
+ organProcurementOrganizationContact.organProcurementOrganizationId;
9
+ this.firstName = organProcurementOrganizationContact.firstName;
10
+ this.lastName = organProcurementOrganizationContact.lastName;
11
+ this.email = organProcurementOrganizationContact.email || undefined;
12
+ this.phoneNumber = organProcurementOrganizationContact.phoneNumber;
13
+ this.active = organProcurementOrganizationContact.active || false;
14
+ this.createdAt = organProcurementOrganizationContact.createdAt;
15
+ this.updatedAt = organProcurementOrganizationContact.updatedAt;
16
+ }
17
+ }
18
+ exports.OrganProcurementOrganizationContact = OrganProcurementOrganizationContact;
19
+ class OrganProcurementOrganization {
20
+ constructor(organProcurementOrganization) {
21
+ this.id = organProcurementOrganization.id;
22
+ this.name = organProcurementOrganization.name;
23
+ this.code = organProcurementOrganization.code;
24
+ this.facility = organProcurementOrganization.facility;
25
+ this.region = organProcurementOrganization.region;
26
+ this.statesServed = organProcurementOrganization.statesServed;
27
+ this.createdAt = organProcurementOrganization.createdAt;
28
+ this.updatedAt = organProcurementOrganization.updatedAt;
29
+ }
30
+ }
31
+ exports.OrganProcurementOrganization = OrganProcurementOrganization;
@@ -161,6 +161,8 @@ export interface ITransportationRequest {
161
161
  eventLog?: IEventLog[];
162
162
  isTrainingMode?: boolean;
163
163
  equipmentReturnRequested?: boolean;
164
+ organProcurementOrganizationId?: string;
165
+ organProcurementOrganizationContactId?: string;
164
166
  createdAt?: number;
165
167
  updatedAt?: number;
166
168
  }
@@ -14,3 +14,4 @@ export * from "./Case";
14
14
  export * from "./FlightTracking";
15
15
  export * from "./EventLogger";
16
16
  export * from "./Analytics";
17
+ export * from "./OrganProcurementOrganization";
@@ -30,3 +30,4 @@ __exportStar(require("./Case"), exports);
30
30
  __exportStar(require("./FlightTracking"), exports);
31
31
  __exportStar(require("./EventLogger"), exports);
32
32
  __exportStar(require("./Analytics"), exports);
33
+ __exportStar(require("./OrganProcurementOrganization"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.102",
3
+ "version": "0.2.103",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",