@ondewo/nlu-client-typescript 4.7.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
  3. package/api/ondewo/nlu/agent_pb.d.ts +222 -1
  4. package/api/ondewo/nlu/agent_pb.js +1814 -30
  5. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
  6. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
  8. package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
  9. package/api/ondewo/nlu/common_pb.d.ts +456 -0
  10. package/api/ondewo/nlu/common_pb.js +3523 -4
  11. package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
  12. package/api/ondewo/nlu/context_pb.d.ts +41 -0
  13. package/api/ondewo/nlu/context_pb.js +328 -2
  14. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
  15. package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
  16. package/api/ondewo/nlu/entity_type_pb.js +328 -2
  17. package/api/ondewo/nlu/intent_pb.d.ts +120 -0
  18. package/api/ondewo/nlu/intent_pb.js +1058 -86
  19. package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
  20. package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
  21. package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
  22. package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
  23. package/api/ondewo/nlu/project_role_pb.js +167 -3
  24. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
  25. package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
  26. package/api/ondewo/nlu/session_pb.d.ts +624 -0
  27. package/api/ondewo/nlu/session_pb.js +10278 -5168
  28. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
  29. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
  30. package/api/ondewo/nlu/user_pb.d.ts +284 -0
  31. package/api/ondewo/nlu/user_pb.js +3418 -1024
  32. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
  33. package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
  34. package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
  35. package/api/ondewo/nlu/webhook_pb.js +1530 -34
  36. package/package.json +1 -1
  37. package/public-api.d.ts +27 -25
@@ -7,6 +7,7 @@ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/stru
7
7
  import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
8
8
  import * as google_rpc_status_pb from '../../google/rpc/status_pb';
9
9
  import * as google_type_latlng_pb from '../../google/type/latlng_pb';
10
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
10
11
  import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
11
12
  import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
12
13
  import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
@@ -125,6 +126,11 @@ export class QueryParameters extends jspb.Message {
125
126
  getIdentifiedUserId(): string;
126
127
  setIdentifiedUserId(value: string): QueryParameters;
127
128
 
129
+ getTranscriptionsList(): Array<Transcription>;
130
+ setTranscriptionsList(value: Array<Transcription>): QueryParameters;
131
+ clearTranscriptionsList(): QueryParameters;
132
+ addTranscriptions(value?: Transcription, index?: number): Transcription;
133
+
128
134
  serializeBinary(): Uint8Array;
129
135
  toObject(includeInstance?: boolean): QueryParameters.AsObject;
130
136
  static toObject(includeInstance: boolean, msg: QueryParameters): QueryParameters.AsObject;
@@ -147,6 +153,73 @@ export namespace QueryParameters {
147
153
  datastreamId: string,
148
154
  originId: string,
149
155
  identifiedUserId: string,
156
+ transcriptionsList: Array<Transcription.AsObject>,
157
+ }
158
+ }
159
+
160
+ export class Transcription extends jspb.Message {
161
+ getName(): string;
162
+ setName(value: string): Transcription;
163
+
164
+ getText(): string;
165
+ setText(value: string): Transcription;
166
+
167
+ getScore(): number;
168
+ setScore(value: number): Transcription;
169
+
170
+ getLanguageCode(): string;
171
+ setLanguageCode(value: string): Transcription;
172
+
173
+ getAudioResourceName(): string;
174
+ setAudioResourceName(value: string): Transcription;
175
+
176
+ getPipelineId(): string;
177
+ setPipelineId(value: string): Transcription;
178
+
179
+ getDurationInS(): number;
180
+ setDurationInS(value: number): Transcription;
181
+
182
+ getTranscriptionType(): TranscriptionType;
183
+ setTranscriptionType(value: TranscriptionType): Transcription;
184
+
185
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
186
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Transcription;
187
+ hasCreatedAt(): boolean;
188
+ clearCreatedAt(): Transcription;
189
+
190
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
191
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Transcription;
192
+ hasModifiedAt(): boolean;
193
+ clearModifiedAt(): Transcription;
194
+
195
+ getCreatedBy(): string;
196
+ setCreatedBy(value: string): Transcription;
197
+
198
+ getModifiedBy(): string;
199
+ setModifiedBy(value: string): Transcription;
200
+
201
+ serializeBinary(): Uint8Array;
202
+ toObject(includeInstance?: boolean): Transcription.AsObject;
203
+ static toObject(includeInstance: boolean, msg: Transcription): Transcription.AsObject;
204
+ static serializeBinaryToWriter(message: Transcription, writer: jspb.BinaryWriter): void;
205
+ static deserializeBinary(bytes: Uint8Array): Transcription;
206
+ static deserializeBinaryFromReader(message: Transcription, reader: jspb.BinaryReader): Transcription;
207
+ }
208
+
209
+ export namespace Transcription {
210
+ export type AsObject = {
211
+ name: string,
212
+ text: string,
213
+ score: number,
214
+ languageCode: string,
215
+ audioResourceName: string,
216
+ pipelineId: string,
217
+ durationInS: number,
218
+ transcriptionType: TranscriptionType,
219
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
220
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
221
+ createdBy: string,
222
+ modifiedBy: string,
150
223
  }
151
224
  }
