@ondewo/nlu-client-typescript 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/api/google/api/annotations_pb.d.ts +2 -2
  2. package/api/google/api/annotations_pb.js +7 -1
  3. package/api/google/protobuf/any_pb.js +7 -1
  4. package/api/google/protobuf/empty_pb.js +7 -1
  5. package/api/google/protobuf/field_mask_pb.js +7 -1
  6. package/api/google/protobuf/struct_pb.js +9 -2
  7. package/api/google/protobuf/timestamp_pb.js +7 -1
  8. package/api/google/rpc/status_pb.d.ts +1 -1
  9. package/api/google/rpc/status_pb.js +7 -1
  10. package/api/google/type/latlng_pb.js +7 -1
  11. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +3 -64
  12. package/api/ondewo/nlu/agent_grpc_web_pb.js +7 -310
  13. package/api/ondewo/nlu/agent_pb.d.ts +11 -12
  14. package/api/ondewo/nlu/agent_pb.js +9 -4
  15. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
  16. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
  17. package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
  18. package/api/ondewo/nlu/aiservices_pb.js +1610 -30
  19. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
  20. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
  21. package/api/ondewo/nlu/ccai_project_pb.d.ts +89 -5
  22. package/api/ondewo/nlu/ccai_project_pb.js +375 -5
  23. package/api/ondewo/nlu/common_pb.d.ts +27 -27
  24. package/api/ondewo/nlu/common_pb.js +52 -46
  25. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
  26. package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
  27. package/api/ondewo/nlu/context_pb.d.ts +4 -4
  28. package/api/ondewo/nlu/context_pb.js +9 -2
  29. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
  30. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
  31. package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
  32. package/api/ondewo/nlu/entity_type_pb.js +7 -1
  33. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
  34. package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
  35. package/api/ondewo/nlu/intent_pb.d.ts +8 -8
  36. package/api/ondewo/nlu/intent_pb.js +7 -1
  37. package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
  38. package/api/ondewo/nlu/operation_metadata_pb.js +7 -1
  39. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
  40. package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
  41. package/api/ondewo/nlu/operations_pb.d.ts +6 -6
  42. package/api/ondewo/nlu/operations_pb.js +7 -1
  43. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
  44. package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
  45. package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
  46. package/api/ondewo/nlu/project_role_pb.js +7 -1
  47. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
  48. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
  49. package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
  50. package/api/ondewo/nlu/project_statistics_pb.js +7 -1
  51. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
  52. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
  53. package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
  54. package/api/ondewo/nlu/server_statistics_pb.js +7 -1
  55. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
  56. package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
  57. package/api/ondewo/nlu/session_pb.d.ts +324 -24
  58. package/api/ondewo/nlu/session_pb.js +7785 -5316
  59. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
  60. package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
  61. package/api/ondewo/nlu/user_pb.d.ts +6 -6
  62. package/api/ondewo/nlu/user_pb.js +9 -2
  63. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
  64. package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
  65. package/api/ondewo/nlu/utility_pb.d.ts +2 -2
  66. package/api/ondewo/nlu/utility_pb.js +7 -1
  67. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
  68. package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
  69. package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
  70. package/api/ondewo/nlu/webhook_pb.js +7 -1
  71. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
  72. package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
  73. package/api/ondewo/qa/qa_pb.d.ts +3 -3
  74. package/api/ondewo/qa/qa_pb.js +7 -1
  75. package/package.json +36 -16
  76. package/public-api.js +40 -0
@@ -1,6 +1,6 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_api_http_pb from '../../google/api/http_pb';
4
- import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
3
+ import * as google_api_http_pb from '../../google/api/http_pb'; // proto import: "google/api/http.proto"
4
+ import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb'; // proto import: "google/protobuf/descriptor.proto"
5
5
 
