@vendasta/meetings 0.98.2 → 0.98.3

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 -2
  2. package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +12 -1
  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-guest.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/meeting-bot-api.api.service.mjs +8 -7
  10. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  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-guest.mjs +2 -2
  15. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  16. package/esm2020/lib/_internal/objects/meeting-type.mjs +72 -1
  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/index.mjs +2 -2
  20. package/esm2020/lib/shared/meeting-type.mjs +3 -1
  21. package/fesm2015/vendasta-meetings.mjs +264 -180
  22. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  23. package/fesm2020/vendasta-meetings.mjs +264 -180
  24. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  25. package/lib/_internal/enums/index.d.ts +1 -1
  26. package/lib/_internal/enums/meeting-type.enum.d.ts +9 -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-guest.interface.d.ts +1 -1
  30. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  31. package/lib/_internal/interfaces/meeting-type.interface.d.ts +11 -0
  32. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  33. package/lib/_internal/meeting-bot-api.api.service.d.ts +5 -3
  34. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  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-guest.d.ts +1 -1
  39. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  40. package/lib/_internal/objects/meeting-type.d.ts +17 -0
  41. package/lib/_internal/objects/shared.d.ts +2 -1
  42. package/lib/_internal/zoom.api.service.d.ts +5 -2
  43. package/lib/index.d.ts +2 -2
  44. package/lib/shared/meeting-type.d.ts +2 -1
  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
@@ -125,12 +126,23 @@ var FormFieldType;
125
126
  //
126
127
  // Enums.
127
128
  // *********************************
129
+ var DateRangeType;
130
+ (function (DateRangeType) {
131
+ DateRangeType[DateRangeType["RELATIVE"] = 0] = "RELATIVE";
132
+ DateRangeType[DateRangeType["CUSTOM"] = 1] = "CUSTOM";
133
+ })(DateRangeType || (DateRangeType = {}));
128
134
  var MeetingLocationType;
129
135
  (function (MeetingLocationType) {
130
136
  MeetingLocationType[MeetingLocationType["VIDEO"] = 0] = "VIDEO";
131
137
  MeetingLocationType[MeetingLocationType["IN_PERSON_USER_SITE"] = 1] = "IN_PERSON_USER_SITE";
132
138
  MeetingLocationType[MeetingLocationType["IN_PERSON_CLIENT_SITE"] = 2] = "IN_PERSON_CLIENT_SITE";
133
139
  })(MeetingLocationType || (MeetingLocationType = {}));
140
+ var RelativeTimeUnit;
141
+ (function (RelativeTimeUnit) {
142
+ RelativeTimeUnit[RelativeTimeUnit["DAYS"] = 0] = "DAYS";
143
+ RelativeTimeUnit[RelativeTimeUnit["WEEKS"] = 1] = "WEEKS";
144
+ RelativeTimeUnit[RelativeTimeUnit["MONTHS"] = 2] = "MONTHS";
145
+ })(RelativeTimeUnit || (RelativeTimeUnit = {}));
134
146
 
135
147
  // *********************************
136
148
  // Code generated by sdkgen
@@ -1202,12 +1214,125 @@ function enumStringToValue$9(enumRef, value) {
1202
1214
  }
1203
1215
  return enumRef[value];
1204
1216
  }
