@miradorlabs/web-grpc 3.12.0 → 3.13.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.
Files changed (52) hide show
  1. package/google/api/field_behavior.ts +145 -0
  2. package/google/api/field_behavior_grpc_pb.js +1 -0
  3. package/google/api/field_behavior_pb.js +62 -0
  4. package/google/protobuf/descriptor.ts +5211 -0
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value_pb.js +2 -0
  7. package/proto/gateway/web/v1/account_gateway.ts +4 -4
  8. package/proto/gateway/web/v1/account_gateway_grpc_pb.js +1 -0
  9. package/proto/gateway/web/v1/account_gateway_pb.js +2 -0
  10. package/proto/gateway/web/v1/admin_gateway.ts +5 -8
  11. package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +1 -0
  12. package/proto/gateway/web/v1/admin_gateway_pb.js +2 -0
  13. package/proto/gateway/web/v1/beta_gateway_grpc_pb.js +1 -0
  14. package/proto/gateway/web/v1/beta_gateway_pb.js +2 -0
  15. package/proto/gateway/web/v1/chain_gateway_grpc_pb.js +1 -0
  16. package/proto/gateway/web/v1/chain_gateway_pb.js +2 -0
  17. package/proto/gateway/web/v1/derived_metric_gateway_grpc_pb.js +1 -0
  18. package/proto/gateway/web/v1/derived_metric_gateway_pb.js +2 -0
  19. package/proto/gateway/web/v1/github_connector.ts +2 -0
  20. package/proto/gateway/web/v1/github_connector_grpc_pb.js +1 -0
  21. package/proto/gateway/web/v1/github_connector_pb.js +2 -0
  22. package/proto/gateway/web/v1/integration_gateway.ts +89 -14
  23. package/proto/gateway/web/v1/integration_gateway_grpc_pb.js +1 -0
  24. package/proto/gateway/web/v1/integration_gateway_pb.js +188 -13
  25. package/proto/gateway/web/v1/log_gateway.ts +13 -9
  26. package/proto/gateway/web/v1/log_gateway_grpc_pb.js +1 -0
  27. package/proto/gateway/web/v1/log_gateway_pb.js +8 -6
  28. package/proto/gateway/web/v1/market_gateway_grpc_pb.js +1 -0
  29. package/proto/gateway/web/v1/market_gateway_pb.js +2 -0
  30. package/proto/gateway/web/v1/metric_gateway_grpc_pb.js +1 -0
  31. package/proto/gateway/web/v1/metric_gateway_pb.js +2 -0
  32. package/proto/gateway/web/v1/oauth_gateway_grpc_pb.js +1 -0
  33. package/proto/gateway/web/v1/oauth_gateway_pb.js +2 -0
  34. package/proto/gateway/web/v1/plan_gateway_grpc_pb.js +1 -0
  35. package/proto/gateway/web/v1/plan_gateway_pb.js +2 -0
  36. package/proto/gateway/web/v1/policy_gateway.ts +2 -5
  37. package/proto/gateway/web/v1/policy_gateway_grpc_pb.js +1 -0
  38. package/proto/gateway/web/v1/policy_gateway_pb.js +2 -0
  39. package/proto/gateway/web/v1/reference_gateway.ts +120 -41
  40. package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +1 -0
  41. package/proto/gateway/web/v1/reference_gateway_pb.js +229 -54
  42. package/proto/gateway/web/v1/rule_gateway.ts +28 -68
  43. package/proto/gateway/web/v1/rule_gateway_grpc_pb.js +1 -0
  44. package/proto/gateway/web/v1/rule_gateway_pb.js +20 -204
  45. package/proto/gateway/web/v1/slo_gateway_grpc_pb.js +1 -0
  46. package/proto/gateway/web/v1/slo_gateway_pb.js +2 -0
  47. package/proto/gateway/web/v1/trace_gateway.ts +158 -307
  48. package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +1 -0
  49. package/proto/gateway/web/v1/trace_gateway_pb.js +168 -511
  50. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -3
  51. package/proto/gateway/web/v1/trace_measure_gateway_grpc_pb.js +1 -0
  52. package/proto/gateway/web/v1/trace_measure_gateway_pb.js +2 -0
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = globalThis;
17
17
 
