@vendasta/meetings 0.75.0 → 0.76.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/conversation-analysis.api.service.mjs +40 -0
- package/esm2020/lib/_internal/enums/conversation-analysis.enum.mjs +12 -0
- package/esm2020/lib/_internal/enums/index.mjs +2 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
- package/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/conversation-analysis.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.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/annotations.mjs +30 -0
- package/esm2020/lib/_internal/objects/conversation-analysis.mjs +101 -0
- package/esm2020/lib/_internal/objects/index.mjs +3 -1
- package/esm2020/lib/_internal/objects/meeting-host.mjs +15 -15
- package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
- package/esm2020/lib/conversation_analysis/conversation-analysis.service.mjs +22 -0
- package/esm2020/lib/index.mjs +2 -1
- package/fesm2015/vendasta-meetings.mjs +258 -72
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +258 -72
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/conversation-analysis.api.service.d.ts +13 -0
- package/lib/_internal/enums/conversation-analysis.enum.d.ts +4 -0
- package/lib/_internal/enums/index.d.ts +1 -0
- package/lib/_internal/google-meet.api.service.d.ts +2 -5
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
- package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +16 -0
- package/lib/_internal/interfaces/index.d.ts +3 -1
- 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/annotations.d.ts +9 -0
- package/lib/_internal/objects/conversation-analysis.d.ts +27 -0
- package/lib/_internal/objects/index.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +7 -7
- package/lib/_internal/zoom.api.service.d.ts +2 -5
- package/lib/conversation_analysis/conversation-analysis.service.d.ts +13 -0
- package/lib/index.d.ts +1 -0
- package/package.json +1 -1
- package/esm2020/lib/_internal/objects/dayofweek.mjs +0 -7
- package/lib/_internal/objects/dayofweek.d.ts +0 -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
|
|
@@ -132,8 +131,20 @@ var DayOfWeek;
|
|
|
132
131
|
})(DayOfWeek || (DayOfWeek = {}));
|
|
133
132
|
|
|
134
133
|
// *********************************
|
|
134
|
+
// Code generated by sdkgen
|
|
135
|
+
// DO NOT EDIT!.
|
|
136
|
+
//
|
|
137
|
+
// Enums.
|
|
138
|
+
// *********************************
|
|
139
|
+
var TranscriptSource;
|
|
140
|
+
(function (TranscriptSource) {
|
|
141
|
+
TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_UNSPECIFIED"] = 0] = "TRANSCRIPT_SOURCE_UNSPECIFIED";
|
|
142
|
+
TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_GOOGLE_MEET"] = 1] = "TRANSCRIPT_SOURCE_GOOGLE_MEET";
|
|
143
|
+
})(TranscriptSource || (TranscriptSource = {}));
|
|
135
144
|
|
|
136
|
-
|
|
145
|
+
// *********************************
|
|
146
|
+
|
|
147
|
+
function enumStringToValue$c(enumRef, value) {
|
|
137
148
|
if (typeof value === 'number') {
|
|
138
149
|
return value;
|
|
139
150
|
}
|
|
@@ -144,10 +155,10 @@ class MeetingSourceInfo {
|
|
|
144
155
|
let m = new MeetingSourceInfo();
|
|
145
156
|
m = Object.assign(m, proto);
|
|
146
157
|
if (proto.source) {
|
|
147
|
-
m.source = enumStringToValue$
|
|
158
|
+
m.source = enumStringToValue$c(MeetingSource, proto.source);
|
|
148
159
|
}
|
|
149
160
|
if (proto.status) {
|
|
150
|
-
m.status = enumStringToValue$
|
|
161
|
+
m.status = enumStringToValue$c(MeetingSourceStatus, proto.status);
|
|
151
162
|
}
|
|
152
163
|
return m;
|
|
153
164
|
}
|
|
@@ -228,7 +239,7 @@ class MeetingSourceQuery {
|
|
|
228
239
|
let m = new MeetingSourceQuery();
|
|
229
240
|
m = Object.assign(m, proto);
|
|
230
241
|
if (proto.source) {
|
|
231
|
-
m.source = enumStringToValue$
|
|
242
|
+
m.source = enumStringToValue$c(MeetingSource, proto.source);
|
|
232
243
|
}
|
|
233
244
|
return m;
|
|
234
245
|
}
|
|
@@ -253,7 +264,7 @@ class MeetingSourceQuery {
|
|
|
253
264
|
}
|
|
254
265
|
}
|
|
255
266
|
|
|
256
|
-
function enumStringToValue$
|
|
267
|
+
function enumStringToValue$b(enumRef, value) {
|
|
257
268
|
if (typeof value === 'number') {
|
|
258
269
|
return value;
|
|
259
270
|
}
|
|
@@ -264,7 +275,7 @@ class CreateZoomMeetingRequest {
|
|
|
264
275
|
let m = new CreateZoomMeetingRequest();
|
|
265
276
|
m = Object.assign(m, proto);
|
|
266
277
|
if (proto.type) {
|
|
267
|
-
m.type = enumStringToValue$
|
|
278
|
+
m.type = enumStringToValue$b(ZoomMeetingType, proto.type);
|
|
268
279
|
}
|
|
269
280
|
if (proto.duration) {
|
|
270
281
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -332,7 +343,7 @@ class CreateZoomMeetingResponse {
|
|
|
332
343
|
m.meetingId = parseInt(proto.meetingId, 10);
|
|
333
344
|
}
|
|
334
345
|
if (proto.type) {
|
|
335
|
-
m.type = enumStringToValue$
|
|
346
|
+
m.type = enumStringToValue$b(ZoomMeetingType, proto.type);
|
|
336
347
|
}
|
|
337
348
|
if (proto.duration) {
|
|
338
349
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -424,7 +435,7 @@ class ZoomMeetingRecurrence {
|
|
|
424
435
|
let m = new ZoomMeetingRecurrence();
|
|
425
436
|
m = Object.assign(m, proto);
|
|
426
437
|
if (proto.type) {
|
|
427
|
-
m.type = enumStringToValue$
|
|
438
|
+
m.type = enumStringToValue$b(ZoomMeetingRecurrenceType, proto.type);
|
|
428
439
|
}
|
|
429
440
|
if (proto.repeatInterval) {
|
|
430
441
|
m.repeatInterval = parseInt(proto.repeatInterval, 10);
|
|
@@ -433,10 +444,10 @@ class ZoomMeetingRecurrence {
|
|
|
433
444
|
m.monthlyDay = parseInt(proto.monthlyDay, 10);
|
|
434
445
|
}
|
|
435
446
|
if (proto.monthlyWeek) {
|
|
436
|
-
m.monthlyWeek = enumStringToValue$
|
|
447
|
+
m.monthlyWeek = enumStringToValue$b(ZoomMonthlyWeek, proto.monthlyWeek);
|
|
437
448
|
}
|
|
438
449
|
if (proto.monthlyWeekDay) {
|
|
439
|
-
m.monthlyWeekDay = enumStringToValue$
|
|
450
|
+
m.monthlyWeekDay = enumStringToValue$b(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
|
|
440
451
|
}
|
|
441
452
|
if (proto.endTimes) {
|
|
442
453
|
m.endTimes = parseInt(proto.endTimes, 10);
|
|
@@ -483,10 +494,10 @@ class ZoomMeetingSettings {
|
|
|
483
494
|
let m = new ZoomMeetingSettings();
|
|
484
495
|
m = Object.assign(m, proto);
|
|
485
496
|
if (proto.approvalType) {
|
|
486
|
-
m.approvalType = enumStringToValue$
|
|
497
|
+
m.approvalType = enumStringToValue$b(ZoomApprovalType, proto.approvalType);
|
|
487
498
|
}
|
|
488
499
|
if (proto.registrationType) {
|
|
489
|
-
m.registrationType = enumStringToValue$
|
|
500
|
+
m.registrationType = enumStringToValue$b(ZoomRegistrationType, proto.registrationType);
|
|
490
501
|
}
|
|
491
502
|
return m;
|
|
492
503
|
}
|
|
@@ -629,7 +640,7 @@ class ZoomOccurrence {
|
|
|
629
640
|
}
|
|
630
641
|
}
|
|
631
642
|
|
|
632
|
-
function enumStringToValue$
|
|
643
|
+
function enumStringToValue$a(enumRef, value) {
|
|
633
644
|
if (typeof value === 'number') {
|
|
634
645
|
return value;
|
|
635
646
|
}
|
|
@@ -1168,7 +1179,7 @@ class GoogleMeetMeetingReminders {
|
|
|
1168
1179
|
}
|
|
1169
1180
|
}
|
|
1170
1181
|
|
|
1171
|
-
function enumStringToValue$
|
|
1182
|
+
function enumStringToValue$9(enumRef, value) {
|
|
1172
1183
|
if (typeof value === 'number') {
|
|
1173
1184
|
return value;
|
|
1174
1185
|
}
|
|
@@ -1204,7 +1215,7 @@ class TimeOfDay {
|
|
|
1204
1215
|
}
|
|
1205
1216
|
}
|
|
1206
1217
|
|
|
1207
|
-
function enumStringToValue$
|
|
1218
|
+
function enumStringToValue$8(enumRef, value) {
|
|
1208
1219
|
if (typeof value === 'number') {
|
|
1209
1220
|
return value;
|
|
1210
1221
|
}
|
|
@@ -1281,7 +1292,7 @@ class TimeZone {
|
|
|
1281
1292
|
}
|
|
1282
1293
|
}
|
|
1283
1294
|
|
|
1284
|
-
function enumStringToValue$
|
|
1295
|
+
function enumStringToValue$7(enumRef, value) {
|
|
1285
1296
|
if (typeof value === 'number') {
|
|
1286
1297
|
return value;
|
|
1287
1298
|
}
|
|
@@ -1292,7 +1303,7 @@ class Answer {
|
|
|
1292
1303
|
let m = new Answer();
|
|
1293
1304
|
m = Object.assign(m, proto);
|
|
1294
1305
|
if (proto.type) {
|
|
1295
|
-
m.type = enumStringToValue$
|
|
1306
|
+
m.type = enumStringToValue$7(FormFieldType, proto.type);
|
|
1296
1307
|
}
|
|
1297
1308
|
return m;
|
|
1298
1309
|
}
|
|
@@ -1434,7 +1445,7 @@ class Calendar {
|
|
|
1434
1445
|
m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
|
|
1435
1446
|
}
|
|
1436
1447
|
if (proto.calendarType) {
|
|
1437
|
-
m.calendarType = enumStringToValue$
|
|
1448
|
+
m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
|
|
1438
1449
|
}
|
|
1439
1450
|
return m;
|
|
1440
1451
|
}
|
|
@@ -1632,7 +1643,7 @@ class Preferences {
|
|
|
1632
1643
|
m.timezone = TimeZone.fromProto(proto.timezone);
|
|
1633
1644
|
}
|
|
1634
1645
|
if (proto.meetingIntegration) {
|
|
1635
|
-
m.meetingIntegration = enumStringToValue$
|
|
1646
|
+
m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
|
|
1636
1647
|
}
|
|
1637
1648
|
if (proto.availabilityIncrement) {
|
|
1638
1649
|
m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
|
|
@@ -1704,7 +1715,7 @@ class TimeRange {
|
|
|
1704
1715
|
}
|
|
1705
1716
|
}
|
|
1706
1717
|
|
|
1707
|
-
function enumStringToValue$
|
|
1718
|
+
function enumStringToValue$6(enumRef, value) {
|
|
1708
1719
|
if (typeof value === 'number') {
|
|
1709
1720
|
return value;
|
|
1710
1721
|
}
|
|
@@ -1715,7 +1726,7 @@ class Field {
|
|
|
1715
1726
|
let m = new Field();
|
|
1716
1727
|
m = Object.assign(m, proto);
|
|
1717
1728
|
if (proto.type) {
|
|
1718
|
-
m.type = enumStringToValue$
|
|
1729
|
+
m.type = enumStringToValue$6(FormFieldType, proto.type);
|
|
1719
1730
|
}
|
|
1720
1731
|
return m;
|
|
1721
1732
|
}
|
|
@@ -1822,7 +1833,7 @@ class MeetingType {
|
|
|
1822
1833
|
}
|
|
1823
1834
|
}
|
|
1824
1835
|
|
|
1825
|
-
function enumStringToValue$
|
|
1836
|
+
function enumStringToValue$5(enumRef, value) {
|
|
1826
1837
|
if (typeof value === 'number') {
|
|
1827
1838
|
return value;
|
|
1828
1839
|
}
|
|
@@ -1858,7 +1869,7 @@ class DateRange {
|
|
|
1858
1869
|
}
|
|
1859
1870
|
}
|
|
1860
1871
|
|
|
1861
|
-
function enumStringToValue$
|
|
1872
|
+
function enumStringToValue$4(enumRef, value) {
|
|
1862
1873
|
if (typeof value === 'number') {
|
|
1863
1874
|
return value;
|
|
1864
1875
|
}
|
|
@@ -2365,7 +2376,7 @@ class BookMeetingRequestMetadataEntry {
|
|
|
2365
2376
|
}
|
|
2366
2377
|
}
|
|
2367
2378
|
|
|
2368
|
-
function enumStringToValue$
|
|
2379
|
+
function enumStringToValue$3(enumRef, value) {
|
|
2369
2380
|
if (typeof value === 'number') {
|
|
2370
2381
|
return value;
|
|
2371
2382
|
}
|
|
@@ -2392,7 +2403,7 @@ class FieldMask {
|
|
|
2392
2403
|
}
|
|
2393
2404
|
}
|
|
2394
2405
|
|
|
2395
|
-
function enumStringToValue(enumRef, value) {
|
|
2406
|
+
function enumStringToValue$2(enumRef, value) {
|
|
2396
2407
|
if (typeof value === 'number') {
|
|
2397
2408
|
return value;
|
|
2398
2409
|
}
|
|
@@ -2449,7 +2460,7 @@ class AvailabilityRule {
|
|
|
2449
2460
|
let m = new AvailabilityRule();
|
|
2450
2461
|
m = Object.assign(m, proto);
|
|
2451
2462
|
if (proto.day) {
|
|
2452
|
-
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
2463
|
+
m.day = enumStringToValue$2(DayOfWeek, proto.day);
|
|
2453
2464
|
}
|
|
2454
2465
|
if (proto.timeSlot) {
|
|
2455
2466
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -2886,10 +2897,13 @@ class EnsurePersonalCalendarExistsResponse {
|
|
|
2886
2897
|
return toReturn;
|
|
2887
2898
|
}
|
|
2888
2899
|
}
|
|
2889
|
-
class
|
|
2900
|
+
class ListBookedMeetingsRequestFilters {
|
|
2890
2901
|
static fromProto(proto) {
|
|
2891
|
-
let m = new
|
|
2902
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
2892
2903
|
m = Object.assign(m, proto);
|
|
2904
|
+
if (proto.timeSpan) {
|
|
2905
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
2906
|
+
}
|
|
2893
2907
|
return m;
|
|
2894
2908
|
}
|
|
2895
2909
|
constructor(kwargs) {
|
|
@@ -2900,22 +2914,22 @@ class ListAvailabilityRequestFilters {
|
|
|
2900
2914
|
}
|
|
2901
2915
|
toApiJson() {
|
|
2902
2916
|
const toReturn = {};
|
|
2917
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
2918
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
2919
|
+
}
|
|
2903
2920
|
if (typeof this.hostId !== 'undefined') {
|
|
2904
2921
|
toReturn['hostId'] = this.hostId;
|
|
2905
2922
|
}
|
|
2906
|
-
if (typeof this.
|
|
2907
|
-
toReturn['
|
|
2923
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
2924
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
2908
2925
|
}
|
|
2909
2926
|
return toReturn;
|
|
2910
2927
|
}
|
|
2911
2928
|
}
|
|
2912
|
-
class
|
|
2929
|
+
class ListAvailabilityRequestFilters {
|
|
2913
2930
|
static fromProto(proto) {
|
|
2914
|
-
let m = new
|
|
2931
|
+
let m = new ListAvailabilityRequestFilters();
|
|
2915
2932
|
m = Object.assign(m, proto);
|
|
2916
|
-
if (proto.timeSpan) {
|
|
2917
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
2918
|
-
}
|
|
2919
2933
|
return m;
|
|
2920
2934
|
}
|
|
2921
2935
|
constructor(kwargs) {
|
|
@@ -2926,14 +2940,11 @@ class ListBookedMeetingsRequestFilters {
|
|
|
2926
2940
|
}
|
|
2927
2941
|
toApiJson() {
|
|
2928
2942
|
const toReturn = {};
|
|
2929
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
2930
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
2931
|
-
}
|
|
2932
2943
|
if (typeof this.hostId !== 'undefined') {
|
|
2933
2944
|
toReturn['hostId'] = this.hostId;
|
|
2934
2945
|
}
|
|
2935
|
-
if (typeof this.
|
|
2936
|
-
toReturn['
|
|
2946
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
2947
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
2937
2948
|
}
|
|
2938
2949
|
return toReturn;
|
|
2939
2950
|
}
|
|
@@ -3118,7 +3129,7 @@ class HostBookMeetingRequest {
|
|
|
3118
3129
|
let m = new HostBookMeetingRequest();
|
|
3119
3130
|
m = Object.assign(m, proto);
|
|
3120
3131
|
if (proto.meetingSource) {
|
|
3121
|
-
m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
|
|
3132
|
+
m.meetingSource = enumStringToValue$2(MeetingSource, proto.meetingSource);
|
|
3122
3133
|
}
|
|
3123
3134
|
if (proto.timeSlot) {
|
|
3124
3135
|
m.timeSlot = DateRange.fromProto(proto.timeSlot);
|
|
@@ -3660,7 +3671,7 @@ class SetGeneralAvailabilityRequest {
|
|
|
3660
3671
|
let m = new SetGeneralAvailabilityRequest();
|
|
3661
3672
|
m = Object.assign(m, proto);
|
|
3662
3673
|
if (proto.days) {
|
|
3663
|
-
m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
|
|
3674
|
+
m.days = proto.days.map((v) => enumStringToValue$2(DayOfWeek, v));
|
|
3664
3675
|
}
|
|
3665
3676
|
if (proto.timeSlot) {
|
|
3666
3677
|
m.timeSlot = TimeRange.fromProto(proto.timeSlot);
|
|
@@ -3846,7 +3857,7 @@ class WeekdayAvailability {
|
|
|
3846
3857
|
let m = new WeekdayAvailability();
|
|
3847
3858
|
m = Object.assign(m, proto);
|
|
3848
3859
|
if (proto.day) {
|
|
3849
|
-
m.day = enumStringToValue(DayOfWeek, proto.day);
|
|
3860
|
+
m.day = enumStringToValue$2(DayOfWeek, proto.day);
|
|
3850
3861
|
}
|
|
3851
3862
|
if (proto.timeSlots) {
|
|
3852
3863
|
m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
|
|
@@ -3871,6 +3882,136 @@ class WeekdayAvailability {
|
|
|
3871
3882
|
}
|
|
3872
3883
|
}
|
|
3873
3884
|
|
|
3885
|
+
function enumStringToValue$1(enumRef, value) {
|
|
3886
|
+
if (typeof value === 'number') {
|
|
3887
|
+
return value;
|
|
3888
|
+
}
|
|
3889
|
+
return enumRef[value];
|
|
3890
|
+
}
|
|
3891
|
+
class CreateRawTranscriptRequest {
|
|
3892
|
+
static fromProto(proto) {
|
|
3893
|
+
let m = new CreateRawTranscriptRequest();
|
|
3894
|
+
m = Object.assign(m, proto);
|
|
3895
|
+
if (proto.rawTranscript) {
|
|
3896
|
+
m.rawTranscript = RawTranscript.fromProto(proto.rawTranscript);
|
|
3897
|
+
}
|
|
3898
|
+
return m;
|
|
3899
|
+
}
|
|
3900
|
+
constructor(kwargs) {
|
|
3901
|
+
if (!kwargs) {
|
|
3902
|
+
return;
|
|
3903
|
+
}
|
|
3904
|
+
Object.assign(this, kwargs);
|
|
3905
|
+
}
|
|
3906
|
+
toApiJson() {
|
|
3907
|
+
const toReturn = {};
|
|
3908
|
+
if (typeof this.rawTranscript !== 'undefined' && this.rawTranscript !== null) {
|
|
3909
|
+
toReturn['rawTranscript'] = 'toApiJson' in this.rawTranscript ? this.rawTranscript.toApiJson() : this.rawTranscript;
|
|
3910
|
+
}
|
|
3911
|
+
return toReturn;
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
class CreateRawTranscriptResponse {
|
|
3915
|
+
static fromProto(proto) {
|
|
3916
|
+
let m = new CreateRawTranscriptResponse();
|
|
3917
|
+
m = Object.assign(m, proto);
|
|
3918
|
+
return m;
|
|
3919
|
+
}
|
|
3920
|
+
constructor(kwargs) {
|
|
3921
|
+
if (!kwargs) {
|
|
3922
|
+
return;
|
|
3923
|
+
}
|
|
3924
|
+
Object.assign(this, kwargs);
|
|
3925
|
+
}
|
|
3926
|
+
toApiJson() {
|
|
3927
|
+
const toReturn = {};
|
|
3928
|
+
if (typeof this.id !== 'undefined') {
|
|
3929
|
+
toReturn['id'] = this.id;
|
|
3930
|
+
}
|
|
3931
|
+
return toReturn;
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
class RawTranscript {
|
|
3935
|
+
static fromProto(proto) {
|
|
3936
|
+
let m = new RawTranscript();
|
|
3937
|
+
m = Object.assign(m, proto);
|
|
3938
|
+
if (proto.source) {
|
|
3939
|
+
m.source = enumStringToValue$1(TranscriptSource, proto.source);
|
|
3940
|
+
}
|
|
3941
|
+
if (proto.created) {
|
|
3942
|
+
m.created = new Date(proto.created);
|
|
3943
|
+
}
|
|
3944
|
+
if (proto.updated) {
|
|
3945
|
+
m.updated = new Date(proto.updated);
|
|
3946
|
+
}
|
|
3947
|
+
if (proto.deleted) {
|
|
3948
|
+
m.deleted = new Date(proto.deleted);
|
|
3949
|
+
}
|
|
3950
|
+
return m;
|
|
3951
|
+
}
|
|
3952
|
+
constructor(kwargs) {
|
|
3953
|
+
if (!kwargs) {
|
|
3954
|
+
return;
|
|
3955
|
+
}
|
|
3956
|
+
Object.assign(this, kwargs);
|
|
3957
|
+
}
|
|
3958
|
+
toApiJson() {
|
|
3959
|
+
const toReturn = {};
|
|
3960
|
+
if (typeof this.id !== 'undefined') {
|
|
3961
|
+
toReturn['id'] = this.id;
|
|
3962
|
+
}
|
|
3963
|
+
if (typeof this.namespace !== 'undefined') {
|
|
3964
|
+
toReturn['namespace'] = this.namespace;
|
|
3965
|
+
}
|
|
3966
|
+
if (typeof this.transcript !== 'undefined') {
|
|
3967
|
+
toReturn['transcript'] = this.transcript;
|
|
3968
|
+
}
|
|
3969
|
+
if (typeof this.source !== 'undefined') {
|
|
3970
|
+
toReturn['source'] = this.source;
|
|
3971
|
+
}
|
|
3972
|
+
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
3973
|
+
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
3974
|
+
}
|
|
3975
|
+
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
3976
|
+
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
3977
|
+
}
|
|
3978
|
+
if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
|
|
3979
|
+
toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
|
|
3980
|
+
}
|
|
3981
|
+
return toReturn;
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
function enumStringToValue(enumRef, value) {
|
|
3986
|
+
if (typeof value === 'number') {
|
|
3987
|
+
return value;
|
|
3988
|
+
}
|
|
3989
|
+
return enumRef[value];
|
|
3990
|
+
}
|
|
3991
|
+
class Access {
|
|
3992
|
+
static fromProto(proto) {
|
|
3993
|
+
let m = new Access();
|
|
3994
|
+
m = Object.assign(m, proto);
|
|
3995
|
+
return m;
|
|
3996
|
+
}
|
|
3997
|
+
constructor(kwargs) {
|
|
3998
|
+
if (!kwargs) {
|
|
3999
|
+
return;
|
|
4000
|
+
}
|
|
4001
|
+
Object.assign(this, kwargs);
|
|
4002
|
+
}
|
|
4003
|
+
toApiJson() {
|
|
4004
|
+
const toReturn = {};
|
|
4005
|
+
if (typeof this.scope !== 'undefined') {
|
|
4006
|
+
toReturn['scope'] = this.scope;
|
|
4007
|
+
}
|
|
4008
|
+
if (typeof this.public !== 'undefined') {
|
|
4009
|
+
toReturn['public'] = this.public;
|
|
4010
|
+
}
|
|
4011
|
+
return toReturn;
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
|
|
3874
4015
|
// *********************************
|
|
3875
4016
|
|
|
3876
4017
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -3898,9 +4039,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
3898
4039
|
|
|
3899
4040
|
// *********************************
|
|
3900
4041
|
class MeetingSourceAPIApiService {
|
|
3901
|
-
constructor(
|
|
3902
|
-
this.
|
|
3903
|
-
this.
|
|
4042
|
+
constructor() {
|
|
4043
|
+
this.hostService = inject(HostService$1);
|
|
4044
|
+
this.http = inject(HttpClient);
|
|
3904
4045
|
this._host = this.hostService.hostWithScheme;
|
|
3905
4046
|
}
|
|
3906
4047
|
apiOptions() {
|
|
@@ -3917,18 +4058,18 @@ class MeetingSourceAPIApiService {
|
|
|
3917
4058
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
3918
4059
|
}
|
|
3919
4060
|
}
|
|
3920
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [
|
|
4061
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3921
4062
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
3922
4063
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
3923
4064
|
type: Injectable,
|
|
3924
4065
|
args: [{ providedIn: 'root' }]
|
|
3925
|
-
}]
|
|
4066
|
+
}] });
|
|
3926
4067
|
|
|
3927
4068
|
// *********************************
|
|
3928
4069
|
class ZoomApiService {
|
|
3929
|
-
constructor(
|
|
3930
|
-
this.
|
|
3931
|
-
this.
|
|
4070
|
+
constructor() {
|
|
4071
|
+
this.hostService = inject(HostService$1);
|
|
4072
|
+
this.http = inject(HttpClient);
|
|
3932
4073
|
this._host = this.hostService.hostWithScheme;
|
|
3933
4074
|
}
|
|
3934
4075
|
apiOptions() {
|
|
@@ -3945,18 +4086,18 @@ class ZoomApiService {
|
|
|
3945
4086
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
3946
4087
|
}
|
|
3947
4088
|
}
|
|
3948
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
4089
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3949
4090
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
3950
4091
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
3951
4092
|
type: Injectable,
|
|
3952
4093
|
args: [{ providedIn: 'root' }]
|
|
3953
|
-
}]
|
|
4094
|
+
}] });
|
|
3954
4095
|
|
|
3955
4096
|
// *********************************
|
|
3956
4097
|
class GoogleMeetApiService {
|
|
3957
|
-
constructor(
|
|
3958
|
-
this.
|
|
3959
|
-
this.
|
|
4098
|
+
constructor() {
|
|
4099
|
+
this.hostService = inject(HostService$1);
|
|
4100
|
+
this.http = inject(HttpClient);
|
|
3960
4101
|
this._host = this.hostService.hostWithScheme;
|
|
3961
4102
|
}
|
|
3962
4103
|
apiOptions() {
|
|
@@ -3973,12 +4114,12 @@ class GoogleMeetApiService {
|
|
|
3973
4114
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
3974
4115
|
}
|
|
3975
4116
|
}
|
|
3976
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [
|
|
4117
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3977
4118
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
3978
4119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
3979
4120
|
type: Injectable,
|
|
3980
4121
|
args: [{ providedIn: 'root' }]
|
|
3981
|
-
}]
|
|
4122
|
+
}] });
|
|
3982
4123
|
|
|
3983
4124
|
function generateMeetingPassword() {
|
|
3984
4125
|
const zoomMaxLength = 10;
|
|
@@ -4134,11 +4275,39 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4134
4275
|
return new GoogleMeetCreateMeetingRequest(req);
|
|
4135
4276
|
}
|
|
4136
4277
|
|
|
4278
|
+
// *********************************
|
|
4279
|
+
class ConversationAnalysisApiService {
|
|
4280
|
+
constructor() {
|
|
4281
|
+
this.hostService = inject(HostService$1);
|
|
4282
|
+
this.http = inject(HttpClient);
|
|
4283
|
+
this._host = this.hostService.hostWithScheme;
|
|
4284
|
+
}
|
|
4285
|
+
apiOptions() {
|
|
4286
|
+
return {
|
|
4287
|
+
headers: new HttpHeaders({
|
|
4288
|
+
'Content-Type': 'application/json'
|
|
4289
|
+
}),
|
|
4290
|
+
withCredentials: true
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
createRawTranscript(r) {
|
|
4294
|
+
const request = (r.toApiJson) ? r : new CreateRawTranscriptRequest(r);
|
|
4295
|
+
return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/CreateRawTranscript", request.toApiJson(), this.apiOptions())
|
|
4296
|
+
.pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
|
|
4297
|
+
}
|
|
4298
|
+
}
|
|
4299
|
+
ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4300
|
+
ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
|
|
4301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, decorators: [{
|
|
4302
|
+
type: Injectable,
|
|
4303
|
+
args: [{ providedIn: 'root' }]
|
|
4304
|
+
}] });
|
|
4305
|
+
|
|
4137
4306
|
// *********************************
|
|
4138
4307
|
class MeetingGuestApiService {
|
|
4139
|
-
constructor(
|
|
4140
|
-
this.
|
|
4141
|
-
this.
|
|
4308
|
+
constructor() {
|
|
4309
|
+
this.hostService = inject(HostService$1);
|
|
4310
|
+
this.http = inject(HttpClient);
|
|
4142
4311
|
this._host = this.hostService.hostWithScheme;
|
|
4143
4312
|
}
|
|
4144
4313
|
apiOptions() {
|
|
@@ -4198,18 +4367,18 @@ class MeetingGuestApiService {
|
|
|
4198
4367
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4199
4368
|
}
|
|
4200
4369
|
}
|
|
4201
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
4370
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4202
4371
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4203
4372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4204
4373
|
type: Injectable,
|
|
4205
4374
|
args: [{ providedIn: 'root' }]
|
|
4206
|
-
}]
|
|
4375
|
+
}] });
|
|
4207
4376
|
|
|
4208
4377
|
// *********************************
|
|
4209
4378
|
class MeetingHostApiService {
|
|
4210
|
-
constructor(
|
|
4211
|
-
this.
|
|
4212
|
-
this.
|
|
4379
|
+
constructor() {
|
|
4380
|
+
this.hostService = inject(HostService$1);
|
|
4381
|
+
this.http = inject(HttpClient);
|
|
4213
4382
|
this._host = this.hostService.hostWithScheme;
|
|
4214
4383
|
}
|
|
4215
4384
|
apiOptions() {
|
|
@@ -4355,12 +4524,12 @@ class MeetingHostApiService {
|
|
|
4355
4524
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CreateDefaultMeetingTypes", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
4356
4525
|
}
|
|
4357
4526
|
}
|
|
4358
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
4527
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4359
4528
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
4360
4529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
4361
4530
|
type: Injectable,
|
|
4362
4531
|
args: [{ providedIn: 'root' }]
|
|
4363
|
-
}]
|
|
4532
|
+
}] });
|
|
4364
4533
|
|
|
4365
4534
|
// *********************************
|
|
4366
4535
|
|
|
@@ -5078,9 +5247,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5078
5247
|
args: [{ providedIn: 'root' }]
|
|
5079
5248
|
}], ctorParameters: function () { return [{ type: MeetingHostApiService }]; } });
|
|
5080
5249
|
|
|
5250
|
+
class ConversationAnalysisService {
|
|
5251
|
+
constructor(conversationAnalysisApiService) {
|
|
5252
|
+
this.conversationAnalysisApiService = conversationAnalysisApiService;
|
|
5253
|
+
}
|
|
5254
|
+
createRawTranscript(rawTranscript) {
|
|
5255
|
+
return this.conversationAnalysisApiService.createRawTranscript({
|
|
5256
|
+
rawTranscript: rawTranscript
|
|
5257
|
+
}).pipe(map(resp => resp?.id));
|
|
5258
|
+
}
|
|
5259
|
+
}
|
|
5260
|
+
ConversationAnalysisService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, deps: [{ token: ConversationAnalysisApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5261
|
+
ConversationAnalysisService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, providedIn: 'root' });
|
|
5262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, decorators: [{
|
|
5263
|
+
type: Injectable,
|
|
5264
|
+
args: [{ providedIn: 'root' }]
|
|
5265
|
+
}], ctorParameters: function () { return [{ type: ConversationAnalysisApiService }]; } });
|
|
5266
|
+
|
|
5081
5267
|
/**
|
|
5082
5268
|
* Generated bundle index. Do not edit.
|
|
5083
5269
|
*/
|
|
5084
5270
|
|
|
5085
|
-
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 };
|
|
5271
|
+
export { CalendarType, Contact, ConversationAnalysisService, 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 };
|
|
5086
5272
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|