@ondewo/nlu-client-typescript 6.14.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/api/ondewo/nlu/agent_pb.d.ts +0 -15
- package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
- package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
- package/api/ondewo/nlu/ccai_project_pb.js +24 -132
- package/api/ondewo/nlu/common_pb.d.ts +140 -0
- package/api/ondewo/nlu/common_pb.js +1151 -9
- package/api/ondewo/nlu/context_pb.d.ts +8 -1
- package/api/ondewo/nlu/context_pb.js +22 -4
- package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
- package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
- package/api/ondewo/nlu/operations_pb.d.ts +429 -10
- package/api/ondewo/nlu/operations_pb.js +3413 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
- package/api/ondewo/nlu/rag_pb.d.ts +191 -520
- package/api/ondewo/nlu/rag_pb.js +1246 -1058
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
- package/api/ondewo/nlu/session_pb.d.ts +818 -118
- package/api/ondewo/nlu/session_pb.js +6396 -3
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
- package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
- package/api/ondewo/nlu/user_pb.d.ts +0 -87
- package/api/ondewo/nlu/user_pb.js +0 -436
- package/auth/offlineTokenProvider.d.ts +26 -6
- package/auth/offlineTokenProvider.js +61 -45
- package/package.json +9 -7
- package/public-api.d.ts +34 -33
- package/public-api.js +31 -30
|
@@ -33,6 +33,8 @@ var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
|
|
|
33
33
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
34
34
|
|
|
35
35
|
var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js')
|
|
36
|
+
|
|
37
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
36
38
|
const proto = {};
|
|
37
39
|
proto.ondewo = {};
|
|
38
40
|
proto.ondewo.nlu = require('./operations_pb.js');
|
|
@@ -333,5 +335,244 @@ proto.ondewo.nlu.OperationsPromiseClient.prototype.cancelOperation =
|
|
|
333
335
|
};
|
|
334
336
|
|
|
335
337
|
|
|
338
|
+
/**
|
|
339
|
+
* @const
|
|
340
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
341
|
+
* !proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest,
|
|
342
|
+
* !proto.ondewo.nlu.RemoteOperationContainerLogLine>}
|
|
343
|
+
*/
|
|
344
|
+
const methodDescriptor_Operations_StreamRemoteOperationContainerLogs = new grpc.web.MethodDescriptor(
|
|
345
|
+
'/ondewo.nlu.Operations/StreamRemoteOperationContainerLogs',
|
|
346
|
+
grpc.web.MethodType.SERVER_STREAMING,
|
|
347
|
+
proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest,
|
|
348
|
+
proto.ondewo.nlu.RemoteOperationContainerLogLine,
|
|
349
|
+
/**
|
|
350
|
+
* @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} request
|
|
351
|
+
* @return {!Uint8Array}
|
|
352
|
+
*/
|
|
353
|
+
function(request) {
|
|
354
|
+
return request.serializeBinary();
|
|
355
|
+
},
|
|
356
|
+
proto.ondewo.nlu.RemoteOperationContainerLogLine.deserializeBinary
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} request The request proto
|
|
362
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
363
|
+
* call metadata
|
|
364
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RemoteOperationContainerLogLine>}
|
|
365
|
+
* The XHR Node Readable Stream
|
|
366
|
+
*/
|
|
367
|
+
proto.ondewo.nlu.OperationsClient.prototype.streamRemoteOperationContainerLogs =
|
|
368
|
+
function(request, metadata) {
|
|
369
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
370
|
+
'/ondewo.nlu.Operations/StreamRemoteOperationContainerLogs',
|
|
371
|
+
request,
|
|
372
|
+
metadata || {},
|
|
373
|
+
methodDescriptor_Operations_StreamRemoteOperationContainerLogs);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} request The request proto
|
|
379
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
380
|
+
* call metadata
|
|
381
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RemoteOperationContainerLogLine>}
|
|
382
|
+
* The XHR Node Readable Stream
|
|
383
|
+
*/
|
|
384
|
+
proto.ondewo.nlu.OperationsPromiseClient.prototype.streamRemoteOperationContainerLogs =
|
|
385
|
+
function(request, metadata) {
|
|
386
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
387
|
+
'/ondewo.nlu.Operations/StreamRemoteOperationContainerLogs',
|
|
388
|
+
request,
|
|
389
|
+
metadata || {},
|
|
390
|
+
methodDescriptor_Operations_StreamRemoteOperationContainerLogs);
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @const
|
|
396
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
397
|
+
* !proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest,
|
|
398
|
+
* !proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse>}
|
|
399
|
+
*/
|
|
400
|
+
const methodDescriptor_Operations_GetRemoteOperationContainerLogs = new grpc.web.MethodDescriptor(
|
|
401
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerLogs',
|
|
402
|
+
grpc.web.MethodType.UNARY,
|
|
403
|
+
proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest,
|
|
404
|
+
proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse,
|
|
405
|
+
/**
|
|
406
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} request
|
|
407
|
+
* @return {!Uint8Array}
|
|
408
|
+
*/
|
|
409
|
+
function(request) {
|
|
410
|
+
return request.serializeBinary();
|
|
411
|
+
},
|
|
412
|
+
proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.deserializeBinary
|
|
413
|
+
);
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} request The
|
|
418
|
+
* request proto
|
|
419
|
+
* @param {?Object<string, string>} metadata User defined
|
|
420
|
+
* call metadata
|
|
421
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse)}
|
|
422
|
+
* callback The callback function(error, response)
|
|
423
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse>|undefined}
|
|
424
|
+
* The XHR Node Readable Stream
|
|
425
|
+
*/
|
|
426
|
+
proto.ondewo.nlu.OperationsClient.prototype.getRemoteOperationContainerLogs =
|
|
427
|
+
function(request, metadata, callback) {
|
|
428
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
429
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerLogs',
|
|
430
|
+
request,
|
|
431
|
+
metadata || {},
|
|
432
|
+
methodDescriptor_Operations_GetRemoteOperationContainerLogs,
|
|
433
|
+
callback);
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} request The
|
|
439
|
+
* request proto
|
|
440
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
441
|
+
* call metadata
|
|
442
|
+
* @return {!Promise<!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse>}
|
|
443
|
+
* Promise that resolves to the response
|
|
444
|
+
*/
|
|
445
|
+
proto.ondewo.nlu.OperationsPromiseClient.prototype.getRemoteOperationContainerLogs =
|
|
446
|
+
function(request, metadata) {
|
|
447
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
448
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerLogs',
|
|
449
|
+
request,
|
|
450
|
+
metadata || {},
|
|
451
|
+
methodDescriptor_Operations_GetRemoteOperationContainerLogs);
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @const
|
|
457
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
458
|
+
* !proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest,
|
|
459
|
+
* !proto.ondewo.nlu.RemoteOperationContainerStatus>}
|
|
460
|
+
*/
|
|
461
|
+
const methodDescriptor_Operations_GetRemoteOperationContainerStatus = new grpc.web.MethodDescriptor(
|
|
462
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerStatus',
|
|
463
|
+
grpc.web.MethodType.UNARY,
|
|
464
|
+
proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest,
|
|
465
|
+
proto.ondewo.nlu.RemoteOperationContainerStatus,
|
|
466
|
+
/**
|
|
467
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} request
|
|
468
|
+
* @return {!Uint8Array}
|
|
469
|
+
*/
|
|
470
|
+
function(request) {
|
|
471
|
+
return request.serializeBinary();
|
|
472
|
+
},
|
|
473
|
+
proto.ondewo.nlu.RemoteOperationContainerStatus.deserializeBinary
|
|
474
|
+
);
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} request The
|
|
479
|
+
* request proto
|
|
480
|
+
* @param {?Object<string, string>} metadata User defined
|
|
481
|
+
* call metadata
|
|
482
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RemoteOperationContainerStatus)}
|
|
483
|
+
* callback The callback function(error, response)
|
|
484
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RemoteOperationContainerStatus>|undefined}
|
|
485
|
+
* The XHR Node Readable Stream
|
|
486
|
+
*/
|
|
487
|
+
proto.ondewo.nlu.OperationsClient.prototype.getRemoteOperationContainerStatus =
|
|
488
|
+
function(request, metadata, callback) {
|
|
489
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
490
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerStatus',
|
|
491
|
+
request,
|
|
492
|
+
metadata || {},
|
|
493
|
+
methodDescriptor_Operations_GetRemoteOperationContainerStatus,
|
|
494
|
+
callback);
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} request The
|
|
500
|
+
* request proto
|
|
501
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
502
|
+
* call metadata
|
|
503
|
+
* @return {!Promise<!proto.ondewo.nlu.RemoteOperationContainerStatus>}
|
|
504
|
+
* Promise that resolves to the response
|
|
505
|
+
*/
|
|
506
|
+
proto.ondewo.nlu.OperationsPromiseClient.prototype.getRemoteOperationContainerStatus =
|
|
507
|
+
function(request, metadata) {
|
|
508
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
509
|
+
'/ondewo.nlu.Operations/GetRemoteOperationContainerStatus',
|
|
510
|
+
request,
|
|
511
|
+
metadata || {},
|
|
512
|
+
methodDescriptor_Operations_GetRemoteOperationContainerStatus);
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @const
|
|
518
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
519
|
+
* !proto.ondewo.nlu.ListRemoteOperationContainersRequest,
|
|
520
|
+
* !proto.ondewo.nlu.ListRemoteOperationContainersResponse>}
|
|
521
|
+
*/
|
|
522
|
+
const methodDescriptor_Operations_ListRemoteOperationContainers = new grpc.web.MethodDescriptor(
|
|
523
|
+
'/ondewo.nlu.Operations/ListRemoteOperationContainers',
|
|
524
|
+
grpc.web.MethodType.UNARY,
|
|
525
|
+
proto.ondewo.nlu.ListRemoteOperationContainersRequest,
|
|
526
|
+
proto.ondewo.nlu.ListRemoteOperationContainersResponse,
|
|
527
|
+
/**
|
|
528
|
+
* @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} request
|
|
529
|
+
* @return {!Uint8Array}
|
|
530
|
+
*/
|
|
531
|
+
function(request) {
|
|
532
|
+
return request.serializeBinary();
|
|
533
|
+
},
|
|
534
|
+
proto.ondewo.nlu.ListRemoteOperationContainersResponse.deserializeBinary
|
|
535
|
+
);
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} request The
|
|
540
|
+
* request proto
|
|
541
|
+
* @param {?Object<string, string>} metadata User defined
|
|
542
|
+
* call metadata
|
|
543
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListRemoteOperationContainersResponse)}
|
|
544
|
+
* callback The callback function(error, response)
|
|
545
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListRemoteOperationContainersResponse>|undefined}
|
|
546
|
+
* The XHR Node Readable Stream
|
|
547
|
+
*/
|
|
548
|
+
proto.ondewo.nlu.OperationsClient.prototype.listRemoteOperationContainers =
|
|
549
|
+
function(request, metadata, callback) {
|
|
550
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
551
|
+
'/ondewo.nlu.Operations/ListRemoteOperationContainers',
|
|
552
|
+
request,
|
|
553
|
+
metadata || {},
|
|
554
|
+
methodDescriptor_Operations_ListRemoteOperationContainers,
|
|
555
|
+
callback);
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} request The
|
|
561
|
+
* request proto
|
|
562
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
563
|
+
* call metadata
|
|
564
|
+
* @return {!Promise<!proto.ondewo.nlu.ListRemoteOperationContainersResponse>}
|
|
565
|
+
* Promise that resolves to the response
|
|
566
|
+
*/
|
|
567
|
+
proto.ondewo.nlu.OperationsPromiseClient.prototype.listRemoteOperationContainers =
|
|
568
|
+
function(request, metadata) {
|
|
569
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
570
|
+
'/ondewo.nlu.Operations/ListRemoteOperationContainers',
|
|
571
|
+
request,
|
|
572
|
+
metadata || {},
|
|
573
|
+
methodDescriptor_Operations_ListRemoteOperationContainers);
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
|
|
336
577
|
module.exports = proto.ondewo.nlu;
|
|
337
578
|
|