@miradorlabs/web-grpc 2.32.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 +2668 -14596
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +0 -1
- package/proto/gateway/web/v1/trace_gateway_pb.js +4395 -26764
- 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/attribute_value.proto
|
|
6
6
|
|
|
@@ -78,74 +78,83 @@ export const AttributeValue: MessageFns<AttributeValue> = {
|
|
|
78
78
|
|
|
79
79
|
decode(input: BinaryReader | Uint8Array, length?: number): AttributeValue {
|
|
80
80
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
82
|
+
if (previousRecursionDepth >= 100) {
|
|
83
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
84
|
+
}
|
|
85
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
86
|
+
try {
|
|
87
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
88
|
+
const message = createBaseAttributeValue();
|
|
89
|
+
while (reader.pos < end) {
|
|
90
|
+
const tag = reader.uint32();
|
|
91
|
+
switch (tag >>> 3) {
|
|
92
|
+
case 1: {
|
|
93
|
+
if (tag !== 10) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message.stringValue = reader.string();
|
|
98
|
+
continue;
|
|
89
99
|
}
|
|
100
|
+
case 2: {
|
|
101
|
+
if (tag !== 16) {
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
90
104
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
case 2: {
|
|
95
|
-
if (tag !== 16) {
|
|
96
|
-
break;
|
|
105
|
+
message.boolValue = reader.bool();
|
|
106
|
+
continue;
|
|
97
107
|
}
|
|
108
|
+
case 3: {
|
|
109
|
+
if (tag !== 24) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
98
112
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
case 3: {
|
|
103
|
-
if (tag !== 24) {
|
|
104
|
-
break;
|
|
113
|
+
message.intValue = longToNumber(reader.int64());
|
|
114
|
+
continue;
|
|
105
115
|
}
|
|
116
|
+
case 4: {
|
|
117
|
+
if (tag !== 33) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
106
120
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
case 4: {
|
|
111
|
-
if (tag !== 33) {
|
|
112
|
-
break;
|
|
121
|
+
message.doubleValue = reader.double();
|
|
122
|
+
continue;
|
|
113
123
|
}
|
|
124
|
+
case 5: {
|
|
125
|
+
if (tag !== 42) {
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
114
128
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
case 5: {
|
|
119
|
-
if (tag !== 42) {
|
|
120
|
-
break;
|
|
129
|
+
message.bytesValue = reader.bytes();
|
|
130
|
+
continue;
|
|
121
131
|
}
|
|
132
|
+
case 6: {
|
|
133
|
+
if (tag !== 50) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
122
136
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
case 6: {
|
|
127
|
-
if (tag !== 50) {
|
|
128
|
-
break;
|
|
137
|
+
message.arrayValue = AttributeArray.decode(reader, reader.uint32());
|
|
138
|
+
continue;
|
|
129
139
|
}
|
|
140
|
+
case 7: {
|
|
141
|
+
if (tag !== 58) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
130
144
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
case 7: {
|
|
135
|
-
if (tag !== 58) {
|
|
136
|
-
break;
|
|
145
|
+
message.kvlistValue = AttributeKeyValueList.decode(reader, reader.uint32());
|
|
146
|
+
continue;
|
|
137
147
|
}
|
|
138
|
-
|
|
139
|
-
message.kvlistValue = AttributeKeyValueList.decode(reader, reader.uint32());
|
|
140
|
-
continue;
|
|
141
148
|
}
|
|
149
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
reader.skip(tag & 7);
|
|
142
153
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
reader.skip(tag & 7);
|
|
154
|
+
return message;
|
|
155
|
+
} finally {
|
|
156
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
147
157
|
}
|
|
148
|
-
return message;
|
|
149
158
|
},
|
|
150
159
|
|
|
151
160
|
fromJSON(object: any): AttributeValue {
|
|
@@ -248,26 +257,35 @@ export const AttributeArray: MessageFns<AttributeArray> = {
|
|
|
248
257
|
|
|
249
258
|
decode(input: BinaryReader | Uint8Array, length?: number): AttributeArray {
|
|
250
259
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
261
|
+
if (previousRecursionDepth >= 100) {
|
|
262
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
263
|
+
}
|
|
264
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
265
|
+
try {
|
|
266
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
267
|
+
const message = createBaseAttributeArray();
|
|
268
|
+
while (reader.pos < end) {
|
|
269
|
+
const tag = reader.uint32();
|
|
270
|
+
switch (tag >>> 3) {
|
|
271
|
+
case 1: {
|
|
272
|
+
if (tag !== 10) {
|
|
273
|
+
break;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
message.values.push(AttributeValue.decode(reader, reader.uint32()));
|
|
277
|
+
continue;
|
|
259
278
|
}
|
|
260
|
-
|
|
261
|
-
message.values.push(AttributeValue.decode(reader, reader.uint32()));
|
|
262
|
-
continue;
|
|
263
279
|
}
|
|
280
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
reader.skip(tag & 7);
|
|
264
284
|
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
reader.skip(tag & 7);
|
|
285
|
+
return message;
|
|
286
|
+
} finally {
|
|
287
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
269
288
|
}
|
|
270
|
-
return message;
|
|
271
289
|
},
|
|
272
290
|
|
|
273
291
|
fromJSON(object: any): AttributeArray {
|
|
@@ -311,34 +329,43 @@ export const AttributeKeyValue: MessageFns<AttributeKeyValue> = {
|
|
|
311
329
|
|
|
312
330
|
decode(input: BinaryReader | Uint8Array, length?: number): AttributeKeyValue {
|
|
313
331
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
314
|
-
const
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
332
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
333
|
+
if (previousRecursionDepth >= 100) {
|
|
334
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
335
|
+
}
|
|
336
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
337
|
+
try {
|
|
338
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
339
|
+
const message = createBaseAttributeKeyValue();
|
|
340
|
+
while (reader.pos < end) {
|
|
341
|
+
const tag = reader.uint32();
|
|
342
|
+
switch (tag >>> 3) {
|
|
343
|
+
case 1: {
|
|
344
|
+
if (tag !== 10) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
message.key = reader.string();
|
|
349
|
+
continue;
|
|
322
350
|
}
|
|
351
|
+
case 2: {
|
|
352
|
+
if (tag !== 18) {
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
323
355
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
case 2: {
|
|
328
|
-
if (tag !== 18) {
|
|
329
|
-
break;
|
|
356
|
+
message.value = AttributeValue.decode(reader, reader.uint32());
|
|
357
|
+
continue;
|
|
330
358
|
}
|
|
331
|
-
|
|
332
|
-
message.value = AttributeValue.decode(reader, reader.uint32());
|
|
333
|
-
continue;
|
|
334
359
|
}
|
|
360
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
reader.skip(tag & 7);
|
|
335
364
|
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
reader.skip(tag & 7);
|
|
365
|
+
return message;
|
|
366
|
+
} finally {
|
|
367
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
340
368
|
}
|
|
341
|
-
return message;
|
|
342
369
|
},
|
|
343
370
|
|
|
344
371
|
fromJSON(object: any): AttributeKeyValue {
|
|
@@ -386,26 +413,35 @@ export const AttributeKeyValueList: MessageFns<AttributeKeyValueList> = {
|
|
|
386
413
|
|
|
387
414
|
decode(input: BinaryReader | Uint8Array, length?: number): AttributeKeyValueList {
|
|
388
415
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
389
|
-
const
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
416
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
417
|
+
if (previousRecursionDepth >= 100) {
|
|
418
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
419
|
+
}
|
|
420
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
421
|
+
try {
|
|
422
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
423
|
+
const message = createBaseAttributeKeyValueList();
|
|
424
|
+
while (reader.pos < end) {
|
|
425
|
+
const tag = reader.uint32();
|
|
426
|
+
switch (tag >>> 3) {
|
|
427
|
+
case 1: {
|
|
428
|
+
if (tag !== 10) {
|
|
429
|
+
break;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
message.values.push(AttributeKeyValue.decode(reader, reader.uint32()));
|
|
433
|
+
continue;
|
|
397
434
|
}
|
|
398
|
-
|
|
399
|
-
message.values.push(AttributeKeyValue.decode(reader, reader.uint32()));
|
|
400
|
-
continue;
|
|
401
435
|
}
|
|
436
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
reader.skip(tag & 7);
|
|
402
440
|
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
reader.skip(tag & 7);
|
|
441
|
+
return message;
|
|
442
|
+
} finally {
|
|
443
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
407
444
|
}
|
|
408
|
-
return message;
|
|
409
445
|
},
|
|
410
446
|
|
|
411
447
|
fromJSON(object: any): AttributeKeyValueList {
|