@ondewo/nlu-client-typescript 4.6.0 → 4.8.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.
Files changed (37) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
  3. package/api/ondewo/nlu/agent_pb.d.ts +222 -1
  4. package/api/ondewo/nlu/agent_pb.js +1814 -30
  5. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
  6. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
  8. package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
  9. package/api/ondewo/nlu/common_pb.d.ts +456 -0
  10. package/api/ondewo/nlu/common_pb.js +3523 -4
  11. package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
  12. package/api/ondewo/nlu/context_pb.d.ts +41 -0
  13. package/api/ondewo/nlu/context_pb.js +328 -2
  14. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
  15. package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
  16. package/api/ondewo/nlu/entity_type_pb.js +328 -2
  17. package/api/ondewo/nlu/intent_pb.d.ts +120 -0
  18. package/api/ondewo/nlu/intent_pb.js +1058 -86
  19. package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
  20. package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
  21. package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
  22. package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
  23. package/api/ondewo/nlu/project_role_pb.js +167 -3
  24. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
  25. package/api/ondewo/nlu/session_grpc_web_pb.js +553 -0
  26. package/api/ondewo/nlu/session_pb.d.ts +637 -0
  27. package/api/ondewo/nlu/session_pb.js +10508 -5294
  28. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
  29. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
  30. package/api/ondewo/nlu/user_pb.d.ts +284 -0
  31. package/api/ondewo/nlu/user_pb.js +3418 -1024
  32. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
  33. package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
  34. package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
  35. package/api/ondewo/nlu/webhook_pb.js +1530 -34
  36. package/package.json +1 -1
  37. package/public-api.d.ts +27 -25
@@ -1,5 +1,6 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
3
4
  import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb';
4
5
 
5
6
 
@@ -29,6 +30,27 @@ export class WebhookClient {
29
30
  response: ondewo_nlu_webhook_pb.PingResponse) => void
30
31
  ): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.PingResponse>;
31
32
 
33
+ createSessionEntityType(
34
+ request: ondewo_nlu_webhook_pb.CreateSessionEntityTypeRequest,
35
+ metadata: grpcWeb.Metadata | undefined,
36
+ callback: (err: grpcWeb.RpcError,
37
+ response: ondewo_nlu_webhook_pb.SessionEntityType) => void
38
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.SessionEntityType>;
39
+
40
+ updateSessionEntityType(
41
+ request: ondewo_nlu_webhook_pb.UpdateSessionEntityTypeRequest,
42
+ metadata: grpcWeb.Metadata | undefined,
43
+ callback: (err: grpcWeb.RpcError,
44
+ response: ondewo_nlu_webhook_pb.SessionEntityType) => void
45
+ ): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.SessionEntityType>;
46
+
47
+ deleteSessionEntityType(
48
+ request: ondewo_nlu_webhook_pb.DeleteSessionEntityTypeRequest,
49
+ metadata: grpcWeb.Metadata | undefined,
50
+ callback: (err: grpcWeb.RpcError,
51
+ response: google_protobuf_empty_pb.Empty) => void
52
+ ): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
53
+
32
54
  }
33
55
 
34
56
  export class WebhookPromiseClient {
@@ -51,5 +73,20 @@ export class WebhookPromiseClient {
51
73
  metadata?: grpcWeb.Metadata
52
74
  ): Promise<ondewo_nlu_webhook_pb.PingResponse>;
53
75
 
76
+ createSessionEntityType(
77
+ request: ondewo_nlu_webhook_pb.CreateSessionEntityTypeRequest,
78
+ metadata?: grpcWeb.Metadata
79
+ ): Promise<ondewo_nlu_webhook_pb.SessionEntityType>;
80
+
81
+ updateSessionEntityType(
82
+ request: ondewo_nlu_webhook_pb.UpdateSessionEntityTypeRequest,
83
+ metadata?: grpcWeb.Metadata
84
+ ): Promise<ondewo_nlu_webhook_pb.SessionEntityType>;
85
+
86
+ deleteSessionEntityType(
87
+ request: ondewo_nlu_webhook_pb.DeleteSessionEntityTypeRequest,
88
+ metadata?: grpcWeb.Metadata
89
+ ): Promise<google_protobuf_empty_pb.Empty>;
90
+
54
91
  }
55
92
 
@@ -18,13 +18,19 @@ grpc.web = require('grpc-web');
18
18
 
19
19
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
20
20
 
