@vendasta/meetings 0.93.5 → 0.95.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 (29) hide show
  1. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  2. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/meeting-source.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -2
  5. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  6. package/esm2020/lib/_internal/objects/meeting-host.mjs +47 -1
  7. package/esm2020/lib/_internal/objects/meeting-source.mjs +4 -1
  8. package/esm2020/lib/host/host.service.mjs +231 -128
  9. package/esm2020/lib/index.mjs +2 -2
  10. package/esm2020/lib/meetings.service.mjs +5 -3
  11. package/esm2020/lib/shared/index.mjs +2 -1
  12. package/esm2020/lib/shared/origin.mjs +8 -0
  13. package/fesm2015/vendasta-meetings.mjs +282 -115
  14. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  15. package/fesm2020/vendasta-meetings.mjs +290 -123
  16. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  17. package/lib/_internal/interfaces/index.d.ts +1 -1
  18. package/lib/_internal/interfaces/meeting-host.interface.d.ts +8 -0
  19. package/lib/_internal/interfaces/meeting-source.interface.d.ts +1 -0
  20. package/lib/_internal/meeting-host.api.service.d.ts +3 -2
  21. package/lib/_internal/objects/index.d.ts +1 -1
  22. package/lib/_internal/objects/meeting-host.d.ts +14 -0
  23. package/lib/_internal/objects/meeting-source.d.ts +1 -0
  24. package/lib/host/host.service.d.ts +9 -4
  25. package/lib/index.d.ts +1 -1
  26. package/lib/meetings.service.d.ts +2 -2
  27. package/lib/shared/index.d.ts +1 -0
  28. package/lib/shared/origin.d.ts +6 -0
  29. package/package.json +1 -1
@@ -7,6 +7,6 @@ export { DateRangeInterface, } from './date-range.interface';
7
7
  export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
8
8
  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
9
  export { FieldMaskInterface, } from './field-mask.interface';
