@vendasta/meetings 1.4.1 → 1.4.4
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/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/meeting-host.enum.mjs +25 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- 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 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +13 -9
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +13 -9
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/annotations.mjs +50 -0
- package/esm2020/lib/_internal/objects/index.mjs +4 -3
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +48 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +195 -20
- package/esm2020/lib/_internal/objects/meeting-type.mjs +7 -1
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/esm2020/lib/guest/guest.service.mjs +4 -1
- package/esm2020/lib/shared/meeting-type.mjs +5 -1
- package/fesm2015/vendasta-meetings.mjs +517 -200
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +517 -200
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/meeting-host.enum.d.ts +21 -0
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- package/lib/_internal/interfaces/annotations.interface.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +3 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +9 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +35 -7
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +2 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-guest.api.service.d.ts +6 -7
- package/lib/_internal/meeting-host.api.service.d.ts +6 -7
- package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
- package/lib/_internal/objects/annotations.d.ts +15 -0
- package/lib/_internal/objects/index.d.ts +3 -2
- package/lib/_internal/objects/meeting-guest.d.ts +15 -1
- package/lib/_internal/objects/meeting-host.d.ts +57 -14
- package/lib/_internal/objects/meeting-type.d.ts +2 -0
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/lib/guest/guest.service.d.ts +9 -0
- package/lib/shared/meeting-type.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Injectable, inject } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
6
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
5
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
7
6
|
|
|
8
7
|
// *********************************
|
|
9
8
|
// Code generated by sdkgen
|
|
@@ -177,6 +176,30 @@ var BookingFailureReason;
|
|
|
177
176
|
BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED"] = 0] = "BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED";
|
|
178
177
|
BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED"] = 1] = "BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED";
|
|
179
178
|
})(BookingFailureReason || (BookingFailureReason = {}));
|
|
179
|
+
var Recurrence;
|
|
180
|
+
(function (Recurrence) {
|
|
181
|
+
Recurrence[Recurrence["RECURRENCE_DAILY"] = 0] = "RECURRENCE_DAILY";
|
|
182
|
+
Recurrence[Recurrence["RECURRENCE_WEEKLY"] = 1] = "RECURRENCE_WEEKLY";
|
|
183
|
+
Recurrence[Recurrence["RECURRENCE_WORKING_WEEK"] = 2] = "RECURRENCE_WORKING_WEEK";
|
|
184
|
+
Recurrence[Recurrence["RECURRENCE_MONTHLY"] = 3] = "RECURRENCE_MONTHLY";
|
|
185
|
+
Recurrence[Recurrence["RECURRENCE_QUARTERLY"] = 4] = "RECURRENCE_QUARTERLY";
|
|
186
|
+
})(Recurrence || (Recurrence = {}));
|
|
187
|
+
var RegistrationMode;
|
|
188
|
+
(function (RegistrationMode) {
|
|
189
|
+
RegistrationMode[RegistrationMode["REGISTRATION_MODE_ALL"] = 0] = "REGISTRATION_MODE_ALL";
|
|
190
|
+
RegistrationMode[RegistrationMode["REGISTRATION_MODE_ANY"] = 1] = "REGISTRATION_MODE_ANY";
|
|
191
|
+
})(RegistrationMode || (RegistrationMode = {}));
|
|
192
|
+
var Weekday;
|
|
193
|
+
(function (Weekday) {
|
|
194
|
+
Weekday[Weekday["WEEKDAY_UNSPECIFIED"] = 0] = "WEEKDAY_UNSPECIFIED";
|
|
195
|
+
Weekday[Weekday["WEEKDAY_MONDAY"] = 1] = "WEEKDAY_MONDAY";
|
|
196
|
+
Weekday[Weekday["WEEKDAY_TUESDAY"] = 2] = "WEEKDAY_TUESDAY";
|
|
197
|
+
Weekday[Weekday["WEEKDAY_WEDNESDAY"] = 3] = "WEEKDAY_WEDNESDAY";
|
|
198
|
+
Weekday[Weekday["WEEKDAY_THURSDAY"] = 4] = "WEEKDAY_THURSDAY";
|
|
199
|
+
Weekday[Weekday["WEEKDAY_FRIDAY"] = 5] = "WEEKDAY_FRIDAY";
|
|
200
|
+
Weekday[Weekday["WEEKDAY_SATURDAY"] = 6] = "WEEKDAY_SATURDAY";
|
|
201
|
+
Weekday[Weekday["WEEKDAY_SUNDAY"] = 7] = "WEEKDAY_SUNDAY";
|
|
202
|
+
})(Weekday || (Weekday = {}));
|
|
180
203
|
|
|
181
204
|
// *********************************
|
|
182
205
|
// Code generated by sdkgen
|
|
@@ -198,7 +221,7 @@ var DayOfWeek;
|
|
|
198
221
|
|
|
199
222
|
// *********************************
|
|
200
223
|
|
|
201
|
-
function enumStringToValue$
|
|
224
|
+
function enumStringToValue$c(enumRef, value) {
|
|
202
225
|
if (typeof value === 'number') {
|
|
203
226
|
return value;
|
|
204
227
|
}
|
|
@@ -209,7 +232,7 @@ class CreateZoomMeetingRequest {
|
|
|
209
232
|
let m = new CreateZoomMeetingRequest();
|
|
210
233
|
m = Object.assign(m, proto);
|
|
211
234
|
if (proto.type) {
|
|
212
|
-
m.type = enumStringToValue$
|
|
235
|
+
m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
|
|
213
236
|
}
|
|
214
237
|
if (proto.duration) {
|
|
215
238
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -277,7 +300,7 @@ class CreateZoomMeetingResponse {
|
|
|
277
300
|
m.meetingId = parseInt(proto.meetingId, 10);
|
|
278
301
|
}
|
|
279
302
|
if (proto.type) {
|
|
280
|
-
m.type = enumStringToValue$
|
|
303
|
+
m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
|
|
281
304
|
}
|
|
282
305
|
if (proto.duration) {
|
|
283
306
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -369,7 +392,7 @@ class ZoomMeetingRecurrence {
|
|
|
369
392
|
let m = new ZoomMeetingRecurrence();
|
|
370
393
|
m = Object.assign(m, proto);
|
|
371
394
|
if (proto.type) {
|
|
372
|
-
m.type = enumStringToValue$
|
|
395
|
+
m.type = enumStringToValue$c(ZoomMeetingRecurrenceType, proto.type);
|
|
373
396
|
}
|
|
374
397
|
if (proto.repeatInterval) {
|
|
375
398
|
m.repeatInterval = parseInt(proto.repeatInterval, 10);
|
|
@@ -378,10 +401,10 @@ class ZoomMeetingRecurrence {
|
|
|
378
401
|
m.monthlyDay = parseInt(proto.monthlyDay, 10);
|
|
379
402
|
}
|
|
380
403
|
if (proto.monthlyWeek) {
|
|
381
|
-
m.monthlyWeek = enumStringToValue$
|
|
404
|
+
m.monthlyWeek = enumStringToValue$c(ZoomMonthlyWeek, proto.monthlyWeek);
|
|
382
405
|
}
|
|
383
406
|
if (proto.monthlyWeekDay) {
|
|
384
|
-
m.monthlyWeekDay = enumStringToValue$
|
|
407
|
+
m.monthlyWeekDay = enumStringToValue$c(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
|
|
385
408
|
}
|
|
386
409
|
if (proto.endTimes) {
|
|
387
410
|
m.endTimes = parseInt(proto.endTimes, 10);
|
|
@@ -428,10 +451,10 @@ class ZoomMeetingSettings {
|
|
|
428
451
|
let m = new ZoomMeetingSettings();
|
|
429
452
|
m = Object.assign(m, proto);
|
|
430
453
|
if (proto.approvalType) {
|
|
431
|
-
m.approvalType = enumStringToValue$
|
|
454
|
+
m.approvalType = enumStringToValue$c(ZoomApprovalType, proto.approvalType);
|
|
432
455
|
}
|
|
433
456
|
if (proto.registrationType) {
|
|
434
|
-
m.registrationType = enumStringToValue$
|
|
457
|
+
m.registrationType = enumStringToValue$c(ZoomRegistrationType, proto.registrationType);
|
|
435
458
|
}
|
|
436
459
|
return m;
|
|
437
460
|
}
|
|
@@ -574,7 +597,7 @@ class ZoomOccurrence {
|
|
|
574
597
|
}
|
|
575
598
|
}
|
|
576
599
|
|
|
577
|
-
function enumStringToValue$
|
|
600
|
+
function enumStringToValue$b(enumRef, value) {
|
|
578
601
|
if (typeof value === 'number') {
|
|
579
602
|
return value;
|
|
580
603
|
}
|
|
@@ -1224,7 +1247,7 @@ class GoogleMeetMeetingReminders {
|
|
|
1224
1247
|
}
|
|
1225
1248
|
}
|
|
1226
1249
|
|
|
1227
|
-
function enumStringToValue$
|
|
1250
|
+
function enumStringToValue$a(enumRef, value) {
|
|
1228
1251
|
if (typeof value === 'number') {
|
|
1229
1252
|
return value;
|
|
1230
1253
|
}
|
|
@@ -1235,10 +1258,10 @@ class MeetingSourceInfo {
|
|
|
1235
1258
|
let m = new MeetingSourceInfo();
|
|
1236
1259
|
m = Object.assign(m, proto);
|
|
1237
1260
|
if (proto.source) {
|
|
1238
|
-
m.source = enumStringToValue$
|
|
1261
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
1239
1262
|
}
|
|
1240
1263
|
if (proto.status) {
|
|
1241
|
-
m.status = enumStringToValue$
|
|
1264
|
+
m.status = enumStringToValue$a(MeetingSourceStatus, proto.status);
|
|
1242
1265
|
}
|
|
1243
1266
|
return m;
|
|
1244
1267
|
}
|
|
@@ -1328,7 +1351,7 @@ class MeetingSourceQuery {
|
|
|
1328
1351
|
let m = new MeetingSourceQuery();
|
|
1329
1352
|
m = Object.assign(m, proto);
|
|
1330
1353
|
if (proto.source) {
|
|
1331
|
-
m.source = enumStringToValue$
|
|
1354
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
1332
1355
|
}
|
|
1333
1356
|
return m;
|
|
1334
1357
|
}
|
|
@@ -1353,120 +1376,7 @@ class MeetingSourceQuery {
|
|
|
1353
1376
|
}
|
|
1354
1377
|
}
|
|
1355
1378
|
|
|
1356
|
-
function enumStringToValue$
|
|
1357
|
-
if (typeof value === 'number') {
|
|
1358
|
-
return value;
|
|
1359
|
-
}
|
|
1360
|
-
return enumRef[value];
|
|
1361
|
-
}
|
|
1362
|
-
class TimeOfDay {
|
|
1363
|
-
static fromProto(proto) {
|
|
1364
|
-
let m = new TimeOfDay();
|
|
1365
|
-
m = Object.assign(m, proto);
|
|
1366
|
-
return m;
|
|
1367
|
-
}
|
|
1368
|
-
constructor(kwargs) {
|
|
1369
|
-
if (!kwargs) {
|
|
1370
|
-
return;
|
|
1371
|
-
}
|
|
1372
|
-
Object.assign(this, kwargs);
|
|
1373
|
-
}
|
|
1374
|
-
toApiJson() {
|
|
1375
|
-
const toReturn = {};
|
|
1376
|
-
if (typeof this.hours !== 'undefined') {
|
|
1377
|
-
toReturn['hours'] = this.hours;
|
|
1378
|
-
}
|
|
1379
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1380
|
-
toReturn['minutes'] = this.minutes;
|
|
1381
|
-
}
|
|
1382
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1383
|
-
toReturn['seconds'] = this.seconds;
|
|
1384
|
-
}
|
|
1385
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1386
|
-
toReturn['nanos'] = this.nanos;
|
|
1387
|
-
}
|
|
1388
|
-
return toReturn;
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
function enumStringToValue$7(enumRef, value) {
|
|
1393
|
-
if (typeof value === 'number') {
|
|
1394
|
-
return value;
|
|
1395
|
-
}
|
|
1396
|
-
return enumRef[value];
|
|
1397
|
-
}
|
|
1398
|
-
class DateTime {
|
|
1399
|
-
static fromProto(proto) {
|
|
1400
|
-
let m = new DateTime();
|
|
1401
|
-
m = Object.assign(m, proto);
|
|
1402
|
-
if (proto.timeZone) {
|
|
1403
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1404
|
-
}
|
|
1405
|
-
return m;
|
|
1406
|
-
}
|
|
1407
|
-
constructor(kwargs) {
|
|
1408
|
-
if (!kwargs) {
|
|
1409
|
-
return;
|
|
1410
|
-
}
|
|
1411
|
-
Object.assign(this, kwargs);
|
|
1412
|
-
}
|
|
1413
|
-
toApiJson() {
|
|
1414
|
-
const toReturn = {};
|
|
1415
|
-
if (typeof this.year !== 'undefined') {
|
|
1416
|
-
toReturn['year'] = this.year;
|
|
1417
|
-
}
|
|
1418
|
-
if (typeof this.month !== 'undefined') {
|
|
1419
|
-
toReturn['month'] = this.month;
|
|
1420
|
-
}
|
|
1421
|
-
if (typeof this.day !== 'undefined') {
|
|
1422
|
-
toReturn['day'] = this.day;
|
|
1423
|
-
}
|
|
1424
|
-
if (typeof this.hours !== 'undefined') {
|
|
1425
|
-
toReturn['hours'] = this.hours;
|
|
1426
|
-
}
|
|
1427
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1428
|
-
toReturn['minutes'] = this.minutes;
|
|
1429
|
-
}
|
|
1430
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1431
|
-
toReturn['seconds'] = this.seconds;
|
|
1432
|
-
}
|
|
1433
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1434
|
-
toReturn['nanos'] = this.nanos;
|
|
1435
|
-
}
|
|
1436
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
1437
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
1438
|
-
}
|
|
1439
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1440
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1441
|
-
}
|
|
1442
|
-
return toReturn;
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
class TimeZone {
|
|
1446
|
-
static fromProto(proto) {
|
|
1447
|
-
let m = new TimeZone();
|
|
1448
|
-
m = Object.assign(m, proto);
|
|
1449
|
-
return m;
|
|
1450
|
-
}
|
|
1451
|
-
constructor(kwargs) {
|
|
1452
|
-
if (!kwargs) {
|
|
1453
|
-
return;
|
|
1454
|
-
}
|
|
1455
|
-
Object.assign(this, kwargs);
|
|
1456
|
-
}
|
|
1457
|
-
toApiJson() {
|
|
1458
|
-
const toReturn = {};
|
|
1459
|
-
if (typeof this.id !== 'undefined') {
|
|
1460
|
-
toReturn['id'] = this.id;
|
|
1461
|
-
}
|
|
1462
|
-
if (typeof this.version !== 'undefined') {
|
|
1463
|
-
toReturn['version'] = this.version;
|
|
1464
|
-
}
|
|
1465
|
-
return toReturn;
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
function enumStringToValue$6(enumRef, value) {
|
|
1379
|
+
function enumStringToValue$9(enumRef, value) {
|
|
1470
1380
|
if (typeof value === 'number') {
|
|
1471
1381
|
return value;
|
|
1472
1382
|
}
|
|
@@ -1477,7 +1387,7 @@ class Answer {
|
|
|
1477
1387
|
let m = new Answer();
|
|
1478
1388
|
m = Object.assign(m, proto);
|
|
1479
1389
|
if (proto.type) {
|
|
1480
|
-
m.type = enumStringToValue$
|
|
1390
|
+
m.type = enumStringToValue$9(FormFieldType, proto.type);
|
|
1481
1391
|
}
|
|
1482
1392
|
return m;
|
|
1483
1393
|
}
|
|
@@ -1619,7 +1529,7 @@ class Calendar {
|
|
|
1619
1529
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1620
1530
|
}
|
|
1621
1531
|
if (proto.calendarType) {
|
|
1622
|
-
m.calendarType = enumStringToValue$
|
|
1532
|
+
m.calendarType = enumStringToValue$9(CalendarType, proto.calendarType);
|
|
1623
1533
|
}
|
|
1624
1534
|
return m;
|
|
1625
1535
|
}
|
|
@@ -1895,7 +1805,7 @@ class Preferences {
|
|
|
1895
1805
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1896
1806
|
}
|
|
1897
1807
|
if (proto.meetingIntegration) {
|
|
1898
|
-
m.meetingIntegration = enumStringToValue$
|
|
1808
|
+
m.meetingIntegration = enumStringToValue$9(MeetingSource, proto.meetingIntegration);
|
|
1899
1809
|
}
|
|
1900
1810
|
if (proto.availabilityIncrement) {
|
|
1901
1811
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1910,10 +1820,10 @@ class Preferences {
|
|
|
1910
1820
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1911
1821
|
}
|
|
1912
1822
|
if (proto.calendarIntegration) {
|
|
1913
|
-
m.calendarIntegration = enumStringToValue$
|
|
1823
|
+
m.calendarIntegration = enumStringToValue$9(CalendarSource, proto.calendarIntegration);
|
|
1914
1824
|
}
|
|
1915
1825
|
if (proto.onBoardingState) {
|
|
1916
|
-
m.onBoardingState = enumStringToValue$
|
|
1826
|
+
m.onBoardingState = enumStringToValue$9(OnBoardingState, proto.onBoardingState);
|
|
1917
1827
|
}
|
|
1918
1828
|
return m;
|
|
1919
1829
|
}
|
|
@@ -1985,7 +1895,7 @@ class TimeRange {
|
|
|
1985
1895
|
}
|
|
1986
1896
|
}
|
|
1987
1897
|
|
|
1988
|
-
function enumStringToValue$
|
|
1898
|
+
function enumStringToValue$8(enumRef, value) {
|
|
1989
1899
|
if (typeof value === 'number') {
|
|
1990
1900
|
return value;
|
|
1991
1901
|
}
|
|
@@ -2021,7 +1931,7 @@ class DateRange {
|
|
|
2021
1931
|
}
|
|
2022
1932
|
}
|
|
2023
1933
|
|
|
2024
|
-
function enumStringToValue$
|
|
1934
|
+
function enumStringToValue$7(enumRef, value) {
|
|
2025
1935
|
if (typeof value === 'number') {
|
|
2026
1936
|
return value;
|
|
2027
1937
|
}
|
|
@@ -2032,7 +1942,7 @@ class EventTypeDateRange {
|
|
|
2032
1942
|
let m = new EventTypeDateRange();
|
|
2033
1943
|
m = Object.assign(m, proto);
|
|
2034
1944
|
if (proto.dateRangeType) {
|
|
2035
|
-
m.dateRangeType = enumStringToValue$
|
|
1945
|
+
m.dateRangeType = enumStringToValue$7(DateRangeType, proto.dateRangeType);
|
|
2036
1946
|
}
|
|
2037
1947
|
if (proto.customDateRange) {
|
|
2038
1948
|
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
@@ -2067,7 +1977,7 @@ class Field {
|
|
|
2067
1977
|
let m = new Field();
|
|
2068
1978
|
m = Object.assign(m, proto);
|
|
2069
1979
|
if (proto.type) {
|
|
2070
|
-
m.type = enumStringToValue$
|
|
1980
|
+
m.type = enumStringToValue$7(FormFieldType, proto.type);
|
|
2071
1981
|
}
|
|
2072
1982
|
return m;
|
|
2073
1983
|
}
|
|
@@ -2134,7 +2044,7 @@ class MeetingType {
|
|
|
2134
2044
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
2135
2045
|
}
|
|
2136
2046
|
if (proto.locationType) {
|
|
2137
|
-
m.locationType = enumStringToValue$
|
|
2047
|
+
m.locationType = enumStringToValue$7(MeetingLocationType, proto.locationType);
|
|
2138
2048
|
}
|
|
2139
2049
|
if (proto.hostUsers) {
|
|
2140
2050
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -2146,7 +2056,7 @@ class MeetingType {
|
|
|
2146
2056
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
2147
2057
|
}
|
|
2148
2058
|
if (proto.meetingType) {
|
|
2149
|
-
m.meetingType = enumStringToValue$
|
|
2059
|
+
m.meetingType = enumStringToValue$7(TeamEventMeetingType, proto.meetingType);
|
|
2150
2060
|
}
|
|
2151
2061
|
if (proto.attendeeCount) {
|
|
2152
2062
|
m.attendeeCount = parseInt(proto.attendeeCount, 10);
|
|
@@ -2263,6 +2173,12 @@ class MeetingType {
|
|
|
2263
2173
|
if (typeof this.hostOrderDetails !== 'undefined' && this.hostOrderDetails !== null) {
|
|
2264
2174
|
toReturn['hostOrderDetails'] = 'toApiJson' in this.hostOrderDetails ? this.hostOrderDetails.toApiJson() : this.hostOrderDetails;
|
|
2265
2175
|
}
|
|
2176
|
+
if (typeof this.isEmailRequired !== 'undefined') {
|
|
2177
|
+
toReturn['isEmailRequired'] = this.isEmailRequired;
|
|
2178
|
+
}
|
|
2179
|
+
if (typeof this.isPhoneNumberRequired !== 'undefined') {
|
|
2180
|
+
toReturn['isPhoneNumberRequired'] = this.isPhoneNumberRequired;
|
|
2181
|
+
}
|
|
2266
2182
|
return toReturn;
|
|
2267
2183
|
}
|
|
2268
2184
|
}
|
|
@@ -2271,7 +2187,7 @@ class RegistrationCutOff {
|
|
|
2271
2187
|
let m = new RegistrationCutOff();
|
|
2272
2188
|
m = Object.assign(m, proto);
|
|
2273
2189
|
if (proto.unit) {
|
|
2274
|
-
m.unit = enumStringToValue$
|
|
2190
|
+
m.unit = enumStringToValue$7(RegistrationCutOffUnit, proto.unit);
|
|
2275
2191
|
}
|
|
2276
2192
|
if (proto.value) {
|
|
2277
2193
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2300,7 +2216,7 @@ class RelativeDateRange {
|
|
|
2300
2216
|
let m = new RelativeDateRange();
|
|
2301
2217
|
m = Object.assign(m, proto);
|
|
2302
2218
|
if (proto.unit) {
|
|
2303
|
-
m.unit = enumStringToValue$
|
|
2219
|
+
m.unit = enumStringToValue$7(RelativeTimeUnit, proto.unit);
|
|
2304
2220
|
}
|
|
2305
2221
|
if (proto.value) {
|
|
2306
2222
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2325,7 +2241,7 @@ class RelativeDateRange {
|
|
|
2325
2241
|
}
|
|
2326
2242
|
}
|
|
2327
2243
|
|
|
2328
|
-
function enumStringToValue$
|
|
2244
|
+
function enumStringToValue$6(enumRef, value) {
|
|
2329
2245
|
if (typeof value === 'number') {
|
|
2330
2246
|
return value;
|
|
2331
2247
|
}
|
|
@@ -2470,7 +2386,7 @@ class Service {
|
|
|
2470
2386
|
}
|
|
2471
2387
|
}
|
|
2472
2388
|
|
|
2473
|
-
function enumStringToValue$
|
|
2389
|
+
function enumStringToValue$5(enumRef, value) {
|
|
2474
2390
|
if (typeof value === 'number') {
|
|
2475
2391
|
return value;
|
|
2476
2392
|
}
|
|
@@ -2702,6 +2618,52 @@ class GetHostResponse {
|
|
|
2702
2618
|
return toReturn;
|
|
2703
2619
|
}
|
|
2704
2620
|
}
|
|
2621
|
+
class GetMeetingCalendarInfoRequest {
|
|
2622
|
+
static fromProto(proto) {
|
|
2623
|
+
let m = new GetMeetingCalendarInfoRequest();
|
|
2624
|
+
m = Object.assign(m, proto);
|
|
2625
|
+
return m;
|
|
2626
|
+
}
|
|
2627
|
+
constructor(kwargs) {
|
|
2628
|
+
if (!kwargs) {
|
|
2629
|
+
return;
|
|
2630
|
+
}
|
|
2631
|
+
Object.assign(this, kwargs);
|
|
2632
|
+
}
|
|
2633
|
+
toApiJson() {
|
|
2634
|
+
const toReturn = {};
|
|
2635
|
+
if (typeof this.meetingId !== 'undefined') {
|
|
2636
|
+
toReturn['meetingId'] = this.meetingId;
|
|
2637
|
+
}
|
|
2638
|
+
return toReturn;
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
class GetMeetingCalendarInfoResponse {
|
|
2642
|
+
static fromProto(proto) {
|
|
2643
|
+
let m = new GetMeetingCalendarInfoResponse();
|
|
2644
|
+
m = Object.assign(m, proto);
|
|
2645
|
+
return m;
|
|
2646
|
+
}
|
|
2647
|
+
constructor(kwargs) {
|
|
2648
|
+
if (!kwargs) {
|
|
2649
|
+
return;
|
|
2650
|
+
}
|
|
2651
|
+
Object.assign(this, kwargs);
|
|
2652
|
+
}
|
|
2653
|
+
toApiJson() {
|
|
2654
|
+
const toReturn = {};
|
|
2655
|
+
if (typeof this.googleCalendarLink !== 'undefined') {
|
|
2656
|
+
toReturn['googleCalendarLink'] = this.googleCalendarLink;
|
|
2657
|
+
}
|
|
2658
|
+
if (typeof this.outlookCalendarLink !== 'undefined') {
|
|
2659
|
+
toReturn['outlookCalendarLink'] = this.outlookCalendarLink;
|
|
2660
|
+
}
|
|
2661
|
+
if (typeof this.linkReady !== 'undefined') {
|
|
2662
|
+
toReturn['linkReady'] = this.linkReady;
|
|
2663
|
+
}
|
|
2664
|
+
return toReturn;
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2705
2667
|
class GetMeetingTypeRequest {
|
|
2706
2668
|
static fromProto(proto) {
|
|
2707
2669
|
let m = new GetMeetingTypeRequest();
|
|
@@ -3015,10 +2977,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
3015
2977
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
3016
2978
|
}
|
|
3017
2979
|
if (proto.locationType) {
|
|
3018
|
-
m.locationType = enumStringToValue$
|
|
2980
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
3019
2981
|
}
|
|
3020
2982
|
if (proto.meetingType) {
|
|
3021
|
-
m.meetingType = enumStringToValue$
|
|
2983
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
3022
2984
|
}
|
|
3023
2985
|
return m;
|
|
3024
2986
|
}
|
|
@@ -3377,7 +3339,7 @@ class RegisterSessionRequest {
|
|
|
3377
3339
|
}
|
|
3378
3340
|
}
|
|
3379
3341
|
|
|
3380
|
-
function enumStringToValue$
|
|
3342
|
+
function enumStringToValue$4(enumRef, value) {
|
|
3381
3343
|
if (typeof value === 'number') {
|
|
3382
3344
|
return value;
|
|
3383
3345
|
}
|
|
@@ -3404,15 +3366,15 @@ class FieldMask {
|
|
|
3404
3366
|
}
|
|
3405
3367
|
}
|
|
3406
3368
|
|
|
3407
|
-
function enumStringToValue(enumRef, value) {
|
|
3369
|
+
function enumStringToValue$3(enumRef, value) {
|
|
3408
3370
|
if (typeof value === 'number') {
|
|
3409
3371
|
return value;
|
|
3410
3372
|
}
|
|
3411
3373
|
return enumRef[value];
|
|
3412
3374
|
}
|
|
3413
|
-
class
|
|
3375
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
3414
3376
|
static fromProto(proto) {
|
|
3415
|
-
let m = new
|
|
3377
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
3416
3378
|
m = Object.assign(m, proto);
|
|
3417
3379
|
return m;
|
|
3418
3380
|
}
|
|
@@ -3433,9 +3395,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
3433
3395
|
return toReturn;
|
|
3434
3396
|
}
|
|
3435
3397
|
}
|
|
3436
|
-
class
|
|
3398
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
3437
3399
|
static fromProto(proto) {
|
|
3438
|
-
let m = new
|
|
3400
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
3439
3401
|
m = Object.assign(m, proto);
|
|
3440
3402
|
return m;
|
|
3441
3403
|
}
|
|
@@ -3484,7 +3446,7 @@ class AvailabilityRule {
|
|
|
3484
3446
|
let m = new AvailabilityRule();
|
|
3485
3447
|
m = Object.assign(m, proto);
|
|
3486
3448
|
if (proto.day) {
|
|
3487
|
-
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
3449
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
3488
3450
|
}
|
|
3489
3451
|
if (proto.timeSlot) {
|
|
3490
3452
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3655,6 +3617,12 @@ class CancelMeetingRequest {
|
|
|
3655
3617
|
if (typeof this.cancellationReason !== 'undefined') {
|
|
3656
3618
|
toReturn['cancellationReason'] = this.cancellationReason;
|
|
3657
3619
|
}
|
|
3620
|
+
if (typeof this.isSeriesCancellation !== 'undefined') {
|
|
3621
|
+
toReturn['isSeriesCancellation'] = this.isSeriesCancellation;
|
|
3622
|
+
}
|
|
3623
|
+
if (typeof this.sessionId !== 'undefined') {
|
|
3624
|
+
toReturn['sessionId'] = this.sessionId;
|
|
3625
|
+
}
|
|
3658
3626
|
return toReturn;
|
|
3659
3627
|
}
|
|
3660
3628
|
}
|
|
@@ -4209,10 +4177,13 @@ class EnsureSessionEventCalendarsExistResponse {
|
|
|
4209
4177
|
return toReturn;
|
|
4210
4178
|
}
|
|
4211
4179
|
}
|
|
4212
|
-
class
|
|
4180
|
+
class ListBookedMeetingsRequestFilters {
|
|
4213
4181
|
static fromProto(proto) {
|
|
4214
|
-
let m = new
|
|
4182
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
4215
4183
|
m = Object.assign(m, proto);
|
|
4184
|
+
if (proto.timeSpan) {
|
|
4185
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
4186
|
+
}
|
|
4216
4187
|
return m;
|
|
4217
4188
|
}
|
|
4218
4189
|
constructor(kwargs) {
|
|
@@ -4223,22 +4194,22 @@ class ListAvailabilityRequestFilters {
|
|
|
4223
4194
|
}
|
|
4224
4195
|
toApiJson() {
|
|
4225
4196
|
const toReturn = {};
|
|
4197
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
4198
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
4199
|
+
}
|
|
4226
4200
|
if (typeof this.hostId !== 'undefined') {
|
|
4227
4201
|
toReturn['hostId'] = this.hostId;
|
|
4228
4202
|
}
|
|
4229
|
-
if (typeof this.
|
|
4230
|
-
toReturn['
|
|
4203
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
4204
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
4231
4205
|
}
|
|
4232
4206
|
return toReturn;
|
|
4233
4207
|
}
|
|
4234
4208
|
}
|
|
4235
|
-
class
|
|
4209
|
+
class ListAvailabilityRequestFilters {
|
|
4236
4210
|
static fromProto(proto) {
|
|
4237
|
-
let m = new
|
|
4211
|
+
let m = new ListAvailabilityRequestFilters();
|
|
4238
4212
|
m = Object.assign(m, proto);
|
|
4239
|
-
if (proto.timeSpan) {
|
|
4240
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
4241
|
-
}
|
|
4242
4213
|
return m;
|
|
4243
4214
|
}
|
|
4244
4215
|
constructor(kwargs) {
|
|
@@ -4249,14 +4220,11 @@ class ListBookedMeetingsRequestFilters {
|
|
|
4249
4220
|
}
|
|
4250
4221
|
toApiJson() {
|
|
4251
4222
|
const toReturn = {};
|
|
4252
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
4253
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
4254
|
-
}
|
|
4255
4223
|
if (typeof this.hostId !== 'undefined') {
|
|
4256
4224
|
toReturn['hostId'] = this.hostId;
|
|
4257
4225
|
}
|
|
4258
|
-
if (typeof this.
|
|
4259
|
-
toReturn['
|
|
4226
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
4227
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
4260
4228
|
}
|
|
4261
4229
|
return toReturn;
|
|
4262
4230
|
}
|
|
@@ -4493,7 +4461,7 @@ class HostBookMeetingRequest {
|
|
|
4493
4461
|
let m = new HostBookMeetingRequest();
|
|
4494
4462
|
m = Object.assign(m, proto);
|
|
4495
4463
|
if (proto.meetingSource) {
|
|
4496
|
-
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
4464
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
4497
4465
|
}
|
|
4498
4466
|
if (proto.timeSlot) {
|
|
4499
4467
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4560,7 +4528,7 @@ class HostBookSessionRequest {
|
|
|
4560
4528
|
let m = new HostBookSessionRequest();
|
|
4561
4529
|
m = Object.assign(m, proto);
|
|
4562
4530
|
if (proto.locationType) {
|
|
4563
|
-
m.locationType = enumStringToValue(MeetingLocationType, proto.locationType);
|
|
4531
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
4564
4532
|
}
|
|
4565
4533
|
if (proto.maxAttendees) {
|
|
4566
4534
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -4577,6 +4545,9 @@ class HostBookSessionRequest {
|
|
|
4577
4545
|
if (proto.start) {
|
|
4578
4546
|
m.start = new Date(proto.start);
|
|
4579
4547
|
}
|
|
4548
|
+
if (proto.recurrenceConfig) {
|
|
4549
|
+
m.recurrenceConfig = RecurrenceConfig.fromProto(proto.recurrenceConfig);
|
|
4550
|
+
}
|
|
4580
4551
|
return m;
|
|
4581
4552
|
}
|
|
4582
4553
|
constructor(kwargs) {
|
|
@@ -4632,6 +4603,12 @@ class HostBookSessionRequest {
|
|
|
4632
4603
|
if (typeof this.calendarId !== 'undefined') {
|
|
4633
4604
|
toReturn['calendarId'] = this.calendarId;
|
|
4634
4605
|
}
|
|
4606
|
+
if (typeof this.isRecurring !== 'undefined') {
|
|
4607
|
+
toReturn['isRecurring'] = this.isRecurring;
|
|
4608
|
+
}
|
|
4609
|
+
if (typeof this.recurrenceConfig !== 'undefined' && this.recurrenceConfig !== null) {
|
|
4610
|
+
toReturn['recurrenceConfig'] = 'toApiJson' in this.recurrenceConfig ? this.recurrenceConfig.toApiJson() : this.recurrenceConfig;
|
|
4611
|
+
}
|
|
4635
4612
|
return toReturn;
|
|
4636
4613
|
}
|
|
4637
4614
|
}
|
|
@@ -4939,7 +4916,7 @@ class IsHostConfiguredResponse {
|
|
|
4939
4916
|
let m = new IsHostConfiguredResponse();
|
|
4940
4917
|
m = Object.assign(m, proto);
|
|
4941
4918
|
if (proto.onBoardingState) {
|
|
4942
|
-
m.onBoardingState = enumStringToValue(OnBoardingState, proto.onBoardingState);
|
|
4919
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
4943
4920
|
}
|
|
4944
4921
|
return m;
|
|
4945
4922
|
}
|
|
@@ -5082,6 +5059,58 @@ class ListAvailabilityResponse {
|
|
|
5082
5059
|
return toReturn;
|
|
5083
5060
|
}
|
|
5084
5061
|
}
|
|
5062
|
+
class ListAvailableTimeslotsForRecurringSessionRequest {
|
|
5063
|
+
static fromProto(proto) {
|
|
5064
|
+
let m = new ListAvailableTimeslotsForRecurringSessionRequest();
|
|
5065
|
+
m = Object.assign(m, proto);
|
|
5066
|
+
if (proto.timeZone) {
|
|
5067
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
5068
|
+
}
|
|
5069
|
+
return m;
|
|
5070
|
+
}
|
|
5071
|
+
constructor(kwargs) {
|
|
5072
|
+
if (!kwargs) {
|
|
5073
|
+
return;
|
|
5074
|
+
}
|
|
5075
|
+
Object.assign(this, kwargs);
|
|
5076
|
+
}
|
|
5077
|
+
toApiJson() {
|
|
5078
|
+
const toReturn = {};
|
|
5079
|
+
if (typeof this.userIds !== 'undefined') {
|
|
5080
|
+
toReturn['userIds'] = this.userIds;
|
|
5081
|
+
}
|
|
5082
|
+
if (typeof this.duration !== 'undefined') {
|
|
5083
|
+
toReturn['duration'] = this.duration;
|
|
5084
|
+
}
|
|
5085
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5086
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5087
|
+
}
|
|
5088
|
+
return toReturn;
|
|
5089
|
+
}
|
|
5090
|
+
}
|
|
5091
|
+
class ListAvailableTimeslotsForRecurringSessionResponse {
|
|
5092
|
+
static fromProto(proto) {
|
|
5093
|
+
let m = new ListAvailableTimeslotsForRecurringSessionResponse();
|
|
5094
|
+
m = Object.assign(m, proto);
|
|
5095
|
+
if (proto.timeSlots) {
|
|
5096
|
+
m.timeSlots = proto.timeSlots.map(TimeSlotsByWeekDay.fromProto);
|
|
5097
|
+
}
|
|
5098
|
+
return m;
|
|
5099
|
+
}
|
|
5100
|
+
constructor(kwargs) {
|
|
5101
|
+
if (!kwargs) {
|
|
5102
|
+
return;
|
|
5103
|
+
}
|
|
5104
|
+
Object.assign(this, kwargs);
|
|
5105
|
+
}
|
|
5106
|
+
toApiJson() {
|
|
5107
|
+
const toReturn = {};
|
|
5108
|
+
if (typeof this.timeSlots !== 'undefined' && this.timeSlots !== null) {
|
|
5109
|
+
toReturn['timeSlots'] = 'toApiJson' in this.timeSlots ? this.timeSlots.toApiJson() : this.timeSlots;
|
|
5110
|
+
}
|
|
5111
|
+
return toReturn;
|
|
5112
|
+
}
|
|
5113
|
+
}
|
|
5085
5114
|
class ListAvailableTimeslotsForSessionRequest {
|
|
5086
5115
|
static fromProto(proto) {
|
|
5087
5116
|
let m = new ListAvailableTimeslotsForSessionRequest();
|
|
@@ -5328,7 +5357,7 @@ class Meeting {
|
|
|
5328
5357
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
5329
5358
|
}
|
|
5330
5359
|
if (proto.meetingType) {
|
|
5331
|
-
m.meetingType = enumStringToValue(TeamEventMeetingType, proto.meetingType);
|
|
5360
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
5332
5361
|
}
|
|
5333
5362
|
if (proto.maxAttendeeCount) {
|
|
5334
5363
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -5487,6 +5516,82 @@ class MeetingMetadataEntry {
|
|
|
5487
5516
|
return toReturn;
|
|
5488
5517
|
}
|
|
5489
5518
|
}
|
|
5519
|
+
class RecurrenceConfig {
|
|
5520
|
+
static fromProto(proto) {
|
|
5521
|
+
let m = new RecurrenceConfig();
|
|
5522
|
+
m = Object.assign(m, proto);
|
|
5523
|
+
if (proto.recurrence) {
|
|
5524
|
+
m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
|
|
5525
|
+
}
|
|
5526
|
+
if (proto.startTime) {
|
|
5527
|
+
m.startTime = new Date(proto.startTime);
|
|
5528
|
+
}
|
|
5529
|
+
if (proto.repeatOnDays) {
|
|
5530
|
+
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
|
|
5531
|
+
}
|
|
5532
|
+
if (proto.recurrenceEnd) {
|
|
5533
|
+
m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
|
|
5534
|
+
}
|
|
5535
|
+
if (proto.registrationMode) {
|
|
5536
|
+
m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
|
|
5537
|
+
}
|
|
5538
|
+
return m;
|
|
5539
|
+
}
|
|
5540
|
+
constructor(kwargs) {
|
|
5541
|
+
if (!kwargs) {
|
|
5542
|
+
return;
|
|
5543
|
+
}
|
|
5544
|
+
Object.assign(this, kwargs);
|
|
5545
|
+
}
|
|
5546
|
+
toApiJson() {
|
|
5547
|
+
const toReturn = {};
|
|
5548
|
+
if (typeof this.recurrence !== 'undefined') {
|
|
5549
|
+
toReturn['recurrence'] = this.recurrence;
|
|
5550
|
+
}
|
|
5551
|
+
if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
|
|
5552
|
+
toReturn['startTime'] = 'toApiJson' in this.startTime ? this.startTime.toApiJson() : this.startTime;
|
|
5553
|
+
}
|
|
5554
|
+
if (typeof this.repeatOnDays !== 'undefined') {
|
|
5555
|
+
toReturn['repeatOnDays'] = this.repeatOnDays;
|
|
5556
|
+
}
|
|
5557
|
+
if (typeof this.recurrenceEnd !== 'undefined' && this.recurrenceEnd !== null) {
|
|
5558
|
+
toReturn['recurrenceEnd'] = 'toApiJson' in this.recurrenceEnd ? this.recurrenceEnd.toApiJson() : this.recurrenceEnd;
|
|
5559
|
+
}
|
|
5560
|
+
if (typeof this.registrationMode !== 'undefined') {
|
|
5561
|
+
toReturn['registrationMode'] = this.registrationMode;
|
|
5562
|
+
}
|
|
5563
|
+
return toReturn;
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
class RecurrenceEnd {
|
|
5567
|
+
static fromProto(proto) {
|
|
5568
|
+
let m = new RecurrenceEnd();
|
|
5569
|
+
m = Object.assign(m, proto);
|
|
5570
|
+
if (proto.endDate) {
|
|
5571
|
+
m.endDate = new Date(proto.endDate);
|
|
5572
|
+
}
|
|
5573
|
+
if (proto.occurrenceCount) {
|
|
5574
|
+
m.occurrenceCount = parseInt(proto.occurrenceCount, 10);
|
|
5575
|
+
}
|
|
5576
|
+
return m;
|
|
5577
|
+
}
|
|
5578
|
+
constructor(kwargs) {
|
|
5579
|
+
if (!kwargs) {
|
|
5580
|
+
return;
|
|
5581
|
+
}
|
|
5582
|
+
Object.assign(this, kwargs);
|
|
5583
|
+
}
|
|
5584
|
+
toApiJson() {
|
|
5585
|
+
const toReturn = {};
|
|
5586
|
+
if (typeof this.endDate !== 'undefined' && this.endDate !== null) {
|
|
5587
|
+
toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;
|
|
5588
|
+
}
|
|
5589
|
+
if (typeof this.occurrenceCount !== 'undefined') {
|
|
5590
|
+
toReturn['occurrenceCount'] = this.occurrenceCount;
|
|
5591
|
+
}
|
|
5592
|
+
return toReturn;
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5490
5595
|
class RescheduleMeetingRequest {
|
|
5491
5596
|
static fromProto(proto) {
|
|
5492
5597
|
let m = new RescheduleMeetingRequest();
|
|
@@ -5510,6 +5615,9 @@ class RescheduleMeetingRequest {
|
|
|
5510
5615
|
if (typeof this.start !== 'undefined' && this.start !== null) {
|
|
5511
5616
|
toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
|
|
5512
5617
|
}
|
|
5618
|
+
if (typeof this.sessionId !== 'undefined') {
|
|
5619
|
+
toReturn['sessionId'] = this.sessionId;
|
|
5620
|
+
}
|
|
5513
5621
|
return toReturn;
|
|
5514
5622
|
}
|
|
5515
5623
|
}
|
|
@@ -5547,7 +5655,7 @@ class SessionAttendees {
|
|
|
5547
5655
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
5548
5656
|
}
|
|
5549
5657
|
if (proto.bookingFailureReason) {
|
|
5550
|
-
m.bookingFailureReason = enumStringToValue(BookingFailureReason, proto.bookingFailureReason);
|
|
5658
|
+
m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
|
|
5551
5659
|
}
|
|
5552
5660
|
return m;
|
|
5553
5661
|
}
|
|
@@ -5597,7 +5705,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
5597
5705
|
let m = new SetGeneralAvailabilityRequest();
|
|
5598
5706
|
m = Object.assign(m, proto);
|
|
5599
5707
|
if (proto.days) {
|
|
5600
|
-
m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
|
|
5708
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
5601
5709
|
}
|
|
5602
5710
|
if (proto.timeSlot) {
|
|
5603
5711
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -5639,6 +5747,35 @@ class SetGeneralAvailabilityRequest {
|
|
|
5639
5747
|
return toReturn;
|
|
5640
5748
|
}
|
|
5641
5749
|
}
|
|
5750
|
+
class TimeSlotsByWeekDay {
|
|
5751
|
+
static fromProto(proto) {
|
|
5752
|
+
let m = new TimeSlotsByWeekDay();
|
|
5753
|
+
m = Object.assign(m, proto);
|
|
5754
|
+
if (proto.day) {
|
|
5755
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
5756
|
+
}
|
|
5757
|
+
if (proto.timeSlot) {
|
|
5758
|
+
m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
|
|
5759
|
+
}
|
|
5760
|
+
return m;
|
|
5761
|
+
}
|
|
5762
|
+
constructor(kwargs) {
|
|
5763
|
+
if (!kwargs) {
|
|
5764
|
+
return;
|
|
5765
|
+
}
|
|
5766
|
+
Object.assign(this, kwargs);
|
|
5767
|
+
}
|
|
5768
|
+
toApiJson() {
|
|
5769
|
+
const toReturn = {};
|
|
5770
|
+
if (typeof this.day !== 'undefined') {
|
|
5771
|
+
toReturn['day'] = this.day;
|
|
5772
|
+
}
|
|
5773
|
+
if (typeof this.timeSlot !== 'undefined' && this.timeSlot !== null) {
|
|
5774
|
+
toReturn['timeSlot'] = 'toApiJson' in this.timeSlot ? this.timeSlot.toApiJson() : this.timeSlot;
|
|
5775
|
+
}
|
|
5776
|
+
return toReturn;
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5642
5779
|
class UpdateAvailabilityRequest {
|
|
5643
5780
|
static fromProto(proto) {
|
|
5644
5781
|
let m = new UpdateAvailabilityRequest();
|
|
@@ -5856,7 +5993,7 @@ class WeekdayAvailability {
|
|
|
5856
5993
|
let m = new WeekdayAvailability();
|
|
5857
5994
|
m = Object.assign(m, proto);
|
|
5858
5995
|
if (proto.day) {
|
|
5859
|
-
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
5996
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
5860
5997
|
}
|
|
5861
5998
|
if (proto.timeSlots) {
|
|
5862
5999
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -5881,6 +6018,169 @@ class WeekdayAvailability {
|
|
|
5881
6018
|
}
|
|
5882
6019
|
}
|
|
5883
6020
|
|
|
6021
|
+
function enumStringToValue$2(enumRef, value) {
|
|
6022
|
+
if (typeof value === 'number') {
|
|
6023
|
+
return value;
|
|
6024
|
+
}
|
|
6025
|
+
return enumRef[value];
|
|
6026
|
+
}
|
|
6027
|
+
class Access {
|
|
6028
|
+
static fromProto(proto) {
|
|
6029
|
+
let m = new Access();
|
|
6030
|
+
m = Object.assign(m, proto);
|
|
6031
|
+
return m;
|
|
6032
|
+
}
|
|
6033
|
+
constructor(kwargs) {
|
|
6034
|
+
if (!kwargs) {
|
|
6035
|
+
return;
|
|
6036
|
+
}
|
|
6037
|
+
Object.assign(this, kwargs);
|
|
6038
|
+
}
|
|
6039
|
+
toApiJson() {
|
|
6040
|
+
const toReturn = {};
|
|
6041
|
+
if (typeof this.scope !== 'undefined') {
|
|
6042
|
+
toReturn['scope'] = this.scope;
|
|
6043
|
+
}
|
|
6044
|
+
if (typeof this.public !== 'undefined') {
|
|
6045
|
+
toReturn['public'] = this.public;
|
|
6046
|
+
}
|
|
6047
|
+
return toReturn;
|
|
6048
|
+
}
|
|
6049
|
+
}
|
|
6050
|
+
class MCPOptions {
|
|
6051
|
+
static fromProto(proto) {
|
|
6052
|
+
let m = new MCPOptions();
|
|
6053
|
+
m = Object.assign(m, proto);
|
|
6054
|
+
return m;
|
|
6055
|
+
}
|
|
6056
|
+
constructor(kwargs) {
|
|
6057
|
+
if (!kwargs) {
|
|
6058
|
+
return;
|
|
6059
|
+
}
|
|
6060
|
+
Object.assign(this, kwargs);
|
|
6061
|
+
}
|
|
6062
|
+
toApiJson() {
|
|
6063
|
+
const toReturn = {};
|
|
6064
|
+
if (typeof this.serverId !== 'undefined') {
|
|
6065
|
+
toReturn['serverId'] = this.serverId;
|
|
6066
|
+
}
|
|
6067
|
+
return toReturn;
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
|
|
6071
|
+
function enumStringToValue$1(enumRef, value) {
|
|
6072
|
+
if (typeof value === 'number') {
|
|
6073
|
+
return value;
|
|
6074
|
+
}
|
|
6075
|
+
return enumRef[value];
|
|
6076
|
+
}
|
|
6077
|
+
class TimeOfDay {
|
|
6078
|
+
static fromProto(proto) {
|
|
6079
|
+
let m = new TimeOfDay();
|
|
6080
|
+
m = Object.assign(m, proto);
|
|
6081
|
+
return m;
|
|
6082
|
+
}
|
|
6083
|
+
constructor(kwargs) {
|
|
6084
|
+
if (!kwargs) {
|
|
6085
|
+
return;
|
|
6086
|
+
}
|
|
6087
|
+
Object.assign(this, kwargs);
|
|
6088
|
+
}
|
|
6089
|
+
toApiJson() {
|
|
6090
|
+
const toReturn = {};
|
|
6091
|
+
if (typeof this.hours !== 'undefined') {
|
|
6092
|
+
toReturn['hours'] = this.hours;
|
|
6093
|
+
}
|
|
6094
|
+
if (typeof this.minutes !== 'undefined') {
|
|
6095
|
+
toReturn['minutes'] = this.minutes;
|
|
6096
|
+
}
|
|
6097
|
+
if (typeof this.seconds !== 'undefined') {
|
|
6098
|
+
toReturn['seconds'] = this.seconds;
|
|
6099
|
+
}
|
|
6100
|
+
if (typeof this.nanos !== 'undefined') {
|
|
6101
|
+
toReturn['nanos'] = this.nanos;
|
|
6102
|
+
}
|
|
6103
|
+
return toReturn;
|
|
6104
|
+
}
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
function enumStringToValue(enumRef, value) {
|
|
6108
|
+
if (typeof value === 'number') {
|
|
6109
|
+
return value;
|
|
6110
|
+
}
|
|
6111
|
+
return enumRef[value];
|
|
6112
|
+
}
|
|
6113
|
+
class DateTime {
|
|
6114
|
+
static fromProto(proto) {
|
|
6115
|
+
let m = new DateTime();
|
|
6116
|
+
m = Object.assign(m, proto);
|
|
6117
|
+
if (proto.timeZone) {
|
|
6118
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
6119
|
+
}
|
|
6120
|
+
return m;
|
|
6121
|
+
}
|
|
6122
|
+
constructor(kwargs) {
|
|
6123
|
+
if (!kwargs) {
|
|
6124
|
+
return;
|
|
6125
|
+
}
|
|
6126
|
+
Object.assign(this, kwargs);
|
|
6127
|
+
}
|
|
6128
|
+
toApiJson() {
|
|
6129
|
+
const toReturn = {};
|
|
6130
|
+
if (typeof this.year !== 'undefined') {
|
|
6131
|
+
toReturn['year'] = this.year;
|
|
6132
|
+
}
|
|
6133
|
+
if (typeof this.month !== 'undefined') {
|
|
6134
|
+
toReturn['month'] = this.month;
|
|
6135
|
+
}
|
|
6136
|
+
if (typeof this.day !== 'undefined') {
|
|
6137
|
+
toReturn['day'] = this.day;
|
|
6138
|
+
}
|
|
6139
|
+
if (typeof this.hours !== 'undefined') {
|
|
6140
|
+
toReturn['hours'] = this.hours;
|
|
6141
|
+
}
|
|
6142
|
+
if (typeof this.minutes !== 'undefined') {
|
|
6143
|
+
toReturn['minutes'] = this.minutes;
|
|
6144
|
+
}
|
|
6145
|
+
if (typeof this.seconds !== 'undefined') {
|
|
6146
|
+
toReturn['seconds'] = this.seconds;
|
|
6147
|
+
}
|
|
6148
|
+
if (typeof this.nanos !== 'undefined') {
|
|
6149
|
+
toReturn['nanos'] = this.nanos;
|
|
6150
|
+
}
|
|
6151
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
6152
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
6153
|
+
}
|
|
6154
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
6155
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
6156
|
+
}
|
|
6157
|
+
return toReturn;
|
|
6158
|
+
}
|
|
6159
|
+
}
|
|
6160
|
+
class TimeZone {
|
|
6161
|
+
static fromProto(proto) {
|
|
6162
|
+
let m = new TimeZone();
|
|
6163
|
+
m = Object.assign(m, proto);
|
|
6164
|
+
return m;
|
|
6165
|
+
}
|
|
6166
|
+
constructor(kwargs) {
|
|
6167
|
+
if (!kwargs) {
|
|
6168
|
+
return;
|
|
6169
|
+
}
|
|
6170
|
+
Object.assign(this, kwargs);
|
|
6171
|
+
}
|
|
6172
|
+
toApiJson() {
|
|
6173
|
+
const toReturn = {};
|
|
6174
|
+
if (typeof this.id !== 'undefined') {
|
|
6175
|
+
toReturn['id'] = this.id;
|
|
6176
|
+
}
|
|
6177
|
+
if (typeof this.version !== 'undefined') {
|
|
6178
|
+
toReturn['version'] = this.version;
|
|
6179
|
+
}
|
|
6180
|
+
return toReturn;
|
|
6181
|
+
}
|
|
6182
|
+
}
|
|
6183
|
+
|
|
5884
6184
|
// *********************************
|
|
5885
6185
|
|
|
5886
6186
|
var _a;
|
|
@@ -5909,9 +6209,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5909
6209
|
|
|
5910
6210
|
// *********************************
|
|
5911
6211
|
class MeetingSourceAPIApiService {
|
|
5912
|
-
constructor(
|
|
5913
|
-
this.
|
|
5914
|
-
this.
|
|
6212
|
+
constructor() {
|
|
6213
|
+
this.hostService = inject(HostService$1);
|
|
6214
|
+
this.http = inject(HttpClient);
|
|
5915
6215
|
this._host = this.hostService.hostWithScheme;
|
|
5916
6216
|
}
|
|
5917
6217
|
apiOptions() {
|
|
@@ -5928,18 +6228,18 @@ class MeetingSourceAPIApiService {
|
|
|
5928
6228
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5929
6229
|
}
|
|
5930
6230
|
}
|
|
5931
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
6231
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5932
6232
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5933
6233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5934
6234
|
type: Injectable,
|
|
5935
6235
|
args: [{ providedIn: 'root' }]
|
|
5936
|
-
}]
|
|
6236
|
+
}] });
|
|
5937
6237
|
|
|
5938
6238
|
// *********************************
|
|
5939
6239
|
class ZoomApiService {
|
|
5940
|
-
constructor(
|
|
5941
|
-
this.
|
|
5942
|
-
this.
|
|
6240
|
+
constructor() {
|
|
6241
|
+
this.hostService = inject(HostService$1);
|
|
6242
|
+
this.http = inject(HttpClient);
|
|
5943
6243
|
this._host = this.hostService.hostWithScheme;
|
|
5944
6244
|
}
|
|
5945
6245
|
apiOptions() {
|
|
@@ -5956,18 +6256,18 @@ class ZoomApiService {
|
|
|
5956
6256
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5957
6257
|
}
|
|
5958
6258
|
}
|
|
5959
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
6259
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5960
6260
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5961
6261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5962
6262
|
type: Injectable,
|
|
5963
6263
|
args: [{ providedIn: 'root' }]
|
|
5964
|
-
}]
|
|
6264
|
+
}] });
|
|
5965
6265
|
|
|
5966
6266
|
// *********************************
|
|
5967
6267
|
class GoogleMeetApiService {
|
|
5968
|
-
constructor(
|
|
5969
|
-
this.
|
|
5970
|
-
this.
|
|
6268
|
+
constructor() {
|
|
6269
|
+
this.hostService = inject(HostService$1);
|
|
6270
|
+
this.http = inject(HttpClient);
|
|
5971
6271
|
this._host = this.hostService.hostWithScheme;
|
|
5972
6272
|
}
|
|
5973
6273
|
apiOptions() {
|
|
@@ -5989,12 +6289,12 @@ class GoogleMeetApiService {
|
|
|
5989
6289
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
5990
6290
|
}
|
|
5991
6291
|
}
|
|
5992
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
6292
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5993
6293
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5994
6294
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5995
6295
|
type: Injectable,
|
|
5996
6296
|
args: [{ providedIn: 'root' }]
|
|
5997
|
-
}]
|
|
6297
|
+
}] });
|
|
5998
6298
|
|
|
5999
6299
|
function generateMeetingPassword() {
|
|
6000
6300
|
const zoomMaxLength = 10;
|
|
@@ -6285,6 +6585,8 @@ function MeetingTypeFromApi(req) {
|
|
|
6285
6585
|
registrationCutoff: req.meetingTypeApi.registrationCutoff || undefined,
|
|
6286
6586
|
sessionTitle: req.meetingTypeApi.sessionTitle || "",
|
|
6287
6587
|
hostOrderDetails: req.meetingTypeApi.hostOrderDetails || [],
|
|
6588
|
+
isEmailRequired: req.meetingTypeApi.isEmailRequired || false,
|
|
6589
|
+
isPhoneNumberRequired: req.meetingTypeApi.isPhoneNumberRequired || false,
|
|
6288
6590
|
};
|
|
6289
6591
|
}
|
|
6290
6592
|
function MeetingTypeToApi(req) {
|
|
@@ -6322,6 +6624,8 @@ function MeetingTypeToApi(req) {
|
|
|
6322
6624
|
registrationCutoff: m.registrationCutoff || undefined,
|
|
6323
6625
|
sessionTitle: m.sessionTitle || undefined,
|
|
6324
6626
|
hostOrderDetails: m.hostOrderDetails || undefined,
|
|
6627
|
+
isEmailRequired: m.isEmailRequired || false,
|
|
6628
|
+
isPhoneNumberRequired: m.isPhoneNumberRequired || false
|
|
6325
6629
|
};
|
|
6326
6630
|
}
|
|
6327
6631
|
|
|
@@ -6439,9 +6743,9 @@ class PagedResponse {
|
|
|
6439
6743
|
|
|
6440
6744
|
// *********************************
|
|
6441
6745
|
class MeetingGuestApiService {
|
|
6442
|
-
constructor(
|
|
6443
|
-
this.
|
|
6444
|
-
this.
|
|
6746
|
+
constructor() {
|
|
6747
|
+
this.hostService = inject(HostService$1);
|
|
6748
|
+
this.http = inject(HttpClient);
|
|
6445
6749
|
this._host = this.hostService.hostWithScheme;
|
|
6446
6750
|
}
|
|
6447
6751
|
apiOptions() {
|
|
@@ -6467,6 +6771,11 @@ class MeetingGuestApiService {
|
|
|
6467
6771
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListAvailableTimeSlots", request.toApiJson(), this.apiOptions())
|
|
6468
6772
|
.pipe(map(resp => ListAvailableTimeSlotsResponse.fromProto(resp)));
|
|
6469
6773
|
}
|
|
6774
|
+
getMeetingCalendarInfo(r) {
|
|
6775
|
+
const request = (r.toApiJson) ? r : new GetMeetingCalendarInfoRequest(r);
|
|
6776
|
+
return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetMeetingCalendarInfo", request.toApiJson(), this.apiOptions())
|
|
6777
|
+
.pipe(map(resp => GetMeetingCalendarInfoResponse.fromProto(resp)));
|
|
6778
|
+
}
|
|
6470
6779
|
bookMeeting(r) {
|
|
6471
6780
|
const request = (r.toApiJson) ? r : new BookMeetingRequest(r);
|
|
6472
6781
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/BookMeeting", request.toApiJson(), this.apiOptions())
|
|
@@ -6529,18 +6838,18 @@ class MeetingGuestApiService {
|
|
|
6529
6838
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeDeregisterSessionMeeting", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
6530
6839
|
}
|
|
6531
6840
|
}
|
|
6532
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
6841
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6533
6842
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
6534
6843
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
6535
6844
|
type: Injectable,
|
|
6536
6845
|
args: [{ providedIn: 'root' }]
|
|
6537
|
-
}]
|
|
6846
|
+
}] });
|
|
6538
6847
|
|
|
6539
6848
|
// *********************************
|
|
6540
6849
|
class MeetingHostApiService {
|
|
6541
|
-
constructor(
|
|
6542
|
-
this.
|
|
6543
|
-
this.
|
|
6850
|
+
constructor() {
|
|
6851
|
+
this.hostService = inject(HostService$1);
|
|
6852
|
+
this.http = inject(HttpClient);
|
|
6544
6853
|
this._host = this.hostService.hostWithScheme;
|
|
6545
6854
|
}
|
|
6546
6855
|
apiOptions() {
|
|
@@ -6791,13 +7100,18 @@ class MeetingHostApiService {
|
|
|
6791
7100
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailableTimeslotsForSession", request.toApiJson(), this.apiOptions())
|
|
6792
7101
|
.pipe(map(resp => ListAvailableTimeslotsForSessionResponse.fromProto(resp)));
|
|
6793
7102
|
}
|
|
7103
|
+
listAvailableTimeslotsForRecurringSession(r) {
|
|
7104
|
+
const request = (r.toApiJson) ? r : new ListAvailableTimeslotsForRecurringSessionRequest(r);
|
|
7105
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailableTimeslotsForRecurringSession", request.toApiJson(), this.apiOptions())
|
|
7106
|
+
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
7107
|
+
}
|
|
6794
7108
|
}
|
|
6795
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
7109
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6796
7110
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
6797
7111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
6798
7112
|
type: Injectable,
|
|
6799
7113
|
args: [{ providedIn: 'root' }]
|
|
6800
|
-
}]
|
|
7114
|
+
}] });
|
|
6801
7115
|
|
|
6802
7116
|
// *********************************
|
|
6803
7117
|
|
|
@@ -7122,6 +7436,9 @@ class GuestService {
|
|
|
7122
7436
|
inviteeDeregisterSessionMeeting(req) {
|
|
7123
7437
|
return this.guestAPIService.inviteeDeregisterSessionMeeting(req).pipe(mapTo(null));
|
|
7124
7438
|
}
|
|
7439
|
+
getMeetingCalendarInfo(req) {
|
|
7440
|
+
return this.guestAPIService.getMeetingCalendarInfo(req);
|
|
7441
|
+
}
|
|
7125
7442
|
}
|
|
7126
7443
|
GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7127
7444
|
GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });
|