@ondewo/csi-client-angular 3.2.0 → 4.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 +2 -5
- package/api/ondewo/csi/conversation.pb.d.ts +24 -24
- package/api/ondewo/nlu/agent.pb.d.ts +258 -18
- package/api/ondewo/nlu/agent.pbsc.d.ts +141 -60
- package/api/ondewo/nlu/ccai-project.pb.d.ts +1337 -0
- package/api/ondewo/nlu/ccai-project.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/ccai-project.pbsc.d.ts +102 -0
- package/api/ondewo/nlu/common.pb.d.ts +957 -0
- package/api/ondewo/nlu/context.pb.d.ts +41 -0
- package/api/ondewo/nlu/entity-type.pb.d.ts +55 -14
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/intent.pb.d.ts +129 -9
- package/api/ondewo/nlu/intent.pbsc.d.ts +4 -4
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +22 -1
- package/api/ondewo/nlu/project-role.pb.d.ts +26 -5
- package/api/ondewo/nlu/project-role.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +14 -14
- package/api/ondewo/nlu/session.pb.d.ts +1593 -146
- package/api/ondewo/nlu/session.pbsc.d.ts +150 -5
- package/api/ondewo/nlu/user.pb.d.ts +761 -18
- package/api/ondewo/nlu/user.pbsc.d.ts +126 -13
- package/api/ondewo/nlu/webhook.pb.d.ts +545 -10
- package/api/ondewo/nlu/webhook.pbsc.d.ts +49 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +66 -315
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +391 -5
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +0 -5
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +47 -64
- package/esm2022/api/google/api/http.pb.mjs +8 -25
- package/esm2022/api/google/rpc/status.pb.mjs +3 -7
- package/esm2022/api/google/type/latlng.pb.mjs +3 -6
- package/esm2022/api/ondewo/csi/conversation.pb.mjs +57 -111
- package/esm2022/api/ondewo/csi/conversation.pbsc.mjs +174 -177
- package/esm2022/api/ondewo/nlu/agent.pb.mjs +1053 -502
- package/esm2022/api/ondewo/nlu/agent.pbsc.mjs +899 -751
- package/esm2022/api/ondewo/nlu/aiservices.pb.mjs +61 -197
- package/esm2022/api/ondewo/nlu/aiservices.pbsc.mjs +156 -159
- package/esm2022/api/ondewo/nlu/ccai-project.pb.mjs +2490 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbconf.mjs +13 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbsc.mjs +194 -0
- package/esm2022/api/ondewo/nlu/common.pb.mjs +1856 -5
- package/esm2022/api/ondewo/nlu/context.pb.mjs +170 -52
- package/esm2022/api/ondewo/nlu/context.pbsc.mjs +120 -123
- package/esm2022/api/ondewo/nlu/entity-type.pb.mjs +224 -177
- package/esm2022/api/ondewo/nlu/entity-type.pbsc.mjs +302 -305
- package/esm2022/api/ondewo/nlu/intent.pb.mjs +593 -414
- package/esm2022/api/ondewo/nlu/intent.pbsc.mjs +499 -502
- package/esm2022/api/ondewo/nlu/operation-metadata.pb.mjs +78 -24
- package/esm2022/api/ondewo/nlu/operations.pb.mjs +18 -46
- package/esm2022/api/ondewo/nlu/operations.pbsc.mjs +84 -87
- package/esm2022/api/ondewo/nlu/project-role.pb.mjs +96 -51
- package/esm2022/api/ondewo/nlu/project-role.pbsc.mjs +104 -107
- package/esm2022/api/ondewo/nlu/project-statistics.pb.mjs +9 -20
- package/esm2022/api/ondewo/nlu/project-statistics.pbsc.mjs +156 -159
- package/esm2022/api/ondewo/nlu/server-statistics.pb.mjs +3 -5
- package/esm2022/api/ondewo/nlu/server-statistics.pbsc.mjs +71 -74
- package/esm2022/api/ondewo/nlu/session.pb.mjs +3086 -623
- package/esm2022/api/ondewo/nlu/session.pbsc.mjs +789 -521
- package/esm2022/api/ondewo/nlu/user.pb.mjs +1392 -123
- package/esm2022/api/ondewo/nlu/user.pbsc.mjs +497 -289
- package/esm2022/api/ondewo/nlu/utility.pb.mjs +42 -140
- package/esm2022/api/ondewo/nlu/utility.pbsc.mjs +156 -159
- package/esm2022/api/ondewo/nlu/webhook.pb.mjs +925 -54
- package/esm2022/api/ondewo/nlu/webhook.pbsc.mjs +157 -69
- package/esm2022/api/ondewo/s2t/speech-to-text.pb.mjs +327 -990
- package/esm2022/api/ondewo/s2t/speech-to-text.pbsc.mjs +282 -285
- package/esm2022/api/ondewo/t2s/text-to-speech.pb.mjs +964 -365
- package/esm2022/api/ondewo/t2s/text-to-speech.pbconf.mjs +1 -6
- package/esm2022/api/ondewo/t2s/text-to-speech.pbsc.mjs +307 -343
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/ondewo-csi-client-angular.mjs +45360 -34604
- package/fesm2022/ondewo-csi-client-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +3 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
-
import * as
|
|
3
|
+
import * as googleProtobuf004 from '@ngx-grpc/well-known-types';
|
|
4
|
+
import * as ondewoNlu008 from '../../ondewo/nlu/context.pb';
|
|
4
5
|
import * as googleProtobuf009 from '@ngx-grpc/well-known-types';
|
|
5
6
|
import * as ondewoNlu012 from '../../ondewo/nlu/intent.pb';
|
|
7
|
+
import * as ondewoNlu013 from '../../ondewo/nlu/entity-type.pb';
|
|
6
8
|
import * as ondewoNlu014 from '../../ondewo/nlu/session.pb';
|
|
7
9
|
/**
|
|
8
10
|
* Message implementation for ondewo.nlu.PingRequest
|
|
@@ -100,24 +102,24 @@ export declare class WebhookRequest implements GrpcMessage {
|
|
|
100
102
|
* @param _writer binary writer instance
|
|
101
103
|
*/
|
|
102
104
|
static serializeBinaryToWriter(_instance: WebhookRequest, _writer: BinaryWriter): void;
|
|
103
|
-
private _session;
|
|
104
105
|
private _responseId;
|
|
105
106
|
private _queryResult?;
|
|
106
107
|
private _originalDetectIntentRequest?;
|
|
108
|
+
private _session;
|
|
107
109
|
private _headers?;
|
|
108
110
|
/**
|
|
109
111
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
110
112
|
* @param _value initial values object or instance of WebhookRequest to deeply clone from
|
|
111
113
|
*/
|
|
112
114
|
constructor(_value?: RecursivePartial<WebhookRequest.AsObject>);
|
|
113
|
-
get session(): string;
|
|
114
|
-
set session(value: string);
|
|
115
115
|
get responseId(): string;
|
|
116
116
|
set responseId(value: string);
|
|
117
117
|
get queryResult(): ondewoNlu014.QueryResult | undefined;
|
|
118
118
|
set queryResult(value: ondewoNlu014.QueryResult | undefined);
|
|
119
119
|
get originalDetectIntentRequest(): OriginalDetectIntentRequest | undefined;
|
|
120
120
|
set originalDetectIntentRequest(value: OriginalDetectIntentRequest | undefined);
|
|
121
|
+
get session(): string;
|
|
122
|
+
set session(value: string);
|
|
121
123
|
get headers(): googleProtobuf009.Struct | undefined;
|
|
122
124
|
set headers(value: googleProtobuf009.Struct | undefined);
|
|
123
125
|
/**
|
|
@@ -145,20 +147,20 @@ export declare module WebhookRequest {
|
|
|
145
147
|
* Standard JavaScript object representation for WebhookRequest
|
|
146
148
|
*/
|
|
147
149
|
interface AsObject {
|
|
148
|
-
session: string;
|
|
149
150
|
responseId: string;
|
|
150
151
|
queryResult?: ondewoNlu014.QueryResult.AsObject;
|
|
151
152
|
originalDetectIntentRequest?: OriginalDetectIntentRequest.AsObject;
|
|
153
|
+
session: string;
|
|
152
154
|
headers?: googleProtobuf009.Struct.AsObject;
|
|
153
155
|
}
|
|
154
156
|
/**
|
|
155
157
|
* Protobuf JSON representation for WebhookRequest
|
|
156
158
|
*/
|
|
157
159
|
interface AsProtobufJSON {
|
|
158
|
-
session: string;
|
|
159
160
|
responseId: string;
|
|
160
161
|
queryResult: ondewoNlu014.QueryResult.AsProtobufJSON | null;
|
|
161
162
|
originalDetectIntentRequest: OriginalDetectIntentRequest.AsProtobufJSON | null;
|
|
163
|
+
session: string;
|
|
162
164
|
headers: googleProtobuf009.Struct.AsProtobufJSON | null;
|
|
163
165
|
}
|
|
164
166
|
}
|
|
@@ -195,6 +197,7 @@ export declare class WebhookResponse implements GrpcMessage {
|
|
|
195
197
|
private _payload?;
|
|
196
198
|
private _outputContexts?;
|
|
197
199
|
private _followupEventInput?;
|
|
200
|
+
private _sessionEntityTypes?;
|
|
198
201
|
/**
|
|
199
202
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
200
203
|
* @param _value initial values object or instance of WebhookResponse to deeply clone from
|
|
@@ -208,10 +211,12 @@ export declare class WebhookResponse implements GrpcMessage {
|
|
|
208
211
|
set source(value: string);
|
|
209
212
|
get payload(): googleProtobuf009.Struct | undefined;
|
|
210
213
|
set payload(value: googleProtobuf009.Struct | undefined);
|
|
211
|
-
get outputContexts():
|
|
212
|
-
set outputContexts(value:
|
|
214
|
+
get outputContexts(): ondewoNlu008.Context[] | undefined;
|
|
215
|
+
set outputContexts(value: ondewoNlu008.Context[] | undefined);
|
|
213
216
|
get followupEventInput(): ondewoNlu014.EventInput | undefined;
|
|
214
217
|
set followupEventInput(value: ondewoNlu014.EventInput | undefined);
|
|
218
|
+
get sessionEntityTypes(): SessionEntityType[] | undefined;
|
|
219
|
+
set sessionEntityTypes(value: SessionEntityType[] | undefined);
|
|
215
220
|
/**
|
|
216
221
|
* Serialize message to binary data
|
|
217
222
|
* @param instance message instance
|
|
@@ -241,8 +246,9 @@ export declare module WebhookResponse {
|
|
|
241
246
|
fulfillmentMessages?: ondewoNlu012.Intent.Message.AsObject[];
|
|
242
247
|
source: string;
|
|
243
248
|
payload?: googleProtobuf009.Struct.AsObject;
|
|
244
|
-
outputContexts?:
|
|
249
|
+
outputContexts?: ondewoNlu008.Context.AsObject[];
|
|
245
250
|
followupEventInput?: ondewoNlu014.EventInput.AsObject;
|
|
251
|
+
sessionEntityTypes?: SessionEntityType.AsObject[];
|
|
246
252
|
}
|
|
247
253
|
/**
|
|
248
254
|
* Protobuf JSON representation for WebhookResponse
|
|
@@ -252,8 +258,9 @@ export declare module WebhookResponse {
|
|
|
252
258
|
fulfillmentMessages: ondewoNlu012.Intent.Message.AsProtobufJSON[] | null;
|
|
253
259
|
source: string;
|
|
254
260
|
payload: googleProtobuf009.Struct.AsProtobufJSON | null;
|
|
255
|
-
outputContexts:
|
|
261
|
+
outputContexts: ondewoNlu008.Context.AsProtobufJSON[] | null;
|
|
256
262
|
followupEventInput: ondewoNlu014.EventInput.AsProtobufJSON | null;
|
|
263
|
+
sessionEntityTypes: SessionEntityType.AsProtobufJSON[] | null;
|
|
257
264
|
}
|
|
258
265
|
}
|
|
259
266
|
/**
|
|
@@ -399,3 +406,531 @@ export declare module PingResponse {
|
|
|
399
406
|
isReachable: boolean;
|
|
400
407
|
}
|
|
401
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* Message implementation for ondewo.nlu.SessionEntityType
|
|
411
|
+
*/
|
|
412
|
+
export declare class SessionEntityType implements GrpcMessage {
|
|
413
|
+
static id: string;
|
|
414
|
+
/**
|
|
415
|
+
* Deserialize binary data to message
|
|
416
|
+
* @param instance message instance
|
|
417
|
+
*/
|
|
418
|
+
static deserializeBinary(bytes: ByteSource): SessionEntityType;
|
|
419
|
+
/**
|
|
420
|
+
* Check all the properties and set default protobuf values if necessary
|
|
421
|
+
* @param _instance message instance
|
|
422
|
+
*/
|
|
423
|
+
static refineValues(_instance: SessionEntityType): void;
|
|
424
|
+
/**
|
|
425
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
426
|
+
* @param _instance message instance
|
|
427
|
+
* @param _reader binary reader instance
|
|
428
|
+
*/
|
|
429
|
+
static deserializeBinaryFromReader(_instance: SessionEntityType, _reader: BinaryReader): void;
|
|
430
|
+
/**
|
|
431
|
+
* Serializes a message to binary format using provided binary reader
|
|
432
|
+
* @param _instance message instance
|
|
433
|
+
* @param _writer binary writer instance
|
|
434
|
+
*/
|
|
435
|
+
static serializeBinaryToWriter(_instance: SessionEntityType, _writer: BinaryWriter): void;
|
|
436
|
+
private _name;
|
|
437
|
+
private _entityOverrideMode;
|
|
438
|
+
private _entities?;
|
|
439
|
+
/**
|
|
440
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
441
|
+
* @param _value initial values object or instance of SessionEntityType to deeply clone from
|
|
442
|
+
*/
|
|
443
|
+
constructor(_value?: RecursivePartial<SessionEntityType.AsObject>);
|
|
444
|
+
get name(): string;
|
|
445
|
+
set name(value: string);
|
|
446
|
+
get entityOverrideMode(): SessionEntityType.EntityOverrideMode;
|
|
447
|
+
set entityOverrideMode(value: SessionEntityType.EntityOverrideMode);
|
|
448
|
+
get entities(): ondewoNlu013.EntityType.Entity[] | undefined;
|
|
449
|
+
set entities(value: ondewoNlu013.EntityType.Entity[] | undefined);
|
|
450
|
+
/**
|
|
451
|
+
* Serialize message to binary data
|
|
452
|
+
* @param instance message instance
|
|
453
|
+
*/
|
|
454
|
+
serializeBinary(): any;
|
|
455
|
+
/**
|
|
456
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
457
|
+
*/
|
|
458
|
+
toObject(): SessionEntityType.AsObject;
|
|
459
|
+
/**
|
|
460
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
461
|
+
*/
|
|
462
|
+
toJSON(): SessionEntityType.AsObject;
|
|
463
|
+
/**
|
|
464
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
465
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
466
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
467
|
+
*/
|
|
468
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionEntityType.AsProtobufJSON;
|
|
469
|
+
}
|
|
470
|
+
export declare module SessionEntityType {
|
|
471
|
+
/**
|
|
472
|
+
* Standard JavaScript object representation for SessionEntityType
|
|
473
|
+
*/
|
|
474
|
+
interface AsObject {
|
|
475
|
+
name: string;
|
|
476
|
+
entityOverrideMode: SessionEntityType.EntityOverrideMode;
|
|
477
|
+
entities?: ondewoNlu013.EntityType.Entity.AsObject[];
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Protobuf JSON representation for SessionEntityType
|
|
481
|
+
*/
|
|
482
|
+
interface AsProtobufJSON {
|
|
483
|
+
name: string;
|
|
484
|
+
entityOverrideMode: string;
|
|
485
|
+
entities: ondewoNlu013.EntityType.Entity.AsProtobufJSON[] | null;
|
|
486
|
+
}
|
|
487
|
+
enum EntityOverrideMode {
|
|
488
|
+
ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0,
|
|
489
|
+
ENTITY_OVERRIDE_MODE_OVERRIDE = 1,
|
|
490
|
+
ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Message implementation for ondewo.nlu.ListSessionEntityTypesRequest
|
|
495
|
+
*/
|
|
496
|
+
export declare class ListSessionEntityTypesRequest implements GrpcMessage {
|
|
497
|
+
static id: string;
|
|
498
|
+
/**
|
|
499
|
+
* Deserialize binary data to message
|
|
500
|
+
* @param instance message instance
|
|
501
|
+
*/
|
|
502
|
+
static deserializeBinary(bytes: ByteSource): ListSessionEntityTypesRequest;
|
|
503
|
+
/**
|
|
504
|
+
* Check all the properties and set default protobuf values if necessary
|
|
505
|
+
* @param _instance message instance
|
|
506
|
+
*/
|
|
507
|
+
static refineValues(_instance: ListSessionEntityTypesRequest): void;
|
|
508
|
+
/**
|
|
509
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
510
|
+
* @param _instance message instance
|
|
511
|
+
* @param _reader binary reader instance
|
|
512
|
+
*/
|
|
513
|
+
static deserializeBinaryFromReader(_instance: ListSessionEntityTypesRequest, _reader: BinaryReader): void;
|
|
514
|
+
/**
|
|
515
|
+
* Serializes a message to binary format using provided binary reader
|
|
516
|
+
* @param _instance message instance
|
|
517
|
+
* @param _writer binary writer instance
|
|
518
|
+
*/
|
|
519
|
+
static serializeBinaryToWriter(_instance: ListSessionEntityTypesRequest, _writer: BinaryWriter): void;
|
|
520
|
+
private _parent;
|
|
521
|
+
private _pageSize;
|
|
522
|
+
private _pageToken;
|
|
523
|
+
/**
|
|
524
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
525
|
+
* @param _value initial values object or instance of ListSessionEntityTypesRequest to deeply clone from
|
|
526
|
+
*/
|
|
527
|
+
constructor(_value?: RecursivePartial<ListSessionEntityTypesRequest.AsObject>);
|
|
528
|
+
get parent(): string;
|
|
529
|
+
set parent(value: string);
|
|
530
|
+
get pageSize(): number;
|
|
531
|
+
set pageSize(value: number);
|
|
532
|
+
get pageToken(): string;
|
|
533
|
+
set pageToken(value: string);
|
|
534
|
+
/**
|
|
535
|
+
* Serialize message to binary data
|
|
536
|
+
* @param instance message instance
|
|
537
|
+
*/
|
|
538
|
+
serializeBinary(): any;
|
|
539
|
+
/**
|
|
540
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
541
|
+
*/
|
|
542
|
+
toObject(): ListSessionEntityTypesRequest.AsObject;
|
|
543
|
+
/**
|
|
544
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
545
|
+
*/
|
|
546
|
+
toJSON(): ListSessionEntityTypesRequest.AsObject;
|
|
547
|
+
/**
|
|
548
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
549
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
550
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
551
|
+
*/
|
|
552
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionEntityTypesRequest.AsProtobufJSON;
|
|
553
|
+
}
|
|
554
|
+
export declare module ListSessionEntityTypesRequest {
|
|
555
|
+
/**
|
|
556
|
+
* Standard JavaScript object representation for ListSessionEntityTypesRequest
|
|
557
|
+
*/
|
|
558
|
+
interface AsObject {
|
|
559
|
+
parent: string;
|
|
560
|
+
pageSize: number;
|
|
561
|
+
pageToken: string;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Protobuf JSON representation for ListSessionEntityTypesRequest
|
|
565
|
+
*/
|
|
566
|
+
interface AsProtobufJSON {
|
|
567
|
+
parent: string;
|
|
568
|
+
pageSize: number;
|
|
569
|
+
pageToken: string;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Message implementation for ondewo.nlu.ListSessionEntityTypesResponse
|
|
574
|
+
*/
|
|
575
|
+
export declare class ListSessionEntityTypesResponse implements GrpcMessage {
|
|
576
|
+
static id: string;
|
|
577
|
+
/**
|
|
578
|
+
* Deserialize binary data to message
|
|
579
|
+
* @param instance message instance
|
|
580
|
+
*/
|
|
581
|
+
static deserializeBinary(bytes: ByteSource): ListSessionEntityTypesResponse;
|
|
582
|
+
/**
|
|
583
|
+
* Check all the properties and set default protobuf values if necessary
|
|
584
|
+
* @param _instance message instance
|
|
585
|
+
*/
|
|
586
|
+
static refineValues(_instance: ListSessionEntityTypesResponse): void;
|
|
587
|
+
/**
|
|
588
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
589
|
+
* @param _instance message instance
|
|
590
|
+
* @param _reader binary reader instance
|
|
591
|
+
*/
|
|
592
|
+
static deserializeBinaryFromReader(_instance: ListSessionEntityTypesResponse, _reader: BinaryReader): void;
|
|
593
|
+
/**
|
|
594
|
+
* Serializes a message to binary format using provided binary reader
|
|
595
|
+
* @param _instance message instance
|
|
596
|
+
* @param _writer binary writer instance
|
|
597
|
+
*/
|
|
598
|
+
static serializeBinaryToWriter(_instance: ListSessionEntityTypesResponse, _writer: BinaryWriter): void;
|
|
599
|
+
private _sessionEntityTypes?;
|
|
600
|
+
private _nextPageToken;
|
|
601
|
+
/**
|
|
602
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
603
|
+
* @param _value initial values object or instance of ListSessionEntityTypesResponse to deeply clone from
|
|
604
|
+
*/
|
|
605
|
+
constructor(_value?: RecursivePartial<ListSessionEntityTypesResponse.AsObject>);
|
|
606
|
+
get sessionEntityTypes(): SessionEntityType[] | undefined;
|
|
607
|
+
set sessionEntityTypes(value: SessionEntityType[] | undefined);
|
|
608
|
+
get nextPageToken(): string;
|
|
609
|
+
set nextPageToken(value: string);
|
|
610
|
+
/**
|
|
611
|
+
* Serialize message to binary data
|
|
612
|
+
* @param instance message instance
|
|
613
|
+
*/
|
|
614
|
+
serializeBinary(): any;
|
|
615
|
+
/**
|
|
616
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
617
|
+
*/
|
|
618
|
+
toObject(): ListSessionEntityTypesResponse.AsObject;
|
|
619
|
+
/**
|
|
620
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
621
|
+
*/
|
|
622
|
+
toJSON(): ListSessionEntityTypesResponse.AsObject;
|
|
623
|
+
/**
|
|
624
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
625
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
626
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
627
|
+
*/
|
|
628
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionEntityTypesResponse.AsProtobufJSON;
|
|
629
|
+
}
|
|
630
|
+
export declare module ListSessionEntityTypesResponse {
|
|
631
|
+
/**
|
|
632
|
+
* Standard JavaScript object representation for ListSessionEntityTypesResponse
|
|
633
|
+
*/
|
|
634
|
+
interface AsObject {
|
|
635
|
+
sessionEntityTypes?: SessionEntityType.AsObject[];
|
|
636
|
+
nextPageToken: string;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Protobuf JSON representation for ListSessionEntityTypesResponse
|
|
640
|
+
*/
|
|
641
|
+
interface AsProtobufJSON {
|
|
642
|
+
sessionEntityTypes: SessionEntityType.AsProtobufJSON[] | null;
|
|
643
|
+
nextPageToken: string;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Message implementation for ondewo.nlu.GetSessionEntityTypeRequest
|
|
648
|
+
*/
|
|
649
|
+
export declare class GetSessionEntityTypeRequest implements GrpcMessage {
|
|
650
|
+
static id: string;
|
|
651
|
+
/**
|
|
652
|
+
* Deserialize binary data to message
|
|
653
|
+
* @param instance message instance
|
|
654
|
+
*/
|
|
655
|
+
static deserializeBinary(bytes: ByteSource): GetSessionEntityTypeRequest;
|
|
656
|
+
/**
|
|
657
|
+
* Check all the properties and set default protobuf values if necessary
|
|
658
|
+
* @param _instance message instance
|
|
659
|
+
*/
|
|
660
|
+
static refineValues(_instance: GetSessionEntityTypeRequest): void;
|
|
661
|
+
/**
|
|
662
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
663
|
+
* @param _instance message instance
|
|
664
|
+
* @param _reader binary reader instance
|
|
665
|
+
*/
|
|
666
|
+
static deserializeBinaryFromReader(_instance: GetSessionEntityTypeRequest, _reader: BinaryReader): void;
|
|
667
|
+
/**
|
|
668
|
+
* Serializes a message to binary format using provided binary reader
|
|
669
|
+
* @param _instance message instance
|
|
670
|
+
* @param _writer binary writer instance
|
|
671
|
+
*/
|
|
672
|
+
static serializeBinaryToWriter(_instance: GetSessionEntityTypeRequest, _writer: BinaryWriter): void;
|
|
673
|
+
private _name;
|
|
674
|
+
/**
|
|
675
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
676
|
+
* @param _value initial values object or instance of GetSessionEntityTypeRequest to deeply clone from
|
|
677
|
+
*/
|
|
678
|
+
constructor(_value?: RecursivePartial<GetSessionEntityTypeRequest.AsObject>);
|
|
679
|
+
get name(): string;
|
|
680
|
+
set name(value: string);
|
|
681
|
+
/**
|
|
682
|
+
* Serialize message to binary data
|
|
683
|
+
* @param instance message instance
|
|
684
|
+
*/
|
|
685
|
+
serializeBinary(): any;
|
|
686
|
+
/**
|
|
687
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
688
|
+
*/
|
|
689
|
+
toObject(): GetSessionEntityTypeRequest.AsObject;
|
|
690
|
+
/**
|
|
691
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
692
|
+
*/
|
|
693
|
+
toJSON(): GetSessionEntityTypeRequest.AsObject;
|
|
694
|
+
/**
|
|
695
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
696
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
697
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
698
|
+
*/
|
|
699
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetSessionEntityTypeRequest.AsProtobufJSON;
|
|
700
|
+
}
|
|
701
|
+
export declare module GetSessionEntityTypeRequest {
|
|
702
|
+
/**
|
|
703
|
+
* Standard JavaScript object representation for GetSessionEntityTypeRequest
|
|
704
|
+
*/
|
|
705
|
+
interface AsObject {
|
|
706
|
+
name: string;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Protobuf JSON representation for GetSessionEntityTypeRequest
|
|
710
|
+
*/
|
|
711
|
+
interface AsProtobufJSON {
|
|
712
|
+
name: string;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Message implementation for ondewo.nlu.CreateSessionEntityTypeRequest
|
|
717
|
+
*/
|
|
718
|
+
export declare class CreateSessionEntityTypeRequest implements GrpcMessage {
|
|
719
|
+
static id: string;
|
|
720
|
+
/**
|
|
721
|
+
* Deserialize binary data to message
|
|
722
|
+
* @param instance message instance
|
|
723
|
+
*/
|
|
724
|
+
static deserializeBinary(bytes: ByteSource): CreateSessionEntityTypeRequest;
|
|
725
|
+
/**
|
|
726
|
+
* Check all the properties and set default protobuf values if necessary
|
|
727
|
+
* @param _instance message instance
|
|
728
|
+
*/
|
|
729
|
+
static refineValues(_instance: CreateSessionEntityTypeRequest): void;
|
|
730
|
+
/**
|
|
731
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
732
|
+
* @param _instance message instance
|
|
733
|
+
* @param _reader binary reader instance
|
|
734
|
+
*/
|
|
735
|
+
static deserializeBinaryFromReader(_instance: CreateSessionEntityTypeRequest, _reader: BinaryReader): void;
|
|
736
|
+
/**
|
|
737
|
+
* Serializes a message to binary format using provided binary reader
|
|
738
|
+
* @param _instance message instance
|
|
739
|
+
* @param _writer binary writer instance
|
|
740
|
+
*/
|
|
741
|
+
static serializeBinaryToWriter(_instance: CreateSessionEntityTypeRequest, _writer: BinaryWriter): void;
|
|
742
|
+
private _parent;
|
|
743
|
+
private _sessionEntityType?;
|
|
744
|
+
private _sessionId;
|
|
745
|
+
/**
|
|
746
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
747
|
+
* @param _value initial values object or instance of CreateSessionEntityTypeRequest to deeply clone from
|
|
748
|
+
*/
|
|
749
|
+
constructor(_value?: RecursivePartial<CreateSessionEntityTypeRequest.AsObject>);
|
|
750
|
+
get parent(): string;
|
|
751
|
+
set parent(value: string);
|
|
752
|
+
get sessionEntityType(): SessionEntityType | undefined;
|
|
753
|
+
set sessionEntityType(value: SessionEntityType | undefined);
|
|
754
|
+
get sessionId(): string;
|
|
755
|
+
set sessionId(value: string);
|
|
756
|
+
/**
|
|
757
|
+
* Serialize message to binary data
|
|
758
|
+
* @param instance message instance
|
|
759
|
+
*/
|
|
760
|
+
serializeBinary(): any;
|
|
761
|
+
/**
|
|
762
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
763
|
+
*/
|
|
764
|
+
toObject(): CreateSessionEntityTypeRequest.AsObject;
|
|
765
|
+
/**
|
|
766
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
767
|
+
*/
|
|
768
|
+
toJSON(): CreateSessionEntityTypeRequest.AsObject;
|
|
769
|
+
/**
|
|
770
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
771
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
772
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
773
|
+
*/
|
|
774
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionEntityTypeRequest.AsProtobufJSON;
|
|
775
|
+
}
|
|
776
|
+
export declare module CreateSessionEntityTypeRequest {
|
|
777
|
+
/**
|
|
778
|
+
* Standard JavaScript object representation for CreateSessionEntityTypeRequest
|
|
779
|
+
*/
|
|
780
|
+
interface AsObject {
|
|
781
|
+
parent: string;
|
|
782
|
+
sessionEntityType?: SessionEntityType.AsObject;
|
|
783
|
+
sessionId: string;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Protobuf JSON representation for CreateSessionEntityTypeRequest
|
|
787
|
+
*/
|
|
788
|
+
interface AsProtobufJSON {
|
|
789
|
+
parent: string;
|
|
790
|
+
sessionEntityType: SessionEntityType.AsProtobufJSON | null;
|
|
791
|
+
sessionId: string;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* Message implementation for ondewo.nlu.UpdateSessionEntityTypeRequest
|
|
796
|
+
*/
|
|
797
|
+
export declare class UpdateSessionEntityTypeRequest implements GrpcMessage {
|
|
798
|
+
static id: string;
|
|
799
|
+
/**
|
|
800
|
+
* Deserialize binary data to message
|
|
801
|
+
* @param instance message instance
|
|
802
|
+
*/
|
|
803
|
+
static deserializeBinary(bytes: ByteSource): UpdateSessionEntityTypeRequest;
|
|
804
|
+
/**
|
|
805
|
+
* Check all the properties and set default protobuf values if necessary
|
|
806
|
+
* @param _instance message instance
|
|
807
|
+
*/
|
|
808
|
+
static refineValues(_instance: UpdateSessionEntityTypeRequest): void;
|
|
809
|
+
/**
|
|
810
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
811
|
+
* @param _instance message instance
|
|
812
|
+
* @param _reader binary reader instance
|
|
813
|
+
*/
|
|
814
|
+
static deserializeBinaryFromReader(_instance: UpdateSessionEntityTypeRequest, _reader: BinaryReader): void;
|
|
815
|
+
/**
|
|
816
|
+
* Serializes a message to binary format using provided binary reader
|
|
817
|
+
* @param _instance message instance
|
|
818
|
+
* @param _writer binary writer instance
|
|
819
|
+
*/
|
|
820
|
+
static serializeBinaryToWriter(_instance: UpdateSessionEntityTypeRequest, _writer: BinaryWriter): void;
|
|
821
|
+
private _sessionEntityType?;
|
|
822
|
+
private _updateMask?;
|
|
823
|
+
/**
|
|
824
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
825
|
+
* @param _value initial values object or instance of UpdateSessionEntityTypeRequest to deeply clone from
|
|
826
|
+
*/
|
|
827
|
+
constructor(_value?: RecursivePartial<UpdateSessionEntityTypeRequest.AsObject>);
|
|
828
|
+
get sessionEntityType(): SessionEntityType | undefined;
|
|
829
|
+
set sessionEntityType(value: SessionEntityType | undefined);
|
|
830
|
+
get updateMask(): googleProtobuf004.FieldMask | undefined;
|
|
831
|
+
set updateMask(value: googleProtobuf004.FieldMask | undefined);
|
|
832
|
+
/**
|
|
833
|
+
* Serialize message to binary data
|
|
834
|
+
* @param instance message instance
|
|
835
|
+
*/
|
|
836
|
+
serializeBinary(): any;
|
|
837
|
+
/**
|
|
838
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
839
|
+
*/
|
|
840
|
+
toObject(): UpdateSessionEntityTypeRequest.AsObject;
|
|
841
|
+
/**
|
|
842
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
843
|
+
*/
|
|
844
|
+
toJSON(): UpdateSessionEntityTypeRequest.AsObject;
|
|
845
|
+
/**
|
|
846
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
847
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
848
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
849
|
+
*/
|
|
850
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UpdateSessionEntityTypeRequest.AsProtobufJSON;
|
|
851
|
+
}
|
|
852
|
+
export declare module UpdateSessionEntityTypeRequest {
|
|
853
|
+
/**
|
|
854
|
+
* Standard JavaScript object representation for UpdateSessionEntityTypeRequest
|
|
855
|
+
*/
|
|
856
|
+
interface AsObject {
|
|
857
|
+
sessionEntityType?: SessionEntityType.AsObject;
|
|
858
|
+
updateMask?: googleProtobuf004.FieldMask.AsObject;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* Protobuf JSON representation for UpdateSessionEntityTypeRequest
|
|
862
|
+
*/
|
|
863
|
+
interface AsProtobufJSON {
|
|
864
|
+
sessionEntityType: SessionEntityType.AsProtobufJSON | null;
|
|
865
|
+
updateMask: googleProtobuf004.FieldMask.AsProtobufJSON | null;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* Message implementation for ondewo.nlu.DeleteSessionEntityTypeRequest
|
|
870
|
+
*/
|
|
871
|
+
export declare class DeleteSessionEntityTypeRequest implements GrpcMessage {
|
|
872
|
+
static id: string;
|
|
873
|
+
/**
|
|
874
|
+
* Deserialize binary data to message
|
|
875
|
+
* @param instance message instance
|
|
876
|
+
*/
|
|
877
|
+
static deserializeBinary(bytes: ByteSource): DeleteSessionEntityTypeRequest;
|
|
878
|
+
/**
|
|
879
|
+
* Check all the properties and set default protobuf values if necessary
|
|
880
|
+
* @param _instance message instance
|
|
881
|
+
*/
|
|
882
|
+
static refineValues(_instance: DeleteSessionEntityTypeRequest): void;
|
|
883
|
+
/**
|
|
884
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
885
|
+
* @param _instance message instance
|
|
886
|
+
* @param _reader binary reader instance
|
|
887
|
+
*/
|
|
888
|
+
static deserializeBinaryFromReader(_instance: DeleteSessionEntityTypeRequest, _reader: BinaryReader): void;
|
|
889
|
+
/**
|
|
890
|
+
* Serializes a message to binary format using provided binary reader
|
|
891
|
+
* @param _instance message instance
|
|
892
|
+
* @param _writer binary writer instance
|
|
893
|
+
*/
|
|
894
|
+
static serializeBinaryToWriter(_instance: DeleteSessionEntityTypeRequest, _writer: BinaryWriter): void;
|
|
895
|
+
private _name;
|
|
896
|
+
/**
|
|
897
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
898
|
+
* @param _value initial values object or instance of DeleteSessionEntityTypeRequest to deeply clone from
|
|
899
|
+
*/
|
|
900
|
+
constructor(_value?: RecursivePartial<DeleteSessionEntityTypeRequest.AsObject>);
|
|
901
|
+
get name(): string;
|
|
902
|
+
set name(value: string);
|
|
903
|
+
/**
|
|
904
|
+
* Serialize message to binary data
|
|
905
|
+
* @param instance message instance
|
|
906
|
+
*/
|
|
907
|
+
serializeBinary(): any;
|
|
908
|
+
/**
|
|
909
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
910
|
+
*/
|
|
911
|
+
toObject(): DeleteSessionEntityTypeRequest.AsObject;
|
|
912
|
+
/**
|
|
913
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
914
|
+
*/
|
|
915
|
+
toJSON(): DeleteSessionEntityTypeRequest.AsObject;
|
|
916
|
+
/**
|
|
917
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
918
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
919
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
920
|
+
*/
|
|
921
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteSessionEntityTypeRequest.AsProtobufJSON;
|
|
922
|
+
}
|
|
923
|
+
export declare module DeleteSessionEntityTypeRequest {
|
|
924
|
+
/**
|
|
925
|
+
* Standard JavaScript object representation for DeleteSessionEntityTypeRequest
|
|
926
|
+
*/
|
|
927
|
+
interface AsObject {
|
|
928
|
+
name: string;
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* Protobuf JSON representation for DeleteSessionEntityTypeRequest
|
|
932
|
+
*/
|
|
933
|
+
interface AsProtobufJSON {
|
|
934
|
+
name: string;
|
|
935
|
+
}
|
|
936
|
+
}
|