@vendasta/meetings 1.7.5 → 1.7.6
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/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 +2 -2
- package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +14 -8
- package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
- 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/guest/guest.service.mjs +28 -2
- package/esm2020/lib/index.mjs +2 -2
- package/fesm2015/vendasta-meetings.mjs +38 -8
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +40 -8
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +5 -3
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -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 +1 -1
- package/lib/_internal/objects/meeting-external.d.ts +2 -2
- package/lib/_internal/objects/meeting-guest.d.ts +6 -4
- package/lib/_internal/objects/meeting-host.d.ts +2 -2
- package/lib/_internal/objects/meeting-source.d.ts +1 -1
- package/lib/_internal/objects/meeting-type.d.ts +1 -1
- 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/guest/guest.service.d.ts +34 -1
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -4799,6 +4799,9 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
4799
4799
|
if (typeof this.meetings !== 'undefined' && this.meetings !== null) {
|
|
4800
4800
|
toReturn['meetings'] = 'toApiJson' in this.meetings ? this.meetings.toApiJson() : this.meetings;
|
|
4801
4801
|
}
|
|
4802
|
+
if (typeof this.primaryAttendeePhone !== 'undefined') {
|
|
4803
|
+
toReturn['primaryAttendeePhone'] = this.primaryAttendeePhone;
|
|
4804
|
+
}
|
|
4802
4805
|
return toReturn;
|
|
4803
4806
|
}
|
|
4804
4807
|
}
|
|
@@ -5262,12 +5265,6 @@ class MeetingDetail {
|
|
|
5262
5265
|
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5263
5266
|
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5264
5267
|
}
|
|
5265
|
-
if (typeof this.businessLogo !== 'undefined') {
|
|
5266
|
-
toReturn['businessLogo'] = this.businessLogo;
|
|
5267
|
-
}
|
|
5268
|
-
if (typeof this.bookingUrl !== 'undefined') {
|
|
5269
|
-
toReturn['bookingUrl'] = this.bookingUrl;
|
|
5270
|
-
}
|
|
5271
5268
|
if (typeof this.previousStartTime !== 'undefined' && this.previousStartTime !== null) {
|
|
5272
5269
|
toReturn['previousStartTime'] = 'toApiJson' in this.previousStartTime ? this.previousStartTime.toApiJson() : this.previousStartTime;
|
|
5273
5270
|
}
|
|
@@ -5280,6 +5277,15 @@ class MeetingDetail {
|
|
|
5280
5277
|
if (typeof this.order !== 'undefined') {
|
|
5281
5278
|
toReturn['order'] = this.order;
|
|
5282
5279
|
}
|
|
5280
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
5281
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
5282
|
+
}
|
|
5283
|
+
if (typeof this.userId !== 'undefined') {
|
|
5284
|
+
toReturn['userId'] = this.userId;
|
|
5285
|
+
}
|
|
5286
|
+
if (typeof this.locationGuideline !== 'undefined') {
|
|
5287
|
+
toReturn['locationGuideline'] = this.locationGuideline;
|
|
5288
|
+
}
|
|
5283
5289
|
return toReturn;
|
|
5284
5290
|
}
|
|
5285
5291
|
}
|
|
@@ -10757,7 +10763,7 @@ class GuestService {
|
|
|
10757
10763
|
return this.guestAPIService.getGuestBookedMeetingV2(req);
|
|
10758
10764
|
}
|
|
10759
10765
|
cancelBatchMeeting(req) {
|
|
10760
|
-
return this.guestAPIService.cancelBatchMeeting(req).pipe(
|
|
10766
|
+
return this.guestAPIService.cancelBatchMeeting(req).pipe(mapTo(null));
|
|
10761
10767
|
}
|
|
10762
10768
|
isHostConfigured(req) {
|
|
10763
10769
|
return this.guestAPIService
|
|
@@ -10795,6 +10801,30 @@ class GuestService {
|
|
|
10795
10801
|
getServiceV2(req) {
|
|
10796
10802
|
return this.guestAPIService.getServiceV2(req);
|
|
10797
10803
|
}
|
|
10804
|
+
listBatchAvailableTimeSlots(req) {
|
|
10805
|
+
return this.guestAPIService.listBatchAvailableTimeSlots(req).pipe(map((resp) => {
|
|
10806
|
+
var _a, _b;
|
|
10807
|
+
if ((_a = resp.timeSlots) === null || _a === void 0 ? void 0 : _a.length) {
|
|
10808
|
+
return resp.timeSlots.map((ts) => TimeSpanFromApi(ts));
|
|
10809
|
+
}
|
|
10810
|
+
if ((_b = resp.isoTimeSlots) === null || _b === void 0 ? void 0 : _b.length) {
|
|
10811
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
10812
|
+
start: new Date(iso.start),
|
|
10813
|
+
end: new Date(iso.end),
|
|
10814
|
+
}));
|
|
10815
|
+
}
|
|
10816
|
+
return [];
|
|
10817
|
+
}));
|
|
10818
|
+
}
|
|
10819
|
+
bookBatchMeeting(req) {
|
|
10820
|
+
return this.guestAPIService.bookBatchMeeting(Object.assign(Object.assign({}, req), { formAnswers: answersToAPI(req.formAnswers) }));
|
|
10821
|
+
}
|
|
10822
|
+
rescheduleBatchMeeting(req) {
|
|
10823
|
+
return this.guestAPIService.rescheduleBatchMeeting(req).pipe(mapTo(null));
|
|
10824
|
+
}
|
|
10825
|
+
listGuestBookedMeetings(req) {
|
|
10826
|
+
return this.guestAPIService.listGuestBookedMeetings(req);
|
|
10827
|
+
}
|
|
10798
10828
|
}
|
|
10799
10829
|
GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10800
10830
|
GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: "root" });
|
|
@@ -11350,5 +11380,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
11350
11380
|
* Generated bundle index. Do not edit.
|
|
11351
11381
|
*/
|
|
11352
11382
|
|
|
11353
|
-
export { BookingSource, CalendarSource, CalendarType, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact$1 as Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
11383
|
+
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 };
|
|
11354
11384
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|