@pulsecharterconnect/types 0.0.31 → 0.0.33
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/Organization.d.ts +4 -0
- package/dist/types/Organization.js +3 -0
- package/dist/types/Sample.d.ts +5 -1
- package/dist/types/Sample.js +3 -1
- package/dist/types/TransportationRequest.d.ts +4 -4
- package/dist/types/User.d.ts +5 -1
- package/dist/types/User.js +3 -1
- package/package.json +1 -1
|
@@ -148,6 +148,8 @@ export interface IOrganization {
|
|
|
148
148
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
149
149
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
150
150
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
151
|
+
createdAt?: number;
|
|
152
|
+
updatedAt?: number;
|
|
151
153
|
}
|
|
152
154
|
export declare class Organization implements IOrganization {
|
|
153
155
|
id: string;
|
|
@@ -157,5 +159,7 @@ export declare class Organization implements IOrganization {
|
|
|
157
159
|
systemAdminOrganizationDetails?: ISystemAdminOrganization;
|
|
158
160
|
transplantCenterOrganizationDetails?: ITransplantCenterOrganization;
|
|
159
161
|
transportationOperatorOrganizationDetails?: ITranportationOperatorOrganization;
|
|
162
|
+
createdAt?: number;
|
|
163
|
+
updatedAt?: number;
|
|
160
164
|
constructor(organization: IOrganization);
|
|
161
165
|
}
|
package/dist/types/Sample.d.ts
CHANGED
|
@@ -3,10 +3,14 @@ export interface ISampleItem {
|
|
|
3
3
|
id: string;
|
|
4
4
|
fieldOne: SampleFieldOne;
|
|
5
5
|
fieldTwo: number;
|
|
6
|
+
createdAt?: number;
|
|
7
|
+
updatedAt?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare class SampleItem implements ISampleItem {
|
|
8
10
|
id: string;
|
|
9
11
|
fieldOne: SampleFieldOne;
|
|
10
12
|
fieldTwo: number;
|
|
11
|
-
|
|
13
|
+
createdAt?: number;
|
|
14
|
+
updatedAt?: number;
|
|
15
|
+
constructor(id: string, fieldOne: SampleFieldOne, fieldTwo: number, createdAt?: number, updatedAt?: number);
|
|
12
16
|
}
|
package/dist/types/Sample.js
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SampleItem = void 0;
|
|
4
4
|
class SampleItem {
|
|
5
|
-
constructor(id, fieldOne, fieldTwo) {
|
|
5
|
+
constructor(id, fieldOne, fieldTwo, createdAt, updatedAt) {
|
|
6
6
|
this.id = id;
|
|
7
7
|
this.fieldOne = fieldOne;
|
|
8
8
|
this.fieldTwo = fieldTwo;
|
|
9
|
+
this.createdAt = createdAt;
|
|
10
|
+
this.updatedAt = updatedAt;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
exports.SampleItem = SampleItem;
|
|
@@ -105,8 +105,8 @@ export interface ITransportationRequest {
|
|
|
105
105
|
surgicalServicesRequested: boolean;
|
|
106
106
|
transportationOptions: TransportationOptions;
|
|
107
107
|
status: TransportationRequestStatus;
|
|
108
|
-
createdAt
|
|
109
|
-
updatedAt
|
|
108
|
+
createdAt?: number;
|
|
109
|
+
updatedAt?: number;
|
|
110
110
|
}
|
|
111
111
|
export declare class TransportationRequest implements ITransportationRequest {
|
|
112
112
|
id: string;
|
|
@@ -125,7 +125,7 @@ export declare class TransportationRequest implements ITransportationRequest {
|
|
|
125
125
|
surgicalServicesRequested: boolean;
|
|
126
126
|
transportationOptions: TransportationOptions;
|
|
127
127
|
status: TransportationRequestStatus;
|
|
128
|
-
createdAt
|
|
129
|
-
updatedAt
|
|
128
|
+
createdAt?: number;
|
|
129
|
+
updatedAt?: number;
|
|
130
130
|
constructor(transportationRequest: TransportationRequest);
|
|
131
131
|
}
|
package/dist/types/User.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export interface IUser {
|
|
|
24
24
|
lastLoginDate?: number;
|
|
25
25
|
notificationSettings: NotificationSettings;
|
|
26
26
|
verifiedEmail?: boolean;
|
|
27
|
+
createdAt?: number;
|
|
28
|
+
updatedAt?: number;
|
|
27
29
|
}
|
|
28
30
|
export declare class User implements IUser {
|
|
29
31
|
id: string;
|
|
@@ -44,7 +46,9 @@ export declare class User implements IUser {
|
|
|
44
46
|
lastLoginDate?: number;
|
|
45
47
|
notificationSettings: NotificationSettings;
|
|
46
48
|
verifiedEmail?: boolean;
|
|
47
|
-
|
|
49
|
+
createdAt?: number;
|
|
50
|
+
updatedAt?: number;
|
|
51
|
+
constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, createdAt, updatedAt, }: IUser);
|
|
48
52
|
}
|
|
49
53
|
export declare class ResetPassword {
|
|
50
54
|
token: string;
|
package/dist/types/User.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResetPassword = exports.User = void 0;
|
|
4
4
|
class User {
|
|
5
|
-
constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, }) {
|
|
5
|
+
constructor({ id, workOsId, primaryEmail, secondaryEmail, firstName, lastName, title, primaryPhoneNumber, secondaryPhoneNumber, privacyAgreedOnDate, termsAgreedOnDate, organizationId, role, addedByUserId, addedOnDate, lastLoginDate, notificationSettings, verifiedEmail, createdAt, updatedAt, }) {
|
|
6
6
|
this.id = id;
|
|
7
7
|
this.workOsId = workOsId;
|
|
8
8
|
this.primaryEmail = primaryEmail;
|
|
@@ -26,6 +26,8 @@ class User {
|
|
|
26
26
|
inApp: notificationSettings.inApp || true,
|
|
27
27
|
};
|
|
28
28
|
this.verifiedEmail = verifiedEmail || false;
|
|
29
|
+
this.createdAt = createdAt;
|
|
30
|
+
this.updatedAt = updatedAt;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
exports.User = User;
|