@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";
|
|
@@ -39,15 +40,15 @@ interface TxAPI_ClientMessage {
|
|
|
39
40
|
} | {
|
|
40
41
|
oneofKind: "streamClose";
|
|
41
42
|
/**
|
|
42
|
-
* Interrupt the transaction network stream on server side.
|
|
43
|
+
* Interrupt the transaction network stream on the server side.
|
|
43
44
|
*
|
|
44
|
-
* This allows to gracefully close network connection and discard the associated transaction,
|
|
45
|
+
* This allows one to gracefully close the network connection and discard the associated transaction,
|
|
45
46
|
* ensuring all pending server responses are sent to the client before closing.
|
|
46
|
-
* We use this in RO transactions to imitate the feature of 'half-open' connection
|
|
47
|
+
* We use this in RO transactions to imitate the feature of a 'half-open' connection
|
|
47
48
|
* available in pure gRPC, when we work with WebSockets.
|
|
48
|
-
* Pure gRPC uses 'end of client
|
|
49
|
-
* Pure WebSocket does not allow this, breaking entire connection at once. stream_close helps
|
|
50
|
-
*
|
|
49
|
+
* Pure gRPC uses 'end of the client message stream' as a criterion for graceful discard.
|
|
50
|
+
* Pure WebSocket does not allow this, breaking the entire connection at once. stream_close helps
|
|
51
|
+
* achieve the same behavior as in gRPC.
|
|
51
52
|
*
|
|
52
53
|
* @generated from protobuf field: MiLaboratories.PL.API.TxAPI.CloseStream.Request stream_close = 14
|
|
53
54
|
*/
|
|
@@ -361,9 +362,10 @@ interface TxAPI_ClientMessage {
|
|
|
361
362
|
} | {
|
|
362
363
|
oneofKind: "cacheDeleteExpiredRecords";
|
|
363
364
|
/**
|
|
364
|
-
* @
|
|
365
|
+
* @deprecated
|
|
366
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Util.Deprecated cache_delete_expired_records = 301 [deprecated = true]
|
|
365
367
|
*/
|
|
366
|
-
cacheDeleteExpiredRecords:
|
|
368
|
+
cacheDeleteExpiredRecords: Util_Deprecated;
|
|
367
369
|
} | {
|
|
368
370
|
oneofKind: "controllerFeaturesSet";
|
|
369
371
|
/**
|
|
@@ -376,6 +378,12 @@ interface TxAPI_ClientMessage {
|
|
|
376
378
|
* @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request controller_features_clear = 351
|
|
377
379
|
*/
|
|
378
380
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Request;
|
|
381
|
+
} | {
|
|
382
|
+
oneofKind: "setDefaultColor";
|
|
383
|
+
/**
|
|
384
|
+
* @generated from protobuf field: MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request set_default_color = 400
|
|
385
|
+
*/
|
|
386
|
+
setDefaultColor: TxAPI_SetDefaultColor_Request;
|
|
379
387
|
} | {
|
|
380
388
|
oneofKind: undefined;
|
|
381
389
|
};
|
|
@@ -731,9 +739,10 @@ interface TxAPI_ServerMessage {
|
|
|
731
739
|
} | {
|
|
732
740
|
oneofKind: "cacheDeleteExpiredRecords";
|
|
733
741
|
/**
|
|
734
|
-
* @
|
|
742
|
+
* @deprecated
|
|
743
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Util.Deprecated cache_delete_expired_records = 301 [deprecated = true]
|
|
735
744
|
*/
|
|
736
|
-
cacheDeleteExpiredRecords:
|
|
745
|
+
cacheDeleteExpiredRecords: Util_Deprecated;
|
|
737
746
|
} | {
|
|
738
747
|
oneofKind: "controllerFeaturesSet";
|
|
739
748
|
/**
|
|
@@ -746,6 +755,12 @@ interface TxAPI_ServerMessage {
|
|
|
746
755
|
* @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response controller_features_clear = 351
|
|
747
756
|
*/
|
|
748
757
|
controllerFeaturesClear: ControllerAPI_ClearFeatures_Response;
|
|
758
|
+
} | {
|
|
759
|
+
oneofKind: "setDefaultColor";
|
|
760
|
+
/**
|
|
761
|
+
* @generated from protobuf field: MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response set_default_color = 400
|
|
762
|
+
*/
|
|
763
|
+
setDefaultColor: TxAPI_SetDefaultColor_Response;
|
|
749
764
|
} | {
|
|
750
765
|
oneofKind: undefined;
|
|
751
766
|
};
|
|
@@ -762,7 +777,7 @@ interface TxAPI_ServerMessage_Multi {
|
|
|
762
777
|
* Sequential message ID for multi-message response, starting from 1.
|
|
763
778
|
* Caller can use 'id > 0' check as a sign of multi-message response.
|
|
764
779
|
* Some API requests produce several messages in response by design (say, listings)
|
|
765
|
-
* In that case, the server
|
|
780
|
+
* In that case, the server responds to the client with many messages, each having
|
|
766
781
|
* the same <request_id> value and different <message_id> values.
|
|
767
782
|
*
|
|
768
783
|
* @generated from protobuf field: uint32 id = 1
|
|
@@ -777,7 +792,7 @@ interface TxAPI_ServerMessage_Multi {
|
|
|
777
792
|
isLast: boolean;
|
|
778
793
|
/**
|
|
779
794
|
* Sign of empty multi-message response. Some multi-message responses can produce nothing
|
|
780
|
-
* (like listing of empty directory). In that case client still has to know that the request was
|
|
795
|
+
* (like a listing of an empty directory). In that case, the client still has to know that the request was
|
|
781
796
|
* handled and the empty result is OK.
|
|
782
797
|
*
|
|
783
798
|
* @generated from protobuf field: bool is_empty = 3
|
|
@@ -869,6 +884,19 @@ interface TxAPI_Sync_Request {
|
|
|
869
884
|
* @generated from protobuf message MiLaboratories.PL.API.TxAPI.Sync.Response
|
|
870
885
|
*/
|
|
871
886
|
interface TxAPI_Sync_Response {}
|
|
887
|
+
/**
|
|
888
|
+
* @generated from protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request
|
|
889
|
+
*/
|
|
890
|
+
interface TxAPI_SetDefaultColor_Request {
|
|
891
|
+
/**
|
|
892
|
+
* @generated from protobuf field: optional bytes color_proof = 1
|
|
893
|
+
*/
|
|
894
|
+
colorProof?: Uint8Array;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* @generated from protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response
|
|
898
|
+
*/
|
|
899
|
+
interface TxAPI_SetDefaultColor_Response {}
|
|
872
900
|
/**
|
|
873
901
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request
|
|
874
902
|
*/
|
|
@@ -885,6 +913,10 @@ interface ResourceAPI_CreateStruct_Request {
|
|
|
885
913
|
* @generated from protobuf field: optional bytes data = 4
|
|
886
914
|
*/
|
|
887
915
|
data?: Uint8Array;
|
|
916
|
+
/**
|
|
917
|
+
* @generated from protobuf field: optional bytes color_proof = 5
|
|
918
|
+
*/
|
|
919
|
+
colorProof?: Uint8Array;
|
|
888
920
|
}
|
|
889
921
|
/**
|
|
890
922
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response
|
|
@@ -894,6 +926,10 @@ interface ResourceAPI_CreateStruct_Response {
|
|
|
894
926
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
895
927
|
*/
|
|
896
928
|
resourceId: bigint;
|
|
929
|
+
/**
|
|
930
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
931
|
+
*/
|
|
932
|
+
resourceSignature?: Uint8Array;
|
|
897
933
|
}
|
|
898
934
|
/**
|
|
899
935
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request
|
|
@@ -911,6 +947,10 @@ interface ResourceAPI_CreateEphemeral_Request {
|
|
|
911
947
|
* @generated from protobuf field: optional bytes data = 4
|
|
912
948
|
*/
|
|
913
949
|
data?: Uint8Array;
|
|
950
|
+
/**
|
|
951
|
+
* @generated from protobuf field: optional bytes color_proof = 5
|
|
952
|
+
*/
|
|
953
|
+
colorProof?: Uint8Array;
|
|
914
954
|
}
|
|
915
955
|
/**
|
|
916
956
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response
|
|
@@ -920,6 +960,10 @@ interface ResourceAPI_CreateEphemeral_Response {
|
|
|
920
960
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
921
961
|
*/
|
|
922
962
|
resourceId: bigint;
|
|
963
|
+
/**
|
|
964
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
965
|
+
*/
|
|
966
|
+
resourceSignature?: Uint8Array;
|
|
923
967
|
}
|
|
924
968
|
/**
|
|
925
969
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateChild.Request
|
|
@@ -967,6 +1011,10 @@ interface ResourceAPI_CreateValue_Request {
|
|
|
967
1011
|
* @generated from protobuf field: bool error_if_exists = 7
|
|
968
1012
|
*/
|
|
969
1013
|
errorIfExists: boolean;
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from protobuf field: optional bytes color_proof = 8
|
|
1016
|
+
*/
|
|
1017
|
+
colorProof?: Uint8Array;
|
|
970
1018
|
}
|
|
971
1019
|
/**
|
|
972
1020
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateValue.Response
|
|
@@ -976,6 +1024,10 @@ interface ResourceAPI_CreateValue_Response {
|
|
|
976
1024
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
977
1025
|
*/
|
|
978
1026
|
resourceId: bigint;
|
|
1027
|
+
/**
|
|
1028
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1029
|
+
*/
|
|
1030
|
+
resourceSignature?: Uint8Array;
|
|
979
1031
|
}
|
|
980
1032
|
/**
|
|
981
1033
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.GetValueID.Request
|
|
@@ -998,6 +1050,10 @@ interface ResourceAPI_GetValueID_Response {
|
|
|
998
1050
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
999
1051
|
*/
|
|
1000
1052
|
resourceId: bigint;
|
|
1053
|
+
/**
|
|
1054
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1055
|
+
*/
|
|
1056
|
+
resourceSignature?: Uint8Array;
|
|
1001
1057
|
}
|
|
1002
1058
|
/**
|
|
1003
1059
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request
|
|
@@ -1019,6 +1075,10 @@ interface ResourceAPI_CreateSingleton_Request {
|
|
|
1019
1075
|
* @generated from protobuf field: bool error_if_exists = 7
|
|
1020
1076
|
*/
|
|
1021
1077
|
errorIfExists: boolean;
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from protobuf field: optional bytes color_proof = 8
|
|
1080
|
+
*/
|
|
1081
|
+
colorProof?: Uint8Array;
|
|
1022
1082
|
}
|
|
1023
1083
|
/**
|
|
1024
1084
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response
|
|
@@ -1028,6 +1088,10 @@ interface ResourceAPI_CreateSingleton_Response {
|
|
|
1028
1088
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1029
1089
|
*/
|
|
1030
1090
|
resourceId: bigint;
|
|
1091
|
+
/**
|
|
1092
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1093
|
+
*/
|
|
1094
|
+
resourceSignature?: Uint8Array;
|
|
1031
1095
|
}
|
|
1032
1096
|
/**
|
|
1033
1097
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request
|
|
@@ -1063,6 +1127,10 @@ interface ResourceAPI_LockInputs_Request {
|
|
|
1063
1127
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1064
1128
|
*/
|
|
1065
1129
|
resourceId: bigint;
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1132
|
+
*/
|
|
1133
|
+
resourceSignature?: Uint8Array;
|
|
1066
1134
|
}
|
|
1067
1135
|
/**
|
|
1068
1136
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.LockInputs.Response
|
|
@@ -1076,6 +1144,10 @@ interface ResourceAPI_LockOutputs_Request {
|
|
|
1076
1144
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1077
1145
|
*/
|
|
1078
1146
|
resourceId: bigint;
|
|
1147
|
+
/**
|
|
1148
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1149
|
+
*/
|
|
1150
|
+
resourceSignature?: Uint8Array;
|
|
1079
1151
|
}
|
|
1080
1152
|
/**
|
|
1081
1153
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response
|
|
@@ -1089,6 +1161,10 @@ interface ResourceAPI_Exists_Request {
|
|
|
1089
1161
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1090
1162
|
*/
|
|
1091
1163
|
resourceId: bigint;
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1166
|
+
*/
|
|
1167
|
+
resourceSignature?: Uint8Array;
|
|
1092
1168
|
}
|
|
1093
1169
|
/**
|
|
1094
1170
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Exists.Response
|
|
@@ -1107,10 +1183,18 @@ interface ResourceAPI_SetError_Request {
|
|
|
1107
1183
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1108
1184
|
*/
|
|
1109
1185
|
resourceId: bigint;
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
1188
|
+
*/
|
|
1189
|
+
resourceSignature?: Uint8Array;
|
|
1110
1190
|
/**
|
|
1111
1191
|
* @generated from protobuf field: uint64 error_resource_id = 2
|
|
1112
1192
|
*/
|
|
1113
1193
|
errorResourceId: bigint;
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from protobuf field: optional bytes error_resource_signature = 4
|
|
1196
|
+
*/
|
|
1197
|
+
errorResourceSignature?: Uint8Array;
|
|
1114
1198
|
}
|
|
1115
1199
|
/**
|
|
1116
1200
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.SetError.Response
|
|
@@ -1124,6 +1208,10 @@ interface ResourceAPI_Get_Request {
|
|
|
1124
1208
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1125
1209
|
*/
|
|
1126
1210
|
resourceId: bigint;
|
|
1211
|
+
/**
|
|
1212
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
1213
|
+
*/
|
|
1214
|
+
resourceSignature?: Uint8Array;
|
|
1127
1215
|
/**
|
|
1128
1216
|
* @generated from protobuf field: bool load_fields = 2
|
|
1129
1217
|
*/
|
|
@@ -1147,9 +1235,9 @@ interface ResourceAPI_List_ByType_Request {
|
|
|
1147
1235
|
*/
|
|
1148
1236
|
resourceType?: ResourceType;
|
|
1149
1237
|
/**
|
|
1150
|
-
* Non-zero value makes API
|
|
1238
|
+
* Non-zero value makes the API limit its response count to at most
|
|
1151
1239
|
* <limit> number of items.
|
|
1152
|
-
* Zero value makes API
|
|
1240
|
+
* Zero value makes the API return all available items.
|
|
1153
1241
|
*
|
|
1154
1242
|
* @generated from protobuf field: uint32 limit = 3
|
|
1155
1243
|
*/
|
|
@@ -1162,7 +1250,7 @@ interface ResourceAPI_List_ByType_Request {
|
|
|
1162
1250
|
*/
|
|
1163
1251
|
after: bigint;
|
|
1164
1252
|
/**
|
|
1165
|
-
* True value makes API
|
|
1253
|
+
* True value makes the API return original resources instead of duplicates.
|
|
1166
1254
|
*
|
|
1167
1255
|
* @generated from protobuf field: bool resolve_duplicates = 4
|
|
1168
1256
|
*/
|
|
@@ -1206,15 +1294,23 @@ interface ResourceAPI_CreateRoot_Response {
|
|
|
1206
1294
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1207
1295
|
*/
|
|
1208
1296
|
resourceId: bigint;
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1299
|
+
*/
|
|
1300
|
+
resourceSignature?: Uint8Array;
|
|
1209
1301
|
}
|
|
1210
1302
|
/**
|
|
1211
1303
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Remove.Request
|
|
1212
1304
|
*/
|
|
1213
1305
|
interface ResourceAPI_Remove_Request {
|
|
1214
1306
|
/**
|
|
1215
|
-
* @generated from protobuf field: uint64
|
|
1307
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
1216
1308
|
*/
|
|
1217
|
-
|
|
1309
|
+
resourceId: bigint;
|
|
1310
|
+
/**
|
|
1311
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1312
|
+
*/
|
|
1313
|
+
resourceSignature?: Uint8Array;
|
|
1218
1314
|
}
|
|
1219
1315
|
/**
|
|
1220
1316
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Remove.Response
|
|
@@ -1228,6 +1324,10 @@ interface ResourceAPI_Name_Set_Request {
|
|
|
1228
1324
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1229
1325
|
*/
|
|
1230
1326
|
resourceId: bigint;
|
|
1327
|
+
/**
|
|
1328
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
1329
|
+
*/
|
|
1330
|
+
resourceSignature?: Uint8Array;
|
|
1231
1331
|
/**
|
|
1232
1332
|
* @generated from protobuf field: string name = 2
|
|
1233
1333
|
*/
|
|
@@ -1254,6 +1354,10 @@ interface ResourceAPI_Name_Get_Response {
|
|
|
1254
1354
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1255
1355
|
*/
|
|
1256
1356
|
resourceId: bigint;
|
|
1357
|
+
/**
|
|
1358
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1359
|
+
*/
|
|
1360
|
+
resourceSignature?: Uint8Array;
|
|
1257
1361
|
}
|
|
1258
1362
|
/**
|
|
1259
1363
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request
|
|
@@ -1295,11 +1399,15 @@ interface ResourceAPI_Tree_Request {
|
|
|
1295
1399
|
*/
|
|
1296
1400
|
resourceId: bigint;
|
|
1297
1401
|
/**
|
|
1298
|
-
*
|
|
1299
|
-
|
|
1402
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
1403
|
+
*/
|
|
1404
|
+
resourceSignature?: Uint8Array;
|
|
1405
|
+
/**
|
|
1406
|
+
* Limit the maximum depth the tree is traversed.
|
|
1407
|
+
* The resource <resource_id> is considered at depth = 0, the values of its fields
|
|
1300
1408
|
* are on depth = 1 and so on.
|
|
1301
|
-
* The maximum uint32 value disables the limit
|
|
1302
|
-
* 0 value makes API
|
|
1409
|
+
* The maximum uint32 value disables the limit entirely.
|
|
1410
|
+
* A 0 value makes the API return only a single resource <resource_id> and is actually
|
|
1303
1411
|
* equal to Get.Request
|
|
1304
1412
|
*
|
|
1305
1413
|
* @generated from protobuf field: optional uint32 max_depth = 2
|
|
@@ -1325,6 +1433,10 @@ interface ResourceAPI_TreeSize_Request {
|
|
|
1325
1433
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1326
1434
|
*/
|
|
1327
1435
|
resourceId: bigint;
|
|
1436
|
+
/**
|
|
1437
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
1438
|
+
*/
|
|
1439
|
+
resourceSignature?: Uint8Array;
|
|
1328
1440
|
}
|
|
1329
1441
|
/**
|
|
1330
1442
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Response
|
|
@@ -1332,7 +1444,7 @@ interface ResourceAPI_TreeSize_Request {
|
|
|
1332
1444
|
interface ResourceAPI_TreeSize_Response {
|
|
1333
1445
|
/**
|
|
1334
1446
|
* size of all tree resources in bytes
|
|
1335
|
-
* could change between
|
|
1447
|
+
* could change between calls depending on compression algorithm
|
|
1336
1448
|
*
|
|
1337
1449
|
* @generated from protobuf field: uint64 size = 1
|
|
1338
1450
|
*/
|
|
@@ -1410,9 +1522,13 @@ interface FieldAPI_SetError_Request {
|
|
|
1410
1522
|
*/
|
|
1411
1523
|
field?: FieldRef;
|
|
1412
1524
|
/**
|
|
1413
|
-
* @generated from protobuf field: uint64
|
|
1525
|
+
* @generated from protobuf field: uint64 error_resource_id = 2
|
|
1526
|
+
*/
|
|
1527
|
+
errorResourceId: bigint;
|
|
1528
|
+
/**
|
|
1529
|
+
* @generated from protobuf field: optional bytes error_resource_signature = 3
|
|
1414
1530
|
*/
|
|
1415
|
-
|
|
1531
|
+
errorResourceSignature?: Uint8Array;
|
|
1416
1532
|
}
|
|
1417
1533
|
/**
|
|
1418
1534
|
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI.SetError.Response
|
|
@@ -1470,6 +1586,10 @@ interface FieldAPI_List_Request {
|
|
|
1470
1586
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1471
1587
|
*/
|
|
1472
1588
|
resourceId: bigint;
|
|
1589
|
+
/**
|
|
1590
|
+
* @generated from protobuf field: optional bytes resource_signature = 4
|
|
1591
|
+
*/
|
|
1592
|
+
resourceSignature?: Uint8Array;
|
|
1473
1593
|
/**
|
|
1474
1594
|
* Start the listing from given position, returning first field with
|
|
1475
1595
|
* name >= start_from.
|
|
@@ -1478,9 +1598,9 @@ interface FieldAPI_List_Request {
|
|
|
1478
1598
|
*/
|
|
1479
1599
|
startFrom: string;
|
|
1480
1600
|
/**
|
|
1481
|
-
* Non-zero value makes API
|
|
1601
|
+
* Non-zero value makes the API limit the number of returned fields to at
|
|
1482
1602
|
* most <limit>.
|
|
1483
|
-
* Zero value makes API
|
|
1603
|
+
* Zero value makes the API return all available fields of the resource.
|
|
1484
1604
|
*
|
|
1485
1605
|
* @generated from protobuf field: uint32 limit = 3
|
|
1486
1606
|
*/
|
|
@@ -1500,7 +1620,7 @@ interface FieldAPI_List_Response {
|
|
|
1500
1620
|
* The name of field next to the current one.
|
|
1501
1621
|
*
|
|
1502
1622
|
* Is not empty only for the last message in the current listing, when <limit> was > 0 in List.Request AND
|
|
1503
|
-
* there
|
|
1623
|
+
* there are more items to read (the listing was stopped because of that limit)
|
|
1504
1624
|
*
|
|
1505
1625
|
* Use <next> value as <start_from> in the List.Request to continue listing.
|
|
1506
1626
|
*
|
|
@@ -1903,6 +2023,10 @@ interface ResourceKVAPI_List_Request {
|
|
|
1903
2023
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1904
2024
|
*/
|
|
1905
2025
|
resourceId: bigint;
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from protobuf field: optional bytes resource_signature = 4
|
|
2028
|
+
*/
|
|
2029
|
+
resourceSignature?: Uint8Array;
|
|
1906
2030
|
/**
|
|
1907
2031
|
* Start the listing from given position, returning first item with
|
|
1908
2032
|
* key >= start_from.
|
|
@@ -1911,9 +2035,9 @@ interface ResourceKVAPI_List_Request {
|
|
|
1911
2035
|
*/
|
|
1912
2036
|
startFrom: string;
|
|
1913
2037
|
/**
|
|
1914
|
-
* Non-zero value makes API
|
|
2038
|
+
* Non-zero value makes the API limit its response count to at most
|
|
1915
2039
|
* <limit> number of items.
|
|
1916
|
-
* Zero value makes API
|
|
2040
|
+
* Zero value makes the API return all available items.
|
|
1917
2041
|
*
|
|
1918
2042
|
* @generated from protobuf field: uint32 limit = 3
|
|
1919
2043
|
*/
|
|
@@ -1933,7 +2057,7 @@ interface ResourceKVAPI_List_Response {
|
|
|
1933
2057
|
* The key of the KV item next to the last returned item.
|
|
1934
2058
|
*
|
|
1935
2059
|
* Is not empty only for the last message in the current listing, when <limit> was > 0 in List.Request AND
|
|
1936
|
-
* there
|
|
2060
|
+
* there are more items to read (the listing was stopped because of that limit)
|
|
1937
2061
|
*
|
|
1938
2062
|
* Use <next> value as <start_from> of the List.Request to continue listing.
|
|
1939
2063
|
*
|
|
@@ -1962,6 +2086,10 @@ interface ResourceKVAPI_Set_Request {
|
|
|
1962
2086
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1963
2087
|
*/
|
|
1964
2088
|
resourceId: bigint;
|
|
2089
|
+
/**
|
|
2090
|
+
* @generated from protobuf field: optional bytes resource_signature = 4
|
|
2091
|
+
*/
|
|
2092
|
+
resourceSignature?: Uint8Array;
|
|
1965
2093
|
/**
|
|
1966
2094
|
* @generated from protobuf field: string key = 2
|
|
1967
2095
|
*/
|
|
@@ -1983,6 +2111,10 @@ interface ResourceKVAPI_Get_Request {
|
|
|
1983
2111
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
1984
2112
|
*/
|
|
1985
2113
|
resourceId: bigint;
|
|
2114
|
+
/**
|
|
2115
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
2116
|
+
*/
|
|
2117
|
+
resourceSignature?: Uint8Array;
|
|
1986
2118
|
/**
|
|
1987
2119
|
* @generated from protobuf field: string key = 2
|
|
1988
2120
|
*/
|
|
@@ -2005,6 +2137,10 @@ interface ResourceKVAPI_GetIfExists_Request {
|
|
|
2005
2137
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2006
2138
|
*/
|
|
2007
2139
|
resourceId: bigint;
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
2142
|
+
*/
|
|
2143
|
+
resourceSignature?: Uint8Array;
|
|
2008
2144
|
/**
|
|
2009
2145
|
* @generated from protobuf field: string key = 2
|
|
2010
2146
|
*/
|
|
@@ -2031,6 +2167,10 @@ interface ResourceKVAPI_Delete_Request {
|
|
|
2031
2167
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2032
2168
|
*/
|
|
2033
2169
|
resourceId: bigint;
|
|
2170
|
+
/**
|
|
2171
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
2172
|
+
*/
|
|
2173
|
+
resourceSignature?: Uint8Array;
|
|
2034
2174
|
/**
|
|
2035
2175
|
* @generated from protobuf field: string key = 2
|
|
2036
2176
|
*/
|
|
@@ -2048,6 +2188,10 @@ interface ResourceKVAPI_SetFlag_Request {
|
|
|
2048
2188
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2049
2189
|
*/
|
|
2050
2190
|
resourceId: bigint;
|
|
2191
|
+
/**
|
|
2192
|
+
* @generated from protobuf field: optional bytes resource_signature = 4
|
|
2193
|
+
*/
|
|
2194
|
+
resourceSignature?: Uint8Array;
|
|
2051
2195
|
/**
|
|
2052
2196
|
* @generated from protobuf field: string key = 2
|
|
2053
2197
|
*/
|
|
@@ -2069,6 +2213,10 @@ interface ResourceKVAPI_GetFlag_Request {
|
|
|
2069
2213
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2070
2214
|
*/
|
|
2071
2215
|
resourceId: bigint;
|
|
2216
|
+
/**
|
|
2217
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
2218
|
+
*/
|
|
2219
|
+
resourceSignature?: Uint8Array;
|
|
2072
2220
|
/**
|
|
2073
2221
|
* @generated from protobuf field: string key = 2
|
|
2074
2222
|
*/
|
|
@@ -2239,13 +2387,71 @@ interface CacheAPI_SetToField_Request {
|
|
|
2239
2387
|
*/
|
|
2240
2388
|
interface CacheAPI_SetToField_Response {}
|
|
2241
2389
|
/**
|
|
2242
|
-
* @generated from protobuf message MiLaboratories.PL.API.
|
|
2390
|
+
* @generated from protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request
|
|
2243
2391
|
*/
|
|
2244
|
-
interface
|
|
2392
|
+
interface LocksAPI_LockFieldValues_Create_Request {
|
|
2393
|
+
/**
|
|
2394
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2395
|
+
*/
|
|
2396
|
+
resourceId: bigint;
|
|
2397
|
+
/**
|
|
2398
|
+
* @generated from protobuf field: repeated string lock_references_of = 2
|
|
2399
|
+
*/
|
|
2400
|
+
lockReferencesOf: string[];
|
|
2401
|
+
/**
|
|
2402
|
+
* @generated from protobuf field: string comment = 3
|
|
2403
|
+
*/
|
|
2404
|
+
comment: string;
|
|
2405
|
+
}
|
|
2406
|
+
/**
|
|
2407
|
+
* @generated from protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response
|
|
2408
|
+
*/
|
|
2409
|
+
interface LocksAPI_LockFieldValues_Create_Response {
|
|
2410
|
+
/**
|
|
2411
|
+
* true when lock was acquired (new, or already owned by the owner)
|
|
2412
|
+
* Client MUST pay attention to this flag, as it shows if lock was successful.
|
|
2413
|
+
*
|
|
2414
|
+
* @generated from protobuf field: bool acquired = 1
|
|
2415
|
+
*/
|
|
2416
|
+
acquired: boolean;
|
|
2417
|
+
/**
|
|
2418
|
+
* Info about why lock was not acquired.
|
|
2419
|
+
* Limited number of conflicts is reported: i.e. if lock operation failed for 20 fields, only first 10 are listed here.
|
|
2420
|
+
* The number '10' is not a fixed contract for external clients. It is just 'somehow truncated'.
|
|
2421
|
+
*
|
|
2422
|
+
* @generated from protobuf field: repeated MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo conflicting_locks = 2
|
|
2423
|
+
*/
|
|
2424
|
+
conflictingLocks: LocksAPI_LockFieldValues_Create_Response_LockInfo[];
|
|
2425
|
+
/**
|
|
2426
|
+
* @generated from protobuf field: bool conflicts_list_truncated = 3
|
|
2427
|
+
*/
|
|
2428
|
+
conflictsListTruncated: boolean;
|
|
2429
|
+
}
|
|
2245
2430
|
/**
|
|
2246
|
-
* @generated from protobuf message MiLaboratories.PL.API.
|
|
2431
|
+
* @generated from protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo
|
|
2247
2432
|
*/
|
|
2248
|
-
interface
|
|
2433
|
+
interface LocksAPI_LockFieldValues_Create_Response_LockInfo {
|
|
2434
|
+
/**
|
|
2435
|
+
* @generated from protobuf field: uint64 target_id = 1
|
|
2436
|
+
*/
|
|
2437
|
+
targetId: bigint;
|
|
2438
|
+
/**
|
|
2439
|
+
* @generated from protobuf field: string field_name = 2
|
|
2440
|
+
*/
|
|
2441
|
+
fieldName: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* @generated from protobuf field: uint64 locked_by = 3
|
|
2444
|
+
*/
|
|
2445
|
+
lockedBy: bigint;
|
|
2446
|
+
/**
|
|
2447
|
+
* @generated from protobuf field: google.protobuf.Timestamp locked_at = 4
|
|
2448
|
+
*/
|
|
2449
|
+
lockedAt?: Timestamp;
|
|
2450
|
+
/**
|
|
2451
|
+
* @generated from protobuf field: string comment = 5
|
|
2452
|
+
*/
|
|
2453
|
+
comment: string;
|
|
2454
|
+
}
|
|
2249
2455
|
/**
|
|
2250
2456
|
* @generated from protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Create.Request
|
|
2251
2457
|
*/
|
|
@@ -2254,6 +2460,10 @@ interface LocksAPI_Lease_Create_Request {
|
|
|
2254
2460
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2255
2461
|
*/
|
|
2256
2462
|
resourceId: bigint;
|
|
2463
|
+
/**
|
|
2464
|
+
* @generated from protobuf field: optional bytes resource_signature = 5
|
|
2465
|
+
*/
|
|
2466
|
+
resourceSignature?: Uint8Array;
|
|
2257
2467
|
/**
|
|
2258
2468
|
* @generated from protobuf field: google.protobuf.Duration timeout = 3
|
|
2259
2469
|
*/
|
|
@@ -2280,6 +2490,10 @@ interface LocksAPI_Lease_Update_Request {
|
|
|
2280
2490
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2281
2491
|
*/
|
|
2282
2492
|
resourceId: bigint;
|
|
2493
|
+
/**
|
|
2494
|
+
* @generated from protobuf field: optional bytes resource_signature = 5
|
|
2495
|
+
*/
|
|
2496
|
+
resourceSignature?: Uint8Array;
|
|
2283
2497
|
/**
|
|
2284
2498
|
* @generated from protobuf field: bytes lease_id = 2
|
|
2285
2499
|
*/
|
|
@@ -2305,6 +2519,10 @@ interface LocksAPI_Lease_Release_Request {
|
|
|
2305
2519
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2306
2520
|
*/
|
|
2307
2521
|
resourceId: bigint;
|
|
2522
|
+
/**
|
|
2523
|
+
* @generated from protobuf field: optional bytes resource_signature = 3
|
|
2524
|
+
*/
|
|
2525
|
+
resourceSignature?: Uint8Array;
|
|
2308
2526
|
/**
|
|
2309
2527
|
* @generated from protobuf field: bytes lease_id = 2
|
|
2310
2528
|
*/
|
|
@@ -2354,6 +2572,10 @@ interface AuthAPI_GetJWTToken_Request {
|
|
|
2354
2572
|
* @generated from protobuf field: google.protobuf.Duration expiration = 1
|
|
2355
2573
|
*/
|
|
2356
2574
|
expiration?: Duration;
|
|
2575
|
+
/**
|
|
2576
|
+
* @generated from protobuf field: optional MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role requested_role = 2
|
|
2577
|
+
*/
|
|
2578
|
+
requestedRole?: AuthAPI_GetJWTToken_Role;
|
|
2357
2579
|
}
|
|
2358
2580
|
/**
|
|
2359
2581
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
@@ -2363,6 +2585,231 @@ interface AuthAPI_GetJWTToken_Response {
|
|
|
2363
2585
|
* @generated from protobuf field: string token = 1
|
|
2364
2586
|
*/
|
|
2365
2587
|
token: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* @generated from protobuf field: bytes session_id = 2
|
|
2590
|
+
*/
|
|
2591
|
+
sessionId: Uint8Array;
|
|
2592
|
+
}
|
|
2593
|
+
/**
|
|
2594
|
+
* @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.GetJWTToken.Role
|
|
2595
|
+
*/
|
|
2596
|
+
declare enum AuthAPI_GetJWTToken_Role {
|
|
2597
|
+
/**
|
|
2598
|
+
* issue JWT with caller's natural role
|
|
2599
|
+
*
|
|
2600
|
+
* @generated from protobuf enum value: ROLE_UNSPECIFIED = 0;
|
|
2601
|
+
*/
|
|
2602
|
+
ROLE_UNSPECIFIED = 0,
|
|
2603
|
+
/**
|
|
2604
|
+
* @generated from protobuf enum value: USER = 1;
|
|
2605
|
+
*/
|
|
2606
|
+
USER = 1,
|
|
2607
|
+
/**
|
|
2608
|
+
* @generated from protobuf enum value: CONTROLLER = 2;
|
|
2609
|
+
*/
|
|
2610
|
+
CONTROLLER = 2,
|
|
2611
|
+
/**
|
|
2612
|
+
* @generated from protobuf enum value: WORKFLOW = 3;
|
|
2613
|
+
*/
|
|
2614
|
+
WORKFLOW = 3
|
|
2615
|
+
}
|
|
2616
|
+
/**
|
|
2617
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Request
|
|
2618
|
+
*/
|
|
2619
|
+
interface AuthAPI_GrantAccess_Request {
|
|
2620
|
+
/**
|
|
2621
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2622
|
+
*/
|
|
2623
|
+
resourceId: bigint;
|
|
2624
|
+
/**
|
|
2625
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
2626
|
+
*/
|
|
2627
|
+
resourceSignature?: Uint8Array;
|
|
2628
|
+
/**
|
|
2629
|
+
* @generated from protobuf field: string target_user = 3
|
|
2630
|
+
*/
|
|
2631
|
+
targetUser: string;
|
|
2632
|
+
/**
|
|
2633
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant.Permissions permissions = 4
|
|
2634
|
+
*/
|
|
2635
|
+
permissions?: AuthAPI_Grant_Permissions;
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
2639
|
+
*/
|
|
2640
|
+
interface AuthAPI_GrantAccess_Response {}
|
|
2641
|
+
/**
|
|
2642
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request
|
|
2643
|
+
*/
|
|
2644
|
+
interface AuthAPI_RevokeGrant_Request {
|
|
2645
|
+
/**
|
|
2646
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2647
|
+
*/
|
|
2648
|
+
resourceId: bigint;
|
|
2649
|
+
/**
|
|
2650
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
2651
|
+
*/
|
|
2652
|
+
resourceSignature?: Uint8Array;
|
|
2653
|
+
/**
|
|
2654
|
+
* @generated from protobuf field: string target_user = 3
|
|
2655
|
+
*/
|
|
2656
|
+
targetUser: string;
|
|
2657
|
+
}
|
|
2658
|
+
/**
|
|
2659
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response
|
|
2660
|
+
*/
|
|
2661
|
+
interface AuthAPI_RevokeGrant_Response {}
|
|
2662
|
+
/**
|
|
2663
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Request
|
|
2664
|
+
*/
|
|
2665
|
+
interface AuthAPI_ListGrants_Request {
|
|
2666
|
+
/**
|
|
2667
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2668
|
+
*/
|
|
2669
|
+
resourceId: bigint;
|
|
2670
|
+
/**
|
|
2671
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
2672
|
+
*/
|
|
2673
|
+
resourceSignature?: Uint8Array;
|
|
2674
|
+
}
|
|
2675
|
+
/**
|
|
2676
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
|
|
2677
|
+
*/
|
|
2678
|
+
interface AuthAPI_ListGrants_Response {
|
|
2679
|
+
/**
|
|
2680
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant grant = 1
|
|
2681
|
+
*/
|
|
2682
|
+
grant?: AuthAPI_Grant;
|
|
2683
|
+
}
|
|
2684
|
+
/**
|
|
2685
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.Grant
|
|
2686
|
+
*/
|
|
2687
|
+
interface AuthAPI_Grant {
|
|
2688
|
+
/**
|
|
2689
|
+
* @generated from protobuf field: string user = 1
|
|
2690
|
+
*/
|
|
2691
|
+
user: string;
|
|
2692
|
+
/**
|
|
2693
|
+
* @generated from protobuf field: uint64 resource_id = 2
|
|
2694
|
+
*/
|
|
2695
|
+
resourceId: bigint;
|
|
2696
|
+
/**
|
|
2697
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant.Permissions permissions = 3
|
|
2698
|
+
*/
|
|
2699
|
+
permissions?: AuthAPI_Grant_Permissions;
|
|
2700
|
+
/**
|
|
2701
|
+
* @generated from protobuf field: string granted_by = 4
|
|
2702
|
+
*/
|
|
2703
|
+
grantedBy: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* @generated from protobuf field: int64 granted_at = 5
|
|
2706
|
+
*/
|
|
2707
|
+
grantedAt: bigint;
|
|
2708
|
+
}
|
|
2709
|
+
/**
|
|
2710
|
+
* Permissions describes access level for a grant.
|
|
2711
|
+
*
|
|
2712
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.Grant.Permissions
|
|
2713
|
+
*/
|
|
2714
|
+
interface AuthAPI_Grant_Permissions {
|
|
2715
|
+
/**
|
|
2716
|
+
* @generated from protobuf field: bool writable = 1
|
|
2717
|
+
*/
|
|
2718
|
+
writable: boolean;
|
|
2719
|
+
}
|
|
2720
|
+
/**
|
|
2721
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Request
|
|
2722
|
+
*/
|
|
2723
|
+
interface AuthAPI_ListUserResources_Request {
|
|
2724
|
+
/**
|
|
2725
|
+
* User login to list resources for.
|
|
2726
|
+
* Is ignored for regular user role: it can list only its own resources.
|
|
2727
|
+
*
|
|
2728
|
+
* @generated from protobuf field: string login = 1
|
|
2729
|
+
*/
|
|
2730
|
+
login: string;
|
|
2731
|
+
/**
|
|
2732
|
+
* Start listing shared resources from given resource ID.
|
|
2733
|
+
* User root is returned only on the first page (when start_from == 0).
|
|
2734
|
+
*
|
|
2735
|
+
* @generated from protobuf field: uint64 start_from = 2
|
|
2736
|
+
*/
|
|
2737
|
+
startFrom: bigint;
|
|
2738
|
+
/**
|
|
2739
|
+
* Non-zero value limits total resource count to at most <limit>.
|
|
2740
|
+
* limit = 1 with start_from = 0 returns solely user's root
|
|
2741
|
+
* limit = 2 with non-zero start_from returns 2 shared resources.
|
|
2742
|
+
* Zero returns all resources.
|
|
2743
|
+
*
|
|
2744
|
+
* @generated from protobuf field: uint32 limit = 3
|
|
2745
|
+
*/
|
|
2746
|
+
limit: number;
|
|
2747
|
+
}
|
|
2748
|
+
/**
|
|
2749
|
+
* Multi-message: first message contains UserRoot (only when start_from == 0),
|
|
2750
|
+
*
|
|
2751
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Response
|
|
2752
|
+
*/
|
|
2753
|
+
interface AuthAPI_ListUserResources_Response {
|
|
2754
|
+
/**
|
|
2755
|
+
* @generated from protobuf oneof: entry
|
|
2756
|
+
*/
|
|
2757
|
+
entry: {
|
|
2758
|
+
oneofKind: "userRoot";
|
|
2759
|
+
/**
|
|
2760
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot user_root = 1
|
|
2761
|
+
*/
|
|
2762
|
+
userRoot: AuthAPI_ListUserResources_UserRoot;
|
|
2763
|
+
} | {
|
|
2764
|
+
oneofKind: "sharedResource";
|
|
2765
|
+
/**
|
|
2766
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource shared_resource = 2
|
|
2767
|
+
*/
|
|
2768
|
+
sharedResource: AuthAPI_ListUserResources_SharedResource;
|
|
2769
|
+
} | {
|
|
2770
|
+
oneofKind: undefined;
|
|
2771
|
+
};
|
|
2772
|
+
/**
|
|
2773
|
+
* Set only on the last message when limit > 0 and more items exist.
|
|
2774
|
+
* Use as 'start_from' in the next request to continue listing.
|
|
2775
|
+
*
|
|
2776
|
+
* @generated from protobuf field: uint64 next_resource_id = 3
|
|
2777
|
+
*/
|
|
2778
|
+
nextResourceId: bigint;
|
|
2779
|
+
}
|
|
2780
|
+
/**
|
|
2781
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot
|
|
2782
|
+
*/
|
|
2783
|
+
interface AuthAPI_ListUserResources_UserRoot {
|
|
2784
|
+
/**
|
|
2785
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2786
|
+
*/
|
|
2787
|
+
resourceId: bigint;
|
|
2788
|
+
/**
|
|
2789
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
2790
|
+
*/
|
|
2791
|
+
resourceSignature?: Uint8Array;
|
|
2792
|
+
}
|
|
2793
|
+
/**
|
|
2794
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
|
|
2795
|
+
*/
|
|
2796
|
+
interface AuthAPI_ListUserResources_SharedResource {
|
|
2797
|
+
/**
|
|
2798
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2799
|
+
*/
|
|
2800
|
+
resourceId: bigint;
|
|
2801
|
+
/**
|
|
2802
|
+
* @generated from protobuf field: optional bytes resource_signature = 2
|
|
2803
|
+
*/
|
|
2804
|
+
resourceSignature?: Uint8Array;
|
|
2805
|
+
/**
|
|
2806
|
+
* @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 3
|
|
2807
|
+
*/
|
|
2808
|
+
resourceType?: ResourceType;
|
|
2809
|
+
/**
|
|
2810
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant.Permissions permissions = 4
|
|
2811
|
+
*/
|
|
2812
|
+
permissions?: AuthAPI_Grant_Permissions;
|
|
2366
2813
|
}
|
|
2367
2814
|
/**
|
|
2368
2815
|
* @generated from protobuf message MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Request
|
|
@@ -2395,10 +2842,6 @@ interface MaintenanceAPI_Ping_Response {
|
|
|
2395
2842
|
* @generated from protobuf field: string core_full_version = 2
|
|
2396
2843
|
*/
|
|
2397
2844
|
coreFullVersion: string;
|
|
2398
|
-
/**
|
|
2399
|
-
* @generated from protobuf field: string server_info = 3
|
|
2400
|
-
*/
|
|
2401
|
-
serverInfo: string;
|
|
2402
2845
|
/**
|
|
2403
2846
|
* @generated from protobuf field: MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression compression = 4
|
|
2404
2847
|
*/
|
|
@@ -2461,6 +2904,10 @@ interface MaintenanceAPI_License_Response {
|
|
|
2461
2904
|
*/
|
|
2462
2905
|
responseBody: Uint8Array;
|
|
2463
2906
|
}
|
|
2907
|
+
/**
|
|
2908
|
+
* @generated from protobuf message MiLaboratories.PL.API.Util.Deprecated
|
|
2909
|
+
*/
|
|
2910
|
+
interface Util_Deprecated {}
|
|
2464
2911
|
declare class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
2465
2912
|
constructor();
|
|
2466
2913
|
create(value?: PartialMessage<TxAPI_ClientMessage>): TxAPI_ClientMessage;
|
|
@@ -2591,6 +3038,26 @@ declare class TxAPI_Sync_Response$Type extends MessageType<TxAPI_Sync_Response>
|
|
|
2591
3038
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.Sync.Response
|
|
2592
3039
|
*/
|
|
2593
3040
|
declare const TxAPI_Sync_Response: TxAPI_Sync_Response$Type;
|
|
3041
|
+
declare class TxAPI_SetDefaultColor_Request$Type extends MessageType<TxAPI_SetDefaultColor_Request> {
|
|
3042
|
+
constructor();
|
|
3043
|
+
create(value?: PartialMessage<TxAPI_SetDefaultColor_Request>): TxAPI_SetDefaultColor_Request;
|
|
3044
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_SetDefaultColor_Request): TxAPI_SetDefaultColor_Request;
|
|
3045
|
+
internalBinaryWrite(message: TxAPI_SetDefaultColor_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3046
|
+
}
|
|
3047
|
+
/**
|
|
3048
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request
|
|
3049
|
+
*/
|
|
3050
|
+
declare const TxAPI_SetDefaultColor_Request: TxAPI_SetDefaultColor_Request$Type;
|
|
3051
|
+
declare class TxAPI_SetDefaultColor_Response$Type extends MessageType<TxAPI_SetDefaultColor_Response> {
|
|
3052
|
+
constructor();
|
|
3053
|
+
create(value?: PartialMessage<TxAPI_SetDefaultColor_Response>): TxAPI_SetDefaultColor_Response;
|
|
3054
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_SetDefaultColor_Response): TxAPI_SetDefaultColor_Response;
|
|
3055
|
+
internalBinaryWrite(message: TxAPI_SetDefaultColor_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3056
|
+
}
|
|
3057
|
+
/**
|
|
3058
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response
|
|
3059
|
+
*/
|
|
3060
|
+
declare const TxAPI_SetDefaultColor_Response: TxAPI_SetDefaultColor_Response$Type;
|
|
2594
3061
|
declare class ResourceAPI_CreateStruct_Request$Type extends MessageType<ResourceAPI_CreateStruct_Request> {
|
|
2595
3062
|
constructor();
|
|
2596
3063
|
create(value?: PartialMessage<ResourceAPI_CreateStruct_Request>): ResourceAPI_CreateStruct_Request;
|
|
@@ -3864,26 +4331,36 @@ declare class CacheAPI_SetToField_Response$Type extends MessageType<CacheAPI_Set
|
|
|
3864
4331
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Response
|
|
3865
4332
|
*/
|
|
3866
4333
|
declare const CacheAPI_SetToField_Response: CacheAPI_SetToField_Response$Type;
|
|
3867
|
-
declare class
|
|
4334
|
+
declare class LocksAPI_LockFieldValues_Create_Request$Type extends MessageType<LocksAPI_LockFieldValues_Create_Request> {
|
|
4335
|
+
constructor();
|
|
4336
|
+
create(value?: PartialMessage<LocksAPI_LockFieldValues_Create_Request>): LocksAPI_LockFieldValues_Create_Request;
|
|
4337
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_LockFieldValues_Create_Request): LocksAPI_LockFieldValues_Create_Request;
|
|
4338
|
+
internalBinaryWrite(message: LocksAPI_LockFieldValues_Create_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4339
|
+
}
|
|
4340
|
+
/**
|
|
4341
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Request
|
|
4342
|
+
*/
|
|
4343
|
+
declare const LocksAPI_LockFieldValues_Create_Request: LocksAPI_LockFieldValues_Create_Request$Type;
|
|
4344
|
+
declare class LocksAPI_LockFieldValues_Create_Response$Type extends MessageType<LocksAPI_LockFieldValues_Create_Response> {
|
|
3868
4345
|
constructor();
|
|
3869
|
-
create(value?: PartialMessage<
|
|
3870
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
3871
|
-
internalBinaryWrite(message:
|
|
4346
|
+
create(value?: PartialMessage<LocksAPI_LockFieldValues_Create_Response>): LocksAPI_LockFieldValues_Create_Response;
|
|
4347
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_LockFieldValues_Create_Response): LocksAPI_LockFieldValues_Create_Response;
|
|
4348
|
+
internalBinaryWrite(message: LocksAPI_LockFieldValues_Create_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3872
4349
|
}
|
|
3873
4350
|
/**
|
|
3874
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
4351
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response
|
|
3875
4352
|
*/
|
|
3876
|
-
declare const
|
|
3877
|
-
declare class
|
|
4353
|
+
declare const LocksAPI_LockFieldValues_Create_Response: LocksAPI_LockFieldValues_Create_Response$Type;
|
|
4354
|
+
declare class LocksAPI_LockFieldValues_Create_Response_LockInfo$Type extends MessageType<LocksAPI_LockFieldValues_Create_Response_LockInfo> {
|
|
3878
4355
|
constructor();
|
|
3879
|
-
create(value?: PartialMessage<
|
|
3880
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
3881
|
-
internalBinaryWrite(message:
|
|
4356
|
+
create(value?: PartialMessage<LocksAPI_LockFieldValues_Create_Response_LockInfo>): LocksAPI_LockFieldValues_Create_Response_LockInfo;
|
|
4357
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_LockFieldValues_Create_Response_LockInfo): LocksAPI_LockFieldValues_Create_Response_LockInfo;
|
|
4358
|
+
internalBinaryWrite(message: LocksAPI_LockFieldValues_Create_Response_LockInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3882
4359
|
}
|
|
3883
4360
|
/**
|
|
3884
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
4361
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.LockFieldValues.Create.Response.LockInfo
|
|
3885
4362
|
*/
|
|
3886
|
-
declare const
|
|
4363
|
+
declare const LocksAPI_LockFieldValues_Create_Response_LockInfo: LocksAPI_LockFieldValues_Create_Response_LockInfo$Type;
|
|
3887
4364
|
declare class LocksAPI_Lease_Create_Request$Type extends MessageType<LocksAPI_Lease_Create_Request> {
|
|
3888
4365
|
constructor();
|
|
3889
4366
|
create(value?: PartialMessage<LocksAPI_Lease_Create_Request>): LocksAPI_Lease_Create_Request;
|
|
@@ -3995,6 +4472,126 @@ declare class AuthAPI_GetJWTToken_Response$Type extends MessageType<AuthAPI_GetJ
|
|
|
3995
4472
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
3996
4473
|
*/
|
|
3997
4474
|
declare const AuthAPI_GetJWTToken_Response: AuthAPI_GetJWTToken_Response$Type;
|
|
4475
|
+
declare class AuthAPI_GrantAccess_Request$Type extends MessageType<AuthAPI_GrantAccess_Request> {
|
|
4476
|
+
constructor();
|
|
4477
|
+
create(value?: PartialMessage<AuthAPI_GrantAccess_Request>): AuthAPI_GrantAccess_Request;
|
|
4478
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GrantAccess_Request): AuthAPI_GrantAccess_Request;
|
|
4479
|
+
internalBinaryWrite(message: AuthAPI_GrantAccess_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4480
|
+
}
|
|
4481
|
+
/**
|
|
4482
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Request
|
|
4483
|
+
*/
|
|
4484
|
+
declare const AuthAPI_GrantAccess_Request: AuthAPI_GrantAccess_Request$Type;
|
|
4485
|
+
declare class AuthAPI_GrantAccess_Response$Type extends MessageType<AuthAPI_GrantAccess_Response> {
|
|
4486
|
+
constructor();
|
|
4487
|
+
create(value?: PartialMessage<AuthAPI_GrantAccess_Response>): AuthAPI_GrantAccess_Response;
|
|
4488
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GrantAccess_Response): AuthAPI_GrantAccess_Response;
|
|
4489
|
+
internalBinaryWrite(message: AuthAPI_GrantAccess_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4490
|
+
}
|
|
4491
|
+
/**
|
|
4492
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
4493
|
+
*/
|
|
4494
|
+
declare const AuthAPI_GrantAccess_Response: AuthAPI_GrantAccess_Response$Type;
|
|
4495
|
+
declare class AuthAPI_RevokeGrant_Request$Type extends MessageType<AuthAPI_RevokeGrant_Request> {
|
|
4496
|
+
constructor();
|
|
4497
|
+
create(value?: PartialMessage<AuthAPI_RevokeGrant_Request>): AuthAPI_RevokeGrant_Request;
|
|
4498
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_RevokeGrant_Request): AuthAPI_RevokeGrant_Request;
|
|
4499
|
+
internalBinaryWrite(message: AuthAPI_RevokeGrant_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4500
|
+
}
|
|
4501
|
+
/**
|
|
4502
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Request
|
|
4503
|
+
*/
|
|
4504
|
+
declare const AuthAPI_RevokeGrant_Request: AuthAPI_RevokeGrant_Request$Type;
|
|
4505
|
+
declare class AuthAPI_RevokeGrant_Response$Type extends MessageType<AuthAPI_RevokeGrant_Response> {
|
|
4506
|
+
constructor();
|
|
4507
|
+
create(value?: PartialMessage<AuthAPI_RevokeGrant_Response>): AuthAPI_RevokeGrant_Response;
|
|
4508
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_RevokeGrant_Response): AuthAPI_RevokeGrant_Response;
|
|
4509
|
+
internalBinaryWrite(message: AuthAPI_RevokeGrant_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4510
|
+
}
|
|
4511
|
+
/**
|
|
4512
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeGrant.Response
|
|
4513
|
+
*/
|
|
4514
|
+
declare const AuthAPI_RevokeGrant_Response: AuthAPI_RevokeGrant_Response$Type;
|
|
4515
|
+
declare class AuthAPI_ListGrants_Request$Type extends MessageType<AuthAPI_ListGrants_Request> {
|
|
4516
|
+
constructor();
|
|
4517
|
+
create(value?: PartialMessage<AuthAPI_ListGrants_Request>): AuthAPI_ListGrants_Request;
|
|
4518
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListGrants_Request): AuthAPI_ListGrants_Request;
|
|
4519
|
+
internalBinaryWrite(message: AuthAPI_ListGrants_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4520
|
+
}
|
|
4521
|
+
/**
|
|
4522
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Request
|
|
4523
|
+
*/
|
|
4524
|
+
declare const AuthAPI_ListGrants_Request: AuthAPI_ListGrants_Request$Type;
|
|
4525
|
+
declare class AuthAPI_ListGrants_Response$Type extends MessageType<AuthAPI_ListGrants_Response> {
|
|
4526
|
+
constructor();
|
|
4527
|
+
create(value?: PartialMessage<AuthAPI_ListGrants_Response>): AuthAPI_ListGrants_Response;
|
|
4528
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListGrants_Response): AuthAPI_ListGrants_Response;
|
|
4529
|
+
internalBinaryWrite(message: AuthAPI_ListGrants_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4530
|
+
}
|
|
4531
|
+
/**
|
|
4532
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
|
|
4533
|
+
*/
|
|
4534
|
+
declare const AuthAPI_ListGrants_Response: AuthAPI_ListGrants_Response$Type;
|
|
4535
|
+
declare class AuthAPI_Grant$Type extends MessageType<AuthAPI_Grant> {
|
|
4536
|
+
constructor();
|
|
4537
|
+
create(value?: PartialMessage<AuthAPI_Grant>): AuthAPI_Grant;
|
|
4538
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_Grant): AuthAPI_Grant;
|
|
4539
|
+
internalBinaryWrite(message: AuthAPI_Grant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4540
|
+
}
|
|
4541
|
+
/**
|
|
4542
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant
|
|
4543
|
+
*/
|
|
4544
|
+
declare const AuthAPI_Grant: AuthAPI_Grant$Type;
|
|
4545
|
+
declare class AuthAPI_Grant_Permissions$Type extends MessageType<AuthAPI_Grant_Permissions> {
|
|
4546
|
+
constructor();
|
|
4547
|
+
create(value?: PartialMessage<AuthAPI_Grant_Permissions>): AuthAPI_Grant_Permissions;
|
|
4548
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_Grant_Permissions): AuthAPI_Grant_Permissions;
|
|
4549
|
+
internalBinaryWrite(message: AuthAPI_Grant_Permissions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4550
|
+
}
|
|
4551
|
+
/**
|
|
4552
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant.Permissions
|
|
4553
|
+
*/
|
|
4554
|
+
declare const AuthAPI_Grant_Permissions: AuthAPI_Grant_Permissions$Type;
|
|
4555
|
+
declare class AuthAPI_ListUserResources_Request$Type extends MessageType<AuthAPI_ListUserResources_Request> {
|
|
4556
|
+
constructor();
|
|
4557
|
+
create(value?: PartialMessage<AuthAPI_ListUserResources_Request>): AuthAPI_ListUserResources_Request;
|
|
4558
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUserResources_Request): AuthAPI_ListUserResources_Request;
|
|
4559
|
+
internalBinaryWrite(message: AuthAPI_ListUserResources_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4560
|
+
}
|
|
4561
|
+
/**
|
|
4562
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Request
|
|
4563
|
+
*/
|
|
4564
|
+
declare const AuthAPI_ListUserResources_Request: AuthAPI_ListUserResources_Request$Type;
|
|
4565
|
+
declare class AuthAPI_ListUserResources_Response$Type extends MessageType<AuthAPI_ListUserResources_Response> {
|
|
4566
|
+
constructor();
|
|
4567
|
+
create(value?: PartialMessage<AuthAPI_ListUserResources_Response>): AuthAPI_ListUserResources_Response;
|
|
4568
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUserResources_Response): AuthAPI_ListUserResources_Response;
|
|
4569
|
+
internalBinaryWrite(message: AuthAPI_ListUserResources_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4570
|
+
}
|
|
4571
|
+
/**
|
|
4572
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Response
|
|
4573
|
+
*/
|
|
4574
|
+
declare const AuthAPI_ListUserResources_Response: AuthAPI_ListUserResources_Response$Type;
|
|
4575
|
+
declare class AuthAPI_ListUserResources_UserRoot$Type extends MessageType<AuthAPI_ListUserResources_UserRoot> {
|
|
4576
|
+
constructor();
|
|
4577
|
+
create(value?: PartialMessage<AuthAPI_ListUserResources_UserRoot>): AuthAPI_ListUserResources_UserRoot;
|
|
4578
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUserResources_UserRoot): AuthAPI_ListUserResources_UserRoot;
|
|
4579
|
+
internalBinaryWrite(message: AuthAPI_ListUserResources_UserRoot, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4580
|
+
}
|
|
4581
|
+
/**
|
|
4582
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.UserRoot
|
|
4583
|
+
*/
|
|
4584
|
+
declare const AuthAPI_ListUserResources_UserRoot: AuthAPI_ListUserResources_UserRoot$Type;
|
|
4585
|
+
declare class AuthAPI_ListUserResources_SharedResource$Type extends MessageType<AuthAPI_ListUserResources_SharedResource> {
|
|
4586
|
+
constructor();
|
|
4587
|
+
create(value?: PartialMessage<AuthAPI_ListUserResources_SharedResource>): AuthAPI_ListUserResources_SharedResource;
|
|
4588
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListUserResources_SharedResource): AuthAPI_ListUserResources_SharedResource;
|
|
4589
|
+
internalBinaryWrite(message: AuthAPI_ListUserResources_SharedResource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4590
|
+
}
|
|
4591
|
+
/**
|
|
4592
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
|
|
4593
|
+
*/
|
|
4594
|
+
declare const AuthAPI_ListUserResources_SharedResource: AuthAPI_ListUserResources_SharedResource$Type;
|
|
3998
4595
|
declare class MiscAPI_ListResourceTypes_Request$Type extends MessageType<MiscAPI_ListResourceTypes_Request> {
|
|
3999
4596
|
constructor();
|
|
4000
4597
|
create(value?: PartialMessage<MiscAPI_ListResourceTypes_Request>): MiscAPI_ListResourceTypes_Request;
|
|
@@ -4055,6 +4652,16 @@ declare class MaintenanceAPI_License_Response$Type extends MessageType<Maintenan
|
|
|
4055
4652
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
4056
4653
|
*/
|
|
4057
4654
|
declare const MaintenanceAPI_License_Response: MaintenanceAPI_License_Response$Type;
|
|
4655
|
+
declare class Util_Deprecated$Type extends MessageType<Util_Deprecated> {
|
|
4656
|
+
constructor();
|
|
4657
|
+
create(value?: PartialMessage<Util_Deprecated>): Util_Deprecated;
|
|
4658
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Util_Deprecated): Util_Deprecated;
|
|
4659
|
+
internalBinaryWrite(message: Util_Deprecated, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4660
|
+
}
|
|
4661
|
+
/**
|
|
4662
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Util.Deprecated
|
|
4663
|
+
*/
|
|
4664
|
+
declare const Util_Deprecated: Util_Deprecated$Type;
|
|
4058
4665
|
//#endregion
|
|
4059
|
-
export { AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response, AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response, ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response, ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response, ControllerAPI_Create_Request, ControllerAPI_Create_Response, ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response, ControllerAPI_Exists_Request, ControllerAPI_Exists_Response, ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response, ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response, ControllerAPI_Get_Request, ControllerAPI_Get_Response, ControllerAPI_Register_Request, ControllerAPI_Register_Response, ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response, ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response, ControllerAPI_Update_Request, ControllerAPI_Update_Response, ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response, LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response, LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response, LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response, MaintenanceAPI_License_Request, MaintenanceAPI_License_Response, MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response, MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response, NotificationAPI_Get_Request, NotificationAPI_Get_Response, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_ServerMessage, TxAPI_Sync_Request, TxAPI_Sync_Response };
|
|
4666
|
+
export { AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response, AuthAPI_GrantAccess_Request, AuthAPI_GrantAccess_Response, AuthAPI_ListGrants_Request, AuthAPI_ListGrants_Response, AuthAPI_ListMethods_Request, AuthAPI_ListMethods_Response, AuthAPI_ListUserResources_Request, AuthAPI_ListUserResources_Response, AuthAPI_RevokeGrant_Request, AuthAPI_RevokeGrant_Response, ControllerAPI_AttachSubscription_Request, ControllerAPI_AttachSubscription_Response, ControllerAPI_ClearFeatures_Request, ControllerAPI_ClearFeatures_Response, ControllerAPI_Create_Request, ControllerAPI_Create_Response, ControllerAPI_Deregister_Request, ControllerAPI_Deregister_Response, ControllerAPI_Exists_Request, ControllerAPI_Exists_Response, ControllerAPI_GetNotifications_Request, ControllerAPI_GetNotifications_Response, ControllerAPI_GetUrl_Request, ControllerAPI_GetUrl_Response, ControllerAPI_Get_Request, ControllerAPI_Get_Response, ControllerAPI_Register_Request, ControllerAPI_Register_Response, ControllerAPI_RemoveAliasesAndUrls_Request, ControllerAPI_RemoveAliasesAndUrls_Response, ControllerAPI_SetFeatures_Request, ControllerAPI_SetFeatures_Response, ControllerAPI_Update_Request, ControllerAPI_Update_Response, ControllerAPI_WriteAliasesAndUrls_Request, ControllerAPI_WriteAliasesAndUrls_Response, LocksAPI_Lease_Create_Request, LocksAPI_Lease_Create_Response, LocksAPI_Lease_Release_Request, LocksAPI_Lease_Release_Response, LocksAPI_Lease_Update_Request, LocksAPI_Lease_Update_Response, LocksAPI_LockFieldValues_Create_Request, LocksAPI_LockFieldValues_Create_Response, MaintenanceAPI_License_Request, MaintenanceAPI_License_Response, MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response, MiscAPI_ListResourceTypes_Request, MiscAPI_ListResourceTypes_Response, NotificationAPI_Get_Request, NotificationAPI_Get_Response, SubscriptionAPI_AttachFilter_Request, SubscriptionAPI_AttachFilter_Response, SubscriptionAPI_DetachFilter_Request, SubscriptionAPI_DetachFilter_Response, TxAPI_ClientMessage, TxAPI_ServerMessage, TxAPI_Sync_Request, TxAPI_Sync_Response };
|
|
4060
4667
|
//# sourceMappingURL=api.d.ts.map
|