@vendasta/meetings 1.5.1 → 1.5.6

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 (47) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +2 -1
  2. package/esm2020/lib/_internal/enums/meeting-guest.enum.mjs +11 -0
  3. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  4. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -7
  6. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/meeting-external.api.service.mjs +38 -8
  10. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +14 -8
  11. package/esm2020/lib/_internal/meeting-host.api.service.mjs +14 -8
  12. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  13. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  14. package/esm2020/lib/_internal/objects/meeting-external.mjs +577 -1
  15. package/esm2020/lib/_internal/objects/meeting-guest.mjs +54 -5
  16. package/esm2020/lib/_internal/objects/meeting-host.mjs +55 -12
  17. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  18. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  19. package/esm2020/lib/guest/guest.service.mjs +4 -1
  20. package/esm2020/lib/host/host.service.mjs +6 -1
  21. package/esm2020/lib/index.mjs +3 -3
  22. package/fesm2015/vendasta-meetings.mjs +941 -219
  23. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  24. package/fesm2020/vendasta-meetings.mjs +941 -219
  25. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  26. package/lib/_internal/enums/index.d.ts +1 -0
  27. package/lib/_internal/enums/meeting-guest.enum.d.ts +3 -0
  28. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  29. package/lib/_internal/interfaces/index.d.ts +3 -3
  30. package/lib/_internal/interfaces/meeting-external.interface.d.ts +120 -0
  31. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +10 -1
  32. package/lib/_internal/interfaces/meeting-host.interface.d.ts +13 -6
  33. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  34. package/lib/_internal/meeting-external.api.service.d.ts +13 -4
  35. package/lib/_internal/meeting-guest.api.service.d.ts +8 -5
  36. package/lib/_internal/meeting-host.api.service.d.ts +8 -5
  37. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  38. package/lib/_internal/objects/index.d.ts +3 -3
  39. package/lib/_internal/objects/meeting-external.d.ts +162 -0
  40. package/lib/_internal/objects/meeting-guest.d.ts +15 -1
  41. package/lib/_internal/objects/meeting-host.d.ts +27 -14
  42. package/lib/_internal/objects/shared.d.ts +2 -1
  43. package/lib/_internal/zoom.api.service.d.ts +5 -2
  44. package/lib/guest/guest.service.d.ts +6 -1
  45. package/lib/host/host.service.d.ts +4 -0
  46. package/lib/index.d.ts +3 -3
  47. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { Contact, Answers, Calendar, Host, HostUser, IsoDateTimeRange } from './
3
3
  import { DateRange } from './date-range';
4
4
  import { Group, Service } from './groups-and-services';
5
5
  import { MeetingType, Form } from './meeting-type';
6
- import { TimeZone } from './';
6
+ import { TimeZone } from './datetime';
7
7
  import * as e from '../enums';
8
8
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
9
9
  export declare class BookMeetingRequest implements i.BookMeetingRequestInterface {
@@ -32,6 +32,20 @@ export declare class BookMeetingResponse implements i.BookMeetingResponseInterfa
32
32
  constructor(kwargs?: i.BookMeetingResponseInterface);
33
33
  toApiJson(): object;
34
34
  }
