@vendasta/meetings 1.6.0 → 1.6.3

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 (44) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +2 -2
  2. package/esm2020/lib/_internal/google-meet.api.service.mjs +7 -8
  3. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/meeting-external.api.service.mjs +7 -8
  9. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -8
  10. package/esm2020/lib/_internal/meeting-host.api.service.mjs +13 -9
  11. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +7 -8
  12. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  13. package/esm2020/lib/_internal/objects/meeting-external.mjs +25 -72
  14. package/esm2020/lib/_internal/objects/meeting-guest.mjs +7 -3
  15. package/esm2020/lib/_internal/objects/meeting-host.mjs +89 -12
  16. package/esm2020/lib/_internal/objects/shared.mjs +5 -3
  17. package/esm2020/lib/_internal/zoom.api.service.mjs +7 -8
  18. package/esm2020/lib/guest/guest.service.mjs +1 -1
  19. package/esm2020/lib/host/host.service.mjs +27 -2
  20. package/esm2020/lib/shared/calendar.mjs +2 -1
  21. package/fesm2015/vendasta-meetings.mjs +347 -283
  22. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  23. package/fesm2020/vendasta-meetings.mjs +347 -283
  24. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  25. package/lib/_internal/enums/index.d.ts +1 -1
  26. package/lib/_internal/google-meet.api.service.d.ts +2 -5
  27. package/lib/_internal/interfaces/index.d.ts +3 -3
  28. package/lib/_internal/interfaces/meeting-external.interface.d.ts +14 -25
  29. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +4 -2
  30. package/lib/_internal/interfaces/meeting-host.interface.d.ts +20 -7
  31. package/lib/_internal/interfaces/shared.interface.d.ts +2 -2
  32. package/lib/_internal/meeting-external.api.service.d.ts +3 -5
  33. package/lib/_internal/meeting-guest.api.service.d.ts +3 -5
  34. package/lib/_internal/meeting-host.api.service.d.ts +6 -7
  35. package/lib/_internal/meeting-source-api.api.service.d.ts +2 -5
  36. package/lib/_internal/objects/index.d.ts +3 -3
  37. package/lib/_internal/objects/meeting-external.d.ts +14 -25
  38. package/lib/_internal/objects/meeting-guest.d.ts +4 -2
  39. package/lib/_internal/objects/meeting-host.d.ts +30 -11
  40. package/lib/_internal/objects/shared.d.ts +2 -2
  41. package/lib/_internal/zoom.api.service.d.ts +2 -5
  42. package/lib/guest/guest.service.d.ts +1 -0
  43. package/lib/host/host.service.d.ts +7 -0
  44. package/package.json +1 -1
@@ -1,19 +1,13 @@
1
1
  import * as i from '../interfaces';
2
+ import { Contact } from './shared';
2
3
  import { DateRange } from './date-range';
3
4
  import { FieldMask } from './field-mask';
4
5
  import { Group, Service } from './groups-and-services';
5
- import { MeetingType, RegistrationCutOff } from './meeting-type';
6
- import { TimeRange, Calendar, Preferences, HostUser, Contact, EmailsToDelete, PagedRequestOptions, PagedResponseMetadata, IsoDateTimeRange, Attendee, Answers, Attachment } from './shared';
7
- import { TimeZone } from './datetime';
6
+ import { MeetingType, EventTypeDateRange, RegistrationCutOff } from './meeting-type';
7
+ import { TimeRange, Calendar, HostUser, Preferences, EmailsToDelete, PagedRequestOptions, PagedResponseMetadata, IsoDateTimeRange, Attendee, Answers, Attachment } from './shared';
8
+ import { TimeZone } from './';
8
9
  import * as e from '../enums';
9
10
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
10
- export declare class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
11
- key: string;
12
- value: string;
13
- static fromProto(proto: any): EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry;
14
- constructor(kwargs?: i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface);
15
- toApiJson(): object;
16
- }
17
11
  export declare class IsCalendarConfiguredRequestApplicationContextPropertiesEntry implements i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
18
12
  key: string;
19
13
  value: string;
@@ -28,6 +22,13 @@ export declare class BuildHostIdRequestApplicationContextPropertiesEntry impleme
28
22
  constructor(kwargs?: i.BuildHostIdRequestApplicationContextPropertiesEntryInterface);
