@equinor/fusion-services 0.2.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 (525) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +78 -0
  3. package/dist/esm/index.js +25 -0
  4. package/dist/esm/index.js.map +1 -0
  5. package/dist/esm/roles/endpoints/access-roles.get.js +118 -0
  6. package/dist/esm/roles/endpoints/access-roles.get.js.map +1 -0
  7. package/dist/esm/roles/endpoints/account-access-role-assignments.get.js +133 -0
  8. package/dist/esm/roles/endpoints/account-access-role-assignments.get.js.map +1 -0
  9. package/dist/esm/roles/endpoints/account-active-access-role-assignments.get.js +115 -0
  10. package/dist/esm/roles/endpoints/account-active-access-role-assignments.get.js.map +1 -0
  11. package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.get.js +118 -0
  12. package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.get.js.map +1 -0
  13. package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.post.js +124 -0
  14. package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.post.js.map +1 -0
  15. package/dist/esm/roles/endpoints/account-claimable-role-assignment-deactivation.post.js +120 -0
  16. package/dist/esm/roles/endpoints/account-claimable-role-assignment-deactivation.post.js.map +1 -0
  17. package/dist/esm/roles/endpoints/account-claimable-role-assignments.get.js +118 -0
  18. package/dist/esm/roles/endpoints/account-claimable-role-assignments.get.js.map +1 -0
  19. package/dist/esm/roles/endpoints/account-consolidated-claimable-role-assignments.get.js +120 -0
  20. package/dist/esm/roles/endpoints/account-consolidated-claimable-role-assignments.get.js.map +1 -0
  21. package/dist/esm/roles/endpoints/account-consolidated-role-assignments.get.js +116 -0
  22. package/dist/esm/roles/endpoints/account-consolidated-role-assignments.get.js.map +1 -0
  23. package/dist/esm/roles/endpoints/account-role-assignments.get.js +115 -0
  24. package/dist/esm/roles/endpoints/account-role-assignments.get.js.map +1 -0
  25. package/dist/esm/roles/endpoints/claimable-role-access-role.delete.js +118 -0
  26. package/dist/esm/roles/endpoints/claimable-role-access-role.delete.js.map +1 -0
  27. package/dist/esm/roles/endpoints/claimable-role-access-roles.post.js +118 -0
  28. package/dist/esm/roles/endpoints/claimable-role-access-roles.post.js.map +1 -0
  29. package/dist/esm/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.js +128 -0
  30. package/dist/esm/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.js.map +1 -0
  31. package/dist/esm/roles/endpoints/claimable-role-assignment-activations.get.js +106 -0
  32. package/dist/esm/roles/endpoints/claimable-role-assignment-activations.get.js.map +1 -0
  33. package/dist/esm/roles/endpoints/claimable-role-assignment.delete.js +118 -0
  34. package/dist/esm/roles/endpoints/claimable-role-assignment.delete.js.map +1 -0
  35. package/dist/esm/roles/endpoints/claimable-role-assignment.get.js +112 -0
  36. package/dist/esm/roles/endpoints/claimable-role-assignment.get.js.map +1 -0
  37. package/dist/esm/roles/endpoints/claimable-role-assignment.patch.js +122 -0
  38. package/dist/esm/roles/endpoints/claimable-role-assignment.patch.js.map +1 -0
  39. package/dist/esm/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.js +121 -0
  40. package/dist/esm/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.js.map +1 -0
  41. package/dist/esm/roles/endpoints/claimable-role-assignments.get.js +127 -0
  42. package/dist/esm/roles/endpoints/claimable-role-assignments.get.js.map +1 -0
  43. package/dist/esm/roles/endpoints/claimable-role-assignments.post.js +120 -0
  44. package/dist/esm/roles/endpoints/claimable-role-assignments.post.js.map +1 -0
  45. package/dist/esm/roles/endpoints/claimable-role.delete.js +112 -0
  46. package/dist/esm/roles/endpoints/claimable-role.delete.js.map +1 -0
  47. package/dist/esm/roles/endpoints/claimable-role.get.js +108 -0
  48. package/dist/esm/roles/endpoints/claimable-role.get.js.map +1 -0
  49. package/dist/esm/roles/endpoints/claimable-role.patch.js +118 -0
  50. package/dist/esm/roles/endpoints/claimable-role.patch.js.map +1 -0
  51. package/dist/esm/roles/endpoints/claimable-roles.get.js +127 -0
  52. package/dist/esm/roles/endpoints/claimable-roles.get.js.map +1 -0
  53. package/dist/esm/roles/endpoints/claimable-roles.post.js +114 -0
  54. package/dist/esm/roles/endpoints/claimable-roles.post.js.map +1 -0
  55. package/dist/esm/roles/endpoints/public-schema.get.js +104 -0
  56. package/dist/esm/roles/endpoints/public-schema.get.js.map +1 -0
  57. package/dist/esm/roles/endpoints/role-access-role.delete.js +115 -0
  58. package/dist/esm/roles/endpoints/role-access-role.delete.js.map +1 -0
  59. package/dist/esm/roles/endpoints/role-access-roles.post.js +116 -0
  60. package/dist/esm/roles/endpoints/role-access-roles.post.js.map +1 -0
  61. package/dist/esm/roles/endpoints/role-assignment.delete.js +115 -0
  62. package/dist/esm/roles/endpoints/role-assignment.delete.js.map +1 -0
  63. package/dist/esm/roles/endpoints/role-assignment.get.js +113 -0
  64. package/dist/esm/roles/endpoints/role-assignment.get.js.map +1 -0
  65. package/dist/esm/roles/endpoints/role-assignment.patch.js +119 -0
  66. package/dist/esm/roles/endpoints/role-assignment.patch.js.map +1 -0
  67. package/dist/esm/roles/endpoints/role-assignments-by-external-identifier.delete.js +117 -0
  68. package/dist/esm/roles/endpoints/role-assignments-by-external-identifier.delete.js.map +1 -0
  69. package/dist/esm/roles/endpoints/role-assignments-delete.post.js +118 -0
  70. package/dist/esm/roles/endpoints/role-assignments-delete.post.js.map +1 -0
  71. package/dist/esm/roles/endpoints/role-assignments.get.js +128 -0
  72. package/dist/esm/roles/endpoints/role-assignments.get.js.map +1 -0
  73. package/dist/esm/roles/endpoints/role-assignments.post.js +118 -0
  74. package/dist/esm/roles/endpoints/role-assignments.post.js.map +1 -0
  75. package/dist/esm/roles/endpoints/role-binding-configuration-expired-history.delete.js +112 -0
  76. package/dist/esm/roles/endpoints/role-binding-configuration-expired-history.delete.js.map +1 -0
  77. package/dist/esm/roles/endpoints/role-binding-configuration-history.get.js +122 -0
  78. package/dist/esm/roles/endpoints/role-binding-configuration-history.get.js.map +1 -0
  79. package/dist/esm/roles/endpoints/role-binding-configuration-history.post.js +120 -0
  80. package/dist/esm/roles/endpoints/role-binding-configuration-history.post.js.map +1 -0
  81. package/dist/esm/roles/endpoints/role-binding-configuration-notifications.get.js +123 -0
  82. package/dist/esm/roles/endpoints/role-binding-configuration-notifications.get.js.map +1 -0
  83. package/dist/esm/roles/endpoints/role-binding-configuration-notifications.post.js +121 -0
  84. package/dist/esm/roles/endpoints/role-binding-configuration-notifications.post.js.map +1 -0
  85. package/dist/esm/roles/endpoints/role-binding-configuration-status.get.js +106 -0
  86. package/dist/esm/roles/endpoints/role-binding-configuration-status.get.js.map +1 -0
  87. package/dist/esm/roles/endpoints/role-binding-configuration-status.patch.js +116 -0
  88. package/dist/esm/roles/endpoints/role-binding-configuration-status.patch.js.map +1 -0
  89. package/dist/esm/roles/endpoints/role-binding-configuration.delete.js +110 -0
  90. package/dist/esm/roles/endpoints/role-binding-configuration.delete.js.map +1 -0
  91. package/dist/esm/roles/endpoints/role-binding-configuration.get.js +114 -0
  92. package/dist/esm/roles/endpoints/role-binding-configuration.get.js.map +1 -0
  93. package/dist/esm/roles/endpoints/role-binding-configuration.patch.js +115 -0
  94. package/dist/esm/roles/endpoints/role-binding-configuration.patch.js.map +1 -0
  95. package/dist/esm/roles/endpoints/role-binding-configurations.get.js +119 -0
  96. package/dist/esm/roles/endpoints/role-binding-configurations.get.js.map +1 -0
  97. package/dist/esm/roles/endpoints/role-binding-configurations.post.js +116 -0
  98. package/dist/esm/roles/endpoints/role-binding-configurations.post.js.map +1 -0
  99. package/dist/esm/roles/endpoints/role.delete.js +111 -0
  100. package/dist/esm/roles/endpoints/role.delete.js.map +1 -0
  101. package/dist/esm/roles/endpoints/role.get.js +110 -0
  102. package/dist/esm/roles/endpoints/role.get.js.map +1 -0
  103. package/dist/esm/roles/endpoints/role.patch.js +117 -0
  104. package/dist/esm/roles/endpoints/role.patch.js.map +1 -0
  105. package/dist/esm/roles/endpoints/roles-subscription.put.js +115 -0
  106. package/dist/esm/roles/endpoints/roles-subscription.put.js.map +1 -0
  107. package/dist/esm/roles/endpoints/roles.get.js +125 -0
  108. package/dist/esm/roles/endpoints/roles.get.js.map +1 -0
  109. package/dist/esm/roles/endpoints/roles.post.js +116 -0
  110. package/dist/esm/roles/endpoints/roles.post.js.map +1 -0
  111. package/dist/esm/roles/endpoints/scope-type.delete.js +110 -0
  112. package/dist/esm/roles/endpoints/scope-type.delete.js.map +1 -0
  113. package/dist/esm/roles/endpoints/scope-type.get.js +103 -0
  114. package/dist/esm/roles/endpoints/scope-type.get.js.map +1 -0
  115. package/dist/esm/roles/endpoints/scope-type.patch.js +116 -0
  116. package/dist/esm/roles/endpoints/scope-type.patch.js.map +1 -0
  117. package/dist/esm/roles/endpoints/scope-types.get.js +98 -0
  118. package/dist/esm/roles/endpoints/scope-types.get.js.map +1 -0
  119. package/dist/esm/roles/endpoints/scope-types.post.js +113 -0
  120. package/dist/esm/roles/endpoints/scope-types.post.js.map +1 -0
  121. package/dist/esm/roles/endpoints/system-access-role-assignment.delete.js +119 -0
  122. package/dist/esm/roles/endpoints/system-access-role-assignment.delete.js.map +1 -0
  123. package/dist/esm/roles/endpoints/system-access-role-assignment.get.js +119 -0
  124. package/dist/esm/roles/endpoints/system-access-role-assignment.get.js.map +1 -0
  125. package/dist/esm/roles/endpoints/system-access-role-assignment.patch.js +123 -0
  126. package/dist/esm/roles/endpoints/system-access-role-assignment.patch.js.map +1 -0
  127. package/dist/esm/roles/endpoints/system-access-role-assignments.get.js +134 -0
  128. package/dist/esm/roles/endpoints/system-access-role-assignments.get.js.map +1 -0
  129. package/dist/esm/roles/endpoints/system-access-role-assignments.post.js +120 -0
  130. package/dist/esm/roles/endpoints/system-access-role-assignments.post.js.map +1 -0
  131. package/dist/esm/roles/endpoints/system-access-role.delete.js +115 -0
  132. package/dist/esm/roles/endpoints/system-access-role.delete.js.map +1 -0
  133. package/dist/esm/roles/endpoints/system-access-role.get.js +109 -0
  134. package/dist/esm/roles/endpoints/system-access-role.get.js.map +1 -0
  135. package/dist/esm/roles/endpoints/system-access-role.patch.js +119 -0
  136. package/dist/esm/roles/endpoints/system-access-role.patch.js.map +1 -0
  137. package/dist/esm/roles/endpoints/system-access-roles.get.js +106 -0
  138. package/dist/esm/roles/endpoints/system-access-roles.get.js.map +1 -0
  139. package/dist/esm/roles/endpoints/system-access-roles.post.js +116 -0
  140. package/dist/esm/roles/endpoints/system-access-roles.post.js.map +1 -0
  141. package/dist/esm/roles/endpoints/system.delete.js +108 -0
  142. package/dist/esm/roles/endpoints/system.delete.js.map +1 -0
  143. package/dist/esm/roles/endpoints/system.get.js +101 -0
  144. package/dist/esm/roles/endpoints/system.get.js.map +1 -0
  145. package/dist/esm/roles/endpoints/system.patch.js +114 -0
  146. package/dist/esm/roles/endpoints/system.patch.js.map +1 -0
  147. package/dist/esm/roles/endpoints/systems.get.js +113 -0
  148. package/dist/esm/roles/endpoints/systems.get.js.map +1 -0
  149. package/dist/esm/roles/endpoints/systems.post.js +113 -0
  150. package/dist/esm/roles/endpoints/systems.post.js.map +1 -0
  151. package/dist/esm/roles/index.js +190 -0
  152. package/dist/esm/roles/index.js.map +1 -0
  153. package/dist/esm/roles/static.js +29 -0
  154. package/dist/esm/roles/static.js.map +1 -0
  155. package/dist/esm/roles/types.js +7 -0
  156. package/dist/esm/roles/types.js.map +1 -0
  157. package/dist/esm/roles/v1/schemas/access-role-mapping-schema-v1.js +11 -0
  158. package/dist/esm/roles/v1/schemas/access-role-mapping-schema-v1.js.map +1 -0
  159. package/dist/esm/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.js +14 -0
  160. package/dist/esm/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.js.map +1 -0
  161. package/dist/esm/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.js +13 -0
  162. package/dist/esm/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.js.map +1 -0
  163. package/dist/esm/roles/v1/schemas/add-role-access-role-request-schema-v1.js +13 -0
  164. package/dist/esm/roles/v1/schemas/add-role-access-role-request-schema-v1.js.map +1 -0
  165. package/dist/esm/roles/v1/schemas/api-access-role-assignment-schema-v1.js +46 -0
  166. package/dist/esm/roles/v1/schemas/api-access-role-assignment-schema-v1.js.map +1 -0
  167. package/dist/esm/roles/v1/schemas/api-access-role-mapping-schema-v1.js +15 -0
  168. package/dist/esm/roles/v1/schemas/api-access-role-mapping-schema-v1.js.map +1 -0
  169. package/dist/esm/roles/v1/schemas/api-access-role-schema-v1.js +16 -0
  170. package/dist/esm/roles/v1/schemas/api-access-role-schema-v1.js.map +1 -0
  171. package/dist/esm/roles/v1/schemas/api-account-access-role-assignment-schema-v1.js +46 -0
  172. package/dist/esm/roles/v1/schemas/api-account-access-role-assignment-schema-v1.js.map +1 -0
  173. package/dist/esm/roles/v1/schemas/api-account-access-role-schema-v1.js +9 -0
  174. package/dist/esm/roles/v1/schemas/api-account-access-role-schema-v1.js.map +1 -0
  175. package/dist/esm/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.js +21 -0
  176. package/dist/esm/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.js.map +1 -0
  177. package/dist/esm/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.js +11 -0
  178. package/dist/esm/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.js.map +1 -0
  179. package/dist/esm/roles/v1/schemas/api-account-role-assignment-schema-v1.js +11 -0
  180. package/dist/esm/roles/v1/schemas/api-account-role-assignment-schema-v1.js.map +1 -0
  181. package/dist/esm/roles/v1/schemas/api-account-schema-v1.js +25 -0
  182. package/dist/esm/roles/v1/schemas/api-account-schema-v1.js.map +1 -0
  183. package/dist/esm/roles/v1/schemas/api-binding-execution-record-schema-v1.js +52 -0
  184. package/dist/esm/roles/v1/schemas/api-binding-execution-record-schema-v1.js.map +1 -0
  185. package/dist/esm/roles/v1/schemas/api-binding-notification-record-schema-v1.js +32 -0
  186. package/dist/esm/roles/v1/schemas/api-binding-notification-record-schema-v1.js.map +1 -0
  187. package/dist/esm/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.js +15 -0
  188. package/dist/esm/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.js.map +1 -0
  189. package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.js +21 -0
  190. package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.js.map +1 -0
  191. package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-schema-v1.js +48 -0
  192. package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-schema-v1.js.map +1 -0
  193. package/dist/esm/roles/v1/schemas/api-claimable-role-schema-v1.js +18 -0
  194. package/dist/esm/roles/v1/schemas/api-claimable-role-schema-v1.js.map +1 -0
  195. package/dist/esm/roles/v1/schemas/api-claimable-role-scope-schema-v1.js +16 -0
  196. package/dist/esm/roles/v1/schemas/api-claimable-role-scope-schema-v1.js.map +1 -0
  197. package/dist/esm/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.js +25 -0
  198. package/dist/esm/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.js.map +1 -0
  199. package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.js +51 -0
  200. package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.js.map +1 -0
  201. package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.js +18 -0
  202. package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.js.map +1 -0
  203. package/dist/esm/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.js +41 -0
  204. package/dist/esm/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.js.map +1 -0
  205. package/dist/esm/roles/v1/schemas/api-extended-access-role-schema-v1.js +9 -0
  206. package/dist/esm/roles/v1/schemas/api-extended-access-role-schema-v1.js.map +1 -0
  207. package/dist/esm/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.js +24 -0
  208. package/dist/esm/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.js.map +1 -0
  209. package/dist/esm/roles/v1/schemas/api-owner-schema-v1.js +12 -0
  210. package/dist/esm/roles/v1/schemas/api-owner-schema-v1.js.map +1 -0
  211. package/dist/esm/roles/v1/schemas/api-paged-collection-schema-v1.js +41 -0
  212. package/dist/esm/roles/v1/schemas/api-paged-collection-schema-v1.js.map +1 -0
  213. package/dist/esm/roles/v1/schemas/api-purge-binding-result-schema-v1.js +12 -0
  214. package/dist/esm/roles/v1/schemas/api-purge-binding-result-schema-v1.js.map +1 -0
  215. package/dist/esm/roles/v1/schemas/api-role-assignment-schema-v1.js +38 -0
  216. package/dist/esm/roles/v1/schemas/api-role-assignment-schema-v1.js.map +1 -0
  217. package/dist/esm/roles/v1/schemas/api-role-binding-configuration-schema-v1.js +36 -0
  218. package/dist/esm/roles/v1/schemas/api-role-binding-configuration-schema-v1.js.map +1 -0
  219. package/dist/esm/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.js +28 -0
  220. package/dist/esm/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.js.map +1 -0
  221. package/dist/esm/roles/v1/schemas/api-role-schema-v1.js +24 -0
  222. package/dist/esm/roles/v1/schemas/api-role-schema-v1.js.map +1 -0
  223. package/dist/esm/roles/v1/schemas/api-role-scope-schema-v1.js +16 -0
  224. package/dist/esm/roles/v1/schemas/api-role-scope-schema-v1.js.map +1 -0
  225. package/dist/esm/roles/v1/schemas/api-scope-schema-v1.js +16 -0
  226. package/dist/esm/roles/v1/schemas/api-scope-schema-v1.js.map +1 -0
  227. package/dist/esm/roles/v1/schemas/api-scope-type-schema-v1.js +13 -0
  228. package/dist/esm/roles/v1/schemas/api-scope-type-schema-v1.js.map +1 -0
  229. package/dist/esm/roles/v1/schemas/api-scope-values-schema-v1.js +22 -0
  230. package/dist/esm/roles/v1/schemas/api-scope-values-schema-v1.js.map +1 -0
  231. package/dist/esm/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.js +12 -0
  232. package/dist/esm/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.js.map +1 -0
  233. package/dist/esm/roles/v1/schemas/api-simple-claimable-role-schema-v1.js +27 -0
  234. package/dist/esm/roles/v1/schemas/api-simple-claimable-role-schema-v1.js.map +1 -0
  235. package/dist/esm/roles/v1/schemas/api-simple-role-assignment-schema-v1.js +12 -0
  236. package/dist/esm/roles/v1/schemas/api-simple-role-assignment-schema-v1.js.map +1 -0
  237. package/dist/esm/roles/v1/schemas/api-simple-role-schema-v1.js +18 -0
  238. package/dist/esm/roles/v1/schemas/api-simple-role-schema-v1.js.map +1 -0
  239. package/dist/esm/roles/v1/schemas/api-simple-system-schema-v1.js +11 -0
  240. package/dist/esm/roles/v1/schemas/api-simple-system-schema-v1.js.map +1 -0
  241. package/dist/esm/roles/v1/schemas/api-subscription-type-schema-v1.js +6 -0
  242. package/dist/esm/roles/v1/schemas/api-subscription-type-schema-v1.js.map +1 -0
  243. package/dist/esm/roles/v1/schemas/api-system-schema-v1.js +11 -0
  244. package/dist/esm/roles/v1/schemas/api-system-schema-v1.js.map +1 -0
  245. package/dist/esm/roles/v1/schemas/assign-access-role-request-schema-v1.js +32 -0
  246. package/dist/esm/roles/v1/schemas/assign-access-role-request-schema-v1.js.map +1 -0
  247. package/dist/esm/roles/v1/schemas/assign-claimable-role-request-schema-v1.js +32 -0
  248. package/dist/esm/roles/v1/schemas/assign-claimable-role-request-schema-v1.js.map +1 -0
  249. package/dist/esm/roles/v1/schemas/assign-role-request-schema-v1.js +32 -0
  250. package/dist/esm/roles/v1/schemas/assign-role-request-schema-v1.js.map +1 -0
  251. package/dist/esm/roles/v1/schemas/claimable-role-binding-schema-v1.js +14 -0
  252. package/dist/esm/roles/v1/schemas/claimable-role-binding-schema-v1.js.map +1 -0
  253. package/dist/esm/roles/v1/schemas/create-access-role-request-schema-v1.js +19 -0
  254. package/dist/esm/roles/v1/schemas/create-access-role-request-schema-v1.js.map +1 -0
  255. package/dist/esm/roles/v1/schemas/create-binding-execution-record-request-schema-v1.js +49 -0
  256. package/dist/esm/roles/v1/schemas/create-binding-execution-record-request-schema-v1.js.map +1 -0
  257. package/dist/esm/roles/v1/schemas/create-binding-execution-record-response-schema-v1.js +9 -0
  258. package/dist/esm/roles/v1/schemas/create-binding-execution-record-response-schema-v1.js.map +1 -0
  259. package/dist/esm/roles/v1/schemas/create-binding-notification-record-request-schema-v1.js +23 -0
  260. package/dist/esm/roles/v1/schemas/create-binding-notification-record-request-schema-v1.js.map +1 -0
  261. package/dist/esm/roles/v1/schemas/create-binding-notification-record-response-schema-v1.js +9 -0
  262. package/dist/esm/roles/v1/schemas/create-binding-notification-record-response-schema-v1.js.map +1 -0
  263. package/dist/esm/roles/v1/schemas/create-claimable-role-request-schema-v1.js +27 -0
  264. package/dist/esm/roles/v1/schemas/create-claimable-role-request-schema-v1.js.map +1 -0
  265. package/dist/esm/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.js +27 -0
  266. package/dist/esm/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.js.map +1 -0
  267. package/dist/esm/roles/v1/schemas/create-role-request-schema-v1.js +27 -0
  268. package/dist/esm/roles/v1/schemas/create-role-request-schema-v1.js.map +1 -0
  269. package/dist/esm/roles/v1/schemas/create-scope-type-request-schema-v1.js +14 -0
  270. package/dist/esm/roles/v1/schemas/create-scope-type-request-schema-v1.js.map +1 -0
  271. package/dist/esm/roles/v1/schemas/delete-role-assignments-request-schema-v1.js +13 -0
  272. package/dist/esm/roles/v1/schemas/delete-role-assignments-request-schema-v1.js.map +1 -0
  273. package/dist/esm/roles/v1/schemas/entra-group-binding-schema-v1.js +24 -0
  274. package/dist/esm/roles/v1/schemas/entra-group-binding-schema-v1.js.map +1 -0
  275. package/dist/esm/roles/v1/schemas/entra-group-schema-v1.js +11 -0
  276. package/dist/esm/roles/v1/schemas/entra-group-schema-v1.js.map +1 -0
  277. package/dist/esm/roles/v1/schemas/expand-schema-v1.js +4 -0
  278. package/dist/esm/roles/v1/schemas/expand-schema-v1.js.map +1 -0
  279. package/dist/esm/roles/v1/schemas/filter-schema-v1.js +4 -0
  280. package/dist/esm/roles/v1/schemas/filter-schema-v1.js.map +1 -0
  281. package/dist/esm/roles/v1/schemas/include-deleted-schema-v1.js +7 -0
  282. package/dist/esm/roles/v1/schemas/include-deleted-schema-v1.js.map +1 -0
  283. package/dist/esm/roles/v1/schemas/org-chart-assign-entry-schema-v1.js +14 -0
  284. package/dist/esm/roles/v1/schemas/org-chart-assign-entry-schema-v1.js.map +1 -0
  285. package/dist/esm/roles/v1/schemas/org-chart-assignment-schema-v1.js +18 -0
  286. package/dist/esm/roles/v1/schemas/org-chart-assignment-schema-v1.js.map +1 -0
  287. package/dist/esm/roles/v1/schemas/org-chart-binding-schema-v1.js +19 -0
  288. package/dist/esm/roles/v1/schemas/org-chart-binding-schema-v1.js.map +1 -0
  289. package/dist/esm/roles/v1/schemas/org-chart-context-schema-v1.js +22 -0
  290. package/dist/esm/roles/v1/schemas/org-chart-context-schema-v1.js.map +1 -0
  291. package/dist/esm/roles/v1/schemas/org-chart-match-criteria-schema-v1.js +16 -0
  292. package/dist/esm/roles/v1/schemas/org-chart-match-criteria-schema-v1.js.map +1 -0
  293. package/dist/esm/roles/v1/schemas/org-chart-profile-schema-v1.js +15 -0
  294. package/dist/esm/roles/v1/schemas/org-chart-profile-schema-v1.js.map +1 -0
  295. package/dist/esm/roles/v1/schemas/org-chart-rule-schema-v1.js +13 -0
  296. package/dist/esm/roles/v1/schemas/org-chart-rule-schema-v1.js.map +1 -0
  297. package/dist/esm/roles/v1/schemas/org-chart-scope-schema-v1.js +20 -0
  298. package/dist/esm/roles/v1/schemas/org-chart-scope-schema-v1.js.map +1 -0
  299. package/dist/esm/roles/v1/schemas/owner-info-schema-v1.js +11 -0
  300. package/dist/esm/roles/v1/schemas/owner-info-schema-v1.js.map +1 -0
  301. package/dist/esm/roles/v1/schemas/register-system-request-schema-v1.js +17 -0
  302. package/dist/esm/roles/v1/schemas/register-system-request-schema-v1.js.map +1 -0
  303. package/dist/esm/roles/v1/schemas/request-claimable-role-scope-schema-v1.js +19 -0
  304. package/dist/esm/roles/v1/schemas/request-claimable-role-scope-schema-v1.js.map +1 -0
  305. package/dist/esm/roles/v1/schemas/request-role-scope-schema-v1.js +19 -0
  306. package/dist/esm/roles/v1/schemas/request-role-scope-schema-v1.js.map +1 -0
  307. package/dist/esm/roles/v1/schemas/request-scope-schema-v1.js +19 -0
  308. package/dist/esm/roles/v1/schemas/request-scope-schema-v1.js.map +1 -0
  309. package/dist/esm/roles/v1/schemas/role-binding-configuration-binding-schema-v1.js +13 -0
  310. package/dist/esm/roles/v1/schemas/role-binding-configuration-binding-schema-v1.js.map +1 -0
  311. package/dist/esm/roles/v1/schemas/role-binding-schema-v1.js +14 -0
  312. package/dist/esm/roles/v1/schemas/role-binding-schema-v1.js.map +1 -0
  313. package/dist/esm/roles/v1/schemas/scope-binding-schema-v1.js +19 -0
  314. package/dist/esm/roles/v1/schemas/scope-binding-schema-v1.js.map +1 -0
  315. package/dist/esm/roles/v1/schemas/skip-schema-v1.js +9 -0
  316. package/dist/esm/roles/v1/schemas/skip-schema-v1.js.map +1 -0
  317. package/dist/esm/roles/v1/schemas/subscription-request-schema-v1.js +19 -0
  318. package/dist/esm/roles/v1/schemas/subscription-request-schema-v1.js.map +1 -0
  319. package/dist/esm/roles/v1/schemas/top-schema-v1.js +10 -0
  320. package/dist/esm/roles/v1/schemas/top-schema-v1.js.map +1 -0
  321. package/dist/esm/roles/v1/schemas/update-access-role-assignment-request-schema-v1.js +12 -0
  322. package/dist/esm/roles/v1/schemas/update-access-role-assignment-request-schema-v1.js.map +1 -0
  323. package/dist/esm/roles/v1/schemas/update-access-role-request-schema-v1.js +12 -0
  324. package/dist/esm/roles/v1/schemas/update-access-role-request-schema-v1.js.map +1 -0
  325. package/dist/esm/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.js +12 -0
  326. package/dist/esm/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.js.map +1 -0
  327. package/dist/esm/roles/v1/schemas/update-claimable-role-request-schema-v1.js +22 -0
  328. package/dist/esm/roles/v1/schemas/update-claimable-role-request-schema-v1.js.map +1 -0
  329. package/dist/esm/roles/v1/schemas/update-role-assignment-request-schema-v1.js +12 -0
  330. package/dist/esm/roles/v1/schemas/update-role-assignment-request-schema-v1.js.map +1 -0
  331. package/dist/esm/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.js +32 -0
  332. package/dist/esm/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.js.map +1 -0
  333. package/dist/esm/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.js +14 -0
  334. package/dist/esm/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.js.map +1 -0
  335. package/dist/esm/roles/v1/schemas/update-role-request-schema-v1.js +22 -0
  336. package/dist/esm/roles/v1/schemas/update-role-request-schema-v1.js.map +1 -0
  337. package/dist/esm/roles/v1/schemas/update-scope-request-schema-v1.js +12 -0
  338. package/dist/esm/roles/v1/schemas/update-scope-request-schema-v1.js.map +1 -0
  339. package/dist/esm/roles/v1/schemas/update-system-request-schema-v1.js +18 -0
  340. package/dist/esm/roles/v1/schemas/update-system-request-schema-v1.js.map +1 -0
  341. package/dist/esm/roles/v1/types.js +19 -0
  342. package/dist/esm/roles/v1/types.js.map +1 -0
  343. package/dist/esm/types.js +2 -0
  344. package/dist/esm/types.js.map +1 -0
  345. package/dist/esm/utils.js +118 -0
  346. package/dist/esm/utils.js.map +1 -0
  347. package/dist/esm/version.js +3 -0
  348. package/dist/esm/version.js.map +1 -0
  349. package/dist/tsconfig.tsbuildinfo +1 -0
  350. package/dist/types/index.d.ts +23 -0
  351. package/dist/types/roles/endpoints/access-roles.get.d.ts +136 -0
  352. package/dist/types/roles/endpoints/account-access-role-assignments.get.d.ts +275 -0
  353. package/dist/types/roles/endpoints/account-active-access-role-assignments.get.d.ts +118 -0
  354. package/dist/types/roles/endpoints/account-claimable-role-assignment-activation.get.d.ts +123 -0
  355. package/dist/types/roles/endpoints/account-claimable-role-assignment-activation.post.d.ts +127 -0
  356. package/dist/types/roles/endpoints/account-claimable-role-assignment-deactivation.post.d.ts +123 -0
  357. package/dist/types/roles/endpoints/account-claimable-role-assignments.get.d.ts +230 -0
  358. package/dist/types/roles/endpoints/account-consolidated-claimable-role-assignments.get.d.ts +150 -0
  359. package/dist/types/roles/endpoints/account-consolidated-role-assignments.get.d.ts +146 -0
  360. package/dist/types/roles/endpoints/account-role-assignments.get.d.ts +197 -0
  361. package/dist/types/roles/endpoints/claimable-role-access-role.delete.d.ts +105 -0
  362. package/dist/types/roles/endpoints/claimable-role-access-roles.post.d.ts +150 -0
  363. package/dist/types/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.d.ts +150 -0
  364. package/dist/types/roles/endpoints/claimable-role-assignment-activations.get.d.ts +187 -0
  365. package/dist/types/roles/endpoints/claimable-role-assignment.delete.d.ts +106 -0
  366. package/dist/types/roles/endpoints/claimable-role-assignment.get.d.ts +152 -0
  367. package/dist/types/roles/endpoints/claimable-role-assignment.patch.d.ts +158 -0
  368. package/dist/types/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.d.ts +113 -0
  369. package/dist/types/roles/endpoints/claimable-role-assignments.get.d.ts +211 -0
  370. package/dist/types/roles/endpoints/claimable-role-assignments.post.d.ts +168 -0
  371. package/dist/types/roles/endpoints/claimable-role.delete.d.ts +100 -0
  372. package/dist/types/roles/endpoints/claimable-role.get.d.ts +141 -0
  373. package/dist/types/roles/endpoints/claimable-role.patch.d.ts +149 -0
  374. package/dist/types/roles/endpoints/claimable-roles.get.d.ts +199 -0
  375. package/dist/types/roles/endpoints/claimable-roles.post.d.ts +150 -0
  376. package/dist/types/roles/endpoints/public-schema.get.d.ts +98 -0
  377. package/dist/types/roles/endpoints/role-access-role.delete.d.ts +104 -0
  378. package/dist/types/roles/endpoints/role-access-roles.post.d.ts +150 -0
  379. package/dist/types/roles/endpoints/role-assignment.delete.d.ts +104 -0
  380. package/dist/types/roles/endpoints/role-assignment.get.d.ts +138 -0
  381. package/dist/types/roles/endpoints/role-assignment.patch.d.ts +140 -0
  382. package/dist/types/roles/endpoints/role-assignments-by-external-identifier.delete.d.ts +109 -0
  383. package/dist/types/roles/endpoints/role-assignments-delete.post.d.ts +108 -0
  384. package/dist/types/roles/endpoints/role-assignments.get.d.ts +184 -0
  385. package/dist/types/roles/endpoints/role-assignments.post.d.ts +151 -0
  386. package/dist/types/roles/endpoints/role-binding-configuration-expired-history.delete.d.ts +109 -0
  387. package/dist/types/roles/endpoints/role-binding-configuration-history.get.d.ts +145 -0
  388. package/dist/types/roles/endpoints/role-binding-configuration-history.post.d.ts +125 -0
  389. package/dist/types/roles/endpoints/role-binding-configuration-notifications.get.d.ts +140 -0
  390. package/dist/types/roles/endpoints/role-binding-configuration-notifications.post.d.ts +122 -0
  391. package/dist/types/roles/endpoints/role-binding-configuration-status.get.d.ts +110 -0
  392. package/dist/types/roles/endpoints/role-binding-configuration-status.patch.d.ts +117 -0
  393. package/dist/types/roles/endpoints/role-binding-configuration.delete.d.ts +100 -0
  394. package/dist/types/roles/endpoints/role-binding-configuration.get.d.ts +117 -0
  395. package/dist/types/roles/endpoints/role-binding-configuration.patch.d.ts +171 -0
  396. package/dist/types/roles/endpoints/role-binding-configurations.get.d.ts +115 -0
  397. package/dist/types/roles/endpoints/role-binding-configurations.post.d.ts +173 -0
  398. package/dist/types/roles/endpoints/role.delete.d.ts +100 -0
  399. package/dist/types/roles/endpoints/role.get.d.ts +144 -0
  400. package/dist/types/roles/endpoints/role.patch.d.ts +149 -0
  401. package/dist/types/roles/endpoints/roles-subscription.put.d.ts +110 -0
  402. package/dist/types/roles/endpoints/roles.get.d.ts +197 -0
  403. package/dist/types/roles/endpoints/roles.post.d.ts +152 -0
  404. package/dist/types/roles/endpoints/scope-type.delete.d.ts +100 -0
  405. package/dist/types/roles/endpoints/scope-type.get.d.ts +100 -0
  406. package/dist/types/roles/endpoints/scope-type.patch.d.ts +110 -0
  407. package/dist/types/roles/endpoints/scope-types.get.d.ts +97 -0
  408. package/dist/types/roles/endpoints/scope-types.post.d.ts +106 -0
  409. package/dist/types/roles/endpoints/system-access-role-assignment.delete.d.ts +109 -0
  410. package/dist/types/roles/endpoints/system-access-role-assignment.get.d.ts +182 -0
  411. package/dist/types/roles/endpoints/system-access-role-assignment.patch.d.ts +186 -0
  412. package/dist/types/roles/endpoints/system-access-role-assignments.get.d.ts +267 -0
  413. package/dist/types/roles/endpoints/system-access-role-assignments.post.d.ts +194 -0
  414. package/dist/types/roles/endpoints/system-access-role.delete.d.ts +104 -0
  415. package/dist/types/roles/endpoints/system-access-role.get.d.ts +111 -0
  416. package/dist/types/roles/endpoints/system-access-role.patch.d.ts +117 -0
  417. package/dist/types/roles/endpoints/system-access-roles.get.d.ts +109 -0
  418. package/dist/types/roles/endpoints/system-access-roles.post.d.ts +117 -0
  419. package/dist/types/roles/endpoints/system.delete.d.ts +97 -0
  420. package/dist/types/roles/endpoints/system.get.d.ts +110 -0
  421. package/dist/types/roles/endpoints/system.patch.d.ts +123 -0
  422. package/dist/types/roles/endpoints/systems.get.d.ts +138 -0
  423. package/dist/types/roles/endpoints/systems.post.d.ts +122 -0
  424. package/dist/types/roles/index.d.ts +191 -0
  425. package/dist/types/roles/static.d.ts +27 -0
  426. package/dist/types/roles/types.d.ts +22 -0
  427. package/dist/types/roles/v1/schemas/access-role-mapping-schema-v1.d.ts +13 -0
  428. package/dist/types/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.d.ts +14 -0
  429. package/dist/types/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.d.ts +16 -0
  430. package/dist/types/roles/v1/schemas/add-role-access-role-request-schema-v1.d.ts +15 -0
  431. package/dist/types/roles/v1/schemas/api-access-role-assignment-schema-v1.d.ts +82 -0
  432. package/dist/types/roles/v1/schemas/api-access-role-mapping-schema-v1.d.ts +22 -0
  433. package/dist/types/roles/v1/schemas/api-access-role-schema-v1.d.ts +19 -0
  434. package/dist/types/roles/v1/schemas/api-account-access-role-assignment-schema-v1.d.ts +88 -0
  435. package/dist/types/roles/v1/schemas/api-account-access-role-schema-v1.d.ts +25 -0
  436. package/dist/types/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.d.ts +21 -0
  437. package/dist/types/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.d.ts +69 -0
  438. package/dist/types/roles/v1/schemas/api-account-role-assignment-schema-v1.d.ts +52 -0
  439. package/dist/types/roles/v1/schemas/api-account-schema-v1.d.ts +17 -0
  440. package/dist/types/roles/v1/schemas/api-binding-execution-record-schema-v1.d.ts +23 -0
  441. package/dist/types/roles/v1/schemas/api-binding-notification-record-schema-v1.d.ts +20 -0
  442. package/dist/types/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.d.ts +23 -0
  443. package/dist/types/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.d.ts +24 -0
  444. package/dist/types/roles/v1/schemas/api-claimable-role-assignment-schema-v1.d.ts +57 -0
  445. package/dist/types/roles/v1/schemas/api-claimable-role-schema-v1.d.ts +52 -0
  446. package/dist/types/roles/v1/schemas/api-claimable-role-scope-schema-v1.d.ts +15 -0
  447. package/dist/types/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.d.ts +18 -0
  448. package/dist/types/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.d.ts +47 -0
  449. package/dist/types/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.d.ts +16 -0
  450. package/dist/types/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.d.ts +48 -0
  451. package/dist/types/roles/v1/schemas/api-extended-access-role-schema-v1.d.ts +24 -0
  452. package/dist/types/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.d.ts +52 -0
  453. package/dist/types/roles/v1/schemas/api-owner-schema-v1.d.ts +20 -0
  454. package/dist/types/roles/v1/schemas/api-paged-collection-schema-v1.d.ts +37 -0
  455. package/dist/types/roles/v1/schemas/api-purge-binding-result-schema-v1.d.ts +12 -0
  456. package/dist/types/roles/v1/schemas/api-role-assignment-schema-v1.d.ts +42 -0
  457. package/dist/types/roles/v1/schemas/api-role-binding-configuration-schema-v1.d.ts +23 -0
  458. package/dist/types/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.d.ts +18 -0
  459. package/dist/types/roles/v1/schemas/api-role-schema-v1.d.ts +51 -0
  460. package/dist/types/roles/v1/schemas/api-role-scope-schema-v1.d.ts +14 -0
  461. package/dist/types/roles/v1/schemas/api-scope-schema-v1.d.ts +14 -0
  462. package/dist/types/roles/v1/schemas/api-scope-type-schema-v1.d.ts +14 -0
  463. package/dist/types/roles/v1/schemas/api-scope-values-schema-v1.d.ts +14 -0
  464. package/dist/types/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.d.ts +37 -0
  465. package/dist/types/roles/v1/schemas/api-simple-claimable-role-schema-v1.d.ts +32 -0
  466. package/dist/types/roles/v1/schemas/api-simple-role-assignment-schema-v1.d.ts +22 -0
  467. package/dist/types/roles/v1/schemas/api-simple-role-schema-v1.d.ts +19 -0
  468. package/dist/types/roles/v1/schemas/api-simple-system-schema-v1.d.ts +13 -0
  469. package/dist/types/roles/v1/schemas/api-subscription-type-schema-v1.d.ts +14 -0
  470. package/dist/types/roles/v1/schemas/api-system-schema-v1.d.ts +26 -0
  471. package/dist/types/roles/v1/schemas/assign-access-role-request-schema-v1.d.ts +24 -0
  472. package/dist/types/roles/v1/schemas/assign-claimable-role-request-schema-v1.d.ts +24 -0
  473. package/dist/types/roles/v1/schemas/assign-role-request-schema-v1.d.ts +24 -0
  474. package/dist/types/roles/v1/schemas/claimable-role-binding-schema-v1.d.ts +18 -0
  475. package/dist/types/roles/v1/schemas/create-access-role-request-schema-v1.d.ts +14 -0
  476. package/dist/types/roles/v1/schemas/create-binding-execution-record-request-schema-v1.d.ts +21 -0
  477. package/dist/types/roles/v1/schemas/create-binding-execution-record-response-schema-v1.d.ts +13 -0
  478. package/dist/types/roles/v1/schemas/create-binding-notification-record-request-schema-v1.d.ts +17 -0
  479. package/dist/types/roles/v1/schemas/create-binding-notification-record-response-schema-v1.d.ts +13 -0
  480. package/dist/types/roles/v1/schemas/create-claimable-role-request-schema-v1.d.ts +19 -0
  481. package/dist/types/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.d.ts +81 -0
  482. package/dist/types/roles/v1/schemas/create-role-request-schema-v1.d.ts +19 -0
  483. package/dist/types/roles/v1/schemas/create-scope-type-request-schema-v1.d.ts +13 -0
  484. package/dist/types/roles/v1/schemas/delete-role-assignments-request-schema-v1.d.ts +13 -0
  485. package/dist/types/roles/v1/schemas/entra-group-binding-schema-v1.d.ts +35 -0
  486. package/dist/types/roles/v1/schemas/entra-group-schema-v1.d.ts +13 -0
  487. package/dist/types/roles/v1/schemas/expand-schema-v1.d.ts +11 -0
  488. package/dist/types/roles/v1/schemas/filter-schema-v1.d.ts +10 -0
  489. package/dist/types/roles/v1/schemas/include-deleted-schema-v1.d.ts +11 -0
  490. package/dist/types/roles/v1/schemas/org-chart-assign-entry-schema-v1.d.ts +18 -0
  491. package/dist/types/roles/v1/schemas/org-chart-assignment-schema-v1.d.ts +29 -0
  492. package/dist/types/roles/v1/schemas/org-chart-binding-schema-v1.d.ts +48 -0
  493. package/dist/types/roles/v1/schemas/org-chart-context-schema-v1.d.ts +15 -0
  494. package/dist/types/roles/v1/schemas/org-chart-match-criteria-schema-v1.d.ts +13 -0
  495. package/dist/types/roles/v1/schemas/org-chart-profile-schema-v1.d.ts +38 -0
  496. package/dist/types/roles/v1/schemas/org-chart-rule-schema-v1.d.ts +35 -0
  497. package/dist/types/roles/v1/schemas/org-chart-scope-schema-v1.d.ts +14 -0
  498. package/dist/types/roles/v1/schemas/owner-info-schema-v1.d.ts +13 -0
  499. package/dist/types/roles/v1/schemas/register-system-request-schema-v1.d.ts +17 -0
  500. package/dist/types/roles/v1/schemas/request-claimable-role-scope-schema-v1.d.ts +14 -0
  501. package/dist/types/roles/v1/schemas/request-role-scope-schema-v1.d.ts +14 -0
  502. package/dist/types/roles/v1/schemas/request-scope-schema-v1.d.ts +14 -0
  503. package/dist/types/roles/v1/schemas/role-binding-configuration-binding-schema-v1.d.ts +78 -0
  504. package/dist/types/roles/v1/schemas/role-binding-schema-v1.d.ts +18 -0
  505. package/dist/types/roles/v1/schemas/scope-binding-schema-v1.d.ts +14 -0
  506. package/dist/types/roles/v1/schemas/skip-schema-v1.d.ts +11 -0
  507. package/dist/types/roles/v1/schemas/subscription-request-schema-v1.d.ts +19 -0
  508. package/dist/types/roles/v1/schemas/top-schema-v1.d.ts +11 -0
  509. package/dist/types/roles/v1/schemas/update-access-role-assignment-request-schema-v1.d.ts +13 -0
  510. package/dist/types/roles/v1/schemas/update-access-role-request-schema-v1.d.ts +12 -0
  511. package/dist/types/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.d.ts +13 -0
  512. package/dist/types/roles/v1/schemas/update-claimable-role-request-schema-v1.d.ts +14 -0
  513. package/dist/types/roles/v1/schemas/update-role-assignment-request-schema-v1.d.ts +13 -0
  514. package/dist/types/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.d.ts +79 -0
  515. package/dist/types/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.d.ts +15 -0
  516. package/dist/types/roles/v1/schemas/update-role-request-schema-v1.d.ts +14 -0
  517. package/dist/types/roles/v1/schemas/update-scope-request-schema-v1.d.ts +12 -0
  518. package/dist/types/roles/v1/schemas/update-system-request-schema-v1.d.ts +16 -0
  519. package/dist/types/roles/v1/types.d.ts +109 -0
  520. package/dist/types/types.d.ts +173 -0
  521. package/dist/types/utils.d.ts +97 -0
  522. package/dist/types/version.d.ts +1 -0
  523. package/docs/roles.md +211 -0
  524. package/package.json +62 -0
  525. package/src/roles/v1/openapi.json +1 -0
