@vendasta/meetings 0.91.0 → 0.92.1
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.
- package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -2
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +10 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +48 -1
- package/esm2020/lib/guest/guest.service.mjs +4 -1
- package/esm2020/lib/host/host.service.mjs +3 -3
- package/esm2020/lib/host/url.mjs +8 -2
- package/esm2020/lib/shared/groups-and-services.mjs +6 -6
- package/fesm2015/vendasta-meetings.mjs +208 -139
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +208 -139
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/groups-and-services.interface.d.ts +3 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +8 -0
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -2
- package/lib/_internal/objects/groups-and-services.d.ts +3 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/meeting-guest.d.ts +14 -0
- package/lib/guest/guest.service.d.ts +5 -1
- package/lib/shared/groups-and-services.d.ts +8 -5
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ export { GoogleMeetConferenceDataInterface, GoogleMeetConferenceRequestStatusInt
|
|
|
4
4
|
export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInterface, AttachmentInterface, AttendeeInterface, CalendarInterface, ContactInterface, HostInterface, HostUserInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, PreferencesInterface, TimeRangeInterface, } from './shared.interface';
|
|
5
5
|
export { FieldInterface, FormInterface, MeetingTypeInterface, } from './meeting-type.interface';
|
|
6
6
|
export { DateRangeInterface, } from './date-range.interface';
|
|
7
|
-
export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, } from './meeting-guest.interface';
|
|
8
|
-
export { FieldMaskInterface, } from './field-mask.interface';
|
|
9
7
|
export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
|
|
8
|
+
export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, } from './meeting-guest.interface';
|
|
9
|
+
export { FieldMaskInterface, } from './field-mask.interface';
|
|
10
10
|
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
11
|
export { TimeOfDayInterface, } from './timeofday.interface';
|
|
12
12
|
export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContactInterface, AnswersInterface, CalendarInterface, HostInterface } from './shared.interface';
|
|
2
2
|
import { DateRangeInterface } from './date-range.interface';
|
|
3
|
+
import { GroupInterface } from './groups-and-services.interface';
|
|
3
4
|
import { MeetingTypeInterface } from './meeting-type.interface';
|
|
4
5
|
import { TimeZoneInterface } from './';
|
|
5
6
|
export interface BookMeetingRequestInterface {
|
|
@@ -27,6 +28,13 @@ export interface GetCalendarRequestInterface {
|
|
|
27
28
|
export interface GetCalendarResponseInterface {
|
|
28
29
|
calendar?: CalendarInterface;
|
|
29
30
|
}
|
|
31
|
+
export interface GetGroupRequestInterface {
|
|
32
|
+
groupId?: string;
|
|
33
|
+
slug?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface GetGroupResponseInterface {
|
|
36
|
+
group?: GroupInterface;
|
|
37
|
+
}
|
|
30
38
|
export interface GetHostRequestInterface {
|
|
31
39
|
hostId?: string;
|
|
32
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
|
|
2
|
-
import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
|
|
1
|
+
import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
|
|
2
|
+
import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -17,6 +17,7 @@ export declare class MeetingGuestApiService {
|
|
|
17
17
|
getGuestBookedMeeting(r: GuestGetBookedMeetingRequest | GuestGetBookedMeetingRequestInterface): Observable<GuestGetBookedMeetingResponse>;
|
|
18
18
|
getCalendar(r: GetCalendarRequest | GetCalendarRequestInterface): Observable<GetCalendarResponse>;
|
|
19
19
|
getHost(r: GetHostRequest | GetHostRequestInterface): Observable<GetHostResponse>;
|
|
20
|
+
getGroup(r: GetGroupRequest | GetGroupRequestInterface): Observable<GetGroupResponse>;
|
|
20
21
|
isHostConfigured(r: GuestIsHostConfiguredRequest | GuestIsHostConfiguredRequestInterface): Observable<GuestIsHostConfiguredResponse>;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<MeetingGuestApiService, never>;
|
|
22
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<MeetingGuestApiService>;
|
|
@@ -7,6 +7,9 @@ export declare class EventGroupAndServiceAssociations implements i.EventGroupAnd
|
|
|
7
7
|
identifier: string;
|
|
8
8
|
isEditable: boolean;
|
|
9
9
|
creatorUserName: string;
|
|
10
|
+
calendarId: string;
|
|
11
|
+
hexColor: string;
|
|
12
|
+
duration: string;
|
|
10
13
|
static fromProto(proto: any): EventGroupAndServiceAssociations;
|
|
11
14
|
constructor(kwargs?: i.EventGroupAndServiceAssociationsInterface);
|
|
12
15
|
toApiJson(): object;
|
|
@@ -4,9 +4,9 @@ export { GoogleMeetConferenceData, GoogleMeetConferenceRequestStatus, GoogleMeet
|
|
|
4
4
|
export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee, Calendar, Contact, Host, HostUser, PagedRequestOptions, PagedResponseMetadata, Preferences, TimeRange, } from './shared';
|
|
5
5
|
export { Field, Form, MeetingType, } from './meeting-type';
|
|
6
6
|
export { DateRange, } from './date-range';
|
|
7
|
-
export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, } from './meeting-guest';
|
|
8
|
-
export { FieldMask, } from './field-mask';
|
|
9
7
|
export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
|
|
8
|
+
export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, } from './meeting-guest';
|
|
9
|
+
export { FieldMask, } from './field-mask';
|
|
10
10
|
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
11
|
export { TimeOfDay, } from './timeofday';
|
|
12
12
|
export { DateTime, TimeZone, } from './datetime';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { Contact, Answers, Calendar, Host } from './shared';
|
|
3
3
|
import { DateRange } from './date-range';
|
|
4
|
+
import { Group } from './groups-and-services';
|
|
4
5
|
import { MeetingType } from './meeting-type';
|
|
5
6
|
import { TimeZone } from './';
|
|
6
7
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -41,6 +42,19 @@ export declare class GetCalendarResponse implements i.GetCalendarResponseInterfa
|
|
|
41
42
|
constructor(kwargs?: i.GetCalendarResponseInterface);
|
|
42
43
|
toApiJson(): object;
|
|
43
44
|
}
|
|
45
|
+
export declare class GetGroupRequest implements i.GetGroupRequestInterface {
|
|
46
|
+
groupId: string;
|
|
47
|
+
slug: string;
|
|
48
|
+
static fromProto(proto: any): GetGroupRequest;
|
|
49
|
+
constructor(kwargs?: i.GetGroupRequestInterface);
|
|
50
|
+
toApiJson(): object;
|
|
51
|
+
}
|
|
52
|
+
export declare class GetGroupResponse implements i.GetGroupResponseInterface {
|
|
53
|
+
group: Group;
|
|
54
|
+
static fromProto(proto: any): GetGroupResponse;
|
|
55
|
+
constructor(kwargs?: i.GetGroupResponseInterface);
|
|
56
|
+
toApiJson(): object;
|
|
57
|
+
}
|
|
44
58
|
export declare class GetHostRequest implements i.GetHostRequestInterface {
|
|
45
59
|
hostId: string;
|
|
46
60
|
static fromProto(proto: any): GetHostRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarInterface, Contact, MeetingGuestApiService, TimeZoneInterface } from '../_internal';
|
|
1
|
+
import { CalendarInterface, Contact, GetGroupResponse, MeetingGuestApiService, TimeZoneInterface } from '../_internal';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Host, MeetingForm, MeetingMetadata, MeetingType, TimeSpan } from '../shared';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -86,6 +86,10 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
86
86
|
isHostConfigured(req: {
|
|
87
87
|
hostId: string;
|
|
88
88
|
}): Observable<boolean>;
|
|
89
|
+
getGroup(req: {
|
|
90
|
+
groupId: string;
|
|
91
|
+
slug: string;
|
|
92
|
+
}): Observable<GetGroupResponse>;
|
|
89
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<GuestService, never>;
|
|
90
94
|
static ɵprov: i0.ɵɵInjectableDeclaration<GuestService>;
|
|
91
95
|
}
|
|
@@ -11,12 +11,15 @@ export interface Group {
|
|
|
11
11
|
bookingUrl?: string;
|
|
12
12
|
}
|
|
13
13
|
export interface EventGroupAndServiceAssociations {
|
|
14
|
-
id
|
|
15
|
-
name
|
|
16
|
-
eventType
|
|
17
|
-
identifier
|
|
14
|
+
id?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
eventType?: string;
|
|
17
|
+
identifier?: string;
|
|
18
18
|
isEditable?: boolean;
|
|
19
19
|
creatorUserName?: string;
|
|
20
|
+
calendarId?: string;
|
|
21
|
+
hexColor?: string;
|
|
22
|
+
duration?: string;
|
|
20
23
|
}
|
|
21
24
|
export interface Service {
|
|
22
25
|
id: string;
|
|
@@ -40,7 +43,7 @@ export declare function GroupFromApi(req: {
|
|
|
40
43
|
groupApi: GroupInterface;
|
|
41
44
|
environment: Environment;
|
|
42
45
|
}): Group;
|
|
43
|
-
export declare function getBookingURL(environment: Environment, slug: string,
|
|
46
|
+
export declare function getBookingURL(environment: Environment, slug: string, calendarId: string): string;
|
|
44
47
|
export declare function ServiceFromApi(req: {
|
|
45
48
|
serviceApi: ServiceInterface;
|
|
46
49
|
environment: Environment;
|