@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,260 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file policy/subjectmapping/subject_mapping.proto (package policy.subjectmapping, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
-
import { Action, SubjectConditionSet, SubjectMapping, SubjectProperty, SubjectSet } from "../objects_pb";
|
|
8
|
-
import { MetadataMutable, MetadataUpdateEnum } from "../../common/common_pb";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* MatchSubjectMappingsRequest liberally returns a list of SubjectMappings based on the provided SubjectProperties. The SubjectMappings are returned
|
|
12
|
-
* if there is any single condition found among the structures that matches for one of the provided properties:
|
|
13
|
-
* 1. The external selector value, external value, and an IN operator
|
|
14
|
-
* 2. The external selector value, _no_ external value, and a NOT_IN operator
|
|
15
|
-
*
|
|
16
|
-
* Without this filtering, if a selector value was something like '.emailAddress' or '.username', every Subject is probably going to relate to that mapping
|
|
17
|
-
* in some way or another, potentially matching every single attribute in the DB if a policy admin has relied heavily on that field. There is no
|
|
18
|
-
* logic applied beyond a single condition within the query to avoid business logic interpreting the supplied conditions beyond the bare minimum
|
|
19
|
-
* initial filter.
|
|
20
|
-
*
|
|
21
|
-
* NOTE: if you have any issues, debug logs are available within the service to help identify why a mapping was or was not returned.
|
|
22
|
-
*
|
|
23
|
-
* @generated from message policy.subjectmapping.MatchSubjectMappingsRequest
|
|
24
|
-
*/
|
|
25
|
-
export const MatchSubjectMappingsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
|
-
"policy.subjectmapping.MatchSubjectMappingsRequest",
|
|
27
|
-
() => [
|
|
28
|
-
{ no: 1, name: "subject_properties", kind: "message", T: SubjectProperty, repeated: true },
|
|
29
|
-
],
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @generated from message policy.subjectmapping.MatchSubjectMappingsResponse
|
|
34
|
-
*/
|
|
35
|
-
export const MatchSubjectMappingsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
36
|
-
"policy.subjectmapping.MatchSubjectMappingsResponse",
|
|
37
|
-
() => [
|
|
38
|
-
{ no: 1, name: "subject_mappings", kind: "message", T: SubjectMapping, repeated: true },
|
|
39
|
-
],
|
|
40
|
-
);
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @generated from message policy.subjectmapping.GetSubjectMappingRequest
|
|
44
|
-
*/
|
|
45
|
-
export const GetSubjectMappingRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
46
|
-
"policy.subjectmapping.GetSubjectMappingRequest",
|
|
47
|
-
() => [
|
|
48
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
-
],
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @generated from message policy.subjectmapping.GetSubjectMappingResponse
|
|
54
|
-
*/
|
|
55
|
-
export const GetSubjectMappingResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
56
|
-
"policy.subjectmapping.GetSubjectMappingResponse",
|
|
57
|
-
() => [
|
|
58
|
-
{ no: 1, name: "subject_mapping", kind: "message", T: SubjectMapping },
|
|
59
|
-
],
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @generated from message policy.subjectmapping.ListSubjectMappingsRequest
|
|
64
|
-
*/
|
|
65
|
-
export const ListSubjectMappingsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
66
|
-
"policy.subjectmapping.ListSubjectMappingsRequest",
|
|
67
|
-
[],
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @generated from message policy.subjectmapping.ListSubjectMappingsResponse
|
|
72
|
-
*/
|
|
73
|
-
export const ListSubjectMappingsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
74
|
-
"policy.subjectmapping.ListSubjectMappingsResponse",
|
|
75
|
-
() => [
|
|
76
|
-
{ no: 1, name: "subject_mappings", kind: "message", T: SubjectMapping, repeated: true },
|
|
77
|
-
],
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from message policy.subjectmapping.CreateSubjectMappingRequest
|
|
82
|
-
*/
|
|
83
|
-
export const CreateSubjectMappingRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
84
|
-
"policy.subjectmapping.CreateSubjectMappingRequest",
|
|
85
|
-
() => [
|
|
86
|
-
{ no: 1, name: "attribute_value_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
87
|
-
{ no: 2, name: "actions", kind: "message", T: Action, repeated: true },
|
|
88
|
-
{ no: 3, name: "existing_subject_condition_set_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
89
|
-
{ no: 4, name: "new_subject_condition_set", kind: "message", T: SubjectConditionSetCreate },
|
|
90
|
-
{ no: 100, name: "metadata", kind: "message", T: MetadataMutable },
|
|
91
|
-
],
|
|
92
|
-
);
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @generated from message policy.subjectmapping.CreateSubjectMappingResponse
|
|
96
|
-
*/
|
|
97
|
-
export const CreateSubjectMappingResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
98
|
-
"policy.subjectmapping.CreateSubjectMappingResponse",
|
|
99
|
-
() => [
|
|
100
|
-
{ no: 1, name: "subject_mapping", kind: "message", T: SubjectMapping },
|
|
101
|
-
],
|
|
102
|
-
);
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @generated from message policy.subjectmapping.UpdateSubjectMappingRequest
|
|
106
|
-
*/
|
|
107
|
-
export const UpdateSubjectMappingRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
108
|
-
"policy.subjectmapping.UpdateSubjectMappingRequest",
|
|
109
|
-
() => [
|
|
110
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
-
{ no: 2, name: "subject_condition_set_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
|
-
{ no: 3, name: "actions", kind: "message", T: Action, repeated: true },
|
|
113
|
-
{ no: 100, name: "metadata", kind: "message", T: MetadataMutable },
|
|
114
|
-
{ no: 101, name: "metadata_update_behavior", kind: "enum", T: proto3.getEnumType(MetadataUpdateEnum) },
|
|
115
|
-
],
|
|
116
|
-
);
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @generated from message policy.subjectmapping.UpdateSubjectMappingResponse
|
|
120
|
-
*/
|
|
121
|
-
export const UpdateSubjectMappingResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
122
|
-
"policy.subjectmapping.UpdateSubjectMappingResponse",
|
|
123
|
-
() => [
|
|
124
|
-
{ no: 1, name: "subject_mapping", kind: "message", T: SubjectMapping },
|
|
125
|
-
],
|
|
126
|
-
);
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @generated from message policy.subjectmapping.DeleteSubjectMappingRequest
|
|
130
|
-
*/
|
|
131
|
-
export const DeleteSubjectMappingRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
132
|
-
"policy.subjectmapping.DeleteSubjectMappingRequest",
|
|
133
|
-
() => [
|
|
134
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
|
-
],
|
|
136
|
-
);
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from message policy.subjectmapping.DeleteSubjectMappingResponse
|
|
140
|
-
*/
|
|
141
|
-
export const DeleteSubjectMappingResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
142
|
-
"policy.subjectmapping.DeleteSubjectMappingResponse",
|
|
143
|
-
() => [
|
|
144
|
-
{ no: 1, name: "subject_mapping", kind: "message", T: SubjectMapping },
|
|
145
|
-
],
|
|
146
|
-
);
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* @generated from message policy.subjectmapping.GetSubjectConditionSetRequest
|
|
150
|
-
*/
|
|
151
|
-
export const GetSubjectConditionSetRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
152
|
-
"policy.subjectmapping.GetSubjectConditionSetRequest",
|
|
153
|
-
() => [
|
|
154
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
155
|
-
],
|
|
156
|
-
);
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @generated from message policy.subjectmapping.GetSubjectConditionSetResponse
|
|
160
|
-
*/
|
|
161
|
-
export const GetSubjectConditionSetResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
162
|
-
"policy.subjectmapping.GetSubjectConditionSetResponse",
|
|
163
|
-
() => [
|
|
164
|
-
{ no: 1, name: "subject_condition_set", kind: "message", T: SubjectConditionSet },
|
|
165
|
-
{ no: 2, name: "associated_subject_mappings", kind: "message", T: SubjectMapping, repeated: true },
|
|
166
|
-
],
|
|
167
|
-
);
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @generated from message policy.subjectmapping.ListSubjectConditionSetsRequest
|
|
171
|
-
*/
|
|
172
|
-
export const ListSubjectConditionSetsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
173
|
-
"policy.subjectmapping.ListSubjectConditionSetsRequest",
|
|
174
|
-
[],
|
|
175
|
-
);
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @generated from message policy.subjectmapping.ListSubjectConditionSetsResponse
|
|
179
|
-
*/
|
|
180
|
-
export const ListSubjectConditionSetsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
181
|
-
"policy.subjectmapping.ListSubjectConditionSetsResponse",
|
|
182
|
-
() => [
|
|
183
|
-
{ no: 1, name: "subject_condition_sets", kind: "message", T: SubjectConditionSet, repeated: true },
|
|
184
|
-
],
|
|
185
|
-
);
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @generated from message policy.subjectmapping.SubjectConditionSetCreate
|
|
189
|
-
*/
|
|
190
|
-
export const SubjectConditionSetCreate = /*@__PURE__*/ proto3.makeMessageType(
|
|
191
|
-
"policy.subjectmapping.SubjectConditionSetCreate",
|
|
192
|
-
() => [
|
|
193
|
-
{ no: 1, name: "subject_sets", kind: "message", T: SubjectSet, repeated: true },
|
|
194
|
-
{ no: 100, name: "metadata", kind: "message", T: MetadataMutable },
|
|
195
|
-
],
|
|
196
|
-
);
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @generated from message policy.subjectmapping.CreateSubjectConditionSetRequest
|
|
200
|
-
*/
|
|
201
|
-
export const CreateSubjectConditionSetRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
202
|
-
"policy.subjectmapping.CreateSubjectConditionSetRequest",
|
|
203
|
-
() => [
|
|
204
|
-
{ no: 1, name: "subject_condition_set", kind: "message", T: SubjectConditionSetCreate },
|
|
205
|
-
],
|
|
206
|
-
);
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @generated from message policy.subjectmapping.CreateSubjectConditionSetResponse
|
|
210
|
-
*/
|
|
211
|
-
export const CreateSubjectConditionSetResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
212
|
-
"policy.subjectmapping.CreateSubjectConditionSetResponse",
|
|
213
|
-
() => [
|
|
214
|
-
{ no: 1, name: "subject_condition_set", kind: "message", T: SubjectConditionSet },
|
|
215
|
-
],
|
|
216
|
-
);
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from message policy.subjectmapping.UpdateSubjectConditionSetRequest
|
|
220
|
-
*/
|
|
221
|
-
export const UpdateSubjectConditionSetRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
222
|
-
"policy.subjectmapping.UpdateSubjectConditionSetRequest",
|
|
223
|
-
() => [
|
|
224
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
225
|
-
{ no: 2, name: "subject_sets", kind: "message", T: SubjectSet, repeated: true },
|
|
226
|
-
{ no: 100, name: "metadata", kind: "message", T: MetadataMutable },
|
|
227
|
-
{ no: 101, name: "metadata_update_behavior", kind: "enum", T: proto3.getEnumType(MetadataUpdateEnum) },
|
|
228
|
-
],
|
|
229
|
-
);
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @generated from message policy.subjectmapping.UpdateSubjectConditionSetResponse
|
|
233
|
-
*/
|
|
234
|
-
export const UpdateSubjectConditionSetResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
235
|
-
"policy.subjectmapping.UpdateSubjectConditionSetResponse",
|
|
236
|
-
() => [
|
|
237
|
-
{ no: 1, name: "subject_condition_set", kind: "message", T: SubjectConditionSet },
|
|
238
|
-
],
|
|
239
|
-
);
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @generated from message policy.subjectmapping.DeleteSubjectConditionSetRequest
|
|
243
|
-
*/
|
|
244
|
-
export const DeleteSubjectConditionSetRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
245
|
-
"policy.subjectmapping.DeleteSubjectConditionSetRequest",
|
|
246
|
-
() => [
|
|
247
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
-
],
|
|
249
|
-
);
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @generated from message policy.subjectmapping.DeleteSubjectConditionSetResponse
|
|
253
|
-
*/
|
|
254
|
-
export const DeleteSubjectConditionSetResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
255
|
-
"policy.subjectmapping.DeleteSubjectConditionSetResponse",
|
|
256
|
-
() => [
|
|
257
|
-
{ no: 1, name: "subject_condition_set", kind: "message", T: SubjectConditionSet },
|
|
258
|
-
],
|
|
259
|
-
);
|
|
260
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file wellknownconfiguration/wellknown_configuration.proto (package wellknownconfiguration, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { GetWellKnownConfigurationRequest, GetWellKnownConfigurationResponse } from "./wellknown_configuration_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service wellknownconfiguration.WellKnownService
|
|
11
|
-
*/
|
|
12
|
-
export declare const WellKnownService: {
|
|
13
|
-
readonly typeName: "wellknownconfiguration.WellKnownService",
|
|
14
|
-
readonly methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc wellknownconfiguration.WellKnownService.GetWellKnownConfiguration
|
|
17
|
-
*/
|
|
18
|
-
readonly getWellKnownConfiguration: {
|
|
19
|
-
readonly name: "GetWellKnownConfiguration",
|
|
20
|
-
readonly I: typeof GetWellKnownConfigurationRequest,
|
|
21
|
-
readonly O: typeof GetWellKnownConfigurationResponse,
|
|
22
|
-
readonly kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file wellknownconfiguration/wellknown_configuration.proto (package wellknownconfiguration, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { GetWellKnownConfigurationRequest, GetWellKnownConfigurationResponse } from "./wellknown_configuration_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service wellknownconfiguration.WellKnownService
|
|
11
|
-
*/
|
|
12
|
-
export const WellKnownService = {
|
|
13
|
-
typeName: "wellknownconfiguration.WellKnownService",
|
|
14
|
-
methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc wellknownconfiguration.WellKnownService.GetWellKnownConfiguration
|
|
17
|
-
*/
|
|
18
|
-
getWellKnownConfiguration: {
|
|
19
|
-
name: "GetWellKnownConfiguration",
|
|
20
|
-
I: GetWellKnownConfigurationRequest,
|
|
21
|
-
O: GetWellKnownConfigurationResponse,
|
|
22
|
-
kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file wellknownconfiguration/wellknown_configuration.proto (package wellknownconfiguration, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from message wellknownconfiguration.WellKnownConfig
|
|
11
|
-
*/
|
|
12
|
-
export declare class WellKnownConfig extends Message<WellKnownConfig> {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from field: map<string, google.protobuf.Struct> configuration = 1;
|
|
15
|
-
*/
|
|
16
|
-
configuration: { [key: string]: Struct };
|
|
17
|
-
|
|
18
|
-
constructor(data?: PartialMessage<WellKnownConfig>);
|
|
19
|
-
|
|
20
|
-
static readonly runtime: typeof proto3;
|
|
21
|
-
static readonly typeName = "wellknownconfiguration.WellKnownConfig";
|
|
22
|
-
static readonly fields: FieldList;
|
|
23
|
-
|
|
24
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WellKnownConfig;
|
|
25
|
-
|
|
26
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WellKnownConfig;
|
|
27
|
-
|
|
28
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WellKnownConfig;
|
|
29
|
-
|
|
30
|
-
static equals(a: WellKnownConfig | PlainMessage<WellKnownConfig> | undefined, b: WellKnownConfig | PlainMessage<WellKnownConfig> | undefined): boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @generated from message wellknownconfiguration.GetWellKnownConfigurationRequest
|
|
35
|
-
*/
|
|
36
|
-
export declare class GetWellKnownConfigurationRequest extends Message<GetWellKnownConfigurationRequest> {
|
|
37
|
-
constructor(data?: PartialMessage<GetWellKnownConfigurationRequest>);
|
|
38
|
-
|
|
39
|
-
static readonly runtime: typeof proto3;
|
|
40
|
-
static readonly typeName = "wellknownconfiguration.GetWellKnownConfigurationRequest";
|
|
41
|
-
static readonly fields: FieldList;
|
|
42
|
-
|
|
43
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWellKnownConfigurationRequest;
|
|
44
|
-
|
|
45
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWellKnownConfigurationRequest;
|
|
46
|
-
|
|
47
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWellKnownConfigurationRequest;
|
|
48
|
-
|
|
49
|
-
static equals(a: GetWellKnownConfigurationRequest | PlainMessage<GetWellKnownConfigurationRequest> | undefined, b: GetWellKnownConfigurationRequest | PlainMessage<GetWellKnownConfigurationRequest> | undefined): boolean;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @generated from message wellknownconfiguration.GetWellKnownConfigurationResponse
|
|
54
|
-
*/
|
|
55
|
-
export declare class GetWellKnownConfigurationResponse extends Message<GetWellKnownConfigurationResponse> {
|
|
56
|
-
/**
|
|
57
|
-
* @generated from field: google.protobuf.Struct configuration = 1;
|
|
58
|
-
*/
|
|
59
|
-
configuration?: Struct;
|
|
60
|
-
|
|
61
|
-
constructor(data?: PartialMessage<GetWellKnownConfigurationResponse>);
|
|
62
|
-
|
|
63
|
-
static readonly runtime: typeof proto3;
|
|
64
|
-
static readonly typeName = "wellknownconfiguration.GetWellKnownConfigurationResponse";
|
|
65
|
-
static readonly fields: FieldList;
|
|
66
|
-
|
|
67
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWellKnownConfigurationResponse;
|
|
68
|
-
|
|
69
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWellKnownConfigurationResponse;
|
|
70
|
-
|
|
71
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWellKnownConfigurationResponse;
|
|
72
|
-
|
|
73
|
-
static equals(a: GetWellKnownConfigurationResponse | PlainMessage<GetWellKnownConfigurationResponse> | undefined, b: GetWellKnownConfigurationResponse | PlainMessage<GetWellKnownConfigurationResponse> | undefined): boolean;
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file wellknownconfiguration/wellknown_configuration.proto (package wellknownconfiguration, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { proto3, Struct } from "@bufbuild/protobuf";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @generated from message wellknownconfiguration.WellKnownConfig
|
|
10
|
-
*/
|
|
11
|
-
export const WellKnownConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
12
|
-
"wellknownconfiguration.WellKnownConfig",
|
|
13
|
-
() => [
|
|
14
|
-
{ no: 1, name: "configuration", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Struct} },
|
|
15
|
-
],
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @generated from message wellknownconfiguration.GetWellKnownConfigurationRequest
|
|
20
|
-
*/
|
|
21
|
-
export const GetWellKnownConfigurationRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
22
|
-
"wellknownconfiguration.GetWellKnownConfigurationRequest",
|
|
23
|
-
[],
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @generated from message wellknownconfiguration.GetWellKnownConfigurationResponse
|
|
28
|
-
*/
|
|
29
|
-
export const GetWellKnownConfigurationResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
30
|
-
"wellknownconfiguration.GetWellKnownConfigurationResponse",
|
|
31
|
-
() => [
|
|
32
|
-
{ no: 1, name: "configuration", kind: "message", T: Struct },
|
|
33
|
-
],
|
|
34
|
-
);
|
|
35
|
-
|