6
6
 
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_api_http_pb = require('../../google/api/http_pb.js');
19
25
  goog.object.extend(proto, google_api_http_pb);
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.protobuf.Any', null, global);
19
25
  /**
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.protobuf.Empty', null, global);
19
25
  /**
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.protobuf.FieldMask', null, global);
19
25
  /**
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.protobuf.ListValue', null, global);
19
25
  goog.exportSymbol('proto.google.protobuf.NullValue', null, global);
@@ -213,7 +219,8 @@ proto.google.protobuf.Struct.prototype.getFieldsMap = function(opt_noLazyCreate)
213
219
  */
214
220
  proto.google.protobuf.Struct.prototype.clearFieldsMap = function() {
215
221
  this.getFieldsMap().clear();
216
- return this;};
222
+ return this;
223
+ };
217
224
 
218
225
 
219
226
 
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.protobuf.Timestamp', null, global);
19
25
  /**
@@ -1,6 +1,6 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
- import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
3
+ import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb'; // proto import: "google/protobuf/any.proto"
4
4
 
5
5
 
6
6
  export class Status extends jspb.Message {
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
19
25
  goog.object.extend(proto, google_protobuf_any_pb);
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  goog.exportSymbol('proto.google.type.LatLng', null, global);
19
25
  /**
@@ -1,9 +1,8 @@
1
1
  import * as grpcWeb from 'grpc-web';
2
2
 
3
- import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
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';
6
- import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
3
+ import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
4
+ import * as ondewo_nlu_agent_pb from '../../ondewo/nlu/agent_pb'; // proto import: "ondewo/nlu/agent.proto"
5
+ import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb'; // proto import: "ondewo/nlu/operations.proto"
7
6
 
8
7
 
9
8
  export class AgentsClient {
@@ -291,41 +290,6 @@ export class AgentsClient {
291
290
  response: ondewo_nlu_operations_pb.Operation) => void
292
291
  ): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.Operation>;
293
292
 
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
-
329
293
  }
330
294
 
331
295
  export class AgentsPromiseClient {
@@ -533,30 +497,5 @@ export class AgentsPromiseClient {
533
497
  metadata?: grpcWeb.Metadata
534
498
  ): Promise<ondewo_nlu_operations_pb.Operation>;
535
499
 
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
-
561
500
  }
562
501
 
@@ -4,7 +4,11 @@
4
4
  * @public
5
5
  */
6
6
 
7
- // GENERATED CODE -- DO NOT EDIT!
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
 
@@ -2535,310 +2537,5 @@ proto.ondewo.nlu.AgentsPromiseClient.prototype.reindexAgent =
2535
2537
  };
2536
2538
 
2537
2539
 
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
2540
  module.exports = proto.ondewo.nlu;
2844
2541
 
@@ -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 {
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
17
23
 
18
24
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
25
  goog.object.extend(proto, google_api_annotations_pb);
@@ -37,8 +43,6 @@ var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js');
37
43
  goog.object.extend(proto, ondewo_nlu_operations_pb);
38
44
  var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js');
39
45
  goog.object.extend(proto, ondewo_nlu_session_pb);
40
- var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js');
41
- goog.object.extend(proto, ondewo_nlu_ccai_project_pb);
42
46
  goog.exportSymbol('proto.ondewo.nlu.AddUserToProjectRequest', null, global);
43
47
  goog.exportSymbol('proto.ondewo.nlu.Agent', null, global);
44
48
  goog.exportSymbol('proto.ondewo.nlu.AgentOfUserWithOwner', null, global);
@@ -5052,7 +5056,8 @@ proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.getTrainingPhrasesMap =
5052
5056
  */
5053
5057
  proto.ondewo.nlu.ExportBenchmarkAgentResponse.prototype.clearTrainingPhrasesMap = function() {
5054
5058
  this.getTrainingPhrasesMap().clear();
5055
- return this;};
5059
+ return this;
5060
+ };
5056
5061
 
5057
5062
 
5058
5063