@vendasta/meetings 1.3.1 → 1.4.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/google-meet.api.service.mjs +8 -7
- 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/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +14 -8
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/index.mjs +4 -4
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +3 -26
- package/esm2020/lib/_internal/objects/meeting-host.mjs +91 -21
- package/esm2020/lib/_internal/objects/shared.mjs +26 -2
- package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
- package/esm2020/lib/host/host.service.mjs +5 -2
- package/fesm2015/vendasta-meetings.mjs +287 -208
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +287 -208
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/google-meet.api.service.d.ts +5 -2
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -6
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +20 -8
- package/lib/_internal/interfaces/shared.interface.d.ts +6 -1
- package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
- package/lib/_internal/meeting-host.api.service.d.ts +8 -5
- package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
- package/lib/_internal/objects/index.d.ts +3 -3
- package/lib/_internal/objects/meeting-guest.d.ts +2 -9
- package/lib/_internal/objects/meeting-host.d.ts +33 -15
- package/lib/_internal/objects/shared.d.ts +9 -1
- package/lib/_internal/zoom.api.service.d.ts +5 -2
- package/lib/host/host.service.d.ts +7 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
5
|
+
import * as i1 from '@angular/common/http';
|
|
6
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
6
7
|
|
|
7
8
|
// *********************************
|
|
8
9
|
// Code generated by sdkgen
|
|
@@ -1358,12 +1359,125 @@ function enumStringToValue$8(enumRef, value) {
|
|
|
1358
1359
|
}
|
|
1359
1360
|
return enumRef[value];
|
|
1360
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) {
|
|
1470
|
+
if (typeof value === 'number') {
|
|
1471
|
+
return value;
|
|
1472
|
+
}
|
|
1473
|
+
return enumRef[value];
|
|
1474
|
+
}
|
|
1361
1475
|
class Answer {
|
|
1362
1476
|
static fromProto(proto) {
|
|
1363
1477
|
let m = new Answer();
|
|
1364
1478
|
m = Object.assign(m, proto);
|
|
1365
1479
|
if (proto.type) {
|
|
1366
|
-
m.type = enumStringToValue$
|
|
1480
|
+
m.type = enumStringToValue$6(FormFieldType, proto.type);
|
|
1367
1481
|
}
|
|
1368
1482
|
return m;
|
|
1369
1483
|
}
|
|
@@ -1505,7 +1619,7 @@ class Calendar {
|
|
|
1505
1619
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1506
1620
|
}
|
|
1507
1621
|
if (proto.calendarType) {
|
|
1508
|
-
m.calendarType = enumStringToValue$
|
|
1622
|
+
m.calendarType = enumStringToValue$6(CalendarType, proto.calendarType);
|
|
1509
1623
|
}
|
|
1510
1624
|
return m;
|
|
1511
1625
|
}
|
|
@@ -1701,6 +1815,29 @@ class HostUser {
|
|
|
1701
1815
|
return toReturn;
|
|
1702
1816
|
}
|
|
1703
1817
|
}
|
|
1818
|
+
class IsoDateTimeRange {
|
|
1819
|
+
static fromProto(proto) {
|
|
1820
|
+
let m = new IsoDateTimeRange();
|
|
1821
|
+
m = Object.assign(m, proto);
|
|
1822
|
+
return m;
|
|
1823
|
+
}
|
|
1824
|
+
constructor(kwargs) {
|
|
1825
|
+
if (!kwargs) {
|
|
1826
|
+
return;
|
|
1827
|
+
}
|
|
1828
|
+
Object.assign(this, kwargs);
|
|
1829
|
+
}
|
|
1830
|
+
toApiJson() {
|
|
1831
|
+
const toReturn = {};
|
|
1832
|
+
if (typeof this.start !== 'undefined') {
|
|
1833
|
+
toReturn['start'] = this.start;
|
|
1834
|
+
}
|
|
1835
|
+
if (typeof this.end !== 'undefined') {
|
|
1836
|
+
toReturn['end'] = this.end;
|
|
1837
|
+
}
|
|
1838
|
+
return toReturn;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1704
1841
|
class PagedRequestOptions {
|
|
1705
1842
|
static fromProto(proto) {
|
|
1706
1843
|
let m = new PagedRequestOptions();
|
|
@@ -1758,7 +1895,7 @@ class Preferences {
|
|
|
1758
1895
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1759
1896
|
}
|
|
1760
1897
|
if (proto.meetingIntegration) {
|
|
1761
|
-
m.meetingIntegration = enumStringToValue$
|
|
1898
|
+
m.meetingIntegration = enumStringToValue$6(MeetingSource, proto.meetingIntegration);
|
|
1762
1899
|
}
|
|
1763
1900
|
if (proto.availabilityIncrement) {
|
|
1764
1901
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1773,10 +1910,10 @@ class Preferences {
|
|
|
1773
1910
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1774
1911
|
}
|
|
1775
1912
|
if (proto.calendarIntegration) {
|
|
1776
|
-
m.calendarIntegration = enumStringToValue$
|
|
1913
|
+
m.calendarIntegration = enumStringToValue$6(CalendarSource, proto.calendarIntegration);
|
|
1777
1914
|
}
|
|
1778
1915
|
if (proto.onBoardingState) {
|
|
1779
|
-
m.onBoardingState = enumStringToValue$
|
|
1916
|
+
m.onBoardingState = enumStringToValue$6(OnBoardingState, proto.onBoardingState);
|
|
1780
1917
|
}
|
|
1781
1918
|
return m;
|
|
1782
1919
|
}
|
|
@@ -1848,7 +1985,7 @@ class TimeRange {
|
|
|
1848
1985
|
}
|
|
1849
1986
|
}
|
|
1850
1987
|
|
|
1851
|
-
function enumStringToValue$
|
|
1988
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1852
1989
|
if (typeof value === 'number') {
|
|
1853
1990
|
return value;
|
|
1854
1991
|
}
|
|
@@ -1884,7 +2021,7 @@ class DateRange {
|
|
|
1884
2021
|
}
|
|
1885
2022
|
}
|
|
1886
2023
|
|
|
1887
|
-
function enumStringToValue$
|
|
2024
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1888
2025
|
if (typeof value === 'number') {
|
|
1889
2026
|
return value;
|
|
1890
2027
|
}
|
|
@@ -1895,7 +2032,7 @@ class EventTypeDateRange {
|
|
|
1895
2032
|
let m = new EventTypeDateRange();
|
|
1896
2033
|
m = Object.assign(m, proto);
|
|
1897
2034
|
if (proto.dateRangeType) {
|
|
1898
|
-
m.dateRangeType = enumStringToValue$
|
|
2035
|
+
m.dateRangeType = enumStringToValue$4(DateRangeType, proto.dateRangeType);
|
|
1899
2036
|
}
|
|
1900
2037
|
if (proto.customDateRange) {
|
|
1901
2038
|
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
@@ -1930,7 +2067,7 @@ class Field {
|
|
|
1930
2067
|
let m = new Field();
|
|
1931
2068
|
m = Object.assign(m, proto);
|
|
1932
2069
|
if (proto.type) {
|
|
1933
|
-
m.type = enumStringToValue$
|
|
2070
|
+
m.type = enumStringToValue$4(FormFieldType, proto.type);
|
|
1934
2071
|
}
|
|
1935
2072
|
return m;
|
|
1936
2073
|
}
|
|
@@ -1997,7 +2134,7 @@ class MeetingType {
|
|
|
1997
2134
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1998
2135
|
}
|
|
1999
2136
|
if (proto.locationType) {
|
|
2000
|
-
m.locationType = enumStringToValue$
|
|
2137
|
+
m.locationType = enumStringToValue$4(MeetingLocationType, proto.locationType);
|
|
2001
2138
|
}
|
|
2002
2139
|
if (proto.hostUsers) {
|
|
2003
2140
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -2009,7 +2146,7 @@ class MeetingType {
|
|
|
2009
2146
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
2010
2147
|
}
|
|
2011
2148
|
if (proto.meetingType) {
|
|
2012
|
-
m.meetingType = enumStringToValue$
|
|
2149
|
+
m.meetingType = enumStringToValue$4(TeamEventMeetingType, proto.meetingType);
|
|
2013
2150
|
}
|
|
2014
2151
|
if (proto.attendeeCount) {
|
|
2015
2152
|
m.attendeeCount = parseInt(proto.attendeeCount, 10);
|
|
@@ -2134,7 +2271,7 @@ class RegistrationCutOff {
|
|
|
2134
2271
|
let m = new RegistrationCutOff();
|
|
2135
2272
|
m = Object.assign(m, proto);
|
|
2136
2273
|
if (proto.unit) {
|
|
2137
|
-
m.unit = enumStringToValue$
|
|
2274
|
+
m.unit = enumStringToValue$4(RegistrationCutOffUnit, proto.unit);
|
|
2138
2275
|
}
|
|
2139
2276
|
if (proto.value) {
|
|
2140
2277
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2163,7 +2300,7 @@ class RelativeDateRange {
|
|
|
2163
2300
|
let m = new RelativeDateRange();
|
|
2164
2301
|
m = Object.assign(m, proto);
|
|
2165
2302
|
if (proto.unit) {
|
|
2166
|
-
m.unit = enumStringToValue$
|
|
2303
|
+
m.unit = enumStringToValue$4(RelativeTimeUnit, proto.unit);
|
|
2167
2304
|
}
|
|
2168
2305
|
if (proto.value) {
|
|
2169
2306
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2188,7 +2325,7 @@ class RelativeDateRange {
|
|
|
2188
2325
|
}
|
|
2189
2326
|
}
|
|
2190
2327
|
|
|
2191
|
-
function enumStringToValue$
|
|
2328
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2192
2329
|
if (typeof value === 'number') {
|
|
2193
2330
|
return value;
|
|
2194
2331
|
}
|
|
@@ -2333,7 +2470,7 @@ class Service {
|
|
|
2333
2470
|
}
|
|
2334
2471
|
}
|
|
2335
2472
|
|
|
2336
|
-
function enumStringToValue$
|
|
2473
|
+
function enumStringToValue$2(enumRef, value) {
|
|
2337
2474
|
if (typeof value === 'number') {
|
|
2338
2475
|
return value;
|
|
2339
2476
|
}
|
|
@@ -2878,10 +3015,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
2878
3015
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2879
3016
|
}
|
|
2880
3017
|
if (proto.locationType) {
|
|
2881
|
-
m.locationType = enumStringToValue$
|
|
3018
|
+
m.locationType = enumStringToValue$2(MeetingLocationType, proto.locationType);
|
|
2882
3019
|
}
|
|
2883
3020
|
if (proto.meetingType) {
|
|
2884
|
-
m.meetingType = enumStringToValue$
|
|
3021
|
+
m.meetingType = enumStringToValue$2(TeamEventMeetingType, proto.meetingType);
|
|
2885
3022
|
}
|
|
2886
3023
|
return m;
|
|
2887
3024
|
}
|
|
@@ -3065,29 +3202,6 @@ class InviteeRegisterSessionMeetingRequest {
|
|
|
3065
3202
|
return toReturn;
|
|
3066
3203
|
}
|
|
3067
3204
|
}
|
|
3068
|
-
class IsoDateTimeRange {
|
|
3069
|
-
static fromProto(proto) {
|
|
3070
|
-
let m = new IsoDateTimeRange();
|
|
3071
|
-
m = Object.assign(m, proto);
|
|
3072
|
-
return m;
|
|
3073
|
-
}
|
|
3074
|
-
constructor(kwargs) {
|
|
3075
|
-
if (!kwargs) {
|
|
3076
|
-
return;
|
|
3077
|
-
}
|
|
3078
|
-
Object.assign(this, kwargs);
|
|
3079
|
-
}
|
|
3080
|
-
toApiJson() {
|
|
3081
|
-
const toReturn = {};
|
|
3082
|
-
if (typeof this.start !== 'undefined') {
|
|
3083
|
-
toReturn['start'] = this.start;
|
|
3084
|
-
}
|
|
3085
|
-
if (typeof this.end !== 'undefined') {
|
|
3086
|
-
toReturn['end'] = this.end;
|
|
3087
|
-
}
|
|
3088
|
-
return toReturn;
|
|
3089
|
-
}
|
|
3090
|
-
}
|
|
3091
3205
|
class ListAvailableTimeSlotsRequest {
|
|
3092
3206
|
static fromProto(proto) {
|
|
3093
3207
|
let m = new ListAvailableTimeSlotsRequest();
|
|
@@ -3263,7 +3377,7 @@ class RegisterSessionRequest {
|
|
|
3263
3377
|
}
|
|
3264
3378
|
}
|
|
3265
3379
|
|
|
3266
|
-
function enumStringToValue$
|
|
3380
|
+
function enumStringToValue$1(enumRef, value) {
|
|
3267
3381
|
if (typeof value === 'number') {
|
|
3268
3382
|
return value;
|
|
3269
3383
|
}
|
|
@@ -3290,7 +3404,7 @@ class FieldMask {
|
|
|
3290
3404
|
}
|
|
3291
3405
|
}
|
|
3292
3406
|
|
|
3293
|
-
function enumStringToValue
|
|
3407
|
+
function enumStringToValue(enumRef, value) {
|
|
3294
3408
|
if (typeof value === 'number') {
|
|
3295
3409
|
return value;
|
|
3296
3410
|
}
|
|
@@ -3319,9 +3433,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
3319
3433
|
return toReturn;
|
|
3320
3434
|
}
|
|
3321
3435
|
}
|
|
3322
|
-
class
|
|
3436
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
3323
3437
|
static fromProto(proto) {
|
|
3324
|
-
let m = new
|
|
3438
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
3325
3439
|
m = Object.assign(m, proto);
|
|
3326
3440
|
return m;
|
|
3327
3441
|
}
|
|
@@ -3342,9 +3456,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
|
3342
3456
|
return toReturn;
|
|
3343
3457
|
}
|
|
3344
3458
|
}
|
|
3345
|
-
class
|
|
3459
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
3346
3460
|
static fromProto(proto) {
|
|
3347
|
-
let m = new
|
|
3461
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
3348
3462
|
m = Object.assign(m, proto);
|
|
3349
3463
|
return m;
|
|
3350
3464
|
}
|
|
@@ -3370,7 +3484,7 @@ class AvailabilityRule {
|
|
|
3370
3484
|
let m = new AvailabilityRule();
|
|
3371
3485
|
m = Object.assign(m, proto);
|
|
3372
3486
|
if (proto.day) {
|
|
3373
|
-
m.day = enumStringToValue
|
|
3487
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
3374
3488
|
}
|
|
3375
3489
|
if (proto.timeSlot) {
|
|
3376
3490
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4095,13 +4209,10 @@ class EnsureSessionEventCalendarsExistResponse {
|
|
|
4095
4209
|
return toReturn;
|
|
4096
4210
|
}
|
|
4097
4211
|
}
|
|
4098
|
-
class
|
|
4212
|
+
class ListAvailabilityRequestFilters {
|
|
4099
4213
|
static fromProto(proto) {
|
|
4100
|
-
let m = new
|
|
4214
|
+
let m = new ListAvailabilityRequestFilters();
|
|
4101
4215
|
m = Object.assign(m, proto);
|
|
4102
|
-
if (proto.timeSpan) {
|
|
4103
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
4104
|
-
}
|
|
4105
4216
|
return m;
|
|
4106
4217
|
}
|
|
4107
4218
|
constructor(kwargs) {
|
|
@@ -4112,22 +4223,22 @@ class ListBookedMeetingsRequestFilters {
|
|
|
4112
4223
|
}
|
|
4113
4224
|
toApiJson() {
|
|
4114
4225
|
const toReturn = {};
|
|
4115
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
4116
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
4117
|
-
}
|
|
4118
4226
|
if (typeof this.hostId !== 'undefined') {
|
|
4119
4227
|
toReturn['hostId'] = this.hostId;
|
|
4120
4228
|
}
|
|
4121
|
-
if (typeof this.
|
|
4122
|
-
toReturn['
|
|
4229
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
4230
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
4123
4231
|
}
|
|
4124
4232
|
return toReturn;
|
|
4125
4233
|
}
|
|
4126
4234
|
}
|
|
4127
|
-
class
|
|
4235
|
+
class ListBookedMeetingsRequestFilters {
|
|
4128
4236
|
static fromProto(proto) {
|
|
4129
|
-
let m = new
|
|
4237
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
4130
4238
|
m = Object.assign(m, proto);
|
|
4239
|
+
if (proto.timeSpan) {
|
|
4240
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
4241
|
+
}
|
|
4131
4242
|
return m;
|
|
4132
4243
|
}
|
|
4133
4244
|
constructor(kwargs) {
|
|
@@ -4138,11 +4249,14 @@ class ListAvailabilityRequestFilters {
|
|
|
4138
4249
|
}
|
|
4139
4250
|
toApiJson() {
|
|
4140
4251
|
const toReturn = {};
|
|
4252
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
4253
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
4254
|
+
}
|
|
4141
4255
|
if (typeof this.hostId !== 'undefined') {
|
|
4142
4256
|
toReturn['hostId'] = this.hostId;
|
|
4143
4257
|
}
|
|
4144
|
-
if (typeof this.
|
|
4145
|
-
toReturn['
|
|
4258
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
4259
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
4146
4260
|
}
|
|
4147
4261
|
return toReturn;
|
|
4148
4262
|
}
|
|
@@ -4379,7 +4493,7 @@ class HostBookMeetingRequest {
|
|
|
4379
4493
|
let m = new HostBookMeetingRequest();
|
|
4380
4494
|
m = Object.assign(m, proto);
|
|
4381
4495
|
if (proto.meetingSource) {
|
|
4382
|
-
m.meetingSource = enumStringToValue
|
|
4496
|
+
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
4383
4497
|
}
|
|
4384
4498
|
if (proto.timeSlot) {
|
|
4385
4499
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4446,7 +4560,7 @@ class HostBookSessionRequest {
|
|
|
4446
4560
|
let m = new HostBookSessionRequest();
|
|
4447
4561
|
m = Object.assign(m, proto);
|
|
4448
4562
|
if (proto.locationType) {
|
|
4449
|
-
m.locationType = enumStringToValue
|
|
4563
|
+
m.locationType = enumStringToValue(MeetingLocationType, proto.locationType);
|
|
4450
4564
|
}
|
|
4451
4565
|
if (proto.maxAttendees) {
|
|
4452
4566
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -4825,7 +4939,7 @@ class IsHostConfiguredResponse {
|
|
|
4825
4939
|
let m = new IsHostConfiguredResponse();
|
|
4826
4940
|
m = Object.assign(m, proto);
|
|
4827
4941
|
if (proto.onBoardingState) {
|
|
4828
|
-
m.onBoardingState = enumStringToValue
|
|
4942
|
+
m.onBoardingState = enumStringToValue(OnBoardingState, proto.onBoardingState);
|
|
4829
4943
|
}
|
|
4830
4944
|
return m;
|
|
4831
4945
|
}
|
|
@@ -4869,6 +4983,9 @@ class ListAttendeesRequest {
|
|
|
4869
4983
|
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
4870
4984
|
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
4871
4985
|
}
|
|
4986
|
+
if (typeof this.attendeeSearch !== 'undefined') {
|
|
4987
|
+
toReturn['attendeeSearch'] = this.attendeeSearch;
|
|
4988
|
+
}
|
|
4872
4989
|
return toReturn;
|
|
4873
4990
|
}
|
|
4874
4991
|
}
|
|
@@ -4965,6 +5082,70 @@ class ListAvailabilityResponse {
|
|
|
4965
5082
|
return toReturn;
|
|
4966
5083
|
}
|
|
4967
5084
|
}
|
|
5085
|
+
class ListAvailableTimeslotsForSessionRequest {
|
|
5086
|
+
static fromProto(proto) {
|
|
5087
|
+
let m = new ListAvailableTimeslotsForSessionRequest();
|
|
5088
|
+
m = Object.assign(m, proto);
|
|
5089
|
+
if (proto.timeSpan) {
|
|
5090
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
5091
|
+
}
|
|
5092
|
+
if (proto.timeZone) {
|
|
5093
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
5094
|
+
}
|
|
5095
|
+
return m;
|
|
5096
|
+
}
|
|
5097
|
+
constructor(kwargs) {
|
|
5098
|
+
if (!kwargs) {
|
|
5099
|
+
return;
|
|
5100
|
+
}
|
|
5101
|
+
Object.assign(this, kwargs);
|
|
5102
|
+
}
|
|
5103
|
+
toApiJson() {
|
|
5104
|
+
const toReturn = {};
|
|
5105
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
5106
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
5107
|
+
}
|
|
5108
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
5109
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
5110
|
+
}
|
|
5111
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5112
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5113
|
+
}
|
|
5114
|
+
if (typeof this.userIds !== 'undefined') {
|
|
5115
|
+
toReturn['userIds'] = this.userIds;
|
|
5116
|
+
}
|
|
5117
|
+
return toReturn;
|
|
5118
|
+
}
|
|
5119
|
+
}
|
|
5120
|
+
class ListAvailableTimeslotsForSessionResponse {
|
|
5121
|
+
static fromProto(proto) {
|
|
5122
|
+
let m = new ListAvailableTimeslotsForSessionResponse();
|
|
5123
|
+
m = Object.assign(m, proto);
|
|
5124
|
+
if (proto.timeSlots) {
|
|
5125
|
+
m.timeSlots = proto.timeSlots.map(DateRange.fromProto);
|
|
5126
|
+
}
|
|
5127
|
+
if (proto.isoTimeSlots) {
|
|
5128
|
+
m.isoTimeSlots = proto.isoTimeSlots.map(IsoDateTimeRange.fromProto);
|
|
5129
|
+
}
|
|
5130
|
+
return m;
|
|
5131
|
+
}
|
|
5132
|
+
constructor(kwargs) {
|
|
5133
|
+
if (!kwargs) {
|
|
5134
|
+
return;
|
|
5135
|
+
}
|
|
5136
|
+
Object.assign(this, kwargs);
|
|
5137
|
+
}
|
|
5138
|
+
toApiJson() {
|
|
5139
|
+
const toReturn = {};
|
|
5140
|
+
if (typeof this.timeSlots !== 'undefined' && this.timeSlots !== null) {
|
|
5141
|
+
toReturn['timeSlots'] = 'toApiJson' in this.timeSlots ? this.timeSlots.toApiJson() : this.timeSlots;
|
|
5142
|
+
}
|
|
5143
|
+
if (typeof this.isoTimeSlots !== 'undefined' && this.isoTimeSlots !== null) {
|
|
5144
|
+
toReturn['isoTimeSlots'] = 'toApiJson' in this.isoTimeSlots ? this.isoTimeSlots.toApiJson() : this.isoTimeSlots;
|
|
5145
|
+
}
|
|
5146
|
+
return toReturn;
|
|
5147
|
+
}
|
|
5148
|
+
}
|
|
4968
5149
|
class ListBookedMeetingsRequest {
|
|
4969
5150
|
static fromProto(proto) {
|
|
4970
5151
|
let m = new ListBookedMeetingsRequest();
|
|
@@ -5147,7 +5328,7 @@ class Meeting {
|
|
|
5147
5328
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
5148
5329
|
}
|
|
5149
5330
|
if (proto.meetingType) {
|
|
5150
|
-
m.meetingType = enumStringToValue
|
|
5331
|
+
m.meetingType = enumStringToValue(TeamEventMeetingType, proto.meetingType);
|
|
5151
5332
|
}
|
|
5152
5333
|
if (proto.maxAttendeeCount) {
|
|
5153
5334
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -5366,7 +5547,7 @@ class SessionAttendees {
|
|
|
5366
5547
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
5367
5548
|
}
|
|
5368
5549
|
if (proto.bookingFailureReason) {
|
|
5369
|
-
m.bookingFailureReason = enumStringToValue
|
|
5550
|
+
m.bookingFailureReason = enumStringToValue(BookingFailureReason, proto.bookingFailureReason);
|
|
5370
5551
|
}
|
|
5371
5552
|
return m;
|
|
5372
5553
|
}
|
|
@@ -5405,6 +5586,9 @@ class SessionAttendees {
|
|
|
5405
5586
|
if (typeof this.bookingFailureReason !== 'undefined') {
|
|
5406
5587
|
toReturn['bookingFailureReason'] = this.bookingFailureReason;
|
|
5407
5588
|
}
|
|
5589
|
+
if (typeof this.contactId !== 'undefined') {
|
|
5590
|
+
toReturn['contactId'] = this.contactId;
|
|
5591
|
+
}
|
|
5408
5592
|
return toReturn;
|
|
5409
5593
|
}
|
|
5410
5594
|
}
|
|
@@ -5413,7 +5597,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
5413
5597
|
let m = new SetGeneralAvailabilityRequest();
|
|
5414
5598
|
m = Object.assign(m, proto);
|
|
5415
5599
|
if (proto.days) {
|
|
5416
|
-
m.days = proto.days.map((v) => enumStringToValue
|
|
5600
|
+
m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
|
|
5417
5601
|
}
|
|
5418
5602
|
if (proto.timeSlot) {
|
|
5419
5603
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -5672,7 +5856,7 @@ class WeekdayAvailability {
|
|
|
5672
5856
|
let m = new WeekdayAvailability();
|
|
5673
5857
|
m = Object.assign(m, proto);
|
|
5674
5858
|
if (proto.day) {
|
|
5675
|
-
m.day = enumStringToValue
|
|
5859
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
5676
5860
|
}
|
|
5677
5861
|
if (proto.timeSlots) {
|
|
5678
5862
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -5697,119 +5881,6 @@ class WeekdayAvailability {
|
|
|
5697
5881
|
}
|
|
5698
5882
|
}
|
|
5699
5883
|
|
|
5700
|
-
function enumStringToValue$1(enumRef, value) {
|
|
5701
|
-
if (typeof value === 'number') {
|
|
5702
|
-
return value;
|
|
5703
|
-
}
|
|
5704
|
-
return enumRef[value];
|
|
5705
|
-
}
|
|
5706
|
-
class TimeOfDay {
|
|
5707
|
-
static fromProto(proto) {
|
|
5708
|
-
let m = new TimeOfDay();
|
|
5709
|
-
m = Object.assign(m, proto);
|
|
5710
|
-
return m;
|
|
5711
|
-
}
|
|
5712
|
-
constructor(kwargs) {
|
|
5713
|
-
if (!kwargs) {
|
|
5714
|
-
return;
|
|
5715
|
-
}
|
|
5716
|
-
Object.assign(this, kwargs);
|
|
5717
|
-
}
|
|
5718
|
-
toApiJson() {
|
|
5719
|
-
const toReturn = {};
|
|
5720
|
-
if (typeof this.hours !== 'undefined') {
|
|
5721
|
-
toReturn['hours'] = this.hours;
|
|
5722
|
-
}
|
|
5723
|
-
if (typeof this.minutes !== 'undefined') {
|
|
5724
|
-
toReturn['minutes'] = this.minutes;
|
|
5725
|
-
}
|
|
5726
|
-
if (typeof this.seconds !== 'undefined') {
|
|
5727
|
-
toReturn['seconds'] = this.seconds;
|
|
5728
|
-
}
|
|
5729
|
-
if (typeof this.nanos !== 'undefined') {
|
|
5730
|
-
toReturn['nanos'] = this.nanos;
|
|
5731
|
-
}
|
|
5732
|
-
return toReturn;
|
|
5733
|
-
}
|
|
5734
|
-
}
|
|
5735
|
-
|
|
5736
|
-
function enumStringToValue(enumRef, value) {
|
|
5737
|
-
if (typeof value === 'number') {
|
|
5738
|
-
return value;
|
|
5739
|
-
}
|
|
5740
|
-
return enumRef[value];
|
|
5741
|
-
}
|
|
5742
|
-
class DateTime {
|
|
5743
|
-
static fromProto(proto) {
|
|
5744
|
-
let m = new DateTime();
|
|
5745
|
-
m = Object.assign(m, proto);
|
|
5746
|
-
if (proto.timeZone) {
|
|
5747
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
5748
|
-
}
|
|
5749
|
-
return m;
|
|
5750
|
-
}
|
|
5751
|
-
constructor(kwargs) {
|
|
5752
|
-
if (!kwargs) {
|
|
5753
|
-
return;
|
|
5754
|
-
}
|
|
5755
|
-
Object.assign(this, kwargs);
|
|
5756
|
-
}
|
|
5757
|
-
toApiJson() {
|
|
5758
|
-
const toReturn = {};
|
|
5759
|
-
if (typeof this.year !== 'undefined') {
|
|
5760
|
-
toReturn['year'] = this.year;
|
|
5761
|
-
}
|
|
5762
|
-
if (typeof this.month !== 'undefined') {
|
|
5763
|
-
toReturn['month'] = this.month;
|
|
5764
|
-
}
|
|
5765
|
-
if (typeof this.day !== 'undefined') {
|
|
5766
|
-
toReturn['day'] = this.day;
|
|
5767
|
-
}
|
|
5768
|
-
if (typeof this.hours !== 'undefined') {
|
|
5769
|
-
toReturn['hours'] = this.hours;
|
|
5770
|
-
}
|
|
5771
|
-
if (typeof this.minutes !== 'undefined') {
|
|
5772
|
-
toReturn['minutes'] = this.minutes;
|
|
5773
|
-
}
|
|
5774
|
-
if (typeof this.seconds !== 'undefined') {
|
|
5775
|
-
toReturn['seconds'] = this.seconds;
|
|
5776
|
-
}
|
|
5777
|
-
if (typeof this.nanos !== 'undefined') {
|
|
5778
|
-
toReturn['nanos'] = this.nanos;
|
|
5779
|
-
}
|
|
5780
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
5781
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
5782
|
-
}
|
|
5783
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5784
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5785
|
-
}
|
|
5786
|
-
return toReturn;
|
|
5787
|
-
}
|
|
5788
|
-
}
|
|
5789
|
-
class TimeZone {
|
|
5790
|
-
static fromProto(proto) {
|
|
5791
|
-
let m = new TimeZone();
|
|
5792
|
-
m = Object.assign(m, proto);
|
|
5793
|
-
return m;
|
|
5794
|
-
}
|
|
5795
|
-
constructor(kwargs) {
|
|
5796
|
-
if (!kwargs) {
|
|
5797
|
-
return;
|
|
5798
|
-
}
|
|
5799
|
-
Object.assign(this, kwargs);
|
|
5800
|
-
}
|
|
5801
|
-
toApiJson() {
|
|
5802
|
-
const toReturn = {};
|
|
5803
|
-
if (typeof this.id !== 'undefined') {
|
|
5804
|
-
toReturn['id'] = this.id;
|
|
5805
|
-
}
|
|
5806
|
-
if (typeof this.version !== 'undefined') {
|
|
5807
|
-
toReturn['version'] = this.version;
|
|
5808
|
-
}
|
|
5809
|
-
return toReturn;
|
|
5810
|
-
}
|
|
5811
|
-
}
|
|
5812
|
-
|
|
5813
5884
|
// *********************************
|
|
5814
5885
|
|
|
5815
5886
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -5837,9 +5908,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5837
5908
|
|
|
5838
5909
|
// *********************************
|
|
5839
5910
|
class MeetingSourceAPIApiService {
|
|
5840
|
-
constructor() {
|
|
5841
|
-
this.
|
|
5842
|
-
this.
|
|
5911
|
+
constructor(http, hostService) {
|
|
5912
|
+
this.http = http;
|
|
5913
|
+
this.hostService = hostService;
|
|
5843
5914
|
this._host = this.hostService.hostWithScheme;
|
|
5844
5915
|
}
|
|
5845
5916
|
apiOptions() {
|
|
@@ -5856,18 +5927,18 @@ class MeetingSourceAPIApiService {
|
|
|
5856
5927
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5857
5928
|
}
|
|
5858
5929
|
}
|
|
5859
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5930
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5860
5931
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5861
5932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5862
5933
|
type: Injectable,
|
|
5863
5934
|
args: [{ providedIn: 'root' }]
|
|
5864
|
-
}] });
|
|
5935
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5865
5936
|
|
|
5866
5937
|
// *********************************
|
|
5867
5938
|
class ZoomApiService {
|
|
5868
|
-
constructor() {
|
|
5869
|
-
this.
|
|
5870
|
-
this.
|
|
5939
|
+
constructor(http, hostService) {
|
|
5940
|
+
this.http = http;
|
|
5941
|
+
this.hostService = hostService;
|
|
5871
5942
|
this._host = this.hostService.hostWithScheme;
|
|
5872
5943
|
}
|
|
5873
5944
|
apiOptions() {
|
|
@@ -5884,18 +5955,18 @@ class ZoomApiService {
|
|
|
5884
5955
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5885
5956
|
}
|
|
5886
5957
|
}
|
|
5887
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5958
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5888
5959
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5889
5960
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5890
5961
|
type: Injectable,
|
|
5891
5962
|
args: [{ providedIn: 'root' }]
|
|
5892
|
-
}] });
|
|
5963
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5893
5964
|
|
|
5894
5965
|
// *********************************
|
|
5895
5966
|
class GoogleMeetApiService {
|
|
5896
|
-
constructor() {
|
|
5897
|
-
this.
|
|
5898
|
-
this.
|
|
5967
|
+
constructor(http, hostService) {
|
|
5968
|
+
this.http = http;
|
|
5969
|
+
this.hostService = hostService;
|
|
5899
5970
|
this._host = this.hostService.hostWithScheme;
|
|
5900
5971
|
}
|
|
5901
5972
|
apiOptions() {
|
|
@@ -5917,12 +5988,12 @@ class GoogleMeetApiService {
|
|
|
5917
5988
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
5918
5989
|
}
|
|
5919
5990
|
}
|
|
5920
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5991
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5921
5992
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5922
5993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5923
5994
|
type: Injectable,
|
|
5924
5995
|
args: [{ providedIn: 'root' }]
|
|
5925
|
-
}] });
|
|
5996
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5926
5997
|
|
|
5927
5998
|
function generateMeetingPassword() {
|
|
5928
5999
|
const zoomMaxLength = 10;
|
|
@@ -6084,9 +6155,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
6084
6155
|
|
|
6085
6156
|
// *********************************
|
|
6086
6157
|
class MeetingGuestApiService {
|
|
6087
|
-
constructor() {
|
|
6088
|
-
this.
|
|
6089
|
-
this.
|
|
6158
|
+
constructor(http, hostService) {
|
|
6159
|
+
this.http = http;
|
|
6160
|
+
this.hostService = hostService;
|
|
6090
6161
|
this._host = this.hostService.hostWithScheme;
|
|
6091
6162
|
}
|
|
6092
6163
|
apiOptions() {
|
|
@@ -6174,18 +6245,18 @@ class MeetingGuestApiService {
|
|
|
6174
6245
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeDeregisterSessionMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6175
6246
|
}
|
|
6176
6247
|
}
|
|
6177
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6248
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6178
6249
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
6179
6250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
6180
6251
|
type: Injectable,
|
|
6181
6252
|
args: [{ providedIn: 'root' }]
|
|
6182
|
-
}] });
|
|
6253
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
6183
6254
|
|
|
6184
6255
|
// *********************************
|
|
6185
6256
|
class MeetingHostApiService {
|
|
6186
|
-
constructor() {
|
|
6187
|
-
this.
|
|
6188
|
-
this.
|
|
6257
|
+
constructor(http, hostService) {
|
|
6258
|
+
this.http = http;
|
|
6259
|
+
this.hostService = hostService;
|
|
6189
6260
|
this._host = this.hostService.hostWithScheme;
|
|
6190
6261
|
}
|
|
6191
6262
|
apiOptions() {
|
|
@@ -6431,13 +6502,18 @@ class MeetingHostApiService {
|
|
|
6431
6502
|
const request = (r.toApiJson) ? r : new RescheduleMeetingRequest(r);
|
|
6432
6503
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/RescheduleSession", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6433
6504
|
}
|
|
6505
|
+
listAvailableTimeslotsForSession(r) {
|
|
6506
|
+
const request = (r.toApiJson) ? r : new ListAvailableTimeslotsForSessionRequest(r);
|
|
6507
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailableTimeslotsForSession", request.toApiJson(), this.apiOptions())
|
|
6508
|
+
.pipe(map(resp => ListAvailableTimeslotsForSessionResponse.fromProto(resp)));
|
|
6509
|
+
}
|
|
6434
6510
|
}
|
|
6435
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6511
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6436
6512
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
6437
6513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
6438
6514
|
type: Injectable,
|
|
6439
6515
|
args: [{ providedIn: 'root' }]
|
|
6440
|
-
}] });
|
|
6516
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
6441
6517
|
|
|
6442
6518
|
// *********************************
|
|
6443
6519
|
|
|
@@ -7593,6 +7669,9 @@ class HostService {
|
|
|
7593
7669
|
})
|
|
7594
7670
|
.pipe(mapTo(null));
|
|
7595
7671
|
}
|
|
7672
|
+
listAvailableTimeslotsForSession(req) {
|
|
7673
|
+
return this.hostAPIService.listAvailableTimeslotsForSession(req).pipe(map(resp => resp.timeSlots ? resp.timeSlots.map(ts => TimeSpanFromApi(ts)) : []));
|
|
7674
|
+
}
|
|
7596
7675
|
}
|
|
7597
7676
|
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7598
7677
|
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: "root" });
|