@vendasta/meetings 1.5.0 → 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 (47) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +3 -2
  2. package/esm2020/lib/_internal/enums/meeting-guest.enum.mjs +11 -0
  3. package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +7 -1
  4. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  5. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -7
  7. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/meeting-external.api.service.mjs +33 -8
  11. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +19 -8
  12. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  13. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  14. package/esm2020/lib/_internal/objects/index.mjs +3 -3
  15. package/esm2020/lib/_internal/objects/meeting-external.mjs +431 -1
  16. package/esm2020/lib/_internal/objects/meeting-guest.mjs +145 -2
  17. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  18. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  19. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  20. package/esm2020/lib/guest/guest.service.mjs +8 -2
  21. package/esm2020/lib/index.mjs +3 -3
  22. package/fesm2015/vendasta-meetings.mjs +843 -215
  23. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  24. package/fesm2020/vendasta-meetings.mjs +843 -215
  25. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  26. package/lib/_internal/enums/index.d.ts +2 -1
  27. package/lib/_internal/enums/meeting-guest.enum.d.ts +3 -0
  28. package/lib/_internal/enums/meeting-type.enum.d.ts +5 -0
  29. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  30. package/lib/_internal/interfaces/index.d.ts +2 -2
  31. package/lib/_internal/interfaces/meeting-external.interface.d.ts +88 -0
  32. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +28 -1
  33. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  34. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  35. package/lib/_internal/meeting-external.api.service.d.ts +12 -4
  36. package/lib/_internal/meeting-guest.api.service.d.ts +9 -5
  37. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  38. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  39. package/lib/_internal/objects/index.d.ts +2 -2
  40. package/lib/_internal/objects/meeting-external.d.ts +121 -0
  41. package/lib/_internal/objects/meeting-guest.d.ts +40 -1
  42. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  43. package/lib/_internal/objects/shared.d.ts +2 -1
  44. package/lib/_internal/zoom.api.service.d.ts +5 -2
  45. package/lib/guest/guest.service.d.ts +9 -1
  46. package/lib/index.d.ts +3 -3
  47. 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
@@ -149,6 +150,12 @@ var DateRangeType;
149
150
  DateRangeType[DateRangeType["RELATIVE"] = 0] = "RELATIVE";
150
151
  DateRangeType[DateRangeType["CUSTOM"] = 1] = "CUSTOM";
151
152
  })(DateRangeType || (DateRangeType = {}));
153
+ var MeetingLocation;
154
+ (function (MeetingLocation) {
155
+ MeetingLocation[MeetingLocation["VIDEO_MEETING"] = 0] = "VIDEO_MEETING";
156
+ MeetingLocation[MeetingLocation["IN_PERSON_MEETING"] = 1] = "IN_PERSON_MEETING";
157
+ MeetingLocation[MeetingLocation["HYBRID_MEETING"] = 2] = "HYBRID_MEETING";
158
+ })(MeetingLocation || (MeetingLocation = {}));
152
159
  var MeetingLocationType;
153
160
  (function (MeetingLocationType) {
154
161
  MeetingLocationType[MeetingLocationType["VIDEO"] = 0] = "VIDEO";
@@ -181,6 +188,17 @@ var TeamEventMeetingType;
181
188
  TeamEventMeetingType[TeamEventMeetingType["PRIORITY_ROUND_ROBIN"] = 3] = "PRIORITY_ROUND_ROBIN";
182
189
  })(TeamEventMeetingType || (TeamEventMeetingType = {}));
183
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
+
184
202
  // *********************************
185
203
  // Code generated by sdkgen
186
204
  // DO NOT EDIT!.
@@ -1398,12 +1416,125 @@ function enumStringToValue$a(enumRef, value) {
1398
1416
  }
1399
1417
  return enumRef[value];
1400
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
+ }
1401
1532
  class Answer {
1402
1533
  static fromProto(proto) {
1403
1534
  let m = new Answer();
1404
1535
  m = Object.assign(m, proto);
1405
1536
  if (proto.type) {
1406
- m.type = enumStringToValue$a(FormFieldType, proto.type);
1537
+ m.type = enumStringToValue$8(FormFieldType, proto.type);
1407
1538
  }
1408
1539
  return m;
1409
1540
  }
@@ -1545,7 +1676,7 @@ class Calendar {
1545
1676
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1546
1677
  }
1547
1678
  if (proto.calendarType) {
1548
- m.calendarType = enumStringToValue$a(CalendarType, proto.calendarType);
1679
+ m.calendarType = enumStringToValue$8(CalendarType, proto.calendarType);
1549
1680
  }
1550
1681
  return m;
1551
1682
  }
@@ -1853,7 +1984,7 @@ class Preferences {
1853
1984
  m.timezone = TimeZone.fromProto(proto.timezone);
1854
1985
  }
1855
1986
  if (proto.meetingIntegration) {
1856
- m.meetingIntegration = enumStringToValue$a(MeetingSource, proto.meetingIntegration);
1987
+ m.meetingIntegration = enumStringToValue$8(MeetingSource, proto.meetingIntegration);
1857
1988
  }
