@vendasta/meetings 1.7.5 → 1.7.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.
Files changed (40) hide show
  1. package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -7
  2. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/objects/annotations.mjs +1 -1
  7. package/esm2020/lib/_internal/objects/date-range.mjs +1 -1
  8. package/esm2020/lib/_internal/objects/field-mask.mjs +1 -1
  9. package/esm2020/lib/_internal/objects/groups-and-services.mjs +15 -1
  10. package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
  11. package/esm2020/lib/_internal/objects/meeting-guest.mjs +14 -8
  12. package/esm2020/lib/_internal/objects/meeting-host.mjs +2 -2
  13. package/esm2020/lib/_internal/objects/meeting-type.mjs +1 -1
  14. package/esm2020/lib/_internal/objects/openapiv2.mjs +1 -1
  15. package/esm2020/lib/_internal/objects/shared.mjs +1 -1
  16. package/esm2020/lib/_internal/objects/zoom.mjs +1 -1
  17. package/esm2020/lib/guest/guest.service.mjs +28 -2
  18. package/esm2020/lib/index.mjs +2 -2
  19. package/fesm2015/vendasta-meetings.mjs +50 -8
  20. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  21. package/fesm2020/vendasta-meetings.mjs +52 -8
  22. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  23. package/lib/_internal/interfaces/groups-and-services.interface.d.ts +4 -0
  24. package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
  25. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +5 -3
  26. package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
  27. package/lib/_internal/objects/annotations.d.ts +1 -1
  28. package/lib/_internal/objects/date-range.d.ts +1 -1
  29. package/lib/_internal/objects/field-mask.d.ts +1 -1
  30. package/lib/_internal/objects/groups-and-services.d.ts +4 -0
  31. package/lib/_internal/objects/meeting-external.d.ts +2 -2
  32. package/lib/_internal/objects/meeting-guest.d.ts +6 -4
  33. package/lib/_internal/objects/meeting-host.d.ts +2 -2
  34. package/lib/_internal/objects/meeting-type.d.ts +1 -1
  35. package/lib/_internal/objects/openapiv2.d.ts +1 -1
  36. package/lib/_internal/objects/shared.d.ts +1 -1
  37. package/lib/_internal/objects/zoom.d.ts +1 -1
  38. package/lib/guest/guest.service.d.ts +34 -1
  39. package/lib/index.d.ts +2 -2
  40. package/package.json +1 -1
