@pulsecharterconnect/types 0.1.25 → 0.1.27
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/Trip.d.ts +4 -0
- package/dist/types/Trip.js +2 -0
- package/package.json +1 -1
package/dist/types/Trip.d.ts
CHANGED
|
@@ -97,8 +97,10 @@ export declare enum Gender {
|
|
|
97
97
|
export interface IParticipant {
|
|
98
98
|
id: string;
|
|
99
99
|
organizationId: string;
|
|
100
|
+
prefix?: string;
|
|
100
101
|
firstName: string;
|
|
101
102
|
lastName: string;
|
|
103
|
+
suffix?: string;
|
|
102
104
|
phoneNumber: string;
|
|
103
105
|
gender?: Gender;
|
|
104
106
|
weightInPounds?: number;
|
|
@@ -112,8 +114,10 @@ export interface IParticipant {
|
|
|
112
114
|
export declare class Participant implements IParticipant {
|
|
113
115
|
id: string;
|
|
114
116
|
organizationId: string;
|
|
117
|
+
prefix?: string;
|
|
115
118
|
firstName: string;
|
|
116
119
|
lastName: string;
|
|
120
|
+
suffix?: string;
|
|
117
121
|
phoneNumber: string;
|
|
118
122
|
gender?: Gender;
|
|
119
123
|
birthdate?: number;
|
package/dist/types/Trip.js
CHANGED
|
@@ -64,8 +64,10 @@ class Participant {
|
|
|
64
64
|
constructor(participant) {
|
|
65
65
|
this.id = participant.id;
|
|
66
66
|
this.organizationId = participant.organizationId;
|
|
67
|
+
this.prefix = participant.prefix || undefined;
|
|
67
68
|
this.firstName = participant.firstName;
|
|
68
69
|
this.lastName = participant.lastName;
|
|
70
|
+
this.suffix = participant.suffix || undefined;
|
|
69
71
|
this.phoneNumber = participant.phoneNumber;
|
|
70
72
|
this.gender = participant.gender || undefined;
|
|
71
73
|
this.dietaryPreferences = participant.dietaryPreferences || undefined;
|