1858
1989
  if (proto.availabilityIncrement) {
1859
1990
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1868,10 +1999,10 @@ class Preferences {
1868
1999
  m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
1869
2000
  }
1870
2001
  if (proto.calendarIntegration) {
1871
- m.calendarIntegration = enumStringToValue$a(CalendarSource, proto.calendarIntegration);
2002
+ m.calendarIntegration = enumStringToValue$8(CalendarSource, proto.calendarIntegration);
1872
2003
  }
1873
2004
  if (proto.onBoardingState) {
1874
- m.onBoardingState = enumStringToValue$a(OnBoardingState, proto.onBoardingState);
2005
+ m.onBoardingState = enumStringToValue$8(OnBoardingState, proto.onBoardingState);
1875
2006
  }
1876
2007
  return m;
1877
2008
  }
@@ -1943,7 +2074,7 @@ class TimeRange {
1943
2074
  }
1944
2075
  }
1945
2076
 
1946
- function enumStringToValue$9(enumRef, value) {
2077
+ function enumStringToValue$7(enumRef, value) {
1947
2078
  if (typeof value === 'number') {
1948
2079
  return value;
1949
2080
  }
@@ -1979,7 +2110,7 @@ class DateRange {
1979
2110
  }
1980
2111
  }
1981
2112
 
1982
- function enumStringToValue$8(enumRef, value) {
2113
+ function enumStringToValue$6(enumRef, value) {
1983
2114
  if (typeof value === 'number') {
1984
2115
  return value;
1985
2116
  }
@@ -1990,7 +2121,7 @@ class EventTypeDateRange {
1990
2121
  let m = new EventTypeDateRange();
1991
2122
  m = Object.assign(m, proto);
1992
2123
  if (proto.dateRangeType) {
1993
- m.dateRangeType = enumStringToValue$8(DateRangeType, proto.dateRangeType);
2124
+ m.dateRangeType = enumStringToValue$6(DateRangeType, proto.dateRangeType);
1994
2125
  }
1995
2126
  if (proto.customDateRange) {
1996
2127
  m.customDateRange = DateRange.fromProto(proto.customDateRange);
@@ -2025,7 +2156,7 @@ class Field {
2025
2156
  let m = new Field();
2026
2157
  m = Object.assign(m, proto);
2027
2158
  if (proto.type) {
2028
- m.type = enumStringToValue$8(FormFieldType, proto.type);
2159
+ m.type = enumStringToValue$6(FormFieldType, proto.type);
2029
2160
  }
2030
2161
  return m;
2031
2162
  }
@@ -2092,7 +2223,7 @@ class MeetingType {
2092
2223
  m.noticeTime = parseInt(proto.noticeTime, 10);
2093
2224
  }
2094
2225
  if (proto.locationType) {
2095
- m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
2226
+ m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
2096
2227
  }
2097
2228
  if (proto.hostUsers) {
2098
2229
  m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
@@ -2104,7 +2235,7 @@ class MeetingType {
2104
2235
  m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
2105
2236
  }
2106
2237
  if (proto.meetingType) {
2107
- m.meetingType = enumStringToValue$8(TeamEventMeetingType, proto.meetingType);
2238
+ m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
2108
2239
  }
2109
2240
  if (proto.attendeeCount) {
2110
2241
  m.attendeeCount = parseInt(proto.attendeeCount, 10);
@@ -2116,7 +2247,7 @@ class MeetingType {
2116
2247
  m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
2117
2248
  }
2118
2249
  if (proto.notificationType) {
2119
- m.notificationType = enumStringToValue$8(NotificationType, proto.notificationType);
2250
+ m.notificationType = enumStringToValue$6(NotificationType, proto.notificationType);
2120
2251
  }
2121
2252
  return m;
2122
2253
  }
@@ -2241,7 +2372,7 @@ class RegistrationCutOff {
2241
2372
  let m = new RegistrationCutOff();
2242
2373
  m = Object.assign(m, proto);
2243
2374
  if (proto.unit) {
2244
- m.unit = enumStringToValue$8(RegistrationCutOffUnit, proto.unit);
2375
+ m.unit = enumStringToValue$6(RegistrationCutOffUnit, proto.unit);
2245
2376
  }
2246
2377
  if (proto.value) {
2247
2378
  m.value = parseInt(proto.value, 10);
@@ -2270,7 +2401,7 @@ class RelativeDateRange {
2270
2401
  let m = new RelativeDateRange();
2271
2402
  m = Object.assign(m, proto);
2272
2403
  if (proto.unit) {
2273
- m.unit = enumStringToValue$8(RelativeTimeUnit, proto.unit);
2404
+ m.unit = enumStringToValue$6(RelativeTimeUnit, proto.unit);
2274
2405
  }
2275
2406
  if (proto.value) {
2276
2407
  m.value = parseInt(proto.value, 10);
@@ -2295,7 +2426,7 @@ class RelativeDateRange {
2295
2426
  }
2296
2427
  }
2297
2428
 
2298
- function enumStringToValue$7(enumRef, value) {
2429
+ function enumStringToValue$5(enumRef, value) {
2299
2430
  if (typeof value === 'number') {
2300
2431
  return value;
2301
2432
  }
@@ -2440,7 +2571,7 @@ class Service {
2440
2571
  }
2441
2572
  }
2442
2573
 
2443
- function enumStringToValue$6(enumRef, value) {
2574
+ function enumStringToValue$4(enumRef, value) {
2444
2575
  if (typeof value === 'number') {
2445
2576
  return value;
2446
2577
  }
@@ -2466,7 +2597,7 @@ class BookMeetingRequest {
2466
2597
  m.formAnswers = Answers.fromProto(proto.formAnswers);
2467
2598
  }
2468
2599
  if (proto.bookingSource) {
2469
- m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
2600
+ m.bookingSource = enumStringToValue$4(BookingSource, proto.bookingSource);
2470
2601
  }
2471
2602
  return m;
2472
2603
  }
@@ -2540,6 +2671,55 @@ class BookMeetingResponse {
2540
2671
  return toReturn;
2541
2672
  }
2542
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
+ }
2543
2723
  class GetCalendarRequest {
2544
2724
  static fromProto(proto) {
2545
2725
  let m = new GetCalendarRequest();
@@ -3023,6 +3203,26 @@ class GuestGetBookedMeetingRequest {
3023
3203
  return toReturn;
3024
3204
  }
3025
3205
  }
3206
+ class GuestGetBookedMeetingRequestV2 {
3207
+ static fromProto(proto) {
3208
+ let m = new GuestGetBookedMeetingRequestV2();
3209
+ m = Object.assign(m, proto);
3210
+ return m;
3211
+ }
3212
+ constructor(kwargs) {
3213
+ if (!kwargs) {
3214
+ return;
3215
+ }
3216
+ Object.assign(this, kwargs);
3217
+ }
3218
+ toApiJson() {
3219
+ const toReturn = {};
3220
+ if (typeof this.meetingId !== 'undefined') {
3221
+ toReturn['meetingId'] = this.meetingId;
3222
+ }
3223
+ return toReturn;
3224
+ }
3225
+ }
3026
3226
  class GuestGetBookedMeetingResponse {
3027
3227
  static fromProto(proto) {
3028
3228
  let m = new GuestGetBookedMeetingResponse();
@@ -3037,10 +3237,10 @@ class GuestGetBookedMeetingResponse {
3037
3237
  m.timeZone = TimeZone.fromProto(proto.timeZone);
3038
3238
  }
3039
3239
  if (proto.locationType) {
3040
- m.locationType = enumStringToValue$6(MeetingLocationType, proto.locationType);
3240
+ m.locationType = enumStringToValue$4(MeetingLocationType, proto.locationType);
3041
3241
  }
3042
3242
  if (proto.meetingType) {
3043
- m.meetingType = enumStringToValue$6(TeamEventMeetingType, proto.meetingType);
3243
+ m.meetingType = enumStringToValue$4(TeamEventMeetingType, proto.meetingType);
3044
3244
  }
3045
3245
  return m;
3046
3246
  }
@@ -3085,6 +3285,80 @@ class GuestGetBookedMeetingResponse {
3085
3285
  return toReturn;
3086
3286
  }
3087
3287
  }
3288
+ class GuestGetBookedMeetingResponseV2 {
3289
+ static fromProto(proto) {
3290
+ let m = new GuestGetBookedMeetingResponseV2();
3291
+ m = Object.assign(m, proto);
3292
+ if (proto.startTime) {
3293
+ m.startTime = new Date(proto.startTime);
3294
+ }
3295
+ if (proto.endTime) {
3296
+ m.endTime = new Date(proto.endTime);
3297
+ }
3298
+ if (proto.meetingSource) {
3299
+ m.meetingSource = enumStringToValue$4(MeetingSource, proto.meetingSource);
3300
+ }
3301
+ if (proto.meetingLocationType) {
3302
+ m.meetingLocationType = enumStringToValue$4(MeetingLocation, proto.meetingLocationType);
3303
+ }
3304
+ if (proto.timeZone) {
3305
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3306
+ }
3307
+ return m;
3308
+ }
3309
+ constructor(kwargs) {
3310
+ if (!kwargs) {
3311
+ return;
3312
+ }
3313
+ Object.assign(this, kwargs);
3314
+ }
3315
+ toApiJson() {
3316
+ const toReturn = {};
3317
+ if (typeof this.title !== 'undefined') {
3318
+ toReturn['title'] = this.title;
3319
+ }
3320
+ if (typeof this.hostUserNames !== 'undefined') {
3321
+ toReturn['hostUserNames'] = this.hostUserNames;
3322
+ }
3323
+ if (typeof this.startTime !== 'undefined' && this.startTime !== null) {
3324
+ toReturn['startTime'] = 'toApiJson' in this.startTime ? this.startTime.toApiJson() : this.startTime;
3325
+ }
3326
+ if (typeof this.endTime !== 'undefined' && this.endTime !== null) {
3327
+ toReturn['endTime'] = 'toApiJson' in this.endTime ? this.endTime.toApiJson() : this.endTime;
3328
+ }
3329
+ if (typeof this.location !== 'undefined') {
3330
+ toReturn['location'] = this.location;
3331
+ }
3332
+ if (typeof this.meetingSourceLink !== 'undefined') {
3333
+ toReturn['meetingSourceLink'] = this.meetingSourceLink;
3334
+ }
3335
+ if (typeof this.meetingSource !== 'undefined') {
3336
+ toReturn['meetingSource'] = this.meetingSource;
3337
+ }
3338
+ if (typeof this.meetingLocationType !== 'undefined') {
3339
+ toReturn['meetingLocationType'] = this.meetingLocationType;
3340
+ }
3341
+ if (typeof this.googleCalendarLink !== 'undefined') {
3342
+ toReturn['googleCalendarLink'] = this.googleCalendarLink;
3343
+ }
3344
+ if (typeof this.outlookCalendarLink !== 'undefined') {
3345
+ toReturn['outlookCalendarLink'] = this.outlookCalendarLink;
3346
+ }
3347
+ if (typeof this.rescheduleLink !== 'undefined') {
3348
+ toReturn['rescheduleLink'] = this.rescheduleLink;
3349
+ }
3350
+ if (typeof this.cancelLink !== 'undefined') {
3351
+ toReturn['cancelLink'] = this.cancelLink;
3352
+ }
3353
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
3354
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
3355
+ }
3356
+ if (typeof this.businessLogo !== 'undefined') {
3357
+ toReturn['businessLogo'] = this.businessLogo;
3358
+ }
3359
+ return toReturn;
3360
+ }
3361
+ }
3088
3362
  class GuestIsHostConfiguredRequest {
3089
3363
  static fromProto(proto) {
3090
3364
  let m = new GuestIsHostConfiguredRequest();
@@ -3331,16 +3605,404 @@ class ListMeetingTypesResponse {
3331
3605
  }
3332
3606
  toApiJson() {
3333
3607
  const toReturn = {};
3334
- if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
3335
- toReturn['meetingTypes'] = 'toApiJson' in this.meetingTypes ? this.meetingTypes.toApiJson() : this.meetingTypes;
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;
3336
3995
  }
3337
3996
  return toReturn;
3338
3997
  }
3339
3998
  }
3340
- class BookMeetingRequestMetadataEntry {
3999
+ class GetUsersRequest {
3341
4000
  static fromProto(proto) {
3342
- let m = new BookMeetingRequestMetadataEntry();
4001
+ let m = new GetUsersRequest();
3343
4002
  m = Object.assign(m, proto);
4003
+ if (proto.pagedRequestOptions) {
4004
+ m.pagedRequestOptions = PagedRequestOptions.fromProto(proto.pagedRequestOptions);
4005
+ }
3344
4006
  return m;
3345
4007
  }
3346
4008
  constructor(kwargs) {
@@ -3351,24 +4013,30 @@ class BookMeetingRequestMetadataEntry {
3351
4013
  }
3352
4014
  toApiJson() {
3353
4015
  const toReturn = {};
3354
- if (typeof this.key !== 'undefined') {
3355
- toReturn['key'] = this.key;
4016
+ if (typeof this.partnerId !== 'undefined') {
4017
+ toReturn['partnerId'] = this.partnerId;
3356
4018
  }
3357
- if (typeof this.value !== 'undefined') {
3358
- toReturn['value'] = this.value;
4019
+ if (typeof this.businessId !== 'undefined') {
4020
+ toReturn['businessId'] = this.businessId;
4021
+ }
4022
+ if (typeof this.userId !== 'undefined') {
4023
+ toReturn['userId'] = this.userId;
4024
+ }
4025
+ if (typeof this.pagedRequestOptions !== 'undefined' && this.pagedRequestOptions !== null) {
4026
+ toReturn['pagedRequestOptions'] = 'toApiJson' in this.pagedRequestOptions ? this.pagedRequestOptions.toApiJson() : this.pagedRequestOptions;
3359
4027
  }
3360
4028
  return toReturn;
3361
4029
  }
3362
4030
  }
3363
- class RegisterSessionRequest {
4031
+ class GetUsersResponse {
3364
4032
  static fromProto(proto) {
3365
- let m = new RegisterSessionRequest();
4033
+ let m = new GetUsersResponse();
3366
4034
  m = Object.assign(m, proto);
3367
- if (proto.attendees) {
3368
- m.attendees = proto.attendees.map(Contact.fromProto);
4035
+ if (proto.users) {
4036
+ m.users = proto.users.map(UserResponse.fromProto);
3369
4037
  }
3370
- if (proto.formAnswers) {
3371
- m.formAnswers = Answers.fromProto(proto.formAnswers);
4038
+ if (proto.pagedResponseMetadata) {
4039
+ m.pagedResponseMetadata = PagedResponseMetadata.fromProto(proto.pagedResponseMetadata);
3372
4040
  }
3373
4041
  return m;
3374
4042
  }
@@ -3380,31 +4048,15 @@ class RegisterSessionRequest {
3380
4048
  }
3381
4049
  toApiJson() {
3382
4050
  const toReturn = {};
3383
- if (typeof this.meetingId !== 'undefined') {
3384
- toReturn['meetingId'] = this.meetingId;
3385
- }
3386
- if (typeof this.attendees !== 'undefined' && this.attendees !== null) {
3387
- toReturn['attendees'] = 'toApiJson' in this.attendees ? this.attendees.toApiJson() : this.attendees;
3388
- }
3389
- if (typeof this.comment !== 'undefined') {
3390
- toReturn['comment'] = this.comment;
3391
- }
3392
- if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
3393
- 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;
3394
4053
  }
3395
- if (typeof this.recaptchaToken !== 'undefined') {
3396
- 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;
3397
4056
  }
3398
4057
  return toReturn;
3399
4058
  }
3400
4059
  }
3401
-
3402
- function enumStringToValue$5(enumRef, value) {
3403
- if (typeof value === 'number') {
3404
- return value;
3405
- }
3406
- return enumRef[value];
3407
- }
3408
4060
  class GroupResponse {
3409
4061
  static fromProto(proto) {
3410
4062
  let m = new GroupResponse();
@@ -3486,6 +4138,29 @@ class GroupsResponse {
3486
4138
  return toReturn;
3487
4139
  }
3488
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
+ }
3489
4164
  class ServiceResponse {
3490
4165
  static fromProto(proto) {
3491
4166
  let m = new ServiceResponse();
@@ -3567,8 +4242,34 @@ class ServicesResponse {
3567
4242
  return toReturn;
3568
4243
  }
3569
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
+ }
3570
4271
 
3571
- function enumStringToValue$4(enumRef, value) {
4272
+ function enumStringToValue$2(enumRef, value) {
3572
4273
  if (typeof value === 'number') {
3573
4274
  return value;
3574
4275
  }
@@ -3595,7 +4296,7 @@ class FieldMask {
3595
4296
  }
3596
4297
  }
3597
4298
 
3598
- function enumStringToValue$3(enumRef, value) {
4299
+ function enumStringToValue$1(enumRef, value) {
3599
4300
  if (typeof value === 'number') {
3600
4301
  return value;
3601
4302
  }
@@ -3675,7 +4376,7 @@ class AvailabilityRule {
3675
4376
  let m = new AvailabilityRule();
3676
4377
  m = Object.assign(m, proto);
3677
4378
  if (proto.day) {
3678
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
4379
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
3679
4380
  }
3680
4381
  if (proto.timeSlot) {
3681
4382
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -4690,7 +5391,7 @@ class HostBookMeetingRequest {
4690
5391
  let m = new HostBookMeetingRequest();
4691
5392
  m = Object.assign(m, proto);
4692
5393
  if (proto.meetingSource) {
4693
- m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
5394
+ m.meetingSource = enumStringToValue$1(MeetingSource, proto.meetingSource);
4694
5395
  }
4695
5396
  if (proto.timeSlot) {
4696
5397
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
@@ -4699,7 +5400,7 @@ class HostBookMeetingRequest {
4699
5400
  m.attendees = proto.attendees.map(Contact.fromProto);
4700
5401
  }
4701
5402
  if (proto.bookingSource) {
4702
- m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
5403
+ m.bookingSource = enumStringToValue$1(BookingSource, proto.bookingSource);
4703
5404
  }
4704
5405
  return m;
4705
5406
  }
@@ -4763,7 +5464,7 @@ class HostBookSessionRequest {
4763
5464
  let m = new HostBookSessionRequest();
4764
5465
  m = Object.assign(m, proto);
4765
5466
  if (proto.locationType) {
4766
- m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
5467
+ m.locationType = enumStringToValue$1(MeetingLocationType, proto.locationType);
4767
5468
  }
4768
5469
  if (proto.maxAttendees) {
4769
5470
  m.maxAttendees = parseInt(proto.maxAttendees, 10);
@@ -5151,7 +5852,7 @@ class IsHostConfiguredResponse {
5151
5852
  let m = new IsHostConfiguredResponse();
5152
5853
  m = Object.assign(m, proto);
5153
5854
  if (proto.onBoardingState) {
5154
- m.onBoardingState = enumStringToValue$3(OnBoardingState, proto.onBoardingState);
5855
+ m.onBoardingState = enumStringToValue$1(OnBoardingState, proto.onBoardingState);
5155
5856
  }
5156
5857
  return m;
5157
5858
  }
@@ -5592,7 +6293,7 @@ class Meeting {
5592
6293
  m.hostDetails = proto.hostDetails.map(HostDetails.fromProto);
5593
6294
  }
5594
6295
  if (proto.meetingType) {
5595
- m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
6296
+ m.meetingType = enumStringToValue$1(TeamEventMeetingType, proto.meetingType);
5596
6297
  }
5597
6298
  if (proto.maxAttendeeCount) {
5598
6299
  m.maxAttendeeCount = parseInt(proto.maxAttendeeCount, 10);
@@ -5756,19 +6457,19 @@ class RecurrenceConfig {
5756
6457
  let m = new RecurrenceConfig();
5757
6458
  m = Object.assign(m, proto);
5758
6459
  if (proto.recurrence) {
5759
- m.recurrence = enumStringToValue$3(Recurrence, proto.recurrence);
6460
+ m.recurrence = enumStringToValue$1(Recurrence, proto.recurrence);
5760
6461
  }
5761
6462
  if (proto.startTime) {
5762
6463
  m.startTime = new Date(proto.startTime);
5763
6464
  }
5764
6465
  if (proto.repeatOnDays) {
5765
- m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$3(Weekday, v));
6466
+ m.repeatOnDays = proto.repeatOnDays.map((v) => enumStringToValue$1(Weekday, v));
5766
6467
  }
5767
6468
  if (proto.recurrenceEnd) {
5768
6469
  m.recurrenceEnd = RecurrenceEnd.fromProto(proto.recurrenceEnd);
5769
6470
  }
5770
6471
  if (proto.registrationMode) {
5771
- m.registrationMode = enumStringToValue$3(RegistrationMode, proto.registrationMode);
6472
+ m.registrationMode = enumStringToValue$1(RegistrationMode, proto.registrationMode);
5772
6473
  }
5773
6474
  return m;
5774
6475
  }
@@ -5893,7 +6594,7 @@ class SessionAttendees {
5893
6594
  m.formAnswers = Answers.fromProto(proto.formAnswers);
5894
6595
  }
5895
6596
  if (proto.bookingFailureReason) {
5896
- m.bookingFailureReason = enumStringToValue$3(BookingFailureReason, proto.bookingFailureReason);
6597
+ m.bookingFailureReason = enumStringToValue$1(BookingFailureReason, proto.bookingFailureReason);
5897
6598
  }
5898
6599
  return m;
5899
6600
  }
@@ -5943,7 +6644,7 @@ class SetGeneralAvailabilityRequest {
5943
6644
  let m = new SetGeneralAvailabilityRequest();
5944
6645
  m = Object.assign(m, proto);
5945
6646
  if (proto.days) {
5946
- m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
6647
+ m.days = proto.days.map((v) => enumStringToValue$1(DayOfWeek, v));
5947
6648
  }
5948
6649
  if (proto.timeSlot) {
5949
6650
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -5990,7 +6691,7 @@ class TimeSlotsByWeekDay {
5990
6691
  let m = new TimeSlotsByWeekDay();
5991
6692
  m = Object.assign(m, proto);
5992
6693
  if (proto.day) {
5993
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
6694
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
5994
6695
  }
5995
6696
  if (proto.timeSlot) {
5996
6697
  m.timeSlot = proto.timeSlot.map(TimeRange.fromProto);
@@ -6231,7 +6932,7 @@ class WeekdayAvailability {
6231
6932
  let m = new WeekdayAvailability();
6232
6933
  m = Object.assign(m, proto);
6233
6934
  if (proto.day) {
6234
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
6935
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
6235
6936
  }
6236
6937
  if (proto.timeSlots) {
6237
6938
  m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
@@ -6256,7 +6957,7 @@ class WeekdayAvailability {
6256
6957
  }
6257
6958
  }
6258
6959
 
6259
- function enumStringToValue$2(enumRef, value) {
6960
+ function enumStringToValue(enumRef, value) {
6260
6961
  if (typeof value === 'number') {
6261
6962
  return value;
6262
6963
  }
@@ -6306,119 +7007,6 @@ class MCPOptions {
6306
7007
  }
6307
7008
  }
6308
7009
 
6309
- function enumStringToValue$1(enumRef, value) {
6310
- if (typeof value === 'number') {
6311
- return value;
6312
- }
6313
- return enumRef[value];
6314
- }
6315
- class TimeOfDay {
6316
- static fromProto(proto) {
6317
- let m = new TimeOfDay();
6318
- m = Object.assign(m, proto);
6319
- return m;
6320
- }
6321
- constructor(kwargs) {
6322
- if (!kwargs) {
6323
- return;
6324
- }
6325
- Object.assign(this, kwargs);
6326
- }
6327
- toApiJson() {
6328
- const toReturn = {};
6329
- if (typeof this.hours !== 'undefined') {
6330
- toReturn['hours'] = this.hours;
6331
- }
6332
- if (typeof this.minutes !== 'undefined') {
6333
- toReturn['minutes'] = this.minutes;
6334
- }
6335
- if (typeof this.seconds !== 'undefined') {
6336
- toReturn['seconds'] = this.seconds;
6337
- }
6338
- if (typeof this.nanos !== 'undefined') {
6339
- toReturn['nanos'] = this.nanos;
6340
- }
6341
- return toReturn;
6342
- }
6343
- }
6344
-
6345
- function enumStringToValue(enumRef, value) {
6346
- if (typeof value === 'number') {
6347
- return value;
6348
- }
6349
- return enumRef[value];
6350
- }
6351
- class DateTime {
6352
- static fromProto(proto) {
6353
- let m = new DateTime();
6354
- m = Object.assign(m, proto);
6355
- if (proto.timeZone) {
6356
- m.timeZone = TimeZone.fromProto(proto.timeZone);
6357
- }
6358
- return m;
6359
- }
6360
- constructor(kwargs) {
6361
- if (!kwargs) {
6362
- return;
6363
- }
6364
- Object.assign(this, kwargs);
6365
- }
6366
- toApiJson() {
6367
- const toReturn = {};
6368
- if (typeof this.year !== 'undefined') {
6369
- toReturn['year'] = this.year;
6370
- }
6371
- if (typeof this.month !== 'undefined') {
6372
- toReturn['month'] = this.month;
6373
- }
6374
- if (typeof this.day !== 'undefined') {
6375
- toReturn['day'] = this.day;
6376
- }
6377
- if (typeof this.hours !== 'undefined') {
6378
- toReturn['hours'] = this.hours;
6379
- }
6380
- if (typeof this.minutes !== 'undefined') {
6381
- toReturn['minutes'] = this.minutes;
6382
- }
6383
- if (typeof this.seconds !== 'undefined') {
6384
- toReturn['seconds'] = this.seconds;
6385
- }
6386
- if (typeof this.nanos !== 'undefined') {
6387
- toReturn['nanos'] = this.nanos;
6388
- }
6389
- if (typeof this.utcOffset !== 'undefined') {
6390
- toReturn['utcOffset'] = this.utcOffset;
6391
- }
6392
- if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
6393
- toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
6394
- }
6395
- return toReturn;
6396
- }
6397
- }
6398
- class TimeZone {
6399
- static fromProto(proto) {
6400
- let m = new TimeZone();
6401
- m = Object.assign(m, proto);
6402
- return m;
6403
- }
6404
- constructor(kwargs) {
6405
- if (!kwargs) {
6406
- return;
6407
- }
6408
- Object.assign(this, kwargs);
6409
- }
6410
- toApiJson() {
6411
- const toReturn = {};
6412
- if (typeof this.id !== 'undefined') {
6413
- toReturn['id'] = this.id;
6414
- }
6415
- if (typeof this.version !== 'undefined') {
6416
- toReturn['version'] = this.version;
6417
- }
6418
- return toReturn;
6419
- }
6420
- }
6421
-
6422
7010
  // *********************************
6423
7011
 
6424
7012
  const environment = (window ? window['environment'] : 'prod') ?? 'prod';
@@ -6446,9 +7034,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
6446
7034
 
6447
7035
  // *********************************
6448
7036
  class MeetingSourceAPIApiService {
6449
- constructor() {
6450
- this.hostService = inject(HostService$1);
6451
- this.http = inject(HttpClient);
7037
+ constructor(http, hostService) {
7038
+ this.http = http;
7039
+ this.hostService = hostService;
6452
7040
  this._host = this.hostService.hostWithScheme;
6453
7041
  }
6454
7042
  apiOptions() {
@@ -6465,18 +7053,18 @@ class MeetingSourceAPIApiService {
6465
7053
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
6466
7054
  }
6467
7055
  }
6468
- 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 });
6469
7057
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
6470
7058
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
6471
7059
  type: Injectable,
6472
7060
  args: [{ providedIn: 'root' }]
6473
- }] });
7061
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6474
7062
 
6475
7063
  // *********************************
6476
7064
  class ZoomApiService {
6477
- constructor() {
6478
- this.hostService = inject(HostService$1);
6479
- this.http = inject(HttpClient);
7065
+ constructor(http, hostService) {
7066
+ this.http = http;
7067
+ this.hostService = hostService;
6480
7068
  this._host = this.hostService.hostWithScheme;
6481
7069
  }
6482
7070
  apiOptions() {
@@ -6493,18 +7081,18 @@ class ZoomApiService {
6493
7081
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
6494
7082
  }
6495
7083
  }
6496
- 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 });
6497
7085
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
6498
7086
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
6499
7087
  type: Injectable,
6500
7088
  args: [{ providedIn: 'root' }]
6501
- }] });
7089
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6502
7090
 
6503
7091
  // *********************************
6504
7092
  class GoogleMeetApiService {
6505
- constructor() {
6506
- this.hostService = inject(HostService$1);
6507
- this.http = inject(HttpClient);
7093
+ constructor(http, hostService) {
7094
+ this.http = http;
7095
+ this.hostService = hostService;
6508
7096
  this._host = this.hostService.hostWithScheme;
6509
7097
  }
6510
7098
  apiOptions() {
@@ -6526,12 +7114,12 @@ class GoogleMeetApiService {
6526
7114
  .pipe(map(resp => GoogleMeetListMeetingsResponse.fromProto(resp)));
6527
7115
  }
6528
7116
  }
6529
- 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 });
6530
7118
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
6531
7119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
6532
7120
  type: Injectable,
6533
7121
  args: [{ providedIn: 'root' }]
6534
- }] });
7122
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6535
7123
 
6536
7124
  function generateMeetingPassword() {
6537
7125
  const zoomMaxLength = 10;
@@ -6693,9 +7281,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
6693
7281
 
6694
7282
  // *********************************
6695
7283
  class MeetingExternalApiService {
6696
- constructor() {
6697
- this.hostService = inject(HostService$1);
6698
- this.http = inject(HttpClient);
7284
+ constructor(http, hostService) {
7285
+ this.http = http;
7286
+ this.hostService = hostService;
6699
7287
  this._host = this.hostService.hostWithScheme;
6700
7288
  }
6701
7289
  apiOptions() {
@@ -6716,19 +7304,43 @@ class MeetingExternalApiService {
6716
7304
  return this.http.post(this._host + "/meetings.v1.MeetingExternal/ListServices", request.toApiJson(), this.apiOptions())
6717
7305
  .pipe(map(resp => ServicesResponse.fromProto(resp)));
6718
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
+ }
6719
7331
  }
6720
- 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 });
6721
7333
  MeetingExternalApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, providedIn: 'root' });
6722
7334
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingExternalApiService, decorators: [{
6723
7335
  type: Injectable,
6724
7336
  args: [{ providedIn: 'root' }]
6725
- }] });
7337
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6726
7338
 
6727
7339
  // *********************************
6728
7340
  class MeetingGuestApiService {
6729
- constructor() {
6730
- this.hostService = inject(HostService$1);
6731
- this.http = inject(HttpClient);
7341
+ constructor(http, hostService) {
7342
+ this.http = http;
7343
+ this.hostService = hostService;
6732
7344
  this._host = this.hostService.hostWithScheme;
6733
7345
  }
6734
7346
  apiOptions() {
@@ -6777,6 +7389,11 @@ class MeetingGuestApiService {
6777
7389
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetGuestBookedMeeting", request.toApiJson(), this.apiOptions())
6778
7390
  .pipe(map(resp => GuestGetBookedMeetingResponse.fromProto(resp)));
6779
7391
  }
7392
+ getGuestBookedMeetingV2(r) {
7393
+ const request = (r.toApiJson) ? r : new GuestGetBookedMeetingRequestV2(r);
7394
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetGuestBookedMeetingV2", request.toApiJson(), this.apiOptions())
7395
+ .pipe(map(resp => GuestGetBookedMeetingResponseV2.fromProto(resp)));
7396
+ }
6780
7397
  getCalendar(r) {
6781
7398
  const request = (r.toApiJson) ? r : new GetCalendarRequest(r);
6782
7399
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetCalendar", request.toApiJson(), this.apiOptions())
@@ -6820,19 +7437,24 @@ class MeetingGuestApiService {
6820
7437
  const request = (r.toApiJson) ? r : new InviteeDeregisterSessionMeetingRequest(r);
6821
7438
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeDeregisterSessionMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6822
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
+ }
6823
7445
  }
6824
- 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 });
6825
7447
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
6826
7448
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
6827
7449
  type: Injectable,
6828
7450
  args: [{ providedIn: 'root' }]
6829
- }] });
7451
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
6830
7452
 
6831
7453
  // *********************************
6832
7454
  class MeetingHostApiService {
6833
- constructor() {
6834
- this.hostService = inject(HostService$1);
6835
- this.http = inject(HttpClient);
7455
+ constructor(http, hostService) {
7456
+ this.http = http;
7457
+ this.hostService = hostService;
6836
7458
  this._host = this.hostService.hostWithScheme;
6837
7459
  }
6838
7460
  apiOptions() {
@@ -7089,12 +7711,12 @@ class MeetingHostApiService {
7089
7711
  .pipe(map(resp => ListAvailableTimeslotsForRecurringSessionResponse.fromProto(resp)));
7090
7712
  }
7091
7713
  }
7092
- 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 });
7093
7715
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
7094
7716
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
7095
7717
  type: Injectable,
7096
7718
  args: [{ providedIn: 'root' }]
7097
- }] });
7719
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
7098
7720
 
7099
7721
  // *********************************
7100
7722
 
@@ -7697,6 +8319,9 @@ class GuestService {
7697
8319
  calendarId: resp.calendarId,
7698
8320
  })));
7699
8321
  }
8322
+ getGuestBookedMeetingV2(req) {
8323
+ return this.guestAPIService.getGuestBookedMeetingV2(req);
8324
+ }
7700
8325
  isHostConfigured(req) {
7701
8326
  return this.guestAPIService.isHostConfigured(req).pipe(map((resp) => resp.isConfigured));
7702
8327
  }
@@ -7721,6 +8346,9 @@ class GuestService {
7721
8346
  getMeetingCalendarInfo(req) {
7722
8347
  return this.guestAPIService.getMeetingCalendarInfo(req);
7723
8348
  }
8349
+ checkFeatureFlag(req) {
8350
+ return this.guestAPIService.checkFeatureFlag(req);
8351
+ }
7724
8352
  }
7725
8353
  GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
7726
8354
  GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });
@@ -8274,5 +8902,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
8274
8902
  * Generated bundle index. Do not edit.
8275
8903
  */
8276
8904
 
8277
- export { BookingSource, CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, 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 };
8278
8906
  //# sourceMappingURL=vendasta-meetings.mjs.map