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