@vendasta/meetings 0.84.0 → 0.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
  2. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
  7. package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -8
  8. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
  9. package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
  10. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  11. package/esm2020/lib/_internal/objects/meeting-type.mjs +4 -1
  12. package/esm2020/lib/_internal/objects/shared.mjs +2 -3
  13. package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
  14. package/esm2020/lib/shared/meeting-type.mjs +3 -1
  15. package/fesm2015/vendasta-meetings.mjs +158 -154
  16. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  17. package/fesm2020/vendasta-meetings.mjs +158 -154
  18. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  19. package/lib/_internal/google-meet.api.service.d.ts +2 -5
  20. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
  21. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  22. package/lib/_internal/interfaces/meeting-type.interface.d.ts +1 -0
  23. package/lib/_internal/interfaces/shared.interface.d.ts +1 -2
  24. package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
  25. package/lib/_internal/meeting-host.api.service.d.ts +3 -5
  26. package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
  27. package/lib/_internal/objects/meeting-guest.d.ts +1 -1
  28. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  29. package/lib/_internal/objects/meeting-type.d.ts +1 -0
  30. package/lib/_internal/objects/shared.d.ts +1 -2
  31. package/lib/_internal/zoom.api.service.d.ts +2 -5
  32. package/lib/shared/meeting-type.d.ts +1 -0
  33. package/package.json +1 -1
@@ -1,9 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
2
+ import { Injectable, inject } from '@angular/core';
3
3
  import { throwError, of } from 'rxjs';
4
4
  import { map, mapTo } from 'rxjs/operators';
5
- import * as i1 from '@angular/common/http';
6
- import { HttpHeaders } from '@angular/common/http';
5
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
7
6
 
8
7
  // *********************************
9
8
  // Code generated by sdkgen
@@ -1174,125 +1173,12 @@ function enumStringToValue$7(enumRef, value) {
1174
1173
  }
1175
1174
  return enumRef[value];
1176
1175
  }
1177
- class TimeOfDay {
1178
- static fromProto(proto) {
1179
- let m = new TimeOfDay();
1180
- m = Object.assign(m, proto);
1181
- return m;
1182
- }
1183
- constructor(kwargs) {
1184
- if (!kwargs) {
1185
- return;
1186
- }
1187
- Object.assign(this, kwargs);
1188
- }
1189
- toApiJson() {
1190
- const toReturn = {};
1191
- if (typeof this.hours !== 'undefined') {
1192
- toReturn['hours'] = this.hours;
1193
- }
1194
- if (typeof this.minutes !== 'undefined') {
1195
- toReturn['minutes'] = this.minutes;
1196
- }
1197
- if (typeof this.seconds !== 'undefined') {
1198
- toReturn['seconds'] = this.seconds;
1199
- }
1200
- if (typeof this.nanos !== 'undefined') {
1201
- toReturn['nanos'] = this.nanos;
1202
- }
1203
- return toReturn;
1204
- }
1205
- }
1206
-
1207
- function enumStringToValue$6(enumRef, value) {
1208
- if (typeof value === 'number') {
1209
- return value;
1210
- }
1211
- return enumRef[value];
1212
- }
1213
- class DateTime {
1214
- static fromProto(proto) {
1215
- let m = new DateTime();
1216
- m = Object.assign(m, proto);
1217
- if (proto.timeZone) {
1218
- m.timeZone = TimeZone.fromProto(proto.timeZone);
1219
- }
1220
- return m;
1221
- }
1222
- constructor(kwargs) {
1223
- if (!kwargs) {
1224
- return;
1225
- }
1226
- Object.assign(this, kwargs);
1227
- }
1228
- toApiJson() {
1229
- const toReturn = {};
1230
- if (typeof this.year !== 'undefined') {
1231
- toReturn['year'] = this.year;
1232
- }
1233
- if (typeof this.month !== 'undefined') {
1234
- toReturn['month'] = this.month;
1235
- }
1236
- if (typeof this.day !== 'undefined') {
1237
- toReturn['day'] = this.day;
1238
- }
1239
- if (typeof this.hours !== 'undefined') {
1240
- toReturn['hours'] = this.hours;
1241
- }
1242
- if (typeof this.minutes !== 'undefined') {
1243
- toReturn['minutes'] = this.minutes;
1244
- }
1245
- if (typeof this.seconds !== 'undefined') {
1246
- toReturn['seconds'] = this.seconds;
1247
- }
1248
- if (typeof this.nanos !== 'undefined') {
1249
- toReturn['nanos'] = this.nanos;
1250
- }
1251
- if (typeof this.utcOffset !== 'undefined') {
1252
- toReturn['utcOffset'] = this.utcOffset;
1253
- }
1254
- if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
1255
- toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
1256
- }
1257
- return toReturn;
1258
- }
1259
- }
1260
- class TimeZone {
1261
- static fromProto(proto) {
1262
- let m = new TimeZone();
1263
- m = Object.assign(m, proto);
1264
- return m;
1265
- }
1266
- constructor(kwargs) {
1267
- if (!kwargs) {
1268
- return;
1269
- }
1270
- Object.assign(this, kwargs);
1271
- }
1272
- toApiJson() {
1273
- const toReturn = {};
1274
- if (typeof this.id !== 'undefined') {
1275
- toReturn['id'] = this.id;
1276
- }
1277
- if (typeof this.version !== 'undefined') {
1278
- toReturn['version'] = this.version;
1279
- }
1280
- return toReturn;
1281
- }
1282
- }
1283
-
1284
- function enumStringToValue$5(enumRef, value) {
1285
- if (typeof value === 'number') {
1286
- return value;
1287
- }
1288
- return enumRef[value];
1289
- }
1290
1176
  class Answer {
1291
1177
  static fromProto(proto) {
1292
1178
  let m = new Answer();
1293
1179
  m = Object.assign(m, proto);
1294
1180
  if (proto.type) {
1295
- m.type = enumStringToValue$5(FormFieldType, proto.type);
1181
+ m.type = enumStringToValue$7(FormFieldType, proto.type);
1296
1182
  }
1297
1183
  return m;
1298
1184
  }
@@ -1434,7 +1320,7 @@ class Calendar {
1434
1320
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1435
1321
  }
1436
1322
  if (proto.calendarType) {
1437
- m.calendarType = enumStringToValue$5(CalendarType, proto.calendarType);
1323
+ m.calendarType = enumStringToValue$7(CalendarType, proto.calendarType);
1438
1324
  }
1439
1325
  return m;
1440
1326
  }
