@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
|
var _a;
|
|
@@ -7222,9 +7321,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
7222
7321
|
|
|
7223
7322
|
// *********************************
|
|
7224
7323
|
class MeetingSourceAPIApiService {
|
|
7225
|
-
constructor(
|
|
7226
|
-
this.
|
|
7227
|
-
this.
|
|
7324
|
+
constructor() {
|
|
7325
|
+
this.hostService = inject(HostService$1);
|
|
7326
|
+
this.http = inject(HttpClient);
|
|
7228
7327
|
this._host = this.hostService.hostWithScheme;
|
|
7229
7328
|
}
|
|
7230
7329
|
apiOptions() {
|
|
@@ -7241,18 +7340,18 @@ class MeetingSourceAPIApiService {
|
|
|
7241
7340
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
7242
7341
|
}
|
|
7243
7342
|
}
|
|
7244
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
7343
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7245
7344
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
7246
7345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
7247
7346
|
type: Injectable,
|
|
7248
7347
|
args: [{ providedIn: 'root' }]
|
|
7249
|
-
}]
|
|
7348
|
+
}] });
|
|
7250
7349
|
|
|
7251
7350
|
// *********************************
|
|
7252
7351
|
class ZoomApiService {
|
|
7253
|
-
constructor(
|
|
7254
|
-
this.
|
|
7255
|
-
this.
|
|
7352
|
+
constructor() {
|
|
7353
|
+
this.hostService = inject(HostService$1);
|
|
7354
|
+
this.http = inject(HttpClient);
|
|
7256
7355
|
this._host = this.hostService.hostWithScheme;
|
|
7257
7356
|
}
|
|
7258
7357
|
apiOptions() {
|
|
@@ -7269,18 +7368,18 @@ class ZoomApiService {
|
|
|
7269
7368
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
7270
7369
|
}
|
|
7271
7370
|
}
|
|
7272
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
7371
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7273
7372
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
7274
7373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
7275
7374
|
type: Injectable,
|
|
7276
7375
|
args: [{ providedIn: 'root' }]
|
|
7277
|
-
}]
|
|
7376
|
+
}] });
|
|
7278
7377
|
|
|
7279
7378
|
// *********************************
|
|
7280
7379
|
class GoogleMeetApiService {
|
|
7281
|
-
constructor(
|
|
7282
|
-
this.
|
|
7283
|
-
this.
|
|
7380
|
+
constructor() {
|
|
7381
|
+
this.hostService = inject(HostService$1);
|
|
7382
|
+
this.http = inject(HttpClient);
|
|
7284
7383
|
this._host = this.hostService.hostWithScheme;
|
|
7285
7384
|
}
|
|
7286
7385
|
apiOptions() {
|
|
@@ -7302,12 +7401,12 @@ class GoogleMeetApiService {
|
|
|
7302
7401
|
.pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
|
|
7303
7402
|
}
|
|
7304
7403
|
}
|
|
7305
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
7404
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7306
7405
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
7307
7406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
7308
7407
|
type: Injectable,
|
|
7309
7408
|
args: [{ providedIn: 'root' }]
|
|
7310
|
-
}]
|
|
7409
|
+
}] });
|
|
7311
7410
|
|
|
7312
7411
|
function generateMeetingPassword() {
|
|
7313
7412
|
const zoomMaxLength = 10;
|
|
@@ -7758,9 +7857,9 @@ class PagedResponse {
|
|
|
7758
7857
|
|
|
7759
7858
|
// *********************************
|
|
7760
7859
|
class MeetingExternalApiService {
|
|
7761
|
-
constructor(
|
|
7762
|
-
this.
|
|
7763
|
-
this.
|
|
7860
|
+
constructor() {
|
|
7861
|
+
this.hostService = inject(HostService$1);
|
|
7862
|
+
this.http = inject(HttpClient);
|
|
7764
7863
|
this._host = this.hostService.hostWithScheme;
|
|
7765
7864
|
}
|
|
7766
7865
|
apiOptions() {
|
|
@@ -7810,19 +7909,24 @@ class MeetingExternalApiService {
|
|
|
7810
7909
|
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListTeamEventTypes", request.toApiJson(), this.apiOptions())
|
|
7811
7910
|
.pipe(map(resp => ListTeamEventTypesResponse.fromProto(resp)));
|
|
7812
7911
|
}
|
|
7912
|
+
listUserEventTypes(r) {
|
|
7913
|
+
const request = (r.toApiJson) ? r : new ListUserEventTypesRequest(r);
|
|
7914
|
+
return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListUserEventTypes", request.toApiJson(), this.apiOptions())
|
|
7915
|
+
.pipe(map(resp => ListUserEventTypesResponse.fromProto(resp)));
|
|
7916
|
+
}
|
|
7813
7917
|
}
|
|
7814
|
-
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [
|
|
7918
|
+
MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7815
7919
|
MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
|
|
7816
7920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
|
|
7817
7921
|
type: Injectable,
|
|
7818
7922
|
args: [{ providedIn: 'root' }]
|
|
7819
|
-
}]
|
|
7923
|
+
}] });
|
|
7820
7924
|
|
|
7821
7925
|
// *********************************
|
|
7822
7926
|
class MeetingGuestApiService {
|
|
7823
|
-
constructor(
|
|
7824
|
-
this.
|
|
7825
|
-
this.
|
|
7927
|
+
constructor() {
|
|
7928
|
+
this.hostService = inject(HostService$1);
|
|
7929
|
+
this.http = inject(HttpClient);
|
|
7826
7930
|
this._host = this.hostService.hostWithScheme;
|
|
7827
7931
|
}
|
|
7828
7932
|
apiOptions() {
|
|
@@ -7925,18 +8029,18 @@ class MeetingGuestApiService {
|
|
|
7925
8029
|
.pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
|
|
7926
8030
|
}
|
|
7927
8031
|
}
|
|
7928
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
8032
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7929
8033
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
7930
8034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
7931
8035
|
type: Injectable,
|
|
7932
8036
|
args: [{ providedIn: 'root' }]
|
|
7933
|
-
}]
|
|
8037
|
+
}] });
|
|
7934
8038
|
|
|
7935
8039
|
// *********************************
|
|
7936
8040
|
class MeetingHostApiService {
|
|
7937
|
-
constructor(
|
|
7938
|
-
this.
|
|
7939
|
-
this.
|
|
8041
|
+
constructor() {
|
|
8042
|
+
this.hostService = inject(HostService$1);
|
|
8043
|
+
this.http = inject(HttpClient);
|
|
7940
8044
|
this._host = this.hostService.hostWithScheme;
|
|
7941
8045
|
}
|
|
7942
8046
|
apiOptions() {
|
|
@@ -7996,6 +8100,11 @@ class MeetingHostApiService {
|
|
|
7996
8100
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetMeetingTypesForCalendars", request.toApiJson(), this.apiOptions())
|
|
7997
8101
|
.pipe(map(resp => GetMeetingTypesForCalendarsResponse.fromProto(resp)));
|
|
7998
8102
|
}
|
|
8103
|
+
listEventTypesForMultipleCalendars(r) {
|
|
8104
|
+
const request = (r.toApiJson) ? r : new ListEventTypesForMultipleCalendarsRequest(r);
|
|
8105
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListEventTypesForMultipleCalendars", request.toApiJson(), this.apiOptions())
|
|
8106
|
+
.pipe(map(resp => ListEventTypesForMultipleCalendarsResponse.fromProto(resp)));
|
|
8107
|
+
}
|
|
7999
8108
|
listAvailability(r) {
|
|
8000
8109
|
const request = (r.toApiJson) ? r : new ListAvailabilityRequest(r);
|
|
8001
8110
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListAvailability", request.toApiJson(), this.apiOptions())
|
|
@@ -8198,12 +8307,12 @@ class MeetingHostApiService {
|
|
|
8198
8307
|
.pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
|
|
8199
8308
|
}
|
|
8200
8309
|
}
|
|
8201
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
8310
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8202
8311
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
8203
8312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
8204
8313
|
type: Injectable,
|
|
8205
8314
|
args: [{ providedIn: 'root' }]
|
|
8206
|
-
}]
|
|
8315
|
+
}] });
|
|
8207
8316
|
|
|
8208
8317
|
// *********************************
|
|
8209
8318
|
|
|
@@ -9045,7 +9154,12 @@ class HostService {
|
|
|
9045
9154
|
.pipe(mapTo(null));
|
|
9046
9155
|
}
|
|
9047
9156
|
listAvailableTimeslotsForSession(req) {
|
|
9048
|
-
return this.hostAPIService
|
|
9157
|
+
return this.hostAPIService
|
|
9158
|
+
.listAvailableTimeslotsForSession(req)
|
|
9159
|
+
.pipe(map((resp) => resp.timeSlots ? resp.timeSlots.map((ts) => TimeSpanFromApi(ts)) : []));
|
|
9160
|
+
}
|
|
9161
|
+
listEventTypesForMultipleCalendars(req) {
|
|
9162
|
+
return this.hostAPIService.listEventTypesForMultipleCalendars(req);
|
|
9049
9163
|
}
|
|
9050
9164
|
}
|
|
9051
9165
|
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|