@@ -1,3 +1,5 @@
1
+ import { HostUserInterface } from './shared.interface';
2
+ import * as e from '../enums';
1
3
  export interface EventGroupAndServiceAssociationsInterface {
2
4
  id?: string;
3
5
  name?: string;
@@ -10,6 +12,8 @@ export interface EventGroupAndServiceAssociationsInterface {
10
12
  duration?: string;
11
13
  description?: string;
12
14
  bookingUrl?: string;
15
+ hostUsers?: HostUserInterface[];
16
+ teamMeetingType?: e.TeamEventMeetingType;
13
17
  }
14
18
  export interface GroupInterface {
15
19
  id?: string;
@@ -1,8 +1,8 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { ContactInterface } from './openapiv2.interface';
2
3
  import { DateRangeInterface } from './date-range.interface';
3
4
  import { EventTypeDateRangeInterface } from './meeting-type.interface';
4
5
  import { IsoDateTimeRangeInterface, AnswersInterface, HostOrderDetailsInterface } from './shared.interface';
5
- import { TimeZoneInterface } from './';
6
6
  import * as e from '../enums';
7
7
  export interface AvailableTimeSlotsRequestInterface {
8
8
  businessId?: string;
@@ -1,9 +1,9 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { AnswersInterface, CalendarInterface, HostInterface, HostUserInterface, IsoDateTimeRangeInterface, PhoneFieldsInterface } from './shared.interface';
2
3
  import { ContactInterface } from './openapiv2.interface';
3
4
  import { DateRangeInterface } from './date-range.interface';
4
5
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
5
6
  import { MeetingTypeInterface, FormInterface } from './meeting-type.interface';
6
- import { TimeZoneInterface } from './';
7
7
  import * as e from '../enums';
8
8
  export interface BatchBookingTargetInterface {
9
9
  eventTypeId?: string;
@@ -198,6 +198,7 @@ export interface GuestGetBookedMeetingResponseV2Interface {
198
198
  isCancelled?: boolean;
199
199
  bookingGroupId?: string;
200
200
  meetings?: MeetingDetailInterface[];
201
+ primaryAttendeePhone?: string;
201
202
  }
202
203
  export interface GuestIsHostConfiguredRequestInterface {
203
204
  hostId?: string;
@@ -276,12 +277,13 @@ export interface MeetingDetailInterface {
276
277
  rescheduleLink?: string;
277
278
  cancelLink?: string;
278
279
  timeZone?: TimeZoneInterface;
279
- businessLogo?: string;
280
- bookingUrl?: string;
281
280
  previousStartTime?: Date;
282
281
  previousEndTime?: Date;
283
282
  isCancelled?: boolean;
284
283
  order?: number;
284
+ eventTypeId?: string;
285
+ userId?: string;
286
+ locationGuideline?: string;
285
287
  }
286
288
  export interface MeetingSummaryInterface {
287
289
  id?: string;
@@ -1,10 +1,10 @@
1
+ import { TimeZoneInterface } from './';
1
2
  import { ContactInterface } from './shared.interface';
2
3
  import { DateRangeInterface } from './date-range.interface';
3
4
  import { FieldMaskInterface } from './field-mask.interface';
4
5
  import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
5
6
  import { MeetingTypeInterface, EventTypeDateRangeInterface, RegistrationCutOffInterface, BookingEventForAIInterface } from './meeting-type.interface';
6
7
  import { TimeRangeInterface, CalendarInterface, HostUserInterface, PreferencesInterface, EmailsToDeleteInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, IsoDateTimeRangeInterface, AttendeeInterface, AnswersInterface, AttachmentInterface } from './shared.interface';
7
- import { TimeZoneInterface } from './';
8
8
  import * as e from '../enums';
9
9
  export interface IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
10
10
  key?: string;
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/annotations.interface';
2
2
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
3
  export declare class Access implements i.AccessInterface {
4
4
  scope: string[];
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/date-range.interface';
2
2
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
3
  export declare class DateRange implements i.DateRangeInterface {
4
4
  start: Date;
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/field-mask.interface';
2
2
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
3
  export declare class FieldMask implements i.FieldMaskInterface {
4
4
  paths: string[];
@@ -1,4 +1,6 @@
1
1
  import * as i from '../interfaces';
2
+ import { HostUser } from './shared';
3
+ import * as e from '../enums';
2
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
5
  export declare class EventGroupAndServiceAssociations implements i.EventGroupAndServiceAssociationsInterface {
4
6
  id: string;
@@ -12,6 +14,8 @@ export declare class EventGroupAndServiceAssociations implements i.EventGroupAnd
12
14
  duration: string;
13
15
  description: string;
14
16
  bookingUrl: string;
17
+ hostUsers: HostUser[];
18
+ teamMeetingType: e.TeamEventMeetingType;
15
19
  static fromProto(proto: any): EventGroupAndServiceAssociations;
16
20
  constructor(kwargs?: i.EventGroupAndServiceAssociationsInterface);
17
21
  toApiJson(): object;
@@ -1,9 +1,9 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/meeting-external.interface';
2
+ import { TimeZone } from './';
2
3
  import { Contact } from './openapiv2';
3
4
  import { DateRange } from './date-range';
4
5
  import { EventTypeDateRange } from './meeting-type';
5
6
  import { IsoDateTimeRange, Answers, HostOrderDetails } from './shared';
6
- import { TimeZone } from './';
7
7
  import * as e from '../enums';
8
8
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
9
9
  export declare class AvailableTimeSlotsRequest implements i.AvailableTimeSlotsRequestInterface {
@@ -1,10 +1,10 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/meeting-guest.interface';
2
+ import { TimeZone } from './';
2
3
  import { Answers, Calendar, Host, HostUser, IsoDateTimeRange, PhoneFields } from './shared';
3
4
  import { Contact } from './openapiv2';
4
5
  import { DateRange } from './date-range';
5
6
  import { Group, Service } from './groups-and-services';
6
7
  import { MeetingType, Form } from './meeting-type';
7
- import { TimeZone } from './';
8
8
  import * as e from '../enums';
9
9
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
10
10
  export declare class BatchBookingTarget implements i.BatchBookingTargetInterface {
@@ -293,6 +293,7 @@ export declare class GuestGetBookedMeetingResponseV2 implements i.GuestGetBooked
293
293
  isCancelled: boolean;
294
294
  bookingGroupId: string;
295
295
  meetings: MeetingDetail[];
296
+ primaryAttendeePhone: string;
296
297
  static fromProto(proto: any): GuestGetBookedMeetingResponseV2;
297
298
  constructor(kwargs?: i.GuestGetBookedMeetingResponseV2Interface);
298
299
  toApiJson(): object;
@@ -413,12 +414,13 @@ export declare class MeetingDetail implements i.MeetingDetailInterface {
413
414
  rescheduleLink: string;
414
415
  cancelLink: string;
415
416
  timeZone: TimeZone;
416
- businessLogo: string;
417
- bookingUrl: string;
418
417
  previousStartTime: Date;
419
418
  previousEndTime: Date;
420
419
  isCancelled: boolean;
421
420
  order: number;
421
+ eventTypeId: string;
422
+ userId: string;
423
+ locationGuideline: string;
422
424
  static fromProto(proto: any): MeetingDetail;
423
425
  constructor(kwargs?: i.MeetingDetailInterface);
424
426
  toApiJson(): object;
@@ -1,11 +1,11 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/meeting-host.interface';
2
+ import { TimeZone } from './';
2
3
  import { Contact } from './shared';
3
4
  import { DateRange } from './date-range';
4
5
  import { FieldMask } from './field-mask';
5
6
  import { Group, Service } from './groups-and-services';
6
7
  import { MeetingType, EventTypeDateRange, RegistrationCutOff, BookingEventForAI } from './meeting-type';
7
8
  import { TimeRange, Calendar, HostUser, Preferences, EmailsToDelete, PagedRequestOptions, PagedResponseMetadata, IsoDateTimeRange, Attendee, Answers, Attachment } from './shared';
8
- import { TimeZone } from './';
9
9
  import * as e from '../enums';
10
10
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
11
11
  export declare class IsCalendarConfiguredRequestApplicationContextPropertiesEntry implements i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/meeting-type.interface';
2
2
  import { DateRange } from './date-range';
3
3
  import { HostUser, HostOrderDetails } from './shared';
4
4
  import * as e from '../enums';
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/openapiv2.interface';
2
2
  import * as e from '../enums';
3
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
4
  export declare class Contact implements i.ContactInterface {
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/shared.interface';
2
2
  import { TimeZone, TimeOfDay } from './';
3
3
  import * as e from '../enums';
4
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
@@ -1,4 +1,4 @@
1
- import * as i from '../interfaces';
1
+ import * as i from '../interfaces/zoom.interface';
2
2
  import * as e from '../enums';
3
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
4
  export declare class CreateZoomMeetingRequest implements i.CreateZoomMeetingRequestInterface {
@@ -1,4 +1,4 @@
1
- import { CalendarInterface, Contact, GetGroupResponse, GetServiceV2Response, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource, CheckFeatureFlagResponse, FeatureFlagFieldType } from "../_internal";
1
+ import { CalendarInterface, Contact, GetGroupResponse, GetServiceV2Response, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource, CheckFeatureFlagResponse, FeatureFlagFieldType, BatchBookingTargetInterface, BatchEventTypeTargetInterface, BookBatchMeetingResponse, ListGuestBookedMeetingsResponse, PhoneFieldsInterface } 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";
@@ -150,6 +150,39 @@ export declare class GuestService implements GuestServiceInterface {
150
150
  getServiceV2(req: {
151
151
  serviceId: string;
152
152
  }): Observable<GetServiceV2Response>;
153
+ listBatchAvailableTimeSlots(req: {
154
+ targets: BatchEventTypeTargetInterface[];
155
+ timeSpan: TimeSpan;
156
+ timeZone: TimeZoneInterface;
157
+ }): Observable<TimeSpan[]>;
158
+ bookBatchMeeting(req: {
159
+ targets: BatchBookingTargetInterface[];
160
+ start: Date;
161
+ attendees?: ContactInterface[];
162
+ comment?: string;
163
+ metadata?: {
164
+ [key: string]: string;
165
+ };
166
+ formAnswers?: MeetingForm;
167
+ recaptchaToken: string;
168
+ location?: string;
169
+ bookingSource?: BookingSource;
170
+ bookingOriginId?: string;
171
+ }): Observable<BookBatchMeetingResponse>;
172
+ rescheduleBatchMeeting(req: {
173
+ id: string;
174
+ start: Date;
175
+ timeZone?: TimeZoneInterface;
176
+ location?: string;
177
+ }): Observable<null>;
178
+ listGuestBookedMeetings(req: {
179
+ phoneNumber?: PhoneFieldsInterface;
180
+ email?: string;
181
+ namespace?: string;
182
+ timeSpan?: TimeSpan;
183
+ timeZone?: TimeZoneInterface;
184
+ useIsoDates?: boolean;
185
+ }): Observable<ListGuestBookedMeetingsResponse>;
153
186
  static ɵfac: i0.ɵɵFactoryDeclaration<GuestService, never>;
154
187
  static ɵprov: i0.ɵɵInjectableDeclaration<GuestService>;
155
188
  }
package/lib/index.d.ts CHANGED
@@ -4,6 +4,6 @@ export { GuestService } from './guest/guest.service';
4
4
  export { HostService } from './host/host.service';
5
5
  export { addMetadataToBookingLink } from './host/url';
6
6
  export { MeetingSource, MeetingSourceStatus, DayOfWeek, FormFieldType, CalendarType, MeetingLocation, MeetingLocationType, CalendarSource, RelativeTimeUnit, DateRangeType, TeamEventMeetingType, OnBoardingState, RegistrationCutOffUnit, NotificationType, BookingSource, FeatureFlagFieldType } from './_internal/enums/index';
7
- export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, CheckFeatureFlagRequest, CheckFeatureFlagResponse, } from './_internal/objects/index';
7
+ export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, CheckFeatureFlagRequest, CheckFeatureFlagResponse, GuestGetBookedMeetingResponseV2, GetServiceV2Response, BookBatchMeetingResponse, ListBatchAvailableTimeSlotsResponse, ListGuestBookedMeetingsResponse, MeetingDetail, ServiceEventType, ServiceGroup, } 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
- 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, CheckFeatureFlagRequestInterface, CheckFeatureFlagResponseInterface, CheckEventTypeSlugExistRequestInterface, CheckEventTypeSlugExistResponseInterface, HostBookMeetingRequestInterface, MeetingInterface, PhoneFieldsInterface, AvailabilityRuleListInterface as AvailabilityRuleList, EventTypeSummaryInterface, ListEventTypesForMultipleCalendarsResponseInterface, EmailsToDeleteInterface, GetGroupResponseInterface, GetServiceResponseInterface, IsHostConfiguredResponseInterface, ListAttendeesResponseInterface, RescheduleMeetingRequestInterface, SessionAttendeesInterface, } from './_internal/interfaces/index';
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, CheckFeatureFlagRequestInterface, CheckFeatureFlagResponseInterface, CheckEventTypeSlugExistRequestInterface, CheckEventTypeSlugExistResponseInterface, HostBookMeetingRequestInterface, MeetingInterface, PhoneFieldsInterface, AvailabilityRuleListInterface as AvailabilityRuleList, EventTypeSummaryInterface, ListEventTypesForMultipleCalendarsResponseInterface, EmailsToDeleteInterface, GetGroupResponseInterface, GetServiceResponseInterface, IsHostConfiguredResponseInterface, ListAttendeesResponseInterface, RescheduleMeetingRequestInterface, SessionAttendeesInterface, GuestGetBookedMeetingResponseV2Interface, MeetingDetailInterface, ServiceEventTypeInterface, ServiceGroupInterface, HostUserInterface, BatchBookingTargetInterface, BatchEventTypeTargetInterface, } from './_internal/interfaces/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"