@vgroup/dialbox 0.2.56 → 0.2.57
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/components/call-progress/call-progress.component.mjs +2 -2
- package/esm2020/lib/service/extension.service.mjs +12 -11
- package/fesm2015/vgroup-dialbox.mjs +12 -11
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +12 -11
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/service/extension.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -605,17 +605,18 @@ class ExtensionService {
|
|
|
605
605
|
// const httpOptions = { headers: new HttpHeaders(params) };
|
|
606
606
|
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/generate/token', payload, httpOptions);
|
|
607
607
|
// }
|
|
608
|
-
addFirstParticipant(payload)
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
}
|
|
616
|
-
// addParticipant(payload: any) {
|
|
617
|
-
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/add/participant', payload);
|
|
608
|
+
// addFirstParticipant(payload: any){
|
|
609
|
+
// const params = {
|
|
610
|
+
// conferenceId: payload.conferenceId,
|
|
611
|
+
// participantNumber: payload.participantNumber
|
|
612
|
+
// }
|
|
613
|
+
// const httpOptions = { headers: new HttpHeaders(params) };
|
|
614
|
+
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/add/participant', payload, httpOptions);
|
|
618
615
|
// }
|
|
616
|
+
addParticipant(payload) {
|
|
617
|
+
console.log(payload, 'payload');
|
|
618
|
+
return this.http.post(environment.apiUrl + '/utilities/ext/ur/add/participant', payload);
|
|
619
|
+
}
|
|
619
620
|
// getAllParticipants(id:any, payload: any) {
|
|
620
621
|
// const params = {
|
|
621
622
|
// "conferenceId": payload.conferenceId,
|
|
@@ -2153,7 +2154,7 @@ class CallProgressComponent {
|
|
|
2153
2154
|
}
|
|
2154
2155
|
addParticipantToCall(payload) {
|
|
2155
2156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2156
|
-
return yield this.extensionService.
|
|
2157
|
+
return yield this.extensionService.addParticipant(payload).toPromise();
|
|
2157
2158
|
});
|
|
2158
2159
|
}
|
|
2159
2160
|
getCallAuthId(response) {
|