@vendasta/meetings 1.7.6 → 1.8.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.
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/shared.enum.mjs +9 -1
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -7
- package/esm2020/lib/_internal/interfaces/index.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/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +25 -2
- package/esm2020/lib/_internal/objects/annotations.mjs +7 -1
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +15 -1
- package/esm2020/lib/_internal/objects/index.mjs +4 -4
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +15 -58
- package/esm2020/lib/_internal/objects/meeting-host.mjs +319 -2
- package/esm2020/lib/_internal/objects/shared.mjs +91 -1
- package/esm2020/lib/host/host.service.mjs +63 -2
- package/esm2020/lib/index.mjs +3 -3
- package/esm2020/lib/shared/meeting.mjs +1 -1
- package/esm2020/lib/shared/preferences.mjs +4 -2
- package/fesm2015/vendasta-meetings.mjs +531 -57
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +533 -57
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/shared.enum.d.ts +7 -0
- package/lib/_internal/interfaces/annotations.interface.d.ts +2 -0
- package/lib/_internal/interfaces/groups-and-services.interface.d.ts +4 -0
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +5 -13
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +54 -1
- package/lib/_internal/interfaces/shared.interface.d.ts +17 -0
- package/lib/_internal/meeting-host.api.service.d.ts +7 -2
- package/lib/_internal/objects/annotations.d.ts +2 -0
- package/lib/_internal/objects/groups-and-services.d.ts +4 -0
- package/lib/_internal/objects/index.d.ts +3 -3
- package/lib/_internal/objects/meeting-guest.d.ts +9 -23
- package/lib/_internal/objects/meeting-host.d.ts +84 -1
- package/lib/_internal/objects/shared.d.ts +26 -0
- package/lib/host/host.service.d.ts +38 -2
- package/lib/index.d.ts +4 -4
- package/lib/shared/meeting.d.ts +4 -0
- package/lib/shared/preferences.d.ts +4 -2
- package/package.json +1 -1
|
@@ -111,6 +111,14 @@ var CalendarType;
|
|
|
111
111
|
CalendarType[CalendarType["CALENDAR_TYPE_GROUP"] = 2] = "CALENDAR_TYPE_GROUP";
|
|
112
112
|
CalendarType[CalendarType["CALENDAR_TYPE_SESSION"] = 3] = "CALENDAR_TYPE_SESSION";
|
|
113
113
|
})(CalendarType || (CalendarType = {}));
|
|
114
|
+
var CalendarView;
|
|
115
|
+
(function (CalendarView) {
|
|
116
|
+
CalendarView[CalendarView["CALENDAR_VIEW_INVALID"] = 0] = "CALENDAR_VIEW_INVALID";
|
|
117
|
+
CalendarView[CalendarView["CALENDAR_VIEW_WEEK"] = 1] = "CALENDAR_VIEW_WEEK";
|
|
118
|
+
CalendarView[CalendarView["CALENDAR_VIEW_DAY"] = 2] = "CALENDAR_VIEW_DAY";
|
|
119
|
+
CalendarView[CalendarView["CALENDAR_VIEW_MONTH"] = 3] = "CALENDAR_VIEW_MONTH";
|
|
120
|
+
CalendarView[CalendarView["CALENDAR_VIEW_LIST"] = 4] = "CALENDAR_VIEW_LIST";
|
|
121
|
+
})(CalendarView || (CalendarView = {}));
|
|
114
122
|
var FormFieldType;
|
|
115
123
|
(function (FormFieldType) {
|
|
116
124
|
FormFieldType[FormFieldType["FORM_FIELD_TYPE_INVALID"] = 0] = "FORM_FIELD_TYPE_INVALID";
|
|
@@ -1620,6 +1628,58 @@ class Attendee {
|
|
|
1620
1628
|
return toReturn;
|
|
1621
1629
|
}
|
|
1622
1630
|
}
|
|
1631
|
+
class BatchBookingTarget {
|
|
1632
|
+
static fromProto(proto) {
|
|
1633
|
+
let m = new BatchBookingTarget();
|
|
1634
|
+
m = Object.assign(m, proto);
|
|
1635
|
+
return m;
|
|
1636
|
+
}
|
|
1637
|
+
constructor(kwargs) {
|
|
1638
|
+
if (!kwargs) {
|
|
1639
|
+
return;
|
|
1640
|
+
}
|
|
1641
|
+
Object.assign(this, kwargs);
|
|
1642
|
+
}
|
|
1643
|
+
toApiJson() {
|
|
1644
|
+
const toReturn = {};
|
|
1645
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
1646
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
1647
|
+
}
|
|
1648
|
+
if (typeof this.userId !== 'undefined') {
|
|
1649
|
+
toReturn['userId'] = this.userId;
|
|
1650
|
+
}
|
|
1651
|
+
if (typeof this.order !== 'undefined') {
|
|
1652
|
+
toReturn['order'] = this.order;
|
|
1653
|
+
}
|
|
1654
|
+
return toReturn;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
class BatchEventTypeTarget {
|
|
1658
|
+
static fromProto(proto) {
|
|
1659
|
+
let m = new BatchEventTypeTarget();
|
|
1660
|
+
m = Object.assign(m, proto);
|
|
1661
|
+
return m;
|
|
1662
|
+
}
|
|
1663
|
+
constructor(kwargs) {
|
|
1664
|
+
if (!kwargs) {
|
|
1665
|
+
return;
|
|
1666
|
+
}
|
|
1667
|
+
Object.assign(this, kwargs);
|
|
1668
|
+
}
|
|
1669
|
+
toApiJson() {
|
|
1670
|
+
const toReturn = {};
|
|
1671
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
1672
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
1673
|
+
}
|
|
1674
|
+
if (typeof this.userId !== 'undefined') {
|
|
1675
|
+
toReturn['userId'] = this.userId;
|
|
1676
|
+
}
|
|
1677
|
+
if (typeof this.order !== 'undefined') {
|
|
1678
|
+
toReturn['order'] = this.order;
|
|
1679
|
+
}
|
|
1680
|
+
return toReturn;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1623
1683
|
class Calendar {
|
|
1624
1684
|
static fromProto(proto) {
|
|
1625
1685
|
let m = new Calendar();
|
|
@@ -1682,6 +1742,32 @@ class Calendar {
|
|
|
1682
1742
|
return toReturn;
|
|
1683
1743
|
}
|
|
1684
1744
|
}
|
|
1745
|
+
class CalendarMember {
|
|
1746
|
+
static fromProto(proto) {
|
|
1747
|
+
let m = new CalendarMember();
|
|
1748
|
+
m = Object.assign(m, proto);
|
|
1749
|
+
return m;
|
|
1750
|
+
}
|
|
1751
|
+
constructor(kwargs) {
|
|
1752
|
+
if (!kwargs) {
|
|
1753
|
+
return;
|
|
1754
|
+
}
|
|
1755
|
+
Object.assign(this, kwargs);
|
|
1756
|
+
}
|
|
1757
|
+
toApiJson() {
|
|
1758
|
+
const toReturn = {};
|
|
1759
|
+
if (typeof this.hostUserId !== 'undefined') {
|
|
1760
|
+
toReturn['hostUserId'] = this.hostUserId;
|
|
1761
|
+
}
|
|
1762
|
+
if (typeof this.color !== 'undefined') {
|
|
1763
|
+
toReturn['color'] = this.color;
|
|
1764
|
+
}
|
|
1765
|
+
if (typeof this.selected !== 'undefined') {
|
|
1766
|
+
toReturn['selected'] = this.selected;
|
|
1767
|
+
}
|
|
1768
|
+
return toReturn;
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1685
1771
|
let Contact$1 = class Contact {
|
|
1686
1772
|
static fromProto(proto) {
|
|
1687
1773
|
let m = new Contact();
|
|
@@ -1959,6 +2045,12 @@ class Preferences {
|
|
|
1959
2045
|
if (proto.onBoardingState) {
|
|
1960
2046
|
m.onBoardingState = enumStringToValue$b(OnBoardingState, proto.onBoardingState);
|
|
1961
2047
|
}
|
|
2048
|
+
if (proto.calendarMembers) {
|
|
2049
|
+
m.calendarMembers = proto.calendarMembers.map(CalendarMember.fromProto);
|
|
2050
|
+
}
|
|
2051
|
+
if (proto.defaultCalendarView) {
|
|
2052
|
+
m.defaultCalendarView = enumStringToValue$b(CalendarView, proto.defaultCalendarView);
|
|
2053
|
+
}
|
|
1962
2054
|
return m;
|
|
1963
2055
|
}
|
|
1964
2056
|
constructor(kwargs) {
|
|
@@ -1996,6 +2088,12 @@ class Preferences {
|
|
|
1996
2088
|
if (typeof this.onBoardingState !== 'undefined') {
|
|
1997
2089
|
toReturn['onBoardingState'] = this.onBoardingState;
|
|
1998
2090
|
}
|
|
2091
|
+
if (typeof this.calendarMembers !== 'undefined' && this.calendarMembers !== null) {
|
|
2092
|
+
toReturn['calendarMembers'] = 'toApiJson' in this.calendarMembers ? this.calendarMembers.toApiJson() : this.calendarMembers;
|
|
2093
|
+
}
|
|
2094
|
+
if (typeof this.defaultCalendarView !== 'undefined') {
|
|
2095
|
+
toReturn['defaultCalendarView'] = this.defaultCalendarView;
|
|
2096
|
+
}
|
|
1999
2097
|
return toReturn;
|
|
2000
2098
|
}
|
|
2001
2099
|
}
|
|
@@ -2423,6 +2521,12 @@ class EventGroupAndServiceAssociations {
|
|
|
2423
2521
|
static fromProto(proto) {
|
|
2424
2522
|
let m = new EventGroupAndServiceAssociations();
|
|
2425
2523
|
m = Object.assign(m, proto);
|
|
2524
|
+
if (proto.hostUsers) {
|
|
2525
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
2526
|
+
}
|
|
2527
|
+
if (proto.teamMeetingType) {
|
|
2528
|
+
m.teamMeetingType = enumStringToValue$8(TeamEventMeetingType, proto.teamMeetingType);
|
|
2529
|
+
}
|
|
2426
2530
|
return m;
|
|
2427
2531
|
}
|
|
2428
2532
|
constructor(kwargs) {
|
|
@@ -2466,6 +2570,12 @@ class EventGroupAndServiceAssociations {
|
|
|
2466
2570
|
if (typeof this.bookingUrl !== 'undefined') {
|
|
2467
2571
|
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2468
2572
|
}
|
|
2573
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
2574
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
2575
|
+
}
|
|
2576
|
+
if (typeof this.teamMeetingType !== 'undefined') {
|
|
2577
|
+
toReturn['teamMeetingType'] = this.teamMeetingType;
|
|
2578
|
+
}
|
|
2469
2579
|
return toReturn;
|
|
2470
2580
|
}
|
|
2471
2581
|
}
|
|
@@ -3760,58 +3870,6 @@ function enumStringToValue$6(enumRef, value) {
|
|
|
3760
3870
|
}
|
|
3761
3871
|
return enumRef[value];
|
|
3762
3872
|
}
|
|
3763
|
-
class BatchBookingTarget {
|
|
3764
|
-
static fromProto(proto) {
|
|
3765
|
-
let m = new BatchBookingTarget();
|
|
3766
|
-
m = Object.assign(m, proto);
|
|
3767
|
-
return m;
|
|
3768
|
-
}
|
|
3769
|
-
constructor(kwargs) {
|
|
3770
|
-
if (!kwargs) {
|
|
3771
|
-
return;
|
|
3772
|
-
}
|
|
3773
|
-
Object.assign(this, kwargs);
|
|
3774
|
-
}
|
|
3775
|
-
toApiJson() {
|
|
3776
|
-
const toReturn = {};
|
|
3777
|
-
if (typeof this.eventTypeId !== 'undefined') {
|
|
3778
|
-
toReturn['eventTypeId'] = this.eventTypeId;
|
|
3779
|
-
}
|
|
3780
|
-
if (typeof this.userId !== 'undefined') {
|
|
3781
|
-
toReturn['userId'] = this.userId;
|
|
3782
|
-
}
|
|
3783
|
-
if (typeof this.order !== 'undefined') {
|
|
3784
|
-
toReturn['order'] = this.order;
|
|
3785
|
-
}
|
|
3786
|
-
return toReturn;
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
class BatchEventTypeTarget {
|
|
3790
|
-
static fromProto(proto) {
|
|
3791
|
-
let m = new BatchEventTypeTarget();
|
|
3792
|
-
m = Object.assign(m, proto);
|
|
3793
|
-
return m;
|
|
3794
|
-
}
|
|
3795
|
-
constructor(kwargs) {
|
|
3796
|
-
if (!kwargs) {
|
|
3797
|
-
return;
|
|
3798
|
-
}
|
|
3799
|
-
Object.assign(this, kwargs);
|
|
3800
|
-
}
|
|
3801
|
-
toApiJson() {
|
|
3802
|
-
const toReturn = {};
|
|
3803
|
-
if (typeof this.eventTypeId !== 'undefined') {
|
|
3804
|
-
toReturn['eventTypeId'] = this.eventTypeId;
|
|
3805
|
-
}
|
|
3806
|
-
if (typeof this.userId !== 'undefined') {
|
|
3807
|
-
toReturn['userId'] = this.userId;
|
|
3808
|
-
}
|
|
3809
|
-
if (typeof this.order !== 'undefined') {
|
|
3810
|
-
toReturn['order'] = this.order;
|
|
3811
|
-
}
|
|
3812
|
-
return toReturn;
|
|
3813
|
-
}
|
|
3814
|
-
}
|
|
3815
3873
|
class BookBatchMeetingRequest {
|
|
3816
3874
|
static fromProto(proto) {
|
|
3817
3875
|
let m = new BookBatchMeetingRequest();
|
|
@@ -4802,6 +4860,9 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
4802
4860
|
if (typeof this.primaryAttendeePhone !== 'undefined') {
|
|
4803
4861
|
toReturn['primaryAttendeePhone'] = this.primaryAttendeePhone;
|
|
4804
4862
|
}
|
|
4863
|
+
if (typeof this.isLocationEditable !== 'undefined') {
|
|
4864
|
+
toReturn['isLocationEditable'] = this.isLocationEditable;
|
|
4865
|
+
}
|
|
4805
4866
|
return toReturn;
|
|
4806
4867
|
}
|
|
4807
4868
|
}
|
|
@@ -5213,6 +5274,9 @@ class MeetingDetail {
|
|
|
5213
5274
|
if (proto.previousEndTime) {
|
|
5214
5275
|
m.previousEndTime = new Date(proto.previousEndTime);
|
|
5215
5276
|
}
|
|
5277
|
+
if (proto.inPersonLocationType) {
|
|
5278
|
+
m.inPersonLocationType = enumStringToValue$6(MeetingLocationType, proto.inPersonLocationType);
|
|
5279
|
+
}
|
|
5216
5280
|
return m;
|
|
5217
5281
|
}
|
|
5218
5282
|
constructor(kwargs) {
|
|
@@ -5286,6 +5350,9 @@ class MeetingDetail {
|
|
|
5286
5350
|
if (typeof this.locationGuideline !== 'undefined') {
|
|
5287
5351
|
toReturn['locationGuideline'] = this.locationGuideline;
|
|
5288
5352
|
}
|
|
5353
|
+
if (typeof this.inPersonLocationType !== 'undefined') {
|
|
5354
|
+
toReturn['inPersonLocationType'] = this.inPersonLocationType;
|
|
5355
|
+
}
|
|
5289
5356
|
return toReturn;
|
|
5290
5357
|
}
|
|
5291
5358
|
}
|
|
@@ -5333,9 +5400,9 @@ class MeetingSummary {
|
|
|
5333
5400
|
return toReturn;
|
|
5334
5401
|
}
|
|
5335
5402
|
}
|
|
5336
|
-
class
|
|
5403
|
+
class BookMeetingRequestMetadataEntry {
|
|
5337
5404
|
static fromProto(proto) {
|
|
5338
|
-
let m = new
|
|
5405
|
+
let m = new BookMeetingRequestMetadataEntry();
|
|
5339
5406
|
m = Object.assign(m, proto);
|
|
5340
5407
|
return m;
|
|
5341
5408
|
}
|
|
@@ -5356,9 +5423,9 @@ class BookBatchMeetingRequestMetadataEntry {
|
|
|
5356
5423
|
return toReturn;
|
|
5357
5424
|
}
|
|
5358
5425
|
}
|
|
5359
|
-
class
|
|
5426
|
+
class BookBatchMeetingRequestMetadataEntry {
|
|
5360
5427
|
static fromProto(proto) {
|
|
5361
|
-
let m = new
|
|
5428
|
+
let m = new BookBatchMeetingRequestMetadataEntry();
|
|
5362
5429
|
m = Object.assign(m, proto);
|
|
5363
5430
|
return m;
|
|
5364
5431
|
}
|
|
@@ -6427,6 +6494,32 @@ class AvailabilityRuleList {
|
|
|
6427
6494
|
return toReturn;
|
|
6428
6495
|
}
|
|
6429
6496
|
}
|
|
6497
|
+
class BookedMeetingV2 {
|
|
6498
|
+
static fromProto(proto) {
|
|
6499
|
+
let m = new BookedMeetingV2();
|
|
6500
|
+
m = Object.assign(m, proto);
|
|
6501
|
+
if (proto.meetings) {
|
|
6502
|
+
m.meetings = proto.meetings.map(Meeting.fromProto);
|
|
6503
|
+
}
|
|
6504
|
+
return m;
|
|
6505
|
+
}
|
|
6506
|
+
constructor(kwargs) {
|
|
6507
|
+
if (!kwargs) {
|
|
6508
|
+
return;
|
|
6509
|
+
}
|
|
6510
|
+
Object.assign(this, kwargs);
|
|
6511
|
+
}
|
|
6512
|
+
toApiJson() {
|
|
6513
|
+
const toReturn = {};
|
|
6514
|
+
if (typeof this.bookingGroupId !== 'undefined') {
|
|
6515
|
+
toReturn['bookingGroupId'] = this.bookingGroupId;
|
|
6516
|
+
}
|
|
6517
|
+
if (typeof this.meetings !== 'undefined' && this.meetings !== null) {
|
|
6518
|
+
toReturn['meetings'] = 'toApiJson' in this.meetings ? this.meetings.toApiJson() : this.meetings;
|
|
6519
|
+
}
|
|
6520
|
+
return toReturn;
|
|
6521
|
+
}
|
|
6522
|
+
}
|
|
6430
6523
|
class BuildHostIdRequest {
|
|
6431
6524
|
static fromProto(proto) {
|
|
6432
6525
|
let m = new BuildHostIdRequest();
|
|
@@ -7550,6 +7643,91 @@ class GetMeetingTypesForCalendarsResponse {
|
|
|
7550
7643
|
return toReturn;
|
|
7551
7644
|
}
|
|
7552
7645
|
}
|
|
7646
|
+
class HostBookBatchMeetingRequest {
|
|
7647
|
+
static fromProto(proto) {
|
|
7648
|
+
let m = new HostBookBatchMeetingRequest();
|
|
7649
|
+
m = Object.assign(m, proto);
|
|
7650
|
+
if (proto.targets) {
|
|
7651
|
+
m.targets = proto.targets.map(BatchBookingTarget.fromProto);
|
|
7652
|
+
}
|
|
7653
|
+
if (proto.start) {
|
|
7654
|
+
m.start = new Date(proto.start);
|
|
7655
|
+
}
|
|
7656
|
+
if (proto.attendees) {
|
|
7657
|
+
m.attendees = proto.attendees.map(Contact$1.fromProto);
|
|
7658
|
+
}
|
|
7659
|
+
if (proto.metadata) {
|
|
7660
|
+
m.metadata = Object.keys(proto.metadata).reduce((obj, k) => { obj[k] = proto.metadata[k]; return obj; }, {});
|
|
7661
|
+
}
|
|
7662
|
+
if (proto.formAnswers) {
|
|
7663
|
+
m.formAnswers = Answers.fromProto(proto.formAnswers);
|
|
7664
|
+
}
|
|
7665
|
+
if (proto.bookingSource) {
|
|
7666
|
+
m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
|
|
7667
|
+
}
|
|
7668
|
+
return m;
|
|
7669
|
+
}
|
|
7670
|
+
constructor(kwargs) {
|
|
7671
|
+
if (!kwargs) {
|
|
7672
|
+
return;
|
|
7673
|
+
}
|
|
7674
|
+
Object.assign(this, kwargs);
|
|
7675
|
+
}
|
|
7676
|
+
toApiJson() {
|
|
7677
|
+
const toReturn = {};
|
|
7678
|
+
if (typeof this.calendarId !== 'undefined') {
|
|
7679
|
+
toReturn['calendarId'] = this.calendarId;
|
|
7680
|
+
}
|
|
7681
|
+
if (typeof this.targets !== 'undefined' && this.targets !== null) {
|
|
7682
|
+
toReturn['targets'] = 'toApiJson' in this.targets ? this.targets.toApiJson() : this.targets;
|
|
7683
|
+
}
|
|
7684
|
+
if (typeof this.start !== 'undefined' && this.start !== null) {
|
|
7685
|
+
toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
|
|
7686
|
+
}
|
|
7687
|
+
if (typeof this.attendees !== 'undefined' && this.attendees !== null) {
|
|
7688
|
+
toReturn['attendees'] = 'toApiJson' in this.attendees ? this.attendees.toApiJson() : this.attendees;
|
|
7689
|
+
}
|
|
7690
|
+
if (typeof this.comment !== 'undefined') {
|
|
7691
|
+
toReturn['comment'] = this.comment;
|
|
7692
|
+
}
|
|
7693
|
+
if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
|
|
7694
|
+
toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
|
|
7695
|
+
}
|
|
7696
|
+
if (typeof this.formAnswers !== 'undefined' && this.formAnswers !== null) {
|
|
7697
|
+
toReturn['formAnswers'] = 'toApiJson' in this.formAnswers ? this.formAnswers.toApiJson() : this.formAnswers;
|
|
7698
|
+
}
|
|
7699
|
+
if (typeof this.location !== 'undefined') {
|
|
7700
|
+
toReturn['location'] = this.location;
|
|
7701
|
+
}
|
|
7702
|
+
if (typeof this.bookingSource !== 'undefined') {
|
|
7703
|
+
toReturn['bookingSource'] = this.bookingSource;
|
|
7704
|
+
}
|
|
7705
|
+
if (typeof this.bookingOriginId !== 'undefined') {
|
|
7706
|
+
toReturn['bookingOriginId'] = this.bookingOriginId;
|
|
7707
|
+
}
|
|
7708
|
+
return toReturn;
|
|
7709
|
+
}
|
|
7710
|
+
}
|
|
7711
|
+
class HostBookBatchMeetingResponse {
|
|
7712
|
+
static fromProto(proto) {
|
|
7713
|
+
let m = new HostBookBatchMeetingResponse();
|
|
7714
|
+
m = Object.assign(m, proto);
|
|
7715
|
+
return m;
|
|
7716
|
+
}
|
|
7717
|
+
constructor(kwargs) {
|
|
7718
|
+
if (!kwargs) {
|
|
7719
|
+
return;
|
|
7720
|
+
}
|
|
7721
|
+
Object.assign(this, kwargs);
|
|
7722
|
+
}
|
|
7723
|
+
toApiJson() {
|
|
7724
|
+
const toReturn = {};
|
|
7725
|
+
if (typeof this.bookingGroupId !== 'undefined') {
|
|
7726
|
+
toReturn['bookingGroupId'] = this.bookingGroupId;
|
|
7727
|
+
}
|
|
7728
|
+
return toReturn;
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7553
7731
|
class HostBookMeetingRequest {
|
|
7554
7732
|
static fromProto(proto) {
|
|
7555
7733
|
let m = new HostBookMeetingRequest();
|
|
@@ -7735,6 +7913,29 @@ class HostBookSessionResponse {
|
|
|
7735
7913
|
return toReturn;
|
|
7736
7914
|
}
|
|
7737
7915
|
}
|
|
7916
|
+
class HostCancelBatchMeetingRequest {
|
|
7917
|
+
static fromProto(proto) {
|
|
7918
|
+
let m = new HostCancelBatchMeetingRequest();
|
|
7919
|
+
m = Object.assign(m, proto);
|
|
7920
|
+
return m;
|
|
7921
|
+
}
|
|
7922
|
+
constructor(kwargs) {
|
|
7923
|
+
if (!kwargs) {
|
|
7924
|
+
return;
|
|
7925
|
+
}
|
|
7926
|
+
Object.assign(this, kwargs);
|
|
7927
|
+
}
|
|
7928
|
+
toApiJson() {
|
|
7929
|
+
const toReturn = {};
|
|
7930
|
+
if (typeof this.id !== 'undefined') {
|
|
7931
|
+
toReturn['id'] = this.id;
|
|
7932
|
+
}
|
|
7933
|
+
if (typeof this.cancellationReason !== 'undefined') {
|
|
7934
|
+
toReturn['cancellationReason'] = this.cancellationReason;
|
|
7935
|
+
}
|
|
7936
|
+
return toReturn;
|
|
7937
|
+
}
|
|
7938
|
+
}
|
|
7738
7939
|
class HostDeleteAttendeesRequest {
|
|
7739
7940
|
static fromProto(proto) {
|
|
7740
7941
|
let m = new HostDeleteAttendeesRequest();
|
|
@@ -7873,6 +8074,67 @@ class HostGetMeetingTypeResponse {
|
|
|
7873
8074
|
return toReturn;
|
|
7874
8075
|
}
|
|
7875
8076
|
}
|
|
8077
|
+
class HostListBatchAvailableTimeSlotsRequest {
|
|
8078
|
+
static fromProto(proto) {
|
|
8079
|
+
let m = new HostListBatchAvailableTimeSlotsRequest();
|
|
8080
|
+
m = Object.assign(m, proto);
|
|
8081
|
+
if (proto.targets) {
|
|
8082
|
+
m.targets = proto.targets.map(BatchEventTypeTarget.fromProto);
|
|
8083
|
+
}
|
|
8084
|
+
if (proto.timeSpan) {
|
|
8085
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
8086
|
+
}
|
|
8087
|
+
if (proto.timeZone) {
|
|
8088
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
8089
|
+
}
|
|
8090
|
+
return m;
|
|
8091
|
+
}
|
|
8092
|
+
constructor(kwargs) {
|
|
8093
|
+
if (!kwargs) {
|
|
8094
|
+
return;
|
|
8095
|
+
}
|
|
8096
|
+
Object.assign(this, kwargs);
|
|
8097
|
+
}
|
|
8098
|
+
toApiJson() {
|
|
8099
|
+
const toReturn = {};
|
|
8100
|
+
if (typeof this.hostId !== 'undefined') {
|
|
8101
|
+
toReturn['hostId'] = this.hostId;
|
|
8102
|
+
}
|
|
8103
|
+
if (typeof this.targets !== 'undefined' && this.targets !== null) {
|
|
8104
|
+
toReturn['targets'] = 'toApiJson' in this.targets ? this.targets.toApiJson() : this.targets;
|
|
8105
|
+
}
|
|
8106
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
8107
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
8108
|
+
}
|
|
8109
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
8110
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
8111
|
+
}
|
|
8112
|
+
return toReturn;
|
|
8113
|
+
}
|
|
8114
|
+
}
|
|
8115
|
+
class HostListBatchAvailableTimeSlotsResponse {
|
|
8116
|
+
static fromProto(proto) {
|
|
8117
|
+
let m = new HostListBatchAvailableTimeSlotsResponse();
|
|
8118
|
+
m = Object.assign(m, proto);
|
|
8119
|
+
if (proto.isoTimeSlots) {
|
|
8120
|
+
m.isoTimeSlots = proto.isoTimeSlots.map(IsoDateTimeRange.fromProto);
|
|
8121
|
+
}
|
|
8122
|
+
return m;
|
|
8123
|
+
}
|
|
8124
|
+
constructor(kwargs) {
|
|
8125
|
+
if (!kwargs) {
|
|
8126
|
+
return;
|
|
8127
|
+
}
|
|
8128
|
+
Object.assign(this, kwargs);
|
|
8129
|
+
}
|
|
8130
|
+
toApiJson() {
|
|
8131
|
+
const toReturn = {};
|
|
8132
|
+
if (typeof this.isoTimeSlots !== 'undefined' && this.isoTimeSlots !== null) {
|
|
8133
|
+
toReturn['isoTimeSlots'] = 'toApiJson' in this.isoTimeSlots ? this.isoTimeSlots.toApiJson() : this.isoTimeSlots;
|
|
8134
|
+
}
|
|
8135
|
+
return toReturn;
|
|
8136
|
+
}
|
|
8137
|
+
}
|
|
7876
8138
|
class HostListMeetingTypesRequest {
|
|
7877
8139
|
static fromProto(proto) {
|
|
7878
8140
|
let m = new HostListMeetingTypesRequest();
|
|
@@ -7916,6 +8178,41 @@ class HostListMeetingTypesResponse {
|
|
|
7916
8178
|
return toReturn;
|
|
7917
8179
|
}
|
|
7918
8180
|
}
|
|
8181
|
+
class HostRescheduleBatchMeetingRequest {
|
|
8182
|
+
static fromProto(proto) {
|
|
8183
|
+
let m = new HostRescheduleBatchMeetingRequest();
|
|
8184
|
+
m = Object.assign(m, proto);
|
|
8185
|
+
if (proto.start) {
|
|
8186
|
+
m.start = new Date(proto.start);
|
|
8187
|
+
}
|
|
8188
|
+
if (proto.timeZone) {
|
|
8189
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
8190
|
+
}
|
|
8191
|
+
return m;
|
|
8192
|
+
}
|
|
8193
|
+
constructor(kwargs) {
|
|
8194
|
+
if (!kwargs) {
|
|
8195
|
+
return;
|
|
8196
|
+
}
|
|
8197
|
+
Object.assign(this, kwargs);
|
|
8198
|
+
}
|
|
8199
|
+
toApiJson() {
|
|
8200
|
+
const toReturn = {};
|
|
8201
|
+
if (typeof this.id !== 'undefined') {
|
|
8202
|
+
toReturn['id'] = this.id;
|
|
8203
|
+
}
|
|
8204
|
+
if (typeof this.start !== 'undefined' && this.start !== null) {
|
|
8205
|
+
toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
|
|
8206
|
+
}
|
|
8207
|
+
if (typeof this.location !== 'undefined') {
|
|
8208
|
+
toReturn['location'] = this.location;
|
|
8209
|
+
}
|
|
8210
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
8211
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
8212
|
+
}
|
|
8213
|
+
return toReturn;
|
|
8214
|
+
}
|
|
8215
|
+
}
|
|
7919
8216
|
class GetHostsForCalendarResponseHostUserAvailabilityRuleEntry {
|
|
7920
8217
|
static fromProto(proto) {
|
|
7921
8218
|
let m = new GetHostsForCalendarResponseHostUserAvailabilityRuleEntry();
|
|
@@ -8339,6 +8636,70 @@ class ListBookedMeetingsResponse {
|
|
|
8339
8636
|
return toReturn;
|
|
8340
8637
|
}
|
|
8341
8638
|
}
|
|
8639
|
+
class ListBookedMeetingsV2Request {
|
|
8640
|
+
static fromProto(proto) {
|
|
8641
|
+
let m = new ListBookedMeetingsV2Request();
|
|
8642
|
+
m = Object.assign(m, proto);
|
|
8643
|
+
if (proto.filters) {
|
|
8644
|
+
m.filters = ListBookedMeetingsRequestFilters.fromProto(proto.filters);
|
|
8645
|
+
}
|
|
8646
|
+
if (proto.pagingOptions) {
|
|
8647
|
+
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
8648
|
+
}
|
|
8649
|
+
if (proto.timeZone) {
|
|
8650
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
8651
|
+
}
|
|
8652
|
+
return m;
|
|
8653
|
+
}
|
|
8654
|
+
constructor(kwargs) {
|
|
8655
|
+
if (!kwargs) {
|
|
8656
|
+
return;
|
|
8657
|
+
}
|
|
8658
|
+
Object.assign(this, kwargs);
|
|
8659
|
+
}
|
|
8660
|
+
toApiJson() {
|
|
8661
|
+
const toReturn = {};
|
|
8662
|
+
if (typeof this.filters !== 'undefined' && this.filters !== null) {
|
|
8663
|
+
toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;
|
|
8664
|
+
}
|
|
8665
|
+
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
8666
|
+
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
8667
|
+
}
|
|
8668
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
8669
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
8670
|
+
}
|
|
8671
|
+
return toReturn;
|
|
8672
|
+
}
|
|
8673
|
+
}
|
|
8674
|
+
class ListBookedMeetingsV2Response {
|
|
8675
|
+
static fromProto(proto) {
|
|
8676
|
+
let m = new ListBookedMeetingsV2Response();
|
|
8677
|
+
m = Object.assign(m, proto);
|
|
8678
|
+
if (proto.bookings) {
|
|
8679
|
+
m.bookings = proto.bookings.map(BookedMeetingV2.fromProto);
|
|
8680
|
+
}
|
|
8681
|
+
if (proto.pagingMetadata) {
|
|
8682
|
+
m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
|
|
8683
|
+
}
|
|
8684
|
+
return m;
|
|
8685
|
+
}
|
|
8686
|
+
constructor(kwargs) {
|
|
8687
|
+
if (!kwargs) {
|
|
8688
|
+
return;
|
|
8689
|
+
}
|
|
8690
|
+
Object.assign(this, kwargs);
|
|
8691
|
+
}
|
|
8692
|
+
toApiJson() {
|
|
8693
|
+
const toReturn = {};
|
|
8694
|
+
if (typeof this.bookings !== 'undefined' && this.bookings !== null) {
|
|
8695
|
+
toReturn['bookings'] = 'toApiJson' in this.bookings ? this.bookings.toApiJson() : this.bookings;
|
|
8696
|
+
}
|
|
8697
|
+
if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {
|
|
8698
|
+
toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;
|
|
8699
|
+
}
|
|
8700
|
+
return toReturn;
|
|
8701
|
+
}
|
|
8702
|
+
}
|
|
8342
8703
|
class ListBookingTypesForAIRequest {
|
|
8343
8704
|
static fromProto(proto) {
|
|
8344
8705
|
let m = new ListBookingTypesForAIRequest();
|
|
@@ -8688,6 +9049,29 @@ class UpdateMeetingMetadataRequestMetadataEntry {
|
|
|
8688
9049
|
return toReturn;
|
|
8689
9050
|
}
|
|
8690
9051
|
}
|
|
9052
|
+
class HostBookBatchMeetingRequestMetadataEntry {
|
|
9053
|
+
static fromProto(proto) {
|
|
9054
|
+
let m = new HostBookBatchMeetingRequestMetadataEntry();
|
|
9055
|
+
m = Object.assign(m, proto);
|
|
9056
|
+
return m;
|
|
9057
|
+
}
|
|
9058
|
+
constructor(kwargs) {
|
|
9059
|
+
if (!kwargs) {
|
|
9060
|
+
return;
|
|
9061
|
+
}
|
|
9062
|
+
Object.assign(this, kwargs);
|
|
9063
|
+
}
|
|
9064
|
+
toApiJson() {
|
|
9065
|
+
const toReturn = {};
|
|
9066
|
+
if (typeof this.key !== 'undefined') {
|
|
9067
|
+
toReturn['key'] = this.key;
|
|
9068
|
+
}
|
|
9069
|
+
if (typeof this.value !== 'undefined') {
|
|
9070
|
+
toReturn['value'] = this.value;
|
|
9071
|
+
}
|
|
9072
|
+
return toReturn;
|
|
9073
|
+
}
|
|
9074
|
+
}
|
|
8691
9075
|
class MeetingMetadataEntry {
|
|
8692
9076
|
static fromProto(proto) {
|
|
8693
9077
|
let m = new MeetingMetadataEntry();
|
|
@@ -9262,6 +9646,12 @@ class MCPOptions {
|
|
|
9262
9646
|
if (typeof this.serverId !== 'undefined') {
|
|
9263
9647
|
toReturn['serverId'] = this.serverId;
|
|
9264
9648
|
}
|
|
9649
|
+
if (typeof this.toolId !== 'undefined') {
|
|
9650
|
+
toReturn['toolId'] = this.toolId;
|
|
9651
|
+
}
|
|
9652
|
+
if (typeof this.requiredFields !== 'undefined') {
|
|
9653
|
+
toReturn['requiredFields'] = this.requiredFields;
|
|
9654
|
+
}
|
|
9265
9655
|
return toReturn;
|
|
9266
9656
|
}
|
|
9267
9657
|
}
|
|
@@ -9949,6 +10339,11 @@ class MeetingHostApiService {
|
|
|
9949
10339
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListBookedMeetings", request.toApiJson(), this.apiOptions())
|
|
9950
10340
|
.pipe(map(resp => ListBookedMeetingsResponse.fromProto(resp)));
|
|
9951
10341
|
}
|
|
10342
|
+
listBookedMeetingsV2(r) {
|
|
10343
|
+
const request = (r.toApiJson) ? r : new ListBookedMeetingsV2Request(r);
|
|
10344
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/ListBookedMeetingsV2", request.toApiJson(), this.apiOptions())
|
|
10345
|
+
.pipe(map(resp => ListBookedMeetingsV2Response.fromProto(resp)));
|
|
10346
|
+
}
|
|
9952
10347
|
cancelMeeting(r) {
|
|
9953
10348
|
const request = (r.toApiJson) ? r : new CancelMeetingRequest(r);
|
|
9954
10349
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CancelMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
@@ -9992,6 +10387,24 @@ class MeetingHostApiService {
|
|
|
9992
10387
|
const request = (r.toApiJson) ? r : new UpdateHostPreferencesRequest(r);
|
|
9993
10388
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/UpdateHostPreferences", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
9994
10389
|
}
|
|
10390
|
+
hostBookBatchMeeting(r) {
|
|
10391
|
+
const request = (r.toApiJson) ? r : new HostBookBatchMeetingRequest(r);
|
|
10392
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostBookBatchMeeting", request.toApiJson(), this.apiOptions())
|
|
10393
|
+
.pipe(map(resp => HostBookBatchMeetingResponse.fromProto(resp)));
|
|
10394
|
+
}
|
|
10395
|
+
hostRescheduleBatchMeeting(r) {
|
|
10396
|
+
const request = (r.toApiJson) ? r : new HostRescheduleBatchMeetingRequest(r);
|
|
10397
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostRescheduleBatchMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
10398
|
+
}
|
|
10399
|
+
hostCancelBatchMeeting(r) {
|
|
10400
|
+
const request = (r.toApiJson) ? r : new HostCancelBatchMeetingRequest(r);
|
|
10401
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostCancelBatchMeeting", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
10402
|
+
}
|
|
10403
|
+
hostListBatchAvailableTimeSlots(r) {
|
|
10404
|
+
const request = (r.toApiJson) ? r : new HostListBatchAvailableTimeSlotsRequest(r);
|
|
10405
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostListBatchAvailableTimeSlots", request.toApiJson(), this.apiOptions())
|
|
10406
|
+
.pipe(map(resp => HostListBatchAvailableTimeSlotsResponse.fromProto(resp)));
|
|
10407
|
+
}
|
|
9995
10408
|
getMeetingType(r) {
|
|
9996
10409
|
const request = (r.toApiJson) ? r : new HostGetMeetingTypeRequest(r);
|
|
9997
10410
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetMeetingType", request.toApiJson(), this.apiOptions())
|
|
@@ -10489,6 +10902,8 @@ function PreferencesFromApi(preferences) {
|
|
|
10489
10902
|
calendarSlug: preferences.calendarSlug || '',
|
|
10490
10903
|
calendarIntegration: preferences.calendarIntegration || CalendarSource.CALENDAR_SOURCE_INVALID,
|
|
10491
10904
|
onBoardingState: preferences.onBoardingState || OnBoardingState.COMPLETED_SETUP,
|
|
10905
|
+
calendarMembers: preferences.calendarMembers || [],
|
|
10906
|
+
defaultCalendarView: preferences.defaultCalendarView || CalendarView.CALENDAR_VIEW_INVALID,
|
|
10492
10907
|
};
|
|
10493
10908
|
}
|
|
10494
10909
|
|
|
@@ -11174,6 +11589,67 @@ class HostService {
|
|
|
11174
11589
|
.bookMeeting(req)
|
|
11175
11590
|
.pipe(map((resp) => resp.meetingId));
|
|
11176
11591
|
}
|
|
11592
|
+
// listBookedMeetingsV2 returns bookings grouped by booking_group_id.
|
|
11593
|
+
// Standalone meetings appear as a single-entry BookedMeetingGroup with an empty
|
|
11594
|
+
// bookingGroupId; batch bookings appear as one BookedMeetingGroup with N siblings.
|
|
11595
|
+
listBookedMeetingsV2(req) {
|
|
11596
|
+
return this.hostAPIService
|
|
11597
|
+
.listBookedMeetingsV2({
|
|
11598
|
+
filters: new ListBookedMeetingsRequestFilters(req.filters),
|
|
11599
|
+
pagingOptions: new PagedRequestOptions({
|
|
11600
|
+
cursor: req.cursor,
|
|
11601
|
+
pageSize: req.pageSize,
|
|
11602
|
+
}),
|
|
11603
|
+
timeZone: new TimeZone(req.timeZone),
|
|
11604
|
+
})
|
|
11605
|
+
.pipe(map((resp) => {
|
|
11606
|
+
const bookings = (resp.bookings || []).map((booking) => ({
|
|
11607
|
+
bookingGroupId: booking.bookingGroupId || "",
|
|
11608
|
+
meetings: (booking.meetings || []).map((meeting) => meetingFromApi(meeting)),
|
|
11609
|
+
}));
|
|
11610
|
+
return new PagedResponse(bookings, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore);
|
|
11611
|
+
}));
|
|
11612
|
+
}
|
|
11613
|
+
// hostBookBatchMeeting books a meeting on the host calendar — single-service
|
|
11614
|
+
// (N=1 target) or multi-service (N>1 ordered targets). Returns the booking_group_id.
|
|
11615
|
+
hostBookBatchMeeting(req) {
|
|
11616
|
+
return this.hostAPIService
|
|
11617
|
+
.hostBookBatchMeeting({
|
|
11618
|
+
...req,
|
|
11619
|
+
formAnswers: answersToAPI(req.formAnswers),
|
|
11620
|
+
})
|
|
11621
|
+
.pipe(map((resp) => resp.bookingGroupId));
|
|
11622
|
+
}
|
|
11623
|
+
// hostRescheduleBatchMeeting accepts either a single meeting_id or a booking_group_id.
|
|
11624
|
+
// When a booking_group_id is passed the server reschedules every sibling atomically,
|
|
11625
|
+
// preserving per-sibling durations and shifting all by the same delta.
|
|
11626
|
+
hostRescheduleBatchMeeting(req) {
|
|
11627
|
+
return this.hostAPIService
|
|
11628
|
+
.hostRescheduleBatchMeeting(req)
|
|
11629
|
+
.pipe(mapTo(null));
|
|
11630
|
+
}
|
|
11631
|
+
// hostCancelBatchMeeting accepts either a single meeting_id or a booking_group_id.
|
|
11632
|
+
// For partial-group cancellation the FE issues N parallel calls each with the
|
|
11633
|
+
// individual meeting_id.
|
|
11634
|
+
hostCancelBatchMeeting(req) {
|
|
11635
|
+
return this.hostAPIService.hostCancelBatchMeeting(req).pipe(mapTo(null));
|
|
11636
|
+
}
|
|
11637
|
+
// hostListBatchAvailableTimeSlots returns valid chain start times for a
|
|
11638
|
+
// multi-service host booking. Each slot is the start of the first meeting
|
|
11639
|
+
// in the chain.
|
|
11640
|
+
hostListBatchAvailableTimeSlots(req) {
|
|
11641
|
+
return this.hostAPIService
|
|
11642
|
+
.hostListBatchAvailableTimeSlots(req)
|
|
11643
|
+
.pipe(map((resp) => {
|
|
11644
|
+
if (resp.isoTimeSlots?.length) {
|
|
11645
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
11646
|
+
start: new Date(iso.start),
|
|
11647
|
+
end: new Date(iso.end),
|
|
11648
|
+
}));
|
|
11649
|
+
}
|
|
11650
|
+
return [];
|
|
11651
|
+
}));
|
|
11652
|
+
}
|
|
11177
11653
|
// createDefaultMeetingTypes will create what Meeting Scheduler deems to be the default meeting types.
|
|
11178
11654
|
// If the calendar already has meeting types, this is guaranteed to be a no-op.
|
|
11179
11655
|
createDefaultMeetingTypes(req) {
|
|
@@ -11427,5 +11903,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
11427
11903
|
* Generated bundle index. Do not edit.
|
|
11428
11904
|
*/
|
|
11429
11905
|
|
|
11430
|
-
export { BookBatchMeetingResponse, BookingSource, CalendarSource, CalendarType, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact$1 as Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GetServiceV2Response, GuestGetBookedMeetingResponseV2, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, ListBatchAvailableTimeSlotsResponse, ListGuestBookedMeetingsResponse, MeetingDetail, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, ServiceEventType, ServiceGroup, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
11906
|
+
export { BookBatchMeetingResponse, BookedMeetingV2, BookingSource, CalendarMember, CalendarSource, CalendarType, CalendarView, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact$1 as Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GetServiceV2Response, GuestGetBookedMeetingResponseV2, GuestService, HostBookBatchMeetingResponse, HostListBatchAvailableTimeSlotsResponse, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, ListBatchAvailableTimeSlotsResponse, ListBookedMeetingsV2Response, ListGuestBookedMeetingsResponse, MeetingDetail, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, ServiceEventType, ServiceGroup, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
11431
11907
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|