@miradorlabs/web-grpc 2.70.0 → 2.72.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +520 -5
- package/proto/gateway/web/v1/account_gateway_grpc_pb.js +33 -0
- package/proto/gateway/web/v1/account_gateway_pb.js +1060 -5
- package/proto/gateway/web/v1/ai_gateway.ts +0 -400
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +0 -36
- package/proto/gateway/web/v1/ai_gateway_pb.js +0 -634
|
@@ -1613,31 +1613,6 @@ export interface AIFileRow {
|
|
|
1613
1613
|
subscriptionUnlandedCostUsd: number;
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
1616
|
-
export interface BurnMapRequest {
|
|
1617
|
-
organizationId: string;
|
|
1618
|
-
projectId: string;
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* BurnMapFile is one file's burn-map tile — the per-file working state the treemap renders and drills into.
|
|
1623
|
-
* repo_id is the checkout root; (repo_id, path) uniquely keys a tile (repository_key is display enrichment,
|
|
1624
|
-
* shared when one repo/ref is checked out at several roots). Net = notional − subscription on either axis; the
|
|
1625
|
-
* client derives landed = total − unlanded, its family from state, and picks the tile metric.
|
|
1626
|
-
*/
|
|
1627
|
-
export interface BurnMapFile {
|
|
1628
|
-
repoId: string;
|
|
1629
|
-
repositoryKey: string;
|
|
1630
|
-
ref: string;
|
|
1631
|
-
path: string;
|
|
1632
|
-
state: string;
|
|
1633
|
-
edits: number;
|
|
1634
|
-
distinctSessions: number;
|
|
1635
|
-
unlandedCostUsd: number;
|
|
1636
|
-
subscriptionUnlandedCostUsd: number;
|
|
1637
|
-
totalCostUsd: number;
|
|
1638
|
-
subscriptionTotalCostUsd: number;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
1616
|
export interface FilesSummaryRequest {
|
|
1642
1617
|
organizationId: string;
|
|
1643
1618
|
projectId: string;
|
|
@@ -13917,368 +13892,6 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13917
13892
|
},
|
|
13918
13893
|
};
|
|
13919
13894
|
|
|
13920
|
-
function createBaseBurnMapRequest(): BurnMapRequest {
|
|
13921
|
-
return { organizationId: "", projectId: "" };
|
|
13922
|
-
}
|
|
13923
|
-
|
|
13924
|
-
export const BurnMapRequest: MessageFns<BurnMapRequest> = {
|
|
13925
|
-
encode(message: BurnMapRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
13926
|
-
if (message.organizationId !== "") {
|
|
13927
|
-
writer.uint32(10).string(message.organizationId);
|
|
13928
|
-
}
|
|
13929
|
-
if (message.projectId !== "") {
|
|
13930
|
-
writer.uint32(18).string(message.projectId);
|
|
13931
|
-
}
|
|
13932
|
-
return writer;
|
|
13933
|
-
},
|
|
13934
|
-
|
|
13935
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BurnMapRequest {
|
|
13936
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
13937
|
-
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
13938
|
-
if (previousRecursionDepth >= 100) {
|
|
13939
|
-
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
13940
|
-
}
|
|
13941
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
13942
|
-
try {
|
|
13943
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13944
|
-
const message = createBaseBurnMapRequest();
|
|
13945
|
-
while (reader.pos < end) {
|
|
13946
|
-
const tag = reader.uint32();
|
|
13947
|
-
switch (tag >>> 3) {
|
|
13948
|
-
case 1: {
|
|
13949
|
-
if (tag !== 10) {
|
|
13950
|
-
break;
|
|
13951
|
-
}
|
|
13952
|
-
|
|
13953
|
-
message.organizationId = reader.string();
|
|
13954
|
-
continue;
|
|
13955
|
-
}
|
|
13956
|
-
case 2: {
|
|
13957
|
-
if (tag !== 18) {
|
|
13958
|
-
break;
|
|
13959
|
-
}
|
|
13960
|
-
|
|
13961
|
-
message.projectId = reader.string();
|
|
13962
|
-
continue;
|
|
13963
|
-
}
|
|
13964
|
-
}
|
|
13965
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
13966
|
-
break;
|
|
13967
|
-
}
|
|
13968
|
-
reader.skip(tag & 7);
|
|
13969
|
-
}
|
|
13970
|
-
return message;
|
|
13971
|
-
} finally {
|
|
13972
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
13973
|
-
}
|
|
13974
|
-
},
|
|
13975
|
-
|
|
13976
|
-
fromJSON(object: any): BurnMapRequest {
|
|
13977
|
-
return {
|
|
13978
|
-
organizationId: isSet(object.organizationId)
|
|
13979
|
-
? globalThis.String(object.organizationId)
|
|
13980
|
-
: isSet(object.organization_id)
|
|
13981
|
-
? globalThis.String(object.organization_id)
|
|
13982
|
-
: "",
|
|
13983
|
-
projectId: isSet(object.projectId)
|
|
13984
|
-
? globalThis.String(object.projectId)
|
|
13985
|
-
: isSet(object.project_id)
|
|
13986
|
-
? globalThis.String(object.project_id)
|
|
13987
|
-
: "",
|
|
13988
|
-
};
|
|
13989
|
-
},
|
|
13990
|
-
|
|
13991
|
-
toJSON(message: BurnMapRequest): unknown {
|
|
13992
|
-
const obj: any = {};
|
|
13993
|
-
if (message.organizationId !== "") {
|
|
13994
|
-
obj.organizationId = message.organizationId;
|
|
13995
|
-
}
|
|
13996
|
-
if (message.projectId !== "") {
|
|
13997
|
-
obj.projectId = message.projectId;
|
|
13998
|
-
}
|
|
13999
|
-
return obj;
|
|
14000
|
-
},
|
|
14001
|
-
|
|
14002
|
-
create<I extends Exact<DeepPartial<BurnMapRequest>, I>>(base?: I): BurnMapRequest {
|
|
14003
|
-
return BurnMapRequest.fromPartial(base ?? ({} as any));
|
|
14004
|
-
},
|
|
14005
|
-
fromPartial<I extends Exact<DeepPartial<BurnMapRequest>, I>>(object: I): BurnMapRequest {
|
|
14006
|
-
const message = createBaseBurnMapRequest();
|
|
14007
|
-
message.organizationId = object.organizationId ?? "";
|
|
14008
|
-
message.projectId = object.projectId ?? "";
|
|
14009
|
-
return message;
|
|
14010
|
-
},
|
|
14011
|
-
};
|
|
14012
|
-
|
|
14013
|
-
function createBaseBurnMapFile(): BurnMapFile {
|
|
14014
|
-
return {
|
|
14015
|
-
repoId: "",
|
|
14016
|
-
repositoryKey: "",
|
|
14017
|
-
ref: "",
|
|
14018
|
-
path: "",
|
|
14019
|
-
state: "",
|
|
14020
|
-
edits: 0,
|
|
14021
|
-
distinctSessions: 0,
|
|
14022
|
-
unlandedCostUsd: 0,
|
|
14023
|
-
subscriptionUnlandedCostUsd: 0,
|
|
14024
|
-
totalCostUsd: 0,
|
|
14025
|
-
subscriptionTotalCostUsd: 0,
|
|
14026
|
-
};
|
|
14027
|
-
}
|
|
14028
|
-
|
|
14029
|
-
export const BurnMapFile: MessageFns<BurnMapFile> = {
|
|
14030
|
-
encode(message: BurnMapFile, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
14031
|
-
if (message.repoId !== "") {
|
|
14032
|
-
writer.uint32(10).string(message.repoId);
|
|
14033
|
-
}
|
|
14034
|
-
if (message.repositoryKey !== "") {
|
|
14035
|
-
writer.uint32(18).string(message.repositoryKey);
|
|
14036
|
-
}
|
|
14037
|
-
if (message.ref !== "") {
|
|
14038
|
-
writer.uint32(26).string(message.ref);
|
|
14039
|
-
}
|
|
14040
|
-
if (message.path !== "") {
|
|
14041
|
-
writer.uint32(34).string(message.path);
|
|
14042
|
-
}
|
|
14043
|
-
if (message.state !== "") {
|
|
14044
|
-
writer.uint32(42).string(message.state);
|
|
14045
|
-
}
|
|
14046
|
-
if (message.edits !== 0) {
|
|
14047
|
-
writer.uint32(48).uint64(message.edits);
|
|
14048
|
-
}
|
|
14049
|
-
if (message.distinctSessions !== 0) {
|
|
14050
|
-
writer.uint32(56).uint64(message.distinctSessions);
|
|
14051
|
-
}
|
|
14052
|
-
if (message.unlandedCostUsd !== 0) {
|
|
14053
|
-
writer.uint32(65).double(message.unlandedCostUsd);
|
|
14054
|
-
}
|
|
14055
|
-
if (message.subscriptionUnlandedCostUsd !== 0) {
|
|
14056
|
-
writer.uint32(73).double(message.subscriptionUnlandedCostUsd);
|
|
14057
|
-
}
|
|
14058
|
-
if (message.totalCostUsd !== 0) {
|
|
14059
|
-
writer.uint32(81).double(message.totalCostUsd);
|
|
14060
|
-
}
|
|
14061
|
-
if (message.subscriptionTotalCostUsd !== 0) {
|
|
14062
|
-
writer.uint32(89).double(message.subscriptionTotalCostUsd);
|
|
14063
|
-
}
|
|
14064
|
-
return writer;
|
|
14065
|
-
},
|
|
14066
|
-
|
|
14067
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BurnMapFile {
|
|
14068
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
14069
|
-
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
14070
|
-
if (previousRecursionDepth >= 100) {
|
|
14071
|
-
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
14072
|
-
}
|
|
14073
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
14074
|
-
try {
|
|
14075
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14076
|
-
const message = createBaseBurnMapFile();
|
|
14077
|
-
while (reader.pos < end) {
|
|
14078
|
-
const tag = reader.uint32();
|
|
14079
|
-
switch (tag >>> 3) {
|
|
14080
|
-
case 1: {
|
|
14081
|
-
if (tag !== 10) {
|
|
14082
|
-
break;
|
|
14083
|
-
}
|
|
14084
|
-
|
|
14085
|
-
message.repoId = reader.string();
|
|
14086
|
-
continue;
|
|
14087
|
-
}
|
|
14088
|
-
case 2: {
|
|
14089
|
-
if (tag !== 18) {
|
|
14090
|
-
break;
|
|
14091
|
-
}
|
|
14092
|
-
|
|
14093
|
-
message.repositoryKey = reader.string();
|
|
14094
|
-
continue;
|
|
14095
|
-
}
|
|
14096
|
-
case 3: {
|
|
14097
|
-
if (tag !== 26) {
|
|
14098
|
-
break;
|
|
14099
|
-
}
|
|
14100
|
-
|
|
14101
|
-
message.ref = reader.string();
|
|
14102
|
-
continue;
|
|
14103
|
-
}
|
|
14104
|
-
case 4: {
|
|
14105
|
-
if (tag !== 34) {
|
|
14106
|
-
break;
|
|
14107
|
-
}
|
|
14108
|
-
|
|
14109
|
-
message.path = reader.string();
|
|
14110
|
-
continue;
|
|
14111
|
-
}
|
|
14112
|
-
case 5: {
|
|
14113
|
-
if (tag !== 42) {
|
|
14114
|
-
break;
|
|
14115
|
-
}
|
|
14116
|
-
|
|
14117
|
-
message.state = reader.string();
|
|
14118
|
-
continue;
|
|
14119
|
-
}
|
|
14120
|
-
case 6: {
|
|
14121
|
-
if (tag !== 48) {
|
|
14122
|
-
break;
|
|
14123
|
-
}
|
|
14124
|
-
|
|
14125
|
-
message.edits = longToNumber(reader.uint64());
|
|
14126
|
-
continue;
|
|
14127
|
-
}
|
|
14128
|
-
case 7: {
|
|
14129
|
-
if (tag !== 56) {
|
|
14130
|
-
break;
|
|
14131
|
-
}
|
|
14132
|
-
|
|
14133
|
-
message.distinctSessions = longToNumber(reader.uint64());
|
|
14134
|
-
continue;
|
|
14135
|
-
}
|
|
14136
|
-
case 8: {
|
|
14137
|
-
if (tag !== 65) {
|
|
14138
|
-
break;
|
|
14139
|
-
}
|
|
14140
|
-
|
|
14141
|
-
message.unlandedCostUsd = reader.double();
|
|
14142
|
-
continue;
|
|
14143
|
-
}
|
|
14144
|
-
case 9: {
|
|
14145
|
-
if (tag !== 73) {
|
|
14146
|
-
break;
|
|
14147
|
-
}
|
|
14148
|
-
|
|
14149
|
-
message.subscriptionUnlandedCostUsd = reader.double();
|
|
14150
|
-
continue;
|
|
14151
|
-
}
|
|
14152
|
-
case 10: {
|
|
14153
|
-
if (tag !== 81) {
|
|
14154
|
-
break;
|
|
14155
|
-
}
|
|
14156
|
-
|
|
14157
|
-
message.totalCostUsd = reader.double();
|
|
14158
|
-
continue;
|
|
14159
|
-
}
|
|
14160
|
-
case 11: {
|
|
14161
|
-
if (tag !== 89) {
|
|
14162
|
-
break;
|
|
14163
|
-
}
|
|
14164
|
-
|
|
14165
|
-
message.subscriptionTotalCostUsd = reader.double();
|
|
14166
|
-
continue;
|
|
14167
|
-
}
|
|
14168
|
-
}
|
|
14169
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
14170
|
-
break;
|
|
14171
|
-
}
|
|
14172
|
-
reader.skip(tag & 7);
|
|
14173
|
-
}
|
|
14174
|
-
return message;
|
|
14175
|
-
} finally {
|
|
14176
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
14177
|
-
}
|
|
14178
|
-
},
|
|
14179
|
-
|
|
14180
|
-
fromJSON(object: any): BurnMapFile {
|
|
14181
|
-
return {
|
|
14182
|
-
repoId: isSet(object.repoId)
|
|
14183
|
-
? globalThis.String(object.repoId)
|
|
14184
|
-
: isSet(object.repo_id)
|
|
14185
|
-
? globalThis.String(object.repo_id)
|
|
14186
|
-
: "",
|
|
14187
|
-
repositoryKey: isSet(object.repositoryKey)
|
|
14188
|
-
? globalThis.String(object.repositoryKey)
|
|
14189
|
-
: isSet(object.repository_key)
|
|
14190
|
-
? globalThis.String(object.repository_key)
|
|
14191
|
-
: "",
|
|
14192
|
-
ref: isSet(object.ref) ? globalThis.String(object.ref) : "",
|
|
14193
|
-
path: isSet(object.path) ? globalThis.String(object.path) : "",
|
|
14194
|
-
state: isSet(object.state) ? globalThis.String(object.state) : "",
|
|
14195
|
-
edits: isSet(object.edits) ? globalThis.Number(object.edits) : 0,
|
|
14196
|
-
distinctSessions: isSet(object.distinctSessions)
|
|
14197
|
-
? globalThis.Number(object.distinctSessions)
|
|
14198
|
-
: isSet(object.distinct_sessions)
|
|
14199
|
-
? globalThis.Number(object.distinct_sessions)
|
|
14200
|
-
: 0,
|
|
14201
|
-
unlandedCostUsd: isSet(object.unlandedCostUsd)
|
|
14202
|
-
? globalThis.Number(object.unlandedCostUsd)
|
|
14203
|
-
: isSet(object.unlanded_cost_usd)
|
|
14204
|
-
? globalThis.Number(object.unlanded_cost_usd)
|
|
14205
|
-
: 0,
|
|
14206
|
-
subscriptionUnlandedCostUsd: isSet(object.subscriptionUnlandedCostUsd)
|
|
14207
|
-
? globalThis.Number(object.subscriptionUnlandedCostUsd)
|
|
14208
|
-
: isSet(object.subscription_unlanded_cost_usd)
|
|
14209
|
-
? globalThis.Number(object.subscription_unlanded_cost_usd)
|
|
14210
|
-
: 0,
|
|
14211
|
-
totalCostUsd: isSet(object.totalCostUsd)
|
|
14212
|
-
? globalThis.Number(object.totalCostUsd)
|
|
14213
|
-
: isSet(object.total_cost_usd)
|
|
14214
|
-
? globalThis.Number(object.total_cost_usd)
|
|
14215
|
-
: 0,
|
|
14216
|
-
subscriptionTotalCostUsd: isSet(object.subscriptionTotalCostUsd)
|
|
14217
|
-
? globalThis.Number(object.subscriptionTotalCostUsd)
|
|
14218
|
-
: isSet(object.subscription_total_cost_usd)
|
|
14219
|
-
? globalThis.Number(object.subscription_total_cost_usd)
|
|
14220
|
-
: 0,
|
|
14221
|
-
};
|
|
14222
|
-
},
|
|
14223
|
-
|
|
14224
|
-
toJSON(message: BurnMapFile): unknown {
|
|
14225
|
-
const obj: any = {};
|
|
14226
|
-
if (message.repoId !== "") {
|
|
14227
|
-
obj.repoId = message.repoId;
|
|
14228
|
-
}
|
|
14229
|
-
if (message.repositoryKey !== "") {
|
|
14230
|
-
obj.repositoryKey = message.repositoryKey;
|
|
14231
|
-
}
|
|
14232
|
-
if (message.ref !== "") {
|
|
14233
|
-
obj.ref = message.ref;
|
|
14234
|
-
}
|
|
14235
|
-
if (message.path !== "") {
|
|
14236
|
-
obj.path = message.path;
|
|
14237
|
-
}
|
|
14238
|
-
if (message.state !== "") {
|
|
14239
|
-
obj.state = message.state;
|
|
14240
|
-
}
|
|
14241
|
-
if (message.edits !== 0) {
|
|
14242
|
-
obj.edits = Math.round(message.edits);
|
|
14243
|
-
}
|
|
14244
|
-
if (message.distinctSessions !== 0) {
|
|
14245
|
-
obj.distinctSessions = Math.round(message.distinctSessions);
|
|
14246
|
-
}
|
|
14247
|
-
if (message.unlandedCostUsd !== 0) {
|
|
14248
|
-
obj.unlandedCostUsd = message.unlandedCostUsd;
|
|
14249
|
-
}
|
|
14250
|
-
if (message.subscriptionUnlandedCostUsd !== 0) {
|
|
14251
|
-
obj.subscriptionUnlandedCostUsd = message.subscriptionUnlandedCostUsd;
|
|
14252
|
-
}
|
|
14253
|
-
if (message.totalCostUsd !== 0) {
|
|
14254
|
-
obj.totalCostUsd = message.totalCostUsd;
|
|
14255
|
-
}
|
|
14256
|
-
if (message.subscriptionTotalCostUsd !== 0) {
|
|
14257
|
-
obj.subscriptionTotalCostUsd = message.subscriptionTotalCostUsd;
|
|
14258
|
-
}
|
|
14259
|
-
return obj;
|
|
14260
|
-
},
|
|
14261
|
-
|
|
14262
|
-
create<I extends Exact<DeepPartial<BurnMapFile>, I>>(base?: I): BurnMapFile {
|
|
14263
|
-
return BurnMapFile.fromPartial(base ?? ({} as any));
|
|
14264
|
-
},
|
|
14265
|
-
fromPartial<I extends Exact<DeepPartial<BurnMapFile>, I>>(object: I): BurnMapFile {
|
|
14266
|
-
const message = createBaseBurnMapFile();
|
|
14267
|
-
message.repoId = object.repoId ?? "";
|
|
14268
|
-
message.repositoryKey = object.repositoryKey ?? "";
|
|
14269
|
-
message.ref = object.ref ?? "";
|
|
14270
|
-
message.path = object.path ?? "";
|
|
14271
|
-
message.state = object.state ?? "";
|
|
14272
|
-
message.edits = object.edits ?? 0;
|
|
14273
|
-
message.distinctSessions = object.distinctSessions ?? 0;
|
|
14274
|
-
message.unlandedCostUsd = object.unlandedCostUsd ?? 0;
|
|
14275
|
-
message.subscriptionUnlandedCostUsd = object.subscriptionUnlandedCostUsd ?? 0;
|
|
14276
|
-
message.totalCostUsd = object.totalCostUsd ?? 0;
|
|
14277
|
-
message.subscriptionTotalCostUsd = object.subscriptionTotalCostUsd ?? 0;
|
|
14278
|
-
return message;
|
|
14279
|
-
},
|
|
14280
|
-
};
|
|
14281
|
-
|
|
14282
13895
|
function createBaseFilesSummaryRequest(): FilesSummaryRequest {
|
|
14283
13896
|
return { organizationId: "", projectId: "", filter: undefined, abandonedHorizon: undefined, groupBy: 0 };
|
|
14284
13897
|
}
|
|
@@ -17015,12 +16628,6 @@ export interface AIGatewayService {
|
|
|
17015
16628
|
* unverified, a complete snapshot re-derived each tick.
|
|
17016
16629
|
*/
|
|
17017
16630
|
StreamFilesSummary(request: FilesSummaryRequest, metadata?: Metadata): Observable<FilesSummary>;
|
|
17018
|
-
/**
|
|
17019
|
-
* GetBurnMap streams the burn-map treemap's per-file tiles so the client no longer pages every file row to
|
|
17020
|
-
* build them. Hottest by unlanded cost first; server-streaming so a large project never exceeds the message
|
|
17021
|
-
* size limit. Squarify geometry stays client-side.
|
|
17022
|
-
*/
|
|
17023
|
-
GetBurnMap(request: BurnMapRequest, metadata?: Metadata): Observable<BurnMapFile>;
|
|
17024
16631
|
/** Latest observed list price per (source, provider, model) from the global catalog. */
|
|
17025
16632
|
ListModelPrices(request: ListModelPricesRequest, metadata?: Metadata): Promise<ListModelPricesResponse>;
|
|
17026
16633
|
/**
|
|
@@ -17071,7 +16678,6 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
17071
16678
|
this.StreamProjectOverview = this.StreamProjectOverview.bind(this);
|
|
17072
16679
|
this.ListFiles = this.ListFiles.bind(this);
|
|
17073
16680
|
this.StreamFilesSummary = this.StreamFilesSummary.bind(this);
|
|
17074
|
-
this.GetBurnMap = this.GetBurnMap.bind(this);
|
|
17075
16681
|
this.ListModelPrices = this.ListModelPrices.bind(this);
|
|
17076
16682
|
this.ListModelPriceHistory = this.ListModelPriceHistory.bind(this);
|
|
17077
16683
|
this.ListResourceRankings = this.ListResourceRankings.bind(this);
|
|
@@ -17197,12 +16803,6 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
17197
16803
|
return result.pipe(map((data) => FilesSummary.decode(new BinaryReader(data))));
|
|
17198
16804
|
}
|
|
17199
16805
|
|
|
17200
|
-
GetBurnMap(request: BurnMapRequest, metadata?: Metadata): Observable<BurnMapFile> {
|
|
17201
|
-
const data = BurnMapRequest.encode(request).finish();
|
|
17202
|
-
const result = this.rpc.serverStreamingRequest(this.service, "GetBurnMap", data, metadata);
|
|
17203
|
-
return result.pipe(map((data) => BurnMapFile.decode(new BinaryReader(data))));
|
|
17204
|
-
}
|
|
17205
|
-
|
|
17206
16806
|
ListModelPrices(request: ListModelPricesRequest, metadata?: Metadata): Promise<ListModelPricesResponse> {
|
|
17207
16807
|
const data = ListModelPricesRequest.encode(request).finish();
|
|
17208
16808
|
const promise = this.rpc.request(this.service, "ListModelPrices", data, metadata);
|
|
@@ -52,28 +52,6 @@ function deserialize_gateway_web_v1_ActivityRhythmRequest(buffer_arg) {
|
|
|
52
52
|
return proto_gateway_web_v1_ai_gateway_pb.ActivityRhythmRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function serialize_gateway_web_v1_BurnMapFile(arg) {
|
|
56
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnMapFile)) {
|
|
57
|
-
throw new Error('Expected argument of type gateway.web.v1.BurnMapFile');
|
|
58
|
-
}
|
|
59
|
-
return Buffer.from(arg.serializeBinary());
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function deserialize_gateway_web_v1_BurnMapFile(buffer_arg) {
|
|
63
|
-
return proto_gateway_web_v1_ai_gateway_pb.BurnMapFile.deserializeBinary(new Uint8Array(buffer_arg));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function serialize_gateway_web_v1_BurnMapRequest(arg) {
|
|
67
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest)) {
|
|
68
|
-
throw new Error('Expected argument of type gateway.web.v1.BurnMapRequest');
|
|
69
|
-
}
|
|
70
|
-
return Buffer.from(arg.serializeBinary());
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
function deserialize_gateway_web_v1_BurnMapRequest(buffer_arg) {
|
|
74
|
-
return proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
55
|
function serialize_gateway_web_v1_BurnRate(arg) {
|
|
78
56
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnRate)) {
|
|
79
57
|
throw new Error('Expected argument of type gateway.web.v1.BurnRate');
|
|
@@ -778,20 +756,6 @@ streamFilesSummary: {
|
|
|
778
756
|
responseSerialize: serialize_gateway_web_v1_FilesSummary,
|
|
779
757
|
responseDeserialize: deserialize_gateway_web_v1_FilesSummary,
|
|
780
758
|
},
|
|
781
|
-
// GetBurnMap streams the burn-map treemap's per-file tiles so the client no longer pages every file row to
|
|
782
|
-
// build them. Hottest by unlanded cost first; server-streaming so a large project never exceeds the message
|
|
783
|
-
// size limit. Squarify geometry stays client-side.
|
|
784
|
-
getBurnMap: {
|
|
785
|
-
path: '/gateway.web.v1.AIGatewayService/GetBurnMap',
|
|
786
|
-
requestStream: false,
|
|
787
|
-
responseStream: true,
|
|
788
|
-
requestType: proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest,
|
|
789
|
-
responseType: proto_gateway_web_v1_ai_gateway_pb.BurnMapFile,
|
|
790
|
-
requestSerialize: serialize_gateway_web_v1_BurnMapRequest,
|
|
791
|
-
requestDeserialize: deserialize_gateway_web_v1_BurnMapRequest,
|
|
792
|
-
responseSerialize: serialize_gateway_web_v1_BurnMapFile,
|
|
793
|
-
responseDeserialize: deserialize_gateway_web_v1_BurnMapFile,
|
|
794
|
-
},
|
|
795
759
|
// Latest observed list price per (source, provider, model) from the global catalog.
|
|
796
760
|
listModelPrices: {
|
|
797
761
|
path: '/gateway.web.v1.AIGatewayService/ListModelPrices',
|