@miradorlabs/web-grpc 2.31.0 → 2.35.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/google/protobuf/timestamp.ts +32 -23
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +143 -107
- package/proto/gateway/common/v1/status.ts +32 -23
- package/proto/gateway/common/v1/types.ts +32 -23
- package/proto/gateway/web/v1/account_gateway.ts +2608 -1951
- package/proto/gateway/web/v1/attribute_value.ts +143 -107
- package/proto/gateway/web/v1/chain_gateway.ts +1362 -1164
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +933 -743
- package/proto/gateway/web/v1/integration_gateway.ts +1094 -873
- package/proto/gateway/web/v1/log_gateway.ts +593 -452
- package/proto/gateway/web/v1/market_gateway.ts +156 -111
- package/proto/gateway/web/v1/metric_gateway.ts +1842 -1453
- package/proto/gateway/web/v1/oauth_gateway.ts +648 -495
- package/proto/gateway/web/v1/plan_gateway.ts +488 -371
- package/proto/gateway/web/v1/rule_gateway.ts +1997 -1601
- package/proto/gateway/web/v1/rule_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +2166 -1765
- package/proto/gateway/web/v1/trace_gateway.ts +3250 -15480
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +0 -34
- package/proto/gateway/web/v1/trace_gateway_pb.js +4560 -27549
- package/proto/gateway/web/v1/trace_measure_gateway.ts +278 -214
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.12.
|
|
3
|
+
// protoc-gen-ts_proto v2.12.1
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/market_gateway.proto
|
|
6
6
|
|
|
@@ -55,26 +55,35 @@ export const StreamFxRatesRequest: MessageFns<StreamFxRatesRequest> = {
|
|
|
55
55
|
|
|
56
56
|
decode(input: BinaryReader | Uint8Array, length?: number): StreamFxRatesRequest {
|
|
57
57
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
59
|
+
if (previousRecursionDepth >= 100) {
|
|
60
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
61
|
+
}
|
|
62
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
63
|
+
try {
|
|
64
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseStreamFxRatesRequest();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1: {
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message.currency = reader.string();
|
|
75
|
+
continue;
|
|
66
76
|
}
|
|
67
|
-
|
|
68
|
-
message.currency = reader.string();
|
|
69
|
-
continue;
|
|
70
77
|
}
|
|
78
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
reader.skip(tag & 7);
|
|
71
82
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
reader.skip(tag & 7);
|
|
83
|
+
return message;
|
|
84
|
+
} finally {
|
|
85
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
76
86
|
}
|
|
77
|
-
return message;
|
|
78
87
|
},
|
|
79
88
|
|
|
80
89
|
fromJSON(object: any): StreamFxRatesRequest {
|
|
@@ -116,34 +125,43 @@ export const FxRateEnvelope: MessageFns<FxRateEnvelope> = {
|
|
|
116
125
|
|
|
117
126
|
decode(input: BinaryReader | Uint8Array, length?: number): FxRateEnvelope {
|
|
118
127
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
129
|
+
if (previousRecursionDepth >= 100) {
|
|
130
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
131
|
+
}
|
|
132
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
133
|
+
try {
|
|
134
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
+
const message = createBaseFxRateEnvelope();
|
|
136
|
+
while (reader.pos < end) {
|
|
137
|
+
const tag = reader.uint32();
|
|
138
|
+
switch (tag >>> 3) {
|
|
139
|
+
case 1: {
|
|
140
|
+
if (tag !== 10) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message.snapshot = FxRateSnapshot.decode(reader, reader.uint32());
|
|
145
|
+
continue;
|
|
127
146
|
}
|
|
147
|
+
case 2: {
|
|
148
|
+
if (tag !== 18) {
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
128
151
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
case 2: {
|
|
133
|
-
if (tag !== 18) {
|
|
134
|
-
break;
|
|
152
|
+
message.update = FxRateUpdate.decode(reader, reader.uint32());
|
|
153
|
+
continue;
|
|
135
154
|
}
|
|
136
|
-
|
|
137
|
-
message.update = FxRateUpdate.decode(reader, reader.uint32());
|
|
138
|
-
continue;
|
|
139
155
|
}
|
|
156
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
reader.skip(tag & 7);
|
|
140
160
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
reader.skip(tag & 7);
|
|
161
|
+
return message;
|
|
162
|
+
} finally {
|
|
163
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
145
164
|
}
|
|
146
|
-
return message;
|
|
147
165
|
},
|
|
148
166
|
|
|
149
167
|
fromJSON(object: any): FxRateEnvelope {
|
|
@@ -196,34 +214,43 @@ export const FxRateSnapshot: MessageFns<FxRateSnapshot> = {
|
|
|
196
214
|
|
|
197
215
|
decode(input: BinaryReader | Uint8Array, length?: number): FxRateSnapshot {
|
|
198
216
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
217
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
218
|
+
if (previousRecursionDepth >= 100) {
|
|
219
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
220
|
+
}
|
|
221
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
222
|
+
try {
|
|
223
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
224
|
+
const message = createBaseFxRateSnapshot();
|
|
225
|
+
while (reader.pos < end) {
|
|
226
|
+
const tag = reader.uint32();
|
|
227
|
+
switch (tag >>> 3) {
|
|
228
|
+
case 1: {
|
|
229
|
+
if (tag !== 10) {
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
message.rates.push(CryptoFxRate.decode(reader, reader.uint32()));
|
|
234
|
+
continue;
|
|
207
235
|
}
|
|
236
|
+
case 2: {
|
|
237
|
+
if (tag !== 18) {
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
208
240
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
212
|
-
case 2: {
|
|
213
|
-
if (tag !== 18) {
|
|
214
|
-
break;
|
|
241
|
+
message.currency = reader.string();
|
|
242
|
+
continue;
|
|
215
243
|
}
|
|
216
|
-
|
|
217
|
-
message.currency = reader.string();
|
|
218
|
-
continue;
|
|
219
244
|
}
|
|
245
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
reader.skip(tag & 7);
|
|
220
249
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
reader.skip(tag & 7);
|
|
250
|
+
return message;
|
|
251
|
+
} finally {
|
|
252
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
225
253
|
}
|
|
226
|
-
return message;
|
|
227
254
|
},
|
|
228
255
|
|
|
229
256
|
fromJSON(object: any): FxRateSnapshot {
|
|
@@ -272,34 +299,43 @@ export const FxRateUpdate: MessageFns<FxRateUpdate> = {
|
|
|
272
299
|
|
|
273
300
|
decode(input: BinaryReader | Uint8Array, length?: number): FxRateUpdate {
|
|
274
301
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
302
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
303
|
+
if (previousRecursionDepth >= 100) {
|
|
304
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
305
|
+
}
|
|
306
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
307
|
+
try {
|
|
308
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
309
|
+
const message = createBaseFxRateUpdate();
|
|
310
|
+
while (reader.pos < end) {
|
|
311
|
+
const tag = reader.uint32();
|
|
312
|
+
switch (tag >>> 3) {
|
|
313
|
+
case 1: {
|
|
314
|
+
if (tag !== 10) {
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
message.rates.push(CryptoFxRate.decode(reader, reader.uint32()));
|
|
319
|
+
continue;
|
|
283
320
|
}
|
|
321
|
+
case 2: {
|
|
322
|
+
if (tag !== 18) {
|
|
323
|
+
break;
|
|
324
|
+
}
|
|
284
325
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
case 2: {
|
|
289
|
-
if (tag !== 18) {
|
|
290
|
-
break;
|
|
326
|
+
message.currency = reader.string();
|
|
327
|
+
continue;
|
|
291
328
|
}
|
|
292
|
-
|
|
293
|
-
message.currency = reader.string();
|
|
294
|
-
continue;
|
|
295
329
|
}
|
|
330
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
reader.skip(tag & 7);
|
|
296
334
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
reader.skip(tag & 7);
|
|
335
|
+
return message;
|
|
336
|
+
} finally {
|
|
337
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
301
338
|
}
|
|
302
|
-
return message;
|
|
303
339
|
},
|
|
304
340
|
|
|
305
341
|
fromJSON(object: any): FxRateUpdate {
|
|
@@ -351,42 +387,51 @@ export const CryptoFxRate: MessageFns<CryptoFxRate> = {
|
|
|
351
387
|
|
|
352
388
|
decode(input: BinaryReader | Uint8Array, length?: number): CryptoFxRate {
|
|
353
389
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
390
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
391
|
+
if (previousRecursionDepth >= 100) {
|
|
392
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
393
|
+
}
|
|
394
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
395
|
+
try {
|
|
396
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
397
|
+
const message = createBaseCryptoFxRate();
|
|
398
|
+
while (reader.pos < end) {
|
|
399
|
+
const tag = reader.uint32();
|
|
400
|
+
switch (tag >>> 3) {
|
|
401
|
+
case 1: {
|
|
402
|
+
if (tag !== 10) {
|
|
403
|
+
break;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
message.symbol = reader.string();
|
|
407
|
+
continue;
|
|
362
408
|
}
|
|
409
|
+
case 2: {
|
|
410
|
+
if (tag !== 17) {
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
363
413
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}
|
|
367
|
-
case 2: {
|
|
368
|
-
if (tag !== 17) {
|
|
369
|
-
break;
|
|
414
|
+
message.price = reader.double();
|
|
415
|
+
continue;
|
|
370
416
|
}
|
|
417
|
+
case 3: {
|
|
418
|
+
if (tag !== 26) {
|
|
419
|
+
break;
|
|
420
|
+
}
|
|
371
421
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
case 3: {
|
|
376
|
-
if (tag !== 26) {
|
|
377
|
-
break;
|
|
422
|
+
message.formatted = reader.string();
|
|
423
|
+
continue;
|
|
378
424
|
}
|
|
379
|
-
|
|
380
|
-
message.formatted = reader.string();
|
|
381
|
-
continue;
|
|
382
425
|
}
|
|
426
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
reader.skip(tag & 7);
|
|
383
430
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
reader.skip(tag & 7);
|
|
431
|
+
return message;
|
|
432
|
+
} finally {
|
|
433
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
388
434
|
}
|
|
389
|
-
return message;
|
|
390
435
|
},
|
|
391
436
|
|
|
392
437
|
fromJSON(object: any): CryptoFxRate {
|