@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,136 @@
|
|
|
1
|
+
## Overview
|
|
2
|
+
This file describes an API for a Pub/Sub (Publish/Subscribe) system. This system
|
|
3
|
+
provides a reliable many-to-many communication mechanism between independently
|
|
4
|
+
written publishers and subscribers where the publisher publishes messages to
|
|
5
|
+
*topics* and each subscriber creates a *subscription* and consumes *messages*
|
|
6
|
+
from it.
|
|
7
|
+
|
|
8
|
+
1. The Pub/Sub system maintains bindings between topics and subscriptions.
|
|
9
|
+
2. A publisher publishes messages into a topic.
|
|
10
|
+
3. The Pub/Sub system delivers messages from topics into attached
|
|
11
|
+
subscriptions.
|
|
12
|
+
4. A subscriber receives pending messages from its subscription and
|
|
13
|
+
acknowledges each one to the Pub/Sub system.
|
|
14
|
+
5. The Pub/Sub system removes acknowledged messages from that subscription.
|
|
15
|
+
|
|
16
|
+
## Data Model
|
|
17
|
+
The data model consists of the following:
|
|
18
|
+
|
|
19
|
+
* **Topic**: A topic is a resource to which messages are published by
|
|
20
|
+
publishers. Topics are named, and the name of the topic is unique within the
|
|
21
|
+
Pub/Sub system.
|
|
22
|
+
|
|
23
|
+
* **Subscription**: A subscription records the subscriber's interest in a
|
|
24
|
+
topic. The Pub/Sub system maintains those messages which still need
|
|
25
|
+
to be delivered and acknowledged so that they can retried as needed.
|
|
26
|
+
The set of messages that have not been acknowledged is called the
|
|
27
|
+
subscription backlog.
|
|
28
|
+
|
|
29
|
+
* **Message**: A message is a unit of data that flows in the system. It
|
|
30
|
+
contains opaque data from the publisher along with its *attributes*.
|
|
31
|
+
|
|
32
|
+
* **Message Attributes** (optional): A set of opaque key-value pairs assigned
|
|
33
|
+
by the publisher to a message. Attributes are delivered unmodified to
|
|
34
|
+
subscribers together with the message data, if there's any.
|
|
35
|
+
|
|
36
|
+
## Publisher Flow
|
|
37
|
+
A publisher publishes messages to the topic using the `Publish` call:
|
|
38
|
+
|
|
39
|
+
```data
|
|
40
|
+
PubsubMessage message;
|
|
41
|
+
message.set_data("....");
|
|
42
|
+
message.attributes.put("key1", "value1");
|
|
43
|
+
PublishRequest request;
|
|
44
|
+
request.set_topic("topicName");
|
|
45
|
+
request.add_message(message);
|
|
46
|
+
Publisher.Publish(request);
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Subscriber Flow
|
|
50
|
+
The subscriber part of the API is richer than the publisher part and has a
|
|
51
|
+
number of concepts for subscription creation and use:
|
|
52
|
+
|
|
53
|
+
1. A subscriber (user or process) creates a subscription using the
|
|
54
|
+
`CreateSubscription` call.
|
|
55
|
+
|
|
56
|
+
2. A subscriber receives messages in one of two ways: via pull or push.
|
|
57
|
+
|
|
58
|
+
* To receive messages via pull, a subscriber calls the `Pull` method on the
|
|
59
|
+
`Subscriber` to get messages from the subscription. For each individual
|
|
60
|
+
message, the subscriber may use the `ack_id` received in the
|
|
61
|
+
`PullResponse` to `Acknowledge` the message, or modify the *ack deadline*
|
|
62
|
+
with `ModifyAckDeadline`. See the `Subscription.ack_deadline_seconds`
|
|
63
|
+
field documentation for details on the ack deadline behavior. Messages
|
|
64
|
+
must be acknowledged or they will be redelivered in a future `Pull` call.
|
|
65
|
+
|
|
66
|
+
**Note:** Messages may be consumed in parallel by multiple processes
|
|
67
|
+
making `Pull` calls to the same subscription; this will result in the set
|
|
68
|
+
of messages from the subscription being split among the processes, each
|
|
69
|
+
process receiving a subset of the messages.
|
|
70
|
+
|
|
71
|
+
* To receive messages via push, the `PushConfig` field must be specified in
|
|
72
|
+
the `Subscription` parameter when creating a subscription, or set with
|
|
73
|
+
`ModifyPushConfig`. The PushConfig specifies an endpoint at which the
|
|
74
|
+
subscriber exposes the `PushEndpointService` or some other handler,
|
|
75
|
+
depending on the endpoint. Messages are received via the
|
|
76
|
+
`ProcessPushMessage` method. The push subscriber responds to the method
|
|
77
|
+
with a result code that indicates one of three things: `Acknowledge` (the
|
|
78
|
+
message has been successfully processed and the Pub/Sub system may delete
|
|
79
|
+
it), `Nack` (the message has been rejected and the Pub/Sub system should
|
|
80
|
+
resend it at a later time).
|
|
81
|
+
|
|
82
|
+
**Note:** The endpoint may be a load balancer for better scalability, so
|
|
83
|
+
that multiple processes may handle the message processing load.
|
|
84
|
+
|
|
85
|
+
Subscription creation:
|
|
86
|
+
|
|
87
|
+
```data
|
|
88
|
+
Subscription subscription;
|
|
89
|
+
subscription.set_topic("topicName");
|
|
90
|
+
subscription.set_name("subscriptionName");
|
|
91
|
+
subscription.push_config().set_push_endpoint("machinename:8888");
|
|
92
|
+
Subscriber.CreateSubscription(subscription);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Consuming messages via pull:
|
|
96
|
+
|
|
97
|
+
```data
|
|
98
|
+
// The subscription must be created without setting the push_config field.
|
|
99
|
+
|
|
100
|
+
PullRequest pull_request;
|
|
101
|
+
pull_request.set_subscription("subscriptionName");
|
|
102
|
+
pull_request.set_return_immediately(false);
|
|
103
|
+
pull_request.set_max_messages(10);
|
|
104
|
+
while (true) {
|
|
105
|
+
PullResponse pull_response;
|
|
106
|
+
AcknowledgeRequest ack_request;
|
|
107
|
+
ackRequest.set_subscription("subscriptionName");
|
|
108
|
+
if (Subscriber.Pull(pull_request, pull_response) == OK) {
|
|
109
|
+
for (ReceivedMessage received in pull_response.received_messages()) {
|
|
110
|
+
Process(received.message().data());
|
|
111
|
+
ackRequest.add_ack_id(received.ack_id());
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
if (ackRequest.ack_ids().size() > 0) {
|
|
115
|
+
Subscriber.Acknowledge(ack_request);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Reliability Semantics
|
|
121
|
+
When a subscriber successfully creates a subscription using
|
|
122
|
+
`Subscriber.CreateSubscription`, it establishes a "subscription point" for
|
|
123
|
+
that subscription, no later than the time that `Subscriber.CreateSubscription`
|
|
124
|
+
returns. The subscriber is guaranteed to receive any message published after
|
|
125
|
+
this subscription point. Note that messages published before the subscription
|
|
126
|
+
point may or may not be delivered.
|
|
127
|
+
|
|
128
|
+
Messages are not delivered in any particular order by the Pub/Sub system.
|
|
129
|
+
Furthermore, the system guarantees *at-least-once* delivery of each message
|
|
130
|
+
until acknowledged.
|
|
131
|
+
|
|
132
|
+
## Deletion
|
|
133
|
+
Both topics and subscriptions may be deleted.
|
|
134
|
+
|
|
135
|
+
When a subscription is deleted, all messages are immediately dropped. If it
|
|
136
|
+
is a pull subscriber, future pull requests will return NOT_FOUND.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
An API to contribute 360 photos to Google Street View. The API also allows the users to connect photos, update metadata of the photos, generate photo collections, and delete photos.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Google Common Types
|
|
2
|
+
|
|
3
|
+
This package contains definitions of common types for Google APIs.
|
|
4
|
+
All types defined in this package are suitable for different APIs to
|
|
5
|
+
exchange data, and will never break binary compatibility. They should
|
|
6
|
+
have design quality comparable to major programming languages like
|
|
7
|
+
Java and C#.
|
|
8
|
+
|
|
9
|
+
NOTE: Some common types are defined in the package `google.protobuf`
|
|
10
|
+
as they are directly supported by Protocol Buffers compiler and
|
|
11
|
+
runtime. Those types are called Well-Known Types.
|
|
12
|
+
|
|
13
|
+
## Java Utilities
|
|
14
|
+
|
|
15
|
+
A set of Java utilities for the Common Types are provided in the
|
|
16
|
+
`//java/com/google/type/util/` package.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# ONDEWO S2T APIs
|
|
4
|
+
|
|
5
|
+
This repository contains the original interface definitions of public ONDEWO APIs that support gRPC protocols. Reading the original interface definitions can provide a better understanding of ONDEWO APIs and help you to utilize them more efficiently. You can also use these definitions with open source tools to generate client libraries, documentation, and other artifacts.
|
|
6
|
+
|
|
7
|
+
The core componenets of all the client libraries are built directly from files in this repo using [the proto compiler.](https://github.com/ondewo/ondewo-proto-compiler)
|
|
8
|
+
|
|
9
|
+
For an end-user, the APIS in this repo function mostly as documentation for the endpoints. For specific implementations, look in the following repos for working implementations:
|
|
10
|
+
* [Python](https://github.com/ondewo/ondewo-s2t-client-python)
|
|
11
|
+
* [Angular](https://github.com/ondewo/ondewo-survey-client-angular)
|
|
12
|
+
* [JavaScript](https://github.com/ondewo/ondewo-survey-client-javascript)
|
|
13
|
+
* [TypeScript](https://github.com/ondewo/ondewo-survey-client-typescript)
|
|
14
|
+
|
|
15
|
+
Please note that some of these implementations are works-in-progress. The repo will make clear the status of the implementation.
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
ONDEWO APIs use [Protocol Buffers](https://github.com/google/protobuf) version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for gRPC versions of the API in all languages.
|
|
20
|
+
|
|
21
|
+
There are several ways of accessing APIs:
|
|
22
|
+
|
|
23
|
+
1. Protocol Buffers over gRPC: You can access APIs published in this repository through [GRPC](https://github.com/grpc), which is a high-performance binary RPC protocol over HTTP/2. It offers many useful features, including request/response multiplex and full-duplex streaming.
|
|
24
|
+
|
|
25
|
+
2. ONDEWO Client Libraries:
|
|
26
|
+
You can use these libraries to access ONDEWO Cloud APIs. They are based on gRPC for better performance and provide idiomatic client surface for better developer experience.
|
|
27
|
+
|
|
28
|
+
## Discussions
|
|
29
|
+
|
|
30
|
+
Please use the issue tracker in this repo for discussions about this API, or the issue tracker in the relevant client if it is language-specific.
|
|
31
|
+
|
|
32
|
+
## Repository Structure
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
.
|
|
36
|
+
├── CONTRIBUTING.md
|
|
37
|
+
├── LICENSE
|
|
38
|
+
├── ondewo
|
|
39
|
+
│ └── s2t
|
|
40
|
+
│ └── speech-to-text.proto
|
|
41
|
+
├── README.md
|
|
42
|
+
└── RELEASE.md
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Generate gRPC Source Code
|
|
46
|
+
|
|
47
|
+
API client libraries can be built directly from files in this repo using [the proto compiler.](https://github.com/ondewo/ondewo-proto-compiler)
|
|
48
|
+
|
|
49
|
+
Automatic Release Process
|
|
50
|
+
------------------
|
|
51
|
+
The entire process is automated to make development easier. The actual steps are simple:
|
|
52
|
+
|
|
53
|
+
TODOs in Pull Request before the release:
|
|
54
|
+
|
|
55
|
+
- Update the Version number inside the Makefile
|
|
56
|
+
|
|
57
|
+
- Check if RELEASE.md is up-to-date
|
|
58
|
+
|
|
59
|
+
TODOs after Pull Request was merged in:
|
|
60
|
+
|
|
61
|
+
- Checkout master:
|
|
62
|
+
```bash
|
|
63
|
+
git checkout master
|
|
64
|
+
```
|
|
65
|
+
- Pull the new stuff:
|
|
66
|
+
```bash
|
|
67
|
+
git pull
|
|
68
|
+
```
|
|
69
|
+
- Release:
|
|
70
|
+
```bash
|
|
71
|
+
make ondewo_release
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The ``` make ondewo_release``` command can be divided into 5 steps:
|
|
75
|
+
|
|
76
|
+
- cloning the devops-accounts repository and extracting the credentials
|
|
77
|
+
- creating and pushing the release branch
|
|
78
|
+
- creating and pushing the release tag
|
|
79
|
+
- creating the GitHub release
|
|
80
|
+
|
|
81
|
+
The variable for the GitHub Access Token is inside the Makefile,
|
|
82
|
+
but the value is overwritten during ``` make ondewo_release```, because
|
|
83
|
+
it is passed from the devops-accounts repo as an argument to the actual ```release``` command.
|
|
84
|
+
|
|
85
|
+
Proto Documentation
|
|
86
|
+
-------------------
|
|
87
|
+
|
|
88
|
+
Documentation for the .proto files is generated automatically when there is a pullrequest or push
|
|
89
|
+
to master. It is located in the branch [gh-pages]("https://github.com/ondewo/ondewo-s2t-api/tree/gh-pages").
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# ONDEWO T2S APIs
|
|
4
|
+
|
|
5
|
+
This repository contains the original interface definitions of public ONDEWO APIs that support gRPC protocols. Reading the original interface definitions can provide a better understanding of ONDEWO APIs and help you to utilize them more efficiently. You can also use these definitions with open source tools to generate client libraries, documentation, and other artifacts.
|
|
6
|
+
|
|
7
|
+
The core componenets of all the client libraries are built directly from files in this repo using [the proto compiler.](https://github.com/ondewo/ondewo-proto-compiler)
|
|
8
|
+
|
|
9
|
+
For an end-user, the APIS in this repo function mostly as documentation for the endpoints. For specific implementations, look in the following repos for working implementations:
|
|
10
|
+
* [Python](https://github.com/ondewo/ondewo-t2s-client-python)
|
|
11
|
+
* [Angular](https://github.com/ondewo/ondewo-survey-client-angular)
|
|
12
|
+
* [JavaScript](https://github.com/ondewo/ondewo-survey-client-javascript)
|
|
13
|
+
* [TypeScript](https://github.com/ondewo/ondewo-survey-client-typescript)
|
|
14
|
+
|
|
15
|
+
Please note that some of these implementations are works-in-progress. The repo will make clear the status of the implementation.
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
ONDEWO APIs use [Protocol Buffers](https://github.com/google/protobuf) version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for gRPC versions of the API in all languages.
|
|
20
|
+
|
|
21
|
+
There are several ways of accessing APIs:
|
|
22
|
+
|
|
23
|
+
1. Protocol Buffers over gRPC: You can access APIs published in this repository through [GRPC](https://github.com/grpc), which is a high-performance binary RPC protocol over HTTP/2. It offers many useful features, including request/response multiplex and full-duplex streaming.
|
|
24
|
+
|
|
25
|
+
2. ONDEWO Client Libraries:
|
|
26
|
+
You can use these libraries to access ONDEWO Cloud APIs. They are based on gRPC for better performance and provide idiomatic client surface for better developer experience.
|
|
27
|
+
|
|
28
|
+
## Discussions
|
|
29
|
+
|
|
30
|
+
Please use the issue tracker in this repo for discussions about this API, or the issue tracker in the relevant client if it is language-specific.
|
|
31
|
+
|
|
32
|
+
## Repository Structure
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
.
|
|
36
|
+
├── CONTRIBUTING.md
|
|
37
|
+
├── LICENSE
|
|
38
|
+
├── ondewo
|
|
39
|
+
│ └── t2s
|
|
40
|
+
│ └── text-to-speech.proto
|
|
41
|
+
├── README.md
|
|
42
|
+
└── RELEASE.md
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Generate gRPC Source Code
|
|
46
|
+
|
|
47
|
+
API client libraries can be built directly from files in this repo using [the proto compiler.](https://github.com/ondewo/ondewo-proto-compiler)
|
|
48
|
+
|
|
49
|
+
Automatic Release Process
|
|
50
|
+
------------------
|
|
51
|
+
The entire process is automated to make development easier. The actual steps are simple:
|
|
52
|
+
|
|
53
|
+
TODOs in Pull Request before the release:
|
|
54
|
+
|
|
55
|
+
- Update the Version number inside the Makefile
|
|
56
|
+
|
|
57
|
+
- Check if RELEASE.md is up-to-date
|
|
58
|
+
|
|
59
|
+
TODOs after Pull Request was merged in:
|
|
60
|
+
|
|
61
|
+
- Checkout master:
|
|
62
|
+
```bash
|
|
63
|
+
git checkout master
|
|
64
|
+
```
|
|
65
|
+
- Pull the new stuff:
|
|
66
|
+
```bash
|
|
67
|
+
git pull
|
|
68
|
+
```
|
|
69
|
+
- Release:
|
|
70
|
+
```bash
|
|
71
|
+
make ondewo_release
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The ``` make ondewo_release``` command can be divided into 5 steps:
|
|
75
|
+
|
|
76
|
+
- cloning the devops-accounts repository and extracting the credentials
|
|
77
|
+
- creating and pushing the release branch
|
|
78
|
+
- creating and pushing the release tag
|
|
79
|
+
- creating the GitHub release
|
|
80
|
+
|
|
81
|
+
The variable for the GitHub Access Token is inside the Makefile,
|
|
82
|
+
but the value is overwritten during ``` make ondewo_release```, because
|
|
83
|
+
it is passed from the devops-accounts repo as an argument to the actual ```release``` command.
|
|
84
|
+
|
|
85
|
+
Proto Documentation
|
|
86
|
+
-------------------
|
|
87
|
+
|
|
88
|
+
Documentation for the .proto files is generated automatically when there is a pullrequest or push
|
|
89
|
+
to master. It is located in the branch [gh-pages](https://github.com/ondewo/ondewo-t2s-api/tree/gh-pages).
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ondewo/csi-client-angular",
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "ONDEWO Natural Language Understanding (CSI) Platfrom client library for Angular",
|
|
5
|
+
"author": "ONDEWO GmbH <office@ondewo.com>",
|
|
6
|
+
"homepage": "https://ondewo.com/",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"ondewo",
|
|
10
|
+
"csi",
|
|
11
|
+
"api",
|
|
12
|
+
"client",
|
|
13
|
+
"ngx-grpc",
|
|
14
|
+
"grpc"
|
|
15
|
+
],
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@angular/common": ">=14.1.3",
|
|
18
|
+
"@angular/core": ">=14.1.3",
|
|
19
|
+
"@ngx-grpc/common": ">=3.0.2",
|
|
20
|
+
"@ngx-grpc/core": ">=3.0.2"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"directory": "https://github.com/ondewo/ondewo-csi-client-angular"
|
|
25
|
+
},
|
|
26
|
+
"module": "fesm2015/ondewo-csi-client-angular.mjs",
|
|
27
|
+
"es2020": "fesm2020/ondewo-csi-client-angular.mjs",
|
|
28
|
+
"esm2020": "esm2020/ondewo-csi-client-angular.mjs",
|
|
29
|
+
"fesm2020": "fesm2020/ondewo-csi-client-angular.mjs",
|
|
30
|
+
"fesm2015": "fesm2015/ondewo-csi-client-angular.mjs",
|
|
31
|
+
"typings": "index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
"./package.json": {
|
|
34
|
+
"default": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./index.d.ts",
|
|
38
|
+
"esm2020": "./esm2020/ondewo-csi-client-angular.mjs",
|
|
39
|
+
"es2020": "./fesm2020/ondewo-csi-client-angular.mjs",
|
|
40
|
+
"es2015": "./fesm2015/ondewo-csi-client-angular.mjs",
|
|
41
|
+
"node": "./fesm2015/ondewo-csi-client-angular.mjs",
|
|
42
|
+
"default": "./fesm2020/ondewo-csi-client-angular.mjs"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"sideEffects": false,
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"tslib": "^2.3.0"
|
|
48
|
+
}
|
|
49
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export * from './api/google/rpc/status.pb';
|
|
2
|
+
export * from './api/google/api/annotations.pb';
|
|
3
|
+
export * from './api/google/api/http.pb';
|
|
4
|
+
export * from './api/google/type/latlng.pb';
|
|
5
|
+
export * from './api/ondewo/s2t/speech-to-text.pb';
|
|
6
|
+
export * from './api/ondewo/s2t/speech-to-text.pbconf';
|
|
7
|
+
export * from './api/ondewo/s2t/speech-to-text.pbsc';
|
|
8
|
+
export * from './api/ondewo/t2s/text-to-speech.pbconf';
|
|
9
|
+
export * from './api/ondewo/t2s/text-to-speech.pbsc';
|
|
10
|
+
export * from './api/ondewo/t2s/text-to-speech.pb';
|
|
11
|
+
export * from './api/ondewo/csi/conversation.pbsc';
|
|
12
|
+
export * from './api/ondewo/csi/conversation.pb';
|
|
13
|
+
export * from './api/ondewo/csi/conversation.pbconf';
|
|
14
|
+
export * from './api/ondewo/nlu/intent.pb';
|
|
15
|
+
export * from './api/ondewo/nlu/session.pbconf';
|
|
16
|
+
export * from './api/ondewo/nlu/webhook.pbconf';
|
|
17
|
+
export * from './api/ondewo/nlu/utility.pbsc';
|
|
18
|
+
export * from './api/ondewo/nlu/project-role.pb';
|
|
19
|
+
export * from './api/ondewo/nlu/session.pb';
|
|
20
|
+
export * from './api/ondewo/nlu/common.pb';
|
|
21
|
+
export * from './api/ondewo/nlu/user.pb';
|
|
22
|
+
export * from './api/ondewo/nlu/operations.pb';
|
|
23
|
+
export * from './api/ondewo/nlu/server-statistics.pb';
|
|
24
|
+
export * from './api/ondewo/nlu/session.pbsc';
|
|
25
|
+
export * from './api/ondewo/nlu/user.pbconf';
|
|
26
|
+
export * from './api/ondewo/nlu/aiservices.pbconf';
|
|
27
|
+
export * from './api/ondewo/nlu/aiservices.pbsc';
|
|
28
|
+
export * from './api/ondewo/nlu/user.pbsc';
|
|
29
|
+
export * from './api/ondewo/nlu/entity-type.pbconf';
|
|
30
|
+
export * from './api/ondewo/nlu/project-role.pbsc';
|
|
31
|
+
export * from './api/ondewo/nlu/project-statistics.pbsc';
|
|
32
|
+
export * from './api/ondewo/nlu/agent.pbconf';
|
|
33
|
+
export * from './api/ondewo/nlu/project-role.pbconf';
|
|
34
|
+
export * from './api/ondewo/nlu/agent.pbsc';
|
|
35
|
+
export * from './api/ondewo/nlu/operations.pbconf';
|
|
36
|
+
export * from './api/ondewo/nlu/intent.pbsc';
|
|
37
|
+
export * from './api/ondewo/nlu/webhook.pbsc';
|
|
38
|
+
export * from './api/ondewo/nlu/server-statistics.pbconf';
|
|
39
|
+
export * from './api/ondewo/nlu/agent.pb';
|
|
40
|
+
export * from './api/ondewo/nlu/intent.pbconf';
|
|
41
|
+
export * from './api/ondewo/nlu/operation-metadata.pb';
|
|
42
|
+
export * from './api/ondewo/nlu/utility.pb';
|
|
43
|
+
export * from './api/ondewo/nlu/operations.pbsc';
|
|
44
|
+
export * from './api/ondewo/nlu/context.pbsc';
|
|
45
|
+
export * from './api/ondewo/nlu/utility.pbconf';
|
|
46
|
+
export * from './api/ondewo/nlu/project-statistics.pb';
|
|
47
|
+
export * from './api/ondewo/nlu/server-statistics.pbsc';
|
|
48
|
+
export * from './api/ondewo/nlu/webhook.pb';
|
|
49
|
+
export * from './api/ondewo/nlu/project-statistics.pbconf';
|
|
50
|
+
export * from './api/ondewo/nlu/entity-type.pb';
|
|
51
|
+
export * from './api/ondewo/nlu/context.pb';
|
|
52
|
+
export * from './api/ondewo/nlu/entity-type.pbsc';
|
|
53
|
+
export * from './api/ondewo/nlu/context.pbconf';
|
|
54
|
+
export * from './api/ondewo/nlu/aiservices.pb';
|