@vendasta/meetings 1.10.0 → 1.11.0

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/interfaces/index.mjs +1 -1
  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/google-meet.mjs +1 -1
  10. package/esm2020/lib/_internal/objects/groups-and-services.mjs +1 -1
  11. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  12. package/esm2020/lib/_internal/objects/meeting-external.mjs +2 -2
  13. package/esm2020/lib/_internal/objects/meeting-guest.mjs +13 -1
  14. package/esm2020/lib/_internal/objects/meeting-host.mjs +13 -1
  15. package/esm2020/lib/_internal/objects/meeting-source.mjs +1 -1
  16. package/esm2020/lib/_internal/objects/meeting-type.mjs +1 -1
  17. package/esm2020/lib/_internal/objects/openapiv2.mjs +1 -1
  18. package/esm2020/lib/_internal/objects/shared.mjs +1 -1
  19. package/esm2020/lib/_internal/objects/zoom.mjs +1 -1
  20. package/esm2020/lib/guest/guest.service.mjs +2 -17
  21. package/fesm2015/vendasta-meetings.mjs +25 -16
  22. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  23. package/fesm2020/vendasta-meetings.mjs +25 -16
  24. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  25. package/lib/_internal/interfaces/index.d.ts +1 -1
  26. package/lib/_internal/interfaces/meeting-external.interface.d.ts +1 -1
  27. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +4 -1
  28. package/lib/_internal/interfaces/meeting-host.interface.d.ts +3 -1
  29. package/lib/_internal/objects/annotations.d.ts +1 -1
  30. package/lib/_internal/objects/date-range.d.ts +1 -1
  31. package/lib/_internal/objects/field-mask.d.ts +1 -1
  32. package/lib/_internal/objects/google-meet.d.ts +1 -1
  33. package/lib/_internal/objects/groups-and-services.d.ts +1 -1
  34. package/lib/_internal/objects/index.d.ts +1 -1
  35. package/lib/_internal/objects/meeting-external.d.ts +2 -2
  36. package/lib/_internal/objects/meeting-guest.d.ts +4 -1
  37. package/lib/_internal/objects/meeting-host.d.ts +3 -1
  38. package/lib/_internal/objects/meeting-source.d.ts +1 -1
  39. package/lib/_internal/objects/meeting-type.d.ts +1 -1
  40. package/lib/_internal/objects/openapiv2.d.ts +1 -1
  41. package/lib/_internal/objects/shared.d.ts +1 -1
  42. package/lib/_internal/objects/zoom.d.ts +1 -1
  43. package/lib/guest/guest.service.d.ts +7 -3
  44. package/package.json +1 -1
@@ -5271,6 +5271,9 @@ class ListMeetingTypesRequest {
5271
5271
  static fromProto(proto) {
5272
5272
  let m = new ListMeetingTypesRequest();
5273
5273
  m = Object.assign(m, proto);
5274
+ if (proto.bookingSource) {
5275
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
5276
+ }
5274
5277
  return m;
5275
5278
  }
5276
5279
  constructor(kwargs) {
@@ -5284,6 +5287,12 @@ class ListMeetingTypesRequest {
5284
5287
  if (typeof this.hostId !== 'undefined') {
5285
5288
  toReturn['hostId'] = this.hostId;
5286
5289
  }
5290
+ if (typeof this.uniqueRequestId !== 'undefined') {
5291
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
5292
+ }
5293
+ if (typeof this.bookingSource !== 'undefined') {
5294
+ toReturn['bookingSource'] = this.bookingSource;
5295
+ }
5287
5296
  return toReturn;
5288
5297
  }
5289
5298
  }
@@ -5307,6 +5316,9 @@ class ListMeetingTypesResponse {
5307
5316
  if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
5308
5317
  toReturn['meetingTypes'] = 'toApiJson' in this.meetingTypes ? this.meetingTypes.toApiJson() : this.meetingTypes;
5309
5318
  }
5319
+ if (typeof this.businessDisplayLogoUrl !== 'undefined') {
5320
+ toReturn['businessDisplayLogoUrl'] = this.businessDisplayLogoUrl;
5321
+ }
5310
5322
  return toReturn;
5311
5323
  }
5312
5324
  }
@@ -7330,6 +7342,12 @@ class EventTypeSummary {
7330
7342
  if (proto.dateRange) {
7331
7343
  m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
7332
7344
  }
7345
+ if (proto.bufferDurationBeforeMeeting) {
7346
+ m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
7347
+ }
7348
+ if (proto.bufferDurationAfterMeeting) {
7349
+ m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
7350
+ }
7333
7351
  return m;
7334
7352
  }
7335
7353
  constructor(kwargs) {
@@ -7388,6 +7406,12 @@ class EventTypeSummary {
7388
7406
  if (typeof this.description !== 'undefined') {
7389
7407
  toReturn['description'] = this.description;
7390
7408
  }
7409
+ if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
7410
+ toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
7411
+ }
7412
+ if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
7413
+ toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
7414
+ }
7391
7415
  return toReturn;
7392
7416
  }
7393
7417
  }
@@ -11357,22 +11381,7 @@ class GuestService {
11357
11381
  }));
11358
11382
  }
11359
11383
  listMeetingTypes(req) {
11360
- return this.guestAPIService.listMeetingTypes(req).pipe(map((resp) => {
11361
- if (!resp || !resp.meetingTypes) {
11362
- return [];
11363
- }
11364
- return resp.meetingTypes.map((mt) => {
11365
- return MeetingTypeFromApi({
11366
- environment: onProductionGlobal()
11367
- ? Environment.PROD
11368
- : Environment.DEMO,
11369
- calendarId: req.hostId,
11370
- meetingTypeApi: mt,
11371
- metadata: req.metadata,
11372
- calendarSlug: req.calendarSlug,
11373
- });
11374
- });
11375
- }));
11384
+ return this.guestAPIService.listMeetingTypes(req);
11376
11385
  }
11377
11386
  listAvailableTimeSlots(req) {
11378
11387
  return this.guestAPIService