@vendasta/meetings 0.75.0 → 0.76.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/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 +3 -2
- 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 +2 -1
- 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,7 +155,7 @@ class CreateZoomMeetingRequest {
|
|
|
144
155
|
let m = new CreateZoomMeetingRequest();
|
|
145
156
|
m = Object.assign(m, proto);
|
|
146
157
|
if (proto.type) {
|
|
147
|
-
m.type = enumStringToValue$
|
|
158
|
+
m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
|
|
148
159
|
}
|
|
149
160
|
if (proto.duration) {
|
|
150
161
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -212,7 +223,7 @@ class CreateZoomMeetingResponse {
|
|
|
212
223
|
m.meetingId = parseInt(proto.meetingId, 10);
|
|
213
224
|
}
|
|
214
225
|
if (proto.type) {
|
|
215
|
-
m.type = enumStringToValue$
|
|
226
|
+
m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
|
|
216
227
|
}
|
|
217
228
|
if (proto.duration) {
|
|
218
229
|
m.duration = parseInt(proto.duration, 10);
|
|
@@ -304,7 +315,7 @@ class ZoomMeetingRecurrence {
|
|
|
304
315
|
let m = new ZoomMeetingRecurrence();
|
|
305
316
|
m = Object.assign(m, proto);
|
|
306
317
|
if (proto.type) {
|
|
307
|
-
m.type = enumStringToValue$
|
|
318
|
+
m.type = enumStringToValue$c(ZoomMeetingRecurrenceType, proto.type);
|
|
308
319
|
}
|
|
309
320
|
if (proto.repeatInterval) {
|
|
310
321
|
m.repeatInterval = parseInt(proto.repeatInterval, 10);
|
|
@@ -313,10 +324,10 @@ class ZoomMeetingRecurrence {
|
|
|
313
324
|
m.monthlyDay = parseInt(proto.monthlyDay, 10);
|
|
314
325
|
}
|
|
315
326
|
if (proto.monthlyWeek) {
|
|
316
|
-
m.monthlyWeek = enumStringToValue$
|
|
327
|
+
m.monthlyWeek = enumStringToValue$c(ZoomMonthlyWeek, proto.monthlyWeek);
|
|
317
328
|
}
|
|
318
329
|
if (proto.monthlyWeekDay) {
|
|
319
|
-
m.monthlyWeekDay = enumStringToValue$
|
|
330
|
+
m.monthlyWeekDay = enumStringToValue$c(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
|
|
320
331
|
}
|
|
321
332
|
if (proto.endTimes) {
|
|
322
333
|
m.endTimes = parseInt(proto.endTimes, 10);
|
|
@@ -363,10 +374,10 @@ class ZoomMeetingSettings {
|
|
|
363
374
|
let m = new ZoomMeetingSettings();
|
|
364
375
|
m = Object.assign(m, proto);
|
|
365
376
|
if (proto.approvalType) {
|
|
366
|
-
m.approvalType = enumStringToValue$
|
|
377
|
+
m.approvalType = enumStringToValue$c(ZoomApprovalType, proto.approvalType);
|
|
367
378
|
}
|
|
368
379
|
if (proto.registrationType) {
|
|
369
|
-
m.registrationType = enumStringToValue$
|
|
380
|
+
m.registrationType = enumStringToValue$c(ZoomRegistrationType, proto.registrationType);
|
|
370
381
|
}
|
|
371
382
|
return m;
|
|
372
383
|
}
|
|
@@ -509,7 +520,7 @@ class ZoomOccurrence {
|
|
|
509
520
|
}
|
|
510
521
|
}
|
|
511
522
|
|
|
512
|
-
function enumStringToValue$
|
|
523
|
+
function enumStringToValue$b(enumRef, value) {
|
|
513
524
|
if (typeof value === 'number') {
|
|
514
525
|
return value;
|
|
515
526
|
}
|
|
@@ -1048,7 +1059,7 @@ class GoogleMeetMeetingReminders {
|
|
|
1048
1059
|
}
|
|
1049
1060
|
}
|
|
1050
1061
|
|
|
1051
|
-
function enumStringToValue$
|
|
1062
|
+
function enumStringToValue$a(enumRef, value) {
|
|
1052
1063
|
if (typeof value === 'number') {
|
|
1053
1064
|
return value;
|
|
1054
1065
|
}
|
|
@@ -1059,10 +1070,10 @@ class MeetingSourceInfo {
|
|
|
1059
1070
|
let m = new MeetingSourceInfo();
|
|
1060
1071
|
m = Object.assign(m, proto);
|
|
1061
1072
|
if (proto.source) {
|
|
1062
|
-
m.source = enumStringToValue$
|
|
1073
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
1063
1074
|
}
|
|
1064
1075
|
if (proto.status) {
|
|
1065
|
-
m.status = enumStringToValue$
|
|
1076
|
+
m.status = enumStringToValue$a(MeetingSourceStatus, proto.status);
|
|
1066
1077
|
}
|
|
1067
1078
|
return m;
|
|
1068
1079
|
}
|
|
@@ -1143,7 +1154,7 @@ class MeetingSourceQuery {
|
|
|
1143
1154
|
let m = new MeetingSourceQuery();
|
|
1144
1155
|
m = Object.assign(m, proto);
|
|
1145
1156
|
if (proto.source) {
|
|
1146
|
-
m.source = enumStringToValue$
|
|
1157
|
+
m.source = enumStringToValue$a(MeetingSource, proto.source);
|
|
1147
1158
|
}
|
|
1148
1159
|
return m;
|
|
1149
1160
|
}
|
|
@@ -1168,7 +1179,7 @@ class MeetingSourceQuery {
|
|
|
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
|
var _a;
|
|
@@ -3899,9 +4040,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
3899
4040
|
|
|
3900
4041
|
// *********************************
|
|
3901
4042
|
class MeetingSourceAPIApiService {
|
|
3902
|
-
constructor(
|
|
3903
|
-
this.
|
|
3904
|
-
this.
|
|
4043
|
+
constructor() {
|
|
4044
|
+
this.hostService = inject(HostService$1);
|
|
4045
|
+
this.http = inject(HttpClient);
|
|
3905
4046
|
this._host = this.hostService.hostWithScheme;
|
|
3906
4047
|
}
|
|
3907
4048
|
apiOptions() {
|
|
@@ -3918,18 +4059,18 @@ class MeetingSourceAPIApiService {
|
|
|
3918
4059
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
3919
4060
|
}
|
|
3920
4061
|
}
|
|
3921
|
-
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 });
|
|
3922
4063
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
3923
4064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
3924
4065
|
type: Injectable,
|
|
3925
4066
|
args: [{ providedIn: 'root' }]
|
|
3926
|
-
}]
|
|
4067
|
+
}] });
|
|
3927
4068
|
|
|
3928
4069
|
// *********************************
|
|
3929
4070
|
class ZoomApiService {
|
|
3930
|
-
constructor(
|
|
3931
|
-
this.
|
|
3932
|
-
this.
|
|
4071
|
+
constructor() {
|
|
4072
|
+
this.hostService = inject(HostService$1);
|
|
4073
|
+
this.http = inject(HttpClient);
|
|
3933
4074
|
this._host = this.hostService.hostWithScheme;
|
|
3934
4075
|
}
|
|
3935
4076
|
apiOptions() {
|
|
@@ -3946,18 +4087,18 @@ class ZoomApiService {
|
|
|
3946
4087
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
3947
4088
|
}
|
|
3948
4089
|
}
|
|
3949
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [
|
|
4090
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3950
4091
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
3951
4092
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
3952
4093
|
type: Injectable,
|
|
3953
4094
|
args: [{ providedIn: 'root' }]
|
|
3954
|
-
}]
|
|
4095
|
+
}] });
|
|
3955
4096
|
|
|
3956
4097
|
// *********************************
|
|
3957
4098
|
class GoogleMeetApiService {
|
|
3958
|
-
constructor(
|
|
3959
|
-
this.
|
|
3960
|
-
this.
|
|
4099
|
+
constructor() {
|
|
4100
|
+
this.hostService = inject(HostService$1);
|
|
4101
|
+
this.http = inject(HttpClient);
|
|
3961
4102
|
this._host = this.hostService.hostWithScheme;
|
|
3962
4103
|
}
|
|
3963
4104
|
apiOptions() {
|
|
@@ -3974,12 +4115,12 @@ class GoogleMeetApiService {
|
|
|
3974
4115
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
3975
4116
|
}
|
|
3976
4117
|
}
|
|
3977
|
-
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 });
|
|
3978
4119
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
3979
4120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
3980
4121
|
type: Injectable,
|
|
3981
4122
|
args: [{ providedIn: 'root' }]
|
|
3982
|
-
}]
|
|
4123
|
+
}] });
|
|
3983
4124
|
|
|
3984
4125
|
function generateMeetingPassword() {
|
|
3985
4126
|
const zoomMaxLength = 10;
|
|
@@ -4351,11 +4492,39 @@ class PagedResponse {
|
|
|
4351
4492
|
}
|
|
4352
4493
|
}
|
|
4353
4494
|
|
|
4495
|
+
// *********************************
|
|
4496
|
+
class ConversationAnalysisApiService {
|
|
4497
|
+
constructor() {
|
|
4498
|
+
this.hostService = inject(HostService$1);
|
|
4499
|
+
this.http = inject(HttpClient);
|
|
4500
|
+
this._host = this.hostService.hostWithScheme;
|
|
4501
|
+
}
|
|
4502
|
+
apiOptions() {
|
|
4503
|
+
return {
|
|
4504
|
+
headers: new HttpHeaders({
|
|
4505
|
+
'Content-Type': 'application/json'
|
|
4506
|
+
}),
|
|
4507
|
+
withCredentials: true
|
|
4508
|
+
};
|
|
4509
|
+
}
|
|
4510
|
+
createRawTranscript(r) {
|
|
4511
|
+
const request = (r.toApiJson) ? r : new CreateRawTranscriptRequest(r);
|
|
4512
|
+
return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/CreateRawTranscript", request.toApiJson(), this.apiOptions())
|
|
4513
|
+
.pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4517
|
+
ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
|
|
4518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, decorators: [{
|
|
4519
|
+
type: Injectable,
|
|
4520
|
+
args: [{ providedIn: 'root' }]
|
|
4521
|
+
}] });
|
|
4522
|
+
|
|
4354
4523
|
// *********************************
|
|
4355
4524
|
class MeetingGuestApiService {
|
|
4356
|
-
constructor(
|
|
4357
|
-
this.
|
|
4358
|
-
this.
|
|
4525
|
+
constructor() {
|
|
4526
|
+
this.hostService = inject(HostService$1);
|
|
4527
|
+
this.http = inject(HttpClient);
|
|
4359
4528
|
this._host = this.hostService.hostWithScheme;
|
|
4360
4529
|
}
|
|
4361
4530
|
apiOptions() {
|
|
@@ -4415,18 +4584,18 @@ class MeetingGuestApiService {
|
|
|
4415
4584
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4416
4585
|
}
|
|
4417
4586
|
}
|
|
4418
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [
|
|
4587
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4419
4588
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4420
4589
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4421
4590
|
type: Injectable,
|
|
4422
4591
|
args: [{ providedIn: 'root' }]
|
|
4423
|
-
}]
|
|
4592
|
+
}] });
|
|
4424
4593
|
|
|
4425
4594
|
// *********************************
|
|
4426
4595
|
class MeetingHostApiService {
|
|
4427
|
-
constructor(
|
|
4428
|
-
this.
|
|
4429
|
-
this.
|
|
4596
|
+
constructor() {
|
|
4597
|
+
this.hostService = inject(HostService$1);
|
|
4598
|
+
this.http = inject(HttpClient);
|
|
4430
4599
|
this._host = this.hostService.hostWithScheme;
|
|
4431
4600
|
}
|
|
4432
4601
|
apiOptions() {
|
|
@@ -4572,12 +4741,12 @@ class MeetingHostApiService {
|
|
|
4572
4741
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CreateDefaultMeetingTypes", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4573
4742
|
}
|
|
4574
4743
|
}
|
|
4575
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [
|
|
4744
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4576
4745
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
4577
4746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
4578
4747
|
type: Injectable,
|
|
4579
4748
|
args: [{ providedIn: 'root' }]
|
|
4580
|
-
}]
|
|
4749
|
+
}] });
|
|
4581
4750
|
|
|
4582
4751
|
// *********************************
|
|
4583
4752
|
|
|
@@ -5042,9 +5211,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5042
5211
|
args: [{ providedIn: 'root' }]
|
|
5043
5212
|
}], ctorParameters: function () { return [{ type: MeetingHostApiService }]; } });
|
|
5044
5213
|
|
|
5214
|
+
class ConversationAnalysisService {
|
|
5215
|
+
constructor(conversationAnalysisApiService) {
|
|
5216
|
+
this.conversationAnalysisApiService = conversationAnalysisApiService;
|
|
5217
|
+
}
|
|
5218
|
+
createRawTranscript(rawTranscript) {
|
|
5219
|
+
return this.conversationAnalysisApiService.createRawTranscript({
|
|
5220
|
+
rawTranscript: rawTranscript
|
|
5221
|
+
}).pipe(map(resp => resp === null || resp === void 0 ? void 0 : resp.id));
|
|
5222
|
+
}
|
|
5223
|
+
}
|
|
5224
|
+
ConversationAnalysisService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, deps: [{ token: ConversationAnalysisApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5225
|
+
ConversationAnalysisService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, providedIn: 'root' });
|
|
5226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, decorators: [{
|
|
5227
|
+
type: Injectable,
|
|
5228
|
+
args: [{ providedIn: 'root' }]
|
|
5229
|
+
}], ctorParameters: function () { return [{ type: ConversationAnalysisApiService }]; } });
|
|
5230
|
+
|
|
5045
5231
|
/**
|
|
5046
5232
|
* Generated bundle index. Do not edit.
|
|
5047
5233
|
*/
|
|
5048
5234
|
|
|
5049
|
-
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 };
|
|
5235
|
+
export { CalendarType, Contact, ConversationAnalysisService, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, TranscriptSource, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
5050
5236
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|