@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,7 +1,7 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
4
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
3
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
4
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class StatResponse extends jspb.Message {
|
|
@@ -171,10 +171,10 @@ export namespace Notification {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
export class AddNotificationsRequest extends jspb.Message {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
getNotificationsList(): Array<Notification>;
|
|
175
|
+
setNotificationsList(value: Array<Notification>): AddNotificationsRequest;
|
|
176
|
+
clearNotificationsList(): AddNotificationsRequest;
|
|
177
|
+
addNotifications(value?: Notification, index?: number): Notification;
|
|
178
178
|
|
|
179
179
|
serializeBinary(): Uint8Array;
|
|
180
180
|
toObject(includeInstance?: boolean): AddNotificationsRequest.AsObject;
|
|
@@ -186,15 +186,15 @@ export class AddNotificationsRequest extends jspb.Message {
|
|
|
186
186
|
|
|
187
187
|
export namespace AddNotificationsRequest {
|
|
188
188
|
export type AsObject = {
|
|
189
|
-
|
|
189
|
+
notificationsList: Array<Notification.AsObject>,
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
export class AddNotificationsResponse extends jspb.Message {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
getNotificationsList(): Array<Notification>;
|
|
195
|
+
setNotificationsList(value: Array<Notification>): AddNotificationsResponse;
|
|
196
|
+
clearNotificationsList(): AddNotificationsResponse;
|
|
197
|
+
addNotifications(value?: Notification, index?: number): Notification;
|
|
198
198
|
|
|
199
199
|
serializeBinary(): Uint8Array;
|
|
200
200
|
toObject(includeInstance?: boolean): AddNotificationsResponse.AsObject;
|
|
@@ -206,7 +206,7 @@ export class AddNotificationsResponse extends jspb.Message {
|
|
|
206
206
|
|
|
207
207
|
export namespace AddNotificationsResponse {
|
|
208
208
|
export type AsObject = {
|
|
209
|
-
|
|
209
|
+
notificationsList: Array<Notification.AsObject>,
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
@@ -309,10 +309,10 @@ export namespace ListNotificationsRequest {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
export class ListNotificationsResponse extends jspb.Message {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
312
|
+
getNotificationsList(): Array<Notification>;
|
|
313
|
+
setNotificationsList(value: Array<Notification>): ListNotificationsResponse;
|
|
314
|
+
clearNotificationsList(): ListNotificationsResponse;
|
|
315
|
+
addNotifications(value?: Notification, index?: number): Notification;
|
|
316
316
|
|
|
317
317
|
serializeBinary(): Uint8Array;
|
|
318
318
|
toObject(includeInstance?: boolean): ListNotificationsResponse.AsObject;
|
|
@@ -324,15 +324,15 @@ export class ListNotificationsResponse extends jspb.Message {
|
|
|
324
324
|
|
|
325
325
|
export namespace ListNotificationsResponse {
|
|
326
326
|
export type AsObject = {
|
|
327
|
-
|
|
327
|
+
notificationsList: Array<Notification.AsObject>,
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
export class SetNotificationsFlaggedStatusRequest extends jspb.Message {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
332
|
+
getNotificationNamesList(): Array<string>;
|
|
333
|
+
setNotificationNamesList(value: Array<string>): SetNotificationsFlaggedStatusRequest;
|
|
334
|
+
clearNotificationNamesList(): SetNotificationsFlaggedStatusRequest;
|
|
335
|
+
addNotificationNames(value: string, index?: number): SetNotificationsFlaggedStatusRequest;
|
|
336
336
|
|
|
337
337
|
getFlaggedList(): Array<boolean>;
|
|
338
338
|
setFlaggedList(value: Array<boolean>): SetNotificationsFlaggedStatusRequest;
|
|
@@ -349,16 +349,16 @@ export class SetNotificationsFlaggedStatusRequest extends jspb.Message {
|
|
|
349
349
|
|
|
350
350
|
export namespace SetNotificationsFlaggedStatusRequest {
|
|
351
351
|
export type AsObject = {
|
|
352
|
-
|
|
352
|
+
notificationNamesList: Array<string>,
|
|
353
353
|
flaggedList: Array<boolean>,
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
export class SetNotificationsReadStatusRequest extends jspb.Message {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
358
|
+
getNotificationNamesList(): Array<string>;
|
|
359
|
+
setNotificationNamesList(value: Array<string>): SetNotificationsReadStatusRequest;
|
|
360
|
+
clearNotificationNamesList(): SetNotificationsReadStatusRequest;
|
|
361
|
+
addNotificationNames(value: string, index?: number): SetNotificationsReadStatusRequest;
|
|
362
362
|
|
|
363
363
|
getFlaggedList(): Array<boolean>;
|
|
364
364
|
setFlaggedList(value: Array<boolean>): SetNotificationsReadStatusRequest;
|
|
@@ -375,7 +375,7 @@ export class SetNotificationsReadStatusRequest extends jspb.Message {
|
|
|
375
375
|
|
|
376
376
|
export namespace SetNotificationsReadStatusRequest {
|
|
377
377
|
export type AsObject = {
|
|
378
|
-
|
|
378
|
+
notificationNamesList: Array<string>,
|
|
379
379
|
flaggedList: Array<boolean>,
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -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_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
@@ -300,7 +306,7 @@ proto.ondewo.nlu.StatResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
300
306
|
*/
|
|
301
307
|
proto.ondewo.nlu.StatResponse.toObject = function(includeInstance, msg) {
|
|
302
308
|
var f, obj = {
|
|
303
|
-
|
|
309
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
304
310
|
};
|
|
305
311
|
|
|
306
312
|
if (includeInstance) {
|
|
@@ -430,15 +436,15 @@ proto.ondewo.nlu.Comment.prototype.toObject = function(opt_includeInstance) {
|
|
|
430
436
|
*/
|
|
431
437
|
proto.ondewo.nlu.Comment.toObject = function(includeInstance, msg) {
|
|
432
438
|
var f, obj = {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
439
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
440
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
441
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
442
|
+
commentAboutName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
443
|
+
parentCommentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
444
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
445
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
446
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
447
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
442
448
|
};
|
|
443
449
|
|
|
444
450
|
if (includeInstance) {
|
|
@@ -842,24 +848,24 @@ proto.ondewo.nlu.Notification.prototype.toObject = function(opt_includeInstance)
|
|
|
842
848
|
*/
|
|
843
849
|
proto.ondewo.nlu.Notification.toObject = function(includeInstance, msg) {
|
|
844
850
|
var f, obj = {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
851
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
852
|
+
userName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
853
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
854
|
+
descriptionShort: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
855
|
+
descriptionLong: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
856
|
+
notificationFlaggedStatus: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
857
|
+
notificationFlaggedTimestamp: (f = msg.getNotificationFlaggedTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
858
|
+
notificationReadStatus: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
859
|
+
notificationReadTimestamp: (f = msg.getNotificationReadTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
860
|
+
notificationOrigin: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
861
|
+
originName: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
862
|
+
originLanguage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
863
|
+
notificationType: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
864
|
+
notificationVisibility: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
865
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
866
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
867
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
868
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
863
869
|
};
|
|
864
870
|
|
|
865
871
|
if (includeInstance) {
|
|
@@ -1573,7 +1579,7 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.toObject = function(opt_inclu
|
|
|
1573
1579
|
*/
|
|
1574
1580
|
proto.ondewo.nlu.AddNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
1575
1581
|
var f, obj = {
|
|
1576
|
-
|
|
1582
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
1577
1583
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
1578
1584
|
};
|
|
1579
1585
|
|
|
@@ -1614,7 +1620,7 @@ proto.ondewo.nlu.AddNotificationsRequest.deserializeBinaryFromReader = function(
|
|
|
1614
1620
|
case 1:
|
|
1615
1621
|
var value = new proto.ondewo.nlu.Notification;
|
|
1616
1622
|
reader.readMessage(value,proto.ondewo.nlu.Notification.deserializeBinaryFromReader);
|
|
1617
|
-
msg.
|
|
1623
|
+
msg.addNotifications(value);
|
|
1618
1624
|
break;
|
|
1619
1625
|
default:
|
|
1620
1626
|
reader.skipField();
|
|
@@ -1645,7 +1651,7 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.serializeBinary = function()
|
|
|
1645
1651
|
*/
|
|
1646
1652
|
proto.ondewo.nlu.AddNotificationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1647
1653
|
var f = undefined;
|
|
1648
|
-
f = message.
|
|
1654
|
+
f = message.getNotificationsList();
|
|
1649
1655
|
if (f.length > 0) {
|
|
1650
1656
|
writer.writeRepeatedMessage(
|
|
1651
1657
|
1,
|
|
@@ -1657,10 +1663,10 @@ proto.ondewo.nlu.AddNotificationsRequest.serializeBinaryToWriter = function(mess
|
|
|
1657
1663
|
|
|
1658
1664
|
|
|
1659
1665
|
/**
|
|
1660
|
-
* repeated Notification
|
|
1666
|
+
* repeated Notification notifications = 1;
|
|
1661
1667
|
* @return {!Array<!proto.ondewo.nlu.Notification>}
|
|
1662
1668
|
*/
|
|
1663
|
-
proto.ondewo.nlu.AddNotificationsRequest.prototype.
|
|
1669
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.getNotificationsList = function() {
|
|
1664
1670
|
return /** @type{!Array<!proto.ondewo.nlu.Notification>} */ (
|
|
1665
1671
|
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Notification, 1));
|
|
1666
1672
|
};
|
|
@@ -1670,7 +1676,7 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.getNotificationList = functio
|
|
|
1670
1676
|
* @param {!Array<!proto.ondewo.nlu.Notification>} value
|
|
1671
1677
|
* @return {!proto.ondewo.nlu.AddNotificationsRequest} returns this
|
|
1672
1678
|
*/
|
|
1673
|
-
proto.ondewo.nlu.AddNotificationsRequest.prototype.
|
|
1679
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.setNotificationsList = function(value) {
|
|
1674
1680
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1675
1681
|
};
|
|
1676
1682
|
|
|
@@ -1680,7 +1686,7 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.setNotificationList = functio
|
|
|
1680
1686
|
* @param {number=} opt_index
|
|
1681
1687
|
* @return {!proto.ondewo.nlu.Notification}
|
|
1682
1688
|
*/
|
|
1683
|
-
proto.ondewo.nlu.AddNotificationsRequest.prototype.
|
|
1689
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.addNotifications = function(opt_value, opt_index) {
|
|
1684
1690
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Notification, opt_index);
|
|
1685
1691
|
};
|
|
1686
1692
|
|
|
@@ -1689,8 +1695,8 @@ proto.ondewo.nlu.AddNotificationsRequest.prototype.addNotification = function(op
|
|
|
1689
1695
|
* Clears the list making it empty but non-null.
|
|
1690
1696
|
* @return {!proto.ondewo.nlu.AddNotificationsRequest} returns this
|
|
1691
1697
|
*/
|
|
1692
|
-
proto.ondewo.nlu.AddNotificationsRequest.prototype.
|
|
1693
|
-
return this.
|
|
1698
|
+
proto.ondewo.nlu.AddNotificationsRequest.prototype.clearNotificationsList = function() {
|
|
1699
|
+
return this.setNotificationsList([]);
|
|
1694
1700
|
};
|
|
1695
1701
|
|
|
1696
1702
|
|
|
@@ -1733,7 +1739,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.toObject = function(opt_incl
|
|
|
1733
1739
|
*/
|
|
1734
1740
|
proto.ondewo.nlu.AddNotificationsResponse.toObject = function(includeInstance, msg) {
|
|
1735
1741
|
var f, obj = {
|
|
1736
|
-
|
|
1742
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
1737
1743
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
1738
1744
|
};
|
|
1739
1745
|
|
|
@@ -1774,7 +1780,7 @@ proto.ondewo.nlu.AddNotificationsResponse.deserializeBinaryFromReader = function
|
|
|
1774
1780
|
case 1:
|
|
1775
1781
|
var value = new proto.ondewo.nlu.Notification;
|
|
1776
1782
|
reader.readMessage(value,proto.ondewo.nlu.Notification.deserializeBinaryFromReader);
|
|
1777
|
-
msg.
|
|
1783
|
+
msg.addNotifications(value);
|
|
1778
1784
|
break;
|
|
1779
1785
|
default:
|
|
1780
1786
|
reader.skipField();
|
|
@@ -1805,7 +1811,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.serializeBinary = function()
|
|
|
1805
1811
|
*/
|
|
1806
1812
|
proto.ondewo.nlu.AddNotificationsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1807
1813
|
var f = undefined;
|
|
1808
|
-
f = message.
|
|
1814
|
+
f = message.getNotificationsList();
|
|
1809
1815
|
if (f.length > 0) {
|
|
1810
1816
|
writer.writeRepeatedMessage(
|
|
1811
1817
|
1,
|
|
@@ -1817,10 +1823,10 @@ proto.ondewo.nlu.AddNotificationsResponse.serializeBinaryToWriter = function(mes
|
|
|
1817
1823
|
|
|
1818
1824
|
|
|
1819
1825
|
/**
|
|
1820
|
-
* repeated Notification
|
|
1826
|
+
* repeated Notification notifications = 1;
|
|
1821
1827
|
* @return {!Array<!proto.ondewo.nlu.Notification>}
|
|
1822
1828
|
*/
|
|
1823
|
-
proto.ondewo.nlu.AddNotificationsResponse.prototype.
|
|
1829
|
+
proto.ondewo.nlu.AddNotificationsResponse.prototype.getNotificationsList = function() {
|
|
1824
1830
|
return /** @type{!Array<!proto.ondewo.nlu.Notification>} */ (
|
|
1825
1831
|
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Notification, 1));
|
|
1826
1832
|
};
|
|
@@ -1830,7 +1836,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.getNotificationList = functi
|
|
|
1830
1836
|
* @param {!Array<!proto.ondewo.nlu.Notification>} value
|
|
1831
1837
|
* @return {!proto.ondewo.nlu.AddNotificationsResponse} returns this
|
|
1832
1838
|
*/
|
|
1833
|
-
proto.ondewo.nlu.AddNotificationsResponse.prototype.
|
|
1839
|
+
proto.ondewo.nlu.AddNotificationsResponse.prototype.setNotificationsList = function(value) {
|
|
1834
1840
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1835
1841
|
};
|
|
1836
1842
|
|
|
@@ -1840,7 +1846,7 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.setNotificationList = functi
|
|
|
1840
1846
|
* @param {number=} opt_index
|
|
1841
1847
|
* @return {!proto.ondewo.nlu.Notification}
|
|
1842
1848
|
*/
|
|
1843
|
-
proto.ondewo.nlu.AddNotificationsResponse.prototype.
|
|
1849
|
+
proto.ondewo.nlu.AddNotificationsResponse.prototype.addNotifications = function(opt_value, opt_index) {
|
|
1844
1850
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Notification, opt_index);
|
|
1845
1851
|
};
|
|
1846
1852
|
|
|
@@ -1849,8 +1855,8 @@ proto.ondewo.nlu.AddNotificationsResponse.prototype.addNotification = function(o
|
|
|
1849
1855
|
* Clears the list making it empty but non-null.
|
|
1850
1856
|
* @return {!proto.ondewo.nlu.AddNotificationsResponse} returns this
|
|
1851
1857
|
*/
|
|
1852
|
-
proto.ondewo.nlu.AddNotificationsResponse.prototype.
|
|
1853
|
-
return this.
|
|
1858
|
+
proto.ondewo.nlu.AddNotificationsResponse.prototype.clearNotificationsList = function() {
|
|
1859
|
+
return this.setNotificationsList([]);
|
|
1854
1860
|
};
|
|
1855
1861
|
|
|
1856
1862
|
|
|
@@ -1893,15 +1899,15 @@ proto.ondewo.nlu.NotificationFilter.prototype.toObject = function(opt_includeIns
|
|
|
1893
1899
|
*/
|
|
1894
1900
|
proto.ondewo.nlu.NotificationFilter.toObject = function(includeInstance, msg) {
|
|
1895
1901
|
var f, obj = {
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1902
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1903
|
+
notificationOriginsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1904
|
+
notificationVisibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1905
|
+
notificationFlaggedStatusList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
1906
|
+
notificationReadStatusList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
1907
|
+
earliest: (f = msg.getEarliest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1908
|
+
latest: (f = msg.getLatest()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1909
|
+
userNamesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
1910
|
+
originNamesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
1905
1911
|
};
|
|
1906
1912
|
|
|
1907
1913
|
if (includeInstance) {
|
|
@@ -2446,9 +2452,9 @@ proto.ondewo.nlu.ListNotificationsRequest.prototype.toObject = function(opt_incl
|
|
|
2446
2452
|
*/
|
|
2447
2453
|
proto.ondewo.nlu.ListNotificationsRequest.toObject = function(includeInstance, msg) {
|
|
2448
2454
|
var f, obj = {
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2455
|
+
notificationFilter: (f = msg.getNotificationFilter()) && proto.ondewo.nlu.NotificationFilter.toObject(includeInstance, f),
|
|
2456
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2457
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2452
2458
|
};
|
|
2453
2459
|
|
|
2454
2460
|
if (includeInstance) {
|
|
@@ -2685,7 +2691,7 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.toObject = function(opt_inc
|
|
|
2685
2691
|
*/
|
|
2686
2692
|
proto.ondewo.nlu.ListNotificationsResponse.toObject = function(includeInstance, msg) {
|
|
2687
2693
|
var f, obj = {
|
|
2688
|
-
|
|
2694
|
+
notificationsList: jspb.Message.toObjectList(msg.getNotificationsList(),
|
|
2689
2695
|
proto.ondewo.nlu.Notification.toObject, includeInstance)
|
|
2690
2696
|
};
|
|
2691
2697
|
|
|
@@ -2726,7 +2732,7 @@ proto.ondewo.nlu.ListNotificationsResponse.deserializeBinaryFromReader = functio
|
|
|
2726
2732
|
case 1:
|
|
2727
2733
|
var value = new proto.ondewo.nlu.Notification;
|
|
2728
2734
|
reader.readMessage(value,proto.ondewo.nlu.Notification.deserializeBinaryFromReader);
|
|
2729
|
-
msg.
|
|
2735
|
+
msg.addNotifications(value);
|
|
2730
2736
|
break;
|
|
2731
2737
|
default:
|
|
2732
2738
|
reader.skipField();
|
|
@@ -2757,7 +2763,7 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.serializeBinary = function(
|
|
|
2757
2763
|
*/
|
|
2758
2764
|
proto.ondewo.nlu.ListNotificationsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2759
2765
|
var f = undefined;
|
|
2760
|
-
f = message.
|
|
2766
|
+
f = message.getNotificationsList();
|
|
2761
2767
|
if (f.length > 0) {
|
|
2762
2768
|
writer.writeRepeatedMessage(
|
|
2763
2769
|
1,
|
|
@@ -2769,10 +2775,10 @@ proto.ondewo.nlu.ListNotificationsResponse.serializeBinaryToWriter = function(me
|
|
|
2769
2775
|
|
|
2770
2776
|
|
|
2771
2777
|
/**
|
|
2772
|
-
* repeated Notification
|
|
2778
|
+
* repeated Notification notifications = 1;
|
|
2773
2779
|
* @return {!Array<!proto.ondewo.nlu.Notification>}
|
|
2774
2780
|
*/
|
|
2775
|
-
proto.ondewo.nlu.ListNotificationsResponse.prototype.
|
|
2781
|
+
proto.ondewo.nlu.ListNotificationsResponse.prototype.getNotificationsList = function() {
|
|
2776
2782
|
return /** @type{!Array<!proto.ondewo.nlu.Notification>} */ (
|
|
2777
2783
|
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Notification, 1));
|
|
2778
2784
|
};
|
|
@@ -2782,7 +2788,7 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.getNotificationList = funct
|
|
|
2782
2788
|
* @param {!Array<!proto.ondewo.nlu.Notification>} value
|
|
2783
2789
|
* @return {!proto.ondewo.nlu.ListNotificationsResponse} returns this
|
|
2784
2790
|
*/
|
|
2785
|
-
proto.ondewo.nlu.ListNotificationsResponse.prototype.
|
|
2791
|
+
proto.ondewo.nlu.ListNotificationsResponse.prototype.setNotificationsList = function(value) {
|
|
2786
2792
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2787
2793
|
};
|
|
2788
2794
|
|
|
@@ -2792,7 +2798,7 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.setNotificationList = funct
|
|
|
2792
2798
|
* @param {number=} opt_index
|
|
2793
2799
|
* @return {!proto.ondewo.nlu.Notification}
|
|
2794
2800
|
*/
|
|
2795
|
-
proto.ondewo.nlu.ListNotificationsResponse.prototype.
|
|
2801
|
+
proto.ondewo.nlu.ListNotificationsResponse.prototype.addNotifications = function(opt_value, opt_index) {
|
|
2796
2802
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Notification, opt_index);
|
|
2797
2803
|
};
|
|
2798
2804
|
|
|
@@ -2801,8 +2807,8 @@ proto.ondewo.nlu.ListNotificationsResponse.prototype.addNotification = function(
|
|
|
2801
2807
|
* Clears the list making it empty but non-null.
|
|
2802
2808
|
* @return {!proto.ondewo.nlu.ListNotificationsResponse} returns this
|
|
2803
2809
|
*/
|
|
2804
|
-
proto.ondewo.nlu.ListNotificationsResponse.prototype.
|
|
2805
|
-
return this.
|
|
2810
|
+
proto.ondewo.nlu.ListNotificationsResponse.prototype.clearNotificationsList = function() {
|
|
2811
|
+
return this.setNotificationsList([]);
|
|
2806
2812
|
};
|
|
2807
2813
|
|
|
2808
2814
|
|
|
@@ -2845,8 +2851,8 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.toObject = funct
|
|
|
2845
2851
|
*/
|
|
2846
2852
|
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.toObject = function(includeInstance, msg) {
|
|
2847
2853
|
var f, obj = {
|
|
2848
|
-
|
|
2849
|
-
|
|
2854
|
+
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2855
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
2850
2856
|
};
|
|
2851
2857
|
|
|
2852
2858
|
if (includeInstance) {
|
|
@@ -2885,7 +2891,7 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.deserializeBinaryFromReade
|
|
|
2885
2891
|
switch (field) {
|
|
2886
2892
|
case 1:
|
|
2887
2893
|
var value = /** @type {string} */ (reader.readString());
|
|
2888
|
-
msg.
|
|
2894
|
+
msg.addNotificationNames(value);
|
|
2889
2895
|
break;
|
|
2890
2896
|
case 2:
|
|
2891
2897
|
var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
|
|
@@ -2922,7 +2928,7 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.serializeBinary
|
|
|
2922
2928
|
*/
|
|
2923
2929
|
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2924
2930
|
var f = undefined;
|
|
2925
|
-
f = message.
|
|
2931
|
+
f = message.getNotificationNamesList();
|
|
2926
2932
|
if (f.length > 0) {
|
|
2927
2933
|
writer.writeRepeatedString(
|
|
2928
2934
|
1,
|
|
@@ -2940,10 +2946,10 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.serializeBinaryToWriter =
|
|
|
2940
2946
|
|
|
2941
2947
|
|
|
2942
2948
|
/**
|
|
2943
|
-
* repeated string
|
|
2949
|
+
* repeated string notification_names = 1;
|
|
2944
2950
|
* @return {!Array<string>}
|
|
2945
2951
|
*/
|
|
2946
|
-
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.
|
|
2952
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.getNotificationNamesList = function() {
|
|
2947
2953
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2948
2954
|
};
|
|
2949
2955
|
|
|
@@ -2952,7 +2958,7 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.getNotificationN
|
|
|
2952
2958
|
* @param {!Array<string>} value
|
|
2953
2959
|
* @return {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} returns this
|
|
2954
2960
|
*/
|
|
2955
|
-
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.
|
|
2961
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.setNotificationNamesList = function(value) {
|
|
2956
2962
|
return jspb.Message.setField(this, 1, value || []);
|
|
2957
2963
|
};
|
|
2958
2964
|
|
|
@@ -2962,7 +2968,7 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.setNotificationN
|
|
|
2962
2968
|
* @param {number=} opt_index
|
|
2963
2969
|
* @return {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} returns this
|
|
2964
2970
|
*/
|
|
2965
|
-
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.
|
|
2971
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.addNotificationNames = function(value, opt_index) {
|
|
2966
2972
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2967
2973
|
};
|
|
2968
2974
|
|
|
@@ -2971,8 +2977,8 @@ proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.addNotificationN
|
|
|
2971
2977
|
* Clears the list making it empty but non-null.
|
|
2972
2978
|
* @return {!proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest} returns this
|
|
2973
2979
|
*/
|
|
2974
|
-
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.
|
|
2975
|
-
return this.
|
|
2980
|
+
proto.ondewo.nlu.SetNotificationsFlaggedStatusRequest.prototype.clearNotificationNamesList = function() {
|
|
2981
|
+
return this.setNotificationNamesList([]);
|
|
2976
2982
|
};
|
|
2977
2983
|
|
|
2978
2984
|
|
|
@@ -3052,8 +3058,8 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.toObject = function
|
|
|
3052
3058
|
*/
|
|
3053
3059
|
proto.ondewo.nlu.SetNotificationsReadStatusRequest.toObject = function(includeInstance, msg) {
|
|
3054
3060
|
var f, obj = {
|
|
3055
|
-
|
|
3056
|
-
|
|
3061
|
+
notificationNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
3062
|
+
flaggedList: (f = jspb.Message.getRepeatedBooleanField(msg, 2)) == null ? undefined : f
|
|
3057
3063
|
};
|
|
3058
3064
|
|
|
3059
3065
|
if (includeInstance) {
|
|
@@ -3092,7 +3098,7 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.deserializeBinaryFromReader =
|
|
|
3092
3098
|
switch (field) {
|
|
3093
3099
|
case 1:
|
|
3094
3100
|
var value = /** @type {string} */ (reader.readString());
|
|
3095
|
-
msg.
|
|
3101
|
+
msg.addNotificationNames(value);
|
|
3096
3102
|
break;
|
|
3097
3103
|
case 2:
|
|
3098
3104
|
var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
|
|
@@ -3129,7 +3135,7 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.serializeBinary = f
|
|
|
3129
3135
|
*/
|
|
3130
3136
|
proto.ondewo.nlu.SetNotificationsReadStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3131
3137
|
var f = undefined;
|
|
3132
|
-
f = message.
|
|
3138
|
+
f = message.getNotificationNamesList();
|
|
3133
3139
|
if (f.length > 0) {
|
|
3134
3140
|
writer.writeRepeatedString(
|
|
3135
3141
|
1,
|
|
@@ -3147,10 +3153,10 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.serializeBinaryToWriter = fun
|
|
|
3147
3153
|
|
|
3148
3154
|
|
|
3149
3155
|
/**
|
|
3150
|
-
* repeated string
|
|
3156
|
+
* repeated string notification_names = 1;
|
|
3151
3157
|
* @return {!Array<string>}
|
|
3152
3158
|
*/
|
|
3153
|
-
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.
|
|
3159
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.getNotificationNamesList = function() {
|
|
3154
3160
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3155
3161
|
};
|
|
3156
3162
|
|
|
@@ -3159,7 +3165,7 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.getNotificationName
|
|
|
3159
3165
|
* @param {!Array<string>} value
|
|
3160
3166
|
* @return {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} returns this
|
|
3161
3167
|
*/
|
|
3162
|
-
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.
|
|
3168
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.setNotificationNamesList = function(value) {
|
|
3163
3169
|
return jspb.Message.setField(this, 1, value || []);
|
|
3164
3170
|
};
|
|
3165
3171
|
|
|
@@ -3169,7 +3175,7 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.setNotificationName
|
|
|
3169
3175
|
* @param {number=} opt_index
|
|
3170
3176
|
* @return {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} returns this
|
|
3171
3177
|
*/
|
|
3172
|
-
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.
|
|
3178
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.addNotificationNames = function(value, opt_index) {
|
|
3173
3179
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3174
3180
|
};
|
|
3175
3181
|
|
|
@@ -3178,8 +3184,8 @@ proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.addNotificationName
|
|
|
3178
3184
|
* Clears the list making it empty but non-null.
|
|
3179
3185
|
* @return {!proto.ondewo.nlu.SetNotificationsReadStatusRequest} returns this
|
|
3180
3186
|
*/
|
|
3181
|
-
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.
|
|
3182
|
-
return this.
|
|
3187
|
+
proto.ondewo.nlu.SetNotificationsReadStatusRequest.prototype.clearNotificationNamesList = function() {
|
|
3188
|
+
return this.setNotificationNamesList([]);
|
|
3183
3189
|
};
|
|
3184
3190
|
|
|
3185
3191
|
|
|
@@ -3281,12 +3287,12 @@ proto.ondewo.nlu.KeyValuePair.prototype.toObject = function(opt_includeInstance)
|
|
|
3281
3287
|
*/
|
|
3282
3288
|
proto.ondewo.nlu.KeyValuePair.toObject = function(includeInstance, msg) {
|
|
3283
3289
|
var f, obj = {
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3291
|
+
intValue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3292
|
+
floatValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f,
|
|
3293
|
+
doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
3294
|
+
stringValue: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
|
3295
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
3290
3296
|
};
|
|
3291
3297
|
|
|
3292
3298
|
if (includeInstance) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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_context_pb from '../../ondewo/nlu/context_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_context_pb from '../../ondewo/nlu/context_pb'; // proto import: "ondewo/nlu/context.proto"
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class ContextsClient {
|
|
@@ -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/context.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -48,7 +52,7 @@ proto.ondewo.nlu.ContextsClient =
|
|
|
48
52
|
/**
|
|
49
53
|
* @private @const {string} The hostname
|
|
50
54
|
*/
|
|
51
|
-
this.hostname_ = hostname;
|
|
55
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
52
56
|
|
|
53
57
|
};
|
|
54
58
|
|
|
@@ -74,7 +78,7 @@ proto.ondewo.nlu.ContextsPromiseClient =
|
|
|
74
78
|
/**
|
|
75
79
|
* @private @const {string} The hostname
|
|
76
80
|
*/
|
|
77
|
-
this.hostname_ = hostname;
|
|
81
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
78
82
|
|
|
79
83
|
};
|
|
80
84
|
|