35
+ export declare class CheckFeatureFlagRequest implements i.CheckFeatureFlagRequestInterface {
36
+ fieldType: e.FeatureFlagFieldType;
37
+ fieldValue: string;
38
+ featureFlagKey: string;
39
+ static fromProto(proto: any): CheckFeatureFlagRequest;
40
+ constructor(kwargs?: i.CheckFeatureFlagRequestInterface);
41
+ toApiJson(): object;
42
+ }
43
+ export declare class CheckFeatureFlagResponse implements i.CheckFeatureFlagResponseInterface {
44
+ isEnabled: boolean;
45
+ static fromProto(proto: any): CheckFeatureFlagResponse;
46
+ constructor(kwargs?: i.CheckFeatureFlagResponseInterface);
47
+ toApiJson(): object;
48
+ }
35
49
  export declare class GetCalendarRequest implements i.GetCalendarRequestInterface {
36
50
  calendarId: string;
37
51
  static fromProto(proto: any): GetCalendarRequest;
@@ -4,9 +4,16 @@ import { FieldMask } from './field-mask';
4
4
  import { Group, Service } from './groups-and-services';
5
5
  import { MeetingType, RegistrationCutOff } from './meeting-type';
6
6
  import { TimeRange, Calendar, Preferences, HostUser, Contact, EmailsToDelete, PagedRequestOptions, PagedResponseMetadata, IsoDateTimeRange, Attendee, Answers, Attachment } from './shared';
7
- import { TimeZone } from './';
7
+ import { TimeZone } from './datetime';
8
8
  import * as e from '../enums';
9
9
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
10
+ export declare class BuildHostIdRequestApplicationContextPropertiesEntry implements i.BuildHostIdRequestApplicationContextPropertiesEntryInterface {
11
+ key: string;
12
+ value: string;
13
+ static fromProto(proto: any): BuildHostIdRequestApplicationContextPropertiesEntry;
14
+ constructor(kwargs?: i.BuildHostIdRequestApplicationContextPropertiesEntryInterface);
15
+ toApiJson(): object;
16
+ }
10
17
  export declare class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
11
18
  key: string;
12
19
  value: string;
@@ -21,13 +28,6 @@ export declare class IsCalendarConfiguredRequestApplicationContextPropertiesEntr
21
28
  constructor(kwargs?: i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface);
22
29
  toApiJson(): object;
23
30
  }
24
- export declare class BuildHostIdRequestApplicationContextPropertiesEntry implements i.BuildHostIdRequestApplicationContextPropertiesEntryInterface {
25
- key: string;
26
- value: string;
27
- static fromProto(proto: any): BuildHostIdRequestApplicationContextPropertiesEntry;
28
- constructor(kwargs?: i.BuildHostIdRequestApplicationContextPropertiesEntryInterface);
29
- toApiJson(): object;
30
- }
31
31
  export declare class AvailabilityRule implements i.AvailabilityRuleInterface {
32
32
  hostId: string;
33
33
  meetingTypeId: string;
@@ -81,6 +81,19 @@ export declare class CancelMeetingRequest implements i.CancelMeetingRequestInter
81
81
  constructor(kwargs?: i.CancelMeetingRequestInterface);
82
82
  toApiJson(): object;
83
83
  }
