@vendasta/meetings 1.6.9 → 1.7.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.
Files changed (27) hide show
  1. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  2. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +11 -2
  7. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  8. package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
  9. package/esm2020/lib/_internal/objects/meeting-guest.mjs +202 -6
  10. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  11. package/esm2020/lib/_internal/objects/shared.mjs +1 -1
  12. package/esm2020/lib/guest/guest.service.mjs +43 -21
  13. package/fesm2015/vendasta-meetings.mjs +247 -20
  14. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  15. package/fesm2020/vendasta-meetings.mjs +247 -20
  16. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  17. package/lib/_internal/interfaces/index.d.ts +1 -1
  18. package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
  19. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +42 -3
  20. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  21. package/lib/_internal/meeting-guest.api.service.d.ts +4 -2
  22. package/lib/_internal/objects/index.d.ts +1 -1
  23. package/lib/_internal/objects/meeting-external.d.ts +1 -1
  24. package/lib/_internal/objects/meeting-guest.d.ts +61 -7
  25. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  26. package/lib/guest/guest.service.d.ts +7 -4
  27. package/package.json +1 -1
@@ -5,7 +5,7 @@ export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInter
5
5
  export { DateRangeInterface, } from './date-range.interface';
6
6
  export { EventTypeDateRangeInterface, FieldInterface, FormInterface, MeetingTypeInterface, RegistrationCutOffInterface, RelativeDateRangeInterface, } from './meeting-type.interface';
7
7
  export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
8
- export { BatchBookingTargetInterface, BatchEventTypeTargetInterface, BookBatchMeetingRequestInterface, BookBatchMeetingResponseInterface, BookMeetingRequestInterface, BookMeetingResponseInterface, CheckFeatureFlagRequestInterface, CheckFeatureFlagResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingCalendarInfoRequestInterface, GetMeetingCalendarInfoResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GetServiceRequestInterface, GetServiceResponseInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionInviteeMeetingInfoResponseInterface, GetSessionMeetingRequestInterface, GetSessionMeetingResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingRequestV2Interface, GuestGetBookedMeetingResponseInterface, GuestGetBookedMeetingResponseV2Interface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListBatchAvailableTimeSlotsRequestInterface, ListBatchAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookBatchMeetingRequestMetadataEntryInterface, BookMeetingRequestMetadataEntryInterface, RegisterSessionRequestInterface, } from './meeting-guest.interface';
8
+ export { BatchBookingTargetInterface, BatchEventTypeTargetInterface, BookBatchMeetingRequestInterface, BookBatchMeetingResponseInterface, BookMeetingRequestInterface, BookMeetingResponseInterface, CancelBatchMeetingRequestInterface, CheckFeatureFlagRequestInterface, CheckFeatureFlagResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingCalendarInfoRequestInterface, GetMeetingCalendarInfoResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GetServiceRequestInterface, GetServiceResponseInterface, GetServiceV2RequestInterface, GetServiceV2ResponseInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionInviteeMeetingInfoResponseInterface, GetSessionMeetingRequestInterface, GetSessionMeetingResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingRequestV2Interface, GuestGetBookedMeetingResponseInterface, GuestGetBookedMeetingResponseV2Interface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListBatchAvailableTimeSlotsRequestInterface, ListBatchAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, BookBatchMeetingRequestMetadataEntryInterface, RegisterSessionRequestInterface, ServiceEventTypeInterface, ServiceGroupInterface, } from './meeting-guest.interface';
9
9
  export { AvailableTimeSlotsRequestInterface, AvailableTimeSlotsResponseInterface, BookMeetingExternalRequestInterface, BookMeetingExternalResponseInterface, EventTypeInterface, ExternalCancelMeetingRequestInterface, ExternalRescheduleMeetingRequestInterface, ExternalRescheduleMeetingResponseInterface, GetUsersRequestInterface, GetUsersResponseInterface, GroupResponseInterface, GroupsRequestInterface, GroupsResponseInterface, HostUserDetailsInterface, ListTeamEventTypesRequestInterface, ListTeamEventTypesResponseInterface, ListUserEventTypesRequestInterface, ListUserEventTypesResponseInterface, ServiceResponseInterface, ServicesRequestInterface, ServicesResponseInterface, UserResponseInterface, } from './meeting-external.interface';
