@kernelminds/scailo-sdk 0.1.6 → 0.1.8

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.
@@ -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.EnclaveDomainsList = exports.EnclaveDomainsFilterReq = exports.EnclaveDomain = exports.EnclaveDomainAddRequest = 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.ENCLAVE_DOMAIN_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
  /**
@@ -108,6 +108,39 @@ protobuf_1.proto3.util.setEnumType(VAULT_PERMISSION_CODE, "Scailo.VAULT_PERMISSI
108
108
  { no: 32, name: "VAULT_PERMISSION_CODE_EXECUTE" },
109
109
  { no: 63, name: "VAULT_PERMISSION_CODE_ALL" },
110
110
  ]);
111
+ /**
112
+ *
113
+ * Describes the available sort keys for enclave domains
114
+ *
115
+ * @generated from enum Scailo.ENCLAVE_DOMAIN_SORT_KEY
116
+ */
117
+ var ENCLAVE_DOMAIN_SORT_KEY;
118
+ (function (ENCLAVE_DOMAIN_SORT_KEY) {
119
+ /**
120
+ * Fetch ordered results by id
121
+ *
122
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED = 0;
123
+ */
124
+ ENCLAVE_DOMAIN_SORT_KEY[ENCLAVE_DOMAIN_SORT_KEY["ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED"] = 0] = "ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED";
125
+ /**
126
+ * Fetch ordered results by the creation timestamp
127
+ *
128
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT = 1;
129
+ */
130
+ ENCLAVE_DOMAIN_SORT_KEY[ENCLAVE_DOMAIN_SORT_KEY["ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT"] = 1] = "ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT";
131
+ /**
132
+ * Fetch ordered results by the domain
133
+ *
134
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_DOMAIN = 10;
135
+ */
136
+ ENCLAVE_DOMAIN_SORT_KEY[ENCLAVE_DOMAIN_SORT_KEY["ENCLAVE_DOMAIN_SORT_KEY_DOMAIN"] = 10] = "ENCLAVE_DOMAIN_SORT_KEY_DOMAIN";
137
+ })(ENCLAVE_DOMAIN_SORT_KEY || (exports.ENCLAVE_DOMAIN_SORT_KEY = ENCLAVE_DOMAIN_SORT_KEY = {}));
138
+ // Retrieve enum metadata with: proto3.getEnumType(ENCLAVE_DOMAIN_SORT_KEY)
139
+ protobuf_1.proto3.util.setEnumType(ENCLAVE_DOMAIN_SORT_KEY, "Scailo.ENCLAVE_DOMAIN_SORT_KEY", [
140
+ { no: 0, name: "ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED" },
141
+ { no: 1, name: "ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT" },
142
+ { no: 10, name: "ENCLAVE_DOMAIN_SORT_KEY_DOMAIN" },
143
+ ]);
111
144
  /**
112
145
  *
113
146
  * Describes the available sort keys
@@ -892,6 +925,1053 @@ class GiXAppRunFilterReq extends protobuf_1.Message {
892
925
  }
893
926
  }
894
927
  exports.GiXAppRunFilterReq = GiXAppRunFilterReq;
928
+ /**
929
+ *
930
+ * Describes the resources section of an Enclave
931
+ *
932
+ * @generated from message Scailo.EnclaveResources
933
+ */
934
+ class EnclaveResources extends protobuf_1.Message {
935
+ /**
936
+ * Stores the list of logos that are available
937
+ *
938
+ * @generated from field: repeated string logos = 1;
939
+ */
940
+ logos = [];
941
+ /**
942
+ * Stores the list of folders that need to be accessible by the Enclave
943
+ *
944
+ * @generated from field: repeated string folders = 2;
945
+ */
946
+ folders = [];
947
+ /**
948
+ * Stores the list of files that need to be accessible by the Enclave
949
+ *
950
+ * @generated from field: repeated string files = 3;
951
+ */
952
+ files = [];
953
+ constructor(data) {
954
+ super();
955
+ protobuf_1.proto3.util.initPartial(data, this);
956
+ }
957
+ static runtime = protobuf_1.proto3;
958
+ static typeName = "Scailo.EnclaveResources";
959
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
960
+ { no: 1, name: "logos", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
961
+ { no: 2, name: "folders", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
962
+ { no: 3, name: "files", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
963
+ ]);
964
+ static fromBinary(bytes, options) {
965
+ return new EnclaveResources().fromBinary(bytes, options);
966
+ }
967
+ static fromJson(jsonValue, options) {
968
+ return new EnclaveResources().fromJson(jsonValue, options);
969
+ }
970
+ static fromJsonString(jsonString, options) {
971
+ return new EnclaveResources().fromJsonString(jsonString, options);
972
+ }
973
+ static equals(a, b) {
974
+ return protobuf_1.proto3.util.equals(EnclaveResources, a, b);
975
+ }
976
+ }
977
+ exports.EnclaveResources = EnclaveResources;
978
+ /**
979
+ *
980
+ * 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
981
+ *
982
+ * @generated from message Scailo.EnclaveManifest
983
+ */
984
+ class EnclaveManifest extends protobuf_1.Message {
985
+ /**
986
+ * Stores the manifest version
987
+ *
988
+ * @generated from field: string manifest_version = 1 [json_name = "manifest_version"];
989
+ */
990
+ manifestVersion = "";
991
+ /**
992
+ * Stores the enclave type (valid options are node, golang, python)
993
+ *
994
+ * @generated from field: string enclave_type = 2 [json_name = "enclave_type"];
995
+ */
996
+ enclaveType = "";
997
+ /**
998
+ * Stores the application version
999
+ *
1000
+ * @generated from field: string app_version = 3 [json_name = "app_version"];
1001
+ */
1002
+ appVersion = "";
1003
+ /**
1004
+ * Stores the name of the application
1005
+ *
1006
+ * @generated from field: string app_name = 4 [json_name = "app_name"];
1007
+ */
1008
+ appName = "";
1009
+ /**
1010
+ * Stores the name of the enclave
1011
+ *
1012
+ * @generated from field: string enclave_name = 5 [json_name = "enclave_name"];
1013
+ */
1014
+ enclaveName = "";
1015
+ /**
1016
+ * Stores the unique identifier for the application
1017
+ *
1018
+ * @generated from field: string app_unique_identifier = 6 [json_name = "app_unique_identifier"];
1019
+ */
1020
+ appUniqueIdentifier = "";
1021
+ /**
1022
+ * Stores the command that starts the enclave
1023
+ *
1024
+ * @generated from field: string start_exec = 7 [json_name = "start_exec"];
1025
+ */
1026
+ startExec = "";
1027
+ /**
1028
+ * Stores the resources of the Enclave
1029
+ *
1030
+ * @generated from field: Scailo.EnclaveResources resources = 10;
1031
+ */
1032
+ resources;
1033
+ constructor(data) {
1034
+ super();
1035
+ protobuf_1.proto3.util.initPartial(data, this);
1036
+ }
1037
+ static runtime = protobuf_1.proto3;
1038
+ static typeName = "Scailo.EnclaveManifest";
1039
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1040
+ { no: 1, name: "manifest_version", jsonName: "manifest_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1041
+ { no: 2, name: "enclave_type", jsonName: "enclave_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1042
+ { no: 3, name: "app_version", jsonName: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1043
+ { no: 4, name: "app_name", jsonName: "app_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1044
+ { no: 5, name: "enclave_name", jsonName: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1045
+ { no: 6, name: "app_unique_identifier", jsonName: "app_unique_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1046
+ { no: 7, name: "start_exec", jsonName: "start_exec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1047
+ { no: 10, name: "resources", kind: "message", T: EnclaveResources },
1048
+ ]);
1049
+ static fromBinary(bytes, options) {
1050
+ return new EnclaveManifest().fromBinary(bytes, options);
1051
+ }
1052
+ static fromJson(jsonValue, options) {
1053
+ return new EnclaveManifest().fromJson(jsonValue, options);
1054
+ }
1055
+ static fromJsonString(jsonString, options) {
1056
+ return new EnclaveManifest().fromJsonString(jsonString, options);
1057
+ }
1058
+ static equals(a, b) {
1059
+ return protobuf_1.proto3.util.equals(EnclaveManifest, a, b);
1060
+ }
1061
+ }
1062
+ exports.EnclaveManifest = EnclaveManifest;
1063
+ /**
1064
+ *
1065
+ * Describes the parameters that are a part of each enclave ingress
1066
+ *
1067
+ * @generated from message Scailo.EnclaveIngress
1068
+ */
1069
+ class EnclaveIngress extends protobuf_1.Message {
1070
+ /**
1071
+ * Stores a globally unique entity UUID. This will be set at the organization level
1072
+ *
1073
+ * @generated from field: string entity_uuid = 1;
1074
+ */
1075
+ entityUuid = "";
1076
+ /**
1077
+ * Stores the metadata of this user
1078
+ *
1079
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
1080
+ */
1081
+ metadata;
1082
+ /**
1083
+ * Stores the unique token that can be used to identify the user who executed this enclave
1084
+ *
1085
+ * @generated from field: string token = 10;
1086
+ */
1087
+ token = "";
1088
+ /**
1089
+ * Stores the expiry timestamp of the ingress token
1090
+ *
1091
+ * @generated from field: uint64 expires_at = 11;
1092
+ */
1093
+ expiresAt = protobuf_1.protoInt64.zero;
1094
+ /**
1095
+ * Stores the ID of the file that is being executed
1096
+ *
1097
+ * @generated from field: uint64 vault_file_id = 20;
1098
+ */
1099
+ vaultFileId = protobuf_1.protoInt64.zero;
1100
+ /**
1101
+ * Stores the ID of the version of the file that is being executed
1102
+ *
1103
+ * @generated from field: uint64 vault_file_version_id = 21;
1104
+ */
1105
+ vaultFileVersionId = protobuf_1.protoInt64.zero;
1106
+ /**
1107
+ * Stores the unique identifier of the application
1108
+ *
1109
+ * @generated from field: string enclave_name = 22;
1110
+ */
1111
+ enclaveName = "";
1112
+ /**
1113
+ * Stores the IP address from where the app was executed
1114
+ *
1115
+ * @generated from field: string ip_addr = 24;
1116
+ */
1117
+ ipAddr = "";
1118
+ /**
1119
+ * Stores the ID of the user who executed this enclave
1120
+ *
1121
+ * @generated from field: uint64 runner_user_id = 30;
1122
+ */
1123
+ runnerUserId = protobuf_1.protoInt64.zero;
1124
+ /**
1125
+ * Stores the ID of the user when this enclave was executed
1126
+ *
1127
+ * @generated from field: uint64 runner_role_id = 31;
1128
+ */
1129
+ runnerRoleId = protobuf_1.protoInt64.zero;
1130
+ /**
1131
+ * Stores the endpoint of the application execution
1132
+ *
1133
+ * @generated from field: string app_endpoint = 60;
1134
+ */
1135
+ appEndpoint = "";
1136
+ constructor(data) {
1137
+ super();
1138
+ protobuf_1.proto3.util.initPartial(data, this);
1139
+ }
1140
+ static runtime = protobuf_1.proto3;
1141
+ static typeName = "Scailo.EnclaveIngress";
1142
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1143
+ { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1144
+ { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
1145
+ { no: 10, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1146
+ { no: 11, name: "expires_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1147
+ { no: 20, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1148
+ { no: 21, name: "vault_file_version_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1149
+ { no: 22, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1150
+ { no: 24, name: "ip_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1151
+ { no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1152
+ { no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1153
+ { no: 60, name: "app_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1154
+ ]);
1155
+ static fromBinary(bytes, options) {
1156
+ return new EnclaveIngress().fromBinary(bytes, options);
1157
+ }
1158
+ static fromJson(jsonValue, options) {
1159
+ return new EnclaveIngress().fromJson(jsonValue, options);
1160
+ }
1161
+ static fromJsonString(jsonString, options) {
1162
+ return new EnclaveIngress().fromJsonString(jsonString, options);
1163
+ }
1164
+ static equals(a, b) {
1165
+ return protobuf_1.proto3.util.equals(EnclaveIngress, a, b);
1166
+ }
1167
+ }
1168
+ exports.EnclaveIngress = EnclaveIngress;
1169
+ /**
1170
+ *
1171
+ * Describes the message consisting of the list of enclave ingresses
1172
+ *
1173
+ * @generated from message Scailo.EnclaveIngressesList
1174
+ */
1175
+ class EnclaveIngressesList extends protobuf_1.Message {
1176
+ /**
1177
+ * List of runs
1178
+ *
1179
+ * @generated from field: repeated Scailo.EnclaveIngress list = 1;
1180
+ */
1181
+ list = [];
1182
+ constructor(data) {
1183
+ super();
1184
+ protobuf_1.proto3.util.initPartial(data, this);
1185
+ }
1186
+ static runtime = protobuf_1.proto3;
1187
+ static typeName = "Scailo.EnclaveIngressesList";
1188
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1189
+ { no: 1, name: "list", kind: "message", T: EnclaveIngress, repeated: true },
1190
+ ]);
1191
+ static fromBinary(bytes, options) {
1192
+ return new EnclaveIngressesList().fromBinary(bytes, options);
1193
+ }
1194
+ static fromJson(jsonValue, options) {
1195
+ return new EnclaveIngressesList().fromJson(jsonValue, options);
1196
+ }
1197
+ static fromJsonString(jsonString, options) {
1198
+ return new EnclaveIngressesList().fromJsonString(jsonString, options);
1199
+ }
1200
+ static equals(a, b) {
1201
+ return protobuf_1.proto3.util.equals(EnclaveIngressesList, a, b);
1202
+ }
1203
+ }
1204
+ exports.EnclaveIngressesList = EnclaveIngressesList;
1205
+ /**
1206
+ *
1207
+ * Describes the request payload of a count filter for enclave runs
1208
+ *
1209
+ * @generated from message Scailo.EnclaveIngressCountReq
1210
+ */
1211
+ class EnclaveIngressCountReq extends protobuf_1.Message {
1212
+ /**
1213
+ * If true, then returns only active records. If false, then returns only inactive records
1214
+ *
1215
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
1216
+ */
1217
+ isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
1218
+ /**
1219
+ * The minimum timestamp that needs to be considered to filter by creation
1220
+ *
1221
+ * @generated from field: uint64 creation_timestamp_start = 101;
1222
+ */
1223
+ creationTimestampStart = protobuf_1.protoInt64.zero;
1224
+ /**
1225
+ * The maximum timestamp that needs to be considered to filter by creation
1226
+ *
1227
+ * @generated from field: uint64 creation_timestamp_end = 102;
1228
+ */
1229
+ creationTimestampEnd = protobuf_1.protoInt64.zero;
1230
+ /**
1231
+ * The minimum timestamp that needs to be considered to filter by modification
1232
+ *
1233
+ * @generated from field: uint64 modification_timestamp_start = 103;
1234
+ */
1235
+ modificationTimestampStart = protobuf_1.protoInt64.zero;
1236
+ /**
1237
+ * The maximum timestamp that needs to be considered to filter by modification
1238
+ *
1239
+ * @generated from field: uint64 modification_timestamp_end = 104;
1240
+ */
1241
+ modificationTimestampEnd = protobuf_1.protoInt64.zero;
1242
+ /**
1243
+ * The UUID of the file
1244
+ *
1245
+ * @generated from field: string vault_file_uuid = 20;
1246
+ */
1247
+ vaultFileUuid = "";
1248
+ /**
1249
+ * The UUID of the version
1250
+ *
1251
+ * --------------------------------------------------------
1252
+ *
1253
+ * @generated from field: string vault_file_version_uuid = 21;
1254
+ */
1255
+ vaultFileVersionUuid = "";
1256
+ /**
1257
+ * Stores the ID of the user who executed this enclave
1258
+ *
1259
+ * @generated from field: uint64 runner_user_id = 30;
1260
+ */
1261
+ runnerUserId = protobuf_1.protoInt64.zero;
1262
+ /**
1263
+ * Stores the ID of the user when this enclave was executed
1264
+ *
1265
+ * @generated from field: uint64 runner_role_id = 31;
1266
+ */
1267
+ runnerRoleId = protobuf_1.protoInt64.zero;
1268
+ constructor(data) {
1269
+ super();
1270
+ protobuf_1.proto3.util.initPartial(data, this);
1271
+ }
1272
+ static runtime = protobuf_1.proto3;
1273
+ static typeName = "Scailo.EnclaveIngressCountReq";
1274
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1275
+ { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
1276
+ { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1277
+ { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1278
+ { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1279
+ { no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1280
+ { no: 20, name: "vault_file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1281
+ { no: 21, name: "vault_file_version_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1282
+ { no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1283
+ { no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1284
+ ]);
1285
+ static fromBinary(bytes, options) {
1286
+ return new EnclaveIngressCountReq().fromBinary(bytes, options);
1287
+ }
1288
+ static fromJson(jsonValue, options) {
1289
+ return new EnclaveIngressCountReq().fromJson(jsonValue, options);
1290
+ }
1291
+ static fromJsonString(jsonString, options) {
1292
+ return new EnclaveIngressCountReq().fromJsonString(jsonString, options);
1293
+ }
1294
+ static equals(a, b) {
1295
+ return protobuf_1.proto3.util.equals(EnclaveIngressCountReq, a, b);
1296
+ }
1297
+ }
1298
+ exports.EnclaveIngressCountReq = EnclaveIngressCountReq;
1299
+ /**
1300
+ *
1301
+ * Describes the base request payload of a filter search for enclave runs
1302
+ *
1303
+ * @generated from message Scailo.EnclaveIngressFilterReq
1304
+ */
1305
+ class EnclaveIngressFilterReq extends protobuf_1.Message {
1306
+ /**
1307
+ * If true, then returns only active records. If false, then returns only inactive records
1308
+ *
1309
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
1310
+ */
1311
+ isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
1312
+ /**
1313
+ * The number of records that need to be sent in the response. Returns all records if it is set to -1
1314
+ *
1315
+ * @generated from field: int64 count = 2;
1316
+ */
1317
+ count = protobuf_1.protoInt64.zero;
1318
+ /**
1319
+ * The number that need to be offset by before fetching the records
1320
+ *
1321
+ * // The sort order that is to be used to fetch the pagination response
1322
+ * SORT_ORDER sort_order = 4;
1323
+ * // The sort key that is to be used to fetch the pagination response
1324
+ * VAULT_SORT_KEY sort_key = 5;
1325
+ *
1326
+ * @generated from field: uint64 offset = 3;
1327
+ */
1328
+ offset = protobuf_1.protoInt64.zero;
1329
+ /**
1330
+ * The minimum timestamp that needs to be considered to filter by creation
1331
+ *
1332
+ * @generated from field: uint64 creation_timestamp_start = 101;
1333
+ */
1334
+ creationTimestampStart = protobuf_1.protoInt64.zero;
1335
+ /**
1336
+ * The maximum timestamp that needs to be considered to filter by creation
1337
+ *
1338
+ * @generated from field: uint64 creation_timestamp_end = 102;
1339
+ */
1340
+ creationTimestampEnd = protobuf_1.protoInt64.zero;
1341
+ /**
1342
+ * The minimum timestamp that needs to be considered to filter by modification
1343
+ *
1344
+ * @generated from field: uint64 modification_timestamp_start = 103;
1345
+ */
1346
+ modificationTimestampStart = protobuf_1.protoInt64.zero;
1347
+ /**
1348
+ * The maximum timestamp that needs to be considered to filter by modification
1349
+ *
1350
+ * @generated from field: uint64 modification_timestamp_end = 104;
1351
+ */
1352
+ modificationTimestampEnd = protobuf_1.protoInt64.zero;
1353
+ /**
1354
+ * The UUID of the file
1355
+ *
1356
+ * @generated from field: string vault_file_uuid = 20;
1357
+ */
1358
+ vaultFileUuid = "";
1359
+ /**
1360
+ * The UUID of the version
1361
+ *
1362
+ * --------------------------------------------------------
1363
+ *
1364
+ * @generated from field: string vault_file_version_uuid = 21;
1365
+ */
1366
+ vaultFileVersionUuid = "";
1367
+ /**
1368
+ * Stores the ID of the user who executed this enclave
1369
+ *
1370
+ * @generated from field: uint64 runner_user_id = 30;
1371
+ */
1372
+ runnerUserId = protobuf_1.protoInt64.zero;
1373
+ /**
1374
+ * Stores the ID of the user when this enclave was executed
1375
+ *
1376
+ * @generated from field: uint64 runner_role_id = 31;
1377
+ */
1378
+ runnerRoleId = protobuf_1.protoInt64.zero;
1379
+ constructor(data) {
1380
+ super();
1381
+ protobuf_1.proto3.util.initPartial(data, this);
1382
+ }
1383
+ static runtime = protobuf_1.proto3;
1384
+ static typeName = "Scailo.EnclaveIngressFilterReq";
1385
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1386
+ { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
1387
+ { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1388
+ { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1389
+ { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1390
+ { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1391
+ { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1392
+ { no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1393
+ { no: 20, name: "vault_file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1394
+ { no: 21, name: "vault_file_version_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1395
+ { no: 30, name: "runner_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1396
+ { no: 31, name: "runner_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1397
+ ]);
1398
+ static fromBinary(bytes, options) {
1399
+ return new EnclaveIngressFilterReq().fromBinary(bytes, options);
1400
+ }
1401
+ static fromJson(jsonValue, options) {
1402
+ return new EnclaveIngressFilterReq().fromJson(jsonValue, options);
1403
+ }
1404
+ static fromJsonString(jsonString, options) {
1405
+ return new EnclaveIngressFilterReq().fromJsonString(jsonString, options);
1406
+ }
1407
+ static equals(a, b) {
1408
+ return protobuf_1.proto3.util.equals(EnclaveIngressFilterReq, a, b);
1409
+ }
1410
+ }
1411
+ exports.EnclaveIngressFilterReq = EnclaveIngressFilterReq;
1412
+ /**
1413
+ *
1414
+ * The request payload to verify an enclave ingress
1415
+ *
1416
+ * @generated from message Scailo.VerifyEnclaveIngressRequest
1417
+ */
1418
+ class VerifyEnclaveIngressRequest extends protobuf_1.Message {
1419
+ /**
1420
+ * The token that needs to be verified
1421
+ *
1422
+ * @generated from field: string token = 1;
1423
+ */
1424
+ token = "";
1425
+ constructor(data) {
1426
+ super();
1427
+ protobuf_1.proto3.util.initPartial(data, this);
1428
+ }
1429
+ static runtime = protobuf_1.proto3;
1430
+ static typeName = "Scailo.VerifyEnclaveIngressRequest";
1431
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1432
+ { no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1433
+ ]);
1434
+ static fromBinary(bytes, options) {
1435
+ return new VerifyEnclaveIngressRequest().fromBinary(bytes, options);
1436
+ }
1437
+ static fromJson(jsonValue, options) {
1438
+ return new VerifyEnclaveIngressRequest().fromJson(jsonValue, options);
1439
+ }
1440
+ static fromJsonString(jsonString, options) {
1441
+ return new VerifyEnclaveIngressRequest().fromJsonString(jsonString, options);
1442
+ }
1443
+ static equals(a, b) {
1444
+ return protobuf_1.proto3.util.equals(VerifyEnclaveIngressRequest, a, b);
1445
+ }
1446
+ }
1447
+ exports.VerifyEnclaveIngressRequest = VerifyEnclaveIngressRequest;
1448
+ /**
1449
+ *
1450
+ * The response payload to verify an enclave ingress
1451
+ *
1452
+ * @generated from message Scailo.VerifyEnclaveIngressResponse
1453
+ */
1454
+ class VerifyEnclaveIngressResponse extends protobuf_1.Message {
1455
+ /**
1456
+ * The name of the enclave
1457
+ *
1458
+ * @generated from field: string enclave_name = 1;
1459
+ */
1460
+ enclaveName = "";
1461
+ /**
1462
+ * The UUID of the user who is running the enclave
1463
+ *
1464
+ * @generated from field: string user_uuid = 2;
1465
+ */
1466
+ userUuid = "";
1467
+ /**
1468
+ * The UUID of the user's role
1469
+ *
1470
+ * @generated from field: string role_uuid = 3;
1471
+ */
1472
+ roleUuid = "";
1473
+ /**
1474
+ * The auth token of the user that can be used for subsequent requests
1475
+ *
1476
+ * @generated from field: string auth_token = 4;
1477
+ */
1478
+ authToken = "";
1479
+ /**
1480
+ * The timestamp after which the auth token expires
1481
+ *
1482
+ * @generated from field: uint64 expires_at = 5;
1483
+ */
1484
+ expiresAt = protobuf_1.protoInt64.zero;
1485
+ constructor(data) {
1486
+ super();
1487
+ protobuf_1.proto3.util.initPartial(data, this);
1488
+ }
1489
+ static runtime = protobuf_1.proto3;
1490
+ static typeName = "Scailo.VerifyEnclaveIngressResponse";
1491
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1492
+ { no: 1, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1493
+ { no: 2, name: "user_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1494
+ { no: 3, name: "role_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1495
+ { no: 4, name: "auth_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1496
+ { no: 5, name: "expires_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1497
+ ]);
1498
+ static fromBinary(bytes, options) {
1499
+ return new VerifyEnclaveIngressResponse().fromBinary(bytes, options);
1500
+ }
1501
+ static fromJson(jsonValue, options) {
1502
+ return new VerifyEnclaveIngressResponse().fromJson(jsonValue, options);
1503
+ }
1504
+ static fromJsonString(jsonString, options) {
1505
+ return new VerifyEnclaveIngressResponse().fromJsonString(jsonString, options);
1506
+ }
1507
+ static equals(a, b) {
1508
+ return protobuf_1.proto3.util.equals(VerifyEnclaveIngressResponse, a, b);
1509
+ }
1510
+ }
1511
+ exports.VerifyEnclaveIngressResponse = VerifyEnclaveIngressResponse;
1512
+ /**
1513
+ *
1514
+ * Stores the payload that is necessary to create a custom environment variable for an enclave
1515
+ *
1516
+ * @generated from message Scailo.EnclaveEnvironmentVariableAddRequest
1517
+ */
1518
+ class EnclaveEnvironmentVariableAddRequest extends protobuf_1.Message {
1519
+ /**
1520
+ * The UUID of the enclave file that will be updated with the given environment variable
1521
+ *
1522
+ * @generated from field: string file_uuid = 1;
1523
+ */
1524
+ fileUuid = "";
1525
+ /**
1526
+ * The name of the environment variable
1527
+ *
1528
+ * @generated from field: string name = 11;
1529
+ */
1530
+ name = "";
1531
+ /**
1532
+ * The value of the environment variable
1533
+ *
1534
+ * @generated from field: string value = 12;
1535
+ */
1536
+ value = "";
1537
+ /**
1538
+ * Denotes if the value should be stored as a secret (will not be visible to the user post creation)
1539
+ *
1540
+ * @generated from field: bool is_secret = 13;
1541
+ */
1542
+ isSecret = false;
1543
+ constructor(data) {
1544
+ super();
1545
+ protobuf_1.proto3.util.initPartial(data, this);
1546
+ }
1547
+ static runtime = protobuf_1.proto3;
1548
+ static typeName = "Scailo.EnclaveEnvironmentVariableAddRequest";
1549
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1550
+ { no: 1, name: "file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1551
+ { no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1552
+ { no: 12, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1553
+ { no: 13, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1554
+ ]);
1555
+ static fromBinary(bytes, options) {
1556
+ return new EnclaveEnvironmentVariableAddRequest().fromBinary(bytes, options);
1557
+ }
1558
+ static fromJson(jsonValue, options) {
1559
+ return new EnclaveEnvironmentVariableAddRequest().fromJson(jsonValue, options);
1560
+ }
1561
+ static fromJsonString(jsonString, options) {
1562
+ return new EnclaveEnvironmentVariableAddRequest().fromJsonString(jsonString, options);
1563
+ }
1564
+ static equals(a, b) {
1565
+ return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariableAddRequest, a, b);
1566
+ }
1567
+ }
1568
+ exports.EnclaveEnvironmentVariableAddRequest = EnclaveEnvironmentVariableAddRequest;
1569
+ /**
1570
+ *
1571
+ * Stores the payload that is necessary to update a custom environment variable for an enclave
1572
+ *
1573
+ * @generated from message Scailo.EnclaveEnvironmentVariableUpdateRequest
1574
+ */
1575
+ class EnclaveEnvironmentVariableUpdateRequest extends protobuf_1.Message {
1576
+ /**
1577
+ * The UUID of the environment variables that needs to be updated
1578
+ *
1579
+ * @generated from field: string uuid = 1;
1580
+ */
1581
+ uuid = "";
1582
+ /**
1583
+ * The value of the environment variable that needs to be updated
1584
+ *
1585
+ * @generated from field: string value = 11;
1586
+ */
1587
+ value = "";
1588
+ constructor(data) {
1589
+ super();
1590
+ protobuf_1.proto3.util.initPartial(data, this);
1591
+ }
1592
+ static runtime = protobuf_1.proto3;
1593
+ static typeName = "Scailo.EnclaveEnvironmentVariableUpdateRequest";
1594
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1595
+ { no: 1, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1596
+ { no: 11, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1597
+ ]);
1598
+ static fromBinary(bytes, options) {
1599
+ return new EnclaveEnvironmentVariableUpdateRequest().fromBinary(bytes, options);
1600
+ }
1601
+ static fromJson(jsonValue, options) {
1602
+ return new EnclaveEnvironmentVariableUpdateRequest().fromJson(jsonValue, options);
1603
+ }
1604
+ static fromJsonString(jsonString, options) {
1605
+ return new EnclaveEnvironmentVariableUpdateRequest().fromJsonString(jsonString, options);
1606
+ }
1607
+ static equals(a, b) {
1608
+ return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariableUpdateRequest, a, b);
1609
+ }
1610
+ }
1611
+ exports.EnclaveEnvironmentVariableUpdateRequest = EnclaveEnvironmentVariableUpdateRequest;
1612
+ /**
1613
+ *
1614
+ * Denotes an individual environment variable that is part of an enclave
1615
+ *
1616
+ * @generated from message Scailo.EnclaveEnvironmentVariable
1617
+ */
1618
+ class EnclaveEnvironmentVariable extends protobuf_1.Message {
1619
+ /**
1620
+ * Stores a globally unique entity UUID. This will be set at the organization level
1621
+ *
1622
+ * @generated from field: string entity_uuid = 1;
1623
+ */
1624
+ entityUuid = "";
1625
+ /**
1626
+ * Stores the metadata of this user
1627
+ *
1628
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
1629
+ */
1630
+ metadata;
1631
+ /**
1632
+ * Stores the ID of the file that the environment variable belongs to
1633
+ *
1634
+ * @generated from field: uint64 vault_file_id = 10;
1635
+ */
1636
+ vaultFileId = protobuf_1.protoInt64.zero;
1637
+ /**
1638
+ * The name of the environment variable
1639
+ *
1640
+ * @generated from field: string name = 11;
1641
+ */
1642
+ name = "";
1643
+ /**
1644
+ * The value of the environment variable
1645
+ *
1646
+ * @generated from field: string value = 12;
1647
+ */
1648
+ value = "";
1649
+ /**
1650
+ * Denotes if the value should be stored as a secret (will not be visible to the user post creation)
1651
+ *
1652
+ * @generated from field: bool is_secret = 13;
1653
+ */
1654
+ isSecret = false;
1655
+ constructor(data) {
1656
+ super();
1657
+ protobuf_1.proto3.util.initPartial(data, this);
1658
+ }
1659
+ static runtime = protobuf_1.proto3;
1660
+ static typeName = "Scailo.EnclaveEnvironmentVariable";
1661
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1662
+ { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1663
+ { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
1664
+ { no: 10, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1665
+ { no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1666
+ { no: 12, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1667
+ { no: 13, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1668
+ ]);
1669
+ static fromBinary(bytes, options) {
1670
+ return new EnclaveEnvironmentVariable().fromBinary(bytes, options);
1671
+ }
1672
+ static fromJson(jsonValue, options) {
1673
+ return new EnclaveEnvironmentVariable().fromJson(jsonValue, options);
1674
+ }
1675
+ static fromJsonString(jsonString, options) {
1676
+ return new EnclaveEnvironmentVariable().fromJsonString(jsonString, options);
1677
+ }
1678
+ static equals(a, b) {
1679
+ return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariable, a, b);
1680
+ }
1681
+ }
1682
+ exports.EnclaveEnvironmentVariable = EnclaveEnvironmentVariable;
1683
+ /**
1684
+ *
1685
+ * Denotes the list of environment variables that are part of an enclave
1686
+ *
1687
+ * @generated from message Scailo.EnclaveEnvironmentVariablesList
1688
+ */
1689
+ class EnclaveEnvironmentVariablesList extends protobuf_1.Message {
1690
+ /**
1691
+ * List of environment variables
1692
+ *
1693
+ * @generated from field: repeated Scailo.EnclaveEnvironmentVariable list = 1;
1694
+ */
1695
+ list = [];
1696
+ constructor(data) {
1697
+ super();
1698
+ protobuf_1.proto3.util.initPartial(data, this);
1699
+ }
1700
+ static runtime = protobuf_1.proto3;
1701
+ static typeName = "Scailo.EnclaveEnvironmentVariablesList";
1702
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1703
+ { no: 1, name: "list", kind: "message", T: EnclaveEnvironmentVariable, repeated: true },
1704
+ ]);
1705
+ static fromBinary(bytes, options) {
1706
+ return new EnclaveEnvironmentVariablesList().fromBinary(bytes, options);
1707
+ }
1708
+ static fromJson(jsonValue, options) {
1709
+ return new EnclaveEnvironmentVariablesList().fromJson(jsonValue, options);
1710
+ }
1711
+ static fromJsonString(jsonString, options) {
1712
+ return new EnclaveEnvironmentVariablesList().fromJsonString(jsonString, options);
1713
+ }
1714
+ static equals(a, b) {
1715
+ return protobuf_1.proto3.util.equals(EnclaveEnvironmentVariablesList, a, b);
1716
+ }
1717
+ }
1718
+ exports.EnclaveEnvironmentVariablesList = EnclaveEnvironmentVariablesList;
1719
+ /**
1720
+ *
1721
+ * Stores the payload that is necessary to create a custom domain for an enclave
1722
+ *
1723
+ * @generated from message Scailo.EnclaveDomainAddRequest
1724
+ */
1725
+ class EnclaveDomainAddRequest extends protobuf_1.Message {
1726
+ /**
1727
+ * The UUID of the enclave file that will be updated with the given domain
1728
+ *
1729
+ * @generated from field: string file_uuid = 1;
1730
+ */
1731
+ fileUuid = "";
1732
+ /**
1733
+ * The domain that points to the enclave
1734
+ *
1735
+ * @generated from field: string domain = 11;
1736
+ */
1737
+ domain = "";
1738
+ constructor(data) {
1739
+ super();
1740
+ protobuf_1.proto3.util.initPartial(data, this);
1741
+ }
1742
+ static runtime = protobuf_1.proto3;
1743
+ static typeName = "Scailo.EnclaveDomainAddRequest";
1744
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1745
+ { no: 1, name: "file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1746
+ { no: 11, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1747
+ ]);
1748
+ static fromBinary(bytes, options) {
1749
+ return new EnclaveDomainAddRequest().fromBinary(bytes, options);
1750
+ }
1751
+ static fromJson(jsonValue, options) {
1752
+ return new EnclaveDomainAddRequest().fromJson(jsonValue, options);
1753
+ }
1754
+ static fromJsonString(jsonString, options) {
1755
+ return new EnclaveDomainAddRequest().fromJsonString(jsonString, options);
1756
+ }
1757
+ static equals(a, b) {
1758
+ return protobuf_1.proto3.util.equals(EnclaveDomainAddRequest, a, b);
1759
+ }
1760
+ }
1761
+ exports.EnclaveDomainAddRequest = EnclaveDomainAddRequest;
1762
+ /**
1763
+ *
1764
+ * Denotes an individual domain that is part of an enclave
1765
+ *
1766
+ * @generated from message Scailo.EnclaveDomain
1767
+ */
1768
+ class EnclaveDomain extends protobuf_1.Message {
1769
+ /**
1770
+ * Stores a globally unique entity UUID. This will be set at the organization level
1771
+ *
1772
+ * @generated from field: string entity_uuid = 1;
1773
+ */
1774
+ entityUuid = "";
1775
+ /**
1776
+ * Stores the metadata of this user
1777
+ *
1778
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
1779
+ */
1780
+ metadata;
1781
+ /**
1782
+ * Stores the ID of the file that the domain belongs to
1783
+ *
1784
+ * @generated from field: uint64 vault_file_id = 10;
1785
+ */
1786
+ vaultFileId = protobuf_1.protoInt64.zero;
1787
+ /**
1788
+ * The domain that points to the enclave
1789
+ *
1790
+ * @generated from field: string domain = 11;
1791
+ */
1792
+ domain = "";
1793
+ /**
1794
+ * The internal address of the service that the domain points to
1795
+ *
1796
+ * @generated from field: string service_addr = 12;
1797
+ */
1798
+ serviceAddr = "";
1799
+ constructor(data) {
1800
+ super();
1801
+ protobuf_1.proto3.util.initPartial(data, this);
1802
+ }
1803
+ static runtime = protobuf_1.proto3;
1804
+ static typeName = "Scailo.EnclaveDomain";
1805
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1806
+ { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1807
+ { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
1808
+ { no: 10, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1809
+ { no: 11, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1810
+ { no: 12, name: "service_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1811
+ ]);
1812
+ static fromBinary(bytes, options) {
1813
+ return new EnclaveDomain().fromBinary(bytes, options);
1814
+ }
1815
+ static fromJson(jsonValue, options) {
1816
+ return new EnclaveDomain().fromJson(jsonValue, options);
1817
+ }
1818
+ static fromJsonString(jsonString, options) {
1819
+ return new EnclaveDomain().fromJsonString(jsonString, options);
1820
+ }
1821
+ static equals(a, b) {
1822
+ return protobuf_1.proto3.util.equals(EnclaveDomain, a, b);
1823
+ }
1824
+ }
1825
+ exports.EnclaveDomain = EnclaveDomain;
1826
+ /**
1827
+ *
1828
+ * Describes the request payload of a enclave domains filter search
1829
+ *
1830
+ * @generated from message Scailo.EnclaveDomainsFilterReq
1831
+ */
1832
+ class EnclaveDomainsFilterReq extends protobuf_1.Message {
1833
+ /**
1834
+ * If true, then returns only active records. If false, then returns only inactive records
1835
+ *
1836
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
1837
+ */
1838
+ isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
1839
+ /**
1840
+ * The number of records that need to be sent in the response. Returns all records if it is set to -1
1841
+ *
1842
+ * @generated from field: int64 count = 2;
1843
+ */
1844
+ count = protobuf_1.protoInt64.zero;
1845
+ /**
1846
+ * The number that need to be offset by before fetching the records
1847
+ *
1848
+ * @generated from field: uint64 offset = 3;
1849
+ */
1850
+ offset = protobuf_1.protoInt64.zero;
1851
+ /**
1852
+ * The sort order that is to be used to fetch the pagination response
1853
+ *
1854
+ * @generated from field: Scailo.SORT_ORDER sort_order = 4;
1855
+ */
1856
+ sortOrder = base_scailo_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
1857
+ /**
1858
+ * The sort key that is to be used to fetch the pagination response
1859
+ *
1860
+ * @generated from field: Scailo.ENCLAVE_DOMAIN_SORT_KEY sort_key = 5;
1861
+ */
1862
+ sortKey = ENCLAVE_DOMAIN_SORT_KEY.ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED;
1863
+ /**
1864
+ * The minimum timestamp that needs to be considered to filter by creation
1865
+ *
1866
+ * @generated from field: uint64 creation_timestamp_start = 101;
1867
+ */
1868
+ creationTimestampStart = protobuf_1.protoInt64.zero;
1869
+ /**
1870
+ * The maximum timestamp that needs to be considered to filter by creation
1871
+ *
1872
+ * @generated from field: uint64 creation_timestamp_end = 102;
1873
+ */
1874
+ creationTimestampEnd = protobuf_1.protoInt64.zero;
1875
+ /**
1876
+ * The minimum timestamp that needs to be considered to filter by modification
1877
+ *
1878
+ * @generated from field: uint64 modification_timestamp_start = 103;
1879
+ */
1880
+ modificationTimestampStart = protobuf_1.protoInt64.zero;
1881
+ /**
1882
+ * The maximum timestamp that needs to be considered to filter by modification
1883
+ *
1884
+ * @generated from field: uint64 modification_timestamp_end = 104;
1885
+ */
1886
+ modificationTimestampEnd = protobuf_1.protoInt64.zero;
1887
+ /**
1888
+ * The entity UUID that is to be used to filter records
1889
+ *
1890
+ * @generated from field: string entity_uuid = 8;
1891
+ */
1892
+ entityUuid = "";
1893
+ /**
1894
+ * The domain that points to the enclave
1895
+ *
1896
+ * @generated from field: string domain = 11;
1897
+ */
1898
+ domain = "";
1899
+ /**
1900
+ * The internal address of the service that the domain points to
1901
+ *
1902
+ * @generated from field: string service_addr = 12;
1903
+ */
1904
+ serviceAddr = "";
1905
+ constructor(data) {
1906
+ super();
1907
+ protobuf_1.proto3.util.initPartial(data, this);
1908
+ }
1909
+ static runtime = protobuf_1.proto3;
1910
+ static typeName = "Scailo.EnclaveDomainsFilterReq";
1911
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1912
+ { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
1913
+ { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1914
+ { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1915
+ { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
1916
+ { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(ENCLAVE_DOMAIN_SORT_KEY) },
1917
+ { no: 101, name: "creation_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1918
+ { no: 102, name: "creation_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1919
+ { no: 103, name: "modification_timestamp_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1920
+ { no: 104, name: "modification_timestamp_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1921
+ { no: 8, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1922
+ { no: 11, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1923
+ { no: 12, name: "service_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1924
+ ]);
1925
+ static fromBinary(bytes, options) {
1926
+ return new EnclaveDomainsFilterReq().fromBinary(bytes, options);
1927
+ }
1928
+ static fromJson(jsonValue, options) {
1929
+ return new EnclaveDomainsFilterReq().fromJson(jsonValue, options);
1930
+ }
1931
+ static fromJsonString(jsonString, options) {
1932
+ return new EnclaveDomainsFilterReq().fromJsonString(jsonString, options);
1933
+ }
1934
+ static equals(a, b) {
1935
+ return protobuf_1.proto3.util.equals(EnclaveDomainsFilterReq, a, b);
1936
+ }
1937
+ }
1938
+ exports.EnclaveDomainsFilterReq = EnclaveDomainsFilterReq;
1939
+ /**
1940
+ *
1941
+ * Denotes the list of domains that are part of an enclave
1942
+ *
1943
+ * @generated from message Scailo.EnclaveDomainsList
1944
+ */
1945
+ class EnclaveDomainsList extends protobuf_1.Message {
1946
+ /**
1947
+ * List of domains
1948
+ *
1949
+ * @generated from field: repeated Scailo.EnclaveDomain list = 1;
1950
+ */
1951
+ list = [];
1952
+ constructor(data) {
1953
+ super();
1954
+ protobuf_1.proto3.util.initPartial(data, this);
1955
+ }
1956
+ static runtime = protobuf_1.proto3;
1957
+ static typeName = "Scailo.EnclaveDomainsList";
1958
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1959
+ { no: 1, name: "list", kind: "message", T: EnclaveDomain, repeated: true },
1960
+ ]);
1961
+ static fromBinary(bytes, options) {
1962
+ return new EnclaveDomainsList().fromBinary(bytes, options);
1963
+ }
1964
+ static fromJson(jsonValue, options) {
1965
+ return new EnclaveDomainsList().fromJson(jsonValue, options);
1966
+ }
1967
+ static fromJsonString(jsonString, options) {
1968
+ return new EnclaveDomainsList().fromJsonString(jsonString, options);
1969
+ }
1970
+ static equals(a, b) {
1971
+ return protobuf_1.proto3.util.equals(EnclaveDomainsList, a, b);
1972
+ }
1973
+ }
1974
+ exports.EnclaveDomainsList = EnclaveDomainsList;
895
1975
  /**
896
1976
  * @generated from message Scailo.VaultSearchReq
897
1977
  */