@vendasta/meetings 1.8.1 → 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.
@@ -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) {
@@ -3932,6 +3933,9 @@ class BookBatchMeetingRequest {
3932
3933
  if (typeof this.bookingOriginId !== 'undefined') {
3933
3934
  toReturn['bookingOriginId'] = this.bookingOriginId;
3934
3935
  }
3936
+ if (typeof this.uniqueRequestId !== 'undefined') {
3937
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
3938
+ }
3935
3939
  return toReturn;
3936
3940
  }
3937
3941
  }
@@ -4026,6 +4030,9 @@ class BookMeetingRequest {
4026
4030
  if (typeof this.hasSmsConsent !== 'undefined') {
4027
4031
  toReturn['hasSmsConsent'] = this.hasSmsConsent;
4028
4032
  }
4033
+ if (typeof this.uniqueRequestId !== 'undefined') {
4034
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
4035
+ }
4029
4036
  return toReturn;
4030
4037
  }
4031
4038
  }
@@ -4056,6 +4063,9 @@ class CancelBatchMeetingRequest {
4056
4063
  static fromProto(proto) {
4057
4064
  let m = new CancelBatchMeetingRequest();
4058
4065
  m = Object.assign(m, proto);
4066
+ if (proto.bookingSource) {
4067
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4068
+ }
4059
4069
  return m;
4060
4070
  }
4061
4071
  constructor(kwargs) {
@@ -4072,6 +4082,9 @@ class CancelBatchMeetingRequest {
4072
4082
  if (typeof this.cancellationReason !== 'undefined') {
4073
4083
  toReturn['cancellationReason'] = this.cancellationReason;
4074
4084
  }
4085
+ if (typeof this.bookingSource !== 'undefined') {
4086
+ toReturn['bookingSource'] = this.bookingSource;
4087
+ }
4075
4088
  return toReturn;
4076
4089
  }
4077
4090
  }
@@ -4171,6 +4184,9 @@ class GetGroupRequest {
4171
4184
  static fromProto(proto) {
4172
4185
  let m = new GetGroupRequest();
4173
4186
  m = Object.assign(m, proto);
4187
+ if (proto.bookingSource) {
4188
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4189
+ }
4174
4190
  return m;
4175
4191
  }
4176
4192
  constructor(kwargs) {
@@ -4190,6 +4206,12 @@ class GetGroupRequest {
4190
4206
  if (typeof this.hostId !== 'undefined') {
4191
4207
  toReturn['hostId'] = this.hostId;
4192
4208
  }
4209
+ if (typeof this.uniqueRequestId !== 'undefined') {
4210
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
4211
+ }
4212
+ if (typeof this.bookingSource !== 'undefined') {
4213
+ toReturn['bookingSource'] = this.bookingSource;
4214
+ }
4193
4215
  return toReturn;
4194
4216
  }
4195
4217
  }
@@ -4312,6 +4334,9 @@ class GetMeetingTypeRequest {
4312
4334
  static fromProto(proto) {
4313
4335
  let m = new GetMeetingTypeRequest();
4314
4336
  m = Object.assign(m, proto);
4337
+ if (proto.bookingSource) {
4338
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4339
+ }
4315
4340
  return m;
4316
4341
  }
4317
4342
  constructor(kwargs) {
@@ -4328,6 +4353,12 @@ class GetMeetingTypeRequest {
4328
4353
  if (typeof this.meetingTypeSlug !== 'undefined') {
4329
4354
  toReturn['meetingTypeSlug'] = this.meetingTypeSlug;
4330
4355
  }
4356
+ if (typeof this.uniqueRequestId !== 'undefined') {
4357
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
4358
+ }
4359
+ if (typeof this.bookingSource !== 'undefined') {
4360
+ toReturn['bookingSource'] = this.bookingSource;
4361
+ }
4331
4362
  return toReturn;
4332
4363
  }
4333
4364
  }
@@ -4358,6 +4389,9 @@ class GetServiceRequest {
4358
4389
  static fromProto(proto) {
4359
4390
  let m = new GetServiceRequest();
4360
4391
  m = Object.assign(m, proto);
4392
+ if (proto.bookingSource) {
4393
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4394
+ }
4361
4395
  return m;
4362
4396
  }
4363
4397
  constructor(kwargs) {
@@ -4377,6 +4411,12 @@ class GetServiceRequest {
4377
4411
  if (typeof this.hostId !== 'undefined') {
4378
4412
  toReturn['hostId'] = this.hostId;
4379
4413
  }
4414
+ if (typeof this.uniqueRequestId !== 'undefined') {
4415
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
4416
+ }
4417
+ if (typeof this.bookingSource !== 'undefined') {
4418
+ toReturn['bookingSource'] = this.bookingSource;
4419
+ }
4380
4420
  return toReturn;
4381
4421
  }
4382
4422
  }
@@ -4426,6 +4466,9 @@ class GetServiceV2Request {
4426
4466
  if (typeof this.serviceId !== 'undefined') {
4427
4467
  toReturn['serviceId'] = this.serviceId;
4428
4468
  }
4469
+ if (typeof this.uniqueRequestId !== 'undefined') {
4470
+ toReturn['uniqueRequestId'] = this.uniqueRequestId;
4471
+ }
4429
4472
  if (typeof this.bookingSource !== 'undefined') {
4430
4473
  toReturn['bookingSource'] = this.bookingSource;
4431
4474
  }
@@ -4635,6 +4678,9 @@ class GuestCancelMeetingRequest {
4635
4678
  static fromProto(proto) {
4636
4679
  let m = new GuestCancelMeetingRequest();
4637
4680
  m = Object.assign(m, proto);
4681
+ if (proto.bookingSource) {
4682
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4683
+ }
4638
4684
  return m;
4639
4685
  }
4640
4686
  constructor(kwargs) {
@@ -4654,6 +4700,9 @@ class GuestCancelMeetingRequest {
4654
4700
  if (typeof this.cancellationReason !== 'undefined') {
4655
4701
  toReturn['cancellationReason'] = this.cancellationReason;
4656
4702
  }
4703
+ if (typeof this.bookingSource !== 'undefined') {
4704
+ toReturn['bookingSource'] = this.bookingSource;
4705
+ }
4657
4706
  return toReturn;
4658
4707
  }
4659
4708
  }
@@ -4922,6 +4971,9 @@ class GuestRescheduleMeetingRequest {
4922
4971
  if (proto.timeZone) {
4923
4972
  m.timeZone = TimeZone.fromProto(proto.timeZone);
4924
4973
  }
4974
+ if (proto.bookingSource) {
4975
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
4976
+ }
4925
4977
  return m;
4926
4978
  }
4927
4979
  constructor(kwargs) {
@@ -4947,6 +4999,9 @@ class GuestRescheduleMeetingRequest {
4947
4999
  if (typeof this.location !== 'undefined') {
4948
5000
  toReturn['location'] = this.location;
4949
5001
  }
5002
+ if (typeof this.bookingSource !== 'undefined') {
5003
+ toReturn['bookingSource'] = this.bookingSource;
5004
+ }
4950
5005
  return toReturn;
4951
5006
  }
4952
5007
  }
@@ -5500,6 +5555,9 @@ class RescheduleBatchMeetingRequest {
5500
5555
  if (proto.timeZone) {
5501
5556
  m.timeZone = TimeZone.fromProto(proto.timeZone);
5502
5557
  }
5558
+ if (proto.bookingSource) {
5559
+ m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
5560
+ }
5503
5561
  return m;
5504
5562
  }
5505
5563
  constructor(kwargs) {
@@ -5522,6 +5580,9 @@ class RescheduleBatchMeetingRequest {
5522
5580
  if (typeof this.location !== 'undefined') {
5523
5581
  toReturn['location'] = this.location;
5524
5582
  }
5583
+ if (typeof this.bookingSource !== 'undefined') {
5584
+ toReturn['bookingSource'] = this.bookingSource;
5585
+ }
5525
5586
  return toReturn;
5526
5587
  }
5527
5588
  }
@@ -6622,6 +6683,9 @@ class CancelMeetingRequest {
6622
6683
  static fromProto(proto) {
6623
6684
  let m = new CancelMeetingRequest();
6624
6685
  m = Object.assign(m, proto);
6686
+ if (proto.bookingSource) {
6687
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
6688
+ }
6625
6689
  return m;
6626
6690
  }
6627
6691
  constructor(kwargs) {
@@ -6644,6 +6708,9 @@ class CancelMeetingRequest {
6644
6708
  if (typeof this.sessionId !== 'undefined') {
6645
6709
  toReturn['sessionId'] = this.sessionId;
6646
6710
  }
6711
+ if (typeof this.bookingSource !== 'undefined') {
6712
+ toReturn['bookingSource'] = this.bookingSource;
6713
+ }
6647
6714
  return toReturn;
6648
6715
  }
6649
6716
  }
@@ -7923,6 +7990,9 @@ class HostCancelBatchMeetingRequest {
7923
7990
  static fromProto(proto) {
7924
7991
  let m = new HostCancelBatchMeetingRequest();
7925
7992
  m = Object.assign(m, proto);
7993
+ if (proto.bookingSource) {
7994
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
7995
+ }
7926
7996
  return m;
7927
7997
  }
7928
7998
  constructor(kwargs) {
@@ -7939,6 +8009,9 @@ class HostCancelBatchMeetingRequest {
7939
8009
  if (typeof this.cancellationReason !== 'undefined') {
7940
8010
  toReturn['cancellationReason'] = this.cancellationReason;
7941
8011
  }
8012
+ if (typeof this.bookingSource !== 'undefined') {
8013
+ toReturn['bookingSource'] = this.bookingSource;
8014
+ }
7942
8015
  return toReturn;
7943
8016
  }
7944
8017
  }
@@ -8194,6 +8267,9 @@ class HostRescheduleBatchMeetingRequest {
8194
8267
  if (proto.timeZone) {
8195
8268
  m.timeZone = TimeZone.fromProto(proto.timeZone);
8196
8269
  }
8270
+ if (proto.bookingSource) {
8271
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
8272
+ }
8197
8273
  return m;
8198
8274
  }
8199
8275
  constructor(kwargs) {
@@ -8216,6 +8292,9 @@ class HostRescheduleBatchMeetingRequest {
8216
8292
  if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
8217
8293
  toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
8218
8294
  }
8295
+ if (typeof this.bookingSource !== 'undefined') {
8296
+ toReturn['bookingSource'] = this.bookingSource;
8297
+ }
8219
8298
  return toReturn;
8220
8299
  }
8221
8300
  }
@@ -9184,6 +9263,9 @@ class RescheduleMeetingRequest {
9184
9263
  if (proto.start) {
9185
9264
  m.start = new Date(proto.start);
9186
9265
  }
9266
+ if (proto.bookingSource) {
9267
+ m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
9268
+ }
9187
9269
  return m;
9188
9270
  }
9189
9271
  constructor(kwargs) {
@@ -9206,6 +9288,9 @@ class RescheduleMeetingRequest {
9206
9288
  if (typeof this.isRecurring !== 'undefined') {
9207
9289
  toReturn['isRecurring'] = this.isRecurring;
9208
9290
  }
9291
+ if (typeof this.bookingSource !== 'undefined') {
9292
+ toReturn['bookingSource'] = this.bookingSource;
9293
+ }
9209
9294
  return toReturn;
9210
9295
  }
9211
9296
  }