@miradorlabs/web-grpc 3.37.0 → 3.38.1
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.
- package/google/api/field_behavior.ts +3 -1
- package/google/protobuf/descriptor.ts +3 -1
- package/google/protobuf/duration.ts +3 -1
- package/google/protobuf/timestamp.ts +3 -1
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +3 -1
- package/proto/gateway/common/v1/status.ts +3 -1
- package/proto/gateway/common/v1/types.ts +3 -1
- package/proto/gateway/web/v1/account_gateway.ts +3 -1
- package/proto/gateway/web/v1/admin_gateway.ts +3 -1
- package/proto/gateway/web/v1/ai_gateway.ts +101 -4
- package/proto/gateway/web/v1/ai_gateway_pb.js +91 -1
- package/proto/gateway/web/v1/attribute_value.ts +3 -1
- package/proto/gateway/web/v1/beta_gateway.ts +3 -1
- package/proto/gateway/web/v1/chain_gateway.ts +3 -1
- package/proto/gateway/web/v1/common.ts +3 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +3 -1
- package/proto/gateway/web/v1/github_connector.ts +3 -1
- package/proto/gateway/web/v1/integration_gateway.ts +3 -1
- package/proto/gateway/web/v1/log_gateway.ts +3 -1
- package/proto/gateway/web/v1/market_gateway.ts +3 -1
- package/proto/gateway/web/v1/metric_gateway.ts +3 -1
- package/proto/gateway/web/v1/oauth_gateway.ts +3 -1
- package/proto/gateway/web/v1/plan_gateway.ts +3 -1
- package/proto/gateway/web/v1/policy_gateway.ts +3 -1
- package/proto/gateway/web/v1/reference_gateway.ts +16 -9
- package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +7 -5
- package/proto/gateway/web/v1/rule_gateway.ts +3 -1
- package/proto/gateway/web/v1/slo_gateway.ts +3 -1
- package/proto/gateway/web/v1/trace_gateway.ts +3 -1
- package/proto/gateway/web/v1/trace_measure_gateway.ts +3 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: google/api/field_behavior.proto
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
export const protobufPackage = "google.api";
|
|
10
10
|
|
|
11
|
+
export const protobufFileName = "google/api/field_behavior.proto";
|
|
12
|
+
|
|
11
13
|
/**
|
|
12
14
|
* An indicator of the behavior of a given field (for example, that a field
|
|
13
15
|
* is required in requests, or given as output but ignored as input).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: google/protobuf/descriptor.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "google.protobuf";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "google/protobuf/descriptor.proto";
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
14
16
|
* files it parses.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: google/protobuf/duration.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "google.protobuf";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "google/protobuf/duration.proto";
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* A Duration represents a signed, fixed-length span of time represented
|
|
14
16
|
* as a count of seconds and fractions of seconds at nanosecond
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: google/protobuf/timestamp.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "google.protobuf";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "google/protobuf/timestamp.proto";
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* A Timestamp represents a point in time independent of any time zone or local
|
|
14
16
|
* calendar, encoded as a count of seconds and fractions of seconds at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/common/v1/attribute_value.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "gateway.common.v1";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "proto/gateway/common/v1/attribute_value.proto";
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* AttributeValue is the gateway-domain copy of the typed attribute value model
|
|
14
16
|
* (mirrors OTLP AnyValue). Domain isolation forbids importing the telemetry copy,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/common/v1/status.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "gateway.common.v1";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "proto/gateway/common/v1/status.proto";
|
|
13
|
+
|
|
12
14
|
export interface ResponseStatus {
|
|
13
15
|
code: ResponseStatus_StatusCode;
|
|
14
16
|
errorMessage?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/common/v1/types.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "gateway.common.v1";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "proto/gateway/common/v1/types.proto";
|
|
13
|
+
|
|
12
14
|
export enum BridgeLegType {
|
|
13
15
|
BRIDGE_LEG_TYPE_UNSPECIFIED = 0,
|
|
14
16
|
BRIDGE_LEG_TYPE_SOURCE = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/account_gateway.proto
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "gateway.web.v1";
|
|
16
16
|
|
|
17
|
+
export const protobufFileName = "proto/gateway/web/v1/account_gateway.proto";
|
|
18
|
+
|
|
17
19
|
export enum UserRole {
|
|
18
20
|
USER_ROLE_UNSPECIFIED = 0,
|
|
19
21
|
USER_ROLE_ADMIN = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/admin_gateway.proto
|
|
6
6
|
|
|
@@ -20,6 +20,8 @@ import { AIReferenceGroupFilter, AIReferenceName } from "./reference_gateway";
|
|
|
20
20
|
|
|
21
21
|
export const protobufPackage = "gateway.web.v1";
|
|
22
22
|
|
|
23
|
+
export const protobufFileName = "proto/gateway/web/v1/admin_gateway.proto";
|
|
24
|
+
|
|
23
25
|
export interface GetAdminStatusRequest {
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/ai_gateway.proto
|
|
6
6
|
|
|
@@ -24,6 +24,8 @@ import {
|
|
|
24
24
|
|
|
25
25
|
export const protobufPackage = "gateway.web.v1";
|
|
26
26
|
|
|
27
|
+
export const protobufFileName = "proto/gateway/web/v1/ai_gateway.proto";
|
|
28
|
+
|
|
27
29
|
/**
|
|
28
30
|
* SessionSort ranks the conversation catalog, descending. Unspecified is RECENCY. RECENCY is the last activity;
|
|
29
31
|
* the rest are summed conversation totals. source_system, then session_id, breaks ties. A value the backend does
|
|
@@ -551,6 +553,49 @@ export function aIResourceDimensionToJSON(object: AIResourceDimension): string {
|
|
|
551
553
|
}
|
|
552
554
|
}
|
|
553
555
|
|
|
556
|
+
/**
|
|
557
|
+
* AIResourceRankingGroupBy mirrors telemetry.api.v1.AIResourceRankingGroupBy. Unspecified ranks the whole
|
|
558
|
+
* filtered set once.
|
|
559
|
+
*/
|
|
560
|
+
export enum AIResourceRankingGroupBy {
|
|
561
|
+
AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED = 0,
|
|
562
|
+
/**
|
|
563
|
+
* AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL - One ranking per principal on the source system that reported it, each what a request filtered to that principal's
|
|
564
|
+
* id and source returns: an event ranks under its user id and under its api key. Work that recorded neither ranks
|
|
565
|
+
* under an API_KEY principal with an empty id, which no filter selects alone (an empty api_key_ids entry also
|
|
566
|
+
* matches user-only work). SKILL / TOOL / COMMAND only.
|
|
567
|
+
*/
|
|
568
|
+
AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL = 1,
|
|
569
|
+
UNRECOGNIZED = -1,
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export function aIResourceRankingGroupByFromJSON(object: any): AIResourceRankingGroupBy {
|
|
573
|
+
switch (object) {
|
|
574
|
+
case 0:
|
|
575
|
+
case "AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED":
|
|
576
|
+
return AIResourceRankingGroupBy.AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED;
|
|
577
|
+
case 1:
|
|
578
|
+
case "AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL":
|
|
579
|
+
return AIResourceRankingGroupBy.AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL;
|
|
580
|
+
case -1:
|
|
581
|
+
case "UNRECOGNIZED":
|
|
582
|
+
default:
|
|
583
|
+
return AIResourceRankingGroupBy.UNRECOGNIZED;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export function aIResourceRankingGroupByToJSON(object: AIResourceRankingGroupBy): string {
|
|
588
|
+
switch (object) {
|
|
589
|
+
case AIResourceRankingGroupBy.AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED:
|
|
590
|
+
return "AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED";
|
|
591
|
+
case AIResourceRankingGroupBy.AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL:
|
|
592
|
+
return "AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL";
|
|
593
|
+
case AIResourceRankingGroupBy.UNRECOGNIZED:
|
|
594
|
+
default:
|
|
595
|
+
return "UNRECOGNIZED";
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
554
599
|
export enum AIFileLifecycle {
|
|
555
600
|
AI_FILE_LIFECYCLE_UNSPECIFIED = 0,
|
|
556
601
|
AI_FILE_LIFECYCLE_UNLANDED = 1,
|
|
@@ -1918,12 +1963,21 @@ export interface ResourceRankingsRequest {
|
|
|
1918
1963
|
projectId: string;
|
|
1919
1964
|
filter: AISessionFilter | undefined;
|
|
1920
1965
|
dimension: AIResourceDimension;
|
|
1966
|
+
/** Splits the ranking into one top-limit list per group. Unspecified ranks the filtered set once. */
|
|
1967
|
+
groupBy: AIResourceRankingGroupBy;
|
|
1921
1968
|
timeWindow: AnalyticsTimeWindow;
|
|
1969
|
+
/** Max rows, per group when group_by is set; 0 = the default 10, capped at 100. */
|
|
1922
1970
|
limit: number;
|
|
1923
1971
|
}
|
|
1924
1972
|
|
|
1925
1973
|
export interface ResourceRankingsResponse {
|
|
1926
|
-
status:
|
|
1974
|
+
status:
|
|
1975
|
+
| ResponseStatus
|
|
1976
|
+
| undefined;
|
|
1977
|
+
/**
|
|
1978
|
+
* Ungrouped: count descending, then key. Grouped: by principal kind, id and source system, then count descending
|
|
1979
|
+
* and key within each.
|
|
1980
|
+
*/
|
|
1927
1981
|
rankings: ResourceRanking[];
|
|
1928
1982
|
dimension: AIResourceDimension;
|
|
1929
1983
|
windowStart: Date | undefined;
|
|
@@ -1936,6 +1990,11 @@ export interface ResourceRanking {
|
|
|
1936
1990
|
count: number;
|
|
1937
1991
|
priorCount: number;
|
|
1938
1992
|
sessionCount: number;
|
|
1993
|
+
/**
|
|
1994
|
+
* The principal this row ranks under; set only when the request's group_by is PRINCIPAL. An event with both a user id
|
|
1995
|
+
* and an api key ranks under each, unlike DailyActivity's one principal per row (user id, else api key).
|
|
1996
|
+
*/
|
|
1997
|
+
principal: DailyActivityPrincipal | undefined;
|
|
1939
1998
|
}
|
|
1940
1999
|
|
|
1941
2000
|
export interface ModelActivityRequest {
|
|
@@ -15263,7 +15322,7 @@ export const ProjectSessionRef: MessageFns<ProjectSessionRef> = {
|
|
|
15263
15322
|
};
|
|
15264
15323
|
|
|
15265
15324
|
function createBaseResourceRankingsRequest(): ResourceRankingsRequest {
|
|
15266
|
-
return { organizationId: "", projectId: "", filter: undefined, dimension: 0, timeWindow: 0, limit: 0 };
|
|
15325
|
+
return { organizationId: "", projectId: "", filter: undefined, dimension: 0, groupBy: 0, timeWindow: 0, limit: 0 };
|
|
15267
15326
|
}
|
|
15268
15327
|
|
|
15269
15328
|
export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
@@ -15280,6 +15339,9 @@ export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
|
15280
15339
|
if (message.dimension !== 0) {
|
|
15281
15340
|
writer.uint32(32).int32(message.dimension);
|
|
15282
15341
|
}
|
|
15342
|
+
if (message.groupBy !== 0) {
|
|
15343
|
+
writer.uint32(56).int32(message.groupBy);
|
|
15344
|
+
}
|
|
15283
15345
|
if (message.timeWindow !== 0) {
|
|
15284
15346
|
writer.uint32(40).int32(message.timeWindow);
|
|
15285
15347
|
}
|
|
@@ -15334,6 +15396,14 @@ export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
|
15334
15396
|
message.dimension = reader.int32() as any;
|
|
15335
15397
|
continue;
|
|
15336
15398
|
}
|
|
15399
|
+
case 7: {
|
|
15400
|
+
if (tag !== 56) {
|
|
15401
|
+
break;
|
|
15402
|
+
}
|
|
15403
|
+
|
|
15404
|
+
message.groupBy = reader.int32() as any;
|
|
15405
|
+
continue;
|
|
15406
|
+
}
|
|
15337
15407
|
case 5: {
|
|
15338
15408
|
if (tag !== 40) {
|
|
15339
15409
|
break;
|
|
@@ -15376,6 +15446,11 @@ export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
|
15376
15446
|
: "",
|
|
15377
15447
|
filter: isSet(object.filter) ? AISessionFilter.fromJSON(object.filter) : undefined,
|
|
15378
15448
|
dimension: isSet(object.dimension) ? aIResourceDimensionFromJSON(object.dimension) : 0,
|
|
15449
|
+
groupBy: isSet(object.groupBy)
|
|
15450
|
+
? aIResourceRankingGroupByFromJSON(object.groupBy)
|
|
15451
|
+
: isSet(object.group_by)
|
|
15452
|
+
? aIResourceRankingGroupByFromJSON(object.group_by)
|
|
15453
|
+
: 0,
|
|
15379
15454
|
timeWindow: isSet(object.timeWindow)
|
|
15380
15455
|
? analyticsTimeWindowFromJSON(object.timeWindow)
|
|
15381
15456
|
: isSet(object.time_window)
|
|
@@ -15399,6 +15474,9 @@ export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
|
15399
15474
|
if (message.dimension !== 0) {
|
|
15400
15475
|
obj.dimension = aIResourceDimensionToJSON(message.dimension);
|
|
15401
15476
|
}
|
|
15477
|
+
if (message.groupBy !== 0) {
|
|
15478
|
+
obj.groupBy = aIResourceRankingGroupByToJSON(message.groupBy);
|
|
15479
|
+
}
|
|
15402
15480
|
if (message.timeWindow !== 0) {
|
|
15403
15481
|
obj.timeWindow = analyticsTimeWindowToJSON(message.timeWindow);
|
|
15404
15482
|
}
|
|
@@ -15419,6 +15497,7 @@ export const ResourceRankingsRequest: MessageFns<ResourceRankingsRequest> = {
|
|
|
15419
15497
|
? AISessionFilter.fromPartial(object.filter)
|
|
15420
15498
|
: undefined;
|
|
15421
15499
|
message.dimension = object.dimension ?? 0;
|
|
15500
|
+
message.groupBy = object.groupBy ?? 0;
|
|
15422
15501
|
message.timeWindow = object.timeWindow ?? 0;
|
|
15423
15502
|
message.limit = object.limit ?? 0;
|
|
15424
15503
|
return message;
|
|
@@ -15598,7 +15677,7 @@ export const ResourceRankingsResponse: MessageFns<ResourceRankingsResponse> = {
|
|
|
15598
15677
|
};
|
|
15599
15678
|
|
|
15600
15679
|
function createBaseResourceRanking(): ResourceRanking {
|
|
15601
|
-
return { key: "", count: 0, priorCount: 0, sessionCount: 0 };
|
|
15680
|
+
return { key: "", count: 0, priorCount: 0, sessionCount: 0, principal: undefined };
|
|
15602
15681
|
}
|
|
15603
15682
|
|
|
15604
15683
|
export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
@@ -15615,6 +15694,9 @@ export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
|
15615
15694
|
if (message.sessionCount !== 0) {
|
|
15616
15695
|
writer.uint32(32).uint64(message.sessionCount);
|
|
15617
15696
|
}
|
|
15697
|
+
if (message.principal !== undefined) {
|
|
15698
|
+
DailyActivityPrincipal.encode(message.principal, writer.uint32(42).fork()).join();
|
|
15699
|
+
}
|
|
15618
15700
|
return writer;
|
|
15619
15701
|
},
|
|
15620
15702
|
|
|
@@ -15663,6 +15745,14 @@ export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
|
15663
15745
|
message.sessionCount = longToNumber(reader.uint64());
|
|
15664
15746
|
continue;
|
|
15665
15747
|
}
|
|
15748
|
+
case 5: {
|
|
15749
|
+
if (tag !== 42) {
|
|
15750
|
+
break;
|
|
15751
|
+
}
|
|
15752
|
+
|
|
15753
|
+
message.principal = DailyActivityPrincipal.decode(reader, reader.uint32());
|
|
15754
|
+
continue;
|
|
15755
|
+
}
|
|
15666
15756
|
}
|
|
15667
15757
|
if ((tag & 7) === 4 || tag === 0) {
|
|
15668
15758
|
break;
|
|
@@ -15689,6 +15779,7 @@ export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
|
15689
15779
|
: isSet(object.session_count)
|
|
15690
15780
|
? globalThis.Number(object.session_count)
|
|
15691
15781
|
: 0,
|
|
15782
|
+
principal: isSet(object.principal) ? DailyActivityPrincipal.fromJSON(object.principal) : undefined,
|
|
15692
15783
|
};
|
|
15693
15784
|
},
|
|
15694
15785
|
|
|
@@ -15706,6 +15797,9 @@ export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
|
15706
15797
|
if (message.sessionCount !== 0) {
|
|
15707
15798
|
obj.sessionCount = Math.round(message.sessionCount);
|
|
15708
15799
|
}
|
|
15800
|
+
if (message.principal !== undefined) {
|
|
15801
|
+
obj.principal = DailyActivityPrincipal.toJSON(message.principal);
|
|
15802
|
+
}
|
|
15709
15803
|
return obj;
|
|
15710
15804
|
},
|
|
15711
15805
|
|
|
@@ -15718,6 +15812,9 @@ export const ResourceRanking: MessageFns<ResourceRanking> = {
|
|
|
15718
15812
|
message.count = object.count ?? 0;
|
|
15719
15813
|
message.priorCount = object.priorCount ?? 0;
|
|
15720
15814
|
message.sessionCount = object.sessionCount ?? 0;
|
|
15815
|
+
message.principal = (object.principal !== undefined && object.principal !== null)
|
|
15816
|
+
? DailyActivityPrincipal.fromPartial(object.principal)
|
|
15817
|
+
: undefined;
|
|
15721
15818
|
return message;
|
|
15722
15819
|
},
|
|
15723
15820
|
};
|
|
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.gateway.web.v1.AIGitOutcome', null, global);
|
|
|
49
49
|
goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
|
|
50
50
|
goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
|
|
51
51
|
goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
|
|
52
|
+
goog.exportSymbol('proto.gateway.web.v1.AIResourceRankingGroupBy', null, global);
|
|
52
53
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
|
|
53
54
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
|
|
54
55
|
goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null, global);
|
|
@@ -27009,6 +27010,7 @@ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
27009
27010
|
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
27010
27011
|
filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f),
|
|
27011
27012
|
dimension: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
27013
|
+
groupBy: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
27012
27014
|
timeWindow: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
27013
27015
|
limit: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
27014
27016
|
};
|
|
@@ -27064,6 +27066,10 @@ proto.gateway.web.v1.ResourceRankingsRequest.deserializeBinaryFromReader = funct
|
|
|
27064
27066
|
var value = /** @type {!proto.gateway.web.v1.AIResourceDimension} */ (reader.readEnum());
|
|
27065
27067
|
msg.setDimension(value);
|
|
27066
27068
|
break;
|
|
27069
|
+
case 7:
|
|
27070
|
+
var value = /** @type {!proto.gateway.web.v1.AIResourceRankingGroupBy} */ (reader.readEnum());
|
|
27071
|
+
msg.setGroupBy(value);
|
|
27072
|
+
break;
|
|
27067
27073
|
case 5:
|
|
27068
27074
|
var value = /** @type {!proto.gateway.web.v1.AnalyticsTimeWindow} */ (reader.readEnum());
|
|
27069
27075
|
msg.setTimeWindow(value);
|
|
@@ -27130,6 +27136,13 @@ proto.gateway.web.v1.ResourceRankingsRequest.serializeBinaryToWriter = function(
|
|
|
27130
27136
|
f
|
|
27131
27137
|
);
|
|
27132
27138
|
}
|
|
27139
|
+
f = message.getGroupBy();
|
|
27140
|
+
if (f !== 0.0) {
|
|
27141
|
+
writer.writeEnum(
|
|
27142
|
+
7,
|
|
27143
|
+
f
|
|
27144
|
+
);
|
|
27145
|
+
}
|
|
27133
27146
|
f = message.getTimeWindow();
|
|
27134
27147
|
if (f !== 0.0) {
|
|
27135
27148
|
writer.writeEnum(
|
|
@@ -27238,6 +27251,24 @@ proto.gateway.web.v1.ResourceRankingsRequest.prototype.setDimension = function(v
|
|
|
27238
27251
|
};
|
|
27239
27252
|
|
|
27240
27253
|
|
|
27254
|
+
/**
|
|
27255
|
+
* optional AIResourceRankingGroupBy group_by = 7;
|
|
27256
|
+
* @return {!proto.gateway.web.v1.AIResourceRankingGroupBy}
|
|
27257
|
+
*/
|
|
27258
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.getGroupBy = function() {
|
|
27259
|
+
return /** @type {!proto.gateway.web.v1.AIResourceRankingGroupBy} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
27260
|
+
};
|
|
27261
|
+
|
|
27262
|
+
|
|
27263
|
+
/**
|
|
27264
|
+
* @param {!proto.gateway.web.v1.AIResourceRankingGroupBy} value
|
|
27265
|
+
* @return {!proto.gateway.web.v1.ResourceRankingsRequest} returns this
|
|
27266
|
+
*/
|
|
27267
|
+
proto.gateway.web.v1.ResourceRankingsRequest.prototype.setGroupBy = function(value) {
|
|
27268
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
27269
|
+
};
|
|
27270
|
+
|
|
27271
|
+
|
|
27241
27272
|
/**
|
|
27242
27273
|
* optional AnalyticsTimeWindow time_window = 5;
|
|
27243
27274
|
* @return {!proto.gateway.web.v1.AnalyticsTimeWindow}
|
|
@@ -27703,7 +27734,8 @@ proto.gateway.web.v1.ResourceRanking.toObject = function(includeInstance, msg) {
|
|
|
27703
27734
|
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27704
27735
|
count: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
27705
27736
|
priorCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
27706
|
-
sessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
27737
|
+
sessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
27738
|
+
principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.DailyActivityPrincipal.toObject(includeInstance, f)
|
|
27707
27739
|
};
|
|
27708
27740
|
|
|
27709
27741
|
if (includeInstance) {
|
|
@@ -27756,6 +27788,11 @@ proto.gateway.web.v1.ResourceRanking.deserializeBinaryFromReader = function(msg,
|
|
|
27756
27788
|
var value = /** @type {number} */ (reader.readUint64());
|
|
27757
27789
|
msg.setSessionCount(value);
|
|
27758
27790
|
break;
|
|
27791
|
+
case 5:
|
|
27792
|
+
var value = new proto.gateway.web.v1.DailyActivityPrincipal;
|
|
27793
|
+
reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
|
|
27794
|
+
msg.setPrincipal(value);
|
|
27795
|
+
break;
|
|
27759
27796
|
default:
|
|
27760
27797
|
reader.skipField();
|
|
27761
27798
|
break;
|
|
@@ -27813,6 +27850,14 @@ proto.gateway.web.v1.ResourceRanking.serializeBinaryToWriter = function(message,
|
|
|
27813
27850
|
f
|
|
27814
27851
|
);
|
|
27815
27852
|
}
|
|
27853
|
+
f = message.getPrincipal();
|
|
27854
|
+
if (f != null) {
|
|
27855
|
+
writer.writeMessage(
|
|
27856
|
+
5,
|
|
27857
|
+
f,
|
|
27858
|
+
proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
|
|
27859
|
+
);
|
|
27860
|
+
}
|
|
27816
27861
|
};
|
|
27817
27862
|
|
|
27818
27863
|
|
|
@@ -27888,6 +27933,43 @@ proto.gateway.web.v1.ResourceRanking.prototype.setSessionCount = function(value)
|
|
|
27888
27933
|
};
|
|
27889
27934
|
|
|
27890
27935
|
|
|
27936
|
+
/**
|
|
27937
|
+
* optional DailyActivityPrincipal principal = 5;
|
|
27938
|
+
* @return {?proto.gateway.web.v1.DailyActivityPrincipal}
|
|
27939
|
+
*/
|
|
27940
|
+
proto.gateway.web.v1.ResourceRanking.prototype.getPrincipal = function() {
|
|
27941
|
+
return /** @type{?proto.gateway.web.v1.DailyActivityPrincipal} */ (
|
|
27942
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 5));
|
|
27943
|
+
};
|
|
27944
|
+
|
|
27945
|
+
|
|
27946
|
+
/**
|
|
27947
|
+
* @param {?proto.gateway.web.v1.DailyActivityPrincipal|undefined} value
|
|
27948
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
27949
|
+
*/
|
|
27950
|
+
proto.gateway.web.v1.ResourceRanking.prototype.setPrincipal = function(value) {
|
|
27951
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
27952
|
+
};
|
|
27953
|
+
|
|
27954
|
+
|
|
27955
|
+
/**
|
|
27956
|
+
* Clears the message field making it undefined.
|
|
27957
|
+
* @return {!proto.gateway.web.v1.ResourceRanking} returns this
|
|
27958
|
+
*/
|
|
27959
|
+
proto.gateway.web.v1.ResourceRanking.prototype.clearPrincipal = function() {
|
|
27960
|
+
return this.setPrincipal(undefined);
|
|
27961
|
+
};
|
|
27962
|
+
|
|
27963
|
+
|
|
27964
|
+
/**
|
|
27965
|
+
* Returns whether this field is set.
|
|
27966
|
+
* @return {boolean}
|
|
27967
|
+
*/
|
|
27968
|
+
proto.gateway.web.v1.ResourceRanking.prototype.hasPrincipal = function() {
|
|
27969
|
+
return jspb.Message.getField(this, 5) != null;
|
|
27970
|
+
};
|
|
27971
|
+
|
|
27972
|
+
|
|
27891
27973
|
|
|
27892
27974
|
/**
|
|
27893
27975
|
* List of repeated fields within this message type.
|
|
@@ -41417,6 +41499,14 @@ proto.gateway.web.v1.AIResourceDimension = {
|
|
|
41417
41499
|
AI_RESOURCE_DIMENSION_COMMAND: 5
|
|
41418
41500
|
};
|
|
41419
41501
|
|
|
41502
|
+
/**
|
|
41503
|
+
* @enum {number}
|
|
41504
|
+
*/
|
|
41505
|
+
proto.gateway.web.v1.AIResourceRankingGroupBy = {
|
|
41506
|
+
AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED: 0,
|
|
41507
|
+
AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL: 1
|
|
41508
|
+
};
|
|
41509
|
+
|
|
41420
41510
|
/**
|
|
41421
41511
|
* @enum {number}
|
|
41422
41512
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/attribute_value.proto
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
9
9
|
|
|
10
10
|
export const protobufPackage = "gateway.web.v1";
|
|
11
11
|
|
|
12
|
+
export const protobufFileName = "proto/gateway/web/v1/attribute_value.proto";
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* AttributeValue is the web gateway's typed attribute value (mirrors OTLP AnyValue), so per-event
|
|
14
16
|
* trace annotations keep their type on the web read surface instead of flattening to strings. The
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/beta_gateway.proto
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "gateway.web.v1";
|
|
14
14
|
|
|
15
|
+
export const protobufFileName = "proto/gateway/web/v1/beta_gateway.proto";
|
|
16
|
+
|
|
15
17
|
export enum InviteCodeState {
|
|
16
18
|
INVITE_CODE_STATE_UNSPECIFIED = 0,
|
|
17
19
|
INVITE_CODE_STATE_AVAILABLE = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/chain_gateway.proto
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ import { BridgeLegType, bridgeLegTypeFromJSON, bridgeLegTypeToJSON } from "../..
|
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "gateway.web.v1";
|
|
16
16
|
|
|
17
|
+
export const protobufFileName = "proto/gateway/web/v1/chain_gateway.proto";
|
|
18
|
+
|
|
17
19
|
export enum ActivityType {
|
|
18
20
|
ACTIVITY_TYPE_UNSPECIFIED = 0,
|
|
19
21
|
ACTIVITY_TYPE_SWAP = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/common.proto
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
export const protobufPackage = "gateway.web.v1";
|
|
10
10
|
|
|
11
|
+
export const protobufFileName = "proto/gateway/web/v1/common.proto";
|
|
12
|
+
|
|
11
13
|
/**
|
|
12
14
|
* EnabledStatus is the enabled/disabled state shared by web automation
|
|
13
15
|
* resources (trace rules, metric rules, integrations).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/derived_metric_gateway.proto
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "gateway.web.v1";
|
|
14
14
|
|
|
15
|
+
export const protobufFileName = "proto/gateway/web/v1/derived_metric_gateway.proto";
|
|
16
|
+
|
|
15
17
|
/** The signal a definition derives from. Unset reads as TRACE. */
|
|
16
18
|
export enum DerivedMetricSource {
|
|
17
19
|
DERIVED_METRIC_SOURCE_UNSPECIFIED = 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/github_connector.proto
|
|
6
6
|
|
|
@@ -11,6 +11,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
11
11
|
|
|
12
12
|
export const protobufPackage = "gateway.web.v1";
|
|
13
13
|
|
|
14
|
+
export const protobufFileName = "proto/gateway/web/v1/github_connector.proto";
|
|
15
|
+
|
|
14
16
|
export interface GitHubScopeRequest {
|
|
15
17
|
organizationId: string;
|
|
16
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/integration_gateway.proto
|
|
6
6
|
|
|
@@ -13,6 +13,8 @@ import { EnabledStatus, enabledStatusFromJSON, enabledStatusToJSON } from "./com
|
|
|
13
13
|
|
|
14
14
|
export const protobufPackage = "gateway.web.v1";
|
|
15
15
|
|
|
16
|
+
export const protobufFileName = "proto/gateway/web/v1/integration_gateway.proto";
|
|
17
|
+
|
|
16
18
|
export enum IntegrationType {
|
|
17
19
|
INTEGRATION_TYPE_UNSPECIFIED = 0,
|
|
18
20
|
INTEGRATION_TYPE_WEBHOOK = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/log_gateway.proto
|
|
6
6
|
|
|
@@ -15,6 +15,8 @@ import { AnalyticsTimeInterval, analyticsTimeIntervalFromJSON, analyticsTimeInte
|
|
|
15
15
|
|
|
16
16
|
export const protobufPackage = "gateway.web.v1";
|
|
17
17
|
|
|
18
|
+
export const protobufFileName = "proto/gateway/web/v1/log_gateway.proto";
|
|
19
|
+
|
|
18
20
|
export interface StreamLogsRequest {
|
|
19
21
|
/** Verified against the caller's identity before proxying. */
|
|
20
22
|
organizationId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/market_gateway.proto
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ import { map } from "rxjs/operators";
|
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "gateway.web.v1";
|
|
14
14
|
|
|
15
|
+
export const protobufFileName = "proto/gateway/web/v1/market_gateway.proto";
|
|
16
|
+
|
|
15
17
|
export interface StreamFxRatesRequest {
|
|
16
18
|
/** ISO 4217 code (e.g., "USD", "EUR"), default "USD" */
|
|
17
19
|
currency: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/metric_gateway.proto
|
|
6
6
|
|
|
@@ -22,6 +22,8 @@ import {
|
|
|
22
22
|
|
|
23
23
|
export const protobufPackage = "gateway.web.v1";
|
|
24
24
|
|
|
25
|
+
export const protobufFileName = "proto/gateway/web/v1/metric_gateway.proto";
|
|
26
|
+
|
|
25
27
|
export enum MetricKind {
|
|
26
28
|
METRIC_KIND_UNSPECIFIED = 0,
|
|
27
29
|
METRIC_KIND_GAUGE = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/oauth_gateway.proto
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "gateway.web.v1";
|
|
14
14
|
|
|
15
|
+
export const protobufFileName = "proto/gateway/web/v1/oauth_gateway.proto";
|
|
16
|
+
|
|
15
17
|
export interface OAuthConnection {
|
|
16
18
|
id: string;
|
|
17
19
|
organizationId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/plan_gateway.proto
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "gateway.web.v1";
|
|
16
16
|
|
|
17
|
+
export const protobufFileName = "proto/gateway/web/v1/plan_gateway.proto";
|
|
18
|
+
|
|
17
19
|
export enum PlanTier {
|
|
18
20
|
PLAN_TIER_UNSPECIFIED = 0,
|
|
19
21
|
PLAN_TIER_FREE = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/policy_gateway.proto
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "gateway.web.v1";
|
|
14
14
|
|
|
15
|
+
export const protobufFileName = "proto/gateway/web/v1/policy_gateway.proto";
|
|
16
|
+
|
|
15
17
|
/** ProjectPolicy holds one arm per product; a project takes only its own product's arm. */
|
|
16
18
|
export interface ProjectPolicy {
|
|
17
19
|
terma?: TermaPolicy | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/reference_gateway.proto
|
|
6
6
|
|
|
@@ -13,6 +13,8 @@ import { Pagination } from "./trace_gateway";
|
|
|
13
13
|
|
|
14
14
|
export const protobufPackage = "gateway.web.v1";
|
|
15
15
|
|
|
16
|
+
export const protobufFileName = "proto/gateway/web/v1/reference_gateway.proto";
|
|
17
|
+
|
|
16
18
|
/** AIReferenceNameScope mirrors telemetry.api.v1.AIReferenceNameScope. */
|
|
17
19
|
export enum AIReferenceNameScope {
|
|
18
20
|
/** AI_REFERENCE_NAME_SCOPE_UNSPECIFIED - The org's own names (ORGANIZATION). */
|
|
@@ -20,8 +22,8 @@ export enum AIReferenceNameScope {
|
|
|
20
22
|
/** AI_REFERENCE_NAME_SCOPE_ORGANIZATION - Every name the org's own telemetry reported, recorded or not. */
|
|
21
23
|
AI_REFERENCE_NAME_SCOPE_ORGANIZATION = 1,
|
|
22
24
|
/**
|
|
23
|
-
* AI_REFERENCE_NAME_SCOPE_ALL - The org's names plus every other name
|
|
24
|
-
*
|
|
25
|
+
* AI_REFERENCE_NAME_SCOPE_ALL - The org's names plus every other name a price catalog lists, each with observed = false and only its
|
|
26
|
+
* "price:<source>" sources. A name only other organizations reported is never listed.
|
|
25
27
|
*/
|
|
26
28
|
AI_REFERENCE_NAME_SCOPE_ALL = 2,
|
|
27
29
|
UNRECOGNIZED = -1,
|
|
@@ -505,7 +507,10 @@ export interface AIReferenceName {
|
|
|
505
507
|
updatedAt:
|
|
506
508
|
| Date
|
|
507
509
|
| undefined;
|
|
508
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* The org's own data carries the name. False only for a name a scope ALL read or a staff grouped read adds
|
|
512
|
+
* from the registry.
|
|
513
|
+
*/
|
|
509
514
|
observed: boolean;
|
|
510
515
|
}
|
|
511
516
|
|
|
@@ -3985,7 +3990,8 @@ export const AIReferenceName: MessageFns<AIReferenceName> = {
|
|
|
3985
3990
|
* ReferenceGatewayService is the frontend-facing surface for the AI reference data an org reads: its
|
|
3986
3991
|
* principals (writes org-admin only) and the provider / model / effort / biller display names. The
|
|
3987
3992
|
* name tables are global: each List returns the names the org's own telemetry reported, mapped through
|
|
3988
|
-
* them (scope ALL:
|
|
3993
|
+
* them (scope ALL: plus the price catalogs' names); Mirador staff read every organization's names through the
|
|
3994
|
+
* List<X>Groups reads and edit them through AdminGatewayService. It proxies telemetry.api.v1.AIReferenceService.
|
|
3989
3995
|
*/
|
|
3990
3996
|
export interface ReferenceGatewayService {
|
|
3991
3997
|
ListPrincipals(request: ListPrincipalsRequest, metadata?: Metadata): Promise<ListPrincipalsResponse>;
|
|
@@ -3997,10 +4003,11 @@ export interface ReferenceGatewayService {
|
|
|
3997
4003
|
ListAIBillers(request: ListAIBillersRequest, metadata?: Metadata): Promise<ListAIBillersResponse>;
|
|
3998
4004
|
/**
|
|
3999
4005
|
* Each List<X>Groups pages one table as the admin pages show it: one group per display name, filtered and
|
|
4000
|
-
* counted server-side (it proxies telemetry.api.v1.AIReferenceService).
|
|
4001
|
-
*
|
|
4002
|
-
*
|
|
4003
|
-
*
|
|
4006
|
+
* counted server-side (it proxies telemetry.api.v1.AIReferenceService). Mirador staff only: the admin gate
|
|
4007
|
+
* refuses anyone else with PERMISSION_DENIED, since a table lists every organization's names. A name is
|
|
4008
|
+
* observed when an organization of organization_ids reported it, and carries the sources that reported it to
|
|
4009
|
+
* them; every other recorded name is listed unobserved with only its price-catalog sources. The empty effort
|
|
4010
|
+
* (a call that reported none) is always listed observed.
|
|
4004
4011
|
*
|
|
4005
4012
|
* Groups come in one fixed order, so there is no sort field: efforts by their step on the effort meter
|
|
4006
4013
|
* (default, minimal, low, medium, high, xhigh, max, then unplaced), then display name; the other tables by
|
|
@@ -232,7 +232,8 @@ function deserialize_gateway_web_v1_UpdatePrincipalResponse(buffer_arg) {
|
|
|
232
232
|
// ReferenceGatewayService is the frontend-facing surface for the AI reference data an org reads: its
|
|
233
233
|
// principals (writes org-admin only) and the provider / model / effort / biller display names. The
|
|
234
234
|
// name tables are global: each List returns the names the org's own telemetry reported, mapped through
|
|
235
|
-
// them (scope ALL:
|
|
235
|
+
// them (scope ALL: plus the price catalogs' names); Mirador staff read every organization's names through the
|
|
236
|
+
// List<X>Groups reads and edit them through AdminGatewayService. It proxies telemetry.api.v1.AIReferenceService.
|
|
236
237
|
var ReferenceGatewayServiceService = exports.ReferenceGatewayServiceService = {
|
|
237
238
|
listPrincipals: {
|
|
238
239
|
path: '/gateway.web.v1.ReferenceGatewayService/ListPrincipals',
|
|
@@ -302,10 +303,11 @@ listAIProviders: {
|
|
|
302
303
|
responseDeserialize: deserialize_gateway_web_v1_ListAIBillersResponse,
|
|
303
304
|
},
|
|
304
305
|
// 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).
|
|
306
|
-
//
|
|
307
|
-
//
|
|
308
|
-
//
|
|
306
|
+
// counted server-side (it proxies telemetry.api.v1.AIReferenceService). Mirador staff only: the admin gate
|
|
307
|
+
// refuses anyone else with PERMISSION_DENIED, since a table lists every organization's names. A name is
|
|
308
|
+
// observed when an organization of organization_ids reported it, and carries the sources that reported it to
|
|
309
|
+
// them; every other recorded name is listed unobserved with only its price-catalog sources. The empty effort
|
|
310
|
+
// (a call that reported none) is always listed observed.
|
|
309
311
|
//
|
|
310
312
|
// Groups come in one fixed order, so there is no sort field: efforts by their step on the effort meter
|
|
311
313
|
// (default, minimal, low, medium, high, xhigh, max, then unplaced), then display name; the other tables by
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/rule_gateway.proto
|
|
6
6
|
|
|
@@ -15,6 +15,8 @@ import { EnabledStatus, enabledStatusFromJSON, enabledStatusToJSON } from "./com
|
|
|
15
15
|
|
|
16
16
|
export const protobufPackage = "gateway.web.v1";
|
|
17
17
|
|
|
18
|
+
export const protobufFileName = "proto/gateway/web/v1/rule_gateway.proto";
|
|
19
|
+
|
|
18
20
|
export enum Severity {
|
|
19
21
|
SEVERITY_UNSPECIFIED = 0,
|
|
20
22
|
SEVERITY_INFO = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/slo_gateway.proto
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ import { ResponseStatus } from "../../common/v1/status";
|
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "gateway.web.v1";
|
|
16
16
|
|
|
17
|
+
export const protobufFileName = "proto/gateway/web/v1/slo_gateway.proto";
|
|
18
|
+
|
|
17
19
|
export enum SloComparator {
|
|
18
20
|
SLO_COMPARATOR_UNSPECIFIED = 0,
|
|
19
21
|
SLO_COMPARATOR_GREATER_THAN = 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/trace_gateway.proto
|
|
6
6
|
|
|
@@ -15,6 +15,8 @@ import { AttributeValue } from "./attribute_value";
|
|
|
15
15
|
|
|
16
16
|
export const protobufPackage = "gateway.web.v1";
|
|
17
17
|
|
|
18
|
+
export const protobufFileName = "proto/gateway/web/v1/trace_gateway.proto";
|
|
19
|
+
|
|
18
20
|
/** How a tag filter's tags combine. Unspecified is ANY. */
|
|
19
21
|
export enum TagMatchMode {
|
|
20
22
|
TAG_MATCH_MODE_UNSPECIFIED = 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/trace_measure_gateway.proto
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ import { TraceStatus, traceStatusFromJSON, traceStatusToJSON } from "./trace_gat
|
|
|
14
14
|
|
|
15
15
|
export const protobufPackage = "gateway.web.v1";
|
|
16
16
|
|
|
17
|
+
export const protobufFileName = "proto/gateway/web/v1/trace_measure_gateway.proto";
|
|
18
|
+
|
|
17
19
|
export interface EvaluateTraceMeasureRequest {
|
|
18
20
|
/** Verified against the caller's identity before proxying. */
|
|
19
21
|
organizationId: string;
|