@milaboratories/pl-client 2.18.5 → 3.0.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/core/ll_client.cjs +11 -5
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.js +12 -6
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/transaction.cjs +2 -2
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.js +2 -2
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +1 -1
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.js +1 -1
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +1957 -256
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +59 -9
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +74 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +59 -9
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +658 -51
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +1957 -257
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +247 -17
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +104 -10
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +247 -17
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +26 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +4 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +26 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +11 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +4 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +11 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
- package/dist/proto-rest/plapi.d.ts +281 -28
- package/package.json +2 -2
- package/src/core/ll_client.ts +9 -2
- package/src/core/transaction.ts +33 -8
- package/src/core/type_conversion.ts +1 -1
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +119 -15
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +2270 -322
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +276 -20
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +11 -0
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.ts +2 -2
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +11 -0
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.ts +3 -3
- package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
- package/src/proto-grpc/google/protobuf/struct.ts +1 -1
- package/src/proto-rest/plapi.ts +293 -22
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
const require_timestamp = require('../../../../../google/protobuf/timestamp.cjs');
|
|
2
3
|
const require_duration = require('../../../../../google/protobuf/duration.cjs');
|
|
3
4
|
const require_base_types = require('./base_types.cjs');
|
|
4
5
|
const require_resource_types = require('./resource_types.cjs');
|
|
@@ -27,6 +28,30 @@ let TxAPI_Open_Request_WritableTx = /* @__PURE__ */ function(TxAPI_Open_Request_
|
|
|
27
28
|
return TxAPI_Open_Request_WritableTx;
|
|
28
29
|
}({});
|
|
29
30
|
/**
|
|
31
|
+
* @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role
|
|
32
|
+
*/
|
|
33
|
+
let AuthAPI_GetJWTToken_Role = /* @__PURE__ */ function(AuthAPI_GetJWTToken_Role) {
|
|
34
|
+
/**
|
|
35
|
+
* issue JWT with caller's natural role
|
|
36
|
+
*
|
|
37
|
+
* @generated from protobuf enum value: ROLE_UNSPECIFIED = 0;
|
|
38
|
+
*/
|
|
39
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["ROLE_UNSPECIFIED"] = 0] = "ROLE_UNSPECIFIED";
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf enum value: USER = 1;
|
|
42
|
+
*/
|
|
43
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["USER"] = 1] = "USER";
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf enum value: CONTROLLER = 2;
|
|
46
|
+
*/
|
|
47
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["CONTROLLER"] = 2] = "CONTROLLER";
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf enum value: WORKFLOW = 3;
|
|
50
|
+
*/
|
|
51
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["WORKFLOW"] = 3] = "WORKFLOW";
|
|
52
|
+
return AuthAPI_GetJWTToken_Role;
|
|
53
|
+
}({});
|
|
54
|
+
/**
|
|
30
55
|
* @generated from protobuf enum MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression
|
|
31
56
|
*/
|
|
32
57
|
let MaintenanceAPI_Ping_Response_Compression = /* @__PURE__ */ function(MaintenanceAPI_Ping_Response_Compression) {
|
|
@@ -472,7 +497,7 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
472
497
|
name: "cache_delete_expired_records",
|
|
473
498
|
kind: "message",
|
|
474
499
|
oneof: "request",
|
|
475
|
-
T: () =>
|
|
500
|
+
T: () => Util_Deprecated
|
|
476
501
|
},
|
|
477
502
|
{
|
|
478
503
|
no: 350,
|
|
@@ -487,6 +512,13 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
487
512
|
kind: "message",
|
|
488
513
|
oneof: "request",
|
|
489
514
|
T: () => ControllerAPI_ClearFeatures_Request
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
no: 400,
|
|
518
|
+
name: "set_default_color",
|
|
519
|
+
kind: "message",
|
|
520
|
+
oneof: "request",
|
|
521
|
+
T: () => TxAPI_SetDefaultColor_Request
|
|
490
522
|
}
|
|
491
523
|
]);
|
|
492
524
|
}
|
|
@@ -838,7 +870,7 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
838
870
|
case 301:
|
|
839
871
|
message.request = {
|
|
840
872
|
oneofKind: "cacheDeleteExpiredRecords",
|
|
841
|
-
cacheDeleteExpiredRecords:
|
|
873
|
+
cacheDeleteExpiredRecords: Util_Deprecated.internalBinaryRead(reader, reader.uint32(), options, message.request.cacheDeleteExpiredRecords)
|
|
842
874
|
};
|
|
843
875
|
break;
|
|
844
876
|
case 350:
|
|
@@ -853,6 +885,12 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
853
885
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerFeaturesClear)
|
|
854
886
|
};
|
|
855
887
|
break;
|
|
888
|
+
case 400:
|
|
889
|
+
message.request = {
|
|
890
|
+
oneofKind: "setDefaultColor",
|
|
891
|
+
setDefaultColor: TxAPI_SetDefaultColor_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.setDefaultColor)
|
|
892
|
+
};
|
|
893
|
+
break;
|
|
856
894
|
default:
|
|
857
895
|
let u = options.readUnknownField;
|
|
858
896
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -919,9 +957,10 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
919
957
|
if (message.request.oneofKind === "controllerKeyValueGetFlag") ControllerKVAPI_GetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlag, writer.tag(254, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
920
958
|
if (message.request.oneofKind === "controllerKeyValueGetFlagIfExists") ControllerKVAPI_GetFlagIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlagIfExists, writer.tag(255, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
921
959
|
if (message.request.oneofKind === "cacheSetToField") CacheAPI_SetToField_Request.internalBinaryWrite(message.request.cacheSetToField, writer.tag(300, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
922
|
-
if (message.request.oneofKind === "cacheDeleteExpiredRecords")
|
|
960
|
+
if (message.request.oneofKind === "cacheDeleteExpiredRecords") Util_Deprecated.internalBinaryWrite(message.request.cacheDeleteExpiredRecords, writer.tag(301, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
923
961
|
if (message.request.oneofKind === "controllerFeaturesSet") ControllerAPI_SetFeatures_Request.internalBinaryWrite(message.request.controllerFeaturesSet, writer.tag(350, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
924
962
|
if (message.request.oneofKind === "controllerFeaturesClear") ControllerAPI_ClearFeatures_Request.internalBinaryWrite(message.request.controllerFeaturesClear, writer.tag(351, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
963
|
+
if (message.request.oneofKind === "setDefaultColor") TxAPI_SetDefaultColor_Request.internalBinaryWrite(message.request.setDefaultColor, writer.tag(400, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
925
964
|
let u = options.writeUnknownFields;
|
|
926
965
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
927
966
|
return writer;
|
|
@@ -1336,7 +1375,7 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1336
1375
|
name: "cache_delete_expired_records",
|
|
1337
1376
|
kind: "message",
|
|
1338
1377
|
oneof: "response",
|
|
1339
|
-
T: () =>
|
|
1378
|
+
T: () => Util_Deprecated
|
|
1340
1379
|
},
|
|
1341
1380
|
{
|
|
1342
1381
|
no: 350,
|
|
@@ -1352,6 +1391,13 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1352
1391
|
oneof: "response",
|
|
1353
1392
|
T: () => ControllerAPI_ClearFeatures_Response
|
|
1354
1393
|
},
|
|
1394
|
+
{
|
|
1395
|
+
no: 400,
|
|
1396
|
+
name: "set_default_color",
|
|
1397
|
+
kind: "message",
|
|
1398
|
+
oneof: "response",
|
|
1399
|
+
T: () => TxAPI_SetDefaultColor_Response
|
|
1400
|
+
},
|
|
1355
1401
|
{
|
|
1356
1402
|
no: 3,
|
|
1357
1403
|
name: "error",
|
|
@@ -1711,7 +1757,7 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1711
1757
|
case 301:
|
|
1712
1758
|
message.response = {
|
|
1713
1759
|
oneofKind: "cacheDeleteExpiredRecords",
|
|
1714
|
-
cacheDeleteExpiredRecords:
|
|
1760
|
+
cacheDeleteExpiredRecords: Util_Deprecated.internalBinaryRead(reader, reader.uint32(), options, message.response.cacheDeleteExpiredRecords)
|
|
1715
1761
|
};
|
|
1716
1762
|
break;
|
|
1717
1763
|
case 350:
|
|
@@ -1726,6 +1772,12 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1726
1772
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerFeaturesClear)
|
|
1727
1773
|
};
|
|
1728
1774
|
break;
|
|
1775
|
+
case 400:
|
|
1776
|
+
message.response = {
|
|
1777
|
+
oneofKind: "setDefaultColor",
|
|
1778
|
+
setDefaultColor: TxAPI_SetDefaultColor_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.setDefaultColor)
|
|
1779
|
+
};
|
|
1780
|
+
break;
|
|
1729
1781
|
case 3:
|
|
1730
1782
|
message.error = require_status.Status.internalBinaryRead(reader, reader.uint32(), options, message.error);
|
|
1731
1783
|
break;
|
|
@@ -1797,9 +1849,10 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1797
1849
|
if (message.response.oneofKind === "controllerKeyValueGetFlag") ControllerKVAPI_GetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlag, writer.tag(254, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1798
1850
|
if (message.response.oneofKind === "controllerKeyValueGetFlagIfExists") ControllerKVAPI_GetFlagIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlagIfExists, writer.tag(255, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1799
1851
|
if (message.response.oneofKind === "cacheSetToField") CacheAPI_SetToField_Response.internalBinaryWrite(message.response.cacheSetToField, writer.tag(300, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1800
|
-
if (message.response.oneofKind === "cacheDeleteExpiredRecords")
|
|
1852
|
+
if (message.response.oneofKind === "cacheDeleteExpiredRecords") Util_Deprecated.internalBinaryWrite(message.response.cacheDeleteExpiredRecords, writer.tag(301, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1801
1853
|
if (message.response.oneofKind === "controllerFeaturesSet") ControllerAPI_SetFeatures_Response.internalBinaryWrite(message.response.controllerFeaturesSet, writer.tag(350, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1802
1854
|
if (message.response.oneofKind === "controllerFeaturesClear") ControllerAPI_ClearFeatures_Response.internalBinaryWrite(message.response.controllerFeaturesClear, writer.tag(351, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1855
|
+
if (message.response.oneofKind === "setDefaultColor") TxAPI_SetDefaultColor_Response.internalBinaryWrite(message.response.setDefaultColor, writer.tag(400, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1803
1856
|
let u = options.writeUnknownFields;
|
|
1804
1857
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1805
1858
|
return writer;
|
|
@@ -2435,6 +2488,115 @@ var TxAPI_Sync_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2435
2488
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Sync.Response
|
|
2436
2489
|
*/
|
|
2437
2490
|
const TxAPI_Sync_Response = new TxAPI_Sync_Response$Type();
|
|
2491
|
+
var TxAPI_SetDefaultColor$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2492
|
+
constructor() {
|
|
2493
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor", []);
|
|
2494
|
+
}
|
|
2495
|
+
create(value) {
|
|
2496
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2497
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2498
|
+
return message;
|
|
2499
|
+
}
|
|
2500
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2501
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2502
|
+
while (reader.pos < end) {
|
|
2503
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2504
|
+
switch (fieldNo) {
|
|
2505
|
+
default:
|
|
2506
|
+
let u = options.readUnknownField;
|
|
2507
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2508
|
+
let d = reader.skip(wireType);
|
|
2509
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
return message;
|
|
2513
|
+
}
|
|
2514
|
+
internalBinaryWrite(message, writer, options) {
|
|
2515
|
+
let u = options.writeUnknownFields;
|
|
2516
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2517
|
+
return writer;
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
/**
|
|
2521
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor
|
|
2522
|
+
*/
|
|
2523
|
+
const TxAPI_SetDefaultColor = new TxAPI_SetDefaultColor$Type();
|
|
2524
|
+
var TxAPI_SetDefaultColor_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2525
|
+
constructor() {
|
|
2526
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request", [{
|
|
2527
|
+
no: 1,
|
|
2528
|
+
name: "color_proof",
|
|
2529
|
+
kind: "scalar",
|
|
2530
|
+
opt: true,
|
|
2531
|
+
T: 12
|
|
2532
|
+
}]);
|
|
2533
|
+
}
|
|
2534
|
+
create(value) {
|
|
2535
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2536
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2537
|
+
return message;
|
|
2538
|
+
}
|
|
2539
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2540
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2541
|
+
while (reader.pos < end) {
|
|
2542
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2543
|
+
switch (fieldNo) {
|
|
2544
|
+
case 1:
|
|
2545
|
+
message.colorProof = reader.bytes();
|
|
2546
|
+
break;
|
|
2547
|
+
default:
|
|
2548
|
+
let u = options.readUnknownField;
|
|
2549
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2550
|
+
let d = reader.skip(wireType);
|
|
2551
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
return message;
|
|
2555
|
+
}
|
|
2556
|
+
internalBinaryWrite(message, writer, options) {
|
|
2557
|
+
if (message.colorProof !== void 0) writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2558
|
+
let u = options.writeUnknownFields;
|
|
2559
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2560
|
+
return writer;
|
|
2561
|
+
}
|
|
2562
|
+
};
|
|
2563
|
+
/**
|
|
2564
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request
|
|
2565
|
+
*/
|
|
2566
|
+
const TxAPI_SetDefaultColor_Request = new TxAPI_SetDefaultColor_Request$Type();
|
|
2567
|
+
var TxAPI_SetDefaultColor_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2568
|
+
constructor() {
|
|
2569
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response", []);
|
|
2570
|
+
}
|
|
2571
|
+
create(value) {
|
|
2572
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2573
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2574
|
+
return message;
|
|
2575
|
+
}
|
|
2576
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2577
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2578
|
+
while (reader.pos < end) {
|
|
2579
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2580
|
+
switch (fieldNo) {
|
|
2581
|
+
default:
|
|
2582
|
+
let u = options.readUnknownField;
|
|
2583
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2584
|
+
let d = reader.skip(wireType);
|
|
2585
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
return message;
|
|
2589
|
+
}
|
|
2590
|
+
internalBinaryWrite(message, writer, options) {
|
|
2591
|
+
let u = options.writeUnknownFields;
|
|
2592
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2593
|
+
return writer;
|
|
2594
|
+
}
|
|
2595
|
+
};
|
|
2596
|
+
/**
|
|
2597
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response
|
|
2598
|
+
*/
|
|
2599
|
+
const TxAPI_SetDefaultColor_Response = new TxAPI_SetDefaultColor_Response$Type();
|
|
2438
2600
|
var ResourceAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2439
2601
|
constructor() {
|
|
2440
2602
|
super("MiLaboratories.PL.API.ResourceAPI", []);
|
|
@@ -2523,6 +2685,13 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2523
2685
|
kind: "scalar",
|
|
2524
2686
|
opt: true,
|
|
2525
2687
|
T: 12
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
no: 5,
|
|
2691
|
+
name: "color_proof",
|
|
2692
|
+
kind: "scalar",
|
|
2693
|
+
opt: true,
|
|
2694
|
+
T: 12
|
|
2526
2695
|
}
|
|
2527
2696
|
]);
|
|
2528
2697
|
}
|
|
@@ -2546,6 +2715,9 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2546
2715
|
case 4:
|
|
2547
2716
|
message.data = reader.bytes();
|
|
2548
2717
|
break;
|
|
2718
|
+
case 5:
|
|
2719
|
+
message.colorProof = reader.bytes();
|
|
2720
|
+
break;
|
|
2549
2721
|
default:
|
|
2550
2722
|
let u = options.readUnknownField;
|
|
2551
2723
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2559,6 +2731,7 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2559
2731
|
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
2560
2732
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
2561
2733
|
if (message.data !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
2734
|
+
if (message.colorProof !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2562
2735
|
let u = options.writeUnknownFields;
|
|
2563
2736
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2564
2737
|
return writer;
|
|
@@ -2576,6 +2749,12 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2576
2749
|
kind: "scalar",
|
|
2577
2750
|
T: 4,
|
|
2578
2751
|
L: 0
|
|
2752
|
+
}, {
|
|
2753
|
+
no: 2,
|
|
2754
|
+
name: "resource_signature",
|
|
2755
|
+
kind: "scalar",
|
|
2756
|
+
opt: true,
|
|
2757
|
+
T: 12
|
|
2579
2758
|
}]);
|
|
2580
2759
|
}
|
|
2581
2760
|
create(value) {
|
|
@@ -2592,6 +2771,9 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2592
2771
|
case 1:
|
|
2593
2772
|
message.resourceId = reader.uint64().toBigInt();
|
|
2594
2773
|
break;
|
|
2774
|
+
case 2:
|
|
2775
|
+
message.resourceSignature = reader.bytes();
|
|
2776
|
+
break;
|
|
2595
2777
|
default:
|
|
2596
2778
|
let u = options.readUnknownField;
|
|
2597
2779
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2603,6 +2785,7 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2603
2785
|
}
|
|
2604
2786
|
internalBinaryWrite(message, writer, options) {
|
|
2605
2787
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
2788
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
2606
2789
|
let u = options.writeUnknownFields;
|
|
2607
2790
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2608
2791
|
return writer;
|
|
@@ -2667,6 +2850,13 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2667
2850
|
kind: "scalar",
|
|
2668
2851
|
opt: true,
|
|
2669
2852
|
T: 12
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
no: 5,
|
|
2856
|
+
name: "color_proof",
|
|
2857
|
+
kind: "scalar",
|
|
2858
|
+
opt: true,
|
|
2859
|
+
T: 12
|
|
2670
2860
|
}
|
|
2671
2861
|
]);
|
|
2672
2862
|
}
|
|
@@ -2690,6 +2880,9 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2690
2880
|
case 4:
|
|
2691
2881
|
message.data = reader.bytes();
|
|
2692
2882
|
break;
|
|
2883
|
+
case 5:
|
|
2884
|
+
message.colorProof = reader.bytes();
|
|
2885
|
+
break;
|
|
2693
2886
|
default:
|
|
2694
2887
|
let u = options.readUnknownField;
|
|
2695
2888
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2703,6 +2896,7 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2703
2896
|
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
2704
2897
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
2705
2898
|
if (message.data !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
2899
|
+
if (message.colorProof !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2706
2900
|
let u = options.writeUnknownFields;
|
|
2707
2901
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2708
2902
|
return writer;
|
|
@@ -2720,6 +2914,12 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2720
2914
|
kind: "scalar",
|
|
2721
2915
|
T: 4,
|
|
2722
2916
|
L: 0
|
|
2917
|
+
}, {
|
|
2918
|
+
no: 2,
|
|
2919
|
+
name: "resource_signature",
|
|
2920
|
+
kind: "scalar",
|
|
2921
|
+
opt: true,
|
|
2922
|
+
T: 12
|
|
2723
2923
|
}]);
|
|
2724
2924
|
}
|
|
2725
2925
|
create(value) {
|
|
@@ -2736,6 +2936,9 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2736
2936
|
case 1:
|
|
2737
2937
|
message.resourceId = reader.uint64().toBigInt();
|
|
2738
2938
|
break;
|
|
2939
|
+
case 2:
|
|
2940
|
+
message.resourceSignature = reader.bytes();
|
|
2941
|
+
break;
|
|
2739
2942
|
default:
|
|
2740
2943
|
let u = options.readUnknownField;
|
|
2741
2944
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2747,6 +2950,7 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2747
2950
|
}
|
|
2748
2951
|
internalBinaryWrite(message, writer, options) {
|
|
2749
2952
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
2953
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
2750
2954
|
let u = options.writeUnknownFields;
|
|
2751
2955
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2752
2956
|
return writer;
|
|
@@ -2959,6 +3163,13 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
2959
3163
|
name: "error_if_exists",
|
|
2960
3164
|
kind: "scalar",
|
|
2961
3165
|
T: 8
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
no: 8,
|
|
3169
|
+
name: "color_proof",
|
|
3170
|
+
kind: "scalar",
|
|
3171
|
+
opt: true,
|
|
3172
|
+
T: 12
|
|
2962
3173
|
}
|
|
2963
3174
|
]);
|
|
2964
3175
|
}
|
|
@@ -2987,6 +3198,9 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
2987
3198
|
case 7:
|
|
2988
3199
|
message.errorIfExists = reader.bool();
|
|
2989
3200
|
break;
|
|
3201
|
+
case 8:
|
|
3202
|
+
message.colorProof = reader.bytes();
|
|
3203
|
+
break;
|
|
2990
3204
|
default:
|
|
2991
3205
|
let u = options.readUnknownField;
|
|
2992
3206
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3001,6 +3215,7 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3001
3215
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
3002
3216
|
if (message.data.length) writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
3003
3217
|
if (message.errorIfExists !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.errorIfExists);
|
|
3218
|
+
if (message.colorProof !== void 0) writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
3004
3219
|
let u = options.writeUnknownFields;
|
|
3005
3220
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3006
3221
|
return writer;
|
|
@@ -3018,6 +3233,12 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3018
3233
|
kind: "scalar",
|
|
3019
3234
|
T: 4,
|
|
3020
3235
|
L: 0
|
|
3236
|
+
}, {
|
|
3237
|
+
no: 2,
|
|
3238
|
+
name: "resource_signature",
|
|
3239
|
+
kind: "scalar",
|
|
3240
|
+
opt: true,
|
|
3241
|
+
T: 12
|
|
3021
3242
|
}]);
|
|
3022
3243
|
}
|
|
3023
3244
|
create(value) {
|
|
@@ -3034,6 +3255,9 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3034
3255
|
case 1:
|
|
3035
3256
|
message.resourceId = reader.uint64().toBigInt();
|
|
3036
3257
|
break;
|
|
3258
|
+
case 2:
|
|
3259
|
+
message.resourceSignature = reader.bytes();
|
|
3260
|
+
break;
|
|
3037
3261
|
default:
|
|
3038
3262
|
let u = options.readUnknownField;
|
|
3039
3263
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3045,6 +3269,7 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3045
3269
|
}
|
|
3046
3270
|
internalBinaryWrite(message, writer, options) {
|
|
3047
3271
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3272
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3048
3273
|
let u = options.writeUnknownFields;
|
|
3049
3274
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3050
3275
|
return writer;
|
|
@@ -3147,6 +3372,12 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3147
3372
|
kind: "scalar",
|
|
3148
3373
|
T: 4,
|
|
3149
3374
|
L: 0
|
|
3375
|
+
}, {
|
|
3376
|
+
no: 2,
|
|
3377
|
+
name: "resource_signature",
|
|
3378
|
+
kind: "scalar",
|
|
3379
|
+
opt: true,
|
|
3380
|
+
T: 12
|
|
3150
3381
|
}]);
|
|
3151
3382
|
}
|
|
3152
3383
|
create(value) {
|
|
@@ -3163,6 +3394,9 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3163
3394
|
case 1:
|
|
3164
3395
|
message.resourceId = reader.uint64().toBigInt();
|
|
3165
3396
|
break;
|
|
3397
|
+
case 2:
|
|
3398
|
+
message.resourceSignature = reader.bytes();
|
|
3399
|
+
break;
|
|
3166
3400
|
default:
|
|
3167
3401
|
let u = options.readUnknownField;
|
|
3168
3402
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3174,6 +3408,7 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3174
3408
|
}
|
|
3175
3409
|
internalBinaryWrite(message, writer, options) {
|
|
3176
3410
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3411
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3177
3412
|
let u = options.writeUnknownFields;
|
|
3178
3413
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3179
3414
|
return writer;
|
|
@@ -3243,6 +3478,13 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3243
3478
|
name: "error_if_exists",
|
|
3244
3479
|
kind: "scalar",
|
|
3245
3480
|
T: 8
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
no: 8,
|
|
3484
|
+
name: "color_proof",
|
|
3485
|
+
kind: "scalar",
|
|
3486
|
+
opt: true,
|
|
3487
|
+
T: 12
|
|
3246
3488
|
}
|
|
3247
3489
|
]);
|
|
3248
3490
|
}
|
|
@@ -3271,6 +3513,9 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3271
3513
|
case 7:
|
|
3272
3514
|
message.errorIfExists = reader.bool();
|
|
3273
3515
|
break;
|
|
3516
|
+
case 8:
|
|
3517
|
+
message.colorProof = reader.bytes();
|
|
3518
|
+
break;
|
|
3274
3519
|
default:
|
|
3275
3520
|
let u = options.readUnknownField;
|
|
3276
3521
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3285,6 +3530,7 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3285
3530
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
3286
3531
|
if (message.data.length) writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
3287
3532
|
if (message.errorIfExists !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.errorIfExists);
|
|
3533
|
+
if (message.colorProof !== void 0) writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
3288
3534
|
let u = options.writeUnknownFields;
|
|
3289
3535
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3290
3536
|
return writer;
|
|
@@ -3302,6 +3548,12 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3302
3548
|
kind: "scalar",
|
|
3303
3549
|
T: 4,
|
|
3304
3550
|
L: 0
|
|
3551
|
+
}, {
|
|
3552
|
+
no: 2,
|
|
3553
|
+
name: "resource_signature",
|
|
3554
|
+
kind: "scalar",
|
|
3555
|
+
opt: true,
|
|
3556
|
+
T: 12
|
|
3305
3557
|
}]);
|
|
3306
3558
|
}
|
|
3307
3559
|
create(value) {
|
|
@@ -3318,6 +3570,9 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3318
3570
|
case 1:
|
|
3319
3571
|
message.resourceId = reader.uint64().toBigInt();
|
|
3320
3572
|
break;
|
|
3573
|
+
case 2:
|
|
3574
|
+
message.resourceSignature = reader.bytes();
|
|
3575
|
+
break;
|
|
3321
3576
|
default:
|
|
3322
3577
|
let u = options.readUnknownField;
|
|
3323
3578
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3329,6 +3584,7 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3329
3584
|
}
|
|
3330
3585
|
internalBinaryWrite(message, writer, options) {
|
|
3331
3586
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3587
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3332
3588
|
let u = options.writeUnknownFields;
|
|
3333
3589
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3334
3590
|
return writer;
|
|
@@ -3520,6 +3776,12 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3520
3776
|
kind: "scalar",
|
|
3521
3777
|
T: 4,
|
|
3522
3778
|
L: 0
|
|
3779
|
+
}, {
|
|
3780
|
+
no: 2,
|
|
3781
|
+
name: "resource_signature",
|
|
3782
|
+
kind: "scalar",
|
|
3783
|
+
opt: true,
|
|
3784
|
+
T: 12
|
|
3523
3785
|
}]);
|
|
3524
3786
|
}
|
|
3525
3787
|
create(value) {
|
|
@@ -3536,6 +3798,9 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3536
3798
|
case 1:
|
|
3537
3799
|
message.resourceId = reader.uint64().toBigInt();
|
|
3538
3800
|
break;
|
|
3801
|
+
case 2:
|
|
3802
|
+
message.resourceSignature = reader.bytes();
|
|
3803
|
+
break;
|
|
3539
3804
|
default:
|
|
3540
3805
|
let u = options.readUnknownField;
|
|
3541
3806
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3547,6 +3812,7 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3547
3812
|
}
|
|
3548
3813
|
internalBinaryWrite(message, writer, options) {
|
|
3549
3814
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3815
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3550
3816
|
let u = options.writeUnknownFields;
|
|
3551
3817
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3552
3818
|
return writer;
|
|
@@ -3630,6 +3896,12 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3630
3896
|
kind: "scalar",
|
|
3631
3897
|
T: 4,
|
|
3632
3898
|
L: 0
|
|
3899
|
+
}, {
|
|
3900
|
+
no: 2,
|
|
3901
|
+
name: "resource_signature",
|
|
3902
|
+
kind: "scalar",
|
|
3903
|
+
opt: true,
|
|
3904
|
+
T: 12
|
|
3633
3905
|
}]);
|
|
3634
3906
|
}
|
|
3635
3907
|
create(value) {
|
|
@@ -3646,6 +3918,9 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3646
3918
|
case 1:
|
|
3647
3919
|
message.resourceId = reader.uint64().toBigInt();
|
|
3648
3920
|
break;
|
|
3921
|
+
case 2:
|
|
3922
|
+
message.resourceSignature = reader.bytes();
|
|
3923
|
+
break;
|
|
3649
3924
|
default:
|
|
3650
3925
|
let u = options.readUnknownField;
|
|
3651
3926
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3657,6 +3932,7 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3657
3932
|
}
|
|
3658
3933
|
internalBinaryWrite(message, writer, options) {
|
|
3659
3934
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3935
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3660
3936
|
let u = options.writeUnknownFields;
|
|
3661
3937
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3662
3938
|
return writer;
|
|
@@ -3740,6 +4016,12 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3740
4016
|
kind: "scalar",
|
|
3741
4017
|
T: 4,
|
|
3742
4018
|
L: 0
|
|
4019
|
+
}, {
|
|
4020
|
+
no: 2,
|
|
4021
|
+
name: "resource_signature",
|
|
4022
|
+
kind: "scalar",
|
|
4023
|
+
opt: true,
|
|
4024
|
+
T: 12
|
|
3743
4025
|
}]);
|
|
3744
4026
|
}
|
|
3745
4027
|
create(value) {
|
|
@@ -3756,6 +4038,9 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3756
4038
|
case 1:
|
|
3757
4039
|
message.resourceId = reader.uint64().toBigInt();
|
|
3758
4040
|
break;
|
|
4041
|
+
case 2:
|
|
4042
|
+
message.resourceSignature = reader.bytes();
|
|
4043
|
+
break;
|
|
3759
4044
|
default:
|
|
3760
4045
|
let u = options.readUnknownField;
|
|
3761
4046
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3767,6 +4052,7 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3767
4052
|
}
|
|
3768
4053
|
internalBinaryWrite(message, writer, options) {
|
|
3769
4054
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4055
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3770
4056
|
let u = options.writeUnknownFields;
|
|
3771
4057
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3772
4058
|
return writer;
|
|
@@ -3854,19 +4140,36 @@ var ResourceAPI_SetError$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
3854
4140
|
const ResourceAPI_SetError = new ResourceAPI_SetError$Type();
|
|
3855
4141
|
var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3856
4142
|
constructor() {
|
|
3857
|
-
super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
4143
|
+
super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
|
|
4144
|
+
{
|
|
4145
|
+
no: 1,
|
|
4146
|
+
name: "resource_id",
|
|
4147
|
+
kind: "scalar",
|
|
4148
|
+
T: 4,
|
|
4149
|
+
L: 0
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
no: 3,
|
|
4153
|
+
name: "resource_signature",
|
|
4154
|
+
kind: "scalar",
|
|
4155
|
+
opt: true,
|
|
4156
|
+
T: 12
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
no: 2,
|
|
4160
|
+
name: "error_resource_id",
|
|
4161
|
+
kind: "scalar",
|
|
4162
|
+
T: 4,
|
|
4163
|
+
L: 0
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
no: 4,
|
|
4167
|
+
name: "error_resource_signature",
|
|
4168
|
+
kind: "scalar",
|
|
4169
|
+
opt: true,
|
|
4170
|
+
T: 12
|
|
4171
|
+
}
|
|
4172
|
+
]);
|
|
3870
4173
|
}
|
|
3871
4174
|
create(value) {
|
|
3872
4175
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -3883,9 +4186,15 @@ var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
3883
4186
|
case 1:
|
|
3884
4187
|
message.resourceId = reader.uint64().toBigInt();
|
|
3885
4188
|
break;
|
|
4189
|
+
case 3:
|
|
4190
|
+
message.resourceSignature = reader.bytes();
|
|
4191
|
+
break;
|
|
3886
4192
|
case 2:
|
|
3887
4193
|
message.errorResourceId = reader.uint64().toBigInt();
|
|
3888
4194
|
break;
|
|
4195
|
+
case 4:
|
|
4196
|
+
message.errorResourceSignature = reader.bytes();
|
|
4197
|
+
break;
|
|
3889
4198
|
default:
|
|
3890
4199
|
let u = options.readUnknownField;
|
|
3891
4200
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3898,6 +4207,8 @@ var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
3898
4207
|
internalBinaryWrite(message, writer, options) {
|
|
3899
4208
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3900
4209
|
if (message.errorResourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.errorResourceId);
|
|
4210
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4211
|
+
if (message.errorResourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.errorResourceSignature);
|
|
3901
4212
|
let u = options.writeUnknownFields;
|
|
3902
4213
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3903
4214
|
return writer;
|
|
@@ -3975,18 +4286,28 @@ var ResourceAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
3975
4286
|
const ResourceAPI_Get = new ResourceAPI_Get$Type();
|
|
3976
4287
|
var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3977
4288
|
constructor() {
|
|
3978
|
-
super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
4289
|
+
super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
|
|
4290
|
+
{
|
|
4291
|
+
no: 1,
|
|
4292
|
+
name: "resource_id",
|
|
4293
|
+
kind: "scalar",
|
|
4294
|
+
T: 4,
|
|
4295
|
+
L: 0
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
no: 3,
|
|
4299
|
+
name: "resource_signature",
|
|
4300
|
+
kind: "scalar",
|
|
4301
|
+
opt: true,
|
|
4302
|
+
T: 12
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
no: 2,
|
|
4306
|
+
name: "load_fields",
|
|
4307
|
+
kind: "scalar",
|
|
4308
|
+
T: 8
|
|
4309
|
+
}
|
|
4310
|
+
]);
|
|
3990
4311
|
}
|
|
3991
4312
|
create(value) {
|
|
3992
4313
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -4003,6 +4324,9 @@ var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4003
4324
|
case 1:
|
|
4004
4325
|
message.resourceId = reader.uint64().toBigInt();
|
|
4005
4326
|
break;
|
|
4327
|
+
case 3:
|
|
4328
|
+
message.resourceSignature = reader.bytes();
|
|
4329
|
+
break;
|
|
4006
4330
|
case 2:
|
|
4007
4331
|
message.loadFields = reader.bool();
|
|
4008
4332
|
break;
|
|
@@ -4018,6 +4342,7 @@ var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4018
4342
|
internalBinaryWrite(message, writer, options) {
|
|
4019
4343
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4020
4344
|
if (message.loadFields !== false) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).bool(message.loadFields);
|
|
4345
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4021
4346
|
let u = options.writeUnknownFields;
|
|
4022
4347
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4023
4348
|
return writer;
|
|
@@ -4360,6 +4685,12 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4360
4685
|
kind: "scalar",
|
|
4361
4686
|
T: 4,
|
|
4362
4687
|
L: 0
|
|
4688
|
+
}, {
|
|
4689
|
+
no: 2,
|
|
4690
|
+
name: "resource_signature",
|
|
4691
|
+
kind: "scalar",
|
|
4692
|
+
opt: true,
|
|
4693
|
+
T: 12
|
|
4363
4694
|
}]);
|
|
4364
4695
|
}
|
|
4365
4696
|
create(value) {
|
|
@@ -4376,6 +4707,9 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4376
4707
|
case 1:
|
|
4377
4708
|
message.resourceId = reader.uint64().toBigInt();
|
|
4378
4709
|
break;
|
|
4710
|
+
case 2:
|
|
4711
|
+
message.resourceSignature = reader.bytes();
|
|
4712
|
+
break;
|
|
4379
4713
|
default:
|
|
4380
4714
|
let u = options.readUnknownField;
|
|
4381
4715
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -4387,6 +4721,7 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4387
4721
|
}
|
|
4388
4722
|
internalBinaryWrite(message, writer, options) {
|
|
4389
4723
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4724
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4390
4725
|
let u = options.writeUnknownFields;
|
|
4391
4726
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4392
4727
|
return writer;
|
|
@@ -4433,15 +4768,21 @@ var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
4433
4768
|
constructor() {
|
|
4434
4769
|
super("MiLaboratories.PL.API.ResourceAPI.Remove.Request", [{
|
|
4435
4770
|
no: 1,
|
|
4436
|
-
name: "
|
|
4771
|
+
name: "resource_id",
|
|
4437
4772
|
kind: "scalar",
|
|
4438
4773
|
T: 4,
|
|
4439
4774
|
L: 0
|
|
4775
|
+
}, {
|
|
4776
|
+
no: 2,
|
|
4777
|
+
name: "resource_signature",
|
|
4778
|
+
kind: "scalar",
|
|
4779
|
+
opt: true,
|
|
4780
|
+
T: 12
|
|
4440
4781
|
}]);
|
|
4441
4782
|
}
|
|
4442
4783
|
create(value) {
|
|
4443
4784
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
4444
|
-
message.
|
|
4785
|
+
message.resourceId = 0n;
|
|
4445
4786
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
4446
4787
|
return message;
|
|
4447
4788
|
}
|
|
@@ -4451,7 +4792,10 @@ var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
4451
4792
|
let [fieldNo, wireType] = reader.tag();
|
|
4452
4793
|
switch (fieldNo) {
|
|
4453
4794
|
case 1:
|
|
4454
|
-
message.
|
|
4795
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
4796
|
+
break;
|
|
4797
|
+
case 2:
|
|
4798
|
+
message.resourceSignature = reader.bytes();
|
|
4455
4799
|
break;
|
|
4456
4800
|
default:
|
|
4457
4801
|
let u = options.readUnknownField;
|
|
@@ -4463,7 +4807,8 @@ var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
4463
4807
|
return message;
|
|
4464
4808
|
}
|
|
4465
4809
|
internalBinaryWrite(message, writer, options) {
|
|
4466
|
-
if (message.
|
|
4810
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4811
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4467
4812
|
let u = options.writeUnknownFields;
|
|
4468
4813
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4469
4814
|
return writer;
|
|
@@ -4574,18 +4919,28 @@ var ResourceAPI_Name_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4574
4919
|
const ResourceAPI_Name_Set = new ResourceAPI_Name_Set$Type();
|
|
4575
4920
|
var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4576
4921
|
constructor() {
|
|
4577
|
-
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4922
|
+
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
|
|
4923
|
+
{
|
|
4924
|
+
no: 1,
|
|
4925
|
+
name: "resource_id",
|
|
4926
|
+
kind: "scalar",
|
|
4927
|
+
T: 4,
|
|
4928
|
+
L: 0
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
no: 3,
|
|
4932
|
+
name: "resource_signature",
|
|
4933
|
+
kind: "scalar",
|
|
4934
|
+
opt: true,
|
|
4935
|
+
T: 12
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
no: 2,
|
|
4939
|
+
name: "name",
|
|
4940
|
+
kind: "scalar",
|
|
4941
|
+
T: 9
|
|
4942
|
+
}
|
|
4943
|
+
]);
|
|
4589
4944
|
}
|
|
4590
4945
|
create(value) {
|
|
4591
4946
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -4602,6 +4957,9 @@ var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
4602
4957
|
case 1:
|
|
4603
4958
|
message.resourceId = reader.uint64().toBigInt();
|
|
4604
4959
|
break;
|
|
4960
|
+
case 3:
|
|
4961
|
+
message.resourceSignature = reader.bytes();
|
|
4962
|
+
break;
|
|
4605
4963
|
case 2:
|
|
4606
4964
|
message.name = reader.string();
|
|
4607
4965
|
break;
|
|
@@ -4617,6 +4975,7 @@ var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
4617
4975
|
internalBinaryWrite(message, writer, options) {
|
|
4618
4976
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4619
4977
|
if (message.name !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
4978
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4620
4979
|
let u = options.writeUnknownFields;
|
|
4621
4980
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4622
4981
|
return writer;
|
|
@@ -4743,6 +5102,12 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4743
5102
|
kind: "scalar",
|
|
4744
5103
|
T: 4,
|
|
4745
5104
|
L: 0
|
|
5105
|
+
}, {
|
|
5106
|
+
no: 2,
|
|
5107
|
+
name: "resource_signature",
|
|
5108
|
+
kind: "scalar",
|
|
5109
|
+
opt: true,
|
|
5110
|
+
T: 12
|
|
4746
5111
|
}]);
|
|
4747
5112
|
}
|
|
4748
5113
|
create(value) {
|
|
@@ -4759,6 +5124,9 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4759
5124
|
case 1:
|
|
4760
5125
|
message.resourceId = reader.uint64().toBigInt();
|
|
4761
5126
|
break;
|
|
5127
|
+
case 2:
|
|
5128
|
+
message.resourceSignature = reader.bytes();
|
|
5129
|
+
break;
|
|
4762
5130
|
default:
|
|
4763
5131
|
let u = options.readUnknownField;
|
|
4764
5132
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -4770,6 +5138,7 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4770
5138
|
}
|
|
4771
5139
|
internalBinaryWrite(message, writer, options) {
|
|
4772
5140
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5141
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4773
5142
|
let u = options.writeUnknownFields;
|
|
4774
5143
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4775
5144
|
return writer;
|
|
@@ -5042,19 +5411,29 @@ var ResourceAPI_Tree$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5042
5411
|
const ResourceAPI_Tree = new ResourceAPI_Tree$Type();
|
|
5043
5412
|
var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5044
5413
|
constructor() {
|
|
5045
|
-
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5414
|
+
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
5415
|
+
{
|
|
5416
|
+
no: 1,
|
|
5417
|
+
name: "resource_id",
|
|
5418
|
+
kind: "scalar",
|
|
5419
|
+
T: 4,
|
|
5420
|
+
L: 0
|
|
5421
|
+
},
|
|
5422
|
+
{
|
|
5423
|
+
no: 3,
|
|
5424
|
+
name: "resource_signature",
|
|
5425
|
+
kind: "scalar",
|
|
5426
|
+
opt: true,
|
|
5427
|
+
T: 12
|
|
5428
|
+
},
|
|
5429
|
+
{
|
|
5430
|
+
no: 2,
|
|
5431
|
+
name: "max_depth",
|
|
5432
|
+
kind: "scalar",
|
|
5433
|
+
opt: true,
|
|
5434
|
+
T: 13
|
|
5435
|
+
}
|
|
5436
|
+
]);
|
|
5058
5437
|
}
|
|
5059
5438
|
create(value) {
|
|
5060
5439
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -5070,6 +5449,9 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
5070
5449
|
case 1:
|
|
5071
5450
|
message.resourceId = reader.uint64().toBigInt();
|
|
5072
5451
|
break;
|
|
5452
|
+
case 3:
|
|
5453
|
+
message.resourceSignature = reader.bytes();
|
|
5454
|
+
break;
|
|
5073
5455
|
case 2:
|
|
5074
5456
|
message.maxDepth = reader.uint32();
|
|
5075
5457
|
break;
|
|
@@ -5085,6 +5467,7 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
5085
5467
|
internalBinaryWrite(message, writer, options) {
|
|
5086
5468
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5087
5469
|
if (message.maxDepth !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint32(message.maxDepth);
|
|
5470
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
5088
5471
|
let u = options.writeUnknownFields;
|
|
5089
5472
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5090
5473
|
return writer;
|
|
@@ -5177,6 +5560,12 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5177
5560
|
kind: "scalar",
|
|
5178
5561
|
T: 4,
|
|
5179
5562
|
L: 0
|
|
5563
|
+
}, {
|
|
5564
|
+
no: 2,
|
|
5565
|
+
name: "resource_signature",
|
|
5566
|
+
kind: "scalar",
|
|
5567
|
+
opt: true,
|
|
5568
|
+
T: 12
|
|
5180
5569
|
}]);
|
|
5181
5570
|
}
|
|
5182
5571
|
create(value) {
|
|
@@ -5193,6 +5582,9 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5193
5582
|
case 1:
|
|
5194
5583
|
message.resourceId = reader.uint64().toBigInt();
|
|
5195
5584
|
break;
|
|
5585
|
+
case 2:
|
|
5586
|
+
message.resourceSignature = reader.bytes();
|
|
5587
|
+
break;
|
|
5196
5588
|
default:
|
|
5197
5589
|
let u = options.readUnknownField;
|
|
5198
5590
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -5204,6 +5596,7 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5204
5596
|
}
|
|
5205
5597
|
internalBinaryWrite(message, writer, options) {
|
|
5206
5598
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5599
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
5207
5600
|
let u = options.writeUnknownFields;
|
|
5208
5601
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5209
5602
|
return writer;
|
|
@@ -5698,22 +6091,32 @@ var FieldAPI_SetError$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5698
6091
|
const FieldAPI_SetError = new FieldAPI_SetError$Type();
|
|
5699
6092
|
var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5700
6093
|
constructor() {
|
|
5701
|
-
super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
6094
|
+
super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
|
|
6095
|
+
{
|
|
6096
|
+
no: 1,
|
|
6097
|
+
name: "field",
|
|
6098
|
+
kind: "message",
|
|
6099
|
+
T: () => require_base_types.FieldRef
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
no: 2,
|
|
6103
|
+
name: "error_resource_id",
|
|
6104
|
+
kind: "scalar",
|
|
6105
|
+
T: 4,
|
|
6106
|
+
L: 0
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
no: 3,
|
|
6110
|
+
name: "error_resource_signature",
|
|
6111
|
+
kind: "scalar",
|
|
6112
|
+
opt: true,
|
|
6113
|
+
T: 12
|
|
6114
|
+
}
|
|
6115
|
+
]);
|
|
5713
6116
|
}
|
|
5714
6117
|
create(value) {
|
|
5715
6118
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
5716
|
-
message.
|
|
6119
|
+
message.errorResourceId = 0n;
|
|
5717
6120
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
5718
6121
|
return message;
|
|
5719
6122
|
}
|
|
@@ -5726,7 +6129,10 @@ var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
5726
6129
|
message.field = require_base_types.FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.field);
|
|
5727
6130
|
break;
|
|
5728
6131
|
case 2:
|
|
5729
|
-
message.
|
|
6132
|
+
message.errorResourceId = reader.uint64().toBigInt();
|
|
6133
|
+
break;
|
|
6134
|
+
case 3:
|
|
6135
|
+
message.errorResourceSignature = reader.bytes();
|
|
5730
6136
|
break;
|
|
5731
6137
|
default:
|
|
5732
6138
|
let u = options.readUnknownField;
|
|
@@ -5739,7 +6145,8 @@ var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
5739
6145
|
}
|
|
5740
6146
|
internalBinaryWrite(message, writer, options) {
|
|
5741
6147
|
if (message.field) require_base_types.FieldRef.internalBinaryWrite(message.field, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
5742
|
-
if (message.
|
|
6148
|
+
if (message.errorResourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.errorResourceId);
|
|
6149
|
+
if (message.errorResourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.errorResourceSignature);
|
|
5743
6150
|
let u = options.writeUnknownFields;
|
|
5744
6151
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5745
6152
|
return writer;
|
|
@@ -6158,6 +6565,13 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6158
6565
|
T: 4,
|
|
6159
6566
|
L: 0
|
|
6160
6567
|
},
|
|
6568
|
+
{
|
|
6569
|
+
no: 4,
|
|
6570
|
+
name: "resource_signature",
|
|
6571
|
+
kind: "scalar",
|
|
6572
|
+
opt: true,
|
|
6573
|
+
T: 12
|
|
6574
|
+
},
|
|
6161
6575
|
{
|
|
6162
6576
|
no: 2,
|
|
6163
6577
|
name: "start_from",
|
|
@@ -6188,6 +6602,9 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6188
6602
|
case 1:
|
|
6189
6603
|
message.resourceId = reader.uint64().toBigInt();
|
|
6190
6604
|
break;
|
|
6605
|
+
case 4:
|
|
6606
|
+
message.resourceSignature = reader.bytes();
|
|
6607
|
+
break;
|
|
6191
6608
|
case 2:
|
|
6192
6609
|
message.startFrom = reader.string();
|
|
6193
6610
|
break;
|
|
@@ -6207,6 +6624,7 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6207
6624
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
6208
6625
|
if (message.startFrom !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.startFrom);
|
|
6209
6626
|
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
6627
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
6210
6628
|
let u = options.writeUnknownFields;
|
|
6211
6629
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
6212
6630
|
return writer;
|
|
@@ -9189,6 +9607,13 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9189
9607
|
T: 4,
|
|
9190
9608
|
L: 0
|
|
9191
9609
|
},
|
|
9610
|
+
{
|
|
9611
|
+
no: 4,
|
|
9612
|
+
name: "resource_signature",
|
|
9613
|
+
kind: "scalar",
|
|
9614
|
+
opt: true,
|
|
9615
|
+
T: 12
|
|
9616
|
+
},
|
|
9192
9617
|
{
|
|
9193
9618
|
no: 2,
|
|
9194
9619
|
name: "start_from",
|
|
@@ -9219,6 +9644,9 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9219
9644
|
case 1:
|
|
9220
9645
|
message.resourceId = reader.uint64().toBigInt();
|
|
9221
9646
|
break;
|
|
9647
|
+
case 4:
|
|
9648
|
+
message.resourceSignature = reader.bytes();
|
|
9649
|
+
break;
|
|
9222
9650
|
case 2:
|
|
9223
9651
|
message.startFrom = reader.string();
|
|
9224
9652
|
break;
|
|
@@ -9238,6 +9666,7 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9238
9666
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9239
9667
|
if (message.startFrom !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.startFrom);
|
|
9240
9668
|
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
9669
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9241
9670
|
let u = options.writeUnknownFields;
|
|
9242
9671
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9243
9672
|
return writer;
|
|
@@ -9395,6 +9824,13 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9395
9824
|
T: 4,
|
|
9396
9825
|
L: 0
|
|
9397
9826
|
},
|
|
9827
|
+
{
|
|
9828
|
+
no: 4,
|
|
9829
|
+
name: "resource_signature",
|
|
9830
|
+
kind: "scalar",
|
|
9831
|
+
opt: true,
|
|
9832
|
+
T: 12
|
|
9833
|
+
},
|
|
9398
9834
|
{
|
|
9399
9835
|
no: 2,
|
|
9400
9836
|
name: "key",
|
|
@@ -9425,6 +9861,9 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9425
9861
|
case 1:
|
|
9426
9862
|
message.resourceId = reader.uint64().toBigInt();
|
|
9427
9863
|
break;
|
|
9864
|
+
case 4:
|
|
9865
|
+
message.resourceSignature = reader.bytes();
|
|
9866
|
+
break;
|
|
9428
9867
|
case 2:
|
|
9429
9868
|
message.key = reader.string();
|
|
9430
9869
|
break;
|
|
@@ -9444,6 +9883,7 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9444
9883
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9445
9884
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9446
9885
|
if (message.value.length) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.value);
|
|
9886
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9447
9887
|
let u = options.writeUnknownFields;
|
|
9448
9888
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9449
9889
|
return writer;
|
|
@@ -9521,18 +9961,28 @@ var ResourceKVAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9521
9961
|
const ResourceKVAPI_Get = new ResourceKVAPI_Get$Type();
|
|
9522
9962
|
var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9523
9963
|
constructor() {
|
|
9524
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9964
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
|
|
9965
|
+
{
|
|
9966
|
+
no: 1,
|
|
9967
|
+
name: "resource_id",
|
|
9968
|
+
kind: "scalar",
|
|
9969
|
+
T: 4,
|
|
9970
|
+
L: 0
|
|
9971
|
+
},
|
|
9972
|
+
{
|
|
9973
|
+
no: 3,
|
|
9974
|
+
name: "resource_signature",
|
|
9975
|
+
kind: "scalar",
|
|
9976
|
+
opt: true,
|
|
9977
|
+
T: 12
|
|
9978
|
+
},
|
|
9979
|
+
{
|
|
9980
|
+
no: 2,
|
|
9981
|
+
name: "key",
|
|
9982
|
+
kind: "scalar",
|
|
9983
|
+
T: 9
|
|
9984
|
+
}
|
|
9985
|
+
]);
|
|
9536
9986
|
}
|
|
9537
9987
|
create(value) {
|
|
9538
9988
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9549,6 +9999,9 @@ var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9549
9999
|
case 1:
|
|
9550
10000
|
message.resourceId = reader.uint64().toBigInt();
|
|
9551
10001
|
break;
|
|
10002
|
+
case 3:
|
|
10003
|
+
message.resourceSignature = reader.bytes();
|
|
10004
|
+
break;
|
|
9552
10005
|
case 2:
|
|
9553
10006
|
message.key = reader.string();
|
|
9554
10007
|
break;
|
|
@@ -9564,6 +10017,7 @@ var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9564
10017
|
internalBinaryWrite(message, writer, options) {
|
|
9565
10018
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9566
10019
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10020
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9567
10021
|
let u = options.writeUnknownFields;
|
|
9568
10022
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9569
10023
|
return writer;
|
|
@@ -9651,18 +10105,28 @@ var ResourceKVAPI_GetIfExists$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9651
10105
|
const ResourceKVAPI_GetIfExists = new ResourceKVAPI_GetIfExists$Type();
|
|
9652
10106
|
var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9653
10107
|
constructor() {
|
|
9654
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
10108
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
|
|
10109
|
+
{
|
|
10110
|
+
no: 1,
|
|
10111
|
+
name: "resource_id",
|
|
10112
|
+
kind: "scalar",
|
|
10113
|
+
T: 4,
|
|
10114
|
+
L: 0
|
|
10115
|
+
},
|
|
10116
|
+
{
|
|
10117
|
+
no: 3,
|
|
10118
|
+
name: "resource_signature",
|
|
10119
|
+
kind: "scalar",
|
|
10120
|
+
opt: true,
|
|
10121
|
+
T: 12
|
|
10122
|
+
},
|
|
10123
|
+
{
|
|
10124
|
+
no: 2,
|
|
10125
|
+
name: "key",
|
|
10126
|
+
kind: "scalar",
|
|
10127
|
+
T: 9
|
|
10128
|
+
}
|
|
10129
|
+
]);
|
|
9666
10130
|
}
|
|
9667
10131
|
create(value) {
|
|
9668
10132
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9679,6 +10143,9 @@ var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.
|
|
|
9679
10143
|
case 1:
|
|
9680
10144
|
message.resourceId = reader.uint64().toBigInt();
|
|
9681
10145
|
break;
|
|
10146
|
+
case 3:
|
|
10147
|
+
message.resourceSignature = reader.bytes();
|
|
10148
|
+
break;
|
|
9682
10149
|
case 2:
|
|
9683
10150
|
message.key = reader.string();
|
|
9684
10151
|
break;
|
|
@@ -9694,6 +10161,7 @@ var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.
|
|
|
9694
10161
|
internalBinaryWrite(message, writer, options) {
|
|
9695
10162
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9696
10163
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10164
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9697
10165
|
let u = options.writeUnknownFields;
|
|
9698
10166
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9699
10167
|
return writer;
|
|
@@ -9791,18 +10259,28 @@ var ResourceKVAPI_Delete$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9791
10259
|
const ResourceKVAPI_Delete = new ResourceKVAPI_Delete$Type();
|
|
9792
10260
|
var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9793
10261
|
constructor() {
|
|
9794
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
10262
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
|
|
10263
|
+
{
|
|
10264
|
+
no: 1,
|
|
10265
|
+
name: "resource_id",
|
|
10266
|
+
kind: "scalar",
|
|
10267
|
+
T: 4,
|
|
10268
|
+
L: 0
|
|
10269
|
+
},
|
|
10270
|
+
{
|
|
10271
|
+
no: 3,
|
|
10272
|
+
name: "resource_signature",
|
|
10273
|
+
kind: "scalar",
|
|
10274
|
+
opt: true,
|
|
10275
|
+
T: 12
|
|
10276
|
+
},
|
|
10277
|
+
{
|
|
10278
|
+
no: 2,
|
|
10279
|
+
name: "key",
|
|
10280
|
+
kind: "scalar",
|
|
10281
|
+
T: 9
|
|
10282
|
+
}
|
|
10283
|
+
]);
|
|
9806
10284
|
}
|
|
9807
10285
|
create(value) {
|
|
9808
10286
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9819,6 +10297,9 @@ var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
9819
10297
|
case 1:
|
|
9820
10298
|
message.resourceId = reader.uint64().toBigInt();
|
|
9821
10299
|
break;
|
|
10300
|
+
case 3:
|
|
10301
|
+
message.resourceSignature = reader.bytes();
|
|
10302
|
+
break;
|
|
9822
10303
|
case 2:
|
|
9823
10304
|
message.key = reader.string();
|
|
9824
10305
|
break;
|
|
@@ -9834,6 +10315,7 @@ var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
9834
10315
|
internalBinaryWrite(message, writer, options) {
|
|
9835
10316
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9836
10317
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10318
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9837
10319
|
let u = options.writeUnknownFields;
|
|
9838
10320
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9839
10321
|
return writer;
|
|
@@ -9919,6 +10401,13 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9919
10401
|
T: 4,
|
|
9920
10402
|
L: 0
|
|
9921
10403
|
},
|
|
10404
|
+
{
|
|
10405
|
+
no: 4,
|
|
10406
|
+
name: "resource_signature",
|
|
10407
|
+
kind: "scalar",
|
|
10408
|
+
opt: true,
|
|
10409
|
+
T: 12
|
|
10410
|
+
},
|
|
9922
10411
|
{
|
|
9923
10412
|
no: 2,
|
|
9924
10413
|
name: "key",
|
|
@@ -9949,6 +10438,9 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9949
10438
|
case 1:
|
|
9950
10439
|
message.resourceId = reader.uint64().toBigInt();
|
|
9951
10440
|
break;
|
|
10441
|
+
case 4:
|
|
10442
|
+
message.resourceSignature = reader.bytes();
|
|
10443
|
+
break;
|
|
9952
10444
|
case 2:
|
|
9953
10445
|
message.key = reader.string();
|
|
9954
10446
|
break;
|
|
@@ -9968,6 +10460,7 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9968
10460
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9969
10461
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9970
10462
|
if (message.value !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.value);
|
|
10463
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9971
10464
|
let u = options.writeUnknownFields;
|
|
9972
10465
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9973
10466
|
return writer;
|
|
@@ -10045,18 +10538,28 @@ var ResourceKVAPI_GetFlag$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
10045
10538
|
const ResourceKVAPI_GetFlag = new ResourceKVAPI_GetFlag$Type();
|
|
10046
10539
|
var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10047
10540
|
constructor() {
|
|
10048
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10541
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
|
|
10542
|
+
{
|
|
10543
|
+
no: 1,
|
|
10544
|
+
name: "resource_id",
|
|
10545
|
+
kind: "scalar",
|
|
10546
|
+
T: 4,
|
|
10547
|
+
L: 0
|
|
10548
|
+
},
|
|
10549
|
+
{
|
|
10550
|
+
no: 3,
|
|
10551
|
+
name: "resource_signature",
|
|
10552
|
+
kind: "scalar",
|
|
10553
|
+
opt: true,
|
|
10554
|
+
T: 12
|
|
10555
|
+
},
|
|
10556
|
+
{
|
|
10557
|
+
no: 2,
|
|
10558
|
+
name: "key",
|
|
10559
|
+
kind: "scalar",
|
|
10560
|
+
T: 9
|
|
10561
|
+
}
|
|
10562
|
+
]);
|
|
10060
10563
|
}
|
|
10061
10564
|
create(value) {
|
|
10062
10565
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -10073,6 +10576,9 @@ var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
10073
10576
|
case 1:
|
|
10074
10577
|
message.resourceId = reader.uint64().toBigInt();
|
|
10075
10578
|
break;
|
|
10579
|
+
case 3:
|
|
10580
|
+
message.resourceSignature = reader.bytes();
|
|
10581
|
+
break;
|
|
10076
10582
|
case 2:
|
|
10077
10583
|
message.key = reader.string();
|
|
10078
10584
|
break;
|
|
@@ -10088,6 +10594,7 @@ var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
10088
10594
|
internalBinaryWrite(message, writer, options) {
|
|
10089
10595
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
10090
10596
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10597
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
10091
10598
|
let u = options.writeUnknownFields;
|
|
10092
10599
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
10093
10600
|
return writer;
|
|
@@ -11125,9 +11632,9 @@ var CacheAPI_SetToField_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11125
11632
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Response
|
|
11126
11633
|
*/
|
|
11127
11634
|
const CacheAPI_SetToField_Response = new CacheAPI_SetToField_Response$Type();
|
|
11128
|
-
var
|
|
11635
|
+
var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11129
11636
|
constructor() {
|
|
11130
|
-
super("MiLaboratories.PL.API.
|
|
11637
|
+
super("MiLaboratories.PL.API.LocksAPI", []);
|
|
11131
11638
|
}
|
|
11132
11639
|
create(value) {
|
|
11133
11640
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11155,12 +11662,12 @@ var CacheAPI_DeleteExpiredRecords$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11155
11662
|
}
|
|
11156
11663
|
};
|
|
11157
11664
|
/**
|
|
11158
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11665
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI
|
|
11159
11666
|
*/
|
|
11160
|
-
const
|
|
11161
|
-
var
|
|
11667
|
+
const LocksAPI = new LocksAPI$Type();
|
|
11668
|
+
var LocksAPI_LockFieldValues$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11162
11669
|
constructor() {
|
|
11163
|
-
super("MiLaboratories.PL.API.
|
|
11670
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues", []);
|
|
11164
11671
|
}
|
|
11165
11672
|
create(value) {
|
|
11166
11673
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11188,12 +11695,12 @@ var CacheAPI_DeleteExpiredRecords_Request$Type = class extends _protobuf_ts_runt
|
|
|
11188
11695
|
}
|
|
11189
11696
|
};
|
|
11190
11697
|
/**
|
|
11191
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11698
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues
|
|
11192
11699
|
*/
|
|
11193
|
-
const
|
|
11194
|
-
var
|
|
11700
|
+
const LocksAPI_LockFieldValues = new LocksAPI_LockFieldValues$Type();
|
|
11701
|
+
var LocksAPI_LockFieldValues_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11195
11702
|
constructor() {
|
|
11196
|
-
super("MiLaboratories.PL.API.
|
|
11703
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create", []);
|
|
11197
11704
|
}
|
|
11198
11705
|
create(value) {
|
|
11199
11706
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11221,15 +11728,39 @@ var CacheAPI_DeleteExpiredRecords_Response$Type = class extends _protobuf_ts_run
|
|
|
11221
11728
|
}
|
|
11222
11729
|
};
|
|
11223
11730
|
/**
|
|
11224
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11731
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create
|
|
11225
11732
|
*/
|
|
11226
|
-
const
|
|
11227
|
-
var
|
|
11733
|
+
const LocksAPI_LockFieldValues_Create = new LocksAPI_LockFieldValues_Create$Type();
|
|
11734
|
+
var LocksAPI_LockFieldValues_Create_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11228
11735
|
constructor() {
|
|
11229
|
-
super("MiLaboratories.PL.API.LocksAPI", [
|
|
11736
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request", [
|
|
11737
|
+
{
|
|
11738
|
+
no: 1,
|
|
11739
|
+
name: "resource_id",
|
|
11740
|
+
kind: "scalar",
|
|
11741
|
+
T: 4,
|
|
11742
|
+
L: 0
|
|
11743
|
+
},
|
|
11744
|
+
{
|
|
11745
|
+
no: 2,
|
|
11746
|
+
name: "lock_references_of",
|
|
11747
|
+
kind: "scalar",
|
|
11748
|
+
repeat: 2,
|
|
11749
|
+
T: 9
|
|
11750
|
+
},
|
|
11751
|
+
{
|
|
11752
|
+
no: 3,
|
|
11753
|
+
name: "comment",
|
|
11754
|
+
kind: "scalar",
|
|
11755
|
+
T: 9
|
|
11756
|
+
}
|
|
11757
|
+
]);
|
|
11230
11758
|
}
|
|
11231
11759
|
create(value) {
|
|
11232
11760
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11761
|
+
message.resourceId = 0n;
|
|
11762
|
+
message.lockReferencesOf = [];
|
|
11763
|
+
message.comment = "";
|
|
11233
11764
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11234
11765
|
return message;
|
|
11235
11766
|
}
|
|
@@ -11238,6 +11769,15 @@ var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11238
11769
|
while (reader.pos < end) {
|
|
11239
11770
|
let [fieldNo, wireType] = reader.tag();
|
|
11240
11771
|
switch (fieldNo) {
|
|
11772
|
+
case 1:
|
|
11773
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
11774
|
+
break;
|
|
11775
|
+
case 2:
|
|
11776
|
+
message.lockReferencesOf.push(reader.string());
|
|
11777
|
+
break;
|
|
11778
|
+
case 3:
|
|
11779
|
+
message.comment = reader.string();
|
|
11780
|
+
break;
|
|
11241
11781
|
default:
|
|
11242
11782
|
let u = options.readUnknownField;
|
|
11243
11783
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11248,15 +11788,176 @@ var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11248
11788
|
return message;
|
|
11249
11789
|
}
|
|
11250
11790
|
internalBinaryWrite(message, writer, options) {
|
|
11791
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11792
|
+
for (let i = 0; i < message.lockReferencesOf.length; i++) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.lockReferencesOf[i]);
|
|
11793
|
+
if (message.comment !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.comment);
|
|
11251
11794
|
let u = options.writeUnknownFields;
|
|
11252
11795
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11253
11796
|
return writer;
|
|
11254
11797
|
}
|
|
11255
11798
|
};
|
|
11256
11799
|
/**
|
|
11257
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI
|
|
11800
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request
|
|
11258
11801
|
*/
|
|
11259
|
-
const
|
|
11802
|
+
const LocksAPI_LockFieldValues_Create_Request = new LocksAPI_LockFieldValues_Create_Request$Type();
|
|
11803
|
+
var LocksAPI_LockFieldValues_Create_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11804
|
+
constructor() {
|
|
11805
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response", [
|
|
11806
|
+
{
|
|
11807
|
+
no: 1,
|
|
11808
|
+
name: "acquired",
|
|
11809
|
+
kind: "scalar",
|
|
11810
|
+
T: 8
|
|
11811
|
+
},
|
|
11812
|
+
{
|
|
11813
|
+
no: 2,
|
|
11814
|
+
name: "conflicting_locks",
|
|
11815
|
+
kind: "message",
|
|
11816
|
+
repeat: 2,
|
|
11817
|
+
T: () => LocksAPI_LockFieldValues_Create_Response_LockInfo
|
|
11818
|
+
},
|
|
11819
|
+
{
|
|
11820
|
+
no: 3,
|
|
11821
|
+
name: "conflicts_list_truncated",
|
|
11822
|
+
kind: "scalar",
|
|
11823
|
+
T: 8
|
|
11824
|
+
}
|
|
11825
|
+
]);
|
|
11826
|
+
}
|
|
11827
|
+
create(value) {
|
|
11828
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11829
|
+
message.acquired = false;
|
|
11830
|
+
message.conflictingLocks = [];
|
|
11831
|
+
message.conflictsListTruncated = false;
|
|
11832
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11833
|
+
return message;
|
|
11834
|
+
}
|
|
11835
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11836
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11837
|
+
while (reader.pos < end) {
|
|
11838
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11839
|
+
switch (fieldNo) {
|
|
11840
|
+
case 1:
|
|
11841
|
+
message.acquired = reader.bool();
|
|
11842
|
+
break;
|
|
11843
|
+
case 2:
|
|
11844
|
+
message.conflictingLocks.push(LocksAPI_LockFieldValues_Create_Response_LockInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
11845
|
+
break;
|
|
11846
|
+
case 3:
|
|
11847
|
+
message.conflictsListTruncated = reader.bool();
|
|
11848
|
+
break;
|
|
11849
|
+
default:
|
|
11850
|
+
let u = options.readUnknownField;
|
|
11851
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11852
|
+
let d = reader.skip(wireType);
|
|
11853
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11854
|
+
}
|
|
11855
|
+
}
|
|
11856
|
+
return message;
|
|
11857
|
+
}
|
|
11858
|
+
internalBinaryWrite(message, writer, options) {
|
|
11859
|
+
if (message.acquired !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.acquired);
|
|
11860
|
+
for (let i = 0; i < message.conflictingLocks.length; i++) LocksAPI_LockFieldValues_Create_Response_LockInfo.internalBinaryWrite(message.conflictingLocks[i], writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11861
|
+
if (message.conflictsListTruncated !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.conflictsListTruncated);
|
|
11862
|
+
let u = options.writeUnknownFields;
|
|
11863
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11864
|
+
return writer;
|
|
11865
|
+
}
|
|
11866
|
+
};
|
|
11867
|
+
/**
|
|
11868
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response
|
|
11869
|
+
*/
|
|
11870
|
+
const LocksAPI_LockFieldValues_Create_Response = new LocksAPI_LockFieldValues_Create_Response$Type();
|
|
11871
|
+
var LocksAPI_LockFieldValues_Create_Response_LockInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11872
|
+
constructor() {
|
|
11873
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo", [
|
|
11874
|
+
{
|
|
11875
|
+
no: 1,
|
|
11876
|
+
name: "target_id",
|
|
11877
|
+
kind: "scalar",
|
|
11878
|
+
T: 4,
|
|
11879
|
+
L: 0
|
|
11880
|
+
},
|
|
11881
|
+
{
|
|
11882
|
+
no: 2,
|
|
11883
|
+
name: "field_name",
|
|
11884
|
+
kind: "scalar",
|
|
11885
|
+
T: 9
|
|
11886
|
+
},
|
|
11887
|
+
{
|
|
11888
|
+
no: 3,
|
|
11889
|
+
name: "locked_by",
|
|
11890
|
+
kind: "scalar",
|
|
11891
|
+
T: 4,
|
|
11892
|
+
L: 0
|
|
11893
|
+
},
|
|
11894
|
+
{
|
|
11895
|
+
no: 4,
|
|
11896
|
+
name: "locked_at",
|
|
11897
|
+
kind: "message",
|
|
11898
|
+
T: () => require_timestamp.Timestamp
|
|
11899
|
+
},
|
|
11900
|
+
{
|
|
11901
|
+
no: 5,
|
|
11902
|
+
name: "comment",
|
|
11903
|
+
kind: "scalar",
|
|
11904
|
+
T: 9
|
|
11905
|
+
}
|
|
11906
|
+
]);
|
|
11907
|
+
}
|
|
11908
|
+
create(value) {
|
|
11909
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11910
|
+
message.targetId = 0n;
|
|
11911
|
+
message.fieldName = "";
|
|
11912
|
+
message.lockedBy = 0n;
|
|
11913
|
+
message.comment = "";
|
|
11914
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11915
|
+
return message;
|
|
11916
|
+
}
|
|
11917
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11918
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11919
|
+
while (reader.pos < end) {
|
|
11920
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11921
|
+
switch (fieldNo) {
|
|
11922
|
+
case 1:
|
|
11923
|
+
message.targetId = reader.uint64().toBigInt();
|
|
11924
|
+
break;
|
|
11925
|
+
case 2:
|
|
11926
|
+
message.fieldName = reader.string();
|
|
11927
|
+
break;
|
|
11928
|
+
case 3:
|
|
11929
|
+
message.lockedBy = reader.uint64().toBigInt();
|
|
11930
|
+
break;
|
|
11931
|
+
case 4:
|
|
11932
|
+
message.lockedAt = require_timestamp.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lockedAt);
|
|
11933
|
+
break;
|
|
11934
|
+
case 5:
|
|
11935
|
+
message.comment = reader.string();
|
|
11936
|
+
break;
|
|
11937
|
+
default:
|
|
11938
|
+
let u = options.readUnknownField;
|
|
11939
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11940
|
+
let d = reader.skip(wireType);
|
|
11941
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11942
|
+
}
|
|
11943
|
+
}
|
|
11944
|
+
return message;
|
|
11945
|
+
}
|
|
11946
|
+
internalBinaryWrite(message, writer, options) {
|
|
11947
|
+
if (message.targetId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.targetId);
|
|
11948
|
+
if (message.fieldName !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.fieldName);
|
|
11949
|
+
if (message.lockedBy !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.lockedBy);
|
|
11950
|
+
if (message.lockedAt) require_timestamp.Timestamp.internalBinaryWrite(message.lockedAt, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11951
|
+
if (message.comment !== "") writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.comment);
|
|
11952
|
+
let u = options.writeUnknownFields;
|
|
11953
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11954
|
+
return writer;
|
|
11955
|
+
}
|
|
11956
|
+
};
|
|
11957
|
+
/**
|
|
11958
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo
|
|
11959
|
+
*/
|
|
11960
|
+
const LocksAPI_LockFieldValues_Create_Response_LockInfo = new LocksAPI_LockFieldValues_Create_Response_LockInfo$Type();
|
|
11260
11961
|
var LocksAPI_Lease$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11261
11962
|
constructor() {
|
|
11262
11963
|
super("MiLaboratories.PL.API.LocksAPI.Lease", []);
|
|
@@ -11333,6 +12034,13 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11333
12034
|
T: 4,
|
|
11334
12035
|
L: 0
|
|
11335
12036
|
},
|
|
12037
|
+
{
|
|
12038
|
+
no: 5,
|
|
12039
|
+
name: "resource_signature",
|
|
12040
|
+
kind: "scalar",
|
|
12041
|
+
opt: true,
|
|
12042
|
+
T: 12
|
|
12043
|
+
},
|
|
11336
12044
|
{
|
|
11337
12045
|
no: 3,
|
|
11338
12046
|
name: "timeout",
|
|
@@ -11362,6 +12070,9 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11362
12070
|
case 1:
|
|
11363
12071
|
message.resourceId = reader.uint64().toBigInt();
|
|
11364
12072
|
break;
|
|
12073
|
+
case 5:
|
|
12074
|
+
message.resourceSignature = reader.bytes();
|
|
12075
|
+
break;
|
|
11365
12076
|
case 3:
|
|
11366
12077
|
message.timeout = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
11367
12078
|
break;
|
|
@@ -11381,6 +12092,7 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11381
12092
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11382
12093
|
if (message.timeout) require_duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11383
12094
|
if (message.name !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
12095
|
+
if (message.resourceSignature !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11384
12096
|
let u = options.writeUnknownFields;
|
|
11385
12097
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11386
12098
|
return writer;
|
|
@@ -11476,6 +12188,13 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11476
12188
|
T: 4,
|
|
11477
12189
|
L: 0
|
|
11478
12190
|
},
|
|
12191
|
+
{
|
|
12192
|
+
no: 5,
|
|
12193
|
+
name: "resource_signature",
|
|
12194
|
+
kind: "scalar",
|
|
12195
|
+
opt: true,
|
|
12196
|
+
T: 12
|
|
12197
|
+
},
|
|
11479
12198
|
{
|
|
11480
12199
|
no: 2,
|
|
11481
12200
|
name: "lease_id",
|
|
@@ -11512,6 +12231,9 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11512
12231
|
case 1:
|
|
11513
12232
|
message.resourceId = reader.uint64().toBigInt();
|
|
11514
12233
|
break;
|
|
12234
|
+
case 5:
|
|
12235
|
+
message.resourceSignature = reader.bytes();
|
|
12236
|
+
break;
|
|
11515
12237
|
case 2:
|
|
11516
12238
|
message.leaseId = reader.bytes();
|
|
11517
12239
|
break;
|
|
@@ -11535,6 +12257,7 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11535
12257
|
if (message.leaseId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
11536
12258
|
if (message.timeout) require_duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11537
12259
|
if (message.name !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
12260
|
+
if (message.resourceSignature !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11538
12261
|
let u = options.writeUnknownFields;
|
|
11539
12262
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11540
12263
|
return writer;
|
|
@@ -11612,27 +12335,37 @@ var LocksAPI_Lease_Release$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
11612
12335
|
const LocksAPI_Lease_Release = new LocksAPI_Lease_Release$Type();
|
|
11613
12336
|
var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11614
12337
|
constructor() {
|
|
11615
|
-
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
12338
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
|
|
12339
|
+
{
|
|
12340
|
+
no: 1,
|
|
12341
|
+
name: "resource_id",
|
|
12342
|
+
kind: "scalar",
|
|
12343
|
+
T: 4,
|
|
12344
|
+
L: 0
|
|
12345
|
+
},
|
|
12346
|
+
{
|
|
12347
|
+
no: 3,
|
|
12348
|
+
name: "resource_signature",
|
|
12349
|
+
kind: "scalar",
|
|
12350
|
+
opt: true,
|
|
12351
|
+
T: 12
|
|
12352
|
+
},
|
|
12353
|
+
{
|
|
12354
|
+
no: 2,
|
|
12355
|
+
name: "lease_id",
|
|
12356
|
+
kind: "scalar",
|
|
12357
|
+
T: 12
|
|
12358
|
+
}
|
|
12359
|
+
]);
|
|
12360
|
+
}
|
|
12361
|
+
create(value) {
|
|
12362
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12363
|
+
message.resourceId = 0n;
|
|
12364
|
+
message.leaseId = new Uint8Array(0);
|
|
12365
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12366
|
+
return message;
|
|
12367
|
+
}
|
|
12368
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11636
12369
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
11637
12370
|
while (reader.pos < end) {
|
|
11638
12371
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -11640,6 +12373,9 @@ var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11640
12373
|
case 1:
|
|
11641
12374
|
message.resourceId = reader.uint64().toBigInt();
|
|
11642
12375
|
break;
|
|
12376
|
+
case 3:
|
|
12377
|
+
message.resourceSignature = reader.bytes();
|
|
12378
|
+
break;
|
|
11643
12379
|
case 2:
|
|
11644
12380
|
message.leaseId = reader.bytes();
|
|
11645
12381
|
break;
|
|
@@ -11655,6 +12391,7 @@ var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11655
12391
|
internalBinaryWrite(message, writer, options) {
|
|
11656
12392
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11657
12393
|
if (message.leaseId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
12394
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11658
12395
|
let u = options.writeUnknownFields;
|
|
11659
12396
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11660
12397
|
return writer;
|
|
@@ -11765,10 +12502,815 @@ var AuthAPI_ListMethods$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11765
12502
|
const AuthAPI_ListMethods = new AuthAPI_ListMethods$Type();
|
|
11766
12503
|
var AuthAPI_ListMethods_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11767
12504
|
constructor() {
|
|
11768
|
-
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Request", []);
|
|
12505
|
+
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Request", []);
|
|
12506
|
+
}
|
|
12507
|
+
create(value) {
|
|
12508
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12509
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12510
|
+
return message;
|
|
12511
|
+
}
|
|
12512
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12513
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12514
|
+
while (reader.pos < end) {
|
|
12515
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12516
|
+
switch (fieldNo) {
|
|
12517
|
+
default:
|
|
12518
|
+
let u = options.readUnknownField;
|
|
12519
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12520
|
+
let d = reader.skip(wireType);
|
|
12521
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12522
|
+
}
|
|
12523
|
+
}
|
|
12524
|
+
return message;
|
|
12525
|
+
}
|
|
12526
|
+
internalBinaryWrite(message, writer, options) {
|
|
12527
|
+
let u = options.writeUnknownFields;
|
|
12528
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12529
|
+
return writer;
|
|
12530
|
+
}
|
|
12531
|
+
};
|
|
12532
|
+
/**
|
|
12533
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods.Request
|
|
12534
|
+
*/
|
|
12535
|
+
const AuthAPI_ListMethods_Request = new AuthAPI_ListMethods_Request$Type();
|
|
12536
|
+
var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12537
|
+
constructor() {
|
|
12538
|
+
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [{
|
|
12539
|
+
no: 1,
|
|
12540
|
+
name: "methods",
|
|
12541
|
+
kind: "message",
|
|
12542
|
+
repeat: 2,
|
|
12543
|
+
T: () => AuthAPI_ListMethods_MethodInfo
|
|
12544
|
+
}]);
|
|
12545
|
+
}
|
|
12546
|
+
create(value) {
|
|
12547
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12548
|
+
message.methods = [];
|
|
12549
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12550
|
+
return message;
|
|
12551
|
+
}
|
|
12552
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12553
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12554
|
+
while (reader.pos < end) {
|
|
12555
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12556
|
+
switch (fieldNo) {
|
|
12557
|
+
case 1:
|
|
12558
|
+
message.methods.push(AuthAPI_ListMethods_MethodInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
12559
|
+
break;
|
|
12560
|
+
default:
|
|
12561
|
+
let u = options.readUnknownField;
|
|
12562
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12563
|
+
let d = reader.skip(wireType);
|
|
12564
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12565
|
+
}
|
|
12566
|
+
}
|
|
12567
|
+
return message;
|
|
12568
|
+
}
|
|
12569
|
+
internalBinaryWrite(message, writer, options) {
|
|
12570
|
+
for (let i = 0; i < message.methods.length; i++) AuthAPI_ListMethods_MethodInfo.internalBinaryWrite(message.methods[i], writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12571
|
+
let u = options.writeUnknownFields;
|
|
12572
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12573
|
+
return writer;
|
|
12574
|
+
}
|
|
12575
|
+
};
|
|
12576
|
+
/**
|
|
12577
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods.Response
|
|
12578
|
+
*/
|
|
12579
|
+
const AuthAPI_ListMethods_Response = new AuthAPI_ListMethods_Response$Type();
|
|
12580
|
+
var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12581
|
+
constructor() {
|
|
12582
|
+
super("MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo", [
|
|
12583
|
+
{
|
|
12584
|
+
no: 1,
|
|
12585
|
+
name: "type",
|
|
12586
|
+
kind: "scalar",
|
|
12587
|
+
T: 9
|
|
12588
|
+
},
|
|
12589
|
+
{
|
|
12590
|
+
no: 2,
|
|
12591
|
+
name: "name",
|
|
12592
|
+
kind: "scalar",
|
|
12593
|
+
T: 9
|
|
12594
|
+
},
|
|
12595
|
+
{
|
|
12596
|
+
no: 3,
|
|
12597
|
+
name: "info",
|
|
12598
|
+
kind: "map",
|
|
12599
|
+
K: 9,
|
|
12600
|
+
V: {
|
|
12601
|
+
kind: "scalar",
|
|
12602
|
+
T: 9
|
|
12603
|
+
}
|
|
12604
|
+
}
|
|
12605
|
+
]);
|
|
12606
|
+
}
|
|
12607
|
+
create(value) {
|
|
12608
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12609
|
+
message.type = "";
|
|
12610
|
+
message.name = "";
|
|
12611
|
+
message.info = {};
|
|
12612
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12613
|
+
return message;
|
|
12614
|
+
}
|
|
12615
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12616
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12617
|
+
while (reader.pos < end) {
|
|
12618
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12619
|
+
switch (fieldNo) {
|
|
12620
|
+
case 1:
|
|
12621
|
+
message.type = reader.string();
|
|
12622
|
+
break;
|
|
12623
|
+
case 2:
|
|
12624
|
+
message.name = reader.string();
|
|
12625
|
+
break;
|
|
12626
|
+
case 3:
|
|
12627
|
+
this.binaryReadMap3(message.info, reader, options);
|
|
12628
|
+
break;
|
|
12629
|
+
default:
|
|
12630
|
+
let u = options.readUnknownField;
|
|
12631
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12632
|
+
let d = reader.skip(wireType);
|
|
12633
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12634
|
+
}
|
|
12635
|
+
}
|
|
12636
|
+
return message;
|
|
12637
|
+
}
|
|
12638
|
+
binaryReadMap3(map, reader, options) {
|
|
12639
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
12640
|
+
while (reader.pos < end) {
|
|
12641
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12642
|
+
switch (fieldNo) {
|
|
12643
|
+
case 1:
|
|
12644
|
+
key = reader.string();
|
|
12645
|
+
break;
|
|
12646
|
+
case 2:
|
|
12647
|
+
val = reader.string();
|
|
12648
|
+
break;
|
|
12649
|
+
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo.info");
|
|
12650
|
+
}
|
|
12651
|
+
}
|
|
12652
|
+
map[key ?? ""] = val ?? "";
|
|
12653
|
+
}
|
|
12654
|
+
internalBinaryWrite(message, writer, options) {
|
|
12655
|
+
if (message.type !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.type);
|
|
12656
|
+
if (message.name !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
12657
|
+
for (let k of globalThis.Object.keys(message.info)) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork().tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(k).tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.info[k]).join();
|
|
12658
|
+
let u = options.writeUnknownFields;
|
|
12659
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12660
|
+
return writer;
|
|
12661
|
+
}
|
|
12662
|
+
};
|
|
12663
|
+
/**
|
|
12664
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo
|
|
12665
|
+
*/
|
|
12666
|
+
const AuthAPI_ListMethods_MethodInfo = new AuthAPI_ListMethods_MethodInfo$Type();
|
|
12667
|
+
var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12668
|
+
constructor() {
|
|
12669
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken", []);
|
|
12670
|
+
}
|
|
12671
|
+
create(value) {
|
|
12672
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12673
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12674
|
+
return message;
|
|
12675
|
+
}
|
|
12676
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12677
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12678
|
+
while (reader.pos < end) {
|
|
12679
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12680
|
+
switch (fieldNo) {
|
|
12681
|
+
default:
|
|
12682
|
+
let u = options.readUnknownField;
|
|
12683
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12684
|
+
let d = reader.skip(wireType);
|
|
12685
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12686
|
+
}
|
|
12687
|
+
}
|
|
12688
|
+
return message;
|
|
12689
|
+
}
|
|
12690
|
+
internalBinaryWrite(message, writer, options) {
|
|
12691
|
+
let u = options.writeUnknownFields;
|
|
12692
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12693
|
+
return writer;
|
|
12694
|
+
}
|
|
12695
|
+
};
|
|
12696
|
+
/**
|
|
12697
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken
|
|
12698
|
+
*/
|
|
12699
|
+
const AuthAPI_GetJWTToken = new AuthAPI_GetJWTToken$Type();
|
|
12700
|
+
var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12701
|
+
constructor() {
|
|
12702
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request", [{
|
|
12703
|
+
no: 1,
|
|
12704
|
+
name: "expiration",
|
|
12705
|
+
kind: "message",
|
|
12706
|
+
T: () => require_duration.Duration
|
|
12707
|
+
}, {
|
|
12708
|
+
no: 2,
|
|
12709
|
+
name: "requested_role",
|
|
12710
|
+
kind: "enum",
|
|
12711
|
+
opt: true,
|
|
12712
|
+
T: () => ["MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role", AuthAPI_GetJWTToken_Role]
|
|
12713
|
+
}]);
|
|
12714
|
+
}
|
|
12715
|
+
create(value) {
|
|
12716
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12717
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12718
|
+
return message;
|
|
12719
|
+
}
|
|
12720
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12721
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12722
|
+
while (reader.pos < end) {
|
|
12723
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12724
|
+
switch (fieldNo) {
|
|
12725
|
+
case 1:
|
|
12726
|
+
message.expiration = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.expiration);
|
|
12727
|
+
break;
|
|
12728
|
+
case 2:
|
|
12729
|
+
message.requestedRole = reader.int32();
|
|
12730
|
+
break;
|
|
12731
|
+
default:
|
|
12732
|
+
let u = options.readUnknownField;
|
|
12733
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12734
|
+
let d = reader.skip(wireType);
|
|
12735
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12736
|
+
}
|
|
12737
|
+
}
|
|
12738
|
+
return message;
|
|
12739
|
+
}
|
|
12740
|
+
internalBinaryWrite(message, writer, options) {
|
|
12741
|
+
if (message.expiration) require_duration.Duration.internalBinaryWrite(message.expiration, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12742
|
+
if (message.requestedRole !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int32(message.requestedRole);
|
|
12743
|
+
let u = options.writeUnknownFields;
|
|
12744
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12745
|
+
return writer;
|
|
12746
|
+
}
|
|
12747
|
+
};
|
|
12748
|
+
/**
|
|
12749
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request
|
|
12750
|
+
*/
|
|
12751
|
+
const AuthAPI_GetJWTToken_Request = new AuthAPI_GetJWTToken_Request$Type();
|
|
12752
|
+
var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12753
|
+
constructor() {
|
|
12754
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response", [{
|
|
12755
|
+
no: 1,
|
|
12756
|
+
name: "token",
|
|
12757
|
+
kind: "scalar",
|
|
12758
|
+
T: 9
|
|
12759
|
+
}, {
|
|
12760
|
+
no: 2,
|
|
12761
|
+
name: "session_id",
|
|
12762
|
+
kind: "scalar",
|
|
12763
|
+
T: 12
|
|
12764
|
+
}]);
|
|
12765
|
+
}
|
|
12766
|
+
create(value) {
|
|
12767
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12768
|
+
message.token = "";
|
|
12769
|
+
message.sessionId = new Uint8Array(0);
|
|
12770
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12771
|
+
return message;
|
|
12772
|
+
}
|
|
12773
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12774
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12775
|
+
while (reader.pos < end) {
|
|
12776
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12777
|
+
switch (fieldNo) {
|
|
12778
|
+
case 1:
|
|
12779
|
+
message.token = reader.string();
|
|
12780
|
+
break;
|
|
12781
|
+
case 2:
|
|
12782
|
+
message.sessionId = reader.bytes();
|
|
12783
|
+
break;
|
|
12784
|
+
default:
|
|
12785
|
+
let u = options.readUnknownField;
|
|
12786
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12787
|
+
let d = reader.skip(wireType);
|
|
12788
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12789
|
+
}
|
|
12790
|
+
}
|
|
12791
|
+
return message;
|
|
12792
|
+
}
|
|
12793
|
+
internalBinaryWrite(message, writer, options) {
|
|
12794
|
+
if (message.token !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.token);
|
|
12795
|
+
if (message.sessionId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.sessionId);
|
|
12796
|
+
let u = options.writeUnknownFields;
|
|
12797
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12798
|
+
return writer;
|
|
12799
|
+
}
|
|
12800
|
+
};
|
|
12801
|
+
/**
|
|
12802
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
12803
|
+
*/
|
|
12804
|
+
const AuthAPI_GetJWTToken_Response = new AuthAPI_GetJWTToken_Response$Type();
|
|
12805
|
+
var AuthAPI_GrantAccess$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12806
|
+
constructor() {
|
|
12807
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess", []);
|
|
12808
|
+
}
|
|
12809
|
+
create(value) {
|
|
12810
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12811
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12812
|
+
return message;
|
|
12813
|
+
}
|
|
12814
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12815
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12816
|
+
while (reader.pos < end) {
|
|
12817
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12818
|
+
switch (fieldNo) {
|
|
12819
|
+
default:
|
|
12820
|
+
let u = options.readUnknownField;
|
|
12821
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12822
|
+
let d = reader.skip(wireType);
|
|
12823
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12824
|
+
}
|
|
12825
|
+
}
|
|
12826
|
+
return message;
|
|
12827
|
+
}
|
|
12828
|
+
internalBinaryWrite(message, writer, options) {
|
|
12829
|
+
let u = options.writeUnknownFields;
|
|
12830
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12831
|
+
return writer;
|
|
12832
|
+
}
|
|
12833
|
+
};
|
|
12834
|
+
/**
|
|
12835
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess
|
|
12836
|
+
*/
|
|
12837
|
+
const AuthAPI_GrantAccess = new AuthAPI_GrantAccess$Type();
|
|
12838
|
+
var AuthAPI_GrantAccess_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12839
|
+
constructor() {
|
|
12840
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess.Request", [
|
|
12841
|
+
{
|
|
12842
|
+
no: 1,
|
|
12843
|
+
name: "resource_id",
|
|
12844
|
+
kind: "scalar",
|
|
12845
|
+
T: 4,
|
|
12846
|
+
L: 0
|
|
12847
|
+
},
|
|
12848
|
+
{
|
|
12849
|
+
no: 2,
|
|
12850
|
+
name: "resource_signature",
|
|
12851
|
+
kind: "scalar",
|
|
12852
|
+
opt: true,
|
|
12853
|
+
T: 12
|
|
12854
|
+
},
|
|
12855
|
+
{
|
|
12856
|
+
no: 3,
|
|
12857
|
+
name: "target_user",
|
|
12858
|
+
kind: "scalar",
|
|
12859
|
+
T: 9
|
|
12860
|
+
},
|
|
12861
|
+
{
|
|
12862
|
+
no: 4,
|
|
12863
|
+
name: "permissions",
|
|
12864
|
+
kind: "message",
|
|
12865
|
+
T: () => AuthAPI_Grant_Permissions
|
|
12866
|
+
}
|
|
12867
|
+
]);
|
|
12868
|
+
}
|
|
12869
|
+
create(value) {
|
|
12870
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12871
|
+
message.resourceId = 0n;
|
|
12872
|
+
message.targetUser = "";
|
|
12873
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12874
|
+
return message;
|
|
12875
|
+
}
|
|
12876
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12877
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12878
|
+
while (reader.pos < end) {
|
|
12879
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12880
|
+
switch (fieldNo) {
|
|
12881
|
+
case 1:
|
|
12882
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
12883
|
+
break;
|
|
12884
|
+
case 2:
|
|
12885
|
+
message.resourceSignature = reader.bytes();
|
|
12886
|
+
break;
|
|
12887
|
+
case 3:
|
|
12888
|
+
message.targetUser = reader.string();
|
|
12889
|
+
break;
|
|
12890
|
+
case 4:
|
|
12891
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
12892
|
+
break;
|
|
12893
|
+
default:
|
|
12894
|
+
let u = options.readUnknownField;
|
|
12895
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12896
|
+
let d = reader.skip(wireType);
|
|
12897
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12898
|
+
}
|
|
12899
|
+
}
|
|
12900
|
+
return message;
|
|
12901
|
+
}
|
|
12902
|
+
internalBinaryWrite(message, writer, options) {
|
|
12903
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
12904
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
12905
|
+
if (message.targetUser !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.targetUser);
|
|
12906
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12907
|
+
let u = options.writeUnknownFields;
|
|
12908
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12909
|
+
return writer;
|
|
12910
|
+
}
|
|
12911
|
+
};
|
|
12912
|
+
/**
|
|
12913
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Request
|
|
12914
|
+
*/
|
|
12915
|
+
const AuthAPI_GrantAccess_Request = new AuthAPI_GrantAccess_Request$Type();
|
|
12916
|
+
var AuthAPI_GrantAccess_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12917
|
+
constructor() {
|
|
12918
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess.Response", []);
|
|
12919
|
+
}
|
|
12920
|
+
create(value) {
|
|
12921
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12922
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12923
|
+
return message;
|
|
12924
|
+
}
|
|
12925
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12926
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12927
|
+
while (reader.pos < end) {
|
|
12928
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12929
|
+
switch (fieldNo) {
|
|
12930
|
+
default:
|
|
12931
|
+
let u = options.readUnknownField;
|
|
12932
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12933
|
+
let d = reader.skip(wireType);
|
|
12934
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12935
|
+
}
|
|
12936
|
+
}
|
|
12937
|
+
return message;
|
|
12938
|
+
}
|
|
12939
|
+
internalBinaryWrite(message, writer, options) {
|
|
12940
|
+
let u = options.writeUnknownFields;
|
|
12941
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12942
|
+
return writer;
|
|
12943
|
+
}
|
|
12944
|
+
};
|
|
12945
|
+
/**
|
|
12946
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
12947
|
+
*/
|
|
12948
|
+
const AuthAPI_GrantAccess_Response = new AuthAPI_GrantAccess_Response$Type();
|
|
12949
|
+
var AuthAPI_RevokeGrant$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12950
|
+
constructor() {
|
|
12951
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant", []);
|
|
12952
|
+
}
|
|
12953
|
+
create(value) {
|
|
12954
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12955
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12956
|
+
return message;
|
|
12957
|
+
}
|
|
12958
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12959
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12960
|
+
while (reader.pos < end) {
|
|
12961
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12962
|
+
switch (fieldNo) {
|
|
12963
|
+
default:
|
|
12964
|
+
let u = options.readUnknownField;
|
|
12965
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12966
|
+
let d = reader.skip(wireType);
|
|
12967
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12968
|
+
}
|
|
12969
|
+
}
|
|
12970
|
+
return message;
|
|
12971
|
+
}
|
|
12972
|
+
internalBinaryWrite(message, writer, options) {
|
|
12973
|
+
let u = options.writeUnknownFields;
|
|
12974
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12975
|
+
return writer;
|
|
12976
|
+
}
|
|
12977
|
+
};
|
|
12978
|
+
/**
|
|
12979
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant
|
|
12980
|
+
*/
|
|
12981
|
+
const AuthAPI_RevokeGrant = new AuthAPI_RevokeGrant$Type();
|
|
12982
|
+
var AuthAPI_RevokeGrant_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12983
|
+
constructor() {
|
|
12984
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request", [
|
|
12985
|
+
{
|
|
12986
|
+
no: 1,
|
|
12987
|
+
name: "resource_id",
|
|
12988
|
+
kind: "scalar",
|
|
12989
|
+
T: 4,
|
|
12990
|
+
L: 0
|
|
12991
|
+
},
|
|
12992
|
+
{
|
|
12993
|
+
no: 2,
|
|
12994
|
+
name: "resource_signature",
|
|
12995
|
+
kind: "scalar",
|
|
12996
|
+
opt: true,
|
|
12997
|
+
T: 12
|
|
12998
|
+
},
|
|
12999
|
+
{
|
|
13000
|
+
no: 3,
|
|
13001
|
+
name: "target_user",
|
|
13002
|
+
kind: "scalar",
|
|
13003
|
+
T: 9
|
|
13004
|
+
}
|
|
13005
|
+
]);
|
|
13006
|
+
}
|
|
13007
|
+
create(value) {
|
|
13008
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13009
|
+
message.resourceId = 0n;
|
|
13010
|
+
message.targetUser = "";
|
|
13011
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13012
|
+
return message;
|
|
13013
|
+
}
|
|
13014
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13015
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13016
|
+
while (reader.pos < end) {
|
|
13017
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13018
|
+
switch (fieldNo) {
|
|
13019
|
+
case 1:
|
|
13020
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13021
|
+
break;
|
|
13022
|
+
case 2:
|
|
13023
|
+
message.resourceSignature = reader.bytes();
|
|
13024
|
+
break;
|
|
13025
|
+
case 3:
|
|
13026
|
+
message.targetUser = reader.string();
|
|
13027
|
+
break;
|
|
13028
|
+
default:
|
|
13029
|
+
let u = options.readUnknownField;
|
|
13030
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13031
|
+
let d = reader.skip(wireType);
|
|
13032
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13033
|
+
}
|
|
13034
|
+
}
|
|
13035
|
+
return message;
|
|
13036
|
+
}
|
|
13037
|
+
internalBinaryWrite(message, writer, options) {
|
|
13038
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13039
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
13040
|
+
if (message.targetUser !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.targetUser);
|
|
13041
|
+
let u = options.writeUnknownFields;
|
|
13042
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13043
|
+
return writer;
|
|
13044
|
+
}
|
|
13045
|
+
};
|
|
13046
|
+
/**
|
|
13047
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request
|
|
13048
|
+
*/
|
|
13049
|
+
const AuthAPI_RevokeGrant_Request = new AuthAPI_RevokeGrant_Request$Type();
|
|
13050
|
+
var AuthAPI_RevokeGrant_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13051
|
+
constructor() {
|
|
13052
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response", []);
|
|
13053
|
+
}
|
|
13054
|
+
create(value) {
|
|
13055
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13056
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13057
|
+
return message;
|
|
13058
|
+
}
|
|
13059
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13060
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13061
|
+
while (reader.pos < end) {
|
|
13062
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13063
|
+
switch (fieldNo) {
|
|
13064
|
+
default:
|
|
13065
|
+
let u = options.readUnknownField;
|
|
13066
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13067
|
+
let d = reader.skip(wireType);
|
|
13068
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13069
|
+
}
|
|
13070
|
+
}
|
|
13071
|
+
return message;
|
|
13072
|
+
}
|
|
13073
|
+
internalBinaryWrite(message, writer, options) {
|
|
13074
|
+
let u = options.writeUnknownFields;
|
|
13075
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13076
|
+
return writer;
|
|
13077
|
+
}
|
|
13078
|
+
};
|
|
13079
|
+
/**
|
|
13080
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response
|
|
13081
|
+
*/
|
|
13082
|
+
const AuthAPI_RevokeGrant_Response = new AuthAPI_RevokeGrant_Response$Type();
|
|
13083
|
+
var AuthAPI_ListGrants$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13084
|
+
constructor() {
|
|
13085
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants", []);
|
|
13086
|
+
}
|
|
13087
|
+
create(value) {
|
|
13088
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13089
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13090
|
+
return message;
|
|
13091
|
+
}
|
|
13092
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13093
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13094
|
+
while (reader.pos < end) {
|
|
13095
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13096
|
+
switch (fieldNo) {
|
|
13097
|
+
default:
|
|
13098
|
+
let u = options.readUnknownField;
|
|
13099
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13100
|
+
let d = reader.skip(wireType);
|
|
13101
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13102
|
+
}
|
|
13103
|
+
}
|
|
13104
|
+
return message;
|
|
13105
|
+
}
|
|
13106
|
+
internalBinaryWrite(message, writer, options) {
|
|
13107
|
+
let u = options.writeUnknownFields;
|
|
13108
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13109
|
+
return writer;
|
|
13110
|
+
}
|
|
13111
|
+
};
|
|
13112
|
+
/**
|
|
13113
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants
|
|
13114
|
+
*/
|
|
13115
|
+
const AuthAPI_ListGrants = new AuthAPI_ListGrants$Type();
|
|
13116
|
+
var AuthAPI_ListGrants_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13117
|
+
constructor() {
|
|
13118
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants.Request", [{
|
|
13119
|
+
no: 1,
|
|
13120
|
+
name: "resource_id",
|
|
13121
|
+
kind: "scalar",
|
|
13122
|
+
T: 4,
|
|
13123
|
+
L: 0
|
|
13124
|
+
}, {
|
|
13125
|
+
no: 2,
|
|
13126
|
+
name: "resource_signature",
|
|
13127
|
+
kind: "scalar",
|
|
13128
|
+
opt: true,
|
|
13129
|
+
T: 12
|
|
13130
|
+
}]);
|
|
13131
|
+
}
|
|
13132
|
+
create(value) {
|
|
13133
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13134
|
+
message.resourceId = 0n;
|
|
13135
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13136
|
+
return message;
|
|
13137
|
+
}
|
|
13138
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13139
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13140
|
+
while (reader.pos < end) {
|
|
13141
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13142
|
+
switch (fieldNo) {
|
|
13143
|
+
case 1:
|
|
13144
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13145
|
+
break;
|
|
13146
|
+
case 2:
|
|
13147
|
+
message.resourceSignature = reader.bytes();
|
|
13148
|
+
break;
|
|
13149
|
+
default:
|
|
13150
|
+
let u = options.readUnknownField;
|
|
13151
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13152
|
+
let d = reader.skip(wireType);
|
|
13153
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13154
|
+
}
|
|
13155
|
+
}
|
|
13156
|
+
return message;
|
|
13157
|
+
}
|
|
13158
|
+
internalBinaryWrite(message, writer, options) {
|
|
13159
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13160
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
13161
|
+
let u = options.writeUnknownFields;
|
|
13162
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13163
|
+
return writer;
|
|
13164
|
+
}
|
|
13165
|
+
};
|
|
13166
|
+
/**
|
|
13167
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Request
|
|
13168
|
+
*/
|
|
13169
|
+
const AuthAPI_ListGrants_Request = new AuthAPI_ListGrants_Request$Type();
|
|
13170
|
+
var AuthAPI_ListGrants_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13171
|
+
constructor() {
|
|
13172
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants.Response", [{
|
|
13173
|
+
no: 1,
|
|
13174
|
+
name: "grant",
|
|
13175
|
+
kind: "message",
|
|
13176
|
+
T: () => AuthAPI_Grant
|
|
13177
|
+
}]);
|
|
13178
|
+
}
|
|
13179
|
+
create(value) {
|
|
13180
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13181
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13182
|
+
return message;
|
|
13183
|
+
}
|
|
13184
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13185
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13186
|
+
while (reader.pos < end) {
|
|
13187
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13188
|
+
switch (fieldNo) {
|
|
13189
|
+
case 1:
|
|
13190
|
+
message.grant = AuthAPI_Grant.internalBinaryRead(reader, reader.uint32(), options, message.grant);
|
|
13191
|
+
break;
|
|
13192
|
+
default:
|
|
13193
|
+
let u = options.readUnknownField;
|
|
13194
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13195
|
+
let d = reader.skip(wireType);
|
|
13196
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13197
|
+
}
|
|
13198
|
+
}
|
|
13199
|
+
return message;
|
|
13200
|
+
}
|
|
13201
|
+
internalBinaryWrite(message, writer, options) {
|
|
13202
|
+
if (message.grant) AuthAPI_Grant.internalBinaryWrite(message.grant, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13203
|
+
let u = options.writeUnknownFields;
|
|
13204
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13205
|
+
return writer;
|
|
13206
|
+
}
|
|
13207
|
+
};
|
|
13208
|
+
/**
|
|
13209
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
|
|
13210
|
+
*/
|
|
13211
|
+
const AuthAPI_ListGrants_Response = new AuthAPI_ListGrants_Response$Type();
|
|
13212
|
+
var AuthAPI_Grant$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13213
|
+
constructor() {
|
|
13214
|
+
super("MiLaboratories.PL.API.AuthAPI.Grant", [
|
|
13215
|
+
{
|
|
13216
|
+
no: 1,
|
|
13217
|
+
name: "user",
|
|
13218
|
+
kind: "scalar",
|
|
13219
|
+
T: 9
|
|
13220
|
+
},
|
|
13221
|
+
{
|
|
13222
|
+
no: 2,
|
|
13223
|
+
name: "resource_id",
|
|
13224
|
+
kind: "scalar",
|
|
13225
|
+
T: 4,
|
|
13226
|
+
L: 0
|
|
13227
|
+
},
|
|
13228
|
+
{
|
|
13229
|
+
no: 3,
|
|
13230
|
+
name: "permissions",
|
|
13231
|
+
kind: "message",
|
|
13232
|
+
T: () => AuthAPI_Grant_Permissions
|
|
13233
|
+
},
|
|
13234
|
+
{
|
|
13235
|
+
no: 4,
|
|
13236
|
+
name: "granted_by",
|
|
13237
|
+
kind: "scalar",
|
|
13238
|
+
T: 9
|
|
13239
|
+
},
|
|
13240
|
+
{
|
|
13241
|
+
no: 5,
|
|
13242
|
+
name: "granted_at",
|
|
13243
|
+
kind: "scalar",
|
|
13244
|
+
T: 3,
|
|
13245
|
+
L: 0
|
|
13246
|
+
}
|
|
13247
|
+
]);
|
|
13248
|
+
}
|
|
13249
|
+
create(value) {
|
|
13250
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13251
|
+
message.user = "";
|
|
13252
|
+
message.resourceId = 0n;
|
|
13253
|
+
message.grantedBy = "";
|
|
13254
|
+
message.grantedAt = 0n;
|
|
13255
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13256
|
+
return message;
|
|
13257
|
+
}
|
|
13258
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13259
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13260
|
+
while (reader.pos < end) {
|
|
13261
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13262
|
+
switch (fieldNo) {
|
|
13263
|
+
case 1:
|
|
13264
|
+
message.user = reader.string();
|
|
13265
|
+
break;
|
|
13266
|
+
case 2:
|
|
13267
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13268
|
+
break;
|
|
13269
|
+
case 3:
|
|
13270
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
13271
|
+
break;
|
|
13272
|
+
case 4:
|
|
13273
|
+
message.grantedBy = reader.string();
|
|
13274
|
+
break;
|
|
13275
|
+
case 5:
|
|
13276
|
+
message.grantedAt = reader.int64().toBigInt();
|
|
13277
|
+
break;
|
|
13278
|
+
default:
|
|
13279
|
+
let u = options.readUnknownField;
|
|
13280
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13281
|
+
let d = reader.skip(wireType);
|
|
13282
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13283
|
+
}
|
|
13284
|
+
}
|
|
13285
|
+
return message;
|
|
13286
|
+
}
|
|
13287
|
+
internalBinaryWrite(message, writer, options) {
|
|
13288
|
+
if (message.user !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.user);
|
|
13289
|
+
if (message.resourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13290
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13291
|
+
if (message.grantedBy !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.grantedBy);
|
|
13292
|
+
if (message.grantedAt !== 0n) writer.tag(5, _protobuf_ts_runtime.WireType.Varint).int64(message.grantedAt);
|
|
13293
|
+
let u = options.writeUnknownFields;
|
|
13294
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13295
|
+
return writer;
|
|
13296
|
+
}
|
|
13297
|
+
};
|
|
13298
|
+
/**
|
|
13299
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant
|
|
13300
|
+
*/
|
|
13301
|
+
const AuthAPI_Grant = new AuthAPI_Grant$Type();
|
|
13302
|
+
var AuthAPI_Grant_Permissions$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13303
|
+
constructor() {
|
|
13304
|
+
super("MiLaboratories.PL.API.AuthAPI.Grant.Permissions", [{
|
|
13305
|
+
no: 1,
|
|
13306
|
+
name: "writable",
|
|
13307
|
+
kind: "scalar",
|
|
13308
|
+
T: 8
|
|
13309
|
+
}]);
|
|
11769
13310
|
}
|
|
11770
13311
|
create(value) {
|
|
11771
13312
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
13313
|
+
message.writable = false;
|
|
11772
13314
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11773
13315
|
return message;
|
|
11774
13316
|
}
|
|
@@ -11777,6 +13319,9 @@ var AuthAPI_ListMethods_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11777
13319
|
while (reader.pos < end) {
|
|
11778
13320
|
let [fieldNo, wireType] = reader.tag();
|
|
11779
13321
|
switch (fieldNo) {
|
|
13322
|
+
case 1:
|
|
13323
|
+
message.writable = reader.bool();
|
|
13324
|
+
break;
|
|
11780
13325
|
default:
|
|
11781
13326
|
let u = options.readUnknownField;
|
|
11782
13327
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11787,28 +13332,22 @@ var AuthAPI_ListMethods_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11787
13332
|
return message;
|
|
11788
13333
|
}
|
|
11789
13334
|
internalBinaryWrite(message, writer, options) {
|
|
13335
|
+
if (message.writable !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.writable);
|
|
11790
13336
|
let u = options.writeUnknownFields;
|
|
11791
13337
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11792
13338
|
return writer;
|
|
11793
13339
|
}
|
|
11794
13340
|
};
|
|
11795
13341
|
/**
|
|
11796
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13342
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant.Permissions
|
|
11797
13343
|
*/
|
|
11798
|
-
const
|
|
11799
|
-
var
|
|
13344
|
+
const AuthAPI_Grant_Permissions = new AuthAPI_Grant_Permissions$Type();
|
|
13345
|
+
var AuthAPI_ListUserResources$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11800
13346
|
constructor() {
|
|
11801
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
11802
|
-
no: 1,
|
|
11803
|
-
name: "methods",
|
|
11804
|
-
kind: "message",
|
|
11805
|
-
repeat: 2,
|
|
11806
|
-
T: () => AuthAPI_ListMethods_MethodInfo
|
|
11807
|
-
}]);
|
|
13347
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources", []);
|
|
11808
13348
|
}
|
|
11809
13349
|
create(value) {
|
|
11810
13350
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11811
|
-
message.methods = [];
|
|
11812
13351
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11813
13352
|
return message;
|
|
11814
13353
|
}
|
|
@@ -11817,9 +13356,6 @@ var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11817
13356
|
while (reader.pos < end) {
|
|
11818
13357
|
let [fieldNo, wireType] = reader.tag();
|
|
11819
13358
|
switch (fieldNo) {
|
|
11820
|
-
case 1:
|
|
11821
|
-
message.methods.push(AuthAPI_ListMethods_MethodInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
11822
|
-
break;
|
|
11823
13359
|
default:
|
|
11824
13360
|
let u = options.readUnknownField;
|
|
11825
13361
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11830,48 +13366,44 @@ var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11830
13366
|
return message;
|
|
11831
13367
|
}
|
|
11832
13368
|
internalBinaryWrite(message, writer, options) {
|
|
11833
|
-
for (let i = 0; i < message.methods.length; i++) AuthAPI_ListMethods_MethodInfo.internalBinaryWrite(message.methods[i], writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11834
13369
|
let u = options.writeUnknownFields;
|
|
11835
13370
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11836
13371
|
return writer;
|
|
11837
13372
|
}
|
|
11838
13373
|
};
|
|
11839
13374
|
/**
|
|
11840
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13375
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources
|
|
11841
13376
|
*/
|
|
11842
|
-
const
|
|
11843
|
-
var
|
|
13377
|
+
const AuthAPI_ListUserResources = new AuthAPI_ListUserResources$Type();
|
|
13378
|
+
var AuthAPI_ListUserResources_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11844
13379
|
constructor() {
|
|
11845
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13380
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.Request", [
|
|
11846
13381
|
{
|
|
11847
13382
|
no: 1,
|
|
11848
|
-
name: "
|
|
13383
|
+
name: "login",
|
|
11849
13384
|
kind: "scalar",
|
|
11850
13385
|
T: 9
|
|
11851
13386
|
},
|
|
11852
13387
|
{
|
|
11853
13388
|
no: 2,
|
|
11854
|
-
name: "
|
|
13389
|
+
name: "start_from",
|
|
11855
13390
|
kind: "scalar",
|
|
11856
|
-
T:
|
|
13391
|
+
T: 4,
|
|
13392
|
+
L: 0
|
|
11857
13393
|
},
|
|
11858
13394
|
{
|
|
11859
13395
|
no: 3,
|
|
11860
|
-
name: "
|
|
11861
|
-
kind: "
|
|
11862
|
-
|
|
11863
|
-
V: {
|
|
11864
|
-
kind: "scalar",
|
|
11865
|
-
T: 9
|
|
11866
|
-
}
|
|
13396
|
+
name: "limit",
|
|
13397
|
+
kind: "scalar",
|
|
13398
|
+
T: 13
|
|
11867
13399
|
}
|
|
11868
13400
|
]);
|
|
11869
13401
|
}
|
|
11870
13402
|
create(value) {
|
|
11871
13403
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11872
|
-
message.
|
|
11873
|
-
message.
|
|
11874
|
-
message.
|
|
13404
|
+
message.login = "";
|
|
13405
|
+
message.startFrom = 0n;
|
|
13406
|
+
message.limit = 0;
|
|
11875
13407
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11876
13408
|
return message;
|
|
11877
13409
|
}
|
|
@@ -11881,13 +13413,13 @@ var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11881
13413
|
let [fieldNo, wireType] = reader.tag();
|
|
11882
13414
|
switch (fieldNo) {
|
|
11883
13415
|
case 1:
|
|
11884
|
-
message.
|
|
13416
|
+
message.login = reader.string();
|
|
11885
13417
|
break;
|
|
11886
13418
|
case 2:
|
|
11887
|
-
message.
|
|
13419
|
+
message.startFrom = reader.uint64().toBigInt();
|
|
11888
13420
|
break;
|
|
11889
13421
|
case 3:
|
|
11890
|
-
|
|
13422
|
+
message.limit = reader.uint32();
|
|
11891
13423
|
break;
|
|
11892
13424
|
default:
|
|
11893
13425
|
let u = options.readUnknownField;
|
|
@@ -11898,41 +13430,49 @@ var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11898
13430
|
}
|
|
11899
13431
|
return message;
|
|
11900
13432
|
}
|
|
11901
|
-
binaryReadMap3(map, reader, options) {
|
|
11902
|
-
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
11903
|
-
while (reader.pos < end) {
|
|
11904
|
-
let [fieldNo, wireType] = reader.tag();
|
|
11905
|
-
switch (fieldNo) {
|
|
11906
|
-
case 1:
|
|
11907
|
-
key = reader.string();
|
|
11908
|
-
break;
|
|
11909
|
-
case 2:
|
|
11910
|
-
val = reader.string();
|
|
11911
|
-
break;
|
|
11912
|
-
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo.info");
|
|
11913
|
-
}
|
|
11914
|
-
}
|
|
11915
|
-
map[key ?? ""] = val ?? "";
|
|
11916
|
-
}
|
|
11917
13433
|
internalBinaryWrite(message, writer, options) {
|
|
11918
|
-
if (message.
|
|
11919
|
-
if (message.
|
|
11920
|
-
|
|
13434
|
+
if (message.login !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.login);
|
|
13435
|
+
if (message.startFrom !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.startFrom);
|
|
13436
|
+
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
11921
13437
|
let u = options.writeUnknownFields;
|
|
11922
13438
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11923
13439
|
return writer;
|
|
11924
13440
|
}
|
|
11925
13441
|
};
|
|
11926
13442
|
/**
|
|
11927
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13443
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Request
|
|
11928
13444
|
*/
|
|
11929
|
-
const
|
|
11930
|
-
var
|
|
13445
|
+
const AuthAPI_ListUserResources_Request = new AuthAPI_ListUserResources_Request$Type();
|
|
13446
|
+
var AuthAPI_ListUserResources_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11931
13447
|
constructor() {
|
|
11932
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13448
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.Response", [
|
|
13449
|
+
{
|
|
13450
|
+
no: 1,
|
|
13451
|
+
name: "user_root",
|
|
13452
|
+
kind: "message",
|
|
13453
|
+
oneof: "entry",
|
|
13454
|
+
T: () => AuthAPI_ListUserResources_UserRoot
|
|
13455
|
+
},
|
|
13456
|
+
{
|
|
13457
|
+
no: 2,
|
|
13458
|
+
name: "shared_resource",
|
|
13459
|
+
kind: "message",
|
|
13460
|
+
oneof: "entry",
|
|
13461
|
+
T: () => AuthAPI_ListUserResources_SharedResource
|
|
13462
|
+
},
|
|
13463
|
+
{
|
|
13464
|
+
no: 3,
|
|
13465
|
+
name: "next_resource_id",
|
|
13466
|
+
kind: "scalar",
|
|
13467
|
+
T: 4,
|
|
13468
|
+
L: 0
|
|
13469
|
+
}
|
|
13470
|
+
]);
|
|
11933
13471
|
}
|
|
11934
13472
|
create(value) {
|
|
11935
13473
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
13474
|
+
message.entry = { oneofKind: void 0 };
|
|
13475
|
+
message.nextResourceId = 0n;
|
|
11936
13476
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11937
13477
|
return message;
|
|
11938
13478
|
}
|
|
@@ -11941,6 +13481,21 @@ var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11941
13481
|
while (reader.pos < end) {
|
|
11942
13482
|
let [fieldNo, wireType] = reader.tag();
|
|
11943
13483
|
switch (fieldNo) {
|
|
13484
|
+
case 1:
|
|
13485
|
+
message.entry = {
|
|
13486
|
+
oneofKind: "userRoot",
|
|
13487
|
+
userRoot: AuthAPI_ListUserResources_UserRoot.internalBinaryRead(reader, reader.uint32(), options, message.entry.userRoot)
|
|
13488
|
+
};
|
|
13489
|
+
break;
|
|
13490
|
+
case 2:
|
|
13491
|
+
message.entry = {
|
|
13492
|
+
oneofKind: "sharedResource",
|
|
13493
|
+
sharedResource: AuthAPI_ListUserResources_SharedResource.internalBinaryRead(reader, reader.uint32(), options, message.entry.sharedResource)
|
|
13494
|
+
};
|
|
13495
|
+
break;
|
|
13496
|
+
case 3:
|
|
13497
|
+
message.nextResourceId = reader.uint64().toBigInt();
|
|
13498
|
+
break;
|
|
11944
13499
|
default:
|
|
11945
13500
|
let u = options.readUnknownField;
|
|
11946
13501
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11951,26 +13506,37 @@ var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11951
13506
|
return message;
|
|
11952
13507
|
}
|
|
11953
13508
|
internalBinaryWrite(message, writer, options) {
|
|
13509
|
+
if (message.entry.oneofKind === "userRoot") AuthAPI_ListUserResources_UserRoot.internalBinaryWrite(message.entry.userRoot, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13510
|
+
if (message.entry.oneofKind === "sharedResource") AuthAPI_ListUserResources_SharedResource.internalBinaryWrite(message.entry.sharedResource, writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13511
|
+
if (message.nextResourceId !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.nextResourceId);
|
|
11954
13512
|
let u = options.writeUnknownFields;
|
|
11955
13513
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11956
13514
|
return writer;
|
|
11957
13515
|
}
|
|
11958
13516
|
};
|
|
11959
13517
|
/**
|
|
11960
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13518
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Response
|
|
11961
13519
|
*/
|
|
11962
|
-
const
|
|
11963
|
-
var
|
|
13520
|
+
const AuthAPI_ListUserResources_Response = new AuthAPI_ListUserResources_Response$Type();
|
|
13521
|
+
var AuthAPI_ListUserResources_UserRoot$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11964
13522
|
constructor() {
|
|
11965
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13523
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot", [{
|
|
11966
13524
|
no: 1,
|
|
11967
|
-
name: "
|
|
11968
|
-
kind: "
|
|
11969
|
-
T:
|
|
13525
|
+
name: "resource_id",
|
|
13526
|
+
kind: "scalar",
|
|
13527
|
+
T: 4,
|
|
13528
|
+
L: 0
|
|
13529
|
+
}, {
|
|
13530
|
+
no: 2,
|
|
13531
|
+
name: "resource_signature",
|
|
13532
|
+
kind: "scalar",
|
|
13533
|
+
opt: true,
|
|
13534
|
+
T: 12
|
|
11970
13535
|
}]);
|
|
11971
13536
|
}
|
|
11972
13537
|
create(value) {
|
|
11973
13538
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
13539
|
+
message.resourceId = 0n;
|
|
11974
13540
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11975
13541
|
return message;
|
|
11976
13542
|
}
|
|
@@ -11980,7 +13546,10 @@ var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11980
13546
|
let [fieldNo, wireType] = reader.tag();
|
|
11981
13547
|
switch (fieldNo) {
|
|
11982
13548
|
case 1:
|
|
11983
|
-
message.
|
|
13549
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13550
|
+
break;
|
|
13551
|
+
case 2:
|
|
13552
|
+
message.resourceSignature = reader.bytes();
|
|
11984
13553
|
break;
|
|
11985
13554
|
default:
|
|
11986
13555
|
let u = options.readUnknownField;
|
|
@@ -11992,28 +13561,51 @@ var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11992
13561
|
return message;
|
|
11993
13562
|
}
|
|
11994
13563
|
internalBinaryWrite(message, writer, options) {
|
|
11995
|
-
if (message.
|
|
13564
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13565
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11996
13566
|
let u = options.writeUnknownFields;
|
|
11997
13567
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11998
13568
|
return writer;
|
|
11999
13569
|
}
|
|
12000
13570
|
};
|
|
12001
13571
|
/**
|
|
12002
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13572
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot
|
|
12003
13573
|
*/
|
|
12004
|
-
const
|
|
12005
|
-
var
|
|
13574
|
+
const AuthAPI_ListUserResources_UserRoot = new AuthAPI_ListUserResources_UserRoot$Type();
|
|
13575
|
+
var AuthAPI_ListUserResources_SharedResource$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12006
13576
|
constructor() {
|
|
12007
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
13577
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource", [
|
|
13578
|
+
{
|
|
13579
|
+
no: 1,
|
|
13580
|
+
name: "resource_id",
|
|
13581
|
+
kind: "scalar",
|
|
13582
|
+
T: 4,
|
|
13583
|
+
L: 0
|
|
13584
|
+
},
|
|
13585
|
+
{
|
|
13586
|
+
no: 2,
|
|
13587
|
+
name: "resource_signature",
|
|
13588
|
+
kind: "scalar",
|
|
13589
|
+
opt: true,
|
|
13590
|
+
T: 12
|
|
13591
|
+
},
|
|
13592
|
+
{
|
|
13593
|
+
no: 3,
|
|
13594
|
+
name: "resource_type",
|
|
13595
|
+
kind: "message",
|
|
13596
|
+
T: () => require_base_types.ResourceType
|
|
13597
|
+
},
|
|
13598
|
+
{
|
|
13599
|
+
no: 4,
|
|
13600
|
+
name: "permissions",
|
|
13601
|
+
kind: "message",
|
|
13602
|
+
T: () => AuthAPI_Grant_Permissions
|
|
13603
|
+
}
|
|
13604
|
+
]);
|
|
12013
13605
|
}
|
|
12014
13606
|
create(value) {
|
|
12015
13607
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
12016
|
-
message.
|
|
13608
|
+
message.resourceId = 0n;
|
|
12017
13609
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12018
13610
|
return message;
|
|
12019
13611
|
}
|
|
@@ -12023,7 +13615,16 @@ var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12023
13615
|
let [fieldNo, wireType] = reader.tag();
|
|
12024
13616
|
switch (fieldNo) {
|
|
12025
13617
|
case 1:
|
|
12026
|
-
message.
|
|
13618
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13619
|
+
break;
|
|
13620
|
+
case 2:
|
|
13621
|
+
message.resourceSignature = reader.bytes();
|
|
13622
|
+
break;
|
|
13623
|
+
case 3:
|
|
13624
|
+
message.resourceType = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceType);
|
|
13625
|
+
break;
|
|
13626
|
+
case 4:
|
|
13627
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
12027
13628
|
break;
|
|
12028
13629
|
default:
|
|
12029
13630
|
let u = options.readUnknownField;
|
|
@@ -12035,16 +13636,19 @@ var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12035
13636
|
return message;
|
|
12036
13637
|
}
|
|
12037
13638
|
internalBinaryWrite(message, writer, options) {
|
|
12038
|
-
if (message.
|
|
13639
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13640
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
13641
|
+
if (message.resourceType) require_base_types.ResourceType.internalBinaryWrite(message.resourceType, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13642
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12039
13643
|
let u = options.writeUnknownFields;
|
|
12040
13644
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12041
13645
|
return writer;
|
|
12042
13646
|
}
|
|
12043
13647
|
};
|
|
12044
13648
|
/**
|
|
12045
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13649
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
|
|
12046
13650
|
*/
|
|
12047
|
-
const
|
|
13651
|
+
const AuthAPI_ListUserResources_SharedResource = new AuthAPI_ListUserResources_SharedResource$Type();
|
|
12048
13652
|
var MiscAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12049
13653
|
constructor() {
|
|
12050
13654
|
super("MiLaboratories.PL.API.MiscAPI", []);
|
|
@@ -12302,12 +13906,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12302
13906
|
kind: "scalar",
|
|
12303
13907
|
T: 9
|
|
12304
13908
|
},
|
|
12305
|
-
{
|
|
12306
|
-
no: 3,
|
|
12307
|
-
name: "server_info",
|
|
12308
|
-
kind: "scalar",
|
|
12309
|
-
T: 9
|
|
12310
|
-
},
|
|
12311
13909
|
{
|
|
12312
13910
|
no: 4,
|
|
12313
13911
|
name: "compression",
|
|
@@ -12344,7 +13942,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12344
13942
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
12345
13943
|
message.coreVersion = "";
|
|
12346
13944
|
message.coreFullVersion = "";
|
|
12347
|
-
message.serverInfo = "";
|
|
12348
13945
|
message.compression = 0;
|
|
12349
13946
|
message.instanceId = "";
|
|
12350
13947
|
message.platform = "";
|
|
@@ -12364,9 +13961,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12364
13961
|
case 2:
|
|
12365
13962
|
message.coreFullVersion = reader.string();
|
|
12366
13963
|
break;
|
|
12367
|
-
case 3:
|
|
12368
|
-
message.serverInfo = reader.string();
|
|
12369
|
-
break;
|
|
12370
13964
|
case 4:
|
|
12371
13965
|
message.compression = reader.int32();
|
|
12372
13966
|
break;
|
|
@@ -12394,7 +13988,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12394
13988
|
internalBinaryWrite(message, writer, options) {
|
|
12395
13989
|
if (message.coreVersion !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.coreVersion);
|
|
12396
13990
|
if (message.coreFullVersion !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.coreFullVersion);
|
|
12397
|
-
if (message.serverInfo !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.serverInfo);
|
|
12398
13991
|
if (message.compression !== 0) writer.tag(4, _protobuf_ts_runtime.WireType.Varint).int32(message.compression);
|
|
12399
13992
|
if (message.instanceId !== "") writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.instanceId);
|
|
12400
13993
|
if (message.platform !== "") writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.platform);
|
|
@@ -12542,6 +14135,72 @@ var MaintenanceAPI_License_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
12542
14135
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
12543
14136
|
*/
|
|
12544
14137
|
const MaintenanceAPI_License_Response = new MaintenanceAPI_License_Response$Type();
|
|
14138
|
+
var Util$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
14139
|
+
constructor() {
|
|
14140
|
+
super("MiLaboratories.PL.API.Util", []);
|
|
14141
|
+
}
|
|
14142
|
+
create(value) {
|
|
14143
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
14144
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
14145
|
+
return message;
|
|
14146
|
+
}
|
|
14147
|
+
internalBinaryRead(reader, length, options, target) {
|
|
14148
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14149
|
+
while (reader.pos < end) {
|
|
14150
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14151
|
+
switch (fieldNo) {
|
|
14152
|
+
default:
|
|
14153
|
+
let u = options.readUnknownField;
|
|
14154
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14155
|
+
let d = reader.skip(wireType);
|
|
14156
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14157
|
+
}
|
|
14158
|
+
}
|
|
14159
|
+
return message;
|
|
14160
|
+
}
|
|
14161
|
+
internalBinaryWrite(message, writer, options) {
|
|
14162
|
+
let u = options.writeUnknownFields;
|
|
14163
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14164
|
+
return writer;
|
|
14165
|
+
}
|
|
14166
|
+
};
|
|
14167
|
+
/**
|
|
14168
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Util
|
|
14169
|
+
*/
|
|
14170
|
+
const Util = new Util$Type();
|
|
14171
|
+
var Util_Deprecated$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
14172
|
+
constructor() {
|
|
14173
|
+
super("MiLaboratories.PL.API.Util.Deprecated", []);
|
|
14174
|
+
}
|
|
14175
|
+
create(value) {
|
|
14176
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
14177
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
14178
|
+
return message;
|
|
14179
|
+
}
|
|
14180
|
+
internalBinaryRead(reader, length, options, target) {
|
|
14181
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14182
|
+
while (reader.pos < end) {
|
|
14183
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14184
|
+
switch (fieldNo) {
|
|
14185
|
+
default:
|
|
14186
|
+
let u = options.readUnknownField;
|
|
14187
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14188
|
+
let d = reader.skip(wireType);
|
|
14189
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14190
|
+
}
|
|
14191
|
+
}
|
|
14192
|
+
return message;
|
|
14193
|
+
}
|
|
14194
|
+
internalBinaryWrite(message, writer, options) {
|
|
14195
|
+
let u = options.writeUnknownFields;
|
|
14196
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14197
|
+
return writer;
|
|
14198
|
+
}
|
|
14199
|
+
};
|
|
14200
|
+
/**
|
|
14201
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Util.Deprecated
|
|
14202
|
+
*/
|
|
14203
|
+
const Util_Deprecated = new Util_Deprecated$Type();
|
|
12545
14204
|
/**
|
|
12546
14205
|
* @generated ServiceType for protobuf service MiLaboratories.PL.API.Platform
|
|
12547
14206
|
*/
|
|
@@ -12707,10 +14366,19 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12707
14366
|
I: ControllerAPI_ClearFeatures_Request,
|
|
12708
14367
|
O: ControllerAPI_ClearFeatures_Response
|
|
12709
14368
|
},
|
|
14369
|
+
{
|
|
14370
|
+
name: "LockFieldValues",
|
|
14371
|
+
options: { "google.api.http": {
|
|
14372
|
+
post: "/v1/locks/lock/create",
|
|
14373
|
+
body: "*"
|
|
14374
|
+
} },
|
|
14375
|
+
I: LocksAPI_LockFieldValues_Create_Request,
|
|
14376
|
+
O: LocksAPI_LockFieldValues_Create_Response
|
|
14377
|
+
},
|
|
12710
14378
|
{
|
|
12711
14379
|
name: "LeaseResource",
|
|
12712
14380
|
options: { "google.api.http": {
|
|
12713
|
-
post: "/v1/locks/lease",
|
|
14381
|
+
post: "/v1/locks/lease/create",
|
|
12714
14382
|
body: "*"
|
|
12715
14383
|
} },
|
|
12716
14384
|
I: LocksAPI_Lease_Create_Request,
|
|
@@ -12719,7 +14387,7 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12719
14387
|
{
|
|
12720
14388
|
name: "UpdateLease",
|
|
12721
14389
|
options: { "google.api.http": {
|
|
12722
|
-
|
|
14390
|
+
post: "/v1/locks/lease/update",
|
|
12723
14391
|
body: "*"
|
|
12724
14392
|
} },
|
|
12725
14393
|
I: LocksAPI_Lease_Update_Request,
|
|
@@ -12728,7 +14396,7 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12728
14396
|
{
|
|
12729
14397
|
name: "ReleaseLease",
|
|
12730
14398
|
options: { "google.api.http": {
|
|
12731
|
-
|
|
14399
|
+
post: "/v1/locks/lease/release",
|
|
12732
14400
|
body: "*"
|
|
12733
14401
|
} },
|
|
12734
14402
|
I: LocksAPI_Lease_Release_Request,
|
|
@@ -12749,6 +14417,38 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12749
14417
|
I: AuthAPI_GetJWTToken_Request,
|
|
12750
14418
|
O: AuthAPI_GetJWTToken_Response
|
|
12751
14419
|
},
|
|
14420
|
+
{
|
|
14421
|
+
name: "GrantAccess",
|
|
14422
|
+
options: { "google.api.http": {
|
|
14423
|
+
post: "/v1/auth/grant-access",
|
|
14424
|
+
body: "*"
|
|
14425
|
+
} },
|
|
14426
|
+
I: AuthAPI_GrantAccess_Request,
|
|
14427
|
+
O: AuthAPI_GrantAccess_Response
|
|
14428
|
+
},
|
|
14429
|
+
{
|
|
14430
|
+
name: "RevokeGrant",
|
|
14431
|
+
options: { "google.api.http": {
|
|
14432
|
+
post: "/v1/auth/revoke-grant",
|
|
14433
|
+
body: "*"
|
|
14434
|
+
} },
|
|
14435
|
+
I: AuthAPI_RevokeGrant_Request,
|
|
14436
|
+
O: AuthAPI_RevokeGrant_Response
|
|
14437
|
+
},
|
|
14438
|
+
{
|
|
14439
|
+
name: "ListGrants",
|
|
14440
|
+
serverStreaming: true,
|
|
14441
|
+
options: {},
|
|
14442
|
+
I: AuthAPI_ListGrants_Request,
|
|
14443
|
+
O: AuthAPI_ListGrants_Response
|
|
14444
|
+
},
|
|
14445
|
+
{
|
|
14446
|
+
name: "ListUserResources",
|
|
14447
|
+
serverStreaming: true,
|
|
14448
|
+
options: {},
|
|
14449
|
+
I: AuthAPI_ListUserResources_Request,
|
|
14450
|
+
O: AuthAPI_ListUserResources_Response
|
|
14451
|
+
},
|
|
12752
14452
|
{
|
|
12753
14453
|
name: "ListResourceTypes",
|
|
12754
14454
|
options: { "google.api.http": { get: "/v1/resource-types" } },
|
|
@@ -12770,6 +14470,7 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12770
14470
|
]);
|
|
12771
14471
|
|
|
12772
14472
|
//#endregion
|
|
14473
|
+
exports.AuthAPI_GetJWTToken_Role = AuthAPI_GetJWTToken_Role;
|
|
12773
14474
|
exports.MaintenanceAPI_Ping_Response_Compression = MaintenanceAPI_Ping_Response_Compression;
|
|
12774
14475
|
exports.Platform = Platform;
|
|
12775
14476
|
exports.TxAPI_ClientMessage = TxAPI_ClientMessage;
|