@ondewo/nlu-client-typescript 5.0.0 → 6.1.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/google/api/annotations_pb.d.ts +2 -2
- package/api/google/api/annotations_pb.js +7 -1
- package/api/google/protobuf/any_pb.js +9 -3
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/field_mask_pb.js +8 -2
- package/api/google/protobuf/struct_pb.js +17 -10
- package/api/google/protobuf/timestamp_pb.js +9 -3
- package/api/google/rpc/status_pb.d.ts +1 -1
- package/api/google/rpc/status_pb.js +10 -4
- package/api/google/type/latlng_pb.js +9 -3
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
- package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
- package/api/ondewo/nlu/agent_pb.d.ts +31 -12
- package/api/ondewo/nlu/agent_pb.js +507 -326
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
- package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
- package/api/ondewo/nlu/aiservices_pb.js +1715 -135
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
- package/api/ondewo/nlu/ccai_project_pb.d.ts +100 -5
- package/api/ondewo/nlu/ccai_project_pb.js +448 -67
- package/api/ondewo/nlu/common_pb.d.ts +27 -27
- package/api/ondewo/nlu/common_pb.js +100 -94
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/context_pb.d.ts +4 -4
- package/api/ondewo/nlu/context_pb.js +36 -29
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
- package/api/ondewo/nlu/entity_type_pb.js +88 -82
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/intent_pb.d.ts +8 -8
- package/api/ondewo/nlu/intent_pb.js +251 -245
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
- package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/operations_pb.d.ts +6 -6
- package/api/ondewo/nlu/operations_pb.js +28 -22
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_role_pb.js +32 -26
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_statistics_pb.js +14 -8
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_pb.js +8 -2
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
- package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
- package/api/ondewo/nlu/session_pb.d.ts +324 -24
- package/api/ondewo/nlu/session_pb.js +8251 -5782
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/user_pb.d.ts +12 -6
- package/api/ondewo/nlu/user_pb.js +131 -73
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
- package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/utility_pb.d.ts +2 -2
- package/api/ondewo/nlu/utility_pb.js +86 -80
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
- package/api/ondewo/nlu/webhook_pb.js +38 -32
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
- package/api/ondewo/qa/qa_pb.d.ts +3 -3
- package/api/ondewo/qa/qa_pb.js +31 -25
- package/package.json +36 -16
- package/public-api.js +40 -0
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.27.3
|
|
11
|
+
// source: ondewo/nlu/agent.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -37,8 +41,6 @@ var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
|
|
|
37
41
|
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
38
42
|
|
|
39
43
|
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
|
|
40
|
-
|
|
41
|
-
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js')
|
|
42
44
|
const proto = {};
|
|
43
45
|
proto.ondewo = {};
|
|
44
46
|
proto.ondewo.nlu = require('./agent_pb.js');
|
|
@@ -64,7 +66,7 @@ proto.ondewo.nlu.AgentsClient =
|
|
|
64
66
|
/**
|
|
65
67
|
* @private @const {string} The hostname
|
|
66
68
|
*/
|
|
67
|
-
this.hostname_ = hostname;
|
|
69
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
68
70
|
|
|
69
71
|
};
|
|
70
72
|
|
|
@@ -90,7 +92,7 @@ proto.ondewo.nlu.AgentsPromiseClient =
|
|
|
90
92
|
/**
|
|
91
93
|
* @private @const {string} The hostname
|
|
92
94
|
*/
|
|
93
|
-
this.hostname_ = hostname;
|
|
95
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
94
96
|
|
|
95
97
|
};
|
|
96
98
|
|
|
@@ -1193,6 +1195,67 @@ proto.ondewo.nlu.AgentsPromiseClient.prototype.importAgent =
|
|
|
1193
1195
|
};
|
|
1194
1196
|
|
|
1195
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* @const
|
|
1200
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1201
|
+
* !proto.ondewo.nlu.MigrateAgentRequest,
|
|
1202
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1203
|
+
*/
|
|
1204
|
+
const methodDescriptor_Agents_MigrateAgent = new grpc.web.MethodDescriptor(
|
|
1205
|
+
'/ondewo.nlu.Agents/MigrateAgent',
|
|
1206
|
+
grpc.web.MethodType.UNARY,
|
|
1207
|
+
proto.ondewo.nlu.MigrateAgentRequest,
|
|
1208
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1209
|
+
/**
|
|
1210
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} request
|
|
1211
|
+
* @return {!Uint8Array}
|
|
1212
|
+
*/
|
|
1213
|
+
function(request) {
|
|
1214
|
+
return request.serializeBinary();
|
|
1215
|
+
},
|
|
1216
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1217
|
+
);
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} request The
|
|
1222
|
+
* request proto
|
|
1223
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1224
|
+
* call metadata
|
|
1225
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1226
|
+
* callback The callback function(error, response)
|
|
1227
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1228
|
+
* The XHR Node Readable Stream
|
|
1229
|
+
*/
|
|
1230
|
+
proto.ondewo.nlu.AgentsClient.prototype.migrateAgent =
|
|
1231
|
+
function(request, metadata, callback) {
|
|
1232
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1233
|
+
'/ondewo.nlu.Agents/MigrateAgent',
|
|
1234
|
+
request,
|
|
1235
|
+
metadata || {},
|
|
1236
|
+
methodDescriptor_Agents_MigrateAgent,
|
|
1237
|
+
callback);
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* @param {!proto.ondewo.nlu.MigrateAgentRequest} request The
|
|
1243
|
+
* request proto
|
|
1244
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1245
|
+
* call metadata
|
|
1246
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1247
|
+
* Promise that resolves to the response
|
|
1248
|
+
*/
|
|
1249
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.migrateAgent =
|
|
1250
|
+
function(request, metadata) {
|
|
1251
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1252
|
+
'/ondewo.nlu.Agents/MigrateAgent',
|
|
1253
|
+
request,
|
|
1254
|
+
metadata || {},
|
|
1255
|
+
methodDescriptor_Agents_MigrateAgent);
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
|
|
1196
1259
|
/**
|
|
1197
1260
|
* @const
|
|
1198
1261
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2535,310 +2598,5 @@ proto.ondewo.nlu.AgentsPromiseClient.prototype.reindexAgent =
|
|
|
2535
2598
|
};
|
|
2536
2599
|
|
|
2537
2600
|
|
|
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
|
-
|
|
2843
2601
|
module.exports = proto.ondewo.nlu;
|
|
2844
2602
|
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
5
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
6
|
-
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
|
7
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
8
|
-
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
9
|
-
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
10
|
-
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb';
|
|
11
|
-
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb';
|
|
12
|
-
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
13
|
-
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
|
|
14
|
-
import * as ondewo_nlu_ccai_project_pb from '../../ondewo/nlu/ccai_project_pb';
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
5
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
6
|
+
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
|
|
7
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
8
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
|
|
9
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
|
|
10
|
+
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import: "ondewo/nlu/user.proto"
|
|
11
|
+
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb'; // proto import: "ondewo/nlu/project_role.proto"
|
|
12
|
+
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
|
|
13
|
+
import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb'; // proto import: "ondewo/nlu/session.proto"
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
export class Agent extends jspb.Message {
|
|
@@ -642,6 +641,26 @@ export namespace RestoreAgentRequest {
|
|
|
642
641
|
}
|
|
643
642
|
}
|
|
644
643
|
|
|
644
|
+
export class MigrateAgentRequest extends jspb.Message {
|
|
645
|
+
getAgentContent(): Uint8Array | string;
|
|
646
|
+
getAgentContent_asU8(): Uint8Array;
|
|
647
|
+
getAgentContent_asB64(): string;
|
|
648
|
+
setAgentContent(value: Uint8Array | string): MigrateAgentRequest;
|
|
649
|
+
|
|
650
|
+
serializeBinary(): Uint8Array;
|
|
651
|
+
toObject(includeInstance?: boolean): MigrateAgentRequest.AsObject;
|
|
652
|
+
static toObject(includeInstance: boolean, msg: MigrateAgentRequest): MigrateAgentRequest.AsObject;
|
|
653
|
+
static serializeBinaryToWriter(message: MigrateAgentRequest, writer: jspb.BinaryWriter): void;
|
|
654
|
+
static deserializeBinary(bytes: Uint8Array): MigrateAgentRequest;
|
|
655
|
+
static deserializeBinaryFromReader(message: MigrateAgentRequest, reader: jspb.BinaryReader): MigrateAgentRequest;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export namespace MigrateAgentRequest {
|
|
659
|
+
export type AsObject = {
|
|
660
|
+
agentContent: Uint8Array | string,
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
645
664
|
export class GetAgentStatisticsRequest extends jspb.Message {
|
|
646
665
|
getParent(): string;
|
|
647
666
|
setParent(value: string): GetAgentStatisticsRequest;
|