@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.
- package/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/esm/index.js +25 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/roles/endpoints/access-roles.get.js +118 -0
- package/dist/esm/roles/endpoints/access-roles.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-access-role-assignments.get.js +133 -0
- package/dist/esm/roles/endpoints/account-access-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-active-access-role-assignments.get.js +115 -0
- package/dist/esm/roles/endpoints/account-active-access-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.get.js +118 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.post.js +124 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-activation.post.js.map +1 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-deactivation.post.js +120 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignment-deactivation.post.js.map +1 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignments.get.js +118 -0
- package/dist/esm/roles/endpoints/account-claimable-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-consolidated-claimable-role-assignments.get.js +120 -0
- package/dist/esm/roles/endpoints/account-consolidated-claimable-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-consolidated-role-assignments.get.js +116 -0
- package/dist/esm/roles/endpoints/account-consolidated-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/account-role-assignments.get.js +115 -0
- package/dist/esm/roles/endpoints/account-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-access-role.delete.js +118 -0
- package/dist/esm/roles/endpoints/claimable-role-access-role.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-access-roles.post.js +118 -0
- package/dist/esm/roles/endpoints/claimable-role-access-roles.post.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.js +128 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment-activations.get.js +106 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment-activations.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.delete.js +118 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.get.js +112 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.patch.js +122 -0
- package/dist/esm/roles/endpoints/claimable-role-assignment.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.js +121 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments.get.js +127 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments.post.js +120 -0
- package/dist/esm/roles/endpoints/claimable-role-assignments.post.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role.delete.js +112 -0
- package/dist/esm/roles/endpoints/claimable-role.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role.get.js +108 -0
- package/dist/esm/roles/endpoints/claimable-role.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-role.patch.js +118 -0
- package/dist/esm/roles/endpoints/claimable-role.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-roles.get.js +127 -0
- package/dist/esm/roles/endpoints/claimable-roles.get.js.map +1 -0
- package/dist/esm/roles/endpoints/claimable-roles.post.js +114 -0
- package/dist/esm/roles/endpoints/claimable-roles.post.js.map +1 -0
- package/dist/esm/roles/endpoints/public-schema.get.js +104 -0
- package/dist/esm/roles/endpoints/public-schema.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-access-role.delete.js +115 -0
- package/dist/esm/roles/endpoints/role-access-role.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role-access-roles.post.js +116 -0
- package/dist/esm/roles/endpoints/role-access-roles.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignment.delete.js +115 -0
- package/dist/esm/roles/endpoints/role-assignment.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignment.get.js +113 -0
- package/dist/esm/roles/endpoints/role-assignment.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignment.patch.js +119 -0
- package/dist/esm/roles/endpoints/role-assignment.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignments-by-external-identifier.delete.js +117 -0
- package/dist/esm/roles/endpoints/role-assignments-by-external-identifier.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignments-delete.post.js +118 -0
- package/dist/esm/roles/endpoints/role-assignments-delete.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignments.get.js +128 -0
- package/dist/esm/roles/endpoints/role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-assignments.post.js +118 -0
- package/dist/esm/roles/endpoints/role-assignments.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-expired-history.delete.js +112 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-expired-history.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-history.get.js +122 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-history.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-history.post.js +120 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-history.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-notifications.get.js +123 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-notifications.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-notifications.post.js +121 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-notifications.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-status.get.js +106 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-status.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-status.patch.js +116 -0
- package/dist/esm/roles/endpoints/role-binding-configuration-status.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.delete.js +110 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.get.js +114 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.patch.js +115 -0
- package/dist/esm/roles/endpoints/role-binding-configuration.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configurations.get.js +119 -0
- package/dist/esm/roles/endpoints/role-binding-configurations.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role-binding-configurations.post.js +116 -0
- package/dist/esm/roles/endpoints/role-binding-configurations.post.js.map +1 -0
- package/dist/esm/roles/endpoints/role.delete.js +111 -0
- package/dist/esm/roles/endpoints/role.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/role.get.js +110 -0
- package/dist/esm/roles/endpoints/role.get.js.map +1 -0
- package/dist/esm/roles/endpoints/role.patch.js +117 -0
- package/dist/esm/roles/endpoints/role.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/roles-subscription.put.js +115 -0
- package/dist/esm/roles/endpoints/roles-subscription.put.js.map +1 -0
- package/dist/esm/roles/endpoints/roles.get.js +125 -0
- package/dist/esm/roles/endpoints/roles.get.js.map +1 -0
- package/dist/esm/roles/endpoints/roles.post.js +116 -0
- package/dist/esm/roles/endpoints/roles.post.js.map +1 -0
- package/dist/esm/roles/endpoints/scope-type.delete.js +110 -0
- package/dist/esm/roles/endpoints/scope-type.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/scope-type.get.js +103 -0
- package/dist/esm/roles/endpoints/scope-type.get.js.map +1 -0
- package/dist/esm/roles/endpoints/scope-type.patch.js +116 -0
- package/dist/esm/roles/endpoints/scope-type.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/scope-types.get.js +98 -0
- package/dist/esm/roles/endpoints/scope-types.get.js.map +1 -0
- package/dist/esm/roles/endpoints/scope-types.post.js +113 -0
- package/dist/esm/roles/endpoints/scope-types.post.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.delete.js +119 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.get.js +119 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.get.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.patch.js +123 -0
- package/dist/esm/roles/endpoints/system-access-role-assignment.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role-assignments.get.js +134 -0
- package/dist/esm/roles/endpoints/system-access-role-assignments.get.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role-assignments.post.js +120 -0
- package/dist/esm/roles/endpoints/system-access-role-assignments.post.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role.delete.js +115 -0
- package/dist/esm/roles/endpoints/system-access-role.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role.get.js +109 -0
- package/dist/esm/roles/endpoints/system-access-role.get.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-role.patch.js +119 -0
- package/dist/esm/roles/endpoints/system-access-role.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-roles.get.js +106 -0
- package/dist/esm/roles/endpoints/system-access-roles.get.js.map +1 -0
- package/dist/esm/roles/endpoints/system-access-roles.post.js +116 -0
- package/dist/esm/roles/endpoints/system-access-roles.post.js.map +1 -0
- package/dist/esm/roles/endpoints/system.delete.js +108 -0
- package/dist/esm/roles/endpoints/system.delete.js.map +1 -0
- package/dist/esm/roles/endpoints/system.get.js +101 -0
- package/dist/esm/roles/endpoints/system.get.js.map +1 -0
- package/dist/esm/roles/endpoints/system.patch.js +114 -0
- package/dist/esm/roles/endpoints/system.patch.js.map +1 -0
- package/dist/esm/roles/endpoints/systems.get.js +113 -0
- package/dist/esm/roles/endpoints/systems.get.js.map +1 -0
- package/dist/esm/roles/endpoints/systems.post.js +113 -0
- package/dist/esm/roles/endpoints/systems.post.js.map +1 -0
- package/dist/esm/roles/index.js +190 -0
- package/dist/esm/roles/index.js.map +1 -0
- package/dist/esm/roles/static.js +29 -0
- package/dist/esm/roles/static.js.map +1 -0
- package/dist/esm/roles/types.js +7 -0
- package/dist/esm/roles/types.js.map +1 -0
- package/dist/esm/roles/v1/schemas/access-role-mapping-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/access-role-mapping-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/add-role-access-role-request-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/add-role-access-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-access-role-assignment-schema-v1.js +46 -0
- package/dist/esm/roles/v1/schemas/api-access-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-access-role-mapping-schema-v1.js +15 -0
- package/dist/esm/roles/v1/schemas/api-access-role-mapping-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-access-role-schema-v1.js +16 -0
- package/dist/esm/roles/v1/schemas/api-access-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-access-role-assignment-schema-v1.js +46 -0
- package/dist/esm/roles/v1/schemas/api-account-access-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-access-role-schema-v1.js +9 -0
- package/dist/esm/roles/v1/schemas/api-account-access-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.js +21 -0
- package/dist/esm/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-role-assignment-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/api-account-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-account-schema-v1.js +25 -0
- package/dist/esm/roles/v1/schemas/api-account-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-binding-execution-record-schema-v1.js +52 -0
- package/dist/esm/roles/v1/schemas/api-binding-execution-record-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-binding-notification-record-schema-v1.js +32 -0
- package/dist/esm/roles/v1/schemas/api-binding-notification-record-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.js +15 -0
- package/dist/esm/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.js +21 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-schema-v1.js +48 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-schema-v1.js +18 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-scope-schema-v1.js +16 -0
- package/dist/esm/roles/v1/schemas/api-claimable-role-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.js +25 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.js +51 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.js +18 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.js +41 -0
- package/dist/esm/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-extended-access-role-schema-v1.js +9 -0
- package/dist/esm/roles/v1/schemas/api-extended-access-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.js +24 -0
- package/dist/esm/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-owner-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/api-owner-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-paged-collection-schema-v1.js +41 -0
- package/dist/esm/roles/v1/schemas/api-paged-collection-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-purge-binding-result-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/api-purge-binding-result-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-role-assignment-schema-v1.js +38 -0
- package/dist/esm/roles/v1/schemas/api-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-role-binding-configuration-schema-v1.js +36 -0
- package/dist/esm/roles/v1/schemas/api-role-binding-configuration-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.js +28 -0
- package/dist/esm/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-role-schema-v1.js +24 -0
- package/dist/esm/roles/v1/schemas/api-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-role-scope-schema-v1.js +16 -0
- package/dist/esm/roles/v1/schemas/api-role-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-scope-schema-v1.js +16 -0
- package/dist/esm/roles/v1/schemas/api-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-scope-type-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/api-scope-type-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-scope-values-schema-v1.js +22 -0
- package/dist/esm/roles/v1/schemas/api-scope-values-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-simple-claimable-role-schema-v1.js +27 -0
- package/dist/esm/roles/v1/schemas/api-simple-claimable-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-simple-role-assignment-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/api-simple-role-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-simple-role-schema-v1.js +18 -0
- package/dist/esm/roles/v1/schemas/api-simple-role-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-simple-system-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/api-simple-system-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-subscription-type-schema-v1.js +6 -0
- package/dist/esm/roles/v1/schemas/api-subscription-type-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/api-system-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/api-system-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/assign-access-role-request-schema-v1.js +32 -0
- package/dist/esm/roles/v1/schemas/assign-access-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/assign-claimable-role-request-schema-v1.js +32 -0
- package/dist/esm/roles/v1/schemas/assign-claimable-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/assign-role-request-schema-v1.js +32 -0
- package/dist/esm/roles/v1/schemas/assign-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/claimable-role-binding-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/claimable-role-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-access-role-request-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/create-access-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-binding-execution-record-request-schema-v1.js +49 -0
- package/dist/esm/roles/v1/schemas/create-binding-execution-record-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-binding-execution-record-response-schema-v1.js +9 -0
- package/dist/esm/roles/v1/schemas/create-binding-execution-record-response-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-binding-notification-record-request-schema-v1.js +23 -0
- package/dist/esm/roles/v1/schemas/create-binding-notification-record-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-binding-notification-record-response-schema-v1.js +9 -0
- package/dist/esm/roles/v1/schemas/create-binding-notification-record-response-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-claimable-role-request-schema-v1.js +27 -0
- package/dist/esm/roles/v1/schemas/create-claimable-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.js +27 -0
- package/dist/esm/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-role-request-schema-v1.js +27 -0
- package/dist/esm/roles/v1/schemas/create-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/create-scope-type-request-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/create-scope-type-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/delete-role-assignments-request-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/delete-role-assignments-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/entra-group-binding-schema-v1.js +24 -0
- package/dist/esm/roles/v1/schemas/entra-group-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/entra-group-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/entra-group-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/expand-schema-v1.js +4 -0
- package/dist/esm/roles/v1/schemas/expand-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/filter-schema-v1.js +4 -0
- package/dist/esm/roles/v1/schemas/filter-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/include-deleted-schema-v1.js +7 -0
- package/dist/esm/roles/v1/schemas/include-deleted-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-assign-entry-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/org-chart-assign-entry-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-assignment-schema-v1.js +18 -0
- package/dist/esm/roles/v1/schemas/org-chart-assignment-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-binding-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/org-chart-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-context-schema-v1.js +22 -0
- package/dist/esm/roles/v1/schemas/org-chart-context-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-match-criteria-schema-v1.js +16 -0
- package/dist/esm/roles/v1/schemas/org-chart-match-criteria-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-profile-schema-v1.js +15 -0
- package/dist/esm/roles/v1/schemas/org-chart-profile-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-rule-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/org-chart-rule-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/org-chart-scope-schema-v1.js +20 -0
- package/dist/esm/roles/v1/schemas/org-chart-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/owner-info-schema-v1.js +11 -0
- package/dist/esm/roles/v1/schemas/owner-info-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/register-system-request-schema-v1.js +17 -0
- package/dist/esm/roles/v1/schemas/register-system-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/request-claimable-role-scope-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/request-claimable-role-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/request-role-scope-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/request-role-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/request-scope-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/request-scope-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/role-binding-configuration-binding-schema-v1.js +13 -0
- package/dist/esm/roles/v1/schemas/role-binding-configuration-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/role-binding-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/role-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/scope-binding-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/scope-binding-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/skip-schema-v1.js +9 -0
- package/dist/esm/roles/v1/schemas/skip-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/subscription-request-schema-v1.js +19 -0
- package/dist/esm/roles/v1/schemas/subscription-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/top-schema-v1.js +10 -0
- package/dist/esm/roles/v1/schemas/top-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-access-role-assignment-request-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/update-access-role-assignment-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-access-role-request-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/update-access-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-claimable-role-request-schema-v1.js +22 -0
- package/dist/esm/roles/v1/schemas/update-claimable-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-role-assignment-request-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/update-role-assignment-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.js +32 -0
- package/dist/esm/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.js +14 -0
- package/dist/esm/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-role-request-schema-v1.js +22 -0
- package/dist/esm/roles/v1/schemas/update-role-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-scope-request-schema-v1.js +12 -0
- package/dist/esm/roles/v1/schemas/update-scope-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/schemas/update-system-request-schema-v1.js +18 -0
- package/dist/esm/roles/v1/schemas/update-system-request-schema-v1.js.map +1 -0
- package/dist/esm/roles/v1/types.js +19 -0
- package/dist/esm/roles/v1/types.js.map +1 -0
- package/dist/esm/types.js +2 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/utils.js +118 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/esm/version.js +3 -0
- package/dist/esm/version.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/roles/endpoints/access-roles.get.d.ts +136 -0
- package/dist/types/roles/endpoints/account-access-role-assignments.get.d.ts +275 -0
- package/dist/types/roles/endpoints/account-active-access-role-assignments.get.d.ts +118 -0
- package/dist/types/roles/endpoints/account-claimable-role-assignment-activation.get.d.ts +123 -0
- package/dist/types/roles/endpoints/account-claimable-role-assignment-activation.post.d.ts +127 -0
- package/dist/types/roles/endpoints/account-claimable-role-assignment-deactivation.post.d.ts +123 -0
- package/dist/types/roles/endpoints/account-claimable-role-assignments.get.d.ts +230 -0
- package/dist/types/roles/endpoints/account-consolidated-claimable-role-assignments.get.d.ts +150 -0
- package/dist/types/roles/endpoints/account-consolidated-role-assignments.get.d.ts +146 -0
- package/dist/types/roles/endpoints/account-role-assignments.get.d.ts +197 -0
- package/dist/types/roles/endpoints/claimable-role-access-role.delete.d.ts +105 -0
- package/dist/types/roles/endpoints/claimable-role-access-roles.post.d.ts +150 -0
- package/dist/types/roles/endpoints/claimable-role-assignment-activations-by-assignment.get.d.ts +150 -0
- package/dist/types/roles/endpoints/claimable-role-assignment-activations.get.d.ts +187 -0
- package/dist/types/roles/endpoints/claimable-role-assignment.delete.d.ts +106 -0
- package/dist/types/roles/endpoints/claimable-role-assignment.get.d.ts +152 -0
- package/dist/types/roles/endpoints/claimable-role-assignment.patch.d.ts +158 -0
- package/dist/types/roles/endpoints/claimable-role-assignments-by-external-identifier.delete.d.ts +113 -0
- package/dist/types/roles/endpoints/claimable-role-assignments.get.d.ts +211 -0
- package/dist/types/roles/endpoints/claimable-role-assignments.post.d.ts +168 -0
- package/dist/types/roles/endpoints/claimable-role.delete.d.ts +100 -0
- package/dist/types/roles/endpoints/claimable-role.get.d.ts +141 -0
- package/dist/types/roles/endpoints/claimable-role.patch.d.ts +149 -0
- package/dist/types/roles/endpoints/claimable-roles.get.d.ts +199 -0
- package/dist/types/roles/endpoints/claimable-roles.post.d.ts +150 -0
- package/dist/types/roles/endpoints/public-schema.get.d.ts +98 -0
- package/dist/types/roles/endpoints/role-access-role.delete.d.ts +104 -0
- package/dist/types/roles/endpoints/role-access-roles.post.d.ts +150 -0
- package/dist/types/roles/endpoints/role-assignment.delete.d.ts +104 -0
- package/dist/types/roles/endpoints/role-assignment.get.d.ts +138 -0
- package/dist/types/roles/endpoints/role-assignment.patch.d.ts +140 -0
- package/dist/types/roles/endpoints/role-assignments-by-external-identifier.delete.d.ts +109 -0
- package/dist/types/roles/endpoints/role-assignments-delete.post.d.ts +108 -0
- package/dist/types/roles/endpoints/role-assignments.get.d.ts +184 -0
- package/dist/types/roles/endpoints/role-assignments.post.d.ts +151 -0
- package/dist/types/roles/endpoints/role-binding-configuration-expired-history.delete.d.ts +109 -0
- package/dist/types/roles/endpoints/role-binding-configuration-history.get.d.ts +145 -0
- package/dist/types/roles/endpoints/role-binding-configuration-history.post.d.ts +125 -0
- package/dist/types/roles/endpoints/role-binding-configuration-notifications.get.d.ts +140 -0
- package/dist/types/roles/endpoints/role-binding-configuration-notifications.post.d.ts +122 -0
- package/dist/types/roles/endpoints/role-binding-configuration-status.get.d.ts +110 -0
- package/dist/types/roles/endpoints/role-binding-configuration-status.patch.d.ts +117 -0
- package/dist/types/roles/endpoints/role-binding-configuration.delete.d.ts +100 -0
- package/dist/types/roles/endpoints/role-binding-configuration.get.d.ts +117 -0
- package/dist/types/roles/endpoints/role-binding-configuration.patch.d.ts +171 -0
- package/dist/types/roles/endpoints/role-binding-configurations.get.d.ts +115 -0
- package/dist/types/roles/endpoints/role-binding-configurations.post.d.ts +173 -0
- package/dist/types/roles/endpoints/role.delete.d.ts +100 -0
- package/dist/types/roles/endpoints/role.get.d.ts +144 -0
- package/dist/types/roles/endpoints/role.patch.d.ts +149 -0
- package/dist/types/roles/endpoints/roles-subscription.put.d.ts +110 -0
- package/dist/types/roles/endpoints/roles.get.d.ts +197 -0
- package/dist/types/roles/endpoints/roles.post.d.ts +152 -0
- package/dist/types/roles/endpoints/scope-type.delete.d.ts +100 -0
- package/dist/types/roles/endpoints/scope-type.get.d.ts +100 -0
- package/dist/types/roles/endpoints/scope-type.patch.d.ts +110 -0
- package/dist/types/roles/endpoints/scope-types.get.d.ts +97 -0
- package/dist/types/roles/endpoints/scope-types.post.d.ts +106 -0
- package/dist/types/roles/endpoints/system-access-role-assignment.delete.d.ts +109 -0
- package/dist/types/roles/endpoints/system-access-role-assignment.get.d.ts +182 -0
- package/dist/types/roles/endpoints/system-access-role-assignment.patch.d.ts +186 -0
- package/dist/types/roles/endpoints/system-access-role-assignments.get.d.ts +267 -0
- package/dist/types/roles/endpoints/system-access-role-assignments.post.d.ts +194 -0
- package/dist/types/roles/endpoints/system-access-role.delete.d.ts +104 -0
- package/dist/types/roles/endpoints/system-access-role.get.d.ts +111 -0
- package/dist/types/roles/endpoints/system-access-role.patch.d.ts +117 -0
- package/dist/types/roles/endpoints/system-access-roles.get.d.ts +109 -0
- package/dist/types/roles/endpoints/system-access-roles.post.d.ts +117 -0
- package/dist/types/roles/endpoints/system.delete.d.ts +97 -0
- package/dist/types/roles/endpoints/system.get.d.ts +110 -0
- package/dist/types/roles/endpoints/system.patch.d.ts +123 -0
- package/dist/types/roles/endpoints/systems.get.d.ts +138 -0
- package/dist/types/roles/endpoints/systems.post.d.ts +122 -0
- package/dist/types/roles/index.d.ts +191 -0
- package/dist/types/roles/static.d.ts +27 -0
- package/dist/types/roles/types.d.ts +22 -0
- package/dist/types/roles/v1/schemas/access-role-mapping-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/activate-assigned-claimable-role-request-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/add-claimable-role-access-role-request-schema-v1.d.ts +16 -0
- package/dist/types/roles/v1/schemas/add-role-access-role-request-schema-v1.d.ts +15 -0
- package/dist/types/roles/v1/schemas/api-access-role-assignment-schema-v1.d.ts +82 -0
- package/dist/types/roles/v1/schemas/api-access-role-mapping-schema-v1.d.ts +22 -0
- package/dist/types/roles/v1/schemas/api-access-role-schema-v1.d.ts +19 -0
- package/dist/types/roles/v1/schemas/api-account-access-role-assignment-schema-v1.d.ts +88 -0
- package/dist/types/roles/v1/schemas/api-account-access-role-schema-v1.d.ts +25 -0
- package/dist/types/roles/v1/schemas/api-account-active-access-role-assignment-schema-v1.d.ts +21 -0
- package/dist/types/roles/v1/schemas/api-account-claimable-role-assignment-schema-v1.d.ts +69 -0
- package/dist/types/roles/v1/schemas/api-account-role-assignment-schema-v1.d.ts +52 -0
- package/dist/types/roles/v1/schemas/api-account-schema-v1.d.ts +17 -0
- package/dist/types/roles/v1/schemas/api-binding-execution-record-schema-v1.d.ts +23 -0
- package/dist/types/roles/v1/schemas/api-binding-notification-record-schema-v1.d.ts +20 -0
- package/dist/types/roles/v1/schemas/api-claimable-access-role-mapping-schema-v1.d.ts +23 -0
- package/dist/types/roles/v1/schemas/api-claimable-role-assignment-activation-schema-v1.d.ts +24 -0
- package/dist/types/roles/v1/schemas/api-claimable-role-assignment-schema-v1.d.ts +57 -0
- package/dist/types/roles/v1/schemas/api-claimable-role-schema-v1.d.ts +52 -0
- package/dist/types/roles/v1/schemas/api-claimable-role-scope-schema-v1.d.ts +15 -0
- package/dist/types/roles/v1/schemas/api-consolidated-assignment-entry-schema-v1.d.ts +18 -0
- package/dist/types/roles/v1/schemas/api-consolidated-claimable-role-assignment-schema-v1.d.ts +47 -0
- package/dist/types/roles/v1/schemas/api-consolidated-claimable-role-ref-schema-v1.d.ts +16 -0
- package/dist/types/roles/v1/schemas/api-consolidated-role-assignment-schema-v1.d.ts +48 -0
- package/dist/types/roles/v1/schemas/api-extended-access-role-schema-v1.d.ts +24 -0
- package/dist/types/roles/v1/schemas/api-extended-claimable-role-assignment-activation-schema-v1.d.ts +52 -0
- package/dist/types/roles/v1/schemas/api-owner-schema-v1.d.ts +20 -0
- package/dist/types/roles/v1/schemas/api-paged-collection-schema-v1.d.ts +37 -0
- package/dist/types/roles/v1/schemas/api-purge-binding-result-schema-v1.d.ts +12 -0
- package/dist/types/roles/v1/schemas/api-role-assignment-schema-v1.d.ts +42 -0
- package/dist/types/roles/v1/schemas/api-role-binding-configuration-schema-v1.d.ts +23 -0
- package/dist/types/roles/v1/schemas/api-role-binding-configuration-status-schema-v1.d.ts +18 -0
- package/dist/types/roles/v1/schemas/api-role-schema-v1.d.ts +51 -0
- package/dist/types/roles/v1/schemas/api-role-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/api-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/api-scope-type-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/api-scope-values-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/api-simple-claimable-role-assignment-schema-v1.d.ts +37 -0
- package/dist/types/roles/v1/schemas/api-simple-claimable-role-schema-v1.d.ts +32 -0
- package/dist/types/roles/v1/schemas/api-simple-role-assignment-schema-v1.d.ts +22 -0
- package/dist/types/roles/v1/schemas/api-simple-role-schema-v1.d.ts +19 -0
- package/dist/types/roles/v1/schemas/api-simple-system-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/api-subscription-type-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/api-system-schema-v1.d.ts +26 -0
- package/dist/types/roles/v1/schemas/assign-access-role-request-schema-v1.d.ts +24 -0
- package/dist/types/roles/v1/schemas/assign-claimable-role-request-schema-v1.d.ts +24 -0
- package/dist/types/roles/v1/schemas/assign-role-request-schema-v1.d.ts +24 -0
- package/dist/types/roles/v1/schemas/claimable-role-binding-schema-v1.d.ts +18 -0
- package/dist/types/roles/v1/schemas/create-access-role-request-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/create-binding-execution-record-request-schema-v1.d.ts +21 -0
- package/dist/types/roles/v1/schemas/create-binding-execution-record-response-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/create-binding-notification-record-request-schema-v1.d.ts +17 -0
- package/dist/types/roles/v1/schemas/create-binding-notification-record-response-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/create-claimable-role-request-schema-v1.d.ts +19 -0
- package/dist/types/roles/v1/schemas/create-role-binding-configuration-request-schema-v1.d.ts +81 -0
- package/dist/types/roles/v1/schemas/create-role-request-schema-v1.d.ts +19 -0
- package/dist/types/roles/v1/schemas/create-scope-type-request-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/delete-role-assignments-request-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/entra-group-binding-schema-v1.d.ts +35 -0
- package/dist/types/roles/v1/schemas/entra-group-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/expand-schema-v1.d.ts +11 -0
- package/dist/types/roles/v1/schemas/filter-schema-v1.d.ts +10 -0
- package/dist/types/roles/v1/schemas/include-deleted-schema-v1.d.ts +11 -0
- package/dist/types/roles/v1/schemas/org-chart-assign-entry-schema-v1.d.ts +18 -0
- package/dist/types/roles/v1/schemas/org-chart-assignment-schema-v1.d.ts +29 -0
- package/dist/types/roles/v1/schemas/org-chart-binding-schema-v1.d.ts +48 -0
- package/dist/types/roles/v1/schemas/org-chart-context-schema-v1.d.ts +15 -0
- package/dist/types/roles/v1/schemas/org-chart-match-criteria-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/org-chart-profile-schema-v1.d.ts +38 -0
- package/dist/types/roles/v1/schemas/org-chart-rule-schema-v1.d.ts +35 -0
- package/dist/types/roles/v1/schemas/org-chart-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/owner-info-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/register-system-request-schema-v1.d.ts +17 -0
- package/dist/types/roles/v1/schemas/request-claimable-role-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/request-role-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/request-scope-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/role-binding-configuration-binding-schema-v1.d.ts +78 -0
- package/dist/types/roles/v1/schemas/role-binding-schema-v1.d.ts +18 -0
- package/dist/types/roles/v1/schemas/scope-binding-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/skip-schema-v1.d.ts +11 -0
- package/dist/types/roles/v1/schemas/subscription-request-schema-v1.d.ts +19 -0
- package/dist/types/roles/v1/schemas/top-schema-v1.d.ts +11 -0
- package/dist/types/roles/v1/schemas/update-access-role-assignment-request-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/update-access-role-request-schema-v1.d.ts +12 -0
- package/dist/types/roles/v1/schemas/update-claimable-role-assignment-request-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/update-claimable-role-request-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/update-role-assignment-request-schema-v1.d.ts +13 -0
- package/dist/types/roles/v1/schemas/update-role-binding-configuration-request-schema-v1.d.ts +79 -0
- package/dist/types/roles/v1/schemas/update-role-binding-configuration-status-request-schema-v1.d.ts +15 -0
- package/dist/types/roles/v1/schemas/update-role-request-schema-v1.d.ts +14 -0
- package/dist/types/roles/v1/schemas/update-scope-request-schema-v1.d.ts +12 -0
- package/dist/types/roles/v1/schemas/update-system-request-schema-v1.d.ts +16 -0
- package/dist/types/roles/v1/types.d.ts +109 -0
- package/dist/types/types.d.ts +173 -0
- package/dist/types/utils.d.ts +97 -0
- package/dist/types/version.d.ts +1 -0
- package/docs/roles.md +211 -0
- package/package.json +62 -0
- 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, };
|