@vendasta/meetings 0.81.0 → 0.81.2

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 (38) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +1 -1
  2. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  3. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  8. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  9. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  10. package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
  11. package/esm2020/lib/_internal/objects/meeting-host.mjs +7 -4
  12. package/esm2020/lib/_internal/objects/meeting-type.mjs +10 -1
  13. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  14. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  15. package/esm2020/lib/guest/guest.service.mjs +1 -1
  16. package/esm2020/lib/shared/meeting-type.mjs +9 -3
  17. package/esm2020/lib/shared/meeting.mjs +3 -2
  18. package/fesm2015/vendasta-meetings.mjs +55 -32
  19. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  20. package/fesm2020/vendasta-meetings.mjs +55 -32
  21. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  22. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  23. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
  24. package/lib/_internal/interfaces/meeting-host.interface.d.ts +3 -2
  25. package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -0
  26. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  27. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  28. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  29. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  30. package/lib/_internal/objects/meeting-guest.d.ts +2 -1
  31. package/lib/_internal/objects/meeting-host.d.ts +3 -2
  32. package/lib/_internal/objects/meeting-type.d.ts +3 -0
  33. package/lib/_internal/objects/shared.d.ts +2 -1
  34. package/lib/_internal/zoom.api.service.d.ts +5 -2
  35. package/lib/guest/guest.service.d.ts +1 -0
  36. package/lib/shared/meeting-type.d.ts +3 -0
  37. package/lib/shared/meeting.d.ts +1 -0
  38. 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
@@ -1835,6 +1836,15 @@ class MeetingType {
1835
1836
  if (typeof this.noticeTime !== 'undefined') {
1836
1837
  toReturn['noticeTime'] = this.noticeTime;
1837
1838
  }
1839
+ if (typeof this.location !== 'undefined') {
1840
+ toReturn['location'] = this.location;
1841
+ }
1842
+ if (typeof this.isClientSiteMeeting !== 'undefined') {
1843
+ toReturn['isClientSiteMeeting'] = this.isClientSiteMeeting;
1844
+ }
1845
+ if (typeof this.locationGuidelines !== 'undefined') {
1846
+ toReturn['locationGuidelines'] = this.locationGuidelines;
1847
+ }
1838
1848
  return toReturn;
1839
1849
  }
1840
1850
  }
@@ -1937,6 +1947,9 @@ class BookMeetingRequest {
1937
1947
  if (typeof this.recaptchaToken !== 'undefined') {
1938
1948
  toReturn['recaptchaToken'] = this.recaptchaToken;
1939
1949
  }
1950
+ if (typeof this.location !== 'undefined') {
1951
+ toReturn['location'] = this.location;
1952
+ }
1940
1953
  return toReturn;
1941
1954
  }
1942
1955
  }
@@ -3401,8 +3414,8 @@ class IsCalendarConfiguredResponse {
3401
3414
  if (typeof this.isConfigured !== 'undefined') {
3402
3415
  toReturn['isConfigured'] = this.isConfigured;
3403
3416
  }
3404
- if (typeof this.calendarId !== 'undefined') {
3405
- toReturn['calendarId'] = this.calendarId;
3417
+ if (typeof this.calendarIds !== 'undefined') {
3418
+ toReturn['calendarIds'] = this.calendarIds;
3406
3419
  }
3407
3420
  return toReturn;
3408
3421
  }
@@ -3655,6 +3668,9 @@ class Meeting {
3655
3668
  if (typeof this.attachments !== 'undefined' && this.attachments !== null) {
3656
3669
  toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;
3657
3670
  }
3671
+ if (typeof this.location !== 'undefined') {
3672
+ toReturn['location'] = this.location;
3673
+ }
3658
3674
  return toReturn;
3659
3675
  }
3660
3676
  }
@@ -4026,9 +4042,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4026
4042
 
4027
4043
  // *********************************
4028
4044
  class MeetingSourceAPIApiService {
4029
- constructor() {
4030
- this.hostService = inject(HostService$1);
4031
- this.http = inject(HttpClient);
4045
+ constructor(http, hostService) {
4046
+ this.http = http;
4047
+ this.hostService = hostService;
4032
4048
  this._host = this.hostService.hostWithScheme;
4033
4049
  }
4034
4050
  apiOptions() {
@@ -4045,18 +4061,18 @@ class MeetingSourceAPIApiService {
4045
4061
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4046
4062
  }
4047
4063
  }
4048
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4064
+ 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 });
4049
4065
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4050
4066
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4051
4067
  type: Injectable,
4052
4068
  args: [{ providedIn: 'root' }]
4053
- }] });
4069
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4054
4070
 
4055
4071
  // *********************************
4056
4072
  class ZoomApiService {
4057
- constructor() {
4058
- this.hostService = inject(HostService$1);
4059
- this.http = inject(HttpClient);
4073
+ constructor(http, hostService) {
4074
+ this.http = http;
4075
+ this.hostService = hostService;
4060
4076
  this._host = this.hostService.hostWithScheme;
4061
4077
  }
4062
4078
  apiOptions() {
@@ -4073,18 +4089,18 @@ class ZoomApiService {
4073
4089
  .pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
4074
4090
  }
4075
4091
  }
4076
- ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4092
+ 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 });
4077
4093
  ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
