@vendasta/meetings 0.88.0 → 0.90.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 (49) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +1 -1
  2. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  3. package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -7
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  10. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  11. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  12. package/esm2020/lib/_internal/objects/groups-and-services.mjs +13 -1
  13. package/esm2020/lib/_internal/objects/index.mjs +3 -3
  14. package/esm2020/lib/_internal/objects/meeting-guest.mjs +3 -9
  15. package/esm2020/lib/_internal/objects/meeting-host.mjs +8 -2
  16. package/esm2020/lib/_internal/objects/meeting-type.mjs +8 -1
  17. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  18. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  19. package/esm2020/lib/host/host.service.mjs +3 -3
  20. package/esm2020/lib/host/url.mjs +2 -2
  21. package/esm2020/lib/index.mjs +1 -1
  22. package/esm2020/lib/shared/groups-and-services.mjs +31 -7
  23. package/esm2020/lib/shared/meeting-type.mjs +4 -2
  24. package/fesm2015/vendasta-meetings.mjs +216 -170
  25. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  26. package/fesm2020/vendasta-meetings.mjs +214 -170
  27. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  28. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  29. package/lib/_internal/interfaces/groups-and-services.interface.d.ts +4 -0
  30. package/lib/_internal/interfaces/index.d.ts +2 -2
  31. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -3
  32. package/lib/_internal/interfaces/meeting-host.interface.d.ts +3 -1
  33. package/lib/_internal/interfaces/meeting-type.interface.d.ts +2 -0
  34. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  35. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  36. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  37. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  38. package/lib/_internal/objects/groups-and-services.d.ts +4 -0
  39. package/lib/_internal/objects/index.d.ts +2 -2
  40. package/lib/_internal/objects/meeting-guest.d.ts +2 -3
  41. package/lib/_internal/objects/meeting-host.d.ts +3 -1
  42. package/lib/_internal/objects/meeting-type.d.ts +2 -0
  43. package/lib/_internal/objects/shared.d.ts +2 -1
  44. package/lib/_internal/zoom.api.service.d.ts +5 -2
  45. package/lib/host/host.service.d.ts +2 -0
  46. package/lib/index.d.ts +1 -1
  47. package/lib/shared/groups-and-services.d.ts +8 -0
  48. package/lib/shared/meeting-type.d.ts +2 -1
  49. package/package.json +1 -1
@@ -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>;
@@ -13,6 +13,8 @@ export interface GroupInterface {
13
13
  slug?: string;
14
14
  isPinned?: boolean;
15
15
  associations?: EventGroupAndServiceAssociationsInterface[];
16
+ hexColor?: string;
17
+ bookingUrl?: string;
16
18
  }
