@ondewo/csi-client-angular 2.3.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/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations.pb.d.ts +1 -0
- package/api/google/api/http.pb.d.ts +275 -0
- package/api/google/rpc/status.pb.d.ts +82 -0
- package/api/google/type/latlng.pb.d.ts +76 -0
- package/api/ondewo/csi/conversation.pb.d.ts +1312 -0
- package/api/ondewo/csi/conversation.pbconf.d.ts +6 -0
- package/api/ondewo/csi/conversation.pbsc.d.ts +167 -0
- package/api/ondewo/nlu/agent.pb.d.ts +3536 -0
- package/api/ondewo/nlu/agent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/agent.pbsc.d.ts +472 -0
- package/api/ondewo/nlu/aiservices.pb.d.ts +2472 -0
- package/api/ondewo/nlu/aiservices.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/aiservices.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/common.pb.d.ts +75 -0
- package/api/ondewo/nlu/context.pb.d.ts +756 -0
- package/api/ondewo/nlu/context.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/context.pbsc.d.ts +119 -0
- package/api/ondewo/nlu/entity-type.pb.d.ts +2014 -0
- package/api/ondewo/nlu/entity-type.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +216 -0
- package/api/ondewo/nlu/intent.pb.d.ts +6236 -0
- package/api/ondewo/nlu/intent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/intent.pbsc.d.ts +456 -0
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +166 -0
- package/api/ondewo/nlu/operations.pb.d.ts +578 -0
- package/api/ondewo/nlu/operations.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/operations.pbsc.d.ts +87 -0
- package/api/ondewo/nlu/project-role.pb.d.ts +576 -0
- package/api/ondewo/nlu/project-role.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-role.pbsc.d.ts +103 -0
- package/api/ondewo/nlu/project-statistics.pb.d.ts +295 -0
- package/api/ondewo/nlu/project-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-statistics.pbsc.d.ts +151 -0
- package/api/ondewo/nlu/server-statistics.pb.d.ts +71 -0
- package/api/ondewo/nlu/server-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +72 -0
- package/api/ondewo/nlu/session.pb.d.ts +2892 -0
- package/api/ondewo/nlu/session.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/session.pbsc.d.ts +247 -0
- package/api/ondewo/nlu/user.pb.d.ts +1577 -0
- package/api/ondewo/nlu/user.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/user.pbsc.d.ts +263 -0
- package/api/ondewo/nlu/utility.pb.d.ts +1814 -0
- package/api/ondewo/nlu/utility.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/utility.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/webhook.pb.d.ts +401 -0
- package/api/ondewo/nlu/webhook.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/webhook.pbsc.d.ts +70 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +3710 -0
- package/api/ondewo/s2t/speech-to-text.pbconf.d.ts +6 -0
- package/api/ondewo/s2t/speech-to-text.pbsc.d.ts +263 -0
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +3302 -0
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +11 -0
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +296 -0
- package/esm2020/api/google/api/annotations.pb.mjs +2 -0
- package/esm2020/api/google/api/http.pb.mjs +524 -0
- package/esm2020/api/google/rpc/status.pb.mjs +138 -0
- package/esm2020/api/google/type/latlng.pb.mjs +119 -0
- package/esm2020/api/ondewo/csi/conversation.pb.mjs +2232 -0
- package/esm2020/api/ondewo/csi/conversation.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +315 -0
- package/esm2020/api/ondewo/nlu/agent.pb.mjs +6077 -0
- package/esm2020/api/ondewo/nlu/agent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +886 -0
- package/esm2020/api/ondewo/nlu/aiservices.pb.mjs +4371 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/common.pb.mjs +108 -0
- package/esm2020/api/ondewo/nlu/context.pb.mjs +1233 -0
- package/esm2020/api/ondewo/nlu/context.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/context.pbsc.mjs +225 -0
- package/esm2020/api/ondewo/nlu/entity-type.pb.mjs +3466 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +406 -0
- package/esm2020/api/ondewo/nlu/intent.pb.mjs +10809 -0
- package/esm2020/api/ondewo/nlu/intent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +856 -0
- package/esm2020/api/ondewo/nlu/operation-metadata.pb.mjs +382 -0
- package/esm2020/api/ondewo/nlu/operations.pb.mjs +1003 -0
- package/esm2020/api/ondewo/nlu/operations.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +165 -0
- package/esm2020/api/ondewo/nlu/project-role.pb.mjs +988 -0
- package/esm2020/api/ondewo/nlu/project-role.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +195 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pb.mjs +460 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +285 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pb.mjs +103 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +136 -0
- package/esm2020/api/ondewo/nlu/session.pb.mjs +5351 -0
- package/esm2020/api/ondewo/nlu/session.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/session.pbsc.mjs +465 -0
- package/esm2020/api/ondewo/nlu/user.pb.mjs +2536 -0
- package/esm2020/api/ondewo/nlu/user.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/user.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/nlu/utility.pb.mjs +3302 -0
- package/esm2020/api/ondewo/nlu/utility.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/webhook.pb.mjs +705 -0
- package/esm2020/api/ondewo/nlu/webhook.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +134 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pb.mjs +6452 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pb.mjs +5779 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbconf.mjs +18 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +555 -0
- package/esm2020/ondewo-csi-client-angular.mjs +5 -0
- package/esm2020/public-api.mjs +55 -0
- package/fesm2015/ondewo-csi-client-angular.mjs +62142 -0
- package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -0
- package/fesm2020/ondewo-csi-client-angular.mjs +62135 -0
- package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/ondewo-csi-api/README.md +91 -0
- package/ondewo-csi-api/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/google/api/README.md +5 -0
- package/ondewo-csi-api/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/google/appengine/README.md +12 -0
- package/ondewo-csi-api/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/google/container/README.md +0 -0
- package/ondewo-csi-api/google/datastore/README.md +0 -0
- package/ondewo-csi-api/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/google/example/library/README.md +4 -0
- package/ondewo-csi-api/google/firestore/README.md +0 -0
- package/ondewo-csi-api/google/genomics/README.md +14 -0
- package/ondewo-csi-api/google/iam/README.md +14 -0
- package/ondewo-csi-api/google/logging/README.md +3 -0
- package/ondewo-csi-api/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/google/rpc/README.md +5 -0
- package/ondewo-csi-api/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/google/type/README.md +16 -0
- package/ondewo-csi-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-nlu-api/README.md +117 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-s2t-api/README.md +89 -0
- package/ondewo-csi-api/ondewo-t2s-api/README.md +89 -0
- package/package.json +49 -0
- package/public-api.d.ts +54 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Specific GrpcClientSettings for Utilities.
|
|
4
|
+
* Use it only if your default settings are not set or the service requires other settings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const GRPC_UTILITIES_CLIENT_SETTINGS: InjectionToken<any>;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { GrpcClientFactory, GrpcEvent, GrpcMetadata } from '@ngx-grpc/common';
|
|
2
|
+
import { GrpcHandler } from '@ngx-grpc/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as thisProto from './utility.pb';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Service client implementation for ondewo.nlu.Utilities
|
|
8
|
+
*/
|
|
9
|
+
export declare class UtilitiesClient {
|
|
10
|
+
private handler;
|
|
11
|
+
private client;
|
|
12
|
+
/**
|
|
13
|
+
* Raw RPC implementation for each service client method.
|
|
14
|
+
* The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
|
|
15
|
+
* Attention: these methods do not throw errors when non-zero status codes are received.
|
|
16
|
+
*/
|
|
17
|
+
$raw: {
|
|
18
|
+
/**
|
|
19
|
+
* Unary call: /ondewo.nlu.Utilities/ValidateRegex
|
|
20
|
+
*
|
|
21
|
+
* @param requestMessage Request message
|
|
22
|
+
* @param requestMetadata Request metadata
|
|
23
|
+
* @returns Observable<GrpcEvent<thisProto.ValidateRegexResponse>>
|
|
24
|
+
*/
|
|
25
|
+
validateRegex: (requestData: thisProto.ValidateRegexRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.ValidateRegexResponse>>;
|
|
26
|
+
/**
|
|
27
|
+
* Unary call: /ondewo.nlu.Utilities/ValidateEmbeddedRegex
|
|
28
|
+
*
|
|
29
|
+
* @param requestMessage Request message
|
|
30
|
+
* @param requestMetadata Request metadata
|
|
31
|
+
* @returns Observable<GrpcEvent<thisProto.ValidateEmbeddedRegexResponse>>
|
|
32
|
+
*/
|
|
33
|
+
validateEmbeddedRegex: (requestData: thisProto.ValidateEmbeddedRegexRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.ValidateEmbeddedRegexResponse>>;
|
|
34
|
+
/**
|
|
35
|
+
* Unary call: /ondewo.nlu.Utilities/CleanAllIntents
|
|
36
|
+
*
|
|
37
|
+
* @param requestMessage Request message
|
|
38
|
+
* @param requestMetadata Request metadata
|
|
39
|
+
* @returns Observable<GrpcEvent<thisProto.CleanAllIntentsResponse>>
|
|
40
|
+
*/
|
|
41
|
+
cleanAllIntents: (requestData: thisProto.CleanAllIntentsRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.CleanAllIntentsResponse>>;
|
|
42
|
+
/**
|
|
43
|
+
* Unary call: /ondewo.nlu.Utilities/CleanIntent
|
|
44
|
+
*
|
|
45
|
+
* @param requestMessage Request message
|
|
46
|
+
* @param requestMetadata Request metadata
|
|
47
|
+
* @returns Observable<GrpcEvent<thisProto.CleanIntentResponse>>
|
|
48
|
+
*/
|
|
49
|
+
cleanIntent: (requestData: thisProto.CleanIntentRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.CleanIntentResponse>>;
|
|
50
|
+
/**
|
|
51
|
+
* Unary call: /ondewo.nlu.Utilities/CleanAllEntityTypes
|
|
52
|
+
*
|
|
53
|
+
* @param requestMessage Request message
|
|
54
|
+
* @param requestMetadata Request metadata
|
|
55
|
+
* @returns Observable<GrpcEvent<thisProto.CleanAllEntityTypesResponse>>
|
|
56
|
+
*/
|
|
57
|
+
cleanAllEntityTypes: (requestData: thisProto.CleanAllEntityTypesRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.CleanAllEntityTypesResponse>>;
|
|
58
|
+
/**
|
|
59
|
+
* Unary call: /ondewo.nlu.Utilities/CleanEntityType
|
|
60
|
+
*
|
|
61
|
+
* @param requestMessage Request message
|
|
62
|
+
* @param requestMetadata Request metadata
|
|
63
|
+
* @returns Observable<GrpcEvent<thisProto.CleanEntityTypeResponse>>
|
|
64
|
+
*/
|
|
65
|
+
cleanEntityType: (requestData: thisProto.CleanEntityTypeRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.CleanEntityTypeResponse>>;
|
|
66
|
+
/**
|
|
67
|
+
* Unary call: /ondewo.nlu.Utilities/AddTrainingPhrases
|
|
68
|
+
*
|
|
69
|
+
* @param requestMessage Request message
|
|
70
|
+
* @param requestMetadata Request metadata
|
|
71
|
+
* @returns Observable<GrpcEvent<thisProto.AddTrainingPhrasesResponse>>
|
|
72
|
+
*/
|
|
73
|
+
addTrainingPhrases: (requestData: thisProto.AddTrainingPhrasesRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.AddTrainingPhrasesResponse>>;
|
|
74
|
+
/**
|
|
75
|
+
* Unary call: /ondewo.nlu.Utilities/AddTrainingPhrasesFromCSV
|
|
76
|
+
*
|
|
77
|
+
* @param requestMessage Request message
|
|
78
|
+
* @param requestMetadata Request metadata
|
|
79
|
+
* @returns Observable<GrpcEvent<thisProto.AddTrainingPhrasesResponse>>
|
|
80
|
+
*/
|
|
81
|
+
addTrainingPhrasesFromCSV: (requestData: thisProto.AddTrainingPhrasesFromCSVRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.AddTrainingPhrasesResponse>>;
|
|
82
|
+
};
|
|
83
|
+
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
84
|
+
/**
|
|
85
|
+
* Unary call @/ondewo.nlu.Utilities/ValidateRegex
|
|
86
|
+
*
|
|
87
|
+
* @param requestMessage Request message
|
|
88
|
+
* @param requestMetadata Request metadata
|
|
89
|
+
* @returns Observable<thisProto.ValidateRegexResponse>
|
|
90
|
+
*/
|
|
91
|
+
validateRegex(requestData: thisProto.ValidateRegexRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.ValidateRegexResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Unary call @/ondewo.nlu.Utilities/ValidateEmbeddedRegex
|
|
94
|
+
*
|
|
95
|
+
* @param requestMessage Request message
|
|
96
|
+
* @param requestMetadata Request metadata
|
|
97
|
+
* @returns Observable<thisProto.ValidateEmbeddedRegexResponse>
|
|
98
|
+
*/
|
|
99
|
+
validateEmbeddedRegex(requestData: thisProto.ValidateEmbeddedRegexRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.ValidateEmbeddedRegexResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Unary call @/ondewo.nlu.Utilities/CleanAllIntents
|
|
102
|
+
*
|
|
103
|
+
* @param requestMessage Request message
|
|
104
|
+
* @param requestMetadata Request metadata
|
|
105
|
+
* @returns Observable<thisProto.CleanAllIntentsResponse>
|
|
106
|
+
*/
|
|
107
|
+
cleanAllIntents(requestData: thisProto.CleanAllIntentsRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.CleanAllIntentsResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Unary call @/ondewo.nlu.Utilities/CleanIntent
|
|
110
|
+
*
|
|
111
|
+
* @param requestMessage Request message
|
|
112
|
+
* @param requestMetadata Request metadata
|
|
113
|
+
* @returns Observable<thisProto.CleanIntentResponse>
|
|
114
|
+
*/
|
|
115
|
+
cleanIntent(requestData: thisProto.CleanIntentRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.CleanIntentResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Unary call @/ondewo.nlu.Utilities/CleanAllEntityTypes
|
|
118
|
+
*
|
|
119
|
+
* @param requestMessage Request message
|
|
120
|
+
* @param requestMetadata Request metadata
|
|
121
|
+
* @returns Observable<thisProto.CleanAllEntityTypesResponse>
|
|
122
|
+
*/
|
|
123
|
+
cleanAllEntityTypes(requestData: thisProto.CleanAllEntityTypesRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.CleanAllEntityTypesResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* Unary call @/ondewo.nlu.Utilities/CleanEntityType
|
|
126
|
+
*
|
|
127
|
+
* @param requestMessage Request message
|
|
128
|
+
* @param requestMetadata Request metadata
|
|
129
|
+
* @returns Observable<thisProto.CleanEntityTypeResponse>
|
|
130
|
+
*/
|
|
131
|
+
cleanEntityType(requestData: thisProto.CleanEntityTypeRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.CleanEntityTypeResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Unary call @/ondewo.nlu.Utilities/AddTrainingPhrases
|
|
134
|
+
*
|
|
135
|
+
* @param requestMessage Request message
|
|
136
|
+
* @param requestMetadata Request metadata
|
|
137
|
+
* @returns Observable<thisProto.AddTrainingPhrasesResponse>
|
|
138
|
+
*/
|
|
139
|
+
addTrainingPhrases(requestData: thisProto.AddTrainingPhrasesRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.AddTrainingPhrasesResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* Unary call @/ondewo.nlu.Utilities/AddTrainingPhrasesFromCSV
|
|
142
|
+
*
|
|
143
|
+
* @param requestMessage Request message
|
|
144
|
+
* @param requestMetadata Request metadata
|
|
145
|
+
* @returns Observable<thisProto.AddTrainingPhrasesResponse>
|
|
146
|
+
*/
|
|
147
|
+
addTrainingPhrasesFromCSV(requestData: thisProto.AddTrainingPhrasesFromCSVRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.AddTrainingPhrasesResponse>;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesClient, [{ optional: true; }, null, null]>;
|
|
149
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilitiesClient>;
|
|
150
|
+
}
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as ondewoNlu005 from '../../ondewo/nlu/context.pb';
|
|
4
|
+
import * as googleProtobuf009 from '@ngx-grpc/well-known-types';
|
|
5
|
+
import * as ondewoNlu012 from '../../ondewo/nlu/intent.pb';
|
|
6
|
+
import * as ondewoNlu014 from '../../ondewo/nlu/session.pb';
|
|
7
|
+
/**
|
|
8
|
+
* Message implementation for ondewo.nlu.PingRequest
|
|
9
|
+
*/
|
|
10
|
+
export declare class PingRequest implements GrpcMessage {
|
|
11
|
+
static id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Deserialize binary data to message
|
|
14
|
+
* @param instance message instance
|
|
15
|
+
*/
|
|
16
|
+
static deserializeBinary(bytes: ByteSource): PingRequest;
|
|
17
|
+
/**
|
|
18
|
+
* Check all the properties and set default protobuf values if necessary
|
|
19
|
+
* @param _instance message instance
|
|
20
|
+
*/
|
|
21
|
+
static refineValues(_instance: PingRequest): void;
|
|
22
|
+
/**
|
|
23
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
24
|
+
* @param _instance message instance
|
|
25
|
+
* @param _reader binary reader instance
|
|
26
|
+
*/
|
|
27
|
+
static deserializeBinaryFromReader(_instance: PingRequest, _reader: BinaryReader): void;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes a message to binary format using provided binary reader
|
|
30
|
+
* @param _instance message instance
|
|
31
|
+
* @param _writer binary writer instance
|
|
32
|
+
*/
|
|
33
|
+
static serializeBinaryToWriter(_instance: PingRequest, _writer: BinaryWriter): void;
|
|
34
|
+
private _session?;
|
|
35
|
+
/**
|
|
36
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
37
|
+
* @param _value initial values object or instance of PingRequest to deeply clone from
|
|
38
|
+
*/
|
|
39
|
+
constructor(_value?: RecursivePartial<PingRequest.AsObject>);
|
|
40
|
+
get session(): string | undefined;
|
|
41
|
+
set session(value: string | undefined);
|
|
42
|
+
/**
|
|
43
|
+
* Serialize message to binary data
|
|
44
|
+
* @param instance message instance
|
|
45
|
+
*/
|
|
46
|
+
serializeBinary(): any;
|
|
47
|
+
/**
|
|
48
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
49
|
+
*/
|
|
50
|
+
toObject(): PingRequest.AsObject;
|
|
51
|
+
/**
|
|
52
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
53
|
+
*/
|
|
54
|
+
toJSON(): PingRequest.AsObject;
|
|
55
|
+
/**
|
|
56
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
57
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
58
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
59
|
+
*/
|
|
60
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PingRequest.AsProtobufJSON;
|
|
61
|
+
}
|
|
62
|
+
export declare module PingRequest {
|
|
63
|
+
/**
|
|
64
|
+
* Standard JavaScript object representation for PingRequest
|
|
65
|
+
*/
|
|
66
|
+
interface AsObject {
|
|
67
|
+
session?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Protobuf JSON representation for PingRequest
|
|
71
|
+
*/
|
|
72
|
+
interface AsProtobufJSON {
|
|
73
|
+
session?: string;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Message implementation for ondewo.nlu.WebhookRequest
|
|
78
|
+
*/
|
|
79
|
+
export declare class WebhookRequest implements GrpcMessage {
|
|
80
|
+
static id: string;
|
|
81
|
+
/**
|
|
82
|
+
* Deserialize binary data to message
|
|
83
|
+
* @param instance message instance
|
|
84
|
+
*/
|
|
85
|
+
static deserializeBinary(bytes: ByteSource): WebhookRequest;
|
|
86
|
+
/**
|
|
87
|
+
* Check all the properties and set default protobuf values if necessary
|
|
88
|
+
* @param _instance message instance
|
|
89
|
+
*/
|
|
90
|
+
static refineValues(_instance: WebhookRequest): void;
|
|
91
|
+
/**
|
|
92
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
93
|
+
* @param _instance message instance
|
|
94
|
+
* @param _reader binary reader instance
|
|
95
|
+
*/
|
|
96
|
+
static deserializeBinaryFromReader(_instance: WebhookRequest, _reader: BinaryReader): void;
|
|
97
|
+
/**
|
|
98
|
+
* Serializes a message to binary format using provided binary reader
|
|
99
|
+
* @param _instance message instance
|
|
100
|
+
* @param _writer binary writer instance
|
|
101
|
+
*/
|
|
102
|
+
static serializeBinaryToWriter(_instance: WebhookRequest, _writer: BinaryWriter): void;
|
|
103
|
+
private _session?;
|
|
104
|
+
private _responseId?;
|
|
105
|
+
private _queryResult?;
|
|
106
|
+
private _originalDetectIntentRequest?;
|
|
107
|
+
private _headers?;
|
|
108
|
+
/**
|
|
109
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
110
|
+
* @param _value initial values object or instance of WebhookRequest to deeply clone from
|
|
111
|
+
*/
|
|
112
|
+
constructor(_value?: RecursivePartial<WebhookRequest.AsObject>);
|
|
113
|
+
get session(): string | undefined;
|
|
114
|
+
set session(value: string | undefined);
|
|
115
|
+
get responseId(): string | undefined;
|
|
116
|
+
set responseId(value: string | undefined);
|
|
117
|
+
get queryResult(): ondewoNlu014.QueryResult | undefined;
|
|
118
|
+
set queryResult(value: ondewoNlu014.QueryResult | undefined);
|
|
119
|
+
get originalDetectIntentRequest(): OriginalDetectIntentRequest | undefined;
|
|
120
|
+
set originalDetectIntentRequest(value: OriginalDetectIntentRequest | undefined);
|
|
121
|
+
get headers(): googleProtobuf009.Struct | undefined;
|
|
122
|
+
set headers(value: googleProtobuf009.Struct | undefined);
|
|
123
|
+
/**
|
|
124
|
+
* Serialize message to binary data
|
|
125
|
+
* @param instance message instance
|
|
126
|
+
*/
|
|
127
|
+
serializeBinary(): any;
|
|
128
|
+
/**
|
|
129
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
130
|
+
*/
|
|
131
|
+
toObject(): WebhookRequest.AsObject;
|
|
132
|
+
/**
|
|
133
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
134
|
+
*/
|
|
135
|
+
toJSON(): WebhookRequest.AsObject;
|
|
136
|
+
/**
|
|
137
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
138
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
139
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
140
|
+
*/
|
|
141
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): WebhookRequest.AsProtobufJSON;
|
|
142
|
+
}
|
|
143
|
+
export declare module WebhookRequest {
|
|
144
|
+
/**
|
|
145
|
+
* Standard JavaScript object representation for WebhookRequest
|
|
146
|
+
*/
|
|
147
|
+
interface AsObject {
|
|
148
|
+
session?: string;
|
|
149
|
+
responseId?: string;
|
|
150
|
+
queryResult?: ondewoNlu014.QueryResult.AsObject;
|
|
151
|
+
originalDetectIntentRequest?: OriginalDetectIntentRequest.AsObject;
|
|
152
|
+
headers?: googleProtobuf009.Struct.AsObject;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Protobuf JSON representation for WebhookRequest
|
|
156
|
+
*/
|
|
157
|
+
interface AsProtobufJSON {
|
|
158
|
+
session?: string;
|
|
159
|
+
responseId?: string;
|
|
160
|
+
queryResult?: ondewoNlu014.QueryResult.AsProtobufJSON | null;
|
|
161
|
+
originalDetectIntentRequest?: OriginalDetectIntentRequest.AsProtobufJSON | null;
|
|
162
|
+
headers?: googleProtobuf009.Struct.AsProtobufJSON | null;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Message implementation for ondewo.nlu.WebhookResponse
|
|
167
|
+
*/
|
|
168
|
+
export declare class WebhookResponse implements GrpcMessage {
|
|
169
|
+
static id: string;
|
|
170
|
+
/**
|
|
171
|
+
* Deserialize binary data to message
|
|
172
|
+
* @param instance message instance
|
|
173
|
+
*/
|
|
174
|
+
static deserializeBinary(bytes: ByteSource): WebhookResponse;
|
|
175
|
+
/**
|
|
176
|
+
* Check all the properties and set default protobuf values if necessary
|
|
177
|
+
* @param _instance message instance
|
|
178
|
+
*/
|
|
179
|
+
static refineValues(_instance: WebhookResponse): void;
|
|
180
|
+
/**
|
|
181
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
182
|
+
* @param _instance message instance
|
|
183
|
+
* @param _reader binary reader instance
|
|
184
|
+
*/
|
|
185
|
+
static deserializeBinaryFromReader(_instance: WebhookResponse, _reader: BinaryReader): void;
|
|
186
|
+
/**
|
|
187
|
+
* Serializes a message to binary format using provided binary reader
|
|
188
|
+
* @param _instance message instance
|
|
189
|
+
* @param _writer binary writer instance
|
|
190
|
+
*/
|
|
191
|
+
static serializeBinaryToWriter(_instance: WebhookResponse, _writer: BinaryWriter): void;
|
|
192
|
+
private _fulfillmentText?;
|
|
193
|
+
private _fulfillmentMessages?;
|
|
194
|
+
private _source?;
|
|
195
|
+
private _payload?;
|
|
196
|
+
private _outputContexts?;
|
|
197
|
+
private _followupEventInput?;
|
|
198
|
+
/**
|
|
199
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
200
|
+
* @param _value initial values object or instance of WebhookResponse to deeply clone from
|
|
201
|
+
*/
|
|
202
|
+
constructor(_value?: RecursivePartial<WebhookResponse.AsObject>);
|
|
203
|
+
get fulfillmentText(): string | undefined;
|
|
204
|
+
set fulfillmentText(value: string | undefined);
|
|
205
|
+
get fulfillmentMessages(): ondewoNlu012.Intent.Message[] | undefined;
|
|
206
|
+
set fulfillmentMessages(value: ondewoNlu012.Intent.Message[] | undefined);
|
|
207
|
+
get source(): string | undefined;
|
|
208
|
+
set source(value: string | undefined);
|
|
209
|
+
get payload(): googleProtobuf009.Struct | undefined;
|
|
210
|
+
set payload(value: googleProtobuf009.Struct | undefined);
|
|
211
|
+
get outputContexts(): ondewoNlu005.Context[] | undefined;
|
|
212
|
+
set outputContexts(value: ondewoNlu005.Context[] | undefined);
|
|
213
|
+
get followupEventInput(): ondewoNlu014.EventInput | undefined;
|
|
214
|
+
set followupEventInput(value: ondewoNlu014.EventInput | undefined);
|
|
215
|
+
/**
|
|
216
|
+
* Serialize message to binary data
|
|
217
|
+
* @param instance message instance
|
|
218
|
+
*/
|
|
219
|
+
serializeBinary(): any;
|
|
220
|
+
/**
|
|
221
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
222
|
+
*/
|
|
223
|
+
toObject(): WebhookResponse.AsObject;
|
|
224
|
+
/**
|
|
225
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
226
|
+
*/
|
|
227
|
+
toJSON(): WebhookResponse.AsObject;
|
|
228
|
+
/**
|
|
229
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
230
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
231
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
232
|
+
*/
|
|
233
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): WebhookResponse.AsProtobufJSON;
|
|
234
|
+
}
|
|
235
|
+
export declare module WebhookResponse {
|
|
236
|
+
/**
|
|
237
|
+
* Standard JavaScript object representation for WebhookResponse
|
|
238
|
+
*/
|
|
239
|
+
interface AsObject {
|
|
240
|
+
fulfillmentText?: string;
|
|
241
|
+
fulfillmentMessages?: ondewoNlu012.Intent.Message.AsObject[];
|
|
242
|
+
source?: string;
|
|
243
|
+
payload?: googleProtobuf009.Struct.AsObject;
|
|
244
|
+
outputContexts?: ondewoNlu005.Context.AsObject[];
|
|
245
|
+
followupEventInput?: ondewoNlu014.EventInput.AsObject;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Protobuf JSON representation for WebhookResponse
|
|
249
|
+
*/
|
|
250
|
+
interface AsProtobufJSON {
|
|
251
|
+
fulfillmentText?: string;
|
|
252
|
+
fulfillmentMessages?: ondewoNlu012.Intent.Message.AsProtobufJSON[] | null;
|
|
253
|
+
source?: string;
|
|
254
|
+
payload?: googleProtobuf009.Struct.AsProtobufJSON | null;
|
|
255
|
+
outputContexts?: ondewoNlu005.Context.AsProtobufJSON[] | null;
|
|
256
|
+
followupEventInput?: ondewoNlu014.EventInput.AsProtobufJSON | null;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Message implementation for ondewo.nlu.OriginalDetectIntentRequest
|
|
261
|
+
*/
|
|
262
|
+
export declare class OriginalDetectIntentRequest implements GrpcMessage {
|
|
263
|
+
static id: string;
|
|
264
|
+
/**
|
|
265
|
+
* Deserialize binary data to message
|
|
266
|
+
* @param instance message instance
|
|
267
|
+
*/
|
|
268
|
+
static deserializeBinary(bytes: ByteSource): OriginalDetectIntentRequest;
|
|
269
|
+
/**
|
|
270
|
+
* Check all the properties and set default protobuf values if necessary
|
|
271
|
+
* @param _instance message instance
|
|
272
|
+
*/
|
|
273
|
+
static refineValues(_instance: OriginalDetectIntentRequest): void;
|
|
274
|
+
/**
|
|
275
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
276
|
+
* @param _instance message instance
|
|
277
|
+
* @param _reader binary reader instance
|
|
278
|
+
*/
|
|
279
|
+
static deserializeBinaryFromReader(_instance: OriginalDetectIntentRequest, _reader: BinaryReader): void;
|
|
280
|
+
/**
|
|
281
|
+
* Serializes a message to binary format using provided binary reader
|
|
282
|
+
* @param _instance message instance
|
|
283
|
+
* @param _writer binary writer instance
|
|
284
|
+
*/
|
|
285
|
+
static serializeBinaryToWriter(_instance: OriginalDetectIntentRequest, _writer: BinaryWriter): void;
|
|
286
|
+
private _source?;
|
|
287
|
+
private _payload?;
|
|
288
|
+
/**
|
|
289
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
290
|
+
* @param _value initial values object or instance of OriginalDetectIntentRequest to deeply clone from
|
|
291
|
+
*/
|
|
292
|
+
constructor(_value?: RecursivePartial<OriginalDetectIntentRequest.AsObject>);
|
|
293
|
+
get source(): string | undefined;
|
|
294
|
+
set source(value: string | undefined);
|
|
295
|
+
get payload(): googleProtobuf009.Struct | undefined;
|
|
296
|
+
set payload(value: googleProtobuf009.Struct | undefined);
|
|
297
|
+
/**
|
|
298
|
+
* Serialize message to binary data
|
|
299
|
+
* @param instance message instance
|
|
300
|
+
*/
|
|
301
|
+
serializeBinary(): any;
|
|
302
|
+
/**
|
|
303
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
304
|
+
*/
|
|
305
|
+
toObject(): OriginalDetectIntentRequest.AsObject;
|
|
306
|
+
/**
|
|
307
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
308
|
+
*/
|
|
309
|
+
toJSON(): OriginalDetectIntentRequest.AsObject;
|
|
310
|
+
/**
|
|
311
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
312
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
313
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
314
|
+
*/
|
|
315
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): OriginalDetectIntentRequest.AsProtobufJSON;
|
|
316
|
+
}
|
|
317
|
+
export declare module OriginalDetectIntentRequest {
|
|
318
|
+
/**
|
|
319
|
+
* Standard JavaScript object representation for OriginalDetectIntentRequest
|
|
320
|
+
*/
|
|
321
|
+
interface AsObject {
|
|
322
|
+
source?: string;
|
|
323
|
+
payload?: googleProtobuf009.Struct.AsObject;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Protobuf JSON representation for OriginalDetectIntentRequest
|
|
327
|
+
*/
|
|
328
|
+
interface AsProtobufJSON {
|
|
329
|
+
source?: string;
|
|
330
|
+
payload?: googleProtobuf009.Struct.AsProtobufJSON | null;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Message implementation for ondewo.nlu.PingResponse
|
|
335
|
+
*/
|
|
336
|
+
export declare class PingResponse implements GrpcMessage {
|
|
337
|
+
static id: string;
|
|
338
|
+
/**
|
|
339
|
+
* Deserialize binary data to message
|
|
340
|
+
* @param instance message instance
|
|
341
|
+
*/
|
|
342
|
+
static deserializeBinary(bytes: ByteSource): PingResponse;
|
|
343
|
+
/**
|
|
344
|
+
* Check all the properties and set default protobuf values if necessary
|
|
345
|
+
* @param _instance message instance
|
|
346
|
+
*/
|
|
347
|
+
static refineValues(_instance: PingResponse): void;
|
|
348
|
+
/**
|
|
349
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
350
|
+
* @param _instance message instance
|
|
351
|
+
* @param _reader binary reader instance
|
|
352
|
+
*/
|
|
353
|
+
static deserializeBinaryFromReader(_instance: PingResponse, _reader: BinaryReader): void;
|
|
354
|
+
/**
|
|
355
|
+
* Serializes a message to binary format using provided binary reader
|
|
356
|
+
* @param _instance message instance
|
|
357
|
+
* @param _writer binary writer instance
|
|
358
|
+
*/
|
|
359
|
+
static serializeBinaryToWriter(_instance: PingResponse, _writer: BinaryWriter): void;
|
|
360
|
+
private _isReachable?;
|
|
361
|
+
/**
|
|
362
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
363
|
+
* @param _value initial values object or instance of PingResponse to deeply clone from
|
|
364
|
+
*/
|
|
365
|
+
constructor(_value?: RecursivePartial<PingResponse.AsObject>);
|
|
366
|
+
get isReachable(): boolean | undefined;
|
|
367
|
+
set isReachable(value: boolean | undefined);
|
|
368
|
+
/**
|
|
369
|
+
* Serialize message to binary data
|
|
370
|
+
* @param instance message instance
|
|
371
|
+
*/
|
|
372
|
+
serializeBinary(): any;
|
|
373
|
+
/**
|
|
374
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
375
|
+
*/
|
|
376
|
+
toObject(): PingResponse.AsObject;
|
|
377
|
+
/**
|
|
378
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
379
|
+
*/
|
|
380
|
+
toJSON(): PingResponse.AsObject;
|
|
381
|
+
/**
|
|
382
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
383
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
384
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
385
|
+
*/
|
|
386
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PingResponse.AsProtobufJSON;
|
|
387
|
+
}
|
|
388
|
+
export declare module PingResponse {
|
|
389
|
+
/**
|
|
390
|
+
* Standard JavaScript object representation for PingResponse
|
|
391
|
+
*/
|
|
392
|
+
interface AsObject {
|
|
393
|
+
isReachable?: boolean;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Protobuf JSON representation for PingResponse
|
|
397
|
+
*/
|
|
398
|
+
interface AsProtobufJSON {
|
|
399
|
+
isReachable?: boolean;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Specific GrpcClientSettings for Webhook.
|
|
4
|
+
* Use it only if your default settings are not set or the service requires other settings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const GRPC_WEBHOOK_CLIENT_SETTINGS: InjectionToken<any>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { GrpcClientFactory, GrpcEvent, GrpcMetadata } from '@ngx-grpc/common';
|
|
2
|
+
import { GrpcHandler } from '@ngx-grpc/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as thisProto from './webhook.pb';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Service client implementation for ondewo.nlu.Webhook
|
|
8
|
+
*/
|
|
9
|
+
export declare class WebhookClient {
|
|
10
|
+
private handler;
|
|
11
|
+
private client;
|
|
12
|
+
/**
|
|
13
|
+
* Raw RPC implementation for each service client method.
|
|
14
|
+
* The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
|
|
15
|
+
* Attention: these methods do not throw errors when non-zero status codes are received.
|
|
16
|
+
*/
|
|
17
|
+
$raw: {
|
|
18
|
+
/**
|
|
19
|
+
* Unary call: /ondewo.nlu.Webhook/ResponseRefinement
|
|
20
|
+
*
|
|
21
|
+
* @param requestMessage Request message
|
|
22
|
+
* @param requestMetadata Request metadata
|
|
23
|
+
* @returns Observable<GrpcEvent<thisProto.WebhookResponse>>
|
|
24
|
+
*/
|
|
25
|
+
responseRefinement: (requestData: thisProto.WebhookRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.WebhookResponse>>;
|
|
26
|
+
/**
|
|
27
|
+
* Unary call: /ondewo.nlu.Webhook/SlotFilling
|
|
28
|
+
*
|
|
29
|
+
* @param requestMessage Request message
|
|
30
|
+
* @param requestMetadata Request metadata
|
|
31
|
+
* @returns Observable<GrpcEvent<thisProto.WebhookResponse>>
|
|
32
|
+
*/
|
|
33
|
+
slotFilling: (requestData: thisProto.WebhookRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.WebhookResponse>>;
|
|
34
|
+
/**
|
|
35
|
+
* Unary call: /ondewo.nlu.Webhook/Ping
|
|
36
|
+
*
|
|
37
|
+
* @param requestMessage Request message
|
|
38
|
+
* @param requestMetadata Request metadata
|
|
39
|
+
* @returns Observable<GrpcEvent<thisProto.PingResponse>>
|
|
40
|
+
*/
|
|
41
|
+
ping: (requestData: thisProto.PingRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<thisProto.PingResponse>>;
|
|
42
|
+
};
|
|
43
|
+
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
44
|
+
/**
|
|
45
|
+
* Unary call @/ondewo.nlu.Webhook/ResponseRefinement
|
|
46
|
+
*
|
|
47
|
+
* @param requestMessage Request message
|
|
48
|
+
* @param requestMetadata Request metadata
|
|
49
|
+
* @returns Observable<thisProto.WebhookResponse>
|
|
50
|
+
*/
|
|
51
|
+
responseRefinement(requestData: thisProto.WebhookRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.WebhookResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Unary call @/ondewo.nlu.Webhook/SlotFilling
|
|
54
|
+
*
|
|
55
|
+
* @param requestMessage Request message
|
|
56
|
+
* @param requestMetadata Request metadata
|
|
57
|
+
* @returns Observable<thisProto.WebhookResponse>
|
|
58
|
+
*/
|
|
59
|
+
slotFilling(requestData: thisProto.WebhookRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.WebhookResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Unary call @/ondewo.nlu.Webhook/Ping
|
|
62
|
+
*
|
|
63
|
+
* @param requestMessage Request message
|
|
64
|
+
* @param requestMetadata Request metadata
|
|
65
|
+
* @returns Observable<thisProto.PingResponse>
|
|
66
|
+
*/
|
|
67
|
+
ping(requestData: thisProto.PingRequest, requestMetadata?: GrpcMetadata): Observable<thisProto.PingResponse>;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebhookClient, [{ optional: true; }, null, null]>;
|
|
69
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebhookClient>;
|
|
70
|
+
}
|