@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
|
@@ -604,17 +604,18 @@ class ExtensionService {
|
|
|
604
604
|
// const httpOptions = { headers: new HttpHeaders(params) };
|
|
605
605
|
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/generate/token', payload, httpOptions);
|
|
606
606
|
// }
|
|
607
|
-
addFirstParticipant(payload)
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
615
|
-
// addParticipant(payload: any) {
|
|
616
|
-
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/add/participant', payload);
|
|
607
|
+
// addFirstParticipant(payload: any){
|
|
608
|
+
// const params = {
|
|
609
|
+
// conferenceId: payload.conferenceId,
|
|
610
|
+
// participantNumber: payload.participantNumber
|
|
611
|
+
// }
|
|
612
|
+
// const httpOptions = { headers: new HttpHeaders(params) };
|
|
613
|
+
// return this.http.post<[]>(environment.apiUrl + '/utilities/ext/ur/add/participant', payload, httpOptions);
|
|
617
614
|
// }
|
|
615
|
+
addParticipant(payload) {
|
|
616
|
+
console.log(payload, 'payload');
|
|
617
|
+
return this.http.post(environment.apiUrl + '/utilities/ext/ur/add/participant', payload);
|
|
618
|
+
}
|
|
618
619
|
// getAllParticipants(id:any, payload: any) {
|
|
619
620
|
// const params = {
|
|
620
621
|
// "conferenceId": payload.conferenceId,
|
|
@@ -2144,7 +2145,7 @@ class CallProgressComponent {
|
|
|
2144
2145
|
return await this.extensionService.initiateCall(payload).toPromise();
|
|
2145
2146
|
}
|
|
2146
2147
|
async addParticipantToCall(payload) {
|
|
2147
|
-
return await this.extensionService.
|
|
2148
|
+
return await this.extensionService.addParticipant(payload).toPromise();
|
|
2148
2149
|
}
|
|
2149
2150
|
async getCallAuthId(response) {
|
|
2150
2151
|
return {
|