@ondewo/nlu-client-typescript 5.0.0 → 6.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.
- package/api/google/api/annotations_pb.d.ts +2 -2
- package/api/google/api/annotations_pb.js +7 -1
- package/api/google/protobuf/any_pb.js +9 -3
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/field_mask_pb.js +8 -2
- package/api/google/protobuf/struct_pb.js +17 -10
- package/api/google/protobuf/timestamp_pb.js +9 -3
- package/api/google/rpc/status_pb.d.ts +1 -1
- package/api/google/rpc/status_pb.js +10 -4
- package/api/google/type/latlng_pb.js +9 -3
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
- package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
- package/api/ondewo/nlu/agent_pb.d.ts +31 -12
- package/api/ondewo/nlu/agent_pb.js +507 -326
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
- package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
- package/api/ondewo/nlu/aiservices_pb.js +1715 -135
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
- package/api/ondewo/nlu/ccai_project_pb.d.ts +100 -5
- package/api/ondewo/nlu/ccai_project_pb.js +448 -67
- package/api/ondewo/nlu/common_pb.d.ts +27 -27
- package/api/ondewo/nlu/common_pb.js +100 -94
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/context_pb.d.ts +4 -4
- package/api/ondewo/nlu/context_pb.js +36 -29
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
- package/api/ondewo/nlu/entity_type_pb.js +88 -82
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/intent_pb.d.ts +8 -8
- package/api/ondewo/nlu/intent_pb.js +251 -245
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
- package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/operations_pb.d.ts +6 -6
- package/api/ondewo/nlu/operations_pb.js +28 -22
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_role_pb.js +32 -26
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_statistics_pb.js +14 -8
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_pb.js +8 -2
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
- package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
- package/api/ondewo/nlu/session_pb.d.ts +324 -24
- package/api/ondewo/nlu/session_pb.js +8251 -5782
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/user_pb.d.ts +12 -6
- package/api/ondewo/nlu/user_pb.js +131 -73
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
- package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/utility_pb.d.ts +2 -2
- package/api/ondewo/nlu/utility_pb.js +86 -80
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
- package/api/ondewo/nlu/webhook_pb.js +38 -32
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
- package/api/ondewo/qa/qa_pb.d.ts +3 -3
- package/api/ondewo/qa/qa_pb.js +31 -25
- package/package.json +36 -16
- package/public-api.js +40 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
6
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
5
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
6
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class Context extends jspb.Message {
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
17
23
|
|
|
18
24
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -253,14 +259,14 @@ proto.ondewo.nlu.Context.prototype.toObject = function(opt_includeInstance) {
|
|
|
253
259
|
*/
|
|
254
260
|
proto.ondewo.nlu.Context.toObject = function(includeInstance, msg) {
|
|
255
261
|
var f, obj = {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
263
|
+
lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
264
|
+
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject) : [],
|
|
265
|
+
lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
266
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
267
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
268
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
269
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
264
270
|
};
|
|
265
271
|
|
|
266
272
|
if (includeInstance) {
|
|
@@ -452,14 +458,14 @@ proto.ondewo.nlu.Context.Parameter.prototype.toObject = function(opt_includeInst
|
|
|
452
458
|
*/
|
|
453
459
|
proto.ondewo.nlu.Context.Parameter.toObject = function(includeInstance, msg) {
|
|
454
460
|
var f, obj = {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
461
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
462
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
463
|
+
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
464
|
+
valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
465
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
466
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
467
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
468
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
463
469
|
};
|
|
464
470
|
|
|
465
471
|
if (includeInstance) {
|
|
@@ -857,7 +863,8 @@ proto.ondewo.nlu.Context.prototype.getParametersMap = function(opt_noLazyCreate)
|
|
|
857
863
|
*/
|
|
858
864
|
proto.ondewo.nlu.Context.prototype.clearParametersMap = function() {
|
|
859
865
|
this.getParametersMap().clear();
|
|
860
|
-
return this;
|
|
866
|
+
return this;
|
|
867
|
+
};
|
|
861
868
|
|
|
862
869
|
|
|
863
870
|
/**
|
|
@@ -1020,8 +1027,8 @@ proto.ondewo.nlu.ListContextsRequest.prototype.toObject = function(opt_includeIn
|
|
|
1020
1027
|
*/
|
|
1021
1028
|
proto.ondewo.nlu.ListContextsRequest.toObject = function(includeInstance, msg) {
|
|
1022
1029
|
var f, obj = {
|
|
1023
|
-
|
|
1024
|
-
|
|
1030
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1031
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1025
1032
|
};
|
|
1026
1033
|
|
|
1027
1034
|
if (includeInstance) {
|
|
@@ -1187,9 +1194,9 @@ proto.ondewo.nlu.ListContextsResponse.prototype.toObject = function(opt_includeI
|
|
|
1187
1194
|
*/
|
|
1188
1195
|
proto.ondewo.nlu.ListContextsResponse.toObject = function(includeInstance, msg) {
|
|
1189
1196
|
var f, obj = {
|
|
1190
|
-
|
|
1197
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
1191
1198
|
proto.ondewo.nlu.Context.toObject, includeInstance),
|
|
1192
|
-
|
|
1199
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1193
1200
|
};
|
|
1194
1201
|
|
|
1195
1202
|
if (includeInstance) {
|
|
@@ -1370,7 +1377,7 @@ proto.ondewo.nlu.GetContextRequest.prototype.toObject = function(opt_includeInst
|
|
|
1370
1377
|
*/
|
|
1371
1378
|
proto.ondewo.nlu.GetContextRequest.toObject = function(includeInstance, msg) {
|
|
1372
1379
|
var f, obj = {
|
|
1373
|
-
|
|
1380
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1374
1381
|
};
|
|
1375
1382
|
|
|
1376
1383
|
if (includeInstance) {
|
|
@@ -1500,8 +1507,8 @@ proto.ondewo.nlu.CreateContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1500
1507
|
*/
|
|
1501
1508
|
proto.ondewo.nlu.CreateContextRequest.toObject = function(includeInstance, msg) {
|
|
1502
1509
|
var f, obj = {
|
|
1503
|
-
|
|
1504
|
-
|
|
1510
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1511
|
+
context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f)
|
|
1505
1512
|
};
|
|
1506
1513
|
|
|
1507
1514
|
if (includeInstance) {
|
|
@@ -1681,8 +1688,8 @@ proto.ondewo.nlu.UpdateContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1681
1688
|
*/
|
|
1682
1689
|
proto.ondewo.nlu.UpdateContextRequest.toObject = function(includeInstance, msg) {
|
|
1683
1690
|
var f, obj = {
|
|
1684
|
-
|
|
1685
|
-
|
|
1691
|
+
context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f),
|
|
1692
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1686
1693
|
};
|
|
1687
1694
|
|
|
1688
1695
|
if (includeInstance) {
|
|
@@ -1883,7 +1890,7 @@ proto.ondewo.nlu.DeleteContextRequest.prototype.toObject = function(opt_includeI
|
|
|
1883
1890
|
*/
|
|
1884
1891
|
proto.ondewo.nlu.DeleteContextRequest.toObject = function(includeInstance, msg) {
|
|
1885
1892
|
var f, obj = {
|
|
1886
|
-
|
|
1893
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1887
1894
|
};
|
|
1888
1895
|
|
|
1889
1896
|
if (includeInstance) {
|
|
@@ -2013,7 +2020,7 @@ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.toObject = function(opt_incl
|
|
|
2013
2020
|
*/
|
|
2014
2021
|
proto.ondewo.nlu.DeleteAllContextsRequest.toObject = function(includeInstance, msg) {
|
|
2015
2022
|
var f, obj = {
|
|
2016
|
-
|
|
2023
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2017
2024
|
};
|
|
2018
2025
|
|
|
2019
2026
|
if (includeInstance) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as grpcWeb from 'grpc-web';
|
|
2
2
|
|
|
3
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
|
-
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
|
|
5
|
-
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb'; // proto import: "ondewo/nlu/entity_type.proto"
|
|
5
|
+
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export class EntityTypesClient {
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.27.3
|
|
11
|
+
// source: ondewo/nlu/entity_type.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -52,7 +56,7 @@ proto.ondewo.nlu.EntityTypesClient =
|
|
|
52
56
|
/**
|
|
53
57
|
* @private @const {string} The hostname
|
|
54
58
|
*/
|
|
55
|
-
this.hostname_ = hostname;
|
|
59
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
56
60
|
|
|
57
61
|
};
|
|
58
62
|
|
|
@@ -78,7 +82,7 @@ proto.ondewo.nlu.EntityTypesPromiseClient =
|
|
|
78
82
|
/**
|
|
79
83
|
* @private @const {string} The hostname
|
|
80
84
|
*/
|
|
81
|
-
this.hostname_ = hostname;
|
|
85
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
82
86
|
|
|
83
87
|
};
|
|
84
88
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
6
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
7
|
-
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
8
|
-
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
5
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
6
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
7
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
|
|
8
|
+
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
export class EntityType extends jspb.Message {
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
17
23
|
|
|
18
24
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -692,20 +698,20 @@ proto.ondewo.nlu.EntityType.prototype.toObject = function(opt_includeInstance) {
|
|
|
692
698
|
*/
|
|
693
699
|
proto.ondewo.nlu.EntityType.toObject = function(includeInstance, msg) {
|
|
694
700
|
var f, obj = {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
701
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
702
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
703
|
+
kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
704
|
+
autoExpansionMode: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
705
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
700
706
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance),
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
707
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
708
|
+
entityCount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
709
|
+
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
710
|
+
synonymCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
711
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
712
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
713
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
714
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
709
715
|
};
|
|
710
716
|
|
|
711
717
|
if (includeInstance) {
|
|
@@ -987,16 +993,16 @@ proto.ondewo.nlu.EntityType.Entity.prototype.toObject = function(opt_includeInst
|
|
|
987
993
|
*/
|
|
988
994
|
proto.ondewo.nlu.EntityType.Entity.toObject = function(includeInstance, msg) {
|
|
989
995
|
var f, obj = {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
996
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
997
|
+
synonymsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
998
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
999
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1000
|
+
synonymCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1001
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1002
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1003
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1004
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1005
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1000
1006
|
};
|
|
1001
1007
|
|
|
1002
1008
|
if (includeInstance) {
|
|
@@ -1740,12 +1746,12 @@ proto.ondewo.nlu.ListEntityTypesRequest.prototype.toObject = function(opt_includ
|
|
|
1740
1746
|
*/
|
|
1741
1747
|
proto.ondewo.nlu.ListEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
1742
1748
|
var f, obj = {
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1750
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1751
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1752
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1753
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1754
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.EntityTypeSorting.toObject(includeInstance, f)
|
|
1749
1755
|
};
|
|
1750
1756
|
|
|
1751
1757
|
if (includeInstance) {
|
|
@@ -2048,9 +2054,9 @@ proto.ondewo.nlu.ListEntityTypesResponse.prototype.toObject = function(opt_inclu
|
|
|
2048
2054
|
*/
|
|
2049
2055
|
proto.ondewo.nlu.ListEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
2050
2056
|
var f, obj = {
|
|
2051
|
-
|
|
2057
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
2052
2058
|
proto.ondewo.nlu.EntityType.toObject, includeInstance),
|
|
2053
|
-
|
|
2059
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2054
2060
|
};
|
|
2055
2061
|
|
|
2056
2062
|
if (includeInstance) {
|
|
@@ -2231,10 +2237,10 @@ proto.ondewo.nlu.GetEntityTypeRequest.prototype.toObject = function(opt_includeI
|
|
|
2231
2237
|
*/
|
|
2232
2238
|
proto.ondewo.nlu.GetEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2233
2239
|
var f, obj = {
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2240
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2241
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2242
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2243
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2238
2244
|
};
|
|
2239
2245
|
|
|
2240
2246
|
if (includeInstance) {
|
|
@@ -2451,10 +2457,10 @@ proto.ondewo.nlu.CreateEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2451
2457
|
*/
|
|
2452
2458
|
proto.ondewo.nlu.CreateEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2453
2459
|
var f, obj = {
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2460
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2461
|
+
entityType: (f = msg.getEntityType()) && proto.ondewo.nlu.EntityType.toObject(includeInstance, f),
|
|
2462
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2463
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2458
2464
|
};
|
|
2459
2465
|
|
|
2460
2466
|
if (includeInstance) {
|
|
@@ -2692,10 +2698,10 @@ proto.ondewo.nlu.UpdateEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2692
2698
|
*/
|
|
2693
2699
|
proto.ondewo.nlu.UpdateEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2694
2700
|
var f, obj = {
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2701
|
+
entityType: (f = msg.getEntityType()) && proto.ondewo.nlu.EntityType.toObject(includeInstance, f),
|
|
2702
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2703
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
2704
|
+
entityTypeView: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2699
2705
|
};
|
|
2700
2706
|
|
|
2701
2707
|
if (includeInstance) {
|
|
@@ -2954,7 +2960,7 @@ proto.ondewo.nlu.DeleteEntityTypeRequest.prototype.toObject = function(opt_inclu
|
|
|
2954
2960
|
*/
|
|
2955
2961
|
proto.ondewo.nlu.DeleteEntityTypeRequest.toObject = function(includeInstance, msg) {
|
|
2956
2962
|
var f, obj = {
|
|
2957
|
-
|
|
2963
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2958
2964
|
};
|
|
2959
2965
|
|
|
2960
2966
|
if (includeInstance) {
|
|
@@ -3110,11 +3116,11 @@ proto.ondewo.nlu.BatchUpdateEntityTypesRequest.prototype.toObject = function(opt
|
|
|
3110
3116
|
*/
|
|
3111
3117
|
proto.ondewo.nlu.BatchUpdateEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
3112
3118
|
var f, obj = {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3119
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3120
|
+
entityTypeBatchUri: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3121
|
+
entityTypeBatchInline: (f = msg.getEntityTypeBatchInline()) && proto.ondewo.nlu.EntityTypeBatch.toObject(includeInstance, f),
|
|
3122
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3123
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3118
3124
|
};
|
|
3119
3125
|
|
|
3120
3126
|
if (includeInstance) {
|
|
@@ -3427,7 +3433,7 @@ proto.ondewo.nlu.BatchUpdateEntityTypesResponse.prototype.toObject = function(op
|
|
|
3427
3433
|
*/
|
|
3428
3434
|
proto.ondewo.nlu.BatchUpdateEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
3429
3435
|
var f, obj = {
|
|
3430
|
-
|
|
3436
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
3431
3437
|
proto.ondewo.nlu.EntityType.toObject, includeInstance)
|
|
3432
3438
|
};
|
|
3433
3439
|
|
|
@@ -3587,8 +3593,8 @@ proto.ondewo.nlu.BatchDeleteEntityTypesRequest.prototype.toObject = function(opt
|
|
|
3587
3593
|
*/
|
|
3588
3594
|
proto.ondewo.nlu.BatchDeleteEntityTypesRequest.toObject = function(includeInstance, msg) {
|
|
3589
3595
|
var f, obj = {
|
|
3590
|
-
|
|
3591
|
-
|
|
3596
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3597
|
+
entityTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
3592
3598
|
};
|
|
3593
3599
|
|
|
3594
3600
|
if (includeInstance) {
|
|
@@ -3773,7 +3779,7 @@ proto.ondewo.nlu.EntityTypeBatch.prototype.toObject = function(opt_includeInstan
|
|
|
3773
3779
|
*/
|
|
3774
3780
|
proto.ondewo.nlu.EntityTypeBatch.toObject = function(includeInstance, msg) {
|
|
3775
3781
|
var f, obj = {
|
|
3776
|
-
|
|
3782
|
+
entityTypesList: jspb.Message.toObjectList(msg.getEntityTypesList(),
|
|
3777
3783
|
proto.ondewo.nlu.EntityType.toObject, includeInstance)
|
|
3778
3784
|
};
|
|
3779
3785
|
|
|
@@ -3926,8 +3932,8 @@ proto.ondewo.nlu.EntityTypeSorting.prototype.toObject = function(opt_includeInst
|
|
|
3926
3932
|
*/
|
|
3927
3933
|
proto.ondewo.nlu.EntityTypeSorting.toObject = function(includeInstance, msg) {
|
|
3928
3934
|
var f, obj = {
|
|
3929
|
-
|
|
3930
|
-
|
|
3935
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3936
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3931
3937
|
};
|
|
3932
3938
|
|
|
3933
3939
|
if (includeInstance) {
|
|
@@ -4124,8 +4130,8 @@ proto.ondewo.nlu.EntityStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
4124
4130
|
*/
|
|
4125
4131
|
proto.ondewo.nlu.EntityStatus.toObject = function(includeInstance, msg) {
|
|
4126
4132
|
var f, obj = {
|
|
4127
|
-
|
|
4128
|
-
|
|
4133
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f),
|
|
4134
|
+
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
4129
4135
|
};
|
|
4130
4136
|
|
|
4131
4137
|
if (includeInstance) {
|
|
@@ -4330,9 +4336,9 @@ proto.ondewo.nlu.BatchEntitiesResponse.prototype.toObject = function(opt_include
|
|
|
4330
4336
|
*/
|
|
4331
4337
|
proto.ondewo.nlu.BatchEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
4332
4338
|
var f, obj = {
|
|
4333
|
-
|
|
4339
|
+
entityStatusesList: jspb.Message.toObjectList(msg.getEntityStatusesList(),
|
|
4334
4340
|
proto.ondewo.nlu.EntityStatus.toObject, includeInstance),
|
|
4335
|
-
|
|
4341
|
+
hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
4336
4342
|
};
|
|
4337
4343
|
|
|
4338
4344
|
if (includeInstance) {
|
|
@@ -4513,8 +4519,8 @@ proto.ondewo.nlu.CreateEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
4513
4519
|
*/
|
|
4514
4520
|
proto.ondewo.nlu.CreateEntityRequest.toObject = function(includeInstance, msg) {
|
|
4515
4521
|
var f, obj = {
|
|
4516
|
-
|
|
4517
|
-
|
|
4522
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4523
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f)
|
|
4518
4524
|
};
|
|
4519
4525
|
|
|
4520
4526
|
if (includeInstance) {
|
|
@@ -4701,7 +4707,7 @@ proto.ondewo.nlu.BatchCreateEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
4701
4707
|
*/
|
|
4702
4708
|
proto.ondewo.nlu.BatchCreateEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
4703
4709
|
var f, obj = {
|
|
4704
|
-
|
|
4710
|
+
createEntityRequestsList: jspb.Message.toObjectList(msg.getCreateEntityRequestsList(),
|
|
4705
4711
|
proto.ondewo.nlu.CreateEntityRequest.toObject, includeInstance)
|
|
4706
4712
|
};
|
|
4707
4713
|
|
|
@@ -4861,7 +4867,7 @@ proto.ondewo.nlu.BatchUpdateEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
4861
4867
|
*/
|
|
4862
4868
|
proto.ondewo.nlu.BatchUpdateEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
4863
4869
|
var f, obj = {
|
|
4864
|
-
|
|
4870
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
4865
4871
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance)
|
|
4866
4872
|
};
|
|
4867
4873
|
|
|
@@ -5014,7 +5020,7 @@ proto.ondewo.nlu.UpdateEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
5014
5020
|
*/
|
|
5015
5021
|
proto.ondewo.nlu.UpdateEntityRequest.toObject = function(includeInstance, msg) {
|
|
5016
5022
|
var f, obj = {
|
|
5017
|
-
|
|
5023
|
+
entity: (f = msg.getEntity()) && proto.ondewo.nlu.EntityType.Entity.toObject(includeInstance, f)
|
|
5018
5024
|
};
|
|
5019
5025
|
|
|
5020
5026
|
if (includeInstance) {
|
|
@@ -5165,7 +5171,7 @@ proto.ondewo.nlu.GetEntityRequest.prototype.toObject = function(opt_includeInsta
|
|
|
5165
5171
|
*/
|
|
5166
5172
|
proto.ondewo.nlu.GetEntityRequest.toObject = function(includeInstance, msg) {
|
|
5167
5173
|
var f, obj = {
|
|
5168
|
-
|
|
5174
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5169
5175
|
};
|
|
5170
5176
|
|
|
5171
5177
|
if (includeInstance) {
|
|
@@ -5302,7 +5308,7 @@ proto.ondewo.nlu.BatchGetEntitiesRequest.prototype.toObject = function(opt_inclu
|
|
|
5302
5308
|
*/
|
|
5303
5309
|
proto.ondewo.nlu.BatchGetEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
5304
5310
|
var f, obj = {
|
|
5305
|
-
|
|
5311
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5306
5312
|
};
|
|
5307
5313
|
|
|
5308
5314
|
if (includeInstance) {
|
|
@@ -5458,7 +5464,7 @@ proto.ondewo.nlu.BatchDeleteEntitiesRequest.prototype.toObject = function(opt_in
|
|
|
5458
5464
|
*/
|
|
5459
5465
|
proto.ondewo.nlu.BatchDeleteEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
5460
5466
|
var f, obj = {
|
|
5461
|
-
|
|
5467
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5462
5468
|
};
|
|
5463
5469
|
|
|
5464
5470
|
if (includeInstance) {
|
|
@@ -5607,7 +5613,7 @@ proto.ondewo.nlu.DeleteEntityRequest.prototype.toObject = function(opt_includeIn
|
|
|
5607
5613
|
*/
|
|
5608
5614
|
proto.ondewo.nlu.DeleteEntityRequest.toObject = function(includeInstance, msg) {
|
|
5609
5615
|
var f, obj = {
|
|
5610
|
-
|
|
5616
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5611
5617
|
};
|
|
5612
5618
|
|
|
5613
5619
|
if (includeInstance) {
|
|
@@ -5763,8 +5769,8 @@ proto.ondewo.nlu.DeleteEntityStatus.prototype.toObject = function(opt_includeIns
|
|
|
5763
5769
|
*/
|
|
5764
5770
|
proto.ondewo.nlu.DeleteEntityStatus.toObject = function(includeInstance, msg) {
|
|
5765
5771
|
var f, obj = {
|
|
5766
|
-
|
|
5767
|
-
|
|
5772
|
+
successfullyDeleted: (f = msg.getSuccessfullyDeleted()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f),
|
|
5773
|
+
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
5768
5774
|
};
|
|
5769
5775
|
|
|
5770
5776
|
if (includeInstance) {
|
|
@@ -5969,9 +5975,9 @@ proto.ondewo.nlu.BatchDeleteEntitiesResponse.prototype.toObject = function(opt_i
|
|
|
5969
5975
|
*/
|
|
5970
5976
|
proto.ondewo.nlu.BatchDeleteEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
5971
5977
|
var f, obj = {
|
|
5972
|
-
|
|
5978
|
+
deleteStatusesList: jspb.Message.toObjectList(msg.getDeleteStatusesList(),
|
|
5973
5979
|
proto.ondewo.nlu.DeleteEntityStatus.toObject, includeInstance),
|
|
5974
|
-
|
|
5980
|
+
hasErrors: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
5975
5981
|
};
|
|
5976
5982
|
|
|
5977
5983
|
if (includeInstance) {
|
|
@@ -6152,11 +6158,11 @@ proto.ondewo.nlu.ListEntitiesRequest.prototype.toObject = function(opt_includeIn
|
|
|
6152
6158
|
*/
|
|
6153
6159
|
proto.ondewo.nlu.ListEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
6154
6160
|
var f, obj = {
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6161
|
+
entityTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6162
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6163
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6164
|
+
sortByField: (f = msg.getSortByField()) && proto.ondewo.nlu.EntityValueSorting.toObject(includeInstance, f),
|
|
6165
|
+
searchByPattern: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
6160
6166
|
};
|
|
6161
6167
|
|
|
6162
6168
|
if (includeInstance) {
|
|
@@ -6430,9 +6436,9 @@ proto.ondewo.nlu.ListEntitiesResponse.prototype.toObject = function(opt_includeI
|
|
|
6430
6436
|
*/
|
|
6431
6437
|
proto.ondewo.nlu.ListEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
6432
6438
|
var f, obj = {
|
|
6433
|
-
|
|
6439
|
+
entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
|
|
6434
6440
|
proto.ondewo.nlu.EntityType.Entity.toObject, includeInstance),
|
|
6435
|
-
|
|
6441
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6436
6442
|
};
|
|
6437
6443
|
|
|
6438
6444
|
if (includeInstance) {
|
|
@@ -6613,8 +6619,8 @@ proto.ondewo.nlu.EntityValueSorting.prototype.toObject = function(opt_includeIns
|
|
|
6613
6619
|
*/
|
|
6614
6620
|
proto.ondewo.nlu.EntityValueSorting.toObject = function(includeInstance, msg) {
|
|
6615
6621
|
var f, obj = {
|
|
6616
|
-
|
|
6617
|
-
|
|
6622
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
6623
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
6618
6624
|
};
|
|
6619
6625
|
|
|
6620
6626
|
if (includeInstance) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as grpcWeb from 'grpc-web';
|
|
2
2
|
|
|
3
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
|
-
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
5
|
-
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
|
|
5
|
+
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export class IntentsClient {
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.27.3
|
|
11
|
+
// source: ondewo/nlu/intent.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -56,7 +60,7 @@ proto.ondewo.nlu.IntentsClient =
|
|
|
56
60
|
/**
|
|
57
61
|
* @private @const {string} The hostname
|
|
58
62
|
*/
|
|
59
|
-
this.hostname_ = hostname;
|
|
63
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
60
64
|
|
|
61
65
|
};
|
|
62
66
|
|
|
@@ -82,7 +86,7 @@ proto.ondewo.nlu.IntentsPromiseClient =
|
|
|
82
86
|
/**
|
|
83
87
|
* @private @const {string} The hostname
|
|
84
88
|
*/
|
|
85
|
-
this.hostname_ = hostname;
|
|
89
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
86
90
|
|
|
87
91
|
};
|
|
88
92
|
|