@vendasta/meetings 0.74.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.
Files changed (64) hide show
  1. package/esm2020/lib/_generated/host.service.mjs +3 -3
  2. package/esm2020/lib/_internal/conversation-analysis.api.service.mjs +40 -0
  3. package/esm2020/lib/_internal/enums/conversation-analysis.enum.mjs +12 -0
  4. package/esm2020/lib/_internal/enums/index.mjs +2 -1
  5. package/esm2020/lib/_internal/google-meet.api.service.mjs +9 -10
  6. package/esm2020/lib/_internal/index.mjs +2 -1
  7. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
  8. package/esm2020/lib/_internal/interfaces/conversation-analysis.interface.mjs +8 -0
  9. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  10. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +9 -10
  11. package/esm2020/lib/_internal/meeting-host.api.service.mjs +9 -10
  12. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +9 -10
  13. package/esm2020/lib/_internal/objects/annotations.mjs +30 -0
  14. package/esm2020/lib/_internal/objects/conversation-analysis.mjs +101 -0
  15. package/esm2020/lib/_internal/objects/date-range.mjs +7 -7
  16. package/esm2020/lib/_internal/objects/datetime.mjs +12 -12
  17. package/esm2020/lib/_internal/objects/field-mask.mjs +6 -6
  18. package/esm2020/lib/_internal/objects/google-meet.mjs +80 -80
  19. package/esm2020/lib/_internal/objects/index.mjs +3 -1
  20. package/esm2020/lib/_internal/objects/meeting-guest.mjs +105 -105
  21. package/esm2020/lib/_internal/objects/meeting-host.mjs +311 -311
  22. package/esm2020/lib/_internal/objects/meeting-source.mjs +25 -25
  23. package/esm2020/lib/_internal/objects/meeting-type.mjs +19 -19
  24. package/esm2020/lib/_internal/objects/shared.mjs +73 -73
  25. package/esm2020/lib/_internal/objects/timeofday.mjs +6 -6
  26. package/esm2020/lib/_internal/objects/zoom.mjs +36 -36
  27. package/esm2020/lib/_internal/zoom.api.service.mjs +9 -10
  28. package/esm2020/lib/conversation_analysis/conversation-analysis.service.mjs +22 -0
  29. package/esm2020/lib/guest/guest.service.mjs +3 -3
  30. package/esm2020/lib/host/host.service.mjs +3 -3
  31. package/esm2020/lib/index.mjs +2 -1
  32. package/esm2020/lib/meetings.service.mjs +3 -3
  33. package/fesm2015/vendasta-meetings.mjs +937 -751
  34. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  35. package/fesm2020/vendasta-meetings.mjs +938 -752
  36. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  37. package/lib/_internal/conversation-analysis.api.service.d.ts +13 -0
  38. package/lib/_internal/enums/conversation-analysis.enum.d.ts +4 -0
  39. package/lib/_internal/enums/index.d.ts +1 -0
  40. package/lib/_internal/google-meet.api.service.d.ts +2 -5
  41. package/lib/_internal/index.d.ts +1 -0
  42. package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
  43. package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +16 -0
  44. package/lib/_internal/interfaces/index.d.ts +3 -1
  45. package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
  46. package/lib/_internal/meeting-host.api.service.d.ts +3 -5
  47. package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
  48. package/lib/_internal/objects/annotations.d.ts +9 -0
  49. package/lib/_internal/objects/conversation-analysis.d.ts +27 -0
  50. package/lib/_internal/objects/index.d.ts +2 -1
  51. package/lib/_internal/objects/meeting-host.d.ts +7 -7
  52. package/lib/_internal/zoom.api.service.d.ts +2 -5
  53. package/lib/conversation_analysis/conversation-analysis.service.d.ts +13 -0
  54. package/lib/index.d.ts +1 -0
  55. package/lib/shared/calendar.d.ts +1 -1
  56. package/lib/shared/host-id.d.ts +1 -1
  57. package/lib/shared/host-user.d.ts +1 -1
  58. package/lib/shared/meeting-type.d.ts +2 -2
  59. package/lib/shared/meeting.d.ts +2 -2
  60. package/package.json +5 -5
  61. package/esm2020/lib/_internal/objects/dayofweek.mjs +0 -7
  62. package/lib/_internal/objects/dayofweek.d.ts +0 -1
  63. package/src/README.md +0 -12
  64. /package/{vendasta-meetings.d.ts → index.d.ts} +0 -0