1217
+ class TimeOfDay {
1218
+ static fromProto(proto) {
1219
+ let m = new TimeOfDay();
1220
+ m = Object.assign(m, proto);
1221
+ return m;
1222
+ }
1223
+ constructor(kwargs) {
1224
+ if (!kwargs) {
1225
+ return;
1226
+ }
1227
+ Object.assign(this, kwargs);
1228
+ }
1229
+ toApiJson() {
1230
+ const toReturn = {};
1231
+ if (typeof this.hours !== 'undefined') {
1232
+ toReturn['hours'] = this.hours;
1233
+ }
1234
+ if (typeof this.minutes !== 'undefined') {
1235
+ toReturn['minutes'] = this.minutes;
1236
+ }
1237
+ if (typeof this.seconds !== 'undefined') {
1238
+ toReturn['seconds'] = this.seconds;
1239
+ }
1240
+ if (typeof this.nanos !== 'undefined') {
1241
+ toReturn['nanos'] = this.nanos;
1242
+ }
1243
+ return toReturn;
1244
+ }
1245
+ }
1246
+
1247
+ function enumStringToValue$8(enumRef, value) {
1248
+ if (typeof value === 'number') {
1249
+ return value;
1250
+ }
1251
+ return enumRef[value];
1252
+ }
1253
+ class DateTime {
1254
+ static fromProto(proto) {
1255
+ let m = new DateTime();
1256
+ m = Object.assign(m, proto);
1257
+ if (proto.timeZone) {
1258
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
1259
+ }
1260
+ return m;
1261
+ }
1262
+ constructor(kwargs) {
1263
+ if (!kwargs) {
1264
+ return;
1265
+ }
1266
+ Object.assign(this, kwargs);
1267
+ }
1268
+ toApiJson() {
1269
+ const toReturn = {};
1270
+ if (typeof this.year !== 'undefined') {
1271
+ toReturn['year'] = this.year;
1272
+ }
1273
+ if (typeof this.month !== 'undefined') {
1274
+ toReturn['month'] = this.month;
1275
+ }
1276
+ if (typeof this.day !== 'undefined') {
1277
+ toReturn['day'] = this.day;
1278
+ }
1279
+ if (typeof this.hours !== 'undefined') {
1280
+ toReturn['hours'] = this.hours;
1281
+ }
1282
+ if (typeof this.minutes !== 'undefined') {
1283
+ toReturn['minutes'] = this.minutes;
1284
+ }
1285
+ if (typeof this.seconds !== 'undefined') {
1286
+ toReturn['seconds'] = this.seconds;
1287
+ }
1288
+ if (typeof this.nanos !== 'undefined') {
1289
+ toReturn['nanos'] = this.nanos;
1290
+ }
1291
+ if (typeof this.utcOffset !== 'undefined') {
1292
+ toReturn['utcOffset'] = this.utcOffset;
1293
+ }
1294
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
1295
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
1296
+ }
1297
+ return toReturn;
1298
+ }
1299
+ }
1300
+ class TimeZone {
1301
+ static fromProto(proto) {
1302
+ let m = new TimeZone();
1303
+ m = Object.assign(m, proto);
1304
+ return m;
1305
+ }
1306
+ constructor(kwargs) {
1307
+ if (!kwargs) {
1308
+ return;
1309
+ }
1310
+ Object.assign(this, kwargs);
1311
+ }
1312
+ toApiJson() {
1313
+ const toReturn = {};
1314
+ if (typeof this.id !== 'undefined') {
1315
+ toReturn['id'] = this.id;
1316
+ }
1317
+ if (typeof this.version !== 'undefined') {
1318
+ toReturn['version'] = this.version;
1319
+ }
1320
+ return toReturn;
1321
+ }
1322
+ }
1323
+
1324
+ function enumStringToValue$7(enumRef, value) {
1325
+ if (typeof value === 'number') {
1326
+ return value;
1327
+ }
1328
+ return enumRef[value];
1329
+ }
1205
1330
  class Answer {
1206
1331
  static fromProto(proto) {
1207
1332
  let m = new Answer();
1208
1333
  m = Object.assign(m, proto);
1209
1334
  if (proto.type) {
1210
- m.type = enumStringToValue$9(FormFieldType, proto.type);
1335
+ m.type = enumStringToValue$7(FormFieldType, proto.type);
1211
1336
  }
1212
1337
  return m;
1213
1338
  }
@@ -1349,7 +1474,7 @@ class Calendar {
1349
1474
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1350
1475
  }
1351
1476
  if (proto.calendarType) {
1352
- m.calendarType = enumStringToValue$9(CalendarType, proto.calendarType);
1477
+ m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
1353
1478
  }
1354
1479
  return m;
1355
1480
  }
@@ -1550,7 +1675,7 @@ class Preferences {
1550
1675
  m.timezone = TimeZone.fromProto(proto.timezone);
1551
1676
  }
1552
1677
  if (proto.meetingIntegration) {
1553
- m.meetingIntegration = enumStringToValue$9(MeetingSource, proto.meetingIntegration);
1678
+ m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
1554
1679
  }
