npm package: @iplaygames/api-client
Description: Universal API for casino operators to access games from multiple providers through a single integration.
Author: IPlayGames
Latest version: 1.0.4

# @iplaygames/api-client

IPlayGamesApi - JavaScript client for @iplaygames/api-client
Universal API for casino operators to access games from multiple providers through a single integration.
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 1.0.2
- Generator version: 7.19.0
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

Install via npm:

```shell
npm install @iplaygames/api-client --save
```

Finally, you need to build the module:

```shell
npm run build
```

##### Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:

```shell
npm install
```

Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:

```shell
npm link
```

To use the link you just defined in your project, switch to the directory you want to use your @iplaygames/api-client from, and run:

```shell
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
```

Finally, you need to build the module:

```shell
npm run build
```

#### git

If the library is hosted at a git repository, install it via:

```shell
npm install iplaygamesai/api-client-javascript --save
```

Or clone from GitHub:
```shell
git clone https://github.com/iplaygamesai/api-client-javascript.git
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

### Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error:
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
the following section to your webpack config:

```javascript
module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
import IPlayGamesApi from '@iplaygames/api-client';

const { ApiClient, GamesApi, EndpointsApi } = IPlayGamesApi;

// Configure the API client
const client = new ApiClient('API_URL');
client.authentications['default'].accessToken = 'YOUR_API_KEY';

// Create API instance
const gamesApi = new GamesApi(client);

