@milaboratories/pl-client 3.2.5 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/client.cjs +24 -56
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +12 -8
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +26 -58
- package/dist/core/client.js.map +1 -1
- package/dist/core/errors.cjs +20 -0
- package/dist/core/errors.cjs.map +1 -1
- package/dist/core/errors.d.ts +6 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +19 -1
- package/dist/core/errors.js.map +1 -1
- package/dist/core/final.cjs +6 -5
- package/dist/core/final.cjs.map +1 -1
- package/dist/core/final.d.ts.map +1 -1
- package/dist/core/final.js +7 -6
- package/dist/core/final.js.map +1 -1
- package/dist/core/ll_client.cjs +18 -1
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.d.ts +6 -2
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_client.js +19 -2
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/transaction.cjs +109 -75
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.d.ts +30 -22
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/core/transaction.js +111 -76
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +14 -6
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.js +14 -6
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/core/types.cjs +77 -17
- package/dist/core/types.cjs.map +1 -1
- package/dist/core/types.d.ts +49 -26
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +66 -14
- package/dist/core/types.js.map +1 -1
- package/dist/core/user_resources.cjs +181 -0
- package/dist/core/user_resources.cjs.map +1 -0
- package/dist/core/user_resources.d.ts +75 -0
- package/dist/core/user_resources.d.ts.map +1 -0
- package/dist/core/user_resources.js +180 -0
- package/dist/core/user_resources.js.map +1 -0
- package/dist/helpers/poll.cjs +4 -4
- package/dist/helpers/poll.cjs.map +1 -1
- package/dist/helpers/poll.d.ts +3 -3
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/helpers/poll.js +5 -5
- package/dist/helpers/poll.js.map +1 -1
- package/dist/helpers/tx_helpers.cjs +1 -1
- package/dist/helpers/tx_helpers.cjs.map +1 -1
- package/dist/helpers/tx_helpers.d.ts +3 -3
- package/dist/helpers/tx_helpers.d.ts.map +1 -1
- package/dist/helpers/tx_helpers.js +2 -2
- package/dist/helpers/tx_helpers.js.map +1 -1
- package/dist/index.cjs +16 -5
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +724 -188
- 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 +34 -9
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +37 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +34 -9
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +326 -136
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +724 -188
- 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 +18 -7
- 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 +11 -7
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +18 -7
- 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 +57 -2
- 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 +26 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +57 -3
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
- package/dist/proto-rest/plapi.d.ts +421 -207
- package/dist/proto-rest/plapi.d.ts.map +1 -1
- package/dist/test/test_config.cjs +6 -3
- package/dist/test/test_config.cjs.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -1
- package/dist/test/test_config.js +7 -4
- package/dist/test/test_config.js.map +1 -1
- package/package.json +5 -5
- package/src/core/client.ts +58 -103
- package/src/core/errors.ts +23 -0
- package/src/core/final.ts +16 -6
- package/src/core/ll_client.ts +39 -3
- package/src/core/ll_transaction.test.ts +41 -6
- package/src/core/transaction.ts +176 -86
- package/src/core/type_conversion.ts +24 -9
- package/src/core/types.ts +147 -41
- package/src/core/user_resources.ts +332 -0
- package/src/helpers/poll.ts +15 -8
- package/src/helpers/state_helpers.ts +2 -2
- package/src/helpers/tx_helpers.ts +5 -5
- package/src/index.ts +1 -0
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +61 -14
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +1045 -379
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +33 -18
- package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +75 -6
- package/src/proto-grpc/google/protobuf/descriptor.ts +5 -2
- package/src/proto-rest/plapi.ts +447 -225
- package/src/test/test_config.ts +8 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Color, FieldRef, FieldType, ResourceType } from "./base_types.js";
|
|
1
2
|
import { Timestamp } from "../../../../../google/protobuf/timestamp.js";
|
|
2
3
|
import { Duration } from "../../../../../google/protobuf/duration.js";
|
|
3
|
-
import { FieldRef, FieldType, ResourceType } from "./base_types.js";
|
|
4
4
|
import { NotificationFilter } from "./resource_types.js";
|
|
5
5
|
import { Controller, Field, Notification, Resource, ResourceAPIFeature, ResourceSchema, Tx } from "./api_types.js";
|
|
6
6
|
import { Status } from "../../../../googleapis/googleapis/google/rpc/status.js";
|
|
@@ -384,6 +384,18 @@ interface TxAPI_ClientMessage {
|
|
|
384
384
|
* @generated from protobuf field: MiLaboratories.PL.API.TxAPI.SetDefaultColor.Request set_default_color = 400
|
|
385
385
|
*/
|
|
386
386
|
setDefaultColor: TxAPI_SetDefaultColor_Request;
|
|
387
|
+
} | {
|
|
388
|
+
oneofKind: "grantAccess";
|
|
389
|
+
/**
|
|
390
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.GrantAccess.Request grant_access = 410
|
|
391
|
+
*/
|
|
392
|
+
grantAccess: AuthAPI_GrantAccess_Request;
|
|
393
|
+
} | {
|
|
394
|
+
oneofKind: "revokeAccess";
|
|
395
|
+
/**
|
|
396
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.RevokeAccess.Request revoke_access = 411
|
|
397
|
+
*/
|
|
398
|
+
revokeAccess: AuthAPI_RevokeAccess_Request;
|
|
387
399
|
} | {
|
|
388
400
|
oneofKind: undefined;
|
|
389
401
|
};
|
|
@@ -761,6 +773,18 @@ interface TxAPI_ServerMessage {
|
|
|
761
773
|
* @generated from protobuf field: MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response set_default_color = 400
|
|
762
774
|
*/
|
|
763
775
|
setDefaultColor: TxAPI_SetDefaultColor_Response;
|
|
776
|
+
} | {
|
|
777
|
+
oneofKind: "grantAccess";
|
|
778
|
+
/**
|
|
779
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.GrantAccess.Response grant_access = 410
|
|
780
|
+
*/
|
|
781
|
+
grantAccess: AuthAPI_GrantAccess_Response;
|
|
782
|
+
} | {
|
|
783
|
+
oneofKind: "revokeAccess";
|
|
784
|
+
/**
|
|
785
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.RevokeAccess.Response revoke_access = 411
|
|
786
|
+
*/
|
|
787
|
+
revokeAccess: AuthAPI_RevokeAccess_Response;
|
|
764
788
|
} | {
|
|
765
789
|
oneofKind: undefined;
|
|
766
790
|
};
|
|
@@ -889,9 +913,9 @@ interface TxAPI_Sync_Response {}
|
|
|
889
913
|
*/
|
|
890
914
|
interface TxAPI_SetDefaultColor_Request {
|
|
891
915
|
/**
|
|
892
|
-
* @generated from protobuf field:
|
|
916
|
+
* @generated from protobuf field: bytes color_proof = 1
|
|
893
917
|
*/
|
|
894
|
-
colorProof
|
|
918
|
+
colorProof: Uint8Array;
|
|
895
919
|
}
|
|
896
920
|
/**
|
|
897
921
|
* @generated from protobuf message MiLaboratories.PL.API.TxAPI.SetDefaultColor.Response
|
|
@@ -914,9 +938,9 @@ interface ResourceAPI_CreateStruct_Request {
|
|
|
914
938
|
*/
|
|
915
939
|
data?: Uint8Array;
|
|
916
940
|
/**
|
|
917
|
-
* @generated from protobuf field:
|
|
941
|
+
* @generated from protobuf field: bytes color_proof = 5
|
|
918
942
|
*/
|
|
919
|
-
colorProof
|
|
943
|
+
colorProof: Uint8Array;
|
|
920
944
|
}
|
|
921
945
|
/**
|
|
922
946
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response
|
|
@@ -927,9 +951,9 @@ interface ResourceAPI_CreateStruct_Response {
|
|
|
927
951
|
*/
|
|
928
952
|
resourceId: bigint;
|
|
929
953
|
/**
|
|
930
|
-
* @generated from protobuf field:
|
|
954
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
931
955
|
*/
|
|
932
|
-
resourceSignature
|
|
956
|
+
resourceSignature: Uint8Array;
|
|
933
957
|
}
|
|
934
958
|
/**
|
|
935
959
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request
|
|
@@ -948,9 +972,9 @@ interface ResourceAPI_CreateEphemeral_Request {
|
|
|
948
972
|
*/
|
|
949
973
|
data?: Uint8Array;
|
|
950
974
|
/**
|
|
951
|
-
* @generated from protobuf field:
|
|
975
|
+
* @generated from protobuf field: bytes color_proof = 5
|
|
952
976
|
*/
|
|
953
|
-
colorProof
|
|
977
|
+
colorProof: Uint8Array;
|
|
954
978
|
}
|
|
955
979
|
/**
|
|
956
980
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response
|
|
@@ -961,9 +985,9 @@ interface ResourceAPI_CreateEphemeral_Response {
|
|
|
961
985
|
*/
|
|
962
986
|
resourceId: bigint;
|
|
963
987
|
/**
|
|
964
|
-
* @generated from protobuf field:
|
|
988
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
965
989
|
*/
|
|
966
|
-
resourceSignature
|
|
990
|
+
resourceSignature: Uint8Array;
|
|
967
991
|
}
|
|
968
992
|
/**
|
|
969
993
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateChild.Request
|
|
@@ -1012,9 +1036,9 @@ interface ResourceAPI_CreateValue_Request {
|
|
|
1012
1036
|
*/
|
|
1013
1037
|
errorIfExists: boolean;
|
|
1014
1038
|
/**
|
|
1015
|
-
* @generated from protobuf field:
|
|
1039
|
+
* @generated from protobuf field: bytes color_proof = 8
|
|
1016
1040
|
*/
|
|
1017
|
-
colorProof
|
|
1041
|
+
colorProof: Uint8Array;
|
|
1018
1042
|
}
|
|
1019
1043
|
/**
|
|
1020
1044
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateValue.Response
|
|
@@ -1025,9 +1049,9 @@ interface ResourceAPI_CreateValue_Response {
|
|
|
1025
1049
|
*/
|
|
1026
1050
|
resourceId: bigint;
|
|
1027
1051
|
/**
|
|
1028
|
-
* @generated from protobuf field:
|
|
1052
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1029
1053
|
*/
|
|
1030
|
-
resourceSignature
|
|
1054
|
+
resourceSignature: Uint8Array;
|
|
1031
1055
|
}
|
|
1032
1056
|
/**
|
|
1033
1057
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.GetValueID.Request
|
|
@@ -1051,9 +1075,9 @@ interface ResourceAPI_GetValueID_Response {
|
|
|
1051
1075
|
*/
|
|
1052
1076
|
resourceId: bigint;
|
|
1053
1077
|
/**
|
|
1054
|
-
* @generated from protobuf field:
|
|
1078
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1055
1079
|
*/
|
|
1056
|
-
resourceSignature
|
|
1080
|
+
resourceSignature: Uint8Array;
|
|
1057
1081
|
}
|
|
1058
1082
|
/**
|
|
1059
1083
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request
|
|
@@ -1076,9 +1100,9 @@ interface ResourceAPI_CreateSingleton_Request {
|
|
|
1076
1100
|
*/
|
|
1077
1101
|
errorIfExists: boolean;
|
|
1078
1102
|
/**
|
|
1079
|
-
* @generated from protobuf field:
|
|
1103
|
+
* @generated from protobuf field: bytes color_proof = 8
|
|
1080
1104
|
*/
|
|
1081
|
-
colorProof
|
|
1105
|
+
colorProof: Uint8Array;
|
|
1082
1106
|
}
|
|
1083
1107
|
/**
|
|
1084
1108
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response
|
|
@@ -1089,9 +1113,9 @@ interface ResourceAPI_CreateSingleton_Response {
|
|
|
1089
1113
|
*/
|
|
1090
1114
|
resourceId: bigint;
|
|
1091
1115
|
/**
|
|
1092
|
-
* @generated from protobuf field:
|
|
1116
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1093
1117
|
*/
|
|
1094
|
-
resourceSignature
|
|
1118
|
+
resourceSignature: Uint8Array;
|
|
1095
1119
|
}
|
|
1096
1120
|
/**
|
|
1097
1121
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request
|
|
@@ -1128,9 +1152,9 @@ interface ResourceAPI_LockInputs_Request {
|
|
|
1128
1152
|
*/
|
|
1129
1153
|
resourceId: bigint;
|
|
1130
1154
|
/**
|
|
1131
|
-
* @generated from protobuf field:
|
|
1155
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1132
1156
|
*/
|
|
1133
|
-
resourceSignature
|
|
1157
|
+
resourceSignature: Uint8Array;
|
|
1134
1158
|
}
|
|
1135
1159
|
/**
|
|
1136
1160
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.LockInputs.Response
|
|
@@ -1145,9 +1169,9 @@ interface ResourceAPI_LockOutputs_Request {
|
|
|
1145
1169
|
*/
|
|
1146
1170
|
resourceId: bigint;
|
|
1147
1171
|
/**
|
|
1148
|
-
* @generated from protobuf field:
|
|
1172
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1149
1173
|
*/
|
|
1150
|
-
resourceSignature
|
|
1174
|
+
resourceSignature: Uint8Array;
|
|
1151
1175
|
}
|
|
1152
1176
|
/**
|
|
1153
1177
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response
|
|
@@ -1162,9 +1186,9 @@ interface ResourceAPI_Exists_Request {
|
|
|
1162
1186
|
*/
|
|
1163
1187
|
resourceId: bigint;
|
|
1164
1188
|
/**
|
|
1165
|
-
* @generated from protobuf field:
|
|
1189
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1166
1190
|
*/
|
|
1167
|
-
resourceSignature
|
|
1191
|
+
resourceSignature: Uint8Array;
|
|
1168
1192
|
}
|
|
1169
1193
|
/**
|
|
1170
1194
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Exists.Response
|
|
@@ -1184,17 +1208,17 @@ interface ResourceAPI_SetError_Request {
|
|
|
1184
1208
|
*/
|
|
1185
1209
|
resourceId: bigint;
|
|
1186
1210
|
/**
|
|
1187
|
-
* @generated from protobuf field:
|
|
1211
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
1188
1212
|
*/
|
|
1189
|
-
resourceSignature
|
|
1213
|
+
resourceSignature: Uint8Array;
|
|
1190
1214
|
/**
|
|
1191
1215
|
* @generated from protobuf field: uint64 error_resource_id = 2
|
|
1192
1216
|
*/
|
|
1193
1217
|
errorResourceId: bigint;
|
|
1194
1218
|
/**
|
|
1195
|
-
* @generated from protobuf field:
|
|
1219
|
+
* @generated from protobuf field: bytes error_resource_signature = 4
|
|
1196
1220
|
*/
|
|
1197
|
-
errorResourceSignature
|
|
1221
|
+
errorResourceSignature: Uint8Array;
|
|
1198
1222
|
}
|
|
1199
1223
|
/**
|
|
1200
1224
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.SetError.Response
|
|
@@ -1209,9 +1233,9 @@ interface ResourceAPI_Get_Request {
|
|
|
1209
1233
|
*/
|
|
1210
1234
|
resourceId: bigint;
|
|
1211
1235
|
/**
|
|
1212
|
-
* @generated from protobuf field:
|
|
1236
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
1213
1237
|
*/
|
|
1214
|
-
resourceSignature
|
|
1238
|
+
resourceSignature: Uint8Array;
|
|
1215
1239
|
/**
|
|
1216
1240
|
* @generated from protobuf field: bool load_fields = 2
|
|
1217
1241
|
*/
|
|
@@ -1295,9 +1319,9 @@ interface ResourceAPI_CreateRoot_Response {
|
|
|
1295
1319
|
*/
|
|
1296
1320
|
resourceId: bigint;
|
|
1297
1321
|
/**
|
|
1298
|
-
* @generated from protobuf field:
|
|
1322
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1299
1323
|
*/
|
|
1300
|
-
resourceSignature
|
|
1324
|
+
resourceSignature: Uint8Array;
|
|
1301
1325
|
}
|
|
1302
1326
|
/**
|
|
1303
1327
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Remove.Request
|
|
@@ -1308,9 +1332,9 @@ interface ResourceAPI_Remove_Request {
|
|
|
1308
1332
|
*/
|
|
1309
1333
|
resourceId: bigint;
|
|
1310
1334
|
/**
|
|
1311
|
-
* @generated from protobuf field:
|
|
1335
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1312
1336
|
*/
|
|
1313
|
-
resourceSignature
|
|
1337
|
+
resourceSignature: Uint8Array;
|
|
1314
1338
|
}
|
|
1315
1339
|
/**
|
|
1316
1340
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Remove.Response
|
|
@@ -1325,9 +1349,9 @@ interface ResourceAPI_Name_Set_Request {
|
|
|
1325
1349
|
*/
|
|
1326
1350
|
resourceId: bigint;
|
|
1327
1351
|
/**
|
|
1328
|
-
* @generated from protobuf field:
|
|
1352
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
1329
1353
|
*/
|
|
1330
|
-
resourceSignature
|
|
1354
|
+
resourceSignature: Uint8Array;
|
|
1331
1355
|
/**
|
|
1332
1356
|
* @generated from protobuf field: string name = 2
|
|
1333
1357
|
*/
|
|
@@ -1355,9 +1379,9 @@ interface ResourceAPI_Name_Get_Response {
|
|
|
1355
1379
|
*/
|
|
1356
1380
|
resourceId: bigint;
|
|
1357
1381
|
/**
|
|
1358
|
-
* @generated from protobuf field:
|
|
1382
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1359
1383
|
*/
|
|
1360
|
-
resourceSignature
|
|
1384
|
+
resourceSignature: Uint8Array;
|
|
1361
1385
|
}
|
|
1362
1386
|
/**
|
|
1363
1387
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request
|
|
@@ -1399,9 +1423,9 @@ interface ResourceAPI_Tree_Request {
|
|
|
1399
1423
|
*/
|
|
1400
1424
|
resourceId: bigint;
|
|
1401
1425
|
/**
|
|
1402
|
-
* @generated from protobuf field:
|
|
1426
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
1403
1427
|
*/
|
|
1404
|
-
resourceSignature
|
|
1428
|
+
resourceSignature: Uint8Array;
|
|
1405
1429
|
/**
|
|
1406
1430
|
* Limit the maximum depth the tree is traversed.
|
|
1407
1431
|
* The resource <resource_id> is considered at depth = 0, the values of its fields
|
|
@@ -1434,9 +1458,9 @@ interface ResourceAPI_TreeSize_Request {
|
|
|
1434
1458
|
*/
|
|
1435
1459
|
resourceId: bigint;
|
|
1436
1460
|
/**
|
|
1437
|
-
* @generated from protobuf field:
|
|
1461
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
1438
1462
|
*/
|
|
1439
|
-
resourceSignature
|
|
1463
|
+
resourceSignature: Uint8Array;
|
|
1440
1464
|
}
|
|
1441
1465
|
/**
|
|
1442
1466
|
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Response
|
|
@@ -1526,9 +1550,9 @@ interface FieldAPI_SetError_Request {
|
|
|
1526
1550
|
*/
|
|
1527
1551
|
errorResourceId: bigint;
|
|
1528
1552
|
/**
|
|
1529
|
-
* @generated from protobuf field:
|
|
1553
|
+
* @generated from protobuf field: bytes error_resource_signature = 3
|
|
1530
1554
|
*/
|
|
1531
|
-
errorResourceSignature
|
|
1555
|
+
errorResourceSignature: Uint8Array;
|
|
1532
1556
|
}
|
|
1533
1557
|
/**
|
|
1534
1558
|
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI.SetError.Response
|
|
@@ -1587,9 +1611,9 @@ interface FieldAPI_List_Request {
|
|
|
1587
1611
|
*/
|
|
1588
1612
|
resourceId: bigint;
|
|
1589
1613
|
/**
|
|
1590
|
-
* @generated from protobuf field:
|
|
1614
|
+
* @generated from protobuf field: bytes resource_signature = 4
|
|
1591
1615
|
*/
|
|
1592
|
-
resourceSignature
|
|
1616
|
+
resourceSignature: Uint8Array;
|
|
1593
1617
|
/**
|
|
1594
1618
|
* Start the listing from given position, returning first field with
|
|
1595
1619
|
* name >= start_from.
|
|
@@ -2024,9 +2048,9 @@ interface ResourceKVAPI_List_Request {
|
|
|
2024
2048
|
*/
|
|
2025
2049
|
resourceId: bigint;
|
|
2026
2050
|
/**
|
|
2027
|
-
* @generated from protobuf field:
|
|
2051
|
+
* @generated from protobuf field: bytes resource_signature = 4
|
|
2028
2052
|
*/
|
|
2029
|
-
resourceSignature
|
|
2053
|
+
resourceSignature: Uint8Array;
|
|
2030
2054
|
/**
|
|
2031
2055
|
* Start the listing from given position, returning first item with
|
|
2032
2056
|
* key >= start_from.
|
|
@@ -2087,9 +2111,9 @@ interface ResourceKVAPI_Set_Request {
|
|
|
2087
2111
|
*/
|
|
2088
2112
|
resourceId: bigint;
|
|
2089
2113
|
/**
|
|
2090
|
-
* @generated from protobuf field:
|
|
2114
|
+
* @generated from protobuf field: bytes resource_signature = 4
|
|
2091
2115
|
*/
|
|
2092
|
-
resourceSignature
|
|
2116
|
+
resourceSignature: Uint8Array;
|
|
2093
2117
|
/**
|
|
2094
2118
|
* @generated from protobuf field: string key = 2
|
|
2095
2119
|
*/
|
|
@@ -2112,9 +2136,9 @@ interface ResourceKVAPI_Get_Request {
|
|
|
2112
2136
|
*/
|
|
2113
2137
|
resourceId: bigint;
|
|
2114
2138
|
/**
|
|
2115
|
-
* @generated from protobuf field:
|
|
2139
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
2116
2140
|
*/
|
|
2117
|
-
resourceSignature
|
|
2141
|
+
resourceSignature: Uint8Array;
|
|
2118
2142
|
/**
|
|
2119
2143
|
* @generated from protobuf field: string key = 2
|
|
2120
2144
|
*/
|
|
@@ -2138,9 +2162,9 @@ interface ResourceKVAPI_GetIfExists_Request {
|
|
|
2138
2162
|
*/
|
|
2139
2163
|
resourceId: bigint;
|
|
2140
2164
|
/**
|
|
2141
|
-
* @generated from protobuf field:
|
|
2165
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
2142
2166
|
*/
|
|
2143
|
-
resourceSignature
|
|
2167
|
+
resourceSignature: Uint8Array;
|
|
2144
2168
|
/**
|
|
2145
2169
|
* @generated from protobuf field: string key = 2
|
|
2146
2170
|
*/
|
|
@@ -2168,9 +2192,9 @@ interface ResourceKVAPI_Delete_Request {
|
|
|
2168
2192
|
*/
|
|
2169
2193
|
resourceId: bigint;
|
|
2170
2194
|
/**
|
|
2171
|
-
* @generated from protobuf field:
|
|
2195
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
2172
2196
|
*/
|
|
2173
|
-
resourceSignature
|
|
2197
|
+
resourceSignature: Uint8Array;
|
|
2174
2198
|
/**
|
|
2175
2199
|
* @generated from protobuf field: string key = 2
|
|
2176
2200
|
*/
|
|
@@ -2189,9 +2213,9 @@ interface ResourceKVAPI_SetFlag_Request {
|
|
|
2189
2213
|
*/
|
|
2190
2214
|
resourceId: bigint;
|
|
2191
2215
|
/**
|
|
2192
|
-
* @generated from protobuf field:
|
|
2216
|
+
* @generated from protobuf field: bytes resource_signature = 4
|
|
2193
2217
|
*/
|
|
2194
|
-
resourceSignature
|
|
2218
|
+
resourceSignature: Uint8Array;
|
|
2195
2219
|
/**
|
|
2196
2220
|
* @generated from protobuf field: string key = 2
|
|
2197
2221
|
*/
|
|
@@ -2214,9 +2238,9 @@ interface ResourceKVAPI_GetFlag_Request {
|
|
|
2214
2238
|
*/
|
|
2215
2239
|
resourceId: bigint;
|
|
2216
2240
|
/**
|
|
2217
|
-
* @generated from protobuf field:
|
|
2241
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
2218
2242
|
*/
|
|
2219
|
-
resourceSignature
|
|
2243
|
+
resourceSignature: Uint8Array;
|
|
2220
2244
|
/**
|
|
2221
2245
|
* @generated from protobuf field: string key = 2
|
|
2222
2246
|
*/
|
|
@@ -2461,9 +2485,9 @@ interface LocksAPI_Lease_Create_Request {
|
|
|
2461
2485
|
*/
|
|
2462
2486
|
resourceId: bigint;
|
|
2463
2487
|
/**
|
|
2464
|
-
* @generated from protobuf field:
|
|
2488
|
+
* @generated from protobuf field: bytes resource_signature = 5
|
|
2465
2489
|
*/
|
|
2466
|
-
resourceSignature
|
|
2490
|
+
resourceSignature: Uint8Array;
|
|
2467
2491
|
/**
|
|
2468
2492
|
* @generated from protobuf field: google.protobuf.Duration timeout = 3
|
|
2469
2493
|
*/
|
|
@@ -2491,9 +2515,9 @@ interface LocksAPI_Lease_Update_Request {
|
|
|
2491
2515
|
*/
|
|
2492
2516
|
resourceId: bigint;
|
|
2493
2517
|
/**
|
|
2494
|
-
* @generated from protobuf field:
|
|
2518
|
+
* @generated from protobuf field: bytes resource_signature = 5
|
|
2495
2519
|
*/
|
|
2496
|
-
resourceSignature
|
|
2520
|
+
resourceSignature: Uint8Array;
|
|
2497
2521
|
/**
|
|
2498
2522
|
* @generated from protobuf field: bytes lease_id = 2
|
|
2499
2523
|
*/
|
|
@@ -2520,9 +2544,9 @@ interface LocksAPI_Lease_Release_Request {
|
|
|
2520
2544
|
*/
|
|
2521
2545
|
resourceId: bigint;
|
|
2522
2546
|
/**
|
|
2523
|
-
* @generated from protobuf field:
|
|
2547
|
+
* @generated from protobuf field: bytes resource_signature = 3
|
|
2524
2548
|
*/
|
|
2525
|
-
resourceSignature
|
|
2549
|
+
resourceSignature: Uint8Array;
|
|
2526
2550
|
/**
|
|
2527
2551
|
* @generated from protobuf field: bytes lease_id = 2
|
|
2528
2552
|
*/
|
|
@@ -2573,9 +2597,9 @@ interface AuthAPI_GetJWTToken_Request {
|
|
|
2573
2597
|
*/
|
|
2574
2598
|
expiration?: Duration;
|
|
2575
2599
|
/**
|
|
2576
|
-
* @generated from protobuf field: optional MiLaboratories.PL.API.AuthAPI.
|
|
2600
|
+
* @generated from protobuf field: optional MiLaboratories.PL.API.AuthAPI.Role requested_role = 2
|
|
2577
2601
|
*/
|
|
2578
|
-
requestedRole?:
|
|
2602
|
+
requestedRole?: AuthAPI_Role;
|
|
2579
2603
|
}
|
|
2580
2604
|
/**
|
|
2581
2605
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
@@ -2586,32 +2610,32 @@ interface AuthAPI_GetJWTToken_Response {
|
|
|
2586
2610
|
*/
|
|
2587
2611
|
token: string;
|
|
2588
2612
|
/**
|
|
2613
|
+
* Session info fields
|
|
2614
|
+
*
|
|
2589
2615
|
* @generated from protobuf field: bytes session_id = 2
|
|
2590
2616
|
*/
|
|
2591
2617
|
sessionId: Uint8Array;
|
|
2618
|
+
/**
|
|
2619
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Role role = 3
|
|
2620
|
+
*/
|
|
2621
|
+
role: AuthAPI_Role;
|
|
2592
2622
|
}
|
|
2593
2623
|
/**
|
|
2594
|
-
* @generated from protobuf
|
|
2624
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetSessionInfo.Request
|
|
2595
2625
|
*/
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
*/
|
|
2602
|
-
ROLE_UNSPECIFIED = 0,
|
|
2603
|
-
/**
|
|
2604
|
-
* @generated from protobuf enum value: USER = 1;
|
|
2605
|
-
*/
|
|
2606
|
-
USER = 1,
|
|
2626
|
+
interface AuthAPI_GetSessionInfo_Request {}
|
|
2627
|
+
/**
|
|
2628
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetSessionInfo.Response
|
|
2629
|
+
*/
|
|
2630
|
+
interface AuthAPI_GetSessionInfo_Response {
|
|
2607
2631
|
/**
|
|
2608
|
-
* @generated from protobuf
|
|
2632
|
+
* @generated from protobuf field: bytes session_id = 1
|
|
2609
2633
|
*/
|
|
2610
|
-
|
|
2634
|
+
sessionId: Uint8Array;
|
|
2611
2635
|
/**
|
|
2612
|
-
* @generated from protobuf
|
|
2636
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Role role = 2
|
|
2613
2637
|
*/
|
|
2614
|
-
|
|
2638
|
+
role: AuthAPI_Role;
|
|
2615
2639
|
}
|
|
2616
2640
|
/**
|
|
2617
2641
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Request
|
|
@@ -2622,9 +2646,9 @@ interface AuthAPI_GrantAccess_Request {
|
|
|
2622
2646
|
*/
|
|
2623
2647
|
resourceId: bigint;
|
|
2624
2648
|
/**
|
|
2625
|
-
* @generated from protobuf field:
|
|
2649
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2626
2650
|
*/
|
|
2627
|
-
resourceSignature
|
|
2651
|
+
resourceSignature: Uint8Array;
|
|
2628
2652
|
/**
|
|
2629
2653
|
* @generated from protobuf field: string target_user = 3
|
|
2630
2654
|
*/
|
|
@@ -2633,32 +2657,55 @@ interface AuthAPI_GrantAccess_Request {
|
|
|
2633
2657
|
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant.Permissions permissions = 4
|
|
2634
2658
|
*/
|
|
2635
2659
|
permissions?: AuthAPI_Grant_Permissions;
|
|
2660
|
+
/**
|
|
2661
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.GrantAccess.GrantType grant_type = 5
|
|
2662
|
+
*/
|
|
2663
|
+
grantType: AuthAPI_GrantAccess_GrantType;
|
|
2636
2664
|
}
|
|
2637
2665
|
/**
|
|
2638
2666
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
2639
2667
|
*/
|
|
2640
2668
|
interface AuthAPI_GrantAccess_Response {}
|
|
2641
2669
|
/**
|
|
2642
|
-
*
|
|
2670
|
+
* GrantType distinguishes regular grants from system-level grants.
|
|
2671
|
+
*
|
|
2672
|
+
* @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.GrantAccess.GrantType
|
|
2673
|
+
*/
|
|
2674
|
+
declare enum AuthAPI_GrantAccess_GrantType {
|
|
2675
|
+
/**
|
|
2676
|
+
* regular user-to-user grant (default)
|
|
2677
|
+
*
|
|
2678
|
+
* @generated from protobuf enum value: GENERAL = 0;
|
|
2679
|
+
*/
|
|
2680
|
+
GENERAL = 0,
|
|
2681
|
+
/**
|
|
2682
|
+
* make resource publically-accessible, showing it in ListUserResources for all users. Requires controller role.
|
|
2683
|
+
*
|
|
2684
|
+
* @generated from protobuf enum value: MAKE_RESOURCE_PUBLIC = 1;
|
|
2685
|
+
*/
|
|
2686
|
+
MAKE_RESOURCE_PUBLIC = 1
|
|
2687
|
+
}
|
|
2688
|
+
/**
|
|
2689
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.RevokeAccess.Request
|
|
2643
2690
|
*/
|
|
2644
|
-
interface
|
|
2691
|
+
interface AuthAPI_RevokeAccess_Request {
|
|
2645
2692
|
/**
|
|
2646
2693
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2647
2694
|
*/
|
|
2648
2695
|
resourceId: bigint;
|
|
2649
2696
|
/**
|
|
2650
|
-
* @generated from protobuf field:
|
|
2697
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2651
2698
|
*/
|
|
2652
|
-
resourceSignature
|
|
2699
|
+
resourceSignature: Uint8Array;
|
|
2653
2700
|
/**
|
|
2654
2701
|
* @generated from protobuf field: string target_user = 3
|
|
2655
2702
|
*/
|
|
2656
2703
|
targetUser: string;
|
|
2657
2704
|
}
|
|
2658
2705
|
/**
|
|
2659
|
-
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
2706
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.RevokeAccess.Response
|
|
2660
2707
|
*/
|
|
2661
|
-
interface
|
|
2708
|
+
interface AuthAPI_RevokeAccess_Response {}
|
|
2662
2709
|
/**
|
|
2663
2710
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Request
|
|
2664
2711
|
*/
|
|
@@ -2668,9 +2715,9 @@ interface AuthAPI_ListGrants_Request {
|
|
|
2668
2715
|
*/
|
|
2669
2716
|
resourceId: bigint;
|
|
2670
2717
|
/**
|
|
2671
|
-
* @generated from protobuf field:
|
|
2718
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2672
2719
|
*/
|
|
2673
|
-
resourceSignature
|
|
2720
|
+
resourceSignature: Uint8Array;
|
|
2674
2721
|
}
|
|
2675
2722
|
/**
|
|
2676
2723
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListGrants.Response
|
|
@@ -2717,6 +2764,71 @@ interface AuthAPI_Grant_Permissions {
|
|
|
2717
2764
|
*/
|
|
2718
2765
|
writable: boolean;
|
|
2719
2766
|
}
|
|
2767
|
+
/**
|
|
2768
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.MintSignature.Request
|
|
2769
|
+
*/
|
|
2770
|
+
interface AuthAPI_MintSignature_Request {
|
|
2771
|
+
/**
|
|
2772
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2773
|
+
*/
|
|
2774
|
+
resourceId: bigint;
|
|
2775
|
+
/**
|
|
2776
|
+
* @generated from protobuf field: bytes target_sid = 2
|
|
2777
|
+
*/
|
|
2778
|
+
targetSid: Uint8Array;
|
|
2779
|
+
/**
|
|
2780
|
+
* @generated from protobuf field: MiLaboratories.PL.Base.Color color = 3
|
|
2781
|
+
*/
|
|
2782
|
+
color?: Color;
|
|
2783
|
+
}
|
|
2784
|
+
/**
|
|
2785
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.MintSignature.Response
|
|
2786
|
+
*/
|
|
2787
|
+
interface AuthAPI_MintSignature_Response {
|
|
2788
|
+
/**
|
|
2789
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2790
|
+
*/
|
|
2791
|
+
resourceId: bigint;
|
|
2792
|
+
/**
|
|
2793
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2794
|
+
*/
|
|
2795
|
+
resourceSignature: Uint8Array;
|
|
2796
|
+
}
|
|
2797
|
+
/**
|
|
2798
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.UserRoot
|
|
2799
|
+
*/
|
|
2800
|
+
interface AuthAPI_UserRoot {
|
|
2801
|
+
/**
|
|
2802
|
+
* @generated from protobuf field: uint64 resource_id = 1
|
|
2803
|
+
*/
|
|
2804
|
+
resourceId: bigint;
|
|
2805
|
+
/**
|
|
2806
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2807
|
+
*/
|
|
2808
|
+
resourceSignature: Uint8Array;
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetUserRoot.Request
|
|
2812
|
+
*/
|
|
2813
|
+
interface AuthAPI_GetUserRoot_Request {
|
|
2814
|
+
/**
|
|
2815
|
+
* @generated from protobuf field: string login = 1
|
|
2816
|
+
*/
|
|
2817
|
+
login: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* @generated from protobuf field: bool do_not_create = 2
|
|
2820
|
+
*/
|
|
2821
|
+
doNotCreate: boolean;
|
|
2822
|
+
}
|
|
2823
|
+
/**
|
|
2824
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.GetUserRoot.Response
|
|
2825
|
+
*/
|
|
2826
|
+
interface AuthAPI_GetUserRoot_Response {
|
|
2827
|
+
/**
|
|
2828
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.UserRoot user_root = 1
|
|
2829
|
+
*/
|
|
2830
|
+
userRoot?: AuthAPI_UserRoot;
|
|
2831
|
+
}
|
|
2720
2832
|
/**
|
|
2721
2833
|
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Request
|
|
2722
2834
|
*/
|
|
@@ -2757,9 +2869,9 @@ interface AuthAPI_ListUserResources_Response {
|
|
|
2757
2869
|
entry: {
|
|
2758
2870
|
oneofKind: "userRoot";
|
|
2759
2871
|
/**
|
|
2760
|
-
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.
|
|
2872
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.UserRoot user_root = 1
|
|
2761
2873
|
*/
|
|
2762
|
-
userRoot:
|
|
2874
|
+
userRoot: AuthAPI_UserRoot;
|
|
2763
2875
|
} | {
|
|
2764
2876
|
oneofKind: "sharedResource";
|
|
2765
2877
|
/**
|
|
@@ -2778,38 +2890,56 @@ interface AuthAPI_ListUserResources_Response {
|
|
|
2778
2890
|
nextResourceId: bigint;
|
|
2779
2891
|
}
|
|
2780
2892
|
/**
|
|
2781
|
-
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.
|
|
2893
|
+
* @generated from protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.SharedResource
|
|
2782
2894
|
*/
|
|
2783
|
-
interface
|
|
2895
|
+
interface AuthAPI_ListUserResources_SharedResource {
|
|
2784
2896
|
/**
|
|
2785
2897
|
* @generated from protobuf field: uint64 resource_id = 1
|
|
2786
2898
|
*/
|
|
2787
2899
|
resourceId: bigint;
|
|
2788
2900
|
/**
|
|
2789
|
-
* @generated from protobuf field:
|
|
2901
|
+
* @generated from protobuf field: bytes resource_signature = 2
|
|
2790
2902
|
*/
|
|
2791
|
-
resourceSignature
|
|
2903
|
+
resourceSignature: Uint8Array;
|
|
2904
|
+
/**
|
|
2905
|
+
* @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 3
|
|
2906
|
+
*/
|
|
2907
|
+
resourceType?: ResourceType;
|
|
2908
|
+
/**
|
|
2909
|
+
* @generated from protobuf field: MiLaboratories.PL.API.AuthAPI.Grant.Permissions permissions = 4
|
|
2910
|
+
*/
|
|
2911
|
+
permissions?: AuthAPI_Grant_Permissions;
|
|
2792
2912
|
}
|
|
2793
2913
|
/**
|
|
2794
|
-
* @generated from protobuf
|
|
2914
|
+
* @generated from protobuf enum MiLaboratories.PL.API.AuthAPI.Role
|
|
2795
2915
|
*/
|
|
2796
|
-
|
|
2916
|
+
declare enum AuthAPI_Role {
|
|
2797
2917
|
/**
|
|
2798
|
-
*
|
|
2918
|
+
* issue JWT with caller's natural role. Never appears in server responses.
|
|
2919
|
+
*
|
|
2920
|
+
* @generated from protobuf enum value: ROLE_UNSPECIFIED = 0;
|
|
2799
2921
|
*/
|
|
2800
|
-
|
|
2922
|
+
UNSPECIFIED = 0,
|
|
2801
2923
|
/**
|
|
2802
|
-
*
|
|
2924
|
+
* Controller roles
|
|
2925
|
+
*
|
|
2926
|
+
* @generated from protobuf enum value: ROLE_CONTROLLER = 2;
|
|
2803
2927
|
*/
|
|
2804
|
-
|
|
2928
|
+
CONTROLLER = 2,
|
|
2805
2929
|
/**
|
|
2806
|
-
* @generated from protobuf
|
|
2930
|
+
* @generated from protobuf enum value: ROLE_WORKFLOW = 3;
|
|
2807
2931
|
*/
|
|
2808
|
-
|
|
2932
|
+
WORKFLOW = 3,
|
|
2809
2933
|
/**
|
|
2810
|
-
*
|
|
2934
|
+
* User roles
|
|
2935
|
+
*
|
|
2936
|
+
* @generated from protobuf enum value: ROLE_USER = 1;
|
|
2811
2937
|
*/
|
|
2812
|
-
|
|
2938
|
+
USER = 1,
|
|
2939
|
+
/**
|
|
2940
|
+
* @generated from protobuf enum value: ROLE_ADMIN = 4;
|
|
2941
|
+
*/
|
|
2942
|
+
ADMIN = 4
|
|
2813
2943
|
}
|
|
2814
2944
|
/**
|
|
2815
2945
|
* @generated from protobuf message MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Request
|
|
@@ -4472,6 +4602,26 @@ declare class AuthAPI_GetJWTToken_Response$Type extends MessageType<AuthAPI_GetJ
|
|
|
4472
4602
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response
|
|
4473
4603
|
*/
|
|
4474
4604
|
declare const AuthAPI_GetJWTToken_Response: AuthAPI_GetJWTToken_Response$Type;
|
|
4605
|
+
declare class AuthAPI_GetSessionInfo_Request$Type extends MessageType<AuthAPI_GetSessionInfo_Request> {
|
|
4606
|
+
constructor();
|
|
4607
|
+
create(value?: PartialMessage<AuthAPI_GetSessionInfo_Request>): AuthAPI_GetSessionInfo_Request;
|
|
4608
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GetSessionInfo_Request): AuthAPI_GetSessionInfo_Request;
|
|
4609
|
+
internalBinaryWrite(message: AuthAPI_GetSessionInfo_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4610
|
+
}
|
|
4611
|
+
/**
|
|
4612
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetSessionInfo.Request
|
|
4613
|
+
*/
|
|
4614
|
+
declare const AuthAPI_GetSessionInfo_Request: AuthAPI_GetSessionInfo_Request$Type;
|
|
4615
|
+
declare class AuthAPI_GetSessionInfo_Response$Type extends MessageType<AuthAPI_GetSessionInfo_Response> {
|
|
4616
|
+
constructor();
|
|
4617
|
+
create(value?: PartialMessage<AuthAPI_GetSessionInfo_Response>): AuthAPI_GetSessionInfo_Response;
|
|
4618
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GetSessionInfo_Response): AuthAPI_GetSessionInfo_Response;
|
|
4619
|
+
internalBinaryWrite(message: AuthAPI_GetSessionInfo_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4620
|
+
}
|
|
4621
|
+
/**
|
|
4622
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetSessionInfo.Response
|
|
4623
|
+
*/
|
|
4624
|
+
declare const AuthAPI_GetSessionInfo_Response: AuthAPI_GetSessionInfo_Response$Type;
|
|
4475
4625
|
declare class AuthAPI_GrantAccess_Request$Type extends MessageType<AuthAPI_GrantAccess_Request> {
|
|
4476
4626
|
constructor();
|
|
4477
4627
|
create(value?: PartialMessage<AuthAPI_GrantAccess_Request>): AuthAPI_GrantAccess_Request;
|
|
@@ -4492,26 +4642,26 @@ declare class AuthAPI_GrantAccess_Response$Type extends MessageType<AuthAPI_Gran
|
|
|
4492
4642
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GrantAccess.Response
|
|
4493
4643
|
*/
|
|
4494
4644
|
declare const AuthAPI_GrantAccess_Response: AuthAPI_GrantAccess_Response$Type;
|
|
4495
|
-
declare class
|
|
4645
|
+
declare class AuthAPI_RevokeAccess_Request$Type extends MessageType<AuthAPI_RevokeAccess_Request> {
|
|
4496
4646
|
constructor();
|
|
4497
|
-
create(value?: PartialMessage<
|
|
4498
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
4499
|
-
internalBinaryWrite(message:
|
|
4647
|
+
create(value?: PartialMessage<AuthAPI_RevokeAccess_Request>): AuthAPI_RevokeAccess_Request;
|
|
4648
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_RevokeAccess_Request): AuthAPI_RevokeAccess_Request;
|
|
4649
|
+
internalBinaryWrite(message: AuthAPI_RevokeAccess_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4500
4650
|
}
|
|
4501
4651
|
/**
|
|
4502
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
4652
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeAccess.Request
|
|
4503
4653
|
*/
|
|
4504
|
-
declare const
|
|
4505
|
-
declare class
|
|
4654
|
+
declare const AuthAPI_RevokeAccess_Request: AuthAPI_RevokeAccess_Request$Type;
|
|
4655
|
+
declare class AuthAPI_RevokeAccess_Response$Type extends MessageType<AuthAPI_RevokeAccess_Response> {
|
|
4506
4656
|
constructor();
|
|
4507
|
-
create(value?: PartialMessage<
|
|
4508
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
4509
|
-
internalBinaryWrite(message:
|
|
4657
|
+
create(value?: PartialMessage<AuthAPI_RevokeAccess_Response>): AuthAPI_RevokeAccess_Response;
|
|
4658
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_RevokeAccess_Response): AuthAPI_RevokeAccess_Response;
|
|
4659
|
+
internalBinaryWrite(message: AuthAPI_RevokeAccess_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4510
4660
|
}
|
|
4511
4661
|
/**
|
|
4512
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.
|
|
4662
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.RevokeAccess.Response
|
|
4513
4663
|
*/
|
|
4514
|
-
declare const
|
|
4664
|
+
declare const AuthAPI_RevokeAccess_Response: AuthAPI_RevokeAccess_Response$Type;
|
|
4515
4665
|
declare class AuthAPI_ListGrants_Request$Type extends MessageType<AuthAPI_ListGrants_Request> {
|
|
4516
4666
|
constructor();
|
|
4517
4667
|
create(value?: PartialMessage<AuthAPI_ListGrants_Request>): AuthAPI_ListGrants_Request;
|
|
@@ -4552,6 +4702,56 @@ declare class AuthAPI_Grant_Permissions$Type extends MessageType<AuthAPI_Grant_P
|
|
|
4552
4702
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.Grant.Permissions
|
|
4553
4703
|
*/
|
|
4554
4704
|
declare const AuthAPI_Grant_Permissions: AuthAPI_Grant_Permissions$Type;
|
|
4705
|
+
declare class AuthAPI_MintSignature_Request$Type extends MessageType<AuthAPI_MintSignature_Request> {
|
|
4706
|
+
constructor();
|
|
4707
|
+
create(value?: PartialMessage<AuthAPI_MintSignature_Request>): AuthAPI_MintSignature_Request;
|
|
4708
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_MintSignature_Request): AuthAPI_MintSignature_Request;
|
|
4709
|
+
internalBinaryWrite(message: AuthAPI_MintSignature_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4710
|
+
}
|
|
4711
|
+
/**
|
|
4712
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.MintSignature.Request
|
|
4713
|
+
*/
|
|
4714
|
+
declare const AuthAPI_MintSignature_Request: AuthAPI_MintSignature_Request$Type;
|
|
4715
|
+
declare class AuthAPI_MintSignature_Response$Type extends MessageType<AuthAPI_MintSignature_Response> {
|
|
4716
|
+
constructor();
|
|
4717
|
+
create(value?: PartialMessage<AuthAPI_MintSignature_Response>): AuthAPI_MintSignature_Response;
|
|
4718
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_MintSignature_Response): AuthAPI_MintSignature_Response;
|
|
4719
|
+
internalBinaryWrite(message: AuthAPI_MintSignature_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4720
|
+
}
|
|
4721
|
+
/**
|
|
4722
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.MintSignature.Response
|
|
4723
|
+
*/
|
|
4724
|
+
declare const AuthAPI_MintSignature_Response: AuthAPI_MintSignature_Response$Type;
|
|
4725
|
+
declare class AuthAPI_UserRoot$Type extends MessageType<AuthAPI_UserRoot> {
|
|
4726
|
+
constructor();
|
|
4727
|
+
create(value?: PartialMessage<AuthAPI_UserRoot>): AuthAPI_UserRoot;
|
|
4728
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_UserRoot): AuthAPI_UserRoot;
|
|
4729
|
+
internalBinaryWrite(message: AuthAPI_UserRoot, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4730
|
+
}
|
|
4731
|
+
/**
|
|
4732
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.UserRoot
|
|
4733
|
+
*/
|
|
4734
|
+
declare const AuthAPI_UserRoot: AuthAPI_UserRoot$Type;
|
|
4735
|
+
declare class AuthAPI_GetUserRoot_Request$Type extends MessageType<AuthAPI_GetUserRoot_Request> {
|
|
4736
|
+
constructor();
|
|
4737
|
+
create(value?: PartialMessage<AuthAPI_GetUserRoot_Request>): AuthAPI_GetUserRoot_Request;
|
|
4738
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GetUserRoot_Request): AuthAPI_GetUserRoot_Request;
|
|
4739
|
+
internalBinaryWrite(message: AuthAPI_GetUserRoot_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4740
|
+
}
|
|
4741
|
+
/**
|
|
4742
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetUserRoot.Request
|
|
4743
|
+
*/
|
|
4744
|
+
declare const AuthAPI_GetUserRoot_Request: AuthAPI_GetUserRoot_Request$Type;
|
|
4745
|
+
declare class AuthAPI_GetUserRoot_Response$Type extends MessageType<AuthAPI_GetUserRoot_Response> {
|
|
4746
|
+
constructor();
|
|
4747
|
+
create(value?: PartialMessage<AuthAPI_GetUserRoot_Response>): AuthAPI_GetUserRoot_Response;
|
|
4748
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GetUserRoot_Response): AuthAPI_GetUserRoot_Response;
|
|
4749
|
+
internalBinaryWrite(message: AuthAPI_GetUserRoot_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4750
|
+
}
|
|
4751
|
+
/**
|
|
4752
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.GetUserRoot.Response
|
|
4753
|
+
*/
|
|
4754
|
+
declare const AuthAPI_GetUserRoot_Response: AuthAPI_GetUserRoot_Response$Type;
|
|
4555
4755
|
declare class AuthAPI_ListUserResources_Request$Type extends MessageType<AuthAPI_ListUserResources_Request> {
|
|
4556
4756
|
constructor();
|
|
4557
4757
|
create(value?: PartialMessage<AuthAPI_ListUserResources_Request>): AuthAPI_ListUserResources_Request;
|
|
@@ -4572,16 +4772,6 @@ declare class AuthAPI_ListUserResources_Response$Type extends MessageType<AuthAP
|
|
|
4572
4772
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.AuthAPI.ListUserResources.Response
|
|
4573
4773
|
*/
|
|
4574
4774
|
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
4775
|
declare class AuthAPI_ListUserResources_SharedResource$Type extends MessageType<AuthAPI_ListUserResources_SharedResource> {
|
|
4586
4776
|
constructor();
|
|
4587
4777
|
create(value?: PartialMessage<AuthAPI_ListUserResources_SharedResource>): AuthAPI_ListUserResources_SharedResource;
|
|
@@ -4663,5 +4853,5 @@ declare class Util_Deprecated$Type extends MessageType<Util_Deprecated> {
|
|
|
4663
4853
|
*/
|
|
4664
4854
|
declare const Util_Deprecated: Util_Deprecated$Type;
|
|
4665
4855
|
//#endregion
|
|
4666
|
-
export { AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response,
|
|
4856
|
+
export { AuthAPI_GetJWTToken_Request, AuthAPI_GetJWTToken_Response, AuthAPI_GetSessionInfo_Request, AuthAPI_GetSessionInfo_Response, AuthAPI_GetUserRoot_Request, AuthAPI_GetUserRoot_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_MintSignature_Request, AuthAPI_MintSignature_Response, AuthAPI_RevokeAccess_Request, AuthAPI_RevokeAccess_Response, AuthAPI_Role, 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 };
|
|
4667
4857
|
//# sourceMappingURL=api.d.ts.map
|