@vendasta/meetings 0.81.0 → 0.81.2

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 (38) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +1 -1
  2. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  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/meeting-type.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  8. package/esm2020/lib/_internal/meeting-host.api.service.mjs +8 -7
  9. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  10. package/esm2020/lib/_internal/objects/meeting-guest.mjs +5 -2
  11. package/esm2020/lib/_internal/objects/meeting-host.mjs +7 -4
  12. package/esm2020/lib/_internal/objects/meeting-type.mjs +10 -1
  13. package/esm2020/lib/_internal/objects/shared.mjs +3 -2
  14. package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
  15. package/esm2020/lib/guest/guest.service.mjs +1 -1
  16. package/esm2020/lib/shared/meeting-type.mjs +9 -3
  17. package/esm2020/lib/shared/meeting.mjs +3 -2
  18. package/fesm2015/vendasta-meetings.mjs +55 -32
  19. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  20. package/fesm2020/vendasta-meetings.mjs +55 -32
  21. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  22. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  23. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +2 -1
  24. package/lib/_internal/interfaces/meeting-host.interface.d.ts +3 -2
  25. package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -0
  26. package/lib/_internal/interfaces/shared.interface.d.ts +2 -1
  27. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  28. package/lib/_internal/meeting-host.api.service.d.ts +5 -3
  29. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  30. package/lib/_internal/objects/meeting-guest.d.ts +2 -1
  31. package/lib/_internal/objects/meeting-host.d.ts +3 -2
  32. package/lib/_internal/objects/meeting-type.d.ts +3 -0
  33. package/lib/_internal/objects/shared.d.ts +2 -1
  34. package/lib/_internal/zoom.api.service.d.ts +5 -2
  35. package/lib/guest/guest.service.d.ts +1 -0
  36. package/lib/shared/meeting-type.d.ts +3 -0
  37. package/lib/shared/meeting.d.ts +1 -0
  38. package/package.json +1 -1
@@ -1,11 +1,14 @@
1
1
  import { GoogleMeetCreateMeetingRequest, GoogleMeetCreateMeetingResponse } from './objects/';
2
2
  import { GoogleMeetCreateMeetingRequestInterface } 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 GoogleMeetApiService {
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: GoogleMeetCreateMeetingRequest | GoogleMeetCreateMeetingRequestInterface): Observable<GoogleMeetCreateMeetingResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<GoogleMeetApiService, never>;
@@ -1,7 +1,7 @@
1
1
  import { ContactInterface, AnswersInterface, CalendarInterface, HostInterface } from './shared.interface';
2
2
  import { DateRangeInterface } from './date-range.interface';
3
3
  import { MeetingTypeInterface } from './meeting-type.interface';
4
- import { TimeZoneInterface } from './';
4
+ import { TimeZoneInterface } from './datetime.interface';
5
5
  export interface BookMeetingRequestInterface {
6
6
  hostId?: string;
7
7
  meetingTypeId?: string;
@@ -14,6 +14,7 @@ export interface BookMeetingRequestInterface {
14
14
  };
15
15
  formAnswers?: AnswersInterface;
16
16
  recaptchaToken?: string;
17
+ location?: string;
17
18
  }
