@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
|
var _a;
|
|
@@ -5037,9 +5036,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5037
5036
|
|
|
5038
5037
|
// *********************************
|
|
5039
5038
|
class MeetingSourceAPIApiService {
|
|
5040
|
-
constructor(
|
|
5041
|
-
this.
|
|
5042
|
-
this.
|
|
5039
|
+
constructor() {
|
|
5040
|
+
this.hostService = inject(HostService$1);
|
|
5041
|
+
this.http = inject(HttpClient);
|
|
5043
5042
|
this._host = this.hostService.hostWithScheme;
|
|
5044
5043
|
}
|
|
5045
5044
|
apiOptions() {
|
|
@@ -5056,18 +5055,18 @@ class MeetingSourceAPIApiService {
|
|
|
5056
5055
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
5057
5056
|
}
|
|
5058
5057
|
}
|
|
5059
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
5058
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5060
5059
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
5061
5060
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
5062
5061
|
type: Injectable,
|
|
5063
5062
|
args: [{ providedIn: 'root' }]
|
|
5064
|
-
}]
|
|
5063
|
+
}] });
|
|
5065
5064
|
|
|
5066
5065
|
// *********************************
|
|
5067
5066
|
class ZoomApiService {
|
|
5068
|
-
constructor(
|
|
5069
|
-
this.
|
|
5070
|
-
this.
|
|
5067
|
+
constructor() {
|
|
5068
|
+
this.hostService = inject(HostService$1);
|
|
5069
|
+
this.http = inject(HttpClient);
|
|
5071
5070
|
this._host = this.hostService.hostWithScheme;
|
|
5072
5071
|
}
|
|
5073
5072
|
apiOptions() {
|
|
@@ -5084,18 +5083,18 @@ class ZoomApiService {
|
|
|
5084
5083
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
5085
5084
|
}
|
|
5086
5085
|
}
|
|
5087
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
5086
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5088
5087
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
5089
5088
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
5090
5089
|
type: Injectable,
|
|
5091
5090
|
args: [{ providedIn: 'root' }]
|
|
5092
|
-
}]
|
|
5091
|
+
}] });
|
|
5093
5092
|
|
|
5094
5093
|
// *********************************
|
|
5095
5094
|
class GoogleMeetApiService {
|
|
5096
|
-
constructor(
|
|
5097
|
-
this.
|
|
5098
|
-
this.
|
|
5095
|
+
constructor() {
|
|
5096
|
+
this.hostService = inject(HostService$1);
|
|
5097
|
+
this.http = inject(HttpClient);
|
|
5099
5098
|
this._host = this.hostService.hostWithScheme;
|
|
5100
5099
|
}
|
|
5101
5100
|
apiOptions() {
|
|
@@ -5112,12 +5111,12 @@ class GoogleMeetApiService {
|
|
|
5112
5111
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
5113
5112
|
}
|
|
5114
5113
|
}
|
|
5115
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
5114
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5116
5115
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
5117
5116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
5118
5117
|
type: Injectable,
|
|
5119
5118
|
args: [{ providedIn: 'root' }]
|
|
5120
|
-
}]
|
|
5119
|
+
}] });
|
|
5121
5120
|
|
|
5122
5121
|
function generateMeetingPassword() {
|
|
5123
5122
|
const zoomMaxLength = 10;
|
|
@@ -5533,9 +5532,9 @@ class PagedResponse {
|
|
|
5533
5532
|
|
|
5534
5533
|
// *********************************
|
|
5535
5534
|
class MeetingBotAPIApiService {
|
|
5536
|
-
constructor(
|
|
5537
|
-
this.
|
|
5538
|
-
this.
|
|
5535
|
+
constructor() {
|
|
5536
|
+
this.hostService = inject(HostService$1);
|
|
5537
|
+
this.http = inject(HttpClient);
|
|
5539
5538
|
this._host = this.hostService.hostWithScheme;
|
|
5540
5539
|
}
|
|
5541
5540
|
apiOptions() {
|
|
@@ -5566,18 +5565,18 @@ class MeetingBotAPIApiService {
|
|
|
5566
5565
|
.pipe(map(resp => ListMeetingBotsResponse.fromProto(resp)));
|
|
5567
5566
|
}
|
|
5568
5567
|
}
|
|
5569
|
-
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [
|
|
5568
|
+
MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5570
5569
|
MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
|
|
5571
5570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
|
|
5572
5571
|
type: Injectable,
|
|
5573
5572
|
args: [{ providedIn: 'root' }]
|
|
5574
|
-
}]
|
|
5573
|
+
}] });
|
|
5575
5574
|
|
|
5576
5575
|
// *********************************
|
|
5577
5576
|
class MeetingGuestApiService {
|
|
5578
|
-
constructor(
|
|
5579
|
-
this.
|
|
5580
|
-
this.
|
|
5577
|
+
constructor() {
|
|
5578
|
+
this.hostService = inject(HostService$1);
|
|
5579
|
+
this.http = inject(HttpClient);
|
|
5581
5580
|
this._host = this.hostService.hostWithScheme;
|
|
5582
5581
|
}
|
|
5583
5582
|
apiOptions() {
|
|
@@ -5647,18 +5646,18 @@ class MeetingGuestApiService {
|
|
|
5647
5646
|
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5648
5647
|
}
|
|
5649
5648
|
}
|
|
5650
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
5649
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5651
5650
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
5652
5651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
5653
5652
|
type: Injectable,
|
|
5654
5653
|
args: [{ providedIn: 'root' }]
|
|
5655
|
-
}]
|
|
5654
|
+
}] });
|
|
5656
5655
|
|
|
5657
5656
|
// *********************************
|
|
5658
5657
|
class MeetingHostApiService {
|
|
5659
|
-
constructor(
|
|
5660
|
-
this.
|
|
5661
|
-
this.
|
|
5658
|
+
constructor() {
|
|
5659
|
+
this.hostService = inject(HostService$1);
|
|
5660
|
+
this.http = inject(HttpClient);
|
|
5662
5661
|
this._host = this.hostService.hostWithScheme;
|
|
5663
5662
|
}
|
|
5664
5663
|
apiOptions() {
|
|
@@ -5873,17 +5872,17 @@ class MeetingHostApiService {
|
|
|
5873
5872
|
.pipe(map(resp => BookMeetingResponse.fromProto(resp)));
|
|
5874
5873
|
}
|
|
5875
5874
|
getEntityAssociations(r) {
|
|
5876
|
-
const request = (r.toApiJson) ? r : new
|
|
5875
|
+
const request = (r.toApiJson) ? r : new GetEntityAssociationRequest(r);
|
|
5877
5876
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetEntityAssociations", request.toApiJson(), this.apiOptions())
|
|
5878
|
-
.pipe(map(resp =>
|
|
5877
|
+
.pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
|
|
5879
5878
|
}
|
|
5880
5879
|
}
|
|
5881
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
5880
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5882
5881
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
5883
5882
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
5884
5883
|
type: Injectable,
|
|
5885
5884
|
args: [{ providedIn: 'root' }]
|
|
5886
|
-
}]
|
|
5885
|
+
}] });
|
|
5887
5886
|
|
|
5888
5887
|
// *********************************
|
|
5889
5888
|
|