@vendasta/meetings 0.76.1 → 0.78.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.
Files changed (38) hide show
  1. package/esm2020/lib/_internal/conversation-analysis.api.service.mjs +12 -2
  2. package/esm2020/lib/_internal/enums/conversation-analysis.enum.mjs +2 -1
  3. package/esm2020/lib/_internal/enums/index.mjs +1 -1
  4. package/esm2020/lib/_internal/google-meet.api.service.mjs +8 -7
  5. package/esm2020/lib/_internal/interfaces/conversation-analysis.interface.mjs +1 -7
  6. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/meeting-guest.api.service.mjs +8 -7
  9. package/esm2020/lib/_internal/meeting-host.api.service.mjs +18 -8
  10. package/esm2020/lib/_internal/meeting-source-api.api.service.mjs +8 -7
  11. package/esm2020/lib/_internal/objects/conversation-analysis.mjs +191 -1
  12. package/esm2020/lib/_internal/objects/index.mjs +3 -3
  13. package/esm2020/lib/_internal/objects/meeting-host.mjs +119 -21
  14. package/esm2020/lib/conversation_analysis/conversation-analysis.service.mjs +16 -1
  15. package/esm2020/lib/host/host.service.mjs +7 -1
  16. package/esm2020/lib/index.mjs +2 -2
  17. package/fesm2015/vendasta-meetings.mjs +374 -42
  18. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  19. package/fesm2020/vendasta-meetings.mjs +371 -42
  20. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  21. package/lib/_internal/conversation-analysis.api.service.d.ts +4 -2
  22. package/lib/_internal/enums/conversation-analysis.enum.d.ts +2 -1
  23. package/lib/_internal/google-meet.api.service.d.ts +5 -2
  24. package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +34 -0
  25. package/lib/_internal/interfaces/index.d.ts +2 -3
  26. package/lib/_internal/interfaces/meeting-host.interface.d.ts +26 -7
  27. package/lib/_internal/meeting-guest.api.service.d.ts +5 -3
  28. package/lib/_internal/meeting-host.api.service.d.ts +9 -5
  29. package/lib/_internal/meeting-source-api.api.service.d.ts +5 -2
  30. package/lib/_internal/objects/conversation-analysis.d.ts +52 -0
  31. package/lib/_internal/objects/index.d.ts +2 -2
  32. package/lib/_internal/objects/meeting-host.d.ts +47 -16
  33. package/lib/conversation_analysis/conversation-analysis.service.d.ts +4 -1
  34. package/lib/host/host.service.d.ts +4 -1
  35. package/lib/index.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/esm2020/lib/_internal/interfaces/dayofweek.interface.mjs +0 -8
  38. package/lib/_internal/interfaces/dayofweek.interface.d.ts +0 -1
@@ -2,7 +2,8 @@ import * as i0 from '@angular/core';
2
2
  import { Injectable, inject } from '@angular/core';
3
3
  import { throwError, of } from 'rxjs';
4
4
  import { map, mapTo } from 'rxjs/operators';
5
- import { HttpClient, HttpHeaders } from '@angular/common/http';
5
+ import * as i1 from '@angular/common/http';
6
+ import { HttpHeaders, HttpClient } from '@angular/common/http';
6
7
 
7
8
  // *********************************
8
9
  // Code generated by sdkgen
@@ -140,6 +141,7 @@ var TranscriptSource;
140
141
  (function (TranscriptSource) {
141
142
  TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_UNSPECIFIED"] = 0] = "TRANSCRIPT_SOURCE_UNSPECIFIED";
142
143
  TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_GOOGLE_MEET"] = 1] = "TRANSCRIPT_SOURCE_GOOGLE_MEET";
144
+ TranscriptSource[TranscriptSource["TRANSCRIPT_SOURCE_GONG"] = 2] = "TRANSCRIPT_SOURCE_GONG";
143
145
  })(TranscriptSource || (TranscriptSource = {}));
144
146
 
145
147
  // *********************************
@@ -2409,6 +2411,29 @@ function enumStringToValue$2(enumRef, value) {
2409
2411
  }
2410
2412
  return enumRef[value];
2411
2413
  }
