@vendasta/meetings 1.6.8 → 1.6.10

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 (33) hide show
  1. package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -1
  2. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +17 -2
  8. package/esm2020/lib/_internal/objects/groups-and-services.mjs +7 -1
  9. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  10. package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
  11. package/esm2020/lib/_internal/objects/meeting-guest.mjs +399 -2
  12. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  13. package/esm2020/lib/_internal/objects/shared.mjs +1 -1
  14. package/esm2020/lib/guest/guest.service.mjs +43 -21
  15. package/esm2020/lib/shared/groups-and-services.mjs +7 -3
  16. package/fesm2015/vendasta-meetings.mjs +462 -18
  17. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  18. package/fesm2020/vendasta-meetings.mjs +462 -18
  19. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  20. package/lib/_internal/interfaces/groups-and-services.interface.d.ts +2 -0
  21. package/lib/_internal/interfaces/index.d.ts +1 -1
  22. package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
  23. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +76 -1
  24. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  25. package/lib/_internal/meeting-guest.api.service.d.ts +5 -2
  26. package/lib/_internal/objects/groups-and-services.d.ts +2 -0
  27. package/lib/_internal/objects/index.d.ts +1 -1
  28. package/lib/_internal/objects/meeting-external.d.ts +1 -1
  29. package/lib/_internal/objects/meeting-guest.d.ts +109 -1
  30. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  31. package/lib/guest/guest.service.d.ts +7 -4
  32. package/lib/shared/groups-and-services.d.ts +2 -0
  33. package/package.json +1 -1
@@ -20,6 +20,7 @@ export interface GroupInterface {
20
20
  associations?: EventGroupAndServiceAssociationsInterface[];
21
21
  hexColor?: string;
22
22
  bookingUrl?: string;
23
+ isBatchBookingEnabled?: boolean;
23
24
  }