10
10
  export { FieldMaskInterface, } from './field-mask.interface';
11
11
  export { IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, BuildHostIdRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, AvailabilityRuleListInterface, BuildHostIdRequestInterface, BuildHostIdResponseInterface, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntryInterface, CalendarMigrationResponseInterface, CancelMeetingRequestInterface, CheckEventTypeSlugExistRequestInterface, CheckEventTypeSlugExistResponseInterface, CheckGroupOrServiceSlugExistRequestInterface, CheckGroupOrServiceSlugExistResponseInterface, CreateAvailabilityRequestInterface, CreateAvailabilityResponseInterface, CreateCalendarRequestInterface, CreateCalendarResponseInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateGroupResponseInterface, CreateMeetingTypeRequestInterface, CreateMeetingTypeResponseInterface, CreateServiceRequestInterface, CreateServiceResponseInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, DoesCalendarExistResponseInterface, EnsureGroupCalendarsExistRequestInterface, EnsureGroupCalendarsExistResponseInterface, EnsurePersonalCalendarExistsRequestInterface, EnsurePersonalCalendarExistsResponseInterface, EnsureSessionEventCalendarsExistRequestInterface, EnsureSessionEventCalendarsExistResponseInterface, EventTypeSummaryInterface, ListAvailabilityRequestFiltersInterface, ListBookedMeetingsRequestFiltersInterface, GetEntityAssociationRequestInterface, GetEntityAssociationResponseInterface, GetEventTypeByIdRequestInterface, GetEventTypeByIdResponseInterface, GetHostMeetingRequestInterface, GetHostMeetingResponseInterface, GetHostPreferencesRequestInterface, GetHostPreferencesResponseInterface, GetHostsForCalendarRequestInterface, GetHostsForCalendarResponseInterface, GetMeetingTypesForCalendarsRequestInterface, GetMeetingTypesForCalendarsResponseInterface, HostBookMeetingRequestInterface, HostBookMeetingResponseInterface, HostBookSessionRequestInterface, HostBookSessionResponseInterface, HostDeleteAttendeesRequestInterface, HostDetailsInterface, HostGetCalendarRequestInterface, HostGetCalendarResponseInterface, HostGetMeetingTypeRequestInterface, HostGetMeetingTypeResponseInterface, HostListMeetingTypesRequestInterface, HostListMeetingTypesResponseInterface, GetHostsForCalendarResponseHostUserAvailabilityRuleEntryInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponseInterface, IsHostConfiguredRequestInterface, IsHostConfiguredResponseInterface, ListAttendeesRequestInterface, ListAttendeesResponseInterface, ListAvailabilityRequestInterface, ListAvailabilityResponseInterface, ListAvailableTimeslotsForRecurringSessionRequestInterface, ListAvailableTimeslotsForRecurringSessionResponseInterface, ListAvailableTimeslotsForSessionRequestInterface, ListAvailableTimeslotsForSessionResponseInterface, ListBookedMeetingsRequestInterface, ListBookedMeetingsResponseInterface, ListEventTypesForMultipleCalendarsRequestInterface, ListEventTypesForMultipleCalendarsResponseInterface, ListGroupsRequestInterface, ListGroupsResponseInterface, ListServicesRequestInterface, ListServicesResponseInterface, MeetingInterface, MeetingTypeListInterface, UpdateMeetingMetadataRequestMetadataEntryInterface, MeetingMetadataEntryInterface, RecurrenceConfigInterface, RecurrenceEndInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SessionAttendeesInterface, SetGeneralAvailabilityRequestInterface, TimeSlotsByWeekDayInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
@@ -1,8 +1,8 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { ContactInterface } from './openapiv2.interface';
2
3
  import { DateRangeInterface } from './date-range.interface';
3
4
  import { EventTypeDateRangeInterface } from './meeting-type.interface';
4
5
  import { IsoDateTimeRangeInterface, AnswersInterface, HostOrderDetailsInterface } from './shared.interface';
5
- import { TimeZoneInterface } from './';
6
6
  import * as e from '../enums';
7
7
  export interface AvailableTimeSlotsRequestInterface {
8
8
  businessId?: string;
@@ -1,9 +1,9 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { AnswersInterface, CalendarInterface, HostInterface, HostUserInterface, IsoDateTimeRangeInterface } from './shared.interface';
2
3
  import { ContactInterface } from './openapiv2.interface';
3
4
  import { DateRangeInterface } from './date-range.interface';
4
5
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
5
6
  import { MeetingTypeInterface, FormInterface } from './meeting-type.interface';
6
- import { TimeZoneInterface } from './';
7
7
  import * as e from '../enums';
8
8
  export interface BatchBookingTargetInterface {
9
9
  eventTypeId?: string;
@@ -53,6 +53,10 @@ export interface BookMeetingResponseInterface {
53
53
  meetingId?: string;
54
54
  hostId?: string;
55
55
  }
56
+ export interface CancelBatchMeetingRequestInterface {
57
+ id?: string;
58
+ cancellationReason?: string;
59
+ }
56
60
  export interface CheckFeatureFlagRequestInterface {
57
61
  fieldType?: e.FeatureFlagFieldType;
58
62
  fieldValue?: string;
@@ -106,6 +110,19 @@ export interface GetServiceResponseInterface {
106
110
  service?: ServiceInterface;
107
111
  businessDisplayLogoUrl?: string;
108
112
  }
113
+ export interface GetServiceV2RequestInterface {
114
+ serviceId?: string;
115
+ }
116
+ export interface GetServiceV2ResponseInterface {
117
+ id?: string;
118
+ name?: string;
119
+ description?: string;
120
+ groups?: ServiceGroupInterface[];
121
+ eventTypes?: ServiceEventTypeInterface[];
122
+ businessDisplayLogoUrl?: string;
123
+ bookingUrl?: string;
124
+ isBatchBookingEnabled?: boolean;
125
+ }
109
126
  export interface GetSessionInviteeMeetingInfoRequestInterface {
110
127
  sessionInviteeId?: string;
111
128
  }
@@ -230,11 +247,11 @@ export interface ListMeetingTypesRequestInterface {
230
247
  export interface ListMeetingTypesResponseInterface {
231
248
  meetingTypes?: MeetingTypeInterface[];
232
249
  }
233
- export interface BookBatchMeetingRequestMetadataEntryInterface {
250
+ export interface BookMeetingRequestMetadataEntryInterface {
234
251
  key?: string;
235
252
  value?: string;
236
253
  }
237
- export interface BookMeetingRequestMetadataEntryInterface {
254
+ export interface BookBatchMeetingRequestMetadataEntryInterface {
238
255
  key?: string;
239
256
  value?: string;
240
257
  }
@@ -245,3 +262,25 @@ export interface RegisterSessionRequestInterface {
245
262
  formAnswers?: AnswersInterface;
246
263
  recaptchaToken?: string;
247
264
  }
265
+ export interface ServiceEventTypeInterface {
266
+ id?: string;
267
+ name?: string;
268
+ description?: string;
269
+ hostUser?: HostUserInterface[];
270
+ duration?: string;
271
+ emailRequired?: boolean;
272
+ smsRequired?: boolean;
273
+ notificationType?: e.NotificationType;
274
+ eventType?: e.TeamEventMeetingType;
275
+ meetingType?: e.MeetingLocation;
276
+ locationType?: e.MeetingLocationType;
277
+ locationGuideline?: string;
278
+ location?: string;
279
+ }
280
+ export interface ServiceGroupInterface {
281
+ id?: string;
282
+ name?: string;
283
+ description?: string;
284
+ eventTypes?: ServiceEventTypeInterface[];
285
+ isBatchBookingEnabled?: boolean;
286
+ }
@@ -1,10 +1,10 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { ContactInterface } from './shared.interface';
2
3
  import { DateRangeInterface } from './date-range.interface';
3
4
  import { FieldMaskInterface } from './field-mask.interface';
4
5
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
5
6
  import { MeetingTypeInterface, EventTypeDateRangeInterface, RegistrationCutOffInterface } from './meeting-type.interface';
6
7
  import { TimeRangeInterface, CalendarInterface, HostUserInterface, PreferencesInterface, EmailsToDeleteInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, IsoDateTimeRangeInterface, AttendeeInterface, AnswersInterface, AttachmentInterface } from './shared.interface';
7
- import { TimeZoneInterface } from './';
8
8
  import * as e from '../enums';
9
9
  export interface IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
10
10
  key?: string;
@@ -1,5 +1,5 @@
1
- import { BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, CheckFeatureFlagRequest, CheckFeatureFlagResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingCalendarInfoRequest, GetMeetingCalendarInfoResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingRequestV2, GuestGetBookedMeetingResponse, GuestGetBookedMeetingResponseV2, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListBatchAvailableTimeSlotsRequest, ListBatchAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
- import { BookBatchMeetingRequestInterface, BookMeetingRequestInterface, CheckFeatureFlagRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingCalendarInfoRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionMeetingRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingRequestV2Interface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListBatchAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
1
+ import { BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, CancelBatchMeetingRequest, CheckFeatureFlagRequest, CheckFeatureFlagResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingCalendarInfoRequest, GetMeetingCalendarInfoResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetServiceV2Request, GetServiceV2Response, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingRequestV2, GuestGetBookedMeetingResponse, GuestGetBookedMeetingResponseV2, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListBatchAvailableTimeSlotsRequest, ListBatchAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
+ import { BookBatchMeetingRequestInterface, BookMeetingRequestInterface, CancelBatchMeetingRequestInterface, CheckFeatureFlagRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingCalendarInfoRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GetServiceV2RequestInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionMeetingRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingRequestV2Interface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListBatchAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -29,6 +29,8 @@ export declare class MeetingGuestApiService {
29
29
  checkFeatureFlag(r: CheckFeatureFlagRequest | CheckFeatureFlagRequestInterface): Observable<CheckFeatureFlagResponse>;
30
30
  listBatchAvailableTimeSlots(r: ListBatchAvailableTimeSlotsRequest | ListBatchAvailableTimeSlotsRequestInterface): Observable<ListBatchAvailableTimeSlotsResponse>;
31
31
  bookBatchMeeting(r: BookBatchMeetingRequest | BookBatchMeetingRequestInterface): Observable<BookBatchMeetingResponse>;
32
+ cancelBatchMeeting(r: CancelBatchMeetingRequest | CancelBatchMeetingRequestInterface): Observable<HttpResponse<null>>;
33
+ getServiceV2(r: GetServiceV2Request | GetServiceV2RequestInterface): Observable<GetServiceV2Response>;
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingGuestApiService, never>;
33
35
  static ɵprov: i0.ɵɵInjectableDeclaration<MeetingGuestApiService>;
34
36
  }
@@ -5,7 +5,7 @@ export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee,
5
5
  export { DateRange, } from './date-range';
6
6
  export { EventTypeDateRange, Field, Form, MeetingType, RegistrationCutOff, RelativeDateRange, } from './meeting-type';
7
7
  export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
8
- export { BatchBookingTarget, BatchEventTypeTarget, BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, CheckFeatureFlagRequest, CheckFeatureFlagResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingCalendarInfoRequest, GetMeetingCalendarInfoResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingRequestV2, GuestGetBookedMeetingResponse, GuestGetBookedMeetingResponseV2, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListBatchAvailableTimeSlotsRequest, ListBatchAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookBatchMeetingRequestMetadataEntry, BookMeetingRequestMetadataEntry, RegisterSessionRequest, } from './meeting-guest';
8
+ export { BatchBookingTarget, BatchEventTypeTarget, BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, CancelBatchMeetingRequest, CheckFeatureFlagRequest, CheckFeatureFlagResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingCalendarInfoRequest, GetMeetingCalendarInfoResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetServiceV2Request, GetServiceV2Response, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingRequestV2, GuestGetBookedMeetingResponse, GuestGetBookedMeetingResponseV2, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListBatchAvailableTimeSlotsRequest, ListBatchAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, BookBatchMeetingRequestMetadataEntry, RegisterSessionRequest, ServiceEventType, ServiceGroup, } from './meeting-guest';
9
9
  export { AvailableTimeSlotsRequest, AvailableTimeSlotsResponse, BookMeetingExternalRequest, BookMeetingExternalResponse, EventType, ExternalCancelMeetingRequest, ExternalRescheduleMeetingRequest, ExternalRescheduleMeetingResponse, GetUsersRequest, GetUsersResponse, GroupResponse, GroupsRequest, GroupsResponse, HostUserDetails, ListTeamEventTypesRequest, ListTeamEventTypesResponse, ListUserEventTypesRequest, ListUserEventTypesResponse, ServiceResponse, ServicesRequest, ServicesResponse, UserResponse, } from './meeting-external';
10
10
  export { FieldMask, } from './field-mask';
11
11
  export { IsCalendarConfiguredRequestApplicationContextPropertiesEntry, BuildHostIdRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, AvailabilityRule, AvailabilityRuleList, BuildHostIdRequest, BuildHostIdResponse, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry, CalendarMigrationResponse, CancelMeetingRequest, CheckEventTypeSlugExistRequest, CheckEventTypeSlugExistResponse, CheckGroupOrServiceSlugExistRequest, CheckGroupOrServiceSlugExistResponse, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, EnsureSessionEventCalendarsExistRequest, EnsureSessionEventCalendarsExistResponse, EventTypeSummary, ListAvailabilityRequestFilters, ListBookedMeetingsRequestFilters, GetEntityAssociationRequest, GetEntityAssociationResponse, GetEventTypeByIdRequest, GetEventTypeByIdResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostBookSessionRequest, HostBookSessionResponse, HostDeleteAttendeesRequest, HostDetails, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, GetHostsForCalendarResponseHostUserAvailabilityRuleEntry, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAttendeesRequest, ListAttendeesResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListAvailableTimeslotsForRecurringSessionRequest, ListAvailableTimeslotsForRecurringSessionResponse, ListAvailableTimeslotsForSessionRequest, ListAvailableTimeslotsForSessionResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListEventTypesForMultipleCalendarsRequest, ListEventTypesForMultipleCalendarsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, Meeting, MeetingTypeList, UpdateMeetingMetadataRequestMetadataEntry, MeetingMetadataEntry, RecurrenceConfig, RecurrenceEnd, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SessionAttendees, SetGeneralAvailabilityRequest, TimeSlotsByWeekDay, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
@@ -1,9 +1,9 @@
1
1
  import * as i from '../interfaces';
2
+ import { TimeZone } from './';
2
3
  import { Contact } from './openapiv2';
3
4
  import { DateRange } from './date-range';
4
5
  import { EventTypeDateRange } from './meeting-type';
5
6
  import { IsoDateTimeRange, Answers, HostOrderDetails } from './shared';
6
- import { TimeZone } from './';
7
7
  import * as e from '../enums';
8
8
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
9
9
  export declare class AvailableTimeSlotsRequest implements i.AvailableTimeSlotsRequestInterface {
@@ -1,10 +1,10 @@
1
1
  import * as i from '../interfaces';
2
+ import { TimeZone } from './';
2
3
  import { Answers, Calendar, Host, HostUser, IsoDateTimeRange } from './shared';
3
4
  import { Contact } from './openapiv2';
4
5
  import { DateRange } from './date-range';
5
6
  import { Group, Service } from './groups-and-services';
6
7
  import { MeetingType, Form } from './meeting-type';
7
- import { TimeZone } from './';
8
8
  import * as e from '../enums';
9
9
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
10
10
  export declare class BatchBookingTarget implements i.BatchBookingTargetInterface {
@@ -73,6 +73,13 @@ export declare class BookMeetingResponse implements i.BookMeetingResponseInterfa
73
73
  constructor(kwargs?: i.BookMeetingResponseInterface);
74
74
  toApiJson(): object;
75
75
  }
76
+ export declare class CancelBatchMeetingRequest implements i.CancelBatchMeetingRequestInterface {
77
+ id: string;
78
+ cancellationReason: string;
79
+ static fromProto(proto: any): CancelBatchMeetingRequest;
80
+ constructor(kwargs?: i.CancelBatchMeetingRequestInterface);
81
+ toApiJson(): object;
82
+ }
76
83
  export declare class CheckFeatureFlagRequest implements i.CheckFeatureFlagRequestInterface {
77
84
  fieldType: e.FeatureFlagFieldType;
78
85
  fieldValue: string;
@@ -168,6 +175,25 @@ export declare class GetServiceResponse implements i.GetServiceResponseInterface
168
175
  constructor(kwargs?: i.GetServiceResponseInterface);
169
176
  toApiJson(): object;
170
177
  }
178
+ export declare class GetServiceV2Request implements i.GetServiceV2RequestInterface {
179
+ serviceId: string;
180
+ static fromProto(proto: any): GetServiceV2Request;
181
+ constructor(kwargs?: i.GetServiceV2RequestInterface);
182
+ toApiJson(): object;
183
+ }
184
+ export declare class GetServiceV2Response implements i.GetServiceV2ResponseInterface {
185
+ id: string;
186
+ name: string;
187
+ description: string;
188
+ groups: ServiceGroup[];
189
+ eventTypes: ServiceEventType[];
190
+ businessDisplayLogoUrl: string;
191
+ bookingUrl: string;
192
+ isBatchBookingEnabled: boolean;
193
+ static fromProto(proto: any): GetServiceV2Response;
194
+ constructor(kwargs?: i.GetServiceV2ResponseInterface);
195
+ toApiJson(): object;
196
+ }
171
197
  export declare class GetSessionInviteeMeetingInfoRequest implements i.GetSessionInviteeMeetingInfoRequestInterface {
172
198
  sessionInviteeId: string;
173
199
  static fromProto(proto: any): GetSessionInviteeMeetingInfoRequest;
@@ -352,18 +378,18 @@ export declare class ListMeetingTypesResponse implements i.ListMeetingTypesRespo
352
378
  constructor(kwargs?: i.ListMeetingTypesResponseInterface);
353
379
  toApiJson(): object;
354
380
  }
355
- export declare class BookBatchMeetingRequestMetadataEntry implements i.BookBatchMeetingRequestMetadataEntryInterface {
381
+ export declare class BookMeetingRequestMetadataEntry implements i.BookMeetingRequestMetadataEntryInterface {
356
382
  key: string;
357
383
  value: string;
358
- static fromProto(proto: any): BookBatchMeetingRequestMetadataEntry;
359
- constructor(kwargs?: i.BookBatchMeetingRequestMetadataEntryInterface);
384
+ static fromProto(proto: any): BookMeetingRequestMetadataEntry;
385
+ constructor(kwargs?: i.BookMeetingRequestMetadataEntryInterface);
360
386
  toApiJson(): object;
361
387
  }
362
- export declare class BookMeetingRequestMetadataEntry implements i.BookMeetingRequestMetadataEntryInterface {
388
+ export declare class BookBatchMeetingRequestMetadataEntry implements i.BookBatchMeetingRequestMetadataEntryInterface {
363
389
  key: string;
364
390
  value: string;
365
- static fromProto(proto: any): BookMeetingRequestMetadataEntry;
366
- constructor(kwargs?: i.BookMeetingRequestMetadataEntryInterface);
391
+ static fromProto(proto: any): BookBatchMeetingRequestMetadataEntry;
392
+ constructor(kwargs?: i.BookBatchMeetingRequestMetadataEntryInterface);
367
393
  toApiJson(): object;
368
394
  }
369
395
  export declare class RegisterSessionRequest implements i.RegisterSessionRequestInterface {
@@ -376,3 +402,31 @@ export declare class RegisterSessionRequest implements i.RegisterSessionRequestI
376
402
  constructor(kwargs?: i.RegisterSessionRequestInterface);
377
403
  toApiJson(): object;
378
404
  }
405
+ export declare class ServiceEventType implements i.ServiceEventTypeInterface {
406
+ id: string;
407
+ name: string;
408
+ description: string;
409
+ hostUser: HostUser[];
410
+ duration: string;
411
+ emailRequired: boolean;
412
+ smsRequired: boolean;
413
+ notificationType: e.NotificationType;
414
+ eventType: e.TeamEventMeetingType;
415
+ meetingType: e.MeetingLocation;
416
+ locationType: e.MeetingLocationType;
417
+ locationGuideline: string;
418
+ location: string;
419
+ static fromProto(proto: any): ServiceEventType;
420
+ constructor(kwargs?: i.ServiceEventTypeInterface);
421
+ toApiJson(): object;
422
+ }
423
+ export declare class ServiceGroup implements i.ServiceGroupInterface {
424
+ id: string;
425
+ name: string;
426
+ description: string;
427
+ eventTypes: ServiceEventType[];
428
+ isBatchBookingEnabled: boolean;
429
+ static fromProto(proto: any): ServiceGroup;
430
+ constructor(kwargs?: i.ServiceGroupInterface);
431
+ toApiJson(): object;
432
+ }
@@ -1,11 +1,11 @@
1
1
  import * as i from '../interfaces';
2
+ import { TimeZone } from './';
2
3
  import { Contact } from './shared';
3
4
  import { DateRange } from './date-range';
4
5
  import { FieldMask } from './field-mask';
5
6
  import { Group, Service } from './groups-and-services';
6
7
  import { MeetingType, EventTypeDateRange, RegistrationCutOff } from './meeting-type';
7
8
  import { TimeRange, Calendar, HostUser, Preferences, EmailsToDelete, PagedRequestOptions, PagedResponseMetadata, IsoDateTimeRange, Attendee, Answers, Attachment } from './shared';
8
- import { TimeZone } from './';
9
9
  import * as e from '../enums';
10
10
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
11
11
  export declare class IsCalendarConfiguredRequestApplicationContextPropertiesEntry implements i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
@@ -1,6 +1,6 @@
1
- import { CalendarInterface, Contact, GetGroupResponse, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource, CheckFeatureFlagResponse, FeatureFlagFieldType } from '../_internal';
2
- import { Observable } from 'rxjs';
3
- import { Host, MeetingForm, MeetingMetadata, MeetingType, TimeSpan } from '../shared';
1
+ import { CalendarInterface, Contact, GetGroupResponse, GetServiceV2Response, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource, CheckFeatureFlagResponse, FeatureFlagFieldType } from "../_internal";
2
+ import { Observable } from "rxjs";
3
+ import { Host, MeetingForm, MeetingMetadata, MeetingType, TimeSpan } from "../shared";
4
4
  import { GetServiceResponse } from "../_internal/objects/meeting-guest";
5
5
  import * as i0 from "@angular/core";
6
6
  export interface BookMeetingResponse {
@@ -76,7 +76,7 @@ export declare class GuestService implements GuestServiceInterface {
76
76
  start: Date;
77
77
  comment: string;
78
78
  metadata?: MeetingMetadata;
79
- attendees: (Omit<Contact, 'fromProto' | 'toApiJson' | 'constructor' | 'timeZone'> & {
79
+ attendees: (Omit<Contact, "fromProto" | "toApiJson" | "constructor" | "timeZone"> & {
80
80
  timeZone: TimeZoneInterface;
81
81
  })[];
82
82
  formAnswers?: MeetingForm;
@@ -143,6 +143,9 @@ export declare class GuestService implements GuestServiceInterface {
143
143
  fieldValue: string;
144
144
  featureFlagKey: string;
145
145
  }): Observable<CheckFeatureFlagResponse>;
146
+ getServiceV2(req: {
147
+ serviceId: string;
148
+ }): Observable<GetServiceV2Response>;
146
149
  static ɵfac: i0.ɵɵFactoryDeclaration<GuestService, never>;
147
150
  static ɵprov: i0.ɵɵInjectableDeclaration<GuestService>;
148
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"