@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
|
}
|
|
@@ -10757,7 +10775,7 @@ class GuestService {
|
|
|
10757
10775
|
return this.guestAPIService.getGuestBookedMeetingV2(req);
|
|
10758
10776
|
}
|
|
10759
10777
|
cancelBatchMeeting(req) {
|
|
10760
|
-
return this.guestAPIService.cancelBatchMeeting(req).pipe(
|
|
10778
|
+
return this.guestAPIService.cancelBatchMeeting(req).pipe(mapTo(null));
|
|
10761
10779
|
}
|
|
10762
10780
|
isHostConfigured(req) {
|
|
10763
10781
|
return this.guestAPIService
|
|
@@ -10795,6 +10813,30 @@ class GuestService {
|
|
|
10795
10813
|
getServiceV2(req) {
|
|
10796
10814
|
return this.guestAPIService.getServiceV2(req);
|
|
10797
10815
|
}
|
|
10816
|
+
listBatchAvailableTimeSlots(req) {
|
|
10817
|
+
return this.guestAPIService.listBatchAvailableTimeSlots(req).pipe(map((resp) => {
|
|
10818
|
+
var _a, _b;
|
|
10819
|
+
if ((_a = resp.timeSlots) === null || _a === void 0 ? void 0 : _a.length) {
|
|
10820
|
+
return resp.timeSlots.map((ts) => TimeSpanFromApi(ts));
|
|
10821
|
+
}
|
|
10822
|
+
if ((_b = resp.isoTimeSlots) === null || _b === void 0 ? void 0 : _b.length) {
|
|
10823
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
10824
|
+
start: new Date(iso.start),
|
|
10825
|
+
end: new Date(iso.end),
|
|
10826
|
+
}));
|
|
10827
|
+
}
|
|
10828
|
+
return [];
|
|
10829
|
+
}));
|
|
10830
|
+
}
|
|
10831
|
+
bookBatchMeeting(req) {
|
|
10832
|
+
return this.guestAPIService.bookBatchMeeting(Object.assign(Object.assign({}, req), { formAnswers: answersToAPI(req.formAnswers) }));
|
|
10833
|
+
}
|
|
10834
|
+
rescheduleBatchMeeting(req) {
|
|
10835
|
+
return this.guestAPIService.rescheduleBatchMeeting(req).pipe(mapTo(null));
|
|
10836
|
+
}
|
|
10837
|
+
listGuestBookedMeetings(req) {
|
|
10838
|
+
return this.guestAPIService.listGuestBookedMeetings(req);
|
|
10839
|
+
}
|
|
10798
10840
|
}
|
|
10799
10841
|
GuestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, deps: [{ token: MeetingGuestApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10800
10842
|
GuestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GuestService, providedIn: "root" });
|
|
@@ -11350,5 +11392,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
11350
11392
|
* Generated bundle index. Do not edit.
|
|
11351
11393
|
*/
|
|
11352
11394
|
|
|
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 };
|
|
11395
|
+
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
11396
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|