@opentdf/sdk 0.3.0 → 0.3.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/cjs/src/access/access-fetch.js +155 -0
  2. package/dist/cjs/src/access/access-rpc.js +131 -0
  3. package/dist/cjs/src/access.js +81 -107
  4. package/dist/cjs/src/auth/oidc.js +2 -2
  5. package/dist/cjs/src/nanotdf/Client.js +17 -13
  6. package/dist/cjs/src/nanotdf/models/Header.js +2 -2
  7. package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
  8. package/dist/cjs/src/opentdf.js +43 -9
  9. package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
  10. package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
  11. package/dist/cjs/src/platform/common/common_pb.js +79 -0
  12. package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
  13. package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
  14. package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
  15. package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
  16. package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
  17. package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
  18. package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
  19. package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
  20. package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
  21. package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
  22. package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
  23. package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
  24. package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
  25. package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
  26. package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
  27. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
  28. package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
  29. package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
  30. package/dist/cjs/src/platform.js +124 -0
  31. package/dist/cjs/src/policy/api.js +21 -38
  32. package/dist/cjs/src/policy/attributes.js +4 -1
  33. package/dist/cjs/src/policy/granter.js +9 -9
  34. package/dist/cjs/src/utils.js +31 -1
  35. package/dist/cjs/src/version.js +2 -2
  36. package/dist/cjs/tdf3/src/assertions.js +5 -5
  37. package/dist/cjs/tdf3/src/client/index.js +24 -18
  38. package/dist/cjs/tdf3/src/tdf.js +16 -10
  39. package/dist/types/src/access/access-fetch.d.ts +21 -0
  40. package/dist/types/src/access/access-fetch.d.ts.map +1 -0
  41. package/dist/types/src/access/access-rpc.d.ts +22 -0
  42. package/dist/types/src/access/access-rpc.d.ts.map +1 -0
  43. package/dist/types/src/access.d.ts +19 -11
  44. package/dist/types/src/access.d.ts.map +1 -1
  45. package/dist/types/src/nanotdf/Client.d.ts +3 -1
  46. package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
  47. package/dist/types/src/opentdf.d.ts +5 -1
  48. package/dist/types/src/opentdf.d.ts.map +1 -1
  49. package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
  50. package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
  51. package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
  52. package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
  53. package/dist/types/src/platform/common/common_pb.d.ts +112 -0
  54. package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
  55. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
  56. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
  57. package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
  58. package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
  59. package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
  60. package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
  61. package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
  62. package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
  63. package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
  64. package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
  65. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
  66. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
  67. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
  68. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
  69. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
  70. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
  71. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
  72. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
  73. package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
  74. package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
  75. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
  76. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
  77. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
  78. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
  79. package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
  80. package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
  81. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
  82. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
  83. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
  84. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
  85. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
  86. package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
  87. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
  88. package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
  89. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
  90. package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
  91. package/dist/types/src/platform.d.ts +49 -0
  92. package/dist/types/src/platform.d.ts.map +1 -0
  93. package/dist/types/src/policy/api.d.ts +1 -1
  94. package/dist/types/src/policy/api.d.ts.map +1 -1
  95. package/dist/types/src/policy/attributes.d.ts +10 -87
  96. package/dist/types/src/policy/attributes.d.ts.map +1 -1
  97. package/dist/types/src/policy/granter.d.ts.map +1 -1
  98. package/dist/types/src/utils.d.ts +10 -0
  99. package/dist/types/src/utils.d.ts.map +1 -1
  100. package/dist/types/src/version.d.ts +1 -1
  101. package/dist/types/tdf3/src/assertions.d.ts +1 -1
  102. package/dist/types/tdf3/src/assertions.d.ts.map +1 -1
  103. package/dist/types/tdf3/src/client/index.d.ts +8 -3
  104. package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
  105. package/dist/types/tdf3/src/models/manifest.d.ts +1 -1
  106. package/dist/types/tdf3/src/models/manifest.d.ts.map +1 -1
  107. package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
  108. package/dist/web/src/access/access-fetch.js +150 -0
  109. package/dist/web/src/access/access-rpc.js +125 -0
  110. package/dist/web/src/access.js +82 -110
  111. package/dist/web/src/auth/oidc.js +2 -2
  112. package/dist/web/src/nanotdf/Client.js +18 -14
  113. package/dist/web/src/nanotdf/models/Header.js +2 -2
  114. package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
  115. package/dist/web/src/opentdf.js +44 -10
  116. package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
  117. package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
  118. package/dist/web/src/platform/common/common_pb.js +76 -0
  119. package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
  120. package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
  121. package/dist/web/src/platform/google/api/http_pb.js +34 -0
  122. package/dist/web/src/platform/kas/kas_pb.js +93 -0
  123. package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
  124. package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
  125. package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
  126. package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
  127. package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
  128. package/dist/web/src/platform/policy/objects_pb.js +392 -0
  129. package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
  130. package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
  131. package/dist/web/src/platform/policy/selectors_pb.js +64 -0
  132. package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
  133. package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
  134. package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
  135. package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
  136. package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
  137. package/dist/web/src/platform.js +87 -0
  138. package/dist/web/src/policy/api.js +23 -40
  139. package/dist/web/src/policy/attributes.js +3 -2
  140. package/dist/web/src/policy/granter.js +9 -9
  141. package/dist/web/src/utils.js +29 -1
  142. package/dist/web/src/version.js +2 -2
  143. package/dist/web/tdf3/src/assertions.js +5 -5
  144. package/dist/web/tdf3/src/client/index.js +26 -20
  145. package/dist/web/tdf3/src/tdf.js +16 -10
  146. package/package.json +17 -1
  147. package/src/access/access-fetch.ts +202 -0
  148. package/src/access/access-rpc.ts +175 -0
  149. package/src/access.ts +113 -138
  150. package/src/auth/oidc.ts +1 -1
  151. package/src/nanotdf/Client.ts +28 -18
  152. package/src/nanotdf/models/Header.ts +1 -1
  153. package/src/nanotdf-crypto/keyAgreement.ts +1 -1
  154. package/src/opentdf.ts +67 -11
  155. package/src/platform/authorization/authorization_pb.ts +689 -0
  156. package/src/platform/buf/validate/validate_pb.ts +4626 -0
  157. package/src/platform/common/common_pb.ts +135 -0
  158. package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
  159. package/src/platform/google/api/annotations_pb.ts +39 -0
  160. package/src/platform/google/api/http_pb.ts +474 -0
  161. package/src/platform/kas/kas_pb.ts +484 -0
  162. package/src/platform/policy/actions/actions_pb.ts +312 -0
  163. package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
  164. package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
  165. package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
  166. package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
  167. package/src/platform/policy/objects_pb.ts +1319 -0
  168. package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
  169. package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
  170. package/src/platform/policy/selectors_pb.ts +277 -0
  171. package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
  172. package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
  173. package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
  174. package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
  175. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
  176. package/src/platform.ts +122 -0
  177. package/src/policy/api.ts +29 -42
  178. package/src/policy/attributes.ts +12 -108
  179. package/src/policy/granter.ts +7 -8
  180. package/src/utils.ts +30 -0
  181. package/src/version.ts +1 -1
  182. package/tdf3/src/assertions.ts +4 -4
  183. package/tdf3/src/client/index.ts +42 -19
  184. package/tdf3/src/models/manifest.ts +2 -1
  185. package/tdf3/src/tdf.ts +25 -16
  186. package/src/platform/authorization/authorization_connect.d.ts +0 -44
  187. package/src/platform/authorization/authorization_connect.js +0 -44
  188. package/src/platform/authorization/authorization_pb.d.ts +0 -707
  189. package/src/platform/authorization/authorization_pb.js +0 -372
  190. package/src/platform/common/common_pb.d.ts +0 -129
  191. package/src/platform/common/common_pb.js +0 -58
  192. package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
  193. package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
  194. package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
  195. package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
  196. package/src/platform/kas/kas_connect.d.ts +0 -59
  197. package/src/platform/kas/kas_connect.js +0 -59
  198. package/src/platform/kas/kas_pb.d.ts +0 -200
  199. package/src/platform/kas/kas_pb.js +0 -84
  200. package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
  201. package/src/platform/policy/attributes/attributes_connect.js +0 -168
  202. package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
  203. package/src/platform/policy/attributes/attributes_pb.js +0 -363
  204. package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
  205. package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
  206. package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
  207. package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
  208. package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
  209. package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
  210. package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
  211. package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
  212. package/src/platform/policy/objects_pb.d.ts +0 -725
  213. package/src/platform/policy/objects_pb.js +0 -288
  214. package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
  215. package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
  216. package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
  217. package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
  218. package/src/platform/policy/selectors_pb.d.ts +0 -269
  219. package/src/platform/policy/selectors_pb.js +0 -110
  220. package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
  221. package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
  222. package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
  223. package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
  224. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
  225. package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
  226. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
  227. package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
