@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.
Files changed (221) hide show
  1. package/dist/cjs/src/access/access-fetch.js +2 -1
  2. package/dist/cjs/src/access/access-rpc.js +11 -5
  3. package/dist/cjs/src/access/constants.js +6 -0
  4. package/dist/cjs/src/access.js +39 -4
  5. package/dist/cjs/src/auth/oidc-clientcredentials-provider.js +4 -2
  6. package/dist/cjs/src/auth/oidc-externaljwt-provider.js +5 -3
  7. package/dist/cjs/src/auth/oidc-refreshtoken-provider.js +19 -3
  8. package/dist/cjs/src/auth/oidc.js +9 -8
  9. package/dist/cjs/src/auth/providers.js +7 -1
  10. package/dist/cjs/src/index.js +4 -2
  11. package/dist/cjs/src/nanoclients.js +4 -4
  12. package/dist/cjs/src/nanotdf/Client.js +10 -6
  13. package/dist/cjs/src/opentdf.js +102 -13
  14. package/dist/cjs/src/platform/authorization/v2/authorization_pb.js +112 -0
  15. package/dist/cjs/src/platform/buf/validate/validate_pb.js +114 -170
  16. package/dist/cjs/src/platform/common/common_pb.js +16 -5
  17. package/dist/cjs/src/platform/entity/entity_pb.js +51 -0
  18. package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +1 -1
  19. package/dist/cjs/src/platform/entityresolution/v2/entity_resolution_pb.js +49 -0
  20. package/dist/cjs/src/platform/google/api/annotations_pb.js +1 -1
  21. package/dist/cjs/src/platform/google/api/http_pb.js +3 -3
  22. package/dist/cjs/src/platform/kas/kas_pb.js +2 -2
  23. package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +12 -2
  24. package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +57 -4
  25. package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +2 -2
  26. package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +31 -4
  27. package/dist/cjs/src/platform/policy/objects_pb.js +116 -42
  28. package/dist/cjs/src/platform/policy/obligations/obligations_pb.js +159 -0
  29. package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +20 -15
  30. package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +2 -3
  31. package/dist/cjs/src/platform/policy/selectors_pb.js +1 -1
  32. package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +2 -3
  33. package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +2 -4
  34. package/dist/cjs/src/platform.js +20 -3
  35. package/dist/cjs/src/policy/api.js +27 -7
  36. package/dist/cjs/src/policy/granter.js +75 -48
  37. package/dist/cjs/src/seekable.js +32 -1
  38. package/dist/cjs/src/utils.js +85 -3
  39. package/dist/cjs/src/version.js +1 -1
  40. package/dist/cjs/tdf3/src/assertions.js +39 -2
  41. package/dist/cjs/tdf3/src/client/DecoratedReadableStream.js +8 -1
  42. package/dist/cjs/tdf3/src/client/builders.js +13 -1
  43. package/dist/cjs/tdf3/src/client/index.js +213 -54
  44. package/dist/cjs/tdf3/src/client/validation.js +3 -3
  45. package/dist/cjs/tdf3/src/tdf.js +42 -9
  46. package/dist/cjs/tdf3/src/utils/unwrap.js +2 -2
  47. package/dist/types/src/access/access-fetch.d.ts +1 -0
  48. package/dist/types/src/access/access-fetch.d.ts.map +1 -1
  49. package/dist/types/src/access/access-rpc.d.ts +2 -1
  50. package/dist/types/src/access/access-rpc.d.ts.map +1 -1
  51. package/dist/types/src/access/constants.d.ts +3 -0
  52. package/dist/types/src/access/constants.d.ts.map +1 -0
  53. package/dist/types/src/access.d.ts +30 -1
  54. package/dist/types/src/access.d.ts.map +1 -1
  55. package/dist/types/src/auth/oidc-clientcredentials-provider.d.ts +1 -1
  56. package/dist/types/src/auth/oidc-clientcredentials-provider.d.ts.map +1 -1
  57. package/dist/types/src/auth/oidc-externaljwt-provider.d.ts +1 -1
  58. package/dist/types/src/auth/oidc-externaljwt-provider.d.ts.map +1 -1
  59. package/dist/types/src/auth/oidc-refreshtoken-provider.d.ts +15 -1
  60. package/dist/types/src/auth/oidc-refreshtoken-provider.d.ts.map +1 -1
  61. package/dist/types/src/auth/oidc.d.ts +4 -0
  62. package/dist/types/src/auth/oidc.d.ts.map +1 -1
  63. package/dist/types/src/auth/providers.d.ts.map +1 -1
  64. package/dist/types/src/index.d.ts +1 -0
  65. package/dist/types/src/index.d.ts.map +1 -1
  66. package/dist/types/src/nanotdf/Client.d.ts +8 -1
  67. package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
  68. package/dist/types/src/opentdf.d.ts +137 -6
  69. package/dist/types/src/opentdf.d.ts.map +1 -1
  70. package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts +439 -0
  71. package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts.map +1 -0
  72. package/dist/types/src/platform/buf/validate/validate_pb.d.ts +495 -370
  73. package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -1
  74. package/dist/types/src/platform/common/common_pb.d.ts +36 -0
  75. package/dist/types/src/platform/common/common_pb.d.ts.map +1 -1
  76. package/dist/types/src/platform/entity/entity_pb.d.ts +130 -0
  77. package/dist/types/src/platform/entity/entity_pb.d.ts.map +1 -0
  78. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +4 -0
  79. package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -1
  80. package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts +136 -0
  81. package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts.map +1 -0
  82. package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -1
  83. package/dist/types/src/platform/kas/kas_pb.d.ts +5 -0
  84. package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -1
  85. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +44 -13
  86. package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -1
  87. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +329 -24
  88. package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -1
  89. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +20 -1
  90. package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -1
  91. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +143 -5
  92. package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -1
  93. package/dist/types/src/platform/policy/objects_pb.d.ts +382 -33
  94. package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -1
  95. package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts +670 -0
  96. package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts.map +1 -0
  97. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +67 -0
  98. package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -1
  99. package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -1
  100. package/dist/types/src/platform/policy/selectors_pb.d.ts +18 -0
  101. package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -1
  102. package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -1
  103. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +18 -4
  104. package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -1
  105. package/dist/types/src/platform.d.ts +21 -0
  106. package/dist/types/src/platform.d.ts.map +1 -1
  107. package/dist/types/src/policy/api.d.ts +2 -0
  108. package/dist/types/src/policy/api.d.ts.map +1 -1
  109. package/dist/types/src/policy/granter.d.ts +11 -6
  110. package/dist/types/src/policy/granter.d.ts.map +1 -1
  111. package/dist/types/src/seekable.d.ts +31 -0
  112. package/dist/types/src/seekable.d.ts.map +1 -1
  113. package/dist/types/src/utils.d.ts +61 -2
  114. package/dist/types/src/utils.d.ts.map +1 -1
  115. package/dist/types/src/version.d.ts +1 -1
  116. package/dist/types/tdf3/src/assertions.d.ts +4 -0
  117. package/dist/types/tdf3/src/assertions.d.ts.map +1 -1
  118. package/dist/types/tdf3/src/client/DecoratedReadableStream.d.ts +6 -0
  119. package/dist/types/tdf3/src/client/DecoratedReadableStream.d.ts.map +1 -1
  120. package/dist/types/tdf3/src/client/builders.d.ts +14 -0
  121. package/dist/types/tdf3/src/client/builders.d.ts.map +1 -1
  122. package/dist/types/tdf3/src/client/index.d.ts +25 -4
  123. package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
  124. package/dist/types/tdf3/src/client/validation.d.ts +3 -3
  125. package/dist/types/tdf3/src/client/validation.d.ts.map +1 -1
  126. package/dist/types/tdf3/src/tdf.d.ts +3 -1
  127. package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
  128. package/dist/types/tdf3/src/utils/unwrap.d.ts.map +1 -1
  129. package/dist/web/src/access/access-fetch.js +2 -1
  130. package/dist/web/src/access/access-rpc.js +11 -5
  131. package/dist/web/src/access/constants.js +3 -0
  132. package/dist/web/src/access.js +37 -3
  133. package/dist/web/src/auth/oidc-clientcredentials-provider.js +4 -2
  134. package/dist/web/src/auth/oidc-externaljwt-provider.js +5 -3
  135. package/dist/web/src/auth/oidc-refreshtoken-provider.js +19 -3
  136. package/dist/web/src/auth/oidc.js +9 -8
  137. package/dist/web/src/auth/providers.js +7 -1
  138. package/dist/web/src/index.js +2 -1
  139. package/dist/web/src/nanoclients.js +4 -4
  140. package/dist/web/src/nanotdf/Client.js +11 -7
  141. package/dist/web/src/opentdf.js +102 -13
  142. package/dist/web/src/platform/authorization/v2/authorization_pb.js +109 -0
  143. package/dist/web/src/platform/buf/validate/validate_pb.js +113 -169
  144. package/dist/web/src/platform/common/common_pb.js +15 -4
  145. package/dist/web/src/platform/entity/entity_pb.js +48 -0
  146. package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +1 -1
  147. package/dist/web/src/platform/entityresolution/v2/entity_resolution_pb.js +46 -0
  148. package/dist/web/src/platform/google/api/annotations_pb.js +1 -1
  149. package/dist/web/src/platform/google/api/http_pb.js +3 -3
  150. package/dist/web/src/platform/kas/kas_pb.js +2 -2
  151. package/dist/web/src/platform/policy/attributes/attributes_pb.js +12 -2
  152. package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +55 -3
  153. package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +2 -2
  154. package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +30 -3
  155. package/dist/web/src/platform/policy/objects_pb.js +114 -41
  156. package/dist/web/src/platform/policy/obligations/obligations_pb.js +156 -0
  157. package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +19 -14
  158. package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +2 -3
  159. package/dist/web/src/platform/policy/selectors_pb.js +1 -1
  160. package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +2 -3
  161. package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +2 -4
  162. package/dist/web/src/platform.js +20 -3
  163. package/dist/web/src/policy/api.js +26 -7
  164. package/dist/web/src/policy/granter.js +75 -48
  165. package/dist/web/src/seekable.js +32 -1
  166. package/dist/web/src/utils.js +84 -3
  167. package/dist/web/src/version.js +1 -1
  168. package/dist/web/tdf3/src/assertions.js +38 -2
  169. package/dist/web/tdf3/src/client/DecoratedReadableStream.js +8 -1
  170. package/dist/web/tdf3/src/client/builders.js +13 -1
  171. package/dist/web/tdf3/src/client/index.js +215 -57
  172. package/dist/web/tdf3/src/client/validation.js +3 -3
  173. package/dist/web/tdf3/src/tdf.js +42 -9
  174. package/dist/web/tdf3/src/utils/unwrap.js +2 -2
  175. package/package.json +7 -5
  176. package/src/access/access-fetch.ts +1 -0
  177. package/src/access/access-rpc.ts +13 -4
  178. package/src/access/constants.ts +2 -0
  179. package/src/access.ts +54 -2
  180. package/src/auth/oidc-clientcredentials-provider.ts +4 -0
  181. package/src/auth/oidc-externaljwt-provider.ts +5 -1
  182. package/src/auth/oidc-refreshtoken-provider.ts +19 -1
  183. package/src/auth/oidc.ts +12 -7
  184. package/src/auth/providers.ts +6 -0
  185. package/src/index.ts +1 -0
  186. package/src/nanoclients.ts +3 -3
  187. package/src/nanotdf/Client.ts +28 -6
  188. package/src/opentdf.ts +205 -73
  189. package/src/platform/authorization/v2/authorization_pb.ts +503 -0
  190. package/src/platform/buf/validate/validate_pb.ts +529 -401
  191. package/src/platform/common/common_pb.ts +48 -3
  192. package/src/platform/entity/entity_pb.ts +154 -0
  193. package/src/platform/entityresolution/entity_resolution_pb.ts +4 -0
  194. package/src/platform/entityresolution/v2/entity_resolution_pb.ts +170 -0
  195. package/src/platform/google/api/annotations_pb.ts +1 -1
  196. package/src/platform/google/api/http_pb.ts +2 -2
  197. package/src/platform/kas/kas_pb.ts +6 -1
  198. package/src/platform/policy/attributes/attributes_pb.ts +46 -16
  199. package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +371 -27
  200. package/src/platform/policy/keymanagement/key_management_pb.ts +24 -2
  201. package/src/platform/policy/namespaces/namespaces_pb.ts +163 -7
  202. package/src/platform/policy/objects_pb.ts +474 -59
  203. package/src/platform/policy/obligations/obligations_pb.ts +788 -0
  204. package/src/platform/policy/registeredresources/registered_resources_pb.ts +80 -13
  205. package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +1 -2
  206. package/src/platform/policy/selectors_pb.ts +18 -0
  207. package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +1 -2
  208. package/src/platform/policy/unsafe/unsafe_pb.ts +21 -6
  209. package/src/platform.ts +29 -5
  210. package/src/policy/api.ts +37 -6
  211. package/src/policy/granter.ts +82 -56
  212. package/src/seekable.ts +31 -0
  213. package/src/utils.ts +88 -2
  214. package/src/version.ts +1 -1
  215. package/tdf3/src/assertions.ts +52 -1
  216. package/tdf3/src/client/DecoratedReadableStream.ts +9 -0
  217. package/tdf3/src/client/builders.ts +16 -0
  218. package/tdf3/src/client/index.ts +309 -73
  219. package/tdf3/src/client/validation.ts +2 -2
  220. package/tdf3/src/tdf.ts +53 -9
  221. package/tdf3/src/utils/unwrap.ts +2 -1
