weave-typescript 0.51.3 → 0.53.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/dist/google/protobuf/duration.pb.d.ts +99 -0
- package/dist/google/protobuf/duration.pb.js +93 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/weave/authz/v1/index.d.ts +1 -0
- package/dist/weave/authz/v1/index.js +38 -0
- package/dist/weave/authz/v1/options.pb.d.ts +52 -0
- package/dist/weave/authz/v1/options.pb.js +403 -0
- package/dist/weave/filter/v1/index.d.ts +1 -0
- package/dist/weave/filter/v1/index.js +38 -0
- package/dist/{weaveapi/atc/v1/message.pb.d.ts → weave/filter/v1/options.pb.d.ts} +33 -21
- package/dist/weave/filter/v1/options.pb.js +417 -0
- package/dist/weave/index.d.ts +2 -0
- package/dist/weave/index.js +39 -0
- package/dist/weaveapi/agent/v1/agent.pb.d.ts +137 -188
- package/dist/weaveapi/agent/v1/agent.pb.js +891 -2151
- package/dist/weaveapi/agent/v1/index.d.ts +1 -1
- package/dist/weaveapi/agent/v1/index.js +2 -2
- package/dist/weaveapi/agent/v1/run.pb.d.ts +289 -0
- package/dist/weaveapi/agent/v1/run.pb.js +2763 -0
- package/dist/weaveapi/auth/v1/auth.pb.d.ts +67 -14
- package/dist/weaveapi/auth/v1/auth.pb.js +829 -89
- package/dist/weaveapi/auth/v1/index.d.ts +4 -1
- package/dist/weaveapi/auth/v1/index.js +5 -2
- package/dist/weaveapi/auth/v1/{service.pb.d.ts → organization_admin.pb.d.ts} +39 -530
- package/dist/weaveapi/auth/v1/{service.pb.js → organization_admin.pb.js} +2978 -5812
- package/dist/weaveapi/auth/v1/personal_access_token.pb.d.ts +114 -0
- package/dist/weaveapi/auth/v1/personal_access_token.pb.js +750 -0
- package/dist/weaveapi/auth/v1/profile.pb.d.ts +161 -0
- package/dist/weaveapi/auth/v1/profile.pb.js +1007 -0
- package/dist/weaveapi/auth/v1/session.pb.d.ts +460 -0
- package/dist/weaveapi/auth/v1/session.pb.js +3544 -0
- package/dist/weaveapi/chat/v1/chat.pb.d.ts +377 -149
- package/dist/weaveapi/chat/v1/chat.pb.js +3492 -1614
- package/dist/weaveapi/chat/v1/index.d.ts +0 -1
- package/dist/weaveapi/chat/v1/index.js +1 -2
- package/dist/weaveapi/consolidation/v1/consolidation.pb.d.ts +95 -0
- package/dist/weaveapi/consolidation/v1/consolidation.pb.js +770 -1
- package/dist/weaveapi/consolidation/v1/index.d.ts +0 -1
- package/dist/weaveapi/consolidation/v1/index.js +1 -2
- package/dist/weaveapi/content/v1/content.pb.d.ts +63 -0
- package/dist/weaveapi/content/v1/content.pb.js +470 -0
- package/dist/weaveapi/content/v1/index.d.ts +1 -0
- package/dist/weaveapi/content/v1/index.js +38 -0
- package/dist/weaveapi/gateway/v1/gateway.pb.d.ts +247 -523
- package/dist/weaveapi/gateway/v1/gateway.pb.js +1648 -5783
- package/dist/weaveapi/gateway/v1/index.d.ts +0 -1
- package/dist/weaveapi/gateway/v1/index.js +1 -2
- package/dist/weaveapi/index.d.ts +5 -5
- package/dist/weaveapi/index.js +6 -6
- package/dist/weaveapi/inference/v1/generate.pb.d.ts +120 -0
- package/dist/weaveapi/inference/v1/generate.pb.js +1159 -0
- package/dist/weaveapi/inference/v1/index.d.ts +4 -0
- package/dist/weaveapi/{provider → inference}/v1/index.js +4 -2
- package/dist/weaveapi/{model → inference}/v1/model.pb.d.ts +54 -15
- package/dist/weaveapi/{model → inference}/v1/model.pb.js +573 -116
- package/dist/weaveapi/{model/v1/service.pb.d.ts → inference/v1/model_route.pb.d.ts} +184 -110
- package/dist/weaveapi/{model/v1/service.pb.js → inference/v1/model_route.pb.js} +2240 -1061
- package/dist/weaveapi/inference/v1/provider.pb.d.ts +264 -0
- package/dist/weaveapi/inference/v1/provider.pb.js +2590 -0
- package/dist/weaveapi/ingestion/v1/index.d.ts +0 -2
- package/dist/weaveapi/ingestion/v1/index.js +1 -3
- package/dist/weaveapi/ingestion/v1/ingestion.pb.d.ts +543 -0
- package/dist/weaveapi/ingestion/v1/ingestion.pb.js +5550 -16
- package/dist/weaveapi/initialization/v1/index.d.ts +1 -0
- package/dist/weaveapi/initialization/v1/index.js +38 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.d.ts +99 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.js +510 -0
- package/dist/weaveapi/organization/v1/index.d.ts +0 -1
- package/dist/weaveapi/organization/v1/index.js +1 -2
- package/dist/weaveapi/organization/v1/organization.pb.d.ts +241 -0
- package/dist/weaveapi/organization/v1/organization.pb.js +1838 -1
- package/dist/weaveapi/reporting/index.d.ts +1 -0
- package/dist/weaveapi/reporting/index.js +38 -0
- package/dist/weaveapi/{task → reporting}/v1/index.d.ts +1 -1
- package/dist/weaveapi/{model → reporting}/v1/index.js +2 -2
- package/dist/weaveapi/reporting/v1/service.pb.d.ts +38 -0
- package/dist/weaveapi/reporting/v1/service.pb.js +167 -0
- package/dist/weaveapi/reporting/v1/usage.pb.d.ts +150 -0
- package/dist/weaveapi/reporting/v1/usage.pb.js +1837 -0
- package/dist/weaveapi/retrieval/v1/index.d.ts +0 -1
- package/dist/weaveapi/retrieval/v1/index.js +1 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.d.ts +96 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.js +690 -10
- package/dist/weaveapi/tool/index.d.ts +1 -0
- package/dist/weaveapi/tool/index.js +38 -0
- package/dist/weaveapi/tool/v1/index.d.ts +1 -0
- package/dist/weaveapi/tool/v1/index.js +38 -0
- package/dist/weaveapi/tool/v1/tool.pb.d.ts +370 -0
- package/dist/weaveapi/tool/v1/tool.pb.js +2717 -0
- package/dist/weaveapi/workflow/v1/index.d.ts +1 -1
- package/dist/weaveapi/workflow/v1/index.js +2 -2
- package/dist/weaveapi/workflow/v1/run.pb.d.ts +244 -0
- package/dist/weaveapi/workflow/v1/run.pb.js +2084 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +122 -275
- package/dist/weaveapi/workflow/v1/workflow.pb.js +790 -3261
- package/dist/weavesql/weavedb/agent_sql.d.ts +173 -477
- package/dist/weavesql/weavedb/agent_sql.js +281 -758
- package/dist/weavesql/weavedb/authorization_outbox_sql.d.ts +261 -0
- package/dist/weavesql/weavedb/authorization_outbox_sql.js +445 -0
- package/dist/weavesql/weavedb/chat_sql.d.ts +103 -345
- package/dist/weavesql/weavedb/chat_sql.js +312 -597
- package/dist/weavesql/weavedb/document_consolidation_sql.d.ts +217 -0
- package/dist/weavesql/weavedb/document_consolidation_sql.js +486 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.d.ts +1433 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.js +3488 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.d.ts +314 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.js +965 -0
- package/dist/weavesql/weavedb/document_table_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/document_table_sql.js +12 -12
- package/dist/weavesql/weavedb/identity_sql.d.ts +1021 -0
- package/dist/weavesql/weavedb/identity_sql.js +1818 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.d.ts +167 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.js +483 -0
- package/dist/weavesql/weavedb/inference_provider_sql.d.ts +125 -0
- package/dist/weavesql/weavedb/inference_provider_sql.js +228 -0
- package/dist/weavesql/weavedb/initialization_sql.d.ts +15 -0
- package/dist/weavesql/weavedb/initialization_sql.js +33 -0
- package/dist/weavesql/weavedb/model_catalog_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/model_catalog_sql.js +6 -6
- package/dist/weavesql/weavedb/organization_sql.d.ts +24 -102
- package/dist/weavesql/weavedb/organization_sql.js +56 -262
- package/dist/weavesql/weavedb/tool_sql.d.ts +209 -0
- package/dist/weavesql/weavedb/tool_sql.js +407 -0
- package/dist/weavesql/weavedb/usage_sql.d.ts +356 -0
- package/dist/weavesql/weavedb/usage_sql.js +568 -0
- package/dist/weavesql/weavedb/workflow_sql.d.ts +159 -546
- package/dist/weavesql/weavedb/workflow_sql.js +281 -909
- package/package.json +1 -1
- package/dist/weaveapi/agent/v1/service.pb.d.ts +0 -397
- package/dist/weaveapi/agent/v1/service.pb.js +0 -3152
- package/dist/weaveapi/atc/v1/event.pb.d.ts +0 -134
- package/dist/weaveapi/atc/v1/event.pb.js +0 -1124
- package/dist/weaveapi/atc/v1/index.d.ts +0 -5
- package/dist/weaveapi/atc/v1/index.js +0 -42
- package/dist/weaveapi/atc/v1/message.pb.js +0 -287
- package/dist/weaveapi/atc/v1/process.pb.d.ts +0 -91
- package/dist/weaveapi/atc/v1/process.pb.js +0 -658
- package/dist/weaveapi/atc/v1/run.pb.d.ts +0 -71
- package/dist/weaveapi/atc/v1/run.pb.js +0 -525
- package/dist/weaveapi/atc/v1/service.pb.d.ts +0 -472
- package/dist/weaveapi/atc/v1/service.pb.js +0 -3093
- package/dist/weaveapi/chat/v1/service.pb.d.ts +0 -345
- package/dist/weaveapi/chat/v1/service.pb.js +0 -2545
- package/dist/weaveapi/consolidation/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/consolidation/v1/service.pb.js +0 -427
- package/dist/weaveapi/gateway/v1/service.pb.d.ts +0 -235
- package/dist/weaveapi/gateway/v1/service.pb.js +0 -651
- package/dist/weaveapi/ingestion/v1/service.pb.d.ts +0 -420
- package/dist/weaveapi/ingestion/v1/service.pb.js +0 -2311
- package/dist/weaveapi/ingestion/v1/table.pb.d.ts +0 -121
- package/dist/weaveapi/ingestion/v1/table.pb.js +0 -1478
- package/dist/weaveapi/model/v1/index.d.ts +0 -2
- package/dist/weaveapi/organization/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/organization/v1/service.pb.js +0 -1561
- package/dist/weaveapi/project/v1/index.d.ts +0 -2
- package/dist/weaveapi/project/v1/index.js +0 -39
- package/dist/weaveapi/project/v1/project.pb.d.ts +0 -105
- package/dist/weaveapi/project/v1/project.pb.js +0 -1004
- package/dist/weaveapi/project/v1/service.pb.d.ts +0 -247
- package/dist/weaveapi/project/v1/service.pb.js +0 -1994
- package/dist/weaveapi/provider/v1/index.d.ts +0 -2
- package/dist/weaveapi/provider/v1/provider.pb.d.ts +0 -137
- package/dist/weaveapi/provider/v1/provider.pb.js +0 -1000
- package/dist/weaveapi/provider/v1/service.pb.d.ts +0 -223
- package/dist/weaveapi/provider/v1/service.pb.js +0 -1888
- package/dist/weaveapi/retrieval/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/retrieval/v1/service.pb.js +0 -385
- package/dist/weaveapi/task/v1/index.js +0 -39
- package/dist/weaveapi/task/v1/service.pb.d.ts +0 -172
- package/dist/weaveapi/task/v1/service.pb.js +0 -1436
- package/dist/weaveapi/task/v1/task.pb.d.ts +0 -85
- package/dist/weaveapi/task/v1/task.pb.js +0 -802
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -392
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -3146
- /package/dist/{weaveapi/atc → weave/authz}/index.d.ts +0 -0
- /package/dist/{weaveapi/atc → weave/authz}/index.js +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.d.ts +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.js +0 -0
- /package/dist/weaveapi/{project → content}/index.d.ts +0 -0
- /package/dist/weaveapi/{project → content}/index.js +0 -0
- /package/dist/weaveapi/{provider → inference}/index.d.ts +0 -0
- /package/dist/weaveapi/{provider → inference}/index.js +0 -0
- /package/dist/weaveapi/{task → initialization}/index.d.ts +0 -0
- /package/dist/weaveapi/{task → initialization}/index.js +0 -0
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc unknown
|
|
6
|
-
// source: weaveapi/
|
|
6
|
+
// source: weaveapi/inference/v1/model_route.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.InferenceModelServiceDefinition = exports.InferenceModelServiceClientImpl = exports.InferenceModelServiceServiceName = exports.InferenceModelRoute = exports.SetChatDefaultsResponse = exports.SetChatDefaultsRequest = exports.GetChatDefaultsResponse = exports.GetChatDefaultsRequest = exports.SetIngestionSettingsResponse = exports.SetIngestionSettingsRequest = exports.GetIngestionSettingsResponse = exports.GetIngestionSettingsRequest = exports.GetCatalogModelResponse = exports.GetCatalogModelRequest = exports.GetModelResponse = exports.GetModelRequest = exports.ListInferenceModelRoutesResponse = exports.ListInferenceModelRoutesRequest = exports.DeleteInferenceModelRouteResponse = exports.DeleteInferenceModelRouteRequest = exports.UpdateInferenceModelRouteResponse = exports.UpdateInferenceModelRouteRequest = exports.GetInferenceModelRouteResponse = exports.GetInferenceModelRouteRequest = exports.CreateInferenceModelRouteResponse = exports.CreateInferenceModelRouteRequest = exports.ListCatalogProvidersResponse = exports.ListCatalogProvidersRequest = exports.ListModelsResponse = exports.ListModelsRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
-
const timestamp_pb_1 = require("../../../google/protobuf/timestamp.pb");
|
|
12
|
-
const provider_pb_1 = require("../../provider/v1/provider.pb");
|
|
13
11
|
const model_pb_1 = require("./model.pb");
|
|
14
|
-
exports.protobufPackage = "weaveapi.
|
|
12
|
+
exports.protobufPackage = "weaveapi.inference.v1";
|
|
15
13
|
function createBaseListModelsRequest() {
|
|
16
14
|
return { providerKind: 0, requiredCapabilities: [], primaryType: 0, pageToken: "", pageSize: 0 };
|
|
17
15
|
}
|
|
@@ -96,9 +94,9 @@ exports.ListModelsRequest = {
|
|
|
96
94
|
fromJSON(object) {
|
|
97
95
|
return {
|
|
98
96
|
providerKind: isSet(object.providerKind)
|
|
99
|
-
? (0,
|
|
97
|
+
? (0, model_pb_1.provider_KindFromJSON)(object.providerKind)
|
|
100
98
|
: isSet(object.provider_kind)
|
|
101
|
-
? (0,
|
|
99
|
+
? (0, model_pb_1.provider_KindFromJSON)(object.provider_kind)
|
|
102
100
|
: 0,
|
|
103
101
|
requiredCapabilities: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.requiredCapabilities)
|
|
104
102
|
? object.requiredCapabilities.map((e) => (0, model_pb_1.modelCapabilityFromJSON)(e))
|
|
@@ -126,7 +124,7 @@ exports.ListModelsRequest = {
|
|
|
126
124
|
var _a;
|
|
127
125
|
const obj = {};
|
|
128
126
|
if (message.providerKind !== 0) {
|
|
129
|
-
obj.providerKind = (0,
|
|
127
|
+
obj.providerKind = (0, model_pb_1.provider_KindToJSON)(message.providerKind);
|
|
130
128
|
}
|
|
131
129
|
if ((_a = message.requiredCapabilities) === null || _a === void 0 ? void 0 : _a.length) {
|
|
132
130
|
obj.requiredCapabilities = message.requiredCapabilities.map((e) => (0, model_pb_1.modelCapabilityToJSON)(e));
|
|
@@ -232,23 +230,123 @@ exports.ListModelsResponse = {
|
|
|
232
230
|
return message;
|
|
233
231
|
},
|
|
234
232
|
};
|
|
235
|
-
function
|
|
236
|
-
return {
|
|
233
|
+
function createBaseListCatalogProvidersRequest() {
|
|
234
|
+
return {};
|
|
237
235
|
}
|
|
238
|
-
exports.
|
|
236
|
+
exports.ListCatalogProvidersRequest = {
|
|
237
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
238
|
+
return writer;
|
|
239
|
+
},
|
|
240
|
+
decode(input, length) {
|
|
241
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
242
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
243
|
+
const message = createBaseListCatalogProvidersRequest();
|
|
244
|
+
while (reader.pos < end) {
|
|
245
|
+
const tag = reader.uint32();
|
|
246
|
+
switch (tag >>> 3) {
|
|
247
|
+
}
|
|
248
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
reader.skip(tag & 7);
|
|
252
|
+
}
|
|
253
|
+
return message;
|
|
254
|
+
},
|
|
255
|
+
fromJSON(_) {
|
|
256
|
+
return {};
|
|
257
|
+
},
|
|
258
|
+
toJSON(_) {
|
|
259
|
+
const obj = {};
|
|
260
|
+
return obj;
|
|
261
|
+
},
|
|
262
|
+
create(base) {
|
|
263
|
+
return exports.ListCatalogProvidersRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
264
|
+
},
|
|
265
|
+
fromPartial(_) {
|
|
266
|
+
const message = createBaseListCatalogProvidersRequest();
|
|
267
|
+
return message;
|
|
268
|
+
},
|
|
269
|
+
};
|
|
270
|
+
function createBaseListCatalogProvidersResponse() {
|
|
271
|
+
return { providers: [] };
|
|
272
|
+
}
|
|
273
|
+
exports.ListCatalogProvidersResponse = {
|
|
274
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
275
|
+
for (const v of message.providers) {
|
|
276
|
+
model_pb_1.CatalogProvider.encode(v, writer.uint32(10).fork()).join();
|
|
277
|
+
}
|
|
278
|
+
return writer;
|
|
279
|
+
},
|
|
280
|
+
decode(input, length) {
|
|
281
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
282
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
283
|
+
const message = createBaseListCatalogProvidersResponse();
|
|
284
|
+
while (reader.pos < end) {
|
|
285
|
+
const tag = reader.uint32();
|
|
286
|
+
switch (tag >>> 3) {
|
|
287
|
+
case 1: {
|
|
288
|
+
if (tag !== 10) {
|
|
289
|
+
break;
|
|
290
|
+
}
|
|
291
|
+
message.providers.push(model_pb_1.CatalogProvider.decode(reader, reader.uint32()));
|
|
292
|
+
continue;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
reader.skip(tag & 7);
|
|
299
|
+
}
|
|
300
|
+
return message;
|
|
301
|
+
},
|
|
302
|
+
fromJSON(object) {
|
|
303
|
+
return {
|
|
304
|
+
providers: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.providers)
|
|
305
|
+
? object.providers.map((e) => model_pb_1.CatalogProvider.fromJSON(e))
|
|
306
|
+
: [],
|
|
307
|
+
};
|
|
308
|
+
},
|
|
309
|
+
toJSON(message) {
|
|
310
|
+
var _a;
|
|
311
|
+
const obj = {};
|
|
312
|
+
if ((_a = message.providers) === null || _a === void 0 ? void 0 : _a.length) {
|
|
313
|
+
obj.providers = message.providers.map((e) => model_pb_1.CatalogProvider.toJSON(e));
|
|
314
|
+
}
|
|
315
|
+
return obj;
|
|
316
|
+
},
|
|
317
|
+
create(base) {
|
|
318
|
+
return exports.ListCatalogProvidersResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
319
|
+
},
|
|
320
|
+
fromPartial(object) {
|
|
321
|
+
var _a;
|
|
322
|
+
const message = createBaseListCatalogProvidersResponse();
|
|
323
|
+
message.providers = ((_a = object.providers) === null || _a === void 0 ? void 0 : _a.map((e) => model_pb_1.CatalogProvider.fromPartial(e))) || [];
|
|
324
|
+
return message;
|
|
325
|
+
},
|
|
326
|
+
};
|
|
327
|
+
function createBaseCreateInferenceModelRouteRequest() {
|
|
328
|
+
return { modelId: "", providerConfigurationId: "", providerModelId: "", priority: 0 };
|
|
329
|
+
}
|
|
330
|
+
exports.CreateInferenceModelRouteRequest = {
|
|
239
331
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
240
332
|
if (message.modelId !== "") {
|
|
241
333
|
writer.uint32(10).string(message.modelId);
|
|
242
334
|
}
|
|
243
|
-
if (message.
|
|
244
|
-
writer.uint32(
|
|
335
|
+
if (message.providerConfigurationId !== "") {
|
|
336
|
+
writer.uint32(18).string(message.providerConfigurationId);
|
|
337
|
+
}
|
|
338
|
+
if (message.providerModelId !== "") {
|
|
339
|
+
writer.uint32(26).string(message.providerModelId);
|
|
340
|
+
}
|
|
341
|
+
if (message.priority !== 0) {
|
|
342
|
+
writer.uint32(32).int32(message.priority);
|
|
245
343
|
}
|
|
246
344
|
return writer;
|
|
247
345
|
},
|
|
248
346
|
decode(input, length) {
|
|
249
347
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
250
348
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
251
|
-
const message =
|
|
349
|
+
const message = createBaseCreateInferenceModelRouteRequest();
|
|
252
350
|
while (reader.pos < end) {
|
|
253
351
|
const tag = reader.uint32();
|
|
254
352
|
switch (tag >>> 3) {
|
|
@@ -260,10 +358,24 @@ exports.GetModelRequest = {
|
|
|
260
358
|
continue;
|
|
261
359
|
}
|
|
262
360
|
case 2: {
|
|
263
|
-
if (tag !==
|
|
361
|
+
if (tag !== 18) {
|
|
264
362
|
break;
|
|
265
363
|
}
|
|
266
|
-
message.
|
|
364
|
+
message.providerConfigurationId = reader.string();
|
|
365
|
+
continue;
|
|
366
|
+
}
|
|
367
|
+
case 3: {
|
|
368
|
+
if (tag !== 26) {
|
|
369
|
+
break;
|
|
370
|
+
}
|
|
371
|
+
message.providerModelId = reader.string();
|
|
372
|
+
continue;
|
|
373
|
+
}
|
|
374
|
+
case 4: {
|
|
375
|
+
if (tag !== 32) {
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
message.priority = reader.int32();
|
|
267
379
|
continue;
|
|
268
380
|
}
|
|
269
381
|
}
|
|
@@ -281,11 +393,17 @@ exports.GetModelRequest = {
|
|
|
281
393
|
: isSet(object.model_id)
|
|
282
394
|
? globalThis.String(object.model_id)
|
|
283
395
|
: "",
|
|
284
|
-
|
|
285
|
-
?
|
|
286
|
-
: isSet(object.
|
|
287
|
-
?
|
|
288
|
-
:
|
|
396
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
397
|
+
? globalThis.String(object.providerConfigurationId)
|
|
398
|
+
: isSet(object.provider_configuration_id)
|
|
399
|
+
? globalThis.String(object.provider_configuration_id)
|
|
400
|
+
: "",
|
|
401
|
+
providerModelId: isSet(object.providerModelId)
|
|
402
|
+
? globalThis.String(object.providerModelId)
|
|
403
|
+
: isSet(object.provider_model_id)
|
|
404
|
+
? globalThis.String(object.provider_model_id)
|
|
405
|
+
: "",
|
|
406
|
+
priority: isSet(object.priority) ? globalThis.Number(object.priority) : 0,
|
|
289
407
|
};
|
|
290
408
|
},
|
|
291
409
|
toJSON(message) {
|
|
@@ -293,36 +411,44 @@ exports.GetModelRequest = {
|
|
|
293
411
|
if (message.modelId !== "") {
|
|
294
412
|
obj.modelId = message.modelId;
|
|
295
413
|
}
|
|
296
|
-
if (message.
|
|
297
|
-
obj.
|
|
414
|
+
if (message.providerConfigurationId !== "") {
|
|
415
|
+
obj.providerConfigurationId = message.providerConfigurationId;
|
|
416
|
+
}
|
|
417
|
+
if (message.providerModelId !== "") {
|
|
418
|
+
obj.providerModelId = message.providerModelId;
|
|
419
|
+
}
|
|
420
|
+
if (message.priority !== 0) {
|
|
421
|
+
obj.priority = Math.round(message.priority);
|
|
298
422
|
}
|
|
299
423
|
return obj;
|
|
300
424
|
},
|
|
301
425
|
create(base) {
|
|
302
|
-
return exports.
|
|
426
|
+
return exports.CreateInferenceModelRouteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
303
427
|
},
|
|
304
428
|
fromPartial(object) {
|
|
305
|
-
var _a, _b;
|
|
306
|
-
const message =
|
|
429
|
+
var _a, _b, _c, _d;
|
|
430
|
+
const message = createBaseCreateInferenceModelRouteRequest();
|
|
307
431
|
message.modelId = (_a = object.modelId) !== null && _a !== void 0 ? _a : "";
|
|
308
|
-
message.
|
|
432
|
+
message.providerConfigurationId = (_b = object.providerConfigurationId) !== null && _b !== void 0 ? _b : "";
|
|
433
|
+
message.providerModelId = (_c = object.providerModelId) !== null && _c !== void 0 ? _c : "";
|
|
434
|
+
message.priority = (_d = object.priority) !== null && _d !== void 0 ? _d : 0;
|
|
309
435
|
return message;
|
|
310
436
|
},
|
|
311
437
|
};
|
|
312
|
-
function
|
|
313
|
-
return {
|
|
438
|
+
function createBaseCreateInferenceModelRouteResponse() {
|
|
439
|
+
return { inferenceModelRoute: undefined };
|
|
314
440
|
}
|
|
315
|
-
exports.
|
|
441
|
+
exports.CreateInferenceModelRouteResponse = {
|
|
316
442
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
317
|
-
if (message.
|
|
318
|
-
|
|
443
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
444
|
+
exports.InferenceModelRoute.encode(message.inferenceModelRoute, writer.uint32(10).fork()).join();
|
|
319
445
|
}
|
|
320
446
|
return writer;
|
|
321
447
|
},
|
|
322
448
|
decode(input, length) {
|
|
323
449
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
324
450
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
325
|
-
const message =
|
|
451
|
+
const message = createBaseCreateInferenceModelRouteResponse();
|
|
326
452
|
while (reader.pos < end) {
|
|
327
453
|
const tag = reader.uint32();
|
|
328
454
|
switch (tag >>> 3) {
|
|
@@ -330,7 +456,7 @@ exports.GetModelResponse = {
|
|
|
330
456
|
if (tag !== 10) {
|
|
331
457
|
break;
|
|
332
458
|
}
|
|
333
|
-
message.
|
|
459
|
+
message.inferenceModelRoute = exports.InferenceModelRoute.decode(reader, reader.uint32());
|
|
334
460
|
continue;
|
|
335
461
|
}
|
|
336
462
|
}
|
|
@@ -342,38 +468,56 @@ exports.GetModelResponse = {
|
|
|
342
468
|
return message;
|
|
343
469
|
},
|
|
344
470
|
fromJSON(object) {
|
|
345
|
-
return {
|
|
471
|
+
return {
|
|
472
|
+
inferenceModelRoute: isSet(object.inferenceModelRoute)
|
|
473
|
+
? exports.InferenceModelRoute.fromJSON(object.inferenceModelRoute)
|
|
474
|
+
: isSet(object.inference_model_route)
|
|
475
|
+
? exports.InferenceModelRoute.fromJSON(object.inference_model_route)
|
|
476
|
+
: undefined,
|
|
477
|
+
};
|
|
346
478
|
},
|
|
347
479
|
toJSON(message) {
|
|
348
480
|
const obj = {};
|
|
349
|
-
if (message.
|
|
350
|
-
obj.
|
|
481
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
482
|
+
obj.inferenceModelRoute = exports.InferenceModelRoute.toJSON(message.inferenceModelRoute);
|
|
351
483
|
}
|
|
352
484
|
return obj;
|
|
353
485
|
},
|
|
354
486
|
create(base) {
|
|
355
|
-
return exports.
|
|
487
|
+
return exports.CreateInferenceModelRouteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
356
488
|
},
|
|
357
489
|
fromPartial(object) {
|
|
358
|
-
const message =
|
|
359
|
-
message.
|
|
490
|
+
const message = createBaseCreateInferenceModelRouteResponse();
|
|
491
|
+
message.inferenceModelRoute = (object.inferenceModelRoute !== undefined && object.inferenceModelRoute !== null)
|
|
492
|
+
? exports.InferenceModelRoute.fromPartial(object.inferenceModelRoute)
|
|
493
|
+
: undefined;
|
|
360
494
|
return message;
|
|
361
495
|
},
|
|
362
496
|
};
|
|
363
|
-
function
|
|
364
|
-
return {};
|
|
497
|
+
function createBaseGetInferenceModelRouteRequest() {
|
|
498
|
+
return { inferenceModelRouteId: "" };
|
|
365
499
|
}
|
|
366
|
-
exports.
|
|
367
|
-
encode(
|
|
500
|
+
exports.GetInferenceModelRouteRequest = {
|
|
501
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
502
|
+
if (message.inferenceModelRouteId !== "") {
|
|
503
|
+
writer.uint32(10).string(message.inferenceModelRouteId);
|
|
504
|
+
}
|
|
368
505
|
return writer;
|
|
369
506
|
},
|
|
370
507
|
decode(input, length) {
|
|
371
508
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
372
509
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
373
|
-
const message =
|
|
510
|
+
const message = createBaseGetInferenceModelRouteRequest();
|
|
374
511
|
while (reader.pos < end) {
|
|
375
512
|
const tag = reader.uint32();
|
|
376
513
|
switch (tag >>> 3) {
|
|
514
|
+
case 1: {
|
|
515
|
+
if (tag !== 10) {
|
|
516
|
+
break;
|
|
517
|
+
}
|
|
518
|
+
message.inferenceModelRouteId = reader.string();
|
|
519
|
+
continue;
|
|
520
|
+
}
|
|
377
521
|
}
|
|
378
522
|
if ((tag & 7) === 4 || tag === 0) {
|
|
379
523
|
break;
|
|
@@ -382,35 +526,46 @@ exports.ListCatalogProvidersRequest = {
|
|
|
382
526
|
}
|
|
383
527
|
return message;
|
|
384
528
|
},
|
|
385
|
-
fromJSON(
|
|
386
|
-
return {
|
|
529
|
+
fromJSON(object) {
|
|
530
|
+
return {
|
|
531
|
+
inferenceModelRouteId: isSet(object.inferenceModelRouteId)
|
|
532
|
+
? globalThis.String(object.inferenceModelRouteId)
|
|
533
|
+
: isSet(object.inference_model_route_id)
|
|
534
|
+
? globalThis.String(object.inference_model_route_id)
|
|
535
|
+
: "",
|
|
536
|
+
};
|
|
387
537
|
},
|
|
388
|
-
toJSON(
|
|
538
|
+
toJSON(message) {
|
|
389
539
|
const obj = {};
|
|
540
|
+
if (message.inferenceModelRouteId !== "") {
|
|
541
|
+
obj.inferenceModelRouteId = message.inferenceModelRouteId;
|
|
542
|
+
}
|
|
390
543
|
return obj;
|
|
391
544
|
},
|
|
392
545
|
create(base) {
|
|
393
|
-
return exports.
|
|
546
|
+
return exports.GetInferenceModelRouteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
394
547
|
},
|
|
395
|
-
fromPartial(
|
|
396
|
-
|
|
548
|
+
fromPartial(object) {
|
|
549
|
+
var _a;
|
|
550
|
+
const message = createBaseGetInferenceModelRouteRequest();
|
|
551
|
+
message.inferenceModelRouteId = (_a = object.inferenceModelRouteId) !== null && _a !== void 0 ? _a : "";
|
|
397
552
|
return message;
|
|
398
553
|
},
|
|
399
554
|
};
|
|
400
|
-
function
|
|
401
|
-
return {
|
|
555
|
+
function createBaseGetInferenceModelRouteResponse() {
|
|
556
|
+
return { inferenceModelRoute: undefined };
|
|
402
557
|
}
|
|
403
|
-
exports.
|
|
558
|
+
exports.GetInferenceModelRouteResponse = {
|
|
404
559
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
405
|
-
|
|
406
|
-
|
|
560
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
561
|
+
exports.InferenceModelRoute.encode(message.inferenceModelRoute, writer.uint32(10).fork()).join();
|
|
407
562
|
}
|
|
408
563
|
return writer;
|
|
409
564
|
},
|
|
410
565
|
decode(input, length) {
|
|
411
566
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
412
567
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
413
|
-
const message =
|
|
568
|
+
const message = createBaseGetInferenceModelRouteResponse();
|
|
414
569
|
while (reader.pos < end) {
|
|
415
570
|
const tag = reader.uint32();
|
|
416
571
|
switch (tag >>> 3) {
|
|
@@ -418,7 +573,7 @@ exports.ListCatalogProvidersResponse = {
|
|
|
418
573
|
if (tag !== 10) {
|
|
419
574
|
break;
|
|
420
575
|
}
|
|
421
|
-
message.
|
|
576
|
+
message.inferenceModelRoute = exports.InferenceModelRoute.decode(reader, reader.uint32());
|
|
422
577
|
continue;
|
|
423
578
|
}
|
|
424
579
|
}
|
|
@@ -431,65 +586,57 @@ exports.ListCatalogProvidersResponse = {
|
|
|
431
586
|
},
|
|
432
587
|
fromJSON(object) {
|
|
433
588
|
return {
|
|
434
|
-
|
|
435
|
-
?
|
|
436
|
-
:
|
|
589
|
+
inferenceModelRoute: isSet(object.inferenceModelRoute)
|
|
590
|
+
? exports.InferenceModelRoute.fromJSON(object.inferenceModelRoute)
|
|
591
|
+
: isSet(object.inference_model_route)
|
|
592
|
+
? exports.InferenceModelRoute.fromJSON(object.inference_model_route)
|
|
593
|
+
: undefined,
|
|
437
594
|
};
|
|
438
595
|
},
|
|
439
596
|
toJSON(message) {
|
|
440
|
-
var _a;
|
|
441
597
|
const obj = {};
|
|
442
|
-
if (
|
|
443
|
-
obj.
|
|
598
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
599
|
+
obj.inferenceModelRoute = exports.InferenceModelRoute.toJSON(message.inferenceModelRoute);
|
|
444
600
|
}
|
|
445
601
|
return obj;
|
|
446
602
|
},
|
|
447
603
|
create(base) {
|
|
448
|
-
return exports.
|
|
604
|
+
return exports.GetInferenceModelRouteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
449
605
|
},
|
|
450
606
|
fromPartial(object) {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
607
|
+
const message = createBaseGetInferenceModelRouteResponse();
|
|
608
|
+
message.inferenceModelRoute = (object.inferenceModelRoute !== undefined && object.inferenceModelRoute !== null)
|
|
609
|
+
? exports.InferenceModelRoute.fromPartial(object.inferenceModelRoute)
|
|
610
|
+
: undefined;
|
|
454
611
|
return message;
|
|
455
612
|
},
|
|
456
613
|
};
|
|
457
|
-
function
|
|
458
|
-
return {
|
|
459
|
-
id: "",
|
|
460
|
-
organizationId: "",
|
|
461
|
-
providerConfigurationId: "",
|
|
462
|
-
modelId: "",
|
|
463
|
-
approvedByUserId: "",
|
|
464
|
-
approvedAt: undefined,
|
|
465
|
-
};
|
|
614
|
+
function createBaseUpdateInferenceModelRouteRequest() {
|
|
615
|
+
return { inferenceModelRouteId: "", modelId: "", providerConfigurationId: "", providerModelId: "", priority: 0 };
|
|
466
616
|
}
|
|
467
|
-
exports.
|
|
617
|
+
exports.UpdateInferenceModelRouteRequest = {
|
|
468
618
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
469
|
-
if (message.
|
|
470
|
-
writer.uint32(10).string(message.
|
|
619
|
+
if (message.inferenceModelRouteId !== "") {
|
|
620
|
+
writer.uint32(10).string(message.inferenceModelRouteId);
|
|
471
621
|
}
|
|
472
|
-
if (message.
|
|
473
|
-
writer.uint32(18).string(message.
|
|
622
|
+
if (message.modelId !== "") {
|
|
623
|
+
writer.uint32(18).string(message.modelId);
|
|
474
624
|
}
|
|
475
625
|
if (message.providerConfigurationId !== "") {
|
|
476
626
|
writer.uint32(26).string(message.providerConfigurationId);
|
|
477
627
|
}
|
|
478
|
-
if (message.
|
|
479
|
-
writer.uint32(34).string(message.
|
|
480
|
-
}
|
|
481
|
-
if (message.approvedByUserId !== "") {
|
|
482
|
-
writer.uint32(42).string(message.approvedByUserId);
|
|
628
|
+
if (message.providerModelId !== "") {
|
|
629
|
+
writer.uint32(34).string(message.providerModelId);
|
|
483
630
|
}
|
|
484
|
-
if (message.
|
|
485
|
-
|
|
631
|
+
if (message.priority !== 0) {
|
|
632
|
+
writer.uint32(40).int32(message.priority);
|
|
486
633
|
}
|
|
487
634
|
return writer;
|
|
488
635
|
},
|
|
489
636
|
decode(input, length) {
|
|
490
637
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
491
638
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
492
|
-
const message =
|
|
639
|
+
const message = createBaseUpdateInferenceModelRouteRequest();
|
|
493
640
|
while (reader.pos < end) {
|
|
494
641
|
const tag = reader.uint32();
|
|
495
642
|
switch (tag >>> 3) {
|
|
@@ -497,14 +644,14 @@ exports.OrganizationApprovedModel = {
|
|
|
497
644
|
if (tag !== 10) {
|
|
498
645
|
break;
|
|
499
646
|
}
|
|
500
|
-
message.
|
|
647
|
+
message.inferenceModelRouteId = reader.string();
|
|
501
648
|
continue;
|
|
502
649
|
}
|
|
503
650
|
case 2: {
|
|
504
651
|
if (tag !== 18) {
|
|
505
652
|
break;
|
|
506
653
|
}
|
|
507
|
-
message.
|
|
654
|
+
message.modelId = reader.string();
|
|
508
655
|
continue;
|
|
509
656
|
}
|
|
510
657
|
case 3: {
|
|
@@ -518,21 +665,14 @@ exports.OrganizationApprovedModel = {
|
|
|
518
665
|
if (tag !== 34) {
|
|
519
666
|
break;
|
|
520
667
|
}
|
|
521
|
-
message.
|
|
668
|
+
message.providerModelId = reader.string();
|
|
522
669
|
continue;
|
|
523
670
|
}
|
|
524
671
|
case 5: {
|
|
525
|
-
if (tag !==
|
|
526
|
-
break;
|
|
527
|
-
}
|
|
528
|
-
message.approvedByUserId = reader.string();
|
|
529
|
-
continue;
|
|
530
|
-
}
|
|
531
|
-
case 6: {
|
|
532
|
-
if (tag !== 50) {
|
|
672
|
+
if (tag !== 40) {
|
|
533
673
|
break;
|
|
534
674
|
}
|
|
535
|
-
message.
|
|
675
|
+
message.priority = reader.int32();
|
|
536
676
|
continue;
|
|
537
677
|
}
|
|
538
678
|
}
|
|
@@ -545,85 +685,76 @@ exports.OrganizationApprovedModel = {
|
|
|
545
685
|
},
|
|
546
686
|
fromJSON(object) {
|
|
547
687
|
return {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
? globalThis.String(object.organization_id)
|
|
553
|
-
: "",
|
|
554
|
-
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
555
|
-
? globalThis.String(object.providerConfigurationId)
|
|
556
|
-
: isSet(object.provider_configuration_id)
|
|
557
|
-
? globalThis.String(object.provider_configuration_id)
|
|
688
|
+
inferenceModelRouteId: isSet(object.inferenceModelRouteId)
|
|
689
|
+
? globalThis.String(object.inferenceModelRouteId)
|
|
690
|
+
: isSet(object.inference_model_route_id)
|
|
691
|
+
? globalThis.String(object.inference_model_route_id)
|
|
558
692
|
: "",
|
|
559
693
|
modelId: isSet(object.modelId)
|
|
560
694
|
? globalThis.String(object.modelId)
|
|
561
695
|
: isSet(object.model_id)
|
|
562
696
|
? globalThis.String(object.model_id)
|
|
563
697
|
: "",
|
|
564
|
-
|
|
565
|
-
? globalThis.String(object.
|
|
566
|
-
: isSet(object.
|
|
567
|
-
? globalThis.String(object.
|
|
698
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
699
|
+
? globalThis.String(object.providerConfigurationId)
|
|
700
|
+
: isSet(object.provider_configuration_id)
|
|
701
|
+
? globalThis.String(object.provider_configuration_id)
|
|
702
|
+
: "",
|
|
703
|
+
providerModelId: isSet(object.providerModelId)
|
|
704
|
+
? globalThis.String(object.providerModelId)
|
|
705
|
+
: isSet(object.provider_model_id)
|
|
706
|
+
? globalThis.String(object.provider_model_id)
|
|
568
707
|
: "",
|
|
569
|
-
|
|
570
|
-
? fromJsonTimestamp(object.approvedAt)
|
|
571
|
-
: isSet(object.approved_at)
|
|
572
|
-
? fromJsonTimestamp(object.approved_at)
|
|
573
|
-
: undefined,
|
|
708
|
+
priority: isSet(object.priority) ? globalThis.Number(object.priority) : 0,
|
|
574
709
|
};
|
|
575
710
|
},
|
|
576
711
|
toJSON(message) {
|
|
577
712
|
const obj = {};
|
|
578
|
-
if (message.
|
|
579
|
-
obj.
|
|
713
|
+
if (message.inferenceModelRouteId !== "") {
|
|
714
|
+
obj.inferenceModelRouteId = message.inferenceModelRouteId;
|
|
580
715
|
}
|
|
581
|
-
if (message.
|
|
582
|
-
obj.
|
|
716
|
+
if (message.modelId !== "") {
|
|
717
|
+
obj.modelId = message.modelId;
|
|
583
718
|
}
|
|
584
719
|
if (message.providerConfigurationId !== "") {
|
|
585
720
|
obj.providerConfigurationId = message.providerConfigurationId;
|
|
586
721
|
}
|
|
587
|
-
if (message.
|
|
588
|
-
obj.
|
|
722
|
+
if (message.providerModelId !== "") {
|
|
723
|
+
obj.providerModelId = message.providerModelId;
|
|
589
724
|
}
|
|
590
|
-
if (message.
|
|
591
|
-
obj.
|
|
592
|
-
}
|
|
593
|
-
if (message.approvedAt !== undefined) {
|
|
594
|
-
obj.approvedAt = message.approvedAt.toISOString();
|
|
725
|
+
if (message.priority !== 0) {
|
|
726
|
+
obj.priority = Math.round(message.priority);
|
|
595
727
|
}
|
|
596
728
|
return obj;
|
|
597
729
|
},
|
|
598
730
|
create(base) {
|
|
599
|
-
return exports.
|
|
731
|
+
return exports.UpdateInferenceModelRouteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
600
732
|
},
|
|
601
733
|
fromPartial(object) {
|
|
602
|
-
var _a, _b, _c, _d, _e
|
|
603
|
-
const message =
|
|
604
|
-
message.
|
|
605
|
-
message.
|
|
734
|
+
var _a, _b, _c, _d, _e;
|
|
735
|
+
const message = createBaseUpdateInferenceModelRouteRequest();
|
|
736
|
+
message.inferenceModelRouteId = (_a = object.inferenceModelRouteId) !== null && _a !== void 0 ? _a : "";
|
|
737
|
+
message.modelId = (_b = object.modelId) !== null && _b !== void 0 ? _b : "";
|
|
606
738
|
message.providerConfigurationId = (_c = object.providerConfigurationId) !== null && _c !== void 0 ? _c : "";
|
|
607
|
-
message.
|
|
608
|
-
message.
|
|
609
|
-
message.approvedAt = (_f = object.approvedAt) !== null && _f !== void 0 ? _f : undefined;
|
|
739
|
+
message.providerModelId = (_d = object.providerModelId) !== null && _d !== void 0 ? _d : "";
|
|
740
|
+
message.priority = (_e = object.priority) !== null && _e !== void 0 ? _e : 0;
|
|
610
741
|
return message;
|
|
611
742
|
},
|
|
612
743
|
};
|
|
613
|
-
function
|
|
614
|
-
return {
|
|
744
|
+
function createBaseUpdateInferenceModelRouteResponse() {
|
|
745
|
+
return { inferenceModelRoute: undefined };
|
|
615
746
|
}
|
|
616
|
-
exports.
|
|
747
|
+
exports.UpdateInferenceModelRouteResponse = {
|
|
617
748
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
618
|
-
if (message.
|
|
619
|
-
writer.uint32(10).
|
|
749
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
750
|
+
exports.InferenceModelRoute.encode(message.inferenceModelRoute, writer.uint32(10).fork()).join();
|
|
620
751
|
}
|
|
621
752
|
return writer;
|
|
622
753
|
},
|
|
623
754
|
decode(input, length) {
|
|
624
755
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
625
756
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
626
|
-
const message =
|
|
757
|
+
const message = createBaseUpdateInferenceModelRouteResponse();
|
|
627
758
|
while (reader.pos < end) {
|
|
628
759
|
const tag = reader.uint32();
|
|
629
760
|
switch (tag >>> 3) {
|
|
@@ -631,7 +762,7 @@ exports.ListOrganizationApprovedModelsRequest = {
|
|
|
631
762
|
if (tag !== 10) {
|
|
632
763
|
break;
|
|
633
764
|
}
|
|
634
|
-
message.
|
|
765
|
+
message.inferenceModelRoute = exports.InferenceModelRoute.decode(reader, reader.uint32());
|
|
635
766
|
continue;
|
|
636
767
|
}
|
|
637
768
|
}
|
|
@@ -644,44 +775,45 @@ exports.ListOrganizationApprovedModelsRequest = {
|
|
|
644
775
|
},
|
|
645
776
|
fromJSON(object) {
|
|
646
777
|
return {
|
|
647
|
-
|
|
648
|
-
?
|
|
649
|
-
: isSet(object.
|
|
650
|
-
?
|
|
651
|
-
:
|
|
778
|
+
inferenceModelRoute: isSet(object.inferenceModelRoute)
|
|
779
|
+
? exports.InferenceModelRoute.fromJSON(object.inferenceModelRoute)
|
|
780
|
+
: isSet(object.inference_model_route)
|
|
781
|
+
? exports.InferenceModelRoute.fromJSON(object.inference_model_route)
|
|
782
|
+
: undefined,
|
|
652
783
|
};
|
|
653
784
|
},
|
|
654
785
|
toJSON(message) {
|
|
655
786
|
const obj = {};
|
|
656
|
-
if (message.
|
|
657
|
-
obj.
|
|
787
|
+
if (message.inferenceModelRoute !== undefined) {
|
|
788
|
+
obj.inferenceModelRoute = exports.InferenceModelRoute.toJSON(message.inferenceModelRoute);
|
|
658
789
|
}
|
|
659
790
|
return obj;
|
|
660
791
|
},
|
|
661
792
|
create(base) {
|
|
662
|
-
return exports.
|
|
793
|
+
return exports.UpdateInferenceModelRouteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
663
794
|
},
|
|
664
795
|
fromPartial(object) {
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
796
|
+
const message = createBaseUpdateInferenceModelRouteResponse();
|
|
797
|
+
message.inferenceModelRoute = (object.inferenceModelRoute !== undefined && object.inferenceModelRoute !== null)
|
|
798
|
+
? exports.InferenceModelRoute.fromPartial(object.inferenceModelRoute)
|
|
799
|
+
: undefined;
|
|
668
800
|
return message;
|
|
669
801
|
},
|
|
670
802
|
};
|
|
671
|
-
function
|
|
672
|
-
return {
|
|
803
|
+
function createBaseDeleteInferenceModelRouteRequest() {
|
|
804
|
+
return { inferenceModelRouteId: "" };
|
|
673
805
|
}
|
|
674
|
-
exports.
|
|
806
|
+
exports.DeleteInferenceModelRouteRequest = {
|
|
675
807
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
676
|
-
|
|
677
|
-
|
|
808
|
+
if (message.inferenceModelRouteId !== "") {
|
|
809
|
+
writer.uint32(10).string(message.inferenceModelRouteId);
|
|
678
810
|
}
|
|
679
811
|
return writer;
|
|
680
812
|
},
|
|
681
813
|
decode(input, length) {
|
|
682
814
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
683
815
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
684
|
-
const message =
|
|
816
|
+
const message = createBaseDeleteInferenceModelRouteRequest();
|
|
685
817
|
while (reader.pos < end) {
|
|
686
818
|
const tag = reader.uint32();
|
|
687
819
|
switch (tag >>> 3) {
|
|
@@ -689,7 +821,7 @@ exports.ListOrganizationApprovedModelsResponse = {
|
|
|
689
821
|
if (tag !== 10) {
|
|
690
822
|
break;
|
|
691
823
|
}
|
|
692
|
-
message.
|
|
824
|
+
message.inferenceModelRouteId = reader.string();
|
|
693
825
|
continue;
|
|
694
826
|
}
|
|
695
827
|
}
|
|
@@ -702,51 +834,87 @@ exports.ListOrganizationApprovedModelsResponse = {
|
|
|
702
834
|
},
|
|
703
835
|
fromJSON(object) {
|
|
704
836
|
return {
|
|
705
|
-
|
|
706
|
-
?
|
|
707
|
-
:
|
|
708
|
-
?
|
|
709
|
-
:
|
|
837
|
+
inferenceModelRouteId: isSet(object.inferenceModelRouteId)
|
|
838
|
+
? globalThis.String(object.inferenceModelRouteId)
|
|
839
|
+
: isSet(object.inference_model_route_id)
|
|
840
|
+
? globalThis.String(object.inference_model_route_id)
|
|
841
|
+
: "",
|
|
710
842
|
};
|
|
711
843
|
},
|
|
712
844
|
toJSON(message) {
|
|
713
|
-
var _a;
|
|
714
845
|
const obj = {};
|
|
715
|
-
if (
|
|
716
|
-
obj.
|
|
846
|
+
if (message.inferenceModelRouteId !== "") {
|
|
847
|
+
obj.inferenceModelRouteId = message.inferenceModelRouteId;
|
|
717
848
|
}
|
|
718
849
|
return obj;
|
|
719
850
|
},
|
|
720
851
|
create(base) {
|
|
721
|
-
return exports.
|
|
852
|
+
return exports.DeleteInferenceModelRouteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
722
853
|
},
|
|
723
854
|
fromPartial(object) {
|
|
724
855
|
var _a;
|
|
725
|
-
const message =
|
|
726
|
-
message.
|
|
856
|
+
const message = createBaseDeleteInferenceModelRouteRequest();
|
|
857
|
+
message.inferenceModelRouteId = (_a = object.inferenceModelRouteId) !== null && _a !== void 0 ? _a : "";
|
|
727
858
|
return message;
|
|
728
859
|
},
|
|
729
860
|
};
|
|
730
|
-
function
|
|
731
|
-
return {
|
|
861
|
+
function createBaseDeleteInferenceModelRouteResponse() {
|
|
862
|
+
return {};
|
|
732
863
|
}
|
|
733
|
-
exports.
|
|
734
|
-
encode(
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
864
|
+
exports.DeleteInferenceModelRouteResponse = {
|
|
865
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
866
|
+
return writer;
|
|
867
|
+
},
|
|
868
|
+
decode(input, length) {
|
|
869
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
870
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
871
|
+
const message = createBaseDeleteInferenceModelRouteResponse();
|
|
872
|
+
while (reader.pos < end) {
|
|
873
|
+
const tag = reader.uint32();
|
|
874
|
+
switch (tag >>> 3) {
|
|
875
|
+
}
|
|
876
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
877
|
+
break;
|
|
878
|
+
}
|
|
879
|
+
reader.skip(tag & 7);
|
|
740
880
|
}
|
|
881
|
+
return message;
|
|
882
|
+
},
|
|
883
|
+
fromJSON(_) {
|
|
884
|
+
return {};
|
|
885
|
+
},
|
|
886
|
+
toJSON(_) {
|
|
887
|
+
const obj = {};
|
|
888
|
+
return obj;
|
|
889
|
+
},
|
|
890
|
+
create(base) {
|
|
891
|
+
return exports.DeleteInferenceModelRouteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
892
|
+
},
|
|
893
|
+
fromPartial(_) {
|
|
894
|
+
const message = createBaseDeleteInferenceModelRouteResponse();
|
|
895
|
+
return message;
|
|
896
|
+
},
|
|
897
|
+
};
|
|
898
|
+
function createBaseListInferenceModelRoutesRequest() {
|
|
899
|
+
return { modelId: "", pageSize: 0, pageOffset: 0 };
|
|
900
|
+
}
|
|
901
|
+
exports.ListInferenceModelRoutesRequest = {
|
|
902
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
741
903
|
if (message.modelId !== "") {
|
|
742
|
-
writer.uint32(
|
|
904
|
+
writer.uint32(10).string(message.modelId);
|
|
905
|
+
}
|
|
906
|
+
if (message.pageSize !== 0) {
|
|
907
|
+
writer.uint32(16).int32(message.pageSize);
|
|
908
|
+
}
|
|
909
|
+
if (message.pageOffset !== 0) {
|
|
910
|
+
writer.uint32(24).int32(message.pageOffset);
|
|
743
911
|
}
|
|
744
912
|
return writer;
|
|
745
913
|
},
|
|
746
914
|
decode(input, length) {
|
|
747
915
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
748
916
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
749
|
-
const message =
|
|
917
|
+
const message = createBaseListInferenceModelRoutesRequest();
|
|
750
918
|
while (reader.pos < end) {
|
|
751
919
|
const tag = reader.uint32();
|
|
752
920
|
switch (tag >>> 3) {
|
|
@@ -754,21 +922,21 @@ exports.ApproveModelRequest = {
|
|
|
754
922
|
if (tag !== 10) {
|
|
755
923
|
break;
|
|
756
924
|
}
|
|
757
|
-
message.
|
|
925
|
+
message.modelId = reader.string();
|
|
758
926
|
continue;
|
|
759
927
|
}
|
|
760
928
|
case 2: {
|
|
761
|
-
if (tag !==
|
|
929
|
+
if (tag !== 16) {
|
|
762
930
|
break;
|
|
763
931
|
}
|
|
764
|
-
message.
|
|
932
|
+
message.pageSize = reader.int32();
|
|
765
933
|
continue;
|
|
766
934
|
}
|
|
767
935
|
case 3: {
|
|
768
|
-
if (tag !==
|
|
936
|
+
if (tag !== 24) {
|
|
769
937
|
break;
|
|
770
938
|
}
|
|
771
|
-
message.
|
|
939
|
+
message.pageOffset = reader.int32();
|
|
772
940
|
continue;
|
|
773
941
|
}
|
|
774
942
|
}
|
|
@@ -781,62 +949,62 @@ exports.ApproveModelRequest = {
|
|
|
781
949
|
},
|
|
782
950
|
fromJSON(object) {
|
|
783
951
|
return {
|
|
784
|
-
organizationId: isSet(object.organizationId)
|
|
785
|
-
? globalThis.String(object.organizationId)
|
|
786
|
-
: isSet(object.organization_id)
|
|
787
|
-
? globalThis.String(object.organization_id)
|
|
788
|
-
: "",
|
|
789
|
-
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
790
|
-
? globalThis.String(object.providerConfigurationId)
|
|
791
|
-
: isSet(object.provider_configuration_id)
|
|
792
|
-
? globalThis.String(object.provider_configuration_id)
|
|
793
|
-
: "",
|
|
794
952
|
modelId: isSet(object.modelId)
|
|
795
953
|
? globalThis.String(object.modelId)
|
|
796
954
|
: isSet(object.model_id)
|
|
797
955
|
? globalThis.String(object.model_id)
|
|
798
956
|
: "",
|
|
957
|
+
pageSize: isSet(object.pageSize)
|
|
958
|
+
? globalThis.Number(object.pageSize)
|
|
959
|
+
: isSet(object.page_size)
|
|
960
|
+
? globalThis.Number(object.page_size)
|
|
961
|
+
: 0,
|
|
962
|
+
pageOffset: isSet(object.pageOffset)
|
|
963
|
+
? globalThis.Number(object.pageOffset)
|
|
964
|
+
: isSet(object.page_offset)
|
|
965
|
+
? globalThis.Number(object.page_offset)
|
|
966
|
+
: 0,
|
|
799
967
|
};
|
|
800
968
|
},
|
|
801
969
|
toJSON(message) {
|
|
802
970
|
const obj = {};
|
|
803
|
-
if (message.organizationId !== "") {
|
|
804
|
-
obj.organizationId = message.organizationId;
|
|
805
|
-
}
|
|
806
|
-
if (message.providerConfigurationId !== "") {
|
|
807
|
-
obj.providerConfigurationId = message.providerConfigurationId;
|
|
808
|
-
}
|
|
809
971
|
if (message.modelId !== "") {
|
|
810
972
|
obj.modelId = message.modelId;
|
|
811
973
|
}
|
|
974
|
+
if (message.pageSize !== 0) {
|
|
975
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
976
|
+
}
|
|
977
|
+
if (message.pageOffset !== 0) {
|
|
978
|
+
obj.pageOffset = Math.round(message.pageOffset);
|
|
979
|
+
}
|
|
812
980
|
return obj;
|
|
813
981
|
},
|
|
814
982
|
create(base) {
|
|
815
|
-
return exports.
|
|
983
|
+
return exports.ListInferenceModelRoutesRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
816
984
|
},
|
|
817
985
|
fromPartial(object) {
|
|
818
986
|
var _a, _b, _c;
|
|
819
|
-
const message =
|
|
820
|
-
message.
|
|
821
|
-
message.
|
|
822
|
-
message.
|
|
987
|
+
const message = createBaseListInferenceModelRoutesRequest();
|
|
988
|
+
message.modelId = (_a = object.modelId) !== null && _a !== void 0 ? _a : "";
|
|
989
|
+
message.pageSize = (_b = object.pageSize) !== null && _b !== void 0 ? _b : 0;
|
|
990
|
+
message.pageOffset = (_c = object.pageOffset) !== null && _c !== void 0 ? _c : 0;
|
|
823
991
|
return message;
|
|
824
992
|
},
|
|
825
993
|
};
|
|
826
|
-
function
|
|
827
|
-
return {
|
|
994
|
+
function createBaseListInferenceModelRoutesResponse() {
|
|
995
|
+
return { inferenceModelRoutes: [] };
|
|
828
996
|
}
|
|
829
|
-
exports.
|
|
997
|
+
exports.ListInferenceModelRoutesResponse = {
|
|
830
998
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
831
|
-
|
|
832
|
-
exports.
|
|
999
|
+
for (const v of message.inferenceModelRoutes) {
|
|
1000
|
+
exports.InferenceModelRoute.encode(v, writer.uint32(10).fork()).join();
|
|
833
1001
|
}
|
|
834
1002
|
return writer;
|
|
835
1003
|
},
|
|
836
1004
|
decode(input, length) {
|
|
837
1005
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
838
1006
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
839
|
-
const message =
|
|
1007
|
+
const message = createBaseListInferenceModelRoutesResponse();
|
|
840
1008
|
while (reader.pos < end) {
|
|
841
1009
|
const tag = reader.uint32();
|
|
842
1010
|
switch (tag >>> 3) {
|
|
@@ -844,7 +1012,7 @@ exports.ApproveModelResponse = {
|
|
|
844
1012
|
if (tag !== 10) {
|
|
845
1013
|
break;
|
|
846
1014
|
}
|
|
847
|
-
message.
|
|
1015
|
+
message.inferenceModelRoutes.push(exports.InferenceModelRoute.decode(reader, reader.uint32()));
|
|
848
1016
|
continue;
|
|
849
1017
|
}
|
|
850
1018
|
}
|
|
@@ -857,48 +1025,45 @@ exports.ApproveModelResponse = {
|
|
|
857
1025
|
},
|
|
858
1026
|
fromJSON(object) {
|
|
859
1027
|
return {
|
|
860
|
-
|
|
861
|
-
? exports.
|
|
862
|
-
:
|
|
863
|
-
? exports.
|
|
864
|
-
:
|
|
1028
|
+
inferenceModelRoutes: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.inferenceModelRoutes)
|
|
1029
|
+
? object.inferenceModelRoutes.map((e) => exports.InferenceModelRoute.fromJSON(e))
|
|
1030
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.inference_model_routes)
|
|
1031
|
+
? object.inference_model_routes.map((e) => exports.InferenceModelRoute.fromJSON(e))
|
|
1032
|
+
: [],
|
|
865
1033
|
};
|
|
866
1034
|
},
|
|
867
1035
|
toJSON(message) {
|
|
1036
|
+
var _a;
|
|
868
1037
|
const obj = {};
|
|
869
|
-
if (message.
|
|
870
|
-
obj.
|
|
1038
|
+
if ((_a = message.inferenceModelRoutes) === null || _a === void 0 ? void 0 : _a.length) {
|
|
1039
|
+
obj.inferenceModelRoutes = message.inferenceModelRoutes.map((e) => exports.InferenceModelRoute.toJSON(e));
|
|
871
1040
|
}
|
|
872
1041
|
return obj;
|
|
873
1042
|
},
|
|
874
1043
|
create(base) {
|
|
875
|
-
return exports.
|
|
1044
|
+
return exports.ListInferenceModelRoutesResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
876
1045
|
},
|
|
877
1046
|
fromPartial(object) {
|
|
878
|
-
|
|
879
|
-
message
|
|
880
|
-
|
|
881
|
-
: undefined;
|
|
1047
|
+
var _a;
|
|
1048
|
+
const message = createBaseListInferenceModelRoutesResponse();
|
|
1049
|
+
message.inferenceModelRoutes = ((_a = object.inferenceModelRoutes) === null || _a === void 0 ? void 0 : _a.map((e) => exports.InferenceModelRoute.fromPartial(e))) || [];
|
|
882
1050
|
return message;
|
|
883
1051
|
},
|
|
884
1052
|
};
|
|
885
|
-
function
|
|
886
|
-
return {
|
|
1053
|
+
function createBaseGetModelRequest() {
|
|
1054
|
+
return { modelId: "" };
|
|
887
1055
|
}
|
|
888
|
-
exports.
|
|
1056
|
+
exports.GetModelRequest = {
|
|
889
1057
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
890
|
-
if (message.
|
|
891
|
-
writer.uint32(10).string(message.
|
|
892
|
-
}
|
|
893
|
-
if (message.approvedModelId !== "") {
|
|
894
|
-
writer.uint32(18).string(message.approvedModelId);
|
|
1058
|
+
if (message.modelId !== "") {
|
|
1059
|
+
writer.uint32(10).string(message.modelId);
|
|
895
1060
|
}
|
|
896
1061
|
return writer;
|
|
897
1062
|
},
|
|
898
1063
|
decode(input, length) {
|
|
899
1064
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
900
1065
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
901
|
-
const message =
|
|
1066
|
+
const message = createBaseGetModelRequest();
|
|
902
1067
|
while (reader.pos < end) {
|
|
903
1068
|
const tag = reader.uint32();
|
|
904
1069
|
switch (tag >>> 3) {
|
|
@@ -906,14 +1071,7 @@ exports.UnapproveModelRequest = {
|
|
|
906
1071
|
if (tag !== 10) {
|
|
907
1072
|
break;
|
|
908
1073
|
}
|
|
909
|
-
message.
|
|
910
|
-
continue;
|
|
911
|
-
}
|
|
912
|
-
case 2: {
|
|
913
|
-
if (tag !== 18) {
|
|
914
|
-
break;
|
|
915
|
-
}
|
|
916
|
-
message.approvedModelId = reader.string();
|
|
1074
|
+
message.modelId = reader.string();
|
|
917
1075
|
continue;
|
|
918
1076
|
}
|
|
919
1077
|
}
|
|
@@ -926,53 +1084,54 @@ exports.UnapproveModelRequest = {
|
|
|
926
1084
|
},
|
|
927
1085
|
fromJSON(object) {
|
|
928
1086
|
return {
|
|
929
|
-
|
|
930
|
-
? globalThis.String(object.
|
|
931
|
-
: isSet(object.
|
|
932
|
-
? globalThis.String(object.
|
|
933
|
-
: "",
|
|
934
|
-
approvedModelId: isSet(object.approvedModelId)
|
|
935
|
-
? globalThis.String(object.approvedModelId)
|
|
936
|
-
: isSet(object.approved_model_id)
|
|
937
|
-
? globalThis.String(object.approved_model_id)
|
|
1087
|
+
modelId: isSet(object.modelId)
|
|
1088
|
+
? globalThis.String(object.modelId)
|
|
1089
|
+
: isSet(object.model_id)
|
|
1090
|
+
? globalThis.String(object.model_id)
|
|
938
1091
|
: "",
|
|
939
1092
|
};
|
|
940
1093
|
},
|
|
941
1094
|
toJSON(message) {
|
|
942
1095
|
const obj = {};
|
|
943
|
-
if (message.
|
|
944
|
-
obj.
|
|
945
|
-
}
|
|
946
|
-
if (message.approvedModelId !== "") {
|
|
947
|
-
obj.approvedModelId = message.approvedModelId;
|
|
1096
|
+
if (message.modelId !== "") {
|
|
1097
|
+
obj.modelId = message.modelId;
|
|
948
1098
|
}
|
|
949
1099
|
return obj;
|
|
950
1100
|
},
|
|
951
1101
|
create(base) {
|
|
952
|
-
return exports.
|
|
1102
|
+
return exports.GetModelRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
953
1103
|
},
|
|
954
1104
|
fromPartial(object) {
|
|
955
|
-
var _a
|
|
956
|
-
const message =
|
|
957
|
-
message.
|
|
958
|
-
message.approvedModelId = (_b = object.approvedModelId) !== null && _b !== void 0 ? _b : "";
|
|
1105
|
+
var _a;
|
|
1106
|
+
const message = createBaseGetModelRequest();
|
|
1107
|
+
message.modelId = (_a = object.modelId) !== null && _a !== void 0 ? _a : "";
|
|
959
1108
|
return message;
|
|
960
1109
|
},
|
|
961
1110
|
};
|
|
962
|
-
function
|
|
963
|
-
return {};
|
|
1111
|
+
function createBaseGetModelResponse() {
|
|
1112
|
+
return { model: undefined };
|
|
964
1113
|
}
|
|
965
|
-
exports.
|
|
966
|
-
encode(
|
|
1114
|
+
exports.GetModelResponse = {
|
|
1115
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1116
|
+
if (message.model !== undefined) {
|
|
1117
|
+
model_pb_1.Model.encode(message.model, writer.uint32(10).fork()).join();
|
|
1118
|
+
}
|
|
967
1119
|
return writer;
|
|
968
1120
|
},
|
|
969
1121
|
decode(input, length) {
|
|
970
1122
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
971
1123
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
972
|
-
const message =
|
|
1124
|
+
const message = createBaseGetModelResponse();
|
|
973
1125
|
while (reader.pos < end) {
|
|
974
1126
|
const tag = reader.uint32();
|
|
975
1127
|
switch (tag >>> 3) {
|
|
1128
|
+
case 1: {
|
|
1129
|
+
if (tag !== 10) {
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
message.model = model_pb_1.Model.decode(reader, reader.uint32());
|
|
1133
|
+
continue;
|
|
1134
|
+
}
|
|
976
1135
|
}
|
|
977
1136
|
if ((tag & 7) === 4 || tag === 0) {
|
|
978
1137
|
break;
|
|
@@ -981,44 +1140,42 @@ exports.UnapproveModelResponse = {
|
|
|
981
1140
|
}
|
|
982
1141
|
return message;
|
|
983
1142
|
},
|
|
984
|
-
fromJSON(
|
|
985
|
-
return {};
|
|
1143
|
+
fromJSON(object) {
|
|
1144
|
+
return { model: isSet(object.model) ? model_pb_1.Model.fromJSON(object.model) : undefined };
|
|
986
1145
|
},
|
|
987
|
-
toJSON(
|
|
1146
|
+
toJSON(message) {
|
|
988
1147
|
const obj = {};
|
|
1148
|
+
if (message.model !== undefined) {
|
|
1149
|
+
obj.model = model_pb_1.Model.toJSON(message.model);
|
|
1150
|
+
}
|
|
989
1151
|
return obj;
|
|
990
1152
|
},
|
|
991
1153
|
create(base) {
|
|
992
|
-
return exports.
|
|
1154
|
+
return exports.GetModelResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
993
1155
|
},
|
|
994
|
-
fromPartial(
|
|
995
|
-
const message =
|
|
1156
|
+
fromPartial(object) {
|
|
1157
|
+
const message = createBaseGetModelResponse();
|
|
1158
|
+
message.model = (object.model !== undefined && object.model !== null) ? model_pb_1.Model.fromPartial(object.model) : undefined;
|
|
996
1159
|
return message;
|
|
997
1160
|
},
|
|
998
1161
|
};
|
|
999
|
-
function
|
|
1000
|
-
return {
|
|
1162
|
+
function createBaseGetCatalogModelRequest() {
|
|
1163
|
+
return { modelId: "", providerKind: 0 };
|
|
1001
1164
|
}
|
|
1002
|
-
exports.
|
|
1165
|
+
exports.GetCatalogModelRequest = {
|
|
1003
1166
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1004
|
-
if (message.
|
|
1005
|
-
writer.uint32(10).string(message.
|
|
1006
|
-
}
|
|
1007
|
-
if (message.defaultChatModelId !== "") {
|
|
1008
|
-
writer.uint32(18).string(message.defaultChatModelId);
|
|
1009
|
-
}
|
|
1010
|
-
if (message.defaultProviderConfigurationId !== "") {
|
|
1011
|
-
writer.uint32(26).string(message.defaultProviderConfigurationId);
|
|
1167
|
+
if (message.modelId !== "") {
|
|
1168
|
+
writer.uint32(10).string(message.modelId);
|
|
1012
1169
|
}
|
|
1013
|
-
if (message.
|
|
1014
|
-
|
|
1170
|
+
if (message.providerKind !== 0) {
|
|
1171
|
+
writer.uint32(16).int32(message.providerKind);
|
|
1015
1172
|
}
|
|
1016
1173
|
return writer;
|
|
1017
1174
|
},
|
|
1018
1175
|
decode(input, length) {
|
|
1019
1176
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1020
1177
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1021
|
-
const message =
|
|
1178
|
+
const message = createBaseGetCatalogModelRequest();
|
|
1022
1179
|
while (reader.pos < end) {
|
|
1023
1180
|
const tag = reader.uint32();
|
|
1024
1181
|
switch (tag >>> 3) {
|
|
@@ -1026,28 +1183,14 @@ exports.OrganizationChatSettings = {
|
|
|
1026
1183
|
if (tag !== 10) {
|
|
1027
1184
|
break;
|
|
1028
1185
|
}
|
|
1029
|
-
message.
|
|
1186
|
+
message.modelId = reader.string();
|
|
1030
1187
|
continue;
|
|
1031
1188
|
}
|
|
1032
1189
|
case 2: {
|
|
1033
|
-
if (tag !==
|
|
1034
|
-
break;
|
|
1035
|
-
}
|
|
1036
|
-
message.defaultChatModelId = reader.string();
|
|
1037
|
-
continue;
|
|
1038
|
-
}
|
|
1039
|
-
case 3: {
|
|
1040
|
-
if (tag !== 26) {
|
|
1041
|
-
break;
|
|
1042
|
-
}
|
|
1043
|
-
message.defaultProviderConfigurationId = reader.string();
|
|
1044
|
-
continue;
|
|
1045
|
-
}
|
|
1046
|
-
case 4: {
|
|
1047
|
-
if (tag !== 34) {
|
|
1190
|
+
if (tag !== 16) {
|
|
1048
1191
|
break;
|
|
1049
1192
|
}
|
|
1050
|
-
message.
|
|
1193
|
+
message.providerKind = reader.int32();
|
|
1051
1194
|
continue;
|
|
1052
1195
|
}
|
|
1053
1196
|
}
|
|
@@ -1060,71 +1203,53 @@ exports.OrganizationChatSettings = {
|
|
|
1060
1203
|
},
|
|
1061
1204
|
fromJSON(object) {
|
|
1062
1205
|
return {
|
|
1063
|
-
|
|
1064
|
-
? globalThis.String(object.
|
|
1065
|
-
: isSet(object.
|
|
1066
|
-
? globalThis.String(object.
|
|
1067
|
-
: "",
|
|
1068
|
-
defaultChatModelId: isSet(object.defaultChatModelId)
|
|
1069
|
-
? globalThis.String(object.defaultChatModelId)
|
|
1070
|
-
: isSet(object.default_chat_model_id)
|
|
1071
|
-
? globalThis.String(object.default_chat_model_id)
|
|
1072
|
-
: "",
|
|
1073
|
-
defaultProviderConfigurationId: isSet(object.defaultProviderConfigurationId)
|
|
1074
|
-
? globalThis.String(object.defaultProviderConfigurationId)
|
|
1075
|
-
: isSet(object.default_provider_configuration_id)
|
|
1076
|
-
? globalThis.String(object.default_provider_configuration_id)
|
|
1206
|
+
modelId: isSet(object.modelId)
|
|
1207
|
+
? globalThis.String(object.modelId)
|
|
1208
|
+
: isSet(object.model_id)
|
|
1209
|
+
? globalThis.String(object.model_id)
|
|
1077
1210
|
: "",
|
|
1078
|
-
|
|
1079
|
-
?
|
|
1080
|
-
: isSet(object.
|
|
1081
|
-
?
|
|
1082
|
-
:
|
|
1211
|
+
providerKind: isSet(object.providerKind)
|
|
1212
|
+
? (0, model_pb_1.provider_KindFromJSON)(object.providerKind)
|
|
1213
|
+
: isSet(object.provider_kind)
|
|
1214
|
+
? (0, model_pb_1.provider_KindFromJSON)(object.provider_kind)
|
|
1215
|
+
: 0,
|
|
1083
1216
|
};
|
|
1084
1217
|
},
|
|
1085
1218
|
toJSON(message) {
|
|
1086
1219
|
const obj = {};
|
|
1087
|
-
if (message.
|
|
1088
|
-
obj.
|
|
1089
|
-
}
|
|
1090
|
-
if (message.defaultChatModelId !== "") {
|
|
1091
|
-
obj.defaultChatModelId = message.defaultChatModelId;
|
|
1092
|
-
}
|
|
1093
|
-
if (message.defaultProviderConfigurationId !== "") {
|
|
1094
|
-
obj.defaultProviderConfigurationId = message.defaultProviderConfigurationId;
|
|
1220
|
+
if (message.modelId !== "") {
|
|
1221
|
+
obj.modelId = message.modelId;
|
|
1095
1222
|
}
|
|
1096
|
-
if (message.
|
|
1097
|
-
obj.
|
|
1223
|
+
if (message.providerKind !== 0) {
|
|
1224
|
+
obj.providerKind = (0, model_pb_1.provider_KindToJSON)(message.providerKind);
|
|
1098
1225
|
}
|
|
1099
1226
|
return obj;
|
|
1100
1227
|
},
|
|
1101
1228
|
create(base) {
|
|
1102
|
-
return exports.
|
|
1229
|
+
return exports.GetCatalogModelRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1103
1230
|
},
|
|
1104
1231
|
fromPartial(object) {
|
|
1105
|
-
var _a, _b
|
|
1106
|
-
const message =
|
|
1107
|
-
message.
|
|
1108
|
-
message.
|
|
1109
|
-
message.defaultProviderConfigurationId = (_c = object.defaultProviderConfigurationId) !== null && _c !== void 0 ? _c : "";
|
|
1110
|
-
message.updatedAt = (_d = object.updatedAt) !== null && _d !== void 0 ? _d : undefined;
|
|
1232
|
+
var _a, _b;
|
|
1233
|
+
const message = createBaseGetCatalogModelRequest();
|
|
1234
|
+
message.modelId = (_a = object.modelId) !== null && _a !== void 0 ? _a : "";
|
|
1235
|
+
message.providerKind = (_b = object.providerKind) !== null && _b !== void 0 ? _b : 0;
|
|
1111
1236
|
return message;
|
|
1112
1237
|
},
|
|
1113
1238
|
};
|
|
1114
|
-
function
|
|
1115
|
-
return {
|
|
1239
|
+
function createBaseGetCatalogModelResponse() {
|
|
1240
|
+
return { model: undefined };
|
|
1116
1241
|
}
|
|
1117
|
-
exports.
|
|
1242
|
+
exports.GetCatalogModelResponse = {
|
|
1118
1243
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1119
|
-
if (message.
|
|
1120
|
-
writer.uint32(10).
|
|
1244
|
+
if (message.model !== undefined) {
|
|
1245
|
+
model_pb_1.Model.encode(message.model, writer.uint32(10).fork()).join();
|
|
1121
1246
|
}
|
|
1122
1247
|
return writer;
|
|
1123
1248
|
},
|
|
1124
1249
|
decode(input, length) {
|
|
1125
1250
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1126
1251
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1127
|
-
const message =
|
|
1252
|
+
const message = createBaseGetCatalogModelResponse();
|
|
1128
1253
|
while (reader.pos < end) {
|
|
1129
1254
|
const tag = reader.uint32();
|
|
1130
1255
|
switch (tag >>> 3) {
|
|
@@ -1132,7 +1257,7 @@ exports.GetChatDefaultsRequest = {
|
|
|
1132
1257
|
if (tag !== 10) {
|
|
1133
1258
|
break;
|
|
1134
1259
|
}
|
|
1135
|
-
message.
|
|
1260
|
+
message.model = model_pb_1.Model.decode(reader, reader.uint32());
|
|
1136
1261
|
continue;
|
|
1137
1262
|
}
|
|
1138
1263
|
}
|
|
@@ -1144,55 +1269,38 @@ exports.GetChatDefaultsRequest = {
|
|
|
1144
1269
|
return message;
|
|
1145
1270
|
},
|
|
1146
1271
|
fromJSON(object) {
|
|
1147
|
-
return {
|
|
1148
|
-
organizationId: isSet(object.organizationId)
|
|
1149
|
-
? globalThis.String(object.organizationId)
|
|
1150
|
-
: isSet(object.organization_id)
|
|
1151
|
-
? globalThis.String(object.organization_id)
|
|
1152
|
-
: "",
|
|
1153
|
-
};
|
|
1272
|
+
return { model: isSet(object.model) ? model_pb_1.Model.fromJSON(object.model) : undefined };
|
|
1154
1273
|
},
|
|
1155
1274
|
toJSON(message) {
|
|
1156
1275
|
const obj = {};
|
|
1157
|
-
if (message.
|
|
1158
|
-
obj.
|
|
1276
|
+
if (message.model !== undefined) {
|
|
1277
|
+
obj.model = model_pb_1.Model.toJSON(message.model);
|
|
1159
1278
|
}
|
|
1160
1279
|
return obj;
|
|
1161
1280
|
},
|
|
1162
1281
|
create(base) {
|
|
1163
|
-
return exports.
|
|
1282
|
+
return exports.GetCatalogModelResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1164
1283
|
},
|
|
1165
1284
|
fromPartial(object) {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
|
|
1285
|
+
const message = createBaseGetCatalogModelResponse();
|
|
1286
|
+
message.model = (object.model !== undefined && object.model !== null) ? model_pb_1.Model.fromPartial(object.model) : undefined;
|
|
1169
1287
|
return message;
|
|
1170
1288
|
},
|
|
1171
1289
|
};
|
|
1172
|
-
function
|
|
1173
|
-
return {
|
|
1290
|
+
function createBaseGetIngestionSettingsRequest() {
|
|
1291
|
+
return {};
|
|
1174
1292
|
}
|
|
1175
|
-
exports.
|
|
1176
|
-
encode(
|
|
1177
|
-
if (message.settings !== undefined) {
|
|
1178
|
-
exports.OrganizationChatSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
1179
|
-
}
|
|
1293
|
+
exports.GetIngestionSettingsRequest = {
|
|
1294
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
1180
1295
|
return writer;
|
|
1181
1296
|
},
|
|
1182
1297
|
decode(input, length) {
|
|
1183
1298
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1184
1299
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1185
|
-
const message =
|
|
1300
|
+
const message = createBaseGetIngestionSettingsRequest();
|
|
1186
1301
|
while (reader.pos < end) {
|
|
1187
1302
|
const tag = reader.uint32();
|
|
1188
1303
|
switch (tag >>> 3) {
|
|
1189
|
-
case 1: {
|
|
1190
|
-
if (tag !== 10) {
|
|
1191
|
-
break;
|
|
1192
|
-
}
|
|
1193
|
-
message.settings = exports.OrganizationChatSettings.decode(reader, reader.uint32());
|
|
1194
|
-
continue;
|
|
1195
|
-
}
|
|
1196
1304
|
}
|
|
1197
1305
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1198
1306
|
break;
|
|
@@ -1201,47 +1309,35 @@ exports.GetChatDefaultsResponse = {
|
|
|
1201
1309
|
}
|
|
1202
1310
|
return message;
|
|
1203
1311
|
},
|
|
1204
|
-
fromJSON(
|
|
1205
|
-
return {
|
|
1312
|
+
fromJSON(_) {
|
|
1313
|
+
return {};
|
|
1206
1314
|
},
|
|
1207
|
-
toJSON(
|
|
1315
|
+
toJSON(_) {
|
|
1208
1316
|
const obj = {};
|
|
1209
|
-
if (message.settings !== undefined) {
|
|
1210
|
-
obj.settings = exports.OrganizationChatSettings.toJSON(message.settings);
|
|
1211
|
-
}
|
|
1212
1317
|
return obj;
|
|
1213
1318
|
},
|
|
1214
1319
|
create(base) {
|
|
1215
|
-
return exports.
|
|
1320
|
+
return exports.GetIngestionSettingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1216
1321
|
},
|
|
1217
|
-
fromPartial(
|
|
1218
|
-
const message =
|
|
1219
|
-
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
1220
|
-
? exports.OrganizationChatSettings.fromPartial(object.settings)
|
|
1221
|
-
: undefined;
|
|
1322
|
+
fromPartial(_) {
|
|
1323
|
+
const message = createBaseGetIngestionSettingsRequest();
|
|
1222
1324
|
return message;
|
|
1223
1325
|
},
|
|
1224
1326
|
};
|
|
1225
|
-
function
|
|
1226
|
-
return {
|
|
1327
|
+
function createBaseGetIngestionSettingsResponse() {
|
|
1328
|
+
return { settings: undefined };
|
|
1227
1329
|
}
|
|
1228
|
-
exports.
|
|
1330
|
+
exports.GetIngestionSettingsResponse = {
|
|
1229
1331
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1230
|
-
if (message.
|
|
1231
|
-
writer.uint32(10).
|
|
1232
|
-
}
|
|
1233
|
-
if (message.defaultChatModelId !== "") {
|
|
1234
|
-
writer.uint32(18).string(message.defaultChatModelId);
|
|
1235
|
-
}
|
|
1236
|
-
if (message.defaultProviderConfigurationId !== "") {
|
|
1237
|
-
writer.uint32(26).string(message.defaultProviderConfigurationId);
|
|
1332
|
+
if (message.settings !== undefined) {
|
|
1333
|
+
model_pb_1.OrganizationIngestionSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
1238
1334
|
}
|
|
1239
1335
|
return writer;
|
|
1240
1336
|
},
|
|
1241
1337
|
decode(input, length) {
|
|
1242
1338
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1243
1339
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1244
|
-
const message =
|
|
1340
|
+
const message = createBaseGetIngestionSettingsResponse();
|
|
1245
1341
|
while (reader.pos < end) {
|
|
1246
1342
|
const tag = reader.uint32();
|
|
1247
1343
|
switch (tag >>> 3) {
|
|
@@ -1249,208 +1345,7 @@ exports.SetChatDefaultsRequest = {
|
|
|
1249
1345
|
if (tag !== 10) {
|
|
1250
1346
|
break;
|
|
1251
1347
|
}
|
|
1252
|
-
message.
|
|
1253
|
-
continue;
|
|
1254
|
-
}
|
|
1255
|
-
case 2: {
|
|
1256
|
-
if (tag !== 18) {
|
|
1257
|
-
break;
|
|
1258
|
-
}
|
|
1259
|
-
message.defaultChatModelId = reader.string();
|
|
1260
|
-
continue;
|
|
1261
|
-
}
|
|
1262
|
-
case 3: {
|
|
1263
|
-
if (tag !== 26) {
|
|
1264
|
-
break;
|
|
1265
|
-
}
|
|
1266
|
-
message.defaultProviderConfigurationId = reader.string();
|
|
1267
|
-
continue;
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1271
|
-
break;
|
|
1272
|
-
}
|
|
1273
|
-
reader.skip(tag & 7);
|
|
1274
|
-
}
|
|
1275
|
-
return message;
|
|
1276
|
-
},
|
|
1277
|
-
fromJSON(object) {
|
|
1278
|
-
return {
|
|
1279
|
-
organizationId: isSet(object.organizationId)
|
|
1280
|
-
? globalThis.String(object.organizationId)
|
|
1281
|
-
: isSet(object.organization_id)
|
|
1282
|
-
? globalThis.String(object.organization_id)
|
|
1283
|
-
: "",
|
|
1284
|
-
defaultChatModelId: isSet(object.defaultChatModelId)
|
|
1285
|
-
? globalThis.String(object.defaultChatModelId)
|
|
1286
|
-
: isSet(object.default_chat_model_id)
|
|
1287
|
-
? globalThis.String(object.default_chat_model_id)
|
|
1288
|
-
: "",
|
|
1289
|
-
defaultProviderConfigurationId: isSet(object.defaultProviderConfigurationId)
|
|
1290
|
-
? globalThis.String(object.defaultProviderConfigurationId)
|
|
1291
|
-
: isSet(object.default_provider_configuration_id)
|
|
1292
|
-
? globalThis.String(object.default_provider_configuration_id)
|
|
1293
|
-
: "",
|
|
1294
|
-
};
|
|
1295
|
-
},
|
|
1296
|
-
toJSON(message) {
|
|
1297
|
-
const obj = {};
|
|
1298
|
-
if (message.organizationId !== "") {
|
|
1299
|
-
obj.organizationId = message.organizationId;
|
|
1300
|
-
}
|
|
1301
|
-
if (message.defaultChatModelId !== "") {
|
|
1302
|
-
obj.defaultChatModelId = message.defaultChatModelId;
|
|
1303
|
-
}
|
|
1304
|
-
if (message.defaultProviderConfigurationId !== "") {
|
|
1305
|
-
obj.defaultProviderConfigurationId = message.defaultProviderConfigurationId;
|
|
1306
|
-
}
|
|
1307
|
-
return obj;
|
|
1308
|
-
},
|
|
1309
|
-
create(base) {
|
|
1310
|
-
return exports.SetChatDefaultsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1311
|
-
},
|
|
1312
|
-
fromPartial(object) {
|
|
1313
|
-
var _a, _b, _c;
|
|
1314
|
-
const message = createBaseSetChatDefaultsRequest();
|
|
1315
|
-
message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
|
|
1316
|
-
message.defaultChatModelId = (_b = object.defaultChatModelId) !== null && _b !== void 0 ? _b : "";
|
|
1317
|
-
message.defaultProviderConfigurationId = (_c = object.defaultProviderConfigurationId) !== null && _c !== void 0 ? _c : "";
|
|
1318
|
-
return message;
|
|
1319
|
-
},
|
|
1320
|
-
};
|
|
1321
|
-
function createBaseSetChatDefaultsResponse() {
|
|
1322
|
-
return { settings: undefined };
|
|
1323
|
-
}
|
|
1324
|
-
exports.SetChatDefaultsResponse = {
|
|
1325
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1326
|
-
if (message.settings !== undefined) {
|
|
1327
|
-
exports.OrganizationChatSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
1328
|
-
}
|
|
1329
|
-
return writer;
|
|
1330
|
-
},
|
|
1331
|
-
decode(input, length) {
|
|
1332
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1333
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1334
|
-
const message = createBaseSetChatDefaultsResponse();
|
|
1335
|
-
while (reader.pos < end) {
|
|
1336
|
-
const tag = reader.uint32();
|
|
1337
|
-
switch (tag >>> 3) {
|
|
1338
|
-
case 1: {
|
|
1339
|
-
if (tag !== 10) {
|
|
1340
|
-
break;
|
|
1341
|
-
}
|
|
1342
|
-
message.settings = exports.OrganizationChatSettings.decode(reader, reader.uint32());
|
|
1343
|
-
continue;
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1347
|
-
break;
|
|
1348
|
-
}
|
|
1349
|
-
reader.skip(tag & 7);
|
|
1350
|
-
}
|
|
1351
|
-
return message;
|
|
1352
|
-
},
|
|
1353
|
-
fromJSON(object) {
|
|
1354
|
-
return { settings: isSet(object.settings) ? exports.OrganizationChatSettings.fromJSON(object.settings) : undefined };
|
|
1355
|
-
},
|
|
1356
|
-
toJSON(message) {
|
|
1357
|
-
const obj = {};
|
|
1358
|
-
if (message.settings !== undefined) {
|
|
1359
|
-
obj.settings = exports.OrganizationChatSettings.toJSON(message.settings);
|
|
1360
|
-
}
|
|
1361
|
-
return obj;
|
|
1362
|
-
},
|
|
1363
|
-
create(base) {
|
|
1364
|
-
return exports.SetChatDefaultsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1365
|
-
},
|
|
1366
|
-
fromPartial(object) {
|
|
1367
|
-
const message = createBaseSetChatDefaultsResponse();
|
|
1368
|
-
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
1369
|
-
? exports.OrganizationChatSettings.fromPartial(object.settings)
|
|
1370
|
-
: undefined;
|
|
1371
|
-
return message;
|
|
1372
|
-
},
|
|
1373
|
-
};
|
|
1374
|
-
function createBaseGetIngestionSettingsRequest() {
|
|
1375
|
-
return { organizationId: "" };
|
|
1376
|
-
}
|
|
1377
|
-
exports.GetIngestionSettingsRequest = {
|
|
1378
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1379
|
-
if (message.organizationId !== "") {
|
|
1380
|
-
writer.uint32(10).string(message.organizationId);
|
|
1381
|
-
}
|
|
1382
|
-
return writer;
|
|
1383
|
-
},
|
|
1384
|
-
decode(input, length) {
|
|
1385
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1386
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1387
|
-
const message = createBaseGetIngestionSettingsRequest();
|
|
1388
|
-
while (reader.pos < end) {
|
|
1389
|
-
const tag = reader.uint32();
|
|
1390
|
-
switch (tag >>> 3) {
|
|
1391
|
-
case 1: {
|
|
1392
|
-
if (tag !== 10) {
|
|
1393
|
-
break;
|
|
1394
|
-
}
|
|
1395
|
-
message.organizationId = reader.string();
|
|
1396
|
-
continue;
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1400
|
-
break;
|
|
1401
|
-
}
|
|
1402
|
-
reader.skip(tag & 7);
|
|
1403
|
-
}
|
|
1404
|
-
return message;
|
|
1405
|
-
},
|
|
1406
|
-
fromJSON(object) {
|
|
1407
|
-
return {
|
|
1408
|
-
organizationId: isSet(object.organizationId)
|
|
1409
|
-
? globalThis.String(object.organizationId)
|
|
1410
|
-
: isSet(object.organization_id)
|
|
1411
|
-
? globalThis.String(object.organization_id)
|
|
1412
|
-
: "",
|
|
1413
|
-
};
|
|
1414
|
-
},
|
|
1415
|
-
toJSON(message) {
|
|
1416
|
-
const obj = {};
|
|
1417
|
-
if (message.organizationId !== "") {
|
|
1418
|
-
obj.organizationId = message.organizationId;
|
|
1419
|
-
}
|
|
1420
|
-
return obj;
|
|
1421
|
-
},
|
|
1422
|
-
create(base) {
|
|
1423
|
-
return exports.GetIngestionSettingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1424
|
-
},
|
|
1425
|
-
fromPartial(object) {
|
|
1426
|
-
var _a;
|
|
1427
|
-
const message = createBaseGetIngestionSettingsRequest();
|
|
1428
|
-
message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
|
|
1429
|
-
return message;
|
|
1430
|
-
},
|
|
1431
|
-
};
|
|
1432
|
-
function createBaseGetIngestionSettingsResponse() {
|
|
1433
|
-
return { settings: undefined };
|
|
1434
|
-
}
|
|
1435
|
-
exports.GetIngestionSettingsResponse = {
|
|
1436
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1437
|
-
if (message.settings !== undefined) {
|
|
1438
|
-
model_pb_1.OrganizationIngestionSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
1439
|
-
}
|
|
1440
|
-
return writer;
|
|
1441
|
-
},
|
|
1442
|
-
decode(input, length) {
|
|
1443
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1444
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1445
|
-
const message = createBaseGetIngestionSettingsResponse();
|
|
1446
|
-
while (reader.pos < end) {
|
|
1447
|
-
const tag = reader.uint32();
|
|
1448
|
-
switch (tag >>> 3) {
|
|
1449
|
-
case 1: {
|
|
1450
|
-
if (tag !== 10) {
|
|
1451
|
-
break;
|
|
1452
|
-
}
|
|
1453
|
-
message.settings = model_pb_1.OrganizationIngestionSettings.decode(reader, reader.uint32());
|
|
1348
|
+
message.settings = model_pb_1.OrganizationIngestionSettings.decode(reader, reader.uint32());
|
|
1454
1349
|
continue;
|
|
1455
1350
|
}
|
|
1456
1351
|
}
|
|
@@ -1484,7 +1379,6 @@ exports.GetIngestionSettingsResponse = {
|
|
|
1484
1379
|
};
|
|
1485
1380
|
function createBaseSetIngestionSettingsRequest() {
|
|
1486
1381
|
return {
|
|
1487
|
-
organizationId: "",
|
|
1488
1382
|
reasoningModelId: "",
|
|
1489
1383
|
reasoningProviderConfigurationId: "",
|
|
1490
1384
|
embeddingModelId: "",
|
|
@@ -1508,65 +1402,62 @@ function createBaseSetIngestionSettingsRequest() {
|
|
|
1508
1402
|
}
|
|
1509
1403
|
exports.SetIngestionSettingsRequest = {
|
|
1510
1404
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1511
|
-
if (message.organizationId !== "") {
|
|
1512
|
-
writer.uint32(10).string(message.organizationId);
|
|
1513
|
-
}
|
|
1514
1405
|
if (message.reasoningModelId !== "") {
|
|
1515
|
-
writer.uint32(
|
|
1406
|
+
writer.uint32(10).string(message.reasoningModelId);
|
|
1516
1407
|
}
|
|
1517
1408
|
if (message.reasoningProviderConfigurationId !== "") {
|
|
1518
|
-
writer.uint32(
|
|
1409
|
+
writer.uint32(18).string(message.reasoningProviderConfigurationId);
|
|
1519
1410
|
}
|
|
1520
1411
|
if (message.embeddingModelId !== "") {
|
|
1521
|
-
writer.uint32(
|
|
1412
|
+
writer.uint32(26).string(message.embeddingModelId);
|
|
1522
1413
|
}
|
|
1523
1414
|
if (message.embeddingProviderConfigurationId !== "") {
|
|
1524
|
-
writer.uint32(
|
|
1415
|
+
writer.uint32(34).string(message.embeddingProviderConfigurationId);
|
|
1525
1416
|
}
|
|
1526
1417
|
if (message.embeddingDimensions !== 0) {
|
|
1527
|
-
writer.uint32(
|
|
1418
|
+
writer.uint32(40).int32(message.embeddingDimensions);
|
|
1528
1419
|
}
|
|
1529
1420
|
if (message.classifyModelId !== "") {
|
|
1530
|
-
writer.uint32(
|
|
1421
|
+
writer.uint32(50).string(message.classifyModelId);
|
|
1531
1422
|
}
|
|
1532
1423
|
if (message.classifyProviderConfigurationId !== "") {
|
|
1533
|
-
writer.uint32(
|
|
1424
|
+
writer.uint32(58).string(message.classifyProviderConfigurationId);
|
|
1534
1425
|
}
|
|
1535
1426
|
if (message.createThreadModelId !== "") {
|
|
1536
|
-
writer.uint32(
|
|
1427
|
+
writer.uint32(66).string(message.createThreadModelId);
|
|
1537
1428
|
}
|
|
1538
1429
|
if (message.createThreadProviderConfigurationId !== "") {
|
|
1539
|
-
writer.uint32(
|
|
1430
|
+
writer.uint32(74).string(message.createThreadProviderConfigurationId);
|
|
1540
1431
|
}
|
|
1541
1432
|
if (message.extractModelId !== "") {
|
|
1542
|
-
writer.uint32(
|
|
1433
|
+
writer.uint32(82).string(message.extractModelId);
|
|
1543
1434
|
}
|
|
1544
1435
|
if (message.extractProviderConfigurationId !== "") {
|
|
1545
|
-
writer.uint32(
|
|
1436
|
+
writer.uint32(90).string(message.extractProviderConfigurationId);
|
|
1546
1437
|
}
|
|
1547
1438
|
if (message.embedModelId !== "") {
|
|
1548
|
-
writer.uint32(
|
|
1439
|
+
writer.uint32(98).string(message.embedModelId);
|
|
1549
1440
|
}
|
|
1550
1441
|
if (message.embedProviderConfigurationId !== "") {
|
|
1551
|
-
writer.uint32(
|
|
1442
|
+
writer.uint32(106).string(message.embedProviderConfigurationId);
|
|
1552
1443
|
}
|
|
1553
1444
|
if (message.embedDimensions !== 0) {
|
|
1554
|
-
writer.uint32(
|
|
1445
|
+
writer.uint32(112).int32(message.embedDimensions);
|
|
1555
1446
|
}
|
|
1556
1447
|
if (message.reconcileModelId !== "") {
|
|
1557
|
-
writer.uint32(
|
|
1448
|
+
writer.uint32(122).string(message.reconcileModelId);
|
|
1558
1449
|
}
|
|
1559
1450
|
if (message.reconcileProviderConfigurationId !== "") {
|
|
1560
|
-
writer.uint32(
|
|
1451
|
+
writer.uint32(130).string(message.reconcileProviderConfigurationId);
|
|
1561
1452
|
}
|
|
1562
1453
|
if (message.diffModelId !== "") {
|
|
1563
|
-
writer.uint32(
|
|
1454
|
+
writer.uint32(138).string(message.diffModelId);
|
|
1564
1455
|
}
|
|
1565
1456
|
if (message.diffProviderConfigurationId !== "") {
|
|
1566
|
-
writer.uint32(
|
|
1457
|
+
writer.uint32(146).string(message.diffProviderConfigurationId);
|
|
1567
1458
|
}
|
|
1568
1459
|
if (message.createThreadLoopCount !== 0) {
|
|
1569
|
-
writer.uint32(
|
|
1460
|
+
writer.uint32(152).int32(message.createThreadLoopCount);
|
|
1570
1461
|
}
|
|
1571
1462
|
return writer;
|
|
1572
1463
|
},
|
|
@@ -1581,137 +1472,130 @@ exports.SetIngestionSettingsRequest = {
|
|
|
1581
1472
|
if (tag !== 10) {
|
|
1582
1473
|
break;
|
|
1583
1474
|
}
|
|
1584
|
-
message.
|
|
1475
|
+
message.reasoningModelId = reader.string();
|
|
1585
1476
|
continue;
|
|
1586
1477
|
}
|
|
1587
1478
|
case 2: {
|
|
1588
1479
|
if (tag !== 18) {
|
|
1589
1480
|
break;
|
|
1590
1481
|
}
|
|
1591
|
-
message.
|
|
1482
|
+
message.reasoningProviderConfigurationId = reader.string();
|
|
1592
1483
|
continue;
|
|
1593
1484
|
}
|
|
1594
1485
|
case 3: {
|
|
1595
1486
|
if (tag !== 26) {
|
|
1596
1487
|
break;
|
|
1597
1488
|
}
|
|
1598
|
-
message.
|
|
1489
|
+
message.embeddingModelId = reader.string();
|
|
1599
1490
|
continue;
|
|
1600
1491
|
}
|
|
1601
1492
|
case 4: {
|
|
1602
1493
|
if (tag !== 34) {
|
|
1603
1494
|
break;
|
|
1604
1495
|
}
|
|
1605
|
-
message.
|
|
1496
|
+
message.embeddingProviderConfigurationId = reader.string();
|
|
1606
1497
|
continue;
|
|
1607
1498
|
}
|
|
1608
1499
|
case 5: {
|
|
1609
|
-
if (tag !==
|
|
1500
|
+
if (tag !== 40) {
|
|
1610
1501
|
break;
|
|
1611
1502
|
}
|
|
1612
|
-
message.
|
|
1503
|
+
message.embeddingDimensions = reader.int32();
|
|
1613
1504
|
continue;
|
|
1614
1505
|
}
|
|
1615
1506
|
case 6: {
|
|
1616
|
-
if (tag !==
|
|
1507
|
+
if (tag !== 50) {
|
|
1617
1508
|
break;
|
|
1618
1509
|
}
|
|
1619
|
-
message.
|
|
1510
|
+
message.classifyModelId = reader.string();
|
|
1620
1511
|
continue;
|
|
1621
1512
|
}
|
|
1622
1513
|
case 7: {
|
|
1623
1514
|
if (tag !== 58) {
|
|
1624
1515
|
break;
|
|
1625
1516
|
}
|
|
1626
|
-
message.
|
|
1517
|
+
message.classifyProviderConfigurationId = reader.string();
|
|
1627
1518
|
continue;
|
|
1628
1519
|
}
|
|
1629
1520
|
case 8: {
|
|
1630
1521
|
if (tag !== 66) {
|
|
1631
1522
|
break;
|
|
1632
1523
|
}
|
|
1633
|
-
message.
|
|
1524
|
+
message.createThreadModelId = reader.string();
|
|
1634
1525
|
continue;
|
|
1635
1526
|
}
|
|
1636
1527
|
case 9: {
|
|
1637
1528
|
if (tag !== 74) {
|
|
1638
1529
|
break;
|
|
1639
1530
|
}
|
|
1640
|
-
message.
|
|
1531
|
+
message.createThreadProviderConfigurationId = reader.string();
|
|
1641
1532
|
continue;
|
|
1642
1533
|
}
|
|
1643
1534
|
case 10: {
|
|
1644
1535
|
if (tag !== 82) {
|
|
1645
1536
|
break;
|
|
1646
1537
|
}
|
|
1647
|
-
message.
|
|
1538
|
+
message.extractModelId = reader.string();
|
|
1648
1539
|
continue;
|
|
1649
1540
|
}
|
|
1650
1541
|
case 11: {
|
|
1651
1542
|
if (tag !== 90) {
|
|
1652
1543
|
break;
|
|
1653
1544
|
}
|
|
1654
|
-
message.
|
|
1545
|
+
message.extractProviderConfigurationId = reader.string();
|
|
1655
1546
|
continue;
|
|
1656
1547
|
}
|
|
1657
1548
|
case 12: {
|
|
1658
1549
|
if (tag !== 98) {
|
|
1659
1550
|
break;
|
|
1660
1551
|
}
|
|
1661
|
-
message.
|
|
1552
|
+
message.embedModelId = reader.string();
|
|
1662
1553
|
continue;
|
|
1663
1554
|
}
|
|
1664
1555
|
case 13: {
|
|
1665
1556
|
if (tag !== 106) {
|
|
1666
1557
|
break;
|
|
1667
1558
|
}
|
|
1668
|
-
message.
|
|
1559
|
+
message.embedProviderConfigurationId = reader.string();
|
|
1669
1560
|
continue;
|
|
1670
1561
|
}
|
|
1671
1562
|
case 14: {
|
|
1672
|
-
if (tag !==
|
|
1563
|
+
if (tag !== 112) {
|
|
1673
1564
|
break;
|
|
1674
1565
|
}
|
|
1675
|
-
message.
|
|
1566
|
+
message.embedDimensions = reader.int32();
|
|
1676
1567
|
continue;
|
|
1677
1568
|
}
|
|
1678
1569
|
case 15: {
|
|
1679
|
-
if (tag !==
|
|
1570
|
+
if (tag !== 122) {
|
|
1680
1571
|
break;
|
|
1681
1572
|
}
|
|
1682
|
-
message.
|
|
1573
|
+
message.reconcileModelId = reader.string();
|
|
1683
1574
|
continue;
|
|
1684
1575
|
}
|
|
1685
1576
|
case 16: {
|
|
1686
1577
|
if (tag !== 130) {
|
|
1687
1578
|
break;
|
|
1688
1579
|
}
|
|
1689
|
-
message.
|
|
1580
|
+
message.reconcileProviderConfigurationId = reader.string();
|
|
1690
1581
|
continue;
|
|
1691
1582
|
}
|
|
1692
1583
|
case 17: {
|
|
1693
1584
|
if (tag !== 138) {
|
|
1694
1585
|
break;
|
|
1695
1586
|
}
|
|
1696
|
-
message.
|
|
1587
|
+
message.diffModelId = reader.string();
|
|
1697
1588
|
continue;
|
|
1698
1589
|
}
|
|
1699
1590
|
case 18: {
|
|
1700
1591
|
if (tag !== 146) {
|
|
1701
1592
|
break;
|
|
1702
1593
|
}
|
|
1703
|
-
message.diffModelId = reader.string();
|
|
1704
|
-
continue;
|
|
1705
|
-
}
|
|
1706
|
-
case 19: {
|
|
1707
|
-
if (tag !== 154) {
|
|
1708
|
-
break;
|
|
1709
|
-
}
|
|
1710
1594
|
message.diffProviderConfigurationId = reader.string();
|
|
1711
1595
|
continue;
|
|
1712
1596
|
}
|
|
1713
|
-
case
|
|
1714
|
-
if (tag !==
|
|
1597
|
+
case 19: {
|
|
1598
|
+
if (tag !== 152) {
|
|
1715
1599
|
break;
|
|
1716
1600
|
}
|
|
1717
1601
|
message.createThreadLoopCount = reader.int32();
|
|
@@ -1727,11 +1611,6 @@ exports.SetIngestionSettingsRequest = {
|
|
|
1727
1611
|
},
|
|
1728
1612
|
fromJSON(object) {
|
|
1729
1613
|
return {
|
|
1730
|
-
organizationId: isSet(object.organizationId)
|
|
1731
|
-
? globalThis.String(object.organizationId)
|
|
1732
|
-
: isSet(object.organization_id)
|
|
1733
|
-
? globalThis.String(object.organization_id)
|
|
1734
|
-
: "",
|
|
1735
1614
|
reasoningModelId: isSet(object.reasoningModelId)
|
|
1736
1615
|
? globalThis.String(object.reasoningModelId)
|
|
1737
1616
|
: isSet(object.reasoning_model_id)
|
|
@@ -1831,9 +1710,6 @@ exports.SetIngestionSettingsRequest = {
|
|
|
1831
1710
|
},
|
|
1832
1711
|
toJSON(message) {
|
|
1833
1712
|
const obj = {};
|
|
1834
|
-
if (message.organizationId !== "") {
|
|
1835
|
-
obj.organizationId = message.organizationId;
|
|
1836
|
-
}
|
|
1837
1713
|
if (message.reasoningModelId !== "") {
|
|
1838
1714
|
obj.reasoningModelId = message.reasoningModelId;
|
|
1839
1715
|
}
|
|
@@ -1897,28 +1773,27 @@ exports.SetIngestionSettingsRequest = {
|
|
|
1897
1773
|
return exports.SetIngestionSettingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1898
1774
|
},
|
|
1899
1775
|
fromPartial(object) {
|
|
1900
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u
|
|
1776
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
1901
1777
|
const message = createBaseSetIngestionSettingsRequest();
|
|
1902
|
-
message.
|
|
1903
|
-
message.
|
|
1904
|
-
message.
|
|
1905
|
-
message.
|
|
1906
|
-
message.
|
|
1907
|
-
message.
|
|
1908
|
-
message.
|
|
1909
|
-
message.
|
|
1910
|
-
message.
|
|
1911
|
-
message.
|
|
1912
|
-
message.
|
|
1913
|
-
message.
|
|
1914
|
-
message.
|
|
1915
|
-
message.
|
|
1916
|
-
message.
|
|
1917
|
-
message.
|
|
1918
|
-
message.
|
|
1919
|
-
message.
|
|
1920
|
-
message.
|
|
1921
|
-
message.createThreadLoopCount = (_v = object.createThreadLoopCount) !== null && _v !== void 0 ? _v : 0;
|
|
1778
|
+
message.reasoningModelId = (_a = object.reasoningModelId) !== null && _a !== void 0 ? _a : "";
|
|
1779
|
+
message.reasoningProviderConfigurationId = (_b = object.reasoningProviderConfigurationId) !== null && _b !== void 0 ? _b : "";
|
|
1780
|
+
message.embeddingModelId = (_c = object.embeddingModelId) !== null && _c !== void 0 ? _c : "";
|
|
1781
|
+
message.embeddingProviderConfigurationId = (_d = object.embeddingProviderConfigurationId) !== null && _d !== void 0 ? _d : "";
|
|
1782
|
+
message.embeddingDimensions = (_e = object.embeddingDimensions) !== null && _e !== void 0 ? _e : 0;
|
|
1783
|
+
message.classifyModelId = (_f = object.classifyModelId) !== null && _f !== void 0 ? _f : "";
|
|
1784
|
+
message.classifyProviderConfigurationId = (_g = object.classifyProviderConfigurationId) !== null && _g !== void 0 ? _g : "";
|
|
1785
|
+
message.createThreadModelId = (_h = object.createThreadModelId) !== null && _h !== void 0 ? _h : "";
|
|
1786
|
+
message.createThreadProviderConfigurationId = (_j = object.createThreadProviderConfigurationId) !== null && _j !== void 0 ? _j : "";
|
|
1787
|
+
message.extractModelId = (_k = object.extractModelId) !== null && _k !== void 0 ? _k : "";
|
|
1788
|
+
message.extractProviderConfigurationId = (_l = object.extractProviderConfigurationId) !== null && _l !== void 0 ? _l : "";
|
|
1789
|
+
message.embedModelId = (_m = object.embedModelId) !== null && _m !== void 0 ? _m : "";
|
|
1790
|
+
message.embedProviderConfigurationId = (_o = object.embedProviderConfigurationId) !== null && _o !== void 0 ? _o : "";
|
|
1791
|
+
message.embedDimensions = (_p = object.embedDimensions) !== null && _p !== void 0 ? _p : 0;
|
|
1792
|
+
message.reconcileModelId = (_q = object.reconcileModelId) !== null && _q !== void 0 ? _q : "";
|
|
1793
|
+
message.reconcileProviderConfigurationId = (_r = object.reconcileProviderConfigurationId) !== null && _r !== void 0 ? _r : "";
|
|
1794
|
+
message.diffModelId = (_s = object.diffModelId) !== null && _s !== void 0 ? _s : "";
|
|
1795
|
+
message.diffProviderConfigurationId = (_t = object.diffProviderConfigurationId) !== null && _t !== void 0 ? _t : "";
|
|
1796
|
+
message.createThreadLoopCount = (_u = object.createThreadLoopCount) !== null && _u !== void 0 ? _u : 0;
|
|
1922
1797
|
return message;
|
|
1923
1798
|
},
|
|
1924
1799
|
};
|
|
@@ -1975,87 +1850,1330 @@ exports.SetIngestionSettingsResponse = {
|
|
|
1975
1850
|
return message;
|
|
1976
1851
|
},
|
|
1977
1852
|
};
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
constructor(rpc, opts) {
|
|
1981
|
-
this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.ModelCatalogServiceServiceName;
|
|
1982
|
-
this.rpc = rpc;
|
|
1983
|
-
this.ListModels = this.ListModels.bind(this);
|
|
1984
|
-
this.GetModel = this.GetModel.bind(this);
|
|
1985
|
-
this.ListCatalogProviders = this.ListCatalogProviders.bind(this);
|
|
1986
|
-
this.ListOrganizationApprovedModels = this.ListOrganizationApprovedModels.bind(this);
|
|
1987
|
-
this.ApproveModel = this.ApproveModel.bind(this);
|
|
1988
|
-
this.UnapproveModel = this.UnapproveModel.bind(this);
|
|
1989
|
-
this.GetChatDefaults = this.GetChatDefaults.bind(this);
|
|
1990
|
-
this.SetChatDefaults = this.SetChatDefaults.bind(this);
|
|
1991
|
-
this.GetIngestionSettings = this.GetIngestionSettings.bind(this);
|
|
1992
|
-
this.SetIngestionSettings = this.SetIngestionSettings.bind(this);
|
|
1993
|
-
}
|
|
1994
|
-
ListModels(request) {
|
|
1995
|
-
const data = exports.ListModelsRequest.encode(request).finish();
|
|
1996
|
-
const promise = this.rpc.request(this.service, "ListModels", data);
|
|
1997
|
-
return promise.then((data) => exports.ListModelsResponse.decode(new wire_1.BinaryReader(data)));
|
|
1998
|
-
}
|
|
1999
|
-
GetModel(request) {
|
|
2000
|
-
const data = exports.GetModelRequest.encode(request).finish();
|
|
2001
|
-
const promise = this.rpc.request(this.service, "GetModel", data);
|
|
2002
|
-
return promise.then((data) => exports.GetModelResponse.decode(new wire_1.BinaryReader(data)));
|
|
2003
|
-
}
|
|
2004
|
-
ListCatalogProviders(request) {
|
|
2005
|
-
const data = exports.ListCatalogProvidersRequest.encode(request).finish();
|
|
2006
|
-
const promise = this.rpc.request(this.service, "ListCatalogProviders", data);
|
|
2007
|
-
return promise.then((data) => exports.ListCatalogProvidersResponse.decode(new wire_1.BinaryReader(data)));
|
|
2008
|
-
}
|
|
2009
|
-
ListOrganizationApprovedModels(request) {
|
|
2010
|
-
const data = exports.ListOrganizationApprovedModelsRequest.encode(request).finish();
|
|
2011
|
-
const promise = this.rpc.request(this.service, "ListOrganizationApprovedModels", data);
|
|
2012
|
-
return promise.then((data) => exports.ListOrganizationApprovedModelsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2013
|
-
}
|
|
2014
|
-
ApproveModel(request) {
|
|
2015
|
-
const data = exports.ApproveModelRequest.encode(request).finish();
|
|
2016
|
-
const promise = this.rpc.request(this.service, "ApproveModel", data);
|
|
2017
|
-
return promise.then((data) => exports.ApproveModelResponse.decode(new wire_1.BinaryReader(data)));
|
|
2018
|
-
}
|
|
2019
|
-
UnapproveModel(request) {
|
|
2020
|
-
const data = exports.UnapproveModelRequest.encode(request).finish();
|
|
2021
|
-
const promise = this.rpc.request(this.service, "UnapproveModel", data);
|
|
2022
|
-
return promise.then((data) => exports.UnapproveModelResponse.decode(new wire_1.BinaryReader(data)));
|
|
2023
|
-
}
|
|
2024
|
-
GetChatDefaults(request) {
|
|
2025
|
-
const data = exports.GetChatDefaultsRequest.encode(request).finish();
|
|
2026
|
-
const promise = this.rpc.request(this.service, "GetChatDefaults", data);
|
|
2027
|
-
return promise.then((data) => exports.GetChatDefaultsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2028
|
-
}
|
|
2029
|
-
SetChatDefaults(request) {
|
|
2030
|
-
const data = exports.SetChatDefaultsRequest.encode(request).finish();
|
|
2031
|
-
const promise = this.rpc.request(this.service, "SetChatDefaults", data);
|
|
2032
|
-
return promise.then((data) => exports.SetChatDefaultsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2033
|
-
}
|
|
2034
|
-
GetIngestionSettings(request) {
|
|
2035
|
-
const data = exports.GetIngestionSettingsRequest.encode(request).finish();
|
|
2036
|
-
const promise = this.rpc.request(this.service, "GetIngestionSettings", data);
|
|
2037
|
-
return promise.then((data) => exports.GetIngestionSettingsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2038
|
-
}
|
|
2039
|
-
SetIngestionSettings(request) {
|
|
2040
|
-
const data = exports.SetIngestionSettingsRequest.encode(request).finish();
|
|
2041
|
-
const promise = this.rpc.request(this.service, "SetIngestionSettings", data);
|
|
2042
|
-
return promise.then((data) => exports.SetIngestionSettingsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2043
|
-
}
|
|
1853
|
+
function createBaseGetChatDefaultsRequest() {
|
|
1854
|
+
return {};
|
|
2044
1855
|
}
|
|
2045
|
-
exports.
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
1856
|
+
exports.GetChatDefaultsRequest = {
|
|
1857
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
1858
|
+
return writer;
|
|
1859
|
+
},
|
|
1860
|
+
decode(input, length) {
|
|
1861
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1862
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1863
|
+
const message = createBaseGetChatDefaultsRequest();
|
|
1864
|
+
while (reader.pos < end) {
|
|
1865
|
+
const tag = reader.uint32();
|
|
1866
|
+
switch (tag >>> 3) {
|
|
1867
|
+
}
|
|
1868
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1869
|
+
break;
|
|
1870
|
+
}
|
|
1871
|
+
reader.skip(tag & 7);
|
|
1872
|
+
}
|
|
1873
|
+
return message;
|
|
1874
|
+
},
|
|
1875
|
+
fromJSON(_) {
|
|
1876
|
+
return {};
|
|
1877
|
+
},
|
|
1878
|
+
toJSON(_) {
|
|
1879
|
+
const obj = {};
|
|
1880
|
+
return obj;
|
|
1881
|
+
},
|
|
1882
|
+
create(base) {
|
|
1883
|
+
return exports.GetChatDefaultsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1884
|
+
},
|
|
1885
|
+
fromPartial(_) {
|
|
1886
|
+
const message = createBaseGetChatDefaultsRequest();
|
|
1887
|
+
return message;
|
|
1888
|
+
},
|
|
1889
|
+
};
|
|
1890
|
+
function createBaseGetChatDefaultsResponse() {
|
|
1891
|
+
return { settings: undefined };
|
|
1892
|
+
}
|
|
1893
|
+
exports.GetChatDefaultsResponse = {
|
|
1894
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1895
|
+
if (message.settings !== undefined) {
|
|
1896
|
+
model_pb_1.OrganizationChatSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
1897
|
+
}
|
|
1898
|
+
return writer;
|
|
1899
|
+
},
|
|
1900
|
+
decode(input, length) {
|
|
1901
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1902
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1903
|
+
const message = createBaseGetChatDefaultsResponse();
|
|
1904
|
+
while (reader.pos < end) {
|
|
1905
|
+
const tag = reader.uint32();
|
|
1906
|
+
switch (tag >>> 3) {
|
|
1907
|
+
case 1: {
|
|
1908
|
+
if (tag !== 10) {
|
|
1909
|
+
break;
|
|
1910
|
+
}
|
|
1911
|
+
message.settings = model_pb_1.OrganizationChatSettings.decode(reader, reader.uint32());
|
|
1912
|
+
continue;
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1916
|
+
break;
|
|
1917
|
+
}
|
|
1918
|
+
reader.skip(tag & 7);
|
|
1919
|
+
}
|
|
1920
|
+
return message;
|
|
1921
|
+
},
|
|
1922
|
+
fromJSON(object) {
|
|
1923
|
+
return { settings: isSet(object.settings) ? model_pb_1.OrganizationChatSettings.fromJSON(object.settings) : undefined };
|
|
1924
|
+
},
|
|
1925
|
+
toJSON(message) {
|
|
1926
|
+
const obj = {};
|
|
1927
|
+
if (message.settings !== undefined) {
|
|
1928
|
+
obj.settings = model_pb_1.OrganizationChatSettings.toJSON(message.settings);
|
|
1929
|
+
}
|
|
1930
|
+
return obj;
|
|
1931
|
+
},
|
|
1932
|
+
create(base) {
|
|
1933
|
+
return exports.GetChatDefaultsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1934
|
+
},
|
|
1935
|
+
fromPartial(object) {
|
|
1936
|
+
const message = createBaseGetChatDefaultsResponse();
|
|
1937
|
+
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
1938
|
+
? model_pb_1.OrganizationChatSettings.fromPartial(object.settings)
|
|
1939
|
+
: undefined;
|
|
1940
|
+
return message;
|
|
1941
|
+
},
|
|
1942
|
+
};
|
|
1943
|
+
function createBaseSetChatDefaultsRequest() {
|
|
1944
|
+
return {
|
|
1945
|
+
defaultChatModelId: "",
|
|
1946
|
+
defaultProviderConfigurationId: "",
|
|
1947
|
+
defaultFastModelId: "",
|
|
1948
|
+
defaultFastProviderConfigurationId: "",
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
exports.SetChatDefaultsRequest = {
|
|
1952
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1953
|
+
if (message.defaultChatModelId !== "") {
|
|
1954
|
+
writer.uint32(10).string(message.defaultChatModelId);
|
|
1955
|
+
}
|
|
1956
|
+
if (message.defaultProviderConfigurationId !== "") {
|
|
1957
|
+
writer.uint32(18).string(message.defaultProviderConfigurationId);
|
|
1958
|
+
}
|
|
1959
|
+
if (message.defaultFastModelId !== "") {
|
|
1960
|
+
writer.uint32(26).string(message.defaultFastModelId);
|
|
1961
|
+
}
|
|
1962
|
+
if (message.defaultFastProviderConfigurationId !== "") {
|
|
1963
|
+
writer.uint32(34).string(message.defaultFastProviderConfigurationId);
|
|
1964
|
+
}
|
|
1965
|
+
return writer;
|
|
1966
|
+
},
|
|
1967
|
+
decode(input, length) {
|
|
1968
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1969
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1970
|
+
const message = createBaseSetChatDefaultsRequest();
|
|
1971
|
+
while (reader.pos < end) {
|
|
1972
|
+
const tag = reader.uint32();
|
|
1973
|
+
switch (tag >>> 3) {
|
|
1974
|
+
case 1: {
|
|
1975
|
+
if (tag !== 10) {
|
|
1976
|
+
break;
|
|
1977
|
+
}
|
|
1978
|
+
message.defaultChatModelId = reader.string();
|
|
1979
|
+
continue;
|
|
1980
|
+
}
|
|
1981
|
+
case 2: {
|
|
1982
|
+
if (tag !== 18) {
|
|
1983
|
+
break;
|
|
1984
|
+
}
|
|
1985
|
+
message.defaultProviderConfigurationId = reader.string();
|
|
1986
|
+
continue;
|
|
1987
|
+
}
|
|
1988
|
+
case 3: {
|
|
1989
|
+
if (tag !== 26) {
|
|
1990
|
+
break;
|
|
1991
|
+
}
|
|
1992
|
+
message.defaultFastModelId = reader.string();
|
|
1993
|
+
continue;
|
|
1994
|
+
}
|
|
1995
|
+
case 4: {
|
|
1996
|
+
if (tag !== 34) {
|
|
1997
|
+
break;
|
|
1998
|
+
}
|
|
1999
|
+
message.defaultFastProviderConfigurationId = reader.string();
|
|
2000
|
+
continue;
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2004
|
+
break;
|
|
2005
|
+
}
|
|
2006
|
+
reader.skip(tag & 7);
|
|
2007
|
+
}
|
|
2008
|
+
return message;
|
|
2009
|
+
},
|
|
2010
|
+
fromJSON(object) {
|
|
2011
|
+
return {
|
|
2012
|
+
defaultChatModelId: isSet(object.defaultChatModelId)
|
|
2013
|
+
? globalThis.String(object.defaultChatModelId)
|
|
2014
|
+
: isSet(object.default_chat_model_id)
|
|
2015
|
+
? globalThis.String(object.default_chat_model_id)
|
|
2016
|
+
: "",
|
|
2017
|
+
defaultProviderConfigurationId: isSet(object.defaultProviderConfigurationId)
|
|
2018
|
+
? globalThis.String(object.defaultProviderConfigurationId)
|
|
2019
|
+
: isSet(object.default_provider_configuration_id)
|
|
2020
|
+
? globalThis.String(object.default_provider_configuration_id)
|
|
2021
|
+
: "",
|
|
2022
|
+
defaultFastModelId: isSet(object.defaultFastModelId)
|
|
2023
|
+
? globalThis.String(object.defaultFastModelId)
|
|
2024
|
+
: isSet(object.default_fast_model_id)
|
|
2025
|
+
? globalThis.String(object.default_fast_model_id)
|
|
2026
|
+
: "",
|
|
2027
|
+
defaultFastProviderConfigurationId: isSet(object.defaultFastProviderConfigurationId)
|
|
2028
|
+
? globalThis.String(object.defaultFastProviderConfigurationId)
|
|
2029
|
+
: isSet(object.default_fast_provider_configuration_id)
|
|
2030
|
+
? globalThis.String(object.default_fast_provider_configuration_id)
|
|
2031
|
+
: "",
|
|
2032
|
+
};
|
|
2033
|
+
},
|
|
2034
|
+
toJSON(message) {
|
|
2035
|
+
const obj = {};
|
|
2036
|
+
if (message.defaultChatModelId !== "") {
|
|
2037
|
+
obj.defaultChatModelId = message.defaultChatModelId;
|
|
2038
|
+
}
|
|
2039
|
+
if (message.defaultProviderConfigurationId !== "") {
|
|
2040
|
+
obj.defaultProviderConfigurationId = message.defaultProviderConfigurationId;
|
|
2041
|
+
}
|
|
2042
|
+
if (message.defaultFastModelId !== "") {
|
|
2043
|
+
obj.defaultFastModelId = message.defaultFastModelId;
|
|
2044
|
+
}
|
|
2045
|
+
if (message.defaultFastProviderConfigurationId !== "") {
|
|
2046
|
+
obj.defaultFastProviderConfigurationId = message.defaultFastProviderConfigurationId;
|
|
2047
|
+
}
|
|
2048
|
+
return obj;
|
|
2049
|
+
},
|
|
2050
|
+
create(base) {
|
|
2051
|
+
return exports.SetChatDefaultsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2052
|
+
},
|
|
2053
|
+
fromPartial(object) {
|
|
2054
|
+
var _a, _b, _c, _d;
|
|
2055
|
+
const message = createBaseSetChatDefaultsRequest();
|
|
2056
|
+
message.defaultChatModelId = (_a = object.defaultChatModelId) !== null && _a !== void 0 ? _a : "";
|
|
2057
|
+
message.defaultProviderConfigurationId = (_b = object.defaultProviderConfigurationId) !== null && _b !== void 0 ? _b : "";
|
|
2058
|
+
message.defaultFastModelId = (_c = object.defaultFastModelId) !== null && _c !== void 0 ? _c : "";
|
|
2059
|
+
message.defaultFastProviderConfigurationId = (_d = object.defaultFastProviderConfigurationId) !== null && _d !== void 0 ? _d : "";
|
|
2060
|
+
return message;
|
|
2061
|
+
},
|
|
2062
|
+
};
|
|
2063
|
+
function createBaseSetChatDefaultsResponse() {
|
|
2064
|
+
return { settings: undefined };
|
|
2065
|
+
}
|
|
2066
|
+
exports.SetChatDefaultsResponse = {
|
|
2067
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2068
|
+
if (message.settings !== undefined) {
|
|
2069
|
+
model_pb_1.OrganizationChatSettings.encode(message.settings, writer.uint32(10).fork()).join();
|
|
2070
|
+
}
|
|
2071
|
+
return writer;
|
|
2072
|
+
},
|
|
2073
|
+
decode(input, length) {
|
|
2074
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2075
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2076
|
+
const message = createBaseSetChatDefaultsResponse();
|
|
2077
|
+
while (reader.pos < end) {
|
|
2078
|
+
const tag = reader.uint32();
|
|
2079
|
+
switch (tag >>> 3) {
|
|
2080
|
+
case 1: {
|
|
2081
|
+
if (tag !== 10) {
|
|
2082
|
+
break;
|
|
2083
|
+
}
|
|
2084
|
+
message.settings = model_pb_1.OrganizationChatSettings.decode(reader, reader.uint32());
|
|
2085
|
+
continue;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2089
|
+
break;
|
|
2090
|
+
}
|
|
2091
|
+
reader.skip(tag & 7);
|
|
2092
|
+
}
|
|
2093
|
+
return message;
|
|
2094
|
+
},
|
|
2095
|
+
fromJSON(object) {
|
|
2096
|
+
return { settings: isSet(object.settings) ? model_pb_1.OrganizationChatSettings.fromJSON(object.settings) : undefined };
|
|
2097
|
+
},
|
|
2098
|
+
toJSON(message) {
|
|
2099
|
+
const obj = {};
|
|
2100
|
+
if (message.settings !== undefined) {
|
|
2101
|
+
obj.settings = model_pb_1.OrganizationChatSettings.toJSON(message.settings);
|
|
2102
|
+
}
|
|
2103
|
+
return obj;
|
|
2104
|
+
},
|
|
2105
|
+
create(base) {
|
|
2106
|
+
return exports.SetChatDefaultsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2107
|
+
},
|
|
2108
|
+
fromPartial(object) {
|
|
2109
|
+
const message = createBaseSetChatDefaultsResponse();
|
|
2110
|
+
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
2111
|
+
? model_pb_1.OrganizationChatSettings.fromPartial(object.settings)
|
|
2112
|
+
: undefined;
|
|
2113
|
+
return message;
|
|
2114
|
+
},
|
|
2115
|
+
};
|
|
2116
|
+
function createBaseInferenceModelRoute() {
|
|
2117
|
+
return {
|
|
2118
|
+
id: "",
|
|
2119
|
+
orgId: "",
|
|
2120
|
+
inferenceModelId: "",
|
|
2121
|
+
modelId: "",
|
|
2122
|
+
providerConfigurationId: "",
|
|
2123
|
+
providerModelId: "",
|
|
2124
|
+
priority: 0,
|
|
2125
|
+
};
|
|
2126
|
+
}
|
|
2127
|
+
exports.InferenceModelRoute = {
|
|
2128
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2129
|
+
if (message.id !== "") {
|
|
2130
|
+
writer.uint32(10).string(message.id);
|
|
2131
|
+
}
|
|
2132
|
+
if (message.orgId !== "") {
|
|
2133
|
+
writer.uint32(18).string(message.orgId);
|
|
2134
|
+
}
|
|
2135
|
+
if (message.inferenceModelId !== "") {
|
|
2136
|
+
writer.uint32(26).string(message.inferenceModelId);
|
|
2137
|
+
}
|
|
2138
|
+
if (message.modelId !== "") {
|
|
2139
|
+
writer.uint32(34).string(message.modelId);
|
|
2140
|
+
}
|
|
2141
|
+
if (message.providerConfigurationId !== "") {
|
|
2142
|
+
writer.uint32(42).string(message.providerConfigurationId);
|
|
2143
|
+
}
|
|
2144
|
+
if (message.providerModelId !== "") {
|
|
2145
|
+
writer.uint32(50).string(message.providerModelId);
|
|
2146
|
+
}
|
|
2147
|
+
if (message.priority !== 0) {
|
|
2148
|
+
writer.uint32(56).int32(message.priority);
|
|
2149
|
+
}
|
|
2150
|
+
return writer;
|
|
2151
|
+
},
|
|
2152
|
+
decode(input, length) {
|
|
2153
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2154
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2155
|
+
const message = createBaseInferenceModelRoute();
|
|
2156
|
+
while (reader.pos < end) {
|
|
2157
|
+
const tag = reader.uint32();
|
|
2158
|
+
switch (tag >>> 3) {
|
|
2159
|
+
case 1: {
|
|
2160
|
+
if (tag !== 10) {
|
|
2161
|
+
break;
|
|
2162
|
+
}
|
|
2163
|
+
message.id = reader.string();
|
|
2164
|
+
continue;
|
|
2165
|
+
}
|
|
2166
|
+
case 2: {
|
|
2167
|
+
if (tag !== 18) {
|
|
2168
|
+
break;
|
|
2169
|
+
}
|
|
2170
|
+
message.orgId = reader.string();
|
|
2171
|
+
continue;
|
|
2172
|
+
}
|
|
2173
|
+
case 3: {
|
|
2174
|
+
if (tag !== 26) {
|
|
2175
|
+
break;
|
|
2176
|
+
}
|
|
2177
|
+
message.inferenceModelId = reader.string();
|
|
2178
|
+
continue;
|
|
2179
|
+
}
|
|
2180
|
+
case 4: {
|
|
2181
|
+
if (tag !== 34) {
|
|
2182
|
+
break;
|
|
2183
|
+
}
|
|
2184
|
+
message.modelId = reader.string();
|
|
2185
|
+
continue;
|
|
2186
|
+
}
|
|
2187
|
+
case 5: {
|
|
2188
|
+
if (tag !== 42) {
|
|
2189
|
+
break;
|
|
2190
|
+
}
|
|
2191
|
+
message.providerConfigurationId = reader.string();
|
|
2192
|
+
continue;
|
|
2193
|
+
}
|
|
2194
|
+
case 6: {
|
|
2195
|
+
if (tag !== 50) {
|
|
2196
|
+
break;
|
|
2197
|
+
}
|
|
2198
|
+
message.providerModelId = reader.string();
|
|
2199
|
+
continue;
|
|
2200
|
+
}
|
|
2201
|
+
case 7: {
|
|
2202
|
+
if (tag !== 56) {
|
|
2203
|
+
break;
|
|
2204
|
+
}
|
|
2205
|
+
message.priority = reader.int32();
|
|
2206
|
+
continue;
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
reader.skip(tag & 7);
|
|
2213
|
+
}
|
|
2214
|
+
return message;
|
|
2215
|
+
},
|
|
2216
|
+
fromJSON(object) {
|
|
2217
|
+
return {
|
|
2218
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
2219
|
+
orgId: isSet(object.orgId)
|
|
2220
|
+
? globalThis.String(object.orgId)
|
|
2221
|
+
: isSet(object.org_id)
|
|
2222
|
+
? globalThis.String(object.org_id)
|
|
2223
|
+
: "",
|
|
2224
|
+
inferenceModelId: isSet(object.inferenceModelId)
|
|
2225
|
+
? globalThis.String(object.inferenceModelId)
|
|
2226
|
+
: isSet(object.inference_model_id)
|
|
2227
|
+
? globalThis.String(object.inference_model_id)
|
|
2228
|
+
: "",
|
|
2229
|
+
modelId: isSet(object.modelId)
|
|
2230
|
+
? globalThis.String(object.modelId)
|
|
2231
|
+
: isSet(object.model_id)
|
|
2232
|
+
? globalThis.String(object.model_id)
|
|
2233
|
+
: "",
|
|
2234
|
+
providerConfigurationId: isSet(object.providerConfigurationId)
|
|
2235
|
+
? globalThis.String(object.providerConfigurationId)
|
|
2236
|
+
: isSet(object.provider_configuration_id)
|
|
2237
|
+
? globalThis.String(object.provider_configuration_id)
|
|
2238
|
+
: "",
|
|
2239
|
+
providerModelId: isSet(object.providerModelId)
|
|
2240
|
+
? globalThis.String(object.providerModelId)
|
|
2241
|
+
: isSet(object.provider_model_id)
|
|
2242
|
+
? globalThis.String(object.provider_model_id)
|
|
2243
|
+
: "",
|
|
2244
|
+
priority: isSet(object.priority) ? globalThis.Number(object.priority) : 0,
|
|
2245
|
+
};
|
|
2246
|
+
},
|
|
2247
|
+
toJSON(message) {
|
|
2248
|
+
const obj = {};
|
|
2249
|
+
if (message.id !== "") {
|
|
2250
|
+
obj.id = message.id;
|
|
2251
|
+
}
|
|
2252
|
+
if (message.orgId !== "") {
|
|
2253
|
+
obj.orgId = message.orgId;
|
|
2254
|
+
}
|
|
2255
|
+
if (message.inferenceModelId !== "") {
|
|
2256
|
+
obj.inferenceModelId = message.inferenceModelId;
|
|
2257
|
+
}
|
|
2258
|
+
if (message.modelId !== "") {
|
|
2259
|
+
obj.modelId = message.modelId;
|
|
2260
|
+
}
|
|
2261
|
+
if (message.providerConfigurationId !== "") {
|
|
2262
|
+
obj.providerConfigurationId = message.providerConfigurationId;
|
|
2263
|
+
}
|
|
2264
|
+
if (message.providerModelId !== "") {
|
|
2265
|
+
obj.providerModelId = message.providerModelId;
|
|
2266
|
+
}
|
|
2267
|
+
if (message.priority !== 0) {
|
|
2268
|
+
obj.priority = Math.round(message.priority);
|
|
2269
|
+
}
|
|
2270
|
+
return obj;
|
|
2271
|
+
},
|
|
2272
|
+
create(base) {
|
|
2273
|
+
return exports.InferenceModelRoute.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2274
|
+
},
|
|
2275
|
+
fromPartial(object) {
|
|
2276
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2277
|
+
const message = createBaseInferenceModelRoute();
|
|
2278
|
+
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
2279
|
+
message.orgId = (_b = object.orgId) !== null && _b !== void 0 ? _b : "";
|
|
2280
|
+
message.inferenceModelId = (_c = object.inferenceModelId) !== null && _c !== void 0 ? _c : "";
|
|
2281
|
+
message.modelId = (_d = object.modelId) !== null && _d !== void 0 ? _d : "";
|
|
2282
|
+
message.providerConfigurationId = (_e = object.providerConfigurationId) !== null && _e !== void 0 ? _e : "";
|
|
2283
|
+
message.providerModelId = (_f = object.providerModelId) !== null && _f !== void 0 ? _f : "";
|
|
2284
|
+
message.priority = (_g = object.priority) !== null && _g !== void 0 ? _g : 0;
|
|
2285
|
+
return message;
|
|
2286
|
+
},
|
|
2287
|
+
};
|
|
2288
|
+
exports.InferenceModelServiceServiceName = "weaveapi.inference.v1.InferenceModelService";
|
|
2289
|
+
class InferenceModelServiceClientImpl {
|
|
2290
|
+
constructor(rpc, opts) {
|
|
2291
|
+
this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.InferenceModelServiceServiceName;
|
|
2292
|
+
this.rpc = rpc;
|
|
2293
|
+
this.ListModels = this.ListModels.bind(this);
|
|
2294
|
+
this.ListCatalogProviders = this.ListCatalogProviders.bind(this);
|
|
2295
|
+
this.CreateInferenceModelRoute = this.CreateInferenceModelRoute.bind(this);
|
|
2296
|
+
this.GetInferenceModelRoute = this.GetInferenceModelRoute.bind(this);
|
|
2297
|
+
this.UpdateInferenceModelRoute = this.UpdateInferenceModelRoute.bind(this);
|
|
2298
|
+
this.DeleteInferenceModelRoute = this.DeleteInferenceModelRoute.bind(this);
|
|
2299
|
+
this.ListInferenceModelRoutes = this.ListInferenceModelRoutes.bind(this);
|
|
2300
|
+
this.GetModel = this.GetModel.bind(this);
|
|
2301
|
+
this.GetCatalogModel = this.GetCatalogModel.bind(this);
|
|
2302
|
+
this.GetIngestionSettings = this.GetIngestionSettings.bind(this);
|
|
2303
|
+
this.SetIngestionSettings = this.SetIngestionSettings.bind(this);
|
|
2304
|
+
this.GetChatDefaults = this.GetChatDefaults.bind(this);
|
|
2305
|
+
this.SetChatDefaults = this.SetChatDefaults.bind(this);
|
|
2306
|
+
}
|
|
2307
|
+
ListModels(request) {
|
|
2308
|
+
const data = exports.ListModelsRequest.encode(request).finish();
|
|
2309
|
+
const promise = this.rpc.request(this.service, "ListModels", data);
|
|
2310
|
+
return promise.then((data) => exports.ListModelsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2311
|
+
}
|
|
2312
|
+
ListCatalogProviders(request) {
|
|
2313
|
+
const data = exports.ListCatalogProvidersRequest.encode(request).finish();
|
|
2314
|
+
const promise = this.rpc.request(this.service, "ListCatalogProviders", data);
|
|
2315
|
+
return promise.then((data) => exports.ListCatalogProvidersResponse.decode(new wire_1.BinaryReader(data)));
|
|
2316
|
+
}
|
|
2317
|
+
CreateInferenceModelRoute(request) {
|
|
2318
|
+
const data = exports.CreateInferenceModelRouteRequest.encode(request).finish();
|
|
2319
|
+
const promise = this.rpc.request(this.service, "CreateInferenceModelRoute", data);
|
|
2320
|
+
return promise.then((data) => exports.CreateInferenceModelRouteResponse.decode(new wire_1.BinaryReader(data)));
|
|
2321
|
+
}
|
|
2322
|
+
GetInferenceModelRoute(request) {
|
|
2323
|
+
const data = exports.GetInferenceModelRouteRequest.encode(request).finish();
|
|
2324
|
+
const promise = this.rpc.request(this.service, "GetInferenceModelRoute", data);
|
|
2325
|
+
return promise.then((data) => exports.GetInferenceModelRouteResponse.decode(new wire_1.BinaryReader(data)));
|
|
2326
|
+
}
|
|
2327
|
+
UpdateInferenceModelRoute(request) {
|
|
2328
|
+
const data = exports.UpdateInferenceModelRouteRequest.encode(request).finish();
|
|
2329
|
+
const promise = this.rpc.request(this.service, "UpdateInferenceModelRoute", data);
|
|
2330
|
+
return promise.then((data) => exports.UpdateInferenceModelRouteResponse.decode(new wire_1.BinaryReader(data)));
|
|
2331
|
+
}
|
|
2332
|
+
DeleteInferenceModelRoute(request) {
|
|
2333
|
+
const data = exports.DeleteInferenceModelRouteRequest.encode(request).finish();
|
|
2334
|
+
const promise = this.rpc.request(this.service, "DeleteInferenceModelRoute", data);
|
|
2335
|
+
return promise.then((data) => exports.DeleteInferenceModelRouteResponse.decode(new wire_1.BinaryReader(data)));
|
|
2336
|
+
}
|
|
2337
|
+
ListInferenceModelRoutes(request) {
|
|
2338
|
+
const data = exports.ListInferenceModelRoutesRequest.encode(request).finish();
|
|
2339
|
+
const promise = this.rpc.request(this.service, "ListInferenceModelRoutes", data);
|
|
2340
|
+
return promise.then((data) => exports.ListInferenceModelRoutesResponse.decode(new wire_1.BinaryReader(data)));
|
|
2341
|
+
}
|
|
2342
|
+
GetModel(request) {
|
|
2343
|
+
const data = exports.GetModelRequest.encode(request).finish();
|
|
2344
|
+
const promise = this.rpc.request(this.service, "GetModel", data);
|
|
2345
|
+
return promise.then((data) => exports.GetModelResponse.decode(new wire_1.BinaryReader(data)));
|
|
2346
|
+
}
|
|
2347
|
+
GetCatalogModel(request) {
|
|
2348
|
+
const data = exports.GetCatalogModelRequest.encode(request).finish();
|
|
2349
|
+
const promise = this.rpc.request(this.service, "GetCatalogModel", data);
|
|
2350
|
+
return promise.then((data) => exports.GetCatalogModelResponse.decode(new wire_1.BinaryReader(data)));
|
|
2351
|
+
}
|
|
2352
|
+
GetIngestionSettings(request) {
|
|
2353
|
+
const data = exports.GetIngestionSettingsRequest.encode(request).finish();
|
|
2354
|
+
const promise = this.rpc.request(this.service, "GetIngestionSettings", data);
|
|
2355
|
+
return promise.then((data) => exports.GetIngestionSettingsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2356
|
+
}
|
|
2357
|
+
SetIngestionSettings(request) {
|
|
2358
|
+
const data = exports.SetIngestionSettingsRequest.encode(request).finish();
|
|
2359
|
+
const promise = this.rpc.request(this.service, "SetIngestionSettings", data);
|
|
2360
|
+
return promise.then((data) => exports.SetIngestionSettingsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2361
|
+
}
|
|
2362
|
+
GetChatDefaults(request) {
|
|
2363
|
+
const data = exports.GetChatDefaultsRequest.encode(request).finish();
|
|
2364
|
+
const promise = this.rpc.request(this.service, "GetChatDefaults", data);
|
|
2365
|
+
return promise.then((data) => exports.GetChatDefaultsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2366
|
+
}
|
|
2367
|
+
SetChatDefaults(request) {
|
|
2368
|
+
const data = exports.SetChatDefaultsRequest.encode(request).finish();
|
|
2369
|
+
const promise = this.rpc.request(this.service, "SetChatDefaults", data);
|
|
2370
|
+
return promise.then((data) => exports.SetChatDefaultsResponse.decode(new wire_1.BinaryReader(data)));
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
exports.InferenceModelServiceClientImpl = InferenceModelServiceClientImpl;
|
|
2374
|
+
exports.InferenceModelServiceDefinition = {
|
|
2375
|
+
name: "InferenceModelService",
|
|
2376
|
+
fullName: "weaveapi.inference.v1.InferenceModelService",
|
|
2377
|
+
methods: {
|
|
2378
|
+
listModels: {
|
|
2379
|
+
name: "ListModels",
|
|
2380
|
+
requestType: exports.ListModelsRequest,
|
|
2381
|
+
requestStream: false,
|
|
2382
|
+
responseType: exports.ListModelsResponse,
|
|
2383
|
+
responseStream: false,
|
|
2384
|
+
options: {
|
|
2385
|
+
_unknownFields: {
|
|
2386
|
+
408002: [
|
|
2387
|
+
new Uint8Array([
|
|
2388
|
+
42,
|
|
2389
|
+
10,
|
|
2390
|
+
12,
|
|
2391
|
+
111,
|
|
2392
|
+
114,
|
|
2393
|
+
103,
|
|
2394
|
+
97,
|
|
2395
|
+
110,
|
|
2396
|
+
105,
|
|
2397
|
+
122,
|
|
2398
|
+
97,
|
|
2399
|
+
116,
|
|
2400
|
+
105,
|
|
2401
|
+
111,
|
|
2402
|
+
110,
|
|
2403
|
+
18,
|
|
2404
|
+
22,
|
|
2405
|
+
99,
|
|
2406
|
+
97,
|
|
2407
|
+
110,
|
|
2408
|
+
95,
|
|
2409
|
+
118,
|
|
2410
|
+
105,
|
|
2411
|
+
101,
|
|
2412
|
+
119,
|
|
2413
|
+
95,
|
|
2414
|
+
109,
|
|
2415
|
+
111,
|
|
2416
|
+
100,
|
|
2417
|
+
101,
|
|
2418
|
+
108,
|
|
2419
|
+
95,
|
|
2420
|
+
99,
|
|
2421
|
+
97,
|
|
2422
|
+
116,
|
|
2423
|
+
97,
|
|
2424
|
+
108,
|
|
2425
|
+
111,
|
|
2426
|
+
103,
|
|
2427
|
+
26,
|
|
2428
|
+
2,
|
|
2429
|
+
8,
|
|
2430
|
+
1,
|
|
2431
|
+
]),
|
|
2432
|
+
],
|
|
2433
|
+
578365826: [
|
|
2434
|
+
new Uint8Array([
|
|
2435
|
+
22,
|
|
2436
|
+
18,
|
|
2437
|
+
20,
|
|
2438
|
+
47,
|
|
2439
|
+
118,
|
|
2440
|
+
49,
|
|
2441
|
+
47,
|
|
2442
|
+
105,
|
|
2443
|
+
110,
|
|
2444
|
+
102,
|
|
2445
|
+
101,
|
|
2446
|
+
114,
|
|
2447
|
+
101,
|
|
2448
|
+
110,
|
|
2449
|
+
99,
|
|
2450
|
+
101,
|
|
2451
|
+
47,
|
|
2452
|
+
109,
|
|
2453
|
+
111,
|
|
2454
|
+
100,
|
|
2455
|
+
101,
|
|
2456
|
+
108,
|
|
2457
|
+
115,
|
|
2458
|
+
]),
|
|
2459
|
+
],
|
|
2460
|
+
},
|
|
2461
|
+
},
|
|
2462
|
+
},
|
|
2463
|
+
listCatalogProviders: {
|
|
2464
|
+
name: "ListCatalogProviders",
|
|
2465
|
+
requestType: exports.ListCatalogProvidersRequest,
|
|
2466
|
+
requestStream: false,
|
|
2467
|
+
responseType: exports.ListCatalogProvidersResponse,
|
|
2468
|
+
responseStream: false,
|
|
2469
|
+
options: {
|
|
2470
|
+
_unknownFields: {
|
|
2471
|
+
408002: [
|
|
2472
|
+
new Uint8Array([
|
|
2473
|
+
42,
|
|
2474
|
+
10,
|
|
2475
|
+
12,
|
|
2476
|
+
111,
|
|
2477
|
+
114,
|
|
2478
|
+
103,
|
|
2479
|
+
97,
|
|
2480
|
+
110,
|
|
2481
|
+
105,
|
|
2482
|
+
122,
|
|
2483
|
+
97,
|
|
2484
|
+
116,
|
|
2485
|
+
105,
|
|
2486
|
+
111,
|
|
2487
|
+
110,
|
|
2488
|
+
18,
|
|
2489
|
+
22,
|
|
2490
|
+
99,
|
|
2491
|
+
97,
|
|
2492
|
+
110,
|
|
2493
|
+
95,
|
|
2494
|
+
118,
|
|
2495
|
+
105,
|
|
2496
|
+
101,
|
|
2497
|
+
119,
|
|
2498
|
+
95,
|
|
2499
|
+
109,
|
|
2500
|
+
111,
|
|
2501
|
+
100,
|
|
2502
|
+
101,
|
|
2503
|
+
108,
|
|
2504
|
+
95,
|
|
2505
|
+
99,
|
|
2506
|
+
97,
|
|
2507
|
+
116,
|
|
2508
|
+
97,
|
|
2509
|
+
108,
|
|
2510
|
+
111,
|
|
2511
|
+
103,
|
|
2512
|
+
26,
|
|
2513
|
+
2,
|
|
2514
|
+
8,
|
|
2515
|
+
1,
|
|
2516
|
+
]),
|
|
2517
|
+
],
|
|
2518
|
+
578365826: [
|
|
2519
|
+
new Uint8Array([
|
|
2520
|
+
32,
|
|
2521
|
+
18,
|
|
2522
|
+
30,
|
|
2523
|
+
47,
|
|
2524
|
+
118,
|
|
2525
|
+
49,
|
|
2526
|
+
47,
|
|
2527
|
+
105,
|
|
2528
|
+
110,
|
|
2529
|
+
102,
|
|
2530
|
+
101,
|
|
2531
|
+
114,
|
|
2532
|
+
101,
|
|
2533
|
+
110,
|
|
2534
|
+
99,
|
|
2535
|
+
101,
|
|
2536
|
+
47,
|
|
2537
|
+
109,
|
|
2538
|
+
111,
|
|
2539
|
+
100,
|
|
2540
|
+
101,
|
|
2541
|
+
108,
|
|
2542
|
+
115,
|
|
2543
|
+
47,
|
|
2544
|
+
112,
|
|
2545
|
+
114,
|
|
2546
|
+
111,
|
|
2547
|
+
118,
|
|
2548
|
+
105,
|
|
2549
|
+
100,
|
|
2550
|
+
101,
|
|
2551
|
+
114,
|
|
2552
|
+
115,
|
|
2553
|
+
]),
|
|
2554
|
+
],
|
|
2555
|
+
},
|
|
2556
|
+
},
|
|
2557
|
+
},
|
|
2558
|
+
createInferenceModelRoute: {
|
|
2559
|
+
name: "CreateInferenceModelRoute",
|
|
2560
|
+
requestType: exports.CreateInferenceModelRouteRequest,
|
|
2561
|
+
requestStream: false,
|
|
2562
|
+
responseType: exports.CreateInferenceModelRouteResponse,
|
|
2563
|
+
responseStream: false,
|
|
2564
|
+
options: {
|
|
2565
|
+
_unknownFields: {
|
|
2566
|
+
408002: [
|
|
2567
|
+
new Uint8Array([
|
|
2568
|
+
52,
|
|
2569
|
+
10,
|
|
2570
|
+
12,
|
|
2571
|
+
111,
|
|
2572
|
+
114,
|
|
2573
|
+
103,
|
|
2574
|
+
97,
|
|
2575
|
+
110,
|
|
2576
|
+
105,
|
|
2577
|
+
122,
|
|
2578
|
+
97,
|
|
2579
|
+
116,
|
|
2580
|
+
105,
|
|
2581
|
+
111,
|
|
2582
|
+
110,
|
|
2583
|
+
18,
|
|
2584
|
+
32,
|
|
2585
|
+
99,
|
|
2586
|
+
97,
|
|
2587
|
+
110,
|
|
2588
|
+
95,
|
|
2589
|
+
99,
|
|
2590
|
+
114,
|
|
2591
|
+
101,
|
|
2592
|
+
97,
|
|
2593
|
+
116,
|
|
2594
|
+
101,
|
|
2595
|
+
95,
|
|
2596
|
+
105,
|
|
2597
|
+
110,
|
|
2598
|
+
102,
|
|
2599
|
+
101,
|
|
2600
|
+
114,
|
|
2601
|
+
101,
|
|
2602
|
+
110,
|
|
2603
|
+
99,
|
|
2604
|
+
101,
|
|
2605
|
+
95,
|
|
2606
|
+
109,
|
|
2607
|
+
111,
|
|
2608
|
+
100,
|
|
2609
|
+
101,
|
|
2610
|
+
108,
|
|
2611
|
+
95,
|
|
2612
|
+
114,
|
|
2613
|
+
111,
|
|
2614
|
+
117,
|
|
2615
|
+
116,
|
|
2616
|
+
101,
|
|
2617
|
+
26,
|
|
2618
|
+
2,
|
|
2619
|
+
8,
|
|
2620
|
+
1,
|
|
2621
|
+
]),
|
|
2622
|
+
],
|
|
2623
|
+
578365826: [
|
|
2624
|
+
new Uint8Array([
|
|
2625
|
+
31,
|
|
2626
|
+
58,
|
|
2627
|
+
1,
|
|
2628
|
+
42,
|
|
2629
|
+
34,
|
|
2630
|
+
26,
|
|
2631
|
+
47,
|
|
2632
|
+
118,
|
|
2633
|
+
49,
|
|
2634
|
+
47,
|
|
2635
|
+
105,
|
|
2636
|
+
110,
|
|
2637
|
+
102,
|
|
2638
|
+
101,
|
|
2639
|
+
114,
|
|
2640
|
+
101,
|
|
2641
|
+
110,
|
|
2642
|
+
99,
|
|
2643
|
+
101,
|
|
2644
|
+
47,
|
|
2645
|
+
109,
|
|
2646
|
+
111,
|
|
2647
|
+
100,
|
|
2648
|
+
101,
|
|
2649
|
+
108,
|
|
2650
|
+
45,
|
|
2651
|
+
114,
|
|
2652
|
+
111,
|
|
2653
|
+
117,
|
|
2654
|
+
116,
|
|
2655
|
+
101,
|
|
2656
|
+
115,
|
|
2657
|
+
]),
|
|
2658
|
+
],
|
|
2659
|
+
},
|
|
2660
|
+
},
|
|
2661
|
+
},
|
|
2662
|
+
getInferenceModelRoute: {
|
|
2663
|
+
name: "GetInferenceModelRoute",
|
|
2664
|
+
requestType: exports.GetInferenceModelRouteRequest,
|
|
2665
|
+
requestStream: false,
|
|
2666
|
+
responseType: exports.GetInferenceModelRouteResponse,
|
|
2667
|
+
responseStream: false,
|
|
2668
|
+
options: {
|
|
2669
|
+
_unknownFields: {
|
|
2670
|
+
408002: [
|
|
2671
|
+
new Uint8Array([
|
|
2672
|
+
61,
|
|
2673
|
+
10,
|
|
2674
|
+
21,
|
|
2675
|
+
105,
|
|
2676
|
+
110,
|
|
2677
|
+
102,
|
|
2678
|
+
101,
|
|
2679
|
+
114,
|
|
2680
|
+
101,
|
|
2681
|
+
110,
|
|
2682
|
+
99,
|
|
2683
|
+
101,
|
|
2684
|
+
95,
|
|
2685
|
+
109,
|
|
2686
|
+
111,
|
|
2687
|
+
100,
|
|
2688
|
+
101,
|
|
2689
|
+
108,
|
|
2690
|
+
95,
|
|
2691
|
+
114,
|
|
2692
|
+
111,
|
|
2693
|
+
117,
|
|
2694
|
+
116,
|
|
2695
|
+
101,
|
|
2696
|
+
18,
|
|
2697
|
+
8,
|
|
2698
|
+
99,
|
|
2699
|
+
97,
|
|
2700
|
+
110,
|
|
2701
|
+
95,
|
|
2702
|
+
114,
|
|
2703
|
+
101,
|
|
2704
|
+
97,
|
|
2705
|
+
100,
|
|
2706
|
+
26,
|
|
2707
|
+
26,
|
|
2708
|
+
18,
|
|
2709
|
+
24,
|
|
2710
|
+
105,
|
|
2711
|
+
110,
|
|
2712
|
+
102,
|
|
2713
|
+
101,
|
|
2714
|
+
114,
|
|
2715
|
+
101,
|
|
2716
|
+
110,
|
|
2717
|
+
99,
|
|
2718
|
+
101,
|
|
2719
|
+
95,
|
|
2720
|
+
109,
|
|
2721
|
+
111,
|
|
2722
|
+
100,
|
|
2723
|
+
101,
|
|
2724
|
+
108,
|
|
2725
|
+
95,
|
|
2726
|
+
114,
|
|
2727
|
+
111,
|
|
2728
|
+
117,
|
|
2729
|
+
116,
|
|
2730
|
+
101,
|
|
2731
|
+
95,
|
|
2732
|
+
105,
|
|
2733
|
+
100,
|
|
2734
|
+
]),
|
|
2735
|
+
],
|
|
2736
|
+
578365826: [
|
|
2737
|
+
new Uint8Array([
|
|
2738
|
+
55,
|
|
2739
|
+
18,
|
|
2740
|
+
53,
|
|
2741
|
+
47,
|
|
2742
|
+
118,
|
|
2743
|
+
49,
|
|
2744
|
+
47,
|
|
2745
|
+
105,
|
|
2746
|
+
110,
|
|
2747
|
+
102,
|
|
2748
|
+
101,
|
|
2749
|
+
114,
|
|
2750
|
+
101,
|
|
2751
|
+
110,
|
|
2752
|
+
99,
|
|
2753
|
+
101,
|
|
2754
|
+
47,
|
|
2755
|
+
109,
|
|
2756
|
+
111,
|
|
2757
|
+
100,
|
|
2758
|
+
101,
|
|
2759
|
+
108,
|
|
2760
|
+
45,
|
|
2761
|
+
114,
|
|
2762
|
+
111,
|
|
2763
|
+
117,
|
|
2764
|
+
116,
|
|
2765
|
+
101,
|
|
2766
|
+
115,
|
|
2767
|
+
47,
|
|
2768
|
+
123,
|
|
2769
|
+
105,
|
|
2770
|
+
110,
|
|
2771
|
+
102,
|
|
2772
|
+
101,
|
|
2773
|
+
114,
|
|
2774
|
+
101,
|
|
2775
|
+
110,
|
|
2776
|
+
99,
|
|
2777
|
+
101,
|
|
2778
|
+
95,
|
|
2779
|
+
109,
|
|
2780
|
+
111,
|
|
2781
|
+
100,
|
|
2782
|
+
101,
|
|
2783
|
+
108,
|
|
2784
|
+
95,
|
|
2785
|
+
114,
|
|
2786
|
+
111,
|
|
2787
|
+
117,
|
|
2788
|
+
116,
|
|
2789
|
+
101,
|
|
2790
|
+
95,
|
|
2791
|
+
105,
|
|
2792
|
+
100,
|
|
2793
|
+
125,
|
|
2794
|
+
]),
|
|
2795
|
+
],
|
|
2796
|
+
},
|
|
2797
|
+
},
|
|
2798
|
+
},
|
|
2799
|
+
updateInferenceModelRoute: {
|
|
2800
|
+
name: "UpdateInferenceModelRoute",
|
|
2801
|
+
requestType: exports.UpdateInferenceModelRouteRequest,
|
|
2802
|
+
requestStream: false,
|
|
2803
|
+
responseType: exports.UpdateInferenceModelRouteResponse,
|
|
2804
|
+
responseStream: false,
|
|
2805
|
+
options: {
|
|
2806
|
+
_unknownFields: {
|
|
2807
|
+
408002: [
|
|
2808
|
+
new Uint8Array([
|
|
2809
|
+
63,
|
|
2810
|
+
10,
|
|
2811
|
+
21,
|
|
2812
|
+
105,
|
|
2813
|
+
110,
|
|
2814
|
+
102,
|
|
2815
|
+
101,
|
|
2816
|
+
114,
|
|
2817
|
+
101,
|
|
2818
|
+
110,
|
|
2819
|
+
99,
|
|
2820
|
+
101,
|
|
2821
|
+
95,
|
|
2822
|
+
109,
|
|
2823
|
+
111,
|
|
2824
|
+
100,
|
|
2825
|
+
101,
|
|
2826
|
+
108,
|
|
2827
|
+
95,
|
|
2828
|
+
114,
|
|
2829
|
+
111,
|
|
2830
|
+
117,
|
|
2831
|
+
116,
|
|
2832
|
+
101,
|
|
2833
|
+
18,
|
|
2834
|
+
10,
|
|
2835
|
+
99,
|
|
2836
|
+
97,
|
|
2837
|
+
110,
|
|
2838
|
+
95,
|
|
2839
|
+
117,
|
|
2840
|
+
112,
|
|
2841
|
+
100,
|
|
2842
|
+
97,
|
|
2843
|
+
116,
|
|
2844
|
+
101,
|
|
2845
|
+
26,
|
|
2846
|
+
26,
|
|
2847
|
+
18,
|
|
2848
|
+
24,
|
|
2849
|
+
105,
|
|
2850
|
+
110,
|
|
2851
|
+
102,
|
|
2852
|
+
101,
|
|
2853
|
+
114,
|
|
2854
|
+
101,
|
|
2855
|
+
110,
|
|
2856
|
+
99,
|
|
2857
|
+
101,
|
|
2858
|
+
95,
|
|
2859
|
+
109,
|
|
2860
|
+
111,
|
|
2861
|
+
100,
|
|
2862
|
+
101,
|
|
2863
|
+
108,
|
|
2864
|
+
95,
|
|
2865
|
+
114,
|
|
2866
|
+
111,
|
|
2867
|
+
117,
|
|
2868
|
+
116,
|
|
2869
|
+
101,
|
|
2870
|
+
95,
|
|
2871
|
+
105,
|
|
2872
|
+
100,
|
|
2873
|
+
]),
|
|
2874
|
+
],
|
|
2875
|
+
578365826: [
|
|
2876
|
+
new Uint8Array([
|
|
2877
|
+
58,
|
|
2878
|
+
58,
|
|
2879
|
+
1,
|
|
2880
|
+
42,
|
|
2881
|
+
50,
|
|
2882
|
+
53,
|
|
2883
|
+
47,
|
|
2884
|
+
118,
|
|
2885
|
+
49,
|
|
2886
|
+
47,
|
|
2887
|
+
105,
|
|
2888
|
+
110,
|
|
2889
|
+
102,
|
|
2890
|
+
101,
|
|
2891
|
+
114,
|
|
2892
|
+
101,
|
|
2893
|
+
110,
|
|
2894
|
+
99,
|
|
2895
|
+
101,
|
|
2896
|
+
47,
|
|
2897
|
+
109,
|
|
2898
|
+
111,
|
|
2899
|
+
100,
|
|
2900
|
+
101,
|
|
2901
|
+
108,
|
|
2902
|
+
45,
|
|
2903
|
+
114,
|
|
2904
|
+
111,
|
|
2905
|
+
117,
|
|
2906
|
+
116,
|
|
2907
|
+
101,
|
|
2908
|
+
115,
|
|
2909
|
+
47,
|
|
2910
|
+
123,
|
|
2911
|
+
105,
|
|
2912
|
+
110,
|
|
2913
|
+
102,
|
|
2914
|
+
101,
|
|
2915
|
+
114,
|
|
2916
|
+
101,
|
|
2917
|
+
110,
|
|
2918
|
+
99,
|
|
2919
|
+
101,
|
|
2920
|
+
95,
|
|
2921
|
+
109,
|
|
2922
|
+
111,
|
|
2923
|
+
100,
|
|
2924
|
+
101,
|
|
2925
|
+
108,
|
|
2926
|
+
95,
|
|
2927
|
+
114,
|
|
2928
|
+
111,
|
|
2929
|
+
117,
|
|
2930
|
+
116,
|
|
2931
|
+
101,
|
|
2932
|
+
95,
|
|
2933
|
+
105,
|
|
2934
|
+
100,
|
|
2935
|
+
125,
|
|
2936
|
+
]),
|
|
2937
|
+
],
|
|
2938
|
+
},
|
|
2939
|
+
},
|
|
2940
|
+
},
|
|
2941
|
+
deleteInferenceModelRoute: {
|
|
2942
|
+
name: "DeleteInferenceModelRoute",
|
|
2943
|
+
requestType: exports.DeleteInferenceModelRouteRequest,
|
|
2053
2944
|
requestStream: false,
|
|
2054
|
-
responseType: exports.
|
|
2945
|
+
responseType: exports.DeleteInferenceModelRouteResponse,
|
|
2946
|
+
responseStream: false,
|
|
2947
|
+
options: {
|
|
2948
|
+
_unknownFields: {
|
|
2949
|
+
408002: [
|
|
2950
|
+
new Uint8Array([
|
|
2951
|
+
63,
|
|
2952
|
+
10,
|
|
2953
|
+
21,
|
|
2954
|
+
105,
|
|
2955
|
+
110,
|
|
2956
|
+
102,
|
|
2957
|
+
101,
|
|
2958
|
+
114,
|
|
2959
|
+
101,
|
|
2960
|
+
110,
|
|
2961
|
+
99,
|
|
2962
|
+
101,
|
|
2963
|
+
95,
|
|
2964
|
+
109,
|
|
2965
|
+
111,
|
|
2966
|
+
100,
|
|
2967
|
+
101,
|
|
2968
|
+
108,
|
|
2969
|
+
95,
|
|
2970
|
+
114,
|
|
2971
|
+
111,
|
|
2972
|
+
117,
|
|
2973
|
+
116,
|
|
2974
|
+
101,
|
|
2975
|
+
18,
|
|
2976
|
+
10,
|
|
2977
|
+
99,
|
|
2978
|
+
97,
|
|
2979
|
+
110,
|
|
2980
|
+
95,
|
|
2981
|
+
100,
|
|
2982
|
+
101,
|
|
2983
|
+
108,
|
|
2984
|
+
101,
|
|
2985
|
+
116,
|
|
2986
|
+
101,
|
|
2987
|
+
26,
|
|
2988
|
+
26,
|
|
2989
|
+
18,
|
|
2990
|
+
24,
|
|
2991
|
+
105,
|
|
2992
|
+
110,
|
|
2993
|
+
102,
|
|
2994
|
+
101,
|
|
2995
|
+
114,
|
|
2996
|
+
101,
|
|
2997
|
+
110,
|
|
2998
|
+
99,
|
|
2999
|
+
101,
|
|
3000
|
+
95,
|
|
3001
|
+
109,
|
|
3002
|
+
111,
|
|
3003
|
+
100,
|
|
3004
|
+
101,
|
|
3005
|
+
108,
|
|
3006
|
+
95,
|
|
3007
|
+
114,
|
|
3008
|
+
111,
|
|
3009
|
+
117,
|
|
3010
|
+
116,
|
|
3011
|
+
101,
|
|
3012
|
+
95,
|
|
3013
|
+
105,
|
|
3014
|
+
100,
|
|
3015
|
+
]),
|
|
3016
|
+
],
|
|
3017
|
+
578365826: [
|
|
3018
|
+
new Uint8Array([
|
|
3019
|
+
55,
|
|
3020
|
+
42,
|
|
3021
|
+
53,
|
|
3022
|
+
47,
|
|
3023
|
+
118,
|
|
3024
|
+
49,
|
|
3025
|
+
47,
|
|
3026
|
+
105,
|
|
3027
|
+
110,
|
|
3028
|
+
102,
|
|
3029
|
+
101,
|
|
3030
|
+
114,
|
|
3031
|
+
101,
|
|
3032
|
+
110,
|
|
3033
|
+
99,
|
|
3034
|
+
101,
|
|
3035
|
+
47,
|
|
3036
|
+
109,
|
|
3037
|
+
111,
|
|
3038
|
+
100,
|
|
3039
|
+
101,
|
|
3040
|
+
108,
|
|
3041
|
+
45,
|
|
3042
|
+
114,
|
|
3043
|
+
111,
|
|
3044
|
+
117,
|
|
3045
|
+
116,
|
|
3046
|
+
101,
|
|
3047
|
+
115,
|
|
3048
|
+
47,
|
|
3049
|
+
123,
|
|
3050
|
+
105,
|
|
3051
|
+
110,
|
|
3052
|
+
102,
|
|
3053
|
+
101,
|
|
3054
|
+
114,
|
|
3055
|
+
101,
|
|
3056
|
+
110,
|
|
3057
|
+
99,
|
|
3058
|
+
101,
|
|
3059
|
+
95,
|
|
3060
|
+
109,
|
|
3061
|
+
111,
|
|
3062
|
+
100,
|
|
3063
|
+
101,
|
|
3064
|
+
108,
|
|
3065
|
+
95,
|
|
3066
|
+
114,
|
|
3067
|
+
111,
|
|
3068
|
+
117,
|
|
3069
|
+
116,
|
|
3070
|
+
101,
|
|
3071
|
+
95,
|
|
3072
|
+
105,
|
|
3073
|
+
100,
|
|
3074
|
+
125,
|
|
3075
|
+
]),
|
|
3076
|
+
],
|
|
3077
|
+
},
|
|
3078
|
+
},
|
|
3079
|
+
},
|
|
3080
|
+
listInferenceModelRoutes: {
|
|
3081
|
+
name: "ListInferenceModelRoutes",
|
|
3082
|
+
requestType: exports.ListInferenceModelRoutesRequest,
|
|
3083
|
+
requestStream: false,
|
|
3084
|
+
responseType: exports.ListInferenceModelRoutesResponse,
|
|
2055
3085
|
responseStream: false,
|
|
2056
3086
|
options: {
|
|
2057
3087
|
_unknownFields: {
|
|
2058
|
-
|
|
3088
|
+
408002: [
|
|
3089
|
+
new Uint8Array([
|
|
3090
|
+
51,
|
|
3091
|
+
10,
|
|
3092
|
+
12,
|
|
3093
|
+
111,
|
|
3094
|
+
114,
|
|
3095
|
+
103,
|
|
3096
|
+
97,
|
|
3097
|
+
110,
|
|
3098
|
+
105,
|
|
3099
|
+
122,
|
|
3100
|
+
97,
|
|
3101
|
+
116,
|
|
3102
|
+
105,
|
|
3103
|
+
111,
|
|
3104
|
+
110,
|
|
3105
|
+
18,
|
|
3106
|
+
31,
|
|
3107
|
+
99,
|
|
3108
|
+
97,
|
|
3109
|
+
110,
|
|
3110
|
+
95,
|
|
3111
|
+
108,
|
|
3112
|
+
105,
|
|
3113
|
+
115,
|
|
3114
|
+
116,
|
|
3115
|
+
95,
|
|
3116
|
+
105,
|
|
3117
|
+
110,
|
|
3118
|
+
102,
|
|
3119
|
+
101,
|
|
3120
|
+
114,
|
|
3121
|
+
101,
|
|
3122
|
+
110,
|
|
3123
|
+
99,
|
|
3124
|
+
101,
|
|
3125
|
+
95,
|
|
3126
|
+
109,
|
|
3127
|
+
111,
|
|
3128
|
+
100,
|
|
3129
|
+
101,
|
|
3130
|
+
108,
|
|
3131
|
+
95,
|
|
3132
|
+
114,
|
|
3133
|
+
111,
|
|
3134
|
+
117,
|
|
3135
|
+
116,
|
|
3136
|
+
101,
|
|
3137
|
+
115,
|
|
3138
|
+
26,
|
|
3139
|
+
2,
|
|
3140
|
+
8,
|
|
3141
|
+
1,
|
|
3142
|
+
]),
|
|
3143
|
+
],
|
|
3144
|
+
578365826: [
|
|
3145
|
+
new Uint8Array([
|
|
3146
|
+
28,
|
|
3147
|
+
18,
|
|
3148
|
+
26,
|
|
3149
|
+
47,
|
|
3150
|
+
118,
|
|
3151
|
+
49,
|
|
3152
|
+
47,
|
|
3153
|
+
105,
|
|
3154
|
+
110,
|
|
3155
|
+
102,
|
|
3156
|
+
101,
|
|
3157
|
+
114,
|
|
3158
|
+
101,
|
|
3159
|
+
110,
|
|
3160
|
+
99,
|
|
3161
|
+
101,
|
|
3162
|
+
47,
|
|
3163
|
+
109,
|
|
3164
|
+
111,
|
|
3165
|
+
100,
|
|
3166
|
+
101,
|
|
3167
|
+
108,
|
|
3168
|
+
45,
|
|
3169
|
+
114,
|
|
3170
|
+
111,
|
|
3171
|
+
117,
|
|
3172
|
+
116,
|
|
3173
|
+
101,
|
|
3174
|
+
115,
|
|
3175
|
+
]),
|
|
3176
|
+
],
|
|
2059
3177
|
},
|
|
2060
3178
|
},
|
|
2061
3179
|
},
|
|
@@ -2067,15 +3185,82 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2067
3185
|
responseStream: false,
|
|
2068
3186
|
options: {
|
|
2069
3187
|
_unknownFields: {
|
|
3188
|
+
408002: [
|
|
3189
|
+
new Uint8Array([
|
|
3190
|
+
52,
|
|
3191
|
+
10,
|
|
3192
|
+
15,
|
|
3193
|
+
105,
|
|
3194
|
+
110,
|
|
3195
|
+
102,
|
|
3196
|
+
101,
|
|
3197
|
+
114,
|
|
3198
|
+
101,
|
|
3199
|
+
110,
|
|
3200
|
+
99,
|
|
3201
|
+
101,
|
|
3202
|
+
95,
|
|
3203
|
+
109,
|
|
3204
|
+
111,
|
|
3205
|
+
100,
|
|
3206
|
+
101,
|
|
3207
|
+
108,
|
|
3208
|
+
18,
|
|
3209
|
+
8,
|
|
3210
|
+
99,
|
|
3211
|
+
97,
|
|
3212
|
+
110,
|
|
3213
|
+
95,
|
|
3214
|
+
114,
|
|
3215
|
+
101,
|
|
3216
|
+
97,
|
|
3217
|
+
100,
|
|
3218
|
+
26,
|
|
3219
|
+
23,
|
|
3220
|
+
34,
|
|
3221
|
+
21,
|
|
3222
|
+
10,
|
|
3223
|
+
2,
|
|
3224
|
+
8,
|
|
3225
|
+
1,
|
|
3226
|
+
10,
|
|
3227
|
+
3,
|
|
3228
|
+
26,
|
|
3229
|
+
1,
|
|
3230
|
+
47,
|
|
3231
|
+
10,
|
|
3232
|
+
10,
|
|
3233
|
+
18,
|
|
3234
|
+
8,
|
|
3235
|
+
109,
|
|
3236
|
+
111,
|
|
3237
|
+
100,
|
|
3238
|
+
101,
|
|
3239
|
+
108,
|
|
3240
|
+
95,
|
|
3241
|
+
105,
|
|
3242
|
+
100,
|
|
3243
|
+
]),
|
|
3244
|
+
],
|
|
2070
3245
|
578365826: [
|
|
2071
3246
|
new Uint8Array([
|
|
2072
|
-
|
|
3247
|
+
33,
|
|
2073
3248
|
18,
|
|
2074
|
-
|
|
3249
|
+
31,
|
|
2075
3250
|
47,
|
|
2076
3251
|
118,
|
|
2077
3252
|
49,
|
|
2078
3253
|
47,
|
|
3254
|
+
105,
|
|
3255
|
+
110,
|
|
3256
|
+
102,
|
|
3257
|
+
101,
|
|
3258
|
+
114,
|
|
3259
|
+
101,
|
|
3260
|
+
110,
|
|
3261
|
+
99,
|
|
3262
|
+
101,
|
|
3263
|
+
47,
|
|
2079
3264
|
109,
|
|
2080
3265
|
111,
|
|
2081
3266
|
100,
|
|
@@ -2098,23 +3283,88 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2098
3283
|
},
|
|
2099
3284
|
},
|
|
2100
3285
|
},
|
|
2101
|
-
|
|
2102
|
-
name: "
|
|
2103
|
-
requestType: exports.
|
|
3286
|
+
getCatalogModel: {
|
|
3287
|
+
name: "GetCatalogModel",
|
|
3288
|
+
requestType: exports.GetCatalogModelRequest,
|
|
2104
3289
|
requestStream: false,
|
|
2105
|
-
responseType: exports.
|
|
3290
|
+
responseType: exports.GetCatalogModelResponse,
|
|
2106
3291
|
responseStream: false,
|
|
2107
3292
|
options: {
|
|
2108
3293
|
_unknownFields: {
|
|
2109
|
-
|
|
3294
|
+
408002: [
|
|
2110
3295
|
new Uint8Array([
|
|
3296
|
+
42,
|
|
3297
|
+
10,
|
|
3298
|
+
12,
|
|
3299
|
+
111,
|
|
3300
|
+
114,
|
|
3301
|
+
103,
|
|
3302
|
+
97,
|
|
3303
|
+
110,
|
|
3304
|
+
105,
|
|
3305
|
+
122,
|
|
3306
|
+
97,
|
|
3307
|
+
116,
|
|
3308
|
+
105,
|
|
3309
|
+
111,
|
|
3310
|
+
110,
|
|
3311
|
+
18,
|
|
2111
3312
|
22,
|
|
3313
|
+
99,
|
|
3314
|
+
97,
|
|
3315
|
+
110,
|
|
3316
|
+
95,
|
|
3317
|
+
118,
|
|
3318
|
+
105,
|
|
3319
|
+
101,
|
|
3320
|
+
119,
|
|
3321
|
+
95,
|
|
3322
|
+
109,
|
|
3323
|
+
111,
|
|
3324
|
+
100,
|
|
3325
|
+
101,
|
|
3326
|
+
108,
|
|
3327
|
+
95,
|
|
3328
|
+
99,
|
|
3329
|
+
97,
|
|
3330
|
+
116,
|
|
3331
|
+
97,
|
|
3332
|
+
108,
|
|
3333
|
+
111,
|
|
3334
|
+
103,
|
|
3335
|
+
26,
|
|
3336
|
+
2,
|
|
3337
|
+
8,
|
|
3338
|
+
1,
|
|
3339
|
+
]),
|
|
3340
|
+
],
|
|
3341
|
+
578365826: [
|
|
3342
|
+
new Uint8Array([
|
|
3343
|
+
41,
|
|
2112
3344
|
18,
|
|
2113
|
-
|
|
3345
|
+
39,
|
|
2114
3346
|
47,
|
|
2115
3347
|
118,
|
|
2116
3348
|
49,
|
|
2117
3349
|
47,
|
|
3350
|
+
105,
|
|
3351
|
+
110,
|
|
3352
|
+
102,
|
|
3353
|
+
101,
|
|
3354
|
+
114,
|
|
3355
|
+
101,
|
|
3356
|
+
110,
|
|
3357
|
+
99,
|
|
3358
|
+
101,
|
|
3359
|
+
47,
|
|
3360
|
+
99,
|
|
3361
|
+
97,
|
|
3362
|
+
116,
|
|
3363
|
+
97,
|
|
3364
|
+
108,
|
|
3365
|
+
111,
|
|
3366
|
+
103,
|
|
3367
|
+
47,
|
|
2118
3368
|
109,
|
|
2119
3369
|
111,
|
|
2120
3370
|
100,
|
|
@@ -2122,42 +3372,57 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2122
3372
|
108,
|
|
2123
3373
|
115,
|
|
2124
3374
|
47,
|
|
2125
|
-
|
|
2126
|
-
|
|
3375
|
+
123,
|
|
3376
|
+
109,
|
|
2127
3377
|
111,
|
|
2128
|
-
118,
|
|
2129
|
-
105,
|
|
2130
3378
|
100,
|
|
2131
3379
|
101,
|
|
2132
|
-
|
|
2133
|
-
|
|
3380
|
+
108,
|
|
3381
|
+
95,
|
|
3382
|
+
105,
|
|
3383
|
+
100,
|
|
3384
|
+
125,
|
|
2134
3385
|
]),
|
|
2135
3386
|
],
|
|
2136
3387
|
},
|
|
2137
3388
|
},
|
|
2138
3389
|
},
|
|
2139
|
-
|
|
2140
|
-
name: "
|
|
2141
|
-
requestType: exports.
|
|
3390
|
+
getIngestionSettings: {
|
|
3391
|
+
name: "GetIngestionSettings",
|
|
3392
|
+
requestType: exports.GetIngestionSettingsRequest,
|
|
2142
3393
|
requestStream: false,
|
|
2143
|
-
responseType: exports.
|
|
3394
|
+
responseType: exports.GetIngestionSettingsResponse,
|
|
2144
3395
|
responseStream: false,
|
|
2145
3396
|
options: {
|
|
2146
3397
|
_unknownFields: {
|
|
2147
|
-
|
|
3398
|
+
408002: [
|
|
2148
3399
|
new Uint8Array([
|
|
2149
|
-
52,
|
|
2150
|
-
18,
|
|
2151
3400
|
50,
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
49,
|
|
2155
|
-
47,
|
|
3401
|
+
10,
|
|
3402
|
+
12,
|
|
2156
3403
|
111,
|
|
2157
3404
|
114,
|
|
2158
3405
|
103,
|
|
2159
|
-
|
|
2160
|
-
|
|
3406
|
+
97,
|
|
3407
|
+
110,
|
|
3408
|
+
105,
|
|
3409
|
+
122,
|
|
3410
|
+
97,
|
|
3411
|
+
116,
|
|
3412
|
+
105,
|
|
3413
|
+
111,
|
|
3414
|
+
110,
|
|
3415
|
+
18,
|
|
3416
|
+
30,
|
|
3417
|
+
99,
|
|
3418
|
+
97,
|
|
3419
|
+
110,
|
|
3420
|
+
95,
|
|
3421
|
+
118,
|
|
3422
|
+
105,
|
|
3423
|
+
101,
|
|
3424
|
+
119,
|
|
3425
|
+
95,
|
|
2161
3426
|
111,
|
|
2162
3427
|
114,
|
|
2163
3428
|
103,
|
|
@@ -2171,10 +3436,6 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2171
3436
|
111,
|
|
2172
3437
|
110,
|
|
2173
3438
|
95,
|
|
2174
|
-
105,
|
|
2175
|
-
100,
|
|
2176
|
-
125,
|
|
2177
|
-
47,
|
|
2178
3439
|
115,
|
|
2179
3440
|
101,
|
|
2180
3441
|
116,
|
|
@@ -2183,68 +3444,30 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2183
3444
|
110,
|
|
2184
3445
|
103,
|
|
2185
3446
|
115,
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
114,
|
|
2191
|
-
111,
|
|
2192
|
-
118,
|
|
2193
|
-
101,
|
|
2194
|
-
100,
|
|
2195
|
-
45,
|
|
2196
|
-
109,
|
|
2197
|
-
111,
|
|
2198
|
-
100,
|
|
2199
|
-
101,
|
|
2200
|
-
108,
|
|
2201
|
-
115,
|
|
3447
|
+
26,
|
|
3448
|
+
2,
|
|
3449
|
+
8,
|
|
3450
|
+
1,
|
|
2202
3451
|
]),
|
|
2203
3452
|
],
|
|
2204
|
-
},
|
|
2205
|
-
},
|
|
2206
|
-
},
|
|
2207
|
-
approveModel: {
|
|
2208
|
-
name: "ApproveModel",
|
|
2209
|
-
requestType: exports.ApproveModelRequest,
|
|
2210
|
-
requestStream: false,
|
|
2211
|
-
responseType: exports.ApproveModelResponse,
|
|
2212
|
-
responseStream: false,
|
|
2213
|
-
options: {
|
|
2214
|
-
_unknownFields: {
|
|
2215
3453
|
578365826: [
|
|
2216
3454
|
new Uint8Array([
|
|
2217
|
-
55,
|
|
2218
|
-
58,
|
|
2219
|
-
1,
|
|
2220
|
-
42,
|
|
2221
3455
|
34,
|
|
2222
|
-
|
|
3456
|
+
18,
|
|
3457
|
+
32,
|
|
2223
3458
|
47,
|
|
2224
3459
|
118,
|
|
2225
3460
|
49,
|
|
2226
3461
|
47,
|
|
2227
|
-
111,
|
|
2228
|
-
114,
|
|
2229
|
-
103,
|
|
2230
|
-
47,
|
|
2231
|
-
123,
|
|
2232
|
-
111,
|
|
2233
|
-
114,
|
|
2234
|
-
103,
|
|
2235
|
-
97,
|
|
2236
|
-
110,
|
|
2237
|
-
105,
|
|
2238
|
-
122,
|
|
2239
|
-
97,
|
|
2240
|
-
116,
|
|
2241
3462
|
105,
|
|
2242
|
-
111,
|
|
2243
3463
|
110,
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
3464
|
+
102,
|
|
3465
|
+
101,
|
|
3466
|
+
114,
|
|
3467
|
+
101,
|
|
3468
|
+
110,
|
|
3469
|
+
99,
|
|
3470
|
+
101,
|
|
2248
3471
|
47,
|
|
2249
3472
|
115,
|
|
2250
3473
|
101,
|
|
@@ -2255,48 +3478,58 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2255
3478
|
103,
|
|
2256
3479
|
115,
|
|
2257
3480
|
47,
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
114,
|
|
2262
|
-
111,
|
|
2263
|
-
118,
|
|
2264
|
-
101,
|
|
2265
|
-
100,
|
|
2266
|
-
45,
|
|
2267
|
-
109,
|
|
2268
|
-
111,
|
|
2269
|
-
100,
|
|
3481
|
+
105,
|
|
3482
|
+
110,
|
|
3483
|
+
103,
|
|
2270
3484
|
101,
|
|
2271
|
-
108,
|
|
2272
3485
|
115,
|
|
3486
|
+
116,
|
|
3487
|
+
105,
|
|
3488
|
+
111,
|
|
3489
|
+
110,
|
|
2273
3490
|
]),
|
|
2274
3491
|
],
|
|
2275
3492
|
},
|
|
2276
3493
|
},
|
|
2277
3494
|
},
|
|
2278
|
-
|
|
2279
|
-
name: "
|
|
2280
|
-
requestType: exports.
|
|
3495
|
+
setIngestionSettings: {
|
|
3496
|
+
name: "SetIngestionSettings",
|
|
3497
|
+
requestType: exports.SetIngestionSettingsRequest,
|
|
2281
3498
|
requestStream: false,
|
|
2282
|
-
responseType: exports.
|
|
3499
|
+
responseType: exports.SetIngestionSettingsResponse,
|
|
2283
3500
|
responseStream: false,
|
|
2284
3501
|
options: {
|
|
2285
3502
|
_unknownFields: {
|
|
2286
|
-
|
|
3503
|
+
408002: [
|
|
2287
3504
|
new Uint8Array([
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
47,
|
|
2292
|
-
118,
|
|
2293
|
-
49,
|
|
2294
|
-
47,
|
|
3505
|
+
52,
|
|
3506
|
+
10,
|
|
3507
|
+
12,
|
|
2295
3508
|
111,
|
|
2296
3509
|
114,
|
|
2297
3510
|
103,
|
|
2298
|
-
|
|
2299
|
-
|
|
3511
|
+
97,
|
|
3512
|
+
110,
|
|
3513
|
+
105,
|
|
3514
|
+
122,
|
|
3515
|
+
97,
|
|
3516
|
+
116,
|
|
3517
|
+
105,
|
|
3518
|
+
111,
|
|
3519
|
+
110,
|
|
3520
|
+
18,
|
|
3521
|
+
32,
|
|
3522
|
+
99,
|
|
3523
|
+
97,
|
|
3524
|
+
110,
|
|
3525
|
+
95,
|
|
3526
|
+
117,
|
|
3527
|
+
112,
|
|
3528
|
+
100,
|
|
3529
|
+
97,
|
|
3530
|
+
116,
|
|
3531
|
+
101,
|
|
3532
|
+
95,
|
|
2300
3533
|
111,
|
|
2301
3534
|
114,
|
|
2302
3535
|
103,
|
|
@@ -2307,12 +3540,44 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2307
3540
|
97,
|
|
2308
3541
|
116,
|
|
2309
3542
|
105,
|
|
2310
|
-
111,
|
|
3543
|
+
111,
|
|
3544
|
+
110,
|
|
3545
|
+
95,
|
|
3546
|
+
115,
|
|
3547
|
+
101,
|
|
3548
|
+
116,
|
|
3549
|
+
116,
|
|
3550
|
+
105,
|
|
3551
|
+
110,
|
|
3552
|
+
103,
|
|
3553
|
+
115,
|
|
3554
|
+
26,
|
|
3555
|
+
2,
|
|
3556
|
+
8,
|
|
3557
|
+
1,
|
|
3558
|
+
]),
|
|
3559
|
+
],
|
|
3560
|
+
578365826: [
|
|
3561
|
+
new Uint8Array([
|
|
3562
|
+
37,
|
|
3563
|
+
58,
|
|
3564
|
+
1,
|
|
3565
|
+
42,
|
|
3566
|
+
50,
|
|
3567
|
+
32,
|
|
3568
|
+
47,
|
|
3569
|
+
118,
|
|
3570
|
+
49,
|
|
3571
|
+
47,
|
|
3572
|
+
105,
|
|
2311
3573
|
110,
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
3574
|
+
102,
|
|
3575
|
+
101,
|
|
3576
|
+
114,
|
|
3577
|
+
101,
|
|
3578
|
+
110,
|
|
3579
|
+
99,
|
|
3580
|
+
101,
|
|
2316
3581
|
47,
|
|
2317
3582
|
115,
|
|
2318
3583
|
101,
|
|
@@ -2323,41 +3588,15 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2323
3588
|
103,
|
|
2324
3589
|
115,
|
|
2325
3590
|
47,
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
114,
|
|
2330
|
-
111,
|
|
2331
|
-
118,
|
|
2332
|
-
101,
|
|
2333
|
-
100,
|
|
2334
|
-
45,
|
|
2335
|
-
109,
|
|
2336
|
-
111,
|
|
2337
|
-
100,
|
|
3591
|
+
105,
|
|
3592
|
+
110,
|
|
3593
|
+
103,
|
|
2338
3594
|
101,
|
|
2339
|
-
108,
|
|
2340
3595
|
115,
|
|
2341
|
-
|
|
2342
|
-
123,
|
|
2343
|
-
97,
|
|
2344
|
-
112,
|
|
2345
|
-
112,
|
|
2346
|
-
114,
|
|
2347
|
-
111,
|
|
2348
|
-
118,
|
|
2349
|
-
101,
|
|
2350
|
-
100,
|
|
2351
|
-
95,
|
|
2352
|
-
109,
|
|
2353
|
-
111,
|
|
2354
|
-
100,
|
|
2355
|
-
101,
|
|
2356
|
-
108,
|
|
2357
|
-
95,
|
|
3596
|
+
116,
|
|
2358
3597
|
105,
|
|
2359
|
-
|
|
2360
|
-
|
|
3598
|
+
111,
|
|
3599
|
+
110,
|
|
2361
3600
|
]),
|
|
2362
3601
|
],
|
|
2363
3602
|
},
|
|
@@ -2371,20 +3610,34 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2371
3610
|
responseStream: false,
|
|
2372
3611
|
options: {
|
|
2373
3612
|
_unknownFields: {
|
|
2374
|
-
|
|
3613
|
+
408002: [
|
|
2375
3614
|
new Uint8Array([
|
|
2376
3615
|
50,
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
47,
|
|
2380
|
-
118,
|
|
2381
|
-
49,
|
|
2382
|
-
47,
|
|
3616
|
+
10,
|
|
3617
|
+
12,
|
|
2383
3618
|
111,
|
|
2384
3619
|
114,
|
|
2385
3620
|
103,
|
|
2386
|
-
|
|
2387
|
-
|
|
3621
|
+
97,
|
|
3622
|
+
110,
|
|
3623
|
+
105,
|
|
3624
|
+
122,
|
|
3625
|
+
97,
|
|
3626
|
+
116,
|
|
3627
|
+
105,
|
|
3628
|
+
111,
|
|
3629
|
+
110,
|
|
3630
|
+
18,
|
|
3631
|
+
30,
|
|
3632
|
+
99,
|
|
3633
|
+
97,
|
|
3634
|
+
110,
|
|
3635
|
+
95,
|
|
3636
|
+
118,
|
|
3637
|
+
105,
|
|
3638
|
+
101,
|
|
3639
|
+
119,
|
|
3640
|
+
95,
|
|
2388
3641
|
111,
|
|
2389
3642
|
114,
|
|
2390
3643
|
103,
|
|
@@ -2398,9 +3651,38 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2398
3651
|
111,
|
|
2399
3652
|
110,
|
|
2400
3653
|
95,
|
|
3654
|
+
115,
|
|
3655
|
+
101,
|
|
3656
|
+
116,
|
|
3657
|
+
116,
|
|
2401
3658
|
105,
|
|
2402
|
-
|
|
2403
|
-
|
|
3659
|
+
110,
|
|
3660
|
+
103,
|
|
3661
|
+
115,
|
|
3662
|
+
26,
|
|
3663
|
+
2,
|
|
3664
|
+
8,
|
|
3665
|
+
1,
|
|
3666
|
+
]),
|
|
3667
|
+
],
|
|
3668
|
+
578365826: [
|
|
3669
|
+
new Uint8Array([
|
|
3670
|
+
38,
|
|
3671
|
+
18,
|
|
3672
|
+
36,
|
|
3673
|
+
47,
|
|
3674
|
+
118,
|
|
3675
|
+
49,
|
|
3676
|
+
47,
|
|
3677
|
+
105,
|
|
3678
|
+
110,
|
|
3679
|
+
102,
|
|
3680
|
+
101,
|
|
3681
|
+
114,
|
|
3682
|
+
101,
|
|
3683
|
+
110,
|
|
3684
|
+
99,
|
|
3685
|
+
101,
|
|
2404
3686
|
47,
|
|
2405
3687
|
115,
|
|
2406
3688
|
101,
|
|
@@ -2437,23 +3719,11 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2437
3719
|
responseStream: false,
|
|
2438
3720
|
options: {
|
|
2439
3721
|
_unknownFields: {
|
|
2440
|
-
|
|
3722
|
+
408002: [
|
|
2441
3723
|
new Uint8Array([
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
42,
|
|
2446
|
-
50,
|
|
2447
|
-
48,
|
|
2448
|
-
47,
|
|
2449
|
-
118,
|
|
2450
|
-
49,
|
|
2451
|
-
47,
|
|
2452
|
-
111,
|
|
2453
|
-
114,
|
|
2454
|
-
103,
|
|
2455
|
-
47,
|
|
2456
|
-
123,
|
|
3724
|
+
52,
|
|
3725
|
+
10,
|
|
3726
|
+
12,
|
|
2457
3727
|
111,
|
|
2458
3728
|
114,
|
|
2459
3729
|
103,
|
|
@@ -2466,60 +3736,19 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2466
3736
|
105,
|
|
2467
3737
|
111,
|
|
2468
3738
|
110,
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
100,
|
|
2472
|
-
125,
|
|
2473
|
-
47,
|
|
2474
|
-
115,
|
|
2475
|
-
101,
|
|
2476
|
-
116,
|
|
2477
|
-
116,
|
|
2478
|
-
105,
|
|
2479
|
-
110,
|
|
2480
|
-
103,
|
|
2481
|
-
115,
|
|
2482
|
-
47,
|
|
3739
|
+
18,
|
|
3740
|
+
32,
|
|
2483
3741
|
99,
|
|
2484
|
-
104,
|
|
2485
3742
|
97,
|
|
2486
|
-
|
|
2487
|
-
|
|
3743
|
+
110,
|
|
3744
|
+
95,
|
|
3745
|
+
117,
|
|
3746
|
+
112,
|
|
2488
3747
|
100,
|
|
2489
|
-
101,
|
|
2490
|
-
102,
|
|
2491
3748
|
97,
|
|
2492
|
-
117,
|
|
2493
|
-
108,
|
|
2494
3749
|
116,
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
],
|
|
2498
|
-
},
|
|
2499
|
-
},
|
|
2500
|
-
},
|
|
2501
|
-
getIngestionSettings: {
|
|
2502
|
-
name: "GetIngestionSettings",
|
|
2503
|
-
requestType: exports.GetIngestionSettingsRequest,
|
|
2504
|
-
requestStream: false,
|
|
2505
|
-
responseType: exports.GetIngestionSettingsResponse,
|
|
2506
|
-
responseStream: false,
|
|
2507
|
-
options: {
|
|
2508
|
-
_unknownFields: {
|
|
2509
|
-
578365826: [
|
|
2510
|
-
new Uint8Array([
|
|
2511
|
-
46,
|
|
2512
|
-
18,
|
|
2513
|
-
44,
|
|
2514
|
-
47,
|
|
2515
|
-
118,
|
|
2516
|
-
49,
|
|
2517
|
-
47,
|
|
2518
|
-
111,
|
|
2519
|
-
114,
|
|
2520
|
-
103,
|
|
2521
|
-
47,
|
|
2522
|
-
123,
|
|
3750
|
+
101,
|
|
3751
|
+
95,
|
|
2523
3752
|
111,
|
|
2524
3753
|
114,
|
|
2525
3754
|
103,
|
|
@@ -2533,10 +3762,6 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2533
3762
|
111,
|
|
2534
3763
|
110,
|
|
2535
3764
|
95,
|
|
2536
|
-
105,
|
|
2537
|
-
100,
|
|
2538
|
-
125,
|
|
2539
|
-
47,
|
|
2540
3765
|
115,
|
|
2541
3766
|
101,
|
|
2542
3767
|
116,
|
|
@@ -2545,62 +3770,33 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2545
3770
|
110,
|
|
2546
3771
|
103,
|
|
2547
3772
|
115,
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
101,
|
|
2553
|
-
115,
|
|
2554
|
-
116,
|
|
2555
|
-
105,
|
|
2556
|
-
111,
|
|
2557
|
-
110,
|
|
3773
|
+
26,
|
|
3774
|
+
2,
|
|
3775
|
+
8,
|
|
3776
|
+
1,
|
|
2558
3777
|
]),
|
|
2559
3778
|
],
|
|
2560
|
-
},
|
|
2561
|
-
},
|
|
2562
|
-
},
|
|
2563
|
-
setIngestionSettings: {
|
|
2564
|
-
name: "SetIngestionSettings",
|
|
2565
|
-
requestType: exports.SetIngestionSettingsRequest,
|
|
2566
|
-
requestStream: false,
|
|
2567
|
-
responseType: exports.SetIngestionSettingsResponse,
|
|
2568
|
-
responseStream: false,
|
|
2569
|
-
options: {
|
|
2570
|
-
_unknownFields: {
|
|
2571
3779
|
578365826: [
|
|
2572
3780
|
new Uint8Array([
|
|
2573
|
-
|
|
3781
|
+
41,
|
|
2574
3782
|
58,
|
|
2575
3783
|
1,
|
|
2576
3784
|
42,
|
|
2577
3785
|
50,
|
|
2578
|
-
|
|
3786
|
+
36,
|
|
2579
3787
|
47,
|
|
2580
3788
|
118,
|
|
2581
3789
|
49,
|
|
2582
3790
|
47,
|
|
2583
|
-
111,
|
|
2584
|
-
114,
|
|
2585
|
-
103,
|
|
2586
|
-
47,
|
|
2587
|
-
123,
|
|
2588
|
-
111,
|
|
2589
|
-
114,
|
|
2590
|
-
103,
|
|
2591
|
-
97,
|
|
2592
|
-
110,
|
|
2593
3791
|
105,
|
|
2594
|
-
122,
|
|
2595
|
-
97,
|
|
2596
|
-
116,
|
|
2597
|
-
105,
|
|
2598
|
-
111,
|
|
2599
3792
|
110,
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
3793
|
+
102,
|
|
3794
|
+
101,
|
|
3795
|
+
114,
|
|
3796
|
+
101,
|
|
3797
|
+
110,
|
|
3798
|
+
99,
|
|
3799
|
+
101,
|
|
2604
3800
|
47,
|
|
2605
3801
|
115,
|
|
2606
3802
|
101,
|
|
@@ -2611,15 +3807,19 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2611
3807
|
103,
|
|
2612
3808
|
115,
|
|
2613
3809
|
47,
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
3810
|
+
99,
|
|
3811
|
+
104,
|
|
3812
|
+
97,
|
|
3813
|
+
116,
|
|
3814
|
+
45,
|
|
3815
|
+
100,
|
|
2617
3816
|
101,
|
|
2618
|
-
|
|
3817
|
+
102,
|
|
3818
|
+
97,
|
|
3819
|
+
117,
|
|
3820
|
+
108,
|
|
2619
3821
|
116,
|
|
2620
|
-
|
|
2621
|
-
111,
|
|
2622
|
-
110,
|
|
3822
|
+
115,
|
|
2623
3823
|
]),
|
|
2624
3824
|
],
|
|
2625
3825
|
},
|
|
@@ -2627,27 +3827,6 @@ exports.ModelCatalogServiceDefinition = {
|
|
|
2627
3827
|
},
|
|
2628
3828
|
},
|
|
2629
3829
|
};
|
|
2630
|
-
function toTimestamp(date) {
|
|
2631
|
-
const seconds = Math.trunc(date.getTime() / 1000);
|
|
2632
|
-
const nanos = (date.getTime() % 1000) * 1000000;
|
|
2633
|
-
return { seconds, nanos };
|
|
2634
|
-
}
|
|
2635
|
-
function fromTimestamp(t) {
|
|
2636
|
-
let millis = (t.seconds || 0) * 1000;
|
|
2637
|
-
millis += (t.nanos || 0) / 1000000;
|
|
2638
|
-
return new globalThis.Date(millis);
|
|
2639
|
-
}
|
|
2640
|
-
function fromJsonTimestamp(o) {
|
|
2641
|
-
if (o instanceof globalThis.Date) {
|
|
2642
|
-
return o;
|
|
2643
|
-
}
|
|
2644
|
-
else if (typeof o === "string") {
|
|
2645
|
-
return new globalThis.Date(o);
|
|
2646
|
-
}
|
|
2647
|
-
else {
|
|
2648
|
-
return fromTimestamp(timestamp_pb_1.Timestamp.fromJSON(o));
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
3830
|
function isSet(value) {
|
|
2652
3831
|
return value !== null && value !== undefined;
|
|
2653
3832
|
}
|