@miradorlabs/web-grpc 3.18.0 → 3.20.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 (34) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  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 +1 -1
  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 +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +950 -99
  11. package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +138 -0
  12. package/proto/gateway/web/v1/admin_gateway_pb.js +1728 -0
  13. package/proto/gateway/web/v1/ai_gateway.ts +1 -1
  14. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  15. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  16. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/common.ts +1 -1
  18. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  19. package/proto/gateway/web/v1/github_connector.ts +1 -1
  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 +1 -1
  23. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  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 +27 -3
  27. package/proto/gateway/web/v1/policy_gateway_pb.js +31 -1
  28. package/proto/gateway/web/v1/reference_gateway.ts +1994 -83
  29. package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +145 -0
  30. package/proto/gateway/web/v1/reference_gateway_pb.js +3777 -43
  31. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  34. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -6,6 +6,29 @@ var proto_gateway_web_v1_reference_gateway_pb = require('../../../../proto/gatew
6
6
  var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
7
7
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
8
8
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
9
+ var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
10
+
11
+ function serialize_gateway_web_v1_ListAIBillerGroupsRequest(arg) {
12
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsRequest)) {
13
+ throw new Error('Expected argument of type gateway.web.v1.ListAIBillerGroupsRequest');
14
+ }
15
+ return Buffer.from(arg.serializeBinary());
16
+ }
17
+
18
+ function deserialize_gateway_web_v1_ListAIBillerGroupsRequest(buffer_arg) {
19
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
20
+ }
21
+
22
+ function serialize_gateway_web_v1_ListAIBillerGroupsResponse(arg) {
23
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsResponse)) {
24
+ throw new Error('Expected argument of type gateway.web.v1.ListAIBillerGroupsResponse');
25
+ }
26
+ return Buffer.from(arg.serializeBinary());
27
+ }
28
+
29
+ function deserialize_gateway_web_v1_ListAIBillerGroupsResponse(buffer_arg) {
30
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
31
+ }
9
32
 
