@vendasta/meetings 1.5.4 → 1.5.7
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/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-external.interface.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/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-external.api.service.mjs +18 -9
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +13 -9
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/meeting-external.mjs +203 -53
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +51 -8
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/esm2020/lib/host/host.service.mjs +6 -1
- package/esm2020/lib/index.mjs +1 -1
- package/fesm2015/vendasta-meetings.mjs +454 -241
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +454 -241
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/meeting-external.interface.d.ts +46 -21
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +11 -4
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-external.api.service.d.ts +7 -7
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
- package/lib/_internal/meeting-host.api.service.d.ts +6 -7
- package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/meeting-external.d.ts +61 -21
- package/lib/_internal/objects/meeting-guest.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +21 -8
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/lib/host/host.service.d.ts +4 -0
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Injectable, inject } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
6
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
5
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
7
6
|
|
|
8
7
|
// *********************************
|
|
9
8
|
// Code generated by sdkgen
|
|
@@ -1416,125 +1415,12 @@ function enumStringToValue$a(enumRef, value) {
|
|
|
1416
1415
|
}
|
|
1417
1416
|
return enumRef[value];
|
|
1418
1417
|
}
|
|
1419
|
-
class TimeOfDay {
|
|
1420
|
-
static fromProto(proto) {
|
|
1421
|
-
let m = new TimeOfDay();
|
|
1422
|
-
m = Object.assign(m, proto);
|
|
1423
|
-
return m;
|
|
1424
|
-
}
|
|
1425
|
-
constructor(kwargs) {
|
|
1426
|
-
if (!kwargs) {
|
|
1427
|
-
return;
|
|
1428
|
-
}
|
|
1429
|
-
Object.assign(this, kwargs);
|
|
1430
|
-
}
|
|
1431
|
-
toApiJson() {
|
|
1432
|
-
const toReturn = {};
|
|
1433
|
-
if (typeof this.hours !== 'undefined') {
|
|
1434
|
-
toReturn['hours'] = this.hours;
|
|
1435
|
-
}
|
|
1436
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1437
|
-
toReturn['minutes'] = this.minutes;
|
|
1438
|
-
}
|
|
1439
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1440
|
-
toReturn['seconds'] = this.seconds;
|
|
1441
|
-
}
|
|
1442
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1443
|
-
toReturn['nanos'] = this.nanos;
|
|
1444
|
-
}
|
|
1445
|
-
return toReturn;
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
function enumStringToValue$9(enumRef, value) {
|
|
1450
|
-
if (typeof value === 'number') {
|
|
1451
|
-
return value;
|
|
1452
|
-
}
|
|
1453
|
-
return enumRef[value];
|
|
1454
|
-
}
|
|
1455
|
-
class DateTime {
|
|
1456
|
-
static fromProto(proto) {
|
|
1457
|
-
let m = new DateTime();
|
|
1458
|
-
m = Object.assign(m, proto);
|
|
1459
|
-
if (proto.timeZone) {
|
|
1460
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1461
|
-
}
|
|
1462
|
-
return m;
|
|
1463
|
-
}
|
|
1464
|
-
constructor(kwargs) {
|
|
1465
|
-
if (!kwargs) {
|
|
1466
|
-
return;
|
|
1467
|
-
}
|
|
1468
|
-
Object.assign(this, kwargs);
|
|
1469
|
-
}
|
|
1470
|
-
toApiJson() {
|
|
1471
|
-
const toReturn = {};
|
|
1472
|
-
if (typeof this.year !== 'undefined') {
|
|
1473
|
-
toReturn['year'] = this.year;
|
|
1474
|
-
}
|
|
1475
|
-
if (typeof this.month !== 'undefined') {
|
|
1476
|
-
toReturn['month'] = this.month;
|
|
1477
|
-
}
|
|
1478
|
-
if (typeof this.day !== 'undefined') {
|
|
1479
|
-
toReturn['day'] = this.day;
|
|
1480
|
-
}
|
|
1481
|
-
if (typeof this.hours !== 'undefined') {
|
|
1482
|
-
toReturn['hours'] = this.hours;
|
|
1483
|
-
}
|
|
1484
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1485
|
-
toReturn['minutes'] = this.minutes;
|
|
1486
|
-
}
|
|
1487
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1488
|
-
toReturn['seconds'] = this.seconds;
|
|
1489
|
-
}
|
|
1490
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1491
|
-
toReturn['nanos'] = this.nanos;
|
|
1492
|
-
}
|
|
1493
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
1494
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
1495
|
-
}
|
|
1496
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1497
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1498
|
-
}
|
|
1499
|
-
return toReturn;
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
class TimeZone {
|
|
1503
|
-
static fromProto(proto) {
|
|
1504
|
-
let m = new TimeZone();
|
|
1505
|
-
m = Object.assign(m, proto);
|
|
1506
|
-
return m;
|
|
1507
|
-
}
|
|
1508
|
-
constructor(kwargs) {
|
|
1509
|
-
if (!kwargs) {
|
|
1510
|
-
return;
|
|
1511
|
-
}
|
|
1512
|
-
Object.assign(this, kwargs);
|
|
1513
|
-
}
|
|
1514
|
-
toApiJson() {
|
|
1515
|
-
const toReturn = {};
|
|
1516
|
-
if (typeof this.id !== 'undefined') {
|
|
1517
|
-
toReturn['id'] = this.id;
|
|
1518
|
-
}
|
|
1519
|
-
if (typeof this.version !== 'undefined') {
|
|
1520
|
-
toReturn['version'] = this.version;
|
|
1521
|
-
}
|
|
1522
|
-
return toReturn;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
function enumStringToValue$8(enumRef, value) {
|
|
1527
|
-
if (typeof value === 'number') {
|
|
1528
|
-
return value;
|
|
1529
|
-
}
|
|
1530
|
-
return enumRef[value];
|
|
1531
|
-
}
|
|
1532
1418
|
class Answer {
|
|
1533
1419
|
static fromProto(proto) {
|
|
1534
1420
|
let m = new Answer();
|
|
1535
1421
|
m = Object.assign(m, proto);
|
|
1536
1422
|
if (proto.type) {
|
|
1537
|
-
m.type = enumStringToValue$
|
|
1423
|
+
m.type = enumStringToValue$a(FormFieldType, proto.type);
|
|
1538
1424
|
}
|
|
1539
1425
|
return m;
|
|
1540
1426
|
}
|
|
@@ -1676,7 +1562,7 @@ class Calendar {
|
|
|
1676
1562
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1677
1563
|
}
|
|
1678
1564
|
if (proto.calendarType) {
|
|
1679
|
-
m.calendarType = enumStringToValue$
|
|
1565
|
+
m.calendarType = enumStringToValue$a(CalendarType, proto.calendarType);
|
|
1680
1566
|
}
|
|
1681
1567
|
return m;
|
|
1682
1568
|
}
|
|
@@ -1984,7 +1870,7 @@ class Preferences {
|
|
|
1984
1870
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1985
1871
|
}
|
|
1986
1872
|
if (proto.meetingIntegration) {
|
|
1987
|
-
m.meetingIntegration = enumStringToValue$
|
|
1873
|
+
m.meetingIntegration = enumStringToValue$a(MeetingSource, proto.meetingIntegration);
|
|
1988
1874
|
}
|
|
1989
1875
|
if (proto.availabilityIncrement) {
|
|
1990
1876
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1999,10 +1885,10 @@ class Preferences {
|
|
|
1999
1885
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
2000
1886
|
}
|
|
2001
1887
|
if (proto.calendarIntegration) {
|
|
2002
|
-
m.calendarIntegration = enumStringToValue$
|
|
1888
|
+
m.calendarIntegration = enumStringToValue$a(CalendarSource, proto.calendarIntegration);
|
|
2003
1889
|
}
|
|
2004
1890
|
if (proto.onBoardingState) {
|
|
2005
|
-
m.onBoardingState = enumStringToValue$
|
|
1891
|
+
m.onBoardingState = enumStringToValue$a(OnBoardingState, proto.onBoardingState);
|
|
2006
1892
|
}
|
|
2007
1893
|
return m;
|
|
2008
1894
|
}
|
|
@@ -2074,7 +1960,7 @@ class TimeRange {
|
|
|
2074
1960
|
}
|
|
2075
1961
|
}
|
|
2076
1962
|
|
|
2077
|
-
function enumStringToValue$
|
|
1963
|
+
function enumStringToValue$9(enumRef, value) {
|
|
2078
1964
|
if (typeof value === 'number') {
|
|
2079
1965
|
return value;
|
|
2080
1966
|
}
|
|
@@ -2110,7 +1996,7 @@ class DateRange {
|
|
|
2110
1996
|
}
|
|
2111
1997
|
}
|
|
2112
1998
|
|
|
2113
|
-
function enumStringToValue$
|
|
1999
|
+
function enumStringToValue$8(enumRef, value) {
|
|
2114
2000
|
if (typeof value === 'number') {
|
|
2115
2001
|
return value;
|
|
2116
2002
|
}
|
|
@@ -2121,7 +2007,7 @@ class EventTypeDateRange {
|
|
|
2121
2007
|
let m = new EventTypeDateRange();
|
|
2122
2008
|
m = Object.assign(m, proto);
|
|
2123
2009
|
if (proto.dateRangeType) {
|
|
2124
|
-
m.dateRangeType = enumStringToValue$
|
|
2010
|
+
m.dateRangeType = enumStringToValue$8(DateRangeType, proto.dateRangeType);
|
|
2125
2011
|
}
|
|
2126
2012
|
if (proto.customDateRange) {
|
|
2127
2013
|
m.customDateRange = DateRange.fromProto(proto.customDateRange);
|
|
@@ -2156,7 +2042,7 @@ class Field {
|
|
|
2156
2042
|
let m = new Field();
|
|
2157
2043
|
m = Object.assign(m, proto);
|
|
2158
2044
|
if (proto.type) {
|
|
2159
|
-
m.type = enumStringToValue$
|
|
2045
|
+
m.type = enumStringToValue$8(FormFieldType, proto.type);
|
|
2160
2046
|
}
|
|
2161
2047
|
return m;
|
|
2162
2048
|
}
|
|
@@ -2223,7 +2109,7 @@ class MeetingType {
|
|
|
2223
2109
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
2224
2110
|
}
|
|
2225
2111
|
if (proto.locationType) {
|
|
2226
|
-
m.locationType = enumStringToValue$
|
|
2112
|
+
m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
|
|
2227
2113
|
}
|
|
2228
2114
|
if (proto.hostUsers) {
|
|
2229
2115
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -2235,7 +2121,7 @@ class MeetingType {
|
|
|
2235
2121
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
2236
2122
|
}
|
|
2237
2123
|
if (proto.meetingType) {
|
|
2238
|
-
m.meetingType = enumStringToValue$
|
|
2124
|
+
m.meetingType = enumStringToValue$8(TeamEventMeetingType, proto.meetingType);
|
|
2239
2125
|
}
|
|
2240
2126
|
if (proto.attendeeCount) {
|
|
2241
2127
|
m.attendeeCount = parseInt(proto.attendeeCount, 10);
|
|
@@ -2247,7 +2133,7 @@ class MeetingType {
|
|
|
2247
2133
|
m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
|
|
2248
2134
|
}
|
|
2249
2135
|
if (proto.notificationType) {
|
|
2250
|
-
m.notificationType = enumStringToValue$
|
|
2136
|
+
m.notificationType = enumStringToValue$8(NotificationType, proto.notificationType);
|
|
2251
2137
|
}
|
|
2252
2138
|
return m;
|
|
2253
2139
|
}
|
|
@@ -2372,7 +2258,7 @@ class RegistrationCutOff {
|
|
|
2372
2258
|
let m = new RegistrationCutOff();
|
|
2373
2259
|
m = Object.assign(m, proto);
|
|
2374
2260
|
if (proto.unit) {
|
|
2375
|
-
m.unit = enumStringToValue$
|
|
2261
|
+
m.unit = enumStringToValue$8(RegistrationCutOffUnit, proto.unit);
|
|
2376
2262
|
}
|
|
2377
2263
|
if (proto.value) {
|
|
2378
2264
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2401,7 +2287,7 @@ class RelativeDateRange {
|
|
|
2401
2287
|
let m = new RelativeDateRange();
|
|
2402
2288
|
m = Object.assign(m, proto);
|
|
2403
2289
|
if (proto.unit) {
|
|
2404
|
-
m.unit = enumStringToValue$
|
|
2290
|
+
m.unit = enumStringToValue$8(RelativeTimeUnit, proto.unit);
|
|
2405
2291
|
}
|
|
2406
2292
|
if (proto.value) {
|
|
2407
2293
|
m.value = parseInt(proto.value, 10);
|
|
@@ -2426,7 +2312,7 @@ class RelativeDateRange {
|
|
|
2426
2312
|
}
|
|
2427
2313
|
}
|
|
2428
2314
|
|
|
2429
|
-
function enumStringToValue$
|
|
2315
|
+
function enumStringToValue$7(enumRef, value) {
|
|
2430
2316
|
if (typeof value === 'number') {
|
|
2431
2317
|
return value;
|
|
2432
2318
|
}
|
|
@@ -2571,7 +2457,7 @@ class Service {
|
|
|
2571
2457
|
}
|
|
2572
2458
|
}
|
|
2573
2459
|
|
|
2574
|
-
function enumStringToValue$
|
|
2460
|
+
function enumStringToValue$6(enumRef, value) {
|
|
2575
2461
|
if (typeof value === 'number') {
|
|
2576
2462
|
return value;
|
|
2577
2463
|
}
|
|
@@ -2597,7 +2483,7 @@ class BookMeetingRequest {
|
|
|
2597
2483
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
2598
2484
|
}
|
|
2599
2485
|
if (proto.bookingSource) {
|
|
2600
|
-
m.bookingSource = enumStringToValue$
|
|
2486
|
+
m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
|
|
2601
2487
|
}
|
|
2602
2488
|
return m;
|
|
2603
2489
|
}
|
|
@@ -2676,7 +2562,7 @@ class CheckFeatureFlagRequest {
|
|
|
2676
2562
|
let m = new CheckFeatureFlagRequest();
|
|
2677
2563
|
m = Object.assign(m, proto);
|
|
2678
2564
|
if (proto.fieldType) {
|
|
2679
|
-
m.fieldType = enumStringToValue$
|
|
2565
|
+
m.fieldType = enumStringToValue$6(FeatureFlagFieldType, proto.fieldType);
|
|
2680
2566
|
}
|
|
2681
2567
|
return m;
|
|
2682
2568
|
}
|
|
@@ -3237,10 +3123,10 @@ class GuestGetBookedMeetingResponse {
|
|
|
3237
3123
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
3238
3124
|
}
|
|
3239
3125
|
if (proto.locationType) {
|
|
3240
|
-
m.locationType = enumStringToValue$
|
|
3126
|
+
m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
|
|
3241
3127
|
}
|
|
3242
3128
|
if (proto.meetingType) {
|
|
3243
|
-
m.meetingType = enumStringToValue$
|
|
3129
|
+
m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
|
|
3244
3130
|
}
|
|
3245
3131
|
return m;
|
|
3246
3132
|
}
|
|
@@ -3296,10 +3182,10 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
3296
3182
|
m.endTime = new Date(proto.endTime);
|
|
3297
3183
|
}
|
|
3298
3184
|
if (proto.meetingSource) {
|
|
3299
|
-
m.meetingSource = enumStringToValue$
|
|
3185
|
+
m.meetingSource = enumStringToValue$6(MeetingSource, proto.meetingSource);
|
|
3300
3186
|
}
|
|
3301
3187
|
if (proto.meetingLocationType) {
|
|
3302
|
-
m.meetingLocationType = enumStringToValue$
|
|
3188
|
+
m.meetingLocationType = enumStringToValue$6(MeetingLocation, proto.meetingLocationType);
|
|
3303
3189
|
}
|
|
3304
3190
|
if (proto.timeZone) {
|
|
3305
3191
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
@@ -3356,6 +3242,9 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
3356
3242
|
if (typeof this.businessLogo !== 'undefined') {
|
|
3357
3243
|
toReturn['businessLogo'] = this.businessLogo;
|
|
3358
3244
|
}
|
|
3245
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
3246
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
3247
|
+
}
|
|
3359
3248
|
return toReturn;
|
|
3360
3249
|
}
|
|
3361
3250
|
}
|
|
@@ -3673,7 +3562,7 @@ class RegisterSessionRequest {
|
|
|
3673
3562
|
}
|
|
3674
3563
|
}
|
|
3675
3564
|
|
|
3676
|
-
function enumStringToValue$
|
|
3565
|
+
function enumStringToValue$5(enumRef, value) {
|
|
3677
3566
|
if (typeof value === 'number') {
|
|
3678
3567
|
return value;
|
|
3679
3568
|
}
|
|
@@ -3699,11 +3588,8 @@ class AvailableTimeSlotsRequest {
|
|
|
3699
3588
|
}
|
|
3700
3589
|
toApiJson() {
|
|
3701
3590
|
const toReturn = {};
|
|
3702
|
-
if (typeof this.
|
|
3703
|
-
toReturn['
|
|
3704
|
-
}
|
|
3705
|
-
if (typeof this.businessId !== 'undefined') {
|
|
3706
|
-
toReturn['businessId'] = this.businessId;
|
|
3591
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3592
|
+
toReturn['namespace'] = this.namespace;
|
|
3707
3593
|
}
|
|
3708
3594
|
if (typeof this.eventTypeId !== 'undefined') {
|
|
3709
3595
|
toReturn['eventTypeId'] = this.eventTypeId;
|
|
@@ -3766,14 +3652,8 @@ class BookMeetingExternalRequest {
|
|
|
3766
3652
|
}
|
|
3767
3653
|
toApiJson() {
|
|
3768
3654
|
const toReturn = {};
|
|
3769
|
-
if (typeof this.
|
|
3770
|
-
toReturn['
|
|
3771
|
-
}
|
|
3772
|
-
if (typeof this.businessId !== 'undefined') {
|
|
3773
|
-
toReturn['businessId'] = this.businessId;
|
|
3774
|
-
}
|
|
3775
|
-
if (typeof this.userId !== 'undefined') {
|
|
3776
|
-
toReturn['userId'] = this.userId;
|
|
3655
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3656
|
+
toReturn['namespace'] = this.namespace;
|
|
3777
3657
|
}
|
|
3778
3658
|
if (typeof this.eventTypeId !== 'undefined') {
|
|
3779
3659
|
toReturn['eventTypeId'] = this.eventTypeId;
|
|
@@ -3864,6 +3744,86 @@ class BookMeetingExternalResponse {
|
|
|
3864
3744
|
return toReturn;
|
|
3865
3745
|
}
|
|
3866
3746
|
}
|
|
3747
|
+
class EventType {
|
|
3748
|
+
static fromProto(proto) {
|
|
3749
|
+
let m = new EventType();
|
|
3750
|
+
m = Object.assign(m, proto);
|
|
3751
|
+
if (proto.locationType) {
|
|
3752
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
3753
|
+
}
|
|
3754
|
+
if (proto.hostUsers) {
|
|
3755
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
3756
|
+
}
|
|
3757
|
+
if (proto.bookingWindow) {
|
|
3758
|
+
m.bookingWindow = EventTypeDateRange.fromProto(proto.bookingWindow);
|
|
3759
|
+
}
|
|
3760
|
+
if (proto.meetingType) {
|
|
3761
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
3762
|
+
}
|
|
3763
|
+
if (proto.hostOrderDetails) {
|
|
3764
|
+
m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
|
|
3765
|
+
}
|
|
3766
|
+
return m;
|
|
3767
|
+
}
|
|
3768
|
+
constructor(kwargs) {
|
|
3769
|
+
if (!kwargs) {
|
|
3770
|
+
return;
|
|
3771
|
+
}
|
|
3772
|
+
Object.assign(this, kwargs);
|
|
3773
|
+
}
|
|
3774
|
+
toApiJson() {
|
|
3775
|
+
const toReturn = {};
|
|
3776
|
+
if (typeof this.id !== 'undefined') {
|
|
3777
|
+
toReturn['id'] = this.id;
|
|
3778
|
+
}
|
|
3779
|
+
if (typeof this.name !== 'undefined') {
|
|
3780
|
+
toReturn['name'] = this.name;
|
|
3781
|
+
}
|
|
3782
|
+
if (typeof this.duration !== 'undefined') {
|
|
3783
|
+
toReturn['duration'] = this.duration;
|
|
3784
|
+
}
|
|
3785
|
+
if (typeof this.description !== 'undefined') {
|
|
3786
|
+
toReturn['description'] = this.description;
|
|
3787
|
+
}
|
|
3788
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
3789
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
3790
|
+
}
|
|
3791
|
+
if (typeof this.location !== 'undefined') {
|
|
3792
|
+
toReturn['location'] = this.location;
|
|
3793
|
+
}
|
|
3794
|
+
if (typeof this.locationType !== 'undefined') {
|
|
3795
|
+
toReturn['locationType'] = this.locationType;
|
|
3796
|
+
}
|
|
3797
|
+
if (typeof this.locationGuidelines !== 'undefined') {
|
|
3798
|
+
toReturn['locationGuidelines'] = this.locationGuidelines;
|
|
3799
|
+
}
|
|
3800
|
+
if (typeof this.isVideoConferencingEnabled !== 'undefined') {
|
|
3801
|
+
toReturn['isVideoConferencingEnabled'] = this.isVideoConferencingEnabled;
|
|
3802
|
+
}
|
|
3803
|
+
if (typeof this.calendarType !== 'undefined') {
|
|
3804
|
+
toReturn['calendarType'] = this.calendarType;
|
|
3805
|
+
}
|
|
3806
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
3807
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
3808
|
+
}
|
|
3809
|
+
if (typeof this.bookingWindow !== 'undefined' && this.bookingWindow !== null) {
|
|
3810
|
+
toReturn['bookingWindow'] = 'toApiJson' in this.bookingWindow ? this.bookingWindow.toApiJson() : this.bookingWindow;
|
|
3811
|
+
}
|
|
3812
|
+
if (typeof this.meetingType !== 'undefined') {
|
|
3813
|
+
toReturn['meetingType'] = this.meetingType;
|
|
3814
|
+
}
|
|
3815
|
+
if (typeof this.hostOrderDetails !== 'undefined' && this.hostOrderDetails !== null) {
|
|
3816
|
+
toReturn['hostOrderDetails'] = 'toApiJson' in this.hostOrderDetails ? this.hostOrderDetails.toApiJson() : this.hostOrderDetails;
|
|
3817
|
+
}
|
|
3818
|
+
if (typeof this.isEmailRequired !== 'undefined') {
|
|
3819
|
+
toReturn['isEmailRequired'] = this.isEmailRequired;
|
|
3820
|
+
}
|
|
3821
|
+
if (typeof this.isPhoneNumberRequired !== 'undefined') {
|
|
3822
|
+
toReturn['isPhoneNumberRequired'] = this.isPhoneNumberRequired;
|
|
3823
|
+
}
|
|
3824
|
+
return toReturn;
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3867
3827
|
class ExternalCancelMeetingRequest {
|
|
3868
3828
|
static fromProto(proto) {
|
|
3869
3829
|
let m = new ExternalCancelMeetingRequest();
|
|
@@ -3878,11 +3838,8 @@ class ExternalCancelMeetingRequest {
|
|
|
3878
3838
|
}
|
|
3879
3839
|
toApiJson() {
|
|
3880
3840
|
const toReturn = {};
|
|
3881
|
-
if (typeof this.
|
|
3882
|
-
toReturn['
|
|
3883
|
-
}
|
|
3884
|
-
if (typeof this.businessId !== 'undefined') {
|
|
3885
|
-
toReturn['businessId'] = this.businessId;
|
|
3841
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3842
|
+
toReturn['namespace'] = this.namespace;
|
|
3886
3843
|
}
|
|
3887
3844
|
if (typeof this.meetingId !== 'undefined') {
|
|
3888
3845
|
toReturn['meetingId'] = this.meetingId;
|
|
@@ -3913,14 +3870,8 @@ class ExternalRescheduleMeetingRequest {
|
|
|
3913
3870
|
}
|
|
3914
3871
|
toApiJson() {
|
|
3915
3872
|
const toReturn = {};
|
|
3916
|
-
if (typeof this.
|
|
3917
|
-
toReturn['
|
|
3918
|
-
}
|
|
3919
|
-
if (typeof this.businessId !== 'undefined') {
|
|
3920
|
-
toReturn['businessId'] = this.businessId;
|
|
3921
|
-
}
|
|
3922
|
-
if (typeof this.userId !== 'undefined') {
|
|
3923
|
-
toReturn['userId'] = this.userId;
|
|
3873
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3874
|
+
toReturn['namespace'] = this.namespace;
|
|
3924
3875
|
}
|
|
3925
3876
|
if (typeof this.meetingId !== 'undefined') {
|
|
3926
3877
|
toReturn['meetingId'] = this.meetingId;
|
|
@@ -4013,14 +3964,8 @@ class GetUsersRequest {
|
|
|
4013
3964
|
}
|
|
4014
3965
|
toApiJson() {
|
|
4015
3966
|
const toReturn = {};
|
|
4016
|
-
if (typeof this.
|
|
4017
|
-
toReturn['
|
|
4018
|
-
}
|
|
4019
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4020
|
-
toReturn['businessId'] = this.businessId;
|
|
4021
|
-
}
|
|
4022
|
-
if (typeof this.userId !== 'undefined') {
|
|
4023
|
-
toReturn['userId'] = this.userId;
|
|
3967
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3968
|
+
toReturn['namespace'] = this.namespace;
|
|
4024
3969
|
}
|
|
4025
3970
|
if (typeof this.pagedRequestOptions !== 'undefined' && this.pagedRequestOptions !== null) {
|
|
4026
3971
|
toReturn['pagedRequestOptions'] = 'toApiJson' in this.pagedRequestOptions ? this.pagedRequestOptions.toApiJson() : this.pagedRequestOptions;
|
|
@@ -4103,14 +4048,8 @@ class GroupsRequest {
|
|
|
4103
4048
|
}
|
|
4104
4049
|
toApiJson() {
|
|
4105
4050
|
const toReturn = {};
|
|
4106
|
-
if (typeof this.
|
|
4107
|
-
toReturn['
|
|
4108
|
-
}
|
|
4109
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4110
|
-
toReturn['businessId'] = this.businessId;
|
|
4111
|
-
}
|
|
4112
|
-
if (typeof this.userId !== 'undefined') {
|
|
4113
|
-
toReturn['userId'] = this.userId;
|
|
4051
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4052
|
+
toReturn['namespace'] = this.namespace;
|
|
4114
4053
|
}
|
|
4115
4054
|
return toReturn;
|
|
4116
4055
|
}
|
|
@@ -4161,6 +4100,110 @@ class HostUserDetails {
|
|
|
4161
4100
|
return toReturn;
|
|
4162
4101
|
}
|
|
4163
4102
|
}
|
|
4103
|
+
class ListTeamEventTypesRequest {
|
|
4104
|
+
static fromProto(proto) {
|
|
4105
|
+
let m = new ListTeamEventTypesRequest();
|
|
4106
|
+
m = Object.assign(m, proto);
|
|
4107
|
+
if (proto.pageSize) {
|
|
4108
|
+
m.pageSize = parseInt(proto.pageSize, 10);
|
|
4109
|
+
}
|
|
4110
|
+
return m;
|
|
4111
|
+
}
|
|
4112
|
+
constructor(kwargs) {
|
|
4113
|
+
if (!kwargs) {
|
|
4114
|
+
return;
|
|
4115
|
+
}
|
|
4116
|
+
Object.assign(this, kwargs);
|
|
4117
|
+
}
|
|
4118
|
+
toApiJson() {
|
|
4119
|
+
const toReturn = {};
|
|
4120
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4121
|
+
toReturn['namespace'] = this.namespace;
|
|
4122
|
+
}
|
|
4123
|
+
if (typeof this.cursor !== 'undefined') {
|
|
4124
|
+
toReturn['cursor'] = this.cursor;
|
|
4125
|
+
}
|
|
4126
|
+
if (typeof this.pageSize !== 'undefined') {
|
|
4127
|
+
toReturn['pageSize'] = this.pageSize;
|
|
4128
|
+
}
|
|
4129
|
+
return toReturn;
|
|
4130
|
+
}
|
|
4131
|
+
}
|
|
4132
|
+
class ListTeamEventTypesResponse {
|
|
4133
|
+
static fromProto(proto) {
|
|
4134
|
+
let m = new ListTeamEventTypesResponse();
|
|
4135
|
+
m = Object.assign(m, proto);
|
|
4136
|
+
if (proto.eventTypes) {
|
|
4137
|
+
m.eventTypes = proto.eventTypes.map(EventType.fromProto);
|
|
4138
|
+
}
|
|
4139
|
+
return m;
|
|
4140
|
+
}
|
|
4141
|
+
constructor(kwargs) {
|
|
4142
|
+
if (!kwargs) {
|
|
4143
|
+
return;
|
|
4144
|
+
}
|
|
4145
|
+
Object.assign(this, kwargs);
|
|
4146
|
+
}
|
|
4147
|
+
toApiJson() {
|
|
4148
|
+
const toReturn = {};
|
|
4149
|
+
if (typeof this.eventTypes !== 'undefined' && this.eventTypes !== null) {
|
|
4150
|
+
toReturn['eventTypes'] = 'toApiJson' in this.eventTypes ? this.eventTypes.toApiJson() : this.eventTypes;
|
|
4151
|
+
}
|
|
4152
|
+
if (typeof this.nextCursor !== 'undefined') {
|
|
4153
|
+
toReturn['nextCursor'] = this.nextCursor;
|
|
4154
|
+
}
|
|
4155
|
+
if (typeof this.hasMore !== 'undefined') {
|
|
4156
|
+
toReturn['hasMore'] = this.hasMore;
|
|
4157
|
+
}
|
|
4158
|
+
return toReturn;
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
class ListUserEventTypesRequest {
|
|
4162
|
+
static fromProto(proto) {
|
|
4163
|
+
let m = new ListUserEventTypesRequest();
|
|
4164
|
+
m = Object.assign(m, proto);
|
|
4165
|
+
return m;
|
|
4166
|
+
}
|
|
4167
|
+
constructor(kwargs) {
|
|
4168
|
+
if (!kwargs) {
|
|
4169
|
+
return;
|
|
4170
|
+
}
|
|
4171
|
+
Object.assign(this, kwargs);
|
|
4172
|
+
}
|
|
4173
|
+
toApiJson() {
|
|
4174
|
+
const toReturn = {};
|
|
4175
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4176
|
+
toReturn['namespace'] = this.namespace;
|
|
4177
|
+
}
|
|
4178
|
+
if (typeof this.userId !== 'undefined') {
|
|
4179
|
+
toReturn['userId'] = this.userId;
|
|
4180
|
+
}
|
|
4181
|
+
return toReturn;
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
class ListUserEventTypesResponse {
|
|
4185
|
+
static fromProto(proto) {
|
|
4186
|
+
let m = new ListUserEventTypesResponse();
|
|
4187
|
+
m = Object.assign(m, proto);
|
|
4188
|
+
if (proto.eventTypes) {
|
|
4189
|
+
m.eventTypes = proto.eventTypes.map(EventType.fromProto);
|
|
4190
|
+
}
|
|
4191
|
+
return m;
|
|
4192
|
+
}
|
|
4193
|
+
constructor(kwargs) {
|
|
4194
|
+
if (!kwargs) {
|
|
4195
|
+
return;
|
|
4196
|
+
}
|
|
4197
|
+
Object.assign(this, kwargs);
|
|
4198
|
+
}
|
|
4199
|
+
toApiJson() {
|
|
4200
|
+
const toReturn = {};
|
|
4201
|
+
if (typeof this.eventTypes !== 'undefined' && this.eventTypes !== null) {
|
|
4202
|
+
toReturn['eventTypes'] = 'toApiJson' in this.eventTypes ? this.eventTypes.toApiJson() : this.eventTypes;
|
|
4203
|
+
}
|
|
4204
|
+
return toReturn;
|
|
4205
|
+
}
|
|
4206
|
+
}
|
|
4164
4207
|
class ServiceResponse {
|
|
4165
4208
|
static fromProto(proto) {
|
|
4166
4209
|
let m = new ServiceResponse();
|
|
@@ -4207,14 +4250,8 @@ class ServicesRequest {
|
|
|
4207
4250
|
}
|
|
4208
4251
|
toApiJson() {
|
|
4209
4252
|
const toReturn = {};
|
|
4210
|
-
if (typeof this.
|
|
4211
|
-
toReturn['
|
|
4212
|
-
}
|
|
4213
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4214
|
-
toReturn['businessId'] = this.businessId;
|
|
4215
|
-
}
|
|
4216
|
-
if (typeof this.userId !== 'undefined') {
|
|
4217
|
-
toReturn['userId'] = this.userId;
|
|
4253
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4254
|
+
toReturn['namespace'] = this.namespace;
|
|
4218
4255
|
}
|
|
4219
4256
|
return toReturn;
|
|
4220
4257
|
}
|
|
@@ -4269,7 +4306,7 @@ class UserResponse {
|
|
|
4269
4306
|
}
|
|
4270
4307
|
}
|
|
4271
4308
|
|
|
4272
|
-
function enumStringToValue$
|
|
4309
|
+
function enumStringToValue$4(enumRef, value) {
|
|
4273
4310
|
if (typeof value === 'number') {
|
|
4274
4311
|
return value;
|
|
4275
4312
|
}
|
|
@@ -4296,15 +4333,15 @@ class FieldMask {
|
|
|
4296
4333
|
}
|
|
4297
4334
|
}
|
|
4298
4335
|
|
|
4299
|
-
function enumStringToValue$
|
|
4336
|
+
function enumStringToValue$3(enumRef, value) {
|
|
4300
4337
|
if (typeof value === 'number') {
|
|
4301
4338
|
return value;
|
|
4302
4339
|
}
|
|
4303
4340
|
return enumRef[value];
|
|
4304
4341
|
}
|
|
4305
|
-
class
|
|
4342
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
4306
4343
|
static fromProto(proto) {
|
|
4307
|
-
let m = new
|
|
4344
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
4308
4345
|
m = Object.assign(m, proto);
|
|
4309
4346
|
return m;
|
|
4310
4347
|
}
|
|
@@ -4325,9 +4362,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
|
4325
4362
|
return toReturn;
|
|
4326
4363
|
}
|
|
4327
4364
|
}
|
|
4328
|
-
class
|
|
4365
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
4329
4366
|
static fromProto(proto) {
|
|
4330
|
-
let m = new
|
|
4367
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
4331
4368
|
m = Object.assign(m, proto);
|
|
4332
4369
|
return m;
|
|
4333
4370
|
}
|
|
@@ -4348,9 +4385,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
4348
4385
|
return toReturn;
|
|
4349
4386
|
}
|
|
4350
4387
|
}
|
|
4351
|
-
class
|
|
4388
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
4352
4389
|
static fromProto(proto) {
|
|
4353
|
-
let m = new
|
|
4390
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
4354
4391
|
m = Object.assign(m, proto);
|
|
4355
4392
|
return m;
|
|
4356
4393
|
}
|
|
@@ -4376,7 +4413,7 @@ class AvailabilityRule {
|
|
|
4376
4413
|
let m = new AvailabilityRule();
|
|
4377
4414
|
m = Object.assign(m, proto);
|
|
4378
4415
|
if (proto.day) {
|
|
4379
|
-
m.day = enumStringToValue$
|
|
4416
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4380
4417
|
}
|
|
4381
4418
|
if (proto.timeSlot) {
|
|
4382
4419
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4556,6 +4593,49 @@ class CancelMeetingRequest {
|
|
|
4556
4593
|
return toReturn;
|
|
4557
4594
|
}
|
|
4558
4595
|
}
|
|
4596
|
+
class CheckEventTypeSlugExistRequest {
|
|
4597
|
+
static fromProto(proto) {
|
|
4598
|
+
let m = new CheckEventTypeSlugExistRequest();
|
|
4599
|
+
m = Object.assign(m, proto);
|
|
4600
|
+
return m;
|
|
4601
|
+
}
|
|
4602
|
+
constructor(kwargs) {
|
|
4603
|
+
if (!kwargs) {
|
|
4604
|
+
return;
|
|
4605
|
+
}
|
|
4606
|
+
Object.assign(this, kwargs);
|
|
4607
|
+
}
|
|
4608
|
+
toApiJson() {
|
|
4609
|
+
const toReturn = {};
|
|
4610
|
+
if (typeof this.calendarId !== 'undefined') {
|
|
4611
|
+
toReturn['calendarId'] = this.calendarId;
|
|
4612
|
+
}
|
|
4613
|
+
if (typeof this.slugIdentifier !== 'undefined') {
|
|
4614
|
+
toReturn['slugIdentifier'] = this.slugIdentifier;
|
|
4615
|
+
}
|
|
4616
|
+
return toReturn;
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
class CheckEventTypeSlugExistResponse {
|
|
4620
|
+
static fromProto(proto) {
|
|
4621
|
+
let m = new CheckEventTypeSlugExistResponse();
|
|
4622
|
+
m = Object.assign(m, proto);
|
|
4623
|
+
return m;
|
|
4624
|
+
}
|
|
4625
|
+
constructor(kwargs) {
|
|
4626
|
+
if (!kwargs) {
|
|
4627
|
+
return;
|
|
4628
|
+
}
|
|
4629
|
+
Object.assign(this, kwargs);
|
|
4630
|
+
}
|
|
4631
|
+
toApiJson() {
|
|
4632
|
+
const toReturn = {};
|
|
4633
|
+
if (typeof this.exists !== 'undefined') {
|
|
4634
|
+
toReturn['exists'] = this.exists;
|
|
4635
|
+
}
|
|
4636
|
+
return toReturn;
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4559
4639
|
class CheckGroupOrServiceSlugExistRequest {
|
|
4560
4640
|
static fromProto(proto) {
|
|
4561
4641
|
let m = new CheckGroupOrServiceSlugExistRequest();
|
|
@@ -5391,7 +5471,7 @@ class HostBookMeetingRequest {
|
|
|
5391
5471
|
let m = new HostBookMeetingRequest();
|
|
5392
5472
|
m = Object.assign(m, proto);
|
|
5393
5473
|
if (proto.meetingSource) {
|
|
5394
|
-
m.meetingSource = enumStringToValue$
|
|
5474
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
5395
5475
|
}
|
|
5396
5476
|
if (proto.timeSlot) {
|
|
5397
5477
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -5400,7 +5480,7 @@ class HostBookMeetingRequest {
|
|
|
5400
5480
|
m.attendees = proto.attendees.map(Contact.fromProto);
|
|
5401
5481
|
}
|
|
5402
5482
|
if (proto.bookingSource) {
|
|
5403
|
-
m.bookingSource = enumStringToValue$
|
|
5483
|
+
m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
|
|
5404
5484
|
}
|
|
5405
5485
|
return m;
|
|
5406
5486
|
}
|
|
@@ -5464,7 +5544,7 @@ class HostBookSessionRequest {
|
|
|
5464
5544
|
let m = new HostBookSessionRequest();
|
|
5465
5545
|
m = Object.assign(m, proto);
|
|
5466
5546
|
if (proto.locationType) {
|
|
5467
|
-
m.locationType = enumStringToValue$
|
|
5547
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
5468
5548
|
}
|
|
5469
5549
|
if (proto.maxAttendees) {
|
|
5470
5550
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -5852,7 +5932,7 @@ class IsHostConfiguredResponse {
|
|
|
5852
5932
|
let m = new IsHostConfiguredResponse();
|
|
5853
5933
|
m = Object.assign(m, proto);
|
|
5854
5934
|
if (proto.onBoardingState) {
|
|
5855
|
-
m.onBoardingState = enumStringToValue$
|
|
5935
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
5856
5936
|
}
|
|
5857
5937
|
return m;
|
|
5858
5938
|
}
|
|
@@ -6293,7 +6373,7 @@ class Meeting {
|
|
|
6293
6373
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
6294
6374
|
}
|
|
6295
6375
|
if (proto.meetingType) {
|
|
6296
|
-
m.meetingType = enumStringToValue$
|
|
6376
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
6297
6377
|
}
|
|
6298
6378
|
if (proto.maxAttendeeCount) {
|
|
6299
6379
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -6457,19 +6537,19 @@ class RecurrenceConfig {
|
|
|
6457
6537
|
let m = new RecurrenceConfig();
|
|
6458
6538
|
m = Object.assign(m, proto);
|
|
6459
6539
|
if (proto.recurrence) {
|
|
6460
|
-
m.recurrence = enumStringToValue$
|
|
6540
|
+
m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
|
|
6461
6541
|
}
|
|
6462
6542
|
if (proto.startTime) {
|
|
6463
6543
|
m.startTime = new Date(proto.startTime);
|
|
6464
6544
|
}
|
|
6465
6545
|
if (proto.repeatOnDays) {
|
|
6466
|
-
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$
|
|
6546
|
+
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
|
|
6467
6547
|
}
|
|
6468
6548
|
if (proto.recurrenceEnd) {
|
|
6469
6549
|
m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
|
|
6470
6550
|
}
|
|
6471
6551
|
if (proto.registrationMode) {
|
|
6472
|
-
m.registrationMode = enumStringToValue$
|
|
6552
|
+
m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
|
|
6473
6553
|
}
|
|
6474
6554
|
return m;
|
|
6475
6555
|
}
|
|
@@ -6594,7 +6674,7 @@ class SessionAttendees {
|
|
|
6594
6674
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
6595
6675
|
}
|
|
6596
6676
|
if (proto.bookingFailureReason) {
|
|
6597
|
-
m.bookingFailureReason = enumStringToValue$
|
|
6677
|
+
m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
|
|
6598
6678
|
}
|
|
6599
6679
|
return m;
|
|
6600
6680
|
}
|
|
@@ -6644,7 +6724,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
6644
6724
|
let m = new SetGeneralAvailabilityRequest();
|
|
6645
6725
|
m = Object.assign(m, proto);
|
|
6646
6726
|
if (proto.days) {
|
|
6647
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
6727
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
6648
6728
|
}
|
|
6649
6729
|
if (proto.timeSlot) {
|
|
6650
6730
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -6691,7 +6771,7 @@ class TimeSlotsByWeekDay {
|
|
|
6691
6771
|
let m = new TimeSlotsByWeekDay();
|
|
6692
6772
|
m = Object.assign(m, proto);
|
|
6693
6773
|
if (proto.day) {
|
|
6694
|
-
m.day = enumStringToValue$
|
|
6774
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
6695
6775
|
}
|
|
6696
6776
|
if (proto.timeSlot) {
|
|
6697
6777
|
m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
|
|
@@ -6932,7 +7012,7 @@ class WeekdayAvailability {
|
|
|
6932
7012
|
let m = new WeekdayAvailability();
|
|
6933
7013
|
m = Object.assign(m, proto);
|
|
6934
7014
|
if (proto.day) {
|
|
6935
|
-
m.day = enumStringToValue$
|
|
7015
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
6936
7016
|
}
|
|
6937
7017
|
if (proto.timeSlots) {
|
|
6938
7018
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -6957,7 +7037,7 @@ class WeekdayAvailability {
|
|
|
6957
7037
|
}
|
|
6958
7038
|
}
|
|
6959
7039
|
|
|
6960
|
-
function enumStringToValue(enumRef, value) {
|
|
7040
|
+
function enumStringToValue$2(enumRef, value) {
|
|
6961
7041
|
if (typeof value === 'number') {
|
|
6962
7042
|
return value;
|
|
6963
7043
|
}
|
|
@@ -7007,6 +7087,119 @@ class MCPOptions {
|
|
|
7007
7087
|
}
|
|
7008
7088
|
}
|
|
7009
7089
|
|
|
7090
|
+
function enumStringToValue$1(enumRef, value) {
|
|
7091
|
+
if (typeof value === 'number') {
|
|
7092
|
+
return value;
|
|
7093
|
+
}
|
|
7094
|
+
return enumRef[value];
|
|
7095
|
+
}
|
|
7096
|
+
class TimeOfDay {
|
|
7097
|
+
static fromProto(proto) {
|
|
7098
|
+
let m = new TimeOfDay();
|
|
7099
|
+
m = Object.assign(m, proto);
|
|
7100
|
+
return m;
|
|
7101
|
+
}
|
|
7102
|
+
constructor(kwargs) {
|
|
7103
|
+
if (!kwargs) {
|
|
7104
|
+
return;
|
|
7105
|
+
}
|
|
7106
|
+
Object.assign(this, kwargs);
|
|
7107
|
+
}
|
|
7108
|
+
toApiJson() {
|
|
7109
|
+
const toReturn = {};
|
|
7110
|
+
if (typeof this.hours !== 'undefined') {
|
|
7111
|
+
toReturn['hours'] = this.hours;
|
|
7112
|
+
}
|
|
7113
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7114
|
+
toReturn['minutes'] = this.minutes;
|
|
7115
|
+
}
|
|
7116
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7117
|
+
toReturn['seconds'] = this.seconds;
|
|
7118
|
+
}
|
|
7119
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7120
|
+
toReturn['nanos'] = this.nanos;
|
|
7121
|
+
}
|
|
7122
|
+
return toReturn;
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
|
|
7126
|
+
function enumStringToValue(enumRef, value) {
|
|
7127
|
+
if (typeof value === 'number') {
|
|
7128
|
+
return value;
|
|
7129
|
+
}
|
|
7130
|
+
return enumRef[value];
|
|
7131
|
+
}
|
|
7132
|
+
class DateTime {
|
|
7133
|
+
static fromProto(proto) {
|
|
7134
|
+
let m = new DateTime();
|
|
7135
|
+
m = Object.assign(m, proto);
|
|
7136
|
+
if (proto.timeZone) {
|
|
7137
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
7138
|
+
}
|
|
7139
|
+
return m;
|
|
7140
|
+
}
|
|
7141
|
+
constructor(kwargs) {
|
|
7142
|
+
if (!kwargs) {
|
|
7143
|
+
return;
|
|
7144
|
+
}
|
|
7145
|
+
Object.assign(this, kwargs);
|
|
7146
|
+
}
|
|
7147
|
+
toApiJson() {
|
|
7148
|
+
const toReturn = {};
|
|
7149
|
+
if (typeof this.year !== 'undefined') {
|
|
7150
|
+
toReturn['year'] = this.year;
|
|
7151
|
+
}
|
|
7152
|
+
if (typeof this.month !== 'undefined') {
|
|
7153
|
+
toReturn['month'] = this.month;
|
|
7154
|
+
}
|
|
7155
|
+
if (typeof this.day !== 'undefined') {
|
|
7156
|
+
toReturn['day'] = this.day;
|
|
7157
|
+
}
|
|
7158
|
+
if (typeof this.hours !== 'undefined') {
|
|
7159
|
+
toReturn['hours'] = this.hours;
|
|
7160
|
+
}
|
|
7161
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7162
|
+
toReturn['minutes'] = this.minutes;
|
|
7163
|
+
}
|
|
7164
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7165
|
+
toReturn['seconds'] = this.seconds;
|
|
7166
|
+
}
|
|
7167
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7168
|
+
toReturn['nanos'] = this.nanos;
|
|
7169
|
+
}
|
|
7170
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
7171
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
7172
|
+
}
|
|
7173
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
7174
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
7175
|
+
}
|
|
7176
|
+
return toReturn;
|
|
7177
|
+
}
|
|
7178
|
+
}
|
|
7179
|
+
class TimeZone {
|
|
7180
|
+
static fromProto(proto) {
|
|
7181
|
+
let m = new TimeZone();
|
|
7182
|
+
m = Object.assign(m, proto);
|
|
7183
|
+
return m;
|
|
7184
|
+
}
|
|
7185
|
+
constructor(kwargs) {
|
|
7186
|
+
if (!kwargs) {
|
|
7187
|
+
return;
|
|
7188
|
+
}
|
|
7189
|
+
Object.assign(this, kwargs);
|
|
7190
|
+
}
|
|
7191
|
+
toApiJson() {
|
|
7192
|
+
const toReturn = {};
|
|
7193
|
+
if (typeof this.id !== 'undefined') {
|
|
7194
|
+
toReturn['id'] = this.id;
|
|
7195
|
+
}
|
|
7196
|
+
if (typeof this.version !== 'undefined') {
|
|
7197
|
+
toReturn['version'] = this.version;
|
|
7198
|
+
}
|
|
7199
|
+
return toReturn;
|
|
7200
|
+
}
|
|
7201
|
+
}
|
|
7202
|
+
|
|
7010
7203
|
// *********************************
|
|
7011
7204
|
|
|
7012
7205
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -7034,9 +7227,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
7034
7227
|
|
|
7035
7228
|
// *********************************
|
|
7036
7229
|
class MeetingSourceAPIApiService {
|
|
7037
|
-
constructor(
|
|
7038
|
-
this.
|
|
7039
|
-
this.
|
|
7230
|
+
constructor() {
|
|
7231
|
+
this.hostService = inject(HostService$1);
|
|
7232
|
+
this.http = inject(HttpClient);
|
|
7040
7233
|
this._host = this.hostService.hostWithScheme;
|
|
7041
7234
|
}
|
|
7042
7235
|
apiOptions() {
|
|
@@ -7053,18 +7246,18 @@ class MeetingSourceAPIApiService {
|
|
|
7053
7246
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
7054
7247
|
}
|
|
7055
7248
|
}
|
|
7056
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
7249
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7057
7250
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
7058
7251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
7059
7252
|
type: Injectable,
|
|
7060
7253
|
args: [{ providedIn: 'root' }]
|
|
7061
|
-
}]
|
|
7254
|
+
}] });
|
|
7062
7255
|
|
|
7063
7256
|
// *********************************
|
|
7064
7257
|
class ZoomApiService {
|
|
7065
|
-
constructor(
|
|
7066
|
-
this.
|
|
7067
|
-
this.
|
|
7258
|
+
constructor() {
|
|
7259
|
+
this.hostService = inject(HostService$1);
|
|
7260
|
+
this.http = inject(HttpClient);
|
|
7068
7261
|
this._host = this.hostService.hostWithScheme;
|
|
7069
7262
|
}
|
|
7070
7263
|
apiOptions() {
|
|
@@ -7081,18 +7274,18 @@ class ZoomApiService {
|
|
|
7081
7274
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
7082
7275
|
}
|
|
7083
7276
|
}
|
|
7084
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
7277
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7085
7278
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
7086
7279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
7087
7280
|
type: Injectable,
|
|
7088
7281
|
args: [{ providedIn: 'root' }]
|
|
7089
|
-
}]
|
|
7282
|
+
}] });
|
|
7090
7283
|
|
|
7091
7284
|
// *********************************
|
|
7092
7285
|
class GoogleMeetApiService {
|
|
7093
|
-
constructor(
|
|
7094
|
-
this.
|
|
7095
|
-
this.
|
|
7286
|
+
constructor() {
|
|
7287
|
+
this.hostService = inject(HostService$1);
|
|
7288
|
+
this.http = inject(HttpClient);
|
|
7096
7289
|
this._host = this.hostService.hostWithScheme;
|
|
7097
7290
|
}
|
|
7098
7291
|
apiOptions() {
|
|
@@ -7114,12 +7307,12 @@ class GoogleMeetApiService {
|
|
|
7114
7307
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
7115
7308
|
}
|
|
7116
7309
|
}
|
|
7117
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
7310
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7118
7311
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
7119
7312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
7120
7313
|
type: Injectable,
|
|
7121
7314
|
args: [{ providedIn: 'root' }]
|
|
7122
|
-
}]
|
|
7315
|
+
}] });
|
|
7123
7316
|
|
|
7124
7317
|
function generateMeetingPassword() {
|
|
7125
7318
|
const zoomMaxLength = 10;
|
|
@@ -7281,9 +7474,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
7281
7474
|
|
|
7282
7475
|
// *********************************
|
|
7283
7476
|
class MeetingExternalApiService {
|
|
7284
|
-
constructor(
|
|
7285
|
-
this.
|
|
7286
|
-
this.
|
|
7477
|
+
constructor() {
|
|
7478
|
+
this.hostService = inject(HostService$1);
|
|
7479
|
+
this.http = inject(HttpClient);
|
|
7287
7480
|
this._host = this.hostService.hostWithScheme;
|
|
7288
7481
|
}
|
|
7289
7482
|
apiOptions() {
|
|
@@ -7328,19 +7521,29 @@ class MeetingExternalApiService {
|
|
|
7328
7521
|
const request = (r.toApiJson) ? r : new ExternalCancelMeetingRequest(r);
|
|
7329
7522
|
return this.http.post(this._host + "/meetings.v1.MeetingExternal/CancelMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
7330
7523
|
}
|
|
7524
|
+
listTeamEventTypes(r) {
|
|
7525
|
+
const request = (r.toApiJson) ? r : new ListTeamEventTypesRequest(r);
|
|
7526
|
+
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListTeamEventTypes", request.toApiJson(), this.apiOptions())
|
|
7527
|
+
.pipe(map(resp => ListTeamEventTypesResponse.fromProto(resp)));
|
|
7528
|
+
}
|
|
7529
|
+
listUserEventTypes(r) {
|
|
7530
|
+
const request = (r.toApiJson) ? r : new ListUserEventTypesRequest(r);
|
|
7531
|
+
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListUserEventTypes", request.toApiJson(), this.apiOptions())
|
|
7532
|
+
.pipe(map(resp => ListUserEventTypesResponse.fromProto(resp)));
|
|
7533
|
+
}
|
|
7331
7534
|
}
|
|
7332
|
-
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [
|
|
7535
|
+
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7333
7536
|
MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
|
|
7334
7537
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
|
|
7335
7538
|
type: Injectable,
|
|
7336
7539
|
args: [{ providedIn: 'root' }]
|
|
7337
|
-
}]
|
|
7540
|
+
}] });
|
|
7338
7541
|
|
|
7339
7542
|
// *********************************
|
|
7340
7543
|
class MeetingGuestApiService {
|
|
7341
|
-
constructor(
|
|
7342
|
-
this.
|
|
7343
|
-
this.
|
|
7544
|
+
constructor() {
|
|
7545
|
+
this.hostService = inject(HostService$1);
|
|
7546
|
+
this.http = inject(HttpClient);
|
|
7344
7547
|
this._host = this.hostService.hostWithScheme;
|
|
7345
7548
|
}
|
|
7346
7549
|
apiOptions() {
|
|
@@ -7443,18 +7646,18 @@ class MeetingGuestApiService {
|
|
|
7443
7646
|
.pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
|
|
7444
7647
|
}
|
|
7445
7648
|
}
|
|
7446
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
7649
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7447
7650
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
7448
7651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
7449
7652
|
type: Injectable,
|
|
7450
7653
|
args: [{ providedIn: 'root' }]
|
|
7451
|
-
}]
|
|
7654
|
+
}] });
|
|
7452
7655
|
|
|
7453
7656
|
// *********************************
|
|
7454
7657
|
class MeetingHostApiService {
|
|
7455
|
-
constructor(
|
|
7456
|
-
this.
|
|
7457
|
-
this.
|
|
7658
|
+
constructor() {
|
|
7659
|
+
this.hostService = inject(HostService$1);
|
|
7660
|
+
this.http = inject(HttpClient);
|
|
7458
7661
|
this._host = this.hostService.hostWithScheme;
|
|
7459
7662
|
}
|
|
7460
7663
|
apiOptions() {
|
|
@@ -7668,6 +7871,11 @@ class MeetingHostApiService {
|
|
|
7668
7871
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CheckGroupOrServiceSlugExist", request.toApiJson(), this.apiOptions())
|
|
7669
7872
|
.pipe(map(resp => CheckGroupOrServiceSlugExistResponse.fromProto(resp)));
|
|
7670
7873
|
}
|
|
7874
|
+
checkEventTypeSlugExist(r) {
|
|
7875
|
+
const request = (r.toApiJson) ? r : new CheckEventTypeSlugExistRequest(r);
|
|
7876
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/CheckEventTypeSlugExist", request.toApiJson(), this.apiOptions())
|
|
7877
|
+
.pipe(map(resp => CheckEventTypeSlugExistResponse.fromProto(resp)));
|
|
7878
|
+
}
|
|
7671
7879
|
hostBookMeeting(r) {
|
|
7672
7880
|
const request = (r.toApiJson) ? r : new BookMeetingRequest(r);
|
|
7673
7881
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostBookMeeting", request.toApiJson(), this.apiOptions())
|
|
@@ -7711,12 +7919,12 @@ class MeetingHostApiService {
|
|
|
7711
7919
|
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
7712
7920
|
}
|
|
7713
7921
|
}
|
|
7714
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
7922
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7715
7923
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
7716
7924
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
7717
7925
|
type: Injectable,
|
|
7718
7926
|
args: [{ providedIn: 'root' }]
|
|
7719
|
-
}]
|
|
7927
|
+
}] });
|
|
7720
7928
|
|
|
7721
7929
|
// *********************************
|
|
7722
7930
|
|
|
@@ -8855,6 +9063,11 @@ class HostService {
|
|
|
8855
9063
|
.checkGroupOrServiceSlugExist(req)
|
|
8856
9064
|
.pipe(map((res) => res.exists));
|
|
8857
9065
|
}
|
|
9066
|
+
checkEventTypeSlugExist(req) {
|
|
9067
|
+
return this.hostAPIService
|
|
9068
|
+
.checkEventTypeSlugExist(req)
|
|
9069
|
+
.pipe(map((res) => res.exists));
|
|
9070
|
+
}
|
|
8858
9071
|
getEntityAssociations(req) {
|
|
8859
9072
|
return this.hostAPIService.getEntityAssociations(req);
|
|
8860
9073
|
}
|