@vendasta/meetings 1.1.1 → 1.3.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.
@@ -5,7 +5,7 @@ export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInter
5
5
  export { DateRangeInterface, } from './date-range.interface';
6
6
  export { EventTypeDateRangeInterface, FieldInterface, FormInterface, MeetingTypeInterface, RegistrationCutOffInterface, RelativeDateRangeInterface, } from './meeting-type.interface';
7
7
  export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
8
- export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GetServiceRequestInterface, GetServiceResponseInterface, GetSessionMeetingRequestInterface, GetSessionMeetingResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, IsoDateTimeRangeInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, RegisterSessionRequestInterface, } from './meeting-guest.interface';
8
+ export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetGroupRequestInterface, GetGroupResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GetServiceRequestInterface, GetServiceResponseInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionInviteeMeetingInfoResponseInterface, GetSessionMeetingRequestInterface, GetSessionMeetingResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, IsoDateTimeRangeInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, RegisterSessionRequestInterface, } from './meeting-guest.interface';
9
9
  export { FieldMaskInterface, } from './field-mask.interface';
10
10
  export { BuildHostIdRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, AvailabilityRuleListInterface, 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, EnsureSessionEventCalendarsExistRequestInterface, EnsureSessionEventCalendarsExistResponseInterface, ListBookedMeetingsRequestFiltersInterface, ListAvailabilityRequestFiltersInterface, GetEntityAssociationRequestInterface, GetEntityAssociationResponseInterface, GetHostMeetingRequestInterface, GetHostMeetingResponseInterface, GetHostPreferencesRequestInterface, GetHostPreferencesResponseInterface, GetHostsForCalendarRequestInterface, GetHostsForCalendarResponseInterface, GetMeetingTypesForCalendarsRequestInterface, GetMeetingTypesForCalendarsResponseInterface, HostBookMeetingRequestInterface, HostBookMeetingResponseInterface, HostBookSessionRequestInterface, HostBookSessionResponseInterface, HostDeleteAttendeesRequestInterface, HostDetailsInterface, HostGetCalendarRequestInterface, HostGetCalendarResponseInterface, HostGetMeetingTypeRequestInterface, HostGetMeetingTypeResponseInterface, HostListMeetingTypesRequestInterface, HostListMeetingTypesResponseInterface, GetHostsForCalendarResponseHostUserAvailabilityRuleEntryInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponseInterface, IsHostConfiguredRequestInterface, IsHostConfiguredResponseInterface, ListAttendeesRequestInterface, ListAttendeesResponseInterface, ListAvailabilityRequestInterface, ListAvailabilityResponseInterface, ListBookedMeetingsRequestInterface, ListBookedMeetingsResponseInterface, ListGroupsRequestInterface, ListGroupsResponseInterface, ListServicesRequestInterface, ListServicesResponseInterface, MeetingInterface, MeetingTypeListInterface, UpdateMeetingMetadataRequestMetadataEntryInterface, MeetingMetadataEntryInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SessionAttendeesInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
11
11
  export { TimeOfDayInterface, } from './timeofday.interface';
@@ -60,6 +60,17 @@ export interface GetServiceResponseInterface {
60
60
  service?: ServiceInterface;
61
61
  businessDisplayLogoUrl?: string;
62
62
  }
63
+ export interface GetSessionInviteeMeetingInfoRequestInterface {
64
+ sessionInviteeId?: string;
65
+ }
66
+ export interface GetSessionInviteeMeetingInfoResponseInterface {
67
+ title?: string;
68
+ location?: string;
69
+ start?: Date;
70
+ duration?: string;
71
+ businessLogoUrl?: string;
72
+ hostNames?: string[];
73
+ }
63
74
  export interface GetSessionMeetingRequestInterface {
64
75
  sessionMeetingId?: string;
65
76
  slug?: string;
@@ -112,6 +123,10 @@ export interface GuestRescheduleMeetingRequestInterface {
112
123
  timeZone?: TimeZoneInterface;
113
124
  location?: string;
114
125
  }
126
+ export interface InviteeDeregisterSessionMeetingRequestInterface {
127
+ sessionInviteeId?: string;
128
+ cancellationReason?: string;
129
+ }
115
130
  export interface InviteeRegisterSessionMeetingRequestInterface {
116
131
  meetingId?: string;
117
132
  attendee?: ContactInterface;
@@ -1,5 +1,5 @@
1
- import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
- import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GetSessionMeetingRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
1
+ import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
+ import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetGroupRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GetServiceRequestInterface, GetSessionInviteeMeetingInfoRequestInterface, GetSessionMeetingRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, InviteeDeregisterSessionMeetingRequestInterface, InviteeRegisterSessionMeetingRequestInterface, 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";
@@ -22,6 +22,8 @@ export declare class MeetingGuestApiService {
22
22
  getService(r: GetServiceRequest | GetServiceRequestInterface): Observable<GetServiceResponse>;
23
23
  getSessionMeetingInfo(r: GetSessionMeetingRequest | GetSessionMeetingRequestInterface): Observable<GetSessionMeetingResponse>;
24
24
  inviteeRegisterSessionMeeting(r: InviteeRegisterSessionMeetingRequest | InviteeRegisterSessionMeetingRequestInterface): Observable<HttpResponse<null>>;
25
+ getSessionInviteeMeetingInfo(r: GetSessionInviteeMeetingInfoRequest | GetSessionInviteeMeetingInfoRequestInterface): Observable<GetSessionInviteeMeetingInfoResponse>;
26
+ inviteeDeregisterSessionMeeting(r: InviteeDeregisterSessionMeetingRequest | InviteeDeregisterSessionMeetingRequestInterface): Observable<HttpResponse<null>>;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingGuestApiService, never>;
26
28
  static ɵprov: i0.ɵɵInjectableDeclaration<MeetingGuestApiService>;
27
29
  }
@@ -5,7 +5,7 @@ export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee,
5
5
  export { DateRange, } from './date-range';
6
6
  export { EventTypeDateRange, Field, Form, MeetingType, RegistrationCutOff, RelativeDateRange, } from './meeting-type';
7
7
  export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
8
- export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeRegisterSessionMeetingRequest, IsoDateTimeRange, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, RegisterSessionRequest, } from './meeting-guest';
8
+ export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetGroupRequest, GetGroupResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GetServiceRequest, GetServiceResponse, GetSessionInviteeMeetingInfoRequest, GetSessionInviteeMeetingInfoResponse, GetSessionMeetingRequest, GetSessionMeetingResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, InviteeDeregisterSessionMeetingRequest, InviteeRegisterSessionMeetingRequest, IsoDateTimeRange, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, RegisterSessionRequest, } from './meeting-guest';
9
9
  export { FieldMask, } from './field-mask';
10
10
  export { BuildHostIdRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, IsCalendarConfiguredRequestApplicationContextPropertiesEntry, AvailabilityRule, AvailabilityRuleList, 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, EnsureSessionEventCalendarsExistRequest, EnsureSessionEventCalendarsExistResponse, ListBookedMeetingsRequestFilters, ListAvailabilityRequestFilters, GetEntityAssociationRequest, GetEntityAssociationResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostBookSessionRequest, HostBookSessionResponse, HostDeleteAttendeesRequest, HostDetails, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, GetHostsForCalendarResponseHostUserAvailabilityRuleEntry, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAttendeesRequest, ListAttendeesResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, Meeting, MeetingTypeList, UpdateMeetingMetadataRequestMetadataEntry, MeetingMetadataEntry, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SessionAttendees, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
11
11
  export { TimeOfDay, } from './timeofday';
@@ -98,6 +98,23 @@ export declare class GetServiceResponse implements i.GetServiceResponseInterface
98
98
  constructor(kwargs?: i.GetServiceResponseInterface);
99
99
  toApiJson(): object;
100
100
  }
101
+ export declare class GetSessionInviteeMeetingInfoRequest implements i.GetSessionInviteeMeetingInfoRequestInterface {
102
+ sessionInviteeId: string;
103
+ static fromProto(proto: any): GetSessionInviteeMeetingInfoRequest;
104
+ constructor(kwargs?: i.GetSessionInviteeMeetingInfoRequestInterface);
105
+ toApiJson(): object;
106
+ }
107
+ export declare class GetSessionInviteeMeetingInfoResponse implements i.GetSessionInviteeMeetingInfoResponseInterface {
108
+ title: string;
109
+ location: string;
110
+ start: Date;
111
+ duration: string;
112
+ businessLogoUrl: string;
113
+ hostNames: string[];
114
+ static fromProto(proto: any): GetSessionInviteeMeetingInfoResponse;
115
+ constructor(kwargs?: i.GetSessionInviteeMeetingInfoResponseInterface);
116
+ toApiJson(): object;
117
+ }
101
118
  export declare class GetSessionMeetingRequest implements i.GetSessionMeetingRequestInterface {
102
119
  sessionMeetingId: string;
103
120
  slug: string;
@@ -174,6 +191,13 @@ export declare class GuestRescheduleMeetingRequest implements i.GuestRescheduleM
174
191
  constructor(kwargs?: i.GuestRescheduleMeetingRequestInterface);
175
192
  toApiJson(): object;
176
193
  }
194
+ export declare class InviteeDeregisterSessionMeetingRequest implements i.InviteeDeregisterSessionMeetingRequestInterface {
195
+ sessionInviteeId: string;
196
+ cancellationReason: string;
197
+ static fromProto(proto: any): InviteeDeregisterSessionMeetingRequest;
198
+ constructor(kwargs?: i.InviteeDeregisterSessionMeetingRequestInterface);
199
+ toApiJson(): object;
200
+ }
177
201
  export declare class InviteeRegisterSessionMeetingRequest implements i.InviteeRegisterSessionMeetingRequestInterface {
178
202
  meetingId: string;
179
203
  attendee: Contact;
@@ -1,4 +1,4 @@
1
- import { CalendarInterface, Contact, GetGroupResponse, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface } from '../_internal';
1
+ import { CalendarInterface, Contact, GetGroupResponse, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse } from '../_internal';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Host, MeetingForm, MeetingMetadata, MeetingType, TimeSpan } from '../shared';
4
4
  import { GetServiceResponse } from "../_internal/objects/meeting-guest";
@@ -117,6 +117,13 @@ export declare class GuestService implements GuestServiceInterface {
117
117
  formAnswers: AnswersInterface;
118
118
  recaptchaToken: string;
119
119
  }): Observable<null>;
