@vendasta/meetings 0.83.0 → 0.85.0
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/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +8 -2
- package/esm2020/lib/_internal/objects/meeting-type.mjs +10 -1
- package/esm2020/lib/shared/meeting-type.mjs +8 -2
- package/fesm2015/vendasta-meetings.mjs +22 -1
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +22 -1
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -0
- package/lib/_internal/objects/meeting-guest.d.ts +2 -1
- package/lib/_internal/objects/meeting-type.d.ts +3 -0
- package/lib/shared/meeting-type.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1734,6 +1734,15 @@ class MeetingType {
|
|
|
1734
1734
|
if (typeof this.isClientChoice !== 'undefined') {
|
|
1735
1735
|
toReturn['isClientChoice'] = this.isClientChoice;
|
|
1736
1736
|
}
|
|
1737
|
+
if (typeof this.emailSubject !== 'undefined') {
|
|
1738
|
+
toReturn['emailSubject'] = this.emailSubject;
|
|
1739
|
+
}
|
|
1740
|
+
if (typeof this.emailDescription !== 'undefined') {
|
|
1741
|
+
toReturn['emailDescription'] = this.emailDescription;
|
|
1742
|
+
}
|
|
1743
|
+
if (typeof this.isPinned !== 'undefined') {
|
|
1744
|
+
toReturn['isPinned'] = this.isPinned;
|
|
1745
|
+
}
|
|
1737
1746
|
return toReturn;
|
|
1738
1747
|
}
|
|
1739
1748
|
}
|
|
@@ -1984,6 +1993,9 @@ class GetMeetingTypeResponse {
|
|
|
1984
1993
|
if (proto.meetingType) {
|
|
1985
1994
|
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
1986
1995
|
}
|
|
1996
|
+
if (proto.hostUsers) {
|
|
1997
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
1998
|
+
}
|
|
1987
1999
|
return m;
|
|
1988
2000
|
}
|
|
1989
2001
|
constructor(kwargs) {
|
|
@@ -1997,6 +2009,9 @@ class GetMeetingTypeResponse {
|
|
|
1997
2009
|
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
1998
2010
|
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
1999
2011
|
}
|
|
2012
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
2013
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
2014
|
+
}
|
|
2000
2015
|
return toReturn;
|
|
2001
2016
|
}
|
|
2002
2017
|
}
|
|
@@ -4641,7 +4656,10 @@ function MeetingTypeFromApi(req) {
|
|
|
4641
4656
|
location: req.meetingTypeApi.location || '',
|
|
4642
4657
|
locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
|
|
4643
4658
|
isClientSiteMeeting: req.meetingTypeApi.isClientSiteMeeting || false,
|
|
4644
|
-
isClientChoice: req.meetingTypeApi.isClientChoice || false
|
|
4659
|
+
isClientChoice: req.meetingTypeApi.isClientChoice || false,
|
|
4660
|
+
emailSubject: req.meetingTypeApi.emailSubject || '',
|
|
4661
|
+
emailDescription: req.meetingTypeApi.emailDescription || '',
|
|
4662
|
+
isPinned: req.meetingTypeApi.isPinned || false,
|
|
4645
4663
|
};
|
|
4646
4664
|
}
|
|
4647
4665
|
function MeetingTypeToApi(req) {
|
|
@@ -4665,7 +4683,10 @@ function MeetingTypeToApi(req) {
|
|
|
4665
4683
|
location: m.location || undefined,
|
|
4666
4684
|
locationGuidelines: m.locationGuidelines || undefined,
|
|
4667
4685
|
isClientSiteMeeting: m.isClientSiteMeeting || undefined,
|
|
4686
|
+
emailSubject: m.emailSubject || undefined,
|
|
4687
|
+
emailDescription: m.emailDescription || undefined,
|
|
4668
4688
|
isClientChoice: m.isClientChoice || undefined,
|
|
4689
|
+
isPinned: m.isPinned || undefined,
|
|
4669
4690
|
};
|
|
4670
4691
|
}
|
|
4671
4692
|
|