@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.
Files changed (73) hide show
  1. package/README.md +2 -5
  2. package/api/ondewo/csi/conversation.pb.d.ts +24 -24
  3. package/api/ondewo/nlu/agent.pb.d.ts +258 -18
  4. package/api/ondewo/nlu/agent.pbsc.d.ts +141 -60
  5. package/api/ondewo/nlu/ccai-project.pb.d.ts +1337 -0
  6. package/api/ondewo/nlu/ccai-project.pbconf.d.ts +6 -0
  7. package/api/ondewo/nlu/ccai-project.pbsc.d.ts +102 -0
  8. package/api/ondewo/nlu/common.pb.d.ts +957 -0
  9. package/api/ondewo/nlu/context.pb.d.ts +41 -0
  10. package/api/ondewo/nlu/entity-type.pb.d.ts +55 -14
  11. package/api/ondewo/nlu/entity-type.pbsc.d.ts +5 -5
  12. package/api/ondewo/nlu/intent.pb.d.ts +129 -9
  13. package/api/ondewo/nlu/intent.pbsc.d.ts +4 -4
  14. package/api/ondewo/nlu/operation-metadata.pb.d.ts +22 -1
  15. package/api/ondewo/nlu/project-role.pb.d.ts +26 -5
  16. package/api/ondewo/nlu/project-role.pbsc.d.ts +5 -5
  17. package/api/ondewo/nlu/server-statistics.pbsc.d.ts +14 -14
  18. package/api/ondewo/nlu/session.pb.d.ts +1593 -146
  19. package/api/ondewo/nlu/session.pbsc.d.ts +150 -5
  20. package/api/ondewo/nlu/user.pb.d.ts +761 -18
  21. package/api/ondewo/nlu/user.pbsc.d.ts +126 -13
  22. package/api/ondewo/nlu/webhook.pb.d.ts +545 -10
  23. package/api/ondewo/nlu/webhook.pbsc.d.ts +49 -0
  24. package/api/ondewo/s2t/speech-to-text.pb.d.ts +66 -315
  25. package/api/ondewo/t2s/text-to-speech.pb.d.ts +391 -5
  26. package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +0 -5
  27. package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +47 -64
  28. package/esm2022/api/google/api/http.pb.mjs +8 -25
  29. package/esm2022/api/google/rpc/status.pb.mjs +3 -7
  30. package/esm2022/api/google/type/latlng.pb.mjs +3 -6
  31. package/esm2022/api/ondewo/csi/conversation.pb.mjs +57 -111
  32. package/esm2022/api/ondewo/csi/conversation.pbsc.mjs +174 -177
  33. package/esm2022/api/ondewo/nlu/agent.pb.mjs +1053 -502
  34. package/esm2022/api/ondewo/nlu/agent.pbsc.mjs +899 -751
  35. package/esm2022/api/ondewo/nlu/aiservices.pb.mjs +61 -197
  36. package/esm2022/api/ondewo/nlu/aiservices.pbsc.mjs +156 -159
  37. package/esm2022/api/ondewo/nlu/ccai-project.pb.mjs +2490 -0
  38. package/esm2022/api/ondewo/nlu/ccai-project.pbconf.mjs +13 -0
  39. package/esm2022/api/ondewo/nlu/ccai-project.pbsc.mjs +194 -0
  40. package/esm2022/api/ondewo/nlu/common.pb.mjs +1856 -5
  41. package/esm2022/api/ondewo/nlu/context.pb.mjs +170 -52
  42. package/esm2022/api/ondewo/nlu/context.pbsc.mjs +120 -123
  43. package/esm2022/api/ondewo/nlu/entity-type.pb.mjs +224 -177
  44. package/esm2022/api/ondewo/nlu/entity-type.pbsc.mjs +302 -305
  45. package/esm2022/api/ondewo/nlu/intent.pb.mjs +593 -414
  46. package/esm2022/api/ondewo/nlu/intent.pbsc.mjs +499 -502
  47. package/esm2022/api/ondewo/nlu/operation-metadata.pb.mjs +78 -24
  48. package/esm2022/api/ondewo/nlu/operations.pb.mjs +18 -46
  49. package/esm2022/api/ondewo/nlu/operations.pbsc.mjs +84 -87
  50. package/esm2022/api/ondewo/nlu/project-role.pb.mjs +96 -51
  51. package/esm2022/api/ondewo/nlu/project-role.pbsc.mjs +104 -107
  52. package/esm2022/api/ondewo/nlu/project-statistics.pb.mjs +9 -20
  53. package/esm2022/api/ondewo/nlu/project-statistics.pbsc.mjs +156 -159
  54. package/esm2022/api/ondewo/nlu/server-statistics.pb.mjs +3 -5
  55. package/esm2022/api/ondewo/nlu/server-statistics.pbsc.mjs +71 -74
  56. package/esm2022/api/ondewo/nlu/session.pb.mjs +3086 -623
  57. package/esm2022/api/ondewo/nlu/session.pbsc.mjs +789 -521
  58. package/esm2022/api/ondewo/nlu/user.pb.mjs +1392 -123
  59. package/esm2022/api/ondewo/nlu/user.pbsc.mjs +497 -289
  60. package/esm2022/api/ondewo/nlu/utility.pb.mjs +42 -140
  61. package/esm2022/api/ondewo/nlu/utility.pbsc.mjs +156 -159
  62. package/esm2022/api/ondewo/nlu/webhook.pb.mjs +925 -54
  63. package/esm2022/api/ondewo/nlu/webhook.pbsc.mjs +157 -69
  64. package/esm2022/api/ondewo/s2t/speech-to-text.pb.mjs +327 -990
  65. package/esm2022/api/ondewo/s2t/speech-to-text.pbsc.mjs +282 -285
  66. package/esm2022/api/ondewo/t2s/text-to-speech.pb.mjs +964 -365
  67. package/esm2022/api/ondewo/t2s/text-to-speech.pbconf.mjs +1 -6
  68. package/esm2022/api/ondewo/t2s/text-to-speech.pbsc.mjs +307 -343
  69. package/esm2022/public-api.mjs +4 -1
  70. package/fesm2022/ondewo-csi-client-angular.mjs +45360 -34604
  71. package/fesm2022/ondewo-csi-client-angular.mjs.map +1 -1
  72. package/package.json +5 -5
  73. package/public-api.d.ts +3 -0
@@ -1,13 +1,19 @@
1
1
  import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
2
  import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
- import * as googleProtobuf005 from '@ngx-grpc/well-known-types';
4
- import * as ondewoNlu006 from '../../ondewo/nlu/context.pb';
5
- import * as googleProtobuf009 from '@ngx-grpc/well-known-types';
3
+ import * as googleProtobuf003 from '@ngx-grpc/well-known-types';
4
+ import * as googleProtobuf004 from '@ngx-grpc/well-known-types';
5
+ import * as ondewoNlu007 from '../../ondewo/nlu/context.pb';
6
+ import * as ondewoNlu008 from '../../ondewo/nlu/common.pb';
6
7
  import * as googleProtobuf010 from '@ngx-grpc/well-known-types';
7
8
  import * as googleRpc011 from '../../google/rpc/status.pb';
8
9
  import * as googleType012 from '../../google/type/latlng.pb';
9
10
  import * as ondewoNlu013 from '../../ondewo/nlu/intent.pb';
10
11
  import * as ondewoNlu014 from '../../ondewo/nlu/entity-type.pb';
