@vendasta/meetings 0.79.0 → 0.81.0
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 +1 -3
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +14 -2
- package/esm2020/lib/_internal/objects/meeting-type.mjs +19 -1
- package/esm2020/lib/_internal/objects/shared.mjs +2 -3
- package/esm2020/lib/host/host.service.mjs +11 -2
- package/esm2020/lib/index.mjs +3 -4
- package/esm2020/lib/shared/meeting-type.mjs +9 -3
- package/fesm2015/vendasta-meetings.mjs +97 -476
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +97 -473
- 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 +0 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +4 -1
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -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 +0 -2
- package/lib/_internal/objects/meeting-guest.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +4 -1
- package/lib/_internal/objects/meeting-type.d.ts +3 -0
- package/lib/_internal/objects/shared.d.ts +1 -2
- package/lib/host/host.service.d.ts +3 -0
- package/lib/index.d.ts +3 -4
- package/lib/shared/meeting-type.d.ts +3 -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,7 +1167,7 @@ class GoogleMeetMeetingReminders {
|
|
|
1181
1167
|
}
|
|
1182
1168
|
}
|
|
1183
1169
|
|
|
1184
|
-
function enumStringToValue$
|
|
1170
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1185
1171
|
if (typeof value === 'number') {
|
|
1186
1172
|
return value;
|
|
1187
1173
|
}
|
|
@@ -1217,7 +1203,7 @@ class TimeOfDay {
|
|
|
1217
1203
|
}
|
|
1218
1204
|
}
|
|
1219
1205
|
|
|
1220
|
-
function enumStringToValue$
|
|
1206
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1221
1207
|
if (typeof value === 'number') {
|
|
1222
1208
|
return value;
|
|
1223
1209
|
}
|
|
@@ -1294,7 +1280,7 @@ class TimeZone {
|
|
|
1294
1280
|
}
|
|
1295
1281
|
}
|
|
1296
1282
|
|
|
1297
|
-
function enumStringToValue$
|
|
1283
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1298
1284
|
if (typeof value === 'number') {
|
|
1299
1285
|
return value;
|
|
1300
1286
|
}
|
|
@@ -1305,7 +1291,7 @@ class Answer {
|
|
|
1305
1291
|
let m = new Answer();
|
|
1306
1292
|
m = Object.assign(m, proto);
|
|
1307
1293
|
if (proto.type) {
|
|
1308
|
-
m.type = enumStringToValue$
|
|
1294
|
+
m.type = enumStringToValue$5(FormFieldType, proto.type);
|
|
1309
1295
|
}
|
|
1310
1296
|
return m;
|
|
1311
1297
|
}
|
|
@@ -1447,7 +1433,7 @@ class Calendar {
|
|
|
1447
1433
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1448
1434
|
}
|
|
1449
1435
|
if (proto.calendarType) {
|
|
1450
|
-
m.calendarType = enumStringToValue$
|
|
1436
|
+
m.calendarType = enumStringToValue$5(CalendarType, proto.calendarType);
|
|
1451
1437
|
}
|
|
1452
1438
|
return m;
|
|
1453
1439
|
}
|
|
@@ -1645,7 +1631,7 @@ class Preferences {
|
|
|
1645
1631
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1646
1632
|
}
|
|
1647
1633
|
if (proto.meetingIntegration) {
|
|
1648
|
-
m.meetingIntegration = enumStringToValue$
|
|
1634
|
+
m.meetingIntegration = enumStringToValue$5(MeetingSource, proto.meetingIntegration);
|
|
1649
1635
|
}
|
|
1650
1636
|
if (proto.availabilityIncrement) {
|
|
1651
1637
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1717,7 +1703,7 @@ class TimeRange {
|
|
|
1717
1703
|
}
|
|
1718
1704
|
}
|
|
1719
1705
|
|
|
1720
|
-
function enumStringToValue$
|
|
1706
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1721
1707
|
if (typeof value === 'number') {
|
|
1722
1708
|
return value;
|
|
1723
1709
|
}
|
|
@@ -1728,7 +1714,7 @@ class Field {
|
|
|
1728
1714
|
let m = new Field();
|
|
1729
1715
|
m = Object.assign(m, proto);
|
|
1730
1716
|
if (proto.type) {
|
|
1731
|
-
m.type = enumStringToValue$
|
|
1717
|
+
m.type = enumStringToValue$4(FormFieldType, proto.type);
|
|
1732
1718
|
}
|
|
1733
1719
|
return m;
|
|
1734
1720
|
}
|
|
@@ -1785,6 +1771,15 @@ class MeetingType {
|
|
|
1785
1771
|
if (proto.form) {
|
|
1786
1772
|
m.form = Form.fromProto(proto.form);
|
|
1787
1773
|
}
|
|
1774
|
+
if (proto.availabilityIncrement) {
|
|
1775
|
+
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
1776
|
+
}
|
|
1777
|
+
if (proto.bufferDurationAfterMeeting) {
|
|
1778
|
+
m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
|
|
1779
|
+
}
|
|
1780
|
+
if (proto.noticeTime) {
|
|
1781
|
+
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1782
|
+
}
|
|
1788
1783
|
return m;
|
|
1789
1784
|
}
|
|
1790
1785
|
constructor(kwargs) {
|
|
@@ -1831,11 +1826,20 @@ class MeetingType {
|
|
|
1831
1826
|
if (typeof this.bookingUrl !== 'undefined') {
|
|
1832
1827
|
toReturn['bookingUrl'] = this.bookingUrl;
|
|
1833
1828
|
}
|
|
1829
|
+
if (typeof this.availabilityIncrement !== 'undefined') {
|
|
1830
|
+
toReturn['availabilityIncrement'] = this.availabilityIncrement;
|
|
1831
|
+
}
|
|
1832
|
+
if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
|
|
1833
|
+
toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
|
|
1834
|
+
}
|
|
1835
|
+
if (typeof this.noticeTime !== 'undefined') {
|
|
1836
|
+
toReturn['noticeTime'] = this.noticeTime;
|
|
1837
|
+
}
|
|
1834
1838
|
return toReturn;
|
|
1835
1839
|
}
|
|
1836
1840
|
}
|
|
1837
1841
|
|
|
1838
|
-
function enumStringToValue$
|
|
1842
|
+
function enumStringToValue$3(enumRef, value) {
|
|
1839
1843
|
if (typeof value === 'number') {
|
|
1840
1844
|
return value;
|
|
1841
1845
|
}
|
|
@@ -1871,7 +1875,7 @@ class DateRange {
|
|
|
1871
1875
|
}
|
|
1872
1876
|
}
|
|
1873
1877
|
|
|
1874
|
-
function enumStringToValue$
|
|
1878
|
+
function enumStringToValue$2(enumRef, value) {
|
|
1875
1879
|
if (typeof value === 'number') {
|
|
1876
1880
|
return value;
|
|
1877
1881
|
}
|
|
@@ -2378,7 +2382,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2378
2382
|
}
|
|
2379
2383
|
}
|
|
2380
2384
|
|
|
2381
|
-
function enumStringToValue$
|
|
2385
|
+
function enumStringToValue$1(enumRef, value) {
|
|
2382
2386
|
if (typeof value === 'number') {
|
|
2383
2387
|
return value;
|
|
2384
2388
|
}
|
|
@@ -2405,7 +2409,7 @@ class FieldMask {
|
|
|
2405
2409
|
}
|
|
2406
2410
|
}
|
|
2407
2411
|
|
|
2408
|
-
function enumStringToValue
|
|
2412
|
+
function enumStringToValue(enumRef, value) {
|
|
2409
2413
|
if (typeof value === 'number') {
|
|
2410
2414
|
return value;
|
|
2411
2415
|
}
|
|
@@ -2485,7 +2489,7 @@ class AvailabilityRule {
|
|
|
2485
2489
|
let m = new AvailabilityRule();
|
|
2486
2490
|
m = Object.assign(m, proto);
|
|
2487
2491
|
if (proto.day) {
|
|
2488
|
-
m.day = enumStringToValue
|
|
2492
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
2489
2493
|
}
|
|
2490
2494
|
if (proto.timeSlot) {
|
|
2491
2495
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -2723,6 +2727,9 @@ class CreateMeetingTypeRequest {
|
|
|
2723
2727
|
if (proto.meetingType) {
|
|
2724
2728
|
m.meetingType = MeetingType.fromProto(proto.meetingType);
|
|
2725
2729
|
}
|
|
2730
|
+
if (proto.fieldMask) {
|
|
2731
|
+
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
2732
|
+
}
|
|
2726
2733
|
return m;
|
|
2727
2734
|
}
|
|
2728
2735
|
constructor(kwargs) {
|
|
@@ -2736,6 +2743,12 @@ class CreateMeetingTypeRequest {
|
|
|
2736
2743
|
if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
|
|
2737
2744
|
toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
|
|
2738
2745
|
}
|
|
2746
|
+
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
2747
|
+
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
2748
|
+
}
|
|
2749
|
+
if (typeof this.hostId !== 'undefined') {
|
|
2750
|
+
toReturn['hostId'] = this.hostId;
|
|
2751
|
+
}
|
|
2739
2752
|
return toReturn;
|
|
2740
2753
|
}
|
|
2741
2754
|
}
|
|
@@ -3154,7 +3167,7 @@ class HostBookMeetingRequest {
|
|
|
3154
3167
|
let m = new HostBookMeetingRequest();
|
|
3155
3168
|
m = Object.assign(m, proto);
|
|
3156
3169
|
if (proto.meetingSource) {
|
|
3157
|
-
m.meetingSource = enumStringToValue
|
|
3170
|
+
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
3158
3171
|
}
|
|
3159
3172
|
if (proto.timeSlot) {
|
|
3160
3173
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -3771,7 +3784,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
3771
3784
|
let m = new SetGeneralAvailabilityRequest();
|
|
3772
3785
|
m = Object.assign(m, proto);
|
|
3773
3786
|
if (proto.days) {
|
|
3774
|
-
m.days = proto.days.map((v) => enumStringToValue
|
|
3787
|
+
m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
|
|
3775
3788
|
}
|
|
3776
3789
|
if (proto.timeSlot) {
|
|
3777
3790
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3949,6 +3962,9 @@ class UpdateMeetingTypeRequest {
|
|
|
3949
3962
|
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
3950
3963
|
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
3951
3964
|
}
|
|
3965
|
+
if (typeof this.hostId !== 'undefined') {
|
|
3966
|
+
toReturn['hostId'] = this.hostId;
|
|
3967
|
+
}
|
|
3952
3968
|
return toReturn;
|
|
3953
3969
|
}
|
|
3954
3970
|
}
|
|
@@ -3957,7 +3973,7 @@ class WeekdayAvailability {
|
|
|
3957
3973
|
let m = new WeekdayAvailability();
|
|
3958
3974
|
m = Object.assign(m, proto);
|
|
3959
3975
|
if (proto.day) {
|
|
3960
|
-
m.day = enumStringToValue
|
|
3976
|
+
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
3961
3977
|
}
|
|
3962
3978
|
if (proto.timeSlots) {
|
|
3963
3979
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -3982,343 +3998,6 @@ class WeekdayAvailability {
|
|
|
3982
3998
|
}
|
|
3983
3999
|
}
|
|
3984
4000
|
|
|
3985
|
-
function enumStringToValue$1(enumRef, value) {
|
|
3986
|
-
if (typeof value === 'number') {
|
|
3987
|
-
return value;
|
|
3988
|
-
}
|
|
3989
|
-
return enumRef[value];
|
|
3990
|
-
}
|
|
3991
|
-
class CreateRawTranscriptRequest {
|
|
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 {
|
|
4075
|
-
static fromProto(proto) {
|
|
4076
|
-
let m = new GetProcessedTranscriptsResponse();
|
|
4077
|
-
m = Object.assign(m, proto);
|
|
4078
|
-
if (proto.processedTranscript) {
|
|
4079
|
-
m.processedTranscript = ProcessedTranscript.fromProto(proto.processedTranscript);
|
|
4080
|
-
}
|
|
4081
|
-
return m;
|
|
4082
|
-
}
|
|
4083
|
-
constructor(kwargs) {
|
|
4084
|
-
if (!kwargs) {
|
|
4085
|
-
return;
|
|
4086
|
-
}
|
|
4087
|
-
Object.assign(this, kwargs);
|
|
4088
|
-
}
|
|
4089
|
-
toApiJson() {
|
|
4090
|
-
const toReturn = {};
|
|
4091
|
-
if (typeof this.processedTranscript !== 'undefined' && this.processedTranscript !== null) {
|
|
4092
|
-
toReturn['processedTranscript'] = 'toApiJson' in this.processedTranscript ? this.processedTranscript.toApiJson() : this.processedTranscript;
|
|
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);
|
|
4106
|
-
}
|
|
4107
|
-
return m;
|
|
4108
|
-
}
|
|
4109
|
-
constructor(kwargs) {
|
|
4110
|
-
if (!kwargs) {
|
|
4111
|
-
return;
|
|
4112
|
-
}
|
|
4113
|
-
Object.assign(this, kwargs);
|
|
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;
|
|
4119
|
-
}
|
|
4120
|
-
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
4121
|
-
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
4122
|
-
}
|
|
4123
|
-
return toReturn;
|
|
4124
|
-
}
|
|
4125
|
-
}
|
|
4126
|
-
class ListProcessedTranscriptsResponse {
|
|
4127
|
-
static fromProto(proto) {
|
|
4128
|
-
let m = new ListProcessedTranscriptsResponse();
|
|
4129
|
-
m = Object.assign(m, proto);
|
|
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;
|
|
4153
|
-
}
|
|
4154
|
-
}
|
|
4155
|
-
class ProcessedTranscript {
|
|
4156
|
-
static fromProto(proto) {
|
|
4157
|
-
let m = new ProcessedTranscript();
|
|
4158
|
-
m = Object.assign(m, proto);
|
|
4159
|
-
if (proto.source) {
|
|
4160
|
-
m.source = enumStringToValue$1(TranscriptSource, proto.source);
|
|
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);
|
|
4176
|
-
}
|
|
4177
|
-
return m;
|
|
4178
|
-
}
|
|
4179
|
-
constructor(kwargs) {
|
|
4180
|
-
if (!kwargs) {
|
|
4181
|
-
return;
|
|
4182
|
-
}
|
|
4183
|
-
Object.assign(this, kwargs);
|
|
4184
|
-
}
|
|
4185
|
-
toApiJson() {
|
|
4186
|
-
const toReturn = {};
|
|
4187
|
-
if (typeof this.id !== 'undefined') {
|
|
4188
|
-
toReturn['id'] = this.id;
|
|
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;
|
|
4213
|
-
}
|
|
4214
|
-
if (typeof this.sentimentExplanation !== 'undefined') {
|
|
4215
|
-
toReturn['sentimentExplanation'] = this.sentimentExplanation;
|
|
4216
|
-
}
|
|
4217
|
-
if (typeof this.salesScore !== 'undefined') {
|
|
4218
|
-
toReturn['salesScore'] = this.salesScore;
|
|
4219
|
-
}
|
|
4220
|
-
if (typeof this.salesScoreExplanation !== 'undefined') {
|
|
4221
|
-
toReturn['salesScoreExplanation'] = this.salesScoreExplanation;
|
|
4222
|
-
}
|
|
4223
|
-
if (typeof this.analysingModelUsed !== 'undefined') {
|
|
4224
|
-
toReturn['analysingModelUsed'] = this.analysingModelUsed;
|
|
4225
|
-
}
|
|
4226
|
-
if (typeof this.promptUsed !== 'undefined') {
|
|
4227
|
-
toReturn['promptUsed'] = this.promptUsed;
|
|
4228
|
-
}
|
|
4229
|
-
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
4230
|
-
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
4231
|
-
}
|
|
4232
|
-
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
4233
|
-
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
4234
|
-
}
|
|
4235
|
-
if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
|
|
4236
|
-
toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
|
|
4237
|
-
}
|
|
4238
|
-
return toReturn;
|
|
4239
|
-
}
|
|
4240
|
-
}
|
|
4241
|
-
class RawTranscript {
|
|
4242
|
-
static fromProto(proto) {
|
|
4243
|
-
let m = new RawTranscript();
|
|
4244
|
-
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
|
-
return m;
|
|
4258
|
-
}
|
|
4259
|
-
constructor(kwargs) {
|
|
4260
|
-
if (!kwargs) {
|
|
4261
|
-
return;
|
|
4262
|
-
}
|
|
4263
|
-
Object.assign(this, kwargs);
|
|
4264
|
-
}
|
|
4265
|
-
toApiJson() {
|
|
4266
|
-
const toReturn = {};
|
|
4267
|
-
if (typeof this.id !== 'undefined') {
|
|
4268
|
-
toReturn['id'] = this.id;
|
|
4269
|
-
}
|
|
4270
|
-
if (typeof this.namespace !== 'undefined') {
|
|
4271
|
-
toReturn['namespace'] = this.namespace;
|
|
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;
|
|
4317
|
-
}
|
|
4318
|
-
return toReturn;
|
|
4319
|
-
}
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4322
4001
|
// *********************************
|
|
4323
4002
|
|
|
4324
4003
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -4346,9 +4025,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4346
4025
|
|
|
4347
4026
|
// *********************************
|
|
4348
4027
|
class MeetingSourceAPIApiService {
|
|
4349
|
-
constructor(
|
|
4350
|
-
this.
|
|
4351
|
-
this.
|
|
4028
|
+
constructor() {
|
|
4029
|
+
this.hostService = inject(HostService$1);
|
|
4030
|
+
this.http = inject(HttpClient);
|
|
4352
4031
|
this._host = this.hostService.hostWithScheme;
|
|
4353
4032
|
}
|
|
4354
4033
|
apiOptions() {
|
|
@@ -4365,12 +4044,12 @@ class MeetingSourceAPIApiService {
|
|
|
4365
4044
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4366
4045
|
}
|
|
4367
4046
|
}
|
|
4368
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
4047
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4369
4048
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4370
4049
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4371
4050
|
type: Injectable,
|
|
4372
4051
|
args: [{ providedIn: 'root' }]
|
|
4373
|
-
}]
|
|
4052
|
+
}] });
|
|
4374
4053
|
|
|
4375
4054
|
// *********************************
|
|
4376
4055
|
class ZoomApiService {
|
|
@@ -4402,9 +4081,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4402
4081
|
|
|
4403
4082
|
// *********************************
|
|
4404
4083
|
class GoogleMeetApiService {
|
|
4405
|
-
constructor(
|
|
4406
|
-
this.
|
|
4407
|
-
this.
|
|
4084
|
+
constructor() {
|
|
4085
|
+
this.hostService = inject(HostService$1);
|
|
4086
|
+
this.http = inject(HttpClient);
|
|
4408
4087
|
this._host = this.hostService.hostWithScheme;
|
|
4409
4088
|
}
|
|
4410
4089
|
apiOptions() {
|
|
@@ -4421,12 +4100,12 @@ class GoogleMeetApiService {
|
|
|
4421
4100
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4422
4101
|
}
|
|
4423
4102
|
}
|
|
4424
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
4103
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4425
4104
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4426
4105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4427
4106
|
type: Injectable,
|
|
4428
4107
|
args: [{ providedIn: 'root' }]
|
|
4429
|
-
}]
|
|
4108
|
+
}] });
|
|
4430
4109
|
|
|
4431
4110
|
function generateMeetingPassword() {
|
|
4432
4111
|
const zoomMaxLength = 10;
|
|
@@ -4583,7 +4262,7 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4583
4262
|
}
|
|
4584
4263
|
|
|
4585
4264
|
// *********************************
|
|
4586
|
-
class
|
|
4265
|
+
class MeetingGuestApiService {
|
|
4587
4266
|
constructor() {
|
|
4588
4267
|
this.hostService = inject(HostService$1);
|
|
4589
4268
|
this.http = inject(HttpClient);
|
|
@@ -4597,44 +4276,6 @@ class ConversationAnalysisApiService {
|
|
|
4597
4276
|
withCredentials: true
|
|
4598
4277
|
};
|
|
4599
4278
|
}
|
|
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
4279
|
listMeetingTypes(r) {
|
|
4639
4280
|
const request = (r.toApiJson) ? r : new ListMeetingTypesRequest(r);
|
|
4640
4281
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListMeetingTypes", request.toApiJson(), this.apiOptions())
|
|
@@ -4684,18 +4325,18 @@ class MeetingGuestApiService {
|
|
|
4684
4325
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4685
4326
|
}
|
|
4686
4327
|
}
|
|
4687
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
4328
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4688
4329
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4689
4330
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4690
4331
|
type: Injectable,
|
|
4691
4332
|
args: [{ providedIn: 'root' }]
|
|
4692
|
-
}]
|
|
4333
|
+
}] });
|
|
4693
4334
|
|
|
4694
4335
|
// *********************************
|
|
4695
4336
|
class MeetingHostApiService {
|
|
4696
|
-
constructor(
|
|
4697
|
-
this.
|
|
4698
|
-
this.
|
|
4337
|
+
constructor() {
|
|
4338
|
+
this.hostService = inject(HostService$1);
|
|
4339
|
+
this.http = inject(HttpClient);
|
|
4699
4340
|
this._host = this.hostService.hostWithScheme;
|
|
4700
4341
|
}
|
|
4701
4342
|
apiOptions() {
|
|
@@ -4850,12 +4491,12 @@ class MeetingHostApiService {
|
|
|
4850
4491
|
.pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
|
|
4851
4492
|
}
|
|
4852
4493
|
}
|
|
4853
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
4494
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4854
4495
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
4855
4496
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
4856
4497
|
type: Injectable,
|
|
4857
4498
|
args: [{ providedIn: 'root' }]
|
|
4858
|
-
}]
|
|
4499
|
+
}] });
|
|
4859
4500
|
|
|
4860
4501
|
// *********************************
|
|
4861
4502
|
|
|
@@ -4966,7 +4607,10 @@ function MeetingTypeFromApi(req) {
|
|
|
4966
4607
|
description: req.meetingTypeApi.description || '',
|
|
4967
4608
|
hexColor: req.meetingTypeApi.hexColor || '',
|
|
4968
4609
|
form: form,
|
|
4969
|
-
hostUserIds: req.meetingTypeApi.hostUserIds || []
|
|
4610
|
+
hostUserIds: req.meetingTypeApi.hostUserIds || [],
|
|
4611
|
+
availabilityIncrement: req.meetingTypeApi.availabilityIncrement || -1,
|
|
4612
|
+
bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting || -1,
|
|
4613
|
+
noticeTime: req.meetingTypeApi.noticeTime || -1
|
|
4970
4614
|
};
|
|
4971
4615
|
}
|
|
4972
4616
|
function MeetingTypeToApi(req) {
|
|
@@ -4983,7 +4627,10 @@ function MeetingTypeToApi(req) {
|
|
|
4983
4627
|
description: m.description || undefined,
|
|
4984
4628
|
duration: m.duration ? m.duration : undefined,
|
|
4985
4629
|
form: m.form || undefined,
|
|
4986
|
-
hostUserIds: m.hostUserIds || undefined
|
|
4630
|
+
hostUserIds: m.hostUserIds || undefined,
|
|
4631
|
+
availabilityIncrement: m.availabilityIncrement || undefined,
|
|
4632
|
+
bufferDurationAfterMeeting: m.bufferDurationAfterMeeting || undefined,
|
|
4633
|
+
noticeTime: m.noticeTime || undefined
|
|
4987
4634
|
};
|
|
4988
4635
|
}
|
|
4989
4636
|
|
|
@@ -5526,7 +5173,15 @@ class HostService {
|
|
|
5526
5173
|
return this.hostAPIService.createDefaultMeetingTypes({ calendarIds: req.calendarIds }).pipe(mapTo(undefined));
|
|
5527
5174
|
}
|
|
5528
5175
|
createMeetingType(req) {
|
|
5529
|
-
|
|
5176
|
+
const fieldMask = getFieldMask({ o: req.meetingType, updateFields: req.updateFields });
|
|
5177
|
+
if (fieldMask.paths.length === 0) {
|
|
5178
|
+
return of();
|
|
5179
|
+
}
|
|
5180
|
+
return this.hostAPIService.createMeetingType({
|
|
5181
|
+
meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
|
|
5182
|
+
fieldMask,
|
|
5183
|
+
hostId: req.HostId
|
|
5184
|
+
})
|
|
5530
5185
|
.pipe(map(res => res.id));
|
|
5531
5186
|
}
|
|
5532
5187
|
/* updateMeetingType will update the meeting type fields.
|
|
@@ -5553,6 +5208,7 @@ class HostService {
|
|
|
5553
5208
|
id: req.id,
|
|
5554
5209
|
meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
|
|
5555
5210
|
fieldMask,
|
|
5211
|
+
hostId: req.HostId
|
|
5556
5212
|
}).pipe(mapTo(undefined));
|
|
5557
5213
|
}
|
|
5558
5214
|
deleteMeetingType(req) {
|
|
@@ -5579,41 +5235,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5579
5235
|
args: [{ providedIn: 'root' }]
|
|
5580
5236
|
}], ctorParameters: function () { return [{ type: MeetingHostApiService }]; } });
|
|
5581
5237
|
|
|
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
5238
|
/**
|
|
5615
5239
|
* Generated bundle index. Do not edit.
|
|
5616
5240
|
*/
|
|
5617
5241
|
|
|
5618
|
-
export { CalendarType, Contact,
|
|
5242
|
+
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
5243
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|