@kernelminds/scailo-sdk 0.1.7 → 0.1.9
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 +320 -1
- package/lib/cjs/types/src/vault.scailo_connect.d.ts +68 -2
- package/lib/cjs/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +232 -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 +326 -1
- package/lib/esm/types/src/vault.scailo_connect.d.ts +68 -2
- package/lib/esm/types/src/vault.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +232 -0
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -697,5 +697,71 @@ exports.VaultService = {
|
|
|
697
697
|
O: vault_commons_scailo_pb_js_1.EnclaveEnvironmentVariablesList,
|
|
698
698
|
kind: protobuf_1.MethodKind.Unary,
|
|
699
699
|
},
|
|
700
|
+
/**
|
|
701
|
+
* Add domain to enclave
|
|
702
|
+
*
|
|
703
|
+
* @generated from rpc Scailo.VaultService.AddEnclaveDomain
|
|
704
|
+
*/
|
|
705
|
+
addEnclaveDomain: {
|
|
706
|
+
name: "AddEnclaveDomain",
|
|
707
|
+
I: vault_commons_scailo_pb_js_1.EnclaveDomainAddRequest,
|
|
708
|
+
O: vault_commons_scailo_pb_js_1.EnclaveDomain,
|
|
709
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
710
|
+
},
|
|
711
|
+
/**
|
|
712
|
+
* Delete domain from enclave
|
|
713
|
+
*
|
|
714
|
+
* @generated from rpc Scailo.VaultService.DeleteEnclaveDomain
|
|
715
|
+
*/
|
|
716
|
+
deleteEnclaveDomain: {
|
|
717
|
+
name: "DeleteEnclaveDomain",
|
|
718
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
719
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
720
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
721
|
+
},
|
|
722
|
+
/**
|
|
723
|
+
* View domain for enclave represented by the Identifier
|
|
724
|
+
*
|
|
725
|
+
* @generated from rpc Scailo.VaultService.ViewEnclaveDomain
|
|
726
|
+
*/
|
|
727
|
+
viewEnclaveDomain: {
|
|
728
|
+
name: "ViewEnclaveDomain",
|
|
729
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
730
|
+
O: vault_commons_scailo_pb_js_1.EnclaveDomain,
|
|
731
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
* View all domains for enclave for the enclave represented by the Identifier
|
|
735
|
+
*
|
|
736
|
+
* @generated from rpc Scailo.VaultService.ViewAllEnclaveDomains
|
|
737
|
+
*/
|
|
738
|
+
viewAllEnclaveDomains: {
|
|
739
|
+
name: "ViewAllEnclaveDomains",
|
|
740
|
+
I: base_scailo_pb_js_1.IdentifierUUID,
|
|
741
|
+
O: vault_commons_scailo_pb_js_1.EnclaveDomainsList,
|
|
742
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
743
|
+
},
|
|
744
|
+
/**
|
|
745
|
+
* Retrieve the default domain suffix that could be used for creating a new domain
|
|
746
|
+
*
|
|
747
|
+
* @generated from rpc Scailo.VaultService.ViewDomainSuffix
|
|
748
|
+
*/
|
|
749
|
+
viewDomainSuffix: {
|
|
750
|
+
name: "ViewDomainSuffix",
|
|
751
|
+
I: base_scailo_pb_js_1.Empty,
|
|
752
|
+
O: vault_commons_scailo_pb_js_1.EnclaveDomainSuffixResp,
|
|
753
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
754
|
+
},
|
|
755
|
+
/**
|
|
756
|
+
* Filter all domains that match the given filter criteria
|
|
757
|
+
*
|
|
758
|
+
* @generated from rpc Scailo.VaultService.FilterEnclaveDomains
|
|
759
|
+
*/
|
|
760
|
+
filterEnclaveDomains: {
|
|
761
|
+
name: "FilterEnclaveDomains",
|
|
762
|
+
I: vault_commons_scailo_pb_js_1.EnclaveDomainsFilterReq,
|
|
763
|
+
O: vault_commons_scailo_pb_js_1.EnclaveDomainsList,
|
|
764
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
765
|
+
},
|
|
700
766
|
}
|
|
701
767
|
};
|
|
@@ -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.EnclaveEnvironmentVariablesList = exports.EnclaveEnvironmentVariable = exports.EnclaveEnvironmentVariableUpdateRequest = exports.EnclaveEnvironmentVariableAddRequest = exports.VerifyEnclaveIngressResponse = exports.VerifyEnclaveIngressRequest = exports.EnclaveIngressFilterReq = exports.EnclaveIngressCountReq = exports.EnclaveIngressesList = exports.EnclaveIngress = exports.EnclaveManifest = exports.EnclaveResources = exports.GiXAppRunFilterReq = exports.GiXAppRunCountReq = exports.GiXAppRunsList = exports.GiXAppRun = exports.GiXManifest = exports.GixResources = exports.VaultPermissionModifyRequest = exports.VaultPermissionAddRequest = exports.VaultPermission = exports.VAULT_ACCESS_LOG_OPERATION = exports.VAULT_SORT_KEY = exports.VAULT_PERMISSION_CODE = exports.VAULT_REF_FOR = void 0;
|
|
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.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
|
|
@@ -1641,6 +1674,292 @@ EnclaveEnvironmentVariablesList.typeName = "Scailo.EnclaveEnvironmentVariablesLi
|
|
|
1641
1674
|
EnclaveEnvironmentVariablesList.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1642
1675
|
{ no: 1, name: "list", kind: "message", T: EnclaveEnvironmentVariable, repeated: true },
|
|
1643
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
|
+
]);
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* The response that contains the default domain suffix that is used for creating enclave domains
|
|
1930
|
+
*
|
|
1931
|
+
* @generated from message Scailo.EnclaveDomainSuffixResp
|
|
1932
|
+
*/
|
|
1933
|
+
class EnclaveDomainSuffixResp extends protobuf_1.Message {
|
|
1934
|
+
constructor(data) {
|
|
1935
|
+
super();
|
|
1936
|
+
/**
|
|
1937
|
+
* The suffix that is used
|
|
1938
|
+
*
|
|
1939
|
+
* @generated from field: string suffix = 1;
|
|
1940
|
+
*/
|
|
1941
|
+
this.suffix = "";
|
|
1942
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1943
|
+
}
|
|
1944
|
+
static fromBinary(bytes, options) {
|
|
1945
|
+
return new EnclaveDomainSuffixResp().fromBinary(bytes, options);
|
|
1946
|
+
}
|
|
1947
|
+
static fromJson(jsonValue, options) {
|
|
1948
|
+
return new EnclaveDomainSuffixResp().fromJson(jsonValue, options);
|
|
1949
|
+
}
|
|
1950
|
+
static fromJsonString(jsonString, options) {
|
|
1951
|
+
return new EnclaveDomainSuffixResp().fromJsonString(jsonString, options);
|
|
1952
|
+
}
|
|
1953
|
+
static equals(a, b) {
|
|
1954
|
+
return protobuf_1.proto3.util.equals(EnclaveDomainSuffixResp, a, b);
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
exports.EnclaveDomainSuffixResp = EnclaveDomainSuffixResp;
|
|
1958
|
+
EnclaveDomainSuffixResp.runtime = protobuf_1.proto3;
|
|
1959
|
+
EnclaveDomainSuffixResp.typeName = "Scailo.EnclaveDomainSuffixResp";
|
|
1960
|
+
EnclaveDomainSuffixResp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1961
|
+
{ no: 1, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1962
|
+
]);
|
|
1644
1963
|
/**
|
|
1645
1964
|
* @generated from message Scailo.VaultSearchReq
|
|
1646
1965
|
*/
|
|
@@ -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
|
-
import { BooleanResponse, CountResponse, Identifier, IdentifierResponse, IdentifierUUID, IdentifierZeroable, StandardFile } from "./base.scailo_pb.js";
|
|
4
|
-
import { 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";
|
|
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";
|
|
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";
|
|
@@ -690,6 +690,72 @@ export declare const VaultService: {
|
|
|
690
690
|
readonly O: typeof EnclaveEnvironmentVariablesList;
|
|
691
691
|
readonly kind: MethodKind.Unary;
|
|
692
692
|
};
|
|
693
|
+
/**
|
|
694
|
+
* Add domain to enclave
|
|
695
|
+
*
|
|
696
|
+
* @generated from rpc Scailo.VaultService.AddEnclaveDomain
|
|
697
|
+
*/
|
|
698
|
+
readonly addEnclaveDomain: {
|
|
699
|
+
readonly name: "AddEnclaveDomain";
|
|
700
|
+
readonly I: typeof EnclaveDomainAddRequest;
|
|
701
|
+
readonly O: typeof EnclaveDomain;
|
|
702
|
+
readonly kind: MethodKind.Unary;
|
|
703
|
+
};
|
|
704
|
+
/**
|
|
705
|
+
* Delete domain from enclave
|
|
706
|
+
*
|
|
707
|
+
* @generated from rpc Scailo.VaultService.DeleteEnclaveDomain
|
|
708
|
+
*/
|
|
709
|
+
readonly deleteEnclaveDomain: {
|
|
710
|
+
readonly name: "DeleteEnclaveDomain";
|
|
711
|
+
readonly I: typeof IdentifierUUID;
|
|
712
|
+
readonly O: typeof IdentifierResponse;
|
|
713
|
+
readonly kind: MethodKind.Unary;
|
|
714
|
+
};
|
|
715
|
+
/**
|
|
716
|
+
* View domain for enclave represented by the Identifier
|
|
717
|
+
*
|
|
718
|
+
* @generated from rpc Scailo.VaultService.ViewEnclaveDomain
|
|
719
|
+
*/
|
|
720
|
+
readonly viewEnclaveDomain: {
|
|
721
|
+
readonly name: "ViewEnclaveDomain";
|
|
722
|
+
readonly I: typeof IdentifierUUID;
|
|
723
|
+
readonly O: typeof EnclaveDomain;
|
|
724
|
+
readonly kind: MethodKind.Unary;
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* View all domains for enclave for the enclave represented by the Identifier
|
|
728
|
+
*
|
|
729
|
+
* @generated from rpc Scailo.VaultService.ViewAllEnclaveDomains
|
|
730
|
+
*/
|
|
731
|
+
readonly viewAllEnclaveDomains: {
|
|
732
|
+
readonly name: "ViewAllEnclaveDomains";
|
|
733
|
+
readonly I: typeof IdentifierUUID;
|
|
734
|
+
readonly O: typeof EnclaveDomainsList;
|
|
735
|
+
readonly kind: MethodKind.Unary;
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* Retrieve the default domain suffix that could be used for creating a new domain
|
|
739
|
+
*
|
|
740
|
+
* @generated from rpc Scailo.VaultService.ViewDomainSuffix
|
|
741
|
+
*/
|
|
742
|
+
readonly viewDomainSuffix: {
|
|
743
|
+
readonly name: "ViewDomainSuffix";
|
|
744
|
+
readonly I: typeof Empty;
|
|
745
|
+
readonly O: typeof EnclaveDomainSuffixResp;
|
|
746
|
+
readonly kind: MethodKind.Unary;
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* Filter all domains that match the given filter criteria
|
|
750
|
+
*
|
|
751
|
+
* @generated from rpc Scailo.VaultService.FilterEnclaveDomains
|
|
752
|
+
*/
|
|
753
|
+
readonly filterEnclaveDomains: {
|
|
754
|
+
readonly name: "FilterEnclaveDomains";
|
|
755
|
+
readonly I: typeof EnclaveDomainsFilterReq;
|
|
756
|
+
readonly O: typeof EnclaveDomainsList;
|
|
757
|
+
readonly kind: MethodKind.Unary;
|
|
758
|
+
};
|
|
693
759
|
};
|
|
694
760
|
};
|
|
695
761
|
//# 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,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