@vendasta/meetings 0.97.0 → 0.98.3

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 (53) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +3 -3
  2. package/esm2020/lib/_internal/enums/meeting-source.enum.mjs +7 -1
  3. package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +12 -1
  4. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  5. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/meeting-source.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  11. package/esm2020/lib/_internal/meeting-bot-api.api.service.mjs +8 -7
  12. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  13. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  14. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  15. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  16. package/esm2020/lib/_internal/objects/meeting-guest.mjs +2 -2
  17. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  18. package/esm2020/lib/_internal/objects/meeting-source.mjs +4 -1
  19. package/esm2020/lib/_internal/objects/meeting-type.mjs +72 -1
  20. package/esm2020/lib/_internal/objects/shared.mjs +9 -2
  21. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  22. package/esm2020/lib/index.mjs +2 -2
  23. package/esm2020/lib/shared/meeting-type.mjs +3 -1
  24. package/esm2020/lib/shared/preferences.mjs +3 -2
  25. package/fesm2015/vendasta-meetings.mjs +279 -179
  26. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  27. package/fesm2020/vendasta-meetings.mjs +279 -179
  28. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  29. package/lib/_internal/enums/index.d.ts +2 -2
  30. package/lib/_internal/enums/meeting-source.enum.d.ts +5 -0
  31. package/lib/_internal/enums/meeting-type.enum.d.ts +9 -0
  32. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  33. package/lib/_internal/interfaces/index.d.ts +3 -3
  34. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +1 -1
  35. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  36. package/lib/_internal/interfaces/meeting-source.interface.d.ts +1 -0
  37. package/lib/_internal/interfaces/meeting-type.interface.d.ts +11 -0
  38. package/lib/_internal/interfaces/shared.interface.d.ts +3 -1
  39. package/lib/_internal/meeting-bot-api.api.service.d.ts +5 -3
  40. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  41. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  42. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  43. package/lib/_internal/objects/index.d.ts +3 -3
  44. package/lib/_internal/objects/meeting-guest.d.ts +1 -1
  45. package/lib/_internal/objects/meeting-host.d.ts +1 -1
  46. package/lib/_internal/objects/meeting-source.d.ts +1 -0
  47. package/lib/_internal/objects/meeting-type.d.ts +17 -0
  48. package/lib/_internal/objects/shared.d.ts +3 -1
  49. package/lib/_internal/zoom.api.service.d.ts +5 -2
  50. package/lib/index.d.ts +2 -2
  51. package/lib/shared/meeting-type.d.ts +2 -1
  52. package/lib/shared/preferences.d.ts +2 -1
  53. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- export { MeetingSource, MeetingSourceStatus, } from './meeting-source.enum';
1
+ export { CalendarSource, MeetingSource, MeetingSourceStatus, } from './meeting-source.enum';
2
2
  export { ZoomApprovalType, ZoomMeetingRecurrenceType, ZoomMeetingType, ZoomMonthlyWeek, ZoomMonthlyWeekDay, ZoomRegistrationType, ZoomWeeklyDay, } from './zoom.enum';
3
3
  export { CalendarType, FormFieldType, } from './shared.enum';
4
- export { MeetingLocationType, } from './meeting-type.enum';
4
+ export { DateRangeType, MeetingLocationType, RelativeTimeUnit, } from './meeting-type.enum';
5
5
  export { DayOfWeek, } from './dayofweek.enum';
