@vendasta/meetings 1.5.6 → 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 +13 -9
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-external.mjs +64 -60
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/fesm2015/vendasta-meetings.mjs +256 -245
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +256 -245
- 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 +1 -1
- package/lib/_internal/interfaces/meeting-external.interface.d.ts +16 -23
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-external.api.service.d.ts +6 -7
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
- package/lib/_internal/meeting-host.api.service.d.ts +3 -5
- package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/meeting-external.d.ts +22 -23
- package/lib/_internal/objects/meeting-guest.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +1 -1
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- 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;
|
|
@@ -3869,7 +3749,7 @@ class EventType {
|
|
|
3869
3749
|
let m = new EventType();
|
|
3870
3750
|
m = Object.assign(m, proto);
|
|
3871
3751
|
if (proto.locationType) {
|
|
3872
|
-
m.locationType = enumStringToValue$
|
|
3752
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
3873
3753
|
}
|
|
3874
3754
|
if (proto.hostUsers) {
|
|
3875
3755
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -3878,7 +3758,7 @@ class EventType {
|
|
|
3878
3758
|
m.bookingWindow = EventTypeDateRange.fromProto(proto.bookingWindow);
|
|
3879
3759
|
}
|
|
3880
3760
|
if (proto.meetingType) {
|
|
3881
|
-
m.meetingType = enumStringToValue$
|
|
3761
|
+
m.meetingType = enumStringToValue$5(TeamEventMeetingType, proto.meetingType);
|
|
3882
3762
|
}
|
|
3883
3763
|
if (proto.hostOrderDetails) {
|
|
3884
3764
|
m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
|
|
@@ -3958,11 +3838,8 @@ class ExternalCancelMeetingRequest {
|
|
|
3958
3838
|
}
|
|
3959
3839
|
toApiJson() {
|
|
3960
3840
|
const toReturn = {};
|
|
3961
|
-
if (typeof this.
|
|
3962
|
-
toReturn['
|
|
3963
|
-
}
|
|
3964
|
-
if (typeof this.businessId !== 'undefined') {
|
|
3965
|
-
toReturn['businessId'] = this.businessId;
|
|
3841
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3842
|
+
toReturn['namespace'] = this.namespace;
|
|
3966
3843
|
}
|
|
3967
3844
|
if (typeof this.meetingId !== 'undefined') {
|
|
3968
3845
|
toReturn['meetingId'] = this.meetingId;
|
|
@@ -3993,14 +3870,8 @@ class ExternalRescheduleMeetingRequest {
|
|
|
3993
3870
|
}
|
|
3994
3871
|
toApiJson() {
|
|
3995
3872
|
const toReturn = {};
|
|
3996
|
-
if (typeof this.
|
|
3997
|
-
toReturn['
|
|
3998
|
-
}
|
|
3999
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4000
|
-
toReturn['businessId'] = this.businessId;
|
|
4001
|
-
}
|
|
4002
|
-
if (typeof this.userId !== 'undefined') {
|
|
4003
|
-
toReturn['userId'] = this.userId;
|
|
3873
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3874
|
+
toReturn['namespace'] = this.namespace;
|
|
4004
3875
|
}
|
|
4005
3876
|
if (typeof this.meetingId !== 'undefined') {
|
|
4006
3877
|
toReturn['meetingId'] = this.meetingId;
|
|
@@ -4093,14 +3964,8 @@ class GetUsersRequest {
|
|
|
4093
3964
|
}
|
|
4094
3965
|
toApiJson() {
|
|
4095
3966
|
const toReturn = {};
|
|
4096
|
-
if (typeof this.
|
|
4097
|
-
toReturn['
|
|
4098
|
-
}
|
|
4099
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4100
|
-
toReturn['businessId'] = this.businessId;
|
|
4101
|
-
}
|
|
4102
|
-
if (typeof this.userId !== 'undefined') {
|
|
4103
|
-
toReturn['userId'] = this.userId;
|
|
3967
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3968
|
+
toReturn['namespace'] = this.namespace;
|
|
4104
3969
|
}
|
|
4105
3970
|
if (typeof this.pagedRequestOptions !== 'undefined' && this.pagedRequestOptions !== null) {
|
|
4106
3971
|
toReturn['pagedRequestOptions'] = 'toApiJson' in this.pagedRequestOptions ? this.pagedRequestOptions.toApiJson() : this.pagedRequestOptions;
|
|
@@ -4183,14 +4048,8 @@ class GroupsRequest {
|
|
|
4183
4048
|
}
|
|
4184
4049
|
toApiJson() {
|
|
4185
4050
|
const toReturn = {};
|
|
4186
|
-
if (typeof this.
|
|
4187
|
-
toReturn['
|
|
4188
|
-
}
|
|
4189
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4190
|
-
toReturn['businessId'] = this.businessId;
|
|
4191
|
-
}
|
|
4192
|
-
if (typeof this.userId !== 'undefined') {
|
|
4193
|
-
toReturn['userId'] = this.userId;
|
|
4051
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4052
|
+
toReturn['namespace'] = this.namespace;
|
|
4194
4053
|
}
|
|
4195
4054
|
return toReturn;
|
|
4196
4055
|
}
|
|
@@ -4258,14 +4117,8 @@ class ListTeamEventTypesRequest {
|
|
|
4258
4117
|
}
|
|
4259
4118
|
toApiJson() {
|
|
4260
4119
|
const toReturn = {};
|
|
4261
|
-
if (typeof this.
|
|
4262
|
-
toReturn['
|
|
4263
|
-
}
|
|
4264
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4265
|
-
toReturn['businessId'] = this.businessId;
|
|
4266
|
-
}
|
|
4267
|
-
if (typeof this.ownerId !== 'undefined') {
|
|
4268
|
-
toReturn['ownerId'] = this.ownerId;
|
|
4120
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4121
|
+
toReturn['namespace'] = this.namespace;
|
|
4269
4122
|
}
|
|
4270
4123
|
if (typeof this.cursor !== 'undefined') {
|
|
4271
4124
|
toReturn['cursor'] = this.cursor;
|
|
@@ -4305,6 +4158,52 @@ class ListTeamEventTypesResponse {
|
|
|
4305
4158
|
return toReturn;
|
|
4306
4159
|
}
|
|
4307
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
|
+
}
|
|
4308
4207
|
class ServiceResponse {
|
|
4309
4208
|
static fromProto(proto) {
|
|
4310
4209
|
let m = new ServiceResponse();
|
|
@@ -4351,14 +4250,8 @@ class ServicesRequest {
|
|
|
4351
4250
|
}
|
|
4352
4251
|
toApiJson() {
|
|
4353
4252
|
const toReturn = {};
|
|
4354
|
-
if (typeof this.
|
|
4355
|
-
toReturn['
|
|
4356
|
-
}
|
|
4357
|
-
if (typeof this.businessId !== 'undefined') {
|
|
4358
|
-
toReturn['businessId'] = this.businessId;
|
|
4359
|
-
}
|
|
4360
|
-
if (typeof this.userId !== 'undefined') {
|
|
4361
|
-
toReturn['userId'] = this.userId;
|
|
4253
|
+
if (typeof this.namespace !== 'undefined') {
|
|
4254
|
+
toReturn['namespace'] = this.namespace;
|
|
4362
4255
|
}
|
|
4363
4256
|
return toReturn;
|
|
4364
4257
|
}
|
|
@@ -4413,7 +4306,7 @@ class UserResponse {
|
|
|
4413
4306
|
}
|
|
4414
4307
|
}
|
|
4415
4308
|
|
|
4416
|
-
function enumStringToValue$
|
|
4309
|
+
function enumStringToValue$4(enumRef, value) {
|
|
4417
4310
|
if (typeof value === 'number') {
|
|
4418
4311
|
return value;
|
|
4419
4312
|
}
|
|
@@ -4440,7 +4333,7 @@ class FieldMask {
|
|
|
4440
4333
|
}
|
|
4441
4334
|
}
|
|
4442
4335
|
|
|
4443
|
-
function enumStringToValue$
|
|
4336
|
+
function enumStringToValue$3(enumRef, value) {
|
|
4444
4337
|
if (typeof value === 'number') {
|
|
4445
4338
|
return value;
|
|
4446
4339
|
}
|
|
@@ -4520,7 +4413,7 @@ class AvailabilityRule {
|
|
|
4520
4413
|
let m = new AvailabilityRule();
|
|
4521
4414
|
m = Object.assign(m, proto);
|
|
4522
4415
|
if (proto.day) {
|
|
4523
|
-
m.day = enumStringToValue$
|
|
4416
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4524
4417
|
}
|
|
4525
4418
|
if (proto.timeSlot) {
|
|
4526
4419
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -5578,7 +5471,7 @@ class HostBookMeetingRequest {
|
|
|
5578
5471
|
let m = new HostBookMeetingRequest();
|
|
5579
5472
|
m = Object.assign(m, proto);
|
|
5580
5473
|
if (proto.meetingSource) {
|
|
5581
|
-
m.meetingSource = enumStringToValue$
|
|
5474
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
5582
5475
|
}
|
|
5583
5476
|
if (proto.timeSlot) {
|
|
5584
5477
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -5587,7 +5480,7 @@ class HostBookMeetingRequest {
|
|
|
5587
5480
|
m.attendees = proto.attendees.map(Contact.fromProto);
|
|
5588
5481
|
}
|
|
5589
5482
|
if (proto.bookingSource) {
|
|
5590
|
-
m.bookingSource = enumStringToValue$
|
|
5483
|
+
m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
|
|
5591
5484
|
}
|
|
5592
5485
|
return m;
|
|
5593
5486
|
}
|
|
@@ -5651,7 +5544,7 @@ class HostBookSessionRequest {
|
|
|
5651
5544
|
let m = new HostBookSessionRequest();
|
|
5652
5545
|
m = Object.assign(m, proto);
|
|
5653
5546
|
if (proto.locationType) {
|
|
5654
|
-
m.locationType = enumStringToValue$
|
|
5547
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
5655
5548
|
}
|
|
5656
5549
|
if (proto.maxAttendees) {
|
|
5657
5550
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -6039,7 +5932,7 @@ class IsHostConfiguredResponse {
|
|
|
6039
5932
|
let m = new IsHostConfiguredResponse();
|
|
6040
5933
|
m = Object.assign(m, proto);
|
|
6041
5934
|
if (proto.onBoardingState) {
|
|
6042
|
-
m.onBoardingState = enumStringToValue$
|
|
5935
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
6043
5936
|
}
|
|
6044
5937
|
return m;
|
|
6045
5938
|
}
|
|
@@ -6480,7 +6373,7 @@ class Meeting {
|
|
|
6480
6373
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
6481
6374
|
}
|
|
6482
6375
|
if (proto.meetingType) {
|
|
6483
|
-
m.meetingType = enumStringToValue$
|
|
6376
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
6484
6377
|
}
|
|
6485
6378
|
if (proto.maxAttendeeCount) {
|
|
6486
6379
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -6644,19 +6537,19 @@ class RecurrenceConfig {
|
|
|
6644
6537
|
let m = new RecurrenceConfig();
|
|
6645
6538
|
m = Object.assign(m, proto);
|
|
6646
6539
|
if (proto.recurrence) {
|
|
6647
|
-
m.recurrence = enumStringToValue$
|
|
6540
|
+
m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
|
|
6648
6541
|
}
|
|
6649
6542
|
if (proto.startTime) {
|
|
6650
6543
|
m.startTime = new Date(proto.startTime);
|
|
6651
6544
|
}
|
|
6652
6545
|
if (proto.repeatOnDays) {
|
|
6653
|
-
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$
|
|
6546
|
+
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
|
|
6654
6547
|
}
|
|
6655
6548
|
if (proto.recurrenceEnd) {
|
|
6656
6549
|
m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
|
|
6657
6550
|
}
|
|
6658
6551
|
if (proto.registrationMode) {
|
|
6659
|
-
m.registrationMode = enumStringToValue$
|
|
6552
|
+
m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
|
|
6660
6553
|
}
|
|
6661
6554
|
return m;
|
|
6662
6555
|
}
|
|
@@ -6781,7 +6674,7 @@ class SessionAttendees {
|
|
|
6781
6674
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
6782
6675
|
}
|
|
6783
6676
|
if (proto.bookingFailureReason) {
|
|
6784
|
-
m.bookingFailureReason = enumStringToValue$
|
|
6677
|
+
m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
|
|
6785
6678
|
}
|
|
6786
6679
|
return m;
|
|
6787
6680
|
}
|
|
@@ -6831,7 +6724,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
6831
6724
|
let m = new SetGeneralAvailabilityRequest();
|
|
6832
6725
|
m = Object.assign(m, proto);
|
|
6833
6726
|
if (proto.days) {
|
|
6834
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
6727
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
6835
6728
|
}
|
|
6836
6729
|
if (proto.timeSlot) {
|
|
6837
6730
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -6878,7 +6771,7 @@ class TimeSlotsByWeekDay {
|
|
|
6878
6771
|
let m = new TimeSlotsByWeekDay();
|
|
6879
6772
|
m = Object.assign(m, proto);
|
|
6880
6773
|
if (proto.day) {
|
|
6881
|
-
m.day = enumStringToValue$
|
|
6774
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
6882
6775
|
}
|
|
6883
6776
|
if (proto.timeSlot) {
|
|
6884
6777
|
m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
|
|
@@ -7119,7 +7012,7 @@ class WeekdayAvailability {
|
|
|
7119
7012
|
let m = new WeekdayAvailability();
|
|
7120
7013
|
m = Object.assign(m, proto);
|
|
7121
7014
|
if (proto.day) {
|
|
7122
|
-
m.day = enumStringToValue$
|
|
7015
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
7123
7016
|
}
|
|
7124
7017
|
if (proto.timeSlots) {
|
|
7125
7018
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -7144,7 +7037,7 @@ class WeekdayAvailability {
|
|
|
7144
7037
|
}
|
|
7145
7038
|
}
|
|
7146
7039
|
|
|
7147
|
-
function enumStringToValue(enumRef, value) {
|
|
7040
|
+
function enumStringToValue$2(enumRef, value) {
|
|
7148
7041
|
if (typeof value === 'number') {
|
|
7149
7042
|
return value;
|
|
7150
7043
|
}
|
|
@@ -7194,6 +7087,119 @@ class MCPOptions {
|
|
|
7194
7087
|
}
|
|
7195
7088
|
}
|
|
7196
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
|
+
|
|
7197
7203
|
// *********************************
|
|
7198
7204
|
|
|
7199
7205
|
var _a;
|
|
@@ -7222,9 +7228,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
7222
7228
|
|
|
7223
7229
|
// *********************************
|
|
7224
7230
|
class MeetingSourceAPIApiService {
|
|
7225
|
-
constructor(
|
|
7226
|
-
this.
|
|
7227
|
-
this.
|
|
7231
|
+
constructor() {
|
|
7232
|
+
this.hostService = inject(HostService$1);
|
|
7233
|
+
this.http = inject(HttpClient);
|
|
7228
7234
|
this._host = this.hostService.hostWithScheme;
|
|
7229
7235
|
}
|
|
7230
7236
|
apiOptions() {
|
|
@@ -7241,18 +7247,18 @@ class MeetingSourceAPIApiService {
|
|
|
7241
7247
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
7242
7248
|
}
|
|
7243
7249
|
}
|
|
7244
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
7250
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7245
7251
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
7246
7252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
7247
7253
|
type: Injectable,
|
|
7248
7254
|
args: [{ providedIn: 'root' }]
|
|
7249
|
-
}]
|
|
7255
|
+
}] });
|
|
7250
7256
|
|
|
7251
7257
|
// *********************************
|
|
7252
7258
|
class ZoomApiService {
|
|
7253
|
-
constructor(
|
|
7254
|
-
this.
|
|
7255
|
-
this.
|
|
7259
|
+
constructor() {
|
|
7260
|
+
this.hostService = inject(HostService$1);
|
|
7261
|
+
this.http = inject(HttpClient);
|
|
7256
7262
|
this._host = this.hostService.hostWithScheme;
|
|
7257
7263
|
}
|
|
7258
7264
|
apiOptions() {
|
|
@@ -7269,18 +7275,18 @@ class ZoomApiService {
|
|
|
7269
7275
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
7270
7276
|
}
|
|
7271
7277
|
}
|
|
7272
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
7278
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7273
7279
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
7274
7280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
7275
7281
|
type: Injectable,
|
|
7276
7282
|
args: [{ providedIn: 'root' }]
|
|
7277
|
-
}]
|
|
7283
|
+
}] });
|
|
7278
7284
|
|
|
7279
7285
|
// *********************************
|
|
7280
7286
|
class GoogleMeetApiService {
|
|
7281
|
-
constructor(
|
|
7282
|
-
this.
|
|
7283
|
-
this.
|
|
7287
|
+
constructor() {
|
|
7288
|
+
this.hostService = inject(HostService$1);
|
|
7289
|
+
this.http = inject(HttpClient);
|
|
7284
7290
|
this._host = this.hostService.hostWithScheme;
|
|
7285
7291
|
}
|
|
7286
7292
|
apiOptions() {
|
|
@@ -7302,12 +7308,12 @@ class GoogleMeetApiService {
|
|
|
7302
7308
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
7303
7309
|
}
|
|
7304
7310
|
}
|
|
7305
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
7311
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7306
7312
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
7307
7313
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
7308
7314
|
type: Injectable,
|
|
7309
7315
|
args: [{ providedIn: 'root' }]
|
|
7310
|
-
}]
|
|
7316
|
+
}] });
|
|
7311
7317
|
|
|
7312
7318
|
function generateMeetingPassword() {
|
|
7313
7319
|
const zoomMaxLength = 10;
|
|
@@ -7758,9 +7764,9 @@ class PagedResponse {
|
|
|
7758
7764
|
|
|
7759
7765
|
// *********************************
|
|
7760
7766
|
class MeetingExternalApiService {
|
|
7761
|
-
constructor(
|
|
7762
|
-
this.
|
|
7763
|
-
this.
|
|
7767
|
+
constructor() {
|
|
7768
|
+
this.hostService = inject(HostService$1);
|
|
7769
|
+
this.http = inject(HttpClient);
|
|
7764
7770
|
this._host = this.hostService.hostWithScheme;
|
|
7765
7771
|
}
|
|
7766
7772
|
apiOptions() {
|
|
@@ -7810,19 +7816,24 @@ class MeetingExternalApiService {
|
|
|
7810
7816
|
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListTeamEventTypes", request.toApiJson(), this.apiOptions())
|
|
7811
7817
|
.pipe(map(resp => ListTeamEventTypesResponse.fromProto(resp)));
|
|
7812
7818
|
}
|
|
7819
|
+
listUserEventTypes(r) {
|
|
7820
|
+
const request = (r.toApiJson) ? r : new ListUserEventTypesRequest(r);
|
|
7821
|
+
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListUserEventTypes", request.toApiJson(), this.apiOptions())
|
|
7822
|
+
.pipe(map(resp => ListUserEventTypesResponse.fromProto(resp)));
|
|
7823
|
+
}
|
|
7813
7824
|
}
|
|
7814
|
-
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [
|
|
7825
|
+
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7815
7826
|
MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
|
|
7816
7827
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
|
|
7817
7828
|
type: Injectable,
|
|
7818
7829
|
args: [{ providedIn: 'root' }]
|
|
7819
|
-
}]
|
|
7830
|
+
}] });
|
|
7820
7831
|
|
|
7821
7832
|
// *********************************
|
|
7822
7833
|
class MeetingGuestApiService {
|
|
7823
|
-
constructor(
|
|
7824
|
-
this.
|
|
7825
|
-
this.
|
|
7834
|
+
constructor() {
|
|
7835
|
+
this.hostService = inject(HostService$1);
|
|
7836
|
+
this.http = inject(HttpClient);
|
|
7826
7837
|
this._host = this.hostService.hostWithScheme;
|
|
7827
7838
|
}
|
|
7828
7839
|
apiOptions() {
|
|
@@ -7925,18 +7936,18 @@ class MeetingGuestApiService {
|
|
|
7925
7936
|
.pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
|
|
7926
7937
|
}
|
|
7927
7938
|
}
|
|
7928
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
7939
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7929
7940
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
7930
7941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
7931
7942
|
type: Injectable,
|
|
7932
7943
|
args: [{ providedIn: 'root' }]
|
|
7933
|
-
}]
|
|
7944
|
+
}] });
|
|
7934
7945
|
|
|
7935
7946
|
// *********************************
|
|
7936
7947
|
class MeetingHostApiService {
|
|
7937
|
-
constructor(
|
|
7938
|
-
this.
|
|
7939
|
-
this.
|
|
7948
|
+
constructor() {
|
|
7949
|
+
this.hostService = inject(HostService$1);
|
|
7950
|
+
this.http = inject(HttpClient);
|
|
7940
7951
|
this._host = this.hostService.hostWithScheme;
|
|
7941
7952
|
}
|
|
7942
7953
|
apiOptions() {
|
|
@@ -8198,12 +8209,12 @@ class MeetingHostApiService {
|
|
|
8198
8209
|
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
8199
8210
|
}
|
|
8200
8211
|
}
|
|
8201
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
8212
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8202
8213
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
8203
8214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
8204
8215
|
type: Injectable,
|
|
8205
8216
|
args: [{ providedIn: 'root' }]
|
|
8206
|
-
}]
|
|
8217
|
+
}] });
|
|
8207
8218
|
|
|
8208
8219
|
// *********************************
|
|
8209
8220
|
|