17
19
  export interface ServiceInterface {
18
20
  id?: string;
@@ -21,4 +23,6 @@ export interface ServiceInterface {
21
23
  slug?: string;
22
24
  isPinned?: boolean;
23
25
  associations?: EventGroupAndServiceAssociationsInterface[];
26
+ hexColor?: string;
27
+ bookingUrl?: string;
24
28
  }
@@ -1,6 +1,8 @@
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
7
  export { FieldInterface, FormInterface, MeetingTypeInterface, } from './meeting-type.interface';
6
8
  export { DateRangeInterface, } from './date-range.interface';
@@ -8,5 +10,3 @@ export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarR
8
10
  export { FieldMaskInterface, } from './field-mask.interface';
9
11
  export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
10
12
  export { IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, BuildHostIdRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, BuildHostIdRequestInterface, BuildHostIdResponseInterface, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntryInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateAvailabilityResponseInterface, CreateCalendarRequestInterface, CreateCalendarResponseInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateGroupResponseInterface, CreateMeetingTypeRequestInterface, CreateMeetingTypeResponseInterface, CreateServiceRequestInterface, CreateServiceResponseInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, DoesCalendarExistResponseInterface, EnsureGroupCalendarsExistRequestInterface, EnsureGroupCalendarsExistResponseInterface, EnsurePersonalCalendarExistsRequestInterface, EnsurePersonalCalendarExistsResponseInterface, ListBookedMeetingsRequestFiltersInterface, ListAvailabilityRequestFiltersInterface, 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
- export { TimeOfDayInterface, } from './timeofday.interface';
12
- export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
@@ -1,7 +1,7 @@
1
- import { ContactInterface, AnswersInterface, CalendarInterface, HostInterface, HostUserInterface } from './shared.interface';
1
+ import { ContactInterface, AnswersInterface, CalendarInterface, HostInterface } from './shared.interface';
2
2
  import { DateRangeInterface } from './date-range.interface';
3
3
  import { MeetingTypeInterface } from './meeting-type.interface';
4
- import { TimeZoneInterface } from './';
4
+ import { TimeZoneInterface } from './datetime.interface';
5
5
  export interface BookMeetingRequestInterface {
6
6
  hostId?: string;
7
7
  meetingTypeId?: string;
@@ -39,7 +39,6 @@ export interface GetMeetingTypeRequestInterface {
39
39
  }
40
40
  export interface GetMeetingTypeResponseInterface {
41
41
  meetingType?: MeetingTypeInterface;
42
- hostUsers?: HostUserInterface[];
43
42
  }
44
43
  export interface GuestCancelMeetingRequestInterface {
45
44
  meetingId?: 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 IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
9
9
  key?: string;
@@ -83,12 +83,14 @@ export interface DeleteAvailabilityRequestInterface {
83
83
  }
84
84
  export interface DeleteGroupRequestInterface {
85
85
  id?: string;
86
+ hostId?: string;
86
87
  }
87
88
  export interface DeleteMeetingTypeRequestInterface {
88
89
  id?: string;
89
90
  }
90
91
  export interface DeleteServiceRequestInterface {
91
92
  id?: string;
93
+ hostId?: string;
92
94
  }
93
95
  export interface DoesCalendarExistRequestInterface {
94
96
  calendarIdentifier?: string;
@@ -1,3 +1,4 @@
1
+ import { HostUserInterface } from './shared.interface';
1
2
  import * as e from '../enums';
2
3
  export interface FieldInterface {
3
4
  id?: string;
@@ -32,4 +33,5 @@ export interface MeetingTypeInterface {
32
33
  emailDescription?: string;
33
34
  isPinned?: boolean;
34
35
  calendarType?: string;
36
+ hostUsers?: HostUserInterface[];
35
37
  }
@@ -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;
@@ -1,12 +1,14 @@
1
1
  import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
2
  import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, 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 { BuildHostIdRequest, BuildHostIdResponse, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, 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, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest } from './objects/';
2
2
  import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateMeetingTypeRequestInterface, CreateServiceRequestInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, GetHostMeetingRequestInterface, GetHostPreferencesRequestInterface, GetHostsForCalendarRequestInterface, GetMeetingTypesForCalendarsRequestInterface, 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>;
@@ -18,6 +18,8 @@ export declare class Group implements i.GroupInterface {
18
18
  slug: string;
19
19
  isPinned: boolean;
20
20
  associations: EventGroupAndServiceAssociations[];
21
+ hexColor: string;
22
+ bookingUrl: string;
21
23
  static fromProto(proto: any): Group;
22
24
  constructor(kwargs?: i.GroupInterface);
23
25
  toApiJson(): object;
@@ -29,6 +31,8 @@ export declare class Service implements i.ServiceInterface {
29
31
  slug: string;
30
32
  isPinned: boolean;
31
33
  associations: EventGroupAndServiceAssociations[];
34
+ hexColor: string;
35
+ bookingUrl: string;
32
36
  static fromProto(proto: any): Service;
33
37
  constructor(kwargs?: i.ServiceInterface);
34
38
  toApiJson(): object;
@@ -1,6 +1,8 @@
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
7
  export { Field, Form, MeetingType, } from './meeting-type';
6
8
  export { DateRange, } from './date-range';
@@ -8,5 +10,3 @@ export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalenda
8
10
  export { FieldMask, } from './field-mask';
9
11
  export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
10
12
  export { IsCalendarConfiguredRequestApplicationContextPropertiesEntry, BuildHostIdRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, AvailabilityRule, BuildHostIdRequest, BuildHostIdResponse, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, ListBookedMeetingsRequestFilters, ListAvailabilityRequestFilters, 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
- export { TimeOfDay, } from './timeofday';
12
- export { DateTime, TimeZone, } from './datetime';
@@ -1,8 +1,8 @@
1
1
  import * as i from '../interfaces';
2
- import { Contact, Answers, Calendar, Host, HostUser } from './shared';
2
+ import { Contact, Answers, Calendar, Host } from './shared';
3
3
  import { DateRange } from './date-range';
4
4
  import { MeetingType } from './meeting-type';
5
- import { TimeZone } from './';
5
+ import { TimeZone } from './datetime';
6
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
7
7
  export declare class BookMeetingRequest implements i.BookMeetingRequestInterface {
8
8
  hostId: string;
@@ -62,7 +62,6 @@ export declare class GetMeetingTypeRequest implements i.GetMeetingTypeRequestInt
62
62
  }
63
63
  export declare class GetMeetingTypeResponse implements i.GetMeetingTypeResponseInterface {
64
64
  meetingType: MeetingType;
65
- hostUsers: HostUser[];
66
65
  static fromProto(proto: any): GetMeetingTypeResponse;
67
66
  constructor(kwargs?: i.GetMeetingTypeResponseInterface);
68
67
  toApiJson(): object;
@@ -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 IsCalendarConfiguredRequestApplicationContextPropertiesEntry implements i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
@@ -145,6 +145,7 @@ export declare class DeleteAvailabilityRequest implements i.DeleteAvailabilityRe
145
145
  }
146
146
  export declare class DeleteGroupRequest implements i.DeleteGroupRequestInterface {
147
147
  id: string;
148
+ hostId: string;
148
149
  static fromProto(proto: any): DeleteGroupRequest;
149
150
  constructor(kwargs?: i.DeleteGroupRequestInterface);
150
151
  toApiJson(): object;
@@ -157,6 +158,7 @@ export declare class DeleteMeetingTypeRequest implements i.DeleteMeetingTypeRequ
157
158
  }
158
159
  export declare class DeleteServiceRequest implements i.DeleteServiceRequestInterface {
159
160
  id: string;
161
+ hostId: string;
160
162
  static fromProto(proto: any): DeleteServiceRequest;
161
163
  constructor(kwargs?: i.DeleteServiceRequestInterface);
162
164
  toApiJson(): object;
@@ -1,4 +1,5 @@
1
1
  import * as i from '../interfaces';
2
+ import { HostUser } from './shared';
2
3
  import * as e from '../enums';
3
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
5
  export declare class Field implements i.FieldInterface {
@@ -40,6 +41,7 @@ export declare class MeetingType implements i.MeetingTypeInterface {
40
41
  emailDescription: string;
41
42
  isPinned: boolean;
42
43
  calendarType: string;
44
+ hostUsers: HostUser[];
43
45
  static fromProto(proto: any): MeetingType;
44
46
  constructor(kwargs?: i.MeetingTypeInterface);
45
47
  toApiJson(): object;
@@ -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 {
@@ -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>;
@@ -141,6 +141,7 @@ export declare class HostService {
141
141
  }): Observable<void>;
142
142
  deleteService(req: {
143
143
  id: string;
144
+ hostId: string;
144
145
  }): Observable<void>;
145
146
  listServices(req: {
146
147
  hostId: string;
@@ -158,6 +159,7 @@ export declare class HostService {
158
159
  }): Observable<void>;
159
160
  deleteGroup(req: {
160
161
  id: string;
162
+ hostId: string;
161
163
  }): Observable<void>;
162
164
  listGroups(req: {
163
165
  hostId: string;
package/lib/index.d.ts CHANGED
@@ -5,5 +5,5 @@ export { HostService } from './host/host.service';
5
5
  export { addMetadataToBookingLink } from './host/url';
6
6
  export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, } from './_internal/enums/index';
7
7
  export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, } from './_internal/objects/index';
8
- 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, } from './shared/index';
8
+ 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, } from './shared/index';
9
9
  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';
@@ -1,4 +1,5 @@
1
1
  import { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface } from "../_internal";
2
+ import { Environment } from "./environment";
2
3
  export interface Group {
3
4
  id: string;
4
5
  name: string;
@@ -6,6 +7,8 @@ export interface Group {
6
7
  slug: string;
7
8
  isPinned: boolean;
8
9
  associations: EventGroupAndServiceAssociations[];
10
+ hexColor?: string;
11
+ bookingUrl?: string;
9
12
  }
10
13
  export interface EventGroupAndServiceAssociations {
11
14
  id: string;
@@ -22,6 +25,8 @@ export interface Service {
22
25
  slug: string;
23
26
  isPinned: boolean;
24
27
  associations: EventGroupAndServiceAssociations[];
28
+ hexColor?: string;
29
+ bookingUrl?: string;
25
30
  }
26
31
  export declare function GroupTypeToAPi(req: {
27
32
  group: Partial<Group>;
@@ -33,7 +38,10 @@ export declare function AssociationTypeToApi(association: EventGroupAndServiceAs
33
38
  export declare function AssociationFromApi(associationApi: EventGroupAndServiceAssociationsInterface): EventGroupAndServiceAssociations;
34
39
  export declare function GroupFromApi(req: {
35
40
  groupApi: GroupInterface;
41
+ environment: Environment;
36
42
  }): Group;
43
+ export declare function getBookingURL(environment: Environment, slug: string, id: string, calendarId: string): string;
37
44
  export declare function ServiceFromApi(req: {
38
45
  serviceApi: ServiceInterface;
46
+ environment: Environment;
39
47
  }): Service;
@@ -1,4 +1,4 @@
1
- import { FieldInterface, FormInterface, MeetingTypeInterface as ApiMeetingType } from '../_internal/interfaces';
1
+ import { FieldInterface, FormInterface, HostUserInterface, MeetingTypeInterface as ApiMeetingType } from '../_internal/interfaces';
2
2
  import { Environment } from "./environment";
3
3
  export interface MeetingType {
4
4
  id: string;
@@ -26,6 +26,7 @@ export interface MeetingType {
26
26
  isClientChoice?: boolean;
27
27
  isPinned?: boolean;
28
28
  CalendarType?: string;
29
+ hostUsers: HostUserInterface[];
29
30
  }
30
31
  export type MeetingTypeFormField = Required<FieldInterface>;
31
32
  export type MeetingTypeForm = Required<Omit<FormInterface, 'fields'>> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "0.88.0",
3
+ "version": "0.90.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"