@sentio/protos 2.6.2-rc.2 → 2.6.2

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.
@@ -16,6 +16,21 @@ export interface GetPriceResponse {
16
16
  price: number;
17
17
  timestamp: Date | undefined;
18
18
  }
19
+ export interface BatchGetPricesRequest {
20
+ timestamps: Date[];
21
+ coinIds: CoinID[];
22
+ }
23
+ export interface BatchGetPricesResponse {
24
+ prices: BatchGetPricesResponse_CoinPrice[];
25
+ }
26
+ export interface BatchGetPricesResponse_CoinPrice {
27
+ coinId: CoinID | undefined;
28
+ price?: BatchGetPricesResponse_CoinPrice_Price | undefined;
29
+ error?: string | undefined;
30
+ }
31
+ export interface BatchGetPricesResponse_CoinPrice_Price {
32
+ results: GetPriceResponse[];
33
+ }
19
34
  export declare const CoinID: {
20
35
  encode(message: CoinID, writer?: _m0.Writer): _m0.Writer;
21
36
  decode(input: _m0.Reader | Uint8Array, length?: number): CoinID;
@@ -48,6 +63,38 @@ export declare const GetPriceResponse: {
48
63
  create(base?: DeepPartial<GetPriceResponse>): GetPriceResponse;
49
64
  fromPartial(object: DeepPartial<GetPriceResponse>): GetPriceResponse;
50
65
  };
66
+ export declare const BatchGetPricesRequest: {
67
+ encode(message: BatchGetPricesRequest, writer?: _m0.Writer): _m0.Writer;
68
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesRequest;
69
+ fromJSON(object: any): BatchGetPricesRequest;
70
+ toJSON(message: BatchGetPricesRequest): unknown;
71
+ create(base?: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest;
72
+ fromPartial(object: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest;
73
+ };
74
+ export declare const BatchGetPricesResponse: {
75
+ encode(message: BatchGetPricesResponse, writer?: _m0.Writer): _m0.Writer;
76
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse;
77
+ fromJSON(object: any): BatchGetPricesResponse;
78
+ toJSON(message: BatchGetPricesResponse): unknown;
79
+ create(base?: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse;
80
+ fromPartial(object: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse;
81
+ };
82
+ export declare const BatchGetPricesResponse_CoinPrice: {
83
+ encode(message: BatchGetPricesResponse_CoinPrice, writer?: _m0.Writer): _m0.Writer;
84
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse_CoinPrice;
85
+ fromJSON(object: any): BatchGetPricesResponse_CoinPrice;
86
+ toJSON(message: BatchGetPricesResponse_CoinPrice): unknown;
87
+ create(base?: DeepPartial<BatchGetPricesResponse_CoinPrice>): BatchGetPricesResponse_CoinPrice;
88
+ fromPartial(object: DeepPartial<BatchGetPricesResponse_CoinPrice>): BatchGetPricesResponse_CoinPrice;
89
+ };
90
+ export declare const BatchGetPricesResponse_CoinPrice_Price: {
91
+ encode(message: BatchGetPricesResponse_CoinPrice_Price, writer?: _m0.Writer): _m0.Writer;
92
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse_CoinPrice_Price;
93
+ fromJSON(object: any): BatchGetPricesResponse_CoinPrice_Price;
94
+ toJSON(message: BatchGetPricesResponse_CoinPrice_Price): unknown;
95
+ create(base?: DeepPartial<BatchGetPricesResponse_CoinPrice_Price>): BatchGetPricesResponse_CoinPrice_Price;
96
+ fromPartial(object: DeepPartial<BatchGetPricesResponse_CoinPrice_Price>): BatchGetPricesResponse_CoinPrice_Price;
97
+ };
51
98
  export type PriceServiceDefinition = typeof PriceServiceDefinition;
52
99
  export declare const PriceServiceDefinition: {
53
100
  readonly name: "PriceService";
@@ -75,13 +122,37 @@ export declare const PriceServiceDefinition: {
75
122
  readonly responseStream: false;
76
123
  readonly options: {};
77
124
  };
125
+ readonly batchGetPrices: {
126
+ readonly name: "BatchGetPrices";
127
+ readonly requestType: {
128
+ encode(message: BatchGetPricesRequest, writer?: _m0.Writer): _m0.Writer;
129
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesRequest;
130
+ fromJSON(object: any): BatchGetPricesRequest;
131
+ toJSON(message: BatchGetPricesRequest): unknown;
132
+ create(base?: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest;
133
+ fromPartial(object: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest;
134
+ };
135
+ readonly requestStream: false;
136
+ readonly responseType: {
137
+ encode(message: BatchGetPricesResponse, writer?: _m0.Writer): _m0.Writer;
138
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse;
139
+ fromJSON(object: any): BatchGetPricesResponse;
140
+ toJSON(message: BatchGetPricesResponse): unknown;
141
+ create(base?: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse;
142
+ fromPartial(object: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse;
143
+ };
144
+ readonly responseStream: false;
145
+ readonly options: {};
146
+ };
78
147
  };
79
148
  };
80
149
  export interface PriceServiceImplementation<CallContextExt = {}> {
81
150
  getPrice(request: GetPriceRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPriceResponse>>;
151
+ batchGetPrices(request: BatchGetPricesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<BatchGetPricesResponse>>;
82
152
  }
83
153
  export interface PriceServiceClient<CallOptionsExt = {}> {
84
154
  getPrice(request: DeepPartial<GetPriceRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPriceResponse>;
155
+ batchGetPrices(request: DeepPartial<BatchGetPricesRequest>, options?: CallOptions & CallOptionsExt): Promise<BatchGetPricesResponse>;
85
156
  }
86
157
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
87
158
  type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -225,6 +225,244 @@ export const GetPriceResponse = {
225
225
  return message;
226
226
  },
227
227
  };
228
+ function createBaseBatchGetPricesRequest() {
229
+ return { timestamps: [], coinIds: [] };
230
+ }
231
+ export const BatchGetPricesRequest = {
232
+ encode(message, writer = _m0.Writer.create()) {
233
+ for (const v of message.timestamps) {
234
+ Timestamp.encode(toTimestamp(v), writer.uint32(10).fork()).ldelim();
235
+ }
236
+ for (const v of message.coinIds) {
237
+ CoinID.encode(v, writer.uint32(18).fork()).ldelim();
238
+ }
239
+ return writer;
240
+ },
241
+ decode(input, length) {
242
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
243
+ let end = length === undefined ? reader.len : reader.pos + length;
244
+ const message = createBaseBatchGetPricesRequest();
245
+ while (reader.pos < end) {
246
+ const tag = reader.uint32();
247
+ switch (tag >>> 3) {
248
+ case 1:
249
+ message.timestamps.push(fromTimestamp(Timestamp.decode(reader, reader.uint32())));
250
+ break;
251
+ case 2:
252
+ message.coinIds.push(CoinID.decode(reader, reader.uint32()));
253
+ break;
254
+ default:
255
+ reader.skipType(tag & 7);
256
+ break;
257
+ }
258
+ }
259
+ return message;
260
+ },
261
+ fromJSON(object) {
262
+ return {
263
+ timestamps: Array.isArray(object?.timestamps) ? object.timestamps.map((e) => fromJsonTimestamp(e)) : [],
264
+ coinIds: Array.isArray(object?.coinIds) ? object.coinIds.map((e) => CoinID.fromJSON(e)) : [],
265
+ };
266
+ },
267
+ toJSON(message) {
268
+ const obj = {};
269
+ if (message.timestamps) {
270
+ obj.timestamps = message.timestamps.map((e) => e.toISOString());
271
+ }
272
+ else {
273
+ obj.timestamps = [];
274
+ }
275
+ if (message.coinIds) {
276
+ obj.coinIds = message.coinIds.map((e) => e ? CoinID.toJSON(e) : undefined);
277
+ }
278
+ else {
279
+ obj.coinIds = [];
280
+ }
281
+ return obj;
282
+ },
283
+ create(base) {
284
+ return BatchGetPricesRequest.fromPartial(base ?? {});
285
+ },
286
+ fromPartial(object) {
287
+ const message = createBaseBatchGetPricesRequest();
288
+ message.timestamps = object.timestamps?.map((e) => e) || [];
289
+ message.coinIds = object.coinIds?.map((e) => CoinID.fromPartial(e)) || [];
290
+ return message;
291
+ },
292
+ };
293
+ function createBaseBatchGetPricesResponse() {
294
+ return { prices: [] };
295
+ }
296
+ export const BatchGetPricesResponse = {
297
+ encode(message, writer = _m0.Writer.create()) {
298
+ for (const v of message.prices) {
299
+ BatchGetPricesResponse_CoinPrice.encode(v, writer.uint32(10).fork()).ldelim();
300
+ }
301
+ return writer;
302
+ },
303
+ decode(input, length) {
304
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
305
+ let end = length === undefined ? reader.len : reader.pos + length;
306
+ const message = createBaseBatchGetPricesResponse();
307
+ while (reader.pos < end) {
308
+ const tag = reader.uint32();
309
+ switch (tag >>> 3) {
310
+ case 1:
311
+ message.prices.push(BatchGetPricesResponse_CoinPrice.decode(reader, reader.uint32()));
312
+ break;
313
+ default:
314
+ reader.skipType(tag & 7);
315
+ break;
316
+ }
317
+ }
318
+ return message;
319
+ },
320
+ fromJSON(object) {
321
+ return {
322
+ prices: Array.isArray(object?.prices)
323
+ ? object.prices.map((e) => BatchGetPricesResponse_CoinPrice.fromJSON(e))
324
+ : [],
325
+ };
326
+ },
327
+ toJSON(message) {
328
+ const obj = {};
329
+ if (message.prices) {
330
+ obj.prices = message.prices.map((e) => e ? BatchGetPricesResponse_CoinPrice.toJSON(e) : undefined);
331
+ }
332
+ else {
333
+ obj.prices = [];
334
+ }
335
+ return obj;
336
+ },
337
+ create(base) {
338
+ return BatchGetPricesResponse.fromPartial(base ?? {});
339
+ },
340
+ fromPartial(object) {
341
+ const message = createBaseBatchGetPricesResponse();
342
+ message.prices = object.prices?.map((e) => BatchGetPricesResponse_CoinPrice.fromPartial(e)) || [];
343
+ return message;
344
+ },
345
+ };
346
+ function createBaseBatchGetPricesResponse_CoinPrice() {
347
+ return { coinId: undefined, price: undefined, error: undefined };
348
+ }
349
+ export const BatchGetPricesResponse_CoinPrice = {
350
+ encode(message, writer = _m0.Writer.create()) {
351
+ if (message.coinId !== undefined) {
352
+ CoinID.encode(message.coinId, writer.uint32(10).fork()).ldelim();
353
+ }
354
+ if (message.price !== undefined) {
355
+ BatchGetPricesResponse_CoinPrice_Price.encode(message.price, writer.uint32(18).fork()).ldelim();
356
+ }
357
+ if (message.error !== undefined) {
358
+ writer.uint32(26).string(message.error);
359
+ }
360
+ return writer;
361
+ },
362
+ decode(input, length) {
363
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
364
+ let end = length === undefined ? reader.len : reader.pos + length;
365
+ const message = createBaseBatchGetPricesResponse_CoinPrice();
366
+ while (reader.pos < end) {
367
+ const tag = reader.uint32();
368
+ switch (tag >>> 3) {
369
+ case 1:
370
+ message.coinId = CoinID.decode(reader, reader.uint32());
371
+ break;
372
+ case 2:
373
+ message.price = BatchGetPricesResponse_CoinPrice_Price.decode(reader, reader.uint32());
374
+ break;
375
+ case 3:
376
+ message.error = reader.string();
377
+ break;
378
+ default:
379
+ reader.skipType(tag & 7);
380
+ break;
381
+ }
382
+ }
383
+ return message;
384
+ },
385
+ fromJSON(object) {
386
+ return {
387
+ coinId: isSet(object.coinId) ? CoinID.fromJSON(object.coinId) : undefined,
388
+ price: isSet(object.price) ? BatchGetPricesResponse_CoinPrice_Price.fromJSON(object.price) : undefined,
389
+ error: isSet(object.error) ? String(object.error) : undefined,
390
+ };
391
+ },
392
+ toJSON(message) {
393
+ const obj = {};
394
+ message.coinId !== undefined && (obj.coinId = message.coinId ? CoinID.toJSON(message.coinId) : undefined);
395
+ message.price !== undefined &&
396
+ (obj.price = message.price ? BatchGetPricesResponse_CoinPrice_Price.toJSON(message.price) : undefined);
397
+ message.error !== undefined && (obj.error = message.error);
398
+ return obj;
399
+ },
400
+ create(base) {
401
+ return BatchGetPricesResponse_CoinPrice.fromPartial(base ?? {});
402
+ },
403
+ fromPartial(object) {
404
+ const message = createBaseBatchGetPricesResponse_CoinPrice();
405
+ message.coinId = (object.coinId !== undefined && object.coinId !== null)
406
+ ? CoinID.fromPartial(object.coinId)
407
+ : undefined;
408
+ message.price = (object.price !== undefined && object.price !== null)
409
+ ? BatchGetPricesResponse_CoinPrice_Price.fromPartial(object.price)
410
+ : undefined;
411
+ message.error = object.error ?? undefined;
412
+ return message;
413
+ },
414
+ };
415
+ function createBaseBatchGetPricesResponse_CoinPrice_Price() {
416
+ return { results: [] };
417
+ }
418
+ export const BatchGetPricesResponse_CoinPrice_Price = {
419
+ encode(message, writer = _m0.Writer.create()) {
420
+ for (const v of message.results) {
421
+ GetPriceResponse.encode(v, writer.uint32(10).fork()).ldelim();
422
+ }
423
+ return writer;
424
+ },
425
+ decode(input, length) {
426
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
427
+ let end = length === undefined ? reader.len : reader.pos + length;
428
+ const message = createBaseBatchGetPricesResponse_CoinPrice_Price();
429
+ while (reader.pos < end) {
430
+ const tag = reader.uint32();
431
+ switch (tag >>> 3) {
432
+ case 1:
433
+ message.results.push(GetPriceResponse.decode(reader, reader.uint32()));
434
+ break;
435
+ default:
436
+ reader.skipType(tag & 7);
437
+ break;
438
+ }
439
+ }
440
+ return message;
441
+ },
442
+ fromJSON(object) {
443
+ return {
444
+ results: Array.isArray(object?.results) ? object.results.map((e) => GetPriceResponse.fromJSON(e)) : [],
445
+ };
446
+ },
447
+ toJSON(message) {
448
+ const obj = {};
449
+ if (message.results) {
450
+ obj.results = message.results.map((e) => e ? GetPriceResponse.toJSON(e) : undefined);
451
+ }
452
+ else {
453
+ obj.results = [];
454
+ }
455
+ return obj;
456
+ },
457
+ create(base) {
458
+ return BatchGetPricesResponse_CoinPrice_Price.fromPartial(base ?? {});
459
+ },
460
+ fromPartial(object) {
461
+ const message = createBaseBatchGetPricesResponse_CoinPrice_Price();
462
+ message.results = object.results?.map((e) => GetPriceResponse.fromPartial(e)) || [];
463
+ return message;
464
+ },
465
+ };
228
466
  export const PriceServiceDefinition = {
229
467
  name: "PriceService",
230
468
  fullName: "price_service.PriceService",
@@ -237,6 +475,14 @@ export const PriceServiceDefinition = {
237
475
  responseStream: false,
238
476
  options: {},
239
477
  },
478
+ batchGetPrices: {
479
+ name: "BatchGetPrices",
480
+ requestType: BatchGetPricesRequest,
481
+ requestStream: false,
482
+ responseType: BatchGetPricesResponse,
483
+ responseStream: false,
484
+ options: {},
485
+ },
240
486
  },
241
487
  };
242
488
  function toTimestamp(date) {
@@ -1 +1 @@
1
- {"version":3,"file":"price.js","sourceRoot":"","sources":["../../../../src/service/price/protos/price.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAsBlE,SAAS,gBAAgB;IACvB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,CAAC,OAAe,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9D,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;SAC1C;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE;YACjC,wBAAwB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SACrF;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC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,CAAC,CAAC,CAAC;IAC3D,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAK,CAAC,GAAG,OAAS,CAAC;IACnD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED,SAAS,aAAa,CAAC,CAAY;IACjC,IAAI,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAK,CAAC;IAClD,MAAM,IAAI,CAAC,CAAC,KAAK,GAAG,OAAS,CAAC;IAC9B,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,iBAAiB,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,IAAI,EAAE;QACrB,OAAO,CAAC,CAAC;KACV;SAAM,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE;QAChC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;KACpB;SAAM;QACL,OAAO,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC;AAED,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC","sourcesContent":["/* eslint-disable */\nimport type { CallContext, CallOptions } from \"nice-grpc-common\";\nimport _m0 from \"protobufjs/minimal.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n\nexport interface CoinID {\n symbol?: string | undefined;\n address?: CoinID_AddressIdentifier | undefined;\n}\n\nexport interface CoinID_AddressIdentifier {\n address: string;\n chain: string;\n}\n\nexport interface GetPriceRequest {\n timestamp: Date | undefined;\n coinId: CoinID | undefined;\n}\n\nexport interface GetPriceResponse {\n price: number;\n timestamp: Date | undefined;\n}\n\nfunction createBaseCoinID(): CoinID {\n return { symbol: undefined, address: undefined };\n}\n\nexport const CoinID = {\n encode(message: CoinID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.symbol !== undefined) {\n writer.uint32(18).string(message.symbol);\n }\n if (message.address !== undefined) {\n CoinID_AddressIdentifier.encode(message.address, writer.uint32(26).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): CoinID {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCoinID();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2:\n message.symbol = reader.string();\n break;\n case 3:\n message.address = CoinID_AddressIdentifier.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): CoinID {\n return {\n symbol: isSet(object.symbol) ? String(object.symbol) : undefined,\n address: isSet(object.address) ? CoinID_AddressIdentifier.fromJSON(object.address) : undefined,\n };\n },\n\n toJSON(message: CoinID): unknown {\n const obj: any = {};\n message.symbol !== undefined && (obj.symbol = message.symbol);\n message.address !== undefined &&\n (obj.address = message.address ? CoinID_AddressIdentifier.toJSON(message.address) : undefined);\n return obj;\n },\n\n create(base?: DeepPartial<CoinID>): CoinID {\n return CoinID.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<CoinID>): CoinID {\n const message = createBaseCoinID();\n message.symbol = object.symbol ?? undefined;\n message.address = (object.address !== undefined && object.address !== null)\n ? CoinID_AddressIdentifier.fromPartial(object.address)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseCoinID_AddressIdentifier(): CoinID_AddressIdentifier {\n return { address: \"\", chain: \"\" };\n}\n\nexport const CoinID_AddressIdentifier = {\n encode(message: CoinID_AddressIdentifier, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.address !== \"\") {\n writer.uint32(10).string(message.address);\n }\n if (message.chain !== \"\") {\n writer.uint32(18).string(message.chain);\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): CoinID_AddressIdentifier {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCoinID_AddressIdentifier();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.address = reader.string();\n break;\n case 2:\n message.chain = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): CoinID_AddressIdentifier {\n return {\n address: isSet(object.address) ? String(object.address) : \"\",\n chain: isSet(object.chain) ? String(object.chain) : \"\",\n };\n },\n\n toJSON(message: CoinID_AddressIdentifier): unknown {\n const obj: any = {};\n message.address !== undefined && (obj.address = message.address);\n message.chain !== undefined && (obj.chain = message.chain);\n return obj;\n },\n\n create(base?: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {\n return CoinID_AddressIdentifier.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {\n const message = createBaseCoinID_AddressIdentifier();\n message.address = object.address ?? \"\";\n message.chain = object.chain ?? \"\";\n return message;\n },\n};\n\nfunction createBaseGetPriceRequest(): GetPriceRequest {\n return { timestamp: undefined, coinId: undefined };\n}\n\nexport const GetPriceRequest = {\n encode(message: GetPriceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim();\n }\n if (message.coinId !== undefined) {\n CoinID.encode(message.coinId, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): GetPriceRequest {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetPriceRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n break;\n case 2:\n message.coinId = CoinID.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): GetPriceRequest {\n return {\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n coinId: isSet(object.coinId) ? CoinID.fromJSON(object.coinId) : undefined,\n };\n },\n\n toJSON(message: GetPriceRequest): unknown {\n const obj: any = {};\n message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());\n message.coinId !== undefined && (obj.coinId = message.coinId ? CoinID.toJSON(message.coinId) : undefined);\n return obj;\n },\n\n create(base?: DeepPartial<GetPriceRequest>): GetPriceRequest {\n return GetPriceRequest.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<GetPriceRequest>): GetPriceRequest {\n const message = createBaseGetPriceRequest();\n message.timestamp = object.timestamp ?? undefined;\n message.coinId = (object.coinId !== undefined && object.coinId !== null)\n ? CoinID.fromPartial(object.coinId)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGetPriceResponse(): GetPriceResponse {\n return { price: 0, timestamp: undefined };\n}\n\nexport const GetPriceResponse = {\n encode(message: GetPriceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.price !== 0) {\n writer.uint32(9).double(message.price);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): GetPriceResponse {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetPriceResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.price = reader.double();\n break;\n case 2:\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): GetPriceResponse {\n return {\n price: isSet(object.price) ? Number(object.price) : 0,\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n };\n },\n\n toJSON(message: GetPriceResponse): unknown {\n const obj: any = {};\n message.price !== undefined && (obj.price = message.price);\n message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());\n return obj;\n },\n\n create(base?: DeepPartial<GetPriceResponse>): GetPriceResponse {\n return GetPriceResponse.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<GetPriceResponse>): GetPriceResponse {\n const message = createBaseGetPriceResponse();\n message.price = object.price ?? 0;\n message.timestamp = object.timestamp ?? undefined;\n return message;\n },\n};\n\nexport type PriceServiceDefinition = typeof PriceServiceDefinition;\nexport const PriceServiceDefinition = {\n name: \"PriceService\",\n fullName: \"price_service.PriceService\",\n methods: {\n getPrice: {\n name: \"GetPrice\",\n requestType: GetPriceRequest,\n requestStream: false,\n responseType: GetPriceResponse,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface PriceServiceImplementation<CallContextExt = {}> {\n getPrice(request: GetPriceRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPriceResponse>>;\n}\n\nexport interface PriceServiceClient<CallOptionsExt = {}> {\n getPrice(request: DeepPartial<GetPriceRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPriceResponse>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype DeepPartial<T> = T extends Builtin ? T\n : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction toTimestamp(date: Date): Timestamp {\n const seconds = BigInt(Math.trunc(date.getTime() / 1_000));\n const nanos = (date.getTime() % 1_000) * 1_000_000;\n return { seconds, nanos };\n}\n\nfunction fromTimestamp(t: Timestamp): Date {\n let millis = Number(t.seconds.toString()) * 1_000;\n millis += t.nanos / 1_000_000;\n return new Date(millis);\n}\n\nfunction fromJsonTimestamp(o: any): Date {\n if (o instanceof Date) {\n return o;\n } else if (typeof o === \"string\") {\n return new Date(o);\n } else {\n return fromTimestamp(Timestamp.fromJSON(o));\n }\n}\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n"]}
1
+ {"version":3,"file":"price.js","sourceRoot":"","sources":["../../../../src/service/price/protos/price.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAyClE,SAAS,gBAAgB;IACvB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AACnD,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,CAAC,OAAe,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9D,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;SAC1C;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE;YACjC,wBAAwB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SACrF;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,G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";\nimport _m0 from \"protobufjs/minimal.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\n\nexport interface CoinID {\n symbol?: string | undefined;\n address?: CoinID_AddressIdentifier | undefined;\n}\n\nexport interface CoinID_AddressIdentifier {\n address: string;\n chain: string;\n}\n\nexport interface GetPriceRequest {\n timestamp: Date | undefined;\n coinId: CoinID | undefined;\n}\n\nexport interface GetPriceResponse {\n price: number;\n timestamp: Date | undefined;\n}\n\nexport interface BatchGetPricesRequest {\n timestamps: Date[];\n coinIds: CoinID[];\n}\n\nexport interface BatchGetPricesResponse {\n prices: BatchGetPricesResponse_CoinPrice[];\n}\n\nexport interface BatchGetPricesResponse_CoinPrice {\n coinId: CoinID | undefined;\n price?: BatchGetPricesResponse_CoinPrice_Price | undefined;\n error?: string | undefined;\n}\n\nexport interface BatchGetPricesResponse_CoinPrice_Price {\n results: GetPriceResponse[];\n}\n\nfunction createBaseCoinID(): CoinID {\n return { symbol: undefined, address: undefined };\n}\n\nexport const CoinID = {\n encode(message: CoinID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.symbol !== undefined) {\n writer.uint32(18).string(message.symbol);\n }\n if (message.address !== undefined) {\n CoinID_AddressIdentifier.encode(message.address, writer.uint32(26).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): CoinID {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCoinID();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2:\n message.symbol = reader.string();\n break;\n case 3:\n message.address = CoinID_AddressIdentifier.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): CoinID {\n return {\n symbol: isSet(object.symbol) ? String(object.symbol) : undefined,\n address: isSet(object.address) ? CoinID_AddressIdentifier.fromJSON(object.address) : undefined,\n };\n },\n\n toJSON(message: CoinID): unknown {\n const obj: any = {};\n message.symbol !== undefined && (obj.symbol = message.symbol);\n message.address !== undefined &&\n (obj.address = message.address ? CoinID_AddressIdentifier.toJSON(message.address) : undefined);\n return obj;\n },\n\n create(base?: DeepPartial<CoinID>): CoinID {\n return CoinID.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<CoinID>): CoinID {\n const message = createBaseCoinID();\n message.symbol = object.symbol ?? undefined;\n message.address = (object.address !== undefined && object.address !== null)\n ? CoinID_AddressIdentifier.fromPartial(object.address)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseCoinID_AddressIdentifier(): CoinID_AddressIdentifier {\n return { address: \"\", chain: \"\" };\n}\n\nexport const CoinID_AddressIdentifier = {\n encode(message: CoinID_AddressIdentifier, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.address !== \"\") {\n writer.uint32(10).string(message.address);\n }\n if (message.chain !== \"\") {\n writer.uint32(18).string(message.chain);\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): CoinID_AddressIdentifier {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCoinID_AddressIdentifier();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.address = reader.string();\n break;\n case 2:\n message.chain = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): CoinID_AddressIdentifier {\n return {\n address: isSet(object.address) ? String(object.address) : \"\",\n chain: isSet(object.chain) ? String(object.chain) : \"\",\n };\n },\n\n toJSON(message: CoinID_AddressIdentifier): unknown {\n const obj: any = {};\n message.address !== undefined && (obj.address = message.address);\n message.chain !== undefined && (obj.chain = message.chain);\n return obj;\n },\n\n create(base?: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {\n return CoinID_AddressIdentifier.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {\n const message = createBaseCoinID_AddressIdentifier();\n message.address = object.address ?? \"\";\n message.chain = object.chain ?? \"\";\n return message;\n },\n};\n\nfunction createBaseGetPriceRequest(): GetPriceRequest {\n return { timestamp: undefined, coinId: undefined };\n}\n\nexport const GetPriceRequest = {\n encode(message: GetPriceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim();\n }\n if (message.coinId !== undefined) {\n CoinID.encode(message.coinId, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): GetPriceRequest {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetPriceRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n break;\n case 2:\n message.coinId = CoinID.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): GetPriceRequest {\n return {\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n coinId: isSet(object.coinId) ? CoinID.fromJSON(object.coinId) : undefined,\n };\n },\n\n toJSON(message: GetPriceRequest): unknown {\n const obj: any = {};\n message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());\n message.coinId !== undefined && (obj.coinId = message.coinId ? CoinID.toJSON(message.coinId) : undefined);\n return obj;\n },\n\n create(base?: DeepPartial<GetPriceRequest>): GetPriceRequest {\n return GetPriceRequest.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<GetPriceRequest>): GetPriceRequest {\n const message = createBaseGetPriceRequest();\n message.timestamp = object.timestamp ?? undefined;\n message.coinId = (object.coinId !== undefined && object.coinId !== null)\n ? CoinID.fromPartial(object.coinId)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGetPriceResponse(): GetPriceResponse {\n return { price: 0, timestamp: undefined };\n}\n\nexport const GetPriceResponse = {\n encode(message: GetPriceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.price !== 0) {\n writer.uint32(9).double(message.price);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): GetPriceResponse {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetPriceResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.price = reader.double();\n break;\n case 2:\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): GetPriceResponse {\n return {\n price: isSet(object.price) ? Number(object.price) : 0,\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n };\n },\n\n toJSON(message: GetPriceResponse): unknown {\n const obj: any = {};\n message.price !== undefined && (obj.price = message.price);\n message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());\n return obj;\n },\n\n create(base?: DeepPartial<GetPriceResponse>): GetPriceResponse {\n return GetPriceResponse.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<GetPriceResponse>): GetPriceResponse {\n const message = createBaseGetPriceResponse();\n message.price = object.price ?? 0;\n message.timestamp = object.timestamp ?? undefined;\n return message;\n },\n};\n\nfunction createBaseBatchGetPricesRequest(): BatchGetPricesRequest {\n return { timestamps: [], coinIds: [] };\n}\n\nexport const BatchGetPricesRequest = {\n encode(message: BatchGetPricesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n for (const v of message.timestamps) {\n Timestamp.encode(toTimestamp(v!), writer.uint32(10).fork()).ldelim();\n }\n for (const v of message.coinIds) {\n CoinID.encode(v!, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesRequest {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBatchGetPricesRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.timestamps.push(fromTimestamp(Timestamp.decode(reader, reader.uint32())));\n break;\n case 2:\n message.coinIds.push(CoinID.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): BatchGetPricesRequest {\n return {\n timestamps: Array.isArray(object?.timestamps) ? object.timestamps.map((e: any) => fromJsonTimestamp(e)) : [],\n coinIds: Array.isArray(object?.coinIds) ? object.coinIds.map((e: any) => CoinID.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: BatchGetPricesRequest): unknown {\n const obj: any = {};\n if (message.timestamps) {\n obj.timestamps = message.timestamps.map((e) => e.toISOString());\n } else {\n obj.timestamps = [];\n }\n if (message.coinIds) {\n obj.coinIds = message.coinIds.map((e) => e ? CoinID.toJSON(e) : undefined);\n } else {\n obj.coinIds = [];\n }\n return obj;\n },\n\n create(base?: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest {\n return BatchGetPricesRequest.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<BatchGetPricesRequest>): BatchGetPricesRequest {\n const message = createBaseBatchGetPricesRequest();\n message.timestamps = object.timestamps?.map((e) => e) || [];\n message.coinIds = object.coinIds?.map((e) => CoinID.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseBatchGetPricesResponse(): BatchGetPricesResponse {\n return { prices: [] };\n}\n\nexport const BatchGetPricesResponse = {\n encode(message: BatchGetPricesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n for (const v of message.prices) {\n BatchGetPricesResponse_CoinPrice.encode(v!, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBatchGetPricesResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.prices.push(BatchGetPricesResponse_CoinPrice.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): BatchGetPricesResponse {\n return {\n prices: Array.isArray(object?.prices)\n ? object.prices.map((e: any) => BatchGetPricesResponse_CoinPrice.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: BatchGetPricesResponse): unknown {\n const obj: any = {};\n if (message.prices) {\n obj.prices = message.prices.map((e) => e ? BatchGetPricesResponse_CoinPrice.toJSON(e) : undefined);\n } else {\n obj.prices = [];\n }\n return obj;\n },\n\n create(base?: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse {\n return BatchGetPricesResponse.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<BatchGetPricesResponse>): BatchGetPricesResponse {\n const message = createBaseBatchGetPricesResponse();\n message.prices = object.prices?.map((e) => BatchGetPricesResponse_CoinPrice.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseBatchGetPricesResponse_CoinPrice(): BatchGetPricesResponse_CoinPrice {\n return { coinId: undefined, price: undefined, error: undefined };\n}\n\nexport const BatchGetPricesResponse_CoinPrice = {\n encode(message: BatchGetPricesResponse_CoinPrice, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.coinId !== undefined) {\n CoinID.encode(message.coinId, writer.uint32(10).fork()).ldelim();\n }\n if (message.price !== undefined) {\n BatchGetPricesResponse_CoinPrice_Price.encode(message.price, writer.uint32(18).fork()).ldelim();\n }\n if (message.error !== undefined) {\n writer.uint32(26).string(message.error);\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse_CoinPrice {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBatchGetPricesResponse_CoinPrice();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.coinId = CoinID.decode(reader, reader.uint32());\n break;\n case 2:\n message.price = BatchGetPricesResponse_CoinPrice_Price.decode(reader, reader.uint32());\n break;\n case 3:\n message.error = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): BatchGetPricesResponse_CoinPrice {\n return {\n coinId: isSet(object.coinId) ? CoinID.fromJSON(object.coinId) : undefined,\n price: isSet(object.price) ? BatchGetPricesResponse_CoinPrice_Price.fromJSON(object.price) : undefined,\n error: isSet(object.error) ? String(object.error) : undefined,\n };\n },\n\n toJSON(message: BatchGetPricesResponse_CoinPrice): unknown {\n const obj: any = {};\n message.coinId !== undefined && (obj.coinId = message.coinId ? CoinID.toJSON(message.coinId) : undefined);\n message.price !== undefined &&\n (obj.price = message.price ? BatchGetPricesResponse_CoinPrice_Price.toJSON(message.price) : undefined);\n message.error !== undefined && (obj.error = message.error);\n return obj;\n },\n\n create(base?: DeepPartial<BatchGetPricesResponse_CoinPrice>): BatchGetPricesResponse_CoinPrice {\n return BatchGetPricesResponse_CoinPrice.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<BatchGetPricesResponse_CoinPrice>): BatchGetPricesResponse_CoinPrice {\n const message = createBaseBatchGetPricesResponse_CoinPrice();\n message.coinId = (object.coinId !== undefined && object.coinId !== null)\n ? CoinID.fromPartial(object.coinId)\n : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? BatchGetPricesResponse_CoinPrice_Price.fromPartial(object.price)\n : undefined;\n message.error = object.error ?? undefined;\n return message;\n },\n};\n\nfunction createBaseBatchGetPricesResponse_CoinPrice_Price(): BatchGetPricesResponse_CoinPrice_Price {\n return { results: [] };\n}\n\nexport const BatchGetPricesResponse_CoinPrice_Price = {\n encode(message: BatchGetPricesResponse_CoinPrice_Price, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n for (const v of message.results) {\n GetPriceResponse.encode(v!, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetPricesResponse_CoinPrice_Price {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBatchGetPricesResponse_CoinPrice_Price();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.results.push(GetPriceResponse.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromJSON(object: any): BatchGetPricesResponse_CoinPrice_Price {\n return {\n results: Array.isArray(object?.results) ? object.results.map((e: any) => GetPriceResponse.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: BatchGetPricesResponse_CoinPrice_Price): unknown {\n const obj: any = {};\n if (message.results) {\n obj.results = message.results.map((e) => e ? GetPriceResponse.toJSON(e) : undefined);\n } else {\n obj.results = [];\n }\n return obj;\n },\n\n create(base?: DeepPartial<BatchGetPricesResponse_CoinPrice_Price>): BatchGetPricesResponse_CoinPrice_Price {\n return BatchGetPricesResponse_CoinPrice_Price.fromPartial(base ?? {});\n },\n\n fromPartial(object: DeepPartial<BatchGetPricesResponse_CoinPrice_Price>): BatchGetPricesResponse_CoinPrice_Price {\n const message = createBaseBatchGetPricesResponse_CoinPrice_Price();\n message.results = object.results?.map((e) => GetPriceResponse.fromPartial(e)) || [];\n return message;\n },\n};\n\nexport type PriceServiceDefinition = typeof PriceServiceDefinition;\nexport const PriceServiceDefinition = {\n name: \"PriceService\",\n fullName: \"price_service.PriceService\",\n methods: {\n getPrice: {\n name: \"GetPrice\",\n requestType: GetPriceRequest,\n requestStream: false,\n responseType: GetPriceResponse,\n responseStream: false,\n options: {},\n },\n batchGetPrices: {\n name: \"BatchGetPrices\",\n requestType: BatchGetPricesRequest,\n requestStream: false,\n responseType: BatchGetPricesResponse,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface PriceServiceImplementation<CallContextExt = {}> {\n getPrice(request: GetPriceRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPriceResponse>>;\n batchGetPrices(\n request: BatchGetPricesRequest,\n context: CallContext & CallContextExt,\n ): Promise<DeepPartial<BatchGetPricesResponse>>;\n}\n\nexport interface PriceServiceClient<CallOptionsExt = {}> {\n getPrice(request: DeepPartial<GetPriceRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPriceResponse>;\n batchGetPrices(\n request: DeepPartial<BatchGetPricesRequest>,\n options?: CallOptions & CallOptionsExt,\n ): Promise<BatchGetPricesResponse>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype DeepPartial<T> = T extends Builtin ? T\n : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction toTimestamp(date: Date): Timestamp {\n const seconds = BigInt(Math.trunc(date.getTime() / 1_000));\n const nanos = (date.getTime() % 1_000) * 1_000_000;\n return { seconds, nanos };\n}\n\nfunction fromTimestamp(t: Timestamp): Date {\n let millis = Number(t.seconds.toString()) * 1_000;\n millis += t.nanos / 1_000_000;\n return new Date(millis);\n}\n\nfunction fromJsonTimestamp(o: any): Date {\n if (o instanceof Date) {\n return o;\n } else if (typeof o === \"string\") {\n return new Date(o);\n } else {\n return fromTimestamp(Timestamp.fromJSON(o));\n }\n}\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sentio/protos",
3
3
  "license": "Apache-2.0",
4
- "version": "2.6.2-rc.2",
4
+ "version": "2.6.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "compile": "tsc",
@@ -20,5 +20,5 @@
20
20
  "files": [
21
21
  "{lib,src}"
22
22
  ],
23
- "gitHead": "425c2f4bff0e0338128050cbc8e05019846292aa"
23
+ "gitHead": "37077f00471ae8d6a78d8b39b205e1cf06daf71a"
24
24
  }
@@ -66,6 +66,7 @@ export interface VoidResponse {
66
66
  export interface EvmSQLQueryRequest {
67
67
  network: string;
68
68
  sql: string;
69
+ nocache?: boolean | undefined;
69
70
  }
70
71
 
71
72
  export interface EvmGetHeaderRequest {
@@ -834,7 +835,7 @@ export const VoidResponse = {
834
835
  };
835
836
 
836
837
  function createBaseEvmSQLQueryRequest(): EvmSQLQueryRequest {
837
- return { network: "", sql: "" };
838
+ return { network: "", sql: "", nocache: undefined };
838
839
  }
839
840
 
840
841
  export const EvmSQLQueryRequest = {
@@ -845,6 +846,9 @@ export const EvmSQLQueryRequest = {
845
846
  if (message.sql !== "") {
846
847
  writer.uint32(18).string(message.sql);
847
848
  }
849
+ if (message.nocache !== undefined) {
850
+ writer.uint32(24).bool(message.nocache);
851
+ }
848
852
  return writer;
849
853
  },
850
854
 
@@ -861,6 +865,9 @@ export const EvmSQLQueryRequest = {
861
865
  case 2:
862
866
  message.sql = reader.string();
863
867
  break;
868
+ case 3:
869
+ message.nocache = reader.bool();
870
+ break;
864
871
  default:
865
872
  reader.skipType(tag & 7);
866
873
  break;
@@ -873,6 +880,7 @@ export const EvmSQLQueryRequest = {
873
880
  return {
874
881
  network: isSet(object.network) ? String(object.network) : "",
875
882
  sql: isSet(object.sql) ? String(object.sql) : "",
883
+ nocache: isSet(object.nocache) ? Boolean(object.nocache) : undefined,
876
884
  };
877
885
  },
878
886
 
@@ -880,6 +888,7 @@ export const EvmSQLQueryRequest = {
880
888
  const obj: any = {};
881
889
  message.network !== undefined && (obj.network = message.network);
882
890
  message.sql !== undefined && (obj.sql = message.sql);
891
+ message.nocache !== undefined && (obj.nocache = message.nocache);
883
892
  return obj;
884
893
  },
885
894
 
@@ -891,6 +900,7 @@ export const EvmSQLQueryRequest = {
891
900
  const message = createBaseEvmSQLQueryRequest();
892
901
  message.network = object.network ?? "";
893
902
  message.sql = object.sql ?? "";
903
+ message.nocache = object.nocache ?? undefined;
894
904
  return message;
895
905
  },
896
906
  };
@@ -622,7 +622,6 @@ export interface EventTrackingResult {
622
622
  severity: LogLevel;
623
623
  message: string;
624
624
  runtimeInfo: RuntimeInfo | undefined;
625
- noMetric: boolean;
626
625
  }
627
626
 
628
627
  export interface ExportResult {
@@ -4853,7 +4852,6 @@ function createBaseEventTrackingResult(): EventTrackingResult {
4853
4852
  severity: 0,
4854
4853
  message: "",
4855
4854
  runtimeInfo: undefined,
4856
- noMetric: false,
4857
4855
  };
4858
4856
  }
4859
4857
 
@@ -4877,9 +4875,6 @@ export const EventTrackingResult = {
4877
4875
  if (message.runtimeInfo !== undefined) {
4878
4876
  RuntimeInfo.encode(message.runtimeInfo, writer.uint32(42).fork()).ldelim();
4879
4877
  }
4880
- if (message.noMetric === true) {
4881
- writer.uint32(24).bool(message.noMetric);
4882
- }
4883
4878
  return writer;
4884
4879
  },
4885
4880
 
@@ -4908,9 +4903,6 @@ export const EventTrackingResult = {
4908
4903
  case 5:
4909
4904
  message.runtimeInfo = RuntimeInfo.decode(reader, reader.uint32());
4910
4905
  break;
4911
- case 3:
4912
- message.noMetric = reader.bool();
4913
- break;
4914
4906
  default:
4915
4907
  reader.skipType(tag & 7);
4916
4908
  break;
@@ -4927,7 +4919,6 @@ export const EventTrackingResult = {
4927
4919
  severity: isSet(object.severity) ? logLevelFromJSON(object.severity) : 0,
4928
4920
  message: isSet(object.message) ? String(object.message) : "",
4929
4921
  runtimeInfo: isSet(object.runtimeInfo) ? RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
4930
- noMetric: isSet(object.noMetric) ? Boolean(object.noMetric) : false,
4931
4922
  };
4932
4923
  },
4933
4924
 
@@ -4941,7 +4932,6 @@ export const EventTrackingResult = {
4941
4932
  message.message !== undefined && (obj.message = message.message);
4942
4933
  message.runtimeInfo !== undefined &&
4943
4934
  (obj.runtimeInfo = message.runtimeInfo ? RuntimeInfo.toJSON(message.runtimeInfo) : undefined);
4944
- message.noMetric !== undefined && (obj.noMetric = message.noMetric);
4945
4935
  return obj;
4946
4936
  },
4947
4937
 
@@ -4961,7 +4951,6 @@ export const EventTrackingResult = {
4961
4951
  message.runtimeInfo = (object.runtimeInfo !== undefined && object.runtimeInfo !== null)
4962
4952
  ? RuntimeInfo.fromPartial(object.runtimeInfo)
4963
4953
  : undefined;
4964
- message.noMetric = object.noMetric ?? false;
4965
4954
  return message;
4966
4955
  },
4967
4956
  };