@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.
@@ -83,6 +83,32 @@ export declare enum VAULT_PERMISSION_CODE {
83
83
  */
84
84
  VAULT_PERMISSION_CODE_ALL = 63
85
85
  }
86
+ /**
87
+ *
88
+ * Describes the available sort keys for enclave domains
89
+ *
90
+ * @generated from enum Scailo.ENCLAVE_DOMAIN_SORT_KEY
91
+ */
92
+ export declare enum ENCLAVE_DOMAIN_SORT_KEY {
93
+ /**
94
+ * Fetch ordered results by id
95
+ *
96
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED = 0;
97
+ */
98
+ ENCLAVE_DOMAIN_SORT_KEY_ID_UNSPECIFIED = 0,
99
+ /**
100
+ * Fetch ordered results by the creation timestamp
101
+ *
102
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT = 1;
103
+ */
104
+ ENCLAVE_DOMAIN_SORT_KEY_CREATED_AT = 1,
105
+ /**
106
+ * Fetch ordered results by the domain
107
+ *
108
+ * @generated from enum value: ENCLAVE_DOMAIN_SORT_KEY_DOMAIN = 10;
109
+ */
110
+ ENCLAVE_DOMAIN_SORT_KEY_DOMAIN = 10
111
+ }
86
112
  /**
87
113
  *
88
114
  * Describes the available sort keys
@@ -672,6 +698,763 @@ export declare class GiXAppRunFilterReq extends Message<GiXAppRunFilterReq> {
672
698
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GiXAppRunFilterReq;
673
699
  static equals(a: GiXAppRunFilterReq | PlainMessage<GiXAppRunFilterReq> | undefined, b: GiXAppRunFilterReq | PlainMessage<GiXAppRunFilterReq> | undefined): boolean;
674
700
  }
701
+ /**
702
+ *
703
+ * Describes the resources section of an Enclave
704
+ *
705
+ * @generated from message Scailo.EnclaveResources
706
+ */
707
+ export declare class EnclaveResources extends Message<EnclaveResources> {
708
+ /**
709
+ * Stores the list of logos that are available
710
+ *
711
+ * @generated from field: repeated string logos = 1;
712
+ */
713
+ logos: string[];
714
+ /**
715
+ * Stores the list of folders that need to be accessible by the Enclave
716
+ *
717
+ * @generated from field: repeated string folders = 2;
718
+ */
719
+ folders: string[];
720
+ /**
721
+ * Stores the list of files that need to be accessible by the Enclave
722
+ *
723
+ * @generated from field: repeated string files = 3;
724
+ */
725
+ files: string[];
726
+ constructor(data?: PartialMessage<EnclaveResources>);
727
+ static readonly runtime: typeof proto3;
728
+ static readonly typeName = "Scailo.EnclaveResources";
729
+ static readonly fields: FieldList;
730
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveResources;
731
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveResources;
732
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveResources;
733
+ static equals(a: EnclaveResources | PlainMessage<EnclaveResources> | undefined, b: EnclaveResources | PlainMessage<EnclaveResources> | undefined): boolean;
734
+ }
735
+ /**
736
+ *
737
+ * 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
738
+ *
739
+ * @generated from message Scailo.EnclaveManifest
740
+ */
741
+ export declare class EnclaveManifest extends Message<EnclaveManifest> {
742
+ /**
743
+ * Stores the manifest version
744
+ *
745
+ * @generated from field: string manifest_version = 1 [json_name = "manifest_version"];
746
+ */
747
+ manifestVersion: string;
748
+ /**
749
+ * Stores the enclave type (valid options are node, golang, python)
750
+ *
751
+ * @generated from field: string enclave_type = 2 [json_name = "enclave_type"];
752
+ */
753
+ enclaveType: string;
754
+ /**
755
+ * Stores the application version
756
+ *
757
+ * @generated from field: string app_version = 3 [json_name = "app_version"];
758
+ */
759
+ appVersion: string;
760
+ /**
761
+ * Stores the name of the application
762
+ *
763
+ * @generated from field: string app_name = 4 [json_name = "app_name"];
764
+ */
765
+ appName: string;
766
+ /**
767
+ * Stores the name of the enclave
768
+ *
769
+ * @generated from field: string enclave_name = 5 [json_name = "enclave_name"];
770
+ */
771
+ enclaveName: string;
772
+ /**
773
+ * Stores the unique identifier for the application
774
+ *
775
+ * @generated from field: string app_unique_identifier = 6 [json_name = "app_unique_identifier"];
776
+ */
777
+ appUniqueIdentifier: string;
778
+ /**
779
+ * Stores the command that starts the enclave
780
+ *
781
+ * @generated from field: string start_exec = 7 [json_name = "start_exec"];
782
+ */
783
+ startExec: string;
784
+ /**
785
+ * Stores the resources of the Enclave
786
+ *
787
+ * @generated from field: Scailo.EnclaveResources resources = 10;
788
+ */
789
+ resources?: EnclaveResources;
790
+ constructor(data?: PartialMessage<EnclaveManifest>);
791
+ static readonly runtime: typeof proto3;
792
+ static readonly typeName = "Scailo.EnclaveManifest";
793
+ static readonly fields: FieldList;
794
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveManifest;
795
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveManifest;
796
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveManifest;
797
+ static equals(a: EnclaveManifest | PlainMessage<EnclaveManifest> | undefined, b: EnclaveManifest | PlainMessage<EnclaveManifest> | undefined): boolean;
798
+ }
799
+ /**
800
+ *
801
+ * Describes the parameters that are a part of each enclave ingress
802
+ *
803
+ * @generated from message Scailo.EnclaveIngress
804
+ */
805
+ export declare class EnclaveIngress extends Message<EnclaveIngress> {
806
+ /**
807
+ * Stores a globally unique entity UUID. This will be set at the organization level
808
+ *
809
+ * @generated from field: string entity_uuid = 1;
810
+ */
811
+ entityUuid: string;
812
+ /**
813
+ * Stores the metadata of this user
814
+ *
815
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
816
+ */
817
+ metadata?: EmployeeMetadata;
818
+ /**
819
+ * Stores the unique token that can be used to identify the user who executed this enclave
820
+ *
821
+ * @generated from field: string token = 10;
822
+ */
823
+ token: string;
824
+ /**
825
+ * Stores the expiry timestamp of the ingress token
826
+ *
827
+ * @generated from field: uint64 expires_at = 11;
828
+ */
829
+ expiresAt: bigint;
830
+ /**
831
+ * Stores the ID of the file that is being executed
832
+ *
833
+ * @generated from field: uint64 vault_file_id = 20;
834
+ */
835
+ vaultFileId: bigint;
836
+ /**
837
+ * Stores the ID of the version of the file that is being executed
838
+ *
839
+ * @generated from field: uint64 vault_file_version_id = 21;
840
+ */
841
+ vaultFileVersionId: bigint;
842
+ /**
843
+ * Stores the unique identifier of the application
844
+ *
845
+ * @generated from field: string enclave_name = 22;
846
+ */
847
+ enclaveName: string;
848
+ /**
849
+ * Stores the IP address from where the app was executed
850
+ *
851
+ * @generated from field: string ip_addr = 24;
852
+ */
853
+ ipAddr: string;
854
+ /**
855
+ * Stores the ID of the user who executed this enclave
856
+ *
857
+ * @generated from field: uint64 runner_user_id = 30;
858
+ */
859
+ runnerUserId: bigint;
860
+ /**
861
+ * Stores the ID of the user when this enclave was executed
862
+ *
863
+ * @generated from field: uint64 runner_role_id = 31;
864
+ */
865
+ runnerRoleId: bigint;
866
+ /**
867
+ * Stores the endpoint of the application execution
868
+ *
869
+ * @generated from field: string app_endpoint = 60;
870
+ */
871
+ appEndpoint: string;
872
+ constructor(data?: PartialMessage<EnclaveIngress>);
873
+ static readonly runtime: typeof proto3;
874
+ static readonly typeName = "Scailo.EnclaveIngress";
875
+ static readonly fields: FieldList;
876
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveIngress;
877
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveIngress;
878
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveIngress;
879
+ static equals(a: EnclaveIngress | PlainMessage<EnclaveIngress> | undefined, b: EnclaveIngress | PlainMessage<EnclaveIngress> | undefined): boolean;
880
+ }
881
+ /**
882
+ *
883
+ * Describes the message consisting of the list of enclave ingresses
884
+ *
885
+ * @generated from message Scailo.EnclaveIngressesList
886
+ */
887
+ export declare class EnclaveIngressesList extends Message<EnclaveIngressesList> {
888
+ /**
889
+ * List of runs
890
+ *
891
+ * @generated from field: repeated Scailo.EnclaveIngress list = 1;
892
+ */
893
+ list: EnclaveIngress[];
894
+ constructor(data?: PartialMessage<EnclaveIngressesList>);
895
+ static readonly runtime: typeof proto3;
896
+ static readonly typeName = "Scailo.EnclaveIngressesList";
897
+ static readonly fields: FieldList;
898
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveIngressesList;
899
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveIngressesList;
900
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveIngressesList;
901
+ static equals(a: EnclaveIngressesList | PlainMessage<EnclaveIngressesList> | undefined, b: EnclaveIngressesList | PlainMessage<EnclaveIngressesList> | undefined): boolean;
902
+ }
903
+ /**
904
+ *
905
+ * Describes the request payload of a count filter for enclave runs
906
+ *
907
+ * @generated from message Scailo.EnclaveIngressCountReq
908
+ */
909
+ export declare class EnclaveIngressCountReq extends Message<EnclaveIngressCountReq> {
910
+ /**
911
+ * If true, then returns only active records. If false, then returns only inactive records
912
+ *
913
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
914
+ */
915
+ isActive: BOOL_FILTER;
916
+ /**
917
+ * The minimum timestamp that needs to be considered to filter by creation
918
+ *
919
+ * @generated from field: uint64 creation_timestamp_start = 101;
920
+ */
921
+ creationTimestampStart: bigint;
922
+ /**
923
+ * The maximum timestamp that needs to be considered to filter by creation
924
+ *
925
+ * @generated from field: uint64 creation_timestamp_end = 102;
926
+ */
927
+ creationTimestampEnd: bigint;
928
+ /**
929
+ * The minimum timestamp that needs to be considered to filter by modification
930
+ *
931
+ * @generated from field: uint64 modification_timestamp_start = 103;
932
+ */
933
+ modificationTimestampStart: bigint;
934
+ /**
935
+ * The maximum timestamp that needs to be considered to filter by modification
936
+ *
937
+ * @generated from field: uint64 modification_timestamp_end = 104;
938
+ */
939
+ modificationTimestampEnd: bigint;
940
+ /**
941
+ * The UUID of the file
942
+ *
943
+ * @generated from field: string vault_file_uuid = 20;
944
+ */
945
+ vaultFileUuid: string;
946
+ /**
947
+ * The UUID of the version
948
+ *
949
+ * --------------------------------------------------------
950
+ *
951
+ * @generated from field: string vault_file_version_uuid = 21;
952
+ */
953
+ vaultFileVersionUuid: string;
954
+ /**
955
+ * Stores the ID of the user who executed this enclave
956
+ *
957
+ * @generated from field: uint64 runner_user_id = 30;
958
+ */
959
+ runnerUserId: bigint;
960
+ /**
961
+ * Stores the ID of the user when this enclave was executed
962
+ *
963
+ * @generated from field: uint64 runner_role_id = 31;
964
+ */
965
+ runnerRoleId: bigint;
966
+ constructor(data?: PartialMessage<EnclaveIngressCountReq>);
967
+ static readonly runtime: typeof proto3;
968
+ static readonly typeName = "Scailo.EnclaveIngressCountReq";
969
+ static readonly fields: FieldList;
970
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveIngressCountReq;
971
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveIngressCountReq;
972
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveIngressCountReq;
973
+ static equals(a: EnclaveIngressCountReq | PlainMessage<EnclaveIngressCountReq> | undefined, b: EnclaveIngressCountReq | PlainMessage<EnclaveIngressCountReq> | undefined): boolean;
974
+ }
975
+ /**
976
+ *
977
+ * Describes the base request payload of a filter search for enclave runs
978
+ *
979
+ * @generated from message Scailo.EnclaveIngressFilterReq
980
+ */
981
+ export declare class EnclaveIngressFilterReq extends Message<EnclaveIngressFilterReq> {
982
+ /**
983
+ * If true, then returns only active records. If false, then returns only inactive records
984
+ *
985
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
986
+ */
987
+ isActive: BOOL_FILTER;
988
+ /**
989
+ * The number of records that need to be sent in the response. Returns all records if it is set to -1
990
+ *
991
+ * @generated from field: int64 count = 2;
992
+ */
993
+ count: bigint;
994
+ /**
995
+ * The number that need to be offset by before fetching the records
996
+ *
997
+ * // The sort order that is to be used to fetch the pagination response
998
+ * SORT_ORDER sort_order = 4;
999
+ * // The sort key that is to be used to fetch the pagination response
1000
+ * VAULT_SORT_KEY sort_key = 5;
1001
+ *
1002
+ * @generated from field: uint64 offset = 3;
1003
+ */
1004
+ offset: bigint;
1005
+ /**
1006
+ * The minimum timestamp that needs to be considered to filter by creation
1007
+ *
1008
+ * @generated from field: uint64 creation_timestamp_start = 101;
1009
+ */
1010
+ creationTimestampStart: bigint;
1011
+ /**
1012
+ * The maximum timestamp that needs to be considered to filter by creation
1013
+ *
1014
+ * @generated from field: uint64 creation_timestamp_end = 102;
1015
+ */
1016
+ creationTimestampEnd: bigint;
1017
+ /**
1018
+ * The minimum timestamp that needs to be considered to filter by modification
1019
+ *
1020
+ * @generated from field: uint64 modification_timestamp_start = 103;
1021
+ */
1022
+ modificationTimestampStart: bigint;
1023
+ /**
1024
+ * The maximum timestamp that needs to be considered to filter by modification
1025
+ *
1026
+ * @generated from field: uint64 modification_timestamp_end = 104;
1027
+ */
1028
+ modificationTimestampEnd: bigint;
1029
+ /**
1030
+ * The UUID of the file
1031
+ *
1032
+ * @generated from field: string vault_file_uuid = 20;
1033
+ */
1034
+ vaultFileUuid: string;
1035
+ /**
1036
+ * The UUID of the version
1037
+ *
1038
+ * --------------------------------------------------------
1039
+ *
1040
+ * @generated from field: string vault_file_version_uuid = 21;
1041
+ */
1042
+ vaultFileVersionUuid: string;
1043
+ /**
1044
+ * Stores the ID of the user who executed this enclave
1045
+ *
1046
+ * @generated from field: uint64 runner_user_id = 30;
1047
+ */
1048
+ runnerUserId: bigint;
1049
+ /**
1050
+ * Stores the ID of the user when this enclave was executed
1051
+ *
1052
+ * @generated from field: uint64 runner_role_id = 31;
1053
+ */
1054
+ runnerRoleId: bigint;
1055
+ constructor(data?: PartialMessage<EnclaveIngressFilterReq>);
1056
+ static readonly runtime: typeof proto3;
1057
+ static readonly typeName = "Scailo.EnclaveIngressFilterReq";
1058
+ static readonly fields: FieldList;
1059
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveIngressFilterReq;
1060
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveIngressFilterReq;
1061
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveIngressFilterReq;
1062
+ static equals(a: EnclaveIngressFilterReq | PlainMessage<EnclaveIngressFilterReq> | undefined, b: EnclaveIngressFilterReq | PlainMessage<EnclaveIngressFilterReq> | undefined): boolean;
1063
+ }
1064
+ /**
1065
+ *
1066
+ * The request payload to verify an enclave ingress
1067
+ *
1068
+ * @generated from message Scailo.VerifyEnclaveIngressRequest
1069
+ */
1070
+ export declare class VerifyEnclaveIngressRequest extends Message<VerifyEnclaveIngressRequest> {
1071
+ /**
1072
+ * The token that needs to be verified
1073
+ *
1074
+ * @generated from field: string token = 1;
1075
+ */
1076
+ token: string;
1077
+ constructor(data?: PartialMessage<VerifyEnclaveIngressRequest>);
1078
+ static readonly runtime: typeof proto3;
1079
+ static readonly typeName = "Scailo.VerifyEnclaveIngressRequest";
1080
+ static readonly fields: FieldList;
1081
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEnclaveIngressRequest;
1082
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEnclaveIngressRequest;
1083
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEnclaveIngressRequest;
1084
+ static equals(a: VerifyEnclaveIngressRequest | PlainMessage<VerifyEnclaveIngressRequest> | undefined, b: VerifyEnclaveIngressRequest | PlainMessage<VerifyEnclaveIngressRequest> | undefined): boolean;
1085
+ }
1086
+ /**
1087
+ *
1088
+ * The response payload to verify an enclave ingress
1089
+ *
1090
+ * @generated from message Scailo.VerifyEnclaveIngressResponse
1091
+ */
1092
+ export declare class VerifyEnclaveIngressResponse extends Message<VerifyEnclaveIngressResponse> {
1093
+ /**
1094
+ * The name of the enclave
1095
+ *
1096
+ * @generated from field: string enclave_name = 1;
1097
+ */
1098
+ enclaveName: string;
1099
+ /**
1100
+ * The UUID of the user who is running the enclave
1101
+ *
1102
+ * @generated from field: string user_uuid = 2;
1103
+ */
1104
+ userUuid: string;
1105
+ /**
1106
+ * The UUID of the user's role
1107
+ *
1108
+ * @generated from field: string role_uuid = 3;
1109
+ */
1110
+ roleUuid: string;
1111
+ /**
1112
+ * The auth token of the user that can be used for subsequent requests
1113
+ *
1114
+ * @generated from field: string auth_token = 4;
1115
+ */
1116
+ authToken: string;
1117
+ /**
1118
+ * The timestamp after which the auth token expires
1119
+ *
1120
+ * @generated from field: uint64 expires_at = 5;
1121
+ */
1122
+ expiresAt: bigint;
1123
+ constructor(data?: PartialMessage<VerifyEnclaveIngressResponse>);
1124
+ static readonly runtime: typeof proto3;
1125
+ static readonly typeName = "Scailo.VerifyEnclaveIngressResponse";
1126
+ static readonly fields: FieldList;
1127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEnclaveIngressResponse;
1128
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEnclaveIngressResponse;
1129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEnclaveIngressResponse;
1130
+ static equals(a: VerifyEnclaveIngressResponse | PlainMessage<VerifyEnclaveIngressResponse> | undefined, b: VerifyEnclaveIngressResponse | PlainMessage<VerifyEnclaveIngressResponse> | undefined): boolean;
1131
+ }
1132
+ /**
1133
+ *
1134
+ * Stores the payload that is necessary to create a custom environment variable for an enclave
1135
+ *
1136
+ * @generated from message Scailo.EnclaveEnvironmentVariableAddRequest
1137
+ */
1138
+ export declare class EnclaveEnvironmentVariableAddRequest extends Message<EnclaveEnvironmentVariableAddRequest> {
1139
+ /**
1140
+ * The UUID of the enclave file that will be updated with the given environment variable
1141
+ *
1142
+ * @generated from field: string file_uuid = 1;
1143
+ */
1144
+ fileUuid: string;
1145
+ /**
1146
+ * The name of the environment variable
1147
+ *
1148
+ * @generated from field: string name = 11;
1149
+ */
1150
+ name: string;
1151
+ /**
1152
+ * The value of the environment variable
1153
+ *
1154
+ * @generated from field: string value = 12;
1155
+ */
1156
+ value: string;
1157
+ /**
1158
+ * Denotes if the value should be stored as a secret (will not be visible to the user post creation)
1159
+ *
1160
+ * @generated from field: bool is_secret = 13;
1161
+ */
1162
+ isSecret: boolean;
1163
+ constructor(data?: PartialMessage<EnclaveEnvironmentVariableAddRequest>);
1164
+ static readonly runtime: typeof proto3;
1165
+ static readonly typeName = "Scailo.EnclaveEnvironmentVariableAddRequest";
1166
+ static readonly fields: FieldList;
1167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveEnvironmentVariableAddRequest;
1168
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariableAddRequest;
1169
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariableAddRequest;
1170
+ static equals(a: EnclaveEnvironmentVariableAddRequest | PlainMessage<EnclaveEnvironmentVariableAddRequest> | undefined, b: EnclaveEnvironmentVariableAddRequest | PlainMessage<EnclaveEnvironmentVariableAddRequest> | undefined): boolean;
1171
+ }
1172
+ /**
1173
+ *
1174
+ * Stores the payload that is necessary to update a custom environment variable for an enclave
1175
+ *
1176
+ * @generated from message Scailo.EnclaveEnvironmentVariableUpdateRequest
1177
+ */
1178
+ export declare class EnclaveEnvironmentVariableUpdateRequest extends Message<EnclaveEnvironmentVariableUpdateRequest> {
1179
+ /**
1180
+ * The UUID of the environment variables that needs to be updated
1181
+ *
1182
+ * @generated from field: string uuid = 1;
1183
+ */
1184
+ uuid: string;
1185
+ /**
1186
+ * The value of the environment variable that needs to be updated
1187
+ *
1188
+ * @generated from field: string value = 11;
1189
+ */
1190
+ value: string;
1191
+ constructor(data?: PartialMessage<EnclaveEnvironmentVariableUpdateRequest>);
1192
+ static readonly runtime: typeof proto3;
1193
+ static readonly typeName = "Scailo.EnclaveEnvironmentVariableUpdateRequest";
1194
+ static readonly fields: FieldList;
1195
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveEnvironmentVariableUpdateRequest;
1196
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariableUpdateRequest;
1197
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariableUpdateRequest;
1198
+ static equals(a: EnclaveEnvironmentVariableUpdateRequest | PlainMessage<EnclaveEnvironmentVariableUpdateRequest> | undefined, b: EnclaveEnvironmentVariableUpdateRequest | PlainMessage<EnclaveEnvironmentVariableUpdateRequest> | undefined): boolean;
1199
+ }
1200
+ /**
1201
+ *
1202
+ * Denotes an individual environment variable that is part of an enclave
1203
+ *
1204
+ * @generated from message Scailo.EnclaveEnvironmentVariable
1205
+ */
1206
+ export declare class EnclaveEnvironmentVariable extends Message<EnclaveEnvironmentVariable> {
1207
+ /**
1208
+ * Stores a globally unique entity UUID. This will be set at the organization level
1209
+ *
1210
+ * @generated from field: string entity_uuid = 1;
1211
+ */
1212
+ entityUuid: string;
1213
+ /**
1214
+ * Stores the metadata of this user
1215
+ *
1216
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
1217
+ */
1218
+ metadata?: EmployeeMetadata;
1219
+ /**
1220
+ * Stores the ID of the file that the environment variable belongs to
1221
+ *
1222
+ * @generated from field: uint64 vault_file_id = 10;
1223
+ */
1224
+ vaultFileId: bigint;
1225
+ /**
1226
+ * The name of the environment variable
1227
+ *
1228
+ * @generated from field: string name = 11;
1229
+ */
1230
+ name: string;
1231
+ /**
1232
+ * The value of the environment variable
1233
+ *
1234
+ * @generated from field: string value = 12;
1235
+ */
1236
+ value: string;
1237
+ /**
1238
+ * Denotes if the value should be stored as a secret (will not be visible to the user post creation)
1239
+ *
1240
+ * @generated from field: bool is_secret = 13;
1241
+ */
1242
+ isSecret: boolean;
1243
+ constructor(data?: PartialMessage<EnclaveEnvironmentVariable>);
1244
+ static readonly runtime: typeof proto3;
1245
+ static readonly typeName = "Scailo.EnclaveEnvironmentVariable";
1246
+ static readonly fields: FieldList;
1247
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveEnvironmentVariable;
1248
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariable;
1249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariable;
1250
+ static equals(a: EnclaveEnvironmentVariable | PlainMessage<EnclaveEnvironmentVariable> | undefined, b: EnclaveEnvironmentVariable | PlainMessage<EnclaveEnvironmentVariable> | undefined): boolean;
1251
+ }
1252
+ /**
1253
+ *
1254
+ * Denotes the list of environment variables that are part of an enclave
1255
+ *
1256
+ * @generated from message Scailo.EnclaveEnvironmentVariablesList
1257
+ */
1258
+ export declare class EnclaveEnvironmentVariablesList extends Message<EnclaveEnvironmentVariablesList> {
1259
+ /**
1260
+ * List of environment variables
1261
+ *
1262
+ * @generated from field: repeated Scailo.EnclaveEnvironmentVariable list = 1;
1263
+ */
1264
+ list: EnclaveEnvironmentVariable[];
1265
+ constructor(data?: PartialMessage<EnclaveEnvironmentVariablesList>);
1266
+ static readonly runtime: typeof proto3;
1267
+ static readonly typeName = "Scailo.EnclaveEnvironmentVariablesList";
1268
+ static readonly fields: FieldList;
1269
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveEnvironmentVariablesList;
1270
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariablesList;
1271
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariablesList;
1272
+ static equals(a: EnclaveEnvironmentVariablesList | PlainMessage<EnclaveEnvironmentVariablesList> | undefined, b: EnclaveEnvironmentVariablesList | PlainMessage<EnclaveEnvironmentVariablesList> | undefined): boolean;
1273
+ }
1274
+ /**
1275
+ *
1276
+ * Stores the payload that is necessary to create a custom domain for an enclave
1277
+ *
1278
+ * @generated from message Scailo.EnclaveDomainAddRequest
1279
+ */
1280
+ export declare class EnclaveDomainAddRequest extends Message<EnclaveDomainAddRequest> {
1281
+ /**
1282
+ * The UUID of the enclave file that will be updated with the given domain
1283
+ *
1284
+ * @generated from field: string file_uuid = 1;
1285
+ */
1286
+ fileUuid: string;
1287
+ /**
1288
+ * The domain that points to the enclave
1289
+ *
1290
+ * @generated from field: string domain = 11;
1291
+ */
1292
+ domain: string;
1293
+ constructor(data?: PartialMessage<EnclaveDomainAddRequest>);
1294
+ static readonly runtime: typeof proto3;
1295
+ static readonly typeName = "Scailo.EnclaveDomainAddRequest";
1296
+ static readonly fields: FieldList;
1297
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveDomainAddRequest;
1298
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveDomainAddRequest;
1299
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveDomainAddRequest;
1300
+ static equals(a: EnclaveDomainAddRequest | PlainMessage<EnclaveDomainAddRequest> | undefined, b: EnclaveDomainAddRequest | PlainMessage<EnclaveDomainAddRequest> | undefined): boolean;
1301
+ }
1302
+ /**
1303
+ *
1304
+ * Denotes an individual domain that is part of an enclave
1305
+ *
1306
+ * @generated from message Scailo.EnclaveDomain
1307
+ */
1308
+ export declare class EnclaveDomain extends Message<EnclaveDomain> {
1309
+ /**
1310
+ * Stores a globally unique entity UUID. This will be set at the organization level
1311
+ *
1312
+ * @generated from field: string entity_uuid = 1;
1313
+ */
1314
+ entityUuid: string;
1315
+ /**
1316
+ * Stores the metadata of this user
1317
+ *
1318
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
1319
+ */
1320
+ metadata?: EmployeeMetadata;
1321
+ /**
1322
+ * Stores the ID of the file that the domain belongs to
1323
+ *
1324
+ * @generated from field: uint64 vault_file_id = 10;
1325
+ */
1326
+ vaultFileId: bigint;
1327
+ /**
1328
+ * The domain that points to the enclave
1329
+ *
1330
+ * @generated from field: string domain = 11;
1331
+ */
1332
+ domain: string;
1333
+ /**
1334
+ * The internal address of the service that the domain points to
1335
+ *
1336
+ * @generated from field: string service_addr = 12;
1337
+ */
1338
+ serviceAddr: string;
1339
+ constructor(data?: PartialMessage<EnclaveDomain>);
1340
+ static readonly runtime: typeof proto3;
1341
+ static readonly typeName = "Scailo.EnclaveDomain";
1342
+ static readonly fields: FieldList;
1343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveDomain;
1344
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveDomain;
1345
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveDomain;
1346
+ static equals(a: EnclaveDomain | PlainMessage<EnclaveDomain> | undefined, b: EnclaveDomain | PlainMessage<EnclaveDomain> | undefined): boolean;
1347
+ }
1348
+ /**
1349
+ *
1350
+ * Describes the request payload of a enclave domains filter search
1351
+ *
1352
+ * @generated from message Scailo.EnclaveDomainsFilterReq
1353
+ */
1354
+ export declare class EnclaveDomainsFilterReq extends Message<EnclaveDomainsFilterReq> {
1355
+ /**
1356
+ * If true, then returns only active records. If false, then returns only inactive records
1357
+ *
1358
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
1359
+ */
1360
+ isActive: BOOL_FILTER;
1361
+ /**
1362
+ * The number of records that need to be sent in the response. Returns all records if it is set to -1
1363
+ *
1364
+ * @generated from field: int64 count = 2;
1365
+ */
1366
+ count: bigint;
1367
+ /**
1368
+ * The number that need to be offset by before fetching the records
1369
+ *
1370
+ * @generated from field: uint64 offset = 3;
1371
+ */
1372
+ offset: bigint;
1373
+ /**
1374
+ * The sort order that is to be used to fetch the pagination response
1375
+ *
1376
+ * @generated from field: Scailo.SORT_ORDER sort_order = 4;
1377
+ */
1378
+ sortOrder: SORT_ORDER;
1379
+ /**
1380
+ * The sort key that is to be used to fetch the pagination response
1381
+ *
1382
+ * @generated from field: Scailo.ENCLAVE_DOMAIN_SORT_KEY sort_key = 5;
1383
+ */
1384
+ sortKey: ENCLAVE_DOMAIN_SORT_KEY;
1385
+ /**
1386
+ * The minimum timestamp that needs to be considered to filter by creation
1387
+ *
1388
+ * @generated from field: uint64 creation_timestamp_start = 101;
1389
+ */
1390
+ creationTimestampStart: bigint;
1391
+ /**
1392
+ * The maximum timestamp that needs to be considered to filter by creation
1393
+ *
1394
+ * @generated from field: uint64 creation_timestamp_end = 102;
1395
+ */
1396
+ creationTimestampEnd: bigint;
1397
+ /**
1398
+ * The minimum timestamp that needs to be considered to filter by modification
1399
+ *
1400
+ * @generated from field: uint64 modification_timestamp_start = 103;
1401
+ */
1402
+ modificationTimestampStart: bigint;
1403
+ /**
1404
+ * The maximum timestamp that needs to be considered to filter by modification
1405
+ *
1406
+ * @generated from field: uint64 modification_timestamp_end = 104;
1407
+ */
1408
+ modificationTimestampEnd: bigint;
1409
+ /**
1410
+ * The entity UUID that is to be used to filter records
1411
+ *
1412
+ * @generated from field: string entity_uuid = 8;
1413
+ */
1414
+ entityUuid: string;
1415
+ /**
1416
+ * The domain that points to the enclave
1417
+ *
1418
+ * @generated from field: string domain = 11;
1419
+ */
1420
+ domain: string;
1421
+ /**
1422
+ * The internal address of the service that the domain points to
1423
+ *
1424
+ * @generated from field: string service_addr = 12;
1425
+ */
1426
+ serviceAddr: string;
1427
+ constructor(data?: PartialMessage<EnclaveDomainsFilterReq>);
1428
+ static readonly runtime: typeof proto3;
1429
+ static readonly typeName = "Scailo.EnclaveDomainsFilterReq";
1430
+ static readonly fields: FieldList;
1431
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveDomainsFilterReq;
1432
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveDomainsFilterReq;
1433
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveDomainsFilterReq;
1434
+ static equals(a: EnclaveDomainsFilterReq | PlainMessage<EnclaveDomainsFilterReq> | undefined, b: EnclaveDomainsFilterReq | PlainMessage<EnclaveDomainsFilterReq> | undefined): boolean;
1435
+ }
1436
+ /**
1437
+ *
1438
+ * Denotes the list of domains that are part of an enclave
1439
+ *
1440
+ * @generated from message Scailo.EnclaveDomainsList
1441
+ */
1442
+ export declare class EnclaveDomainsList extends Message<EnclaveDomainsList> {
1443
+ /**
1444
+ * List of domains
1445
+ *
1446
+ * @generated from field: repeated Scailo.EnclaveDomain list = 1;
1447
+ */
1448
+ list: EnclaveDomain[];
1449
+ constructor(data?: PartialMessage<EnclaveDomainsList>);
1450
+ static readonly runtime: typeof proto3;
1451
+ static readonly typeName = "Scailo.EnclaveDomainsList";
1452
+ static readonly fields: FieldList;
1453
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnclaveDomainsList;
1454
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnclaveDomainsList;
1455
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveDomainsList;
1456
+ static equals(a: EnclaveDomainsList | PlainMessage<EnclaveDomainsList> | undefined, b: EnclaveDomainsList | PlainMessage<EnclaveDomainsList> | undefined): boolean;
1457
+ }
675
1458
  /**
676
1459
  * @generated from message Scailo.VaultSearchReq
677
1460
  */