@vendasta/meetings 0.98.5 → 0.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/enums/index.mjs +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 -10
- 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-type.mjs +1 -3
- package/esm2020/lib/shared/meeting.mjs +2 -2
- package/esm2020/lib/shared/preferences.mjs +3 -2
- package/fesm2015/vendasta-meetings.mjs +263 -222
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +263 -222
- 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 -2
- 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 -2
- 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-type.d.ts +0 -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) {
|
|
@@ -2016,9 +1893,6 @@ class MeetingType {
|
|
|
2016
1893
|
if (typeof this.locationGuidelines !== 'undefined') {
|
|
2017
1894
|
toReturn['locationGuidelines'] = this.locationGuidelines;
|
|
2018
1895
|
}
|
|
2019
|
-
if (typeof this.isClientChoice !== 'undefined') {
|
|
2020
|
-
toReturn['isClientChoice'] = this.isClientChoice;
|
|
2021
|
-
}
|
|
2022
1896
|
if (typeof this.emailSubject !== 'undefined') {
|
|
2023
1897
|
toReturn['emailSubject'] = this.emailSubject;
|
|
2024
1898
|
}
|
|
@@ -2043,12 +1917,12 @@ class MeetingType {
|
|
|
2043
1917
|
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
2044
1918
|
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
2045
1919
|
}
|
|
2046
|
-
if (typeof this.meetingType !== 'undefined') {
|
|
2047
|
-
toReturn['meetingType'] = this.meetingType;
|
|
2048
|
-
}
|
|
2049
1920
|
if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
|
|
2050
1921
|
toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;
|
|
2051
1922
|
}
|
|
1923
|
+
if (typeof this.meetingType !== 'undefined') {
|
|
1924
|
+
toReturn['meetingType'] = this.meetingType;
|
|
1925
|
+
}
|
|
2052
1926
|
return toReturn;
|
|
2053
1927
|
}
|
|
2054
1928
|
}
|
|
@@ -2057,7 +1931,7 @@ class RelativeDateRange {
|
|
|
2057
1931
|
let m = new RelativeDateRange();
|
|
2058
1932
|
m = Object.assign(m, proto);
|
|
2059
1933
|
if (proto.unit) {
|
|
2060
|
-
m.unit = enumStringToValue$
|
|
1934
|
+
m.unit = enumStringToValue$7(RelativeTimeUnit, proto.unit);
|
|
2061
1935
|
}
|
|
2062
1936
|
if (proto.value) {
|
|
2063
1937
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2082,7 +1956,7 @@ class RelativeDateRange {
|
|
|
2082
1956
|
}
|
|
2083
1957
|
}
|
|
2084
1958
|
|
|
2085
|
-
function enumStringToValue$
|
|
1959
|
+
function enumStringToValue$6(enumRef, value) {
|
|
2086
1960
|
if (typeof value === 'number') {
|
|
2087
1961
|
return value;
|
|
2088
1962
|
}
|
|
@@ -2227,7 +2101,7 @@ class Service {
|
|
|
2227
2101
|
}
|
|
2228
2102
|
}
|
|
2229
2103
|
|
|
2230
|
-
function enumStringToValue$
|
|
2104
|
+
function enumStringToValue$5(enumRef, value) {
|
|
2231
2105
|
if (typeof value === 'number') {
|
|
2232
2106
|
return value;
|
|
2233
2107
|
}
|
|
@@ -2620,10 +2494,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
2620
2494
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2621
2495
|
}
|
|
2622
2496
|
if (proto.locationType) {
|
|
2623
|
-
m.locationType = enumStringToValue$
|
|
2497
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
2624
2498
|
}
|
|
2625
2499
|
if (proto.meetingType) {
|
|
2626
|
-
m.meetingType = enumStringToValue$
|
|
2500
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
2627
2501
|
}
|
|
2628
2502
|
return m;
|
|
2629
2503
|
}
|
|
@@ -2874,7 +2748,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2874
2748
|
}
|
|
2875
2749
|
}
|
|
2876
2750
|
|
|
2877
|
-
function enumStringToValue$
|
|
2751
|
+
function enumStringToValue$4(enumRef, value) {
|
|
2878
2752
|
if (typeof value === 'number') {
|
|
2879
2753
|
return value;
|
|
2880
2754
|
}
|
|
@@ -2901,15 +2775,15 @@ class FieldMask {
|
|
|
2901
2775
|
}
|
|
2902
2776
|
}
|
|
2903
2777
|
|
|
2904
|
-
function enumStringToValue$
|
|
2778
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2905
2779
|
if (typeof value === 'number') {
|
|
2906
2780
|
return value;
|
|
2907
2781
|
}
|
|
2908
2782
|
return enumRef[value];
|
|
2909
2783
|
}
|
|
2910
|
-
class
|
|
2784
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
2911
2785
|
static fromProto(proto) {
|
|
2912
|
-
let m = new
|
|
2786
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
2913
2787
|
m = Object.assign(m, proto);
|
|
2914
2788
|
return m;
|
|
2915
2789
|
}
|
|
@@ -2930,9 +2804,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
|
2930
2804
|
return toReturn;
|
|
2931
2805
|
}
|
|
2932
2806
|
}
|
|
2933
|
-
class
|
|
2807
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
2934
2808
|
static fromProto(proto) {
|
|
2935
|
-
let m = new
|
|
2809
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
2936
2810
|
m = Object.assign(m, proto);
|
|
2937
2811
|
return m;
|
|
2938
2812
|
}
|
|
@@ -2953,9 +2827,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
2953
2827
|
return toReturn;
|
|
2954
2828
|
}
|
|
2955
2829
|
}
|
|
2956
|
-
class
|
|
2830
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
2957
2831
|
static fromProto(proto) {
|
|
2958
|
-
let m = new
|
|
2832
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
2959
2833
|
m = Object.assign(m, proto);
|
|
2960
2834
|
return m;
|
|
2961
2835
|
}
|
|
@@ -2981,7 +2855,7 @@ class AvailabilityRule {
|
|
|
2981
2855
|
let m = new AvailabilityRule();
|
|
2982
2856
|
m = Object.assign(m, proto);
|
|
2983
2857
|
if (proto.day) {
|
|
2984
|
-
m.day = enumStringToValue$
|
|
2858
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
2985
2859
|
}
|
|
2986
2860
|
if (proto.timeSlot) {
|
|
2987
2861
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3950,7 +3824,7 @@ class HostBookMeetingRequest {
|
|
|
3950
3824
|
let m = new HostBookMeetingRequest();
|
|
3951
3825
|
m = Object.assign(m, proto);
|
|
3952
3826
|
if (proto.meetingSource) {
|
|
3953
|
-
m.meetingSource = enumStringToValue$
|
|
3827
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
3954
3828
|
}
|
|
3955
3829
|
if (proto.timeSlot) {
|
|
3956
3830
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4012,6 +3886,29 @@ class HostBookMeetingResponse {
|
|
|
4012
3886
|
return toReturn;
|
|
4013
3887
|
}
|
|
4014
3888
|
}
|
|
3889
|
+
class HostDetails {
|
|
3890
|
+
static fromProto(proto) {
|
|
3891
|
+
let m = new HostDetails();
|
|
3892
|
+
m = Object.assign(m, proto);
|
|
3893
|
+
return m;
|
|
3894
|
+
}
|
|
3895
|
+
constructor(kwargs) {
|
|
3896
|
+
if (!kwargs) {
|
|
3897
|
+
return;
|
|
3898
|
+
}
|
|
3899
|
+
Object.assign(this, kwargs);
|
|
3900
|
+
}
|
|
3901
|
+
toApiJson() {
|
|
3902
|
+
const toReturn = {};
|
|
3903
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3904
|
+
toReturn['hostId'] = this.hostId;
|
|
3905
|
+
}
|
|
3906
|
+
if (typeof this.name !== 'undefined') {
|
|
3907
|
+
toReturn['name'] = this.name;
|
|
3908
|
+
}
|
|
3909
|
+
return toReturn;
|
|
3910
|
+
}
|
|
3911
|
+
}
|
|
4015
3912
|
class HostGetCalendarRequest {
|
|
4016
3913
|
static fromProto(proto) {
|
|
4017
3914
|
let m = new HostGetCalendarRequest();
|
|
@@ -4144,6 +4041,32 @@ class HostListMeetingTypesResponse {
|
|
|
4144
4041
|
return toReturn;
|
|
4145
4042
|
}
|
|
4146
4043
|
}
|
|
4044
|
+
class GetHostsForCalendarResponseHostUserAvailabilityRuleEntry {
|
|
4045
|
+
static fromProto(proto) {
|
|
4046
|
+
let m = new GetHostsForCalendarResponseHostUserAvailabilityRuleEntry();
|
|
4047
|
+
m = Object.assign(m, proto);
|
|
4048
|
+
if (proto.value) {
|
|
4049
|
+
m.value = AvailabilityRuleList.fromProto(proto.value);
|
|
4050
|
+
}
|
|
4051
|
+
return m;
|
|
4052
|
+
}
|
|
4053
|
+
constructor(kwargs) {
|
|
4054
|
+
if (!kwargs) {
|
|
4055
|
+
return;
|
|
4056
|
+
}
|
|
4057
|
+
Object.assign(this, kwargs);
|
|
4058
|
+
}
|
|
4059
|
+
toApiJson() {
|
|
4060
|
+
const toReturn = {};
|
|
4061
|
+
if (typeof this.key !== 'undefined') {
|
|
4062
|
+
toReturn['key'] = this.key;
|
|
4063
|
+
}
|
|
4064
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
4065
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
4066
|
+
}
|
|
4067
|
+
return toReturn;
|
|
4068
|
+
}
|
|
4069
|
+
}
|
|
4147
4070
|
class IsCalendarConfiguredRequest {
|
|
4148
4071
|
static fromProto(proto) {
|
|
4149
4072
|
let m = new IsCalendarConfiguredRequest();
|
|
@@ -4217,6 +4140,9 @@ class IsHostConfiguredResponse {
|
|
|
4217
4140
|
static fromProto(proto) {
|
|
4218
4141
|
let m = new IsHostConfiguredResponse();
|
|
4219
4142
|
m = Object.assign(m, proto);
|
|
4143
|
+
if (proto.onBoardingState) {
|
|
4144
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
4145
|
+
}
|
|
4220
4146
|
return m;
|
|
4221
4147
|
}
|
|
4222
4148
|
constructor(kwargs) {
|
|
@@ -4230,6 +4156,9 @@ class IsHostConfiguredResponse {
|
|
|
4230
4156
|
if (typeof this.isConfigured !== 'undefined') {
|
|
4231
4157
|
toReturn['isConfigured'] = this.isConfigured;
|
|
4232
4158
|
}
|
|
4159
|
+
if (typeof this.onBoardingState !== 'undefined') {
|
|
4160
|
+
toReturn['onBoardingState'] = this.onBoardingState;
|
|
4161
|
+
}
|
|
4233
4162
|
return toReturn;
|
|
4234
4163
|
}
|
|
4235
4164
|
}
|
|
@@ -4476,10 +4405,10 @@ class Meeting {
|
|
|
4476
4405
|
m.attachments = proto.attachments.map(Attachment.fromProto);
|
|
4477
4406
|
}
|
|
4478
4407
|
if (proto.hostDetails) {
|
|
4479
|
-
m.hostDetails = proto.hostDetails.map(
|
|
4408
|
+
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
4480
4409
|
}
|
|
4481
4410
|
if (proto.meetingType) {
|
|
4482
|
-
m.meetingType = enumStringToValue$
|
|
4411
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
4483
4412
|
}
|
|
4484
4413
|
return m;
|
|
4485
4414
|
}
|
|
@@ -4571,9 +4500,9 @@ class MeetingTypeList {
|
|
|
4571
4500
|
return toReturn;
|
|
4572
4501
|
}
|
|
4573
4502
|
}
|
|
4574
|
-
class
|
|
4503
|
+
class UpdateMeetingMetadataRequestMetadataEntry {
|
|
4575
4504
|
static fromProto(proto) {
|
|
4576
|
-
let m = new
|
|
4505
|
+
let m = new UpdateMeetingMetadataRequestMetadataEntry();
|
|
4577
4506
|
m = Object.assign(m, proto);
|
|
4578
4507
|
return m;
|
|
4579
4508
|
}
|
|
@@ -4594,9 +4523,9 @@ class MeetingMetadataEntry {
|
|
|
4594
4523
|
return toReturn;
|
|
4595
4524
|
}
|
|
4596
4525
|
}
|
|
4597
|
-
class
|
|
4526
|
+
class MeetingMetadataEntry {
|
|
4598
4527
|
static fromProto(proto) {
|
|
4599
|
-
let m = new
|
|
4528
|
+
let m = new MeetingMetadataEntry();
|
|
4600
4529
|
m = Object.assign(m, proto);
|
|
4601
4530
|
return m;
|
|
4602
4531
|
}
|
|
@@ -4674,7 +4603,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4674
4603
|
let m = new SetGeneralAvailabilityRequest();
|
|
4675
4604
|
m = Object.assign(m, proto);
|
|
4676
4605
|
if (proto.days) {
|
|
4677
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
4606
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
4678
4607
|
}
|
|
4679
4608
|
if (proto.timeSlot) {
|
|
4680
4609
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4933,7 +4862,7 @@ class WeekdayAvailability {
|
|
|
4933
4862
|
let m = new WeekdayAvailability();
|
|
4934
4863
|
m = Object.assign(m, proto);
|
|
4935
4864
|
if (proto.day) {
|
|
4936
|
-
m.day = enumStringToValue$
|
|
4865
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4937
4866
|
}
|
|
4938
4867
|
if (proto.timeSlots) {
|
|
4939
4868
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4958,7 +4887,7 @@ class WeekdayAvailability {
|
|
|
4958
4887
|
}
|
|
4959
4888
|
}
|
|
4960
4889
|
|
|
4961
|
-
function enumStringToValue(enumRef, value) {
|
|
4890
|
+
function enumStringToValue$2(enumRef, value) {
|
|
4962
4891
|
if (typeof value === 'number') {
|
|
4963
4892
|
return value;
|
|
4964
4893
|
}
|
|
@@ -4994,6 +4923,119 @@ class ScheduleBotRequest {
|
|
|
4994
4923
|
}
|
|
4995
4924
|
}
|
|
4996
4925
|
|
|
4926
|
+
function enumStringToValue$1(enumRef, value) {
|
|
4927
|
+
if (typeof value === 'number') {
|
|
4928
|
+
return value;
|
|
4929
|
+
}
|
|
4930
|
+
return enumRef[value];
|
|
4931
|
+
}
|
|
4932
|
+
class TimeOfDay {
|
|
4933
|
+
static fromProto(proto) {
|
|
4934
|
+
let m = new TimeOfDay();
|
|
4935
|
+
m = Object.assign(m, proto);
|
|
4936
|
+
return m;
|
|
4937
|
+
}
|
|
4938
|
+
constructor(kwargs) {
|
|
4939
|
+
if (!kwargs) {
|
|
4940
|
+
return;
|
|
4941
|
+
}
|
|
4942
|
+
Object.assign(this, kwargs);
|
|
4943
|
+
}
|
|
4944
|
+
toApiJson() {
|
|
4945
|
+
const toReturn = {};
|
|
4946
|
+
if (typeof this.hours !== 'undefined') {
|
|
4947
|
+
toReturn['hours'] = this.hours;
|
|
4948
|
+
}
|
|
4949
|
+
if (typeof this.minutes !== 'undefined') {
|
|
4950
|
+
toReturn['minutes'] = this.minutes;
|
|
4951
|
+
}
|
|
4952
|
+
if (typeof this.seconds !== 'undefined') {
|
|
4953
|
+
toReturn['seconds'] = this.seconds;
|
|
4954
|
+
}
|
|
4955
|
+
if (typeof this.nanos !== 'undefined') {
|
|
4956
|
+
toReturn['nanos'] = this.nanos;
|
|
4957
|
+
}
|
|
4958
|
+
return toReturn;
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
function enumStringToValue(enumRef, value) {
|
|
4963
|
+
if (typeof value === 'number') {
|
|
4964
|
+
return value;
|
|
4965
|
+
}
|
|
4966
|
+
return enumRef[value];
|
|
4967
|
+
}
|
|
4968
|
+
class DateTime {
|
|
4969
|
+
static fromProto(proto) {
|
|
4970
|
+
let m = new DateTime();
|
|
4971
|
+
m = Object.assign(m, proto);
|
|
4972
|
+
if (proto.timeZone) {
|
|
4973
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4974
|
+
}
|
|
4975
|
+
return m;
|
|
4976
|
+
}
|
|
4977
|
+
constructor(kwargs) {
|
|
4978
|
+
if (!kwargs) {
|
|
4979
|
+
return;
|
|
4980
|
+
}
|
|
4981
|
+
Object.assign(this, kwargs);
|
|
4982
|
+
}
|
|
4983
|
+
toApiJson() {
|
|
4984
|
+
const toReturn = {};
|
|
4985
|
+
if (typeof this.year !== 'undefined') {
|
|
4986
|
+
toReturn['year'] = this.year;
|
|
4987
|
+
}
|
|
4988
|
+
if (typeof this.month !== 'undefined') {
|
|
4989
|
+
toReturn['month'] = this.month;
|
|
4990
|
+
}
|
|
4991
|
+
if (typeof this.day !== 'undefined') {
|
|
4992
|
+
toReturn['day'] = this.day;
|
|
4993
|
+
}
|
|
4994
|
+
if (typeof this.hours !== 'undefined') {
|
|
4995
|
+
toReturn['hours'] = this.hours;
|
|
4996
|
+
}
|
|
4997
|
+
if (typeof this.minutes !== 'undefined') {
|
|
4998
|
+
toReturn['minutes'] = this.minutes;
|
|
4999
|
+
}
|
|
5000
|
+
if (typeof this.seconds !== 'undefined') {
|
|
5001
|
+
toReturn['seconds'] = this.seconds;
|
|
5002
|
+
}
|
|
5003
|
+
if (typeof this.nanos !== 'undefined') {
|
|
5004
|
+
toReturn['nanos'] = this.nanos;
|
|
5005
|
+
}
|
|
5006
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
5007
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
5008
|
+
}
|
|
5009
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5010
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5011
|
+
}
|
|
5012
|
+
return toReturn;
|
|
5013
|
+
}
|
|
5014
|
+
}
|
|
5015
|
+
class TimeZone {
|
|
5016
|
+
static fromProto(proto) {
|
|
5017
|
+
let m = new TimeZone();
|
|
5018
|
+
m = Object.assign(m, proto);
|
|
5019
|
+
return m;
|
|
5020
|
+
}
|
|
5021
|
+
constructor(kwargs) {
|
|
5022
|
+
if (!kwargs) {
|
|
5023
|
+
return;
|
|
5024
|
+
}
|
|
5025
|
+
Object.assign(this, kwargs);
|
|
5026
|
+
}
|
|
5027
|
+
toApiJson() {
|
|
5028
|
+
const toReturn = {};
|
|
5029
|
+
if (typeof this.id !== 'undefined') {
|
|
5030
|
+
toReturn['id'] = this.id;
|
|
5031
|
+
}
|
|
5032
|
+
if (typeof this.version !== 'undefined') {
|
|
5033
|
+
toReturn['version'] = this.version;
|
|
5034
|
+
}
|
|
5035
|
+
return toReturn;
|
|
5036
|
+
}
|
|
5037
|
+
}
|
|
5038
|
+
|
|
4997
5039
|
// *********************************
|
|
4998
5040
|
|
|
4999
5041
|
var _a;
|
|
@@ -5022,9 +5064,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5022
5064
|
|
|
5023
5065
|
// *********************************
|
|
5024
5066
|
class MeetingSourceAPIApiService {
|
|
5025
|
-
constructor(
|
|
5026
|
-
this.
|
|
5027
|
-
this.
|
|
5067
|
+
constructor() {
|
|
5068
|
+
this.hostService = inject(HostService$1);
|
|
5069
|
+
this.http = inject(HttpClient);
|
|
5028
5070
|
this._host = this.hostService.hostWithScheme;
|
|
5029
5071
|
}
|
|
5030
5072
|
apiOptions() {
|
|
@@ -5041,18 +5083,18 @@ class MeetingSourceAPIApiService {
|
|
|
5041
5083
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5042
5084
|
}
|
|
5043
5085
|
}
|
|
5044
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
5086
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5045
5087
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5046
5088
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5047
5089
|
type: Injectable,
|
|
5048
5090
|
args: [{ providedIn: 'root' }]
|
|
5049
|
-
}]
|
|
5091
|
+
}] });
|
|
5050
5092
|
|
|
5051
5093
|
// *********************************
|
|
5052
5094
|
class ZoomApiService {
|
|
5053
|
-
constructor(
|
|
5054
|
-
this.
|
|
5055
|
-
this.
|
|
5095
|
+
constructor() {
|
|
5096
|
+
this.hostService = inject(HostService$1);
|
|
5097
|
+
this.http = inject(HttpClient);
|
|
5056
5098
|
this._host = this.hostService.hostWithScheme;
|
|
5057
5099
|
}
|
|
5058
5100
|
apiOptions() {
|
|
@@ -5069,18 +5111,18 @@ class ZoomApiService {
|
|
|
5069
5111
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5070
5112
|
}
|
|
5071
5113
|
}
|
|
5072
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
5114
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5073
5115
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5074
5116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5075
5117
|
type: Injectable,
|
|
5076
5118
|
args: [{ providedIn: 'root' }]
|
|
5077
|
-
}]
|
|
5119
|
+
}] });
|
|
5078
5120
|
|
|
5079
5121
|
// *********************************
|
|
5080
5122
|
class GoogleMeetApiService {
|
|
5081
|
-
constructor(
|
|
5082
|
-
this.
|
|
5083
|
-
this.
|
|
5123
|
+
constructor() {
|
|
5124
|
+
this.hostService = inject(HostService$1);
|
|
5125
|
+
this.http = inject(HttpClient);
|
|
5084
5126
|
this._host = this.hostService.hostWithScheme;
|
|
5085
5127
|
}
|
|
5086
5128
|
apiOptions() {
|
|
@@ -5097,12 +5139,12 @@ class GoogleMeetApiService {
|
|
|
5097
5139
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
5098
5140
|
}
|
|
5099
5141
|
}
|
|
5100
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
5142
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5101
5143
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5102
5144
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5103
5145
|
type: Injectable,
|
|
5104
5146
|
args: [{ providedIn: 'root' }]
|
|
5105
|
-
}]
|
|
5147
|
+
}] });
|
|
5106
5148
|
|
|
5107
5149
|
function generateMeetingPassword() {
|
|
5108
5150
|
const zoomMaxLength = 10;
|
|
@@ -5264,9 +5306,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
5264
5306
|
|
|
5265
5307
|
// *********************************
|
|
5266
5308
|
class MeetingBotAPIApiService {
|
|
5267
|
-
constructor(
|
|
5268
|
-
this.
|
|
5269
|
-
this.
|
|
5309
|
+
constructor() {
|
|
5310
|
+
this.hostService = inject(HostService$1);
|
|
5311
|
+
this.http = inject(HttpClient);
|
|
5270
5312
|
this._host = this.hostService.hostWithScheme;
|
|
5271
5313
|
}
|
|
5272
5314
|
apiOptions() {
|
|
@@ -5282,18 +5324,18 @@ class MeetingBotAPIApiService {
|
|
|
5282
5324
|
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ScheduleBot", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
5283
5325
|
}
|
|
5284
5326
|
}
|
|
5285
|
-
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [
|
|
5327
|
+
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5286
5328
|
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5287
5329
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5288
5330
|
type: Injectable,
|
|
5289
5331
|
args: [{ providedIn: 'root' }]
|
|
5290
|
-
}]
|
|
5332
|
+
}] });
|
|
5291
5333
|
|
|
5292
5334
|
// *********************************
|
|
5293
5335
|
class MeetingGuestApiService {
|
|
5294
|
-
constructor(
|
|
5295
|
-
this.
|
|
5296
|
-
this.
|
|
5336
|
+
constructor() {
|
|
5337
|
+
this.hostService = inject(HostService$1);
|
|
5338
|
+
this.http = inject(HttpClient);
|
|
5297
5339
|
this._host = this.hostService.hostWithScheme;
|
|
5298
5340
|
}
|
|
5299
5341
|
apiOptions() {
|
|
@@ -5363,18 +5405,18 @@ class MeetingGuestApiService {
|
|
|
5363
5405
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5364
5406
|
}
|
|
5365
5407
|
}
|
|
5366
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
5408
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5367
5409
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5368
5410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5369
5411
|
type: Injectable,
|
|
5370
5412
|
args: [{ providedIn: 'root' }]
|
|
5371
|
-
}]
|
|
5413
|
+
}] });
|
|
5372
5414
|
|
|
5373
5415
|
// *********************************
|
|
5374
5416
|
class MeetingHostApiService {
|
|
5375
|
-
constructor(
|
|
5376
|
-
this.
|
|
5377
|
-
this.
|
|
5417
|
+
constructor() {
|
|
5418
|
+
this.hostService = inject(HostService$1);
|
|
5419
|
+
this.http = inject(HttpClient);
|
|
5378
5420
|
this._host = this.hostService.hostWithScheme;
|
|
5379
5421
|
}
|
|
5380
5422
|
apiOptions() {
|
|
@@ -5594,12 +5636,12 @@ class MeetingHostApiService {
|
|
|
5594
5636
|
.pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
|
|
5595
5637
|
}
|
|
5596
5638
|
}
|
|
5597
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
5639
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5598
5640
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5599
5641
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5600
5642
|
type: Injectable,
|
|
5601
5643
|
args: [{ providedIn: 'root' }]
|
|
5602
|
-
}]
|
|
5644
|
+
}] });
|
|
5603
5645
|
|
|
5604
5646
|
// *********************************
|
|
5605
5647
|
|
|
@@ -5734,7 +5776,6 @@ function MeetingTypeFromApi(req) {
|
|
|
5734
5776
|
noticeTime: req.meetingTypeApi.noticeTime || 0,
|
|
5735
5777
|
location: req.meetingTypeApi.location || '',
|
|
5736
5778
|
locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
|
|
5737
|
-
isClientChoice: req.meetingTypeApi.isClientChoice || false,
|
|
5738
5779
|
emailSubject: req.meetingTypeApi.emailSubject || '',
|
|
5739
5780
|
emailDescription: req.meetingTypeApi.emailDescription || '',
|
|
5740
5781
|
isPinned: req.meetingTypeApi.isPinned || false,
|
|
@@ -5769,7 +5810,6 @@ function MeetingTypeToApi(req) {
|
|
|
5769
5810
|
locationGuidelines: m.locationGuidelines || undefined,
|
|
5770
5811
|
emailSubject: m.emailSubject || undefined,
|
|
5771
5812
|
emailDescription: m.emailDescription || undefined,
|
|
5772
|
-
isClientChoice: m.isClientChoice || undefined,
|
|
5773
5813
|
isPinned: m.isPinned || undefined,
|
|
5774
5814
|
calendarType: m.CalendarType || undefined,
|
|
5775
5815
|
hostUsers: m.hostUsers || undefined,
|
|
@@ -5841,7 +5881,7 @@ function meetingFromApi(meetingApi) {
|
|
|
5841
5881
|
calendarId: meetingApi.calendarId || '',
|
|
5842
5882
|
hostDetails: (meetingApi.hostDetails || []).map(h => {
|
|
5843
5883
|
return {
|
|
5844
|
-
hostID: h.
|
|
5884
|
+
hostID: h.hostId || '',
|
|
5845
5885
|
name: h.name || '',
|
|
5846
5886
|
};
|
|
5847
5887
|
}),
|
|
@@ -5926,6 +5966,7 @@ function PreferencesFromApi(preferences) {
|
|
|
5926
5966
|
noticeTime: preferences.noticeTime || 0,
|
|
5927
5967
|
calendarSlug: preferences.calendarSlug || '',
|
|
5928
5968
|
calendarIntegration: preferences.calendarIntegration || CalendarSource.CALENDAR_SOURCE_INVALID,
|
|
5969
|
+
onBoardingState: preferences.onBoardingState || OnBoardingState.COMPLETED_SETUP,
|
|
5929
5970
|
};
|
|
5930
5971
|
}
|
|
5931
5972
|
|
|
@@ -6366,7 +6407,7 @@ class HostService {
|
|
|
6366
6407
|
isHostConfigured(req) {
|
|
6367
6408
|
return this.hostAPIService
|
|
6368
6409
|
.isHostConfigured(req)
|
|
6369
|
-
.pipe(map((resp) => resp
|
|
6410
|
+
.pipe(map((resp) => resp));
|
|
6370
6411
|
}
|
|
6371
6412
|
setGeneralAvailability(req) {
|
|
6372
6413
|
const apiReq = Object.assign(Object.assign({}, req), { timeZone: new TimeZone(req.timeZone) });
|
|
@@ -6682,5 +6723,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
6682
6723
|
* Generated bundle index. Do not edit.
|
|
6683
6724
|
*/
|
|
6684
6725
|
|
|
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 };
|
|
6726
|
+
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
6727
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|