@ondewo/sip-client-angular 5.2.0 → 5.3.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/fesm2022/ondewo-sip-client-angular.mjs +5 -5
- package/fesm2022/ondewo-sip-client-angular.mjs.map +1 -1
- package/index.d.ts +1105 -3
- package/package.json +3 -5
- package/api/ondewo/sip/sip.pb.d.ts +0 -900
- package/api/ondewo/sip/sip.pbconf.d.ts +0 -6
- package/api/ondewo/sip/sip.pbsc.d.ts +0 -199
- package/esm2022/api/ondewo/sip/sip.pb.mjs +0 -1495
- package/esm2022/api/ondewo/sip/sip.pbconf.mjs +0 -13
- package/esm2022/api/ondewo/sip/sip.pbsc.mjs +0 -375
- package/esm2022/ondewo-sip-client-angular.mjs +0 -5
- package/esm2022/public-api.mjs +0 -4
- package/public-api.d.ts +0 -3
package/index.d.ts
CHANGED
|
@@ -1,5 +1,1107 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions, GrpcMetadata, GrpcEvent, GrpcClientFactory } from '@ngx-grpc/common';
|
|
4
|
+
import { ByteSource, BinaryReader, BinaryWriter } from 'google-protobuf';
|
|
5
|
+
import * as googleProtobuf000 from '@ngx-grpc/well-known-types';
|
|
6
|
+
import { GrpcHandler } from '@ngx-grpc/core';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
|
|
1
9
|
/**
|
|
2
|
-
*
|
|
10
|
+
* Specific GrpcClientSettings for Sip.
|
|
11
|
+
* Use it only if your default settings are not set or the service requires other settings.
|
|
3
12
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
declare const GRPC_SIP_CLIENT_SETTINGS: InjectionToken<any>;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Message implementation for ondewo.sip.SipEndCallRequest
|
|
17
|
+
*/
|
|
18
|
+
declare class SipEndCallRequest implements GrpcMessage {
|
|
19
|
+
static id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Deserialize binary data to message
|
|
22
|
+
* @param instance message instance
|
|
23
|
+
*/
|
|
24
|
+
static deserializeBinary(bytes: ByteSource): SipEndCallRequest;
|
|
25
|
+
/**
|
|
26
|
+
* Check all the properties and set default protobuf values if necessary
|
|
27
|
+
* @param _instance message instance
|
|
28
|
+
*/
|
|
29
|
+
static refineValues(_instance: SipEndCallRequest): void;
|
|
30
|
+
/**
|
|
31
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
32
|
+
* @param _instance message instance
|
|
33
|
+
* @param _reader binary reader instance
|
|
34
|
+
*/
|
|
35
|
+
static deserializeBinaryFromReader(_instance: SipEndCallRequest, _reader: BinaryReader): void;
|
|
36
|
+
/**
|
|
37
|
+
* Serializes a message to binary format using provided binary reader
|
|
38
|
+
* @param _instance message instance
|
|
39
|
+
* @param _writer binary writer instance
|
|
40
|
+
*/
|
|
41
|
+
static serializeBinaryToWriter(_instance: SipEndCallRequest, _writer: BinaryWriter): void;
|
|
42
|
+
private _hardHangup;
|
|
43
|
+
/**
|
|
44
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
45
|
+
* @param _value initial values object or instance of SipEndCallRequest to deeply clone from
|
|
46
|
+
*/
|
|
47
|
+
constructor(_value?: RecursivePartial<SipEndCallRequest.AsObject>);
|
|
48
|
+
get hardHangup(): boolean;
|
|
49
|
+
set hardHangup(value: boolean);
|
|
50
|
+
/**
|
|
51
|
+
* Serialize message to binary data
|
|
52
|
+
* @param instance message instance
|
|
53
|
+
*/
|
|
54
|
+
serializeBinary(): any;
|
|
55
|
+
/**
|
|
56
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
57
|
+
*/
|
|
58
|
+
toObject(): SipEndCallRequest.AsObject;
|
|
59
|
+
/**
|
|
60
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
61
|
+
*/
|
|
62
|
+
toJSON(): SipEndCallRequest.AsObject;
|
|
63
|
+
/**
|
|
64
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
65
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
66
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
67
|
+
*/
|
|
68
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipEndCallRequest.AsProtobufJSON;
|
|
69
|
+
}
|
|
70
|
+
declare namespace SipEndCallRequest {
|
|
71
|
+
/**
|
|
72
|
+
* Standard JavaScript object representation for SipEndCallRequest
|
|
73
|
+
*/
|
|
74
|
+
interface AsObject {
|
|
75
|
+
hardHangup: boolean;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Protobuf JSON representation for SipEndCallRequest
|
|
79
|
+
*/
|
|
80
|
+
interface AsProtobufJSON {
|
|
81
|
+
hardHangup: boolean;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Message implementation for ondewo.sip.SipStartCallRequest
|
|
86
|
+
*/
|
|
87
|
+
declare class SipStartCallRequest implements GrpcMessage {
|
|
88
|
+
static id: string;
|
|
89
|
+
/**
|
|
90
|
+
* Deserialize binary data to message
|
|
91
|
+
* @param instance message instance
|
|
92
|
+
*/
|
|
93
|
+
static deserializeBinary(bytes: ByteSource): SipStartCallRequest;
|
|
94
|
+
/**
|
|
95
|
+
* Check all the properties and set default protobuf values if necessary
|
|
96
|
+
* @param _instance message instance
|
|
97
|
+
*/
|
|
98
|
+
static refineValues(_instance: SipStartCallRequest): void;
|
|
99
|
+
/**
|
|
100
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
101
|
+
* @param _instance message instance
|
|
102
|
+
* @param _reader binary reader instance
|
|
103
|
+
*/
|
|
104
|
+
static deserializeBinaryFromReader(_instance: SipStartCallRequest, _reader: BinaryReader): void;
|
|
105
|
+
/**
|
|
106
|
+
* Serializes a message to binary format using provided binary reader
|
|
107
|
+
* @param _instance message instance
|
|
108
|
+
* @param _writer binary writer instance
|
|
109
|
+
*/
|
|
110
|
+
static serializeBinaryToWriter(_instance: SipStartCallRequest, _writer: BinaryWriter): void;
|
|
111
|
+
private _calleeId;
|
|
112
|
+
private _headers;
|
|
113
|
+
/**
|
|
114
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
115
|
+
* @param _value initial values object or instance of SipStartCallRequest to deeply clone from
|
|
116
|
+
*/
|
|
117
|
+
constructor(_value?: RecursivePartial<SipStartCallRequest.AsObject>);
|
|
118
|
+
get calleeId(): string;
|
|
119
|
+
set calleeId(value: string);
|
|
120
|
+
get headers(): {
|
|
121
|
+
[prop: string]: string;
|
|
122
|
+
};
|
|
123
|
+
set headers(value: {
|
|
124
|
+
[prop: string]: string;
|
|
125
|
+
});
|
|
126
|
+
/**
|
|
127
|
+
* Serialize message to binary data
|
|
128
|
+
* @param instance message instance
|
|
129
|
+
*/
|
|
130
|
+
serializeBinary(): any;
|
|
131
|
+
/**
|
|
132
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
133
|
+
*/
|
|
134
|
+
toObject(): SipStartCallRequest.AsObject;
|
|
135
|
+
/**
|
|
136
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
137
|
+
*/
|
|
138
|
+
toJSON(): SipStartCallRequest.AsObject;
|
|
139
|
+
/**
|
|
140
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
141
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
142
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
143
|
+
*/
|
|
144
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStartCallRequest.AsProtobufJSON;
|
|
145
|
+
}
|
|
146
|
+
declare namespace SipStartCallRequest {
|
|
147
|
+
/**
|
|
148
|
+
* Standard JavaScript object representation for SipStartCallRequest
|
|
149
|
+
*/
|
|
150
|
+
interface AsObject {
|
|
151
|
+
calleeId: string;
|
|
152
|
+
headers: {
|
|
153
|
+
[prop: string]: string;
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Protobuf JSON representation for SipStartCallRequest
|
|
158
|
+
*/
|
|
159
|
+
interface AsProtobufJSON {
|
|
160
|
+
calleeId: string;
|
|
161
|
+
headers: {
|
|
162
|
+
[prop: string]: string;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Message implementation for ondewo.sip.SipStartCallRequest.HeadersEntry
|
|
167
|
+
*/
|
|
168
|
+
class HeadersEntry implements GrpcMessage {
|
|
169
|
+
static id: string;
|
|
170
|
+
/**
|
|
171
|
+
* Deserialize binary data to message
|
|
172
|
+
* @param instance message instance
|
|
173
|
+
*/
|
|
174
|
+
static deserializeBinary(bytes: ByteSource): HeadersEntry;
|
|
175
|
+
/**
|
|
176
|
+
* Check all the properties and set default protobuf values if necessary
|
|
177
|
+
* @param _instance message instance
|
|
178
|
+
*/
|
|
179
|
+
static refineValues(_instance: HeadersEntry): void;
|
|
180
|
+
/**
|
|
181
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
182
|
+
* @param _instance message instance
|
|
183
|
+
* @param _reader binary reader instance
|
|
184
|
+
*/
|
|
185
|
+
static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
|
|
186
|
+
/**
|
|
187
|
+
* Serializes a message to binary format using provided binary reader
|
|
188
|
+
* @param _instance message instance
|
|
189
|
+
* @param _writer binary writer instance
|
|
190
|
+
*/
|
|
191
|
+
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
192
|
+
private _key;
|
|
193
|
+
private _value;
|
|
194
|
+
/**
|
|
195
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
196
|
+
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
197
|
+
*/
|
|
198
|
+
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
199
|
+
get key(): string;
|
|
200
|
+
set key(value: string);
|
|
201
|
+
get value(): string;
|
|
202
|
+
set value(value: string);
|
|
203
|
+
/**
|
|
204
|
+
* Serialize message to binary data
|
|
205
|
+
* @param instance message instance
|
|
206
|
+
*/
|
|
207
|
+
serializeBinary(): any;
|
|
208
|
+
/**
|
|
209
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
210
|
+
*/
|
|
211
|
+
toObject(): HeadersEntry.AsObject;
|
|
212
|
+
/**
|
|
213
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
214
|
+
*/
|
|
215
|
+
toJSON(): HeadersEntry.AsObject;
|
|
216
|
+
/**
|
|
217
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
218
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
219
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
220
|
+
*/
|
|
221
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
222
|
+
}
|
|
223
|
+
namespace HeadersEntry {
|
|
224
|
+
/**
|
|
225
|
+
* Standard JavaScript object representation for HeadersEntry
|
|
226
|
+
*/
|
|
227
|
+
interface AsObject {
|
|
228
|
+
key: string;
|
|
229
|
+
value: string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Protobuf JSON representation for HeadersEntry
|
|
233
|
+
*/
|
|
234
|
+
interface AsProtobufJSON {
|
|
235
|
+
key: string;
|
|
236
|
+
value: string;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Message implementation for ondewo.sip.SipRegisterAccountRequest
|
|
242
|
+
*/
|
|
243
|
+
declare class SipRegisterAccountRequest implements GrpcMessage {
|
|
244
|
+
static id: string;
|
|
245
|
+
/**
|
|
246
|
+
* Deserialize binary data to message
|
|
247
|
+
* @param instance message instance
|
|
248
|
+
*/
|
|
249
|
+
static deserializeBinary(bytes: ByteSource): SipRegisterAccountRequest;
|
|
250
|
+
/**
|
|
251
|
+
* Check all the properties and set default protobuf values if necessary
|
|
252
|
+
* @param _instance message instance
|
|
253
|
+
*/
|
|
254
|
+
static refineValues(_instance: SipRegisterAccountRequest): void;
|
|
255
|
+
/**
|
|
256
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
257
|
+
* @param _instance message instance
|
|
258
|
+
* @param _reader binary reader instance
|
|
259
|
+
*/
|
|
260
|
+
static deserializeBinaryFromReader(_instance: SipRegisterAccountRequest, _reader: BinaryReader): void;
|
|
261
|
+
/**
|
|
262
|
+
* Serializes a message to binary format using provided binary reader
|
|
263
|
+
* @param _instance message instance
|
|
264
|
+
* @param _writer binary writer instance
|
|
265
|
+
*/
|
|
266
|
+
static serializeBinaryToWriter(_instance: SipRegisterAccountRequest, _writer: BinaryWriter): void;
|
|
267
|
+
private _accountName;
|
|
268
|
+
private _password;
|
|
269
|
+
private _authUsername;
|
|
270
|
+
private _outboundProxy;
|
|
271
|
+
/**
|
|
272
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
273
|
+
* @param _value initial values object or instance of SipRegisterAccountRequest to deeply clone from
|
|
274
|
+
*/
|
|
275
|
+
constructor(_value?: RecursivePartial<SipRegisterAccountRequest.AsObject>);
|
|
276
|
+
get accountName(): string;
|
|
277
|
+
set accountName(value: string);
|
|
278
|
+
get password(): string;
|
|
279
|
+
set password(value: string);
|
|
280
|
+
get authUsername(): string;
|
|
281
|
+
set authUsername(value: string);
|
|
282
|
+
get outboundProxy(): string;
|
|
283
|
+
set outboundProxy(value: string);
|
|
284
|
+
/**
|
|
285
|
+
* Serialize message to binary data
|
|
286
|
+
* @param instance message instance
|
|
287
|
+
*/
|
|
288
|
+
serializeBinary(): any;
|
|
289
|
+
/**
|
|
290
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
291
|
+
*/
|
|
292
|
+
toObject(): SipRegisterAccountRequest.AsObject;
|
|
293
|
+
/**
|
|
294
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
295
|
+
*/
|
|
296
|
+
toJSON(): SipRegisterAccountRequest.AsObject;
|
|
297
|
+
/**
|
|
298
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
299
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
300
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
301
|
+
*/
|
|
302
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipRegisterAccountRequest.AsProtobufJSON;
|
|
303
|
+
}
|
|
304
|
+
declare namespace SipRegisterAccountRequest {
|
|
305
|
+
/**
|
|
306
|
+
* Standard JavaScript object representation for SipRegisterAccountRequest
|
|
307
|
+
*/
|
|
308
|
+
interface AsObject {
|
|
309
|
+
accountName: string;
|
|
310
|
+
password: string;
|
|
311
|
+
authUsername: string;
|
|
312
|
+
outboundProxy: string;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Protobuf JSON representation for SipRegisterAccountRequest
|
|
316
|
+
*/
|
|
317
|
+
interface AsProtobufJSON {
|
|
318
|
+
accountName: string;
|
|
319
|
+
password: string;
|
|
320
|
+
authUsername: string;
|
|
321
|
+
outboundProxy: string;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Message implementation for ondewo.sip.SipStartSessionRequest
|
|
326
|
+
*/
|
|
327
|
+
declare class SipStartSessionRequest implements GrpcMessage {
|
|
328
|
+
static id: string;
|
|
329
|
+
/**
|
|
330
|
+
* Deserialize binary data to message
|
|
331
|
+
* @param instance message instance
|
|
332
|
+
*/
|
|
333
|
+
static deserializeBinary(bytes: ByteSource): SipStartSessionRequest;
|
|
334
|
+
/**
|
|
335
|
+
* Check all the properties and set default protobuf values if necessary
|
|
336
|
+
* @param _instance message instance
|
|
337
|
+
*/
|
|
338
|
+
static refineValues(_instance: SipStartSessionRequest): void;
|
|
339
|
+
/**
|
|
340
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
341
|
+
* @param _instance message instance
|
|
342
|
+
* @param _reader binary reader instance
|
|
343
|
+
*/
|
|
344
|
+
static deserializeBinaryFromReader(_instance: SipStartSessionRequest, _reader: BinaryReader): void;
|
|
345
|
+
/**
|
|
346
|
+
* Serializes a message to binary format using provided binary reader
|
|
347
|
+
* @param _instance message instance
|
|
348
|
+
* @param _writer binary writer instance
|
|
349
|
+
*/
|
|
350
|
+
static serializeBinaryToWriter(_instance: SipStartSessionRequest, _writer: BinaryWriter): void;
|
|
351
|
+
private _accountName;
|
|
352
|
+
private _autoAnswerInterval;
|
|
353
|
+
/**
|
|
354
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
355
|
+
* @param _value initial values object or instance of SipStartSessionRequest to deeply clone from
|
|
356
|
+
*/
|
|
357
|
+
constructor(_value?: RecursivePartial<SipStartSessionRequest.AsObject>);
|
|
358
|
+
get accountName(): string;
|
|
359
|
+
set accountName(value: string);
|
|
360
|
+
get autoAnswerInterval(): number;
|
|
361
|
+
set autoAnswerInterval(value: number);
|
|
362
|
+
/**
|
|
363
|
+
* Serialize message to binary data
|
|
364
|
+
* @param instance message instance
|
|
365
|
+
*/
|
|
366
|
+
serializeBinary(): any;
|
|
367
|
+
/**
|
|
368
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
369
|
+
*/
|
|
370
|
+
toObject(): SipStartSessionRequest.AsObject;
|
|
371
|
+
/**
|
|
372
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
373
|
+
*/
|
|
374
|
+
toJSON(): SipStartSessionRequest.AsObject;
|
|
375
|
+
/**
|
|
376
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
377
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
378
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
379
|
+
*/
|
|
380
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStartSessionRequest.AsProtobufJSON;
|
|
381
|
+
}
|
|
382
|
+
declare namespace SipStartSessionRequest {
|
|
383
|
+
/**
|
|
384
|
+
* Standard JavaScript object representation for SipStartSessionRequest
|
|
385
|
+
*/
|
|
386
|
+
interface AsObject {
|
|
387
|
+
accountName: string;
|
|
388
|
+
autoAnswerInterval: number;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Protobuf JSON representation for SipStartSessionRequest
|
|
392
|
+
*/
|
|
393
|
+
interface AsProtobufJSON {
|
|
394
|
+
accountName: string;
|
|
395
|
+
autoAnswerInterval: number;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Message implementation for ondewo.sip.SipTransferCallRequest
|
|
400
|
+
*/
|
|
401
|
+
declare class SipTransferCallRequest implements GrpcMessage {
|
|
402
|
+
static id: string;
|
|
403
|
+
/**
|
|
404
|
+
* Deserialize binary data to message
|
|
405
|
+
* @param instance message instance
|
|
406
|
+
*/
|
|
407
|
+
static deserializeBinary(bytes: ByteSource): SipTransferCallRequest;
|
|
408
|
+
/**
|
|
409
|
+
* Check all the properties and set default protobuf values if necessary
|
|
410
|
+
* @param _instance message instance
|
|
411
|
+
*/
|
|
412
|
+
static refineValues(_instance: SipTransferCallRequest): void;
|
|
413
|
+
/**
|
|
414
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
415
|
+
* @param _instance message instance
|
|
416
|
+
* @param _reader binary reader instance
|
|
417
|
+
*/
|
|
418
|
+
static deserializeBinaryFromReader(_instance: SipTransferCallRequest, _reader: BinaryReader): void;
|
|
419
|
+
/**
|
|
420
|
+
* Serializes a message to binary format using provided binary reader
|
|
421
|
+
* @param _instance message instance
|
|
422
|
+
* @param _writer binary writer instance
|
|
423
|
+
*/
|
|
424
|
+
static serializeBinaryToWriter(_instance: SipTransferCallRequest, _writer: BinaryWriter): void;
|
|
425
|
+
private _transferId;
|
|
426
|
+
private _headers;
|
|
427
|
+
/**
|
|
428
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
429
|
+
* @param _value initial values object or instance of SipTransferCallRequest to deeply clone from
|
|
430
|
+
*/
|
|
431
|
+
constructor(_value?: RecursivePartial<SipTransferCallRequest.AsObject>);
|
|
432
|
+
get transferId(): string;
|
|
433
|
+
set transferId(value: string);
|
|
434
|
+
get headers(): {
|
|
435
|
+
[prop: string]: string;
|
|
436
|
+
};
|
|
437
|
+
set headers(value: {
|
|
438
|
+
[prop: string]: string;
|
|
439
|
+
});
|
|
440
|
+
/**
|
|
441
|
+
* Serialize message to binary data
|
|
442
|
+
* @param instance message instance
|
|
443
|
+
*/
|
|
444
|
+
serializeBinary(): any;
|
|
445
|
+
/**
|
|
446
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
447
|
+
*/
|
|
448
|
+
toObject(): SipTransferCallRequest.AsObject;
|
|
449
|
+
/**
|
|
450
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
451
|
+
*/
|
|
452
|
+
toJSON(): SipTransferCallRequest.AsObject;
|
|
453
|
+
/**
|
|
454
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
455
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
456
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
457
|
+
*/
|
|
458
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipTransferCallRequest.AsProtobufJSON;
|
|
459
|
+
}
|
|
460
|
+
declare namespace SipTransferCallRequest {
|
|
461
|
+
/**
|
|
462
|
+
* Standard JavaScript object representation for SipTransferCallRequest
|
|
463
|
+
*/
|
|
464
|
+
interface AsObject {
|
|
465
|
+
transferId: string;
|
|
466
|
+
headers: {
|
|
467
|
+
[prop: string]: string;
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Protobuf JSON representation for SipTransferCallRequest
|
|
472
|
+
*/
|
|
473
|
+
interface AsProtobufJSON {
|
|
474
|
+
transferId: string;
|
|
475
|
+
headers: {
|
|
476
|
+
[prop: string]: string;
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Message implementation for ondewo.sip.SipTransferCallRequest.HeadersEntry
|
|
481
|
+
*/
|
|
482
|
+
class HeadersEntry implements GrpcMessage {
|
|
483
|
+
static id: string;
|
|
484
|
+
/**
|
|
485
|
+
* Deserialize binary data to message
|
|
486
|
+
* @param instance message instance
|
|
487
|
+
*/
|
|
488
|
+
static deserializeBinary(bytes: ByteSource): HeadersEntry;
|
|
489
|
+
/**
|
|
490
|
+
* Check all the properties and set default protobuf values if necessary
|
|
491
|
+
* @param _instance message instance
|
|
492
|
+
*/
|
|
493
|
+
static refineValues(_instance: HeadersEntry): void;
|
|
494
|
+
/**
|
|
495
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
496
|
+
* @param _instance message instance
|
|
497
|
+
* @param _reader binary reader instance
|
|
498
|
+
*/
|
|
499
|
+
static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
|
|
500
|
+
/**
|
|
501
|
+
* Serializes a message to binary format using provided binary reader
|
|
502
|
+
* @param _instance message instance
|
|
503
|
+
* @param _writer binary writer instance
|
|
504
|
+
*/
|
|
505
|
+
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
506
|
+
private _key;
|
|
507
|
+
private _value;
|
|
508
|
+
/**
|
|
509
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
510
|
+
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
511
|
+
*/
|
|
512
|
+
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
513
|
+
get key(): string;
|
|
514
|
+
set key(value: string);
|
|
515
|
+
get value(): string;
|
|
516
|
+
set value(value: string);
|
|
517
|
+
/**
|
|
518
|
+
* Serialize message to binary data
|
|
519
|
+
* @param instance message instance
|
|
520
|
+
*/
|
|
521
|
+
serializeBinary(): any;
|
|
522
|
+
/**
|
|
523
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
524
|
+
*/
|
|
525
|
+
toObject(): HeadersEntry.AsObject;
|
|
526
|
+
/**
|
|
527
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
528
|
+
*/
|
|
529
|
+
toJSON(): HeadersEntry.AsObject;
|
|
530
|
+
/**
|
|
531
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
532
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
533
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
534
|
+
*/
|
|
535
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
536
|
+
}
|
|
537
|
+
namespace HeadersEntry {
|
|
538
|
+
/**
|
|
539
|
+
* Standard JavaScript object representation for HeadersEntry
|
|
540
|
+
*/
|
|
541
|
+
interface AsObject {
|
|
542
|
+
key: string;
|
|
543
|
+
value: string;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Protobuf JSON representation for HeadersEntry
|
|
547
|
+
*/
|
|
548
|
+
interface AsProtobufJSON {
|
|
549
|
+
key: string;
|
|
550
|
+
value: string;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Message implementation for ondewo.sip.SipStatus
|
|
556
|
+
*/
|
|
557
|
+
declare class SipStatus implements GrpcMessage {
|
|
558
|
+
static id: string;
|
|
559
|
+
/**
|
|
560
|
+
* Deserialize binary data to message
|
|
561
|
+
* @param instance message instance
|
|
562
|
+
*/
|
|
563
|
+
static deserializeBinary(bytes: ByteSource): SipStatus;
|
|
564
|
+
/**
|
|
565
|
+
* Check all the properties and set default protobuf values if necessary
|
|
566
|
+
* @param _instance message instance
|
|
567
|
+
*/
|
|
568
|
+
static refineValues(_instance: SipStatus): void;
|
|
569
|
+
/**
|
|
570
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
571
|
+
* @param _instance message instance
|
|
572
|
+
* @param _reader binary reader instance
|
|
573
|
+
*/
|
|
574
|
+
static deserializeBinaryFromReader(_instance: SipStatus, _reader: BinaryReader): void;
|
|
575
|
+
/**
|
|
576
|
+
* Serializes a message to binary format using provided binary reader
|
|
577
|
+
* @param _instance message instance
|
|
578
|
+
* @param _writer binary writer instance
|
|
579
|
+
*/
|
|
580
|
+
static serializeBinaryToWriter(_instance: SipStatus, _writer: BinaryWriter): void;
|
|
581
|
+
private _accountName;
|
|
582
|
+
private _timestamp?;
|
|
583
|
+
private _statusType;
|
|
584
|
+
private _calleeId;
|
|
585
|
+
private _transferCallId;
|
|
586
|
+
private _headers;
|
|
587
|
+
private _description;
|
|
588
|
+
private _exceptionName;
|
|
589
|
+
private _exceptionTraceback;
|
|
590
|
+
private _nluSessionName;
|
|
591
|
+
/**
|
|
592
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
593
|
+
* @param _value initial values object or instance of SipStatus to deeply clone from
|
|
594
|
+
*/
|
|
595
|
+
constructor(_value?: RecursivePartial<SipStatus.AsObject>);
|
|
596
|
+
get accountName(): string;
|
|
597
|
+
set accountName(value: string);
|
|
598
|
+
get timestamp(): googleProtobuf000.Timestamp | undefined;
|
|
599
|
+
set timestamp(value: googleProtobuf000.Timestamp | undefined);
|
|
600
|
+
get statusType(): SipStatus.StatusType;
|
|
601
|
+
set statusType(value: SipStatus.StatusType);
|
|
602
|
+
get calleeId(): string;
|
|
603
|
+
set calleeId(value: string);
|
|
604
|
+
get transferCallId(): string;
|
|
605
|
+
set transferCallId(value: string);
|
|
606
|
+
get headers(): {
|
|
607
|
+
[prop: string]: string;
|
|
608
|
+
};
|
|
609
|
+
set headers(value: {
|
|
610
|
+
[prop: string]: string;
|
|
611
|
+
});
|
|
612
|
+
get description(): string;
|
|
613
|
+
set description(value: string);
|
|
614
|
+
get exceptionName(): string;
|
|
615
|
+
set exceptionName(value: string);
|
|
616
|
+
get exceptionTraceback(): string;
|
|
617
|
+
set exceptionTraceback(value: string);
|
|
618
|
+
get nluSessionName(): string;
|
|
619
|
+
set nluSessionName(value: string);
|
|
620
|
+
/**
|
|
621
|
+
* Serialize message to binary data
|
|
622
|
+
* @param instance message instance
|
|
623
|
+
*/
|
|
624
|
+
serializeBinary(): any;
|
|
625
|
+
/**
|
|
626
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
627
|
+
*/
|
|
628
|
+
toObject(): SipStatus.AsObject;
|
|
629
|
+
/**
|
|
630
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
631
|
+
*/
|
|
632
|
+
toJSON(): SipStatus.AsObject;
|
|
633
|
+
/**
|
|
634
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
635
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
636
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
637
|
+
*/
|
|
638
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStatus.AsProtobufJSON;
|
|
639
|
+
}
|
|
640
|
+
declare namespace SipStatus {
|
|
641
|
+
/**
|
|
642
|
+
* Standard JavaScript object representation for SipStatus
|
|
643
|
+
*/
|
|
644
|
+
interface AsObject {
|
|
645
|
+
accountName: string;
|
|
646
|
+
timestamp?: googleProtobuf000.Timestamp.AsObject;
|
|
647
|
+
statusType: SipStatus.StatusType;
|
|
648
|
+
calleeId: string;
|
|
649
|
+
transferCallId: string;
|
|
650
|
+
headers: {
|
|
651
|
+
[prop: string]: string;
|
|
652
|
+
};
|
|
653
|
+
description: string;
|
|
654
|
+
exceptionName: string;
|
|
655
|
+
exceptionTraceback: string;
|
|
656
|
+
nluSessionName: string;
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* Protobuf JSON representation for SipStatus
|
|
660
|
+
*/
|
|
661
|
+
interface AsProtobufJSON {
|
|
662
|
+
accountName: string;
|
|
663
|
+
timestamp: googleProtobuf000.Timestamp.AsProtobufJSON | null;
|
|
664
|
+
statusType: string;
|
|
665
|
+
calleeId: string;
|
|
666
|
+
transferCallId: string;
|
|
667
|
+
headers: {
|
|
668
|
+
[prop: string]: string;
|
|
669
|
+
};
|
|
670
|
+
description: string;
|
|
671
|
+
exceptionName: string;
|
|
672
|
+
exceptionTraceback: string;
|
|
673
|
+
nluSessionName: string;
|
|
674
|
+
}
|
|
675
|
+
enum StatusType {
|
|
676
|
+
NO_SESSION = 0,
|
|
677
|
+
REGISTERED = 1,
|
|
678
|
+
READY = 2,
|
|
679
|
+
INCOMING_CALL_INITIATED = 3,
|
|
680
|
+
OUTGOING_CALL_INITIATED = 4,
|
|
681
|
+
OUTGOING_CALL_CONNECTED = 5,
|
|
682
|
+
INCOMING_CALL_CONNECTED = 6,
|
|
683
|
+
TRANSFER_CALL_INITIATED = 7,
|
|
684
|
+
SOFT_HANGUP_INITIATED = 8,
|
|
685
|
+
HARD_HANGUP_INITIATED = 9,
|
|
686
|
+
INCOMING_CALL_FAILED = 10,
|
|
687
|
+
OUTGOING_CALL_FAILED = 11,
|
|
688
|
+
INCOMING_CALL_FINISHED = 12,
|
|
689
|
+
OUTGOING_CALL_FINISHED = 13,
|
|
690
|
+
SESSION_REGISTRATION_FAILED = 14,
|
|
691
|
+
SESSION_STARTED = 15,
|
|
692
|
+
SESSION_ENDED = 16,
|
|
693
|
+
TRANSFER_CALL_FAILED = 17,
|
|
694
|
+
MICROPHONE_MUTED = 18,
|
|
695
|
+
MICROPHONE_UNMUTED = 19,
|
|
696
|
+
MICROPHONE_WAV_FILES_PLAYED = 20,
|
|
697
|
+
NO_ONGOING_CALL = 21
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Message implementation for ondewo.sip.SipStatus.HeadersEntry
|
|
701
|
+
*/
|
|
702
|
+
class HeadersEntry implements GrpcMessage {
|
|
703
|
+
static id: string;
|
|
704
|
+
/**
|
|
705
|
+
* Deserialize binary data to message
|
|
706
|
+
* @param instance message instance
|
|
707
|
+
*/
|
|
708
|
+
static deserializeBinary(bytes: ByteSource): HeadersEntry;
|
|
709
|
+
/**
|
|
710
|
+
* Check all the properties and set default protobuf values if necessary
|
|
711
|
+
* @param _instance message instance
|
|
712
|
+
*/
|
|
713
|
+
static refineValues(_instance: HeadersEntry): void;
|
|
714
|
+
/**
|
|
715
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
716
|
+
* @param _instance message instance
|
|
717
|
+
* @param _reader binary reader instance
|
|
718
|
+
*/
|
|
719
|
+
static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
|
|
720
|
+
/**
|
|
721
|
+
* Serializes a message to binary format using provided binary reader
|
|
722
|
+
* @param _instance message instance
|
|
723
|
+
* @param _writer binary writer instance
|
|
724
|
+
*/
|
|
725
|
+
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
726
|
+
private _key;
|
|
727
|
+
private _value;
|
|
728
|
+
/**
|
|
729
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
730
|
+
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
731
|
+
*/
|
|
732
|
+
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
733
|
+
get key(): string;
|
|
734
|
+
set key(value: string);
|
|
735
|
+
get value(): string;
|
|
736
|
+
set value(value: string);
|
|
737
|
+
/**
|
|
738
|
+
* Serialize message to binary data
|
|
739
|
+
* @param instance message instance
|
|
740
|
+
*/
|
|
741
|
+
serializeBinary(): any;
|
|
742
|
+
/**
|
|
743
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
744
|
+
*/
|
|
745
|
+
toObject(): HeadersEntry.AsObject;
|
|
746
|
+
/**
|
|
747
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
748
|
+
*/
|
|
749
|
+
toJSON(): HeadersEntry.AsObject;
|
|
750
|
+
/**
|
|
751
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
752
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
753
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
754
|
+
*/
|
|
755
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
756
|
+
}
|
|
757
|
+
namespace HeadersEntry {
|
|
758
|
+
/**
|
|
759
|
+
* Standard JavaScript object representation for HeadersEntry
|
|
760
|
+
*/
|
|
761
|
+
interface AsObject {
|
|
762
|
+
key: string;
|
|
763
|
+
value: string;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Protobuf JSON representation for HeadersEntry
|
|
767
|
+
*/
|
|
768
|
+
interface AsProtobufJSON {
|
|
769
|
+
key: string;
|
|
770
|
+
value: string;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Message implementation for ondewo.sip.SipStatusHistoryResponse
|
|
776
|
+
*/
|
|
777
|
+
declare class SipStatusHistoryResponse implements GrpcMessage {
|
|
778
|
+
static id: string;
|
|
779
|
+
/**
|
|
780
|
+
* Deserialize binary data to message
|
|
781
|
+
* @param instance message instance
|
|
782
|
+
*/
|
|
783
|
+
static deserializeBinary(bytes: ByteSource): SipStatusHistoryResponse;
|
|
784
|
+
/**
|
|
785
|
+
* Check all the properties and set default protobuf values if necessary
|
|
786
|
+
* @param _instance message instance
|
|
787
|
+
*/
|
|
788
|
+
static refineValues(_instance: SipStatusHistoryResponse): void;
|
|
789
|
+
/**
|
|
790
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
791
|
+
* @param _instance message instance
|
|
792
|
+
* @param _reader binary reader instance
|
|
793
|
+
*/
|
|
794
|
+
static deserializeBinaryFromReader(_instance: SipStatusHistoryResponse, _reader: BinaryReader): void;
|
|
795
|
+
/**
|
|
796
|
+
* Serializes a message to binary format using provided binary reader
|
|
797
|
+
* @param _instance message instance
|
|
798
|
+
* @param _writer binary writer instance
|
|
799
|
+
*/
|
|
800
|
+
static serializeBinaryToWriter(_instance: SipStatusHistoryResponse, _writer: BinaryWriter): void;
|
|
801
|
+
private _statusHistory?;
|
|
802
|
+
/**
|
|
803
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
804
|
+
* @param _value initial values object or instance of SipStatusHistoryResponse to deeply clone from
|
|
805
|
+
*/
|
|
806
|
+
constructor(_value?: RecursivePartial<SipStatusHistoryResponse.AsObject>);
|
|
807
|
+
get statusHistory(): SipStatus[] | undefined;
|
|
808
|
+
set statusHistory(value: SipStatus[] | undefined);
|
|
809
|
+
/**
|
|
810
|
+
* Serialize message to binary data
|
|
811
|
+
* @param instance message instance
|
|
812
|
+
*/
|
|
813
|
+
serializeBinary(): any;
|
|
814
|
+
/**
|
|
815
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
816
|
+
*/
|
|
817
|
+
toObject(): SipStatusHistoryResponse.AsObject;
|
|
818
|
+
/**
|
|
819
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
820
|
+
*/
|
|
821
|
+
toJSON(): SipStatusHistoryResponse.AsObject;
|
|
822
|
+
/**
|
|
823
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
824
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
825
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
826
|
+
*/
|
|
827
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStatusHistoryResponse.AsProtobufJSON;
|
|
828
|
+
}
|
|
829
|
+
declare namespace SipStatusHistoryResponse {
|
|
830
|
+
/**
|
|
831
|
+
* Standard JavaScript object representation for SipStatusHistoryResponse
|
|
832
|
+
*/
|
|
833
|
+
interface AsObject {
|
|
834
|
+
statusHistory?: SipStatus.AsObject[];
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Protobuf JSON representation for SipStatusHistoryResponse
|
|
838
|
+
*/
|
|
839
|
+
interface AsProtobufJSON {
|
|
840
|
+
statusHistory: SipStatus.AsProtobufJSON[] | null;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Message implementation for ondewo.sip.SipPlayWavFilesRequest
|
|
845
|
+
*/
|
|
846
|
+
declare class SipPlayWavFilesRequest implements GrpcMessage {
|
|
847
|
+
static id: string;
|
|
848
|
+
/**
|
|
849
|
+
* Deserialize binary data to message
|
|
850
|
+
* @param instance message instance
|
|
851
|
+
*/
|
|
852
|
+
static deserializeBinary(bytes: ByteSource): SipPlayWavFilesRequest;
|
|
853
|
+
/**
|
|
854
|
+
* Check all the properties and set default protobuf values if necessary
|
|
855
|
+
* @param _instance message instance
|
|
856
|
+
*/
|
|
857
|
+
static refineValues(_instance: SipPlayWavFilesRequest): void;
|
|
858
|
+
/**
|
|
859
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
860
|
+
* @param _instance message instance
|
|
861
|
+
* @param _reader binary reader instance
|
|
862
|
+
*/
|
|
863
|
+
static deserializeBinaryFromReader(_instance: SipPlayWavFilesRequest, _reader: BinaryReader): void;
|
|
864
|
+
/**
|
|
865
|
+
* Serializes a message to binary format using provided binary reader
|
|
866
|
+
* @param _instance message instance
|
|
867
|
+
* @param _writer binary writer instance
|
|
868
|
+
*/
|
|
869
|
+
static serializeBinaryToWriter(_instance: SipPlayWavFilesRequest, _writer: BinaryWriter): void;
|
|
870
|
+
private _wavFiles;
|
|
871
|
+
/**
|
|
872
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
873
|
+
* @param _value initial values object or instance of SipPlayWavFilesRequest to deeply clone from
|
|
874
|
+
*/
|
|
875
|
+
constructor(_value?: RecursivePartial<SipPlayWavFilesRequest.AsObject>);
|
|
876
|
+
get wavFiles(): Uint8Array[];
|
|
877
|
+
set wavFiles(value: Uint8Array[]);
|
|
878
|
+
/**
|
|
879
|
+
* Serialize message to binary data
|
|
880
|
+
* @param instance message instance
|
|
881
|
+
*/
|
|
882
|
+
serializeBinary(): any;
|
|
883
|
+
/**
|
|
884
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
885
|
+
*/
|
|
886
|
+
toObject(): SipPlayWavFilesRequest.AsObject;
|
|
887
|
+
/**
|
|
888
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
889
|
+
*/
|
|
890
|
+
toJSON(): SipPlayWavFilesRequest.AsObject;
|
|
891
|
+
/**
|
|
892
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
893
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
894
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
895
|
+
*/
|
|
896
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipPlayWavFilesRequest.AsProtobufJSON;
|
|
897
|
+
}
|
|
898
|
+
declare namespace SipPlayWavFilesRequest {
|
|
899
|
+
/**
|
|
900
|
+
* Standard JavaScript object representation for SipPlayWavFilesRequest
|
|
901
|
+
*/
|
|
902
|
+
interface AsObject {
|
|
903
|
+
wavFiles: Uint8Array[];
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* Protobuf JSON representation for SipPlayWavFilesRequest
|
|
907
|
+
*/
|
|
908
|
+
interface AsProtobufJSON {
|
|
909
|
+
wavFiles: string[];
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Service client implementation for ondewo.sip.Sip
|
|
915
|
+
*/
|
|
916
|
+
declare class SipClient {
|
|
917
|
+
private handler;
|
|
918
|
+
private client;
|
|
919
|
+
/**
|
|
920
|
+
* Raw RPC implementation for each service client method.
|
|
921
|
+
* The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
|
|
922
|
+
* Attention: these methods do not throw errors when non-zero status codes are received.
|
|
923
|
+
*/
|
|
924
|
+
$raw: {
|
|
925
|
+
/**
|
|
926
|
+
* Unary call: /ondewo.sip.Sip/SipStartSession
|
|
927
|
+
*
|
|
928
|
+
* @param requestMessage Request message
|
|
929
|
+
* @param requestMetadata Request metadata
|
|
930
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
931
|
+
*/
|
|
932
|
+
sipStartSession: (requestData: SipStartSessionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
933
|
+
/**
|
|
934
|
+
* Unary call: /ondewo.sip.Sip/SipEndSession
|
|
935
|
+
*
|
|
936
|
+
* @param requestMessage Request message
|
|
937
|
+
* @param requestMetadata Request metadata
|
|
938
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
939
|
+
*/
|
|
940
|
+
sipEndSession: (requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
941
|
+
/**
|
|
942
|
+
* Unary call: /ondewo.sip.Sip/SipStartCall
|
|
943
|
+
*
|
|
944
|
+
* @param requestMessage Request message
|
|
945
|
+
* @param requestMetadata Request metadata
|
|
946
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
947
|
+
*/
|
|
948
|
+
sipStartCall: (requestData: SipStartCallRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
949
|
+
/**
|
|
950
|
+
* Unary call: /ondewo.sip.Sip/SipEndCall
|
|
951
|
+
*
|
|
952
|
+
* @param requestMessage Request message
|
|
953
|
+
* @param requestMetadata Request metadata
|
|
954
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
955
|
+
*/
|
|
956
|
+
sipEndCall: (requestData: SipEndCallRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
957
|
+
/**
|
|
958
|
+
* Unary call: /ondewo.sip.Sip/SipTransferCall
|
|
959
|
+
*
|
|
960
|
+
* @param requestMessage Request message
|
|
961
|
+
* @param requestMetadata Request metadata
|
|
962
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
963
|
+
*/
|
|
964
|
+
sipTransferCall: (requestData: SipTransferCallRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
965
|
+
/**
|
|
966
|
+
* Unary call: /ondewo.sip.Sip/SipRegisterAccount
|
|
967
|
+
*
|
|
968
|
+
* @param requestMessage Request message
|
|
969
|
+
* @param requestMetadata Request metadata
|
|
970
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
971
|
+
*/
|
|
972
|
+
sipRegisterAccount: (requestData: SipRegisterAccountRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
973
|
+
/**
|
|
974
|
+
* Unary call: /ondewo.sip.Sip/SipGetSipStatus
|
|
975
|
+
*
|
|
976
|
+
* @param requestMessage Request message
|
|
977
|
+
* @param requestMetadata Request metadata
|
|
978
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
979
|
+
*/
|
|
980
|
+
sipGetSipStatus: (requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
981
|
+
/**
|
|
982
|
+
* Unary call: /ondewo.sip.Sip/SipGetSipStatusHistory
|
|
983
|
+
*
|
|
984
|
+
* @param requestMessage Request message
|
|
985
|
+
* @param requestMetadata Request metadata
|
|
986
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatusHistoryResponse>>
|
|
987
|
+
*/
|
|
988
|
+
sipGetSipStatusHistory: (requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatusHistoryResponse>>;
|
|
989
|
+
/**
|
|
990
|
+
* Unary call: /ondewo.sip.Sip/SipPlayWavFiles
|
|
991
|
+
*
|
|
992
|
+
* @param requestMessage Request message
|
|
993
|
+
* @param requestMetadata Request metadata
|
|
994
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
995
|
+
*/
|
|
996
|
+
sipPlayWavFiles: (requestData: SipPlayWavFilesRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
997
|
+
/**
|
|
998
|
+
* Unary call: /ondewo.sip.Sip/SipMute
|
|
999
|
+
*
|
|
1000
|
+
* @param requestMessage Request message
|
|
1001
|
+
* @param requestMetadata Request metadata
|
|
1002
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
1003
|
+
*/
|
|
1004
|
+
sipMute: (requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Unary call: /ondewo.sip.Sip/SipUnMute
|
|
1007
|
+
*
|
|
1008
|
+
* @param requestMessage Request message
|
|
1009
|
+
* @param requestMetadata Request metadata
|
|
1010
|
+
* @returns Observable<GrpcEvent<thisProto.SipStatus>>
|
|
1011
|
+
*/
|
|
1012
|
+
sipUnMute: (requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<SipStatus>>;
|
|
1013
|
+
};
|
|
1014
|
+
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
1015
|
+
/**
|
|
1016
|
+
* Unary call @/ondewo.sip.Sip/SipStartSession
|
|
1017
|
+
*
|
|
1018
|
+
* @param requestMessage Request message
|
|
1019
|
+
* @param requestMetadata Request metadata
|
|
1020
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1021
|
+
*/
|
|
1022
|
+
sipStartSession(requestData: SipStartSessionRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Unary call @/ondewo.sip.Sip/SipEndSession
|
|
1025
|
+
*
|
|
1026
|
+
* @param requestMessage Request message
|
|
1027
|
+
* @param requestMetadata Request metadata
|
|
1028
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1029
|
+
*/
|
|
1030
|
+
sipEndSession(requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Unary call @/ondewo.sip.Sip/SipStartCall
|
|
1033
|
+
*
|
|
1034
|
+
* @param requestMessage Request message
|
|
1035
|
+
* @param requestMetadata Request metadata
|
|
1036
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1037
|
+
*/
|
|
1038
|
+
sipStartCall(requestData: SipStartCallRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Unary call @/ondewo.sip.Sip/SipEndCall
|
|
1041
|
+
*
|
|
1042
|
+
* @param requestMessage Request message
|
|
1043
|
+
* @param requestMetadata Request metadata
|
|
1044
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1045
|
+
*/
|
|
1046
|
+
sipEndCall(requestData: SipEndCallRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Unary call @/ondewo.sip.Sip/SipTransferCall
|
|
1049
|
+
*
|
|
1050
|
+
* @param requestMessage Request message
|
|
1051
|
+
* @param requestMetadata Request metadata
|
|
1052
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1053
|
+
*/
|
|
1054
|
+
sipTransferCall(requestData: SipTransferCallRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Unary call @/ondewo.sip.Sip/SipRegisterAccount
|
|
1057
|
+
*
|
|
1058
|
+
* @param requestMessage Request message
|
|
1059
|
+
* @param requestMetadata Request metadata
|
|
1060
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1061
|
+
*/
|
|
1062
|
+
sipRegisterAccount(requestData: SipRegisterAccountRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Unary call @/ondewo.sip.Sip/SipGetSipStatus
|
|
1065
|
+
*
|
|
1066
|
+
* @param requestMessage Request message
|
|
1067
|
+
* @param requestMetadata Request metadata
|
|
1068
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1069
|
+
*/
|
|
1070
|
+
sipGetSipStatus(requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Unary call @/ondewo.sip.Sip/SipGetSipStatusHistory
|
|
1073
|
+
*
|
|
1074
|
+
* @param requestMessage Request message
|
|
1075
|
+
* @param requestMetadata Request metadata
|
|
1076
|
+
* @returns Observable<thisProto.SipStatusHistoryResponse>
|
|
1077
|
+
*/
|
|
1078
|
+
sipGetSipStatusHistory(requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata): Observable<SipStatusHistoryResponse>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Unary call @/ondewo.sip.Sip/SipPlayWavFiles
|
|
1081
|
+
*
|
|
1082
|
+
* @param requestMessage Request message
|
|
1083
|
+
* @param requestMetadata Request metadata
|
|
1084
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1085
|
+
*/
|
|
1086
|
+
sipPlayWavFiles(requestData: SipPlayWavFilesRequest, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Unary call @/ondewo.sip.Sip/SipMute
|
|
1089
|
+
*
|
|
1090
|
+
* @param requestMessage Request message
|
|
1091
|
+
* @param requestMetadata Request metadata
|
|
1092
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1093
|
+
*/
|
|
1094
|
+
sipMute(requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Unary call @/ondewo.sip.Sip/SipUnMute
|
|
1097
|
+
*
|
|
1098
|
+
* @param requestMessage Request message
|
|
1099
|
+
* @param requestMetadata Request metadata
|
|
1100
|
+
* @returns Observable<thisProto.SipStatus>
|
|
1101
|
+
*/
|
|
1102
|
+
sipUnMute(requestData: googleProtobuf000.Empty, requestMetadata?: GrpcMetadata): Observable<SipStatus>;
|
|
1103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SipClient, [{ optional: true; }, null, null]>;
|
|
1104
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SipClient>;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export { GRPC_SIP_CLIENT_SETTINGS, SipClient, SipEndCallRequest, SipPlayWavFilesRequest, SipRegisterAccountRequest, SipStartCallRequest, SipStartSessionRequest, SipStatus, SipStatusHistoryResponse, SipTransferCallRequest };
|