@vendasta/meetings 1.15.0 → 1.15.3
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.
- package/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +7 -2
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +7 -2
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +25 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +67 -5
- package/esm2020/lib/_internal/objects/meeting-host.mjs +63 -28
- package/esm2020/lib/_internal/objects/meeting-type.mjs +13 -1
- package/esm2020/lib/guest/guest.service.mjs +18 -1
- package/esm2020/lib/host/host.service.mjs +17 -1
- package/esm2020/lib/shared/groups-and-services.mjs +13 -1
- package/esm2020/lib/shared/meeting-type.mjs +7 -1
- package/fesm2015/vendasta-meetings.mjs +227 -31
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +225 -31
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/groups-and-services.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +15 -2
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +15 -9
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +3 -0
- package/lib/_internal/meeting-guest.api.service.d.ts +3 -2
- package/lib/_internal/meeting-host.api.service.d.ts +3 -2
- package/lib/_internal/objects/groups-and-services.d.ts +6 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/meeting-guest.d.ts +22 -6
- package/lib/_internal/objects/meeting-host.d.ts +29 -20
- package/lib/_internal/objects/meeting-type.d.ts +3 -0
- package/lib/guest/guest.service.d.ts +5 -0
- package/lib/host/host.service.d.ts +6 -1
- package/lib/shared/groups-and-services.d.ts +6 -0
- package/lib/shared/meeting-type.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2343,6 +2343,9 @@ class MeetingType {
|
|
|
2343
2343
|
if (proto.notificationType) {
|
|
2344
2344
|
m.notificationType = enumStringToValue$9(NotificationType, proto.notificationType);
|
|
2345
2345
|
}
|
|
2346
|
+
if (proto.redirectDelaySeconds) {
|
|
2347
|
+
m.redirectDelaySeconds = parseInt(proto.redirectDelaySeconds, 10);
|
|
2348
|
+
}
|
|
2346
2349
|
return m;
|
|
2347
2350
|
}
|
|
2348
2351
|
constructor(kwargs) {
|
|
@@ -2458,6 +2461,15 @@ class MeetingType {
|
|
|
2458
2461
|
if (typeof this.notificationType !== 'undefined') {
|
|
2459
2462
|
toReturn['notificationType'] = this.notificationType;
|
|
2460
2463
|
}
|
|
2464
|
+
if (typeof this.redirectEnabled !== 'undefined') {
|
|
2465
|
+
toReturn['redirectEnabled'] = this.redirectEnabled;
|
|
2466
|
+
}
|
|
2467
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
2468
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
2469
|
+
}
|
|
2470
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
2471
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
2472
|
+
}
|
|
2461
2473
|
return toReturn;
|
|
2462
2474
|
}
|
|
2463
2475
|
}
|
|
@@ -2595,6 +2607,9 @@ class Group {
|
|
|
2595
2607
|
if (proto.associations) {
|
|
2596
2608
|
m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
|
|
2597
2609
|
}
|
|
2610
|
+
if (proto.redirectDelaySeconds) {
|
|
2611
|
+
m.redirectDelaySeconds = parseInt(proto.redirectDelaySeconds, 10);
|
|
2612
|
+
}
|
|
2598
2613
|
return m;
|
|
2599
2614
|
}
|
|
2600
2615
|
constructor(kwargs) {
|
|
@@ -2632,6 +2647,15 @@ class Group {
|
|
|
2632
2647
|
if (typeof this.isBatchBookingEnabled !== 'undefined') {
|
|
2633
2648
|
toReturn['isBatchBookingEnabled'] = this.isBatchBookingEnabled;
|
|
2634
2649
|
}
|
|
2650
|
+
if (typeof this.redirectEnabled !== 'undefined') {
|
|
2651
|
+
toReturn['redirectEnabled'] = this.redirectEnabled;
|
|
2652
|
+
}
|
|
2653
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
2654
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
2655
|
+
}
|
|
2656
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
2657
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
2658
|
+
}
|
|
2635
2659
|
return toReturn;
|
|
2636
2660
|
}
|
|
2637
2661
|
}
|
|
@@ -2642,6 +2666,9 @@ class Service {
|
|
|
2642
2666
|
if (proto.associations) {
|
|
2643
2667
|
m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
|
|
2644
2668
|
}
|
|
2669
|
+
if (proto.redirectDelaySeconds) {
|
|
2670
|
+
m.redirectDelaySeconds = parseInt(proto.redirectDelaySeconds, 10);
|
|
2671
|
+
}
|
|
2645
2672
|
return m;
|
|
2646
2673
|
}
|
|
2647
2674
|
constructor(kwargs) {
|
|
@@ -2679,6 +2706,15 @@ class Service {
|
|
|
2679
2706
|
if (typeof this.isBatchBookingEnabled !== 'undefined') {
|
|
2680
2707
|
toReturn['isBatchBookingEnabled'] = this.isBatchBookingEnabled;
|
|
2681
2708
|
}
|
|
2709
|
+
if (typeof this.redirectEnabled !== 'undefined') {
|
|
2710
|
+
toReturn['redirectEnabled'] = this.redirectEnabled;
|
|
2711
|
+
}
|
|
2712
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
2713
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
2714
|
+
}
|
|
2715
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
2716
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
2717
|
+
}
|
|
2682
2718
|
return toReturn;
|
|
2683
2719
|
}
|
|
2684
2720
|
}
|
|
@@ -4285,6 +4321,9 @@ class GetGroupV2Response {
|
|
|
4285
4321
|
if (proto.eventTypes) {
|
|
4286
4322
|
m.eventTypes = proto.eventTypes.map(ServiceEventType.fromProto);
|
|
4287
4323
|
}
|
|
4324
|
+
if (proto.redirectDelaySeconds) {
|
|
4325
|
+
m.redirectDelaySeconds = parseInt(proto.redirectDelaySeconds, 10);
|
|
4326
|
+
}
|
|
4288
4327
|
return m;
|
|
4289
4328
|
}
|
|
4290
4329
|
constructor(kwargs) {
|
|
@@ -4316,6 +4355,15 @@ class GetGroupV2Response {
|
|
|
4316
4355
|
if (typeof this.isBatchBookingEnabled !== 'undefined') {
|
|
4317
4356
|
toReturn['isBatchBookingEnabled'] = this.isBatchBookingEnabled;
|
|
4318
4357
|
}
|
|
4358
|
+
if (typeof this.redirectEnabled !== 'undefined') {
|
|
4359
|
+
toReturn['redirectEnabled'] = this.redirectEnabled;
|
|
4360
|
+
}
|
|
4361
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
4362
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
4363
|
+
}
|
|
4364
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
4365
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
4366
|
+
}
|
|
4319
4367
|
return toReturn;
|
|
4320
4368
|
}
|
|
4321
4369
|
}
|
|
@@ -4563,6 +4611,9 @@ class GetServiceV2Response {
|
|
|
4563
4611
|
if (proto.eventTypes) {
|
|
4564
4612
|
m.eventTypes = proto.eventTypes.map(ServiceEventType.fromProto);
|
|
4565
4613
|
}
|
|
4614
|
+
if (proto.redirectDelaySeconds) {
|
|
4615
|
+
m.redirectDelaySeconds = parseInt(proto.redirectDelaySeconds, 10);
|
|
4616
|
+
}
|
|
4566
4617
|
return m;
|
|
4567
4618
|
}
|
|
4568
4619
|
constructor(kwargs) {
|
|
@@ -4597,6 +4648,15 @@ class GetServiceV2Response {
|
|
|
4597
4648
|
if (typeof this.isBatchBookingEnabled !== 'undefined') {
|
|
4598
4649
|
toReturn['isBatchBookingEnabled'] = this.isBatchBookingEnabled;
|
|
4599
4650
|
}
|
|
4651
|
+
if (typeof this.redirectEnabled !== 'undefined') {
|
|
4652
|
+
toReturn['redirectEnabled'] = this.redirectEnabled;
|
|
4653
|
+
}
|
|
4654
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
4655
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
4656
|
+
}
|
|
4657
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
4658
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
4659
|
+
}
|
|
4600
4660
|
return toReturn;
|
|
4601
4661
|
}
|
|
4602
4662
|
}
|
|
@@ -4996,6 +5056,12 @@ class GuestGetBookedMeetingResponseV2 {
|
|
|
4996
5056
|
if (typeof this.isLocationEditable !== 'undefined') {
|
|
4997
5057
|
toReturn['isLocationEditable'] = this.isLocationEditable;
|
|
4998
5058
|
}
|
|
5059
|
+
if (typeof this.redirectUrl !== 'undefined') {
|
|
5060
|
+
toReturn['redirectUrl'] = this.redirectUrl;
|
|
5061
|
+
}
|
|
5062
|
+
if (typeof this.redirectDelaySeconds !== 'undefined') {
|
|
5063
|
+
toReturn['redirectDelaySeconds'] = this.redirectDelaySeconds;
|
|
5064
|
+
}
|
|
4999
5065
|
return toReturn;
|
|
5000
5066
|
}
|
|
5001
5067
|
}
|
|
@@ -5214,6 +5280,38 @@ class ListAvailableTimeSlotsResponse {
|
|
|
5214
5280
|
return toReturn;
|
|
5215
5281
|
}
|
|
5216
5282
|
}
|
|
5283
|
+
class ListBatchAvailableTimeSlotsForRescheduleRequest {
|
|
5284
|
+
static fromProto(proto) {
|
|
5285
|
+
let m = new ListBatchAvailableTimeSlotsForRescheduleRequest();
|
|
5286
|
+
m = Object.assign(m, proto);
|
|
5287
|
+
if (proto.timeSpan) {
|
|
5288
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
5289
|
+
}
|
|
5290
|
+
if (proto.timeZone) {
|
|
5291
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
5292
|
+
}
|
|
5293
|
+
return m;
|
|
5294
|
+
}
|
|
5295
|
+
constructor(kwargs) {
|
|
5296
|
+
if (!kwargs) {
|
|
5297
|
+
return;
|
|
5298
|
+
}
|
|
5299
|
+
Object.assign(this, kwargs);
|
|
5300
|
+
}
|
|
5301
|
+
toApiJson() {
|
|
5302
|
+
const toReturn = {};
|
|
5303
|
+
if (typeof this.id !== 'undefined') {
|
|
5304
|
+
toReturn['id'] = this.id;
|
|
5305
|
+
}
|
|
5306
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
5307
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
5308
|
+
}
|
|
5309
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
5310
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
5311
|
+
}
|
|
5312
|
+
return toReturn;
|
|
5313
|
+
}
|
|
5314
|
+
}
|
|
5217
5315
|
class ListBatchAvailableTimeSlotsRequest {
|
|
5218
5316
|
static fromProto(proto) {
|
|
5219
5317
|
let m = new ListBatchAvailableTimeSlotsRequest();
|
|
@@ -5551,9 +5649,9 @@ class MeetingSummary {
|
|
|
5551
5649
|
return toReturn;
|
|
5552
5650
|
}
|
|
5553
5651
|
}
|
|
5554
|
-
class
|
|
5652
|
+
class BookBatchMeetingRequestMetadataEntry {
|
|
5555
5653
|
static fromProto(proto) {
|
|
5556
|
-
let m = new
|
|
5654
|
+
let m = new BookBatchMeetingRequestMetadataEntry();
|
|
5557
5655
|
m = Object.assign(m, proto);
|
|
5558
5656
|
return m;
|
|
5559
5657
|
}
|
|
@@ -5574,9 +5672,9 @@ class BookMeetingRequestMetadataEntry {
|
|
|
5574
5672
|
return toReturn;
|
|
5575
5673
|
}
|
|
5576
5674
|
}
|
|
5577
|
-
class
|
|
5675
|
+
class BookMeetingRequestMetadataEntry {
|
|
5578
5676
|
static fromProto(proto) {
|
|
5579
|
-
let m = new
|
|
5677
|
+
let m = new BookMeetingRequestMetadataEntry();
|
|
5580
5678
|
m = Object.assign(m, proto);
|
|
5581
5679
|
return m;
|
|
5582
5680
|
}
|
|
@@ -6541,9 +6639,9 @@ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
|
6541
6639
|
return toReturn;
|
|
6542
6640
|
}
|
|
6543
6641
|
}
|
|
6544
|
-
class
|
|
6642
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
6545
6643
|
static fromProto(proto) {
|
|
6546
|
-
let m = new
|
|
6644
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
6547
6645
|
m = Object.assign(m, proto);
|
|
6548
6646
|
return m;
|
|
6549
6647
|
}
|
|
@@ -6564,9 +6662,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
6564
6662
|
return toReturn;
|
|
6565
6663
|
}
|
|
6566
6664
|
}
|
|
6567
|
-
class
|
|
6665
|
+
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
6568
6666
|
static fromProto(proto) {
|
|
6569
|
-
let m = new
|
|
6667
|
+
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
6570
6668
|
m = Object.assign(m, proto);
|
|
6571
6669
|
return m;
|
|
6572
6670
|
}
|
|
@@ -7493,13 +7591,10 @@ class EventTypeSummary {
|
|
|
7493
7591
|
return toReturn;
|
|
7494
7592
|
}
|
|
7495
7593
|
}
|
|
7496
|
-
class
|
|
7594
|
+
class ListAvailabilityRequestFilters {
|
|
7497
7595
|
static fromProto(proto) {
|
|
7498
|
-
let m = new
|
|
7596
|
+
let m = new ListAvailabilityRequestFilters();
|
|
7499
7597
|
m = Object.assign(m, proto);
|
|
7500
|
-
if (proto.timeSpan) {
|
|
7501
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
7502
|
-
}
|
|
7503
7598
|
return m;
|
|
7504
7599
|
}
|
|
7505
7600
|
constructor(kwargs) {
|
|
@@ -7510,25 +7605,22 @@ class ListBookedMeetingsRequestFilters {
|
|
|
7510
7605
|
}
|
|
7511
7606
|
toApiJson() {
|
|
7512
7607
|
const toReturn = {};
|
|
7513
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
7514
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
7515
|
-
}
|
|
7516
7608
|
if (typeof this.hostId !== 'undefined') {
|
|
7517
7609
|
toReturn['hostId'] = this.hostId;
|
|
7518
7610
|
}
|
|
7519
|
-
if (typeof this.
|
|
7520
|
-
toReturn['
|
|
7521
|
-
}
|
|
7522
|
-
if (typeof this.userIds !== 'undefined') {
|
|
7523
|
-
toReturn['userIds'] = this.userIds;
|
|
7611
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
7612
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
7524
7613
|
}
|
|
7525
7614
|
return toReturn;
|
|
7526
7615
|
}
|
|
7527
7616
|
}
|
|
7528
|
-
class
|
|
7617
|
+
class ListBookedMeetingsRequestFilters {
|
|
7529
7618
|
static fromProto(proto) {
|
|
7530
|
-
let m = new
|
|
7619
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
7531
7620
|
m = Object.assign(m, proto);
|
|
7621
|
+
if (proto.timeSpan) {
|
|
7622
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
7623
|
+
}
|
|
7532
7624
|
return m;
|
|
7533
7625
|
}
|
|
7534
7626
|
constructor(kwargs) {
|
|
@@ -7539,11 +7631,17 @@ class ListAvailabilityRequestFilters {
|
|
|
7539
7631
|
}
|
|
7540
7632
|
toApiJson() {
|
|
7541
7633
|
const toReturn = {};
|
|
7634
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
7635
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
7636
|
+
}
|
|
7542
7637
|
if (typeof this.hostId !== 'undefined') {
|
|
7543
7638
|
toReturn['hostId'] = this.hostId;
|
|
7544
7639
|
}
|
|
7545
|
-
if (typeof this.
|
|
7546
|
-
toReturn['
|
|
7640
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
7641
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
7642
|
+
}
|
|
7643
|
+
if (typeof this.userIds !== 'undefined') {
|
|
7644
|
+
toReturn['userIds'] = this.userIds;
|
|
7547
7645
|
}
|
|
7548
7646
|
return toReturn;
|
|
7549
7647
|
}
|
|
@@ -8361,6 +8459,38 @@ class HostGetMeetingTypeResponse {
|
|
|
8361
8459
|
return toReturn;
|
|
8362
8460
|
}
|
|
8363
8461
|
}
|
|
8462
|
+
class HostListBatchAvailableTimeSlotsForRescheduleRequest {
|
|
8463
|
+
static fromProto(proto) {
|
|
8464
|
+
let m = new HostListBatchAvailableTimeSlotsForRescheduleRequest();
|
|
8465
|
+
m = Object.assign(m, proto);
|
|
8466
|
+
if (proto.timeSpan) {
|
|
8467
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
8468
|
+
}
|
|
8469
|
+
if (proto.timeZone) {
|
|
8470
|
+
m.timeZone = TimeZone.fromProto(proto.timeZone);
|
|
8471
|
+
}
|
|
8472
|
+
return m;
|
|
8473
|
+
}
|
|
8474
|
+
constructor(kwargs) {
|
|
8475
|
+
if (!kwargs) {
|
|
8476
|
+
return;
|
|
8477
|
+
}
|
|
8478
|
+
Object.assign(this, kwargs);
|
|
8479
|
+
}
|
|
8480
|
+
toApiJson() {
|
|
8481
|
+
const toReturn = {};
|
|
8482
|
+
if (typeof this.id !== 'undefined') {
|
|
8483
|
+
toReturn['id'] = this.id;
|
|
8484
|
+
}
|
|
8485
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
8486
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
8487
|
+
}
|
|
8488
|
+
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
8489
|
+
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
8490
|
+
}
|
|
8491
|
+
return toReturn;
|
|
8492
|
+
}
|
|
8493
|
+
}
|
|
8364
8494
|
class HostListBatchAvailableTimeSlotsRequest {
|
|
8365
8495
|
static fromProto(proto) {
|
|
8366
8496
|
let m = new HostListBatchAvailableTimeSlotsRequest();
|
|
@@ -8396,6 +8526,9 @@ class HostListBatchAvailableTimeSlotsRequest {
|
|
|
8396
8526
|
if (typeof this.timeZone !== 'undefined' && this.timeZone !== null) {
|
|
8397
8527
|
toReturn['timeZone'] = 'toApiJson' in this.timeZone ? this.timeZone.toApiJson() : this.timeZone;
|
|
8398
8528
|
}
|
|
8529
|
+
if (typeof this.namespace !== 'undefined') {
|
|
8530
|
+
toReturn['namespace'] = this.namespace;
|
|
8531
|
+
}
|
|
8399
8532
|
return toReturn;
|
|
8400
8533
|
}
|
|
8401
8534
|
}
|
|
@@ -9363,9 +9496,9 @@ class MeetingTypeList {
|
|
|
9363
9496
|
return toReturn;
|
|
9364
9497
|
}
|
|
9365
9498
|
}
|
|
9366
|
-
class
|
|
9499
|
+
class UpdateMeetingMetadataRequestMetadataEntry {
|
|
9367
9500
|
static fromProto(proto) {
|
|
9368
|
-
let m = new
|
|
9501
|
+
let m = new UpdateMeetingMetadataRequestMetadataEntry();
|
|
9369
9502
|
m = Object.assign(m, proto);
|
|
9370
9503
|
return m;
|
|
9371
9504
|
}
|
|
@@ -9386,9 +9519,9 @@ class HostBookBatchMeetingRequestMetadataEntry {
|
|
|
9386
9519
|
return toReturn;
|
|
9387
9520
|
}
|
|
9388
9521
|
}
|
|
9389
|
-
class
|
|
9522
|
+
class HostBookBatchMeetingRequestMetadataEntry {
|
|
9390
9523
|
static fromProto(proto) {
|
|
9391
|
-
let m = new
|
|
9524
|
+
let m = new HostBookBatchMeetingRequestMetadataEntry();
|
|
9392
9525
|
m = Object.assign(m, proto);
|
|
9393
9526
|
return m;
|
|
9394
9527
|
}
|
|
@@ -9409,9 +9542,9 @@ class MeetingMetadataEntry {
|
|
|
9409
9542
|
return toReturn;
|
|
9410
9543
|
}
|
|
9411
9544
|
}
|
|
9412
|
-
class
|
|
9545
|
+
class MeetingMetadataEntry {
|
|
9413
9546
|
static fromProto(proto) {
|
|
9414
|
-
let m = new
|
|
9547
|
+
let m = new MeetingMetadataEntry();
|
|
9415
9548
|
m = Object.assign(m, proto);
|
|
9416
9549
|
return m;
|
|
9417
9550
|
}
|
|
@@ -10562,6 +10695,11 @@ class MeetingGuestApiService {
|
|
|
10562
10695
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListBatchAvailableTimeSlots", request.toApiJson(), this.apiOptions())
|
|
10563
10696
|
.pipe(map(resp => ListBatchAvailableTimeSlotsResponse.fromProto(resp)));
|
|
10564
10697
|
}
|
|
10698
|
+
listBatchAvailableTimeSlotsForReschedule(r) {
|
|
10699
|
+
const request = (r.toApiJson) ? r : new ListBatchAvailableTimeSlotsForRescheduleRequest(r);
|
|
10700
|
+
return this.http.post(this._host + "/meetings.v1.MeetingGuest/ListBatchAvailableTimeSlotsForReschedule", request.toApiJson(), this.apiOptions())
|
|
10701
|
+
.pipe(map(resp => ListBatchAvailableTimeSlotsResponse.fromProto(resp)));
|
|
10702
|
+
}
|
|
10565
10703
|
bookBatchMeeting(r) {
|
|
10566
10704
|
const request = (r.toApiJson) ? r : new BookBatchMeetingRequest(r);
|
|
10567
10705
|
return this.http.post(this._host + "/meetings.v1.MeetingGuest/BookBatchMeeting", request.toApiJson(), this.apiOptions())
|
|
@@ -10758,6 +10896,11 @@ class MeetingHostApiService {
|
|
|
10758
10896
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostListBatchAvailableTimeSlots", request.toApiJson(), this.apiOptions())
|
|
10759
10897
|
.pipe(map(resp => HostListBatchAvailableTimeSlotsResponse.fromProto(resp)));
|
|
10760
10898
|
}
|
|
10899
|
+
hostListBatchAvailableTimeSlotsForReschedule(r) {
|
|
10900
|
+
const request = (r.toApiJson) ? r : new HostListBatchAvailableTimeSlotsForRescheduleRequest(r);
|
|
10901
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/HostListBatchAvailableTimeSlotsForReschedule", request.toApiJson(), this.apiOptions())
|
|
10902
|
+
.pipe(map(resp => HostListBatchAvailableTimeSlotsResponse.fromProto(resp)));
|
|
10903
|
+
}
|
|
10761
10904
|
getMeetingType(r) {
|
|
10762
10905
|
const request = (r.toApiJson) ? r : new HostGetMeetingTypeRequest(r);
|
|
10763
10906
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetMeetingType", request.toApiJson(), this.apiOptions())
|
|
@@ -11059,6 +11202,9 @@ function MeetingTypeFromApi(req) {
|
|
|
11059
11202
|
isEmailRequired: req.meetingTypeApi.isEmailRequired || false,
|
|
11060
11203
|
isPhoneNumberRequired: req.meetingTypeApi.isPhoneNumberRequired || false,
|
|
11061
11204
|
notificationType: req.meetingTypeApi.notificationType || NotificationType.EMAIL,
|
|
11205
|
+
redirectEnabled: req.meetingTypeApi.redirectEnabled || false,
|
|
11206
|
+
redirectUrl: req.meetingTypeApi.redirectUrl || "",
|
|
11207
|
+
redirectDelaySeconds: req.meetingTypeApi.redirectDelaySeconds || 0,
|
|
11062
11208
|
};
|
|
11063
11209
|
}
|
|
11064
11210
|
function MeetingTypeToApi(req) {
|
|
@@ -11099,6 +11245,9 @@ function MeetingTypeToApi(req) {
|
|
|
11099
11245
|
isEmailRequired: m.isEmailRequired || false,
|
|
11100
11246
|
isPhoneNumberRequired: m.isPhoneNumberRequired || false,
|
|
11101
11247
|
notificationType: m.notificationType || NotificationType.EMAIL,
|
|
11248
|
+
redirectEnabled: m.redirectEnabled || false,
|
|
11249
|
+
redirectUrl: m.redirectUrl || undefined,
|
|
11250
|
+
redirectDelaySeconds: m.redirectDelaySeconds || 0,
|
|
11102
11251
|
};
|
|
11103
11252
|
}
|
|
11104
11253
|
|
|
@@ -11355,6 +11504,9 @@ function GroupTypeToAPi(req) {
|
|
|
11355
11504
|
associations: m.associations ? m.associations.map(AssociationTypeToApi) : undefined,
|
|
11356
11505
|
hexColor: m.hexColor || undefined,
|
|
11357
11506
|
isBatchBookingEnabled: m.isBatchBookingEnabled || undefined,
|
|
11507
|
+
redirectEnabled: m.redirectEnabled || false,
|
|
11508
|
+
redirectUrl: m.redirectUrl || undefined,
|
|
11509
|
+
redirectDelaySeconds: m.redirectDelaySeconds || 0,
|
|
11358
11510
|
};
|
|
11359
11511
|
}
|
|
11360
11512
|
function ServiceTypeToApi(req) {
|
|
@@ -11371,6 +11523,9 @@ function ServiceTypeToApi(req) {
|
|
|
11371
11523
|
associations: m.associations ? m.associations.map(AssociationTypeToApi) : undefined,
|
|
11372
11524
|
hexColor: m.hexColor || undefined,
|
|
11373
11525
|
isBatchBookingEnabled: m.isBatchBookingEnabled || undefined,
|
|
11526
|
+
redirectEnabled: m.redirectEnabled || false,
|
|
11527
|
+
redirectUrl: m.redirectUrl || undefined,
|
|
11528
|
+
redirectDelaySeconds: m.redirectDelaySeconds || 0,
|
|
11374
11529
|
};
|
|
11375
11530
|
}
|
|
11376
11531
|
function AssociationTypeToApi(association) {
|
|
@@ -11417,6 +11572,9 @@ function GroupFromApi(req) {
|
|
|
11417
11572
|
hexColor: req.groupApi.hexColor || '',
|
|
11418
11573
|
bookingUrl: bookingUrl,
|
|
11419
11574
|
isBatchBookingEnabled: req.groupApi.isBatchBookingEnabled || false,
|
|
11575
|
+
redirectEnabled: req.groupApi.redirectEnabled || false,
|
|
11576
|
+
redirectUrl: req.groupApi.redirectUrl || "",
|
|
11577
|
+
redirectDelaySeconds: req.groupApi.redirectDelaySeconds || 0,
|
|
11420
11578
|
};
|
|
11421
11579
|
}
|
|
11422
11580
|
function getBookingURL(environment, slug, calendarId) {
|
|
@@ -11444,6 +11602,9 @@ function ServiceFromApi(req) {
|
|
|
11444
11602
|
hexColor: req.serviceApi.hexColor || '',
|
|
11445
11603
|
bookingUrl: bookingUrl,
|
|
11446
11604
|
isBatchBookingEnabled: req.serviceApi.isBatchBookingEnabled || false,
|
|
11605
|
+
redirectEnabled: req.serviceApi.redirectEnabled || false,
|
|
11606
|
+
redirectUrl: req.serviceApi.redirectUrl || "",
|
|
11607
|
+
redirectDelaySeconds: req.serviceApi.redirectDelaySeconds || 0,
|
|
11447
11608
|
};
|
|
11448
11609
|
}
|
|
11449
11610
|
|
|
@@ -11603,6 +11764,23 @@ class GuestService {
|
|
|
11603
11764
|
return [];
|
|
11604
11765
|
}));
|
|
11605
11766
|
}
|
|
11767
|
+
// listBatchAvailableTimeSlotsForReschedule returns valid chain start times for rescheduling an
|
|
11768
|
+
// existing meeting or booking group (id is a meeting_id or BG- group id). Config is resolved from
|
|
11769
|
+
// the booked record(s) rather than the current event-type settings.
|
|
11770
|
+
listBatchAvailableTimeSlotsForReschedule(req) {
|
|
11771
|
+
return this.guestAPIService.listBatchAvailableTimeSlotsForReschedule(req).pipe(map((resp) => {
|
|
11772
|
+
if (resp.timeSlots?.length) {
|
|
11773
|
+
return resp.timeSlots.map((ts) => TimeSpanFromApi(ts));
|
|
11774
|
+
}
|
|
11775
|
+
if (resp.isoTimeSlots?.length) {
|
|
11776
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
11777
|
+
start: new Date(iso.start),
|
|
11778
|
+
end: new Date(iso.end),
|
|
11779
|
+
}));
|
|
11780
|
+
}
|
|
11781
|
+
return [];
|
|
11782
|
+
}));
|
|
11783
|
+
}
|
|
11606
11784
|
bookBatchMeeting(req) {
|
|
11607
11785
|
return this.guestAPIService.bookBatchMeeting({
|
|
11608
11786
|
...req,
|
|
@@ -12026,6 +12204,22 @@ class HostService {
|
|
|
12026
12204
|
return [];
|
|
12027
12205
|
}));
|
|
12028
12206
|
}
|
|
12207
|
+
// hostListBatchAvailableTimeSlotsForReschedule returns valid chain start times for rescheduling
|
|
12208
|
+
// an existing meeting or booking group (id is a meeting_id or BG- group id). Config is resolved
|
|
12209
|
+
// from the booked record(s) rather than the current event-type settings.
|
|
12210
|
+
hostListBatchAvailableTimeSlotsForReschedule(req) {
|
|
12211
|
+
return this.hostAPIService
|
|
12212
|
+
.hostListBatchAvailableTimeSlotsForReschedule(req)
|
|
12213
|
+
.pipe(map((resp) => {
|
|
12214
|
+
if (resp.isoTimeSlots?.length) {
|
|
12215
|
+
return resp.isoTimeSlots.map((iso) => ({
|
|
12216
|
+
start: new Date(iso.start),
|
|
12217
|
+
end: new Date(iso.end),
|
|
12218
|
+
}));
|
|
12219
|
+
}
|
|
12220
|
+
return [];
|
|
12221
|
+
}));
|
|
12222
|
+
}
|
|
12029
12223
|
// createDefaultMeetingTypes will create what Meeting Scheduler deems to be the default meeting types.
|
|
12030
12224
|
// If the calendar already has meeting types, this is guaranteed to be a no-op.
|
|
12031
12225
|
createDefaultMeetingTypes(req) {
|