@vendasta/meetings 1.5.1 → 1.5.4

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 (45) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +2 -1
  2. package/esm2020/lib/_internal/enums/meeting-guest.enum.mjs +11 -0
  3. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  4. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -7
  6. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/meeting-external.api.service.mjs +33 -8
  10. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +14 -8
  11. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  12. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  13. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  14. package/esm2020/lib/_internal/objects/meeting-external.mjs +431 -1
  15. package/esm2020/lib/_internal/objects/meeting-guest.mjs +54 -5
  16. package/esm2020/lib/_internal/objects/meeting-host.mjs +12 -12
  17. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  18. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  19. package/esm2020/lib/guest/guest.service.mjs +4 -1
  20. package/esm2020/lib/index.mjs +3 -3
  21. package/fesm2015/vendasta-meetings.mjs +768 -248
  22. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  23. package/fesm2020/vendasta-meetings.mjs +768 -248
  24. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  25. package/lib/_internal/enums/index.d.ts +1 -0
  26. package/lib/_internal/enums/meeting-guest.enum.d.ts +3 -0
  27. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  28. package/lib/_internal/interfaces/index.d.ts +3 -3
  29. package/lib/_internal/interfaces/meeting-external.interface.d.ts +88 -0
  30. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +10 -1
  31. package/lib/_internal/interfaces/meeting-host.interface.d.ts +6 -6
  32. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  33. package/lib/_internal/meeting-external.api.service.d.ts +12 -4
  34. package/lib/_internal/meeting-guest.api.service.d.ts +8 -5
  35. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  36. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  37. package/lib/_internal/objects/index.d.ts +3 -3
  38. package/lib/_internal/objects/meeting-external.d.ts +121 -0
  39. package/lib/_internal/objects/meeting-guest.d.ts +15 -1
  40. package/lib/_internal/objects/meeting-host.d.ts +14 -14
  41. package/lib/_internal/objects/shared.d.ts +2 -1
  42. package/lib/_internal/zoom.api.service.d.ts +5 -2
  43. package/lib/guest/guest.service.d.ts +6 -1
  44. package/lib/index.d.ts +3 -3
  45. package/package.json +1 -1
@@ -1,8 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject } from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
3
  import { throwError, of } from 'rxjs';
4
4
  import { map, mapTo } from 'rxjs/operators';
5
- import { HttpClient, HttpHeaders } from '@angular/common/http';
5
+ import * as i1 from '@angular/common/http';
6
+ import { HttpHeaders } from '@angular/common/http';
6
7
 
7
8
  // *********************************
8
9
  // Code generated by sdkgen
@@ -187,6 +188,17 @@ var TeamEventMeetingType;
187
188
  TeamEventMeetingType[TeamEventMeetingType["PRIORITY_ROUND_ROBIN"] = 3] = "PRIORITY_ROUND_ROBIN";
188
189
  })(TeamEventMeetingType || (TeamEventMeetingType = {}));
189
190
 
191
+ // *********************************
192
+ // Code generated by sdkgen
193
+ // DO NOT EDIT!.
194
+ //
195
+ // Enums.
196
+ // *********************************
197
+ var FeatureFlagFieldType;
198
+ (function (FeatureFlagFieldType) {
199
+ FeatureFlagFieldType[FeatureFlagFieldType["FEATURE_FLAG_FIELD_TYPE_CALENDAR_ID"] = 0] = "FEATURE_FLAG_FIELD_TYPE_CALENDAR_ID";
200
+ })(FeatureFlagFieldType || (FeatureFlagFieldType = {}));
201
+
190
202
  // *********************************
191
203
  // Code generated by sdkgen
192
204
  // DO NOT EDIT!.
@@ -1404,12 +1416,125 @@ function enumStringToValue$a(enumRef, value) {
1404
1416
  }
1405
1417
  return enumRef[value];
1406
1418
  }
1419
+ class TimeOfDay {
1420
+ static fromProto(proto) {
1421
+ let m = new TimeOfDay();
1422
+ m = Object.assign(m, proto);
1423
+ return m;
1424
+ }
1425
+ constructor(kwargs) {
1426
+ if (!kwargs) {
1427
+ return;
1428
+ }
1429
+ Object.assign(this, kwargs);
1430
+ }
1431
+ toApiJson() {
1432
+ const toReturn = {};
1433
+ if (typeof this.hours !== 'undefined') {
1434
+ toReturn['hours'] = this.hours;
1435
+ }
1436
+ if (typeof this.minutes !== 'undefined') {
1437
+ toReturn['minutes'] = this.minutes;
1438
+ }
1439
+ if (typeof this.seconds !== 'undefined') {
1440
+ toReturn['seconds'] = this.seconds;
1441
+ }
1442
+ if (typeof this.nanos !== 'undefined') {
1443
+ toReturn['nanos'] = this.nanos;
1444
+ }
1445
+ return toReturn;
1446
+ }
1447
+ }
1448
+
1449
+ function enumStringToValue$9(enumRef, value) {
1450
+ if (typeof value === 'number') {
1451
+ return value;
1452
+ }
1453
+ return enumRef[value];
1454
+ }
1455
+ class DateTime {
1456
+ static fromProto(proto) {
1457
+ let m = new DateTime();
1458
+ m = Object.assign(m, proto);
1459
+ if (proto.timeZone) {
1460
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
1461
+ }
1462
+ return m;
1463
+ }
1464
+ constructor(kwargs) {
1465
+ if (!kwargs) {
1466
+ return;
1467
+ }
1468
+ Object.assign(this, kwargs);
1469
+ }
1470
+ toApiJson() {
1471
+ const toReturn = {};
1472
+ if (typeof this.year !== 'undefined') {
1473
+ toReturn['year'] = this.year;
1474
+ }
1475
+ if (typeof this.month !== 'undefined') {
1476
+ toReturn['month'] = this.month;
1477
+ }
1478
+ if (typeof this.day !== 'undefined') {
1479
+ toReturn['day'] = this.day;
1480
+ }
1481
+ if (typeof this.hours !== 'undefined') {
1482
+ toReturn['hours'] = this.hours;
1483
+ }
1484
+ if (typeof this.minutes !== 'undefined') {
1485
+ toReturn['minutes'] = this.minutes;
1486
+ }
1487
+ if (typeof this.seconds !== 'undefined') {
1488
+ toReturn['seconds'] = this.seconds;
1489
+ }
1490
+ if (typeof this.nanos !== 'undefined') {
1491
+ toReturn['nanos'] = this.nanos;
1492
+ }
1493
+ if (typeof this.utcOffset !== 'undefined') {
1494
+ toReturn['utcOffset'] = this.utcOffset;
1495
+ }
1496
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
1497
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
1498
+ }
1499
+ return toReturn;
1500
+ }
1501
+ }
1502
+ class TimeZone {
1503
+ static fromProto(proto) {
1504
+ let m = new TimeZone();
1505
+ m = Object.assign(m, proto);
1506
+ return m;
1507
+ }
1508
+ constructor(kwargs) {
1509
+ if (!kwargs) {
1510
+ return;
1511
+ }
1512
+ Object.assign(this, kwargs);
1513
+ }
1514
+ toApiJson() {
1515
+ const toReturn = {};
1516
+ if (typeof this.id !== 'undefined') {
1517
+ toReturn['id'] = this.id;
1518
+ }
1519
+ if (typeof this.version !== 'undefined') {
1520
+ toReturn['version'] = this.version;
1521
+ }
1522
+ return toReturn;
1523
+ }
1524
+ }
1525
+
1526
+ function enumStringToValue$8(enumRef, value) {
1527
+ if (typeof value === 'number') {
1528
+ return value;
1529
+ }
1530
+ return enumRef[value];
1531
+ }
1407
1532
  class Answer {
1408
1533
  static fromProto(proto) {
1409
1534
  let m = new Answer();
1410
1535
  m = Object.assign(m, proto);
1411
1536
  if (proto.type) {
1412
- m.type = enumStringToValue$a(FormFieldType, proto.type);
1537
+ m.type = enumStringToValue$8(FormFieldType, proto.type);
1413
1538
  }
1414
1539
  return m;
1415
1540
  }
@@ -1551,7 +1676,7 @@ class Calendar {
1551
1676
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1552
1677
  }
1553
1678
  if (proto.calendarType) {
1554
- m.calendarType = enumStringToValue$a(CalendarType, proto.calendarType);
1679
+ m.calendarType = enumStringToValue$8(CalendarType, proto.calendarType);
1555
1680
  }
1556
1681
  return m;
1557
1682
  }
