@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
  }
@@ -9451,9 +9474,13 @@ class MeetingGuestApiService {
9451
9474
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/BookBatchMeeting", request.toApiJson(), this.apiOptions())
9452
9475
  .pipe(map(resp => BookBatchMeetingResponse.fromProto(resp)));
9453
9476
  }
9477
+ cancelBatchMeeting(r) {
9478
+ const request = (r.toApiJson) ? r : new CancelBatchMeetingRequest(r);
9479
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/CancelBatchMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
9480
+ }
9454
9481
  getServiceV2(r) {
9455
9482
  const request = (r.toApiJson) ? r : new GetServiceV2Request(r);
9456
- return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServicesV2", request.toApiJson(), this.apiOptions())
9483
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServiceV2", request.toApiJson(), this.apiOptions())
9457
9484
  .pipe(map(resp => GetServiceV2Response.fromProto(resp)));
9458
9485
  }
9459
9486
  }