10
- export { BuildHostIdRequestApplicationContextPropertiesEntryInterface, IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, BuildHostIdRequestInterface, BuildHostIdResponseInterface, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntryInterface, CalendarMigrationResponseInterface, 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, UpdateMeetingMetadataRequestMetadataEntryInterface, MeetingMetadataEntryInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
10
+ export { BuildHostIdRequestApplicationContextPropertiesEntryInterface, IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, 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, 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, UpdateMeetingMetadataRequestMetadataEntryInterface, MeetingMetadataEntryInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
11
11
  export { TimeOfDayInterface, } from './timeofday.interface';
12
12
  export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
@@ -44,6 +44,14 @@ export interface CancelMeetingRequestInterface {
44
44
  meetingId?: string;
45
45
  cancellationReason?: string;
46
46
  }
47
+ export interface CheckGroupOrServiceSlugExistRequestInterface {
48
+ hostId?: string;
49
+ slugIdentifier?: string;
50
+ category?: string;
51
+ }
52
+ export interface CheckGroupOrServiceSlugExistResponseInterface {
53
+ exists?: boolean;
54
+ }
47
55
  export interface CreateAvailabilityRequestInterface {
48
56
  }
49
57
  export interface CreateAvailabilityResponseInterface {
@@ -8,6 +8,7 @@ export interface MeetingSourceListRequestInterface {
8
8
  iamUserId?: string;
9
9
  queriedSources?: MeetingSourceQueryInterface[];
10
10
  namespace?: string;
11
+ origin?: string;
11
12
  }
12
13
  export interface MeetingSourceListResponseInterface {
13
14
  iamUserId?: string;
@@ -1,5 +1,5 @@
1
- import { BuildHostIdRequest, BuildHostIdResponse, CalendarMigrationResponse, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, 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
- import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateMeetingTypeRequestInterface, CreateServiceRequestInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, 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/';
1
+ import { 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, 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
+ import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CheckGroupOrServiceSlugExistRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateMeetingTypeRequestInterface, CreateServiceRequestInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, 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
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -50,6 +50,7 @@ export declare class MeetingHostApiService {
50
50
  calendarMigration(): Observable<CalendarMigrationResponse>;
51
51
  getGroup(r: GetGroupRequest | GetGroupRequestInterface): Observable<GetGroupResponse>;
52
52
  getService(r: GetServiceRequest | GetServiceRequestInterface): Observable<GetServiceResponse>;
53
+ checkGroupOrServiceSlugExist(r: CheckGroupOrServiceSlugExistRequest | CheckGroupOrServiceSlugExistRequestInterface): Observable<CheckGroupOrServiceSlugExistResponse>;
53
54
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingHostApiService, never>;
54
55
  static ɵprov: i0.ɵɵInjectableDeclaration<MeetingHostApiService>;
55
56
  }
@@ -7,6 +7,6 @@ export { DateRange, } from './date-range';
7
7
  export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
8
8
  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
9
  export { FieldMask, } from './field-mask';
10
- export { BuildHostIdRequestApplicationContextPropertiesEntry, IsCalendarConfiguredRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, AvailabilityRule, BuildHostIdRequest, BuildHostIdResponse, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry, CalendarMigrationResponse, 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, UpdateMeetingMetadataRequestMetadataEntry, MeetingMetadataEntry, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
10
+ export { BuildHostIdRequestApplicationContextPropertiesEntry, IsCalendarConfiguredRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, 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, 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, UpdateMeetingMetadataRequestMetadataEntry, MeetingMetadataEntry, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
11
11
  export { TimeOfDay, } from './timeofday';
12
12
  export { DateTime, TimeZone, } from './datetime';
@@ -73,6 +73,20 @@ export declare class CancelMeetingRequest implements i.CancelMeetingRequestInter
73
73
  constructor(kwargs?: i.CancelMeetingRequestInterface);
74
74
  toApiJson(): object;
75
75
  }
76
+ export declare class CheckGroupOrServiceSlugExistRequest implements i.CheckGroupOrServiceSlugExistRequestInterface {
77
+ hostId: string;
78
+ slugIdentifier: string;
79
+ category: string;
80
+ static fromProto(proto: any): CheckGroupOrServiceSlugExistRequest;
81
+ constructor(kwargs?: i.CheckGroupOrServiceSlugExistRequestInterface);
82
+ toApiJson(): object;
83
+ }
84
+ export declare class CheckGroupOrServiceSlugExistResponse implements i.CheckGroupOrServiceSlugExistResponseInterface {
85
+ exists: boolean;
86
+ static fromProto(proto: any): CheckGroupOrServiceSlugExistResponse;
87
+ constructor(kwargs?: i.CheckGroupOrServiceSlugExistResponseInterface);
88
+ toApiJson(): object;
89
+ }
76
90
  export declare class CreateAvailabilityRequest implements i.CreateAvailabilityRequestInterface {
77
91
  static fromProto(proto: any): CreateAvailabilityRequest;
78
92
  constructor(kwargs?: i.CreateAvailabilityRequestInterface);
@@ -13,6 +13,7 @@ export declare class MeetingSourceListRequest implements i.MeetingSourceListRequ
13
13
  iamUserId: string;
14
14
  queriedSources: MeetingSourceQuery[];
15
15
  namespace: string;
16
+ origin: string;
16
17
  static fromProto(proto: any): MeetingSourceListRequest;
17
18
  constructor(kwargs?: i.MeetingSourceListRequestInterface);
18
19
  toApiJson(): object;
@@ -1,7 +1,7 @@
1
- import { Observable } from 'rxjs';
2
- import { CreateCalendarRequestInterface, CreateCalendarResponse, DayOfWeek, GetGroupResponse, GetServiceResponse, HostBookMeetingRequestInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponse, ListAvailabilityRequestFiltersInterface, ListBookedMeetingsRequestFiltersInterface, MeetingHostApiService, PagedRequestOptionsInterface, SendMeetingRequestEmailRequestInterface, TimeRangeInterface, TimeZoneInterface, WeekdayAvailability } from '../_internal';
3
- import { ApplicationContextPropertiesSet, AvailabilityRule, Calendar, Group, HostUrlMap, Meeting, MeetingMetadata, MeetingType, PagedResponse, Preferences, Service } from '../shared';
4
- import { HostUser } from '../shared/host-user';
1
+ import { Observable } from "rxjs";
2
+ import { CreateCalendarRequestInterface, CreateCalendarResponse, DayOfWeek, GetGroupResponse, GetServiceResponse, HostBookMeetingRequestInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponse, ListAvailabilityRequestFiltersInterface, ListBookedMeetingsRequestFiltersInterface, MeetingHostApiService, PagedRequestOptionsInterface, SendMeetingRequestEmailRequestInterface, TimeRangeInterface, TimeZoneInterface, WeekdayAvailability } from "../_internal";
3
+ import { ApplicationContextPropertiesSet, AvailabilityRule, Calendar, Group, HostUrlMap, Meeting, MeetingMetadata, MeetingType, PagedResponse, Preferences, Service } from "../shared";
4
+ import { HostUser } from "../shared/host-user";
5
5
  import { HttpResponse } from "@angular/common/http";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class HostService {
@@ -174,6 +174,11 @@ export declare class HostService {
174
174
  slug: string;
175
175
  hostId: string;
176
176
  }): Observable<GetServiceResponse>;
177
+ checkGroupOrServiceSlugExist(req: {
178
+ hostId: string;
179
+ slugIdentifier: string;
180
+ category: string;
181
+ }): Observable<boolean>;
177
182
  static ɵfac: i0.ɵɵFactoryDeclaration<HostService, never>;
178
183
  static ɵprov: i0.ɵɵInjectableDeclaration<HostService>;
179
184
  }
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, MeetingLocationType, } 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, Group, Service, EventGroupAndServiceAssociations, } 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, MeetingSourceOrigin, } 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';
@@ -26,8 +26,8 @@ export declare class MeetingsService implements MeetingsSDK {
26
26
  * @deprecated Use listForUser instead. This method will result in the backend grabbing the userID from the user's JWT
27
27
  * This will eventually no longer be supported because it breaks our impersonation workflows.
28
28
  */
29
- list(meetingSources: MeetingSourceQuery[], namespace?: string): Observable<MeetingSourceListResponse>;
30
- listForUser(iamUserId: string, namespace: string, queriedSources: MeetingSourceQuery[]): Observable<MeetingSourceListResponse>;
29
+ list(meetingSources: MeetingSourceQuery[], namespace?: string, origin?: string): Observable<MeetingSourceListResponse>;
30
+ listForUser(iamUserId: string, namespace: string, origin: string, queriedSources: MeetingSourceQuery[]): Observable<MeetingSourceListResponse>;
31
31
  startInstantMeeting(meetingTitle: string, meetingAgenda: string, meetingSource: MeetingSource, gMeetAttendees?: GoogleMeetMeetingAttendeeInterface[]): Observable<StartMeetingResponse>;
32
32
  createBasicZoomScheduledMeeting(topic: string, agenda: string, startDateTime: string, duration: number, timezone: string, meetingPassword: string): Observable<CreateZoomMeetingResponse>;
33
33
  createBasicGoogleMeeting(topic: string, agenda: string, startDateTime: string, endDateTime: string, timezone: string, attendees: GoogleMeetMeetingAttendeeInterface[]): Observable<GoogleMeetCreateMeetingResponse>;
@@ -12,3 +12,4 @@ export * from './fieldmask';
12
12
  export * from './host-id';
13
13
  export * from './host-user';
14
14
  export * from './groups-and-services';
15
+ export * from './origin';
@@ -0,0 +1,6 @@
1
+ export declare enum MeetingSourceOrigin {
2
+ TaskManager = "task-manager",
3
+ PartnerCenter = "partner-center",
4
+ BusinessApp = "business-app",
5
+ SalesCenter = "sales-center"
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "0.93.5",
3
+ "version": "0.95.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"