@@ -1859,7 +1984,7 @@ class Preferences {
1859
1984
  m.timezone = TimeZone.fromProto(proto.timezone);
1860
1985
  }
1861
1986
  if (proto.meetingIntegration) {
1862
- m.meetingIntegration = enumStringToValue$a(MeetingSource, proto.meetingIntegration);
1987
+ m.meetingIntegration = enumStringToValue$8(MeetingSource, proto.meetingIntegration);
1863
1988
  }
1864
1989
  if (proto.availabilityIncrement) {
1865
1990
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1874,10 +1999,10 @@ class Preferences {
1874
1999
  m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
1875
2000
  }
1876
2001
  if (proto.calendarIntegration) {
1877
- m.calendarIntegration = enumStringToValue$a(CalendarSource, proto.calendarIntegration);
2002
+ m.calendarIntegration = enumStringToValue$8(CalendarSource, proto.calendarIntegration);
1878
2003
  }
1879
2004
  if (proto.onBoardingState) {
1880
- m.onBoardingState = enumStringToValue$a(OnBoardingState, proto.onBoardingState);
2005
+ m.onBoardingState = enumStringToValue$8(OnBoardingState, proto.onBoardingState);
1881
2006
  }
1882
2007
  return m;
1883
2008
  }
@@ -1949,7 +2074,7 @@ class TimeRange {
1949
2074
  }
1950
2075
  }
1951
2076
 