2414
+ class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
2415
+ static fromProto(proto) {
2416
+ let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
2417
+ m = Object.assign(m, proto);
2418
+ return m;
2419
+ }
2420
+ constructor(kwargs) {
2421
+ if (!kwargs) {
2422
+ return;
2423
+ }
2424
+ Object.assign(this, kwargs);
2425
+ }
2426
+ toApiJson() {
2427
+ const toReturn = {};
2428
+ if (typeof this.key !== 'undefined') {
2429
+ toReturn['key'] = this.key;
2430
+ }
2431
+ if (typeof this.value !== 'undefined') {
2432
+ toReturn['value'] = this.value;
2433
+ }
2434
+ return toReturn;
2435
+ }
2436
+ }
2412
2437
  class BuildHostIdRequestApplicationContextPropertiesEntry {
2413
2438
  static fromProto(proto) {
2414
2439
  let m = new BuildHostIdRequestApplicationContextPropertiesEntry();
@@ -2432,9 +2457,9 @@ class BuildHostIdRequestApplicationContextPropertiesEntry {
2432
2457
  return toReturn;
2433
2458
  }
2434
2459
  }
2435
- class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry {
2460
+ class IsCalendarConfiguredRequestApplicationContextPropertiesEntry {
2436
2461
  static fromProto(proto) {
2437
- let m = new EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry();
2462
+ let m = new IsCalendarConfiguredRequestApplicationContextPropertiesEntry();
2438
2463
  m = Object.assign(m, proto);
2439
2464
  return m;
2440
2465
  }
@@ -2897,13 +2922,10 @@ class EnsurePersonalCalendarExistsResponse {
2897
2922
  return toReturn;
2898
2923
  }
2899
2924
  }
2900
- class ListBookedMeetingsRequestFilters {
2925
+ class ListAvailabilityRequestFilters {
2901
2926
  static fromProto(proto) {
2902
- let m = new ListBookedMeetingsRequestFilters();
2927
+ let m = new ListAvailabilityRequestFilters();
2903
2928
  m = Object.assign(m, proto);
2904
- if (proto.timeSpan) {
2905
- m.timeSpan = DateRange.fromProto(proto.timeSpan);
2906
- }
2907
2929
  return m;
2908
2930
  }
2909
2931
  constructor(kwargs) {
@@ -2914,22 +2936,22 @@ class ListBookedMeetingsRequestFilters {
2914
2936
  }
2915
2937
  toApiJson() {
2916
2938
  const toReturn = {};
2917
- if (typeof this.meetingTypeIds !== 'undefined') {
2918
- toReturn['meetingTypeIds'] = this.meetingTypeIds;
2919
- }
2920
2939
  if (typeof this.hostId !== 'undefined') {
2921
2940
  toReturn['hostId'] = this.hostId;
2922
2941
  }
2923
- if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
2924
- toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
2942
+ if (typeof this.meetingTypeId !== 'undefined') {
2943
+ toReturn['meetingTypeId'] = this.meetingTypeId;
2925
2944
  }
2926
2945
  return toReturn;
2927
2946
  }
2928
2947
  }
2929
- class ListAvailabilityRequestFilters {
2948
+ class ListBookedMeetingsRequestFilters {
2930
2949
  static fromProto(proto) {
2931
- let m = new ListAvailabilityRequestFilters();
2950
+ let m = new ListBookedMeetingsRequestFilters();
2932
2951
  m = Object.assign(m, proto);
2952
+ if (proto.timeSpan) {
2953
+ m.timeSpan = DateRange.fromProto(proto.timeSpan);
2954
+ }
2933
2955
  return m;
2934
2956
  }
2935
2957
  constructor(kwargs) {
@@ -2940,11 +2962,14 @@ class ListAvailabilityRequestFilters {
2940
2962
  }
2941
2963
  toApiJson() {
2942
2964
  const toReturn = {};
2965
+ if (typeof this.meetingTypeIds !== 'undefined') {
2966
+ toReturn['meetingTypeIds'] = this.meetingTypeIds;
2967
+ }
2943
2968
  if (typeof this.hostId !== 'undefined') {
2944
2969
  toReturn['hostId'] = this.hostId;
2945
2970
  }
2946
- if (typeof this.meetingTypeId !== 'undefined') {
2947
- toReturn['meetingTypeId'] = this.meetingTypeId;
2971
+ if (typeof this.timeSpan !== 'undefined' && this.timeSpan !== null) {
2972
+ toReturn['timeSpan'] = 'toApiJson' in this.timeSpan ? this.timeSpan.toApiJson() : this.timeSpan;
2948
2973
  }
2949
2974
  return toReturn;
2950
2975
  }
@@ -3320,6 +3345,55 @@ class HostListMeetingTypesResponse {
3320
3345
  return toReturn;
3321
3346
  }
3322
3347
  }
3348
+ class IsCalendarConfiguredRequest {
3349
+ static fromProto(proto) {
3350
+ let m = new IsCalendarConfiguredRequest();
3351
+ m = Object.assign(m, proto);
3352
+ if (proto.applicationContextProperties) {
3353
+ m.applicationContextProperties = Object.keys(proto.applicationContextProperties).reduce((obj, k) => { obj[k] = proto.applicationContextProperties[k]; return obj; }, {});
3354
+ }
3355
+ return m;
3356
+ }
3357
+ constructor(kwargs) {
3358
+ if (!kwargs) {
3359
+ return;
3360
+ }
3361
+ Object.assign(this, kwargs);
3362
+ }
3363
+ toApiJson() {
3364
+ const toReturn = {};
3365
+ if (typeof this.applicationContextProperties !== 'undefined' && this.applicationContextProperties !== null) {
3366
+ toReturn['applicationContextProperties'] = 'toApiJson' in this.applicationContextProperties ? this.applicationContextProperties.toApiJson() : this.applicationContextProperties;
3367
+ }
3368
+ if (typeof this.userId !== 'undefined') {
3369
+ toReturn['userId'] = this.userId;
3370
+ }
3371
+ return toReturn;
3372
+ }
3373
+ }
3374
+ class IsCalendarConfiguredResponse {
3375
+ static fromProto(proto) {
3376
+ let m = new IsCalendarConfiguredResponse();
3377
+ m = Object.assign(m, proto);
3378
+ return m;
3379
+ }
3380
+ constructor(kwargs) {
3381
+ if (!kwargs) {
3382
+ return;
3383
+ }
3384
+ Object.assign(this, kwargs);
3385
+ }
3386
+ toApiJson() {
3387
+ const toReturn = {};
3388
+ if (typeof this.isConfigured !== 'undefined') {
3389
+ toReturn['isConfigured'] = this.isConfigured;
3390
+ }
3391
+ if (typeof this.calendarId !== 'undefined') {
3392
+ toReturn['calendarId'] = this.calendarId;
3393
+ }
3394
+ return toReturn;
3395
+ }
3396
+ }
3323
3397
  class IsHostConfiguredRequest {
3324
3398
  static fromProto(proto) {
3325
3399
  let m = new IsHostConfiguredRequest();
@@ -3594,9 +3668,9 @@ class MeetingTypeList {
3594
3668
  return toReturn;
3595
3669
  }
3596
3670
  }
3597
- class MeetingMetadataEntry {
3671
+ class UpdateMeetingMetadataRequestMetadataEntry {
3598
3672
  static fromProto(proto) {
3599
- let m = new MeetingMetadataEntry();
3673
+ let m = new UpdateMeetingMetadataRequestMetadataEntry();
3600
3674
  m = Object.assign(m, proto);
3601
3675
  return m;
3602
3676
  }
@@ -3617,9 +3691,9 @@ class MeetingMetadataEntry {
3617
3691
  return toReturn;
3618
3692
  }
3619
3693
  }
3620
- class UpdateMeetingMetadataRequestMetadataEntry {
3694
+ class MeetingMetadataEntry {
3621
3695
  static fromProto(proto) {
3622
- let m = new UpdateMeetingMetadataRequestMetadataEntry();
3696
+ let m = new MeetingMetadataEntry();
3623
3697
  m = Object.assign(m, proto);
3624
3698
  return m;
3625
3699
  }
@@ -3666,6 +3740,32 @@ class RescheduleMeetingRequest {
3666
3740
  return toReturn;
3667
3741
  }
3668
3742
  }
3743
+ class SendMeetingRequestEmailRequest {
3744
+ static fromProto(proto) {
3745
+ let m = new SendMeetingRequestEmailRequest();
3746
+ m = Object.assign(m, proto);
3747
+ return m;
3748
+ }
3749
+ constructor(kwargs) {
3750
+ if (!kwargs) {
3751
+ return;
3752
+ }
3753
+ Object.assign(this, kwargs);
3754
+ }
3755
+ toApiJson() {
3756
+ const toReturn = {};
3757
+ if (typeof this.contactId !== 'undefined') {
3758
+ toReturn['contactId'] = this.contactId;
3759
+ }
3760
+ if (typeof this.userId !== 'undefined') {
3761
+ toReturn['userId'] = this.userId;
3762
+ }
3763
+ if (typeof this.meetingTypeId !== 'undefined') {
3764
+ toReturn['meetingTypeId'] = this.meetingTypeId;
3765
+ }
3766
+ return toReturn;
3767
+ }
3768
+ }
3669
3769
  class SetGeneralAvailabilityRequest {
3670
3770
  static fromProto(proto) {
3671
3771
  let m = new SetGeneralAvailabilityRequest();
@@ -3931,6 +4031,195 @@ class CreateRawTranscriptResponse {
3931
4031
  return toReturn;
3932
4032
  }
3933
4033
  }
4034
+ class ListProcessedTranscriptsRequestFilters {
4035
+ static fromProto(proto) {
4036
+ let m = new ListProcessedTranscriptsRequestFilters();
4037
+ m = Object.assign(m, proto);
4038
+ return m;
4039
+ }
4040
+ constructor(kwargs) {
4041
+ if (!kwargs) {
4042
+ return;
4043
+ }
4044
+ Object.assign(this, kwargs);
4045
+ }
4046
+ toApiJson() {
4047
+ const toReturn = {};
4048
+ if (typeof this.namespace !== 'undefined') {
4049
+ toReturn['namespace'] = this.namespace;
4050
+ }
4051
+ return toReturn;
4052
+ }
4053
+ }
4054
+ class GetProcessedTranscriptsRequest {
4055
+ static fromProto(proto) {
4056
+ let m = new GetProcessedTranscriptsRequest();
4057
+ m = Object.assign(m, proto);
4058
+ return m;
4059
+ }
4060
+ constructor(kwargs) {
4061
+ if (!kwargs) {
4062
+ return;
4063
+ }
4064
+ Object.assign(this, kwargs);
4065
+ }
4066
+ toApiJson() {
4067
+ const toReturn = {};
4068
+ if (typeof this.id !== 'undefined') {
4069
+ toReturn['id'] = this.id;
4070
+ }
4071
+ return toReturn;
4072
+ }
4073
+ }
4074
+ class GetProcessedTranscriptsResponse {
4075
+ static fromProto(proto) {
4076
+ let m = new GetProcessedTranscriptsResponse();
4077
+ m = Object.assign(m, proto);
4078
+ if (proto.processedTranscript) {
4079
+ m.processedTranscript = ProcessedTranscript.fromProto(proto.processedTranscript);
4080
+ }
4081
+ return m;
4082
+ }
4083
+ constructor(kwargs) {
4084
+ if (!kwargs) {
4085
+ return;
4086
+ }
4087
+ Object.assign(this, kwargs);
4088
+ }
4089
+ toApiJson() {
4090
+ const toReturn = {};
4091
+ if (typeof this.processedTranscript !== 'undefined' && this.processedTranscript !== null) {
4092
+ toReturn['processedTranscript'] = 'toApiJson' in this.processedTranscript ? this.processedTranscript.toApiJson() : this.processedTranscript;
4093
+ }
4094
+ return toReturn;
4095
+ }
4096
+ }
4097
+ class ListProcessedTranscriptsRequest {
4098
+ static fromProto(proto) {
4099
+ let m = new ListProcessedTranscriptsRequest();
4100
+ m = Object.assign(m, proto);
4101
+ if (proto.filters) {
4102
+ m.filters = ListProcessedTranscriptsRequestFilters.fromProto(proto.filters);
4103
+ }
4104
+ if (proto.pagingOptions) {
4105
+ m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
4106
+ }
4107
+ return m;
4108
+ }
4109
+ constructor(kwargs) {
4110
+ if (!kwargs) {
4111
+ return;
4112
+ }
4113
+ Object.assign(this, kwargs);
4114
+ }
4115
+ toApiJson() {
4116
+ const toReturn = {};
4117
+ if (typeof this.filters !== 'undefined' && this.filters !== null) {
4118
+ toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;
4119
+ }
4120
+ if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
4121
+ toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
4122
+ }
4123
+ return toReturn;
4124
+ }
4125
+ }
4126
+ class ListProcessedTranscriptsResponse {
4127
+ static fromProto(proto) {
4128
+ let m = new ListProcessedTranscriptsResponse();
4129
+ m = Object.assign(m, proto);
4130
+ if (proto.processedTranscripts) {
4131
+ m.processedTranscripts = proto.processedTranscripts.map(ProcessedTranscript.fromProto);
4132
+ }
4133
+ if (proto.metadata) {
4134
+ m.metadata = PagedResponseMetadata.fromProto(proto.metadata);
4135
+ }
4136
+ return m;
4137
+ }
4138
+ constructor(kwargs) {
4139
+ if (!kwargs) {
4140
+ return;
4141
+ }
4142
+ Object.assign(this, kwargs);
4143
+ }
4144
+ toApiJson() {
4145
+ const toReturn = {};
4146
+ if (typeof this.processedTranscripts !== 'undefined' && this.processedTranscripts !== null) {
4147
+ toReturn['processedTranscripts'] = 'toApiJson' in this.processedTranscripts ? this.processedTranscripts.toApiJson() : this.processedTranscripts;
4148
+ }
4149
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
4150
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
4151
+ }
4152
+ return toReturn;
4153
+ }
4154
+ }
4155
+ class ProcessedTranscript {
4156
+ static fromProto(proto) {
4157
+ let m = new ProcessedTranscript();
4158
+ m = Object.assign(m, proto);
4159
+ if (proto.source) {
4160
+ m.source = enumStringToValue$1(TranscriptSource, proto.source);
4161
+ }
4162
+ if (proto.sentiment) {
4163
+ m.sentiment = parseInt(proto.sentiment, 10);
4164
+ }
4165
+ if (proto.salesScore) {
4166
+ m.salesScore = parseInt(proto.salesScore, 10);
4167
+ }
4168
+ return m;
4169
+ }
4170
+ constructor(kwargs) {
4171
+ if (!kwargs) {
4172
+ return;
4173
+ }
4174
+ Object.assign(this, kwargs);
4175
+ }
4176
+ toApiJson() {
4177
+ const toReturn = {};
4178
+ if (typeof this.id !== 'undefined') {
4179
+ toReturn['id'] = this.id;
4180
+ }
4181
+ if (typeof this.namespace !== 'undefined') {
4182
+ toReturn['namespace'] = this.namespace;
4183
+ }
4184
+ if (typeof this.source !== 'undefined') {
4185
+ toReturn['source'] = this.source;
4186
+ }
4187
+ if (typeof this.title !== 'undefined') {
4188
+ toReturn['title'] = this.title;
4189
+ }
4190
+ if (typeof this.summary !== 'undefined') {
4191
+ toReturn['summary'] = this.summary;
4192
+ }
4193
+ if (typeof this.keywords !== 'undefined') {
4194
+ toReturn['keywords'] = this.keywords;
4195
+ }
4196
+ if (typeof this.keyTakeaways !== 'undefined') {
4197
+ toReturn['keyTakeaways'] = this.keyTakeaways;
4198
+ }
4199
+ if (typeof this.actionItems !== 'undefined') {
4200
+ toReturn['actionItems'] = this.actionItems;
4201
+ }
4202
+ if (typeof this.sentiment !== 'undefined') {
4203
+ toReturn['sentiment'] = this.sentiment;
4204
+ }
4205
+ if (typeof this.sentimentExplanation !== 'undefined') {
4206
+ toReturn['sentimentExplanation'] = this.sentimentExplanation;
4207
+ }
4208
+ if (typeof this.salesScore !== 'undefined') {
4209
+ toReturn['salesScore'] = this.salesScore;
4210
+ }
4211
+ if (typeof this.salesScoreExplanation !== 'undefined') {
4212
+ toReturn['salesScoreExplanation'] = this.salesScoreExplanation;
4213
+ }
4214
+ if (typeof this.analysingModelUsed !== 'undefined') {
4215
+ toReturn['analysingModelUsed'] = this.analysingModelUsed;
4216
+ }
4217
+ if (typeof this.promptUsed !== 'undefined') {
4218
+ toReturn['promptUsed'] = this.promptUsed;
4219
+ }
4220
+ return toReturn;
4221
+ }
4222
+ }
3934
4223
  class RawTranscript {
3935
4224
  static fromProto(proto) {
3936
4225
  let m = new RawTranscript();
@@ -4040,9 +4329,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4040
4329
 
4041
4330
  // *********************************
4042
4331
  class MeetingSourceAPIApiService {
4043
- constructor() {
4044
- this.hostService = inject(HostService$1);
4045
- this.http = inject(HttpClient);
4332
+ constructor(http, hostService) {
4333
+ this.http = http;
4334
+ this.hostService = hostService;
4046
4335
  this._host = this.hostService.hostWithScheme;
4047
4336
  }
4048
4337
  apiOptions() {
@@ -4059,12 +4348,12 @@ class MeetingSourceAPIApiService {
4059
4348
  .pipe(map(resp => MeetingSourceListResponse.fromProto(resp)));
4060
4349
  }
4061
4350
  }
4062
- MeetingSourceAPIApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4351
+ 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 });
4063
4352
  MeetingSourceAPIApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, providedIn: 'root' });
4064
4353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingSourceAPIApiService, decorators: [{
4065
4354
  type: Injectable,
4066
4355
  args: [{ providedIn: 'root' }]
4067
- }] });
4356
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4068
4357
 
4069
4358
  // *********************************
4070
4359
  class ZoomApiService {
@@ -4096,9 +4385,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4096
4385
 
4097
4386
  // *********************************
4098
4387
  class GoogleMeetApiService {
4099
- constructor() {
4100
- this.hostService = inject(HostService$1);
4101
- this.http = inject(HttpClient);
4388
+ constructor(http, hostService) {
4389
+ this.http = http;
4390
+ this.hostService = hostService;
4102
4391
  this._host = this.hostService.hostWithScheme;
4103
4392
  }
4104
4393
  apiOptions() {
@@ -4115,12 +4404,12 @@ class GoogleMeetApiService {
4115
4404
  .pipe(map(resp => GoogleMeetCreateMeetingResponse.fromProto(resp)));
4116
4405
  }
4117
4406
  }
4118
- GoogleMeetApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4407
+ 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 });
4119
4408
  GoogleMeetApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, providedIn: 'root' });
4120
4409
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: GoogleMeetApiService, decorators: [{
4121
4410
  type: Injectable,
4122
4411
  args: [{ providedIn: 'root' }]
4123
- }] });
4412
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4124
4413
 
4125
4414
  function generateMeetingPassword() {
4126
4415
  const zoomMaxLength = 10;
@@ -4512,6 +4801,16 @@ class ConversationAnalysisApiService {
4512
4801
  return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/CreateRawTranscript", request.toApiJson(), this.apiOptions())
4513
4802
  .pipe(map(resp => CreateRawTranscriptResponse.fromProto(resp)));
4514
4803
  }
4804
+ listProcessedTranscripts(r) {
4805
+ const request = (r.toApiJson) ? r : new ListProcessedTranscriptsRequest(r);
4806
+ return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/ListProcessedTranscripts", request.toApiJson(), this.apiOptions())
4807
+ .pipe(map(resp => ListProcessedTranscriptsResponse.fromProto(resp)));
4808
+ }
4809
+ getProcessedTranscripts(r) {
4810
+ const request = (r.toApiJson) ? r : new GetProcessedTranscriptsRequest(r);
4811
+ return this.http.post(this._host + "/meetings.v1.ConversationAnalysis/GetProcessedTranscripts", request.toApiJson(), this.apiOptions())
4812
+ .pipe(map(resp => GetProcessedTranscriptsResponse.fromProto(resp)));
4813
+ }
4515
4814
  }
4516
4815
  ConversationAnalysisApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4517
4816
  ConversationAnalysisApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisApiService, providedIn: 'root' });
@@ -4522,9 +4821,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4522
4821
 
4523
4822
  // *********************************
4524
4823
  class MeetingGuestApiService {
4525
- constructor() {
4526
- this.hostService = inject(HostService$1);
4527
- this.http = inject(HttpClient);
4824
+ constructor(http, hostService) {
4825
+ this.http = http;
4826
+ this.hostService = hostService;
4528
4827
  this._host = this.hostService.hostWithScheme;
4529
4828
  }
4530
4829
  apiOptions() {
@@ -4584,18 +4883,18 @@ class MeetingGuestApiService {
4584
4883
  .pipe(map(resp => GuestIsHostConfiguredResponse.fromProto(resp)));
4585
4884
  }
4586
4885
  }
4587
- MeetingGuestApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4886
+ 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 });
4588
4887
  MeetingGuestApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, providedIn: 'root' });
