@pulsecharterconnect/types 0.2.101 → 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.
- package/dist/types/ContactDetails.d.ts +3 -7
- package/dist/types/ContactDetails.js +1 -0
- package/dist/types/OrganProcurementOrganization.d.ts +45 -0
- package/dist/types/OrganProcurementOrganization.js +31 -0
- package/dist/types/TransportationRequest.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
email: boolean;
|
|
3
|
-
text: boolean;
|
|
4
|
-
voice: boolean;
|
|
5
|
-
};
|
|
1
|
+
import { NotificationSettings } from "./User";
|
|
6
2
|
export interface IContactDetails {
|
|
7
3
|
secondaryEmail?: string;
|
|
8
4
|
firstName: string;
|
|
@@ -11,7 +7,7 @@ export interface IContactDetails {
|
|
|
11
7
|
primaryPhoneNumber: string;
|
|
12
8
|
secondaryPhoneNumber: string;
|
|
13
9
|
role: string;
|
|
14
|
-
notificationSettings:
|
|
10
|
+
notificationSettings: NotificationSettings;
|
|
15
11
|
}
|
|
16
12
|
export declare class ContactDetails implements IContactDetails {
|
|
17
13
|
secondaryEmail?: string;
|
|
@@ -21,6 +17,6 @@ export declare class ContactDetails implements IContactDetails {
|
|
|
21
17
|
primaryPhoneNumber: string;
|
|
22
18
|
secondaryPhoneNumber: string;
|
|
23
19
|
role: string;
|
|
24
|
-
notificationSettings:
|
|
20
|
+
notificationSettings: NotificationSettings;
|
|
25
21
|
constructor({ secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, role, notificationSettings, }: IContactDetails);
|
|
26
22
|
}
|
|
@@ -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
|
}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED