@opentdf/sdk 0.4.1-rc.37 → 0.5.0-beta.42
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 +2 -1
- package/dist/cjs/src/access/access-rpc.js +11 -5
- package/dist/cjs/src/access/constants.js +6 -0
- package/dist/cjs/src/access.js +39 -4
- package/dist/cjs/src/auth/oidc-clientcredentials-provider.js +4 -2
- package/dist/cjs/src/auth/oidc-externaljwt-provider.js +5 -3
- package/dist/cjs/src/auth/oidc-refreshtoken-provider.js +19 -3
- package/dist/cjs/src/auth/oidc.js +9 -8
- package/dist/cjs/src/auth/providers.js +7 -1
- package/dist/cjs/src/index.js +4 -2
- package/dist/cjs/src/nanoclients.js +4 -4
- package/dist/cjs/src/nanotdf/Client.js +10 -6
- package/dist/cjs/src/opentdf.js +102 -13
- package/dist/cjs/src/platform/authorization/v2/authorization_pb.js +112 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +114 -170
- package/dist/cjs/src/platform/common/common_pb.js +16 -5
- package/dist/cjs/src/platform/entity/entity_pb.js +51 -0
- package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +1 -1
- package/dist/cjs/src/platform/entityresolution/v2/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +1 -1
- package/dist/cjs/src/platform/google/api/http_pb.js +3 -3
- package/dist/cjs/src/platform/kas/kas_pb.js +2 -2
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +12 -2
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +57 -4
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +2 -2
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +31 -4
- package/dist/cjs/src/platform/policy/objects_pb.js +116 -42
- package/dist/cjs/src/platform/policy/obligations/obligations_pb.js +159 -0
- package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +20 -15
- package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +2 -3
- package/dist/cjs/src/platform/policy/selectors_pb.js +1 -1
- package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +2 -3
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +2 -4
- package/dist/cjs/src/platform.js +20 -3
- package/dist/cjs/src/policy/api.js +27 -7
- package/dist/cjs/src/policy/granter.js +75 -48
- package/dist/cjs/src/seekable.js +32 -1
- package/dist/cjs/src/utils.js +85 -3
- package/dist/cjs/src/version.js +1 -1
- package/dist/cjs/tdf3/src/assertions.js +39 -2
- package/dist/cjs/tdf3/src/client/DecoratedReadableStream.js +8 -1
- package/dist/cjs/tdf3/src/client/builders.js +13 -1
- package/dist/cjs/tdf3/src/client/index.js +213 -54
- package/dist/cjs/tdf3/src/client/validation.js +3 -3
- package/dist/cjs/tdf3/src/tdf.js +42 -9
- package/dist/cjs/tdf3/src/utils/unwrap.js +2 -2
- package/dist/types/src/access/access-fetch.d.ts +1 -0
- package/dist/types/src/access/access-fetch.d.ts.map +1 -1
- package/dist/types/src/access/access-rpc.d.ts +2 -1
- package/dist/types/src/access/access-rpc.d.ts.map +1 -1
- package/dist/types/src/access/constants.d.ts +3 -0
- package/dist/types/src/access/constants.d.ts.map +1 -0
- package/dist/types/src/access.d.ts +30 -1
- package/dist/types/src/access.d.ts.map +1 -1
- package/dist/types/src/auth/oidc-clientcredentials-provider.d.ts +1 -1
- package/dist/types/src/auth/oidc-clientcredentials-provider.d.ts.map +1 -1
- package/dist/types/src/auth/oidc-externaljwt-provider.d.ts +1 -1
- package/dist/types/src/auth/oidc-externaljwt-provider.d.ts.map +1 -1
- package/dist/types/src/auth/oidc-refreshtoken-provider.d.ts +15 -1
- package/dist/types/src/auth/oidc-refreshtoken-provider.d.ts.map +1 -1
- package/dist/types/src/auth/oidc.d.ts +4 -0
- package/dist/types/src/auth/oidc.d.ts.map +1 -1
- package/dist/types/src/auth/providers.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/nanotdf/Client.d.ts +8 -1
- package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
- package/dist/types/src/opentdf.d.ts +137 -6
- package/dist/types/src/opentdf.d.ts.map +1 -1
- package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts +439 -0
- package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +495 -370
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -1
- package/dist/types/src/platform/common/common_pb.d.ts +36 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -1
- package/dist/types/src/platform/entity/entity_pb.d.ts +130 -0
- package/dist/types/src/platform/entity/entity_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +4 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -1
- package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts +136 -0
- package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -1
- package/dist/types/src/platform/kas/kas_pb.d.ts +5 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +44 -13
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +329 -24
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +20 -1
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +143 -5
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/objects_pb.d.ts +382 -33
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts +670 -0
- package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +67 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/selectors_pb.d.ts +18 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +18 -4
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -1
- package/dist/types/src/platform.d.ts +21 -0
- package/dist/types/src/platform.d.ts.map +1 -1
- package/dist/types/src/policy/api.d.ts +2 -0
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/types/src/policy/granter.d.ts +11 -6
- package/dist/types/src/policy/granter.d.ts.map +1 -1
- package/dist/types/src/seekable.d.ts +31 -0
- package/dist/types/src/seekable.d.ts.map +1 -1
- package/dist/types/src/utils.d.ts +61 -2
- 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 +4 -0
- package/dist/types/tdf3/src/assertions.d.ts.map +1 -1
- package/dist/types/tdf3/src/client/DecoratedReadableStream.d.ts +6 -0
- package/dist/types/tdf3/src/client/DecoratedReadableStream.d.ts.map +1 -1
- package/dist/types/tdf3/src/client/builders.d.ts +14 -0
- package/dist/types/tdf3/src/client/builders.d.ts.map +1 -1
- package/dist/types/tdf3/src/client/index.d.ts +25 -4
- package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
- package/dist/types/tdf3/src/client/validation.d.ts +3 -3
- package/dist/types/tdf3/src/client/validation.d.ts.map +1 -1
- package/dist/types/tdf3/src/tdf.d.ts +3 -1
- package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
- package/dist/types/tdf3/src/utils/unwrap.d.ts.map +1 -1
- package/dist/web/src/access/access-fetch.js +2 -1
- package/dist/web/src/access/access-rpc.js +11 -5
- package/dist/web/src/access/constants.js +3 -0
- package/dist/web/src/access.js +37 -3
- package/dist/web/src/auth/oidc-clientcredentials-provider.js +4 -2
- package/dist/web/src/auth/oidc-externaljwt-provider.js +5 -3
- package/dist/web/src/auth/oidc-refreshtoken-provider.js +19 -3
- package/dist/web/src/auth/oidc.js +9 -8
- package/dist/web/src/auth/providers.js +7 -1
- package/dist/web/src/index.js +2 -1
- package/dist/web/src/nanoclients.js +4 -4
- package/dist/web/src/nanotdf/Client.js +11 -7
- package/dist/web/src/opentdf.js +102 -13
- package/dist/web/src/platform/authorization/v2/authorization_pb.js +109 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +113 -169
- package/dist/web/src/platform/common/common_pb.js +15 -4
- package/dist/web/src/platform/entity/entity_pb.js +48 -0
- package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +1 -1
- package/dist/web/src/platform/entityresolution/v2/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +1 -1
- package/dist/web/src/platform/google/api/http_pb.js +3 -3
- package/dist/web/src/platform/kas/kas_pb.js +2 -2
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +12 -2
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +55 -3
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +2 -2
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +30 -3
- package/dist/web/src/platform/policy/objects_pb.js +114 -41
- package/dist/web/src/platform/policy/obligations/obligations_pb.js +156 -0
- package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +19 -14
- package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +2 -3
- package/dist/web/src/platform/policy/selectors_pb.js +1 -1
- package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +2 -3
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +2 -4
- package/dist/web/src/platform.js +20 -3
- package/dist/web/src/policy/api.js +26 -7
- package/dist/web/src/policy/granter.js +75 -48
- package/dist/web/src/seekable.js +32 -1
- package/dist/web/src/utils.js +84 -3
- package/dist/web/src/version.js +1 -1
- package/dist/web/tdf3/src/assertions.js +38 -2
- package/dist/web/tdf3/src/client/DecoratedReadableStream.js +8 -1
- package/dist/web/tdf3/src/client/builders.js +13 -1
- package/dist/web/tdf3/src/client/index.js +215 -57
- package/dist/web/tdf3/src/client/validation.js +3 -3
- package/dist/web/tdf3/src/tdf.js +42 -9
- package/dist/web/tdf3/src/utils/unwrap.js +2 -2
- package/package.json +7 -5
- package/src/access/access-fetch.ts +1 -0
- package/src/access/access-rpc.ts +13 -4
- package/src/access/constants.ts +2 -0
- package/src/access.ts +54 -2
- package/src/auth/oidc-clientcredentials-provider.ts +4 -0
- package/src/auth/oidc-externaljwt-provider.ts +5 -1
- package/src/auth/oidc-refreshtoken-provider.ts +19 -1
- package/src/auth/oidc.ts +12 -7
- package/src/auth/providers.ts +6 -0
- package/src/index.ts +1 -0
- package/src/nanoclients.ts +3 -3
- package/src/nanotdf/Client.ts +28 -6
- package/src/opentdf.ts +205 -73
- package/src/platform/authorization/v2/authorization_pb.ts +503 -0
- package/src/platform/buf/validate/validate_pb.ts +529 -401
- package/src/platform/common/common_pb.ts +48 -3
- package/src/platform/entity/entity_pb.ts +154 -0
- package/src/platform/entityresolution/entity_resolution_pb.ts +4 -0
- package/src/platform/entityresolution/v2/entity_resolution_pb.ts +170 -0
- package/src/platform/google/api/annotations_pb.ts +1 -1
- package/src/platform/google/api/http_pb.ts +2 -2
- package/src/platform/kas/kas_pb.ts +6 -1
- package/src/platform/policy/attributes/attributes_pb.ts +46 -16
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +371 -27
- package/src/platform/policy/keymanagement/key_management_pb.ts +24 -2
- package/src/platform/policy/namespaces/namespaces_pb.ts +163 -7
- package/src/platform/policy/objects_pb.ts +474 -59
- package/src/platform/policy/obligations/obligations_pb.ts +788 -0
- package/src/platform/policy/registeredresources/registered_resources_pb.ts +80 -13
- package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +1 -2
- package/src/platform/policy/selectors_pb.ts +18 -0
- package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +1 -2
- package/src/platform/policy/unsafe/unsafe_pb.ts +21 -6
- package/src/platform.ts +29 -5
- package/src/policy/api.ts +37 -6
- package/src/policy/granter.ts +82 -56
- package/src/seekable.ts +31 -0
- package/src/utils.ts +88 -2
- package/src/version.ts +1 -1
- package/tdf3/src/assertions.ts +52 -1
- package/tdf3/src/client/DecoratedReadableStream.ts +9 -0
- package/tdf3/src/client/builders.ts +16 -0
- package/tdf3/src/client/index.ts +309 -73
- package/tdf3/src/client/validation.ts +2 -2
- package/tdf3/src/tdf.ts +53 -9
- package/tdf3/src/utils/unwrap.ts +2 -1
|
@@ -6,13 +6,58 @@ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"
|
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_buf_validate_validate } from "../buf/validate/validate_pb.js";
|
|
9
10
|
import type { Message } from "@bufbuild/protobuf";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Describes the file common/common.proto.
|
|
13
14
|
*/
|
|
14
15
|
export const file_common_common: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
16
|
+
fileDesc("ChNjb21tb24vY29tbW9uLnByb3RvEgZjb21tb24iyAIKEElkTmFtZUlkZW50a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YVEVORBABEiAKHE1FVEFEQVRBX1VQREFURV9FTlVNX1JFUExBQ0UQAiqNAQoPQWN0aXZlU3RhdGVFbnVtEiEKHUFDVElWRV9TVEFURV9FTlVNX1VOU1BFQ0lGSUVEEAASHAoYQUNUSVZFX1NUQVRFX0VOVU1fQUNUSVZFEAESHgoaQUNUSVZFX1NUQVRFX0VOVU1fSU5BQ1RJVkUQAhIZChVBQ1RJVkVfU1RBVEVfRU5VTV9BTlkQA2IGcHJvdG8z", [file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message common.IdNameIdentifier
|
|
20
|
+
*/
|
|
21
|
+
export type IdNameIdentifier = Message<"common.IdNameIdentifier"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string id = 1;
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string name = 2;
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message common.IdNameIdentifier.
|
|
35
|
+
* Use `create(IdNameIdentifierSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const IdNameIdentifierSchema: GenMessage<IdNameIdentifier> = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_common_common, 0);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message common.IdFqnIdentifier
|
|
42
|
+
*/
|
|
43
|
+
export type IdFqnIdentifier = Message<"common.IdFqnIdentifier"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string id = 1;
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string fqn = 2;
|
|
51
|
+
*/
|
|
52
|
+
fqn: string;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message common.IdFqnIdentifier.
|
|
57
|
+
* Use `create(IdFqnIdentifierSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const IdFqnIdentifierSchema: GenMessage<IdFqnIdentifier> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_common_common, 1);
|
|
16
61
|
|
|
17
62
|
/**
|
|
18
63
|
* Struct to uniquely identify a resource with optional additional metadata
|
|
@@ -47,7 +92,7 @@ export type Metadata = Message<"common.Metadata"> & {
|
|
|
47
92
|
* Use `create(MetadataSchema)` to create a new message.
|
|
48
93
|
*/
|
|
49
94
|
export const MetadataSchema: GenMessage<Metadata> = /*@__PURE__*/
|
|
50
|
-
messageDesc(file_common_common,
|
|
95
|
+
messageDesc(file_common_common, 2);
|
|
51
96
|
|
|
52
97
|
/**
|
|
53
98
|
* @generated from message common.MetadataMutable
|
|
@@ -66,7 +111,7 @@ export type MetadataMutable = Message<"common.MetadataMutable"> & {
|
|
|
66
111
|
* Use `create(MetadataMutableSchema)` to create a new message.
|
|
67
112
|
*/
|
|
68
113
|
export const MetadataMutableSchema: GenMessage<MetadataMutable> = /*@__PURE__*/
|
|
69
|
-
messageDesc(file_common_common,
|
|
114
|
+
messageDesc(file_common_common, 3);
|
|
70
115
|
|
|
71
116
|
/**
|
|
72
117
|
* @generated from enum common.MetadataUpdateEnum
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file entity/entity.proto (package entity, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../buf/validate/validate_pb.js";
|
|
8
|
+
import type { Any } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file entity/entity.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_entity_entity: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("ChNlbnRpdHkvZW50aXR5LnByb3RvEgZlbnRpdHkiMgoFVG9rZW4SFAoMZXBoZW1lcmFsX2lkGAEgASgJEhMKA2p3dBgCIAEoCUIGukgDyAEBIpkCCgZFbnRpdHkSFAoMZXBoZW1lcmFsX2lkGAEgASgJEhcKDWVtYWlsX2FkZHJlc3MYAiABKAlIABITCgl1c2VyX25hbWUYAyABKAlIABImCgZjbGFpbXMYBCABKAsyFC5nb29nbGUucHJvdG9idWYuQW55SAASEwoJY2xpZW50X2lkGAUgASgJSAASKQoIY2F0ZWdvcnkYCyABKA4yFy5lbnRpdHkuRW50aXR5LkNhdGVnb3J5IlQKCENhdGVnb3J5EhgKFENBVEVHT1JZX1VOU1BFQ0lGSUVEEAASFAoQQ0FURUdPUllfU1VCSkVDVBABEhgKFENBVEVHT1JZX0VOVklST05NRU5UEAJCDQoLZW50aXR5X3R5cGUiRQoLRW50aXR5Q2hhaW4SFAoMZXBoZW1lcmFsX2lkGAEgASgJEiAKCGVudGl0aWVzGAIgAygLMg4uZW50aXR5LkVudGl0eWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_any]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message entity.Token
|
|
20
|
+
*/
|
|
21
|
+
export type Token = Message<"entity.Token"> & {
|
|
22
|
+
/**
|
|
23
|
+
* ephemeral id for tracking between request and response
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string ephemeral_id = 1;
|
|
26
|
+
*/
|
|
27
|
+
ephemeralId: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* the token
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string jwt = 2;
|
|
33
|
+
*/
|
|
34
|
+
jwt: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message entity.Token.
|
|
39
|
+
* Use `create(TokenSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const TokenSchema: GenMessage<Token> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_entity_entity, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* PE (Person Entity) or NPE (Non-Person Entity)
|
|
46
|
+
*
|
|
47
|
+
* @generated from message entity.Entity
|
|
48
|
+
*/
|
|
49
|
+
export type Entity = Message<"entity.Entity"> & {
|
|
50
|
+
/**
|
|
51
|
+
* ephemeral id for tracking between request and response
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string ephemeral_id = 1;
|
|
54
|
+
*/
|
|
55
|
+
ephemeralId: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Standard entity types supported by the platform, one of which must be set
|
|
59
|
+
*
|
|
60
|
+
* @generated from oneof entity.Entity.entity_type
|
|
61
|
+
*/
|
|
62
|
+
entityType: {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string email_address = 2;
|
|
65
|
+
*/
|
|
66
|
+
value: string;
|
|
67
|
+
case: "emailAddress";
|
|
68
|
+
} | {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string user_name = 3;
|
|
71
|
+
*/
|
|
72
|
+
value: string;
|
|
73
|
+
case: "userName";
|
|
74
|
+
} | {
|
|
75
|
+
/**
|
|
76
|
+
* used by ERS claims mode
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: google.protobuf.Any claims = 4;
|
|
79
|
+
*/
|
|
80
|
+
value: Any;
|
|
81
|
+
case: "claims";
|
|
82
|
+
} | {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string client_id = 5;
|
|
85
|
+
*/
|
|
86
|
+
value: string;
|
|
87
|
+
case: "clientId";
|
|
88
|
+
} | { case: undefined; value?: undefined };
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: entity.Entity.Category category = 11;
|
|
92
|
+
*/
|
|
93
|
+
category: Entity_Category;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message entity.Entity.
|
|
98
|
+
* Use `create(EntitySchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const EntitySchema: GenMessage<Entity> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_entity_entity, 1);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from enum entity.Entity.Category
|
|
105
|
+
*/
|
|
106
|
+
export enum Entity_Category {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum value: CATEGORY_UNSPECIFIED = 0;
|
|
109
|
+
*/
|
|
110
|
+
UNSPECIFIED = 0,
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from enum value: CATEGORY_SUBJECT = 1;
|
|
114
|
+
*/
|
|
115
|
+
SUBJECT = 1,
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from enum value: CATEGORY_ENVIRONMENT = 2;
|
|
119
|
+
*/
|
|
120
|
+
ENVIRONMENT = 2,
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Describes the enum entity.Entity.Category.
|
|
125
|
+
*/
|
|
126
|
+
export const Entity_CategorySchema: GenEnum<Entity_Category> = /*@__PURE__*/
|
|
127
|
+
enumDesc(file_entity_entity, 1, 0);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* A set of related PE and NPE
|
|
131
|
+
*
|
|
132
|
+
* @generated from message entity.EntityChain
|
|
133
|
+
*/
|
|
134
|
+
export type EntityChain = Message<"entity.EntityChain"> & {
|
|
135
|
+
/**
|
|
136
|
+
* ephemeral id for tracking between request and response
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: string ephemeral_id = 1;
|
|
139
|
+
*/
|
|
140
|
+
ephemeralId: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: repeated entity.Entity entities = 2;
|
|
144
|
+
*/
|
|
145
|
+
entities: Entity[];
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message entity.EntityChain.
|
|
150
|
+
* Use `create(EntityChainSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export const EntityChainSchema: GenMessage<EntityChain> = /*@__PURE__*/
|
|
153
|
+
messageDesc(file_entity_entity, 2);
|
|
154
|
+
|
|
@@ -213,6 +213,8 @@ export const CreateEntityChainFromJwtResponseSchema: GenMessage<CreateEntityChai
|
|
|
213
213
|
*/
|
|
214
214
|
export const EntityResolutionService: GenService<{
|
|
215
215
|
/**
|
|
216
|
+
* Deprecated: use v2 ResolveEntities instead
|
|
217
|
+
*
|
|
216
218
|
* @generated from rpc entityresolution.EntityResolutionService.ResolveEntities
|
|
217
219
|
*/
|
|
218
220
|
resolveEntities: {
|
|
@@ -221,6 +223,8 @@ export const EntityResolutionService: GenService<{
|
|
|
221
223
|
output: typeof ResolveEntitiesResponseSchema;
|
|
222
224
|
},
|
|
223
225
|
/**
|
|
226
|
+
* Deprecated: use v2 CreateEntityChainsFromTokens instead
|
|
227
|
+
*
|
|
224
228
|
* @generated from rpc entityresolution.EntityResolutionService.CreateEntityChainFromJwt
|
|
225
229
|
*/
|
|
226
230
|
createEntityChainFromJwt: {
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file entityresolution/v2/entity_resolution.proto (package entityresolution.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
8
|
+
import type { Entity, EntityChain, Token } from "../../entity/entity_pb.js";
|
|
9
|
+
import { file_entity_entity } from "../../entity/entity_pb.js";
|
|
10
|
+
import type { Any } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import { file_google_protobuf_any, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file entityresolution/v2/entity_resolution.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_entityresolution_v2_entity_resolution: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("CitlbnRpdHlyZXNvbHV0aW9uL3YyL2VudGl0eV9yZXNvbHV0aW9uLnByb3RvEhNlbnRpdHlyZXNvbHV0aW9uLnYyIl4KFEVudGl0eVJlcHJlc2VudGF0aW9uEhMKC29yaWdpbmFsX2lkGAEgASgJEjEKEGFkZGl0aW9uYWxfcHJvcHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0IkcKFlJlc29sdmVFbnRpdGllc1JlcXVlc3QSLQoIZW50aXRpZXMYASADKAsyDi5lbnRpdHkuRW50aXR5Qgu6SAjIAQGSAQIIASJkChdSZXNvbHZlRW50aXRpZXNSZXNwb25zZRJJChZlbnRpdHlfcmVwcmVzZW50YXRpb25zGAEgAygLMikuZW50aXR5cmVzb2x1dGlvbi52Mi5FbnRpdHlSZXByZXNlbnRhdGlvbiJrChNFbnRpdHlOb3RGb3VuZEVycm9yEgwKBGNvZGUYASABKAUSDwoHbWVzc2FnZRgCIAEoCRIlCgdkZXRhaWxzGAMgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueRIOCgZlbnRpdHkYBCABKAkiRAojQ3JlYXRlRW50aXR5Q2hhaW5zRnJvbVRva2Vuc1JlcXVlc3QSHQoGdG9rZW5zGAEgAygLMg0uZW50aXR5LlRva2VuIlIKJENyZWF0ZUVudGl0eUNoYWluc0Zyb21Ub2tlbnNSZXNwb25zZRIqCg1lbnRpdHlfY2hhaW5zGAEgAygLMhMuZW50aXR5LkVudGl0eUNoYWluMqECChdFbnRpdHlSZXNvbHV0aW9uU2VydmljZRJuCg9SZXNvbHZlRW50aXRpZXMSKy5lbnRpdHlyZXNvbHV0aW9uLnYyLlJlc29sdmVFbnRpdGllc1JlcXVlc3QaLC5lbnRpdHlyZXNvbHV0aW9uLnYyLlJlc29sdmVFbnRpdGllc1Jlc3BvbnNlIgASlQEKHENyZWF0ZUVudGl0eUNoYWluc0Zyb21Ub2tlbnMSOC5lbnRpdHlyZXNvbHV0aW9uLnYyLkNyZWF0ZUVudGl0eUNoYWluc0Zyb21Ub2tlbnNSZXF1ZXN0GjkuZW50aXR5cmVzb2x1dGlvbi52Mi5DcmVhdGVFbnRpdHlDaGFpbnNGcm9tVG9rZW5zUmVzcG9uc2UiAGIGcHJvdG8z", [file_buf_validate_validate, file_entity_entity, file_google_protobuf_any, file_google_protobuf_struct]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message entityresolution.v2.EntityRepresentation
|
|
22
|
+
*/
|
|
23
|
+
export type EntityRepresentation = Message<"entityresolution.v2.EntityRepresentation"> & {
|
|
24
|
+
/**
|
|
25
|
+
* ephemeral entity id from the request
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string original_id = 1;
|
|
28
|
+
*/
|
|
29
|
+
originalId: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: repeated google.protobuf.Struct additional_props = 2;
|
|
33
|
+
*/
|
|
34
|
+
additionalProps: JsonObject[];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message entityresolution.v2.EntityRepresentation.
|
|
39
|
+
* Use `create(EntityRepresentationSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const EntityRepresentationSchema: GenMessage<EntityRepresentation> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Resolve a set of entities to their representations.
|
|
46
|
+
*
|
|
47
|
+
* @generated from message entityresolution.v2.ResolveEntitiesRequest
|
|
48
|
+
*/
|
|
49
|
+
export type ResolveEntitiesRequest = Message<"entityresolution.v2.ResolveEntitiesRequest"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: repeated entity.Entity entities = 1;
|
|
52
|
+
*/
|
|
53
|
+
entities: Entity[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message entityresolution.v2.ResolveEntitiesRequest.
|
|
58
|
+
* Use `create(ResolveEntitiesRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ResolveEntitiesRequestSchema: GenMessage<ResolveEntitiesRequest> = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 1);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from message entityresolution.v2.ResolveEntitiesResponse
|
|
65
|
+
*/
|
|
66
|
+
export type ResolveEntitiesResponse = Message<"entityresolution.v2.ResolveEntitiesResponse"> & {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: repeated entityresolution.v2.EntityRepresentation entity_representations = 1;
|
|
69
|
+
*/
|
|
70
|
+
entityRepresentations: EntityRepresentation[];
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message entityresolution.v2.ResolveEntitiesResponse.
|
|
75
|
+
* Use `create(ResolveEntitiesResponseSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const ResolveEntitiesResponseSchema: GenMessage<ResolveEntitiesResponse> = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 2);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from message entityresolution.v2.EntityNotFoundError
|
|
82
|
+
*/
|
|
83
|
+
export type EntityNotFoundError = Message<"entityresolution.v2.EntityNotFoundError"> & {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: int32 code = 1;
|
|
86
|
+
*/
|
|
87
|
+
code: number;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string message = 2;
|
|
91
|
+
*/
|
|
92
|
+
message: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: repeated google.protobuf.Any details = 3;
|
|
96
|
+
*/
|
|
97
|
+
details: Any[];
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string entity = 4;
|
|
101
|
+
*/
|
|
102
|
+
entity: string;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message entityresolution.v2.EntityNotFoundError.
|
|
107
|
+
* Use `create(EntityNotFoundErrorSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const EntityNotFoundErrorSchema: GenMessage<EntityNotFoundError> = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 3);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Create an entity chain for each token (JWT) in the request.
|
|
114
|
+
*
|
|
115
|
+
* @generated from message entityresolution.v2.CreateEntityChainsFromTokensRequest
|
|
116
|
+
*/
|
|
117
|
+
export type CreateEntityChainsFromTokensRequest = Message<"entityresolution.v2.CreateEntityChainsFromTokensRequest"> & {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: repeated entity.Token tokens = 1;
|
|
120
|
+
*/
|
|
121
|
+
tokens: Token[];
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message entityresolution.v2.CreateEntityChainsFromTokensRequest.
|
|
126
|
+
* Use `create(CreateEntityChainsFromTokensRequestSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export const CreateEntityChainsFromTokensRequestSchema: GenMessage<CreateEntityChainsFromTokensRequest> = /*@__PURE__*/
|
|
129
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 4);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message entityresolution.v2.CreateEntityChainsFromTokensResponse
|
|
133
|
+
*/
|
|
134
|
+
export type CreateEntityChainsFromTokensResponse = Message<"entityresolution.v2.CreateEntityChainsFromTokensResponse"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: repeated entity.EntityChain entity_chains = 1;
|
|
137
|
+
*/
|
|
138
|
+
entityChains: EntityChain[];
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message entityresolution.v2.CreateEntityChainsFromTokensResponse.
|
|
143
|
+
* Use `create(CreateEntityChainsFromTokensResponseSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const CreateEntityChainsFromTokensResponseSchema: GenMessage<CreateEntityChainsFromTokensResponse> = /*@__PURE__*/
|
|
146
|
+
messageDesc(file_entityresolution_v2_entity_resolution, 5);
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from service entityresolution.v2.EntityResolutionService
|
|
150
|
+
*/
|
|
151
|
+
export const EntityResolutionService: GenService<{
|
|
152
|
+
/**
|
|
153
|
+
* @generated from rpc entityresolution.v2.EntityResolutionService.ResolveEntities
|
|
154
|
+
*/
|
|
155
|
+
resolveEntities: {
|
|
156
|
+
methodKind: "unary";
|
|
157
|
+
input: typeof ResolveEntitiesRequestSchema;
|
|
158
|
+
output: typeof ResolveEntitiesResponseSchema;
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* @generated from rpc entityresolution.v2.EntityResolutionService.CreateEntityChainsFromTokens
|
|
162
|
+
*/
|
|
163
|
+
createEntityChainsFromTokens: {
|
|
164
|
+
methodKind: "unary";
|
|
165
|
+
input: typeof CreateEntityChainsFromTokensRequestSchema;
|
|
166
|
+
output: typeof CreateEntityChainsFromTokensResponseSchema;
|
|
167
|
+
},
|
|
168
|
+
}> = /*@__PURE__*/
|
|
169
|
+
serviceDesc(file_entityresolution_v2_entity_resolution, 0);
|
|
170
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -24,7 +24,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
24
24
|
* Describes the file google/api/http.proto.
|
|
25
25
|
*/
|
|
26
26
|
export const file_google_api_http: GenFile = /*@__PURE__*/
|
|
27
|
-
fileDesc("
|
|
27
|
+
fileDesc("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJnCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z");
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Defines the HTTP configuration for an API service. It contains a list of
|
|
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file kas/kas.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_kas_kas: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("Cg1rYXMva2FzLnByb3RvEgNrYXMiDQoLSW5mb1JlcXVlc3QiHwoMSW5mb1Jlc3BvbnNlEg8KB3ZlcnNpb24YASABKAkiKwoWTGVnYWN5UHVibGljS2V5UmVxdWVzdBIRCglhbGdvcml0aG0YASABKAkiNQoNUG9saWN5QmluZGluZxIWCglhbGdvcml0aG0YASABKAlSA2FsZxIMCgRoYXNoGAIgASgJIvoBCglLZXlBY2Nlc3MSGgoSZW5jcnlwdGVkX21ldGFkYXRhGAEgASgJEioKDnBvbGljeV9iaW5kaW5nGAIgASgLMhIua2FzLlBvbGljeUJpbmRpbmcSEAoIcHJvdG9jb2wYAyABKAkSFgoIa2V5X3R5cGUYBCABKAlSBHR5cGUSFAoHa2FzX3VybBgFIAEoCVIDdXJsEgsKA2tpZBgGIAEoCRIVCghzcGxpdF9pZBgHIAEoCVIDc2lkEhMKC3dyYXBwZWRfa2V5GAggASgMEg4KBmhlYWRlchgJIAEoDBIcChRlcGhlbWVyYWxfcHVibGljX2tleRgKIAEoCSL5AwoVVW5zaWduZWRSZXdyYXBSZXF1ZXN0EhkKEWNsaWVudF9wdWJsaWNfa2V5GAEgASgJEj4KCHJlcXVlc3RzGAIgAygLMiwua2FzLlVuc2lnbmVkUmV3cmFwUmVxdWVzdC5XaXRoUG9saWN5UmVxdWVzdBImCgprZXlfYWNjZXNzGAMgASgLMg4ua2FzLktleUFjY2Vzc0ICGAESEgoGcG9saWN5GAQgASgJQgIYARIVCglhbGdvcml0aG0YBSABKAlCAhgBGiYKCldpdGhQb2xp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BzOi8vZ2l0aHViLmNvbS9vcGVudGRmL2JhY2tlbmQvYmxvYi9tYXN0ZXIvTElDRU5TRTIFMS41LjBiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_struct, file_google_protobuf_wrappers, file_protoc_gen_openapiv2_options_annotations]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Intentionally empty. May include features later.
|
|
@@ -462,9 +462,14 @@ export const AccessService: GenService<{
|
|
|
462
462
|
output: typeof PublicKeyResponseSchema;
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
|
+
* Endpoint intended for gRPC Gateway's REST endpoint to provide v1 compatibility with older TDF clients
|
|
466
|
+
*
|
|
467
|
+
* This endpoint is not recommended for use in new applications, prefer the v2 endpoint ('PublicKey') instead.
|
|
468
|
+
*
|
|
465
469
|
* buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
|
|
466
470
|
*
|
|
467
471
|
* @generated from rpc kas.AccessService.LegacyPublicKey
|
|
472
|
+
* @deprecated
|
|
468
473
|
*/
|
|
469
474
|
legacyPublicKey: {
|
|
470
475
|
methodKind: "unary";
|