4589
4888
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingGuestApiService, decorators: [{
4590
4889
  type: Injectable,
4591
4890
  args: [{ providedIn: 'root' }]
4592
- }] });
4891
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4593
4892
 
4594
4893
  // *********************************
4595
4894
  class MeetingHostApiService {
4596
- constructor() {
4597
- this.hostService = inject(HostService$1);
4598
- this.http = inject(HttpClient);
4895
+ constructor(http, hostService) {
4896
+ this.http = http;
4897
+ this.hostService = hostService;
4599
4898
  this._host = this.hostService.hostWithScheme;
4600
4899
  }
4601
4900
  apiOptions() {
@@ -4740,13 +5039,22 @@ class MeetingHostApiService {
4740
5039
  const request = (r.toApiJson) ? r : new CreateDefaultMeetingTypesRequest(r);
4741
5040
  return this.http.post(this._host + "/meetings.v1.MeetingHost/CreateDefaultMeetingTypes", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
4742
5041
  }
5042
+ sendMeetingRequestEmail(r) {
5043
+ const request = (r.toApiJson) ? r : new SendMeetingRequestEmailRequest(r);
5044
+ return this.http.post(this._host + "/meetings.v1.MeetingHost/SendMeetingRequestEmail", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
5045
+ }
5046
+ isCalendarConfigured(r) {
5047
+ const request = (r.toApiJson) ? r : new IsCalendarConfiguredRequest(r);
5048
+ return this.http.post(this._host + "/meetings.v1.MeetingHost/IsCalendarConfigured", request.toApiJson(), this.apiOptions())
5049
+ .pipe(map(resp => IsCalendarConfiguredResponse.fromProto(resp)));
5050
+ }
4743
5051
  }
4744
- MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5052
+ 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 });
4745
5053
  MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
4746
5054
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, decorators: [{
4747
5055
  type: Injectable,
4748
5056
  args: [{ providedIn: 'root' }]
4749
- }] });
5057
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService$1 }]; } });
4750
5058
 