18
+ var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
19
+ goog.object.extend(proto, google_api_field_behavior_pb);
18
20
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
19
21
  goog.object.extend(proto, google_protobuf_timestamp_pb);
20
22
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
@@ -34,12 +36,10 @@ goog.exportSymbol('proto.gateway.web.v1.GetMetricRuleResponse', null, global);
34
36
  goog.exportSymbol('proto.gateway.web.v1.GetTraceRuleRequest', null, global);
35
37
  goog.exportSymbol('proto.gateway.web.v1.GetTraceRuleResponse', null, global);
36
38
  goog.exportSymbol('proto.gateway.web.v1.ListMetricRulesRequest', null, global);
37
- goog.exportSymbol('proto.gateway.web.v1.ListMetricRulesRequest.FilterCase', null, global);
38
39
  goog.exportSymbol('proto.gateway.web.v1.ListMetricRulesResponse', null, global);
39
40
  goog.exportSymbol('proto.gateway.web.v1.ListTraceRuleSchemasRequest', null, global);
40
41
  goog.exportSymbol('proto.gateway.web.v1.ListTraceRuleSchemasResponse', null, global);
41
42
  goog.exportSymbol('proto.gateway.web.v1.ListTraceRulesRequest', null, global);
42
- goog.exportSymbol('proto.gateway.web.v1.ListTraceRulesRequest.FilterCase', null, global);
43
43
  goog.exportSymbol('proto.gateway.web.v1.ListTraceRulesResponse', null, global);
44
44
  goog.exportSymbol('proto.gateway.web.v1.MetricActivityType', null, global);
45
45
  goog.exportSymbol('proto.gateway.web.v1.MetricRule', null, global);
@@ -187,7 +187,7 @@ if (goog.DEBUG && !COMPILED) {
187
187
  * @constructor
188
188
  */
189
189
  proto.gateway.web.v1.ListTraceRulesRequest = function(opt_data) {
190
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_);
190
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
191
191
  };
192
192
  goog.inherits(proto.gateway.web.v1.ListTraceRulesRequest, jspb.Message);