84
+ export declare class CheckEventTypeSlugExistRequest implements i.CheckEventTypeSlugExistRequestInterface {
85
+ calendarId: string;
86
+ slugIdentifier: string;
87
+ static fromProto(proto: any): CheckEventTypeSlugExistRequest;
88
+ constructor(kwargs?: i.CheckEventTypeSlugExistRequestInterface);
89
+ toApiJson(): object;
90
+ }
91
+ export declare class CheckEventTypeSlugExistResponse implements i.CheckEventTypeSlugExistResponseInterface {
92
+ exists: boolean;
93
+ static fromProto(proto: any): CheckEventTypeSlugExistResponse;
94
+ constructor(kwargs?: i.CheckEventTypeSlugExistResponseInterface);
95
+ toApiJson(): object;
96
+ }
84
97
  export declare class CheckGroupOrServiceSlugExistRequest implements i.CheckGroupOrServiceSlugExistRequestInterface {
85
98
  hostId: string;
86
99
  slugIdentifier: string;
@@ -595,18 +608,18 @@ export declare class MeetingTypeList implements i.MeetingTypeListInterface {
595
608
  constructor(kwargs?: i.MeetingTypeListInterface);
596
609
  toApiJson(): object;
597
610
  }
598
- export declare class MeetingMetadataEntry implements i.MeetingMetadataEntryInterface {
611
+ export declare class UpdateMeetingMetadataRequestMetadataEntry implements i.UpdateMeetingMetadataRequestMetadataEntryInterface {
599
612
  key: string;
600
613
  value: string;
601
- static fromProto(proto: any): MeetingMetadataEntry;
602
- constructor(kwargs?: i.MeetingMetadataEntryInterface);
614
+ static fromProto(proto: any): UpdateMeetingMetadataRequestMetadataEntry;
615
+ constructor(kwargs?: i.UpdateMeetingMetadataRequestMetadataEntryInterface);
603
616
  toApiJson(): object;
604
617
  }
605
- export declare class UpdateMeetingMetadataRequestMetadataEntry implements i.UpdateMeetingMetadataRequestMetadataEntryInterface {
618
+ export declare class MeetingMetadataEntry implements i.MeetingMetadataEntryInterface {
606
619
  key: string;
607
620
  value: string;
608
- static fromProto(proto: any): UpdateMeetingMetadataRequestMetadataEntry;
609
- constructor(kwargs?: i.UpdateMeetingMetadataRequestMetadataEntryInterface);
621
+ static fromProto(proto: any): MeetingMetadataEntry;
622
+ constructor(kwargs?: i.MeetingMetadataEntryInterface);
610
623
  toApiJson(): object;
611
624
  }
612
625
  export declare class RecurrenceConfig implements i.RecurrenceConfigInterface {
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
- import { TimeZone, TimeOfDay } from './';
2
+ import { TimeOfDay } from './timeofday';
3
+ import { TimeZone } from './datetime';
3
4
  import * as e from '../enums';
4
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
5
6
  export declare class Answer implements i.AnswerInterface {
@@ -1,11 +1,14 @@
1
1
  import { CreateZoomMeetingRequest, CreateZoomMeetingResponse } from './objects/';
2
2
  import { CreateZoomMeetingRequestInterface } from './interfaces/';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
3
5
  import { Observable } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class ZoomApiService {
6
- private readonly hostService;
7
- private readonly http;
8
+ private http;
9
+ private hostService;
8
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
9
12
  private apiOptions;
10
13
  createMeeting(r: CreateZoomMeetingRequest | CreateZoomMeetingRequestInterface): Observable<CreateZoomMeetingResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ZoomApiService, never>;
@@ -1,4 +1,4 @@
1
- import { CalendarInterface, Contact, GetGroupResponse, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource } from '../_internal';
1
+ import { CalendarInterface, Contact, GetGroupResponse, GetSessionMeetingResponse, MeetingGuestApiService, MeetingLocationType, TeamEventMeetingType, TimeZoneInterface, ContactInterface, AnswersInterface, GetSessionInviteeMeetingInfoResponse, GuestGetBookedMeetingResponseV2, BookingSource, CheckFeatureFlagResponse, FeatureFlagFieldType } 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";
@@ -137,6 +137,11 @@ export declare class GuestService implements GuestServiceInterface {
137
137
  cancellationReason: string;
138
138
  }): Observable<null>;
139
139
  getMeetingCalendarInfo(req: GetMeetingCalendarInfoRequest): Observable<GetMeetingCalendarInfoResponse>;
140
+ checkFeatureFlag(req: {
141
+ fieldType: FeatureFlagFieldType;
142
+ fieldValue: string;
143
+ featureFlagKey: string;
144
+ }): Observable<CheckFeatureFlagResponse>;
140
145
  static ɵfac: i0.ɵɵFactoryDeclaration<GuestService, never>;
141
146
  static ɵprov: i0.ɵɵInjectableDeclaration<GuestService>;
142
147
  }
@@ -199,6 +199,10 @@ export declare class HostService {
199
199
  slugIdentifier: string;
200
200
  category: string;
201
201
  }): Observable<boolean>;
202
+ checkEventTypeSlugExist(req: {
203
+ calendarId: string;
204
+ slugIdentifier: string;
205
+ }): Observable<boolean>;
202
206
  getEntityAssociations(req: {
203
207
  entityId: string;
204
208
  }): Observable<EntityAssociations>;
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, MeetingLocation, MeetingLocationType, CalendarSource, RelativeTimeUnit, DateRangeType, TeamEventMeetingType, OnBoardingState, RegistrationCutOffUnit, NotificationType, BookingSource } from './_internal/enums/index';
7
- export { MeetingSourceQuery, MeetingSourceInfo, MeetingSourceListResponse, Contact, WeekdayAvailability, CreateCalendarRequest, CreateCalendarResponse, } from './_internal/objects/index';
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';
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, } 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, } from './_internal/interfaces/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.5.1",
3
+ "version": "1.5.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"