@vendasta/meetings 0.88.0 → 0.89.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.
@@ -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
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "0.88.0",
3
+ "version": "0.89.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"