@miradorlabs/web-grpc 3.28.0 → 3.29.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 (31) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +24 -14
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +6 -2
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +6 -2
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +44 -40
  12. package/proto/gateway/web/v1/attribute_value.ts +6 -2
  13. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  14. package/proto/gateway/web/v1/chain_gateway.ts +6 -2
  15. package/proto/gateway/web/v1/common.ts +1 -1
  16. package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -2
  17. package/proto/gateway/web/v1/github_connector.ts +65 -824
  18. package/proto/gateway/web/v1/github_connector_grpc_pb.js +0 -69
  19. package/proto/gateway/web/v1/github_connector_pb.js +0 -1430
  20. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/market_gateway.ts +6 -2
  23. package/proto/gateway/web/v1/metric_gateway.ts +6 -2
  24. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/policy_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/rule_gateway.ts +7 -3
  29. package/proto/gateway/web/v1/slo_gateway.ts +12 -8
  30. package/proto/gateway/web/v1/trace_gateway.ts +21 -15
  31. package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -2
@@ -6,28 +6,6 @@ var proto_gateway_web_v1_github_connector_pb = require('../../../../proto/gatewa
6
6
  var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
7
7
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
8
8
 
9
- function serialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest(arg) {
10
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsRequest)) {
11
- throw new Error('Expected argument of type gateway.web.v1.CreateInstallTermaPullRequestsRequest');
12
- }
13
- return Buffer.from(arg.serializeBinary());
14
- }
15
-
16
- function deserialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest(buffer_arg) {
17
- return proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsRequest.deserializeBinary(new Uint8Array(buffer_arg));
18
- }
19
-
20
- function serialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse(arg) {
21
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsResponse)) {
22
- throw new Error('Expected argument of type gateway.web.v1.CreateInstallTermaPullRequestsResponse');
23
- }
24
- return Buffer.from(arg.serializeBinary());
25
- }
26
-
27
- function deserialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse(buffer_arg) {
28
- return proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
- }
30
-
31
9
  function serialize_gateway_web_v1_GitHubBeginResponse(arg) {
32
10
  if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.GitHubBeginResponse)) {
33
11
  throw new Error('Expected argument of type gateway.web.v1.GitHubBeginResponse');
@@ -171,28 +149,6 @@ function deserialize_gateway_web_v1_GitHubStatusResponse(buffer_arg) {
171
149
  return proto_gateway_web_v1_github_connector_pb.GitHubStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
172
150
  }
173
151
 
174
- function serialize_gateway_web_v1_ListInstallTermaPullRequestsRequest(arg) {
175
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest)) {
176
- throw new Error('Expected argument of type gateway.web.v1.ListInstallTermaPullRequestsRequest');
177
- }
178
- return Buffer.from(arg.serializeBinary());
179
- }
180
-
181
- function deserialize_gateway_web_v1_ListInstallTermaPullRequestsRequest(buffer_arg) {
182
- return proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest.deserializeBinary(new Uint8Array(buffer_arg));
183
- }
184
-
185
- function serialize_gateway_web_v1_ListInstallTermaPullRequestsResponse(arg) {
186
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse)) {
187
- throw new Error('Expected argument of type gateway.web.v1.ListInstallTermaPullRequestsResponse');
188
- }
189
- return Buffer.from(arg.serializeBinary());
190
- }
191
-
192
- function deserialize_gateway_web_v1_ListInstallTermaPullRequestsResponse(buffer_arg) {
193
- return proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse.deserializeBinary(new Uint8Array(buffer_arg));
194
- }
195
-
196
152
 
197
153
  // One GitHub App connection per organization. Credentials never leave the
198
154
  // account service; installation tokens are minted on demand and never stored.
@@ -285,31 +241,6 @@ var GitHubGatewayServiceService = exports.GitHubGatewayServiceService = {
285
241
  responseSerialize: serialize_gateway_web_v1_GitHubFilesResponse,
286
242
  responseDeserialize: deserialize_gateway_web_v1_GitHubFilesResponse,
287
243
  },
288
- // Org admins only. Opens one pull request per repository that sets Terma up for the team.
289
- createInstallTermaPullRequests: {
290
- path: '/gateway.web.v1.GitHubGatewayService/CreateInstallTermaPullRequests',
291
- requestStream: false,
292
- responseStream: false,
293
- requestType: proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsRequest,
294
- responseType: proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsResponse,
295
- requestSerialize: serialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest,
296
- requestDeserialize: deserialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest,
297
- responseSerialize: serialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse,
298
- responseDeserialize: deserialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse,
299
- },
300
- // Org members. Every setup pull request Terma opened for the team on GitHub, open, merged or closed (a repository can
301
- // have several over time), most recently updated first.
302
- listInstallTermaPullRequests: {
303
- path: '/gateway.web.v1.GitHubGatewayService/ListInstallTermaPullRequests',
304
- requestStream: false,
305
- responseStream: false,
306
- requestType: proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest,
307
- responseType: proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse,
308
- requestSerialize: serialize_gateway_web_v1_ListInstallTermaPullRequestsRequest,
309
- requestDeserialize: deserialize_gateway_web_v1_ListInstallTermaPullRequestsRequest,
310
- responseSerialize: serialize_gateway_web_v1_ListInstallTermaPullRequestsResponse,
311
- responseDeserialize: deserialize_gateway_web_v1_ListInstallTermaPullRequestsResponse,
312
- },
313
244
  };
314
245
 
315
246
  exports.GitHubGatewayServiceClient = grpc.makeGenericClientConstructor(GitHubGatewayServiceService, 'GitHubGatewayService');