1555
1680
  if (proto.availabilityIncrement) {
1556
1681
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1565,7 +1690,7 @@ class Preferences {
1565
1690
  m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
1566
1691
  }
1567
1692
  if (proto.calendarIntegration) {
1568
- m.calendarIntegration = enumStringToValue$9(CalendarSource, proto.calendarIntegration);
1693
+ m.calendarIntegration = enumStringToValue$7(CalendarSource, proto.calendarIntegration);
1569
1694
  }
1570
1695
  return m;
1571
1696
  }
@@ -1634,18 +1759,89 @@ class TimeRange {
1634
1759
  }
1635
1760
  }
1636
1761
 
1637
- function enumStringToValue$8(enumRef, value) {
1762
+ function enumStringToValue$6(enumRef, value) {
1638
1763
  if (typeof value === 'number') {
1639
1764
  return value;
1640
1765
  }
1641
1766
  return enumRef[value];
1642
1767
  }
1768
+ class DateRange {
1769
+ static fromProto(proto) {
1770
+ let m = new DateRange();
1771
+ m = Object.assign(m, proto);
1772
+ if (proto.start) {
1773
+ m.start = new Date(proto.start);
1774
+ }
1775
+ if (proto.end) {
1776
+ m.end = new Date(proto.end);
1777
+ }
1778
+ return m;
1779
+ }
1780
+ constructor(kwargs) {
1781
+ if (!kwargs) {
1782
+ return;
1783
+ }
1784
+ Object.assign(this, kwargs);
1785
+ }
1786
+ toApiJson() {
1787
+ const toReturn = {};
1788
+ if (typeof this.start !== 'undefined' && this.start !== null) {
1789
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
1790
+ }
1791
+ if (typeof this.end !== 'undefined' && this.end !== null) {
1792
+ toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;
1793
+ }
1794
+ return toReturn;
1795
+ }
1796
+ }
1797
+
1798
+ function enumStringToValue$5(enumRef, value) {
1799
+ if (typeof value === 'number') {
1800
+ return value;
1801
+ }
1802
+ return enumRef[value];
1803
+ }
1804
+ class EventTypeDateRange {
1805
+ static fromProto(proto) {
1806
+ let m = new EventTypeDateRange();
1807
+ m = Object.assign(m, proto);
1808
+ if (proto.dateRangeType) {
1809
+ m.dateRangeType = enumStringToValue$5(DateRangeType, proto.dateRangeType);
1810
+ }
1811
+ if (proto.customDateRange) {
1812
+ m.customDateRange = DateRange.fromProto(proto.customDateRange);
1813
+ }
1814
+ if (proto.relativeDateRange) {
1815
+ m.relativeDateRange = RelativeDateRange.fromProto(proto.relativeDateRange);
1816
+ }
1817
+ return m;
1818
+ }
1819
+ constructor(kwargs) {
1820
+ if (!kwargs) {
1821
+ return;
1822
+ }
1823
+ Object.assign(this, kwargs);
1824
+ }
1825
+ toApiJson() {
1826
+ const toReturn = {};
1827
+ if (typeof this.dateRangeType !== 'undefined') {
1828
+ toReturn['dateRangeType'] = this.dateRangeType;
1829
+ }
1830
+ if (typeof this.customDateRange !== 'undefined' && this.customDateRange !== null) {
1831
+ toReturn['customDateRange'] = 'toApiJson' in this.customDateRange ? this.customDateRange.toApiJson() : this.customDateRange;
1832
+ }
1833
+ if (typeof this.relativeDateRange !== 'undefined' && this.relativeDateRange !== null) {
1834
+ toReturn['relativeDateRange'] = 'toApiJson' in this.relativeDateRange ? this.relativeDateRange.toApiJson() : this.relativeDateRange;
1835
+ }
1836
+ return toReturn;
1837
+ }
1838
+ }
1643
1839
  class Field {
1644
1840
  static fromProto(proto) {
1645
1841
  let m = new Field();
1646
1842
  m = Object.assign(m, proto);
1647
1843
  if (proto.type) {
1648
- m.type = enumStringToValue$8(FormFieldType, proto.type);
1844
+ m.type = enumStringToValue$5(FormFieldType, proto.type);
1649
1845
  }
1650
1846
  return m;
1651
1847
  }
@@ -1712,7 +1908,7 @@ class MeetingType {
1712
1908
  m.noticeTime = parseInt(proto.noticeTime, 10);
1713
1909
  }
1714
1910
  if (proto.locationType) {
1715
- m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
1911
+ m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
1716
1912
  }
1717
1913
  if (proto.hostUsers) {
1718
1914
  m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
@@ -1720,6 +1916,9 @@ class MeetingType {
1720
1916
  if (proto.bufferDurationBeforeMeeting) {
1721
1917
  m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
1722
1918
  }
1919
+ if (proto.dateRange) {
1920
+ m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
1921
+ }
1723
1922
  return m;
1724
1923
  }
1725
1924
  constructor(kwargs) {
@@ -1811,25 +2010,21 @@ class MeetingType {
1811
2010
  if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
1812
2011
  toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
1813
2012
  }
2013
+ if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
2014
+ toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;
2015
+ }
1814
2016
  return toReturn;
1815
2017
  }
1816
2018
  }
1817
-
1818
- function enumStringToValue$7(enumRef, value) {
1819
- if (typeof value === 'number') {
1820
- return value;
1821
- }
1822
- return enumRef[value];
1823
- }
1824
- class DateRange {
2019
+ class RelativeDateRange {
1825
2020
  static fromProto(proto) {
1826
- let m = new DateRange();
2021
+ let m = new RelativeDateRange();
1827
2022
  m = Object.assign(m, proto);
1828
- if (proto.start) {
1829
- m.start = new Date(proto.start);
2023
+ if (proto.unit) {
2024
+ m.unit = enumStringToValue$5(RelativeTimeUnit, proto.unit);
1830
2025
  }
1831
- if (proto.end) {
1832
- m.end = new Date(proto.end);
2026
+ if (proto.value) {
2027
+ m.value = parseInt(proto.value, 10);
1833
2028
  }
1834
2029
  return m;
1835
2030
  }
@@ -1841,17 +2036,17 @@ class DateRange {
1841
2036
  }
1842
2037
  toApiJson() {
1843
2038
  const toReturn = {};
1844
- if (typeof this.start !== 'undefined' && this.start !== null) {
1845
- toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
2039
+ if (typeof this.unit !== 'undefined') {
2040
+ toReturn['unit'] = this.unit;
1846
2041
  }
1847
- if (typeof this.end !== 'undefined' && this.end !== null) {
1848
- toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;
2042
+ if (typeof this.value !== 'undefined') {
2043
+ toReturn['value'] = this.value;
1849
2044
  }
1850
2045
  return toReturn;
1851
2046
  }
1852
2047
  }
1853
2048
 
1854
- function enumStringToValue$6(enumRef, value) {
2049
+ function enumStringToValue$4(enumRef, value) {
1855
2050
  if (typeof value === 'number') {
1856
2051
  return value;
1857
2052
  }
@@ -1996,7 +2191,7 @@ class Service {
1996
2191
  }
1997
2192
  }
1998
2193
 
1999
- function enumStringToValue$5(enumRef, value) {
2194
+ function enumStringToValue$3(enumRef, value) {
2000
2195
  if (typeof value === 'number') {
2001
2196
  return value;
2002
2197
  }
@@ -2389,7 +2584,7 @@ class GuestGetBookedMeetingResponse {
2389
2584
  m.timeZone = TimeZone.fromProto(proto.timeZone);
2390
2585
  }
2391
2586
  if (proto.locationType) {
2392
- m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
2587
+ m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
2393
2588
  }
2394
2589
  return m;
2395
2590
  }
@@ -2631,7 +2826,7 @@ class BookMeetingRequestMetadataEntry {
2631
2826
  }
2632
2827
  }
2633
2828
 
2634
- function enumStringToValue$4(enumRef, value) {
2829
+ function enumStringToValue$2(enumRef, value) {
2635
2830
  if (typeof value === 'number') {
2636
2831
  return value;
2637
2832
  }
@@ -2658,7 +2853,7 @@ class FieldMask {
2658
2853
  }
2659
2854
  }
2660
2855
 
2661
- function enumStringToValue$3(enumRef, value) {
2856
+ function enumStringToValue$1(enumRef, value) {
2662
2857
  if (typeof value === 'number') {
2663
2858
  return value;
2664
2859
  }
@@ -2738,7 +2933,7 @@ class AvailabilityRule {
2738
2933
  let m = new AvailabilityRule();
2739
2934
  m = Object.assign(m, proto);
2740
2935
  if (proto.day) {
2741
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
2936
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
2742
2937
  }
2743
2938
  if (proto.timeSlot) {
2744
2939
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -3675,7 +3870,7 @@ class HostBookMeetingRequest {
3675
3870
  let m = new HostBookMeetingRequest();
3676
3871
  m = Object.assign(m, proto);
3677
3872
  if (proto.meetingSource) {
3678
- m.meetingSource = enumStringToValue$3(MeetingSource, proto.meetingSource);
3873
+ m.meetingSource = enumStringToValue$1(MeetingSource, proto.meetingSource);
3679
3874
  }
3680
3875
  if (proto.timeSlot) {
3681
3876
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
@@ -4387,7 +4582,7 @@ class SetGeneralAvailabilityRequest {
4387
4582
  let m = new SetGeneralAvailabilityRequest();
4388
4583
  m = Object.assign(m, proto);
4389
4584
  if (proto.days) {
4390
- m.days = proto.days.map((v) => enumStringToValue$3(DayOfWeek, v));
4585
+ m.days = proto.days.map((v) => enumStringToValue$1(DayOfWeek, v));
4391
4586
  }
4392
4587
  if (proto.timeSlot) {
4393
4588
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -4646,7 +4841,7 @@ class WeekdayAvailability {
4646
4841
  let m = new WeekdayAvailability();
4647
4842
  m = Object.assign(m, proto);
4648
4843
  if (proto.day) {
4649
- m.day = enumStringToValue$3(DayOfWeek, proto.day);
4844
+ m.day = enumStringToValue$1(DayOfWeek, proto.day);
4650
4845
  }
4651
4846
  if (proto.timeSlots) {
4652
4847
  m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
@@ -4671,7 +4866,7 @@ class WeekdayAvailability {
4671
4866
  }
4672
4867
  }
4673
4868
 
4674
- function enumStringToValue$2(enumRef, value) {
4869
+ function enumStringToValue(enumRef, value) {
4675
4870
  if (typeof value === 'number') {
4676
4871
  return value;
4677
4872
  }
@@ -4707,119 +4902,6 @@ class ScheduleBotRequest {
4707
4902
  }
4708
4903
  }
4709
4904
 
4710
- function enumStringToValue$1(enumRef, value) {
4711
- if (typeof value === 'number') {
4712
- return value;
4713
- }
4714
- return enumRef[value];
4715
- }
4716
- class TimeOfDay {
4717
- static fromProto(proto) {
4718
- let m = new TimeOfDay();
4719
- m = Object.assign(m, proto);
4720
- return m;
4721
- }
4722
- constructor(kwargs) {
4723
- if (!kwargs) {
4724
- return;
4725
- }
4726
- Object.assign(this, kwargs);
4727
- }
4728
- toApiJson() {
4729
- const toReturn = {};
4730
- if (typeof this.hours !== 'undefined') {
4731
- toReturn['hours'] = this.hours;
4732
- }
4733
- if (typeof this.minutes !== 'undefined') {
4734
- toReturn['minutes'] = this.minutes;
4735
- }
4736
- if (typeof this.seconds !== 'undefined') {
4737
- toReturn['seconds'] = this.seconds;
4738
- }
4739
- if (typeof this.nanos !== 'undefined') {
4740
- toReturn['nanos'] = this.nanos;
4741
- }
4742
- return toReturn;
4743
- }
4744
- }
4745
-
4746
- function enumStringToValue(enumRef, value) {
4747
- if (typeof value === 'number') {
4748
- return value;
4749
- }
4750
- return enumRef[value];
4751
- }
4752
- class DateTime {
4753
- static fromProto(proto) {
4754
- let m = new DateTime();
4755
- m = Object.assign(m, proto);
4756
- if (proto.timeZone) {
4757
- m.timeZone = TimeZone.fromProto(proto.timeZone);
4758
- }
4759
- return m;
4760
- }
4761
- constructor(kwargs) {
4762
- if (!kwargs) {
4763
- return;
4764
- }
4765
- Object.assign(this, kwargs);
4766
- }
4767
- toApiJson() {
4768
- const toReturn = {};
4769
- if (typeof this.year !== 'undefined') {
4770
- toReturn['year'] = this.year;
4771
- }
4772
- if (typeof this.month !== 'undefined') {
4773
- toReturn['month'] = this.month;
4774
- }
4775
- if (typeof this.day !== 'undefined') {
4776
- toReturn['day'] = this.day;
4777
- }
4778
- if (typeof this.hours !== 'undefined') {
4779
- toReturn['hours'] = this.hours;
4780
- }
4781
- if (typeof this.minutes !== 'undefined') {
4782
- toReturn['minutes'] = this.minutes;
4783
- }
4784
- if (typeof this.seconds !== 'undefined') {
4785
- toReturn['seconds'] = this.seconds;
4786
- }
4787
- if (typeof this.nanos !== 'undefined') {
4788
- toReturn['nanos'] = this.nanos;
4789
- }
4790
- if (typeof this.utcOffset !== 'undefined') {
4791
- toReturn['utcOffset'] = this.utcOffset;
4792
- }
4793
- if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
4794
- toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
4795
- }
4796
- return toReturn;
4797
- }
4798
- }
4799
- class TimeZone {
4800
- static fromProto(proto) {
4801
- let m = new TimeZone();
4802
- m = Object.assign(m, proto);
4803
- return m;
4804
- }
4805
- constructor(kwargs) {
4806
- if (!kwargs) {
4807
- return;
4808
- }
4809
- Object.assign(this, kwargs);
4810
- }
4811
- toApiJson() {
4812
- const toReturn = {};
4813
- if (typeof this.id !== 'undefined') {
4814
- toReturn['id'] = this.id;
4815
- }
4816
- if (typeof this.version !== 'undefined') {
4817
- toReturn['version'] = this.version;
4818
- }
4819
- return toReturn;
4820
- }
4821
- }
4822
-
4823
4905
  // *********************************
4824
4906
 
4825
4907
  const environment = (window ? window['environment'] : 'prod') ?? 'prod';
@@ -4847,9 +4929,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4847
4929
 
4848
4930
  // *********************************
4849
4931
  class MeetingSourceAPIApiService {
4850
- constructor() {
4851
- this.hostService = inject(HostService$1);
4852
- this.http = inject(HttpClient);
4932
+ constructor(http, hostService) {
4933
+ this.http = http;
4934
+ this.hostService = hostService;
4853
4935
  this._host = this.hostService.hostWithScheme;
4854
4936
  }
4855
4937
  apiOptions() {
@@ -4866,18 +4948,18 @@ class MeetingSourceAPIApiService {
4866
4948
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4867
4949
  }
4868
4950
  }
4869
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4951
+ 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 });
4870
4952
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4871
4953
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4872
4954
  type: Injectable,
4873
4955
  args: [{ providedIn: 'root' }]
4874
- }] });
4956
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4875
4957
 
4876
4958
  // *********************************
4877
4959
  class ZoomApiService {
4878
- constructor() {
4879
- this.hostService = inject(HostService$1);
4880
- this.http = inject(HttpClient);
4960
+ constructor(http, hostService) {
4961
+ this.http = http;
4962
+ this.hostService = hostService;
4881
4963
  this._host = this.hostService.hostWithScheme;
4882
4964
  }
4883
4965
  apiOptions() {
@@ -4894,18 +4976,18 @@ class ZoomApiService {
4894
4976
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
4895
4977
  }
4896
4978
  }
4897
- ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4979
+ 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 });
4898
4980
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
4899
4981
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
4900
4982
  type: Injectable,
4901
4983
  args: [{ providedIn: 'root' }]
4902
- }] });
4984
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4903
4985
 
4904
4986
  // *********************************
4905
4987
  class GoogleMeetApiService {
4906
- constructor() {
4907
- this.hostService = inject(HostService$1);
4908
- this.http = inject(HttpClient);
4988
+ constructor(http, hostService) {
4989
+ this.http = http;
4990
+ this.hostService = hostService;
4909
4991
  this._host = this.hostService.hostWithScheme;
4910
4992
  }
4911
4993
  apiOptions() {
@@ -4922,12 +5004,12 @@ class GoogleMeetApiService {
4922
5004
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4923
5005
  }
4924
5006
  }
4925
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5007
+ 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 });
4926
5008
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4927
5009
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4928
5010
  type: Injectable,
4929
5011
  args: [{ providedIn: 'root' }]
4930
- }] });
5012
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4931
5013
 
4932
5014
  function generateMeetingPassword() {
4933
5015
  const zoomMaxLength = 10;
@@ -5089,9 +5171,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
5089
5171
 
5090
5172
  // *********************************
5091
5173
  class MeetingBotAPIApiService {
5092
- constructor() {
5093
- this.hostService = inject(HostService$1);
5094
- this.http = inject(HttpClient);
5174
+ constructor(http, hostService) {
5175
+ this.http = http;
5176
+ this.hostService = hostService;
5095
5177
  this._host = this.hostService.hostWithScheme;
5096
5178
  }
5097
5179
  apiOptions() {
@@ -5107,18 +5189,18 @@ class MeetingBotAPIApiService {
5107
5189
  return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ScheduleBot", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
5108
5190
  }
5109
5191
  }
5110
- MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5192
+ MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
5111
5193
  MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
5112
5194
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
5113
5195
  type: Injectable,
5114
5196
  args: [{ providedIn: 'root' }]
5115
- }] });
5197
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5116
5198
 
5117
5199
  // *********************************
5118
5200
  class MeetingGuestApiService {
5119
- constructor() {
5120
- this.hostService = inject(HostService$1);
5121
- this.http = inject(HttpClient);
5201
+ constructor(http, hostService) {
5202
+ this.http = http;
5203
+ this.hostService = hostService;
5122
5204
  this._host = this.hostService.hostWithScheme;
5123
5205
  }
5124
5206
  apiOptions() {
@@ -5188,18 +5270,18 @@ class MeetingGuestApiService {
5188
5270
  .pipe(map(resp => GetServiceResponse.fromProto(resp)));
5189
5271
  }
5190
5272
  }
5191
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5273
+ 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 });
5192
5274
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
5193
5275
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
5194
5276
  type: Injectable,
5195
5277
  args: [{ providedIn: 'root' }]
5196
- }] });
5278
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5197
5279
 
