@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,295 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as ondewoNlu010 from '../../ondewo/nlu/intent.pb';
|
|
4
|
+
import * as ondewoNlu011 from '../../ondewo/nlu/entity-type.pb';
|
|
5
|
+
/**
|
|
6
|
+
* Message implementation for ondewo.nlu.GetIntentCountRequest
|
|
7
|
+
*/
|
|
8
|
+
export declare class GetIntentCountRequest implements GrpcMessage {
|
|
9
|
+
static id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Deserialize binary data to message
|
|
12
|
+
* @param instance message instance
|
|
13
|
+
*/
|
|
14
|
+
static deserializeBinary(bytes: ByteSource): GetIntentCountRequest;
|
|
15
|
+
/**
|
|
16
|
+
* Check all the properties and set default protobuf values if necessary
|
|
17
|
+
* @param _instance message instance
|
|
18
|
+
*/
|
|
19
|
+
static refineValues(_instance: GetIntentCountRequest): void;
|
|
20
|
+
/**
|
|
21
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
22
|
+
* @param _instance message instance
|
|
23
|
+
* @param _reader binary reader instance
|
|
24
|
+
*/
|
|
25
|
+
static deserializeBinaryFromReader(_instance: GetIntentCountRequest, _reader: BinaryReader): void;
|
|
26
|
+
/**
|
|
27
|
+
* Serializes a message to binary format using provided binary reader
|
|
28
|
+
* @param _instance message instance
|
|
29
|
+
* @param _writer binary writer instance
|
|
30
|
+
*/
|
|
31
|
+
static serializeBinaryToWriter(_instance: GetIntentCountRequest, _writer: BinaryWriter): void;
|
|
32
|
+
private _parent?;
|
|
33
|
+
private _filterByCategory?;
|
|
34
|
+
/**
|
|
35
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
36
|
+
* @param _value initial values object or instance of GetIntentCountRequest to deeply clone from
|
|
37
|
+
*/
|
|
38
|
+
constructor(_value?: RecursivePartial<GetIntentCountRequest.AsObject>);
|
|
39
|
+
get parent(): string | undefined;
|
|
40
|
+
set parent(value: string | undefined);
|
|
41
|
+
get filterByCategory(): ondewoNlu010.IntentCategory | undefined;
|
|
42
|
+
set filterByCategory(value: ondewoNlu010.IntentCategory | undefined);
|
|
43
|
+
/**
|
|
44
|
+
* Serialize message to binary data
|
|
45
|
+
* @param instance message instance
|
|
46
|
+
*/
|
|
47
|
+
serializeBinary(): any;
|
|
48
|
+
/**
|
|
49
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
50
|
+
*/
|
|
51
|
+
toObject(): GetIntentCountRequest.AsObject;
|
|
52
|
+
/**
|
|
53
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
54
|
+
*/
|
|
55
|
+
toJSON(): GetIntentCountRequest.AsObject;
|
|
56
|
+
/**
|
|
57
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
58
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetIntentCountRequest.AsProtobufJSON;
|
|
62
|
+
}
|
|
63
|
+
export declare module GetIntentCountRequest {
|
|
64
|
+
/**
|
|
65
|
+
* Standard JavaScript object representation for GetIntentCountRequest
|
|
66
|
+
*/
|
|
67
|
+
interface AsObject {
|
|
68
|
+
parent?: string;
|
|
69
|
+
filterByCategory?: ondewoNlu010.IntentCategory;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Protobuf JSON representation for GetIntentCountRequest
|
|
73
|
+
*/
|
|
74
|
+
interface AsProtobufJSON {
|
|
75
|
+
parent?: string;
|
|
76
|
+
filterByCategory?: string;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Message implementation for ondewo.nlu.GetEntityTypeCountRequest
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetEntityTypeCountRequest implements GrpcMessage {
|
|
83
|
+
static id: string;
|
|
84
|
+
/**
|
|
85
|
+
* Deserialize binary data to message
|
|
86
|
+
* @param instance message instance
|
|
87
|
+
*/
|
|
88
|
+
static deserializeBinary(bytes: ByteSource): GetEntityTypeCountRequest;
|
|
89
|
+
/**
|
|
90
|
+
* Check all the properties and set default protobuf values if necessary
|
|
91
|
+
* @param _instance message instance
|
|
92
|
+
*/
|
|
93
|
+
static refineValues(_instance: GetEntityTypeCountRequest): void;
|
|
94
|
+
/**
|
|
95
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
96
|
+
* @param _instance message instance
|
|
97
|
+
* @param _reader binary reader instance
|
|
98
|
+
*/
|
|
99
|
+
static deserializeBinaryFromReader(_instance: GetEntityTypeCountRequest, _reader: BinaryReader): void;
|
|
100
|
+
/**
|
|
101
|
+
* Serializes a message to binary format using provided binary reader
|
|
102
|
+
* @param _instance message instance
|
|
103
|
+
* @param _writer binary writer instance
|
|
104
|
+
*/
|
|
105
|
+
static serializeBinaryToWriter(_instance: GetEntityTypeCountRequest, _writer: BinaryWriter): void;
|
|
106
|
+
private _parent?;
|
|
107
|
+
private _filterByCategory?;
|
|
108
|
+
/**
|
|
109
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
110
|
+
* @param _value initial values object or instance of GetEntityTypeCountRequest to deeply clone from
|
|
111
|
+
*/
|
|
112
|
+
constructor(_value?: RecursivePartial<GetEntityTypeCountRequest.AsObject>);
|
|
113
|
+
get parent(): string | undefined;
|
|
114
|
+
set parent(value: string | undefined);
|
|
115
|
+
get filterByCategory(): ondewoNlu011.EntityTypeCategory | undefined;
|
|
116
|
+
set filterByCategory(value: ondewoNlu011.EntityTypeCategory | undefined);
|
|
117
|
+
/**
|
|
118
|
+
* Serialize message to binary data
|
|
119
|
+
* @param instance message instance
|
|
120
|
+
*/
|
|
121
|
+
serializeBinary(): any;
|
|
122
|
+
/**
|
|
123
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
124
|
+
*/
|
|
125
|
+
toObject(): GetEntityTypeCountRequest.AsObject;
|
|
126
|
+
/**
|
|
127
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
128
|
+
*/
|
|
129
|
+
toJSON(): GetEntityTypeCountRequest.AsObject;
|
|
130
|
+
/**
|
|
131
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
132
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
133
|
+
* 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
|
|
134
|
+
*/
|
|
135
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetEntityTypeCountRequest.AsProtobufJSON;
|
|
136
|
+
}
|
|
137
|
+
export declare module GetEntityTypeCountRequest {
|
|
138
|
+
/**
|
|
139
|
+
* Standard JavaScript object representation for GetEntityTypeCountRequest
|
|
140
|
+
*/
|
|
141
|
+
interface AsObject {
|
|
142
|
+
parent?: string;
|
|
143
|
+
filterByCategory?: ondewoNlu011.EntityTypeCategory;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Protobuf JSON representation for GetEntityTypeCountRequest
|
|
147
|
+
*/
|
|
148
|
+
interface AsProtobufJSON {
|
|
149
|
+
parent?: string;
|
|
150
|
+
filterByCategory?: string;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Message implementation for ondewo.nlu.GetProjectStatRequest
|
|
155
|
+
*/
|
|
156
|
+
export declare class GetProjectStatRequest implements GrpcMessage {
|
|
157
|
+
static id: string;
|
|
158
|
+
/**
|
|
159
|
+
* Deserialize binary data to message
|
|
160
|
+
* @param instance message instance
|
|
161
|
+
*/
|
|
162
|
+
static deserializeBinary(bytes: ByteSource): GetProjectStatRequest;
|
|
163
|
+
/**
|
|
164
|
+
* Check all the properties and set default protobuf values if necessary
|
|
165
|
+
* @param _instance message instance
|
|
166
|
+
*/
|
|
167
|
+
static refineValues(_instance: GetProjectStatRequest): void;
|
|
168
|
+
/**
|
|
169
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
170
|
+
* @param _instance message instance
|
|
171
|
+
* @param _reader binary reader instance
|
|
172
|
+
*/
|
|
173
|
+
static deserializeBinaryFromReader(_instance: GetProjectStatRequest, _reader: BinaryReader): void;
|
|
174
|
+
/**
|
|
175
|
+
* Serializes a message to binary format using provided binary reader
|
|
176
|
+
* @param _instance message instance
|
|
177
|
+
* @param _writer binary writer instance
|
|
178
|
+
*/
|
|
179
|
+
static serializeBinaryToWriter(_instance: GetProjectStatRequest, _writer: BinaryWriter): void;
|
|
180
|
+
private _parent?;
|
|
181
|
+
/**
|
|
182
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
183
|
+
* @param _value initial values object or instance of GetProjectStatRequest to deeply clone from
|
|
184
|
+
*/
|
|
185
|
+
constructor(_value?: RecursivePartial<GetProjectStatRequest.AsObject>);
|
|
186
|
+
get parent(): string | undefined;
|
|
187
|
+
set parent(value: string | undefined);
|
|
188
|
+
/**
|
|
189
|
+
* Serialize message to binary data
|
|
190
|
+
* @param instance message instance
|
|
191
|
+
*/
|
|
192
|
+
serializeBinary(): any;
|
|
193
|
+
/**
|
|
194
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
195
|
+
*/
|
|
196
|
+
toObject(): GetProjectStatRequest.AsObject;
|
|
197
|
+
/**
|
|
198
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
199
|
+
*/
|
|
200
|
+
toJSON(): GetProjectStatRequest.AsObject;
|
|
201
|
+
/**
|
|
202
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
203
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
204
|
+
* 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
|
|
205
|
+
*/
|
|
206
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetProjectStatRequest.AsProtobufJSON;
|
|
207
|
+
}
|
|
208
|
+
export declare module GetProjectStatRequest {
|
|
209
|
+
/**
|
|
210
|
+
* Standard JavaScript object representation for GetProjectStatRequest
|
|
211
|
+
*/
|
|
212
|
+
interface AsObject {
|
|
213
|
+
parent?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Protobuf JSON representation for GetProjectStatRequest
|
|
217
|
+
*/
|
|
218
|
+
interface AsProtobufJSON {
|
|
219
|
+
parent?: string;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Message implementation for ondewo.nlu.GetProjectElementStatRequest
|
|
224
|
+
*/
|
|
225
|
+
export declare class GetProjectElementStatRequest implements GrpcMessage {
|
|
226
|
+
static id: string;
|
|
227
|
+
/**
|
|
228
|
+
* Deserialize binary data to message
|
|
229
|
+
* @param instance message instance
|
|
230
|
+
*/
|
|
231
|
+
static deserializeBinary(bytes: ByteSource): GetProjectElementStatRequest;
|
|
232
|
+
/**
|
|
233
|
+
* Check all the properties and set default protobuf values if necessary
|
|
234
|
+
* @param _instance message instance
|
|
235
|
+
*/
|
|
236
|
+
static refineValues(_instance: GetProjectElementStatRequest): void;
|
|
237
|
+
/**
|
|
238
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
239
|
+
* @param _instance message instance
|
|
240
|
+
* @param _reader binary reader instance
|
|
241
|
+
*/
|
|
242
|
+
static deserializeBinaryFromReader(_instance: GetProjectElementStatRequest, _reader: BinaryReader): void;
|
|
243
|
+
/**
|
|
244
|
+
* Serializes a message to binary format using provided binary reader
|
|
245
|
+
* @param _instance message instance
|
|
246
|
+
* @param _writer binary writer instance
|
|
247
|
+
*/
|
|
248
|
+
static serializeBinaryToWriter(_instance: GetProjectElementStatRequest, _writer: BinaryWriter): void;
|
|
249
|
+
private _name?;
|
|
250
|
+
private _languageCode?;
|
|
251
|
+
/**
|
|
252
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
253
|
+
* @param _value initial values object or instance of GetProjectElementStatRequest to deeply clone from
|
|
254
|
+
*/
|
|
255
|
+
constructor(_value?: RecursivePartial<GetProjectElementStatRequest.AsObject>);
|
|
256
|
+
get name(): string | undefined;
|
|
257
|
+
set name(value: string | undefined);
|
|
258
|
+
get languageCode(): string | undefined;
|
|
259
|
+
set languageCode(value: string | undefined);
|
|
260
|
+
/**
|
|
261
|
+
* Serialize message to binary data
|
|
262
|
+
* @param instance message instance
|
|
263
|
+
*/
|
|
264
|
+
serializeBinary(): any;
|
|
265
|
+
/**
|
|
266
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
267
|
+
*/
|
|
268
|
+
toObject(): GetProjectElementStatRequest.AsObject;
|
|
269
|
+
/**
|
|
270
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
271
|
+
*/
|
|
272
|
+
toJSON(): GetProjectElementStatRequest.AsObject;
|
|
273
|
+
/**
|
|
274
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
275
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
276
|
+
* 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
|
|
277
|
+
*/
|
|
278
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetProjectElementStatRequest.AsProtobufJSON;
|
|
279
|
+
}
|
|
280
|
+
export declare module GetProjectElementStatRequest {
|
|
281
|
+
/**
|
|
282
|
+
* Standard JavaScript object representation for GetProjectElementStatRequest
|
|
283
|
+
*/
|
|
284
|
+
interface AsObject {
|
|
285
|
+
name?: string;
|
|
286
|
+
languageCode?: string;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Protobuf JSON representation for GetProjectElementStatRequest
|
|
290
|
+
*/
|
|
291
|
+
interface AsProtobufJSON {
|
|
292
|
+
name?: string;
|
|
293
|
+
languageCode?: string;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Specific GrpcClientSettings for ProjectStatistics.
|
|
4
|
+
* Use it only if your default settings are not set or the service requires other settings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const GRPC_PROJECT_STATISTICS_CLIENT_SETTINGS: InjectionToken<any>;
|
|
@@ -0,0 +1,151 @@
|
|
|
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 './project-statistics.pb';
|
|
5
|
+
import * as ondewoNlu004 from '../../ondewo/nlu/common.pb';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Service client implementation for ondewo.nlu.ProjectStatistics
|
|
9
|
+
*/
|
|
10
|
+
export declare class ProjectStatisticsClient {
|
|
11
|
+
private handler;
|
|
12
|
+
private client;
|
|
13
|
+
/**
|
|
14
|
+
* Raw RPC implementation for each service client method.
|
|
15
|
+
* The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
|
|
16
|
+
* Attention: these methods do not throw errors when non-zero status codes are received.
|
|
17
|
+
*/
|
|
18
|
+
$raw: {
|
|
19
|
+
/**
|
|
20
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetIntentCount
|
|
21
|
+
*
|
|
22
|
+
* @param requestMessage Request message
|
|
23
|
+
* @param requestMetadata Request metadata
|
|
24
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
25
|
+
*/
|
|
26
|
+
getIntentCount: (requestData: thisProto.GetIntentCountRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
27
|
+
/**
|
|
28
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetEntityTypeCount
|
|
29
|
+
*
|
|
30
|
+
* @param requestMessage Request message
|
|
31
|
+
* @param requestMetadata Request metadata
|
|
32
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
33
|
+
*/
|
|
34
|
+
getEntityTypeCount: (requestData: thisProto.GetEntityTypeCountRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
35
|
+
/**
|
|
36
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetUserCount
|
|
37
|
+
*
|
|
38
|
+
* @param requestMessage Request message
|
|
39
|
+
* @param requestMetadata Request metadata
|
|
40
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
41
|
+
*/
|
|
42
|
+
getUserCount: (requestData: thisProto.GetProjectStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetSessionCount
|
|
45
|
+
*
|
|
46
|
+
* @param requestMessage Request message
|
|
47
|
+
* @param requestMetadata Request metadata
|
|
48
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
49
|
+
*/
|
|
50
|
+
getSessionCount: (requestData: thisProto.GetProjectStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetTrainingPhraseCount
|
|
53
|
+
*
|
|
54
|
+
* @param requestMessage Request message
|
|
55
|
+
* @param requestMetadata Request metadata
|
|
56
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
57
|
+
*/
|
|
58
|
+
getTrainingPhraseCount: (requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
59
|
+
/**
|
|
60
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetResponseCount
|
|
61
|
+
*
|
|
62
|
+
* @param requestMessage Request message
|
|
63
|
+
* @param requestMetadata Request metadata
|
|
64
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
65
|
+
*/
|
|
66
|
+
getResponseCount: (requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
67
|
+
/**
|
|
68
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetEntityValueCount
|
|
69
|
+
*
|
|
70
|
+
* @param requestMessage Request message
|
|
71
|
+
* @param requestMetadata Request metadata
|
|
72
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
73
|
+
*/
|
|
74
|
+
getEntityValueCount: (requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
75
|
+
/**
|
|
76
|
+
* Unary call: /ondewo.nlu.ProjectStatistics/GetEntitySynonymCount
|
|
77
|
+
*
|
|
78
|
+
* @param requestMessage Request message
|
|
79
|
+
* @param requestMetadata Request metadata
|
|
80
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
81
|
+
*/
|
|
82
|
+
getEntitySynonymCount: (requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
83
|
+
};
|
|
84
|
+
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
85
|
+
/**
|
|
86
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetIntentCount
|
|
87
|
+
*
|
|
88
|
+
* @param requestMessage Request message
|
|
89
|
+
* @param requestMetadata Request metadata
|
|
90
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
91
|
+
*/
|
|
92
|
+
getIntentCount(requestData: thisProto.GetIntentCountRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetEntityTypeCount
|
|
95
|
+
*
|
|
96
|
+
* @param requestMessage Request message
|
|
97
|
+
* @param requestMetadata Request metadata
|
|
98
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
99
|
+
*/
|
|
100
|
+
getEntityTypeCount(requestData: thisProto.GetEntityTypeCountRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetUserCount
|
|
103
|
+
*
|
|
104
|
+
* @param requestMessage Request message
|
|
105
|
+
* @param requestMetadata Request metadata
|
|
106
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
107
|
+
*/
|
|
108
|
+
getUserCount(requestData: thisProto.GetProjectStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetSessionCount
|
|
111
|
+
*
|
|
112
|
+
* @param requestMessage Request message
|
|
113
|
+
* @param requestMetadata Request metadata
|
|
114
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
115
|
+
*/
|
|
116
|
+
getSessionCount(requestData: thisProto.GetProjectStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetTrainingPhraseCount
|
|
119
|
+
*
|
|
120
|
+
* @param requestMessage Request message
|
|
121
|
+
* @param requestMetadata Request metadata
|
|
122
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
123
|
+
*/
|
|
124
|
+
getTrainingPhraseCount(requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetResponseCount
|
|
127
|
+
*
|
|
128
|
+
* @param requestMessage Request message
|
|
129
|
+
* @param requestMetadata Request metadata
|
|
130
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
131
|
+
*/
|
|
132
|
+
getResponseCount(requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetEntityValueCount
|
|
135
|
+
*
|
|
136
|
+
* @param requestMessage Request message
|
|
137
|
+
* @param requestMetadata Request metadata
|
|
138
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
139
|
+
*/
|
|
140
|
+
getEntityValueCount(requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* Unary call @/ondewo.nlu.ProjectStatistics/GetEntitySynonymCount
|
|
143
|
+
*
|
|
144
|
+
* @param requestMessage Request message
|
|
145
|
+
* @param requestMetadata Request metadata
|
|
146
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
147
|
+
*/
|
|
148
|
+
getEntitySynonymCount(requestData: thisProto.GetProjectElementStatRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProjectStatisticsClient, [{ optional: true; }, null, null]>;
|
|
150
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProjectStatisticsClient>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Message implementation for ondewo.nlu.GetUserProjectCountRequest
|
|
5
|
+
*/
|
|
6
|
+
export declare class GetUserProjectCountRequest implements GrpcMessage {
|
|
7
|
+
static id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Deserialize binary data to message
|
|
10
|
+
* @param instance message instance
|
|
11
|
+
*/
|
|
12
|
+
static deserializeBinary(bytes: ByteSource): GetUserProjectCountRequest;
|
|
13
|
+
/**
|
|
14
|
+
* Check all the properties and set default protobuf values if necessary
|
|
15
|
+
* @param _instance message instance
|
|
16
|
+
*/
|
|
17
|
+
static refineValues(_instance: GetUserProjectCountRequest): void;
|
|
18
|
+
/**
|
|
19
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
20
|
+
* @param _instance message instance
|
|
21
|
+
* @param _reader binary reader instance
|
|
22
|
+
*/
|
|
23
|
+
static deserializeBinaryFromReader(_instance: GetUserProjectCountRequest, _reader: BinaryReader): void;
|
|
24
|
+
/**
|
|
25
|
+
* Serializes a message to binary format using provided binary reader
|
|
26
|
+
* @param _instance message instance
|
|
27
|
+
* @param _writer binary writer instance
|
|
28
|
+
*/
|
|
29
|
+
static serializeBinaryToWriter(_instance: GetUserProjectCountRequest, _writer: BinaryWriter): void;
|
|
30
|
+
private _userId?;
|
|
31
|
+
/**
|
|
32
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
33
|
+
* @param _value initial values object or instance of GetUserProjectCountRequest to deeply clone from
|
|
34
|
+
*/
|
|
35
|
+
constructor(_value?: RecursivePartial<GetUserProjectCountRequest.AsObject>);
|
|
36
|
+
get userId(): string | undefined;
|
|
37
|
+
set userId(value: string | undefined);
|
|
38
|
+
/**
|
|
39
|
+
* Serialize message to binary data
|
|
40
|
+
* @param instance message instance
|
|
41
|
+
*/
|
|
42
|
+
serializeBinary(): any;
|
|
43
|
+
/**
|
|
44
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
45
|
+
*/
|
|
46
|
+
toObject(): GetUserProjectCountRequest.AsObject;
|
|
47
|
+
/**
|
|
48
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
49
|
+
*/
|
|
50
|
+
toJSON(): GetUserProjectCountRequest.AsObject;
|
|
51
|
+
/**
|
|
52
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
53
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetUserProjectCountRequest.AsProtobufJSON;
|
|
57
|
+
}
|
|
58
|
+
export declare module GetUserProjectCountRequest {
|
|
59
|
+
/**
|
|
60
|
+
* Standard JavaScript object representation for GetUserProjectCountRequest
|
|
61
|
+
*/
|
|
62
|
+
interface AsObject {
|
|
63
|
+
userId?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Protobuf JSON representation for GetUserProjectCountRequest
|
|
67
|
+
*/
|
|
68
|
+
interface AsProtobufJSON {
|
|
69
|
+
userId?: string;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Specific GrpcClientSettings for ServerStatistics.
|
|
4
|
+
* Use it only if your default settings are not set or the service requires other settings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const GRPC_SERVER_STATISTICS_CLIENT_SETTINGS: InjectionToken<any>;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 './server-statistics.pb';
|
|
5
|
+
import * as googleProtobuf003 from '@ngx-grpc/well-known-types';
|
|
6
|
+
import * as ondewoNlu004 from '../../ondewo/nlu/common.pb';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Service client implementation for ondewo.nlu.ServerStatistics
|
|
10
|
+
*/
|
|
11
|
+
export declare class ServerStatisticsClient {
|
|
12
|
+
private handler;
|
|
13
|
+
private client;
|
|
14
|
+
/**
|
|
15
|
+
* Raw RPC implementation for each service client method.
|
|
16
|
+
* The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
|
|
17
|
+
* Attention: these methods do not throw errors when non-zero status codes are received.
|
|
18
|
+
*/
|
|
19
|
+
$raw: {
|
|
20
|
+
/**
|
|
21
|
+
* Unary call: /ondewo.nlu.ServerStatistics/GetProjectCount
|
|
22
|
+
*
|
|
23
|
+
* @param requestMessage Request message
|
|
24
|
+
* @param requestMetadata Request metadata
|
|
25
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
26
|
+
*/
|
|
27
|
+
getProjectCount: (requestData: googleProtobuf003.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
28
|
+
/**
|
|
29
|
+
* Unary call: /ondewo.nlu.ServerStatistics/GetUserProjectCount
|
|
30
|
+
*
|
|
31
|
+
* @param requestMessage Request message
|
|
32
|
+
* @param requestMetadata Request metadata
|
|
33
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
34
|
+
*/
|
|
35
|
+
getUserProjectCount: (requestData: thisProto.GetUserProjectCountRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
36
|
+
/**
|
|
37
|
+
* Unary call: /ondewo.nlu.ServerStatistics/GetUserCount
|
|
38
|
+
*
|
|
39
|
+
* @param requestMessage Request message
|
|
40
|
+
* @param requestMetadata Request metadata
|
|
41
|
+
* @returns Observable<GrpcEvent<ondewoNlu004.StatResponse>>
|
|
42
|
+
*/
|
|
43
|
+
getUserCount: (requestData: googleProtobuf003.Empty, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<ondewoNlu004.StatResponse>>;
|
|
44
|
+
};
|
|
45
|
+
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
46
|
+
/**
|
|
47
|
+
* Unary call @/ondewo.nlu.ServerStatistics/GetProjectCount
|
|
48
|
+
*
|
|
49
|
+
* @param requestMessage Request message
|
|
50
|
+
* @param requestMetadata Request metadata
|
|
51
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
52
|
+
*/
|
|
53
|
+
getProjectCount(requestData: googleProtobuf003.Empty, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Unary call @/ondewo.nlu.ServerStatistics/GetUserProjectCount
|
|
56
|
+
*
|
|
57
|
+
* @param requestMessage Request message
|
|
58
|
+
* @param requestMetadata Request metadata
|
|
59
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
60
|
+
*/
|
|
61
|
+
getUserProjectCount(requestData: thisProto.GetUserProjectCountRequest, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Unary call @/ondewo.nlu.ServerStatistics/GetUserCount
|
|
64
|
+
*
|
|
65
|
+
* @param requestMessage Request message
|
|
66
|
+
* @param requestMetadata Request metadata
|
|
67
|
+
* @returns Observable<ondewoNlu004.StatResponse>
|
|
68
|
+
*/
|
|
69
|
+
getUserCount(requestData: googleProtobuf003.Empty, requestMetadata?: GrpcMetadata): Observable<ondewoNlu004.StatResponse>;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServerStatisticsClient, [{ optional: true; }, null, null]>;
|
|
71
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ServerStatisticsClient>;
|
|
72
|
+
}
|