152
225
 
@@ -485,6 +558,22 @@ export class Session extends jspb.Message {
485
558
  hasSessionInfo(): boolean;
486
559
  clearSessionInfo(): Session;
487
560
 
561
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
562
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Session;
563
+ hasCreatedAt(): boolean;
564
+ clearCreatedAt(): Session;
565
+
566
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
567
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Session;
568
+ hasModifiedAt(): boolean;
569
+ clearModifiedAt(): Session;
570
+
571
+ getCreatedBy(): string;
572
+ setCreatedBy(value: string): Session;
573
+
574
+ getModifiedBy(): string;
575
+ setModifiedBy(value: string): Session;
576
+
488
577
  serializeBinary(): Uint8Array;
489
578
  toObject(includeInstance?: boolean): Session.AsObject;
490
579
  static toObject(includeInstance: boolean, msg: Session): Session.AsObject;
@@ -498,6 +587,10 @@ export namespace Session {
498
587
  name: string,
499
588
  sessionStepsList: Array<SessionStep.AsObject>,
500
589
  sessionInfo?: SessionInfo.AsObject,
590
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
591
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
592
+ createdBy: string,
593
+ modifiedBy: string,
501
594
  }
502
595
 
503
596
  export enum View {
@@ -531,6 +624,27 @@ export class SessionStep extends jspb.Message {
531
624
  hasTimestamp(): boolean;
532
625
  clearTimestamp(): SessionStep;
533
626
 
627
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
628
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionStep;
629
+ hasCreatedAt(): boolean;
630
+ clearCreatedAt(): SessionStep;
631
+
632
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
633
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionStep;
634
+ hasModifiedAt(): boolean;
635
+ clearModifiedAt(): SessionStep;
636
+
637
+ getCreatedBy(): string;
638
+ setCreatedBy(value: string): SessionStep;
639
+
640
+ getModifiedBy(): string;
641
+ setModifiedBy(value: string): SessionStep;
642
+
643
+ getAudioFileResourcesList(): Array<AudioFileResource>;
644
+ setAudioFileResourcesList(value: Array<AudioFileResource>): SessionStep;
645
+ clearAudioFileResourcesList(): SessionStep;
646
+ addAudioFileResources(value?: AudioFileResource, index?: number): AudioFileResource;
647
+
534
648
  serializeBinary(): Uint8Array;
535
649
  toObject(includeInstance?: boolean): SessionStep.AsObject;
536
650
  static toObject(includeInstance: boolean, msg: SessionStep): SessionStep.AsObject;
@@ -546,6 +660,11 @@ export namespace SessionStep {
546
660
  detectIntentResponse?: DetectIntentResponse.AsObject,
547
661
  contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
548
662
  timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
663
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
664
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
665
+ createdBy: string,
666
+ modifiedBy: string,
667
+ audioFileResourcesList: Array<AudioFileResource.AsObject>,
549
668
  }
550
669
  }
551
670
 
@@ -1010,6 +1129,11 @@ export class SessionInfo extends jspb.Message {
1010
1129
  getDurationInterval60sRounded(): number;
1011
1130
  setDurationInterval60sRounded(value: number): SessionInfo;
1012
1131
 
1132
+ getParentCommentList(): Array<ondewo_nlu_common_pb.Comment>;
1133
+ setParentCommentList(value: Array<ondewo_nlu_common_pb.Comment>): SessionInfo;
1134
+ clearParentCommentList(): SessionInfo;
1135
+ addParentComment(value?: ondewo_nlu_common_pb.Comment, index?: number): ondewo_nlu_common_pb.Comment;
1136
+
1013
1137
  serializeBinary(): Uint8Array;
1014
1138
  toObject(includeInstance?: boolean): SessionInfo.AsObject;
1015
1139
  static toObject(includeInstance: boolean, msg: SessionInfo): SessionInfo.AsObject;
@@ -1052,6 +1176,7 @@ export namespace SessionInfo {
1052
1176
  originIdsList: Array<string>,
1053
1177
  identifiedUserIdsList: Array<string>,
1054
1178
  durationInterval60sRounded: number,
1179
+ parentCommentList: Array<ondewo_nlu_common_pb.Comment.AsObject>,
1055
1180
  }
1056
1181
 
1057
1182
  export class ContextSteps extends jspb.Message {
@@ -1221,6 +1346,22 @@ export class SessionReview extends jspb.Message {
1221
1346
  clearSessionReviewStepsList(): SessionReview;
1222
1347
  addSessionReviewSteps(value?: SessionReviewStep, index?: number): SessionReviewStep;
1223
1348
 
1349
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
1350
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionReview;
1351
+ hasCreatedAt(): boolean;
1352
+ clearCreatedAt(): SessionReview;
1353
+
1354
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
1355
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionReview;
1356
+ hasModifiedAt(): boolean;
1357
+ clearModifiedAt(): SessionReview;
1358
+
1359
+ getCreatedBy(): string;
1360
+ setCreatedBy(value: string): SessionReview;
1361
+
1362
+ getModifiedBy(): string;
1363
+ setModifiedBy(value: string): SessionReview;
1364
+
1224
1365
  serializeBinary(): Uint8Array;
1225
1366
  toObject(includeInstance?: boolean): SessionReview.AsObject;
1226
1367
  static toObject(includeInstance: boolean, msg: SessionReview): SessionReview.AsObject;
@@ -1233,6 +1374,10 @@ export namespace SessionReview {
1233
1374
  export type AsObject = {
1234
1375
  name: string,
1235
1376
  sessionReviewStepsList: Array<SessionReviewStep.AsObject>,
1377
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1378
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1379
+ createdBy: string,
1380
+ modifiedBy: string,
1236
1381
  }
1237
1382
 
1238
1383
  export enum View {
@@ -1282,6 +1427,27 @@ export class SessionReviewStep extends jspb.Message {
1282
1427
  hasTimestamp(): boolean;
1283
1428
  clearTimestamp(): SessionReviewStep;
1284
1429
 
1430
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
1431
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionReviewStep;
1432
+ hasCreatedAt(): boolean;
1433
+ clearCreatedAt(): SessionReviewStep;
1434
+
1435
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
1436
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): SessionReviewStep;
1437
+ hasModifiedAt(): boolean;
1438
+ clearModifiedAt(): SessionReviewStep;
1439
+
1440
+ getCreatedBy(): string;
1441
+ setCreatedBy(value: string): SessionReviewStep;
1442
+
1443
+ getModifiedBy(): string;
1444
+ setModifiedBy(value: string): SessionReviewStep;
1445
+
1446
+ getAudioFileResourcesList(): Array<AudioFileResource>;
1447
+ setAudioFileResourcesList(value: Array<AudioFileResource>): SessionReviewStep;
1448
+ clearAudioFileResourcesList(): SessionReviewStep;
1449
+ addAudioFileResources(value?: AudioFileResource, index?: number): AudioFileResource;
1450
+
1285
1451
  serializeBinary(): Uint8Array;
1286
1452
  toObject(includeInstance?: boolean): SessionReviewStep.AsObject;
1287
1453
  static toObject(includeInstance: boolean, msg: SessionReviewStep): SessionReviewStep.AsObject;
@@ -1301,6 +1467,11 @@ export namespace SessionReviewStep {
1301
1467
  queryTextOriginal: string,
1302
1468
  platformsList: Array<ondewo_nlu_intent_pb.Intent.Message.Platform>,
1303
1469
  timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1470
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1471
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1472
+ createdBy: string,
1473
+ modifiedBy: string,
1474
+ audioFileResourcesList: Array<AudioFileResource.AsObject>,
1304
1475
  }
1305
1476
  }
1306
1477
 
@@ -2024,6 +2195,124 @@ export namespace DeleteSessionLabelsRequest {
2024
2195
  }
2025
2196
  }
2026
2197
 
2198
+ export class AddSessionCommentRequest extends jspb.Message {
2199
+ getSessionId(): string;
2200
+ setSessionId(value: string): AddSessionCommentRequest;
2201
+
2202
+ getComment(): ondewo_nlu_common_pb.Comment | undefined;
2203
+ setComment(value?: ondewo_nlu_common_pb.Comment): AddSessionCommentRequest;
2204
+ hasComment(): boolean;
2205
+ clearComment(): AddSessionCommentRequest;
2206
+
2207
+ serializeBinary(): Uint8Array;
2208
+ toObject(includeInstance?: boolean): AddSessionCommentRequest.AsObject;
2209
+ static toObject(includeInstance: boolean, msg: AddSessionCommentRequest): AddSessionCommentRequest.AsObject;
2210
+ static serializeBinaryToWriter(message: AddSessionCommentRequest, writer: jspb.BinaryWriter): void;
2211
+ static deserializeBinary(bytes: Uint8Array): AddSessionCommentRequest;
2212
+ static deserializeBinaryFromReader(message: AddSessionCommentRequest, reader: jspb.BinaryReader): AddSessionCommentRequest;
2213
+ }
2214
+
2215
+ export namespace AddSessionCommentRequest {
2216
+ export type AsObject = {
2217
+ sessionId: string,
2218
+ comment?: ondewo_nlu_common_pb.Comment.AsObject,
2219
+ }
2220
+ }
2221
+
2222
+ export class DeleteSessionCommentsRequest extends jspb.Message {
2223
+ getSessionId(): string;
2224
+ setSessionId(value: string): DeleteSessionCommentsRequest;
2225
+
2226
+ getCommentNamesList(): Array<string>;
2227
+ setCommentNamesList(value: Array<string>): DeleteSessionCommentsRequest;
2228
+ clearCommentNamesList(): DeleteSessionCommentsRequest;
2229
+ addCommentNames(value: string, index?: number): DeleteSessionCommentsRequest;
2230
+
2231
+ serializeBinary(): Uint8Array;
2232
+ toObject(includeInstance?: boolean): DeleteSessionCommentsRequest.AsObject;
2233
+ static toObject(includeInstance: boolean, msg: DeleteSessionCommentsRequest): DeleteSessionCommentsRequest.AsObject;
2234
+ static serializeBinaryToWriter(message: DeleteSessionCommentsRequest, writer: jspb.BinaryWriter): void;
2235
+ static deserializeBinary(bytes: Uint8Array): DeleteSessionCommentsRequest;
2236
+ static deserializeBinaryFromReader(message: DeleteSessionCommentsRequest, reader: jspb.BinaryReader): DeleteSessionCommentsRequest;
2237
+ }
2238
+
2239
+ export namespace DeleteSessionCommentsRequest {
2240
+ export type AsObject = {
2241
+ sessionId: string,
2242
+ commentNamesList: Array<string>,
2243
+ }
2244
+ }
2245
+
2246
+ export class UpdateSessionCommentsRequest extends jspb.Message {
2247
+ getSessionId(): string;
2248
+ setSessionId(value: string): UpdateSessionCommentsRequest;
2249
+
2250
+ getComment(): ondewo_nlu_common_pb.Comment | undefined;
2251
+ setComment(value?: ondewo_nlu_common_pb.Comment): UpdateSessionCommentsRequest;
2252
+ hasComment(): boolean;
2253
+ clearComment(): UpdateSessionCommentsRequest;
2254
+
2255
+ serializeBinary(): Uint8Array;
2256
+ toObject(includeInstance?: boolean): UpdateSessionCommentsRequest.AsObject;
2257
+ static toObject(includeInstance: boolean, msg: UpdateSessionCommentsRequest): UpdateSessionCommentsRequest.AsObject;
2258
+ static serializeBinaryToWriter(message: UpdateSessionCommentsRequest, writer: jspb.BinaryWriter): void;
2259
+ static deserializeBinary(bytes: Uint8Array): UpdateSessionCommentsRequest;
2260
+ static deserializeBinaryFromReader(message: UpdateSessionCommentsRequest, reader: jspb.BinaryReader): UpdateSessionCommentsRequest;
2261
+ }
2262
+
2263
+ export namespace UpdateSessionCommentsRequest {
2264
+ export type AsObject = {
2265
+ sessionId: string,
2266
+ comment?: ondewo_nlu_common_pb.Comment.AsObject,
2267
+ }
2268
+ }
2269
+
2270
+ export class ListSessionCommentsRequest extends jspb.Message {
2271
+ getSessionId(): string;
2272
+ setSessionId(value: string): ListSessionCommentsRequest;
2273
+
2274
+ getPageToken(): string;
2275
+ setPageToken(value: string): ListSessionCommentsRequest;
2276
+
2277
+ serializeBinary(): Uint8Array;
2278
+ toObject(includeInstance?: boolean): ListSessionCommentsRequest.AsObject;
2279
+ static toObject(includeInstance: boolean, msg: ListSessionCommentsRequest): ListSessionCommentsRequest.AsObject;
2280
+ static serializeBinaryToWriter(message: ListSessionCommentsRequest, writer: jspb.BinaryWriter): void;
2281
+ static deserializeBinary(bytes: Uint8Array): ListSessionCommentsRequest;
2282
+ static deserializeBinaryFromReader(message: ListSessionCommentsRequest, reader: jspb.BinaryReader): ListSessionCommentsRequest;
2283
+ }
2284
+
2285
+ export namespace ListSessionCommentsRequest {
2286
+ export type AsObject = {
2287
+ sessionId: string,
2288
+ pageToken: string,
2289
+ }
2290
+ }
2291
+
2292
+ export class ListSessionCommentsResponse extends jspb.Message {
2293
+ getCommentList(): Array<ondewo_nlu_common_pb.Comment>;
2294
+ setCommentList(value: Array<ondewo_nlu_common_pb.Comment>): ListSessionCommentsResponse;
2295
+ clearCommentList(): ListSessionCommentsResponse;
2296
+ addComment(value?: ondewo_nlu_common_pb.Comment, index?: number): ondewo_nlu_common_pb.Comment;
2297
+
2298
+ getPageToken(): string;
2299
+ setPageToken(value: string): ListSessionCommentsResponse;
2300
+
2301
+ serializeBinary(): Uint8Array;
2302
+ toObject(includeInstance?: boolean): ListSessionCommentsResponse.AsObject;
2303
+ static toObject(includeInstance: boolean, msg: ListSessionCommentsResponse): ListSessionCommentsResponse.AsObject;
2304
+ static serializeBinaryToWriter(message: ListSessionCommentsResponse, writer: jspb.BinaryWriter): void;
2305
+ static deserializeBinary(bytes: Uint8Array): ListSessionCommentsResponse;
2306
+ static deserializeBinaryFromReader(message: ListSessionCommentsResponse, reader: jspb.BinaryReader): ListSessionCommentsResponse;
2307
+ }
2308
+
2309
+ export namespace ListSessionCommentsResponse {
2310
+ export type AsObject = {
2311
+ commentList: Array<ondewo_nlu_common_pb.Comment.AsObject>,
2312
+ pageToken: string,
2313
+ }
2314
+ }
2315
+
2027
2316
  export class ListSessionReviewsRequest extends jspb.Message {
2028
2317
  getSessionId(): string;
2029
2318
  setSessionId(value: string): ListSessionReviewsRequest;
@@ -2118,6 +2407,329 @@ export namespace GetLatestSessionReviewRequest {
2118
2407
  }
2119
2408
  }
2120
2409
 
2410
+ export class AudioFileResource extends jspb.Message {
2411
+ getName(): string;
2412
+ setName(value: string): AudioFileResource;
2413
+
2414
+ getBytes(): Uint8Array | string;
2415
+ getBytes_asU8(): Uint8Array;
2416
+ getBytes_asB64(): string;
2417
+ setBytes(value: Uint8Array | string): AudioFileResource;
2418
+
2419
+ getLanguage(): string;
2420
+ setLanguage(value: string): AudioFileResource;
2421
+
2422
+ getDurationInS(): number;
2423
+ setDurationInS(value: number): AudioFileResource;
2424
+
2425
+ getSampleRate(): number;
2426
+ setSampleRate(value: number): AudioFileResource;
2427
+
2428
+ getAudioFileResourceType(): AudioFileResourceType;
2429
+ setAudioFileResourceType(value: AudioFileResourceType): AudioFileResource;
2430
+
2431
+ getTranscriptionsList(): Array<Transcription>;
2432
+ setTranscriptionsList(value: Array<Transcription>): AudioFileResource;
2433
+ clearTranscriptionsList(): AudioFileResource;
2434
+ addTranscriptions(value?: Transcription, index?: number): Transcription;
2435
+
2436
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
2437
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): AudioFileResource;
2438
+ hasCreatedAt(): boolean;
2439
+ clearCreatedAt(): AudioFileResource;
2440
+
2441
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
2442
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): AudioFileResource;
2443
+ hasModifiedAt(): boolean;
2444
+ clearModifiedAt(): AudioFileResource;
2445
+
2446
+ getCreatedBy(): string;
2447
+ setCreatedBy(value: string): AudioFileResource;
2448
+
2449
+ getModifiedBy(): string;
2450
+ setModifiedBy(value: string): AudioFileResource;
2451
+
2452
+ serializeBinary(): Uint8Array;
2453
+ toObject(includeInstance?: boolean): AudioFileResource.AsObject;
2454
+ static toObject(includeInstance: boolean, msg: AudioFileResource): AudioFileResource.AsObject;
2455
+ static serializeBinaryToWriter(message: AudioFileResource, writer: jspb.BinaryWriter): void;
2456
+ static deserializeBinary(bytes: Uint8Array): AudioFileResource;
2457
+ static deserializeBinaryFromReader(message: AudioFileResource, reader: jspb.BinaryReader): AudioFileResource;
2458
+ }
2459
+
2460
+ export namespace AudioFileResource {
2461
+ export type AsObject = {
2462
+ name: string,
2463
+ bytes: Uint8Array | string,
2464
+ language: string,
2465
+ durationInS: number,
2466
+ sampleRate: number,
2467
+ audioFileResourceType: AudioFileResourceType,
2468
+ transcriptionsList: Array<Transcription.AsObject>,
2469
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
2470
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
2471
+ createdBy: string,
2472
+ modifiedBy: string,
2473
+ }
2474
+ }
2475
+
2476
+ export class GetAudioFilesRequest extends jspb.Message {
2477
+ getParent(): string;
2478
+ setParent(value: string): GetAudioFilesRequest;
2479
+
2480
+ getNamesList(): Array<string>;
2481
+ setNamesList(value: Array<string>): GetAudioFilesRequest;
2482
+ clearNamesList(): GetAudioFilesRequest;
2483
+ addNames(value: string, index?: number): GetAudioFilesRequest;
2484
+
2485
+ getResourceView(): ResourceView;
2486
+ setResourceView(value: ResourceView): GetAudioFilesRequest;
2487
+
2488
+ getPageToken(): string;
2489
+ setPageToken(value: string): GetAudioFilesRequest;
2490
+
2491
+ getSortingMode(): ondewo_nlu_common_pb.SortingMode;
2492
+ setSortingMode(value: ondewo_nlu_common_pb.SortingMode): GetAudioFilesRequest;
2493
+
2494
+ serializeBinary(): Uint8Array;
2495
+ toObject(includeInstance?: boolean): GetAudioFilesRequest.AsObject;
2496
+ static toObject(includeInstance: boolean, msg: GetAudioFilesRequest): GetAudioFilesRequest.AsObject;
2497
+ static serializeBinaryToWriter(message: GetAudioFilesRequest, writer: jspb.BinaryWriter): void;
2498
+ static deserializeBinary(bytes: Uint8Array): GetAudioFilesRequest;
2499
+ static deserializeBinaryFromReader(message: GetAudioFilesRequest, reader: jspb.BinaryReader): GetAudioFilesRequest;
2500
+ }
2501
+
2502
+ export namespace GetAudioFilesRequest {
2503
+ export type AsObject = {
2504
+ parent: string,
2505
+ namesList: Array<string>,
2506
+ resourceView: ResourceView,
2507
+ pageToken: string,
2508
+ sortingMode: ondewo_nlu_common_pb.SortingMode,
2509
+ }
2510
+ }
2511
+
2512
+ export class GetAudioFilesResponse extends jspb.Message {
2513
+ getAudioFilesList(): Array<AudioFileResource>;
2514
+ setAudioFilesList(value: Array<AudioFileResource>): GetAudioFilesResponse;
2515
+ clearAudioFilesList(): GetAudioFilesResponse;
2516
+ addAudioFiles(value?: AudioFileResource, index?: number): AudioFileResource;
2517
+
2518
+ getErrorMessage(): string;
2519
+ setErrorMessage(value: string): GetAudioFilesResponse;
2520
+
2521
+ getNextPageToken(): string;
2522
+ setNextPageToken(value: string): GetAudioFilesResponse;
2523
+
2524
+ serializeBinary(): Uint8Array;
2525
+ toObject(includeInstance?: boolean): GetAudioFilesResponse.AsObject;
2526
+ static toObject(includeInstance: boolean, msg: GetAudioFilesResponse): GetAudioFilesResponse.AsObject;
2527
+ static serializeBinaryToWriter(message: GetAudioFilesResponse, writer: jspb.BinaryWriter): void;
2528
+ static deserializeBinary(bytes: Uint8Array): GetAudioFilesResponse;
2529
+ static deserializeBinaryFromReader(message: GetAudioFilesResponse, reader: jspb.BinaryReader): GetAudioFilesResponse;
2530
+ }
2531
+
2532
+ export namespace GetAudioFilesResponse {
2533
+ export type AsObject = {
2534
+ audioFilesList: Array<AudioFileResource.AsObject>,
2535
+ errorMessage: string,
2536
+ nextPageToken: string,
2537
+ }
2538
+ }
2539
+
2540
+ export class AddAudioFilesRequest extends jspb.Message {
2541
+ getParent(): string;
2542
+ setParent(value: string): AddAudioFilesRequest;
2543
+
2544
+ getSessionId(): string;
2545
+ setSessionId(value: string): AddAudioFilesRequest;
2546
+
2547
+ getAudioFileResourcesList(): Array<AudioFileResource>;
2548
+ setAudioFileResourcesList(value: Array<AudioFileResource>): AddAudioFilesRequest;
2549
+ clearAudioFileResourcesList(): AddAudioFilesRequest;
2550
+ addAudioFileResources(value?: AudioFileResource, index?: number): AudioFileResource;
2551
+
2552
+ serializeBinary(): Uint8Array;
2553
+ toObject(includeInstance?: boolean): AddAudioFilesRequest.AsObject;
2554
+ static toObject(includeInstance: boolean, msg: AddAudioFilesRequest): AddAudioFilesRequest.AsObject;
2555
+ static serializeBinaryToWriter(message: AddAudioFilesRequest, writer: jspb.BinaryWriter): void;
2556
+ static deserializeBinary(bytes: Uint8Array): AddAudioFilesRequest;
2557
+ static deserializeBinaryFromReader(message: AddAudioFilesRequest, reader: jspb.BinaryReader): AddAudioFilesRequest;
2558
+ }
2559
+
2560
+ export namespace AddAudioFilesRequest {
2561
+ export type AsObject = {
2562
+ parent: string,
2563
+ sessionId: string,
2564
+ audioFileResourcesList: Array<AudioFileResource.AsObject>,
2565
+ }
2566
+ }
2567
+
2568
+ export class AddAudioFilesResponse extends jspb.Message {
2569
+ getAudioFileResourcesList(): Array<AudioFileResource>;
2570
+ setAudioFileResourcesList(value: Array<AudioFileResource>): AddAudioFilesResponse;
2571
+ clearAudioFileResourcesList(): AddAudioFilesResponse;
2572
+ addAudioFileResources(value?: AudioFileResource, index?: number): AudioFileResource;
2573
+
2574
+ getErrorMessage(): string;
2575
+ setErrorMessage(value: string): AddAudioFilesResponse;
2576
+
2577
+ serializeBinary(): Uint8Array;
2578
+ toObject(includeInstance?: boolean): AddAudioFilesResponse.AsObject;
2579
+ static toObject(includeInstance: boolean, msg: AddAudioFilesResponse): AddAudioFilesResponse.AsObject;
2580
+ static serializeBinaryToWriter(message: AddAudioFilesResponse, writer: jspb.BinaryWriter): void;
2581
+ static deserializeBinary(bytes: Uint8Array): AddAudioFilesResponse;
2582
+ static deserializeBinaryFromReader(message: AddAudioFilesResponse, reader: jspb.BinaryReader): AddAudioFilesResponse;
2583
+ }
2584
+
2585
+ export namespace AddAudioFilesResponse {
2586
+ export type AsObject = {
2587
+ audioFileResourcesList: Array<AudioFileResource.AsObject>,
2588
+ errorMessage: string,
2589
+ }
2590
+ }
2591
+
2592
+ export class DeleteAudioFilesRequest extends jspb.Message {
2593
+ getParent(): string;
2594
+ setParent(value: string): DeleteAudioFilesRequest;
2595
+
2596
+ getNamesList(): Array<string>;
2597
+ setNamesList(value: Array<string>): DeleteAudioFilesRequest;
2598
+ clearNamesList(): DeleteAudioFilesRequest;
2599
+ addNames(value: string, index?: number): DeleteAudioFilesRequest;
2600
+
2601
+ serializeBinary(): Uint8Array;
2602
+ toObject(includeInstance?: boolean): DeleteAudioFilesRequest.AsObject;
2603
+ static toObject(includeInstance: boolean, msg: DeleteAudioFilesRequest): DeleteAudioFilesRequest.AsObject;
2604
+ static serializeBinaryToWriter(message: DeleteAudioFilesRequest, writer: jspb.BinaryWriter): void;
2605
+ static deserializeBinary(bytes: Uint8Array): DeleteAudioFilesRequest;
2606
+ static deserializeBinaryFromReader(message: DeleteAudioFilesRequest, reader: jspb.BinaryReader): DeleteAudioFilesRequest;
2607
+ }
2608
+
2609
+ export namespace DeleteAudioFilesRequest {
2610
+ export type AsObject = {
2611
+ parent: string,
2612
+ namesList: Array<string>,
2613
+ }
2614
+ }
2615
+
2616
+ export class DeleteAudioFilesResponse extends jspb.Message {
2617
+ getNamesList(): Array<string>;
2618
+ setNamesList(value: Array<string>): DeleteAudioFilesResponse;
2619
+ clearNamesList(): DeleteAudioFilesResponse;
2620
+ addNames(value: string, index?: number): DeleteAudioFilesResponse;
2621
+
2622
+ getErrorMessage(): string;
2623
+ setErrorMessage(value: string): DeleteAudioFilesResponse;
2624
+
2625
+ serializeBinary(): Uint8Array;
2626
+ toObject(includeInstance?: boolean): DeleteAudioFilesResponse.AsObject;
2627
+ static toObject(includeInstance: boolean, msg: DeleteAudioFilesResponse): DeleteAudioFilesResponse.AsObject;
2628
+ static serializeBinaryToWriter(message: DeleteAudioFilesResponse, writer: jspb.BinaryWriter): void;
2629
+ static deserializeBinary(bytes: Uint8Array): DeleteAudioFilesResponse;
2630
+ static deserializeBinaryFromReader(message: DeleteAudioFilesResponse, reader: jspb.BinaryReader): DeleteAudioFilesResponse;
2631
+ }
2632
+
2633
+ export namespace DeleteAudioFilesResponse {
2634
+ export type AsObject = {
2635
+ namesList: Array<string>,
2636
+ errorMessage: string,
2637
+ }
2638
+ }
2639
+
2640
+ export class ListAudioFilesRequest extends jspb.Message {
2641
+ getParent(): string;
2642
+ setParent(value: string): ListAudioFilesRequest;
2643
+
2644
+ getSessionId(): string;
2645
+ setSessionId(value: string): ListAudioFilesRequest;
2646
+
2647
+ getResourceView(): ResourceView;
2648
+ setResourceView(value: ResourceView): ListAudioFilesRequest;
2649
+
2650
+ getPageToken(): string;
2651
+ setPageToken(value: string): ListAudioFilesRequest;
2652
+
2653
+ getSortingMode(): ondewo_nlu_common_pb.SortingMode;
2654
+ setSortingMode(value: ondewo_nlu_common_pb.SortingMode): ListAudioFilesRequest;
2655
+
2656
+ serializeBinary(): Uint8Array;
2657
+ toObject(includeInstance?: boolean): ListAudioFilesRequest.AsObject;
2658
+ static toObject(includeInstance: boolean, msg: ListAudioFilesRequest): ListAudioFilesRequest.AsObject;
2659
+ static serializeBinaryToWriter(message: ListAudioFilesRequest, writer: jspb.BinaryWriter): void;
2660
+ static deserializeBinary(bytes: Uint8Array): ListAudioFilesRequest;
2661
+ static deserializeBinaryFromReader(message: ListAudioFilesRequest, reader: jspb.BinaryReader): ListAudioFilesRequest;
2662
+ }
2663
+
2664
+ export namespace ListAudioFilesRequest {
2665
+ export type AsObject = {
2666
+ parent: string,
2667
+ sessionId: string,
2668
+ resourceView: ResourceView,
2669
+ pageToken: string,
2670
+ sortingMode: ondewo_nlu_common_pb.SortingMode,
2671
+ }
2672
+ }
2673
+
2674
+ export class ListAudioFilesResponse extends jspb.Message {
2675
+ getAudioFilesList(): Array<AudioFileResource>;
2676
+ setAudioFilesList(value: Array<AudioFileResource>): ListAudioFilesResponse;
2677
+ clearAudioFilesList(): ListAudioFilesResponse;
2678
+ addAudioFiles(value?: AudioFileResource, index?: number): AudioFileResource;
2679
+
2680
+ getNextPageToken(): string;
2681
+ setNextPageToken(value: string): ListAudioFilesResponse;
2682
+
2683
+ getErrorMessage(): string;
2684
+ setErrorMessage(value: string): ListAudioFilesResponse;
2685
+
2686
+ serializeBinary(): Uint8Array;
2687
+ toObject(includeInstance?: boolean): ListAudioFilesResponse.AsObject;
2688
+ static toObject(includeInstance: boolean, msg: ListAudioFilesResponse): ListAudioFilesResponse.AsObject;
2689
+ static serializeBinaryToWriter(message: ListAudioFilesResponse, writer: jspb.BinaryWriter): void;
2690
+ static deserializeBinary(bytes: Uint8Array): ListAudioFilesResponse;
2691
+ static deserializeBinaryFromReader(message: ListAudioFilesResponse, reader: jspb.BinaryReader): ListAudioFilesResponse;
2692
+ }
2693
+
2694
+ export namespace ListAudioFilesResponse {
2695
+ export type AsObject = {
2696
+ audioFilesList: Array<AudioFileResource.AsObject>,
2697
+ nextPageToken: string,
2698
+ errorMessage: string,
2699
+ }
2700
+ }
2701
+
2702
+ export class GetAudioFileOfSessionRequest extends jspb.Message {
2703
+ getParent(): string;
2704
+ setParent(value: string): GetAudioFileOfSessionRequest;
2705
+
2706
+ getSessionId(): string;
2707
+ setSessionId(value: string): GetAudioFileOfSessionRequest;
2708
+
2709
+ getResourceView(): ResourceView;
2710
+ setResourceView(value: ResourceView): GetAudioFileOfSessionRequest;
2711
+
2712
+ serializeBinary(): Uint8Array;
2713
+ toObject(includeInstance?: boolean): GetAudioFileOfSessionRequest.AsObject;
2714
+ static toObject(includeInstance: boolean, msg: GetAudioFileOfSessionRequest): GetAudioFileOfSessionRequest.AsObject;
2715
+ static serializeBinaryToWriter(message: GetAudioFileOfSessionRequest, writer: jspb.BinaryWriter): void;
2716
+ static deserializeBinary(bytes: Uint8Array): GetAudioFileOfSessionRequest;
2717
+ static deserializeBinaryFromReader(message: GetAudioFileOfSessionRequest, reader: jspb.BinaryReader): GetAudioFileOfSessionRequest;
2718
+ }
2719
+
2720
+ export namespace GetAudioFileOfSessionRequest {
2721
+ export type AsObject = {
2722
+ parent: string,
2723
+ sessionId: string,
2724
+ resourceView: ResourceView,
2725
+ }
2726
+ }
2727
+
2728
+ export enum TranscriptionType {
2729
+ TRANSCRIPTION_TYPE_UNSPECIFIED = 0,
2730
+ TRANSCRIPTION_TYPE_S2T = 1,
2731
+ TRANSCRIPTION_TYPE_HUMAN = 2,
2732
+ }
2121
2733
  export enum AudioEncoding {
2122
2734
  AUDIO_ENCODING_UNSPECIFIED = 0,
2123
2735
  AUDIO_ENCODING_LINEAR_16 = 1,
@@ -2137,3 +2749,15 @@ export enum ComparisonOperator {
2137
2749
  STARTS_WITH = 5,
2138
2750
  ENDS_WITH = 6,
2139
2751
  }
2752
+ export enum ResourceView {
2753
+ RESOURCE_VIEW_UNSPECIFIED = 0,
2754
+ RESOURCE_VIEW_FULL = 1,
2755
+ RESOURCE_VIEW_PARTIAL = 2,
2756
+ RESOURCE_VIEW_MINIMUM = 3,
2757
+ }
2758
+ export enum AudioFileResourceType {
2759
+ AUDIO_FILE_RESOURCE_TYPE_UNSPECIFIED = 0,
2760
+ AUDIO_FILE_RESOURCE_TYPE_T2S = 1,
2761
+ AUDIO_FILE_RESOURCE_TYPE_S2T = 2,
2762
+ AUDIO_FILE_RESOURCE_TYPE_S2T_AND_T2S = 3,
2763
+ }