@structured-id/proto 0.0.0-stage → 0.1.0

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 (289) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +56 -0
  3. package/README.md +91 -2
  4. package/dist/generated/google/api/http.d.ts +455 -0
  5. package/dist/generated/google/api/http.js +247 -0
  6. package/dist/generated/google/api/http.js.map +1 -0
  7. package/dist/generated/google/api/httpbody.d.ts +86 -0
  8. package/dist/generated/google/api/httpbody.js +69 -0
  9. package/dist/generated/google/api/httpbody.js.map +1 -0
  10. package/dist/generated/google/protobuf/any.d.ts +124 -0
  11. package/dist/generated/google/protobuf/any.js +152 -0
  12. package/dist/generated/google/protobuf/any.js.map +1 -0
  13. package/dist/generated/google/protobuf/descriptor.d.ts +2506 -0
  14. package/dist/generated/google/protobuf/descriptor.js +3279 -0
  15. package/dist/generated/google/protobuf/descriptor.js.map +1 -0
  16. package/dist/generated/google/protobuf/duration.d.ts +112 -0
  17. package/dist/generated/google/protobuf/duration.js +105 -0
  18. package/dist/generated/google/protobuf/duration.js.map +1 -0
  19. package/dist/generated/google/protobuf/empty.d.ts +31 -0
  20. package/dist/generated/google/protobuf/empty.js +42 -0
  21. package/dist/generated/google/protobuf/empty.js.map +1 -0
  22. package/dist/generated/google/protobuf/struct.d.ts +197 -0
  23. package/dist/generated/google/protobuf/struct.js +343 -0
  24. package/dist/generated/google/protobuf/struct.js.map +1 -0
  25. package/dist/generated/google/protobuf/timestamp.d.ts +156 -0
  26. package/dist/generated/google/protobuf/timestamp.js +133 -0
  27. package/dist/generated/google/protobuf/timestamp.js.map +1 -0
  28. package/dist/generated/google/rpc/error_details.d.ts +653 -0
  29. package/dist/generated/google/rpc/error_details.js +861 -0
  30. package/dist/generated/google/rpc/error_details.js.map +1 -0
  31. package/dist/generated/google/rpc/status.d.ts +54 -0
  32. package/dist/generated/google/rpc/status.js +69 -0
  33. package/dist/generated/google/rpc/status.js.map +1 -0
  34. package/dist/generated/sid/v1/account/account.client.d.ts +404 -0
  35. package/dist/generated/sid/v1/account/account.client.js +282 -0
  36. package/dist/generated/sid/v1/account/account.client.js.map +1 -0
  37. package/dist/generated/sid/v1/account/account.d.ts +1202 -0
  38. package/dist/generated/sid/v1/account/account.js +2561 -0
  39. package/dist/generated/sid/v1/account/account.js.map +1 -0
  40. package/dist/generated/sid/v1/admin/admin.client.d.ts +111 -0
  41. package/dist/generated/sid/v1/admin/admin.client.js +76 -0
  42. package/dist/generated/sid/v1/admin/admin.client.js.map +1 -0
  43. package/dist/generated/sid/v1/admin/admin.d.ts +276 -0
  44. package/dist/generated/sid/v1/admin/admin.js +619 -0
  45. package/dist/generated/sid/v1/admin/admin.js.map +1 -0
  46. package/dist/generated/sid/v1/admin/admin_roles.client.d.ts +137 -0
  47. package/dist/generated/sid/v1/admin/admin_roles.client.js +100 -0
  48. package/dist/generated/sid/v1/admin/admin_roles.client.js.map +1 -0
  49. package/dist/generated/sid/v1/admin/admin_roles.d.ts +639 -0
  50. package/dist/generated/sid/v1/admin/admin_roles.js +1256 -0
  51. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -0
  52. package/dist/generated/sid/v1/admin/analytics.client.d.ts +88 -0
  53. package/dist/generated/sid/v1/admin/analytics.client.js +60 -0
  54. package/dist/generated/sid/v1/admin/analytics.client.js.map +1 -0
  55. package/dist/generated/sid/v1/admin/analytics.d.ts +387 -0
  56. package/dist/generated/sid/v1/admin/analytics.js +803 -0
  57. package/dist/generated/sid/v1/admin/analytics.js.map +1 -0
  58. package/dist/generated/sid/v1/admin/branding.client.d.ts +139 -0
  59. package/dist/generated/sid/v1/admin/branding.client.js +92 -0
  60. package/dist/generated/sid/v1/admin/branding.client.js.map +1 -0
  61. package/dist/generated/sid/v1/admin/branding.d.ts +699 -0
  62. package/dist/generated/sid/v1/admin/branding.js +1471 -0
  63. package/dist/generated/sid/v1/admin/branding.js.map +1 -0
  64. package/dist/generated/sid/v1/admin/enrollment.client.d.ts +142 -0
  65. package/dist/generated/sid/v1/admin/enrollment.client.js +95 -0
  66. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -0
  67. package/dist/generated/sid/v1/admin/enrollment.d.ts +735 -0
  68. package/dist/generated/sid/v1/admin/enrollment.js +1314 -0
  69. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -0
  70. package/dist/generated/sid/v1/admin/events.client.d.ts +139 -0
  71. package/dist/generated/sid/v1/admin/events.client.js +112 -0
  72. package/dist/generated/sid/v1/admin/events.client.js.map +1 -0
  73. package/dist/generated/sid/v1/admin/events.d.ts +725 -0
  74. package/dist/generated/sid/v1/admin/events.js +1463 -0
  75. package/dist/generated/sid/v1/admin/events.js.map +1 -0
  76. package/dist/generated/sid/v1/admin/flow.client.d.ts +157 -0
  77. package/dist/generated/sid/v1/admin/flow.client.js +109 -0
  78. package/dist/generated/sid/v1/admin/flow.client.js.map +1 -0
  79. package/dist/generated/sid/v1/admin/flow.d.ts +629 -0
  80. package/dist/generated/sid/v1/admin/flow.js +1184 -0
  81. package/dist/generated/sid/v1/admin/flow.js.map +1 -0
  82. package/dist/generated/sid/v1/admin/keys.client.d.ts +82 -0
  83. package/dist/generated/sid/v1/admin/keys.client.js +60 -0
  84. package/dist/generated/sid/v1/admin/keys.client.js.map +1 -0
  85. package/dist/generated/sid/v1/admin/keys.d.ts +371 -0
  86. package/dist/generated/sid/v1/admin/keys.js +735 -0
  87. package/dist/generated/sid/v1/admin/keys.js.map +1 -0
  88. package/dist/generated/sid/v1/admin/login_experience.client.d.ts +120 -0
  89. package/dist/generated/sid/v1/admin/login_experience.client.js +85 -0
  90. package/dist/generated/sid/v1/admin/login_experience.client.js.map +1 -0
  91. package/dist/generated/sid/v1/admin/login_experience.d.ts +353 -0
  92. package/dist/generated/sid/v1/admin/login_experience.js +839 -0
  93. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -0
  94. package/dist/generated/sid/v1/admin/migration.client.d.ts +95 -0
  95. package/dist/generated/sid/v1/admin/migration.client.js +68 -0
  96. package/dist/generated/sid/v1/admin/migration.client.js.map +1 -0
  97. package/dist/generated/sid/v1/admin/migration.d.ts +800 -0
  98. package/dist/generated/sid/v1/admin/migration.js +1541 -0
  99. package/dist/generated/sid/v1/admin/migration.js.map +1 -0
  100. package/dist/generated/sid/v1/admin/notifications.client.d.ts +113 -0
  101. package/dist/generated/sid/v1/admin/notifications.client.js +74 -0
  102. package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -0
  103. package/dist/generated/sid/v1/admin/notifications.d.ts +471 -0
  104. package/dist/generated/sid/v1/admin/notifications.js +950 -0
  105. package/dist/generated/sid/v1/admin/notifications.js.map +1 -0
  106. package/dist/generated/sid/v1/admin/operations.client.d.ts +186 -0
  107. package/dist/generated/sid/v1/admin/operations.client.js +146 -0
  108. package/dist/generated/sid/v1/admin/operations.client.js.map +1 -0
  109. package/dist/generated/sid/v1/admin/operations.d.ts +1017 -0
  110. package/dist/generated/sid/v1/admin/operations.js +2051 -0
  111. package/dist/generated/sid/v1/admin/operations.js.map +1 -0
  112. package/dist/generated/sid/v1/admin/organizations.client.d.ts +48 -0
  113. package/dist/generated/sid/v1/admin/organizations.client.js +33 -0
  114. package/dist/generated/sid/v1/admin/organizations.client.js.map +1 -0
  115. package/dist/generated/sid/v1/admin/organizations.d.ts +120 -0
  116. package/dist/generated/sid/v1/admin/organizations.js +259 -0
  117. package/dist/generated/sid/v1/admin/organizations.js.map +1 -0
  118. package/dist/generated/sid/v1/admin/provisioning.client.d.ts +195 -0
  119. package/dist/generated/sid/v1/admin/provisioning.client.js +125 -0
  120. package/dist/generated/sid/v1/admin/provisioning.client.js.map +1 -0
  121. package/dist/generated/sid/v1/admin/provisioning.d.ts +602 -0
  122. package/dist/generated/sid/v1/admin/provisioning.js +1097 -0
  123. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -0
  124. package/dist/generated/sid/v1/admin/scopes.client.d.ts +127 -0
  125. package/dist/generated/sid/v1/admin/scopes.client.js +96 -0
  126. package/dist/generated/sid/v1/admin/scopes.client.js.map +1 -0
  127. package/dist/generated/sid/v1/admin/scopes.d.ts +493 -0
  128. package/dist/generated/sid/v1/admin/scopes.js +1031 -0
  129. package/dist/generated/sid/v1/admin/scopes.js.map +1 -0
  130. package/dist/generated/sid/v1/admin/security.client.d.ts +292 -0
  131. package/dist/generated/sid/v1/admin/security.client.js +218 -0
  132. package/dist/generated/sid/v1/admin/security.client.js.map +1 -0
  133. package/dist/generated/sid/v1/admin/security.d.ts +1549 -0
  134. package/dist/generated/sid/v1/admin/security.js +3184 -0
  135. package/dist/generated/sid/v1/admin/security.js.map +1 -0
  136. package/dist/generated/sid/v1/admin/sessions.client.d.ts +96 -0
  137. package/dist/generated/sid/v1/admin/sessions.client.js +63 -0
  138. package/dist/generated/sid/v1/admin/sessions.client.js.map +1 -0
  139. package/dist/generated/sid/v1/admin/sessions.d.ts +340 -0
  140. package/dist/generated/sid/v1/admin/sessions.js +718 -0
  141. package/dist/generated/sid/v1/admin/sessions.js.map +1 -0
  142. package/dist/generated/sid/v1/admin/settings.client.d.ts +246 -0
  143. package/dist/generated/sid/v1/admin/settings.client.js +199 -0
  144. package/dist/generated/sid/v1/admin/settings.client.js.map +1 -0
  145. package/dist/generated/sid/v1/admin/settings.d.ts +924 -0
  146. package/dist/generated/sid/v1/admin/settings.js +1879 -0
  147. package/dist/generated/sid/v1/admin/settings.js.map +1 -0
  148. package/dist/generated/sid/v1/admin/user_profile.client.d.ts +48 -0
  149. package/dist/generated/sid/v1/admin/user_profile.client.js +33 -0
  150. package/dist/generated/sid/v1/admin/user_profile.client.js.map +1 -0
  151. package/dist/generated/sid/v1/admin/user_profile.d.ts +303 -0
  152. package/dist/generated/sid/v1/admin/user_profile.js +565 -0
  153. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -0
  154. package/dist/generated/sid/v1/admin/webhooks.client.d.ts +207 -0
  155. package/dist/generated/sid/v1/admin/webhooks.client.js +155 -0
  156. package/dist/generated/sid/v1/admin/webhooks.client.js.map +1 -0
  157. package/dist/generated/sid/v1/admin/webhooks.d.ts +1008 -0
  158. package/dist/generated/sid/v1/admin/webhooks.js +2154 -0
  159. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -0
  160. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +93 -0
  161. package/dist/generated/sid/v1/attestation/attestation.client.js +63 -0
  162. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -0
  163. package/dist/generated/sid/v1/attestation/attestation.d.ts +369 -0
  164. package/dist/generated/sid/v1/attestation/attestation.js +654 -0
  165. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -0
  166. package/dist/generated/sid/v1/authn/auth.client.d.ts +706 -0
  167. package/dist/generated/sid/v1/authn/auth.client.js +490 -0
  168. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -0
  169. package/dist/generated/sid/v1/authn/auth.d.ts +3745 -0
  170. package/dist/generated/sid/v1/authn/auth.js +7046 -0
  171. package/dist/generated/sid/v1/authn/auth.js.map +1 -0
  172. package/dist/generated/sid/v1/authn/flows.client.d.ts +302 -0
  173. package/dist/generated/sid/v1/authn/flows.client.js +240 -0
  174. package/dist/generated/sid/v1/authn/flows.client.js.map +1 -0
  175. package/dist/generated/sid/v1/authn/flows.d.ts +1176 -0
  176. package/dist/generated/sid/v1/authn/flows.js +2527 -0
  177. package/dist/generated/sid/v1/authn/flows.js.map +1 -0
  178. package/dist/generated/sid/v1/authn/issuer.client.d.ts +401 -0
  179. package/dist/generated/sid/v1/authn/issuer.client.js +275 -0
  180. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -0
  181. package/dist/generated/sid/v1/authn/issuer.d.ts +686 -0
  182. package/dist/generated/sid/v1/authn/issuer.js +1059 -0
  183. package/dist/generated/sid/v1/authn/issuer.js.map +1 -0
  184. package/dist/generated/sid/v1/authn/password_history.client.d.ts +51 -0
  185. package/dist/generated/sid/v1/authn/password_history.client.js +32 -0
  186. package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -0
  187. package/dist/generated/sid/v1/authn/password_history.d.ts +251 -0
  188. package/dist/generated/sid/v1/authn/password_history.js +407 -0
  189. package/dist/generated/sid/v1/authn/password_history.js.map +1 -0
  190. package/dist/generated/sid/v1/authn/system_integration.client.d.ts +67 -0
  191. package/dist/generated/sid/v1/authn/system_integration.client.js +40 -0
  192. package/dist/generated/sid/v1/authn/system_integration.client.js.map +1 -0
  193. package/dist/generated/sid/v1/authn/system_integration.d.ts +97 -0
  194. package/dist/generated/sid/v1/authn/system_integration.js +150 -0
  195. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -0
  196. package/dist/generated/sid/v1/authz/authz.client.d.ts +361 -0
  197. package/dist/generated/sid/v1/authz/authz.client.js +245 -0
  198. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -0
  199. package/dist/generated/sid/v1/authz/authz.d.ts +2585 -0
  200. package/dist/generated/sid/v1/authz/authz.js +4868 -0
  201. package/dist/generated/sid/v1/authz/authz.js.map +1 -0
  202. package/dist/generated/sid/v1/authz/forward_auth.client.d.ts +91 -0
  203. package/dist/generated/sid/v1/authz/forward_auth.client.js +52 -0
  204. package/dist/generated/sid/v1/authz/forward_auth.client.js.map +1 -0
  205. package/dist/generated/sid/v1/authz/forward_auth.d.ts +34 -0
  206. package/dist/generated/sid/v1/authz/forward_auth.js +64 -0
  207. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -0
  208. package/dist/generated/sid/v1/authz/governance.client.d.ts +77 -0
  209. package/dist/generated/sid/v1/authz/governance.client.js +55 -0
  210. package/dist/generated/sid/v1/authz/governance.client.js.map +1 -0
  211. package/dist/generated/sid/v1/authz/governance.d.ts +345 -0
  212. package/dist/generated/sid/v1/authz/governance.js +658 -0
  213. package/dist/generated/sid/v1/authz/governance.js.map +1 -0
  214. package/dist/generated/sid/v1/common/errors.d.ts +634 -0
  215. package/dist/generated/sid/v1/common/errors.js +662 -0
  216. package/dist/generated/sid/v1/common/errors.js.map +1 -0
  217. package/dist/generated/sid/v1/common/pagination.d.ts +57 -0
  218. package/dist/generated/sid/v1/common/pagination.js +115 -0
  219. package/dist/generated/sid/v1/common/pagination.js.map +1 -0
  220. package/dist/generated/sid/v1/common/transport.d.ts +86 -0
  221. package/dist/generated/sid/v1/common/transport.js +163 -0
  222. package/dist/generated/sid/v1/common/transport.js.map +1 -0
  223. package/dist/generated/sid/v1/common/types.d.ts +58 -0
  224. package/dist/generated/sid/v1/common/types.js +114 -0
  225. package/dist/generated/sid/v1/common/types.js.map +1 -0
  226. package/dist/generated/sid/v1/events/event_stream.client.d.ts +50 -0
  227. package/dist/generated/sid/v1/events/event_stream.client.js +37 -0
  228. package/dist/generated/sid/v1/events/event_stream.client.js.map +1 -0
  229. package/dist/generated/sid/v1/events/event_stream.d.ts +146 -0
  230. package/dist/generated/sid/v1/events/event_stream.js +260 -0
  231. package/dist/generated/sid/v1/events/event_stream.js.map +1 -0
  232. package/dist/generated/sid/v1/federation/upstream.client.d.ts +115 -0
  233. package/dist/generated/sid/v1/federation/upstream.client.js +79 -0
  234. package/dist/generated/sid/v1/federation/upstream.client.js.map +1 -0
  235. package/dist/generated/sid/v1/federation/upstream.d.ts +642 -0
  236. package/dist/generated/sid/v1/federation/upstream.js +1336 -0
  237. package/dist/generated/sid/v1/federation/upstream.js.map +1 -0
  238. package/dist/generated/sid/v1/identity/identity.client.d.ts +371 -0
  239. package/dist/generated/sid/v1/identity/identity.client.js +254 -0
  240. package/dist/generated/sid/v1/identity/identity.client.js.map +1 -0
  241. package/dist/generated/sid/v1/identity/identity.d.ts +2367 -0
  242. package/dist/generated/sid/v1/identity/identity.js +4410 -0
  243. package/dist/generated/sid/v1/identity/identity.js.map +1 -0
  244. package/dist/generated/sid/v1/ids/ids.d.ts +14 -0
  245. package/dist/generated/sid/v1/ids/ids.js +8 -0
  246. package/dist/generated/sid/v1/ids/ids.js.map +1 -0
  247. package/dist/generated/sid/v1/machine/machine_user.client.d.ts +174 -0
  248. package/dist/generated/sid/v1/machine/machine_user.client.js +121 -0
  249. package/dist/generated/sid/v1/machine/machine_user.client.js.map +1 -0
  250. package/dist/generated/sid/v1/machine/machine_user.d.ts +882 -0
  251. package/dist/generated/sid/v1/machine/machine_user.js +1886 -0
  252. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -0
  253. package/dist/generated/sid/v1/machine/pat.client.d.ts +106 -0
  254. package/dist/generated/sid/v1/machine/pat.client.js +72 -0
  255. package/dist/generated/sid/v1/machine/pat.client.js.map +1 -0
  256. package/dist/generated/sid/v1/machine/pat.d.ts +388 -0
  257. package/dist/generated/sid/v1/machine/pat.js +863 -0
  258. package/dist/generated/sid/v1/machine/pat.js.map +1 -0
  259. package/dist/generated/sid/v1/projects/projects.client.d.ts +323 -0
  260. package/dist/generated/sid/v1/projects/projects.client.js +224 -0
  261. package/dist/generated/sid/v1/projects/projects.client.js.map +1 -0
  262. package/dist/generated/sid/v1/projects/projects.d.ts +1767 -0
  263. package/dist/generated/sid/v1/projects/projects.js +3242 -0
  264. package/dist/generated/sid/v1/projects/projects.js.map +1 -0
  265. package/dist/generated/sid/v1/scim/scim.client.d.ts +426 -0
  266. package/dist/generated/sid/v1/scim/scim.client.js +300 -0
  267. package/dist/generated/sid/v1/scim/scim.client.js.map +1 -0
  268. package/dist/generated/sid/v1/scim/scim.d.ts +1129 -0
  269. package/dist/generated/sid/v1/scim/scim.js +2396 -0
  270. package/dist/generated/sid/v1/scim/scim.js.map +1 -0
  271. package/dist/generated/sid/v1/test/test.client.d.ts +189 -0
  272. package/dist/generated/sid/v1/test/test.client.js +129 -0
  273. package/dist/generated/sid/v1/test/test.client.js.map +1 -0
  274. package/dist/generated/sid/v1/test/test.d.ts +413 -0
  275. package/dist/generated/sid/v1/test/test.js +878 -0
  276. package/dist/generated/sid/v1/test/test.js.map +1 -0
  277. package/dist/transport/adaptive.d.ts +69 -0
  278. package/dist/transport/adaptive.js +204 -0
  279. package/dist/transport/adaptive.js.map +1 -0
  280. package/dist/transport/framing.d.ts +33 -0
  281. package/dist/transport/framing.js +80 -0
  282. package/dist/transport/framing.js.map +1 -0
  283. package/dist/transport/index.d.ts +7 -0
  284. package/dist/transport/index.js +8 -0
  285. package/dist/transport/index.js.map +1 -0
  286. package/dist/transport/webtransport.d.ts +52 -0
  287. package/dist/transport/webtransport.js +206 -0
  288. package/dist/transport/webtransport.js.map +1 -0
  289. package/package.json +76 -3
