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