@vendasta/meetings 0.95.2 → 0.95.3
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 +1 -1
- package/esm2020/lib/_internal/enums/meeting-source.enum.mjs +2 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
- package/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-bot.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-bot-api.api.service.mjs +55 -0
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +13 -12
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/index.mjs +2 -1
- package/esm2020/lib/_internal/objects/meeting-bot.mjs +240 -0
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
- package/esm2020/lib/_internal/objects/shared.mjs +3 -2
- package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
- package/fesm2015/vendasta-meetings.mjs +388 -105
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +388 -105
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/meeting-source.enum.d.ts +2 -1
- package/lib/_internal/google-meet.api.service.d.ts +5 -2
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-bot.interface.d.ts +38 -0
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
- package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
- package/lib/_internal/meeting-bot-api.api.service.d.ts +19 -0
- package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
- package/lib/_internal/meeting-host.api.service.d.ts +6 -4
- package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
- package/lib/_internal/objects/index.d.ts +1 -0
- package/lib/_internal/objects/meeting-bot.d.ts +64 -0
- package/lib/_internal/objects/meeting-guest.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +1 -1
- package/lib/_internal/objects/shared.d.ts +2 -1
- package/lib/_internal/zoom.api.service.d.ts +5 -2
- 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
|
|
@@ -15,6 +16,7 @@ var MeetingSource;
|
|
|
15
16
|
MeetingSource[MeetingSource["MEETING_SOURCE_INVALID"] = 0] = "MEETING_SOURCE_INVALID";
|
|
16
17
|
MeetingSource[MeetingSource["MEETING_SOURCE_ZOOM"] = 1] = "MEETING_SOURCE_ZOOM";
|
|
17
18
|
MeetingSource[MeetingSource["MEETING_SOURCE_GOOGLE_MEET"] = 2] = "MEETING_SOURCE_GOOGLE_MEET";
|
|
19
|
+
MeetingSource[MeetingSource["MEETING_SOURCE_MICROSOFT"] = 3] = "MEETING_SOURCE_MICROSOFT";
|
|
18
20
|
})(MeetingSource || (MeetingSource = {}));
|
|
19
21
|
var MeetingSourceStatus;
|
|
20
22
|
(function (MeetingSourceStatus) {
|
|
@@ -145,7 +147,7 @@ var DayOfWeek;
|
|
|
145
147
|
|
|
146
148
|
// *********************************
|
|
147
149
|
|
|
148
|
-
function enumStringToValue$
|
|
150
|
+
function enumStringToValue$c(enumRef, value) {
|
|
149
151
|
if (typeof value === 'number') {
|
|
150
152
|
return value;
|
|
151
153
|
}
|
|
@@ -156,10 +158,10 @@ class MeetingSourceInfo {
|
|
|
156
158
|
let m = new MeetingSourceInfo();
|
|
157
159
|
m = Object.assign(m, proto);
|
|
158
160
|
if (proto.source) {
|
|
159
|
-
m.source = enumStringToValue$
|
|
161
|
+
m.source = enumStringToValue$c(MeetingSource, proto.source);
|
|
160
162
|
}
|
|
161
163
|
if (proto.status) {
|
|
162
|
-
m.status = enumStringToValue$
|
|
164
|
+
m.status = enumStringToValue$c(MeetingSourceStatus, proto.status);
|
|
163
165
|
}
|
|
164
166
|
return m;
|
|
165
167
|
}
|
|
@@ -246,7 +248,7 @@ class MeetingSourceQuery {
|
|
|
246
248
|
let m = new MeetingSourceQuery();
|
|
247
249
|
m = Object.assign(m, proto);
|
|
248
250
|
if (proto.source) {
|
|
249
|
-
m.source = enumStringToValue$
|
|
251
|
+
m.source = enumStringToValue$c(MeetingSource, proto.source);
|
|
250
252
|
}
|
|
251
253
|
return m;
|
|
252
254
|
}
|
|
@@ -271,7 +273,7 @@ class MeetingSourceQuery {
|
|
|
271
273
|
}
|
|
272
274
|
}
|
|
273
275
|
|
|
274
|
-
function enumStringToValue$
|
|
276
|
+
function enumStringToValue$b(enumRef, value) {
|
|
275
277
|
if (typeof value === 'number') {
|
|
276
278
|
return value;
|
|
277
279
|
}
|
|
@@ -282,7 +284,7 @@ class CreateZoomMeetingRequest {
|
|
|
282
284
|
let m = new CreateZoomMeetingRequest();
|
|
283
285
|
m = Object.assign(m, proto);
|
|
284
286
|
if (proto.type) {
|
|
285
|
-
m.type = enumStringToValue$
|
|
287
|
+
m.type = enumStringToValue$b(ZoomMeetingType, proto.type);
|
|
286
288
|
}
|
|
287
289
|
if (proto.duration) {
|
|
288
290
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -350,7 +352,7 @@ class CreateZoomMeetingResponse {
|
|
|
350
352
|
m.meetingId = parseInt(proto.meetingId, 10);
|
|
351
353
|
}
|
|
352
354
|
if (proto.type) {
|
|
353
|
-
m.type = enumStringToValue$
|
|
355
|
+
m.type = enumStringToValue$b(ZoomMeetingType, proto.type);
|
|
354
356
|
}
|
|
355
357
|
if (proto.duration) {
|
|
356
358
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -442,7 +444,7 @@ class ZoomMeetingRecurrence {
|
|
|
442
444
|
let m = new ZoomMeetingRecurrence();
|
|
443
445
|
m = Object.assign(m, proto);
|
|
444
446
|
if (proto.type) {
|
|
445
|
-
m.type = enumStringToValue$
|
|
447
|
+
m.type = enumStringToValue$b(ZoomMeetingRecurrenceType, proto.type);
|
|
446
448
|
}
|
|
447
449
|
if (proto.repeatInterval) {
|
|
448
450
|
m.repeatInterval = parseInt(proto.repeatInterval, 10);
|
|
@@ -451,10 +453,10 @@ class ZoomMeetingRecurrence {
|
|
|
451
453
|
m.monthlyDay = parseInt(proto.monthlyDay, 10);
|
|
452
454
|
}
|
|
453
455
|
if (proto.monthlyWeek) {
|
|
454
|
-
m.monthlyWeek = enumStringToValue$
|
|
456
|
+
m.monthlyWeek = enumStringToValue$b(ZoomMonthlyWeek, proto.monthlyWeek);
|
|
455
457
|
}
|
|
456
458
|
if (proto.monthlyWeekDay) {
|
|
457
|
-
m.monthlyWeekDay = enumStringToValue$
|
|
459
|
+
m.monthlyWeekDay = enumStringToValue$b(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
|
|
458
460
|
}
|
|
459
461
|
if (proto.endTimes) {
|
|
460
462
|
m.endTimes = parseInt(proto.endTimes, 10);
|
|
@@ -501,10 +503,10 @@ class ZoomMeetingSettings {
|
|
|
501
503
|
let m = new ZoomMeetingSettings();
|
|
502
504
|
m = Object.assign(m, proto);
|
|
503
505
|
if (proto.approvalType) {
|
|
504
|
-
m.approvalType = enumStringToValue$
|
|
506
|
+
m.approvalType = enumStringToValue$b(ZoomApprovalType, proto.approvalType);
|
|
505
507
|
}
|
|
506
508
|
if (proto.registrationType) {
|
|
507
|
-
m.registrationType = enumStringToValue$
|
|
509
|
+
m.registrationType = enumStringToValue$b(ZoomRegistrationType, proto.registrationType);
|
|
508
510
|
}
|
|
509
511
|
return m;
|
|
510
512
|
}
|
|
@@ -647,7 +649,7 @@ class ZoomOccurrence {
|
|
|
647
649
|
}
|
|
648
650
|
}
|
|
649
651
|
|
|
650
|
-
function enumStringToValue$
|
|
652
|
+
function enumStringToValue$a(enumRef, value) {
|
|
651
653
|
if (typeof value === 'number') {
|
|
652
654
|
return value;
|
|
653
655
|
}
|
|
@@ -1186,18 +1188,131 @@ class GoogleMeetMeetingReminders {
|
|
|
1186
1188
|
}
|
|
1187
1189
|
}
|
|
1188
1190
|
|
|
1191
|
+
function enumStringToValue$9(enumRef, value) {
|
|
1192
|
+
if (typeof value === 'number') {
|
|
1193
|
+
return value;
|
|
1194
|
+
}
|
|
1195
|
+
return enumRef[value];
|
|
1196
|
+
}
|
|
1197
|
+
class TimeOfDay {
|
|
1198
|
+
static fromProto(proto) {
|
|
1199
|
+
let m = new TimeOfDay();
|
|
1200
|
+
m = Object.assign(m, proto);
|
|
1201
|
+
return m;
|
|
1202
|
+
}
|
|
1203
|
+
constructor(kwargs) {
|
|
1204
|
+
if (!kwargs) {
|
|
1205
|
+
return;
|
|
1206
|
+
}
|
|
1207
|
+
Object.assign(this, kwargs);
|
|
1208
|
+
}
|
|
1209
|
+
toApiJson() {
|
|
1210
|
+
const toReturn = {};
|
|
1211
|
+
if (typeof this.hours !== 'undefined') {
|
|
1212
|
+
toReturn['hours'] = this.hours;
|
|
1213
|
+
}
|
|
1214
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1215
|
+
toReturn['minutes'] = this.minutes;
|
|
1216
|
+
}
|
|
1217
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1218
|
+
toReturn['seconds'] = this.seconds;
|
|
1219
|
+
}
|
|
1220
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1221
|
+
toReturn['nanos'] = this.nanos;
|
|
1222
|
+
}
|
|
1223
|
+
return toReturn;
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1189
1227
|
function enumStringToValue$8(enumRef, value) {
|
|
1190
1228
|
if (typeof value === 'number') {
|
|
1191
1229
|
return value;
|
|
1192
1230
|
}
|
|
1193
1231
|
return enumRef[value];
|
|
1194
1232
|
}
|
|
1233
|
+
class DateTime {
|
|
1234
|
+
static fromProto(proto) {
|
|
1235
|
+
let m = new DateTime();
|
|
1236
|
+
m = Object.assign(m, proto);
|
|
1237
|
+
if (proto.timeZone) {
|
|
1238
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1239
|
+
}
|
|
1240
|
+
return m;
|
|
1241
|
+
}
|
|
1242
|
+
constructor(kwargs) {
|
|
1243
|
+
if (!kwargs) {
|
|
1244
|
+
return;
|
|
1245
|
+
}
|
|
1246
|
+
Object.assign(this, kwargs);
|
|
1247
|
+
}
|
|
1248
|
+
toApiJson() {
|
|
1249
|
+
const toReturn = {};
|
|
1250
|
+
if (typeof this.year !== 'undefined') {
|
|
1251
|
+
toReturn['year'] = this.year;
|
|
1252
|
+
}
|
|
1253
|
+
if (typeof this.month !== 'undefined') {
|
|
1254
|
+
toReturn['month'] = this.month;
|
|
1255
|
+
}
|
|
1256
|
+
if (typeof this.day !== 'undefined') {
|
|
1257
|
+
toReturn['day'] = this.day;
|
|
1258
|
+
}
|
|
1259
|
+
if (typeof this.hours !== 'undefined') {
|
|
1260
|
+
toReturn['hours'] = this.hours;
|
|
1261
|
+
}
|
|
1262
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1263
|
+
toReturn['minutes'] = this.minutes;
|
|
1264
|
+
}
|
|
1265
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1266
|
+
toReturn['seconds'] = this.seconds;
|
|
1267
|
+
}
|
|
1268
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1269
|
+
toReturn['nanos'] = this.nanos;
|
|
1270
|
+
}
|
|
1271
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
1272
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
1273
|
+
}
|
|
1274
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1275
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1276
|
+
}
|
|
1277
|
+
return toReturn;
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
class TimeZone {
|
|
1281
|
+
static fromProto(proto) {
|
|
1282
|
+
let m = new TimeZone();
|
|
1283
|
+
m = Object.assign(m, proto);
|
|
1284
|
+
return m;
|
|
1285
|
+
}
|
|
1286
|
+
constructor(kwargs) {
|
|
1287
|
+
if (!kwargs) {
|
|
1288
|
+
return;
|
|
1289
|
+
}
|
|
1290
|
+
Object.assign(this, kwargs);
|
|
1291
|
+
}
|
|
1292
|
+
toApiJson() {
|
|
1293
|
+
const toReturn = {};
|
|
1294
|
+
if (typeof this.id !== 'undefined') {
|
|
1295
|
+
toReturn['id'] = this.id;
|
|
1296
|
+
}
|
|
1297
|
+
if (typeof this.version !== 'undefined') {
|
|
1298
|
+
toReturn['version'] = this.version;
|
|
1299
|
+
}
|
|
1300
|
+
return toReturn;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1305
|
+
if (typeof value === 'number') {
|
|
1306
|
+
return value;
|
|
1307
|
+
}
|
|
1308
|
+
return enumRef[value];
|
|
1309
|
+
}
|
|
1195
1310
|
class Answer {
|
|
1196
1311
|
static fromProto(proto) {
|
|
1197
1312
|
let m = new Answer();
|
|
1198
1313
|
m = Object.assign(m, proto);
|
|
1199
1314
|
if (proto.type) {
|
|
1200
|
-
m.type = enumStringToValue$
|
|
1315
|
+
m.type = enumStringToValue$7(FormFieldType, proto.type);
|
|
1201
1316
|
}
|
|
1202
1317
|
return m;
|
|
1203
1318
|
}
|
|
@@ -1339,7 +1454,7 @@ class Calendar {
|
|
|
1339
1454
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1340
1455
|
}
|
|
1341
1456
|
if (proto.calendarType) {
|
|
1342
|
-
m.calendarType = enumStringToValue$
|
|
1457
|
+
m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
|
|
1343
1458
|
}
|
|
1344
1459
|
return m;
|
|
1345
1460
|
}
|
|
@@ -1540,7 +1655,7 @@ class Preferences {
|
|
|
1540
1655
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1541
1656
|
}
|
|
1542
1657
|
if (proto.meetingIntegration) {
|
|
1543
|
-
m.meetingIntegration = enumStringToValue$
|
|
1658
|
+
m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
|
|
1544
1659
|
}
|
|
1545
1660
|
if (proto.availabilityIncrement) {
|
|
1546
1661
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1618,7 +1733,7 @@ class TimeRange {
|
|
|
1618
1733
|
}
|
|
1619
1734
|
}
|
|
1620
1735
|
|
|
1621
|
-
function enumStringToValue$
|
|
1736
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1622
1737
|
if (typeof value === 'number') {
|
|
1623
1738
|
return value;
|
|
1624
1739
|
}
|
|
@@ -1629,7 +1744,7 @@ class Field {
|
|
|
1629
1744
|
let m = new Field();
|
|
1630
1745
|
m = Object.assign(m, proto);
|
|
1631
1746
|
if (proto.type) {
|
|
1632
|
-
m.type = enumStringToValue$
|
|
1747
|
+
m.type = enumStringToValue$6(FormFieldType, proto.type);
|
|
1633
1748
|
}
|
|
1634
1749
|
return m;
|
|
1635
1750
|
}
|
|
@@ -1696,7 +1811,7 @@ class MeetingType {
|
|
|
1696
1811
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1697
1812
|
}
|
|
1698
1813
|
if (proto.locationType) {
|
|
1699
|
-
m.locationType = enumStringToValue$
|
|
1814
|
+
m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
|
|
1700
1815
|
}
|
|
1701
1816
|
if (proto.hostUsers) {
|
|
1702
1817
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -1799,7 +1914,7 @@ class MeetingType {
|
|
|
1799
1914
|
}
|
|
1800
1915
|
}
|
|
1801
1916
|
|
|
1802
|
-
function enumStringToValue$
|
|
1917
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1803
1918
|
if (typeof value === 'number') {
|
|
1804
1919
|
return value;
|
|
1805
1920
|
}
|
|
@@ -1835,7 +1950,7 @@ class DateRange {
|
|
|
1835
1950
|
}
|
|
1836
1951
|
}
|
|
1837
1952
|
|
|
1838
|
-
function enumStringToValue$
|
|
1953
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1839
1954
|
if (typeof value === 'number') {
|
|
1840
1955
|
return value;
|
|
1841
1956
|
}
|
|
@@ -1980,7 +2095,7 @@ class Service {
|
|
|
1980
2095
|
}
|
|
1981
2096
|
}
|
|
1982
2097
|
|
|
1983
|
-
function enumStringToValue$
|
|
2098
|
+
function enumStringToValue$3(enumRef, value) {
|
|
1984
2099
|
if (typeof value === 'number') {
|
|
1985
2100
|
return value;
|
|
1986
2101
|
}
|
|
@@ -2367,7 +2482,7 @@ class GuestGetBookedMeetingResponse {
|
|
|
2367
2482
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2368
2483
|
}
|
|
2369
2484
|
if (proto.locationType) {
|
|
2370
|
-
m.locationType = enumStringToValue$
|
|
2485
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
2371
2486
|
}
|
|
2372
2487
|
return m;
|
|
2373
2488
|
}
|
|
@@ -2609,7 +2724,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2609
2724
|
}
|
|
2610
2725
|
}
|
|
2611
2726
|
|
|
2612
|
-
function enumStringToValue$
|
|
2727
|
+
function enumStringToValue$2(enumRef, value) {
|
|
2613
2728
|
if (typeof value === 'number') {
|
|
2614
2729
|
return value;
|
|
2615
2730
|
}
|
|
@@ -2636,7 +2751,7 @@ class FieldMask {
|
|
|
2636
2751
|
}
|
|
2637
2752
|
}
|
|
2638
2753
|
|
|
2639
|
-
function enumStringToValue$
|
|
2754
|
+
function enumStringToValue$1(enumRef, value) {
|
|
2640
2755
|
if (typeof value === 'number') {
|
|
2641
2756
|
return value;
|
|
2642
2757
|
}
|
|
@@ -2716,7 +2831,7 @@ class AvailabilityRule {
|
|
|
2716
2831
|
let m = new AvailabilityRule();
|
|
2717
2832
|
m = Object.assign(m, proto);
|
|
2718
2833
|
if (proto.day) {
|
|
2719
|
-
m.day = enumStringToValue$
|
|
2834
|
+
m.day = enumStringToValue$1(DayOfWeek, proto.day);
|
|
2720
2835
|
}
|
|
2721
2836
|
if (proto.timeSlot) {
|
|
2722
2837
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3610,7 +3725,7 @@ class HostBookMeetingRequest {
|
|
|
3610
3725
|
let m = new HostBookMeetingRequest();
|
|
3611
3726
|
m = Object.assign(m, proto);
|
|
3612
3727
|
if (proto.meetingSource) {
|
|
3613
|
-
m.meetingSource = enumStringToValue$
|
|
3728
|
+
m.meetingSource = enumStringToValue$1(MeetingSource, proto.meetingSource);
|
|
3614
3729
|
}
|
|
3615
3730
|
if (proto.timeSlot) {
|
|
3616
3731
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4319,7 +4434,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4319
4434
|
let m = new SetGeneralAvailabilityRequest();
|
|
4320
4435
|
m = Object.assign(m, proto);
|
|
4321
4436
|
if (proto.days) {
|
|
4322
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
4437
|
+
m.days = proto.days.map((v) => enumStringToValue$1(DayOfWeek, v));
|
|
4323
4438
|
}
|
|
4324
4439
|
if (proto.timeSlot) {
|
|
4325
4440
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4578,7 +4693,7 @@ class WeekdayAvailability {
|
|
|
4578
4693
|
let m = new WeekdayAvailability();
|
|
4579
4694
|
m = Object.assign(m, proto);
|
|
4580
4695
|
if (proto.day) {
|
|
4581
|
-
m.day = enumStringToValue$
|
|
4696
|
+
m.day = enumStringToValue$1(DayOfWeek, proto.day);
|
|
4582
4697
|
}
|
|
4583
4698
|
if (proto.timeSlots) {
|
|
4584
4699
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4603,16 +4718,19 @@ class WeekdayAvailability {
|
|
|
4603
4718
|
}
|
|
4604
4719
|
}
|
|
4605
4720
|
|
|
4606
|
-
function enumStringToValue
|
|
4721
|
+
function enumStringToValue(enumRef, value) {
|
|
4607
4722
|
if (typeof value === 'number') {
|
|
4608
4723
|
return value;
|
|
4609
4724
|
}
|
|
4610
4725
|
return enumRef[value];
|
|
4611
4726
|
}
|
|
4612
|
-
class
|
|
4727
|
+
class CreateMeetingBotRequest {
|
|
4613
4728
|
static fromProto(proto) {
|
|
4614
|
-
let m = new
|
|
4729
|
+
let m = new CreateMeetingBotRequest();
|
|
4615
4730
|
m = Object.assign(m, proto);
|
|
4731
|
+
if (proto.meetingBot) {
|
|
4732
|
+
m.meetingBot = MeetingBot.fromProto(proto.meetingBot);
|
|
4733
|
+
}
|
|
4616
4734
|
return m;
|
|
4617
4735
|
}
|
|
4618
4736
|
constructor(kwargs) {
|
|
@@ -4623,34 +4741,87 @@ class TimeOfDay {
|
|
|
4623
4741
|
}
|
|
4624
4742
|
toApiJson() {
|
|
4625
4743
|
const toReturn = {};
|
|
4626
|
-
if (typeof this.
|
|
4627
|
-
toReturn['
|
|
4744
|
+
if (typeof this.meetingBot !== 'undefined' && this.meetingBot !== null) {
|
|
4745
|
+
toReturn['meetingBot'] = 'toApiJson' in this.meetingBot ? this.meetingBot.toApiJson() : this.meetingBot;
|
|
4628
4746
|
}
|
|
4629
|
-
|
|
4630
|
-
|
|
4747
|
+
return toReturn;
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
class CreateMeetingBotResponse {
|
|
4751
|
+
static fromProto(proto) {
|
|
4752
|
+
let m = new CreateMeetingBotResponse();
|
|
4753
|
+
m = Object.assign(m, proto);
|
|
4754
|
+
if (proto.meetingBot) {
|
|
4755
|
+
m.meetingBot = MeetingBot.fromProto(proto.meetingBot);
|
|
4631
4756
|
}
|
|
4632
|
-
|
|
4633
|
-
|
|
4757
|
+
return m;
|
|
4758
|
+
}
|
|
4759
|
+
constructor(kwargs) {
|
|
4760
|
+
if (!kwargs) {
|
|
4761
|
+
return;
|
|
4634
4762
|
}
|
|
4635
|
-
|
|
4636
|
-
|
|
4763
|
+
Object.assign(this, kwargs);
|
|
4764
|
+
}
|
|
4765
|
+
toApiJson() {
|
|
4766
|
+
const toReturn = {};
|
|
4767
|
+
if (typeof this.meetingBot !== 'undefined' && this.meetingBot !== null) {
|
|
4768
|
+
toReturn['meetingBot'] = 'toApiJson' in this.meetingBot ? this.meetingBot.toApiJson() : this.meetingBot;
|
|
4637
4769
|
}
|
|
4638
4770
|
return toReturn;
|
|
4639
4771
|
}
|
|
4640
4772
|
}
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4773
|
+
class DeleteMeetingBotRequest {
|
|
4774
|
+
static fromProto(proto) {
|
|
4775
|
+
let m = new DeleteMeetingBotRequest();
|
|
4776
|
+
m = Object.assign(m, proto);
|
|
4777
|
+
return m;
|
|
4778
|
+
}
|
|
4779
|
+
constructor(kwargs) {
|
|
4780
|
+
if (!kwargs) {
|
|
4781
|
+
return;
|
|
4782
|
+
}
|
|
4783
|
+
Object.assign(this, kwargs);
|
|
4784
|
+
}
|
|
4785
|
+
toApiJson() {
|
|
4786
|
+
const toReturn = {};
|
|
4787
|
+
if (typeof this.id !== 'undefined') {
|
|
4788
|
+
toReturn['id'] = this.id;
|
|
4789
|
+
}
|
|
4790
|
+
return toReturn;
|
|
4645
4791
|
}
|
|
4646
|
-
return enumRef[value];
|
|
4647
4792
|
}
|
|
4648
|
-
class
|
|
4793
|
+
class ListMeetingBotsRequest {
|
|
4649
4794
|
static fromProto(proto) {
|
|
4650
|
-
let m = new
|
|
4795
|
+
let m = new ListMeetingBotsRequest();
|
|
4651
4796
|
m = Object.assign(m, proto);
|
|
4652
|
-
|
|
4653
|
-
|
|
4797
|
+
return m;
|
|
4798
|
+
}
|
|
4799
|
+
constructor(kwargs) {
|
|
4800
|
+
if (!kwargs) {
|
|
4801
|
+
return;
|
|
4802
|
+
}
|
|
4803
|
+
Object.assign(this, kwargs);
|
|
4804
|
+
}
|
|
4805
|
+
toApiJson() {
|
|
4806
|
+
const toReturn = {};
|
|
4807
|
+
if (typeof this.userId !== 'undefined') {
|
|
4808
|
+
toReturn['userId'] = this.userId;
|
|
4809
|
+
}
|
|
4810
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4811
|
+
toReturn['namespace'] = this.namespace;
|
|
4812
|
+
}
|
|
4813
|
+
if (typeof this.eventId !== 'undefined') {
|
|
4814
|
+
toReturn['eventId'] = this.eventId;
|
|
4815
|
+
}
|
|
4816
|
+
return toReturn;
|
|
4817
|
+
}
|
|
4818
|
+
}
|
|
4819
|
+
class ListMeetingBotsResponse {
|
|
4820
|
+
static fromProto(proto) {
|
|
4821
|
+
let m = new ListMeetingBotsResponse();
|
|
4822
|
+
m = Object.assign(m, proto);
|
|
4823
|
+
if (proto.meetingBots) {
|
|
4824
|
+
m.meetingBots = proto.meetingBots.map(MeetingBot.fromProto);
|
|
4654
4825
|
}
|
|
4655
4826
|
return m;
|
|
4656
4827
|
}
|
|
@@ -4662,40 +4833,90 @@ class DateTime {
|
|
|
4662
4833
|
}
|
|
4663
4834
|
toApiJson() {
|
|
4664
4835
|
const toReturn = {};
|
|
4665
|
-
if (typeof this.
|
|
4666
|
-
toReturn['
|
|
4836
|
+
if (typeof this.meetingBots !== 'undefined' && this.meetingBots !== null) {
|
|
4837
|
+
toReturn['meetingBots'] = 'toApiJson' in this.meetingBots ? this.meetingBots.toApiJson() : this.meetingBots;
|
|
4667
4838
|
}
|
|
4668
|
-
|
|
4669
|
-
|
|
4839
|
+
return toReturn;
|
|
4840
|
+
}
|
|
4841
|
+
}
|
|
4842
|
+
class MeetingBot {
|
|
4843
|
+
static fromProto(proto) {
|
|
4844
|
+
let m = new MeetingBot();
|
|
4845
|
+
m = Object.assign(m, proto);
|
|
4846
|
+
if (proto.eventUpdated) {
|
|
4847
|
+
m.eventUpdated = new Date(proto.eventUpdated);
|
|
4670
4848
|
}
|
|
4671
|
-
if (
|
|
4672
|
-
|
|
4849
|
+
if (proto.meetingSource) {
|
|
4850
|
+
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
4673
4851
|
}
|
|
4674
|
-
if (
|
|
4675
|
-
|
|
4852
|
+
if (proto.startTime) {
|
|
4853
|
+
m.startTime = new Date(proto.startTime);
|
|
4676
4854
|
}
|
|
4677
|
-
if (
|
|
4678
|
-
|
|
4855
|
+
if (proto.created) {
|
|
4856
|
+
m.created = new Date(proto.created);
|
|
4679
4857
|
}
|
|
4680
|
-
if (
|
|
4681
|
-
|
|
4858
|
+
if (proto.updated) {
|
|
4859
|
+
m.updated = new Date(proto.updated);
|
|
4682
4860
|
}
|
|
4683
|
-
if (
|
|
4684
|
-
|
|
4861
|
+
if (proto.deleted) {
|
|
4862
|
+
m.deleted = new Date(proto.deleted);
|
|
4685
4863
|
}
|
|
4686
|
-
|
|
4687
|
-
|
|
4864
|
+
return m;
|
|
4865
|
+
}
|
|
4866
|
+
constructor(kwargs) {
|
|
4867
|
+
if (!kwargs) {
|
|
4868
|
+
return;
|
|
4688
4869
|
}
|
|
4689
|
-
|
|
4690
|
-
|
|
4870
|
+
Object.assign(this, kwargs);
|
|
4871
|
+
}
|
|
4872
|
+
toApiJson() {
|
|
4873
|
+
const toReturn = {};
|
|
4874
|
+
if (typeof this.id !== 'undefined') {
|
|
4875
|
+
toReturn['id'] = this.id;
|
|
4876
|
+
}
|
|
4877
|
+
if (typeof this.externalBotId !== 'undefined') {
|
|
4878
|
+
toReturn['externalBotId'] = this.externalBotId;
|
|
4879
|
+
}
|
|
4880
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4881
|
+
toReturn['namespace'] = this.namespace;
|
|
4882
|
+
}
|
|
4883
|
+
if (typeof this.userIds !== 'undefined') {
|
|
4884
|
+
toReturn['userIds'] = this.userIds;
|
|
4885
|
+
}
|
|
4886
|
+
if (typeof this.meetingId !== 'undefined') {
|
|
4887
|
+
toReturn['meetingId'] = this.meetingId;
|
|
4888
|
+
}
|
|
4889
|
+
if (typeof this.eventId !== 'undefined') {
|
|
4890
|
+
toReturn['eventId'] = this.eventId;
|
|
4891
|
+
}
|
|
4892
|
+
if (typeof this.eventUpdated !== 'undefined' && this.eventUpdated !== null) {
|
|
4893
|
+
toReturn['eventUpdated'] = 'toApiJson' in this.eventUpdated ? this.eventUpdated.toApiJson() : this.eventUpdated;
|
|
4894
|
+
}
|
|
4895
|
+
if (typeof this.meetingSource !== 'undefined') {
|
|
4896
|
+
toReturn['meetingSource'] = this.meetingSource;
|
|
4897
|
+
}
|
|
4898
|
+
if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
|
|
4899
|
+
toReturn['startTime'] = 'toApiJson' in this.startTime ? this.startTime.toApiJson() : this.startTime;
|
|
4900
|
+
}
|
|
4901
|
+
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
4902
|
+
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
4903
|
+
}
|
|
4904
|
+
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
4905
|
+
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
4906
|
+
}
|
|
4907
|
+
if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
|
|
4908
|
+
toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
|
|
4691
4909
|
}
|
|
4692
4910
|
return toReturn;
|
|
4693
4911
|
}
|
|
4694
4912
|
}
|
|
4695
|
-
class
|
|
4913
|
+
class UpdateMeetingBotRequest {
|
|
4696
4914
|
static fromProto(proto) {
|
|
4697
|
-
let m = new
|
|
4915
|
+
let m = new UpdateMeetingBotRequest();
|
|
4698
4916
|
m = Object.assign(m, proto);
|
|
4917
|
+
if (proto.meetingBot) {
|
|
4918
|
+
m.meetingBot = MeetingBot.fromProto(proto.meetingBot);
|
|
4919
|
+
}
|
|
4699
4920
|
return m;
|
|
4700
4921
|
}
|
|
4701
4922
|
constructor(kwargs) {
|
|
@@ -4706,11 +4927,31 @@ class TimeZone {
|
|
|
4706
4927
|
}
|
|
4707
4928
|
toApiJson() {
|
|
4708
4929
|
const toReturn = {};
|
|
4709
|
-
if (typeof this.
|
|
4710
|
-
toReturn['
|
|
4930
|
+
if (typeof this.meetingBot !== 'undefined' && this.meetingBot !== null) {
|
|
4931
|
+
toReturn['meetingBot'] = 'toApiJson' in this.meetingBot ? this.meetingBot.toApiJson() : this.meetingBot;
|
|
4711
4932
|
}
|
|
4712
|
-
|
|
4713
|
-
|
|
4933
|
+
return toReturn;
|
|
4934
|
+
}
|
|
4935
|
+
}
|
|
4936
|
+
class UpdateMeetingBotResponse {
|
|
4937
|
+
static fromProto(proto) {
|
|
4938
|
+
let m = new UpdateMeetingBotResponse();
|
|
4939
|
+
m = Object.assign(m, proto);
|
|
4940
|
+
if (proto.meetingBot) {
|
|
4941
|
+
m.meetingBot = MeetingBot.fromProto(proto.meetingBot);
|
|
4942
|
+
}
|
|
4943
|
+
return m;
|
|
4944
|
+
}
|
|
4945
|
+
constructor(kwargs) {
|
|
4946
|
+
if (!kwargs) {
|
|
4947
|
+
return;
|
|
4948
|
+
}
|
|
4949
|
+
Object.assign(this, kwargs);
|
|
4950
|
+
}
|
|
4951
|
+
toApiJson() {
|
|
4952
|
+
const toReturn = {};
|
|
4953
|
+
if (typeof this.meetingBot !== 'undefined' && this.meetingBot !== null) {
|
|
4954
|
+
toReturn['meetingBot'] = 'toApiJson' in this.meetingBot ? this.meetingBot.toApiJson() : this.meetingBot;
|
|
4714
4955
|
}
|
|
4715
4956
|
return toReturn;
|
|
4716
4957
|
}
|
|
@@ -4743,9 +4984,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4743
4984
|
|
|
4744
4985
|
// *********************************
|
|
4745
4986
|
class MeetingSourceAPIApiService {
|
|
4746
|
-
constructor() {
|
|
4747
|
-
this.
|
|
4748
|
-
this.
|
|
4987
|
+
constructor(http, hostService) {
|
|
4988
|
+
this.http = http;
|
|
4989
|
+
this.hostService = hostService;
|
|
4749
4990
|
this._host = this.hostService.hostWithScheme;
|
|
4750
4991
|
}
|
|
4751
4992
|
apiOptions() {
|
|
@@ -4762,18 +5003,18 @@ class MeetingSourceAPIApiService {
|
|
|
4762
5003
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4763
5004
|
}
|
|
4764
5005
|
}
|
|
4765
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5006
|
+
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 });
|
|
4766
5007
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4767
5008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4768
5009
|
type: Injectable,
|
|
4769
5010
|
args: [{ providedIn: 'root' }]
|
|
4770
|
-
}] });
|
|
5011
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4771
5012
|
|
|
4772
5013
|
// *********************************
|
|
4773
5014
|
class ZoomApiService {
|
|
4774
|
-
constructor() {
|
|
4775
|
-
this.
|
|
4776
|
-
this.
|
|
5015
|
+
constructor(http, hostService) {
|
|
5016
|
+
this.http = http;
|
|
5017
|
+
this.hostService = hostService;
|
|
4777
5018
|
this._host = this.hostService.hostWithScheme;
|
|
4778
5019
|
}
|
|
4779
5020
|
apiOptions() {
|
|
@@ -4790,18 +5031,18 @@ class ZoomApiService {
|
|
|
4790
5031
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
4791
5032
|
}
|
|
4792
5033
|
}
|
|
4793
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5034
|
+
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 });
|
|
4794
5035
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
4795
5036
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
4796
5037
|
type: Injectable,
|
|
4797
5038
|
args: [{ providedIn: 'root' }]
|
|
4798
|
-
}] });
|
|
5039
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4799
5040
|
|
|
4800
5041
|
// *********************************
|
|
4801
5042
|
class GoogleMeetApiService {
|
|
4802
|
-
constructor() {
|
|
4803
|
-
this.
|
|
4804
|
-
this.
|
|
5043
|
+
constructor(http, hostService) {
|
|
5044
|
+
this.http = http;
|
|
5045
|
+
this.hostService = hostService;
|
|
4805
5046
|
this._host = this.hostService.hostWithScheme;
|
|
4806
5047
|
}
|
|
4807
5048
|
apiOptions() {
|
|
@@ -4818,12 +5059,12 @@ class GoogleMeetApiService {
|
|
|
4818
5059
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4819
5060
|
}
|
|
4820
5061
|
}
|
|
4821
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5062
|
+
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 });
|
|
4822
5063
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4823
5064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4824
5065
|
type: Injectable,
|
|
4825
5066
|
args: [{ providedIn: 'root' }]
|
|
4826
|
-
}] });
|
|
5067
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4827
5068
|
|
|
4828
5069
|
function generateMeetingPassword() {
|
|
4829
5070
|
const zoomMaxLength = 10;
|
|
@@ -4983,11 +5224,53 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4983
5224
|
return new GoogleMeetCreateMeetingRequest(req);
|
|
4984
5225
|
}
|
|
4985
5226
|
|
|
5227
|
+
// *********************************
|
|
5228
|
+
class MeetingBotAPIApiService {
|
|
5229
|
+
constructor(http, hostService) {
|
|
5230
|
+
this.http = http;
|
|
5231
|
+
this.hostService = hostService;
|
|
5232
|
+
this._host = this.hostService.hostWithScheme;
|
|
5233
|
+
}
|
|
5234
|
+
apiOptions() {
|
|
5235
|
+
return {
|
|
5236
|
+
headers: new HttpHeaders({
|
|
5237
|
+
'Content-Type': 'application/json'
|
|
5238
|
+
}),
|
|
5239
|
+
withCredentials: true
|
|
5240
|
+
};
|
|
5241
|
+
}
|
|
5242
|
+
createMeetingBot(r) {
|
|
5243
|
+
const request = (r.toApiJson) ? r : new CreateMeetingBotRequest(r);
|
|
5244
|
+
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/CreateMeetingBot", request.toApiJson(), this.apiOptions())
|
|
5245
|
+
.pipe(map(resp => CreateMeetingBotResponse.fromProto(resp)));
|
|
5246
|
+
}
|
|
5247
|
+
updateMeetingBot(r) {
|
|
5248
|
+
const request = (r.toApiJson) ? r : new UpdateMeetingBotRequest(r);
|
|
5249
|
+
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/UpdateMeetingBot", request.toApiJson(), this.apiOptions())
|
|
5250
|
+
.pipe(map(resp => UpdateMeetingBotResponse.fromProto(resp)));
|
|
5251
|
+
}
|
|
5252
|
+
deleteMeetingBot(r) {
|
|
5253
|
+
const request = (r.toApiJson) ? r : new DeleteMeetingBotRequest(r);
|
|
5254
|
+
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/DeleteMeetingBot", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
5255
|
+
}
|
|
5256
|
+
listMeetingBots(r) {
|
|
5257
|
+
const request = (r.toApiJson) ? r : new ListMeetingBotsRequest(r);
|
|
5258
|
+
return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ListMeetingBots", request.toApiJson(), this.apiOptions())
|
|
5259
|
+
.pipe(map(resp => ListMeetingBotsResponse.fromProto(resp)));
|
|
5260
|
+
}
|
|
5261
|
+
}
|
|
5262
|
+
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 });
|
|
5263
|
+
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5265
|
+
type: Injectable,
|
|
5266
|
+
args: [{ providedIn: 'root' }]
|
|
5267
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5268
|
+
|
|
4986
5269
|
// *********************************
|
|
4987
5270
|
class MeetingGuestApiService {
|
|
4988
|
-
constructor() {
|
|
4989
|
-
this.
|
|
4990
|
-
this.
|
|
5271
|
+
constructor(http, hostService) {
|
|
5272
|
+
this.http = http;
|
|
5273
|
+
this.hostService = hostService;
|
|
4991
5274
|
this._host = this.hostService.hostWithScheme;
|
|
4992
5275
|
}
|
|
4993
5276
|
apiOptions() {
|
|
@@ -5057,18 +5340,18 @@ class MeetingGuestApiService {
|
|
|
5057
5340
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5058
5341
|
}
|
|
5059
5342
|
}
|
|
5060
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5343
|
+
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 });
|
|
5061
5344
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5062
5345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5063
5346
|
type: Injectable,
|
|
5064
5347
|
args: [{ providedIn: 'root' }]
|
|
5065
|
-
}] });
|
|
5348
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5066
5349
|
|
|
5067
5350
|
// *********************************
|
|
5068
5351
|
class MeetingHostApiService {
|
|
5069
|
-
constructor() {
|
|
5070
|
-
this.
|
|
5071
|
-
this.
|
|
5352
|
+
constructor(http, hostService) {
|
|
5353
|
+
this.http = http;
|
|
5354
|
+
this.hostService = hostService;
|
|
5072
5355
|
this._host = this.hostService.hostWithScheme;
|
|
5073
5356
|
}
|
|
5074
5357
|
apiOptions() {
|
|
@@ -5128,11 +5411,6 @@ class MeetingHostApiService {
|
|
|
5128
5411
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailability", request.toApiJson(), this.apiOptions())
|
|
5129
5412
|
.pipe(map(resp => ListAvailabilityResponse.fromProto(resp)));
|
|
5130
5413
|
}
|
|
5131
|
-
hostBookMeeting(r) {
|
|
5132
|
-
const request = (r.toApiJson) ? r : new BookMeetingRequest(r);
|
|
5133
|
-
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostBookMeeting", request.toApiJson(), this.apiOptions())
|
|
5134
|
-
.pipe(map(resp => BookMeetingResponse.fromProto(resp)));
|
|
5135
|
-
}
|
|
5136
5414
|
bookMeeting(r) {
|
|
5137
5415
|
const request = (r.toApiJson) ? r : new HostBookMeetingRequest(r);
|
|
5138
5416
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/BookMeeting", request.toApiJson(), this.apiOptions())
|
|
@@ -5282,13 +5560,18 @@ class MeetingHostApiService {
|
|
|
5282
5560
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CheckGroupOrServiceSlugExist", request.toApiJson(), this.apiOptions())
|
|
5283
5561
|
.pipe(map(resp => CheckGroupOrServiceSlugExistResponse.fromProto(resp)));
|
|
5284
5562
|
}
|
|
5563
|
+
hostBookMeeting(r) {
|
|
5564
|
+
const request = (r.toApiJson) ? r : new BookMeetingRequest(r);
|
|
5565
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostBookMeeting", request.toApiJson(), this.apiOptions())
|
|
5566
|
+
.pipe(map(resp => BookMeetingResponse.fromProto(resp)));
|
|
5567
|
+
}
|
|
5285
5568
|
}
|
|
5286
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5569
|
+
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 });
|
|
5287
5570
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5288
5571
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5289
5572
|
type: Injectable,
|
|
5290
5573
|
args: [{ providedIn: 'root' }]
|
|
5291
|
-
}] });
|
|
5574
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5292
5575
|
|
|
5293
5576
|
// *********************************
|
|
5294
5577
|
|