24
25
  export interface ServiceInterface {
25
26
  id?: string;
@@ -30,4 +31,5 @@ export interface ServiceInterface {
30
31
  associations?: EventGroupAndServiceAssociationsInterface[];
31
32
  hexColor?: string;
32
33
  bookingUrl?: string;
34
+ isBatchBookingEnabled?: boolean;
33
35
  }
@@ -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 { 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, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, RegisterSessionRequestInterface, } from './meeting-guest.interface';
8
+ export { BatchBookingTargetInterface, BatchEventTypeTargetInterface, BookBatchMeetingRequestInterface, BookBatchMeetingResponseInterface, BookMeetingRequestInterface, BookMeetingResponseInterface, 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, BookBatchMeetingRequestMetadataEntryInterface, BookMeetingRequestMetadataEntryInterface, 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,10 +1,37 @@
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
+ export interface BatchBookingTargetInterface {
9
+ eventTypeId?: string;
10
+ userId?: string;
11
+ order?: number;
12
+ }
13
+ export interface BatchEventTypeTargetInterface {
14
+ eventTypeId?: string;
15
+ userId?: string;
16
+ order?: number;
17
+ }
18
+ export interface BookBatchMeetingRequestInterface {
19
+ targets?: BatchBookingTargetInterface[];
20
+ start?: Date;
21
+ attendees?: ContactInterface[];
22
+ comment?: string;
23
+ metadata?: {
24
+ [key: string]: string;
25
+ };
26
+ formAnswers?: AnswersInterface;
27
+ recaptchaToken?: string;
28
+ location?: string;
29
+ bookingSource?: e.BookingSource;
30
+ bookingOriginId?: string;
31
+ }
32
+ export interface BookBatchMeetingResponseInterface {
33
+ bookingGroupId?: string;
34
+ }
8
35
  export interface BookMeetingRequestInterface {
9
36
  hostId?: string;
10
37
  meetingTypeId?: string;
@@ -79,6 +106,19 @@ export interface GetServiceResponseInterface {
79
106
  service?: ServiceInterface;
80
107
  businessDisplayLogoUrl?: string;
81
108
  }
109
+ export interface GetServiceV2RequestInterface {
110
+ serviceId?: string;
111
+ }
112
+ export interface GetServiceV2ResponseInterface {
113
+ id?: string;
114
+ name?: string;
115
+ description?: string;
116
+ groups?: ServiceGroupInterface[];
117
+ eventTypes?: ServiceEventTypeInterface[];
118
+ businessDisplayLogoUrl?: string;
119
+ bookingUrl?: string;
120
+ isBatchBookingEnabled?: boolean;
121
+ }
82
122
  export interface GetSessionInviteeMeetingInfoRequestInterface {
83
123
  sessionInviteeId?: string;
84
124
  }
@@ -188,12 +228,25 @@ export interface ListAvailableTimeSlotsResponseInterface {
188
228
  timeSlots?: DateRangeInterface[];
189
229
  isoTimeSlots?: IsoDateTimeRangeInterface[];
190
230
  }
231
+ export interface ListBatchAvailableTimeSlotsRequestInterface {
232
+ targets?: BatchEventTypeTargetInterface[];
233
+ timeSpan?: DateRangeInterface;
234
+ timeZone?: TimeZoneInterface;
235
+ }
236
+ export interface ListBatchAvailableTimeSlotsResponseInterface {
237
+ timeSlots?: DateRangeInterface[];
238
+ isoTimeSlots?: IsoDateTimeRangeInterface[];
239
+ }
191
240
  export interface ListMeetingTypesRequestInterface {
192
241
  hostId?: string;
193
242
  }
194
243
  export interface ListMeetingTypesResponseInterface {
195
244
  meetingTypes?: MeetingTypeInterface[];
196
245
  }
246
+ export interface BookBatchMeetingRequestMetadataEntryInterface {
247
+ key?: string;
248
+ value?: string;
249
+ }
197
250
  export interface BookMeetingRequestMetadataEntryInterface {
198
251
  key?: string;
199
252
  value?: string;
@@ -205,3 +258,25 @@ export interface RegisterSessionRequestInterface {
205
258
  formAnswers?: AnswersInterface;
206
259
  recaptchaToken?: string;
207
260
  }
261
+ export interface ServiceEventTypeInterface {
262
+ id?: string;
263
+ name?: string;
264
+ description?: string;
265
+ hostUser?: HostUserInterface[];
266
+ duration?: string;
267
+ emailRequired?: boolean;
268
+ smsRequired?: boolean;
269
+ notificationType?: e.NotificationType;
270
+ eventType?: e.TeamEventMeetingType;
271
+ meetingType?: e.MeetingLocation;
272
+ locationType?: e.MeetingLocationType;
273
+ locationGuideline?: string;
274
+ location?: string;
275
+ }
276
+ export interface ServiceGroupInterface {
277
+ id?: string;
278
+ name?: string;
279
+ description?: string;
280
+ eventTypes?: ServiceEventTypeInterface[];
281
+ isBatchBookingEnabled?: boolean;
282
+ }
@@ -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 { 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, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
- import { BookMeetingRequestInterface, CheckFeatureFlagRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingCalendarInfoRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionMeetingRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingRequestV2Interface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
1
+ import { BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, 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, 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";
@@ -27,6 +27,9 @@ export declare class MeetingGuestApiService {
27
27
  getSessionInviteeMeetingInfo(r: GetSessionInviteeMeetingInfoRequest | GetSessionInviteeMeetingInfoRequestInterface): Observable<GetSessionInviteeMeetingInfoResponse>;
28
28
  inviteeDeregisterSessionMeeting(r: InviteeDeregisterSessionMeetingRequest | InviteeDeregisterSessionMeetingRequestInterface): Observable<HttpResponse<null>>;
29
29
  checkFeatureFlag(r: CheckFeatureFlagRequest | CheckFeatureFlagRequestInterface): Observable<CheckFeatureFlagResponse>;
30
+ listBatchAvailableTimeSlots(r: ListBatchAvailableTimeSlotsRequest | ListBatchAvailableTimeSlotsRequestInterface): Observable<ListBatchAvailableTimeSlotsResponse>;
31
+ bookBatchMeeting(r: BookBatchMeetingRequest | BookBatchMeetingRequestInterface): Observable<BookBatchMeetingResponse>;
32
+ getServiceV2(r: GetServiceV2Request | GetServiceV2RequestInterface): Observable<GetServiceV2Response>;
30
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingGuestApiService, never>;
31
34
  static ɵprov: i0.ɵɵInjectableDeclaration<MeetingGuestApiService>;
32
35
  }
@@ -25,6 +25,7 @@ export declare class Group implements i.GroupInterface {
25
25
  associations: EventGroupAndServiceAssociations[];
26
26
  hexColor: string;
27
27
  bookingUrl: string;
28
+ isBatchBookingEnabled: boolean;
28
29
  static fromProto(proto: any): Group;
29
30
  constructor(kwargs?: i.GroupInterface);
30
31
  toApiJson(): object;
@@ -38,6 +39,7 @@ export declare class Service implements i.ServiceInterface {
38
39
  associations: EventGroupAndServiceAssociations[];
39
40
  hexColor: string;
40
41
  bookingUrl: string;
42
+ isBatchBookingEnabled: boolean;
41
43
  static fromProto(proto: any): Service;
42
44
  constructor(kwargs?: i.ServiceInterface);
43
45
  toApiJson(): object;
@@ -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 { 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, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, RegisterSessionRequest, } from './meeting-guest';
8
+ export { BatchBookingTarget, BatchEventTypeTarget, BookBatchMeetingRequest, BookBatchMeetingResponse, BookMeetingRequest, BookMeetingResponse, 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, BookBatchMeetingRequestMetadataEntry, BookMeetingRequestMetadataEntry, 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,12 +1,51 @@
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
+ export declare class BatchBookingTarget implements i.BatchBookingTargetInterface {
11
+ eventTypeId: string;
12
+ userId: string;
13
+ order: number;
14
+ static fromProto(proto: any): BatchBookingTarget;
15
+ constructor(kwargs?: i.BatchBookingTargetInterface);
16
+ toApiJson(): object;
17
+ }
18
+ export declare class BatchEventTypeTarget implements i.BatchEventTypeTargetInterface {
19
+ eventTypeId: string;
20
+ userId: string;
21
+ order: number;
22
+ static fromProto(proto: any): BatchEventTypeTarget;
23
+ constructor(kwargs?: i.BatchEventTypeTargetInterface);
24
+ toApiJson(): object;
25
+ }
26
+ export declare class BookBatchMeetingRequest implements i.BookBatchMeetingRequestInterface {
27
+ targets: BatchBookingTarget[];
28
+ start: Date;
29
+ attendees: Contact[];
30
+ comment: string;
31
+ metadata: {
32
+ [key: string]: string;
33
+ };
34
+ formAnswers: Answers;
35
+ recaptchaToken: string;
36
+ location: string;
37
+ bookingSource: e.BookingSource;
38
+ bookingOriginId: string;
39
+ static fromProto(proto: any): BookBatchMeetingRequest;
40
+ constructor(kwargs?: i.BookBatchMeetingRequestInterface);
41
+ toApiJson(): object;
42
+ }
43
+ export declare class BookBatchMeetingResponse implements i.BookBatchMeetingResponseInterface {
44
+ bookingGroupId: string;
45
+ static fromProto(proto: any): BookBatchMeetingResponse;
46
+ constructor(kwargs?: i.BookBatchMeetingResponseInterface);
47
+ toApiJson(): object;
48
+ }
10
49
  export declare class BookMeetingRequest implements i.BookMeetingRequestInterface {
11
50
  hostId: string;
12
51
  meetingTypeId: string;
@@ -129,6 +168,25 @@ export declare class GetServiceResponse implements i.GetServiceResponseInterface
129
168
  constructor(kwargs?: i.GetServiceResponseInterface);
130
169
  toApiJson(): object;
131
170
  }
171
+ export declare class GetServiceV2Request implements i.GetServiceV2RequestInterface {
172
+ serviceId: string;
173
+ static fromProto(proto: any): GetServiceV2Request;
174
+ constructor(kwargs?: i.GetServiceV2RequestInterface);
175
+ toApiJson(): object;
176
+ }
177
+ export declare class GetServiceV2Response implements i.GetServiceV2ResponseInterface {
178
+ id: string;
179
+ name: string;
180
+ description: string;
181
+ groups: ServiceGroup[];
182
+ eventTypes: ServiceEventType[];
183
+ businessDisplayLogoUrl: string;
184
+ bookingUrl: string;
185
+ isBatchBookingEnabled: boolean;
186
+ static fromProto(proto: any): GetServiceV2Response;
187
+ constructor(kwargs?: i.GetServiceV2ResponseInterface);
188
+ toApiJson(): object;
189
+ }
132
190
  export declare class GetSessionInviteeMeetingInfoRequest implements i.GetSessionInviteeMeetingInfoRequestInterface {
133
191
  sessionInviteeId: string;
134
192
  static fromProto(proto: any): GetSessionInviteeMeetingInfoRequest;
@@ -286,6 +344,21 @@ export declare class ListAvailableTimeSlotsResponse implements i.ListAvailableTi
286
344
  constructor(kwargs?: i.ListAvailableTimeSlotsResponseInterface);
287
345
  toApiJson(): object;
288
346
  }
347
+ export declare class ListBatchAvailableTimeSlotsRequest implements i.ListBatchAvailableTimeSlotsRequestInterface {
348
+ targets: BatchEventTypeTarget[];
349
+ timeSpan: DateRange;
350
+ timeZone: TimeZone;
351
+ static fromProto(proto: any): ListBatchAvailableTimeSlotsRequest;
352
+ constructor(kwargs?: i.ListBatchAvailableTimeSlotsRequestInterface);
353
+ toApiJson(): object;
354
+ }
355
+ export declare class ListBatchAvailableTimeSlotsResponse implements i.ListBatchAvailableTimeSlotsResponseInterface {
356
+ timeSlots: DateRange[];
357
+ isoTimeSlots: IsoDateTimeRange[];
358
+ static fromProto(proto: any): ListBatchAvailableTimeSlotsResponse;
359
+ constructor(kwargs?: i.ListBatchAvailableTimeSlotsResponseInterface);
360
+ toApiJson(): object;
361
+ }
289
362
  export declare class ListMeetingTypesRequest implements i.ListMeetingTypesRequestInterface {
290
363
  hostId: string;
291
364
  static fromProto(proto: any): ListMeetingTypesRequest;
@@ -298,6 +371,13 @@ export declare class ListMeetingTypesResponse implements i.ListMeetingTypesRespo
298
371
  constructor(kwargs?: i.ListMeetingTypesResponseInterface);
299
372
  toApiJson(): object;
300
373
  }
374
+ export declare class BookBatchMeetingRequestMetadataEntry implements i.BookBatchMeetingRequestMetadataEntryInterface {
375
+ key: string;
376
+ value: string;
377
+ static fromProto(proto: any): BookBatchMeetingRequestMetadataEntry;
378
+ constructor(kwargs?: i.BookBatchMeetingRequestMetadataEntryInterface);
379
+ toApiJson(): object;
380
+ }
301
381
  export declare class BookMeetingRequestMetadataEntry implements i.BookMeetingRequestMetadataEntryInterface {
302
382
  key: string;
303
383
  value: string;
@@ -315,3 +395,31 @@ export declare class RegisterSessionRequest implements i.RegisterSessionRequestI
315
395
  constructor(kwargs?: i.RegisterSessionRequestInterface);
316
396
  toApiJson(): object;
317
397
  }
398
+ export declare class ServiceEventType implements i.ServiceEventTypeInterface {
399
+ id: string;
400
+ name: string;
401
+ description: string;
402
+ hostUser: HostUser[];
403
+ duration: string;
404
+ emailRequired: boolean;
405
+ smsRequired: boolean;
406
+ notificationType: e.NotificationType;
407
+ eventType: e.TeamEventMeetingType;
408
+ meetingType: e.MeetingLocation;
409
+ locationType: e.MeetingLocationType;
410
+ locationGuideline: string;
411
+ location: string;
412
+ static fromProto(proto: any): ServiceEventType;
413
+ constructor(kwargs?: i.ServiceEventTypeInterface);
414
+ toApiJson(): object;
415
+ }
416
+ export declare class ServiceGroup implements i.ServiceGroupInterface {
417
+ id: string;
418
+ name: string;
419
+ description: string;
420
+ eventTypes: ServiceEventType[];
421
+ isBatchBookingEnabled: boolean;
422
+ static fromProto(proto: any): ServiceGroup;
423
+ constructor(kwargs?: i.ServiceGroupInterface);
424
+ toApiJson(): object;
425
+ }
@@ -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
  }
@@ -9,6 +9,7 @@ export interface Group {
9
9
  associations: EventGroupAndServiceAssociations[];
10
10
  hexColor?: string;
11
11
  bookingUrl?: string;
12
+ isBatchBookingEnabled?: boolean;
12
13
  }
13
14
  export interface EventGroupAndServiceAssociations {
14
15
  id?: string;
@@ -32,6 +33,7 @@ export interface Service {
32
33
  associations: EventGroupAndServiceAssociations[];
33
34
  hexColor?: string;
34
35
  bookingUrl?: string;
36
+ isBatchBookingEnabled?: boolean;
35
37
  }
36
38
  export interface EntityAssociations {
37
39
  services?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"