@ondewo/s2t-client-typescript 5.7.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/google/protobuf/empty_pb.d.ts +12 -8
- package/api/google/protobuf/empty_pb.js +80 -67
- package/api/google/protobuf/struct_pb.d.ts +99 -0
- package/api/google/protobuf/struct_pb.js +955 -0
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.d.ts +180 -166
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.js +461 -402
- package/api/ondewo/s2t/speech-to-text_pb.d.ts +1519 -1098
- package/api/ondewo/s2t/speech-to-text_pb.js +10669 -6332
- package/package.json +27 -11
- package/public-api.d.ts +4 -0
- package/public-api.js +4 -0
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import * as jspb from 'google-protobuf'
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
export class Empty extends jspb.Message {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
serializeBinary(): Uint8Array;
|
|
7
|
+
toObject(includeInstance?: boolean): Empty.AsObject;
|
|
8
|
+
static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject;
|
|
9
|
+
static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void;
|
|
10
|
+
static deserializeBinary(bytes: Uint8Array): Empty;
|
|
11
|
+
static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
export namespace Empty {
|
|
13
|
-
|
|
15
|
+
export type AsObject = {
|
|
16
|
+
}
|
|
14
17
|
}
|
|
18
|
+
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
19
23
|
|
|
20
24
|
goog.exportSymbol('proto.google.protobuf.Empty', null, global);
|
|
21
25
|
/**
|
|
@@ -28,66 +32,72 @@ goog.exportSymbol('proto.google.protobuf.Empty', null, global);
|
|
|
28
32
|
* @extends {jspb.Message}
|
|
29
33
|
* @constructor
|
|
30
34
|
*/
|
|
31
|
-
proto.google.protobuf.Empty = function
|
|
32
|
-
|
|
35
|
+
proto.google.protobuf.Empty = function(opt_data) {
|
|
36
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
33
37
|
};
|
|
34
38
|
goog.inherits(proto.google.protobuf.Empty, jspb.Message);
|
|
35
39
|
if (goog.DEBUG && !COMPILED) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @override
|
|
43
|
+
*/
|
|
44
|
+
proto.google.protobuf.Empty.displayName = 'proto.google.protobuf.Empty';
|
|
41
45
|
}
|
|
42
46
|
|
|
47
|
+
|
|
48
|
+
|
|
43
49
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Creates an object representation of this proto.
|
|
52
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
53
|
+
* Optional fields that are not set will be set to undefined.
|
|
54
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55
|
+
* For the list of reserved names please see:
|
|
56
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58
|
+
* JSPB instance for transitional soy proto support:
|
|
59
|
+
* http://goto/soy-param-migration
|
|
60
|
+
* @return {!Object}
|
|
61
|
+
*/
|
|
62
|
+
proto.google.protobuf.Empty.prototype.toObject = function(opt_includeInstance) {
|
|
63
|
+
return proto.google.protobuf.Empty.toObject(opt_includeInstance, this);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Static version of the {@see toObject} method.
|
|
69
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70
|
+
* the JSPB instance for transitional soy proto support:
|
|
71
|
+
* http://goto/soy-param-migration
|
|
72
|
+
* @param {!proto.google.protobuf.Empty} msg The msg instance to transform.
|
|
73
|
+
* @return {!Object}
|
|
74
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75
|
+
*/
|
|
76
|
+
proto.google.protobuf.Empty.toObject = function(includeInstance, msg) {
|
|
77
|
+
var f, obj = {
|
|
78
|
+
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
if (includeInstance) {
|
|
82
|
+
obj.$jspbMessageInstance = msg;
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
};
|
|
78
86
|
}
|
|
79
87
|
|
|
88
|
+
|
|
80
89
|
/**
|
|
81
90
|
* Deserializes binary data (in protobuf wire format).
|
|
82
91
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
83
92
|
* @return {!proto.google.protobuf.Empty}
|
|
84
93
|
*/
|
|
85
|
-
proto.google.protobuf.Empty.deserializeBinary = function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
94
|
+
proto.google.protobuf.Empty.deserializeBinary = function(bytes) {
|
|
95
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96
|
+
var msg = new proto.google.protobuf.Empty;
|
|
97
|
+
return proto.google.protobuf.Empty.deserializeBinaryFromReader(msg, reader);
|
|
89
98
|
};
|
|
90
99
|
|
|
100
|
+
|
|
91
101
|
/**
|
|
92
102
|
* Deserializes binary data (in protobuf wire format) from the
|
|
93
103
|
* given reader into the given message object.
|
|
@@ -95,31 +105,33 @@ proto.google.protobuf.Empty.deserializeBinary = function (bytes) {
|
|
|
95
105
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96
106
|
* @return {!proto.google.protobuf.Empty}
|
|
97
107
|
*/
|
|
98
|
-
proto.google.protobuf.Empty.deserializeBinaryFromReader = function
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
proto.google.protobuf.Empty.deserializeBinaryFromReader = function(msg, reader) {
|
|
109
|
+
while (reader.nextField()) {
|
|
110
|
+
if (reader.isEndGroup()) {
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
var field = reader.getFieldNumber();
|
|
114
|
+
switch (field) {
|
|
115
|
+
default:
|
|
116
|
+
reader.skipField();
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return msg;
|
|
111
121
|
};
|
|
112
122
|
|
|
123
|
+
|
|
113
124
|
/**
|
|
114
125
|
* Serializes the message to binary data (in protobuf wire format).
|
|
115
126
|
* @return {!Uint8Array}
|
|
116
127
|
*/
|
|
117
|
-
proto.google.protobuf.Empty.prototype.serializeBinary = function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
128
|
+
proto.google.protobuf.Empty.prototype.serializeBinary = function() {
|
|
129
|
+
var writer = new jspb.BinaryWriter();
|
|
130
|
+
proto.google.protobuf.Empty.serializeBinaryToWriter(this, writer);
|
|
131
|
+
return writer.getResultBuffer();
|
|
121
132
|
};
|
|
122
133
|
|
|
134
|
+
|
|
123
135
|
/**
|
|
124
136
|
* Serializes the given message to binary data (in protobuf wire
|
|
125
137
|
* format), writing to the given BinaryWriter.
|
|
@@ -127,8 +139,9 @@ proto.google.protobuf.Empty.prototype.serializeBinary = function () {
|
|
|
127
139
|
* @param {!jspb.BinaryWriter} writer
|
|
128
140
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
129
141
|
*/
|
|
130
|
-
proto.google.protobuf.Empty.serializeBinaryToWriter = function
|
|
131
|
-
|
|
142
|
+
proto.google.protobuf.Empty.serializeBinaryToWriter = function(message, writer) {
|
|
143
|
+
var f = undefined;
|
|
132
144
|
};
|
|
133
145
|
|
|
146
|
+
|
|
134
147
|
goog.object.extend(exports, proto.google.protobuf);
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class Struct extends jspb.Message {
|
|
6
|
+
getFieldsMap(): jspb.Map<string, Value>;
|
|
7
|
+
clearFieldsMap(): Struct;
|
|
8
|
+
|
|
9
|
+
serializeBinary(): Uint8Array;
|
|
10
|
+
toObject(includeInstance?: boolean): Struct.AsObject;
|
|
11
|
+
static toObject(includeInstance: boolean, msg: Struct): Struct.AsObject;
|
|
12
|
+
static serializeBinaryToWriter(message: Struct, writer: jspb.BinaryWriter): void;
|
|
13
|
+
static deserializeBinary(bytes: Uint8Array): Struct;
|
|
14
|
+
static deserializeBinaryFromReader(message: Struct, reader: jspb.BinaryReader): Struct;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export namespace Struct {
|
|
18
|
+
export type AsObject = {
|
|
19
|
+
fieldsMap: Array<[string, Value.AsObject]>,
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class Value extends jspb.Message {
|
|
24
|
+
getNullValue(): NullValue;
|
|
25
|
+
setNullValue(value: NullValue): Value;
|
|
26
|
+
|
|
27
|
+
getNumberValue(): number;
|
|
28
|
+
setNumberValue(value: number): Value;
|
|
29
|
+
|
|
30
|
+
getStringValue(): string;
|
|
31
|
+
setStringValue(value: string): Value;
|
|
32
|
+
|
|
33
|
+
getBoolValue(): boolean;
|
|
34
|
+
setBoolValue(value: boolean): Value;
|
|
35
|
+
|
|
36
|
+
getStructValue(): Struct | undefined;
|
|
37
|
+
setStructValue(value?: Struct): Value;
|
|
38
|
+
hasStructValue(): boolean;
|
|
39
|
+
clearStructValue(): Value;
|
|
40
|
+
|
|
41
|
+
getListValue(): ListValue | undefined;
|
|
42
|
+
setListValue(value?: ListValue): Value;
|
|
43
|
+
hasListValue(): boolean;
|
|
44
|
+
clearListValue(): Value;
|
|
45
|
+
|
|
46
|
+
getKindCase(): Value.KindCase;
|
|
47
|
+
|
|
48
|
+
serializeBinary(): Uint8Array;
|
|
49
|
+
toObject(includeInstance?: boolean): Value.AsObject;
|
|
50
|
+
static toObject(includeInstance: boolean, msg: Value): Value.AsObject;
|
|
51
|
+
static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void;
|
|
52
|
+
static deserializeBinary(bytes: Uint8Array): Value;
|
|
53
|
+
static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export namespace Value {
|
|
57
|
+
export type AsObject = {
|
|
58
|
+
nullValue: NullValue,
|
|
59
|
+
numberValue: number,
|
|
60
|
+
stringValue: string,
|
|
61
|
+
boolValue: boolean,
|
|
62
|
+
structValue?: Struct.AsObject,
|
|
63
|
+
listValue?: ListValue.AsObject,
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export enum KindCase {
|
|
67
|
+
KIND_NOT_SET = 0,
|
|
68
|
+
NULL_VALUE = 1,
|
|
69
|
+
NUMBER_VALUE = 2,
|
|
70
|
+
STRING_VALUE = 3,
|
|
71
|
+
BOOL_VALUE = 4,
|
|
72
|
+
STRUCT_VALUE = 5,
|
|
73
|
+
LIST_VALUE = 6,
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class ListValue extends jspb.Message {
|
|
78
|
+
getValuesList(): Array<Value>;
|
|
79
|
+
setValuesList(value: Array<Value>): ListValue;
|
|
80
|
+
clearValuesList(): ListValue;
|
|
81
|
+
addValues(value?: Value, index?: number): Value;
|
|
82
|
+
|
|
83
|
+
serializeBinary(): Uint8Array;
|
|
84
|
+
toObject(includeInstance?: boolean): ListValue.AsObject;
|
|
85
|
+
static toObject(includeInstance: boolean, msg: ListValue): ListValue.AsObject;
|
|
86
|
+
static serializeBinaryToWriter(message: ListValue, writer: jspb.BinaryWriter): void;
|
|
87
|
+
static deserializeBinary(bytes: Uint8Array): ListValue;
|
|
88
|
+
static deserializeBinaryFromReader(message: ListValue, reader: jspb.BinaryReader): ListValue;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export namespace ListValue {
|
|
92
|
+
export type AsObject = {
|
|
93
|
+
valuesList: Array<Value.AsObject>,
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export enum NullValue {
|
|
98
|
+
NULL_VALUE = 0,
|
|
99
|
+
}
|