@vendasta/meetings 0.95.5 → 0.96.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/enums/index.mjs +1 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-bot-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +10 -11
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +8 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +55 -61
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/fesm2015/vendasta-meetings.mjs +224 -225
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +224 -225
- 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-guest.interface.d.ts +3 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +14 -13
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-bot-api.api.service.d.ts +3 -5
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
- package/lib/_internal/meeting-host.api.service.d.ts +6 -8
- package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/meeting-guest.d.ts +3 -1
- package/lib/_internal/objects/meeting-host.d.ts +27 -27
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Injectable, inject } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
6
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
5
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
7
6
|
|
|
8
7
|
// *********************************
|
|
9
8
|
// Code generated by sdkgen
|
|
@@ -1194,125 +1193,12 @@ function enumStringToValue$9(enumRef, value) {
|
|
|
1194
1193
|
}
|
|
1195
1194
|
return enumRef[value];
|
|
1196
1195
|
}
|
|
1197
|
-
class TimeOfDay {
|
|
1198
|
-
static fromProto(proto) {
|
|
1199
|
-
let m = new TimeOfDay();
|
|
1200
|
-
m = Object.assign(m, proto);
|
|
1201
|
-
return m;
|
|
1202
|
-
}
|
|
1203
|
-
constructor(kwargs) {
|
|
1204
|
-
if (!kwargs) {
|
|
1205
|
-
return;
|
|
1206
|
-
}
|
|
1207
|
-
Object.assign(this, kwargs);
|
|
1208
|
-
}
|
|
1209
|
-
toApiJson() {
|
|
1210
|
-
const toReturn = {};
|
|
1211
|
-
if (typeof this.hours !== 'undefined') {
|
|
1212
|
-
toReturn['hours'] = this.hours;
|
|
1213
|
-
}
|
|
1214
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1215
|
-
toReturn['minutes'] = this.minutes;
|
|
1216
|
-
}
|
|
1217
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1218
|
-
toReturn['seconds'] = this.seconds;
|
|
1219
|
-
}
|
|
1220
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1221
|
-
toReturn['nanos'] = this.nanos;
|
|
1222
|
-
}
|
|
1223
|
-
return toReturn;
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
function enumStringToValue$8(enumRef, value) {
|
|
1228
|
-
if (typeof value === 'number') {
|
|
1229
|
-
return value;
|
|
1230
|
-
}
|
|
1231
|
-
return enumRef[value];
|
|
1232
|
-
}
|
|
1233
|
-
class DateTime {
|
|
1234
|
-
static fromProto(proto) {
|
|
1235
|
-
let m = new DateTime();
|
|
1236
|
-
m = Object.assign(m, proto);
|
|
1237
|
-
if (proto.timeZone) {
|
|
1238
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1239
|
-
}
|
|
1240
|
-
return m;
|
|
1241
|
-
}
|
|
1242
|
-
constructor(kwargs) {
|
|
1243
|
-
if (!kwargs) {
|
|
1244
|
-
return;
|
|
1245
|
-
}
|
|
1246
|
-
Object.assign(this, kwargs);
|
|
1247
|
-
}
|
|
1248
|
-
toApiJson() {
|
|
1249
|
-
const toReturn = {};
|
|
1250
|
-
if (typeof this.year !== 'undefined') {
|
|
1251
|
-
toReturn['year'] = this.year;
|
|
1252
|
-
}
|
|
1253
|
-
if (typeof this.month !== 'undefined') {
|
|
1254
|
-
toReturn['month'] = this.month;
|
|
1255
|
-
}
|
|
1256
|
-
if (typeof this.day !== 'undefined') {
|
|
1257
|
-
toReturn['day'] = this.day;
|
|
1258
|
-
}
|
|
1259
|
-
if (typeof this.hours !== 'undefined') {
|
|
1260
|
-
toReturn['hours'] = this.hours;
|
|
1261
|
-
}
|
|
1262
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1263
|
-
toReturn['minutes'] = this.minutes;
|
|
1264
|
-
}
|
|
1265
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1266
|
-
toReturn['seconds'] = this.seconds;
|
|
1267
|
-
}
|
|
1268
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1269
|
-
toReturn['nanos'] = this.nanos;
|
|
1270
|
-
}
|
|
1271
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
1272
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
1273
|
-
}
|
|
1274
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1275
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1276
|
-
}
|
|
1277
|
-
return toReturn;
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
class TimeZone {
|
|
1281
|
-
static fromProto(proto) {
|
|
1282
|
-
let m = new TimeZone();
|
|
1283
|
-
m = Object.assign(m, proto);
|
|
1284
|
-
return m;
|
|
1285
|
-
}
|
|
1286
|
-
constructor(kwargs) {
|
|
1287
|
-
if (!kwargs) {
|
|
1288
|
-
return;
|
|
1289
|
-
}
|
|
1290
|
-
Object.assign(this, kwargs);
|
|
1291
|
-
}
|
|
1292
|
-
toApiJson() {
|
|
1293
|
-
const toReturn = {};
|
|
1294
|
-
if (typeof this.id !== 'undefined') {
|
|
1295
|
-
toReturn['id'] = this.id;
|
|
1296
|
-
}
|
|
1297
|
-
if (typeof this.version !== 'undefined') {
|
|
1298
|
-
toReturn['version'] = this.version;
|
|
1299
|
-
}
|
|
1300
|
-
return toReturn;
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
function enumStringToValue$7(enumRef, value) {
|
|
1305
|
-
if (typeof value === 'number') {
|
|
1306
|
-
return value;
|
|
1307
|
-
}
|
|
1308
|
-
return enumRef[value];
|
|
1309
|
-
}
|
|
1310
1196
|
class Answer {
|
|
1311
1197
|
static fromProto(proto) {
|
|
1312
1198
|
let m = new Answer();
|
|
1313
1199
|
m = Object.assign(m, proto);
|
|
1314
1200
|
if (proto.type) {
|
|
1315
|
-
m.type = enumStringToValue$
|
|
1201
|
+
m.type = enumStringToValue$9(FormFieldType, proto.type);
|
|
1316
1202
|
}
|
|
1317
1203
|
return m;
|
|
1318
1204
|
}
|
|
@@ -1454,7 +1340,7 @@ class Calendar {
|
|
|
1454
1340
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1455
1341
|
}
|
|
1456
1342
|
if (proto.calendarType) {
|
|
1457
|
-
m.calendarType = enumStringToValue$
|
|
1343
|
+
m.calendarType = enumStringToValue$9(CalendarType, proto.calendarType);
|
|
1458
1344
|
}
|
|
1459
1345
|
return m;
|
|
1460
1346
|
}
|
|
@@ -1655,7 +1541,7 @@ class Preferences {
|
|
|
1655
1541
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1656
1542
|
}
|
|
1657
1543
|
if (proto.meetingIntegration) {
|
|
1658
|
-
m.meetingIntegration = enumStringToValue$
|
|
1544
|
+
m.meetingIntegration = enumStringToValue$9(MeetingSource, proto.meetingIntegration);
|
|
1659
1545
|
}
|
|
1660
1546
|
if (proto.availabilityIncrement) {
|
|
1661
1547
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1733,7 +1619,7 @@ class TimeRange {
|
|
|
1733
1619
|
}
|
|
1734
1620
|
}
|
|
1735
1621
|
|
|
1736
|
-
function enumStringToValue$
|
|
1622
|
+
function enumStringToValue$8(enumRef, value) {
|
|
1737
1623
|
if (typeof value === 'number') {
|
|
1738
1624
|
return value;
|
|
1739
1625
|
}
|
|
@@ -1744,7 +1630,7 @@ class Field {
|
|
|
1744
1630
|
let m = new Field();
|
|
1745
1631
|
m = Object.assign(m, proto);
|
|
1746
1632
|
if (proto.type) {
|
|
1747
|
-
m.type = enumStringToValue$
|
|
1633
|
+
m.type = enumStringToValue$8(FormFieldType, proto.type);
|
|
1748
1634
|
}
|
|
1749
1635
|
return m;
|
|
1750
1636
|
}
|
|
@@ -1811,7 +1697,7 @@ class MeetingType {
|
|
|
1811
1697
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1812
1698
|
}
|
|
1813
1699
|
if (proto.locationType) {
|
|
1814
|
-
m.locationType = enumStringToValue$
|
|
1700
|
+
m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
|
|
1815
1701
|
}
|
|
1816
1702
|
if (proto.hostUsers) {
|
|
1817
1703
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
@@ -1914,7 +1800,7 @@ class MeetingType {
|
|
|
1914
1800
|
}
|
|
1915
1801
|
}
|
|
1916
1802
|
|
|
1917
|
-
function enumStringToValue$
|
|
1803
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1918
1804
|
if (typeof value === 'number') {
|
|
1919
1805
|
return value;
|
|
1920
1806
|
}
|
|
@@ -1950,7 +1836,7 @@ class DateRange {
|
|
|
1950
1836
|
}
|
|
1951
1837
|
}
|
|
1952
1838
|
|
|
1953
|
-
function enumStringToValue$
|
|
1839
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1954
1840
|
if (typeof value === 'number') {
|
|
1955
1841
|
return value;
|
|
1956
1842
|
}
|
|
@@ -2095,7 +1981,7 @@ class Service {
|
|
|
2095
1981
|
}
|
|
2096
1982
|
}
|
|
2097
1983
|
|
|
2098
|
-
function enumStringToValue$
|
|
1984
|
+
function enumStringToValue$5(enumRef, value) {
|
|
2099
1985
|
if (typeof value === 'number') {
|
|
2100
1986
|
return value;
|
|
2101
1987
|
}
|
|
@@ -2278,6 +2164,9 @@ class GetGroupResponse {
|
|
|
2278
2164
|
if (typeof this.group !== 'undefined' && this.group !== null) {
|
|
2279
2165
|
toReturn['group'] = 'toApiJson' in this.group ? this.group.toApiJson() : this.group;
|
|
2280
2166
|
}
|
|
2167
|
+
if (typeof this.businessDisplayLogoUrl !== 'undefined') {
|
|
2168
|
+
toReturn['businessDisplayLogoUrl'] = this.businessDisplayLogoUrl;
|
|
2169
|
+
}
|
|
2281
2170
|
return toReturn;
|
|
2282
2171
|
}
|
|
2283
2172
|
}
|
|
@@ -2416,6 +2305,9 @@ class GetServiceResponse {
|
|
|
2416
2305
|
if (typeof this.service !== 'undefined' && this.service !== null) {
|
|
2417
2306
|
toReturn['service'] = 'toApiJson' in this.service ? this.service.toApiJson() : this.service;
|
|
2418
2307
|
}
|
|
2308
|
+
if (typeof this.businessDisplayLogoUrl !== 'undefined') {
|
|
2309
|
+
toReturn['businessDisplayLogoUrl'] = this.businessDisplayLogoUrl;
|
|
2310
|
+
}
|
|
2419
2311
|
return toReturn;
|
|
2420
2312
|
}
|
|
2421
2313
|
}
|
|
@@ -2482,7 +2374,7 @@ class GuestGetBookedMeetingResponse {
|
|
|
2482
2374
|
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
2483
2375
|
}
|
|
2484
2376
|
if (proto.locationType) {
|
|
2485
|
-
m.locationType = enumStringToValue$
|
|
2377
|
+
m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
|
|
2486
2378
|
}
|
|
2487
2379
|
return m;
|
|
2488
2380
|
}
|
|
@@ -2724,7 +2616,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2724
2616
|
}
|
|
2725
2617
|
}
|
|
2726
2618
|
|
|
2727
|
-
function enumStringToValue$
|
|
2619
|
+
function enumStringToValue$4(enumRef, value) {
|
|
2728
2620
|
if (typeof value === 'number') {
|
|
2729
2621
|
return value;
|
|
2730
2622
|
}
|
|
@@ -2751,15 +2643,15 @@ class FieldMask {
|
|
|
2751
2643
|
}
|
|
2752
2644
|
}
|
|
2753
2645
|
|
|
2754
|
-
function enumStringToValue$
|
|
2646
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2755
2647
|
if (typeof value === 'number') {
|
|
2756
2648
|
return value;
|
|
2757
2649
|
}
|
|
2758
2650
|
return enumRef[value];
|
|
2759
2651
|
}
|
|
2760
|
-
class
|
|
2652
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
2761
2653
|
static fromProto(proto) {
|
|
2762
|
-
let m = new
|
|
2654
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
2763
2655
|
m = Object.assign(m, proto);
|
|
2764
2656
|
return m;
|
|
2765
2657
|
}
|
|
@@ -2780,9 +2672,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
2780
2672
|
return toReturn;
|
|
2781
2673
|
}
|
|
2782
2674
|
}
|
|
2783
|
-
class
|
|
2675
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
2784
2676
|
static fromProto(proto) {
|
|
2785
|
-
let m = new
|
|
2677
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
2786
2678
|
m = Object.assign(m, proto);
|
|
2787
2679
|
return m;
|
|
2788
2680
|
}
|
|
@@ -2803,9 +2695,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
|
2803
2695
|
return toReturn;
|
|
2804
2696
|
}
|
|
2805
2697
|
}
|
|
2806
|
-
class
|
|
2698
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
2807
2699
|
static fromProto(proto) {
|
|
2808
|
-
let m = new
|
|
2700
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
2809
2701
|
m = Object.assign(m, proto);
|
|
2810
2702
|
return m;
|
|
2811
2703
|
}
|
|
@@ -2831,7 +2723,7 @@ class AvailabilityRule {
|
|
|
2831
2723
|
let m = new AvailabilityRule();
|
|
2832
2724
|
m = Object.assign(m, proto);
|
|
2833
2725
|
if (proto.day) {
|
|
2834
|
-
m.day = enumStringToValue$
|
|
2726
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
2835
2727
|
}
|
|
2836
2728
|
if (proto.timeSlot) {
|
|
2837
2729
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3545,6 +3437,49 @@ class ListAvailabilityRequestFilters {
|
|
|
3545
3437
|
return toReturn;
|
|
3546
3438
|
}
|
|
3547
3439
|
}
|
|
3440
|
+
class GetEntityAssociationRequest {
|
|
3441
|
+
static fromProto(proto) {
|
|
3442
|
+
let m = new GetEntityAssociationRequest();
|
|
3443
|
+
m = Object.assign(m, proto);
|
|
3444
|
+
return m;
|
|
3445
|
+
}
|
|
3446
|
+
constructor(kwargs) {
|
|
3447
|
+
if (!kwargs) {
|
|
3448
|
+
return;
|
|
3449
|
+
}
|
|
3450
|
+
Object.assign(this, kwargs);
|
|
3451
|
+
}
|
|
3452
|
+
toApiJson() {
|
|
3453
|
+
const toReturn = {};
|
|
3454
|
+
if (typeof this.entityId !== 'undefined') {
|
|
3455
|
+
toReturn['entityId'] = this.entityId;
|
|
3456
|
+
}
|
|
3457
|
+
return toReturn;
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
class GetEntityAssociationResponse {
|
|
3461
|
+
static fromProto(proto) {
|
|
3462
|
+
let m = new GetEntityAssociationResponse();
|
|
3463
|
+
m = Object.assign(m, proto);
|
|
3464
|
+
return m;
|
|
3465
|
+
}
|
|
3466
|
+
constructor(kwargs) {
|
|
3467
|
+
if (!kwargs) {
|
|
3468
|
+
return;
|
|
3469
|
+
}
|
|
3470
|
+
Object.assign(this, kwargs);
|
|
3471
|
+
}
|
|
3472
|
+
toApiJson() {
|
|
3473
|
+
const toReturn = {};
|
|
3474
|
+
if (typeof this.groups !== 'undefined') {
|
|
3475
|
+
toReturn['groups'] = this.groups;
|
|
3476
|
+
}
|
|
3477
|
+
if (typeof this.services !== 'undefined') {
|
|
3478
|
+
toReturn['services'] = this.services;
|
|
3479
|
+
}
|
|
3480
|
+
return toReturn;
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3548
3483
|
class GetHostMeetingRequest {
|
|
3549
3484
|
static fromProto(proto) {
|
|
3550
3485
|
let m = new GetHostMeetingRequest();
|
|
@@ -3725,7 +3660,7 @@ class HostBookMeetingRequest {
|
|
|
3725
3660
|
let m = new HostBookMeetingRequest();
|
|
3726
3661
|
m = Object.assign(m, proto);
|
|
3727
3662
|
if (proto.meetingSource) {
|
|
3728
|
-
m.meetingSource = enumStringToValue$
|
|
3663
|
+
m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
|
|
3729
3664
|
}
|
|
3730
3665
|
if (proto.timeSlot) {
|
|
3731
3666
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -4334,9 +4269,9 @@ class MeetingTypeList {
|
|
|
4334
4269
|
return toReturn;
|
|
4335
4270
|
}
|
|
4336
4271
|
}
|
|
4337
|
-
class
|
|
4272
|
+
class MeetingMetadataEntry {
|
|
4338
4273
|
static fromProto(proto) {
|
|
4339
|
-
let m = new
|
|
4274
|
+
let m = new MeetingMetadataEntry();
|
|
4340
4275
|
m = Object.assign(m, proto);
|
|
4341
4276
|
return m;
|
|
4342
4277
|
}
|
|
@@ -4357,9 +4292,9 @@ class UpdateMeetingMetadataRequestMetadataEntry {
|
|
|
4357
4292
|
return toReturn;
|
|
4358
4293
|
}
|
|
4359
4294
|
}
|
|
4360
|
-
class
|
|
4295
|
+
class UpdateMeetingMetadataRequestMetadataEntry {
|
|
4361
4296
|
static fromProto(proto) {
|
|
4362
|
-
let m = new
|
|
4297
|
+
let m = new UpdateMeetingMetadataRequestMetadataEntry();
|
|
4363
4298
|
m = Object.assign(m, proto);
|
|
4364
4299
|
return m;
|
|
4365
4300
|
}
|
|
@@ -4437,7 +4372,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
4437
4372
|
let m = new SetGeneralAvailabilityRequest();
|
|
4438
4373
|
m = Object.assign(m, proto);
|
|
4439
4374
|
if (proto.days) {
|
|
4440
|
-
m.days = proto.days.map((v) => enumStringToValue$
|
|
4375
|
+
m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
|
|
4441
4376
|
}
|
|
4442
4377
|
if (proto.timeSlot) {
|
|
4443
4378
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -4696,7 +4631,7 @@ class WeekdayAvailability {
|
|
|
4696
4631
|
let m = new WeekdayAvailability();
|
|
4697
4632
|
m = Object.assign(m, proto);
|
|
4698
4633
|
if (proto.day) {
|
|
4699
|
-
m.day = enumStringToValue$
|
|
4634
|
+
m.day = enumStringToValue$3(DayOfWeek, proto.day);
|
|
4700
4635
|
}
|
|
4701
4636
|
if (proto.timeSlots) {
|
|
4702
4637
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -4720,57 +4655,8 @@ class WeekdayAvailability {
|
|
|
4720
4655
|
return toReturn;
|
|
4721
4656
|
}
|
|
4722
4657
|
}
|
|
4723
|
-
class GetEntityAssociationsRequest {
|
|
4724
|
-
static fromProto(proto) {
|
|
4725
|
-
let m = new GetEntityAssociationsRequest();
|
|
4726
|
-
m = Object.assign(m, proto);
|
|
4727
|
-
return m;
|
|
4728
|
-
}
|
|
4729
|
-
constructor(kwargs) {
|
|
4730
|
-
if (!kwargs) {
|
|
4731
|
-
return;
|
|
4732
|
-
}
|
|
4733
|
-
Object.assign(this, kwargs);
|
|
4734
|
-
}
|
|
4735
|
-
toApiJson() {
|
|
4736
|
-
const toReturn = {};
|
|
4737
|
-
if (typeof this.entityId !== 'undefined') {
|
|
4738
|
-
toReturn['entityId'] = this.entityId;
|
|
4739
|
-
}
|
|
4740
|
-
return toReturn;
|
|
4741
|
-
}
|
|
4742
|
-
}
|
|
4743
|
-
class GetEntityAssociationsResponse {
|
|
4744
|
-
static fromProto(proto) {
|
|
4745
|
-
let m = new GetEntityAssociationsResponse();
|
|
4746
|
-
m = Object.assign(m, proto);
|
|
4747
|
-
if (proto.services) {
|
|
4748
|
-
m.services = proto.services;
|
|
4749
|
-
}
|
|
4750
|
-
if (proto.group) {
|
|
4751
|
-
m.groups = proto.groups;
|
|
4752
|
-
}
|
|
4753
|
-
return m;
|
|
4754
|
-
}
|
|
4755
|
-
constructor(kwargs) {
|
|
4756
|
-
if (!kwargs) {
|
|
4757
|
-
return;
|
|
4758
|
-
}
|
|
4759
|
-
Object.assign(this, kwargs);
|
|
4760
|
-
}
|
|
4761
|
-
toApiJson() {
|
|
4762
|
-
const toReturn = {};
|
|
4763
|
-
if (typeof this.groups !== 'undefined' && this.groups.length > 0) {
|
|
4764
|
-
toReturn['groups'] = this.groups;
|
|
4765
|
-
}
|
|
4766
|
-
if (typeof this.services !== 'undefined' && this.services.length > 0) {
|
|
4767
|
-
toReturn['services'] = this.services;
|
|
4768
|
-
}
|
|
4769
|
-
return toReturn;
|
|
4770
|
-
}
|
|
4771
|
-
}
|
|
4772
4658
|
|
|
4773
|
-
function enumStringToValue(enumRef, value) {
|
|
4659
|
+
function enumStringToValue$2(enumRef, value) {
|
|
4774
4660
|
if (typeof value === 'number') {
|
|
4775
4661
|
return value;
|
|
4776
4662
|
}
|
|
@@ -4899,7 +4785,7 @@ class MeetingBot {
|
|
|
4899
4785
|
m.eventUpdated = new Date(proto.eventUpdated);
|
|
4900
4786
|
}
|
|
4901
4787
|
if (proto.meetingSource) {
|
|
4902
|
-
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
4788
|
+
m.meetingSource = enumStringToValue$2(MeetingSource, proto.meetingSource);
|
|
4903
4789
|
}
|
|
4904
4790
|
if (proto.startTime) {
|
|
4905
4791
|
m.startTime = new Date(proto.startTime);
|
|
@@ -5009,6 +4895,119 @@ class UpdateMeetingBotResponse {
|
|
|
5009
4895
|
}
|
|
5010
4896
|
}
|
|
5011
4897
|
|
|
4898
|
+
function enumStringToValue$1(enumRef, value) {
|
|
4899
|
+
if (typeof value === 'number') {
|
|
4900
|
+
return value;
|
|
4901
|
+
}
|
|
4902
|
+
return enumRef[value];
|
|
4903
|
+
}
|
|
4904
|
+
class TimeOfDay {
|
|
4905
|
+
static fromProto(proto) {
|
|
4906
|
+
let m = new TimeOfDay();
|
|
4907
|
+
m = Object.assign(m, proto);
|
|
4908
|
+
return m;
|
|
4909
|
+
}
|
|
4910
|
+
constructor(kwargs) {
|
|
4911
|
+
if (!kwargs) {
|
|
4912
|
+
return;
|
|
4913
|
+
}
|
|
4914
|
+
Object.assign(this, kwargs);
|
|
4915
|
+
}
|
|
4916
|
+
toApiJson() {
|
|
4917
|
+
const toReturn = {};
|
|
4918
|
+
if (typeof this.hours !== 'undefined') {
|
|
4919
|
+
toReturn['hours'] = this.hours;
|
|
4920
|
+
}
|
|
4921
|
+
if (typeof this.minutes !== 'undefined') {
|
|
4922
|
+
toReturn['minutes'] = this.minutes;
|
|
4923
|
+
}
|
|
4924
|
+
if (typeof this.seconds !== 'undefined') {
|
|
4925
|
+
toReturn['seconds'] = this.seconds;
|
|
4926
|
+
}
|
|
4927
|
+
if (typeof this.nanos !== 'undefined') {
|
|
4928
|
+
toReturn['nanos'] = this.nanos;
|
|
4929
|
+
}
|
|
4930
|
+
return toReturn;
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
function enumStringToValue(enumRef, value) {
|
|
4935
|
+
if (typeof value === 'number') {
|
|
4936
|
+
return value;
|
|
4937
|
+
}
|
|
4938
|
+
return enumRef[value];
|
|
4939
|
+
}
|
|
4940
|
+
class DateTime {
|
|
4941
|
+
static fromProto(proto) {
|
|
4942
|
+
let m = new DateTime();
|
|
4943
|
+
m = Object.assign(m, proto);
|
|
4944
|
+
if (proto.timeZone) {
|
|
4945
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4946
|
+
}
|
|
4947
|
+
return m;
|
|
4948
|
+
}
|
|
4949
|
+
constructor(kwargs) {
|
|
4950
|
+
if (!kwargs) {
|
|
4951
|
+
return;
|
|
4952
|
+
}
|
|
4953
|
+
Object.assign(this, kwargs);
|
|
4954
|
+
}
|
|
4955
|
+
toApiJson() {
|
|
4956
|
+
const toReturn = {};
|
|
4957
|
+
if (typeof this.year !== 'undefined') {
|
|
4958
|
+
toReturn['year'] = this.year;
|
|
4959
|
+
}
|
|
4960
|
+
if (typeof this.month !== 'undefined') {
|
|
4961
|
+
toReturn['month'] = this.month;
|
|
4962
|
+
}
|
|
4963
|
+
if (typeof this.day !== 'undefined') {
|
|
4964
|
+
toReturn['day'] = this.day;
|
|
4965
|
+
}
|
|
4966
|
+
if (typeof this.hours !== 'undefined') {
|
|
4967
|
+
toReturn['hours'] = this.hours;
|
|
4968
|
+
}
|
|
4969
|
+
if (typeof this.minutes !== 'undefined') {
|
|
4970
|
+
toReturn['minutes'] = this.minutes;
|
|
4971
|
+
}
|
|
4972
|
+
if (typeof this.seconds !== 'undefined') {
|
|
4973
|
+
toReturn['seconds'] = this.seconds;
|
|
4974
|
+
}
|
|
4975
|
+
if (typeof this.nanos !== 'undefined') {
|
|
4976
|
+
toReturn['nanos'] = this.nanos;
|
|
4977
|
+
}
|
|
4978
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
4979
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
4980
|
+
}
|
|
4981
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
4982
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
4983
|
+
}
|
|
4984
|
+
return toReturn;
|
|
4985
|
+
}
|
|
4986
|
+
}
|
|
4987
|
+
class TimeZone {
|
|
4988
|
+
static fromProto(proto) {
|
|
4989
|
+
let m = new TimeZone();
|
|
4990
|
+
m = Object.assign(m, proto);
|
|
4991
|
+
return m;
|
|
4992
|
+
}
|
|
4993
|
+
constructor(kwargs) {
|
|
4994
|
+
if (!kwargs) {
|
|
4995
|
+
return;
|
|
4996
|
+
}
|
|
4997
|
+
Object.assign(this, kwargs);
|
|
4998
|
+
}
|
|
4999
|
+
toApiJson() {
|
|
5000
|
+
const toReturn = {};
|
|
5001
|
+
if (typeof this.id !== 'undefined') {
|
|
5002
|
+
toReturn['id'] = this.id;
|
|
5003
|
+
}
|
|
5004
|
+
if (typeof this.version !== 'undefined') {
|
|
5005
|
+
toReturn['version'] = this.version;
|
|
5006
|
+
}
|
|
5007
|
+
return toReturn;
|
|
5008
|
+
}
|
|
5009
|
+
}
|
|
5010
|
+
|
|
5012
5011
|
// *********************************
|
|
5013
5012
|
|
|
5014
5013
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -5036,9 +5035,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5036
5035
|
|
|
5037
5036
|
// *********************************
|
|
5038
5037
|
class MeetingSourceAPIApiService {
|
|
5039
|
-
constructor(
|
|
5040
|
-
this.
|
|
5041
|
-
this.
|
|
5038
|
+
constructor() {
|
|
5039
|
+
this.hostService = inject(HostService$1);
|
|
5040
|
+
this.http = inject(HttpClient);
|
|
5042
5041
|
this._host = this.hostService.hostWithScheme;
|
|
5043
5042
|
}
|
|
5044
5043
|
apiOptions() {
|
|
@@ -5055,18 +5054,18 @@ class MeetingSourceAPIApiService {
|
|
|
5055
5054
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5056
5055
|
}
|
|
5057
5056
|
}
|
|
5058
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
5057
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5059
5058
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5060
5059
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5061
5060
|
type: Injectable,
|
|
5062
5061
|
args: [{ providedIn: 'root' }]
|
|
5063
|
-
}]
|
|
5062
|
+
}] });
|
|
5064
5063
|
|
|
5065
5064
|
// *********************************
|
|
5066
5065
|
class ZoomApiService {
|
|
5067
|
-
constructor(
|
|
5068
|
-
this.
|
|
5069
|
-
this.
|
|
5066
|
+
constructor() {
|
|
5067
|
+
this.hostService = inject(HostService$1);
|
|
5068
|
+
this.http = inject(HttpClient);
|
|
5070
5069
|
this._host = this.hostService.hostWithScheme;
|
|
5071
5070
|
}
|
|
5072
5071
|
apiOptions() {
|
|
@@ -5083,18 +5082,18 @@ class ZoomApiService {
|
|
|
5083
5082
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5084
5083
|
}
|
|
5085
5084
|
}
|
|
5086
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
5085
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5087
5086
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5088
5087
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5089
5088
|
type: Injectable,
|
|
5090
5089
|
args: [{ providedIn: 'root' }]
|
|
5091
|
-
}]
|
|
5090
|
+
}] });
|
|
5092
5091
|
|
|
5093
5092
|
// *********************************
|
|
5094
5093
|
class GoogleMeetApiService {
|
|
5095
|
-
constructor(
|
|
5096
|
-
this.
|
|
5097
|
-
this.
|
|
5094
|
+
constructor() {
|
|
5095
|
+
this.hostService = inject(HostService$1);
|
|
5096
|
+
this.http = inject(HttpClient);
|
|
5098
5097
|
this._host = this.hostService.hostWithScheme;
|
|
5099
5098
|
}
|
|
5100
5099
|
apiOptions() {
|
|
@@ -5111,12 +5110,12 @@ class GoogleMeetApiService {
|
|
|
5111
5110
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
5112
5111
|
}
|
|
5113
5112
|
}
|
|
5114
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
5113
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5115
5114
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5116
5115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5117
5116
|
type: Injectable,
|
|
5118
5117
|
args: [{ providedIn: 'root' }]
|
|
5119
|
-
}]
|
|
5118
|
+
}] });
|
|
5120
5119
|
|
|
5121
5120
|
function generateMeetingPassword() {
|
|
5122
5121
|
const zoomMaxLength = 10;
|
|
@@ -5278,9 +5277,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
5278
5277
|
|
|
5279
5278
|
// *********************************
|
|
5280
5279
|
class MeetingBotAPIApiService {
|
|
5281
|
-
constructor(
|
|
5282
|
-
this.
|
|
5283
|
-
this.
|
|
5280
|
+
constructor() {
|
|
5281
|
+
this.hostService = inject(HostService$1);
|
|
5282
|
+
this.http = inject(HttpClient);
|
|
5284
5283
|
this._host = this.hostService.hostWithScheme;
|
|
5285
5284
|
}
|
|
5286
5285
|
apiOptions() {
|
|
@@ -5311,18 +5310,18 @@ class MeetingBotAPIApiService {
|
|
|
5311
5310
|
.pipe(map(resp => ListMeetingBotsResponse.fromProto(resp)));
|
|
5312
5311
|
}
|
|
5313
5312
|
}
|
|
5314
|
-
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [
|
|
5313
|
+
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5315
5314
|
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5316
5315
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5317
5316
|
type: Injectable,
|
|
5318
5317
|
args: [{ providedIn: 'root' }]
|
|
5319
|
-
}]
|
|
5318
|
+
}] });
|
|
5320
5319
|
|
|
5321
5320
|
// *********************************
|
|
5322
5321
|
class MeetingGuestApiService {
|
|
5323
|
-
constructor(
|
|
5324
|
-
this.
|
|
5325
|
-
this.
|
|
5322
|
+
constructor() {
|
|
5323
|
+
this.hostService = inject(HostService$1);
|
|
5324
|
+
this.http = inject(HttpClient);
|
|
5326
5325
|
this._host = this.hostService.hostWithScheme;
|
|
5327
5326
|
}
|
|
5328
5327
|
apiOptions() {
|
|
@@ -5392,18 +5391,18 @@ class MeetingGuestApiService {
|
|
|
5392
5391
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5393
5392
|
}
|
|
5394
5393
|
}
|
|
5395
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
5394
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5396
5395
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5397
5396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5398
5397
|
type: Injectable,
|
|
5399
5398
|
args: [{ providedIn: 'root' }]
|
|
5400
|
-
}]
|
|
5399
|
+
}] });
|
|
5401
5400
|
|
|
5402
5401
|
// *********************************
|
|
5403
5402
|
class MeetingHostApiService {
|
|
5404
|
-
constructor(
|
|
5405
|
-
this.
|
|
5406
|
-
this.
|
|
5403
|
+
constructor() {
|
|
5404
|
+
this.hostService = inject(HostService$1);
|
|
5405
|
+
this.http = inject(HttpClient);
|
|
5407
5406
|
this._host = this.hostService.hostWithScheme;
|
|
5408
5407
|
}
|
|
5409
5408
|
apiOptions() {
|
|
@@ -5618,17 +5617,17 @@ class MeetingHostApiService {
|
|
|
5618
5617
|
.pipe(map(resp => BookMeetingResponse.fromProto(resp)));
|
|
5619
5618
|
}
|
|
5620
5619
|
getEntityAssociations(r) {
|
|
5621
|
-
const request = (r.toApiJson) ? r : new
|
|
5620
|
+
const request = (r.toApiJson) ? r : new GetEntityAssociationRequest(r);
|
|
5622
5621
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetEntityAssociations", request.toApiJson(), this.apiOptions())
|
|
5623
|
-
.pipe(map(resp =>
|
|
5622
|
+
.pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
|
|
5624
5623
|
}
|
|
5625
5624
|
}
|
|
5626
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
5625
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5627
5626
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5628
5627
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5629
5628
|
type: Injectable,
|
|
5630
5629
|
args: [{ providedIn: 'root' }]
|
|
5631
|
-
}]
|
|
5630
|
+
}] });
|
|
5632
5631
|
|
|
5633
5632
|
// *********************************
|
|
5634
5633
|
|