1952
- function enumStringToValue$9(enumRef, value) {
2077
+ function enumStringToValue$7(enumRef, value) {
1953
2078
  if (typeof value === 'number') {
1954
2079
  return value;
1955
2080
  }
@@ -1985,7 +2110,7 @@ class DateRange {
1985
2110
  }
1986
2111
  }
1987
2112
 
1988
- function enumStringToValue$8(enumRef, value) {
2113
+ function enumStringToValue$6(enumRef, value) {
1989
2114
  if (typeof value === 'number') {
1990
2115
  return value;
1991
2116
  }
@@ -1996,7 +2121,7 @@ class EventTypeDateRange {
1996
2121
  let m = new EventTypeDateRange();
1997
2122
  m = Object.assign(m, proto);
1998
2123
  if (proto.dateRangeType) {
1999
- m.dateRangeType = enumStringToValue$8(DateRangeType, proto.dateRangeType);
2124
+ m.dateRangeType = enumStringToValue$6(DateRangeType, proto.dateRangeType);
2000
2125
  }
2001
2126
  if (proto.customDateRange) {
2002
2127
  m.customDateRange = DateRange.fromProto(proto.customDateRange);
@@ -2031,7 +2156,7 @@ class Field {
2031
2156
  let m = new Field();
2032
2157
  m = Object.assign(m, proto);
2033
2158
  if (proto.type) {
2034
- m.type = enumStringToValue$8(FormFieldType, proto.type);
2159
+ m.type = enumStringToValue$6(FormFieldType, proto.type);
2035
2160
  }
2036
2161
  return m;
2037
2162
  }
@@ -2098,7 +2223,7 @@ class MeetingType {
2098
2223
  m.noticeTime = parseInt(proto.noticeTime, 10);
2099
2224
  }
2100
2225
  if (proto.locationType) {
2101
- m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
2226
+ m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
2102
2227
  }
2103
2228
  if (proto.hostUsers) {
2104
2229
  m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
@@ -2110,7 +2235,7 @@ class MeetingType {
2110
2235
  m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
2111
2236
  }
2112
2237
  if (proto.meetingType) {
2113
- m.meetingType = enumStringToValue$8(TeamEventMeetingType, proto.meetingType);
2238
+ m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
2114
2239
  }
2115
2240
  if (proto.attendeeCount) {
2116
2241
  m.attendeeCount = parseInt(proto.attendeeCount, 10);
@@ -2122,7 +2247,7 @@ class MeetingType {
2122
2247
  m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
2123
2248
  }
2124
2249
  if (proto.notificationType) {
2125
- m.notificationType = enumStringToValue$8(NotificationType, proto.notificationType);
2250
+ m.notificationType = enumStringToValue$6(NotificationType, proto.notificationType);
2126
2251
  }
2127
2252
  return m;
2128
2253
  }
@@ -2247,7 +2372,7 @@ class RegistrationCutOff {
2247
2372
  let m = new RegistrationCutOff();
2248
2373
  m = Object.assign(m, proto);
2249
2374
  if (proto.unit) {
2250
- m.unit = enumStringToValue$8(RegistrationCutOffUnit, proto.unit);
2375
+ m.unit = enumStringToValue$6(RegistrationCutOffUnit, proto.unit);
2251
2376
  }
2252
2377
  if (proto.value) {
2253
2378
  m.value = parseInt(proto.value, 10);
@@ -2276,7 +2401,7 @@ class RelativeDateRange {
2276
2401
  let m = new RelativeDateRange();
2277
2402
  m = Object.assign(m, proto);
2278
2403
  if (proto.unit) {
2279
- m.unit = enumStringToValue$8(RelativeTimeUnit, proto.unit);
2404
+ m.unit = enumStringToValue$6(RelativeTimeUnit, proto.unit);
2280
2405
  }
2281
2406
  if (proto.value) {
2282
2407
  m.value = parseInt(proto.value, 10);
@@ -2301,7 +2426,7 @@ class RelativeDateRange {
2301
2426
  }
2302
2427
  }
2303
2428
 
2304
- function enumStringToValue$7(enumRef, value) {
2429
+ function enumStringToValue$5(enumRef, value) {
2305
2430
  if (typeof value === 'number') {
2306
2431
  return value;
2307
2432
  }
@@ -2446,7 +2571,7 @@ class Service {
2446
2571
  }
2447
2572
  }
2448
2573
 
2449
- function enumStringToValue$6(enumRef, value) {
2574
+ function enumStringToValue$4(enumRef, value) {
2450
2575
  if (typeof value === 'number') {
2451
2576
  return value;
2452
2577
  }
@@ -2472,7 +2597,7 @@ class BookMeetingRequest {
2472
2597
  m.formAnswers = Answers.fromProto(proto.formAnswers);
2473
2598
  }
2474
2599
  if (proto.bookingSource) {
2475
- m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
2600
+ m.bookingSource = enumStringToValue$4(BookingSource, proto.bookingSource);
2476
2601
  }
2477
2602
  return m;
2478
2603
  }
@@ -2546,6 +2671,55 @@ class BookMeetingResponse {
2546
2671
  return toReturn;
2547
2672
  }
2548
2673
  }
2674
+ class CheckFeatureFlagRequest {
2675
+ static fromProto(proto) {
2676
+ let m = new CheckFeatureFlagRequest();
2677
+ m = Object.assign(m, proto);
2678
+ if (proto.fieldType) {
2679
+ m.fieldType = enumStringToValue$4(FeatureFlagFieldType, proto.fieldType);
2680
+ }
2681
+ return m;
2682
+ }
2683
+ constructor(kwargs) {
2684
+ if (!kwargs) {
2685
+ return;
2686
+ }
2687
+ Object.assign(this, kwargs);
2688
+ }
2689
+ toApiJson() {
2690
+ const toReturn = {};
2691
+ if (typeof this.fieldType !== 'undefined') {
2692
+ toReturn['fieldType'] = this.fieldType;
2693
+ }
2694
+ if (typeof this.fieldValue !== 'undefined') {
2695
+ toReturn['fieldValue'] = this.fieldValue;
2696
+ }
2697
+ if (typeof this.featureFlagKey !== 'undefined') {
2698
+ toReturn['featureFlagKey'] = this.featureFlagKey;
2699
+ }
2700
+ return toReturn;
2701
+ }
2702
+ }
2703
+ class CheckFeatureFlagResponse {
2704
+ static fromProto(proto) {
2705
+ let m = new CheckFeatureFlagResponse();
2706
+ m = Object.assign(m, proto);
2707
+ return m;
2708
+ }
2709
+ constructor(kwargs) {
2710
+ if (!kwargs) {
2711
+ return;
2712
+ }
2713
+ Object.assign(this, kwargs);
2714
+ }
2715
+ toApiJson() {
2716
+ const toReturn = {};
2717
+ if (typeof this.isEnabled !== 'undefined') {
2718
+ toReturn['isEnabled'] = this.isEnabled;
2719
+ }
2720
+ return toReturn;
2721
+ }
2722
+ }
2549
2723
  class GetCalendarRequest {
2550
2724
  static fromProto(proto) {
2551
2725
  let m = new GetCalendarRequest();
@@ -3063,10 +3237,10 @@ class GuestGetBookedMeetingResponse {
3063
3237
  m.timeZone = TimeZone.fromProto(proto.timeZone);
3064
3238
  }
3065
3239
  if (proto.locationType) {
3066
- m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
3240
+ m.locationType = enumStringToValue$4(MeetingLocationType, proto.locationType);
3067
3241
  }
3068
3242
  if (proto.meetingType) {
3069
- m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
3243
+ m.meetingType = enumStringToValue$4(TeamEventMeetingType, proto.meetingType);
3070
3244
  }
3071
3245
  return m;
3072
3246
  }
@@ -3115,9 +3289,6 @@ class GuestGetBookedMeetingResponseV2 {
3115
3289
  static fromProto(proto) {
3116
3290
  let m = new GuestGetBookedMeetingResponseV2();
3117
3291
  m = Object.assign(m, proto);
3118
- if (proto.timeZone) {
3119
- m.timeZone = TimeZone.fromProto(proto.timeZone);
3120
- }
3121
3292
  if (proto.startTime) {
3122
3293
  m.startTime = new Date(proto.startTime);
3123
3294
  }
@@ -3125,10 +3296,13 @@ class GuestGetBookedMeetingResponseV2 {
3125
3296
  m.endTime = new Date(proto.endTime);
3126
3297
  }
3127
3298
  if (proto.meetingSource) {
3128
- m.meetingSource = enumStringToValue$6(MeetingSource, proto.meetingSource);
3299
+ m.meetingSource = enumStringToValue$4(MeetingSource, proto.meetingSource);
3129
3300
  }
3130
3301
  if (proto.meetingLocationType) {
3131
- m.meetingLocationType = enumStringToValue$6(MeetingLocation, proto.meetingLocationType);
3302
+ m.meetingLocationType = enumStringToValue$4(MeetingLocation, proto.meetingLocationType);
3303
+ }
3304
+ if (proto.timeZone) {
3305
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3132
3306
  }
3133
3307
  return m;
3134
3308
  }
@@ -3414,12 +3588,420 @@ class ListMeetingTypesRequest {
3414
3588
  return toReturn;
3415
3589
  }
3416
3590
  }
3417
- class ListMeetingTypesResponse {
3591
+ class ListMeetingTypesResponse {
3592
+ static fromProto(proto) {
3593
+ let m = new ListMeetingTypesResponse();
3594
+ m = Object.assign(m, proto);
3595
+ if (proto.meetingTypes) {
3596
+ m.meetingTypes = proto.meetingTypes.map(MeetingType.fromProto);
3597
+ }
3598
+ return m;
3599
+ }
3600
+ constructor(kwargs) {
3601
+ if (!kwargs) {
3602
+ return;
3603
+ }
3604
+ Object.assign(this, kwargs);
3605
+ }
3606
+ toApiJson() {
3607
+ const toReturn = {};
3608
+ if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
3609
+ toReturn['meetingTypes'] = 'toApiJson' in this.meetingTypes ? this.meetingTypes.toApiJson() : this.meetingTypes;
3610
+ }
3611
+ return toReturn;
3612
+ }
3613
+ }
3614
+ class BookMeetingRequestMetadataEntry {
3615
+ static fromProto(proto) {
3616
+ let m = new BookMeetingRequestMetadataEntry();
3617
+ m = Object.assign(m, proto);
3618
+ return m;
3619
+ }
3620
+ constructor(kwargs) {
3621
+ if (!kwargs) {
3622
+ return;
3623
+ }
3624
+ Object.assign(this, kwargs);
3625
+ }
3626
+ toApiJson() {
3627
+ const toReturn = {};
3628
+ if (typeof this.key !== 'undefined') {
3629
+ toReturn['key'] = this.key;
3630
+ }
3631
+ if (typeof this.value !== 'undefined') {
3632
+ toReturn['value'] = this.value;
3633
+ }
3634
+ return toReturn;
3635
+ }
3636
+ }
3637
+ class RegisterSessionRequest {
3638
+ static fromProto(proto) {
3639
+ let m = new RegisterSessionRequest();
3640
+ m = Object.assign(m, proto);
3641
+ if (proto.attendees) {
3642
+ m.attendees = proto.attendees.map(Contact.fromProto);
3643
+ }
3644
+ if (proto.formAnswers) {
3645
+ m.formAnswers = Answers.fromProto(proto.formAnswers);
3646
+ }
3647
+ return m;
3648
+ }
3649
+ constructor(kwargs) {
3650
+ if (!kwargs) {
3651
+ return;
3652
+ }
3653
+ Object.assign(this, kwargs);
3654
+ }
3655
+ toApiJson() {
3656
+ const toReturn = {};
3657
+ if (typeof this.meetingId !== 'undefined') {
3658
+ toReturn['meetingId'] = this.meetingId;
3659
+ }
3660
+ if (typeof this.attendees !== 'undefined' && this.attendees !== null) {
3661
+ toReturn['attendees'] = 'toApiJson' in this.attendees ? this.attendees.toApiJson() : this.attendees;
3662
+ }
3663
+ if (typeof this.comment !== 'undefined') {
3664
+ toReturn['comment'] = this.comment;
3665
+ }
3666
+ if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
3667
+ toReturn['formAnswers'] = 'toApiJson' in this.formAnswers ? this.formAnswers.toApiJson() : this.formAnswers;
3668
+ }
3669
+ if (typeof this.recaptchaToken !== 'undefined') {
3670
+ toReturn['recaptchaToken'] = this.recaptchaToken;
3671
+ }
3672
+ return toReturn;
3673
+ }
3674
+ }
3675
+
3676
+ function enumStringToValue$3(enumRef, value) {
3677
+ if (typeof value === 'number') {
3678
+ return value;
3679
+ }
3680
+ return enumRef[value];
3681
+ }
3682
+ class AvailableTimeSlotsRequest {
3683
+ static fromProto(proto) {
3684
+ let m = new AvailableTimeSlotsRequest();
3685
+ m = Object.assign(m, proto);
3686
+ if (proto.timeSpan) {
3687
+ m.timeSpan = DateRange.fromProto(proto.timeSpan);
3688
+ }
3689
+ if (proto.timeZone) {
3690
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3691
+ }
3692
+ return m;
3693
+ }
3694
+ constructor(kwargs) {
3695
+ if (!kwargs) {
3696
+ return;
3697
+ }
3698
+ Object.assign(this, kwargs);
3699
+ }
3700
+ toApiJson() {
3701
+ const toReturn = {};
3702
+ if (typeof this.partnerId !== 'undefined') {
3703
+ toReturn['partnerId'] = this.partnerId;
3704
+ }
3705
+ if (typeof this.businessId !== 'undefined') {
3706
+ toReturn['businessId'] = this.businessId;
3707
+ }
3708
+ if (typeof this.eventTypeId !== 'undefined') {
3709
+ toReturn['eventTypeId'] = this.eventTypeId;
3710
+ }
3711
+ if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
3712
+ toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
3713
+ }
3714
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
3715
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
3716
+ }
3717
+ if (typeof this.hostUserId !== 'undefined') {
3718
+ toReturn['hostUserId'] = this.hostUserId;
3719
+ }
3720
+ return toReturn;
3721
+ }
3722
+ }
3723
+ class AvailableTimeSlotsResponse {
3724
+ static fromProto(proto) {
3725
+ let m = new AvailableTimeSlotsResponse();
3726
+ m = Object.assign(m, proto);
3727
+ if (proto.timeSlots) {
3728
+ m.timeSlots = proto.timeSlots.map(IsoDateTimeRange.fromProto);
3729
+ }
3730
+ return m;
3731
+ }
3732
+ constructor(kwargs) {
3733
+ if (!kwargs) {
3734
+ return;
3735
+ }
3736
+ Object.assign(this, kwargs);
3737
+ }
3738
+ toApiJson() {
3739
+ const toReturn = {};
3740
+ if (typeof this.timeSlots !== 'undefined' && this.timeSlots !== null) {
3741
+ toReturn['timeSlots'] = 'toApiJson' in this.timeSlots ? this.timeSlots.toApiJson() : this.timeSlots;
3742
+ }
3743
+ return toReturn;
3744
+ }
3745
+ }
3746
+ class BookMeetingExternalRequest {
3747
+ static fromProto(proto) {
3748
+ let m = new BookMeetingExternalRequest();
3749
+ m = Object.assign(m, proto);
3750
+ if (proto.start) {
3751
+ m.start = new Date(proto.start);
3752
+ }
3753
+ if (proto.attendees) {
3754
+ m.attendees = proto.attendees.map(Contact.fromProto);
3755
+ }
3756
+ if (proto.formAnswers) {
3757
+ m.formAnswers = Answers.fromProto(proto.formAnswers);
3758
+ }
3759
+ return m;
3760
+ }
3761
+ constructor(kwargs) {
3762
+ if (!kwargs) {
3763
+ return;
3764
+ }
3765
+ Object.assign(this, kwargs);
3766
+ }
3767
+ toApiJson() {
3768
+ const toReturn = {};
3769
+ if (typeof this.partnerId !== 'undefined') {
3770
+ toReturn['partnerId'] = this.partnerId;
3771
+ }
3772
+ if (typeof this.businessId !== 'undefined') {
3773
+ toReturn['businessId'] = this.businessId;
3774
+ }
3775
+ if (typeof this.userId !== 'undefined') {
3776
+ toReturn['userId'] = this.userId;
3777
+ }
3778
+ if (typeof this.eventTypeId !== 'undefined') {
3779
+ toReturn['eventTypeId'] = this.eventTypeId;
3780
+ }
3781
+ if (typeof this.start !== 'undefined' && this.start !== null) {
3782
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
3783
+ }
3784
+ if (typeof this.attendees !== 'undefined' && this.attendees !== null) {
3785
+ toReturn['attendees'] = 'toApiJson' in this.attendees ? this.attendees.toApiJson() : this.attendees;
3786
+ }
3787
+ if (typeof this.comment !== 'undefined') {
3788
+ toReturn['comment'] = this.comment;
3789
+ }
3790
+ if (typeof this.location !== 'undefined') {
3791
+ toReturn['location'] = this.location;
3792
+ }
3793
+ if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
3794
+ toReturn['formAnswers'] = 'toApiJson' in this.formAnswers ? this.formAnswers.toApiJson() : this.formAnswers;
3795
+ }
3796
+ if (typeof this.hostUserId !== 'undefined') {
3797
+ toReturn['hostUserId'] = this.hostUserId;
3798
+ }
3799
+ return toReturn;
3800
+ }
3801
+ }
3802
+ class BookMeetingExternalResponse {
3803
+ static fromProto(proto) {
3804
+ let m = new BookMeetingExternalResponse();
3805
+ m = Object.assign(m, proto);
3806
+ if (proto.meetingStartTime) {
3807
+ m.meetingStartTime = new Date(proto.meetingStartTime);
3808
+ }
3809
+ if (proto.meetingEndTime) {
3810
+ m.meetingEndTime = new Date(proto.meetingEndTime);
3811
+ }
3812
+ if (proto.hostDetails) {
3813
+ m.hostDetails = proto.hostDetails.map(HostUserDetails.fromProto);
3814
+ }
3815
+ return m;
3816
+ }
3817
+ constructor(kwargs) {
3818
+ if (!kwargs) {
3819
+ return;
3820
+ }
3821
+ Object.assign(this, kwargs);
3822
+ }
3823
+ toApiJson() {
3824
+ const toReturn = {};
3825
+ if (typeof this.meetingId !== 'undefined') {
3826
+ toReturn['meetingId'] = this.meetingId;
3827
+ }
3828
+ if (typeof this.userId !== 'undefined') {
3829
+ toReturn['userId'] = this.userId;
3830
+ }
3831
+ if (typeof this.meetingStartTime !== 'undefined' && this.meetingStartTime !== null) {
3832
+ toReturn['meetingStartTime'] = 'toApiJson' in this.meetingStartTime ? this.meetingStartTime.toApiJson() : this.meetingStartTime;
3833
+ }
3834
+ if (typeof this.meetingEndTime !== 'undefined' && this.meetingEndTime !== null) {
3835
+ toReturn['meetingEndTime'] = 'toApiJson' in this.meetingEndTime ? this.meetingEndTime.toApiJson() : this.meetingEndTime;
3836
+ }
3837
+ if (typeof this.eventTypeId !== 'undefined') {
3838
+ toReturn['eventTypeId'] = this.eventTypeId;
3839
+ }
3840
+ if (typeof this.title !== 'undefined') {
3841
+ toReturn['title'] = this.title;
3842
+ }
3843
+ if (typeof this.location !== 'undefined') {
3844
+ toReturn['location'] = this.location;
3845
+ }
3846
+ if (typeof this.hostDetails !== 'undefined' && this.hostDetails !== null) {
3847
+ toReturn['hostDetails'] = 'toApiJson' in this.hostDetails ? this.hostDetails.toApiJson() : this.hostDetails;
3848
+ }
3849
+ if (typeof this.bookingUrl !== 'undefined') {
3850
+ toReturn['bookingUrl'] = this.bookingUrl;
3851
+ }
3852
+ if (typeof this.cancelUrl !== 'undefined') {
3853
+ toReturn['cancelUrl'] = this.cancelUrl;
3854
+ }
3855
+ if (typeof this.rescheduleUrl !== 'undefined') {
3856
+ toReturn['rescheduleUrl'] = this.rescheduleUrl;
3857
+ }
3858
+ if (typeof this.meetingLink !== 'undefined') {
3859
+ toReturn['meetingLink'] = this.meetingLink;
3860
+ }
3861
+ if (typeof this.attendeeEmails !== 'undefined') {
3862
+ toReturn['attendeeEmails'] = this.attendeeEmails;
3863
+ }
3864
+ return toReturn;
3865
+ }
3866
+ }
3867
+ class ExternalCancelMeetingRequest {
3868
+ static fromProto(proto) {
3869
+ let m = new ExternalCancelMeetingRequest();
3870
+ m = Object.assign(m, proto);
3871
+ return m;
3872
+ }
3873
+ constructor(kwargs) {
3874
+ if (!kwargs) {
3875
+ return;
3876
+ }
3877
+ Object.assign(this, kwargs);
3878
+ }
3879
+ toApiJson() {
3880
+ const toReturn = {};
3881
+ if (typeof this.partnerId !== 'undefined') {
3882
+ toReturn['partnerId'] = this.partnerId;
3883
+ }
3884
+ if (typeof this.businessId !== 'undefined') {
3885
+ toReturn['businessId'] = this.businessId;
3886
+ }
3887
+ if (typeof this.meetingId !== 'undefined') {
3888
+ toReturn['meetingId'] = this.meetingId;
3889
+ }
3890
+ if (typeof this.cancellationReason !== 'undefined') {
3891
+ toReturn['cancellationReason'] = this.cancellationReason;
3892
+ }
3893
+ return toReturn;
3894
+ }
3895
+ }
3896
+ class ExternalRescheduleMeetingRequest {
3897
+ static fromProto(proto) {
3898
+ let m = new ExternalRescheduleMeetingRequest();
3899
+ m = Object.assign(m, proto);
3900
+ if (proto.startTime) {
3901
+ m.startTime = new Date(proto.startTime);
3902
+ }
3903
+ if (proto.timeZone) {
3904
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3905
+ }
3906
+ return m;
3907
+ }
3908
+ constructor(kwargs) {
3909
+ if (!kwargs) {
3910
+ return;
3911
+ }
3912
+ Object.assign(this, kwargs);
3913
+ }
3914
+ toApiJson() {
3915
+ const toReturn = {};
3916
+ if (typeof this.partnerId !== 'undefined') {
3917
+ toReturn['partnerId'] = this.partnerId;
3918
+ }
3919
+ if (typeof this.businessId !== 'undefined') {
3920
+ toReturn['businessId'] = this.businessId;
3921
+ }
3922
+ if (typeof this.userId !== 'undefined') {
3923
+ toReturn['userId'] = this.userId;
3924
+ }
3925
+ if (typeof this.meetingId !== 'undefined') {
3926
+ toReturn['meetingId'] = this.meetingId;
3927
+ }
3928
+ if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
3929
+ toReturn['startTime'] = 'toApiJson' in this.startTime ? this.startTime.toApiJson() : this.startTime;
3930
+ }
3931
+ if (typeof this.location !== 'undefined') {
3932
+ toReturn['location'] = this.location;
3933
+ }
3934
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
3935
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
3936
+ }
3937
+ return toReturn;
3938
+ }
3939
+ }
3940
+ class ExternalRescheduleMeetingResponse {
3941
+ static fromProto(proto) {
3942
+ let m = new ExternalRescheduleMeetingResponse();
3943
+ m = Object.assign(m, proto);
3944
+ if (proto.startTime) {
3945
+ m.startTime = new Date(proto.startTime);
3946
+ }
3947
+ if (proto.endTime) {
3948
+ m.endTime = new Date(proto.endTime);
3949
+ }
3950
+ if (proto.hostDetails) {
3951
+ m.hostDetails = proto.hostDetails.map(HostUserDetails.fromProto);
3952
+ }
3953
+ return m;
3954
+ }
3955
+ constructor(kwargs) {
3956
+ if (!kwargs) {
3957
+ return;
3958
+ }
3959
+ Object.assign(this, kwargs);
3960
+ }
3961
+ toApiJson() {
3962
+ const toReturn = {};
3963
+ if (typeof this.meetingId !== 'undefined') {
3964
+ toReturn['meetingId'] = this.meetingId;
3965
+ }
3966
+ if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
3967
+ toReturn['startTime'] = 'toApiJson' in this.startTime ? this.startTime.toApiJson() : this.startTime;
3968
+ }
3969
+ if (typeof this.endTime !== 'undefined' && this.endTime !== null) {
3970
+ toReturn['endTime'] = 'toApiJson' in this.endTime ? this.endTime.toApiJson() : this.endTime;
3971
+ }
3972
+ if (typeof this.hostDetails !== 'undefined' && this.hostDetails !== null) {
3973
+ toReturn['hostDetails'] = 'toApiJson' in this.hostDetails ? this.hostDetails.toApiJson() : this.hostDetails;
3974
+ }
3975
+ if (typeof this.eventTypeId !== 'undefined') {
3976
+ toReturn['eventTypeId'] = this.eventTypeId;
3977
+ }
3978
+ if (typeof this.title !== 'undefined') {
3979
+ toReturn['title'] = this.title;
3980
+ }
3981
+ if (typeof this.location !== 'undefined') {
3982
+ toReturn['location'] = this.location;
3983
+ }
3984
+ if (typeof this.meetingUrl !== 'undefined') {
3985
+ toReturn['meetingUrl'] = this.meetingUrl;
3986
+ }
3987
+ if (typeof this.bookingUrl !== 'undefined') {
3988
+ toReturn['bookingUrl'] = this.bookingUrl;
3989
+ }
3990
+ if (typeof this.rescheduleUrl !== 'undefined') {
3991
+ toReturn['rescheduleUrl'] = this.rescheduleUrl;
3992
+ }
3993
+ if (typeof this.cancelUrl !== 'undefined') {
3994
+ toReturn['cancelUrl'] = this.cancelUrl;
3995
+ }
3996
+ return toReturn;
3997
+ }
3998
+ }
3999
+ class GetUsersRequest {
3418
4000
  static fromProto(proto) {
3419
- let m = new ListMeetingTypesResponse();
4001
+ let m = new GetUsersRequest();
3420
4002
  m = Object.assign(m, proto);
3421
- if (proto.meetingTypes) {
3422
- m.meetingTypes = proto.meetingTypes.map(MeetingType.fromProto);
4003
+ if (proto.pagedRequestOptions) {
4004
+ m.pagedRequestOptions = PagedRequestOptions.fromProto(proto.pagedRequestOptions);
3423
4005
  }
3424
4006
  return m;
3425
4007
  }
@@ -3431,44 +4013,30 @@ class ListMeetingTypesResponse {
3431
4013
  }
3432
4014
  toApiJson() {
3433
4015
  const toReturn = {};
3434
- if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
3435
- toReturn['meetingTypes'] = 'toApiJson' in this.meetingTypes ? this.meetingTypes.toApiJson() : this.meetingTypes;
4016
+ if (typeof this.partnerId !== 'undefined') {
4017
+ toReturn['partnerId'] = this.partnerId;
3436
4018
  }
3437
- return toReturn;
3438
- }
3439
- }
3440
- class BookMeetingRequestMetadataEntry {
3441
- static fromProto(proto) {
3442
- let m = new BookMeetingRequestMetadataEntry();
3443
- m = Object.assign(m, proto);
3444
- return m;
3445
- }
3446
- constructor(kwargs) {
3447
- if (!kwargs) {
3448
- return;
4019
+ if (typeof this.businessId !== 'undefined') {
4020
+ toReturn['businessId'] = this.businessId;
3449
4021
  }
3450
- Object.assign(this, kwargs);
3451
- }
3452
- toApiJson() {
3453
- const toReturn = {};
3454
- if (typeof this.key !== 'undefined') {
3455
- toReturn['key'] = this.key;
4022
+ if (typeof this.userId !== 'undefined') {
4023
+ toReturn['userId'] = this.userId;
3456
4024
  }
3457
- if (typeof this.value !== 'undefined') {
3458
- toReturn['value'] = this.value;
4025
+ if (typeof this.pagedRequestOptions !== 'undefined' && this.pagedRequestOptions !== null) {
4026
+ toReturn['pagedRequestOptions'] = 'toApiJson' in this.pagedRequestOptions ? this.pagedRequestOptions.toApiJson() : this.pagedRequestOptions;
3459
4027
  }
3460
4028
  return toReturn;
3461
4029
  }
3462
4030
  }
3463
- class RegisterSessionRequest {
4031
+ class GetUsersResponse {
3464
4032
  static fromProto(proto) {
3465
- let m = new RegisterSessionRequest();
4033
+ let m = new GetUsersResponse();
3466
4034
  m = Object.assign(m, proto);
3467
- if (proto.attendees) {
3468
- m.attendees = proto.attendees.map(Contact.fromProto);
4035
+ if (proto.users) {
4036
+ m.users = proto.users.map(UserResponse.fromProto);
3469
4037
  }
3470
- if (proto.formAnswers) {
3471
- m.formAnswers = Answers.fromProto(proto.formAnswers);
4038
+ if (proto.pagedResponseMetadata) {
4039
+ m.pagedResponseMetadata = PagedResponseMetadata.fromProto(proto.pagedResponseMetadata);
3472
4040
  }
3473
4041
  return m;
3474
4042
  }
@@ -3480,31 +4048,15 @@ class RegisterSessionRequest {
3480
4048
  }
3481
4049
  toApiJson() {
3482
4050
  const toReturn = {};
3483
- if (typeof this.meetingId !== 'undefined') {
3484
- toReturn['meetingId'] = this.meetingId;
3485
- }
3486
- if (typeof this.attendees !== 'undefined' && this.attendees !== null) {
3487
- toReturn['attendees'] = 'toApiJson' in this.attendees ? this.attendees.toApiJson() : this.attendees;
3488
- }
3489
- if (typeof this.comment !== 'undefined') {
3490
- toReturn['comment'] = this.comment;
3491
- }
3492
- if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
3493
- toReturn['formAnswers'] = 'toApiJson' in this.formAnswers ? this.formAnswers.toApiJson() : this.formAnswers;
4051
+ if (typeof this.users !== 'undefined' && this.users !== null) {
4052
+ toReturn['users'] = 'toApiJson' in this.users ? this.users.toApiJson() : this.users;
3494
4053
  }
3495
- if (typeof this.recaptchaToken !== 'undefined') {
3496
- toReturn['recaptchaToken'] = this.recaptchaToken;
4054
+ if (typeof this.pagedResponseMetadata !== 'undefined' && this.pagedResponseMetadata !== null) {
4055
+ toReturn['pagedResponseMetadata'] = 'toApiJson' in this.pagedResponseMetadata ? this.pagedResponseMetadata.toApiJson() : this.pagedResponseMetadata;
3497
4056
  }
3498
4057
  return toReturn;
3499
4058
  }
3500
4059
  }
3501
-
3502
- function enumStringToValue$5(enumRef, value) {
3503
- if (typeof value === 'number') {
3504
- return value;
3505
- }
3506
- return enumRef[value];
3507
- }
3508
4060
  class GroupResponse {
3509
4061
  static fromProto(proto) {
3510
4062
  let m = new GroupResponse();
@@ -3586,6 +4138,29 @@ class GroupsResponse {
3586
4138
  return toReturn;
3587
4139
  }
3588
4140
  }
4141
+ class HostUserDetails {
4142
+ static fromProto(proto) {
4143
+ let m = new HostUserDetails();
4144
+ m = Object.assign(m, proto);
4145
+ return m;
4146
+ }
4147
+ constructor(kwargs) {
4148
+ if (!kwargs) {
4149
+ return;
4150
+ }
4151
+ Object.assign(this, kwargs);
4152
+ }
4153
+ toApiJson() {
4154
+ const toReturn = {};
4155
+ if (typeof this.hostUserId !== 'undefined') {
4156
+ toReturn['hostUserId'] = this.hostUserId;
4157
+ }
4158
+ if (typeof this.hostUserName !== 'undefined') {
4159
+ toReturn['hostUserName'] = this.hostUserName;
4160
+ }
4161
+ return toReturn;
4162
+ }
4163
+ }
3589
4164
  class ServiceResponse {
3590
4165
  static fromProto(proto) {
3591
4166
  let m = new ServiceResponse();
@@ -3667,8 +4242,34 @@ class ServicesResponse {
3667
4242
  return toReturn;
3668
4243
  }
3669
4244
  }
4245
+ class UserResponse {
4246
+ static fromProto(proto) {
4247
+ let m = new UserResponse();
4248
+ m = Object.assign(m, proto);
4249
+ return m;
4250
+ }
4251
+ constructor(kwargs) {
4252
+ if (!kwargs) {
4253
+ return;
4254
+ }
4255
+ Object.assign(this, kwargs);
4256
+ }
4257
+ toApiJson() {
4258
+ const toReturn = {};
4259
+ if (typeof this.userId !== 'undefined') {
4260
+ toReturn['userId'] = this.userId;
4261
+ }
4262
+ if (typeof this.displayName !== 'undefined') {
4263
+ toReturn['displayName'] = this.displayName;
4264
+ }
4265
+ if (typeof this.isConfigured !== 'undefined') {
4266
+ toReturn['isConfigured'] = this.isConfigured;
4267
+ }
4268
+ return toReturn;
4269
+ }
4270
+ }
3670
4271
 
3671
- function enumStringToValue$4(enumRef, value) {
4272
+ function enumStringToValue$2(enumRef, value) {
3672
4273
  if (typeof value === 'number') {
3673
4274
  return value;
3674
4275
  }
@@ -3695,15 +4296,15 @@ class FieldMask {
3695
4296
  }
3696
4297
  }
3697
4298
 
3698
- function enumStringToValue$3(enumRef, value) {
4299
+ function enumStringToValue$1(enumRef, value) {
3699
4300
  if (typeof value === 'number') {
3700
4301
  return value;
3701
4302
  }
3702
4303
  return enumRef[value];
3703
4304
  }
3704
- class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
4305
+ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
3705
4306
  static fromProto(proto) {
3706
- let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
4307
+ let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
3707
4308
  m = Object.assign(m, proto);
3708
4309
  return m;
3709
4310
  }
@@ -3724,9 +4325,9 @@ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
3724
4325
  return toReturn;
3725
4326
  }
3726
4327
  }
3727
- class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
4328
+ class BuildHostIdRequestApplicationContextPropertiesEntry {
3728
4329
  static fromProto(proto) {
3729
- let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
4330
+ let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
3730
4331
  m = Object.assign(m, proto);
3731
4332
  return m;
3732
4333
  }
@@ -3747,9 +4348,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
3747
4348
  return toReturn;
3748
4349
  }
3749
4350
  }
3750
- class BuildHostIdRequestApplicationContextPropertiesEntry {
4351
+ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
3751
4352
  static fromProto(proto) {
3752
- let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
4353
+ let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
3753
4354
  m = Object.assign(m, proto);
3754
4355
  return m;
3755
4356
  }
@@ -3775,7 +4376,7 @@ class AvailabilityRule {
3775
4376
  let m = new AvailabilityRule();
3776
4377
  m = Object.assign(m, proto);
3777
4378
  if (proto.day) {
3778
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
4379
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
3779
4380
  }
3780
4381
  if (proto.timeSlot) {
3781
4382
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -4790,7 +5391,7 @@ class HostBookMeetingRequest {
4790
5391
  let m = new HostBookMeetingRequest();
4791
5392
  m = Object.assign(m, proto);
4792
5393
  if (proto.meetingSource) {
4793
- m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
5394
+ m.meetingSource = enumStringToValue$1(MeetingSource, proto.meetingSource);
4794
5395
  }
4795
5396
  if (proto.timeSlot) {
4796
5397
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
@@ -4799,7 +5400,7 @@ class HostBookMeetingRequest {
4799
5400
  m.attendees = proto.attendees.map(Contact.fromProto);
4800
5401
  }
4801
5402
  if (proto.bookingSource) {
4802
- m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
5403
+ m.bookingSource = enumStringToValue$1(BookingSource, proto.bookingSource);
4803
5404
  }
4804
5405
  return m;
4805
5406
  }
@@ -4863,7 +5464,7 @@ class HostBookSessionRequest {
4863
5464
  let m = new HostBookSessionRequest();
4864
5465
  m = Object.assign(m, proto);
4865
5466
  if (proto.locationType) {
4866
- m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
5467
+ m.locationType = enumStringToValue$1(MeetingLocationType, proto.locationType);
4867
5468
  }
4868
5469
  if (proto.maxAttendees) {
4869
5470
  m.maxAttendees = parseInt(proto.maxAttendees, 10);
@@ -5251,7 +5852,7 @@ class IsHostConfiguredResponse {
5251
5852
  let m = new IsHostConfiguredResponse();
5252
5853
  m = Object.assign(m, proto);
5253
5854
  if (proto.onBoardingState) {
5254
- m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
5855
+ m.onBoardingState = enumStringToValue$1(OnBoardingState, proto.onBoardingState);
5255
5856
  }
5256
5857
  return m;
5257
5858
  }
@@ -5692,7 +6293,7 @@ class Meeting {
5692
6293
  m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
5693
6294
  }
5694
6295
  if (proto.meetingType) {
5695
- m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
6296
+ m.meetingType = enumStringToValue$1(TeamEventMeetingType, proto.meetingType);
5696
6297
  }
5697
6298
  if (proto.maxAttendeeCount) {
5698
6299
  m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
@@ -5805,9 +6406,9 @@ class MeetingTypeList {
5805
6406
  return toReturn;
5806
6407
  }
5807
6408
  }
5808
- class MeetingMetadataEntry {
6409
+ class UpdateMeetingMetadataRequestMetadataEntry {
5809
6410
  static fromProto(proto) {
5810
- let m = new MeetingMetadataEntry();
6411
+ let m = new UpdateMeetingMetadataRequestMetadataEntry();
5811
6412
  m = Object.assign(m, proto);
5812
6413
  return m;
5813
6414
  }
@@ -5828,9 +6429,9 @@ class MeetingMetadataEntry {
5828
6429
  return toReturn;
5829
6430
  }
5830
6431
  }
5831
- class UpdateMeetingMetadataRequestMetadataEntry {
6432
+ class MeetingMetadataEntry {
5832
6433
  static fromProto(proto) {
5833
- let m = new UpdateMeetingMetadataRequestMetadataEntry();
6434
+ let m = new MeetingMetadataEntry();
5834
6435
  m = Object.assign(m, proto);
5835
6436
  return m;
5836
6437
  }
@@ -5856,19 +6457,19 @@ class RecurrenceConfig {
5856
6457
  let m = new RecurrenceConfig();
5857
6458
  m = Object.assign(m, proto);
5858
6459
  if (proto.recurrence) {
5859
- m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
6460
+ m.recurrence = enumStringToValue$1(Recurrence, proto.recurrence);
5860
6461
  }
5861
6462
  if (proto.startTime) {
5862
6463
  m.startTime = new Date(proto.startTime);
5863
6464
  }
5864
6465
  if (proto.repeatOnDays) {
5865
- m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
6466
+ m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$1(Weekday, v));
5866
6467
  }
5867
6468
  if (proto.recurrenceEnd) {
5868
6469
  m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
5869
6470
  }
5870
6471
  if (proto.registrationMode) {
5871
- m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
6472
+ m.registrationMode = enumStringToValue$1(RegistrationMode, proto.registrationMode);
5872
6473
  }
5873
6474
  return m;
5874
6475
  }
@@ -5993,7 +6594,7 @@ class SessionAttendees {
5993
6594
  m.formAnswers = Answers.fromProto(proto.formAnswers);
5994
6595
  }
5995
6596
  if (proto.bookingFailureReason) {
5996
- m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
6597
+ m.bookingFailureReason = enumStringToValue$1(BookingFailureReason, proto.bookingFailureReason);
5997
6598
  }
5998
6599
  return m;
5999
6600
  }
@@ -6043,7 +6644,7 @@ class SetGeneralAvailabilityRequest {
6043
6644
  let m = new SetGeneralAvailabilityRequest();
6044
6645
  m = Object.assign(m, proto);
6045
6646
  if (proto.days) {
6046
- m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
6647
+ m.days = proto.days.map((v) => enumStringToValue$1(DayOfWeek, v));
6047
6648
  }
6048
6649
  if (proto.timeSlot) {
6049
6650
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -6090,7 +6691,7 @@ class TimeSlotsByWeekDay {
6090
6691
  let m = new TimeSlotsByWeekDay();
6091
6692
  m = Object.assign(m, proto);
6092
6693
  if (proto.day) {
6093
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
6694
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
6094
6695
  }
6095
6696
  if (proto.timeSlot) {
6096
6697
  m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
@@ -6331,7 +6932,7 @@ class WeekdayAvailability {
6331
6932
  let m = new WeekdayAvailability();
6332
6933
  m = Object.assign(m, proto);
6333
6934
  if (proto.day) {
6334
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
6935
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
6335
6936
  }
6336
6937
  if (proto.timeSlots) {
6337
6938
  m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
@@ -6356,7 +6957,7 @@ class WeekdayAvailability {
6356
6957
  }
6357
6958
  }
6358
6959
 
6359
- function enumStringToValue$2(enumRef, value) {
6960
+ function enumStringToValue(enumRef, value) {
6360
6961
  if (typeof value === 'number') {
6361
6962
  return value;
6362
6963
  }
@@ -6406,119 +7007,6 @@ class MCPOptions {
6406
7007
  }
6407
7008
  }
6408
7009
 
6409
- function enumStringToValue$1(enumRef, value) {
6410
- if (typeof value === 'number') {
6411
- return value;
6412
- }
6413
- return enumRef[value];
6414
- }
6415
- class TimeOfDay {
6416
- static fromProto(proto) {
6417
- let m = new TimeOfDay();
6418
- m = Object.assign(m, proto);
6419
- return m;
6420
- }
6421
- constructor(kwargs) {
6422
- if (!kwargs) {
6423
- return;
6424
- }
6425
- Object.assign(this, kwargs);
6426
- }
6427
- toApiJson() {
6428
- const toReturn = {};
6429
- if (typeof this.hours !== 'undefined') {
6430
- toReturn['hours'] = this.hours;
6431
- }
6432
- if (typeof this.minutes !== 'undefined') {
6433
- toReturn['minutes'] = this.minutes;
6434
- }
6435
- if (typeof this.seconds !== 'undefined') {
6436
- toReturn['seconds'] = this.seconds;
6437
- }
6438
- if (typeof this.nanos !== 'undefined') {
6439
- toReturn['nanos'] = this.nanos;
6440
- }
6441
- return toReturn;
6442
- }
6443
- }
6444
-
6445
- function enumStringToValue(enumRef, value) {
6446
- if (typeof value === 'number') {
6447
- return value;
6448
- }
6449
- return enumRef[value];
6450
- }
6451
- class DateTime {
6452
- static fromProto(proto) {
6453
- let m = new DateTime();
6454
- m = Object.assign(m, proto);
6455
- if (proto.timeZone) {
6456
- m.timeZone = TimeZone.fromProto(proto.timeZone);
6457
- }
6458
- return m;
6459
- }
6460
- constructor(kwargs) {
6461
- if (!kwargs) {
6462
- return;
6463
- }
6464
- Object.assign(this, kwargs);
6465
- }
6466
- toApiJson() {
6467
- const toReturn = {};
6468
- if (typeof this.year !== 'undefined') {
6469
- toReturn['year'] = this.year;
6470
- }
6471
- if (typeof this.month !== 'undefined') {
6472
- toReturn['month'] = this.month;
6473
- }
6474
- if (typeof this.day !== 'undefined') {
6475
- toReturn['day'] = this.day;
6476
- }
6477
- if (typeof this.hours !== 'undefined') {
6478
- toReturn['hours'] = this.hours;
6479
- }
6480
- if (typeof this.minutes !== 'undefined') {
6481
- toReturn['minutes'] = this.minutes;
6482
- }
6483
- if (typeof this.seconds !== 'undefined') {
6484
- toReturn['seconds'] = this.seconds;
6485
- }
6486
- if (typeof this.nanos !== 'undefined') {
6487
- toReturn['nanos'] = this.nanos;
6488
- }
6489
- if (typeof this.utcOffset !== 'undefined') {
6490
- toReturn['utcOffset'] = this.utcOffset;
6491
- }
6492
- if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
6493
- toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
6494
- }
6495
- return toReturn;
6496
- }
6497
- }
6498
- class TimeZone {
6499
- static fromProto(proto) {
6500
- let m = new TimeZone();
6501
- m = Object.assign(m, proto);
6502
- return m;
6503
- }
6504
- constructor(kwargs) {
6505
- if (!kwargs) {
6506
- return;
6507
- }
6508
- Object.assign(this, kwargs);
6509
- }
6510
- toApiJson() {
6511
- const toReturn = {};
6512
- if (typeof this.id !== 'undefined') {
6513
- toReturn['id'] = this.id;
6514
- }
6515
- if (typeof this.version !== 'undefined') {
6516
- toReturn['version'] = this.version;
6517
- }
6518
- return toReturn;
6519
- }
6520
- }
6521
-
6522
7010
  // *********************************
6523
7011
 
6524
7012
  const environment = (window ? window['environment'] : 'prod') ?? 'prod';
@@ -6546,9 +7034,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
6546
7034
 
6547
7035
  // *********************************
6548
7036
  class MeetingSourceAPIApiService {
6549
- constructor() {
6550
- this.hostService = inject(HostService$1);
6551
- this.http = inject(HttpClient);
7037
+ constructor(http, hostService) {
7038
+ this.http = http;
7039
+ this.hostService = hostService;
6552
7040
  this._host = this.hostService.hostWithScheme;
6553
7041
  }
6554
7042
  apiOptions() {
@@ -6565,18 +7053,18 @@ class MeetingSourceAPIApiService {
6565
7053
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
6566
7054
  }
6567
7055
  }
6568
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7056
+ MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
6569
7057
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
6570
7058
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
6571
7059
  type: Injectable,
6572
7060
  args: [{ providedIn: 'root' }]
6573
- }] });
7061
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6574
7062
 
6575
7063
  // *********************************
6576
7064
  class ZoomApiService {
6577
- constructor() {
6578
- this.hostService = inject(HostService$1);
6579
- this.http = inject(HttpClient);
7065
+ constructor(http, hostService) {
7066
+ this.http = http;
7067
+ this.hostService = hostService;
6580
7068
  this._host = this.hostService.hostWithScheme;
6581
7069
  }
6582
7070
  apiOptions() {
@@ -6593,18 +7081,18 @@ class ZoomApiService {
6593
7081
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
6594
7082
  }
6595
7083
  }
6596
- ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7084
+ ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
6597
7085
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
6598
7086
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
6599
7087
  type: Injectable,
6600
7088
  args: [{ providedIn: 'root' }]
6601
- }] });
7089
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6602
7090
 
6603
7091
  // *********************************
6604
7092
  class GoogleMeetApiService {
6605
- constructor() {
6606
- this.hostService = inject(HostService$1);
6607
- this.http = inject(HttpClient);
7093
+ constructor(http, hostService) {
7094
+ this.http = http;
7095
+ this.hostService = hostService;
6608
7096
  this._host = this.hostService.hostWithScheme;
6609
7097
  }
6610
7098
  apiOptions() {
@@ -6626,12 +7114,12 @@ class GoogleMeetApiService {
6626
7114
  .pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
6627
7115
  }
6628
7116
  }
6629
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7117
+ GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
6630
7118
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
6631
7119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
6632
7120
  type: Injectable,
6633
7121
  args: [{ providedIn: 'root' }]
6634
- }] });
7122
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6635
7123
 
6636
7124
  function generateMeetingPassword() {
6637
7125
  const zoomMaxLength = 10;
@@ -6793,9 +7281,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
6793
7281
 
6794
7282
  // *********************************
6795
7283
  class MeetingExternalApiService {
6796
- constructor() {
6797
- this.hostService = inject(HostService$1);
6798
- this.http = inject(HttpClient);
7284
+ constructor(http, hostService) {
7285
+ this.http = http;
7286
+ this.hostService = hostService;
6799
7287
  this._host = this.hostService.hostWithScheme;
6800
7288
  }
6801
7289
  apiOptions() {
@@ -6816,19 +7304,43 @@ class MeetingExternalApiService {
6816
7304
  return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListServices", request.toApiJson(), this.apiOptions())
6817
7305
  .pipe(map(resp => ServicesResponse.fromProto(resp)));
6818
7306
  }
7307
+ bookMeeting(r) {
7308
+ const request = (r.toApiJson) ? r : new BookMeetingExternalRequest(r);
7309
+ return this.http.post(this._host + "/meetings.v1.MeetingExternal/BookMeeting", request.toApiJson(), this.apiOptions())
7310
+ .pipe(map(resp => BookMeetingExternalResponse.fromProto(resp)));
7311
+ }
7312
+ getUsers(r) {
7313
+ const request = (r.toApiJson) ? r : new GetUsersRequest(r);
7314
+ return this.http.post(this._host + "/meetings.v1.MeetingExternal/GetUsers", request.toApiJson(), this.apiOptions())
7315
+ .pipe(map(resp => GetUsersResponse.fromProto(resp)));
7316
+ }
7317
+ listAvailableTimeSlots(r) {
7318
+ const request = (r.toApiJson) ? r : new AvailableTimeSlotsRequest(r);
7319
+ return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListAvailableTimeSlots", request.toApiJson(), this.apiOptions())
7320
+ .pipe(map(resp => AvailableTimeSlotsResponse.fromProto(resp)));
7321
+ }
7322
+ rescheduleMeeting(r) {
7323
+ const request = (r.toApiJson) ? r : new ExternalRescheduleMeetingRequest(r);
7324
+ return this.http.post(this._host + "/meetings.v1.MeetingExternal/RescheduleMeeting", request.toApiJson(), this.apiOptions())
7325
+ .pipe(map(resp => ExternalRescheduleMeetingResponse.fromProto(resp)));
7326
+ }
7327
+ cancelMeeting(r) {
7328
+ const request = (r.toApiJson) ? r : new ExternalCancelMeetingRequest(r);
7329
+ return this.http.post(this._host + "/meetings.v1.MeetingExternal/CancelMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
7330
+ }
6819
7331
  }
6820
- MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7332
+ MeetingExternalApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
6821
7333
  MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
6822
7334
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
6823
7335
  type: Injectable,
6824
7336
  args: [{ providedIn: 'root' }]
6825
- }] });
7337
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6826
7338
 
6827
7339
  // *********************************
6828
7340
  class MeetingGuestApiService {
6829
- constructor() {
6830
- this.hostService = inject(HostService$1);
6831
- this.http = inject(HttpClient);
7341
+ constructor(http, hostService) {
7342
+ this.http = http;
7343
+ this.hostService = hostService;
6832
7344
  this._host = this.hostService.hostWithScheme;
6833
7345
  }
6834
7346
  apiOptions() {
@@ -6925,19 +7437,24 @@ class MeetingGuestApiService {
6925
7437
  const request = (r.toApiJson) ? r : new InviteeDeregisterSessionMeetingRequest(r);
6926
7438
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeDeregisterSessionMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6927
7439
  }
7440
+ checkFeatureFlag(r) {
7441
+ const request = (r.toApiJson) ? r : new CheckFeatureFlagRequest(r);
7442
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/CheckFeatureFlag", request.toApiJson(), this.apiOptions())
7443
+ .pipe(map(resp => CheckFeatureFlagResponse.fromProto(resp)));
7444
+ }
6928
7445
  }
6929
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7446
+ MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
6930
7447
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
6931
7448
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
6932
7449
  type: Injectable,
6933
7450
  args: [{ providedIn: 'root' }]
6934
- }] });
7451
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6935
7452
 
6936
7453
  // *********************************
6937
7454
  class MeetingHostApiService {
6938
- constructor() {
6939
- this.hostService = inject(HostService$1);
6940
- this.http = inject(HttpClient);
7455
+ constructor(http, hostService) {
7456
+ this.http = http;
7457
+ this.hostService = hostService;
6941
7458
  this._host = this.hostService.hostWithScheme;
6942
7459
  }
6943
7460
  apiOptions() {
@@ -7194,12 +7711,12 @@ class MeetingHostApiService {
7194
7711
  .pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
7195
7712
  }
7196
7713
  }
7197
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7714
+ MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
7198
7715
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
7199
7716
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
7200
7717
  type: Injectable,
7201
7718
  args: [{ providedIn: 'root' }]
7202
- }] });
7719
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
7203
7720
 
7204
7721
  // *********************************
7205
7722
 
@@ -7829,6 +8346,9 @@ class GuestService {
7829
8346
  getMeetingCalendarInfo(req) {
7830
8347
  return this.guestAPIService.getMeetingCalendarInfo(req);
7831
8348
  }
8349
+ checkFeatureFlag(req) {
8350
+ return this.guestAPIService.checkFeatureFlag(req);
8351
+ }
7832
8352
  }
7833
8353
  GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
7834
8354
  GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });
@@ -8382,5 +8902,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
8382
8902
  * Generated bundle index. Do not edit.
8383
8903
  */
8384
8904
 
8385
- export { BookingSource, CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
8905
+ export { BookingSource, CalendarSource, CalendarType, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
8386
8906
  //# sourceMappingURL=vendasta-meetings.mjs.map