@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();
@@ -9998,6 +10033,10 @@ class MeetingGuestApiService {
9998
10033
  const request = (r.toApiJson) ? r : new CancelBatchMeetingRequest(r);
9999
10034
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/CancelBatchMeeting", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
10000
10035
  }
10036
+ rescheduleBatchMeeting(r) {
10037
+ const request = (r.toApiJson) ? r : new RescheduleBatchMeetingRequest(r);
10038
+ return this.http.post(this._host + "/meetings.v1.MeetingGuest/RescheduleBatchMeeting", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
10039
+ }
10001
10040
  getServiceV2(r) {
10002
10041
  const request = (r.toApiJson) ? r : new GetServiceV2Request(r);
10003
10042
  return this.http.post(this._host + "/meetings.v1.MeetingGuest/GetServiceV2", request.toApiJson(), this.apiOptions())