@vendasta/meetings 1.0.7 → 1.1.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.
@@ -1646,6 +1646,32 @@ class Host {
1646
1646
  return toReturn;
1647
1647
  }
1648
1648
  }
1649
+ class HostOrderDetails {
1650
+ static fromProto(proto) {
1651
+ let m = new HostOrderDetails();
1652
+ m = Object.assign(m, proto);
1653
+ if (proto.hostOrder) {
1654
+ m.hostOrder = parseInt(proto.hostOrder, 10);
1655
+ }
1656
+ return m;
1657
+ }
1658
+ constructor(kwargs) {
1659
+ if (!kwargs) {
1660
+ return;
1661
+ }
1662
+ Object.assign(this, kwargs);
1663
+ }
1664
+ toApiJson() {
1665
+ const toReturn = {};
1666
+ if (typeof this.userId !== 'undefined') {
1667
+ toReturn['userId'] = this.userId;
1668
+ }
1669
+ if (typeof this.hostOrder !== 'undefined') {
1670
+ toReturn['hostOrder'] = this.hostOrder;
1671
+ }
1672
+ return toReturn;
1673
+ }
1674
+ }
1649
1675
  class HostUser {
1650
1676
  static fromProto(proto) {
1651
1677
  let m = new HostUser();
@@ -1991,6 +2017,9 @@ class MeetingType {
1991
2017
  if (proto.registrationCutoff) {
1992
2018
  m.registrationCutoff = RegistrationCutOff.fromProto(proto.registrationCutoff);
1993
2019
  }
2020
+ if (proto.hostOrderDetails) {
2021
+ m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
2022
+ }
1994
2023
  return m;
1995
2024
  }
1996
2025
  constructor(kwargs) {
@@ -2094,6 +2123,9 @@ class MeetingType {
2094
2123
  if (typeof this.registrationCutoff !== 'undefined' && this.registrationCutoff !== null) {
2095
2124
  toReturn['registrationCutoff'] = 'toApiJson' in this.registrationCutoff ? this.registrationCutoff.toApiJson() : this.registrationCutoff;
2096
2125
  }
2126
+ if (typeof this.hostOrderDetails !== 'undefined' && this.hostOrderDetails !== null) {
2127
+ toReturn['hostOrderDetails'] = 'toApiJson' in this.hostOrderDetails ? this.hostOrderDetails.toApiJson() : this.hostOrderDetails;
2128
+ }
2097
2129
  return toReturn;
2098
2130
  }
2099
2131
  }
@@ -6457,6 +6489,7 @@ function MeetingTypeFromApi(req) {
6457
6489
  attendeeCount: req.meetingTypeApi.attendeeCount || 0,
6458
6490
  registrationCutoff: req.meetingTypeApi.registrationCutoff || undefined,
6459
6491
  sessionTitle: req.meetingTypeApi.sessionTitle || "",
6492
+ hostOrderDetails: req.meetingTypeApi.hostOrderDetails || [],
6460
6493
  };
6461
6494
  }
6462
6495
  function MeetingTypeToApi(req) {
@@ -6493,6 +6526,7 @@ function MeetingTypeToApi(req) {
6493
6526
  attendeeCount: m.attendeeCount || 0,
6494
6527
  registrationCutoff: m.registrationCutoff || undefined,
6495
6528
  sessionTitle: m.sessionTitle || undefined,
6529
+ hostOrderDetails: m.hostOrderDetails || undefined,
6496
6530
  };
6497
6531
  }
6498
6532
 
@@ -6915,6 +6949,9 @@ class GuestService {
6915
6949
  getSessionMeetingInfo(req) {
6916
6950
  return this.guestAPIService.getSessionMeetingInfo(req);
6917
6951
  }
6952
+ inviteeRegisterSessionMeeting(req) {
6953
+ return this.guestAPIService.inviteeRegisterSessionMeeting(req).pipe(mapTo(null));
6954
+ }
6918
6955
  }
6919
6956
  GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
6920
6957
  GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: 'root' });