@snugdesk/avaya-ipo-widget 0.1.1 → 0.1.2
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.
Potentially problematic release.
This version of @snugdesk/avaya-ipo-widget might be problematic. Click here for more details.
package/index.d.ts
CHANGED
|
@@ -88,13 +88,22 @@ declare class AvayaIPOService {
|
|
|
88
88
|
private loginStatusSubject;
|
|
89
89
|
loginStatus$: rxjs.Observable<boolean>;
|
|
90
90
|
private readonly DOM_TAGS;
|
|
91
|
-
private
|
|
91
|
+
private configTemplate;
|
|
92
92
|
private readonly agentStatusApiUrl;
|
|
93
93
|
private readonly CALL_HISTORY_API_URL;
|
|
94
94
|
private prewarmedStream?;
|
|
95
95
|
private isSafari;
|
|
96
96
|
private _rpcPatched;
|
|
97
97
|
constructor(zone: NgZone, http: HttpClient);
|
|
98
|
+
setConfigValues(opts: {
|
|
99
|
+
serviceType?: string;
|
|
100
|
+
gatewayIp?: string;
|
|
101
|
+
gatewayPort?: string;
|
|
102
|
+
stunIp?: string;
|
|
103
|
+
stunPort?: string;
|
|
104
|
+
turnIp?: string;
|
|
105
|
+
turnPort?: string;
|
|
106
|
+
}): void;
|
|
98
107
|
init(): void;
|
|
99
108
|
logIn(username: string, password: string): void;
|
|
100
109
|
logOut(): void;
|
|
@@ -191,6 +200,13 @@ declare class AvayaIPOWidgetComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
191
200
|
tenantId: string;
|
|
192
201
|
userId: string;
|
|
193
202
|
isVisible: boolean;
|
|
203
|
+
configurationMode: string;
|
|
204
|
+
avayaIPOServerIP: string;
|
|
205
|
+
avayaIPOServerPort: number | string;
|
|
206
|
+
avayaIPOServerStunServerIP: string;
|
|
207
|
+
avayaIPOServerStunServerPort: number | string;
|
|
208
|
+
avayaIPOServerTurnServerIP: string;
|
|
209
|
+
avayaIPOServerTurnServerPort: number | string;
|
|
194
210
|
containerHeightObservable: BehaviorSubject<number>;
|
|
195
211
|
containerWidthObservable: BehaviorSubject<number>;
|
|
196
212
|
notificationEvent: EventEmitter<number>;
|
|
@@ -289,7 +305,7 @@ declare class AvayaIPOWidgetComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
289
305
|
onLogout(): void;
|
|
290
306
|
makeCall(phoneNumber: string): Promise<void>;
|
|
291
307
|
makeCallFromContact(phoneNumber: string): Promise<void>;
|
|
292
|
-
cancelCall(): void
|
|
308
|
+
cancelCall(): Promise<void>;
|
|
293
309
|
dropCurrentCall(): Promise<void>;
|
|
294
310
|
onMute(): void;
|
|
295
311
|
onUnmute(): void;
|
|
@@ -340,7 +356,7 @@ declare class AvayaIPOWidgetComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
340
356
|
resolvedDialable?: any;
|
|
341
357
|
}): void;
|
|
342
358
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvayaIPOWidgetComponent, never>;
|
|
343
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvayaIPOWidgetComponent, "snugdesk-avaya-ipo-widget", never, { "tenantId": { "alias": "tenantId"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "containerHeightObservable": { "alias": "containerHeightObservable"; "required": false; }; "containerWidthObservable": { "alias": "containerWidthObservable"; "required": false; }; }, { "notificationEvent": "notificationEvent"; }, never, never, false, never>;
|
|
359
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvayaIPOWidgetComponent, "snugdesk-avaya-ipo-widget", never, { "tenantId": { "alias": "tenantId"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "configurationMode": { "alias": "configurationMode"; "required": false; }; "avayaIPOServerIP": { "alias": "avayaIPOServerIP"; "required": false; }; "avayaIPOServerPort": { "alias": "avayaIPOServerPort"; "required": false; }; "avayaIPOServerStunServerIP": { "alias": "avayaIPOServerStunServerIP"; "required": false; }; "avayaIPOServerStunServerPort": { "alias": "avayaIPOServerStunServerPort"; "required": false; }; "avayaIPOServerTurnServerIP": { "alias": "avayaIPOServerTurnServerIP"; "required": false; }; "avayaIPOServerTurnServerPort": { "alias": "avayaIPOServerTurnServerPort"; "required": false; }; "containerHeightObservable": { "alias": "containerHeightObservable"; "required": false; }; "containerWidthObservable": { "alias": "containerWidthObservable"; "required": false; }; }, { "notificationEvent": "notificationEvent"; }, never, never, false, never>;
|
|
344
360
|
}
|
|
345
361
|
|
|
346
362
|
declare class CallHistoryComponent implements OnInit {
|
|
@@ -360,6 +376,7 @@ declare class CallHistoryComponent implements OnInit {
|
|
|
360
376
|
loadCallHistory(): Promise<void>;
|
|
361
377
|
getCallHistory(tenantId: string, agentId: string): Promise<any>;
|
|
362
378
|
makeCall(phoneNumber: string): void;
|
|
379
|
+
get callerDropped(): any[];
|
|
363
380
|
selectFromHistory(item: any): void;
|
|
364
381
|
private resolveDialable;
|
|
365
382
|
static ɵfac: i0.ɵɵFactoryDeclaration<CallHistoryComponent, never>;
|
|
@@ -390,13 +407,14 @@ declare class DialpadComponent implements OnInit, OnDestroy {
|
|
|
390
407
|
contacts: any[];
|
|
391
408
|
makeCallEv: EventEmitter<string>;
|
|
392
409
|
audioElement: any;
|
|
410
|
+
private callStateSub?;
|
|
393
411
|
dialForm: FormGroup;
|
|
394
412
|
showDirectoryPhonebook: boolean;
|
|
395
413
|
incomingCallSubscription: any;
|
|
396
414
|
incomingCallNumber: string | undefined;
|
|
397
415
|
CountryISO: typeof CountryISO;
|
|
398
416
|
SearchCountryField: typeof SearchCountryField;
|
|
399
|
-
isRinging: boolean
|
|
417
|
+
isRinging: boolean;
|
|
400
418
|
audio: any;
|
|
401
419
|
constructor(cdr: ChangeDetectorRef, formBuilder: FormBuilder, avayaIpoService: AvayaIPOService, authenticationService: AuthenticationService);
|
|
402
420
|
ngOnInit(): void;
|