@vendasta/meetings 1.5.6 → 1.5.8
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 +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 +64 -60
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +99 -6
- 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 +7 -2
- package/fesm2015/vendasta-meetings.mjs +364 -250
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +364 -250
- 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 +16 -23
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +21 -3
- 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 +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 +22 -23
- package/lib/_internal/objects/meeting-guest.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +34 -7
- 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 -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;
|
|
@@ -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,15 +4333,15 @@ 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
|
}
|
|
4447
4340
|
return enumRef[value];
|
|
4448
4341
|
}
|
|
4449
|
-
class
|
|
4342
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
4450
4343
|
static fromProto(proto) {
|
|
4451
|
-
let m = new
|
|
4344
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
4452
4345
|
m = Object.assign(m, proto);
|
|
4453
4346
|
return m;
|
|
4454
4347
|
}
|
|
@@ -4492,9 +4385,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
|
4492
4385
|
return toReturn;
|
|
4493
4386
|
}
|
|
4494
4387
|
}
|
|
4495
|
-
class
|
|
4388
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
4496
4389
|
static fromProto(proto) {
|
|
4497
|
-
let m = new
|
|
4390
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
4498
4391
|
m = Object.assign(m, proto);
|
|
4499
4392
|
return m;
|
|
4500
4393
|
}
|
|
@@ -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);
|
|
@@ -5294,6 +5187,56 @@ class EnsureSessionEventCalendarsExistResponse {
|
|
|
5294
5187
|
return toReturn;
|
|
5295
5188
|
}
|
|
5296
5189
|
}
|
|
5190
|
+
class EventTypeSummary {
|
|
5191
|
+
static fromProto(proto) {
|
|
5192
|
+
let m = new EventTypeSummary();
|
|
5193
|
+
m = Object.assign(m, proto);
|
|
5194
|
+
if (proto.duration) {
|
|
5195
|
+
m.duration = parseInt(proto.duration, 10);
|
|
5196
|
+
}
|
|
5197
|
+
return m;
|
|
5198
|
+
}
|
|
5199
|
+
constructor(kwargs) {
|
|
5200
|
+
if (!kwargs) {
|
|
5201
|
+
return;
|
|
5202
|
+
}
|
|
5203
|
+
Object.assign(this, kwargs);
|
|
5204
|
+
}
|
|
5205
|
+
toApiJson() {
|
|
5206
|
+
const toReturn = {};
|
|
5207
|
+
if (typeof this.id !== 'undefined') {
|
|
5208
|
+
toReturn['id'] = this.id;
|
|
5209
|
+
}
|
|
5210
|
+
if (typeof this.name !== 'undefined') {
|
|
5211
|
+
toReturn['name'] = this.name;
|
|
5212
|
+
}
|
|
5213
|
+
if (typeof this.slug !== 'undefined') {
|
|
5214
|
+
toReturn['slug'] = this.slug;
|
|
5215
|
+
}
|
|
5216
|
+
if (typeof this.duration !== 'undefined') {
|
|
5217
|
+
toReturn['duration'] = this.duration;
|
|
5218
|
+
}
|
|
5219
|
+
if (typeof this.bookingUrl !== 'undefined') {
|
|
5220
|
+
toReturn['bookingUrl'] = this.bookingUrl;
|
|
5221
|
+
}
|
|
5222
|
+
if (typeof this.isPinned !== 'undefined') {
|
|
5223
|
+
toReturn['isPinned'] = this.isPinned;
|
|
5224
|
+
}
|
|
5225
|
+
if (typeof this.location !== 'undefined') {
|
|
5226
|
+
toReturn['location'] = this.location;
|
|
5227
|
+
}
|
|
5228
|
+
if (typeof this.category !== 'undefined') {
|
|
5229
|
+
toReturn['category'] = this.category;
|
|
5230
|
+
}
|
|
5231
|
+
if (typeof this.teamName !== 'undefined') {
|
|
5232
|
+
toReturn['teamName'] = this.teamName;
|
|
5233
|
+
}
|
|
5234
|
+
if (typeof this.calendarId !== 'undefined') {
|
|
5235
|
+
toReturn['calendarId'] = this.calendarId;
|
|
5236
|
+
}
|
|
5237
|
+
return toReturn;
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5297
5240
|
class ListBookedMeetingsRequestFilters {
|
|
5298
5241
|
static fromProto(proto) {
|
|
5299
5242
|
let m = new ListBookedMeetingsRequestFilters();
|
|
@@ -5578,7 +5521,7 @@ class HostBookMeetingRequest {
|
|
|
5578
5521
|
let m = new HostBookMeetingRequest();
|
|
5579
5522
|
m = Object.assign(m, proto);
|
|
5580
5523
|
if (proto.meetingSource) {
|
|
5581
|
-
m.meetingSource = enumStringToValue$
|
|
5524
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
5582
5525
|
}
|
|
5583
5526
|
if (proto.timeSlot) {
|
|
5584
5527
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -5587,7 +5530,7 @@ class HostBookMeetingRequest {
|
|
|
5587
5530
|
m.attendees = proto.attendees.map(Contact.fromProto);
|
|
5588
5531
|
}
|
|
5589
5532
|
if (proto.bookingSource) {
|
|
5590
|
-
m.bookingSource = enumStringToValue$
|
|
5533
|
+
m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
|
|
5591
5534
|
}
|
|
5592
5535
|
return m;
|
|
5593
5536
|
}
|
|
@@ -5651,7 +5594,7 @@ class HostBookSessionRequest {
|
|
|
5651
5594
|
let m = new HostBookSessionRequest();
|
|
5652
5595
|
m = Object.assign(m, proto);
|
|
5653
5596
|
if (proto.locationType) {
|
|
5654
|
-
m.locationType = enumStringToValue$
|
|
5597
|
+
m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
|
|
5655
5598
|
}
|
|
5656
5599
|
if (proto.maxAttendees) {
|
|
5657
5600
|
m.maxAttendees = parseInt(proto.maxAttendees, 10);
|
|
@@ -6039,7 +5982,7 @@ class IsHostConfiguredResponse {
|
|
|
6039
5982
|
let m = new IsHostConfiguredResponse();
|
|
6040
5983
|
m = Object.assign(m, proto);
|
|
6041
5984
|
if (proto.onBoardingState) {
|
|
6042
|
-
m.onBoardingState = enumStringToValue$
|
|
5985
|
+
m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
|
|
6043
5986
|
}
|
|
6044
5987
|
return m;
|
|
6045
5988
|
}
|
|
@@ -6362,6 +6305,49 @@ class ListBookedMeetingsResponse {
|
|
|
6362
6305
|
return toReturn;
|
|
6363
6306
|
}
|
|
6364
6307
|
}
|
|
6308
|
+
class ListEventTypesForMultipleCalendarsRequest {
|
|
6309
|
+
static fromProto(proto) {
|
|
6310
|
+
let m = new ListEventTypesForMultipleCalendarsRequest();
|
|
6311
|
+
m = Object.assign(m, proto);
|
|
6312
|
+
return m;
|
|
6313
|
+
}
|
|
6314
|
+
constructor(kwargs) {
|
|
6315
|
+
if (!kwargs) {
|
|
6316
|
+
return;
|
|
6317
|
+
}
|
|
6318
|
+
Object.assign(this, kwargs);
|
|
6319
|
+
}
|
|
6320
|
+
toApiJson() {
|
|
6321
|
+
const toReturn = {};
|
|
6322
|
+
if (typeof this.calendarIds !== 'undefined') {
|
|
6323
|
+
toReturn['calendarIds'] = this.calendarIds;
|
|
6324
|
+
}
|
|
6325
|
+
return toReturn;
|
|
6326
|
+
}
|
|
6327
|
+
}
|
|
6328
|
+
class ListEventTypesForMultipleCalendarsResponse {
|
|
6329
|
+
static fromProto(proto) {
|
|
6330
|
+
let m = new ListEventTypesForMultipleCalendarsResponse();
|
|
6331
|
+
m = Object.assign(m, proto);
|
|
6332
|
+
if (proto.eventTypes) {
|
|
6333
|
+
m.eventTypes = proto.eventTypes.map(EventTypeSummary.fromProto);
|
|
6334
|
+
}
|
|
6335
|
+
return m;
|
|
6336
|
+
}
|
|
6337
|
+
constructor(kwargs) {
|
|
6338
|
+
if (!kwargs) {
|
|
6339
|
+
return;
|
|
6340
|
+
}
|
|
6341
|
+
Object.assign(this, kwargs);
|
|
6342
|
+
}
|
|
6343
|
+
toApiJson() {
|
|
6344
|
+
const toReturn = {};
|
|
6345
|
+
if (typeof this.eventTypes !== 'undefined' && this.eventTypes !== null) {
|
|
6346
|
+
toReturn['eventTypes'] = 'toApiJson' in this.eventTypes ? this.eventTypes.toApiJson() : this.eventTypes;
|
|
6347
|
+
}
|
|
6348
|
+
return toReturn;
|
|
6349
|
+
}
|
|
6350
|
+
}
|
|
6365
6351
|
class ListGroupsRequest {
|
|
6366
6352
|
static fromProto(proto) {
|
|
6367
6353
|
let m = new ListGroupsRequest();
|
|
@@ -6480,7 +6466,7 @@ class Meeting {
|
|
|
6480
6466
|
m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
|
|
6481
6467
|
}
|
|
6482
6468
|
if (proto.meetingType) {
|
|
6483
|
-
m.meetingType = enumStringToValue$
|
|
6469
|
+
m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
|
|
6484
6470
|
}
|
|
6485
6471
|
if (proto.maxAttendeeCount) {
|
|
6486
6472
|
m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
|
|
@@ -6644,19 +6630,19 @@ class RecurrenceConfig {
|
|
|
6644
6630
|
let m = new RecurrenceConfig();
|
|
6645
6631
|
m = Object.assign(m, proto);
|
|
6646
6632
|
if (proto.recurrence) {
|
|
6647
|
-
m.recurrence = enumStringToValue$
|
|
6633
|
+
m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
|
|
6648
6634
|
}
|
|
6649
6635
|
if (proto.startTime) {
|
|
6650
6636
|
m.startTime = new Date(proto.startTime);
|
|
6651
6637
|
}
|
|
6652
6638
|
if (proto.repeatOnDays) {
|
|
6653
|
-
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$
|
|
6639
|
+
m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
|
|
6654
6640
|
}
|
|
6655
6641
|
if (proto.recurrenceEnd) {
|
|
6656
6642
|
m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
|
|
6657
6643
|
}
|
|
6658
6644
|
if (proto.registrationMode) {
|
|
6659
|
-
m.registrationMode = enumStringToValue$
|
|
6645
|
+
m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
|
|
6660
6646
|
}
|
|
6661
6647
|
return m;
|
|
6662
6648
|
}
|
|
@@ -6781,7 +6767,7 @@ class SessionAttendees {
|
|
|
6781
6767
|
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
6782
6768
|
}
|
|
6783
6769
|
if (proto.bookingFailureReason) {
|
|
6784
|
-
m.bookingFailureReason = enumStringToValue$
|
|
6770
|
+
m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
|
|
6785
6771
|
}
|
|
6786
6772
|
return m;
|
|
6787
6773
|
}
|
|
@@ -6831,7 +6817,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
6831
6817
|
let m = new SetGeneralAvailabilityRequest();
|
|
6832
6818
|
m = Object.assign(m, proto);
|
|
6833
6819
|
if (proto.days) {
|
|
6834
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
6820
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
6835
6821
|
}
|
|
6836
6822
|
if (proto.timeSlot) {
|
|
6837
6823
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -6878,7 +6864,7 @@ class TimeSlotsByWeekDay {
|
|
|
6878
6864
|
let m = new TimeSlotsByWeekDay();
|
|
6879
6865
|
m = Object.assign(m, proto);
|
|
6880
6866
|
if (proto.day) {
|
|
6881
|
-
m.day = enumStringToValue$
|
|
6867
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
6882
6868
|
}
|
|
6883
6869
|
if (proto.timeSlot) {
|
|
6884
6870
|
m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
|
|
@@ -7119,7 +7105,7 @@ class WeekdayAvailability {
|
|
|
7119
7105
|
let m = new WeekdayAvailability();
|
|
7120
7106
|
m = Object.assign(m, proto);
|
|
7121
7107
|
if (proto.day) {
|
|
7122
|
-
m.day = enumStringToValue$
|
|
7108
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
7123
7109
|
}
|
|
7124
7110
|
if (proto.timeSlots) {
|
|
7125
7111
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -7144,7 +7130,7 @@ class WeekdayAvailability {
|
|
|
7144
7130
|
}
|
|
7145
7131
|
}
|
|
7146
7132
|
|
|
7147
|
-
function enumStringToValue(enumRef, value) {
|
|
7133
|
+
function enumStringToValue$2(enumRef, value) {
|
|
7148
7134
|
if (typeof value === 'number') {
|
|
7149
7135
|
return value;
|
|
7150
7136
|
}
|
|
@@ -7194,6 +7180,119 @@ class MCPOptions {
|
|
|
7194
7180
|
}
|
|
7195
7181
|
}
|
|
7196
7182
|
|
|
7183
|
+
function enumStringToValue$1(enumRef, value) {
|
|
7184
|
+
if (typeof value === 'number') {
|
|
7185
|
+
return value;
|
|
7186
|
+
}
|
|
7187
|
+
return enumRef[value];
|
|
7188
|
+
}
|
|
7189
|
+
class TimeOfDay {
|
|
7190
|
+
static fromProto(proto) {
|
|
7191
|
+
let m = new TimeOfDay();
|
|
7192
|
+
m = Object.assign(m, proto);
|
|
7193
|
+
return m;
|
|
7194
|
+
}
|
|
7195
|
+
constructor(kwargs) {
|
|
7196
|
+
if (!kwargs) {
|
|
7197
|
+
return;
|
|
7198
|
+
}
|
|
7199
|
+
Object.assign(this, kwargs);
|
|
7200
|
+
}
|
|
7201
|
+
toApiJson() {
|
|
7202
|
+
const toReturn = {};
|
|
7203
|
+
if (typeof this.hours !== 'undefined') {
|
|
7204
|
+
toReturn['hours'] = this.hours;
|
|
7205
|
+
}
|
|
7206
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7207
|
+
toReturn['minutes'] = this.minutes;
|
|
7208
|
+
}
|
|
7209
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7210
|
+
toReturn['seconds'] = this.seconds;
|
|
7211
|
+
}
|
|
7212
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7213
|
+
toReturn['nanos'] = this.nanos;
|
|
7214
|
+
}
|
|
7215
|
+
return toReturn;
|
|
7216
|
+
}
|
|
7217
|
+
}
|
|
7218
|
+
|
|
7219
|
+
function enumStringToValue(enumRef, value) {
|
|
7220
|
+
if (typeof value === 'number') {
|
|
7221
|
+
return value;
|
|
7222
|
+
}
|
|
7223
|
+
return enumRef[value];
|
|
7224
|
+
}
|
|
7225
|
+
class DateTime {
|
|
7226
|
+
static fromProto(proto) {
|
|
7227
|
+
let m = new DateTime();
|
|
7228
|
+
m = Object.assign(m, proto);
|
|
7229
|
+
if (proto.timeZone) {
|
|
7230
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
7231
|
+
}
|
|
7232
|
+
return m;
|
|
7233
|
+
}
|
|
7234
|
+
constructor(kwargs) {
|
|
7235
|
+
if (!kwargs) {
|
|
7236
|
+
return;
|
|
7237
|
+
}
|
|
7238
|
+
Object.assign(this, kwargs);
|
|
7239
|
+
}
|
|
7240
|
+
toApiJson() {
|
|
7241
|
+
const toReturn = {};
|
|
7242
|
+
if (typeof this.year !== 'undefined') {
|
|
7243
|
+
toReturn['year'] = this.year;
|
|
7244
|
+
}
|
|
7245
|
+
if (typeof this.month !== 'undefined') {
|
|
7246
|
+
toReturn['month'] = this.month;
|
|
7247
|
+
}
|
|
7248
|
+
if (typeof this.day !== 'undefined') {
|
|
7249
|
+
toReturn['day'] = this.day;
|
|
7250
|
+
}
|
|
7251
|
+
if (typeof this.hours !== 'undefined') {
|
|
7252
|
+
toReturn['hours'] = this.hours;
|
|
7253
|
+
}
|
|
7254
|
+
if (typeof this.minutes !== 'undefined') {
|
|
7255
|
+
toReturn['minutes'] = this.minutes;
|
|
7256
|
+
}
|
|
7257
|
+
if (typeof this.seconds !== 'undefined') {
|
|
7258
|
+
toReturn['seconds'] = this.seconds;
|
|
7259
|
+
}
|
|
7260
|
+
if (typeof this.nanos !== 'undefined') {
|
|
7261
|
+
toReturn['nanos'] = this.nanos;
|
|
7262
|
+
}
|
|
7263
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
7264
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
7265
|
+
}
|
|
7266
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
7267
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
7268
|
+
}
|
|
7269
|
+
return toReturn;
|
|
7270
|
+
}
|
|
7271
|
+
}
|
|
7272
|
+
class TimeZone {
|
|
7273
|
+
static fromProto(proto) {
|
|
7274
|
+
let m = new TimeZone();
|
|
7275
|
+
m = Object.assign(m, proto);
|
|
7276
|
+
return m;
|
|
7277
|
+
}
|
|
7278
|
+
constructor(kwargs) {
|
|
7279
|
+
if (!kwargs) {
|
|
7280
|
+
return;
|
|
7281
|
+
}
|
|
7282
|
+
Object.assign(this, kwargs);
|
|
7283
|
+
}
|
|
7284
|
+
toApiJson() {
|
|
7285
|
+
const toReturn = {};
|
|
7286
|
+
if (typeof this.id !== 'undefined') {
|
|
7287
|
+
toReturn['id'] = this.id;
|
|
7288
|
+
}
|
|
7289
|
+
if (typeof this.version !== 'undefined') {
|
|
7290
|
+
toReturn['version'] = this.version;
|
|
7291
|
+
}
|
|
7292
|
+
return toReturn;
|
|
7293
|
+
}
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7197
7296
|
// *********************************
|
|
7198
7297
|
|
|
7199
7298
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -7221,9 +7320,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
7221
7320
|
|
|
7222
7321
|
// *********************************
|
|
7223
7322
|
class MeetingSourceAPIApiService {
|
|
7224
|
-
constructor(
|
|
7225
|
-
this.
|
|
7226
|
-
this.
|
|
7323
|
+
constructor() {
|
|
7324
|
+
this.hostService = inject(HostService$1);
|
|
7325
|
+
this.http = inject(HttpClient);
|
|
7227
7326
|
this._host = this.hostService.hostWithScheme;
|
|
7228
7327
|
}
|
|
7229
7328
|
apiOptions() {
|
|
@@ -7240,18 +7339,18 @@ class MeetingSourceAPIApiService {
|
|
|
7240
7339
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
7241
7340
|
}
|
|
7242
7341
|
}
|
|
7243
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
7342
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7244
7343
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
7245
7344
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
7246
7345
|
type: Injectable,
|
|
7247
7346
|
args: [{ providedIn: 'root' }]
|
|
7248
|
-
}]
|
|
7347
|
+
}] });
|
|
7249
7348
|
|
|
7250
7349
|
// *********************************
|
|
7251
7350
|
class ZoomApiService {
|
|
7252
|
-
constructor(
|
|
7253
|
-
this.
|
|
7254
|
-
this.
|
|
7351
|
+
constructor() {
|
|
7352
|
+
this.hostService = inject(HostService$1);
|
|
7353
|
+
this.http = inject(HttpClient);
|
|
7255
7354
|
this._host = this.hostService.hostWithScheme;
|
|
7256
7355
|
}
|
|
7257
7356
|
apiOptions() {
|
|
@@ -7268,18 +7367,18 @@ class ZoomApiService {
|
|
|
7268
7367
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
7269
7368
|
}
|
|
7270
7369
|
}
|
|
7271
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
7370
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7272
7371
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
7273
7372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
7274
7373
|
type: Injectable,
|
|
7275
7374
|
args: [{ providedIn: 'root' }]
|
|
7276
|
-
}]
|
|
7375
|
+
}] });
|
|
7277
7376
|
|
|
7278
7377
|
// *********************************
|
|
7279
7378
|
class GoogleMeetApiService {
|
|
7280
|
-
constructor(
|
|
7281
|
-
this.
|
|
7282
|
-
this.
|
|
7379
|
+
constructor() {
|
|
7380
|
+
this.hostService = inject(HostService$1);
|
|
7381
|
+
this.http = inject(HttpClient);
|
|
7283
7382
|
this._host = this.hostService.hostWithScheme;
|
|
7284
7383
|
}
|
|
7285
7384
|
apiOptions() {
|
|
@@ -7301,12 +7400,12 @@ class GoogleMeetApiService {
|
|
|
7301
7400
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
7302
7401
|
}
|
|
7303
7402
|
}
|
|
7304
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
7403
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7305
7404
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
7306
7405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
7307
7406
|
type: Injectable,
|
|
7308
7407
|
args: [{ providedIn: 'root' }]
|
|
7309
|
-
}]
|
|
7408
|
+
}] });
|
|
7310
7409
|
|
|
7311
7410
|
function generateMeetingPassword() {
|
|
7312
7411
|
const zoomMaxLength = 10;
|
|
@@ -7468,9 +7567,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
7468
7567
|
|
|
7469
7568
|
// *********************************
|
|
7470
7569
|
class MeetingExternalApiService {
|
|
7471
|
-
constructor(
|
|
7472
|
-
this.
|
|
7473
|
-
this.
|
|
7570
|
+
constructor() {
|
|
7571
|
+
this.hostService = inject(HostService$1);
|
|
7572
|
+
this.http = inject(HttpClient);
|
|
7474
7573
|
this._host = this.hostService.hostWithScheme;
|
|
7475
7574
|
}
|
|
7476
7575
|
apiOptions() {
|
|
@@ -7520,19 +7619,24 @@ class MeetingExternalApiService {
|
|
|
7520
7619
|
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListTeamEventTypes", request.toApiJson(), this.apiOptions())
|
|
7521
7620
|
.pipe(map(resp => ListTeamEventTypesResponse.fromProto(resp)));
|
|
7522
7621
|
}
|
|
7622
|
+
listUserEventTypes(r) {
|
|
7623
|
+
const request = (r.toApiJson) ? r : new ListUserEventTypesRequest(r);
|
|
7624
|
+
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListUserEventTypes", request.toApiJson(), this.apiOptions())
|
|
7625
|
+
.pipe(map(resp => ListUserEventTypesResponse.fromProto(resp)));
|
|
7626
|
+
}
|
|
7523
7627
|
}
|
|
7524
|
-
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [
|
|
7628
|
+
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7525
7629
|
MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
|
|
7526
7630
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
|
|
7527
7631
|
type: Injectable,
|
|
7528
7632
|
args: [{ providedIn: 'root' }]
|
|
7529
|
-
}]
|
|
7633
|
+
}] });
|
|
7530
7634
|
|
|
7531
7635
|
// *********************************
|
|
7532
7636
|
class MeetingGuestApiService {
|
|
7533
|
-
constructor(
|
|
7534
|
-
this.
|
|
7535
|
-
this.
|
|
7637
|
+
constructor() {
|
|
7638
|
+
this.hostService = inject(HostService$1);
|
|
7639
|
+
this.http = inject(HttpClient);
|
|
7536
7640
|
this._host = this.hostService.hostWithScheme;
|
|
7537
7641
|
}
|
|
7538
7642
|
apiOptions() {
|
|
@@ -7635,18 +7739,18 @@ class MeetingGuestApiService {
|
|
|
7635
7739
|
.pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
|
|
7636
7740
|
}
|
|
7637
7741
|
}
|
|
7638
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
7742
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7639
7743
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
7640
7744
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
7641
7745
|
type: Injectable,
|
|
7642
7746
|
args: [{ providedIn: 'root' }]
|
|
7643
|
-
}]
|
|
7747
|
+
}] });
|
|
7644
7748
|
|
|
7645
7749
|
// *********************************
|
|
7646
7750
|
class MeetingHostApiService {
|
|
7647
|
-
constructor(
|
|
7648
|
-
this.
|
|
7649
|
-
this.
|
|
7751
|
+
constructor() {
|
|
7752
|
+
this.hostService = inject(HostService$1);
|
|
7753
|
+
this.http = inject(HttpClient);
|
|
7650
7754
|
this._host = this.hostService.hostWithScheme;
|
|
7651
7755
|
}
|
|
7652
7756
|
apiOptions() {
|
|
@@ -7706,6 +7810,11 @@ class MeetingHostApiService {
|
|
|
7706
7810
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetMeetingTypesForCalendars", request.toApiJson(), this.apiOptions())
|
|
7707
7811
|
.pipe(map(resp => GetMeetingTypesForCalendarsResponse.fromProto(resp)));
|
|
7708
7812
|
}
|
|
7813
|
+
listEventTypesForMultipleCalendars(r) {
|
|
7814
|
+
const request = (r.toApiJson) ? r : new ListEventTypesForMultipleCalendarsRequest(r);
|
|
7815
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListEventTypesForMultipleCalendars", request.toApiJson(), this.apiOptions())
|
|
7816
|
+
.pipe(map(resp => ListEventTypesForMultipleCalendarsResponse.fromProto(resp)));
|
|
7817
|
+
}
|
|
7709
7818
|
listAvailability(r) {
|
|
7710
7819
|
const request = (r.toApiJson) ? r : new ListAvailabilityRequest(r);
|
|
7711
7820
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailability", request.toApiJson(), this.apiOptions())
|
|
@@ -7908,12 +8017,12 @@ class MeetingHostApiService {
|
|
|
7908
8017
|
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
7909
8018
|
}
|
|
7910
8019
|
}
|
|
7911
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
8020
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7912
8021
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
7913
8022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
7914
8023
|
type: Injectable,
|
|
7915
8024
|
args: [{ providedIn: 'root' }]
|
|
7916
|
-
}]
|
|
8025
|
+
}] });
|
|
7917
8026
|
|
|
7918
8027
|
// *********************************
|
|
7919
8028
|
|
|
@@ -9090,7 +9199,12 @@ class HostService {
|
|
|
9090
9199
|
.pipe(mapTo(null));
|
|
9091
9200
|
}
|
|
9092
9201
|
listAvailableTimeslotsForSession(req) {
|
|
9093
|
-
return this.hostAPIService
|
|
9202
|
+
return this.hostAPIService
|
|
9203
|
+
.listAvailableTimeslotsForSession(req)
|
|
9204
|
+
.pipe(map((resp) => resp.timeSlots ? resp.timeSlots.map((ts) => TimeSpanFromApi(ts)) : []));
|
|
9205
|
+
}
|
|
9206
|
+
listEventTypesForMultipleCalendars(req) {
|
|
9207
|
+
return this.hostAPIService.listEventTypesForMultipleCalendars(req);
|
|
9094
9208
|
}
|
|
9095
9209
|
}
|
|
9096
9210
|
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|