18
19
  export interface BookMeetingResponseInterface {
19
20
  meetingId?: string;
@@ -2,7 +2,7 @@ import { DateRangeInterface } from './date-range.interface';
2
2
  import { FieldMaskInterface } from './field-mask.interface';
3
3
  import { MeetingTypeInterface } from './meeting-type.interface';
4
4
  import { TimeRangeInterface, CalendarInterface, PreferencesInterface, HostUserInterface, ContactInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, AttendeeInterface, AnswersInterface, AttachmentInterface } from './shared.interface';
5
- import { TimeZoneInterface } from './';
5
+ import { TimeZoneInterface } from './datetime.interface';
6
6
  import * as e from '../enums';
7
7
  export interface EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
8
8
  key?: string;
@@ -162,7 +162,7 @@ export interface IsCalendarConfiguredRequestInterface {
162
162
  }
163
163
  export interface IsCalendarConfiguredResponseInterface {
164
164
  isConfigured?: boolean;
165
- calendarId?: string;
165
+ calendarIds?: string[];
166
166
  }
167
167
  export interface IsHostConfiguredRequestInterface {
168
168
  hostId?: string;
@@ -205,6 +205,7 @@ export interface MeetingInterface {
205
205
  [key: string]: string;
206
206
  };
207
207
  attachments?: AttachmentInterface[];
208
+ location?: string;
208
209
  }
209
210
  export interface MeetingTypeListInterface {
210
211
  meetingTypes?: MeetingTypeInterface[];
@@ -24,4 +24,7 @@ export interface MeetingTypeInterface {
24
24
  availabilityIncrement?: number;
25
25
  bufferDurationAfterMeeting?: number;
26
26
  noticeTime?: number;
27
+ location?: string;
28
+ isClientSiteMeeting?: boolean;
29
+ locationGuidelines?: string;
27
30
  }
@@ -1,4 +1,5 @@
1
- import { TimeZoneInterface, TimeOfDayInterface } from './';
1
+ import { TimeOfDayInterface } from './timeofday.interface';
2
+ import { TimeZoneInterface } from './datetime.interface';
2
3
  import * as e from '../enums';
3
4
  export interface AnswerInterface {
4
5
  id?: string;
@@ -1,12 +1,14 @@
1
1
  import { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse } from './objects/';
2
2
  import { BookMeetingRequestInterface, GetCalendarRequestInterface, GetHostRequestInterface, GetMeetingTypeRequestInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestIsHostConfiguredRequestInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListMeetingTypesRequestInterface } from './interfaces/';
3
- import { HttpResponse } from '@angular/common/http';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MeetingGuestApiService {
7
- private readonly hostService;
8
- private readonly http;
8
+ private http;
9
+ private hostService;
9
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
10
12
  private apiOptions;
11
13
  listMeetingTypes(r: ListMeetingTypesRequest | ListMeetingTypesRequestInterface): Observable<ListMeetingTypesResponse>;
12
14
  getMeetingType(r: GetMeetingTypeRequest | GetMeetingTypeRequestInterface): Observable<GetMeetingTypeResponse>;
@@ -1,12 +1,14 @@
1
1
  import { BuildHostIdRequest, BuildHostIdResponse, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateMeetingTypeRequest, CreateMeetingTypeResponse, DeleteAvailabilityRequest, DeleteMeetingTypeRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest } from './objects/';
2
2
  import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateMeetingTypeRequestInterface, DeleteAvailabilityRequestInterface, DeleteMeetingTypeRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, GetHostMeetingRequestInterface, GetHostPreferencesRequestInterface, GetHostsForCalendarRequestInterface, GetMeetingTypesForCalendarsRequestInterface, HostBookMeetingRequestInterface, HostGetCalendarRequestInterface, HostGetMeetingTypeRequestInterface, HostListMeetingTypesRequestInterface, IsCalendarConfiguredRequestInterface, IsHostConfiguredRequestInterface, ListAvailabilityRequestInterface, ListBookedMeetingsRequestInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface } from './interfaces/';
3
- import { HttpResponse } from '@angular/common/http';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
+ import { HostService } from '../_generated/host.service';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MeetingHostApiService {
7
- private readonly hostService;
8
- private readonly http;
8
+ private http;
9
+ private hostService;
9
10
  private _host;
11
+ constructor(http: HttpClient, hostService: HostService);
10
12
  private apiOptions;
11
13
  buildHostId(r: BuildHostIdRequest | BuildHostIdRequestInterface): Observable<BuildHostIdResponse>;
12
14
  doesCalendarExist(r: DoesCalendarExistRequest | DoesCalendarExistRequestInterface): Observable<DoesCalendarExistResponse>;
@@ -1,11 +1,14 @@
1
1
  import { MeetingSourceListRequest, MeetingSourceListResponse } from './objects/';
2
2
  import { MeetingSourceListRequestInterface } 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 MeetingSourceAPIApiService {
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
  list(r: MeetingSourceListRequest | MeetingSourceListRequestInterface): Observable<MeetingSourceListResponse>;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSourceAPIApiService, never>;
@@ -2,7 +2,7 @@ import * as i from '../interfaces';
2
2
  import { Contact, Answers, Calendar, Host } from './shared';
3
3
  import { DateRange } from './date-range';
4
4
  import { MeetingType } from './meeting-type';
5
- import { TimeZone } from './';
5
+ import { TimeZone } from './datetime';
6
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
7
7
  export declare class BookMeetingRequest implements i.BookMeetingRequestInterface {
8
8
  hostId: string;
@@ -16,6 +16,7 @@ export declare class BookMeetingRequest implements i.BookMeetingRequestInterface
16
16
  };
17
17
  formAnswers: Answers;
18
18
  recaptchaToken: string;
19
+ location: string;
19
20
  static fromProto(proto: any): BookMeetingRequest;
20
21
  constructor(kwargs?: i.BookMeetingRequestInterface);
21
22
  toApiJson(): object;
@@ -3,7 +3,7 @@ import { DateRange } from './date-range';
3
3
  import { FieldMask } from './field-mask';
4
4
  import { MeetingType } from './meeting-type';
5
5
  import { TimeRange, Calendar, Preferences, HostUser, Contact, PagedRequestOptions, PagedResponseMetadata, Attendee, Answers, Attachment } from './shared';
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 EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
@@ -290,7 +290,7 @@ export declare class IsCalendarConfiguredRequest implements i.IsCalendarConfigur
290
290
  }
291
291
  export declare class IsCalendarConfiguredResponse implements i.IsCalendarConfiguredResponseInterface {
292
292
  isConfigured: boolean;
293
- calendarId: string;
293
+ calendarIds: string[];
294
294
  static fromProto(proto: any): IsCalendarConfiguredResponse;
295
295
  constructor(kwargs?: i.IsCalendarConfiguredResponseInterface);
296
296
  toApiJson(): object;
@@ -354,6 +354,7 @@ export declare class Meeting implements i.MeetingInterface {
354
354
  [key: string]: string;
355
355
  };
356
356
  attachments: Attachment[];
357
+ location: string;
357
358
  static fromProto(proto: any): Meeting;
358
359
  constructor(kwargs?: i.MeetingInterface);
359
360
  toApiJson(): object;
@@ -32,6 +32,9 @@ export declare class MeetingType implements i.MeetingTypeInterface {
32
32
  availabilityIncrement: number;
33
33
  bufferDurationAfterMeeting: number;
34
34
  noticeTime: number;
35
+ location: string;
36
+ isClientSiteMeeting: boolean;
37
+ locationGuidelines: string;
35
38
  static fromProto(proto: any): MeetingType;
36
39
  constructor(kwargs?: i.MeetingTypeInterface);
37
40
  toApiJson(): object;
@@ -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>;
@@ -61,6 +61,7 @@ export declare class GuestService implements GuestServiceInterface {
61
61
  })[];
62
62
  formAnswers?: MeetingForm;
63
63
  recaptchaToken: string;
64
+ location?: string;
64
65
  }): Observable<BookMeetingResponse>;
65
66
  cancelMeeting(req: {
66
67
  authToken: string;
@@ -18,6 +18,9 @@ export interface MeetingType {
18
18
  availabilityIncrement?: number;
19
19
  bufferDurationAfterMeeting?: number;
20
20
  noticeTime?: number;
21
+ location?: string;
22
+ isClientSiteMeeting: boolean;
23
+ locationGuidelines?: string;
21
24
  }
22
25
  export type MeetingTypeFormField = Required<FieldInterface>;
23
26
  export type MeetingTypeForm = Required<Omit<FormInterface, 'fields'>> & {
@@ -42,6 +42,7 @@ export interface Meeting {
42
42
  formAnswers: MeetingForm;
43
43
  metadata: MeetingMetadata;
44
44
  attachments: Required<AttachmentInterface>[];
45
+ location: string;
45
46
  }
46
47
  export declare function meetingFromApi(meetingApi: ApiMeeting): Meeting;
47
48
  export declare function answersFromAPI(formAnswers: AnswersInterface): MeetingForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/meetings",
3
- "version": "0.81.0",
3
+ "version": "0.81.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"