@vendasta/meetings 0.98.2 → 0.98.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-type.enum.mjs +19 -1
- 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/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-bot-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/index.mjs +5 -5
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +47 -3
- package/esm2020/lib/_internal/objects/meeting-type.mjs +78 -1
- package/esm2020/lib/_internal/objects/shared.mjs +26 -2
- package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
- package/esm2020/lib/guest/guest.service.mjs +1 -1
- package/esm2020/lib/host/host.service.mjs +7 -2
- package/esm2020/lib/index.mjs +2 -2
- package/esm2020/lib/shared/meeting-type.mjs +6 -2
- package/esm2020/lib/shared/meeting.mjs +8 -1
- package/fesm2015/vendasta-meetings.mjs +359 -181
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +359 -181
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/meeting-type.enum.d.ts +15 -0
- package/lib/_internal/google-meet.api.service.d.ts +5 -2
- package/lib/_internal/interfaces/index.d.ts +4 -4
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +11 -2
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +12 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +6 -1
- package/lib/_internal/meeting-bot-api.api.service.d.ts +5 -3
- package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
- package/lib/_internal/meeting-host.api.service.d.ts +5 -3
- package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
- package/lib/_internal/objects/index.d.ts +4 -4
- package/lib/_internal/objects/meeting-guest.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +17 -2
- package/lib/_internal/objects/meeting-type.d.ts +18 -0
- 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 -2
- package/lib/index.d.ts +2 -2
- package/lib/shared/meeting-type.d.ts +4 -2
- package/lib/shared/meeting.d.ts +4 -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
|
|
@@ -125,12 +126,30 @@ var FormFieldType;
|
|
|
125
126
|
//
|
|
126
127
|
// Enums.
|
|
127
128
|
// *********************************
|
|
129
|
+
var DateRangeType;
|
|
130
|
+
(function (DateRangeType) {
|
|
131
|
+
DateRangeType[DateRangeType["RELATIVE"] = 0] = "RELATIVE";
|
|
132
|
+
DateRangeType[DateRangeType["CUSTOM"] = 1] = "CUSTOM";
|
|
133
|
+
})(DateRangeType || (DateRangeType = {}));
|
|
128
134
|
var MeetingLocationType;
|
|
129
135
|
(function (MeetingLocationType) {
|
|
130
136
|
MeetingLocationType[MeetingLocationType["VIDEO"] = 0] = "VIDEO";
|
|
131
137
|
MeetingLocationType[MeetingLocationType["IN_PERSON_USER_SITE"] = 1] = "IN_PERSON_USER_SITE";
|
|
132
138
|
MeetingLocationType[MeetingLocationType["IN_PERSON_CLIENT_SITE"] = 2] = "IN_PERSON_CLIENT_SITE";
|
|
133
139
|
})(MeetingLocationType || (MeetingLocationType = {}));
|
|
140
|
+
var TeamEventMeetingType;
|
|
141
|
+
(function (TeamEventMeetingType) {
|
|
142
|
+
TeamEventMeetingType[TeamEventMeetingType["ROUND_ROBIN"] = 0] = "ROUND_ROBIN";
|
|
143
|
+
TeamEventMeetingType[TeamEventMeetingType["CLIENT_CHOICE"] = 1] = "CLIENT_CHOICE";
|
|
144
|
+
TeamEventMeetingType[TeamEventMeetingType["MULTI_HOST"] = 2] = "MULTI_HOST";
|
|
145
|
+
TeamEventMeetingType[TeamEventMeetingType["PRIORITY_ROUND_ROBIN"] = 3] = "PRIORITY_ROUND_ROBIN";
|
|
146
|
+
})(TeamEventMeetingType || (TeamEventMeetingType = {}));
|
|
147
|
+
var RelativeTimeUnit;
|
|
148
|
+
(function (RelativeTimeUnit) {
|
|
149
|
+
RelativeTimeUnit[RelativeTimeUnit["DAYS"] = 0] = "DAYS";
|
|
150
|
+
RelativeTimeUnit[RelativeTimeUnit["WEEKS"] = 1] = "WEEKS";
|
|
151
|
+
RelativeTimeUnit[RelativeTimeUnit["MONTHS"] = 2] = "MONTHS";
|
|
152
|
+
})(RelativeTimeUnit || (RelativeTimeUnit = {}));
|
|
134
153
|
|
|
135
154
|
// *********************************
|
|
136
155
|
// Code generated by sdkgen
|
|
@@ -1202,12 +1221,125 @@ function enumStringToValue$9(enumRef, value) {
|
|
|
1202
1221
|
}
|
|
1203
1222
|
return enumRef[value];
|
|
1204
1223
|
}
|
|
1224
|
+
class TimeOfDay {
|
|
1225
|
+
static fromProto(proto) {
|
|
1226
|
+
let m = new TimeOfDay();
|
|
1227
|
+
m = Object.assign(m, proto);
|
|
1228
|
+
return m;
|
|
1229
|
+
}
|
|
1230
|
+
constructor(kwargs) {
|
|
1231
|
+
if (!kwargs) {
|
|
1232
|
+
return;
|
|
1233
|
+
}
|
|
1234
|
+
Object.assign(this, kwargs);
|
|
1235
|
+
}
|
|
1236
|
+
toApiJson() {
|
|
1237
|
+
const toReturn = {};
|
|
1238
|
+
if (typeof this.hours !== 'undefined') {
|
|
1239
|
+
toReturn['hours'] = this.hours;
|
|
1240
|
+
}
|
|
1241
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1242
|
+
toReturn['minutes'] = this.minutes;
|
|
1243
|
+
}
|
|
1244
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1245
|
+
toReturn['seconds'] = this.seconds;
|
|
1246
|
+
}
|
|
1247
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1248
|
+
toReturn['nanos'] = this.nanos;
|
|
1249
|
+
}
|
|
1250
|
+
return toReturn;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
function enumStringToValue$8(enumRef, value) {
|
|
1255
|
+
if (typeof value === 'number') {
|
|
1256
|
+
return value;
|
|
1257
|
+
}
|
|
1258
|
+
return enumRef[value];
|
|
1259
|
+
}
|
|
1260
|
+
class DateTime {
|
|
1261
|
+
static fromProto(proto) {
|
|
1262
|
+
let m = new DateTime();
|
|
1263
|
+
m = Object.assign(m, proto);
|
|
1264
|
+
if (proto.timeZone) {
|
|
1265
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1266
|
+
}
|
|
1267
|
+
return m;
|
|
1268
|
+
}
|
|
1269
|
+
constructor(kwargs) {
|
|
1270
|
+
if (!kwargs) {
|
|
1271
|
+
return;
|
|
1272
|
+
}
|
|
1273
|
+
Object.assign(this, kwargs);
|
|
1274
|
+
}
|
|
1275
|
+
toApiJson() {
|
|
1276
|
+
const toReturn = {};
|
|
1277
|
+
if (typeof this.year !== 'undefined') {
|
|
1278
|
+
toReturn['year'] = this.year;
|
|
1279
|
+
}
|
|
1280
|
+
if (typeof this.month !== 'undefined') {
|
|
1281
|
+
toReturn['month'] = this.month;
|
|
1282
|
+
}
|
|
1283
|
+
if (typeof this.day !== 'undefined') {
|
|
1284
|
+
toReturn['day'] = this.day;
|
|
1285
|
+
}
|
|
1286
|
+
if (typeof this.hours !== 'undefined') {
|
|
1287
|
+
toReturn['hours'] = this.hours;
|
|
1288
|
+
}
|
|
1289
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1290
|
+
toReturn['minutes'] = this.minutes;
|
|
1291
|
+
}
|
|
1292
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1293
|
+
toReturn['seconds'] = this.seconds;
|
|
1294
|
+
}
|
|
1295
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1296
|
+
toReturn['nanos'] = this.nanos;
|
|
1297
|
+
}
|
|
1298
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
1299
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
1300
|
+
}
|
|
1301
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1302
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1303
|
+
}
|
|
1304
|
+
return toReturn;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
class TimeZone {
|
|
1308
|
+
static fromProto(proto) {
|
|
1309
|
+
let m = new TimeZone();
|
|
1310
|
+
m = Object.assign(m, proto);
|
|
1311
|
+
return m;
|
|
1312
|
+
}
|
|
1313
|
+
constructor(kwargs) {
|
|
1314
|
+
if (!kwargs) {
|
|
1315
|
+
return;
|
|
1316
|
+
}
|
|
1317
|
+
Object.assign(this, kwargs);
|
|
1318
|
+
}
|
|
1319
|
+
toApiJson() {
|
|
1320
|
+
const toReturn = {};
|
|
1321
|
+
if (typeof this.id !== 'undefined') {
|
|
1322
|
+
toReturn['id'] = this.id;
|
|
1323
|
+
}
|
|
1324
|
+
if (typeof this.version !== 'undefined') {
|
|
1325
|
+
toReturn['version'] = this.version;
|
|
1326
|
+
}
|
|
1327
|
+
return toReturn;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1332
|
+
if (typeof value === 'number') {
|
|
1333
|
+
return value;
|
|
1334
|
+
}
|
|
1335
|
+
return enumRef[value];
|
|
1336
|
+
}
|
|
1205
1337
|
class Answer {
|
|
1206
1338
|
static fromProto(proto) {
|
|
1207
1339
|
let m = new Answer();
|
|
1208
1340
|
m = Object.assign(m, proto);
|
|
1209
1341
|
if (proto.type) {
|
|
1210
|
-
m.type = enumStringToValue$
|
|
1342
|
+
m.type = enumStringToValue$7(FormFieldType, proto.type);
|
|
1211
1343
|
}
|
|
1212
1344
|
return m;
|
|
1213
1345
|
}
|
|
@@ -1280,6 +1412,29 @@ class CalendarApplicationContextEntry {
|
|
|
1280
1412
|
return toReturn;
|
|
1281
1413
|
}
|
|
1282
1414
|
}
|
|
1415
|
+
class HostDetail {
|
|
1416
|
+
static fromProto(proto) {
|
|
1417
|
+
let m = new HostDetail();
|
|
1418
|
+
m = Object.assign(m, proto);
|
|
1419
|
+
return m;
|
|
1420
|
+
}
|
|
1421
|
+
constructor(kwargs) {
|
|
1422
|
+
if (!kwargs) {
|
|
1423
|
+
return;
|
|
1424
|
+
}
|
|
1425
|
+
Object.assign((this, kwargs));
|
|
1426
|
+
}
|
|
1427
|
+
toApiJson() {
|
|
1428
|
+
const toReturn = {};
|
|
1429
|
+
if (typeof this.hostID !== 'undefined') {
|
|
1430
|
+
toReturn['hostID'] = this.hostID;
|
|
1431
|
+
}
|
|
1432
|
+
if (typeof this.name !== 'undefined') {
|
|
1433
|
+
toReturn['name'] = this.name;
|
|
1434
|
+
}
|
|
1435
|
+
return toReturn;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1283
1438
|
class Attachment {
|
|
1284
1439
|
static fromProto(proto) {
|
|
1285
1440
|
let m = new Attachment();
|
|
@@ -1349,7 +1504,7 @@ class Calendar {
|
|
|
1349
1504
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1350
1505
|
}
|
|
1351
1506
|
if (proto.calendarType) {
|
|
1352
|
-
m.calendarType = enumStringToValue$
|
|
1507
|
+
m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
|
|
1353
1508
|
}
|
|
1354
1509
|
return m;
|
|
1355
1510
|
}
|
|
@@ -1550,7 +1705,7 @@ class Preferences {
|
|
|
1550
1705
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1551
1706
|
}
|
|
1552
1707
|
if (proto.meetingIntegration) {
|
|
1553
|
-
m.meetingIntegration = enumStringToValue$
|
|
1708
|
+
m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
|
|
1554
1709
|
}
|
|
1555
1710
|
if (proto.availabilityIncrement) {
|
|
1556
1711
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1565,7 +1720,7 @@ class Preferences {
|
|
|
1565
1720
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1566
1721
|
}
|
|
1567
1722
|
if (proto.calendarIntegration) {
|
|
1568
|
-
m.calendarIntegration = enumStringToValue$
|
|
1723
|
+
m.calendarIntegration = enumStringToValue$7(CalendarSource, proto.calendarIntegration);
|
|
1569
1724
|
}
|
|
1570
1725
|
return m;
|
|
1571
1726
|
}
|
|
@@ -1634,18 +1789,89 @@ class TimeRange {
|
|
|
1634
1789
|
}
|
|
1635
1790
|
}
|
|
1636
1791
|
|
|
1637
|
-
function enumStringToValue$
|
|
1792
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1793
|
+
if (typeof value === 'number') {
|
|
1794
|
+
return value;
|
|
1795
|
+
}
|
|
1796
|
+
return enumRef[value];
|
|
1797
|
+
}
|
|
1798
|
+
class DateRange {
|
|
1799
|
+
static fromProto(proto) {
|
|
1800
|
+
let m = new DateRange();
|
|
1801
|
+
m = Object.assign(m, proto);
|
|
1802
|
+
if (proto.start) {
|
|
1803
|
+
m.start = new Date(proto.start);
|
|
1804
|
+
}
|
|
1805
|
+
if (proto.end) {
|
|
1806
|
+
m.end = new Date(proto.end);
|
|
1807
|
+
}
|
|
1808
|
+
return m;
|
|
1809
|
+
}
|
|
1810
|
+
constructor(kwargs) {
|
|
1811
|
+
if (!kwargs) {
|
|
1812
|
+
return;
|
|
1813
|
+
}
|
|
1814
|
+
Object.assign(this, kwargs);
|
|
1815
|
+
}
|
|
1816
|
+
toApiJson() {
|
|
1817
|
+
const toReturn = {};
|
|
1818
|
+
if (typeof this.start !== 'undefined' && this.start !== null) {
|
|
1819
|
+
toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
|
|
1820
|
+
}
|
|
1821
|
+
if (typeof this.end !== 'undefined' && this.end !== null) {
|
|
1822
|
+
toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;
|
|
1823
|
+
}
|
|
1824
|
+
return toReturn;
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1638
1829
|
if (typeof value === 'number') {
|
|
1639
1830
|
return value;
|
|
1640
1831
|
}
|
|
1641
1832
|
return enumRef[value];
|
|
1642
1833
|
}
|
|
1834
|
+
class EventTypeDateRange {
|
|
1835
|
+
static fromProto(proto) {
|
|
1836
|
+
let m = new EventTypeDateRange();
|
|
1837
|
+
m = Object.assign(m, proto);
|
|
1838
|
+
if (proto.dateRangeType) {
|
|
1839
|
+
m.dateRangeType = enumStringToValue$5(DateRangeType, proto.dateRangeType);
|
|
1840
|
+
}
|
|
1841
|
+
if (proto.customDateRange) {
|
|
1842
|
+
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
1843
|
+
}
|
|
1844
|
+
if (proto.relativeDateRange) {
|
|
1845
|
+
m.relativeDateRange = RelativeDateRange.fromProto(proto.relativeDateRange);
|
|
1846
|
+
}
|
|
1847
|
+
return m;
|
|
1848
|
+
}
|
|
1849
|
+
constructor(kwargs) {
|
|
1850
|
+
if (!kwargs) {
|
|
1851
|
+
return;
|
|
1852
|
+
}
|
|
1853
|
+
Object.assign(this, kwargs);
|
|
1854
|
+
}
|
|
1855
|
+
toApiJson() {
|
|
1856
|
+
const toReturn = {};
|
|
1857
|
+
if (typeof this.dateRangeType !== 'undefined') {
|
|
1858
|
+
toReturn['dateRangeType'] = this.dateRangeType;
|
|
1859
|
+
}
|
|
1860
|
+
if (typeof this.customDateRange !== 'undefined' && this.customDateRange !== null) {
|
|
1861
|
+
toReturn['customDateRange'] = 'toApiJson' in this.customDateRange ? this.customDateRange.toApiJson() : this.customDateRange;
|
|
1862
|
+
}
|
|
1863
|
+
if (typeof this.relativeDateRange !== 'undefined' && this.relativeDateRange !== null) {
|
|
1864
|
+
toReturn['relativeDateRange'] = 'toApiJson' in this.relativeDateRange ? this.relativeDateRange.toApiJson() : this.relativeDateRange;
|
|
1865
|
+
}
|
|
1866
|
+
return toReturn;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1643
1869
|
class Field {
|
|
1644
1870
|
static fromProto(proto) {
|
|
1645
1871
|
let m = new Field();
|
|
1646
1872
|
m = Object.assign(m, proto);
|
|
1647
1873
|
if (proto.type) {
|
|
1648
|
-
m.type = enumStringToValue$
|
|
1874
|
+
m.type = enumStringToValue$5(FormFieldType, proto.type);
|
|
1649
1875
|
}
|
|
1650
1876
|
return m;
|
|
1651
1877
|
}
|
|
@@ -1712,7 +1938,7 @@ class MeetingType {
|
|
|
1712
1938
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1713
1939
|
}
|
|
1714
1940
|
if (proto.locationType) {
|
|
1715
|
-
m.locationType = enumStringToValue$
|
|
1941
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
1716
1942
|
}
|
|
1717
1943
|
if (proto.hostUsers) {
|
|
1718
1944
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -1720,6 +1946,12 @@ class MeetingType {
|
|
|
1720
1946
|
if (proto.bufferDurationBeforeMeeting) {
|
|
1721
1947
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1722
1948
|
}
|
|
1949
|
+
if (proto.meetingType) {
|
|
1950
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
1951
|
+
}
|
|
1952
|
+
if (proto.dateRange) {
|
|
1953
|
+
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
1954
|
+
}
|
|
1723
1955
|
return m;
|
|
1724
1956
|
}
|
|
1725
1957
|
constructor(kwargs) {
|
|
@@ -1811,25 +2043,24 @@ class MeetingType {
|
|
|
1811
2043
|
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
1812
2044
|
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
1813
2045
|
}
|
|
2046
|
+
if (typeof this.meetingType !== 'undefined') {
|
|
2047
|
+
toReturn['meetingType'] = this.meetingType;
|
|
2048
|
+
}
|
|
2049
|
+
if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
|
|
2050
|
+
toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;
|
|
2051
|
+
}
|
|
1814
2052
|
return toReturn;
|
|
1815
2053
|
}
|
|
1816
2054
|
}
|
|
1817
|
-
|
|
1818
|
-
function enumStringToValue$7(enumRef, value) {
|
|
1819
|
-
if (typeof value === 'number') {
|
|
1820
|
-
return value;
|
|
1821
|
-
}
|
|
1822
|
-
return enumRef[value];
|
|
1823
|
-
}
|
|
1824
|
-
class DateRange {
|
|
2055
|
+
class RelativeDateRange {
|
|
1825
2056
|
static fromProto(proto) {
|
|
1826
|
-
let m = new
|
|
2057
|
+
let m = new RelativeDateRange();
|
|
1827
2058
|
m = Object.assign(m, proto);
|
|
1828
|
-
if (proto.
|
|
1829
|
-
m.
|
|
2059
|
+
if (proto.unit) {
|
|
2060
|
+
m.unit = enumStringToValue$5(RelativeTimeUnit, proto.unit);
|
|
1830
2061
|
}
|
|
1831
|
-
if (proto.
|
|
1832
|
-
m.
|
|
2062
|
+
if (proto.value) {
|
|
2063
|
+
m.value = parseInt(proto.value, 10);
|
|
1833
2064
|
}
|
|
1834
2065
|
return m;
|
|
1835
2066
|
}
|
|
@@ -1841,17 +2072,17 @@ class DateRange {
|
|
|
1841
2072
|
}
|
|
1842
2073
|
toApiJson() {
|
|
1843
2074
|
const toReturn = {};
|
|
1844
|
-
if (typeof this.
|
|
1845
|
-
toReturn['
|
|
2075
|
+
if (typeof this.unit !== 'undefined') {
|
|
2076
|
+
toReturn['unit'] = this.unit;
|
|
1846
2077
|
}
|
|
1847
|
-
if (typeof this.
|
|
1848
|
-
toReturn['
|
|
2078
|
+
if (typeof this.value !== 'undefined') {
|
|
2079
|
+
toReturn['value'] = this.value;
|
|
1849
2080
|
}
|
|
1850
2081
|
return toReturn;
|
|
1851
2082
|
}
|
|
1852
2083
|
}
|
|
1853
2084
|
|
|
1854
|
-
function enumStringToValue$
|
|
2085
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1855
2086
|
if (typeof value === 'number') {
|
|
1856
2087
|
return value;
|
|
1857
2088
|
}
|
|
@@ -1996,7 +2227,7 @@ class Service {
|
|
|
1996
2227
|
}
|
|
1997
2228
|
}
|
|
1998
2229
|
|
|
1999
|
-
function enumStringToValue$
|
|
2230
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2000
2231
|
if (typeof value === 'number') {
|
|
2001
2232
|
return value;
|
|
2002
2233
|
}
|
|
@@ -2389,7 +2620,7 @@ class GuestGetBookedMeetingResponse {
|
|
|
2389
2620
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2390
2621
|
}
|
|
2391
2622
|
if (proto.locationType) {
|
|
2392
|
-
m.locationType = enumStringToValue$
|
|
2623
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
2393
2624
|
}
|
|
2394
2625
|
return m;
|
|
2395
2626
|
}
|
|
@@ -2631,7 +2862,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2631
2862
|
}
|
|
2632
2863
|
}
|
|
2633
2864
|
|
|
2634
|
-
function enumStringToValue$
|
|
2865
|
+
function enumStringToValue$2(enumRef, value) {
|
|
2635
2866
|
if (typeof value === 'number') {
|
|
2636
2867
|
return value;
|
|
2637
2868
|
}
|
|
@@ -2658,7 +2889,7 @@ class FieldMask {
|
|
|
2658
2889
|
}
|
|
2659
2890
|
}
|
|
2660
2891
|
|
|
2661
|
-
function enumStringToValue$
|
|
2892
|
+
function enumStringToValue$1(enumRef, value) {
|
|
2662
2893
|
if (typeof value === 'number') {
|
|
2663
2894
|
return value;
|
|
2664
2895
|
}
|
|
@@ -2738,7 +2969,7 @@ class AvailabilityRule {
|
|
|
2738
2969
|
let m = new AvailabilityRule();
|
|
2739
2970
|
m = Object.assign(m, proto);
|
|
2740
2971
|
if (proto.day) {
|
|
2741
|
-
m.day = enumStringToValue$
|
|
2972
|
+
m.day = enumStringToValue$1(DayOfWeek, proto.day);
|
|
2742
2973
|
}
|
|
2743
2974
|
if (proto.timeSlot) {
|
|
2744
2975
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -2774,6 +3005,29 @@ class AvailabilityRule {
|
|
|
2774
3005
|
return toReturn;
|
|
2775
3006
|
}
|
|
2776
3007
|
}
|
|
3008
|
+
class AvailabilityRuleList {
|
|
3009
|
+
static fromProto(proto) {
|
|
3010
|
+
let m = new AvailabilityRuleList();
|
|
3011
|
+
m = Object.assign(m, proto);
|
|
3012
|
+
if (proto.rules) {
|
|
3013
|
+
m.rules = proto.rules.map(AvailabilityRule.fromProto);
|
|
3014
|
+
}
|
|
3015
|
+
return m;
|
|
3016
|
+
}
|
|
3017
|
+
constructor(kwargs) {
|
|
3018
|
+
if (!kwargs) {
|
|
3019
|
+
return;
|
|
3020
|
+
}
|
|
3021
|
+
Object.assign(this, kwargs);
|
|
3022
|
+
}
|
|
3023
|
+
toApiJson() {
|
|
3024
|
+
const toReturn = {};
|
|
3025
|
+
if (typeof this.rules !== 'undefined' && this.rules !== null) {
|
|
3026
|
+
toReturn['rules'] = 'toApiJson' in this.rules ? this.rules.toApiJson() : this.rules;
|
|
3027
|
+
}
|
|
3028
|
+
return toReturn;
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
2777
3031
|
class BuildHostIdRequest {
|
|
2778
3032
|
static fromProto(proto) {
|
|
2779
3033
|
let m = new BuildHostIdRequest();
|
|
@@ -3601,6 +3855,9 @@ class GetHostsForCalendarRequest {
|
|
|
3601
3855
|
if (typeof this.calendarId !== 'undefined') {
|
|
3602
3856
|
toReturn['calendarId'] = this.calendarId;
|
|
3603
3857
|
}
|
|
3858
|
+
if (typeof this.timezone !== 'undefined') {
|
|
3859
|
+
toReturn['timezone'] = this.timezone;
|
|
3860
|
+
}
|
|
3604
3861
|
return toReturn;
|
|
3605
3862
|
}
|
|
3606
3863
|
}
|
|
@@ -3611,6 +3868,9 @@ class GetHostsForCalendarResponse {
|
|
|
3611
3868
|
if (proto.hostUsers) {
|
|
3612
3869
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
3613
3870
|
}
|
|
3871
|
+
if (proto.hostUserAvailabilityRule) {
|
|
3872
|
+
m.hostUserAvailabilityRule = Object.keys(proto.hostUserAvailabilityRule).reduce((obj, k) => { obj[k] = AvailabilityRuleList.fromProto(proto.hostUserAvailabilityRule[k]); return obj; }, {});
|
|
3873
|
+
}
|
|
3614
3874
|
return m;
|
|
3615
3875
|
}
|
|
3616
3876
|
constructor(kwargs) {
|
|
@@ -3624,6 +3884,9 @@ class GetHostsForCalendarResponse {
|
|
|
3624
3884
|
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
3625
3885
|
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
3626
3886
|
}
|
|
3887
|
+
if (typeof this.hostUserAvailabilityRule !== 'undefined' && this.hostUserAvailabilityRule !== null) {
|
|
3888
|
+
toReturn['hostUserAvailabilityRule'] = 'toApiJson' in this.hostUserAvailabilityRule ? this.hostUserAvailabilityRule.toApiJson() : this.hostUserAvailabilityRule;
|
|
3889
|
+
}
|
|
3627
3890
|
return toReturn;
|
|
3628
3891
|
}
|
|
3629
3892
|
}
|
|
@@ -3675,7 +3938,7 @@ class HostBookMeetingRequest {
|
|
|
3675
3938
|
let m = new HostBookMeetingRequest();
|
|
3676
3939
|
m = Object.assign(m, proto);
|
|
3677
3940
|
if (proto.meetingSource) {
|
|
3678
|
-
m.meetingSource = enumStringToValue$
|
|
3941
|
+
m.meetingSource = enumStringToValue$1(MeetingSource, proto.meetingSource);
|
|
3679
3942
|
}
|
|
3680
3943
|
if (proto.timeSlot) {
|
|
3681
3944
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4200,6 +4463,12 @@ class Meeting {
|
|
|
4200
4463
|
if (proto.attachments) {
|
|
4201
4464
|
m.attachments = proto.attachments.map(Attachment.fromProto);
|
|
4202
4465
|
}
|
|
4466
|
+
if (proto.hostDetails) {
|
|
4467
|
+
m.hostDetails = proto.hostDetails.map(HostDetail.fromProto);
|
|
4468
|
+
}
|
|
4469
|
+
if (proto.meetingType) {
|
|
4470
|
+
m.meetingType = enumStringToValue$1(TeamEventMeetingType, proto.meetingType);
|
|
4471
|
+
}
|
|
4203
4472
|
return m;
|
|
4204
4473
|
}
|
|
4205
4474
|
constructor(kwargs) {
|
|
@@ -4258,6 +4527,12 @@ class Meeting {
|
|
|
4258
4527
|
if (typeof this.calendarId !== 'undefined') {
|
|
4259
4528
|
toReturn['calendarId'] = this.calendarId;
|
|
4260
4529
|
}
|
|
4530
|
+
if (typeof this.hostDetails !== 'undefined' && this.hostDetails !== null) {
|
|
4531
|
+
toReturn['hostDetails'] = 'toApiJson' in this.hostDetails ? this.hostDetails.toApiJson() : this.hostDetails;
|
|
4532
|
+
}
|
|
4533
|
+
if (typeof this.meetingType !== 'undefined') {
|
|
4534
|
+
toReturn['meetingType'] = this.meetingType;
|
|
4535
|
+
}
|
|
4261
4536
|
return toReturn;
|
|
4262
4537
|
}
|
|
4263
4538
|
}
|
|
@@ -4387,7 +4662,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4387
4662
|
let m = new SetGeneralAvailabilityRequest();
|
|
4388
4663
|
m = Object.assign(m, proto);
|
|
4389
4664
|
if (proto.days) {
|
|
4390
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
4665
|
+
m.days = proto.days.map((v) => enumStringToValue$1(DayOfWeek, v));
|
|
4391
4666
|
}
|
|
4392
4667
|
if (proto.timeSlot) {
|
|
4393
4668
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4646,7 +4921,7 @@ class WeekdayAvailability {
|
|
|
4646
4921
|
let m = new WeekdayAvailability();
|
|
4647
4922
|
m = Object.assign(m, proto);
|
|
4648
4923
|
if (proto.day) {
|
|
4649
|
-
m.day = enumStringToValue$
|
|
4924
|
+
m.day = enumStringToValue$1(DayOfWeek, proto.day);
|
|
4650
4925
|
}
|
|
4651
4926
|
if (proto.timeSlots) {
|
|
4652
4927
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4671,7 +4946,7 @@ class WeekdayAvailability {
|
|
|
4671
4946
|
}
|
|
4672
4947
|
}
|
|
4673
4948
|
|
|
4674
|
-
function enumStringToValue
|
|
4949
|
+
function enumStringToValue(enumRef, value) {
|
|
4675
4950
|
if (typeof value === 'number') {
|
|
4676
4951
|
return value;
|
|
4677
4952
|
}
|
|
@@ -4707,119 +4982,6 @@ class ScheduleBotRequest {
|
|
|
4707
4982
|
}
|
|
4708
4983
|
}
|
|
4709
4984
|
|
|
4710
|
-
function enumStringToValue$1(enumRef, value) {
|
|
4711
|
-
if (typeof value === 'number') {
|
|
4712
|
-
return value;
|
|
4713
|
-
}
|
|
4714
|
-
return enumRef[value];
|
|
4715
|
-
}
|
|
4716
|
-
class TimeOfDay {
|
|
4717
|
-
static fromProto(proto) {
|
|
4718
|
-
let m = new TimeOfDay();
|
|
4719
|
-
m = Object.assign(m, proto);
|
|
4720
|
-
return m;
|
|
4721
|
-
}
|
|
4722
|
-
constructor(kwargs) {
|
|
4723
|
-
if (!kwargs) {
|
|
4724
|
-
return;
|
|
4725
|
-
}
|
|
4726
|
-
Object.assign(this, kwargs);
|
|
4727
|
-
}
|
|
4728
|
-
toApiJson() {
|
|
4729
|
-
const toReturn = {};
|
|
4730
|
-
if (typeof this.hours !== 'undefined') {
|
|
4731
|
-
toReturn['hours'] = this.hours;
|
|
4732
|
-
}
|
|
4733
|
-
if (typeof this.minutes !== 'undefined') {
|
|
4734
|
-
toReturn['minutes'] = this.minutes;
|
|
4735
|
-
}
|
|
4736
|
-
if (typeof this.seconds !== 'undefined') {
|
|
4737
|
-
toReturn['seconds'] = this.seconds;
|
|
4738
|
-
}
|
|
4739
|
-
if (typeof this.nanos !== 'undefined') {
|
|
4740
|
-
toReturn['nanos'] = this.nanos;
|
|
4741
|
-
}
|
|
4742
|
-
return toReturn;
|
|
4743
|
-
}
|
|
4744
|
-
}
|
|
4745
|
-
|
|
4746
|
-
function enumStringToValue(enumRef, value) {
|
|
4747
|
-
if (typeof value === 'number') {
|
|
4748
|
-
return value;
|
|
4749
|
-
}
|
|
4750
|
-
return enumRef[value];
|
|
4751
|
-
}
|
|
4752
|
-
class DateTime {
|
|
4753
|
-
static fromProto(proto) {
|
|
4754
|
-
let m = new DateTime();
|
|
4755
|
-
m = Object.assign(m, proto);
|
|
4756
|
-
if (proto.timeZone) {
|
|
4757
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4758
|
-
}
|
|
4759
|
-
return m;
|
|
4760
|
-
}
|
|
4761
|
-
constructor(kwargs) {
|
|
4762
|
-
if (!kwargs) {
|
|
4763
|
-
return;
|
|
4764
|
-
}
|
|
4765
|
-
Object.assign(this, kwargs);
|
|
4766
|
-
}
|
|
4767
|
-
toApiJson() {
|
|
4768
|
-
const toReturn = {};
|
|
4769
|
-
if (typeof this.year !== 'undefined') {
|
|
4770
|
-
toReturn['year'] = this.year;
|
|
4771
|
-
}
|
|
4772
|
-
if (typeof this.month !== 'undefined') {
|
|
4773
|
-
toReturn['month'] = this.month;
|
|
4774
|
-
}
|
|
4775
|
-
if (typeof this.day !== 'undefined') {
|
|
4776
|
-
toReturn['day'] = this.day;
|
|
4777
|
-
}
|
|
4778
|
-
if (typeof this.hours !== 'undefined') {
|
|
4779
|
-
toReturn['hours'] = this.hours;
|
|
4780
|
-
}
|
|
4781
|
-
if (typeof this.minutes !== 'undefined') {
|
|
4782
|
-
toReturn['minutes'] = this.minutes;
|
|
4783
|
-
}
|
|
4784
|
-
if (typeof this.seconds !== 'undefined') {
|
|
4785
|
-
toReturn['seconds'] = this.seconds;
|
|
4786
|
-
}
|
|
4787
|
-
if (typeof this.nanos !== 'undefined') {
|
|
4788
|
-
toReturn['nanos'] = this.nanos;
|
|
4789
|
-
}
|
|
4790
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
4791
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
4792
|
-
}
|
|
4793
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
4794
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
4795
|
-
}
|
|
4796
|
-
return toReturn;
|
|
4797
|
-
}
|
|
4798
|
-
}
|
|
4799
|
-
class TimeZone {
|
|
4800
|
-
static fromProto(proto) {
|
|
4801
|
-
let m = new TimeZone();
|
|
4802
|
-
m = Object.assign(m, proto);
|
|
4803
|
-
return m;
|
|
4804
|
-
}
|
|
4805
|
-
constructor(kwargs) {
|
|
4806
|
-
if (!kwargs) {
|
|
4807
|
-
return;
|
|
4808
|
-
}
|
|
4809
|
-
Object.assign(this, kwargs);
|
|
4810
|
-
}
|
|
4811
|
-
toApiJson() {
|
|
4812
|
-
const toReturn = {};
|
|
4813
|
-
if (typeof this.id !== 'undefined') {
|
|
4814
|
-
toReturn['id'] = this.id;
|
|
4815
|
-
}
|
|
4816
|
-
if (typeof this.version !== 'undefined') {
|
|
4817
|
-
toReturn['version'] = this.version;
|
|
4818
|
-
}
|
|
4819
|
-
return toReturn;
|
|
4820
|
-
}
|
|
4821
|
-
}
|
|
4822
|
-
|
|
4823
4985
|
// *********************************
|
|
4824
4986
|
|
|
4825
4987
|
var _a;
|
|
@@ -4848,9 +5010,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4848
5010
|
|
|
4849
5011
|
// *********************************
|
|
4850
5012
|
class MeetingSourceAPIApiService {
|
|
4851
|
-
constructor() {
|
|
4852
|
-
this.
|
|
4853
|
-
this.
|
|
5013
|
+
constructor(http, hostService) {
|
|
5014
|
+
this.http = http;
|
|
5015
|
+
this.hostService = hostService;
|
|
4854
5016
|
this._host = this.hostService.hostWithScheme;
|
|
4855
5017
|
}
|
|
4856
5018
|
apiOptions() {
|
|
@@ -4867,18 +5029,18 @@ class MeetingSourceAPIApiService {
|
|
|
4867
5029
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4868
5030
|
}
|
|
4869
5031
|
}
|
|
4870
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5032
|
+
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 });
|
|
4871
5033
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4872
5034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4873
5035
|
type: Injectable,
|
|
4874
5036
|
args: [{ providedIn: 'root' }]
|
|
4875
|
-
}] });
|
|
5037
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4876
5038
|
|
|
4877
5039
|
// *********************************
|
|
4878
5040
|
class ZoomApiService {
|
|
4879
|
-
constructor() {
|
|
4880
|
-
this.
|
|
4881
|
-
this.
|
|
5041
|
+
constructor(http, hostService) {
|
|
5042
|
+
this.http = http;
|
|
5043
|
+
this.hostService = hostService;
|
|
4882
5044
|
this._host = this.hostService.hostWithScheme;
|
|
4883
5045
|
}
|
|
4884
5046
|
apiOptions() {
|
|
@@ -4895,18 +5057,18 @@ class ZoomApiService {
|
|
|
4895
5057
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
4896
5058
|
}
|
|
4897
5059
|
}
|
|
4898
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5060
|
+
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 });
|
|
4899
5061
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
4900
5062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
4901
5063
|
type: Injectable,
|
|
4902
5064
|
args: [{ providedIn: 'root' }]
|
|
4903
|
-
}] });
|
|
5065
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4904
5066
|
|
|
4905
5067
|
// *********************************
|
|
4906
5068
|
class GoogleMeetApiService {
|
|
4907
|
-
constructor() {
|
|
4908
|
-
this.
|
|
4909
|
-
this.
|
|
5069
|
+
constructor(http, hostService) {
|
|
5070
|
+
this.http = http;
|
|
5071
|
+
this.hostService = hostService;
|
|
4910
5072
|
this._host = this.hostService.hostWithScheme;
|
|
4911
5073
|
}
|
|
4912
5074
|
apiOptions() {
|
|
@@ -4923,12 +5085,12 @@ class GoogleMeetApiService {
|
|
|
4923
5085
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4924
5086
|
}
|
|
4925
5087
|
}
|
|
4926
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5088
|
+
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 });
|
|
4927
5089
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4928
5090
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4929
5091
|
type: Injectable,
|
|
4930
5092
|
args: [{ providedIn: 'root' }]
|
|
4931
|
-
}] });
|
|
5093
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4932
5094
|
|
|
4933
5095
|
function generateMeetingPassword() {
|
|
4934
5096
|
const zoomMaxLength = 10;
|
|
@@ -5090,9 +5252,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
5090
5252
|
|
|
5091
5253
|
// *********************************
|
|
5092
5254
|
class MeetingBotAPIApiService {
|
|
5093
|
-
constructor() {
|
|
5094
|
-
this.
|
|
5095
|
-
this.
|
|
5255
|
+
constructor(http, hostService) {
|
|
5256
|
+
this.http = http;
|
|
5257
|
+
this.hostService = hostService;
|
|
5096
5258
|
this._host = this.hostService.hostWithScheme;
|
|
5097
5259
|
}
|
|
5098
5260
|
apiOptions() {
|
|
@@ -5108,18 +5270,18 @@ class MeetingBotAPIApiService {
|
|
|
5108
5270
|
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ScheduleBot", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
5109
5271
|
}
|
|
5110
5272
|
}
|
|
5111
|
-
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5273
|
+
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5112
5274
|
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5113
5275
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5114
5276
|
type: Injectable,
|
|
5115
5277
|
args: [{ providedIn: 'root' }]
|
|
5116
|
-
}] });
|
|
5278
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5117
5279
|
|
|
5118
5280
|
// *********************************
|
|
5119
5281
|
class MeetingGuestApiService {
|
|
5120
|
-
constructor() {
|
|
5121
|
-
this.
|
|
5122
|
-
this.
|
|
5282
|
+
constructor(http, hostService) {
|
|
5283
|
+
this.http = http;
|
|
5284
|
+
this.hostService = hostService;
|
|
5123
5285
|
this._host = this.hostService.hostWithScheme;
|
|
5124
5286
|
}
|
|
5125
5287
|
apiOptions() {
|
|
@@ -5189,18 +5351,18 @@ class MeetingGuestApiService {
|
|
|
5189
5351
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5190
5352
|
}
|
|
5191
5353
|
}
|
|
5192
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5354
|
+
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 });
|
|
5193
5355
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5194
5356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5195
5357
|
type: Injectable,
|
|
5196
5358
|
args: [{ providedIn: 'root' }]
|
|
5197
|
-
}] });
|
|
5359
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5198
5360
|
|
|
5199
5361
|
// *********************************
|
|
5200
5362
|
class MeetingHostApiService {
|
|
5201
|
-
constructor() {
|
|
5202
|
-
this.
|
|
5203
|
-
this.
|
|
5363
|
+
constructor(http, hostService) {
|
|
5364
|
+
this.http = http;
|
|
5365
|
+
this.hostService = hostService;
|
|
5204
5366
|
this._host = this.hostService.hostWithScheme;
|
|
5205
5367
|
}
|
|
5206
5368
|
apiOptions() {
|
|
@@ -5420,12 +5582,12 @@ class MeetingHostApiService {
|
|
|
5420
5582
|
.pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
|
|
5421
5583
|
}
|
|
5422
5584
|
}
|
|
5423
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5585
|
+
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 });
|
|
5424
5586
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5425
5587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5426
5588
|
type: Injectable,
|
|
5427
5589
|
args: [{ providedIn: 'root' }]
|
|
5428
|
-
}] });
|
|
5590
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5429
5591
|
|
|
5430
5592
|
// *********************************
|
|
5431
5593
|
|
|
@@ -5569,6 +5731,8 @@ function MeetingTypeFromApi(req) {
|
|
|
5569
5731
|
teamName: req.meetingTypeApi.teamName || '',
|
|
5570
5732
|
isVideoLinkDisabled: req.meetingTypeApi.isVideoLinkDisabled || false,
|
|
5571
5733
|
locationType: req.meetingTypeApi.locationType || MeetingLocationType.VIDEO,
|
|
5734
|
+
meetingType: req.meetingTypeApi.meetingType || TeamEventMeetingType.ROUND_ROBIN,
|
|
5735
|
+
dateRange: req.meetingTypeApi.dateRange || {},
|
|
5572
5736
|
};
|
|
5573
5737
|
}
|
|
5574
5738
|
function MeetingTypeToApi(req) {
|
|
@@ -5601,6 +5765,8 @@ function MeetingTypeToApi(req) {
|
|
|
5601
5765
|
isVideoLinkDisabled: m.isVideoLinkDisabled || false,
|
|
5602
5766
|
locationType: m.locationType || MeetingLocationType.VIDEO,
|
|
5603
5767
|
bufferDurationBeforeMeeting: m.bufferDurationBeforeMeeting || 0,
|
|
5768
|
+
meetingType: m.meetingType || TeamEventMeetingType.ROUND_ROBIN,
|
|
5769
|
+
dateRange: m.dateRange || undefined
|
|
5604
5770
|
};
|
|
5605
5771
|
}
|
|
5606
5772
|
|
|
@@ -5661,6 +5827,13 @@ function meetingFromApi(meetingApi) {
|
|
|
5661
5827
|
}),
|
|
5662
5828
|
location: meetingApi.location || '',
|
|
5663
5829
|
calendarId: meetingApi.calendarId || '',
|
|
5830
|
+
hostDetails: (meetingApi.hostDetails || []).map(h => {
|
|
5831
|
+
return {
|
|
5832
|
+
hostID: h.hostID || '',
|
|
5833
|
+
name: h.name || '',
|
|
5834
|
+
};
|
|
5835
|
+
}),
|
|
5836
|
+
meetingType: meetingApi.meetingType,
|
|
5664
5837
|
};
|
|
5665
5838
|
}
|
|
5666
5839
|
function answersFromAPI(formAnswers) {
|
|
@@ -6350,9 +6523,14 @@ class HostService {
|
|
|
6350
6523
|
return this.hostAPIService
|
|
6351
6524
|
.getHostsForCalendar({ calendarId: req.calendarId })
|
|
6352
6525
|
.pipe(map((res) => {
|
|
6353
|
-
|
|
6526
|
+
const hostUsers = (res.hostUsers || []).map((hostuser) => {
|
|
6354
6527
|
return hostUserFromApi(hostuser);
|
|
6355
6528
|
});
|
|
6529
|
+
const availabilityRules = res.hostUserAvailabilityRule || {};
|
|
6530
|
+
return {
|
|
6531
|
+
hostUsers,
|
|
6532
|
+
availabilityRules,
|
|
6533
|
+
};
|
|
6356
6534
|
}));
|
|
6357
6535
|
}
|
|
6358
6536
|
IsCalendarConfigured(req) {
|
|
@@ -6489,5 +6667,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
6489
6667
|
* Generated bundle index. Do not edit.
|
|
6490
6668
|
*/
|
|
6491
6669
|
|
|
6492
|
-
export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
6670
|
+
export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
6493
6671
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|