@ondewo/sip-client-angular 4.0.0 → 5.2.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/README.md +64 -13
- package/api/ondewo/sip/sip.pb.d.ts +230 -225
- package/api/ondewo/sip/sip.pbsc.d.ts +44 -44
- package/esm2022/api/ondewo/sip/sip.pb.mjs +1495 -0
- package/esm2022/api/ondewo/sip/sip.pbsc.mjs +375 -0
- package/{esm2020 → esm2022}/public-api.mjs +2 -2
- package/{fesm2020 → fesm2022}/ondewo-sip-client-angular.mjs +304 -273
- package/fesm2022/ondewo-sip-client-angular.mjs.map +1 -0
- package/package.json +13 -19
- package/public-api.d.ts +1 -1
- package/esm2020/api/ondewo/sip/sip.pb.mjs +0 -1479
- package/esm2020/api/ondewo/sip/sip.pbsc.mjs +0 -375
- package/fesm2015/ondewo-sip-client-angular.mjs +0 -1856
- package/fesm2015/ondewo-sip-client-angular.mjs.map +0 -1
- package/fesm2020/ondewo-sip-client-angular.mjs.map +0 -1
- package/ondewo-sip-api/README.md +0 -86
- /package/{esm2020 → esm2022}/api/ondewo/sip/sip.pbconf.mjs +0 -0
- /package/{esm2020 → esm2022}/ondewo-sip-client-angular.mjs +0 -0
|
@@ -2,40 +2,40 @@ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/
|
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
3
|
import * as googleProtobuf001 from '@ngx-grpc/well-known-types';
|
|
4
4
|
/**
|
|
5
|
-
* Message implementation for ondewo.sip.
|
|
5
|
+
* Message implementation for ondewo.sip.SipEndCallRequest
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class SipEndCallRequest implements GrpcMessage {
|
|
8
8
|
static id: string;
|
|
9
9
|
/**
|
|
10
10
|
* Deserialize binary data to message
|
|
11
11
|
* @param instance message instance
|
|
12
12
|
*/
|
|
13
|
-
static deserializeBinary(bytes: ByteSource):
|
|
13
|
+
static deserializeBinary(bytes: ByteSource): SipEndCallRequest;
|
|
14
14
|
/**
|
|
15
15
|
* Check all the properties and set default protobuf values if necessary
|
|
16
16
|
* @param _instance message instance
|
|
17
17
|
*/
|
|
18
|
-
static refineValues(_instance:
|
|
18
|
+
static refineValues(_instance: SipEndCallRequest): void;
|
|
19
19
|
/**
|
|
20
20
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
21
21
|
* @param _instance message instance
|
|
22
22
|
* @param _reader binary reader instance
|
|
23
23
|
*/
|
|
24
|
-
static deserializeBinaryFromReader(_instance:
|
|
24
|
+
static deserializeBinaryFromReader(_instance: SipEndCallRequest, _reader: BinaryReader): void;
|
|
25
25
|
/**
|
|
26
26
|
* Serializes a message to binary format using provided binary reader
|
|
27
27
|
* @param _instance message instance
|
|
28
28
|
* @param _writer binary writer instance
|
|
29
29
|
*/
|
|
30
|
-
static serializeBinaryToWriter(_instance:
|
|
31
|
-
private _hardHangup
|
|
30
|
+
static serializeBinaryToWriter(_instance: SipEndCallRequest, _writer: BinaryWriter): void;
|
|
31
|
+
private _hardHangup;
|
|
32
32
|
/**
|
|
33
33
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
34
|
-
* @param _value initial values object or instance of
|
|
34
|
+
* @param _value initial values object or instance of SipEndCallRequest to deeply clone from
|
|
35
35
|
*/
|
|
36
|
-
constructor(_value?: RecursivePartial<
|
|
37
|
-
get hardHangup(): boolean
|
|
38
|
-
set hardHangup(value: boolean
|
|
36
|
+
constructor(_value?: RecursivePartial<SipEndCallRequest.AsObject>);
|
|
37
|
+
get hardHangup(): boolean;
|
|
38
|
+
set hardHangup(value: boolean);
|
|
39
39
|
/**
|
|
40
40
|
* Serialize message to binary data
|
|
41
41
|
* @param instance message instance
|
|
@@ -44,74 +44,74 @@ export declare class EndCallRequest implements GrpcMessage {
|
|
|
44
44
|
/**
|
|
45
45
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
46
46
|
*/
|
|
47
|
-
toObject():
|
|
47
|
+
toObject(): SipEndCallRequest.AsObject;
|
|
48
48
|
/**
|
|
49
49
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
50
50
|
*/
|
|
51
|
-
toJSON():
|
|
51
|
+
toJSON(): SipEndCallRequest.AsObject;
|
|
52
52
|
/**
|
|
53
53
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
54
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
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
56
|
*/
|
|
57
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
57
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipEndCallRequest.AsProtobufJSON;
|
|
58
58
|
}
|
|
59
|
-
export declare
|
|
59
|
+
export declare namespace SipEndCallRequest {
|
|
60
60
|
/**
|
|
61
|
-
* Standard JavaScript object representation for
|
|
61
|
+
* Standard JavaScript object representation for SipEndCallRequest
|
|
62
62
|
*/
|
|
63
63
|
interface AsObject {
|
|
64
|
-
hardHangup
|
|
64
|
+
hardHangup: boolean;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Protobuf JSON representation for
|
|
67
|
+
* Protobuf JSON representation for SipEndCallRequest
|
|
68
68
|
*/
|
|
69
69
|
interface AsProtobufJSON {
|
|
70
|
-
hardHangup
|
|
70
|
+
hardHangup: boolean;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Message implementation for ondewo.sip.
|
|
74
|
+
* Message implementation for ondewo.sip.SipStartCallRequest
|
|
75
75
|
*/
|
|
76
|
-
export declare class
|
|
76
|
+
export declare class SipStartCallRequest implements GrpcMessage {
|
|
77
77
|
static id: string;
|
|
78
78
|
/**
|
|
79
79
|
* Deserialize binary data to message
|
|
80
80
|
* @param instance message instance
|
|
81
81
|
*/
|
|
82
|
-
static deserializeBinary(bytes: ByteSource):
|
|
82
|
+
static deserializeBinary(bytes: ByteSource): SipStartCallRequest;
|
|
83
83
|
/**
|
|
84
84
|
* Check all the properties and set default protobuf values if necessary
|
|
85
85
|
* @param _instance message instance
|
|
86
86
|
*/
|
|
87
|
-
static refineValues(_instance:
|
|
87
|
+
static refineValues(_instance: SipStartCallRequest): void;
|
|
88
88
|
/**
|
|
89
89
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
90
90
|
* @param _instance message instance
|
|
91
91
|
* @param _reader binary reader instance
|
|
92
92
|
*/
|
|
93
|
-
static deserializeBinaryFromReader(_instance:
|
|
93
|
+
static deserializeBinaryFromReader(_instance: SipStartCallRequest, _reader: BinaryReader): void;
|
|
94
94
|
/**
|
|
95
95
|
* Serializes a message to binary format using provided binary reader
|
|
96
96
|
* @param _instance message instance
|
|
97
97
|
* @param _writer binary writer instance
|
|
98
98
|
*/
|
|
99
|
-
static serializeBinaryToWriter(_instance:
|
|
100
|
-
private _calleeId
|
|
101
|
-
private _headers
|
|
99
|
+
static serializeBinaryToWriter(_instance: SipStartCallRequest, _writer: BinaryWriter): void;
|
|
100
|
+
private _calleeId;
|
|
101
|
+
private _headers;
|
|
102
102
|
/**
|
|
103
103
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
104
|
-
* @param _value initial values object or instance of
|
|
104
|
+
* @param _value initial values object or instance of SipStartCallRequest to deeply clone from
|
|
105
105
|
*/
|
|
106
|
-
constructor(_value?: RecursivePartial<
|
|
107
|
-
get calleeId(): string
|
|
108
|
-
set calleeId(value: string
|
|
106
|
+
constructor(_value?: RecursivePartial<SipStartCallRequest.AsObject>);
|
|
107
|
+
get calleeId(): string;
|
|
108
|
+
set calleeId(value: string);
|
|
109
109
|
get headers(): {
|
|
110
110
|
[prop: string]: string;
|
|
111
|
-
}
|
|
111
|
+
};
|
|
112
112
|
set headers(value: {
|
|
113
113
|
[prop: string]: string;
|
|
114
|
-
}
|
|
114
|
+
});
|
|
115
115
|
/**
|
|
116
116
|
* Serialize message to binary data
|
|
117
117
|
* @param instance message instance
|
|
@@ -120,39 +120,39 @@ export declare class StartCallRequest implements GrpcMessage {
|
|
|
120
120
|
/**
|
|
121
121
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
122
122
|
*/
|
|
123
|
-
toObject():
|
|
123
|
+
toObject(): SipStartCallRequest.AsObject;
|
|
124
124
|
/**
|
|
125
125
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
126
126
|
*/
|
|
127
|
-
toJSON():
|
|
127
|
+
toJSON(): SipStartCallRequest.AsObject;
|
|
128
128
|
/**
|
|
129
129
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
130
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
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
132
|
*/
|
|
133
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
133
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStartCallRequest.AsProtobufJSON;
|
|
134
134
|
}
|
|
135
|
-
export declare
|
|
135
|
+
export declare namespace SipStartCallRequest {
|
|
136
136
|
/**
|
|
137
|
-
* Standard JavaScript object representation for
|
|
137
|
+
* Standard JavaScript object representation for SipStartCallRequest
|
|
138
138
|
*/
|
|
139
139
|
interface AsObject {
|
|
140
|
-
calleeId
|
|
141
|
-
headers
|
|
140
|
+
calleeId: string;
|
|
141
|
+
headers: {
|
|
142
142
|
[prop: string]: string;
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
|
-
* Protobuf JSON representation for
|
|
146
|
+
* Protobuf JSON representation for SipStartCallRequest
|
|
147
147
|
*/
|
|
148
148
|
interface AsProtobufJSON {
|
|
149
|
-
calleeId
|
|
150
|
-
headers
|
|
149
|
+
calleeId: string;
|
|
150
|
+
headers: {
|
|
151
151
|
[prop: string]: string;
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* Message implementation for ondewo.sip.HeadersEntry
|
|
155
|
+
* Message implementation for ondewo.sip.SipStartCallRequest.HeadersEntry
|
|
156
156
|
*/
|
|
157
157
|
class HeadersEntry implements GrpcMessage {
|
|
158
158
|
static id: string;
|
|
@@ -178,17 +178,17 @@ export declare module StartCallRequest {
|
|
|
178
178
|
* @param _writer binary writer instance
|
|
179
179
|
*/
|
|
180
180
|
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
181
|
-
private _key
|
|
182
|
-
private _value
|
|
181
|
+
private _key;
|
|
182
|
+
private _value;
|
|
183
183
|
/**
|
|
184
184
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
185
185
|
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
186
186
|
*/
|
|
187
187
|
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
188
|
-
get key(): string
|
|
189
|
-
set key(value: string
|
|
190
|
-
get value(): string
|
|
191
|
-
set value(value: string
|
|
188
|
+
get key(): string;
|
|
189
|
+
set key(value: string);
|
|
190
|
+
get value(): string;
|
|
191
|
+
set value(value: string);
|
|
192
192
|
/**
|
|
193
193
|
* Serialize message to binary data
|
|
194
194
|
* @param instance message instance
|
|
@@ -209,67 +209,67 @@ export declare module StartCallRequest {
|
|
|
209
209
|
*/
|
|
210
210
|
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
211
211
|
}
|
|
212
|
-
|
|
212
|
+
namespace HeadersEntry {
|
|
213
213
|
/**
|
|
214
214
|
* Standard JavaScript object representation for HeadersEntry
|
|
215
215
|
*/
|
|
216
216
|
interface AsObject {
|
|
217
|
-
key
|
|
218
|
-
value
|
|
217
|
+
key: string;
|
|
218
|
+
value: string;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
221
|
* Protobuf JSON representation for HeadersEntry
|
|
222
222
|
*/
|
|
223
223
|
interface AsProtobufJSON {
|
|
224
|
-
key
|
|
225
|
-
value
|
|
224
|
+
key: string;
|
|
225
|
+
value: string;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
230
|
-
* Message implementation for ondewo.sip.
|
|
230
|
+
* Message implementation for ondewo.sip.SipRegisterAccountRequest
|
|
231
231
|
*/
|
|
232
|
-
export declare class
|
|
232
|
+
export declare class SipRegisterAccountRequest implements GrpcMessage {
|
|
233
233
|
static id: string;
|
|
234
234
|
/**
|
|
235
235
|
* Deserialize binary data to message
|
|
236
236
|
* @param instance message instance
|
|
237
237
|
*/
|
|
238
|
-
static deserializeBinary(bytes: ByteSource):
|
|
238
|
+
static deserializeBinary(bytes: ByteSource): SipRegisterAccountRequest;
|
|
239
239
|
/**
|
|
240
240
|
* Check all the properties and set default protobuf values if necessary
|
|
241
241
|
* @param _instance message instance
|
|
242
242
|
*/
|
|
243
|
-
static refineValues(_instance:
|
|
243
|
+
static refineValues(_instance: SipRegisterAccountRequest): void;
|
|
244
244
|
/**
|
|
245
245
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
246
246
|
* @param _instance message instance
|
|
247
247
|
* @param _reader binary reader instance
|
|
248
248
|
*/
|
|
249
|
-
static deserializeBinaryFromReader(_instance:
|
|
249
|
+
static deserializeBinaryFromReader(_instance: SipRegisterAccountRequest, _reader: BinaryReader): void;
|
|
250
250
|
/**
|
|
251
251
|
* Serializes a message to binary format using provided binary reader
|
|
252
252
|
* @param _instance message instance
|
|
253
253
|
* @param _writer binary writer instance
|
|
254
254
|
*/
|
|
255
|
-
static serializeBinaryToWriter(_instance:
|
|
256
|
-
private _accountName
|
|
257
|
-
private _password
|
|
258
|
-
private _authUsername
|
|
259
|
-
private _outboundProxy
|
|
255
|
+
static serializeBinaryToWriter(_instance: SipRegisterAccountRequest, _writer: BinaryWriter): void;
|
|
256
|
+
private _accountName;
|
|
257
|
+
private _password;
|
|
258
|
+
private _authUsername;
|
|
259
|
+
private _outboundProxy;
|
|
260
260
|
/**
|
|
261
261
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
262
|
-
* @param _value initial values object or instance of
|
|
263
|
-
*/
|
|
264
|
-
constructor(_value?: RecursivePartial<
|
|
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
|
|
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
273
|
/**
|
|
274
274
|
* Serialize message to binary data
|
|
275
275
|
* @param instance message instance
|
|
@@ -278,76 +278,76 @@ export declare class RegisterAccountRequest implements GrpcMessage {
|
|
|
278
278
|
/**
|
|
279
279
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
280
280
|
*/
|
|
281
|
-
toObject():
|
|
281
|
+
toObject(): SipRegisterAccountRequest.AsObject;
|
|
282
282
|
/**
|
|
283
283
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
284
284
|
*/
|
|
285
|
-
toJSON():
|
|
285
|
+
toJSON(): SipRegisterAccountRequest.AsObject;
|
|
286
286
|
/**
|
|
287
287
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
288
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
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
290
|
*/
|
|
291
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
291
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipRegisterAccountRequest.AsProtobufJSON;
|
|
292
292
|
}
|
|
293
|
-
export declare
|
|
293
|
+
export declare namespace SipRegisterAccountRequest {
|
|
294
294
|
/**
|
|
295
|
-
* Standard JavaScript object representation for
|
|
295
|
+
* Standard JavaScript object representation for SipRegisterAccountRequest
|
|
296
296
|
*/
|
|
297
297
|
interface AsObject {
|
|
298
|
-
accountName
|
|
299
|
-
password
|
|
300
|
-
authUsername
|
|
301
|
-
outboundProxy
|
|
298
|
+
accountName: string;
|
|
299
|
+
password: string;
|
|
300
|
+
authUsername: string;
|
|
301
|
+
outboundProxy: string;
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* Protobuf JSON representation for
|
|
304
|
+
* Protobuf JSON representation for SipRegisterAccountRequest
|
|
305
305
|
*/
|
|
306
306
|
interface AsProtobufJSON {
|
|
307
|
-
accountName
|
|
308
|
-
password
|
|
309
|
-
authUsername
|
|
310
|
-
outboundProxy
|
|
307
|
+
accountName: string;
|
|
308
|
+
password: string;
|
|
309
|
+
authUsername: string;
|
|
310
|
+
outboundProxy: string;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
|
-
* Message implementation for ondewo.sip.
|
|
314
|
+
* Message implementation for ondewo.sip.SipStartSessionRequest
|
|
315
315
|
*/
|
|
316
|
-
export declare class
|
|
316
|
+
export declare class SipStartSessionRequest implements GrpcMessage {
|
|
317
317
|
static id: string;
|
|
318
318
|
/**
|
|
319
319
|
* Deserialize binary data to message
|
|
320
320
|
* @param instance message instance
|
|
321
321
|
*/
|
|
322
|
-
static deserializeBinary(bytes: ByteSource):
|
|
322
|
+
static deserializeBinary(bytes: ByteSource): SipStartSessionRequest;
|
|
323
323
|
/**
|
|
324
324
|
* Check all the properties and set default protobuf values if necessary
|
|
325
325
|
* @param _instance message instance
|
|
326
326
|
*/
|
|
327
|
-
static refineValues(_instance:
|
|
327
|
+
static refineValues(_instance: SipStartSessionRequest): void;
|
|
328
328
|
/**
|
|
329
329
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
330
330
|
* @param _instance message instance
|
|
331
331
|
* @param _reader binary reader instance
|
|
332
332
|
*/
|
|
333
|
-
static deserializeBinaryFromReader(_instance:
|
|
333
|
+
static deserializeBinaryFromReader(_instance: SipStartSessionRequest, _reader: BinaryReader): void;
|
|
334
334
|
/**
|
|
335
335
|
* Serializes a message to binary format using provided binary reader
|
|
336
336
|
* @param _instance message instance
|
|
337
337
|
* @param _writer binary writer instance
|
|
338
338
|
*/
|
|
339
|
-
static serializeBinaryToWriter(_instance:
|
|
340
|
-
private _accountName
|
|
341
|
-
private _autoAnswerInterval
|
|
339
|
+
static serializeBinaryToWriter(_instance: SipStartSessionRequest, _writer: BinaryWriter): void;
|
|
340
|
+
private _accountName;
|
|
341
|
+
private _autoAnswerInterval;
|
|
342
342
|
/**
|
|
343
343
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
344
|
-
* @param _value initial values object or instance of
|
|
344
|
+
* @param _value initial values object or instance of SipStartSessionRequest to deeply clone from
|
|
345
345
|
*/
|
|
346
|
-
constructor(_value?: RecursivePartial<
|
|
347
|
-
get accountName(): string
|
|
348
|
-
set accountName(value: string
|
|
349
|
-
get autoAnswerInterval(): number
|
|
350
|
-
set autoAnswerInterval(value: number
|
|
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
351
|
/**
|
|
352
352
|
* Serialize message to binary data
|
|
353
353
|
* @param instance message instance
|
|
@@ -356,76 +356,76 @@ export declare class StartSessionRequest implements GrpcMessage {
|
|
|
356
356
|
/**
|
|
357
357
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
358
358
|
*/
|
|
359
|
-
toObject():
|
|
359
|
+
toObject(): SipStartSessionRequest.AsObject;
|
|
360
360
|
/**
|
|
361
361
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
362
362
|
*/
|
|
363
|
-
toJSON():
|
|
363
|
+
toJSON(): SipStartSessionRequest.AsObject;
|
|
364
364
|
/**
|
|
365
365
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
366
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
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
368
|
*/
|
|
369
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
369
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipStartSessionRequest.AsProtobufJSON;
|
|
370
370
|
}
|
|
371
|
-
export declare
|
|
371
|
+
export declare namespace SipStartSessionRequest {
|
|
372
372
|
/**
|
|
373
|
-
* Standard JavaScript object representation for
|
|
373
|
+
* Standard JavaScript object representation for SipStartSessionRequest
|
|
374
374
|
*/
|
|
375
375
|
interface AsObject {
|
|
376
|
-
accountName
|
|
377
|
-
autoAnswerInterval
|
|
376
|
+
accountName: string;
|
|
377
|
+
autoAnswerInterval: number;
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
|
-
* Protobuf JSON representation for
|
|
380
|
+
* Protobuf JSON representation for SipStartSessionRequest
|
|
381
381
|
*/
|
|
382
382
|
interface AsProtobufJSON {
|
|
383
|
-
accountName
|
|
384
|
-
autoAnswerInterval
|
|
383
|
+
accountName: string;
|
|
384
|
+
autoAnswerInterval: number;
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* Message implementation for ondewo.sip.
|
|
388
|
+
* Message implementation for ondewo.sip.SipTransferCallRequest
|
|
389
389
|
*/
|
|
390
|
-
export declare class
|
|
390
|
+
export declare class SipTransferCallRequest implements GrpcMessage {
|
|
391
391
|
static id: string;
|
|
392
392
|
/**
|
|
393
393
|
* Deserialize binary data to message
|
|
394
394
|
* @param instance message instance
|
|
395
395
|
*/
|
|
396
|
-
static deserializeBinary(bytes: ByteSource):
|
|
396
|
+
static deserializeBinary(bytes: ByteSource): SipTransferCallRequest;
|
|
397
397
|
/**
|
|
398
398
|
* Check all the properties and set default protobuf values if necessary
|
|
399
399
|
* @param _instance message instance
|
|
400
400
|
*/
|
|
401
|
-
static refineValues(_instance:
|
|
401
|
+
static refineValues(_instance: SipTransferCallRequest): void;
|
|
402
402
|
/**
|
|
403
403
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
404
404
|
* @param _instance message instance
|
|
405
405
|
* @param _reader binary reader instance
|
|
406
406
|
*/
|
|
407
|
-
static deserializeBinaryFromReader(_instance:
|
|
407
|
+
static deserializeBinaryFromReader(_instance: SipTransferCallRequest, _reader: BinaryReader): void;
|
|
408
408
|
/**
|
|
409
409
|
* Serializes a message to binary format using provided binary reader
|
|
410
410
|
* @param _instance message instance
|
|
411
411
|
* @param _writer binary writer instance
|
|
412
412
|
*/
|
|
413
|
-
static serializeBinaryToWriter(_instance:
|
|
414
|
-
private _transferId
|
|
415
|
-
private _headers
|
|
413
|
+
static serializeBinaryToWriter(_instance: SipTransferCallRequest, _writer: BinaryWriter): void;
|
|
414
|
+
private _transferId;
|
|
415
|
+
private _headers;
|
|
416
416
|
/**
|
|
417
417
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
418
|
-
* @param _value initial values object or instance of
|
|
418
|
+
* @param _value initial values object or instance of SipTransferCallRequest to deeply clone from
|
|
419
419
|
*/
|
|
420
|
-
constructor(_value?: RecursivePartial<
|
|
421
|
-
get transferId(): string
|
|
422
|
-
set transferId(value: string
|
|
420
|
+
constructor(_value?: RecursivePartial<SipTransferCallRequest.AsObject>);
|
|
421
|
+
get transferId(): string;
|
|
422
|
+
set transferId(value: string);
|
|
423
423
|
get headers(): {
|
|
424
424
|
[prop: string]: string;
|
|
425
|
-
}
|
|
425
|
+
};
|
|
426
426
|
set headers(value: {
|
|
427
427
|
[prop: string]: string;
|
|
428
|
-
}
|
|
428
|
+
});
|
|
429
429
|
/**
|
|
430
430
|
* Serialize message to binary data
|
|
431
431
|
* @param instance message instance
|
|
@@ -434,39 +434,39 @@ export declare class TransferCallRequest implements GrpcMessage {
|
|
|
434
434
|
/**
|
|
435
435
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
436
436
|
*/
|
|
437
|
-
toObject():
|
|
437
|
+
toObject(): SipTransferCallRequest.AsObject;
|
|
438
438
|
/**
|
|
439
439
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
440
440
|
*/
|
|
441
|
-
toJSON():
|
|
441
|
+
toJSON(): SipTransferCallRequest.AsObject;
|
|
442
442
|
/**
|
|
443
443
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
444
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
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
446
|
*/
|
|
447
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
447
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipTransferCallRequest.AsProtobufJSON;
|
|
448
448
|
}
|
|
449
|
-
export declare
|
|
449
|
+
export declare namespace SipTransferCallRequest {
|
|
450
450
|
/**
|
|
451
|
-
* Standard JavaScript object representation for
|
|
451
|
+
* Standard JavaScript object representation for SipTransferCallRequest
|
|
452
452
|
*/
|
|
453
453
|
interface AsObject {
|
|
454
|
-
transferId
|
|
455
|
-
headers
|
|
454
|
+
transferId: string;
|
|
455
|
+
headers: {
|
|
456
456
|
[prop: string]: string;
|
|
457
457
|
};
|
|
458
458
|
}
|
|
459
459
|
/**
|
|
460
|
-
* Protobuf JSON representation for
|
|
460
|
+
* Protobuf JSON representation for SipTransferCallRequest
|
|
461
461
|
*/
|
|
462
462
|
interface AsProtobufJSON {
|
|
463
|
-
transferId
|
|
464
|
-
headers
|
|
463
|
+
transferId: string;
|
|
464
|
+
headers: {
|
|
465
465
|
[prop: string]: string;
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
469
|
-
* Message implementation for ondewo.sip.HeadersEntry
|
|
469
|
+
* Message implementation for ondewo.sip.SipTransferCallRequest.HeadersEntry
|
|
470
470
|
*/
|
|
471
471
|
class HeadersEntry implements GrpcMessage {
|
|
472
472
|
static id: string;
|
|
@@ -492,17 +492,17 @@ export declare module TransferCallRequest {
|
|
|
492
492
|
* @param _writer binary writer instance
|
|
493
493
|
*/
|
|
494
494
|
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
495
|
-
private _key
|
|
496
|
-
private _value
|
|
495
|
+
private _key;
|
|
496
|
+
private _value;
|
|
497
497
|
/**
|
|
498
498
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
499
499
|
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
500
500
|
*/
|
|
501
501
|
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
502
|
-
get key(): string
|
|
503
|
-
set key(value: string
|
|
504
|
-
get value(): string
|
|
505
|
-
set value(value: string
|
|
502
|
+
get key(): string;
|
|
503
|
+
set key(value: string);
|
|
504
|
+
get value(): string;
|
|
505
|
+
set value(value: string);
|
|
506
506
|
/**
|
|
507
507
|
* Serialize message to binary data
|
|
508
508
|
* @param instance message instance
|
|
@@ -523,20 +523,20 @@ export declare module TransferCallRequest {
|
|
|
523
523
|
*/
|
|
524
524
|
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
525
525
|
}
|
|
526
|
-
|
|
526
|
+
namespace HeadersEntry {
|
|
527
527
|
/**
|
|
528
528
|
* Standard JavaScript object representation for HeadersEntry
|
|
529
529
|
*/
|
|
530
530
|
interface AsObject {
|
|
531
|
-
key
|
|
532
|
-
value
|
|
531
|
+
key: string;
|
|
532
|
+
value: string;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* Protobuf JSON representation for HeadersEntry
|
|
536
536
|
*/
|
|
537
537
|
interface AsProtobufJSON {
|
|
538
|
-
key
|
|
539
|
-
value
|
|
538
|
+
key: string;
|
|
539
|
+
value: string;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
}
|
|
@@ -567,42 +567,45 @@ export declare class SipStatus implements GrpcMessage {
|
|
|
567
567
|
* @param _writer binary writer instance
|
|
568
568
|
*/
|
|
569
569
|
static serializeBinaryToWriter(_instance: SipStatus, _writer: BinaryWriter): void;
|
|
570
|
-
private _accountName
|
|
570
|
+
private _accountName;
|
|
571
571
|
private _timestamp?;
|
|
572
|
-
private _statusType
|
|
573
|
-
private _calleeId
|
|
574
|
-
private _transferCallId
|
|
575
|
-
private _headers
|
|
576
|
-
private _description
|
|
577
|
-
private _exceptionName
|
|
578
|
-
private _exceptionTraceback
|
|
572
|
+
private _statusType;
|
|
573
|
+
private _calleeId;
|
|
574
|
+
private _transferCallId;
|
|
575
|
+
private _headers;
|
|
576
|
+
private _description;
|
|
577
|
+
private _exceptionName;
|
|
578
|
+
private _exceptionTraceback;
|
|
579
|
+
private _nluSessionName;
|
|
579
580
|
/**
|
|
580
581
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
581
582
|
* @param _value initial values object or instance of SipStatus to deeply clone from
|
|
582
583
|
*/
|
|
583
584
|
constructor(_value?: RecursivePartial<SipStatus.AsObject>);
|
|
584
|
-
get accountName(): string
|
|
585
|
-
set accountName(value: string
|
|
585
|
+
get accountName(): string;
|
|
586
|
+
set accountName(value: string);
|
|
586
587
|
get timestamp(): googleProtobuf001.Timestamp | undefined;
|
|
587
588
|
set timestamp(value: googleProtobuf001.Timestamp | undefined);
|
|
588
|
-
get statusType(): SipStatus.StatusType
|
|
589
|
-
set statusType(value: SipStatus.StatusType
|
|
590
|
-
get calleeId(): string
|
|
591
|
-
set calleeId(value: string
|
|
592
|
-
get transferCallId(): string
|
|
593
|
-
set transferCallId(value: string
|
|
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);
|
|
594
595
|
get headers(): {
|
|
595
596
|
[prop: string]: string;
|
|
596
|
-
}
|
|
597
|
+
};
|
|
597
598
|
set headers(value: {
|
|
598
599
|
[prop: string]: string;
|
|
599
|
-
}
|
|
600
|
-
get description(): string
|
|
601
|
-
set description(value: string
|
|
602
|
-
get exceptionName(): string
|
|
603
|
-
set exceptionName(value: string
|
|
604
|
-
get exceptionTraceback(): string
|
|
605
|
-
set exceptionTraceback(value: 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);
|
|
606
609
|
/**
|
|
607
610
|
* Serialize message to binary data
|
|
608
611
|
* @param instance message instance
|
|
@@ -623,38 +626,40 @@ export declare class SipStatus implements GrpcMessage {
|
|
|
623
626
|
*/
|
|
624
627
|
toProtobufJSON(options?: ToProtobufJSONOptions): SipStatus.AsProtobufJSON;
|
|
625
628
|
}
|
|
626
|
-
export declare
|
|
629
|
+
export declare namespace SipStatus {
|
|
627
630
|
/**
|
|
628
631
|
* Standard JavaScript object representation for SipStatus
|
|
629
632
|
*/
|
|
630
633
|
interface AsObject {
|
|
631
|
-
accountName
|
|
634
|
+
accountName: string;
|
|
632
635
|
timestamp?: googleProtobuf001.Timestamp.AsObject;
|
|
633
|
-
statusType
|
|
634
|
-
calleeId
|
|
635
|
-
transferCallId
|
|
636
|
-
headers
|
|
636
|
+
statusType: SipStatus.StatusType;
|
|
637
|
+
calleeId: string;
|
|
638
|
+
transferCallId: string;
|
|
639
|
+
headers: {
|
|
637
640
|
[prop: string]: string;
|
|
638
641
|
};
|
|
639
|
-
description
|
|
640
|
-
exceptionName
|
|
641
|
-
exceptionTraceback
|
|
642
|
+
description: string;
|
|
643
|
+
exceptionName: string;
|
|
644
|
+
exceptionTraceback: string;
|
|
645
|
+
nluSessionName: string;
|
|
642
646
|
}
|
|
643
647
|
/**
|
|
644
648
|
* Protobuf JSON representation for SipStatus
|
|
645
649
|
*/
|
|
646
650
|
interface AsProtobufJSON {
|
|
647
|
-
accountName
|
|
648
|
-
timestamp
|
|
649
|
-
statusType
|
|
650
|
-
calleeId
|
|
651
|
-
transferCallId
|
|
652
|
-
headers
|
|
651
|
+
accountName: string;
|
|
652
|
+
timestamp: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
653
|
+
statusType: string;
|
|
654
|
+
calleeId: string;
|
|
655
|
+
transferCallId: string;
|
|
656
|
+
headers: {
|
|
653
657
|
[prop: string]: string;
|
|
654
658
|
};
|
|
655
|
-
description
|
|
656
|
-
exceptionName
|
|
657
|
-
exceptionTraceback
|
|
659
|
+
description: string;
|
|
660
|
+
exceptionName: string;
|
|
661
|
+
exceptionTraceback: string;
|
|
662
|
+
nluSessionName: string;
|
|
658
663
|
}
|
|
659
664
|
enum StatusType {
|
|
660
665
|
NO_SESSION = 0,
|
|
@@ -681,7 +686,7 @@ export declare module SipStatus {
|
|
|
681
686
|
NO_ONGOING_CALL = 21
|
|
682
687
|
}
|
|
683
688
|
/**
|
|
684
|
-
* Message implementation for ondewo.sip.HeadersEntry
|
|
689
|
+
* Message implementation for ondewo.sip.SipStatus.HeadersEntry
|
|
685
690
|
*/
|
|
686
691
|
class HeadersEntry implements GrpcMessage {
|
|
687
692
|
static id: string;
|
|
@@ -707,17 +712,17 @@ export declare module SipStatus {
|
|
|
707
712
|
* @param _writer binary writer instance
|
|
708
713
|
*/
|
|
709
714
|
static serializeBinaryToWriter(_instance: HeadersEntry, _writer: BinaryWriter): void;
|
|
710
|
-
private _key
|
|
711
|
-
private _value
|
|
715
|
+
private _key;
|
|
716
|
+
private _value;
|
|
712
717
|
/**
|
|
713
718
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
714
719
|
* @param _value initial values object or instance of HeadersEntry to deeply clone from
|
|
715
720
|
*/
|
|
716
721
|
constructor(_value?: RecursivePartial<HeadersEntry.AsObject>);
|
|
717
|
-
get key(): string
|
|
718
|
-
set key(value: string
|
|
719
|
-
get value(): string
|
|
720
|
-
set value(value: string
|
|
722
|
+
get key(): string;
|
|
723
|
+
set key(value: string);
|
|
724
|
+
get value(): string;
|
|
725
|
+
set value(value: string);
|
|
721
726
|
/**
|
|
722
727
|
* Serialize message to binary data
|
|
723
728
|
* @param instance message instance
|
|
@@ -738,20 +743,20 @@ export declare module SipStatus {
|
|
|
738
743
|
*/
|
|
739
744
|
toProtobufJSON(options?: ToProtobufJSONOptions): HeadersEntry.AsProtobufJSON;
|
|
740
745
|
}
|
|
741
|
-
|
|
746
|
+
namespace HeadersEntry {
|
|
742
747
|
/**
|
|
743
748
|
* Standard JavaScript object representation for HeadersEntry
|
|
744
749
|
*/
|
|
745
750
|
interface AsObject {
|
|
746
|
-
key
|
|
747
|
-
value
|
|
751
|
+
key: string;
|
|
752
|
+
value: string;
|
|
748
753
|
}
|
|
749
754
|
/**
|
|
750
755
|
* Protobuf JSON representation for HeadersEntry
|
|
751
756
|
*/
|
|
752
757
|
interface AsProtobufJSON {
|
|
753
|
-
key
|
|
754
|
-
value
|
|
758
|
+
key: string;
|
|
759
|
+
value: string;
|
|
755
760
|
}
|
|
756
761
|
}
|
|
757
762
|
}
|
|
@@ -810,7 +815,7 @@ export declare class SipStatusHistoryResponse implements GrpcMessage {
|
|
|
810
815
|
*/
|
|
811
816
|
toProtobufJSON(options?: ToProtobufJSONOptions): SipStatusHistoryResponse.AsProtobufJSON;
|
|
812
817
|
}
|
|
813
|
-
export declare
|
|
818
|
+
export declare namespace SipStatusHistoryResponse {
|
|
814
819
|
/**
|
|
815
820
|
* Standard JavaScript object representation for SipStatusHistoryResponse
|
|
816
821
|
*/
|
|
@@ -821,44 +826,44 @@ export declare module SipStatusHistoryResponse {
|
|
|
821
826
|
* Protobuf JSON representation for SipStatusHistoryResponse
|
|
822
827
|
*/
|
|
823
828
|
interface AsProtobufJSON {
|
|
824
|
-
statusHistory
|
|
829
|
+
statusHistory: SipStatus.AsProtobufJSON[] | null;
|
|
825
830
|
}
|
|
826
831
|
}
|
|
827
832
|
/**
|
|
828
|
-
* Message implementation for ondewo.sip.
|
|
833
|
+
* Message implementation for ondewo.sip.SipPlayWavFilesRequest
|
|
829
834
|
*/
|
|
830
|
-
export declare class
|
|
835
|
+
export declare class SipPlayWavFilesRequest implements GrpcMessage {
|
|
831
836
|
static id: string;
|
|
832
837
|
/**
|
|
833
838
|
* Deserialize binary data to message
|
|
834
839
|
* @param instance message instance
|
|
835
840
|
*/
|
|
836
|
-
static deserializeBinary(bytes: ByteSource):
|
|
841
|
+
static deserializeBinary(bytes: ByteSource): SipPlayWavFilesRequest;
|
|
837
842
|
/**
|
|
838
843
|
* Check all the properties and set default protobuf values if necessary
|
|
839
844
|
* @param _instance message instance
|
|
840
845
|
*/
|
|
841
|
-
static refineValues(_instance:
|
|
846
|
+
static refineValues(_instance: SipPlayWavFilesRequest): void;
|
|
842
847
|
/**
|
|
843
848
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
844
849
|
* @param _instance message instance
|
|
845
850
|
* @param _reader binary reader instance
|
|
846
851
|
*/
|
|
847
|
-
static deserializeBinaryFromReader(_instance:
|
|
852
|
+
static deserializeBinaryFromReader(_instance: SipPlayWavFilesRequest, _reader: BinaryReader): void;
|
|
848
853
|
/**
|
|
849
854
|
* Serializes a message to binary format using provided binary reader
|
|
850
855
|
* @param _instance message instance
|
|
851
856
|
* @param _writer binary writer instance
|
|
852
857
|
*/
|
|
853
|
-
static serializeBinaryToWriter(_instance:
|
|
854
|
-
private _wavFiles
|
|
858
|
+
static serializeBinaryToWriter(_instance: SipPlayWavFilesRequest, _writer: BinaryWriter): void;
|
|
859
|
+
private _wavFiles;
|
|
855
860
|
/**
|
|
856
861
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
857
|
-
* @param _value initial values object or instance of
|
|
862
|
+
* @param _value initial values object or instance of SipPlayWavFilesRequest to deeply clone from
|
|
858
863
|
*/
|
|
859
|
-
constructor(_value?: RecursivePartial<
|
|
860
|
-
get wavFiles(): Uint8Array[]
|
|
861
|
-
set wavFiles(value: Uint8Array[]
|
|
864
|
+
constructor(_value?: RecursivePartial<SipPlayWavFilesRequest.AsObject>);
|
|
865
|
+
get wavFiles(): Uint8Array[];
|
|
866
|
+
set wavFiles(value: Uint8Array[]);
|
|
862
867
|
/**
|
|
863
868
|
* Serialize message to binary data
|
|
864
869
|
* @param instance message instance
|
|
@@ -867,29 +872,29 @@ export declare class PlayWavFilesRequest implements GrpcMessage {
|
|
|
867
872
|
/**
|
|
868
873
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
869
874
|
*/
|
|
870
|
-
toObject():
|
|
875
|
+
toObject(): SipPlayWavFilesRequest.AsObject;
|
|
871
876
|
/**
|
|
872
877
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
873
878
|
*/
|
|
874
|
-
toJSON():
|
|
879
|
+
toJSON(): SipPlayWavFilesRequest.AsObject;
|
|
875
880
|
/**
|
|
876
881
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
877
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.
|
|
878
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
|
|
879
884
|
*/
|
|
880
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
885
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SipPlayWavFilesRequest.AsProtobufJSON;
|
|
881
886
|
}
|
|
882
|
-
export declare
|
|
887
|
+
export declare namespace SipPlayWavFilesRequest {
|
|
883
888
|
/**
|
|
884
|
-
* Standard JavaScript object representation for
|
|
889
|
+
* Standard JavaScript object representation for SipPlayWavFilesRequest
|
|
885
890
|
*/
|
|
886
891
|
interface AsObject {
|
|
887
|
-
wavFiles
|
|
892
|
+
wavFiles: Uint8Array[];
|
|
888
893
|
}
|
|
889
894
|
/**
|
|
890
|
-
* Protobuf JSON representation for
|
|
895
|
+
* Protobuf JSON representation for SipPlayWavFilesRequest
|
|
891
896
|
*/
|
|
892
897
|
interface AsProtobufJSON {
|
|
893
|
-
wavFiles
|
|
898
|
+
wavFiles: string[];
|
|
894
899
|
}
|
|
895
900
|
}
|