@vendasta/meetings 1.9.0 → 1.9.1

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 (29) hide show
  1. package/esm2020/lib/_internal/enums/meeting-type.enum.mjs +3 -2
  2. package/esm2020/lib/_internal/interfaces/index.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/objects/google-meet.mjs +1 -1
  6. package/esm2020/lib/_internal/objects/groups-and-services.mjs +1 -1
  7. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  8. package/esm2020/lib/_internal/objects/meeting-guest.mjs +25 -1
  9. package/esm2020/lib/_internal/objects/meeting-host.mjs +25 -1
  10. package/esm2020/lib/_internal/objects/meeting-source.mjs +1 -1
  11. package/esm2020/lib/guest/guest.service.mjs +1 -1
  12. package/esm2020/lib/host/host.service.mjs +1 -1
  13. package/fesm2015/vendasta-meetings.mjs +50 -1
  14. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  15. package/fesm2020/vendasta-meetings.mjs +50 -1
  16. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  17. package/lib/_internal/enums/meeting-type.enum.d.ts +3 -2
  18. package/lib/_internal/interfaces/index.d.ts +1 -1
  19. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +6 -0
  20. package/lib/_internal/interfaces/meeting-host.interface.d.ts +4 -2
  21. package/lib/_internal/objects/google-meet.d.ts +1 -1
  22. package/lib/_internal/objects/groups-and-services.d.ts +1 -1
  23. package/lib/_internal/objects/index.d.ts +1 -1
  24. package/lib/_internal/objects/meeting-guest.d.ts +4 -0
  25. package/lib/_internal/objects/meeting-host.d.ts +4 -0
  26. package/lib/_internal/objects/meeting-source.d.ts +1 -1
  27. package/lib/guest/guest.service.d.ts +4 -0
  28. package/lib/host/host.service.d.ts +4 -0
  29. package/package.json +1 -1
@@ -154,9 +154,10 @@ var BookingSource;
154
154
  BookingSource[BookingSource["BOOKING_SOURCE_BOOKING_FORM"] = 1] = "BOOKING_SOURCE_BOOKING_FORM";
155
155
  BookingSource[BookingSource["BOOKING_SOURCE_AI_VOICE"] = 2] = "BOOKING_SOURCE_AI_VOICE";
156
156
  BookingSource[BookingSource["BOOKING_SOURCE_AI_CHAT"] = 3] = "BOOKING_SOURCE_AI_CHAT";
157
- BookingSource[BookingSource["BOOKING_SOURCE_BOOK_A_MEETING"] = 4] = "BOOKING_SOURCE_BOOK_A_MEETING";
157
+ BookingSource[BookingSource["BOOKING_SOURCE_HOST_CALENDAR_UI"] = 4] = "BOOKING_SOURCE_HOST_CALENDAR_UI";
158
158
  BookingSource[BookingSource["BOOKING_SOURCE_API_INTEGRATION"] = 5] = "BOOKING_SOURCE_API_INTEGRATION";
159
159
  BookingSource[BookingSource["BOOKING_SOURCE_CRM"] = 6] = "BOOKING_SOURCE_CRM";
160
+ BookingSource[BookingSource["BOOKING_SOURCE_HOST_CALENDAR_WEBHOOK"] = 7] = "BOOKING_SOURCE_HOST_CALENDAR_WEBHOOK";
160
161
  })(BookingSource || (BookingSource = {}));
161
162
  var DateRangeType;
