@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
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -4491,9 +4510,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4491
4510
|
|
|
4492
4511
|
// *********************************
|
|
4493
4512
|
class MeetingSourceAPIApiService {
|
|
4494
|
-
constructor() {
|
|
4495
|
-
this.
|
|
4496
|
-
this.
|
|
4513
|
+
constructor(http, hostService) {
|
|
4514
|
+
this.http = http;
|
|
4515
|
+
this.hostService = hostService;
|
|
4497
4516
|
this._host = this.hostService.hostWithScheme;
|
|
4498
4517
|
}
|
|
4499
4518
|
apiOptions() {
|
|
@@ -4510,18 +4529,18 @@ class MeetingSourceAPIApiService {
|
|
|
4510
4529
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4511
4530
|
}
|
|
4512
4531
|
}
|
|
4513
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4532
|
+
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 });
|
|
4514
4533
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4515
4534
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4516
4535
|
type: Injectable,
|
|
4517
4536
|
args: [{ providedIn: 'root' }]
|
|
4518
|
-
}] });
|
|
4537
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4519
4538
|
|
|
4520
4539
|
// *********************************
|
|
4521
4540
|
class ZoomApiService {
|
|
4522
|
-
constructor() {
|
|
4523
|
-
this.
|
|
4524
|
-
this.
|
|
4541
|
+
constructor(http, hostService) {
|
|
4542
|
+
this.http = http;
|
|
4543
|
+
this.hostService = hostService;
|
|
4525
4544
|
this._host = this.hostService.hostWithScheme;
|
|
4526
4545
|
}
|
|
4527
4546
|
apiOptions() {
|
|
@@ -4538,18 +4557,18 @@ class ZoomApiService {
|
|
|
4538
4557
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
4539
4558
|
}
|
|
4540
4559
|
}
|
|
4541
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4560
|
+
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 });
|
|
4542
4561
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
4543
4562
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
4544
4563
|
type: Injectable,
|
|
4545
4564
|
args: [{ providedIn: 'root' }]
|
|
4546
|
-
}] });
|
|
4565
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4547
4566
|
|
|
4548
4567
|
// *********************************
|
|
4549
4568
|
class GoogleMeetApiService {
|
|
4550
|
-
constructor() {
|
|
4551
|
-
this.
|
|
4552
|
-
this.
|
|
4569
|
+
constructor(http, hostService) {
|
|
4570
|
+
this.http = http;
|
|
4571
|
+
this.hostService = hostService;
|
|
4553
4572
|
this._host = this.hostService.hostWithScheme;
|
|
4554
4573
|
}
|
|
4555
4574
|
apiOptions() {
|
|
@@ -4566,12 +4585,12 @@ class GoogleMeetApiService {
|
|
|
4566
4585
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4567
4586
|
}
|
|
4568
4587
|
}
|
|
4569
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4588
|
+
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 });
|
|
4570
4589
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4571
4590
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4572
4591
|
type: Injectable,
|
|
4573
4592
|
args: [{ providedIn: 'root' }]
|
|
4574
|
-
}] });
|
|
4593
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4575
4594
|
|
|
4576
4595
|
function generateMeetingPassword() {
|
|
4577
4596
|
const zoomMaxLength = 10;
|
|
@@ -4731,9 +4750,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4731
4750
|
|
|
4732
4751
|
// *********************************
|
|
4733
4752
|
class MeetingGuestApiService {
|
|
4734
|
-
constructor() {
|
|
4735
|
-
this.
|
|
4736
|
-
this.
|
|
4753
|
+
constructor(http, hostService) {
|
|
4754
|
+
this.http = http;
|
|
4755
|
+
this.hostService = hostService;
|
|
4737
4756
|
this._host = this.hostService.hostWithScheme;
|
|
4738
4757
|
}
|
|
4739
4758
|
apiOptions() {
|
|
@@ -4793,18 +4812,18 @@ class MeetingGuestApiService {
|
|
|
4793
4812
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4794
4813
|
}
|
|
4795
4814
|
}
|
|
4796
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4815
|
+
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 });
|
|
4797
4816
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4798
4817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4799
4818
|
type: Injectable,
|
|
4800
4819
|
args: [{ providedIn: 'root' }]
|
|
4801
|
-
}] });
|
|
4820
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4802
4821
|
|
|
4803
4822
|
// *********************************
|
|
4804
4823
|
class MeetingHostApiService {
|
|
4805
|
-
constructor() {
|
|
4806
|
-
this.
|
|
4807
|
-
this.
|
|
4824
|
+
constructor(http, hostService) {
|
|
4825
|
+
this.http = http;
|
|
4826
|
+
this.hostService = hostService;
|
|
4808
4827
|
this._host = this.hostService.hostWithScheme;
|
|
4809
4828
|
}
|
|
4810
4829
|
apiOptions() {
|
|
@@ -4995,12 +5014,12 @@ class MeetingHostApiService {
|
|
|
4995
5014
|
.pipe(map(resp => ListServicesResponse.fromProto(resp)));
|
|
4996
5015
|
}
|
|
4997
5016
|
}
|
|
4998
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5017
|
+
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 });
|
|
4999
5018
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5000
5019
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5001
5020
|
type: Injectable,
|
|
5002
5021
|
args: [{ providedIn: 'root' }]
|
|
5003
|
-
}] });
|
|
5022
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
5004
5023
|
|
|
5005
5024
|
// *********************************
|
|
5006
5025
|
|
|
@@ -5055,7 +5074,7 @@ function getDomainFromEnvironment(env) {
|
|
|
5055
5074
|
if (env === Environment.PROD) {
|
|
5056
5075
|
return 'bookmenow.info';
|
|
5057
5076
|
}
|
|
5058
|
-
return '
|
|
5077
|
+
return 'meetings-demo.apigateway.co';
|
|
5059
5078
|
}
|
|
5060
5079
|
function addMetadataToBookingLink(req) {
|
|
5061
5080
|
if (!req.metadata) {
|
|
@@ -5122,7 +5141,8 @@ function MeetingTypeFromApi(req) {
|
|
|
5122
5141
|
emailSubject: req.meetingTypeApi.emailSubject || '',
|
|
5123
5142
|
emailDescription: req.meetingTypeApi.emailDescription || '',
|
|
5124
5143
|
isPinned: req.meetingTypeApi.isPinned || false,
|
|
5125
|
-
CalendarType: req.meetingTypeApi.calendarType || ''
|
|
5144
|
+
CalendarType: req.meetingTypeApi.calendarType || '',
|
|
5145
|
+
hostUsers: req.meetingTypeApi.hostUsers || [],
|
|
5126
5146
|
};
|
|
5127
5147
|
}
|
|
5128
5148
|
function MeetingTypeToApi(req) {
|
|
@@ -5151,6 +5171,7 @@ function MeetingTypeToApi(req) {
|
|
|
5151
5171
|
isClientChoice: m.isClientChoice || undefined,
|
|
5152
5172
|
isPinned: m.isPinned || undefined,
|
|
5153
5173
|
calendarType: m.CalendarType || undefined,
|
|
5174
|
+
hostUsers: m.hostUsers || undefined
|
|
5154
5175
|
};
|
|
5155
5176
|
}
|
|
5156
5177
|
|