@ondewo/sip-client-angular 3.1.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.
@@ -0,0 +1,862 @@
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.EndCallRequest
6
+ */
7
+ export declare class EndCallRequest implements GrpcMessage {
8
+ static id: string;
9
+ /**
10
+ * Deserialize binary data to message
11
+ * @param instance message instance
12
+ */
13
+ static deserializeBinary(bytes: ByteSource): EndCallRequest;
14
+ /**
15
+ * Check all the properties and set default protobuf values if necessary
16
+ * @param _instance message instance
17
+ */
18
+ static refineValues(_instance: EndCallRequest): 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: EndCallRequest, _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: EndCallRequest, _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 EndCallRequest to deeply clone from
35
+ */
36
+ constructor(_value?: RecursivePartial<EndCallRequest.AsObject>);
37
+ get hardHangup(): boolean | undefined;
38
+ set hardHangup(value: boolean | undefined);
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(): EndCallRequest.AsObject;
48
+ /**
49
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
50
+ */
51
+ toJSON(): EndCallRequest.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): EndCallRequest.AsProtobufJSON;
58
+ }
59
+ export declare module EndCallRequest {
60
+ /**
61
+ * Standard JavaScript object representation for EndCallRequest
62
+ */
63
+ interface AsObject {
64
+ hardHangup?: boolean;
65
+ }
66
+ /**
67
+ * Protobuf JSON representation for EndCallRequest
68
+ */
69
+ interface AsProtobufJSON {
70
+ hardHangup?: boolean;
71
+ }
72
+ }
73
+ /**
74
+ * Message implementation for ondewo.sip.StartCallRequest
75
+ */
76
+ export declare class StartCallRequest implements GrpcMessage {
77
+ static id: string;
78
+ /**
79
+ * Deserialize binary data to message
80
+ * @param instance message instance
81
+ */
82
+ static deserializeBinary(bytes: ByteSource): StartCallRequest;
83
+ /**
84
+ * Check all the properties and set default protobuf values if necessary
85
+ * @param _instance message instance
86
+ */
87
+ static refineValues(_instance: StartCallRequest): 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: StartCallRequest, _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: StartCallRequest, _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 StartCallRequest to deeply clone from
105
+ */
106
+ constructor(_value?: RecursivePartial<StartCallRequest.AsObject>);
107
+ get calleeId(): string | undefined;
108
+ set calleeId(value: string | undefined);
109
+ get headers(): {
110
+ [prop: string]: string;
111
+ } | undefined;
112
+ set headers(value: {
113
+ [prop: string]: string;
114
+ } | undefined);
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(): StartCallRequest.AsObject;
124
+ /**
125
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
126
+ */
127
+ toJSON(): StartCallRequest.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): StartCallRequest.AsProtobufJSON;
134
+ }
135
+ export declare module StartCallRequest {
136
+ /**
137
+ * Standard JavaScript object representation for StartCallRequest
138
+ */
139
+ interface AsObject {
140
+ calleeId?: string;
141
+ headers?: {
142
+ [prop: string]: string;
143
+ };
144
+ }
145
+ /**
146
+ * Protobuf JSON representation for StartCallRequest
147
+ */
148
+ interface AsProtobufJSON {
149
+ calleeId?: string;
150
+ headers?: {
151
+ [prop: string]: string;
152
+ };
153
+ }
154
+ /**
155
+ * Message implementation for ondewo.sip.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 | undefined;
189
+ set key(value: string | undefined);
190
+ get value(): string | undefined;
191
+ set value(value: string | undefined);
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
+ module 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.RegisterAccountRequest
231
+ */
232
+ export declare class RegisterAccountRequest implements GrpcMessage {
233
+ static id: string;
234
+ /**
235
+ * Deserialize binary data to message
236
+ * @param instance message instance
237
+ */
238
+ static deserializeBinary(bytes: ByteSource): RegisterAccountRequest;
239
+ /**
240
+ * Check all the properties and set default protobuf values if necessary
241
+ * @param _instance message instance
242
+ */
243
+ static refineValues(_instance: RegisterAccountRequest): 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: RegisterAccountRequest, _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: RegisterAccountRequest, _writer: BinaryWriter): void;
256
+ private _accountName?;
257
+ private _password?;
258
+ /**
259
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
260
+ * @param _value initial values object or instance of RegisterAccountRequest to deeply clone from
261
+ */
262
+ constructor(_value?: RecursivePartial<RegisterAccountRequest.AsObject>);
263
+ get accountName(): string | undefined;
264
+ set accountName(value: string | undefined);
265
+ get password(): string | undefined;
266
+ set password(value: string | undefined);
267
+ /**
268
+ * Serialize message to binary data
269
+ * @param instance message instance
270
+ */
271
+ serializeBinary(): any;
272
+ /**
273
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
274
+ */
275
+ toObject(): RegisterAccountRequest.AsObject;
276
+ /**
277
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
278
+ */
279
+ toJSON(): RegisterAccountRequest.AsObject;
280
+ /**
281
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
282
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
283
+ * 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
284
+ */
285
+ toProtobufJSON(options?: ToProtobufJSONOptions): RegisterAccountRequest.AsProtobufJSON;
286
+ }
287
+ export declare module RegisterAccountRequest {
288
+ /**
289
+ * Standard JavaScript object representation for RegisterAccountRequest
290
+ */
291
+ interface AsObject {
292
+ accountName?: string;
293
+ password?: string;
294
+ }
295
+ /**
296
+ * Protobuf JSON representation for RegisterAccountRequest
297
+ */
298
+ interface AsProtobufJSON {
299
+ accountName?: string;
300
+ password?: string;
301
+ }
302
+ }
303
+ /**
304
+ * Message implementation for ondewo.sip.StartSessionRequest
305
+ */
306
+ export declare class StartSessionRequest implements GrpcMessage {
307
+ static id: string;
308
+ /**
309
+ * Deserialize binary data to message
310
+ * @param instance message instance
311
+ */
312
+ static deserializeBinary(bytes: ByteSource): StartSessionRequest;
313
+ /**
314
+ * Check all the properties and set default protobuf values if necessary
315
+ * @param _instance message instance
316
+ */
317
+ static refineValues(_instance: StartSessionRequest): void;
318
+ /**
319
+ * Deserializes / reads binary message into message instance using provided binary reader
320
+ * @param _instance message instance
321
+ * @param _reader binary reader instance
322
+ */
323
+ static deserializeBinaryFromReader(_instance: StartSessionRequest, _reader: BinaryReader): void;
324
+ /**
325
+ * Serializes a message to binary format using provided binary reader
326
+ * @param _instance message instance
327
+ * @param _writer binary writer instance
328
+ */
329
+ static serializeBinaryToWriter(_instance: StartSessionRequest, _writer: BinaryWriter): void;
330
+ private _accountName?;
331
+ private _autoAnswerInterval?;
332
+ /**
333
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
334
+ * @param _value initial values object or instance of StartSessionRequest to deeply clone from
335
+ */
336
+ constructor(_value?: RecursivePartial<StartSessionRequest.AsObject>);
337
+ get accountName(): string | undefined;
338
+ set accountName(value: string | undefined);
339
+ get autoAnswerInterval(): number | undefined;
340
+ set autoAnswerInterval(value: number | undefined);
341
+ /**
342
+ * Serialize message to binary data
343
+ * @param instance message instance
344
+ */
345
+ serializeBinary(): any;
346
+ /**
347
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
348
+ */
349
+ toObject(): StartSessionRequest.AsObject;
350
+ /**
351
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
352
+ */
353
+ toJSON(): StartSessionRequest.AsObject;
354
+ /**
355
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
356
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
357
+ * 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
358
+ */
359
+ toProtobufJSON(options?: ToProtobufJSONOptions): StartSessionRequest.AsProtobufJSON;
360
+ }
361
+ export declare module StartSessionRequest {
362
+ /**
363
+ * Standard JavaScript object representation for StartSessionRequest
364
+ */
365
+ interface AsObject {
366
+ accountName?: string;
367
+ autoAnswerInterval?: number;
368
+ }
369
+ /**
370
+ * Protobuf JSON representation for StartSessionRequest
371
+ */
372
+ interface AsProtobufJSON {
373
+ accountName?: string;
374
+ autoAnswerInterval?: number;
375
+ }
376
+ }
377
+ /**
378
+ * Message implementation for ondewo.sip.TransferCallRequest
379
+ */
380
+ export declare class TransferCallRequest implements GrpcMessage {
381
+ static id: string;
382
+ /**
383
+ * Deserialize binary data to message
384
+ * @param instance message instance
385
+ */
386
+ static deserializeBinary(bytes: ByteSource): TransferCallRequest;
387
+ /**
388
+ * Check all the properties and set default protobuf values if necessary
389
+ * @param _instance message instance
390
+ */
391
+ static refineValues(_instance: TransferCallRequest): void;
392
+ /**
393
+ * Deserializes / reads binary message into message instance using provided binary reader
394
+ * @param _instance message instance
395
+ * @param _reader binary reader instance
396
+ */
397
+ static deserializeBinaryFromReader(_instance: TransferCallRequest, _reader: BinaryReader): void;
398
+ /**
399
+ * Serializes a message to binary format using provided binary reader
400
+ * @param _instance message instance
401
+ * @param _writer binary writer instance
402
+ */
403
+ static serializeBinaryToWriter(_instance: TransferCallRequest, _writer: BinaryWriter): void;
404
+ private _transferId?;
405
+ private _headers?;
406
+ /**
407
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
408
+ * @param _value initial values object or instance of TransferCallRequest to deeply clone from
409
+ */
410
+ constructor(_value?: RecursivePartial<TransferCallRequest.AsObject>);
411
+ get transferId(): string | undefined;
412
+ set transferId(value: string | undefined);
413
+ get headers(): {
414
+ [prop: string]: string;
415
+ } | undefined;
416
+ set headers(value: {
417
+ [prop: string]: string;
418
+ } | undefined);
419
+ /**
420
+ * Serialize message to binary data
421
+ * @param instance message instance
422
+ */
423
+ serializeBinary(): any;
424
+ /**
425
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
426
+ */
427
+ toObject(): TransferCallRequest.AsObject;
428
+ /**
429
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
430
+ */
431
+ toJSON(): TransferCallRequest.AsObject;
432
+ /**
433
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
434
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
435
+ * 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
436
+ */
437
+ toProtobufJSON(options?: ToProtobufJSONOptions): TransferCallRequest.AsProtobufJSON;
438
+ }
439
+ export declare module TransferCallRequest {
440
+ /**
441
+ * Standard JavaScript object representation for TransferCallRequest
442
+ */
443
+ interface AsObject {
444
+ transferId?: string;
445
+ headers?: {
446
+ [prop: string]: string;
447
+ };
448
+ }
449
+ /**
450
+ * Protobuf JSON representation for TransferCallRequest
451
+ */
452
+ interface AsProtobufJSON {
453
+ transferId?: string;
454
+ headers?: {
455
+ [prop: string]: string;
456
+ };
457
+ }
458
+ /**
459
+ * Message implementation for ondewo.sip.HeadersEntry
460
+ */
461
+ class HeadersEntry implements GrpcMessage {
462
+ static id: string;
463
+ /**
464
+ * Deserialize binary data to message
465
+ * @param instance message instance
466
+ */
467
+ static deserializeBinary(bytes: ByteSource): HeadersEntry;
468
+ /**
469
+ * Check all the properties and set default protobuf values if necessary
470
+ * @param _instance message instance
471
+ */
472
+ static refineValues(_instance: HeadersEntry): void;
473
+ /**
474
+ * Deserializes / reads binary message into message instance using provided binary reader
475
+ * @param _instance message instance
476
+ * @param _reader binary reader instance
477
+ */
478
+ static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
479
+ /**
480
+ * Serializes a message to binary format using provided binary reader
481
+ * @param _instance message instance
482
+ * @param _writer binary writer instance
483
+ */
484
+ static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
485
+ private _key?;
486
+ private _value?;
487
+ /**
488
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
489
+ * @param _value initial values object or instance of HeadersEntry to deeply clone from
490
+ */
491
+ constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
492
+ get key(): string | undefined;
493
+ set key(value: string | undefined);
494
+ get value(): string | undefined;
495
+ set value(value: string | undefined);
496
+ /**
497
+ * Serialize message to binary data
498
+ * @param instance message instance
499
+ */
500
+ serializeBinary(): any;
501
+ /**
502
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
503
+ */
504
+ toObject(): HeadersEntry.AsObject;
505
+ /**
506
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
507
+ */
508
+ toJSON(): HeadersEntry.AsObject;
509
+ /**
510
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
511
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
512
+ * 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
513
+ */
514
+ toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
515
+ }
516
+ module HeadersEntry {
517
+ /**
518
+ * Standard JavaScript object representation for HeadersEntry
519
+ */
520
+ interface AsObject {
521
+ key?: string;
522
+ value?: string;
523
+ }
524
+ /**
525
+ * Protobuf JSON representation for HeadersEntry
526
+ */
527
+ interface AsProtobufJSON {
528
+ key?: string;
529
+ value?: string;
530
+ }
531
+ }
532
+ }
533
+ /**
534
+ * Message implementation for ondewo.sip.SipStatus
535
+ */
536
+ export declare class SipStatus implements GrpcMessage {
537
+ static id: string;
538
+ /**
539
+ * Deserialize binary data to message
540
+ * @param instance message instance
541
+ */
542
+ static deserializeBinary(bytes: ByteSource): SipStatus;
543
+ /**
544
+ * Check all the properties and set default protobuf values if necessary
545
+ * @param _instance message instance
546
+ */
547
+ static refineValues(_instance: SipStatus): void;
548
+ /**
549
+ * Deserializes / reads binary message into message instance using provided binary reader
550
+ * @param _instance message instance
551
+ * @param _reader binary reader instance
552
+ */
553
+ static deserializeBinaryFromReader(_instance: SipStatus, _reader: BinaryReader): void;
554
+ /**
555
+ * Serializes a message to binary format using provided binary reader
556
+ * @param _instance message instance
557
+ * @param _writer binary writer instance
558
+ */
559
+ static serializeBinaryToWriter(_instance: SipStatus, _writer: BinaryWriter): void;
560
+ private _accountName?;
561
+ private _timestamp?;
562
+ private _statusType?;
563
+ private _calleeId?;
564
+ private _transferCallId?;
565
+ private _headers?;
566
+ /**
567
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
568
+ * @param _value initial values object or instance of SipStatus to deeply clone from
569
+ */
570
+ constructor(_value?: RecursivePartial<SipStatus.AsObject>);
571
+ get accountName(): string | undefined;
572
+ set accountName(value: string | undefined);
573
+ get timestamp(): googleProtobuf001.Timestamp | undefined;
574
+ set timestamp(value: googleProtobuf001.Timestamp | undefined);
575
+ get statusType(): SipStatus.StatusType | undefined;
576
+ set statusType(value: SipStatus.StatusType | undefined);
577
+ get calleeId(): string | undefined;
578
+ set calleeId(value: string | undefined);
579
+ get transferCallId(): string | undefined;
580
+ set transferCallId(value: string | undefined);
581
+ get headers(): {
582
+ [prop: string]: string;
583
+ } | undefined;
584
+ set headers(value: {
585
+ [prop: string]: string;
586
+ } | undefined);
587
+ /**
588
+ * Serialize message to binary data
589
+ * @param instance message instance
590
+ */
591
+ serializeBinary(): any;
592
+ /**
593
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
594
+ */
595
+ toObject(): SipStatus.AsObject;
596
+ /**
597
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
598
+ */
599
+ toJSON(): SipStatus.AsObject;
600
+ /**
601
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
602
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
603
+ * 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
604
+ */
605
+ toProtobufJSON(options?: ToProtobufJSONOptions): SipStatus.AsProtobufJSON;
606
+ }
607
+ export declare module SipStatus {
608
+ /**
609
+ * Standard JavaScript object representation for SipStatus
610
+ */
611
+ interface AsObject {
612
+ accountName?: string;
613
+ timestamp?: googleProtobuf001.Timestamp.AsObject;
614
+ statusType?: SipStatus.StatusType;
615
+ calleeId?: string;
616
+ transferCallId?: string;
617
+ headers?: {
618
+ [prop: string]: string;
619
+ };
620
+ }
621
+ /**
622
+ * Protobuf JSON representation for SipStatus
623
+ */
624
+ interface AsProtobufJSON {
625
+ accountName?: string;
626
+ timestamp?: googleProtobuf001.Timestamp.AsProtobufJSON | null;
627
+ statusType?: string;
628
+ calleeId?: string;
629
+ transferCallId?: string;
630
+ headers?: {
631
+ [prop: string]: string;
632
+ };
633
+ }
634
+ enum StatusType {
635
+ no_session = 0,
636
+ registered = 1,
637
+ ready = 2,
638
+ incoming_call_initiated = 3,
639
+ outgoing_call_initiated = 4,
640
+ outgoing_call_connected = 5,
641
+ incoming_call_connected = 6,
642
+ transfer_call_initiated = 7,
643
+ soft_hangup_initiated = 8,
644
+ hard_hangup_initiated = 9,
645
+ incoming_call_failed = 10,
646
+ outgoing_call_failed = 11,
647
+ incoming_call_finished = 12,
648
+ outgoing_call_finished = 13
649
+ }
650
+ /**
651
+ * Message implementation for ondewo.sip.HeadersEntry
652
+ */
653
+ class HeadersEntry implements GrpcMessage {
654
+ static id: string;
655
+ /**
656
+ * Deserialize binary data to message
657
+ * @param instance message instance
658
+ */
659
+ static deserializeBinary(bytes: ByteSource): HeadersEntry;
660
+ /**
661
+ * Check all the properties and set default protobuf values if necessary
662
+ * @param _instance message instance
663
+ */
664
+ static refineValues(_instance: HeadersEntry): void;
665
+ /**
666
+ * Deserializes / reads binary message into message instance using provided binary reader
667
+ * @param _instance message instance
668
+ * @param _reader binary reader instance
669
+ */
670
+ static deserializeBinaryFromReader(_instance: HeadersEntry, _reader: BinaryReader): void;
671
+ /**
672
+ * Serializes a message to binary format using provided binary reader
673
+ * @param _instance message instance
674
+ * @param _writer binary writer instance
675
+ */
676
+ static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
677
+ private _key?;
678
+ private _value?;
679
+ /**
680
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
681
+ * @param _value initial values object or instance of HeadersEntry to deeply clone from
682
+ */
683
+ constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
684
+ get key(): string | undefined;
685
+ set key(value: string | undefined);
686
+ get value(): string | undefined;
687
+ set value(value: string | undefined);
688
+ /**
689
+ * Serialize message to binary data
690
+ * @param instance message instance
691
+ */
692
+ serializeBinary(): any;
693
+ /**
694
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
695
+ */
696
+ toObject(): HeadersEntry.AsObject;
697
+ /**
698
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
699
+ */
700
+ toJSON(): HeadersEntry.AsObject;
701
+ /**
702
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
703
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
704
+ * 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
705
+ */
706
+ toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
707
+ }
708
+ module HeadersEntry {
709
+ /**
710
+ * Standard JavaScript object representation for HeadersEntry
711
+ */
712
+ interface AsObject {
713
+ key?: string;
714
+ value?: string;
715
+ }
716
+ /**
717
+ * Protobuf JSON representation for HeadersEntry
718
+ */
719
+ interface AsProtobufJSON {
720
+ key?: string;
721
+ value?: string;
722
+ }
723
+ }
724
+ }
725
+ /**
726
+ * Message implementation for ondewo.sip.SipStatusHistoryResponse
727
+ */
728
+ export declare class SipStatusHistoryResponse implements GrpcMessage {
729
+ static id: string;
730
+ /**
731
+ * Deserialize binary data to message
732
+ * @param instance message instance
733
+ */
734
+ static deserializeBinary(bytes: ByteSource): SipStatusHistoryResponse;
735
+ /**
736
+ * Check all the properties and set default protobuf values if necessary
737
+ * @param _instance message instance
738
+ */
739
+ static refineValues(_instance: SipStatusHistoryResponse): void;
740
+ /**
741
+ * Deserializes / reads binary message into message instance using provided binary reader
742
+ * @param _instance message instance
743
+ * @param _reader binary reader instance
744
+ */
745
+ static deserializeBinaryFromReader(_instance: SipStatusHistoryResponse, _reader: BinaryReader): void;
746
+ /**
747
+ * Serializes a message to binary format using provided binary reader
748
+ * @param _instance message instance
749
+ * @param _writer binary writer instance
750
+ */
751
+ static serializeBinaryToWriter(_instance: SipStatusHistoryResponse, _writer: BinaryWriter): void;
752
+ private _statusHistory?;
753
+ /**
754
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
755
+ * @param _value initial values object or instance of SipStatusHistoryResponse to deeply clone from
756
+ */
757
+ constructor(_value?: RecursivePartial<SipStatusHistoryResponse.AsObject>);
758
+ get statusHistory(): SipStatus[] | undefined;
759
+ set statusHistory(value: SipStatus[] | undefined);
760
+ /**
761
+ * Serialize message to binary data
762
+ * @param instance message instance
763
+ */
764
+ serializeBinary(): any;
765
+ /**
766
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
767
+ */
768
+ toObject(): SipStatusHistoryResponse.AsObject;
769
+ /**
770
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
771
+ */
772
+ toJSON(): SipStatusHistoryResponse.AsObject;
773
+ /**
774
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
775
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
776
+ * 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
777
+ */
778
+ toProtobufJSON(options?: ToProtobufJSONOptions): SipStatusHistoryResponse.AsProtobufJSON;
779
+ }
780
+ export declare module SipStatusHistoryResponse {
781
+ /**
782
+ * Standard JavaScript object representation for SipStatusHistoryResponse
783
+ */
784
+ interface AsObject {
785
+ statusHistory?: SipStatus.AsObject[];
786
+ }
787
+ /**
788
+ * Protobuf JSON representation for SipStatusHistoryResponse
789
+ */
790
+ interface AsProtobufJSON {
791
+ statusHistory?: SipStatus.AsProtobufJSON[] | null;
792
+ }
793
+ }
794
+ /**
795
+ * Message implementation for ondewo.sip.PlayWavFilesRequest
796
+ */
797
+ export declare class PlayWavFilesRequest implements GrpcMessage {
798
+ static id: string;
799
+ /**
800
+ * Deserialize binary data to message
801
+ * @param instance message instance
802
+ */
803
+ static deserializeBinary(bytes: ByteSource): PlayWavFilesRequest;
804
+ /**
805
+ * Check all the properties and set default protobuf values if necessary
806
+ * @param _instance message instance
807
+ */
808
+ static refineValues(_instance: PlayWavFilesRequest): void;
809
+ /**
810
+ * Deserializes / reads binary message into message instance using provided binary reader
811
+ * @param _instance message instance
812
+ * @param _reader binary reader instance
813
+ */
814
+ static deserializeBinaryFromReader(_instance: PlayWavFilesRequest, _reader: BinaryReader): void;
815
+ /**
816
+ * Serializes a message to binary format using provided binary reader
817
+ * @param _instance message instance
818
+ * @param _writer binary writer instance
819
+ */
820
+ static serializeBinaryToWriter(_instance: PlayWavFilesRequest, _writer: BinaryWriter): void;
821
+ private _wavFiles?;
822
+ /**
823
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
824
+ * @param _value initial values object or instance of PlayWavFilesRequest to deeply clone from
825
+ */
826
+ constructor(_value?: RecursivePartial<PlayWavFilesRequest.AsObject>);
827
+ get wavFiles(): Uint8Array[] | undefined;
828
+ set wavFiles(value: Uint8Array[] | undefined);
829
+ /**
830
+ * Serialize message to binary data
831
+ * @param instance message instance
832
+ */
833
+ serializeBinary(): any;
834
+ /**
835
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
836
+ */
837
+ toObject(): PlayWavFilesRequest.AsObject;
838
+ /**
839
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
840
+ */
841
+ toJSON(): PlayWavFilesRequest.AsObject;
842
+ /**
843
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
844
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
845
+ * 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
846
+ */
847
+ toProtobufJSON(options?: ToProtobufJSONOptions): PlayWavFilesRequest.AsProtobufJSON;
848
+ }
849
+ export declare module PlayWavFilesRequest {
850
+ /**
851
+ * Standard JavaScript object representation for PlayWavFilesRequest
852
+ */
853
+ interface AsObject {
854
+ wavFiles?: Uint8Array[];
855
+ }
856
+ /**
857
+ * Protobuf JSON representation for PlayWavFilesRequest
858
+ */
859
+ interface AsProtobufJSON {
860
+ wavFiles?: string[];
861
+ }
862
+ }