@opentdf/sdk 0.3.1 → 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 +42 -8
- 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/client/index.js +23 -18
- package/dist/cjs/tdf3/src/tdf.js +5 -5
- 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/client/index.d.ts +8 -3
- package/dist/types/tdf3/src/client/index.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 +43 -9
- 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/client/index.js +25 -20
- package/dist/web/tdf3/src/tdf.js +5 -5
- 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 +66 -10
- 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/client/index.ts +40 -19
- package/tdf3/src/tdf.ts +5 -6
- 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,372 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file authorization/authorization.proto (package authorization, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { Any, proto3 } from "@bufbuild/protobuf";
|
|
7
|
-
import { Action } from "../policy/objects_pb";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from message authorization.Token
|
|
11
|
-
*/
|
|
12
|
-
export const Token = /*@__PURE__*/ proto3.makeMessageType(
|
|
13
|
-
"authorization.Token",
|
|
14
|
-
() => [
|
|
15
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
16
|
-
{ no: 2, name: "jwt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17
|
-
],
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* PE (Person Entity) or NPE (Non-Person Entity)
|
|
22
|
-
*
|
|
23
|
-
* @generated from message authorization.Entity
|
|
24
|
-
*/
|
|
25
|
-
export const Entity = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
|
-
"authorization.Entity",
|
|
27
|
-
() => [
|
|
28
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
29
|
-
{ no: 2, name: "email_address", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "entity_type" },
|
|
30
|
-
{ no: 3, name: "user_name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "entity_type" },
|
|
31
|
-
{ no: 4, name: "remote_claims_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "entity_type" },
|
|
32
|
-
{ no: 5, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "entity_type" },
|
|
33
|
-
{ no: 6, name: "claims", kind: "message", T: Any, oneof: "entity_type" },
|
|
34
|
-
{ no: 7, name: "custom", kind: "message", T: EntityCustom, oneof: "entity_type" },
|
|
35
|
-
{ no: 8, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "entity_type" },
|
|
36
|
-
],
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Entity type for custom entities beyond the standard types
|
|
41
|
-
*
|
|
42
|
-
* @generated from message authorization.EntityCustom
|
|
43
|
-
*/
|
|
44
|
-
export const EntityCustom = /*@__PURE__*/ proto3.makeMessageType(
|
|
45
|
-
"authorization.EntityCustom",
|
|
46
|
-
() => [
|
|
47
|
-
{ no: 1, name: "extension", kind: "message", T: Any },
|
|
48
|
-
],
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* A set of related PE and NPE
|
|
53
|
-
*
|
|
54
|
-
* @generated from message authorization.EntityChain
|
|
55
|
-
*/
|
|
56
|
-
export const EntityChain = /*@__PURE__*/ proto3.makeMessageType(
|
|
57
|
-
"authorization.EntityChain",
|
|
58
|
-
() => [
|
|
59
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
-
{ no: 2, name: "entities", kind: "message", T: Entity, repeated: true },
|
|
61
|
-
],
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* Example Request Get Decisions to answer the question - Do Bob (represented by entity chain ec1)
|
|
67
|
-
* and Alice (represented by entity chain ec2) have TRANSMIT authorization for
|
|
68
|
-
* 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
|
|
69
|
-
*
|
|
70
|
-
* {
|
|
71
|
-
* "actions": [
|
|
72
|
-
* {
|
|
73
|
-
* "standard": "STANDARD_ACTION_TRANSMIT"
|
|
74
|
-
* }
|
|
75
|
-
* ],
|
|
76
|
-
* "entityChains": [
|
|
77
|
-
* {
|
|
78
|
-
* "id": "ec1",
|
|
79
|
-
* "entities": [
|
|
80
|
-
* {
|
|
81
|
-
* "emailAddress": "bob@example.org"
|
|
82
|
-
* }
|
|
83
|
-
* ]
|
|
84
|
-
* },
|
|
85
|
-
* {
|
|
86
|
-
* "id": "ec2",
|
|
87
|
-
* "entities": [
|
|
88
|
-
* {
|
|
89
|
-
* "userName": "alice@example.org"
|
|
90
|
-
* }
|
|
91
|
-
* ]
|
|
92
|
-
* }
|
|
93
|
-
* ],
|
|
94
|
-
* "resourceAttributes": [
|
|
95
|
-
* {
|
|
96
|
-
* "resourceAttributeId": "attr-set-1",
|
|
97
|
-
* "attributeFqns": [
|
|
98
|
-
* "https://www.example.org/attr/foo/value/value1"
|
|
99
|
-
* ]
|
|
100
|
-
* },
|
|
101
|
-
* {
|
|
102
|
-
* "resourceAttributeId": "attr-set-2",
|
|
103
|
-
* "attributeFqns": [
|
|
104
|
-
* "https://example.net/attr/attr1/value/value1",
|
|
105
|
-
* "https://example.net/attr/attr1/value/value2"
|
|
106
|
-
* ]
|
|
107
|
-
* }
|
|
108
|
-
* ]
|
|
109
|
-
* }
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* @generated from message authorization.DecisionRequest
|
|
113
|
-
*/
|
|
114
|
-
export const DecisionRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
115
|
-
"authorization.DecisionRequest",
|
|
116
|
-
() => [
|
|
117
|
-
{ no: 1, name: "actions", kind: "message", T: Action, repeated: true },
|
|
118
|
-
{ no: 2, name: "entity_chains", kind: "message", T: EntityChain, repeated: true },
|
|
119
|
-
{ no: 3, name: "resource_attributes", kind: "message", T: ResourceAttribute, repeated: true },
|
|
120
|
-
],
|
|
121
|
-
);
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* Example response for a Decision Request - Do Bob (represented by entity chain ec1)
|
|
127
|
-
* and Alice (represented by entity chain ec2) have TRANSMIT authorization for
|
|
128
|
-
* 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
|
|
129
|
-
*
|
|
130
|
-
* Results:
|
|
131
|
-
* - bob has permitted authorization to transmit for a resource defined by attr-set-1 attributes and has a watermark obligation
|
|
132
|
-
* - bob has denied authorization to transmit a for a resource defined by attr-set-2 attributes
|
|
133
|
-
* - alice has permitted authorization to transmit for a resource defined by attr-set-1 attributes
|
|
134
|
-
* - alice has denied authorization to transmit a for a resource defined by attr-set-2 attributes
|
|
135
|
-
*
|
|
136
|
-
* {
|
|
137
|
-
* "entityChainId": "ec1",
|
|
138
|
-
* "resourceAttributesId": "attr-set-1",
|
|
139
|
-
* "decision": "DECISION_PERMIT",
|
|
140
|
-
* "obligations": [
|
|
141
|
-
* "http://www.example.org/obligation/watermark"
|
|
142
|
-
* ]
|
|
143
|
-
* },
|
|
144
|
-
* {
|
|
145
|
-
* "entityChainId": "ec1",
|
|
146
|
-
* "resourceAttributesId": "attr-set-2",
|
|
147
|
-
* "decision": "DECISION_PERMIT"
|
|
148
|
-
* },
|
|
149
|
-
* {
|
|
150
|
-
* "entityChainId": "ec2",
|
|
151
|
-
* "resourceAttributesId": "attr-set-1",
|
|
152
|
-
* "decision": "DECISION_PERMIT"
|
|
153
|
-
* },
|
|
154
|
-
* {
|
|
155
|
-
* "entityChainId": "ec2",
|
|
156
|
-
* "resourceAttributesId": "attr-set-2",
|
|
157
|
-
* "decision": "DECISION_DENY"
|
|
158
|
-
* }
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* @generated from message authorization.DecisionResponse
|
|
163
|
-
*/
|
|
164
|
-
export const DecisionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
165
|
-
"authorization.DecisionResponse",
|
|
166
|
-
() => [
|
|
167
|
-
{ no: 1, name: "entity_chain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
168
|
-
{ no: 2, name: "resource_attributes_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
169
|
-
{ no: 3, name: "action", kind: "message", T: Action },
|
|
170
|
-
{ no: 4, name: "decision", kind: "enum", T: proto3.getEnumType(DecisionResponse_Decision) },
|
|
171
|
-
{ no: 5, name: "obligations", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
172
|
-
],
|
|
173
|
-
);
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @generated from enum authorization.DecisionResponse.Decision
|
|
177
|
-
*/
|
|
178
|
-
export const DecisionResponse_Decision = /*@__PURE__*/ proto3.makeEnum(
|
|
179
|
-
"authorization.DecisionResponse.Decision",
|
|
180
|
-
[
|
|
181
|
-
{no: 0, name: "DECISION_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
182
|
-
{no: 1, name: "DECISION_DENY", localName: "DENY"},
|
|
183
|
-
{no: 2, name: "DECISION_PERMIT", localName: "PERMIT"},
|
|
184
|
-
],
|
|
185
|
-
);
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @generated from message authorization.GetDecisionsRequest
|
|
189
|
-
*/
|
|
190
|
-
export const GetDecisionsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
191
|
-
"authorization.GetDecisionsRequest",
|
|
192
|
-
() => [
|
|
193
|
-
{ no: 1, name: "decision_requests", kind: "message", T: DecisionRequest, repeated: true },
|
|
194
|
-
],
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* @generated from message authorization.GetDecisionsResponse
|
|
199
|
-
*/
|
|
200
|
-
export const GetDecisionsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
201
|
-
"authorization.GetDecisionsResponse",
|
|
202
|
-
() => [
|
|
203
|
-
{ no: 1, name: "decision_responses", kind: "message", T: DecisionResponse, repeated: true },
|
|
204
|
-
],
|
|
205
|
-
);
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* Request to get entitlements for one or more entities for an optional attribute scope
|
|
210
|
-
*
|
|
211
|
-
* Example: Get entitlements for bob and alice (both represented using an email address
|
|
212
|
-
*
|
|
213
|
-
* {
|
|
214
|
-
* "entities": [
|
|
215
|
-
* {
|
|
216
|
-
* "id": "e1",
|
|
217
|
-
* "emailAddress": "bob@example.org"
|
|
218
|
-
* },
|
|
219
|
-
* {
|
|
220
|
-
* "id": "e2",
|
|
221
|
-
* "emailAddress": "alice@example.org"
|
|
222
|
-
* }
|
|
223
|
-
* ],
|
|
224
|
-
* "scope": {
|
|
225
|
-
* "attributeFqns": [
|
|
226
|
-
* "https://example.net/attr/attr1/value/value1",
|
|
227
|
-
* "https://example.net/attr/attr1/value/value2"
|
|
228
|
-
* ]
|
|
229
|
-
* }
|
|
230
|
-
* }
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
* @generated from message authorization.GetEntitlementsRequest
|
|
234
|
-
*/
|
|
235
|
-
export const GetEntitlementsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
236
|
-
"authorization.GetEntitlementsRequest",
|
|
237
|
-
() => [
|
|
238
|
-
{ no: 1, name: "entities", kind: "message", T: Entity, repeated: true },
|
|
239
|
-
{ no: 2, name: "scope", kind: "message", T: ResourceAttribute, opt: true },
|
|
240
|
-
],
|
|
241
|
-
);
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* @generated from message authorization.EntityEntitlements
|
|
245
|
-
*/
|
|
246
|
-
export const EntityEntitlements = /*@__PURE__*/ proto3.makeMessageType(
|
|
247
|
-
"authorization.EntityEntitlements",
|
|
248
|
-
() => [
|
|
249
|
-
{ no: 1, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
250
|
-
{ no: 2, name: "attribute_value_fqns", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
251
|
-
],
|
|
252
|
-
);
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* A logical bucket of attributes belonging to a "Resource"
|
|
256
|
-
*
|
|
257
|
-
* @generated from message authorization.ResourceAttribute
|
|
258
|
-
*/
|
|
259
|
-
export const ResourceAttribute = /*@__PURE__*/ proto3.makeMessageType(
|
|
260
|
-
"authorization.ResourceAttribute",
|
|
261
|
-
() => [
|
|
262
|
-
{ no: 1, name: "resource_attributes_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
263
|
-
{ no: 2, name: "attribute_value_fqns", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
264
|
-
],
|
|
265
|
-
);
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
* Example Response for a request of : Get entitlements for bob and alice (both represented using an email address
|
|
271
|
-
*
|
|
272
|
-
* {
|
|
273
|
-
* "entitlements": [
|
|
274
|
-
* {
|
|
275
|
-
* "entityId": "e1",
|
|
276
|
-
* "attributeValueReferences": [
|
|
277
|
-
* {
|
|
278
|
-
* "attributeFqn": "http://www.example.org/attr/foo/value/bar"
|
|
279
|
-
* }
|
|
280
|
-
* ]
|
|
281
|
-
* },
|
|
282
|
-
* {
|
|
283
|
-
* "entityId": "e2",
|
|
284
|
-
* "attributeValueReferences": [
|
|
285
|
-
* {
|
|
286
|
-
* "attributeFqn": "http://www.example.org/attr/color/value/red"
|
|
287
|
-
* }
|
|
288
|
-
* ]
|
|
289
|
-
* }
|
|
290
|
-
* ]
|
|
291
|
-
* }
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* @generated from message authorization.GetEntitlementsResponse
|
|
296
|
-
*/
|
|
297
|
-
export const GetEntitlementsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
298
|
-
"authorization.GetEntitlementsResponse",
|
|
299
|
-
() => [
|
|
300
|
-
{ no: 1, name: "entitlements", kind: "message", T: EntityEntitlements, repeated: true },
|
|
301
|
-
],
|
|
302
|
-
);
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
* Example Request Get Decisions by Token to answer the question - Do Bob and client1 (represented by token tok1)
|
|
307
|
-
* and Alice and client2 (represented by token tok2) have TRANSMIT authorization for
|
|
308
|
-
* 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
|
|
309
|
-
*
|
|
310
|
-
* {
|
|
311
|
-
* "actions": [
|
|
312
|
-
* {
|
|
313
|
-
* "standard": "STANDARD_ACTION_TRANSMIT"
|
|
314
|
-
* }
|
|
315
|
-
* ],
|
|
316
|
-
* "tokens": [
|
|
317
|
-
* {
|
|
318
|
-
* "id": "tok1",
|
|
319
|
-
* "jwt": ....
|
|
320
|
-
* },
|
|
321
|
-
* {
|
|
322
|
-
* "id": "tok2",
|
|
323
|
-
* "jwt": .....
|
|
324
|
-
* }
|
|
325
|
-
* ],
|
|
326
|
-
* "resourceAttributes": [
|
|
327
|
-
* {
|
|
328
|
-
* "attributeFqns": [
|
|
329
|
-
* "https://www.example.org/attr/foo/value/value1"
|
|
330
|
-
* ]
|
|
331
|
-
* },
|
|
332
|
-
* {
|
|
333
|
-
* "attributeFqns": [
|
|
334
|
-
* "https://example.net/attr/attr1/value/value1",
|
|
335
|
-
* "https://example.net/attr/attr1/value/value2"
|
|
336
|
-
* ]
|
|
337
|
-
* }
|
|
338
|
-
* ]
|
|
339
|
-
* }
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
* @generated from message authorization.TokenDecisionRequest
|
|
343
|
-
*/
|
|
344
|
-
export const TokenDecisionRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
345
|
-
"authorization.TokenDecisionRequest",
|
|
346
|
-
() => [
|
|
347
|
-
{ no: 1, name: "actions", kind: "message", T: Action, repeated: true },
|
|
348
|
-
{ no: 2, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
349
|
-
{ no: 3, name: "resource_attributes", kind: "message", T: ResourceAttribute, repeated: true },
|
|
350
|
-
],
|
|
351
|
-
);
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* @generated from message authorization.GetDecisionsByTokenRequest
|
|
355
|
-
*/
|
|
356
|
-
export const GetDecisionsByTokenRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
357
|
-
"authorization.GetDecisionsByTokenRequest",
|
|
358
|
-
() => [
|
|
359
|
-
{ no: 1, name: "decision_requests", kind: "message", T: TokenDecisionRequest, repeated: true },
|
|
360
|
-
],
|
|
361
|
-
);
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* @generated from message authorization.GetDecisionsByTokenResponse
|
|
365
|
-
*/
|
|
366
|
-
export const GetDecisionsByTokenResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
367
|
-
"authorization.GetDecisionsByTokenResponse",
|
|
368
|
-
() => [
|
|
369
|
-
{ no: 1, name: "decision_responses", kind: "message", T: DecisionResponse, repeated: true },
|
|
370
|
-
],
|
|
371
|
-
);
|
|
372
|
-
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file common/common.proto (package common, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from enum common.MetadataUpdateEnum
|
|
11
|
-
*/
|
|
12
|
-
export declare enum MetadataUpdateEnum {
|
|
13
|
-
/**
|
|
14
|
-
* unspecified update type
|
|
15
|
-
*
|
|
16
|
-
* @generated from enum value: METADATA_UPDATE_ENUM_UNSPECIFIED = 0;
|
|
17
|
-
*/
|
|
18
|
-
UNSPECIFIED = 0,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* only update the fields that are provided
|
|
22
|
-
*
|
|
23
|
-
* @generated from enum value: METADATA_UPDATE_ENUM_EXTEND = 1;
|
|
24
|
-
*/
|
|
25
|
-
EXTEND = 1,
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* replace the entire metadata with the provided metadata
|
|
29
|
-
*
|
|
30
|
-
* @generated from enum value: METADATA_UPDATE_ENUM_REPLACE = 2;
|
|
31
|
-
*/
|
|
32
|
-
REPLACE = 2,
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
37
|
-
*
|
|
38
|
-
* @generated from enum common.ActiveStateEnum
|
|
39
|
-
*/
|
|
40
|
-
export declare enum ActiveStateEnum {
|
|
41
|
-
/**
|
|
42
|
-
* @generated from enum value: ACTIVE_STATE_ENUM_UNSPECIFIED = 0;
|
|
43
|
-
*/
|
|
44
|
-
UNSPECIFIED = 0,
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @generated from enum value: ACTIVE_STATE_ENUM_ACTIVE = 1;
|
|
48
|
-
*/
|
|
49
|
-
ACTIVE = 1,
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @generated from enum value: ACTIVE_STATE_ENUM_INACTIVE = 2;
|
|
53
|
-
*/
|
|
54
|
-
INACTIVE = 2,
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @generated from enum value: ACTIVE_STATE_ENUM_ANY = 3;
|
|
58
|
-
*/
|
|
59
|
-
ANY = 3,
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Struct to uniquely identify a resource with optional additional metadata
|
|
64
|
-
*
|
|
65
|
-
* @generated from message common.Metadata
|
|
66
|
-
*/
|
|
67
|
-
export declare class Metadata extends Message<Metadata> {
|
|
68
|
-
/**
|
|
69
|
-
* created_at set by server (entity who created will recorded in an audit event)
|
|
70
|
-
*
|
|
71
|
-
* @generated from field: google.protobuf.Timestamp created_at = 1;
|
|
72
|
-
*/
|
|
73
|
-
createdAt?: Timestamp;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* updated_at set by server (entity who updated will recorded in an audit event)
|
|
77
|
-
*
|
|
78
|
-
* @generated from field: google.protobuf.Timestamp updated_at = 2;
|
|
79
|
-
*/
|
|
80
|
-
updatedAt?: Timestamp;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* optional short description
|
|
84
|
-
*
|
|
85
|
-
* @generated from field: map<string, string> labels = 3;
|
|
86
|
-
*/
|
|
87
|
-
labels: { [key: string]: string };
|
|
88
|
-
|
|
89
|
-
constructor(data?: PartialMessage<Metadata>);
|
|
90
|
-
|
|
91
|
-
static readonly runtime: typeof proto3;
|
|
92
|
-
static readonly typeName = "common.Metadata";
|
|
93
|
-
static readonly fields: FieldList;
|
|
94
|
-
|
|
95
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Metadata;
|
|
96
|
-
|
|
97
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Metadata;
|
|
98
|
-
|
|
99
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Metadata;
|
|
100
|
-
|
|
101
|
-
static equals(a: Metadata | PlainMessage<Metadata> | undefined, b: Metadata | PlainMessage<Metadata> | undefined): boolean;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @generated from message common.MetadataMutable
|
|
106
|
-
*/
|
|
107
|
-
export declare class MetadataMutable extends Message<MetadataMutable> {
|
|
108
|
-
/**
|
|
109
|
-
* optional labels
|
|
110
|
-
*
|
|
111
|
-
* @generated from field: map<string, string> labels = 3;
|
|
112
|
-
*/
|
|
113
|
-
labels: { [key: string]: string };
|
|
114
|
-
|
|
115
|
-
constructor(data?: PartialMessage<MetadataMutable>);
|
|
116
|
-
|
|
117
|
-
static readonly runtime: typeof proto3;
|
|
118
|
-
static readonly typeName = "common.MetadataMutable";
|
|
119
|
-
static readonly fields: FieldList;
|
|
120
|
-
|
|
121
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetadataMutable;
|
|
122
|
-
|
|
123
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetadataMutable;
|
|
124
|
-
|
|
125
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetadataMutable;
|
|
126
|
-
|
|
127
|
-
static equals(a: MetadataMutable | PlainMessage<MetadataMutable> | undefined, b: MetadataMutable | PlainMessage<MetadataMutable> | undefined): boolean;
|
|
128
|
-
}
|
|
129
|
-
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file common/common.proto (package common, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @generated from enum common.MetadataUpdateEnum
|
|
10
|
-
*/
|
|
11
|
-
export const MetadataUpdateEnum = /*@__PURE__*/ proto3.makeEnum(
|
|
12
|
-
"common.MetadataUpdateEnum",
|
|
13
|
-
[
|
|
14
|
-
{no: 0, name: "METADATA_UPDATE_ENUM_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
15
|
-
{no: 1, name: "METADATA_UPDATE_ENUM_EXTEND", localName: "EXTEND"},
|
|
16
|
-
{no: 2, name: "METADATA_UPDATE_ENUM_REPLACE", localName: "REPLACE"},
|
|
17
|
-
],
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
22
|
-
*
|
|
23
|
-
* @generated from enum common.ActiveStateEnum
|
|
24
|
-
*/
|
|
25
|
-
export const ActiveStateEnum = /*@__PURE__*/ proto3.makeEnum(
|
|
26
|
-
"common.ActiveStateEnum",
|
|
27
|
-
[
|
|
28
|
-
{no: 0, name: "ACTIVE_STATE_ENUM_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
29
|
-
{no: 1, name: "ACTIVE_STATE_ENUM_ACTIVE", localName: "ACTIVE"},
|
|
30
|
-
{no: 2, name: "ACTIVE_STATE_ENUM_INACTIVE", localName: "INACTIVE"},
|
|
31
|
-
{no: 3, name: "ACTIVE_STATE_ENUM_ANY", localName: "ANY"},
|
|
32
|
-
],
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Struct to uniquely identify a resource with optional additional metadata
|
|
37
|
-
*
|
|
38
|
-
* @generated from message common.Metadata
|
|
39
|
-
*/
|
|
40
|
-
export const Metadata = /*@__PURE__*/ proto3.makeMessageType(
|
|
41
|
-
"common.Metadata",
|
|
42
|
-
() => [
|
|
43
|
-
{ no: 1, name: "created_at", kind: "message", T: Timestamp },
|
|
44
|
-
{ no: 2, name: "updated_at", kind: "message", T: Timestamp },
|
|
45
|
-
{ no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
46
|
-
],
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @generated from message common.MetadataMutable
|
|
51
|
-
*/
|
|
52
|
-
export const MetadataMutable = /*@__PURE__*/ proto3.makeMessageType(
|
|
53
|
-
"common.MetadataMutable",
|
|
54
|
-
() => [
|
|
55
|
-
{ no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
56
|
-
],
|
|
57
|
-
);
|
|
58
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file entityresolution/entity_resolution.proto (package entityresolution, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { CreateEntityChainFromJwtRequest, CreateEntityChainFromJwtResponse, ResolveEntitiesRequest, ResolveEntitiesResponse } from "./entity_resolution_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service entityresolution.EntityResolutionService
|
|
11
|
-
*/
|
|
12
|
-
export declare const EntityResolutionService: {
|
|
13
|
-
readonly typeName: "entityresolution.EntityResolutionService",
|
|
14
|
-
readonly methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc entityresolution.EntityResolutionService.ResolveEntities
|
|
17
|
-
*/
|
|
18
|
-
readonly resolveEntities: {
|
|
19
|
-
readonly name: "ResolveEntities",
|
|
20
|
-
readonly I: typeof ResolveEntitiesRequest,
|
|
21
|
-
readonly O: typeof ResolveEntitiesResponse,
|
|
22
|
-
readonly kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* @generated from rpc entityresolution.EntityResolutionService.CreateEntityChainFromJwt
|
|
26
|
-
*/
|
|
27
|
-
readonly createEntityChainFromJwt: {
|
|
28
|
-
readonly name: "CreateEntityChainFromJwt",
|
|
29
|
-
readonly I: typeof CreateEntityChainFromJwtRequest,
|
|
30
|
-
readonly O: typeof CreateEntityChainFromJwtResponse,
|
|
31
|
-
readonly kind: MethodKind.Unary,
|
|
32
|
-
},
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file entityresolution/entity_resolution.proto (package entityresolution, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { CreateEntityChainFromJwtRequest, CreateEntityChainFromJwtResponse, ResolveEntitiesRequest, ResolveEntitiesResponse } from "./entity_resolution_pb";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service entityresolution.EntityResolutionService
|
|
11
|
-
*/
|
|
12
|
-
export const EntityResolutionService = {
|
|
13
|
-
typeName: "entityresolution.EntityResolutionService",
|
|
14
|
-
methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc entityresolution.EntityResolutionService.ResolveEntities
|
|
17
|
-
*/
|
|
18
|
-
resolveEntities: {
|
|
19
|
-
name: "ResolveEntities",
|
|
20
|
-
I: ResolveEntitiesRequest,
|
|
21
|
-
O: ResolveEntitiesResponse,
|
|
22
|
-
kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* @generated from rpc entityresolution.EntityResolutionService.CreateEntityChainFromJwt
|
|
26
|
-
*/
|
|
27
|
-
createEntityChainFromJwt: {
|
|
28
|
-
name: "CreateEntityChainFromJwt",
|
|
29
|
-
I: CreateEntityChainFromJwtRequest,
|
|
30
|
-
O: CreateEntityChainFromJwtResponse,
|
|
31
|
-
kind: MethodKind.Unary,
|
|
32
|
-
},
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|