@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.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +222 -1
- package/api/ondewo/nlu/agent_pb.js +1814 -30
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
- package/api/ondewo/nlu/session_pb.d.ts +624 -0
- package/api/ondewo/nlu/session_pb.js +10278 -5168
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -2,6 +2,7 @@ import * as grpcWeb from 'grpc-web';
|
|
|
2
2
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
import * as ondewo_nlu_agent_pb from '../../ondewo/nlu/agent_pb';
|
|
5
|
+
import * as ondewo_nlu_ccai_project_pb from '../../ondewo/nlu/ccai_project_pb';
|
|
5
6
|
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
6
7
|
|
|
7
8
|
|
|
@@ -290,6 +291,41 @@ export class AgentsClient {
|
|
|
290
291
|
response: ondewo_nlu_operations_pb.Operation) => void
|
|
291
292
|
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.Operation>;
|
|
292
293
|
|
|
294
|
+
createCcaiProject(
|
|
295
|
+
request: ondewo_nlu_ccai_project_pb.CreateCcaiProjectRequest,
|
|
296
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
297
|
+
callback: (err: grpcWeb.RpcError,
|
|
298
|
+
response: ondewo_nlu_ccai_project_pb.CreateCcaiProjectResponse) => void
|
|
299
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_ccai_project_pb.CreateCcaiProjectResponse>;
|
|
300
|
+
|
|
301
|
+
deleteCcaiProject(
|
|
302
|
+
request: ondewo_nlu_ccai_project_pb.DeleteCcaiProjectRequest,
|
|
303
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
304
|
+
callback: (err: grpcWeb.RpcError,
|
|
305
|
+
response: ondewo_nlu_ccai_project_pb.DeleteCcaiProjectResponse) => void
|
|
306
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_ccai_project_pb.DeleteCcaiProjectResponse>;
|
|
307
|
+
|
|
308
|
+
getCcaiProject(
|
|
309
|
+
request: ondewo_nlu_ccai_project_pb.GetCcaiProjectRequest,
|
|
310
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
311
|
+
callback: (err: grpcWeb.RpcError,
|
|
312
|
+
response: ondewo_nlu_ccai_project_pb.CcaiProject) => void
|
|
313
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_ccai_project_pb.CcaiProject>;
|
|
314
|
+
|
|
315
|
+
listCcaiProjects(
|
|
316
|
+
request: ondewo_nlu_ccai_project_pb.ListCcaiProjectsRequest,
|
|
317
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
318
|
+
callback: (err: grpcWeb.RpcError,
|
|
319
|
+
response: ondewo_nlu_ccai_project_pb.ListCcaiProjectsResponse) => void
|
|
320
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_ccai_project_pb.ListCcaiProjectsResponse>;
|
|
321
|
+
|
|
322
|
+
updateCcaiProject(
|
|
323
|
+
request: ondewo_nlu_ccai_project_pb.UpdateCcaiProjectRequest,
|
|
324
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
325
|
+
callback: (err: grpcWeb.RpcError,
|
|
326
|
+
response: ondewo_nlu_ccai_project_pb.UpdateCcaiProjectResponse) => void
|
|
327
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_ccai_project_pb.UpdateCcaiProjectResponse>;
|
|
328
|
+
|
|
293
329
|
}
|
|
294
330
|
|
|
295
331
|
export class AgentsPromiseClient {
|
|
@@ -497,5 +533,30 @@ export class AgentsPromiseClient {
|
|
|
497
533
|
metadata?: grpcWeb.Metadata
|
|
498
534
|
): Promise<ondewo_nlu_operations_pb.Operation>;
|
|
499
535
|
|
|
536
|
+
createCcaiProject(
|
|
537
|
+
request: ondewo_nlu_ccai_project_pb.CreateCcaiProjectRequest,
|
|
538
|
+
metadata?: grpcWeb.Metadata
|
|
539
|
+
): Promise<ondewo_nlu_ccai_project_pb.CreateCcaiProjectResponse>;
|
|
540
|
+
|
|
541
|
+
deleteCcaiProject(
|
|
542
|
+
request: ondewo_nlu_ccai_project_pb.DeleteCcaiProjectRequest,
|
|
543
|
+
metadata?: grpcWeb.Metadata
|
|
544
|
+
): Promise<ondewo_nlu_ccai_project_pb.DeleteCcaiProjectResponse>;
|
|
545
|
+
|
|
546
|
+
getCcaiProject(
|
|
547
|
+
request: ondewo_nlu_ccai_project_pb.GetCcaiProjectRequest,
|
|
548
|
+
metadata?: grpcWeb.Metadata
|
|
549
|
+
): Promise<ondewo_nlu_ccai_project_pb.CcaiProject>;
|
|
550
|
+
|
|
551
|
+
listCcaiProjects(
|
|
552
|
+
request: ondewo_nlu_ccai_project_pb.ListCcaiProjectsRequest,
|
|
553
|
+
metadata?: grpcWeb.Metadata
|
|
554
|
+
): Promise<ondewo_nlu_ccai_project_pb.ListCcaiProjectsResponse>;
|
|
555
|
+
|
|
556
|
+
updateCcaiProject(
|
|
557
|
+
request: ondewo_nlu_ccai_project_pb.UpdateCcaiProjectRequest,
|
|
558
|
+
metadata?: grpcWeb.Metadata
|
|
559
|
+
): Promise<ondewo_nlu_ccai_project_pb.UpdateCcaiProjectResponse>;
|
|
560
|
+
|
|
500
561
|
}
|
|
501
562
|
|
|
@@ -24,6 +24,8 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
24
24
|
|
|
25
25
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
26
26
|
|
|
27
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
28
|
+
|
|
27
29
|
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
28
30
|
|
|
29
31
|
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
@@ -36,7 +38,7 @@ var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
|
36
38
|
|
|
37
39
|
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
|
|
38
40
|
|
|
39
|
-
var
|
|
41
|
+
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js')
|
|
40
42
|
const proto = {};
|
|
41
43
|
proto.ondewo = {};
|
|
42
44
|
proto.ondewo.nlu = require('./agent_pb.js');
|
|
@@ -2533,5 +2535,310 @@ proto.ondewo.nlu.AgentsPromiseClient.prototype.reindexAgent =
|
|
|
2533
2535
|
};
|
|
2534
2536
|
|
|
2535
2537
|
|
|
2538
|
+
/**
|
|
2539
|
+
* @const
|
|
2540
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2541
|
+
* !proto.ondewo.nlu.CreateCcaiProjectRequest,
|
|
2542
|
+
* !proto.ondewo.nlu.CreateCcaiProjectResponse>}
|
|
2543
|
+
*/
|
|
2544
|
+
const methodDescriptor_Agents_CreateCcaiProject = new grpc.web.MethodDescriptor(
|
|
2545
|
+
'/ondewo.nlu.Agents/CreateCcaiProject',
|
|
2546
|
+
grpc.web.MethodType.UNARY,
|
|
2547
|
+
ondewo_nlu_ccai_project_pb.CreateCcaiProjectRequest,
|
|
2548
|
+
ondewo_nlu_ccai_project_pb.CreateCcaiProjectResponse,
|
|
2549
|
+
/**
|
|
2550
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} request
|
|
2551
|
+
* @return {!Uint8Array}
|
|
2552
|
+
*/
|
|
2553
|
+
function(request) {
|
|
2554
|
+
return request.serializeBinary();
|
|
2555
|
+
},
|
|
2556
|
+
ondewo_nlu_ccai_project_pb.CreateCcaiProjectResponse.deserializeBinary
|
|
2557
|
+
);
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} request The
|
|
2562
|
+
* request proto
|
|
2563
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2564
|
+
* call metadata
|
|
2565
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CreateCcaiProjectResponse)}
|
|
2566
|
+
* callback The callback function(error, response)
|
|
2567
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CreateCcaiProjectResponse>|undefined}
|
|
2568
|
+
* The XHR Node Readable Stream
|
|
2569
|
+
*/
|
|
2570
|
+
proto.ondewo.nlu.AgentsClient.prototype.createCcaiProject =
|
|
2571
|
+
function(request, metadata, callback) {
|
|
2572
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2573
|
+
'/ondewo.nlu.Agents/CreateCcaiProject',
|
|
2574
|
+
request,
|
|
2575
|
+
metadata || {},
|
|
2576
|
+
methodDescriptor_Agents_CreateCcaiProject,
|
|
2577
|
+
callback);
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} request The
|
|
2583
|
+
* request proto
|
|
2584
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2585
|
+
* call metadata
|
|
2586
|
+
* @return {!Promise<!proto.ondewo.nlu.CreateCcaiProjectResponse>}
|
|
2587
|
+
* Promise that resolves to the response
|
|
2588
|
+
*/
|
|
2589
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.createCcaiProject =
|
|
2590
|
+
function(request, metadata) {
|
|
2591
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2592
|
+
'/ondewo.nlu.Agents/CreateCcaiProject',
|
|
2593
|
+
request,
|
|
2594
|
+
metadata || {},
|
|
2595
|
+
methodDescriptor_Agents_CreateCcaiProject);
|
|
2596
|
+
};
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* @const
|
|
2601
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2602
|
+
* !proto.ondewo.nlu.DeleteCcaiProjectRequest,
|
|
2603
|
+
* !proto.ondewo.nlu.DeleteCcaiProjectResponse>}
|
|
2604
|
+
*/
|
|
2605
|
+
const methodDescriptor_Agents_DeleteCcaiProject = new grpc.web.MethodDescriptor(
|
|
2606
|
+
'/ondewo.nlu.Agents/DeleteCcaiProject',
|
|
2607
|
+
grpc.web.MethodType.UNARY,
|
|
2608
|
+
ondewo_nlu_ccai_project_pb.DeleteCcaiProjectRequest,
|
|
2609
|
+
ondewo_nlu_ccai_project_pb.DeleteCcaiProjectResponse,
|
|
2610
|
+
/**
|
|
2611
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} request
|
|
2612
|
+
* @return {!Uint8Array}
|
|
2613
|
+
*/
|
|
2614
|
+
function(request) {
|
|
2615
|
+
return request.serializeBinary();
|
|
2616
|
+
},
|
|
2617
|
+
ondewo_nlu_ccai_project_pb.DeleteCcaiProjectResponse.deserializeBinary
|
|
2618
|
+
);
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} request The
|
|
2623
|
+
* request proto
|
|
2624
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2625
|
+
* call metadata
|
|
2626
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DeleteCcaiProjectResponse)}
|
|
2627
|
+
* callback The callback function(error, response)
|
|
2628
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DeleteCcaiProjectResponse>|undefined}
|
|
2629
|
+
* The XHR Node Readable Stream
|
|
2630
|
+
*/
|
|
2631
|
+
proto.ondewo.nlu.AgentsClient.prototype.deleteCcaiProject =
|
|
2632
|
+
function(request, metadata, callback) {
|
|
2633
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2634
|
+
'/ondewo.nlu.Agents/DeleteCcaiProject',
|
|
2635
|
+
request,
|
|
2636
|
+
metadata || {},
|
|
2637
|
+
methodDescriptor_Agents_DeleteCcaiProject,
|
|
2638
|
+
callback);
|
|
2639
|
+
};
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} request The
|
|
2644
|
+
* request proto
|
|
2645
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2646
|
+
* call metadata
|
|
2647
|
+
* @return {!Promise<!proto.ondewo.nlu.DeleteCcaiProjectResponse>}
|
|
2648
|
+
* Promise that resolves to the response
|
|
2649
|
+
*/
|
|
2650
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.deleteCcaiProject =
|
|
2651
|
+
function(request, metadata) {
|
|
2652
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2653
|
+
'/ondewo.nlu.Agents/DeleteCcaiProject',
|
|
2654
|
+
request,
|
|
2655
|
+
metadata || {},
|
|
2656
|
+
methodDescriptor_Agents_DeleteCcaiProject);
|
|
2657
|
+
};
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* @const
|
|
2662
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2663
|
+
* !proto.ondewo.nlu.GetCcaiProjectRequest,
|
|
2664
|
+
* !proto.ondewo.nlu.CcaiProject>}
|
|
2665
|
+
*/
|
|
2666
|
+
const methodDescriptor_Agents_GetCcaiProject = new grpc.web.MethodDescriptor(
|
|
2667
|
+
'/ondewo.nlu.Agents/GetCcaiProject',
|
|
2668
|
+
grpc.web.MethodType.UNARY,
|
|
2669
|
+
ondewo_nlu_ccai_project_pb.GetCcaiProjectRequest,
|
|
2670
|
+
ondewo_nlu_ccai_project_pb.CcaiProject,
|
|
2671
|
+
/**
|
|
2672
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} request
|
|
2673
|
+
* @return {!Uint8Array}
|
|
2674
|
+
*/
|
|
2675
|
+
function(request) {
|
|
2676
|
+
return request.serializeBinary();
|
|
2677
|
+
},
|
|
2678
|
+
ondewo_nlu_ccai_project_pb.CcaiProject.deserializeBinary
|
|
2679
|
+
);
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} request The
|
|
2684
|
+
* request proto
|
|
2685
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2686
|
+
* call metadata
|
|
2687
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.CcaiProject)}
|
|
2688
|
+
* callback The callback function(error, response)
|
|
2689
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.CcaiProject>|undefined}
|
|
2690
|
+
* The XHR Node Readable Stream
|
|
2691
|
+
*/
|
|
2692
|
+
proto.ondewo.nlu.AgentsClient.prototype.getCcaiProject =
|
|
2693
|
+
function(request, metadata, callback) {
|
|
2694
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2695
|
+
'/ondewo.nlu.Agents/GetCcaiProject',
|
|
2696
|
+
request,
|
|
2697
|
+
metadata || {},
|
|
2698
|
+
methodDescriptor_Agents_GetCcaiProject,
|
|
2699
|
+
callback);
|
|
2700
|
+
};
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} request The
|
|
2705
|
+
* request proto
|
|
2706
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2707
|
+
* call metadata
|
|
2708
|
+
* @return {!Promise<!proto.ondewo.nlu.CcaiProject>}
|
|
2709
|
+
* Promise that resolves to the response
|
|
2710
|
+
*/
|
|
2711
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getCcaiProject =
|
|
2712
|
+
function(request, metadata) {
|
|
2713
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2714
|
+
'/ondewo.nlu.Agents/GetCcaiProject',
|
|
2715
|
+
request,
|
|
2716
|
+
metadata || {},
|
|
2717
|
+
methodDescriptor_Agents_GetCcaiProject);
|
|
2718
|
+
};
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* @const
|
|
2723
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2724
|
+
* !proto.ondewo.nlu.ListCcaiProjectsRequest,
|
|
2725
|
+
* !proto.ondewo.nlu.ListCcaiProjectsResponse>}
|
|
2726
|
+
*/
|
|
2727
|
+
const methodDescriptor_Agents_ListCcaiProjects = new grpc.web.MethodDescriptor(
|
|
2728
|
+
'/ondewo.nlu.Agents/ListCcaiProjects',
|
|
2729
|
+
grpc.web.MethodType.UNARY,
|
|
2730
|
+
ondewo_nlu_ccai_project_pb.ListCcaiProjectsRequest,
|
|
2731
|
+
ondewo_nlu_ccai_project_pb.ListCcaiProjectsResponse,
|
|
2732
|
+
/**
|
|
2733
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} request
|
|
2734
|
+
* @return {!Uint8Array}
|
|
2735
|
+
*/
|
|
2736
|
+
function(request) {
|
|
2737
|
+
return request.serializeBinary();
|
|
2738
|
+
},
|
|
2739
|
+
ondewo_nlu_ccai_project_pb.ListCcaiProjectsResponse.deserializeBinary
|
|
2740
|
+
);
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} request The
|
|
2745
|
+
* request proto
|
|
2746
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2747
|
+
* call metadata
|
|
2748
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListCcaiProjectsResponse)}
|
|
2749
|
+
* callback The callback function(error, response)
|
|
2750
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListCcaiProjectsResponse>|undefined}
|
|
2751
|
+
* The XHR Node Readable Stream
|
|
2752
|
+
*/
|
|
2753
|
+
proto.ondewo.nlu.AgentsClient.prototype.listCcaiProjects =
|
|
2754
|
+
function(request, metadata, callback) {
|
|
2755
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2756
|
+
'/ondewo.nlu.Agents/ListCcaiProjects',
|
|
2757
|
+
request,
|
|
2758
|
+
metadata || {},
|
|
2759
|
+
methodDescriptor_Agents_ListCcaiProjects,
|
|
2760
|
+
callback);
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} request The
|
|
2766
|
+
* request proto
|
|
2767
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2768
|
+
* call metadata
|
|
2769
|
+
* @return {!Promise<!proto.ondewo.nlu.ListCcaiProjectsResponse>}
|
|
2770
|
+
* Promise that resolves to the response
|
|
2771
|
+
*/
|
|
2772
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listCcaiProjects =
|
|
2773
|
+
function(request, metadata) {
|
|
2774
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2775
|
+
'/ondewo.nlu.Agents/ListCcaiProjects',
|
|
2776
|
+
request,
|
|
2777
|
+
metadata || {},
|
|
2778
|
+
methodDescriptor_Agents_ListCcaiProjects);
|
|
2779
|
+
};
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* @const
|
|
2784
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2785
|
+
* !proto.ondewo.nlu.UpdateCcaiProjectRequest,
|
|
2786
|
+
* !proto.ondewo.nlu.UpdateCcaiProjectResponse>}
|
|
2787
|
+
*/
|
|
2788
|
+
const methodDescriptor_Agents_UpdateCcaiProject = new grpc.web.MethodDescriptor(
|
|
2789
|
+
'/ondewo.nlu.Agents/UpdateCcaiProject',
|
|
2790
|
+
grpc.web.MethodType.UNARY,
|
|
2791
|
+
ondewo_nlu_ccai_project_pb.UpdateCcaiProjectRequest,
|
|
2792
|
+
ondewo_nlu_ccai_project_pb.UpdateCcaiProjectResponse,
|
|
2793
|
+
/**
|
|
2794
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} request
|
|
2795
|
+
* @return {!Uint8Array}
|
|
2796
|
+
*/
|
|
2797
|
+
function(request) {
|
|
2798
|
+
return request.serializeBinary();
|
|
2799
|
+
},
|
|
2800
|
+
ondewo_nlu_ccai_project_pb.UpdateCcaiProjectResponse.deserializeBinary
|
|
2801
|
+
);
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} request The
|
|
2806
|
+
* request proto
|
|
2807
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2808
|
+
* call metadata
|
|
2809
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.UpdateCcaiProjectResponse)}
|
|
2810
|
+
* callback The callback function(error, response)
|
|
2811
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.UpdateCcaiProjectResponse>|undefined}
|
|
2812
|
+
* The XHR Node Readable Stream
|
|
2813
|
+
*/
|
|
2814
|
+
proto.ondewo.nlu.AgentsClient.prototype.updateCcaiProject =
|
|
2815
|
+
function(request, metadata, callback) {
|
|
2816
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2817
|
+
'/ondewo.nlu.Agents/UpdateCcaiProject',
|
|
2818
|
+
request,
|
|
2819
|
+
metadata || {},
|
|
2820
|
+
methodDescriptor_Agents_UpdateCcaiProject,
|
|
2821
|
+
callback);
|
|
2822
|
+
};
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} request The
|
|
2827
|
+
* request proto
|
|
2828
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2829
|
+
* call metadata
|
|
2830
|
+
* @return {!Promise<!proto.ondewo.nlu.UpdateCcaiProjectResponse>}
|
|
2831
|
+
* Promise that resolves to the response
|
|
2832
|
+
*/
|
|
2833
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.updateCcaiProject =
|
|
2834
|
+
function(request, metadata) {
|
|
2835
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2836
|
+
'/ondewo.nlu.Agents/UpdateCcaiProject',
|
|
2837
|
+
request,
|
|
2838
|
+
metadata || {},
|
|
2839
|
+
methodDescriptor_Agents_UpdateCcaiProject);
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
|
|
2536
2843
|
module.exports = proto.ondewo.nlu;
|
|
2537
2844
|
|