29
23
  toApiJson(): object;
30
24
  }
25
+ export declare class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
26
+ key: string;
27
+ value: string;
28
+ static fromProto(proto: any): EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry;
29
+ constructor(kwargs?: i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface);
30
+ toApiJson(): object;
31
+ }
31
32
  export declare class AvailabilityRule implements i.AvailabilityRuleInterface {
32
33
  hostId: string;
33
34
  meetingTypeId: string;
@@ -263,9 +264,15 @@ export declare class EventTypeSummary implements i.EventTypeSummaryInterface {
263
264
  bookingUrl: string;
264
265
  isPinned: boolean;
265
266
  location: string;
266
- category: string;
267
+ calendarType: e.CalendarType;
267
268
  teamName: string;
268
269
  calendarId: string;
270
+ locationType: e.MeetingLocationType;
271
+ meetingType: e.TeamEventMeetingType;
272
+ hostUsers: HostUser[];
273
+ dateRange: EventTypeDateRange;
274
+ locationGuidelines: string;
275
+ description: string;
269
276
  static fromProto(proto: any): EventTypeSummary;
270
277
  constructor(kwargs?: i.EventTypeSummaryInterface);
271
278
  toApiJson(): object;
@@ -298,6 +305,18 @@ export declare class GetEntityAssociationResponse implements i.GetEntityAssociat
298
305
  constructor(kwargs?: i.GetEntityAssociationResponseInterface);
299
306
  toApiJson(): object;
300
307
  }
308
+ export declare class GetEventTypeByIdRequest implements i.GetEventTypeByIdRequestInterface {
309
+ eventTypeId: string;
310
+ static fromProto(proto: any): GetEventTypeByIdRequest;
311
+ constructor(kwargs?: i.GetEventTypeByIdRequestInterface);
312
+ toApiJson(): object;
313
+ }
314
+ export declare class GetEventTypeByIdResponse implements i.GetEventTypeByIdResponseInterface {
315
+ meetingType: MeetingType;
316
+ static fromProto(proto: any): GetEventTypeByIdResponse;
317
+ constructor(kwargs?: i.GetEventTypeByIdResponseInterface);
318
+ toApiJson(): object;
319
+ }
301
320
  export declare class GetHostMeetingRequest implements i.GetHostMeetingRequestInterface {
302
321
  meetingId: string;
303
322
  location: string;
@@ -1,6 +1,5 @@
1
1
  import * as i from '../interfaces';
2
- import { TimeOfDay } from './timeofday';
3
- import { TimeZone } from './datetime';
2
+ import { TimeZone, TimeOfDay } from './';
4
3
  import * as e from '../enums';
5
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
6
5
  export declare class Answer implements i.AnswerInterface {
@@ -59,6 +58,7 @@ export declare class Calendar implements i.CalendarInterface {
59
58
  };
60
59
  calendarType: e.CalendarType;
61
60
  encodedApplicationContext: string;
61
+ businessName: string;
62
62
  static fromProto(proto: any): Calendar;
63
63
  constructor(kwargs?: i.CalendarInterface);
64
64
  toApiJson(): object;
@@ -1,14 +1,11 @@
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';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class ZoomApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  createMeeting(r: CreateZoomMeetingRequest | CreateZoomMeetingRequestInterface): Observable<CreateZoomMeetingResponse>;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ZoomApiService, never>;
@@ -84,6 +84,7 @@ export declare class GuestService implements GuestServiceInterface {
84
84
  location?: string;
85
85
  userId?: string;
86
86
  bookingSource?: BookingSource;
87
+ hasSmsConsent?: boolean;
87
88
  }): Observable<BookMeetingResponse>;
88
89
  cancelMeeting(req: {
89
90
  authToken: string;
@@ -41,6 +41,13 @@ export declare class HostService {
41
41
  };
42
42
  calendarSlug?: string;
43
43
  }): Observable<MeetingType[]>;
44
+ getEventTypeById(req: {
45
+ eventTypeId: string;
46
+ metadata?: {
47
+ [name: string]: string;
48
+ };
49
+ calendarSlug?: string;
50
+ }): Observable<MeetingType | null>;
44
51
  getBookingUrl(req: {
45
52
  hostId: string;
46
53
  calendarId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "1.6.0",
3
+ "version": "1.6.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"