@vendasta/meetings 0.98.5 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/enums/index.mjs +3 -3
- package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +7 -7
- package/esm2020/lib/_internal/enums/shared.enum.mjs +9 -1
- 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-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 +7 -8
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -8
- 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-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +69 -14
- package/esm2020/lib/_internal/objects/meeting-type.mjs +7 -7
- package/esm2020/lib/_internal/objects/shared.mjs +8 -26
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/esm2020/lib/host/host.service.mjs +2 -2
- package/esm2020/lib/index.mjs +2 -2
- package/esm2020/lib/shared/meeting.mjs +2 -2
- package/esm2020/lib/shared/preferences.mjs +3 -2
- package/fesm2015/vendasta-meetings.mjs +263 -217
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +263 -217
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +2 -2
- package/lib/_internal/enums/meeting-type.enum.d.ts +5 -5
- package/lib/_internal/enums/shared.enum.d.ts +7 -0
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- 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 +19 -10
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +1 -1
- package/lib/_internal/interfaces/shared.interface.d.ts +2 -6
- package/lib/_internal/meeting-bot-api.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 +3 -5
- 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-guest.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +34 -22
- package/lib/_internal/objects/meeting-type.d.ts +1 -1
- package/lib/_internal/objects/shared.d.ts +2 -9
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/lib/host/host.service.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/shared/meeting.d.ts +2 -2
- package/lib/shared/preferences.d.ts +2 -1
- 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
|
|
@@ -119,6 +118,14 @@ var FormFieldType;
|
|
|
119
118
|
FormFieldType[FormFieldType["FORM_FIELD_TYPE_PHONE_NUMBER"] = 3] = "FORM_FIELD_TYPE_PHONE_NUMBER";
|
|
120
119
|
FormFieldType[FormFieldType["FORM_FIELD_TYPE_SELECT"] = 4] = "FORM_FIELD_TYPE_SELECT";
|
|
121
120
|
})(FormFieldType || (FormFieldType = {}));
|
|
121
|
+
var OnBoardingState;
|
|
122
|
+
(function (OnBoardingState) {
|
|
123
|
+
OnBoardingState[OnBoardingState["COMPLETED_SETUP"] = 0] = "COMPLETED_SETUP";
|
|
124
|
+
OnBoardingState[OnBoardingState["NOT_YET_STARTED"] = 1] = "NOT_YET_STARTED";
|
|
125
|
+
OnBoardingState[OnBoardingState["SLUG_CREATED"] = 2] = "SLUG_CREATED";
|
|
126
|
+
OnBoardingState[OnBoardingState["CALENDAR_CONNECTED"] = 3] = "CALENDAR_CONNECTED";
|
|
127
|
+
OnBoardingState[OnBoardingState["MEETING_APP_CONNECTED"] = 4] = "MEETING_APP_CONNECTED";
|
|
128
|
+
})(OnBoardingState || (OnBoardingState = {}));
|
|
122
129
|
|
|
123
130
|
// *********************************
|
|
124
131
|
// Code generated by sdkgen
|
|
@@ -137,6 +144,12 @@ var MeetingLocationType;
|
|
|
137
144
|
MeetingLocationType[MeetingLocationType["IN_PERSON_USER_SITE"] = 1] = "IN_PERSON_USER_SITE";
|
|
138
145
|
MeetingLocationType[MeetingLocationType["IN_PERSON_CLIENT_SITE"] = 2] = "IN_PERSON_CLIENT_SITE";
|
|
139
146
|
})(MeetingLocationType || (MeetingLocationType = {}));
|
|
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 = {}));
|
|
140
153
|
var TeamEventMeetingType;
|
|
141
154
|
(function (TeamEventMeetingType) {
|
|
142
155
|
TeamEventMeetingType[TeamEventMeetingType["ROUND_ROBIN"] = 0] = "ROUND_ROBIN";
|
|
@@ -144,12 +157,6 @@ var TeamEventMeetingType;
|
|
|
144
157
|
TeamEventMeetingType[TeamEventMeetingType["MULTI_HOST"] = 2] = "MULTI_HOST";
|
|
145
158
|
TeamEventMeetingType[TeamEventMeetingType["PRIORITY_ROUND_ROBIN"] = 3] = "PRIORITY_ROUND_ROBIN";
|
|
146
159
|
})(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 = {}));
|
|
153
160
|
|
|
154
161
|
// *********************************
|
|
155
162
|
// Code generated by sdkgen
|
|
@@ -1221,125 +1228,12 @@ function enumStringToValue$9(enumRef, value) {
|
|
|
1221
1228
|
}
|
|
1222
1229
|
return enumRef[value];
|
|
1223
1230
|
}
|
|
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
|
-
}
|
|
1337
1231
|
class Answer {
|
|
1338
1232
|
static fromProto(proto) {
|
|
1339
1233
|
let m = new Answer();
|
|
1340
1234
|
m = Object.assign(m, proto);
|
|
1341
1235
|
if (proto.type) {
|
|
1342
|
-
m.type = enumStringToValue$
|
|
1236
|
+
m.type = enumStringToValue$9(FormFieldType, proto.type);
|
|
1343
1237
|
}
|
|
1344
1238
|
return m;
|
|
1345
1239
|
}
|
|
@@ -1412,29 +1306,6 @@ class CalendarApplicationContextEntry {
|
|
|
1412
1306
|
return toReturn;
|
|
1413
1307
|
}
|
|
1414
1308
|
}
|
|
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
|
-
}
|
|
1438
1309
|
class Attachment {
|
|
1439
1310
|
static fromProto(proto) {
|
|
1440
1311
|
let m = new Attachment();
|
|
@@ -1504,7 +1375,7 @@ class Calendar {
|
|
|
1504
1375
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1505
1376
|
}
|
|
1506
1377
|
if (proto.calendarType) {
|
|
1507
|
-
m.calendarType = enumStringToValue$
|
|
1378
|
+
m.calendarType = enumStringToValue$9(CalendarType, proto.calendarType);
|
|
1508
1379
|
}
|
|
1509
1380
|
return m;
|
|
1510
1381
|
}
|
|
@@ -1705,7 +1576,7 @@ class Preferences {
|
|
|
1705
1576
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1706
1577
|
}
|
|
1707
1578
|
if (proto.meetingIntegration) {
|
|
1708
|
-
m.meetingIntegration = enumStringToValue$
|
|
1579
|
+
m.meetingIntegration = enumStringToValue$9(MeetingSource, proto.meetingIntegration);
|
|
1709
1580
|
}
|
|
1710
1581
|
if (proto.availabilityIncrement) {
|
|
1711
1582
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1720,7 +1591,10 @@ class Preferences {
|
|
|
1720
1591
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1721
1592
|
}
|
|
1722
1593
|
if (proto.calendarIntegration) {
|
|
1723
|
-
m.calendarIntegration = enumStringToValue$
|
|
1594
|
+
m.calendarIntegration = enumStringToValue$9(CalendarSource, proto.calendarIntegration);
|
|
1595
|
+
}
|
|
1596
|
+
if (proto.onBoardingState) {
|
|
1597
|
+
m.onBoardingState = enumStringToValue$9(OnBoardingState, proto.onBoardingState);
|
|
1724
1598
|
}
|
|
1725
1599
|
return m;
|
|
1726
1600
|
}
|
|
@@ -1756,6 +1630,9 @@ class Preferences {
|
|
|
1756
1630
|
if (typeof this.calendarIntegration !== 'undefined') {
|
|
1757
1631
|
toReturn['calendarIntegration'] = this.calendarIntegration;
|
|
1758
1632
|
}
|
|
1633
|
+
if (typeof this.onBoardingState !== 'undefined') {
|
|
1634
|
+
toReturn['onBoardingState'] = this.onBoardingState;
|
|
1635
|
+
}
|
|
1759
1636
|
return toReturn;
|
|
1760
1637
|
}
|
|
1761
1638
|
}
|
|
@@ -1789,7 +1666,7 @@ class TimeRange {
|
|
|
1789
1666
|
}
|
|
1790
1667
|
}
|
|
1791
1668
|
|
|
1792
|
-
function enumStringToValue$
|
|
1669
|
+
function enumStringToValue$8(enumRef, value) {
|
|
1793
1670
|
if (typeof value === 'number') {
|
|
1794
1671
|
return value;
|
|
1795
1672
|
}
|
|
@@ -1825,7 +1702,7 @@ class DateRange {
|
|
|
1825
1702
|
}
|
|
1826
1703
|
}
|
|
1827
1704
|
|
|
1828
|
-
function enumStringToValue$
|
|
1705
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1829
1706
|
if (typeof value === 'number') {
|
|
1830
1707
|
return value;
|
|
1831
1708
|
}
|
|
@@ -1836,7 +1713,7 @@ class EventTypeDateRange {
|
|
|
1836
1713
|
let m = new EventTypeDateRange();
|
|
1837
1714
|
m = Object.assign(m, proto);
|
|
1838
1715
|
if (proto.dateRangeType) {
|
|
1839
|
-
m.dateRangeType = enumStringToValue$
|
|
1716
|
+
m.dateRangeType = enumStringToValue$7(DateRangeType, proto.dateRangeType);
|
|
1840
1717
|
}
|
|
1841
1718
|
if (proto.customDateRange) {
|
|
1842
1719
|
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
@@ -1871,7 +1748,7 @@ class Field {
|
|
|
1871
1748
|
let m = new Field();
|
|
1872
1749
|
m = Object.assign(m, proto);
|
|
1873
1750
|
if (proto.type) {
|
|
1874
|
-
m.type = enumStringToValue$
|
|
1751
|
+
m.type = enumStringToValue$7(FormFieldType, proto.type);
|
|
1875
1752
|
}
|
|
1876
1753
|
return m;
|
|
1877
1754
|
}
|
|
@@ -1938,7 +1815,7 @@ class MeetingType {
|
|
|
1938
1815
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1939
1816
|
}
|
|
1940
1817
|
if (proto.locationType) {
|
|
1941
|
-
m.locationType = enumStringToValue$
|
|
1818
|
+
m.locationType = enumStringToValue$7(MeetingLocationType, proto.locationType);
|
|
1942
1819
|
}
|
|
1943
1820
|
if (proto.hostUsers) {
|
|
1944
1821
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -1946,12 +1823,12 @@ class MeetingType {
|
|
|
1946
1823
|
if (proto.bufferDurationBeforeMeeting) {
|
|
1947
1824
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1948
1825
|
}
|
|
1949
|
-
if (proto.meetingType) {
|
|
1950
|
-
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
1951
|
-
}
|
|
1952
1826
|
if (proto.dateRange) {
|
|
1953
1827
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
1954
1828
|
}
|
|
1829
|
+
if (proto.meetingType) {
|
|
1830
|
+
m.meetingType = enumStringToValue$7(TeamEventMeetingType, proto.meetingType);
|
|
1831
|
+
}
|
|
1955
1832
|
return m;
|
|
1956
1833
|
}
|
|
1957
1834
|
constructor(kwargs) {
|
|
@@ -2043,12 +1920,12 @@ class MeetingType {
|
|
|
2043
1920
|
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
2044
1921
|
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
2045
1922
|
}
|
|
2046
|
-
if (typeof this.meetingType !== 'undefined') {
|
|
2047
|
-
toReturn['meetingType'] = this.meetingType;
|
|
2048
|
-
}
|
|
2049
1923
|
if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
|
|
2050
1924
|
toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;
|
|
2051
1925
|
}
|
|
1926
|
+
if (typeof this.meetingType !== 'undefined') {
|
|
1927
|
+
toReturn['meetingType'] = this.meetingType;
|
|
1928
|
+
}
|
|
2052
1929
|
return toReturn;
|
|
2053
1930
|
}
|
|
2054
1931
|
}
|
|
@@ -2057,7 +1934,7 @@ class RelativeDateRange {
|
|
|
2057
1934
|
let m = new RelativeDateRange();
|
|
2058
1935
|
m = Object.assign(m, proto);
|
|
2059
1936
|
if (proto.unit) {
|
|
2060
|
-
m.unit = enumStringToValue$
|
|
1937
|
+
m.unit = enumStringToValue$7(RelativeTimeUnit, proto.unit);
|
|
2061
1938
|
}
|
|
2062
1939
|
if (proto.value) {
|
|
2063
1940
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2082,7 +1959,7 @@ class RelativeDateRange {
|
|
|
2082
1959
|
}
|
|
2083
1960
|
}
|
|
2084
1961
|
|
|
2085
|
-
function enumStringToValue$
|
|
1962
|
+
function enumStringToValue$6(enumRef, value) {
|
|
2086
1963
|
if (typeof value === 'number') {
|
|
2087
1964
|
return value;
|
|
2088
1965
|
}
|
|
@@ -2227,7 +2104,7 @@ class Service {
|
|
|
2227
2104
|
}
|
|
2228
2105
|
}
|
|
2229
2106
|
|
|
2230
|
-
function enumStringToValue$
|
|
2107
|
+
function enumStringToValue$5(enumRef, value) {
|
|
2231
2108
|
if (typeof value === 'number') {
|
|
2232
2109
|
return value;
|
|
2233
2110
|
}
|
|
@@ -2620,10 +2497,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
2620
2497
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2621
2498
|
}
|
|
2622
2499
|
if (proto.locationType) {
|
|
2623
|
-
m.locationType = enumStringToValue$
|
|
2500
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
2624
2501
|
}
|
|
2625
2502
|
if (proto.meetingType) {
|
|
2626
|
-
m.meetingType = enumStringToValue$
|
|
2503
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
2627
2504
|
}
|
|
2628
2505
|
return m;
|
|
2629
2506
|
}
|
|
@@ -2874,7 +2751,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2874
2751
|
}
|
|
2875
2752
|
}
|
|
2876
2753
|
|
|
2877
|
-
function enumStringToValue$
|
|
2754
|
+
function enumStringToValue$4(enumRef, value) {
|
|
2878
2755
|
if (typeof value === 'number') {
|
|
2879
2756
|
return value;
|
|
2880
2757
|
}
|
|
@@ -2901,15 +2778,15 @@ class FieldMask {
|
|
|
2901
2778
|
}
|
|
2902
2779
|
}
|
|
2903
2780
|
|
|
2904
|
-
function enumStringToValue$
|
|
2781
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2905
2782
|
if (typeof value === 'number') {
|
|
2906
2783
|
return value;
|
|
2907
2784
|
}
|
|
2908
2785
|
return enumRef[value];
|
|
2909
2786
|
}
|
|
2910
|
-
class
|
|
2787
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
2911
2788
|
static fromProto(proto) {
|
|
2912
|
-
let m = new
|
|
2789
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
2913
2790
|
m = Object.assign(m, proto);
|
|
2914
2791
|
return m;
|
|
2915
2792
|
}
|
|
@@ -2930,9 +2807,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
|
2930
2807
|
return toReturn;
|
|
2931
2808
|
}
|
|
2932
2809
|
}
|
|
2933
|
-
class
|
|
2810
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
2934
2811
|
static fromProto(proto) {
|
|
2935
|
-
let m = new
|
|
2812
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
2936
2813
|
m = Object.assign(m, proto);
|
|
2937
2814
|
return m;
|
|
2938
2815
|
}
|
|
@@ -2953,9 +2830,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
2953
2830
|
return toReturn;
|
|
2954
2831
|
}
|
|
2955
2832
|
}
|
|
2956
|
-
class
|
|
2833
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
2957
2834
|
static fromProto(proto) {
|
|
2958
|
-
let m = new
|
|
2835
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
2959
2836
|
m = Object.assign(m, proto);
|
|
2960
2837
|
return m;
|
|
2961
2838
|
}
|
|
@@ -2981,7 +2858,7 @@ class AvailabilityRule {
|
|
|
2981
2858
|
let m = new AvailabilityRule();
|
|
2982
2859
|
m = Object.assign(m, proto);
|
|
2983
2860
|
if (proto.day) {
|
|
2984
|
-
m.day = enumStringToValue$
|
|
2861
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
2985
2862
|
}
|
|
2986
2863
|
if (proto.timeSlot) {
|
|
2987
2864
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3950,7 +3827,7 @@ class HostBookMeetingRequest {
|
|
|
3950
3827
|
let m = new HostBookMeetingRequest();
|
|
3951
3828
|
m = Object.assign(m, proto);
|
|
3952
3829
|
if (proto.meetingSource) {
|
|
3953
|
-
m.meetingSource = enumStringToValue$
|
|
3830
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
3954
3831
|
}
|
|
3955
3832
|
if (proto.timeSlot) {
|
|
3956
3833
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4012,6 +3889,29 @@ class HostBookMeetingResponse {
|
|
|
4012
3889
|
return toReturn;
|
|
4013
3890
|
}
|
|
4014
3891
|
}
|
|
3892
|
+
class HostDetails {
|
|
3893
|
+
static fromProto(proto) {
|
|
3894
|
+
let m = new HostDetails();
|
|
3895
|
+
m = Object.assign(m, proto);
|
|
3896
|
+
return m;
|
|
3897
|
+
}
|
|
3898
|
+
constructor(kwargs) {
|
|
3899
|
+
if (!kwargs) {
|
|
3900
|
+
return;
|
|
3901
|
+
}
|
|
3902
|
+
Object.assign(this, kwargs);
|
|
3903
|
+
}
|
|
3904
|
+
toApiJson() {
|
|
3905
|
+
const toReturn = {};
|
|
3906
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3907
|
+
toReturn['hostId'] = this.hostId;
|
|
3908
|
+
}
|
|
3909
|
+
if (typeof this.name !== 'undefined') {
|
|
3910
|
+
toReturn['name'] = this.name;
|
|
3911
|
+
}
|
|
3912
|
+
return toReturn;
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
4015
3915
|
class HostGetCalendarRequest {
|
|
4016
3916
|
static fromProto(proto) {
|
|
4017
3917
|
let m = new HostGetCalendarRequest();
|
|
@@ -4144,6 +4044,32 @@ class HostListMeetingTypesResponse {
|
|
|
4144
4044
|
return toReturn;
|
|
4145
4045
|
}
|
|
4146
4046
|
}
|
|
4047
|
+
class GetHostsForCalendarResponseHostUserAvailabilityRuleEntry {
|
|
4048
|
+
static fromProto(proto) {
|
|
4049
|
+
let m = new GetHostsForCalendarResponseHostUserAvailabilityRuleEntry();
|
|
4050
|
+
m = Object.assign(m, proto);
|
|
4051
|
+
if (proto.value) {
|
|
4052
|
+
m.value = AvailabilityRuleList.fromProto(proto.value);
|
|
4053
|
+
}
|
|
4054
|
+
return m;
|
|
4055
|
+
}
|
|
4056
|
+
constructor(kwargs) {
|
|
4057
|
+
if (!kwargs) {
|
|
4058
|
+
return;
|
|
4059
|
+
}
|
|
4060
|
+
Object.assign(this, kwargs);
|
|
4061
|
+
}
|
|
4062
|
+
toApiJson() {
|
|
4063
|
+
const toReturn = {};
|
|
4064
|
+
if (typeof this.key !== 'undefined') {
|
|
4065
|
+
toReturn['key'] = this.key;
|
|
4066
|
+
}
|
|
4067
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
4068
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
4069
|
+
}
|
|
4070
|
+
return toReturn;
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4147
4073
|
class IsCalendarConfiguredRequest {
|
|
4148
4074
|
static fromProto(proto) {
|
|
4149
4075
|
let m = new IsCalendarConfiguredRequest();
|
|
@@ -4217,6 +4143,9 @@ class IsHostConfiguredResponse {
|
|
|
4217
4143
|
static fromProto(proto) {
|
|
4218
4144
|
let m = new IsHostConfiguredResponse();
|
|
4219
4145
|
m = Object.assign(m, proto);
|
|
4146
|
+
if (proto.onBoardingState) {
|
|
4147
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
4148
|
+
}
|
|
4220
4149
|
return m;
|
|
4221
4150
|
}
|
|
4222
4151
|
constructor(kwargs) {
|
|
@@ -4230,6 +4159,9 @@ class IsHostConfiguredResponse {
|
|
|
4230
4159
|
if (typeof this.isConfigured !== 'undefined') {
|
|
4231
4160
|
toReturn['isConfigured'] = this.isConfigured;
|
|
4232
4161
|
}
|
|
4162
|
+
if (typeof this.onBoardingState !== 'undefined') {
|
|
4163
|
+
toReturn['onBoardingState'] = this.onBoardingState;
|
|
4164
|
+
}
|
|
4233
4165
|
return toReturn;
|
|
4234
4166
|
}
|
|
4235
4167
|
}
|
|
@@ -4476,10 +4408,10 @@ class Meeting {
|
|
|
4476
4408
|
m.attachments = proto.attachments.map(Attachment.fromProto);
|
|
4477
4409
|
}
|
|
4478
4410
|
if (proto.hostDetails) {
|
|
4479
|
-
m.hostDetails = proto.hostDetails.map(
|
|
4411
|
+
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
4480
4412
|
}
|
|
4481
4413
|
if (proto.meetingType) {
|
|
4482
|
-
m.meetingType = enumStringToValue$
|
|
4414
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
4483
4415
|
}
|
|
4484
4416
|
return m;
|
|
4485
4417
|
}
|
|
@@ -4571,9 +4503,9 @@ class MeetingTypeList {
|
|
|
4571
4503
|
return toReturn;
|
|
4572
4504
|
}
|
|
4573
4505
|
}
|
|
4574
|
-
class
|
|
4506
|
+
class UpdateMeetingMetadataRequestMetadataEntry {
|
|
4575
4507
|
static fromProto(proto) {
|
|
4576
|
-
let m = new
|
|
4508
|
+
let m = new UpdateMeetingMetadataRequestMetadataEntry();
|
|
4577
4509
|
m = Object.assign(m, proto);
|
|
4578
4510
|
return m;
|
|
4579
4511
|
}
|
|
@@ -4594,9 +4526,9 @@ class MeetingMetadataEntry {
|
|
|
4594
4526
|
return toReturn;
|
|
4595
4527
|
}
|
|
4596
4528
|
}
|
|
4597
|
-
class
|
|
4529
|
+
class MeetingMetadataEntry {
|
|
4598
4530
|
static fromProto(proto) {
|
|
4599
|
-
let m = new
|
|
4531
|
+
let m = new MeetingMetadataEntry();
|
|
4600
4532
|
m = Object.assign(m, proto);
|
|
4601
4533
|
return m;
|
|
4602
4534
|
}
|
|
@@ -4674,7 +4606,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4674
4606
|
let m = new SetGeneralAvailabilityRequest();
|
|
4675
4607
|
m = Object.assign(m, proto);
|
|
4676
4608
|
if (proto.days) {
|
|
4677
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
4609
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
4678
4610
|
}
|
|
4679
4611
|
if (proto.timeSlot) {
|
|
4680
4612
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4933,7 +4865,7 @@ class WeekdayAvailability {
|
|
|
4933
4865
|
let m = new WeekdayAvailability();
|
|
4934
4866
|
m = Object.assign(m, proto);
|
|
4935
4867
|
if (proto.day) {
|
|
4936
|
-
m.day = enumStringToValue$
|
|
4868
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4937
4869
|
}
|
|
4938
4870
|
if (proto.timeSlots) {
|
|
4939
4871
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4958,7 +4890,7 @@ class WeekdayAvailability {
|
|
|
4958
4890
|
}
|
|
4959
4891
|
}
|
|
4960
4892
|
|
|
4961
|
-
function enumStringToValue(enumRef, value) {
|
|
4893
|
+
function enumStringToValue$2(enumRef, value) {
|
|
4962
4894
|
if (typeof value === 'number') {
|
|
4963
4895
|
return value;
|
|
4964
4896
|
}
|
|
@@ -4994,6 +4926,119 @@ class ScheduleBotRequest {
|
|
|
4994
4926
|
}
|
|
4995
4927
|
}
|
|
4996
4928
|
|
|
4929
|
+
function enumStringToValue$1(enumRef, value) {
|
|
4930
|
+
if (typeof value === 'number') {
|
|
4931
|
+
return value;
|
|
4932
|
+
}
|
|
4933
|
+
return enumRef[value];
|
|
4934
|
+
}
|
|
4935
|
+
class TimeOfDay {
|
|
4936
|
+
static fromProto(proto) {
|
|
4937
|
+
let m = new TimeOfDay();
|
|
4938
|
+
m = Object.assign(m, proto);
|
|
4939
|
+
return m;
|
|
4940
|
+
}
|
|
4941
|
+
constructor(kwargs) {
|
|
4942
|
+
if (!kwargs) {
|
|
4943
|
+
return;
|
|
4944
|
+
}
|
|
4945
|
+
Object.assign(this, kwargs);
|
|
4946
|
+
}
|
|
4947
|
+
toApiJson() {
|
|
4948
|
+
const toReturn = {};
|
|
4949
|
+
if (typeof this.hours !== 'undefined') {
|
|
4950
|
+
toReturn['hours'] = this.hours;
|
|
4951
|
+
}
|
|
4952
|
+
if (typeof this.minutes !== 'undefined') {
|
|
4953
|
+
toReturn['minutes'] = this.minutes;
|
|
4954
|
+
}
|
|
4955
|
+
if (typeof this.seconds !== 'undefined') {
|
|
4956
|
+
toReturn['seconds'] = this.seconds;
|
|
4957
|
+
}
|
|
4958
|
+
if (typeof this.nanos !== 'undefined') {
|
|
4959
|
+
toReturn['nanos'] = this.nanos;
|
|
4960
|
+
}
|
|
4961
|
+
return toReturn;
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
|
|
4965
|
+
function enumStringToValue(enumRef, value) {
|
|
4966
|
+
if (typeof value === 'number') {
|
|
4967
|
+
return value;
|
|
4968
|
+
}
|
|
4969
|
+
return enumRef[value];
|
|
4970
|
+
}
|
|
4971
|
+
class DateTime {
|
|
4972
|
+
static fromProto(proto) {
|
|
4973
|
+
let m = new DateTime();
|
|
4974
|
+
m = Object.assign(m, proto);
|
|
4975
|
+
if (proto.timeZone) {
|
|
4976
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4977
|
+
}
|
|
4978
|
+
return m;
|
|
4979
|
+
}
|
|
4980
|
+
constructor(kwargs) {
|
|
4981
|
+
if (!kwargs) {
|
|
4982
|
+
return;
|
|
4983
|
+
}
|
|
4984
|
+
Object.assign(this, kwargs);
|
|
4985
|
+
}
|
|
4986
|
+
toApiJson() {
|
|
4987
|
+
const toReturn = {};
|
|
4988
|
+
if (typeof this.year !== 'undefined') {
|
|
4989
|
+
toReturn['year'] = this.year;
|
|
4990
|
+
}
|
|
4991
|
+
if (typeof this.month !== 'undefined') {
|
|
4992
|
+
toReturn['month'] = this.month;
|
|
4993
|
+
}
|
|
4994
|
+
if (typeof this.day !== 'undefined') {
|
|
4995
|
+
toReturn['day'] = this.day;
|
|
4996
|
+
}
|
|
4997
|
+
if (typeof this.hours !== 'undefined') {
|
|
4998
|
+
toReturn['hours'] = this.hours;
|
|
4999
|
+
}
|
|
5000
|
+
if (typeof this.minutes !== 'undefined') {
|
|
5001
|
+
toReturn['minutes'] = this.minutes;
|
|
5002
|
+
}
|
|
5003
|
+
if (typeof this.seconds !== 'undefined') {
|
|
5004
|
+
toReturn['seconds'] = this.seconds;
|
|
5005
|
+
}
|
|
5006
|
+
if (typeof this.nanos !== 'undefined') {
|
|
5007
|
+
toReturn['nanos'] = this.nanos;
|
|
5008
|
+
}
|
|
5009
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
5010
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
5011
|
+
}
|
|
5012
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5013
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5014
|
+
}
|
|
5015
|
+
return toReturn;
|
|
5016
|
+
}
|
|
5017
|
+
}
|
|
5018
|
+
class TimeZone {
|
|
5019
|
+
static fromProto(proto) {
|
|
5020
|
+
let m = new TimeZone();
|
|
5021
|
+
m = Object.assign(m, proto);
|
|
5022
|
+
return m;
|
|
5023
|
+
}
|
|
5024
|
+
constructor(kwargs) {
|
|
5025
|
+
if (!kwargs) {
|
|
5026
|
+
return;
|
|
5027
|
+
}
|
|
5028
|
+
Object.assign(this, kwargs);
|
|
5029
|
+
}
|
|
5030
|
+
toApiJson() {
|
|
5031
|
+
const toReturn = {};
|
|
5032
|
+
if (typeof this.id !== 'undefined') {
|
|
5033
|
+
toReturn['id'] = this.id;
|
|
5034
|
+
}
|
|
5035
|
+
if (typeof this.version !== 'undefined') {
|
|
5036
|
+
toReturn['version'] = this.version;
|
|
5037
|
+
}
|
|
5038
|
+
return toReturn;
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
|
|
4997
5042
|
// *********************************
|
|
4998
5043
|
|
|
4999
5044
|
var _a;
|
|
@@ -5022,9 +5067,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5022
5067
|
|
|
5023
5068
|
// *********************************
|
|
5024
5069
|
class MeetingSourceAPIApiService {
|
|
5025
|
-
constructor(
|
|
5026
|
-
this.
|
|
5027
|
-
this.
|
|
5070
|
+
constructor() {
|
|
5071
|
+
this.hostService = inject(HostService$1);
|
|
5072
|
+
this.http = inject(HttpClient);
|
|
5028
5073
|
this._host = this.hostService.hostWithScheme;
|
|
5029
5074
|
}
|
|
5030
5075
|
apiOptions() {
|
|
@@ -5041,18 +5086,18 @@ class MeetingSourceAPIApiService {
|
|
|
5041
5086
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5042
5087
|
}
|
|
5043
5088
|
}
|
|
5044
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
5089
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5045
5090
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5046
5091
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5047
5092
|
type: Injectable,
|
|
5048
5093
|
args: [{ providedIn: 'root' }]
|
|
5049
|
-
}]
|
|
5094
|
+
}] });
|
|
5050
5095
|
|
|
5051
5096
|
// *********************************
|
|
5052
5097
|
class ZoomApiService {
|
|
5053
|
-
constructor(
|
|
5054
|
-
this.
|
|
5055
|
-
this.
|
|
5098
|
+
constructor() {
|
|
5099
|
+
this.hostService = inject(HostService$1);
|
|
5100
|
+
this.http = inject(HttpClient);
|
|
5056
5101
|
this._host = this.hostService.hostWithScheme;
|
|
5057
5102
|
}
|
|
5058
5103
|
apiOptions() {
|
|
@@ -5069,18 +5114,18 @@ class ZoomApiService {
|
|
|
5069
5114
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5070
5115
|
}
|
|
5071
5116
|
}
|
|
5072
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
5117
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5073
5118
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5074
5119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5075
5120
|
type: Injectable,
|
|
5076
5121
|
args: [{ providedIn: 'root' }]
|
|
5077
|
-
}]
|
|
5122
|
+
}] });
|
|
5078
5123
|
|
|
5079
5124
|
// *********************************
|
|
5080
5125
|
class GoogleMeetApiService {
|
|
5081
|
-
constructor(
|
|
5082
|
-
this.
|
|
5083
|
-
this.
|
|
5126
|
+
constructor() {
|
|
5127
|
+
this.hostService = inject(HostService$1);
|
|
5128
|
+
this.http = inject(HttpClient);
|
|
5084
5129
|
this._host = this.hostService.hostWithScheme;
|
|
5085
5130
|
}
|
|
5086
5131
|
apiOptions() {
|
|
@@ -5097,12 +5142,12 @@ class GoogleMeetApiService {
|
|
|
5097
5142
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
5098
5143
|
}
|
|
5099
5144
|
}
|
|
5100
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
5145
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5101
5146
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5102
5147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5103
5148
|
type: Injectable,
|
|
5104
5149
|
args: [{ providedIn: 'root' }]
|
|
5105
|
-
}]
|
|
5150
|
+
}] });
|
|
5106
5151
|
|
|
5107
5152
|
function generateMeetingPassword() {
|
|
5108
5153
|
const zoomMaxLength = 10;
|
|
@@ -5264,9 +5309,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
5264
5309
|
|
|
5265
5310
|
// *********************************
|
|
5266
5311
|
class MeetingBotAPIApiService {
|
|
5267
|
-
constructor(
|
|
5268
|
-
this.
|
|
5269
|
-
this.
|
|
5312
|
+
constructor() {
|
|
5313
|
+
this.hostService = inject(HostService$1);
|
|
5314
|
+
this.http = inject(HttpClient);
|
|
5270
5315
|
this._host = this.hostService.hostWithScheme;
|
|
5271
5316
|
}
|
|
5272
5317
|
apiOptions() {
|
|
@@ -5282,18 +5327,18 @@ class MeetingBotAPIApiService {
|
|
|
5282
5327
|
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ScheduleBot", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
5283
5328
|
}
|
|
5284
5329
|
}
|
|
5285
|
-
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [
|
|
5330
|
+
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5286
5331
|
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5287
5332
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5288
5333
|
type: Injectable,
|
|
5289
5334
|
args: [{ providedIn: 'root' }]
|
|
5290
|
-
}]
|
|
5335
|
+
}] });
|
|
5291
5336
|
|
|
5292
5337
|
// *********************************
|
|
5293
5338
|
class MeetingGuestApiService {
|
|
5294
|
-
constructor(
|
|
5295
|
-
this.
|
|
5296
|
-
this.
|
|
5339
|
+
constructor() {
|
|
5340
|
+
this.hostService = inject(HostService$1);
|
|
5341
|
+
this.http = inject(HttpClient);
|
|
5297
5342
|
this._host = this.hostService.hostWithScheme;
|
|
5298
5343
|
}
|
|
5299
5344
|
apiOptions() {
|
|
@@ -5363,18 +5408,18 @@ class MeetingGuestApiService {
|
|
|
5363
5408
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5364
5409
|
}
|
|
5365
5410
|
}
|
|
5366
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
5411
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5367
5412
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5368
5413
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5369
5414
|
type: Injectable,
|
|
5370
5415
|
args: [{ providedIn: 'root' }]
|
|
5371
|
-
}]
|
|
5416
|
+
}] });
|
|
5372
5417
|
|
|
5373
5418
|
// *********************************
|
|
5374
5419
|
class MeetingHostApiService {
|
|
5375
|
-
constructor(
|
|
5376
|
-
this.
|
|
5377
|
-
this.
|
|
5420
|
+
constructor() {
|
|
5421
|
+
this.hostService = inject(HostService$1);
|
|
5422
|
+
this.http = inject(HttpClient);
|
|
5378
5423
|
this._host = this.hostService.hostWithScheme;
|
|
5379
5424
|
}
|
|
5380
5425
|
apiOptions() {
|
|
@@ -5594,12 +5639,12 @@ class MeetingHostApiService {
|
|
|
5594
5639
|
.pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
|
|
5595
5640
|
}
|
|
5596
5641
|
}
|
|
5597
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
5642
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5598
5643
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5599
5644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5600
5645
|
type: Injectable,
|
|
5601
5646
|
args: [{ providedIn: 'root' }]
|
|
5602
|
-
}]
|
|
5647
|
+
}] });
|
|
5603
5648
|
|
|
5604
5649
|
// *********************************
|
|
5605
5650
|
|
|
@@ -5841,7 +5886,7 @@ function meetingFromApi(meetingApi) {
|
|
|
5841
5886
|
calendarId: meetingApi.calendarId || '',
|
|
5842
5887
|
hostDetails: (meetingApi.hostDetails || []).map(h => {
|
|
5843
5888
|
return {
|
|
5844
|
-
hostID: h.
|
|
5889
|
+
hostID: h.hostId || '',
|
|
5845
5890
|
name: h.name || '',
|
|
5846
5891
|
};
|
|
5847
5892
|
}),
|
|
@@ -5926,6 +5971,7 @@ function PreferencesFromApi(preferences) {
|
|
|
5926
5971
|
noticeTime: preferences.noticeTime || 0,
|
|
5927
5972
|
calendarSlug: preferences.calendarSlug || '',
|
|
5928
5973
|
calendarIntegration: preferences.calendarIntegration || CalendarSource.CALENDAR_SOURCE_INVALID,
|
|
5974
|
+
onBoardingState: preferences.onBoardingState || OnBoardingState.COMPLETED_SETUP,
|
|
5929
5975
|
};
|
|
5930
5976
|
}
|
|
5931
5977
|
|
|
@@ -6366,7 +6412,7 @@ class HostService {
|
|
|
6366
6412
|
isHostConfigured(req) {
|
|
6367
6413
|
return this.hostAPIService
|
|
6368
6414
|
.isHostConfigured(req)
|
|
6369
|
-
.pipe(map((resp) => resp
|
|
6415
|
+
.pipe(map((resp) => resp));
|
|
6370
6416
|
}
|
|
6371
6417
|
setGeneralAvailability(req) {
|
|
6372
6418
|
const apiReq = Object.assign(Object.assign({}, req), { timeZone: new TimeZone(req.timeZone) });
|
|
@@ -6682,5 +6728,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
6682
6728
|
* Generated bundle index. Do not edit.
|
|
6683
6729
|
*/
|
|
6684
6730
|
|
|
6685
|
-
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 };
|
|
6731
|
+
export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, OnBoardingState, PagedResponse, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
6686
6732
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|