5198
5280
  // *********************************
5199
5281
  class MeetingHostApiService {
5200
- constructor() {
5201
- this.hostService = inject(HostService$1);
5202
- this.http = inject(HttpClient);
5282
+ constructor(http, hostService) {
5283
+ this.http = http;
5284
+ this.hostService = hostService;
5203
5285
  this._host = this.hostService.hostWithScheme;
5204
5286
  }
5205
5287
  apiOptions() {
@@ -5419,12 +5501,12 @@ class MeetingHostApiService {
5419
5501
  .pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
5420
5502
  }
5421
5503
  }
5422
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5504
+ 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 });
5423
5505
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
5424
5506
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
5425
5507
  type: Injectable,
5426
5508
  args: [{ providedIn: 'root' }]
5427
- }] });
5509
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5428
5510
 
5429
5511
  // *********************************
5430
5512
 
@@ -5576,6 +5658,7 @@ function MeetingTypeFromApi(req) {
5576
5658
  teamName: req.meetingTypeApi.teamName || '',
5577
5659
  isVideoLinkDisabled: req.meetingTypeApi.isVideoLinkDisabled || false,
5578
5660
  locationType: req.meetingTypeApi.locationType || MeetingLocationType.VIDEO,
5661
+ dateRange: req.meetingTypeApi.dateRange || {},
5579
5662
  };
5580
5663
  }
5581
5664
  function MeetingTypeToApi(req) {
@@ -5608,6 +5691,7 @@ function MeetingTypeToApi(req) {
5608
5691
  isVideoLinkDisabled: m.isVideoLinkDisabled || false,
5609
5692
  locationType: m.locationType || MeetingLocationType.VIDEO,
5610
5693
  bufferDurationBeforeMeeting: m.bufferDurationBeforeMeeting || 0,
5694
+ dateRange: m.dateRange || undefined
5611
5695
  };
5612
5696
  }
5613
5697
 
@@ -6526,5 +6610,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
6526
6610
  * Generated bundle index. Do not edit.
6527
6611
  */
6528
6612
 
6529
- export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
6613
+ export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, RelativeTimeUnit, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
6530
6614
  //# sourceMappingURL=vendasta-meetings.mjs.map