@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
  var _a;
@@ -4848,9 +4930,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4848
4930
 
4849
4931
  // *********************************
4850
4932
  class MeetingSourceAPIApiService {
4851
- constructor() {
4852
- this.hostService = inject(HostService$1);
4853
- this.http = inject(HttpClient);
4933
+ constructor(http, hostService) {
4934
+ this.http = http;
4935
+ this.hostService = hostService;
4854
4936
  this._host = this.hostService.hostWithScheme;
4855
4937
  }
4856
4938
  apiOptions() {
@@ -4867,18 +4949,18 @@ class MeetingSourceAPIApiService {
4867
4949
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4868
4950
  }
4869
4951
  }
4870
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4952
+ 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 });
4871
4953
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4872
4954
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4873
4955
  type: Injectable,
4874
4956
  args: [{ providedIn: 'root' }]
4875
- }] });
4957
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4876
4958
 
4877
4959
  // *********************************
4878
4960
  class ZoomApiService {
4879
- constructor() {
4880
- this.hostService = inject(HostService$1);
4881
- this.http = inject(HttpClient);
4961
+ constructor(http, hostService) {
4962
+ this.http = http;
4963
+ this.hostService = hostService;
4882
4964
  this._host = this.hostService.hostWithScheme;
4883
4965
  }
4884
4966
  apiOptions() {
@@ -4895,18 +4977,18 @@ class ZoomApiService {
4895
4977
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
4896
4978
  }
4897
4979
  }
4898
- ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4980
+ 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 });
4899
4981
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
4900
4982
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
4901
4983
  type: Injectable,
4902
4984
  args: [{ providedIn: 'root' }]
4903
- }] });
4985
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4904
4986
 
4905
4987
  // *********************************
4906
4988
  class GoogleMeetApiService {
4907
- constructor() {
4908
- this.hostService = inject(HostService$1);
4909
- this.http = inject(HttpClient);
4989
+ constructor(http, hostService) {
4990
+ this.http = http;
4991
+ this.hostService = hostService;
4910
4992
  this._host = this.hostService.hostWithScheme;
4911
4993
  }
4912
4994
  apiOptions() {
@@ -4923,12 +5005,12 @@ class GoogleMeetApiService {
4923
5005
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4924
5006
  }
4925
5007
  }
4926
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5008
+ 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 });
4927
5009
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4928
5010
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4929
5011
  type: Injectable,
4930
5012
  args: [{ providedIn: 'root' }]
4931
- }] });
5013
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4932
5014
 
4933
5015
  function generateMeetingPassword() {
4934
5016
  const zoomMaxLength = 10;
@@ -5090,9 +5172,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
5090
5172
 
5091
5173
  // *********************************
5092
5174
  class MeetingBotAPIApiService {
5093
- constructor() {
5094
- this.hostService = inject(HostService$1);
5095
- this.http = inject(HttpClient);
5175
+ constructor(http, hostService) {
5176
+ this.http = http;
5177
+ this.hostService = hostService;
5096
5178
  this._host = this.hostService.hostWithScheme;
5097
5179
  }
5098
5180
  apiOptions() {
@@ -5108,18 +5190,18 @@ class MeetingBotAPIApiService {
5108
5190
  return this.http.post(this._host + "/meetings.v1.MeetingBotAPI/ScheduleBot", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
5109
5191
  }
5110
5192
  }
5111
- MeetingBotAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5193
+ 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 });
5112
5194
  MeetingBotAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, providedIn: 'root' });
5113
5195
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingBotAPIApiService, decorators: [{
5114
5196
  type: Injectable,
5115
5197
  args: [{ providedIn: 'root' }]
5116
- }] });
5198
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5117
5199
 
5118
5200
  // *********************************
5119
5201
  class MeetingGuestApiService {
5120
- constructor() {
5121
- this.hostService = inject(HostService$1);
5122
- this.http = inject(HttpClient);
5202
+ constructor(http, hostService) {
5203
+ this.http = http;
5204
+ this.hostService = hostService;
5123
5205
  this._host = this.hostService.hostWithScheme;
5124
5206
  }
5125
5207
  apiOptions() {
@@ -5189,18 +5271,18 @@ class MeetingGuestApiService {
5189
5271
  .pipe(map(resp => GetServiceResponse.fromProto(resp)));
5190
5272
  }
5191
5273
  }
5192
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5274
+ 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 });
5193
5275
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
5194
5276
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
5195
5277
  type: Injectable,
5196
5278
  args: [{ providedIn: 'root' }]
5197
- }] });
5279
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5198
5280
 
5199
5281
  // *********************************
5200
5282
  class MeetingHostApiService {
5201
- constructor() {
5202
- this.hostService = inject(HostService$1);
5203
- this.http = inject(HttpClient);
5283
+ constructor(http, hostService) {
5284
+ this.http = http;
5285
+ this.hostService = hostService;
5204
5286
  this._host = this.hostService.hostWithScheme;
5205
5287
  }
5206
5288
  apiOptions() {
@@ -5420,12 +5502,12 @@ class MeetingHostApiService {
5420
5502
  .pipe(map(resp => GetEntityAssociationResponse.fromProto(resp)));
5421
5503
  }
5422
5504
  }
5423
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5505
+ 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 });
5424
5506
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
5425
5507
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
5426
5508
  type: Injectable,
5427
5509
  args: [{ providedIn: 'root' }]
5428
- }] });
5510
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
5429
5511
 
5430
5512
  // *********************************
5431
5513
 
@@ -5569,6 +5651,7 @@ function MeetingTypeFromApi(req) {
5569
5651
  teamName: req.meetingTypeApi.teamName || '',
5570
5652
  isVideoLinkDisabled: req.meetingTypeApi.isVideoLinkDisabled || false,
5571
5653
  locationType: req.meetingTypeApi.locationType || MeetingLocationType.VIDEO,
5654
+ dateRange: req.meetingTypeApi.dateRange || {},
5572
5655
  };
5573
5656
  }
5574
5657
  function MeetingTypeToApi(req) {
@@ -5601,6 +5684,7 @@ function MeetingTypeToApi(req) {
5601
5684
  isVideoLinkDisabled: m.isVideoLinkDisabled || false,
5602
5685
  locationType: m.locationType || MeetingLocationType.VIDEO,
5603
5686
  bufferDurationBeforeMeeting: m.bufferDurationBeforeMeeting || 0,
5687
+ dateRange: m.dateRange || undefined
5604
5688
  };
5605
5689
  }
5606
5690
 
@@ -6489,5 +6573,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
6489
6573
  * Generated bundle index. Do not edit.
6490
6574
  */
6491
6575
 
6492
- 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 };
6576
+ 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 };
6493
6577
  //# sourceMappingURL=vendasta-meetings.mjs.map