@vendasta/meetings 1.7.5 → 1.7.7
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/groups-and-services.interface.mjs +1 -7
- 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/groups-and-services.mjs +15 -1
- 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-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 +50 -8
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +52 -8
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/groups-and-services.interface.d.ts +4 -0
- 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/groups-and-services.d.ts +4 -0
- 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-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
|
@@ -2423,6 +2423,12 @@ class EventGroupAndServiceAssociations {
|
|
|
2423
2423
|
static fromProto(proto) {
|
|
2424
2424
|
let m = new EventGroupAndServiceAssociations();
|
|
2425
2425
|
m = Object.assign(m, proto);
|
|
2426
|
+
if (proto.hostUsers) {
|
|
2427
|
+
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
2428
|
+
}
|
|
2429
|
+
if (proto.teamMeetingType) {
|
|
2430
|
+
m.teamMeetingType = enumStringToValue$8(TeamEventMeetingType, proto.teamMeetingType);
|
|
2431
|
+
}
|
|
2426
2432
|
return m;
|
|
2427
2433
|
}
|
|
2428
2434
|
constructor(kwargs) {
|
|
@@ -2466,6 +2472,12 @@ class EventGroupAndServiceAssociations {
|
|
|
2466
2472
|
if (typeof this.bookingUrl !== 'undefined') {
|
|
2467
2473
|
toReturn['bookingUrl'] = this.bookingUrl;
|
|
2468
2474
|
}
|
|
2475
|
+
if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
|
|
2476
|
+
toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
|
|
2477
|
+
}
|
|
2478
|
+
if (typeof this.teamMeetingType !== 'undefined') {
|
|
2479
|
+
toReturn['teamMeetingType'] = this.teamMeetingType;
|
|
2480
|
+
}
|
|
2469
2481
|
return toReturn;
|
|
2470
2482
|
}
|
|
2471
2483
|
}
|
|
@@ -4799,6 +4811,9 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
4799
4811
|
if (typeof this.meetings !== 'undefined' && this.meetings !== null) {
|
|
4800
4812
|
toReturn['meetings'] = 'toApiJson' in this.meetings ? this.meetings.toApiJson() : this.meetings;
|
|
4801
4813
|
}
|
|
4814
|
+
if (typeof this.primaryAttendeePhone !== 'undefined') {
|
|
4815
|
+
toReturn['primaryAttendeePhone'] = this.primaryAttendeePhone;
|
|
4816
|
+
}
|
|
4802
4817
|
return toReturn;
|
|
4803
4818
|
}
|
|
4804
4819
|
}
|
|
@@ -5262,12 +5277,6 @@ class MeetingDetail {
|
|
|
5262
5277
|
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5263
5278
|
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5264
5279
|
}
|
|
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
5280
|
if (typeof this.previousStartTime !== 'undefined' && this.previousStartTime !== null) {
|
|
5272
5281
|
toReturn['previousStartTime'] = 'toApiJson' in this.previousStartTime ? this.previousStartTime.toApiJson() : this.previousStartTime;
|
|
5273
5282
|
}
|
|
@@ -5280,6 +5289,15 @@ class MeetingDetail {
|
|
|
5280
5289
|
if (typeof this.order !== 'undefined') {
|
|
5281
5290
|
toReturn['order'] = this.order;
|
|
5282
5291
|
}
|
|
5292
|
+
if (typeof this.eventTypeId !== 'undefined') {
|
|
5293
|
+
toReturn['eventTypeId'] = this.eventTypeId;
|
|
5294
|
+
}
|
|
5295
|
+
if (typeof this.userId !== 'undefined') {
|
|
5296
|
+
toReturn['userId'] = this.userId;
|
|
5297
|
+
}
|
|
5298
|
+
if (typeof this.locationGuideline !== 'undefined') {
|
|
5299
|
+
toReturn['locationGuideline'] = this.locationGuideline;
|
|
5300
|
+
}
|
|
5283
5301
|
return toReturn;
|
|
5284
5302
|
}
|
|
5285
5303
|
}
|
|
@@ -10766,7 +10784,7 @@ class GuestService {
|
|
|
10766
10784
|
return this.guestAPIService.getGuestBookedMeetingV2(req);
|
|
10767
10785
|
}
|
|
10768
10786
|
cancelBatchMeeting(req) {
|
|
10769
|
-
return this.guestAPIService.cancelBatchMeeting(req).pipe(
|
|
10787
|
+
return this.guestAPIService.cancelBatchMeeting(req).pipe(mapTo(null));
|
|
10770
10788
|
}
|
|
10771
10789
|
isHostConfigured(req) {
|
|
10772
10790
|
return this.guestAPIService
|
|
@@ -10804,6 +10822,32 @@ class GuestService {
|
|
|
10804
10822
|
getServiceV2(req) {
|
|
10805
10823
|
return this.guestAPIService.getServiceV2(req);
|
|
10806
10824
|
}
|
|
10825
|
+
listBatchAvailableTimeSlots(req) {
|
|
10826
|
+
return this.guestAPIService.listBatchAvailableTimeSlots(req).pipe(map((resp) => {
|
|
10827
|
+
if (resp.timeSlots?.length) {
|
|
10828
|
+
return resp.timeSlots.map((ts) => TimeSpanFromApi(ts));
|
|
10829
|
+
}
|
|
10830
|
+
if (resp.isoTimeSlots?.length) {
|
|
10831
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
10832
|
+
start: new Date(iso.start),
|
|
10833
|
+
end: new Date(iso.end),
|
|
10834
|
+
}));
|
|
10835
|
+
}
|
|
10836
|
+
return [];
|
|
10837
|
+
}));
|
|
10838
|
+
}
|
|
10839
|
+
bookBatchMeeting(req) {
|
|
10840
|
+
return this.guestAPIService.bookBatchMeeting({
|
|
10841
|
+
...req,
|
|
10842
|
+
formAnswers: answersToAPI(req.formAnswers),
|
|
10843
|
+
});
|
|
10844
|
+
}
|
|
10845
|
+
rescheduleBatchMeeting(req) {
|
|
10846
|
+
return this.guestAPIService.rescheduleBatchMeeting(req).pipe(mapTo(null));
|
|
10847
|
+
}
|
|
10848
|
+
listGuestBookedMeetings(req) {
|
|
10849
|
+
return this.guestAPIService.listGuestBookedMeetings(req);
|
|
10850
|
+
}
|
|
10807
10851
|
}
|
|
10808
10852
|
GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10809
10853
|
GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: "root" });
|
|
@@ -11395,5 +11439,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
11395
11439
|
* Generated bundle index. Do not edit.
|
|
11396
11440
|
*/
|
|
11397
11441
|
|
|
11398
|
-
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 };
|
|
11442
|
+
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 };
|
|
11399
11443
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|