10
33
  function serialize_gateway_web_v1_ListAIBillersRequest(arg) {
11
34
  if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIBillersRequest)) {
@@ -29,6 +52,28 @@ function deserialize_gateway_web_v1_ListAIBillersResponse(buffer_arg) {
29
52
  return proto_gateway_web_v1_reference_gateway_pb.ListAIBillersResponse.deserializeBinary(new Uint8Array(buffer_arg));
30
53
  }
31
54
 
55
+ function serialize_gateway_web_v1_ListAIEffortGroupsRequest(arg) {
56
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsRequest)) {
57
+ throw new Error('Expected argument of type gateway.web.v1.ListAIEffortGroupsRequest');
58
+ }
59
+ return Buffer.from(arg.serializeBinary());
60
+ }
61
+
62
+ function deserialize_gateway_web_v1_ListAIEffortGroupsRequest(buffer_arg) {
63
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
64
+ }
65
+
66
+ function serialize_gateway_web_v1_ListAIEffortGroupsResponse(arg) {
67
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsResponse)) {
68
+ throw new Error('Expected argument of type gateway.web.v1.ListAIEffortGroupsResponse');
69
+ }
70
+ return Buffer.from(arg.serializeBinary());
71
+ }
72
+
73
+ function deserialize_gateway_web_v1_ListAIEffortGroupsResponse(buffer_arg) {
74
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
75
+ }
76
+
32
77
  function serialize_gateway_web_v1_ListAIEffortsRequest(arg) {
33
78
  if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIEffortsRequest)) {
34
79
  throw new Error('Expected argument of type gateway.web.v1.ListAIEffortsRequest');
@@ -51,6 +96,28 @@ function deserialize_gateway_web_v1_ListAIEffortsResponse(buffer_arg) {
51
96
  return proto_gateway_web_v1_reference_gateway_pb.ListAIEffortsResponse.deserializeBinary(new Uint8Array(buffer_arg));
52
97
  }
53
98
 
99
+ function serialize_gateway_web_v1_ListAIModelGroupsRequest(arg) {
100
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsRequest)) {
101
+ throw new Error('Expected argument of type gateway.web.v1.ListAIModelGroupsRequest');
102
+ }
103
+ return Buffer.from(arg.serializeBinary());
104
+ }
105
+
106
+ function deserialize_gateway_web_v1_ListAIModelGroupsRequest(buffer_arg) {
107
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
108
+ }
109
+
110
+ function serialize_gateway_web_v1_ListAIModelGroupsResponse(arg) {
111
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsResponse)) {
112
+ throw new Error('Expected argument of type gateway.web.v1.ListAIModelGroupsResponse');
113
+ }
114
+ return Buffer.from(arg.serializeBinary());
115
+ }
116
+
117
+ function deserialize_gateway_web_v1_ListAIModelGroupsResponse(buffer_arg) {
118
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
119
+ }
120
+
54
121
  function serialize_gateway_web_v1_ListAIModelsRequest(arg) {
55
122
  if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIModelsRequest)) {
56
123
  throw new Error('Expected argument of type gateway.web.v1.ListAIModelsRequest');
@@ -73,6 +140,28 @@ function deserialize_gateway_web_v1_ListAIModelsResponse(buffer_arg) {
73
140
  return proto_gateway_web_v1_reference_gateway_pb.ListAIModelsResponse.deserializeBinary(new Uint8Array(buffer_arg));
74
141
  }
75
142
 
143
+ function serialize_gateway_web_v1_ListAIProviderGroupsRequest(arg) {
144
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsRequest)) {
145
+ throw new Error('Expected argument of type gateway.web.v1.ListAIProviderGroupsRequest');
146
+ }
147
+ return Buffer.from(arg.serializeBinary());
148
+ }
149
+
150
+ function deserialize_gateway_web_v1_ListAIProviderGroupsRequest(buffer_arg) {
151
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
152
+ }
153
+
154
+ function serialize_gateway_web_v1_ListAIProviderGroupsResponse(arg) {
155
+ if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsResponse)) {
156
+ throw new Error('Expected argument of type gateway.web.v1.ListAIProviderGroupsResponse');
157
+ }
158
+ return Buffer.from(arg.serializeBinary());
159
+ }
160
+
161
+ function deserialize_gateway_web_v1_ListAIProviderGroupsResponse(buffer_arg) {
162
+ return proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
163
+ }
164
+
76
165
  function serialize_gateway_web_v1_ListAIProvidersRequest(arg) {
77
166
  if (!(arg instanceof proto_gateway_web_v1_reference_gateway_pb.ListAIProvidersRequest)) {
78
167
  throw new Error('Expected argument of type gateway.web.v1.ListAIProvidersRequest');
@@ -212,6 +301,62 @@ listAIProviders: {
212
301
  responseSerialize: serialize_gateway_web_v1_ListAIBillersResponse,
213
302
  responseDeserialize: deserialize_gateway_web_v1_ListAIBillersResponse,
214
303
  },
304
+ // Each List<X>Groups pages one table as the admin pages show it: one group per display name, filtered and
305
+ // counted server-side (it proxies telemetry.api.v1.AIReferenceService). A name is observed when an organization
306
+ // of organization_ids reported it, and carries the sources that reported it to them; every other recorded name
307
+ // is listed unobserved with only its price-catalog sources. The empty effort (a call that reported none) is
308
+ // always listed observed.
309
+ //
310
+ // Groups come in one fixed order, so there is no sort field: efforts by their step on the effort meter
311
+ // (default, minimal, low, medium, high, xhigh, max, then unplaced), then display name; the other tables by
312
+ // display name. A display name that is no level takes the step of its first stored name the meter places, else
313
+ // of its own words; a top-step spelling other than max ("maximum", "ultra", "highest") sits at xhigh. Display
314
+ // names compare as bytes and name one group each, so no two groups tie and pages never overlap. An empty result
315
+ // is page 1 of total_pages 0.
316
+ listAIProviderGroups: {
317
+ path: '/gateway.web.v1.ReferenceGatewayService/ListAIProviderGroups',
318
+ requestStream: false,
319
+ responseStream: false,
320
+ requestType: proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsRequest,
321
+ responseType: proto_gateway_web_v1_reference_gateway_pb.ListAIProviderGroupsResponse,
322
+ requestSerialize: serialize_gateway_web_v1_ListAIProviderGroupsRequest,
323
+ requestDeserialize: deserialize_gateway_web_v1_ListAIProviderGroupsRequest,
324
+ responseSerialize: serialize_gateway_web_v1_ListAIProviderGroupsResponse,
325
+ responseDeserialize: deserialize_gateway_web_v1_ListAIProviderGroupsResponse,
326
+ },
327
+ listAIModelGroups: {
328
+ path: '/gateway.web.v1.ReferenceGatewayService/ListAIModelGroups',
329
+ requestStream: false,
330
+ responseStream: false,
331
+ requestType: proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsRequest,
332
+ responseType: proto_gateway_web_v1_reference_gateway_pb.ListAIModelGroupsResponse,
333
+ requestSerialize: serialize_gateway_web_v1_ListAIModelGroupsRequest,
334
+ requestDeserialize: deserialize_gateway_web_v1_ListAIModelGroupsRequest,
335
+ responseSerialize: serialize_gateway_web_v1_ListAIModelGroupsResponse,
336
+ responseDeserialize: deserialize_gateway_web_v1_ListAIModelGroupsResponse,
337
+ },
338
+ listAIEffortGroups: {
339
+ path: '/gateway.web.v1.ReferenceGatewayService/ListAIEffortGroups',
340
+ requestStream: false,
341
+ responseStream: false,
342
+ requestType: proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsRequest,
343
+ responseType: proto_gateway_web_v1_reference_gateway_pb.ListAIEffortGroupsResponse,
344
+ requestSerialize: serialize_gateway_web_v1_ListAIEffortGroupsRequest,
345
+ requestDeserialize: deserialize_gateway_web_v1_ListAIEffortGroupsRequest,
346
+ responseSerialize: serialize_gateway_web_v1_ListAIEffortGroupsResponse,
347
+ responseDeserialize: deserialize_gateway_web_v1_ListAIEffortGroupsResponse,
348
+ },
349
+ listAIBillerGroups: {
350
+ path: '/gateway.web.v1.ReferenceGatewayService/ListAIBillerGroups',
351
+ requestStream: false,
352
+ responseStream: false,
353
+ requestType: proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsRequest,
354
+ responseType: proto_gateway_web_v1_reference_gateway_pb.ListAIBillerGroupsResponse,
355
+ requestSerialize: serialize_gateway_web_v1_ListAIBillerGroupsRequest,
356
+ requestDeserialize: deserialize_gateway_web_v1_ListAIBillerGroupsRequest,
357
+ responseSerialize: serialize_gateway_web_v1_ListAIBillerGroupsResponse,
358
+ responseDeserialize: deserialize_gateway_web_v1_ListAIBillerGroupsResponse,
359
+ },
215
360
  };
216
361
 
217
362
  exports.ReferenceGatewayServiceClient = grpc.makeGenericClientConstructor(ReferenceGatewayServiceService, 'ReferenceGatewayService');