@vendasta/meetings 0.80.0 → 0.81.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +1 -2
  2. package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
  3. package/esm2020/lib/_internal/index.mjs +1 -2
  4. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
  10. package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -8
  11. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
  12. package/esm2020/lib/_internal/objects/index.mjs +3 -5
  13. package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
  14. package/esm2020/lib/_internal/objects/meeting-host.mjs +17 -2
  15. package/esm2020/lib/_internal/objects/meeting-type.mjs +28 -1
  16. package/esm2020/lib/_internal/objects/shared.mjs +2 -3
  17. package/esm2020/lib/guest/guest.service.mjs +1 -1
  18. package/esm2020/lib/host/host.service.mjs +11 -2
  19. package/esm2020/lib/index.mjs +3 -4
  20. package/esm2020/lib/shared/meeting-type.mjs +15 -3
  21. package/esm2020/lib/shared/meeting.mjs +3 -2
  22. package/fesm2015/vendasta-meetings.mjs +145 -502
  23. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  24. package/fesm2020/vendasta-meetings.mjs +145 -499
  25. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  26. package/lib/_internal/enums/index.d.ts +0 -1
  27. package/lib/_internal/google-meet.api.service.d.ts +2 -5
  28. package/lib/_internal/index.d.ts +0 -1
  29. package/lib/_internal/interfaces/index.d.ts +2 -4
  30. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
  31. package/lib/_internal/interfaces/meeting-host.interface.d.ts +5 -1
  32. package/lib/_internal/interfaces/meeting-type.interface.d.ts +6 -0
  33. package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
  34. package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
  35. package/lib/_internal/meeting-host.api.service.d.ts +3 -5
  36. package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
  37. package/lib/_internal/objects/index.d.ts +2 -4
  38. package/lib/_internal/objects/meeting-guest.d.ts +2 -1
  39. package/lib/_internal/objects/meeting-host.d.ts +5 -1
  40. package/lib/_internal/objects/meeting-type.d.ts +6 -0
  41. package/lib/_internal/objects/shared.d.ts +1 -2
  42. package/lib/guest/guest.service.d.ts +1 -0
  43. package/lib/host/host.service.d.ts +3 -0
  44. package/lib/index.d.ts +3 -4
  45. package/lib/shared/meeting-type.d.ts +6 -0
  46. package/lib/shared/meeting.d.ts +1 -0
  47. package/package.json +1 -1
  48. package/esm2020/lib/_internal/conversation-analysis.api.service.mjs +0 -50
  49. package/esm2020/lib/_internal/enums/conversation-analysis.enum.mjs +0 -13
  50. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +0 -8
  51. package/esm2020/lib/_internal/interfaces/conversation-analysis.interface.mjs +0 -2
  52. package/esm2020/lib/_internal/objects/annotations.mjs +0 -30
  53. package/esm2020/lib/_internal/objects/conversation-analysis.mjs +0 -309
  54. package/esm2020/lib/conversation_analysis/conversation-analysis.service.mjs +0 -37
  55. package/lib/_internal/conversation-analysis.api.service.d.ts +0 -15
  56. package/lib/_internal/enums/conversation-analysis.enum.d.ts +0 -5
  57. package/lib/_internal/interfaces/annotations.interface.d.ts +0 -4
  58. package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +0 -53
  59. package/lib/_internal/objects/annotations.d.ts +0 -9
  60. package/lib/_internal/objects/conversation-analysis.d.ts +0 -82
  61. 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 * as i1 from '@angular/common/http';
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$c(enumRef, value) {
135
+ function enumStringToValue$a(enumRef, value) {
150
136
  if (typeof value === 'number') {
151
137
  return value;
152
138
  }
@@ -157,7 +143,7 @@ class CreateZoomMeetingRequest {
157
143
  let m = new CreateZoomMeetingRequest();
158
144
  m = Object.assign(m, proto);
159
145
  if (proto.type) {
160
- m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
146
+ m.type = enumStringToValue$a(ZoomMeetingType, proto.type);
161
147
  }
162
148
  if (proto.duration) {
163
149
  m.duration = parseInt(proto.duration, 10);
@@ -225,7 +211,7 @@ class CreateZoomMeetingResponse {
225
211
  m.meetingId = parseInt(proto.meetingId, 10);
226
212
  }
227
213
  if (proto.type) {
228
- m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
214
+ m.type = enumStringToValue$a(ZoomMeetingType, proto.type);
229
215
  }
230
216
  if (proto.duration) {
231
217
  m.duration = parseInt(proto.duration, 10);
@@ -317,7 +303,7 @@ class ZoomMeetingRecurrence {
317
303
  let m = new ZoomMeetingRecurrence();
318
304
  m = Object.assign(m, proto);
319
305
  if (proto.type) {
320
- m.type = enumStringToValue$c(ZoomMeetingRecurrenceType, proto.type);
306
+ m.type = enumStringToValue$a(ZoomMeetingRecurrenceType, proto.type);
321
307
  }
322
308
  if (proto.repeatInterval) {
323
309
  m.repeatInterval = parseInt(proto.repeatInterval, 10);
@@ -326,10 +312,10 @@ class ZoomMeetingRecurrence {
326
312
  m.monthlyDay = parseInt(proto.monthlyDay, 10);
327
313
  }
328
314
  if (proto.monthlyWeek) {
329
- m.monthlyWeek = enumStringToValue$c(ZoomMonthlyWeek, proto.monthlyWeek);
315
+ m.monthlyWeek = enumStringToValue$a(ZoomMonthlyWeek, proto.monthlyWeek);
330
316
  }
331
317
  if (proto.monthlyWeekDay) {
332
- m.monthlyWeekDay = enumStringToValue$c(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
318
+ m.monthlyWeekDay = enumStringToValue$a(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
333
319
  }
334
320
  if (proto.endTimes) {
335
321
  m.endTimes = parseInt(proto.endTimes, 10);
@@ -376,10 +362,10 @@ class ZoomMeetingSettings {
376
362
  let m = new ZoomMeetingSettings();
377
363
  m = Object.assign(m, proto);
378
364
  if (proto.approvalType) {
379
- m.approvalType = enumStringToValue$c(ZoomApprovalType, proto.approvalType);
365
+ m.approvalType = enumStringToValue$a(ZoomApprovalType, proto.approvalType);
380
366
  }
381
367
  if (proto.registrationType) {
382
- m.registrationType = enumStringToValue$c(ZoomRegistrationType, proto.registrationType);
368
+ m.registrationType = enumStringToValue$a(ZoomRegistrationType, proto.registrationType);
383
369
  }
384
370
  return m;
385
371
  }
@@ -522,7 +508,7 @@ class ZoomOccurrence {
522
508
  }
523
509
  }
524
510
 
525
- function enumStringToValue$b(enumRef, value) {
511
+ function enumStringToValue$9(enumRef, value) {
526
512
  if (typeof value === 'number') {
527
513
  return value;
528
514
  }
@@ -1061,7 +1047,7 @@ class GoogleMeetMeetingReminders {
1061
1047
  }
1062
1048
  }
1063
1049
 
1064
- function enumStringToValue$a(enumRef, value) {
1050
+ function enumStringToValue$8(enumRef, value) {
1065
1051
  if (typeof value === 'number') {
1066
1052
  return value;
1067
1053
  }
@@ -1072,10 +1058,10 @@ class MeetingSourceInfo {
1072
1058
  let m = new MeetingSourceInfo();
1073
1059
  m = Object.assign(m, proto);
1074
1060
  if (proto.source) {
1075
- m.source = enumStringToValue$a(MeetingSource, proto.source);
1061
+ m.source = enumStringToValue$8(MeetingSource, proto.source);
1076
1062
  }
1077
1063
  if (proto.status) {
1078
- m.status = enumStringToValue$a(MeetingSourceStatus, proto.status);
1064
+ m.status = enumStringToValue$8(MeetingSourceStatus, proto.status);
1079
1065
  }
1080
1066
  return m;
1081
1067
  }
@@ -1156,7 +1142,7 @@ class MeetingSourceQuery {
1156
1142
  let m = new MeetingSourceQuery();
1157
1143
  m = Object.assign(m, proto);
1158
1144
  if (proto.source) {
1159
- m.source = enumStringToValue$a(MeetingSource, proto.source);
1145
+ m.source = enumStringToValue$8(MeetingSource, proto.source);
1160
1146
  }
1161
1147
  return m;
1162
1148
  }
@@ -1181,119 +1167,6 @@ class MeetingSourceQuery {
1181
1167
  }
1182
1168
  }
1183
1169
 
1184
- function enumStringToValue$9(enumRef, value) {
1185
- if (typeof value === 'number') {
1186
- return value;
1187
- }
1188
- return enumRef[value];
1189
- }
1190
- class TimeOfDay {
1191
- static fromProto(proto) {
1192
- let m = new TimeOfDay();
1193
- m = Object.assign(m, proto);
1194
- return m;
1195
- }
1196
- constructor(kwargs) {
1197
- if (!kwargs) {
1198
- return;
1199
- }
1200
- Object.assign(this, kwargs);
1201
- }
1202
- toApiJson() {
1203
- const toReturn = {};
1204
- if (typeof this.hours !== 'undefined') {
1205
- toReturn['hours'] = this.hours;
1206
- }
1207
- if (typeof this.minutes !== 'undefined') {
1208
- toReturn['minutes'] = this.minutes;
1209
- }
1210
- if (typeof this.seconds !== 'undefined') {
1211
- toReturn['seconds'] = this.seconds;
1212
- }
1213
- if (typeof this.nanos !== 'undefined') {
1214
- toReturn['nanos'] = this.nanos;
1215
- }
1216
- return toReturn;
1217
- }
1218
- }
1219
-
1220
- function enumStringToValue$8(enumRef, value) {
1221
- if (typeof value === 'number') {
1222
- return value;
1223
- }
1224
- return enumRef[value];
1225
- }
1226
- class DateTime {
1227
- static fromProto(proto) {
1228
- let m = new DateTime();
1229
- m = Object.assign(m, proto);
1230
- if (proto.timeZone) {
1231
- m.timeZone = TimeZone.fromProto(proto.timeZone);
1232
- }
1233
- return m;
1234
- }
1235
- constructor(kwargs) {
1236
- if (!kwargs) {
1237
- return;
1238
- }
1239
- Object.assign(this, kwargs);
1240
- }
1241
- toApiJson() {
1242
- const toReturn = {};
1243
- if (typeof this.year !== 'undefined') {
1244
- toReturn['year'] = this.year;
1245
- }
1246
- if (typeof this.month !== 'undefined') {
1247
- toReturn['month'] = this.month;
1248
- }
1249
- if (typeof this.day !== 'undefined') {
1250
- toReturn['day'] = this.day;
1251
- }
1252
- if (typeof this.hours !== 'undefined') {
1253
- toReturn['hours'] = this.hours;
1254
- }
1255
- if (typeof this.minutes !== 'undefined') {
1256
- toReturn['minutes'] = this.minutes;
1257
- }
1258
- if (typeof this.seconds !== 'undefined') {
1259
- toReturn['seconds'] = this.seconds;
1260
- }
1261
- if (typeof this.nanos !== 'undefined') {
1262
- toReturn['nanos'] = this.nanos;
1263
- }
1264
- if (typeof this.utcOffset !== 'undefined') {
1265
- toReturn['utcOffset'] = this.utcOffset;
1266
- }
1267
- if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
1268
- toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
1269
- }
1270
- return toReturn;
1271
- }
1272
- }
1273
- class TimeZone {
1274
- static fromProto(proto) {
1275
- let m = new TimeZone();
1276
- m = Object.assign(m, proto);
1277
- return m;
1278
- }
1279
- constructor(kwargs) {
1280
- if (!kwargs) {
1281
- return;
1282
- }
1283
- Object.assign(this, kwargs);
1284
- }
1285
- toApiJson() {
1286
- const toReturn = {};
1287
- if (typeof this.id !== 'undefined') {
1288
- toReturn['id'] = this.id;
1289
- }
1290
- if (typeof this.version !== 'undefined') {
1291
- toReturn['version'] = this.version;
1292
- }
1293
- return toReturn;
1294
- }
1295
- }
1296
-
1297
1170
  function enumStringToValue$7(enumRef, value) {
1298
1171
  if (typeof value === 'number') {
1299
1172
  return value;
@@ -1785,6 +1658,15 @@ class MeetingType {
1785
1658
  if (proto.form) {
1786
1659
  m.form = Form.fromProto(proto.form);
1787
1660
  }
1661
+ if (proto.availabilityIncrement) {
1662
+ m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
1663
+ }
1664
+ if (proto.bufferDurationAfterMeeting) {
1665
+ m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
1666
+ }
1667
+ if (proto.noticeTime) {
1668
+ m.noticeTime = parseInt(proto.noticeTime, 10);
1669
+ }
1788
1670
  return m;
1789
1671
  }
1790
1672
  constructor(kwargs) {
@@ -1831,6 +1713,24 @@ class MeetingType {
1831
1713
  if (typeof this.bookingUrl !== 'undefined') {
1832
1714
  toReturn['bookingUrl'] = this.bookingUrl;
1833
1715
  }
1716
+ if (typeof this.availabilityIncrement !== 'undefined') {
1717
+ toReturn['availabilityIncrement'] = this.availabilityIncrement;
1718
+ }
1719
+ if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
1720
+ toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
1721
+ }
1722
+ if (typeof this.noticeTime !== 'undefined') {
1723
+ toReturn['noticeTime'] = this.noticeTime;
1724
+ }
1725
+ if (typeof this.location !== 'undefined') {
1726
+ toReturn['location'] = this.location;
1727
+ }
1728
+ if (typeof this.isClientSiteMeeting !== 'undefined') {
1729
+ toReturn['isClientSiteMeeting'] = this.isClientSiteMeeting;
1730
+ }
1731
+ if (typeof this.locationGuidelines !== 'undefined') {
1732
+ toReturn['locationGuidelines'] = this.locationGuidelines;
1733
+ }
1834
1734
  return toReturn;
1835
1735
  }
1836
1736
  }
@@ -1933,6 +1833,9 @@ class BookMeetingRequest {
1933
1833
  if (typeof this.recaptchaToken !== 'undefined') {
1934
1834
  toReturn['recaptchaToken'] = this.recaptchaToken;
1935
1835
  }
1836
+ if (typeof this.location !== 'undefined') {
1837
+ toReturn['location'] = this.location;
1838
+ }
1936
1839
  return toReturn;
1937
1840
  }
1938
1841
  }
@@ -2723,6 +2626,9 @@ class CreateMeetingTypeRequest {
2723
2626
  if (proto.meetingType) {
2724
2627
  m.meetingType = MeetingType.fromProto(proto.meetingType);
2725
2628
  }
2629
+ if (proto.fieldMask) {
2630
+ m.fieldMask = FieldMask.fromProto(proto.fieldMask);
2631
+ }
2726
2632
  return m;
2727
2633
  }
2728
2634
  constructor(kwargs) {
@@ -2736,6 +2642,12 @@ class CreateMeetingTypeRequest {
2736
2642
  if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
2737
2643
  toReturn['meetingType'] = 'toApiJson' in this.meetingType ? this.meetingType.toApiJson() : this.meetingType;
2738
2644
  }
2645
+ if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
2646
+ toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
2647
+ }
2648
+ if (typeof this.hostId !== 'undefined') {
2649
+ toReturn['hostId'] = this.hostId;
2650
+ }
2739
2651
  return toReturn;
2740
2652
  }
2741
2653
  }
@@ -3642,6 +3554,9 @@ class Meeting {
3642
3554
  if (typeof this.attachments !== 'undefined' && this.attachments !== null) {
3643
3555
  toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;
3644
3556
  }
3557
+ if (typeof this.location !== 'undefined') {
3558
+ toReturn['location'] = this.location;
3559
+ }
3645
3560
  return toReturn;
3646
3561
  }
3647
3562
  }
@@ -3949,6 +3864,9 @@ class UpdateMeetingTypeRequest {
3949
3864
  if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
3950
3865
  toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
3951
3866
  }
3867
+ if (typeof this.hostId !== 'undefined') {
3868
+ toReturn['hostId'] = this.hostId;
3869
+ }
3952
3870
  return toReturn;
3953
3871
  }
3954
3872
  }
@@ -3988,96 +3906,10 @@ function enumStringToValue$1(enumRef, value) {
3988
3906
  }
3989
3907
  return enumRef[value];
3990
3908
  }
3991
- class 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 {
3909
+ class TimeOfDay {
4075
3910
  static fromProto(proto) {
4076
- let m = new GetProcessedTranscriptsResponse();
3911
+ let m = new TimeOfDay();
4077
3912
  m = Object.assign(m, proto);
4078
- if (proto.processedTranscript) {
4079
- m.processedTranscript = ProcessedTranscript.fromProto(proto.processedTranscript);
4080
- }
4081
3913
  return m;
4082
3914
  }
4083
3915
  constructor(kwargs) {
@@ -4088,91 +3920,34 @@ class GetProcessedTranscriptsResponse {
4088
3920
  }
4089
3921
  toApiJson() {
4090
3922
  const toReturn = {};
4091
- if (typeof this.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);
3923
+ if (typeof this.hours !== 'undefined') {
3924
+ toReturn['hours'] = this.hours;
4106
3925
  }
4107
- return m;
4108
- }
4109
- constructor(kwargs) {
4110
- if (!kwargs) {
4111
- return;
3926
+ if (typeof this.minutes !== 'undefined') {
3927
+ toReturn['minutes'] = this.minutes;
4112
3928
  }
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;
3929
+ if (typeof this.seconds !== 'undefined') {
3930
+ toReturn['seconds'] = this.seconds;
4119
3931
  }
4120
- if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
4121
- toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
3932
+ if (typeof this.nanos !== 'undefined') {
3933
+ toReturn['nanos'] = this.nanos;
4122
3934
  }
4123
3935
  return toReturn;
4124
3936
  }
4125
3937
  }
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;
3938
+
3939
+ function enumStringToValue(enumRef, value) {
3940
+ if (typeof value === 'number') {
3941
+ return value;
4153
3942
  }
3943
+ return enumRef[value];
4154
3944
  }
4155
- class ProcessedTranscript {
3945
+ class DateTime {
4156
3946
  static fromProto(proto) {
4157
- let m = new ProcessedTranscript();
3947
+ let m = new DateTime();
4158
3948
  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);
3949
+ if (proto.timeZone) {
3950
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
4176
3951
  }
4177
3952
  return m;
4178
3953
  }
@@ -4184,76 +3959,40 @@ class ProcessedTranscript {
4184
3959
  }
4185
3960
  toApiJson() {
4186
3961
  const toReturn = {};
4187
- if (typeof this.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;
3962
+ if (typeof this.year !== 'undefined') {
3963
+ toReturn['year'] = this.year;
4213
3964
  }
4214
- if (typeof this.sentimentExplanation !== 'undefined') {
4215
- toReturn['sentimentExplanation'] = this.sentimentExplanation;
3965
+ if (typeof this.month !== 'undefined') {
3966
+ toReturn['month'] = this.month;
4216
3967
  }
4217
- if (typeof this.salesScore !== 'undefined') {
4218
- toReturn['salesScore'] = this.salesScore;
3968
+ if (typeof this.day !== 'undefined') {
3969
+ toReturn['day'] = this.day;
4219
3970
  }
4220
- if (typeof this.salesScoreExplanation !== 'undefined') {
4221
- toReturn['salesScoreExplanation'] = this.salesScoreExplanation;
3971
+ if (typeof this.hours !== 'undefined') {
3972
+ toReturn['hours'] = this.hours;
4222
3973
  }
4223
- if (typeof this.analysingModelUsed !== 'undefined') {
4224
- toReturn['analysingModelUsed'] = this.analysingModelUsed;
3974
+ if (typeof this.minutes !== 'undefined') {
3975
+ toReturn['minutes'] = this.minutes;
4225
3976
  }
4226
- if (typeof this.promptUsed !== 'undefined') {
4227
- toReturn['promptUsed'] = this.promptUsed;
3977
+ if (typeof this.seconds !== 'undefined') {
3978
+ toReturn['seconds'] = this.seconds;
4228
3979
  }
4229
- if (typeof this.created !== 'undefined' && this.created !== null) {
4230
- toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
3980
+ if (typeof this.nanos !== 'undefined') {
3981
+ toReturn['nanos'] = this.nanos;
4231
3982
  }
4232
- if (typeof this.updated !== 'undefined' && this.updated !== null) {
4233
- toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
3983
+ if (typeof this.utcOffset !== 'undefined') {
3984
+ toReturn['utcOffset'] = this.utcOffset;
4234
3985
  }
4235
- if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
4236
- toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
3986
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
3987
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
4237
3988
  }
4238
3989
  return toReturn;
4239
3990
  }
4240
3991
  }
4241
- class RawTranscript {
3992
+ class TimeZone {
4242
3993
  static fromProto(proto) {
4243
- let m = new RawTranscript();
3994
+ let m = new TimeZone();
4244
3995
  m = Object.assign(m, proto);
4245
- if (proto.source) {
4246
- m.source = enumStringToValue$1(TranscriptSource, proto.source);
4247
- }
4248
- if (proto.created) {
4249
- m.created = new Date(proto.created);
4250
- }
4251
- if (proto.updated) {
4252
- m.updated = new Date(proto.updated);
4253
- }
4254
- if (proto.deleted) {
4255
- m.deleted = new Date(proto.deleted);
4256
- }
4257
3996
  return m;
4258
3997
  }
4259
3998
  constructor(kwargs) {
@@ -4267,53 +4006,8 @@ class RawTranscript {
4267
4006
  if (typeof this.id !== 'undefined') {
4268
4007
  toReturn['id'] = this.id;
4269
4008
  }
4270
- if (typeof this.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;
4009
+ if (typeof this.version !== 'undefined') {
4010
+ toReturn['version'] = this.version;
4317
4011
  }
4318
4012
  return toReturn;
4319
4013
  }
@@ -4347,9 +4041,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4347
4041
 
4348
4042
  // *********************************
4349
4043
  class MeetingSourceAPIApiService {
4350
- constructor(http, hostService) {
4351
- this.http = http;
4352
- this.hostService = hostService;
4044
+ constructor() {
4045
+ this.hostService = inject(HostService$1);
4046
+ this.http = inject(HttpClient);
4353
4047
  this._host = this.hostService.hostWithScheme;
4354
4048
  }
4355
4049
  apiOptions() {
@@ -4366,12 +4060,12 @@ class MeetingSourceAPIApiService {
4366
4060
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4367
4061
  }
4368
4062
  }
4369
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4063
+ MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4370
4064
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4371
4065
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4372
4066
  type: Injectable,
4373
4067
  args: [{ providedIn: 'root' }]
4374
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4068
+ }] });
4375
4069
 
4376
4070
  // *********************************
4377
4071
  class ZoomApiService {
@@ -4403,9 +4097,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4403
4097
 
4404
4098
  // *********************************
4405
4099
  class GoogleMeetApiService {
4406
- constructor(http, hostService) {
4407
- this.http = http;
4408
- this.hostService = hostService;
4100
+ constructor() {
4101
+ this.hostService = inject(HostService$1);
4102
+ this.http = inject(HttpClient);
4409
4103
  this._host = this.hostService.hostWithScheme;
4410
4104
  }
4411
4105
  apiOptions() {
@@ -4422,12 +4116,12 @@ class GoogleMeetApiService {
4422
4116
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4423
4117
  }
4424
4118
  }
4425
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4119
+ GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4426
4120
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4427
4121
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4428
4122
  type: Injectable,
4429
4123
  args: [{ providedIn: 'root' }]
4430
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4124
+ }] });
4431
4125
 
4432
4126
  function generateMeetingPassword() {
4433
4127
  const zoomMaxLength = 10;
@@ -4682,7 +4376,13 @@ function MeetingTypeFromApi(req) {
4682
4376
  description: req.meetingTypeApi.description || '',
4683
4377
  hexColor: req.meetingTypeApi.hexColor || '',
4684
4378
  form: form,
4685
- hostUserIds: req.meetingTypeApi.hostUserIds || []
4379
+ hostUserIds: req.meetingTypeApi.hostUserIds || [],
4380
+ availabilityIncrement: req.meetingTypeApi.availabilityIncrement || -1,
4381
+ bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting || -1,
4382
+ noticeTime: req.meetingTypeApi.noticeTime || -1,
4383
+ location: req.meetingTypeApi.location || '',
4384
+ locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
4385
+ isClientSiteMeeting: req.meetingTypeApi.isClientSiteMeeting || false
4686
4386
  };
4687
4387
  }
4688
4388
  function MeetingTypeToApi(req) {
@@ -4699,7 +4399,13 @@ function MeetingTypeToApi(req) {
4699
4399
  description: m.description || undefined,
4700
4400
  duration: m.duration ? m.duration : undefined,
4701
4401
  form: m.form || undefined,
4702
- hostUserIds: m.hostUserIds || undefined
4402
+ hostUserIds: m.hostUserIds || undefined,
4403
+ availabilityIncrement: m.availabilityIncrement || undefined,
4404
+ bufferDurationAfterMeeting: m.bufferDurationAfterMeeting || undefined,
4405
+ noticeTime: m.noticeTime || undefined,
4406
+ location: m.location || undefined,
4407
+ locationGuidelines: m.locationGuidelines || undefined,
4408
+ isClientSiteMeeting: m.isClientSiteMeeting || undefined,
4703
4409
  };
4704
4410
  }
4705
4411
 
@@ -4757,7 +4463,8 @@ function meetingFromApi(meetingApi) {
4757
4463
  fileUrl: a.fileUrl || '',
4758
4464
  fileType: a.fileType || '',
4759
4465
  };
4760
- })
4466
+ }),
4467
+ location: meetingApi.location || '',
4761
4468
  };
4762
4469
  }
4763
4470
  function answersFromAPI(formAnswers) {
@@ -4800,7 +4507,7 @@ class PagedResponse {
4800
4507
  }
4801
4508
 
4802
4509
  // *********************************
4803
- class ConversationAnalysisApiService {
4510
+ class MeetingGuestApiService {
4804
4511
  constructor() {
4805
4512
  this.hostService = inject(HostService$1);
4806
4513
  this.http = inject(HttpClient);
@@ -4814,44 +4521,6 @@ class ConversationAnalysisApiService {
4814
4521
  withCredentials: true
4815
4522
  };
4816
4523
  }
4817
- createRawTranscript(r) {
4818
- const request = (r.toApiJson) ? r : new CreateRawTranscriptRequest(r);
4819
- return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/CreateRawTranscript", request.toApiJson(), this.apiOptions())
4820
- .pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
4821
- }
4822
- listProcessedTranscripts(r) {
4823
- const request = (r.toApiJson) ? r : new ListProcessedTranscriptsRequest(r);
4824
- return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/ListProcessedTranscripts", request.toApiJson(), this.apiOptions())
4825
- .pipe(map(resp => ListProcessedTranscriptsResponse.fromProto(resp)));
4826
- }
4827
- getProcessedTranscripts(r) {
4828
- const request = (r.toApiJson) ? r : new GetProcessedTranscriptsRequest(r);
4829
- return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/GetProcessedTranscripts", request.toApiJson(), this.apiOptions())
4830
- .pipe(map(resp => GetProcessedTranscriptsResponse.fromProto(resp)));
4831
- }
4832
- }
4833
- ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4834
- ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
4835
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, decorators: [{
4836
- type: Injectable,
4837
- args: [{ providedIn: 'root' }]
4838
- }] });
4839
-
4840
- // *********************************
4841
- class MeetingGuestApiService {
4842
- constructor(http, hostService) {
4843
- this.http = http;
4844
- this.hostService = hostService;
4845
- this._host = this.hostService.hostWithScheme;
4846
- }
4847
- apiOptions() {
4848
- return {
4849
- headers: new HttpHeaders({
4850
- 'Content-Type': 'application/json'
4851
- }),
4852
- withCredentials: true
4853
- };
4854
- }
4855
4524
  listMeetingTypes(r) {
4856
4525
  const request = (r.toApiJson) ? r : new ListMeetingTypesRequest(r);
4857
4526
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListMeetingTypes", request.toApiJson(), this.apiOptions())
@@ -4901,18 +4570,18 @@ class MeetingGuestApiService {
4901
4570
  .pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
4902
4571
  }
4903
4572
  }
4904
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4573
+ MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4905
4574
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
4906
4575
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
4907
4576
  type: Injectable,
4908
4577
  args: [{ providedIn: 'root' }]
4909
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4578
+ }] });
4910
4579
 
4911
4580
  // *********************************
4912
4581
  class MeetingHostApiService {
4913
- constructor(http, hostService) {
4914
- this.http = http;
4915
- this.hostService = hostService;
4582
+ constructor() {
4583
+ this.hostService = inject(HostService$1);
4584
+ this.http = inject(HttpClient);
4916
4585
  this._host = this.hostService.hostWithScheme;
4917
4586
  }
4918
4587
  apiOptions() {
@@ -5067,12 +4736,12 @@ class MeetingHostApiService {
5067
4736
  .pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
5068
4737
  }
5069
4738
  }
5070
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4739
+ MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5071
4740
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
5072
4741
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
5073
4742
  type: Injectable,
5074
4743
  args: [{ providedIn: 'root' }]
5075
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4744
+ }] });
5076
4745
 
5077
4746
  // *********************************
5078
4747
 
@@ -5490,7 +5159,15 @@ class HostService {
5490
5159
  return this.hostAPIService.createDefaultMeetingTypes({ calendarIds: req.calendarIds }).pipe(mapTo(undefined));
5491
5160
  }
5492
5161
  createMeetingType(req) {
5493
- return this.hostAPIService.createMeetingType({ meetingType: MeetingTypeToApi({ meetingType: req.meetingType }) })
5162
+ const fieldMask = getFieldMask({ o: req.meetingType, updateFields: req.updateFields });
5163
+ if (fieldMask.paths.length === 0) {
5164
+ return of();
5165
+ }
5166
+ return this.hostAPIService.createMeetingType({
5167
+ meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
5168
+ fieldMask,
5169
+ hostId: req.HostId
5170
+ })
5494
5171
  .pipe(map(res => res.id));
5495
5172
  }
5496
5173
  /* updateMeetingType will update the meeting type fields.
@@ -5517,6 +5194,7 @@ class HostService {
5517
5194
  id: req.id,
5518
5195
  meetingType: MeetingTypeToApi({ meetingType: req.meetingType }),
5519
5196
  fieldMask,
5197
+ hostId: req.HostId
5520
5198
  }).pipe(mapTo(undefined));
5521
5199
  }
5522
5200
  deleteMeetingType(req) {
@@ -5543,44 +5221,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
5543
5221
  args: [{ providedIn: 'root' }]
5544
5222
  }], ctorParameters: function () { return [{ type: MeetingHostApiService }]; } });
5545
5223
 
5546
- class ConversationAnalysisService {
5547
- constructor(conversationAnalysisApiService) {
5548
- this.conversationAnalysisApiService = conversationAnalysisApiService;
5549
- }
5550
- createRawTranscript(rawTranscript) {
5551
- return this.conversationAnalysisApiService.createRawTranscript({
5552
- rawTranscript: rawTranscript
5553
- }).pipe(map(resp => resp === null || resp === void 0 ? void 0 : resp.id));
5554
- }
5555
- listProcessedTranscripts(filters, pagingOptions) {
5556
- return this.conversationAnalysisApiService.listProcessedTranscripts({
5557
- filters: filters,
5558
- pagingOptions: pagingOptions,
5559
- }).pipe(map(resp => {
5560
- var _a, _b;
5561
- return ({
5562
- results: resp.processedTranscripts,
5563
- nextCursor: (_a = resp.metadata) === null || _a === void 0 ? void 0 : _a.nextCursor,
5564
- hasMore: (_b = resp.metadata) === null || _b === void 0 ? void 0 : _b.hasMore
5565
- });
5566
- }));
5567
- }
5568
- getProcessedTranscript(id) {
5569
- return this.conversationAnalysisApiService.getProcessedTranscripts({
5570
- id: id
5571
- }).pipe(map(resp => resp.processedTranscript));
5572
- }
5573
- }
5574
- ConversationAnalysisService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, deps: [{ token: ConversationAnalysisApiService }], target: i0.ɵɵFactoryTarget.Injectable });
5575
- ConversationAnalysisService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, providedIn: 'root' });
5576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, decorators: [{
5577
- type: Injectable,
5578
- args: [{ providedIn: 'root' }]
5579
- }], ctorParameters: function () { return [{ type: ConversationAnalysisApiService }]; } });
5580
-
5581
5224
  /**
5582
5225
  * Generated bundle index. Do not edit.
5583
5226
  */
5584
5227
 
5585
- export { CalendarType, Contact, ConversationAnalysisService, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, ProcessedTranscript, TranscriptSource, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
5228
+ 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 };
5586
5229
  //# sourceMappingURL=vendasta-meetings.mjs.map