@ondewo/sip-client-nodejs 5.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/api/ondewo/sip/sip_pb.d.ts +3 -0
- package/api/ondewo/sip/sip_pb.js +31 -1
- package/package.json +35 -13
|
@@ -153,6 +153,8 @@ export class SipStatus extends jspb.Message {
|
|
|
153
153
|
setExceptionName(value: string): SipStatus;
|
|
154
154
|
getExceptionTraceback(): string;
|
|
155
155
|
setExceptionTraceback(value: string): SipStatus;
|
|
156
|
+
getNluSessionName(): string;
|
|
157
|
+
setNluSessionName(value: string): SipStatus;
|
|
156
158
|
|
|
157
159
|
serializeBinary(): Uint8Array;
|
|
158
160
|
toObject(includeInstance?: boolean): SipStatus.AsObject;
|
|
@@ -176,6 +178,7 @@ export namespace SipStatus {
|
|
|
176
178
|
description: string,
|
|
177
179
|
exceptionName: string,
|
|
178
180
|
exceptionTraceback: string,
|
|
181
|
+
nluSessionName: string,
|
|
179
182
|
}
|
|
180
183
|
|
|
181
184
|
export enum StatusType {
|
package/api/ondewo/sip/sip_pb.js
CHANGED
|
@@ -1078,7 +1078,8 @@ proto.ondewo.sip.SipStatus.toObject = function(includeInstance, msg) {
|
|
|
1078
1078
|
headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1079
1079
|
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1080
1080
|
exceptionName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1081
|
-
exceptionTraceback: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1081
|
+
exceptionTraceback: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1082
|
+
nluSessionName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1082
1083
|
};
|
|
1083
1084
|
|
|
1084
1085
|
if (includeInstance) {
|
|
@@ -1154,6 +1155,10 @@ proto.ondewo.sip.SipStatus.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1154
1155
|
var value = /** @type {string} */ (reader.readString());
|
|
1155
1156
|
msg.setExceptionTraceback(value);
|
|
1156
1157
|
break;
|
|
1158
|
+
case 10:
|
|
1159
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1160
|
+
msg.setNluSessionName(value);
|
|
1161
|
+
break;
|
|
1157
1162
|
default:
|
|
1158
1163
|
reader.skipField();
|
|
1159
1164
|
break;
|
|
@@ -1244,6 +1249,13 @@ proto.ondewo.sip.SipStatus.serializeBinaryToWriter = function(message, writer) {
|
|
|
1244
1249
|
f
|
|
1245
1250
|
);
|
|
1246
1251
|
}
|
|
1252
|
+
f = message.getNluSessionName();
|
|
1253
|
+
if (f.length > 0) {
|
|
1254
|
+
writer.writeString(
|
|
1255
|
+
10,
|
|
1256
|
+
f
|
|
1257
|
+
);
|
|
1258
|
+
}
|
|
1247
1259
|
};
|
|
1248
1260
|
|
|
1249
1261
|
|
|
@@ -1460,6 +1472,24 @@ proto.ondewo.sip.SipStatus.prototype.setExceptionTraceback = function(value) {
|
|
|
1460
1472
|
};
|
|
1461
1473
|
|
|
1462
1474
|
|
|
1475
|
+
/**
|
|
1476
|
+
* optional string nlu_session_name = 10;
|
|
1477
|
+
* @return {string}
|
|
1478
|
+
*/
|
|
1479
|
+
proto.ondewo.sip.SipStatus.prototype.getNluSessionName = function() {
|
|
1480
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* @param {string} value
|
|
1486
|
+
* @return {!proto.ondewo.sip.SipStatus} returns this
|
|
1487
|
+
*/
|
|
1488
|
+
proto.ondewo.sip.SipStatus.prototype.setNluSessionName = function(value) {
|
|
1489
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1463
1493
|
|
|
1464
1494
|
/**
|
|
1465
1495
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
|
@@ -1,15 +1,37 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"name": "@ondewo/sip-client-nodejs",
|
|
3
|
+
"version": "5.2.0",
|
|
4
|
+
"description": "ONDEWO Session Initiation Protocol (SIP) Client library for Nodejs",
|
|
5
|
+
"author": "ONDEWO GmbH <office@ondewo.com>",
|
|
6
|
+
"homepage": "https://ondewo.com",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"ondewo",
|
|
10
|
+
"sip",
|
|
11
|
+
"api",
|
|
12
|
+
"client",
|
|
13
|
+
"nodejs",
|
|
14
|
+
"grpc"
|
|
15
|
+
],
|
|
16
|
+
"main": "public-api.js",
|
|
17
|
+
"typings": "public-api.d.ts",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"directory": "https://github.com/ondewo/ondewo-sip-client-nodejs"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@grpc/grpc-js": "^1.12.2",
|
|
24
|
+
"@types/node": "^20.12.14",
|
|
25
|
+
"dotenv": "^16.4.5",
|
|
26
|
+
"google-protobuf": "3.21.4"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
30
|
+
"@eslint/js": "^9.13.0",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
32
|
+
"eslint": "^9.13.0",
|
|
33
|
+
"global": "^4.4.0",
|
|
34
|
+
"husky": "^9.1.6",
|
|
35
|
+
"prettier": "^3.3.3"
|
|
36
|
+
}
|
|
15
37
|
}
|