o2g-node-sdk 1.0.0 → 2.4.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/LICENSE +21 -0
- package/README.md +230 -5
- package/dist/o2g-node-sdk.js +41601 -1
- package/dist/o2g-node-sdk.js.map +1 -1
- package/package.json +40 -8
- package/dist/ErrorInfo.d.ts +0 -87
- package/dist/host.d.ts +0 -17
- package/dist/o2g-analytics.d.ts +0 -66
- package/dist/o2g-cc-agent.d.ts +0 -247
- package/dist/o2g-cc-mngt.d.ts +0 -32
- package/dist/o2g-cc-pilot.d.ts +0 -42
- package/dist/o2g-comlog.d.ts +0 -173
- package/dist/o2g-directory.d.ts +0 -88
- package/dist/o2g-eventSummary.d.ts +0 -33
- package/dist/o2g-maint.d.ts +0 -48
- package/dist/o2g-messaging.d.ts +0 -115
- package/dist/o2g-node-sdk.d.ts +0 -159
- package/dist/o2g-pbx-mngt.d.ts +0 -146
- package/dist/o2g-phone-set-prog.d.ts +0 -29
- package/dist/o2g-routing.d.ts +0 -267
- package/dist/o2g-rsi.d.ts +0 -160
- package/dist/o2g-telephony.d.ts +0 -795
- package/dist/o2g-user-mngt.d.ts +0 -42
- package/dist/o2g-users.d.ts +0 -85
- package/dist/subscription.d.ts +0 -258
- package/dist/types/analytics/call-type.d.ts +0 -24
- package/dist/types/analytics/charging-file.d.ts +0 -27
- package/dist/types/analytics/charging-result.d.ts +0 -43
- package/dist/types/analytics/charging.d.ts +0 -105
- package/dist/types/analytics/incident.d.ts +0 -46
- package/dist/types/analytics/tel-facility.d.ts +0 -44
- package/dist/types/analytics/time-range.d.ts +0 -22
- package/dist/types/cc-agent/cc-agent-events.d.ts +0 -54
- package/dist/types/cc-agent/cc-agent-types.d.ts +0 -71
- package/dist/types/cc-agent/intrusion-mode.d.ts +0 -24
- package/dist/types/cc-agent/operator-dyn-state.d.ts +0 -56
- package/dist/types/cc-agent/operator-main-state.d.ts +0 -21
- package/dist/types/cc-agent/operator-type.d.ts +0 -16
- package/dist/types/cc-mngt/calendar/abstract-calendar.d.ts +0 -7
- package/dist/types/cc-mngt/calendar/calendar.d.ts +0 -19
- package/dist/types/cc-mngt/calendar/day-of-week.d.ts +0 -33
- package/dist/types/cc-mngt/calendar/exception-calendar.d.ts +0 -26
- package/dist/types/cc-mngt/calendar/normal-calendar.d.ts +0 -27
- package/dist/types/cc-mngt/calendar/transition.d.ts +0 -49
- package/dist/types/cc-mngt/cc-mngt-types.d.ts +0 -0
- package/dist/types/cc-mngt/pilot-rule-set.d.ts +0 -27
- package/dist/types/cc-mngt/pilot-rule.d.ts +0 -14
- package/dist/types/cc-mngt/pilot.d.ts +0 -56
- package/dist/types/cc-pilot/cc-pilot-events.d.ts +0 -111
- package/dist/types/comlog/com-record.d.ts +0 -51
- package/dist/types/comlog/comlog-events.d.ts +0 -74
- package/dist/types/comlog/comlog-types.d.ts +0 -131
- package/dist/types/comlog/option.d.ts +0 -23
- package/dist/types/comlog/page.d.ts +0 -33
- package/dist/types/comlog/query-filter.d.ts +0 -44
- package/dist/types/comlog/query-result.d.ts +0 -27
- package/dist/types/comlog/reason.d.ts +0 -61
- package/dist/types/comlog/role.d.ts +0 -17
- package/dist/types/common/common-types.d.ts +0 -78
- package/dist/types/directory/criteria.d.ts +0 -90
- package/dist/types/directory/directory-types.d.ts +0 -44
- package/dist/types/directory/filter-item.d.ts +0 -21
- package/dist/types/directory/operation-filter.d.ts +0 -21
- package/dist/types/events/events.d.ts +0 -54
- package/dist/types/eventsummary/event-summary-counter.d.ts +0 -44
- package/dist/types/eventsummary/event-summary-events.d.ts +0 -15
- package/dist/types/maint/maint-events.d.ts +0 -51
- package/dist/types/maint/maint-types.d.ts +0 -162
- package/dist/types/messaging/messaging-types.d.ts +0 -120
- package/dist/types/pbxmngt/attribute-filter.d.ts +0 -30
- package/dist/types/pbxmngt/attribute-type.d.ts +0 -34
- package/dist/types/pbxmngt/filter.d.ts +0 -46
- package/dist/types/pbxmngt/model.d.ts +0 -63
- package/dist/types/pbxmngt/pbx-attr-map.d.ts +0 -91
- package/dist/types/pbxmngt/pbx-attribute.d.ts +0 -87
- package/dist/types/pbxmngt/pbx-object.d.ts +0 -45
- package/dist/types/pbxmngt/pbxmngt-events.d.ts +0 -59
- package/dist/types/pbxmngt/pbxmngt-types.d.ts +0 -14
- package/dist/types/phoneset/device-key.d.ts +0 -27
- package/dist/types/phoneset/phoneset-types.d.ts +0 -17
- package/dist/types/phoneset/pin-control.d.ts +0 -21
- package/dist/types/phoneset/pin.d.ts +0 -50
- package/dist/types/phoneset/programmable-key.d.ts +0 -23
- package/dist/types/phoneset/softkey.d.ts +0 -17
- package/dist/types/routing/destination.d.ts +0 -19
- package/dist/types/routing/forward.d.ts +0 -51
- package/dist/types/routing/overflow.d.ts +0 -42
- package/dist/types/routing/routing-capability.d.ts +0 -31
- package/dist/types/routing/routing-events.d.ts +0 -15
- package/dist/types/routing/routing-state.d.ts +0 -67
- package/dist/types/routing/routing-types.d.ts +0 -10
- package/dist/types/rsi/add-digit-coll-criteria.d.ts +0 -16
- package/dist/types/rsi/collection-cause.d.ts +0 -21
- package/dist/types/rsi/routing-caller-type.d.ts +0 -17
- package/dist/types/rsi/routing-reason.d.ts +0 -25
- package/dist/types/rsi/rsi-events.d.ts +0 -76
- package/dist/types/rsi/rsi-types.d.ts +0 -49
- package/dist/types/rsi/tones.d.ts +0 -25
- package/dist/types/telephony/RecordingAction.d.ts +0 -6
- package/dist/types/telephony/acr-skill.d.ts +0 -29
- package/dist/types/telephony/telephony-events.d.ts +0 -292
- package/dist/types/telephony/telephony-types.d.ts +0 -587
- package/dist/types/users/users-events.d.ts +0 -33
- package/dist/types/users/users-types.d.ts +0 -129
package/dist/o2g-telephony.d.ts
DELETED
|
@@ -1,795 +0,0 @@
|
|
|
1
|
-
import EventEmitter from "events";
|
|
2
|
-
import TelephonyRest from "./internal/rest/telephony-rest";
|
|
3
|
-
import { AcrSkill } from "./types/telephony/acr-skill";
|
|
4
|
-
import { RecordingAction } from "./types/telephony/RecordingAction";
|
|
5
|
-
import { HuntingGroups, Call, Leg, TelephonicState, Participant, DeviceState, HuntingGroupStatus, Callback, MiniMessage } from "./types/telephony/telephony-types";
|
|
6
|
-
import { EventRegistry } from "./internal/events/event-dispatcher";
|
|
7
|
-
/**
|
|
8
|
-
* The TelephonyService allows a user to initiate a call and to activate
|
|
9
|
-
* any kind of OmniPCX Enterprise telephony services.
|
|
10
|
-
* <p>
|
|
11
|
-
* Using this service requires having a <b>TELEPHONY_ADVANCED</b> license,
|
|
12
|
-
* except for the 3 basic services
|
|
13
|
-
* {@link basicMakeCall}, {@link basicAnswerCall} and {@link basicDropMe} that are available without any
|
|
14
|
-
* license.
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
export declare class Telephony extends EventEmitter {
|
|
18
|
-
private readonly _telephonyRest;
|
|
19
|
-
/**
|
|
20
|
-
* Occurs in response to a snapshot request.
|
|
21
|
-
* @event
|
|
22
|
-
*/
|
|
23
|
-
static readonly ON_TELEPHONY_STATE = "OnTelephonyState";
|
|
24
|
-
/**
|
|
25
|
-
* Occurs when a new call is created.
|
|
26
|
-
* @event
|
|
27
|
-
*/
|
|
28
|
-
static readonly ON_CALL_CREATED = "OnCallCreated";
|
|
29
|
-
/**
|
|
30
|
-
* Occurs when an existing call is modified.
|
|
31
|
-
* @event
|
|
32
|
-
*/
|
|
33
|
-
static readonly ON_CALL_MODIFIED = "OnCallModified";
|
|
34
|
-
/**
|
|
35
|
-
* Occurs when a call has been removed.
|
|
36
|
-
* @event
|
|
37
|
-
*/
|
|
38
|
-
static readonly ON_CALL_REMOVED = "OnCallRemoved";
|
|
39
|
-
/**
|
|
40
|
-
* Occurs when a user's state has been modified.
|
|
41
|
-
* @event
|
|
42
|
-
*/
|
|
43
|
-
static readonly ON_USER_STATE_MODIFIED = "OnUserStateModified";
|
|
44
|
-
/**
|
|
45
|
-
* Occurs when a device's state has been modified.
|
|
46
|
-
* @event
|
|
47
|
-
*/
|
|
48
|
-
static readonly ON_DEVICE_STATE_MODIFIED = "OnDeviceStateModified";
|
|
49
|
-
/**
|
|
50
|
-
* Occurs when a user's dynamic state change.
|
|
51
|
-
* @event
|
|
52
|
-
*/
|
|
53
|
-
static readonly ON_DYNAMIC_STATE_CHANGED = "OnDynamicStateChanged";
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
constructor(_telephonyRest: TelephonyRest, eventRegistry: EventRegistry);
|
|
59
|
-
/**
|
|
60
|
-
* Initiates a call from the specified device to the specified called number.
|
|
61
|
-
* <p>
|
|
62
|
-
* If the session is opened by a user, the device phone number must be one of
|
|
63
|
-
* the user.
|
|
64
|
-
* <p>
|
|
65
|
-
* If the automatic answer on make call 'autoAnswer' parameter is set to
|
|
66
|
-
* 'false' the deviceId is called before launching the make call to
|
|
67
|
-
* callee, else callee is called immediately
|
|
68
|
-
*
|
|
69
|
-
* @param deviceId the device phone number for which the call is made
|
|
70
|
-
* @param callee the called number
|
|
71
|
-
* @param autoAnswer automatic answer on make call.
|
|
72
|
-
*/
|
|
73
|
-
basicMakeCall(deviceId: string, callee: string, autoAnswer?: boolean): Promise<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Answers to an incoming ringing call on the specified device.
|
|
76
|
-
* <p>
|
|
77
|
-
* If the session is opened by a user, the device phone number must be one of
|
|
78
|
-
* the user.
|
|
79
|
-
*
|
|
80
|
-
* @param deviceId the device phone number
|
|
81
|
-
*/
|
|
82
|
-
basicAnswerCall(deviceId: string): Promise<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* Exits from the call for the specified user.
|
|
85
|
-
* <p>
|
|
86
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
87
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
88
|
-
* administrator.
|
|
89
|
-
* <p>
|
|
90
|
-
* if the call is a single call, it is released; if it is a conference, the call
|
|
91
|
-
* carries on without the user.
|
|
92
|
-
*
|
|
93
|
-
* @param loginName the login name for whom the drop is done
|
|
94
|
-
*/
|
|
95
|
-
basicDropMe(loginName?: string | null): Promise<boolean>;
|
|
96
|
-
/**
|
|
97
|
-
* Retrieves the calls in progress for the specified user.
|
|
98
|
-
* <p>
|
|
99
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
100
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
101
|
-
* administrator.
|
|
102
|
-
*
|
|
103
|
-
* @param loginName the login name
|
|
104
|
-
*/
|
|
105
|
-
getCalls(loginName?: string | null): Promise<Call[] | null>;
|
|
106
|
-
/**
|
|
107
|
-
* Returns the call specified by the call reference for the specified user.
|
|
108
|
-
* <p>
|
|
109
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
110
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
111
|
-
* administrator.
|
|
112
|
-
*
|
|
113
|
-
* @param callRef the call reference
|
|
114
|
-
* @param loginName the login name
|
|
115
|
-
*/
|
|
116
|
-
getCall(callRef: string, loginName?: string | null): Promise<Call | null>;
|
|
117
|
-
/**
|
|
118
|
-
* Initiates a call from the specified device to the specified called number for
|
|
119
|
-
* the specified user.
|
|
120
|
-
* <p>
|
|
121
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
122
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
123
|
-
* administrator.
|
|
124
|
-
* <p>
|
|
125
|
-
* If the automatic answer on make call 'autoAnswer' parameter is set to
|
|
126
|
-
* 'false' the deviceId is called before launching the make call to
|
|
127
|
-
* callee, else callee is called immediately
|
|
128
|
-
*
|
|
129
|
-
* @param deviceId the device phone number for which the call is made
|
|
130
|
-
* @param callee the called number
|
|
131
|
-
* @param autoAnswer automatic answer on make call.
|
|
132
|
-
* @param loginName the login name
|
|
133
|
-
*/
|
|
134
|
-
makeCall(deviceId: string, callee: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
|
|
135
|
-
/**
|
|
136
|
-
* Initiates a new call to another user (the callee), using the specified deviceId and options.
|
|
137
|
-
* <p>
|
|
138
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
139
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
140
|
-
* administrator.
|
|
141
|
-
* <p>
|
|
142
|
-
* Use the makeCallEx service to initiated a call from one of the devices of the logged user.
|
|
143
|
-
* First, the call server initiates a call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
|
|
144
|
-
* an {@link ON_CALL_CREATED} is raised.
|
|
145
|
-
* <p>
|
|
146
|
-
* If <c>inhibitProgressTone</c> is <see langword="true"/>, progress tone is inhibited on an outbound call.
|
|
147
|
-
* <p>
|
|
148
|
-
* The callingNumber is used on an outbound call to to present another calling number on the public network call in order to hide the real calling extension number.
|
|
149
|
-
*
|
|
150
|
-
* @param deviceId the device phone number for which the call is made
|
|
151
|
-
* @param callee the called number
|
|
152
|
-
* @param autoAnswer automatic answer on make call
|
|
153
|
-
* @param inhibitProgressTone allows to inhibit the progress tone on the current external call
|
|
154
|
-
* @param associatedData correlator data to add to the call
|
|
155
|
-
* @param callingNumber calling number to present to the public network
|
|
156
|
-
* @param loginName the login name
|
|
157
|
-
*/
|
|
158
|
-
makeCallEx(deviceId: string, callee: string, autoAnswer?: boolean, inhibitProgressTone?: boolean, associatedData?: string | null, callingNumber?: string | null, loginName?: string | null): Promise<boolean>;
|
|
159
|
-
/**
|
|
160
|
-
* Initiates a new private call to another user (the callee), using a pin code and an optional secret code.
|
|
161
|
-
* <p>
|
|
162
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
163
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
164
|
-
* administrator.
|
|
165
|
-
* <p>
|
|
166
|
-
* The private call is a service which allows a user to specify that the external call made is personal and not professional.The charging for this
|
|
167
|
-
* type of call can then be given specific processing.
|
|
168
|
-
* <p>
|
|
169
|
-
* Use the 'makePrivateCall' service to initiated a private call from one of the devices of the logged user. First, the call server initiates a
|
|
170
|
-
* call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
|
|
171
|
-
* an {@link ON_CALL_CREATED} is raised.
|
|
172
|
-
* <p>
|
|
173
|
-
* The private call requires the user enters a PIN code (Personal Identification Number).
|
|
174
|
-
*
|
|
175
|
-
* @param deviceId the device phone number for which the call is made
|
|
176
|
-
* @param callee the called number
|
|
177
|
-
* @param pin the PIN code to identify the caller
|
|
178
|
-
* @param secretCode the optional secret code used to confirm the PIN code
|
|
179
|
-
* @param loginName the login name
|
|
180
|
-
*/
|
|
181
|
-
makePrivateCall(deviceId: string, callee: string, pin: string, secretCode?: string | null, loginName?: string | null): Promise<boolean>;
|
|
182
|
-
/**
|
|
183
|
-
* Initiates a new business call to another user (the callee), using the specified business code.
|
|
184
|
-
* <p>
|
|
185
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
186
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
187
|
-
* administrator.
|
|
188
|
-
* <p>
|
|
189
|
-
* Use the 'makeBusinessCall' service to initiated a business call from one of the devices of the logged user. First, the call server initiates a
|
|
190
|
-
* call on the user 'deviceId'. Then when the call is answered the call server starts the call to the 'callee'.
|
|
191
|
-
* an {@link ON_CALL_CREATED} is raised.
|
|
192
|
-
* <p>
|
|
193
|
-
*
|
|
194
|
-
* @param deviceId the device phone number for which the call is made
|
|
195
|
-
* @param callee the called number
|
|
196
|
-
* @param businessCode the cost center on which the call will be charged
|
|
197
|
-
* @param loginName the login name
|
|
198
|
-
*/
|
|
199
|
-
makeBusinessCall(deviceId: string, callee: string, businessCode: string, loginName?: string | null): Promise<boolean>;
|
|
200
|
-
/**
|
|
201
|
-
* Initiates a call from a CCD agent to a supervisor.
|
|
202
|
-
* <p>
|
|
203
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
204
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
205
|
-
* administrator.
|
|
206
|
-
* <p>
|
|
207
|
-
* Use the 'makeSupervisorCall' service to initiated to initiated a call from an agent to a supervisor. First, the call server initiates a
|
|
208
|
-
* call on the agent 'deviceId'. Then, when the call is answered the call server calls the supervisor.
|
|
209
|
-
* an {@link ON_CALL_CREATED} is raised.
|
|
210
|
-
* <p>
|
|
211
|
-
*
|
|
212
|
-
* @param deviceId the device phone number for which the call is made
|
|
213
|
-
* @param autoAnswer automatic answer on make call
|
|
214
|
-
* @param loginName the login name
|
|
215
|
-
*/
|
|
216
|
-
makeSupervisorCall(deviceId: string, autoAnswer?: boolean, loginName?: string | null): Promise<boolean>;
|
|
217
|
-
/**
|
|
218
|
-
* Initiates an enquiry call from a CCD agent to a pilot or a RSI point.
|
|
219
|
-
* <p>
|
|
220
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
221
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
222
|
-
* administrator.
|
|
223
|
-
* <p>
|
|
224
|
-
* Use the 'makePilotOrRSISupervisedTransferCall' service to initiated an enquiry call to a CCD pilot or an RSI point from a CCD operator.
|
|
225
|
-
* <p>
|
|
226
|
-
* The CCD pilot or the RSI point performs a call distribution to select an agent that will be alerted by this call. The 'callProfile' is mandatory
|
|
227
|
-
* in case of "Advanced Call Routing" call distribution strategy.
|
|
228
|
-
*
|
|
229
|
-
* @param deviceId the device phone number for which the call is made
|
|
230
|
-
* @param pilot called CCD pilot or RSI point number
|
|
231
|
-
* @param associatedData correlator data to add to the call
|
|
232
|
-
* @param callProfile The call profile associated to this call
|
|
233
|
-
* @param loginName the login name
|
|
234
|
-
*/
|
|
235
|
-
makePilotOrRSISupervisedTransferCall(deviceId: string, pilot: string, associatedData?: string | null, callProfile?: AcrSkill[] | null, loginName?: string | null): Promise<boolean | null>;
|
|
236
|
-
/**
|
|
237
|
-
* Initiates an local call to a CCD pilot or a RSI point.
|
|
238
|
-
* <p>
|
|
239
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
240
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
241
|
-
* administrator.
|
|
242
|
-
* <p>
|
|
243
|
-
* Use the 'makePilotOrRSICall' service to initiated a local call to a CCD pilot or an RSI point.
|
|
244
|
-
* <p>
|
|
245
|
-
* The CCD pilot or the RSI point performs a call distribution to select an agent that will be alerted by this call. The 'callProfile' is mandatory
|
|
246
|
-
* in case of "Advanced Call Routing" call distribution strategy.
|
|
247
|
-
*
|
|
248
|
-
* @param deviceId the device phone number for which the call is made
|
|
249
|
-
* @param pilot called CCD pilot or RSI point number.
|
|
250
|
-
* @param autoAnswer automatic answer on make call
|
|
251
|
-
* @param associatedData correlator data to add to the call
|
|
252
|
-
* @param callProfile The call profile associated to this call
|
|
253
|
-
* @param loginName the login name
|
|
254
|
-
*/
|
|
255
|
-
makePilotOrRSICall(deviceId: string, pilot: string, autoAnswer?: boolean, associatedData?: string | null, callProfile?: AcrSkill[] | null, loginName?: string | null): Promise<boolean | null>;
|
|
256
|
-
/**
|
|
257
|
-
* Puts an active call on hold and retrieve a call that has been previously put
|
|
258
|
-
* in hold.
|
|
259
|
-
* <p>
|
|
260
|
-
* If the session is opened by a user, the device phone number must be one of
|
|
261
|
-
* the user.
|
|
262
|
-
*
|
|
263
|
-
* @param callRef the call reference of the call on hold
|
|
264
|
-
* @param deviceId the device phone number for which the operation is done
|
|
265
|
-
*/
|
|
266
|
-
alternate(callRef: string, deviceId: string): Promise<boolean>;
|
|
267
|
-
/**
|
|
268
|
-
* Answers to an incoming ringing call specified by it reference.
|
|
269
|
-
* <p>
|
|
270
|
-
* If the session is opened by a user, the device phone number must be one of
|
|
271
|
-
* the user.
|
|
272
|
-
* <p>
|
|
273
|
-
* Answering a call will fail if the call state is not correct. The state can be
|
|
274
|
-
* checked by listening to the telephony events, and more specifically by
|
|
275
|
-
* checking the capabilities of the involved leg. (answer capability on the
|
|
276
|
-
* leg).
|
|
277
|
-
*
|
|
278
|
-
* @param callRef the call reference of the call on hold
|
|
279
|
-
* @param deviceId the device phone number for which the operation is done
|
|
280
|
-
*/
|
|
281
|
-
answer(callRef: string, deviceId: string): Promise<boolean>;
|
|
282
|
-
/**
|
|
283
|
-
* Associates data to a previously established call.
|
|
284
|
-
* <p>
|
|
285
|
-
* If the session is opened by a user, the device phone number must be one of
|
|
286
|
-
* the user.
|
|
287
|
-
*
|
|
288
|
-
* @param callRef the call reference of the call on hold
|
|
289
|
-
* @param deviceId the device phone number for which the operation is done
|
|
290
|
-
* @param associatedData the associated data
|
|
291
|
-
*/
|
|
292
|
-
attachData(callRef: string, deviceId: string, associatedData: string): Promise<boolean>;
|
|
293
|
-
/**
|
|
294
|
-
* Transfers the active call to another user, without keeping control on this
|
|
295
|
-
* call.
|
|
296
|
-
* <p>
|
|
297
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
298
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
299
|
-
* administrator.
|
|
300
|
-
*
|
|
301
|
-
* @param callRef the reference of the active call
|
|
302
|
-
* @param transferTo the phone number to which the call is transfered
|
|
303
|
-
* @param anonymous anonymous transfer if this parameter is 'true', the
|
|
304
|
-
* call will be transfered as anonymous
|
|
305
|
-
* @param loginName the login name
|
|
306
|
-
*/
|
|
307
|
-
blindTransfer(callRef: string, transferTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
|
|
308
|
-
/**
|
|
309
|
-
* Requests a callback on the call specified by the call reference for the
|
|
310
|
-
* specified user.
|
|
311
|
-
* <p>
|
|
312
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
313
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
314
|
-
* administrator.
|
|
315
|
-
*
|
|
316
|
-
* @param callRef the call reference
|
|
317
|
-
* @param loginName the login name
|
|
318
|
-
*/
|
|
319
|
-
callback(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
320
|
-
/**
|
|
321
|
-
* Returns the legs involved by the call specified by the call reference for the
|
|
322
|
-
* specified user.
|
|
323
|
-
* <p>
|
|
324
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
325
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
326
|
-
* administrator.
|
|
327
|
-
*
|
|
328
|
-
* @param callRef the call reference
|
|
329
|
-
* @param loginName the login name
|
|
330
|
-
*/
|
|
331
|
-
getDeviceLegs(callRef: string, loginName?: string | null): Promise<Leg[] | null>;
|
|
332
|
-
/**
|
|
333
|
-
* Returns the leg specified by its id, involved by the call specified by the
|
|
334
|
-
* call reference for the specified user.
|
|
335
|
-
* <p>
|
|
336
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
337
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
338
|
-
* administrator.
|
|
339
|
-
*
|
|
340
|
-
* @param callRef the call reference
|
|
341
|
-
* @param legId the leg identifier
|
|
342
|
-
* @param loginName the login name
|
|
343
|
-
*/
|
|
344
|
-
getDeviceLeg(callRef: string, legId: string, loginName?: string | null): Promise<Leg | null>;
|
|
345
|
-
/**
|
|
346
|
-
* Exits from the call specified by its reference for the specified user.
|
|
347
|
-
* <p>
|
|
348
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
349
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
350
|
-
* administrator.
|
|
351
|
-
* <p>
|
|
352
|
-
* if the call is a single call, it is released; if it is a conference, the call
|
|
353
|
-
* carries on without the user.
|
|
354
|
-
*
|
|
355
|
-
* @param callRef the call reference
|
|
356
|
-
* @param loginName the login name for whom the drop is done
|
|
357
|
-
*/
|
|
358
|
-
dropme(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
359
|
-
/**
|
|
360
|
-
* Puts on hold the call specified by its reference, on the specified device,
|
|
361
|
-
* for the specified user.
|
|
362
|
-
* <p>
|
|
363
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
364
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
365
|
-
* administrator.
|
|
366
|
-
*
|
|
367
|
-
* @param callRef the call reference
|
|
368
|
-
* @param deviceId the device phone number from which the call put on hold
|
|
369
|
-
* @param loginName the login name
|
|
370
|
-
*/
|
|
371
|
-
hold(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
|
|
372
|
-
/**
|
|
373
|
-
* Makes a 3-party conference with a specified active call and a specified held
|
|
374
|
-
* call for the specified user.
|
|
375
|
-
* <p>
|
|
376
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
377
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
378
|
-
* administrator.
|
|
379
|
-
*
|
|
380
|
-
* @param callRef the active call reference
|
|
381
|
-
* @param heldCallRef the held call reference
|
|
382
|
-
* @param loginName the login name
|
|
383
|
-
*/
|
|
384
|
-
merge(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
385
|
-
/**
|
|
386
|
-
* Redirects an outgoing ringing call specified by its reference to the voice
|
|
387
|
-
* mail of the called user.
|
|
388
|
-
* <p>
|
|
389
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
390
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
391
|
-
* administrator.
|
|
392
|
-
*
|
|
393
|
-
* @param callRef the ringing call reference
|
|
394
|
-
* @param loginName the login name
|
|
395
|
-
*/
|
|
396
|
-
overflowToVoiceMail(callRef: string, loginName?: string | null): Promise<boolean>;
|
|
397
|
-
/**
|
|
398
|
-
* Gets the telephonic state and capabilities for the specified user.
|
|
399
|
-
* <p>
|
|
400
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
401
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
402
|
-
* administrator.
|
|
403
|
-
*
|
|
404
|
-
* @param loginName the login name
|
|
405
|
-
*/
|
|
406
|
-
getState(loginName?: string | null): Promise<TelephonicState | null>;
|
|
407
|
-
/**
|
|
408
|
-
* Parks the specified active call to a target device. If the device is not
|
|
409
|
-
* provided, the call will be parked on the current device.
|
|
410
|
-
* <p>
|
|
411
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
412
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
413
|
-
* administrator.
|
|
414
|
-
*
|
|
415
|
-
* @param callRef the active call reference
|
|
416
|
-
* @param parkTo the target device
|
|
417
|
-
* @param loginName the login name
|
|
418
|
-
*/
|
|
419
|
-
park(callRef: string, parkTo?: string | null, loginName?: string | null): Promise<boolean>;
|
|
420
|
-
/**
|
|
421
|
-
* Returns the list of participants in the specified call.
|
|
422
|
-
* <p>
|
|
423
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
424
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
425
|
-
* administrator.
|
|
426
|
-
*
|
|
427
|
-
* @param callRef the call reference
|
|
428
|
-
* @param loginName the login name
|
|
429
|
-
*/
|
|
430
|
-
getParticipants(callRef: string, loginName?: string | null): Promise<Participant[] | null>;
|
|
431
|
-
/**
|
|
432
|
-
* Returns the specified participant in the specified call.
|
|
433
|
-
* <p>
|
|
434
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
435
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
436
|
-
* administrator.
|
|
437
|
-
*
|
|
438
|
-
* @param callRef the call reference
|
|
439
|
-
* @param participantId the participant identifier
|
|
440
|
-
* @param loginName the login name
|
|
441
|
-
*/
|
|
442
|
-
getParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<Participant | null>;
|
|
443
|
-
/**
|
|
444
|
-
* Drops the specified participant from the specified call for the specified
|
|
445
|
-
* user.
|
|
446
|
-
* <p>
|
|
447
|
-
* If the call is a single call, it is released; if it is a conference, the call
|
|
448
|
-
* carries on without the participant.
|
|
449
|
-
* <p>
|
|
450
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
451
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
452
|
-
* administrator.
|
|
453
|
-
*
|
|
454
|
-
* @param callRef the call reference
|
|
455
|
-
* @param participantId the participant identifier
|
|
456
|
-
* @param loginName the login name
|
|
457
|
-
*/
|
|
458
|
-
dropParticipant(callRef: string, participantId: string, loginName?: string | null): Promise<boolean>;
|
|
459
|
-
/**
|
|
460
|
-
* Releases the current call (active or ringing) to retrieve a previously put in
|
|
461
|
-
* hold call (cancel a consultation call).
|
|
462
|
-
* <p>
|
|
463
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
464
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
465
|
-
* administrator.
|
|
466
|
-
*
|
|
467
|
-
* @param callRef the held call reference
|
|
468
|
-
* @param deviceId the device phone number for which the operation is done
|
|
469
|
-
* @param enquiryCallRef the reference of the enquiry call to cancel
|
|
470
|
-
* @param loginName the login name
|
|
471
|
-
*/
|
|
472
|
-
reconnect(callRef: string, deviceId: string, enquiryCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
473
|
-
/**
|
|
474
|
-
* Starts, stops, pauses or resumes the recording of a the specified call.
|
|
475
|
-
* <p>
|
|
476
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
477
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
478
|
-
* administrator.
|
|
479
|
-
*
|
|
480
|
-
* @param callRef the reference of the recorded call
|
|
481
|
-
* @param action the recording action
|
|
482
|
-
* @param loginName the login name
|
|
483
|
-
*/
|
|
484
|
-
doRecordAction(callRef: string, action: RecordingAction, loginName?: string | null): Promise<boolean>;
|
|
485
|
-
/**
|
|
486
|
-
* Redirects an incoming ringing call to another user or number, instead of
|
|
487
|
-
* responding to it. If 'redirectTo' is equal to 'VOICEMAIL',
|
|
488
|
-
* redirect the incoming ringing call to the user voice mail.
|
|
489
|
-
* <p>
|
|
490
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
491
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
492
|
-
* administrator.
|
|
493
|
-
*
|
|
494
|
-
* @param callRef the incoming ringing call reference
|
|
495
|
-
* @param redirectTo Phone number of the redirection, or "VOICEMAIL"
|
|
496
|
-
* @param anonymous anonymous redirection if this parameter is 'true',
|
|
497
|
-
* the call will be redirected as anonymous
|
|
498
|
-
* @param loginName the login name
|
|
499
|
-
*/
|
|
500
|
-
redirect(callRef: string, redirectTo: string, anonymous?: boolean, loginName?: string | null): Promise<boolean>;
|
|
501
|
-
/**
|
|
502
|
-
* Retrieves a call that has been previously put in hold.
|
|
503
|
-
* <p>
|
|
504
|
-
* This method with return {@code false} if it is invoked from a session opened
|
|
505
|
-
* by an administrator.
|
|
506
|
-
*
|
|
507
|
-
* @param callRef the held call reference
|
|
508
|
-
* @param deviceId the device phone number for which the operation is done
|
|
509
|
-
*/
|
|
510
|
-
retrieve(callRef: string, deviceId: string, loginName?: string | null): Promise<boolean>;
|
|
511
|
-
/**
|
|
512
|
-
* Sends DTMF codes on the specified active call.
|
|
513
|
-
*
|
|
514
|
-
* @param callRef the active call reference
|
|
515
|
-
* @param deviceId the device phone number for which the operation is done
|
|
516
|
-
* @param number the DTMF codes to send
|
|
517
|
-
*/
|
|
518
|
-
sendDtmf(callRef: string, deviceId: string, number: string): Promise<boolean>;
|
|
519
|
-
/**
|
|
520
|
-
* Sends the account info for the specified call, on the specified device.
|
|
521
|
-
* <p>
|
|
522
|
-
* This operation is used by a CCD agent to send the transaction code at the end
|
|
523
|
-
* of the call. The string value MUST complain with the transaction code
|
|
524
|
-
* accepted by OXE (that is numerical value only)
|
|
525
|
-
*
|
|
526
|
-
* @param callRef the call reference
|
|
527
|
-
* @param deviceId the device phone number for which the operation is done
|
|
528
|
-
* @param accountInfo the transaction code
|
|
529
|
-
*/
|
|
530
|
-
sendAccountInfo(callRef: string, deviceId: string, accountInfo: string): Promise<boolean>;
|
|
531
|
-
/**
|
|
532
|
-
* Transfers a specified active call to a specified held call for the specified
|
|
533
|
-
* user.
|
|
534
|
-
* <p>
|
|
535
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
536
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
537
|
-
* administrator.
|
|
538
|
-
*
|
|
539
|
-
* @param callRef the active call reference
|
|
540
|
-
* @param heldCallRef the held call reference
|
|
541
|
-
* @param loginName the login name
|
|
542
|
-
*/
|
|
543
|
-
transfer(callRef: string, heldCallRef: string, loginName?: string | null): Promise<boolean>;
|
|
544
|
-
/**
|
|
545
|
-
* Logs the specified user on a specified desk sharing set.
|
|
546
|
-
* <p>
|
|
547
|
-
* The user must be configured as a Desk sharing user.
|
|
548
|
-
* <p>
|
|
549
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
550
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
551
|
-
* administrator.
|
|
552
|
-
*
|
|
553
|
-
* @param dssDeviceNumber the desk sharing set phone number
|
|
554
|
-
* @param loginName the login name
|
|
555
|
-
* @see {@link deskSharingLogOff}
|
|
556
|
-
*/
|
|
557
|
-
deskSharingLogOn(dssDeviceNumber: string, loginName?: string | null): Promise<boolean>;
|
|
558
|
-
/**
|
|
559
|
-
* Logs off the specified user from the desk sharing set.
|
|
560
|
-
* <p>
|
|
561
|
-
* The user must be configured as a Desk sharing user.
|
|
562
|
-
* <p>
|
|
563
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
564
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
565
|
-
* administrator.
|
|
566
|
-
*
|
|
567
|
-
* @param loginName the login name
|
|
568
|
-
* @see {@link deskSharingLogOn}
|
|
569
|
-
*/
|
|
570
|
-
deskSharingLogOff(loginName?: string | null): Promise<boolean>;
|
|
571
|
-
/**
|
|
572
|
-
* Gets states of all devices of the specified user.
|
|
573
|
-
* <p>
|
|
574
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
575
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
576
|
-
* administrator.
|
|
577
|
-
*
|
|
578
|
-
* @param loginName the login name
|
|
579
|
-
*/
|
|
580
|
-
getDevicesState(loginName?: string | null): Promise<DeviceState[] | null>;
|
|
581
|
-
/**
|
|
582
|
-
* Gets state of the specified device of the specified user.
|
|
583
|
-
* <p>
|
|
584
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
585
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
586
|
-
* administrator.
|
|
587
|
-
*
|
|
588
|
-
* @param deviceId the device phone number for which the operation is done
|
|
589
|
-
* @param loginName the login name
|
|
590
|
-
*/
|
|
591
|
-
getDeviceState(deviceId: string, loginName?: string | null): Promise<DeviceState | null>;
|
|
592
|
-
/**
|
|
593
|
-
* Picks up the specified incoming call for another user.
|
|
594
|
-
*
|
|
595
|
-
* @param deviceId the device phone number for which the operation is
|
|
596
|
-
* done
|
|
597
|
-
* @param otherCallRef reference of the call to pickup (on the remote user)
|
|
598
|
-
* @param otherPhoneNumber the phone number on which the call is ringing
|
|
599
|
-
* @param autoAnswer 'true' to automatically answer the call after
|
|
600
|
-
* the pickup.
|
|
601
|
-
*/
|
|
602
|
-
pickUp(deviceId: string, otherCallRef: string, otherPhoneNumber: string, autoAnswer?: boolean): Promise<boolean>;
|
|
603
|
-
/**
|
|
604
|
-
* Performs an intrusion in the active call of a called user.
|
|
605
|
-
* <p>
|
|
606
|
-
* No parameter is required to invoke the intrusion: it only depends on the
|
|
607
|
-
* current capability intrusion of the current device. It is based on the fact
|
|
608
|
-
* that the current device must be in releasing state while calling a user which
|
|
609
|
-
* is in busy call with another user, the current device has the intrusion
|
|
610
|
-
* capability and the 2 users engaged in the call have the capability to allow
|
|
611
|
-
* intrusion.
|
|
612
|
-
* </p>
|
|
613
|
-
*
|
|
614
|
-
* @param deviceId the device from where the unpark request is requested.
|
|
615
|
-
* @since O2G 2.4
|
|
616
|
-
*/
|
|
617
|
-
intrusion(deviceId: string): Promise<boolean>;
|
|
618
|
-
/**
|
|
619
|
-
* UnParks a call from a target device.
|
|
620
|
-
*
|
|
621
|
-
* @param heldCallRef Reference of the held call.
|
|
622
|
-
* @param deviceId the device from where the unpark request is requested.
|
|
623
|
-
*/
|
|
624
|
-
unPark(deviceId: string, heldCallRef: string): Promise<boolean>;
|
|
625
|
-
/**
|
|
626
|
-
* Retrieves the specified user hunting group status.
|
|
627
|
-
* <p>
|
|
628
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
629
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
630
|
-
* administrator.
|
|
631
|
-
*
|
|
632
|
-
* @param loginName the login name
|
|
633
|
-
*/
|
|
634
|
-
getHuntingGroupStatus(loginName?: string | null): Promise<HuntingGroupStatus | null>;
|
|
635
|
-
/**
|
|
636
|
-
* Logs on the specified user in his current hunting group.
|
|
637
|
-
* <p>
|
|
638
|
-
* The user must be configured as member of a hunting group.
|
|
639
|
-
* <p>
|
|
640
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
641
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
642
|
-
* administrator.
|
|
643
|
-
*
|
|
644
|
-
* @param loginName the login name
|
|
645
|
-
*/
|
|
646
|
-
huntingGroupLogOn(loginName?: string | null): Promise<boolean>;
|
|
647
|
-
/**
|
|
648
|
-
* Logs off the specified user from his current hunting group.
|
|
649
|
-
* <p>
|
|
650
|
-
* The user must be configured as member of a hunting group.
|
|
651
|
-
* <p>
|
|
652
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
653
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
654
|
-
* administrator.
|
|
655
|
-
*
|
|
656
|
-
* @param loginName the login name
|
|
657
|
-
*/
|
|
658
|
-
huntingGroupLogOff(loginName?: string | null): Promise<boolean>;
|
|
659
|
-
/**
|
|
660
|
-
* Sets the specified user as member of an existing hunting group.
|
|
661
|
-
* <p>
|
|
662
|
-
* The request will fail if the hunting group does not exist. If the user
|
|
663
|
-
* already belongs to the group, nothing is done and 'true' is returned.
|
|
664
|
-
* <p>
|
|
665
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
666
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
667
|
-
* administrator.
|
|
668
|
-
*
|
|
669
|
-
* @param hgNumber the hunting group number
|
|
670
|
-
* @param loginName the login name
|
|
671
|
-
*/
|
|
672
|
-
addHuntingGroupMember(hgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
673
|
-
/**
|
|
674
|
-
* Removes the specified user from an existing hunting group.
|
|
675
|
-
* <p>
|
|
676
|
-
* The request will fail if the hunting group does not exist. If the user does
|
|
677
|
-
* not belong to the group, nothing is done and 'true' is returned.
|
|
678
|
-
* <p>
|
|
679
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
680
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
681
|
-
* administrator.
|
|
682
|
-
*
|
|
683
|
-
* @param hgNumber the hunting group number
|
|
684
|
-
* @param loginName the login name
|
|
685
|
-
*/
|
|
686
|
-
deleteHuntingGroupMember(hgNumber: string, loginName?: string | null): Promise<boolean>;
|
|
687
|
-
/**
|
|
688
|
-
* Gets the list of hunting groups existing on the OXE node the specified user
|
|
689
|
-
* belongs to.
|
|
690
|
-
* <p>
|
|
691
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
692
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
693
|
-
* administrator.
|
|
694
|
-
*
|
|
695
|
-
* @param loginName the login name
|
|
696
|
-
*/
|
|
697
|
-
queryHuntingGroups(loginName?: string | null): Promise<HuntingGroups | null>;
|
|
698
|
-
/**
|
|
699
|
-
* Returns the list of callback requests for the specified user.
|
|
700
|
-
* <p>
|
|
701
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
702
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
703
|
-
* administrator.
|
|
704
|
-
*
|
|
705
|
-
* @param loginName the login name
|
|
706
|
-
*/
|
|
707
|
-
getCallbacks(loginName?: string | null): Promise<Callback[] | null>;
|
|
708
|
-
/**
|
|
709
|
-
* Deletes all callback requests for the specified user.
|
|
710
|
-
* <p>
|
|
711
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
712
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
713
|
-
* administrator.
|
|
714
|
-
*
|
|
715
|
-
* @param loginName the login name
|
|
716
|
-
*/
|
|
717
|
-
deleteCallbacks(loginName?: string | null): Promise<boolean>;
|
|
718
|
-
/**
|
|
719
|
-
* Deletes the specified callback requests for the specified user.
|
|
720
|
-
* <p>
|
|
721
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
722
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
723
|
-
* administrator.
|
|
724
|
-
*
|
|
725
|
-
* @param callbackId the callback identifier
|
|
726
|
-
* @param loginName the login name
|
|
727
|
-
*/
|
|
728
|
-
deleteCallback(callbackId: string, loginName?: string | null): Promise<boolean>;
|
|
729
|
-
/**
|
|
730
|
-
* Returns the current new message for the specified user.
|
|
731
|
-
* <p>
|
|
732
|
-
* As soon as a message is read, it is erased from OXE and cannot be read again.
|
|
733
|
-
* The messages are retrieved in Last In First Out mode.
|
|
734
|
-
* <p>
|
|
735
|
-
* This method with return 'false' if all the messages have been
|
|
736
|
-
* retrieved.
|
|
737
|
-
* <p>
|
|
738
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
739
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
740
|
-
* administrator.
|
|
741
|
-
*
|
|
742
|
-
* @param loginName the login name
|
|
743
|
-
*/
|
|
744
|
-
getMiniMessage(loginName?: string | null): Promise<MiniMessage | null>;
|
|
745
|
-
/**
|
|
746
|
-
* Sends the specified mini message to the specified recipient.
|
|
747
|
-
*
|
|
748
|
-
* @param recipient the recipient of the mini message phone number
|
|
749
|
-
* @param message the mini message text
|
|
750
|
-
* <p>
|
|
751
|
-
* If the session has been opened for a user, the
|
|
752
|
-
* 'loginName' parameter is ignored, but it is mandatory
|
|
753
|
-
* if the session has been opened by an administrator.
|
|
754
|
-
*
|
|
755
|
-
* @param loginName the login name
|
|
756
|
-
*/
|
|
757
|
-
sendMiniMessage(recipient: string, message: string, loginName?: string | null): Promise<boolean>;
|
|
758
|
-
/**
|
|
759
|
-
* Requests for call back from an idle device of the specified user.
|
|
760
|
-
* <p>
|
|
761
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
762
|
-
* ignored, but it is mandatory if the session has been opened by an
|
|
763
|
-
* administrator.
|
|
764
|
-
*
|
|
765
|
-
* @param callee phone number of the called party for which a call back is
|
|
766
|
-
* requested.
|
|
767
|
-
* @param loginName the login name
|
|
768
|
-
*/
|
|
769
|
-
requestCallback(callee: string, loginName?: string | null): Promise<boolean>;
|
|
770
|
-
/**
|
|
771
|
-
* Asks a snapshot event on the specified user.
|
|
772
|
-
* <p>
|
|
773
|
-
* The event OnTelephonyState will contain the TelephonicState (calls[] and
|
|
774
|
-
* deviceCapabilities[]). If a second request is asked since the previous one is
|
|
775
|
-
* still in progress, it has no effect.
|
|
776
|
-
* <p>
|
|
777
|
-
* If the session has been opened for a user, the 'loginName' parameter is
|
|
778
|
-
* ignored.
|
|
779
|
-
*
|
|
780
|
-
* @param loginName the login name
|
|
781
|
-
*/
|
|
782
|
-
requestSnapshot(loginName?: string | null): Promise<boolean>;
|
|
783
|
-
/**
|
|
784
|
-
* This action acts as a "flip/flop" and has the same effect than pressing the key:
|
|
785
|
-
* <ul>
|
|
786
|
-
* <li>it activates or deactivates the microphone if the device has an outgoing or established call
|
|
787
|
-
* <li>it activates or deactivates the interphony if the device is idle
|
|
788
|
-
* <li>it has no effect if the device is ringing on incoming call
|
|
789
|
-
* <ul><p>
|
|
790
|
-
* This operation is done in blind mode: no state event is provided on the push but when the device returns to idle after a call, the microphone comes back in the active state.
|
|
791
|
-
*
|
|
792
|
-
* @param deviceId the device from where the unpark request is requested.
|
|
793
|
-
*/
|
|
794
|
-
toggleInterphony(deviceId: string): Promise<boolean>;
|
|
795
|
-
}
|