@vendasta/meetings 1.6.10 → 1.7.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.
@@ -3954,6 +3954,29 @@ class BookMeetingResponse {
3954
3954
  return toReturn;
3955
3955
  }
3956
3956
  }
3957
+ class CancelBatchMeetingRequest {
3958
+ static fromProto(proto) {
3959
+ let m = new CancelBatchMeetingRequest();
3960
+ m = Object.assign(m, proto);
3961
+ return m;
3962
+ }
3963
+ constructor(kwargs) {
3964
+ if (!kwargs) {
3965
+ return;
3966
+ }
3967
+ Object.assign(this, kwargs);
3968
+ }
3969
+ toApiJson() {
3970
+ const toReturn = {};
3971
+ if (typeof this.id !== 'undefined') {
3972
+ toReturn['id'] = this.id;
3973
+ }
3974
+ if (typeof this.cancellationReason !== 'undefined') {
3975
+ toReturn['cancellationReason'] = this.cancellationReason;
3976
+ }
3977
+ return toReturn;
3978
+ }
3979
+ }
3957
3980
  class CheckFeatureFlagRequest {
3958
3981
  static fromProto(proto) {
3959
3982
  let m = new CheckFeatureFlagRequest();
@@ -5043,9 +5066,9 @@ class ListMeetingTypesResponse {
5043
5066
  return toReturn;
5044
5067
  }
5045
5068
  }
5046
- class BookBatchMeetingRequestMetadataEntry {
5069
+ class BookMeetingRequestMetadataEntry {
5047
5070
  static fromProto(proto) {
5048
- let m = new BookBatchMeetingRequestMetadataEntry();
5071
+ let m = new BookMeetingRequestMetadataEntry();
5049
5072
  m = Object.assign(m, proto);
5050
5073
  return m;
5051
5074
  }
@@ -5066,9 +5089,9 @@ class BookBatchMeetingRequestMetadataEntry {
5066
5089
  return toReturn;
5067
5090
  }
5068
5091
  }
5069
- class BookMeetingRequestMetadataEntry {
5092
+ class BookBatchMeetingRequestMetadataEntry {
5070
5093
  static fromProto(proto) {
5071
- let m = new BookMeetingRequestMetadataEntry();
5094
+ let m = new BookBatchMeetingRequestMetadataEntry();
5072
5095
  m = Object.assign(m, proto);
5073
5096
  return m;
5074
5097
  }
@@ -9742,9 +9765,13 @@ class MeetingGuestApiService {
9742
9765
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/BookBatchMeeting", request.toApiJson(), this.apiOptions())
9743
9766
  .pipe(map(resp => BookBatchMeetingResponse.fromProto(resp)));
9744
9767
  }
9768
+ cancelBatchMeeting(r) {
9769
+ const request = (r.toApiJson) ? r : new CancelBatchMeetingRequest(r);
9770
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/CancelBatchMeeting", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
9771
+ }
9745
9772
  getServiceV2(r) {
9746
9773
  const request = (r.toApiJson) ? r : new GetServiceV2Request(r);
9747
- return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServicesV2", request.toApiJson(), this.apiOptions())
9774
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServiceV2", request.toApiJson(), this.apiOptions())
9748
9775
  .pipe(map(resp => GetServiceV2Response.fromProto(resp)));
9749
9776
  }
9750
9777
  }