@@ -0,0 +1,609 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Any } from "@bufbuild/protobuf/wkt";
3
+ import type { Action } from "../policy/objects_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file authorization/authorization.proto.
7
+ */
8
+ export declare const file_authorization_authorization: GenFile;
9
+ /**
10
+ * @generated from message authorization.Token
11
+ */
12
+ export type Token = Message<"authorization.Token"> & {
13
+ /**
14
+ * ephemeral id for tracking between request and response
15
+ *
16
+ * @generated from field: string id = 1;
17
+ */
18
+ id: string;
19
+ /**
20
+ * the token
21
+ *
22
+ * @generated from field: string jwt = 2;
23
+ */
24
+ jwt: string;
25
+ };
26
+ /**
27
+ * Describes the message authorization.Token.
28
+ * Use `create(TokenSchema)` to create a new message.
29
+ */
30
+ export declare const TokenSchema: GenMessage<Token>;
31
+ /**
32
+ * PE (Person Entity) or NPE (Non-Person Entity)
33
+ *
34
+ * @generated from message authorization.Entity
35
+ */
36
+ export type Entity = Message<"authorization.Entity"> & {
37
+ /**
38
+ * ephemeral id for tracking between request and response
39
+ *
40
+ * @generated from field: string id = 1;
41
+ */
42
+ id: string;
43
+ /**
44
+ * Standard entity types supported by the platform
45
+ *
46
+ * @generated from oneof authorization.Entity.entity_type
47
+ */
48
+ entityType: {
49
+ /**
50
+ * one of the entity options must be set
51
+ *
52
+ * @generated from field: string email_address = 2;
53
+ */
54
+ value: string;
55
+ case: "emailAddress";
56
+ } | {
57
+ /**
58
+ * @generated from field: string user_name = 3;
59
+ */
60
+ value: string;
61
+ case: "userName";
62
+ } | {
63
+ /**
64
+ * @generated from field: string remote_claims_url = 4;
65
+ */
66
+ value: string;
67
+ case: "remoteClaimsUrl";
68
+ } | {
69
+ /**
70
+ * @generated from field: string uuid = 5;
71
+ */
72
+ value: string;
73
+ case: "uuid";
74
+ } | {
75
+ /**
76
+ * @generated from field: google.protobuf.Any claims = 6;
77
+ */
78
+ value: Any;
79
+ case: "claims";
80
+ } | {
81
+ /**
82
+ * @generated from field: authorization.EntityCustom custom = 7;
83
+ */
84
+ value: EntityCustom;
85
+ case: "custom";
86
+ } | {
87
+ /**
88
+ * @generated from field: string client_id = 8;
89
+ */
90
+ value: string;
91
+ case: "clientId";
92
+ } | {
93
+ case: undefined;
94
+ value?: undefined;
95
+ };
96
+ /**
97
+ * @generated from field: authorization.Entity.Category category = 9;
98
+ */
99
+ category: Entity_Category;
100
+ };
101
+ /**
102
+ * Describes the message authorization.Entity.
103
+ * Use `create(EntitySchema)` to create a new message.
104
+ */
105
+ export declare const EntitySchema: GenMessage<Entity>;
106
+ /**
107
+ * @generated from enum authorization.Entity.Category
108
+ */
109
+ export declare enum Entity_Category {
110
+ /**
111
+ * @generated from enum value: CATEGORY_UNSPECIFIED = 0;
112
+ */
113
+ UNSPECIFIED = 0,
114
+ /**
115
+ * @generated from enum value: CATEGORY_SUBJECT = 1;
116
+ */
117
+ SUBJECT = 1,
118
+ /**
119
+ * @generated from enum value: CATEGORY_ENVIRONMENT = 2;
120
+ */
121
+ ENVIRONMENT = 2
122
+ }
123
+ /**
124
+ * Describes the enum authorization.Entity.Category.
125
+ */
126
+ export declare const Entity_CategorySchema: GenEnum<Entity_Category>;
127
+ /**
128
+ * Entity type for custom entities beyond the standard types
129
+ *
130
+ * @generated from message authorization.EntityCustom
131
+ */
132
+ export type EntityCustom = Message<"authorization.EntityCustom"> & {
133
+ /**
134
+ * @generated from field: google.protobuf.Any extension = 1;
135
+ */
136
+ extension?: Any;
137
+ };
138
+ /**
139
+ * Describes the message authorization.EntityCustom.
140
+ * Use `create(EntityCustomSchema)` to create a new message.
141
+ */
142
+ export declare const EntityCustomSchema: GenMessage<EntityCustom>;
143
+ /**
144
+ * A set of related PE and NPE
145
+ *
146
+ * @generated from message authorization.EntityChain
147
+ */
148
+ export type EntityChain = Message<"authorization.EntityChain"> & {
149
+ /**
150
+ * ephemeral id for tracking between request and response
151
+ *
152
+ * @generated from field: string id = 1;
153
+ */
154
+ id: string;
155
+ /**
156
+ * @generated from field: repeated authorization.Entity entities = 2;
157
+ */
158
+ entities: Entity[];
159
+ };
160
+ /**
161
+ * Describes the message authorization.EntityChain.
162
+ * Use `create(EntityChainSchema)` to create a new message.
163
+ */
164
+ export declare const EntityChainSchema: GenMessage<EntityChain>;
165
+ /**
166
+ *
167
+ * Example Request Get Decisions to answer the question - Do Bob (represented by entity chain ec1)
168
+ * and Alice (represented by entity chain ec2) have TRANSMIT authorization for
169
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
170
+ *
171
+ * {
172
+ * "actions": [
173
+ * {
174
+ * "standard": "STANDARD_ACTION_TRANSMIT"
175
+ * }
176
+ * ],
177
+ * "entityChains": [
178
+ * {
179
+ * "id": "ec1",
180
+ * "entities": [
181
+ * {
182
+ * "emailAddress": "bob@example.org"
183
+ * }
184
+ * ]
185
+ * },
186
+ * {
187
+ * "id": "ec2",
188
+ * "entities": [
189
+ * {
190
+ * "userName": "alice@example.org"
191
+ * }
192
+ * ]
193
+ * }
194
+ * ],
195
+ * "resourceAttributes": [
196
+ * {
197
+ * "resourceAttributeId": "attr-set-1",
198
+ * "attributeFqns": [
199
+ * "https://www.example.org/attr/foo/value/value1"
200
+ * ]
201
+ * },
202
+ * {
203
+ * "resourceAttributeId": "attr-set-2",
204
+ * "attributeFqns": [
205
+ * "https://example.net/attr/attr1/value/value1",
206
+ * "https://example.net/attr/attr1/value/value2"
207
+ * ]
208
+ * }
209
+ * ]
210
+ * }
211
+ *
212
+ *
213
+ * @generated from message authorization.DecisionRequest
214
+ */
215
+ export type DecisionRequest = Message<"authorization.DecisionRequest"> & {
216
+ /**
217
+ * @generated from field: repeated policy.Action actions = 1;
218
+ */
219
+ actions: Action[];
220
+ /**
221
+ * @generated from field: repeated authorization.EntityChain entity_chains = 2;
222
+ */
223
+ entityChains: EntityChain[];
224
+ /**
225
+ * @generated from field: repeated authorization.ResourceAttribute resource_attributes = 3;
226
+ */
227
+ resourceAttributes: ResourceAttribute[];
228
+ };
229
+ /**
230
+ * Describes the message authorization.DecisionRequest.
231
+ * Use `create(DecisionRequestSchema)` to create a new message.
232
+ */
233
+ export declare const DecisionRequestSchema: GenMessage<DecisionRequest>;
234
+ /**
235
+ *
236
+ *
237
+ * Example response for a Decision Request - Do Bob (represented by entity chain ec1)
238
+ * and Alice (represented by entity chain ec2) have TRANSMIT authorization for
239
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
240
+ *
241
+ * Results:
242
+ * - bob has permitted authorization to transmit for a resource defined by attr-set-1 attributes and has a watermark obligation
243
+ * - bob has denied authorization to transmit a for a resource defined by attr-set-2 attributes
244
+ * - alice has permitted authorization to transmit for a resource defined by attr-set-1 attributes
245
+ * - alice has denied authorization to transmit a for a resource defined by attr-set-2 attributes
246
+ *
247
+ * {
248
+ * "entityChainId": "ec1",
249
+ * "resourceAttributesId": "attr-set-1",
250
+ * "decision": "DECISION_PERMIT",
251
+ * "obligations": [
252
+ * "http://www.example.org/obligation/watermark"
253
+ * ]
254
+ * },
255
+ * {
256
+ * "entityChainId": "ec1",
257
+ * "resourceAttributesId": "attr-set-2",
258
+ * "decision": "DECISION_PERMIT"
259
+ * },
260
+ * {
261
+ * "entityChainId": "ec2",
262
+ * "resourceAttributesId": "attr-set-1",
263
+ * "decision": "DECISION_PERMIT"
264
+ * },
265
+ * {
266
+ * "entityChainId": "ec2",
267
+ * "resourceAttributesId": "attr-set-2",
268
+ * "decision": "DECISION_DENY"
269
+ * }
270
+ *
271
+ *
272
+ *
273
+ * @generated from message authorization.DecisionResponse
274
+ */
275
+ export type DecisionResponse = Message<"authorization.DecisionResponse"> & {
276
+ /**
277
+ * ephemeral entity chain id from the request
278
+ *
279
+ * @generated from field: string entity_chain_id = 1;
280
+ */
281
+ entityChainId: string;
282
+ /**
283
+ * ephemeral resource attributes id from the request
284
+ *
285
+ * @generated from field: string resource_attributes_id = 2;
286
+ */
287
+ resourceAttributesId: string;
288
+ /**
289
+ * Action of the decision response
290
+ *
291
+ * @generated from field: policy.Action action = 3;
292
+ */
293
+ action?: Action;
294
+ /**
295
+ * The decision response
296
+ *
297
+ * @generated from field: authorization.DecisionResponse.Decision decision = 4;
298
+ */
299
+ decision: DecisionResponse_Decision;
300
+ /**
301
+ * optional list of obligations represented in URI format
302
+ *
303
+ * @generated from field: repeated string obligations = 5;
304
+ */
305
+ obligations: string[];
306
+ };
307
+ /**
308
+ * Describes the message authorization.DecisionResponse.
309
+ * Use `create(DecisionResponseSchema)` to create a new message.
310
+ */
311
+ export declare const DecisionResponseSchema: GenMessage<DecisionResponse>;
312
+ /**
313
+ * @generated from enum authorization.DecisionResponse.Decision
314
+ */
315
+ export declare enum DecisionResponse_Decision {
316
+ /**
317
+ * @generated from enum value: DECISION_UNSPECIFIED = 0;
318
+ */
319
+ UNSPECIFIED = 0,
320
+ /**
321
+ * @generated from enum value: DECISION_DENY = 1;
322
+ */
323
+ DENY = 1,
324
+ /**
325
+ * @generated from enum value: DECISION_PERMIT = 2;
326
+ */
327
+ PERMIT = 2
328
+ }
329
+ /**
330
+ * Describes the enum authorization.DecisionResponse.Decision.
331
+ */
332
+ export declare const DecisionResponse_DecisionSchema: GenEnum<DecisionResponse_Decision>;
333
+ /**
334
+ * @generated from message authorization.GetDecisionsRequest
335
+ */
336
+ export type GetDecisionsRequest = Message<"authorization.GetDecisionsRequest"> & {
337
+ /**
338
+ * @generated from field: repeated authorization.DecisionRequest decision_requests = 1;
339
+ */
340
+ decisionRequests: DecisionRequest[];
341
+ };
342
+ /**
343
+ * Describes the message authorization.GetDecisionsRequest.
344
+ * Use `create(GetDecisionsRequestSchema)` to create a new message.
345
+ */
346
+ export declare const GetDecisionsRequestSchema: GenMessage<GetDecisionsRequest>;
347
+ /**
348
+ * @generated from message authorization.GetDecisionsResponse
349
+ */
350
+ export type GetDecisionsResponse = Message<"authorization.GetDecisionsResponse"> & {
351
+ /**
352
+ * @generated from field: repeated authorization.DecisionResponse decision_responses = 1;
353
+ */
354
+ decisionResponses: DecisionResponse[];
355
+ };
356
+ /**
357
+ * Describes the message authorization.GetDecisionsResponse.
358
+ * Use `create(GetDecisionsResponseSchema)` to create a new message.
359
+ */
360
+ export declare const GetDecisionsResponseSchema: GenMessage<GetDecisionsResponse>;
361
+ /**
362
+ *
363
+ * Request to get entitlements for one or more entities for an optional attribute scope
364
+ *
365
+ * Example: Get entitlements for bob and alice (both represented using an email address
366
+ *
367
+ * {
368
+ * "entities": [
369
+ * {
370
+ * "id": "e1",
371
+ * "emailAddress": "bob@example.org"
372
+ * },
373
+ * {
374
+ * "id": "e2",
375
+ * "emailAddress": "alice@example.org"
376
+ * }
377
+ * ],
378
+ * "scope": {
379
+ * "attributeFqns": [
380
+ * "https://example.net/attr/attr1/value/value1",
381
+ * "https://example.net/attr/attr1/value/value2"
382
+ * ]
383
+ * }
384
+ * }
385
+ *
386
+ *
387
+ * @generated from message authorization.GetEntitlementsRequest
388
+ */
389
+ export type GetEntitlementsRequest = Message<"authorization.GetEntitlementsRequest"> & {
390
+ /**
391
+ * list of requested entities
392
+ *
393
+ * @generated from field: repeated authorization.Entity entities = 1;
394
+ */
395
+ entities: Entity[];
396
+ /**
397
+ * optional attribute fqn as a scope
398
+ *
399
+ * @generated from field: optional authorization.ResourceAttribute scope = 2;
400
+ */
401
+ scope?: ResourceAttribute;
402
+ /**
403
+ * optional parameter to return a full list of entitlements - returns lower hierarchy attributes
404
+ *
405
+ * @generated from field: optional bool with_comprehensive_hierarchy = 3;
406
+ */
407
+ withComprehensiveHierarchy?: boolean;
408
+ };
409
+ /**
410
+ * Describes the message authorization.GetEntitlementsRequest.
411
+ * Use `create(GetEntitlementsRequestSchema)` to create a new message.
412
+ */
413
+ export declare const GetEntitlementsRequestSchema: GenMessage<GetEntitlementsRequest>;
414
+ /**
415
+ * @generated from message authorization.EntityEntitlements
416
+ */
417
+ export type EntityEntitlements = Message<"authorization.EntityEntitlements"> & {
418
+ /**
419
+ * @generated from field: string entity_id = 1;
420
+ */
421
+ entityId: string;
422
+ /**
423
+ * @generated from field: repeated string attribute_value_fqns = 2;
424
+ */
425
+ attributeValueFqns: string[];
426
+ };
427
+ /**
428
+ * Describes the message authorization.EntityEntitlements.
429
+ * Use `create(EntityEntitlementsSchema)` to create a new message.
430
+ */
431
+ export declare const EntityEntitlementsSchema: GenMessage<EntityEntitlements>;
432
+ /**
433
+ * A logical bucket of attributes belonging to a "Resource"
434
+ *
435
+ * @generated from message authorization.ResourceAttribute
436
+ */
437
+ export type ResourceAttribute = Message<"authorization.ResourceAttribute"> & {
438
+ /**
439
+ * @generated from field: string resource_attributes_id = 1;
440
+ */
441
+ resourceAttributesId: string;
442
+ /**
443
+ * @generated from field: repeated string attribute_value_fqns = 2;
444
+ */
445
+ attributeValueFqns: string[];
446
+ };
447
+ /**
448
+ * Describes the message authorization.ResourceAttribute.
449
+ * Use `create(ResourceAttributeSchema)` to create a new message.
450
+ */
451
+ export declare const ResourceAttributeSchema: GenMessage<ResourceAttribute>;
452
+ /**
453
+ *
454
+ *
455
+ * Example Response for a request of : Get entitlements for bob and alice (both represented using an email address
456
+ *
457
+ * {
458
+ * "entitlements": [
459
+ * {
460
+ * "entityId": "e1",
461
+ * "attributeValueReferences": [
462
+ * {
463
+ * "attributeFqn": "http://www.example.org/attr/foo/value/bar"
464
+ * }
465
+ * ]
466
+ * },
467
+ * {
468
+ * "entityId": "e2",
469
+ * "attributeValueReferences": [
470
+ * {
471
+ * "attributeFqn": "http://www.example.org/attr/color/value/red"
472
+ * }
473
+ * ]
474
+ * }
475
+ * ]
476
+ * }
477
+ *
478
+ *
479
+ *
480
+ * @generated from message authorization.GetEntitlementsResponse
481
+ */
482
+ export type GetEntitlementsResponse = Message<"authorization.GetEntitlementsResponse"> & {
483
+ /**
484
+ * @generated from field: repeated authorization.EntityEntitlements entitlements = 1;
485
+ */
486
+ entitlements: EntityEntitlements[];
487
+ };
488
+ /**
489
+ * Describes the message authorization.GetEntitlementsResponse.
490
+ * Use `create(GetEntitlementsResponseSchema)` to create a new message.
491
+ */
492
+ export declare const GetEntitlementsResponseSchema: GenMessage<GetEntitlementsResponse>;
493
+ /**
494
+ *
495
+ * Example Request Get Decisions by Token to answer the question - Do Bob and client1 (represented by token tok1)
496
+ * and Alice and client2 (represented by token tok2) have TRANSMIT authorization for
497
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
498
+ *
499
+ * {
500
+ * "actions": [
501
+ * {
502
+ * "standard": "STANDARD_ACTION_TRANSMIT"
503
+ * }
504
+ * ],
505
+ * "tokens": [
506
+ * {
507
+ * "id": "tok1",
508
+ * "jwt": ....
509
+ * },
510
+ * {
511
+ * "id": "tok2",
512
+ * "jwt": .....
513
+ * }
514
+ * ],
515
+ * "resourceAttributes": [
516
+ * {
517
+ * "attributeFqns": [
518
+ * "https://www.example.org/attr/foo/value/value1"
519
+ * ]
520
+ * },
521
+ * {
522
+ * "attributeFqns": [
523
+ * "https://example.net/attr/attr1/value/value1",
524
+ * "https://example.net/attr/attr1/value/value2"
525
+ * ]
526
+ * }
527
+ * ]
528
+ * }
529
+ *
530
+ *
531
+ * @generated from message authorization.TokenDecisionRequest
532
+ */
533
+ export type TokenDecisionRequest = Message<"authorization.TokenDecisionRequest"> & {
534
+ /**
535
+ * @generated from field: repeated policy.Action actions = 1;
536
+ */
537
+ actions: Action[];
538
+ /**
539
+ * @generated from field: repeated authorization.Token tokens = 2;
540
+ */
541
+ tokens: Token[];
542
+ /**
543
+ * @generated from field: repeated authorization.ResourceAttribute resource_attributes = 3;
544
+ */
545
+ resourceAttributes: ResourceAttribute[];
546
+ };
547
+ /**
548
+ * Describes the message authorization.TokenDecisionRequest.
549
+ * Use `create(TokenDecisionRequestSchema)` to create a new message.
550
+ */
551
+ export declare const TokenDecisionRequestSchema: GenMessage<TokenDecisionRequest>;
552
+ /**
553
+ * @generated from message authorization.GetDecisionsByTokenRequest
554
+ */
555
+ export type GetDecisionsByTokenRequest = Message<"authorization.GetDecisionsByTokenRequest"> & {
556
+ /**
557
+ * @generated from field: repeated authorization.TokenDecisionRequest decision_requests = 1;
558
+ */
559
+ decisionRequests: TokenDecisionRequest[];
560
+ };
561
+ /**
562
+ * Describes the message authorization.GetDecisionsByTokenRequest.
563
+ * Use `create(GetDecisionsByTokenRequestSchema)` to create a new message.
564
+ */
565
+ export declare const GetDecisionsByTokenRequestSchema: GenMessage<GetDecisionsByTokenRequest>;
566
+ /**
567
+ * @generated from message authorization.GetDecisionsByTokenResponse
568
+ */
569
+ export type GetDecisionsByTokenResponse = Message<"authorization.GetDecisionsByTokenResponse"> & {
570
+ /**
571
+ * @generated from field: repeated authorization.DecisionResponse decision_responses = 1;
572
+ */
573
+ decisionResponses: DecisionResponse[];
574
+ };
575
+ /**
576
+ * Describes the message authorization.GetDecisionsByTokenResponse.
577
+ * Use `create(GetDecisionsByTokenResponseSchema)` to create a new message.
578
+ */
579
+ export declare const GetDecisionsByTokenResponseSchema: GenMessage<GetDecisionsByTokenResponse>;
580
+ /**
581
+ * @generated from service authorization.AuthorizationService
582
+ */
583
+ export declare const AuthorizationService: GenService<{
584
+ /**
585
+ * @generated from rpc authorization.AuthorizationService.GetDecisions
586
+ */
587
+ getDecisions: {
588
+ methodKind: "unary";
589
+ input: typeof GetDecisionsRequestSchema;
590
+ output: typeof GetDecisionsResponseSchema;
591
+ };
592
+ /**
593
+ * @generated from rpc authorization.AuthorizationService.GetDecisionsByToken
594
+ */
595
+ getDecisionsByToken: {
596
+ methodKind: "unary";
597
+ input: typeof GetDecisionsByTokenRequestSchema;
598
+ output: typeof GetDecisionsByTokenResponseSchema;
599
+ };
600
+ /**
601
+ * @generated from rpc authorization.AuthorizationService.GetEntitlements
602
+ */
603
+ getEntitlements: {
604
+ methodKind: "unary";
605
+ input: typeof GetEntitlementsRequestSchema;
606
+ output: typeof GetEntitlementsResponseSchema;
607
+ };
608
+ }>;
609
+ //# sourceMappingURL=authorization_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorization_pb.d.ts","sourceRoot":"","sources":["../../../../../src/platform/authorization/authorization_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG7F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,OAC4qG,CAAC;AAE5tG;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,OAAO,CAAC,qBAAqB,CAAC,GAAG;IACnD;;;;OAIG;IACH,EAAE,EAAE,MAAM,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