@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,242 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.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 type { Any, BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
import type { Entity, EntityChain, Token } from "../authorization/authorization_pb";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* Example: Get idp attributes for bob and alice (both represented using an email address
|
|
13
|
-
* {
|
|
14
|
-
* "entities": [
|
|
15
|
-
* {
|
|
16
|
-
* "id": "e1",
|
|
17
|
-
* "emailAddress": "bob@example.org"
|
|
18
|
-
* },
|
|
19
|
-
* {
|
|
20
|
-
* "id": "e2",
|
|
21
|
-
* "emailAddress": "alice@example.org"
|
|
22
|
-
* }
|
|
23
|
-
* ]
|
|
24
|
-
* }
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @generated from message entityresolution.ResolveEntitiesRequest
|
|
28
|
-
*/
|
|
29
|
-
export declare class ResolveEntitiesRequest extends Message<ResolveEntitiesRequest> {
|
|
30
|
-
/**
|
|
31
|
-
* @generated from field: repeated authorization.Entity entities = 1;
|
|
32
|
-
*/
|
|
33
|
-
entities: Entity[];
|
|
34
|
-
|
|
35
|
-
constructor(data?: PartialMessage<ResolveEntitiesRequest>);
|
|
36
|
-
|
|
37
|
-
static readonly runtime: typeof proto3;
|
|
38
|
-
static readonly typeName = "entityresolution.ResolveEntitiesRequest";
|
|
39
|
-
static readonly fields: FieldList;
|
|
40
|
-
|
|
41
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolveEntitiesRequest;
|
|
42
|
-
|
|
43
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolveEntitiesRequest;
|
|
44
|
-
|
|
45
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolveEntitiesRequest;
|
|
46
|
-
|
|
47
|
-
static equals(a: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined, b: ResolveEntitiesRequest | PlainMessage<ResolveEntitiesRequest> | undefined): boolean;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @generated from message entityresolution.EntityRepresentation
|
|
52
|
-
*/
|
|
53
|
-
export declare class EntityRepresentation extends Message<EntityRepresentation> {
|
|
54
|
-
/**
|
|
55
|
-
* @generated from field: repeated google.protobuf.Struct additional_props = 1;
|
|
56
|
-
*/
|
|
57
|
-
additionalProps: Struct[];
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* ephemeral entity id from the request
|
|
61
|
-
*
|
|
62
|
-
* @generated from field: string original_id = 2;
|
|
63
|
-
*/
|
|
64
|
-
originalId: string;
|
|
65
|
-
|
|
66
|
-
constructor(data?: PartialMessage<EntityRepresentation>);
|
|
67
|
-
|
|
68
|
-
static readonly runtime: typeof proto3;
|
|
69
|
-
static readonly typeName = "entityresolution.EntityRepresentation";
|
|
70
|
-
static readonly fields: FieldList;
|
|
71
|
-
|
|
72
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityRepresentation;
|
|
73
|
-
|
|
74
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EntityRepresentation;
|
|
75
|
-
|
|
76
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityRepresentation;
|
|
77
|
-
|
|
78
|
-
static equals(a: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined, b: EntityRepresentation | PlainMessage<EntityRepresentation> | undefined): boolean;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* Example: Get idp attributes for bob and alice
|
|
84
|
-
* {
|
|
85
|
-
* "entity_representations": [
|
|
86
|
-
* {
|
|
87
|
-
* "idp_entity_id": "e1",
|
|
88
|
-
* "additional_props": {"someAttr1":"someValue1"}
|
|
89
|
-
* },
|
|
90
|
-
* {
|
|
91
|
-
* "idp_entity_id": "e2",
|
|
92
|
-
* "additional_props": {"someAttr2":"someValue2"}
|
|
93
|
-
* }
|
|
94
|
-
* ]
|
|
95
|
-
* }
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* @generated from message entityresolution.ResolveEntitiesResponse
|
|
99
|
-
*/
|
|
100
|
-
export declare class ResolveEntitiesResponse extends Message<ResolveEntitiesResponse> {
|
|
101
|
-
/**
|
|
102
|
-
* @generated from field: repeated entityresolution.EntityRepresentation entity_representations = 1;
|
|
103
|
-
*/
|
|
104
|
-
entityRepresentations: EntityRepresentation[];
|
|
105
|
-
|
|
106
|
-
constructor(data?: PartialMessage<ResolveEntitiesResponse>);
|
|
107
|
-
|
|
108
|
-
static readonly runtime: typeof proto3;
|
|
109
|
-
static readonly typeName = "entityresolution.ResolveEntitiesResponse";
|
|
110
|
-
static readonly fields: FieldList;
|
|
111
|
-
|
|
112
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolveEntitiesResponse;
|
|
113
|
-
|
|
114
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolveEntitiesResponse;
|
|
115
|
-
|
|
116
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolveEntitiesResponse;
|
|
117
|
-
|
|
118
|
-
static equals(a: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined, b: ResolveEntitiesResponse | PlainMessage<ResolveEntitiesResponse> | undefined): boolean;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @generated from message entityresolution.EntityNotFoundError
|
|
123
|
-
*/
|
|
124
|
-
export declare class EntityNotFoundError extends Message<EntityNotFoundError> {
|
|
125
|
-
/**
|
|
126
|
-
* @generated from field: int32 code = 1;
|
|
127
|
-
*/
|
|
128
|
-
code: number;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @generated from field: string message = 2;
|
|
132
|
-
*/
|
|
133
|
-
message: string;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @generated from field: repeated google.protobuf.Any details = 3;
|
|
137
|
-
*/
|
|
138
|
-
details: Any[];
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: string entity = 4;
|
|
142
|
-
*/
|
|
143
|
-
entity: string;
|
|
144
|
-
|
|
145
|
-
constructor(data?: PartialMessage<EntityNotFoundError>);
|
|
146
|
-
|
|
147
|
-
static readonly runtime: typeof proto3;
|
|
148
|
-
static readonly typeName = "entityresolution.EntityNotFoundError";
|
|
149
|
-
static readonly fields: FieldList;
|
|
150
|
-
|
|
151
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityNotFoundError;
|
|
152
|
-
|
|
153
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EntityNotFoundError;
|
|
154
|
-
|
|
155
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityNotFoundError;
|
|
156
|
-
|
|
157
|
-
static equals(a: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined, b: EntityNotFoundError | PlainMessage<EntityNotFoundError> | undefined): boolean;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* Example: Get Entity chains for tokens aaaaaa and bbbbbb
|
|
163
|
-
* {
|
|
164
|
-
* "tokens": [
|
|
165
|
-
* "aaaaaaa",
|
|
166
|
-
* "bbbbbbbb"
|
|
167
|
-
* ]
|
|
168
|
-
* }
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* @generated from message entityresolution.CreateEntityChainFromJwtRequest
|
|
172
|
-
*/
|
|
173
|
-
export declare class CreateEntityChainFromJwtRequest extends Message<CreateEntityChainFromJwtRequest> {
|
|
174
|
-
/**
|
|
175
|
-
* @generated from field: repeated authorization.Token tokens = 1;
|
|
176
|
-
*/
|
|
177
|
-
tokens: Token[];
|
|
178
|
-
|
|
179
|
-
constructor(data?: PartialMessage<CreateEntityChainFromJwtRequest>);
|
|
180
|
-
|
|
181
|
-
static readonly runtime: typeof proto3;
|
|
182
|
-
static readonly typeName = "entityresolution.CreateEntityChainFromJwtRequest";
|
|
183
|
-
static readonly fields: FieldList;
|
|
184
|
-
|
|
185
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateEntityChainFromJwtRequest;
|
|
186
|
-
|
|
187
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateEntityChainFromJwtRequest;
|
|
188
|
-
|
|
189
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateEntityChainFromJwtRequest;
|
|
190
|
-
|
|
191
|
-
static equals(a: CreateEntityChainFromJwtRequest | PlainMessage<CreateEntityChainFromJwtRequest> | undefined, b: CreateEntityChainFromJwtRequest | PlainMessage<CreateEntityChainFromJwtRequest> | undefined): boolean;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* Example: Return the entity chains from the provided tokens
|
|
197
|
-
* {
|
|
198
|
-
* "entity_chains": [
|
|
199
|
-
* {
|
|
200
|
-
* "id": "tok1",
|
|
201
|
-
* "entities": [
|
|
202
|
-
* {
|
|
203
|
-
* "clientId": "client1"
|
|
204
|
-
* }
|
|
205
|
-
* ]
|
|
206
|
-
* },
|
|
207
|
-
* {
|
|
208
|
-
* "id": "tok2",
|
|
209
|
-
* "entities": [
|
|
210
|
-
* {
|
|
211
|
-
* "userName": "alice",
|
|
212
|
-
* "clientId": "client2"
|
|
213
|
-
* }
|
|
214
|
-
* ]
|
|
215
|
-
* }
|
|
216
|
-
* ]
|
|
217
|
-
* }
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* @generated from message entityresolution.CreateEntityChainFromJwtResponse
|
|
221
|
-
*/
|
|
222
|
-
export declare class CreateEntityChainFromJwtResponse extends Message<CreateEntityChainFromJwtResponse> {
|
|
223
|
-
/**
|
|
224
|
-
* @generated from field: repeated authorization.EntityChain entity_chains = 1;
|
|
225
|
-
*/
|
|
226
|
-
entityChains: EntityChain[];
|
|
227
|
-
|
|
228
|
-
constructor(data?: PartialMessage<CreateEntityChainFromJwtResponse>);
|
|
229
|
-
|
|
230
|
-
static readonly runtime: typeof proto3;
|
|
231
|
-
static readonly typeName = "entityresolution.CreateEntityChainFromJwtResponse";
|
|
232
|
-
static readonly fields: FieldList;
|
|
233
|
-
|
|
234
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateEntityChainFromJwtResponse;
|
|
235
|
-
|
|
236
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateEntityChainFromJwtResponse;
|
|
237
|
-
|
|
238
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateEntityChainFromJwtResponse;
|
|
239
|
-
|
|
240
|
-
static equals(a: CreateEntityChainFromJwtResponse | PlainMessage<CreateEntityChainFromJwtResponse> | undefined, b: CreateEntityChainFromJwtResponse | PlainMessage<CreateEntityChainFromJwtResponse> | undefined): boolean;
|
|
241
|
-
}
|
|
242
|
-
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.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 { Any, proto3, Struct } from "@bufbuild/protobuf";
|
|
7
|
-
import { Entity, EntityChain, Token } from "../authorization/authorization_pb";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* Example: Get idp attributes for bob and alice (both represented using an email address
|
|
12
|
-
* {
|
|
13
|
-
* "entities": [
|
|
14
|
-
* {
|
|
15
|
-
* "id": "e1",
|
|
16
|
-
* "emailAddress": "bob@example.org"
|
|
17
|
-
* },
|
|
18
|
-
* {
|
|
19
|
-
* "id": "e2",
|
|
20
|
-
* "emailAddress": "alice@example.org"
|
|
21
|
-
* }
|
|
22
|
-
* ]
|
|
23
|
-
* }
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @generated from message entityresolution.ResolveEntitiesRequest
|
|
27
|
-
*/
|
|
28
|
-
export const ResolveEntitiesRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
29
|
-
"entityresolution.ResolveEntitiesRequest",
|
|
30
|
-
() => [
|
|
31
|
-
{ no: 1, name: "entities", kind: "message", T: Entity, repeated: true },
|
|
32
|
-
],
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @generated from message entityresolution.EntityRepresentation
|
|
37
|
-
*/
|
|
38
|
-
export const EntityRepresentation = /*@__PURE__*/ proto3.makeMessageType(
|
|
39
|
-
"entityresolution.EntityRepresentation",
|
|
40
|
-
() => [
|
|
41
|
-
{ no: 1, name: "additional_props", kind: "message", T: Struct, repeated: true },
|
|
42
|
-
{ no: 2, name: "original_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
|
-
],
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* Example: Get idp attributes for bob and alice
|
|
49
|
-
* {
|
|
50
|
-
* "entity_representations": [
|
|
51
|
-
* {
|
|
52
|
-
* "idp_entity_id": "e1",
|
|
53
|
-
* "additional_props": {"someAttr1":"someValue1"}
|
|
54
|
-
* },
|
|
55
|
-
* {
|
|
56
|
-
* "idp_entity_id": "e2",
|
|
57
|
-
* "additional_props": {"someAttr2":"someValue2"}
|
|
58
|
-
* }
|
|
59
|
-
* ]
|
|
60
|
-
* }
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* @generated from message entityresolution.ResolveEntitiesResponse
|
|
64
|
-
*/
|
|
65
|
-
export const ResolveEntitiesResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
66
|
-
"entityresolution.ResolveEntitiesResponse",
|
|
67
|
-
() => [
|
|
68
|
-
{ no: 1, name: "entity_representations", kind: "message", T: EntityRepresentation, repeated: true },
|
|
69
|
-
],
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @generated from message entityresolution.EntityNotFoundError
|
|
74
|
-
*/
|
|
75
|
-
export const EntityNotFoundError = /*@__PURE__*/ proto3.makeMessageType(
|
|
76
|
-
"entityresolution.EntityNotFoundError",
|
|
77
|
-
() => [
|
|
78
|
-
{ no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
79
|
-
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
-
{ no: 3, name: "details", kind: "message", T: Any, repeated: true },
|
|
81
|
-
{ no: 4, name: "entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
-
],
|
|
83
|
-
);
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* Example: Get Entity chains for tokens aaaaaa and bbbbbb
|
|
88
|
-
* {
|
|
89
|
-
* "tokens": [
|
|
90
|
-
* "aaaaaaa",
|
|
91
|
-
* "bbbbbbbb"
|
|
92
|
-
* ]
|
|
93
|
-
* }
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @generated from message entityresolution.CreateEntityChainFromJwtRequest
|
|
97
|
-
*/
|
|
98
|
-
export const CreateEntityChainFromJwtRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
99
|
-
"entityresolution.CreateEntityChainFromJwtRequest",
|
|
100
|
-
() => [
|
|
101
|
-
{ no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
102
|
-
],
|
|
103
|
-
);
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* Example: Return the entity chains from the provided tokens
|
|
108
|
-
* {
|
|
109
|
-
* "entity_chains": [
|
|
110
|
-
* {
|
|
111
|
-
* "id": "tok1",
|
|
112
|
-
* "entities": [
|
|
113
|
-
* {
|
|
114
|
-
* "clientId": "client1"
|
|
115
|
-
* }
|
|
116
|
-
* ]
|
|
117
|
-
* },
|
|
118
|
-
* {
|
|
119
|
-
* "id": "tok2",
|
|
120
|
-
* "entities": [
|
|
121
|
-
* {
|
|
122
|
-
* "userName": "alice",
|
|
123
|
-
* "clientId": "client2"
|
|
124
|
-
* }
|
|
125
|
-
* ]
|
|
126
|
-
* }
|
|
127
|
-
* ]
|
|
128
|
-
* }
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* @generated from message entityresolution.CreateEntityChainFromJwtResponse
|
|
132
|
-
*/
|
|
133
|
-
export const CreateEntityChainFromJwtResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
134
|
-
"entityresolution.CreateEntityChainFromJwtResponse",
|
|
135
|
-
() => [
|
|
136
|
-
{ no: 1, name: "entity_chains", kind: "message", T: EntityChain, repeated: true },
|
|
137
|
-
],
|
|
138
|
-
);
|
|
139
|
-
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file kas/kas.proto (package kas, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { InfoRequest, InfoResponse, LegacyPublicKeyRequest, PublicKeyRequest, PublicKeyResponse, RewrapRequest, RewrapResponse } from "./kas_pb";
|
|
7
|
-
import { MethodKind, StringValue } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Get app info from the root path
|
|
11
|
-
*
|
|
12
|
-
* @generated from service kas.AccessService
|
|
13
|
-
*/
|
|
14
|
-
export declare const AccessService: {
|
|
15
|
-
readonly typeName: "kas.AccessService",
|
|
16
|
-
readonly methods: {
|
|
17
|
-
/**
|
|
18
|
-
* Get the current version of the service
|
|
19
|
-
*
|
|
20
|
-
* @generated from rpc kas.AccessService.Info
|
|
21
|
-
*/
|
|
22
|
-
readonly info: {
|
|
23
|
-
readonly name: "Info",
|
|
24
|
-
readonly I: typeof InfoRequest,
|
|
25
|
-
readonly O: typeof InfoResponse,
|
|
26
|
-
readonly kind: MethodKind.Unary,
|
|
27
|
-
},
|
|
28
|
-
/**
|
|
29
|
-
* @generated from rpc kas.AccessService.PublicKey
|
|
30
|
-
*/
|
|
31
|
-
readonly publicKey: {
|
|
32
|
-
readonly name: "PublicKey",
|
|
33
|
-
readonly I: typeof PublicKeyRequest,
|
|
34
|
-
readonly O: typeof PublicKeyResponse,
|
|
35
|
-
readonly kind: MethodKind.Unary,
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
|
|
39
|
-
*
|
|
40
|
-
* @generated from rpc kas.AccessService.LegacyPublicKey
|
|
41
|
-
*/
|
|
42
|
-
readonly legacyPublicKey: {
|
|
43
|
-
readonly name: "LegacyPublicKey",
|
|
44
|
-
readonly I: typeof LegacyPublicKeyRequest,
|
|
45
|
-
readonly O: typeof StringValue,
|
|
46
|
-
readonly kind: MethodKind.Unary,
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* @generated from rpc kas.AccessService.Rewrap
|
|
50
|
-
*/
|
|
51
|
-
readonly rewrap: {
|
|
52
|
-
readonly name: "Rewrap",
|
|
53
|
-
readonly I: typeof RewrapRequest,
|
|
54
|
-
readonly O: typeof RewrapResponse,
|
|
55
|
-
readonly kind: MethodKind.Unary,
|
|
56
|
-
},
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file kas/kas.proto (package kas, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { InfoRequest, InfoResponse, LegacyPublicKeyRequest, PublicKeyRequest, PublicKeyResponse, RewrapRequest, RewrapResponse } from "./kas_pb";
|
|
7
|
-
import { MethodKind, StringValue } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Get app info from the root path
|
|
11
|
-
*
|
|
12
|
-
* @generated from service kas.AccessService
|
|
13
|
-
*/
|
|
14
|
-
export const AccessService = {
|
|
15
|
-
typeName: "kas.AccessService",
|
|
16
|
-
methods: {
|
|
17
|
-
/**
|
|
18
|
-
* Get the current version of the service
|
|
19
|
-
*
|
|
20
|
-
* @generated from rpc kas.AccessService.Info
|
|
21
|
-
*/
|
|
22
|
-
info: {
|
|
23
|
-
name: "Info",
|
|
24
|
-
I: InfoRequest,
|
|
25
|
-
O: InfoResponse,
|
|
26
|
-
kind: MethodKind.Unary,
|
|
27
|
-
},
|
|
28
|
-
/**
|
|
29
|
-
* @generated from rpc kas.AccessService.PublicKey
|
|
30
|
-
*/
|
|
31
|
-
publicKey: {
|
|
32
|
-
name: "PublicKey",
|
|
33
|
-
I: PublicKeyRequest,
|
|
34
|
-
O: PublicKeyResponse,
|
|
35
|
-
kind: MethodKind.Unary,
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
|
|
39
|
-
*
|
|
40
|
-
* @generated from rpc kas.AccessService.LegacyPublicKey
|
|
41
|
-
*/
|
|
42
|
-
legacyPublicKey: {
|
|
43
|
-
name: "LegacyPublicKey",
|
|
44
|
-
I: LegacyPublicKeyRequest,
|
|
45
|
-
O: StringValue,
|
|
46
|
-
kind: MethodKind.Unary,
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* @generated from rpc kas.AccessService.Rewrap
|
|
50
|
-
*/
|
|
51
|
-
rewrap: {
|
|
52
|
-
name: "Rewrap",
|
|
53
|
-
I: RewrapRequest,
|
|
54
|
-
O: RewrapResponse,
|
|
55
|
-
kind: MethodKind.Unary,
|
|
56
|
-
},
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file kas/kas.proto (package kas, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Value } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Intentionally empty. May include features later.
|
|
11
|
-
*
|
|
12
|
-
* @generated from message kas.InfoRequest
|
|
13
|
-
*/
|
|
14
|
-
export declare class InfoRequest extends Message<InfoRequest> {
|
|
15
|
-
constructor(data?: PartialMessage<InfoRequest>);
|
|
16
|
-
|
|
17
|
-
static readonly runtime: typeof proto3;
|
|
18
|
-
static readonly typeName = "kas.InfoRequest";
|
|
19
|
-
static readonly fields: FieldList;
|
|
20
|
-
|
|
21
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InfoRequest;
|
|
22
|
-
|
|
23
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InfoRequest;
|
|
24
|
-
|
|
25
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InfoRequest;
|
|
26
|
-
|
|
27
|
-
static equals(a: InfoRequest | PlainMessage<InfoRequest> | undefined, b: InfoRequest | PlainMessage<InfoRequest> | undefined): boolean;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Service application level metadata
|
|
32
|
-
*
|
|
33
|
-
* @generated from message kas.InfoResponse
|
|
34
|
-
*/
|
|
35
|
-
export declare class InfoResponse extends Message<InfoResponse> {
|
|
36
|
-
/**
|
|
37
|
-
* @generated from field: string version = 1;
|
|
38
|
-
*/
|
|
39
|
-
version: string;
|
|
40
|
-
|
|
41
|
-
constructor(data?: PartialMessage<InfoResponse>);
|
|
42
|
-
|
|
43
|
-
static readonly runtime: typeof proto3;
|
|
44
|
-
static readonly typeName = "kas.InfoResponse";
|
|
45
|
-
static readonly fields: FieldList;
|
|
46
|
-
|
|
47
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InfoResponse;
|
|
48
|
-
|
|
49
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InfoResponse;
|
|
50
|
-
|
|
51
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InfoResponse;
|
|
52
|
-
|
|
53
|
-
static equals(a: InfoResponse | PlainMessage<InfoResponse> | undefined, b: InfoResponse | PlainMessage<InfoResponse> | undefined): boolean;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @generated from message kas.LegacyPublicKeyRequest
|
|
58
|
-
*/
|
|
59
|
-
export declare class LegacyPublicKeyRequest extends Message<LegacyPublicKeyRequest> {
|
|
60
|
-
/**
|
|
61
|
-
* @generated from field: string algorithm = 1;
|
|
62
|
-
*/
|
|
63
|
-
algorithm: string;
|
|
64
|
-
|
|
65
|
-
constructor(data?: PartialMessage<LegacyPublicKeyRequest>);
|
|
66
|
-
|
|
67
|
-
static readonly runtime: typeof proto3;
|
|
68
|
-
static readonly typeName = "kas.LegacyPublicKeyRequest";
|
|
69
|
-
static readonly fields: FieldList;
|
|
70
|
-
|
|
71
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LegacyPublicKeyRequest;
|
|
72
|
-
|
|
73
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LegacyPublicKeyRequest;
|
|
74
|
-
|
|
75
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LegacyPublicKeyRequest;
|
|
76
|
-
|
|
77
|
-
static equals(a: LegacyPublicKeyRequest | PlainMessage<LegacyPublicKeyRequest> | undefined, b: LegacyPublicKeyRequest | PlainMessage<LegacyPublicKeyRequest> | undefined): boolean;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from message kas.PublicKeyRequest
|
|
82
|
-
*/
|
|
83
|
-
export declare class PublicKeyRequest extends Message<PublicKeyRequest> {
|
|
84
|
-
/**
|
|
85
|
-
* @generated from field: string algorithm = 1;
|
|
86
|
-
*/
|
|
87
|
-
algorithm: string;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @generated from field: string fmt = 2;
|
|
91
|
-
*/
|
|
92
|
-
fmt: string;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @generated from field: string v = 3;
|
|
96
|
-
*/
|
|
97
|
-
v: string;
|
|
98
|
-
|
|
99
|
-
constructor(data?: PartialMessage<PublicKeyRequest>);
|
|
100
|
-
|
|
101
|
-
static readonly runtime: typeof proto3;
|
|
102
|
-
static readonly typeName = "kas.PublicKeyRequest";
|
|
103
|
-
static readonly fields: FieldList;
|
|
104
|
-
|
|
105
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublicKeyRequest;
|
|
106
|
-
|
|
107
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublicKeyRequest;
|
|
108
|
-
|
|
109
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublicKeyRequest;
|
|
110
|
-
|
|
111
|
-
static equals(a: PublicKeyRequest | PlainMessage<PublicKeyRequest> | undefined, b: PublicKeyRequest | PlainMessage<PublicKeyRequest> | undefined): boolean;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @generated from message kas.PublicKeyResponse
|
|
116
|
-
*/
|
|
117
|
-
export declare class PublicKeyResponse extends Message<PublicKeyResponse> {
|
|
118
|
-
/**
|
|
119
|
-
* @generated from field: string public_key = 1;
|
|
120
|
-
*/
|
|
121
|
-
publicKey: string;
|
|
122
|
-
|
|
123
|
-
constructor(data?: PartialMessage<PublicKeyResponse>);
|
|
124
|
-
|
|
125
|
-
static readonly runtime: typeof proto3;
|
|
126
|
-
static readonly typeName = "kas.PublicKeyResponse";
|
|
127
|
-
static readonly fields: FieldList;
|
|
128
|
-
|
|
129
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublicKeyResponse;
|
|
130
|
-
|
|
131
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublicKeyResponse;
|
|
132
|
-
|
|
133
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublicKeyResponse;
|
|
134
|
-
|
|
135
|
-
static equals(a: PublicKeyResponse | PlainMessage<PublicKeyResponse> | undefined, b: PublicKeyResponse | PlainMessage<PublicKeyResponse> | undefined): boolean;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from message kas.RewrapRequest
|
|
140
|
-
*/
|
|
141
|
-
export declare class RewrapRequest extends Message<RewrapRequest> {
|
|
142
|
-
/**
|
|
143
|
-
* @generated from field: string signed_request_token = 1;
|
|
144
|
-
*/
|
|
145
|
-
signedRequestToken: string;
|
|
146
|
-
|
|
147
|
-
constructor(data?: PartialMessage<RewrapRequest>);
|
|
148
|
-
|
|
149
|
-
static readonly runtime: typeof proto3;
|
|
150
|
-
static readonly typeName = "kas.RewrapRequest";
|
|
151
|
-
static readonly fields: FieldList;
|
|
152
|
-
|
|
153
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RewrapRequest;
|
|
154
|
-
|
|
155
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RewrapRequest;
|
|
156
|
-
|
|
157
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RewrapRequest;
|
|
158
|
-
|
|
159
|
-
static equals(a: RewrapRequest | PlainMessage<RewrapRequest> | undefined, b: RewrapRequest | PlainMessage<RewrapRequest> | undefined): boolean;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @generated from message kas.RewrapResponse
|
|
164
|
-
*/
|
|
165
|
-
export declare class RewrapResponse extends Message<RewrapResponse> {
|
|
166
|
-
/**
|
|
167
|
-
* @generated from field: map<string, google.protobuf.Value> metadata = 1;
|
|
168
|
-
*/
|
|
169
|
-
metadata: { [key: string]: Value };
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @generated from field: bytes entity_wrapped_key = 2;
|
|
173
|
-
*/
|
|
174
|
-
entityWrappedKey: Uint8Array;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @generated from field: string session_public_key = 3;
|
|
178
|
-
*/
|
|
179
|
-
sessionPublicKey: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @generated from field: string schema_version = 4;
|
|
183
|
-
*/
|
|
184
|
-
schemaVersion: string;
|
|
185
|
-
|
|
186
|
-
constructor(data?: PartialMessage<RewrapResponse>);
|
|
187
|
-
|
|
188
|
-
static readonly runtime: typeof proto3;
|
|
189
|
-
static readonly typeName = "kas.RewrapResponse";
|
|
190
|
-
static readonly fields: FieldList;
|
|
191
|
-
|
|
192
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RewrapResponse;
|
|
193
|
-
|
|
194
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RewrapResponse;
|
|
195
|
-
|
|
196
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RewrapResponse;
|
|
197
|
-
|
|
198
|
-
static equals(a: RewrapResponse | PlainMessage<RewrapResponse> | undefined, b: RewrapResponse | PlainMessage<RewrapResponse> | undefined): boolean;
|
|
199
|
-
}
|
|
200
|
-
|