@@ -0,0 +1,150 @@
1
+ import { z } from 'zod';
2
+ import type { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-module-http/client';
3
+ import type { ClientMethod, ClientMethodType, ExtractApiVersion, FilterAllowedApiVersions, VersionedArgs, VersionedResponse } from '../types';
4
+ import { ApiVersion } from '../static';
5
+ /** Concrete API versions this operation publishes. */
6
+ type AvailableVersions = ApiVersion.v1;
7
+ /**
8
+ * API version identifiers `addClaimableRoleAccessRoles` accepts for
9
+ * `POST /claimable-roles/{claimableRoleIdentifier}/access-roles`.
10
+ *
11
+ * Roles V2 publishes version 1.0 of this operation, nameable as `'v1'`, `'1.0'`, or
12
+ * `ApiVersion.v1`. All three resolve to the same contract entry, so all three infer the same
13
+ * {@link AddClaimableRoleAccessRolesArg} and {@link AddClaimableRoleAccessRolesResponse}.
14
+ */
15
+ type AddClaimableRoleAccessRolesVersion = FilterAllowedApiVersions<AvailableVersions>;
16
+ /**
17
+ * Version contract for `addClaimableRoleAccessRoles`, implementing
18
+ * `POST /claimable-roles/{claimableRoleIdentifier}/access-roles`.
19
+ *
20
+ * Each concrete {@link ApiVersion} maps to the argument and response schemas that
21
+ * version publishes, so the version a caller passes is the single discriminator
22
+ * for the request shape, the request path, and the response shape.
23
+ */
24
+ declare const VersionContract: {
25
+ readonly "1.0": {
26
+ /** Arguments accepted by version 1.0 of this operation. */
27
+ readonly args: z.ZodObject<{
28
+ accessRoleMappings: z.ZodArray<z.ZodObject<{
29
+ accessRoleIdentifier: z.ZodOptional<z.ZodString>;
30
+ reason: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>>;
32
+ claimableRoleIdentifier: z.ZodString;
33
+ }, z.core.$strip>;
34
+ /** Response published by version 1.0 of this operation. */
35
+ readonly response: z.ZodIntersection<z.ZodObject<{
36
+ id: z.ZodOptional<z.ZodString>;
37
+ name: z.ZodOptional<z.ZodString>;
38
+ displayName: z.ZodOptional<z.ZodString>;
39
+ description: z.ZodOptional<z.ZodString>;
40
+ accessRoleMappings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
41
+ accessRole: z.ZodOptional<z.ZodObject<{
42
+ id: z.ZodOptional<z.ZodString>;
43
+ name: z.ZodOptional<z.ZodString>;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ scopeType: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46
+ id: z.ZodOptional<z.ZodString>;
47
+ name: z.ZodOptional<z.ZodString>;
48
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ }, z.core.$strip>>>;
50
+ }, z.core.$strip>>;
51
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$strip>>>>;
53
+ system: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ id: z.ZodOptional<z.ZodString>;
55
+ name: z.ZodOptional<z.ZodString>;
56
+ }, z.core.$strip>>>;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ createdBy: z.ZodOptional<z.ZodObject<{
59
+ azureUniqueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ displayName: z.ZodOptional<z.ZodString>;
62
+ upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ accountType: z.ZodOptional<z.ZodString>;
64
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>>;
66
+ createdDate: z.ZodOptional<z.ZodString>;
67
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
+ azureUniqueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ displayName: z.ZodOptional<z.ZodString>;
71
+ upn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ accountType: z.ZodOptional<z.ZodString>;
73
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }, z.core.$strip>>>;
75
+ updatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ }, z.core.$strip>>;
77
+ };
78
+ };
79
+ /**
80
+ * Response body `addClaimableRoleAccessRoles` resolves for the selected API version.
81
+ *
82
+ * Version 1.0 resolves to `ApiClaimableRoleV1`, inferred from `ApiClaimableRoleSchemaV1` — the
83
+ * very schema that validates the `201 Created` body at runtime.
84
+ */
85
+ type AddClaimableRoleAccessRolesResponse<TVersion extends AddClaimableRoleAccessRolesVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
86
+ /**
87
+ * Arguments `addClaimableRoleAccessRoles` accepts, resolved from the selected API version.
88
+ *
89
+ * Version 1.0 accepts the path identifier `claimableRoleIdentifier`, and the request body
90
+ * fields of `AddClaimableRoleAccessRoleRequestV1`.
91
+ *
92
+ * Path identifiers and body fields share one flat object; the endpoint separates them when it
93
+ * builds the request. The value is parsed by the version's Zod argument schema before anything
94
+ * is sent.
95
+ */
96
+ type AddClaimableRoleAccessRolesArg<TVersion extends AddClaimableRoleAccessRolesVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
97
+ /**
98
+ * What `addClaimableRoleAccessRoles` hands back once the request runs, for the selected API
99
+ * version and client method.
100
+ *
101
+ * `'json'` gives `Promise<AddClaimableRoleAccessRolesResponse<TVersion>>` and `'json$'` gives
102
+ * `StreamResponse<AddClaimableRoleAccessRolesResponse<TVersion>>`, so promise and observable
103
+ * callers share one response type.
104
+ */
105
+ type AddClaimableRoleAccessRolesResult<TVersion extends AddClaimableRoleAccessRolesVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<AddClaimableRoleAccessRolesResponse<TVersion>>[TMethod];
106
+ /**
107
+ * Adds one or more access role mappings to a claimable role, so activating that claimable role
108
+ * grants the mapped access roles.
109
+ *
110
+ * Roles V2 operation: `POST /claimable-roles/{claimableRoleIdentifier}/access-roles` — "Add one
111
+ * or more access role mappings to a claimable role."
112
+ *
113
+ * Curried in two stages: `addClaimableRoleAccessRoles(version, client, method)` binds the API
114
+ * version, the `IHttpClient` that reaches the Roles service, and the execution method —
115
+ * `'json'` for a promise, `'json$'` for an observable stream. The returned function takes
116
+ * {@link AddClaimableRoleAccessRolesArg} plus an optional `ClientRequestInit`, and gives back
117
+ * {@link AddClaimableRoleAccessRolesResult}.
118
+ *
119
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
120
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
121
+ * `ApiClaimableRoleSchemaV1`, and sends `api-version=1.0` on the request.
122
+ *
123
+ * Roles V2 answers `201 Created`; the body is typed `ApiClaimableRoleV1`. The contract declares
124
+ * `403 Forbidden` for callers the Roles service does not authorise for this operation.
125
+ *
126
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
127
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
128
+ * @param version - API version selecting the request path, the argument schema, and the
129
+ * response schema.
130
+ * @param client - HTTP client that executes the request against the Roles service.
131
+ * @param method - Execution method, defaulting to `'json'`.
132
+ * @returns A request function taking {@link AddClaimableRoleAccessRolesArg} and an optional
133
+ * `ClientRequestInit`, returning {@link AddClaimableRoleAccessRolesResult}.
134
+ * @throws {Error} When `version` names an API version this operation does not publish. The
135
+ * check runs while binding, before the HTTP client is used.
136
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
137
+ * argument schema or the response body fails its response schema.
138
+ *
139
+ * @example
140
+ * ```ts
141
+ * import { addClaimableRoleAccessRoles } from '@equinor/fusion-services/roles';
142
+ *
143
+ * const claimableRole = await addClaimableRoleAccessRoles('v1', httpClient)({
144
+ * claimableRoleIdentifier: 'on-call-approver',
145
+ * accessRoleMappings: [{ accessRoleIdentifier: 'writer' }],
146
+ * });
147
+ * ```
148
+ */
149
+ declare const addClaimableRoleAccessRoles: <TVersion extends AddClaimableRoleAccessRolesVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: AddClaimableRoleAccessRolesArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, AddClaimableRoleAccessRolesResponse<ExtractApiVersion<TVersion>>>) => AddClaimableRoleAccessRolesResult<ExtractApiVersion<TVersion>, TMethod>;
150
+ export { type AddClaimableRoleAccessRolesArg, type AddClaimableRoleAccessRolesResponse, type AddClaimableRoleAccessRolesResult, type AddClaimableRoleAccessRolesVersion, addClaimableRoleAccessRoles, };
@@ -0,0 +1,150 @@
1
+ import { z } from 'zod';
2
+ import type { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-module-http/client';
3
+ import type { ClientMethod, ClientMethodType, ExtractApiVersion, FilterAllowedApiVersions, VersionedArgs, VersionedResponse } from '../types';
4
+ import { ApiVersion } from '../static';
5
+ /** Concrete API versions this operation publishes. */
6
+ type AvailableVersions = ApiVersion.v1;
7
+ /**
8
+ * API version identifiers `listActivationsForClaimableRoleAssignment` accepts for
9
+ * `GET /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}/activations`.
10
+ *
11
+ * Roles V2 publishes version 1.0 of this operation, nameable as `'v1'`, `'1.0'`, or
12
+ * `ApiVersion.v1`. All three resolve to the same contract entry, so all three infer the same
13
+ * {@link ListActivationsForClaimableRoleAssignmentArg} and
14
+ * {@link ListActivationsForClaimableRoleAssignmentResponse}.
15
+ */
16
+ type ListActivationsForClaimableRoleAssignmentVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `listActivationsForClaimableRoleAssignment`, implementing
19
+ * `GET /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}/activations`.
20
+ *
21
+ * Each concrete {@link ApiVersion} maps to the argument and response schemas that
22
+ * version publishes, so the version a caller passes is the single discriminator
23
+ * for the request shape, the request path, and the response shape.
24
+ */
25
+ declare const VersionContract: {
26
+ readonly "1.0": {
27
+ /** Arguments accepted by version 1.0 of this operation. */
28
+ readonly args: z.ZodObject<{
29
+ claimableRoleIdentifier: z.ZodString;
30
+ claimableRoleAssignmentId: z.ZodString;
31
+ top: z.ZodOptional<z.ZodNumber>;
32
+ skip: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strip>;
34
+ /** Response published by version 1.0 of this operation. */
35
+ readonly response: z.ZodObject<{
36
+ totalCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
37
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
38
+ nextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ prevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ value: z.ZodOptional<z.ZodArray<z.ZodType<{
41
+ id?: string | undefined;
42
+ activationDate?: string | undefined;
43
+ activeToDate?: string | undefined;
44
+ reason?: string | undefined;
45
+ activatedBy?: {
46
+ azureUniqueId?: string | null | undefined;
47
+ mail?: string | null | undefined;
48
+ displayName?: string | undefined;
49
+ upn?: string | null | undefined;
50
+ accountType?: string | undefined;
51
+ accountClassification?: string | null | undefined;
52
+ } | undefined;
53
+ }, unknown, z.core.$ZodTypeInternals<{
54
+ id?: string | undefined;
55
+ activationDate?: string | undefined;
56
+ activeToDate?: string | undefined;
57
+ reason?: string | undefined;
58
+ activatedBy?: {
59
+ azureUniqueId?: string | null | undefined;
60
+ mail?: string | null | undefined;
61
+ displayName?: string | undefined;
62
+ upn?: string | null | undefined;
63
+ accountType?: string | undefined;
64
+ accountClassification?: string | null | undefined;
65
+ } | undefined;
66
+ }, unknown>>>>;
67
+ }, z.core.$strip>;
68
+ };
69
+ };
70
+ /**
71
+ * Response body `listActivationsForClaimableRoleAssignment` resolves for the selected API
72
+ * version.
73
+ *
74
+ * Version 1.0 resolves to `ApiPagedCollectionV1<ApiClaimableRoleAssignmentActivationV1>`,
75
+ * inferred from `apiPagedCollectionSchemaV1(ApiClaimableRoleAssignmentActivationSchemaV1)` —
76
+ * the very schema that validates the `200 OK` body at runtime.
77
+ */
78
+ type ListActivationsForClaimableRoleAssignmentResponse<TVersion extends ListActivationsForClaimableRoleAssignmentVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
79
+ /**
80
+ * Arguments `listActivationsForClaimableRoleAssignment` accepts, resolved from the selected API
81
+ * version.
82
+ *
83
+ * Version 1.0 accepts the path identifiers `claimableRoleIdentifier`,
84
+ * `claimableRoleAssignmentId`, and the optional query options `top`, `skip`.
85
+ *
86
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
87
+ * defaults and range checks apply up front.
88
+ */
89
+ type ListActivationsForClaimableRoleAssignmentArg<TVersion extends ListActivationsForClaimableRoleAssignmentVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
90
+ /**
91
+ * What `listActivationsForClaimableRoleAssignment` hands back once the request runs, for the
92
+ * selected API version and client method.
93
+ *
94
+ * `'json'` gives `Promise<ListActivationsForClaimableRoleAssignmentResponse<TVersion>>` and
95
+ * `'json$'` gives
96
+ * `StreamResponse<ListActivationsForClaimableRoleAssignmentResponse<TVersion>>`, so promise and
97
+ * observable callers share one response type.
98
+ */
99
+ type ListActivationsForClaimableRoleAssignmentResult<TVersion extends ListActivationsForClaimableRoleAssignmentVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<ListActivationsForClaimableRoleAssignmentResponse<TVersion>>[TMethod];
100
+ /**
101
+ * Lists every activation (every claim) recorded against one claimable role assignment.
102
+ *
103
+ * Roles V2 operation:
104
+ * `GET /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}/activations`
105
+ * — "Get all activations for a claimable role assignment."
106
+ *
107
+ * Curried in two stages: `listActivationsForClaimableRoleAssignment(version, client, method)`
108
+ * binds the API version, the `IHttpClient` that reaches the Roles service, and the execution
109
+ * method — `'json'` for a promise, `'json$'` for an observable stream. The returned function
110
+ * takes {@link ListActivationsForClaimableRoleAssignmentArg} plus an optional
111
+ * `ClientRequestInit`, and gives back {@link ListActivationsForClaimableRoleAssignmentResult}.
112
+ *
113
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
114
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
115
+ * `apiPagedCollectionSchemaV1(ApiClaimableRoleAssignmentActivationSchemaV1)`, and sends
116
+ * `api-version=1.0` on the request.
117
+ *
118
+ * Query options: `top` and `skip` page the collection as `$top` and `$skip` (`top` accepts
119
+ * 0–100).
120
+ *
121
+ * Roles V2 answers `200 OK`; the body is typed
122
+ * `ApiPagedCollectionV1<ApiClaimableRoleAssignmentActivationV1>`.
123
+ *
124
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
125
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
126
+ * @param version - API version selecting the request path, the argument schema, and the
127
+ * response schema.
128
+ * @param client - HTTP client that executes the request against the Roles service.
129
+ * @param method - Execution method, defaulting to `'json'`.
130
+ * @returns A request function taking {@link ListActivationsForClaimableRoleAssignmentArg} and
131
+ * an optional `ClientRequestInit`, returning
132
+ * {@link ListActivationsForClaimableRoleAssignmentResult}.
133
+ * @throws {Error} When `version` names an API version this operation does not publish. The
134
+ * check runs while binding, before the HTTP client is used.
135
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
136
+ * argument schema or the response body fails its response schema.
137
+ *
138
+ * @example
139
+ * ```ts
140
+ * import { listActivationsForClaimableRoleAssignment } from '@equinor/fusion-services/roles';
141
+ *
142
+ * const page = await listActivationsForClaimableRoleAssignment('v1', httpClient)({
143
+ * claimableRoleIdentifier: 'on-call-approver',
144
+ * claimableRoleAssignmentId: '6b1d4f2a-8c3e-4d59-9f70-1a2b3c4d5e6f',
145
+ * top: 25,
146
+ * });
147
+ * ```
148
+ */
149
+ declare const listActivationsForClaimableRoleAssignment: <TVersion extends ListActivationsForClaimableRoleAssignmentVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: ListActivationsForClaimableRoleAssignmentArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, ListActivationsForClaimableRoleAssignmentResponse<ExtractApiVersion<TVersion>>>) => ListActivationsForClaimableRoleAssignmentResult<ExtractApiVersion<TVersion>, TMethod>;
150
+ export { type ListActivationsForClaimableRoleAssignmentArg, type ListActivationsForClaimableRoleAssignmentResponse, type ListActivationsForClaimableRoleAssignmentResult, type ListActivationsForClaimableRoleAssignmentVersion, listActivationsForClaimableRoleAssignment, };
@@ -0,0 +1,187 @@
1
+ import { z } from 'zod';
2
+ import type { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-module-http/client';
3
+ import type { ClientMethod, ClientMethodType, ExtractApiVersion, FilterAllowedApiVersions, VersionedArgs, VersionedResponse } from '../types';
4
+ import { ApiVersion } from '../static';
5
+ /** Concrete API versions this operation publishes. */
6
+ type AvailableVersions = ApiVersion.v1;
7
+ /**
8
+ * API version identifiers `listClaimableRoleAssignmentActivations` accepts for
9
+ * `GET /claimable-role-assignment-activations`.
10
+ *
11
+ * Roles V2 publishes version 1.0 of this operation, nameable as `'v1'`, `'1.0'`, or
12
+ * `ApiVersion.v1`. All three resolve to the same contract entry, so all three infer the same
13
+ * {@link ListClaimableRoleAssignmentActivationsArg} and
14
+ * {@link ListClaimableRoleAssignmentActivationsResponse}.
15
+ */
16
+ type ListClaimableRoleAssignmentActivationsVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `listClaimableRoleAssignmentActivations`, implementing
19
+ * `GET /claimable-role-assignment-activations`.
20
+ *
21
+ * Each concrete {@link ApiVersion} maps to the argument and response schemas that
22
+ * version publishes, so the version a caller passes is the single discriminator
23
+ * for the request shape, the request path, and the response shape.
24
+ */
25
+ declare const VersionContract: {
26
+ readonly "1.0": {
27
+ /** Arguments accepted by version 1.0 of this operation. */
28
+ readonly args: z.ZodObject<{}, z.core.$strip>;
29
+ /** Response published by version 1.0 of this operation. */
30
+ readonly response: z.ZodObject<{
31
+ totalCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
32
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
33
+ nextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ prevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ value: z.ZodOptional<z.ZodArray<z.ZodType<{
36
+ id?: string | undefined;
37
+ claimableRoleAssignment?: {
38
+ id?: string | undefined;
39
+ claimableRole?: {
40
+ id?: string | undefined;
41
+ name?: string | undefined;
42
+ displayName?: string | undefined;
43
+ description?: string | undefined;
44
+ accessRoleMappings?: {
45
+ accessRole?: {
46
+ id?: string | undefined;
47
+ name?: string | undefined;
48
+ description?: string | undefined;
49
+ scopeType?: {
50
+ id?: string | undefined;
51
+ name?: string | undefined;
52
+ description?: string | null | undefined;
53
+ } | null | undefined;
54
+ } | undefined;
55
+ reason?: string | null | undefined;
56
+ }[] | null | undefined;
57
+ system?: {
58
+ id?: string | undefined;
59
+ name?: string | undefined;
60
+ } | null | undefined;
61
+ } | undefined;
62
+ } | undefined;
63
+ activationDate?: string | undefined;
64
+ activeToDate?: string | undefined;
65
+ reason?: string | undefined;
66
+ activatedBy?: {
67
+ azureUniqueId?: string | null | undefined;
68
+ mail?: string | null | undefined;
69
+ displayName?: string | undefined;
70
+ upn?: string | null | undefined;
71
+ accountType?: string | undefined;
72
+ accountClassification?: string | null | undefined;
73
+ } | undefined;
74
+ }, unknown, z.core.$ZodTypeInternals<{
75
+ id?: string | undefined;
76
+ claimableRoleAssignment?: {
77
+ id?: string | undefined;
78
+ claimableRole?: {
79
+ id?: string | undefined;
80
+ name?: string | undefined;
81
+ displayName?: string | undefined;
82
+ description?: string | undefined;
83
+ accessRoleMappings?: {
84
+ accessRole?: {
85
+ id?: string | undefined;
86
+ name?: string | undefined;
87
+ description?: string | undefined;
88
+ scopeType?: {
89
+ id?: string | undefined;
90
+ name?: string | undefined;
91
+ description?: string | null | undefined;
92
+ } | null | undefined;
93
+ } | undefined;
94
+ reason?: string | null | undefined;
95
+ }[] | null | undefined;
96
+ system?: {
97
+ id?: string | undefined;
98
+ name?: string | undefined;
99
+ } | null | undefined;
100
+ } | undefined;
101
+ } | undefined;
102
+ activationDate?: string | undefined;
103
+ activeToDate?: string | undefined;
104
+ reason?: string | undefined;
105
+ activatedBy?: {
106
+ azureUniqueId?: string | null | undefined;
107
+ mail?: string | null | undefined;
108
+ displayName?: string | undefined;
109
+ upn?: string | null | undefined;
110
+ accountType?: string | undefined;
111
+ accountClassification?: string | null | undefined;
112
+ } | undefined;
113
+ }, unknown>>>>;
114
+ }, z.core.$strip>;
115
+ };
116
+ };
117
+ /**
118
+ * Response body `listClaimableRoleAssignmentActivations` resolves for the selected API version.
119
+ *
120
+ * Version 1.0 resolves to
121
+ * `ApiPagedCollectionV1<ApiExtendedClaimableRoleAssignmentActivationV1>`, inferred from
122
+ * `apiPagedCollectionSchemaV1(ApiExtendedClaimableRoleAssignmentActivationSchemaV1)` — the very
123
+ * schema that validates the `200 OK` body at runtime.
124
+ */
125
+ type ListClaimableRoleAssignmentActivationsResponse<TVersion extends ListClaimableRoleAssignmentActivationsVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
126
+ /**
127
+ * Arguments `listClaimableRoleAssignmentActivations` accepts, resolved from the selected API
128
+ * version.
129
+ *
130
+ * Version 1.0 of this operation takes no arguments, so the shape is an empty object.
131
+ *
132
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
133
+ * defaults and range checks apply up front.
134
+ */
135
+ type ListClaimableRoleAssignmentActivationsArg<TVersion extends ListClaimableRoleAssignmentActivationsVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
136
+ /**
137
+ * What `listClaimableRoleAssignmentActivations` hands back once the request runs, for the
138
+ * selected API version and client method.
139
+ *
140
+ * `'json'` gives `Promise<ListClaimableRoleAssignmentActivationsResponse<TVersion>>` and
141
+ * `'json$'` gives `StreamResponse<ListClaimableRoleAssignmentActivationsResponse<TVersion>>`,
142
+ * so promise and observable callers share one response type.
143
+ */
144
+ type ListClaimableRoleAssignmentActivationsResult<TVersion extends ListClaimableRoleAssignmentActivationsVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<ListClaimableRoleAssignmentActivationsResponse<TVersion>>[TMethod];
145
+ /**
146
+ * Lists claimable role assignment activations across the whole Roles service, not scoped to one
147
+ * role or account.
148
+ *
149
+ * Roles V2 operation: `GET /claimable-role-assignment-activations` — "Get all claimable role
150
+ * assignment activations across the system."
151
+ *
152
+ * Curried in two stages: `listClaimableRoleAssignmentActivations(version, client, method)`
153
+ * binds the API version, the `IHttpClient` that reaches the Roles service, and the execution
154
+ * method — `'json'` for a promise, `'json$'` for an observable stream. The returned function
155
+ * takes {@link ListClaimableRoleAssignmentActivationsArg} plus an optional `ClientRequestInit`,
156
+ * and gives back {@link ListClaimableRoleAssignmentActivationsResult}.
157
+ *
158
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
159
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
160
+ * `apiPagedCollectionSchemaV1(ApiExtendedClaimableRoleAssignmentActivationSchemaV1)`, and sends
161
+ * `api-version=1.0` on the request.
162
+ *
163
+ * Roles V2 answers `200 OK`; the body is typed
164
+ * `ApiPagedCollectionV1<ApiExtendedClaimableRoleAssignmentActivationV1>`.
165
+ *
166
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
167
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
168
+ * @param version - API version selecting the request path, the argument schema, and the
169
+ * response schema.
170
+ * @param client - HTTP client that executes the request against the Roles service.
171
+ * @param method - Execution method, defaulting to `'json'`.
172
+ * @returns A request function taking {@link ListClaimableRoleAssignmentActivationsArg} and an
173
+ * optional `ClientRequestInit`, returning {@link ListClaimableRoleAssignmentActivationsResult}.
174
+ * @throws {Error} When `version` names an API version this operation does not publish. The
175
+ * check runs while binding, before the HTTP client is used.
176
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
177
+ * argument schema or the response body fails its response schema.
178
+ *
179
+ * @example
180
+ * ```ts
181
+ * import { listClaimableRoleAssignmentActivations } from '@equinor/fusion-services/roles';
182
+ *
183
+ * const page = await listClaimableRoleAssignmentActivations('v1', httpClient)({});
184
+ * ```
185
+ */
186
+ declare const listClaimableRoleAssignmentActivations: <TVersion extends ListClaimableRoleAssignmentActivationsVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input?: ListClaimableRoleAssignmentActivationsArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, ListClaimableRoleAssignmentActivationsResponse<ExtractApiVersion<TVersion>>>) => ListClaimableRoleAssignmentActivationsResult<ExtractApiVersion<TVersion>, TMethod>;
187
+ export { type ListClaimableRoleAssignmentActivationsArg, type ListClaimableRoleAssignmentActivationsResponse, type ListClaimableRoleAssignmentActivationsResult, type ListClaimableRoleAssignmentActivationsVersion, listClaimableRoleAssignmentActivations, };
@@ -0,0 +1,106 @@
1
+ import { z } from 'zod';
2
+ import type { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-module-http/client';
3
+ import type { ClientMethod, ClientMethodType, ExtractApiVersion, FilterAllowedApiVersions, VersionedArgs, VersionedResponse } from '../types';
4
+ import { ApiVersion } from '../static';
5
+ /** Concrete API versions this operation publishes. */
6
+ type AvailableVersions = ApiVersion.v1;
7
+ /**
8
+ * API version identifiers `deleteClaimableRoleAssignment` accepts for
9
+ * `DELETE /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}`.
10
+ *
11
+ * Roles V2 publishes version 1.0 of this operation, nameable as `'v1'`, `'1.0'`, or
12
+ * `ApiVersion.v1`. All three resolve to the same contract entry, so all three infer the same
13
+ * {@link DeleteClaimableRoleAssignmentArg} and {@link DeleteClaimableRoleAssignmentResponse}.
14
+ */
15
+ type DeleteClaimableRoleAssignmentVersion = FilterAllowedApiVersions<AvailableVersions>;
16
+ /**
17
+ * Version contract for `deleteClaimableRoleAssignment`, implementing
18
+ * `DELETE /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}`.
19
+ *
20
+ * Each concrete {@link ApiVersion} maps to the argument and response schemas that
21
+ * version publishes, so the version a caller passes is the single discriminator
22
+ * for the request shape, the request path, and the response shape.
23
+ */
24
+ declare const VersionContract: {
25
+ readonly "1.0": {
26
+ /** Arguments accepted by version 1.0 of this operation. */
27
+ readonly args: z.ZodObject<{
28
+ claimableRoleIdentifier: z.ZodString;
29
+ claimableRoleAssignmentId: z.ZodString;
30
+ }, z.core.$strip>;
31
+ /** Response published by version 1.0. The operation answers `204 No Content`. */
32
+ readonly response: z.ZodVoid;
33
+ };
34
+ };
35
+ /**
36
+ * Response body `deleteClaimableRoleAssignment` resolves for the selected API version.
37
+ *
38
+ * Version 1.0 answers `204 No Content` without a body, so the type resolves to `void`.
39
+ */
40
+ type DeleteClaimableRoleAssignmentResponse<TVersion extends DeleteClaimableRoleAssignmentVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
41
+ /**
42
+ * Arguments `deleteClaimableRoleAssignment` accepts, resolved from the selected API version.
43
+ *
44
+ * Version 1.0 accepts the path identifiers `claimableRoleIdentifier`,
45
+ * `claimableRoleAssignmentId`.
46
+ *
47
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
48
+ * defaults and range checks apply up front.
49
+ */
50
+ type DeleteClaimableRoleAssignmentArg<TVersion extends DeleteClaimableRoleAssignmentVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
51
+ /**
52
+ * What `deleteClaimableRoleAssignment` hands back once the request runs, for the selected API
53
+ * version and client method.
54
+ *
55
+ * `'json'` gives `Promise<DeleteClaimableRoleAssignmentResponse<TVersion>>` and `'json$'` gives
56
+ * `StreamResponse<DeleteClaimableRoleAssignmentResponse<TVersion>>`, so promise and observable
57
+ * callers share one response type.
58
+ */
59
+ type DeleteClaimableRoleAssignmentResult<TVersion extends DeleteClaimableRoleAssignmentVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<DeleteClaimableRoleAssignmentResponse<TVersion>>[TMethod];
60
+ /**
61
+ * Deletes one assignment of a claimable role, addressed by its assignment ID.
62
+ *
63
+ * Roles V2 operation:
64
+ * `DELETE /claimable-roles/{claimableRoleIdentifier}/assignments/{claimableRoleAssignmentId}` —
65
+ * "Delete a claimable role assignment by ID."
66
+ *
67
+ * Curried in two stages: `deleteClaimableRoleAssignment(version, client, method)` binds the API
68
+ * version, the `IHttpClient` that reaches the Roles service, and the execution method —
69
+ * `'json'` for a promise, `'json$'` for an observable stream. The returned function takes
70
+ * {@link DeleteClaimableRoleAssignmentArg} plus an optional `ClientRequestInit`, and gives back
71
+ * {@link DeleteClaimableRoleAssignmentResult}.
72
+ *
73
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
74
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, expects the empty success body,
75
+ * and sends `api-version=1.0` on the request.
76
+ *
77
+ * Destructive: it removes the claimable role assignment permanently, and the deletion cannot be
78
+ * undone through this API. Roles V2 answers `204 No Content` with no body, so the resolved
79
+ * value is `void`. The contract declares `403 Forbidden` for callers the Roles service does not
80
+ * authorise for this operation.
81
+ *
82
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
83
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
84
+ * @param version - API version selecting the request path, the argument schema, and the
85
+ * response schema.
86
+ * @param client - HTTP client that executes the request against the Roles service.
87
+ * @param method - Execution method, defaulting to `'json'`.
88
+ * @returns A request function taking {@link DeleteClaimableRoleAssignmentArg} and an optional
89
+ * `ClientRequestInit`, returning {@link DeleteClaimableRoleAssignmentResult}.
90
+ * @throws {Error} When `version` names an API version this operation does not publish. The
91
+ * check runs while binding, before the HTTP client is used.
92
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
93
+ * argument schema or the response body fails its response schema.
94
+ *
95
+ * @example
96
+ * ```ts
97
+ * import { deleteClaimableRoleAssignment } from '@equinor/fusion-services/roles';
98
+ *
99
+ * await deleteClaimableRoleAssignment('v1', httpClient)({
100
+ * claimableRoleIdentifier: 'on-call-approver',
101
+ * claimableRoleAssignmentId: '6b1d4f2a-8c3e-4d59-9f70-1a2b3c4d5e6f',
102
+ * });
103
+ * ```
104
+ */
105
+ declare const deleteClaimableRoleAssignment: <TVersion extends DeleteClaimableRoleAssignmentVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: DeleteClaimableRoleAssignmentArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, DeleteClaimableRoleAssignmentResponse<ExtractApiVersion<TVersion>>>) => DeleteClaimableRoleAssignmentResult<ExtractApiVersion<TVersion>, TMethod>;
106
+ export { type DeleteClaimableRoleAssignmentArg, type DeleteClaimableRoleAssignmentResponse, type DeleteClaimableRoleAssignmentResult, type DeleteClaimableRoleAssignmentVersion, deleteClaimableRoleAssignment, };