@kernelminds/scailo-sdk 0.1.6 → 0.1.7
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/lib/cjs/src/vault.scailo_connect.js +110 -0
- package/lib/cjs/src/vault_commons.scailo_pb.js +774 -1
- package/lib/cjs/types/src/vault.scailo_connect.d.ts +112 -2
- package/lib/cjs/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +573 -0
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/vault.scailo_connect.js +110 -0
- package/lib/esm/src/vault_commons.scailo_pb.js +792 -1
- package/lib/esm/types/src/vault.scailo_connect.d.ts +112 -2
- package/lib/esm/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +573 -0
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.VaultAccessLogsList = exports.VaultAccessLogCreateRequest = exports.VaultAccessLog = exports.VaultDuplicateCheckReq = exports.VaultSearchResponsesList = exports.VaultSearchResponse = exports.VaultSearchReq = exports.GiXAppRunFilterReq = exports.GiXAppRunCountReq = exports.GiXAppRunsList = exports.GiXAppRun = exports.GiXManifest = exports.GixResources = exports.VaultPermissionModifyRequest = exports.VaultPermissionAddRequest = exports.VaultPermission = exports.VAULT_ACCESS_LOG_OPERATION = exports.VAULT_SORT_KEY = exports.VAULT_PERMISSION_CODE = exports.VAULT_REF_FOR = void 0;
|
|
7
|
+
exports.VaultAccessLogsList = exports.VaultAccessLogCreateRequest = exports.VaultAccessLog = exports.VaultDuplicateCheckReq = exports.VaultSearchResponsesList = exports.VaultSearchResponse = exports.VaultSearchReq = exports.EnclaveEnvironmentVariablesList = exports.EnclaveEnvironmentVariable = exports.EnclaveEnvironmentVariableUpdateRequest = exports.EnclaveEnvironmentVariableAddRequest = exports.VerifyEnclaveIngressResponse = exports.VerifyEnclaveIngressRequest = exports.EnclaveIngressFilterReq = exports.EnclaveIngressCountReq = exports.EnclaveIngressesList = exports.EnclaveIngress = exports.EnclaveManifest = exports.EnclaveResources = exports.GiXAppRunFilterReq = exports.GiXAppRunCountReq = exports.GiXAppRunsList = exports.GiXAppRun = exports.GiXManifest = exports.GixResources = exports.VaultPermissionModifyRequest = exports.VaultPermissionAddRequest = exports.VaultPermission = exports.VAULT_ACCESS_LOG_OPERATION = exports.VAULT_SORT_KEY = exports.VAULT_PERMISSION_CODE = exports.VAULT_REF_FOR = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
10
|
/**
|
|
@@ -892,6 +892,797 @@ class GiXAppRunFilterReq extends protobuf_1.Message {
|
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
894
|
exports.GiXAppRunFilterReq = GiXAppRunFilterReq;
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* Describes the resources section of an Enclave
|
|
898
|
+
*
|
|
899
|
+
* @generated from message Scailo.EnclaveResources
|
|
900
|
+
*/
|
|
901
|
+
class EnclaveResources extends protobuf_1.Message {
|
|
902
|
+
/**
|
|
903
|
+
* Stores the list of logos that are available
|
|
904
|
+
*
|
|
905
|
+
* @generated from field: repeated string logos = 1;
|
|
906
|
+
*/
|
|
907
|
+
logos = [];
|
|
908
|
+
/**
|
|
909
|
+
* Stores the list of folders that need to be accessible by the Enclave
|
|
910
|
+
*
|
|
911
|
+
* @generated from field: repeated string folders = 2;
|
|
912
|
+
*/
|
|
913
|
+
folders = [];
|
|
914
|
+
/**
|
|
915
|
+
* Stores the list of files that need to be accessible by the Enclave
|
|
916
|
+
*
|
|
917
|
+
* @generated from field: repeated string files = 3;
|
|
918
|
+
*/
|
|
919
|
+
files = [];
|
|
920
|
+
constructor(data) {
|
|
921
|
+
super();
|
|
922
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
923
|
+
}
|
|
924
|
+
static runtime = protobuf_1.proto3;
|
|
925
|
+
static typeName = "Scailo.EnclaveResources";
|
|
926
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
927
|
+
{ no: 1, name: "logos", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
928
|
+
{ no: 2, name: "folders", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
929
|
+
{ no: 3, name: "files", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
930
|
+
]);
|
|
931
|
+
static fromBinary(bytes, options) {
|
|
932
|
+
return new EnclaveResources().fromBinary(bytes, options);
|
|
933
|
+
}
|
|
934
|
+
static fromJson(jsonValue, options) {
|
|
935
|
+
return new EnclaveResources().fromJson(jsonValue, options);
|
|
936
|
+
}
|
|
937
|
+
static fromJsonString(jsonString, options) {
|
|
938
|
+
return new EnclaveResources().fromJsonString(jsonString, options);
|
|
939
|
+
}
|
|
940
|
+
static equals(a, b) {
|
|
941
|
+
return protobuf_1.proto3.util.equals(EnclaveResources, a, b);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
exports.EnclaveResources = EnclaveResources;
|
|
945
|
+
/**
|
|
946
|
+
*
|
|
947
|
+
* Describes the manifest file of an Enclave. Stores the attributes that can be a part of the MANIFEST.yaml file, that is present in the root folder of an Enclave
|
|
948
|
+
*
|
|
949
|
+
* @generated from message Scailo.EnclaveManifest
|
|
950
|
+
*/
|
|
951
|
+
class EnclaveManifest extends protobuf_1.Message {
|
|
952
|
+
/**
|
|
953
|
+
* Stores the manifest version
|
|
954
|
+
*
|
|
955
|
+
* @generated from field: string manifest_version = 1 [json_name = "manifest_version"];
|
|
956
|
+
*/
|
|
957
|
+
manifestVersion = "";
|
|
958
|
+
/**
|
|
959
|
+
* Stores the enclave type (valid options are node, golang, python)
|
|
960
|
+
*
|
|
961
|
+
* @generated from field: string enclave_type = 2 [json_name = "enclave_type"];
|
|
962
|
+
*/
|
|
963
|
+
enclaveType = "";
|
|
964
|
+
/**
|
|
965
|
+
* Stores the application version
|
|
966
|
+
*
|
|
967
|
+
* @generated from field: string app_version = 3 [json_name = "app_version"];
|
|
968
|
+
*/
|
|
969
|
+
appVersion = "";
|
|
970
|
+
/**
|
|
971
|
+
* Stores the name of the application
|
|
972
|
+
*
|
|
973
|
+
* @generated from field: string app_name = 4 [json_name = "app_name"];
|
|
974
|
+
*/
|
|
975
|
+
appName = "";
|
|
976
|
+
/**
|
|
977
|
+
* Stores the name of the enclave
|
|
978
|
+
*
|
|
979
|
+
* @generated from field: string enclave_name = 5 [json_name = "enclave_name"];
|
|
980
|
+
*/
|
|
981
|
+
enclaveName = "";
|
|
982
|
+
/**
|
|
983
|
+
* Stores the unique identifier for the application
|
|
984
|
+
*
|
|
985
|
+
* @generated from field: string app_unique_identifier = 6 [json_name = "app_unique_identifier"];
|
|
986
|
+
*/
|
|
987
|
+
appUniqueIdentifier = "";
|
|
988
|
+
/**
|
|
989
|
+
* Stores the command that starts the enclave
|
|
990
|
+
*
|
|
991
|
+
* @generated from field: string start_exec = 7 [json_name = "start_exec"];
|
|
992
|
+
*/
|
|
993
|
+
startExec = "";
|
|
994
|
+
/**
|
|
995
|
+
* Stores the resources of the Enclave
|
|
996
|
+
*
|
|
997
|
+
* @generated from field: Scailo.EnclaveResources resources = 10;
|
|
998
|
+
*/
|
|
999
|
+
resources;
|
|
1000
|
+
constructor(data) {
|
|
1001
|
+
super();
|
|
1002
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1003
|
+
}
|
|
1004
|
+
static runtime = protobuf_1.proto3;
|
|
1005
|
+
static typeName = "Scailo.EnclaveManifest";
|
|
1006
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1007
|
+
{ no: 1, name: "manifest_version", jsonName: "manifest_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1008
|
+
{ no: 2, name: "enclave_type", jsonName: "enclave_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1009
|
+
{ no: 3, name: "app_version", jsonName: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1010
|
+
{ no: 4, name: "app_name", jsonName: "app_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1011
|
+
{ no: 5, name: "enclave_name", jsonName: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1012
|
+
{ no: 6, name: "app_unique_identifier", jsonName: "app_unique_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1013
|
+
{ no: 7, name: "start_exec", jsonName: "start_exec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1014
|
+
{ no: 10, name: "resources", kind: "message", T: EnclaveResources },
|
|
1015
|
+
]);
|
|
1016
|
+
static fromBinary(bytes, options) {
|
|
1017
|
+
return new EnclaveManifest().fromBinary(bytes, options);
|
|
1018
|
+
}
|
|
1019
|
+
static fromJson(jsonValue, options) {
|
|
1020
|
+
return new EnclaveManifest().fromJson(jsonValue, options);
|
|
1021
|
+
}
|
|
1022
|
+
static fromJsonString(jsonString, options) {
|
|
1023
|
+
return new EnclaveManifest().fromJsonString(jsonString, options);
|
|
1024
|
+
}
|
|
1025
|
+
static equals(a, b) {
|
|
1026
|
+
return protobuf_1.proto3.util.equals(EnclaveManifest, a, b);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
exports.EnclaveManifest = EnclaveManifest;
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* Describes the parameters that are a part of each enclave ingress
|
|
1033
|
+
*
|
|
1034
|
+
* @generated from message Scailo.EnclaveIngress
|
|
1035
|
+
*/
|
|
1036
|
+
class EnclaveIngress extends protobuf_1.Message {
|
|
1037
|
+
/**
|
|
1038
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
1039
|
+
*
|
|
1040
|
+
* @generated from field: string entity_uuid = 1;
|
|
1041
|
+
*/
|
|
1042
|
+
entityUuid = "";
|
|
1043
|
+
/**
|
|
1044
|
+
* Stores the metadata of this user
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
1047
|
+
*/
|
|
1048
|
+
metadata;
|
|
1049
|
+
/**
|
|
1050
|
+
* Stores the unique token that can be used to identify the user who executed this enclave
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: string token = 10;
|
|
1053
|
+
*/
|
|
1054
|
+
token = "";
|
|
1055
|
+
/**
|
|
1056
|
+
* Stores the expiry timestamp of the ingress token
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: uint64 expires_at = 11;
|
|
1059
|
+
*/
|
|
1060
|
+
expiresAt = protobuf_1.protoInt64.zero;
|
|
1061
|
+
/**
|
|
1062
|
+
* Stores the ID of the file that is being executed
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: uint64 vault_file_id = 20;
|
|
1065
|
+
*/
|
|
1066
|
+
vaultFileId = protobuf_1.protoInt64.zero;
|
|
1067
|
+
/**
|
|
1068
|
+
* Stores the ID of the version of the file that is being executed
|
|
1069
|
+
*
|
|
1070
|
+
* @generated from field: uint64 vault_file_version_id = 21;
|
|
1071
|
+
*/
|
|
1072
|
+
vaultFileVersionId = protobuf_1.protoInt64.zero;
|
|
1073
|
+
/**
|
|
1074
|
+
* Stores the unique identifier of the application
|
|
1075
|
+
*
|
|
1076
|
+
* @generated from field: string enclave_name = 22;
|
|
1077
|
+
*/
|
|
1078
|
+
enclaveName = "";
|
|
1079
|
+
/**
|
|
1080
|
+
* Stores the IP address from where the app was executed
|
|
1081
|
+
*
|
|
1082
|
+
* @generated from field: string ip_addr = 24;
|
|
1083
|
+
*/
|
|
1084
|
+
ipAddr = "";
|
|
1085
|
+
/**
|
|
1086
|
+
* Stores the ID of the user who executed this enclave
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from field: uint64 runner_user_id = 30;
|
|
1089
|
+
*/
|
|
1090
|
+
runnerUserId = protobuf_1.protoInt64.zero;
|
|
1091
|
+
/**
|
|
1092
|
+
* Stores the ID of the user when this enclave was executed
|
|
1093
|
+
*
|
|
1094
|
+
* @generated from field: uint64 runner_role_id = 31;
|
|
1095
|
+
*/
|
|
1096
|
+
runnerRoleId = protobuf_1.protoInt64.zero;
|
|
1097
|
+
/**
|
|
1098
|
+
* Stores the endpoint of the application execution
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from field: string app_endpoint = 60;
|
|
1101
|
+
*/
|
|
1102
|
+
appEndpoint = "";
|
|
1103
|
+
constructor(data) {
|
|
1104
|
+
super();
|
|
1105
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1106
|
+
}
|
|
1107
|
+
static runtime = protobuf_1.proto3;
|
|
1108
|
+
static typeName = "Scailo.EnclaveIngress";
|
|
1109
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1110
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1111
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
1112
|
+
{ no: 10, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1113
|
+
{ no: 11, name: "expires_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1114
|
+
{ no: 20, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1115
|
+
{ no: 21, name: "vault_file_version_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1116
|
+
{ no: 22, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1117
|
+
{ no: 24, name: "ip_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1118
|
+
{ no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1119
|
+
{ no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1120
|
+
{ no: 60, name: "app_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1121
|
+
]);
|
|
1122
|
+
static fromBinary(bytes, options) {
|
|
1123
|
+
return new EnclaveIngress().fromBinary(bytes, options);
|
|
1124
|
+
}
|
|
1125
|
+
static fromJson(jsonValue, options) {
|
|
1126
|
+
return new EnclaveIngress().fromJson(jsonValue, options);
|
|
1127
|
+
}
|
|
1128
|
+
static fromJsonString(jsonString, options) {
|
|
1129
|
+
return new EnclaveIngress().fromJsonString(jsonString, options);
|
|
1130
|
+
}
|
|
1131
|
+
static equals(a, b) {
|
|
1132
|
+
return protobuf_1.proto3.util.equals(EnclaveIngress, a, b);
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
exports.EnclaveIngress = EnclaveIngress;
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* Describes the message consisting of the list of enclave ingresses
|
|
1139
|
+
*
|
|
1140
|
+
* @generated from message Scailo.EnclaveIngressesList
|
|
1141
|
+
*/
|
|
1142
|
+
class EnclaveIngressesList extends protobuf_1.Message {
|
|
1143
|
+
/**
|
|
1144
|
+
* List of runs
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from field: repeated Scailo.EnclaveIngress list = 1;
|
|
1147
|
+
*/
|
|
1148
|
+
list = [];
|
|
1149
|
+
constructor(data) {
|
|
1150
|
+
super();
|
|
1151
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1152
|
+
}
|
|
1153
|
+
static runtime = protobuf_1.proto3;
|
|
1154
|
+
static typeName = "Scailo.EnclaveIngressesList";
|
|
1155
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1156
|
+
{ no: 1, name: "list", kind: "message", T: EnclaveIngress, repeated: true },
|
|
1157
|
+
]);
|
|
1158
|
+
static fromBinary(bytes, options) {
|
|
1159
|
+
return new EnclaveIngressesList().fromBinary(bytes, options);
|
|
1160
|
+
}
|
|
1161
|
+
static fromJson(jsonValue, options) {
|
|
1162
|
+
return new EnclaveIngressesList().fromJson(jsonValue, options);
|
|
1163
|
+
}
|
|
1164
|
+
static fromJsonString(jsonString, options) {
|
|
1165
|
+
return new EnclaveIngressesList().fromJsonString(jsonString, options);
|
|
1166
|
+
}
|
|
1167
|
+
static equals(a, b) {
|
|
1168
|
+
return protobuf_1.proto3.util.equals(EnclaveIngressesList, a, b);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
exports.EnclaveIngressesList = EnclaveIngressesList;
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* Describes the request payload of a count filter for enclave runs
|
|
1175
|
+
*
|
|
1176
|
+
* @generated from message Scailo.EnclaveIngressCountReq
|
|
1177
|
+
*/
|
|
1178
|
+
class EnclaveIngressCountReq extends protobuf_1.Message {
|
|
1179
|
+
/**
|
|
1180
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1181
|
+
*
|
|
1182
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1183
|
+
*/
|
|
1184
|
+
isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1185
|
+
/**
|
|
1186
|
+
* The minimum timestamp that needs to be considered to filter by creation
|
|
1187
|
+
*
|
|
1188
|
+
* @generated from field: uint64 creation_timestamp_start = 101;
|
|
1189
|
+
*/
|
|
1190
|
+
creationTimestampStart = protobuf_1.protoInt64.zero;
|
|
1191
|
+
/**
|
|
1192
|
+
* The maximum timestamp that needs to be considered to filter by creation
|
|
1193
|
+
*
|
|
1194
|
+
* @generated from field: uint64 creation_timestamp_end = 102;
|
|
1195
|
+
*/
|
|
1196
|
+
creationTimestampEnd = protobuf_1.protoInt64.zero;
|
|
1197
|
+
/**
|
|
1198
|
+
* The minimum timestamp that needs to be considered to filter by modification
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: uint64 modification_timestamp_start = 103;
|
|
1201
|
+
*/
|
|
1202
|
+
modificationTimestampStart = protobuf_1.protoInt64.zero;
|
|
1203
|
+
/**
|
|
1204
|
+
* The maximum timestamp that needs to be considered to filter by modification
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from field: uint64 modification_timestamp_end = 104;
|
|
1207
|
+
*/
|
|
1208
|
+
modificationTimestampEnd = protobuf_1.protoInt64.zero;
|
|
1209
|
+
/**
|
|
1210
|
+
* The UUID of the file
|
|
1211
|
+
*
|
|
1212
|
+
* @generated from field: string vault_file_uuid = 20;
|
|
1213
|
+
*/
|
|
1214
|
+
vaultFileUuid = "";
|
|
1215
|
+
/**
|
|
1216
|
+
* The UUID of the version
|
|
1217
|
+
*
|
|
1218
|
+
* --------------------------------------------------------
|
|
1219
|
+
*
|
|
1220
|
+
* @generated from field: string vault_file_version_uuid = 21;
|
|
1221
|
+
*/
|
|
1222
|
+
vaultFileVersionUuid = "";
|
|
1223
|
+
/**
|
|
1224
|
+
* Stores the ID of the user who executed this enclave
|
|
1225
|
+
*
|
|
1226
|
+
* @generated from field: uint64 runner_user_id = 30;
|
|
1227
|
+
*/
|
|
1228
|
+
runnerUserId = protobuf_1.protoInt64.zero;
|
|
1229
|
+
/**
|
|
1230
|
+
* Stores the ID of the user when this enclave was executed
|
|
1231
|
+
*
|
|
1232
|
+
* @generated from field: uint64 runner_role_id = 31;
|
|
1233
|
+
*/
|
|
1234
|
+
runnerRoleId = protobuf_1.protoInt64.zero;
|
|
1235
|
+
constructor(data) {
|
|
1236
|
+
super();
|
|
1237
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1238
|
+
}
|
|
1239
|
+
static runtime = protobuf_1.proto3;
|
|
1240
|
+
static typeName = "Scailo.EnclaveIngressCountReq";
|
|
1241
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1242
|
+
{ no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1243
|
+
{ no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1244
|
+
{ no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1245
|
+
{ no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1246
|
+
{ no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1247
|
+
{ no: 20, name: "vault_file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1248
|
+
{ no: 21, name: "vault_file_version_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1249
|
+
{ no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1250
|
+
{ no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1251
|
+
]);
|
|
1252
|
+
static fromBinary(bytes, options) {
|
|
1253
|
+
return new EnclaveIngressCountReq().fromBinary(bytes, options);
|
|
1254
|
+
}
|
|
1255
|
+
static fromJson(jsonValue, options) {
|
|
1256
|
+
return new EnclaveIngressCountReq().fromJson(jsonValue, options);
|
|
1257
|
+
}
|
|
1258
|
+
static fromJsonString(jsonString, options) {
|
|
1259
|
+
return new EnclaveIngressCountReq().fromJsonString(jsonString, options);
|
|
1260
|
+
}
|
|
1261
|
+
static equals(a, b) {
|
|
1262
|
+
return protobuf_1.proto3.util.equals(EnclaveIngressCountReq, a, b);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
exports.EnclaveIngressCountReq = EnclaveIngressCountReq;
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* Describes the base request payload of a filter search for enclave runs
|
|
1269
|
+
*
|
|
1270
|
+
* @generated from message Scailo.EnclaveIngressFilterReq
|
|
1271
|
+
*/
|
|
1272
|
+
class EnclaveIngressFilterReq extends protobuf_1.Message {
|
|
1273
|
+
/**
|
|
1274
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1275
|
+
*
|
|
1276
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1277
|
+
*/
|
|
1278
|
+
isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
|
|
1279
|
+
/**
|
|
1280
|
+
* The number of records that need to be sent in the response. Returns all records if it is set to -1
|
|
1281
|
+
*
|
|
1282
|
+
* @generated from field: int64 count = 2;
|
|
1283
|
+
*/
|
|
1284
|
+
count = protobuf_1.protoInt64.zero;
|
|
1285
|
+
/**
|
|
1286
|
+
* The number that need to be offset by before fetching the records
|
|
1287
|
+
*
|
|
1288
|
+
* // The sort order that is to be used to fetch the pagination response
|
|
1289
|
+
* SORT_ORDER sort_order = 4;
|
|
1290
|
+
* // The sort key that is to be used to fetch the pagination response
|
|
1291
|
+
* VAULT_SORT_KEY sort_key = 5;
|
|
1292
|
+
*
|
|
1293
|
+
* @generated from field: uint64 offset = 3;
|
|
1294
|
+
*/
|
|
1295
|
+
offset = protobuf_1.protoInt64.zero;
|
|
1296
|
+
/**
|
|
1297
|
+
* The minimum timestamp that needs to be considered to filter by creation
|
|
1298
|
+
*
|
|
1299
|
+
* @generated from field: uint64 creation_timestamp_start = 101;
|
|
1300
|
+
*/
|
|
1301
|
+
creationTimestampStart = protobuf_1.protoInt64.zero;
|
|
1302
|
+
/**
|
|
1303
|
+
* The maximum timestamp that needs to be considered to filter by creation
|
|
1304
|
+
*
|
|
1305
|
+
* @generated from field: uint64 creation_timestamp_end = 102;
|
|
1306
|
+
*/
|
|
1307
|
+
creationTimestampEnd = protobuf_1.protoInt64.zero;
|
|
1308
|
+
/**
|
|
1309
|
+
* The minimum timestamp that needs to be considered to filter by modification
|
|
1310
|
+
*
|
|
1311
|
+
* @generated from field: uint64 modification_timestamp_start = 103;
|
|
1312
|
+
*/
|
|
1313
|
+
modificationTimestampStart = protobuf_1.protoInt64.zero;
|
|
1314
|
+
/**
|
|
1315
|
+
* The maximum timestamp that needs to be considered to filter by modification
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from field: uint64 modification_timestamp_end = 104;
|
|
1318
|
+
*/
|
|
1319
|
+
modificationTimestampEnd = protobuf_1.protoInt64.zero;
|
|
1320
|
+
/**
|
|
1321
|
+
* The UUID of the file
|
|
1322
|
+
*
|
|
1323
|
+
* @generated from field: string vault_file_uuid = 20;
|
|
1324
|
+
*/
|
|
1325
|
+
vaultFileUuid = "";
|
|
1326
|
+
/**
|
|
1327
|
+
* The UUID of the version
|
|
1328
|
+
*
|
|
1329
|
+
* --------------------------------------------------------
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: string vault_file_version_uuid = 21;
|
|
1332
|
+
*/
|
|
1333
|
+
vaultFileVersionUuid = "";
|
|
1334
|
+
/**
|
|
1335
|
+
* Stores the ID of the user who executed this enclave
|
|
1336
|
+
*
|
|
1337
|
+
* @generated from field: uint64 runner_user_id = 30;
|
|
1338
|
+
*/
|
|
1339
|
+
runnerUserId = protobuf_1.protoInt64.zero;
|
|
1340
|
+
/**
|
|
1341
|
+
* Stores the ID of the user when this enclave was executed
|
|
1342
|
+
*
|
|
1343
|
+
* @generated from field: uint64 runner_role_id = 31;
|
|
1344
|
+
*/
|
|
1345
|
+
runnerRoleId = protobuf_1.protoInt64.zero;
|
|
1346
|
+
constructor(data) {
|
|
1347
|
+
super();
|
|
1348
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1349
|
+
}
|
|
1350
|
+
static runtime = protobuf_1.proto3;
|
|
1351
|
+
static typeName = "Scailo.EnclaveIngressFilterReq";
|
|
1352
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1353
|
+
{ no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1354
|
+
{ no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1355
|
+
{ no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1356
|
+
{ no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1357
|
+
{ no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1358
|
+
{ no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1359
|
+
{ no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1360
|
+
{ no: 20, name: "vault_file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1361
|
+
{ no: 21, name: "vault_file_version_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1362
|
+
{ no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1363
|
+
{ no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1364
|
+
]);
|
|
1365
|
+
static fromBinary(bytes, options) {
|
|
1366
|
+
return new EnclaveIngressFilterReq().fromBinary(bytes, options);
|
|
1367
|
+
}
|
|
1368
|
+
static fromJson(jsonValue, options) {
|
|
1369
|
+
return new EnclaveIngressFilterReq().fromJson(jsonValue, options);
|
|
1370
|
+
}
|
|
1371
|
+
static fromJsonString(jsonString, options) {
|
|
1372
|
+
return new EnclaveIngressFilterReq().fromJsonString(jsonString, options);
|
|
1373
|
+
}
|
|
1374
|
+
static equals(a, b) {
|
|
1375
|
+
return protobuf_1.proto3.util.equals(EnclaveIngressFilterReq, a, b);
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
exports.EnclaveIngressFilterReq = EnclaveIngressFilterReq;
|
|
1379
|
+
/**
|
|
1380
|
+
*
|
|
1381
|
+
* The request payload to verify an enclave ingress
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from message Scailo.VerifyEnclaveIngressRequest
|
|
1384
|
+
*/
|
|
1385
|
+
class VerifyEnclaveIngressRequest extends protobuf_1.Message {
|
|
1386
|
+
/**
|
|
1387
|
+
* The token that needs to be verified
|
|
1388
|
+
*
|
|
1389
|
+
* @generated from field: string token = 1;
|
|
1390
|
+
*/
|
|
1391
|
+
token = "";
|
|
1392
|
+
constructor(data) {
|
|
1393
|
+
super();
|
|
1394
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1395
|
+
}
|
|
1396
|
+
static runtime = protobuf_1.proto3;
|
|
1397
|
+
static typeName = "Scailo.VerifyEnclaveIngressRequest";
|
|
1398
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1399
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1400
|
+
]);
|
|
1401
|
+
static fromBinary(bytes, options) {
|
|
1402
|
+
return new VerifyEnclaveIngressRequest().fromBinary(bytes, options);
|
|
1403
|
+
}
|
|
1404
|
+
static fromJson(jsonValue, options) {
|
|
1405
|
+
return new VerifyEnclaveIngressRequest().fromJson(jsonValue, options);
|
|
1406
|
+
}
|
|
1407
|
+
static fromJsonString(jsonString, options) {
|
|
1408
|
+
return new VerifyEnclaveIngressRequest().fromJsonString(jsonString, options);
|
|
1409
|
+
}
|
|
1410
|
+
static equals(a, b) {
|
|
1411
|
+
return protobuf_1.proto3.util.equals(VerifyEnclaveIngressRequest, a, b);
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
exports.VerifyEnclaveIngressRequest = VerifyEnclaveIngressRequest;
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* The response payload to verify an enclave ingress
|
|
1418
|
+
*
|
|
1419
|
+
* @generated from message Scailo.VerifyEnclaveIngressResponse
|
|
1420
|
+
*/
|
|
1421
|
+
class VerifyEnclaveIngressResponse extends protobuf_1.Message {
|
|
1422
|
+
/**
|
|
1423
|
+
* The name of the enclave
|
|
1424
|
+
*
|
|
1425
|
+
* @generated from field: string enclave_name = 1;
|
|
1426
|
+
*/
|
|
1427
|
+
enclaveName = "";
|
|
1428
|
+
/**
|
|
1429
|
+
* The UUID of the user who is running the enclave
|
|
1430
|
+
*
|
|
1431
|
+
* @generated from field: string user_uuid = 2;
|
|
1432
|
+
*/
|
|
1433
|
+
userUuid = "";
|
|
1434
|
+
/**
|
|
1435
|
+
* The UUID of the user's role
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: string role_uuid = 3;
|
|
1438
|
+
*/
|
|
1439
|
+
roleUuid = "";
|
|
1440
|
+
/**
|
|
1441
|
+
* The auth token of the user that can be used for subsequent requests
|
|
1442
|
+
*
|
|
1443
|
+
* @generated from field: string auth_token = 4;
|
|
1444
|
+
*/
|
|
1445
|
+
authToken = "";
|
|
1446
|
+
/**
|
|
1447
|
+
* The timestamp after which the auth token expires
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from field: uint64 expires_at = 5;
|
|
1450
|
+
*/
|
|
1451
|
+
expiresAt = protobuf_1.protoInt64.zero;
|
|
1452
|
+
constructor(data) {
|
|
1453
|
+
super();
|
|
1454
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1455
|
+
}
|
|
1456
|
+
static runtime = protobuf_1.proto3;
|
|
1457
|
+
static typeName = "Scailo.VerifyEnclaveIngressResponse";
|
|
1458
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1459
|
+
{ no: 1, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1460
|
+
{ no: 2, name: "user_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1461
|
+
{ no: 3, name: "role_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1462
|
+
{ no: 4, name: "auth_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1463
|
+
{ no: 5, name: "expires_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1464
|
+
]);
|
|
1465
|
+
static fromBinary(bytes, options) {
|
|
1466
|
+
return new VerifyEnclaveIngressResponse().fromBinary(bytes, options);
|
|
1467
|
+
}
|
|
1468
|
+
static fromJson(jsonValue, options) {
|
|
1469
|
+
return new VerifyEnclaveIngressResponse().fromJson(jsonValue, options);
|
|
1470
|
+
}
|
|
1471
|
+
static fromJsonString(jsonString, options) {
|
|
1472
|
+
return new VerifyEnclaveIngressResponse().fromJsonString(jsonString, options);
|
|
1473
|
+
}
|
|
1474
|
+
static equals(a, b) {
|
|
1475
|
+
return protobuf_1.proto3.util.equals(VerifyEnclaveIngressResponse, a, b);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
exports.VerifyEnclaveIngressResponse = VerifyEnclaveIngressResponse;
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* Stores the payload that is necessary to create a custom environment variable for an enclave
|
|
1482
|
+
*
|
|
1483
|
+
* @generated from message Scailo.EnclaveEnvironmentVariableAddRequest
|
|
1484
|
+
*/
|
|
1485
|
+
class EnclaveEnvironmentVariableAddRequest extends protobuf_1.Message {
|
|
1486
|
+
/**
|
|
1487
|
+
* The UUID of the enclave file that will be updated with the given environment variable
|
|
1488
|
+
*
|
|
1489
|
+
* @generated from field: string file_uuid = 1;
|
|
1490
|
+
*/
|
|
1491
|
+
fileUuid = "";
|
|
1492
|
+
/**
|
|
1493
|
+
* The name of the environment variable
|
|
1494
|
+
*
|
|
1495
|
+
* @generated from field: string name = 11;
|
|
1496
|
+
*/
|
|
1497
|
+
name = "";
|
|
1498
|
+
/**
|
|
1499
|
+
* The value of the environment variable
|
|
1500
|
+
*
|
|
1501
|
+
* @generated from field: string value = 12;
|
|
1502
|
+
*/
|
|
1503
|
+
value = "";
|
|
1504
|
+
/**
|
|
1505
|
+
* Denotes if the value should be stored as a secret (will not be visible to the user post creation)
|
|
1506
|
+
*
|
|
1507
|
+
* @generated from field: bool is_secret = 13;
|
|
1508
|
+
*/
|
|
1509
|
+
isSecret = false;
|
|
1510
|
+
constructor(data) {
|
|
1511
|
+
super();
|
|
1512
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1513
|
+
}
|
|
1514
|
+
static runtime = protobuf_1.proto3;
|
|
1515
|
+
static typeName = "Scailo.EnclaveEnvironmentVariableAddRequest";
|
|
1516
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1517
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1518
|
+
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1519
|
+
{ no: 12, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1520
|
+
{ no: 13, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1521
|
+
]);
|
|
1522
|
+
static fromBinary(bytes, options) {
|
|
1523
|
+
return new EnclaveEnvironmentVariableAddRequest().fromBinary(bytes, options);
|
|
1524
|
+
}
|
|
1525
|
+
static fromJson(jsonValue, options) {
|
|
1526
|
+
return new EnclaveEnvironmentVariableAddRequest().fromJson(jsonValue, options);
|
|
1527
|
+
}
|
|
1528
|
+
static fromJsonString(jsonString, options) {
|
|
1529
|
+
return new EnclaveEnvironmentVariableAddRequest().fromJsonString(jsonString, options);
|
|
1530
|
+
}
|
|
1531
|
+
static equals(a, b) {
|
|
1532
|
+
return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariableAddRequest, a, b);
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
exports.EnclaveEnvironmentVariableAddRequest = EnclaveEnvironmentVariableAddRequest;
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* Stores the payload that is necessary to update a custom environment variable for an enclave
|
|
1539
|
+
*
|
|
1540
|
+
* @generated from message Scailo.EnclaveEnvironmentVariableUpdateRequest
|
|
1541
|
+
*/
|
|
1542
|
+
class EnclaveEnvironmentVariableUpdateRequest extends protobuf_1.Message {
|
|
1543
|
+
/**
|
|
1544
|
+
* The UUID of the environment variables that needs to be updated
|
|
1545
|
+
*
|
|
1546
|
+
* @generated from field: string uuid = 1;
|
|
1547
|
+
*/
|
|
1548
|
+
uuid = "";
|
|
1549
|
+
/**
|
|
1550
|
+
* The value of the environment variable that needs to be updated
|
|
1551
|
+
*
|
|
1552
|
+
* @generated from field: string value = 11;
|
|
1553
|
+
*/
|
|
1554
|
+
value = "";
|
|
1555
|
+
constructor(data) {
|
|
1556
|
+
super();
|
|
1557
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1558
|
+
}
|
|
1559
|
+
static runtime = protobuf_1.proto3;
|
|
1560
|
+
static typeName = "Scailo.EnclaveEnvironmentVariableUpdateRequest";
|
|
1561
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1562
|
+
{ no: 1, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1563
|
+
{ no: 11, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1564
|
+
]);
|
|
1565
|
+
static fromBinary(bytes, options) {
|
|
1566
|
+
return new EnclaveEnvironmentVariableUpdateRequest().fromBinary(bytes, options);
|
|
1567
|
+
}
|
|
1568
|
+
static fromJson(jsonValue, options) {
|
|
1569
|
+
return new EnclaveEnvironmentVariableUpdateRequest().fromJson(jsonValue, options);
|
|
1570
|
+
}
|
|
1571
|
+
static fromJsonString(jsonString, options) {
|
|
1572
|
+
return new EnclaveEnvironmentVariableUpdateRequest().fromJsonString(jsonString, options);
|
|
1573
|
+
}
|
|
1574
|
+
static equals(a, b) {
|
|
1575
|
+
return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariableUpdateRequest, a, b);
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
exports.EnclaveEnvironmentVariableUpdateRequest = EnclaveEnvironmentVariableUpdateRequest;
|
|
1579
|
+
/**
|
|
1580
|
+
*
|
|
1581
|
+
* Denotes an individual environment variable that is part of an enclave
|
|
1582
|
+
*
|
|
1583
|
+
* @generated from message Scailo.EnclaveEnvironmentVariable
|
|
1584
|
+
*/
|
|
1585
|
+
class EnclaveEnvironmentVariable extends protobuf_1.Message {
|
|
1586
|
+
/**
|
|
1587
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
1588
|
+
*
|
|
1589
|
+
* @generated from field: string entity_uuid = 1;
|
|
1590
|
+
*/
|
|
1591
|
+
entityUuid = "";
|
|
1592
|
+
/**
|
|
1593
|
+
* Stores the metadata of this user
|
|
1594
|
+
*
|
|
1595
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
1596
|
+
*/
|
|
1597
|
+
metadata;
|
|
1598
|
+
/**
|
|
1599
|
+
* Stores the ID of the file that the environment variable belongs to
|
|
1600
|
+
*
|
|
1601
|
+
* @generated from field: uint64 vault_file_id = 10;
|
|
1602
|
+
*/
|
|
1603
|
+
vaultFileId = protobuf_1.protoInt64.zero;
|
|
1604
|
+
/**
|
|
1605
|
+
* The name of the environment variable
|
|
1606
|
+
*
|
|
1607
|
+
* @generated from field: string name = 11;
|
|
1608
|
+
*/
|
|
1609
|
+
name = "";
|
|
1610
|
+
/**
|
|
1611
|
+
* The value of the environment variable
|
|
1612
|
+
*
|
|
1613
|
+
* @generated from field: string value = 12;
|
|
1614
|
+
*/
|
|
1615
|
+
value = "";
|
|
1616
|
+
/**
|
|
1617
|
+
* Denotes if the value should be stored as a secret (will not be visible to the user post creation)
|
|
1618
|
+
*
|
|
1619
|
+
* @generated from field: bool is_secret = 13;
|
|
1620
|
+
*/
|
|
1621
|
+
isSecret = false;
|
|
1622
|
+
constructor(data) {
|
|
1623
|
+
super();
|
|
1624
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1625
|
+
}
|
|
1626
|
+
static runtime = protobuf_1.proto3;
|
|
1627
|
+
static typeName = "Scailo.EnclaveEnvironmentVariable";
|
|
1628
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1629
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1630
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
1631
|
+
{ no: 10, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1632
|
+
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1633
|
+
{ no: 12, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1634
|
+
{ no: 13, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1635
|
+
]);
|
|
1636
|
+
static fromBinary(bytes, options) {
|
|
1637
|
+
return new EnclaveEnvironmentVariable().fromBinary(bytes, options);
|
|
1638
|
+
}
|
|
1639
|
+
static fromJson(jsonValue, options) {
|
|
1640
|
+
return new EnclaveEnvironmentVariable().fromJson(jsonValue, options);
|
|
1641
|
+
}
|
|
1642
|
+
static fromJsonString(jsonString, options) {
|
|
1643
|
+
return new EnclaveEnvironmentVariable().fromJsonString(jsonString, options);
|
|
1644
|
+
}
|
|
1645
|
+
static equals(a, b) {
|
|
1646
|
+
return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariable, a, b);
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
exports.EnclaveEnvironmentVariable = EnclaveEnvironmentVariable;
|
|
1650
|
+
/**
|
|
1651
|
+
*
|
|
1652
|
+
* Denotes the list of environment variables that are part of an enclave
|
|
1653
|
+
*
|
|
1654
|
+
* @generated from message Scailo.EnclaveEnvironmentVariablesList
|
|
1655
|
+
*/
|
|
1656
|
+
class EnclaveEnvironmentVariablesList extends protobuf_1.Message {
|
|
1657
|
+
/**
|
|
1658
|
+
* List of environment variables
|
|
1659
|
+
*
|
|
1660
|
+
* @generated from field: repeated Scailo.EnclaveEnvironmentVariable list = 1;
|
|
1661
|
+
*/
|
|
1662
|
+
list = [];
|
|
1663
|
+
constructor(data) {
|
|
1664
|
+
super();
|
|
1665
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1666
|
+
}
|
|
1667
|
+
static runtime = protobuf_1.proto3;
|
|
1668
|
+
static typeName = "Scailo.EnclaveEnvironmentVariablesList";
|
|
1669
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1670
|
+
{ no: 1, name: "list", kind: "message", T: EnclaveEnvironmentVariable, repeated: true },
|
|
1671
|
+
]);
|
|
1672
|
+
static fromBinary(bytes, options) {
|
|
1673
|
+
return new EnclaveEnvironmentVariablesList().fromBinary(bytes, options);
|
|
1674
|
+
}
|
|
1675
|
+
static fromJson(jsonValue, options) {
|
|
1676
|
+
return new EnclaveEnvironmentVariablesList().fromJson(jsonValue, options);
|
|
1677
|
+
}
|
|
1678
|
+
static fromJsonString(jsonString, options) {
|
|
1679
|
+
return new EnclaveEnvironmentVariablesList().fromJsonString(jsonString, options);
|
|
1680
|
+
}
|
|
1681
|
+
static equals(a, b) {
|
|
1682
|
+
return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariablesList, a, b);
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
exports.EnclaveEnvironmentVariablesList = EnclaveEnvironmentVariablesList;
|
|
895
1686
|
/**
|
|
896
1687
|
* @generated from message Scailo.VaultSearchReq
|
|
897
1688
|
*/
|