@@ -1,3 +1,8 @@
1
+ export declare enum CalendarSource {
2
+ CALENDAR_SOURCE_GOOGLE = 0,
3
+ CALENDAR_SOURCE_MICROSOFT = 1,
4
+ CALENDAR_SOURCE_INVALID = -1
5
+ }
1
6
  export declare enum MeetingSource {
2
7
  MEETING_SOURCE_INVALID = 0,
3
8
  MEETING_SOURCE_ZOOM = 1,
@@ -1,5 +1,14 @@
1
+ export declare enum DateRangeType {
2
+ RELATIVE = 0,
3
+ CUSTOM = 1
4
+ }
1
5
  export declare enum MeetingLocationType {
2
6
  VIDEO = 0,
3
7
  IN_PERSON_USER_SITE = 1,
4
8
  IN_PERSON_CLIENT_SITE = 2
5
9
  }
10
+ export declare enum RelativeTimeUnit {
11
+ DAYS = 0,
12
+ WEEKS = 1,
13
+ MONTHS = 2
14
+ }
@@ -1,11 +1,14 @@
1
1
  import { GoogleMeetCreateMeetingRequest, GoogleMeetCreateMeetingResponse } from './objects/';
2
2
  import { GoogleMeetCreateMeetingRequestInterface } from './interfaces/';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
3
5
  import { Observable } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class GoogleMeetApiService {
6
- private readonly hostService;
7
- private readonly http;
8
+ private http;
9
+ private hostService;
8
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
9
12
  private apiOptions;
10
13
  createMeeting(r: GoogleMeetCreateMeetingRequest | GoogleMeetCreateMeetingRequestInterface): Observable<GoogleMeetCreateMeetingResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<GoogleMeetApiService, never>;
@@ -1,13 +1,13 @@
1
1
  export { MeetingSourceInfoInterface, MeetingSourceListRequestInterface, MeetingSourceListResponseInterface, MeetingSourceQueryInterface, } from './meeting-source.interface';
2
2
  export { CreateZoomMeetingRequestInterface, CreateZoomMeetingResponseInterface, ZoomMeetingRecurrenceInterface, ZoomMeetingSettingsInterface, ZoomMeetingTrackingFieldInterface, ZoomOccurrenceInterface, } from './zoom.interface';
3
3
  export { GoogleMeetConferenceDataInterface, GoogleMeetConferenceRequestStatusInterface, GoogleMeetConferenceSolutionInterface, GoogleMeetConferenceSolutionKeyInterface, GoogleMeetCreateConferenceRequestInterface, GoogleMeetCreateMeetingRequestInterface, GoogleMeetCreateMeetingResponseInterface, GoogleMeetEntryPointInterface, GoogleMeetMeetingInterface, GoogleMeetMeetingAttendeeInterface, GoogleMeetMeetingCreatorInterface, GoogleMeetMeetingDateTimeInterface, GoogleMeetMeetingReminderInterface, GoogleMeetMeetingRemindersInterface, } from './google-meet.interface';
4
+ export { TimeOfDayInterface, } from './timeofday.interface';
5
+ export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
4
6
  export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInterface, AttachmentInterface, AttendeeInterface, CalendarInterface, ContactInterface, HostInterface, HostUserInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, PreferencesInterface, TimeRangeInterface, } from './shared.interface';
5
- export { FieldInterface, FormInterface, MeetingTypeInterface, } from './meeting-type.interface';
6
7
  export { DateRangeInterface, } from './date-range.interface';
8
+ export { EventTypeDateRangeInterface, FieldInterface, FormInterface, MeetingTypeInterface, RelativeDateRangeInterface, } from './meeting-type.interface';
7
9
  export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
8
10
  export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GetServiceRequestInterface, GetServiceResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, } from './meeting-guest.interface';
9
11
  export { FieldMaskInterface, } from './field-mask.interface';
