@kernelminds/scailo-sdk 0.1.7 → 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.
@@ -697,5 +697,60 @@ 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
+ * Filter all domains that match the given filter criteria
746
+ *
747
+ * @generated from rpc Scailo.VaultService.FilterEnclaveDomains
748
+ */
749
+ filterEnclaveDomains: {
750
+ name: "FilterEnclaveDomains",
751
+ I: vault_commons_scailo_pb_js_1.EnclaveDomainsFilterReq,
752
+ O: vault_commons_scailo_pb_js_1.EnclaveDomainsList,
753
+ kind: protobuf_1.MethodKind.Unary,
754
+ },
700
755
  }
701
756
  };
@@ -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.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,256 @@ 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
+ ]);
1644
1927
  /**
1645
1928
  * @generated from message Scailo.VaultSearchReq
1646
1929
  */
@@ -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, 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";
4
+ import { EnclaveDomain, EnclaveDomainAddRequest, EnclaveDomainsFilterReq, EnclaveDomainsList, 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,61 @@ 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
+ * Filter all domains that match the given filter criteria
739
+ *
740
+ * @generated from rpc Scailo.VaultService.FilterEnclaveDomains
741
+ */
742
+ readonly filterEnclaveDomains: {
743
+ readonly name: "FilterEnclaveDomains";
744
+ readonly I: typeof EnclaveDomainsFilterReq;
745
+ readonly O: typeof EnclaveDomainsList;
746
+ readonly kind: MethodKind.Unary;
747
+ };
693
748
  };
694
749
  };
695
750
  //# 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,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACvJ,OAAO,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;AAC/iB,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvL,OAAO,EAAE,mBAAmB,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H;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
@@ -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
@@ -1245,6 +1271,190 @@ export declare class EnclaveEnvironmentVariablesList extends Message<EnclaveEnvi
1245
1271
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnclaveEnvironmentVariablesList;
1246
1272
  static equals(a: EnclaveEnvironmentVariablesList | PlainMessage<EnclaveEnvironmentVariablesList> | undefined, b: EnclaveEnvironmentVariablesList | PlainMessage<EnclaveEnvironmentVariablesList> | undefined): boolean;
1247
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
+ }
1248
1458
  /**
1249
1459
  * @generated from message Scailo.VaultSearchReq
1250
1460
  */