@vendasta/meetings 1.1.2 → 1.3.1

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.
@@ -2663,6 +2663,64 @@ class GetServiceResponse {
2663
2663
  return toReturn;
2664
2664
  }
2665
2665
  }
2666
+ class GetSessionInviteeMeetingInfoRequest {
2667
+ static fromProto(proto) {
2668
+ let m = new GetSessionInviteeMeetingInfoRequest();
2669
+ m = Object.assign(m, proto);
2670
+ return m;
2671
+ }
2672
+ constructor(kwargs) {
2673
+ if (!kwargs) {
2674
+ return;
2675
+ }
2676
+ Object.assign(this, kwargs);
2677
+ }
2678
+ toApiJson() {
2679
+ const toReturn = {};
2680
+ if (typeof this.sessionInviteeId !== 'undefined') {
2681
+ toReturn['sessionInviteeId'] = this.sessionInviteeId;
2682
+ }
2683
+ return toReturn;
2684
+ }
2685
+ }
2686
+ class GetSessionInviteeMeetingInfoResponse {
2687
+ static fromProto(proto) {
2688
+ let m = new GetSessionInviteeMeetingInfoResponse();
2689
+ m = Object.assign(m, proto);
2690
+ if (proto.start) {
2691
+ m.start = new Date(proto.start);
2692
+ }
2693
+ return m;
2694
+ }
2695
+ constructor(kwargs) {
2696
+ if (!kwargs) {
2697
+ return;
2698
+ }
2699
+ Object.assign(this, kwargs);
2700
+ }
2701
+ toApiJson() {
2702
+ const toReturn = {};
2703
+ if (typeof this.title !== 'undefined') {
2704
+ toReturn['title'] = this.title;
2705
+ }
2706
+ if (typeof this.location !== 'undefined') {
2707
+ toReturn['location'] = this.location;
2708
+ }
2709
+ if (typeof this.start !== 'undefined' && this.start !== null) {
2710
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
2711
+ }
2712
+ if (typeof this.duration !== 'undefined') {
2713
+ toReturn['duration'] = this.duration;
2714
+ }
2715
+ if (typeof this.businessLogoUrl !== 'undefined') {
2716
+ toReturn['businessLogoUrl'] = this.businessLogoUrl;
2717
+ }
2718
+ if (typeof this.hostNames !== 'undefined') {
2719
+ toReturn['hostNames'] = this.hostNames;
2720
+ }
2721
+ return toReturn;
2722
+ }
2723
+ }
2666
2724
  class GetSessionMeetingRequest {
2667
2725
  static fromProto(proto) {
2668
2726
  let m = new GetSessionMeetingRequest();
@@ -2946,6 +3004,29 @@ class GuestRescheduleMeetingRequest {
2946
3004
  return toReturn;
2947
3005
  }
2948
3006
  }
3007
+ class InviteeDeregisterSessionMeetingRequest {
3008
+ static fromProto(proto) {
3009
+ let m = new InviteeDeregisterSessionMeetingRequest();
3010
+ m = Object.assign(m, proto);
3011
+ return m;
3012
+ }
3013
+ constructor(kwargs) {
3014
+ if (!kwargs) {
3015
+ return;
3016
+ }
3017
+ Object.assign(this, kwargs);
3018
+ }
3019
+ toApiJson() {
3020
+ const toReturn = {};
3021
+ if (typeof this.sessionInviteeId !== 'undefined') {
3022
+ toReturn['sessionInviteeId'] = this.sessionInviteeId;
3023
+ }
3024
+ if (typeof this.cancellationReason !== 'undefined') {
3025
+ toReturn['cancellationReason'] = this.cancellationReason;
3026
+ }
3027
+ return toReturn;
3028
+ }
3029
+ }
2949
3030
  class InviteeRegisterSessionMeetingRequest {
2950
3031
  static fromProto(proto) {
2951
3032
  let m = new InviteeRegisterSessionMeetingRequest();
@@ -6083,6 +6164,15 @@ class MeetingGuestApiService {
6083
6164
  const request = (r.toApiJson) ? r : new InviteeRegisterSessionMeetingRequest(r);
6084
6165
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeRegisterSessionMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6085
6166
  }
6167
+ getSessionInviteeMeetingInfo(r) {
6168
+ const request = (r.toApiJson) ? r : new GetSessionInviteeMeetingInfoRequest(r);
6169
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetSessionInviteeMeetingInfo", request.toApiJson(), this.apiOptions())
6170
+ .pipe(map(resp => GetSessionInviteeMeetingInfoResponse.fromProto(resp)));
6171
+ }
6172
+ inviteeDeregisterSessionMeeting(r) {
6173
+ const request = (r.toApiJson) ? r : new InviteeDeregisterSessionMeetingRequest(r);
6174
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/InviteeDeregisterSessionMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6175
+ }
6086
6176
  }
6087
6177
  MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6088
6178
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
@@ -6959,6 +7049,12 @@ class GuestService {
6959
7049
  inviteeRegisterSessionMeeting(req) {
6960
7050
  return this.guestAPIService.inviteeRegisterSessionMeeting(req).pipe(mapTo(null));
6961
7051
  }
7052
+ getSessionInviteeMeetingInfo(req) {
7053
+ return this.guestAPIService.getSessionInviteeMeetingInfo(req);
7054
+ }
7055
+ inviteeDeregisterSessionMeeting(req) {
7056
+ return this.guestAPIService.inviteeDeregisterSessionMeeting(req).pipe(mapTo(null));
7057
+ }
6962
7058
  }
6963
7059
  GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
6964
7060
  GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });
@@ -7483,6 +7579,20 @@ class HostService {
7483
7579
  listAttendees(req) {
7484
7580
  return this.hostAPIService.listAttendees(req);
7485
7581
  }
7582
+ cancelSession(req) {
7583
+ return this.hostAPIService
7584
+ .cancelSession({
7585
+ ...req,
7586
+ })
7587
+ .pipe(mapTo(null));
7588
+ }
7589
+ rescheduleSession(req) {
7590
+ return this.hostAPIService
7591
+ .rescheduleSession({
7592
+ ...req,
7593
+ })
7594
+ .pipe(mapTo(null));
7595
+ }
7486
7596
  }
7487
7597
  HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
7488
7598
  HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: "root" });