@@ -0,0 +1,2585 @@
1
+ import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
3
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
4
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
6
+ import type { PartialMessage } from "@protobuf-ts/runtime";
7
+ import { MessageType } from "@protobuf-ts/runtime";
8
+ import { MachineUserId } from "../ids/ids.js";
9
+ import { ResourceId } from "../ids/ids.js";
10
+ import { Duration } from "../../../google/protobuf/duration.js";
11
+ import { ProvisioningConnectorId } from "../ids/ids.js";
12
+ import { Timestamp } from "../../../google/protobuf/timestamp.js";
13
+ /**
14
+ * Role represents a named collection of permissions.
15
+ * Scoped to a project.
16
+ *
17
+ * @generated from protobuf message sid.v1.authz.Role
18
+ */
19
+ export interface Role {
20
+ /**
21
+ * @generated from protobuf field: string id = 1
22
+ */
23
+ id: string;
24
+ /**
25
+ * @generated from protobuf field: string project_id = 2
26
+ */
27
+ projectId: string;
28
+ /**
29
+ * @generated from protobuf field: string name = 3
30
+ */
31
+ name: string;
32
+ /**
33
+ * @generated from protobuf field: optional string description = 4
34
+ */
35
+ description?: string;
36
+ /**
37
+ * Permissions (actions) granted by this role.
38
+ *
39
+ * @generated from protobuf field: repeated string permissions = 5
40
+ */
41
+ permissions: string[];
42
+ /**
43
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 6
44
+ */
45
+ createdAt?: Timestamp;
46
+ /**
47
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 7
48
+ */
49
+ updatedAt?: Timestamp;
50
+ }
51
+ /**
52
+ * Group represents a collection of profiles.
53
+ * Scoped to a project.
54
+ *
55
+ * @generated from protobuf message sid.v1.authz.Group
56
+ */
57
+ export interface Group {
58
+ /**
59
+ * @generated from protobuf field: string id = 1
60
+ */
61
+ id: string;
62
+ /**
63
+ * @generated from protobuf field: string project_id = 2
64
+ */
65
+ projectId: string;
66
+ /**
67
+ * @generated from protobuf field: string name = 3
68
+ */
69
+ name: string;
70
+ /**
71
+ * @generated from protobuf field: optional string description = 4
72
+ */
73
+ description?: string;
74
+ /**
75
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 5
76
+ */
77
+ createdAt?: Timestamp;
78
+ /**
79
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 6
80
+ */
81
+ updatedAt?: Timestamp;
82
+ }
83
+ /**
84
+ * RoleAssignment assigns a role to a profile, group, machine user, an
85
+ * independent OAuth client acting as a service, or a SCIM provisioning
86
+ * connector.
87
+ *
88
+ * @generated from protobuf message sid.v1.authz.RoleAssignment
89
+ */
90
+ export interface RoleAssignment {
91
+ /**
92
+ * @generated from protobuf field: string id = 1
93
+ */
94
+ id: string;
95
+ /**
96
+ * @generated from protobuf oneof: principal
97
+ */
98
+ principal: {
99
+ oneofKind: "profileId";
100
+ /**
101
+ * @generated from protobuf field: string profile_id = 2
102
+ */
103
+ profileId: string;
104
+ } | {
105
+ oneofKind: "groupId";
106
+ /**
107
+ * @generated from protobuf field: string group_id = 3
108
+ */
109
+ groupId: string;
110
+ } | {
111
+ oneofKind: "machineUserId";
112
+ /**
113
+ * @generated from protobuf field: string machine_user_id = 8
114
+ */
115
+ machineUserId: string;
116
+ } | {
117
+ oneofKind: "oauthClientId";
118
+ /**
119
+ * `client_id` of an independent confidential OAuth client. A machine
120
+ * user's OAuth credentials resolve to the machine user, never to this
121
+ * principal.
122
+ *
123
+ * @generated from protobuf field: string oauth_client_id = 9
124
+ */
125
+ oauthClientId: string;
126
+ } | {
127
+ oneofKind: "provisioningConnectorId";
128
+ /**
129
+ * A SCIM provisioning connector. Its roles take effect only for SCIM
130
+ * actions on the protected directory resource named in `scope`.
131
+ *
132
+ * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 10
133
+ */
134
+ provisioningConnectorId: ProvisioningConnectorId;
135
+ } | {
136
+ oneofKind: undefined;
137
+ };
138
+ /**
139
+ * @generated from protobuf field: string role_id = 4
140
+ */
141
+ roleId: string;
142
+ /**
143
+ * Optional scope (resource constraint): e.g. "project:<uuid>", or
144
+ * "oauth_resource:<resource_id>" for one registered protected resource
145
+ * (its issuer is the resource's). The token inspector role is assigned
146
+ * only with a protected-resource scope.
147
+ *
148
+ * @generated from protobuf field: optional string scope = 5
149
+ */
150
+ scope?: string;
151
+ /**
152
+ * Optional expiry (temporary role).
153
+ *
154
+ * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 6
155
+ */
156
+ expiresAt?: Timestamp;
157
+ /**
158
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 7
159
+ */
160
+ createdAt?: Timestamp;
161
+ /**
162
+ * Present on an administrative assignment: what its holder may administer
163
+ * within `scope`. Holding the role alone administers nothing.
164
+ *
165
+ * @generated from protobuf field: optional sid.v1.authz.AdminEnvelope admin = 11
166
+ */
167
+ admin?: AdminEnvelope;
168
+ /**
169
+ * Who granted the assignment and on what authority, recorded by the
170
+ * server; absent on assignments that predate provenance.
171
+ *
172
+ * @generated from protobuf field: optional sid.v1.authz.AssignmentProvenance provenance = 12
173
+ */
174
+ provenance?: AssignmentProvenance;
175
+ }
176
+ /**
177
+ * What an administrative assignment may administer. Every field is an
178
+ * explicit bound: an empty list permits nothing, never everything.
179
+ *
180
+ * @generated from protobuf message sid.v1.authz.AdminEnvelope
181
+ */
182
+ export interface AdminEnvelope {
183
+ /**
184
+ * The permitted operations; UNSPECIFIED is refused.
185
+ *
186
+ * @generated from protobuf field: repeated sid.v1.authz.AdminOperation operations = 1
187
+ */
188
+ operations: AdminOperation[];
189
+ /**
190
+ * The roles that may be administered, by role id. A role is matched by
191
+ * identity and by its current content against `permission_ceiling`.
192
+ *
193
+ * @generated from protobuf field: repeated string role_ids = 2
194
+ */
195
+ roleIds: string[];
196
+ /**
197
+ * The permissions an administered role may hold at most: a role whose
198
+ * current permissions exceed it cannot be assigned, whatever its name.
199
+ *
200
+ * @generated from protobuf field: repeated string permission_ceiling = 3
201
+ */
202
+ permissionCeiling: string[];
203
+ /**
204
+ * The kinds of principal roles may be assigned to; UNSPECIFIED is refused.
205
+ *
206
+ * @generated from protobuf field: repeated sid.v1.authz.RecipientKind recipient_kinds = 4
207
+ */
208
+ recipientKinds: RecipientKind[];
209
+ /**
210
+ * When set, only this group and its members are eligible recipients. The
211
+ * group cannot be deleted while an envelope names it.
212
+ *
213
+ * @generated from protobuf field: optional string recipient_group_id = 5
214
+ */
215
+ recipientGroupId?: string;
216
+ /**
217
+ * The longest validity an administered assignment may be given; every
218
+ * administered assignment expires. Must be positive, whole seconds.
219
+ *
220
+ * @generated from protobuf field: google.protobuf.Duration max_validity = 6
221
+ */
222
+ maxValidity?: Duration;
223
+ }
224
+ /**
225
+ * Who granted a role assignment and on what authority. Set by the server
226
+ * from the authenticated caller; never accepted from a request.
227
+ *
228
+ * @generated from protobuf message sid.v1.authz.AssignmentProvenance
229
+ */
230
+ export interface AssignmentProvenance {
231
+ /**
232
+ * The granting actor as the authorization engine names it:
233
+ * "user:<profile_id>", "machine:<machine_user_id>" or
234
+ * "oauth_client:<client_id>".
235
+ *
236
+ * @generated from protobuf field: string granted_by = 1
237
+ */
238
+ grantedBy: string;
239
+ /**
240
+ * The administrative assignment that authorized the grant; absent when the
241
+ * installation's administrator granted it as root of its scope.
242
+ *
243
+ * @generated from protobuf field: optional string basis_assignment_id = 2
244
+ */
245
+ basisAssignmentId?: string;
246
+ /**
247
+ * The administrative assignment this one depends on: set on a redelegated
248
+ * administrative assignment, which ends when that source ends. An ordinary
249
+ * assignment outlives the assignment that authorized it.
250
+ *
251
+ * @generated from protobuf field: optional string depends_on_assignment_id = 3
252
+ */
253
+ dependsOnAssignmentId?: string;
254
+ /**
255
+ * The permissions the role could hold at most when an envelope approved
256
+ * this working assignment. The role is never edited past them while the
257
+ * assignment exists; widening it needs the assignment reauthorized first.
258
+ * Empty when the root granted it, or on an administrative assignment.
259
+ *
260
+ * @generated from protobuf field: repeated string approved_ceiling = 4
261
+ */
262
+ approvedCeiling: string[];
263
+ }
264
+ /**
265
+ * Policy represents a Cedar policy (ABAC).
266
+ * Scoped to a project.
267
+ *
268
+ * @generated from protobuf message sid.v1.authz.Policy
269
+ */
270
+ export interface Policy {
271
+ /**
272
+ * @generated from protobuf field: string id = 1
273
+ */
274
+ id: string;
275
+ /**
276
+ * @generated from protobuf field: string project_id = 2
277
+ */
278
+ projectId: string;
279
+ /**
280
+ * @generated from protobuf field: string name = 3
281
+ */
282
+ name: string;
283
+ /**
284
+ * @generated from protobuf field: optional string description = 4
285
+ */
286
+ description?: string;
287
+ /**
288
+ * Cedar policy content.
289
+ *
290
+ * @generated from protobuf field: string policy_text = 5
291
+ */
292
+ policyText: string;
293
+ /**
294
+ * Policy effect.
295
+ *
296
+ * @generated from protobuf field: sid.v1.authz.PolicyEffect effect = 6
297
+ */
298
+ effect: PolicyEffect;
299
+ /**
300
+ * Policy status.
301
+ *
302
+ * @generated from protobuf field: bool enabled = 7
303
+ */
304
+ enabled: boolean;
305
+ /**
306
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 8
307
+ */
308
+ createdAt?: Timestamp;
309
+ /**
310
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 9
311
+ */
312
+ updatedAt?: Timestamp;
313
+ }
314
+ /**
315
+ * One permission question: may a subject perform `action` on `target`.
316
+ *
317
+ * The caller authenticates as itself in the request metadata. Asking about
318
+ * any subject other than the caller's own needs the caller's current
319
+ * `authz.check` assignment on the target resource. Which subject is
320
+ * evaluated, and with what evidence, is stated explicitly by `evaluation`;
321
+ * a request whose evidence fails is refused, never re-evaluated in another
322
+ * mode.
323
+ *
324
+ * @generated from protobuf message sid.v1.authz.CheckPermissionRequest
325
+ */
326
+ export interface CheckPermissionRequest {
327
+ /**
328
+ * The application operation to decide, in the target application's own
329
+ * vocabulary (for example "orders.read"). The receiver maps its real
330
+ * operation to it; SID does not derive it from an HTTP method or path.
331
+ *
332
+ * @generated from protobuf field: string action = 2
333
+ */
334
+ action: string;
335
+ /**
336
+ * How fresh the decision must be; unspecified is CONSISTENCY_EVENTUAL.
337
+ *
338
+ * @generated from protobuf field: sid.v1.authz.Consistency consistency = 4
339
+ */
340
+ consistency: Consistency;
341
+ /**
342
+ * Where the action would take effect.
343
+ *
344
+ * @generated from protobuf field: sid.v1.authz.PermissionTarget target = 6
345
+ */
346
+ target?: PermissionTarget;
347
+ /**
348
+ * Whose permission is decided, and on what evidence.
349
+ *
350
+ * @generated from protobuf oneof: evaluation
351
+ */
352
+ evaluation: {
353
+ oneofKind: "request";
354
+ /**
355
+ * The subject of one original request to the target, established from
356
+ * that request's own access token (request-bound evaluation).
357
+ *
358
+ * @generated from protobuf field: sid.v1.authz.RequestEvaluation request = 7
359
+ */
360
+ request: RequestEvaluation;
361
+ } | {
362
+ oneofKind: "namedSubject";
363
+ /**
364
+ * A named subject, evaluated by policy alone (abstract evaluation). It
365
+ * claims no presence, session, assurance or sender proof, and cannot
366
+ * satisfy a policy that requires them.
367
+ *
368
+ * @generated from protobuf field: sid.v1.authz.SubjectReference named_subject = 8
369
+ */
370
+ namedSubject: SubjectReference;
371
+ } | {
372
+ oneofKind: "self";
373
+ /**
374
+ * The caller itself, as its own credential authenticates it. Needs no
375
+ * checker assignment.
376
+ *
377
+ * @generated from protobuf field: sid.v1.authz.SelfEvaluation self = 9
378
+ */
379
+ self: SelfEvaluation;
380
+ } | {
381
+ oneofKind: undefined;
382
+ };
383
+ }
384
+ /**
385
+ * The place an action would take effect. Its issuer and recipient
386
+ * organization come from the resource's registration, never from the
387
+ * caller.
388
+ *
389
+ * @generated from protobuf message sid.v1.authz.PermissionTarget
390
+ */
391
+ export interface PermissionTarget {
392
+ /**
393
+ * @generated from protobuf oneof: scope
394
+ */
395
+ scope: {
396
+ oneofKind: "resource";
397
+ /**
398
+ * A registered protected resource of this installation.
399
+ *
400
+ * @generated from protobuf field: sid.v1.ids.ResourceId resource = 1
401
+ */
402
+ resource: ResourceId;
403
+ } | {
404
+ oneofKind: "projectId";
405
+ /**
406
+ * A project of this installation, for project-wide permissions (UUID
407
+ * text). Only the caller's own subject may be asked about a project.
408
+ *
409
+ * @generated from protobuf field: string project_id = 2
410
+ */
411
+ projectId: string;
412
+ } | {
413
+ oneofKind: undefined;
414
+ };
415
+ /**
416
+ * The object of the action inside the resource's application, in that
417
+ * application's own namespace (for example "order:8812"). Empty for the
418
+ * resource as a whole. Opaque to SID apart from the policies that name it.
419
+ *
420
+ * @generated from protobuf field: string object = 3
421
+ */
422
+ object: string;
423
+ }
424
+ /**
425
+ * The subject of an original request, established by SID from the request's
426
+ * own access token. The token is evidence about its subject, never the
427
+ * caller's credential, and is not accepted at the authorization API itself.
428
+ *
429
+ * @generated from protobuf message sid.v1.authz.RequestEvaluation
430
+ */
431
+ export interface RequestEvaluation {
432
+ /**
433
+ * The access token exactly as the original request presented it (JWS
434
+ * compact serialization or an opaque access token), unchanged. Its audience
435
+ * is the target resource. Refresh, ID, IdP session and exchange-only PAT
436
+ * parent tokens are refused. Never logged or echoed.
437
+ *
438
+ * @generated from protobuf field: string access_token = 1
439
+ */
440
+ accessToken: string;
441
+ /**
442
+ * Checks of the original request made at the resource boundary by the
443
+ * caller, when the caller is trusted to make them. Absent when the request
444
+ * carried no sender proof or nobody trusted to verify it did.
445
+ *
446
+ * @generated from protobuf field: sid.v1.authz.RequestConfirmation confirmation = 2
447
+ */
448
+ confirmation?: RequestConfirmation;
449
+ }
450
+ /**
451
+ * What the verifier at the resource boundary confirmed about one original
452
+ * request. It is bound to that request, its token and this query's target;
453
+ * it is the verifier's testimony, not a new proof, and the original sender
454
+ * proof is never sent or consumed again here.
455
+ *
456
+ * @generated from protobuf message sid.v1.authz.RequestConfirmation
457
+ */
458
+ export interface RequestConfirmation {
459
+ /**
460
+ * Which kind of sender proof was verified.
461
+ *
462
+ * @generated from protobuf field: sid.v1.authz.SenderProofProfile profile = 1
463
+ */
464
+ profile: SenderProofProfile;
465
+ /**
466
+ * The original request's HTTP method, as received at the resource.
467
+ *
468
+ * @generated from protobuf field: string method = 2
469
+ */
470
+ method: string;
471
+ /**
472
+ * The original request's external URI without query and fragment, as
473
+ * reconstructed from authenticated ingress context (the DPoP `htu`,
474
+ * RFC 9449 §4.2).
475
+ *
476
+ * @generated from protobuf field: string uri = 3
477
+ */
478
+ uri: string;
479
+ /**
480
+ * The verifier's identifier of the original request: a retry of the same
481
+ * pending request carries the same value, a new request a new one.
482
+ * 16 random bytes.
483
+ *
484
+ * @generated from protobuf field: bytes request_id = 4
485
+ */
486
+ requestId: Uint8Array;
487
+ /**
488
+ * The JWK SHA-256 thumbprint (RFC 7638) of the key the proof was verified
489
+ * with; it must equal the token's `cnf.jkt` (RFC 9449 §6.1).
490
+ *
491
+ * @generated from protobuf field: string jkt = 5
492
+ */
493
+ jkt: string;
494
+ /**
495
+ * When the verifier checked the proof.
496
+ *
497
+ * @generated from protobuf field: google.protobuf.Timestamp verified_at = 6
498
+ */
499
+ verifiedAt?: Timestamp;
500
+ /**
501
+ * Until when the confirmation may be used for this request; never beyond
502
+ * the token's expiry.
503
+ *
504
+ * @generated from protobuf field: google.protobuf.Timestamp valid_until = 7
505
+ */
506
+ validUntil?: Timestamp;
507
+ }
508
+ /**
509
+ * A subject named for abstract evaluation.
510
+ *
511
+ * @generated from protobuf message sid.v1.authz.SubjectReference
512
+ */
513
+ export interface SubjectReference {
514
+ /**
515
+ * @generated from protobuf oneof: kind
516
+ */
517
+ kind: {
518
+ oneofKind: "machineUserId";
519
+ /**
520
+ * A machine user of this installation.
521
+ *
522
+ * @generated from protobuf field: sid.v1.ids.MachineUserId machine_user_id = 1
523
+ */
524
+ machineUserId: MachineUserId;
525
+ } | {
526
+ oneofKind: "oauthClientId";
527
+ /**
528
+ * An independent confidential OAuth client of this installation, by its
529
+ * `client_id`.
530
+ *
531
+ * @generated from protobuf field: string oauth_client_id = 2
532
+ */
533
+ oauthClientId: string;
534
+ } | {
535
+ oneofKind: "issuerSubject";
536
+ /**
537
+ * A user as the target's issuer identifies them to the target's
538
+ * recipient: that issuer's opaque `sub` for it, resolved under the
539
+ * issuer's subject rule, never cast to an identifier by its shape.
540
+ *
541
+ * @generated from protobuf field: sid.v1.authz.IssuerSubject issuer_subject = 3
542
+ */
543
+ issuerSubject: IssuerSubject;
544
+ } | {
545
+ oneofKind: undefined;
546
+ };
547
+ }
548
+ /**
549
+ * A subject as one issuer names it.
550
+ *
551
+ * @generated from protobuf message sid.v1.authz.IssuerSubject
552
+ */
553
+ export interface IssuerSubject {
554
+ /**
555
+ * The issuer's identifier (its `iss`).
556
+ *
557
+ * @generated from protobuf field: string issuer = 1
558
+ */
559
+ issuer: string;
560
+ /**
561
+ * The issuer's subject identifier for the target's recipient (its `sub`).
562
+ *
563
+ * @generated from protobuf field: string subject = 2
564
+ */
565
+ subject: string;
566
+ }
567
+ /**
568
+ * The caller asks about itself.
569
+ *
570
+ * @generated from protobuf message sid.v1.authz.SelfEvaluation
571
+ */
572
+ export interface SelfEvaluation {
573
+ }
574
+ /**
575
+ * @generated from protobuf message sid.v1.authz.CheckPermissionResponse
576
+ */
577
+ export interface CheckPermissionResponse {
578
+ /**
579
+ * Explanation of the decision, for a caller asking about itself; absent
580
+ * for a checker, which gets the decision without policy internals.
581
+ *
582
+ * @generated from protobuf field: optional string reason = 2
583
+ */
584
+ reason?: string;
585
+ /**
586
+ * Snapshot token for subsequent consistent checks.
587
+ *
588
+ * @generated from protobuf field: optional string zookie = 3
589
+ */
590
+ zookie?: string;
591
+ /**
592
+ * The decision.
593
+ *
594
+ * @generated from protobuf field: sid.v1.authz.PermissionOutcome outcome = 4
595
+ */
596
+ outcome: PermissionOutcome;
597
+ }
598
+ /**
599
+ * Several permission questions, answered together or refused together.
600
+ *
601
+ * @generated from protobuf message sid.v1.authz.BatchCheckPermissionRequest
602
+ */
603
+ export interface BatchCheckPermissionRequest {
604
+ /**
605
+ * At most 100 questions. Every one is admitted (caller, target, evidence)
606
+ * before any subject is evaluated; one refused question refuses the whole
607
+ * batch with no partial results. Questions about one original request
608
+ * carry the same `RequestEvaluation`.
609
+ *
610
+ * @generated from protobuf field: repeated sid.v1.authz.CheckPermissionRequest checks = 1
611
+ */
612
+ checks: CheckPermissionRequest[];
613
+ }
614
+ /**
615
+ * @generated from protobuf message sid.v1.authz.BatchCheckPermissionResponse
616
+ */
617
+ export interface BatchCheckPermissionResponse {
618
+ /**
619
+ * One answer per question, in the order asked.
620
+ *
621
+ * @generated from protobuf field: repeated sid.v1.authz.CheckPermissionResponse results = 1
622
+ */
623
+ results: CheckPermissionResponse[];
624
+ }
625
+ /**
626
+ * @generated from protobuf message sid.v1.authz.ListObjectsRequest
627
+ */
628
+ export interface ListObjectsRequest {
629
+ /**
630
+ * @generated from protobuf field: string subject = 1
631
+ */
632
+ subject: string;
633
+ /**
634
+ * @generated from protobuf field: string action = 2
635
+ */
636
+ action: string;
637
+ /**
638
+ * @generated from protobuf field: string resource_type = 3
639
+ */
640
+ resourceType: string;
641
+ /**
642
+ * @generated from protobuf field: sid.v1.authz.Consistency consistency = 4
643
+ */
644
+ consistency: Consistency;
645
+ }
646
+ /**
647
+ * @generated from protobuf message sid.v1.authz.ListObjectsResponse
648
+ */
649
+ export interface ListObjectsResponse {
650
+ /**
651
+ * @generated from protobuf field: repeated string objects = 1
652
+ */
653
+ objects: string[];
654
+ }
655
+ /**
656
+ * @generated from protobuf message sid.v1.authz.ListSubjectsRequest
657
+ */
658
+ export interface ListSubjectsRequest {
659
+ /**
660
+ * @generated from protobuf field: string resource = 1
661
+ */
662
+ resource: string;
663
+ /**
664
+ * @generated from protobuf field: string action = 2
665
+ */
666
+ action: string;
667
+ /**
668
+ * @generated from protobuf field: sid.v1.authz.Consistency consistency = 3
669
+ */
670
+ consistency: Consistency;
671
+ }
672
+ /**
673
+ * @generated from protobuf message sid.v1.authz.ListSubjectsResponse
674
+ */
675
+ export interface ListSubjectsResponse {
676
+ /**
677
+ * @generated from protobuf field: repeated string subjects = 1
678
+ */
679
+ subjects: string[];
680
+ }
681
+ /**
682
+ * @generated from protobuf message sid.v1.authz.CreateRoleRequest
683
+ */
684
+ export interface CreateRoleRequest {
685
+ /**
686
+ * @generated from protobuf field: string project_id = 1
687
+ */
688
+ projectId: string;
689
+ /**
690
+ * @generated from protobuf field: string name = 2
691
+ */
692
+ name: string;
693
+ /**
694
+ * @generated from protobuf field: optional string description = 3
695
+ */
696
+ description?: string;
697
+ /**
698
+ * @generated from protobuf field: repeated string permissions = 4
699
+ */
700
+ permissions: string[];
701
+ }
702
+ /**
703
+ * @generated from protobuf message sid.v1.authz.CreateRoleResponse
704
+ */
705
+ export interface CreateRoleResponse {
706
+ /**
707
+ * @generated from protobuf field: sid.v1.authz.Role role = 1
708
+ */
709
+ role?: Role;
710
+ }
711
+ /**
712
+ * @generated from protobuf message sid.v1.authz.GetRoleRequest
713
+ */
714
+ export interface GetRoleRequest {
715
+ /**
716
+ * @generated from protobuf oneof: identifier
717
+ */
718
+ identifier: {
719
+ oneofKind: "id";
720
+ /**
721
+ * @generated from protobuf field: string id = 1
722
+ */
723
+ id: string;
724
+ } | {
725
+ oneofKind: "name";
726
+ /**
727
+ * @generated from protobuf field: string name = 2
728
+ */
729
+ name: string;
730
+ } | {
731
+ oneofKind: undefined;
732
+ };
733
+ /**
734
+ * Required when looking up by name.
735
+ *
736
+ * @generated from protobuf field: optional string project_id = 3
737
+ */
738
+ projectId?: string;
739
+ }
740
+ /**
741
+ * @generated from protobuf message sid.v1.authz.GetRoleResponse
742
+ */
743
+ export interface GetRoleResponse {
744
+ /**
745
+ * @generated from protobuf field: sid.v1.authz.Role role = 1
746
+ */
747
+ role?: Role;
748
+ }
749
+ /**
750
+ * Changes a role on the caller's authority: the installation's administrator
751
+ * edits any role; anyone else needs an administrative assignment permitting
752
+ * edits of it whose ceiling admits the new permissions. A role never gains a
753
+ * permission beyond the approved ceiling of one of its assignments
754
+ * (FAILED_PRECONDITION, APPROVED_CEILING): that assignment is reauthorized
755
+ * first.
756
+ *
757
+ * @generated from protobuf message sid.v1.authz.UpdateRoleRequest
758
+ */
759
+ export interface UpdateRoleRequest {
760
+ /**
761
+ * The role to change.
762
+ *
763
+ * @generated from protobuf field: string id = 1
764
+ */
765
+ id: string;
766
+ /**
767
+ * New description; unset keeps the current one.
768
+ *
769
+ * @generated from protobuf field: optional string description = 2
770
+ */
771
+ description?: string;
772
+ /**
773
+ * The role's complete new permission list; empty keeps the current one.
774
+ *
775
+ * @generated from protobuf field: repeated string permissions = 3
776
+ */
777
+ permissions: string[];
778
+ }
779
+ /**
780
+ * @generated from protobuf message sid.v1.authz.UpdateRoleResponse
781
+ */
782
+ export interface UpdateRoleResponse {
783
+ /**
784
+ * @generated from protobuf field: sid.v1.authz.Role role = 1
785
+ */
786
+ role?: Role;
787
+ }
788
+ /**
789
+ * @generated from protobuf message sid.v1.authz.DeleteRoleRequest
790
+ */
791
+ export interface DeleteRoleRequest {
792
+ /**
793
+ * @generated from protobuf field: string id = 1
794
+ */
795
+ id: string;
796
+ }
797
+ /**
798
+ * @generated from protobuf message sid.v1.authz.DeleteRoleResponse
799
+ */
800
+ export interface DeleteRoleResponse {
801
+ }
802
+ /**
803
+ * @generated from protobuf message sid.v1.authz.ListRolesRequest
804
+ */
805
+ export interface ListRolesRequest {
806
+ /**
807
+ * @generated from protobuf field: string project_id = 1
808
+ */
809
+ projectId: string;
810
+ /**
811
+ * @generated from protobuf field: int32 page_size = 2
812
+ */
813
+ pageSize: number;
814
+ /**
815
+ * @generated from protobuf field: string page_token = 3
816
+ */
817
+ pageToken: string;
818
+ }
819
+ /**
820
+ * @generated from protobuf message sid.v1.authz.ListRolesResponse
821
+ */
822
+ export interface ListRolesResponse {
823
+ /**
824
+ * @generated from protobuf field: repeated sid.v1.authz.Role roles = 1
825
+ */
826
+ roles: Role[];
827
+ /**
828
+ * @generated from protobuf field: string next_page_token = 2
829
+ */
830
+ nextPageToken: string;
831
+ }
832
+ /**
833
+ * @generated from protobuf message sid.v1.authz.AssignRoleRequest
834
+ */
835
+ export interface AssignRoleRequest {
836
+ /**
837
+ * @generated from protobuf oneof: principal
838
+ */
839
+ principal: {
840
+ oneofKind: "profileId";
841
+ /**
842
+ * @generated from protobuf field: string profile_id = 1
843
+ */
844
+ profileId: string;
845
+ } | {
846
+ oneofKind: "groupId";
847
+ /**
848
+ * @generated from protobuf field: string group_id = 2
849
+ */
850
+ groupId: string;
851
+ } | {
852
+ oneofKind: "machineUserId";
853
+ /**
854
+ * @generated from protobuf field: string machine_user_id = 6
855
+ */
856
+ machineUserId: string;
857
+ } | {
858
+ oneofKind: "oauthClientId";
859
+ /**
860
+ * `client_id` of an existing confidential OAuth client; a public or
861
+ * unknown client is refused (INVALID_ARGUMENT / NOT_FOUND).
862
+ *
863
+ * @generated from protobuf field: string oauth_client_id = 7
864
+ */
865
+ oauthClientId: string;
866
+ } | {
867
+ oneofKind: "provisioningConnectorId";
868
+ /**
869
+ * An existing, not retired SCIM provisioning connector. The assignment
870
+ * must be scoped to one protected resource ("oauth_resource:<resource_id>"),
871
+ * else INVALID_ARGUMENT; an unknown connector is NOT_FOUND, a retired one
872
+ * FAILED_PRECONDITION.
873
+ *
874
+ * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 8
875
+ */
876
+ provisioningConnectorId: ProvisioningConnectorId;
877
+ } | {
878
+ oneofKind: undefined;
879
+ };
880
+ /**
881
+ * @generated from protobuf field: string role_id = 3
882
+ */
883
+ roleId: string;
884
+ /**
885
+ * Scope of the assignment, as in RoleAssignment.scope. For the token
886
+ * inspector role it must name an existing, not retired protected resource
887
+ * ("oauth_resource:<resource_id>"), else INVALID_ARGUMENT / NOT_FOUND /
888
+ * FAILED_PRECONDITION (RESOURCE_RETIRED).
889
+ *
890
+ * @generated from protobuf field: optional string scope = 4
891
+ */
892
+ scope?: string;
893
+ /**
894
+ * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 5
895
+ */
896
+ expiresAt?: Timestamp;
897
+ /**
898
+ * Makes the assignment administrative, bounded by this envelope within
899
+ * `scope`. Granting it requires the root of the scope, or a redelegation
900
+ * right of the same administrative role whose envelope this one narrows;
901
+ * a redelegated one needs `expires_at` within that right's validity.
902
+ * A malformed envelope is INVALID_ARGUMENT naming the field.
903
+ *
904
+ * @generated from protobuf field: optional sid.v1.authz.AdminEnvelope admin = 9
905
+ */
906
+ admin?: AdminEnvelope;
907
+ }
908
+ /**
909
+ * @generated from protobuf message sid.v1.authz.AssignRoleResponse
910
+ */
911
+ export interface AssignRoleResponse {
912
+ /**
913
+ * @generated from protobuf field: sid.v1.authz.RoleAssignment assignment = 1
914
+ */
915
+ assignment?: RoleAssignment;
916
+ }
917
+ /**
918
+ * @generated from protobuf message sid.v1.authz.RevokeRoleRequest
919
+ */
920
+ export interface RevokeRoleRequest {
921
+ /**
922
+ * @generated from protobuf field: string assignment_id = 1
923
+ */
924
+ assignmentId: string;
925
+ }
926
+ /**
927
+ * @generated from protobuf message sid.v1.authz.RevokeRoleResponse
928
+ */
929
+ export interface RevokeRoleResponse {
930
+ }
931
+ /**
932
+ * @generated from protobuf message sid.v1.authz.ListRoleAssignmentsRequest
933
+ */
934
+ export interface ListRoleAssignmentsRequest {
935
+ /**
936
+ * @generated from protobuf oneof: filter
937
+ */
938
+ filter: {
939
+ oneofKind: "profileId";
940
+ /**
941
+ * @generated from protobuf field: string profile_id = 1
942
+ */
943
+ profileId: string;
944
+ } | {
945
+ oneofKind: "groupId";
946
+ /**
947
+ * @generated from protobuf field: string group_id = 2
948
+ */
949
+ groupId: string;
950
+ } | {
951
+ oneofKind: "roleId";
952
+ /**
953
+ * @generated from protobuf field: string role_id = 3
954
+ */
955
+ roleId: string;
956
+ } | {
957
+ oneofKind: "machineUserId";
958
+ /**
959
+ * @generated from protobuf field: string machine_user_id = 4
960
+ */
961
+ machineUserId: string;
962
+ } | {
963
+ oneofKind: "oauthClientId";
964
+ /**
965
+ * Assignments held by this OAuth client (`client_id`).
966
+ *
967
+ * @generated from protobuf field: string oauth_client_id = 5
968
+ */
969
+ oauthClientId: string;
970
+ } | {
971
+ oneofKind: "provisioningConnectorId";
972
+ /**
973
+ * Assignments held by this SCIM provisioning connector.
974
+ *
975
+ * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 6
976
+ */
977
+ provisioningConnectorId: ProvisioningConnectorId;
978
+ } | {
979
+ oneofKind: undefined;
980
+ };
981
+ }
982
+ /**
983
+ * @generated from protobuf message sid.v1.authz.ListRoleAssignmentsResponse
984
+ */
985
+ export interface ListRoleAssignmentsResponse {
986
+ /**
987
+ * @generated from protobuf field: repeated sid.v1.authz.RoleAssignment assignments = 1
988
+ */
989
+ assignments: RoleAssignment[];
990
+ }
991
+ /**
992
+ * @generated from protobuf message sid.v1.authz.CreateGroupRequest
993
+ */
994
+ export interface CreateGroupRequest {
995
+ /**
996
+ * @generated from protobuf field: string project_id = 1
997
+ */
998
+ projectId: string;
999
+ /**
1000
+ * @generated from protobuf field: string name = 2
1001
+ */
1002
+ name: string;
1003
+ /**
1004
+ * @generated from protobuf field: optional string description = 3
1005
+ */
1006
+ description?: string;
1007
+ }
1008
+ /**
1009
+ * @generated from protobuf message sid.v1.authz.CreateGroupResponse
1010
+ */
1011
+ export interface CreateGroupResponse {
1012
+ /**
1013
+ * @generated from protobuf field: sid.v1.authz.Group group = 1
1014
+ */
1015
+ group?: Group;
1016
+ }
1017
+ /**
1018
+ * @generated from protobuf message sid.v1.authz.GetGroupRequest
1019
+ */
1020
+ export interface GetGroupRequest {
1021
+ /**
1022
+ * @generated from protobuf oneof: identifier
1023
+ */
1024
+ identifier: {
1025
+ oneofKind: "id";
1026
+ /**
1027
+ * @generated from protobuf field: string id = 1
1028
+ */
1029
+ id: string;
1030
+ } | {
1031
+ oneofKind: "name";
1032
+ /**
1033
+ * @generated from protobuf field: string name = 2
1034
+ */
1035
+ name: string;
1036
+ } | {
1037
+ oneofKind: undefined;
1038
+ };
1039
+ /**
1040
+ * @generated from protobuf field: optional string project_id = 3
1041
+ */
1042
+ projectId?: string;
1043
+ }
1044
+ /**
1045
+ * @generated from protobuf message sid.v1.authz.GetGroupResponse
1046
+ */
1047
+ export interface GetGroupResponse {
1048
+ /**
1049
+ * @generated from protobuf field: sid.v1.authz.Group group = 1
1050
+ */
1051
+ group?: Group;
1052
+ }
1053
+ /**
1054
+ * @generated from protobuf message sid.v1.authz.UpdateGroupRequest
1055
+ */
1056
+ export interface UpdateGroupRequest {
1057
+ /**
1058
+ * @generated from protobuf field: string id = 1
1059
+ */
1060
+ id: string;
1061
+ /**
1062
+ * @generated from protobuf field: optional string description = 2
1063
+ */
1064
+ description?: string;
1065
+ }
1066
+ /**
1067
+ * @generated from protobuf message sid.v1.authz.UpdateGroupResponse
1068
+ */
1069
+ export interface UpdateGroupResponse {
1070
+ /**
1071
+ * @generated from protobuf field: sid.v1.authz.Group group = 1
1072
+ */
1073
+ group?: Group;
1074
+ }
1075
+ /**
1076
+ * @generated from protobuf message sid.v1.authz.DeleteGroupRequest
1077
+ */
1078
+ export interface DeleteGroupRequest {
1079
+ /**
1080
+ * @generated from protobuf field: string id = 1
1081
+ */
1082
+ id: string;
1083
+ }
1084
+ /**
1085
+ * @generated from protobuf message sid.v1.authz.DeleteGroupResponse
1086
+ */
1087
+ export interface DeleteGroupResponse {
1088
+ }
1089
+ /**
1090
+ * @generated from protobuf message sid.v1.authz.ListGroupsRequest
1091
+ */
1092
+ export interface ListGroupsRequest {
1093
+ /**
1094
+ * @generated from protobuf field: string project_id = 1
1095
+ */
1096
+ projectId: string;
1097
+ /**
1098
+ * @generated from protobuf field: int32 page_size = 2
1099
+ */
1100
+ pageSize: number;
1101
+ /**
1102
+ * @generated from protobuf field: string page_token = 3
1103
+ */
1104
+ pageToken: string;
1105
+ }
1106
+ /**
1107
+ * @generated from protobuf message sid.v1.authz.ListGroupsResponse
1108
+ */
1109
+ export interface ListGroupsResponse {
1110
+ /**
1111
+ * @generated from protobuf field: repeated sid.v1.authz.Group groups = 1
1112
+ */
1113
+ groups: Group[];
1114
+ /**
1115
+ * @generated from protobuf field: string next_page_token = 2
1116
+ */
1117
+ nextPageToken: string;
1118
+ }
1119
+ /**
1120
+ * @generated from protobuf message sid.v1.authz.AddToGroupRequest
1121
+ */
1122
+ export interface AddToGroupRequest {
1123
+ /**
1124
+ * @generated from protobuf field: string group_id = 1
1125
+ */
1126
+ groupId: string;
1127
+ /**
1128
+ * @generated from protobuf field: string profile_id = 2
1129
+ */
1130
+ profileId: string;
1131
+ }
1132
+ /**
1133
+ * @generated from protobuf message sid.v1.authz.AddToGroupResponse
1134
+ */
1135
+ export interface AddToGroupResponse {
1136
+ }
1137
+ /**
1138
+ * @generated from protobuf message sid.v1.authz.RemoveFromGroupRequest
1139
+ */
1140
+ export interface RemoveFromGroupRequest {
1141
+ /**
1142
+ * @generated from protobuf field: string group_id = 1
1143
+ */
1144
+ groupId: string;
1145
+ /**
1146
+ * @generated from protobuf field: string profile_id = 2
1147
+ */
1148
+ profileId: string;
1149
+ }
1150
+ /**
1151
+ * @generated from protobuf message sid.v1.authz.RemoveFromGroupResponse
1152
+ */
1153
+ export interface RemoveFromGroupResponse {
1154
+ }
1155
+ /**
1156
+ * @generated from protobuf message sid.v1.authz.ListGroupMembersRequest
1157
+ */
1158
+ export interface ListGroupMembersRequest {
1159
+ /**
1160
+ * @generated from protobuf field: string group_id = 1
1161
+ */
1162
+ groupId: string;
1163
+ }
1164
+ /**
1165
+ * @generated from protobuf message sid.v1.authz.ListGroupMembersResponse
1166
+ */
1167
+ export interface ListGroupMembersResponse {
1168
+ /**
1169
+ * @generated from protobuf field: repeated string profile_ids = 1
1170
+ */
1171
+ profileIds: string[];
1172
+ }
1173
+ /**
1174
+ * @generated from protobuf message sid.v1.authz.CreatePolicyRequest
1175
+ */
1176
+ export interface CreatePolicyRequest {
1177
+ /**
1178
+ * @generated from protobuf field: string project_id = 1
1179
+ */
1180
+ projectId: string;
1181
+ /**
1182
+ * @generated from protobuf field: string name = 2
1183
+ */
1184
+ name: string;
1185
+ /**
1186
+ * @generated from protobuf field: optional string description = 3
1187
+ */
1188
+ description?: string;
1189
+ /**
1190
+ * @generated from protobuf field: string policy_text = 4
1191
+ */
1192
+ policyText: string;
1193
+ /**
1194
+ * @generated from protobuf field: sid.v1.authz.PolicyEffect effect = 5
1195
+ */
1196
+ effect: PolicyEffect;
1197
+ /**
1198
+ * @generated from protobuf field: bool enabled = 6
1199
+ */
1200
+ enabled: boolean;
1201
+ }
1202
+ /**
1203
+ * @generated from protobuf message sid.v1.authz.CreatePolicyResponse
1204
+ */
1205
+ export interface CreatePolicyResponse {
1206
+ /**
1207
+ * @generated from protobuf field: sid.v1.authz.Policy policy = 1
1208
+ */
1209
+ policy?: Policy;
1210
+ }
1211
+ /**
1212
+ * @generated from protobuf message sid.v1.authz.GetPolicyRequest
1213
+ */
1214
+ export interface GetPolicyRequest {
1215
+ /**
1216
+ * @generated from protobuf field: string id = 1
1217
+ */
1218
+ id: string;
1219
+ }
1220
+ /**
1221
+ * @generated from protobuf message sid.v1.authz.GetPolicyResponse
1222
+ */
1223
+ export interface GetPolicyResponse {
1224
+ /**
1225
+ * @generated from protobuf field: sid.v1.authz.Policy policy = 1
1226
+ */
1227
+ policy?: Policy;
1228
+ }
1229
+ /**
1230
+ * @generated from protobuf message sid.v1.authz.UpdatePolicyRequest
1231
+ */
1232
+ export interface UpdatePolicyRequest {
1233
+ /**
1234
+ * @generated from protobuf field: string id = 1
1235
+ */
1236
+ id: string;
1237
+ /**
1238
+ * @generated from protobuf field: optional string description = 2
1239
+ */
1240
+ description?: string;
1241
+ /**
1242
+ * @generated from protobuf field: optional string policy_text = 3
1243
+ */
1244
+ policyText?: string;
1245
+ /**
1246
+ * @generated from protobuf field: optional sid.v1.authz.PolicyEffect effect = 4
1247
+ */
1248
+ effect?: PolicyEffect;
1249
+ /**
1250
+ * @generated from protobuf field: optional bool enabled = 5
1251
+ */
1252
+ enabled?: boolean;
1253
+ }
1254
+ /**
1255
+ * @generated from protobuf message sid.v1.authz.UpdatePolicyResponse
1256
+ */
1257
+ export interface UpdatePolicyResponse {
1258
+ /**
1259
+ * @generated from protobuf field: sid.v1.authz.Policy policy = 1
1260
+ */
1261
+ policy?: Policy;
1262
+ }
1263
+ /**
1264
+ * @generated from protobuf message sid.v1.authz.DeletePolicyRequest
1265
+ */
1266
+ export interface DeletePolicyRequest {
1267
+ /**
1268
+ * @generated from protobuf field: string id = 1
1269
+ */
1270
+ id: string;
1271
+ }
1272
+ /**
1273
+ * @generated from protobuf message sid.v1.authz.DeletePolicyResponse
1274
+ */
1275
+ export interface DeletePolicyResponse {
1276
+ }
1277
+ /**
1278
+ * @generated from protobuf message sid.v1.authz.ListPoliciesRequest
1279
+ */
1280
+ export interface ListPoliciesRequest {
1281
+ /**
1282
+ * @generated from protobuf field: string project_id = 1
1283
+ */
1284
+ projectId: string;
1285
+ /**
1286
+ * @generated from protobuf field: int32 page_size = 2
1287
+ */
1288
+ pageSize: number;
1289
+ /**
1290
+ * @generated from protobuf field: string page_token = 3
1291
+ */
1292
+ pageToken: string;
1293
+ }
1294
+ /**
1295
+ * @generated from protobuf message sid.v1.authz.ListPoliciesResponse
1296
+ */
1297
+ export interface ListPoliciesResponse {
1298
+ /**
1299
+ * @generated from protobuf field: repeated sid.v1.authz.Policy policies = 1
1300
+ */
1301
+ policies: Policy[];
1302
+ /**
1303
+ * @generated from protobuf field: string next_page_token = 2
1304
+ */
1305
+ nextPageToken: string;
1306
+ }
1307
+ /**
1308
+ * @generated from protobuf message sid.v1.authz.EvaluatePolicyRequest
1309
+ */
1310
+ export interface EvaluatePolicyRequest {
1311
+ /**
1312
+ * @generated from protobuf field: string subject = 1
1313
+ */
1314
+ subject: string;
1315
+ /**
1316
+ * @generated from protobuf field: string action = 2
1317
+ */
1318
+ action: string;
1319
+ /**
1320
+ * @generated from protobuf field: string resource = 3
1321
+ */
1322
+ resource: string;
1323
+ /**
1324
+ * @generated from protobuf field: map<string, string> context = 4
1325
+ */
1326
+ context: {
1327
+ [key: string]: string;
1328
+ };
1329
+ /**
1330
+ * Evaluate only policies in this project.
1331
+ *
1332
+ * @generated from protobuf field: optional string project_id = 5
1333
+ */
1334
+ projectId?: string;
1335
+ }
1336
+ /**
1337
+ * @generated from protobuf message sid.v1.authz.EvaluatePolicyResponse
1338
+ */
1339
+ export interface EvaluatePolicyResponse {
1340
+ /**
1341
+ * @generated from protobuf field: bool allowed = 1
1342
+ */
1343
+ allowed: boolean;
1344
+ /**
1345
+ * Which policies matched and their effects.
1346
+ *
1347
+ * @generated from protobuf field: repeated sid.v1.authz.PolicyMatch matches = 2
1348
+ */
1349
+ matches: PolicyMatch[];
1350
+ }
1351
+ /**
1352
+ * @generated from protobuf message sid.v1.authz.PolicyMatch
1353
+ */
1354
+ export interface PolicyMatch {
1355
+ /**
1356
+ * @generated from protobuf field: string policy_id = 1
1357
+ */
1358
+ policyId: string;
1359
+ /**
1360
+ * @generated from protobuf field: string policy_name = 2
1361
+ */
1362
+ policyName: string;
1363
+ /**
1364
+ * @generated from protobuf field: sid.v1.authz.PolicyEffect effect = 3
1365
+ */
1366
+ effect: PolicyEffect;
1367
+ }
1368
+ /**
1369
+ * @generated from protobuf message sid.v1.authz.ValidatePolicyRequest
1370
+ */
1371
+ export interface ValidatePolicyRequest {
1372
+ /**
1373
+ * Cedar policy text to validate (compile check).
1374
+ *
1375
+ * @generated from protobuf field: string policy_text = 1
1376
+ */
1377
+ policyText: string;
1378
+ }
1379
+ /**
1380
+ * @generated from protobuf message sid.v1.authz.ValidatePolicyResponse
1381
+ */
1382
+ export interface ValidatePolicyResponse {
1383
+ /**
1384
+ * @generated from protobuf field: bool valid = 1
1385
+ */
1386
+ valid: boolean;
1387
+ /**
1388
+ * Compilation errors, if any.
1389
+ *
1390
+ * @generated from protobuf field: repeated string errors = 2
1391
+ */
1392
+ errors: string[];
1393
+ }
1394
+ /**
1395
+ * @generated from protobuf message sid.v1.authz.CheckSodConflictsRequest
1396
+ */
1397
+ export interface CheckSodConflictsRequest {
1398
+ /**
1399
+ * Existing roles assigned to the principal.
1400
+ *
1401
+ * @generated from protobuf field: repeated string existing_roles = 1
1402
+ */
1403
+ existingRoles: string[];
1404
+ /**
1405
+ * Role being proposed for assignment.
1406
+ *
1407
+ * @generated from protobuf field: string proposed_role = 2
1408
+ */
1409
+ proposedRole: string;
1410
+ }
1411
+ /**
1412
+ * @generated from protobuf message sid.v1.authz.CheckSodConflictsResponse
1413
+ */
1414
+ export interface CheckSodConflictsResponse {
1415
+ /**
1416
+ * Whether any conflicts were detected.
1417
+ *
1418
+ * @generated from protobuf field: bool has_conflicts = 1
1419
+ */
1420
+ hasConflicts: boolean;
1421
+ /**
1422
+ * Detected conflicts (may be empty).
1423
+ *
1424
+ * @generated from protobuf field: repeated sid.v1.authz.SodConflict conflicts = 2
1425
+ */
1426
+ conflicts: SodConflict[];
1427
+ }
1428
+ /**
1429
+ * @generated from protobuf message sid.v1.authz.SodConflict
1430
+ */
1431
+ export interface SodConflict {
1432
+ /**
1433
+ * Rule name (e.g., "payment_segregation").
1434
+ *
1435
+ * @generated from protobuf field: string rule_name = 1
1436
+ */
1437
+ ruleName: string;
1438
+ /**
1439
+ * Human-readable description.
1440
+ *
1441
+ * @generated from protobuf field: string description = 2
1442
+ */
1443
+ description: string;
1444
+ /**
1445
+ * Severity: "warning" (an administrator may override it) or "block" (the
1446
+ * assignment needs an approved exception).
1447
+ *
1448
+ * @generated from protobuf field: string severity = 3
1449
+ */
1450
+ severity: string;
1451
+ /**
1452
+ * Roles involved in the conflict.
1453
+ *
1454
+ * @generated from protobuf field: repeated string conflicting_roles = 4
1455
+ */
1456
+ conflictingRoles: string[];
1457
+ }
1458
+ /**
1459
+ * Proposed change to apply during simulation (not persisted).
1460
+ *
1461
+ * @generated from protobuf message sid.v1.authz.PolicyChange
1462
+ */
1463
+ export interface PolicyChange {
1464
+ /**
1465
+ * @generated from protobuf oneof: change
1466
+ */
1467
+ change: {
1468
+ oneofKind: "createPolicy";
1469
+ /**
1470
+ * Add a new Cedar policy.
1471
+ *
1472
+ * @generated from protobuf field: sid.v1.authz.CreatePolicyRequest create_policy = 1
1473
+ */
1474
+ createPolicy: CreatePolicyRequest;
1475
+ } | {
1476
+ oneofKind: "updatePolicy";
1477
+ /**
1478
+ * Modify an existing Cedar policy.
1479
+ *
1480
+ * @generated from protobuf field: sid.v1.authz.UpdatePolicyRequest update_policy = 2
1481
+ */
1482
+ updatePolicy: UpdatePolicyRequest;
1483
+ } | {
1484
+ oneofKind: "deletePolicyId";
1485
+ /**
1486
+ * Delete a Cedar policy by ID.
1487
+ *
1488
+ * @generated from protobuf field: string delete_policy_id = 3
1489
+ */
1490
+ deletePolicyId: string;
1491
+ } | {
1492
+ oneofKind: "assignRole";
1493
+ /**
1494
+ * Assign a role to a principal.
1495
+ *
1496
+ * @generated from protobuf field: sid.v1.authz.AssignRoleRequest assign_role = 4
1497
+ */
1498
+ assignRole: AssignRoleRequest;
1499
+ } | {
1500
+ oneofKind: "revokeAssignmentId";
1501
+ /**
1502
+ * Revoke a role assignment by ID.
1503
+ *
1504
+ * @generated from protobuf field: string revoke_assignment_id = 5
1505
+ */
1506
+ revokeAssignmentId: string;
1507
+ } | {
1508
+ oneofKind: undefined;
1509
+ };
1510
+ }
1511
+ /**
1512
+ * Request to simulate policy changes and compare current vs proposed state.
1513
+ *
1514
+ * @generated from protobuf message sid.v1.authz.SimulatePolicyRequest
1515
+ */
1516
+ export interface SimulatePolicyRequest {
1517
+ /**
1518
+ * Project scope for the simulation.
1519
+ *
1520
+ * @generated from protobuf field: string project_id = 1
1521
+ */
1522
+ projectId: string;
1523
+ /**
1524
+ * Proposed changes to simulate.
1525
+ *
1526
+ * @generated from protobuf field: repeated sid.v1.authz.PolicyChange proposed_changes = 2
1527
+ */
1528
+ proposedChanges: PolicyChange[];
1529
+ /**
1530
+ * Optional: limit simulation to specific subject/action/resource.
1531
+ * If omitted, all principals in the project are checked.
1532
+ *
1533
+ * @generated from protobuf field: optional string subject = 3
1534
+ */
1535
+ subject?: string;
1536
+ /**
1537
+ * @generated from protobuf field: optional string action = 4
1538
+ */
1539
+ action?: string;
1540
+ /**
1541
+ * @generated from protobuf field: optional string resource = 5
1542
+ */
1543
+ resource?: string;
1544
+ /**
1545
+ * For large populations, sample up to N random principals.
1546
+ * 0 or omitted = all principals in project.
1547
+ *
1548
+ * @generated from protobuf field: int32 sample_size = 6
1549
+ */
1550
+ sampleSize: number;
1551
+ }
1552
+ /**
1553
+ * Impact on a single (subject, action, resource) triple.
1554
+ *
1555
+ * @generated from protobuf message sid.v1.authz.SimulationImpact
1556
+ */
1557
+ export interface SimulationImpact {
1558
+ /**
1559
+ * @generated from protobuf field: string subject = 1
1560
+ */
1561
+ subject: string;
1562
+ /**
1563
+ * @generated from protobuf field: string action = 2
1564
+ */
1565
+ action: string;
1566
+ /**
1567
+ * @generated from protobuf field: string resource = 3
1568
+ */
1569
+ resource: string;
1570
+ /**
1571
+ * Decision under current policy.
1572
+ *
1573
+ * @generated from protobuf field: bool current_allowed = 4
1574
+ */
1575
+ currentAllowed: boolean;
1576
+ /**
1577
+ * Decision under proposed policy.
1578
+ *
1579
+ * @generated from protobuf field: bool proposed_allowed = 5
1580
+ */
1581
+ proposedAllowed: boolean;
1582
+ /**
1583
+ * What changed.
1584
+ *
1585
+ * @generated from protobuf field: sid.v1.authz.SimulationImpactType impact_type = 6
1586
+ */
1587
+ impactType: SimulationImpactType;
1588
+ /**
1589
+ * Why — which policy/role drove the decision.
1590
+ *
1591
+ * @generated from protobuf field: string current_reason = 7
1592
+ */
1593
+ currentReason: string;
1594
+ /**
1595
+ * @generated from protobuf field: string proposed_reason = 8
1596
+ */
1597
+ proposedReason: string;
1598
+ }
1599
+ /**
1600
+ * Response with simulation results.
1601
+ *
1602
+ * @generated from protobuf message sid.v1.authz.SimulatePolicyResponse
1603
+ */
1604
+ export interface SimulatePolicyResponse {
1605
+ /**
1606
+ * @generated from protobuf field: string project_id = 1
1607
+ */
1608
+ projectId: string;
1609
+ /**
1610
+ * Impacts where access changed (gained or lost).
1611
+ *
1612
+ * @generated from protobuf field: repeated sid.v1.authz.SimulationImpact impacts = 2
1613
+ */
1614
+ impacts: SimulationImpact[];
1615
+ /**
1616
+ * Summary counts.
1617
+ *
1618
+ * @generated from protobuf field: int32 total_checked = 3
1619
+ */
1620
+ totalChecked: number;
1621
+ /**
1622
+ * @generated from protobuf field: int32 total_gained = 4
1623
+ */
1624
+ totalGained: number;
1625
+ /**
1626
+ * @generated from protobuf field: int32 total_lost = 5
1627
+ */
1628
+ totalLost: number;
1629
+ /**
1630
+ * @generated from protobuf field: int32 total_unchanged = 6
1631
+ */
1632
+ totalUnchanged: number;
1633
+ /**
1634
+ * Warnings (e.g., "results sampled from 100 of 5000 principals").
1635
+ *
1636
+ * @generated from protobuf field: repeated string warnings = 7
1637
+ */
1638
+ warnings: string[];
1639
+ /**
1640
+ * Errors in proposed changes (e.g., invalid Cedar syntax).
1641
+ *
1642
+ * @generated from protobuf field: repeated string errors = 8
1643
+ */
1644
+ errors: string[];
1645
+ /**
1646
+ * @generated from protobuf field: google.protobuf.Timestamp simulated_at = 9
1647
+ */
1648
+ simulatedAt?: Timestamp;
1649
+ }
1650
+ /**
1651
+ * Consistency level for authorization checks.
1652
+ * Each site/consumer chooses its level — configured per OIDC client.
1653
+ *
1654
+ * @generated from protobuf enum sid.v1.authz.Consistency
1655
+ */
1656
+ export declare enum Consistency {
1657
+ /**
1658
+ * @generated from protobuf enum value: CONSISTENCY_UNSPECIFIED = 0;
1659
+ */
1660
+ UNSPECIFIED = 0,
1661
+ /**
1662
+ * Cached, sub-ms, may be stale by seconds. Default.
1663
+ *
1664
+ * @generated from protobuf enum value: CONSISTENCY_EVENTUAL = 1;
1665
+ */
1666
+ EVENTUAL = 1,
1667
+ /**
1668
+ * Source of truth, 1-5ms.
1669
+ *
1670
+ * @generated from protobuf enum value: CONSISTENCY_STRONG = 2;
1671
+ */
1672
+ STRONG = 2,
1673
+ /**
1674
+ * Strong at specific point (requires zookie).
1675
+ *
1676
+ * @generated from protobuf enum value: CONSISTENCY_AT_SNAPSHOT = 3;
1677
+ */
1678
+ AT_SNAPSHOT = 3
1679
+ }
1680
+ /**
1681
+ * Policy effect.
1682
+ *
1683
+ * @generated from protobuf enum sid.v1.authz.PolicyEffect
1684
+ */
1685
+ export declare enum PolicyEffect {
1686
+ /**
1687
+ * @generated from protobuf enum value: POLICY_EFFECT_UNSPECIFIED = 0;
1688
+ */
1689
+ UNSPECIFIED = 0,
1690
+ /**
1691
+ * @generated from protobuf enum value: POLICY_EFFECT_PERMIT = 1;
1692
+ */
1693
+ PERMIT = 1,
1694
+ /**
1695
+ * @generated from protobuf enum value: POLICY_EFFECT_FORBID = 2;
1696
+ */
1697
+ FORBID = 2
1698
+ }
1699
+ /**
1700
+ * A role administration operation an administrative assignment may permit.
1701
+ * None implies another.
1702
+ *
1703
+ * @generated from protobuf enum sid.v1.authz.AdminOperation
1704
+ */
1705
+ export declare enum AdminOperation {
1706
+ /**
1707
+ * @generated from protobuf enum value: ADMIN_OPERATION_UNSPECIFIED = 0;
1708
+ */
1709
+ UNSPECIFIED = 0,
1710
+ /**
1711
+ * Create assignments of the envelope's roles.
1712
+ *
1713
+ * @generated from protobuf enum value: ADMIN_OPERATION_ASSIGN = 1;
1714
+ */
1715
+ ASSIGN = 1,
1716
+ /**
1717
+ * Remove assignments of the envelope's roles.
1718
+ *
1719
+ * @generated from protobuf enum value: ADMIN_OPERATION_REVOKE = 2;
1720
+ */
1721
+ REVOKE = 2,
1722
+ /**
1723
+ * Change the definition of the envelope's roles, within its ceiling.
1724
+ *
1725
+ * @generated from protobuf enum value: ADMIN_OPERATION_EDIT_ROLE = 3;
1726
+ */
1727
+ EDIT_ROLE = 3,
1728
+ /**
1729
+ * Grant administrative assignments narrower than the holder's own.
1730
+ *
1731
+ * @generated from protobuf enum value: ADMIN_OPERATION_REDELEGATE = 4;
1732
+ */
1733
+ REDELEGATE = 4
1734
+ }
1735
+ /**
1736
+ * A kind of principal an administrative assignment lets its holder assign
1737
+ * roles to. A SCIM provisioning connector is never an administered recipient.
1738
+ *
1739
+ * @generated from protobuf enum sid.v1.authz.RecipientKind
1740
+ */
1741
+ export declare enum RecipientKind {
1742
+ /**
1743
+ * @generated from protobuf enum value: RECIPIENT_KIND_UNSPECIFIED = 0;
1744
+ */
1745
+ UNSPECIFIED = 0,
1746
+ /**
1747
+ * @generated from protobuf enum value: RECIPIENT_KIND_PROFILE = 1;
1748
+ */
1749
+ PROFILE = 1,
1750
+ /**
1751
+ * @generated from protobuf enum value: RECIPIENT_KIND_GROUP = 2;
1752
+ */
1753
+ GROUP = 2,
1754
+ /**
1755
+ * @generated from protobuf enum value: RECIPIENT_KIND_MACHINE_USER = 3;
1756
+ */
1757
+ MACHINE_USER = 3,
1758
+ /**
1759
+ * @generated from protobuf enum value: RECIPIENT_KIND_OAUTH_CLIENT = 4;
1760
+ */
1761
+ OAUTH_CLIENT = 4
1762
+ }
1763
+ /**
1764
+ * The kind of sender proof a confirmation reports.
1765
+ *
1766
+ * @generated from protobuf enum sid.v1.authz.SenderProofProfile
1767
+ */
1768
+ export declare enum SenderProofProfile {
1769
+ /**
1770
+ * @generated from protobuf enum value: SENDER_PROOF_PROFILE_UNSPECIFIED = 0;
1771
+ */
1772
+ UNSPECIFIED = 0,
1773
+ /**
1774
+ * A DPoP proof (RFC 9449).
1775
+ *
1776
+ * @generated from protobuf enum value: SENDER_PROOF_PROFILE_DPOP = 1;
1777
+ */
1778
+ DPOP = 1
1779
+ }
1780
+ /**
1781
+ * What a permission question decided.
1782
+ *
1783
+ * @generated from protobuf enum sid.v1.authz.PermissionOutcome
1784
+ */
1785
+ export declare enum PermissionOutcome {
1786
+ /**
1787
+ * @generated from protobuf enum value: PERMISSION_OUTCOME_UNSPECIFIED = 0;
1788
+ */
1789
+ UNSPECIFIED = 0,
1790
+ /**
1791
+ * The subject may perform the action on the target.
1792
+ *
1793
+ * @generated from protobuf enum value: PERMISSION_OUTCOME_ALLOWED = 1;
1794
+ */
1795
+ ALLOWED = 1,
1796
+ /**
1797
+ * The subject may not.
1798
+ *
1799
+ * @generated from protobuf enum value: PERMISSION_OUTCOME_DENIED = 2;
1800
+ */
1801
+ DENIED = 2,
1802
+ /**
1803
+ * A policy requires evidence the question did not carry (a session, an
1804
+ * authentication level, a sender proof); with that evidence the decision
1805
+ * may differ. Never an allow.
1806
+ *
1807
+ * @generated from protobuf enum value: PERMISSION_OUTCOME_EVIDENCE_REQUIRED = 3;
1808
+ */
1809
+ EVIDENCE_REQUIRED = 3
1810
+ }
1811
+ /**
1812
+ * Type of access change.
1813
+ *
1814
+ * @generated from protobuf enum sid.v1.authz.SimulationImpactType
1815
+ */
1816
+ export declare enum SimulationImpactType {
1817
+ /**
1818
+ * @generated from protobuf enum value: SIMULATION_IMPACT_TYPE_UNSPECIFIED = 0;
1819
+ */
1820
+ UNSPECIFIED = 0,
1821
+ /**
1822
+ * Current: deny → Proposed: allow.
1823
+ *
1824
+ * @generated from protobuf enum value: SIMULATION_IMPACT_TYPE_GAINED = 1;
1825
+ */
1826
+ GAINED = 1,
1827
+ /**
1828
+ * Current: allow → Proposed: deny.
1829
+ *
1830
+ * @generated from protobuf enum value: SIMULATION_IMPACT_TYPE_LOST = 2;
1831
+ */
1832
+ LOST = 2,
1833
+ /**
1834
+ * No change (both allow or both deny).
1835
+ *
1836
+ * @generated from protobuf enum value: SIMULATION_IMPACT_TYPE_UNCHANGED = 3;
1837
+ */
1838
+ UNCHANGED = 3
1839
+ }
1840
+ declare class Role$Type extends MessageType<Role> {
1841
+ constructor();
1842
+ create(value?: PartialMessage<Role>): Role;
1843
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Role): Role;
1844
+ internalBinaryWrite(message: Role, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1845
+ }
1846
+ /**
1847
+ * @generated MessageType for protobuf message sid.v1.authz.Role
1848
+ */
1849
+ export declare const Role: Role$Type;
1850
+ declare class Group$Type extends MessageType<Group> {
1851
+ constructor();
1852
+ create(value?: PartialMessage<Group>): Group;
1853
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Group): Group;
1854
+ internalBinaryWrite(message: Group, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1855
+ }
1856
+ /**
1857
+ * @generated MessageType for protobuf message sid.v1.authz.Group
1858
+ */
1859
+ export declare const Group: Group$Type;
1860
+ declare class RoleAssignment$Type extends MessageType<RoleAssignment> {
1861
+ constructor();
1862
+ create(value?: PartialMessage<RoleAssignment>): RoleAssignment;
1863
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RoleAssignment): RoleAssignment;
1864
+ internalBinaryWrite(message: RoleAssignment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1865
+ }
1866
+ /**
1867
+ * @generated MessageType for protobuf message sid.v1.authz.RoleAssignment
1868
+ */
1869
+ export declare const RoleAssignment: RoleAssignment$Type;
1870
+ declare class AdminEnvelope$Type extends MessageType<AdminEnvelope> {
1871
+ constructor();
1872
+ create(value?: PartialMessage<AdminEnvelope>): AdminEnvelope;
1873
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdminEnvelope): AdminEnvelope;
1874
+ internalBinaryWrite(message: AdminEnvelope, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1875
+ }
1876
+ /**
1877
+ * @generated MessageType for protobuf message sid.v1.authz.AdminEnvelope
1878
+ */
1879
+ export declare const AdminEnvelope: AdminEnvelope$Type;
1880
+ declare class AssignmentProvenance$Type extends MessageType<AssignmentProvenance> {
1881
+ constructor();
1882
+ create(value?: PartialMessage<AssignmentProvenance>): AssignmentProvenance;
1883
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssignmentProvenance): AssignmentProvenance;
1884
+ internalBinaryWrite(message: AssignmentProvenance, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1885
+ }
1886
+ /**
1887
+ * @generated MessageType for protobuf message sid.v1.authz.AssignmentProvenance
1888
+ */
1889
+ export declare const AssignmentProvenance: AssignmentProvenance$Type;
1890
+ declare class Policy$Type extends MessageType<Policy> {
1891
+ constructor();
1892
+ create(value?: PartialMessage<Policy>): Policy;
1893
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Policy): Policy;
1894
+ internalBinaryWrite(message: Policy, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1895
+ }
1896
+ /**
1897
+ * @generated MessageType for protobuf message sid.v1.authz.Policy
1898
+ */
1899
+ export declare const Policy: Policy$Type;
1900
+ declare class CheckPermissionRequest$Type extends MessageType<CheckPermissionRequest> {
1901
+ constructor();
1902
+ create(value?: PartialMessage<CheckPermissionRequest>): CheckPermissionRequest;
1903
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckPermissionRequest): CheckPermissionRequest;
1904
+ internalBinaryWrite(message: CheckPermissionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1905
+ }
1906
+ /**
1907
+ * @generated MessageType for protobuf message sid.v1.authz.CheckPermissionRequest
1908
+ */
1909
+ export declare const CheckPermissionRequest: CheckPermissionRequest$Type;
1910
+ declare class PermissionTarget$Type extends MessageType<PermissionTarget> {
1911
+ constructor();
1912
+ create(value?: PartialMessage<PermissionTarget>): PermissionTarget;
1913
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PermissionTarget): PermissionTarget;
1914
+ internalBinaryWrite(message: PermissionTarget, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1915
+ }
1916
+ /**
1917
+ * @generated MessageType for protobuf message sid.v1.authz.PermissionTarget
1918
+ */
1919
+ export declare const PermissionTarget: PermissionTarget$Type;
1920
+ declare class RequestEvaluation$Type extends MessageType<RequestEvaluation> {
1921
+ constructor();
1922
+ create(value?: PartialMessage<RequestEvaluation>): RequestEvaluation;
1923
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RequestEvaluation): RequestEvaluation;
1924
+ internalBinaryWrite(message: RequestEvaluation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1925
+ }
1926
+ /**
1927
+ * @generated MessageType for protobuf message sid.v1.authz.RequestEvaluation
1928
+ */
1929
+ export declare const RequestEvaluation: RequestEvaluation$Type;
1930
+ declare class RequestConfirmation$Type extends MessageType<RequestConfirmation> {
1931
+ constructor();
1932
+ create(value?: PartialMessage<RequestConfirmation>): RequestConfirmation;
1933
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RequestConfirmation): RequestConfirmation;
1934
+ internalBinaryWrite(message: RequestConfirmation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1935
+ }
1936
+ /**
1937
+ * @generated MessageType for protobuf message sid.v1.authz.RequestConfirmation
1938
+ */
1939
+ export declare const RequestConfirmation: RequestConfirmation$Type;
1940
+ declare class SubjectReference$Type extends MessageType<SubjectReference> {
1941
+ constructor();
1942
+ create(value?: PartialMessage<SubjectReference>): SubjectReference;
1943
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubjectReference): SubjectReference;
1944
+ internalBinaryWrite(message: SubjectReference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1945
+ }
1946
+ /**
1947
+ * @generated MessageType for protobuf message sid.v1.authz.SubjectReference
1948
+ */
1949
+ export declare const SubjectReference: SubjectReference$Type;
1950
+ declare class IssuerSubject$Type extends MessageType<IssuerSubject> {
1951
+ constructor();
1952
+ create(value?: PartialMessage<IssuerSubject>): IssuerSubject;
1953
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IssuerSubject): IssuerSubject;
1954
+ internalBinaryWrite(message: IssuerSubject, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1955
+ }
1956
+ /**
1957
+ * @generated MessageType for protobuf message sid.v1.authz.IssuerSubject
1958
+ */
1959
+ export declare const IssuerSubject: IssuerSubject$Type;
1960
+ declare class SelfEvaluation$Type extends MessageType<SelfEvaluation> {
1961
+ constructor();
1962
+ create(value?: PartialMessage<SelfEvaluation>): SelfEvaluation;
1963
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SelfEvaluation): SelfEvaluation;
1964
+ internalBinaryWrite(message: SelfEvaluation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1965
+ }
1966
+ /**
1967
+ * @generated MessageType for protobuf message sid.v1.authz.SelfEvaluation
1968
+ */
1969
+ export declare const SelfEvaluation: SelfEvaluation$Type;
1970
+ declare class CheckPermissionResponse$Type extends MessageType<CheckPermissionResponse> {
1971
+ constructor();
1972
+ create(value?: PartialMessage<CheckPermissionResponse>): CheckPermissionResponse;
1973
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckPermissionResponse): CheckPermissionResponse;
1974
+ internalBinaryWrite(message: CheckPermissionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1975
+ }
1976
+ /**
1977
+ * @generated MessageType for protobuf message sid.v1.authz.CheckPermissionResponse
1978
+ */
1979
+ export declare const CheckPermissionResponse: CheckPermissionResponse$Type;
1980
+ declare class BatchCheckPermissionRequest$Type extends MessageType<BatchCheckPermissionRequest> {
1981
+ constructor();
1982
+ create(value?: PartialMessage<BatchCheckPermissionRequest>): BatchCheckPermissionRequest;
1983
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BatchCheckPermissionRequest): BatchCheckPermissionRequest;
1984
+ internalBinaryWrite(message: BatchCheckPermissionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1985
+ }
1986
+ /**
1987
+ * @generated MessageType for protobuf message sid.v1.authz.BatchCheckPermissionRequest
1988
+ */
1989
+ export declare const BatchCheckPermissionRequest: BatchCheckPermissionRequest$Type;
1990
+ declare class BatchCheckPermissionResponse$Type extends MessageType<BatchCheckPermissionResponse> {
1991
+ constructor();
1992
+ create(value?: PartialMessage<BatchCheckPermissionResponse>): BatchCheckPermissionResponse;
1993
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BatchCheckPermissionResponse): BatchCheckPermissionResponse;
1994
+ internalBinaryWrite(message: BatchCheckPermissionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1995
+ }
1996
+ /**
1997
+ * @generated MessageType for protobuf message sid.v1.authz.BatchCheckPermissionResponse
1998
+ */
1999
+ export declare const BatchCheckPermissionResponse: BatchCheckPermissionResponse$Type;
2000
+ declare class ListObjectsRequest$Type extends MessageType<ListObjectsRequest> {
2001
+ constructor();
2002
+ create(value?: PartialMessage<ListObjectsRequest>): ListObjectsRequest;
2003
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListObjectsRequest): ListObjectsRequest;
2004
+ internalBinaryWrite(message: ListObjectsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2005
+ }
2006
+ /**
2007
+ * @generated MessageType for protobuf message sid.v1.authz.ListObjectsRequest
2008
+ */
2009
+ export declare const ListObjectsRequest: ListObjectsRequest$Type;
2010
+ declare class ListObjectsResponse$Type extends MessageType<ListObjectsResponse> {
2011
+ constructor();
2012
+ create(value?: PartialMessage<ListObjectsResponse>): ListObjectsResponse;
2013
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListObjectsResponse): ListObjectsResponse;
2014
+ internalBinaryWrite(message: ListObjectsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2015
+ }
2016
+ /**
2017
+ * @generated MessageType for protobuf message sid.v1.authz.ListObjectsResponse
2018
+ */
2019
+ export declare const ListObjectsResponse: ListObjectsResponse$Type;
2020
+ declare class ListSubjectsRequest$Type extends MessageType<ListSubjectsRequest> {
2021
+ constructor();
2022
+ create(value?: PartialMessage<ListSubjectsRequest>): ListSubjectsRequest;
2023
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSubjectsRequest): ListSubjectsRequest;
2024
+ internalBinaryWrite(message: ListSubjectsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2025
+ }
2026
+ /**
2027
+ * @generated MessageType for protobuf message sid.v1.authz.ListSubjectsRequest
2028
+ */
2029
+ export declare const ListSubjectsRequest: ListSubjectsRequest$Type;
2030
+ declare class ListSubjectsResponse$Type extends MessageType<ListSubjectsResponse> {
2031
+ constructor();
2032
+ create(value?: PartialMessage<ListSubjectsResponse>): ListSubjectsResponse;
2033
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSubjectsResponse): ListSubjectsResponse;
2034
+ internalBinaryWrite(message: ListSubjectsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2035
+ }
2036
+ /**
2037
+ * @generated MessageType for protobuf message sid.v1.authz.ListSubjectsResponse
2038
+ */
2039
+ export declare const ListSubjectsResponse: ListSubjectsResponse$Type;
2040
+ declare class CreateRoleRequest$Type extends MessageType<CreateRoleRequest> {
2041
+ constructor();
2042
+ create(value?: PartialMessage<CreateRoleRequest>): CreateRoleRequest;
2043
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateRoleRequest): CreateRoleRequest;
2044
+ internalBinaryWrite(message: CreateRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2045
+ }
2046
+ /**
2047
+ * @generated MessageType for protobuf message sid.v1.authz.CreateRoleRequest
2048
+ */
2049
+ export declare const CreateRoleRequest: CreateRoleRequest$Type;
2050
+ declare class CreateRoleResponse$Type extends MessageType<CreateRoleResponse> {
2051
+ constructor();
2052
+ create(value?: PartialMessage<CreateRoleResponse>): CreateRoleResponse;
2053
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateRoleResponse): CreateRoleResponse;
2054
+ internalBinaryWrite(message: CreateRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2055
+ }
2056
+ /**
2057
+ * @generated MessageType for protobuf message sid.v1.authz.CreateRoleResponse
2058
+ */
2059
+ export declare const CreateRoleResponse: CreateRoleResponse$Type;
2060
+ declare class GetRoleRequest$Type extends MessageType<GetRoleRequest> {
2061
+ constructor();
2062
+ create(value?: PartialMessage<GetRoleRequest>): GetRoleRequest;
2063
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetRoleRequest): GetRoleRequest;
2064
+ internalBinaryWrite(message: GetRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2065
+ }
2066
+ /**
2067
+ * @generated MessageType for protobuf message sid.v1.authz.GetRoleRequest
2068
+ */
2069
+ export declare const GetRoleRequest: GetRoleRequest$Type;
2070
+ declare class GetRoleResponse$Type extends MessageType<GetRoleResponse> {
2071
+ constructor();
2072
+ create(value?: PartialMessage<GetRoleResponse>): GetRoleResponse;
2073
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetRoleResponse): GetRoleResponse;
2074
+ internalBinaryWrite(message: GetRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2075
+ }
2076
+ /**
2077
+ * @generated MessageType for protobuf message sid.v1.authz.GetRoleResponse
2078
+ */
2079
+ export declare const GetRoleResponse: GetRoleResponse$Type;
2080
+ declare class UpdateRoleRequest$Type extends MessageType<UpdateRoleRequest> {
2081
+ constructor();
2082
+ create(value?: PartialMessage<UpdateRoleRequest>): UpdateRoleRequest;
2083
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateRoleRequest): UpdateRoleRequest;
2084
+ internalBinaryWrite(message: UpdateRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2085
+ }
2086
+ /**
2087
+ * @generated MessageType for protobuf message sid.v1.authz.UpdateRoleRequest
2088
+ */
2089
+ export declare const UpdateRoleRequest: UpdateRoleRequest$Type;
2090
+ declare class UpdateRoleResponse$Type extends MessageType<UpdateRoleResponse> {
2091
+ constructor();
2092
+ create(value?: PartialMessage<UpdateRoleResponse>): UpdateRoleResponse;
2093
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateRoleResponse): UpdateRoleResponse;
2094
+ internalBinaryWrite(message: UpdateRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2095
+ }
2096
+ /**
2097
+ * @generated MessageType for protobuf message sid.v1.authz.UpdateRoleResponse
2098
+ */
2099
+ export declare const UpdateRoleResponse: UpdateRoleResponse$Type;
2100
+ declare class DeleteRoleRequest$Type extends MessageType<DeleteRoleRequest> {
2101
+ constructor();
2102
+ create(value?: PartialMessage<DeleteRoleRequest>): DeleteRoleRequest;
2103
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteRoleRequest): DeleteRoleRequest;
2104
+ internalBinaryWrite(message: DeleteRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2105
+ }
2106
+ /**
2107
+ * @generated MessageType for protobuf message sid.v1.authz.DeleteRoleRequest
2108
+ */
2109
+ export declare const DeleteRoleRequest: DeleteRoleRequest$Type;
2110
+ declare class DeleteRoleResponse$Type extends MessageType<DeleteRoleResponse> {
2111
+ constructor();
2112
+ create(value?: PartialMessage<DeleteRoleResponse>): DeleteRoleResponse;
2113
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteRoleResponse): DeleteRoleResponse;
2114
+ internalBinaryWrite(message: DeleteRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2115
+ }
2116
+ /**
2117
+ * @generated MessageType for protobuf message sid.v1.authz.DeleteRoleResponse
2118
+ */
2119
+ export declare const DeleteRoleResponse: DeleteRoleResponse$Type;
2120
+ declare class ListRolesRequest$Type extends MessageType<ListRolesRequest> {
2121
+ constructor();
2122
+ create(value?: PartialMessage<ListRolesRequest>): ListRolesRequest;
2123
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListRolesRequest): ListRolesRequest;
2124
+ internalBinaryWrite(message: ListRolesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2125
+ }
2126
+ /**
2127
+ * @generated MessageType for protobuf message sid.v1.authz.ListRolesRequest
2128
+ */
2129
+ export declare const ListRolesRequest: ListRolesRequest$Type;
2130
+ declare class ListRolesResponse$Type extends MessageType<ListRolesResponse> {
2131
+ constructor();
2132
+ create(value?: PartialMessage<ListRolesResponse>): ListRolesResponse;
2133
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListRolesResponse): ListRolesResponse;
2134
+ internalBinaryWrite(message: ListRolesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2135
+ }
2136
+ /**
2137
+ * @generated MessageType for protobuf message sid.v1.authz.ListRolesResponse
2138
+ */
2139
+ export declare const ListRolesResponse: ListRolesResponse$Type;
2140
+ declare class AssignRoleRequest$Type extends MessageType<AssignRoleRequest> {
2141
+ constructor();
2142
+ create(value?: PartialMessage<AssignRoleRequest>): AssignRoleRequest;
2143
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssignRoleRequest): AssignRoleRequest;
2144
+ internalBinaryWrite(message: AssignRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2145
+ }
2146
+ /**
2147
+ * @generated MessageType for protobuf message sid.v1.authz.AssignRoleRequest
2148
+ */
2149
+ export declare const AssignRoleRequest: AssignRoleRequest$Type;
2150
+ declare class AssignRoleResponse$Type extends MessageType<AssignRoleResponse> {
2151
+ constructor();
2152
+ create(value?: PartialMessage<AssignRoleResponse>): AssignRoleResponse;
2153
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssignRoleResponse): AssignRoleResponse;
2154
+ internalBinaryWrite(message: AssignRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2155
+ }
2156
+ /**
2157
+ * @generated MessageType for protobuf message sid.v1.authz.AssignRoleResponse
2158
+ */
2159
+ export declare const AssignRoleResponse: AssignRoleResponse$Type;
2160
+ declare class RevokeRoleRequest$Type extends MessageType<RevokeRoleRequest> {
2161
+ constructor();
2162
+ create(value?: PartialMessage<RevokeRoleRequest>): RevokeRoleRequest;
2163
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeRoleRequest): RevokeRoleRequest;
2164
+ internalBinaryWrite(message: RevokeRoleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2165
+ }
2166
+ /**
2167
+ * @generated MessageType for protobuf message sid.v1.authz.RevokeRoleRequest
2168
+ */
2169
+ export declare const RevokeRoleRequest: RevokeRoleRequest$Type;
2170
+ declare class RevokeRoleResponse$Type extends MessageType<RevokeRoleResponse> {
2171
+ constructor();
2172
+ create(value?: PartialMessage<RevokeRoleResponse>): RevokeRoleResponse;
2173
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeRoleResponse): RevokeRoleResponse;
2174
+ internalBinaryWrite(message: RevokeRoleResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2175
+ }
2176
+ /**
2177
+ * @generated MessageType for protobuf message sid.v1.authz.RevokeRoleResponse
2178
+ */
2179
+ export declare const RevokeRoleResponse: RevokeRoleResponse$Type;
2180
+ declare class ListRoleAssignmentsRequest$Type extends MessageType<ListRoleAssignmentsRequest> {
2181
+ constructor();
2182
+ create(value?: PartialMessage<ListRoleAssignmentsRequest>): ListRoleAssignmentsRequest;
2183
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListRoleAssignmentsRequest): ListRoleAssignmentsRequest;
2184
+ internalBinaryWrite(message: ListRoleAssignmentsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2185
+ }
2186
+ /**
2187
+ * @generated MessageType for protobuf message sid.v1.authz.ListRoleAssignmentsRequest
2188
+ */
2189
+ export declare const ListRoleAssignmentsRequest: ListRoleAssignmentsRequest$Type;
2190
+ declare class ListRoleAssignmentsResponse$Type extends MessageType<ListRoleAssignmentsResponse> {
2191
+ constructor();
2192
+ create(value?: PartialMessage<ListRoleAssignmentsResponse>): ListRoleAssignmentsResponse;
2193
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListRoleAssignmentsResponse): ListRoleAssignmentsResponse;
2194
+ internalBinaryWrite(message: ListRoleAssignmentsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2195
+ }
2196
+ /**
2197
+ * @generated MessageType for protobuf message sid.v1.authz.ListRoleAssignmentsResponse
2198
+ */
2199
+ export declare const ListRoleAssignmentsResponse: ListRoleAssignmentsResponse$Type;
2200
+ declare class CreateGroupRequest$Type extends MessageType<CreateGroupRequest> {
2201
+ constructor();
2202
+ create(value?: PartialMessage<CreateGroupRequest>): CreateGroupRequest;
2203
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateGroupRequest): CreateGroupRequest;
2204
+ internalBinaryWrite(message: CreateGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2205
+ }
2206
+ /**
2207
+ * @generated MessageType for protobuf message sid.v1.authz.CreateGroupRequest
2208
+ */
2209
+ export declare const CreateGroupRequest: CreateGroupRequest$Type;
2210
+ declare class CreateGroupResponse$Type extends MessageType<CreateGroupResponse> {
2211
+ constructor();
2212
+ create(value?: PartialMessage<CreateGroupResponse>): CreateGroupResponse;
2213
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateGroupResponse): CreateGroupResponse;
2214
+ internalBinaryWrite(message: CreateGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2215
+ }
2216
+ /**
2217
+ * @generated MessageType for protobuf message sid.v1.authz.CreateGroupResponse
2218
+ */
2219
+ export declare const CreateGroupResponse: CreateGroupResponse$Type;
2220
+ declare class GetGroupRequest$Type extends MessageType<GetGroupRequest> {
2221
+ constructor();
2222
+ create(value?: PartialMessage<GetGroupRequest>): GetGroupRequest;
2223
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetGroupRequest): GetGroupRequest;
2224
+ internalBinaryWrite(message: GetGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2225
+ }
2226
+ /**
2227
+ * @generated MessageType for protobuf message sid.v1.authz.GetGroupRequest
2228
+ */
2229
+ export declare const GetGroupRequest: GetGroupRequest$Type;
2230
+ declare class GetGroupResponse$Type extends MessageType<GetGroupResponse> {
2231
+ constructor();
2232
+ create(value?: PartialMessage<GetGroupResponse>): GetGroupResponse;
2233
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetGroupResponse): GetGroupResponse;
2234
+ internalBinaryWrite(message: GetGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2235
+ }
2236
+ /**
2237
+ * @generated MessageType for protobuf message sid.v1.authz.GetGroupResponse
2238
+ */
2239
+ export declare const GetGroupResponse: GetGroupResponse$Type;
2240
+ declare class UpdateGroupRequest$Type extends MessageType<UpdateGroupRequest> {
2241
+ constructor();
2242
+ create(value?: PartialMessage<UpdateGroupRequest>): UpdateGroupRequest;
2243
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateGroupRequest): UpdateGroupRequest;
2244
+ internalBinaryWrite(message: UpdateGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2245
+ }
2246
+ /**
2247
+ * @generated MessageType for protobuf message sid.v1.authz.UpdateGroupRequest
2248
+ */
2249
+ export declare const UpdateGroupRequest: UpdateGroupRequest$Type;
2250
+ declare class UpdateGroupResponse$Type extends MessageType<UpdateGroupResponse> {
2251
+ constructor();
2252
+ create(value?: PartialMessage<UpdateGroupResponse>): UpdateGroupResponse;
2253
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateGroupResponse): UpdateGroupResponse;
2254
+ internalBinaryWrite(message: UpdateGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2255
+ }
2256
+ /**
2257
+ * @generated MessageType for protobuf message sid.v1.authz.UpdateGroupResponse
2258
+ */
2259
+ export declare const UpdateGroupResponse: UpdateGroupResponse$Type;
2260
+ declare class DeleteGroupRequest$Type extends MessageType<DeleteGroupRequest> {
2261
+ constructor();
2262
+ create(value?: PartialMessage<DeleteGroupRequest>): DeleteGroupRequest;
2263
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteGroupRequest): DeleteGroupRequest;
2264
+ internalBinaryWrite(message: DeleteGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2265
+ }
2266
+ /**
2267
+ * @generated MessageType for protobuf message sid.v1.authz.DeleteGroupRequest
2268
+ */
2269
+ export declare const DeleteGroupRequest: DeleteGroupRequest$Type;
2270
+ declare class DeleteGroupResponse$Type extends MessageType<DeleteGroupResponse> {
2271
+ constructor();
2272
+ create(value?: PartialMessage<DeleteGroupResponse>): DeleteGroupResponse;
2273
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteGroupResponse): DeleteGroupResponse;
2274
+ internalBinaryWrite(message: DeleteGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2275
+ }
2276
+ /**
2277
+ * @generated MessageType for protobuf message sid.v1.authz.DeleteGroupResponse
2278
+ */
2279
+ export declare const DeleteGroupResponse: DeleteGroupResponse$Type;
2280
+ declare class ListGroupsRequest$Type extends MessageType<ListGroupsRequest> {
2281
+ constructor();
2282
+ create(value?: PartialMessage<ListGroupsRequest>): ListGroupsRequest;
2283
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListGroupsRequest): ListGroupsRequest;
2284
+ internalBinaryWrite(message: ListGroupsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2285
+ }
2286
+ /**
2287
+ * @generated MessageType for protobuf message sid.v1.authz.ListGroupsRequest
2288
+ */
2289
+ export declare const ListGroupsRequest: ListGroupsRequest$Type;
2290
+ declare class ListGroupsResponse$Type extends MessageType<ListGroupsResponse> {
2291
+ constructor();
2292
+ create(value?: PartialMessage<ListGroupsResponse>): ListGroupsResponse;
2293
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListGroupsResponse): ListGroupsResponse;
2294
+ internalBinaryWrite(message: ListGroupsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2295
+ }
2296
+ /**
2297
+ * @generated MessageType for protobuf message sid.v1.authz.ListGroupsResponse
2298
+ */
2299
+ export declare const ListGroupsResponse: ListGroupsResponse$Type;
2300
+ declare class AddToGroupRequest$Type extends MessageType<AddToGroupRequest> {
2301
+ constructor();
2302
+ create(value?: PartialMessage<AddToGroupRequest>): AddToGroupRequest;
2303
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AddToGroupRequest): AddToGroupRequest;
2304
+ internalBinaryWrite(message: AddToGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2305
+ }
2306
+ /**
2307
+ * @generated MessageType for protobuf message sid.v1.authz.AddToGroupRequest
2308
+ */
2309
+ export declare const AddToGroupRequest: AddToGroupRequest$Type;
2310
+ declare class AddToGroupResponse$Type extends MessageType<AddToGroupResponse> {
2311
+ constructor();
2312
+ create(value?: PartialMessage<AddToGroupResponse>): AddToGroupResponse;
2313
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AddToGroupResponse): AddToGroupResponse;
2314
+ internalBinaryWrite(message: AddToGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2315
+ }
2316
+ /**
2317
+ * @generated MessageType for protobuf message sid.v1.authz.AddToGroupResponse
2318
+ */
2319
+ export declare const AddToGroupResponse: AddToGroupResponse$Type;
2320
+ declare class RemoveFromGroupRequest$Type extends MessageType<RemoveFromGroupRequest> {
2321
+ constructor();
2322
+ create(value?: PartialMessage<RemoveFromGroupRequest>): RemoveFromGroupRequest;
2323
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveFromGroupRequest): RemoveFromGroupRequest;
2324
+ internalBinaryWrite(message: RemoveFromGroupRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2325
+ }
2326
+ /**
2327
+ * @generated MessageType for protobuf message sid.v1.authz.RemoveFromGroupRequest
2328
+ */
2329
+ export declare const RemoveFromGroupRequest: RemoveFromGroupRequest$Type;
2330
+ declare class RemoveFromGroupResponse$Type extends MessageType<RemoveFromGroupResponse> {
2331
+ constructor();
2332
+ create(value?: PartialMessage<RemoveFromGroupResponse>): RemoveFromGroupResponse;
2333
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveFromGroupResponse): RemoveFromGroupResponse;
2334
+ internalBinaryWrite(message: RemoveFromGroupResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2335
+ }
2336
+ /**
2337
+ * @generated MessageType for protobuf message sid.v1.authz.RemoveFromGroupResponse
2338
+ */
2339
+ export declare const RemoveFromGroupResponse: RemoveFromGroupResponse$Type;
2340
+ declare class ListGroupMembersRequest$Type extends MessageType<ListGroupMembersRequest> {
2341
+ constructor();
2342
+ create(value?: PartialMessage<ListGroupMembersRequest>): ListGroupMembersRequest;
2343
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListGroupMembersRequest): ListGroupMembersRequest;
2344
+ internalBinaryWrite(message: ListGroupMembersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2345
+ }
2346
+ /**
2347
+ * @generated MessageType for protobuf message sid.v1.authz.ListGroupMembersRequest
2348
+ */
2349
+ export declare const ListGroupMembersRequest: ListGroupMembersRequest$Type;
2350
+ declare class ListGroupMembersResponse$Type extends MessageType<ListGroupMembersResponse> {
2351
+ constructor();
2352
+ create(value?: PartialMessage<ListGroupMembersResponse>): ListGroupMembersResponse;
2353
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListGroupMembersResponse): ListGroupMembersResponse;
2354
+ internalBinaryWrite(message: ListGroupMembersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2355
+ }
2356
+ /**
2357
+ * @generated MessageType for protobuf message sid.v1.authz.ListGroupMembersResponse
2358
+ */
2359
+ export declare const ListGroupMembersResponse: ListGroupMembersResponse$Type;
2360
+ declare class CreatePolicyRequest$Type extends MessageType<CreatePolicyRequest> {
2361
+ constructor();
2362
+ create(value?: PartialMessage<CreatePolicyRequest>): CreatePolicyRequest;
2363
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePolicyRequest): CreatePolicyRequest;
2364
+ internalBinaryWrite(message: CreatePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2365
+ }
2366
+ /**
2367
+ * @generated MessageType for protobuf message sid.v1.authz.CreatePolicyRequest
2368
+ */
2369
+ export declare const CreatePolicyRequest: CreatePolicyRequest$Type;
2370
+ declare class CreatePolicyResponse$Type extends MessageType<CreatePolicyResponse> {
2371
+ constructor();
2372
+ create(value?: PartialMessage<CreatePolicyResponse>): CreatePolicyResponse;
2373
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePolicyResponse): CreatePolicyResponse;
2374
+ internalBinaryWrite(message: CreatePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2375
+ }
2376
+ /**
2377
+ * @generated MessageType for protobuf message sid.v1.authz.CreatePolicyResponse
2378
+ */
2379
+ export declare const CreatePolicyResponse: CreatePolicyResponse$Type;
2380
+ declare class GetPolicyRequest$Type extends MessageType<GetPolicyRequest> {
2381
+ constructor();
2382
+ create(value?: PartialMessage<GetPolicyRequest>): GetPolicyRequest;
2383
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPolicyRequest): GetPolicyRequest;
2384
+ internalBinaryWrite(message: GetPolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2385
+ }
2386
+ /**
2387
+ * @generated MessageType for protobuf message sid.v1.authz.GetPolicyRequest
2388
+ */
2389
+ export declare const GetPolicyRequest: GetPolicyRequest$Type;
2390
+ declare class GetPolicyResponse$Type extends MessageType<GetPolicyResponse> {
2391
+ constructor();
2392
+ create(value?: PartialMessage<GetPolicyResponse>): GetPolicyResponse;
2393
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPolicyResponse): GetPolicyResponse;
2394
+ internalBinaryWrite(message: GetPolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2395
+ }
2396
+ /**
2397
+ * @generated MessageType for protobuf message sid.v1.authz.GetPolicyResponse
2398
+ */
2399
+ export declare const GetPolicyResponse: GetPolicyResponse$Type;
2400
+ declare class UpdatePolicyRequest$Type extends MessageType<UpdatePolicyRequest> {
2401
+ constructor();
2402
+ create(value?: PartialMessage<UpdatePolicyRequest>): UpdatePolicyRequest;
2403
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdatePolicyRequest): UpdatePolicyRequest;
2404
+ internalBinaryWrite(message: UpdatePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2405
+ }
2406
+ /**
2407
+ * @generated MessageType for protobuf message sid.v1.authz.UpdatePolicyRequest
2408
+ */
2409
+ export declare const UpdatePolicyRequest: UpdatePolicyRequest$Type;
2410
+ declare class UpdatePolicyResponse$Type extends MessageType<UpdatePolicyResponse> {
2411
+ constructor();
2412
+ create(value?: PartialMessage<UpdatePolicyResponse>): UpdatePolicyResponse;
2413
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdatePolicyResponse): UpdatePolicyResponse;
2414
+ internalBinaryWrite(message: UpdatePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2415
+ }
2416
+ /**
2417
+ * @generated MessageType for protobuf message sid.v1.authz.UpdatePolicyResponse
2418
+ */
2419
+ export declare const UpdatePolicyResponse: UpdatePolicyResponse$Type;
2420
+ declare class DeletePolicyRequest$Type extends MessageType<DeletePolicyRequest> {
2421
+ constructor();
2422
+ create(value?: PartialMessage<DeletePolicyRequest>): DeletePolicyRequest;
2423
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePolicyRequest): DeletePolicyRequest;
2424
+ internalBinaryWrite(message: DeletePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2425
+ }
2426
+ /**
2427
+ * @generated MessageType for protobuf message sid.v1.authz.DeletePolicyRequest
2428
+ */
2429
+ export declare const DeletePolicyRequest: DeletePolicyRequest$Type;
2430
+ declare class DeletePolicyResponse$Type extends MessageType<DeletePolicyResponse> {
2431
+ constructor();
2432
+ create(value?: PartialMessage<DeletePolicyResponse>): DeletePolicyResponse;
2433
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePolicyResponse): DeletePolicyResponse;
2434
+ internalBinaryWrite(message: DeletePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2435
+ }
2436
+ /**
2437
+ * @generated MessageType for protobuf message sid.v1.authz.DeletePolicyResponse
2438
+ */
2439
+ export declare const DeletePolicyResponse: DeletePolicyResponse$Type;
2440
+ declare class ListPoliciesRequest$Type extends MessageType<ListPoliciesRequest> {
2441
+ constructor();
2442
+ create(value?: PartialMessage<ListPoliciesRequest>): ListPoliciesRequest;
2443
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPoliciesRequest): ListPoliciesRequest;
2444
+ internalBinaryWrite(message: ListPoliciesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2445
+ }
2446
+ /**
2447
+ * @generated MessageType for protobuf message sid.v1.authz.ListPoliciesRequest
2448
+ */
2449
+ export declare const ListPoliciesRequest: ListPoliciesRequest$Type;
2450
+ declare class ListPoliciesResponse$Type extends MessageType<ListPoliciesResponse> {
2451
+ constructor();
2452
+ create(value?: PartialMessage<ListPoliciesResponse>): ListPoliciesResponse;
2453
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPoliciesResponse): ListPoliciesResponse;
2454
+ internalBinaryWrite(message: ListPoliciesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2455
+ }
2456
+ /**
2457
+ * @generated MessageType for protobuf message sid.v1.authz.ListPoliciesResponse
2458
+ */
2459
+ export declare const ListPoliciesResponse: ListPoliciesResponse$Type;
2460
+ declare class EvaluatePolicyRequest$Type extends MessageType<EvaluatePolicyRequest> {
2461
+ constructor();
2462
+ create(value?: PartialMessage<EvaluatePolicyRequest>): EvaluatePolicyRequest;
2463
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePolicyRequest): EvaluatePolicyRequest;
2464
+ private binaryReadMap4;
2465
+ internalBinaryWrite(message: EvaluatePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2466
+ }
2467
+ /**
2468
+ * @generated MessageType for protobuf message sid.v1.authz.EvaluatePolicyRequest
2469
+ */
2470
+ export declare const EvaluatePolicyRequest: EvaluatePolicyRequest$Type;
2471
+ declare class EvaluatePolicyResponse$Type extends MessageType<EvaluatePolicyResponse> {
2472
+ constructor();
2473
+ create(value?: PartialMessage<EvaluatePolicyResponse>): EvaluatePolicyResponse;
2474
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePolicyResponse): EvaluatePolicyResponse;
2475
+ internalBinaryWrite(message: EvaluatePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2476
+ }
2477
+ /**
2478
+ * @generated MessageType for protobuf message sid.v1.authz.EvaluatePolicyResponse
2479
+ */
2480
+ export declare const EvaluatePolicyResponse: EvaluatePolicyResponse$Type;
2481
+ declare class PolicyMatch$Type extends MessageType<PolicyMatch> {
2482
+ constructor();
2483
+ create(value?: PartialMessage<PolicyMatch>): PolicyMatch;
2484
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PolicyMatch): PolicyMatch;
2485
+ internalBinaryWrite(message: PolicyMatch, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2486
+ }
2487
+ /**
2488
+ * @generated MessageType for protobuf message sid.v1.authz.PolicyMatch
2489
+ */
2490
+ export declare const PolicyMatch: PolicyMatch$Type;
2491
+ declare class ValidatePolicyRequest$Type extends MessageType<ValidatePolicyRequest> {
2492
+ constructor();
2493
+ create(value?: PartialMessage<ValidatePolicyRequest>): ValidatePolicyRequest;
2494
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValidatePolicyRequest): ValidatePolicyRequest;
2495
+ internalBinaryWrite(message: ValidatePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2496
+ }
2497
+ /**
2498
+ * @generated MessageType for protobuf message sid.v1.authz.ValidatePolicyRequest
2499
+ */
2500
+ export declare const ValidatePolicyRequest: ValidatePolicyRequest$Type;
2501
+ declare class ValidatePolicyResponse$Type extends MessageType<ValidatePolicyResponse> {
2502
+ constructor();
2503
+ create(value?: PartialMessage<ValidatePolicyResponse>): ValidatePolicyResponse;
2504
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValidatePolicyResponse): ValidatePolicyResponse;
2505
+ internalBinaryWrite(message: ValidatePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2506
+ }
2507
+ /**
2508
+ * @generated MessageType for protobuf message sid.v1.authz.ValidatePolicyResponse
2509
+ */
2510
+ export declare const ValidatePolicyResponse: ValidatePolicyResponse$Type;
2511
+ declare class CheckSodConflictsRequest$Type extends MessageType<CheckSodConflictsRequest> {
2512
+ constructor();
2513
+ create(value?: PartialMessage<CheckSodConflictsRequest>): CheckSodConflictsRequest;
2514
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckSodConflictsRequest): CheckSodConflictsRequest;
2515
+ internalBinaryWrite(message: CheckSodConflictsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2516
+ }
2517
+ /**
2518
+ * @generated MessageType for protobuf message sid.v1.authz.CheckSodConflictsRequest
2519
+ */
2520
+ export declare const CheckSodConflictsRequest: CheckSodConflictsRequest$Type;
2521
+ declare class CheckSodConflictsResponse$Type extends MessageType<CheckSodConflictsResponse> {
2522
+ constructor();
2523
+ create(value?: PartialMessage<CheckSodConflictsResponse>): CheckSodConflictsResponse;
2524
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckSodConflictsResponse): CheckSodConflictsResponse;
2525
+ internalBinaryWrite(message: CheckSodConflictsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2526
+ }
2527
+ /**
2528
+ * @generated MessageType for protobuf message sid.v1.authz.CheckSodConflictsResponse
2529
+ */
2530
+ export declare const CheckSodConflictsResponse: CheckSodConflictsResponse$Type;
2531
+ declare class SodConflict$Type extends MessageType<SodConflict> {
2532
+ constructor();
2533
+ create(value?: PartialMessage<SodConflict>): SodConflict;
2534
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SodConflict): SodConflict;
2535
+ internalBinaryWrite(message: SodConflict, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2536
+ }
2537
+ /**
2538
+ * @generated MessageType for protobuf message sid.v1.authz.SodConflict
2539
+ */
2540
+ export declare const SodConflict: SodConflict$Type;
2541
+ declare class PolicyChange$Type extends MessageType<PolicyChange> {
2542
+ constructor();
2543
+ create(value?: PartialMessage<PolicyChange>): PolicyChange;
2544
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PolicyChange): PolicyChange;
2545
+ internalBinaryWrite(message: PolicyChange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2546
+ }
2547
+ /**
2548
+ * @generated MessageType for protobuf message sid.v1.authz.PolicyChange
2549
+ */
2550
+ export declare const PolicyChange: PolicyChange$Type;
2551
+ declare class SimulatePolicyRequest$Type extends MessageType<SimulatePolicyRequest> {
2552
+ constructor();
2553
+ create(value?: PartialMessage<SimulatePolicyRequest>): SimulatePolicyRequest;
2554
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SimulatePolicyRequest): SimulatePolicyRequest;
2555
+ internalBinaryWrite(message: SimulatePolicyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2556
+ }
2557
+ /**
2558
+ * @generated MessageType for protobuf message sid.v1.authz.SimulatePolicyRequest
2559
+ */
2560
+ export declare const SimulatePolicyRequest: SimulatePolicyRequest$Type;
2561
+ declare class SimulationImpact$Type extends MessageType<SimulationImpact> {
2562
+ constructor();
2563
+ create(value?: PartialMessage<SimulationImpact>): SimulationImpact;
2564
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SimulationImpact): SimulationImpact;
2565
+ internalBinaryWrite(message: SimulationImpact, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2566
+ }
2567
+ /**
2568
+ * @generated MessageType for protobuf message sid.v1.authz.SimulationImpact
2569
+ */
2570
+ export declare const SimulationImpact: SimulationImpact$Type;
2571
+ declare class SimulatePolicyResponse$Type extends MessageType<SimulatePolicyResponse> {
2572
+ constructor();
2573
+ create(value?: PartialMessage<SimulatePolicyResponse>): SimulatePolicyResponse;
2574
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SimulatePolicyResponse): SimulatePolicyResponse;
2575
+ internalBinaryWrite(message: SimulatePolicyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2576
+ }
2577
+ /**
2578
+ * @generated MessageType for protobuf message sid.v1.authz.SimulatePolicyResponse
2579
+ */
2580
+ export declare const SimulatePolicyResponse: SimulatePolicyResponse$Type;
2581
+ /**
2582
+ * @generated ServiceType for protobuf service sid.v1.authz.AuthzService
2583
+ */
2584
+ export declare const AuthzService: ServiceType;
2585
+ export {};