@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.
@@ -1,900 +0,0 @@
1
- import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
- import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
- import * as googleProtobuf001 from '@ngx-grpc/well-known-types';
4
- /**
5
- * Message implementation for ondewo.sip.SipEndCallRequest
6
- */
7
- export declare class SipEndCallRequest implements GrpcMessage {
8
- static id: string;
9
- /**
10
- * Deserialize binary data to message
11
- * @param instance message instance
12
- */
13
- static deserializeBinary(bytes: ByteSource): SipEndCallRequest;
14
- /**
15
- * Check all the properties and set default protobuf values if necessary
16
- * @param _instance message instance
17
- */
18
- static refineValues(_instance: SipEndCallRequest): void;
19
- /**
20
- * Deserializes / reads binary message into message instance using provided binary reader
21
- * @param _instance message instance
22
- * @param _reader binary reader instance
23
- */
24
- static deserializeBinaryFromReader(_instance: SipEndCallRequest, _reader: BinaryReader): void;
25
- /**
26
- * Serializes a message to binary format using provided binary reader
27
- * @param _instance message instance
28
- * @param _writer binary writer instance
29
- */
30
- static serializeBinaryToWriter(_instance: SipEndCallRequest, _writer: BinaryWriter): void;
31
- private _hardHangup;
32
- /**
33
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
34
- * @param _value initial values object or instance of SipEndCallRequest to deeply clone from
35
- */
36
- constructor(_value?: RecursivePartial<SipEndCallRequest.AsObject>);
37
- get hardHangup(): boolean;
38
- set hardHangup(value: boolean);
39
- /**
40
- * Serialize message to binary data
41
- * @param instance message instance
42
- */
43
- serializeBinary(): any;
44
- /**
45
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
46
- */
47
- toObject(): SipEndCallRequest.AsObject;
48
- /**
49
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
50
- */
51
- toJSON(): SipEndCallRequest.AsObject;
52
- /**
53
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
54
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
55
- * 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
56
- */
57
- toProtobufJSON(options?: ToProtobufJSONOptions): SipEndCallRequest.AsProtobufJSON;
58
- }
59
- export declare namespace SipEndCallRequest {
60
- /**
61
- * Standard JavaScript object representation for SipEndCallRequest
62
- */
63
- interface AsObject {
64
- hardHangup: boolean;
65
- }
66
- /**
67
- * Protobuf JSON representation for SipEndCallRequest
68
- */
69
- interface AsProtobufJSON {
70
- hardHangup: boolean;
71
- }
72
- }
73
- /**
74
- * Message implementation for ondewo.sip.SipStartCallRequest
75
- */
76
- export declare class SipStartCallRequest implements GrpcMessage {
77
- static id: string;
78
- /**
79
- * Deserialize binary data to message
80
- * @param instance message instance
81
- */
82
- static deserializeBinary(bytes: ByteSource): SipStartCallRequest;
83
- /**
84
- * Check all the properties and set default protobuf values if necessary
85
- * @param _instance message instance
86
- */
87
- static refineValues(_instance: SipStartCallRequest): void;
88
- /**
89
- * Deserializes / reads binary message into message instance using provided binary reader
90
- * @param _instance message instance
91
- * @param _reader binary reader instance
92
- */
93
- static deserializeBinaryFromReader(_instance: SipStartCallRequest, _reader: BinaryReader): void;
94
- /**
95
- * Serializes a message to binary format using provided binary reader
96
- * @param _instance message instance
97
- * @param _writer binary writer instance
98
- */
99
- static serializeBinaryToWriter(_instance: SipStartCallRequest, _writer: BinaryWriter): void;
100
- private _calleeId;
101
- private _headers;
102
- /**
103
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
104
- * @param _value initial values object or instance of SipStartCallRequest to deeply clone from
105
- */
106
- constructor(_value?: RecursivePartial<SipStartCallRequest.AsObject>);
107
- get calleeId(): string;
108
- set calleeId(value: string);
109
- get headers(): {
110
- [prop: string]: string;
111
- };
112
- set headers(value: {
113
- [prop: string]: string;
114
- });
115
- /**
116
- * Serialize message to binary data
117
- * @param instance message instance
118
- */
119
- serializeBinary(): any;
120
- /**
121
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
122
- */
123
- toObject(): SipStartCallRequest.AsObject;
124
- /**
125
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
126
- */
127
- toJSON(): SipStartCallRequest.AsObject;
128
- /**
129
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
130
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
131
- * 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
132
- */
133
- toProtobufJSON(options?: ToProtobufJSONOptions): SipStartCallRequest.AsProtobufJSON;
134
- }
135
- export declare namespace SipStartCallRequest {
136
- /**
137
- * Standard JavaScript object representation for SipStartCallRequest
138
- */
139
- interface AsObject {
140
- calleeId: string;
141
- headers: {
142
- [prop: string]: string;
143
- };
144
- }
145
- /**
146
- * Protobuf JSON representation for SipStartCallRequest
147
- */
148
- interface AsProtobufJSON {
149
- calleeId: string;
150
- headers: {
151
- [prop: string]: string;
152
- };
153
- }
154
- /**
155
- * Message implementation for ondewo.sip.SipStartCallRequest.HeadersEntry
156
- */
157
- class HeadersEntry implements GrpcMessage {
158
- static id: string;
159
- /**
160
- * Deserialize binary data to message
161
- * @param instance message instance
162
- */
163
- static deserializeBinary(bytes: ByteSource): HeadersEntry;
164
- /**
165
- * Check all the properties and set default protobuf values if necessary
166
- * @param _instance message instance
167
- */
168
- static refineValues(_instance: HeadersEntry): void;
169
- /**
170
- * Deserializes / reads binary message into message instance using provided binary reader
171
- * @param _instance message instance
172
- * @param _reader binary reader instance
173
- */
174
- static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
175
- /**
176
- * Serializes a message to binary format using provided binary reader
177
- * @param _instance message instance
178
- * @param _writer binary writer instance
179
- */
180
- static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
181
- private _key;
182
- private _value;
183
- /**
184
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
185
- * @param _value initial values object or instance of HeadersEntry to deeply clone from
186
- */
187
- constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
188
- get key(): string;
189
- set key(value: string);
190
- get value(): string;
191
- set value(value: string);
192
- /**
193
- * Serialize message to binary data
194
- * @param instance message instance
195
- */
196
- serializeBinary(): any;
197
- /**
198
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
199
- */
200
- toObject(): HeadersEntry.AsObject;
201
- /**
202
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
203
- */
204
- toJSON(): HeadersEntry.AsObject;
205
- /**
206
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
207
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
208
- * 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
209
- */
210
- toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
211
- }
212
- namespace HeadersEntry {
213
- /**
214
- * Standard JavaScript object representation for HeadersEntry
215
- */
216
- interface AsObject {
217
- key: string;
218
- value: string;
219
- }
220
- /**
221
- * Protobuf JSON representation for HeadersEntry
222
- */
223
- interface AsProtobufJSON {
224
- key: string;
225
- value: string;
226
- }
227
- }
228
- }
229
- /**
230
- * Message implementation for ondewo.sip.SipRegisterAccountRequest
231
- */
232
- export declare class SipRegisterAccountRequest implements GrpcMessage {
233
- static id: string;
234
- /**
235
- * Deserialize binary data to message
236
- * @param instance message instance
237
- */
238
- static deserializeBinary(bytes: ByteSource): SipRegisterAccountRequest;
239
- /**
240
- * Check all the properties and set default protobuf values if necessary
241
- * @param _instance message instance
242
- */
243
- static refineValues(_instance: SipRegisterAccountRequest): void;
244
- /**
245
- * Deserializes / reads binary message into message instance using provided binary reader
246
- * @param _instance message instance
247
- * @param _reader binary reader instance
248
- */
249
- static deserializeBinaryFromReader(_instance: SipRegisterAccountRequest, _reader: BinaryReader): void;
250
- /**
251
- * Serializes a message to binary format using provided binary reader
252
- * @param _instance message instance
253
- * @param _writer binary writer instance
254
- */
255
- static serializeBinaryToWriter(_instance: SipRegisterAccountRequest, _writer: BinaryWriter): void;
256
- private _accountName;
257
- private _password;
258
- private _authUsername;
259
- private _outboundProxy;
260
- /**
261
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
262
- * @param _value initial values object or instance of SipRegisterAccountRequest to deeply clone from
263
- */
264
- constructor(_value?: RecursivePartial<SipRegisterAccountRequest.AsObject>);
265
- get accountName(): string;
266
- set accountName(value: string);
267
- get password(): string;
268
- set password(value: string);
269
- get authUsername(): string;
270
- set authUsername(value: string);
271
- get outboundProxy(): string;
272
- set outboundProxy(value: string);
273
- /**
274
- * Serialize message to binary data
275
- * @param instance message instance
276
- */
277
- serializeBinary(): any;
278
- /**
279
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
280
- */
281
- toObject(): SipRegisterAccountRequest.AsObject;
282
- /**
283
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
284
- */
285
- toJSON(): SipRegisterAccountRequest.AsObject;
286
- /**
287
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
288
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
289
- * 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
290
- */
291
- toProtobufJSON(options?: ToProtobufJSONOptions): SipRegisterAccountRequest.AsProtobufJSON;
292
- }
293
- export declare namespace SipRegisterAccountRequest {
294
- /**
295
- * Standard JavaScript object representation for SipRegisterAccountRequest
296
- */
297
- interface AsObject {
298
- accountName: string;
299
- password: string;
300
- authUsername: string;
301
- outboundProxy: string;
302
- }
303
- /**
304
- * Protobuf JSON representation for SipRegisterAccountRequest
305
- */
306
- interface AsProtobufJSON {
307
- accountName: string;
308
- password: string;
309
- authUsername: string;
310
- outboundProxy: string;
311
- }
312
- }
313
- /**
314
- * Message implementation for ondewo.sip.SipStartSessionRequest
315
- */
316
- export declare class SipStartSessionRequest implements GrpcMessage {
317
- static id: string;
318
- /**
319
- * Deserialize binary data to message
320
- * @param instance message instance
321
- */
322
- static deserializeBinary(bytes: ByteSource): SipStartSessionRequest;
323
- /**
324
- * Check all the properties and set default protobuf values if necessary
325
- * @param _instance message instance
326
- */
327
- static refineValues(_instance: SipStartSessionRequest): void;
328
- /**
329
- * Deserializes / reads binary message into message instance using provided binary reader
330
- * @param _instance message instance
331
- * @param _reader binary reader instance
332
- */
333
- static deserializeBinaryFromReader(_instance: SipStartSessionRequest, _reader: BinaryReader): void;
334
- /**
335
- * Serializes a message to binary format using provided binary reader
336
- * @param _instance message instance
337
- * @param _writer binary writer instance
338
- */
339
- static serializeBinaryToWriter(_instance: SipStartSessionRequest, _writer: BinaryWriter): void;
340
- private _accountName;
341
- private _autoAnswerInterval;
342
- /**
343
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
344
- * @param _value initial values object or instance of SipStartSessionRequest to deeply clone from
345
- */
346
- constructor(_value?: RecursivePartial<SipStartSessionRequest.AsObject>);
347
- get accountName(): string;
348
- set accountName(value: string);
349
- get autoAnswerInterval(): number;
350
- set autoAnswerInterval(value: number);
351
- /**
352
- * Serialize message to binary data
353
- * @param instance message instance
354
- */
355
- serializeBinary(): any;
356
- /**
357
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
358
- */
359
- toObject(): SipStartSessionRequest.AsObject;
360
- /**
361
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
362
- */
363
- toJSON(): SipStartSessionRequest.AsObject;
364
- /**
365
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
366
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
367
- * 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
368
- */
369
- toProtobufJSON(options?: ToProtobufJSONOptions): SipStartSessionRequest.AsProtobufJSON;
370
- }
371
- export declare namespace SipStartSessionRequest {
372
- /**
373
- * Standard JavaScript object representation for SipStartSessionRequest
374
- */
375
- interface AsObject {
376
- accountName: string;
377
- autoAnswerInterval: number;
378
- }
379
- /**
380
- * Protobuf JSON representation for SipStartSessionRequest
381
- */
382
- interface AsProtobufJSON {
383
- accountName: string;
384
- autoAnswerInterval: number;
385
- }
386
- }
387
- /**
388
- * Message implementation for ondewo.sip.SipTransferCallRequest
389
- */
390
- export declare class SipTransferCallRequest implements GrpcMessage {
391
- static id: string;
392
- /**
393
- * Deserialize binary data to message
394
- * @param instance message instance
395
- */
396
- static deserializeBinary(bytes: ByteSource): SipTransferCallRequest;
397
- /**
398
- * Check all the properties and set default protobuf values if necessary
399
- * @param _instance message instance
400
- */
401
- static refineValues(_instance: SipTransferCallRequest): void;
402
- /**
403
- * Deserializes / reads binary message into message instance using provided binary reader
404
- * @param _instance message instance
405
- * @param _reader binary reader instance
406
- */
407
- static deserializeBinaryFromReader(_instance: SipTransferCallRequest, _reader: BinaryReader): void;
408
- /**
409
- * Serializes a message to binary format using provided binary reader
410
- * @param _instance message instance
411
- * @param _writer binary writer instance
412
- */
413
- static serializeBinaryToWriter(_instance: SipTransferCallRequest, _writer: BinaryWriter): void;
414
- private _transferId;
415
- private _headers;
416
- /**
417
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
418
- * @param _value initial values object or instance of SipTransferCallRequest to deeply clone from
419
- */
420
- constructor(_value?: RecursivePartial<SipTransferCallRequest.AsObject>);
421
- get transferId(): string;
422
- set transferId(value: string);
423
- get headers(): {
424
- [prop: string]: string;
425
- };
426
- set headers(value: {
427
- [prop: string]: string;
428
- });
429
- /**
430
- * Serialize message to binary data
431
- * @param instance message instance
432
- */
433
- serializeBinary(): any;
434
- /**
435
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
436
- */
437
- toObject(): SipTransferCallRequest.AsObject;
438
- /**
439
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
440
- */
441
- toJSON(): SipTransferCallRequest.AsObject;
442
- /**
443
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
444
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
445
- * 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
446
- */
447
- toProtobufJSON(options?: ToProtobufJSONOptions): SipTransferCallRequest.AsProtobufJSON;
448
- }
449
- export declare namespace SipTransferCallRequest {
450
- /**
451
- * Standard JavaScript object representation for SipTransferCallRequest
452
- */
453
- interface AsObject {
454
- transferId: string;
455
- headers: {
456
- [prop: string]: string;
457
- };
458
- }
459
- /**
460
- * Protobuf JSON representation for SipTransferCallRequest
461
- */
462
- interface AsProtobufJSON {
463
- transferId: string;
464
- headers: {
465
- [prop: string]: string;
466
- };
467
- }
468
- /**
469
- * Message implementation for ondewo.sip.SipTransferCallRequest.HeadersEntry
470
- */
471
- class HeadersEntry implements GrpcMessage {
472
- static id: string;
473
- /**
474
- * Deserialize binary data to message
475
- * @param instance message instance
476
- */
477
- static deserializeBinary(bytes: ByteSource): HeadersEntry;
478
- /**
479
- * Check all the properties and set default protobuf values if necessary
480
- * @param _instance message instance
481
- */
482
- static refineValues(_instance: HeadersEntry): void;
483
- /**
484
- * Deserializes / reads binary message into message instance using provided binary reader
485
- * @param _instance message instance
486
- * @param _reader binary reader instance
487
- */
488
- static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
489
- /**
490
- * Serializes a message to binary format using provided binary reader
491
- * @param _instance message instance
492
- * @param _writer binary writer instance
493
- */
494
- static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
495
- private _key;
496
- private _value;
497
- /**
498
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
499
- * @param _value initial values object or instance of HeadersEntry to deeply clone from
500
- */
501
- constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
502
- get key(): string;
503
- set key(value: string);
504
- get value(): string;
505
- set value(value: string);
506
- /**
507
- * Serialize message to binary data
508
- * @param instance message instance
509
- */
510
- serializeBinary(): any;
511
- /**
512
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
513
- */
514
- toObject(): HeadersEntry.AsObject;
515
- /**
516
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
517
- */
518
- toJSON(): HeadersEntry.AsObject;
519
- /**
520
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
521
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
522
- * 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
523
- */
524
- toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
525
- }
526
- namespace HeadersEntry {
527
- /**
528
- * Standard JavaScript object representation for HeadersEntry
529
- */
530
- interface AsObject {
531
- key: string;
532
- value: string;
533
- }
534
- /**
535
- * Protobuf JSON representation for HeadersEntry
536
- */
537
- interface AsProtobufJSON {
538
- key: string;
539
- value: string;
540
- }
541
- }
542
- }
543
- /**
544
- * Message implementation for ondewo.sip.SipStatus
545
- */
546
- export declare class SipStatus implements GrpcMessage {
547
- static id: string;
548
- /**
549
- * Deserialize binary data to message
550
- * @param instance message instance
551
- */
552
- static deserializeBinary(bytes: ByteSource): SipStatus;
553
- /**
554
- * Check all the properties and set default protobuf values if necessary
555
- * @param _instance message instance
556
- */
557
- static refineValues(_instance: SipStatus): void;
558
- /**
559
- * Deserializes / reads binary message into message instance using provided binary reader
560
- * @param _instance message instance
561
- * @param _reader binary reader instance
562
- */
563
- static deserializeBinaryFromReader(_instance: SipStatus, _reader: BinaryReader): void;
564
- /**
565
- * Serializes a message to binary format using provided binary reader
566
- * @param _instance message instance
567
- * @param _writer binary writer instance
568
- */
569
- static serializeBinaryToWriter(_instance: SipStatus, _writer: BinaryWriter): void;
570
- private _accountName;
571
- private _timestamp?;
572
- private _statusType;
573
- private _calleeId;
574
- private _transferCallId;
575
- private _headers;
576
- private _description;
577
- private _exceptionName;
578
- private _exceptionTraceback;
579
- private _nluSessionName;
580
- /**
581
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
582
- * @param _value initial values object or instance of SipStatus to deeply clone from
583
- */
584
- constructor(_value?: RecursivePartial<SipStatus.AsObject>);
585
- get accountName(): string;
586
- set accountName(value: string);
587
- get timestamp(): googleProtobuf001.Timestamp | undefined;
588
- set timestamp(value: googleProtobuf001.Timestamp | undefined);
589
- get statusType(): SipStatus.StatusType;
590
- set statusType(value: SipStatus.StatusType);
591
- get calleeId(): string;
592
- set calleeId(value: string);
593
- get transferCallId(): string;
594
- set transferCallId(value: string);
595
- get headers(): {
596
- [prop: string]: string;
597
- };
598
- set headers(value: {
599
- [prop: string]: string;
600
- });
601
- get description(): string;
602
- set description(value: string);
603
- get exceptionName(): string;
604
- set exceptionName(value: string);
605
- get exceptionTraceback(): string;
606
- set exceptionTraceback(value: string);
607
- get nluSessionName(): string;
608
- set nluSessionName(value: string);
609
- /**
610
- * Serialize message to binary data
611
- * @param instance message instance
612
- */
613
- serializeBinary(): any;
614
- /**
615
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
616
- */
617
- toObject(): SipStatus.AsObject;
618
- /**
619
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
620
- */
621
- toJSON(): SipStatus.AsObject;
622
- /**
623
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
624
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
625
- * 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
626
- */
627
- toProtobufJSON(options?: ToProtobufJSONOptions): SipStatus.AsProtobufJSON;
628
- }
629
- export declare namespace SipStatus {
630
- /**
631
- * Standard JavaScript object representation for SipStatus
632
- */
633
- interface AsObject {
634
- accountName: string;
635
- timestamp?: googleProtobuf001.Timestamp.AsObject;
636
- statusType: SipStatus.StatusType;
637
- calleeId: string;
638
- transferCallId: string;
639
- headers: {
640
- [prop: string]: string;
641
- };
642
- description: string;
643
- exceptionName: string;
644
- exceptionTraceback: string;
645
- nluSessionName: string;
646
- }
647
- /**
648
- * Protobuf JSON representation for SipStatus
649
- */
650
- interface AsProtobufJSON {
651
- accountName: string;
652
- timestamp: googleProtobuf001.Timestamp.AsProtobufJSON | null;
653
- statusType: string;
654
- calleeId: string;
655
- transferCallId: string;
656
- headers: {
657
- [prop: string]: string;
658
- };
659
- description: string;
660
- exceptionName: string;
661
- exceptionTraceback: string;
662
- nluSessionName: string;
663
- }
664
- enum StatusType {
665
- NO_SESSION = 0,
666
- REGISTERED = 1,
667
- READY = 2,
668
- INCOMING_CALL_INITIATED = 3,
669
- OUTGOING_CALL_INITIATED = 4,
670
- OUTGOING_CALL_CONNECTED = 5,
671
- INCOMING_CALL_CONNECTED = 6,
672
- TRANSFER_CALL_INITIATED = 7,
673
- SOFT_HANGUP_INITIATED = 8,
674
- HARD_HANGUP_INITIATED = 9,
675
- INCOMING_CALL_FAILED = 10,
676
- OUTGOING_CALL_FAILED = 11,
677
- INCOMING_CALL_FINISHED = 12,
678
- OUTGOING_CALL_FINISHED = 13,
679
- SESSION_REGISTRATION_FAILED = 14,
680
- SESSION_STARTED = 15,
681
- SESSION_ENDED = 16,
682
- TRANSFER_CALL_FAILED = 17,
683
- MICROPHONE_MUTED = 18,
684
- MICROPHONE_UNMUTED = 19,
685
- MICROPHONE_WAV_FILES_PLAYED = 20,
686
- NO_ONGOING_CALL = 21
687
- }
688
- /**
689
- * Message implementation for ondewo.sip.SipStatus.HeadersEntry
690
- */
691
- class HeadersEntry implements GrpcMessage {
692
- static id: string;
693
- /**
694
- * Deserialize binary data to message
695
- * @param instance message instance
696
- */
697
- static deserializeBinary(bytes: ByteSource): HeadersEntry;
698
- /**
699
- * Check all the properties and set default protobuf values if necessary
700
- * @param _instance message instance
701
- */
702
- static refineValues(_instance: HeadersEntry): void;
703
- /**
704
- * Deserializes / reads binary message into message instance using provided binary reader
705
- * @param _instance message instance
706
- * @param _reader binary reader instance
707
- */
708
- static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
709
- /**
710
- * Serializes a message to binary format using provided binary reader
711
- * @param _instance message instance
712
- * @param _writer binary writer instance
713
- */
714
- static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
715
- private _key;
716
- private _value;
717
- /**
718
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
719
- * @param _value initial values object or instance of HeadersEntry to deeply clone from
720
- */
721
- constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
722
- get key(): string;
723
- set key(value: string);
724
- get value(): string;
725
- set value(value: string);
726
- /**
727
- * Serialize message to binary data
728
- * @param instance message instance
729
- */
730
- serializeBinary(): any;
731
- /**
732
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
733
- */
734
- toObject(): HeadersEntry.AsObject;
735
- /**
736
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
737
- */
738
- toJSON(): HeadersEntry.AsObject;
739
- /**
740
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
741
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
742
- * 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
743
- */
744
- toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
745
- }
746
- namespace HeadersEntry {
747
- /**
748
- * Standard JavaScript object representation for HeadersEntry
749
- */
750
- interface AsObject {
751
- key: string;
752
- value: string;
753
- }
754
- /**
755
- * Protobuf JSON representation for HeadersEntry
756
- */
757
- interface AsProtobufJSON {
758
- key: string;
759
- value: string;
760
- }
761
- }
762
- }
763
- /**
764
- * Message implementation for ondewo.sip.SipStatusHistoryResponse
765
- */
766
- export declare class SipStatusHistoryResponse implements GrpcMessage {
767
- static id: string;
768
- /**
769
- * Deserialize binary data to message
770
- * @param instance message instance
771
- */
772
- static deserializeBinary(bytes: ByteSource): SipStatusHistoryResponse;
773
- /**
774
- * Check all the properties and set default protobuf values if necessary
775
- * @param _instance message instance
776
- */
777
- static refineValues(_instance: SipStatusHistoryResponse): void;
778
- /**
779
- * Deserializes / reads binary message into message instance using provided binary reader
780
- * @param _instance message instance
781
- * @param _reader binary reader instance
782
- */
783
- static deserializeBinaryFromReader(_instance: SipStatusHistoryResponse, _reader: BinaryReader): void;
784
- /**
785
- * Serializes a message to binary format using provided binary reader
786
- * @param _instance message instance
787
- * @param _writer binary writer instance
788
- */
789
- static serializeBinaryToWriter(_instance: SipStatusHistoryResponse, _writer: BinaryWriter): void;
790
- private _statusHistory?;
791
- /**
792
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
793
- * @param _value initial values object or instance of SipStatusHistoryResponse to deeply clone from
794
- */
795
- constructor(_value?: RecursivePartial<SipStatusHistoryResponse.AsObject>);
796
- get statusHistory(): SipStatus[] | undefined;
797
- set statusHistory(value: SipStatus[] | undefined);
798
- /**
799
- * Serialize message to binary data
800
- * @param instance message instance
801
- */
802
- serializeBinary(): any;
803
- /**
804
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
805
- */
806
- toObject(): SipStatusHistoryResponse.AsObject;
807
- /**
808
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
809
- */
810
- toJSON(): SipStatusHistoryResponse.AsObject;
811
- /**
812
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
813
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
814
- * 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
815
- */
816
- toProtobufJSON(options?: ToProtobufJSONOptions): SipStatusHistoryResponse.AsProtobufJSON;
817
- }
818
- export declare namespace SipStatusHistoryResponse {
819
- /**
820
- * Standard JavaScript object representation for SipStatusHistoryResponse
821
- */
822
- interface AsObject {
823
- statusHistory?: SipStatus.AsObject[];
824
- }
825
- /**
826
- * Protobuf JSON representation for SipStatusHistoryResponse
827
- */
828
- interface AsProtobufJSON {
829
- statusHistory: SipStatus.AsProtobufJSON[] | null;
830
- }
831
- }
832
- /**
833
- * Message implementation for ondewo.sip.SipPlayWavFilesRequest
834
- */
835
- export declare class SipPlayWavFilesRequest implements GrpcMessage {
836
- static id: string;
837
- /**
838
- * Deserialize binary data to message
839
- * @param instance message instance
840
- */
841
- static deserializeBinary(bytes: ByteSource): SipPlayWavFilesRequest;
842
- /**
843
- * Check all the properties and set default protobuf values if necessary
844
- * @param _instance message instance
845
- */
846
- static refineValues(_instance: SipPlayWavFilesRequest): void;
847
- /**
848
- * Deserializes / reads binary message into message instance using provided binary reader
849
- * @param _instance message instance
850
- * @param _reader binary reader instance
851
- */
852
- static deserializeBinaryFromReader(_instance: SipPlayWavFilesRequest, _reader: BinaryReader): void;
853
- /**
854
- * Serializes a message to binary format using provided binary reader
855
- * @param _instance message instance
856
- * @param _writer binary writer instance
857
- */
858
- static serializeBinaryToWriter(_instance: SipPlayWavFilesRequest, _writer: BinaryWriter): void;
859
- private _wavFiles;
860
- /**
861
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
862
- * @param _value initial values object or instance of SipPlayWavFilesRequest to deeply clone from
863
- */
864
- constructor(_value?: RecursivePartial<SipPlayWavFilesRequest.AsObject>);
865
- get wavFiles(): Uint8Array[];
866
- set wavFiles(value: Uint8Array[]);
867
- /**
868
- * Serialize message to binary data
869
- * @param instance message instance
870
- */
871
- serializeBinary(): any;
872
- /**
873
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
874
- */
875
- toObject(): SipPlayWavFilesRequest.AsObject;
876
- /**
877
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
878
- */
879
- toJSON(): SipPlayWavFilesRequest.AsObject;
880
- /**
881
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
882
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
883
- * 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
884
- */
885
- toProtobufJSON(options?: ToProtobufJSONOptions): SipPlayWavFilesRequest.AsProtobufJSON;
886
- }
887
- export declare namespace SipPlayWavFilesRequest {
888
- /**
889
- * Standard JavaScript object representation for SipPlayWavFilesRequest
890
- */
891
- interface AsObject {
892
- wavFiles: Uint8Array[];
893
- }
894
- /**
895
- * Protobuf JSON representation for SipPlayWavFilesRequest
896
- */
897
- interface AsProtobufJSON {
898
- wavFiles: string[];
899
- }
900
- }