@vendasta/meetings 0.89.0 → 0.91.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-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -7
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +13 -1
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -8
- package/esm2020/lib/_internal/objects/meeting-host.mjs +7 -1
- package/esm2020/lib/_internal/objects/meeting-type.mjs +11 -1
- package/esm2020/lib/host/url.mjs +2 -2
- package/esm2020/lib/shared/meeting-type.mjs +6 -2
- package/fesm2015/vendasta-meetings.mjs +33 -8
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +33 -8
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -2
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +2 -0
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -0
- package/lib/_internal/objects/groups-and-services.d.ts +4 -0
- package/lib/_internal/objects/meeting-guest.d.ts +1 -2
- package/lib/_internal/objects/meeting-host.d.ts +2 -0
- package/lib/_internal/objects/meeting-type.d.ts +3 -0
- package/lib/shared/meeting-type.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1670,6 +1670,9 @@ class MeetingType {
|
|
|
1670
1670
|
if (proto.noticeTime) {
|
|
1671
1671
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1672
1672
|
}
|
|
1673
|
+
if (proto.hostUsers) {
|
|
1674
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
1675
|
+
}
|
|
1673
1676
|
return m;
|
|
1674
1677
|
}
|
|
1675
1678
|
constructor(kwargs) {
|
|
@@ -1749,6 +1752,12 @@ class MeetingType {
|
|
|
1749
1752
|
if (typeof this.calendarType !== 'undefined') {
|
|
1750
1753
|
toReturn['calendarType'] = this.calendarType;
|
|
1751
1754
|
}
|
|
1755
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
1756
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
1757
|
+
}
|
|
1758
|
+
if (typeof this.teamName !== 'undefined') {
|
|
1759
|
+
toReturn['teamName'] = this.teamName;
|
|
1760
|
+
}
|
|
1752
1761
|
return toReturn;
|
|
1753
1762
|
}
|
|
1754
1763
|
}
|
|
@@ -1999,9 +2008,6 @@ class GetMeetingTypeResponse {
|
|
|
1999
2008
|
if (proto.meetingType) {
|
|
2000
2009
|
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
2001
2010
|
}
|
|
2002
|
-
if (proto.hostUsers) {
|
|
2003
|
-
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
2004
|
-
}
|
|
2005
2011
|
return m;
|
|
2006
2012
|
}
|
|
2007
2013
|
constructor(kwargs) {
|
|
@@ -2015,9 +2021,6 @@ class GetMeetingTypeResponse {
|
|
|
2015
2021
|
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
2016
2022
|
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
2017
2023
|
}
|
|
2018
|
-
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
2019
|
-
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
2020
|
-
}
|
|
2021
2024
|
return toReturn;
|
|
2022
2025
|
}
|
|
2023
2026
|
}
|
|
@@ -2414,6 +2417,12 @@ class Group {
|
|
|
2414
2417
|
if (typeof this.associations !== 'undefined' && this.associations !== null) {
|
|
2415
2418
|
toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
|
|
2416
2419
|
}
|
|
2420
|
+
if (typeof this.hexColor !== 'undefined') {
|
|
2421
|
+
toReturn['hexColor'] = this.hexColor;
|
|
2422
|
+
}
|
|
2423
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
2424
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2425
|
+
}
|
|
2417
2426
|
return toReturn;
|
|
2418
2427
|
}
|
|
2419
2428
|
}
|
|
@@ -2452,6 +2461,12 @@ class Service {
|
|
|
2452
2461
|
if (typeof this.associations !== 'undefined' && this.associations !== null) {
|
|
2453
2462
|
toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
|
|
2454
2463
|
}
|
|
2464
|
+
if (typeof this.hexColor !== 'undefined') {
|
|
2465
|
+
toReturn['hexColor'] = this.hexColor;
|
|
2466
|
+
}
|
|
2467
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
2468
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2469
|
+
}
|
|
2455
2470
|
return toReturn;
|
|
2456
2471
|
}
|
|
2457
2472
|
}
|
|
@@ -2957,6 +2972,9 @@ class DeleteGroupRequest {
|
|
|
2957
2972
|
if (typeof this.id !== 'undefined') {
|
|
2958
2973
|
toReturn['id'] = this.id;
|
|
2959
2974
|
}
|
|
2975
|
+
if (typeof this.hostId !== 'undefined') {
|
|
2976
|
+
toReturn['hostId'] = this.hostId;
|
|
2977
|
+
}
|
|
2960
2978
|
return toReturn;
|
|
2961
2979
|
}
|
|
2962
2980
|
}
|
|
@@ -2997,6 +3015,9 @@ class DeleteServiceRequest {
|
|
|
2997
3015
|
if (typeof this.id !== 'undefined') {
|
|
2998
3016
|
toReturn['id'] = this.id;
|
|
2999
3017
|
}
|
|
3018
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3019
|
+
toReturn['hostId'] = this.hostId;
|
|
3020
|
+
}
|
|
3000
3021
|
return toReturn;
|
|
3001
3022
|
}
|
|
3002
3023
|
}
|
|
@@ -5055,7 +5076,7 @@ function getDomainFromEnvironment(env) {
|
|
|
5055
5076
|
if (env === Environment.PROD) {
|
|
5056
5077
|
return 'bookmenow.info';
|
|
5057
5078
|
}
|
|
5058
|
-
return '
|
|
5079
|
+
return 'meetings-demo.apigateway.co';
|
|
5059
5080
|
}
|
|
5060
5081
|
function addMetadataToBookingLink(req) {
|
|
5061
5082
|
if (!req.metadata) {
|
|
@@ -5122,7 +5143,9 @@ function MeetingTypeFromApi(req) {
|
|
|
5122
5143
|
emailSubject: req.meetingTypeApi.emailSubject || '',
|
|
5123
5144
|
emailDescription: req.meetingTypeApi.emailDescription || '',
|
|
5124
5145
|
isPinned: req.meetingTypeApi.isPinned || false,
|
|
5125
|
-
CalendarType: req.meetingTypeApi.calendarType || ''
|
|
5146
|
+
CalendarType: req.meetingTypeApi.calendarType || '',
|
|
5147
|
+
hostUsers: req.meetingTypeApi.hostUsers || [],
|
|
5148
|
+
teamName: req.meetingTypeApi.teamName || ''
|
|
5126
5149
|
};
|
|
5127
5150
|
}
|
|
5128
5151
|
function MeetingTypeToApi(req) {
|
|
@@ -5151,6 +5174,8 @@ function MeetingTypeToApi(req) {
|
|
|
5151
5174
|
isClientChoice: m.isClientChoice || undefined,
|
|
5152
5175
|
isPinned: m.isPinned || undefined,
|
|
5153
5176
|
calendarType: m.CalendarType || undefined,
|
|
5177
|
+
hostUsers: m.hostUsers || undefined,
|
|
5178
|
+
teamName: m.teamName || undefined
|
|
5154
5179
|
};
|
|
5155
5180
|
}
|
|
5156
5181
|
|