@vendasta/meetings 1.4.5 → 1.4.7
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/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +7 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-type.mjs +7 -1
- package/esm2020/lib/_internal/objects/shared.mjs +33 -1
- package/esm2020/lib/index.mjs +2 -2
- package/esm2020/lib/shared/meeting-type.mjs +5 -3
- package/fesm2015/vendasta-meetings.mjs +48 -2
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +48 -2
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/meeting-type.enum.d.ts +5 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +1 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +6 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/meeting-type.d.ts +1 -0
- package/lib/_internal/objects/shared.d.ts +9 -0
- package/lib/index.d.ts +1 -1
- package/lib/shared/meeting-type.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { CalendarSource, MeetingSource, MeetingSourceStatus, } from './meeting-source.enum';
|
|
2
2
|
export { ZoomApprovalType, ZoomMeetingRecurrenceType, ZoomMeetingType, ZoomMonthlyWeek, ZoomMonthlyWeekDay, ZoomRegistrationType, ZoomWeeklyDay, } from './zoom.enum';
|
|
3
3
|
export { CalendarType, FormFieldType, OnBoardingState, } from './shared.enum';
|
|
4
|
-
export { DateRangeType, MeetingLocationType, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, } from './meeting-type.enum';
|
|
4
|
+
export { DateRangeType, MeetingLocationType, NotificationType, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, } from './meeting-type.enum';
|
|
5
5
|
export { BookingFailureReason, Recurrence, RegistrationMode, Weekday, } from './meeting-host.enum';
|
|
6
6
|
export { DayOfWeek, } from './dayofweek.enum';
|
|
@@ -7,6 +7,11 @@ export declare enum MeetingLocationType {
|
|
|
7
7
|
IN_PERSON_USER_SITE = 1,
|
|
8
8
|
IN_PERSON_CLIENT_SITE = 2
|
|
9
9
|
}
|
|
10
|
+
export declare enum NotificationType {
|
|
11
|
+
EMAIL = 0,
|
|
12
|
+
SMS = 1,
|
|
13
|
+
BOTH = 2
|
|
14
|
+
}
|
|
10
15
|
export declare enum RegistrationCutOffUnit {
|
|
11
16
|
REGISTRATION_CUTOFF_DAYS = 0,
|
|
12
17
|
REGISTRATION_CUTOFF_HOURS = 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
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, GoogleMeetListMeetingsRequestInterface, GoogleMeetListMeetingsResponseInterface, GoogleMeetMeetingInterface, GoogleMeetMeetingAttendeeInterface, GoogleMeetMeetingCreatorInterface, GoogleMeetMeetingDateTimeInterface, GoogleMeetMeetingOrganizerInterface, GoogleMeetMeetingReminderInterface, GoogleMeetMeetingRemindersInterface, } from './google-meet.interface';
|
|
4
|
-
export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInterface, AttachmentInterface, AttendeeInterface, CalendarInterface, ContactInterface, EmailsToDeleteInterface, HostInterface, HostOrderDetailsInterface, HostUserInterface, IsoDateTimeRangeInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, PreferencesInterface, TimeRangeInterface, } from './shared.interface';
|
|
4
|
+
export { AnswerInterface, AnswersInterface, CalendarApplicationContextEntryInterface, AttachmentInterface, AttendeeInterface, CalendarInterface, ContactInterface, EmailsToDeleteInterface, HostInterface, HostOrderDetailsInterface, HostUserInterface, IsoDateTimeRangeInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, PhoneFieldsInterface, PreferencesInterface, TimeRangeInterface, } from './shared.interface';
|
|
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';
|
|
@@ -50,6 +50,7 @@ export interface MeetingTypeInterface {
|
|
|
50
50
|
hostOrderDetails?: HostOrderDetailsInterface[];
|
|
51
51
|
isEmailRequired?: boolean;
|
|
52
52
|
isPhoneNumberRequired?: boolean;
|
|
53
|
+
notificationType?: e.NotificationType;
|
|
53
54
|
}
|
|
54
55
|
export interface RegistrationCutOffInterface {
|
|
55
56
|
unit?: e.RegistrationCutOffUnit;
|
|
@@ -49,6 +49,7 @@ export interface ContactInterface {
|
|
|
49
49
|
email?: string;
|
|
50
50
|
timeZone?: TimeZoneInterface;
|
|
51
51
|
isPrimary?: boolean;
|
|
52
|
+
phoneFields?: PhoneFieldsInterface;
|
|
52
53
|
}
|
|
53
54
|
export interface EmailsToDeleteInterface {
|
|
54
55
|
id?: string;
|
|
@@ -82,6 +83,11 @@ export interface PagedResponseMetadataInterface {
|
|
|
82
83
|
nextCursor?: string;
|
|
83
84
|
hasMore?: boolean;
|
|
84
85
|
}
|
|
86
|
+
export interface PhoneFieldsInterface {
|
|
87
|
+
countryCode?: string;
|
|
88
|
+
nationalNumber?: string;
|
|
89
|
+
extension?: string;
|
|
90
|
+
}
|
|
85
91
|
export interface PreferencesInterface {
|
|
86
92
|
timezone?: TimeZoneInterface;
|
|
87
93
|
meetingIntegration?: e.MeetingSource;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, GoogleMeetListMeetingsRequest, GoogleMeetListMeetingsResponse, GoogleMeetMeeting, GoogleMeetMeetingAttendee, GoogleMeetMeetingCreator, GoogleMeetMeetingDateTime, GoogleMeetMeetingOrganizer, GoogleMeetMeetingReminder, GoogleMeetMeetingReminders, } from './google-meet';
|
|
4
|
-
export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee, Calendar, Contact, EmailsToDelete, Host, HostOrderDetails, HostUser, IsoDateTimeRange, PagedRequestOptions, PagedResponseMetadata, Preferences, TimeRange, } from './shared';
|
|
4
|
+
export { Answer, Answers, CalendarApplicationContextEntry, Attachment, Attendee, Calendar, Contact, EmailsToDelete, Host, HostOrderDetails, HostUser, IsoDateTimeRange, PagedRequestOptions, PagedResponseMetadata, PhoneFields, Preferences, TimeRange, } from './shared';
|
|
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';
|
|
@@ -61,6 +61,7 @@ export declare class MeetingType implements i.MeetingTypeInterface {
|
|
|
61
61
|
hostOrderDetails: HostOrderDetails[];
|
|
62
62
|
isEmailRequired: boolean;
|
|
63
63
|
isPhoneNumberRequired: boolean;
|
|
64
|
+
notificationType: e.NotificationType;
|
|
64
65
|
static fromProto(proto: any): MeetingType;
|
|
65
66
|
constructor(kwargs?: i.MeetingTypeInterface);
|
|
66
67
|
toApiJson(): object;
|
|
@@ -69,6 +69,7 @@ export declare class Contact implements i.ContactInterface {
|
|
|
69
69
|
email: string;
|
|
70
70
|
timeZone: TimeZone;
|
|
71
71
|
isPrimary: boolean;
|
|
72
|
+
phoneFields: PhoneFields;
|
|
72
73
|
static fromProto(proto: any): Contact;
|
|
73
74
|
constructor(kwargs?: i.ContactInterface);
|
|
74
75
|
toApiJson(): object;
|
|
@@ -126,6 +127,14 @@ export declare class PagedResponseMetadata implements i.PagedResponseMetadataInt
|
|
|
126
127
|
constructor(kwargs?: i.PagedResponseMetadataInterface);
|
|
127
128
|
toApiJson(): object;
|
|
128
129
|
}
|
|
130
|
+
export declare class PhoneFields implements i.PhoneFieldsInterface {
|
|
131
|
+
countryCode: string;
|
|
132
|
+
nationalNumber: string;
|
|
133
|
+
extension: string;
|
|
134
|
+
static fromProto(proto: any): PhoneFields;
|
|
135
|
+
constructor(kwargs?: i.PhoneFieldsInterface);
|
|
136
|
+
toApiJson(): object;
|
|
137
|
+
}
|
|
129
138
|
export declare class Preferences implements i.PreferencesInterface {
|
|
130
139
|
timezone: TimeZone;
|
|
131
140
|
meetingIntegration: e.MeetingSource;
|
package/lib/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { BookedMeetingInfo, BookMeetingResponse, GuestServiceInterface } from '.
|
|
|
3
3
|
export { GuestService } from './guest/guest.service';
|
|
4
4
|
export { HostService } from './host/host.service';
|
|
5
5
|
export { addMetadataToBookingLink } from './host/url';
|
|
6
|
-
export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, MeetingLocationType, CalendarSource, RelativeTimeUnit, DateRangeType, TeamEventMeetingType, OnBoardingState, RegistrationCutOffUnit } from './_internal/enums/index';
|
|
6
|
+
export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, MeetingLocationType, CalendarSource, RelativeTimeUnit, DateRangeType, TeamEventMeetingType, OnBoardingState, RegistrationCutOffUnit, NotificationType } from './_internal/enums/index';
|
|
7
7
|
export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, } from './_internal/objects/index';
|
|
8
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, EntityAssociations, } 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, EventTypeDateRangeInterface, DateRangeInterface, RelativeDateRangeInterface, } from './_internal/interfaces/index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventTypeDateRangeInterface, FieldInterface, FormInterface, HostOrderDetailsInterface, HostUserInterface, MeetingTypeInterface as ApiMeetingType, RegistrationCutOffInterface } from "../_internal/interfaces";
|
|
2
|
-
import { MeetingLocationType, TeamEventMeetingType } from "../_internal/enums";
|
|
2
|
+
import { MeetingLocationType, NotificationType, TeamEventMeetingType } from "../_internal/enums";
|
|
3
3
|
import { Environment } from "./environment";
|
|
4
4
|
export interface MeetingType {
|
|
5
5
|
id: string;
|
|
@@ -38,6 +38,7 @@ export interface MeetingType {
|
|
|
38
38
|
hostOrderDetails?: HostOrderDetailsInterface[];
|
|
39
39
|
isEmailRequired?: boolean;
|
|
40
40
|
isPhoneNumberRequired?: boolean;
|
|
41
|
+
notificationType?: NotificationType;
|
|
41
42
|
}
|
|
42
43
|
export type MeetingTypeFormField = Required<FieldInterface>;
|
|
43
44
|
export type MeetingTypeForm = Required<Omit<FormInterface, "fields">> & {
|