4078
4094
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
4079
4095
  type: Injectable,
4080
4096
  args: [{ providedIn: 'root' }]
4081
- }] });
4097
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4082
4098
 
4083
4099
  // *********************************
4084
4100
  class GoogleMeetApiService {
4085
- constructor() {
4086
- this.hostService = inject(HostService$1);
4087
- this.http = inject(HttpClient);
4101
+ constructor(http, hostService) {
4102
+ this.http = http;
4103
+ this.hostService = hostService;
4088
4104
  this._host = this.hostService.hostWithScheme;
4089
4105
  }
4090
4106
  apiOptions() {
@@ -4101,12 +4117,12 @@ class GoogleMeetApiService {
4101
4117
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4102
4118
  }
4103
4119
  }
4104
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4120
+ 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 });
4105
4121
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4106
4122
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4107
4123
  type: Injectable,
4108
4124
  args: [{ providedIn: 'root' }]
4109
- }] });
4125
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4110
4126
 
4111
4127
  function generateMeetingPassword() {
4112
4128
  const zoomMaxLength = 10;
@@ -4364,7 +4380,10 @@ function MeetingTypeFromApi(req) {
4364
4380
  hostUserIds: req.meetingTypeApi.hostUserIds || [],
4365
4381
  availabilityIncrement: req.meetingTypeApi.availabilityIncrement || -1,
4366
4382
  bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting || -1,
4367
- noticeTime: req.meetingTypeApi.noticeTime || -1
4383
+ noticeTime: req.meetingTypeApi.noticeTime || -1,
4384
+ location: req.meetingTypeApi.location || '',
4385
+ locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
4386
+ isClientSiteMeeting: req.meetingTypeApi.isClientSiteMeeting || false
4368
4387
  };
4369
4388
  }
4370
4389
  function MeetingTypeToApi(req) {
@@ -4384,7 +4403,10 @@ function MeetingTypeToApi(req) {
4384
4403
  hostUserIds: m.hostUserIds || undefined,
4385
4404
  availabilityIncrement: m.availabilityIncrement || undefined,
4386
4405
  bufferDurationAfterMeeting: m.bufferDurationAfterMeeting || undefined,
4387
- noticeTime: m.noticeTime || undefined
4406
+ noticeTime: m.noticeTime || undefined,
4407
+ location: m.location || undefined,
4408
+ locationGuidelines: m.locationGuidelines || undefined,
4409
+ isClientSiteMeeting: m.isClientSiteMeeting || undefined,
4388
4410
  };
4389
4411
  }
4390
4412
 
@@ -4442,7 +4464,8 @@ function meetingFromApi(meetingApi) {
4442
4464
  fileUrl: a.fileUrl || '',
4443
4465
  fileType: a.fileType || '',
4444
4466
  };
4445
- })
4467
+ }),
4468
+ location: meetingApi.location || '',
4446
4469
  };
4447
4470
  }
4448
4471
  function answersFromAPI(formAnswers) {
@@ -4486,9 +4509,9 @@ class PagedResponse {
4486
4509
 
4487
4510
  // *********************************
4488
4511
  class MeetingGuestApiService {
4489
- constructor() {
4490
- this.hostService = inject(HostService$1);
4491
- this.http = inject(HttpClient);
4512
+ constructor(http, hostService) {
4513
+ this.http = http;
4514
+ this.hostService = hostService;
4492
4515
  this._host = this.hostService.hostWithScheme;
4493
4516
  }
4494
4517
  apiOptions() {
@@ -4548,18 +4571,18 @@ class MeetingGuestApiService {
4548
4571
  .pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
4549
4572
  }
4550
4573
  }
4551
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4574
+ 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 });
4552
4575
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
4553
4576
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
4554
4577
  type: Injectable,
4555
4578
  args: [{ providedIn: 'root' }]
4556
- }] });
4579
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4557
4580
 
4558
4581
  // *********************************
4559
4582
  class MeetingHostApiService {
4560
- constructor() {
4561
- this.hostService = inject(HostService$1);
4562
- this.http = inject(HttpClient);
4583
+ constructor(http, hostService) {
4584
+ this.http = http;
4585
+ this.hostService = hostService;
4563
4586
  this._host = this.hostService.hostWithScheme;
4564
4587
  }
4565
4588
  apiOptions() {
@@ -4714,12 +4737,12 @@ class MeetingHostApiService {
4714
4737
  .pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
4715
4738
  }
4716
4739
  }
4717
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4740
+ 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 });
4718
4741
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
4719
4742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
4720
4743
  type: Injectable,
4721
4744
  args: [{ providedIn: 'root' }]
4722
- }] });
4745
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4723
4746
 
4724
4747
  // *********************************
4725
4748