@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.
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +6 -2
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +36 -1
- package/fesm2015/vendasta-meetings.mjs +39 -0
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +39 -0
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +6 -0
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/meeting-guest.d.ts +9 -0
- package/package.json +1 -1
|
@@ -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())
|