21
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
22
+
23
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
24
+
25
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
26
+
27
+ var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
28
+
21
29
  var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
22
30
 
23
31
  var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
24
32
 
25
33
  var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
26
-
27
- var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
28
34
  const proto = {};
29
35
  proto.ondewo = {};
30
36
  proto.ondewo.nlu = require('./webhook_pb.js');
@@ -264,5 +270,188 @@ proto.ondewo.nlu.WebhookPromiseClient.prototype.ping =
264
270
  };
265
271
 
266
272
 
273
+ /**
274
+ * @const
275
+ * @type {!grpc.web.MethodDescriptor<
276
+ * !proto.ondewo.nlu.CreateSessionEntityTypeRequest,
277
+ * !proto.ondewo.nlu.SessionEntityType>}
278
+ */
279
+ const methodDescriptor_Webhook_CreateSessionEntityType = new grpc.web.MethodDescriptor(
280
+ '/ondewo.nlu.Webhook/CreateSessionEntityType',
281
+ grpc.web.MethodType.UNARY,
282
+ proto.ondewo.nlu.CreateSessionEntityTypeRequest,
283
+ proto.ondewo.nlu.SessionEntityType,
284
+ /**
285
+ * @param {!proto.ondewo.nlu.CreateSessionEntityTypeRequest} request
286
+ * @return {!Uint8Array}
287
+ */
288
+ function(request) {
289
+ return request.serializeBinary();
290
+ },
291
+ proto.ondewo.nlu.SessionEntityType.deserializeBinary
292
+ );
293
+
294
+
295
+ /**
296
+ * @param {!proto.ondewo.nlu.CreateSessionEntityTypeRequest} request The
297
+ * request proto
298
+ * @param {?Object<string, string>} metadata User defined
299
+ * call metadata
300
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SessionEntityType)}
301
+ * callback The callback function(error, response)
302
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SessionEntityType>|undefined}
303
+ * The XHR Node Readable Stream
304
+ */
305
+ proto.ondewo.nlu.WebhookClient.prototype.createSessionEntityType =
306
+ function(request, metadata, callback) {
307
+ return this.client_.rpcCall(this.hostname_ +
308
+ '/ondewo.nlu.Webhook/CreateSessionEntityType',
309
+ request,
310
+ metadata || {},
311
+ methodDescriptor_Webhook_CreateSessionEntityType,
312
+ callback);
313
+ };
314
+
315
+
316
+ /**
317
+ * @param {!proto.ondewo.nlu.CreateSessionEntityTypeRequest} request The
318
+ * request proto
319
+ * @param {?Object<string, string>=} metadata User defined
320
+ * call metadata
321
+ * @return {!Promise<!proto.ondewo.nlu.SessionEntityType>}
322
+ * Promise that resolves to the response
323
+ */
324
+ proto.ondewo.nlu.WebhookPromiseClient.prototype.createSessionEntityType =
325
+ function(request, metadata) {
326
+ return this.client_.unaryCall(this.hostname_ +
327
+ '/ondewo.nlu.Webhook/CreateSessionEntityType',
328
+ request,
329
+ metadata || {},
330
+ methodDescriptor_Webhook_CreateSessionEntityType);
331
+ };
332
+
333
+
334
+ /**
335
+ * @const
336
+ * @type {!grpc.web.MethodDescriptor<
337
+ * !proto.ondewo.nlu.UpdateSessionEntityTypeRequest,
338
+ * !proto.ondewo.nlu.SessionEntityType>}
339
+ */
340
+ const methodDescriptor_Webhook_UpdateSessionEntityType = new grpc.web.MethodDescriptor(
341
+ '/ondewo.nlu.Webhook/UpdateSessionEntityType',
342
+ grpc.web.MethodType.UNARY,
343
+ proto.ondewo.nlu.UpdateSessionEntityTypeRequest,
344
+ proto.ondewo.nlu.SessionEntityType,
345
+ /**
346
+ * @param {!proto.ondewo.nlu.UpdateSessionEntityTypeRequest} request
347
+ * @return {!Uint8Array}
348
+ */
349
+ function(request) {
350
+ return request.serializeBinary();
351
+ },
352
+ proto.ondewo.nlu.SessionEntityType.deserializeBinary
353
+ );
354
+
355
+
356
+ /**
357
+ * @param {!proto.ondewo.nlu.UpdateSessionEntityTypeRequest} request The
358
+ * request proto
359
+ * @param {?Object<string, string>} metadata User defined
360
+ * call metadata
361
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.SessionEntityType)}
362
+ * callback The callback function(error, response)
363
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.SessionEntityType>|undefined}
364
+ * The XHR Node Readable Stream
365
+ */
366
+ proto.ondewo.nlu.WebhookClient.prototype.updateSessionEntityType =
367
+ function(request, metadata, callback) {
368
+ return this.client_.rpcCall(this.hostname_ +
369
+ '/ondewo.nlu.Webhook/UpdateSessionEntityType',
370
+ request,
371
+ metadata || {},
372
+ methodDescriptor_Webhook_UpdateSessionEntityType,
373
+ callback);
374
+ };
375
+
376
+
377
+ /**
378
+ * @param {!proto.ondewo.nlu.UpdateSessionEntityTypeRequest} request The
379
+ * request proto
380
+ * @param {?Object<string, string>=} metadata User defined
381
+ * call metadata
382
+ * @return {!Promise<!proto.ondewo.nlu.SessionEntityType>}
383
+ * Promise that resolves to the response
384
+ */
385
+ proto.ondewo.nlu.WebhookPromiseClient.prototype.updateSessionEntityType =
386
+ function(request, metadata) {
387
+ return this.client_.unaryCall(this.hostname_ +
388
+ '/ondewo.nlu.Webhook/UpdateSessionEntityType',
389
+ request,
390
+ metadata || {},
391
+ methodDescriptor_Webhook_UpdateSessionEntityType);
392
+ };
393
+
394
+
395
+ /**
396
+ * @const
397
+ * @type {!grpc.web.MethodDescriptor<
398
+ * !proto.ondewo.nlu.DeleteSessionEntityTypeRequest,
399
+ * !proto.google.protobuf.Empty>}
400
+ */
401
+ const methodDescriptor_Webhook_DeleteSessionEntityType = new grpc.web.MethodDescriptor(
402
+ '/ondewo.nlu.Webhook/DeleteSessionEntityType',
403
+ grpc.web.MethodType.UNARY,
404
+ proto.ondewo.nlu.DeleteSessionEntityTypeRequest,
405
+ google_protobuf_empty_pb.Empty,
406
+ /**
407
+ * @param {!proto.ondewo.nlu.DeleteSessionEntityTypeRequest} request
408
+ * @return {!Uint8Array}
409
+ */
410
+ function(request) {
411
+ return request.serializeBinary();
412
+ },
413
+ google_protobuf_empty_pb.Empty.deserializeBinary
414
+ );
415
+
416
+
417
+ /**
418
+ * @param {!proto.ondewo.nlu.DeleteSessionEntityTypeRequest} request The
419
+ * request proto
420
+ * @param {?Object<string, string>} metadata User defined
421
+ * call metadata
422
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
423
+ * callback The callback function(error, response)
424
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
425
+ * The XHR Node Readable Stream
426
+ */
427
+ proto.ondewo.nlu.WebhookClient.prototype.deleteSessionEntityType =
428
+ function(request, metadata, callback) {
429
+ return this.client_.rpcCall(this.hostname_ +
430
+ '/ondewo.nlu.Webhook/DeleteSessionEntityType',
431
+ request,
432
+ metadata || {},
433
+ methodDescriptor_Webhook_DeleteSessionEntityType,
434
+ callback);
435
+ };
436
+
437
+
438
+ /**
439
+ * @param {!proto.ondewo.nlu.DeleteSessionEntityTypeRequest} request The
440
+ * request proto
441
+ * @param {?Object<string, string>=} metadata User defined
442
+ * call metadata
443
+ * @return {!Promise<!proto.google.protobuf.Empty>}
444
+ * Promise that resolves to the response
445
+ */
446
+ proto.ondewo.nlu.WebhookPromiseClient.prototype.deleteSessionEntityType =
447
+ function(request, metadata) {
448
+ return this.client_.unaryCall(this.hostname_ +
449
+ '/ondewo.nlu.Webhook/DeleteSessionEntityType',
450
+ request,
451
+ metadata || {},
452
+ methodDescriptor_Webhook_DeleteSessionEntityType);
453
+ };
454
+
455
+
267
456
  module.exports = proto.ondewo.nlu;
