@vendasta/meetings 1.6.0 → 1.6.1
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/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-external.interface.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/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-external.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- 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/index.mjs +4 -4
- package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +51 -8
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/esm2020/lib/host/host.service.mjs +27 -2
- package/fesm2015/vendasta-meetings.mjs +284 -212
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +284 -212
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +10 -4
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-external.api.service.d.ts +3 -5
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
- 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/index.d.ts +3 -3
- package/lib/_internal/objects/meeting-external.d.ts +1 -1
- package/lib/_internal/objects/meeting-guest.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +20 -8
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/lib/host/host.service.d.ts +7 -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
|
|
@@ -199,24 +198,6 @@ var FeatureFlagFieldType;
|
|
|
199
198
|
FeatureFlagFieldType[FeatureFlagFieldType["FEATURE_FLAG_FIELD_TYPE_CALENDAR_ID"] = 0] = "FEATURE_FLAG_FIELD_TYPE_CALENDAR_ID";
|
|
200
199
|
})(FeatureFlagFieldType || (FeatureFlagFieldType = {}));
|
|
201
200
|
|
|
202
|
-
// *********************************
|
|
203
|
-
// Code generated by sdkgen
|
|
204
|
-
// DO NOT EDIT!.
|
|
205
|
-
//
|
|
206
|
-
// Enums.
|
|
207
|
-
// *********************************
|
|
208
|
-
var DayOfWeek;
|
|
209
|
-
(function (DayOfWeek) {
|
|
210
|
-
DayOfWeek[DayOfWeek["DAY_OF_WEEK_UNSPECIFIED"] = 0] = "DAY_OF_WEEK_UNSPECIFIED";
|
|
211
|
-
DayOfWeek[DayOfWeek["MONDAY"] = 1] = "MONDAY";
|
|
212
|
-
DayOfWeek[DayOfWeek["TUESDAY"] = 2] = "TUESDAY";
|
|
213
|
-
DayOfWeek[DayOfWeek["WEDNESDAY"] = 3] = "WEDNESDAY";
|
|
214
|
-
DayOfWeek[DayOfWeek["THURSDAY"] = 4] = "THURSDAY";
|
|
215
|
-
DayOfWeek[DayOfWeek["FRIDAY"] = 5] = "FRIDAY";
|
|
216
|
-
DayOfWeek[DayOfWeek["SATURDAY"] = 6] = "SATURDAY";
|
|
217
|
-
DayOfWeek[DayOfWeek["SUNDAY"] = 7] = "SUNDAY";
|
|
218
|
-
})(DayOfWeek || (DayOfWeek = {}));
|
|
219
|
-
|
|
220
201
|
// *********************************
|
|
221
202
|
// Code generated by sdkgen
|
|
222
203
|
// DO NOT EDIT!.
|
|
@@ -253,6 +234,24 @@ var Weekday;
|
|
|
253
234
|
Weekday[Weekday["WEEKDAY_SUNDAY"] = 7] = "WEEKDAY_SUNDAY";
|
|
254
235
|
})(Weekday || (Weekday = {}));
|
|
255
236
|
|
|
237
|
+
// *********************************
|
|
238
|
+
// Code generated by sdkgen
|
|
239
|
+
// DO NOT EDIT!.
|
|
240
|
+
//
|
|
241
|
+
// Enums.
|
|
242
|
+
// *********************************
|
|
243
|
+
var DayOfWeek;
|
|
244
|
+
(function (DayOfWeek) {
|
|
245
|
+
DayOfWeek[DayOfWeek["DAY_OF_WEEK_UNSPECIFIED"] = 0] = "DAY_OF_WEEK_UNSPECIFIED";
|
|
246
|
+
DayOfWeek[DayOfWeek["MONDAY"] = 1] = "MONDAY";
|
|
247
|
+
DayOfWeek[DayOfWeek["TUESDAY"] = 2] = "TUESDAY";
|
|
248
|
+
DayOfWeek[DayOfWeek["WEDNESDAY"] = 3] = "WEDNESDAY";
|
|
249
|
+
DayOfWeek[DayOfWeek["THURSDAY"] = 4] = "THURSDAY";
|
|
250
|
+
DayOfWeek[DayOfWeek["FRIDAY"] = 5] = "FRIDAY";
|
|
251
|
+
DayOfWeek[DayOfWeek["SATURDAY"] = 6] = "SATURDAY";
|
|
252
|
+
DayOfWeek[DayOfWeek["SUNDAY"] = 7] = "SUNDAY";
|
|
253
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
254
|
+
|
|
256
255
|
// *********************************
|
|
257
256
|
|
|
258
257
|
function enumStringToValue$d(enumRef, value) {
|
|
@@ -1416,125 +1415,12 @@ function enumStringToValue$a(enumRef, value) {
|
|
|
1416
1415
|
}
|
|
1417
1416
|
return enumRef[value];
|
|
1418
1417
|
}
|
|
1419
|
-
class TimeOfDay {
|
|
1420
|
-
static fromProto(proto) {
|
|
1421
|
-
let m = new TimeOfDay();
|
|
1422
|
-
m = Object.assign(m, proto);
|
|
1423
|
-
return m;
|
|
1424
|
-
}
|
|
1425
|
-
constructor(kwargs) {
|
|
1426
|
-
if (!kwargs) {
|
|
1427
|
-
return;
|
|
1428
|
-
}
|
|
1429
|
-
Object.assign(this, kwargs);
|
|
1430
|
-
}
|
|
1431
|
-
toApiJson() {
|
|
1432
|
-
const toReturn = {};
|
|
1433
|
-
if (typeof this.hours !== 'undefined') {
|
|
1434
|
-
toReturn['hours'] = this.hours;
|
|
1435
|
-
}
|
|
1436
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1437
|
-
toReturn['minutes'] = this.minutes;
|
|
1438
|
-
}
|
|
1439
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1440
|
-
toReturn['seconds'] = this.seconds;
|
|
1441
|
-
}
|
|
1442
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1443
|
-
toReturn['nanos'] = this.nanos;
|
|
1444
|
-
}
|
|
1445
|
-
return toReturn;
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
function enumStringToValue$9(enumRef, value) {
|
|
1450
|
-
if (typeof value === 'number') {
|
|
1451
|
-
return value;
|
|
1452
|
-
}
|
|
1453
|
-
return enumRef[value];
|
|
1454
|
-
}
|
|
1455
|
-
class DateTime {
|
|
1456
|
-
static fromProto(proto) {
|
|
1457
|
-
let m = new DateTime();
|
|
1458
|
-
m = Object.assign(m, proto);
|
|
1459
|
-
if (proto.timeZone) {
|
|
1460
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1461
|
-
}
|
|
1462
|
-
return m;
|
|
1463
|
-
}
|
|
1464
|
-
constructor(kwargs) {
|
|
1465
|
-
if (!kwargs) {
|
|
1466
|
-
return;
|
|
1467
|
-
}
|
|
1468
|
-
Object.assign(this, kwargs);
|
|
1469
|
-
}
|
|
1470
|
-
toApiJson() {
|
|
1471
|
-
const toReturn = {};
|
|
1472
|
-
if (typeof this.year !== 'undefined') {
|
|
1473
|
-
toReturn['year'] = this.year;
|
|
1474
|
-
}
|
|
1475
|
-
if (typeof this.month !== 'undefined') {
|
|
1476
|
-
toReturn['month'] = this.month;
|
|
1477
|
-
}
|
|
1478
|
-
if (typeof this.day !== 'undefined') {
|
|
1479
|
-
toReturn['day'] = this.day;
|
|
1480
|
-
}
|
|
1481
|
-
if (typeof this.hours !== 'undefined') {
|
|
1482
|
-
toReturn['hours'] = this.hours;
|
|
1483
|
-
}
|
|
1484
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1485
|
-
toReturn['minutes'] = this.minutes;
|
|
1486
|
-
}
|
|
1487
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1488
|
-
toReturn['seconds'] = this.seconds;
|
|
1489
|
-
}
|
|
1490
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1491
|
-
toReturn['nanos'] = this.nanos;
|
|
1492
|
-
}
|
|
1493
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
1494
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
1495
|
-
}
|
|
1496
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1497
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1498
|
-
}
|
|
1499
|
-
return toReturn;
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
class TimeZone {
|
|
1503
|
-
static fromProto(proto) {
|
|
1504
|
-
let m = new TimeZone();
|
|
1505
|
-
m = Object.assign(m, proto);
|
|
1506
|
-
return m;
|
|
1507
|
-
}
|
|
1508
|
-
constructor(kwargs) {
|
|
1509
|
-
if (!kwargs) {
|
|
1510
|
-
return;
|
|
1511
|
-
}
|
|
1512
|
-
Object.assign(this, kwargs);
|
|
1513
|
-
}
|
|
1514
|
-
toApiJson() {
|
|
1515
|
-
const toReturn = {};
|
|
1516
|
-
if (typeof this.id !== 'undefined') {
|
|
1517
|
-
toReturn['id'] = this.id;
|
|
1518
|
-
}
|
|
1519
|
-
if (typeof this.version !== 'undefined') {
|
|
1520
|
-
toReturn['version'] = this.version;
|
|
1521
|
-
}
|
|
1522
|
-
return toReturn;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
function enumStringToValue$8(enumRef, value) {
|
|
1527
|
-
if (typeof value === 'number') {
|
|
1528
|
-
return value;
|
|
1529
|
-
}
|
|
1530
|
-
return enumRef[value];
|
|
1531
|
-
}
|
|
1532
1418
|
class Answer {
|
|
1533
1419
|
static fromProto(proto) {
|
|
1534
1420
|
let m = new Answer();
|
|
1535
1421
|
m = Object.assign(m, proto);
|
|
1536
1422
|
if (proto.type) {
|
|
1537
|
-
m.type = enumStringToValue$
|
|
1423
|
+
m.type = enumStringToValue$a(FormFieldType, proto.type);
|
|
1538
1424
|
}
|
|
1539
1425
|
return m;
|
|
1540
1426
|
}
|
|
@@ -1676,7 +1562,7 @@ class Calendar {
|
|
|
1676
1562
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1677
1563
|
}
|
|
1678
1564
|
if (proto.calendarType) {
|
|
1679
|
-
m.calendarType = enumStringToValue$
|
|
1565
|
+
m.calendarType = enumStringToValue$a(CalendarType, proto.calendarType);
|
|
1680
1566
|
}
|
|
1681
1567
|
return m;
|
|
1682
1568
|
}
|
|
@@ -1984,7 +1870,7 @@ class Preferences {
|
|
|
1984
1870
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1985
1871
|
}
|
|
1986
1872
|
if (proto.meetingIntegration) {
|
|
1987
|
-
m.meetingIntegration = enumStringToValue$
|
|
1873
|
+
m.meetingIntegration = enumStringToValue$a(MeetingSource, proto.meetingIntegration);
|
|
1988
1874
|
}
|
|
1989
1875
|
if (proto.availabilityIncrement) {
|
|
1990
1876
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1999,10 +1885,10 @@ class Preferences {
|
|
|
1999
1885
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
2000
1886
|
}
|
|
2001
1887
|
if (proto.calendarIntegration) {
|
|
2002
|
-
m.calendarIntegration = enumStringToValue$
|
|
1888
|
+
m.calendarIntegration = enumStringToValue$a(CalendarSource, proto.calendarIntegration);
|
|
2003
1889
|
}
|
|
2004
1890
|
if (proto.onBoardingState) {
|
|
2005
|
-
m.onBoardingState = enumStringToValue$
|
|
1891
|
+
m.onBoardingState = enumStringToValue$a(OnBoardingState, proto.onBoardingState);
|
|
2006
1892
|
}
|
|
2007
1893
|
return m;
|
|
2008
1894
|
}
|
|
@@ -2074,7 +1960,7 @@ class TimeRange {
|
|
|
2074
1960
|
}
|
|
2075
1961
|
}
|
|
2076
1962
|
|
|
2077
|
-
function enumStringToValue$
|
|
1963
|
+
function enumStringToValue$9(enumRef, value) {
|
|
2078
1964
|
if (typeof value === 'number') {
|
|
2079
1965
|
return value;
|
|
2080
1966
|
}
|
|
@@ -2110,7 +1996,7 @@ class DateRange {
|
|
|
2110
1996
|
}
|
|
2111
1997
|
}
|
|
2112
1998
|
|
|
2113
|
-
function enumStringToValue$
|
|
1999
|
+
function enumStringToValue$8(enumRef, value) {
|
|
2114
2000
|
if (typeof value === 'number') {
|
|
2115
2001
|
return value;
|
|
2116
2002
|
}
|
|
@@ -2121,7 +2007,7 @@ class EventTypeDateRange {
|
|
|
2121
2007
|
let m = new EventTypeDateRange();
|
|
2122
2008
|
m = Object.assign(m, proto);
|
|
2123
2009
|
if (proto.dateRangeType) {
|
|
2124
|
-
m.dateRangeType = enumStringToValue$
|
|
2010
|
+
m.dateRangeType = enumStringToValue$8(DateRangeType, proto.dateRangeType);
|
|
2125
2011
|
}
|
|
2126
2012
|
if (proto.customDateRange) {
|
|
2127
2013
|
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
@@ -2156,7 +2042,7 @@ class Field {
|
|
|
2156
2042
|
let m = new Field();
|
|
2157
2043
|
m = Object.assign(m, proto);
|
|
2158
2044
|
if (proto.type) {
|
|
2159
|
-
m.type = enumStringToValue$
|
|
2045
|
+
m.type = enumStringToValue$8(FormFieldType, proto.type);
|
|
2160
2046
|
}
|
|
2161
2047
|
return m;
|
|
2162
2048
|
}
|
|
@@ -2223,7 +2109,7 @@ class MeetingType {
|
|
|
2223
2109
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
2224
2110
|
}
|
|
2225
2111
|
if (proto.locationType) {
|
|
2226
|
-
m.locationType = enumStringToValue$
|
|
2112
|
+
m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
|
|
2227
2113
|
}
|
|
2228
2114
|
if (proto.hostUsers) {
|
|
2229
2115
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -2235,7 +2121,7 @@ class MeetingType {
|
|
|
2235
2121
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
2236
2122
|
}
|
|
2237
2123
|
if (proto.meetingType) {
|
|
2238
|
-
m.meetingType = enumStringToValue$
|
|
2124
|
+
m.meetingType = enumStringToValue$8(TeamEventMeetingType, proto.meetingType);
|
|
2239
2125
|
}
|
|
2240
2126
|
if (proto.attendeeCount) {
|
|
2241
2127
|
m.attendeeCount = parseInt(proto.attendeeCount, 10);
|
|
@@ -2247,7 +2133,7 @@ class MeetingType {
|
|
|
2247
2133
|
m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
|
|
2248
2134
|
}
|
|
2249
2135
|
if (proto.notificationType) {
|
|
2250
|
-
m.notificationType = enumStringToValue$
|
|
2136
|
+
m.notificationType = enumStringToValue$8(NotificationType, proto.notificationType);
|
|
2251
2137
|
}
|
|
2252
2138
|
return m;
|
|
2253
2139
|
}
|
|
@@ -2372,7 +2258,7 @@ class RegistrationCutOff {
|
|
|
2372
2258
|
let m = new RegistrationCutOff();
|
|
2373
2259
|
m = Object.assign(m, proto);
|
|
2374
2260
|
if (proto.unit) {
|
|
2375
|
-
m.unit = enumStringToValue$
|
|
2261
|
+
m.unit = enumStringToValue$8(RegistrationCutOffUnit, proto.unit);
|
|
2376
2262
|
}
|
|
2377
2263
|
if (proto.value) {
|
|
2378
2264
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2401,7 +2287,7 @@ class RelativeDateRange {
|
|
|
2401
2287
|
let m = new RelativeDateRange();
|
|
2402
2288
|
m = Object.assign(m, proto);
|
|
2403
2289
|
if (proto.unit) {
|
|
2404
|
-
m.unit = enumStringToValue$
|
|
2290
|
+
m.unit = enumStringToValue$8(RelativeTimeUnit, proto.unit);
|
|
2405
2291
|
}
|
|
2406
2292
|
if (proto.value) {
|
|
2407
2293
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2426,7 +2312,7 @@ class RelativeDateRange {
|
|
|
2426
2312
|
}
|
|
2427
2313
|
}
|
|
2428
2314
|
|
|
2429
|
-
function enumStringToValue$
|
|
2315
|
+
function enumStringToValue$7(enumRef, value) {
|
|
2430
2316
|
if (typeof value === 'number') {
|
|
2431
2317
|
return value;
|
|
2432
2318
|
}
|
|
@@ -2571,7 +2457,7 @@ class Service {
|
|
|
2571
2457
|
}
|
|
2572
2458
|
}
|
|
2573
2459
|
|
|
2574
|
-
function enumStringToValue$
|
|
2460
|
+
function enumStringToValue$6(enumRef, value) {
|
|
2575
2461
|
if (typeof value === 'number') {
|
|
2576
2462
|
return value;
|
|
2577
2463
|
}
|
|
@@ -2597,7 +2483,7 @@ class BookMeetingRequest {
|
|
|
2597
2483
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
2598
2484
|
}
|
|
2599
2485
|
if (proto.bookingSource) {
|
|
2600
|
-
m.bookingSource = enumStringToValue$
|
|
2486
|
+
m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
|
|
2601
2487
|
}
|
|
2602
2488
|
return m;
|
|
2603
2489
|
}
|
|
@@ -2676,7 +2562,7 @@ class CheckFeatureFlagRequest {
|
|
|
2676
2562
|
let m = new CheckFeatureFlagRequest();
|
|
2677
2563
|
m = Object.assign(m, proto);
|
|
2678
2564
|
if (proto.fieldType) {
|
|
2679
|
-
m.fieldType = enumStringToValue$
|
|
2565
|
+
m.fieldType = enumStringToValue$6(FeatureFlagFieldType, proto.fieldType);
|
|
2680
2566
|
}
|
|
2681
2567
|
return m;
|
|
2682
2568
|
}
|
|
@@ -3237,10 +3123,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
3237
3123
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
3238
3124
|
}
|
|
3239
3125
|
if (proto.locationType) {
|
|
3240
|
-
m.locationType = enumStringToValue$
|
|
3126
|
+
m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
|
|
3241
3127
|
}
|
|
3242
3128
|
if (proto.meetingType) {
|
|
3243
|
-
m.meetingType = enumStringToValue$
|
|
3129
|
+
m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
|
|
3244
3130
|
}
|
|
3245
3131
|
return m;
|
|
3246
3132
|
}
|
|
@@ -3296,10 +3182,10 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
3296
3182
|
m.endTime = new Date(proto.endTime);
|
|
3297
3183
|
}
|
|
3298
3184
|
if (proto.meetingSource) {
|
|
3299
|
-
m.meetingSource = enumStringToValue$
|
|
3185
|
+
m.meetingSource = enumStringToValue$6(MeetingSource, proto.meetingSource);
|
|
3300
3186
|
}
|
|
3301
3187
|
if (proto.meetingLocationType) {
|
|
3302
|
-
m.meetingLocationType = enumStringToValue$
|
|
3188
|
+
m.meetingLocationType = enumStringToValue$6(MeetingLocation, proto.meetingLocationType);
|
|
3303
3189
|
}
|
|
3304
3190
|
if (proto.timeZone) {
|
|
3305
3191
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
@@ -3688,7 +3574,7 @@ class RegisterSessionRequest {
|
|
|
3688
3574
|
}
|
|
3689
3575
|
}
|
|
3690
3576
|
|
|
3691
|
-
function enumStringToValue$
|
|
3577
|
+
function enumStringToValue$5(enumRef, value) {
|
|
3692
3578
|
if (typeof value === 'number') {
|
|
3693
3579
|
return value;
|
|
3694
3580
|
}
|
|
@@ -3875,7 +3761,7 @@ class EventType {
|
|
|
3875
3761
|
let m = new EventType();
|
|
3876
3762
|
m = Object.assign(m, proto);
|
|
3877
3763
|
if (proto.locationType) {
|
|
3878
|
-
m.locationType = enumStringToValue$
|
|
3764
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
3879
3765
|
}
|
|
3880
3766
|
if (proto.hostUsers) {
|
|
3881
3767
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -3884,7 +3770,7 @@ class EventType {
|
|
|
3884
3770
|
m.bookingWindow = EventTypeDateRange.fromProto(proto.bookingWindow);
|
|
3885
3771
|
}
|
|
3886
3772
|
if (proto.meetingType) {
|
|
3887
|
-
m.meetingType = enumStringToValue$
|
|
3773
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
3888
3774
|
}
|
|
3889
3775
|
if (proto.hostOrderDetails) {
|
|
3890
3776
|
m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
|
|
@@ -4432,7 +4318,7 @@ class UserResponse {
|
|
|
4432
4318
|
}
|
|
4433
4319
|
}
|
|
4434
4320
|
|
|
4435
|
-
function enumStringToValue$
|
|
4321
|
+
function enumStringToValue$4(enumRef, value) {
|
|
4436
4322
|
if (typeof value === 'number') {
|
|
4437
4323
|
return value;
|
|
4438
4324
|
}
|
|
@@ -4459,15 +4345,15 @@ class FieldMask {
|
|
|
4459
4345
|
}
|
|
4460
4346
|
}
|
|
4461
4347
|
|
|
4462
|
-
function enumStringToValue$
|
|
4348
|
+
function enumStringToValue$3(enumRef, value) {
|
|
4463
4349
|
if (typeof value === 'number') {
|
|
4464
4350
|
return value;
|
|
4465
4351
|
}
|
|
4466
4352
|
return enumRef[value];
|
|
4467
4353
|
}
|
|
4468
|
-
class
|
|
4354
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
4469
4355
|
static fromProto(proto) {
|
|
4470
|
-
let m = new
|
|
4356
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
4471
4357
|
m = Object.assign(m, proto);
|
|
4472
4358
|
return m;
|
|
4473
4359
|
}
|
|
@@ -4488,9 +4374,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
|
4488
4374
|
return toReturn;
|
|
4489
4375
|
}
|
|
4490
4376
|
}
|
|
4491
|
-
class
|
|
4377
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
4492
4378
|
static fromProto(proto) {
|
|
4493
|
-
let m = new
|
|
4379
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
4494
4380
|
m = Object.assign(m, proto);
|
|
4495
4381
|
return m;
|
|
4496
4382
|
}
|
|
@@ -4511,9 +4397,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
|
4511
4397
|
return toReturn;
|
|
4512
4398
|
}
|
|
4513
4399
|
}
|
|
4514
|
-
class
|
|
4400
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
4515
4401
|
static fromProto(proto) {
|
|
4516
|
-
let m = new
|
|
4402
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
4517
4403
|
m = Object.assign(m, proto);
|
|
4518
4404
|
return m;
|
|
4519
4405
|
}
|
|
@@ -4539,7 +4425,7 @@ class AvailabilityRule {
|
|
|
4539
4425
|
let m = new AvailabilityRule();
|
|
4540
4426
|
m = Object.assign(m, proto);
|
|
4541
4427
|
if (proto.day) {
|
|
4542
|
-
m.day = enumStringToValue$
|
|
4428
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4543
4429
|
}
|
|
4544
4430
|
if (proto.timeSlot) {
|
|
4545
4431
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -5458,6 +5344,49 @@ class GetEntityAssociationResponse {
|
|
|
5458
5344
|
return toReturn;
|
|
5459
5345
|
}
|
|
5460
5346
|
}
|
|
5347
|
+
class GetEventTypeByIdRequest {
|
|
5348
|
+
static fromProto(proto) {
|
|
5349
|
+
let m = new GetEventTypeByIdRequest();
|
|
5350
|
+
m = Object.assign(m, proto);
|
|
5351
|
+
return m;
|
|
5352
|
+
}
|
|
5353
|
+
constructor(kwargs) {
|
|
5354
|
+
if (!kwargs) {
|
|
5355
|
+
return;
|
|
5356
|
+
}
|
|
5357
|
+
Object.assign(this, kwargs);
|
|
5358
|
+
}
|
|
5359
|
+
toApiJson() {
|
|
5360
|
+
const toReturn = {};
|
|
5361
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
5362
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
5363
|
+
}
|
|
5364
|
+
return toReturn;
|
|
5365
|
+
}
|
|
5366
|
+
}
|
|
5367
|
+
class GetEventTypeByIdResponse {
|
|
5368
|
+
static fromProto(proto) {
|
|
5369
|
+
let m = new GetEventTypeByIdResponse();
|
|
5370
|
+
m = Object.assign(m, proto);
|
|
5371
|
+
if (proto.meetingType) {
|
|
5372
|
+
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
5373
|
+
}
|
|
5374
|
+
return m;
|
|
5375
|
+
}
|
|
5376
|
+
constructor(kwargs) {
|
|
5377
|
+
if (!kwargs) {
|
|
5378
|
+
return;
|
|
5379
|
+
}
|
|
5380
|
+
Object.assign(this, kwargs);
|
|
5381
|
+
}
|
|
5382
|
+
toApiJson() {
|
|
5383
|
+
const toReturn = {};
|
|
5384
|
+
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
5385
|
+
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
5386
|
+
}
|
|
5387
|
+
return toReturn;
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5461
5390
|
class GetHostMeetingRequest {
|
|
5462
5391
|
static fromProto(proto) {
|
|
5463
5392
|
let m = new GetHostMeetingRequest();
|
|
@@ -5647,7 +5576,7 @@ class HostBookMeetingRequest {
|
|
|
5647
5576
|
let m = new HostBookMeetingRequest();
|
|
5648
5577
|
m = Object.assign(m, proto);
|
|
5649
5578
|
if (proto.meetingSource) {
|
|
5650
|
-
m.meetingSource = enumStringToValue$
|
|
5579
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
5651
5580
|
}
|
|
5652
5581
|
if (proto.timeSlot) {
|
|
5653
5582
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -5656,7 +5585,7 @@ class HostBookMeetingRequest {
|
|
|
5656
5585
|
m.attendees = proto.attendees.map(Contact.fromProto);
|
|
5657
5586
|
}
|
|
5658
5587
|
if (proto.bookingSource) {
|
|
5659
|
-
m.bookingSource = enumStringToValue$
|
|
5588
|
+
m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
|
|
5660
5589
|
}
|
|
5661
5590
|
return m;
|
|
5662
5591
|
}
|
|
@@ -5720,7 +5649,7 @@ class HostBookSessionRequest {
|
|
|
5720
5649
|
let m = new HostBookSessionRequest();
|
|
5721
5650
|
m = Object.assign(m, proto);
|
|
5722
5651
|
if (proto.locationType) {
|
|
5723
|
-
m.locationType = enumStringToValue$
|
|
5652
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
5724
5653
|
}
|
|
5725
5654
|
if (proto.maxAttendees) {
|
|
5726
5655
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -6108,7 +6037,7 @@ class IsHostConfiguredResponse {
|
|
|
6108
6037
|
let m = new IsHostConfiguredResponse();
|
|
6109
6038
|
m = Object.assign(m, proto);
|
|
6110
6039
|
if (proto.onBoardingState) {
|
|
6111
|
-
m.onBoardingState = enumStringToValue$
|
|
6040
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
6112
6041
|
}
|
|
6113
6042
|
return m;
|
|
6114
6043
|
}
|
|
@@ -6592,7 +6521,7 @@ class Meeting {
|
|
|
6592
6521
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
6593
6522
|
}
|
|
6594
6523
|
if (proto.meetingType) {
|
|
6595
|
-
m.meetingType = enumStringToValue$
|
|
6524
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
6596
6525
|
}
|
|
6597
6526
|
if (proto.maxAttendeeCount) {
|
|
6598
6527
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -6756,19 +6685,19 @@ class RecurrenceConfig {
|
|
|
6756
6685
|
let m = new RecurrenceConfig();
|
|
6757
6686
|
m = Object.assign(m, proto);
|
|
6758
6687
|
if (proto.recurrence) {
|
|
6759
|
-
m.recurrence = enumStringToValue$
|
|
6688
|
+
m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
|
|
6760
6689
|
}
|
|
6761
6690
|
if (proto.startTime) {
|
|
6762
6691
|
m.startTime = new Date(proto.startTime);
|
|
6763
6692
|
}
|
|
6764
6693
|
if (proto.repeatOnDays) {
|
|
6765
|
-
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$
|
|
6694
|
+
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
|
|
6766
6695
|
}
|
|
6767
6696
|
if (proto.recurrenceEnd) {
|
|
6768
6697
|
m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
|
|
6769
6698
|
}
|
|
6770
6699
|
if (proto.registrationMode) {
|
|
6771
|
-
m.registrationMode = enumStringToValue$
|
|
6700
|
+
m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
|
|
6772
6701
|
}
|
|
6773
6702
|
return m;
|
|
6774
6703
|
}
|
|
@@ -6893,7 +6822,7 @@ class SessionAttendees {
|
|
|
6893
6822
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
6894
6823
|
}
|
|
6895
6824
|
if (proto.bookingFailureReason) {
|
|
6896
|
-
m.bookingFailureReason = enumStringToValue$
|
|
6825
|
+
m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
|
|
6897
6826
|
}
|
|
6898
6827
|
return m;
|
|
6899
6828
|
}
|
|
@@ -6943,7 +6872,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
6943
6872
|
let m = new SetGeneralAvailabilityRequest();
|
|
6944
6873
|
m = Object.assign(m, proto);
|
|
6945
6874
|
if (proto.days) {
|
|
6946
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
6875
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
6947
6876
|
}
|
|
6948
6877
|
if (proto.timeSlot) {
|
|
6949
6878
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -6990,7 +6919,7 @@ class TimeSlotsByWeekDay {
|
|
|
6990
6919
|
let m = new TimeSlotsByWeekDay();
|
|
6991
6920
|
m = Object.assign(m, proto);
|
|
6992
6921
|
if (proto.day) {
|
|
6993
|
-
m.day = enumStringToValue$
|
|
6922
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
6994
6923
|
}
|
|
6995
6924
|
if (proto.timeSlot) {
|
|
6996
6925
|
m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
|
|
@@ -7231,7 +7160,7 @@ class WeekdayAvailability {
|
|
|
7231
7160
|
let m = new WeekdayAvailability();
|
|
7232
7161
|
m = Object.assign(m, proto);
|
|
7233
7162
|
if (proto.day) {
|
|
7234
|
-
m.day = enumStringToValue$
|
|
7163
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
7235
7164
|
}
|
|
7236
7165
|
if (proto.timeSlots) {
|
|
7237
7166
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -7256,7 +7185,7 @@ class WeekdayAvailability {
|
|
|
7256
7185
|
}
|
|
7257
7186
|
}
|
|
7258
7187
|
|
|
7259
|
-
function enumStringToValue(enumRef, value) {
|
|
7188
|
+
function enumStringToValue$2(enumRef, value) {
|
|
7260
7189
|
if (typeof value === 'number') {
|
|
7261
7190
|
return value;
|
|
7262
7191
|
}
|
|
@@ -7306,6 +7235,119 @@ class MCPOptions {
|
|
|
7306
7235
|
}
|
|
7307
7236
|
}
|
|
7308
7237
|
|
|
7238
|
+
function enumStringToValue$1(enumRef, value) {
|
|
7239
|
+
if (typeof value === 'number') {
|
|
7240
|
+
return value;
|
|
7241
|
+
}
|
|
7242
|
+
return enumRef[value];
|
|
7243
|
+
}
|
|
7244
|
+
class TimeOfDay {
|
|
7245
|
+
static fromProto(proto) {
|
|
7246
|
+
let m = new TimeOfDay();
|
|
7247
|
+
m = Object.assign(m, proto);
|
|
7248
|
+
return m;
|
|
7249
|
+
}
|
|
7250
|
+
constructor(kwargs) {
|
|
7251
|
+
if (!kwargs) {
|
|
7252
|
+
return;
|
|
7253
|
+
}
|
|
7254
|
+
Object.assign(this, kwargs);
|
|
7255
|
+
}
|
|
7256
|
+
toApiJson() {
|
|
7257
|
+
const toReturn = {};
|
|
7258
|
+
if (typeof this.hours !== 'undefined') {
|
|
7259
|
+
toReturn['hours'] = this.hours;
|
|
7260
|
+
}
|
|
7261
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7262
|
+
toReturn['minutes'] = this.minutes;
|
|
7263
|
+
}
|
|
7264
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7265
|
+
toReturn['seconds'] = this.seconds;
|
|
7266
|
+
}
|
|
7267
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7268
|
+
toReturn['nanos'] = this.nanos;
|
|
7269
|
+
}
|
|
7270
|
+
return toReturn;
|
|
7271
|
+
}
|
|
7272
|
+
}
|
|
7273
|
+
|
|
7274
|
+
function enumStringToValue(enumRef, value) {
|
|
7275
|
+
if (typeof value === 'number') {
|
|
7276
|
+
return value;
|
|
7277
|
+
}
|
|
7278
|
+
return enumRef[value];
|
|
7279
|
+
}
|
|
7280
|
+
class DateTime {
|
|
7281
|
+
static fromProto(proto) {
|
|
7282
|
+
let m = new DateTime();
|
|
7283
|
+
m = Object.assign(m, proto);
|
|
7284
|
+
if (proto.timeZone) {
|
|
7285
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
7286
|
+
}
|
|
7287
|
+
return m;
|
|
7288
|
+
}
|
|
7289
|
+
constructor(kwargs) {
|
|
7290
|
+
if (!kwargs) {
|
|
7291
|
+
return;
|
|
7292
|
+
}
|
|
7293
|
+
Object.assign(this, kwargs);
|
|
7294
|
+
}
|
|
7295
|
+
toApiJson() {
|
|
7296
|
+
const toReturn = {};
|
|
7297
|
+
if (typeof this.year !== 'undefined') {
|
|
7298
|
+
toReturn['year'] = this.year;
|
|
7299
|
+
}
|
|
7300
|
+
if (typeof this.month !== 'undefined') {
|
|
7301
|
+
toReturn['month'] = this.month;
|
|
7302
|
+
}
|
|
7303
|
+
if (typeof this.day !== 'undefined') {
|
|
7304
|
+
toReturn['day'] = this.day;
|
|
7305
|
+
}
|
|
7306
|
+
if (typeof this.hours !== 'undefined') {
|
|
7307
|
+
toReturn['hours'] = this.hours;
|
|
7308
|
+
}
|
|
7309
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7310
|
+
toReturn['minutes'] = this.minutes;
|
|
7311
|
+
}
|
|
7312
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7313
|
+
toReturn['seconds'] = this.seconds;
|
|
7314
|
+
}
|
|
7315
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7316
|
+
toReturn['nanos'] = this.nanos;
|
|
7317
|
+
}
|
|
7318
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
7319
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
7320
|
+
}
|
|
7321
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
7322
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
7323
|
+
}
|
|
7324
|
+
return toReturn;
|
|
7325
|
+
}
|
|
7326
|
+
}
|
|
7327
|
+
class TimeZone {
|
|
7328
|
+
static fromProto(proto) {
|
|
7329
|
+
let m = new TimeZone();
|
|
7330
|
+
m = Object.assign(m, proto);
|
|
7331
|
+
return m;
|
|
7332
|
+
}
|
|
7333
|
+
constructor(kwargs) {
|
|
7334
|
+
if (!kwargs) {
|
|
7335
|
+
return;
|
|
7336
|
+
}
|
|
7337
|
+
Object.assign(this, kwargs);
|
|
7338
|
+
}
|
|
7339
|
+
toApiJson() {
|
|
7340
|
+
const toReturn = {};
|
|
7341
|
+
if (typeof this.id !== 'undefined') {
|
|
7342
|
+
toReturn['id'] = this.id;
|
|
7343
|
+
}
|
|
7344
|
+
if (typeof this.version !== 'undefined') {
|
|
7345
|
+
toReturn['version'] = this.version;
|
|
7346
|
+
}
|
|
7347
|
+
return toReturn;
|
|
7348
|
+
}
|
|
7349
|
+
}
|
|
7350
|
+
|
|
7309
7351
|
// *********************************
|
|
7310
7352
|
|
|
7311
7353
|
var _a;
|
|
@@ -7334,9 +7376,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
7334
7376
|
|
|
7335
7377
|
// *********************************
|
|
7336
7378
|
class MeetingSourceAPIApiService {
|
|
7337
|
-
constructor(
|
|
7338
|
-
this.
|
|
7339
|
-
this.
|
|
7379
|
+
constructor() {
|
|
7380
|
+
this.hostService = inject(HostService$1);
|
|
7381
|
+
this.http = inject(HttpClient);
|
|
7340
7382
|
this._host = this.hostService.hostWithScheme;
|
|
7341
7383
|
}
|
|
7342
7384
|
apiOptions() {
|
|
@@ -7353,18 +7395,18 @@ class MeetingSourceAPIApiService {
|
|
|
7353
7395
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
7354
7396
|
}
|
|
7355
7397
|
}
|
|
7356
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
7398
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7357
7399
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
7358
7400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
7359
7401
|
type: Injectable,
|
|
7360
7402
|
args: [{ providedIn: 'root' }]
|
|
7361
|
-
}]
|
|
7403
|
+
}] });
|
|
7362
7404
|
|
|
7363
7405
|
// *********************************
|
|
7364
7406
|
class ZoomApiService {
|
|
7365
|
-
constructor(
|
|
7366
|
-
this.
|
|
7367
|
-
this.
|
|
7407
|
+
constructor() {
|
|
7408
|
+
this.hostService = inject(HostService$1);
|
|
7409
|
+
this.http = inject(HttpClient);
|
|
7368
7410
|
this._host = this.hostService.hostWithScheme;
|
|
7369
7411
|
}
|
|
7370
7412
|
apiOptions() {
|
|
@@ -7381,18 +7423,18 @@ class ZoomApiService {
|
|
|
7381
7423
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
7382
7424
|
}
|
|
7383
7425
|
}
|
|
7384
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
7426
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7385
7427
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
7386
7428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
7387
7429
|
type: Injectable,
|
|
7388
7430
|
args: [{ providedIn: 'root' }]
|
|
7389
|
-
}]
|
|
7431
|
+
}] });
|
|
7390
7432
|
|
|
7391
7433
|
// *********************************
|
|
7392
7434
|
class GoogleMeetApiService {
|
|
7393
|
-
constructor(
|
|
7394
|
-
this.
|
|
7395
|
-
this.
|
|
7435
|
+
constructor() {
|
|
7436
|
+
this.hostService = inject(HostService$1);
|
|
7437
|
+
this.http = inject(HttpClient);
|
|
7396
7438
|
this._host = this.hostService.hostWithScheme;
|
|
7397
7439
|
}
|
|
7398
7440
|
apiOptions() {
|
|
@@ -7414,12 +7456,12 @@ class GoogleMeetApiService {
|
|
|
7414
7456
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
7415
7457
|
}
|
|
7416
7458
|
}
|
|
7417
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
7459
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7418
7460
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
7419
7461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
7420
7462
|
type: Injectable,
|
|
7421
7463
|
args: [{ providedIn: 'root' }]
|
|
7422
|
-
}]
|
|
7464
|
+
}] });
|
|
7423
7465
|
|
|
7424
7466
|
function generateMeetingPassword() {
|
|
7425
7467
|
const zoomMaxLength = 10;
|
|
@@ -7870,9 +7912,9 @@ class PagedResponse {
|
|
|
7870
7912
|
|
|
7871
7913
|
// *********************************
|
|
7872
7914
|
class MeetingExternalApiService {
|
|
7873
|
-
constructor(
|
|
7874
|
-
this.
|
|
7875
|
-
this.
|
|
7915
|
+
constructor() {
|
|
7916
|
+
this.hostService = inject(HostService$1);
|
|
7917
|
+
this.http = inject(HttpClient);
|
|
7876
7918
|
this._host = this.hostService.hostWithScheme;
|
|
7877
7919
|
}
|
|
7878
7920
|
apiOptions() {
|
|
@@ -7928,18 +7970,18 @@ class MeetingExternalApiService {
|
|
|
7928
7970
|
.pipe(map(resp => ListUserEventTypesResponse.fromProto(resp)));
|
|
7929
7971
|
}
|
|
7930
7972
|
}
|
|
7931
|
-
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [
|
|
7973
|
+
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7932
7974
|
MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
|
|
7933
7975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
|
|
7934
7976
|
type: Injectable,
|
|
7935
7977
|
args: [{ providedIn: 'root' }]
|
|
7936
|
-
}]
|
|
7978
|
+
}] });
|
|
7937
7979
|
|
|
7938
7980
|
// *********************************
|
|
7939
7981
|
class MeetingGuestApiService {
|
|
7940
|
-
constructor(
|
|
7941
|
-
this.
|
|
7942
|
-
this.
|
|
7982
|
+
constructor() {
|
|
7983
|
+
this.hostService = inject(HostService$1);
|
|
7984
|
+
this.http = inject(HttpClient);
|
|
7943
7985
|
this._host = this.hostService.hostWithScheme;
|
|
7944
7986
|
}
|
|
7945
7987
|
apiOptions() {
|
|
@@ -8042,18 +8084,18 @@ class MeetingGuestApiService {
|
|
|
8042
8084
|
.pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
|
|
8043
8085
|
}
|
|
8044
8086
|
}
|
|
8045
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
8087
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8046
8088
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
8047
8089
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
8048
8090
|
type: Injectable,
|
|
8049
8091
|
args: [{ providedIn: 'root' }]
|
|
8050
|
-
}]
|
|
8092
|
+
}] });
|
|
8051
8093
|
|
|
8052
8094
|
// *********************************
|
|
8053
8095
|
class MeetingHostApiService {
|
|
8054
|
-
constructor(
|
|
8055
|
-
this.
|
|
8056
|
-
this.
|
|
8096
|
+
constructor() {
|
|
8097
|
+
this.hostService = inject(HostService$1);
|
|
8098
|
+
this.http = inject(HttpClient);
|
|
8057
8099
|
this._host = this.hostService.hostWithScheme;
|
|
8058
8100
|
}
|
|
8059
8101
|
apiOptions() {
|
|
@@ -8319,13 +8361,18 @@ class MeetingHostApiService {
|
|
|
8319
8361
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailableTimeslotsForRecurringSession", request.toApiJson(), this.apiOptions())
|
|
8320
8362
|
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
8321
8363
|
}
|
|
8364
|
+
getEventTypeById(r) {
|
|
8365
|
+
const request = (r.toApiJson) ? r : new GetEventTypeByIdRequest(r);
|
|
8366
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetEventTypeById", request.toApiJson(), this.apiOptions())
|
|
8367
|
+
.pipe(map(resp => GetEventTypeByIdResponse.fromProto(resp)));
|
|
8368
|
+
}
|
|
8322
8369
|
}
|
|
8323
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
8370
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8324
8371
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
8325
8372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
8326
8373
|
type: Injectable,
|
|
8327
8374
|
args: [{ providedIn: 'root' }]
|
|
8328
|
-
}]
|
|
8375
|
+
}] });
|
|
8329
8376
|
|
|
8330
8377
|
// *********************************
|
|
8331
8378
|
|
|
@@ -8756,7 +8803,7 @@ class HostService {
|
|
|
8756
8803
|
@param metadata: optional metadata to include on the meeting type booking link
|
|
8757
8804
|
@param calendarSlug: used to replace hostId in the url. Use it when you are confident you know the host's slug.
|
|
8758
8805
|
- calendarSlug IS NOT USED TO RETRIEVE MEETING TYPES, ONLY TO MAKE THE BOOKING URLS
|
|
8759
|
-
|
|
8806
|
+
*/
|
|
8760
8807
|
listMeetingTypes(req) {
|
|
8761
8808
|
return this.hostAPIService.listMeetingTypes(req).pipe(map((resp) => {
|
|
8762
8809
|
if (!resp || !resp.meetingTypes) {
|
|
@@ -8775,6 +8822,31 @@ class HostService {
|
|
|
8775
8822
|
});
|
|
8776
8823
|
}));
|
|
8777
8824
|
}
|
|
8825
|
+
/*
|
|
8826
|
+
getEventTypeById returns a single meeting type by ID.
|
|
8827
|
+
@param eventTypeId: The unique identifier for the event type
|
|
8828
|
+
@param metadata: optional metadata to include on the meeting type booking link
|
|
8829
|
+
@param calendarSlug: used to replace hostId in the url. Use it when you are confident you know the host's slug.
|
|
8830
|
+
- calendarSlug IS NOT USED TO RETRIEVE THE EVENT TYPE, ONLY TO MAKE THE BOOKING URL
|
|
8831
|
+
*/
|
|
8832
|
+
getEventTypeById(req) {
|
|
8833
|
+
return this.hostAPIService
|
|
8834
|
+
.getEventTypeById({ eventTypeId: req.eventTypeId })
|
|
8835
|
+
.pipe(map((resp) => {
|
|
8836
|
+
if (!resp.meetingType) {
|
|
8837
|
+
return null;
|
|
8838
|
+
}
|
|
8839
|
+
return MeetingTypeFromApi({
|
|
8840
|
+
meetingTypeApi: resp.meetingType,
|
|
8841
|
+
calendarId: resp.meetingType.calendarId || "",
|
|
8842
|
+
environment: onProductionGlobal()
|
|
8843
|
+
? Environment.PROD
|
|
8844
|
+
: Environment.DEMO,
|
|
8845
|
+
metadata: req.metadata,
|
|
8846
|
+
calendarSlug: req.calendarSlug,
|
|
8847
|
+
});
|
|
8848
|
+
}));
|
|
8849
|
+
}
|
|
8778
8850
|
/*
|
|
8779
8851
|
getBookingUrl returns a link that can be used to book a meeting with this host.
|
|
8780
8852
|
@param calendarId: An identifier for an individual host or grouping of hosts (i.e., team).
|