@ondewo/sip-client-nodejs 4.0.0 → 5.0.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 +56 -14
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/timestamp_pb.js +7 -1
- package/api/ondewo/sip/sip_grpc_pb.d.ts +122 -122
- package/api/ondewo/sip/sip_grpc_pb.js +81 -81
- package/api/ondewo/sip/sip_pb.d.ts +52 -52
- package/api/ondewo/sip/sip_pb.js +165 -159
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/public-api.js +3 -3
|
@@ -32,112 +32,112 @@ function deserialize_google_protobuf_Empty(buffer_arg) {
|
|
|
32
32
|
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
function
|
|
36
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
37
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
35
|
+
function serialize_ondewo_sip_SipEndCallRequest(arg) {
|
|
36
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipEndCallRequest)) {
|
|
37
|
+
throw new Error('Expected argument of type ondewo.sip.SipEndCallRequest');
|
|
38
38
|
}
|
|
39
39
|
return Buffer.from(arg.serializeBinary());
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
function
|
|
43
|
-
return ondewo_sip_sip_pb.
|
|
42
|
+
function deserialize_ondewo_sip_SipEndCallRequest(buffer_arg) {
|
|
43
|
+
return ondewo_sip_sip_pb.SipEndCallRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
function
|
|
47
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
48
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
46
|
+
function serialize_ondewo_sip_SipPlayWavFilesRequest(arg) {
|
|
47
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipPlayWavFilesRequest)) {
|
|
48
|
+
throw new Error('Expected argument of type ondewo.sip.SipPlayWavFilesRequest');
|
|
49
49
|
}
|
|
50
50
|
return Buffer.from(arg.serializeBinary());
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
function
|
|
54
|
-
return ondewo_sip_sip_pb.
|
|
53
|
+
function deserialize_ondewo_sip_SipPlayWavFilesRequest(buffer_arg) {
|
|
54
|
+
return ondewo_sip_sip_pb.SipPlayWavFilesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
function
|
|
58
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
59
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
57
|
+
function serialize_ondewo_sip_SipRegisterAccountRequest(arg) {
|
|
58
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipRegisterAccountRequest)) {
|
|
59
|
+
throw new Error('Expected argument of type ondewo.sip.SipRegisterAccountRequest');
|
|
60
60
|
}
|
|
61
61
|
return Buffer.from(arg.serializeBinary());
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
function
|
|
65
|
-
return ondewo_sip_sip_pb.
|
|
64
|
+
function deserialize_ondewo_sip_SipRegisterAccountRequest(buffer_arg) {
|
|
65
|
+
return ondewo_sip_sip_pb.SipRegisterAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
function
|
|
69
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
70
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
68
|
+
function serialize_ondewo_sip_SipStartCallRequest(arg) {
|
|
69
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipStartCallRequest)) {
|
|
70
|
+
throw new Error('Expected argument of type ondewo.sip.SipStartCallRequest');
|
|
71
71
|
}
|
|
72
72
|
return Buffer.from(arg.serializeBinary());
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
function
|
|
76
|
-
return ondewo_sip_sip_pb.
|
|
75
|
+
function deserialize_ondewo_sip_SipStartCallRequest(buffer_arg) {
|
|
76
|
+
return ondewo_sip_sip_pb.SipStartCallRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
function
|
|
80
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
81
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
79
|
+
function serialize_ondewo_sip_SipStartSessionRequest(arg) {
|
|
80
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipStartSessionRequest)) {
|
|
81
|
+
throw new Error('Expected argument of type ondewo.sip.SipStartSessionRequest');
|
|
82
82
|
}
|
|
83
83
|
return Buffer.from(arg.serializeBinary());
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
function
|
|
87
|
-
return ondewo_sip_sip_pb.
|
|
86
|
+
function deserialize_ondewo_sip_SipStartSessionRequest(buffer_arg) {
|
|
87
|
+
return ondewo_sip_sip_pb.SipStartSessionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
function
|
|
91
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
92
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
90
|
+
function serialize_ondewo_sip_SipStatus(arg) {
|
|
91
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipStatus)) {
|
|
92
|
+
throw new Error('Expected argument of type ondewo.sip.SipStatus');
|
|
93
93
|
}
|
|
94
94
|
return Buffer.from(arg.serializeBinary());
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
function
|
|
98
|
-
return ondewo_sip_sip_pb.
|
|
97
|
+
function deserialize_ondewo_sip_SipStatus(buffer_arg) {
|
|
98
|
+
return ondewo_sip_sip_pb.SipStatus.deserializeBinary(new Uint8Array(buffer_arg));
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
function
|
|
102
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
103
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
101
|
+
function serialize_ondewo_sip_SipStatusHistoryResponse(arg) {
|
|
102
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipStatusHistoryResponse)) {
|
|
103
|
+
throw new Error('Expected argument of type ondewo.sip.SipStatusHistoryResponse');
|
|
104
104
|
}
|
|
105
105
|
return Buffer.from(arg.serializeBinary());
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
function
|
|
109
|
-
return ondewo_sip_sip_pb.
|
|
108
|
+
function deserialize_ondewo_sip_SipStatusHistoryResponse(buffer_arg) {
|
|
109
|
+
return ondewo_sip_sip_pb.SipStatusHistoryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
function
|
|
113
|
-
if (!(arg instanceof ondewo_sip_sip_pb.
|
|
114
|
-
throw new Error('Expected argument of type ondewo.sip.
|
|
112
|
+
function serialize_ondewo_sip_SipTransferCallRequest(arg) {
|
|
113
|
+
if (!(arg instanceof ondewo_sip_sip_pb.SipTransferCallRequest)) {
|
|
114
|
+
throw new Error('Expected argument of type ondewo.sip.SipTransferCallRequest');
|
|
115
115
|
}
|
|
116
116
|
return Buffer.from(arg.serializeBinary());
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
function
|
|
120
|
-
return ondewo_sip_sip_pb.
|
|
119
|
+
function deserialize_ondewo_sip_SipTransferCallRequest(buffer_arg) {
|
|
120
|
+
return ondewo_sip_sip_pb.SipTransferCallRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
// ONDEWO-SIP API available at <a href="https://github.com/ondewo/ondewo-sip-api>">GitHub</a>
|
|
125
125
|
var SipService = exports.SipService = {
|
|
126
126
|
// Starts a new SIP session for an account registered at a SIP server. <code>RegisterAccount</code> need to be called before.
|
|
127
|
-
|
|
128
|
-
path: '/ondewo.sip.Sip/
|
|
127
|
+
sipStartSession: {
|
|
128
|
+
path: '/ondewo.sip.Sip/SipStartSession',
|
|
129
129
|
requestStream: false,
|
|
130
130
|
responseStream: false,
|
|
131
|
-
requestType: ondewo_sip_sip_pb.
|
|
131
|
+
requestType: ondewo_sip_sip_pb.SipStartSessionRequest,
|
|
132
132
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
133
|
-
requestSerialize:
|
|
134
|
-
requestDeserialize:
|
|
133
|
+
requestSerialize: serialize_ondewo_sip_SipStartSessionRequest,
|
|
134
|
+
requestDeserialize: deserialize_ondewo_sip_SipStartSessionRequest,
|
|
135
135
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
136
136
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
137
137
|
},
|
|
138
138
|
// Ends a SIP session for an account registered at a SIP server
|
|
139
|
-
|
|
140
|
-
path: '/ondewo.sip.Sip/
|
|
139
|
+
sipEndSession: {
|
|
140
|
+
path: '/ondewo.sip.Sip/SipEndSession',
|
|
141
141
|
requestStream: false,
|
|
142
142
|
responseStream: false,
|
|
143
143
|
requestType: google_protobuf_empty_pb.Empty,
|
|
@@ -148,57 +148,57 @@ endSession: {
|
|
|
148
148
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
149
149
|
},
|
|
150
150
|
// Starts a call in an active SIP session for an account registered at a SIP server
|
|
151
|
-
|
|
152
|
-
path: '/ondewo.sip.Sip/
|
|
151
|
+
sipStartCall: {
|
|
152
|
+
path: '/ondewo.sip.Sip/SipStartCall',
|
|
153
153
|
requestStream: false,
|
|
154
154
|
responseStream: false,
|
|
155
|
-
requestType: ondewo_sip_sip_pb.
|
|
155
|
+
requestType: ondewo_sip_sip_pb.SipStartCallRequest,
|
|
156
156
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
157
|
-
requestSerialize:
|
|
158
|
-
requestDeserialize:
|
|
157
|
+
requestSerialize: serialize_ondewo_sip_SipStartCallRequest,
|
|
158
|
+
requestDeserialize: deserialize_ondewo_sip_SipStartCallRequest,
|
|
159
159
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
160
160
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
161
161
|
},
|
|
162
162
|
// Ends a call in an active SIP session for an account registered at a SIP server
|
|
163
|
-
|
|
164
|
-
path: '/ondewo.sip.Sip/
|
|
163
|
+
sipEndCall: {
|
|
164
|
+
path: '/ondewo.sip.Sip/SipEndCall',
|
|
165
165
|
requestStream: false,
|
|
166
166
|
responseStream: false,
|
|
167
|
-
requestType: ondewo_sip_sip_pb.
|
|
167
|
+
requestType: ondewo_sip_sip_pb.SipEndCallRequest,
|
|
168
168
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
169
|
-
requestSerialize:
|
|
170
|
-
requestDeserialize:
|
|
169
|
+
requestSerialize: serialize_ondewo_sip_SipEndCallRequest,
|
|
170
|
+
requestDeserialize: deserialize_ondewo_sip_SipEndCallRequest,
|
|
171
171
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
172
172
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
173
173
|
},
|
|
174
174
|
// Transfers a call in an active SIP session for an account registered at a SIP server to
|
|
175
175
|
// another SIP account or phone number specified by <code>transfer_id</code>
|
|
176
|
-
|
|
177
|
-
path: '/ondewo.sip.Sip/
|
|
176
|
+
sipTransferCall: {
|
|
177
|
+
path: '/ondewo.sip.Sip/SipTransferCall',
|
|
178
178
|
requestStream: false,
|
|
179
179
|
responseStream: false,
|
|
180
|
-
requestType: ondewo_sip_sip_pb.
|
|
180
|
+
requestType: ondewo_sip_sip_pb.SipTransferCallRequest,
|
|
181
181
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
182
|
-
requestSerialize:
|
|
183
|
-
requestDeserialize:
|
|
182
|
+
requestSerialize: serialize_ondewo_sip_SipTransferCallRequest,
|
|
183
|
+
requestDeserialize: deserialize_ondewo_sip_SipTransferCallRequest,
|
|
184
184
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
185
185
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
186
186
|
},
|
|
187
187
|
// Registers s SIP account at a SIP server
|
|
188
|
-
|
|
189
|
-
path: '/ondewo.sip.Sip/
|
|
188
|
+
sipRegisterAccount: {
|
|
189
|
+
path: '/ondewo.sip.Sip/SipRegisterAccount',
|
|
190
190
|
requestStream: false,
|
|
191
191
|
responseStream: false,
|
|
192
|
-
requestType: ondewo_sip_sip_pb.
|
|
192
|
+
requestType: ondewo_sip_sip_pb.SipRegisterAccountRequest,
|
|
193
193
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
194
|
-
requestSerialize:
|
|
195
|
-
requestDeserialize:
|
|
194
|
+
requestSerialize: serialize_ondewo_sip_SipRegisterAccountRequest,
|
|
195
|
+
requestDeserialize: deserialize_ondewo_sip_SipRegisterAccountRequest,
|
|
196
196
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
197
197
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
198
198
|
},
|
|
199
199
|
// Gets the current SIP status
|
|
200
|
-
|
|
201
|
-
path: '/ondewo.sip.Sip/
|
|
200
|
+
sipGetSipStatus: {
|
|
201
|
+
path: '/ondewo.sip.Sip/SipGetSipStatus',
|
|
202
202
|
requestStream: false,
|
|
203
203
|
responseStream: false,
|
|
204
204
|
requestType: google_protobuf_empty_pb.Empty,
|
|
@@ -209,8 +209,8 @@ getSipStatus: {
|
|
|
209
209
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
210
210
|
},
|
|
211
211
|
// Gets the history of SIP status
|
|
212
|
-
|
|
213
|
-
path: '/ondewo.sip.Sip/
|
|
212
|
+
sipGetSipStatusHistory: {
|
|
213
|
+
path: '/ondewo.sip.Sip/SipGetSipStatusHistory',
|
|
214
214
|
requestStream: false,
|
|
215
215
|
responseStream: false,
|
|
216
216
|
requestType: google_protobuf_empty_pb.Empty,
|
|
@@ -221,20 +221,20 @@ getSipStatusHistory: {
|
|
|
221
221
|
responseDeserialize: deserialize_ondewo_sip_SipStatusHistoryResponse,
|
|
222
222
|
},
|
|
223
223
|
// Plays wav files during an ongoing call of an active SIP session
|
|
224
|
-
|
|
225
|
-
path: '/ondewo.sip.Sip/
|
|
224
|
+
sipPlayWavFiles: {
|
|
225
|
+
path: '/ondewo.sip.Sip/SipPlayWavFiles',
|
|
226
226
|
requestStream: false,
|
|
227
227
|
responseStream: false,
|
|
228
|
-
requestType: ondewo_sip_sip_pb.
|
|
228
|
+
requestType: ondewo_sip_sip_pb.SipPlayWavFilesRequest,
|
|
229
229
|
responseType: ondewo_sip_sip_pb.SipStatus,
|
|
230
|
-
requestSerialize:
|
|
231
|
-
requestDeserialize:
|
|
230
|
+
requestSerialize: serialize_ondewo_sip_SipPlayWavFilesRequest,
|
|
231
|
+
requestDeserialize: deserialize_ondewo_sip_SipPlayWavFilesRequest,
|
|
232
232
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
233
233
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
234
234
|
},
|
|
235
235
|
// Mutes the microphone in an ongoing call of an active SIP session
|
|
236
|
-
|
|
237
|
-
path: '/ondewo.sip.Sip/
|
|
236
|
+
sipMute: {
|
|
237
|
+
path: '/ondewo.sip.Sip/SipMute',
|
|
238
238
|
requestStream: false,
|
|
239
239
|
responseStream: false,
|
|
240
240
|
requestType: google_protobuf_empty_pb.Empty,
|
|
@@ -244,9 +244,9 @@ mute: {
|
|
|
244
244
|
responseSerialize: serialize_ondewo_sip_SipStatus,
|
|
245
245
|
responseDeserialize: deserialize_ondewo_sip_SipStatus,
|
|
246
246
|
},
|
|
247
|
-
//
|
|
248
|
-
|
|
249
|
-
path: '/ondewo.sip.Sip/
|
|
247
|
+
// Un-mutes the microphone in an ongoing call of an active SIP session
|
|
248
|
+
sipUnMute: {
|
|
249
|
+
path: '/ondewo.sip.Sip/SipUnMute',
|
|
250
250
|
requestStream: false,
|
|
251
251
|
responseStream: false,
|
|
252
252
|
requestType: google_protobuf_empty_pb.Empty,
|
|
@@ -8,44 +8,44 @@ import * as jspb from "google-protobuf";
|
|
|
8
8
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
9
9
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
10
10
|
|
|
11
|
-
export class
|
|
11
|
+
export class SipEndCallRequest extends jspb.Message {
|
|
12
12
|
getHardHangup(): boolean;
|
|
13
|
-
setHardHangup(value: boolean):
|
|
13
|
+
setHardHangup(value: boolean): SipEndCallRequest;
|
|
14
14
|
|
|
15
15
|
serializeBinary(): Uint8Array;
|
|
16
|
-
toObject(includeInstance?: boolean):
|
|
17
|
-
static toObject(includeInstance: boolean, msg:
|
|
16
|
+
toObject(includeInstance?: boolean): SipEndCallRequest.AsObject;
|
|
17
|
+
static toObject(includeInstance: boolean, msg: SipEndCallRequest): SipEndCallRequest.AsObject;
|
|
18
18
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
19
19
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
20
|
-
static serializeBinaryToWriter(message:
|
|
21
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
22
|
-
static deserializeBinaryFromReader(message:
|
|
20
|
+
static serializeBinaryToWriter(message: SipEndCallRequest, writer: jspb.BinaryWriter): void;
|
|
21
|
+
static deserializeBinary(bytes: Uint8Array): SipEndCallRequest;
|
|
22
|
+
static deserializeBinaryFromReader(message: SipEndCallRequest, reader: jspb.BinaryReader): SipEndCallRequest;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export namespace
|
|
25
|
+
export namespace SipEndCallRequest {
|
|
26
26
|
export type AsObject = {
|
|
27
27
|
hardHangup: boolean,
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export class
|
|
31
|
+
export class SipStartCallRequest extends jspb.Message {
|
|
32
32
|
getCalleeId(): string;
|
|
33
|
-
setCalleeId(value: string):
|
|
33
|
+
setCalleeId(value: string): SipStartCallRequest;
|
|
34
34
|
|
|
35
35
|
getHeadersMap(): jspb.Map<string, string>;
|
|
36
36
|
clearHeadersMap(): void;
|
|
37
37
|
|
|
38
38
|
serializeBinary(): Uint8Array;
|
|
39
|
-
toObject(includeInstance?: boolean):
|
|
40
|
-
static toObject(includeInstance: boolean, msg:
|
|
39
|
+
toObject(includeInstance?: boolean): SipStartCallRequest.AsObject;
|
|
40
|
+
static toObject(includeInstance: boolean, msg: SipStartCallRequest): SipStartCallRequest.AsObject;
|
|
41
41
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
42
42
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
43
|
-
static serializeBinaryToWriter(message:
|
|
44
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
45
|
-
static deserializeBinaryFromReader(message:
|
|
43
|
+
static serializeBinaryToWriter(message: SipStartCallRequest, writer: jspb.BinaryWriter): void;
|
|
44
|
+
static deserializeBinary(bytes: Uint8Array): SipStartCallRequest;
|
|
45
|
+
static deserializeBinaryFromReader(message: SipStartCallRequest, reader: jspb.BinaryReader): SipStartCallRequest;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export namespace
|
|
48
|
+
export namespace SipStartCallRequest {
|
|
49
49
|
export type AsObject = {
|
|
50
50
|
calleeId: string,
|
|
51
51
|
|
|
@@ -53,27 +53,27 @@ export namespace StartCallRequest {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export class
|
|
56
|
+
export class SipRegisterAccountRequest extends jspb.Message {
|
|
57
57
|
getAccountName(): string;
|
|
58
|
-
setAccountName(value: string):
|
|
58
|
+
setAccountName(value: string): SipRegisterAccountRequest;
|
|
59
59
|
getPassword(): string;
|
|
60
|
-
setPassword(value: string):
|
|
60
|
+
setPassword(value: string): SipRegisterAccountRequest;
|
|
61
61
|
getAuthUsername(): string;
|
|
62
|
-
setAuthUsername(value: string):
|
|
62
|
+
setAuthUsername(value: string): SipRegisterAccountRequest;
|
|
63
63
|
getOutboundProxy(): string;
|
|
64
|
-
setOutboundProxy(value: string):
|
|
64
|
+
setOutboundProxy(value: string): SipRegisterAccountRequest;
|
|
65
65
|
|
|
66
66
|
serializeBinary(): Uint8Array;
|
|
67
|
-
toObject(includeInstance?: boolean):
|
|
68
|
-
static toObject(includeInstance: boolean, msg:
|
|
67
|
+
toObject(includeInstance?: boolean): SipRegisterAccountRequest.AsObject;
|
|
68
|
+
static toObject(includeInstance: boolean, msg: SipRegisterAccountRequest): SipRegisterAccountRequest.AsObject;
|
|
69
69
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
70
70
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
71
|
-
static serializeBinaryToWriter(message:
|
|
72
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
73
|
-
static deserializeBinaryFromReader(message:
|
|
71
|
+
static serializeBinaryToWriter(message: SipRegisterAccountRequest, writer: jspb.BinaryWriter): void;
|
|
72
|
+
static deserializeBinary(bytes: Uint8Array): SipRegisterAccountRequest;
|
|
73
|
+
static deserializeBinaryFromReader(message: SipRegisterAccountRequest, reader: jspb.BinaryReader): SipRegisterAccountRequest;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export namespace
|
|
76
|
+
export namespace SipRegisterAccountRequest {
|
|
77
77
|
export type AsObject = {
|
|
78
78
|
accountName: string,
|
|
79
79
|
password: string,
|
|
@@ -82,47 +82,47 @@ export namespace RegisterAccountRequest {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export class
|
|
85
|
+
export class SipStartSessionRequest extends jspb.Message {
|
|
86
86
|
getAccountName(): string;
|
|
87
|
-
setAccountName(value: string):
|
|
87
|
+
setAccountName(value: string): SipStartSessionRequest;
|
|
88
88
|
getAutoAnswerInterval(): number;
|
|
89
|
-
setAutoAnswerInterval(value: number):
|
|
89
|
+
setAutoAnswerInterval(value: number): SipStartSessionRequest;
|
|
90
90
|
|
|
91
91
|
serializeBinary(): Uint8Array;
|
|
92
|
-
toObject(includeInstance?: boolean):
|
|
93
|
-
static toObject(includeInstance: boolean, msg:
|
|
92
|
+
toObject(includeInstance?: boolean): SipStartSessionRequest.AsObject;
|
|
93
|
+
static toObject(includeInstance: boolean, msg: SipStartSessionRequest): SipStartSessionRequest.AsObject;
|
|
94
94
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
95
95
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
96
|
-
static serializeBinaryToWriter(message:
|
|
97
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
98
|
-
static deserializeBinaryFromReader(message:
|
|
96
|
+
static serializeBinaryToWriter(message: SipStartSessionRequest, writer: jspb.BinaryWriter): void;
|
|
97
|
+
static deserializeBinary(bytes: Uint8Array): SipStartSessionRequest;
|
|
98
|
+
static deserializeBinaryFromReader(message: SipStartSessionRequest, reader: jspb.BinaryReader): SipStartSessionRequest;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export namespace
|
|
101
|
+
export namespace SipStartSessionRequest {
|
|
102
102
|
export type AsObject = {
|
|
103
103
|
accountName: string,
|
|
104
104
|
autoAnswerInterval: number,
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export class
|
|
108
|
+
export class SipTransferCallRequest extends jspb.Message {
|
|
109
109
|
getTransferId(): string;
|
|
110
|
-
setTransferId(value: string):
|
|
110
|
+
setTransferId(value: string): SipTransferCallRequest;
|
|
111
111
|
|
|
112
112
|
getHeadersMap(): jspb.Map<string, string>;
|
|
113
113
|
clearHeadersMap(): void;
|
|
114
114
|
|
|
115
115
|
serializeBinary(): Uint8Array;
|
|
116
|
-
toObject(includeInstance?: boolean):
|
|
117
|
-
static toObject(includeInstance: boolean, msg:
|
|
116
|
+
toObject(includeInstance?: boolean): SipTransferCallRequest.AsObject;
|
|
117
|
+
static toObject(includeInstance: boolean, msg: SipTransferCallRequest): SipTransferCallRequest.AsObject;
|
|
118
118
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
119
119
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
120
|
-
static serializeBinaryToWriter(message:
|
|
121
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
122
|
-
static deserializeBinaryFromReader(message:
|
|
120
|
+
static serializeBinaryToWriter(message: SipTransferCallRequest, writer: jspb.BinaryWriter): void;
|
|
121
|
+
static deserializeBinary(bytes: Uint8Array): SipTransferCallRequest;
|
|
122
|
+
static deserializeBinaryFromReader(message: SipTransferCallRequest, reader: jspb.BinaryReader): SipTransferCallRequest;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
export namespace
|
|
125
|
+
export namespace SipTransferCallRequest {
|
|
126
126
|
export type AsObject = {
|
|
127
127
|
transferId: string,
|
|
128
128
|
|
|
@@ -227,25 +227,25 @@ export namespace SipStatusHistoryResponse {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
export class
|
|
230
|
+
export class SipPlayWavFilesRequest extends jspb.Message {
|
|
231
231
|
clearWavFilesList(): void;
|
|
232
232
|
getWavFilesList(): Array<Uint8Array | string>;
|
|
233
233
|
getWavFilesList_asU8(): Array<Uint8Array>;
|
|
234
234
|
getWavFilesList_asB64(): Array<string>;
|
|
235
|
-
setWavFilesList(value: Array<Uint8Array | string>):
|
|
235
|
+
setWavFilesList(value: Array<Uint8Array | string>): SipPlayWavFilesRequest;
|
|
236
236
|
addWavFiles(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
237
237
|
|
|
238
238
|
serializeBinary(): Uint8Array;
|
|
239
|
-
toObject(includeInstance?: boolean):
|
|
240
|
-
static toObject(includeInstance: boolean, msg:
|
|
239
|
+
toObject(includeInstance?: boolean): SipPlayWavFilesRequest.AsObject;
|
|
240
|
+
static toObject(includeInstance: boolean, msg: SipPlayWavFilesRequest): SipPlayWavFilesRequest.AsObject;
|
|
241
241
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
242
242
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
243
|
-
static serializeBinaryToWriter(message:
|
|
244
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
245
|
-
static deserializeBinaryFromReader(message:
|
|
243
|
+
static serializeBinaryToWriter(message: SipPlayWavFilesRequest, writer: jspb.BinaryWriter): void;
|
|
244
|
+
static deserializeBinary(bytes: Uint8Array): SipPlayWavFilesRequest;
|
|
245
|
+
static deserializeBinaryFromReader(message: SipPlayWavFilesRequest, reader: jspb.BinaryReader): SipPlayWavFilesRequest;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
export namespace
|
|
248
|
+
export namespace SipPlayWavFilesRequest {
|
|
249
249
|
export type AsObject = {
|
|
250
250
|
wavFilesList: Array<Uint8Array | string>,
|
|
251
251
|
}
|