@vendasta/meetings 0.89.0 → 0.90.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 +1 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -7
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +13 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +3 -9
- package/esm2020/lib/_internal/objects/meeting-host.mjs +8 -2
- package/esm2020/lib/_internal/objects/meeting-type.mjs +8 -1
- package/esm2020/lib/_internal/objects/shared.mjs +3 -2
- package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
- package/esm2020/lib/host/url.mjs +2 -2
- package/esm2020/lib/shared/meeting-type.mjs +4 -2
- package/fesm2015/vendasta-meetings.mjs +183 -162
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +183 -162
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/google-meet.api.service.d.ts +5 -2
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -3
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +3 -1
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +2 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
- package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
- package/lib/_internal/meeting-host.api.service.d.ts +5 -3
- package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
- package/lib/_internal/objects/groups-and-services.d.ts +4 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/meeting-guest.d.ts +2 -3
- package/lib/_internal/objects/meeting-host.d.ts +3 -1
- package/lib/_internal/objects/meeting-type.d.ts +2 -0
- package/lib/_internal/objects/shared.d.ts +2 -1
- package/lib/_internal/zoom.api.service.d.ts +5 -2
- package/lib/shared/meeting-type.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
5
|
+
import * as i1 from '@angular/common/http';
|
|
6
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
6
7
|
|
|
7
8
|
// *********************************
|
|
8
9
|
// Code generated by sdkgen
|
|
@@ -1176,12 +1177,125 @@ function enumStringToValue$8(enumRef, value) {
|
|
|
1176
1177
|
}
|
|
1177
1178
|
return enumRef[value];
|
|
1178
1179
|
}
|
|
1180
|
+
class TimeOfDay {
|
|
1181
|
+
static fromProto(proto) {
|
|
1182
|
+
let m = new TimeOfDay();
|
|
1183
|
+
m = Object.assign(m, proto);
|
|
1184
|
+
return m;
|
|
1185
|
+
}
|
|
1186
|
+
constructor(kwargs) {
|
|
1187
|
+
if (!kwargs) {
|
|
1188
|
+
return;
|
|
1189
|
+
}
|
|
1190
|
+
Object.assign(this, kwargs);
|
|
1191
|
+
}
|
|
1192
|
+
toApiJson() {
|
|
1193
|
+
const toReturn = {};
|
|
1194
|
+
if (typeof this.hours !== 'undefined') {
|
|
1195
|
+
toReturn['hours'] = this.hours;
|
|
1196
|
+
}
|
|
1197
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1198
|
+
toReturn['minutes'] = this.minutes;
|
|
1199
|
+
}
|
|
1200
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1201
|
+
toReturn['seconds'] = this.seconds;
|
|
1202
|
+
}
|
|
1203
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1204
|
+
toReturn['nanos'] = this.nanos;
|
|
1205
|
+
}
|
|
1206
|
+
return toReturn;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1211
|
+
if (typeof value === 'number') {
|
|
1212
|
+
return value;
|
|
1213
|
+
}
|
|
1214
|
+
return enumRef[value];
|
|
1215
|
+
}
|
|
1216
|
+
class DateTime {
|
|
1217
|
+
static fromProto(proto) {
|
|
1218
|
+
let m = new DateTime();
|
|
1219
|
+
m = Object.assign(m, proto);
|
|
1220
|
+
if (proto.timeZone) {
|
|
1221
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1222
|
+
}
|
|
1223
|
+
return m;
|
|
1224
|
+
}
|
|
1225
|
+
constructor(kwargs) {
|
|
1226
|
+
if (!kwargs) {
|
|
1227
|
+
return;
|
|
1228
|
+
}
|
|
1229
|
+
Object.assign(this, kwargs);
|
|
1230
|
+
}
|
|
1231
|
+
toApiJson() {
|
|
1232
|
+
const toReturn = {};
|
|
1233
|
+
if (typeof this.year !== 'undefined') {
|
|
1234
|
+
toReturn['year'] = this.year;
|
|
1235
|
+
}
|
|
1236
|
+
if (typeof this.month !== 'undefined') {
|
|
1237
|
+
toReturn['month'] = this.month;
|
|
1238
|
+
}
|
|
1239
|
+
if (typeof this.day !== 'undefined') {
|
|
1240
|
+
toReturn['day'] = this.day;
|
|
1241
|
+
}
|
|
1242
|
+
if (typeof this.hours !== 'undefined') {
|
|
1243
|
+
toReturn['hours'] = this.hours;
|
|
1244
|
+
}
|
|
1245
|
+
if (typeof this.minutes !== 'undefined') {
|
|
1246
|
+
toReturn['minutes'] = this.minutes;
|
|
1247
|
+
}
|
|
1248
|
+
if (typeof this.seconds !== 'undefined') {
|
|
1249
|
+
toReturn['seconds'] = this.seconds;
|
|
1250
|
+
}
|
|
1251
|
+
if (typeof this.nanos !== 'undefined') {
|
|
1252
|
+
toReturn['nanos'] = this.nanos;
|
|
1253
|
+
}
|
|
1254
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
1255
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
1256
|
+
}
|
|
1257
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1258
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1259
|
+
}
|
|
1260
|
+
return toReturn;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
class TimeZone {
|
|
1264
|
+
static fromProto(proto) {
|
|
1265
|
+
let m = new TimeZone();
|
|
1266
|
+
m = Object.assign(m, proto);
|
|
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.id !== 'undefined') {
|
|
1278
|
+
toReturn['id'] = this.id;
|
|
1279
|
+
}
|
|
1280
|
+
if (typeof this.version !== 'undefined') {
|
|
1281
|
+
toReturn['version'] = this.version;
|
|
1282
|
+
}
|
|
1283
|
+
return toReturn;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1288
|
+
if (typeof value === 'number') {
|
|
1289
|
+
return value;
|
|
1290
|
+
}
|
|
1291
|
+
return enumRef[value];
|
|
1292
|
+
}
|
|
1179
1293
|
class Answer {
|
|
1180
1294
|
static fromProto(proto) {
|
|
1181
1295
|
let m = new Answer();
|
|
1182
1296
|
m = Object.assign(m, proto);
|
|
1183
1297
|
if (proto.type) {
|
|
1184
|
-
m.type = enumStringToValue$
|
|
1298
|
+
m.type = enumStringToValue$6(FormFieldType, proto.type);
|
|
1185
1299
|
}
|
|
1186
1300
|
return m;
|
|
1187
1301
|
}
|
|
@@ -1323,7 +1437,7 @@ class Calendar {
|
|
|
1323
1437
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1324
1438
|
}
|
|
1325
1439
|
if (proto.calendarType) {
|
|
1326
|
-
m.calendarType = enumStringToValue$
|
|
1440
|
+
m.calendarType = enumStringToValue$6(CalendarType, proto.calendarType);
|
|
1327
1441
|
}
|
|
1328
1442
|
return m;
|
|
1329
1443
|
}
|
|
@@ -1521,7 +1635,7 @@ class Preferences {
|
|
|
1521
1635
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1522
1636
|
}
|
|
1523
1637
|
if (proto.meetingIntegration) {
|
|
1524
|
-
m.meetingIntegration = enumStringToValue$
|
|
1638
|
+
m.meetingIntegration = enumStringToValue$6(MeetingSource, proto.meetingIntegration);
|
|
1525
1639
|
}
|
|
1526
1640
|
if (proto.availabilityIncrement) {
|
|
1527
1641
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1593,7 +1707,7 @@ class TimeRange {
|
|
|
1593
1707
|
}
|
|
1594
1708
|
}
|
|
1595
1709
|
|
|
1596
|
-
function enumStringToValue$
|
|
1710
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1597
1711
|
if (typeof value === 'number') {
|
|
1598
1712
|
return value;
|
|
1599
1713
|
}
|
|
@@ -1604,7 +1718,7 @@ class Field {
|
|
|
1604
1718
|
let m = new Field();
|
|
1605
1719
|
m = Object.assign(m, proto);
|
|
1606
1720
|
if (proto.type) {
|
|
1607
|
-
m.type = enumStringToValue$
|
|
1721
|
+
m.type = enumStringToValue$5(FormFieldType, proto.type);
|
|
1608
1722
|
}
|
|
1609
1723
|
return m;
|
|
1610
1724
|
}
|
|
@@ -1670,6 +1784,9 @@ class MeetingType {
|
|
|
1670
1784
|
if (proto.noticeTime) {
|
|
1671
1785
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1672
1786
|
}
|
|
1787
|
+
if (proto.hostUsers) {
|
|
1788
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
1789
|
+
}
|
|
1673
1790
|
return m;
|
|
1674
1791
|
}
|
|
1675
1792
|
constructor(kwargs) {
|
|
@@ -1749,11 +1866,14 @@ class MeetingType {
|
|
|
1749
1866
|
if (typeof this.calendarType !== 'undefined') {
|
|
1750
1867
|
toReturn['calendarType'] = this.calendarType;
|
|
1751
1868
|
}
|
|
1869
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
1870
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
1871
|
+
}
|
|
1752
1872
|
return toReturn;
|
|
1753
1873
|
}
|
|
1754
1874
|
}
|
|
1755
1875
|
|
|
1756
|
-
function enumStringToValue$
|
|
1876
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1757
1877
|
if (typeof value === 'number') {
|
|
1758
1878
|
return value;
|
|
1759
1879
|
}
|
|
@@ -1789,7 +1909,7 @@ class DateRange {
|
|
|
1789
1909
|
}
|
|
1790
1910
|
}
|
|
1791
1911
|
|
|
1792
|
-
function enumStringToValue$
|
|
1912
|
+
function enumStringToValue$3(enumRef, value) {
|
|
1793
1913
|
if (typeof value === 'number') {
|
|
1794
1914
|
return value;
|
|
1795
1915
|
}
|
|
@@ -1999,9 +2119,6 @@ class GetMeetingTypeResponse {
|
|
|
1999
2119
|
if (proto.meetingType) {
|
|
2000
2120
|
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
2001
2121
|
}
|
|
2002
|
-
if (proto.hostUsers) {
|
|
2003
|
-
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
2004
|
-
}
|
|
2005
2122
|
return m;
|
|
2006
2123
|
}
|
|
2007
2124
|
constructor(kwargs) {
|
|
@@ -2015,9 +2132,6 @@ class GetMeetingTypeResponse {
|
|
|
2015
2132
|
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
2016
2133
|
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
2017
2134
|
}
|
|
2018
|
-
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
2019
|
-
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
2020
|
-
}
|
|
2021
2135
|
return toReturn;
|
|
2022
2136
|
}
|
|
2023
2137
|
}
|
|
@@ -2311,7 +2425,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2311
2425
|
}
|
|
2312
2426
|
}
|
|
2313
2427
|
|
|
2314
|
-
function enumStringToValue$
|
|
2428
|
+
function enumStringToValue$2(enumRef, value) {
|
|
2315
2429
|
if (typeof value === 'number') {
|
|
2316
2430
|
return value;
|
|
2317
2431
|
}
|
|
@@ -2338,7 +2452,7 @@ class FieldMask {
|
|
|
2338
2452
|
}
|
|
2339
2453
|
}
|
|
2340
2454
|
|
|
2341
|
-
function enumStringToValue$
|
|
2455
|
+
function enumStringToValue$1(enumRef, value) {
|
|
2342
2456
|
if (typeof value === 'number') {
|
|
2343
2457
|
return value;
|
|
2344
2458
|
}
|
|
@@ -2414,6 +2528,12 @@ class Group {
|
|
|
2414
2528
|
if (typeof this.associations !== 'undefined' && this.associations !== null) {
|
|
2415
2529
|
toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
|
|
2416
2530
|
}
|
|
2531
|
+
if (typeof this.hexColor !== 'undefined') {
|
|
2532
|
+
toReturn['hexColor'] = this.hexColor;
|
|
2533
|
+
}
|
|
2534
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
2535
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2536
|
+
}
|
|
2417
2537
|
return toReturn;
|
|
2418
2538
|
}
|
|
2419
2539
|
}
|
|
@@ -2452,11 +2572,17 @@ class Service {
|
|
|
2452
2572
|
if (typeof this.associations !== 'undefined' && this.associations !== null) {
|
|
2453
2573
|
toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
|
|
2454
2574
|
}
|
|
2575
|
+
if (typeof this.hexColor !== 'undefined') {
|
|
2576
|
+
toReturn['hexColor'] = this.hexColor;
|
|
2577
|
+
}
|
|
2578
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
2579
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2580
|
+
}
|
|
2455
2581
|
return toReturn;
|
|
2456
2582
|
}
|
|
2457
2583
|
}
|
|
2458
2584
|
|
|
2459
|
-
function enumStringToValue
|
|
2585
|
+
function enumStringToValue(enumRef, value) {
|
|
2460
2586
|
if (typeof value === 'number') {
|
|
2461
2587
|
return value;
|
|
2462
2588
|
}
|
|
@@ -2536,7 +2662,7 @@ class AvailabilityRule {
|
|
|
2536
2662
|
let m = new AvailabilityRule();
|
|
2537
2663
|
m = Object.assign(m, proto);
|
|
2538
2664
|
if (proto.day) {
|
|
2539
|
-
m.day = enumStringToValue
|
|
2665
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
2540
2666
|
}
|
|
2541
2667
|
if (proto.timeSlot) {
|
|
2542
2668
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -2957,6 +3083,9 @@ class DeleteGroupRequest {
|
|
|
2957
3083
|
if (typeof this.id !== 'undefined') {
|
|
2958
3084
|
toReturn['id'] = this.id;
|
|
2959
3085
|
}
|
|
3086
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3087
|
+
toReturn['hostId'] = this.hostId;
|
|
3088
|
+
}
|
|
2960
3089
|
return toReturn;
|
|
2961
3090
|
}
|
|
2962
3091
|
}
|
|
@@ -2997,6 +3126,9 @@ class DeleteServiceRequest {
|
|
|
2997
3126
|
if (typeof this.id !== 'undefined') {
|
|
2998
3127
|
toReturn['id'] = this.id;
|
|
2999
3128
|
}
|
|
3129
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3130
|
+
toReturn['hostId'] = this.hostId;
|
|
3131
|
+
}
|
|
3000
3132
|
return toReturn;
|
|
3001
3133
|
}
|
|
3002
3134
|
}
|
|
@@ -3358,7 +3490,7 @@ class HostBookMeetingRequest {
|
|
|
3358
3490
|
let m = new HostBookMeetingRequest();
|
|
3359
3491
|
m = Object.assign(m, proto);
|
|
3360
3492
|
if (proto.meetingSource) {
|
|
3361
|
-
m.meetingSource = enumStringToValue
|
|
3493
|
+
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
3362
3494
|
}
|
|
3363
3495
|
if (proto.timeSlot) {
|
|
3364
3496
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4067,7 +4199,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4067
4199
|
let m = new SetGeneralAvailabilityRequest();
|
|
4068
4200
|
m = Object.assign(m, proto);
|
|
4069
4201
|
if (proto.days) {
|
|
4070
|
-
m.days = proto.days.map((v) => enumStringToValue
|
|
4202
|
+
m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
|
|
4071
4203
|
}
|
|
4072
4204
|
if (proto.timeSlot) {
|
|
4073
4205
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4326,7 +4458,7 @@ class WeekdayAvailability {
|
|
|
4326
4458
|
let m = new WeekdayAvailability();
|
|
4327
4459
|
m = Object.assign(m, proto);
|
|
4328
4460
|
if (proto.day) {
|
|
4329
|
-
m.day = enumStringToValue
|
|
4461
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
4330
4462
|
}
|
|
4331
4463
|
if (proto.timeSlots) {
|
|
4332
4464
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4351,119 +4483,6 @@ class WeekdayAvailability {
|
|
|
4351
4483
|
}
|
|
4352
4484
|
}
|
|
4353
4485
|
|
|
4354
|
-
function enumStringToValue$1(enumRef, value) {
|
|
4355
|
-
if (typeof value === 'number') {
|
|
4356
|
-
return value;
|
|
4357
|
-
}
|
|
4358
|
-
return enumRef[value];
|
|
4359
|
-
}
|
|
4360
|
-
class TimeOfDay {
|
|
4361
|
-
static fromProto(proto) {
|
|
4362
|
-
let m = new TimeOfDay();
|
|
4363
|
-
m = Object.assign(m, proto);
|
|
4364
|
-
return m;
|
|
4365
|
-
}
|
|
4366
|
-
constructor(kwargs) {
|
|
4367
|
-
if (!kwargs) {
|
|
4368
|
-
return;
|
|
4369
|
-
}
|
|
4370
|
-
Object.assign(this, kwargs);
|
|
4371
|
-
}
|
|
4372
|
-
toApiJson() {
|
|
4373
|
-
const toReturn = {};
|
|
4374
|
-
if (typeof this.hours !== 'undefined') {
|
|
4375
|
-
toReturn['hours'] = this.hours;
|
|
4376
|
-
}
|
|
4377
|
-
if (typeof this.minutes !== 'undefined') {
|
|
4378
|
-
toReturn['minutes'] = this.minutes;
|
|
4379
|
-
}
|
|
4380
|
-
if (typeof this.seconds !== 'undefined') {
|
|
4381
|
-
toReturn['seconds'] = this.seconds;
|
|
4382
|
-
}
|
|
4383
|
-
if (typeof this.nanos !== 'undefined') {
|
|
4384
|
-
toReturn['nanos'] = this.nanos;
|
|
4385
|
-
}
|
|
4386
|
-
return toReturn;
|
|
4387
|
-
}
|
|
4388
|
-
}
|
|
4389
|
-
|
|
4390
|
-
function enumStringToValue(enumRef, value) {
|
|
4391
|
-
if (typeof value === 'number') {
|
|
4392
|
-
return value;
|
|
4393
|
-
}
|
|
4394
|
-
return enumRef[value];
|
|
4395
|
-
}
|
|
4396
|
-
class DateTime {
|
|
4397
|
-
static fromProto(proto) {
|
|
4398
|
-
let m = new DateTime();
|
|
4399
|
-
m = Object.assign(m, proto);
|
|
4400
|
-
if (proto.timeZone) {
|
|
4401
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4402
|
-
}
|
|
4403
|
-
return m;
|
|
4404
|
-
}
|
|
4405
|
-
constructor(kwargs) {
|
|
4406
|
-
if (!kwargs) {
|
|
4407
|
-
return;
|
|
4408
|
-
}
|
|
4409
|
-
Object.assign(this, kwargs);
|
|
4410
|
-
}
|
|
4411
|
-
toApiJson() {
|
|
4412
|
-
const toReturn = {};
|
|
4413
|
-
if (typeof this.year !== 'undefined') {
|
|
4414
|
-
toReturn['year'] = this.year;
|
|
4415
|
-
}
|
|
4416
|
-
if (typeof this.month !== 'undefined') {
|
|
4417
|
-
toReturn['month'] = this.month;
|
|
4418
|
-
}
|
|
4419
|
-
if (typeof this.day !== 'undefined') {
|
|
4420
|
-
toReturn['day'] = this.day;
|
|
4421
|
-
}
|
|
4422
|
-
if (typeof this.hours !== 'undefined') {
|
|
4423
|
-
toReturn['hours'] = this.hours;
|
|
4424
|
-
}
|
|
4425
|
-
if (typeof this.minutes !== 'undefined') {
|
|
4426
|
-
toReturn['minutes'] = this.minutes;
|
|
4427
|
-
}
|
|
4428
|
-
if (typeof this.seconds !== 'undefined') {
|
|
4429
|
-
toReturn['seconds'] = this.seconds;
|
|
4430
|
-
}
|
|
4431
|
-
if (typeof this.nanos !== 'undefined') {
|
|
4432
|
-
toReturn['nanos'] = this.nanos;
|
|
4433
|
-
}
|
|
4434
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
4435
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
4436
|
-
}
|
|
4437
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
4438
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
4439
|
-
}
|
|
4440
|
-
return toReturn;
|
|
4441
|
-
}
|
|
4442
|
-
}
|
|
4443
|
-
class TimeZone {
|
|
4444
|
-
static fromProto(proto) {
|
|
4445
|
-
let m = new TimeZone();
|
|
4446
|
-
m = Object.assign(m, proto);
|
|
4447
|
-
return m;
|
|
4448
|
-
}
|
|
4449
|
-
constructor(kwargs) {
|
|
4450
|
-
if (!kwargs) {
|
|
4451
|
-
return;
|
|
4452
|
-
}
|
|
4453
|
-
Object.assign(this, kwargs);
|
|
4454
|
-
}
|
|
4455
|
-
toApiJson() {
|
|
4456
|
-
const toReturn = {};
|
|
4457
|
-
if (typeof this.id !== 'undefined') {
|
|
4458
|
-
toReturn['id'] = this.id;
|
|
4459
|
-
}
|
|
4460
|
-
if (typeof this.version !== 'undefined') {
|
|
4461
|
-
toReturn['version'] = this.version;
|
|
4462
|
-
}
|
|
4463
|
-
return toReturn;
|
|
4464
|
-
}
|
|
4465
|
-
}
|
|
4466
|
-
|
|
4467
4486
|
// *********************************
|
|
4468
4487
|
|
|
4469
4488
|
var _a;
|
|
@@ -4492,9 +4511,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4492
4511
|
|
|
4493
4512
|
// *********************************
|
|
4494
4513
|
class MeetingSourceAPIApiService {
|
|
4495
|
-
constructor() {
|
|
4496
|
-
this.
|
|
4497
|
-
this.
|
|
4514
|
+
constructor(http, hostService) {
|
|
4515
|
+
this.http = http;
|
|
4516
|
+
this.hostService = hostService;
|
|
4498
4517
|
this._host = this.hostService.hostWithScheme;
|
|
4499
4518
|
}
|
|
4500
4519
|
apiOptions() {
|
|
@@ -4511,18 +4530,18 @@ class MeetingSourceAPIApiService {
|
|
|
4511
4530
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4512
4531
|
}
|
|
4513
4532
|
}
|
|
4514
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4533
|
+
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 });
|
|
4515
4534
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4516
4535
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4517
4536
|
type: Injectable,
|
|
4518
4537
|
args: [{ providedIn: 'root' }]
|
|
4519
|
-
}] });
|
|
4538
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4520
4539
|
|
|
4521
4540
|
// *********************************
|
|
4522
4541
|
class ZoomApiService {
|
|
4523
|
-
constructor() {
|
|
4524
|
-
this.
|
|
4525
|
-
this.
|
|
4542
|
+
constructor(http, hostService) {
|
|
4543
|
+
this.http = http;
|
|
4544
|
+
this.hostService = hostService;
|
|
4526
4545
|
this._host = this.hostService.hostWithScheme;
|
|
4527
4546
|
}
|
|
4528
4547
|
apiOptions() {
|
|
@@ -4539,18 +4558,18 @@ class ZoomApiService {
|
|
|
4539
4558
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
4540
4559
|
}
|
|
4541
4560
|
}
|
|
4542
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4561
|
+
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 });
|
|
4543
4562
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
4544
4563
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
4545
4564
|
type: Injectable,
|
|
4546
4565
|
args: [{ providedIn: 'root' }]
|
|
4547
|
-
}] });
|
|
4566
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4548
4567
|
|
|
4549
4568
|
// *********************************
|
|
4550
4569
|
class GoogleMeetApiService {
|
|
4551
|
-
constructor() {
|
|
4552
|
-
this.
|
|
4553
|
-
this.
|
|
4570
|
+
constructor(http, hostService) {
|
|
4571
|
+
this.http = http;
|
|
4572
|
+
this.hostService = hostService;
|
|
4554
4573
|
this._host = this.hostService.hostWithScheme;
|
|
4555
4574
|
}
|
|
4556
4575
|
apiOptions() {
|
|
@@ -4567,12 +4586,12 @@ class GoogleMeetApiService {
|
|
|
4567
4586
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4568
4587
|
}
|
|
4569
4588
|
}
|
|
4570
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4589
|
+
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 });
|
|
4571
4590
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4572
4591
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4573
4592
|
type: Injectable,
|
|
4574
4593
|
args: [{ providedIn: 'root' }]
|
|
4575
|
-
}] });
|
|
4594
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4576
4595
|
|
|
4577
4596
|
function generateMeetingPassword() {
|
|
4578
4597
|
const zoomMaxLength = 10;
|
|
@@ -4781,7 +4800,7 @@ function getDomainFromEnvironment(env) {
|
|
|
4781
4800
|
if (env === Environment.PROD) {
|
|
4782
4801
|
return 'bookmenow.info';
|
|
4783
4802
|
}
|
|
4784
|
-
return '
|
|
4803
|
+
return 'meetings-demo.apigateway.co';
|
|
4785
4804
|
}
|
|
4786
4805
|
function addMetadataToBookingLink(req) {
|
|
4787
4806
|
if (!req.metadata) {
|
|
@@ -4840,7 +4859,8 @@ function MeetingTypeFromApi(req) {
|
|
|
4840
4859
|
emailSubject: req.meetingTypeApi.emailSubject || '',
|
|
4841
4860
|
emailDescription: req.meetingTypeApi.emailDescription || '',
|
|
4842
4861
|
isPinned: req.meetingTypeApi.isPinned || false,
|
|
4843
|
-
CalendarType: req.meetingTypeApi.calendarType || ''
|
|
4862
|
+
CalendarType: req.meetingTypeApi.calendarType || '',
|
|
4863
|
+
hostUsers: req.meetingTypeApi.hostUsers || [],
|
|
4844
4864
|
};
|
|
4845
4865
|
}
|
|
4846
4866
|
function MeetingTypeToApi(req) {
|
|
@@ -4869,6 +4889,7 @@ function MeetingTypeToApi(req) {
|
|
|
4869
4889
|
isClientChoice: m.isClientChoice || undefined,
|
|
4870
4890
|
isPinned: m.isPinned || undefined,
|
|
4871
4891
|
calendarType: m.CalendarType || undefined,
|
|
4892
|
+
hostUsers: m.hostUsers || undefined
|
|
4872
4893
|
};
|
|
4873
4894
|
}
|
|
4874
4895
|
|
|
@@ -4971,9 +4992,9 @@ class PagedResponse {
|
|
|
4971
4992
|
|
|
4972
4993
|
// *********************************
|
|
4973
4994
|
class MeetingGuestApiService {
|
|
4974
|
-
constructor() {
|
|
4975
|
-
this.
|
|
4976
|
-
this.
|
|
4995
|
+
constructor(http, hostService) {
|
|
4996
|
+
this.http = http;
|
|
4997
|
+
this.hostService = hostService;
|
|
4977
4998
|
this._host = this.hostService.hostWithScheme;
|
|
4978
4999
|
}
|
|
4979
5000
|
apiOptions() {
|
|
@@ -5033,18 +5054,18 @@ class MeetingGuestApiService {
|
|
|
5033
5054
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
5034
5055
|
}
|
|
5035
5056
|
}
|
|
5036
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5057
|
+
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 });
|
|
5037
5058
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5038
5059
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5039
5060
|
type: Injectable,
|
|
5040
5061
|
args: [{ providedIn: 'root' }]
|
|
5041
|
-
}] });
|
|
5062
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5042
5063
|
|
|
5043
5064
|
// *********************************
|
|
5044
5065
|
class MeetingHostApiService {
|
|
5045
|
-
constructor() {
|
|
5046
|
-
this.
|
|
5047
|
-
this.
|
|
5066
|
+
constructor(http, hostService) {
|
|
5067
|
+
this.http = http;
|
|
5068
|
+
this.hostService = hostService;
|
|
5048
5069
|
this._host = this.hostService.hostWithScheme;
|
|
5049
5070
|
}
|
|
5050
5071
|
apiOptions() {
|
|
@@ -5235,12 +5256,12 @@ class MeetingHostApiService {
|
|
|
5235
5256
|
.pipe(map(resp => ListServicesResponse.fromProto(resp)));
|
|
5236
5257
|
}
|
|
5237
5258
|
}
|
|
5238
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5259
|
+
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 });
|
|
5239
5260
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5240
5261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5241
5262
|
type: Injectable,
|
|
5242
5263
|
args: [{ providedIn: 'root' }]
|
|
5243
|
-
}] });
|
|
5264
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5244
5265
|
|
|
5245
5266
|
// *********************************
|
|
5246
5267
|
|