open-index/open-npm huggingface dataset:
npm package: @redhat-cloud-services/approval-client
Description: If you want to use [ManageIQ/approval-api](https://github.com/ManageIQ/approval-api) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 1.2.13

# Javascript client for Approval API
If you want to use [ManageIQ/approval-api](https://github.com/ManageIQ/approval-api) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/approval-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/approval-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

To correctly bootstrap this API you should use this config (no need to define it multiple times, just one config and reimport it anywhere you want to use it).
```JS
// api.js
import axios from 'axios';
import { ActionApi } from '@redhat-cloud-services/approval-client';
const instance = axios.create();

// BASE_PATH should be set in your constants file
const actionsApi = new ActionApi(undefined, BASE_PATH, instance);
export actionsApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
// api.js
import axios from 'axios';
import { ActionApi } from '@redhat-cloud-services/approval-client';
const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const actionsApi = new ActionApi(undefined, BASE_PATH, instance);
export actionsApi;
```

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/catalog-client
Description: If you want to use [ManageIQ/catalog-api](https://github.com/ManageIQ/catalog-api) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 1.2.14

# Javascript client for Catalog API
If you want to use [ManageIQ/catalog-api](https://github.com/ManageIQ/catalog-api) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/catalog-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/catalog-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

To correctly bootstrap this API you should use this config (no need to define it multiple times, just one config and reimport it anywhere you want to use it).
```JS
// api.js
import axios from 'axios';
import { AdminsApi } from '@redhat-cloud-services/catalog-client';
const instance = axios.create();

// BASE_PATH should be set in your constants file
const adminsApi = new AdminsApi(undefined, BASE_PATH, instance);
export adminsApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
// api.js
import axios from 'axios';
import { AdminsApi } from '@redhat-cloud-services/catalog-client';
const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const adminsApi = new AdminsApi(undefined, BASE_PATH, instance);
export adminsApi;
```

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/cost-management-client
Description: A generated javascript client for Cost Management
Latest version: 1.0.112


Javascript client for Cost Management API
=======================================

This is a client library for [RedHatInsights/Cost Management](https://github.com/project-koku).

Install
-------

NPM

```bash
npm install --save @redhat-cloud-services/cost-management-client
```

Or Yarn

```bash
yarn add @redhat-cloud-services/cost-management-client
```

### Usage

This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

```js
import { CostModelApi } from '@redhat-cloud-services/cost-management-client';

const api = new CostModelApi();
const costManagement = await api.getCostModel();
```

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/eslint-config-redhat-cloud-services
Description: Recommended eslint configuration used in cloud.redhat.com frontend apps.
Latest version: 3.0.33

# frontend-components

Monorepo of Red Hat Cloud services Components for applications in a React.js environment.

## Packages
* [utils](https://github.com/RedHatInsights/frontend-components/tree/master/packages/utils#readme) - library that has utilities functions
* [charts](https://github.com/RedHatInsights/frontend-components/tree/master/packages/charts#readme) - small group of general charts
* [components](https://github.com/RedHatInsights/frontend-components/tree/master/packages/components#readme) - series of common components
* [notifications](https://github.com/RedHatInsights/frontend-components/tree/master/packages/notifications#readme) - common component to display toast notifications
* [remediations](https://github.com/RedHatInsights/frontend-components/tree/master/packages/remediations#readme) - hot loaded component that shows remediations buton and wizard
* [inventory](https://github.com/RedHatInsights/insights-inventory-frontend) - Inventory packages moved to Inventory UI repository
* [sources](https://github.com/RedHatInsights/sources-ui/) - Sources Wizard component was moved to Sources UI repository (it's also stored here in `sources_backup` branch)
* [testing](https://github.com/RedHatInsights/frontend-components/tree/master/packages/testing) - Testing utilities.
* [advisor-components](https://github.com/RedHatInsights/frontend-components/tree/master/packages/advisor-components#readme) - a library of Advisor components (rule content, report details, charts, etc.).


## [Please read our contribution guide](./CONTRIBUTING.md)
npm package: @redhat-cloud-services/frontend-components-charts
Description: Charts for RedHat Cloud Services project.
Latest version: 3.2.6
Deprecated: Do not use the version 3.7.6

# RedHat Cloud Services frontend components - charts
[![npm version](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-charts.svg)](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-charts)

This small package has a few chart components predefined to suit cloud services needs. These charts are built on top of D3 and C3 libraries.

## Installation
With npm 
```bash
npm i -S @redhat-cloud-services/frontend-components-charts
```

With yarn
```bash
yarn add @redhat-cloud-services/frontend-components-charts
```

This package is dependent on [@redhat-cloud-services/frontend-components-utilities](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components-utilities) and will automatically install it trough direct dependencies.


## Documentation Links

* Charts
  * [donut](doc/donut.md)
  * [gauge](doc/gauge.md)
  * [matrix](doc/matrix.md)
  * [pie](doc/pie.md)
  * [severityLine](doc/severityLine.md)
npm package: @redhat-cloud-services/frontend-components-inventory-general-info
Description: System info detail for RedHat Cloud Services project.
Latest version: 3.4.0

# RedHat Cloud Services frontend components - inventory general info
[![npm version](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-inventory-general-info.svg)](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-inventory-general-info)

This package exports components to show system info page and reducers with actions to fetch and store data.

## !!!This package is deprecated!!!

Do not use this package anymore, if you want to use general information detail you can use federated modules provided by inventory team

```JSX
import React from 'react';
import { useStore } from 'react-redux';
import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent';

const GeneralInfo = () => {
    const store = useStore();
    return <AsyncComponent
        appName="inventory"
        module="./SystemDetail"
        store={store}
    />;
};

export default GeneralInfo;
```
## Installation
With NPM
```bash
npm i -S @redhat-cloud-services/frontend-components-inventory-general-info
```

With yarn
```bash
yarn add @redhat-cloud-services/frontend-components-inventory-general-info
```

This package is dependent on [@redhat-cloud-services/frontend-components-utilities](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components-utilities), [@redhat-cloud-services/frontend-components](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components) and [@redhat-cloud-services/host-inventory-client](https://www.npmjs.com/package/@redhat-cloud-services/host-inventory-client) will automatically install them trough direct dependencies.
npm package: @redhat-cloud-services/frontend-components-inventory-insights
Description: Advisor recommendation detail page for RedHat Cloud Services project.
Latest version: 3.2.3

# RedHat Cloud Services frontend components - inventory insights
[![npm version](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-inventory-insights.svg)](https://badge.fury.io/js/%40redhat-cloud-services%2Ffrontend-components-inventory-insights)


This package exports components to show rules detail page.

## !!!This package is deprecated!!!

Do not use this package anymore, if you want to use advisor detail you can use federated modules provided by advisor team

```JSX
import React from 'react';
import { useStore } from 'react-redux';
import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent';

const AdvisorTab = () => {
    const store = useStore();
    return <AsyncComponent
        appName="advisor"
        module="./SystemDetail"
        store={store}
        customItnl
        intlProps={{
            locale: navigator.language
        }}
    />;
};

export default AdvisorTab;
```

## Installation
With NPM
```bash
npm i -S @redhat-cloud-services/frontend-components-inventory-insights
```

With yarn
```bash
yarn add @redhat-cloud-services/frontend-components-inventory-insights
```

This package is dependent on [@redhat-cloud-services/frontend-components-utilities](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components-utilities), [@redhat-cloud-services/frontend-components](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components), [@redhat-cloud-services/frontend-components-remediations](https://www.npmjs.com/package/@redhat-cloud-services/frontend-components-remediations) and [@redhat-cloud-services/frontend-components-notifications](@redhat-cloud-services/frontend-components-notifications) will automatically install them trough direct dependencies.


## Migration v2 -> v3

### Import paths

Its no longer required to directly reference cjs/esm version of the builds.

```diff
- import InventoryInsights from '@redhat-cloud-services/frontend-components-inventory-insights/esm'
+ import InventoryInsights from '@redhat-cloud-services/frontend-components-inventory-insights'
```

### Styling

It is no longer required to import css separatelly. Styles are injected automatically when the component is used

```diff
- @import '@redhat-cloud-services/frontend-components/index.css';

```
npm package: @redhat-cloud-services/hcc-kessel-mcp
Description: MCP server for HCC service permission mapping and Kessel (v2) migration
Author: Red Hat Cloud Services
Latest version: 0.2.1

# @redhat-cloud-services/hcc-kessel-mcp

An MCP (Model Context Protocol) server that provides live RBAC v1 → Kessel (v2) permission mappings for HCC frontend applications, sourced directly from the [rbac-config KSL schemas](https://github.com/RedHatInsights/rbac-config/tree/master/configs/prod/schemas/src).

## Tools

| Tool | Description |
|------|-------------|
| `listServices` | List all HCC services with Kessel permission schemas |
| `getServicePermissions` | Get all v1 → v2 mappings for a specific service |
| `getKesselPermission` | Look up the v2 relation for a v1 permission (supports wildcards) |
| `getMigrationExample` | Generate a `useSelfAccessCheck` code snippet for a v1 permission |

## Usage

### Claude Code (user-scoped)

```sh
claude mcp add --scope user hcc-rbac-kessel-local -- npx -y @redhat-cloud-services/hcc-kessel-mcp
```

### Claude Code (project-scoped)

Add to `.mcp.json` in your project root:

```json
{
  "mcpServers": {
    "hcc-rbac-kessel-local": {
      "command": "npx",
      "args": ["-y", "@redhat-cloud-services/hcc-kessel-mcp"]
    }
  }
}
```

## Examples

**Look up a v2 relation:**
> What's the v2 relation for `notifications:events:read`?

**Expand a wildcard:**
> What are all the v2 relations for `notifications:*:*`?

**Generate migration code:**
> Show me how to check for `advisor:recommendation_results:read` using the React Kessel SDK.

## License

Apache-2.0
npm package: @redhat-cloud-services/javascript-clients-shared
Description: If you want to use [RedHatInsights/shared](https://github.com/RedHatInsights/shared) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 2.0.5

# Javascript client for the shared API
If you want to use [RedHatInsights/shared](https://github.com/RedHatInsights/shared) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/shared-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/shared-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

This package comes with a client in its `api.ts` already defined with every call available. 
```JS
`import sharedClient from '@redhat-cloud-services/javascript-clients-shared/utils';

sharedClient.someEndpoint();
```

To bootstrap this API manually, you should create your own client via the `APIFactory` defined in the `@redhat-cloud-services/javascript-clients-shared` package. See below for an example:
```JS
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils'; 
import exampleEndpoint from '@redhat-cloud-services/shared-client/ExampleEndpoint';

// BASE_PATH should be set in your constants file
const sharedApi = APIFactory(BASE_PATH, undefined, { exampleEndpoint });
export sharedApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
import axios from 'axios';
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
import exampleEndpoint from '@redhat-cloud-services/shared-client/ExampleEndpoint';

const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const sharedApi = APIFactory(BASE_PATH, instance, { exampleEndpoint });
export sharedApi;
```
## Generating

Ensure you have the javascript-clients generator built first with `npm run build:generator`. Then, run `nx run @redhat-cloud-services/shared-client:generate` to generate the package.

## Building

Run `nx run @redhat-cloud-services/shared-client:build` to build the package. This creates the `dist` for publishing.

## Running unit tests

Run `nx run @redhat-cloud-services/shared-client:test` to execute the unit tests via [Jest](https://jestjs.io).

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/keycloak-js
Description: Keycloak Adapter
Author: Keycloak
Latest version: 0.0.3

Keycloak JavaScript Adapter
===========================

JavaScript adapter for [Keycloak](http://www.keycloak.org/). For documentation see our [Securing Clients and Applications Guide](http://www.keycloak.org/docs/latest/securing_apps/index.html#_javascript_adapter).

## Issues

For general questions not covered by the documentation please send a mail to our [user mailing list](https://lists.jboss.org/mailman/listinfo/keycloak-user).

To report and bugs or request new features please create an issue in [JIRA](https://issues.jboss.org/browse/KEYCLOAK).

## Reporting security vulnerabilities

If you've found a security vulnerability, please look at the [instructions on how to properly report it](http://www.keycloak.org/security.html)

## Contributions

To provide a contribution send a PR to:	https://github.com/keycloak/keycloak/blob/master/adapters/oidc/js/src/main/resources/keycloak.js.
npm package: @redhat-cloud-services/policies-client
Description: If you want to use [RedHatInsights/policies](https://github.com/RedHatInsights/policies) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 3.0.7

# Javascript client for the policies API
If you want to use [RedHatInsights/policies](https://github.com/RedHatInsights/policies) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/policies-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/policies-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

This package comes with a client in its `api.ts` already defined with every call available. 
```JS
`import policiesClient from '@redhat-cloud-services/javascript-clients-shared/utils';

policiesClient.someEndpoint();
```

To bootstrap this API manually, you should create your own client via the `APIFactory` defined in the `@redhat-cloud-services/javascript-clients-shared` package. See below for an example:
```JS
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils'; 
import exampleEndpoint from '@redhat-cloud-services/policies-client/ExampleEndpoint';

// BASE_PATH should be set in your constants file
const policiesApi = APIFactory(BASE_PATH, undefined, { exampleEndpoint });
export policiesApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
import axios from 'axios';
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
import exampleEndpoint from '@redhat-cloud-services/policies-client/ExampleEndpoint';

const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const policiesApi = APIFactory(BASE_PATH, instance, { exampleEndpoint });
export policiesApi;
```
## Generating

Ensure you have the javascript-clients generator built first with `npm run build:generator`. Then, run `nx run @redhat-cloud-services/policies-client:generate` to generate the package.

## Building

Run `nx run @redhat-cloud-services/policies-client:build` to build the package. This creates the `dist` for publishing.

## Running unit tests

Run `nx run @redhat-cloud-services/policies-client:test` to execute the unit tests via [Jest](https://jestjs.io).

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/sources-client
Description: If you want to use [RedHatInsights/sources](https://github.com/RedHatInsights/sources) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 3.0.7

# Javascript client for the sources API
If you want to use [RedHatInsights/sources](https://github.com/RedHatInsights/sources) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/sources-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/sources-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

This package comes with a client in its `api.ts` already defined with every call available. 
```JS
`import sourcesClient from '@redhat-cloud-services/javascript-clients-shared/utils';

sourcesClient.someEndpoint();
```

To bootstrap this API manually, you should create your own client via the `APIFactory` defined in the `@redhat-cloud-services/javascript-clients-shared` package. See below for an example:
```JS
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils'; 
import exampleEndpoint from '@redhat-cloud-services/sources-client/ExampleEndpoint';

// BASE_PATH should be set in your constants file
const sourcesApi = APIFactory(BASE_PATH, undefined, { exampleEndpoint });
export sourcesApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
import axios from 'axios';
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
import exampleEndpoint from '@redhat-cloud-services/sources-client/ExampleEndpoint';

const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const sourcesApi = APIFactory(BASE_PATH, instance, { exampleEndpoint });
export sourcesApi;
```
## Generating

Ensure you have the javascript-clients generator built first with `npm run build:generator`. Then, run `nx run @redhat-cloud-services/sources-client:generate` to generate the package.

## Building

Run `nx run @redhat-cloud-services/sources-client:build` to build the package. This creates the `dist` for publishing.

## Running unit tests

Run `nx run @redhat-cloud-services/sources-client:test` to execute the unit tests via [Jest](https://jestjs.io).

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/topological-inventory-client
Description: If you want to use [RedHatInsights/topological-inventory](https://github.com/RedHatInsights/topological-inventory) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 3.0.7

# Javascript client for the topological-inventory API
If you want to use [RedHatInsights/topological-inventory](https://github.com/RedHatInsights/topological-inventory) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/topological-inventory-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/topological-inventory-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

This package comes with a client in its `api.ts` already defined with every call available. 
```JS
`import topological-inventoryClient from '@redhat-cloud-services/javascript-clients-shared/utils';

topological-inventoryClient.someEndpoint();
```

To bootstrap this API manually, you should create your own client via the `APIFactory` defined in the `@redhat-cloud-services/javascript-clients-shared` package. See below for an example:
```JS
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils'; 
import exampleEndpoint from '@redhat-cloud-services/topological-inventory-client/ExampleEndpoint';

// BASE_PATH should be set in your constants file
const topologicalInventoryApi = APIFactory(BASE_PATH, undefined, { exampleEndpoint });
export topologicalInventoryApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
import axios from 'axios';
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
import exampleEndpoint from '@redhat-cloud-services/topological-inventory-client/ExampleEndpoint';

const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const topologicalInventoryApi = APIFactory(BASE_PATH, instance, { exampleEndpoint });
export topologicalInventoryApi;
```
## Generating

Ensure you have the javascript-clients generator built first with `npm run build:generator`. Then, run `nx run @redhat-cloud-services/topological-inventory-client:generate` to generate the package.

## Building

Run `nx run @redhat-cloud-services/topological-inventory-client:build` to build the package. This creates the `dist` for publishing.

## Running unit tests

Run `nx run @redhat-cloud-services/topological-inventory-client:test` to execute the unit tests via [Jest](https://jestjs.io).

## API documentation

* [README](doc/README.md)
npm package: @redhat-cloud-services/vulnerabilities-client
Description: If you want to use [RedHatInsights/vulnerability-engine](https://github.com/RedHatInsights/vulnerability-engine) you shouldn't use get requests directly, but rather use this client to integrate with this service.
Latest version: 2.1.5

# Javascript client for Vulnerability API
If you want to use [RedHatInsights/vulnerability-engine](https://github.com/RedHatInsights/vulnerability-engine) you shouldn't use get requests directly, but rather use this client to integrate with this service.

## Install
NPM
```bash
npm install --save @redhat-cloud-services/vulnerabilities-client
```

Or Yarn
```bash
yarn add @redhat-cloud-services/vulnerabilities-client
```

### Usage
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.

To correctly bootstrap this API you should use this config (no need to define it multiple times, just one config and reimport it anywhere you want to use it).
```JS
// api.js
import axios from 'axios';
import { BaseApi } from '@redhat-cloud-services/vulnerabilities-client';
const instance = axios.create();

// BASE_PATH should be set in your constants file
const vulnApi = new BaseApi(undefined, BASE_PATH, instance);
export vulnApi;
```

If you want to add some interceptors you can use axios build in interceptors
```JS
// api.js
import axios from 'axios';
import { BaseApi } from '@redhat-cloud-services/vulnerabilities-client';
const instance = axios.create();

// Request interceptor
instance.interceptors.request.use((request) => {
    // some logic to do with request
});

// Response interceptor
instance.interceptors.response.use((response) => {
    // some logic to do with request
});

// Error interceptor
instance.interceptors.response.use(null, (error) => {
    // some logic to do with error
});

// BASE_PATH should be set in your constants file
const vulnApi = new BaseApi(undefined, BASE_PATH, instance);
export vulnApi;
```

## Building

Run `nx build @redhat-cloud-services/vulnerabilities-client` to build the library.

## Running unit tests

Run `nx test @redhat-cloud-services/vulnerabilities-client` to execute the unit tests via [Jest](https://jestjs.io).

## API documentation

* [README](doc/README.md)
npm package: @redhat-developer/kiota-gen
Description: Wrapper around the Kiota command line for generating client SDKs from OpenAPI.
Latest version: 0.1.0

# kiota-gen
Kiota Gen is a wrapper around the Kiota CLI tool that is used to generated client SDKs
from OpenAPI specifications.

This package can be used, for example, in a standard node.js/npm project to generate
a client for a REST API.

## Usage

In your `package.json` file, you must add the `@redhat-developer/kiota-gen` package
as a dev dependency, something like this:

```json
{
  "name": "kiota-gen-example",
  "version": "0.1.0",
  "devDependencies": {
    "@redhat-developer/kiota-gen": "0.1.0"
  }
}
```

Once this is done, and `npm install` is run, you can use `kiota`` as a command in the
`scripts` section of your `package.json`.  For example:

```json
{
  "name": "kiota-gen-example",
  "version": "0.1.0",
  "scripts": {
    "kiota-help": "kiota --help",
    "kiota-generate": "kiota generate -l typescript -d openapi.yaml -c MyGeneratedClient -o ./client"
  }
}
```

See the [documentation for Kiota](https://learn.microsoft.com/en-us/openapi/kiota/using) for more 
information on usage of the Kiota CLI.

## Options

By default, this package will use the most recent version of Kiota, downloaded from the
Kiota GitHub repository (based on the most recent GitHub release of Kiota).  It will 
download and unpack that released binary to a temporary local location and execute the
CLI from there.

You can optionally customize the above behavior. This is done by setting ENV variables.
The following ENV variables are available:

| Variable Name       | Description                   | Default Value |
| ------------------- | ----------------------------- | ------------- |
| KIOTA_VERSION       | The version of Kiota to use.  | `latest`      |
| KIOTA_DOWNLOAD_URL  | Where to download Kiota from. | `https://github.com/microsoft/kiota/releases/download` |
| KIOTA_DOWNLOAD_DIR  | Where to download Kiota to.   | `./.kiota`    |
npm package: @redhat-developer/kiota-wasm
Description: Kiota compiled in a native WASM module.
Latest version: 0.0.2

# Kiota-Wasm

This project brings the power of [Kiota](https://github.com/microsoft/kiota) straight into your browser!
[Kiota](https://github.com/microsoft/kiota) is a C# project and the `dotnet` toolchain allows you to compile it with target `browser-wasm`and eventually run it in the browser.

## Usage

There are a few minor challenges with the integration of the produced artifacts into a real-world, modern, frontend application.
We do maintain working examples up to date to make sure that it's feasible to leverage this functionality.

1. Add this dependency to your project:

`npm install -D @redhat-developer/kiota-wasm`

2. Unpack the resources in the public assets folder of your project (and we suggest to add it to your `.gitignore`):

```bash
npm install -D copyfiles rimraf
```

```json
  "scripts": {
    ...
    "postinstall": "rimraf ./public/kiota-wasm && copyfiles -u 4 'node_modules/@redhat-developer/kiota-wasm/dist/**/*.*' 'public/kiota-wasm'"
  }
  ...
```

3. With some build tool such as `vite` you need to exclude those dependencies from the bundler:

```ts
export default defineConfig({
  plugins: [
    react(),
  ],
  build: {
    rollupOptions: {
      external: [
        /^.*kiota-wasm.*/,
      ]
    }
  }
})
```

4. Now you can integrate the WASM module with a dynamic import, with `vite`:

```ts
// @ts-ignore
const { generate } = await import('/kiota-wasm/main.js?url');
```

or with `webpack`:

```ts
const { generate } = await import(
  /* webpackIgnore: true */ './kiota-wasm/main.js'
);
```

5. Use the code generator functionality:

```ts
generate(spec: string, language: string, clientClassName: string, namespaceName: string, includePatterns: string, excludePatterns: string);
```


## Build

To build this project you need `dotnet` version 7+ and the `wasm-tools`:

```bash
dotnet workload install wasm-tools
```

and run the build:

```bash
dotnet build --configuration Release
```

## Release

This repository is released on tag:

```
git fetch origin
git checkout origin/main
git tag <version>
git push origin <version>
```

and the CI will do the job.
npm package: @redhat-developer/locators
Description: Pluggable Page Objects locators for an ExTester framework.
Author: Red Hat
Latest version: 1.20.0

<h1 align="center">
  <img alt="ExTester for Visual Studio Code" width="75%" height="75%" src="../../icons/logo-text-side.png">
</h1>

<h2 align="center">Locators</h2>

<p align="center">
Pluggable Page Objects locators for an <a href="https://github.com/redhat-developer/vscode-extension-tester">ExTester</a> framework.
</p>
npm package: @redhat-developer/page-objects
Description: Page Object API implementation for a VS Code editor used by ExTester framework.
Author: Red Hat
Latest version: 1.20.0

<h1 align="center">
  <img alt="ExTester for Visual Studio Code" width="75%" height="75%" src="../../icons/logo-text-side.png">
</h1>

<h2 align="center">Page Objects</h2>

<p align="center">
Page Object API implementation for a VS Code editor used by <a href="https://github.com/redhat-developer/vscode-extension-tester">ExTester</a> framework.</br>📄 <a href="https://github.com/redhat-developer/vscode-extension-tester/wiki/Page-Object-APIs">Documentation</a>
</p>
npm package: @redhat-developer/red-hat-developer-hub-theme
Description: Red Hat Developer Hub Theme
Author: Red Hat
Latest version: 0.5.2

> [!NOTE]
> # Red Hat Developer Hub Theme 🎨 has been moved
> 
> ## We migrated the [RHDH](https://developers.redhat.com/rhdh) theme into the [rhdh-plugins repo](https://github.com/redhat-developer/rhdh-plugins/tree/main/workspaces/theme/plugins/theme).
> 
> This Git Repository and NPM package (`@redhat-developer/red-hat-developer-hub-theme`) was used in RHDH from 1.2 to 1.6.
>
> This new NPM package (`@red-hat-developer-hub/backstage-plugin-theme`) is automatically used in RHDH 1.7 onwards.
>
> If you use this theme package for testing, please migrate with:
>
> ```shell
> yarn remove @redhat-developer/red-hat-developer-hub-theme
> yarn add @red-hat-developer-hub/backstage-plugin-theme
> ```
npm package: @redhat-developer/rhsm-client
Description: Type safe client for Red Hat Subscription Manager (RHSM) REST API
Author: Denis Golovin
Latest version: 0.0.4

# Red Hat Subscription Manager (RHSM)

[`rhsm-client`](https://github.com/redhat-developer/redhat-javascript-api-rest-api-clients/packages/rhsm#readme) is a Node.js
library that provides the way to work with Red Hat Product Subscriptions.

Browse [API documentation](https://editor.swagger.io/?url=https://raw.githubusercontent.com/redhat-developer/redhat-javascript-rest-api-clients/main/packages/rhsm/swagger/rhsm-2-swagger.yml).

## Install

`$ npm install --save @redhat-developer/rhsm-client`