4751
5059
  // *********************************
4752
5060
 
@@ -5203,6 +5511,12 @@ class HostService {
5203
5511
  });
5204
5512
  }));
5205
5513
  }
5514
+ IsCalendarConfigured(req) {
5515
+ return this.hostAPIService.isCalendarConfigured(req);
5516
+ }
5517
+ sendMeetingRequestEmail(req) {
5518
+ return this.hostAPIService.sendMeetingRequestEmail(req);
5519
+ }
5206
5520
  }
5207
5521
  HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
5208
5522
  HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
@@ -5220,6 +5534,24 @@ class ConversationAnalysisService {
5220
5534
  rawTranscript: rawTranscript
5221
5535
  }).pipe(map(resp => resp === null || resp === void 0 ? void 0 : resp.id));
5222
5536
  }
5537
+ listProcessedTranscripts(filters, pagingOptions) {
5538
+ return this.conversationAnalysisApiService.listProcessedTranscripts({
5539
+ filters: filters,
5540
+ pagingOptions: pagingOptions,
5541
+ }).pipe(map(resp => {
5542
+ var _a, _b;
5543
+ return ({
5544
+ results: resp.processedTranscripts,
5545
+ nextCursor: (_a = resp.metadata) === null || _a === void 0 ? void 0 : _a.nextCursor,
5546
+ hasMore: (_b = resp.metadata) === null || _b === void 0 ? void 0 : _b.hasMore
5547
+ });
5548
+ }));
5549
+ }
5550
+ getProcessedTranscript(id) {
5551
+ return this.conversationAnalysisApiService.getProcessedTranscripts({
5552
+ id: id
5553
+ }).pipe(map(resp => resp.processedTranscript));
5554
+ }
5223
5555
  }
5224
5556
  ConversationAnalysisService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, deps: [{ token: ConversationAnalysisApiService }], target: i0.ɵɵFactoryTarget.Injectable });
5225
5557
  ConversationAnalysisService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ConversationAnalysisService, providedIn: 'root' });
@@ -5232,5 +5564,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
5232
5564
  * Generated bundle index. Do not edit.
5233
5565
  */
5234
5566
 
5235
- 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 };
5567
+ export { CalendarType, Contact, ConversationAnalysisService, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, ProcessedTranscript, TranscriptSource, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
5236
5568
  //# sourceMappingURL=vendasta-meetings.mjs.map