193
193
  if (goog.DEBUG && !COMPILED) {
@@ -691,7 +691,7 @@ if (goog.DEBUG && !COMPILED) {
691
691
  * @constructor
692
692
  */
693
693
  proto.gateway.web.v1.ListMetricRulesRequest = function(opt_data) {
694
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_);
694
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
695
695
  };
696
696
  goog.inherits(proto.gateway.web.v1.ListMetricRulesRequest, jspb.Message);
697
697
  if (goog.DEBUG && !COMPILED) {
@@ -2334,32 +2334,6 @@ proto.gateway.web.v1.GetTraceRuleResponse.prototype.hasRule = function() {
2334
2334
 
2335
2335
 
2336
2336
 
2337
- /**
2338
- * Oneof group definitions for this message. Each group defines the field
2339
- * numbers belonging to that group. When of these fields' value is set, all
2340
- * other fields in the group are cleared. During deserialization, if multiple
2341
- * fields are encountered for a group, only the last value seen will be kept.
2342
- * @private {!Array<!Array<number>>}
2343
- * @const
2344
- */
2345
- proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_ = [[2,3]];
2346
-
2347
- /**
2348
- * @enum {number}
2349
- */
2350
- proto.gateway.web.v1.ListTraceRulesRequest.FilterCase = {
2351
- FILTER_NOT_SET: 0,
2352
- ORGANIZATION_ID_FILTER: 2,
2353
- PROJECT_ID_FILTER: 3
2354
- };
2355
-
2356
- /**
2357
- * @return {proto.gateway.web.v1.ListTraceRulesRequest.FilterCase}
2358
- */
2359
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.getFilterCase = function() {
2360
- return /** @type {proto.gateway.web.v1.ListTraceRulesRequest.FilterCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_[0]));
2361
- };
2362
-
2363
2337
 
2364
2338
 
2365
2339
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2392,8 +2366,7 @@ proto.gateway.web.v1.ListTraceRulesRequest.prototype.toObject = function(opt_inc
2392
2366
  proto.gateway.web.v1.ListTraceRulesRequest.toObject = function(includeInstance, msg) {
2393
2367
  var f, obj = {
2394
2368
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2395
- organizationIdFilter: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
2396
- projectIdFilter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
2369
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
2397
2370
  };
2398
2371
 
2399
2372
  if (includeInstance) {
@@ -2436,11 +2409,7 @@ proto.gateway.web.v1.ListTraceRulesRequest.deserializeBinaryFromReader = functio
2436
2409
  break;
2437
2410
  case 2:
2438
2411
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2439
- msg.setOrganizationIdFilter(value);
2440
- break;
2441
- case 3:
2442
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2443
- msg.setProjectIdFilter(value);
2412
+ msg.setProjectId(value);
2444
2413
  break;
2445
2414
  default:
2446
2415
  reader.skipField();
@@ -2478,20 +2447,13 @@ proto.gateway.web.v1.ListTraceRulesRequest.serializeBinaryToWriter = function(me
2478
2447
  f
2479
2448
  );
2480
2449
  }
2481
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
2482
- if (f != null) {
2450
+ f = message.getProjectId();
2451
+ if (f.length > 0) {
2483
2452
  writer.writeString(
2484
2453
  2,
2485
2454
  f
2486
2455
  );
2487
2456
  }
2488
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
2489
- if (f != null) {
2490
- writer.writeString(
2491
- 3,
2492
- f
2493
- );
2494
- }
2495
2457
  };
2496
2458
 
2497
2459
 
@@ -2514,10 +2476,10 @@ proto.gateway.web.v1.ListTraceRulesRequest.prototype.setOrganizationId = functio
2514
2476
 
2515
2477
 
2516
2478
  /**
2517
- * optional string organization_id_filter = 2;
2479
+ * optional string project_id = 2;
2518
2480
  * @return {string}
2519
2481
  */
2520
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.getOrganizationIdFilter = function() {
2482
+ proto.gateway.web.v1.ListTraceRulesRequest.prototype.getProjectId = function() {
2521
2483
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2522
2484
  };
2523
2485
 
@@ -2526,62 +2488,8 @@ proto.gateway.web.v1.ListTraceRulesRequest.prototype.getOrganizationIdFilter = f
2526
2488
  * @param {string} value
2527
2489
  * @return {!proto.gateway.web.v1.ListTraceRulesRequest} returns this
2528
2490
  */
2529
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.setOrganizationIdFilter = function(value) {
2530
- return jspb.Message.setOneofField(this, 2, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_[0], value);
2531
- };
2532
-
2533
-
2534
- /**
2535
- * Clears the field making it undefined.
2536
- * @return {!proto.gateway.web.v1.ListTraceRulesRequest} returns this
2537
- */
2538
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.clearOrganizationIdFilter = function() {
2539
- return jspb.Message.setOneofField(this, 2, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_[0], undefined);
2540
- };
2541
-
2542
-
2543
- /**
2544
- * Returns whether this field is set.
2545
- * @return {boolean}
2546
- */
2547
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.hasOrganizationIdFilter = function() {
2548
- return jspb.Message.getField(this, 2) != null;
2549
- };
2550
-
2551
-
2552
- /**
2553
- * optional string project_id_filter = 3;
2554
- * @return {string}
2555
- */
2556
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.getProjectIdFilter = function() {
2557
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2558
- };
2559
-
2560
-
2561
- /**
2562
- * @param {string} value
2563
- * @return {!proto.gateway.web.v1.ListTraceRulesRequest} returns this
2564
- */
2565
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.setProjectIdFilter = function(value) {
2566
- return jspb.Message.setOneofField(this, 3, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_[0], value);
2567
- };
2568
-
2569
-
2570
- /**
2571
- * Clears the field making it undefined.
2572
- * @return {!proto.gateway.web.v1.ListTraceRulesRequest} returns this
2573
- */
2574
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.clearProjectIdFilter = function() {
2575
- return jspb.Message.setOneofField(this, 3, proto.gateway.web.v1.ListTraceRulesRequest.oneofGroups_[0], undefined);
2576
- };
2577
-
2578
-
2579
- /**
2580
- * Returns whether this field is set.
2581
- * @return {boolean}
2582
- */
2583
- proto.gateway.web.v1.ListTraceRulesRequest.prototype.hasProjectIdFilter = function() {
2584
- return jspb.Message.getField(this, 3) != null;
2491
+ proto.gateway.web.v1.ListTraceRulesRequest.prototype.setProjectId = function(value) {
2492
+ return jspb.Message.setProto3StringField(this, 2, value);
2585
2493
  };
2586
2494
 
2587
2495
 
@@ -7822,32 +7730,6 @@ proto.gateway.web.v1.GetMetricRuleResponse.prototype.hasMetricRule = function()
7822
7730
 
7823
7731
 
7824
7732
 
7825
- /**
7826
- * Oneof group definitions for this message. Each group defines the field
7827
- * numbers belonging to that group. When of these fields' value is set, all
7828
- * other fields in the group are cleared. During deserialization, if multiple
7829
- * fields are encountered for a group, only the last value seen will be kept.
7830
- * @private {!Array<!Array<number>>}
7831
- * @const
7832
- */
7833
- proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_ = [[2,3]];
7834
-
7835
- /**
7836
- * @enum {number}
7837
- */
7838
- proto.gateway.web.v1.ListMetricRulesRequest.FilterCase = {
7839
- FILTER_NOT_SET: 0,
7840
- ORGANIZATION_ID_FILTER: 2,
7841
- PROJECT_ID_FILTER: 3
7842
- };
7843
-
7844
- /**
7845
- * @return {proto.gateway.web.v1.ListMetricRulesRequest.FilterCase}
7846
- */
7847
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.getFilterCase = function() {
7848
- return /** @type {proto.gateway.web.v1.ListMetricRulesRequest.FilterCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_[0]));
7849
- };
7850
-
7851
7733
 
7852
7734
 
7853
7735
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -7880,8 +7762,7 @@ proto.gateway.web.v1.ListMetricRulesRequest.prototype.toObject = function(opt_in
7880
7762
  proto.gateway.web.v1.ListMetricRulesRequest.toObject = function(includeInstance, msg) {
7881
7763
  var f, obj = {
7882
7764
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
7883
- organizationIdFilter: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
7884
- projectIdFilter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
7765
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
7885
7766
  };
7886
7767
 
7887
7768
  if (includeInstance) {
@@ -7924,11 +7805,7 @@ proto.gateway.web.v1.ListMetricRulesRequest.deserializeBinaryFromReader = functi
7924
7805
  break;
7925
7806
  case 2:
7926
7807
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
7927
- msg.setOrganizationIdFilter(value);
7928
- break;
7929
- case 3:
7930
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
7931
- msg.setProjectIdFilter(value);
7808
+ msg.setProjectId(value);
7932
7809
  break;
7933
7810
  default:
7934
7811
  reader.skipField();
@@ -7966,20 +7843,13 @@ proto.gateway.web.v1.ListMetricRulesRequest.serializeBinaryToWriter = function(m
7966
7843
  f
7967
7844
  );
7968
7845
  }
7969
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
7970
- if (f != null) {
7846
+ f = message.getProjectId();
7847
+ if (f.length > 0) {
7971
7848
  writer.writeString(
7972
7849
  2,
7973
7850
  f
7974
7851
  );
7975
7852
  }
7976
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
7977
- if (f != null) {
7978
- writer.writeString(
7979
- 3,
7980
- f
7981
- );
7982
- }
7983
7853
  };
7984
7854
 
7985
7855
 
@@ -8002,10 +7872,10 @@ proto.gateway.web.v1.ListMetricRulesRequest.prototype.setOrganizationId = functi
8002
7872
 
8003
7873
 
8004
7874
  /**
8005
- * optional string organization_id_filter = 2;
7875
+ * optional string project_id = 2;
8006
7876
  * @return {string}
8007
7877
  */
8008
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.getOrganizationIdFilter = function() {
7878
+ proto.gateway.web.v1.ListMetricRulesRequest.prototype.getProjectId = function() {
8009
7879
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8010
7880
  };
8011
7881
 
@@ -8014,62 +7884,8 @@ proto.gateway.web.v1.ListMetricRulesRequest.prototype.getOrganizationIdFilter =
8014
7884
  * @param {string} value
8015
7885
  * @return {!proto.gateway.web.v1.ListMetricRulesRequest} returns this
8016
7886
  */
8017
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.setOrganizationIdFilter = function(value) {
8018
- return jspb.Message.setOneofField(this, 2, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_[0], value);
8019
- };
8020
-
8021
-
8022
- /**
8023
- * Clears the field making it undefined.
8024
- * @return {!proto.gateway.web.v1.ListMetricRulesRequest} returns this
8025
- */
8026
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.clearOrganizationIdFilter = function() {
8027
- return jspb.Message.setOneofField(this, 2, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_[0], undefined);
8028
- };
8029
-
8030
-
8031
- /**
8032
- * Returns whether this field is set.
8033
- * @return {boolean}
8034
- */
8035
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.hasOrganizationIdFilter = function() {
8036
- return jspb.Message.getField(this, 2) != null;
8037
- };
8038
-
8039
-
8040
- /**
8041
- * optional string project_id_filter = 3;
8042
- * @return {string}
8043
- */
8044
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.getProjectIdFilter = function() {
8045
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8046
- };
8047
-
8048
-
8049
- /**
8050
- * @param {string} value
8051
- * @return {!proto.gateway.web.v1.ListMetricRulesRequest} returns this
8052
- */
8053
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.setProjectIdFilter = function(value) {
8054
- return jspb.Message.setOneofField(this, 3, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_[0], value);
8055
- };
8056
-
8057
-
8058
- /**
8059
- * Clears the field making it undefined.
8060
- * @return {!proto.gateway.web.v1.ListMetricRulesRequest} returns this
8061
- */
8062
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.clearProjectIdFilter = function() {
8063
- return jspb.Message.setOneofField(this, 3, proto.gateway.web.v1.ListMetricRulesRequest.oneofGroups_[0], undefined);
8064
- };
8065
-
8066
-
8067
- /**
8068
- * Returns whether this field is set.
8069
- * @return {boolean}
8070
- */
8071
- proto.gateway.web.v1.ListMetricRulesRequest.prototype.hasProjectIdFilter = function() {
8072
- return jspb.Message.getField(this, 3) != null;
7887
+ proto.gateway.web.v1.ListMetricRulesRequest.prototype.setProjectId = function(value) {
7888
+ return jspb.Message.setProto3StringField(this, 2, value);
8073
7889
  };
8074
7890
 
8075
7891
 
@@ -3,6 +3,7 @@
3
3
  'use strict';
4
4
  var grpc = require('@grpc/grpc-js');
5
5
  var proto_gateway_web_v1_slo_gateway_pb = require('../../../../proto/gateway/web/v1/slo_gateway_pb.js');
6
+ var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
6
7
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
7
8
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
8
9
 
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = globalThis;
17
17
 
18
+ var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
19
+ goog.object.extend(proto, google_api_field_behavior_pb);
18
20
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
19
21
  goog.object.extend(proto, google_protobuf_timestamp_pb);
20
22
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');