@milaboratories/pl-client 2.18.5 → 3.1.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/_virtual/_rolldown/runtime.cjs +12 -22
- package/dist/_virtual/_rolldown/runtime.js +6 -11
- package/dist/core/PromiseTracker.cjs +2 -3
- package/dist/core/PromiseTracker.cjs.map +1 -1
- package/dist/core/PromiseTracker.d.ts.map +1 -0
- package/dist/core/PromiseTracker.js +1 -2
- package/dist/core/PromiseTracker.js.map +1 -1
- package/dist/core/StatefulPromise.cjs +1 -2
- package/dist/core/StatefulPromise.cjs.map +1 -1
- package/dist/core/StatefulPromise.js +1 -1
- package/dist/core/StatefulPromise.js.map +1 -1
- package/dist/core/abstract_stream.d.ts.map +1 -0
- package/dist/core/advisory_locks.cjs +1 -2
- package/dist/core/advisory_locks.cjs.map +1 -1
- package/dist/core/advisory_locks.js +1 -1
- package/dist/core/advisory_locks.js.map +1 -1
- package/dist/core/auth.cjs +2 -3
- package/dist/core/auth.cjs.map +1 -1
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +1 -2
- package/dist/core/auth.js.map +1 -1
- package/dist/core/cache.d.ts.map +1 -0
- package/dist/core/client.cjs +63 -36
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +3 -1
- package/dist/core/client.d.ts.map +1 -0
- package/dist/core/client.js +54 -27
- package/dist/core/client.js.map +1 -1
- package/dist/core/config.cjs +16 -17
- package/dist/core/config.cjs.map +1 -1
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +16 -16
- package/dist/core/config.js.map +1 -1
- package/dist/core/default_client.cjs +6 -7
- package/dist/core/default_client.cjs.map +1 -1
- package/dist/core/default_client.d.ts.map +1 -0
- package/dist/core/default_client.js +1 -2
- package/dist/core/default_client.js.map +1 -1
- package/dist/core/driver.cjs +1 -2
- package/dist/core/driver.cjs.map +1 -1
- package/dist/core/driver.d.ts.map +1 -0
- package/dist/core/driver.js +1 -1
- package/dist/core/error_resource.cjs +1 -2
- package/dist/core/error_resource.cjs.map +1 -1
- package/dist/core/error_resource.js +1 -1
- package/dist/core/errors.cjs +11 -4
- package/dist/core/errors.cjs.map +1 -1
- package/dist/core/errors.d.ts +2 -1
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +9 -3
- package/dist/core/errors.js.map +1 -1
- package/dist/core/final.cjs +3 -4
- package/dist/core/final.cjs.map +1 -1
- package/dist/core/final.d.ts.map +1 -0
- package/dist/core/final.js +1 -2
- package/dist/core/final.js.map +1 -1
- package/dist/core/ll_client.cjs +35 -18
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.d.ts +6 -1
- package/dist/core/ll_client.d.ts.map +1 -0
- package/dist/core/ll_client.js +25 -8
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/ll_transaction.cjs +4 -5
- package/dist/core/ll_transaction.cjs.map +1 -1
- package/dist/core/ll_transaction.d.ts.map +1 -0
- package/dist/core/ll_transaction.js +1 -2
- package/dist/core/ll_transaction.js.map +1 -1
- package/dist/core/stat.cjs +1 -2
- package/dist/core/stat.cjs.map +1 -1
- package/dist/core/stat.d.ts.map +1 -0
- package/dist/core/stat.js +1 -1
- package/dist/core/transaction.cjs +32 -21
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.d.ts.map +1 -0
- package/dist/core/transaction.js +23 -12
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +8 -9
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.js +4 -5
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/core/types.cjs +3 -4
- package/dist/core/types.cjs.map +1 -1
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -3
- package/dist/core/types.js.map +1 -1
- package/dist/core/unauth_client.cjs +4 -5
- package/dist/core/unauth_client.cjs.map +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -0
- package/dist/core/unauth_client.js +1 -2
- package/dist/core/unauth_client.js.map +1 -1
- package/dist/core/websocket_stream.cjs +4 -5
- package/dist/core/websocket_stream.cjs.map +1 -1
- package/dist/core/websocket_stream.js +1 -2
- package/dist/core/websocket_stream.js.map +1 -1
- package/dist/core/wire.d.ts.map +1 -0
- package/dist/helpers/pl.cjs +12 -14
- package/dist/helpers/pl.cjs.map +1 -1
- package/dist/helpers/pl.d.ts.map +1 -0
- package/dist/helpers/pl.js +5 -7
- package/dist/helpers/pl.js.map +1 -1
- package/dist/helpers/poll.cjs +3 -4
- package/dist/helpers/poll.cjs.map +1 -1
- package/dist/helpers/poll.d.ts.map +1 -0
- package/dist/helpers/poll.js +1 -2
- package/dist/helpers/poll.js.map +1 -1
- package/dist/helpers/retry_strategy.cjs +1 -2
- package/dist/helpers/retry_strategy.cjs.map +1 -1
- package/dist/helpers/retry_strategy.js +1 -1
- package/dist/helpers/retry_strategy.js.map +1 -1
- package/dist/helpers/tx_helpers.cjs +3 -4
- package/dist/helpers/tx_helpers.cjs.map +1 -1
- package/dist/helpers/tx_helpers.d.ts.map +1 -0
- package/dist/helpers/tx_helpers.js +1 -2
- package/dist/helpers/tx_helpers.js.map +1 -1
- package/dist/index.cjs +34 -34
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -3
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs +3 -4
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js +1 -2
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +2039 -644
- 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 +62 -13
- 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 +78 -8
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +60 -11
- 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.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +2033 -639
- 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 +251 -22
- 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.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +248 -19
- 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 +28 -15
- 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.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +27 -14
- 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 +17 -16
- 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.d.ts.map +1 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +15 -14
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.cjs +2 -3
- package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/any.js +1 -2
- package/dist/proto-grpc/google/protobuf/any.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.cjs +2 -3
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/duration.js +1 -2
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs +2 -3
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/proto-grpc/google/protobuf/timestamp.js +1 -2
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto-grpc/google/rpc/code.cjs +1 -2
- package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
- package/dist/proto-grpc/google/rpc/code.d.ts.map +1 -0
- package/dist/proto-grpc/google/rpc/code.js +1 -1
- package/dist/proto-grpc/google/rpc/code.js.map +1 -1
- package/dist/proto-rest/index.cjs +8 -9
- package/dist/proto-rest/index.cjs.map +1 -1
- package/dist/proto-rest/index.d.ts.map +1 -0
- package/dist/proto-rest/index.js +1 -2
- package/dist/proto-rest/index.js.map +1 -1
- package/dist/proto-rest/plapi.d.ts +281 -28
- package/dist/proto-rest/plapi.d.ts.map +1 -0
- package/dist/test/tcp-proxy.cjs +2 -3
- package/dist/test/tcp-proxy.cjs.map +1 -1
- package/dist/test/tcp-proxy.d.ts.map +1 -0
- package/dist/test/tcp-proxy.js +1 -2
- package/dist/test/tcp-proxy.js.map +1 -1
- package/dist/test/test_config.cjs +16 -19
- package/dist/test/test_config.cjs.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -0
- package/dist/test/test_config.js +3 -6
- package/dist/test/test_config.js.map +1 -1
- package/dist/util/pl.cjs +1 -2
- package/dist/util/pl.cjs.map +1 -1
- package/dist/util/pl.js +1 -1
- package/dist/util/util.cjs +1 -2
- package/dist/util/util.cjs.map +1 -1
- package/dist/util/util.js +1 -1
- package/package.json +8 -8
- package/src/core/client.ts +80 -30
- package/src/core/errors.ts +11 -0
- package/src/core/ll_client.test.ts +8 -0
- package/src/core/ll_client.ts +30 -2
- package/src/core/ll_transaction.test.ts +12 -2
- package/src/core/transaction.ts +41 -10
- 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 +2274 -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,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
1
|
+
require("../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_timestamp = require("../../../../../google/protobuf/timestamp.cjs");
|
|
3
|
+
const require_duration = require("../../../../../google/protobuf/duration.cjs");
|
|
4
|
+
const require_base_types = require("./base_types.cjs");
|
|
5
|
+
const require_resource_types = require("./resource_types.cjs");
|
|
6
|
+
const require_api_types = require("./api_types.cjs");
|
|
7
|
+
const require_status = require("../../../../googleapis/googleapis/google/rpc/status.cjs");
|
|
7
8
|
let _protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
8
9
|
let _protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
9
|
-
|
|
10
10
|
//#region src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts
|
|
11
11
|
/**
|
|
12
12
|
* @generated from protobuf enum MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx
|
|
@@ -27,6 +27,30 @@ let TxAPI_Open_Request_WritableTx = /* @__PURE__ */ function(TxAPI_Open_Request_
|
|
|
27
27
|
return TxAPI_Open_Request_WritableTx;
|
|
28
28
|
}({});
|
|
29
29
|
/**
|
|
30
|
+
* @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role
|
|
31
|
+
*/
|
|
32
|
+
let AuthAPI_GetJWTToken_Role = /* @__PURE__ */ function(AuthAPI_GetJWTToken_Role) {
|
|
33
|
+
/**
|
|
34
|
+
* issue JWT with caller's natural role
|
|
35
|
+
*
|
|
36
|
+
* @generated from protobuf enum value: ROLE_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["ROLE_UNSPECIFIED"] = 0] = "ROLE_UNSPECIFIED";
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf enum value: USER = 1;
|
|
41
|
+
*/
|
|
42
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["USER"] = 1] = "USER";
|
|
43
|
+
/**
|
|
44
|
+
* @generated from protobuf enum value: CONTROLLER = 2;
|
|
45
|
+
*/
|
|
46
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["CONTROLLER"] = 2] = "CONTROLLER";
|
|
47
|
+
/**
|
|
48
|
+
* @generated from protobuf enum value: WORKFLOW = 3;
|
|
49
|
+
*/
|
|
50
|
+
AuthAPI_GetJWTToken_Role[AuthAPI_GetJWTToken_Role["WORKFLOW"] = 3] = "WORKFLOW";
|
|
51
|
+
return AuthAPI_GetJWTToken_Role;
|
|
52
|
+
}({});
|
|
53
|
+
/**
|
|
30
54
|
* @generated from protobuf enum MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression
|
|
31
55
|
*/
|
|
32
56
|
let MaintenanceAPI_Ping_Response_Compression = /* @__PURE__ */ function(MaintenanceAPI_Ping_Response_Compression) {
|
|
@@ -69,10 +93,7 @@ var TxAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
69
93
|
return writer;
|
|
70
94
|
}
|
|
71
95
|
};
|
|
72
|
-
|
|
73
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI
|
|
74
|
-
*/
|
|
75
|
-
const TxAPI = new TxAPI$Type();
|
|
96
|
+
new TxAPI$Type();
|
|
76
97
|
var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
77
98
|
constructor() {
|
|
78
99
|
super("MiLaboratories.PL.API.TxAPI.ClientMessage", [
|
|
@@ -472,7 +493,7 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
472
493
|
name: "cache_delete_expired_records",
|
|
473
494
|
kind: "message",
|
|
474
495
|
oneof: "request",
|
|
475
|
-
T: () =>
|
|
496
|
+
T: () => Util_Deprecated
|
|
476
497
|
},
|
|
477
498
|
{
|
|
478
499
|
no: 350,
|
|
@@ -487,6 +508,13 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
487
508
|
kind: "message",
|
|
488
509
|
oneof: "request",
|
|
489
510
|
T: () => ControllerAPI_ClearFeatures_Request
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
no: 400,
|
|
514
|
+
name: "set_default_color",
|
|
515
|
+
kind: "message",
|
|
516
|
+
oneof: "request",
|
|
517
|
+
T: () => TxAPI_SetDefaultColor_Request
|
|
490
518
|
}
|
|
491
519
|
]);
|
|
492
520
|
}
|
|
@@ -838,7 +866,7 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
838
866
|
case 301:
|
|
839
867
|
message.request = {
|
|
840
868
|
oneofKind: "cacheDeleteExpiredRecords",
|
|
841
|
-
cacheDeleteExpiredRecords:
|
|
869
|
+
cacheDeleteExpiredRecords: Util_Deprecated.internalBinaryRead(reader, reader.uint32(), options, message.request.cacheDeleteExpiredRecords)
|
|
842
870
|
};
|
|
843
871
|
break;
|
|
844
872
|
case 350:
|
|
@@ -853,6 +881,12 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
853
881
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerFeaturesClear)
|
|
854
882
|
};
|
|
855
883
|
break;
|
|
884
|
+
case 400:
|
|
885
|
+
message.request = {
|
|
886
|
+
oneofKind: "setDefaultColor",
|
|
887
|
+
setDefaultColor: TxAPI_SetDefaultColor_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.setDefaultColor)
|
|
888
|
+
};
|
|
889
|
+
break;
|
|
856
890
|
default:
|
|
857
891
|
let u = options.readUnknownField;
|
|
858
892
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -919,9 +953,10 @@ var TxAPI_ClientMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
919
953
|
if (message.request.oneofKind === "controllerKeyValueGetFlag") ControllerKVAPI_GetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlag, writer.tag(254, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
920
954
|
if (message.request.oneofKind === "controllerKeyValueGetFlagIfExists") ControllerKVAPI_GetFlagIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlagIfExists, writer.tag(255, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
921
955
|
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")
|
|
956
|
+
if (message.request.oneofKind === "cacheDeleteExpiredRecords") Util_Deprecated.internalBinaryWrite(message.request.cacheDeleteExpiredRecords, writer.tag(301, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
923
957
|
if (message.request.oneofKind === "controllerFeaturesSet") ControllerAPI_SetFeatures_Request.internalBinaryWrite(message.request.controllerFeaturesSet, writer.tag(350, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
924
958
|
if (message.request.oneofKind === "controllerFeaturesClear") ControllerAPI_ClearFeatures_Request.internalBinaryWrite(message.request.controllerFeaturesClear, writer.tag(351, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
959
|
+
if (message.request.oneofKind === "setDefaultColor") TxAPI_SetDefaultColor_Request.internalBinaryWrite(message.request.setDefaultColor, writer.tag(400, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
925
960
|
let u = options.writeUnknownFields;
|
|
926
961
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
927
962
|
return writer;
|
|
@@ -1336,7 +1371,7 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1336
1371
|
name: "cache_delete_expired_records",
|
|
1337
1372
|
kind: "message",
|
|
1338
1373
|
oneof: "response",
|
|
1339
|
-
T: () =>
|
|
1374
|
+
T: () => Util_Deprecated
|
|
1340
1375
|
},
|
|
1341
1376
|
{
|
|
1342
1377
|
no: 350,
|
|
@@ -1352,6 +1387,13 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1352
1387
|
oneof: "response",
|
|
1353
1388
|
T: () => ControllerAPI_ClearFeatures_Response
|
|
1354
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
no: 400,
|
|
1392
|
+
name: "set_default_color",
|
|
1393
|
+
kind: "message",
|
|
1394
|
+
oneof: "response",
|
|
1395
|
+
T: () => TxAPI_SetDefaultColor_Response
|
|
1396
|
+
},
|
|
1355
1397
|
{
|
|
1356
1398
|
no: 3,
|
|
1357
1399
|
name: "error",
|
|
@@ -1711,7 +1753,7 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1711
1753
|
case 301:
|
|
1712
1754
|
message.response = {
|
|
1713
1755
|
oneofKind: "cacheDeleteExpiredRecords",
|
|
1714
|
-
cacheDeleteExpiredRecords:
|
|
1756
|
+
cacheDeleteExpiredRecords: Util_Deprecated.internalBinaryRead(reader, reader.uint32(), options, message.response.cacheDeleteExpiredRecords)
|
|
1715
1757
|
};
|
|
1716
1758
|
break;
|
|
1717
1759
|
case 350:
|
|
@@ -1726,6 +1768,12 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1726
1768
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerFeaturesClear)
|
|
1727
1769
|
};
|
|
1728
1770
|
break;
|
|
1771
|
+
case 400:
|
|
1772
|
+
message.response = {
|
|
1773
|
+
oneofKind: "setDefaultColor",
|
|
1774
|
+
setDefaultColor: TxAPI_SetDefaultColor_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.setDefaultColor)
|
|
1775
|
+
};
|
|
1776
|
+
break;
|
|
1729
1777
|
case 3:
|
|
1730
1778
|
message.error = require_status.Status.internalBinaryRead(reader, reader.uint32(), options, message.error);
|
|
1731
1779
|
break;
|
|
@@ -1797,9 +1845,10 @@ var TxAPI_ServerMessage$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1797
1845
|
if (message.response.oneofKind === "controllerKeyValueGetFlag") ControllerKVAPI_GetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlag, writer.tag(254, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1798
1846
|
if (message.response.oneofKind === "controllerKeyValueGetFlagIfExists") ControllerKVAPI_GetFlagIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlagIfExists, writer.tag(255, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1799
1847
|
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")
|
|
1848
|
+
if (message.response.oneofKind === "cacheDeleteExpiredRecords") Util_Deprecated.internalBinaryWrite(message.response.cacheDeleteExpiredRecords, writer.tag(301, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1801
1849
|
if (message.response.oneofKind === "controllerFeaturesSet") ControllerAPI_SetFeatures_Response.internalBinaryWrite(message.response.controllerFeaturesSet, writer.tag(350, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1802
1850
|
if (message.response.oneofKind === "controllerFeaturesClear") ControllerAPI_ClearFeatures_Response.internalBinaryWrite(message.response.controllerFeaturesClear, writer.tag(351, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1851
|
+
if (message.response.oneofKind === "setDefaultColor") TxAPI_SetDefaultColor_Response.internalBinaryWrite(message.response.setDefaultColor, writer.tag(400, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1803
1852
|
let u = options.writeUnknownFields;
|
|
1804
1853
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1805
1854
|
return writer;
|
|
@@ -1905,10 +1954,7 @@ var TxAPI_Open$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
1905
1954
|
return writer;
|
|
1906
1955
|
}
|
|
1907
1956
|
};
|
|
1908
|
-
|
|
1909
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Open
|
|
1910
|
-
*/
|
|
1911
|
-
const TxAPI_Open = new TxAPI_Open$Type();
|
|
1957
|
+
new TxAPI_Open$Type();
|
|
1912
1958
|
var TxAPI_Open_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
1913
1959
|
constructor() {
|
|
1914
1960
|
super("MiLaboratories.PL.API.TxAPI.Open.Request", [
|
|
@@ -2047,10 +2093,7 @@ var TxAPI_Commit$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2047
2093
|
return writer;
|
|
2048
2094
|
}
|
|
2049
2095
|
};
|
|
2050
|
-
|
|
2051
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Commit
|
|
2052
|
-
*/
|
|
2053
|
-
const TxAPI_Commit = new TxAPI_Commit$Type();
|
|
2096
|
+
new TxAPI_Commit$Type();
|
|
2054
2097
|
var TxAPI_Commit_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2055
2098
|
constructor() {
|
|
2056
2099
|
super("MiLaboratories.PL.API.TxAPI.Commit.Request", []);
|
|
@@ -2156,10 +2199,7 @@ var TxAPI_Discard$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2156
2199
|
return writer;
|
|
2157
2200
|
}
|
|
2158
2201
|
};
|
|
2159
|
-
|
|
2160
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Discard
|
|
2161
|
-
*/
|
|
2162
|
-
const TxAPI_Discard = new TxAPI_Discard$Type();
|
|
2202
|
+
new TxAPI_Discard$Type();
|
|
2163
2203
|
var TxAPI_Discard_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2164
2204
|
constructor() {
|
|
2165
2205
|
super("MiLaboratories.PL.API.TxAPI.Discard.Request", []);
|
|
@@ -2255,10 +2295,7 @@ var TxAPI_CloseStream$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2255
2295
|
return writer;
|
|
2256
2296
|
}
|
|
2257
2297
|
};
|
|
2258
|
-
|
|
2259
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.CloseStream
|
|
2260
|
-
*/
|
|
2261
|
-
const TxAPI_CloseStream = new TxAPI_CloseStream$Type();
|
|
2298
|
+
new TxAPI_CloseStream$Type();
|
|
2262
2299
|
var TxAPI_CloseStream_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2263
2300
|
constructor() {
|
|
2264
2301
|
super("MiLaboratories.PL.API.TxAPI.CloseStream.Request", []);
|
|
@@ -2354,10 +2391,7 @@ var TxAPI_Sync$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2354
2391
|
return writer;
|
|
2355
2392
|
}
|
|
2356
2393
|
};
|
|
2357
|
-
|
|
2358
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Sync
|
|
2359
|
-
*/
|
|
2360
|
-
const TxAPI_Sync = new TxAPI_Sync$Type();
|
|
2394
|
+
new TxAPI_Sync$Type();
|
|
2361
2395
|
var TxAPI_Sync_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2362
2396
|
constructor() {
|
|
2363
2397
|
super("MiLaboratories.PL.API.TxAPI.Sync.Request", [{
|
|
@@ -2435,9 +2469,45 @@ var TxAPI_Sync_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2435
2469
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Sync.Response
|
|
2436
2470
|
*/
|
|
2437
2471
|
const TxAPI_Sync_Response = new TxAPI_Sync_Response$Type();
|
|
2438
|
-
var
|
|
2472
|
+
var TxAPI_SetDefaultColor$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2439
2473
|
constructor() {
|
|
2440
|
-
super("MiLaboratories.PL.API.
|
|
2474
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor", []);
|
|
2475
|
+
}
|
|
2476
|
+
create(value) {
|
|
2477
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2478
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2479
|
+
return message;
|
|
2480
|
+
}
|
|
2481
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2482
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2483
|
+
while (reader.pos < end) {
|
|
2484
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2485
|
+
switch (fieldNo) {
|
|
2486
|
+
default:
|
|
2487
|
+
let u = options.readUnknownField;
|
|
2488
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2489
|
+
let d = reader.skip(wireType);
|
|
2490
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
return message;
|
|
2494
|
+
}
|
|
2495
|
+
internalBinaryWrite(message, writer, options) {
|
|
2496
|
+
let u = options.writeUnknownFields;
|
|
2497
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2498
|
+
return writer;
|
|
2499
|
+
}
|
|
2500
|
+
};
|
|
2501
|
+
new TxAPI_SetDefaultColor$Type();
|
|
2502
|
+
var TxAPI_SetDefaultColor_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2503
|
+
constructor() {
|
|
2504
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request", [{
|
|
2505
|
+
no: 1,
|
|
2506
|
+
name: "color_proof",
|
|
2507
|
+
kind: "scalar",
|
|
2508
|
+
opt: true,
|
|
2509
|
+
T: 12
|
|
2510
|
+
}]);
|
|
2441
2511
|
}
|
|
2442
2512
|
create(value) {
|
|
2443
2513
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -2449,6 +2519,9 @@ var ResourceAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2449
2519
|
while (reader.pos < end) {
|
|
2450
2520
|
let [fieldNo, wireType] = reader.tag();
|
|
2451
2521
|
switch (fieldNo) {
|
|
2522
|
+
case 1:
|
|
2523
|
+
message.colorProof = reader.bytes();
|
|
2524
|
+
break;
|
|
2452
2525
|
default:
|
|
2453
2526
|
let u = options.readUnknownField;
|
|
2454
2527
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2459,18 +2532,19 @@ var ResourceAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
2459
2532
|
return message;
|
|
2460
2533
|
}
|
|
2461
2534
|
internalBinaryWrite(message, writer, options) {
|
|
2535
|
+
if (message.colorProof !== void 0) writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2462
2536
|
let u = options.writeUnknownFields;
|
|
2463
2537
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2464
2538
|
return writer;
|
|
2465
2539
|
}
|
|
2466
2540
|
};
|
|
2467
2541
|
/**
|
|
2468
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
2542
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request
|
|
2469
2543
|
*/
|
|
2470
|
-
const
|
|
2471
|
-
var
|
|
2544
|
+
const TxAPI_SetDefaultColor_Request = new TxAPI_SetDefaultColor_Request$Type();
|
|
2545
|
+
var TxAPI_SetDefaultColor_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2472
2546
|
constructor() {
|
|
2473
|
-
super("MiLaboratories.PL.API.
|
|
2547
|
+
super("MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response", []);
|
|
2474
2548
|
}
|
|
2475
2549
|
create(value) {
|
|
2476
2550
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -2498,9 +2572,69 @@ var ResourceAPI_CreateStruct$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
2498
2572
|
}
|
|
2499
2573
|
};
|
|
2500
2574
|
/**
|
|
2501
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
2575
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response
|
|
2502
2576
|
*/
|
|
2503
|
-
const
|
|
2577
|
+
const TxAPI_SetDefaultColor_Response = new TxAPI_SetDefaultColor_Response$Type();
|
|
2578
|
+
var ResourceAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2579
|
+
constructor() {
|
|
2580
|
+
super("MiLaboratories.PL.API.ResourceAPI", []);
|
|
2581
|
+
}
|
|
2582
|
+
create(value) {
|
|
2583
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2584
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2585
|
+
return message;
|
|
2586
|
+
}
|
|
2587
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2588
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2589
|
+
while (reader.pos < end) {
|
|
2590
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2591
|
+
switch (fieldNo) {
|
|
2592
|
+
default:
|
|
2593
|
+
let u = options.readUnknownField;
|
|
2594
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2595
|
+
let d = reader.skip(wireType);
|
|
2596
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
return message;
|
|
2600
|
+
}
|
|
2601
|
+
internalBinaryWrite(message, writer, options) {
|
|
2602
|
+
let u = options.writeUnknownFields;
|
|
2603
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2604
|
+
return writer;
|
|
2605
|
+
}
|
|
2606
|
+
};
|
|
2607
|
+
new ResourceAPI$Type();
|
|
2608
|
+
var ResourceAPI_CreateStruct$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2609
|
+
constructor() {
|
|
2610
|
+
super("MiLaboratories.PL.API.ResourceAPI.CreateStruct", []);
|
|
2611
|
+
}
|
|
2612
|
+
create(value) {
|
|
2613
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2614
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2615
|
+
return message;
|
|
2616
|
+
}
|
|
2617
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2618
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2619
|
+
while (reader.pos < end) {
|
|
2620
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2621
|
+
switch (fieldNo) {
|
|
2622
|
+
default:
|
|
2623
|
+
let u = options.readUnknownField;
|
|
2624
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2625
|
+
let d = reader.skip(wireType);
|
|
2626
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
return message;
|
|
2630
|
+
}
|
|
2631
|
+
internalBinaryWrite(message, writer, options) {
|
|
2632
|
+
let u = options.writeUnknownFields;
|
|
2633
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2634
|
+
return writer;
|
|
2635
|
+
}
|
|
2636
|
+
};
|
|
2637
|
+
new ResourceAPI_CreateStruct$Type();
|
|
2504
2638
|
var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2505
2639
|
constructor() {
|
|
2506
2640
|
super("MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request", [
|
|
@@ -2523,12 +2657,20 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2523
2657
|
kind: "scalar",
|
|
2524
2658
|
opt: true,
|
|
2525
2659
|
T: 12
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
no: 5,
|
|
2663
|
+
name: "color_proof",
|
|
2664
|
+
kind: "scalar",
|
|
2665
|
+
opt: true,
|
|
2666
|
+
T: 12
|
|
2526
2667
|
}
|
|
2527
2668
|
]);
|
|
2528
2669
|
}
|
|
2529
2670
|
create(value) {
|
|
2530
2671
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
2531
2672
|
message.id = 0n;
|
|
2673
|
+
message.colorProof = new Uint8Array(0);
|
|
2532
2674
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2533
2675
|
return message;
|
|
2534
2676
|
}
|
|
@@ -2546,6 +2688,9 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2546
2688
|
case 4:
|
|
2547
2689
|
message.data = reader.bytes();
|
|
2548
2690
|
break;
|
|
2691
|
+
case 5:
|
|
2692
|
+
message.colorProof = reader.bytes();
|
|
2693
|
+
break;
|
|
2549
2694
|
default:
|
|
2550
2695
|
let u = options.readUnknownField;
|
|
2551
2696
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2559,6 +2704,7 @@ var ResourceAPI_CreateStruct_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
2559
2704
|
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
2560
2705
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
2561
2706
|
if (message.data !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
2707
|
+
if (message.colorProof !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2562
2708
|
let u = options.writeUnknownFields;
|
|
2563
2709
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2564
2710
|
return writer;
|
|
@@ -2576,6 +2722,12 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2576
2722
|
kind: "scalar",
|
|
2577
2723
|
T: 4,
|
|
2578
2724
|
L: 0
|
|
2725
|
+
}, {
|
|
2726
|
+
no: 2,
|
|
2727
|
+
name: "resource_signature",
|
|
2728
|
+
kind: "scalar",
|
|
2729
|
+
opt: true,
|
|
2730
|
+
T: 12
|
|
2579
2731
|
}]);
|
|
2580
2732
|
}
|
|
2581
2733
|
create(value) {
|
|
@@ -2592,6 +2744,9 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2592
2744
|
case 1:
|
|
2593
2745
|
message.resourceId = reader.uint64().toBigInt();
|
|
2594
2746
|
break;
|
|
2747
|
+
case 2:
|
|
2748
|
+
message.resourceSignature = reader.bytes();
|
|
2749
|
+
break;
|
|
2595
2750
|
default:
|
|
2596
2751
|
let u = options.readUnknownField;
|
|
2597
2752
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2603,6 +2758,7 @@ var ResourceAPI_CreateStruct_Response$Type = class extends _protobuf_ts_runtime.
|
|
|
2603
2758
|
}
|
|
2604
2759
|
internalBinaryWrite(message, writer, options) {
|
|
2605
2760
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
2761
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
2606
2762
|
let u = options.writeUnknownFields;
|
|
2607
2763
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2608
2764
|
return writer;
|
|
@@ -2641,10 +2797,7 @@ var ResourceAPI_CreateEphemeral$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
2641
2797
|
return writer;
|
|
2642
2798
|
}
|
|
2643
2799
|
};
|
|
2644
|
-
|
|
2645
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.CreateEphemeral
|
|
2646
|
-
*/
|
|
2647
|
-
const ResourceAPI_CreateEphemeral = new ResourceAPI_CreateEphemeral$Type();
|
|
2800
|
+
new ResourceAPI_CreateEphemeral$Type();
|
|
2648
2801
|
var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2649
2802
|
constructor() {
|
|
2650
2803
|
super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request", [
|
|
@@ -2667,12 +2820,20 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2667
2820
|
kind: "scalar",
|
|
2668
2821
|
opt: true,
|
|
2669
2822
|
T: 12
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
no: 5,
|
|
2826
|
+
name: "color_proof",
|
|
2827
|
+
kind: "scalar",
|
|
2828
|
+
opt: true,
|
|
2829
|
+
T: 12
|
|
2670
2830
|
}
|
|
2671
2831
|
]);
|
|
2672
2832
|
}
|
|
2673
2833
|
create(value) {
|
|
2674
2834
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
2675
2835
|
message.id = 0n;
|
|
2836
|
+
message.colorProof = new Uint8Array(0);
|
|
2676
2837
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2677
2838
|
return message;
|
|
2678
2839
|
}
|
|
@@ -2690,6 +2851,9 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2690
2851
|
case 4:
|
|
2691
2852
|
message.data = reader.bytes();
|
|
2692
2853
|
break;
|
|
2854
|
+
case 5:
|
|
2855
|
+
message.colorProof = reader.bytes();
|
|
2856
|
+
break;
|
|
2693
2857
|
default:
|
|
2694
2858
|
let u = options.readUnknownField;
|
|
2695
2859
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2703,6 +2867,7 @@ var ResourceAPI_CreateEphemeral_Request$Type = class extends _protobuf_ts_runtim
|
|
|
2703
2867
|
if (message.id !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.id);
|
|
2704
2868
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
2705
2869
|
if (message.data !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
2870
|
+
if (message.colorProof !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
2706
2871
|
let u = options.writeUnknownFields;
|
|
2707
2872
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2708
2873
|
return writer;
|
|
@@ -2720,6 +2885,12 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2720
2885
|
kind: "scalar",
|
|
2721
2886
|
T: 4,
|
|
2722
2887
|
L: 0
|
|
2888
|
+
}, {
|
|
2889
|
+
no: 2,
|
|
2890
|
+
name: "resource_signature",
|
|
2891
|
+
kind: "scalar",
|
|
2892
|
+
opt: true,
|
|
2893
|
+
T: 12
|
|
2723
2894
|
}]);
|
|
2724
2895
|
}
|
|
2725
2896
|
create(value) {
|
|
@@ -2736,6 +2907,9 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2736
2907
|
case 1:
|
|
2737
2908
|
message.resourceId = reader.uint64().toBigInt();
|
|
2738
2909
|
break;
|
|
2910
|
+
case 2:
|
|
2911
|
+
message.resourceSignature = reader.bytes();
|
|
2912
|
+
break;
|
|
2739
2913
|
default:
|
|
2740
2914
|
let u = options.readUnknownField;
|
|
2741
2915
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -2747,6 +2921,7 @@ var ResourceAPI_CreateEphemeral_Response$Type = class extends _protobuf_ts_runti
|
|
|
2747
2921
|
}
|
|
2748
2922
|
internalBinaryWrite(message, writer, options) {
|
|
2749
2923
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
2924
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
2750
2925
|
let u = options.writeUnknownFields;
|
|
2751
2926
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2752
2927
|
return writer;
|
|
@@ -2785,10 +2960,7 @@ var ResourceAPI_CreateChild$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
2785
2960
|
return writer;
|
|
2786
2961
|
}
|
|
2787
2962
|
};
|
|
2788
|
-
|
|
2789
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.CreateChild
|
|
2790
|
-
*/
|
|
2791
|
-
const ResourceAPI_CreateChild = new ResourceAPI_CreateChild$Type();
|
|
2963
|
+
new ResourceAPI_CreateChild$Type();
|
|
2792
2964
|
var ResourceAPI_CreateChild_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2793
2965
|
constructor() {
|
|
2794
2966
|
super("MiLaboratories.PL.API.ResourceAPI.CreateChild.Request", [
|
|
@@ -2928,10 +3100,7 @@ var ResourceAPI_CreateValue$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
2928
3100
|
return writer;
|
|
2929
3101
|
}
|
|
2930
3102
|
};
|
|
2931
|
-
|
|
2932
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.CreateValue
|
|
2933
|
-
*/
|
|
2934
|
-
const ResourceAPI_CreateValue = new ResourceAPI_CreateValue$Type();
|
|
3103
|
+
new ResourceAPI_CreateValue$Type();
|
|
2935
3104
|
var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
2936
3105
|
constructor() {
|
|
2937
3106
|
super("MiLaboratories.PL.API.ResourceAPI.CreateValue.Request", [
|
|
@@ -2959,6 +3128,13 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
2959
3128
|
name: "error_if_exists",
|
|
2960
3129
|
kind: "scalar",
|
|
2961
3130
|
T: 8
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
no: 8,
|
|
3134
|
+
name: "color_proof",
|
|
3135
|
+
kind: "scalar",
|
|
3136
|
+
opt: true,
|
|
3137
|
+
T: 12
|
|
2962
3138
|
}
|
|
2963
3139
|
]);
|
|
2964
3140
|
}
|
|
@@ -2967,6 +3143,7 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
2967
3143
|
message.id = 0n;
|
|
2968
3144
|
message.data = new Uint8Array(0);
|
|
2969
3145
|
message.errorIfExists = false;
|
|
3146
|
+
message.colorProof = new Uint8Array(0);
|
|
2970
3147
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
2971
3148
|
return message;
|
|
2972
3149
|
}
|
|
@@ -2987,6 +3164,9 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
2987
3164
|
case 7:
|
|
2988
3165
|
message.errorIfExists = reader.bool();
|
|
2989
3166
|
break;
|
|
3167
|
+
case 8:
|
|
3168
|
+
message.colorProof = reader.bytes();
|
|
3169
|
+
break;
|
|
2990
3170
|
default:
|
|
2991
3171
|
let u = options.readUnknownField;
|
|
2992
3172
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3001,6 +3181,7 @@ var ResourceAPI_CreateValue_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3001
3181
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
3002
3182
|
if (message.data.length) writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
3003
3183
|
if (message.errorIfExists !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.errorIfExists);
|
|
3184
|
+
if (message.colorProof !== void 0) writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
3004
3185
|
let u = options.writeUnknownFields;
|
|
3005
3186
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3006
3187
|
return writer;
|
|
@@ -3018,6 +3199,12 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3018
3199
|
kind: "scalar",
|
|
3019
3200
|
T: 4,
|
|
3020
3201
|
L: 0
|
|
3202
|
+
}, {
|
|
3203
|
+
no: 2,
|
|
3204
|
+
name: "resource_signature",
|
|
3205
|
+
kind: "scalar",
|
|
3206
|
+
opt: true,
|
|
3207
|
+
T: 12
|
|
3021
3208
|
}]);
|
|
3022
3209
|
}
|
|
3023
3210
|
create(value) {
|
|
@@ -3034,6 +3221,9 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3034
3221
|
case 1:
|
|
3035
3222
|
message.resourceId = reader.uint64().toBigInt();
|
|
3036
3223
|
break;
|
|
3224
|
+
case 2:
|
|
3225
|
+
message.resourceSignature = reader.bytes();
|
|
3226
|
+
break;
|
|
3037
3227
|
default:
|
|
3038
3228
|
let u = options.readUnknownField;
|
|
3039
3229
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3045,6 +3235,7 @@ var ResourceAPI_CreateValue_Response$Type = class extends _protobuf_ts_runtime.M
|
|
|
3045
3235
|
}
|
|
3046
3236
|
internalBinaryWrite(message, writer, options) {
|
|
3047
3237
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3238
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3048
3239
|
let u = options.writeUnknownFields;
|
|
3049
3240
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3050
3241
|
return writer;
|
|
@@ -3083,10 +3274,7 @@ var ResourceAPI_GetValueID$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
3083
3274
|
return writer;
|
|
3084
3275
|
}
|
|
3085
3276
|
};
|
|
3086
|
-
|
|
3087
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.GetValueID
|
|
3088
|
-
*/
|
|
3089
|
-
const ResourceAPI_GetValueID = new ResourceAPI_GetValueID$Type();
|
|
3277
|
+
new ResourceAPI_GetValueID$Type();
|
|
3090
3278
|
var ResourceAPI_GetValueID_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3091
3279
|
constructor() {
|
|
3092
3280
|
super("MiLaboratories.PL.API.ResourceAPI.GetValueID.Request", [{
|
|
@@ -3147,6 +3335,12 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3147
3335
|
kind: "scalar",
|
|
3148
3336
|
T: 4,
|
|
3149
3337
|
L: 0
|
|
3338
|
+
}, {
|
|
3339
|
+
no: 2,
|
|
3340
|
+
name: "resource_signature",
|
|
3341
|
+
kind: "scalar",
|
|
3342
|
+
opt: true,
|
|
3343
|
+
T: 12
|
|
3150
3344
|
}]);
|
|
3151
3345
|
}
|
|
3152
3346
|
create(value) {
|
|
@@ -3163,6 +3357,9 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3163
3357
|
case 1:
|
|
3164
3358
|
message.resourceId = reader.uint64().toBigInt();
|
|
3165
3359
|
break;
|
|
3360
|
+
case 2:
|
|
3361
|
+
message.resourceSignature = reader.bytes();
|
|
3362
|
+
break;
|
|
3166
3363
|
default:
|
|
3167
3364
|
let u = options.readUnknownField;
|
|
3168
3365
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3174,6 +3371,7 @@ var ResourceAPI_GetValueID_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3174
3371
|
}
|
|
3175
3372
|
internalBinaryWrite(message, writer, options) {
|
|
3176
3373
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3374
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3177
3375
|
let u = options.writeUnknownFields;
|
|
3178
3376
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3179
3377
|
return writer;
|
|
@@ -3212,10 +3410,7 @@ var ResourceAPI_CreateSingleton$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
3212
3410
|
return writer;
|
|
3213
3411
|
}
|
|
3214
3412
|
};
|
|
3215
|
-
|
|
3216
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.CreateSingleton
|
|
3217
|
-
*/
|
|
3218
|
-
const ResourceAPI_CreateSingleton = new ResourceAPI_CreateSingleton$Type();
|
|
3413
|
+
new ResourceAPI_CreateSingleton$Type();
|
|
3219
3414
|
var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3220
3415
|
constructor() {
|
|
3221
3416
|
super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request", [
|
|
@@ -3243,6 +3438,13 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3243
3438
|
name: "error_if_exists",
|
|
3244
3439
|
kind: "scalar",
|
|
3245
3440
|
T: 8
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
no: 8,
|
|
3444
|
+
name: "color_proof",
|
|
3445
|
+
kind: "scalar",
|
|
3446
|
+
opt: true,
|
|
3447
|
+
T: 12
|
|
3246
3448
|
}
|
|
3247
3449
|
]);
|
|
3248
3450
|
}
|
|
@@ -3251,6 +3453,7 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3251
3453
|
message.id = 0n;
|
|
3252
3454
|
message.data = new Uint8Array(0);
|
|
3253
3455
|
message.errorIfExists = false;
|
|
3456
|
+
message.colorProof = new Uint8Array(0);
|
|
3254
3457
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
3255
3458
|
return message;
|
|
3256
3459
|
}
|
|
@@ -3271,6 +3474,9 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3271
3474
|
case 7:
|
|
3272
3475
|
message.errorIfExists = reader.bool();
|
|
3273
3476
|
break;
|
|
3477
|
+
case 8:
|
|
3478
|
+
message.colorProof = reader.bytes();
|
|
3479
|
+
break;
|
|
3274
3480
|
default:
|
|
3275
3481
|
let u = options.readUnknownField;
|
|
3276
3482
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3285,6 +3491,7 @@ var ResourceAPI_CreateSingleton_Request$Type = class extends _protobuf_ts_runtim
|
|
|
3285
3491
|
if (message.type) require_base_types.ResourceType.internalBinaryWrite(message.type, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
3286
3492
|
if (message.data.length) writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.data);
|
|
3287
3493
|
if (message.errorIfExists !== false) writer.tag(7, _protobuf_ts_runtime.WireType.Varint).bool(message.errorIfExists);
|
|
3494
|
+
if (message.colorProof !== void 0) writer.tag(8, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.colorProof);
|
|
3288
3495
|
let u = options.writeUnknownFields;
|
|
3289
3496
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3290
3497
|
return writer;
|
|
@@ -3302,6 +3509,12 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3302
3509
|
kind: "scalar",
|
|
3303
3510
|
T: 4,
|
|
3304
3511
|
L: 0
|
|
3512
|
+
}, {
|
|
3513
|
+
no: 2,
|
|
3514
|
+
name: "resource_signature",
|
|
3515
|
+
kind: "scalar",
|
|
3516
|
+
opt: true,
|
|
3517
|
+
T: 12
|
|
3305
3518
|
}]);
|
|
3306
3519
|
}
|
|
3307
3520
|
create(value) {
|
|
@@ -3318,6 +3531,9 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3318
3531
|
case 1:
|
|
3319
3532
|
message.resourceId = reader.uint64().toBigInt();
|
|
3320
3533
|
break;
|
|
3534
|
+
case 2:
|
|
3535
|
+
message.resourceSignature = reader.bytes();
|
|
3536
|
+
break;
|
|
3321
3537
|
default:
|
|
3322
3538
|
let u = options.readUnknownField;
|
|
3323
3539
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3329,6 +3545,7 @@ var ResourceAPI_CreateSingleton_Response$Type = class extends _protobuf_ts_runti
|
|
|
3329
3545
|
}
|
|
3330
3546
|
internalBinaryWrite(message, writer, options) {
|
|
3331
3547
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3548
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3332
3549
|
let u = options.writeUnknownFields;
|
|
3333
3550
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3334
3551
|
return writer;
|
|
@@ -3367,10 +3584,7 @@ var ResourceAPI_GetSingleton$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
3367
3584
|
return writer;
|
|
3368
3585
|
}
|
|
3369
3586
|
};
|
|
3370
|
-
|
|
3371
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.GetSingleton
|
|
3372
|
-
*/
|
|
3373
|
-
const ResourceAPI_GetSingleton = new ResourceAPI_GetSingleton$Type();
|
|
3587
|
+
new ResourceAPI_GetSingleton$Type();
|
|
3374
3588
|
var ResourceAPI_GetSingleton_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3375
3589
|
constructor() {
|
|
3376
3590
|
super("MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request", [
|
|
@@ -3508,10 +3722,7 @@ var ResourceAPI_LockInputs$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
3508
3722
|
return writer;
|
|
3509
3723
|
}
|
|
3510
3724
|
};
|
|
3511
|
-
|
|
3512
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.LockInputs
|
|
3513
|
-
*/
|
|
3514
|
-
const ResourceAPI_LockInputs = new ResourceAPI_LockInputs$Type();
|
|
3725
|
+
new ResourceAPI_LockInputs$Type();
|
|
3515
3726
|
var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3516
3727
|
constructor() {
|
|
3517
3728
|
super("MiLaboratories.PL.API.ResourceAPI.LockInputs.Request", [{
|
|
@@ -3520,6 +3731,12 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3520
3731
|
kind: "scalar",
|
|
3521
3732
|
T: 4,
|
|
3522
3733
|
L: 0
|
|
3734
|
+
}, {
|
|
3735
|
+
no: 2,
|
|
3736
|
+
name: "resource_signature",
|
|
3737
|
+
kind: "scalar",
|
|
3738
|
+
opt: true,
|
|
3739
|
+
T: 12
|
|
3523
3740
|
}]);
|
|
3524
3741
|
}
|
|
3525
3742
|
create(value) {
|
|
@@ -3536,6 +3753,9 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3536
3753
|
case 1:
|
|
3537
3754
|
message.resourceId = reader.uint64().toBigInt();
|
|
3538
3755
|
break;
|
|
3756
|
+
case 2:
|
|
3757
|
+
message.resourceSignature = reader.bytes();
|
|
3758
|
+
break;
|
|
3539
3759
|
default:
|
|
3540
3760
|
let u = options.readUnknownField;
|
|
3541
3761
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3547,6 +3767,7 @@ var ResourceAPI_LockInputs_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
3547
3767
|
}
|
|
3548
3768
|
internalBinaryWrite(message, writer, options) {
|
|
3549
3769
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3770
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3550
3771
|
let u = options.writeUnknownFields;
|
|
3551
3772
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3552
3773
|
return writer;
|
|
@@ -3618,10 +3839,7 @@ var ResourceAPI_LockOutputs$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
3618
3839
|
return writer;
|
|
3619
3840
|
}
|
|
3620
3841
|
};
|
|
3621
|
-
|
|
3622
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.LockOutputs
|
|
3623
|
-
*/
|
|
3624
|
-
const ResourceAPI_LockOutputs = new ResourceAPI_LockOutputs$Type();
|
|
3842
|
+
new ResourceAPI_LockOutputs$Type();
|
|
3625
3843
|
var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3626
3844
|
constructor() {
|
|
3627
3845
|
super("MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request", [{
|
|
@@ -3630,6 +3848,12 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3630
3848
|
kind: "scalar",
|
|
3631
3849
|
T: 4,
|
|
3632
3850
|
L: 0
|
|
3851
|
+
}, {
|
|
3852
|
+
no: 2,
|
|
3853
|
+
name: "resource_signature",
|
|
3854
|
+
kind: "scalar",
|
|
3855
|
+
opt: true,
|
|
3856
|
+
T: 12
|
|
3633
3857
|
}]);
|
|
3634
3858
|
}
|
|
3635
3859
|
create(value) {
|
|
@@ -3646,6 +3870,9 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3646
3870
|
case 1:
|
|
3647
3871
|
message.resourceId = reader.uint64().toBigInt();
|
|
3648
3872
|
break;
|
|
3873
|
+
case 2:
|
|
3874
|
+
message.resourceSignature = reader.bytes();
|
|
3875
|
+
break;
|
|
3649
3876
|
default:
|
|
3650
3877
|
let u = options.readUnknownField;
|
|
3651
3878
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3657,6 +3884,7 @@ var ResourceAPI_LockOutputs_Request$Type = class extends _protobuf_ts_runtime.Me
|
|
|
3657
3884
|
}
|
|
3658
3885
|
internalBinaryWrite(message, writer, options) {
|
|
3659
3886
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3887
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3660
3888
|
let u = options.writeUnknownFields;
|
|
3661
3889
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3662
3890
|
return writer;
|
|
@@ -3728,10 +3956,7 @@ var ResourceAPI_Exists$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
3728
3956
|
return writer;
|
|
3729
3957
|
}
|
|
3730
3958
|
};
|
|
3731
|
-
|
|
3732
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Exists
|
|
3733
|
-
*/
|
|
3734
|
-
const ResourceAPI_Exists = new ResourceAPI_Exists$Type();
|
|
3959
|
+
new ResourceAPI_Exists$Type();
|
|
3735
3960
|
var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3736
3961
|
constructor() {
|
|
3737
3962
|
super("MiLaboratories.PL.API.ResourceAPI.Exists.Request", [{
|
|
@@ -3740,6 +3965,12 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3740
3965
|
kind: "scalar",
|
|
3741
3966
|
T: 4,
|
|
3742
3967
|
L: 0
|
|
3968
|
+
}, {
|
|
3969
|
+
no: 2,
|
|
3970
|
+
name: "resource_signature",
|
|
3971
|
+
kind: "scalar",
|
|
3972
|
+
opt: true,
|
|
3973
|
+
T: 12
|
|
3743
3974
|
}]);
|
|
3744
3975
|
}
|
|
3745
3976
|
create(value) {
|
|
@@ -3756,6 +3987,9 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3756
3987
|
case 1:
|
|
3757
3988
|
message.resourceId = reader.uint64().toBigInt();
|
|
3758
3989
|
break;
|
|
3990
|
+
case 2:
|
|
3991
|
+
message.resourceSignature = reader.bytes();
|
|
3992
|
+
break;
|
|
3759
3993
|
default:
|
|
3760
3994
|
let u = options.readUnknownField;
|
|
3761
3995
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3767,6 +4001,7 @@ var ResourceAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
3767
4001
|
}
|
|
3768
4002
|
internalBinaryWrite(message, writer, options) {
|
|
3769
4003
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4004
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
3770
4005
|
let u = options.writeUnknownFields;
|
|
3771
4006
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3772
4007
|
return writer;
|
|
@@ -3848,28 +4083,42 @@ var ResourceAPI_SetError$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
3848
4083
|
return writer;
|
|
3849
4084
|
}
|
|
3850
4085
|
};
|
|
3851
|
-
|
|
3852
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.SetError
|
|
3853
|
-
*/
|
|
3854
|
-
const ResourceAPI_SetError = new ResourceAPI_SetError$Type();
|
|
4086
|
+
new ResourceAPI_SetError$Type();
|
|
3855
4087
|
var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3856
4088
|
constructor() {
|
|
3857
|
-
super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
4089
|
+
super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
|
|
4090
|
+
{
|
|
4091
|
+
no: 1,
|
|
4092
|
+
name: "resource_id",
|
|
4093
|
+
kind: "scalar",
|
|
4094
|
+
T: 4,
|
|
4095
|
+
L: 0
|
|
4096
|
+
},
|
|
4097
|
+
{
|
|
4098
|
+
no: 3,
|
|
4099
|
+
name: "resource_signature",
|
|
4100
|
+
kind: "scalar",
|
|
4101
|
+
opt: true,
|
|
4102
|
+
T: 12
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
no: 2,
|
|
4106
|
+
name: "error_resource_id",
|
|
4107
|
+
kind: "scalar",
|
|
4108
|
+
T: 4,
|
|
4109
|
+
L: 0
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
no: 4,
|
|
4113
|
+
name: "error_resource_signature",
|
|
4114
|
+
kind: "scalar",
|
|
4115
|
+
opt: true,
|
|
4116
|
+
T: 12
|
|
4117
|
+
}
|
|
4118
|
+
]);
|
|
4119
|
+
}
|
|
4120
|
+
create(value) {
|
|
4121
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
3873
4122
|
message.resourceId = 0n;
|
|
3874
4123
|
message.errorResourceId = 0n;
|
|
3875
4124
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
@@ -3883,9 +4132,15 @@ var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
3883
4132
|
case 1:
|
|
3884
4133
|
message.resourceId = reader.uint64().toBigInt();
|
|
3885
4134
|
break;
|
|
4135
|
+
case 3:
|
|
4136
|
+
message.resourceSignature = reader.bytes();
|
|
4137
|
+
break;
|
|
3886
4138
|
case 2:
|
|
3887
4139
|
message.errorResourceId = reader.uint64().toBigInt();
|
|
3888
4140
|
break;
|
|
4141
|
+
case 4:
|
|
4142
|
+
message.errorResourceSignature = reader.bytes();
|
|
4143
|
+
break;
|
|
3889
4144
|
default:
|
|
3890
4145
|
let u = options.readUnknownField;
|
|
3891
4146
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -3898,6 +4153,8 @@ var ResourceAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
3898
4153
|
internalBinaryWrite(message, writer, options) {
|
|
3899
4154
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
3900
4155
|
if (message.errorResourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.errorResourceId);
|
|
4156
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4157
|
+
if (message.errorResourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.errorResourceSignature);
|
|
3901
4158
|
let u = options.writeUnknownFields;
|
|
3902
4159
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3903
4160
|
return writer;
|
|
@@ -3969,24 +4226,31 @@ var ResourceAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
3969
4226
|
return writer;
|
|
3970
4227
|
}
|
|
3971
4228
|
};
|
|
3972
|
-
|
|
3973
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Get
|
|
3974
|
-
*/
|
|
3975
|
-
const ResourceAPI_Get = new ResourceAPI_Get$Type();
|
|
4229
|
+
new ResourceAPI_Get$Type();
|
|
3976
4230
|
var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
3977
4231
|
constructor() {
|
|
3978
|
-
super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
4232
|
+
super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
|
|
4233
|
+
{
|
|
4234
|
+
no: 1,
|
|
4235
|
+
name: "resource_id",
|
|
4236
|
+
kind: "scalar",
|
|
4237
|
+
T: 4,
|
|
4238
|
+
L: 0
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
no: 3,
|
|
4242
|
+
name: "resource_signature",
|
|
4243
|
+
kind: "scalar",
|
|
4244
|
+
opt: true,
|
|
4245
|
+
T: 12
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
no: 2,
|
|
4249
|
+
name: "load_fields",
|
|
4250
|
+
kind: "scalar",
|
|
4251
|
+
T: 8
|
|
4252
|
+
}
|
|
4253
|
+
]);
|
|
3990
4254
|
}
|
|
3991
4255
|
create(value) {
|
|
3992
4256
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -4003,6 +4267,9 @@ var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4003
4267
|
case 1:
|
|
4004
4268
|
message.resourceId = reader.uint64().toBigInt();
|
|
4005
4269
|
break;
|
|
4270
|
+
case 3:
|
|
4271
|
+
message.resourceSignature = reader.bytes();
|
|
4272
|
+
break;
|
|
4006
4273
|
case 2:
|
|
4007
4274
|
message.loadFields = reader.bool();
|
|
4008
4275
|
break;
|
|
@@ -4018,6 +4285,7 @@ var ResourceAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4018
4285
|
internalBinaryWrite(message, writer, options) {
|
|
4019
4286
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4020
4287
|
if (message.loadFields !== false) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).bool(message.loadFields);
|
|
4288
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4021
4289
|
let u = options.writeUnknownFields;
|
|
4022
4290
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4023
4291
|
return writer;
|
|
@@ -4098,10 +4366,7 @@ var ResourceAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4098
4366
|
return writer;
|
|
4099
4367
|
}
|
|
4100
4368
|
};
|
|
4101
|
-
|
|
4102
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.List
|
|
4103
|
-
*/
|
|
4104
|
-
const ResourceAPI_List = new ResourceAPI_List$Type();
|
|
4369
|
+
new ResourceAPI_List$Type();
|
|
4105
4370
|
var ResourceAPI_List_ByType$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4106
4371
|
constructor() {
|
|
4107
4372
|
super("MiLaboratories.PL.API.ResourceAPI.List.ByType", []);
|
|
@@ -4131,10 +4396,7 @@ var ResourceAPI_List_ByType$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4131
4396
|
return writer;
|
|
4132
4397
|
}
|
|
4133
4398
|
};
|
|
4134
|
-
|
|
4135
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.List.ByType
|
|
4136
|
-
*/
|
|
4137
|
-
const ResourceAPI_List_ByType = new ResourceAPI_List_ByType$Type();
|
|
4399
|
+
new ResourceAPI_List_ByType$Type();
|
|
4138
4400
|
var ResourceAPI_List_ByType_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4139
4401
|
constructor() {
|
|
4140
4402
|
super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Request", [
|
|
@@ -4295,10 +4557,7 @@ var ResourceAPI_CreateRoot$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
4295
4557
|
return writer;
|
|
4296
4558
|
}
|
|
4297
4559
|
};
|
|
4298
|
-
|
|
4299
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.CreateRoot
|
|
4300
|
-
*/
|
|
4301
|
-
const ResourceAPI_CreateRoot = new ResourceAPI_CreateRoot$Type();
|
|
4560
|
+
new ResourceAPI_CreateRoot$Type();
|
|
4302
4561
|
var ResourceAPI_CreateRoot_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4303
4562
|
constructor() {
|
|
4304
4563
|
super("MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request", [{
|
|
@@ -4360,6 +4619,12 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4360
4619
|
kind: "scalar",
|
|
4361
4620
|
T: 4,
|
|
4362
4621
|
L: 0
|
|
4622
|
+
}, {
|
|
4623
|
+
no: 2,
|
|
4624
|
+
name: "resource_signature",
|
|
4625
|
+
kind: "scalar",
|
|
4626
|
+
opt: true,
|
|
4627
|
+
T: 12
|
|
4363
4628
|
}]);
|
|
4364
4629
|
}
|
|
4365
4630
|
create(value) {
|
|
@@ -4376,6 +4641,9 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4376
4641
|
case 1:
|
|
4377
4642
|
message.resourceId = reader.uint64().toBigInt();
|
|
4378
4643
|
break;
|
|
4644
|
+
case 2:
|
|
4645
|
+
message.resourceSignature = reader.bytes();
|
|
4646
|
+
break;
|
|
4379
4647
|
default:
|
|
4380
4648
|
let u = options.readUnknownField;
|
|
4381
4649
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -4387,6 +4655,7 @@ var ResourceAPI_CreateRoot_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
4387
4655
|
}
|
|
4388
4656
|
internalBinaryWrite(message, writer, options) {
|
|
4389
4657
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4658
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4390
4659
|
let u = options.writeUnknownFields;
|
|
4391
4660
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4392
4661
|
return writer;
|
|
@@ -4425,23 +4694,26 @@ var ResourceAPI_Remove$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4425
4694
|
return writer;
|
|
4426
4695
|
}
|
|
4427
4696
|
};
|
|
4428
|
-
|
|
4429
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Remove
|
|
4430
|
-
*/
|
|
4431
|
-
const ResourceAPI_Remove = new ResourceAPI_Remove$Type();
|
|
4697
|
+
new ResourceAPI_Remove$Type();
|
|
4432
4698
|
var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4433
4699
|
constructor() {
|
|
4434
4700
|
super("MiLaboratories.PL.API.ResourceAPI.Remove.Request", [{
|
|
4435
4701
|
no: 1,
|
|
4436
|
-
name: "
|
|
4702
|
+
name: "resource_id",
|
|
4437
4703
|
kind: "scalar",
|
|
4438
4704
|
T: 4,
|
|
4439
4705
|
L: 0
|
|
4706
|
+
}, {
|
|
4707
|
+
no: 2,
|
|
4708
|
+
name: "resource_signature",
|
|
4709
|
+
kind: "scalar",
|
|
4710
|
+
opt: true,
|
|
4711
|
+
T: 12
|
|
4440
4712
|
}]);
|
|
4441
4713
|
}
|
|
4442
4714
|
create(value) {
|
|
4443
4715
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
4444
|
-
message.
|
|
4716
|
+
message.resourceId = 0n;
|
|
4445
4717
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
4446
4718
|
return message;
|
|
4447
4719
|
}
|
|
@@ -4451,7 +4723,10 @@ var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
4451
4723
|
let [fieldNo, wireType] = reader.tag();
|
|
4452
4724
|
switch (fieldNo) {
|
|
4453
4725
|
case 1:
|
|
4454
|
-
message.
|
|
4726
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
4727
|
+
break;
|
|
4728
|
+
case 2:
|
|
4729
|
+
message.resourceSignature = reader.bytes();
|
|
4455
4730
|
break;
|
|
4456
4731
|
default:
|
|
4457
4732
|
let u = options.readUnknownField;
|
|
@@ -4463,7 +4738,8 @@ var ResourceAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
4463
4738
|
return message;
|
|
4464
4739
|
}
|
|
4465
4740
|
internalBinaryWrite(message, writer, options) {
|
|
4466
|
-
if (message.
|
|
4741
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4742
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4467
4743
|
let u = options.writeUnknownFields;
|
|
4468
4744
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4469
4745
|
return writer;
|
|
@@ -4535,10 +4811,7 @@ var ResourceAPI_Name$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4535
4811
|
return writer;
|
|
4536
4812
|
}
|
|
4537
4813
|
};
|
|
4538
|
-
|
|
4539
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Name
|
|
4540
|
-
*/
|
|
4541
|
-
const ResourceAPI_Name = new ResourceAPI_Name$Type();
|
|
4814
|
+
new ResourceAPI_Name$Type();
|
|
4542
4815
|
var ResourceAPI_Name_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4543
4816
|
constructor() {
|
|
4544
4817
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Set", []);
|
|
@@ -4568,24 +4841,31 @@ var ResourceAPI_Name_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4568
4841
|
return writer;
|
|
4569
4842
|
}
|
|
4570
4843
|
};
|
|
4571
|
-
|
|
4572
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Set
|
|
4573
|
-
*/
|
|
4574
|
-
const ResourceAPI_Name_Set = new ResourceAPI_Name_Set$Type();
|
|
4844
|
+
new ResourceAPI_Name_Set$Type();
|
|
4575
4845
|
var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4576
4846
|
constructor() {
|
|
4577
|
-
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4847
|
+
super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
|
|
4848
|
+
{
|
|
4849
|
+
no: 1,
|
|
4850
|
+
name: "resource_id",
|
|
4851
|
+
kind: "scalar",
|
|
4852
|
+
T: 4,
|
|
4853
|
+
L: 0
|
|
4854
|
+
},
|
|
4855
|
+
{
|
|
4856
|
+
no: 3,
|
|
4857
|
+
name: "resource_signature",
|
|
4858
|
+
kind: "scalar",
|
|
4859
|
+
opt: true,
|
|
4860
|
+
T: 12
|
|
4861
|
+
},
|
|
4862
|
+
{
|
|
4863
|
+
no: 2,
|
|
4864
|
+
name: "name",
|
|
4865
|
+
kind: "scalar",
|
|
4866
|
+
T: 9
|
|
4867
|
+
}
|
|
4868
|
+
]);
|
|
4589
4869
|
}
|
|
4590
4870
|
create(value) {
|
|
4591
4871
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -4602,6 +4882,9 @@ var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
4602
4882
|
case 1:
|
|
4603
4883
|
message.resourceId = reader.uint64().toBigInt();
|
|
4604
4884
|
break;
|
|
4885
|
+
case 3:
|
|
4886
|
+
message.resourceSignature = reader.bytes();
|
|
4887
|
+
break;
|
|
4605
4888
|
case 2:
|
|
4606
4889
|
message.name = reader.string();
|
|
4607
4890
|
break;
|
|
@@ -4617,6 +4900,7 @@ var ResourceAPI_Name_Set_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
4617
4900
|
internalBinaryWrite(message, writer, options) {
|
|
4618
4901
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
4619
4902
|
if (message.name !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
4903
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4620
4904
|
let u = options.writeUnknownFields;
|
|
4621
4905
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4622
4906
|
return writer;
|
|
@@ -4688,10 +4972,7 @@ var ResourceAPI_Name_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
4688
4972
|
return writer;
|
|
4689
4973
|
}
|
|
4690
4974
|
};
|
|
4691
|
-
|
|
4692
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Get
|
|
4693
|
-
*/
|
|
4694
|
-
const ResourceAPI_Name_Get = new ResourceAPI_Name_Get$Type();
|
|
4975
|
+
new ResourceAPI_Name_Get$Type();
|
|
4695
4976
|
var ResourceAPI_Name_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4696
4977
|
constructor() {
|
|
4697
4978
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Get.Request", [{
|
|
@@ -4743,6 +5024,12 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4743
5024
|
kind: "scalar",
|
|
4744
5025
|
T: 4,
|
|
4745
5026
|
L: 0
|
|
5027
|
+
}, {
|
|
5028
|
+
no: 2,
|
|
5029
|
+
name: "resource_signature",
|
|
5030
|
+
kind: "scalar",
|
|
5031
|
+
opt: true,
|
|
5032
|
+
T: 12
|
|
4746
5033
|
}]);
|
|
4747
5034
|
}
|
|
4748
5035
|
create(value) {
|
|
@@ -4759,6 +5046,9 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4759
5046
|
case 1:
|
|
4760
5047
|
message.resourceId = reader.uint64().toBigInt();
|
|
4761
5048
|
break;
|
|
5049
|
+
case 2:
|
|
5050
|
+
message.resourceSignature = reader.bytes();
|
|
5051
|
+
break;
|
|
4762
5052
|
default:
|
|
4763
5053
|
let u = options.readUnknownField;
|
|
4764
5054
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -4770,6 +5060,7 @@ var ResourceAPI_Name_Get_Response$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
4770
5060
|
}
|
|
4771
5061
|
internalBinaryWrite(message, writer, options) {
|
|
4772
5062
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5063
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
4773
5064
|
let u = options.writeUnknownFields;
|
|
4774
5065
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4775
5066
|
return writer;
|
|
@@ -4808,10 +5099,7 @@ var ResourceAPI_Name_Exists$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4808
5099
|
return writer;
|
|
4809
5100
|
}
|
|
4810
5101
|
};
|
|
4811
|
-
|
|
4812
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Exists
|
|
4813
|
-
*/
|
|
4814
|
-
const ResourceAPI_Name_Exists = new ResourceAPI_Name_Exists$Type();
|
|
5102
|
+
new ResourceAPI_Name_Exists$Type();
|
|
4815
5103
|
var ResourceAPI_Name_Exists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4816
5104
|
constructor() {
|
|
4817
5105
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request", [{
|
|
@@ -4927,10 +5215,7 @@ var ResourceAPI_Name_Delete$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
4927
5215
|
return writer;
|
|
4928
5216
|
}
|
|
4929
5217
|
};
|
|
4930
|
-
|
|
4931
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Delete
|
|
4932
|
-
*/
|
|
4933
|
-
const ResourceAPI_Name_Delete = new ResourceAPI_Name_Delete$Type();
|
|
5218
|
+
new ResourceAPI_Name_Delete$Type();
|
|
4934
5219
|
var ResourceAPI_Name_Delete_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
4935
5220
|
constructor() {
|
|
4936
5221
|
super("MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request", [{
|
|
@@ -5036,25 +5321,32 @@ var ResourceAPI_Tree$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5036
5321
|
return writer;
|
|
5037
5322
|
}
|
|
5038
5323
|
};
|
|
5039
|
-
|
|
5040
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree
|
|
5041
|
-
*/
|
|
5042
|
-
const ResourceAPI_Tree = new ResourceAPI_Tree$Type();
|
|
5324
|
+
new ResourceAPI_Tree$Type();
|
|
5043
5325
|
var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5044
5326
|
constructor() {
|
|
5045
|
-
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5327
|
+
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
5328
|
+
{
|
|
5329
|
+
no: 1,
|
|
5330
|
+
name: "resource_id",
|
|
5331
|
+
kind: "scalar",
|
|
5332
|
+
T: 4,
|
|
5333
|
+
L: 0
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
no: 3,
|
|
5337
|
+
name: "resource_signature",
|
|
5338
|
+
kind: "scalar",
|
|
5339
|
+
opt: true,
|
|
5340
|
+
T: 12
|
|
5341
|
+
},
|
|
5342
|
+
{
|
|
5343
|
+
no: 2,
|
|
5344
|
+
name: "max_depth",
|
|
5345
|
+
kind: "scalar",
|
|
5346
|
+
opt: true,
|
|
5347
|
+
T: 13
|
|
5348
|
+
}
|
|
5349
|
+
]);
|
|
5058
5350
|
}
|
|
5059
5351
|
create(value) {
|
|
5060
5352
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -5070,6 +5362,9 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
5070
5362
|
case 1:
|
|
5071
5363
|
message.resourceId = reader.uint64().toBigInt();
|
|
5072
5364
|
break;
|
|
5365
|
+
case 3:
|
|
5366
|
+
message.resourceSignature = reader.bytes();
|
|
5367
|
+
break;
|
|
5073
5368
|
case 2:
|
|
5074
5369
|
message.maxDepth = reader.uint32();
|
|
5075
5370
|
break;
|
|
@@ -5085,6 +5380,7 @@ var ResourceAPI_Tree_Request$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
5085
5380
|
internalBinaryWrite(message, writer, options) {
|
|
5086
5381
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5087
5382
|
if (message.maxDepth !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint32(message.maxDepth);
|
|
5383
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
5088
5384
|
let u = options.writeUnknownFields;
|
|
5089
5385
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5090
5386
|
return writer;
|
|
@@ -5165,10 +5461,7 @@ var ResourceAPI_TreeSize$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5165
5461
|
return writer;
|
|
5166
5462
|
}
|
|
5167
5463
|
};
|
|
5168
|
-
|
|
5169
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize
|
|
5170
|
-
*/
|
|
5171
|
-
const ResourceAPI_TreeSize = new ResourceAPI_TreeSize$Type();
|
|
5464
|
+
new ResourceAPI_TreeSize$Type();
|
|
5172
5465
|
var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5173
5466
|
constructor() {
|
|
5174
5467
|
super("MiLaboratories.PL.API.ResourceAPI.TreeSize.Request", [{
|
|
@@ -5177,6 +5470,12 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5177
5470
|
kind: "scalar",
|
|
5178
5471
|
T: 4,
|
|
5179
5472
|
L: 0
|
|
5473
|
+
}, {
|
|
5474
|
+
no: 2,
|
|
5475
|
+
name: "resource_signature",
|
|
5476
|
+
kind: "scalar",
|
|
5477
|
+
opt: true,
|
|
5478
|
+
T: 12
|
|
5180
5479
|
}]);
|
|
5181
5480
|
}
|
|
5182
5481
|
create(value) {
|
|
@@ -5193,6 +5492,9 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5193
5492
|
case 1:
|
|
5194
5493
|
message.resourceId = reader.uint64().toBigInt();
|
|
5195
5494
|
break;
|
|
5495
|
+
case 2:
|
|
5496
|
+
message.resourceSignature = reader.bytes();
|
|
5497
|
+
break;
|
|
5196
5498
|
default:
|
|
5197
5499
|
let u = options.readUnknownField;
|
|
5198
5500
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -5204,6 +5506,7 @@ var ResourceAPI_TreeSize_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
5204
5506
|
}
|
|
5205
5507
|
internalBinaryWrite(message, writer, options) {
|
|
5206
5508
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
5509
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
5207
5510
|
let u = options.writeUnknownFields;
|
|
5208
5511
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5209
5512
|
return writer;
|
|
@@ -5297,10 +5600,7 @@ var FieldAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5297
5600
|
return writer;
|
|
5298
5601
|
}
|
|
5299
5602
|
};
|
|
5300
|
-
|
|
5301
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI
|
|
5302
|
-
*/
|
|
5303
|
-
const FieldAPI = new FieldAPI$Type();
|
|
5603
|
+
new FieldAPI$Type();
|
|
5304
5604
|
var FieldAPI_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5305
5605
|
constructor() {
|
|
5306
5606
|
super("MiLaboratories.PL.API.FieldAPI.Create", []);
|
|
@@ -5330,10 +5630,7 @@ var FieldAPI_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5330
5630
|
return writer;
|
|
5331
5631
|
}
|
|
5332
5632
|
};
|
|
5333
|
-
|
|
5334
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Create
|
|
5335
|
-
*/
|
|
5336
|
-
const FieldAPI_Create = new FieldAPI_Create$Type();
|
|
5633
|
+
new FieldAPI_Create$Type();
|
|
5337
5634
|
var FieldAPI_Create_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5338
5635
|
constructor() {
|
|
5339
5636
|
super("MiLaboratories.PL.API.FieldAPI.Create.Request", [{
|
|
@@ -5457,10 +5754,7 @@ var FieldAPI_Exists$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5457
5754
|
return writer;
|
|
5458
5755
|
}
|
|
5459
5756
|
};
|
|
5460
|
-
|
|
5461
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Exists
|
|
5462
|
-
*/
|
|
5463
|
-
const FieldAPI_Exists = new FieldAPI_Exists$Type();
|
|
5757
|
+
new FieldAPI_Exists$Type();
|
|
5464
5758
|
var FieldAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5465
5759
|
constructor() {
|
|
5466
5760
|
super("MiLaboratories.PL.API.FieldAPI.Exists.Request", [{
|
|
@@ -5575,10 +5869,7 @@ var FieldAPI_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5575
5869
|
return writer;
|
|
5576
5870
|
}
|
|
5577
5871
|
};
|
|
5578
|
-
|
|
5579
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Set
|
|
5580
|
-
*/
|
|
5581
|
-
const FieldAPI_Set = new FieldAPI_Set$Type();
|
|
5872
|
+
new FieldAPI_Set$Type();
|
|
5582
5873
|
var FieldAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5583
5874
|
constructor() {
|
|
5584
5875
|
super("MiLaboratories.PL.API.FieldAPI.Set.Request", [{
|
|
@@ -5692,28 +5983,35 @@ var FieldAPI_SetError$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5692
5983
|
return writer;
|
|
5693
5984
|
}
|
|
5694
5985
|
};
|
|
5695
|
-
|
|
5696
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.SetError
|
|
5697
|
-
*/
|
|
5698
|
-
const FieldAPI_SetError = new FieldAPI_SetError$Type();
|
|
5986
|
+
new FieldAPI_SetError$Type();
|
|
5699
5987
|
var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5700
5988
|
constructor() {
|
|
5701
|
-
super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5989
|
+
super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
|
|
5990
|
+
{
|
|
5991
|
+
no: 1,
|
|
5992
|
+
name: "field",
|
|
5993
|
+
kind: "message",
|
|
5994
|
+
T: () => require_base_types.FieldRef
|
|
5995
|
+
},
|
|
5996
|
+
{
|
|
5997
|
+
no: 2,
|
|
5998
|
+
name: "error_resource_id",
|
|
5999
|
+
kind: "scalar",
|
|
6000
|
+
T: 4,
|
|
6001
|
+
L: 0
|
|
6002
|
+
},
|
|
6003
|
+
{
|
|
6004
|
+
no: 3,
|
|
6005
|
+
name: "error_resource_signature",
|
|
6006
|
+
kind: "scalar",
|
|
6007
|
+
opt: true,
|
|
6008
|
+
T: 12
|
|
6009
|
+
}
|
|
6010
|
+
]);
|
|
5713
6011
|
}
|
|
5714
6012
|
create(value) {
|
|
5715
6013
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
5716
|
-
message.
|
|
6014
|
+
message.errorResourceId = 0n;
|
|
5717
6015
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
5718
6016
|
return message;
|
|
5719
6017
|
}
|
|
@@ -5726,7 +6024,10 @@ var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
5726
6024
|
message.field = require_base_types.FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.field);
|
|
5727
6025
|
break;
|
|
5728
6026
|
case 2:
|
|
5729
|
-
message.
|
|
6027
|
+
message.errorResourceId = reader.uint64().toBigInt();
|
|
6028
|
+
break;
|
|
6029
|
+
case 3:
|
|
6030
|
+
message.errorResourceSignature = reader.bytes();
|
|
5730
6031
|
break;
|
|
5731
6032
|
default:
|
|
5732
6033
|
let u = options.readUnknownField;
|
|
@@ -5739,7 +6040,8 @@ var FieldAPI_SetError_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
5739
6040
|
}
|
|
5740
6041
|
internalBinaryWrite(message, writer, options) {
|
|
5741
6042
|
if (message.field) require_base_types.FieldRef.internalBinaryWrite(message.field, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
5742
|
-
if (message.
|
|
6043
|
+
if (message.errorResourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.errorResourceId);
|
|
6044
|
+
if (message.errorResourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.errorResourceSignature);
|
|
5743
6045
|
let u = options.writeUnknownFields;
|
|
5744
6046
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5745
6047
|
return writer;
|
|
@@ -5811,10 +6113,7 @@ var FieldAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5811
6113
|
return writer;
|
|
5812
6114
|
}
|
|
5813
6115
|
};
|
|
5814
|
-
|
|
5815
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Get
|
|
5816
|
-
*/
|
|
5817
|
-
const FieldAPI_Get = new FieldAPI_Get$Type();
|
|
6116
|
+
new FieldAPI_Get$Type();
|
|
5818
6117
|
var FieldAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5819
6118
|
constructor() {
|
|
5820
6119
|
super("MiLaboratories.PL.API.FieldAPI.Get.Request", [{
|
|
@@ -5928,10 +6227,7 @@ var FieldAPI_Reset$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
5928
6227
|
return writer;
|
|
5929
6228
|
}
|
|
5930
6229
|
};
|
|
5931
|
-
|
|
5932
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Reset
|
|
5933
|
-
*/
|
|
5934
|
-
const FieldAPI_Reset = new FieldAPI_Reset$Type();
|
|
6230
|
+
new FieldAPI_Reset$Type();
|
|
5935
6231
|
var FieldAPI_Reset_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
5936
6232
|
constructor() {
|
|
5937
6233
|
super("MiLaboratories.PL.API.FieldAPI.Reset.Request", [{
|
|
@@ -6036,10 +6332,7 @@ var FieldAPI_Remove$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6036
6332
|
return writer;
|
|
6037
6333
|
}
|
|
6038
6334
|
};
|
|
6039
|
-
|
|
6040
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.Remove
|
|
6041
|
-
*/
|
|
6042
|
-
const FieldAPI_Remove = new FieldAPI_Remove$Type();
|
|
6335
|
+
new FieldAPI_Remove$Type();
|
|
6043
6336
|
var FieldAPI_Remove_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6044
6337
|
constructor() {
|
|
6045
6338
|
super("MiLaboratories.PL.API.FieldAPI.Remove.Request", [{
|
|
@@ -6144,10 +6437,7 @@ var FieldAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6144
6437
|
return writer;
|
|
6145
6438
|
}
|
|
6146
6439
|
};
|
|
6147
|
-
|
|
6148
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.List
|
|
6149
|
-
*/
|
|
6150
|
-
const FieldAPI_List = new FieldAPI_List$Type();
|
|
6440
|
+
new FieldAPI_List$Type();
|
|
6151
6441
|
var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6152
6442
|
constructor() {
|
|
6153
6443
|
super("MiLaboratories.PL.API.FieldAPI.List.Request", [
|
|
@@ -6158,6 +6448,13 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6158
6448
|
T: 4,
|
|
6159
6449
|
L: 0
|
|
6160
6450
|
},
|
|
6451
|
+
{
|
|
6452
|
+
no: 4,
|
|
6453
|
+
name: "resource_signature",
|
|
6454
|
+
kind: "scalar",
|
|
6455
|
+
opt: true,
|
|
6456
|
+
T: 12
|
|
6457
|
+
},
|
|
6161
6458
|
{
|
|
6162
6459
|
no: 2,
|
|
6163
6460
|
name: "start_from",
|
|
@@ -6188,6 +6485,9 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6188
6485
|
case 1:
|
|
6189
6486
|
message.resourceId = reader.uint64().toBigInt();
|
|
6190
6487
|
break;
|
|
6488
|
+
case 4:
|
|
6489
|
+
message.resourceSignature = reader.bytes();
|
|
6490
|
+
break;
|
|
6191
6491
|
case 2:
|
|
6192
6492
|
message.startFrom = reader.string();
|
|
6193
6493
|
break;
|
|
@@ -6207,6 +6507,7 @@ var FieldAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
6207
6507
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
6208
6508
|
if (message.startFrom !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.startFrom);
|
|
6209
6509
|
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
6510
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
6210
6511
|
let u = options.writeUnknownFields;
|
|
6211
6512
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
6212
6513
|
return writer;
|
|
@@ -6297,10 +6598,7 @@ var NotificationAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6297
6598
|
return writer;
|
|
6298
6599
|
}
|
|
6299
6600
|
};
|
|
6300
|
-
|
|
6301
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.NotificationAPI
|
|
6302
|
-
*/
|
|
6303
|
-
const NotificationAPI = new NotificationAPI$Type();
|
|
6601
|
+
new NotificationAPI$Type();
|
|
6304
6602
|
var NotificationAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6305
6603
|
constructor() {
|
|
6306
6604
|
super("MiLaboratories.PL.API.NotificationAPI.Get", []);
|
|
@@ -6330,10 +6628,7 @@ var NotificationAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6330
6628
|
return writer;
|
|
6331
6629
|
}
|
|
6332
6630
|
};
|
|
6333
|
-
|
|
6334
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.NotificationAPI.Get
|
|
6335
|
-
*/
|
|
6336
|
-
const NotificationAPI_Get = new NotificationAPI_Get$Type();
|
|
6631
|
+
new NotificationAPI_Get$Type();
|
|
6337
6632
|
var NotificationAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6338
6633
|
constructor() {
|
|
6339
6634
|
super("MiLaboratories.PL.API.NotificationAPI.Get.Request", [{
|
|
@@ -6461,10 +6756,7 @@ var NotificationAPI_Ack$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6461
6756
|
return writer;
|
|
6462
6757
|
}
|
|
6463
6758
|
};
|
|
6464
|
-
|
|
6465
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.NotificationAPI.Ack
|
|
6466
|
-
*/
|
|
6467
|
-
const NotificationAPI_Ack = new NotificationAPI_Ack$Type();
|
|
6759
|
+
new NotificationAPI_Ack$Type();
|
|
6468
6760
|
var NotificationAPI_Ack_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6469
6761
|
constructor() {
|
|
6470
6762
|
super("MiLaboratories.PL.API.NotificationAPI.Ack.Request", [{
|
|
@@ -6582,10 +6874,7 @@ var NotificationAPI_Discard$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
6582
6874
|
return writer;
|
|
6583
6875
|
}
|
|
6584
6876
|
};
|
|
6585
|
-
|
|
6586
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.NotificationAPI.Discard
|
|
6587
|
-
*/
|
|
6588
|
-
const NotificationAPI_Discard = new NotificationAPI_Discard$Type();
|
|
6877
|
+
new NotificationAPI_Discard$Type();
|
|
6589
6878
|
var NotificationAPI_Discard_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6590
6879
|
constructor() {
|
|
6591
6880
|
super("MiLaboratories.PL.API.NotificationAPI.Discard.Request", [{
|
|
@@ -6703,10 +6992,7 @@ var SubscriptionAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
6703
6992
|
return writer;
|
|
6704
6993
|
}
|
|
6705
6994
|
};
|
|
6706
|
-
|
|
6707
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI
|
|
6708
|
-
*/
|
|
6709
|
-
const SubscriptionAPI = new SubscriptionAPI$Type();
|
|
6995
|
+
new SubscriptionAPI$Type();
|
|
6710
6996
|
var SubscriptionAPI_CreateSubscription$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6711
6997
|
constructor() {
|
|
6712
6998
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription", []);
|
|
@@ -6736,10 +7022,7 @@ var SubscriptionAPI_CreateSubscription$Type = class extends _protobuf_ts_runtime
|
|
|
6736
7022
|
return writer;
|
|
6737
7023
|
}
|
|
6738
7024
|
};
|
|
6739
|
-
|
|
6740
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription
|
|
6741
|
-
*/
|
|
6742
|
-
const SubscriptionAPI_CreateSubscription = new SubscriptionAPI_CreateSubscription$Type();
|
|
7025
|
+
new SubscriptionAPI_CreateSubscription$Type();
|
|
6743
7026
|
var SubscriptionAPI_CreateSubscription_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6744
7027
|
constructor() {
|
|
6745
7028
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request", [
|
|
@@ -6881,10 +7164,7 @@ var SubscriptionAPI_CreateFilter$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
6881
7164
|
return writer;
|
|
6882
7165
|
}
|
|
6883
7166
|
};
|
|
6884
|
-
|
|
6885
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.CreateFilter
|
|
6886
|
-
*/
|
|
6887
|
-
const SubscriptionAPI_CreateFilter = new SubscriptionAPI_CreateFilter$Type();
|
|
7167
|
+
new SubscriptionAPI_CreateFilter$Type();
|
|
6888
7168
|
var SubscriptionAPI_CreateFilter_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
6889
7169
|
constructor() {
|
|
6890
7170
|
super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request", [{
|
|
@@ -7011,10 +7291,7 @@ var SubscriptionAPI_ListSubscriptions$Type = class extends _protobuf_ts_runtime.
|
|
|
7011
7291
|
return writer;
|
|
7012
7292
|
}
|
|
7013
7293
|
};
|
|
7014
|
-
|
|
7015
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions
|
|
7016
|
-
*/
|
|
7017
|
-
const SubscriptionAPI_ListSubscriptions = new SubscriptionAPI_ListSubscriptions$Type();
|
|
7294
|
+
new SubscriptionAPI_ListSubscriptions$Type();
|
|
7018
7295
|
var SubscriptionAPI_ListSubscriptions_SubscriptionInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7019
7296
|
constructor() {
|
|
7020
7297
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.SubscriptionInfo", [
|
|
@@ -7112,10 +7389,7 @@ var SubscriptionAPI_ListSubscriptions_Request$Type = class extends _protobuf_ts_
|
|
|
7112
7389
|
return writer;
|
|
7113
7390
|
}
|
|
7114
7391
|
};
|
|
7115
|
-
|
|
7116
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Request
|
|
7117
|
-
*/
|
|
7118
|
-
const SubscriptionAPI_ListSubscriptions_Request = new SubscriptionAPI_ListSubscriptions_Request$Type();
|
|
7392
|
+
new SubscriptionAPI_ListSubscriptions_Request$Type();
|
|
7119
7393
|
var SubscriptionAPI_ListSubscriptions_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7120
7394
|
constructor() {
|
|
7121
7395
|
super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Response", [{
|
|
@@ -7156,10 +7430,7 @@ var SubscriptionAPI_ListSubscriptions_Response$Type = class extends _protobuf_ts
|
|
|
7156
7430
|
return writer;
|
|
7157
7431
|
}
|
|
7158
7432
|
};
|
|
7159
|
-
|
|
7160
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Response
|
|
7161
|
-
*/
|
|
7162
|
-
const SubscriptionAPI_ListSubscriptions_Response = new SubscriptionAPI_ListSubscriptions_Response$Type();
|
|
7433
|
+
new SubscriptionAPI_ListSubscriptions_Response$Type();
|
|
7163
7434
|
var SubscriptionAPI_AttachFilter$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7164
7435
|
constructor() {
|
|
7165
7436
|
super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter", []);
|
|
@@ -7189,10 +7460,7 @@ var SubscriptionAPI_AttachFilter$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
7189
7460
|
return writer;
|
|
7190
7461
|
}
|
|
7191
7462
|
};
|
|
7192
|
-
|
|
7193
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.AttachFilter
|
|
7194
|
-
*/
|
|
7195
|
-
const SubscriptionAPI_AttachFilter = new SubscriptionAPI_AttachFilter$Type();
|
|
7463
|
+
new SubscriptionAPI_AttachFilter$Type();
|
|
7196
7464
|
var SubscriptionAPI_AttachFilter_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7197
7465
|
constructor() {
|
|
7198
7466
|
super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Request", [
|
|
@@ -7324,10 +7592,7 @@ var SubscriptionAPI_DetachFilter$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
7324
7592
|
return writer;
|
|
7325
7593
|
}
|
|
7326
7594
|
};
|
|
7327
|
-
|
|
7328
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.SubscriptionAPI.DetachFilter
|
|
7329
|
-
*/
|
|
7330
|
-
const SubscriptionAPI_DetachFilter = new SubscriptionAPI_DetachFilter$Type();
|
|
7595
|
+
new SubscriptionAPI_DetachFilter$Type();
|
|
7331
7596
|
var SubscriptionAPI_DetachFilter_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7332
7597
|
constructor() {
|
|
7333
7598
|
super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request", [{
|
|
@@ -7444,10 +7709,7 @@ var ControllerAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
7444
7709
|
return writer;
|
|
7445
7710
|
}
|
|
7446
7711
|
};
|
|
7447
|
-
|
|
7448
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI
|
|
7449
|
-
*/
|
|
7450
|
-
const ControllerAPI = new ControllerAPI$Type();
|
|
7712
|
+
new ControllerAPI$Type();
|
|
7451
7713
|
var ControllerAPI_Register$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7452
7714
|
constructor() {
|
|
7453
7715
|
super("MiLaboratories.PL.API.ControllerAPI.Register", []);
|
|
@@ -7477,10 +7739,7 @@ var ControllerAPI_Register$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
7477
7739
|
return writer;
|
|
7478
7740
|
}
|
|
7479
7741
|
};
|
|
7480
|
-
|
|
7481
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Register
|
|
7482
|
-
*/
|
|
7483
|
-
const ControllerAPI_Register = new ControllerAPI_Register$Type();
|
|
7742
|
+
new ControllerAPI_Register$Type();
|
|
7484
7743
|
var ControllerAPI_Register_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7485
7744
|
constructor() {
|
|
7486
7745
|
super("MiLaboratories.PL.API.ControllerAPI.Register.Request", [
|
|
@@ -7658,10 +7917,7 @@ var ControllerAPI_Exists$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
7658
7917
|
return writer;
|
|
7659
7918
|
}
|
|
7660
7919
|
};
|
|
7661
|
-
|
|
7662
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Exists
|
|
7663
|
-
*/
|
|
7664
|
-
const ControllerAPI_Exists = new ControllerAPI_Exists$Type();
|
|
7920
|
+
new ControllerAPI_Exists$Type();
|
|
7665
7921
|
var ControllerAPI_Exists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7666
7922
|
constructor() {
|
|
7667
7923
|
super("MiLaboratories.PL.API.ControllerAPI.Exists.Request", [{
|
|
@@ -7777,10 +8033,7 @@ var ControllerAPI_Update$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
7777
8033
|
return writer;
|
|
7778
8034
|
}
|
|
7779
8035
|
};
|
|
7780
|
-
|
|
7781
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Update
|
|
7782
|
-
*/
|
|
7783
|
-
const ControllerAPI_Update = new ControllerAPI_Update$Type();
|
|
8036
|
+
new ControllerAPI_Update$Type();
|
|
7784
8037
|
var ControllerAPI_Update_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7785
8038
|
constructor() {
|
|
7786
8039
|
super("MiLaboratories.PL.API.ControllerAPI.Update.Request", [
|
|
@@ -7936,10 +8189,7 @@ var ControllerAPI_Deregister$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
7936
8189
|
return writer;
|
|
7937
8190
|
}
|
|
7938
8191
|
};
|
|
7939
|
-
|
|
7940
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Deregister
|
|
7941
|
-
*/
|
|
7942
|
-
const ControllerAPI_Deregister = new ControllerAPI_Deregister$Type();
|
|
8192
|
+
new ControllerAPI_Deregister$Type();
|
|
7943
8193
|
var ControllerAPI_Deregister_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
7944
8194
|
constructor() {
|
|
7945
8195
|
super("MiLaboratories.PL.API.ControllerAPI.Deregister.Request", [{
|
|
@@ -8045,10 +8295,7 @@ var ControllerAPI_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
8045
8295
|
return writer;
|
|
8046
8296
|
}
|
|
8047
8297
|
};
|
|
8048
|
-
|
|
8049
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Create
|
|
8050
|
-
*/
|
|
8051
|
-
const ControllerAPI_Create = new ControllerAPI_Create$Type();
|
|
8298
|
+
new ControllerAPI_Create$Type();
|
|
8052
8299
|
var ControllerAPI_Create_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8053
8300
|
constructor() {
|
|
8054
8301
|
super("MiLaboratories.PL.API.ControllerAPI.Create.Request", [{
|
|
@@ -8176,10 +8423,7 @@ var ControllerAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
8176
8423
|
return writer;
|
|
8177
8424
|
}
|
|
8178
8425
|
};
|
|
8179
|
-
|
|
8180
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.Get
|
|
8181
|
-
*/
|
|
8182
|
-
const ControllerAPI_Get = new ControllerAPI_Get$Type();
|
|
8426
|
+
new ControllerAPI_Get$Type();
|
|
8183
8427
|
var ControllerAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8184
8428
|
constructor() {
|
|
8185
8429
|
super("MiLaboratories.PL.API.ControllerAPI.Get.Request", [{
|
|
@@ -8294,10 +8538,7 @@ var ControllerAPI_AttachSubscription$Type = class extends _protobuf_ts_runtime.M
|
|
|
8294
8538
|
return writer;
|
|
8295
8539
|
}
|
|
8296
8540
|
};
|
|
8297
|
-
|
|
8298
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.AttachSubscription
|
|
8299
|
-
*/
|
|
8300
|
-
const ControllerAPI_AttachSubscription = new ControllerAPI_AttachSubscription$Type();
|
|
8541
|
+
new ControllerAPI_AttachSubscription$Type();
|
|
8301
8542
|
var ControllerAPI_AttachSubscription_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8302
8543
|
constructor() {
|
|
8303
8544
|
super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription.Request", [{
|
|
@@ -8415,10 +8656,7 @@ var ControllerAPI_GetNotifications$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
8415
8656
|
return writer;
|
|
8416
8657
|
}
|
|
8417
8658
|
};
|
|
8418
|
-
|
|
8419
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.GetNotifications
|
|
8420
|
-
*/
|
|
8421
|
-
const ControllerAPI_GetNotifications = new ControllerAPI_GetNotifications$Type();
|
|
8659
|
+
new ControllerAPI_GetNotifications$Type();
|
|
8422
8660
|
var ControllerAPI_GetNotifications_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8423
8661
|
constructor() {
|
|
8424
8662
|
super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Request", [{
|
|
@@ -8545,10 +8783,7 @@ var ControllerAPI_WriteAliasesAndUrls$Type = class extends _protobuf_ts_runtime.
|
|
|
8545
8783
|
return writer;
|
|
8546
8784
|
}
|
|
8547
8785
|
};
|
|
8548
|
-
|
|
8549
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls
|
|
8550
|
-
*/
|
|
8551
|
-
const ControllerAPI_WriteAliasesAndUrls = new ControllerAPI_WriteAliasesAndUrls$Type();
|
|
8786
|
+
new ControllerAPI_WriteAliasesAndUrls$Type();
|
|
8552
8787
|
var ControllerAPI_WriteAliasesAndUrls_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8553
8788
|
constructor() {
|
|
8554
8789
|
super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Request", [{
|
|
@@ -8684,10 +8919,7 @@ var ControllerAPI_GetUrl$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
8684
8919
|
return writer;
|
|
8685
8920
|
}
|
|
8686
8921
|
};
|
|
8687
|
-
|
|
8688
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.GetUrl
|
|
8689
|
-
*/
|
|
8690
|
-
const ControllerAPI_GetUrl = new ControllerAPI_GetUrl$Type();
|
|
8922
|
+
new ControllerAPI_GetUrl$Type();
|
|
8691
8923
|
var ControllerAPI_GetUrl_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8692
8924
|
constructor() {
|
|
8693
8925
|
super("MiLaboratories.PL.API.ControllerAPI.GetUrl.Request", [{
|
|
@@ -8814,10 +9046,7 @@ var ControllerAPI_RemoveAliasesAndUrls$Type = class extends _protobuf_ts_runtime
|
|
|
8814
9046
|
return writer;
|
|
8815
9047
|
}
|
|
8816
9048
|
};
|
|
8817
|
-
|
|
8818
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls
|
|
8819
|
-
*/
|
|
8820
|
-
const ControllerAPI_RemoveAliasesAndUrls = new ControllerAPI_RemoveAliasesAndUrls$Type();
|
|
9049
|
+
new ControllerAPI_RemoveAliasesAndUrls$Type();
|
|
8821
9050
|
var ControllerAPI_RemoveAliasesAndUrls_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8822
9051
|
constructor() {
|
|
8823
9052
|
super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls.Request", [{
|
|
@@ -8923,10 +9152,7 @@ var ControllerAPI_SetFeatures$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
8923
9152
|
return writer;
|
|
8924
9153
|
}
|
|
8925
9154
|
};
|
|
8926
|
-
|
|
8927
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.SetFeatures
|
|
8928
|
-
*/
|
|
8929
|
-
const ControllerAPI_SetFeatures = new ControllerAPI_SetFeatures$Type();
|
|
9155
|
+
new ControllerAPI_SetFeatures$Type();
|
|
8930
9156
|
var ControllerAPI_SetFeatures_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
8931
9157
|
constructor() {
|
|
8932
9158
|
super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request", [{
|
|
@@ -9033,10 +9259,7 @@ var ControllerAPI_ClearFeatures$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
9033
9259
|
return writer;
|
|
9034
9260
|
}
|
|
9035
9261
|
};
|
|
9036
|
-
|
|
9037
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerAPI.ClearFeatures
|
|
9038
|
-
*/
|
|
9039
|
-
const ControllerAPI_ClearFeatures = new ControllerAPI_ClearFeatures$Type();
|
|
9262
|
+
new ControllerAPI_ClearFeatures$Type();
|
|
9040
9263
|
var ControllerAPI_ClearFeatures_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9041
9264
|
constructor() {
|
|
9042
9265
|
super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request", [{
|
|
@@ -9142,10 +9365,7 @@ var ResourceKVAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9142
9365
|
return writer;
|
|
9143
9366
|
}
|
|
9144
9367
|
};
|
|
9145
|
-
|
|
9146
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI
|
|
9147
|
-
*/
|
|
9148
|
-
const ResourceKVAPI = new ResourceKVAPI$Type();
|
|
9368
|
+
new ResourceKVAPI$Type();
|
|
9149
9369
|
var ResourceKVAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9150
9370
|
constructor() {
|
|
9151
9371
|
super("MiLaboratories.PL.API.ResourceKVAPI.List", []);
|
|
@@ -9175,10 +9395,7 @@ var ResourceKVAPI_List$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9175
9395
|
return writer;
|
|
9176
9396
|
}
|
|
9177
9397
|
};
|
|
9178
|
-
|
|
9179
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.List
|
|
9180
|
-
*/
|
|
9181
|
-
const ResourceKVAPI_List = new ResourceKVAPI_List$Type();
|
|
9398
|
+
new ResourceKVAPI_List$Type();
|
|
9182
9399
|
var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9183
9400
|
constructor() {
|
|
9184
9401
|
super("MiLaboratories.PL.API.ResourceKVAPI.List.Request", [
|
|
@@ -9189,6 +9406,13 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9189
9406
|
T: 4,
|
|
9190
9407
|
L: 0
|
|
9191
9408
|
},
|
|
9409
|
+
{
|
|
9410
|
+
no: 4,
|
|
9411
|
+
name: "resource_signature",
|
|
9412
|
+
kind: "scalar",
|
|
9413
|
+
opt: true,
|
|
9414
|
+
T: 12
|
|
9415
|
+
},
|
|
9192
9416
|
{
|
|
9193
9417
|
no: 2,
|
|
9194
9418
|
name: "start_from",
|
|
@@ -9219,6 +9443,9 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9219
9443
|
case 1:
|
|
9220
9444
|
message.resourceId = reader.uint64().toBigInt();
|
|
9221
9445
|
break;
|
|
9446
|
+
case 4:
|
|
9447
|
+
message.resourceSignature = reader.bytes();
|
|
9448
|
+
break;
|
|
9222
9449
|
case 2:
|
|
9223
9450
|
message.startFrom = reader.string();
|
|
9224
9451
|
break;
|
|
@@ -9238,6 +9465,7 @@ var ResourceKVAPI_List_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
9238
9465
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9239
9466
|
if (message.startFrom !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.startFrom);
|
|
9240
9467
|
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
9468
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9241
9469
|
let u = options.writeUnknownFields;
|
|
9242
9470
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9243
9471
|
return writer;
|
|
@@ -9381,10 +9609,7 @@ var ResourceKVAPI_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9381
9609
|
return writer;
|
|
9382
9610
|
}
|
|
9383
9611
|
};
|
|
9384
|
-
|
|
9385
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.Set
|
|
9386
|
-
*/
|
|
9387
|
-
const ResourceKVAPI_Set = new ResourceKVAPI_Set$Type();
|
|
9612
|
+
new ResourceKVAPI_Set$Type();
|
|
9388
9613
|
var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9389
9614
|
constructor() {
|
|
9390
9615
|
super("MiLaboratories.PL.API.ResourceKVAPI.Set.Request", [
|
|
@@ -9395,6 +9620,13 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9395
9620
|
T: 4,
|
|
9396
9621
|
L: 0
|
|
9397
9622
|
},
|
|
9623
|
+
{
|
|
9624
|
+
no: 4,
|
|
9625
|
+
name: "resource_signature",
|
|
9626
|
+
kind: "scalar",
|
|
9627
|
+
opt: true,
|
|
9628
|
+
T: 12
|
|
9629
|
+
},
|
|
9398
9630
|
{
|
|
9399
9631
|
no: 2,
|
|
9400
9632
|
name: "key",
|
|
@@ -9425,6 +9657,9 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9425
9657
|
case 1:
|
|
9426
9658
|
message.resourceId = reader.uint64().toBigInt();
|
|
9427
9659
|
break;
|
|
9660
|
+
case 4:
|
|
9661
|
+
message.resourceSignature = reader.bytes();
|
|
9662
|
+
break;
|
|
9428
9663
|
case 2:
|
|
9429
9664
|
message.key = reader.string();
|
|
9430
9665
|
break;
|
|
@@ -9444,6 +9679,7 @@ var ResourceKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9444
9679
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9445
9680
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9446
9681
|
if (message.value.length) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.value);
|
|
9682
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9447
9683
|
let u = options.writeUnknownFields;
|
|
9448
9684
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9449
9685
|
return writer;
|
|
@@ -9515,24 +9751,31 @@ var ResourceKVAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9515
9751
|
return writer;
|
|
9516
9752
|
}
|
|
9517
9753
|
};
|
|
9518
|
-
|
|
9519
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.Get
|
|
9520
|
-
*/
|
|
9521
|
-
const ResourceKVAPI_Get = new ResourceKVAPI_Get$Type();
|
|
9754
|
+
new ResourceKVAPI_Get$Type();
|
|
9522
9755
|
var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9523
9756
|
constructor() {
|
|
9524
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9757
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
|
|
9758
|
+
{
|
|
9759
|
+
no: 1,
|
|
9760
|
+
name: "resource_id",
|
|
9761
|
+
kind: "scalar",
|
|
9762
|
+
T: 4,
|
|
9763
|
+
L: 0
|
|
9764
|
+
},
|
|
9765
|
+
{
|
|
9766
|
+
no: 3,
|
|
9767
|
+
name: "resource_signature",
|
|
9768
|
+
kind: "scalar",
|
|
9769
|
+
opt: true,
|
|
9770
|
+
T: 12
|
|
9771
|
+
},
|
|
9772
|
+
{
|
|
9773
|
+
no: 2,
|
|
9774
|
+
name: "key",
|
|
9775
|
+
kind: "scalar",
|
|
9776
|
+
T: 9
|
|
9777
|
+
}
|
|
9778
|
+
]);
|
|
9536
9779
|
}
|
|
9537
9780
|
create(value) {
|
|
9538
9781
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9549,6 +9792,9 @@ var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9549
9792
|
case 1:
|
|
9550
9793
|
message.resourceId = reader.uint64().toBigInt();
|
|
9551
9794
|
break;
|
|
9795
|
+
case 3:
|
|
9796
|
+
message.resourceSignature = reader.bytes();
|
|
9797
|
+
break;
|
|
9552
9798
|
case 2:
|
|
9553
9799
|
message.key = reader.string();
|
|
9554
9800
|
break;
|
|
@@ -9564,6 +9810,7 @@ var ResourceKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9564
9810
|
internalBinaryWrite(message, writer, options) {
|
|
9565
9811
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9566
9812
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9813
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9567
9814
|
let u = options.writeUnknownFields;
|
|
9568
9815
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9569
9816
|
return writer;
|
|
@@ -9645,24 +9892,31 @@ var ResourceKVAPI_GetIfExists$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
9645
9892
|
return writer;
|
|
9646
9893
|
}
|
|
9647
9894
|
};
|
|
9648
|
-
|
|
9649
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.GetIfExists
|
|
9650
|
-
*/
|
|
9651
|
-
const ResourceKVAPI_GetIfExists = new ResourceKVAPI_GetIfExists$Type();
|
|
9895
|
+
new ResourceKVAPI_GetIfExists$Type();
|
|
9652
9896
|
var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9653
9897
|
constructor() {
|
|
9654
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9898
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
|
|
9899
|
+
{
|
|
9900
|
+
no: 1,
|
|
9901
|
+
name: "resource_id",
|
|
9902
|
+
kind: "scalar",
|
|
9903
|
+
T: 4,
|
|
9904
|
+
L: 0
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
no: 3,
|
|
9908
|
+
name: "resource_signature",
|
|
9909
|
+
kind: "scalar",
|
|
9910
|
+
opt: true,
|
|
9911
|
+
T: 12
|
|
9912
|
+
},
|
|
9913
|
+
{
|
|
9914
|
+
no: 2,
|
|
9915
|
+
name: "key",
|
|
9916
|
+
kind: "scalar",
|
|
9917
|
+
T: 9
|
|
9918
|
+
}
|
|
9919
|
+
]);
|
|
9666
9920
|
}
|
|
9667
9921
|
create(value) {
|
|
9668
9922
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9679,6 +9933,9 @@ var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.
|
|
|
9679
9933
|
case 1:
|
|
9680
9934
|
message.resourceId = reader.uint64().toBigInt();
|
|
9681
9935
|
break;
|
|
9936
|
+
case 3:
|
|
9937
|
+
message.resourceSignature = reader.bytes();
|
|
9938
|
+
break;
|
|
9682
9939
|
case 2:
|
|
9683
9940
|
message.key = reader.string();
|
|
9684
9941
|
break;
|
|
@@ -9694,6 +9951,7 @@ var ResourceKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.
|
|
|
9694
9951
|
internalBinaryWrite(message, writer, options) {
|
|
9695
9952
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9696
9953
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9954
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9697
9955
|
let u = options.writeUnknownFields;
|
|
9698
9956
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9699
9957
|
return writer;
|
|
@@ -9785,24 +10043,31 @@ var ResourceKVAPI_Delete$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
9785
10043
|
return writer;
|
|
9786
10044
|
}
|
|
9787
10045
|
};
|
|
9788
|
-
|
|
9789
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.Delete
|
|
9790
|
-
*/
|
|
9791
|
-
const ResourceKVAPI_Delete = new ResourceKVAPI_Delete$Type();
|
|
10046
|
+
new ResourceKVAPI_Delete$Type();
|
|
9792
10047
|
var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9793
10048
|
constructor() {
|
|
9794
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
10049
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
|
|
10050
|
+
{
|
|
10051
|
+
no: 1,
|
|
10052
|
+
name: "resource_id",
|
|
10053
|
+
kind: "scalar",
|
|
10054
|
+
T: 4,
|
|
10055
|
+
L: 0
|
|
10056
|
+
},
|
|
10057
|
+
{
|
|
10058
|
+
no: 3,
|
|
10059
|
+
name: "resource_signature",
|
|
10060
|
+
kind: "scalar",
|
|
10061
|
+
opt: true,
|
|
10062
|
+
T: 12
|
|
10063
|
+
},
|
|
10064
|
+
{
|
|
10065
|
+
no: 2,
|
|
10066
|
+
name: "key",
|
|
10067
|
+
kind: "scalar",
|
|
10068
|
+
T: 9
|
|
10069
|
+
}
|
|
10070
|
+
]);
|
|
9806
10071
|
}
|
|
9807
10072
|
create(value) {
|
|
9808
10073
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -9819,6 +10084,9 @@ var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
9819
10084
|
case 1:
|
|
9820
10085
|
message.resourceId = reader.uint64().toBigInt();
|
|
9821
10086
|
break;
|
|
10087
|
+
case 3:
|
|
10088
|
+
message.resourceSignature = reader.bytes();
|
|
10089
|
+
break;
|
|
9822
10090
|
case 2:
|
|
9823
10091
|
message.key = reader.string();
|
|
9824
10092
|
break;
|
|
@@ -9834,6 +10102,7 @@ var ResourceKVAPI_Delete_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
9834
10102
|
internalBinaryWrite(message, writer, options) {
|
|
9835
10103
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9836
10104
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10105
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9837
10106
|
let u = options.writeUnknownFields;
|
|
9838
10107
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9839
10108
|
return writer;
|
|
@@ -9905,10 +10174,7 @@ var ResourceKVAPI_SetFlag$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
9905
10174
|
return writer;
|
|
9906
10175
|
}
|
|
9907
10176
|
};
|
|
9908
|
-
|
|
9909
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.SetFlag
|
|
9910
|
-
*/
|
|
9911
|
-
const ResourceKVAPI_SetFlag = new ResourceKVAPI_SetFlag$Type();
|
|
10177
|
+
new ResourceKVAPI_SetFlag$Type();
|
|
9912
10178
|
var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
9913
10179
|
constructor() {
|
|
9914
10180
|
super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Request", [
|
|
@@ -9919,6 +10185,13 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9919
10185
|
T: 4,
|
|
9920
10186
|
L: 0
|
|
9921
10187
|
},
|
|
10188
|
+
{
|
|
10189
|
+
no: 4,
|
|
10190
|
+
name: "resource_signature",
|
|
10191
|
+
kind: "scalar",
|
|
10192
|
+
opt: true,
|
|
10193
|
+
T: 12
|
|
10194
|
+
},
|
|
9922
10195
|
{
|
|
9923
10196
|
no: 2,
|
|
9924
10197
|
name: "key",
|
|
@@ -9949,6 +10222,9 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9949
10222
|
case 1:
|
|
9950
10223
|
message.resourceId = reader.uint64().toBigInt();
|
|
9951
10224
|
break;
|
|
10225
|
+
case 4:
|
|
10226
|
+
message.resourceSignature = reader.bytes();
|
|
10227
|
+
break;
|
|
9952
10228
|
case 2:
|
|
9953
10229
|
message.key = reader.string();
|
|
9954
10230
|
break;
|
|
@@ -9968,6 +10244,7 @@ var ResourceKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
9968
10244
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
9969
10245
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
9970
10246
|
if (message.value !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.value);
|
|
10247
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
9971
10248
|
let u = options.writeUnknownFields;
|
|
9972
10249
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
9973
10250
|
return writer;
|
|
@@ -10039,24 +10316,31 @@ var ResourceKVAPI_GetFlag$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
10039
10316
|
return writer;
|
|
10040
10317
|
}
|
|
10041
10318
|
};
|
|
10042
|
-
|
|
10043
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceKVAPI.GetFlag
|
|
10044
|
-
*/
|
|
10045
|
-
const ResourceKVAPI_GetFlag = new ResourceKVAPI_GetFlag$Type();
|
|
10319
|
+
new ResourceKVAPI_GetFlag$Type();
|
|
10046
10320
|
var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10047
10321
|
constructor() {
|
|
10048
|
-
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10322
|
+
super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
|
|
10323
|
+
{
|
|
10324
|
+
no: 1,
|
|
10325
|
+
name: "resource_id",
|
|
10326
|
+
kind: "scalar",
|
|
10327
|
+
T: 4,
|
|
10328
|
+
L: 0
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
no: 3,
|
|
10332
|
+
name: "resource_signature",
|
|
10333
|
+
kind: "scalar",
|
|
10334
|
+
opt: true,
|
|
10335
|
+
T: 12
|
|
10336
|
+
},
|
|
10337
|
+
{
|
|
10338
|
+
no: 2,
|
|
10339
|
+
name: "key",
|
|
10340
|
+
kind: "scalar",
|
|
10341
|
+
T: 9
|
|
10342
|
+
}
|
|
10343
|
+
]);
|
|
10060
10344
|
}
|
|
10061
10345
|
create(value) {
|
|
10062
10346
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -10073,6 +10357,9 @@ var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
10073
10357
|
case 1:
|
|
10074
10358
|
message.resourceId = reader.uint64().toBigInt();
|
|
10075
10359
|
break;
|
|
10360
|
+
case 3:
|
|
10361
|
+
message.resourceSignature = reader.bytes();
|
|
10362
|
+
break;
|
|
10076
10363
|
case 2:
|
|
10077
10364
|
message.key = reader.string();
|
|
10078
10365
|
break;
|
|
@@ -10088,6 +10375,7 @@ var ResourceKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
10088
10375
|
internalBinaryWrite(message, writer, options) {
|
|
10089
10376
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
10090
10377
|
if (message.key !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.key);
|
|
10378
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
10091
10379
|
let u = options.writeUnknownFields;
|
|
10092
10380
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
10093
10381
|
return writer;
|
|
@@ -10169,10 +10457,7 @@ var ControllerKVAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
10169
10457
|
return writer;
|
|
10170
10458
|
}
|
|
10171
10459
|
};
|
|
10172
|
-
|
|
10173
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI
|
|
10174
|
-
*/
|
|
10175
|
-
const ControllerKVAPI = new ControllerKVAPI$Type();
|
|
10460
|
+
new ControllerKVAPI$Type();
|
|
10176
10461
|
var ControllerKVAPI_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10177
10462
|
constructor() {
|
|
10178
10463
|
super("MiLaboratories.PL.API.ControllerKVAPI.Set", []);
|
|
@@ -10202,10 +10487,7 @@ var ControllerKVAPI_Set$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
10202
10487
|
return writer;
|
|
10203
10488
|
}
|
|
10204
10489
|
};
|
|
10205
|
-
|
|
10206
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.Set
|
|
10207
|
-
*/
|
|
10208
|
-
const ControllerKVAPI_Set = new ControllerKVAPI_Set$Type();
|
|
10490
|
+
new ControllerKVAPI_Set$Type();
|
|
10209
10491
|
var ControllerKVAPI_Set_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10210
10492
|
constructor() {
|
|
10211
10493
|
super("MiLaboratories.PL.API.ControllerKVAPI.Set.Request", [
|
|
@@ -10335,10 +10617,7 @@ var ControllerKVAPI_Get$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
10335
10617
|
return writer;
|
|
10336
10618
|
}
|
|
10337
10619
|
};
|
|
10338
|
-
|
|
10339
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.Get
|
|
10340
|
-
*/
|
|
10341
|
-
const ControllerKVAPI_Get = new ControllerKVAPI_Get$Type();
|
|
10620
|
+
new ControllerKVAPI_Get$Type();
|
|
10342
10621
|
var ControllerKVAPI_Get_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10343
10622
|
constructor() {
|
|
10344
10623
|
super("MiLaboratories.PL.API.ControllerKVAPI.Get.Request", [{
|
|
@@ -10464,10 +10743,7 @@ var ControllerKVAPI_GetIfExists$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
10464
10743
|
return writer;
|
|
10465
10744
|
}
|
|
10466
10745
|
};
|
|
10467
|
-
|
|
10468
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetIfExists
|
|
10469
|
-
*/
|
|
10470
|
-
const ControllerKVAPI_GetIfExists = new ControllerKVAPI_GetIfExists$Type();
|
|
10746
|
+
new ControllerKVAPI_GetIfExists$Type();
|
|
10471
10747
|
var ControllerKVAPI_GetIfExists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10472
10748
|
constructor() {
|
|
10473
10749
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request", [{
|
|
@@ -10603,10 +10879,7 @@ var ControllerKVAPI_SetFlag$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
10603
10879
|
return writer;
|
|
10604
10880
|
}
|
|
10605
10881
|
};
|
|
10606
|
-
|
|
10607
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag
|
|
10608
|
-
*/
|
|
10609
|
-
const ControllerKVAPI_SetFlag = new ControllerKVAPI_SetFlag$Type();
|
|
10882
|
+
new ControllerKVAPI_SetFlag$Type();
|
|
10610
10883
|
var ControllerKVAPI_SetFlag_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10611
10884
|
constructor() {
|
|
10612
10885
|
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request", [
|
|
@@ -10736,10 +11009,7 @@ var ControllerKVAPI_GetFlag$Type = class extends _protobuf_ts_runtime.MessageTyp
|
|
|
10736
11009
|
return writer;
|
|
10737
11010
|
}
|
|
10738
11011
|
};
|
|
10739
|
-
|
|
10740
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag
|
|
10741
|
-
*/
|
|
10742
|
-
const ControllerKVAPI_GetFlag = new ControllerKVAPI_GetFlag$Type();
|
|
11012
|
+
new ControllerKVAPI_GetFlag$Type();
|
|
10743
11013
|
var ControllerKVAPI_GetFlag_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10744
11014
|
constructor() {
|
|
10745
11015
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request", [{
|
|
@@ -10865,10 +11135,7 @@ var ControllerKVAPI_GetFlagIfExists$Type = class extends _protobuf_ts_runtime.Me
|
|
|
10865
11135
|
return writer;
|
|
10866
11136
|
}
|
|
10867
11137
|
};
|
|
10868
|
-
|
|
10869
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists
|
|
10870
|
-
*/
|
|
10871
|
-
const ControllerKVAPI_GetFlagIfExists = new ControllerKVAPI_GetFlagIfExists$Type();
|
|
11138
|
+
new ControllerKVAPI_GetFlagIfExists$Type();
|
|
10872
11139
|
var ControllerKVAPI_GetFlagIfExists_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
10873
11140
|
constructor() {
|
|
10874
11141
|
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request", [{
|
|
@@ -11004,10 +11271,7 @@ var CacheAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11004
11271
|
return writer;
|
|
11005
11272
|
}
|
|
11006
11273
|
};
|
|
11007
|
-
|
|
11008
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI
|
|
11009
|
-
*/
|
|
11010
|
-
const CacheAPI = new CacheAPI$Type();
|
|
11274
|
+
new CacheAPI$Type();
|
|
11011
11275
|
var CacheAPI_SetToField$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11012
11276
|
constructor() {
|
|
11013
11277
|
super("MiLaboratories.PL.API.CacheAPI.SetToField", []);
|
|
@@ -11037,10 +11301,7 @@ var CacheAPI_SetToField$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11037
11301
|
return writer;
|
|
11038
11302
|
}
|
|
11039
11303
|
};
|
|
11040
|
-
|
|
11041
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField
|
|
11042
|
-
*/
|
|
11043
|
-
const CacheAPI_SetToField = new CacheAPI_SetToField$Type();
|
|
11304
|
+
new CacheAPI_SetToField$Type();
|
|
11044
11305
|
var CacheAPI_SetToField_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11045
11306
|
constructor() {
|
|
11046
11307
|
super("MiLaboratories.PL.API.CacheAPI.SetToField.Request", [{
|
|
@@ -11125,9 +11386,9 @@ var CacheAPI_SetToField_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11125
11386
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Response
|
|
11126
11387
|
*/
|
|
11127
11388
|
const CacheAPI_SetToField_Response = new CacheAPI_SetToField_Response$Type();
|
|
11128
|
-
var
|
|
11389
|
+
var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11129
11390
|
constructor() {
|
|
11130
|
-
super("MiLaboratories.PL.API.
|
|
11391
|
+
super("MiLaboratories.PL.API.LocksAPI", []);
|
|
11131
11392
|
}
|
|
11132
11393
|
create(value) {
|
|
11133
11394
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11154,13 +11415,10 @@ var CacheAPI_DeleteExpiredRecords$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11154
11415
|
return writer;
|
|
11155
11416
|
}
|
|
11156
11417
|
};
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
*/
|
|
11160
|
-
const CacheAPI_DeleteExpiredRecords = new CacheAPI_DeleteExpiredRecords$Type();
|
|
11161
|
-
var CacheAPI_DeleteExpiredRecords_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11418
|
+
new LocksAPI$Type();
|
|
11419
|
+
var LocksAPI_LockFieldValues$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11162
11420
|
constructor() {
|
|
11163
|
-
super("MiLaboratories.PL.API.
|
|
11421
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues", []);
|
|
11164
11422
|
}
|
|
11165
11423
|
create(value) {
|
|
11166
11424
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11187,13 +11445,10 @@ var CacheAPI_DeleteExpiredRecords_Request$Type = class extends _protobuf_ts_runt
|
|
|
11187
11445
|
return writer;
|
|
11188
11446
|
}
|
|
11189
11447
|
};
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
*/
|
|
11193
|
-
const CacheAPI_DeleteExpiredRecords_Request = new CacheAPI_DeleteExpiredRecords_Request$Type();
|
|
11194
|
-
var CacheAPI_DeleteExpiredRecords_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11448
|
+
new LocksAPI_LockFieldValues$Type();
|
|
11449
|
+
var LocksAPI_LockFieldValues_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11195
11450
|
constructor() {
|
|
11196
|
-
super("MiLaboratories.PL.API.
|
|
11451
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create", []);
|
|
11197
11452
|
}
|
|
11198
11453
|
create(value) {
|
|
11199
11454
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11220,24 +11475,54 @@ var CacheAPI_DeleteExpiredRecords_Response$Type = class extends _protobuf_ts_run
|
|
|
11220
11475
|
return writer;
|
|
11221
11476
|
}
|
|
11222
11477
|
};
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
*/
|
|
11226
|
-
const CacheAPI_DeleteExpiredRecords_Response = new CacheAPI_DeleteExpiredRecords_Response$Type();
|
|
11227
|
-
var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11478
|
+
new LocksAPI_LockFieldValues_Create$Type();
|
|
11479
|
+
var LocksAPI_LockFieldValues_Create_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11228
11480
|
constructor() {
|
|
11229
|
-
super("MiLaboratories.PL.API.LocksAPI", [
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11481
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request", [
|
|
11482
|
+
{
|
|
11483
|
+
no: 1,
|
|
11484
|
+
name: "resource_id",
|
|
11485
|
+
kind: "scalar",
|
|
11486
|
+
T: 4,
|
|
11487
|
+
L: 0
|
|
11488
|
+
},
|
|
11489
|
+
{
|
|
11490
|
+
no: 2,
|
|
11491
|
+
name: "lock_references_of",
|
|
11492
|
+
kind: "scalar",
|
|
11493
|
+
repeat: 2,
|
|
11494
|
+
T: 9
|
|
11495
|
+
},
|
|
11496
|
+
{
|
|
11497
|
+
no: 3,
|
|
11498
|
+
name: "comment",
|
|
11499
|
+
kind: "scalar",
|
|
11500
|
+
T: 9
|
|
11501
|
+
}
|
|
11502
|
+
]);
|
|
11503
|
+
}
|
|
11504
|
+
create(value) {
|
|
11505
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11506
|
+
message.resourceId = 0n;
|
|
11507
|
+
message.lockReferencesOf = [];
|
|
11508
|
+
message.comment = "";
|
|
11509
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11510
|
+
return message;
|
|
11511
|
+
}
|
|
11512
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11513
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11514
|
+
while (reader.pos < end) {
|
|
11515
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11240
11516
|
switch (fieldNo) {
|
|
11517
|
+
case 1:
|
|
11518
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
11519
|
+
break;
|
|
11520
|
+
case 2:
|
|
11521
|
+
message.lockReferencesOf.push(reader.string());
|
|
11522
|
+
break;
|
|
11523
|
+
case 3:
|
|
11524
|
+
message.comment = reader.string();
|
|
11525
|
+
break;
|
|
11241
11526
|
default:
|
|
11242
11527
|
let u = options.readUnknownField;
|
|
11243
11528
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11248,21 +11533,47 @@ var LocksAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11248
11533
|
return message;
|
|
11249
11534
|
}
|
|
11250
11535
|
internalBinaryWrite(message, writer, options) {
|
|
11536
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11537
|
+
for (let i = 0; i < message.lockReferencesOf.length; i++) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.lockReferencesOf[i]);
|
|
11538
|
+
if (message.comment !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.comment);
|
|
11251
11539
|
let u = options.writeUnknownFields;
|
|
11252
11540
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11253
11541
|
return writer;
|
|
11254
11542
|
}
|
|
11255
11543
|
};
|
|
11256
11544
|
/**
|
|
11257
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI
|
|
11545
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request
|
|
11258
11546
|
*/
|
|
11259
|
-
const
|
|
11260
|
-
var
|
|
11547
|
+
const LocksAPI_LockFieldValues_Create_Request = new LocksAPI_LockFieldValues_Create_Request$Type();
|
|
11548
|
+
var LocksAPI_LockFieldValues_Create_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11261
11549
|
constructor() {
|
|
11262
|
-
super("MiLaboratories.PL.API.LocksAPI.
|
|
11550
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response", [
|
|
11551
|
+
{
|
|
11552
|
+
no: 1,
|
|
11553
|
+
name: "acquired",
|
|
11554
|
+
kind: "scalar",
|
|
11555
|
+
T: 8
|
|
11556
|
+
},
|
|
11557
|
+
{
|
|
11558
|
+
no: 2,
|
|
11559
|
+
name: "conflicting_locks",
|
|
11560
|
+
kind: "message",
|
|
11561
|
+
repeat: 2,
|
|
11562
|
+
T: () => LocksAPI_LockFieldValues_Create_Response_LockInfo
|
|
11563
|
+
},
|
|
11564
|
+
{
|
|
11565
|
+
no: 3,
|
|
11566
|
+
name: "conflicts_list_truncated",
|
|
11567
|
+
kind: "scalar",
|
|
11568
|
+
T: 8
|
|
11569
|
+
}
|
|
11570
|
+
]);
|
|
11263
11571
|
}
|
|
11264
11572
|
create(value) {
|
|
11265
11573
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11574
|
+
message.acquired = false;
|
|
11575
|
+
message.conflictingLocks = [];
|
|
11576
|
+
message.conflictsListTruncated = false;
|
|
11266
11577
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11267
11578
|
return message;
|
|
11268
11579
|
}
|
|
@@ -11271,6 +11582,15 @@ var LocksAPI_Lease$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11271
11582
|
while (reader.pos < end) {
|
|
11272
11583
|
let [fieldNo, wireType] = reader.tag();
|
|
11273
11584
|
switch (fieldNo) {
|
|
11585
|
+
case 1:
|
|
11586
|
+
message.acquired = reader.bool();
|
|
11587
|
+
break;
|
|
11588
|
+
case 2:
|
|
11589
|
+
message.conflictingLocks.push(LocksAPI_LockFieldValues_Create_Response_LockInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
11590
|
+
break;
|
|
11591
|
+
case 3:
|
|
11592
|
+
message.conflictsListTruncated = reader.bool();
|
|
11593
|
+
break;
|
|
11274
11594
|
default:
|
|
11275
11595
|
let u = options.readUnknownField;
|
|
11276
11596
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11281,21 +11601,61 @@ var LocksAPI_Lease$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11281
11601
|
return message;
|
|
11282
11602
|
}
|
|
11283
11603
|
internalBinaryWrite(message, writer, options) {
|
|
11604
|
+
if (message.acquired !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.acquired);
|
|
11605
|
+
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();
|
|
11606
|
+
if (message.conflictsListTruncated !== false) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).bool(message.conflictsListTruncated);
|
|
11284
11607
|
let u = options.writeUnknownFields;
|
|
11285
11608
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11286
11609
|
return writer;
|
|
11287
11610
|
}
|
|
11288
11611
|
};
|
|
11289
11612
|
/**
|
|
11290
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.
|
|
11613
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response
|
|
11291
11614
|
*/
|
|
11292
|
-
const
|
|
11293
|
-
var
|
|
11615
|
+
const LocksAPI_LockFieldValues_Create_Response = new LocksAPI_LockFieldValues_Create_Response$Type();
|
|
11616
|
+
var LocksAPI_LockFieldValues_Create_Response_LockInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11294
11617
|
constructor() {
|
|
11295
|
-
super("MiLaboratories.PL.API.LocksAPI.
|
|
11618
|
+
super("MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo", [
|
|
11619
|
+
{
|
|
11620
|
+
no: 1,
|
|
11621
|
+
name: "target_id",
|
|
11622
|
+
kind: "scalar",
|
|
11623
|
+
T: 4,
|
|
11624
|
+
L: 0
|
|
11625
|
+
},
|
|
11626
|
+
{
|
|
11627
|
+
no: 2,
|
|
11628
|
+
name: "field_name",
|
|
11629
|
+
kind: "scalar",
|
|
11630
|
+
T: 9
|
|
11631
|
+
},
|
|
11632
|
+
{
|
|
11633
|
+
no: 3,
|
|
11634
|
+
name: "locked_by",
|
|
11635
|
+
kind: "scalar",
|
|
11636
|
+
T: 4,
|
|
11637
|
+
L: 0
|
|
11638
|
+
},
|
|
11639
|
+
{
|
|
11640
|
+
no: 4,
|
|
11641
|
+
name: "locked_at",
|
|
11642
|
+
kind: "message",
|
|
11643
|
+
T: () => require_timestamp.Timestamp
|
|
11644
|
+
},
|
|
11645
|
+
{
|
|
11646
|
+
no: 5,
|
|
11647
|
+
name: "comment",
|
|
11648
|
+
kind: "scalar",
|
|
11649
|
+
T: 9
|
|
11650
|
+
}
|
|
11651
|
+
]);
|
|
11296
11652
|
}
|
|
11297
11653
|
create(value) {
|
|
11298
11654
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11655
|
+
message.targetId = 0n;
|
|
11656
|
+
message.fieldName = "";
|
|
11657
|
+
message.lockedBy = 0n;
|
|
11658
|
+
message.comment = "";
|
|
11299
11659
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11300
11660
|
return message;
|
|
11301
11661
|
}
|
|
@@ -11304,6 +11664,21 @@ var LocksAPI_Lease_Create$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
11304
11664
|
while (reader.pos < end) {
|
|
11305
11665
|
let [fieldNo, wireType] = reader.tag();
|
|
11306
11666
|
switch (fieldNo) {
|
|
11667
|
+
case 1:
|
|
11668
|
+
message.targetId = reader.uint64().toBigInt();
|
|
11669
|
+
break;
|
|
11670
|
+
case 2:
|
|
11671
|
+
message.fieldName = reader.string();
|
|
11672
|
+
break;
|
|
11673
|
+
case 3:
|
|
11674
|
+
message.lockedBy = reader.uint64().toBigInt();
|
|
11675
|
+
break;
|
|
11676
|
+
case 4:
|
|
11677
|
+
message.lockedAt = require_timestamp.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lockedAt);
|
|
11678
|
+
break;
|
|
11679
|
+
case 5:
|
|
11680
|
+
message.comment = reader.string();
|
|
11681
|
+
break;
|
|
11307
11682
|
default:
|
|
11308
11683
|
let u = options.readUnknownField;
|
|
11309
11684
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11314,15 +11689,80 @@ var LocksAPI_Lease_Create$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
11314
11689
|
return message;
|
|
11315
11690
|
}
|
|
11316
11691
|
internalBinaryWrite(message, writer, options) {
|
|
11692
|
+
if (message.targetId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.targetId);
|
|
11693
|
+
if (message.fieldName !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.fieldName);
|
|
11694
|
+
if (message.lockedBy !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.lockedBy);
|
|
11695
|
+
if (message.lockedAt) require_timestamp.Timestamp.internalBinaryWrite(message.lockedAt, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11696
|
+
if (message.comment !== "") writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.comment);
|
|
11317
11697
|
let u = options.writeUnknownFields;
|
|
11318
11698
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11319
11699
|
return writer;
|
|
11320
11700
|
}
|
|
11321
11701
|
};
|
|
11322
11702
|
/**
|
|
11323
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.
|
|
11703
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo
|
|
11324
11704
|
*/
|
|
11325
|
-
const
|
|
11705
|
+
const LocksAPI_LockFieldValues_Create_Response_LockInfo = new LocksAPI_LockFieldValues_Create_Response_LockInfo$Type();
|
|
11706
|
+
var LocksAPI_Lease$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11707
|
+
constructor() {
|
|
11708
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease", []);
|
|
11709
|
+
}
|
|
11710
|
+
create(value) {
|
|
11711
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11712
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11713
|
+
return message;
|
|
11714
|
+
}
|
|
11715
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11716
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11717
|
+
while (reader.pos < end) {
|
|
11718
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11719
|
+
switch (fieldNo) {
|
|
11720
|
+
default:
|
|
11721
|
+
let u = options.readUnknownField;
|
|
11722
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11723
|
+
let d = reader.skip(wireType);
|
|
11724
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11725
|
+
}
|
|
11726
|
+
}
|
|
11727
|
+
return message;
|
|
11728
|
+
}
|
|
11729
|
+
internalBinaryWrite(message, writer, options) {
|
|
11730
|
+
let u = options.writeUnknownFields;
|
|
11731
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11732
|
+
return writer;
|
|
11733
|
+
}
|
|
11734
|
+
};
|
|
11735
|
+
new LocksAPI_Lease$Type();
|
|
11736
|
+
var LocksAPI_Lease_Create$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11737
|
+
constructor() {
|
|
11738
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Create", []);
|
|
11739
|
+
}
|
|
11740
|
+
create(value) {
|
|
11741
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11742
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11743
|
+
return message;
|
|
11744
|
+
}
|
|
11745
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11746
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11747
|
+
while (reader.pos < end) {
|
|
11748
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11749
|
+
switch (fieldNo) {
|
|
11750
|
+
default:
|
|
11751
|
+
let u = options.readUnknownField;
|
|
11752
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11753
|
+
let d = reader.skip(wireType);
|
|
11754
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11755
|
+
}
|
|
11756
|
+
}
|
|
11757
|
+
return message;
|
|
11758
|
+
}
|
|
11759
|
+
internalBinaryWrite(message, writer, options) {
|
|
11760
|
+
let u = options.writeUnknownFields;
|
|
11761
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11762
|
+
return writer;
|
|
11763
|
+
}
|
|
11764
|
+
};
|
|
11765
|
+
new LocksAPI_Lease_Create$Type();
|
|
11326
11766
|
var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11327
11767
|
constructor() {
|
|
11328
11768
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Request", [
|
|
@@ -11333,6 +11773,13 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11333
11773
|
T: 4,
|
|
11334
11774
|
L: 0
|
|
11335
11775
|
},
|
|
11776
|
+
{
|
|
11777
|
+
no: 5,
|
|
11778
|
+
name: "resource_signature",
|
|
11779
|
+
kind: "scalar",
|
|
11780
|
+
opt: true,
|
|
11781
|
+
T: 12
|
|
11782
|
+
},
|
|
11336
11783
|
{
|
|
11337
11784
|
no: 3,
|
|
11338
11785
|
name: "timeout",
|
|
@@ -11362,6 +11809,9 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11362
11809
|
case 1:
|
|
11363
11810
|
message.resourceId = reader.uint64().toBigInt();
|
|
11364
11811
|
break;
|
|
11812
|
+
case 5:
|
|
11813
|
+
message.resourceSignature = reader.bytes();
|
|
11814
|
+
break;
|
|
11365
11815
|
case 3:
|
|
11366
11816
|
message.timeout = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
11367
11817
|
break;
|
|
@@ -11381,6 +11831,7 @@ var LocksAPI_Lease_Create_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11381
11831
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11382
11832
|
if (message.timeout) require_duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11383
11833
|
if (message.name !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
11834
|
+
if (message.resourceSignature !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11384
11835
|
let u = options.writeUnknownFields;
|
|
11385
11836
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11386
11837
|
return writer;
|
|
@@ -11462,10 +11913,7 @@ var LocksAPI_Lease_Update$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
11462
11913
|
return writer;
|
|
11463
11914
|
}
|
|
11464
11915
|
};
|
|
11465
|
-
|
|
11466
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Update
|
|
11467
|
-
*/
|
|
11468
|
-
const LocksAPI_Lease_Update = new LocksAPI_Lease_Update$Type();
|
|
11916
|
+
new LocksAPI_Lease_Update$Type();
|
|
11469
11917
|
var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11470
11918
|
constructor() {
|
|
11471
11919
|
super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Request", [
|
|
@@ -11476,6 +11924,13 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11476
11924
|
T: 4,
|
|
11477
11925
|
L: 0
|
|
11478
11926
|
},
|
|
11927
|
+
{
|
|
11928
|
+
no: 5,
|
|
11929
|
+
name: "resource_signature",
|
|
11930
|
+
kind: "scalar",
|
|
11931
|
+
opt: true,
|
|
11932
|
+
T: 12
|
|
11933
|
+
},
|
|
11479
11934
|
{
|
|
11480
11935
|
no: 2,
|
|
11481
11936
|
name: "lease_id",
|
|
@@ -11512,6 +11967,9 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11512
11967
|
case 1:
|
|
11513
11968
|
message.resourceId = reader.uint64().toBigInt();
|
|
11514
11969
|
break;
|
|
11970
|
+
case 5:
|
|
11971
|
+
message.resourceSignature = reader.bytes();
|
|
11972
|
+
break;
|
|
11515
11973
|
case 2:
|
|
11516
11974
|
message.leaseId = reader.bytes();
|
|
11517
11975
|
break;
|
|
@@ -11535,6 +11993,7 @@ var LocksAPI_Lease_Update_Request$Type = class extends _protobuf_ts_runtime.Mess
|
|
|
11535
11993
|
if (message.leaseId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
11536
11994
|
if (message.timeout) require_duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11537
11995
|
if (message.name !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
11996
|
+
if (message.resourceSignature !== void 0) writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11538
11997
|
let u = options.writeUnknownFields;
|
|
11539
11998
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11540
11999
|
return writer;
|
|
@@ -11606,24 +12065,31 @@ var LocksAPI_Lease_Release$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
11606
12065
|
return writer;
|
|
11607
12066
|
}
|
|
11608
12067
|
};
|
|
11609
|
-
|
|
11610
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Release
|
|
11611
|
-
*/
|
|
11612
|
-
const LocksAPI_Lease_Release = new LocksAPI_Lease_Release$Type();
|
|
12068
|
+
new LocksAPI_Lease_Release$Type();
|
|
11613
12069
|
var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11614
12070
|
constructor() {
|
|
11615
|
-
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
12071
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
|
|
12072
|
+
{
|
|
12073
|
+
no: 1,
|
|
12074
|
+
name: "resource_id",
|
|
12075
|
+
kind: "scalar",
|
|
12076
|
+
T: 4,
|
|
12077
|
+
L: 0
|
|
12078
|
+
},
|
|
12079
|
+
{
|
|
12080
|
+
no: 3,
|
|
12081
|
+
name: "resource_signature",
|
|
12082
|
+
kind: "scalar",
|
|
12083
|
+
opt: true,
|
|
12084
|
+
T: 12
|
|
12085
|
+
},
|
|
12086
|
+
{
|
|
12087
|
+
no: 2,
|
|
12088
|
+
name: "lease_id",
|
|
12089
|
+
kind: "scalar",
|
|
12090
|
+
T: 12
|
|
12091
|
+
}
|
|
12092
|
+
]);
|
|
11627
12093
|
}
|
|
11628
12094
|
create(value) {
|
|
11629
12095
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -11640,6 +12106,9 @@ var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11640
12106
|
case 1:
|
|
11641
12107
|
message.resourceId = reader.uint64().toBigInt();
|
|
11642
12108
|
break;
|
|
12109
|
+
case 3:
|
|
12110
|
+
message.resourceSignature = reader.bytes();
|
|
12111
|
+
break;
|
|
11643
12112
|
case 2:
|
|
11644
12113
|
message.leaseId = reader.bytes();
|
|
11645
12114
|
break;
|
|
@@ -11655,6 +12124,7 @@ var LocksAPI_Lease_Release_Request$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11655
12124
|
internalBinaryWrite(message, writer, options) {
|
|
11656
12125
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
11657
12126
|
if (message.leaseId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
12127
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11658
12128
|
let u = options.writeUnknownFields;
|
|
11659
12129
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11660
12130
|
return writer;
|
|
@@ -11726,10 +12196,7 @@ var AuthAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11726
12196
|
return writer;
|
|
11727
12197
|
}
|
|
11728
12198
|
};
|
|
11729
|
-
|
|
11730
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI
|
|
11731
|
-
*/
|
|
11732
|
-
const AuthAPI = new AuthAPI$Type();
|
|
12199
|
+
new AuthAPI$Type();
|
|
11733
12200
|
var AuthAPI_ListMethods$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11734
12201
|
constructor() {
|
|
11735
12202
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods", []);
|
|
@@ -11759,10 +12226,7 @@ var AuthAPI_ListMethods$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11759
12226
|
return writer;
|
|
11760
12227
|
}
|
|
11761
12228
|
};
|
|
11762
|
-
|
|
11763
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods
|
|
11764
|
-
*/
|
|
11765
|
-
const AuthAPI_ListMethods = new AuthAPI_ListMethods$Type();
|
|
12229
|
+
new AuthAPI_ListMethods$Type();
|
|
11766
12230
|
var AuthAPI_ListMethods_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11767
12231
|
constructor() {
|
|
11768
12232
|
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Request", []);
|
|
@@ -11798,17 +12262,807 @@ var AuthAPI_ListMethods_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11798
12262
|
const AuthAPI_ListMethods_Request = new AuthAPI_ListMethods_Request$Type();
|
|
11799
12263
|
var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11800
12264
|
constructor() {
|
|
11801
|
-
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [{
|
|
11802
|
-
no: 1,
|
|
11803
|
-
name: "methods",
|
|
11804
|
-
kind: "message",
|
|
11805
|
-
repeat: 2,
|
|
11806
|
-
T: () => AuthAPI_ListMethods_MethodInfo
|
|
11807
|
-
}]);
|
|
12265
|
+
super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [{
|
|
12266
|
+
no: 1,
|
|
12267
|
+
name: "methods",
|
|
12268
|
+
kind: "message",
|
|
12269
|
+
repeat: 2,
|
|
12270
|
+
T: () => AuthAPI_ListMethods_MethodInfo
|
|
12271
|
+
}]);
|
|
12272
|
+
}
|
|
12273
|
+
create(value) {
|
|
12274
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12275
|
+
message.methods = [];
|
|
12276
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12277
|
+
return message;
|
|
12278
|
+
}
|
|
12279
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12280
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12281
|
+
while (reader.pos < end) {
|
|
12282
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12283
|
+
switch (fieldNo) {
|
|
12284
|
+
case 1:
|
|
12285
|
+
message.methods.push(AuthAPI_ListMethods_MethodInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
12286
|
+
break;
|
|
12287
|
+
default:
|
|
12288
|
+
let u = options.readUnknownField;
|
|
12289
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12290
|
+
let d = reader.skip(wireType);
|
|
12291
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12292
|
+
}
|
|
12293
|
+
}
|
|
12294
|
+
return message;
|
|
12295
|
+
}
|
|
12296
|
+
internalBinaryWrite(message, writer, options) {
|
|
12297
|
+
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();
|
|
12298
|
+
let u = options.writeUnknownFields;
|
|
12299
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12300
|
+
return writer;
|
|
12301
|
+
}
|
|
12302
|
+
};
|
|
12303
|
+
/**
|
|
12304
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods.Response
|
|
12305
|
+
*/
|
|
12306
|
+
const AuthAPI_ListMethods_Response = new AuthAPI_ListMethods_Response$Type();
|
|
12307
|
+
var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12308
|
+
constructor() {
|
|
12309
|
+
super("MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo", [
|
|
12310
|
+
{
|
|
12311
|
+
no: 1,
|
|
12312
|
+
name: "type",
|
|
12313
|
+
kind: "scalar",
|
|
12314
|
+
T: 9
|
|
12315
|
+
},
|
|
12316
|
+
{
|
|
12317
|
+
no: 2,
|
|
12318
|
+
name: "name",
|
|
12319
|
+
kind: "scalar",
|
|
12320
|
+
T: 9
|
|
12321
|
+
},
|
|
12322
|
+
{
|
|
12323
|
+
no: 3,
|
|
12324
|
+
name: "info",
|
|
12325
|
+
kind: "map",
|
|
12326
|
+
K: 9,
|
|
12327
|
+
V: {
|
|
12328
|
+
kind: "scalar",
|
|
12329
|
+
T: 9
|
|
12330
|
+
}
|
|
12331
|
+
}
|
|
12332
|
+
]);
|
|
12333
|
+
}
|
|
12334
|
+
create(value) {
|
|
12335
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12336
|
+
message.type = "";
|
|
12337
|
+
message.name = "";
|
|
12338
|
+
message.info = {};
|
|
12339
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12340
|
+
return message;
|
|
12341
|
+
}
|
|
12342
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12343
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12344
|
+
while (reader.pos < end) {
|
|
12345
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12346
|
+
switch (fieldNo) {
|
|
12347
|
+
case 1:
|
|
12348
|
+
message.type = reader.string();
|
|
12349
|
+
break;
|
|
12350
|
+
case 2:
|
|
12351
|
+
message.name = reader.string();
|
|
12352
|
+
break;
|
|
12353
|
+
case 3:
|
|
12354
|
+
this.binaryReadMap3(message.info, reader, options);
|
|
12355
|
+
break;
|
|
12356
|
+
default:
|
|
12357
|
+
let u = options.readUnknownField;
|
|
12358
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12359
|
+
let d = reader.skip(wireType);
|
|
12360
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12361
|
+
}
|
|
12362
|
+
}
|
|
12363
|
+
return message;
|
|
12364
|
+
}
|
|
12365
|
+
binaryReadMap3(map, reader, options) {
|
|
12366
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
12367
|
+
while (reader.pos < end) {
|
|
12368
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12369
|
+
switch (fieldNo) {
|
|
12370
|
+
case 1:
|
|
12371
|
+
key = reader.string();
|
|
12372
|
+
break;
|
|
12373
|
+
case 2:
|
|
12374
|
+
val = reader.string();
|
|
12375
|
+
break;
|
|
12376
|
+
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo.info");
|
|
12377
|
+
}
|
|
12378
|
+
}
|
|
12379
|
+
map[key ?? ""] = val ?? "";
|
|
12380
|
+
}
|
|
12381
|
+
internalBinaryWrite(message, writer, options) {
|
|
12382
|
+
if (message.type !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.type);
|
|
12383
|
+
if (message.name !== "") writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.name);
|
|
12384
|
+
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();
|
|
12385
|
+
let u = options.writeUnknownFields;
|
|
12386
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12387
|
+
return writer;
|
|
12388
|
+
}
|
|
12389
|
+
};
|
|
12390
|
+
/**
|
|
12391
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo
|
|
12392
|
+
*/
|
|
12393
|
+
const AuthAPI_ListMethods_MethodInfo = new AuthAPI_ListMethods_MethodInfo$Type();
|
|
12394
|
+
var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12395
|
+
constructor() {
|
|
12396
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken", []);
|
|
12397
|
+
}
|
|
12398
|
+
create(value) {
|
|
12399
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12400
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12401
|
+
return message;
|
|
12402
|
+
}
|
|
12403
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12404
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12405
|
+
while (reader.pos < end) {
|
|
12406
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12407
|
+
switch (fieldNo) {
|
|
12408
|
+
default:
|
|
12409
|
+
let u = options.readUnknownField;
|
|
12410
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12411
|
+
let d = reader.skip(wireType);
|
|
12412
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12413
|
+
}
|
|
12414
|
+
}
|
|
12415
|
+
return message;
|
|
12416
|
+
}
|
|
12417
|
+
internalBinaryWrite(message, writer, options) {
|
|
12418
|
+
let u = options.writeUnknownFields;
|
|
12419
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12420
|
+
return writer;
|
|
12421
|
+
}
|
|
12422
|
+
};
|
|
12423
|
+
new AuthAPI_GetJWTToken$Type();
|
|
12424
|
+
var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12425
|
+
constructor() {
|
|
12426
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request", [{
|
|
12427
|
+
no: 1,
|
|
12428
|
+
name: "expiration",
|
|
12429
|
+
kind: "message",
|
|
12430
|
+
T: () => require_duration.Duration
|
|
12431
|
+
}, {
|
|
12432
|
+
no: 2,
|
|
12433
|
+
name: "requested_role",
|
|
12434
|
+
kind: "enum",
|
|
12435
|
+
opt: true,
|
|
12436
|
+
T: () => ["MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role", AuthAPI_GetJWTToken_Role]
|
|
12437
|
+
}]);
|
|
12438
|
+
}
|
|
12439
|
+
create(value) {
|
|
12440
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12441
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12442
|
+
return message;
|
|
12443
|
+
}
|
|
12444
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12445
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12446
|
+
while (reader.pos < end) {
|
|
12447
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12448
|
+
switch (fieldNo) {
|
|
12449
|
+
case 1:
|
|
12450
|
+
message.expiration = require_duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.expiration);
|
|
12451
|
+
break;
|
|
12452
|
+
case 2:
|
|
12453
|
+
message.requestedRole = reader.int32();
|
|
12454
|
+
break;
|
|
12455
|
+
default:
|
|
12456
|
+
let u = options.readUnknownField;
|
|
12457
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12458
|
+
let d = reader.skip(wireType);
|
|
12459
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12460
|
+
}
|
|
12461
|
+
}
|
|
12462
|
+
return message;
|
|
12463
|
+
}
|
|
12464
|
+
internalBinaryWrite(message, writer, options) {
|
|
12465
|
+
if (message.expiration) require_duration.Duration.internalBinaryWrite(message.expiration, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12466
|
+
if (message.requestedRole !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int32(message.requestedRole);
|
|
12467
|
+
let u = options.writeUnknownFields;
|
|
12468
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12469
|
+
return writer;
|
|
12470
|
+
}
|
|
12471
|
+
};
|
|
12472
|
+
/**
|
|
12473
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request
|
|
12474
|
+
*/
|
|
12475
|
+
const AuthAPI_GetJWTToken_Request = new AuthAPI_GetJWTToken_Request$Type();
|
|
12476
|
+
var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12477
|
+
constructor() {
|
|
12478
|
+
super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response", [{
|
|
12479
|
+
no: 1,
|
|
12480
|
+
name: "token",
|
|
12481
|
+
kind: "scalar",
|
|
12482
|
+
T: 9
|
|
12483
|
+
}, {
|
|
12484
|
+
no: 2,
|
|
12485
|
+
name: "session_id",
|
|
12486
|
+
kind: "scalar",
|
|
12487
|
+
T: 12
|
|
12488
|
+
}]);
|
|
12489
|
+
}
|
|
12490
|
+
create(value) {
|
|
12491
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12492
|
+
message.token = "";
|
|
12493
|
+
message.sessionId = new Uint8Array(0);
|
|
12494
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12495
|
+
return message;
|
|
12496
|
+
}
|
|
12497
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12498
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12499
|
+
while (reader.pos < end) {
|
|
12500
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12501
|
+
switch (fieldNo) {
|
|
12502
|
+
case 1:
|
|
12503
|
+
message.token = reader.string();
|
|
12504
|
+
break;
|
|
12505
|
+
case 2:
|
|
12506
|
+
message.sessionId = reader.bytes();
|
|
12507
|
+
break;
|
|
12508
|
+
default:
|
|
12509
|
+
let u = options.readUnknownField;
|
|
12510
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12511
|
+
let d = reader.skip(wireType);
|
|
12512
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12513
|
+
}
|
|
12514
|
+
}
|
|
12515
|
+
return message;
|
|
12516
|
+
}
|
|
12517
|
+
internalBinaryWrite(message, writer, options) {
|
|
12518
|
+
if (message.token !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.token);
|
|
12519
|
+
if (message.sessionId.length) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.sessionId);
|
|
12520
|
+
let u = options.writeUnknownFields;
|
|
12521
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12522
|
+
return writer;
|
|
12523
|
+
}
|
|
12524
|
+
};
|
|
12525
|
+
/**
|
|
12526
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
12527
|
+
*/
|
|
12528
|
+
const AuthAPI_GetJWTToken_Response = new AuthAPI_GetJWTToken_Response$Type();
|
|
12529
|
+
var AuthAPI_GrantAccess$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12530
|
+
constructor() {
|
|
12531
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess", []);
|
|
12532
|
+
}
|
|
12533
|
+
create(value) {
|
|
12534
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12535
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12536
|
+
return message;
|
|
12537
|
+
}
|
|
12538
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12539
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12540
|
+
while (reader.pos < end) {
|
|
12541
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12542
|
+
switch (fieldNo) {
|
|
12543
|
+
default:
|
|
12544
|
+
let u = options.readUnknownField;
|
|
12545
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12546
|
+
let d = reader.skip(wireType);
|
|
12547
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12548
|
+
}
|
|
12549
|
+
}
|
|
12550
|
+
return message;
|
|
12551
|
+
}
|
|
12552
|
+
internalBinaryWrite(message, writer, options) {
|
|
12553
|
+
let u = options.writeUnknownFields;
|
|
12554
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12555
|
+
return writer;
|
|
12556
|
+
}
|
|
12557
|
+
};
|
|
12558
|
+
new AuthAPI_GrantAccess$Type();
|
|
12559
|
+
var AuthAPI_GrantAccess_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12560
|
+
constructor() {
|
|
12561
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess.Request", [
|
|
12562
|
+
{
|
|
12563
|
+
no: 1,
|
|
12564
|
+
name: "resource_id",
|
|
12565
|
+
kind: "scalar",
|
|
12566
|
+
T: 4,
|
|
12567
|
+
L: 0
|
|
12568
|
+
},
|
|
12569
|
+
{
|
|
12570
|
+
no: 2,
|
|
12571
|
+
name: "resource_signature",
|
|
12572
|
+
kind: "scalar",
|
|
12573
|
+
opt: true,
|
|
12574
|
+
T: 12
|
|
12575
|
+
},
|
|
12576
|
+
{
|
|
12577
|
+
no: 3,
|
|
12578
|
+
name: "target_user",
|
|
12579
|
+
kind: "scalar",
|
|
12580
|
+
T: 9
|
|
12581
|
+
},
|
|
12582
|
+
{
|
|
12583
|
+
no: 4,
|
|
12584
|
+
name: "permissions",
|
|
12585
|
+
kind: "message",
|
|
12586
|
+
T: () => AuthAPI_Grant_Permissions
|
|
12587
|
+
}
|
|
12588
|
+
]);
|
|
12589
|
+
}
|
|
12590
|
+
create(value) {
|
|
12591
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12592
|
+
message.resourceId = 0n;
|
|
12593
|
+
message.targetUser = "";
|
|
12594
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12595
|
+
return message;
|
|
12596
|
+
}
|
|
12597
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12598
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12599
|
+
while (reader.pos < end) {
|
|
12600
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12601
|
+
switch (fieldNo) {
|
|
12602
|
+
case 1:
|
|
12603
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
12604
|
+
break;
|
|
12605
|
+
case 2:
|
|
12606
|
+
message.resourceSignature = reader.bytes();
|
|
12607
|
+
break;
|
|
12608
|
+
case 3:
|
|
12609
|
+
message.targetUser = reader.string();
|
|
12610
|
+
break;
|
|
12611
|
+
case 4:
|
|
12612
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
12613
|
+
break;
|
|
12614
|
+
default:
|
|
12615
|
+
let u = options.readUnknownField;
|
|
12616
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12617
|
+
let d = reader.skip(wireType);
|
|
12618
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12619
|
+
}
|
|
12620
|
+
}
|
|
12621
|
+
return message;
|
|
12622
|
+
}
|
|
12623
|
+
internalBinaryWrite(message, writer, options) {
|
|
12624
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
12625
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
12626
|
+
if (message.targetUser !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.targetUser);
|
|
12627
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12628
|
+
let u = options.writeUnknownFields;
|
|
12629
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12630
|
+
return writer;
|
|
12631
|
+
}
|
|
12632
|
+
};
|
|
12633
|
+
/**
|
|
12634
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Request
|
|
12635
|
+
*/
|
|
12636
|
+
const AuthAPI_GrantAccess_Request = new AuthAPI_GrantAccess_Request$Type();
|
|
12637
|
+
var AuthAPI_GrantAccess_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12638
|
+
constructor() {
|
|
12639
|
+
super("MiLaboratories.PL.API.AuthAPI.GrantAccess.Response", []);
|
|
12640
|
+
}
|
|
12641
|
+
create(value) {
|
|
12642
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12643
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12644
|
+
return message;
|
|
12645
|
+
}
|
|
12646
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12647
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12648
|
+
while (reader.pos < end) {
|
|
12649
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12650
|
+
switch (fieldNo) {
|
|
12651
|
+
default:
|
|
12652
|
+
let u = options.readUnknownField;
|
|
12653
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12654
|
+
let d = reader.skip(wireType);
|
|
12655
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12656
|
+
}
|
|
12657
|
+
}
|
|
12658
|
+
return message;
|
|
12659
|
+
}
|
|
12660
|
+
internalBinaryWrite(message, writer, options) {
|
|
12661
|
+
let u = options.writeUnknownFields;
|
|
12662
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12663
|
+
return writer;
|
|
12664
|
+
}
|
|
12665
|
+
};
|
|
12666
|
+
/**
|
|
12667
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
12668
|
+
*/
|
|
12669
|
+
const AuthAPI_GrantAccess_Response = new AuthAPI_GrantAccess_Response$Type();
|
|
12670
|
+
var AuthAPI_RevokeGrant$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12671
|
+
constructor() {
|
|
12672
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant", []);
|
|
12673
|
+
}
|
|
12674
|
+
create(value) {
|
|
12675
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12676
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12677
|
+
return message;
|
|
12678
|
+
}
|
|
12679
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12680
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12681
|
+
while (reader.pos < end) {
|
|
12682
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12683
|
+
switch (fieldNo) {
|
|
12684
|
+
default:
|
|
12685
|
+
let u = options.readUnknownField;
|
|
12686
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12687
|
+
let d = reader.skip(wireType);
|
|
12688
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12689
|
+
}
|
|
12690
|
+
}
|
|
12691
|
+
return message;
|
|
12692
|
+
}
|
|
12693
|
+
internalBinaryWrite(message, writer, options) {
|
|
12694
|
+
let u = options.writeUnknownFields;
|
|
12695
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12696
|
+
return writer;
|
|
12697
|
+
}
|
|
12698
|
+
};
|
|
12699
|
+
new AuthAPI_RevokeGrant$Type();
|
|
12700
|
+
var AuthAPI_RevokeGrant_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12701
|
+
constructor() {
|
|
12702
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request", [
|
|
12703
|
+
{
|
|
12704
|
+
no: 1,
|
|
12705
|
+
name: "resource_id",
|
|
12706
|
+
kind: "scalar",
|
|
12707
|
+
T: 4,
|
|
12708
|
+
L: 0
|
|
12709
|
+
},
|
|
12710
|
+
{
|
|
12711
|
+
no: 2,
|
|
12712
|
+
name: "resource_signature",
|
|
12713
|
+
kind: "scalar",
|
|
12714
|
+
opt: true,
|
|
12715
|
+
T: 12
|
|
12716
|
+
},
|
|
12717
|
+
{
|
|
12718
|
+
no: 3,
|
|
12719
|
+
name: "target_user",
|
|
12720
|
+
kind: "scalar",
|
|
12721
|
+
T: 9
|
|
12722
|
+
}
|
|
12723
|
+
]);
|
|
12724
|
+
}
|
|
12725
|
+
create(value) {
|
|
12726
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12727
|
+
message.resourceId = 0n;
|
|
12728
|
+
message.targetUser = "";
|
|
12729
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12730
|
+
return message;
|
|
12731
|
+
}
|
|
12732
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12733
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12734
|
+
while (reader.pos < end) {
|
|
12735
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12736
|
+
switch (fieldNo) {
|
|
12737
|
+
case 1:
|
|
12738
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
12739
|
+
break;
|
|
12740
|
+
case 2:
|
|
12741
|
+
message.resourceSignature = reader.bytes();
|
|
12742
|
+
break;
|
|
12743
|
+
case 3:
|
|
12744
|
+
message.targetUser = reader.string();
|
|
12745
|
+
break;
|
|
12746
|
+
default:
|
|
12747
|
+
let u = options.readUnknownField;
|
|
12748
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12749
|
+
let d = reader.skip(wireType);
|
|
12750
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12751
|
+
}
|
|
12752
|
+
}
|
|
12753
|
+
return message;
|
|
12754
|
+
}
|
|
12755
|
+
internalBinaryWrite(message, writer, options) {
|
|
12756
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
12757
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
12758
|
+
if (message.targetUser !== "") writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.targetUser);
|
|
12759
|
+
let u = options.writeUnknownFields;
|
|
12760
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12761
|
+
return writer;
|
|
12762
|
+
}
|
|
12763
|
+
};
|
|
12764
|
+
/**
|
|
12765
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request
|
|
12766
|
+
*/
|
|
12767
|
+
const AuthAPI_RevokeGrant_Request = new AuthAPI_RevokeGrant_Request$Type();
|
|
12768
|
+
var AuthAPI_RevokeGrant_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12769
|
+
constructor() {
|
|
12770
|
+
super("MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response", []);
|
|
12771
|
+
}
|
|
12772
|
+
create(value) {
|
|
12773
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12774
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12775
|
+
return message;
|
|
12776
|
+
}
|
|
12777
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12778
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12779
|
+
while (reader.pos < end) {
|
|
12780
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12781
|
+
switch (fieldNo) {
|
|
12782
|
+
default:
|
|
12783
|
+
let u = options.readUnknownField;
|
|
12784
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12785
|
+
let d = reader.skip(wireType);
|
|
12786
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12787
|
+
}
|
|
12788
|
+
}
|
|
12789
|
+
return message;
|
|
12790
|
+
}
|
|
12791
|
+
internalBinaryWrite(message, writer, options) {
|
|
12792
|
+
let u = options.writeUnknownFields;
|
|
12793
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12794
|
+
return writer;
|
|
12795
|
+
}
|
|
12796
|
+
};
|
|
12797
|
+
/**
|
|
12798
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response
|
|
12799
|
+
*/
|
|
12800
|
+
const AuthAPI_RevokeGrant_Response = new AuthAPI_RevokeGrant_Response$Type();
|
|
12801
|
+
var AuthAPI_ListGrants$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12802
|
+
constructor() {
|
|
12803
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants", []);
|
|
12804
|
+
}
|
|
12805
|
+
create(value) {
|
|
12806
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12807
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12808
|
+
return message;
|
|
12809
|
+
}
|
|
12810
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12811
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12812
|
+
while (reader.pos < end) {
|
|
12813
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12814
|
+
switch (fieldNo) {
|
|
12815
|
+
default:
|
|
12816
|
+
let u = options.readUnknownField;
|
|
12817
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12818
|
+
let d = reader.skip(wireType);
|
|
12819
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12820
|
+
}
|
|
12821
|
+
}
|
|
12822
|
+
return message;
|
|
12823
|
+
}
|
|
12824
|
+
internalBinaryWrite(message, writer, options) {
|
|
12825
|
+
let u = options.writeUnknownFields;
|
|
12826
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12827
|
+
return writer;
|
|
12828
|
+
}
|
|
12829
|
+
};
|
|
12830
|
+
new AuthAPI_ListGrants$Type();
|
|
12831
|
+
var AuthAPI_ListGrants_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12832
|
+
constructor() {
|
|
12833
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants.Request", [{
|
|
12834
|
+
no: 1,
|
|
12835
|
+
name: "resource_id",
|
|
12836
|
+
kind: "scalar",
|
|
12837
|
+
T: 4,
|
|
12838
|
+
L: 0
|
|
12839
|
+
}, {
|
|
12840
|
+
no: 2,
|
|
12841
|
+
name: "resource_signature",
|
|
12842
|
+
kind: "scalar",
|
|
12843
|
+
opt: true,
|
|
12844
|
+
T: 12
|
|
12845
|
+
}]);
|
|
12846
|
+
}
|
|
12847
|
+
create(value) {
|
|
12848
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12849
|
+
message.resourceId = 0n;
|
|
12850
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12851
|
+
return message;
|
|
12852
|
+
}
|
|
12853
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12854
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12855
|
+
while (reader.pos < end) {
|
|
12856
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12857
|
+
switch (fieldNo) {
|
|
12858
|
+
case 1:
|
|
12859
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
12860
|
+
break;
|
|
12861
|
+
case 2:
|
|
12862
|
+
message.resourceSignature = reader.bytes();
|
|
12863
|
+
break;
|
|
12864
|
+
default:
|
|
12865
|
+
let u = options.readUnknownField;
|
|
12866
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12867
|
+
let d = reader.skip(wireType);
|
|
12868
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12869
|
+
}
|
|
12870
|
+
}
|
|
12871
|
+
return message;
|
|
12872
|
+
}
|
|
12873
|
+
internalBinaryWrite(message, writer, options) {
|
|
12874
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
12875
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
12876
|
+
let u = options.writeUnknownFields;
|
|
12877
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12878
|
+
return writer;
|
|
12879
|
+
}
|
|
12880
|
+
};
|
|
12881
|
+
/**
|
|
12882
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Request
|
|
12883
|
+
*/
|
|
12884
|
+
const AuthAPI_ListGrants_Request = new AuthAPI_ListGrants_Request$Type();
|
|
12885
|
+
var AuthAPI_ListGrants_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12886
|
+
constructor() {
|
|
12887
|
+
super("MiLaboratories.PL.API.AuthAPI.ListGrants.Response", [{
|
|
12888
|
+
no: 1,
|
|
12889
|
+
name: "grant",
|
|
12890
|
+
kind: "message",
|
|
12891
|
+
T: () => AuthAPI_Grant
|
|
12892
|
+
}]);
|
|
12893
|
+
}
|
|
12894
|
+
create(value) {
|
|
12895
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12896
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12897
|
+
return message;
|
|
12898
|
+
}
|
|
12899
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12900
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12901
|
+
while (reader.pos < end) {
|
|
12902
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12903
|
+
switch (fieldNo) {
|
|
12904
|
+
case 1:
|
|
12905
|
+
message.grant = AuthAPI_Grant.internalBinaryRead(reader, reader.uint32(), options, message.grant);
|
|
12906
|
+
break;
|
|
12907
|
+
default:
|
|
12908
|
+
let u = options.readUnknownField;
|
|
12909
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12910
|
+
let d = reader.skip(wireType);
|
|
12911
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12912
|
+
}
|
|
12913
|
+
}
|
|
12914
|
+
return message;
|
|
12915
|
+
}
|
|
12916
|
+
internalBinaryWrite(message, writer, options) {
|
|
12917
|
+
if (message.grant) AuthAPI_Grant.internalBinaryWrite(message.grant, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12918
|
+
let u = options.writeUnknownFields;
|
|
12919
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12920
|
+
return writer;
|
|
12921
|
+
}
|
|
12922
|
+
};
|
|
12923
|
+
/**
|
|
12924
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
|
|
12925
|
+
*/
|
|
12926
|
+
const AuthAPI_ListGrants_Response = new AuthAPI_ListGrants_Response$Type();
|
|
12927
|
+
var AuthAPI_Grant$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12928
|
+
constructor() {
|
|
12929
|
+
super("MiLaboratories.PL.API.AuthAPI.Grant", [
|
|
12930
|
+
{
|
|
12931
|
+
no: 1,
|
|
12932
|
+
name: "user",
|
|
12933
|
+
kind: "scalar",
|
|
12934
|
+
T: 9
|
|
12935
|
+
},
|
|
12936
|
+
{
|
|
12937
|
+
no: 2,
|
|
12938
|
+
name: "resource_id",
|
|
12939
|
+
kind: "scalar",
|
|
12940
|
+
T: 4,
|
|
12941
|
+
L: 0
|
|
12942
|
+
},
|
|
12943
|
+
{
|
|
12944
|
+
no: 3,
|
|
12945
|
+
name: "permissions",
|
|
12946
|
+
kind: "message",
|
|
12947
|
+
T: () => AuthAPI_Grant_Permissions
|
|
12948
|
+
},
|
|
12949
|
+
{
|
|
12950
|
+
no: 4,
|
|
12951
|
+
name: "granted_by",
|
|
12952
|
+
kind: "scalar",
|
|
12953
|
+
T: 9
|
|
12954
|
+
},
|
|
12955
|
+
{
|
|
12956
|
+
no: 5,
|
|
12957
|
+
name: "granted_at",
|
|
12958
|
+
kind: "scalar",
|
|
12959
|
+
T: 3,
|
|
12960
|
+
L: 0
|
|
12961
|
+
}
|
|
12962
|
+
]);
|
|
12963
|
+
}
|
|
12964
|
+
create(value) {
|
|
12965
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
12966
|
+
message.user = "";
|
|
12967
|
+
message.resourceId = 0n;
|
|
12968
|
+
message.grantedBy = "";
|
|
12969
|
+
message.grantedAt = 0n;
|
|
12970
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12971
|
+
return message;
|
|
12972
|
+
}
|
|
12973
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12974
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12975
|
+
while (reader.pos < end) {
|
|
12976
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12977
|
+
switch (fieldNo) {
|
|
12978
|
+
case 1:
|
|
12979
|
+
message.user = reader.string();
|
|
12980
|
+
break;
|
|
12981
|
+
case 2:
|
|
12982
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
12983
|
+
break;
|
|
12984
|
+
case 3:
|
|
12985
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
12986
|
+
break;
|
|
12987
|
+
case 4:
|
|
12988
|
+
message.grantedBy = reader.string();
|
|
12989
|
+
break;
|
|
12990
|
+
case 5:
|
|
12991
|
+
message.grantedAt = reader.int64().toBigInt();
|
|
12992
|
+
break;
|
|
12993
|
+
default:
|
|
12994
|
+
let u = options.readUnknownField;
|
|
12995
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12996
|
+
let d = reader.skip(wireType);
|
|
12997
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12998
|
+
}
|
|
12999
|
+
}
|
|
13000
|
+
return message;
|
|
13001
|
+
}
|
|
13002
|
+
internalBinaryWrite(message, writer, options) {
|
|
13003
|
+
if (message.user !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.user);
|
|
13004
|
+
if (message.resourceId !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13005
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13006
|
+
if (message.grantedBy !== "") writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.grantedBy);
|
|
13007
|
+
if (message.grantedAt !== 0n) writer.tag(5, _protobuf_ts_runtime.WireType.Varint).int64(message.grantedAt);
|
|
13008
|
+
let u = options.writeUnknownFields;
|
|
13009
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13010
|
+
return writer;
|
|
13011
|
+
}
|
|
13012
|
+
};
|
|
13013
|
+
/**
|
|
13014
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant
|
|
13015
|
+
*/
|
|
13016
|
+
const AuthAPI_Grant = new AuthAPI_Grant$Type();
|
|
13017
|
+
var AuthAPI_Grant_Permissions$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13018
|
+
constructor() {
|
|
13019
|
+
super("MiLaboratories.PL.API.AuthAPI.Grant.Permissions", [{
|
|
13020
|
+
no: 1,
|
|
13021
|
+
name: "writable",
|
|
13022
|
+
kind: "scalar",
|
|
13023
|
+
T: 8
|
|
13024
|
+
}]);
|
|
13025
|
+
}
|
|
13026
|
+
create(value) {
|
|
13027
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13028
|
+
message.writable = false;
|
|
13029
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13030
|
+
return message;
|
|
13031
|
+
}
|
|
13032
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13033
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13034
|
+
while (reader.pos < end) {
|
|
13035
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13036
|
+
switch (fieldNo) {
|
|
13037
|
+
case 1:
|
|
13038
|
+
message.writable = reader.bool();
|
|
13039
|
+
break;
|
|
13040
|
+
default:
|
|
13041
|
+
let u = options.readUnknownField;
|
|
13042
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13043
|
+
let d = reader.skip(wireType);
|
|
13044
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13045
|
+
}
|
|
13046
|
+
}
|
|
13047
|
+
return message;
|
|
13048
|
+
}
|
|
13049
|
+
internalBinaryWrite(message, writer, options) {
|
|
13050
|
+
if (message.writable !== false) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).bool(message.writable);
|
|
13051
|
+
let u = options.writeUnknownFields;
|
|
13052
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13053
|
+
return writer;
|
|
13054
|
+
}
|
|
13055
|
+
};
|
|
13056
|
+
/**
|
|
13057
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant.Permissions
|
|
13058
|
+
*/
|
|
13059
|
+
const AuthAPI_Grant_Permissions = new AuthAPI_Grant_Permissions$Type();
|
|
13060
|
+
var AuthAPI_ListUserResources$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13061
|
+
constructor() {
|
|
13062
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources", []);
|
|
11808
13063
|
}
|
|
11809
13064
|
create(value) {
|
|
11810
13065
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11811
|
-
message.methods = [];
|
|
11812
13066
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11813
13067
|
return message;
|
|
11814
13068
|
}
|
|
@@ -11817,9 +13071,6 @@ var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11817
13071
|
while (reader.pos < end) {
|
|
11818
13072
|
let [fieldNo, wireType] = reader.tag();
|
|
11819
13073
|
switch (fieldNo) {
|
|
11820
|
-
case 1:
|
|
11821
|
-
message.methods.push(AuthAPI_ListMethods_MethodInfo.internalBinaryRead(reader, reader.uint32(), options));
|
|
11822
|
-
break;
|
|
11823
13074
|
default:
|
|
11824
13075
|
let u = options.readUnknownField;
|
|
11825
13076
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11830,48 +13081,41 @@ var AuthAPI_ListMethods_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
11830
13081
|
return message;
|
|
11831
13082
|
}
|
|
11832
13083
|
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
13084
|
let u = options.writeUnknownFields;
|
|
11835
13085
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11836
13086
|
return writer;
|
|
11837
13087
|
}
|
|
11838
13088
|
};
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
*/
|
|
11842
|
-
const AuthAPI_ListMethods_Response = new AuthAPI_ListMethods_Response$Type();
|
|
11843
|
-
var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13089
|
+
new AuthAPI_ListUserResources$Type();
|
|
13090
|
+
var AuthAPI_ListUserResources_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11844
13091
|
constructor() {
|
|
11845
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13092
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.Request", [
|
|
11846
13093
|
{
|
|
11847
13094
|
no: 1,
|
|
11848
|
-
name: "
|
|
13095
|
+
name: "login",
|
|
11849
13096
|
kind: "scalar",
|
|
11850
13097
|
T: 9
|
|
11851
13098
|
},
|
|
11852
13099
|
{
|
|
11853
13100
|
no: 2,
|
|
11854
|
-
name: "
|
|
13101
|
+
name: "start_from",
|
|
11855
13102
|
kind: "scalar",
|
|
11856
|
-
T:
|
|
13103
|
+
T: 4,
|
|
13104
|
+
L: 0
|
|
11857
13105
|
},
|
|
11858
13106
|
{
|
|
11859
13107
|
no: 3,
|
|
11860
|
-
name: "
|
|
11861
|
-
kind: "
|
|
11862
|
-
|
|
11863
|
-
V: {
|
|
11864
|
-
kind: "scalar",
|
|
11865
|
-
T: 9
|
|
11866
|
-
}
|
|
13108
|
+
name: "limit",
|
|
13109
|
+
kind: "scalar",
|
|
13110
|
+
T: 13
|
|
11867
13111
|
}
|
|
11868
13112
|
]);
|
|
11869
13113
|
}
|
|
11870
13114
|
create(value) {
|
|
11871
13115
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
11872
|
-
message.
|
|
11873
|
-
message.
|
|
11874
|
-
message.
|
|
13116
|
+
message.login = "";
|
|
13117
|
+
message.startFrom = 0n;
|
|
13118
|
+
message.limit = 0;
|
|
11875
13119
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11876
13120
|
return message;
|
|
11877
13121
|
}
|
|
@@ -11881,13 +13125,13 @@ var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11881
13125
|
let [fieldNo, wireType] = reader.tag();
|
|
11882
13126
|
switch (fieldNo) {
|
|
11883
13127
|
case 1:
|
|
11884
|
-
message.
|
|
13128
|
+
message.login = reader.string();
|
|
11885
13129
|
break;
|
|
11886
13130
|
case 2:
|
|
11887
|
-
message.
|
|
13131
|
+
message.startFrom = reader.uint64().toBigInt();
|
|
11888
13132
|
break;
|
|
11889
13133
|
case 3:
|
|
11890
|
-
|
|
13134
|
+
message.limit = reader.uint32();
|
|
11891
13135
|
break;
|
|
11892
13136
|
default:
|
|
11893
13137
|
let u = options.readUnknownField;
|
|
@@ -11898,41 +13142,49 @@ var AuthAPI_ListMethods_MethodInfo$Type = class extends _protobuf_ts_runtime.Mes
|
|
|
11898
13142
|
}
|
|
11899
13143
|
return message;
|
|
11900
13144
|
}
|
|
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
13145
|
internalBinaryWrite(message, writer, options) {
|
|
11918
|
-
if (message.
|
|
11919
|
-
if (message.
|
|
11920
|
-
|
|
13146
|
+
if (message.login !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.login);
|
|
13147
|
+
if (message.startFrom !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).uint64(message.startFrom);
|
|
13148
|
+
if (message.limit !== 0) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint32(message.limit);
|
|
11921
13149
|
let u = options.writeUnknownFields;
|
|
11922
13150
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11923
13151
|
return writer;
|
|
11924
13152
|
}
|
|
11925
13153
|
};
|
|
11926
13154
|
/**
|
|
11927
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13155
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Request
|
|
11928
13156
|
*/
|
|
11929
|
-
const
|
|
11930
|
-
var
|
|
13157
|
+
const AuthAPI_ListUserResources_Request = new AuthAPI_ListUserResources_Request$Type();
|
|
13158
|
+
var AuthAPI_ListUserResources_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11931
13159
|
constructor() {
|
|
11932
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13160
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.Response", [
|
|
13161
|
+
{
|
|
13162
|
+
no: 1,
|
|
13163
|
+
name: "user_root",
|
|
13164
|
+
kind: "message",
|
|
13165
|
+
oneof: "entry",
|
|
13166
|
+
T: () => AuthAPI_ListUserResources_UserRoot
|
|
13167
|
+
},
|
|
13168
|
+
{
|
|
13169
|
+
no: 2,
|
|
13170
|
+
name: "shared_resource",
|
|
13171
|
+
kind: "message",
|
|
13172
|
+
oneof: "entry",
|
|
13173
|
+
T: () => AuthAPI_ListUserResources_SharedResource
|
|
13174
|
+
},
|
|
13175
|
+
{
|
|
13176
|
+
no: 3,
|
|
13177
|
+
name: "next_resource_id",
|
|
13178
|
+
kind: "scalar",
|
|
13179
|
+
T: 4,
|
|
13180
|
+
L: 0
|
|
13181
|
+
}
|
|
13182
|
+
]);
|
|
11933
13183
|
}
|
|
11934
13184
|
create(value) {
|
|
11935
13185
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
13186
|
+
message.entry = { oneofKind: void 0 };
|
|
13187
|
+
message.nextResourceId = 0n;
|
|
11936
13188
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11937
13189
|
return message;
|
|
11938
13190
|
}
|
|
@@ -11941,6 +13193,21 @@ var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11941
13193
|
while (reader.pos < end) {
|
|
11942
13194
|
let [fieldNo, wireType] = reader.tag();
|
|
11943
13195
|
switch (fieldNo) {
|
|
13196
|
+
case 1:
|
|
13197
|
+
message.entry = {
|
|
13198
|
+
oneofKind: "userRoot",
|
|
13199
|
+
userRoot: AuthAPI_ListUserResources_UserRoot.internalBinaryRead(reader, reader.uint32(), options, message.entry.userRoot)
|
|
13200
|
+
};
|
|
13201
|
+
break;
|
|
13202
|
+
case 2:
|
|
13203
|
+
message.entry = {
|
|
13204
|
+
oneofKind: "sharedResource",
|
|
13205
|
+
sharedResource: AuthAPI_ListUserResources_SharedResource.internalBinaryRead(reader, reader.uint32(), options, message.entry.sharedResource)
|
|
13206
|
+
};
|
|
13207
|
+
break;
|
|
13208
|
+
case 3:
|
|
13209
|
+
message.nextResourceId = reader.uint64().toBigInt();
|
|
13210
|
+
break;
|
|
11944
13211
|
default:
|
|
11945
13212
|
let u = options.readUnknownField;
|
|
11946
13213
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -11951,26 +13218,37 @@ var AuthAPI_GetJWTToken$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
11951
13218
|
return message;
|
|
11952
13219
|
}
|
|
11953
13220
|
internalBinaryWrite(message, writer, options) {
|
|
13221
|
+
if (message.entry.oneofKind === "userRoot") AuthAPI_ListUserResources_UserRoot.internalBinaryWrite(message.entry.userRoot, writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13222
|
+
if (message.entry.oneofKind === "sharedResource") AuthAPI_ListUserResources_SharedResource.internalBinaryWrite(message.entry.sharedResource, writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13223
|
+
if (message.nextResourceId !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.nextResourceId);
|
|
11954
13224
|
let u = options.writeUnknownFields;
|
|
11955
13225
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11956
13226
|
return writer;
|
|
11957
13227
|
}
|
|
11958
13228
|
};
|
|
11959
13229
|
/**
|
|
11960
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13230
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Response
|
|
11961
13231
|
*/
|
|
11962
|
-
const
|
|
11963
|
-
var
|
|
13232
|
+
const AuthAPI_ListUserResources_Response = new AuthAPI_ListUserResources_Response$Type();
|
|
13233
|
+
var AuthAPI_ListUserResources_UserRoot$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
11964
13234
|
constructor() {
|
|
11965
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
13235
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot", [{
|
|
11966
13236
|
no: 1,
|
|
11967
|
-
name: "
|
|
11968
|
-
kind: "
|
|
11969
|
-
T:
|
|
13237
|
+
name: "resource_id",
|
|
13238
|
+
kind: "scalar",
|
|
13239
|
+
T: 4,
|
|
13240
|
+
L: 0
|
|
13241
|
+
}, {
|
|
13242
|
+
no: 2,
|
|
13243
|
+
name: "resource_signature",
|
|
13244
|
+
kind: "scalar",
|
|
13245
|
+
opt: true,
|
|
13246
|
+
T: 12
|
|
11970
13247
|
}]);
|
|
11971
13248
|
}
|
|
11972
13249
|
create(value) {
|
|
11973
13250
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
13251
|
+
message.resourceId = 0n;
|
|
11974
13252
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
11975
13253
|
return message;
|
|
11976
13254
|
}
|
|
@@ -11980,7 +13258,10 @@ var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11980
13258
|
let [fieldNo, wireType] = reader.tag();
|
|
11981
13259
|
switch (fieldNo) {
|
|
11982
13260
|
case 1:
|
|
11983
|
-
message.
|
|
13261
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13262
|
+
break;
|
|
13263
|
+
case 2:
|
|
13264
|
+
message.resourceSignature = reader.bytes();
|
|
11984
13265
|
break;
|
|
11985
13266
|
default:
|
|
11986
13267
|
let u = options.readUnknownField;
|
|
@@ -11992,28 +13273,51 @@ var AuthAPI_GetJWTToken_Request$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
11992
13273
|
return message;
|
|
11993
13274
|
}
|
|
11994
13275
|
internalBinaryWrite(message, writer, options) {
|
|
11995
|
-
if (message.
|
|
13276
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13277
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
11996
13278
|
let u = options.writeUnknownFields;
|
|
11997
13279
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11998
13280
|
return writer;
|
|
11999
13281
|
}
|
|
12000
13282
|
};
|
|
12001
13283
|
/**
|
|
12002
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13284
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot
|
|
12003
13285
|
*/
|
|
12004
|
-
const
|
|
12005
|
-
var
|
|
13286
|
+
const AuthAPI_ListUserResources_UserRoot = new AuthAPI_ListUserResources_UserRoot$Type();
|
|
13287
|
+
var AuthAPI_ListUserResources_SharedResource$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12006
13288
|
constructor() {
|
|
12007
|
-
super("MiLaboratories.PL.API.AuthAPI.
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
13289
|
+
super("MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource", [
|
|
13290
|
+
{
|
|
13291
|
+
no: 1,
|
|
13292
|
+
name: "resource_id",
|
|
13293
|
+
kind: "scalar",
|
|
13294
|
+
T: 4,
|
|
13295
|
+
L: 0
|
|
13296
|
+
},
|
|
13297
|
+
{
|
|
13298
|
+
no: 2,
|
|
13299
|
+
name: "resource_signature",
|
|
13300
|
+
kind: "scalar",
|
|
13301
|
+
opt: true,
|
|
13302
|
+
T: 12
|
|
13303
|
+
},
|
|
13304
|
+
{
|
|
13305
|
+
no: 3,
|
|
13306
|
+
name: "resource_type",
|
|
13307
|
+
kind: "message",
|
|
13308
|
+
T: () => require_base_types.ResourceType
|
|
13309
|
+
},
|
|
13310
|
+
{
|
|
13311
|
+
no: 4,
|
|
13312
|
+
name: "permissions",
|
|
13313
|
+
kind: "message",
|
|
13314
|
+
T: () => AuthAPI_Grant_Permissions
|
|
13315
|
+
}
|
|
13316
|
+
]);
|
|
12013
13317
|
}
|
|
12014
13318
|
create(value) {
|
|
12015
13319
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
12016
|
-
message.
|
|
13320
|
+
message.resourceId = 0n;
|
|
12017
13321
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
12018
13322
|
return message;
|
|
12019
13323
|
}
|
|
@@ -12023,7 +13327,16 @@ var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12023
13327
|
let [fieldNo, wireType] = reader.tag();
|
|
12024
13328
|
switch (fieldNo) {
|
|
12025
13329
|
case 1:
|
|
12026
|
-
message.
|
|
13330
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
13331
|
+
break;
|
|
13332
|
+
case 2:
|
|
13333
|
+
message.resourceSignature = reader.bytes();
|
|
13334
|
+
break;
|
|
13335
|
+
case 3:
|
|
13336
|
+
message.resourceType = require_base_types.ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceType);
|
|
13337
|
+
break;
|
|
13338
|
+
case 4:
|
|
13339
|
+
message.permissions = AuthAPI_Grant_Permissions.internalBinaryRead(reader, reader.uint32(), options, message.permissions);
|
|
12027
13340
|
break;
|
|
12028
13341
|
default:
|
|
12029
13342
|
let u = options.readUnknownField;
|
|
@@ -12035,16 +13348,19 @@ var AuthAPI_GetJWTToken_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12035
13348
|
return message;
|
|
12036
13349
|
}
|
|
12037
13350
|
internalBinaryWrite(message, writer, options) {
|
|
12038
|
-
if (message.
|
|
13351
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
13352
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
13353
|
+
if (message.resourceType) require_base_types.ResourceType.internalBinaryWrite(message.resourceType, writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
13354
|
+
if (message.permissions) AuthAPI_Grant_Permissions.internalBinaryWrite(message.permissions, writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
12039
13355
|
let u = options.writeUnknownFields;
|
|
12040
13356
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12041
13357
|
return writer;
|
|
12042
13358
|
}
|
|
12043
13359
|
};
|
|
12044
13360
|
/**
|
|
12045
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
13361
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
|
|
12046
13362
|
*/
|
|
12047
|
-
const
|
|
13363
|
+
const AuthAPI_ListUserResources_SharedResource = new AuthAPI_ListUserResources_SharedResource$Type();
|
|
12048
13364
|
var MiscAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12049
13365
|
constructor() {
|
|
12050
13366
|
super("MiLaboratories.PL.API.MiscAPI", []);
|
|
@@ -12074,10 +13390,7 @@ var MiscAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
12074
13390
|
return writer;
|
|
12075
13391
|
}
|
|
12076
13392
|
};
|
|
12077
|
-
|
|
12078
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.MiscAPI
|
|
12079
|
-
*/
|
|
12080
|
-
const MiscAPI = new MiscAPI$Type();
|
|
13393
|
+
new MiscAPI$Type();
|
|
12081
13394
|
var MiscAPI_ListResourceTypes$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12082
13395
|
constructor() {
|
|
12083
13396
|
super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes", []);
|
|
@@ -12107,10 +13420,7 @@ var MiscAPI_ListResourceTypes$Type = class extends _protobuf_ts_runtime.MessageT
|
|
|
12107
13420
|
return writer;
|
|
12108
13421
|
}
|
|
12109
13422
|
};
|
|
12110
|
-
|
|
12111
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.MiscAPI.ListResourceTypes
|
|
12112
|
-
*/
|
|
12113
|
-
const MiscAPI_ListResourceTypes = new MiscAPI_ListResourceTypes$Type();
|
|
13423
|
+
new MiscAPI_ListResourceTypes$Type();
|
|
12114
13424
|
var MiscAPI_ListResourceTypes_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12115
13425
|
constructor() {
|
|
12116
13426
|
super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Request", []);
|
|
@@ -12217,10 +13527,7 @@ var MaintenanceAPI$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
12217
13527
|
return writer;
|
|
12218
13528
|
}
|
|
12219
13529
|
};
|
|
12220
|
-
|
|
12221
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI
|
|
12222
|
-
*/
|
|
12223
|
-
const MaintenanceAPI = new MaintenanceAPI$Type();
|
|
13530
|
+
new MaintenanceAPI$Type();
|
|
12224
13531
|
var MaintenanceAPI_Ping$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12225
13532
|
constructor() {
|
|
12226
13533
|
super("MiLaboratories.PL.API.MaintenanceAPI.Ping", []);
|
|
@@ -12250,10 +13557,7 @@ var MaintenanceAPI_Ping$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
12250
13557
|
return writer;
|
|
12251
13558
|
}
|
|
12252
13559
|
};
|
|
12253
|
-
|
|
12254
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.Ping
|
|
12255
|
-
*/
|
|
12256
|
-
const MaintenanceAPI_Ping = new MaintenanceAPI_Ping$Type();
|
|
13560
|
+
new MaintenanceAPI_Ping$Type();
|
|
12257
13561
|
var MaintenanceAPI_Ping_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12258
13562
|
constructor() {
|
|
12259
13563
|
super("MiLaboratories.PL.API.MaintenanceAPI.Ping.Request", []);
|
|
@@ -12302,12 +13606,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12302
13606
|
kind: "scalar",
|
|
12303
13607
|
T: 9
|
|
12304
13608
|
},
|
|
12305
|
-
{
|
|
12306
|
-
no: 3,
|
|
12307
|
-
name: "server_info",
|
|
12308
|
-
kind: "scalar",
|
|
12309
|
-
T: 9
|
|
12310
|
-
},
|
|
12311
13609
|
{
|
|
12312
13610
|
no: 4,
|
|
12313
13611
|
name: "compression",
|
|
@@ -12344,7 +13642,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12344
13642
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
12345
13643
|
message.coreVersion = "";
|
|
12346
13644
|
message.coreFullVersion = "";
|
|
12347
|
-
message.serverInfo = "";
|
|
12348
13645
|
message.compression = 0;
|
|
12349
13646
|
message.instanceId = "";
|
|
12350
13647
|
message.platform = "";
|
|
@@ -12364,9 +13661,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12364
13661
|
case 2:
|
|
12365
13662
|
message.coreFullVersion = reader.string();
|
|
12366
13663
|
break;
|
|
12367
|
-
case 3:
|
|
12368
|
-
message.serverInfo = reader.string();
|
|
12369
|
-
break;
|
|
12370
13664
|
case 4:
|
|
12371
13665
|
message.compression = reader.int32();
|
|
12372
13666
|
break;
|
|
@@ -12394,7 +13688,6 @@ var MaintenanceAPI_Ping_Response$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
12394
13688
|
internalBinaryWrite(message, writer, options) {
|
|
12395
13689
|
if (message.coreVersion !== "") writer.tag(1, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.coreVersion);
|
|
12396
13690
|
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
13691
|
if (message.compression !== 0) writer.tag(4, _protobuf_ts_runtime.WireType.Varint).int32(message.compression);
|
|
12399
13692
|
if (message.instanceId !== "") writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.instanceId);
|
|
12400
13693
|
if (message.platform !== "") writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.platform);
|
|
@@ -12438,10 +13731,7 @@ var MaintenanceAPI_License$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
12438
13731
|
return writer;
|
|
12439
13732
|
}
|
|
12440
13733
|
};
|
|
12441
|
-
|
|
12442
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License
|
|
12443
|
-
*/
|
|
12444
|
-
const MaintenanceAPI_License = new MaintenanceAPI_License$Type();
|
|
13734
|
+
new MaintenanceAPI_License$Type();
|
|
12445
13735
|
var MaintenanceAPI_License_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
12446
13736
|
constructor() {
|
|
12447
13737
|
super("MiLaboratories.PL.API.MaintenanceAPI.License.Request", []);
|
|
@@ -12542,6 +13832,69 @@ var MaintenanceAPI_License_Response$Type = class extends _protobuf_ts_runtime.Me
|
|
|
12542
13832
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
12543
13833
|
*/
|
|
12544
13834
|
const MaintenanceAPI_License_Response = new MaintenanceAPI_License_Response$Type();
|
|
13835
|
+
var Util$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13836
|
+
constructor() {
|
|
13837
|
+
super("MiLaboratories.PL.API.Util", []);
|
|
13838
|
+
}
|
|
13839
|
+
create(value) {
|
|
13840
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13841
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13842
|
+
return message;
|
|
13843
|
+
}
|
|
13844
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13845
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13846
|
+
while (reader.pos < end) {
|
|
13847
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13848
|
+
switch (fieldNo) {
|
|
13849
|
+
default:
|
|
13850
|
+
let u = options.readUnknownField;
|
|
13851
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13852
|
+
let d = reader.skip(wireType);
|
|
13853
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13854
|
+
}
|
|
13855
|
+
}
|
|
13856
|
+
return message;
|
|
13857
|
+
}
|
|
13858
|
+
internalBinaryWrite(message, writer, options) {
|
|
13859
|
+
let u = options.writeUnknownFields;
|
|
13860
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13861
|
+
return writer;
|
|
13862
|
+
}
|
|
13863
|
+
};
|
|
13864
|
+
new Util$Type();
|
|
13865
|
+
var Util_Deprecated$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
13866
|
+
constructor() {
|
|
13867
|
+
super("MiLaboratories.PL.API.Util.Deprecated", []);
|
|
13868
|
+
}
|
|
13869
|
+
create(value) {
|
|
13870
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
13871
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
13872
|
+
return message;
|
|
13873
|
+
}
|
|
13874
|
+
internalBinaryRead(reader, length, options, target) {
|
|
13875
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13876
|
+
while (reader.pos < end) {
|
|
13877
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13878
|
+
switch (fieldNo) {
|
|
13879
|
+
default:
|
|
13880
|
+
let u = options.readUnknownField;
|
|
13881
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13882
|
+
let d = reader.skip(wireType);
|
|
13883
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13884
|
+
}
|
|
13885
|
+
}
|
|
13886
|
+
return message;
|
|
13887
|
+
}
|
|
13888
|
+
internalBinaryWrite(message, writer, options) {
|
|
13889
|
+
let u = options.writeUnknownFields;
|
|
13890
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
13891
|
+
return writer;
|
|
13892
|
+
}
|
|
13893
|
+
};
|
|
13894
|
+
/**
|
|
13895
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Util.Deprecated
|
|
13896
|
+
*/
|
|
13897
|
+
const Util_Deprecated = new Util_Deprecated$Type();
|
|
12545
13898
|
/**
|
|
12546
13899
|
* @generated ServiceType for protobuf service MiLaboratories.PL.API.Platform
|
|
12547
13900
|
*/
|
|
@@ -12707,10 +14060,19 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12707
14060
|
I: ControllerAPI_ClearFeatures_Request,
|
|
12708
14061
|
O: ControllerAPI_ClearFeatures_Response
|
|
12709
14062
|
},
|
|
14063
|
+
{
|
|
14064
|
+
name: "LockFieldValues",
|
|
14065
|
+
options: { "google.api.http": {
|
|
14066
|
+
post: "/v1/locks/lock/create",
|
|
14067
|
+
body: "*"
|
|
14068
|
+
} },
|
|
14069
|
+
I: LocksAPI_LockFieldValues_Create_Request,
|
|
14070
|
+
O: LocksAPI_LockFieldValues_Create_Response
|
|
14071
|
+
},
|
|
12710
14072
|
{
|
|
12711
14073
|
name: "LeaseResource",
|
|
12712
14074
|
options: { "google.api.http": {
|
|
12713
|
-
post: "/v1/locks/lease",
|
|
14075
|
+
post: "/v1/locks/lease/create",
|
|
12714
14076
|
body: "*"
|
|
12715
14077
|
} },
|
|
12716
14078
|
I: LocksAPI_Lease_Create_Request,
|
|
@@ -12719,7 +14081,7 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12719
14081
|
{
|
|
12720
14082
|
name: "UpdateLease",
|
|
12721
14083
|
options: { "google.api.http": {
|
|
12722
|
-
|
|
14084
|
+
post: "/v1/locks/lease/update",
|
|
12723
14085
|
body: "*"
|
|
12724
14086
|
} },
|
|
12725
14087
|
I: LocksAPI_Lease_Update_Request,
|
|
@@ -12728,7 +14090,7 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12728
14090
|
{
|
|
12729
14091
|
name: "ReleaseLease",
|
|
12730
14092
|
options: { "google.api.http": {
|
|
12731
|
-
|
|
14093
|
+
post: "/v1/locks/lease/release",
|
|
12732
14094
|
body: "*"
|
|
12733
14095
|
} },
|
|
12734
14096
|
I: LocksAPI_Lease_Release_Request,
|
|
@@ -12749,6 +14111,38 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12749
14111
|
I: AuthAPI_GetJWTToken_Request,
|
|
12750
14112
|
O: AuthAPI_GetJWTToken_Response
|
|
12751
14113
|
},
|
|
14114
|
+
{
|
|
14115
|
+
name: "GrantAccess",
|
|
14116
|
+
options: { "google.api.http": {
|
|
14117
|
+
post: "/v1/auth/grant-access",
|
|
14118
|
+
body: "*"
|
|
14119
|
+
} },
|
|
14120
|
+
I: AuthAPI_GrantAccess_Request,
|
|
14121
|
+
O: AuthAPI_GrantAccess_Response
|
|
14122
|
+
},
|
|
14123
|
+
{
|
|
14124
|
+
name: "RevokeGrant",
|
|
14125
|
+
options: { "google.api.http": {
|
|
14126
|
+
post: "/v1/auth/revoke-grant",
|
|
14127
|
+
body: "*"
|
|
14128
|
+
} },
|
|
14129
|
+
I: AuthAPI_RevokeGrant_Request,
|
|
14130
|
+
O: AuthAPI_RevokeGrant_Response
|
|
14131
|
+
},
|
|
14132
|
+
{
|
|
14133
|
+
name: "ListGrants",
|
|
14134
|
+
serverStreaming: true,
|
|
14135
|
+
options: {},
|
|
14136
|
+
I: AuthAPI_ListGrants_Request,
|
|
14137
|
+
O: AuthAPI_ListGrants_Response
|
|
14138
|
+
},
|
|
14139
|
+
{
|
|
14140
|
+
name: "ListUserResources",
|
|
14141
|
+
serverStreaming: true,
|
|
14142
|
+
options: {},
|
|
14143
|
+
I: AuthAPI_ListUserResources_Request,
|
|
14144
|
+
O: AuthAPI_ListUserResources_Response
|
|
14145
|
+
},
|
|
12752
14146
|
{
|
|
12753
14147
|
name: "ListResourceTypes",
|
|
12754
14148
|
options: { "google.api.http": { get: "/v1/resource-types" } },
|
|
@@ -12768,11 +14162,12 @@ const Platform = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.PL.API
|
|
|
12768
14162
|
O: MaintenanceAPI_License_Response
|
|
12769
14163
|
}
|
|
12770
14164
|
]);
|
|
12771
|
-
|
|
12772
14165
|
//#endregion
|
|
14166
|
+
exports.AuthAPI_GetJWTToken_Role = AuthAPI_GetJWTToken_Role;
|
|
12773
14167
|
exports.MaintenanceAPI_Ping_Response_Compression = MaintenanceAPI_Ping_Response_Compression;
|
|
12774
14168
|
exports.Platform = Platform;
|
|
12775
14169
|
exports.TxAPI_ClientMessage = TxAPI_ClientMessage;
|
|
12776
14170
|
exports.TxAPI_Open_Request_WritableTx = TxAPI_Open_Request_WritableTx;
|
|
12777
14171
|
exports.TxAPI_ServerMessage = TxAPI_ServerMessage;
|
|
14172
|
+
|
|
12778
14173
|
//# sourceMappingURL=api.cjs.map
|