@kaiko-data/sdk-node 1.37.0 → 1.41.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/package.json +1 -1
- package/sdk/stream/canton_oracle_v2/response_pb.d.ts +16 -34
- package/sdk/stream/canton_oracle_v2/response_pb.js +102 -245
- package/sdk/stream/compute_index_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/compute_index_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/compute_index_v1/request_pb.d.ts +25 -0
- package/sdk/stream/compute_index_v1/request_pb.js +176 -0
- package/sdk/stream/compute_index_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/compute_index_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/compute_index_v1/response_pb.d.ts +221 -0
- package/sdk/stream/compute_index_v1/response_pb.js +1665 -0
- package/sdk/stream/index_multi_assets_v1/response_pb.d.ts +24 -0
- package/sdk/stream/index_multi_assets_v1/response_pb.js +196 -1
package/package.json
CHANGED
|
@@ -91,14 +91,21 @@ export class SignedPayloadV2 extends jspb.Message {
|
|
|
91
91
|
getCost(): CostV2 | undefined;
|
|
92
92
|
setCost(value?: CostV2): void;
|
|
93
93
|
|
|
94
|
-
hasQuote(): boolean;
|
|
95
|
-
clearQuote(): void;
|
|
96
|
-
getQuote(): QuoteV2 | undefined;
|
|
97
|
-
setQuote(value?: QuoteV2): void;
|
|
98
|
-
|
|
99
94
|
getPayee(): string;
|
|
100
95
|
setPayee(value: string): void;
|
|
101
96
|
|
|
97
|
+
getSchemaversion(): string;
|
|
98
|
+
setSchemaversion(value: string): void;
|
|
99
|
+
|
|
100
|
+
getFeedid(): string;
|
|
101
|
+
setFeedid(value: string): void;
|
|
102
|
+
|
|
103
|
+
getPrice(): string;
|
|
104
|
+
setPrice(value: string): void;
|
|
105
|
+
|
|
106
|
+
getPricetime(): string;
|
|
107
|
+
setPricetime(value: string): void;
|
|
108
|
+
|
|
102
109
|
serializeBinary(): Uint8Array;
|
|
103
110
|
toObject(includeInstance?: boolean): SignedPayloadV2.AsObject;
|
|
104
111
|
static toObject(includeInstance: boolean, msg: SignedPayloadV2): SignedPayloadV2.AsObject;
|
|
@@ -114,8 +121,11 @@ export namespace SignedPayloadV2 {
|
|
|
114
121
|
publishedat: string,
|
|
115
122
|
expiresat: string,
|
|
116
123
|
cost?: CostV2.AsObject,
|
|
117
|
-
quote?: QuoteV2.AsObject,
|
|
118
124
|
payee: string,
|
|
125
|
+
schemaversion: string,
|
|
126
|
+
feedid: string,
|
|
127
|
+
price: string,
|
|
128
|
+
pricetime: string,
|
|
119
129
|
}
|
|
120
130
|
}
|
|
121
131
|
|
|
@@ -169,31 +179,3 @@ export namespace InstrumentIdV2 {
|
|
|
169
179
|
}
|
|
170
180
|
}
|
|
171
181
|
|
|
172
|
-
export class QuoteV2 extends jspb.Message {
|
|
173
|
-
getFeedid(): string;
|
|
174
|
-
setFeedid(value: string): void;
|
|
175
|
-
|
|
176
|
-
getPrice(): string;
|
|
177
|
-
setPrice(value: string): void;
|
|
178
|
-
|
|
179
|
-
getPricetime(): string;
|
|
180
|
-
setPricetime(value: string): void;
|
|
181
|
-
|
|
182
|
-
serializeBinary(): Uint8Array;
|
|
183
|
-
toObject(includeInstance?: boolean): QuoteV2.AsObject;
|
|
184
|
-
static toObject(includeInstance: boolean, msg: QuoteV2): QuoteV2.AsObject;
|
|
185
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
186
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
187
|
-
static serializeBinaryToWriter(message: QuoteV2, writer: jspb.BinaryWriter): void;
|
|
188
|
-
static deserializeBinary(bytes: Uint8Array): QuoteV2;
|
|
189
|
-
static deserializeBinaryFromReader(message: QuoteV2, reader: jspb.BinaryReader): QuoteV2;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export namespace QuoteV2 {
|
|
193
|
-
export type AsObject = {
|
|
194
|
-
feedid: string,
|
|
195
|
-
price: string,
|
|
196
|
-
pricetime: string,
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
@@ -23,7 +23,6 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.kaikosdk.CostV2', null, global);
|
|
25
25
|
goog.exportSymbol('proto.kaikosdk.InstrumentIdV2', null, global);
|
|
26
|
-
goog.exportSymbol('proto.kaikosdk.QuoteV2', null, global);
|
|
27
26
|
goog.exportSymbol('proto.kaikosdk.SignedPayloadV2', null, global);
|
|
28
27
|
goog.exportSymbol('proto.kaikosdk.StreamCantonOracleServiceResponseV2', null, global);
|
|
29
28
|
goog.exportSymbol('proto.kaikosdk.VerifierContract', null, global);
|
|
@@ -132,27 +131,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
132
131
|
*/
|
|
133
132
|
proto.kaikosdk.InstrumentIdV2.displayName = 'proto.kaikosdk.InstrumentIdV2';
|
|
134
133
|
}
|
|
135
|
-
/**
|
|
136
|
-
* Generated by JsPbCodeGenerator.
|
|
137
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
138
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
139
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
140
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
141
|
-
* valid.
|
|
142
|
-
* @extends {jspb.Message}
|
|
143
|
-
* @constructor
|
|
144
|
-
*/
|
|
145
|
-
proto.kaikosdk.QuoteV2 = function(opt_data) {
|
|
146
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
147
|
-
};
|
|
148
|
-
goog.inherits(proto.kaikosdk.QuoteV2, jspb.Message);
|
|
149
|
-
if (goog.DEBUG && !COMPILED) {
|
|
150
|
-
/**
|
|
151
|
-
* @public
|
|
152
|
-
* @override
|
|
153
|
-
*/
|
|
154
|
-
proto.kaikosdk.QuoteV2.displayName = 'proto.kaikosdk.QuoteV2';
|
|
155
|
-
}
|
|
156
134
|
|
|
157
135
|
|
|
158
136
|
|
|
@@ -730,8 +708,11 @@ proto.kaikosdk.SignedPayloadV2.toObject = function(includeInstance, msg) {
|
|
|
730
708
|
publishedat: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
731
709
|
expiresat: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
732
710
|
cost: (f = msg.getCost()) && proto.kaikosdk.CostV2.toObject(includeInstance, f),
|
|
733
|
-
|
|
734
|
-
|
|
711
|
+
payee: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
712
|
+
schemaversion: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
713
|
+
feedid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
714
|
+
price: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
715
|
+
pricetime: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
735
716
|
};
|
|
736
717
|
|
|
737
718
|
if (includeInstance) {
|
|
@@ -782,13 +763,24 @@ proto.kaikosdk.SignedPayloadV2.deserializeBinaryFromReader = function(msg, reade
|
|
|
782
763
|
msg.setCost(value);
|
|
783
764
|
break;
|
|
784
765
|
case 4:
|
|
785
|
-
var value =
|
|
786
|
-
|
|
787
|
-
msg.setQuote(value);
|
|
766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
767
|
+
msg.setPayee(value);
|
|
788
768
|
break;
|
|
789
769
|
case 5:
|
|
790
770
|
var value = /** @type {string} */ (reader.readString());
|
|
791
|
-
msg.
|
|
771
|
+
msg.setSchemaversion(value);
|
|
772
|
+
break;
|
|
773
|
+
case 6:
|
|
774
|
+
var value = /** @type {string} */ (reader.readString());
|
|
775
|
+
msg.setFeedid(value);
|
|
776
|
+
break;
|
|
777
|
+
case 7:
|
|
778
|
+
var value = /** @type {string} */ (reader.readString());
|
|
779
|
+
msg.setPrice(value);
|
|
780
|
+
break;
|
|
781
|
+
case 8:
|
|
782
|
+
var value = /** @type {string} */ (reader.readString());
|
|
783
|
+
msg.setPricetime(value);
|
|
792
784
|
break;
|
|
793
785
|
default:
|
|
794
786
|
reader.skipField();
|
|
@@ -841,21 +833,41 @@ proto.kaikosdk.SignedPayloadV2.serializeBinaryToWriter = function(message, write
|
|
|
841
833
|
proto.kaikosdk.CostV2.serializeBinaryToWriter
|
|
842
834
|
);
|
|
843
835
|
}
|
|
844
|
-
f = message.
|
|
845
|
-
if (f
|
|
846
|
-
writer.
|
|
836
|
+
f = message.getPayee();
|
|
837
|
+
if (f.length > 0) {
|
|
838
|
+
writer.writeString(
|
|
847
839
|
4,
|
|
848
|
-
f
|
|
849
|
-
proto.kaikosdk.QuoteV2.serializeBinaryToWriter
|
|
840
|
+
f
|
|
850
841
|
);
|
|
851
842
|
}
|
|
852
|
-
f = message.
|
|
843
|
+
f = message.getSchemaversion();
|
|
853
844
|
if (f.length > 0) {
|
|
854
845
|
writer.writeString(
|
|
855
846
|
5,
|
|
856
847
|
f
|
|
857
848
|
);
|
|
858
849
|
}
|
|
850
|
+
f = message.getFeedid();
|
|
851
|
+
if (f.length > 0) {
|
|
852
|
+
writer.writeString(
|
|
853
|
+
6,
|
|
854
|
+
f
|
|
855
|
+
);
|
|
856
|
+
}
|
|
857
|
+
f = message.getPrice();
|
|
858
|
+
if (f.length > 0) {
|
|
859
|
+
writer.writeString(
|
|
860
|
+
7,
|
|
861
|
+
f
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
f = message.getPricetime();
|
|
865
|
+
if (f.length > 0) {
|
|
866
|
+
writer.writeString(
|
|
867
|
+
8,
|
|
868
|
+
f
|
|
869
|
+
);
|
|
870
|
+
}
|
|
859
871
|
};
|
|
860
872
|
|
|
861
873
|
|
|
@@ -933,48 +945,65 @@ proto.kaikosdk.SignedPayloadV2.prototype.hasCost = function() {
|
|
|
933
945
|
|
|
934
946
|
|
|
935
947
|
/**
|
|
936
|
-
* optional
|
|
937
|
-
* @return {
|
|
948
|
+
* optional string payee = 4;
|
|
949
|
+
* @return {string}
|
|
938
950
|
*/
|
|
939
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
940
|
-
return /** @type{
|
|
941
|
-
jspb.Message.getWrapperField(this, proto.kaikosdk.QuoteV2, 4));
|
|
951
|
+
proto.kaikosdk.SignedPayloadV2.prototype.getPayee = function() {
|
|
952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
942
953
|
};
|
|
943
954
|
|
|
944
955
|
|
|
945
956
|
/**
|
|
946
|
-
* @param {
|
|
957
|
+
* @param {string} value
|
|
947
958
|
* @return {!proto.kaikosdk.SignedPayloadV2} returns this
|
|
948
|
-
*/
|
|
949
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
950
|
-
return jspb.Message.
|
|
959
|
+
*/
|
|
960
|
+
proto.kaikosdk.SignedPayloadV2.prototype.setPayee = function(value) {
|
|
961
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
951
962
|
};
|
|
952
963
|
|
|
953
964
|
|
|
954
965
|
/**
|
|
955
|
-
*
|
|
966
|
+
* optional string schemaVersion = 5;
|
|
967
|
+
* @return {string}
|
|
968
|
+
*/
|
|
969
|
+
proto.kaikosdk.SignedPayloadV2.prototype.getSchemaversion = function() {
|
|
970
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* @param {string} value
|
|
956
976
|
* @return {!proto.kaikosdk.SignedPayloadV2} returns this
|
|
957
977
|
*/
|
|
958
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
959
|
-
return
|
|
978
|
+
proto.kaikosdk.SignedPayloadV2.prototype.setSchemaversion = function(value) {
|
|
979
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
960
980
|
};
|
|
961
981
|
|
|
962
982
|
|
|
963
983
|
/**
|
|
964
|
-
*
|
|
965
|
-
* @return {
|
|
984
|
+
* optional string feedId = 6;
|
|
985
|
+
* @return {string}
|
|
966
986
|
*/
|
|
967
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
968
|
-
return jspb.Message.
|
|
987
|
+
proto.kaikosdk.SignedPayloadV2.prototype.getFeedid = function() {
|
|
988
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* @param {string} value
|
|
994
|
+
* @return {!proto.kaikosdk.SignedPayloadV2} returns this
|
|
995
|
+
*/
|
|
996
|
+
proto.kaikosdk.SignedPayloadV2.prototype.setFeedid = function(value) {
|
|
997
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
969
998
|
};
|
|
970
999
|
|
|
971
1000
|
|
|
972
1001
|
/**
|
|
973
|
-
* optional string
|
|
1002
|
+
* optional string price = 7;
|
|
974
1003
|
* @return {string}
|
|
975
1004
|
*/
|
|
976
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
977
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1005
|
+
proto.kaikosdk.SignedPayloadV2.prototype.getPrice = function() {
|
|
1006
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
978
1007
|
};
|
|
979
1008
|
|
|
980
1009
|
|
|
@@ -982,8 +1011,26 @@ proto.kaikosdk.SignedPayloadV2.prototype.getPayee = function() {
|
|
|
982
1011
|
* @param {string} value
|
|
983
1012
|
* @return {!proto.kaikosdk.SignedPayloadV2} returns this
|
|
984
1013
|
*/
|
|
985
|
-
proto.kaikosdk.SignedPayloadV2.prototype.
|
|
986
|
-
return jspb.Message.setProto3StringField(this,
|
|
1014
|
+
proto.kaikosdk.SignedPayloadV2.prototype.setPrice = function(value) {
|
|
1015
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* optional string priceTime = 8;
|
|
1021
|
+
* @return {string}
|
|
1022
|
+
*/
|
|
1023
|
+
proto.kaikosdk.SignedPayloadV2.prototype.getPricetime = function() {
|
|
1024
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* @param {string} value
|
|
1030
|
+
* @return {!proto.kaikosdk.SignedPayloadV2} returns this
|
|
1031
|
+
*/
|
|
1032
|
+
proto.kaikosdk.SignedPayloadV2.prototype.setPricetime = function(value) {
|
|
1033
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
987
1034
|
};
|
|
988
1035
|
|
|
989
1036
|
|
|
@@ -1328,194 +1375,4 @@ proto.kaikosdk.InstrumentIdV2.prototype.setId = function(value) {
|
|
|
1328
1375
|
};
|
|
1329
1376
|
|
|
1330
1377
|
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1335
|
-
/**
|
|
1336
|
-
* Creates an object representation of this proto.
|
|
1337
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1338
|
-
* Optional fields that are not set will be set to undefined.
|
|
1339
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1340
|
-
* For the list of reserved names please see:
|
|
1341
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1342
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1343
|
-
* JSPB instance for transitional soy proto support:
|
|
1344
|
-
* http://goto/soy-param-migration
|
|
1345
|
-
* @return {!Object}
|
|
1346
|
-
*/
|
|
1347
|
-
proto.kaikosdk.QuoteV2.prototype.toObject = function(opt_includeInstance) {
|
|
1348
|
-
return proto.kaikosdk.QuoteV2.toObject(opt_includeInstance, this);
|
|
1349
|
-
};
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* Static version of the {@see toObject} method.
|
|
1354
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1355
|
-
* the JSPB instance for transitional soy proto support:
|
|
1356
|
-
* http://goto/soy-param-migration
|
|
1357
|
-
* @param {!proto.kaikosdk.QuoteV2} msg The msg instance to transform.
|
|
1358
|
-
* @return {!Object}
|
|
1359
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1360
|
-
*/
|
|
1361
|
-
proto.kaikosdk.QuoteV2.toObject = function(includeInstance, msg) {
|
|
1362
|
-
var f, obj = {
|
|
1363
|
-
feedid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1364
|
-
price: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1365
|
-
pricetime: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1366
|
-
};
|
|
1367
|
-
|
|
1368
|
-
if (includeInstance) {
|
|
1369
|
-
obj.$jspbMessageInstance = msg;
|
|
1370
|
-
}
|
|
1371
|
-
return obj;
|
|
1372
|
-
};
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1378
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1379
|
-
* @return {!proto.kaikosdk.QuoteV2}
|
|
1380
|
-
*/
|
|
1381
|
-
proto.kaikosdk.QuoteV2.deserializeBinary = function(bytes) {
|
|
1382
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1383
|
-
var msg = new proto.kaikosdk.QuoteV2;
|
|
1384
|
-
return proto.kaikosdk.QuoteV2.deserializeBinaryFromReader(msg, reader);
|
|
1385
|
-
};
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1390
|
-
* given reader into the given message object.
|
|
1391
|
-
* @param {!proto.kaikosdk.QuoteV2} msg The message object to deserialize into.
|
|
1392
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1393
|
-
* @return {!proto.kaikosdk.QuoteV2}
|
|
1394
|
-
*/
|
|
1395
|
-
proto.kaikosdk.QuoteV2.deserializeBinaryFromReader = function(msg, reader) {
|
|
1396
|
-
while (reader.nextField()) {
|
|
1397
|
-
if (reader.isEndGroup()) {
|
|
1398
|
-
break;
|
|
1399
|
-
}
|
|
1400
|
-
var field = reader.getFieldNumber();
|
|
1401
|
-
switch (field) {
|
|
1402
|
-
case 1:
|
|
1403
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1404
|
-
msg.setFeedid(value);
|
|
1405
|
-
break;
|
|
1406
|
-
case 2:
|
|
1407
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1408
|
-
msg.setPrice(value);
|
|
1409
|
-
break;
|
|
1410
|
-
case 3:
|
|
1411
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1412
|
-
msg.setPricetime(value);
|
|
1413
|
-
break;
|
|
1414
|
-
default:
|
|
1415
|
-
reader.skipField();
|
|
1416
|
-
break;
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
return msg;
|
|
1420
|
-
};
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1425
|
-
* @return {!Uint8Array}
|
|
1426
|
-
*/
|
|
1427
|
-
proto.kaikosdk.QuoteV2.prototype.serializeBinary = function() {
|
|
1428
|
-
var writer = new jspb.BinaryWriter();
|
|
1429
|
-
proto.kaikosdk.QuoteV2.serializeBinaryToWriter(this, writer);
|
|
1430
|
-
return writer.getResultBuffer();
|
|
1431
|
-
};
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
/**
|
|
1435
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1436
|
-
* format), writing to the given BinaryWriter.
|
|
1437
|
-
* @param {!proto.kaikosdk.QuoteV2} message
|
|
1438
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1439
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1440
|
-
*/
|
|
1441
|
-
proto.kaikosdk.QuoteV2.serializeBinaryToWriter = function(message, writer) {
|
|
1442
|
-
var f = undefined;
|
|
1443
|
-
f = message.getFeedid();
|
|
1444
|
-
if (f.length > 0) {
|
|
1445
|
-
writer.writeString(
|
|
1446
|
-
1,
|
|
1447
|
-
f
|
|
1448
|
-
);
|
|
1449
|
-
}
|
|
1450
|
-
f = message.getPrice();
|
|
1451
|
-
if (f.length > 0) {
|
|
1452
|
-
writer.writeString(
|
|
1453
|
-
2,
|
|
1454
|
-
f
|
|
1455
|
-
);
|
|
1456
|
-
}
|
|
1457
|
-
f = message.getPricetime();
|
|
1458
|
-
if (f.length > 0) {
|
|
1459
|
-
writer.writeString(
|
|
1460
|
-
3,
|
|
1461
|
-
f
|
|
1462
|
-
);
|
|
1463
|
-
}
|
|
1464
|
-
};
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* optional string feedId = 1;
|
|
1469
|
-
* @return {string}
|
|
1470
|
-
*/
|
|
1471
|
-
proto.kaikosdk.QuoteV2.prototype.getFeedid = function() {
|
|
1472
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1473
|
-
};
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* @param {string} value
|
|
1478
|
-
* @return {!proto.kaikosdk.QuoteV2} returns this
|
|
1479
|
-
*/
|
|
1480
|
-
proto.kaikosdk.QuoteV2.prototype.setFeedid = function(value) {
|
|
1481
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1482
|
-
};
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* optional string price = 2;
|
|
1487
|
-
* @return {string}
|
|
1488
|
-
*/
|
|
1489
|
-
proto.kaikosdk.QuoteV2.prototype.getPrice = function() {
|
|
1490
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1491
|
-
};
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
/**
|
|
1495
|
-
* @param {string} value
|
|
1496
|
-
* @return {!proto.kaikosdk.QuoteV2} returns this
|
|
1497
|
-
*/
|
|
1498
|
-
proto.kaikosdk.QuoteV2.prototype.setPrice = function(value) {
|
|
1499
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1500
|
-
};
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* optional string priceTime = 3;
|
|
1505
|
-
* @return {string}
|
|
1506
|
-
*/
|
|
1507
|
-
proto.kaikosdk.QuoteV2.prototype.getPricetime = function() {
|
|
1508
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1509
|
-
};
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* @param {string} value
|
|
1514
|
-
* @return {!proto.kaikosdk.QuoteV2} returns this
|
|
1515
|
-
*/
|
|
1516
|
-
proto.kaikosdk.QuoteV2.prototype.setPricetime = function(value) {
|
|
1517
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1518
|
-
};
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
1378
|
goog.object.extend(exports, proto.kaikosdk);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// package: kaikosdk
|
|
2
|
+
// file: sdk/stream/compute_index_v1/request.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
|
|
6
|
+
export class StreamComputeIndexServiceRequestV1 extends jspb.Message {
|
|
7
|
+
getIndexCode(): string;
|
|
8
|
+
setIndexCode(value: string): void;
|
|
9
|
+
|
|
10
|
+
serializeBinary(): Uint8Array;
|
|
11
|
+
toObject(includeInstance?: boolean): StreamComputeIndexServiceRequestV1.AsObject;
|
|
12
|
+
static toObject(includeInstance: boolean, msg: StreamComputeIndexServiceRequestV1): StreamComputeIndexServiceRequestV1.AsObject;
|
|
13
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
14
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
15
|
+
static serializeBinaryToWriter(message: StreamComputeIndexServiceRequestV1, writer: jspb.BinaryWriter): void;
|
|
16
|
+
static deserializeBinary(bytes: Uint8Array): StreamComputeIndexServiceRequestV1;
|
|
17
|
+
static deserializeBinaryFromReader(message: StreamComputeIndexServiceRequestV1, reader: jspb.BinaryReader): StreamComputeIndexServiceRequestV1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export namespace StreamComputeIndexServiceRequestV1 {
|
|
21
|
+
export type AsObject = {
|
|
22
|
+
indexCode: string,
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|