@vendasta/meetings 1.7.3 → 1.7.4

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.
@@ -3979,6 +3979,41 @@ class CancelBatchMeetingRequest {
3979
3979
  return toReturn;
3980
3980
  }
3981
3981
  }
3982
+ class RescheduleBatchMeetingRequest {
3983
+ static fromProto(proto) {
3984
+ let m = new RescheduleBatchMeetingRequest();
3985
+ m = Object.assign(m, proto);
3986
+ if (proto.start) {
3987
+ m.start = new Date(proto.start);
3988
+ }
3989
+ if (proto.timeZone) {
3990
+ m.timeZone = TimeZone.fromProto(proto.timeZone);
3991
+ }
3992
+ return m;
3993
+ }
3994
+ constructor(kwargs) {
3995
+ if (!kwargs) {
3996
+ return;
3997
+ }
3998
+ Object.assign(this, kwargs);
3999
+ }
4000
+ toApiJson() {
4001
+ const toReturn = {};
4002
+ if (typeof this.id !== 'undefined') {
4003
+ toReturn['id'] = this.id;
4004
+ }
4005
+ if (typeof this.start !== 'undefined' && this.start !== null) {
4006
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
4007
+ }
4008
+ if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
4009
+ toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
4010
+ }
4011
+ if (typeof this.location !== 'undefined') {
4012
+ toReturn['location'] = this.location;
4013
+ }
4014
+ return toReturn;
4015
+ }
4016
+ }
3982
4017
  class CheckFeatureFlagRequest {
3983
4018
  static fromProto(proto) {
3984
4019
  let m = new CheckFeatureFlagRequest();
@@ -9707,6 +9742,10 @@ class MeetingGuestApiService {
9707
9742
  const request = (r.toApiJson) ? r : new CancelBatchMeetingRequest(r);
9708
9743
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/CancelBatchMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
9709
9744
  }
9745
+ rescheduleBatchMeeting(r) {
9746
+ const request = (r.toApiJson) ? r : new RescheduleBatchMeetingRequest(r);
9747
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/RescheduleBatchMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
9748
+ }
9710
9749
  getServiceV2(r) {
9711
9750
  const request = (r.toApiJson) ? r : new GetServiceV2Request(r);
9712
9751
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServiceV2", request.toApiJson(), this.apiOptions())