@miradorlabs/web-grpc 3.11.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 +23 -147
  37. package/proto/gateway/web/v1/policy_gateway_grpc_pb.js +1 -0
  38. package/proto/gateway/web/v1/policy_gateway_pb.js +23 -138
  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
@@ -0,0 +1,145 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.12.4
4
+ // protoc v3.21.12
5
+ // source: google/api/field_behavior.proto
6
+
7
+ /* eslint-disable */
8
+
9
+ export const protobufPackage = "google.api";
10
+
11
+ /**
12
+ * An indicator of the behavior of a given field (for example, that a field
13
+ * is required in requests, or given as output but ignored as input).
14
+ * This **does not** change the behavior in protocol buffers itself; it only
15
+ * denotes the behavior and may affect how API tooling handles the field.
16
+ *
17
+ * Note: This enum **may** receive new values in the future.
18
+ */
19
+ export enum FieldBehavior {
20
+ /** FIELD_BEHAVIOR_UNSPECIFIED - Conventional default for enums. Do not use this. */
21
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
22
+ /**
23
+ * OPTIONAL - Specifically denotes a field as optional.
24
+ * While all fields in protocol buffers are optional, this may be specified
25
+ * for emphasis if appropriate.
26
+ */
27
+ OPTIONAL = 1,
28
+ /**
29
+ * REQUIRED - Denotes a field as required.
30
+ * This indicates that the field **must** be provided as part of the request,
31
+ * and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
32
+ */
33
+ REQUIRED = 2,
34
+ /**
35
+ * OUTPUT_ONLY - Denotes a field as output only.
36
+ * This indicates that the field is provided in responses, but including the
37
+ * field in a request does nothing (the server *must* ignore it and
38
+ * *must not* throw an error as a result of the field's presence).
39
+ */
40
+ OUTPUT_ONLY = 3,
41
+ /**
42
+ * INPUT_ONLY - Denotes a field as input only.
43
+ * This indicates that the field is provided in requests, and the
44
+ * corresponding field is not included in output.
45
+ */
46
+ INPUT_ONLY = 4,
47
+ /**
48
+ * IMMUTABLE - Denotes a field as immutable.
49
+ * This indicates that the field may be set once in a request to create a
50
+ * resource, but may not be changed thereafter.
51
+ */
52
+ IMMUTABLE = 5,
53
+ /**
54
+ * UNORDERED_LIST - Denotes that a (repeated) field is an unordered list.
55
+ * This indicates that the service may provide the elements of the list
56
+ * in any arbitrary order, rather than the order the user originally
57
+ * provided. Additionally, the list's order may or may not be stable.
58
+ */
59
+ UNORDERED_LIST = 6,
60
+ /**
61
+ * NON_EMPTY_DEFAULT - Denotes that this field returns a non-empty default value if not set.
62
+ * This indicates that if the user provides the empty value in a request,
63
+ * a non-empty value will be returned. The user will not be aware of what
64
+ * non-empty value to expect.
65
+ */
66
+ NON_EMPTY_DEFAULT = 7,
67
+ /**
68
+ * IDENTIFIER - Denotes that the field in a resource (a message annotated with
69
+ * google.api.resource) is used in the resource name to uniquely identify the
70
+ * resource. For AIP-compliant APIs, this should only be applied to the
71
+ * `name` field on the resource.
72
+ *
73
+ * This behavior should not be applied to references to other resources within
74
+ * the message.
75
+ *
76
+ * The identifier field of resources often have different field behavior
77
+ * depending on the request it is embedded in (e.g. for Create methods name
78
+ * is optional and unused, while for Update methods it is required). Instead
79
+ * of method-specific annotations, only `IDENTIFIER` is required.
80
+ */
81
+ IDENTIFIER = 8,
82
+ UNRECOGNIZED = -1,
83
+ }
84
+
85
+ export function fieldBehaviorFromJSON(object: any): FieldBehavior {
86
+ switch (object) {
87
+ case 0:
88
+ case "FIELD_BEHAVIOR_UNSPECIFIED":
89
+ return FieldBehavior.FIELD_BEHAVIOR_UNSPECIFIED;
90
+ case 1:
91
+ case "OPTIONAL":
92
+ return FieldBehavior.OPTIONAL;
93
+ case 2:
94
+ case "REQUIRED":
95
+ return FieldBehavior.REQUIRED;
96
+ case 3:
97
+ case "OUTPUT_ONLY":
98
+ return FieldBehavior.OUTPUT_ONLY;
99
+ case 4:
100
+ case "INPUT_ONLY":
101
+ return FieldBehavior.INPUT_ONLY;
102
+ case 5:
103
+ case "IMMUTABLE":
104
+ return FieldBehavior.IMMUTABLE;
105
+ case 6:
106
+ case "UNORDERED_LIST":
107
+ return FieldBehavior.UNORDERED_LIST;
108
+ case 7:
109
+ case "NON_EMPTY_DEFAULT":
110
+ return FieldBehavior.NON_EMPTY_DEFAULT;
111
+ case 8:
112
+ case "IDENTIFIER":
113
+ return FieldBehavior.IDENTIFIER;
114
+ case -1:
115
+ case "UNRECOGNIZED":
116
+ default:
117
+ return FieldBehavior.UNRECOGNIZED;
118
+ }
119
+ }
120
+
121
+ export function fieldBehaviorToJSON(object: FieldBehavior): string {
122
+ switch (object) {
123
+ case FieldBehavior.FIELD_BEHAVIOR_UNSPECIFIED:
124
+ return "FIELD_BEHAVIOR_UNSPECIFIED";
125
+ case FieldBehavior.OPTIONAL:
126
+ return "OPTIONAL";
127
+ case FieldBehavior.REQUIRED:
128
+ return "REQUIRED";
129
+ case FieldBehavior.OUTPUT_ONLY:
130
+ return "OUTPUT_ONLY";
131
+ case FieldBehavior.INPUT_ONLY:
132
+ return "INPUT_ONLY";
133
+ case FieldBehavior.IMMUTABLE:
134
+ return "IMMUTABLE";
135
+ case FieldBehavior.UNORDERED_LIST:
136
+ return "UNORDERED_LIST";
137
+ case FieldBehavior.NON_EMPTY_DEFAULT:
138
+ return "NON_EMPTY_DEFAULT";
139
+ case FieldBehavior.IDENTIFIER:
140
+ return "IDENTIFIER";
141
+ case FieldBehavior.UNRECOGNIZED:
142
+ default:
143
+ return "UNRECOGNIZED";
144
+ }
145
+ }
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,62 @@
1
+ // source: google/api/field_behavior.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
19
+ goog.object.extend(proto, google_protobuf_descriptor_pb);
20
+ goog.exportSymbol('proto.google.api.FieldBehavior', null, global);
21
+ goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global);
22
+ /**
23
+ * @enum {number}
24
+ */
25
+ proto.google.api.FieldBehavior = {
26
+ FIELD_BEHAVIOR_UNSPECIFIED: 0,
27
+ OPTIONAL: 1,
28
+ REQUIRED: 2,
29
+ OUTPUT_ONLY: 3,
30
+ INPUT_ONLY: 4,
31
+ IMMUTABLE: 5,
32
+ UNORDERED_LIST: 6,
33
+ NON_EMPTY_DEFAULT: 7,
34
+ IDENTIFIER: 8
35
+ };
36
+
37
+
38
+ /**
39
+ * A tuple of {field number, class constructor} for the extension
40
+ * field named `fieldBehaviorList`.
41
+ * @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.FieldBehavior>>}
42
+ */
43
+ proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo(
44
+ 1052,
45
+ {fieldBehaviorList: 0},
46
+ null,
47
+ /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
48
+ null),
49
+ 1);
50
+
51
+ google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo(
52
+ proto.google.api.fieldBehaviorList,
53
+ jspb.BinaryReader.prototype.readPackableEnumInto,
54
+ jspb.BinaryWriter.prototype.writeRepeatedEnum,
55
+ undefined,
56
+ undefined,
57
+ true);
58
+ // This registers the extension field with the extended class, so that
59
+ // toObject() will function correctly.
60
+ google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList;
61
+
62
+ goog.object.extend(exports, proto.google.api);