@vendasta/meetings 0.80.0 → 0.81.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 -2
- package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/index.mjs +1 -2
- 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/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -8
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/index.mjs +3 -5
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +17 -2
- package/esm2020/lib/_internal/objects/meeting-type.mjs +28 -1
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/guest/guest.service.mjs +1 -1
- package/esm2020/lib/host/host.service.mjs +11 -2
- package/esm2020/lib/index.mjs +3 -4
- package/esm2020/lib/shared/meeting-type.mjs +15 -3
- package/esm2020/lib/shared/meeting.mjs +3 -2
- package/fesm2015/vendasta-meetings.mjs +145 -502
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +145 -499
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +0 -1
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- package/lib/_internal/index.d.ts +0 -1
- package/lib/_internal/interfaces/index.d.ts +2 -4
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +5 -1
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +6 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
- package/lib/_internal/meeting-host.api.service.d.ts +3 -5
- package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
- package/lib/_internal/objects/index.d.ts +2 -4
- package/lib/_internal/objects/meeting-guest.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +5 -1
- package/lib/_internal/objects/meeting-type.d.ts +6 -0
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/guest/guest.service.d.ts +1 -0
- package/lib/host/host.service.d.ts +3 -0
- package/lib/index.d.ts +3 -4
- package/lib/shared/meeting-type.d.ts +6 -0
- package/lib/shared/meeting.d.ts +1 -0
- package/package.json +1 -1
- package/esm2020/lib/_internal/conversation-analysis.api.service.mjs +0 -50
- package/esm2020/lib/_internal/enums/conversation-analysis.enum.mjs +0 -13
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/conversation-analysis.interface.mjs +0 -2
- package/esm2020/lib/_internal/objects/annotations.mjs +0 -30
- package/esm2020/lib/_internal/objects/conversation-analysis.mjs +0 -309
- package/esm2020/lib/conversation_analysis/conversation-analysis.service.mjs +0 -37
- package/lib/_internal/conversation-analysis.api.service.d.ts +0 -15
- package/lib/_internal/enums/conversation-analysis.enum.d.ts +0 -5
- package/lib/_internal/interfaces/annotations.interface.d.ts +0 -4
- package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +0 -53
- package/lib/_internal/objects/annotations.d.ts +0 -9
- package/lib/_internal/objects/conversation-analysis.d.ts +0 -82
- package/lib/conversation_analysis/conversation-analysis.service.d.ts +0 -16
|
@@ -2,8 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
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, HttpClient } from '@angular/common/http';
|
|
5
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
7
6
|
|
|
8
7
|
// *********************************
|
|
9
8
|
// Code generated by sdkgen
|
|
@@ -131,22 +130,9 @@ var DayOfWeek;
|
|
|
131
130
|
DayOfWeek[DayOfWeek["SUNDAY"] = 7] = "SUNDAY";
|
|
132
131
|
})(DayOfWeek || (DayOfWeek = {}));
|
|
133
132
|
|
|
134
|
-
// *********************************
|
|
135
|
-
// Code generated by sdkgen
|
|
136
|
-
// DO NOT EDIT!.
|
|
137
|
-
//
|
|
138
|
-
// Enums.
|
|
139
|
-
// *********************************
|
|
140
|
-
var TranscriptSource;
|
|
141
|
-
(function (TranscriptSource) {
|
|
142
|
-
TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_UNSPECIFIED"] = 0] = "TRANSCRIPT_SOURCE_UNSPECIFIED";
|
|
143
|
-
TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_GOOGLE_MEET"] = 1] = "TRANSCRIPT_SOURCE_GOOGLE_MEET";
|
|
144
|
-
TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_GONG"] = 2] = "TRANSCRIPT_SOURCE_GONG";
|
|
145
|
-
})(TranscriptSource || (TranscriptSource = {}));
|
|
146
|
-
|
|
147
133
|
// *********************************
|
|
148
134
|
|
|
149
|
-
function enumStringToValue$
|
|
135
|
+
function enumStringToValue$a(enumRef, value) {
|
|
150
136
|
if (typeof value === 'number') {
|
|
151
137
|
return value;
|
|
152
138
|
}
|
|
@@ -157,10 +143,10 @@ class MeetingSourceInfo {
|
|
|
157
143
|
let m = new MeetingSourceInfo();
|
|
158
144
|
m = Object.assign(m, proto);
|
|
159
145
|
if (proto.source) {
|
|
160
|
-
m.source = enumStringToValue$
|
|
146
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
161
147
|
}
|
|
162
148
|
if (proto.status) {
|
|
163
|
-
m.status = enumStringToValue$
|
|
149
|
+
m.status = enumStringToValue$a(MeetingSourceStatus, proto.status);
|
|
164
150
|
}
|
|
165
151
|
return m;
|
|
166
152
|
}
|
|
@@ -241,7 +227,7 @@ class MeetingSourceQuery {
|
|
|
241
227
|
let m = new MeetingSourceQuery();
|
|
242
228
|
m = Object.assign(m, proto);
|
|
243
229
|
if (proto.source) {
|
|
244
|
-
m.source = enumStringToValue$
|
|
230
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
245
231
|
}
|
|
246
232
|
return m;
|
|
247
233
|
}
|
|
@@ -266,7 +252,7 @@ class MeetingSourceQuery {
|
|
|
266
252
|
}
|
|
267
253
|
}
|
|
268
254
|
|
|
269
|
-
function enumStringToValue$
|
|
255
|
+
function enumStringToValue$9(enumRef, value) {
|
|
270
256
|
if (typeof value === 'number') {
|
|
271
257
|
return value;
|
|
272
258
|
}
|
|
@@ -277,7 +263,7 @@ class CreateZoomMeetingRequest {
|
|
|
277
263
|
let m = new CreateZoomMeetingRequest();
|
|
278
264
|
m = Object.assign(m, proto);
|
|
279
265
|
if (proto.type) {
|
|
280
|
-
m.type = enumStringToValue$
|
|
266
|
+
m.type = enumStringToValue$9(ZoomMeetingType, proto.type);
|
|
281
267
|
}
|
|
282
268
|
if (proto.duration) {
|
|
283
269
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -345,7 +331,7 @@ class CreateZoomMeetingResponse {
|
|
|
345
331
|
m.meetingId = parseInt(proto.meetingId, 10);
|
|
346
332
|
}
|
|
347
333
|
if (proto.type) {
|
|
348
|
-
m.type = enumStringToValue$
|
|
334
|
+
m.type = enumStringToValue$9(ZoomMeetingType, proto.type);
|
|
349
335
|
}
|
|
350
336
|
if (proto.duration) {
|
|
351
337
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -437,7 +423,7 @@ class ZoomMeetingRecurrence {
|
|
|
437
423
|
let m = new ZoomMeetingRecurrence();
|
|
438
424
|
m = Object.assign(m, proto);
|
|
439
425
|
if (proto.type) {
|
|
440
|
-
m.type = enumStringToValue$
|
|
426
|
+
m.type = enumStringToValue$9(ZoomMeetingRecurrenceType, proto.type);
|
|
441
427
|
}
|
|
442
428
|
if (proto.repeatInterval) {
|
|
443
429
|
m.repeatInterval = parseInt(proto.repeatInterval, 10);
|
|
@@ -446,10 +432,10 @@ class ZoomMeetingRecurrence {
|
|
|
446
432
|
m.monthlyDay = parseInt(proto.monthlyDay, 10);
|
|
447
433
|
}
|
|
448
434
|
if (proto.monthlyWeek) {
|
|
449
|
-
m.monthlyWeek = enumStringToValue$
|
|
435
|
+
m.monthlyWeek = enumStringToValue$9(ZoomMonthlyWeek, proto.monthlyWeek);
|
|
450
436
|
}
|
|
451
437
|
if (proto.monthlyWeekDay) {
|
|
452
|
-
m.monthlyWeekDay = enumStringToValue$
|
|
438
|
+
m.monthlyWeekDay = enumStringToValue$9(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
|
|
453
439
|
}
|
|
454
440
|
if (proto.endTimes) {
|
|
455
441
|
m.endTimes = parseInt(proto.endTimes, 10);
|
|
@@ -496,10 +482,10 @@ class ZoomMeetingSettings {
|
|
|
496
482
|
let m = new ZoomMeetingSettings();
|
|
497
483
|
m = Object.assign(m, proto);
|
|
498
484
|
if (proto.approvalType) {
|
|
499
|
-
m.approvalType = enumStringToValue$
|
|
485
|
+
m.approvalType = enumStringToValue$9(ZoomApprovalType, proto.approvalType);
|
|
500
486
|
}
|
|
501
487
|
if (proto.registrationType) {
|
|
502
|
-
m.registrationType = enumStringToValue$
|
|
488
|
+
m.registrationType = enumStringToValue$9(ZoomRegistrationType, proto.registrationType);
|
|
503
489
|
}
|
|
504
490
|
return m;
|
|
505
491
|
}
|
|
@@ -642,7 +628,7 @@ class ZoomOccurrence {
|
|
|
642
628
|
}
|
|
643
629
|
}
|
|
644
630
|
|
|
645
|
-
function enumStringToValue$
|
|
631
|
+
function enumStringToValue$8(enumRef, value) {
|
|
646
632
|
if (typeof value === 'number') {
|
|
647
633
|
return value;
|
|
648
634
|
}
|
|
@@ -1181,119 +1167,6 @@ class GoogleMeetMeetingReminders {
|
|
|
1181
1167
|
}
|
|
1182
1168
|
}
|
|
1183
1169
|
|
|
1184
|
-
function enumStringToValue$9(enumRef, value) {
|
|
1185
|
-
if (typeof value === 'number') {
|
|
1186
|
-
return value;
|
|
1187
|
-
}
|
|
1188
|
-
return enumRef[value];
|
|
1189
|
-
}
|
|
1190
|
-
class TimeOfDay {
|
|
1191
|
-
static fromProto(proto) {
|
|
1192
|
-
let m = new TimeOfDay();
|
|
1193
|
-
m = Object.assign(m, proto);
|
|
1194
|
-
return m;
|
|
1195
|
-
}
|
|
1196
|
-
constructor(kwargs) {
|
|
1197
|
-
if (!kwargs) {
|
|
1198
|
-
return;
|
|
1199
|
-
}
|
|
1200
|
-
Object.assign(this, kwargs);
|
|
1201
|
-
}
|
|
1202
|
-
toApiJson() {
|
|
1203
|
-
const toReturn = {};
|
|
1204
|
-
if (typeof this.hours !== 'undefined') {
|
|
1205
|
-
toReturn['hours'] = this.hours;
|
|
1206
|
-
}
|
|
1207
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1208
|
-
toReturn['minutes'] = this.minutes;
|
|
1209
|
-
}
|
|
1210
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1211
|
-
toReturn['seconds'] = this.seconds;
|
|
1212
|
-
}
|
|
1213
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1214
|
-
toReturn['nanos'] = this.nanos;
|
|
1215
|
-
}
|
|
1216
|
-
return toReturn;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
function enumStringToValue$8(enumRef, value) {
|
|
1221
|
-
if (typeof value === 'number') {
|
|
1222
|
-
return value;
|
|
1223
|
-
}
|
|
1224
|
-
return enumRef[value];
|
|
1225
|
-
}
|
|
1226
|
-
class DateTime {
|
|
1227
|
-
static fromProto(proto) {
|
|
1228
|
-
let m = new DateTime();
|
|
1229
|
-
m = Object.assign(m, proto);
|
|
1230
|
-
if (proto.timeZone) {
|
|
1231
|
-
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
1232
|
-
}
|
|
1233
|
-
return m;
|
|
1234
|
-
}
|
|
1235
|
-
constructor(kwargs) {
|
|
1236
|
-
if (!kwargs) {
|
|
1237
|
-
return;
|
|
1238
|
-
}
|
|
1239
|
-
Object.assign(this, kwargs);
|
|
1240
|
-
}
|
|
1241
|
-
toApiJson() {
|
|
1242
|
-
const toReturn = {};
|
|
1243
|
-
if (typeof this.year !== 'undefined') {
|
|
1244
|
-
toReturn['year'] = this.year;
|
|
1245
|
-
}
|
|
1246
|
-
if (typeof this.month !== 'undefined') {
|
|
1247
|
-
toReturn['month'] = this.month;
|
|
1248
|
-
}
|
|
1249
|
-
if (typeof this.day !== 'undefined') {
|
|
1250
|
-
toReturn['day'] = this.day;
|
|
1251
|
-
}
|
|
1252
|
-
if (typeof this.hours !== 'undefined') {
|
|
1253
|
-
toReturn['hours'] = this.hours;
|
|
1254
|
-
}
|
|
1255
|
-
if (typeof this.minutes !== 'undefined') {
|
|
1256
|
-
toReturn['minutes'] = this.minutes;
|
|
1257
|
-
}
|
|
1258
|
-
if (typeof this.seconds !== 'undefined') {
|
|
1259
|
-
toReturn['seconds'] = this.seconds;
|
|
1260
|
-
}
|
|
1261
|
-
if (typeof this.nanos !== 'undefined') {
|
|
1262
|
-
toReturn['nanos'] = this.nanos;
|
|
1263
|
-
}
|
|
1264
|
-
if (typeof this.utcOffset !== 'undefined') {
|
|
1265
|
-
toReturn['utcOffset'] = this.utcOffset;
|
|
1266
|
-
}
|
|
1267
|
-
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
1268
|
-
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
1269
|
-
}
|
|
1270
|
-
return toReturn;
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
class TimeZone {
|
|
1274
|
-
static fromProto(proto) {
|
|
1275
|
-
let m = new TimeZone();
|
|
1276
|
-
m = Object.assign(m, proto);
|
|
1277
|
-
return m;
|
|
1278
|
-
}
|
|
1279
|
-
constructor(kwargs) {
|
|
1280
|
-
if (!kwargs) {
|
|
1281
|
-
return;
|
|
1282
|
-
}
|
|
1283
|
-
Object.assign(this, kwargs);
|
|
1284
|
-
}
|
|
1285
|
-
toApiJson() {
|
|
1286
|
-
const toReturn = {};
|
|
1287
|
-
if (typeof this.id !== 'undefined') {
|
|
1288
|
-
toReturn['id'] = this.id;
|
|
1289
|
-
}
|
|
1290
|
-
if (typeof this.version !== 'undefined') {
|
|
1291
|
-
toReturn['version'] = this.version;
|
|
1292
|
-
}
|
|
1293
|
-
return toReturn;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
1170
|
function enumStringToValue$7(enumRef, value) {
|
|
1298
1171
|
if (typeof value === 'number') {
|
|
1299
1172
|
return value;
|
|
@@ -1785,6 +1658,15 @@ class MeetingType {
|
|
|
1785
1658
|
if (proto.form) {
|
|
1786
1659
|
m.form = Form.fromProto(proto.form);
|
|
1787
1660
|
}
|
|
1661
|
+
if (proto.availabilityIncrement) {
|
|
1662
|
+
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
1663
|
+
}
|
|
1664
|
+
if (proto.bufferDurationAfterMeeting) {
|
|
1665
|
+
m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
|
|
1666
|
+
}
|
|
1667
|
+
if (proto.noticeTime) {
|
|
1668
|
+
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1669
|
+
}
|
|
1788
1670
|
return m;
|
|
1789
1671
|
}
|
|
1790
1672
|
constructor(kwargs) {
|
|
@@ -1831,6 +1713,24 @@ class MeetingType {
|
|
|
1831
1713
|
if (typeof this.bookingUrl !== 'undefined') {
|
|
1832
1714
|
toReturn['bookingUrl'] = this.bookingUrl;
|
|
1833
1715
|
}
|
|
1716
|
+
if (typeof this.availabilityIncrement !== 'undefined') {
|
|
1717
|
+
toReturn['availabilityIncrement'] = this.availabilityIncrement;
|
|
1718
|
+
}
|
|
1719
|
+
if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
|
|
1720
|
+
toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
|
|
1721
|
+
}
|
|
1722
|
+
if (typeof this.noticeTime !== 'undefined') {
|
|
1723
|
+
toReturn['noticeTime'] = this.noticeTime;
|
|
1724
|
+
}
|
|
1725
|
+
if (typeof this.location !== 'undefined') {
|
|
1726
|
+
toReturn['location'] = this.location;
|
|
1727
|
+
}
|
|
1728
|
+
if (typeof this.isClientSiteMeeting !== 'undefined') {
|
|
1729
|
+
toReturn['isClientSiteMeeting'] = this.isClientSiteMeeting;
|
|
1730
|
+
}
|
|
1731
|
+
if (typeof this.locationGuidelines !== 'undefined') {
|
|
1732
|
+
toReturn['locationGuidelines'] = this.locationGuidelines;
|
|
1733
|
+
}
|
|
1834
1734
|
return toReturn;
|
|
1835
1735
|
}
|
|
1836
1736
|
}
|
|
@@ -1933,6 +1833,9 @@ class BookMeetingRequest {
|
|
|
1933
1833
|
if (typeof this.recaptchaToken !== 'undefined') {
|
|
1934
1834
|
toReturn['recaptchaToken'] = this.recaptchaToken;
|
|
1935
1835
|
}
|
|
1836
|
+
if (typeof this.location !== 'undefined') {
|
|
1837
|
+
toReturn['location'] = this.location;
|
|
1838
|
+
}
|
|
1936
1839
|
return toReturn;
|
|
1937
1840
|
}
|
|
1938
1841
|
}
|
|
@@ -2723,6 +2626,9 @@ class CreateMeetingTypeRequest {
|
|
|
2723
2626
|
if (proto.meetingType) {
|
|
2724
2627
|
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
2725
2628
|
}
|
|
2629
|
+
if (proto.fieldMask) {
|
|
2630
|
+
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
2631
|
+
}
|
|
2726
2632
|
return m;
|
|
2727
2633
|
}
|
|
2728
2634
|
constructor(kwargs) {
|
|
@@ -2736,6 +2642,12 @@ class CreateMeetingTypeRequest {
|
|
|
2736
2642
|
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
2737
2643
|
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
2738
2644
|
}
|
|
2645
|
+
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
2646
|
+
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
2647
|
+
}
|
|
2648
|
+
if (typeof this.hostId !== 'undefined') {
|
|
2649
|
+
toReturn['hostId'] = this.hostId;
|
|
2650
|
+
}
|
|
2739
2651
|
return toReturn;
|
|
2740
2652
|
}
|
|
2741
2653
|
}
|
|
@@ -3642,6 +3554,9 @@ class Meeting {
|
|
|
3642
3554
|
if (typeof this.attachments !== 'undefined' && this.attachments !== null) {
|
|
3643
3555
|
toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;
|
|
3644
3556
|
}
|
|
3557
|
+
if (typeof this.location !== 'undefined') {
|
|
3558
|
+
toReturn['location'] = this.location;
|
|
3559
|
+
}
|
|
3645
3560
|
return toReturn;
|
|
3646
3561
|
}
|
|
3647
3562
|
}
|
|
@@ -3949,6 +3864,9 @@ class UpdateMeetingTypeRequest {
|
|
|
3949
3864
|
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
3950
3865
|
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
3951
3866
|
}
|
|
3867
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3868
|
+
toReturn['hostId'] = this.hostId;
|
|
3869
|
+
}
|
|
3952
3870
|
return toReturn;
|
|
3953
3871
|
}
|
|
3954
3872
|
}
|
|
@@ -3988,96 +3906,10 @@ function enumStringToValue$1(enumRef, value) {
|
|
|
3988
3906
|
}
|
|
3989
3907
|
return enumRef[value];
|
|
3990
3908
|
}
|
|
3991
|
-
class
|
|
3992
|
-
static fromProto(proto) {
|
|
3993
|
-
let m = new CreateRawTranscriptRequest();
|
|
3994
|
-
m = Object.assign(m, proto);
|
|
3995
|
-
if (proto.rawTranscript) {
|
|
3996
|
-
m.rawTranscript = RawTranscript.fromProto(proto.rawTranscript);
|
|
3997
|
-
}
|
|
3998
|
-
return m;
|
|
3999
|
-
}
|
|
4000
|
-
constructor(kwargs) {
|
|
4001
|
-
if (!kwargs) {
|
|
4002
|
-
return;
|
|
4003
|
-
}
|
|
4004
|
-
Object.assign(this, kwargs);
|
|
4005
|
-
}
|
|
4006
|
-
toApiJson() {
|
|
4007
|
-
const toReturn = {};
|
|
4008
|
-
if (typeof this.rawTranscript !== 'undefined' && this.rawTranscript !== null) {
|
|
4009
|
-
toReturn['rawTranscript'] = 'toApiJson' in this.rawTranscript ? this.rawTranscript.toApiJson() : this.rawTranscript;
|
|
4010
|
-
}
|
|
4011
|
-
return toReturn;
|
|
4012
|
-
}
|
|
4013
|
-
}
|
|
4014
|
-
class CreateRawTranscriptResponse {
|
|
4015
|
-
static fromProto(proto) {
|
|
4016
|
-
let m = new CreateRawTranscriptResponse();
|
|
4017
|
-
m = Object.assign(m, proto);
|
|
4018
|
-
return m;
|
|
4019
|
-
}
|
|
4020
|
-
constructor(kwargs) {
|
|
4021
|
-
if (!kwargs) {
|
|
4022
|
-
return;
|
|
4023
|
-
}
|
|
4024
|
-
Object.assign(this, kwargs);
|
|
4025
|
-
}
|
|
4026
|
-
toApiJson() {
|
|
4027
|
-
const toReturn = {};
|
|
4028
|
-
if (typeof this.id !== 'undefined') {
|
|
4029
|
-
toReturn['id'] = this.id;
|
|
4030
|
-
}
|
|
4031
|
-
return toReturn;
|
|
4032
|
-
}
|
|
4033
|
-
}
|
|
4034
|
-
class ListProcessedTranscriptsRequestFilters {
|
|
4035
|
-
static fromProto(proto) {
|
|
4036
|
-
let m = new ListProcessedTranscriptsRequestFilters();
|
|
4037
|
-
m = Object.assign(m, proto);
|
|
4038
|
-
return m;
|
|
4039
|
-
}
|
|
4040
|
-
constructor(kwargs) {
|
|
4041
|
-
if (!kwargs) {
|
|
4042
|
-
return;
|
|
4043
|
-
}
|
|
4044
|
-
Object.assign(this, kwargs);
|
|
4045
|
-
}
|
|
4046
|
-
toApiJson() {
|
|
4047
|
-
const toReturn = {};
|
|
4048
|
-
if (typeof this.namespace !== 'undefined') {
|
|
4049
|
-
toReturn['namespace'] = this.namespace;
|
|
4050
|
-
}
|
|
4051
|
-
return toReturn;
|
|
4052
|
-
}
|
|
4053
|
-
}
|
|
4054
|
-
class GetProcessedTranscriptsRequest {
|
|
4055
|
-
static fromProto(proto) {
|
|
4056
|
-
let m = new GetProcessedTranscriptsRequest();
|
|
4057
|
-
m = Object.assign(m, proto);
|
|
4058
|
-
return m;
|
|
4059
|
-
}
|
|
4060
|
-
constructor(kwargs) {
|
|
4061
|
-
if (!kwargs) {
|
|
4062
|
-
return;
|
|
4063
|
-
}
|
|
4064
|
-
Object.assign(this, kwargs);
|
|
4065
|
-
}
|
|
4066
|
-
toApiJson() {
|
|
4067
|
-
const toReturn = {};
|
|
4068
|
-
if (typeof this.id !== 'undefined') {
|
|
4069
|
-
toReturn['id'] = this.id;
|
|
4070
|
-
}
|
|
4071
|
-
return toReturn;
|
|
4072
|
-
}
|
|
4073
|
-
}
|
|
4074
|
-
class GetProcessedTranscriptsResponse {
|
|
3909
|
+
class TimeOfDay {
|
|
4075
3910
|
static fromProto(proto) {
|
|
4076
|
-
let m = new
|
|
3911
|
+
let m = new TimeOfDay();
|
|
4077
3912
|
m = Object.assign(m, proto);
|
|
4078
|
-
if (proto.processedTranscript) {
|
|
4079
|
-
m.processedTranscript = ProcessedTranscript.fromProto(proto.processedTranscript);
|
|
4080
|
-
}
|
|
4081
3913
|
return m;
|
|
4082
3914
|
}
|
|
4083
3915
|
constructor(kwargs) {
|
|
@@ -4088,91 +3920,34 @@ class GetProcessedTranscriptsResponse {
|
|
|
4088
3920
|
}
|
|
4089
3921
|
toApiJson() {
|
|
4090
3922
|
const toReturn = {};
|
|
4091
|
-
if (typeof this.
|
|
4092
|
-
toReturn['
|
|
4093
|
-
}
|
|
4094
|
-
return toReturn;
|
|
4095
|
-
}
|
|
4096
|
-
}
|
|
4097
|
-
class ListProcessedTranscriptsRequest {
|
|
4098
|
-
static fromProto(proto) {
|
|
4099
|
-
let m = new ListProcessedTranscriptsRequest();
|
|
4100
|
-
m = Object.assign(m, proto);
|
|
4101
|
-
if (proto.filters) {
|
|
4102
|
-
m.filters = ListProcessedTranscriptsRequestFilters.fromProto(proto.filters);
|
|
4103
|
-
}
|
|
4104
|
-
if (proto.pagingOptions) {
|
|
4105
|
-
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
3923
|
+
if (typeof this.hours !== 'undefined') {
|
|
3924
|
+
toReturn['hours'] = this.hours;
|
|
4106
3925
|
}
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
constructor(kwargs) {
|
|
4110
|
-
if (!kwargs) {
|
|
4111
|
-
return;
|
|
3926
|
+
if (typeof this.minutes !== 'undefined') {
|
|
3927
|
+
toReturn['minutes'] = this.minutes;
|
|
4112
3928
|
}
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
toApiJson() {
|
|
4116
|
-
const toReturn = {};
|
|
4117
|
-
if (typeof this.filters !== 'undefined' && this.filters !== null) {
|
|
4118
|
-
toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;
|
|
3929
|
+
if (typeof this.seconds !== 'undefined') {
|
|
3930
|
+
toReturn['seconds'] = this.seconds;
|
|
4119
3931
|
}
|
|
4120
|
-
if (typeof this.
|
|
4121
|
-
toReturn['
|
|
3932
|
+
if (typeof this.nanos !== 'undefined') {
|
|
3933
|
+
toReturn['nanos'] = this.nanos;
|
|
4122
3934
|
}
|
|
4123
3935
|
return toReturn;
|
|
4124
3936
|
}
|
|
4125
3937
|
}
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
if (proto.processedTranscripts) {
|
|
4131
|
-
m.processedTranscripts = proto.processedTranscripts.map(ProcessedTranscript.fromProto);
|
|
4132
|
-
}
|
|
4133
|
-
if (proto.metadata) {
|
|
4134
|
-
m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
|
|
4135
|
-
}
|
|
4136
|
-
return m;
|
|
4137
|
-
}
|
|
4138
|
-
constructor(kwargs) {
|
|
4139
|
-
if (!kwargs) {
|
|
4140
|
-
return;
|
|
4141
|
-
}
|
|
4142
|
-
Object.assign(this, kwargs);
|
|
4143
|
-
}
|
|
4144
|
-
toApiJson() {
|
|
4145
|
-
const toReturn = {};
|
|
4146
|
-
if (typeof this.processedTranscripts !== 'undefined' && this.processedTranscripts !== null) {
|
|
4147
|
-
toReturn['processedTranscripts'] = 'toApiJson' in this.processedTranscripts ? this.processedTranscripts.toApiJson() : this.processedTranscripts;
|
|
4148
|
-
}
|
|
4149
|
-
if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
|
|
4150
|
-
toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
|
|
4151
|
-
}
|
|
4152
|
-
return toReturn;
|
|
3938
|
+
|
|
3939
|
+
function enumStringToValue(enumRef, value) {
|
|
3940
|
+
if (typeof value === 'number') {
|
|
3941
|
+
return value;
|
|
4153
3942
|
}
|
|
3943
|
+
return enumRef[value];
|
|
4154
3944
|
}
|
|
4155
|
-
class
|
|
3945
|
+
class DateTime {
|
|
4156
3946
|
static fromProto(proto) {
|
|
4157
|
-
let m = new
|
|
3947
|
+
let m = new DateTime();
|
|
4158
3948
|
m = Object.assign(m, proto);
|
|
4159
|
-
if (proto.
|
|
4160
|
-
m.
|
|
4161
|
-
}
|
|
4162
|
-
if (proto.sentiment) {
|
|
4163
|
-
m.sentiment = parseInt(proto.sentiment, 10);
|
|
4164
|
-
}
|
|
4165
|
-
if (proto.salesScore) {
|
|
4166
|
-
m.salesScore = parseInt(proto.salesScore, 10);
|
|
4167
|
-
}
|
|
4168
|
-
if (proto.created) {
|
|
4169
|
-
m.created = new Date(proto.created);
|
|
4170
|
-
}
|
|
4171
|
-
if (proto.updated) {
|
|
4172
|
-
m.updated = new Date(proto.updated);
|
|
4173
|
-
}
|
|
4174
|
-
if (proto.deleted) {
|
|
4175
|
-
m.deleted = new Date(proto.deleted);
|
|
3949
|
+
if (proto.timeZone) {
|
|
3950
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
4176
3951
|
}
|
|
4177
3952
|
return m;
|
|
4178
3953
|
}
|
|
@@ -4184,76 +3959,40 @@ class ProcessedTranscript {
|
|
|
4184
3959
|
}
|
|
4185
3960
|
toApiJson() {
|
|
4186
3961
|
const toReturn = {};
|
|
4187
|
-
if (typeof this.
|
|
4188
|
-
toReturn['
|
|
4189
|
-
}
|
|
4190
|
-
if (typeof this.namespace !== 'undefined') {
|
|
4191
|
-
toReturn['namespace'] = this.namespace;
|
|
4192
|
-
}
|
|
4193
|
-
if (typeof this.source !== 'undefined') {
|
|
4194
|
-
toReturn['source'] = this.source;
|
|
4195
|
-
}
|
|
4196
|
-
if (typeof this.title !== 'undefined') {
|
|
4197
|
-
toReturn['title'] = this.title;
|
|
4198
|
-
}
|
|
4199
|
-
if (typeof this.summary !== 'undefined') {
|
|
4200
|
-
toReturn['summary'] = this.summary;
|
|
4201
|
-
}
|
|
4202
|
-
if (typeof this.keywords !== 'undefined') {
|
|
4203
|
-
toReturn['keywords'] = this.keywords;
|
|
4204
|
-
}
|
|
4205
|
-
if (typeof this.keyTakeaways !== 'undefined') {
|
|
4206
|
-
toReturn['keyTakeaways'] = this.keyTakeaways;
|
|
4207
|
-
}
|
|
4208
|
-
if (typeof this.actionItems !== 'undefined') {
|
|
4209
|
-
toReturn['actionItems'] = this.actionItems;
|
|
4210
|
-
}
|
|
4211
|
-
if (typeof this.sentiment !== 'undefined') {
|
|
4212
|
-
toReturn['sentiment'] = this.sentiment;
|
|
3962
|
+
if (typeof this.year !== 'undefined') {
|
|
3963
|
+
toReturn['year'] = this.year;
|
|
4213
3964
|
}
|
|
4214
|
-
if (typeof this.
|
|
4215
|
-
toReturn['
|
|
3965
|
+
if (typeof this.month !== 'undefined') {
|
|
3966
|
+
toReturn['month'] = this.month;
|
|
4216
3967
|
}
|
|
4217
|
-
if (typeof this.
|
|
4218
|
-
toReturn['
|
|
3968
|
+
if (typeof this.day !== 'undefined') {
|
|
3969
|
+
toReturn['day'] = this.day;
|
|
4219
3970
|
}
|
|
4220
|
-
if (typeof this.
|
|
4221
|
-
toReturn['
|
|
3971
|
+
if (typeof this.hours !== 'undefined') {
|
|
3972
|
+
toReturn['hours'] = this.hours;
|
|
4222
3973
|
}
|
|
4223
|
-
if (typeof this.
|
|
4224
|
-
toReturn['
|
|
3974
|
+
if (typeof this.minutes !== 'undefined') {
|
|
3975
|
+
toReturn['minutes'] = this.minutes;
|
|
4225
3976
|
}
|
|
4226
|
-
if (typeof this.
|
|
4227
|
-
toReturn['
|
|
3977
|
+
if (typeof this.seconds !== 'undefined') {
|
|
3978
|
+
toReturn['seconds'] = this.seconds;
|
|
4228
3979
|
}
|
|
4229
|
-
if (typeof this.
|
|
4230
|
-
toReturn['
|
|
3980
|
+
if (typeof this.nanos !== 'undefined') {
|
|
3981
|
+
toReturn['nanos'] = this.nanos;
|
|
4231
3982
|
}
|
|
4232
|
-
if (typeof this.
|
|
4233
|
-
toReturn['
|
|
3983
|
+
if (typeof this.utcOffset !== 'undefined') {
|
|
3984
|
+
toReturn['utcOffset'] = this.utcOffset;
|
|
4234
3985
|
}
|
|
4235
|
-
if (typeof this.
|
|
4236
|
-
toReturn['
|
|
3986
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
3987
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
4237
3988
|
}
|
|
4238
3989
|
return toReturn;
|
|
4239
3990
|
}
|
|
4240
3991
|
}
|
|
4241
|
-
class
|
|
3992
|
+
class TimeZone {
|
|
4242
3993
|
static fromProto(proto) {
|
|
4243
|
-
let m = new
|
|
3994
|
+
let m = new TimeZone();
|
|
4244
3995
|
m = Object.assign(m, proto);
|
|
4245
|
-
if (proto.source) {
|
|
4246
|
-
m.source = enumStringToValue$1(TranscriptSource, proto.source);
|
|
4247
|
-
}
|
|
4248
|
-
if (proto.created) {
|
|
4249
|
-
m.created = new Date(proto.created);
|
|
4250
|
-
}
|
|
4251
|
-
if (proto.updated) {
|
|
4252
|
-
m.updated = new Date(proto.updated);
|
|
4253
|
-
}
|
|
4254
|
-
if (proto.deleted) {
|
|
4255
|
-
m.deleted = new Date(proto.deleted);
|
|
4256
|
-
}
|
|
4257
3996
|
return m;
|
|
4258
3997
|
}
|
|
4259
3998
|
constructor(kwargs) {
|
|
@@ -4267,53 +4006,8 @@ class RawTranscript {
|
|
|
4267
4006
|
if (typeof this.id !== 'undefined') {
|
|
4268
4007
|
toReturn['id'] = this.id;
|
|
4269
4008
|
}
|
|
4270
|
-
if (typeof this.
|
|
4271
|
-
toReturn['
|
|
4272
|
-
}
|
|
4273
|
-
if (typeof this.transcript !== 'undefined') {
|
|
4274
|
-
toReturn['transcript'] = this.transcript;
|
|
4275
|
-
}
|
|
4276
|
-
if (typeof this.source !== 'undefined') {
|
|
4277
|
-
toReturn['source'] = this.source;
|
|
4278
|
-
}
|
|
4279
|
-
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
4280
|
-
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
4281
|
-
}
|
|
4282
|
-
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
4283
|
-
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
4284
|
-
}
|
|
4285
|
-
if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
|
|
4286
|
-
toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
|
|
4287
|
-
}
|
|
4288
|
-
return toReturn;
|
|
4289
|
-
}
|
|
4290
|
-
}
|
|
4291
|
-
|
|
4292
|
-
function enumStringToValue(enumRef, value) {
|
|
4293
|
-
if (typeof value === 'number') {
|
|
4294
|
-
return value;
|
|
4295
|
-
}
|
|
4296
|
-
return enumRef[value];
|
|
4297
|
-
}
|
|
4298
|
-
class Access {
|
|
4299
|
-
static fromProto(proto) {
|
|
4300
|
-
let m = new Access();
|
|
4301
|
-
m = Object.assign(m, proto);
|
|
4302
|
-
return m;
|
|
4303
|
-
}
|
|
4304
|
-
constructor(kwargs) {
|
|
4305
|
-
if (!kwargs) {
|
|
4306
|
-
return;
|
|
4307
|
-
}
|
|
4308
|
-
Object.assign(this, kwargs);
|
|
4309
|
-
}
|
|
4310
|
-
toApiJson() {
|
|
4311
|
-
const toReturn = {};
|
|
4312
|
-
if (typeof this.scope !== 'undefined') {
|
|
4313
|
-
toReturn['scope'] = this.scope;
|
|
4314
|
-
}
|
|
4315
|
-
if (typeof this.public !== 'undefined') {
|
|
4316
|
-
toReturn['public'] = this.public;
|
|
4009
|
+
if (typeof this.version !== 'undefined') {
|
|
4010
|
+
toReturn['version'] = this.version;
|
|
4317
4011
|
}
|
|
4318
4012
|
return toReturn;
|
|
4319
4013
|
}
|
|
@@ -4346,9 +4040,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4346
4040
|
|
|
4347
4041
|
// *********************************
|
|
4348
4042
|
class MeetingSourceAPIApiService {
|
|
4349
|
-
constructor(
|
|
4350
|
-
this.
|
|
4351
|
-
this.
|
|
4043
|
+
constructor() {
|
|
4044
|
+
this.hostService = inject(HostService$1);
|
|
4045
|
+
this.http = inject(HttpClient);
|
|
4352
4046
|
this._host = this.hostService.hostWithScheme;
|
|
4353
4047
|
}
|
|
4354
4048
|
apiOptions() {
|
|
@@ -4365,12 +4059,12 @@ class MeetingSourceAPIApiService {
|
|
|
4365
4059
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4366
4060
|
}
|
|
4367
4061
|
}
|
|
4368
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
4062
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4369
4063
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4370
4064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4371
4065
|
type: Injectable,
|
|
4372
4066
|
args: [{ providedIn: 'root' }]
|
|
4373
|
-
}]
|
|
4067
|
+
}] });
|
|
4374
4068
|
|
|
4375
4069
|
// *********************************
|
|
4376
4070
|
class ZoomApiService {
|
|
@@ -4402,9 +4096,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4402
4096
|
|
|
4403
4097
|
// *********************************
|
|
4404
4098
|
class GoogleMeetApiService {
|
|
4405
|
-
constructor(
|
|
4406
|
-
this.
|
|
4407
|
-
this.
|
|
4099
|
+
constructor() {
|
|
4100
|
+
this.hostService = inject(HostService$1);
|
|
4101
|
+
this.http = inject(HttpClient);
|
|
4408
4102
|
this._host = this.hostService.hostWithScheme;
|
|
4409
4103
|
}
|
|
4410
4104
|
apiOptions() {
|
|
@@ -4421,12 +4115,12 @@ class GoogleMeetApiService {
|
|
|
4421
4115
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4422
4116
|
}
|
|
4423
4117
|
}
|
|
4424
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
4118
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4425
4119
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4426
4120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4427
4121
|
type: Injectable,
|
|
4428
4122
|
args: [{ providedIn: 'root' }]
|
|
4429
|
-
}]
|
|
4123
|
+
}] });
|
|
4430
4124
|
|
|
4431
4125
|
function generateMeetingPassword() {
|
|
4432
4126
|
const zoomMaxLength = 10;
|
|
@@ -4583,7 +4277,7 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4583
4277
|
}
|
|
4584
4278
|
|
|
4585
4279
|
// *********************************
|
|
4586
|
-
class
|
|
4280
|
+
class MeetingGuestApiService {
|
|
4587
4281
|
constructor() {
|
|
4588
4282
|
this.hostService = inject(HostService$1);
|
|
4589
4283
|
this.http = inject(HttpClient);
|
|
@@ -4597,44 +4291,6 @@ class ConversationAnalysisApiService {
|
|
|
4597
4291
|
withCredentials: true
|
|
4598
4292
|
};
|
|
4599
4293
|
}
|
|
4600
|
-
createRawTranscript(r) {
|
|
4601
|
-
const request = (r.toApiJson) ? r : new CreateRawTranscriptRequest(r);
|
|
4602
|
-
return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/CreateRawTranscript", request.toApiJson(), this.apiOptions())
|
|
4603
|
-
.pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
|
|
4604
|
-
}
|
|
4605
|
-
listProcessedTranscripts(r) {
|
|
4606
|
-
const request = (r.toApiJson) ? r : new ListProcessedTranscriptsRequest(r);
|
|
4607
|
-
return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/ListProcessedTranscripts", request.toApiJson(), this.apiOptions())
|
|
4608
|
-
.pipe(map(resp => ListProcessedTranscriptsResponse.fromProto(resp)));
|
|
4609
|
-
}
|
|
4610
|
-
getProcessedTranscripts(r) {
|
|
4611
|
-
const request = (r.toApiJson) ? r : new GetProcessedTranscriptsRequest(r);
|
|
4612
|
-
return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/GetProcessedTranscripts", request.toApiJson(), this.apiOptions())
|
|
4613
|
-
.pipe(map(resp => GetProcessedTranscriptsResponse.fromProto(resp)));
|
|
4614
|
-
}
|
|
4615
|
-
}
|
|
4616
|
-
ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4617
|
-
ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
|
|
4618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, decorators: [{
|
|
4619
|
-
type: Injectable,
|
|
4620
|
-
args: [{ providedIn: 'root' }]
|
|
4621
|
-
}] });
|
|
4622
|
-
|
|
4623
|
-
// *********************************
|
|
4624
|
-
class MeetingGuestApiService {
|
|
4625
|
-
constructor(http, hostService) {
|
|
4626
|
-
this.http = http;
|
|
4627
|
-
this.hostService = hostService;
|
|
4628
|
-
this._host = this.hostService.hostWithScheme;
|
|
4629
|
-
}
|
|
4630
|
-
apiOptions() {
|
|
4631
|
-
return {
|
|
4632
|
-
headers: new HttpHeaders({
|
|
4633
|
-
'Content-Type': 'application/json'
|
|
4634
|
-
}),
|
|
4635
|
-
withCredentials: true
|
|
4636
|
-
};
|
|
4637
|
-
}
|
|
4638
4294
|
listMeetingTypes(r) {
|
|
4639
4295
|
const request = (r.toApiJson) ? r : new ListMeetingTypesRequest(r);
|
|
4640
4296
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListMeetingTypes", request.toApiJson(), this.apiOptions())
|
|
@@ -4684,18 +4340,18 @@ class MeetingGuestApiService {
|
|
|
4684
4340
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4685
4341
|
}
|
|
4686
4342
|
}
|
|
4687
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
4343
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4688
4344
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4689
4345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4690
4346
|
type: Injectable,
|
|
4691
4347
|
args: [{ providedIn: 'root' }]
|
|
4692
|
-
}]
|
|
4348
|
+
}] });
|
|
4693
4349
|
|
|
4694
4350
|
// *********************************
|
|
4695
4351
|
class MeetingHostApiService {
|
|
4696
|
-
constructor(
|
|
4697
|
-
this.
|
|
4698
|
-
this.
|
|
4352
|
+
constructor() {
|
|
4353
|
+
this.hostService = inject(HostService$1);
|
|
4354
|
+
this.http = inject(HttpClient);
|
|
4699
4355
|
this._host = this.hostService.hostWithScheme;
|
|
4700
4356
|
}
|
|
4701
4357
|
apiOptions() {
|
|
@@ -4850,12 +4506,12 @@ class MeetingHostApiService {
|
|
|
4850
4506
|
.pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
|
|
4851
4507
|
}
|
|
4852
4508
|
}
|
|
4853
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
4509
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4854
4510
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
4855
4511
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
4856
4512
|
type: Injectable,
|
|
4857
4513
|
args: [{ providedIn: 'root' }]
|
|
4858
|
-
}]
|
|
4514
|
+
}] });
|
|
4859
4515
|
|
|
4860
4516
|
// *********************************
|
|
4861
4517
|
|
|
@@ -4966,7 +4622,13 @@ function MeetingTypeFromApi(req) {
|
|
|
4966
4622
|
description: req.meetingTypeApi.description || '',
|
|
4967
4623
|
hexColor: req.meetingTypeApi.hexColor || '',
|
|
4968
4624
|
form: form,
|
|
4969
|
-
hostUserIds: req.meetingTypeApi.hostUserIds || []
|
|
4625
|
+
hostUserIds: req.meetingTypeApi.hostUserIds || [],
|
|
4626
|
+
availabilityIncrement: req.meetingTypeApi.availabilityIncrement || -1,
|
|
4627
|
+
bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting || -1,
|
|
4628
|
+
noticeTime: req.meetingTypeApi.noticeTime || -1,
|
|
4629
|
+
location: req.meetingTypeApi.location || '',
|
|
4630
|
+
locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
|
|
4631
|
+
isClientSiteMeeting: req.meetingTypeApi.isClientSiteMeeting || false
|
|
4970
4632
|
};
|
|
4971
4633
|
}
|
|
4972
4634
|
function MeetingTypeToApi(req) {
|
|
@@ -4983,7 +4645,13 @@ function MeetingTypeToApi(req) {
|
|
|
4983
4645
|
description: m.description || undefined,
|
|
4984
4646
|
duration: m.duration ? m.duration : undefined,
|
|
4985
4647
|
form: m.form || undefined,
|
|
4986
|
-
hostUserIds: m.hostUserIds || undefined
|
|
4648
|
+
hostUserIds: m.hostUserIds || undefined,
|
|
4649
|
+
availabilityIncrement: m.availabilityIncrement || undefined,
|
|
4650
|
+
bufferDurationAfterMeeting: m.bufferDurationAfterMeeting || undefined,
|
|
4651
|
+
noticeTime: m.noticeTime || undefined,
|
|
4652
|
+
location: m.location || undefined,
|
|
4653
|
+
locationGuidelines: m.locationGuidelines || undefined,
|
|
4654
|
+
isClientSiteMeeting: m.isClientSiteMeeting || undefined,
|
|
4987
4655
|
};
|
|
4988
4656
|
}
|
|
4989
4657
|
|
|
@@ -5041,7 +4709,8 @@ function meetingFromApi(meetingApi) {
|
|
|
5041
4709
|
fileUrl: a.fileUrl || '',
|
|
5042
4710
|
fileType: a.fileType || '',
|
|
5043
4711
|
};
|
|
5044
|
-
})
|
|
4712
|
+
}),
|
|
4713
|
+
location: meetingApi.location || '',
|
|
5045
4714
|
};
|
|
5046
4715
|
}
|
|
5047
4716
|
function answersFromAPI(formAnswers) {
|
|
@@ -5526,7 +5195,15 @@ class HostService {
|
|
|
5526
5195
|
return this.hostAPIService.createDefaultMeetingTypes({ calendarIds: req.calendarIds }).pipe(mapTo(undefined));
|
|
5527
5196
|
}
|
|
5528
5197
|
createMeetingType(req) {
|
|
5529
|
-
|
|
5198
|
+
const fieldMask = getFieldMask({ o: req.meetingType, updateFields: req.updateFields });
|
|
5199
|
+
if (fieldMask.paths.length === 0) {
|
|
5200
|
+
return of();
|
|
5201
|
+
}
|
|
5202
|
+
return this.hostAPIService.createMeetingType({
|
|
5203
|
+
meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
|
|
5204
|
+
fieldMask,
|
|
5205
|
+
hostId: req.HostId
|
|
5206
|
+
})
|
|
5530
5207
|
.pipe(map(res => res.id));
|
|
5531
5208
|
}
|
|
5532
5209
|
/* updateMeetingType will update the meeting type fields.
|
|
@@ -5553,6 +5230,7 @@ class HostService {
|
|
|
5553
5230
|
id: req.id,
|
|
5554
5231
|
meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
|
|
5555
5232
|
fieldMask,
|
|
5233
|
+
hostId: req.HostId
|
|
5556
5234
|
}).pipe(mapTo(undefined));
|
|
5557
5235
|
}
|
|
5558
5236
|
deleteMeetingType(req) {
|
|
@@ -5579,41 +5257,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5579
5257
|
args: [{ providedIn: 'root' }]
|
|
5580
5258
|
}], ctorParameters: function () { return [{ type: MeetingHostApiService }]; } });
|
|
5581
5259
|
|
|
5582
|
-
class ConversationAnalysisService {
|
|
5583
|
-
constructor(conversationAnalysisApiService) {
|
|
5584
|
-
this.conversationAnalysisApiService = conversationAnalysisApiService;
|
|
5585
|
-
}
|
|
5586
|
-
createRawTranscript(rawTranscript) {
|
|
5587
|
-
return this.conversationAnalysisApiService.createRawTranscript({
|
|
5588
|
-
rawTranscript: rawTranscript
|
|
5589
|
-
}).pipe(map(resp => resp?.id));
|
|
5590
|
-
}
|
|
5591
|
-
listProcessedTranscripts(filters, pagingOptions) {
|
|
5592
|
-
return this.conversationAnalysisApiService.listProcessedTranscripts({
|
|
5593
|
-
filters: filters,
|
|
5594
|
-
pagingOptions: pagingOptions,
|
|
5595
|
-
}).pipe(map(resp => ({
|
|
5596
|
-
results: resp.processedTranscripts,
|
|
5597
|
-
nextCursor: resp.metadata?.nextCursor,
|
|
5598
|
-
hasMore: resp.metadata?.hasMore
|
|
5599
|
-
})));
|
|
5600
|
-
}
|
|
5601
|
-
getProcessedTranscript(id) {
|
|
5602
|
-
return this.conversationAnalysisApiService.getProcessedTranscripts({
|
|
5603
|
-
id: id
|
|
5604
|
-
}).pipe(map(resp => resp.processedTranscript));
|
|
5605
|
-
}
|
|
5606
|
-
}
|
|
5607
|
-
ConversationAnalysisService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, deps: [{ token: ConversationAnalysisApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5608
|
-
ConversationAnalysisService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, providedIn: 'root' });
|
|
5609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, decorators: [{
|
|
5610
|
-
type: Injectable,
|
|
5611
|
-
args: [{ providedIn: 'root' }]
|
|
5612
|
-
}], ctorParameters: function () { return [{ type: ConversationAnalysisApiService }]; } });
|
|
5613
|
-
|
|
5614
5260
|
/**
|
|
5615
5261
|
* Generated bundle index. Do not edit.
|
|
5616
5262
|
*/
|
|
5617
5263
|
|
|
5618
|
-
export { CalendarType, Contact,
|
|
5264
|
+
export { CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
5619
5265
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|