@@ -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 * as i1 from '@angular/common/http';
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,25 +131,31 @@ 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
- function enumStringToValue$a(enumRef, value) {
145
+ // *********************************
146
+
147
+ function enumStringToValue$c(enumRef, value) {
137
148
  if (typeof value === 'number') {
138
149
  return value;
139
150
  }
140
151
  return enumRef[value];
141
152
  }
142
153
  class CreateZoomMeetingRequest {
143
- constructor(kwargs) {
144
- if (!kwargs) {
145
- return;
146
- }
147
- Object.assign(this, kwargs);
148
- }
149
154
  static fromProto(proto) {
150
155
  let m = new CreateZoomMeetingRequest();
151
156
  m = Object.assign(m, proto);
152
157
  if (proto.type) {
153
- m.type = enumStringToValue$a(ZoomMeetingType, proto.type);
158
+ m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
154
159
  }
155
160
  if (proto.duration) {
156
161
  m.duration = parseInt(proto.duration, 10);
@@ -166,6 +171,12 @@ class CreateZoomMeetingRequest {
166
171
  }
167
172
  return m;
168
173
  }
174
+ constructor(kwargs) {
175
+ if (!kwargs) {
176
+ return;
177
+ }
178
+ Object.assign(this, kwargs);
179
+ }
169
180
  toApiJson() {
170
181
  const toReturn = {};
171
182
  if (typeof this.iamUserId !== 'undefined') {
@@ -205,12 +216,6 @@ class CreateZoomMeetingRequest {
205
216
  }
206
217
  }
207
218
  class CreateZoomMeetingResponse {
208
- constructor(kwargs) {
209
- if (!kwargs) {
210
- return;
211
- }
212
- Object.assign(this, kwargs);
213
- }
214
219
  static fromProto(proto) {
215
220
  let m = new CreateZoomMeetingResponse();
216
221
  m = Object.assign(m, proto);
@@ -218,7 +223,7 @@ class CreateZoomMeetingResponse {
218
223
  m.meetingId = parseInt(proto.meetingId, 10);
219
224
  }
220
225
  if (proto.type) {
221
- m.type = enumStringToValue$a(ZoomMeetingType, proto.type);
226
+ m.type = enumStringToValue$c(ZoomMeetingType, proto.type);
222
227
  }
223
228
  if (proto.duration) {
224
229
  m.duration = parseInt(proto.duration, 10);
@@ -240,6 +245,12 @@ class CreateZoomMeetingResponse {
240
245
  }
241
246
  return m;
242
247
  }
248
+ constructor(kwargs) {
249
+ if (!kwargs) {
250
+ return;
251
+ }
252
+ Object.assign(this, kwargs);
253
+ }
243
254
  toApiJson() {
244
255
  const toReturn = {};
245
256
  if (typeof this.iamUserId !== 'undefined') {
@@ -300,17 +311,11 @@ class CreateZoomMeetingResponse {
300
311
  }
301
312
  }
302
313
  class ZoomMeetingRecurrence {
303
- constructor(kwargs) {
304
- if (!kwargs) {
305
- return;
306
- }
307
- Object.assign(this, kwargs);
308
- }
309
314
  static fromProto(proto) {
310
315
  let m = new ZoomMeetingRecurrence();
311
316
  m = Object.assign(m, proto);
312
317
  if (proto.type) {
313
- m.type = enumStringToValue$a(ZoomMeetingRecurrenceType, proto.type);
318
+ m.type = enumStringToValue$c(ZoomMeetingRecurrenceType, proto.type);
314
319
  }
315
320
  if (proto.repeatInterval) {
316
321
  m.repeatInterval = parseInt(proto.repeatInterval, 10);
@@ -319,16 +324,22 @@ class ZoomMeetingRecurrence {
319
324
  m.monthlyDay = parseInt(proto.monthlyDay, 10);
320
325
  }
321
326
  if (proto.monthlyWeek) {
322
- m.monthlyWeek = enumStringToValue$a(ZoomMonthlyWeek, proto.monthlyWeek);
327
+ m.monthlyWeek = enumStringToValue$c(ZoomMonthlyWeek, proto.monthlyWeek);
323
328
  }
324
329
  if (proto.monthlyWeekDay) {
325
- m.monthlyWeekDay = enumStringToValue$a(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
330
+ m.monthlyWeekDay = enumStringToValue$c(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
326
331
  }
327
332
  if (proto.endTimes) {
328
333
  m.endTimes = parseInt(proto.endTimes, 10);
329
334
  }
330
335
  return m;
331
336
  }
337
+ constructor(kwargs) {
338
+ if (!kwargs) {
339
+ return;
340
+ }
341
+ Object.assign(this, kwargs);
342
+ }
332
343
  toApiJson() {
333
344
  const toReturn = {};
334
345
  if (typeof this.type !== 'undefined') {
@@ -359,23 +370,23 @@ class ZoomMeetingRecurrence {
359
370
  }
360
371
  }
361
372
  class ZoomMeetingSettings {
362
- constructor(kwargs) {
363
- if (!kwargs) {
364
- return;
365
- }
366
- Object.assign(this, kwargs);
367
- }
368
373
  static fromProto(proto) {
369
374
  let m = new ZoomMeetingSettings();
370
375
  m = Object.assign(m, proto);
371
376
  if (proto.approvalType) {
372
- m.approvalType = enumStringToValue$a(ZoomApprovalType, proto.approvalType);
377
+ m.approvalType = enumStringToValue$c(ZoomApprovalType, proto.approvalType);
373
378
  }
374
379
  if (proto.registrationType) {
375
- m.registrationType = enumStringToValue$a(ZoomRegistrationType, proto.registrationType);
380
+ m.registrationType = enumStringToValue$c(ZoomRegistrationType, proto.registrationType);
376
381
  }
377
382
  return m;
378
383
  }
384
+ constructor(kwargs) {
385
+ if (!kwargs) {
386
+ return;
387
+ }
388
+ Object.assign(this, kwargs);
389
+ }
379
390
  toApiJson() {
380
391
  const toReturn = {};
381
392
  if (typeof this.hostVideo !== 'undefined') {
@@ -454,17 +465,17 @@ class ZoomMeetingSettings {
454
465
  }
455
466
  }
456
467
  class ZoomMeetingTrackingField {
468
+ static fromProto(proto) {
469
+ let m = new ZoomMeetingTrackingField();
470
+ m = Object.assign(m, proto);
471
+ return m;
472
+ }
457
473
  constructor(kwargs) {
458
474
  if (!kwargs) {
459
475
  return;
460
476
  }
461
477
  Object.assign(this, kwargs);
462
478
  }
463
- static fromProto(proto) {
464
- let m = new ZoomMeetingTrackingField();
465
- m = Object.assign(m, proto);
466
- return m;
467
- }
468
479
  toApiJson() {
469
480
  const toReturn = {};
470
481
  if (typeof this.field !== 'undefined') {
@@ -477,12 +488,6 @@ class ZoomMeetingTrackingField {
477
488
  }
478
489
  }
479
490
  class ZoomOccurrence {
480
- constructor(kwargs) {
481
- if (!kwargs) {
482
- return;
483
- }
484
- Object.assign(this, kwargs);
485
- }
486
491
  static fromProto(proto) {
487
492
  let m = new ZoomOccurrence();
488
493
  m = Object.assign(m, proto);
@@ -491,6 +496,12 @@ class ZoomOccurrence {
491
496
  }
492
497
  return m;
493
498
  }
499
+ constructor(kwargs) {
500
+ if (!kwargs) {
501
+ return;
502
+ }
503
+ Object.assign(this, kwargs);
504
+ }
494
505
  toApiJson() {
495
506
  const toReturn = {};
496
507
  if (typeof this.occurrenceId !== 'undefined') {
@@ -509,19 +520,13 @@ class ZoomOccurrence {
509
520
  }
510
521
  }
511
522
 
512
- function enumStringToValue$9(enumRef, value) {
523
+ function enumStringToValue$b(enumRef, value) {
513
524
  if (typeof value === 'number') {
514
525
  return value;
515
526
  }
516
527
  return enumRef[value];
517
528
  }
518
529
  class GoogleMeetConferenceData {
519
- constructor(kwargs) {
520
- if (!kwargs) {
521
- return;
522
- }
523
- Object.assign(this, kwargs);
524
- }
525
530
  static fromProto(proto) {
526
531
  let m = new GoogleMeetConferenceData();
527
532
  m = Object.assign(m, proto);
@@ -536,6 +541,12 @@ class GoogleMeetConferenceData {
536
541
  }
537
542
  return m;
538
543
  }
544
+ constructor(kwargs) {
545
+ if (!kwargs) {
546
+ return;
547
+ }
548
+ Object.assign(this, kwargs);
549
+ }
539
550
  toApiJson() {
540
551
  const toReturn = {};
541
552
  if (typeof this.conferenceId !== 'undefined') {
@@ -560,17 +571,17 @@ class GoogleMeetConferenceData {
560
571
  }
561
572
  }
562
573
  class GoogleMeetConferenceRequestStatus {
574
+ static fromProto(proto) {
575
+ let m = new GoogleMeetConferenceRequestStatus();
576
+ m = Object.assign(m, proto);
577
+ return m;
578
+ }
563
579
  constructor(kwargs) {
564
580
  if (!kwargs) {
565
581
  return;
566
582
  }
567
583
  Object.assign(this, kwargs);
568
584
  }
569
- static fromProto(proto) {
570
- let m = new GoogleMeetConferenceRequestStatus();
571
- m = Object.assign(m, proto);
572
- return m;
573
- }
574
585
  toApiJson() {
575
586
  const toReturn = {};
576
587
  if (typeof this.statusCode !== 'undefined') {
@@ -580,12 +591,6 @@ class GoogleMeetConferenceRequestStatus {
580
591
  }
581
592
  }
582
593
  class GoogleMeetConferenceSolution {
583
- constructor(kwargs) {
584
- if (!kwargs) {
585
- return;
586
- }
587
- Object.assign(this, kwargs);
588
- }
589
594
  static fromProto(proto) {
590
595
  let m = new GoogleMeetConferenceSolution();
591
596
  m = Object.assign(m, proto);
@@ -594,6 +599,12 @@ class GoogleMeetConferenceSolution {
594
599
  }
595
600
  return m;
596
601
  }
602
+ constructor(kwargs) {
603
+ if (!kwargs) {
604
+ return;
605
+ }
606
+ Object.assign(this, kwargs);
607
+ }
597
608
  toApiJson() {
598
609
  const toReturn = {};
599
610
  if (typeof this.iconUri !== 'undefined') {
@@ -609,17 +620,17 @@ class GoogleMeetConferenceSolution {
609
620
  }
610
621
  }
611
622
  class GoogleMeetConferenceSolutionKey {
623
+ static fromProto(proto) {
624
+ let m = new GoogleMeetConferenceSolutionKey();
625
+ m = Object.assign(m, proto);
626
+ return m;
627
+ }
612
628
  constructor(kwargs) {
613
629
  if (!kwargs) {
614
630
  return;
615
631
  }
616
632
  Object.assign(this, kwargs);
617
633
  }
618
- static fromProto(proto) {
619
- let m = new GoogleMeetConferenceSolutionKey();
620
- m = Object.assign(m, proto);
621
- return m;
622
- }
623
634
  toApiJson() {
624
635
  const toReturn = {};
625
636
  if (typeof this.type !== 'undefined') {
@@ -629,12 +640,6 @@ class GoogleMeetConferenceSolutionKey {
629
640
  }
630
641
  }
631
642
  class GoogleMeetCreateConferenceRequest {
632
- constructor(kwargs) {
633
- if (!kwargs) {
634
- return;
635
- }
636
- Object.assign(this, kwargs);
637
- }
638
643
  static fromProto(proto) {
639
644
  let m = new GoogleMeetCreateConferenceRequest();
640
645
  m = Object.assign(m, proto);
@@ -646,6 +651,12 @@ class GoogleMeetCreateConferenceRequest {
646
651
  }
647
652
  return m;
648
653
  }
654
+ constructor(kwargs) {
655
+ if (!kwargs) {
656
+ return;
657
+ }
658
+ Object.assign(this, kwargs);
659
+ }
649
660
  toApiJson() {
650
661
  const toReturn = {};
651
662
  if (typeof this.conferenceSolutionKey !== 'undefined' && this.conferenceSolutionKey !== null) {
@@ -661,12 +672,6 @@ class GoogleMeetCreateConferenceRequest {
661
672
  }
662
673
  }
663
674
  class GoogleMeetCreateMeetingRequest {
664
- constructor(kwargs) {
665
- if (!kwargs) {
666
- return;
667
- }
668
- Object.assign(this, kwargs);
669
- }
670
675
  static fromProto(proto) {
671
676
  let m = new GoogleMeetCreateMeetingRequest();
672
677
  m = Object.assign(m, proto);
@@ -675,6 +680,12 @@ class GoogleMeetCreateMeetingRequest {
675
680
  }
676
681
  return m;
677
682
  }
683
+ constructor(kwargs) {
684
+ if (!kwargs) {
685
+ return;
686
+ }
687
+ Object.assign(this, kwargs);
688
+ }
678
689
  toApiJson() {
679
690
  const toReturn = {};
680
691
  if (typeof this.calenderId !== 'undefined') {
@@ -687,12 +698,6 @@ class GoogleMeetCreateMeetingRequest {
687
698
  }
688
699
  }
689
700
  class GoogleMeetCreateMeetingResponse {
690
- constructor(kwargs) {
691
- if (!kwargs) {
692
- return;
693
- }
694
- Object.assign(this, kwargs);
695
- }
696
701
  static fromProto(proto) {
697
702
  let m = new GoogleMeetCreateMeetingResponse();
698
703
  m = Object.assign(m, proto);
@@ -701,6 +706,12 @@ class GoogleMeetCreateMeetingResponse {
701
706
  }
702
707
  return m;
703
708
  }
709
+ constructor(kwargs) {
710
+ if (!kwargs) {
711
+ return;
712
+ }
713
+ Object.assign(this, kwargs);
714
+ }
704
715
  toApiJson() {
705
716
  const toReturn = {};
706
717
  if (typeof this.iamUserId !== 'undefined') {
@@ -716,17 +727,17 @@ class GoogleMeetCreateMeetingResponse {
716
727
  }
717
728
  }
718
729
  class GoogleMeetEntryPoint {
730
+ static fromProto(proto) {
731
+ let m = new GoogleMeetEntryPoint();
732
+ m = Object.assign(m, proto);
733
+ return m;
734
+ }
719
735
  constructor(kwargs) {
720
736
  if (!kwargs) {
721
737
  return;
722
738
  }
723
739
  Object.assign(this, kwargs);
724
740
  }
725
- static fromProto(proto) {
726
- let m = new GoogleMeetEntryPoint();
727
- m = Object.assign(m, proto);
728
- return m;
729
- }
730
741
  toApiJson() {
731
742
  const toReturn = {};
732
743
  if (typeof this.accessCode !== 'undefined') {
@@ -763,12 +774,6 @@ class GoogleMeetEntryPoint {
763
774
  }
764
775
  }
765
776
  class GoogleMeetMeeting {
766
- constructor(kwargs) {
767
- if (!kwargs) {
768
- return;
769
- }
770
- Object.assign(this, kwargs);
771
- }
772
777
  static fromProto(proto) {
773
778
  let m = new GoogleMeetMeeting();
774
779
  m = Object.assign(m, proto);
@@ -798,6 +803,12 @@ class GoogleMeetMeeting {
798
803
  }
799
804
  return m;
800
805
  }
806
+ constructor(kwargs) {
807
+ if (!kwargs) {
808
+ return;
809
+ }
810
+ Object.assign(this, kwargs);
811
+ }
801
812
  toApiJson() {
802
813
  const toReturn = {};
803
814
  if (typeof this.anyoneCanAddSelf !== 'undefined') {
@@ -891,12 +902,6 @@ class GoogleMeetMeeting {
891
902
  }
892
903
  }
893
904
  class GoogleMeetMeetingAttendee {
894
- constructor(kwargs) {
895
- if (!kwargs) {
896
- return;
897
- }
898
- Object.assign(this, kwargs);
899
- }
900
905
  static fromProto(proto) {
901
906
  let m = new GoogleMeetMeetingAttendee();
902
907
  m = Object.assign(m, proto);
@@ -905,6 +910,12 @@ class GoogleMeetMeetingAttendee {
905
910
  }
906
911
  return m;
907
912
  }
913
+ constructor(kwargs) {
914
+ if (!kwargs) {
915
+ return;
916
+ }
917
+ Object.assign(this, kwargs);
918
+ }
908
919
  toApiJson() {
909
920
  const toReturn = {};
910
921
  if (typeof this.additionalGuests !== 'undefined') {
@@ -941,17 +952,17 @@ class GoogleMeetMeetingAttendee {
941
952
  }
942
953
  }
943
954
  class GoogleMeetMeetingCreator {
955
+ static fromProto(proto) {
956
+ let m = new GoogleMeetMeetingCreator();
957
+ m = Object.assign(m, proto);
958
+ return m;
959
+ }
944
960
  constructor(kwargs) {
945
961
  if (!kwargs) {
946
962
  return;
947
963
  }
948
964
  Object.assign(this, kwargs);
949
965
  }
950
- static fromProto(proto) {
951
- let m = new GoogleMeetMeetingCreator();
952
- m = Object.assign(m, proto);
953
- return m;
954
- }
955
966
  toApiJson() {
956
967
  const toReturn = {};
957
968
  if (typeof this.displayName !== 'undefined') {
@@ -970,17 +981,17 @@ class GoogleMeetMeetingCreator {
970
981
  }
971
982
  }
972
983
  class GoogleMeetMeetingDateTime {
984
+ static fromProto(proto) {
985
+ let m = new GoogleMeetMeetingDateTime();
986
+ m = Object.assign(m, proto);
987
+ return m;
988
+ }
973
989
  constructor(kwargs) {
974
990
  if (!kwargs) {
975
991
  return;
976
992
  }
977
993
  Object.assign(this, kwargs);
978
994
  }
979
- static fromProto(proto) {
980
- let m = new GoogleMeetMeetingDateTime();
981
- m = Object.assign(m, proto);
982
- return m;
983
- }
984
995
  toApiJson() {
985
996
  const toReturn = {};
986
997
  if (typeof this.date !== 'undefined') {
@@ -996,12 +1007,6 @@ class GoogleMeetMeetingDateTime {
996
1007
  }
997
1008
  }
998
1009
  class GoogleMeetMeetingReminder {
999
- constructor(kwargs) {
1000
- if (!kwargs) {
1001
- return;
1002
- }
1003
- Object.assign(this, kwargs);
1004
- }
1005
1010
  static fromProto(proto) {
1006
1011
  let m = new GoogleMeetMeetingReminder();
1007
1012
  m = Object.assign(m, proto);
@@ -1010,6 +1015,12 @@ class GoogleMeetMeetingReminder {
1010
1015
  }
1011
1016
  return m;
1012
1017
  }
1018
+ constructor(kwargs) {
1019
+ if (!kwargs) {
1020
+ return;
1021
+ }
1022
+ Object.assign(this, kwargs);
1023
+ }
1013
1024
  toApiJson() {
1014
1025
  const toReturn = {};
1015
1026
  if (typeof this.method !== 'undefined') {
@@ -1022,12 +1033,6 @@ class GoogleMeetMeetingReminder {
1022
1033
  }
1023
1034
  }
1024
1035
  class GoogleMeetMeetingReminders {
1025
- constructor(kwargs) {
1026
- if (!kwargs) {
1027
- return;
1028
- }
1029
- Object.assign(this, kwargs);
1030
- }
1031
1036
  static fromProto(proto) {
1032
1037
  let m = new GoogleMeetMeetingReminders();
1033
1038
  m = Object.assign(m, proto);
@@ -1036,6 +1041,12 @@ class GoogleMeetMeetingReminders {
1036
1041
  }
1037
1042
  return m;
1038
1043
  }
1044
+ constructor(kwargs) {
1045
+ if (!kwargs) {
1046
+ return;
1047
+ }
1048
+ Object.assign(this, kwargs);
1049
+ }
1039
1050
  toApiJson() {
1040
1051
  const toReturn = {};
1041
1052
  if (typeof this.overrides !== 'undefined' && this.overrides !== null) {
@@ -1048,30 +1059,30 @@ class GoogleMeetMeetingReminders {
1048
1059
  }
1049
1060
  }
1050
1061
 
1051
- function enumStringToValue$8(enumRef, value) {
1062
+ function enumStringToValue$a(enumRef, value) {
1052
1063
  if (typeof value === 'number') {
1053
1064
  return value;
1054
1065
  }
1055
1066
  return enumRef[value];
1056
1067
  }
1057
1068
  class MeetingSourceInfo {
1058
- constructor(kwargs) {
1059
- if (!kwargs) {
1060
- return;
1061
- }
1062
- Object.assign(this, kwargs);
1063
- }
1064
1069
  static fromProto(proto) {
1065
1070
  let m = new MeetingSourceInfo();
1066
1071
  m = Object.assign(m, proto);
1067
1072
  if (proto.source) {
1068
- m.source = enumStringToValue$8(MeetingSource, proto.source);
1073
+ m.source = enumStringToValue$a(MeetingSource, proto.source);
1069
1074
  }
1070
1075
  if (proto.status) {
1071
- m.status = enumStringToValue$8(MeetingSourceStatus, proto.status);
1076
+ m.status = enumStringToValue$a(MeetingSourceStatus, proto.status);
1072
1077
  }
1073
1078
  return m;
1074
1079
  }
1080
+ constructor(kwargs) {
1081
+ if (!kwargs) {
1082
+ return;
1083
+ }
1084
+ Object.assign(this, kwargs);
1085
+ }
1075
1086
  toApiJson() {
1076
1087
  const toReturn = {};
1077
1088
  if (typeof this.source !== 'undefined') {
@@ -1087,12 +1098,6 @@ class MeetingSourceInfo {
1087
1098
  }
1088
1099
  }
1089
1100
  class MeetingSourceListRequest {
1090
- constructor(kwargs) {
1091
- if (!kwargs) {
1092
- return;
1093
- }
1094
- Object.assign(this, kwargs);
1095
- }
1096
1101
  static fromProto(proto) {
1097
1102
  let m = new MeetingSourceListRequest();
1098
1103
  m = Object.assign(m, proto);
@@ -1101,6 +1106,12 @@ class MeetingSourceListRequest {
1101
1106
  }
1102
1107
  return m;
1103
1108
  }
1109
+ constructor(kwargs) {
1110
+ if (!kwargs) {
1111
+ return;
1112
+ }
1113
+ Object.assign(this, kwargs);
1114
+ }
1104
1115
  toApiJson() {
1105
1116
  const toReturn = {};
1106
1117
  if (typeof this.iamUserId !== 'undefined') {
@@ -1113,12 +1124,6 @@ class MeetingSourceListRequest {
1113
1124
  }
1114
1125
  }
1115
1126
  class MeetingSourceListResponse {
1116
- constructor(kwargs) {
1117
- if (!kwargs) {
1118
- return;
1119
- }
1120
- Object.assign(this, kwargs);
1121
- }
1122
1127
  static fromProto(proto) {
1123
1128
  let m = new MeetingSourceListResponse();
1124
1129
  m = Object.assign(m, proto);
@@ -1127,6 +1132,12 @@ class MeetingSourceListResponse {
1127
1132
  }
1128
1133
  return m;
1129
1134
  }
1135
+ constructor(kwargs) {
1136
+ if (!kwargs) {
1137
+ return;
1138
+ }
1139
+ Object.assign(this, kwargs);
1140
+ }
1130
1141
  toApiJson() {
1131
1142
  const toReturn = {};
1132
1143
  if (typeof this.iamUserId !== 'undefined') {
@@ -1139,20 +1150,20 @@ class MeetingSourceListResponse {
1139
1150
  }
1140
1151
  }
1141
1152
  class MeetingSourceQuery {
1142
- constructor(kwargs) {
1143
- if (!kwargs) {
1144
- return;
1145
- }
1146
- Object.assign(this, kwargs);
1147
- }
1148
1153
  static fromProto(proto) {
1149
1154
  let m = new MeetingSourceQuery();
1150
1155
  m = Object.assign(m, proto);
1151
1156
  if (proto.source) {
1152
- m.source = enumStringToValue$8(MeetingSource, proto.source);
1157
+ m.source = enumStringToValue$a(MeetingSource, proto.source);
1153
1158
  }
1154
1159
  return m;
1155
1160
  }
1161
+ constructor(kwargs) {
1162
+ if (!kwargs) {
1163
+ return;
1164
+ }
1165
+ Object.assign(this, kwargs);
1166
+ }
1156
1167
  toApiJson() {
1157
1168
  const toReturn = {};
1158
1169
  if (typeof this.source !== 'undefined') {
@@ -1168,24 +1179,24 @@ class MeetingSourceQuery {
1168
1179
  }
1169
1180
  }
1170
1181
 
1171
- function enumStringToValue$7(enumRef, value) {
1182
+ function enumStringToValue$9(enumRef, value) {
1172
1183
  if (typeof value === 'number') {
1173
1184
  return value;
1174
1185
  }
1175
1186
  return enumRef[value];
1176
1187
  }
1177
1188
  class TimeOfDay {
1189
+ static fromProto(proto) {
1190
+ let m = new TimeOfDay();
1191
+ m = Object.assign(m, proto);
1192
+ return m;
1193
+ }
1178
1194
  constructor(kwargs) {
1179
1195
  if (!kwargs) {
1180
1196
  return;
1181
1197
  }
1182
1198
  Object.assign(this, kwargs);
1183
1199
  }
1184
- static fromProto(proto) {
1185
- let m = new TimeOfDay();
1186
- m = Object.assign(m, proto);
1187
- return m;
1188
- }
1189
1200
  toApiJson() {
1190
1201
  const toReturn = {};
1191
1202
  if (typeof this.hours !== 'undefined') {
@@ -1204,19 +1215,13 @@ class TimeOfDay {
1204
1215
  }
1205
1216
  }
1206
1217
 
1207
- function enumStringToValue$6(enumRef, value) {
1218
+ function enumStringToValue$8(enumRef, value) {
1208
1219
  if (typeof value === 'number') {
1209
1220
  return value;
1210
1221
  }
1211
1222
  return enumRef[value];
1212
1223
  }
1213
1224
  class DateTime {
1214
- constructor(kwargs) {
1215
- if (!kwargs) {
1216
- return;
1217
- }
1218
- Object.assign(this, kwargs);
1219
- }
1220
1225
  static fromProto(proto) {
1221
1226
  let m = new DateTime();
1222
1227
  m = Object.assign(m, proto);
@@ -1225,6 +1230,12 @@ class DateTime {
1225
1230
  }
1226
1231
  return m;
1227
1232
  }
1233
+ constructor(kwargs) {
1234
+ if (!kwargs) {
1235
+ return;
1236
+ }
1237
+ Object.assign(this, kwargs);
1238
+ }
1228
1239
  toApiJson() {
1229
1240
  const toReturn = {};
1230
1241
  if (typeof this.year !== 'undefined') {
@@ -1258,17 +1269,17 @@ class DateTime {
1258
1269
  }
1259
1270
  }
1260
1271
  class TimeZone {
1272
+ static fromProto(proto) {
1273
+ let m = new TimeZone();
1274
+ m = Object.assign(m, proto);
1275
+ return m;
1276
+ }
1261
1277
  constructor(kwargs) {
1262
1278
  if (!kwargs) {
1263
1279
  return;
1264
1280
  }
1265
1281
  Object.assign(this, kwargs);
1266
1282
  }
1267
- static fromProto(proto) {
1268
- let m = new TimeZone();
1269
- m = Object.assign(m, proto);
1270
- return m;
1271
- }
1272
1283
  toApiJson() {
1273
1284
  const toReturn = {};
1274
1285
  if (typeof this.id !== 'undefined') {
@@ -1281,27 +1292,27 @@ class TimeZone {
1281
1292
  }
1282
1293
  }
1283
1294
 
1284
- function enumStringToValue$5(enumRef, value) {
1295
+ function enumStringToValue$7(enumRef, value) {
1285
1296
  if (typeof value === 'number') {
1286
1297
  return value;
1287
1298
  }
1288
1299
  return enumRef[value];
1289
1300
  }
1290
1301
  class Answer {
1291
- constructor(kwargs) {
1292
- if (!kwargs) {
1293
- return;
1294
- }
1295
- Object.assign(this, kwargs);
1296
- }
1297
1302
  static fromProto(proto) {
1298
1303
  let m = new Answer();
1299
1304
  m = Object.assign(m, proto);
1300
1305
  if (proto.type) {
1301
- m.type = enumStringToValue$5(FormFieldType, proto.type);
1306
+ m.type = enumStringToValue$7(FormFieldType, proto.type);
1302
1307
  }
1303
1308
  return m;
1304
1309
  }
1310
+ constructor(kwargs) {
1311
+ if (!kwargs) {
1312
+ return;
1313
+ }
1314
+ Object.assign(this, kwargs);
1315
+ }
1305
1316
  toApiJson() {
1306
1317
  const toReturn = {};
1307
1318
  if (typeof this.id !== 'undefined') {
@@ -1320,12 +1331,6 @@ class Answer {
1320
1331
  }
1321
1332
  }
1322
1333
  class Answers {
1323
- constructor(kwargs) {
1324
- if (!kwargs) {
1325
- return;
1326
- }
1327
- Object.assign(this, kwargs);
1328
- }
1329
1334
  static fromProto(proto) {
1330
1335
  let m = new Answers();
1331
1336
  m = Object.assign(m, proto);
@@ -1334,6 +1339,12 @@ class Answers {
1334
1339
  }
1335
1340
  return m;
1336
1341
  }
1342
+ constructor(kwargs) {
1343
+ if (!kwargs) {
1344
+ return;
1345
+ }
1346
+ Object.assign(this, kwargs);
1347
+ }
1337
1348
  toApiJson() {
1338
1349
  const toReturn = {};
1339
1350
  if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
@@ -1343,17 +1354,17 @@ class Answers {
1343
1354
  }
1344
1355
  }
1345
1356
  class CalendarApplicationContextEntry {
1357
+ static fromProto(proto) {
1358
+ let m = new CalendarApplicationContextEntry();
1359
+ m = Object.assign(m, proto);
1360
+ return m;
1361
+ }
1346
1362
  constructor(kwargs) {
1347
1363
  if (!kwargs) {
1348
1364
  return;
1349
1365
  }
1350
1366
  Object.assign(this, kwargs);
1351
1367
  }
1352
- static fromProto(proto) {
1353
- let m = new CalendarApplicationContextEntry();
1354
- m = Object.assign(m, proto);
1355
- return m;
1356
- }
1357
1368
  toApiJson() {
1358
1369
  const toReturn = {};
1359
1370
  if (typeof this.key !== 'undefined') {
@@ -1366,17 +1377,17 @@ class CalendarApplicationContextEntry {
1366
1377
  }
1367
1378
  }
1368
1379
  class Attachment {
1380
+ static fromProto(proto) {
1381
+ let m = new Attachment();
1382
+ m = Object.assign(m, proto);
1383
+ return m;
1384
+ }
1369
1385
  constructor(kwargs) {
1370
1386
  if (!kwargs) {
1371
1387
  return;
1372
1388
  }
1373
1389
  Object.assign(this, kwargs);
1374
1390
  }
1375
- static fromProto(proto) {
1376
- let m = new Attachment();
1377
- m = Object.assign(m, proto);
1378
- return m;
1379
- }
1380
1391
  toApiJson() {
1381
1392
  const toReturn = {};
1382
1393
  if (typeof this.fileTitle !== 'undefined') {
@@ -1392,17 +1403,17 @@ class Attachment {
1392
1403
  }
1393
1404
  }
1394
1405
  class Attendee {
1406
+ static fromProto(proto) {
1407
+ let m = new Attendee();
1408
+ m = Object.assign(m, proto);
1409
+ return m;
1410
+ }
1395
1411
  constructor(kwargs) {
1396
1412
  if (!kwargs) {
1397
1413
  return;
1398
1414
  }
1399
1415
  Object.assign(this, kwargs);
1400
1416
  }
1401
- static fromProto(proto) {
1402
- let m = new Attendee();
1403
- m = Object.assign(m, proto);
1404
- return m;
1405
- }
1406
1417
  toApiJson() {
1407
1418
  const toReturn = {};
1408
1419
  if (typeof this.firstName !== 'undefined') {
@@ -1427,12 +1438,6 @@ class Attendee {
1427
1438
  }
1428
1439
  }
1429
1440
  class Calendar {
1430
- constructor(kwargs) {
1431
- if (!kwargs) {
1432
- return;
1433
- }
1434
- Object.assign(this, kwargs);
1435
- }
1436
1441
  static fromProto(proto) {
1437
1442
  let m = new Calendar();
1438
1443
  m = Object.assign(m, proto);
@@ -1440,10 +1445,16 @@ class Calendar {
1440
1445
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1441
1446
  }
1442
1447
  if (proto.calendarType) {
1443
- m.calendarType = enumStringToValue$5(CalendarType, proto.calendarType);
1448
+ m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
1444
1449
  }
1445
1450
  return m;
1446
1451
  }
1452
+ constructor(kwargs) {
1453
+ if (!kwargs) {
1454
+ return;
1455
+ }
1456
+ Object.assign(this, kwargs);
1457
+ }
1447
1458
  toApiJson() {
1448
1459
  const toReturn = {};
1449
1460
  if (typeof this.id !== 'undefined') {
@@ -1483,12 +1494,6 @@ class Calendar {
1483
1494
  }
1484
1495
  }
1485
1496
  class Contact {
1486
- constructor(kwargs) {
1487
- if (!kwargs) {
1488
- return;
1489
- }
1490
- Object.assign(this, kwargs);
1491
- }
1492
1497
  static fromProto(proto) {
1493
1498
  let m = new Contact();
1494
1499
  m = Object.assign(m, proto);
@@ -1497,6 +1502,12 @@ class Contact {
1497
1502
  }
1498
1503
  return m;
1499
1504
  }
1505
+ constructor(kwargs) {
1506
+ if (!kwargs) {
1507
+ return;
1508
+ }
1509
+ Object.assign(this, kwargs);
1510
+ }
1500
1511
  toApiJson() {
1501
1512
  const toReturn = {};
1502
1513
  if (typeof this.firstName !== 'undefined') {
@@ -1521,17 +1532,17 @@ class Contact {
1521
1532
  }
1522
1533
  }
1523
1534
  class Host {
1535
+ static fromProto(proto) {
1536
+ let m = new Host();
1537
+ m = Object.assign(m, proto);
1538
+ return m;
1539
+ }
1524
1540
  constructor(kwargs) {
1525
1541
  if (!kwargs) {
1526
1542
  return;
1527
1543
  }
1528
1544
  Object.assign(this, kwargs);
1529
1545
  }
1530
- static fromProto(proto) {
1531
- let m = new Host();
1532
- m = Object.assign(m, proto);
1533
- return m;
1534
- }
1535
1546
  toApiJson() {
1536
1547
  const toReturn = {};
1537
1548
  if (typeof this.id !== 'undefined') {
@@ -1550,17 +1561,17 @@ class Host {
1550
1561
  }
1551
1562
  }
1552
1563
  class HostUser {
1564
+ static fromProto(proto) {
1565
+ let m = new HostUser();
1566
+ m = Object.assign(m, proto);
1567
+ return m;
1568
+ }
1553
1569
  constructor(kwargs) {
1554
1570
  if (!kwargs) {
1555
1571
  return;
1556
1572
  }
1557
1573
  Object.assign(this, kwargs);
1558
1574
  }
1559
- static fromProto(proto) {
1560
- let m = new HostUser();
1561
- m = Object.assign(m, proto);
1562
- return m;
1563
- }
1564
1575
  toApiJson() {
1565
1576
  const toReturn = {};
1566
1577
  if (typeof this.userId !== 'undefined') {
@@ -1576,12 +1587,6 @@ class HostUser {
1576
1587
  }
1577
1588
  }
1578
1589
  class PagedRequestOptions {
1579
- constructor(kwargs) {
1580
- if (!kwargs) {
1581
- return;
1582
- }
1583
- Object.assign(this, kwargs);
1584
- }
1585
1590
  static fromProto(proto) {
1586
1591
  let m = new PagedRequestOptions();
1587
1592
  m = Object.assign(m, proto);
@@ -1590,6 +1595,12 @@ class PagedRequestOptions {
1590
1595
  }
1591
1596
  return m;
1592
1597
  }
1598
+ constructor(kwargs) {
1599
+ if (!kwargs) {
1600
+ return;
1601
+ }
1602
+ Object.assign(this, kwargs);
1603
+ }
1593
1604
  toApiJson() {
1594
1605
  const toReturn = {};
1595
1606
  if (typeof this.cursor !== 'undefined') {
@@ -1602,17 +1613,17 @@ class PagedRequestOptions {
1602
1613
  }
1603
1614
  }
1604
1615
  class PagedResponseMetadata {
1616
+ static fromProto(proto) {
1617
+ let m = new PagedResponseMetadata();
1618
+ m = Object.assign(m, proto);
1619
+ return m;
1620
+ }
1605
1621
  constructor(kwargs) {
1606
1622
  if (!kwargs) {
1607
1623
  return;
1608
1624
  }
1609
1625
  Object.assign(this, kwargs);
1610
1626
  }
1611
- static fromProto(proto) {
1612
- let m = new PagedResponseMetadata();
1613
- m = Object.assign(m, proto);
1614
- return m;
1615
- }
1616
1627
  toApiJson() {
1617
1628
  const toReturn = {};
1618
1629
  if (typeof this.nextCursor !== 'undefined') {
@@ -1625,12 +1636,6 @@ class PagedResponseMetadata {
1625
1636
  }
1626
1637
  }
1627
1638
  class Preferences {
1628
- constructor(kwargs) {
1629
- if (!kwargs) {
1630
- return;
1631
- }
1632
- Object.assign(this, kwargs);
1633
- }
1634
1639
  static fromProto(proto) {
1635
1640
  let m = new Preferences();
1636
1641
  m = Object.assign(m, proto);
@@ -1638,7 +1643,7 @@ class Preferences {
1638
1643
  m.timezone = TimeZone.fromProto(proto.timezone);
1639
1644
  }
1640
1645
  if (proto.meetingIntegration) {
1641
- m.meetingIntegration = enumStringToValue$5(MeetingSource, proto.meetingIntegration);
1646
+ m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
1642
1647
  }
1643
1648
  if (proto.availabilityIncrement) {
1644
1649
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1651,6 +1656,12 @@ class Preferences {
1651
1656
  }
1652
1657
  return m;
1653
1658
  }
1659
+ constructor(kwargs) {
1660
+ if (!kwargs) {
1661
+ return;
1662
+ }
1663
+ Object.assign(this, kwargs);
1664
+ }
1654
1665
  toApiJson() {
1655
1666
  const toReturn = {};
1656
1667
  if (typeof this.timezone !== 'undefined' && this.timezone !== null) {
@@ -1675,12 +1686,6 @@ class Preferences {
1675
1686
  }
1676
1687
  }
1677
1688
  class TimeRange {
1678
- constructor(kwargs) {
1679
- if (!kwargs) {
1680
- return;
1681
- }
1682
- Object.assign(this, kwargs);
1683
- }
1684
1689
  static fromProto(proto) {
1685
1690
  let m = new TimeRange();
1686
1691
  m = Object.assign(m, proto);
@@ -1692,6 +1697,12 @@ class TimeRange {
1692
1697
  }
1693
1698
  return m;
1694
1699
  }
1700
+ constructor(kwargs) {
1701
+ if (!kwargs) {
1702
+ return;
1703
+ }
1704
+ Object.assign(this, kwargs);
1705
+ }
1695
1706
  toApiJson() {
1696
1707
  const toReturn = {};
1697
1708
  if (typeof this.from !== 'undefined' && this.from !== null) {
@@ -1704,27 +1715,27 @@ class TimeRange {
1704
1715
  }
1705
1716
  }
1706
1717
 
1707
- function enumStringToValue$4(enumRef, value) {
1718
+ function enumStringToValue$6(enumRef, value) {
1708
1719
  if (typeof value === 'number') {
1709
1720
  return value;
1710
1721
  }
1711
1722
  return enumRef[value];
1712
1723
  }
1713
1724
  class Field {
1714
- constructor(kwargs) {
1715
- if (!kwargs) {
1716
- return;
1717
- }
1718
- Object.assign(this, kwargs);
1719
- }
1720
1725
  static fromProto(proto) {
1721
1726
  let m = new Field();
1722
1727
  m = Object.assign(m, proto);
1723
1728
  if (proto.type) {
1724
- m.type = enumStringToValue$4(FormFieldType, proto.type);
1729
+ m.type = enumStringToValue$6(FormFieldType, proto.type);
1725
1730
  }
1726
1731
  return m;
1727
1732
  }
1733
+ constructor(kwargs) {
1734
+ if (!kwargs) {
1735
+ return;
1736
+ }
1737
+ Object.assign(this, kwargs);
1738
+ }
1728
1739
  toApiJson() {
1729
1740
  const toReturn = {};
1730
1741
  if (typeof this.id !== 'undefined') {
@@ -1743,12 +1754,6 @@ class Field {
1743
1754
  }
1744
1755
  }
1745
1756
  class Form {
1746
- constructor(kwargs) {
1747
- if (!kwargs) {
1748
- return;
1749
- }
1750
- Object.assign(this, kwargs);
1751
- }
1752
1757
  static fromProto(proto) {
1753
1758
  let m = new Form();
1754
1759
  m = Object.assign(m, proto);
@@ -1757,6 +1762,12 @@ class Form {
1757
1762
  }
1758
1763
  return m;
1759
1764
  }
1765
+ constructor(kwargs) {
1766
+ if (!kwargs) {
1767
+ return;
1768
+ }
1769
+ Object.assign(this, kwargs);
1770
+ }
1760
1771
  toApiJson() {
1761
1772
  const toReturn = {};
1762
1773
  if (typeof this.fields !== 'undefined' && this.fields !== null) {
@@ -1766,12 +1777,6 @@ class Form {
1766
1777
  }
1767
1778
  }
1768
1779
  class MeetingType {
1769
- constructor(kwargs) {
1770
- if (!kwargs) {
1771
- return;
1772
- }
1773
- Object.assign(this, kwargs);
1774
- }
1775
1780
  static fromProto(proto) {
1776
1781
  let m = new MeetingType();
1777
1782
  m = Object.assign(m, proto);
@@ -1780,6 +1785,12 @@ class MeetingType {
1780
1785
  }
1781
1786
  return m;
1782
1787
  }
1788
+ constructor(kwargs) {
1789
+ if (!kwargs) {
1790
+ return;
1791
+ }
1792
+ Object.assign(this, kwargs);
1793
+ }
1783
1794
  toApiJson() {
1784
1795
  const toReturn = {};
1785
1796
  if (typeof this.id !== 'undefined') {
@@ -1822,19 +1833,13 @@ class MeetingType {
1822
1833
  }
1823
1834
  }
1824
1835
 
1825
- function enumStringToValue$3(enumRef, value) {
1836
+ function enumStringToValue$5(enumRef, value) {
1826
1837
  if (typeof value === 'number') {
1827
1838
  return value;
1828
1839
  }
1829
1840
  return enumRef[value];
1830
1841
  }
1831
1842
  class DateRange {
1832
- constructor(kwargs) {
1833
- if (!kwargs) {
1834
- return;
1835
- }
1836
- Object.assign(this, kwargs);
1837
- }
1838
1843
  static fromProto(proto) {
1839
1844
  let m = new DateRange();
1840
1845
  m = Object.assign(m, proto);
@@ -1846,6 +1851,12 @@ class DateRange {
1846
1851
  }
1847
1852
  return m;
1848
1853
  }
1854
+ constructor(kwargs) {
1855
+ if (!kwargs) {
1856
+ return;
1857
+ }
1858
+ Object.assign(this, kwargs);
1859
+ }
1849
1860
  toApiJson() {
1850
1861
  const toReturn = {};
1851
1862
  if (typeof this.start !== 'undefined' && this.start !== null) {
@@ -1858,19 +1869,13 @@ class DateRange {
1858
1869
  }
1859
1870
  }
1860
1871
 
1861
- function enumStringToValue$2(enumRef, value) {
1872
+ function enumStringToValue$4(enumRef, value) {
1862
1873
  if (typeof value === 'number') {
1863
1874
  return value;
1864
1875
  }
1865
1876
  return enumRef[value];
1866
1877
  }
1867
1878
  class BookMeetingRequest {
1868
- constructor(kwargs) {
1869
- if (!kwargs) {
1870
- return;
1871
- }
1872
- Object.assign(this, kwargs);
1873
- }
1874
1879
  static fromProto(proto) {
1875
1880
  let m = new BookMeetingRequest();
1876
1881
  m = Object.assign(m, proto);
@@ -1891,6 +1896,12 @@ class BookMeetingRequest {
1891
1896
  }
1892
1897
  return m;
1893
1898
  }
1899
+ constructor(kwargs) {
1900
+ if (!kwargs) {
1901
+ return;
1902
+ }
1903
+ Object.assign(this, kwargs);
1904
+ }
1894
1905
  toApiJson() {
1895
1906
  const toReturn = {};
1896
1907
  if (typeof this.hostId !== 'undefined') {
@@ -1924,17 +1935,17 @@ class BookMeetingRequest {
1924
1935
  }
1925
1936
  }
1926
1937
  class BookMeetingResponse {
1938
+ static fromProto(proto) {
1939
+ let m = new BookMeetingResponse();
1940
+ m = Object.assign(m, proto);
1941
+ return m;
1942
+ }
1927
1943
  constructor(kwargs) {
1928
1944
  if (!kwargs) {
1929
1945
  return;
1930
1946
  }
1931
1947
  Object.assign(this, kwargs);
1932
1948
  }
1933
- static fromProto(proto) {
1934
- let m = new BookMeetingResponse();
1935
- m = Object.assign(m, proto);
1936
- return m;
1937
- }
1938
1949
  toApiJson() {
1939
1950
  const toReturn = {};
1940
1951
  if (typeof this.meetingId !== 'undefined') {
@@ -1947,17 +1958,17 @@ class BookMeetingResponse {
1947
1958
  }
1948
1959
  }
1949
1960
  class GetCalendarRequest {
1961
+ static fromProto(proto) {
1962
+ let m = new GetCalendarRequest();
1963
+ m = Object.assign(m, proto);
1964
+ return m;
1965
+ }
1950
1966
  constructor(kwargs) {
1951
1967
  if (!kwargs) {
1952
1968
  return;
1953
1969
  }
1954
1970
  Object.assign(this, kwargs);
1955
1971
  }
1956
- static fromProto(proto) {
1957
- let m = new GetCalendarRequest();
1958
- m = Object.assign(m, proto);
1959
- return m;
1960
- }
1961
1972
  toApiJson() {
1962
1973
  const toReturn = {};
1963
1974
  if (typeof this.calendarId !== 'undefined') {
@@ -1967,12 +1978,6 @@ class GetCalendarRequest {
1967
1978
  }
1968
1979
  }
1969
1980
  class GetCalendarResponse {
1970
- constructor(kwargs) {
1971
- if (!kwargs) {
1972
- return;
1973
- }
1974
- Object.assign(this, kwargs);
1975
- }
1976
1981
  static fromProto(proto) {
1977
1982
  let m = new GetCalendarResponse();
1978
1983
  m = Object.assign(m, proto);
@@ -1981,6 +1986,12 @@ class GetCalendarResponse {
1981
1986
  }
1982
1987
  return m;
1983
1988
  }
1989
+ constructor(kwargs) {
1990
+ if (!kwargs) {
1991
+ return;
1992
+ }
1993
+ Object.assign(this, kwargs);
1994
+ }
1984
1995
  toApiJson() {
1985
1996
  const toReturn = {};
1986
1997
  if (typeof this.calendar !== 'undefined' && this.calendar !== null) {
@@ -1990,17 +2001,17 @@ class GetCalendarResponse {
1990
2001
  }
1991
2002
  }
1992
2003
  class GetHostRequest {
2004
+ static fromProto(proto) {
2005
+ let m = new GetHostRequest();
2006
+ m = Object.assign(m, proto);
2007
+ return m;
2008
+ }
1993
2009
  constructor(kwargs) {
1994
2010
  if (!kwargs) {
1995
2011
  return;
1996
2012
  }
1997
2013
  Object.assign(this, kwargs);
1998
2014
  }
1999
- static fromProto(proto) {
2000
- let m = new GetHostRequest();
2001
- m = Object.assign(m, proto);
2002
- return m;
2003
- }
2004
2015
  toApiJson() {
2005
2016
  const toReturn = {};
2006
2017
  if (typeof this.hostId !== 'undefined') {
@@ -2010,12 +2021,6 @@ class GetHostRequest {
2010
2021
  }
2011
2022
  }
2012
2023
  class GetHostResponse {
2013
- constructor(kwargs) {
2014
- if (!kwargs) {
2015
- return;
2016
- }
2017
- Object.assign(this, kwargs);
2018
- }
2019
2024
  static fromProto(proto) {
2020
2025
  let m = new GetHostResponse();
2021
2026
  m = Object.assign(m, proto);
@@ -2024,6 +2029,12 @@ class GetHostResponse {
2024
2029
  }
2025
2030
  return m;
2026
2031
  }
2032
+ constructor(kwargs) {
2033
+ if (!kwargs) {
2034
+ return;
2035
+ }
2036
+ Object.assign(this, kwargs);
2037
+ }
2027
2038
  toApiJson() {
2028
2039
  const toReturn = {};
2029
2040
  if (typeof this.host !== 'undefined' && this.host !== null) {
@@ -2033,17 +2044,17 @@ class GetHostResponse {
2033
2044
  }
2034
2045
  }
2035
2046
  class GetMeetingTypeRequest {
2047
+ static fromProto(proto) {
2048
+ let m = new GetMeetingTypeRequest();
2049
+ m = Object.assign(m, proto);
2050
+ return m;
2051
+ }
2036
2052
  constructor(kwargs) {
2037
2053
  if (!kwargs) {
2038
2054
  return;
2039
2055
  }
2040
2056
  Object.assign(this, kwargs);
2041
2057
  }
2042
- static fromProto(proto) {
2043
- let m = new GetMeetingTypeRequest();
2044
- m = Object.assign(m, proto);
2045
- return m;
2046
- }
2047
2058
  toApiJson() {
2048
2059
  const toReturn = {};
2049
2060
  if (typeof this.calendarSlug !== 'undefined') {
@@ -2056,12 +2067,6 @@ class GetMeetingTypeRequest {
2056
2067
  }
2057
2068
  }
2058
2069
  class GetMeetingTypeResponse {
2059
- constructor(kwargs) {
2060
- if (!kwargs) {
2061
- return;
2062
- }
2063
- Object.assign(this, kwargs);
2064
- }
2065
2070
  static fromProto(proto) {
2066
2071
  let m = new GetMeetingTypeResponse();
2067
2072
  m = Object.assign(m, proto);
@@ -2070,6 +2075,12 @@ class GetMeetingTypeResponse {
2070
2075
  }
2071
2076
  return m;
2072
2077
  }
2078
+ constructor(kwargs) {
2079
+ if (!kwargs) {
2080
+ return;
2081
+ }
2082
+ Object.assign(this, kwargs);
2083
+ }
2073
2084
  toApiJson() {
2074
2085
  const toReturn = {};
2075
2086
  if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
@@ -2079,17 +2090,17 @@ class GetMeetingTypeResponse {
2079
2090
  }
2080
2091
  }
2081
2092
  class GuestCancelMeetingRequest {
2093
+ static fromProto(proto) {
2094
+ let m = new GuestCancelMeetingRequest();
2095
+ m = Object.assign(m, proto);
2096
+ return m;
2097
+ }
2082
2098
  constructor(kwargs) {
2083
2099
  if (!kwargs) {
2084
2100
  return;
2085
2101
  }
2086
2102
  Object.assign(this, kwargs);
2087
2103
  }
2088
- static fromProto(proto) {
2089
- let m = new GuestCancelMeetingRequest();
2090
- m = Object.assign(m, proto);
2091
- return m;
2092
- }
2093
2104
  toApiJson() {
2094
2105
  const toReturn = {};
2095
2106
  if (typeof this.meetingId !== 'undefined') {
@@ -2105,17 +2116,17 @@ class GuestCancelMeetingRequest {
2105
2116
  }
2106
2117
  }
2107
2118
  class GuestGetBookedMeetingRequest {
2119
+ static fromProto(proto) {
2120
+ let m = new GuestGetBookedMeetingRequest();
2121
+ m = Object.assign(m, proto);
2122
+ return m;
2123
+ }
2108
2124
  constructor(kwargs) {
2109
2125
  if (!kwargs) {
2110
2126
  return;
2111
2127
  }
2112
2128
  Object.assign(this, kwargs);
2113
2129
  }
2114
- static fromProto(proto) {
2115
- let m = new GuestGetBookedMeetingRequest();
2116
- m = Object.assign(m, proto);
2117
- return m;
2118
- }
2119
2130
  toApiJson() {
2120
2131
  const toReturn = {};
2121
2132
  if (typeof this.meetingId !== 'undefined') {
@@ -2128,12 +2139,6 @@ class GuestGetBookedMeetingRequest {
2128
2139
  }
2129
2140
  }
2130
2141
  class GuestGetBookedMeetingResponse {
2131
- constructor(kwargs) {
2132
- if (!kwargs) {
2133
- return;
2134
- }
2135
- Object.assign(this, kwargs);
2136
- }
2137
2142
  static fromProto(proto) {
2138
2143
  let m = new GuestGetBookedMeetingResponse();
2139
2144
  m = Object.assign(m, proto);
@@ -2148,6 +2153,12 @@ class GuestGetBookedMeetingResponse {
2148
2153
  }
2149
2154
  return m;
2150
2155
  }
2156
+ constructor(kwargs) {
2157
+ if (!kwargs) {
2158
+ return;
2159
+ }
2160
+ Object.assign(this, kwargs);
2161
+ }
2151
2162
  toApiJson() {
2152
2163
  const toReturn = {};
2153
2164
  if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
@@ -2166,17 +2177,17 @@ class GuestGetBookedMeetingResponse {
2166
2177
  }
2167
2178
  }
2168
2179
  class GuestIsHostConfiguredRequest {
2180
+ static fromProto(proto) {
2181
+ let m = new GuestIsHostConfiguredRequest();
2182
+ m = Object.assign(m, proto);
2183
+ return m;
2184
+ }
2169
2185
  constructor(kwargs) {
2170
2186
  if (!kwargs) {
2171
2187
  return;
2172
2188
  }
2173
2189
  Object.assign(this, kwargs);
2174
2190
  }
2175
- static fromProto(proto) {
2176
- let m = new GuestIsHostConfiguredRequest();
2177
- m = Object.assign(m, proto);
2178
- return m;
2179
- }
2180
2191
  toApiJson() {
2181
2192
  const toReturn = {};
2182
2193
  if (typeof this.hostId !== 'undefined') {
@@ -2186,17 +2197,17 @@ class GuestIsHostConfiguredRequest {
2186
2197
  }
2187
2198
  }
2188
2199
  class GuestIsHostConfiguredResponse {
2200
+ static fromProto(proto) {
2201
+ let m = new GuestIsHostConfiguredResponse();
2202
+ m = Object.assign(m, proto);
2203
+ return m;
2204
+ }
2189
2205
  constructor(kwargs) {
2190
2206
  if (!kwargs) {
2191
2207
  return;
2192
2208
  }
2193
2209
  Object.assign(this, kwargs);
2194
2210
  }
2195
- static fromProto(proto) {
2196
- let m = new GuestIsHostConfiguredResponse();
2197
- m = Object.assign(m, proto);
2198
- return m;
2199
- }
2200
2211
  toApiJson() {
2201
2212
  const toReturn = {};
2202
2213
  if (typeof this.isConfigured !== 'undefined') {
@@ -2206,12 +2217,6 @@ class GuestIsHostConfiguredResponse {
2206
2217
  }
2207
2218
  }
2208
2219
  class GuestRescheduleMeetingRequest {
2209
- constructor(kwargs) {
2210
- if (!kwargs) {
2211
- return;
2212
- }
2213
- Object.assign(this, kwargs);
2214
- }
2215
2220
  static fromProto(proto) {
2216
2221
  let m = new GuestRescheduleMeetingRequest();
2217
2222
  m = Object.assign(m, proto);
@@ -2223,6 +2228,12 @@ class GuestRescheduleMeetingRequest {
2223
2228
  }
2224
2229
  return m;
2225
2230
  }
2231
+ constructor(kwargs) {
2232
+ if (!kwargs) {
2233
+ return;
2234
+ }
2235
+ Object.assign(this, kwargs);
2236
+ }
2226
2237
  toApiJson() {
2227
2238
  const toReturn = {};
2228
2239
  if (typeof this.meetingId !== 'undefined') {
@@ -2241,12 +2252,6 @@ class GuestRescheduleMeetingRequest {
2241
2252
  }
2242
2253
  }
2243
2254
  class ListAvailableTimeSlotsRequest {
2244
- constructor(kwargs) {
2245
- if (!kwargs) {
2246
- return;
2247
- }
2248
- Object.assign(this, kwargs);
2249
- }
2250
2255
  static fromProto(proto) {
2251
2256
  let m = new ListAvailableTimeSlotsRequest();
2252
2257
  m = Object.assign(m, proto);
@@ -2258,6 +2263,12 @@ class ListAvailableTimeSlotsRequest {
2258
2263
  }
2259
2264
  return m;
2260
2265
  }
2266
+ constructor(kwargs) {
2267
+ if (!kwargs) {
2268
+ return;
2269
+ }
2270
+ Object.assign(this, kwargs);
2271
+ }
2261
2272
  toApiJson() {
2262
2273
  const toReturn = {};
2263
2274
  if (typeof this.hostId !== 'undefined') {
@@ -2276,12 +2287,6 @@ class ListAvailableTimeSlotsRequest {
2276
2287
  }
2277
2288
  }
2278
2289
  class ListAvailableTimeSlotsResponse {
2279
- constructor(kwargs) {
2280
- if (!kwargs) {
2281
- return;
2282
- }
2283
- Object.assign(this, kwargs);
2284
- }
2285
2290
  static fromProto(proto) {
2286
2291
  let m = new ListAvailableTimeSlotsResponse();
2287
2292
  m = Object.assign(m, proto);
@@ -2290,6 +2295,12 @@ class ListAvailableTimeSlotsResponse {
2290
2295
  }
2291
2296
  return m;
2292
2297
  }
2298
+ constructor(kwargs) {
2299
+ if (!kwargs) {
2300
+ return;
2301
+ }
2302
+ Object.assign(this, kwargs);
2303
+ }
2293
2304
  toApiJson() {
2294
2305
  const toReturn = {};
2295
2306
  if (typeof this.timeSlots !== 'undefined' && this.timeSlots !== null) {
@@ -2299,17 +2310,17 @@ class ListAvailableTimeSlotsResponse {
2299
2310
  }
2300
2311
  }
2301
2312
  class ListMeetingTypesRequest {
2313
+ static fromProto(proto) {
2314
+ let m = new ListMeetingTypesRequest();
2315
+ m = Object.assign(m, proto);
2316
+ return m;
2317
+ }
2302
2318
  constructor(kwargs) {
2303
2319
  if (!kwargs) {
2304
2320
  return;
2305
2321
  }
2306
2322
  Object.assign(this, kwargs);
2307
2323
  }
2308
- static fromProto(proto) {
2309
- let m = new ListMeetingTypesRequest();
2310
- m = Object.assign(m, proto);
2311
- return m;
2312
- }
2313
2324
  toApiJson() {
2314
2325
  const toReturn = {};
2315
2326
  if (typeof this.hostId !== 'undefined') {
@@ -2319,12 +2330,6 @@ class ListMeetingTypesRequest {
2319
2330
  }
2320
2331
  }
2321
2332
  class ListMeetingTypesResponse {
2322
- constructor(kwargs) {
2323
- if (!kwargs) {
2324
- return;
2325
- }
2326
- Object.assign(this, kwargs);
2327
- }
2328
2333
  static fromProto(proto) {
2329
2334
  let m = new ListMeetingTypesResponse();
2330
2335
  m = Object.assign(m, proto);
@@ -2333,6 +2338,12 @@ class ListMeetingTypesResponse {
2333
2338
  }
2334
2339
  return m;
2335
2340
  }
2341
+ constructor(kwargs) {
2342
+ if (!kwargs) {
2343
+ return;
2344
+ }
2345
+ Object.assign(this, kwargs);
2346
+ }
2336
2347
  toApiJson() {
2337
2348
  const toReturn = {};
2338
2349
  if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
@@ -2342,17 +2353,17 @@ class ListMeetingTypesResponse {
2342
2353
  }
2343
2354
  }
2344
2355
  class BookMeetingRequestMetadataEntry {
2356
+ static fromProto(proto) {
2357
+ let m = new BookMeetingRequestMetadataEntry();
2358
+ m = Object.assign(m, proto);
2359
+ return m;
2360
+ }
2345
2361
  constructor(kwargs) {
2346
2362
  if (!kwargs) {
2347
2363
  return;
2348
2364
  }
2349
2365
  Object.assign(this, kwargs);
2350
2366
  }
2351
- static fromProto(proto) {
2352
- let m = new BookMeetingRequestMetadataEntry();
2353
- m = Object.assign(m, proto);
2354
- return m;
2355
- }
2356
2367
  toApiJson() {
2357
2368
  const toReturn = {};
2358
2369
  if (typeof this.key !== 'undefined') {
@@ -2365,24 +2376,24 @@ class BookMeetingRequestMetadataEntry {
2365
2376
  }
2366
2377
  }
2367
2378
 
2368
- function enumStringToValue$1(enumRef, value) {
2379
+ function enumStringToValue$3(enumRef, value) {
2369
2380
  if (typeof value === 'number') {
2370
2381
  return value;
2371
2382
  }
2372
2383
  return enumRef[value];
2373
2384
  }
2374
2385
  class FieldMask {
2386
+ static fromProto(proto) {
2387
+ let m = new FieldMask();
2388
+ m = Object.assign(m, proto);
2389
+ return m;
2390
+ }
2375
2391
  constructor(kwargs) {
2376
2392
  if (!kwargs) {
2377
2393
  return;
2378
2394
  }
2379
2395
  Object.assign(this, kwargs);
2380
2396
  }
2381
- static fromProto(proto) {
2382
- let m = new FieldMask();
2383
- m = Object.assign(m, proto);
2384
- return m;
2385
- }
2386
2397
  toApiJson() {
2387
2398
  const toReturn = {};
2388
2399
  if (typeof this.paths !== 'undefined') {
@@ -2392,24 +2403,24 @@ 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
  }
2399
2410
  return enumRef[value];
2400
2411
  }
2401
2412
  class BuildHostIdRequestApplicationContextPropertiesEntry {
2413
+ static fromProto(proto) {
2414
+ let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
2415
+ m = Object.assign(m, proto);
2416
+ return m;
2417
+ }
2402
2418
  constructor(kwargs) {
2403
2419
  if (!kwargs) {
2404
2420
  return;
2405
2421
  }
2406
2422
  Object.assign(this, kwargs);
2407
2423
  }
2408
- static fromProto(proto) {
2409
- let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
2410
- m = Object.assign(m, proto);
2411
- return m;
2412
- }
2413
2424
  toApiJson() {
2414
2425
  const toReturn = {};
2415
2426
  if (typeof this.key !== 'undefined') {
@@ -2422,17 +2433,17 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
2422
2433
  }
2423
2434
  }
2424
2435
  class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
2436
+ static fromProto(proto) {
2437
+ let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
2438
+ m = Object.assign(m, proto);
2439
+ return m;
2440
+ }
2425
2441
  constructor(kwargs) {
2426
2442
  if (!kwargs) {
2427
2443
  return;
2428
2444
  }
2429
2445
  Object.assign(this, kwargs);
2430
2446
  }
2431
- static fromProto(proto) {
2432
- let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
2433
- m = Object.assign(m, proto);
2434
- return m;
2435
- }
2436
2447
  toApiJson() {
2437
2448
  const toReturn = {};
2438
2449
  if (typeof this.key !== 'undefined') {
@@ -2445,17 +2456,11 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
2445
2456
  }
2446
2457
  }
2447
2458
  class AvailabilityRule {
2448
- constructor(kwargs) {
2449
- if (!kwargs) {
2450
- return;
2451
- }
2452
- Object.assign(this, kwargs);
2453
- }
2454
2459
  static fromProto(proto) {
2455
2460
  let m = new AvailabilityRule();
2456
2461
  m = Object.assign(m, proto);
2457
2462
  if (proto.day) {
2458
- m.day = enumStringToValue(DayOfWeek, proto.day);
2463
+ m.day = enumStringToValue$2(DayOfWeek, proto.day);
2459
2464
  }
2460
2465
  if (proto.timeSlot) {
2461
2466
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -2465,6 +2470,12 @@ class AvailabilityRule {
2465
2470
  }
2466
2471
  return m;
2467
2472
  }
2473
+ constructor(kwargs) {
2474
+ if (!kwargs) {
2475
+ return;
2476
+ }
2477
+ Object.assign(this, kwargs);
2478
+ }
2468
2479
  toApiJson() {
2469
2480
  const toReturn = {};
2470
2481
  if (typeof this.hostId !== 'undefined') {
@@ -2486,12 +2497,6 @@ class AvailabilityRule {
2486
2497
  }
2487
2498
  }
2488
2499
  class BuildHostIdRequest {
2489
- constructor(kwargs) {
2490
- if (!kwargs) {
2491
- return;
2492
- }
2493
- Object.assign(this, kwargs);
2494
- }
2495
2500
  static fromProto(proto) {
2496
2501
  let m = new BuildHostIdRequest();
2497
2502
  m = Object.assign(m, proto);
@@ -2500,6 +2505,12 @@ class BuildHostIdRequest {
2500
2505
  }
2501
2506
  return m;
2502
2507
  }
2508
+ constructor(kwargs) {
2509
+ if (!kwargs) {
2510
+ return;
2511
+ }
2512
+ Object.assign(this, kwargs);
2513
+ }
2503
2514
  toApiJson() {
2504
2515
  const toReturn = {};
2505
2516
  if (typeof this.applicationContextProperties !== 'undefined' && this.applicationContextProperties !== null) {
@@ -2512,17 +2523,17 @@ class BuildHostIdRequest {
2512
2523
  }
2513
2524
  }
2514
2525
  class BuildHostIdResponse {
2526
+ static fromProto(proto) {
2527
+ let m = new BuildHostIdResponse();
2528
+ m = Object.assign(m, proto);
2529
+ return m;
2530
+ }
2515
2531
  constructor(kwargs) {
2516
2532
  if (!kwargs) {
2517
2533
  return;
2518
2534
  }
2519
2535
  Object.assign(this, kwargs);
2520
2536
  }
2521
- static fromProto(proto) {
2522
- let m = new BuildHostIdResponse();
2523
- m = Object.assign(m, proto);
2524
- return m;
2525
- }
2526
2537
  toApiJson() {
2527
2538
  const toReturn = {};
2528
2539
  if (typeof this.hostId !== 'undefined') {
@@ -2532,12 +2543,6 @@ class BuildHostIdResponse {
2532
2543
  }
2533
2544
  }
2534
2545
  class GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry {
2535
- constructor(kwargs) {
2536
- if (!kwargs) {
2537
- return;
2538
- }
2539
- Object.assign(this, kwargs);
2540
- }
2541
2546
  static fromProto(proto) {
2542
2547
  let m = new GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry();
2543
2548
  m = Object.assign(m, proto);
@@ -2546,6 +2551,12 @@ class GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry {
2546
2551
  }
2547
2552
  return m;
2548
2553
  }
2554
+ constructor(kwargs) {
2555
+ if (!kwargs) {
2556
+ return;
2557
+ }
2558
+ Object.assign(this, kwargs);
2559
+ }
2549
2560
  toApiJson() {
2550
2561
  const toReturn = {};
2551
2562
  if (typeof this.key !== 'undefined') {
@@ -2558,17 +2569,17 @@ class GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry {
2558
2569
  }
2559
2570
  }
2560
2571
  class CancelMeetingRequest {
2572
+ static fromProto(proto) {
2573
+ let m = new CancelMeetingRequest();
2574
+ m = Object.assign(m, proto);
2575
+ return m;
2576
+ }
2561
2577
  constructor(kwargs) {
2562
2578
  if (!kwargs) {
2563
2579
  return;
2564
2580
  }
2565
2581
  Object.assign(this, kwargs);
2566
2582
  }
2567
- static fromProto(proto) {
2568
- let m = new CancelMeetingRequest();
2569
- m = Object.assign(m, proto);
2570
- return m;
2571
- }
2572
2583
  toApiJson() {
2573
2584
  const toReturn = {};
2574
2585
  if (typeof this.meetingId !== 'undefined') {
@@ -2615,12 +2626,6 @@ class CreateAvailabilityResponse {
2615
2626
  }
2616
2627
  }
2617
2628
  class CreateCalendarRequest {
2618
- constructor(kwargs) {
2619
- if (!kwargs) {
2620
- return;
2621
- }
2622
- Object.assign(this, kwargs);
2623
- }
2624
2629
  static fromProto(proto) {
2625
2630
  let m = new CreateCalendarRequest();
2626
2631
  m = Object.assign(m, proto);
@@ -2629,6 +2634,12 @@ class CreateCalendarRequest {
2629
2634
  }
2630
2635
  return m;
2631
2636
  }
2637
+ constructor(kwargs) {
2638
+ if (!kwargs) {
2639
+ return;
2640
+ }
2641
+ Object.assign(this, kwargs);
2642
+ }
2632
2643
  toApiJson() {
2633
2644
  const toReturn = {};
2634
2645
  if (typeof this.calendar !== 'undefined' && this.calendar !== null) {
@@ -2638,17 +2649,17 @@ class CreateCalendarRequest {
2638
2649
  }
2639
2650
  }
2640
2651
  class CreateCalendarResponse {
2652
+ static fromProto(proto) {
2653
+ let m = new CreateCalendarResponse();
2654
+ m = Object.assign(m, proto);
2655
+ return m;
2656
+ }
2641
2657
  constructor(kwargs) {
2642
2658
  if (!kwargs) {
2643
2659
  return;
2644
2660
  }
2645
2661
  Object.assign(this, kwargs);
2646
2662
  }
2647
- static fromProto(proto) {
2648
- let m = new CreateCalendarResponse();
2649
- m = Object.assign(m, proto);
2650
- return m;
2651
- }
2652
2663
  toApiJson() {
2653
2664
  const toReturn = {};
2654
2665
  if (typeof this.calendarId !== 'undefined') {
@@ -2658,17 +2669,17 @@ class CreateCalendarResponse {
2658
2669
  }
2659
2670
  }
2660
2671
  class CreateDefaultMeetingTypesRequest {
2672
+ static fromProto(proto) {
2673
+ let m = new CreateDefaultMeetingTypesRequest();
2674
+ m = Object.assign(m, proto);
2675
+ return m;
2676
+ }
2661
2677
  constructor(kwargs) {
2662
2678
  if (!kwargs) {
2663
2679
  return;
2664
2680
  }
2665
2681
  Object.assign(this, kwargs);
2666
2682
  }
2667
- static fromProto(proto) {
2668
- let m = new CreateDefaultMeetingTypesRequest();
2669
- m = Object.assign(m, proto);
2670
- return m;
2671
- }
2672
2683
  toApiJson() {
2673
2684
  const toReturn = {};
2674
2685
  if (typeof this.calendarId !== 'undefined') {
@@ -2681,12 +2692,6 @@ class CreateDefaultMeetingTypesRequest {
2681
2692
  }
2682
2693
  }
2683
2694
  class CreateMeetingTypeRequest {
2684
- constructor(kwargs) {
2685
- if (!kwargs) {
2686
- return;
2687
- }
2688
- Object.assign(this, kwargs);
2689
- }
2690
2695
  static fromProto(proto) {
2691
2696
  let m = new CreateMeetingTypeRequest();
2692
2697
  m = Object.assign(m, proto);
@@ -2695,6 +2700,12 @@ class CreateMeetingTypeRequest {
2695
2700
  }
2696
2701
  return m;
2697
2702
  }
2703
+ constructor(kwargs) {
2704
+ if (!kwargs) {
2705
+ return;
2706
+ }
2707
+ Object.assign(this, kwargs);
2708
+ }
2698
2709
  toApiJson() {
2699
2710
  const toReturn = {};
2700
2711
  if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
@@ -2704,17 +2715,17 @@ class CreateMeetingTypeRequest {
2704
2715
  }
2705
2716
  }
2706
2717
  class CreateMeetingTypeResponse {
2718
+ static fromProto(proto) {
2719
+ let m = new CreateMeetingTypeResponse();
2720
+ m = Object.assign(m, proto);
2721
+ return m;
2722
+ }
2707
2723
  constructor(kwargs) {
2708
2724
  if (!kwargs) {
2709
2725
  return;
2710
2726
  }
2711
2727
  Object.assign(this, kwargs);
2712
2728
  }
2713
- static fromProto(proto) {
2714
- let m = new CreateMeetingTypeResponse();
2715
- m = Object.assign(m, proto);
2716
- return m;
2717
- }
2718
2729
  toApiJson() {
2719
2730
  const toReturn = {};
2720
2731
  if (typeof this.id !== 'undefined') {
@@ -2741,17 +2752,17 @@ class DeleteAvailabilityRequest {
2741
2752
  }
2742
2753
  }
2743
2754
  class DeleteMeetingTypeRequest {
2755
+ static fromProto(proto) {
2756
+ let m = new DeleteMeetingTypeRequest();
2757
+ m = Object.assign(m, proto);
2758
+ return m;
2759
+ }
2744
2760
  constructor(kwargs) {
2745
2761
  if (!kwargs) {
2746
2762
  return;
2747
2763
  }
2748
2764
  Object.assign(this, kwargs);
2749
2765
  }
2750
- static fromProto(proto) {
2751
- let m = new DeleteMeetingTypeRequest();
2752
- m = Object.assign(m, proto);
2753
- return m;
2754
- }
2755
2766
  toApiJson() {
2756
2767
  const toReturn = {};
2757
2768
  if (typeof this.id !== 'undefined') {
@@ -2761,17 +2772,17 @@ class DeleteMeetingTypeRequest {
2761
2772
  }
2762
2773
  }
2763
2774
  class DoesCalendarExistRequest {
2775
+ static fromProto(proto) {
2776
+ let m = new DoesCalendarExistRequest();
2777
+ m = Object.assign(m, proto);
2778
+ return m;
2779
+ }
2764
2780
  constructor(kwargs) {
2765
2781
  if (!kwargs) {
2766
2782
  return;
2767
2783
  }
2768
2784
  Object.assign(this, kwargs);
2769
2785
  }
2770
- static fromProto(proto) {
2771
- let m = new DoesCalendarExistRequest();
2772
- m = Object.assign(m, proto);
2773
- return m;
2774
- }
2775
2786
  toApiJson() {
2776
2787
  const toReturn = {};
2777
2788
  if (typeof this.calendarIdentifier !== 'undefined') {
@@ -2781,17 +2792,17 @@ class DoesCalendarExistRequest {
2781
2792
  }
2782
2793
  }
2783
2794
  class DoesCalendarExistResponse {
2795
+ static fromProto(proto) {
2796
+ let m = new DoesCalendarExistResponse();
2797
+ m = Object.assign(m, proto);
2798
+ return m;
2799
+ }
2784
2800
  constructor(kwargs) {
2785
2801
  if (!kwargs) {
2786
2802
  return;
2787
2803
  }
2788
2804
  Object.assign(this, kwargs);
2789
2805
  }
2790
- static fromProto(proto) {
2791
- let m = new DoesCalendarExistResponse();
2792
- m = Object.assign(m, proto);
2793
- return m;
2794
- }
2795
2806
  toApiJson() {
2796
2807
  const toReturn = {};
2797
2808
  if (typeof this.exists !== 'undefined') {
@@ -2801,17 +2812,17 @@ class DoesCalendarExistResponse {
2801
2812
  }
2802
2813
  }
2803
2814
  class EnsureGroupCalendarsExistRequest {
2815
+ static fromProto(proto) {
2816
+ let m = new EnsureGroupCalendarsExistRequest();
2817
+ m = Object.assign(m, proto);
2818
+ return m;
2819
+ }
2804
2820
  constructor(kwargs) {
2805
2821
  if (!kwargs) {
2806
2822
  return;
2807
2823
  }
2808
2824
  Object.assign(this, kwargs);
2809
2825
  }
2810
- static fromProto(proto) {
2811
- let m = new EnsureGroupCalendarsExistRequest();
2812
- m = Object.assign(m, proto);
2813
- return m;
2814
- }
2815
2826
  toApiJson() {
2816
2827
  const toReturn = {};
2817
2828
  if (typeof this.externalIds !== 'undefined') {
@@ -2821,17 +2832,17 @@ class EnsureGroupCalendarsExistRequest {
2821
2832
  }
2822
2833
  }
2823
2834
  class EnsureGroupCalendarsExistResponse {
2835
+ static fromProto(proto) {
2836
+ let m = new EnsureGroupCalendarsExistResponse();
2837
+ m = Object.assign(m, proto);
2838
+ return m;
2839
+ }
2824
2840
  constructor(kwargs) {
2825
2841
  if (!kwargs) {
2826
2842
  return;
2827
2843
  }
2828
2844
  Object.assign(this, kwargs);
2829
2845
  }
2830
- static fromProto(proto) {
2831
- let m = new EnsureGroupCalendarsExistResponse();
2832
- m = Object.assign(m, proto);
2833
- return m;
2834
- }
2835
2846
  toApiJson() {
2836
2847
  const toReturn = {};
2837
2848
  if (typeof this.calendarIds !== 'undefined') {
@@ -2841,12 +2852,6 @@ class EnsureGroupCalendarsExistResponse {
2841
2852
  }
2842
2853
  }
2843
2854
  class EnsurePersonalCalendarExistsRequest {
2844
- constructor(kwargs) {
2845
- if (!kwargs) {
2846
- return;
2847
- }
2848
- Object.assign(this, kwargs);
2849
- }
2850
2855
  static fromProto(proto) {
2851
2856
  let m = new EnsurePersonalCalendarExistsRequest();
2852
2857
  m = Object.assign(m, proto);
@@ -2855,6 +2860,12 @@ class EnsurePersonalCalendarExistsRequest {
2855
2860
  }
2856
2861
  return m;
2857
2862
  }
2863
+ constructor(kwargs) {
2864
+ if (!kwargs) {
2865
+ return;
2866
+ }
2867
+ Object.assign(this, kwargs);
2868
+ }
2858
2869
  toApiJson() {
2859
2870
  const toReturn = {};
2860
2871
  if (typeof this.userId !== 'undefined') {
@@ -2867,55 +2878,26 @@ class EnsurePersonalCalendarExistsRequest {
2867
2878
  }
2868
2879
  }
2869
2880
  class EnsurePersonalCalendarExistsResponse {
2870
- constructor(kwargs) {
2871
- if (!kwargs) {
2872
- return;
2873
- }
2874
- Object.assign(this, kwargs);
2875
- }
2876
2881
  static fromProto(proto) {
2877
2882
  let m = new EnsurePersonalCalendarExistsResponse();
2878
2883
  m = Object.assign(m, proto);
2879
2884
  return m;
2880
2885
  }
2881
- toApiJson() {
2882
- const toReturn = {};
2883
- if (typeof this.calendarId !== 'undefined') {
2884
- toReturn['calendarId'] = this.calendarId;
2885
- }
2886
- return toReturn;
2887
- }
2888
- }
2889
- class ListAvailabilityRequestFilters {
2890
2886
  constructor(kwargs) {
2891
2887
  if (!kwargs) {
2892
2888
  return;
2893
2889
  }
2894
2890
  Object.assign(this, kwargs);
2895
2891
  }
2896
- static fromProto(proto) {
2897
- let m = new ListAvailabilityRequestFilters();
2898
- m = Object.assign(m, proto);
2899
- return m;
2900
- }
2901
2892
  toApiJson() {
2902
2893
  const toReturn = {};
2903
- if (typeof this.hostId !== 'undefined') {
2904
- toReturn['hostId'] = this.hostId;
2905
- }
2906
- if (typeof this.meetingTypeId !== 'undefined') {
2907
- toReturn['meetingTypeId'] = this.meetingTypeId;
2894
+ if (typeof this.calendarId !== 'undefined') {
2895
+ toReturn['calendarId'] = this.calendarId;
2908
2896
  }
2909
2897
  return toReturn;
2910
2898
  }
2911
2899
  }
2912
2900
  class ListBookedMeetingsRequestFilters {
2913
- constructor(kwargs) {
2914
- if (!kwargs) {
2915
- return;
2916
- }
2917
- Object.assign(this, kwargs);
2918
- }
2919
2901
  static fromProto(proto) {
2920
2902
  let m = new ListBookedMeetingsRequestFilters();
2921
2903
  m = Object.assign(m, proto);
@@ -2924,6 +2906,12 @@ class ListBookedMeetingsRequestFilters {
2924
2906
  }
2925
2907
  return m;
2926
2908
  }
2909
+ constructor(kwargs) {
2910
+ if (!kwargs) {
2911
+ return;
2912
+ }
2913
+ Object.assign(this, kwargs);
2914
+ }
2927
2915
  toApiJson() {
2928
2916
  const toReturn = {};
2929
2917
  if (typeof this.meetingTypeIds !== 'undefined') {
@@ -2938,18 +2926,41 @@ class ListBookedMeetingsRequestFilters {
2938
2926
  return toReturn;
2939
2927
  }
2940
2928
  }
2941
- class GetHostMeetingRequest {
2929
+ class ListAvailabilityRequestFilters {
2930
+ static fromProto(proto) {
2931
+ let m = new ListAvailabilityRequestFilters();
2932
+ m = Object.assign(m, proto);
2933
+ return m;
2934
+ }
2942
2935
  constructor(kwargs) {
2943
2936
  if (!kwargs) {
2944
2937
  return;
2945
2938
  }
2946
2939
  Object.assign(this, kwargs);
2947
2940
  }
2941
+ toApiJson() {
2942
+ const toReturn = {};
2943
+ if (typeof this.hostId !== 'undefined') {
2944
+ toReturn['hostId'] = this.hostId;
2945
+ }
2946
+ if (typeof this.meetingTypeId !== 'undefined') {
2947
+ toReturn['meetingTypeId'] = this.meetingTypeId;
2948
+ }
2949
+ return toReturn;
2950
+ }
2951
+ }
2952
+ class GetHostMeetingRequest {
2948
2953
  static fromProto(proto) {
2949
2954
  let m = new GetHostMeetingRequest();
2950
2955
  m = Object.assign(m, proto);
2951
2956
  return m;
2952
2957
  }
2958
+ constructor(kwargs) {
2959
+ if (!kwargs) {
2960
+ return;
2961
+ }
2962
+ Object.assign(this, kwargs);
2963
+ }
2953
2964
  toApiJson() {
2954
2965
  const toReturn = {};
2955
2966
  if (typeof this.meetingId !== 'undefined') {
@@ -2962,12 +2973,6 @@ class GetHostMeetingRequest {
2962
2973
  }
2963
2974
  }
2964
2975
  class GetHostMeetingResponse {
2965
- constructor(kwargs) {
2966
- if (!kwargs) {
2967
- return;
2968
- }
2969
- Object.assign(this, kwargs);
2970
- }
2971
2976
  static fromProto(proto) {
2972
2977
  let m = new GetHostMeetingResponse();
2973
2978
  m = Object.assign(m, proto);
@@ -2976,6 +2981,12 @@ class GetHostMeetingResponse {
2976
2981
  }
2977
2982
  return m;
2978
2983
  }
2984
+ constructor(kwargs) {
2985
+ if (!kwargs) {
2986
+ return;
2987
+ }
2988
+ Object.assign(this, kwargs);
2989
+ }
2979
2990
  toApiJson() {
2980
2991
  const toReturn = {};
2981
2992
  if (typeof this.meeting !== 'undefined' && this.meeting !== null) {
@@ -2985,17 +2996,17 @@ class GetHostMeetingResponse {
2985
2996
  }
2986
2997
  }
2987
2998
  class GetHostPreferencesRequest {
2999
+ static fromProto(proto) {
3000
+ let m = new GetHostPreferencesRequest();
3001
+ m = Object.assign(m, proto);
3002
+ return m;
3003
+ }
2988
3004
  constructor(kwargs) {
2989
3005
  if (!kwargs) {
2990
3006
  return;
2991
3007
  }
2992
3008
  Object.assign(this, kwargs);
2993
3009
  }
2994
- static fromProto(proto) {
2995
- let m = new GetHostPreferencesRequest();
2996
- m = Object.assign(m, proto);
2997
- return m;
2998
- }
2999
3010
  toApiJson() {
3000
3011
  const toReturn = {};
3001
3012
  if (typeof this.hostId !== 'undefined') {
@@ -3005,12 +3016,6 @@ class GetHostPreferencesRequest {
3005
3016
  }
3006
3017
  }
3007
3018
  class GetHostPreferencesResponse {
3008
- constructor(kwargs) {
3009
- if (!kwargs) {
3010
- return;
3011
- }
3012
- Object.assign(this, kwargs);
3013
- }
3014
3019
  static fromProto(proto) {
3015
3020
  let m = new GetHostPreferencesResponse();
3016
3021
  m = Object.assign(m, proto);
@@ -3019,6 +3024,12 @@ class GetHostPreferencesResponse {
3019
3024
  }
3020
3025
  return m;
3021
3026
  }
3027
+ constructor(kwargs) {
3028
+ if (!kwargs) {
3029
+ return;
3030
+ }
3031
+ Object.assign(this, kwargs);
3032
+ }
3022
3033
  toApiJson() {
3023
3034
  const toReturn = {};
3024
3035
  if (typeof this.preferences !== 'undefined' && this.preferences !== null) {
@@ -3028,17 +3039,17 @@ class GetHostPreferencesResponse {
3028
3039
  }
3029
3040
  }
3030
3041
  class GetHostsForCalendarRequest {
3042
+ static fromProto(proto) {
3043
+ let m = new GetHostsForCalendarRequest();
3044
+ m = Object.assign(m, proto);
3045
+ return m;
3046
+ }
3031
3047
  constructor(kwargs) {
3032
3048
  if (!kwargs) {
3033
3049
  return;
3034
3050
  }
3035
3051
  Object.assign(this, kwargs);
3036
3052
  }
3037
- static fromProto(proto) {
3038
- let m = new GetHostsForCalendarRequest();
3039
- m = Object.assign(m, proto);
3040
- return m;
3041
- }
3042
3053
  toApiJson() {
3043
3054
  const toReturn = {};
3044
3055
  if (typeof this.calendarId !== 'undefined') {
@@ -3048,12 +3059,6 @@ class GetHostsForCalendarRequest {
3048
3059
  }
3049
3060
  }
3050
3061
  class GetHostsForCalendarResponse {
3051
- constructor(kwargs) {
3052
- if (!kwargs) {
3053
- return;
3054
- }
3055
- Object.assign(this, kwargs);
3056
- }
3057
3062
  static fromProto(proto) {
3058
3063
  let m = new GetHostsForCalendarResponse();
3059
3064
  m = Object.assign(m, proto);
@@ -3062,6 +3067,12 @@ class GetHostsForCalendarResponse {
3062
3067
  }
3063
3068
  return m;
3064
3069
  }
3070
+ constructor(kwargs) {
3071
+ if (!kwargs) {
3072
+ return;
3073
+ }
3074
+ Object.assign(this, kwargs);
3075
+ }
3065
3076
  toApiJson() {
3066
3077
  const toReturn = {};
3067
3078
  if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
@@ -3071,17 +3082,17 @@ class GetHostsForCalendarResponse {
3071
3082
  }
3072
3083
  }
3073
3084
  class GetMeetingTypesForCalendarsRequest {
3085
+ static fromProto(proto) {
3086
+ let m = new GetMeetingTypesForCalendarsRequest();
3087
+ m = Object.assign(m, proto);
3088
+ return m;
3089
+ }
3074
3090
  constructor(kwargs) {
3075
3091
  if (!kwargs) {
3076
3092
  return;
3077
3093
  }
3078
3094
  Object.assign(this, kwargs);
3079
3095
  }
3080
- static fromProto(proto) {
3081
- let m = new GetMeetingTypesForCalendarsRequest();
3082
- m = Object.assign(m, proto);
3083
- return m;
3084
- }
3085
3096
  toApiJson() {
3086
3097
  const toReturn = {};
3087
3098
  if (typeof this.calendarIds !== 'undefined') {
@@ -3091,12 +3102,6 @@ class GetMeetingTypesForCalendarsRequest {
3091
3102
  }
3092
3103
  }
3093
3104
  class GetMeetingTypesForCalendarsResponse {
3094
- constructor(kwargs) {
3095
- if (!kwargs) {
3096
- return;
3097
- }
3098
- Object.assign(this, kwargs);
3099
- }
3100
3105
  static fromProto(proto) {
3101
3106
  let m = new GetMeetingTypesForCalendarsResponse();
3102
3107
  m = Object.assign(m, proto);
@@ -3105,6 +3110,12 @@ class GetMeetingTypesForCalendarsResponse {
3105
3110
  }
3106
3111
  return m;
3107
3112
  }
3113
+ constructor(kwargs) {
3114
+ if (!kwargs) {
3115
+ return;
3116
+ }
3117
+ Object.assign(this, kwargs);
3118
+ }
3108
3119
  toApiJson() {
3109
3120
  const toReturn = {};
3110
3121
  if (typeof this.calendarMeetingTypesMap !== 'undefined' && this.calendarMeetingTypesMap !== null) {
@@ -3114,17 +3125,11 @@ class GetMeetingTypesForCalendarsResponse {
3114
3125
  }
3115
3126
  }
3116
3127
  class HostBookMeetingRequest {
3117
- constructor(kwargs) {
3118
- if (!kwargs) {
3119
- return;
3120
- }
3121
- Object.assign(this, kwargs);
3122
- }
3123
3128
  static fromProto(proto) {
3124
3129
  let m = new HostBookMeetingRequest();
3125
3130
  m = Object.assign(m, proto);
3126
3131
  if (proto.meetingSource) {
3127
- m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
3132
+ m.meetingSource = enumStringToValue$2(MeetingSource, proto.meetingSource);
3128
3133
  }
3129
3134
  if (proto.timeSlot) {
3130
3135
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
@@ -3134,6 +3139,12 @@ class HostBookMeetingRequest {
3134
3139
  }
3135
3140
  return m;
3136
3141
  }
3142
+ constructor(kwargs) {
3143
+ if (!kwargs) {
3144
+ return;
3145
+ }
3146
+ Object.assign(this, kwargs);
3147
+ }
3137
3148
  toApiJson() {
3138
3149
  const toReturn = {};
3139
3150
  if (typeof this.meetingSource !== 'undefined') {
@@ -3158,17 +3169,17 @@ class HostBookMeetingRequest {
3158
3169
  }
3159
3170
  }
3160
3171
  class HostBookMeetingResponse {
3172
+ static fromProto(proto) {
3173
+ let m = new HostBookMeetingResponse();
3174
+ m = Object.assign(m, proto);
3175
+ return m;
3176
+ }
3161
3177
  constructor(kwargs) {
3162
3178
  if (!kwargs) {
3163
3179
  return;
3164
3180
  }
3165
3181
  Object.assign(this, kwargs);
3166
3182
  }
3167
- static fromProto(proto) {
3168
- let m = new HostBookMeetingResponse();
3169
- m = Object.assign(m, proto);
3170
- return m;
3171
- }
3172
3183
  toApiJson() {
3173
3184
  const toReturn = {};
3174
3185
  if (typeof this.meetingId !== 'undefined') {
@@ -3178,17 +3189,17 @@ class HostBookMeetingResponse {
3178
3189
  }
3179
3190
  }
3180
3191
  class HostGetCalendarRequest {
3192
+ static fromProto(proto) {
3193
+ let m = new HostGetCalendarRequest();
3194
+ m = Object.assign(m, proto);
3195
+ return m;
3196
+ }
3181
3197
  constructor(kwargs) {
3182
3198
  if (!kwargs) {
3183
3199
  return;
3184
3200
  }
3185
3201
  Object.assign(this, kwargs);
3186
3202
  }
3187
- static fromProto(proto) {
3188
- let m = new HostGetCalendarRequest();
3189
- m = Object.assign(m, proto);
3190
- return m;
3191
- }
3192
3203
  toApiJson() {
3193
3204
  const toReturn = {};
3194
3205
  if (typeof this.calendarId !== 'undefined') {
@@ -3198,12 +3209,6 @@ class HostGetCalendarRequest {
3198
3209
  }
3199
3210
  }
3200
3211
  class HostGetCalendarResponse {
3201
- constructor(kwargs) {
3202
- if (!kwargs) {
3203
- return;
3204
- }
3205
- Object.assign(this, kwargs);
3206
- }
3207
3212
  static fromProto(proto) {
3208
3213
  let m = new HostGetCalendarResponse();
3209
3214
  m = Object.assign(m, proto);
@@ -3212,6 +3217,12 @@ class HostGetCalendarResponse {
3212
3217
  }
3213
3218
  return m;
3214
3219
  }
3220
+ constructor(kwargs) {
3221
+ if (!kwargs) {
3222
+ return;
3223
+ }
3224
+ Object.assign(this, kwargs);
3225
+ }
3215
3226
  toApiJson() {
3216
3227
  const toReturn = {};
3217
3228
  if (typeof this.calendar !== 'undefined' && this.calendar !== null) {
@@ -3221,17 +3232,17 @@ class HostGetCalendarResponse {
3221
3232
  }
3222
3233
  }
3223
3234
  class HostGetMeetingTypeRequest {
3235
+ static fromProto(proto) {
3236
+ let m = new HostGetMeetingTypeRequest();
3237
+ m = Object.assign(m, proto);
3238
+ return m;
3239
+ }
3224
3240
  constructor(kwargs) {
3225
3241
  if (!kwargs) {
3226
3242
  return;
3227
3243
  }
3228
3244
  Object.assign(this, kwargs);
3229
3245
  }
3230
- static fromProto(proto) {
3231
- let m = new HostGetMeetingTypeRequest();
3232
- m = Object.assign(m, proto);
3233
- return m;
3234
- }
3235
3246
  toApiJson() {
3236
3247
  const toReturn = {};
3237
3248
  if (typeof this.calendarSlug !== 'undefined') {
@@ -3244,12 +3255,6 @@ class HostGetMeetingTypeRequest {
3244
3255
  }
3245
3256
  }
3246
3257
  class HostGetMeetingTypeResponse {
3247
- constructor(kwargs) {
3248
- if (!kwargs) {
3249
- return;
3250
- }
3251
- Object.assign(this, kwargs);
3252
- }
3253
3258
  static fromProto(proto) {
3254
3259
  let m = new HostGetMeetingTypeResponse();
3255
3260
  m = Object.assign(m, proto);
@@ -3258,6 +3263,12 @@ class HostGetMeetingTypeResponse {
3258
3263
  }
3259
3264
  return m;
3260
3265
  }
3266
+ constructor(kwargs) {
3267
+ if (!kwargs) {
3268
+ return;
3269
+ }
3270
+ Object.assign(this, kwargs);
3271
+ }
3261
3272
  toApiJson() {
3262
3273
  const toReturn = {};
3263
3274
  if (typeof this.meetingType !== 'undefined' && this.meetingType !== null) {
@@ -3267,17 +3278,17 @@ class HostGetMeetingTypeResponse {
3267
3278
  }
3268
3279
  }
3269
3280
  class HostListMeetingTypesRequest {
3281
+ static fromProto(proto) {
3282
+ let m = new HostListMeetingTypesRequest();
3283
+ m = Object.assign(m, proto);
3284
+ return m;
3285
+ }
3270
3286
  constructor(kwargs) {
3271
3287
  if (!kwargs) {
3272
3288
  return;
3273
3289
  }
3274
3290
  Object.assign(this, kwargs);
3275
3291
  }
3276
- static fromProto(proto) {
3277
- let m = new HostListMeetingTypesRequest();
3278
- m = Object.assign(m, proto);
3279
- return m;
3280
- }
3281
3292
  toApiJson() {
3282
3293
  const toReturn = {};
3283
3294
  if (typeof this.hostId !== 'undefined') {
@@ -3287,12 +3298,6 @@ class HostListMeetingTypesRequest {
3287
3298
  }
3288
3299
  }
3289
3300
  class HostListMeetingTypesResponse {
3290
- constructor(kwargs) {
3291
- if (!kwargs) {
3292
- return;
3293
- }
3294
- Object.assign(this, kwargs);
3295
- }
3296
3301
  static fromProto(proto) {
3297
3302
  let m = new HostListMeetingTypesResponse();
3298
3303
  m = Object.assign(m, proto);
@@ -3301,6 +3306,12 @@ class HostListMeetingTypesResponse {
3301
3306
  }
3302
3307
  return m;
3303
3308
  }
3309
+ constructor(kwargs) {
3310
+ if (!kwargs) {
3311
+ return;
3312
+ }
3313
+ Object.assign(this, kwargs);
3314
+ }
3304
3315
  toApiJson() {
3305
3316
  const toReturn = {};
3306
3317
  if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
@@ -3310,17 +3321,17 @@ class HostListMeetingTypesResponse {
3310
3321
  }
3311
3322
  }
3312
3323
  class IsHostConfiguredRequest {
3324
+ static fromProto(proto) {
3325
+ let m = new IsHostConfiguredRequest();
3326
+ m = Object.assign(m, proto);
3327
+ return m;
3328
+ }
3313
3329
  constructor(kwargs) {
3314
3330
  if (!kwargs) {
3315
3331
  return;
3316
3332
  }
3317
3333
  Object.assign(this, kwargs);
3318
3334
  }
3319
- static fromProto(proto) {
3320
- let m = new IsHostConfiguredRequest();
3321
- m = Object.assign(m, proto);
3322
- return m;
3323
- }
3324
3335
  toApiJson() {
3325
3336
  const toReturn = {};
3326
3337
  if (typeof this.hostId !== 'undefined') {
@@ -3330,17 +3341,17 @@ class IsHostConfiguredRequest {
3330
3341
  }
3331
3342
  }
3332
3343
  class IsHostConfiguredResponse {
3344
+ static fromProto(proto) {
3345
+ let m = new IsHostConfiguredResponse();
3346
+ m = Object.assign(m, proto);
3347
+ return m;
3348
+ }
3333
3349
  constructor(kwargs) {
3334
3350
  if (!kwargs) {
3335
3351
  return;
3336
3352
  }
3337
3353
  Object.assign(this, kwargs);
3338
3354
  }
3339
- static fromProto(proto) {
3340
- let m = new IsHostConfiguredResponse();
3341
- m = Object.assign(m, proto);
3342
- return m;
3343
- }
3344
3355
  toApiJson() {
3345
3356
  const toReturn = {};
3346
3357
  if (typeof this.isConfigured !== 'undefined') {
@@ -3350,12 +3361,6 @@ class IsHostConfiguredResponse {
3350
3361
  }
3351
3362
  }
3352
3363
  class ListAvailabilityRequest {
3353
- constructor(kwargs) {
3354
- if (!kwargs) {
3355
- return;
3356
- }
3357
- Object.assign(this, kwargs);
3358
- }
3359
3364
  static fromProto(proto) {
3360
3365
  let m = new ListAvailabilityRequest();
3361
3366
  m = Object.assign(m, proto);
@@ -3370,6 +3375,12 @@ class ListAvailabilityRequest {
3370
3375
  }
3371
3376
  return m;
3372
3377
  }
3378
+ constructor(kwargs) {
3379
+ if (!kwargs) {
3380
+ return;
3381
+ }
3382
+ Object.assign(this, kwargs);
3383
+ }
3373
3384
  toApiJson() {
3374
3385
  const toReturn = {};
3375
3386
  if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
@@ -3385,12 +3396,6 @@ class ListAvailabilityRequest {
3385
3396
  }
3386
3397
  }
3387
3398
  class ListAvailabilityResponse {
3388
- constructor(kwargs) {
3389
- if (!kwargs) {
3390
- return;
3391
- }
3392
- Object.assign(this, kwargs);
3393
- }
3394
3399
  static fromProto(proto) {
3395
3400
  let m = new ListAvailabilityResponse();
3396
3401
  m = Object.assign(m, proto);
@@ -3402,6 +3407,12 @@ class ListAvailabilityResponse {
3402
3407
  }
3403
3408
  return m;
3404
3409
  }
3410
+ constructor(kwargs) {
3411
+ if (!kwargs) {
3412
+ return;
3413
+ }
3414
+ Object.assign(this, kwargs);
3415
+ }
3405
3416
  toApiJson() {
3406
3417
  const toReturn = {};
3407
3418
  if (typeof this.availabilityRules !== 'undefined' && this.availabilityRules !== null) {
@@ -3414,12 +3425,6 @@ class ListAvailabilityResponse {
3414
3425
  }
3415
3426
  }
3416
3427
  class ListBookedMeetingsRequest {
3417
- constructor(kwargs) {
3418
- if (!kwargs) {
3419
- return;
3420
- }
3421
- Object.assign(this, kwargs);
3422
- }
3423
3428
  static fromProto(proto) {
3424
3429
  let m = new ListBookedMeetingsRequest();
3425
3430
  m = Object.assign(m, proto);
@@ -3434,6 +3439,12 @@ class ListBookedMeetingsRequest {
3434
3439
  }
3435
3440
  return m;
3436
3441
  }
3442
+ constructor(kwargs) {
3443
+ if (!kwargs) {
3444
+ return;
3445
+ }
3446
+ Object.assign(this, kwargs);
3447
+ }
3437
3448
  toApiJson() {
3438
3449
  const toReturn = {};
3439
3450
  if (typeof this.filters !== 'undefined' && this.filters !== null) {
@@ -3449,12 +3460,6 @@ class ListBookedMeetingsRequest {
3449
3460
  }
3450
3461
  }
3451
3462
  class ListBookedMeetingsResponse {
3452
- constructor(kwargs) {
3453
- if (!kwargs) {
3454
- return;
3455
- }
3456
- Object.assign(this, kwargs);
3457
- }
3458
3463
  static fromProto(proto) {
3459
3464
  let m = new ListBookedMeetingsResponse();
3460
3465
  m = Object.assign(m, proto);
@@ -3466,6 +3471,12 @@ class ListBookedMeetingsResponse {
3466
3471
  }
3467
3472
  return m;
3468
3473
  }
3474
+ constructor(kwargs) {
3475
+ if (!kwargs) {
3476
+ return;
3477
+ }
3478
+ Object.assign(this, kwargs);
3479
+ }
3469
3480
  toApiJson() {
3470
3481
  const toReturn = {};
3471
3482
  if (typeof this.meetings !== 'undefined' && this.meetings !== null) {
@@ -3478,12 +3489,6 @@ class ListBookedMeetingsResponse {
3478
3489
  }
3479
3490
  }
3480
3491
  class Meeting {
3481
- constructor(kwargs) {
3482
- if (!kwargs) {
3483
- return;
3484
- }
3485
- Object.assign(this, kwargs);
3486
- }
3487
3492
  static fromProto(proto) {
3488
3493
  let m = new Meeting();
3489
3494
  m = Object.assign(m, proto);
@@ -3511,7 +3516,13 @@ class Meeting {
3511
3516
  if (proto.attachments) {
3512
3517
  m.attachments = proto.attachments.map(Attachment.fromProto);
3513
3518
  }
3514
- return m;
3519
+ return m;
3520
+ }
3521
+ constructor(kwargs) {
3522
+ if (!kwargs) {
3523
+ return;
3524
+ }
3525
+ Object.assign(this, kwargs);
3515
3526
  }
3516
3527
  toApiJson() {
3517
3528
  const toReturn = {};
@@ -3561,12 +3572,6 @@ class Meeting {
3561
3572
  }
3562
3573
  }
3563
3574
  class MeetingTypeList {
3564
- constructor(kwargs) {
3565
- if (!kwargs) {
3566
- return;
3567
- }
3568
- Object.assign(this, kwargs);
3569
- }
3570
3575
  static fromProto(proto) {
3571
3576
  let m = new MeetingTypeList();
3572
3577
  m = Object.assign(m, proto);
@@ -3575,6 +3580,12 @@ class MeetingTypeList {
3575
3580
  }
3576
3581
  return m;
3577
3582
  }
3583
+ constructor(kwargs) {
3584
+ if (!kwargs) {
3585
+ return;
3586
+ }
3587
+ Object.assign(this, kwargs);
3588
+ }
3578
3589
  toApiJson() {
3579
3590
  const toReturn = {};
3580
3591
  if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
@@ -3584,17 +3595,17 @@ class MeetingTypeList {
3584
3595
  }
3585
3596
  }
3586
3597
  class MeetingMetadataEntry {
3598
+ static fromProto(proto) {
3599
+ let m = new MeetingMetadataEntry();
3600
+ m = Object.assign(m, proto);
3601
+ return m;
3602
+ }
3587
3603
  constructor(kwargs) {
3588
3604
  if (!kwargs) {
3589
3605
  return;
3590
3606
  }
3591
3607
  Object.assign(this, kwargs);
3592
3608
  }
3593
- static fromProto(proto) {
3594
- let m = new MeetingMetadataEntry();
3595
- m = Object.assign(m, proto);
3596
- return m;
3597
- }
3598
3609
  toApiJson() {
3599
3610
  const toReturn = {};
3600
3611
  if (typeof this.key !== 'undefined') {
@@ -3607,17 +3618,17 @@ class MeetingMetadataEntry {
3607
3618
  }
3608
3619
  }
3609
3620
  class UpdateMeetingMetadataRequestMetadataEntry {
3621
+ static fromProto(proto) {
3622
+ let m = new UpdateMeetingMetadataRequestMetadataEntry();
3623
+ m = Object.assign(m, proto);
3624
+ return m;
3625
+ }
3610
3626
  constructor(kwargs) {
3611
3627
  if (!kwargs) {
3612
3628
  return;
3613
3629
  }
3614
3630
  Object.assign(this, kwargs);
3615
3631
  }
3616
- static fromProto(proto) {
3617
- let m = new UpdateMeetingMetadataRequestMetadataEntry();
3618
- m = Object.assign(m, proto);
3619
- return m;
3620
- }
3621
3632
  toApiJson() {
3622
3633
  const toReturn = {};
3623
3634
  if (typeof this.key !== 'undefined') {
@@ -3630,12 +3641,6 @@ class UpdateMeetingMetadataRequestMetadataEntry {
3630
3641
  }
3631
3642
  }
3632
3643
  class RescheduleMeetingRequest {
3633
- constructor(kwargs) {
3634
- if (!kwargs) {
3635
- return;
3636
- }
3637
- Object.assign(this, kwargs);
3638
- }
3639
3644
  static fromProto(proto) {
3640
3645
  let m = new RescheduleMeetingRequest();
3641
3646
  m = Object.assign(m, proto);
@@ -3644,6 +3649,12 @@ class RescheduleMeetingRequest {
3644
3649
  }
3645
3650
  return m;
3646
3651
  }
3652
+ constructor(kwargs) {
3653
+ if (!kwargs) {
3654
+ return;
3655
+ }
3656
+ Object.assign(this, kwargs);
3657
+ }
3647
3658
  toApiJson() {
3648
3659
  const toReturn = {};
3649
3660
  if (typeof this.meetingId !== 'undefined') {
@@ -3656,17 +3667,11 @@ class RescheduleMeetingRequest {
3656
3667
  }
3657
3668
  }
3658
3669
  class SetGeneralAvailabilityRequest {
3659
- constructor(kwargs) {
3660
- if (!kwargs) {
3661
- return;
3662
- }
3663
- Object.assign(this, kwargs);
3664
- }
3665
3670
  static fromProto(proto) {
3666
3671
  let m = new SetGeneralAvailabilityRequest();
3667
3672
  m = Object.assign(m, proto);
3668
3673
  if (proto.days) {
3669
- m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
3674
+ m.days = proto.days.map((v) => enumStringToValue$2(DayOfWeek, v));
3670
3675
  }
3671
3676
  if (proto.timeSlot) {
3672
3677
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -3679,6 +3684,12 @@ class SetGeneralAvailabilityRequest {
3679
3684
  }
3680
3685
  return m;
3681
3686
  }
3687
+ constructor(kwargs) {
3688
+ if (!kwargs) {
3689
+ return;
3690
+ }
3691
+ Object.assign(this, kwargs);
3692
+ }
3682
3693
  toApiJson() {
3683
3694
  const toReturn = {};
3684
3695
  if (typeof this.hostId !== 'undefined') {
@@ -3720,12 +3731,6 @@ class UpdateAvailabilityRequest {
3720
3731
  }
3721
3732
  }
3722
3733
  class UpdateCalendarRequest {
3723
- constructor(kwargs) {
3724
- if (!kwargs) {
3725
- return;
3726
- }
3727
- Object.assign(this, kwargs);
3728
- }
3729
3734
  static fromProto(proto) {
3730
3735
  let m = new UpdateCalendarRequest();
3731
3736
  m = Object.assign(m, proto);
@@ -3737,6 +3742,12 @@ class UpdateCalendarRequest {
3737
3742
  }
3738
3743
  return m;
3739
3744
  }
3745
+ constructor(kwargs) {
3746
+ if (!kwargs) {
3747
+ return;
3748
+ }
3749
+ Object.assign(this, kwargs);
3750
+ }
3740
3751
  toApiJson() {
3741
3752
  const toReturn = {};
3742
3753
  if (typeof this.calendarId !== 'undefined') {
@@ -3752,12 +3763,6 @@ class UpdateCalendarRequest {
3752
3763
  }
3753
3764
  }
3754
3765
  class UpdateHostPreferencesRequest {
3755
- constructor(kwargs) {
3756
- if (!kwargs) {
3757
- return;
3758
- }
3759
- Object.assign(this, kwargs);
3760
- }
3761
3766
  static fromProto(proto) {
3762
3767
  let m = new UpdateHostPreferencesRequest();
3763
3768
  m = Object.assign(m, proto);
@@ -3769,6 +3774,12 @@ class UpdateHostPreferencesRequest {
3769
3774
  }
3770
3775
  return m;
3771
3776
  }
3777
+ constructor(kwargs) {
3778
+ if (!kwargs) {
3779
+ return;
3780
+ }
3781
+ Object.assign(this, kwargs);
3782
+ }
3772
3783
  toApiJson() {
3773
3784
  const toReturn = {};
3774
3785
  if (typeof this.hostId !== 'undefined') {
@@ -3784,12 +3795,6 @@ class UpdateHostPreferencesRequest {
3784
3795
  }
3785
3796
  }
3786
3797
  class UpdateMeetingMetadataRequest {
3787
- constructor(kwargs) {
3788
- if (!kwargs) {
3789
- return;
3790
- }
3791
- Object.assign(this, kwargs);
3792
- }
3793
3798
  static fromProto(proto) {
3794
3799
  let m = new UpdateMeetingMetadataRequest();
3795
3800
  m = Object.assign(m, proto);
@@ -3798,6 +3803,12 @@ class UpdateMeetingMetadataRequest {
3798
3803
  }
3799
3804
  return m;
3800
3805
  }
3806
+ constructor(kwargs) {
3807
+ if (!kwargs) {
3808
+ return;
3809
+ }
3810
+ Object.assign(this, kwargs);
3811
+ }
3801
3812
  toApiJson() {
3802
3813
  const toReturn = {};
3803
3814
  if (typeof this.meetingId !== 'undefined') {
@@ -3810,12 +3821,6 @@ class UpdateMeetingMetadataRequest {
3810
3821
  }
3811
3822
  }
3812
3823
  class UpdateMeetingTypeRequest {
3813
- constructor(kwargs) {
3814
- if (!kwargs) {
3815
- return;
3816
- }
3817
- Object.assign(this, kwargs);
3818
- }
3819
3824
  static fromProto(proto) {
3820
3825
  let m = new UpdateMeetingTypeRequest();
3821
3826
  m = Object.assign(m, proto);
@@ -3827,6 +3832,12 @@ class UpdateMeetingTypeRequest {
3827
3832
  }
3828
3833
  return m;
3829
3834
  }
3835
+ constructor(kwargs) {
3836
+ if (!kwargs) {
3837
+ return;
3838
+ }
3839
+ Object.assign(this, kwargs);
3840
+ }
3830
3841
  toApiJson() {
3831
3842
  const toReturn = {};
3832
3843
  if (typeof this.id !== 'undefined') {
@@ -3842,23 +3853,23 @@ class UpdateMeetingTypeRequest {
3842
3853
  }
3843
3854
  }
3844
3855
  class WeekdayAvailability {
3845
- constructor(kwargs) {
3846
- if (!kwargs) {
3847
- return;
3848
- }
3849
- Object.assign(this, kwargs);
3850
- }
3851
3856
  static fromProto(proto) {
3852
3857
  let m = new WeekdayAvailability();
3853
3858
  m = Object.assign(m, proto);
3854
3859
  if (proto.day) {
3855
- m.day = enumStringToValue(DayOfWeek, proto.day);
3860
+ m.day = enumStringToValue$2(DayOfWeek, proto.day);
3856
3861
  }
3857
3862
  if (proto.timeSlots) {
3858
3863
  m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
3859
3864
  }
3860
3865
  return m;
3861
3866
  }
3867
+ constructor(kwargs) {
3868
+ if (!kwargs) {
3869
+ return;
3870
+ }
3871
+ Object.assign(this, kwargs);
3872
+ }
3862
3873
  toApiJson() {
3863
3874
  const toReturn = {};
3864
3875
  if (typeof this.day !== 'undefined') {
@@ -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;
@@ -3882,26 +4023,26 @@ const hostMap = {
3882
4023
  'prod': 'meetings-prod.apigateway.co',
3883
4024
  'production': 'meetings-prod.apigateway.co',
3884
4025
  };
3885
- class HostService$1 {
4026
+ let HostService$1 = class HostService {
3886
4027
  get host() {
3887
4028
  return hostMap[environment.toLowerCase()];
3888
4029
  }
3889
4030
  get hostWithScheme() {
3890
4031
  return 'https://' + this.host;
3891
4032
  }
3892
- }
3893
- HostService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService$1, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3894
- HostService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService$1, providedIn: 'root' });
3895
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService$1, decorators: [{
4033
+ };
4034
+ HostService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService$1, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4035
+ HostService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService$1, providedIn: 'root' });
4036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService$1, decorators: [{
3896
4037
  type: Injectable,
3897
4038
  args: [{ providedIn: 'root' }]
3898
4039
  }] });
3899
4040
 
3900
4041
  // *********************************
3901
4042
  class MeetingSourceAPIApiService {
3902
- constructor(http, hostService) {
3903
- this.http = http;
3904
- this.hostService = hostService;
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: "13.3.1", ngImport: i0, type: MeetingSourceAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
3922
- MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
3923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4062
+ MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4063
+ MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
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
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4067
+ }] });
3927
4068
 
3928
4069
  // *********************************
3929
4070
  class ZoomApiService {
3930
- constructor(http, hostService) {
3931
- this.http = http;
3932
- this.hostService = hostService;
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: "13.3.1", ngImport: i0, type: ZoomApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
3950
- ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
3951
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ZoomApiService, decorators: [{
4090
+ ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4091
+ ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
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
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4095
+ }] });
3955
4096
 
3956
4097
  // *********************************
3957
4098
  class GoogleMeetApiService {
3958
- constructor(http, hostService) {
3959
- this.http = http;
3960
- this.hostService = hostService;
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: "13.3.1", ngImport: i0, type: GoogleMeetApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
3978
- GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
3979
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4118
+ GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4119
+ GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
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
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4123
+ }] });
3983
4124
 
3984
4125
  function generateMeetingPassword() {
3985
4126
  const zoomMaxLength = 10;
@@ -4077,9 +4218,9 @@ class MeetingsService {
4077
4218
  return this.meet.createMeeting(req);
4078
4219
  }
4079
4220
  }
4080
- MeetingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingsService, deps: [{ token: MeetingSourceAPIApiService }, { token: ZoomApiService }, { token: GoogleMeetApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4081
- MeetingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingsService, providedIn: 'root' });
4082
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingsService, decorators: [{
4221
+ MeetingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingsService, deps: [{ token: MeetingSourceAPIApiService }, { token: ZoomApiService }, { token: GoogleMeetApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4222
+ MeetingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingsService, providedIn: 'root' });
4223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingsService, decorators: [{
4083
4224
  type: Injectable,
4084
4225
  args: [{ providedIn: 'root' }]
4085
4226
  }], ctorParameters: function () { return [{ type: MeetingSourceAPIApiService }, { type: ZoomApiService }, { type: GoogleMeetApiService }]; } });
@@ -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(http, hostService) {
4357
- this.http = http;
4358
- this.hostService = hostService;
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: "13.3.1", ngImport: i0, type: MeetingGuestApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4419
- MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
4420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingGuestApiService, decorators: [{
4587
+ MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4588
+ MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
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
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4592
+ }] });
4424
4593
 
4425
4594
  // *********************************
4426
4595
  class MeetingHostApiService {
4427
- constructor(http, hostService) {
4428
- this.http = http;
4429
- this.hostService = hostService;
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: "13.3.1", ngImport: i0, type: MeetingHostApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
4576
- MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
4577
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: MeetingHostApiService, decorators: [{
4744
+ MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4745
+ MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
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
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4749
+ }] });
4581
4750
 
4582
4751
  // *********************************
4583
4752
 
@@ -4762,9 +4931,9 @@ class GuestService {
4762
4931
  return this.guestAPIService.isHostConfigured(req).pipe(map((resp) => resp.isConfigured));
4763
4932
  }
4764
4933
  }
4765
- GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4766
- GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: GuestService, providedIn: 'root' });
4767
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: GuestService, decorators: [{
4934
+ GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4935
+ GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });
4936
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, decorators: [{
4768
4937
  type: Injectable,
4769
4938
  args: [{ providedIn: 'root' }]
4770
4939
  }], ctorParameters: function () { return [{ type: MeetingGuestApiService }]; } });
@@ -5035,16 +5204,33 @@ class HostService {
5035
5204
  }));
5036
5205
  }
5037
5206
  }
5038
- HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
5039
- HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService, providedIn: 'root' });
5040
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: HostService, decorators: [{
5207
+ HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
5208
+ HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
5209
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, decorators: [{
5041
5210
  type: Injectable,
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, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
5050
5236
  //# sourceMappingURL=vendasta-meetings.mjs.map