120
+ getSessionInviteeMeetingInfo(req: {
121
+ sessionInviteeId: string;
122
+ }): Observable<GetSessionInviteeMeetingInfoResponse>;
123
+ inviteeDeregisterSessionMeeting(req: {
124
+ sessionInviteeId: string;
125
+ cancellationReason: string;
126
+ }): Observable<null>;
120
127
  static ɵfac: i0.ɵɵFactoryDeclaration<GuestService, never>;
121
128
  static ɵprov: i0.ɵɵInjectableDeclaration<GuestService>;
122
129
  }
@@ -1,6 +1,6 @@
1
- import { Meeting as ApiMeeting } from '../_internal/objects';
2
- import { AnswerInterface, AnswersInterface, AttachmentInterface, HostDetailsInterface } from '../_internal/interfaces';
3
- import { TeamEventMeetingType } from '../_internal/enums';
1
+ import { Meeting as ApiMeeting } from "../_internal/objects";
2
+ import { AnswerInterface, AnswersInterface, AttachmentInterface, HostDetailsInterface } from "../_internal/interfaces";
3
+ import { TeamEventMeetingType } from "../_internal/enums";
4
4
  export interface Attendee {
5
5
  firstName: string;
6
6
  lastName: string;
@@ -10,7 +10,7 @@ export interface Attendee {
10
10
  isPrimary: boolean;
11
11
  }
12
12
  export type MeetingFormAnswer = Required<AnswerInterface>;
13
- export type MeetingForm = Required<Omit<AnswersInterface, 'formAnswers'>> & {
13
+ export type MeetingForm = Required<Omit<AnswersInterface, "formAnswers">> & {
14
14
  formAnswers: MeetingFormAnswer[];
15
15
  };
16
16
  export declare enum WellKnownMeetingMetadataKeys {
@@ -47,6 +47,11 @@ export interface Meeting {
47
47
  calendarId: string;
48
48
  hostDetails: HostDetailsInterface[];
49
49
  meetingType: TeamEventMeetingType;
50
+ sessionTitle: string;
51
+ sessionRegistrationUrl: string;
52
+ maxAttendeeCount: number;
53
+ registeredAttendeeCount: number;
54
+ registrationCutoff: string;
50
55
  }
51
56
  export declare function meetingFromApi(meetingApi: ApiMeeting): Meeting;
52
57
  export declare function answersFromAPI(formAnswers: AnswersInterface): MeetingForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"