@vendasta/meetings 0.76.0 → 0.77.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.
- package/esm2020/lib/_internal/conversation-analysis.api.service.mjs +8 -7
- package/esm2020/lib/_internal/enums/index.mjs +1 -1
- package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +18 -8
- package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +119 -21
- package/esm2020/lib/_internal/zoom.api.service.mjs +8 -7
- package/esm2020/lib/host/host.service.mjs +7 -1
- package/esm2020/lib/index.mjs +2 -2
- package/fesm2015/vendasta-meetings.mjs +167 -53
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +167 -53
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/conversation-analysis.api.service.d.ts +5 -2
- package/lib/_internal/google-meet.api.service.d.ts +5 -2
- package/lib/_internal/interfaces/index.d.ts +1 -2
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +26 -7
- package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
- package/lib/_internal/meeting-host.api.service.d.ts +9 -5
- package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/meeting-host.d.ts +47 -16
- package/lib/_internal/zoom.api.service.d.ts +5 -2
- package/lib/host/host.service.d.ts +4 -1
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
- package/esm2020/lib/_internal/interfaces/dayofweek.interface.mjs +0 -8
- package/lib/_internal/interfaces/dayofweek.interface.d.ts +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
3
|
import { throwError, of } from 'rxjs';
|
|
4
4
|
import { map, mapTo } from 'rxjs/operators';
|
|
5
|
-
import
|
|
5
|
+
import * as i1 from '@angular/common/http';
|
|
6
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
6
7
|
|
|
7
8
|
// *********************************
|
|
8
9
|
// Code generated by sdkgen
|
|
@@ -2409,6 +2410,29 @@ function enumStringToValue$2(enumRef, value) {
|
|
|
2409
2410
|
}
|
|
2410
2411
|
return enumRef[value];
|
|
2411
2412
|
}
|
|
2413
|
+
class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
|
|
2414
|
+
static fromProto(proto) {
|
|
2415
|
+
let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
|
|
2416
|
+
m = Object.assign(m, proto);
|
|
2417
|
+
return m;
|
|
2418
|
+
}
|
|
2419
|
+
constructor(kwargs) {
|
|
2420
|
+
if (!kwargs) {
|
|
2421
|
+
return;
|
|
2422
|
+
}
|
|
2423
|
+
Object.assign(this, kwargs);
|
|
2424
|
+
}
|
|
2425
|
+
toApiJson() {
|
|
2426
|
+
const toReturn = {};
|
|
2427
|
+
if (typeof this.key !== 'undefined') {
|
|
2428
|
+
toReturn['key'] = this.key;
|
|
2429
|
+
}
|
|
2430
|
+
if (typeof this.value !== 'undefined') {
|
|
2431
|
+
toReturn['value'] = this.value;
|
|
2432
|
+
}
|
|
2433
|
+
return toReturn;
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2412
2436
|
class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
2413
2437
|
static fromProto(proto) {
|
|
2414
2438
|
let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
|
|
@@ -2432,9 +2456,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
|
|
|
2432
2456
|
return toReturn;
|
|
2433
2457
|
}
|
|
2434
2458
|
}
|
|
2435
|
-
class
|
|
2459
|
+
class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
|
|
2436
2460
|
static fromProto(proto) {
|
|
2437
|
-
let m = new
|
|
2461
|
+
let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
|
|
2438
2462
|
m = Object.assign(m, proto);
|
|
2439
2463
|
return m;
|
|
2440
2464
|
}
|
|
@@ -2897,13 +2921,10 @@ class EnsurePersonalCalendarExistsResponse {
|
|
|
2897
2921
|
return toReturn;
|
|
2898
2922
|
}
|
|
2899
2923
|
}
|
|
2900
|
-
class
|
|
2924
|
+
class ListAvailabilityRequestFilters {
|
|
2901
2925
|
static fromProto(proto) {
|
|
2902
|
-
let m = new
|
|
2926
|
+
let m = new ListAvailabilityRequestFilters();
|
|
2903
2927
|
m = Object.assign(m, proto);
|
|
2904
|
-
if (proto.timeSpan) {
|
|
2905
|
-
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
2906
|
-
}
|
|
2907
2928
|
return m;
|
|
2908
2929
|
}
|
|
2909
2930
|
constructor(kwargs) {
|
|
@@ -2914,22 +2935,22 @@ class ListBookedMeetingsRequestFilters {
|
|
|
2914
2935
|
}
|
|
2915
2936
|
toApiJson() {
|
|
2916
2937
|
const toReturn = {};
|
|
2917
|
-
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
2918
|
-
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
2919
|
-
}
|
|
2920
2938
|
if (typeof this.hostId !== 'undefined') {
|
|
2921
2939
|
toReturn['hostId'] = this.hostId;
|
|
2922
2940
|
}
|
|
2923
|
-
if (typeof this.
|
|
2924
|
-
toReturn['
|
|
2941
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
2942
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
2925
2943
|
}
|
|
2926
2944
|
return toReturn;
|
|
2927
2945
|
}
|
|
2928
2946
|
}
|
|
2929
|
-
class
|
|
2947
|
+
class ListBookedMeetingsRequestFilters {
|
|
2930
2948
|
static fromProto(proto) {
|
|
2931
|
-
let m = new
|
|
2949
|
+
let m = new ListBookedMeetingsRequestFilters();
|
|
2932
2950
|
m = Object.assign(m, proto);
|
|
2951
|
+
if (proto.timeSpan) {
|
|
2952
|
+
m.timeSpan = DateRange.fromProto(proto.timeSpan);
|
|
2953
|
+
}
|
|
2933
2954
|
return m;
|
|
2934
2955
|
}
|
|
2935
2956
|
constructor(kwargs) {
|
|
@@ -2940,11 +2961,14 @@ class ListAvailabilityRequestFilters {
|
|
|
2940
2961
|
}
|
|
2941
2962
|
toApiJson() {
|
|
2942
2963
|
const toReturn = {};
|
|
2964
|
+
if (typeof this.meetingTypeIds !== 'undefined') {
|
|
2965
|
+
toReturn['meetingTypeIds'] = this.meetingTypeIds;
|
|
2966
|
+
}
|
|
2943
2967
|
if (typeof this.hostId !== 'undefined') {
|
|
2944
2968
|
toReturn['hostId'] = this.hostId;
|
|
2945
2969
|
}
|
|
2946
|
-
if (typeof this.
|
|
2947
|
-
toReturn['
|
|
2970
|
+
if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
|
|
2971
|
+
toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
|
|
2948
2972
|
}
|
|
2949
2973
|
return toReturn;
|
|
2950
2974
|
}
|
|
@@ -3320,6 +3344,55 @@ class HostListMeetingTypesResponse {
|
|
|
3320
3344
|
return toReturn;
|
|
3321
3345
|
}
|
|
3322
3346
|
}
|
|
3347
|
+
class IsCalendarConfiguredRequest {
|
|
3348
|
+
static fromProto(proto) {
|
|
3349
|
+
let m = new IsCalendarConfiguredRequest();
|
|
3350
|
+
m = Object.assign(m, proto);
|
|
3351
|
+
if (proto.applicationContextProperties) {
|
|
3352
|
+
m.applicationContextProperties = Object.keys(proto.applicationContextProperties).reduce((obj, k) => { obj[k] = proto.applicationContextProperties[k]; return obj; }, {});
|
|
3353
|
+
}
|
|
3354
|
+
return m;
|
|
3355
|
+
}
|
|
3356
|
+
constructor(kwargs) {
|
|
3357
|
+
if (!kwargs) {
|
|
3358
|
+
return;
|
|
3359
|
+
}
|
|
3360
|
+
Object.assign(this, kwargs);
|
|
3361
|
+
}
|
|
3362
|
+
toApiJson() {
|
|
3363
|
+
const toReturn = {};
|
|
3364
|
+
if (typeof this.applicationContextProperties !== 'undefined' && this.applicationContextProperties !== null) {
|
|
3365
|
+
toReturn['applicationContextProperties'] = 'toApiJson' in this.applicationContextProperties ? this.applicationContextProperties.toApiJson() : this.applicationContextProperties;
|
|
3366
|
+
}
|
|
3367
|
+
if (typeof this.userId !== 'undefined') {
|
|
3368
|
+
toReturn['userId'] = this.userId;
|
|
3369
|
+
}
|
|
3370
|
+
return toReturn;
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
class IsCalendarConfiguredResponse {
|
|
3374
|
+
static fromProto(proto) {
|
|
3375
|
+
let m = new IsCalendarConfiguredResponse();
|
|
3376
|
+
m = Object.assign(m, proto);
|
|
3377
|
+
return m;
|
|
3378
|
+
}
|
|
3379
|
+
constructor(kwargs) {
|
|
3380
|
+
if (!kwargs) {
|
|
3381
|
+
return;
|
|
3382
|
+
}
|
|
3383
|
+
Object.assign(this, kwargs);
|
|
3384
|
+
}
|
|
3385
|
+
toApiJson() {
|
|
3386
|
+
const toReturn = {};
|
|
3387
|
+
if (typeof this.isConfigured !== 'undefined') {
|
|
3388
|
+
toReturn['isConfigured'] = this.isConfigured;
|
|
3389
|
+
}
|
|
3390
|
+
if (typeof this.calendarId !== 'undefined') {
|
|
3391
|
+
toReturn['calendarId'] = this.calendarId;
|
|
3392
|
+
}
|
|
3393
|
+
return toReturn;
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3323
3396
|
class IsHostConfiguredRequest {
|
|
3324
3397
|
static fromProto(proto) {
|
|
3325
3398
|
let m = new IsHostConfiguredRequest();
|
|
@@ -3594,9 +3667,9 @@ class MeetingTypeList {
|
|
|
3594
3667
|
return toReturn;
|
|
3595
3668
|
}
|
|
3596
3669
|
}
|
|
3597
|
-
class
|
|
3670
|
+
class UpdateMeetingMetadataRequestMetadataEntry {
|
|
3598
3671
|
static fromProto(proto) {
|
|
3599
|
-
let m = new
|
|
3672
|
+
let m = new UpdateMeetingMetadataRequestMetadataEntry();
|
|
3600
3673
|
m = Object.assign(m, proto);
|
|
3601
3674
|
return m;
|
|
3602
3675
|
}
|
|
@@ -3617,9 +3690,9 @@ class MeetingMetadataEntry {
|
|
|
3617
3690
|
return toReturn;
|
|
3618
3691
|
}
|
|
3619
3692
|
}
|
|
3620
|
-
class
|
|
3693
|
+
class MeetingMetadataEntry {
|
|
3621
3694
|
static fromProto(proto) {
|
|
3622
|
-
let m = new
|
|
3695
|
+
let m = new MeetingMetadataEntry();
|
|
3623
3696
|
m = Object.assign(m, proto);
|
|
3624
3697
|
return m;
|
|
3625
3698
|
}
|
|
@@ -3666,6 +3739,32 @@ class RescheduleMeetingRequest {
|
|
|
3666
3739
|
return toReturn;
|
|
3667
3740
|
}
|
|
3668
3741
|
}
|
|
3742
|
+
class SendMeetingRequestEmailRequest {
|
|
3743
|
+
static fromProto(proto) {
|
|
3744
|
+
let m = new SendMeetingRequestEmailRequest();
|
|
3745
|
+
m = Object.assign(m, proto);
|
|
3746
|
+
return m;
|
|
3747
|
+
}
|
|
3748
|
+
constructor(kwargs) {
|
|
3749
|
+
if (!kwargs) {
|
|
3750
|
+
return;
|
|
3751
|
+
}
|
|
3752
|
+
Object.assign(this, kwargs);
|
|
3753
|
+
}
|
|
3754
|
+
toApiJson() {
|
|
3755
|
+
const toReturn = {};
|
|
3756
|
+
if (typeof this.contactId !== 'undefined') {
|
|
3757
|
+
toReturn['contactId'] = this.contactId;
|
|
3758
|
+
}
|
|
3759
|
+
if (typeof this.userId !== 'undefined') {
|
|
3760
|
+
toReturn['userId'] = this.userId;
|
|
3761
|
+
}
|
|
3762
|
+
if (typeof this.meetingTypeId !== 'undefined') {
|
|
3763
|
+
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
3764
|
+
}
|
|
3765
|
+
return toReturn;
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3669
3768
|
class SetGeneralAvailabilityRequest {
|
|
3670
3769
|
static fromProto(proto) {
|
|
3671
3770
|
let m = new SetGeneralAvailabilityRequest();
|
|
@@ -4039,9 +4138,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4039
4138
|
|
|
4040
4139
|
// *********************************
|
|
4041
4140
|
class MeetingSourceAPIApiService {
|
|
4042
|
-
constructor() {
|
|
4043
|
-
this.
|
|
4044
|
-
this.
|
|
4141
|
+
constructor(http, hostService) {
|
|
4142
|
+
this.http = http;
|
|
4143
|
+
this.hostService = hostService;
|
|
4045
4144
|
this._host = this.hostService.hostWithScheme;
|
|
4046
4145
|
}
|
|
4047
4146
|
apiOptions() {
|
|
@@ -4058,18 +4157,18 @@ class MeetingSourceAPIApiService {
|
|
|
4058
4157
|
.pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
|
|
4059
4158
|
}
|
|
4060
4159
|
}
|
|
4061
|
-
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4160
|
+
MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4062
4161
|
MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
|
|
4063
4162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
|
|
4064
4163
|
type: Injectable,
|
|
4065
4164
|
args: [{ providedIn: 'root' }]
|
|
4066
|
-
}] });
|
|
4165
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4067
4166
|
|
|
4068
4167
|
// *********************************
|
|
4069
4168
|
class ZoomApiService {
|
|
4070
|
-
constructor() {
|
|
4071
|
-
this.
|
|
4072
|
-
this.
|
|
4169
|
+
constructor(http, hostService) {
|
|
4170
|
+
this.http = http;
|
|
4171
|
+
this.hostService = hostService;
|
|
4073
4172
|
this._host = this.hostService.hostWithScheme;
|
|
4074
4173
|
}
|
|
4075
4174
|
apiOptions() {
|
|
@@ -4086,18 +4185,18 @@ class ZoomApiService {
|
|
|
4086
4185
|
.pipe(map(resp => CreateZoomMeetingResponse.fromProto(resp)));
|
|
4087
4186
|
}
|
|
4088
4187
|
}
|
|
4089
|
-
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4188
|
+
ZoomApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4090
4189
|
ZoomApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, providedIn: 'root' });
|
|
4091
4190
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ZoomApiService, decorators: [{
|
|
4092
4191
|
type: Injectable,
|
|
4093
4192
|
args: [{ providedIn: 'root' }]
|
|
4094
|
-
}] });
|
|
4193
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4095
4194
|
|
|
4096
4195
|
// *********************************
|
|
4097
4196
|
class GoogleMeetApiService {
|
|
4098
|
-
constructor() {
|
|
4099
|
-
this.
|
|
4100
|
-
this.
|
|
4197
|
+
constructor(http, hostService) {
|
|
4198
|
+
this.http = http;
|
|
4199
|
+
this.hostService = hostService;
|
|
4101
4200
|
this._host = this.hostService.hostWithScheme;
|
|
4102
4201
|
}
|
|
4103
4202
|
apiOptions() {
|
|
@@ -4114,12 +4213,12 @@ class GoogleMeetApiService {
|
|
|
4114
4213
|
.pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
|
|
4115
4214
|
}
|
|
4116
4215
|
}
|
|
4117
|
-
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4216
|
+
GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4118
4217
|
GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
|
|
4119
4218
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
|
|
4120
4219
|
type: Injectable,
|
|
4121
4220
|
args: [{ providedIn: 'root' }]
|
|
4122
|
-
}] });
|
|
4221
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4123
4222
|
|
|
4124
4223
|
function generateMeetingPassword() {
|
|
4125
4224
|
const zoomMaxLength = 10;
|
|
@@ -4277,9 +4376,9 @@ function createMeetInstantMeetingRequest(meetingTitle, startDateTime, attendees)
|
|
|
4277
4376
|
|
|
4278
4377
|
// *********************************
|
|
4279
4378
|
class ConversationAnalysisApiService {
|
|
4280
|
-
constructor() {
|
|
4281
|
-
this.
|
|
4282
|
-
this.
|
|
4379
|
+
constructor(http, hostService) {
|
|
4380
|
+
this.http = http;
|
|
4381
|
+
this.hostService = hostService;
|
|
4283
4382
|
this._host = this.hostService.hostWithScheme;
|
|
4284
4383
|
}
|
|
4285
4384
|
apiOptions() {
|
|
@@ -4296,18 +4395,18 @@ class ConversationAnalysisApiService {
|
|
|
4296
4395
|
.pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
|
|
4297
4396
|
}
|
|
4298
4397
|
}
|
|
4299
|
-
ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4398
|
+
ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4300
4399
|
ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
|
|
4301
4400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, decorators: [{
|
|
4302
4401
|
type: Injectable,
|
|
4303
4402
|
args: [{ providedIn: 'root' }]
|
|
4304
|
-
}] });
|
|
4403
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4305
4404
|
|
|
4306
4405
|
// *********************************
|
|
4307
4406
|
class MeetingGuestApiService {
|
|
4308
|
-
constructor() {
|
|
4309
|
-
this.
|
|
4310
|
-
this.
|
|
4407
|
+
constructor(http, hostService) {
|
|
4408
|
+
this.http = http;
|
|
4409
|
+
this.hostService = hostService;
|
|
4311
4410
|
this._host = this.hostService.hostWithScheme;
|
|
4312
4411
|
}
|
|
4313
4412
|
apiOptions() {
|
|
@@ -4367,18 +4466,18 @@ class MeetingGuestApiService {
|
|
|
4367
4466
|
.pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
|
|
4368
4467
|
}
|
|
4369
4468
|
}
|
|
4370
|
-
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4469
|
+
MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4371
4470
|
MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
|
|
4372
4471
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
|
|
4373
4472
|
type: Injectable,
|
|
4374
4473
|
args: [{ providedIn: 'root' }]
|
|
4375
|
-
}] });
|
|
4474
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4376
4475
|
|
|
4377
4476
|
// *********************************
|
|
4378
4477
|
class MeetingHostApiService {
|
|
4379
|
-
constructor() {
|
|
4380
|
-
this.
|
|
4381
|
-
this.
|
|
4478
|
+
constructor(http, hostService) {
|
|
4479
|
+
this.http = http;
|
|
4480
|
+
this.hostService = hostService;
|
|
4382
4481
|
this._host = this.hostService.hostWithScheme;
|
|
4383
4482
|
}
|
|
4384
4483
|
apiOptions() {
|
|
@@ -4523,13 +4622,22 @@ class MeetingHostApiService {
|
|
|
4523
4622
|
const request = (r.toApiJson) ? r : new CreateDefaultMeetingTypesRequest(r);
|
|
4524
4623
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CreateDefaultMeetingTypes", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
4525
4624
|
}
|
|
4625
|
+
sendMeetingRequestEmail(r) {
|
|
4626
|
+
const request = (r.toApiJson) ? r : new SendMeetingRequestEmailRequest(r);
|
|
4627
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/SendMeetingRequestEmail", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
4628
|
+
}
|
|
4629
|
+
isCalendarConfigured(r) {
|
|
4630
|
+
const request = (r.toApiJson) ? r : new IsCalendarConfiguredRequest(r);
|
|
4631
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/IsCalendarConfigured", request.toApiJson(), this.apiOptions())
|
|
4632
|
+
.pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
|
|
4633
|
+
}
|
|
4526
4634
|
}
|
|
4527
|
-
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4635
|
+
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [{ token: i1.HttpClient }, { token: HostService$1 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4528
4636
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
4529
4637
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
|
|
4530
4638
|
type: Injectable,
|
|
4531
4639
|
args: [{ providedIn: 'root' }]
|
|
4532
|
-
}] });
|
|
4640
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
|
|
4533
4641
|
|
|
4534
4642
|
// *********************************
|
|
4535
4643
|
|
|
@@ -5239,6 +5347,12 @@ class HostService {
|
|
|
5239
5347
|
});
|
|
5240
5348
|
}));
|
|
5241
5349
|
}
|
|
5350
|
+
IsCalendarConfigured(req) {
|
|
5351
|
+
return this.hostAPIService.isCalendarConfigured(req);
|
|
5352
|
+
}
|
|
5353
|
+
sendMeetingRequestEmail(req) {
|
|
5354
|
+
return this.hostAPIService.sendMeetingRequestEmail(req);
|
|
5355
|
+
}
|
|
5242
5356
|
}
|
|
5243
5357
|
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5244
5358
|
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
@@ -5268,5 +5382,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
5268
5382
|
* Generated bundle index. Do not edit.
|
|
5269
5383
|
*/
|
|
5270
5384
|
|
|
5271
|
-
export { CalendarType, Contact, ConversationAnalysisService, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
5385
|
+
export { CalendarType, Contact, ConversationAnalysisService, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, TranscriptSource, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
5272
5386
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|