@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,145 @@
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 `listRoleBindingConfigurationHistory` accepts for
9
+ * `GET /role-binding-configurations/{identifier}/history`.
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 ListRoleBindingConfigurationHistoryArg} and
14
+ * {@link ListRoleBindingConfigurationHistoryResponse}.
15
+ */
16
+ type ListRoleBindingConfigurationHistoryVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `listRoleBindingConfigurationHistory`, implementing
19
+ * `GET /role-binding-configurations/{identifier}/history`.
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
+ identifier: z.ZodString;
30
+ top: z.ZodOptional<z.ZodNumber>;
31
+ skip: z.ZodOptional<z.ZodNumber>;
32
+ }, z.core.$strip>;
33
+ /** Response published by version 1.0 of this operation. */
34
+ readonly response: z.ZodObject<{
35
+ totalCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
36
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
37
+ nextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ prevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ value: z.ZodOptional<z.ZodArray<z.ZodType<{
40
+ id?: string | undefined;
41
+ executedAt?: string | undefined;
42
+ bindingType?: string | undefined;
43
+ sourceSystem?: string | undefined;
44
+ triggerType?: string | undefined;
45
+ outcome?: string | undefined;
46
+ errorMessage?: string | null | undefined;
47
+ rolesAffected?: string[] | undefined;
48
+ claimableRolesAffected?: string[] | undefined;
49
+ assignedUserIds?: string[] | undefined;
50
+ removedUserIds?: string[] | undefined;
51
+ metadata?: string | null | undefined;
52
+ }, unknown, z.core.$ZodTypeInternals<{
53
+ id?: string | undefined;
54
+ executedAt?: string | undefined;
55
+ bindingType?: string | undefined;
56
+ sourceSystem?: string | undefined;
57
+ triggerType?: string | undefined;
58
+ outcome?: string | undefined;
59
+ errorMessage?: string | null | undefined;
60
+ rolesAffected?: string[] | undefined;
61
+ claimableRolesAffected?: string[] | undefined;
62
+ assignedUserIds?: string[] | undefined;
63
+ removedUserIds?: string[] | undefined;
64
+ metadata?: string | null | undefined;
65
+ }, unknown>>>>;
66
+ }, z.core.$strip>;
67
+ };
68
+ };
69
+ /**
70
+ * Response body `listRoleBindingConfigurationHistory` resolves for the selected API version.
71
+ *
72
+ * Version 1.0 resolves to `ApiPagedCollectionV1<ApiBindingExecutionRecordV1>`, inferred from
73
+ * `apiPagedCollectionSchemaV1(ApiBindingExecutionRecordSchemaV1)` — the very schema that
74
+ * validates the `200 OK` body at runtime.
75
+ */
76
+ type ListRoleBindingConfigurationHistoryResponse<TVersion extends ListRoleBindingConfigurationHistoryVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
77
+ /**
78
+ * Arguments `listRoleBindingConfigurationHistory` accepts, resolved from the selected API
79
+ * version.
80
+ *
81
+ * Version 1.0 accepts the path identifier `identifier`, and the optional query options `top`,
82
+ * `skip`.
83
+ *
84
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
85
+ * defaults and range checks apply up front.
86
+ */
87
+ type ListRoleBindingConfigurationHistoryArg<TVersion extends ListRoleBindingConfigurationHistoryVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
88
+ /**
89
+ * What `listRoleBindingConfigurationHistory` hands back once the request runs, for the selected
90
+ * API version and client method.
91
+ *
92
+ * `'json'` gives `Promise<ListRoleBindingConfigurationHistoryResponse<TVersion>>` and `'json$'`
93
+ * gives `StreamResponse<ListRoleBindingConfigurationHistoryResponse<TVersion>>`, so promise and
94
+ * observable callers share one response type.
95
+ */
96
+ type ListRoleBindingConfigurationHistoryResult<TVersion extends ListRoleBindingConfigurationHistoryVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<ListRoleBindingConfigurationHistoryResponse<TVersion>>[TMethod];
97
+ /**
98
+ * Lists the sync execution history of one role binding configuration, newest execution first.
99
+ *
100
+ * Roles V2 operation: `GET /role-binding-configurations/{identifier}/history` — "Get execution
101
+ * history for a role binding configuration. Returns a paginated list of sync execution records
102
+ * in descending order by execution time."
103
+ *
104
+ * Curried in two stages: `listRoleBindingConfigurationHistory(version, client, method)` binds
105
+ * the API version, the `IHttpClient` that reaches the Roles service, and the execution method —
106
+ * `'json'` for a promise, `'json$'` for an observable stream. The returned function takes
107
+ * {@link ListRoleBindingConfigurationHistoryArg} plus an optional `ClientRequestInit`, and
108
+ * gives back {@link ListRoleBindingConfigurationHistoryResult}.
109
+ *
110
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
111
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
112
+ * `apiPagedCollectionSchemaV1(ApiBindingExecutionRecordSchemaV1)`, and sends `api-version=1.0`
113
+ * on the request.
114
+ *
115
+ * Query options: `top` and `skip` page the collection as `$top` and `$skip` (`top` accepts
116
+ * 0–100).
117
+ *
118
+ * Roles V2 answers `200 OK`; the body is typed
119
+ * `ApiPagedCollectionV1<ApiBindingExecutionRecordV1>`.
120
+ *
121
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
122
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
123
+ * @param version - API version selecting the request path, the argument schema, and the
124
+ * response schema.
125
+ * @param client - HTTP client that executes the request against the Roles service.
126
+ * @param method - Execution method, defaulting to `'json'`.
127
+ * @returns A request function taking {@link ListRoleBindingConfigurationHistoryArg} and an
128
+ * optional `ClientRequestInit`, returning {@link ListRoleBindingConfigurationHistoryResult}.
129
+ * @throws {Error} When `version` names an API version this operation does not publish. The
130
+ * check runs while binding, before the HTTP client is used.
131
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
132
+ * argument schema or the response body fails its response schema.
133
+ *
134
+ * @example
135
+ * ```ts
136
+ * import { listRoleBindingConfigurationHistory } from '@equinor/fusion-services/roles';
137
+ *
138
+ * const page = await listRoleBindingConfigurationHistory('v1', httpClient)({
139
+ * identifier: 'org-chart-sync',
140
+ * top: 25,
141
+ * });
142
+ * ```
143
+ */
144
+ declare const listRoleBindingConfigurationHistory: <TVersion extends ListRoleBindingConfigurationHistoryVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: ListRoleBindingConfigurationHistoryArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, ListRoleBindingConfigurationHistoryResponse<ExtractApiVersion<TVersion>>>) => ListRoleBindingConfigurationHistoryResult<ExtractApiVersion<TVersion>, TMethod>;
145
+ export { type ListRoleBindingConfigurationHistoryArg, type ListRoleBindingConfigurationHistoryResponse, type ListRoleBindingConfigurationHistoryResult, type ListRoleBindingConfigurationHistoryVersion, listRoleBindingConfigurationHistory, };
@@ -0,0 +1,125 @@
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 `createRoleBindingConfigurationHistoryRecord` accepts for
9
+ * `POST /role-binding-configurations/{identifier}/history`.
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 CreateRoleBindingConfigurationHistoryRecordArg} and
14
+ * {@link CreateRoleBindingConfigurationHistoryRecordResponse}.
15
+ */
16
+ type CreateRoleBindingConfigurationHistoryRecordVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `createRoleBindingConfigurationHistoryRecord`, implementing
19
+ * `POST /role-binding-configurations/{identifier}/history`.
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
+ executedAt: z.ZodOptional<z.ZodString>;
30
+ triggerType: z.ZodOptional<z.ZodString>;
31
+ outcome: z.ZodOptional<z.ZodString>;
32
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ rolesAffected: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
+ claimableRolesAffected: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
+ assignedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ removedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ identifier: z.ZodString;
39
+ }, z.core.$strip>;
40
+ /** Response published by version 1.0 of this operation. */
41
+ readonly response: z.ZodObject<{
42
+ id: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ };
45
+ };
46
+ /**
47
+ * Response body `createRoleBindingConfigurationHistoryRecord` resolves for the selected API
48
+ * version.
49
+ *
50
+ * Version 1.0 resolves to `CreateBindingExecutionRecordResponseV1`, inferred from
51
+ * `CreateBindingExecutionRecordResponseSchemaV1` — the very schema that validates the `201
52
+ * Created` body at runtime.
53
+ */
54
+ type CreateRoleBindingConfigurationHistoryRecordResponse<TVersion extends CreateRoleBindingConfigurationHistoryRecordVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
55
+ /**
56
+ * Arguments `createRoleBindingConfigurationHistoryRecord` accepts, resolved from the selected
57
+ * API version.
58
+ *
59
+ * Version 1.0 accepts the path identifier `identifier`, and the request body fields of
60
+ * `CreateBindingExecutionRecordRequestV1`.
61
+ *
62
+ * Path identifiers and body fields share one flat object; the endpoint separates them when it
63
+ * builds the request. The value is parsed by the version's Zod argument schema before anything
64
+ * is sent.
65
+ */
66
+ type CreateRoleBindingConfigurationHistoryRecordArg<TVersion extends CreateRoleBindingConfigurationHistoryRecordVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
67
+ /**
68
+ * What `createRoleBindingConfigurationHistoryRecord` hands back once the request runs, for the
69
+ * selected API version and client method.
70
+ *
71
+ * `'json'` gives `Promise<CreateRoleBindingConfigurationHistoryRecordResponse<TVersion>>` and
72
+ * `'json$'` gives
73
+ * `StreamResponse<CreateRoleBindingConfigurationHistoryRecordResponse<TVersion>>`, so promise
74
+ * and observable callers share one response type.
75
+ */
76
+ type CreateRoleBindingConfigurationHistoryRecordResult<TVersion extends CreateRoleBindingConfigurationHistoryRecordVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<CreateRoleBindingConfigurationHistoryRecordResponse<TVersion>>[TMethod];
77
+ /**
78
+ * Records one sync execution in a role binding configuration's execution history.
79
+ *
80
+ * Roles V2 operation: `POST /role-binding-configurations/{identifier}/history` — "Create an
81
+ * execution history record for a role binding configuration."
82
+ *
83
+ * Curried in two stages: `createRoleBindingConfigurationHistoryRecord(version, client, method)`
84
+ * binds the API version, the `IHttpClient` that reaches the Roles service, and the execution
85
+ * method — `'json'` for a promise, `'json$'` for an observable stream. The returned function
86
+ * takes {@link CreateRoleBindingConfigurationHistoryRecordArg} plus an optional
87
+ * `ClientRequestInit`, and gives back
88
+ * {@link CreateRoleBindingConfigurationHistoryRecordResult}.
89
+ *
90
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
91
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
92
+ * `CreateBindingExecutionRecordResponseSchemaV1`, and sends `api-version=1.0` on the request.
93
+ *
94
+ * Roles V2 answers `201 Created`; the body is typed `CreateBindingExecutionRecordResponseV1`.
95
+ * The contract declares `403 Forbidden` for callers the Roles service does not authorise for
96
+ * this operation.
97
+ *
98
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
99
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
100
+ * @param version - API version selecting the request path, the argument schema, and the
101
+ * response schema.
102
+ * @param client - HTTP client that executes the request against the Roles service.
103
+ * @param method - Execution method, defaulting to `'json'`.
104
+ * @returns A request function taking {@link CreateRoleBindingConfigurationHistoryRecordArg} and
105
+ * an optional `ClientRequestInit`, returning
106
+ * {@link CreateRoleBindingConfigurationHistoryRecordResult}.
107
+ * @throws {Error} When `version` names an API version this operation does not publish. The
108
+ * check runs while binding, before the HTTP client is used.
109
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
110
+ * argument schema or the response body fails its response schema.
111
+ *
112
+ * @example
113
+ * ```ts
114
+ * import { createRoleBindingConfigurationHistoryRecord } from '@equinor/fusion-services/roles';
115
+ *
116
+ * const record = await createRoleBindingConfigurationHistoryRecord('v1', httpClient)({
117
+ * identifier: 'org-chart-sync',
118
+ * triggerType: 'Scheduled',
119
+ * outcome: 'Success',
120
+ * executedAt: '2026-01-15T04:00:00Z',
121
+ * });
122
+ * ```
123
+ */
124
+ declare const createRoleBindingConfigurationHistoryRecord: <TVersion extends CreateRoleBindingConfigurationHistoryRecordVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: CreateRoleBindingConfigurationHistoryRecordArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, CreateRoleBindingConfigurationHistoryRecordResponse<ExtractApiVersion<TVersion>>>) => CreateRoleBindingConfigurationHistoryRecordResult<ExtractApiVersion<TVersion>, TMethod>;
125
+ export { type CreateRoleBindingConfigurationHistoryRecordArg, type CreateRoleBindingConfigurationHistoryRecordResponse, type CreateRoleBindingConfigurationHistoryRecordResult, type CreateRoleBindingConfigurationHistoryRecordVersion, createRoleBindingConfigurationHistoryRecord, };
@@ -0,0 +1,140 @@
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 `listRoleBindingConfigurationNotifications` accepts for
9
+ * `GET /role-binding-configurations/{identifier}/notifications`.
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 ListRoleBindingConfigurationNotificationsArg} and
14
+ * {@link ListRoleBindingConfigurationNotificationsResponse}.
15
+ */
16
+ type ListRoleBindingConfigurationNotificationsVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `listRoleBindingConfigurationNotifications`, implementing
19
+ * `GET /role-binding-configurations/{identifier}/notifications`.
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
+ identifier: z.ZodString;
30
+ top: z.ZodOptional<z.ZodNumber>;
31
+ skip: z.ZodOptional<z.ZodNumber>;
32
+ }, z.core.$strip>;
33
+ /** Response published by version 1.0 of this operation. */
34
+ readonly response: z.ZodObject<{
35
+ totalCount: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
36
+ count: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
37
+ nextPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ prevPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ value: z.ZodOptional<z.ZodArray<z.ZodType<{
40
+ id?: string | undefined;
41
+ receivedAt?: string | undefined;
42
+ bindingType?: string | undefined;
43
+ sourceSystem?: string | undefined;
44
+ notificationType?: string | undefined;
45
+ processingResult?: string | undefined;
46
+ errorMessage?: string | null | undefined;
47
+ metadata?: string | null | undefined;
48
+ }, unknown, z.core.$ZodTypeInternals<{
49
+ id?: string | undefined;
50
+ receivedAt?: string | undefined;
51
+ bindingType?: string | undefined;
52
+ sourceSystem?: string | undefined;
53
+ notificationType?: string | undefined;
54
+ processingResult?: string | undefined;
55
+ errorMessage?: string | null | undefined;
56
+ metadata?: string | null | undefined;
57
+ }, unknown>>>>;
58
+ }, z.core.$strip>;
59
+ };
60
+ };
61
+ /**
62
+ * Response body `listRoleBindingConfigurationNotifications` resolves for the selected API
63
+ * version.
64
+ *
65
+ * Version 1.0 resolves to `ApiPagedCollectionV1<ApiBindingNotificationRecordV1>`, inferred from
66
+ * `apiPagedCollectionSchemaV1(ApiBindingNotificationRecordSchemaV1)` — the very schema that
67
+ * validates the `200 OK` body at runtime.
68
+ */
69
+ type ListRoleBindingConfigurationNotificationsResponse<TVersion extends ListRoleBindingConfigurationNotificationsVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
70
+ /**
71
+ * Arguments `listRoleBindingConfigurationNotifications` accepts, resolved from the selected API
72
+ * version.
73
+ *
74
+ * Version 1.0 accepts the path identifier `identifier`, and the optional query options `top`,
75
+ * `skip`.
76
+ *
77
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
78
+ * defaults and range checks apply up front.
79
+ */
80
+ type ListRoleBindingConfigurationNotificationsArg<TVersion extends ListRoleBindingConfigurationNotificationsVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
81
+ /**
82
+ * What `listRoleBindingConfigurationNotifications` hands back once the request runs, for the
83
+ * selected API version and client method.
84
+ *
85
+ * `'json'` gives `Promise<ListRoleBindingConfigurationNotificationsResponse<TVersion>>` and
86
+ * `'json$'` gives
87
+ * `StreamResponse<ListRoleBindingConfigurationNotificationsResponse<TVersion>>`, so promise and
88
+ * observable callers share one response type.
89
+ */
90
+ type ListRoleBindingConfigurationNotificationsResult<TVersion extends ListRoleBindingConfigurationNotificationsVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<ListRoleBindingConfigurationNotificationsResponse<TVersion>>[TMethod];
91
+ /**
92
+ * Lists the notification log of one role binding configuration, newest notification first.
93
+ *
94
+ * Roles V2 operation: `GET /role-binding-configurations/{identifier}/notifications` — "Get
95
+ * notification log for a role binding configuration. Returns a paginated list of notification
96
+ * records in descending order by received time."
97
+ *
98
+ * Curried in two stages: `listRoleBindingConfigurationNotifications(version, client, method)`
99
+ * binds the API version, the `IHttpClient` that reaches the Roles service, and the execution
100
+ * method — `'json'` for a promise, `'json$'` for an observable stream. The returned function
101
+ * takes {@link ListRoleBindingConfigurationNotificationsArg} plus an optional
102
+ * `ClientRequestInit`, and gives back {@link ListRoleBindingConfigurationNotificationsResult}.
103
+ *
104
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
105
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
106
+ * `apiPagedCollectionSchemaV1(ApiBindingNotificationRecordSchemaV1)`, and sends
107
+ * `api-version=1.0` on the request.
108
+ *
109
+ * Query options: `top` and `skip` page the collection as `$top` and `$skip` (`top` accepts
110
+ * 0–100).
111
+ *
112
+ * Roles V2 answers `200 OK`; the body is typed
113
+ * `ApiPagedCollectionV1<ApiBindingNotificationRecordV1>`.
114
+ *
115
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
116
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
117
+ * @param version - API version selecting the request path, the argument schema, and the
118
+ * response schema.
119
+ * @param client - HTTP client that executes the request against the Roles service.
120
+ * @param method - Execution method, defaulting to `'json'`.
121
+ * @returns A request function taking {@link ListRoleBindingConfigurationNotificationsArg} and
122
+ * an optional `ClientRequestInit`, returning
123
+ * {@link ListRoleBindingConfigurationNotificationsResult}.
124
+ * @throws {Error} When `version` names an API version this operation does not publish. The
125
+ * check runs while binding, before the HTTP client is used.
126
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
127
+ * argument schema or the response body fails its response schema.
128
+ *
129
+ * @example
130
+ * ```ts
131
+ * import { listRoleBindingConfigurationNotifications } from '@equinor/fusion-services/roles';
132
+ *
133
+ * const page = await listRoleBindingConfigurationNotifications('v1', httpClient)({
134
+ * identifier: 'org-chart-sync',
135
+ * top: 25,
136
+ * });
137
+ * ```
138
+ */
139
+ declare const listRoleBindingConfigurationNotifications: <TVersion extends ListRoleBindingConfigurationNotificationsVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: ListRoleBindingConfigurationNotificationsArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, ListRoleBindingConfigurationNotificationsResponse<ExtractApiVersion<TVersion>>>) => ListRoleBindingConfigurationNotificationsResult<ExtractApiVersion<TVersion>, TMethod>;
140
+ export { type ListRoleBindingConfigurationNotificationsArg, type ListRoleBindingConfigurationNotificationsResponse, type ListRoleBindingConfigurationNotificationsResult, type ListRoleBindingConfigurationNotificationsVersion, listRoleBindingConfigurationNotifications, };
@@ -0,0 +1,122 @@
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 `createRoleBindingConfigurationNotificationRecord` accepts for
9
+ * `POST /role-binding-configurations/{identifier}/notifications`.
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 CreateRoleBindingConfigurationNotificationRecordArg} and
14
+ * {@link CreateRoleBindingConfigurationNotificationRecordResponse}.
15
+ */
16
+ type CreateRoleBindingConfigurationNotificationRecordVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `createRoleBindingConfigurationNotificationRecord`, implementing
19
+ * `POST /role-binding-configurations/{identifier}/notifications`.
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
+ receivedAt: z.ZodOptional<z.ZodString>;
30
+ notificationType: z.ZodOptional<z.ZodString>;
31
+ processingResult: z.ZodOptional<z.ZodString>;
32
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ identifier: z.ZodString;
35
+ }, z.core.$strip>;
36
+ /** Response published by version 1.0 of this operation. */
37
+ readonly response: z.ZodObject<{
38
+ id: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strip>;
40
+ };
41
+ };
42
+ /**
43
+ * Response body `createRoleBindingConfigurationNotificationRecord` resolves for the selected
44
+ * API version.
45
+ *
46
+ * Version 1.0 resolves to `CreateBindingNotificationRecordResponseV1`, inferred from
47
+ * `CreateBindingNotificationRecordResponseSchemaV1` — the very schema that validates the `201
48
+ * Created` body at runtime.
49
+ */
50
+ type CreateRoleBindingConfigurationNotificationRecordResponse<TVersion extends CreateRoleBindingConfigurationNotificationRecordVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
51
+ /**
52
+ * Arguments `createRoleBindingConfigurationNotificationRecord` accepts, resolved from the
53
+ * selected API version.
54
+ *
55
+ * Version 1.0 accepts the path identifier `identifier`, and the request body fields of
56
+ * `CreateBindingNotificationRecordRequestV1`.
57
+ *
58
+ * Path identifiers and body fields share one flat object; the endpoint separates them when it
59
+ * builds the request. The value is parsed by the version's Zod argument schema before anything
60
+ * is sent.
61
+ */
62
+ type CreateRoleBindingConfigurationNotificationRecordArg<TVersion extends CreateRoleBindingConfigurationNotificationRecordVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
63
+ /**
64
+ * What `createRoleBindingConfigurationNotificationRecord` hands back once the request runs, for
65
+ * the selected API version and client method.
66
+ *
67
+ * `'json'` gives `Promise<CreateRoleBindingConfigurationNotificationRecordResponse<TVersion>>`
68
+ * and `'json$'` gives
69
+ * `StreamResponse<CreateRoleBindingConfigurationNotificationRecordResponse<TVersion>>`, so
70
+ * promise and observable callers share one response type.
71
+ */
72
+ type CreateRoleBindingConfigurationNotificationRecordResult<TVersion extends CreateRoleBindingConfigurationNotificationRecordVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<CreateRoleBindingConfigurationNotificationRecordResponse<TVersion>>[TMethod];
73
+ /**
74
+ * Records one received notification in a role binding configuration's notification log.
75
+ *
76
+ * Roles V2 operation: `POST /role-binding-configurations/{identifier}/notifications` — "Create
77
+ * a notification log record for a role binding configuration."
78
+ *
79
+ * Curried in two stages: `createRoleBindingConfigurationNotificationRecord(version, client,
80
+ * method)` binds the API version, the `IHttpClient` that reaches the Roles service, and the
81
+ * execution method — `'json'` for a promise, `'json$'` for an observable stream. The returned
82
+ * function takes {@link CreateRoleBindingConfigurationNotificationRecordArg} plus an optional
83
+ * `ClientRequestInit`, and gives back
84
+ * {@link CreateRoleBindingConfigurationNotificationRecordResult}.
85
+ *
86
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
87
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
88
+ * `CreateBindingNotificationRecordResponseSchemaV1`, and sends `api-version=1.0` on the
89
+ * request.
90
+ *
91
+ * Roles V2 answers `201 Created`; the body is typed
92
+ * `CreateBindingNotificationRecordResponseV1`. The contract declares `403 Forbidden` for
93
+ * callers the Roles service does not authorise for this operation.
94
+ *
95
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
96
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
97
+ * @param version - API version selecting the request path, the argument schema, and the
98
+ * response schema.
99
+ * @param client - HTTP client that executes the request against the Roles service.
100
+ * @param method - Execution method, defaulting to `'json'`.
101
+ * @returns A request function taking
102
+ * {@link CreateRoleBindingConfigurationNotificationRecordArg} and an optional
103
+ * `ClientRequestInit`, returning
104
+ * {@link CreateRoleBindingConfigurationNotificationRecordResult}.
105
+ * @throws {Error} When `version` names an API version this operation does not publish. The
106
+ * check runs while binding, before the HTTP client is used.
107
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
108
+ * argument schema or the response body fails its response schema.
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * import { createRoleBindingConfigurationNotificationRecord } from '@equinor/fusion-services/roles';
113
+ *
114
+ * const record = await createRoleBindingConfigurationNotificationRecord('v1', httpClient)({
115
+ * identifier: 'org-chart-sync',
116
+ * notificationType: 'OrgChartChanged',
117
+ * processingResult: 'Processed',
118
+ * });
119
+ * ```
120
+ */
121
+ declare const createRoleBindingConfigurationNotificationRecord: <TVersion extends CreateRoleBindingConfigurationNotificationRecordVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: CreateRoleBindingConfigurationNotificationRecordArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, CreateRoleBindingConfigurationNotificationRecordResponse<ExtractApiVersion<TVersion>>>) => CreateRoleBindingConfigurationNotificationRecordResult<ExtractApiVersion<TVersion>, TMethod>;
122
+ export { type CreateRoleBindingConfigurationNotificationRecordArg, type CreateRoleBindingConfigurationNotificationRecordResponse, type CreateRoleBindingConfigurationNotificationRecordResult, type CreateRoleBindingConfigurationNotificationRecordVersion, createRoleBindingConfigurationNotificationRecord, };
@@ -0,0 +1,110 @@
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 `getRoleBindingConfigurationStatus` accepts for
9
+ * `GET /role-binding-configurations/{identifier}/status`.
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 GetRoleBindingConfigurationStatusArg} and
14
+ * {@link GetRoleBindingConfigurationStatusResponse}.
15
+ */
16
+ type GetRoleBindingConfigurationStatusVersion = FilterAllowedApiVersions<AvailableVersions>;
17
+ /**
18
+ * Version contract for `getRoleBindingConfigurationStatus`, implementing
19
+ * `GET /role-binding-configurations/{identifier}/status`.
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
+ identifier: z.ZodString;
30
+ }, z.core.$strip>;
31
+ /** Response published by version 1.0 of this operation. */
32
+ readonly response: z.ZodObject<{
33
+ id: z.ZodOptional<z.ZodString>;
34
+ identifier: z.ZodOptional<z.ZodString>;
35
+ status: z.ZodOptional<z.ZodString>;
36
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ createdDate: z.ZodOptional<z.ZodString>;
38
+ updatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$strip>;
40
+ };
41
+ };
42
+ /**
43
+ * Response body `getRoleBindingConfigurationStatus` resolves for the selected API version.
44
+ *
45
+ * Version 1.0 resolves to `ApiRoleBindingConfigurationStatusV1`, inferred from
46
+ * `ApiRoleBindingConfigurationStatusSchemaV1` — the very schema that validates the `200 OK`
47
+ * body at runtime.
48
+ */
49
+ type GetRoleBindingConfigurationStatusResponse<TVersion extends GetRoleBindingConfigurationStatusVersion> = VersionedResponse<typeof VersionContract, ExtractApiVersion<TVersion>>;
50
+ /**
51
+ * Arguments `getRoleBindingConfigurationStatus` accepts, resolved from the selected API
52
+ * version.
53
+ *
54
+ * Version 1.0 accepts the path identifier `identifier`.
55
+ *
56
+ * The value is parsed by the version's Zod argument schema before the request path is built, so
57
+ * defaults and range checks apply up front.
58
+ */
59
+ type GetRoleBindingConfigurationStatusArg<TVersion extends GetRoleBindingConfigurationStatusVersion> = VersionedArgs<typeof VersionContract, ExtractApiVersion<TVersion>>;
60
+ /**
61
+ * What `getRoleBindingConfigurationStatus` hands back once the request runs, for the selected
62
+ * API version and client method.
63
+ *
64
+ * `'json'` gives `Promise<GetRoleBindingConfigurationStatusResponse<TVersion>>` and `'json$'`
65
+ * gives `StreamResponse<GetRoleBindingConfigurationStatusResponse<TVersion>>`, so promise and
66
+ * observable callers share one response type.
67
+ */
68
+ type GetRoleBindingConfigurationStatusResult<TVersion extends GetRoleBindingConfigurationStatusVersion, TMethod extends ClientMethodType = 'json'> = ClientMethod<GetRoleBindingConfigurationStatusResponse<TVersion>>[TMethod];
69
+ /**
70
+ * Fetches the current synchronisation status of a role binding configuration.
71
+ *
72
+ * Roles V2 operation: `GET /role-binding-configurations/{identifier}/status` — "Get the status
73
+ * of a role binding configuration."
74
+ *
75
+ * Curried in two stages: `getRoleBindingConfigurationStatus(version, client, method)` binds the
76
+ * API version, the `IHttpClient` that reaches the Roles service, and the execution method —
77
+ * `'json'` for a promise, `'json$'` for an observable stream. The returned function takes
78
+ * {@link GetRoleBindingConfigurationStatusArg} plus an optional `ClientRequestInit`, and gives
79
+ * back {@link GetRoleBindingConfigurationStatusResult}.
80
+ *
81
+ * The version argument is the single discriminator: `'v1'` — equivalently `'1.0'` or
82
+ * `ApiVersion.v1` — selects the version-1.0 argument schema, validates the response with
83
+ * `ApiRoleBindingConfigurationStatusSchemaV1`, and sends `api-version=1.0` on the request.
84
+ *
85
+ * Roles V2 answers `200 OK`; the body is typed `ApiRoleBindingConfigurationStatusV1`.
86
+ *
87
+ * @template TVersion - Roles API version identifier: `'v1'`, `'1.0'`, or `ApiVersion.v1`.
88
+ * @template TMethod - Execution method: `'json'` for a promise, `'json$'` for an observable.
89
+ * @param version - API version selecting the request path, the argument schema, and the
90
+ * response schema.
91
+ * @param client - HTTP client that executes the request against the Roles service.
92
+ * @param method - Execution method, defaulting to `'json'`.
93
+ * @returns A request function taking {@link GetRoleBindingConfigurationStatusArg} and an
94
+ * optional `ClientRequestInit`, returning {@link GetRoleBindingConfigurationStatusResult}.
95
+ * @throws {Error} When `version` names an API version this operation does not publish. The
96
+ * check runs while binding, before the HTTP client is used.
97
+ * @throws {z.ZodError} From the returned function, when the arguments fail this version's
98
+ * argument schema or the response body fails its response schema.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * import { getRoleBindingConfigurationStatus } from '@equinor/fusion-services/roles';
103
+ *
104
+ * const status = await getRoleBindingConfigurationStatus('v1', httpClient)({
105
+ * identifier: 'org-chart-sync',
106
+ * });
107
+ * ```
108
+ */
109
+ declare const getRoleBindingConfigurationStatus: <TVersion extends GetRoleBindingConfigurationStatusVersion, TMethod extends ClientMethodType = 'json'>(version: TVersion, client: IHttpClient, method?: TMethod) => (input: GetRoleBindingConfigurationStatusArg<ExtractApiVersion<TVersion>>, init?: ClientRequestInit<IHttpClient, GetRoleBindingConfigurationStatusResponse<ExtractApiVersion<TVersion>>>) => GetRoleBindingConfigurationStatusResult<ExtractApiVersion<TVersion>, TMethod>;
110
+ export { type GetRoleBindingConfigurationStatusArg, type GetRoleBindingConfigurationStatusResponse, type GetRoleBindingConfigurationStatusResult, type GetRoleBindingConfigurationStatusVersion, getRoleBindingConfigurationStatus, };