@@ -0,0 +1,503 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file authorization/v2/authorization.proto (package authorization.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
8
+ import type { EntityChain, Token } from "../../entity/entity_pb.js";
9
+ import { file_entity_entity } from "../../entity/entity_pb.js";
10
+ import type { BoolValue } from "@bufbuild/protobuf/wkt";
11
+ import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
12
+ import type { Action } from "../../policy/objects_pb.js";
13
+ import { file_policy_objects } from "../../policy/objects_pb.js";
14
+ import type { Message } from "@bufbuild/protobuf";
15
+
16
+ /**
17
+ * Describes the file authorization/v2/authorization.proto.
18
+ */
19
+ export const file_authorization_v2_authorization: GenFile = /*@__PURE__*/
20
+ fileDesc("CiRhdXRob3JpemF0aW9uL3YyL2F1dGhvcml6YXRpb24ucHJvdG8SEGF1dGhvcml6YXRpb24udjIixQQKEEVudGl0eUlkZW50aWZpZXIS1AEKDGVudGl0eV9jaGFpbhgBIAEoCzITLmVudGl0eS5FbnRpdHlDaGFpbkKmAbpIogG6AZ4BChVlbnRpdHlfY2hhaW5fcmVxdWlyZWQSN2VudGl0aWVzIG11c3QgYmUgcHJvdmlkZWQgYW5kIGJldHdlZW4gMSBhbmQgMTAgaW4gY291bnQaTGhhcyh0aGlzLmVudGl0aWVzKSAmJiB0aGlzLmVudGl0aWVzLnNpemUoKSA+IDAgJiYgdGhpcy5lbnRpdGllcy5zaXplKCkgPD0gMTBIABIzCh1yZWdpc3RlcmVkX3Jlc291cmNlX3ZhbHVlX2ZxbhgCIAEoCUIKukgHcgUQAYgBAUgAEnQKBXRva2VuGAMgASgLMg0uZW50aXR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JlcXVlc3QaMi5hdXRob3JpemF0aW9uLnYyLkdldERlY2lzaW9uTXVsdGlSZXNvdXJjZVJlc3BvbnNlIgASaAoPR2V0RGVjaXNpb25CdWxrEiguYXV0aG9yaXphdGlvbi52Mi5HZXREZWNpc2lvbkJ1bGtSZXF1ZXN0GikuYXV0aG9yaXphdGlvbi52Mi5HZXREZWNpc2lvbkJ1bGtSZXNwb25zZSIAEmgKD0dldEVudGl0bGVtZW50cxIoLmF1dGhvcml6YXRpb24udjIuR2V0RW50aXRsZW1lbnRzUmVxdWVzdBopLmF1dGhvcml6YXRpb24udjIuR2V0RW50aXRsZW1lbnRzUmVzcG9uc2UiAGIGcHJvdG8z", [file_buf_validate_validate, file_entity_entity, file_google_protobuf_wrappers, file_policy_objects]);
21
+
22
+ /**
23
+ * The EntityIdentifier specifies the actor in an entitlement or decision request - the PE, NPE, or PE+NPE being authorized.
24
+ * The abstraction houses the distinct entity types, PE and/or NPE combinations, or a registered resource value
25
+ * being treated as an entity in entitlement/authorization decisioning.
26
+ *
27
+ * @generated from message authorization.v2.EntityIdentifier
28
+ */
29
+ export type EntityIdentifier = Message<"authorization.v2.EntityIdentifier"> & {
30
+ /**
31
+ * @generated from oneof authorization.v2.EntityIdentifier.identifier
32
+ */
33
+ identifier: {
34
+ /**
35
+ * chain of one or more entities and at most 10
36
+ *
37
+ * @generated from field: entity.EntityChain entity_chain = 1;
38
+ */
39
+ value: EntityChain;
40
+ case: "entityChain";
41
+ } | {
42
+ /**
43
+ * fully qualified name of the registered resource value stored in platform policy, where in
44
+ * this case the resource acts as and represents a single entity for authorization/entitlement decisioning
45
+ *
46
+ * @generated from field: string registered_resource_value_fqn = 2;
47
+ */
48
+ value: string;
49
+ case: "registeredResourceValueFqn";
50
+ } | {
51
+ /**
52
+ * access token (JWT), which is used to create an entity chain (comprising one or more entities)
53
+ *
54
+ * @generated from field: entity.Token token = 3;
55
+ */
56
+ value: Token;
57
+ case: "token";
58
+ } | {
59
+ /**
60
+ * derive the entity from the request's authorization access token JWT, rather than passing in the body
61
+ *
62
+ * @generated from field: google.protobuf.BoolValue with_request_token = 4;
63
+ */
64
+ value: BoolValue;
65
+ case: "withRequestToken";
66
+ } | { case: undefined; value?: undefined };
67
+ };
68
+
69
+ /**
70
+ * Describes the message authorization.v2.EntityIdentifier.
71
+ * Use `create(EntityIdentifierSchema)` to create a new message.
72
+ */
73
+ export const EntityIdentifierSchema: GenMessage<EntityIdentifier> = /*@__PURE__*/
74
+ messageDesc(file_authorization_v2_authorization, 0);
75
+
76
+ /**
77
+ * Entitlements for a given entity, mapping each attribute value FQN to any entitled actions[]
78
+ *
79
+ * @generated from message authorization.v2.EntityEntitlements
80
+ */
81
+ export type EntityEntitlements = Message<"authorization.v2.EntityEntitlements"> & {
82
+ /**
83
+ * ephemeral id for tracking between request and response
84
+ *
85
+ * @generated from field: string ephemeral_id = 1;
86
+ */
87
+ ephemeralId: string;
88
+
89
+ /**
90
+ * @generated from field: map<string, authorization.v2.EntityEntitlements.ActionsList> actions_per_attribute_value_fqn = 2;
91
+ */
92
+ actionsPerAttributeValueFqn: { [key: string]: EntityEntitlements_ActionsList };
93
+ };
94
+
95
+ /**
96
+ * Describes the message authorization.v2.EntityEntitlements.
97
+ * Use `create(EntityEntitlementsSchema)` to create a new message.
98
+ */
99
+ export const EntityEntitlementsSchema: GenMessage<EntityEntitlements> = /*@__PURE__*/
100
+ messageDesc(file_authorization_v2_authorization, 1);
101
+
102
+ /**
103
+ * @generated from message authorization.v2.EntityEntitlements.ActionsList
104
+ */
105
+ export type EntityEntitlements_ActionsList = Message<"authorization.v2.EntityEntitlements.ActionsList"> & {
106
+ /**
107
+ * @generated from field: repeated policy.Action actions = 1;
108
+ */
109
+ actions: Action[];
110
+ };
111
+
112
+ /**
113
+ * Describes the message authorization.v2.EntityEntitlements.ActionsList.
114
+ * Use `create(EntityEntitlements_ActionsListSchema)` to create a new message.
115
+ */
116
+ export const EntityEntitlements_ActionsListSchema: GenMessage<EntityEntitlements_ActionsList> = /*@__PURE__*/
117
+ messageDesc(file_authorization_v2_authorization, 1, 0);
118
+
119
+ /**
120
+ * Either a set of attribute values (such as those on a TDF) or a registered resource value
121
+ *
122
+ * @generated from message authorization.v2.Resource
123
+ */
124
+ export type Resource = Message<"authorization.v2.Resource"> & {
125
+ /**
126
+ * ephemeral id for tracking between request and response
127
+ *
128
+ * @generated from field: string ephemeral_id = 1;
129
+ */
130
+ ephemeralId: string;
131
+
132
+ /**
133
+ * @generated from oneof authorization.v2.Resource.resource
134
+ */
135
+ resource: {
136
+ /**
137
+ * a set of attribute value FQNs, such as those on a TDF, between 1 and 20 in count
138
+ *
139
+ * @generated from field: authorization.v2.Resource.AttributeValues attribute_values = 2;
140
+ */
141
+ value: Resource_AttributeValues;
142
+ case: "attributeValues";
143
+ } | {
144
+ /**
145
+ * fully qualified name of the registered resource value stored in platform policy
146
+ *
147
+ * @generated from field: string registered_resource_value_fqn = 3;
148
+ */
149
+ value: string;
150
+ case: "registeredResourceValueFqn";
151
+ } | { case: undefined; value?: undefined };
152
+ };
153
+
154
+ /**
155
+ * Describes the message authorization.v2.Resource.
156
+ * Use `create(ResourceSchema)` to create a new message.
157
+ */
158
+ export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
159
+ messageDesc(file_authorization_v2_authorization, 2);
160
+
161
+ /**
162
+ * @generated from message authorization.v2.Resource.AttributeValues
163
+ */
164
+ export type Resource_AttributeValues = Message<"authorization.v2.Resource.AttributeValues"> & {
165
+ /**
166
+ * @generated from field: repeated string fqns = 1;
167
+ */
168
+ fqns: string[];
169
+ };
170
+
171
+ /**
172
+ * Describes the message authorization.v2.Resource.AttributeValues.
173
+ * Use `create(Resource_AttributeValuesSchema)` to create a new message.
174
+ */
175
+ export const Resource_AttributeValuesSchema: GenMessage<Resource_AttributeValues> = /*@__PURE__*/
176
+ messageDesc(file_authorization_v2_authorization, 2, 0);
177
+
178
+ /**
179
+ * @generated from message authorization.v2.ResourceDecision
180
+ */
181
+ export type ResourceDecision = Message<"authorization.v2.ResourceDecision"> & {
182
+ /**
183
+ * ephemeral id for tracking between request and response
184
+ *
185
+ * @generated from field: string ephemeral_resource_id = 1;
186
+ */
187
+ ephemeralResourceId: string;
188
+
189
+ /**
190
+ * decision result
191
+ *
192
+ * @generated from field: authorization.v2.Decision decision = 2;
193
+ */
194
+ decision: Decision;
195
+
196
+ /**
197
+ * obligations (fully qualified values) the PEP is required to fulfill on the given resource
198
+ * i.e. https://<namespace>/obl/<definition name>/value/<value>
199
+ *
200
+ * @generated from field: repeated string required_obligations = 3;
201
+ */
202
+ requiredObligations: string[];
203
+ };
204
+
205
+ /**
206
+ * Describes the message authorization.v2.ResourceDecision.
207
+ * Use `create(ResourceDecisionSchema)` to create a new message.
208
+ */
209
+ export const ResourceDecisionSchema: GenMessage<ResourceDecision> = /*@__PURE__*/
210
+ messageDesc(file_authorization_v2_authorization, 3);
211
+
212
+ /**
213
+ * Can the identified entity/entities access?
214
+ * 1. one entity reference (actor)
215
+ * 2. one action
216
+ * 3. one resource
217
+ *
218
+ * If entitled, checks obligation policy: fulfillable obligations must satisfy all triggered.
219
+ *
220
+ * @generated from message authorization.v2.GetDecisionRequest
221
+ */
222
+ export type GetDecisionRequest = Message<"authorization.v2.GetDecisionRequest"> & {
223
+ /**
224
+ * an entity must be identified for authorization decisioning
225
+ *
226
+ * @generated from field: authorization.v2.EntityIdentifier entity_identifier = 1;
227
+ */
228
+ entityIdentifier?: EntityIdentifier;
229
+
230
+ /**
231
+ * name on action is required
232
+ *
233
+ * @generated from field: policy.Action action = 2;
234
+ */
235
+ action?: Action;
236
+
237
+ /**
238
+ * @generated from field: authorization.v2.Resource resource = 3;
239
+ */
240
+ resource?: Resource;
241
+
242
+ /**
243
+ * obligations (fully qualified values) the requester is capable of fulfilling
244
+ * i.e. https://<namespace>/obl/<definition name>/value/<value>
245
+ *
246
+ * @generated from field: repeated string fulfillable_obligation_fqns = 4;
247
+ */
248
+ fulfillableObligationFqns: string[];
249
+ };
250
+
251
+ /**
252
+ * Describes the message authorization.v2.GetDecisionRequest.
253
+ * Use `create(GetDecisionRequestSchema)` to create a new message.
254
+ */
255
+ export const GetDecisionRequestSchema: GenMessage<GetDecisionRequest> = /*@__PURE__*/
256
+ messageDesc(file_authorization_v2_authorization, 4);
257
+
258
+ /**
259
+ * @generated from message authorization.v2.GetDecisionResponse
260
+ */
261
+ export type GetDecisionResponse = Message<"authorization.v2.GetDecisionResponse"> & {
262
+ /**
263
+ * decision on the resource
264
+ *
265
+ * @generated from field: authorization.v2.ResourceDecision decision = 1;
266
+ */
267
+ decision?: ResourceDecision;
268
+ };
269
+
270
+ /**
271
+ * Describes the message authorization.v2.GetDecisionResponse.
272
+ * Use `create(GetDecisionResponseSchema)` to create a new message.
273
+ */
274
+ export const GetDecisionResponseSchema: GenMessage<GetDecisionResponse> = /*@__PURE__*/
275
+ messageDesc(file_authorization_v2_authorization, 5);
276
+
277
+ /**
278
+ * Can the identified entity/entities access?
279
+ * 1. one entity reference (actor)
280
+ * 2. one action
281
+ * 3. multiple resources
282
+ *
283
+ * If entitled, checks obligation policy: fulfillable obligations must satisfy all triggered.
284
+ *
285
+ * Note: this is a more performant bulk request for multiple resource decisions, up to 1000 per request
286
+ *
287
+ * @generated from message authorization.v2.GetDecisionMultiResourceRequest
288
+ */
289
+ export type GetDecisionMultiResourceRequest = Message<"authorization.v2.GetDecisionMultiResourceRequest"> & {
290
+ /**
291
+ * an entity must be identified for authorization decisioning
292
+ *
293
+ * @generated from field: authorization.v2.EntityIdentifier entity_identifier = 1;
294
+ */
295
+ entityIdentifier?: EntityIdentifier;
296
+
297
+ /**
298
+ * name on action is required
299
+ *
300
+ * @generated from field: policy.Action action = 2;
301
+ */
302
+ action?: Action;
303
+
304
+ /**
305
+ * @generated from field: repeated authorization.v2.Resource resources = 3;
306
+ */
307
+ resources: Resource[];
308
+
309
+ /**
310
+ * obligations (fully qualified values) the requester is capable of fulfilling
311
+ * i.e. https://<namespace>/obl/<definition name>/value/<value>
312
+ *
313
+ * @generated from field: repeated string fulfillable_obligation_fqns = 4;
314
+ */
315
+ fulfillableObligationFqns: string[];
316
+ };
317
+
318
+ /**
319
+ * Describes the message authorization.v2.GetDecisionMultiResourceRequest.
320
+ * Use `create(GetDecisionMultiResourceRequestSchema)` to create a new message.
321
+ */
322
+ export const GetDecisionMultiResourceRequestSchema: GenMessage<GetDecisionMultiResourceRequest> = /*@__PURE__*/
323
+ messageDesc(file_authorization_v2_authorization, 6);
324
+
325
+ /**
326
+ * @generated from message authorization.v2.GetDecisionMultiResourceResponse
327
+ */
328
+ export type GetDecisionMultiResourceResponse = Message<"authorization.v2.GetDecisionMultiResourceResponse"> & {
329
+ /**
330
+ * convenience flag indicating global resource decisions result (permit/deny)
331
+ *
332
+ * @generated from field: google.protobuf.BoolValue all_permitted = 1;
333
+ */
334
+ allPermitted?: boolean;
335
+
336
+ /**
337
+ * individual resource decisions
338
+ *
339
+ * @generated from field: repeated authorization.v2.ResourceDecision resource_decisions = 2;
340
+ */
341
+ resourceDecisions: ResourceDecision[];
342
+ };
343
+
344
+ /**
345
+ * Describes the message authorization.v2.GetDecisionMultiResourceResponse.
346
+ * Use `create(GetDecisionMultiResourceResponseSchema)` to create a new message.
347
+ */
348
+ export const GetDecisionMultiResourceResponseSchema: GenMessage<GetDecisionMultiResourceResponse> = /*@__PURE__*/
349
+ messageDesc(file_authorization_v2_authorization, 7);
350
+
351
+ /**
352
+ * Is access allowed?
353
+ * 1. Multiplexing of a Decision<EntityIdentifier, Action, repeated Resource> request
354
+ * This is a more performant bulk request for complex decisioning (i.e. multiple entity chains or actions on
355
+ * multiple resources)
356
+ *
357
+ * @generated from message authorization.v2.GetDecisionBulkRequest
358
+ */
359
+ export type GetDecisionBulkRequest = Message<"authorization.v2.GetDecisionBulkRequest"> & {
360
+ /**
361
+ * @generated from field: repeated authorization.v2.GetDecisionMultiResourceRequest decision_requests = 1;
362
+ */
363
+ decisionRequests: GetDecisionMultiResourceRequest[];
364
+ };
365
+
366
+ /**
367
+ * Describes the message authorization.v2.GetDecisionBulkRequest.
368
+ * Use `create(GetDecisionBulkRequestSchema)` to create a new message.
369
+ */
370
+ export const GetDecisionBulkRequestSchema: GenMessage<GetDecisionBulkRequest> = /*@__PURE__*/
371
+ messageDesc(file_authorization_v2_authorization, 8);
372
+
373
+ /**
374
+ * @generated from message authorization.v2.GetDecisionBulkResponse
375
+ */
376
+ export type GetDecisionBulkResponse = Message<"authorization.v2.GetDecisionBulkResponse"> & {
377
+ /**
378
+ * @generated from field: repeated authorization.v2.GetDecisionMultiResourceResponse decision_responses = 1;
379
+ */
380
+ decisionResponses: GetDecisionMultiResourceResponse[];
381
+ };
382
+
383
+ /**
384
+ * Describes the message authorization.v2.GetDecisionBulkResponse.
385
+ * Use `create(GetDecisionBulkResponseSchema)` to create a new message.
386
+ */
387
+ export const GetDecisionBulkResponseSchema: GenMessage<GetDecisionBulkResponse> = /*@__PURE__*/
388
+ messageDesc(file_authorization_v2_authorization, 9);
389
+
390
+ /**
391
+ * What is permitted to the identified entity/entities (actor), broken down as permitted actions on attribute value FQNs?
392
+ *
393
+ * Note: the v1 API parameter 'scope' has been dropped, and it is recommended to use
394
+ * GetDecision if the resource is known
395
+ *
396
+ * @generated from message authorization.v2.GetEntitlementsRequest
397
+ */
398
+ export type GetEntitlementsRequest = Message<"authorization.v2.GetEntitlementsRequest"> & {
399
+ /**
400
+ * an entity must be identified for entitlement decisioning
401
+ *
402
+ * @generated from field: authorization.v2.EntityIdentifier entity_identifier = 1;
403
+ */
404
+ entityIdentifier?: EntityIdentifier;
405
+
406
+ /**
407
+ * optional parameter to return all entitled values for attribute definitions with hierarchy rules, propagating
408
+ * down the hierarchical values instead of returning solely the value that is directly entitled
409
+ *
410
+ * @generated from field: optional bool with_comprehensive_hierarchy = 2;
411
+ */
412
+ withComprehensiveHierarchy?: boolean;
413
+ };
414
+
415
+ /**
416
+ * Describes the message authorization.v2.GetEntitlementsRequest.
417
+ * Use `create(GetEntitlementsRequestSchema)` to create a new message.
418
+ */
419
+ export const GetEntitlementsRequestSchema: GenMessage<GetEntitlementsRequest> = /*@__PURE__*/
420
+ messageDesc(file_authorization_v2_authorization, 10);
421
+
422
+ /**
423
+ * @generated from message authorization.v2.GetEntitlementsResponse
424
+ */
425
+ export type GetEntitlementsResponse = Message<"authorization.v2.GetEntitlementsResponse"> & {
426
+ /**
427
+ * @generated from field: repeated authorization.v2.EntityEntitlements entitlements = 1;
428
+ */
429
+ entitlements: EntityEntitlements[];
430
+ };
431
+
432
+ /**
433
+ * Describes the message authorization.v2.GetEntitlementsResponse.
434
+ * Use `create(GetEntitlementsResponseSchema)` to create a new message.
435
+ */
436
+ export const GetEntitlementsResponseSchema: GenMessage<GetEntitlementsResponse> = /*@__PURE__*/
437
+ messageDesc(file_authorization_v2_authorization, 11);
438
+
439
+ /**
440
+ * @generated from enum authorization.v2.Decision
441
+ */
442
+ export enum Decision {
443
+ /**
444
+ * @generated from enum value: DECISION_UNSPECIFIED = 0;
445
+ */
446
+ UNSPECIFIED = 0,
447
+
448
+ /**
449
+ * @generated from enum value: DECISION_DENY = 1;
450
+ */
451
+ DENY = 1,
452
+
453
+ /**
454
+ * @generated from enum value: DECISION_PERMIT = 2;
455
+ */
456
+ PERMIT = 2,
457
+ }
458
+
459
+ /**
460
+ * Describes the enum authorization.v2.Decision.
461
+ */
462
+ export const DecisionSchema: GenEnum<Decision> = /*@__PURE__*/
463
+ enumDesc(file_authorization_v2_authorization, 0);
464
+
465
+ /**
466
+ * @generated from service authorization.v2.AuthorizationService
467
+ */
468
+ export const AuthorizationService: GenService<{
469
+ /**
470
+ * @generated from rpc authorization.v2.AuthorizationService.GetDecision
471
+ */
472
+ getDecision: {
473
+ methodKind: "unary";
474
+ input: typeof GetDecisionRequestSchema;
475
+ output: typeof GetDecisionResponseSchema;
476
+ },
477
+ /**
478
+ * @generated from rpc authorization.v2.AuthorizationService.GetDecisionMultiResource
479
+ */
480
+ getDecisionMultiResource: {
481
+ methodKind: "unary";
482
+ input: typeof GetDecisionMultiResourceRequestSchema;
483
+ output: typeof GetDecisionMultiResourceResponseSchema;
484
+ },
485
+ /**
486
+ * @generated from rpc authorization.v2.AuthorizationService.GetDecisionBulk
487
+ */
488
+ getDecisionBulk: {
489
+ methodKind: "unary";
490
+ input: typeof GetDecisionBulkRequestSchema;
491
+ output: typeof GetDecisionBulkResponseSchema;
492
+ },
493
+ /**
494
+ * @generated from rpc authorization.v2.AuthorizationService.GetEntitlements
495
+ */
496
+ getEntitlements: {
497
+ methodKind: "unary";
498
+ input: typeof GetEntitlementsRequestSchema;
499
+ output: typeof GetEntitlementsResponseSchema;
500
+ },
501
+ }> = /*@__PURE__*/
502
+ serviceDesc(file_authorization_v2_authorization, 0);
503
+