162
163
  (function (DateRangeType) {
@@ -4062,6 +4063,9 @@ class CancelBatchMeetingRequest {
4062
4063
  static fromProto(proto) {
4063
4064
  let m = new CancelBatchMeetingRequest();
4064
4065
  m = Object.assign(m, proto);
4066
+ if (proto.bookingSource) {
4067
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4068
+ }
4065
4069
  return m;
4066
4070
  }
4067
4071
  constructor(kwargs) {
@@ -4078,6 +4082,9 @@ class CancelBatchMeetingRequest {
4078
4082
  if (typeof this.cancellationReason !== 'undefined') {
4079
4083
  toReturn['cancellationReason'] = this.cancellationReason;
4080
4084
  }
4085
+ if (typeof this.bookingSource !== 'undefined') {
4086
+ toReturn['bookingSource'] = this.bookingSource;
4087
+ }
4081
4088
  return toReturn;
4082
4089
  }
4083
4090
  }
@@ -4671,6 +4678,9 @@ class GuestCancelMeetingRequest {
4671
4678
  static fromProto(proto) {
4672
4679
  let m = new GuestCancelMeetingRequest();
4673
4680
  m = Object.assign(m, proto);
4681
+ if (proto.bookingSource) {
4682
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4683
+ }
4674
4684
  return m;
4675
4685
  }
4676
4686
  constructor(kwargs) {
@@ -4690,6 +4700,9 @@ class GuestCancelMeetingRequest {
4690
4700
  if (typeof this.cancellationReason !== 'undefined') {
4691
4701
  toReturn['cancellationReason'] = this.cancellationReason;
4692
4702
  }
4703
+ if (typeof this.bookingSource !== 'undefined') {
4704
+ toReturn['bookingSource'] = this.bookingSource;
4705
+ }
4693
4706
  return toReturn;
4694
4707
  }
4695
4708
  }
@@ -4958,6 +4971,9 @@ class GuestRescheduleMeetingRequest {
4958
4971
  if (proto.timeZone) {
4959
4972
  m.timeZone = TimeZone.fromProto(proto.timeZone);
4960
4973
  }
4974
+ if (proto.bookingSource) {
4975
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4976
+ }
4961
4977
  return m;
4962
4978
  }
4963
4979
  constructor(kwargs) {
@@ -4983,6 +4999,9 @@ class GuestRescheduleMeetingRequest {
4983
4999
  if (typeof this.location !== 'undefined') {
4984
5000
  toReturn['location'] = this.location;
4985
5001
  }
5002
+ if (typeof this.bookingSource !== 'undefined') {
5003
+ toReturn['bookingSource'] = this.bookingSource;
5004
+ }
4986
5005
  return toReturn;
4987
5006
  }
4988
5007
  }
@@ -5536,6 +5555,9 @@ class RescheduleBatchMeetingRequest {
5536
5555
  if (proto.timeZone) {
5537
5556
  m.timeZone = TimeZone.fromProto(proto.timeZone);
5538
5557
  }
5558
+ if (proto.bookingSource) {
5559
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
5560
+ }
5539
5561
  return m;
5540
5562
  }
5541
5563
  constructor(kwargs) {
@@ -5558,6 +5580,9 @@ class RescheduleBatchMeetingRequest {
5558
5580
  if (typeof this.location !== 'undefined') {
5559
5581
  toReturn['location'] = this.location;
5560
5582
  }
5583
+ if (typeof this.bookingSource !== 'undefined') {
5584
+ toReturn['bookingSource'] = this.bookingSource;
5585
+ }
5561
5586
  return toReturn;
5562
5587
  }
5563
5588
  }
@@ -6658,6 +6683,9 @@ class CancelMeetingRequest {
6658
6683
  static fromProto(proto) {
6659
6684
  let m = new CancelMeetingRequest();
6660
6685
  m = Object.assign(m, proto);
6686
+ if (proto.bookingSource) {
6687
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
6688
+ }
6661
6689
  return m;
6662
6690
  }
6663
6691
  constructor(kwargs) {
@@ -6680,6 +6708,9 @@ class CancelMeetingRequest {
6680
6708
  if (typeof this.sessionId !== 'undefined') {
6681
6709
  toReturn['sessionId'] = this.sessionId;
6682
6710
  }
6711
+ if (typeof this.bookingSource !== 'undefined') {
6712
+ toReturn['bookingSource'] = this.bookingSource;
6713
+ }
6683
6714
  return toReturn;
6684
6715
  }
6685
6716
  }
@@ -7959,6 +7990,9 @@ class HostCancelBatchMeetingRequest {
7959
7990
  static fromProto(proto) {
7960
7991
  let m = new HostCancelBatchMeetingRequest();
7961
7992
  m = Object.assign(m, proto);
7993
+ if (proto.bookingSource) {
7994
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
7995
+ }
7962
7996
  return m;
7963
7997
  }
7964
7998
  constructor(kwargs) {
@@ -7975,6 +8009,9 @@ class HostCancelBatchMeetingRequest {
7975
8009
  if (typeof this.cancellationReason !== 'undefined') {
7976
8010
  toReturn['cancellationReason'] = this.cancellationReason;
7977
8011
  }
8012
+ if (typeof this.bookingSource !== 'undefined') {
8013
+ toReturn['bookingSource'] = this.bookingSource;
8014
+ }
7978
8015
  return toReturn;
7979
8016
  }
7980
8017
  }
@@ -8230,6 +8267,9 @@ class HostRescheduleBatchMeetingRequest {
8230
8267
  if (proto.timeZone) {
8231
8268
  m.timeZone = TimeZone.fromProto(proto.timeZone);
8232
8269
  }
8270
+ if (proto.bookingSource) {
8271
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
8272
+ }
8233
8273
  return m;
8234
8274
  }
8235
8275
  constructor(kwargs) {
@@ -8252,6 +8292,9 @@ class HostRescheduleBatchMeetingRequest {
8252
8292
  if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
8253
8293
  toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
8254
8294
  }
8295
+ if (typeof this.bookingSource !== 'undefined') {
8296
+ toReturn['bookingSource'] = this.bookingSource;
8297
+ }
8255
8298
  return toReturn;
8256
8299
  }
8257
8300
  }
@@ -9220,6 +9263,9 @@ class RescheduleMeetingRequest {
9220
9263
  if (proto.start) {
9221
9264
  m.start = new Date(proto.start);
9222
9265
  }
9266
+ if (proto.bookingSource) {
9267
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
9268
+ }
9223
9269
  return m;
9224
9270
  }
9225
9271
  constructor(kwargs) {
@@ -9242,6 +9288,9 @@ class RescheduleMeetingRequest {
9242
9288
  if (typeof this.isRecurring !== 'undefined') {
9243
9289
  toReturn['isRecurring'] = this.isRecurring;
9244
9290
  }
9291
+ if (typeof this.bookingSource !== 'undefined') {
9292
+ toReturn['bookingSource'] = this.bookingSource;
9293
+ }
9245
9294
  return toReturn;
9246
9295
  }
9247
9296
  }