@miradorlabs/web-grpc 3.27.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 +70 -990
  18. package/proto/gateway/web/v1/github_connector_grpc_pb.js +0 -91
  19. package/proto/gateway/web/v1/github_connector_pb.js +55 -1751
  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,39 +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_GitHubWebhookRequest(arg) {
175
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.GitHubWebhookRequest)) {
176
- throw new Error('Expected argument of type gateway.web.v1.GitHubWebhookRequest');
177
- }
178
- return Buffer.from(arg.serializeBinary());
179
- }
180
-
181
- function deserialize_gateway_web_v1_GitHubWebhookRequest(buffer_arg) {
182
- return proto_gateway_web_v1_github_connector_pb.GitHubWebhookRequest.deserializeBinary(new Uint8Array(buffer_arg));
183
- }
184
-
185
- function serialize_gateway_web_v1_ListInstallTermaPullRequestsRequest(arg) {
186
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest)) {
187
- throw new Error('Expected argument of type gateway.web.v1.ListInstallTermaPullRequestsRequest');
188
- }
189
- return Buffer.from(arg.serializeBinary());
190
- }
191
-
192
- function deserialize_gateway_web_v1_ListInstallTermaPullRequestsRequest(buffer_arg) {
193
- return proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest.deserializeBinary(new Uint8Array(buffer_arg));
194
- }
195
-
196
- function serialize_gateway_web_v1_ListInstallTermaPullRequestsResponse(arg) {
197
- if (!(arg instanceof proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse)) {
198
- throw new Error('Expected argument of type gateway.web.v1.ListInstallTermaPullRequestsResponse');
199
- }
200
- return Buffer.from(arg.serializeBinary());
201
- }
202
-
203
- function deserialize_gateway_web_v1_ListInstallTermaPullRequestsResponse(buffer_arg) {
204
- return proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse.deserializeBinary(new Uint8Array(buffer_arg));
205
- }
206
-
207
152
 
208
153
  // One GitHub App connection per organization. Credentials never leave the
209
154
  // account service; installation tokens are minted on demand and never stored.
@@ -296,42 +241,6 @@ var GitHubGatewayServiceService = exports.GitHubGatewayServiceService = {
296
241
  responseSerialize: serialize_gateway_web_v1_GitHubFilesResponse,
297
242
  responseDeserialize: deserialize_gateway_web_v1_GitHubFilesResponse,
298
243
  },
299
- // Org admins only. Opens one pull request per repository that sets Terma up for the team.
300
- createInstallTermaPullRequests: {
301
- path: '/gateway.web.v1.GitHubGatewayService/CreateInstallTermaPullRequests',
302
- requestStream: false,
303
- responseStream: false,
304
- requestType: proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsRequest,
305
- responseType: proto_gateway_web_v1_github_connector_pb.CreateInstallTermaPullRequestsResponse,
306
- requestSerialize: serialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest,
307
- requestDeserialize: deserialize_gateway_web_v1_CreateInstallTermaPullRequestsRequest,
308
- responseSerialize: serialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse,
309
- responseDeserialize: deserialize_gateway_web_v1_CreateInstallTermaPullRequestsResponse,
310
- },
311
- // Org members. Every setup pull request Terma opened for the team on GitHub, open, merged or closed (a repository can
312
- // have several over time), most recently updated first.
313
- listInstallTermaPullRequests: {
314
- path: '/gateway.web.v1.GitHubGatewayService/ListInstallTermaPullRequests',
315
- requestStream: false,
316
- responseStream: false,
317
- requestType: proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsRequest,
318
- responseType: proto_gateway_web_v1_github_connector_pb.ListInstallTermaPullRequestsResponse,
319
- requestSerialize: serialize_gateway_web_v1_ListInstallTermaPullRequestsRequest,
320
- requestDeserialize: deserialize_gateway_web_v1_ListInstallTermaPullRequestsRequest,
321
- responseSerialize: serialize_gateway_web_v1_ListInstallTermaPullRequestsResponse,
322
- responseDeserialize: deserialize_gateway_web_v1_ListInstallTermaPullRequestsResponse,
323
- },
324
- receiveGitHubWebhook: {
325
- path: '/gateway.web.v1.GitHubGatewayService/ReceiveGitHubWebhook',
326
- requestStream: false,
327
- responseStream: false,
328
- requestType: proto_gateway_web_v1_github_connector_pb.GitHubWebhookRequest,
329
- responseType: proto_gateway_web_v1_github_connector_pb.GitHubEmptyResponse,
330
- requestSerialize: serialize_gateway_web_v1_GitHubWebhookRequest,
331
- requestDeserialize: deserialize_gateway_web_v1_GitHubWebhookRequest,
332
- responseSerialize: serialize_gateway_web_v1_GitHubEmptyResponse,
333
- responseDeserialize: deserialize_gateway_web_v1_GitHubEmptyResponse,
334
- },
335
244
  };
336
245
 
337
246
  exports.GitHubGatewayServiceClient = grpc.makeGenericClientConstructor(GitHubGatewayServiceService, 'GitHubGatewayService');