@@ -1632,7 +1518,7 @@ class Preferences {
1632
1518
  m.timezone = TimeZone.fromProto(proto.timezone);
1633
1519
  }
1634
1520
  if (proto.meetingIntegration) {
1635
- m.meetingIntegration = enumStringToValue$5(MeetingSource, proto.meetingIntegration);
1521
+ m.meetingIntegration = enumStringToValue$7(MeetingSource, proto.meetingIntegration);
1636
1522
  }
1637
1523
  if (proto.availabilityIncrement) {
1638
1524
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1704,7 +1590,7 @@ class TimeRange {
1704
1590
  }
1705
1591
  }
1706
1592
 
1707
- function enumStringToValue$4(enumRef, value) {
1593
+ function enumStringToValue$6(enumRef, value) {
1708
1594
  if (typeof value === 'number') {
1709
1595
  return value;
1710
1596
  }
@@ -1715,7 +1601,7 @@ class Field {
1715
1601
  let m = new Field();
1716
1602
  m = Object.assign(m, proto);
1717
1603
  if (proto.type) {
1718
- m.type = enumStringToValue$4(FormFieldType, proto.type);
1604
+ m.type = enumStringToValue$6(FormFieldType, proto.type);
1719
1605
  }
1720
1606
  return m;
1721
1607
  }
@@ -1854,11 +1740,14 @@ class MeetingType {
1854
1740
  if (typeof this.emailDescription !== 'undefined') {
1855
1741
  toReturn['emailDescription'] = this.emailDescription;
1856
1742
  }
1743
+ if (typeof this.isPinned !== 'undefined') {
1744
+ toReturn['isPinned'] = this.isPinned;
1745
+ }
1857
1746
  return toReturn;
1858
1747
  }
1859
1748
  }
1860
1749
 
1861
- function enumStringToValue$3(enumRef, value) {
1750
+ function enumStringToValue$5(enumRef, value) {
1862
1751
  if (typeof value === 'number') {
1863
1752
  return value;
1864
1753
  }
@@ -1894,7 +1783,7 @@ class DateRange {
1894
1783
  }
1895
1784
  }
1896
1785
 
1897
- function enumStringToValue$2(enumRef, value) {
1786
+ function enumStringToValue$4(enumRef, value) {
1898
1787
  if (typeof value === 'number') {
1899
1788
  return value;
1900
1789
  }
@@ -2416,7 +2305,7 @@ class BookMeetingRequestMetadataEntry {
2416
2305
  }
2417
2306
  }
2418
2307
 
2419
- function enumStringToValue$1(enumRef, value) {
2308
+ function enumStringToValue$3(enumRef, value) {
2420
2309
  if (typeof value === 'number') {
2421
2310
  return value;
2422
2311
  }
@@ -2443,7 +2332,7 @@ class FieldMask {
2443
2332
  }
2444
2333
  }
2445
2334
 
2446
- function enumStringToValue(enumRef, value) {
2335
+ function enumStringToValue$2(enumRef, value) {
2447
2336
  if (typeof value === 'number') {
2448
2337
  return value;
2449
2338
  }
@@ -2523,7 +2412,7 @@ class AvailabilityRule {
2523
2412
  let m = new AvailabilityRule();
2524
2413
  m = Object.assign(m, proto);
2525
2414
  if (proto.day) {
2526
- m.day = enumStringToValue(DayOfWeek, proto.day);
2415
+ m.day = enumStringToValue$2(DayOfWeek, proto.day);
2527
2416
  }
2528
2417
  if (proto.timeSlot) {
2529
2418
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -3201,7 +3090,7 @@ class HostBookMeetingRequest {
3201
3090
  let m = new HostBookMeetingRequest();
3202
3091
  m = Object.assign(m, proto);
3203
3092
  if (proto.meetingSource) {
3204
- m.meetingSource = enumStringToValue(MeetingSource, proto.meetingSource);
3093
+ m.meetingSource = enumStringToValue$2(MeetingSource, proto.meetingSource);
3205
3094
  }
3206
3095
  if (proto.timeSlot) {
3207
3096
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
@@ -3824,7 +3713,7 @@ class SetGeneralAvailabilityRequest {
3824
3713
  let m = new SetGeneralAvailabilityRequest();
3825
3714
  m = Object.assign(m, proto);
3826
3715
  if (proto.days) {
3827
- m.days = proto.days.map((v) => enumStringToValue(DayOfWeek, v));
3716
+ m.days = proto.days.map((v) => enumStringToValue$2(DayOfWeek, v));
3828
3717
  }
3829
3718
  if (proto.timeSlot) {
3830
3719
  m.timeSlot = TimeRange.fromProto(proto.timeSlot);
@@ -4013,7 +3902,7 @@ class WeekdayAvailability {
4013
3902
  let m = new WeekdayAvailability();
4014
3903
  m = Object.assign(m, proto);
4015
3904
  if (proto.day) {
4016
- m.day = enumStringToValue(DayOfWeek, proto.day);
3905
+ m.day = enumStringToValue$2(DayOfWeek, proto.day);
4017
3906
  }
4018
3907
  if (proto.timeSlots) {
4019
3908
  m.timeSlots = proto.timeSlots.map(TimeRange.fromProto);
@@ -4038,6 +3927,119 @@ class WeekdayAvailability {
4038
3927
  }
4039
3928
  }
4040
3929
 
3930
+ function enumStringToValue$1(enumRef, value) {
3931
+ if (typeof value === 'number') {
3932
+ return value;
3933
+ }
3934
+ return enumRef[value];
3935
+ }
3936
+ class TimeOfDay {
3937
+ static fromProto(proto) {
3938
+ let m = new TimeOfDay();
3939
+ m = Object.assign(m, proto);
3940
+ return m;
3941
+ }
3942
+ constructor(kwargs) {
3943
+ if (!kwargs) {
3944
+ return;
3945
+ }
3946
+ Object.assign(this, kwargs);
3947
+ }
3948
+ toApiJson() {
3949
+ const toReturn = {};
3950
+ if (typeof this.hours !== 'undefined') {
3951
+ toReturn['hours'] = this.hours;
3952
+ }
3953
+ if (typeof this.minutes !== 'undefined') {
3954
+ toReturn['minutes'] = this.minutes;
3955
+ }
3956
+ if (typeof this.seconds !== 'undefined') {
3957
+ toReturn['seconds'] = this.seconds;
3958
+ }
3959
+ if (typeof this.nanos !== 'undefined') {
3960
+ toReturn['nanos'] = this.nanos;
3961
+ }
3962
+ return toReturn;
3963
+ }
3964
+ }
3965
+
3966
+ function enumStringToValue(enumRef, value) {
3967
+ if (typeof value === 'number') {
3968
+ return value;
3969
+ }
3970
+ return enumRef[value];
3971
+ }
3972
+ class DateTime {
3973
+ static fromProto(proto) {
3974
+ let m = new DateTime();
3975
+ m = Object.assign(m, proto);
3976
+ if (proto.timeZone) {
3977
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3978
+ }
3979
+ return m;
3980
+ }
3981
+ constructor(kwargs) {
3982
+ if (!kwargs) {
3983
+ return;
3984
+ }
3985
+ Object.assign(this, kwargs);
3986
+ }
3987
+ toApiJson() {
3988
+ const toReturn = {};
3989
+ if (typeof this.year !== 'undefined') {
3990
+ toReturn['year'] = this.year;
3991
+ }
3992
+ if (typeof this.month !== 'undefined') {
3993
+ toReturn['month'] = this.month;
3994
+ }
3995
+ if (typeof this.day !== 'undefined') {
3996
+ toReturn['day'] = this.day;
3997
+ }
3998
+ if (typeof this.hours !== 'undefined') {
3999
+ toReturn['hours'] = this.hours;
4000
+ }
4001
+ if (typeof this.minutes !== 'undefined') {
4002
+ toReturn['minutes'] = this.minutes;
4003
+ }
4004
+ if (typeof this.seconds !== 'undefined') {
4005
+ toReturn['seconds'] = this.seconds;
4006
+ }
4007
+ if (typeof this.nanos !== 'undefined') {
4008
+ toReturn['nanos'] = this.nanos;
4009
+ }
4010
+ if (typeof this.utcOffset !== 'undefined') {
4011
+ toReturn['utcOffset'] = this.utcOffset;
4012
+ }
4013
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
4014
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
4015
+ }
4016
+ return toReturn;
4017
+ }
4018
+ }
4019
+ class TimeZone {
4020
+ static fromProto(proto) {
4021
+ let m = new TimeZone();
4022
+ m = Object.assign(m, proto);
4023
+ return m;
4024
+ }
4025
+ constructor(kwargs) {
4026
+ if (!kwargs) {
4027
+ return;
4028
+ }
4029
+ Object.assign(this, kwargs);
4030
+ }
4031
+ toApiJson() {
4032
+ const toReturn = {};
4033
+ if (typeof this.id !== 'undefined') {
4034
+ toReturn['id'] = this.id;
4035
+ }
4036
+ if (typeof this.version !== 'undefined') {
4037
+ toReturn['version'] = this.version;
4038
+ }
4039
+ return toReturn;
4040
+ }
4041
+ }
4042
+
4041
4043
  // *********************************
4042
4044
 
4043
4045
  const environment = (window ? window['environment'] : 'prod') ?? 'prod';
@@ -4065,9 +4067,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4065
4067
 
4066
4068
  // *********************************
4067
4069
  class MeetingSourceAPIApiService {
4068
- constructor(http, hostService) {
4069
- this.http = http;
4070
- this.hostService = hostService;
4070
+ constructor() {
4071
+ this.hostService = inject(HostService$1);
4072
+ this.http = inject(HttpClient);
4071
4073
  this._host = this.hostService.hostWithScheme;
4072
4074
  }
4073
4075
  apiOptions() {
@@ -4084,18 +4086,18 @@ class MeetingSourceAPIApiService {
4084
4086
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4085
4087
  }
4086
4088
  }
4087
- 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 });
4089
+ MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4088
4090
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4089
4091
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4090
4092
  type: Injectable,
4091
4093
  args: [{ providedIn: 'root' }]
4092
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4094
+ }] });
4093
4095
 
4094
4096
  // *********************************
4095
4097
  class ZoomApiService {
4096
- constructor(http, hostService) {
4097
- this.http = http;
4098
- this.hostService = hostService;
4098
+ constructor() {
4099
+ this.hostService = inject(HostService$1);
4100
+ this.http = inject(HttpClient);
4099
4101
  this._host = this.hostService.hostWithScheme;
4100
4102
  }
4101
4103
  apiOptions() {
@@ -4112,18 +4114,18 @@ class ZoomApiService {
4112
4114
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
4113
4115
  }
4114
4116
  }
4115
- 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 });
4117
+ ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4116
4118
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
4117
4119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
4118
4120
  type: Injectable,
4119
4121
  args: [{ providedIn: 'root' }]
4120
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4122
+ }] });
4121
4123
 
4122
4124
  // *********************************
4123
4125
  class GoogleMeetApiService {
4124
- constructor(http, hostService) {
4125
- this.http = http;
4126
- this.hostService = hostService;
4126
+ constructor() {
4127
+ this.hostService = inject(HostService$1);
4128
+ this.http = inject(HttpClient);
4127
4129
  this._host = this.hostService.hostWithScheme;
4128
4130
  }
4129
4131
  apiOptions() {
@@ -4140,12 +4142,12 @@ class GoogleMeetApiService {
4140
4142
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4141
4143
  }
4142
4144
  }
4143
- 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 });
4145
+ GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4144
4146
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4145
4147
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4146
4148
  type: Injectable,
4147
4149
  args: [{ providedIn: 'root' }]
4148
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4150
+ }] });
4149
4151
 
