@opentdf/sdk 0.3.0 → 0.3.2-beta.1
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/dist/cjs/src/access/access-fetch.js +155 -0
- package/dist/cjs/src/access/access-rpc.js +131 -0
- package/dist/cjs/src/access.js +81 -107
- package/dist/cjs/src/auth/oidc.js +2 -2
- package/dist/cjs/src/nanotdf/Client.js +17 -13
- package/dist/cjs/src/nanotdf/models/Header.js +2 -2
- package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/cjs/src/opentdf.js +43 -9
- package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
- package/dist/cjs/src/platform/common/common_pb.js +79 -0
- package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
- package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
- package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
- package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
- package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
- package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
- package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
- package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
- package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
- package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
- package/dist/cjs/src/platform.js +124 -0
- package/dist/cjs/src/policy/api.js +21 -38
- package/dist/cjs/src/policy/attributes.js +4 -1
- package/dist/cjs/src/policy/granter.js +9 -9
- package/dist/cjs/src/utils.js +31 -1
- package/dist/cjs/src/version.js +2 -2
- package/dist/cjs/tdf3/src/assertions.js +5 -5
- package/dist/cjs/tdf3/src/client/index.js +24 -18
- package/dist/cjs/tdf3/src/tdf.js +16 -10
- package/dist/types/src/access/access-fetch.d.ts +21 -0
- package/dist/types/src/access/access-fetch.d.ts.map +1 -0
- package/dist/types/src/access/access-rpc.d.ts +22 -0
- package/dist/types/src/access/access-rpc.d.ts.map +1 -0
- package/dist/types/src/access.d.ts +19 -11
- package/dist/types/src/access.d.ts.map +1 -1
- package/dist/types/src/nanotdf/Client.d.ts +3 -1
- package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
- package/dist/types/src/opentdf.d.ts +5 -1
- package/dist/types/src/opentdf.d.ts.map +1 -1
- package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
- package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/types/src/platform/common/common_pb.d.ts +112 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
- package/dist/types/src/platform.d.ts +49 -0
- package/dist/types/src/platform.d.ts.map +1 -0
- package/dist/types/src/policy/api.d.ts +1 -1
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/types/src/policy/attributes.d.ts +10 -87
- package/dist/types/src/policy/attributes.d.ts.map +1 -1
- package/dist/types/src/policy/granter.d.ts.map +1 -1
- package/dist/types/src/utils.d.ts +10 -0
- package/dist/types/src/utils.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tdf3/src/assertions.d.ts +1 -1
- package/dist/types/tdf3/src/assertions.d.ts.map +1 -1
- package/dist/types/tdf3/src/client/index.d.ts +8 -3
- package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
- package/dist/types/tdf3/src/models/manifest.d.ts +1 -1
- package/dist/types/tdf3/src/models/manifest.d.ts.map +1 -1
- package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
- package/dist/web/src/access/access-fetch.js +150 -0
- package/dist/web/src/access/access-rpc.js +125 -0
- package/dist/web/src/access.js +82 -110
- package/dist/web/src/auth/oidc.js +2 -2
- package/dist/web/src/nanotdf/Client.js +18 -14
- package/dist/web/src/nanotdf/models/Header.js +2 -2
- package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/web/src/opentdf.js +44 -10
- package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
- package/dist/web/src/platform/common/common_pb.js +76 -0
- package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
- package/dist/web/src/platform/google/api/http_pb.js +34 -0
- package/dist/web/src/platform/kas/kas_pb.js +93 -0
- package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
- package/dist/web/src/platform/policy/objects_pb.js +392 -0
- package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
- package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
- package/dist/web/src/platform/policy/selectors_pb.js +64 -0
- package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
- package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
- package/dist/web/src/platform.js +87 -0
- package/dist/web/src/policy/api.js +23 -40
- package/dist/web/src/policy/attributes.js +3 -2
- package/dist/web/src/policy/granter.js +9 -9
- package/dist/web/src/utils.js +29 -1
- package/dist/web/src/version.js +2 -2
- package/dist/web/tdf3/src/assertions.js +5 -5
- package/dist/web/tdf3/src/client/index.js +26 -20
- package/dist/web/tdf3/src/tdf.js +16 -10
- package/package.json +17 -1
- package/src/access/access-fetch.ts +202 -0
- package/src/access/access-rpc.ts +175 -0
- package/src/access.ts +113 -138
- package/src/auth/oidc.ts +1 -1
- package/src/nanotdf/Client.ts +28 -18
- package/src/nanotdf/models/Header.ts +1 -1
- package/src/nanotdf-crypto/keyAgreement.ts +1 -1
- package/src/opentdf.ts +67 -11
- package/src/platform/authorization/authorization_pb.ts +689 -0
- package/src/platform/buf/validate/validate_pb.ts +4626 -0
- package/src/platform/common/common_pb.ts +135 -0
- package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
- package/src/platform/google/api/annotations_pb.ts +39 -0
- package/src/platform/google/api/http_pb.ts +474 -0
- package/src/platform/kas/kas_pb.ts +484 -0
- package/src/platform/policy/actions/actions_pb.ts +312 -0
- package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
- package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
- package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
- package/src/platform/policy/objects_pb.ts +1319 -0
- package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
- package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
- package/src/platform/policy/selectors_pb.ts +277 -0
- package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
- package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
- package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
- package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
- package/src/platform.ts +122 -0
- package/src/policy/api.ts +29 -42
- package/src/policy/attributes.ts +12 -108
- package/src/policy/granter.ts +7 -8
- package/src/utils.ts +30 -0
- package/src/version.ts +1 -1
- package/tdf3/src/assertions.ts +4 -4
- package/tdf3/src/client/index.ts +42 -19
- package/tdf3/src/models/manifest.ts +2 -1
- package/tdf3/src/tdf.ts +25 -16
- package/src/platform/authorization/authorization_connect.d.ts +0 -44
- package/src/platform/authorization/authorization_connect.js +0 -44
- package/src/platform/authorization/authorization_pb.d.ts +0 -707
- package/src/platform/authorization/authorization_pb.js +0 -372
- package/src/platform/common/common_pb.d.ts +0 -129
- package/src/platform/common/common_pb.js +0 -58
- package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
- package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
- package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
- package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
- package/src/platform/kas/kas_connect.d.ts +0 -59
- package/src/platform/kas/kas_connect.js +0 -59
- package/src/platform/kas/kas_pb.d.ts +0 -200
- package/src/platform/kas/kas_pb.js +0 -84
- package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
- package/src/platform/policy/attributes/attributes_connect.js +0 -168
- package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
- package/src/platform/policy/attributes/attributes_pb.js +0 -363
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
- package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
- package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
- package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
- package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
- package/src/platform/policy/objects_pb.d.ts +0 -725
- package/src/platform/policy/objects_pb.js +0 -288
- package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
- package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
- package/src/platform/policy/selectors_pb.d.ts +0 -269
- package/src/platform/policy/selectors_pb.js +0 -110
- package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
- package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file kas/kas.proto (package kas, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { proto3, Value } from "@bufbuild/protobuf";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Intentionally empty. May include features later.
|
|
10
|
-
*
|
|
11
|
-
* @generated from message kas.InfoRequest
|
|
12
|
-
*/
|
|
13
|
-
export const InfoRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
14
|
-
"kas.InfoRequest",
|
|
15
|
-
[],
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Service application level metadata
|
|
20
|
-
*
|
|
21
|
-
* @generated from message kas.InfoResponse
|
|
22
|
-
*/
|
|
23
|
-
export const InfoResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
24
|
-
"kas.InfoResponse",
|
|
25
|
-
() => [
|
|
26
|
-
{ no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
27
|
-
],
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @generated from message kas.LegacyPublicKeyRequest
|
|
32
|
-
*/
|
|
33
|
-
export const LegacyPublicKeyRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
34
|
-
"kas.LegacyPublicKeyRequest",
|
|
35
|
-
() => [
|
|
36
|
-
{ no: 1, name: "algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
|
-
],
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @generated from message kas.PublicKeyRequest
|
|
42
|
-
*/
|
|
43
|
-
export const PublicKeyRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
44
|
-
"kas.PublicKeyRequest",
|
|
45
|
-
() => [
|
|
46
|
-
{ no: 1, name: "algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
47
|
-
{ no: 2, name: "fmt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
-
{ no: 3, name: "v", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
-
],
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @generated from message kas.PublicKeyResponse
|
|
54
|
-
*/
|
|
55
|
-
export const PublicKeyResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
56
|
-
"kas.PublicKeyResponse",
|
|
57
|
-
() => [
|
|
58
|
-
{ no: 1, name: "public_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
-
],
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @generated from message kas.RewrapRequest
|
|
64
|
-
*/
|
|
65
|
-
export const RewrapRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
66
|
-
"kas.RewrapRequest",
|
|
67
|
-
() => [
|
|
68
|
-
{ no: 1, name: "signed_request_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
-
],
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @generated from message kas.RewrapResponse
|
|
74
|
-
*/
|
|
75
|
-
export const RewrapResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
76
|
-
"kas.RewrapResponse",
|
|
77
|
-
() => [
|
|
78
|
-
{ no: 1, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
|
|
79
|
-
{ no: 2, name: "entity_wrapped_key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
80
|
-
{ no: 3, name: "session_public_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
81
|
-
{ no: 4, name: "schema_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
-
],
|
|
83
|
-
);
|
|
84
|
-
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file policy/attributes/attributes.proto (package policy.attributes, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { AssignKeyAccessServerToAttributeRequest, AssignKeyAccessServerToAttributeResponse, AssignKeyAccessServerToValueRequest, AssignKeyAccessServerToValueResponse, CreateAttributeRequest, CreateAttributeResponse, CreateAttributeValueRequest, CreateAttributeValueResponse, DeactivateAttributeRequest, DeactivateAttributeResponse, DeactivateAttributeValueRequest, DeactivateAttributeValueResponse, GetAttributeRequest, GetAttributeResponse, GetAttributeValueRequest, GetAttributeValueResponse, GetAttributeValuesByFqnsRequest, GetAttributeValuesByFqnsResponse, ListAttributesRequest, ListAttributesResponse, ListAttributeValuesRequest, ListAttributeValuesResponse, RemoveKeyAccessServerFromAttributeRequest, RemoveKeyAccessServerFromAttributeResponse, RemoveKeyAccessServerFromValueRequest, RemoveKeyAccessServerFromValueResponse, UpdateAttributeRequest, UpdateAttributeResponse, UpdateAttributeValueRequest, UpdateAttributeValueResponse } from "./attributes_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* /
|
|
11
|
-
* / Attribute Service
|
|
12
|
-
* /
|
|
13
|
-
*
|
|
14
|
-
* @generated from service policy.attributes.AttributesService
|
|
15
|
-
*/
|
|
16
|
-
export declare const AttributesService: {
|
|
17
|
-
readonly typeName: "policy.attributes.AttributesService",
|
|
18
|
-
readonly methods: {
|
|
19
|
-
/**
|
|
20
|
-
* --------------------------------------*
|
|
21
|
-
* Attribute RPCs
|
|
22
|
-
* ---------------------------------------
|
|
23
|
-
*
|
|
24
|
-
* @generated from rpc policy.attributes.AttributesService.ListAttributes
|
|
25
|
-
*/
|
|
26
|
-
readonly listAttributes: {
|
|
27
|
-
readonly name: "ListAttributes",
|
|
28
|
-
readonly I: typeof ListAttributesRequest,
|
|
29
|
-
readonly O: typeof ListAttributesResponse,
|
|
30
|
-
readonly kind: MethodKind.Unary,
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* @generated from rpc policy.attributes.AttributesService.ListAttributeValues
|
|
34
|
-
*/
|
|
35
|
-
readonly listAttributeValues: {
|
|
36
|
-
readonly name: "ListAttributeValues",
|
|
37
|
-
readonly I: typeof ListAttributeValuesRequest,
|
|
38
|
-
readonly O: typeof ListAttributeValuesResponse,
|
|
39
|
-
readonly kind: MethodKind.Unary,
|
|
40
|
-
},
|
|
41
|
-
/**
|
|
42
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttribute
|
|
43
|
-
*/
|
|
44
|
-
readonly getAttribute: {
|
|
45
|
-
readonly name: "GetAttribute",
|
|
46
|
-
readonly I: typeof GetAttributeRequest,
|
|
47
|
-
readonly O: typeof GetAttributeResponse,
|
|
48
|
-
readonly kind: MethodKind.Unary,
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttributeValuesByFqns
|
|
52
|
-
*/
|
|
53
|
-
readonly getAttributeValuesByFqns: {
|
|
54
|
-
readonly name: "GetAttributeValuesByFqns",
|
|
55
|
-
readonly I: typeof GetAttributeValuesByFqnsRequest,
|
|
56
|
-
readonly O: typeof GetAttributeValuesByFqnsResponse,
|
|
57
|
-
readonly kind: MethodKind.Unary,
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* @generated from rpc policy.attributes.AttributesService.CreateAttribute
|
|
61
|
-
*/
|
|
62
|
-
readonly createAttribute: {
|
|
63
|
-
readonly name: "CreateAttribute",
|
|
64
|
-
readonly I: typeof CreateAttributeRequest,
|
|
65
|
-
readonly O: typeof CreateAttributeResponse,
|
|
66
|
-
readonly kind: MethodKind.Unary,
|
|
67
|
-
},
|
|
68
|
-
/**
|
|
69
|
-
* @generated from rpc policy.attributes.AttributesService.UpdateAttribute
|
|
70
|
-
*/
|
|
71
|
-
readonly updateAttribute: {
|
|
72
|
-
readonly name: "UpdateAttribute",
|
|
73
|
-
readonly I: typeof UpdateAttributeRequest,
|
|
74
|
-
readonly O: typeof UpdateAttributeResponse,
|
|
75
|
-
readonly kind: MethodKind.Unary,
|
|
76
|
-
},
|
|
77
|
-
/**
|
|
78
|
-
* @generated from rpc policy.attributes.AttributesService.DeactivateAttribute
|
|
79
|
-
*/
|
|
80
|
-
readonly deactivateAttribute: {
|
|
81
|
-
readonly name: "DeactivateAttribute",
|
|
82
|
-
readonly I: typeof DeactivateAttributeRequest,
|
|
83
|
-
readonly O: typeof DeactivateAttributeResponse,
|
|
84
|
-
readonly kind: MethodKind.Unary,
|
|
85
|
-
},
|
|
86
|
-
/**
|
|
87
|
-
* --------------------------------------*
|
|
88
|
-
* Value RPCs
|
|
89
|
-
* ---------------------------------------
|
|
90
|
-
*
|
|
91
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttributeValue
|
|
92
|
-
*/
|
|
93
|
-
readonly getAttributeValue: {
|
|
94
|
-
readonly name: "GetAttributeValue",
|
|
95
|
-
readonly I: typeof GetAttributeValueRequest,
|
|
96
|
-
readonly O: typeof GetAttributeValueResponse,
|
|
97
|
-
readonly kind: MethodKind.Unary,
|
|
98
|
-
},
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc policy.attributes.AttributesService.CreateAttributeValue
|
|
101
|
-
*/
|
|
102
|
-
readonly createAttributeValue: {
|
|
103
|
-
readonly name: "CreateAttributeValue",
|
|
104
|
-
readonly I: typeof CreateAttributeValueRequest,
|
|
105
|
-
readonly O: typeof CreateAttributeValueResponse,
|
|
106
|
-
readonly kind: MethodKind.Unary,
|
|
107
|
-
},
|
|
108
|
-
/**
|
|
109
|
-
* @generated from rpc policy.attributes.AttributesService.UpdateAttributeValue
|
|
110
|
-
*/
|
|
111
|
-
readonly updateAttributeValue: {
|
|
112
|
-
readonly name: "UpdateAttributeValue",
|
|
113
|
-
readonly I: typeof UpdateAttributeValueRequest,
|
|
114
|
-
readonly O: typeof UpdateAttributeValueResponse,
|
|
115
|
-
readonly kind: MethodKind.Unary,
|
|
116
|
-
},
|
|
117
|
-
/**
|
|
118
|
-
* @generated from rpc policy.attributes.AttributesService.DeactivateAttributeValue
|
|
119
|
-
*/
|
|
120
|
-
readonly deactivateAttributeValue: {
|
|
121
|
-
readonly name: "DeactivateAttributeValue",
|
|
122
|
-
readonly I: typeof DeactivateAttributeValueRequest,
|
|
123
|
-
readonly O: typeof DeactivateAttributeValueResponse,
|
|
124
|
-
readonly kind: MethodKind.Unary,
|
|
125
|
-
},
|
|
126
|
-
/**
|
|
127
|
-
* --------------------------------------*
|
|
128
|
-
* Attribute <> Key Access Server RPCs
|
|
129
|
-
* ---------------------------------------
|
|
130
|
-
*
|
|
131
|
-
* @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToAttribute
|
|
132
|
-
*/
|
|
133
|
-
readonly assignKeyAccessServerToAttribute: {
|
|
134
|
-
readonly name: "AssignKeyAccessServerToAttribute",
|
|
135
|
-
readonly I: typeof AssignKeyAccessServerToAttributeRequest,
|
|
136
|
-
readonly O: typeof AssignKeyAccessServerToAttributeResponse,
|
|
137
|
-
readonly kind: MethodKind.Unary,
|
|
138
|
-
},
|
|
139
|
-
/**
|
|
140
|
-
* @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromAttribute
|
|
141
|
-
*/
|
|
142
|
-
readonly removeKeyAccessServerFromAttribute: {
|
|
143
|
-
readonly name: "RemoveKeyAccessServerFromAttribute",
|
|
144
|
-
readonly I: typeof RemoveKeyAccessServerFromAttributeRequest,
|
|
145
|
-
readonly O: typeof RemoveKeyAccessServerFromAttributeResponse,
|
|
146
|
-
readonly kind: MethodKind.Unary,
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToValue
|
|
150
|
-
*/
|
|
151
|
-
readonly assignKeyAccessServerToValue: {
|
|
152
|
-
readonly name: "AssignKeyAccessServerToValue",
|
|
153
|
-
readonly I: typeof AssignKeyAccessServerToValueRequest,
|
|
154
|
-
readonly O: typeof AssignKeyAccessServerToValueResponse,
|
|
155
|
-
readonly kind: MethodKind.Unary,
|
|
156
|
-
},
|
|
157
|
-
/**
|
|
158
|
-
* @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromValue
|
|
159
|
-
*/
|
|
160
|
-
readonly removeKeyAccessServerFromValue: {
|
|
161
|
-
readonly name: "RemoveKeyAccessServerFromValue",
|
|
162
|
-
readonly I: typeof RemoveKeyAccessServerFromValueRequest,
|
|
163
|
-
readonly O: typeof RemoveKeyAccessServerFromValueResponse,
|
|
164
|
-
readonly kind: MethodKind.Unary,
|
|
165
|
-
},
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file policy/attributes/attributes.proto (package policy.attributes, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { AssignKeyAccessServerToAttributeRequest, AssignKeyAccessServerToAttributeResponse, AssignKeyAccessServerToValueRequest, AssignKeyAccessServerToValueResponse, CreateAttributeRequest, CreateAttributeResponse, CreateAttributeValueRequest, CreateAttributeValueResponse, DeactivateAttributeRequest, DeactivateAttributeResponse, DeactivateAttributeValueRequest, DeactivateAttributeValueResponse, GetAttributeRequest, GetAttributeResponse, GetAttributeValueRequest, GetAttributeValueResponse, GetAttributeValuesByFqnsRequest, GetAttributeValuesByFqnsResponse, ListAttributesRequest, ListAttributesResponse, ListAttributeValuesRequest, ListAttributeValuesResponse, RemoveKeyAccessServerFromAttributeRequest, RemoveKeyAccessServerFromAttributeResponse, RemoveKeyAccessServerFromValueRequest, RemoveKeyAccessServerFromValueResponse, UpdateAttributeRequest, UpdateAttributeResponse, UpdateAttributeValueRequest, UpdateAttributeValueResponse } from "./attributes_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* /
|
|
11
|
-
* / Attribute Service
|
|
12
|
-
* /
|
|
13
|
-
*
|
|
14
|
-
* @generated from service policy.attributes.AttributesService
|
|
15
|
-
*/
|
|
16
|
-
export const AttributesService = {
|
|
17
|
-
typeName: "policy.attributes.AttributesService",
|
|
18
|
-
methods: {
|
|
19
|
-
/**
|
|
20
|
-
* --------------------------------------*
|
|
21
|
-
* Attribute RPCs
|
|
22
|
-
* ---------------------------------------
|
|
23
|
-
*
|
|
24
|
-
* @generated from rpc policy.attributes.AttributesService.ListAttributes
|
|
25
|
-
*/
|
|
26
|
-
listAttributes: {
|
|
27
|
-
name: "ListAttributes",
|
|
28
|
-
I: ListAttributesRequest,
|
|
29
|
-
O: ListAttributesResponse,
|
|
30
|
-
kind: MethodKind.Unary,
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* @generated from rpc policy.attributes.AttributesService.ListAttributeValues
|
|
34
|
-
*/
|
|
35
|
-
listAttributeValues: {
|
|
36
|
-
name: "ListAttributeValues",
|
|
37
|
-
I: ListAttributeValuesRequest,
|
|
38
|
-
O: ListAttributeValuesResponse,
|
|
39
|
-
kind: MethodKind.Unary,
|
|
40
|
-
},
|
|
41
|
-
/**
|
|
42
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttribute
|
|
43
|
-
*/
|
|
44
|
-
getAttribute: {
|
|
45
|
-
name: "GetAttribute",
|
|
46
|
-
I: GetAttributeRequest,
|
|
47
|
-
O: GetAttributeResponse,
|
|
48
|
-
kind: MethodKind.Unary,
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttributeValuesByFqns
|
|
52
|
-
*/
|
|
53
|
-
getAttributeValuesByFqns: {
|
|
54
|
-
name: "GetAttributeValuesByFqns",
|
|
55
|
-
I: GetAttributeValuesByFqnsRequest,
|
|
56
|
-
O: GetAttributeValuesByFqnsResponse,
|
|
57
|
-
kind: MethodKind.Unary,
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* @generated from rpc policy.attributes.AttributesService.CreateAttribute
|
|
61
|
-
*/
|
|
62
|
-
createAttribute: {
|
|
63
|
-
name: "CreateAttribute",
|
|
64
|
-
I: CreateAttributeRequest,
|
|
65
|
-
O: CreateAttributeResponse,
|
|
66
|
-
kind: MethodKind.Unary,
|
|
67
|
-
},
|
|
68
|
-
/**
|
|
69
|
-
* @generated from rpc policy.attributes.AttributesService.UpdateAttribute
|
|
70
|
-
*/
|
|
71
|
-
updateAttribute: {
|
|
72
|
-
name: "UpdateAttribute",
|
|
73
|
-
I: UpdateAttributeRequest,
|
|
74
|
-
O: UpdateAttributeResponse,
|
|
75
|
-
kind: MethodKind.Unary,
|
|
76
|
-
},
|
|
77
|
-
/**
|
|
78
|
-
* @generated from rpc policy.attributes.AttributesService.DeactivateAttribute
|
|
79
|
-
*/
|
|
80
|
-
deactivateAttribute: {
|
|
81
|
-
name: "DeactivateAttribute",
|
|
82
|
-
I: DeactivateAttributeRequest,
|
|
83
|
-
O: DeactivateAttributeResponse,
|
|
84
|
-
kind: MethodKind.Unary,
|
|
85
|
-
},
|
|
86
|
-
/**
|
|
87
|
-
* --------------------------------------*
|
|
88
|
-
* Value RPCs
|
|
89
|
-
* ---------------------------------------
|
|
90
|
-
*
|
|
91
|
-
* @generated from rpc policy.attributes.AttributesService.GetAttributeValue
|
|
92
|
-
*/
|
|
93
|
-
getAttributeValue: {
|
|
94
|
-
name: "GetAttributeValue",
|
|
95
|
-
I: GetAttributeValueRequest,
|
|
96
|
-
O: GetAttributeValueResponse,
|
|
97
|
-
kind: MethodKind.Unary,
|
|
98
|
-
},
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc policy.attributes.AttributesService.CreateAttributeValue
|
|
101
|
-
*/
|
|
102
|
-
createAttributeValue: {
|
|
103
|
-
name: "CreateAttributeValue",
|
|
104
|
-
I: CreateAttributeValueRequest,
|
|
105
|
-
O: CreateAttributeValueResponse,
|
|
106
|
-
kind: MethodKind.Unary,
|
|
107
|
-
},
|
|
108
|
-
/**
|
|
109
|
-
* @generated from rpc policy.attributes.AttributesService.UpdateAttributeValue
|
|
110
|
-
*/
|
|
111
|
-
updateAttributeValue: {
|
|
112
|
-
name: "UpdateAttributeValue",
|
|
113
|
-
I: UpdateAttributeValueRequest,
|
|
114
|
-
O: UpdateAttributeValueResponse,
|
|
115
|
-
kind: MethodKind.Unary,
|
|
116
|
-
},
|
|
117
|
-
/**
|
|
118
|
-
* @generated from rpc policy.attributes.AttributesService.DeactivateAttributeValue
|
|
119
|
-
*/
|
|
120
|
-
deactivateAttributeValue: {
|
|
121
|
-
name: "DeactivateAttributeValue",
|
|
122
|
-
I: DeactivateAttributeValueRequest,
|
|
123
|
-
O: DeactivateAttributeValueResponse,
|
|
124
|
-
kind: MethodKind.Unary,
|
|
125
|
-
},
|
|
126
|
-
/**
|
|
127
|
-
* --------------------------------------*
|
|
128
|
-
* Attribute <> Key Access Server RPCs
|
|
129
|
-
* ---------------------------------------
|
|
130
|
-
*
|
|
131
|
-
* @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToAttribute
|
|
132
|
-
*/
|
|
133
|
-
assignKeyAccessServerToAttribute: {
|
|
134
|
-
name: "AssignKeyAccessServerToAttribute",
|
|
135
|
-
I: AssignKeyAccessServerToAttributeRequest,
|
|
136
|
-
O: AssignKeyAccessServerToAttributeResponse,
|
|
137
|
-
kind: MethodKind.Unary,
|
|
138
|
-
},
|
|
139
|
-
/**
|
|
140
|
-
* @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromAttribute
|
|
141
|
-
*/
|
|
142
|
-
removeKeyAccessServerFromAttribute: {
|
|
143
|
-
name: "RemoveKeyAccessServerFromAttribute",
|
|
144
|
-
I: RemoveKeyAccessServerFromAttributeRequest,
|
|
145
|
-
O: RemoveKeyAccessServerFromAttributeResponse,
|
|
146
|
-
kind: MethodKind.Unary,
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* @generated from rpc policy.attributes.AttributesService.AssignKeyAccessServerToValue
|
|
150
|
-
*/
|
|
151
|
-
assignKeyAccessServerToValue: {
|
|
152
|
-
name: "AssignKeyAccessServerToValue",
|
|
153
|
-
I: AssignKeyAccessServerToValueRequest,
|
|
154
|
-
O: AssignKeyAccessServerToValueResponse,
|
|
155
|
-
kind: MethodKind.Unary,
|
|
156
|
-
},
|
|
157
|
-
/**
|
|
158
|
-
* @generated from rpc policy.attributes.AttributesService.RemoveKeyAccessServerFromValue
|
|
159
|
-
*/
|
|
160
|
-
removeKeyAccessServerFromValue: {
|
|
161
|
-
name: "RemoveKeyAccessServerFromValue",
|
|
162
|
-
I: RemoveKeyAccessServerFromValueRequest,
|
|
163
|
-
O: RemoveKeyAccessServerFromValueResponse,
|
|
164
|
-
kind: MethodKind.Unary,
|
|
165
|
-
},
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|