12
+ export declare enum TranscriptionType {
13
+ TRANSCRIPTION_TYPE_UNSPECIFIED = 0,
14
+ TRANSCRIPTION_TYPE_S2T = 1,
15
+ TRANSCRIPTION_TYPE_HUMAN = 2
16
+ }
11
17
  export declare enum AudioEncoding {
12
18
  AUDIO_ENCODING_UNSPECIFIED = 0,
13
19
  AUDIO_ENCODING_LINEAR_16 = 1,
@@ -27,6 +33,18 @@ export declare enum ComparisonOperator {
27
33
  STARTS_WITH = 5,
28
34
  ENDS_WITH = 6
29
35
  }
36
+ export declare enum ResourceView {
37
+ RESOURCE_VIEW_UNSPECIFIED = 0,
38
+ RESOURCE_VIEW_FULL = 1,
39
+ RESOURCE_VIEW_PARTIAL = 2,
40
+ RESOURCE_VIEW_MINIMUM = 3
41
+ }
42
+ export declare enum AudioFileResourceType {
43
+ AUDIO_FILE_RESOURCE_TYPE_UNSPECIFIED = 0,
44
+ AUDIO_FILE_RESOURCE_TYPE_T2S = 1,
45
+ AUDIO_FILE_RESOURCE_TYPE_S2T = 2,
46
+ AUDIO_FILE_RESOURCE_TYPE_S2T_AND_T2S = 3
47
+ }
30
48
  /**
31
49
  * Message implementation for ondewo.nlu.DetectIntentRequest
32
50
  */
@@ -229,6 +247,7 @@ export declare class QueryParameters implements GrpcMessage {
229
247
  private _datastreamId;
230
248
  private _originId;
231
249
  private _identifiedUserId;
250
+ private _transcriptions?;
232
251
  /**
233
252
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
234
253
  * @param _value initial values object or instance of QueryParameters to deeply clone from
@@ -238,8 +257,8 @@ export declare class QueryParameters implements GrpcMessage {
238
257
  set timeZone(value: string);
239
258
  get geoLocation(): googleType012.LatLng | undefined;
240
259
  set geoLocation(value: googleType012.LatLng | undefined);
241
- get contexts(): ondewoNlu006.Context[] | undefined;
242
- set contexts(value: ondewoNlu006.Context[] | undefined);
260
+ get contexts(): ondewoNlu007.Context[] | undefined;
261
+ set contexts(value: ondewoNlu007.Context[] | undefined);
243
262
  get resetContexts(): boolean;
244
263
  set resetContexts(value: boolean);
245
264
  get payload(): googleProtobuf010.Struct | undefined;
@@ -258,6 +277,8 @@ export declare class QueryParameters implements GrpcMessage {
258
277
  set originId(value: string);
259
278
  get identifiedUserId(): string;
260
279
  set identifiedUserId(value: string);
280
+ get transcriptions(): S2tTranscription[] | undefined;
281
+ set transcriptions(value: S2tTranscription[] | undefined);
261
282
  /**
262
283
  * Serialize message to binary data
263
284
  * @param instance message instance
@@ -285,7 +306,7 @@ export declare module QueryParameters {
285
306
  interface AsObject {
286
307
  timeZone: string;
287
308
  geoLocation?: googleType012.LatLng.AsObject;
288
- contexts?: ondewoNlu006.Context.AsObject[];
309
+ contexts?: ondewoNlu007.Context.AsObject[];
289
310
  resetContexts: boolean;
290
311
  payload?: googleProtobuf010.Struct.AsObject;
291
312
  labels: string[];
@@ -295,6 +316,7 @@ export declare module QueryParameters {
295
316
  datastreamId: string;
296
317
  originId: string;
297
318
  identifiedUserId: string;
319
+ transcriptions?: S2tTranscription.AsObject[];
298
320
  }
299
321
  /**
300
322
  * Protobuf JSON representation for QueryParameters
@@ -302,7 +324,7 @@ export declare module QueryParameters {
302
324
  interface AsProtobufJSON {
303
325
  timeZone: string;
304
326
  geoLocation: googleType012.LatLng.AsProtobufJSON | null;
305
- contexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
327
+ contexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
306
328
  resetContexts: boolean;
307
329
  payload: googleProtobuf010.Struct.AsProtobufJSON | null;
308
330
  labels: string[];
@@ -312,6 +334,131 @@ export declare module QueryParameters {
312
334
  datastreamId: string;
313
335
  originId: string;
314
336
  identifiedUserId: string;
337
+ transcriptions: S2tTranscription.AsProtobufJSON[] | null;
338
+ }
339
+ }
340
+ /**
341
+ * Message implementation for ondewo.nlu.S2tTranscription
342
+ */
343
+ export declare class S2tTranscription implements GrpcMessage {
344
+ static id: string;
345
+ /**
346
+ * Deserialize binary data to message
347
+ * @param instance message instance
348
+ */
349
+ static deserializeBinary(bytes: ByteSource): S2tTranscription;
350
+ /**
351
+ * Check all the properties and set default protobuf values if necessary
352
+ * @param _instance message instance
353
+ */
354
+ static refineValues(_instance: S2tTranscription): void;
355
+ /**
356
+ * Deserializes / reads binary message into message instance using provided binary reader
357
+ * @param _instance message instance
358
+ * @param _reader binary reader instance
359
+ */
360
+ static deserializeBinaryFromReader(_instance: S2tTranscription, _reader: BinaryReader): void;
361
+ /**
362
+ * Serializes a message to binary format using provided binary reader
363
+ * @param _instance message instance
364
+ * @param _writer binary writer instance
365
+ */
366
+ static serializeBinaryToWriter(_instance: S2tTranscription, _writer: BinaryWriter): void;
367
+ private _name;
368
+ private _text;
369
+ private _score;
370
+ private _languageCode;
371
+ private _audioResourceName;
372
+ private _pipelineId;
373
+ private _durationInS;
374
+ private _transcriptionType;
375
+ private _createdAt?;
376
+ private _modifiedAt?;
377
+ private _createdBy;
378
+ private _modifiedBy;
379
+ /**
380
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
381
+ * @param _value initial values object or instance of S2tTranscription to deeply clone from
382
+ */
383
+ constructor(_value?: RecursivePartial<S2tTranscription.AsObject>);
384
+ get name(): string;
385
+ set name(value: string);
386
+ get text(): string;
387
+ set text(value: string);
388
+ get score(): number;
389
+ set score(value: number);
390
+ get languageCode(): string;
391
+ set languageCode(value: string);
392
+ get audioResourceName(): string;
393
+ set audioResourceName(value: string);
394
+ get pipelineId(): string;
395
+ set pipelineId(value: string);
396
+ get durationInS(): number;
397
+ set durationInS(value: number);
398
+ get transcriptionType(): TranscriptionType;
399
+ set transcriptionType(value: TranscriptionType);
400
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
401
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
402
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
403
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
404
+ get createdBy(): string;
405
+ set createdBy(value: string);
406
+ get modifiedBy(): string;
407
+ set modifiedBy(value: string);
408
+ /**
409
+ * Serialize message to binary data
410
+ * @param instance message instance
411
+ */
412
+ serializeBinary(): any;
413
+ /**
414
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
415
+ */
416
+ toObject(): S2tTranscription.AsObject;
417
+ /**
418
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
419
+ */
420
+ toJSON(): S2tTranscription.AsObject;
421
+ /**
422
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
423
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
424
+ * 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
425
+ */
426
+ toProtobufJSON(options?: ToProtobufJSONOptions): S2tTranscription.AsProtobufJSON;
427
+ }
428
+ export declare module S2tTranscription {
429
+ /**
430
+ * Standard JavaScript object representation for S2tTranscription
431
+ */
432
+ interface AsObject {
433
+ name: string;
434
+ text: string;
435
+ score: number;
436
+ languageCode: string;
437
+ audioResourceName: string;
438
+ pipelineId: string;
439
+ durationInS: number;
440
+ transcriptionType: TranscriptionType;
441
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
442
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
443
+ createdBy: string;
444
+ modifiedBy: string;
445
+ }
446
+ /**
447
+ * Protobuf JSON representation for S2tTranscription
448
+ */
449
+ interface AsProtobufJSON {
450
+ name: string;
451
+ text: string;
452
+ score: number;
453
+ languageCode: string;
454
+ audioResourceName: string;
455
+ pipelineId: string;
456
+ durationInS: number;
457
+ transcriptionType: string;
458
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
459
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
460
+ createdBy: string;
461
+ modifiedBy: string;
315
462
  }
316
463
  }
317
464
  /**
@@ -466,8 +613,8 @@ export declare class QueryResult implements GrpcMessage {
466
613
  set webhookSource(value: string);
467
614
  get webhookPayload(): googleProtobuf010.Struct | undefined;
468
615
  set webhookPayload(value: googleProtobuf010.Struct | undefined);
469
- get outputContexts(): ondewoNlu006.Context[] | undefined;
470
- set outputContexts(value: ondewoNlu006.Context[] | undefined);
616
+ get outputContexts(): ondewoNlu007.Context[] | undefined;
617
+ set outputContexts(value: ondewoNlu007.Context[] | undefined);
471
618
  get intent(): ondewoNlu013.Intent | undefined;
472
619
  set intent(value: ondewoNlu013.Intent | undefined);
473
620
  get intentDetectionConfidence(): number;
@@ -512,7 +659,7 @@ export declare module QueryResult {
512
659
  fulfillmentMessages?: ondewoNlu013.Intent.Message.AsObject[];
513
660
  webhookSource: string;
514
661
  webhookPayload?: googleProtobuf010.Struct.AsObject;
515
- outputContexts?: ondewoNlu006.Context.AsObject[];
662
+ outputContexts?: ondewoNlu007.Context.AsObject[];
516
663
  intent?: ondewoNlu013.Intent.AsObject;
517
664
  intentDetectionConfidence: number;
518
665
  queryTextOriginal: string;
@@ -532,7 +679,7 @@ export declare module QueryResult {
532
679
  fulfillmentMessages: ondewoNlu013.Intent.Message.AsProtobufJSON[] | null;
533
680
  webhookSource: string;
534
681
  webhookPayload: googleProtobuf010.Struct.AsProtobufJSON | null;
535
- outputContexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
682
+ outputContexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
536
683
  intent: ondewoNlu013.Intent.AsProtobufJSON | null;
537
684
  intentDetectionConfidence: number;
538
685
  queryTextOriginal: string;
@@ -1069,6 +1216,10 @@ export declare class Session implements GrpcMessage {
1069
1216
  private _name;
1070
1217
  private _sessionSteps?;
1071
1218
  private _sessionInfo?;
1219
+ private _createdAt?;
1220
+ private _modifiedAt?;
1221
+ private _createdBy;
1222
+ private _modifiedBy;
1072
1223
  /**
1073
1224
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1074
1225
  * @param _value initial values object or instance of Session to deeply clone from
@@ -1080,6 +1231,14 @@ export declare class Session implements GrpcMessage {
1080
1231
  set sessionSteps(value: SessionStep[] | undefined);
1081
1232
  get sessionInfo(): SessionInfo | undefined;
1082
1233
  set sessionInfo(value: SessionInfo | undefined);
1234
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
1235
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
1236
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
1237
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
1238
+ get createdBy(): string;
1239
+ set createdBy(value: string);
1240
+ get modifiedBy(): string;
1241
+ set modifiedBy(value: string);
1083
1242
  /**
1084
1243
  * Serialize message to binary data
1085
1244
  * @param instance message instance
@@ -1108,6 +1267,10 @@ export declare module Session {
1108
1267
  name: string;
1109
1268
  sessionSteps?: SessionStep.AsObject[];
1110
1269
  sessionInfo?: SessionInfo.AsObject;
1270
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
1271
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
1272
+ createdBy: string;
1273
+ modifiedBy: string;
1111
1274
  }
1112
1275
  /**
1113
1276
  * Protobuf JSON representation for Session
@@ -1116,6 +1279,10 @@ export declare module Session {
1116
1279
  name: string;
1117
1280
  sessionSteps: SessionStep.AsProtobufJSON[] | null;
1118
1281
  sessionInfo: SessionInfo.AsProtobufJSON | null;
1282
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
1283
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
1284
+ createdBy: string;
1285
+ modifiedBy: string;
1119
1286
  }
1120
1287
  enum View {
1121
1288
  VIEW_UNSPECIFIED = 0,
@@ -1155,6 +1322,11 @@ export declare class SessionStep implements GrpcMessage {
1155
1322
  private _detectIntentResponse?;
1156
1323
  private _contexts?;
1157
1324
  private _timestamp?;
1325
+ private _createdAt?;
1326
+ private _modifiedAt?;
1327
+ private _createdBy;
1328
+ private _modifiedBy;
1329
+ private _audioFileResources?;
1158
1330
  /**
1159
1331
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1160
1332
  * @param _value initial values object or instance of SessionStep to deeply clone from
@@ -1166,10 +1338,20 @@ export declare class SessionStep implements GrpcMessage {
1166
1338
  set detectIntentRequest(value: DetectIntentRequest | undefined);
1167
1339
  get detectIntentResponse(): DetectIntentResponse | undefined;
1168
1340
  set detectIntentResponse(value: DetectIntentResponse | undefined);
1169
- get contexts(): ondewoNlu006.Context[] | undefined;
1170
- set contexts(value: ondewoNlu006.Context[] | undefined);
1171
- get timestamp(): googleProtobuf009.Timestamp | undefined;
1172
- set timestamp(value: googleProtobuf009.Timestamp | undefined);
1341
+ get contexts(): ondewoNlu007.Context[] | undefined;
1342
+ set contexts(value: ondewoNlu007.Context[] | undefined);
1343
+ get timestamp(): googleProtobuf004.Timestamp | undefined;
1344
+ set timestamp(value: googleProtobuf004.Timestamp | undefined);
1345
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
1346
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
1347
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
1348
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
1349
+ get createdBy(): string;
1350
+ set createdBy(value: string);
1351
+ get modifiedBy(): string;
1352
+ set modifiedBy(value: string);
1353
+ get audioFileResources(): AudioFileResource[] | undefined;
1354
+ set audioFileResources(value: AudioFileResource[] | undefined);
1173
1355
  /**
1174
1356
  * Serialize message to binary data
1175
1357
  * @param instance message instance
@@ -1198,8 +1380,13 @@ export declare module SessionStep {
1198
1380
  name: string;
1199
1381
  detectIntentRequest?: DetectIntentRequest.AsObject;
1200
1382
  detectIntentResponse?: DetectIntentResponse.AsObject;
1201
- contexts?: ondewoNlu006.Context.AsObject[];
1202
- timestamp?: googleProtobuf009.Timestamp.AsObject;
1383
+ contexts?: ondewoNlu007.Context.AsObject[];
1384
+ timestamp?: googleProtobuf004.Timestamp.AsObject;
1385
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
1386
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
1387
+ createdBy: string;
1388
+ modifiedBy: string;
1389
+ audioFileResources?: AudioFileResource.AsObject[];
1203
1390
  }
1204
1391
  /**
1205
1392
  * Protobuf JSON representation for SessionStep
@@ -1208,8 +1395,13 @@ export declare module SessionStep {
1208
1395
  name: string;
1209
1396
  detectIntentRequest: DetectIntentRequest.AsProtobufJSON | null;
1210
1397
  detectIntentResponse: DetectIntentResponse.AsProtobufJSON | null;
1211
- contexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
1212
- timestamp: googleProtobuf009.Timestamp.AsProtobufJSON | null;
1398
+ contexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
1399
+ timestamp: googleProtobuf004.Timestamp.AsProtobufJSON | null;
1400
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
1401
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
1402
+ createdBy: string;
1403
+ modifiedBy: string;
1404
+ audioFileResources: AudioFileResource.AsProtobufJSON[] | null;
1213
1405
  }
1214
1406
  }
1215
1407
  /**
@@ -1336,8 +1528,8 @@ export declare class ListSessionsRequest implements GrpcMessage {
1336
1528
  set pageToken(value: string);
1337
1529
  get sessionFilter(): SessionFilter | undefined;
1338
1530
  set sessionFilter(value: SessionFilter | undefined);
1339
- get fieldMask(): googleProtobuf005.FieldMask | undefined;
1340
- set fieldMask(value: googleProtobuf005.FieldMask | undefined);
1531
+ get fieldMask(): googleProtobuf003.FieldMask | undefined;
1532
+ set fieldMask(value: googleProtobuf003.FieldMask | undefined);
1341
1533
  /**
1342
1534
  * Serialize message to binary data
1343
1535
  * @param instance message instance
@@ -1367,7 +1559,7 @@ export declare module ListSessionsRequest {
1367
1559
  sessionView: Session.View;
1368
1560
  pageToken: string;
1369
1561
  sessionFilter?: SessionFilter.AsObject;
1370
- fieldMask?: googleProtobuf005.FieldMask.AsObject;
1562
+ fieldMask?: googleProtobuf003.FieldMask.AsObject;
1371
1563
  }
1372
1564
  /**
1373
1565
  * Protobuf JSON representation for ListSessionsRequest
@@ -1377,7 +1569,7 @@ export declare module ListSessionsRequest {
1377
1569
  sessionView: string;
1378
1570
  pageToken: string;
1379
1571
  sessionFilter: SessionFilter.AsProtobufJSON | null;
1380
- fieldMask: googleProtobuf005.FieldMask.AsProtobufJSON | null;
1572
+ fieldMask: googleProtobuf003.FieldMask.AsProtobufJSON | null;
1381
1573
  }
1382
1574
  }
1383
1575
  /**
@@ -1575,10 +1767,10 @@ export declare class SessionFilter implements GrpcMessage {
1575
1767
  set intentTags(value: string[]);
1576
1768
  get sessionIds(): string[];
1577
1769
  set sessionIds(value: string[]);
1578
- get inputContexts(): ondewoNlu006.Context[] | undefined;
1579
- set inputContexts(value: ondewoNlu006.Context[] | undefined);
1580
- get outputContexts(): ondewoNlu006.Context[] | undefined;
1581
- set outputContexts(value: ondewoNlu006.Context[] | undefined);
1770
+ get inputContexts(): ondewoNlu007.Context[] | undefined;
1771
+ set inputContexts(value: ondewoNlu007.Context[] | undefined);
1772
+ get outputContexts(): ondewoNlu007.Context[] | undefined;
1773
+ set outputContexts(value: ondewoNlu007.Context[] | undefined);
1582
1774
  get durationInSMin(): number;
1583
1775
  set durationInSMin(value: number);
1584
1776
  get durationInSMax(): number;
@@ -1683,8 +1875,8 @@ export declare module SessionFilter {
1683
1875
  userIds: string[];
1684
1876
  intentTags: string[];
1685
1877
  sessionIds: string[];
1686
- inputContexts?: ondewoNlu006.Context.AsObject[];
1687
- outputContexts?: ondewoNlu006.Context.AsObject[];
1878
+ inputContexts?: ondewoNlu007.Context.AsObject[];
1879
+ outputContexts?: ondewoNlu007.Context.AsObject[];
1688
1880
  durationInSMin: number;
1689
1881
  durationInSMax: number;
1690
1882
  durationInMMin: number;
@@ -1737,8 +1929,8 @@ export declare module SessionFilter {
1737
1929
  userIds: string[];
1738
1930
  intentTags: string[];
1739
1931
  sessionIds: string[];
1740
- inputContexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
1741
- outputContexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
1932
+ inputContexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
1933
+ outputContexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
1742
1934
  durationInSMin: number;
1743
1935
  durationInSMax: number;
1744
1936
  durationInMMin: number;
@@ -1832,6 +2024,7 @@ export declare class SessionInfo implements GrpcMessage {
1832
2024
  private _originIds;
1833
2025
  private _identifiedUserIds;
1834
2026
  private _durationInterval60sRounded;
2027
+ private _parentComment?;
1835
2028
  /**
1836
2029
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1837
2030
  * @param _value initial values object or instance of SessionInfo to deeply clone from
@@ -1901,6 +2094,8 @@ export declare class SessionInfo implements GrpcMessage {
1901
2094
  set identifiedUserIds(value: string[]);
1902
2095
  get durationInterval60sRounded(): number;
1903
2096
  set durationInterval60sRounded(value: number);
2097
+ get parentComment(): ondewoNlu008.Comment[] | undefined;
2098
+ set parentComment(value: ondewoNlu008.Comment[] | undefined);
1904
2099
  /**
1905
2100
  * Serialize message to binary data
1906
2101
  * @param instance message instance
@@ -1958,6 +2153,7 @@ export declare module SessionInfo {
1958
2153
  originIds: string[];
1959
2154
  identifiedUserIds: string[];
1960
2155
  durationInterval60sRounded: number;
2156
+ parentComment?: ondewoNlu008.Comment.AsObject[];
1961
2157
  }
1962
2158
  /**
1963
2159
  * Protobuf JSON representation for SessionInfo
@@ -1995,6 +2191,7 @@ export declare module SessionInfo {
1995
2191
  originIds: string[];
1996
2192
  identifiedUserIds: string[];
1997
2193
  durationInterval60sRounded: number;
2194
+ parentComment: ondewoNlu008.Comment.AsProtobufJSON[] | null;
1998
2195
  }
1999
2196
  /**
2000
2197
  * Message implementation for ondewo.nlu.SessionInfo.ContextSteps
@@ -2029,8 +2226,8 @@ export declare module SessionInfo {
2029
2226
  * @param _value initial values object or instance of ContextSteps to deeply clone from
2030
2227
  */
2031
2228
  constructor(_value?: RecursivePartial<ContextSteps.AsObject>);
2032
- get contexts(): ondewoNlu006.Context[] | undefined;
2033
- set contexts(value: ondewoNlu006.Context[] | undefined);
2229
+ get contexts(): ondewoNlu007.Context[] | undefined;
2230
+ set contexts(value: ondewoNlu007.Context[] | undefined);
2034
2231
  /**
2035
2232
  * Serialize message to binary data
2036
2233
  * @param instance message instance
@@ -2056,13 +2253,13 @@ export declare module SessionInfo {
2056
2253
  * Standard JavaScript object representation for ContextSteps
2057
2254
  */
2058
2255
  interface AsObject {
2059
- contexts?: ondewoNlu006.Context.AsObject[];
2256
+ contexts?: ondewoNlu007.Context.AsObject[];
2060
2257
  }
2061
2258
  /**
2062
2259
  * Protobuf JSON representation for ContextSteps
2063
2260
  */
2064
2261
  interface AsProtobufJSON {
2065
- contexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
2262
+ contexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
2066
2263
  }
2067
2264
  }
2068
2265
  }