4150
4152
  function generateMeetingPassword() {
4151
4153
  const zoomMaxLength = 10;
@@ -4303,9 +4305,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
4303
4305
 
4304
4306
  // *********************************
4305
4307
  class MeetingGuestApiService {
4306
- constructor(http, hostService) {
4307
- this.http = http;
4308
- this.hostService = hostService;
4308
+ constructor() {
4309
+ this.hostService = inject(HostService$1);
4310
+ this.http = inject(HttpClient);
4309
4311
  this._host = this.hostService.hostWithScheme;
4310
4312
  }
4311
4313
  apiOptions() {
@@ -4365,18 +4367,18 @@ class MeetingGuestApiService {
4365
4367
  .pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
4366
4368
  }
4367
4369
  }
4368
- 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 });
4370
+ MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4369
4371
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
4370
4372
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
4371
4373
  type: Injectable,
4372
4374
  args: [{ providedIn: 'root' }]
4373
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4375
+ }] });
4374
4376
 
4375
4377
  // *********************************
4376
4378
  class MeetingHostApiService {
4377
- constructor(http, hostService) {
4378
- this.http = http;
4379
- this.hostService = hostService;
4379
+ constructor() {
4380
+ this.hostService = inject(HostService$1);
4381
+ this.http = inject(HttpClient);
4380
4382
  this._host = this.hostService.hostWithScheme;
4381
4383
  }
4382
4384
  apiOptions() {
@@ -4531,12 +4533,12 @@ class MeetingHostApiService {
4531
4533
  .pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
4532
4534
  }
4533
4535
  }
4534
- 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 });
4536
+ MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4535
4537
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
4536
4538
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
4537
4539
  type: Injectable,
4538
4540
  args: [{ providedIn: 'root' }]
4539
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4541
+ }] });
4540
4542
 
4541
4543
  // *********************************
4542
4544
 
@@ -4657,6 +4659,7 @@ function MeetingTypeFromApi(req) {
4657
4659
  isClientChoice: req.meetingTypeApi.isClientChoice || false,
4658
4660
  emailSubject: req.meetingTypeApi.emailSubject || '',
4659
4661
  emailDescription: req.meetingTypeApi.emailDescription || '',
4662
+ isPinned: req.meetingTypeApi.isPinned || false,
4660
4663
  };
4661
4664
  }
4662
4665
  function MeetingTypeToApi(req) {
@@ -4683,6 +4686,7 @@ function MeetingTypeToApi(req) {
4683
4686
  emailSubject: m.emailSubject || undefined,
4684
4687
  emailDescription: m.emailDescription || undefined,
4685
4688
  isClientChoice: m.isClientChoice || undefined,
4689
+ isPinned: m.isPinned || undefined,
4686
4690
  };
4687
4691
  }
4688
4692