268
457
 
@@ -1,10 +1,13 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_api_annotations_pb from '../../google/api/annotations_pb';
4
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
5
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
6
+ import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
7
+ import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
4
8
  import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
5
9
  import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
6
10
  import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
7
- import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
8
11
 
9
12
 
10
13
  export class PingRequest extends jspb.Message {
@@ -26,9 +29,6 @@ export namespace PingRequest {
26
29
  }
27
30
 
28
31
  export class WebhookRequest extends jspb.Message {
29
- getSession(): string;
30
- setSession(value: string): WebhookRequest;
31
-
32
32
  getResponseId(): string;
33
33
  setResponseId(value: string): WebhookRequest;
34
34
 
@@ -42,6 +42,9 @@ export class WebhookRequest extends jspb.Message {
42
42
  hasOriginalDetectIntentRequest(): boolean;
43
43
  clearOriginalDetectIntentRequest(): WebhookRequest;
44
44
 
45
+ getSession(): string;
46
+ setSession(value: string): WebhookRequest;
47
+
45
48
  getHeaders(): google_protobuf_struct_pb.Struct | undefined;
46
49
  setHeaders(value?: google_protobuf_struct_pb.Struct): WebhookRequest;
47
50
  hasHeaders(): boolean;
@@ -57,10 +60,10 @@ export class WebhookRequest extends jspb.Message {
57
60
 
58
61
  export namespace WebhookRequest {
59
62
  export type AsObject = {
60
- session: string,
61
63
  responseId: string,
62
64
  queryResult?: ondewo_nlu_session_pb.QueryResult.AsObject,
63
65
  originalDetectIntentRequest?: OriginalDetectIntentRequest.AsObject,
66
+ session: string,
64
67
  headers?: google_protobuf_struct_pb.Struct.AsObject,
65
68
  }
66
69
  }
@@ -92,6 +95,11 @@ export class WebhookResponse extends jspb.Message {
92
95
  hasFollowupEventInput(): boolean;
93
96
  clearFollowupEventInput(): WebhookResponse;
94
97
 
98
+ getSessionEntityTypesList(): Array<SessionEntityType>;
99
+ setSessionEntityTypesList(value: Array<SessionEntityType>): WebhookResponse;
100
+ clearSessionEntityTypesList(): WebhookResponse;
101
+ addSessionEntityTypes(value?: SessionEntityType, index?: number): SessionEntityType;
102
+
95
103
  serializeBinary(): Uint8Array;
96
104
  toObject(includeInstance?: boolean): WebhookResponse.AsObject;
97
105
  static toObject(includeInstance: boolean, msg: WebhookResponse): WebhookResponse.AsObject;
@@ -108,6 +116,7 @@ export namespace WebhookResponse {
108
116
  payload?: google_protobuf_struct_pb.Struct.AsObject,
109
117
  outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
110
118
  followupEventInput?: ondewo_nlu_session_pb.EventInput.AsObject,
119
+ sessionEntityTypesList: Array<SessionEntityType.AsObject>,
111
120
  }
112
121
  }
113
122
 
@@ -153,3 +162,177 @@ export namespace PingResponse {
153
162
  }
154
163
  }
155
164
 
165
+ export class SessionEntityType extends jspb.Message {
166
+ getName(): string;
167
+ setName(value: string): SessionEntityType;
168
+
169
+ getEntityOverrideMode(): SessionEntityType.EntityOverrideMode;
170
+ setEntityOverrideMode(value: SessionEntityType.EntityOverrideMode): SessionEntityType;
171
+
172
+ getEntitiesList(): Array<ondewo_nlu_entity_type_pb.EntityType.Entity>;
173
+ setEntitiesList(value: Array<ondewo_nlu_entity_type_pb.EntityType.Entity>): SessionEntityType;
174
+ clearEntitiesList(): SessionEntityType;
175
+ addEntities(value?: ondewo_nlu_entity_type_pb.EntityType.Entity, index?: number): ondewo_nlu_entity_type_pb.EntityType.Entity;
176
+
177
+ serializeBinary(): Uint8Array;
178
+ toObject(includeInstance?: boolean): SessionEntityType.AsObject;
179
+ static toObject(includeInstance: boolean, msg: SessionEntityType): SessionEntityType.AsObject;
180
+ static serializeBinaryToWriter(message: SessionEntityType, writer: jspb.BinaryWriter): void;
181
+ static deserializeBinary(bytes: Uint8Array): SessionEntityType;
182
+ static deserializeBinaryFromReader(message: SessionEntityType, reader: jspb.BinaryReader): SessionEntityType;
183
+ }
184
+
185
+ export namespace SessionEntityType {
186
+ export type AsObject = {
187
+ name: string,
188
+ entityOverrideMode: SessionEntityType.EntityOverrideMode,
189
+ entitiesList: Array<ondewo_nlu_entity_type_pb.EntityType.Entity.AsObject>,
190
+ }
191
+
192
+ export enum EntityOverrideMode {
193
+ ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0,
194
+ ENTITY_OVERRIDE_MODE_OVERRIDE = 1,
195
+ ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2,
196
+ }
197
+ }
198
+
199
+ export class ListSessionEntityTypesRequest extends jspb.Message {
200
+ getParent(): string;
201
+ setParent(value: string): ListSessionEntityTypesRequest;
202
+
203
+ getPageSize(): number;
204
+ setPageSize(value: number): ListSessionEntityTypesRequest;
205
+
206
+ getPageToken(): string;
207
+ setPageToken(value: string): ListSessionEntityTypesRequest;
208
+
209
+ serializeBinary(): Uint8Array;
210
+ toObject(includeInstance?: boolean): ListSessionEntityTypesRequest.AsObject;
211
+ static toObject(includeInstance: boolean, msg: ListSessionEntityTypesRequest): ListSessionEntityTypesRequest.AsObject;
212
+ static serializeBinaryToWriter(message: ListSessionEntityTypesRequest, writer: jspb.BinaryWriter): void;
213
+ static deserializeBinary(bytes: Uint8Array): ListSessionEntityTypesRequest;
214
+ static deserializeBinaryFromReader(message: ListSessionEntityTypesRequest, reader: jspb.BinaryReader): ListSessionEntityTypesRequest;
215
+ }
216
+
217
+ export namespace ListSessionEntityTypesRequest {
218
+ export type AsObject = {
219
+ parent: string,
220
+ pageSize: number,
221
+ pageToken: string,
222
+ }
223
+ }
224
+
225
+ export class ListSessionEntityTypesResponse extends jspb.Message {
226
+ getSessionEntityTypesList(): Array<SessionEntityType>;
227
+ setSessionEntityTypesList(value: Array<SessionEntityType>): ListSessionEntityTypesResponse;
228
+ clearSessionEntityTypesList(): ListSessionEntityTypesResponse;
229
+ addSessionEntityTypes(value?: SessionEntityType, index?: number): SessionEntityType;
230
+
231
+ getNextPageToken(): string;
232
+ setNextPageToken(value: string): ListSessionEntityTypesResponse;
233
+
234
+ serializeBinary(): Uint8Array;
235
+ toObject(includeInstance?: boolean): ListSessionEntityTypesResponse.AsObject;
236
+ static toObject(includeInstance: boolean, msg: ListSessionEntityTypesResponse): ListSessionEntityTypesResponse.AsObject;
237
+ static serializeBinaryToWriter(message: ListSessionEntityTypesResponse, writer: jspb.BinaryWriter): void;
238
+ static deserializeBinary(bytes: Uint8Array): ListSessionEntityTypesResponse;
239
+ static deserializeBinaryFromReader(message: ListSessionEntityTypesResponse, reader: jspb.BinaryReader): ListSessionEntityTypesResponse;
240
+ }
241
+
242
+ export namespace ListSessionEntityTypesResponse {
243
+ export type AsObject = {
244
+ sessionEntityTypesList: Array<SessionEntityType.AsObject>,
245
+ nextPageToken: string,
246
+ }
247
+ }
248
+
249
+ export class GetSessionEntityTypeRequest extends jspb.Message {
250
+ getName(): string;
251
+ setName(value: string): GetSessionEntityTypeRequest;
252
+
253
+ serializeBinary(): Uint8Array;
254
+ toObject(includeInstance?: boolean): GetSessionEntityTypeRequest.AsObject;
255
+ static toObject(includeInstance: boolean, msg: GetSessionEntityTypeRequest): GetSessionEntityTypeRequest.AsObject;
256
+ static serializeBinaryToWriter(message: GetSessionEntityTypeRequest, writer: jspb.BinaryWriter): void;
257
+ static deserializeBinary(bytes: Uint8Array): GetSessionEntityTypeRequest;
258
+ static deserializeBinaryFromReader(message: GetSessionEntityTypeRequest, reader: jspb.BinaryReader): GetSessionEntityTypeRequest;
259
+ }
260
+
261
+ export namespace GetSessionEntityTypeRequest {
262
+ export type AsObject = {
263
+ name: string,
264
+ }
265
+ }
266
+
267
+ export class CreateSessionEntityTypeRequest extends jspb.Message {
268
+ getParent(): string;
269
+ setParent(value: string): CreateSessionEntityTypeRequest;
270
+
271
+ getSessionEntityType(): SessionEntityType | undefined;
272
+ setSessionEntityType(value?: SessionEntityType): CreateSessionEntityTypeRequest;
273
+ hasSessionEntityType(): boolean;
274
+ clearSessionEntityType(): CreateSessionEntityTypeRequest;
275
+
276
+ getSessionId(): string;
277
+ setSessionId(value: string): CreateSessionEntityTypeRequest;
278
+
279
+ serializeBinary(): Uint8Array;
280
+ toObject(includeInstance?: boolean): CreateSessionEntityTypeRequest.AsObject;
281
+ static toObject(includeInstance: boolean, msg: CreateSessionEntityTypeRequest): CreateSessionEntityTypeRequest.AsObject;
282
+ static serializeBinaryToWriter(message: CreateSessionEntityTypeRequest, writer: jspb.BinaryWriter): void;
283
+ static deserializeBinary(bytes: Uint8Array): CreateSessionEntityTypeRequest;
284
+ static deserializeBinaryFromReader(message: CreateSessionEntityTypeRequest, reader: jspb.BinaryReader): CreateSessionEntityTypeRequest;
285
+ }
286
+
287
+ export namespace CreateSessionEntityTypeRequest {
288
+ export type AsObject = {
289
+ parent: string,
290
+ sessionEntityType?: SessionEntityType.AsObject,
291
+ sessionId: string,
292
+ }
293
+ }
294
+
295
+ export class UpdateSessionEntityTypeRequest extends jspb.Message {
296
+ getSessionEntityType(): SessionEntityType | undefined;
297
+ setSessionEntityType(value?: SessionEntityType): UpdateSessionEntityTypeRequest;
298
+ hasSessionEntityType(): boolean;
299
+ clearSessionEntityType(): UpdateSessionEntityTypeRequest;
300
+
301
+ getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
302
+ setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): UpdateSessionEntityTypeRequest;
303
+ hasUpdateMask(): boolean;
304
+ clearUpdateMask(): UpdateSessionEntityTypeRequest;
305
+
306
+ serializeBinary(): Uint8Array;
307
+ toObject(includeInstance?: boolean): UpdateSessionEntityTypeRequest.AsObject;
308
+ static toObject(includeInstance: boolean, msg: UpdateSessionEntityTypeRequest): UpdateSessionEntityTypeRequest.AsObject;
309
+ static serializeBinaryToWriter(message: UpdateSessionEntityTypeRequest, writer: jspb.BinaryWriter): void;
310
+ static deserializeBinary(bytes: Uint8Array): UpdateSessionEntityTypeRequest;
311
+ static deserializeBinaryFromReader(message: UpdateSessionEntityTypeRequest, reader: jspb.BinaryReader): UpdateSessionEntityTypeRequest;
312
+ }
313
+
314
+ export namespace UpdateSessionEntityTypeRequest {
315
+ export type AsObject = {
316
+ sessionEntityType?: SessionEntityType.AsObject,
317
+ updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
318
+ }
319
+ }
320
+
321
+ export class DeleteSessionEntityTypeRequest extends jspb.Message {
322
+ getName(): string;
323
+ setName(value: string): DeleteSessionEntityTypeRequest;
324
+
325
+ serializeBinary(): Uint8Array;
326
+ toObject(includeInstance?: boolean): DeleteSessionEntityTypeRequest.AsObject;
327
+ static toObject(includeInstance: boolean, msg: DeleteSessionEntityTypeRequest): DeleteSessionEntityTypeRequest.AsObject;
328
+ static serializeBinaryToWriter(message: DeleteSessionEntityTypeRequest, writer: jspb.BinaryWriter): void;
329
+ static deserializeBinary(bytes: Uint8Array): DeleteSessionEntityTypeRequest;
330
+ static deserializeBinaryFromReader(message: DeleteSessionEntityTypeRequest, reader: jspb.BinaryReader): DeleteSessionEntityTypeRequest;
331
+ }
332
+
333
+ export namespace DeleteSessionEntityTypeRequest {
334
+ export type AsObject = {
335
+ name: string,
336
+ }
337
+ }
338
+