@vendasta/meetings 1.10.1 → 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.
@@ -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
  }
@@ -11374,22 +11386,7 @@ class GuestService {
11374
11386
  }));
11375
11387
  }
11376
11388
  listMeetingTypes(req) {
11377
- return this.guestAPIService.listMeetingTypes(req).pipe(map((resp) => {
11378
- if (!resp || !resp.meetingTypes) {
11379
- return [];
11380
- }
11381
- return resp.meetingTypes.map((mt) => {
11382
- return MeetingTypeFromApi({
11383
- environment: onProductionGlobal()
11384
- ? Environment.PROD
11385
- : Environment.DEMO,
11386
- calendarId: req.hostId,
11387
- meetingTypeApi: mt,
11388
- metadata: req.metadata,
11389
- calendarSlug: req.calendarSlug,
11390
- });
11391
- });
11392
- }));
11389
+ return this.guestAPIService.listMeetingTypes(req);
11393
11390
  }
11394
11391
  listAvailableTimeSlots(req) {
11395
11392
  return this.guestAPIService