@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,689 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file authorization/authorization.proto (package authorization, 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_google_api_annotations } from "../google/api/annotations_pb.js";
8
+ import type { Any } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
10
+ import type { Action } from "../policy/objects_pb.js";
11
+ import { file_policy_objects } from "../policy/objects_pb.js";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file authorization/authorization.proto.
16
+ */
17
+ export const file_authorization_authorization: GenFile = /*@__PURE__*/
18
+ fileDesc("CiFhdXRob3JpemF0aW9uL2F1dGhvcml6YXRpb24ucHJvdG8SDWF1dGhvcml6YXRpb24iIAoFVG9rZW4SCgoCaWQYASABKAkSCwoDand0GAIgASgJIvICCgZFbnRpdHkSCgoCaWQYASABKAkSFwoNZW1haWxfYWRkcmVzcxgCIAEoCUgAEhMKCXVzZXJfbmFtZRgDIAEoCUgAEhsKEXJlbW90ZV9jbGFpbXNfdXJsGAQgASgJSAASDgoEdXVpZBgFIAEoCUgAEiYKBmNsYWltcxgGIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlIABItCgZjdXN0b20YByABKAsyGy5hdXRob3JpemF0aW9uLkVudGl0eUN1c3RvbUgAEhMKCWNsaWVudF9pZBgIIAEoCUgAEjAKCGNhdGVnb3J5GAkgASgOMh4uYXV0aG9yaXphdGlvbi5FbnRpdHkuQ2F0ZWdvcnkiVAoIQ2F0ZWdvcnkSGAoUQ0FURUdPUllfVU5TUEVDSUZJRUQQABIUChBDQVRFR09SWV9TVUJKRUNUEAESGAoUQ0FURUdPUllfRU5WSVJPTk1FTlQQAkINCgtlbnRpdHlfdHlwZSI3CgxFbnRpdHlDdXN0b20SJwoJZXh0ZW5zaW9uGAEgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueSJCCgtFbnRpdHlDaGFpbhIKCgJpZBgBIAEoCRInCghlbnRpdGllcxgCIAMoCzIVLmF1dGhvcml6YXRpb24uRW50aXR5IqQBCg9EZWNpc2lvblJlcXVlc3QSHwoHYWN0aW9ucxgBIAMoCzIOLnBvbGljeS5BY3Rpb24SMQoNZW50aXR5X2NoYWlucxgCIAMoCzIaLmF1dGhvcml6YXRpb24uRW50aXR5Q2hhaW4SPQoTcmVzb3VyY2VfYXR0cmlidXRlcxgDIAMoCzIgLmF1dGhvcml6YXRpb24uUmVzb3VyY2VBdHRyaWJ1dGUiigIKEERlY2lzaW9uUmVzcG9uc2USFwoPZW50aXR5X2NoYWluX2lkGAEgASgJEh4KFnJlc291cmNlX2F0dHJpYnV0ZXNfaWQYAiABKAkSHgoGYWN0aW9uGAMgASgLMg4ucG9saWN5LkFjdGlvbhI6CghkZWNpc2lvbhgEIAEoDjIoLmF1dGhvcml6YXRpb24uRGVjaXNpb25SZXNwb25zZS5EZWNpc2lvbhITCgtvYmxpZ2F0aW9ucxgFIAMoCSJMCghEZWNpc2lvbhIYChRERUNJU0lPTl9VTlNQRUNJRklFRBAAEhEKDURFQ0lTSU9OX0RFTlkQARITCg9ERUNJU0lPTl9QRVJNSVQQAiJQChNHZXREZWNpc2lvbnNSZXF1ZXN0EjkKEWRlY2lzaW9uX3JlcXVlc3RzGAEgAygLMh4uYXV0aG9yaXphdGlvbi5EZWNpc2lvblJlcXVlc3QiUwoUR2V0RGVjaXNpb25zUmVzcG9uc2USOwoSZGVjaXNpb25fcmVzcG9uc2VzGAEgAygLMh8uYXV0aG9yaXphdGlvbi5EZWNpc2lvblJlc3BvbnNlIs0BChZHZXRFbnRpdGxlbWVudHNSZXF1ZXN0EicKCGVudGl0aWVzGAEgAygLMhUuYXV0aG9yaXphdGlvbi5FbnRpdHkSNAoFc2NvcGUYAiABKAsyIC5hdXRob3JpemF0aW9uLlJlc291cmNlQXR0cmlidXRlSACIAQESKQocd2l0aF9jb21wcmVoZW5zaXZlX2hpZXJhcmNoeRgDIAEoCEgBiAEBQggKBl9zY29wZUIfCh1fd2l0aF9jb21wcmVoZW5zaXZlX2hpZXJhcmNoeSJFChJFbnRpdHlFbnRpdGxlbWVudHMSEQoJZW50aXR5X2lkGAEgASgJEhwKFGF0dHJpYnV0ZV92YWx1ZV9mcW5zGAIgAygJIlEKEVJlc291cmNlQXR0cmlidXRlEh4KFnJlc291cmNlX2F0dHJpYnV0ZXNfaWQYASABKAkSHAoUYXR0cmlidXRlX3ZhbHVlX2ZxbnMYAiADKAkiUgoXR2V0RW50aXRsZW1lbnRzUmVzcG9uc2USNwoMZW50aXRsZW1lbnRzGAEgAygLMiEuYXV0aG9yaXphdGlvbi5FbnRpdHlFbnRpdGxlbWVudHMinAEKFFRva2VuRGVjaXNpb25SZXF1ZXN0Eh8KB2FjdGlvbnMYASADKAsyDi5wb2xpY3kuQWN0aW9uEiQKBnRva2VucxgCIAMoCzIULmF1dGhvcml6YXRpb24uVG9rZW4SPQoTcmVzb3VyY2VfYXR0cmlidXRlcxgDIAMoCzIgLmF1dGhvcml6YXRpb24uUmVzb3VyY2VBdHRyaWJ1dGUiXAoaR2V0RGVjaXNpb25zQnlUb2tlblJlcXVlc3QSPgoRZGVjaXNpb25fcmVxdWVzdHMYASADKAsyIy5hdXRob3JpemF0aW9uLlRva2VuRGVjaXNpb25SZXF1ZXN0IloKG0dldERlY2lzaW9uc0J5VG9rZW5SZXNwb25zZRI7ChJkZWNpc2lvbl9yZXNwb25zZXMYASADKAsyHy5hdXRob3JpemF0aW9uLkRlY2lzaW9uUmVzcG9uc2UynAMKFEF1dGhvcml6YXRpb25TZXJ2aWNlEnUKDEdldERlY2lzaW9ucxIiLmF1dGhvcml6YXRpb24uR2V0RGVjaXNpb25zUmVxdWVzdBojLmF1dGhvcml6YXRpb24uR2V0RGVjaXNpb25zUmVzcG9uc2UiHILT5JMCFjoBKiIRL3YxL2F1dGhvcml6YXRpb24SjQEKE0dldERlY2lzaW9uc0J5VG9rZW4SKS5hdXRob3JpemF0aW9uLkdldERlY2lzaW9uc0J5VG9rZW5SZXF1ZXN0GiouYXV0aG9yaXphdGlvbi5HZXREZWNpc2lvbnNCeVRva2VuUmVzcG9uc2UiH4LT5JMCGSIXL3YxL3Rva2VuL2F1dGhvcml6YXRpb24SfQoPR2V0RW50aXRsZW1lbnRzEiUuYXV0aG9yaXphdGlvbi5HZXRFbnRpdGxlbWVudHNSZXF1ZXN0GiYuYXV0aG9yaXphdGlvbi5HZXRFbnRpdGxlbWVudHNSZXNwb25zZSIbgtPkkwIVOgEqIhAvdjEvZW50aXRsZW1lbnRzYgZwcm90bzM", [file_google_api_annotations, file_google_protobuf_any, file_policy_objects]);
19
+
20
+ /**
21
+ * @generated from message authorization.Token
22
+ */
23
+ export type Token = Message<"authorization.Token"> & {
24
+ /**
25
+ * ephemeral id for tracking between request and response
26
+ *
27
+ * @generated from field: string id = 1;
28
+ */
29
+ id: string;
30
+
31
+ /**
32
+ * the token
33
+ *
34
+ * @generated from field: string jwt = 2;
35
+ */
36
+ jwt: string;
37
+ };
38
+
39
+ /**
40
+ * Describes the message authorization.Token.
41
+ * Use `create(TokenSchema)` to create a new message.
42
+ */
43
+ export const TokenSchema: GenMessage<Token> = /*@__PURE__*/
44
+ messageDesc(file_authorization_authorization, 0);
45
+
46
+ /**
47
+ * PE (Person Entity) or NPE (Non-Person Entity)
48
+ *
49
+ * @generated from message authorization.Entity
50
+ */
51
+ export type Entity = Message<"authorization.Entity"> & {
52
+ /**
53
+ * ephemeral id for tracking between request and response
54
+ *
55
+ * @generated from field: string id = 1;
56
+ */
57
+ id: string;
58
+
59
+ /**
60
+ * Standard entity types supported by the platform
61
+ *
62
+ * @generated from oneof authorization.Entity.entity_type
63
+ */
64
+ entityType: {
65
+ /**
66
+ * one of the entity options must be set
67
+ *
68
+ * @generated from field: string email_address = 2;
69
+ */
70
+ value: string;
71
+ case: "emailAddress";
72
+ } | {
73
+ /**
74
+ * @generated from field: string user_name = 3;
75
+ */
76
+ value: string;
77
+ case: "userName";
78
+ } | {
79
+ /**
80
+ * @generated from field: string remote_claims_url = 4;
81
+ */
82
+ value: string;
83
+ case: "remoteClaimsUrl";
84
+ } | {
85
+ /**
86
+ * @generated from field: string uuid = 5;
87
+ */
88
+ value: string;
89
+ case: "uuid";
90
+ } | {
91
+ /**
92
+ * @generated from field: google.protobuf.Any claims = 6;
93
+ */
94
+ value: Any;
95
+ case: "claims";
96
+ } | {
97
+ /**
98
+ * @generated from field: authorization.EntityCustom custom = 7;
99
+ */
100
+ value: EntityCustom;
101
+ case: "custom";
102
+ } | {
103
+ /**
104
+ * @generated from field: string client_id = 8;
105
+ */
106
+ value: string;
107
+ case: "clientId";
108
+ } | { case: undefined; value?: undefined };
109
+
110
+ /**
111
+ * @generated from field: authorization.Entity.Category category = 9;
112
+ */
113
+ category: Entity_Category;
114
+ };
115
+
116
+ /**
117
+ * Describes the message authorization.Entity.
118
+ * Use `create(EntitySchema)` to create a new message.
119
+ */
120
+ export const EntitySchema: GenMessage<Entity> = /*@__PURE__*/
121
+ messageDesc(file_authorization_authorization, 1);
122
+
123
+ /**
124
+ * @generated from enum authorization.Entity.Category
125
+ */
126
+ export enum Entity_Category {
127
+ /**
128
+ * @generated from enum value: CATEGORY_UNSPECIFIED = 0;
129
+ */
130
+ UNSPECIFIED = 0,
131
+
132
+ /**
133
+ * @generated from enum value: CATEGORY_SUBJECT = 1;
134
+ */
135
+ SUBJECT = 1,
136
+
137
+ /**
138
+ * @generated from enum value: CATEGORY_ENVIRONMENT = 2;
139
+ */
140
+ ENVIRONMENT = 2,
141
+ }
142
+
143
+ /**
144
+ * Describes the enum authorization.Entity.Category.
145
+ */
146
+ export const Entity_CategorySchema: GenEnum<Entity_Category> = /*@__PURE__*/
147
+ enumDesc(file_authorization_authorization, 1, 0);
148
+
149
+ /**
150
+ * Entity type for custom entities beyond the standard types
151
+ *
152
+ * @generated from message authorization.EntityCustom
153
+ */
154
+ export type EntityCustom = Message<"authorization.EntityCustom"> & {
155
+ /**
156
+ * @generated from field: google.protobuf.Any extension = 1;
157
+ */
158
+ extension?: Any;
159
+ };
160
+
161
+ /**
162
+ * Describes the message authorization.EntityCustom.
163
+ * Use `create(EntityCustomSchema)` to create a new message.
164
+ */
165
+ export const EntityCustomSchema: GenMessage<EntityCustom> = /*@__PURE__*/
166
+ messageDesc(file_authorization_authorization, 2);
167
+
168
+ /**
169
+ * A set of related PE and NPE
170
+ *
171
+ * @generated from message authorization.EntityChain
172
+ */
173
+ export type EntityChain = Message<"authorization.EntityChain"> & {
174
+ /**
175
+ * ephemeral id for tracking between request and response
176
+ *
177
+ * @generated from field: string id = 1;
178
+ */
179
+ id: string;
180
+
181
+ /**
182
+ * @generated from field: repeated authorization.Entity entities = 2;
183
+ */
184
+ entities: Entity[];
185
+ };
186
+
187
+ /**
188
+ * Describes the message authorization.EntityChain.
189
+ * Use `create(EntityChainSchema)` to create a new message.
190
+ */
191
+ export const EntityChainSchema: GenMessage<EntityChain> = /*@__PURE__*/
192
+ messageDesc(file_authorization_authorization, 3);
193
+
194
+ /**
195
+ *
196
+ * Example Request Get Decisions to answer the question - Do Bob (represented by entity chain ec1)
197
+ * and Alice (represented by entity chain ec2) have TRANSMIT authorization for
198
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
199
+ *
200
+ * {
201
+ * "actions": [
202
+ * {
203
+ * "standard": "STANDARD_ACTION_TRANSMIT"
204
+ * }
205
+ * ],
206
+ * "entityChains": [
207
+ * {
208
+ * "id": "ec1",
209
+ * "entities": [
210
+ * {
211
+ * "emailAddress": "bob@example.org"
212
+ * }
213
+ * ]
214
+ * },
215
+ * {
216
+ * "id": "ec2",
217
+ * "entities": [
218
+ * {
219
+ * "userName": "alice@example.org"
220
+ * }
221
+ * ]
222
+ * }
223
+ * ],
224
+ * "resourceAttributes": [
225
+ * {
226
+ * "resourceAttributeId": "attr-set-1",
227
+ * "attributeFqns": [
228
+ * "https://www.example.org/attr/foo/value/value1"
229
+ * ]
230
+ * },
231
+ * {
232
+ * "resourceAttributeId": "attr-set-2",
233
+ * "attributeFqns": [
234
+ * "https://example.net/attr/attr1/value/value1",
235
+ * "https://example.net/attr/attr1/value/value2"
236
+ * ]
237
+ * }
238
+ * ]
239
+ * }
240
+ *
241
+ *
242
+ * @generated from message authorization.DecisionRequest
243
+ */
244
+ export type DecisionRequest = Message<"authorization.DecisionRequest"> & {
245
+ /**
246
+ * @generated from field: repeated policy.Action actions = 1;
247
+ */
248
+ actions: Action[];
249
+
250
+ /**
251
+ * @generated from field: repeated authorization.EntityChain entity_chains = 2;
252
+ */
253
+ entityChains: EntityChain[];
254
+
255
+ /**
256
+ * @generated from field: repeated authorization.ResourceAttribute resource_attributes = 3;
257
+ */
258
+ resourceAttributes: ResourceAttribute[];
259
+ };
260
+
261
+ /**
262
+ * Describes the message authorization.DecisionRequest.
263
+ * Use `create(DecisionRequestSchema)` to create a new message.
264
+ */
265
+ export const DecisionRequestSchema: GenMessage<DecisionRequest> = /*@__PURE__*/
266
+ messageDesc(file_authorization_authorization, 4);
267
+
268
+ /**
269
+ *
270
+ *
271
+ * Example response for a Decision Request - Do Bob (represented by entity chain ec1)
272
+ * and Alice (represented by entity chain ec2) have TRANSMIT authorization for
273
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
274
+ *
275
+ * Results:
276
+ * - bob has permitted authorization to transmit for a resource defined by attr-set-1 attributes and has a watermark obligation
277
+ * - bob has denied authorization to transmit a for a resource defined by attr-set-2 attributes
278
+ * - alice has permitted authorization to transmit for a resource defined by attr-set-1 attributes
279
+ * - alice has denied authorization to transmit a for a resource defined by attr-set-2 attributes
280
+ *
281
+ * {
282
+ * "entityChainId": "ec1",
283
+ * "resourceAttributesId": "attr-set-1",
284
+ * "decision": "DECISION_PERMIT",
285
+ * "obligations": [
286
+ * "http://www.example.org/obligation/watermark"
287
+ * ]
288
+ * },
289
+ * {
290
+ * "entityChainId": "ec1",
291
+ * "resourceAttributesId": "attr-set-2",
292
+ * "decision": "DECISION_PERMIT"
293
+ * },
294
+ * {
295
+ * "entityChainId": "ec2",
296
+ * "resourceAttributesId": "attr-set-1",
297
+ * "decision": "DECISION_PERMIT"
298
+ * },
299
+ * {
300
+ * "entityChainId": "ec2",
301
+ * "resourceAttributesId": "attr-set-2",
302
+ * "decision": "DECISION_DENY"
303
+ * }
304
+ *
305
+ *
306
+ *
307
+ * @generated from message authorization.DecisionResponse
308
+ */
309
+ export type DecisionResponse = Message<"authorization.DecisionResponse"> & {
310
+ /**
311
+ * ephemeral entity chain id from the request
312
+ *
313
+ * @generated from field: string entity_chain_id = 1;
314
+ */
315
+ entityChainId: string;
316
+
317
+ /**
318
+ * ephemeral resource attributes id from the request
319
+ *
320
+ * @generated from field: string resource_attributes_id = 2;
321
+ */
322
+ resourceAttributesId: string;
323
+
324
+ /**
325
+ * Action of the decision response
326
+ *
327
+ * @generated from field: policy.Action action = 3;
328
+ */
329
+ action?: Action;
330
+
331
+ /**
332
+ * The decision response
333
+ *
334
+ * @generated from field: authorization.DecisionResponse.Decision decision = 4;
335
+ */
336
+ decision: DecisionResponse_Decision;
337
+
338
+ /**
339
+ * optional list of obligations represented in URI format
340
+ *
341
+ * @generated from field: repeated string obligations = 5;
342
+ */
343
+ obligations: string[];
344
+ };
345
+
346
+ /**
347
+ * Describes the message authorization.DecisionResponse.
348
+ * Use `create(DecisionResponseSchema)` to create a new message.
349
+ */
350
+ export const DecisionResponseSchema: GenMessage<DecisionResponse> = /*@__PURE__*/
351
+ messageDesc(file_authorization_authorization, 5);
352
+
353
+ /**
354
+ * @generated from enum authorization.DecisionResponse.Decision
355
+ */
356
+ export enum DecisionResponse_Decision {
357
+ /**
358
+ * @generated from enum value: DECISION_UNSPECIFIED = 0;
359
+ */
360
+ UNSPECIFIED = 0,
361
+
362
+ /**
363
+ * @generated from enum value: DECISION_DENY = 1;
364
+ */
365
+ DENY = 1,
366
+
367
+ /**
368
+ * @generated from enum value: DECISION_PERMIT = 2;
369
+ */
370
+ PERMIT = 2,
371
+ }
372
+
373
+ /**
374
+ * Describes the enum authorization.DecisionResponse.Decision.
375
+ */
376
+ export const DecisionResponse_DecisionSchema: GenEnum<DecisionResponse_Decision> = /*@__PURE__*/
377
+ enumDesc(file_authorization_authorization, 5, 0);
378
+
379
+ /**
380
+ * @generated from message authorization.GetDecisionsRequest
381
+ */
382
+ export type GetDecisionsRequest = Message<"authorization.GetDecisionsRequest"> & {
383
+ /**
384
+ * @generated from field: repeated authorization.DecisionRequest decision_requests = 1;
385
+ */
386
+ decisionRequests: DecisionRequest[];
387
+ };
388
+
389
+ /**
390
+ * Describes the message authorization.GetDecisionsRequest.
391
+ * Use `create(GetDecisionsRequestSchema)` to create a new message.
392
+ */
393
+ export const GetDecisionsRequestSchema: GenMessage<GetDecisionsRequest> = /*@__PURE__*/
394
+ messageDesc(file_authorization_authorization, 6);
395
+
396
+ /**
397
+ * @generated from message authorization.GetDecisionsResponse
398
+ */
399
+ export type GetDecisionsResponse = Message<"authorization.GetDecisionsResponse"> & {
400
+ /**
401
+ * @generated from field: repeated authorization.DecisionResponse decision_responses = 1;
402
+ */
403
+ decisionResponses: DecisionResponse[];
404
+ };
405
+
406
+ /**
407
+ * Describes the message authorization.GetDecisionsResponse.
408
+ * Use `create(GetDecisionsResponseSchema)` to create a new message.
409
+ */
410
+ export const GetDecisionsResponseSchema: GenMessage<GetDecisionsResponse> = /*@__PURE__*/
411
+ messageDesc(file_authorization_authorization, 7);
412
+
413
+ /**
414
+ *
415
+ * Request to get entitlements for one or more entities for an optional attribute scope
416
+ *
417
+ * Example: Get entitlements for bob and alice (both represented using an email address
418
+ *
419
+ * {
420
+ * "entities": [
421
+ * {
422
+ * "id": "e1",
423
+ * "emailAddress": "bob@example.org"
424
+ * },
425
+ * {
426
+ * "id": "e2",
427
+ * "emailAddress": "alice@example.org"
428
+ * }
429
+ * ],
430
+ * "scope": {
431
+ * "attributeFqns": [
432
+ * "https://example.net/attr/attr1/value/value1",
433
+ * "https://example.net/attr/attr1/value/value2"
434
+ * ]
435
+ * }
436
+ * }
437
+ *
438
+ *
439
+ * @generated from message authorization.GetEntitlementsRequest
440
+ */
441
+ export type GetEntitlementsRequest = Message<"authorization.GetEntitlementsRequest"> & {
442
+ /**
443
+ * list of requested entities
444
+ *
445
+ * @generated from field: repeated authorization.Entity entities = 1;
446
+ */
447
+ entities: Entity[];
448
+
449
+ /**
450
+ * optional attribute fqn as a scope
451
+ *
452
+ * @generated from field: optional authorization.ResourceAttribute scope = 2;
453
+ */
454
+ scope?: ResourceAttribute;
455
+
456
+ /**
457
+ * optional parameter to return a full list of entitlements - returns lower hierarchy attributes
458
+ *
459
+ * @generated from field: optional bool with_comprehensive_hierarchy = 3;
460
+ */
461
+ withComprehensiveHierarchy?: boolean;
462
+ };
463
+
464
+ /**
465
+ * Describes the message authorization.GetEntitlementsRequest.
466
+ * Use `create(GetEntitlementsRequestSchema)` to create a new message.
467
+ */
468
+ export const GetEntitlementsRequestSchema: GenMessage<GetEntitlementsRequest> = /*@__PURE__*/
469
+ messageDesc(file_authorization_authorization, 8);
470
+
471
+ /**
472
+ * @generated from message authorization.EntityEntitlements
473
+ */
474
+ export type EntityEntitlements = Message<"authorization.EntityEntitlements"> & {
475
+ /**
476
+ * @generated from field: string entity_id = 1;
477
+ */
478
+ entityId: string;
479
+
480
+ /**
481
+ * @generated from field: repeated string attribute_value_fqns = 2;
482
+ */
483
+ attributeValueFqns: string[];
484
+ };
485
+
486
+ /**
487
+ * Describes the message authorization.EntityEntitlements.
488
+ * Use `create(EntityEntitlementsSchema)` to create a new message.
489
+ */
490
+ export const EntityEntitlementsSchema: GenMessage<EntityEntitlements> = /*@__PURE__*/
491
+ messageDesc(file_authorization_authorization, 9);
492
+
493
+ /**
494
+ * A logical bucket of attributes belonging to a "Resource"
495
+ *
496
+ * @generated from message authorization.ResourceAttribute
497
+ */
498
+ export type ResourceAttribute = Message<"authorization.ResourceAttribute"> & {
499
+ /**
500
+ * @generated from field: string resource_attributes_id = 1;
501
+ */
502
+ resourceAttributesId: string;
503
+
504
+ /**
505
+ * @generated from field: repeated string attribute_value_fqns = 2;
506
+ */
507
+ attributeValueFqns: string[];
508
+ };
509
+
510
+ /**
511
+ * Describes the message authorization.ResourceAttribute.
512
+ * Use `create(ResourceAttributeSchema)` to create a new message.
513
+ */
514
+ export const ResourceAttributeSchema: GenMessage<ResourceAttribute> = /*@__PURE__*/
515
+ messageDesc(file_authorization_authorization, 10);
516
+
517
+ /**
518
+ *
519
+ *
520
+ * Example Response for a request of : Get entitlements for bob and alice (both represented using an email address
521
+ *
522
+ * {
523
+ * "entitlements": [
524
+ * {
525
+ * "entityId": "e1",
526
+ * "attributeValueReferences": [
527
+ * {
528
+ * "attributeFqn": "http://www.example.org/attr/foo/value/bar"
529
+ * }
530
+ * ]
531
+ * },
532
+ * {
533
+ * "entityId": "e2",
534
+ * "attributeValueReferences": [
535
+ * {
536
+ * "attributeFqn": "http://www.example.org/attr/color/value/red"
537
+ * }
538
+ * ]
539
+ * }
540
+ * ]
541
+ * }
542
+ *
543
+ *
544
+ *
545
+ * @generated from message authorization.GetEntitlementsResponse
546
+ */
547
+ export type GetEntitlementsResponse = Message<"authorization.GetEntitlementsResponse"> & {
548
+ /**
549
+ * @generated from field: repeated authorization.EntityEntitlements entitlements = 1;
550
+ */
551
+ entitlements: EntityEntitlements[];
552
+ };
553
+
554
+ /**
555
+ * Describes the message authorization.GetEntitlementsResponse.
556
+ * Use `create(GetEntitlementsResponseSchema)` to create a new message.
557
+ */
558
+ export const GetEntitlementsResponseSchema: GenMessage<GetEntitlementsResponse> = /*@__PURE__*/
559
+ messageDesc(file_authorization_authorization, 11);
560
+
561
+ /**
562
+ *
563
+ * Example Request Get Decisions by Token to answer the question - Do Bob and client1 (represented by token tok1)
564
+ * and Alice and client2 (represented by token tok2) have TRANSMIT authorization for
565
+ * 2 resources; resource1 (attr-set-1) defined by attributes foo:bar resource2 (attr-set-2) defined by attribute foo:bar, color:red ?
566
+ *
567
+ * {
568
+ * "actions": [
569
+ * {
570
+ * "standard": "STANDARD_ACTION_TRANSMIT"
571
+ * }
572
+ * ],
573
+ * "tokens": [
574
+ * {
575
+ * "id": "tok1",
576
+ * "jwt": ....
577
+ * },
578
+ * {
579
+ * "id": "tok2",
580
+ * "jwt": .....
581
+ * }
582
+ * ],
583
+ * "resourceAttributes": [
584
+ * {
585
+ * "attributeFqns": [
586
+ * "https://www.example.org/attr/foo/value/value1"
587
+ * ]
588
+ * },
589
+ * {
590
+ * "attributeFqns": [
591
+ * "https://example.net/attr/attr1/value/value1",
592
+ * "https://example.net/attr/attr1/value/value2"
593
+ * ]
594
+ * }
595
+ * ]
596
+ * }
597
+ *
598
+ *
599
+ * @generated from message authorization.TokenDecisionRequest
600
+ */
601
+ export type TokenDecisionRequest = Message<"authorization.TokenDecisionRequest"> & {
602
+ /**
603
+ * @generated from field: repeated policy.Action actions = 1;
604
+ */
605
+ actions: Action[];
606
+
607
+ /**
608
+ * @generated from field: repeated authorization.Token tokens = 2;
609
+ */
610
+ tokens: Token[];
611
+
612
+ /**
613
+ * @generated from field: repeated authorization.ResourceAttribute resource_attributes = 3;
614
+ */
615
+ resourceAttributes: ResourceAttribute[];
616
+ };
617
+
618
+ /**
619
+ * Describes the message authorization.TokenDecisionRequest.
620
+ * Use `create(TokenDecisionRequestSchema)` to create a new message.
621
+ */
622
+ export const TokenDecisionRequestSchema: GenMessage<TokenDecisionRequest> = /*@__PURE__*/
623
+ messageDesc(file_authorization_authorization, 12);
624
+
625
+ /**
626
+ * @generated from message authorization.GetDecisionsByTokenRequest
627
+ */
628
+ export type GetDecisionsByTokenRequest = Message<"authorization.GetDecisionsByTokenRequest"> & {
629
+ /**
630
+ * @generated from field: repeated authorization.TokenDecisionRequest decision_requests = 1;
631
+ */
632
+ decisionRequests: TokenDecisionRequest[];
633
+ };
634
+
635
+ /**
636
+ * Describes the message authorization.GetDecisionsByTokenRequest.
637
+ * Use `create(GetDecisionsByTokenRequestSchema)` to create a new message.
638
+ */
639
+ export const GetDecisionsByTokenRequestSchema: GenMessage<GetDecisionsByTokenRequest> = /*@__PURE__*/
640
+ messageDesc(file_authorization_authorization, 13);
641
+
642
+ /**
643
+ * @generated from message authorization.GetDecisionsByTokenResponse
644
+ */
645
+ export type GetDecisionsByTokenResponse = Message<"authorization.GetDecisionsByTokenResponse"> & {
646
+ /**
647
+ * @generated from field: repeated authorization.DecisionResponse decision_responses = 1;
648
+ */
649
+ decisionResponses: DecisionResponse[];
650
+ };
651
+
652
+ /**
653
+ * Describes the message authorization.GetDecisionsByTokenResponse.
654
+ * Use `create(GetDecisionsByTokenResponseSchema)` to create a new message.
655
+ */
656
+ export const GetDecisionsByTokenResponseSchema: GenMessage<GetDecisionsByTokenResponse> = /*@__PURE__*/
657
+ messageDesc(file_authorization_authorization, 14);
658
+
659
+ /**
660
+ * @generated from service authorization.AuthorizationService
661
+ */
662
+ export const AuthorizationService: GenService<{
663
+ /**
664
+ * @generated from rpc authorization.AuthorizationService.GetDecisions
665
+ */
666
+ getDecisions: {
667
+ methodKind: "unary";
668
+ input: typeof GetDecisionsRequestSchema;
669
+ output: typeof GetDecisionsResponseSchema;
670
+ },
671
+ /**
672
+ * @generated from rpc authorization.AuthorizationService.GetDecisionsByToken
673
+ */
674
+ getDecisionsByToken: {
675
+ methodKind: "unary";
676
+ input: typeof GetDecisionsByTokenRequestSchema;
677
+ output: typeof GetDecisionsByTokenResponseSchema;
678
+ },
679
+ /**
680
+ * @generated from rpc authorization.AuthorizationService.GetEntitlements
681
+ */
682
+ getEntitlements: {
683
+ methodKind: "unary";
684
+ input: typeof GetEntitlementsRequestSchema;
685
+ output: typeof GetEntitlementsResponseSchema;
686
+ },
687
+ }> = /*@__PURE__*/
688
+ serviceDesc(file_authorization_authorization, 0);
689
+