10
12
  export { EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, BuildHostIdRequestApplicationContextPropertiesEntryInterface, IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, BuildHostIdRequestInterface, BuildHostIdResponseInterface, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntryInterface, CalendarMigrationResponseInterface, CancelMeetingRequestInterface, CheckGroupOrServiceSlugExistRequestInterface, CheckGroupOrServiceSlugExistResponseInterface, CreateAvailabilityRequestInterface, CreateAvailabilityResponseInterface, CreateCalendarRequestInterface, CreateCalendarResponseInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateGroupResponseInterface, CreateMeetingTypeRequestInterface, CreateMeetingTypeResponseInterface, CreateServiceRequestInterface, CreateServiceResponseInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, DoesCalendarExistResponseInterface, EnsureGroupCalendarsExistRequestInterface, EnsureGroupCalendarsExistResponseInterface, EnsurePersonalCalendarExistsRequestInterface, EnsurePersonalCalendarExistsResponseInterface, ListBookedMeetingsRequestFiltersInterface, ListAvailabilityRequestFiltersInterface, GetEntityAssociationRequestInterface, GetEntityAssociationResponseInterface, GetHostMeetingRequestInterface, GetHostMeetingResponseInterface, GetHostPreferencesRequestInterface, GetHostPreferencesResponseInterface, GetHostsForCalendarRequestInterface, GetHostsForCalendarResponseInterface, GetMeetingTypesForCalendarsRequestInterface, GetMeetingTypesForCalendarsResponseInterface, HostBookMeetingRequestInterface, HostBookMeetingResponseInterface, HostGetCalendarRequestInterface, HostGetCalendarResponseInterface, HostGetMeetingTypeRequestInterface, HostGetMeetingTypeResponseInterface, HostListMeetingTypesRequestInterface, HostListMeetingTypesResponseInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponseInterface, IsHostConfiguredRequestInterface, IsHostConfiguredResponseInterface, ListAvailabilityRequestInterface, ListAvailabilityResponseInterface, ListBookedMeetingsRequestInterface, ListBookedMeetingsResponseInterface, ListGroupsRequestInterface, ListGroupsResponseInterface, ListServicesRequestInterface, ListServicesResponseInterface, MeetingInterface, MeetingTypeListInterface, MeetingMetadataEntryInterface, UpdateMeetingMetadataRequestMetadataEntryInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
11
13
  export { ScheduleBotRequestInterface, } from './meeting-bot.interface';
12
- export { TimeOfDayInterface, } from './timeofday.interface';
13
- export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
@@ -2,7 +2,7 @@ import { ContactInterface, AnswersInterface, CalendarInterface, HostInterface }
2
2
  import { DateRangeInterface } from './date-range.interface';
3
3
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
4
4
  import { MeetingTypeInterface } from './meeting-type.interface';
5
- import { TimeZoneInterface } from './';
5
+ import { TimeZoneInterface } from './datetime.interface';
6
6
  import * as e from '../enums';
7
7
  export interface BookMeetingRequestInterface {
8
8
  hostId?: string;
@@ -3,7 +3,7 @@ import { FieldMaskInterface } from './field-mask.interface';
3
3
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
4
4
  import { MeetingTypeInterface } from './meeting-type.interface';
5
5
  import { TimeRangeInterface, CalendarInterface, PreferencesInterface, HostUserInterface, ContactInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, AttendeeInterface, AnswersInterface, AttachmentInterface } from './shared.interface';
6
- import { TimeZoneInterface } from './';
6
+ import { TimeZoneInterface } from './datetime.interface';
7
7
  import * as e from '../enums';
8
8
  export interface EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
9
9
  key?: string;
@@ -3,6 +3,7 @@ export interface MeetingSourceInfoInterface {
3
3
  source?: e.MeetingSource;
4
4
  status?: e.MeetingSourceStatus;
5
5
  connectDisconnectUrl?: string;
6
+ connectionLabel?: string;
6
7
  }
7
8
  export interface MeetingSourceListRequestInterface {
8
9
  iamUserId?: string;
@@ -1,5 +1,11 @@
1
+ import { DateRangeInterface } from './date-range.interface';
1
2
  import { HostUserInterface } from './shared.interface';
2
3
  import * as e from '../enums';
4
+ export interface EventTypeDateRangeInterface {
5
+ dateRangeType?: e.DateRangeType;
6
+ customDateRange?: DateRangeInterface;
7
+ relativeDateRange?: RelativeDateRangeInterface;
8
+ }
3
9
  export interface FieldInterface {
4
10
  id?: string;
5
11
  label?: string;
@@ -37,4 +43,9 @@ export interface MeetingTypeInterface {
37
43
  teamName?: string;
38
44
  isVideoLinkDisabled?: boolean;
39
45
  bufferDurationBeforeMeeting?: number;
46
+ dateRange?: EventTypeDateRangeInterface;
47
+ }
48
+ export interface RelativeDateRangeInterface {
49
+ unit?: e.RelativeTimeUnit;
50
+ value?: number;
40
51
  }
@@ -1,4 +1,5 @@
1
- import { TimeZoneInterface, TimeOfDayInterface } from './';
1
+ import { TimeOfDayInterface } from './timeofday.interface';
2
+ import { TimeZoneInterface } from './datetime.interface';
2
3
  import * as e from '../enums';
3
4
  export interface AnswerInterface {
4
5
  id?: string;
@@ -77,6 +78,7 @@ export interface PreferencesInterface {
77
78
  noticeTime?: number;
78
79
  calendarSlug?: string;
79
80
  bufferDurationBeforeMeeting?: number;
81
+ calendarIntegration?: e.CalendarSource;
80
82
  }
81
83
  export interface TimeRangeInterface {
82
84
  from?: TimeOfDayInterface;
@@ -1,12 +1,14 @@
1
1
  import { ScheduleBotRequest } from './objects/';
2
2
  import { ScheduleBotRequestInterface } from './interfaces/';
3
- import { HttpResponse } from '@angular/common/http';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MeetingBotAPIApiService {
7
- private readonly hostService;
8
- private readonly http;
8
+ private http;
9
+ private hostService;
9
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
10
12
  private apiOptions;
11
13
  scheduleBot(r: ScheduleBotRequest | ScheduleBotRequestInterface): Observable<HttpResponse<null>>;
12
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingBotAPIApiService, never>;
@@ -1,12 +1,14 @@
1
1
  import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
2
  import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
3
- import { HttpResponse } from '@angular/common/http';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MeetingGuestApiService {
7
- private readonly hostService;
8
- private readonly http;
8
+ private http;
9
+ private hostService;
9
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
10
12
  private apiOptions;
11
13
  listMeetingTypes(r: ListMeetingTypesRequest | ListMeetingTypesRequestInterface): Observable<ListMeetingTypesResponse>;
12
14
  getMeetingType(r: GetMeetingTypeRequest | GetMeetingTypeRequestInterface): Observable<GetMeetingTypeResponse>;
@@ -1,12 +1,14 @@
1
1
  import { BookMeetingRequest, BookMeetingResponse, BuildHostIdRequest, BuildHostIdResponse, CalendarMigrationResponse, CancelMeetingRequest, CheckGroupOrServiceSlugExistRequest, CheckGroupOrServiceSlugExistResponse, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, GetEntityAssociationRequest, GetEntityAssociationResponse, GetGroupRequest, GetGroupResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, GetServiceRequest, GetServiceResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest } from './objects/';
2
2
  import { BookMeetingRequestInterface, BuildHostIdRequestInterface, CancelMeetingRequestInterface, CheckGroupOrServiceSlugExistRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateMeetingTypeRequestInterface, CreateServiceRequestInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, GetEntityAssociationRequestInterface, GetGroupRequestInterface, GetHostMeetingRequestInterface, GetHostPreferencesRequestInterface, GetHostsForCalendarRequestInterface, GetMeetingTypesForCalendarsRequestInterface, GetServiceRequestInterface, HostBookMeetingRequestInterface, HostGetCalendarRequestInterface, HostGetMeetingTypeRequestInterface, HostListMeetingTypesRequestInterface, IsCalendarConfiguredRequestInterface, IsHostConfiguredRequestInterface, ListAvailabilityRequestInterface, ListBookedMeetingsRequestInterface, ListGroupsRequestInterface, ListServicesRequestInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface } from './interfaces/';
3
- import { HttpResponse } from '@angular/common/http';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MeetingHostApiService {
7
- private readonly hostService;
8
- private readonly http;
8
+ private http;
9
+ private hostService;
9
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
10
12
  private apiOptions;
11
13
  buildHostId(r: BuildHostIdRequest | BuildHostIdRequestInterface): Observable<BuildHostIdResponse>;
12
14
  doesCalendarExist(r: DoesCalendarExistRequest | DoesCalendarExistRequestInterface): Observable<DoesCalendarExistResponse>;
@@ -1,11 +1,14 @@
1
1
  import { MeetingSourceListRequest, MeetingSourceListResponse } from './objects/';
2
2
  import { MeetingSourceListRequestInterface } from './interfaces/';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
3
5
  import { Observable } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class MeetingSourceAPIApiService {
6
- private readonly hostService;
7
- private readonly http;
8
+ private http;
9
+ private hostService;
8
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
9
12
  private apiOptions;
10
13
  list(r: MeetingSourceListRequest | MeetingSourceListRequestInterface): Observable<MeetingSourceListResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSourceAPIApiService, never>;
@@ -1,13 +1,13 @@
1
1
  export { MeetingSourceInfo, MeetingSourceListRequest, MeetingSourceListResponse, MeetingSourceQuery, } from './meeting-source';
2
2
  export { CreateZoomMeetingRequest, CreateZoomMeetingResponse, ZoomMeetingRecurrence, ZoomMeetingSettings, ZoomMeetingTrackingField, ZoomOccurrence, } from './zoom';
3
3
  export { GoogleMeetConferenceData, GoogleMeetConferenceRequestStatus, GoogleMeetConferenceSolution, GoogleMeetConferenceSolutionKey, GoogleMeetCreateConferenceRequest, GoogleMeetCreateMeetingRequest, GoogleMeetCreateMeetingResponse, GoogleMeetEntryPoint, GoogleMeetMeeting, GoogleMeetMeetingAttendee, GoogleMeetMeetingCreator, GoogleMeetMeetingDateTime, GoogleMeetMeetingReminder, GoogleMeetMeetingReminders, } from './google-meet';
4
+ export { TimeOfDay, } from './timeofday';
5
+ export { DateTime, TimeZone, } from './datetime';
4
6
  export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee, Calendar, Contact, Host, HostUser, PagedRequestOptions, PagedResponseMetadata, Preferences, TimeRange, } from './shared';
5
- export { Field, Form, MeetingType, } from './meeting-type';
6
7
  export { DateRange, } from './date-range';
8
+ export { EventTypeDateRange, Field, Form, MeetingType, RelativeDateRange, } from './meeting-type';
7
9
  export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
8
10
  export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, } from './meeting-guest';
9
11
  export { FieldMask, } from './field-mask';
10
12
  export { EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, BuildHostIdRequestApplicationContextPropertiesEntry, IsCalendarConfiguredRequestApplicationContextPropertiesEntry, AvailabilityRule, BuildHostIdRequest, BuildHostIdResponse, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry, CalendarMigrationResponse, CancelMeetingRequest, CheckGroupOrServiceSlugExistRequest, CheckGroupOrServiceSlugExistResponse, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, ListBookedMeetingsRequestFilters, ListAvailabilityRequestFilters, GetEntityAssociationRequest, GetEntityAssociationResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, Meeting, MeetingTypeList, MeetingMetadataEntry, UpdateMeetingMetadataRequestMetadataEntry, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
11
13
  export { ScheduleBotRequest, } from './meeting-bot';
12
- export { TimeOfDay, } from './timeofday';
13
- export { DateTime, TimeZone, } from './datetime';
@@ -3,7 +3,7 @@ import { Contact, Answers, Calendar, Host } from './shared';
3
3
  import { DateRange } from './date-range';
4
4
  import { Group, Service } from './groups-and-services';
5
5
  import { MeetingType } from './meeting-type';
6
- import { TimeZone } from './';
6
+ import { TimeZone } from './datetime';
7
7
  import * as e from '../enums';
8
8
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
9
9
  export declare class BookMeetingRequest implements i.BookMeetingRequestInterface {
@@ -4,7 +4,7 @@ import { FieldMask } from './field-mask';
4
4
  import { Group, Service } from './groups-and-services';
5
5
  import { MeetingType } from './meeting-type';
6
6
  import { TimeRange, Calendar, Preferences, HostUser, Contact, PagedRequestOptions, PagedResponseMetadata, Attendee, Answers, Attachment } from './shared';
7
- import { TimeZone } from './';
7
+ import { TimeZone } from './datetime';
8
8
  import * as e from '../enums';
9
9
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
10
10
  export declare class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
@@ -5,6 +5,7 @@ export declare class MeetingSourceInfo implements i.MeetingSourceInfoInterface {
5
5
  source: e.MeetingSource;
6
6
  status: e.MeetingSourceStatus;
7
7
  connectDisconnectUrl: string;
8
+ connectionLabel: string;
8
9
  static fromProto(proto: any): MeetingSourceInfo;
9
10
  constructor(kwargs?: i.MeetingSourceInfoInterface);
10
11
  toApiJson(): object;
@@ -1,7 +1,16 @@
1
1
  import * as i from '../interfaces';
2
+ import { DateRange } from './date-range';
2
3
  import { HostUser } from './shared';
3
4
  import * as e from '../enums';
4
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
6
+ export declare class EventTypeDateRange implements i.EventTypeDateRangeInterface {
7
+ dateRangeType: e.DateRangeType;
8
+ customDateRange: DateRange;
9
+ relativeDateRange: RelativeDateRange;
10
+ static fromProto(proto: any): EventTypeDateRange;
11
+ constructor(kwargs?: i.EventTypeDateRangeInterface);
12
+ toApiJson(): object;
13
+ }
5
14
  export declare class Field implements i.FieldInterface {
6
15
  id: string;
7
16
  label: string;
@@ -45,7 +54,15 @@ export declare class MeetingType implements i.MeetingTypeInterface {
45
54
  teamName: string;
46
55
  isVideoLinkDisabled: boolean;
47
56
  bufferDurationBeforeMeeting: number;
57
+ dateRange: EventTypeDateRange;
48
58
  static fromProto(proto: any): MeetingType;
49
59
  constructor(kwargs?: i.MeetingTypeInterface);
50
60
  toApiJson(): object;
51
61
  }
62
+ export declare class RelativeDateRange implements i.RelativeDateRangeInterface {
63
+ unit: e.RelativeTimeUnit;
64
+ value: number;
65
+ static fromProto(proto: any): RelativeDateRange;
66
+ constructor(kwargs?: i.RelativeDateRangeInterface);
67
+ toApiJson(): object;
68
+ }
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
- import { TimeZone, TimeOfDay } from './';
2
+ import { TimeOfDay } from './timeofday';
3
+ import { TimeZone } from './datetime';
3
4
  import * as e from '../enums';
4
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
5
6
  export declare class Answer implements i.AnswerInterface {
@@ -112,6 +113,7 @@ export declare class Preferences implements i.PreferencesInterface {
112
113
  noticeTime: number;
113
114
  calendarSlug: string;
114
115
  bufferDurationBeforeMeeting: number;
116
+ calendarIntegration: e.CalendarSource;
115
117
  static fromProto(proto: any): Preferences;
116
118
  constructor(kwargs?: i.PreferencesInterface);
117
119
  toApiJson(): object;
@@ -1,11 +1,14 @@
1
1
  import { CreateZoomMeetingRequest, CreateZoomMeetingResponse } from './objects/';
2
2
  import { CreateZoomMeetingRequestInterface } from './interfaces/';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
3
5
  import { Observable } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class ZoomApiService {
6
- private readonly hostService;
7
- private readonly http;
8
+ private http;
9
+ private hostService;
8
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
9
12
  private apiOptions;
10
13
  createMeeting(r: CreateZoomMeetingRequest | CreateZoomMeetingRequestInterface): Observable<CreateZoomMeetingResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ZoomApiService, never>;
package/lib/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { BookedMeetingInfo, BookMeetingResponse, GuestServiceInterface } from '.
4
4
  export { GuestService } from './guest/guest.service';
5
5
  export { HostService } from './host/host.service';
6
6
  export { addMetadataToBookingLink } from './host/url';
7
- export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, MeetingLocationType, } from './_internal/enums/index';
7
+ export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, MeetingLocationType, CalendarSource, RelativeTimeUnit, DateRangeType } from './_internal/enums/index';
8
8
  export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, } from './_internal/objects/index';
9
9
  export { Host, TimeSpan, PagedResponse, Meeting, MeetingType, Attendee, AvailabilityRule, Calendar, HostUrlMap, Preferences, Duration, MeetingTypeForm, MeetingTypeFormField, MeetingForm, MeetingFormAnswer, MeetingMetadata, WellKnownMeetingMetadataKeys, WellKnownFormFieldIds, meetingSchedulerIdToMetadataKey, durationFromString, durationToString, durationStringToMinutes, newBusinessCenterApplicationContextProperties, newSalesCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, ApplicationContextPropertiesSet, BusinessCenterApplicationContextProperties, SalesCenterApplicationContextProperties, PartnerCenterApplicationContextProperties, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, HostUser, Group, Service, EventGroupAndServiceAssociations, MeetingSourceOrigin, EntityAssociations, } from './shared/index';
10
- export { TimeRangeInterface as TimeRange, TimeOfDayInterface as TimeOfDay, TimeZoneInterface as TimeZone, ListBookedMeetingsRequestFiltersInterface as ListBookedMeetingsRequestFilters, ListAvailabilityRequestFiltersInterface as ListAvailabilityRequestFilters, PagedRequestOptionsInterface as PagedRequestOptions, DateRangeInterface as DateRange, CreateCalendarRequestInterface, CreateCalendarResponseInterface, UpdateCalendarRequestInterface, AttachmentInterface, GoogleMeetMeetingAttendeeInterface, IsCalendarConfiguredRequestInterface, SendMeetingRequestEmailRequestInterface, } from './_internal/interfaces/index';
10
+ export { TimeRangeInterface as TimeRange, TimeOfDayInterface as TimeOfDay, TimeZoneInterface as TimeZone, ListBookedMeetingsRequestFiltersInterface as ListBookedMeetingsRequestFilters, ListAvailabilityRequestFiltersInterface as ListAvailabilityRequestFilters, PagedRequestOptionsInterface as PagedRequestOptions, DateRangeInterface as DateRange, CreateCalendarRequestInterface, CreateCalendarResponseInterface, UpdateCalendarRequestInterface, AttachmentInterface, GoogleMeetMeetingAttendeeInterface, IsCalendarConfiguredRequestInterface, SendMeetingRequestEmailRequestInterface, EventTypeDateRangeInterface, DateRangeInterface, RelativeDateRangeInterface, } from './_internal/interfaces/index';
@@ -1,4 +1,4 @@
1
- import { FieldInterface, FormInterface, HostUserInterface, MeetingTypeInterface as ApiMeetingType } from '../_internal/interfaces';
1
+ import { EventTypeDateRangeInterface, FieldInterface, FormInterface, HostUserInterface, MeetingTypeInterface as ApiMeetingType } from '../_internal/interfaces';
2
2
  import { MeetingLocationType } from '../_internal/enums';
3
3
  import { Environment } from "./environment";
4
4
  export interface MeetingType {
@@ -31,6 +31,7 @@ export interface MeetingType {
31
31
  teamName?: string;
32
32
  isVideoLinkDisabled?: boolean;
33
33
  locationType?: MeetingLocationType;
34
+ dateRange?: EventTypeDateRangeInterface;
34
35
  }
35
36
  export type MeetingTypeFormField = Required<FieldInterface>;
36
37
  export type MeetingTypeForm = Required<Omit<FormInterface, 'fields'>> & {
@@ -1,5 +1,5 @@
1
1
  import { Preferences as APIPreferences } from '../_internal/objects';
2
- import { MeetingSource } from '../_internal/enums';
2
+ import { CalendarSource, MeetingSource } from '../_internal/enums';
3
3
  import { TimeZoneInterface } from '../_internal/interfaces';
4
4
  export interface Preferences {
5
5
  timezone: TimeZoneInterface;
@@ -9,5 +9,6 @@ export interface Preferences {
9
9
  bufferDurationBeforeMeeting: number;
10
10
  noticeTime: number;
11
11
  calendarSlug: string;
12
+ calendarIntegration: CalendarSource;
12
13
  }
13
14
  export declare function PreferencesFromApi(preferences: APIPreferences): Preferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "0.97.0",
3
+ "version": "0.98.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"