@vendasta/meetings 1.15.3 → 1.15.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-external.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/annotations.mjs +1 -1
- package/esm2020/lib/_internal/objects/date-range.mjs +1 -1
- package/esm2020/lib/_internal/objects/field-mask.mjs +1 -1
- package/esm2020/lib/_internal/objects/google-meet.mjs +1 -1
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +59 -27
- package/esm2020/lib/_internal/objects/meeting-source.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-type.mjs +1 -1
- package/esm2020/lib/_internal/objects/openapiv2.mjs +1 -1
- package/esm2020/lib/_internal/objects/shared.mjs +1 -1
- package/esm2020/lib/_internal/objects/zoom.mjs +1 -1
- package/esm2020/lib/host/host.service.mjs +4 -2
- package/fesm2015/vendasta-meetings.mjs +60 -26
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +60 -26
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +14 -9
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +0 -1
- package/lib/_internal/objects/annotations.d.ts +1 -1
- package/lib/_internal/objects/date-range.d.ts +1 -1
- package/lib/_internal/objects/field-mask.d.ts +1 -1
- package/lib/_internal/objects/google-meet.d.ts +1 -1
- package/lib/_internal/objects/groups-and-services.d.ts +1 -1
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/meeting-external.d.ts +2 -2
- package/lib/_internal/objects/meeting-guest.d.ts +2 -2
- package/lib/_internal/objects/meeting-host.d.ts +29 -21
- package/lib/_internal/objects/meeting-source.d.ts +1 -1
- package/lib/_internal/objects/meeting-type.d.ts +1 -2
- package/lib/_internal/objects/openapiv2.d.ts +1 -1
- package/lib/_internal/objects/shared.d.ts +1 -1
- package/lib/_internal/objects/zoom.d.ts +1 -1
- package/lib/host/host.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -6616,9 +6616,9 @@ function enumStringToValue$3(enumRef, value) {
|
|
|
6616
6616
|
}
|
|
6617
6617
|
return enumRef[value];
|
|
6618
6618
|
}
|
|
6619
|
-
class
|
|
6619
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
6620
6620
|
static fromProto(proto) {
|
|
6621
|
-
let m = new
|
|
6621
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
6622
6622
|
m = Object.assign(m, proto);
|
|
6623
6623
|
return m;
|
|
6624
6624
|
}
|
|
@@ -6639,9 +6639,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
|
6639
6639
|
return toReturn;
|
|
6640
6640
|
}
|
|
6641
6641
|
}
|
|
6642
|
-
class
|
|
6642
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
6643
6643
|
static fromProto(proto) {
|
|
6644
|
-
let m = new
|
|
6644
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
6645
6645
|
m = Object.assign(m, proto);
|
|
6646
6646
|
return m;
|
|
6647
6647
|
}
|
|
@@ -7591,10 +7591,13 @@ class EventTypeSummary {
|
|
|
7591
7591
|
return toReturn;
|
|
7592
7592
|
}
|
|
7593
7593
|
}
|
|
7594
|
-
class
|
|
7594
|
+
class ListBookedMeetingsRequestFilters {
|
|
7595
7595
|
static fromProto(proto) {
|
|
7596
|
-
let m = new
|
|
7596
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
7597
7597
|
m = Object.assign(m, proto);
|
|
7598
|
+
if (proto.timeSpan) {
|
|
7599
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
7600
|
+
}
|
|
7598
7601
|
return m;
|
|
7599
7602
|
}
|
|
7600
7603
|
constructor(kwargs) {
|
|
@@ -7605,22 +7608,25 @@ class ListAvailabilityRequestFilters {
|
|
|
7605
7608
|
}
|
|
7606
7609
|
toApiJson() {
|
|
7607
7610
|
const toReturn = {};
|
|
7611
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
7612
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
7613
|
+
}
|
|
7608
7614
|
if (typeof this.hostId !== 'undefined') {
|
|
7609
7615
|
toReturn['hostId'] = this.hostId;
|
|
7610
7616
|
}
|
|
7611
|
-
if (typeof this.
|
|
7612
|
-
toReturn['
|
|
7617
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
7618
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
7619
|
+
}
|
|
7620
|
+
if (typeof this.userIds !== 'undefined') {
|
|
7621
|
+
toReturn['userIds'] = this.userIds;
|
|
7613
7622
|
}
|
|
7614
7623
|
return toReturn;
|
|
7615
7624
|
}
|
|
7616
7625
|
}
|
|
7617
|
-
class
|
|
7626
|
+
class ListAvailabilityRequestFilters {
|
|
7618
7627
|
static fromProto(proto) {
|
|
7619
|
-
let m = new
|
|
7628
|
+
let m = new ListAvailabilityRequestFilters();
|
|
7620
7629
|
m = Object.assign(m, proto);
|
|
7621
|
-
if (proto.timeSpan) {
|
|
7622
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
7623
|
-
}
|
|
7624
7630
|
return m;
|
|
7625
7631
|
}
|
|
7626
7632
|
constructor(kwargs) {
|
|
@@ -7631,17 +7637,11 @@ class ListBookedMeetingsRequestFilters {
|
|
|
7631
7637
|
}
|
|
7632
7638
|
toApiJson() {
|
|
7633
7639
|
const toReturn = {};
|
|
7634
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
7635
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
7636
|
-
}
|
|
7637
7640
|
if (typeof this.hostId !== 'undefined') {
|
|
7638
7641
|
toReturn['hostId'] = this.hostId;
|
|
7639
7642
|
}
|
|
7640
|
-
if (typeof this.
|
|
7641
|
-
toReturn['
|
|
7642
|
-
}
|
|
7643
|
-
if (typeof this.userIds !== 'undefined') {
|
|
7644
|
-
toReturn['userIds'] = this.userIds;
|
|
7643
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
7644
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
7645
7645
|
}
|
|
7646
7646
|
return toReturn;
|
|
7647
7647
|
}
|
|
@@ -9107,6 +9107,9 @@ class ListBookedMeetingsV2Response {
|
|
|
9107
9107
|
if (proto.pagingMetadata) {
|
|
9108
9108
|
m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
|
|
9109
9109
|
}
|
|
9110
|
+
if (proto.userBusyTimes) {
|
|
9111
|
+
m.userBusyTimes = proto.userBusyTimes.map(UserBusyTimes.fromProto);
|
|
9112
|
+
}
|
|
9110
9113
|
return m;
|
|
9111
9114
|
}
|
|
9112
9115
|
constructor(kwargs) {
|
|
@@ -9123,6 +9126,9 @@ class ListBookedMeetingsV2Response {
|
|
|
9123
9126
|
if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {
|
|
9124
9127
|
toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;
|
|
9125
9128
|
}
|
|
9129
|
+
if (typeof this.userBusyTimes !== 'undefined' && this.userBusyTimes !== null) {
|
|
9130
|
+
toReturn['userBusyTimes'] = 'toApiJson' in this.userBusyTimes ? this.userBusyTimes.toApiJson() : this.userBusyTimes;
|
|
9131
|
+
}
|
|
9126
9132
|
return toReturn;
|
|
9127
9133
|
}
|
|
9128
9134
|
}
|
|
@@ -9519,9 +9525,9 @@ class UpdateMeetingMetadataRequestMetadataEntry {
|
|
|
9519
9525
|
return toReturn;
|
|
9520
9526
|
}
|
|
9521
9527
|
}
|
|
9522
|
-
class
|
|
9528
|
+
class MeetingMetadataEntry {
|
|
9523
9529
|
static fromProto(proto) {
|
|
9524
|
-
let m = new
|
|
9530
|
+
let m = new MeetingMetadataEntry();
|
|
9525
9531
|
m = Object.assign(m, proto);
|
|
9526
9532
|
return m;
|
|
9527
9533
|
}
|
|
@@ -9542,9 +9548,9 @@ class HostBookBatchMeetingRequestMetadataEntry {
|
|
|
9542
9548
|
return toReturn;
|
|
9543
9549
|
}
|
|
9544
9550
|
}
|
|
9545
|
-
class
|
|
9551
|
+
class HostBookBatchMeetingRequestMetadataEntry {
|
|
9546
9552
|
static fromProto(proto) {
|
|
9547
|
-
let m = new
|
|
9553
|
+
let m = new HostBookBatchMeetingRequestMetadataEntry();
|
|
9548
9554
|
m = Object.assign(m, proto);
|
|
9549
9555
|
return m;
|
|
9550
9556
|
}
|
|
@@ -10046,6 +10052,32 @@ class UpdateServiceRequest {
|
|
|
10046
10052
|
return toReturn;
|
|
10047
10053
|
}
|
|
10048
10054
|
}
|
|
10055
|
+
class UserBusyTimes {
|
|
10056
|
+
static fromProto(proto) {
|
|
10057
|
+
let m = new UserBusyTimes();
|
|
10058
|
+
m = Object.assign(m, proto);
|
|
10059
|
+
if (proto.busyIntervals) {
|
|
10060
|
+
m.busyIntervals = proto.busyIntervals.map(IsoDateTimeRange.fromProto);
|
|
10061
|
+
}
|
|
10062
|
+
return m;
|
|
10063
|
+
}
|
|
10064
|
+
constructor(kwargs) {
|
|
10065
|
+
if (!kwargs) {
|
|
10066
|
+
return;
|
|
10067
|
+
}
|
|
10068
|
+
Object.assign(this, kwargs);
|
|
10069
|
+
}
|
|
10070
|
+
toApiJson() {
|
|
10071
|
+
const toReturn = {};
|
|
10072
|
+
if (typeof this.userId !== 'undefined') {
|
|
10073
|
+
toReturn['userId'] = this.userId;
|
|
10074
|
+
}
|
|
10075
|
+
if (typeof this.busyIntervals !== 'undefined' && this.busyIntervals !== null) {
|
|
10076
|
+
toReturn['busyIntervals'] = 'toApiJson' in this.busyIntervals ? this.busyIntervals.toApiJson() : this.busyIntervals;
|
|
10077
|
+
}
|
|
10078
|
+
return toReturn;
|
|
10079
|
+
}
|
|
10080
|
+
}
|
|
10049
10081
|
class WeekdayAvailability {
|
|
10050
10082
|
static fromProto(proto) {
|
|
10051
10083
|
let m = new WeekdayAvailability();
|
|
@@ -12149,7 +12181,9 @@ class HostService {
|
|
|
12149
12181
|
bookingGroupId: booking.bookingGroupId || "",
|
|
12150
12182
|
meetings: (booking.meetings || []).map((meeting) => meetingFromApi(meeting)),
|
|
12151
12183
|
}));
|
|
12152
|
-
|
|
12184
|
+
const page = new PagedResponse(bookings, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore);
|
|
12185
|
+
page.userBusyTimes = resp.userBusyTimes || [];
|
|
12186
|
+
return page;
|
|
12153
12187
|
}));
|
|
12154
12188
|
}
|
|
12155
12189
|
// hostBookBatchMeeting books a meeting on the host calendar — single-service
|