@miradorlabs/web-grpc 3.28.0 → 3.30.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 +202 -1376
  18. package/proto/gateway/web/v1/github_connector_grpc_pb.js +0 -102
  19. package/proto/gateway/web/v1/github_connector_pb.js +294 -2531
  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');
@@ -94,28 +72,6 @@ function deserialize_gateway_web_v1_GitHubFilesResponse(buffer_arg) {
94
72
  return proto_gateway_web_v1_github_connector_pb.GitHubFilesResponse.deserializeBinary(new Uint8Array(buffer_arg));
95
73
  }
96
74
 
97
- function serialize_gateway_web_v1_GitHubIssuesRequest(arg) {
98
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.GitHubIssuesRequest)) {
99
- throw new Error('Expected argument of type gateway.web.v1.GitHubIssuesRequest');
100
- }
101
- return Buffer.from(arg.serializeBinary());
102
- }
103
-
104
- function deserialize_gateway_web_v1_GitHubIssuesRequest(buffer_arg) {
105
- return proto_gateway_web_v1_github_connector_pb.GitHubIssuesRequest.deserializeBinary(new Uint8Array(buffer_arg));
106
- }
107
-
108
- function serialize_gateway_web_v1_GitHubIssuesResponse(arg) {
109
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.GitHubIssuesResponse)) {
110
- throw new Error('Expected argument of type gateway.web.v1.GitHubIssuesResponse');
111
- }
112
- return Buffer.from(arg.serializeBinary());
113
- }
114
-
115
- function deserialize_gateway_web_v1_GitHubIssuesResponse(buffer_arg) {
116
- return proto_gateway_web_v1_github_connector_pb.GitHubIssuesResponse.deserializeBinary(new Uint8Array(buffer_arg));
117
- }
118
-
119
75
  function serialize_gateway_web_v1_GitHubPullRequestsRequest(arg) {
120
76
  if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.GitHubPullRequestsRequest)) {
121
77
  throw new Error('Expected argument of type gateway.web.v1.GitHubPullRequestsRequest');
@@ -171,28 +127,6 @@ function deserialize_gateway_web_v1_GitHubStatusResponse(buffer_arg) {
171
127
  return proto_gateway_web_v1_github_connector_pb.GitHubStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
172
128
  }
173
129
 
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
130
 
197
131
  // One GitHub App connection per organization. Credentials never leave the
198
132
  // account service; installation tokens are minted on demand and never stored.
@@ -263,17 +197,6 @@ var GitHubGatewayServiceService = exports.GitHubGatewayServiceService = {
263
197
  responseSerialize: serialize_gateway_web_v1_GitHubPullRequestsResponse,
264
198
  responseDeserialize: deserialize_gateway_web_v1_GitHubPullRequestsResponse,
265
199
  },
266
- listGitHubIssues: {
267
- path: '/gateway.web.v1.GitHubGatewayService/ListGitHubIssues',
268
- requestStream: false,
269
- responseStream: false,
270
- requestType: proto_gateway_web_v1_github_connector_pb.GitHubIssuesRequest,
271
- responseType: proto_gateway_web_v1_github_connector_pb.GitHubIssuesResponse,
272
- requestSerialize: serialize_gateway_web_v1_GitHubIssuesRequest,
273
- requestDeserialize: deserialize_gateway_web_v1_GitHubIssuesRequest,
274
- responseSerialize: serialize_gateway_web_v1_GitHubIssuesResponse,
275
- responseDeserialize: deserialize_gateway_web_v1_GitHubIssuesResponse,
276
- },
277
200
  listGitHubFiles: {
278
201
  path: '/gateway.web.v1.GitHubGatewayService/ListGitHubFiles',
279
202
  requestStream: false,
@@ -285,31 +208,6 @@ var GitHubGatewayServiceService = exports.GitHubGatewayServiceService = {
285
208
  responseSerialize: serialize_gateway_web_v1_GitHubFilesResponse,
286
209
  responseDeserialize: deserialize_gateway_web_v1_GitHubFilesResponse,
287
210
  },
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
211
  };
314
212
 
315
213
  exports.GitHubGatewayServiceClient = grpc.makeGenericClientConstructor(GitHubGatewayServiceService, 'GitHubGatewayService');