@@ -2179,8 +2376,8 @@ export declare class GetSessionRequest implements GrpcMessage {
2179
2376
  set sessionId(value: string);
2180
2377
  get sessionView(): Session.View;
2181
2378
  set sessionView(value: Session.View);
2182
- get fieldMask(): googleProtobuf005.FieldMask | undefined;
2183
- set fieldMask(value: googleProtobuf005.FieldMask | undefined);
2379
+ get fieldMask(): googleProtobuf003.FieldMask | undefined;
2380
+ set fieldMask(value: googleProtobuf003.FieldMask | undefined);
2184
2381
  /**
2185
2382
  * Serialize message to binary data
2186
2383
  * @param instance message instance
@@ -2208,7 +2405,7 @@ export declare module GetSessionRequest {
2208
2405
  interface AsObject {
2209
2406
  sessionId: string;
2210
2407
  sessionView: Session.View;
2211
- fieldMask?: googleProtobuf005.FieldMask.AsObject;
2408
+ fieldMask?: googleProtobuf003.FieldMask.AsObject;
2212
2409
  }
2213
2410
  /**
2214
2411
  * Protobuf JSON representation for GetSessionRequest
@@ -2216,7 +2413,7 @@ export declare module GetSessionRequest {
2216
2413
  interface AsProtobufJSON {
2217
2414
  sessionId: string;
2218
2415
  sessionView: string;
2219
- fieldMask: googleProtobuf005.FieldMask.AsProtobufJSON | null;
2416
+ fieldMask: googleProtobuf003.FieldMask.AsProtobufJSON | null;
2220
2417
  }
2221
2418
  }
2222
2419
  /**
@@ -2261,8 +2458,8 @@ export declare class CreateSessionRequest implements GrpcMessage {
2261
2458
  set sessionUuid(value: string);
2262
2459
  get labels(): string[];
2263
2460
  set labels(value: string[]);
2264
- get contexts(): ondewoNlu006.Context[] | undefined;
2265
- set contexts(value: ondewoNlu006.Context[] | undefined);
2461
+ get contexts(): ondewoNlu007.Context[] | undefined;
2462
+ set contexts(value: ondewoNlu007.Context[] | undefined);
2266
2463
  /**
2267
2464
  * Serialize message to binary data
2268
2465
  * @param instance message instance
@@ -2291,7 +2488,7 @@ export declare module CreateSessionRequest {
2291
2488
  parent: string;
2292
2489
  sessionUuid: string;
2293
2490
  labels: string[];
2294
- contexts?: ondewoNlu006.Context.AsObject[];
2491
+ contexts?: ondewoNlu007.Context.AsObject[];
2295
2492
  }
2296
2493
  /**
2297
2494
  * Protobuf JSON representation for CreateSessionRequest
@@ -2300,7 +2497,7 @@ export declare module CreateSessionRequest {
2300
2497
  parent: string;
2301
2498
  sessionUuid: string;
2302
2499
  labels: string[];
2303
- contexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
2500
+ contexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
2304
2501
  }
2305
2502
  }
2306
2503
  /**
@@ -2485,6 +2682,10 @@ export declare class SessionReview implements GrpcMessage {
2485
2682
  static serializeBinaryToWriter(_instance: SessionReview, _writer: BinaryWriter): void;
2486
2683
  private _name;
2487
2684
  private _sessionReviewSteps?;
2685
+ private _createdAt?;
2686
+ private _modifiedAt?;
2687
+ private _createdBy;
2688
+ private _modifiedBy;
2488
2689
  /**
2489
2690
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2490
2691
  * @param _value initial values object or instance of SessionReview to deeply clone from
@@ -2494,6 +2695,14 @@ export declare class SessionReview implements GrpcMessage {
2494
2695
  set name(value: string);
2495
2696
  get sessionReviewSteps(): SessionReviewStep[] | undefined;
2496
2697
  set sessionReviewSteps(value: SessionReviewStep[] | undefined);
2698
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
2699
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
2700
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
2701
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
2702
+ get createdBy(): string;
2703
+ set createdBy(value: string);
2704
+ get modifiedBy(): string;
2705
+ set modifiedBy(value: string);
2497
2706
  /**
2498
2707
  * Serialize message to binary data
2499
2708
  * @param instance message instance
@@ -2521,6 +2730,10 @@ export declare module SessionReview {
2521
2730
  interface AsObject {
2522
2731
  name: string;
2523
2732
  sessionReviewSteps?: SessionReviewStep.AsObject[];
2733
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
2734
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
2735
+ createdBy: string;
2736
+ modifiedBy: string;
2524
2737
  }
2525
2738
  /**
2526
2739
  * Protobuf JSON representation for SessionReview
@@ -2528,6 +2741,10 @@ export declare module SessionReview {
2528
2741
  interface AsProtobufJSON {
2529
2742
  name: string;
2530
2743
  sessionReviewSteps: SessionReviewStep.AsProtobufJSON[] | null;
2744
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
2745
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
2746
+ createdBy: string;
2747
+ modifiedBy: string;
2531
2748
  }
2532
2749
  enum View {
2533
2750
  VIEW_UNSPECIFIED = 0,
@@ -2571,6 +2788,11 @@ export declare class SessionReviewStep implements GrpcMessage {
2571
2788
  private _queryTextOriginal;
2572
2789
  private _platforms;
2573
2790
  private _timestamp?;
2791
+ private _createdAt?;
2792
+ private _modifiedAt?;
2793
+ private _createdBy;
2794
+ private _modifiedBy;
2795
+ private _audioFileResources?;
2574
2796
  /**
2575
2797
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2576
2798
  * @param _value initial values object or instance of SessionReviewStep to deeply clone from
@@ -2584,16 +2806,26 @@ export declare class SessionReviewStep implements GrpcMessage {
2584
2806
  set languageCode(value: string);
2585
2807
  get detectedIntents(): DetectedIntent[] | undefined;
2586
2808
  set detectedIntents(value: DetectedIntent[] | undefined);
2587
- get contexts(): ondewoNlu006.Context[] | undefined;
2588
- set contexts(value: ondewoNlu006.Context[] | undefined);
2589
- get contextsOut(): ondewoNlu006.Context[] | undefined;
2590
- set contextsOut(value: ondewoNlu006.Context[] | undefined);
2809
+ get contexts(): ondewoNlu007.Context[] | undefined;
2810
+ set contexts(value: ondewoNlu007.Context[] | undefined);
2811
+ get contextsOut(): ondewoNlu007.Context[] | undefined;
2812
+ set contextsOut(value: ondewoNlu007.Context[] | undefined);
2591
2813
  get queryTextOriginal(): string;
2592
2814
  set queryTextOriginal(value: string);
2593
2815
  get platforms(): ondewoNlu013.Intent.Message.Platform[];
2594
2816
  set platforms(value: ondewoNlu013.Intent.Message.Platform[]);
2595
- get timestamp(): googleProtobuf009.Timestamp | undefined;
2596
- set timestamp(value: googleProtobuf009.Timestamp | undefined);
2817
+ get timestamp(): googleProtobuf004.Timestamp | undefined;
2818
+ set timestamp(value: googleProtobuf004.Timestamp | undefined);
2819
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
2820
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
2821
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
2822
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
2823
+ get createdBy(): string;
2824
+ set createdBy(value: string);
2825
+ get modifiedBy(): string;
2826
+ set modifiedBy(value: string);
2827
+ get audioFileResources(): AudioFileResource[] | undefined;
2828
+ set audioFileResources(value: AudioFileResource[] | undefined);
2597
2829
  /**
2598
2830
  * Serialize message to binary data
2599
2831
  * @param instance message instance
@@ -2623,11 +2855,16 @@ export declare module SessionReviewStep {
2623
2855
  annotatedUsersays?: ondewoNlu013.Intent.TrainingPhrase.AsObject;
2624
2856
  languageCode: string;
2625
2857
  detectedIntents?: DetectedIntent.AsObject[];
2626
- contexts?: ondewoNlu006.Context.AsObject[];
2627
- contextsOut?: ondewoNlu006.Context.AsObject[];
2858
+ contexts?: ondewoNlu007.Context.AsObject[];
2859
+ contextsOut?: ondewoNlu007.Context.AsObject[];
2628
2860
  queryTextOriginal: string;
2629
2861
  platforms: ondewoNlu013.Intent.Message.Platform[];
2630
- timestamp?: googleProtobuf009.Timestamp.AsObject;
2862
+ timestamp?: googleProtobuf004.Timestamp.AsObject;
2863
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
2864
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
2865
+ createdBy: string;
2866
+ modifiedBy: string;
2867
+ audioFileResources?: AudioFileResource.AsObject[];
2631
2868
  }
2632
2869
  /**
2633
2870
  * Protobuf JSON representation for SessionReviewStep
@@ -2637,11 +2874,16 @@ export declare module SessionReviewStep {
2637
2874
  annotatedUsersays: ondewoNlu013.Intent.TrainingPhrase.AsProtobufJSON | null;
2638
2875
  languageCode: string;
2639
2876
  detectedIntents: DetectedIntent.AsProtobufJSON[] | null;
2640
- contexts: ondewoNlu006.Context.AsProtobufJSON[] | null;
2641
- contextsOut: ondewoNlu006.Context.AsProtobufJSON[] | null;
2877
+ contexts: ondewoNlu007.Context.AsProtobufJSON[] | null;
2878
+ contextsOut: ondewoNlu007.Context.AsProtobufJSON[] | null;
2642
2879
  queryTextOriginal: string;
2643
2880
  platforms: string[];
2644
- timestamp: googleProtobuf009.Timestamp.AsProtobufJSON | null;
2881
+ timestamp: googleProtobuf004.Timestamp.AsProtobufJSON | null;
2882
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
2883
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
2884
+ createdBy: string;
2885
+ modifiedBy: string;
2886
+ audioFileResources: AudioFileResource.AsProtobufJSON[] | null;
2645
2887
  }
2646
2888
  }
2647
2889
  /**
@@ -4953,46 +5195,43 @@ export declare module DeleteSessionLabelsRequest {
4953
5195
  }
4954
5196
  }
4955
5197
  /**
4956
- * Message implementation for ondewo.nlu.ListSessionReviewsRequest
5198
+ * Message implementation for ondewo.nlu.AddSessionCommentRequest
4957
5199
  */
4958
- export declare class ListSessionReviewsRequest implements GrpcMessage {
5200
+ export declare class AddSessionCommentRequest implements GrpcMessage {
4959
5201
  static id: string;
4960
5202
  /**
4961
5203
  * Deserialize binary data to message
4962
5204
  * @param instance message instance
4963
5205
  */
4964
- static deserializeBinary(bytes: ByteSource): ListSessionReviewsRequest;
5206
+ static deserializeBinary(bytes: ByteSource): AddSessionCommentRequest;
4965
5207
  /**
4966
5208
  * Check all the properties and set default protobuf values if necessary
4967
5209
  * @param _instance message instance
4968
5210
  */
4969
- static refineValues(_instance: ListSessionReviewsRequest): void;
5211
+ static refineValues(_instance: AddSessionCommentRequest): void;
4970
5212
  /**
4971
5213
  * Deserializes / reads binary message into message instance using provided binary reader
4972
5214
  * @param _instance message instance
4973
5215
  * @param _reader binary reader instance
4974
5216
  */
4975
- static deserializeBinaryFromReader(_instance: ListSessionReviewsRequest, _reader: BinaryReader): void;
5217
+ static deserializeBinaryFromReader(_instance: AddSessionCommentRequest, _reader: BinaryReader): void;
4976
5218
  /**
4977
5219
  * Serializes a message to binary format using provided binary reader
4978
5220
  * @param _instance message instance
4979
5221
  * @param _writer binary writer instance
4980
5222
  */
4981
- static serializeBinaryToWriter(_instance: ListSessionReviewsRequest, _writer: BinaryWriter): void;
5223
+ static serializeBinaryToWriter(_instance: AddSessionCommentRequest, _writer: BinaryWriter): void;
4982
5224
  private _sessionId;
4983
- private _sessionReviewView;
4984
- private _pageToken;
5225
+ private _comment?;
4985
5226
  /**
4986
5227
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
4987
- * @param _value initial values object or instance of ListSessionReviewsRequest to deeply clone from
5228
+ * @param _value initial values object or instance of AddSessionCommentRequest to deeply clone from
4988
5229
  */
4989
- constructor(_value?: RecursivePartial<ListSessionReviewsRequest.AsObject>);
5230
+ constructor(_value?: RecursivePartial<AddSessionCommentRequest.AsObject>);
4990
5231
  get sessionId(): string;
4991
5232
  set sessionId(value: string);
4992
- get sessionReviewView(): SessionReview.View;
4993
- set sessionReviewView(value: SessionReview.View);
4994
- get pageToken(): string;
4995
- set pageToken(value: string);
5233
+ get comment(): ondewoNlu008.Comment | undefined;
5234
+ set comment(value: ondewoNlu008.Comment | undefined);
4996
5235
  /**
4997
5236
  * Serialize message to binary data
4998
5237
  * @param instance message instance
@@ -5001,74 +5240,72 @@ export declare class ListSessionReviewsRequest implements GrpcMessage {
5001
5240
  /**
5002
5241
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5003
5242
  */
5004
- toObject(): ListSessionReviewsRequest.AsObject;
5243
+ toObject(): AddSessionCommentRequest.AsObject;
5005
5244
  /**
5006
5245
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5007
5246
  */
5008
- toJSON(): ListSessionReviewsRequest.AsObject;
5247
+ toJSON(): AddSessionCommentRequest.AsObject;
5009
5248
  /**
5010
5249
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5011
5250
  * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5012
5251
  * 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
5013
5252
  */
5014
- toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsRequest.AsProtobufJSON;
5253
+ toProtobufJSON(options?: ToProtobufJSONOptions): AddSessionCommentRequest.AsProtobufJSON;
5015
5254
  }
5016
- export declare module ListSessionReviewsRequest {
5255
+ export declare module AddSessionCommentRequest {
5017
5256
  /**
5018
- * Standard JavaScript object representation for ListSessionReviewsRequest
5257
+ * Standard JavaScript object representation for AddSessionCommentRequest
5019
5258
  */
5020
5259
  interface AsObject {
5021
5260
  sessionId: string;
5022
- sessionReviewView: SessionReview.View;
5023
- pageToken: string;
5261
+ comment?: ondewoNlu008.Comment.AsObject;
5024
5262
  }
5025
5263
  /**
5026
- * Protobuf JSON representation for ListSessionReviewsRequest
5264
+ * Protobuf JSON representation for AddSessionCommentRequest
5027
5265
  */
5028
5266
  interface AsProtobufJSON {
5029
5267
  sessionId: string;
5030
- sessionReviewView: string;
5031
- pageToken: string;
5268
+ comment: ondewoNlu008.Comment.AsProtobufJSON | null;
5032
5269
  }
5033
5270
  }
5034
5271
  /**
5035
- * Message implementation for ondewo.nlu.ListSessionReviewsResponse
5272
+ * Message implementation for ondewo.nlu.DeleteSessionCommentsRequest
5036
5273
  */
5037
- export declare class ListSessionReviewsResponse implements GrpcMessage {
5274
+ export declare class DeleteSessionCommentsRequest implements GrpcMessage {
5038
5275
  static id: string;
5039
5276
  /**
5040
5277
  * Deserialize binary data to message
5041
5278
  * @param instance message instance
5042
5279
  */
5043
- static deserializeBinary(bytes: ByteSource): ListSessionReviewsResponse;
5280
+ static deserializeBinary(bytes: ByteSource): DeleteSessionCommentsRequest;
5044
5281
  /**
5045
5282
  * Check all the properties and set default protobuf values if necessary
5046
5283
  * @param _instance message instance
5047
5284
  */
5048
- static refineValues(_instance: ListSessionReviewsResponse): void;
5285
+ static refineValues(_instance: DeleteSessionCommentsRequest): void;
5049
5286
  /**
5050
5287
  * Deserializes / reads binary message into message instance using provided binary reader
5051
5288
  * @param _instance message instance
5052
5289
  * @param _reader binary reader instance
5053
5290
  */
5054
- static deserializeBinaryFromReader(_instance: ListSessionReviewsResponse, _reader: BinaryReader): void;
5291
+ static deserializeBinaryFromReader(_instance: DeleteSessionCommentsRequest, _reader: BinaryReader): void;
5055
5292
  /**
5056
5293
  * Serializes a message to binary format using provided binary reader
5057
5294
  * @param _instance message instance
5058
5295
  * @param _writer binary writer instance
5059
5296
  */
5060
- static serializeBinaryToWriter(_instance: ListSessionReviewsResponse, _writer: BinaryWriter): void;
5061
- private _sessionReviews?;
5062
- private _nextPageToken;
5297
+ static serializeBinaryToWriter(_instance: DeleteSessionCommentsRequest, _writer: BinaryWriter): void;
5298
+ private _sessionId;
5299
+ private _commentNames;
5063
5300
  /**
5064
5301
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5065
- * @param _value initial values object or instance of ListSessionReviewsResponse to deeply clone from
5302
+ * @param _value initial values object or instance of DeleteSessionCommentsRequest to deeply clone from
5066
5303
  */
5067
- constructor(_value?: RecursivePartial<ListSessionReviewsResponse.AsObject>);
5068
- get sessionReviews(): SessionReview[] | undefined;
5069
- set sessionReviews(value: SessionReview[] | undefined);
5070
- get nextPageToken(): string;
5071
- set nextPageToken(value: string);
5304
+ constructor(_value?: RecursivePartial<DeleteSessionCommentsRequest.AsObject>);
5305
+ get sessionId(): string;
5306
+ set sessionId(value: string);
5307
+ get commentNames(): string[];
5308
+ set commentNames(value: string[]);
5072
5309
  /**
5073
5310
  * Serialize message to binary data
5074
5311
  * @param instance message instance
@@ -5077,72 +5314,72 @@ export declare class ListSessionReviewsResponse implements GrpcMessage {
5077
5314
  /**
5078
5315
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5079
5316
  */
5080
- toObject(): ListSessionReviewsResponse.AsObject;
5317
+ toObject(): DeleteSessionCommentsRequest.AsObject;
5081
5318
  /**
5082
5319
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5083
5320
  */
5084
- toJSON(): ListSessionReviewsResponse.AsObject;
5321
+ toJSON(): DeleteSessionCommentsRequest.AsObject;
5085
5322
  /**
5086
5323
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5087
5324
  * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5088
5325
  * 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
5089
5326
  */
5090
- toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsResponse.AsProtobufJSON;
5327
+ toProtobufJSON(options?: ToProtobufJSONOptions): DeleteSessionCommentsRequest.AsProtobufJSON;
5091
5328
  }
5092
- export declare module ListSessionReviewsResponse {
5329
+ export declare module DeleteSessionCommentsRequest {
5093
5330
  /**
5094
- * Standard JavaScript object representation for ListSessionReviewsResponse
5331
+ * Standard JavaScript object representation for DeleteSessionCommentsRequest
5095
5332
  */
5096
5333
  interface AsObject {
5097
- sessionReviews?: SessionReview.AsObject[];
5098
- nextPageToken: string;
5334
+ sessionId: string;
5335
+ commentNames: string[];
5099
5336
  }
5100
5337
  /**
5101
- * Protobuf JSON representation for ListSessionReviewsResponse
5338
+ * Protobuf JSON representation for DeleteSessionCommentsRequest
5102
5339
  */
5103
5340
  interface AsProtobufJSON {
5104
- sessionReviews: SessionReview.AsProtobufJSON[] | null;
5105
- nextPageToken: string;
5341
+ sessionId: string;
5342
+ commentNames: string[];
5106
5343
  }
5107
5344
  }
5108
5345
  /**
5109
- * Message implementation for ondewo.nlu.GetSessionReviewRequest
5346
+ * Message implementation for ondewo.nlu.UpdateSessionCommentsRequest
5110
5347
  */
5111
- export declare class GetSessionReviewRequest implements GrpcMessage {
5348
+ export declare class UpdateSessionCommentsRequest implements GrpcMessage {
5112
5349
  static id: string;
5113
5350
  /**
5114
5351
  * Deserialize binary data to message
5115
5352
  * @param instance message instance
5116
5353
  */
5117
- static deserializeBinary(bytes: ByteSource): GetSessionReviewRequest;
5354
+ static deserializeBinary(bytes: ByteSource): UpdateSessionCommentsRequest;
5118
5355
  /**
5119
5356
  * Check all the properties and set default protobuf values if necessary
5120
5357
  * @param _instance message instance
5121
5358
  */
5122
- static refineValues(_instance: GetSessionReviewRequest): void;
5359
+ static refineValues(_instance: UpdateSessionCommentsRequest): void;
5123
5360
  /**
5124
5361
  * Deserializes / reads binary message into message instance using provided binary reader
5125
5362
  * @param _instance message instance
5126
5363
  * @param _reader binary reader instance
5127
5364
  */
5128
- static deserializeBinaryFromReader(_instance: GetSessionReviewRequest, _reader: BinaryReader): void;
5365
+ static deserializeBinaryFromReader(_instance: UpdateSessionCommentsRequest, _reader: BinaryReader): void;
5129
5366
  /**
5130
5367
  * Serializes a message to binary format using provided binary reader
5131
5368
  * @param _instance message instance
5132
5369
  * @param _writer binary writer instance
5133
5370
  */
5134
- static serializeBinaryToWriter(_instance: GetSessionReviewRequest, _writer: BinaryWriter): void;
5135
- private _sessionReviewId;
5136
- private _sessionReviewView;
5371
+ static serializeBinaryToWriter(_instance: UpdateSessionCommentsRequest, _writer: BinaryWriter): void;
5372
+ private _sessionId;
5373
+ private _comment?;
5137
5374
  /**
5138
5375
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5139
- * @param _value initial values object or instance of GetSessionReviewRequest to deeply clone from
5376
+ * @param _value initial values object or instance of UpdateSessionCommentsRequest to deeply clone from
5140
5377
  */
5141
- constructor(_value?: RecursivePartial<GetSessionReviewRequest.AsObject>);
5142
- get sessionReviewId(): string;
5143
- set sessionReviewId(value: string);
5144
- get sessionReviewView(): SessionReview.View;
5145
- set sessionReviewView(value: SessionReview.View);
5378
+ constructor(_value?: RecursivePartial<UpdateSessionCommentsRequest.AsObject>);
5379
+ get sessionId(): string;
5380
+ set sessionId(value: string);
5381
+ get comment(): ondewoNlu008.Comment | undefined;
5382
+ set comment(value: ondewoNlu008.Comment | undefined);
5146
5383
  /**
5147
5384
  * Serialize message to binary data
5148
5385
  * @param instance message instance
@@ -5151,72 +5388,72 @@ export declare class GetSessionReviewRequest implements GrpcMessage {
5151
5388
  /**
5152
5389
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5153
5390
  */
5154
- toObject(): GetSessionReviewRequest.AsObject;
5391
+ toObject(): UpdateSessionCommentsRequest.AsObject;
5155
5392
  /**
5156
5393
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5157
5394
  */
5158
- toJSON(): GetSessionReviewRequest.AsObject;
5395
+ toJSON(): UpdateSessionCommentsRequest.AsObject;
5159
5396
  /**
5160
5397
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5161
5398
  * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5162
5399
  * 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
5163
5400
  */
5164
- toProtobufJSON(options?: ToProtobufJSONOptions): GetSessionReviewRequest.AsProtobufJSON;
5401
+ toProtobufJSON(options?: ToProtobufJSONOptions): UpdateSessionCommentsRequest.AsProtobufJSON;
5165
5402
  }
5166
- export declare module GetSessionReviewRequest {
5403
+ export declare module UpdateSessionCommentsRequest {
5167
5404
  /**
5168
- * Standard JavaScript object representation for GetSessionReviewRequest
5405
+ * Standard JavaScript object representation for UpdateSessionCommentsRequest
5169
5406
  */
5170
5407
  interface AsObject {
5171
- sessionReviewId: string;
5172
- sessionReviewView: SessionReview.View;
5408
+ sessionId: string;
5409
+ comment?: ondewoNlu008.Comment.AsObject;
5173
5410
  }
5174
5411
  /**
5175
- * Protobuf JSON representation for GetSessionReviewRequest
5412
+ * Protobuf JSON representation for UpdateSessionCommentsRequest
5176
5413
  */
5177
5414
  interface AsProtobufJSON {
5178
- sessionReviewId: string;
5179
- sessionReviewView: string;
5415
+ sessionId: string;
5416
+ comment: ondewoNlu008.Comment.AsProtobufJSON | null;
5180
5417
  }
5181
5418
  }
5182
5419
  /**
5183
- * Message implementation for ondewo.nlu.GetLatestSessionReviewRequest
5420
+ * Message implementation for ondewo.nlu.ListSessionCommentsRequest
5184
5421
  */
5185
- export declare class GetLatestSessionReviewRequest implements GrpcMessage {
5422
+ export declare class ListSessionCommentsRequest implements GrpcMessage {
5186
5423
  static id: string;
5187
5424
  /**
5188
5425
  * Deserialize binary data to message
5189
5426
  * @param instance message instance
5190
5427
  */
5191
- static deserializeBinary(bytes: ByteSource): GetLatestSessionReviewRequest;
5428
+ static deserializeBinary(bytes: ByteSource): ListSessionCommentsRequest;
5192
5429
  /**
5193
5430
  * Check all the properties and set default protobuf values if necessary
5194
5431
  * @param _instance message instance
5195
5432
  */
5196
- static refineValues(_instance: GetLatestSessionReviewRequest): void;
5433
+ static refineValues(_instance: ListSessionCommentsRequest): void;
5197
5434
  /**
5198
5435
  * Deserializes / reads binary message into message instance using provided binary reader
5199
5436
  * @param _instance message instance
5200
5437
  * @param _reader binary reader instance
5201
5438
  */
5202
- static deserializeBinaryFromReader(_instance: GetLatestSessionReviewRequest, _reader: BinaryReader): void;
5439
+ static deserializeBinaryFromReader(_instance: ListSessionCommentsRequest, _reader: BinaryReader): void;
5203
5440
  /**
5204
5441
  * Serializes a message to binary format using provided binary reader
5205
5442
  * @param _instance message instance
5206
5443
  * @param _writer binary writer instance
5207
5444
  */
5208
- static serializeBinaryToWriter(_instance: GetLatestSessionReviewRequest, _writer: BinaryWriter): void;
5445
+ static serializeBinaryToWriter(_instance: ListSessionCommentsRequest, _writer: BinaryWriter): void;
5209
5446
  private _sessionId;
5210
- private _sessionReviewView;
5447
+ private _pageToken;
5211
5448
  /**
5212
5449
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5213
- * @param _value initial values object or instance of GetLatestSessionReviewRequest to deeply clone from
5450
+ * @param _value initial values object or instance of ListSessionCommentsRequest to deeply clone from
5214
5451
  */
5215
- constructor(_value?: RecursivePartial<GetLatestSessionReviewRequest.AsObject>);
5452
+ constructor(_value?: RecursivePartial<ListSessionCommentsRequest.AsObject>);
5216
5453
  get sessionId(): string;
5217
5454
  set sessionId(value: string);
5218
- get sessionReviewView(): SessionReview.View;
5219
- set sessionReviewView(value: SessionReview.View);
5455
+ get pageToken(): string;
5456
+ set pageToken(value: string);
5220
5457
  /**
5221
5458
  * Serialize message to binary data
5222
5459
  * @param instance message instance
@@ -5225,31 +5462,1241 @@ export declare class GetLatestSessionReviewRequest implements GrpcMessage {
5225
5462
  /**
5226
5463
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5227
5464
  */
5228
- toObject(): GetLatestSessionReviewRequest.AsObject;
5465
+ toObject(): ListSessionCommentsRequest.AsObject;
5229
5466
  /**
5230
5467
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5231
5468
  */
5232
- toJSON(): GetLatestSessionReviewRequest.AsObject;
5469
+ toJSON(): ListSessionCommentsRequest.AsObject;
5233
5470
  /**
5234
5471
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5235
5472
  * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5236
5473
  * 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
5237
5474
  */
5238
- toProtobufJSON(options?: ToProtobufJSONOptions): GetLatestSessionReviewRequest.AsProtobufJSON;
5475
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionCommentsRequest.AsProtobufJSON;
5239
5476
  }
5240
- export declare module GetLatestSessionReviewRequest {
5477
+ export declare module ListSessionCommentsRequest {
5241
5478
  /**
5242
- * Standard JavaScript object representation for GetLatestSessionReviewRequest
5479
+ * Standard JavaScript object representation for ListSessionCommentsRequest
5243
5480
  */
5244
5481
  interface AsObject {
5245
5482
  sessionId: string;
5246
- sessionReviewView: SessionReview.View;
5483
+ pageToken: string;
5247
5484
  }
5248
5485
  /**
5249
- * Protobuf JSON representation for GetLatestSessionReviewRequest
5486
+ * Protobuf JSON representation for ListSessionCommentsRequest
5250
5487
  */
5251
5488
  interface AsProtobufJSON {
5252
5489
  sessionId: string;
5253
- sessionReviewView: string;
5490
+ pageToken: string;
5491
+ }
5492
+ }
5493
+ /**
5494
+ * Message implementation for ondewo.nlu.ListSessionCommentsResponse
5495
+ */
5496
+ export declare class ListSessionCommentsResponse implements GrpcMessage {
5497
+ static id: string;
5498
+ /**
5499
+ * Deserialize binary data to message
5500
+ * @param instance message instance
5501
+ */
5502
+ static deserializeBinary(bytes: ByteSource): ListSessionCommentsResponse;
5503
+ /**
5504
+ * Check all the properties and set default protobuf values if necessary
5505
+ * @param _instance message instance
5506
+ */
5507
+ static refineValues(_instance: ListSessionCommentsResponse): void;
5508
+ /**
5509
+ * Deserializes / reads binary message into message instance using provided binary reader
5510
+ * @param _instance message instance
5511
+ * @param _reader binary reader instance
5512
+ */
5513
+ static deserializeBinaryFromReader(_instance: ListSessionCommentsResponse, _reader: BinaryReader): void;
5514
+ /**
5515
+ * Serializes a message to binary format using provided binary reader
5516
+ * @param _instance message instance
5517
+ * @param _writer binary writer instance
5518
+ */
5519
+ static serializeBinaryToWriter(_instance: ListSessionCommentsResponse, _writer: BinaryWriter): void;
5520
+ private _comment?;
5521
+ private _pageToken;
5522
+ /**
5523
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5524
+ * @param _value initial values object or instance of ListSessionCommentsResponse to deeply clone from
5525
+ */
5526
+ constructor(_value?: RecursivePartial<ListSessionCommentsResponse.AsObject>);
5527
+ get comment(): ondewoNlu008.Comment[] | undefined;
5528
+ set comment(value: ondewoNlu008.Comment[] | undefined);
5529
+ get pageToken(): string;
5530
+ set pageToken(value: string);
5531
+ /**
5532
+ * Serialize message to binary data
5533
+ * @param instance message instance
5534
+ */
5535
+ serializeBinary(): any;
5536
+ /**
5537
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5538
+ */
5539
+ toObject(): ListSessionCommentsResponse.AsObject;
5540
+ /**
5541
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5542
+ */
5543
+ toJSON(): ListSessionCommentsResponse.AsObject;
5544
+ /**
5545
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5546
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5547
+ * 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
5548
+ */
5549
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionCommentsResponse.AsProtobufJSON;
5550
+ }
5551
+ export declare module ListSessionCommentsResponse {
5552
+ /**
5553
+ * Standard JavaScript object representation for ListSessionCommentsResponse
5554
+ */
5555
+ interface AsObject {
5556
+ comment?: ondewoNlu008.Comment.AsObject[];
5557
+ pageToken: string;
5558
+ }
5559
+ /**
5560
+ * Protobuf JSON representation for ListSessionCommentsResponse
5561
+ */
5562
+ interface AsProtobufJSON {
5563
+ comment: ondewoNlu008.Comment.AsProtobufJSON[] | null;
5564
+ pageToken: string;
5565
+ }
5566
+ }
5567
+ /**
5568
+ * Message implementation for ondewo.nlu.ListSessionReviewsRequest
5569
+ */
5570
+ export declare class ListSessionReviewsRequest implements GrpcMessage {
5571
+ static id: string;
5572
+ /**
5573
+ * Deserialize binary data to message
5574
+ * @param instance message instance
5575
+ */
5576
+ static deserializeBinary(bytes: ByteSource): ListSessionReviewsRequest;
5577
+ /**
5578
+ * Check all the properties and set default protobuf values if necessary
5579
+ * @param _instance message instance
5580
+ */
5581
+ static refineValues(_instance: ListSessionReviewsRequest): void;
5582
+ /**
5583
+ * Deserializes / reads binary message into message instance using provided binary reader
5584
+ * @param _instance message instance
5585
+ * @param _reader binary reader instance
5586
+ */
5587
+ static deserializeBinaryFromReader(_instance: ListSessionReviewsRequest, _reader: BinaryReader): void;
5588
+ /**
5589
+ * Serializes a message to binary format using provided binary reader
5590
+ * @param _instance message instance
5591
+ * @param _writer binary writer instance
5592
+ */
5593
+ static serializeBinaryToWriter(_instance: ListSessionReviewsRequest, _writer: BinaryWriter): void;
5594
+ private _sessionId;
5595
+ private _sessionReviewView;
5596
+ private _pageToken;
5597
+ /**
5598
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5599
+ * @param _value initial values object or instance of ListSessionReviewsRequest to deeply clone from
5600
+ */
5601
+ constructor(_value?: RecursivePartial<ListSessionReviewsRequest.AsObject>);
5602
+ get sessionId(): string;
5603
+ set sessionId(value: string);
5604
+ get sessionReviewView(): SessionReview.View;
5605
+ set sessionReviewView(value: SessionReview.View);
5606
+ get pageToken(): string;
5607
+ set pageToken(value: string);
5608
+ /**
5609
+ * Serialize message to binary data
5610
+ * @param instance message instance
5611
+ */
5612
+ serializeBinary(): any;
5613
+ /**
5614
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5615
+ */
5616
+ toObject(): ListSessionReviewsRequest.AsObject;
5617
+ /**
5618
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5619
+ */
5620
+ toJSON(): ListSessionReviewsRequest.AsObject;
5621
+ /**
5622
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5623
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5624
+ * 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
5625
+ */
5626
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsRequest.AsProtobufJSON;
5627
+ }
5628
+ export declare module ListSessionReviewsRequest {
5629
+ /**
5630
+ * Standard JavaScript object representation for ListSessionReviewsRequest
5631
+ */
5632
+ interface AsObject {
5633
+ sessionId: string;
5634
+ sessionReviewView: SessionReview.View;
5635
+ pageToken: string;
5636
+ }
5637
+ /**
5638
+ * Protobuf JSON representation for ListSessionReviewsRequest
5639
+ */
5640
+ interface AsProtobufJSON {
5641
+ sessionId: string;
5642
+ sessionReviewView: string;
5643
+ pageToken: string;
5644
+ }
5645
+ }
5646
+ /**
5647
+ * Message implementation for ondewo.nlu.ListSessionReviewsResponse
5648
+ */
5649
+ export declare class ListSessionReviewsResponse implements GrpcMessage {
5650
+ static id: string;
5651
+ /**
5652
+ * Deserialize binary data to message
5653
+ * @param instance message instance
5654
+ */
5655
+ static deserializeBinary(bytes: ByteSource): ListSessionReviewsResponse;
5656
+ /**
5657
+ * Check all the properties and set default protobuf values if necessary
5658
+ * @param _instance message instance
5659
+ */
5660
+ static refineValues(_instance: ListSessionReviewsResponse): void;
5661
+ /**
5662
+ * Deserializes / reads binary message into message instance using provided binary reader
5663
+ * @param _instance message instance
5664
+ * @param _reader binary reader instance
5665
+ */
5666
+ static deserializeBinaryFromReader(_instance: ListSessionReviewsResponse, _reader: BinaryReader): void;
5667
+ /**
5668
+ * Serializes a message to binary format using provided binary reader
5669
+ * @param _instance message instance
5670
+ * @param _writer binary writer instance
5671
+ */
5672
+ static serializeBinaryToWriter(_instance: ListSessionReviewsResponse, _writer: BinaryWriter): void;
5673
+ private _sessionReviews?;
5674
+ private _nextPageToken;
5675
+ /**
5676
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5677
+ * @param _value initial values object or instance of ListSessionReviewsResponse to deeply clone from
5678
+ */
5679
+ constructor(_value?: RecursivePartial<ListSessionReviewsResponse.AsObject>);
5680
+ get sessionReviews(): SessionReview[] | undefined;
5681
+ set sessionReviews(value: SessionReview[] | undefined);
5682
+ get nextPageToken(): string;
5683
+ set nextPageToken(value: string);
5684
+ /**
5685
+ * Serialize message to binary data
5686
+ * @param instance message instance
5687
+ */
5688
+ serializeBinary(): any;
5689
+ /**
5690
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5691
+ */
5692
+ toObject(): ListSessionReviewsResponse.AsObject;
5693
+ /**
5694
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5695
+ */
5696
+ toJSON(): ListSessionReviewsResponse.AsObject;
5697
+ /**
5698
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5699
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5700
+ * 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
5701
+ */
5702
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsResponse.AsProtobufJSON;
5703
+ }
5704
+ export declare module ListSessionReviewsResponse {
5705
+ /**
5706
+ * Standard JavaScript object representation for ListSessionReviewsResponse
5707
+ */
5708
+ interface AsObject {
5709
+ sessionReviews?: SessionReview.AsObject[];
5710
+ nextPageToken: string;
5711
+ }
5712
+ /**
5713
+ * Protobuf JSON representation for ListSessionReviewsResponse
5714
+ */
5715
+ interface AsProtobufJSON {
5716
+ sessionReviews: SessionReview.AsProtobufJSON[] | null;
5717
+ nextPageToken: string;
5718
+ }
5719
+ }
5720
+ /**
5721
+ * Message implementation for ondewo.nlu.GetSessionReviewRequest
5722
+ */
5723
+ export declare class GetSessionReviewRequest implements GrpcMessage {
5724
+ static id: string;
5725
+ /**
5726
+ * Deserialize binary data to message
5727
+ * @param instance message instance
5728
+ */
5729
+ static deserializeBinary(bytes: ByteSource): GetSessionReviewRequest;
5730
+ /**
5731
+ * Check all the properties and set default protobuf values if necessary
5732
+ * @param _instance message instance
5733
+ */
5734
+ static refineValues(_instance: GetSessionReviewRequest): void;
5735
+ /**
5736
+ * Deserializes / reads binary message into message instance using provided binary reader
5737
+ * @param _instance message instance
5738
+ * @param _reader binary reader instance
5739
+ */
5740
+ static deserializeBinaryFromReader(_instance: GetSessionReviewRequest, _reader: BinaryReader): void;
5741
+ /**
5742
+ * Serializes a message to binary format using provided binary reader
5743
+ * @param _instance message instance
5744
+ * @param _writer binary writer instance
5745
+ */
5746
+ static serializeBinaryToWriter(_instance: GetSessionReviewRequest, _writer: BinaryWriter): void;
5747
+ private _sessionReviewId;
5748
+ private _sessionReviewView;
5749
+ /**
5750
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5751
+ * @param _value initial values object or instance of GetSessionReviewRequest to deeply clone from
5752
+ */
5753
+ constructor(_value?: RecursivePartial<GetSessionReviewRequest.AsObject>);
5754
+ get sessionReviewId(): string;
5755
+ set sessionReviewId(value: string);
5756
+ get sessionReviewView(): SessionReview.View;
5757
+ set sessionReviewView(value: SessionReview.View);
5758
+ /**
5759
+ * Serialize message to binary data
5760
+ * @param instance message instance
5761
+ */
5762
+ serializeBinary(): any;
5763
+ /**
5764
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5765
+ */
5766
+ toObject(): GetSessionReviewRequest.AsObject;
5767
+ /**
5768
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5769
+ */
5770
+ toJSON(): GetSessionReviewRequest.AsObject;
5771
+ /**
5772
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5773
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5774
+ * 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
5775
+ */
5776
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetSessionReviewRequest.AsProtobufJSON;
5777
+ }
5778
+ export declare module GetSessionReviewRequest {
5779
+ /**
5780
+ * Standard JavaScript object representation for GetSessionReviewRequest
5781
+ */
5782
+ interface AsObject {
5783
+ sessionReviewId: string;
5784
+ sessionReviewView: SessionReview.View;
5785
+ }
5786
+ /**
5787
+ * Protobuf JSON representation for GetSessionReviewRequest
5788
+ */
5789
+ interface AsProtobufJSON {
5790
+ sessionReviewId: string;
5791
+ sessionReviewView: string;
5792
+ }
5793
+ }
5794
+ /**
5795
+ * Message implementation for ondewo.nlu.GetLatestSessionReviewRequest
5796
+ */
5797
+ export declare class GetLatestSessionReviewRequest implements GrpcMessage {
5798
+ static id: string;
5799
+ /**
5800
+ * Deserialize binary data to message
5801
+ * @param instance message instance
5802
+ */
5803
+ static deserializeBinary(bytes: ByteSource): GetLatestSessionReviewRequest;
5804
+ /**
5805
+ * Check all the properties and set default protobuf values if necessary
5806
+ * @param _instance message instance
5807
+ */
5808
+ static refineValues(_instance: GetLatestSessionReviewRequest): void;
5809
+ /**
5810
+ * Deserializes / reads binary message into message instance using provided binary reader
5811
+ * @param _instance message instance
5812
+ * @param _reader binary reader instance
5813
+ */
5814
+ static deserializeBinaryFromReader(_instance: GetLatestSessionReviewRequest, _reader: BinaryReader): void;
5815
+ /**
5816
+ * Serializes a message to binary format using provided binary reader
5817
+ * @param _instance message instance
5818
+ * @param _writer binary writer instance
5819
+ */
5820
+ static serializeBinaryToWriter(_instance: GetLatestSessionReviewRequest, _writer: BinaryWriter): void;
5821
+ private _sessionId;
5822
+ private _sessionReviewView;
5823
+ /**
5824
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5825
+ * @param _value initial values object or instance of GetLatestSessionReviewRequest to deeply clone from
5826
+ */
5827
+ constructor(_value?: RecursivePartial<GetLatestSessionReviewRequest.AsObject>);
5828
+ get sessionId(): string;
5829
+ set sessionId(value: string);
5830
+ get sessionReviewView(): SessionReview.View;
5831
+ set sessionReviewView(value: SessionReview.View);
5832
+ /**
5833
+ * Serialize message to binary data
5834
+ * @param instance message instance
5835
+ */
5836
+ serializeBinary(): any;
5837
+ /**
5838
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5839
+ */
5840
+ toObject(): GetLatestSessionReviewRequest.AsObject;
5841
+ /**
5842
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5843
+ */
5844
+ toJSON(): GetLatestSessionReviewRequest.AsObject;
5845
+ /**
5846
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5847
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5848
+ * 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
5849
+ */
5850
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetLatestSessionReviewRequest.AsProtobufJSON;
5851
+ }
5852
+ export declare module GetLatestSessionReviewRequest {
5853
+ /**
5854
+ * Standard JavaScript object representation for GetLatestSessionReviewRequest
5855
+ */
5856
+ interface AsObject {
5857
+ sessionId: string;
5858
+ sessionReviewView: SessionReview.View;
5859
+ }
5860
+ /**
5861
+ * Protobuf JSON representation for GetLatestSessionReviewRequest
5862
+ */
5863
+ interface AsProtobufJSON {
5864
+ sessionId: string;
5865
+ sessionReviewView: string;
5866
+ }
5867
+ }
5868
+ /**
5869
+ * Message implementation for ondewo.nlu.AudioFileResource
5870
+ */
5871
+ export declare class AudioFileResource implements GrpcMessage {
5872
+ static id: string;
5873
+ /**
5874
+ * Deserialize binary data to message
5875
+ * @param instance message instance
5876
+ */
5877
+ static deserializeBinary(bytes: ByteSource): AudioFileResource;
5878
+ /**
5879
+ * Check all the properties and set default protobuf values if necessary
5880
+ * @param _instance message instance
5881
+ */
5882
+ static refineValues(_instance: AudioFileResource): void;
5883
+ /**
5884
+ * Deserializes / reads binary message into message instance using provided binary reader
5885
+ * @param _instance message instance
5886
+ * @param _reader binary reader instance
5887
+ */
5888
+ static deserializeBinaryFromReader(_instance: AudioFileResource, _reader: BinaryReader): void;
5889
+ /**
5890
+ * Serializes a message to binary format using provided binary reader
5891
+ * @param _instance message instance
5892
+ * @param _writer binary writer instance
5893
+ */
5894
+ static serializeBinaryToWriter(_instance: AudioFileResource, _writer: BinaryWriter): void;
5895
+ private _name;
5896
+ private _bytes;
5897
+ private _language;
5898
+ private _durationInS;
5899
+ private _sampleRate;
5900
+ private _audioFileResourceType;
5901
+ private _transcriptions?;
5902
+ private _createdAt?;
5903
+ private _modifiedAt?;
5904
+ private _createdBy;
5905
+ private _modifiedBy;
5906
+ /**
5907
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
5908
+ * @param _value initial values object or instance of AudioFileResource to deeply clone from
5909
+ */
5910
+ constructor(_value?: RecursivePartial<AudioFileResource.AsObject>);
5911
+ get name(): string;
5912
+ set name(value: string);
5913
+ get bytes(): Uint8Array;
5914
+ set bytes(value: Uint8Array);
5915
+ get language(): string;
5916
+ set language(value: string);
5917
+ get durationInS(): number;
5918
+ set durationInS(value: number);
5919
+ get sampleRate(): number;
5920
+ set sampleRate(value: number);
5921
+ get audioFileResourceType(): AudioFileResourceType;
5922
+ set audioFileResourceType(value: AudioFileResourceType);
5923
+ get transcriptions(): S2tTranscription[] | undefined;
5924
+ set transcriptions(value: S2tTranscription[] | undefined);
5925
+ get createdAt(): googleProtobuf004.Timestamp | undefined;
5926
+ set createdAt(value: googleProtobuf004.Timestamp | undefined);
5927
+ get modifiedAt(): googleProtobuf004.Timestamp | undefined;
5928
+ set modifiedAt(value: googleProtobuf004.Timestamp | undefined);
5929
+ get createdBy(): string;
5930
+ set createdBy(value: string);
5931
+ get modifiedBy(): string;
5932
+ set modifiedBy(value: string);
5933
+ /**
5934
+ * Serialize message to binary data
5935
+ * @param instance message instance
5936
+ */
5937
+ serializeBinary(): any;
5938
+ /**
5939
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
5940
+ */
5941
+ toObject(): AudioFileResource.AsObject;
5942
+ /**
5943
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
5944
+ */
5945
+ toJSON(): AudioFileResource.AsObject;
5946
+ /**
5947
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
5948
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
5949
+ * 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
5950
+ */
5951
+ toProtobufJSON(options?: ToProtobufJSONOptions): AudioFileResource.AsProtobufJSON;
5952
+ }
5953
+ export declare module AudioFileResource {
5954
+ /**
5955
+ * Standard JavaScript object representation for AudioFileResource
5956
+ */
5957
+ interface AsObject {
5958
+ name: string;
5959
+ bytes: Uint8Array;
5960
+ language: string;
5961
+ durationInS: number;
5962
+ sampleRate: number;
5963
+ audioFileResourceType: AudioFileResourceType;
5964
+ transcriptions?: S2tTranscription.AsObject[];
5965
+ createdAt?: googleProtobuf004.Timestamp.AsObject;
5966
+ modifiedAt?: googleProtobuf004.Timestamp.AsObject;
5967
+ createdBy: string;
5968
+ modifiedBy: string;
5969
+ }
5970
+ /**
5971
+ * Protobuf JSON representation for AudioFileResource
5972
+ */
5973
+ interface AsProtobufJSON {
5974
+ name: string;
5975
+ bytes: string;
5976
+ language: string;
5977
+ durationInS: number;
5978
+ sampleRate: number;
5979
+ audioFileResourceType: string;
5980
+ transcriptions: S2tTranscription.AsProtobufJSON[] | null;
5981
+ createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
5982
+ modifiedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
5983
+ createdBy: string;
5984
+ modifiedBy: string;
5985
+ }
5986
+ }
5987
+ /**
5988
+ * Message implementation for ondewo.nlu.GetAudioFilesRequest
5989
+ */
5990
+ export declare class GetAudioFilesRequest implements GrpcMessage {
5991
+ static id: string;
5992
+ /**
5993
+ * Deserialize binary data to message
5994
+ * @param instance message instance
5995
+ */
5996
+ static deserializeBinary(bytes: ByteSource): GetAudioFilesRequest;
5997
+ /**
5998
+ * Check all the properties and set default protobuf values if necessary
5999
+ * @param _instance message instance
6000
+ */
6001
+ static refineValues(_instance: GetAudioFilesRequest): void;
6002
+ /**
6003
+ * Deserializes / reads binary message into message instance using provided binary reader
6004
+ * @param _instance message instance
6005
+ * @param _reader binary reader instance
6006
+ */
6007
+ static deserializeBinaryFromReader(_instance: GetAudioFilesRequest, _reader: BinaryReader): void;
6008
+ /**
6009
+ * Serializes a message to binary format using provided binary reader
6010
+ * @param _instance message instance
6011
+ * @param _writer binary writer instance
6012
+ */
6013
+ static serializeBinaryToWriter(_instance: GetAudioFilesRequest, _writer: BinaryWriter): void;
6014
+ private _parent;
6015
+ private _names;
6016
+ private _resourceView;
6017
+ private _pageToken;
6018
+ private _sortingMode;
6019
+ /**
6020
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6021
+ * @param _value initial values object or instance of GetAudioFilesRequest to deeply clone from
6022
+ */
6023
+ constructor(_value?: RecursivePartial<GetAudioFilesRequest.AsObject>);
6024
+ get parent(): string;
6025
+ set parent(value: string);
6026
+ get names(): string[];
6027
+ set names(value: string[]);
6028
+ get resourceView(): ResourceView;
6029
+ set resourceView(value: ResourceView);
6030
+ get pageToken(): string;
6031
+ set pageToken(value: string);
6032
+ get sortingMode(): ondewoNlu008.SortingMode;
6033
+ set sortingMode(value: ondewoNlu008.SortingMode);
6034
+ /**
6035
+ * Serialize message to binary data
6036
+ * @param instance message instance
6037
+ */
6038
+ serializeBinary(): any;
6039
+ /**
6040
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6041
+ */
6042
+ toObject(): GetAudioFilesRequest.AsObject;
6043
+ /**
6044
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6045
+ */
6046
+ toJSON(): GetAudioFilesRequest.AsObject;
6047
+ /**
6048
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6049
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6050
+ * 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
6051
+ */
6052
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAudioFilesRequest.AsProtobufJSON;
6053
+ }
6054
+ export declare module GetAudioFilesRequest {
6055
+ /**
6056
+ * Standard JavaScript object representation for GetAudioFilesRequest
6057
+ */
6058
+ interface AsObject {
6059
+ parent: string;
6060
+ names: string[];
6061
+ resourceView: ResourceView;
6062
+ pageToken: string;
6063
+ sortingMode: ondewoNlu008.SortingMode;
6064
+ }
6065
+ /**
6066
+ * Protobuf JSON representation for GetAudioFilesRequest
6067
+ */
6068
+ interface AsProtobufJSON {
6069
+ parent: string;
6070
+ names: string[];
6071
+ resourceView: string;
6072
+ pageToken: string;
6073
+ sortingMode: string;
6074
+ }
6075
+ }
6076
+ /**
6077
+ * Message implementation for ondewo.nlu.GetAudioFilesResponse
6078
+ */
6079
+ export declare class GetAudioFilesResponse implements GrpcMessage {
6080
+ static id: string;
6081
+ /**
6082
+ * Deserialize binary data to message
6083
+ * @param instance message instance
6084
+ */
6085
+ static deserializeBinary(bytes: ByteSource): GetAudioFilesResponse;
6086
+ /**
6087
+ * Check all the properties and set default protobuf values if necessary
6088
+ * @param _instance message instance
6089
+ */
6090
+ static refineValues(_instance: GetAudioFilesResponse): void;
6091
+ /**
6092
+ * Deserializes / reads binary message into message instance using provided binary reader
6093
+ * @param _instance message instance
6094
+ * @param _reader binary reader instance
6095
+ */
6096
+ static deserializeBinaryFromReader(_instance: GetAudioFilesResponse, _reader: BinaryReader): void;
6097
+ /**
6098
+ * Serializes a message to binary format using provided binary reader
6099
+ * @param _instance message instance
6100
+ * @param _writer binary writer instance
6101
+ */
6102
+ static serializeBinaryToWriter(_instance: GetAudioFilesResponse, _writer: BinaryWriter): void;
6103
+ private _audioFiles?;
6104
+ private _errorMessage;
6105
+ private _nextPageToken;
6106
+ /**
6107
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6108
+ * @param _value initial values object or instance of GetAudioFilesResponse to deeply clone from
6109
+ */
6110
+ constructor(_value?: RecursivePartial<GetAudioFilesResponse.AsObject>);
6111
+ get audioFiles(): AudioFileResource[] | undefined;
6112
+ set audioFiles(value: AudioFileResource[] | undefined);
6113
+ get errorMessage(): string;
6114
+ set errorMessage(value: string);
6115
+ get nextPageToken(): string;
6116
+ set nextPageToken(value: string);
6117
+ /**
6118
+ * Serialize message to binary data
6119
+ * @param instance message instance
6120
+ */
6121
+ serializeBinary(): any;
6122
+ /**
6123
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6124
+ */
6125
+ toObject(): GetAudioFilesResponse.AsObject;
6126
+ /**
6127
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6128
+ */
6129
+ toJSON(): GetAudioFilesResponse.AsObject;
6130
+ /**
6131
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6132
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6133
+ * 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
6134
+ */
6135
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAudioFilesResponse.AsProtobufJSON;
6136
+ }
6137
+ export declare module GetAudioFilesResponse {
6138
+ /**
6139
+ * Standard JavaScript object representation for GetAudioFilesResponse
6140
+ */
6141
+ interface AsObject {
6142
+ audioFiles?: AudioFileResource.AsObject[];
6143
+ errorMessage: string;
6144
+ nextPageToken: string;
6145
+ }
6146
+ /**
6147
+ * Protobuf JSON representation for GetAudioFilesResponse
6148
+ */
6149
+ interface AsProtobufJSON {
6150
+ audioFiles: AudioFileResource.AsProtobufJSON[] | null;
6151
+ errorMessage: string;
6152
+ nextPageToken: string;
6153
+ }
6154
+ }
6155
+ /**
6156
+ * Message implementation for ondewo.nlu.AddAudioFilesRequest
6157
+ */
6158
+ export declare class AddAudioFilesRequest implements GrpcMessage {
6159
+ static id: string;
6160
+ /**
6161
+ * Deserialize binary data to message
6162
+ * @param instance message instance
6163
+ */
6164
+ static deserializeBinary(bytes: ByteSource): AddAudioFilesRequest;
6165
+ /**
6166
+ * Check all the properties and set default protobuf values if necessary
6167
+ * @param _instance message instance
6168
+ */
6169
+ static refineValues(_instance: AddAudioFilesRequest): void;
6170
+ /**
6171
+ * Deserializes / reads binary message into message instance using provided binary reader
6172
+ * @param _instance message instance
6173
+ * @param _reader binary reader instance
6174
+ */
6175
+ static deserializeBinaryFromReader(_instance: AddAudioFilesRequest, _reader: BinaryReader): void;
6176
+ /**
6177
+ * Serializes a message to binary format using provided binary reader
6178
+ * @param _instance message instance
6179
+ * @param _writer binary writer instance
6180
+ */
6181
+ static serializeBinaryToWriter(_instance: AddAudioFilesRequest, _writer: BinaryWriter): void;
6182
+ private _parent;
6183
+ private _sessionId;
6184
+ private _audioFileResources?;
6185
+ /**
6186
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6187
+ * @param _value initial values object or instance of AddAudioFilesRequest to deeply clone from
6188
+ */
6189
+ constructor(_value?: RecursivePartial<AddAudioFilesRequest.AsObject>);
6190
+ get parent(): string;
6191
+ set parent(value: string);
6192
+ get sessionId(): string;
6193
+ set sessionId(value: string);
6194
+ get audioFileResources(): AudioFileResource[] | undefined;
6195
+ set audioFileResources(value: AudioFileResource[] | undefined);
6196
+ /**
6197
+ * Serialize message to binary data
6198
+ * @param instance message instance
6199
+ */
6200
+ serializeBinary(): any;
6201
+ /**
6202
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6203
+ */
6204
+ toObject(): AddAudioFilesRequest.AsObject;
6205
+ /**
6206
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6207
+ */
6208
+ toJSON(): AddAudioFilesRequest.AsObject;
6209
+ /**
6210
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6211
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6212
+ * 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
6213
+ */
6214
+ toProtobufJSON(options?: ToProtobufJSONOptions): AddAudioFilesRequest.AsProtobufJSON;
6215
+ }
6216
+ export declare module AddAudioFilesRequest {
6217
+ /**
6218
+ * Standard JavaScript object representation for AddAudioFilesRequest
6219
+ */
6220
+ interface AsObject {
6221
+ parent: string;
6222
+ sessionId: string;
6223
+ audioFileResources?: AudioFileResource.AsObject[];
6224
+ }
6225
+ /**
6226
+ * Protobuf JSON representation for AddAudioFilesRequest
6227
+ */
6228
+ interface AsProtobufJSON {
6229
+ parent: string;
6230
+ sessionId: string;
6231
+ audioFileResources: AudioFileResource.AsProtobufJSON[] | null;
6232
+ }
6233
+ }
6234
+ /**
6235
+ * Message implementation for ondewo.nlu.AddAudioFilesResponse
6236
+ */
6237
+ export declare class AddAudioFilesResponse implements GrpcMessage {
6238
+ static id: string;
6239
+ /**
6240
+ * Deserialize binary data to message
6241
+ * @param instance message instance
6242
+ */
6243
+ static deserializeBinary(bytes: ByteSource): AddAudioFilesResponse;
6244
+ /**
6245
+ * Check all the properties and set default protobuf values if necessary
6246
+ * @param _instance message instance
6247
+ */
6248
+ static refineValues(_instance: AddAudioFilesResponse): void;
6249
+ /**
6250
+ * Deserializes / reads binary message into message instance using provided binary reader
6251
+ * @param _instance message instance
6252
+ * @param _reader binary reader instance
6253
+ */
6254
+ static deserializeBinaryFromReader(_instance: AddAudioFilesResponse, _reader: BinaryReader): void;
6255
+ /**
6256
+ * Serializes a message to binary format using provided binary reader
6257
+ * @param _instance message instance
6258
+ * @param _writer binary writer instance
6259
+ */
6260
+ static serializeBinaryToWriter(_instance: AddAudioFilesResponse, _writer: BinaryWriter): void;
6261
+ private _audioFileResources?;
6262
+ private _errorMessage;
6263
+ /**
6264
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6265
+ * @param _value initial values object or instance of AddAudioFilesResponse to deeply clone from
6266
+ */
6267
+ constructor(_value?: RecursivePartial<AddAudioFilesResponse.AsObject>);
6268
+ get audioFileResources(): AudioFileResource[] | undefined;
6269
+ set audioFileResources(value: AudioFileResource[] | undefined);
6270
+ get errorMessage(): string;
6271
+ set errorMessage(value: string);
6272
+ /**
6273
+ * Serialize message to binary data
6274
+ * @param instance message instance
6275
+ */
6276
+ serializeBinary(): any;
6277
+ /**
6278
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6279
+ */
6280
+ toObject(): AddAudioFilesResponse.AsObject;
6281
+ /**
6282
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6283
+ */
6284
+ toJSON(): AddAudioFilesResponse.AsObject;
6285
+ /**
6286
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6287
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6288
+ * 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
6289
+ */
6290
+ toProtobufJSON(options?: ToProtobufJSONOptions): AddAudioFilesResponse.AsProtobufJSON;
6291
+ }
6292
+ export declare module AddAudioFilesResponse {
6293
+ /**
6294
+ * Standard JavaScript object representation for AddAudioFilesResponse
6295
+ */
6296
+ interface AsObject {
6297
+ audioFileResources?: AudioFileResource.AsObject[];
6298
+ errorMessage: string;
6299
+ }
6300
+ /**
6301
+ * Protobuf JSON representation for AddAudioFilesResponse
6302
+ */
6303
+ interface AsProtobufJSON {
6304
+ audioFileResources: AudioFileResource.AsProtobufJSON[] | null;
6305
+ errorMessage: string;
6306
+ }
6307
+ }
6308
+ /**
6309
+ * Message implementation for ondewo.nlu.DeleteAudioFilesRequest
6310
+ */
6311
+ export declare class DeleteAudioFilesRequest implements GrpcMessage {
6312
+ static id: string;
6313
+ /**
6314
+ * Deserialize binary data to message
6315
+ * @param instance message instance
6316
+ */
6317
+ static deserializeBinary(bytes: ByteSource): DeleteAudioFilesRequest;
6318
+ /**
6319
+ * Check all the properties and set default protobuf values if necessary
6320
+ * @param _instance message instance
6321
+ */
6322
+ static refineValues(_instance: DeleteAudioFilesRequest): void;
6323
+ /**
6324
+ * Deserializes / reads binary message into message instance using provided binary reader
6325
+ * @param _instance message instance
6326
+ * @param _reader binary reader instance
6327
+ */
6328
+ static deserializeBinaryFromReader(_instance: DeleteAudioFilesRequest, _reader: BinaryReader): void;
6329
+ /**
6330
+ * Serializes a message to binary format using provided binary reader
6331
+ * @param _instance message instance
6332
+ * @param _writer binary writer instance
6333
+ */
6334
+ static serializeBinaryToWriter(_instance: DeleteAudioFilesRequest, _writer: BinaryWriter): void;
6335
+ private _parent;
6336
+ private _names;
6337
+ /**
6338
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6339
+ * @param _value initial values object or instance of DeleteAudioFilesRequest to deeply clone from
6340
+ */
6341
+ constructor(_value?: RecursivePartial<DeleteAudioFilesRequest.AsObject>);
6342
+ get parent(): string;
6343
+ set parent(value: string);
6344
+ get names(): string[];
6345
+ set names(value: string[]);
6346
+ /**
6347
+ * Serialize message to binary data
6348
+ * @param instance message instance
6349
+ */
6350
+ serializeBinary(): any;
6351
+ /**
6352
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6353
+ */
6354
+ toObject(): DeleteAudioFilesRequest.AsObject;
6355
+ /**
6356
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6357
+ */
6358
+ toJSON(): DeleteAudioFilesRequest.AsObject;
6359
+ /**
6360
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6361
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6362
+ * 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
6363
+ */
6364
+ toProtobufJSON(options?: ToProtobufJSONOptions): DeleteAudioFilesRequest.AsProtobufJSON;
6365
+ }
6366
+ export declare module DeleteAudioFilesRequest {
6367
+ /**
6368
+ * Standard JavaScript object representation for DeleteAudioFilesRequest
6369
+ */
6370
+ interface AsObject {
6371
+ parent: string;
6372
+ names: string[];
6373
+ }
6374
+ /**
6375
+ * Protobuf JSON representation for DeleteAudioFilesRequest
6376
+ */
6377
+ interface AsProtobufJSON {
6378
+ parent: string;
6379
+ names: string[];
6380
+ }
6381
+ }
6382
+ /**
6383
+ * Message implementation for ondewo.nlu.DeleteAudioFilesResponse
6384
+ */
6385
+ export declare class DeleteAudioFilesResponse implements GrpcMessage {
6386
+ static id: string;
6387
+ /**
6388
+ * Deserialize binary data to message
6389
+ * @param instance message instance
6390
+ */
6391
+ static deserializeBinary(bytes: ByteSource): DeleteAudioFilesResponse;
6392
+ /**
6393
+ * Check all the properties and set default protobuf values if necessary
6394
+ * @param _instance message instance
6395
+ */
6396
+ static refineValues(_instance: DeleteAudioFilesResponse): void;
6397
+ /**
6398
+ * Deserializes / reads binary message into message instance using provided binary reader
6399
+ * @param _instance message instance
6400
+ * @param _reader binary reader instance
6401
+ */
6402
+ static deserializeBinaryFromReader(_instance: DeleteAudioFilesResponse, _reader: BinaryReader): void;
6403
+ /**
6404
+ * Serializes a message to binary format using provided binary reader
6405
+ * @param _instance message instance
6406
+ * @param _writer binary writer instance
6407
+ */
6408
+ static serializeBinaryToWriter(_instance: DeleteAudioFilesResponse, _writer: BinaryWriter): void;
6409
+ private _names;
6410
+ private _errorMessage;
6411
+ /**
6412
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6413
+ * @param _value initial values object or instance of DeleteAudioFilesResponse to deeply clone from
6414
+ */
6415
+ constructor(_value?: RecursivePartial<DeleteAudioFilesResponse.AsObject>);
6416
+ get names(): string[];
6417
+ set names(value: string[]);
6418
+ get errorMessage(): string;
6419
+ set errorMessage(value: string);
6420
+ /**
6421
+ * Serialize message to binary data
6422
+ * @param instance message instance
6423
+ */
6424
+ serializeBinary(): any;
6425
+ /**
6426
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6427
+ */
6428
+ toObject(): DeleteAudioFilesResponse.AsObject;
6429
+ /**
6430
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6431
+ */
6432
+ toJSON(): DeleteAudioFilesResponse.AsObject;
6433
+ /**
6434
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6435
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6436
+ * 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
6437
+ */
6438
+ toProtobufJSON(options?: ToProtobufJSONOptions): DeleteAudioFilesResponse.AsProtobufJSON;
6439
+ }
6440
+ export declare module DeleteAudioFilesResponse {
6441
+ /**
6442
+ * Standard JavaScript object representation for DeleteAudioFilesResponse
6443
+ */
6444
+ interface AsObject {
6445
+ names: string[];
6446
+ errorMessage: string;
6447
+ }
6448
+ /**
6449
+ * Protobuf JSON representation for DeleteAudioFilesResponse
6450
+ */
6451
+ interface AsProtobufJSON {
6452
+ names: string[];
6453
+ errorMessage: string;
6454
+ }
6455
+ }
6456
+ /**
6457
+ * Message implementation for ondewo.nlu.ListAudioFilesRequest
6458
+ */
6459
+ export declare class ListAudioFilesRequest implements GrpcMessage {
6460
+ static id: string;
6461
+ /**
6462
+ * Deserialize binary data to message
6463
+ * @param instance message instance
6464
+ */
6465
+ static deserializeBinary(bytes: ByteSource): ListAudioFilesRequest;
6466
+ /**
6467
+ * Check all the properties and set default protobuf values if necessary
6468
+ * @param _instance message instance
6469
+ */
6470
+ static refineValues(_instance: ListAudioFilesRequest): void;
6471
+ /**
6472
+ * Deserializes / reads binary message into message instance using provided binary reader
6473
+ * @param _instance message instance
6474
+ * @param _reader binary reader instance
6475
+ */
6476
+ static deserializeBinaryFromReader(_instance: ListAudioFilesRequest, _reader: BinaryReader): void;
6477
+ /**
6478
+ * Serializes a message to binary format using provided binary reader
6479
+ * @param _instance message instance
6480
+ * @param _writer binary writer instance
6481
+ */
6482
+ static serializeBinaryToWriter(_instance: ListAudioFilesRequest, _writer: BinaryWriter): void;
6483
+ private _parent;
6484
+ private _sessionId;
6485
+ private _resourceView;
6486
+ private _pageToken;
6487
+ private _sortingMode;
6488
+ /**
6489
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6490
+ * @param _value initial values object or instance of ListAudioFilesRequest to deeply clone from
6491
+ */
6492
+ constructor(_value?: RecursivePartial<ListAudioFilesRequest.AsObject>);
6493
+ get parent(): string;
6494
+ set parent(value: string);
6495
+ get sessionId(): string;
6496
+ set sessionId(value: string);
6497
+ get resourceView(): ResourceView;
6498
+ set resourceView(value: ResourceView);
6499
+ get pageToken(): string;
6500
+ set pageToken(value: string);
6501
+ get sortingMode(): ondewoNlu008.SortingMode;
6502
+ set sortingMode(value: ondewoNlu008.SortingMode);
6503
+ /**
6504
+ * Serialize message to binary data
6505
+ * @param instance message instance
6506
+ */
6507
+ serializeBinary(): any;
6508
+ /**
6509
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6510
+ */
6511
+ toObject(): ListAudioFilesRequest.AsObject;
6512
+ /**
6513
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6514
+ */
6515
+ toJSON(): ListAudioFilesRequest.AsObject;
6516
+ /**
6517
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6518
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6519
+ * 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
6520
+ */
6521
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListAudioFilesRequest.AsProtobufJSON;
6522
+ }
6523
+ export declare module ListAudioFilesRequest {
6524
+ /**
6525
+ * Standard JavaScript object representation for ListAudioFilesRequest
6526
+ */
6527
+ interface AsObject {
6528
+ parent: string;
6529
+ sessionId: string;
6530
+ resourceView: ResourceView;
6531
+ pageToken: string;
6532
+ sortingMode: ondewoNlu008.SortingMode;
6533
+ }
6534
+ /**
6535
+ * Protobuf JSON representation for ListAudioFilesRequest
6536
+ */
6537
+ interface AsProtobufJSON {
6538
+ parent: string;
6539
+ sessionId: string;
6540
+ resourceView: string;
6541
+ pageToken: string;
6542
+ sortingMode: string;
6543
+ }
6544
+ }
6545
+ /**
6546
+ * Message implementation for ondewo.nlu.ListAudioFilesResponse
6547
+ */
6548
+ export declare class ListAudioFilesResponse implements GrpcMessage {
6549
+ static id: string;
6550
+ /**
6551
+ * Deserialize binary data to message
6552
+ * @param instance message instance
6553
+ */
6554
+ static deserializeBinary(bytes: ByteSource): ListAudioFilesResponse;
6555
+ /**
6556
+ * Check all the properties and set default protobuf values if necessary
6557
+ * @param _instance message instance
6558
+ */
6559
+ static refineValues(_instance: ListAudioFilesResponse): void;
6560
+ /**
6561
+ * Deserializes / reads binary message into message instance using provided binary reader
6562
+ * @param _instance message instance
6563
+ * @param _reader binary reader instance
6564
+ */
6565
+ static deserializeBinaryFromReader(_instance: ListAudioFilesResponse, _reader: BinaryReader): void;
6566
+ /**
6567
+ * Serializes a message to binary format using provided binary reader
6568
+ * @param _instance message instance
6569
+ * @param _writer binary writer instance
6570
+ */
6571
+ static serializeBinaryToWriter(_instance: ListAudioFilesResponse, _writer: BinaryWriter): void;
6572
+ private _audioFiles?;
6573
+ private _nextPageToken;
6574
+ private _errorMessage;
6575
+ /**
6576
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6577
+ * @param _value initial values object or instance of ListAudioFilesResponse to deeply clone from
6578
+ */
6579
+ constructor(_value?: RecursivePartial<ListAudioFilesResponse.AsObject>);
6580
+ get audioFiles(): AudioFileResource[] | undefined;
6581
+ set audioFiles(value: AudioFileResource[] | undefined);
6582
+ get nextPageToken(): string;
6583
+ set nextPageToken(value: string);
6584
+ get errorMessage(): string;
6585
+ set errorMessage(value: string);
6586
+ /**
6587
+ * Serialize message to binary data
6588
+ * @param instance message instance
6589
+ */
6590
+ serializeBinary(): any;
6591
+ /**
6592
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6593
+ */
6594
+ toObject(): ListAudioFilesResponse.AsObject;
6595
+ /**
6596
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6597
+ */
6598
+ toJSON(): ListAudioFilesResponse.AsObject;
6599
+ /**
6600
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6601
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6602
+ * 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
6603
+ */
6604
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListAudioFilesResponse.AsProtobufJSON;
6605
+ }
6606
+ export declare module ListAudioFilesResponse {
6607
+ /**
6608
+ * Standard JavaScript object representation for ListAudioFilesResponse
6609
+ */
6610
+ interface AsObject {
6611
+ audioFiles?: AudioFileResource.AsObject[];
6612
+ nextPageToken: string;
6613
+ errorMessage: string;
6614
+ }
6615
+ /**
6616
+ * Protobuf JSON representation for ListAudioFilesResponse
6617
+ */
6618
+ interface AsProtobufJSON {
6619
+ audioFiles: AudioFileResource.AsProtobufJSON[] | null;
6620
+ nextPageToken: string;
6621
+ errorMessage: string;
6622
+ }
6623
+ }
6624
+ /**
6625
+ * Message implementation for ondewo.nlu.GetAudioFileOfSessionRequest
6626
+ */
6627
+ export declare class GetAudioFileOfSessionRequest implements GrpcMessage {
6628
+ static id: string;
6629
+ /**
6630
+ * Deserialize binary data to message
6631
+ * @param instance message instance
6632
+ */
6633
+ static deserializeBinary(bytes: ByteSource): GetAudioFileOfSessionRequest;
6634
+ /**
6635
+ * Check all the properties and set default protobuf values if necessary
6636
+ * @param _instance message instance
6637
+ */
6638
+ static refineValues(_instance: GetAudioFileOfSessionRequest): void;
6639
+ /**
6640
+ * Deserializes / reads binary message into message instance using provided binary reader
6641
+ * @param _instance message instance
6642
+ * @param _reader binary reader instance
6643
+ */
6644
+ static deserializeBinaryFromReader(_instance: GetAudioFileOfSessionRequest, _reader: BinaryReader): void;
6645
+ /**
6646
+ * Serializes a message to binary format using provided binary reader
6647
+ * @param _instance message instance
6648
+ * @param _writer binary writer instance
6649
+ */
6650
+ static serializeBinaryToWriter(_instance: GetAudioFileOfSessionRequest, _writer: BinaryWriter): void;
6651
+ private _parent;
6652
+ private _sessionId;
6653
+ private _resourceView;
6654
+ /**
6655
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
6656
+ * @param _value initial values object or instance of GetAudioFileOfSessionRequest to deeply clone from
6657
+ */
6658
+ constructor(_value?: RecursivePartial<GetAudioFileOfSessionRequest.AsObject>);
6659
+ get parent(): string;
6660
+ set parent(value: string);
6661
+ get sessionId(): string;
6662
+ set sessionId(value: string);
6663
+ get resourceView(): ResourceView;
6664
+ set resourceView(value: ResourceView);
6665
+ /**
6666
+ * Serialize message to binary data
6667
+ * @param instance message instance
6668
+ */
6669
+ serializeBinary(): any;
6670
+ /**
6671
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
6672
+ */
6673
+ toObject(): GetAudioFileOfSessionRequest.AsObject;
6674
+ /**
6675
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
6676
+ */
6677
+ toJSON(): GetAudioFileOfSessionRequest.AsObject;
6678
+ /**
6679
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
6680
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
6681
+ * 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
6682
+ */
6683
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAudioFileOfSessionRequest.AsProtobufJSON;
6684
+ }
6685
+ export declare module GetAudioFileOfSessionRequest {
6686
+ /**
6687
+ * Standard JavaScript object representation for GetAudioFileOfSessionRequest
6688
+ */
6689
+ interface AsObject {
6690
+ parent: string;
6691
+ sessionId: string;
6692
+ resourceView: ResourceView;
6693
+ }
6694
+ /**
6695
+ * Protobuf JSON representation for GetAudioFileOfSessionRequest
6696
+ */
6697
+ interface AsProtobufJSON {
6698
+ parent: string;
6699
+ sessionId: string;
6700
+ resourceView: string;
5254
6701
  }
5255
6702
  }