@kernelminds/scailo-sdk 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/src/vault.scailo_connect.js +66 -0
- package/lib/cjs/src/vault_commons.scailo_pb.js +343 -1
- package/lib/cjs/types/src/vault.scailo_connect.d.ts +67 -1
- package/lib/cjs/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +254 -0
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/vault.scailo_connect.js +66 -0
- package/lib/esm/src/vault_commons.scailo_pb.js +349 -1
- package/lib/esm/types/src/vault.scailo_connect.d.ts +67 -1
- package/lib/esm/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +254 -0
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -763,5 +763,71 @@ exports.VaultService = {
|
|
|
763
763
|
O: vault_commons_scailo_pb_js_1.EnclaveDomainsList,
|
|
764
764
|
kind: protobuf_1.MethodKind.Unary,
|
|
765
765
|
},
|
|
766
|
+
/**
|
|
767
|
+
* Adds an enclave as a dashboard frame. The file needs to be an enclave. Returns an error otherwise
|
|
768
|
+
*
|
|
769
|
+
* @generated from rpc Scailo.VaultService.AddEnclaveFrame
|
|
770
|
+
*/
|
|
771
|
+
addEnclaveFrame: {
|
|
772
|
+
name: "AddEnclaveFrame",
|
|
773
|
+
I: vault_commons_scailo_pb_js_1.EnclaveFrameAddRequest,
|
|
774
|
+
O: vault_commons_scailo_pb_js_1.EnclaveFrame,
|
|
775
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
776
|
+
},
|
|
777
|
+
/**
|
|
778
|
+
* View the properties of a frame
|
|
779
|
+
*
|
|
780
|
+
* @generated from rpc Scailo.VaultService.ViewEnclaveFrame
|
|
781
|
+
*/
|
|
782
|
+
viewEnclaveFrame: {
|
|
783
|
+
name: "ViewEnclaveFrame",
|
|
784
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
785
|
+
O: vault_commons_scailo_pb_js_1.EnclaveFrame,
|
|
786
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
787
|
+
},
|
|
788
|
+
/**
|
|
789
|
+
* Update the properties of a frame
|
|
790
|
+
*
|
|
791
|
+
* @generated from rpc Scailo.VaultService.UpdateEnclaveFrame
|
|
792
|
+
*/
|
|
793
|
+
updateEnclaveFrame: {
|
|
794
|
+
name: "UpdateEnclaveFrame",
|
|
795
|
+
I: vault_commons_scailo_pb_js_1.EnclaveFrameUpdateRequest,
|
|
796
|
+
O: vault_commons_scailo_pb_js_1.EnclaveFrame,
|
|
797
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
* Delete the dashboard frame
|
|
801
|
+
*
|
|
802
|
+
* @generated from rpc Scailo.VaultService.DeleteEnclaveFrame
|
|
803
|
+
*/
|
|
804
|
+
deleteEnclaveFrame: {
|
|
805
|
+
name: "DeleteEnclaveFrame",
|
|
806
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
807
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
808
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
809
|
+
},
|
|
810
|
+
/**
|
|
811
|
+
* Returns the endpoint that could be used to render a frame
|
|
812
|
+
*
|
|
813
|
+
* @generated from rpc Scailo.VaultService.SetupEnclaveFrame
|
|
814
|
+
*/
|
|
815
|
+
setupEnclaveFrame: {
|
|
816
|
+
name: "SetupEnclaveFrame",
|
|
817
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
818
|
+
O: vault_commons_scailo_pb_js_1.EnclaveFrameSetup,
|
|
819
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
820
|
+
},
|
|
821
|
+
/**
|
|
822
|
+
* Returns all the endpoints that could be used to render frames for the identified user. This can be primary used to render all the frames on a user's dashboard, for example.
|
|
823
|
+
*
|
|
824
|
+
* @generated from rpc Scailo.VaultService.SetupAllEnclaveFrames
|
|
825
|
+
*/
|
|
826
|
+
setupAllEnclaveFrames: {
|
|
827
|
+
name: "SetupAllEnclaveFrames",
|
|
828
|
+
I: base_scailo_pb_js_1.Empty,
|
|
829
|
+
O: vault_commons_scailo_pb_js_1.EnclaveFrameSetupList,
|
|
830
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
831
|
+
},
|
|
766
832
|
}
|
|
767
833
|
};
|
|
@@ -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.EnclaveDomainSuffixResp = 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.EnclaveManifestEnvVariable = 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;
|
|
7
|
+
exports.VaultAccessLogsList = exports.VaultAccessLogCreateRequest = exports.VaultAccessLog = exports.VaultDuplicateCheckReq = exports.VaultSearchResponsesList = exports.VaultSearchResponse = exports.VaultSearchReq = exports.EnclaveFrameSetupList = exports.EnclaveFrameSetup = exports.EnclaveFrame = exports.EnclaveFrameUpdateRequest = exports.EnclaveFrameAddRequest = exports.EnclaveDomainSuffixResp = 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.EnclaveManifestEnvVariable = 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
|
/**
|
|
@@ -2031,6 +2031,348 @@ EnclaveDomainSuffixResp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
2031
2031
|
{ no: 1, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2032
2032
|
{ no: 2, name: "relay", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2033
2033
|
]);
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* Stores the payload that is necessary to create a custom frame for an enclave
|
|
2037
|
+
*
|
|
2038
|
+
* @generated from message Scailo.EnclaveFrameAddRequest
|
|
2039
|
+
*/
|
|
2040
|
+
class EnclaveFrameAddRequest extends protobuf_1.Message {
|
|
2041
|
+
constructor(data) {
|
|
2042
|
+
super();
|
|
2043
|
+
/**
|
|
2044
|
+
* The UUID of the enclave file that will be updated with the given frame
|
|
2045
|
+
*
|
|
2046
|
+
* @generated from field: string file_uuid = 1;
|
|
2047
|
+
*/
|
|
2048
|
+
this.fileUuid = "";
|
|
2049
|
+
/**
|
|
2050
|
+
* The sequence number of the frame
|
|
2051
|
+
*
|
|
2052
|
+
* @generated from field: uint64 sequence_number = 10;
|
|
2053
|
+
*/
|
|
2054
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2055
|
+
/**
|
|
2056
|
+
* The time in seconds after which the frame needs to be refreshed. O denotes no auto refresh.
|
|
2057
|
+
*
|
|
2058
|
+
* @generated from field: uint64 auto_refresh_interval = 11;
|
|
2059
|
+
*/
|
|
2060
|
+
this.autoRefreshInterval = protobuf_1.protoInt64.zero;
|
|
2061
|
+
/**
|
|
2062
|
+
* The width of the frame, with the possible values being 3, 4, 6, 8, 9, and 12
|
|
2063
|
+
*
|
|
2064
|
+
* @generated from field: uint64 width = 12;
|
|
2065
|
+
*/
|
|
2066
|
+
this.width = protobuf_1.protoInt64.zero;
|
|
2067
|
+
/**
|
|
2068
|
+
* The height of the frame in vh (viewport height)
|
|
2069
|
+
*
|
|
2070
|
+
* @generated from field: uint64 height = 13;
|
|
2071
|
+
*/
|
|
2072
|
+
this.height = protobuf_1.protoInt64.zero;
|
|
2073
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2074
|
+
}
|
|
2075
|
+
static fromBinary(bytes, options) {
|
|
2076
|
+
return new EnclaveFrameAddRequest().fromBinary(bytes, options);
|
|
2077
|
+
}
|
|
2078
|
+
static fromJson(jsonValue, options) {
|
|
2079
|
+
return new EnclaveFrameAddRequest().fromJson(jsonValue, options);
|
|
2080
|
+
}
|
|
2081
|
+
static fromJsonString(jsonString, options) {
|
|
2082
|
+
return new EnclaveFrameAddRequest().fromJsonString(jsonString, options);
|
|
2083
|
+
}
|
|
2084
|
+
static equals(a, b) {
|
|
2085
|
+
return protobuf_1.proto3.util.equals(EnclaveFrameAddRequest, a, b);
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
exports.EnclaveFrameAddRequest = EnclaveFrameAddRequest;
|
|
2089
|
+
EnclaveFrameAddRequest.runtime = protobuf_1.proto3;
|
|
2090
|
+
EnclaveFrameAddRequest.typeName = "Scailo.EnclaveFrameAddRequest";
|
|
2091
|
+
EnclaveFrameAddRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2092
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2093
|
+
{ no: 10, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2094
|
+
{ no: 11, name: "auto_refresh_interval", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2095
|
+
{ no: 12, name: "width", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2096
|
+
{ no: 13, name: "height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2097
|
+
]);
|
|
2098
|
+
/**
|
|
2099
|
+
*
|
|
2100
|
+
* Stores the payload that is necessary to update a custom frame for an enclave
|
|
2101
|
+
*
|
|
2102
|
+
* @generated from message Scailo.EnclaveFrameUpdateRequest
|
|
2103
|
+
*/
|
|
2104
|
+
class EnclaveFrameUpdateRequest extends protobuf_1.Message {
|
|
2105
|
+
constructor(data) {
|
|
2106
|
+
super();
|
|
2107
|
+
/**
|
|
2108
|
+
* The UUID of the frame that needs to be updated
|
|
2109
|
+
*
|
|
2110
|
+
* @generated from field: string uuid = 1;
|
|
2111
|
+
*/
|
|
2112
|
+
this.uuid = "";
|
|
2113
|
+
/**
|
|
2114
|
+
* The sequence number of the frame
|
|
2115
|
+
*
|
|
2116
|
+
* @generated from field: uint64 sequence_number = 10;
|
|
2117
|
+
*/
|
|
2118
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2119
|
+
/**
|
|
2120
|
+
* The time in seconds after which the frame needs to be refreshed
|
|
2121
|
+
*
|
|
2122
|
+
* @generated from field: uint64 auto_refresh_interval = 11;
|
|
2123
|
+
*/
|
|
2124
|
+
this.autoRefreshInterval = protobuf_1.protoInt64.zero;
|
|
2125
|
+
/**
|
|
2126
|
+
* The width of the frame, with the possible values being 3, 4, 6, 8, 9, and 12
|
|
2127
|
+
*
|
|
2128
|
+
* @generated from field: uint64 width = 12;
|
|
2129
|
+
*/
|
|
2130
|
+
this.width = protobuf_1.protoInt64.zero;
|
|
2131
|
+
/**
|
|
2132
|
+
* The height of the frame in vh (viewport height)
|
|
2133
|
+
*
|
|
2134
|
+
* @generated from field: uint64 height = 13;
|
|
2135
|
+
*/
|
|
2136
|
+
this.height = protobuf_1.protoInt64.zero;
|
|
2137
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2138
|
+
}
|
|
2139
|
+
static fromBinary(bytes, options) {
|
|
2140
|
+
return new EnclaveFrameUpdateRequest().fromBinary(bytes, options);
|
|
2141
|
+
}
|
|
2142
|
+
static fromJson(jsonValue, options) {
|
|
2143
|
+
return new EnclaveFrameUpdateRequest().fromJson(jsonValue, options);
|
|
2144
|
+
}
|
|
2145
|
+
static fromJsonString(jsonString, options) {
|
|
2146
|
+
return new EnclaveFrameUpdateRequest().fromJsonString(jsonString, options);
|
|
2147
|
+
}
|
|
2148
|
+
static equals(a, b) {
|
|
2149
|
+
return protobuf_1.proto3.util.equals(EnclaveFrameUpdateRequest, a, b);
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
exports.EnclaveFrameUpdateRequest = EnclaveFrameUpdateRequest;
|
|
2153
|
+
EnclaveFrameUpdateRequest.runtime = protobuf_1.proto3;
|
|
2154
|
+
EnclaveFrameUpdateRequest.typeName = "Scailo.EnclaveFrameUpdateRequest";
|
|
2155
|
+
EnclaveFrameUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2156
|
+
{ no: 1, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2157
|
+
{ no: 10, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2158
|
+
{ no: 11, name: "auto_refresh_interval", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2159
|
+
{ no: 12, name: "width", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2160
|
+
{ no: 13, name: "height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2161
|
+
]);
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* Denotes an individual frame that is part of an enclave
|
|
2165
|
+
*
|
|
2166
|
+
* @generated from message Scailo.EnclaveFrame
|
|
2167
|
+
*/
|
|
2168
|
+
class EnclaveFrame extends protobuf_1.Message {
|
|
2169
|
+
constructor(data) {
|
|
2170
|
+
super();
|
|
2171
|
+
/**
|
|
2172
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
2173
|
+
*
|
|
2174
|
+
* @generated from field: string entity_uuid = 1;
|
|
2175
|
+
*/
|
|
2176
|
+
this.entityUuid = "";
|
|
2177
|
+
/**
|
|
2178
|
+
* Stores the ID of the user that the frame belongs to
|
|
2179
|
+
*
|
|
2180
|
+
* @generated from field: uint64 user_id = 10;
|
|
2181
|
+
*/
|
|
2182
|
+
this.userId = protobuf_1.protoInt64.zero;
|
|
2183
|
+
/**
|
|
2184
|
+
* Stores the ID of the file that is used to render the frame
|
|
2185
|
+
*
|
|
2186
|
+
* @generated from field: uint64 vault_file_id = 11;
|
|
2187
|
+
*/
|
|
2188
|
+
this.vaultFileId = protobuf_1.protoInt64.zero;
|
|
2189
|
+
/**
|
|
2190
|
+
* The sequence number of the frame
|
|
2191
|
+
*
|
|
2192
|
+
* @generated from field: uint64 sequence_number = 20;
|
|
2193
|
+
*/
|
|
2194
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2195
|
+
/**
|
|
2196
|
+
* The time in seconds after which the frame needs to be refreshed
|
|
2197
|
+
*
|
|
2198
|
+
* @generated from field: uint64 auto_refresh_interval = 21;
|
|
2199
|
+
*/
|
|
2200
|
+
this.autoRefreshInterval = protobuf_1.protoInt64.zero;
|
|
2201
|
+
/**
|
|
2202
|
+
* The width of the frame, with the possible values being 3, 4, 6, 8, 9, and 12
|
|
2203
|
+
*
|
|
2204
|
+
* @generated from field: uint64 width = 22;
|
|
2205
|
+
*/
|
|
2206
|
+
this.width = protobuf_1.protoInt64.zero;
|
|
2207
|
+
/**
|
|
2208
|
+
* The height of the frame in vh (viewport height)
|
|
2209
|
+
*
|
|
2210
|
+
* @generated from field: uint64 height = 23;
|
|
2211
|
+
*/
|
|
2212
|
+
this.height = protobuf_1.protoInt64.zero;
|
|
2213
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2214
|
+
}
|
|
2215
|
+
static fromBinary(bytes, options) {
|
|
2216
|
+
return new EnclaveFrame().fromBinary(bytes, options);
|
|
2217
|
+
}
|
|
2218
|
+
static fromJson(jsonValue, options) {
|
|
2219
|
+
return new EnclaveFrame().fromJson(jsonValue, options);
|
|
2220
|
+
}
|
|
2221
|
+
static fromJsonString(jsonString, options) {
|
|
2222
|
+
return new EnclaveFrame().fromJsonString(jsonString, options);
|
|
2223
|
+
}
|
|
2224
|
+
static equals(a, b) {
|
|
2225
|
+
return protobuf_1.proto3.util.equals(EnclaveFrame, a, b);
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
exports.EnclaveFrame = EnclaveFrame;
|
|
2229
|
+
EnclaveFrame.runtime = protobuf_1.proto3;
|
|
2230
|
+
EnclaveFrame.typeName = "Scailo.EnclaveFrame";
|
|
2231
|
+
EnclaveFrame.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2232
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2233
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
2234
|
+
{ no: 10, name: "user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2235
|
+
{ no: 11, name: "vault_file_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2236
|
+
{ no: 20, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2237
|
+
{ no: 21, name: "auto_refresh_interval", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2238
|
+
{ no: 22, name: "width", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2239
|
+
{ no: 23, name: "height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2240
|
+
]);
|
|
2241
|
+
/**
|
|
2242
|
+
*
|
|
2243
|
+
* Describes the data that is returned after setting up a frame
|
|
2244
|
+
*
|
|
2245
|
+
* @generated from message Scailo.EnclaveFrameSetup
|
|
2246
|
+
*/
|
|
2247
|
+
class EnclaveFrameSetup extends protobuf_1.Message {
|
|
2248
|
+
constructor(data) {
|
|
2249
|
+
super();
|
|
2250
|
+
/**
|
|
2251
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
2252
|
+
*
|
|
2253
|
+
* @generated from field: string entity_uuid = 1;
|
|
2254
|
+
*/
|
|
2255
|
+
this.entityUuid = "";
|
|
2256
|
+
/**
|
|
2257
|
+
* Stores the expiry timestamp of the frame
|
|
2258
|
+
*
|
|
2259
|
+
* @generated from field: uint64 expires_at = 10;
|
|
2260
|
+
*/
|
|
2261
|
+
this.expiresAt = protobuf_1.protoInt64.zero;
|
|
2262
|
+
/**
|
|
2263
|
+
* Stores the unique identifier of the application
|
|
2264
|
+
*
|
|
2265
|
+
* @generated from field: string enclave_name = 12;
|
|
2266
|
+
*/
|
|
2267
|
+
this.enclaveName = "";
|
|
2268
|
+
/**
|
|
2269
|
+
* Stores the endpoint of the application execution
|
|
2270
|
+
*
|
|
2271
|
+
* @generated from field: string app_endpoint = 13;
|
|
2272
|
+
*/
|
|
2273
|
+
this.appEndpoint = "";
|
|
2274
|
+
/**
|
|
2275
|
+
* Stores the UUID of the enclave frame
|
|
2276
|
+
*
|
|
2277
|
+
* @generated from field: string enclave_frame_uuid = 20;
|
|
2278
|
+
*/
|
|
2279
|
+
this.enclaveFrameUuid = "";
|
|
2280
|
+
/**
|
|
2281
|
+
* Stores the UUID of the file
|
|
2282
|
+
*
|
|
2283
|
+
* @generated from field: string file_uuid = 21;
|
|
2284
|
+
*/
|
|
2285
|
+
this.fileUuid = "";
|
|
2286
|
+
/**
|
|
2287
|
+
* The sequence number of the frame
|
|
2288
|
+
*
|
|
2289
|
+
* @generated from field: uint64 sequence_number = 30;
|
|
2290
|
+
*/
|
|
2291
|
+
this.sequenceNumber = protobuf_1.protoInt64.zero;
|
|
2292
|
+
/**
|
|
2293
|
+
* The time in seconds after which the frame needs to be refreshed
|
|
2294
|
+
*
|
|
2295
|
+
* @generated from field: uint64 auto_refresh_interval = 31;
|
|
2296
|
+
*/
|
|
2297
|
+
this.autoRefreshInterval = protobuf_1.protoInt64.zero;
|
|
2298
|
+
/**
|
|
2299
|
+
* The width of the frame, with the possible values being 3, 4, 6, 8, 9, and 12
|
|
2300
|
+
*
|
|
2301
|
+
* @generated from field: uint64 width = 32;
|
|
2302
|
+
*/
|
|
2303
|
+
this.width = protobuf_1.protoInt64.zero;
|
|
2304
|
+
/**
|
|
2305
|
+
* The height of the frame in vh (viewport height)
|
|
2306
|
+
*
|
|
2307
|
+
* @generated from field: uint64 height = 33;
|
|
2308
|
+
*/
|
|
2309
|
+
this.height = protobuf_1.protoInt64.zero;
|
|
2310
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2311
|
+
}
|
|
2312
|
+
static fromBinary(bytes, options) {
|
|
2313
|
+
return new EnclaveFrameSetup().fromBinary(bytes, options);
|
|
2314
|
+
}
|
|
2315
|
+
static fromJson(jsonValue, options) {
|
|
2316
|
+
return new EnclaveFrameSetup().fromJson(jsonValue, options);
|
|
2317
|
+
}
|
|
2318
|
+
static fromJsonString(jsonString, options) {
|
|
2319
|
+
return new EnclaveFrameSetup().fromJsonString(jsonString, options);
|
|
2320
|
+
}
|
|
2321
|
+
static equals(a, b) {
|
|
2322
|
+
return protobuf_1.proto3.util.equals(EnclaveFrameSetup, a, b);
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
exports.EnclaveFrameSetup = EnclaveFrameSetup;
|
|
2326
|
+
EnclaveFrameSetup.runtime = protobuf_1.proto3;
|
|
2327
|
+
EnclaveFrameSetup.typeName = "Scailo.EnclaveFrameSetup";
|
|
2328
|
+
EnclaveFrameSetup.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2329
|
+
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2330
|
+
{ no: 10, name: "expires_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2331
|
+
{ no: 12, name: "enclave_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2332
|
+
{ no: 13, name: "app_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2333
|
+
{ no: 20, name: "enclave_frame_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2334
|
+
{ no: 21, name: "file_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2335
|
+
{ no: 30, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2336
|
+
{ no: 31, name: "auto_refresh_interval", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2337
|
+
{ no: 32, name: "width", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2338
|
+
{ no: 33, name: "height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2339
|
+
]);
|
|
2340
|
+
/**
|
|
2341
|
+
*
|
|
2342
|
+
* Describes the list of enclave frames that have been setup
|
|
2343
|
+
*
|
|
2344
|
+
* @generated from message Scailo.EnclaveFrameSetupList
|
|
2345
|
+
*/
|
|
2346
|
+
class EnclaveFrameSetupList extends protobuf_1.Message {
|
|
2347
|
+
constructor(data) {
|
|
2348
|
+
super();
|
|
2349
|
+
/**
|
|
2350
|
+
* List of setup frames
|
|
2351
|
+
*
|
|
2352
|
+
* @generated from field: repeated Scailo.EnclaveFrameSetup list = 1;
|
|
2353
|
+
*/
|
|
2354
|
+
this.list = [];
|
|
2355
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2356
|
+
}
|
|
2357
|
+
static fromBinary(bytes, options) {
|
|
2358
|
+
return new EnclaveFrameSetupList().fromBinary(bytes, options);
|
|
2359
|
+
}
|
|
2360
|
+
static fromJson(jsonValue, options) {
|
|
2361
|
+
return new EnclaveFrameSetupList().fromJson(jsonValue, options);
|
|
2362
|
+
}
|
|
2363
|
+
static fromJsonString(jsonString, options) {
|
|
2364
|
+
return new EnclaveFrameSetupList().fromJsonString(jsonString, options);
|
|
2365
|
+
}
|
|
2366
|
+
static equals(a, b) {
|
|
2367
|
+
return protobuf_1.proto3.util.equals(EnclaveFrameSetupList, a, b);
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
exports.EnclaveFrameSetupList = EnclaveFrameSetupList;
|
|
2371
|
+
EnclaveFrameSetupList.runtime = protobuf_1.proto3;
|
|
2372
|
+
EnclaveFrameSetupList.typeName = "Scailo.EnclaveFrameSetupList";
|
|
2373
|
+
EnclaveFrameSetupList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2374
|
+
{ no: 1, name: "list", kind: "message", T: EnclaveFrameSetup, repeated: true },
|
|
2375
|
+
]);
|
|
2034
2376
|
/**
|
|
2035
2377
|
* @generated from message Scailo.VaultSearchReq
|
|
2036
2378
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VaultFile, VaultFileAddChunkRequest, VaultFileInitiateFileRequest, VaultFileInitiateFileResponse, VaultFileMoveFileRequest, VaultFileRenameFileRequest, VaultFilesList, VaultFileUnzipRequest, VaultFileVersionChunk, VaultFileVersionsList } from "./vault_files.scailo_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
import { BooleanResponse, CountResponse, Empty, Identifier, IdentifierResponse, IdentifierUUID, IdentifierZeroable, StandardFile } from "./base.scailo_pb.js";
|
|
4
|
-
import { EnclaveDomain, EnclaveDomainAddRequest, EnclaveDomainsFilterReq, EnclaveDomainsList, EnclaveDomainSuffixResp, EnclaveEnvironmentVariable, EnclaveEnvironmentVariableAddRequest, EnclaveEnvironmentVariablesList, EnclaveEnvironmentVariableUpdateRequest, EnclaveIngress, EnclaveIngressCountReq, EnclaveIngressesList, EnclaveIngressFilterReq, GiXAppRun, GiXAppRunCountReq, GiXAppRunFilterReq, GiXAppRunsList, VaultAccessLogsList, VaultDuplicateCheckReq, VaultPermission, VaultPermissionAddRequest, VaultPermissionModifyRequest, VaultSearchReq, VaultSearchResponsesList, VerifyEnclaveIngressRequest, VerifyEnclaveIngressResponse } from "./vault_commons.scailo_pb.js";
|
|
4
|
+
import { EnclaveDomain, EnclaveDomainAddRequest, EnclaveDomainsFilterReq, EnclaveDomainsList, EnclaveDomainSuffixResp, EnclaveEnvironmentVariable, EnclaveEnvironmentVariableAddRequest, EnclaveEnvironmentVariablesList, EnclaveEnvironmentVariableUpdateRequest, EnclaveFrame, EnclaveFrameAddRequest, EnclaveFrameSetup, EnclaveFrameSetupList, EnclaveFrameUpdateRequest, EnclaveIngress, EnclaveIngressCountReq, EnclaveIngressesList, EnclaveIngressFilterReq, GiXAppRun, GiXAppRunCountReq, GiXAppRunFilterReq, GiXAppRunsList, VaultAccessLogsList, VaultDuplicateCheckReq, VaultPermission, VaultPermissionAddRequest, VaultPermissionModifyRequest, VaultSearchReq, VaultSearchResponsesList, VerifyEnclaveIngressRequest, VerifyEnclaveIngressResponse } from "./vault_commons.scailo_pb.js";
|
|
5
5
|
import { VaultFolder, VaultFolderAddRequest, VaultFolderDownload, VaultFolderMoveFolderRequest, VaultFolderRenameFolderRequest, VaultFoldersList } from "./vault_folders.scailo_pb.js";
|
|
6
6
|
import { GiXRelayReqWithBody, GiXRelayReqWithoutBody, GiXRelayResponse, VaultResourcesList } from "./vault.scailo_pb.js";
|
|
7
7
|
import { RolesList } from "./roles.scailo_pb.js";
|
|
@@ -756,6 +756,72 @@ export declare const VaultService: {
|
|
|
756
756
|
readonly O: typeof EnclaveDomainsList;
|
|
757
757
|
readonly kind: MethodKind.Unary;
|
|
758
758
|
};
|
|
759
|
+
/**
|
|
760
|
+
* Adds an enclave as a dashboard frame. The file needs to be an enclave. Returns an error otherwise
|
|
761
|
+
*
|
|
762
|
+
* @generated from rpc Scailo.VaultService.AddEnclaveFrame
|
|
763
|
+
*/
|
|
764
|
+
readonly addEnclaveFrame: {
|
|
765
|
+
readonly name: "AddEnclaveFrame";
|
|
766
|
+
readonly I: typeof EnclaveFrameAddRequest;
|
|
767
|
+
readonly O: typeof EnclaveFrame;
|
|
768
|
+
readonly kind: MethodKind.Unary;
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* View the properties of a frame
|
|
772
|
+
*
|
|
773
|
+
* @generated from rpc Scailo.VaultService.ViewEnclaveFrame
|
|
774
|
+
*/
|
|
775
|
+
readonly viewEnclaveFrame: {
|
|
776
|
+
readonly name: "ViewEnclaveFrame";
|
|
777
|
+
readonly I: typeof IdentifierUUID;
|
|
778
|
+
readonly O: typeof EnclaveFrame;
|
|
779
|
+
readonly kind: MethodKind.Unary;
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* Update the properties of a frame
|
|
783
|
+
*
|
|
784
|
+
* @generated from rpc Scailo.VaultService.UpdateEnclaveFrame
|
|
785
|
+
*/
|
|
786
|
+
readonly updateEnclaveFrame: {
|
|
787
|
+
readonly name: "UpdateEnclaveFrame";
|
|
788
|
+
readonly I: typeof EnclaveFrameUpdateRequest;
|
|
789
|
+
readonly O: typeof EnclaveFrame;
|
|
790
|
+
readonly kind: MethodKind.Unary;
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* Delete the dashboard frame
|
|
794
|
+
*
|
|
795
|
+
* @generated from rpc Scailo.VaultService.DeleteEnclaveFrame
|
|
796
|
+
*/
|
|
797
|
+
readonly deleteEnclaveFrame: {
|
|
798
|
+
readonly name: "DeleteEnclaveFrame";
|
|
799
|
+
readonly I: typeof IdentifierUUID;
|
|
800
|
+
readonly O: typeof IdentifierResponse;
|
|
801
|
+
readonly kind: MethodKind.Unary;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Returns the endpoint that could be used to render a frame
|
|
805
|
+
*
|
|
806
|
+
* @generated from rpc Scailo.VaultService.SetupEnclaveFrame
|
|
807
|
+
*/
|
|
808
|
+
readonly setupEnclaveFrame: {
|
|
809
|
+
readonly name: "SetupEnclaveFrame";
|
|
810
|
+
readonly I: typeof IdentifierUUID;
|
|
811
|
+
readonly O: typeof EnclaveFrameSetup;
|
|
812
|
+
readonly kind: MethodKind.Unary;
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* Returns all the endpoints that could be used to render frames for the identified user. This can be primary used to render all the frames on a user's dashboard, for example.
|
|
816
|
+
*
|
|
817
|
+
* @generated from rpc Scailo.VaultService.SetupAllEnclaveFrames
|
|
818
|
+
*/
|
|
819
|
+
readonly setupAllEnclaveFrames: {
|
|
820
|
+
readonly name: "SetupAllEnclaveFrames";
|
|
821
|
+
readonly I: typeof Empty;
|
|
822
|
+
readonly O: typeof EnclaveFrameSetupList;
|
|
823
|
+
readonly kind: MethodKind.Unary;
|
|
824
|
+
};
|
|
759
825
|
};
|
|
760
826
|
};
|
|
761
827
|
//# sourceMappingURL=vault.scailo_connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vault.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/vault.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACzR,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9J,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oCAAoC,EAAE,+BAA+B,EAAE,uCAAuC,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,SAAS,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,eAAe,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,cAAc,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"vault.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/vault.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACzR,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,KAAK,EAA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