// List games
gamesApi.listGamesWithHttpInfo().then(result => {
  console.log('Games:', result.response.body);
}).catch(error => {
  console.error('Error:', error);
});
```

## Documentation for API Endpoints

All URIs are relative to *https://api.iplaygames.ai*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*IPlayGamesApi.EndpointsApi* | [**addAContributionToAJackpotPool**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#addAContributionToAJackpotPool) | **POST** /api/v1/jackpot/contribute | Add a contribution to a jackpot pool
*IPlayGamesApi.EndpointsApi* | [**addGamesToAJackpotPoolType**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#addGamesToAJackpotPoolType) | **POST** /api/v1/jackpot/games | Add games to a jackpot pool type
*IPlayGamesApi.EndpointsApi* | [**bulkCreateExternalGamesFromJSONArray**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#bulkCreateExternalGamesFromJSONArray) | **POST** /api/v1/external-games/bulk | Bulk create external games from JSON array
*IPlayGamesApi.EndpointsApi* | [**bulkDeleteExternalGamesByIDs**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#bulkDeleteExternalGamesByIDs) | **DELETE** /api/v1/external-games/bulk | Bulk delete external games by IDs
*IPlayGamesApi.EndpointsApi* | [**configureJackpotSettingsForTheOperator**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#configureJackpotSettingsForTheOperator) | **POST** /api/v1/jackpot/configure | Configure jackpot settings for the operator
*IPlayGamesApi.EndpointsApi* | [**configureLiveModeSettingsForAPool**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#configureLiveModeSettingsForAPool) | **PUT** /api/v1/jackpot/pools/{poolId}/live-mode | Configure live mode settings for a pool
*IPlayGamesApi.EndpointsApi* | [**createANewPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#createANewPromotion) | **POST** /api/v1/promotions | Create a new promotion
*IPlayGamesApi.EndpointsApi* | [**createASingleExternalGame**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#createASingleExternalGame) | **POST** /api/v1/external-games | Create a single external game
*IPlayGamesApi.EndpointsApi* | [**createATargetedPlayerConfiguration**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#createATargetedPlayerConfiguration) | **POST** /api/v1/jackpot/targeted-players | Create a targeted player configuration
*IPlayGamesApi.EndpointsApi* | [**deactivateATargetedPlayerConfiguration**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#deactivateATargetedPlayerConfiguration) | **DELETE** /api/v1/jackpot/targeted-players/{targetedPlayerId} | Deactivate a targeted player configuration
*IPlayGamesApi.EndpointsApi* | [**deleteAPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#deleteAPromotion) | **DELETE** /api/v1/promotions/{id} | Delete a promotion
*IPlayGamesApi.EndpointsApi* | [**deleteAnExternalGame**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#deleteAnExternalGame) | **DELETE** /api/v1/external-games/{id} | Delete an external game
*IPlayGamesApi.EndpointsApi* | [**getASingleExternalGame**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getASingleExternalGame) | **GET** /api/v1/external-games/{id} | Get a single external game
*IPlayGamesApi.EndpointsApi* | [**getASpecificPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getASpecificPromotion) | **GET** /api/v1/promotions/{id} | Get a specific promotion
*IPlayGamesApi.EndpointsApi* | [**getApiV1Producers**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getApiV1Producers) | **GET** /api/v1/producers | 
*IPlayGamesApi.EndpointsApi* | [**getApiV1ProducersId**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getApiV1ProducersId) | **GET** /api/v1/producers/{id} | 
*IPlayGamesApi.EndpointsApi* | [**getApiV1TransactionExportsExportIdDownload**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getApiV1TransactionExportsExportIdDownload) | **GET** /api/v1/transaction-exports/{export_id}/download | 
*IPlayGamesApi.EndpointsApi* | [**getCurrentConfigurationWithGames**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getCurrentConfigurationWithGames) | **GET** /api/v1/jackpot/configuration | Get current configuration with games
*IPlayGamesApi.EndpointsApi* | [**getGamesForAPoolTypeOrAllPoolTypes**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getGamesForAPoolTypeOrAllPoolTypes) | **GET** /api/v1/jackpot/games | Get games for a pool type or all pool types
*IPlayGamesApi.EndpointsApi* | [**getLeaderboardForAPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getLeaderboardForAPromotion) | **GET** /api/v1/promotions/{id}/leaderboard | Get leaderboard for a promotion
*IPlayGamesApi.EndpointsApi* | [**getPlayerContributionHistory**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getPlayerContributionHistory) | **GET** /api/v1/jackpot/contributions | Get player contribution history
*IPlayGamesApi.EndpointsApi* | [**getPoolDetails**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getPoolDetails) | **GET** /api/v1/jackpot/pools/{poolId} | Get pool details
*IPlayGamesApi.EndpointsApi* | [**getPoolWinners**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getPoolWinners) | **GET** /api/v1/jackpot/pools/{poolId}/winners | Get pool winners
*IPlayGamesApi.EndpointsApi* | [**getTargetedPlayerDetails**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getTargetedPlayerDetails) | **GET** /api/v1/jackpot/targeted-players/{targetedPlayerId} | Get targeted player details
*IPlayGamesApi.EndpointsApi* | [**getUniqueProducerNamesForFiltering**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getUniqueProducerNamesForFiltering) | **GET** /api/v1/external-games/producers | Get unique producer names for filtering
*IPlayGamesApi.EndpointsApi* | [**getWinnersForAPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#getWinnersForAPromotion) | **GET** /api/v1/promotions/{id}/winners | Get winners for a promotion
*IPlayGamesApi.EndpointsApi* | [**importExternalGamesFromCSVFile**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#importExternalGamesFromCSVFile) | **POST** /api/v1/external-games/import/csv | Import external games from CSV file
*IPlayGamesApi.EndpointsApi* | [**importExternalGamesFromJSONPaste**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#importExternalGamesFromJSONPaste) | **POST** /api/v1/external-games/import/json | Import external games from JSON paste
*IPlayGamesApi.EndpointsApi* | [**listExternalGamesForOperator**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#listExternalGamesForOperator) | **GET** /api/v1/external-games | List external games for operator
*IPlayGamesApi.EndpointsApi* | [**listOperatorsJackpotPools**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#listOperatorsJackpotPools) | **GET** /api/v1/jackpot/pools | List operator&#39;s jackpot pools
*IPlayGamesApi.EndpointsApi* | [**listPromotionsForTheOperator**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#listPromotionsForTheOperator) | **GET** /api/v1/promotions | List promotions for the operator
*IPlayGamesApi.EndpointsApi* | [**listTargetedPlayersForOperator**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#listTargetedPlayersForOperator) | **GET** /api/v1/jackpot/targeted-players | List targeted players for operator
*IPlayGamesApi.EndpointsApi* | [**manageGamesForAPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#manageGamesForAPromotion) | **POST** /api/v1/promotions/{id}/games | Manage games for a promotion
*IPlayGamesApi.EndpointsApi* | [**manuallyDistributePrizesForAPeriod**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#manuallyDistributePrizesForAPeriod) | **POST** /api/v1/promotions/{id}/periods/{periodId}/distribute | Manually distribute prizes for a period
*IPlayGamesApi.EndpointsApi* | [**manuallyTriggerPoolRelease**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#manuallyTriggerPoolRelease) | **POST** /api/v1/jackpot/pools/{poolId}/release | Manually trigger pool release
*IPlayGamesApi.EndpointsApi* | [**optInOperatorToAPlatformnetworkPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#optInOperatorToAPlatformnetworkPromotion) | **POST** /api/v1/promotions/{id}/opt-in | Opt-in operator to a platform/network promotion
*IPlayGamesApi.EndpointsApi* | [**optOutOperatorFromAPlatformnetworkPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#optOutOperatorFromAPlatformnetworkPromotion) | **POST** /api/v1/promotions/{id}/opt-out | Opt-out operator from a platform/network promotion
*IPlayGamesApi.EndpointsApi* | [**postApiV1GameTransactionsExport**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#postApiV1GameTransactionsExport) | **POST** /api/v1/game-transactions/export | 
*IPlayGamesApi.EndpointsApi* | [**removeGamesFromAJackpotPoolType**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#removeGamesFromAJackpotPoolType) | **DELETE** /api/v1/jackpot/games | Remove games from a jackpot pool type
*IPlayGamesApi.EndpointsApi* | [**setGrandPrizeExpirationDate**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#setGrandPrizeExpirationDate) | **PUT** /api/v1/jackpot/pools/{poolId}/expiration | Set grand prize expiration date
*IPlayGamesApi.EndpointsApi* | [**updateAPromotion**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#updateAPromotion) | **PUT** /api/v1/promotions/{id} | Update a promotion
*IPlayGamesApi.EndpointsApi* | [**updateAnExternalGame**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndpointsApi.md#updateAnExternalGame) | **PUT** /api/v1/external-games/{id} | Update an external game
*IPlayGamesApi.FreespinsApi* | [**cancelAStandaloneFreespin**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/FreespinsApi.md#cancelAStandaloneFreespin) | **POST** /api/v1/freespins/{freespin_id}/cancel | Cancel a standalone freespin
*IPlayGamesApi.FreespinsApi* | [**createAStandaloneFreespin**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/FreespinsApi.md#createAStandaloneFreespin) | **POST** /api/v1/freespins | Create a standalone freespin
*IPlayGamesApi.GameSessionsApi* | [**endAGameSession**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GameSessionsApi.md#endAGameSession) | **POST** /api/v1/game-sessions/{session_id}/end | End a game session
*IPlayGamesApi.GameSessionsApi* | [**getSessionStatus**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GameSessionsApi.md#getSessionStatus) | **GET** /api/v1/game-sessions/{session_id}/status | Get session status
*IPlayGamesApi.GameSessionsApi* | [**startAGameSession**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GameSessionsApi.md#startAGameSession) | **POST** /api/v1/game-sessions/start | Start a game session
*IPlayGamesApi.GameTransactionsApi* | [**getTransactionDetails**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GameTransactionsApi.md#getTransactionDetails) | **GET** /api/v1/game-transactions/{id} | Get transaction details
*IPlayGamesApi.GameTransactionsApi* | [**getTransactionHistory**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GameTransactionsApi.md#getTransactionHistory) | **GET** /api/v1/game-transactions | Get transaction history
*IPlayGamesApi.GamesApi* | [**getApiV1GamesId**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GamesApi.md#getApiV1GamesId) | **GET** /api/v1/games/{id} | 
*IPlayGamesApi.GamesApi* | [**listGames**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GamesApi.md#listGames) | **GET** /api/v1/games | List games
*IPlayGamesApi.MultiSessionsApi* | [**endMultiSession**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/MultiSessionsApi.md#endMultiSession) | **POST** /api/v1/multi-sessions/{token}/end | End multi-session
*IPlayGamesApi.MultiSessionsApi* | [**getMultiSessionStatus**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/MultiSessionsApi.md#getMultiSessionStatus) | **GET** /api/v1/multi-sessions/{token}/status | Get multi-session status
*IPlayGamesApi.MultiSessionsApi* | [**startAMultiSession**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/MultiSessionsApi.md#startAMultiSession) | **POST** /api/v1/multi-sessions/start | Start a multi-session
*IPlayGamesApi.WidgetManagementApi* | [**bulkRevokeTokens**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#bulkRevokeTokens) | **POST** /api/v1/widget/tokens/bulk-revoke | Bulk revoke tokens
*IPlayGamesApi.WidgetManagementApi* | [**generateAWidgetToken**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#generateAWidgetToken) | **POST** /api/v1/widget/tokens | Generate a widget token
*IPlayGamesApi.WidgetManagementApi* | [**getDomainDetails**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#getDomainDetails) | **GET** /api/v1/widget/domains/{id} | Get domain details
*IPlayGamesApi.WidgetManagementApi* | [**getTokenDetails**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#getTokenDetails) | **GET** /api/v1/widget/tokens/{id} | Get token details
*IPlayGamesApi.WidgetManagementApi* | [**listRegisteredDomains**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#listRegisteredDomains) | **GET** /api/v1/widget/domains | List registered domains
*IPlayGamesApi.WidgetManagementApi* | [**listWidgetTokens**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#listWidgetTokens) | **GET** /api/v1/widget/tokens | List widget tokens
*IPlayGamesApi.WidgetManagementApi* | [**regenerateDomainToken**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#regenerateDomainToken) | **POST** /api/v1/widget/domains/{id}/regenerate-token | Regenerate domain token
*IPlayGamesApi.WidgetManagementApi* | [**registerANewDomain**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#registerANewDomain) | **POST** /api/v1/widget/domains | Register a new domain
*IPlayGamesApi.WidgetManagementApi* | [**removeADomain**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#removeADomain) | **DELETE** /api/v1/widget/domains/{id} | Remove a domain
*IPlayGamesApi.WidgetManagementApi* | [**revokeAToken**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#revokeAToken) | **DELETE** /api/v1/widget/tokens/{id} | Revoke a token
*IPlayGamesApi.WidgetManagementApi* | [**updateDomainSettings**](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/WidgetManagementApi.md#updateDomainSettings) | **PUT** /api/v1/widget/domains/{id} | Update domain settings


## Documentation for Models

 - [IPlayGamesApi.AddAContributionToAJackpotPoolRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/AddAContributionToAJackpotPoolRequest.md)
 - [IPlayGamesApi.AddGamesToAJackpotPoolTypeRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/AddGamesToAJackpotPoolTypeRequest.md)
 - [IPlayGamesApi.BulkCreateExternalGamesFromJSONArrayRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/BulkCreateExternalGamesFromJSONArrayRequest.md)
 - [IPlayGamesApi.BulkDeleteExternalGamesByIDsRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/BulkDeleteExternalGamesByIDsRequest.md)
 - [IPlayGamesApi.BulkRevokeTokens200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/BulkRevokeTokens200Response.md)
 - [IPlayGamesApi.BulkRevokeTokensRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/BulkRevokeTokensRequest.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin200Response.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin200ResponseData.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin401Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin401Response.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin404Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin404Response.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin409Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin409Response.md)
 - [IPlayGamesApi.CancelAStandaloneFreespin500Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespin500Response.md)
 - [IPlayGamesApi.CancelAStandaloneFreespinRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CancelAStandaloneFreespinRequest.md)
 - [IPlayGamesApi.ConfigureJackpotSettingsForTheOperatorRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ConfigureJackpotSettingsForTheOperatorRequest.md)
 - [IPlayGamesApi.ConfigureJackpotSettingsForTheOperatorRequestPrizeTiersInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ConfigureJackpotSettingsForTheOperatorRequestPrizeTiersInner.md)
 - [IPlayGamesApi.ConfigureLiveModeSettingsForAPoolRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ConfigureLiveModeSettingsForAPoolRequest.md)
 - [IPlayGamesApi.CreateANewPromotionRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateANewPromotionRequest.md)
 - [IPlayGamesApi.CreateASingleExternalGameRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateASingleExternalGameRequest.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin201Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin201Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin201ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin201ResponseData.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin400Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin400Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin403Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin403Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin404Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin404Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin409Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin409Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespin503Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespin503Response.md)
 - [IPlayGamesApi.CreateAStandaloneFreespinRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateAStandaloneFreespinRequest.md)
 - [IPlayGamesApi.CreateATargetedPlayerConfigurationRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/CreateATargetedPlayerConfigurationRequest.md)
 - [IPlayGamesApi.EndAGameSession200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndAGameSession200Response.md)
 - [IPlayGamesApi.EndMultiSession200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/EndMultiSession200Response.md)
 - [IPlayGamesApi.GenerateAWidgetToken201Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GenerateAWidgetToken201Response.md)
 - [IPlayGamesApi.GenerateAWidgetToken201ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GenerateAWidgetToken201ResponseData.md)
 - [IPlayGamesApi.GenerateAWidgetToken400Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GenerateAWidgetToken400Response.md)
 - [IPlayGamesApi.GenerateAWidgetToken401Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GenerateAWidgetToken401Response.md)
 - [IPlayGamesApi.GenerateAWidgetTokenRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GenerateAWidgetTokenRequest.md)
 - [IPlayGamesApi.GetApiV1Producers401Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetApiV1Producers401Response.md)
 - [IPlayGamesApi.GetApiV1TransactionExportsExportIdDownload500Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetApiV1TransactionExportsExportIdDownload500Response.md)
 - [IPlayGamesApi.GetDomainDetails200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetDomainDetails200Response.md)
 - [IPlayGamesApi.GetDomainDetails200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetDomainDetails200ResponseData.md)
 - [IPlayGamesApi.GetGamesForAPoolTypeOrAllPoolTypesRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetGamesForAPoolTypeOrAllPoolTypesRequest.md)
 - [IPlayGamesApi.GetMultiSessionStatus200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetMultiSessionStatus200Response.md)
 - [IPlayGamesApi.GetMultiSessionStatus200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetMultiSessionStatus200ResponseData.md)
 - [IPlayGamesApi.GetMultiSessionStatus200ResponseDataGamesInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetMultiSessionStatus200ResponseDataGamesInner.md)
 - [IPlayGamesApi.GetMultiSessionStatus404Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetMultiSessionStatus404Response.md)
 - [IPlayGamesApi.GetPlayerContributionHistoryRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetPlayerContributionHistoryRequest.md)
 - [IPlayGamesApi.GetSessionStatus200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetSessionStatus200Response.md)
 - [IPlayGamesApi.GetSessionStatus200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetSessionStatus200ResponseData.md)
 - [IPlayGamesApi.GetSessionStatus200ResponseDataGame](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetSessionStatus200ResponseDataGame.md)
 - [IPlayGamesApi.GetSessionStatus404Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetSessionStatus404Response.md)
 - [IPlayGamesApi.GetTokenDetails200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTokenDetails200Response.md)
 - [IPlayGamesApi.GetTokenDetails200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTokenDetails200ResponseData.md)
 - [IPlayGamesApi.GetTransactionDetails404Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTransactionDetails404Response.md)
 - [IPlayGamesApi.GetTransactionHistory200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTransactionHistory200Response.md)
 - [IPlayGamesApi.GetTransactionHistory200ResponseDataInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTransactionHistory200ResponseDataInner.md)
 - [IPlayGamesApi.GetTransactionHistory200ResponseMeta](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTransactionHistory200ResponseMeta.md)
 - [IPlayGamesApi.GetTransactionHistory200ResponseMetaSummary](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/GetTransactionHistory200ResponseMetaSummary.md)
 - [IPlayGamesApi.ImportExternalGamesFromJSONPasteRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ImportExternalGamesFromJSONPasteRequest.md)
 - [IPlayGamesApi.ImportExternalGamesFromJSONPasteRequestGamesInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ImportExternalGamesFromJSONPasteRequestGamesInner.md)
 - [IPlayGamesApi.ListExternalGamesForOperatorRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListExternalGamesForOperatorRequest.md)
 - [IPlayGamesApi.ListGames200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListGames200Response.md)
 - [IPlayGamesApi.ListGames200ResponseDataInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListGames200ResponseDataInner.md)
 - [IPlayGamesApi.ListGames200ResponseMeta](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListGames200ResponseMeta.md)
 - [IPlayGamesApi.ListGamesRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListGamesRequest.md)
 - [IPlayGamesApi.ListOperatorsJackpotPoolsRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListOperatorsJackpotPoolsRequest.md)
 - [IPlayGamesApi.ListRegisteredDomains200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListRegisteredDomains200Response.md)
 - [IPlayGamesApi.ListRegisteredDomains200ResponseDataInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListRegisteredDomains200ResponseDataInner.md)
 - [IPlayGamesApi.ListTargetedPlayersForOperatorRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListTargetedPlayersForOperatorRequest.md)
 - [IPlayGamesApi.ListWidgetTokens200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListWidgetTokens200Response.md)
 - [IPlayGamesApi.ListWidgetTokens200ResponseDataInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ListWidgetTokens200ResponseDataInner.md)
 - [IPlayGamesApi.ManageGamesForAPromotionRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/ManageGamesForAPromotionRequest.md)
 - [IPlayGamesApi.PostApiV1GameTransactionsExportRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/PostApiV1GameTransactionsExportRequest.md)
 - [IPlayGamesApi.RegenerateDomainToken200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegenerateDomainToken200Response.md)
 - [IPlayGamesApi.RegenerateDomainToken200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegenerateDomainToken200ResponseData.md)
 - [IPlayGamesApi.RegisterANewDomain201Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegisterANewDomain201Response.md)
 - [IPlayGamesApi.RegisterANewDomain201ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegisterANewDomain201ResponseData.md)
 - [IPlayGamesApi.RegisterANewDomain422Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegisterANewDomain422Response.md)
 - [IPlayGamesApi.RegisterANewDomainRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RegisterANewDomainRequest.md)
 - [IPlayGamesApi.RemoveADomain200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RemoveADomain200Response.md)
 - [IPlayGamesApi.RemoveGamesFromAJackpotPoolTypeRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RemoveGamesFromAJackpotPoolTypeRequest.md)
 - [IPlayGamesApi.RevokeAToken200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/RevokeAToken200Response.md)
 - [IPlayGamesApi.SetGrandPrizeExpirationDateRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/SetGrandPrizeExpirationDateRequest.md)
 - [IPlayGamesApi.StartAGameSession201Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAGameSession201Response.md)
 - [IPlayGamesApi.StartAGameSession201ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAGameSession201ResponseData.md)
 - [IPlayGamesApi.StartAGameSession400Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAGameSession400Response.md)
 - [IPlayGamesApi.StartAGameSession503Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAGameSession503Response.md)
 - [IPlayGamesApi.StartAGameSessionRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAGameSessionRequest.md)
 - [IPlayGamesApi.StartAMultiSession201Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAMultiSession201Response.md)
 - [IPlayGamesApi.StartAMultiSession201ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAMultiSession201ResponseData.md)
 - [IPlayGamesApi.StartAMultiSession201ResponseDataGamesInner](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAMultiSession201ResponseDataGamesInner.md)
 - [IPlayGamesApi.StartAMultiSession400Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAMultiSession400Response.md)
 - [IPlayGamesApi.StartAMultiSessionRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/StartAMultiSessionRequest.md)
 - [IPlayGamesApi.UpdateAPromotionRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/UpdateAPromotionRequest.md)
 - [IPlayGamesApi.UpdateAnExternalGameRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/UpdateAnExternalGameRequest.md)
 - [IPlayGamesApi.UpdateDomainSettings200Response](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/UpdateDomainSettings200Response.md)
 - [IPlayGamesApi.UpdateDomainSettings200ResponseData](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/UpdateDomainSettings200ResponseData.md)
 - [IPlayGamesApi.UpdateDomainSettingsRequest](https://github.com/iplaygamesai/api-client-javascript/blob/main/docs/UpdateDomainSettingsRequest.md)


## Documentation for Authorization


Authentication schemes defined for the API:
### default

- **Type**: Bearer authentication