Full Code of icastillejogomez/degiro-api for AI

master ec76f202d366 cached
322 files
1.4 MB
444.6k tokens
244 symbols
1 requests
Download .txt
Showing preview only (1,550K chars total). Download the full file or copy to clipboard to get everything.
Repository: icastillejogomez/degiro-api
Branch: master
Commit: ec76f202d366
Files: 322
Total size: 1.4 MB

Directory structure:
gitextract_vrkryjmw/

├── .github/
│   └── workflows/
│       └── node.js.yml
├── .gitignore
├── .nycrc
├── LICENSE
├── README.md
├── dist/
│   ├── DeGiro.d.ts
│   ├── DeGiro.js
│   ├── api/
│   │   ├── createOrderRequest.d.ts
│   │   ├── createOrderRequest.js
│   │   ├── deleteOrderRequest.d.ts
│   │   ├── deleteOrderRequest.js
│   │   ├── executeOrderRequest.d.ts
│   │   ├── executeOrderRequest.js
│   │   ├── getAccountConfig.d.ts
│   │   ├── getAccountConfig.js
│   │   ├── getAccountData.d.ts
│   │   ├── getAccountData.js
│   │   ├── getAccountInfoRequest.d.ts
│   │   ├── getAccountInfoRequest.js
│   │   ├── getAccountReportsRequest.d.ts
│   │   ├── getAccountReportsRequest.js
│   │   ├── getAccountStateRequest.d.ts
│   │   ├── getAccountStateRequest.js
│   │   ├── getCashFundstRequest.d.ts
│   │   ├── getCashFundstRequest.js
│   │   ├── getConfigDictionaryRequest.d.ts
│   │   ├── getConfigDictionaryRequest.js
│   │   ├── getNewsRequest.d.ts
│   │   ├── getNewsRequest.js
│   │   ├── getOrdersRequest.d.ts
│   │   ├── getOrdersRequest.js
│   │   ├── getPopularStocksRequest.d.ts
│   │   ├── getPopularStocksRequest.js
│   │   ├── getPortfolioRequest.d.ts
│   │   ├── getPortfolioRequest.js
│   │   ├── getProductsByIdsRequest.d.ts
│   │   ├── getProductsByIdsRequest.js
│   │   ├── getTransactionsRequest.d.ts
│   │   ├── getTransactionsRequest.js
│   │   ├── getWebSettingsRequest.d.ts
│   │   ├── getWebSettingsRequest.js
│   │   ├── getWebUserSettingsRequest.d.ts
│   │   ├── getWebUserSettingsRequest.js
│   │   ├── getWebi18nMessagesRequest.d.ts
│   │   ├── getWebi18nMessagesRequest.js
│   │   ├── index.d.ts
│   │   ├── index.js
│   │   ├── login.d.ts
│   │   ├── login.js
│   │   ├── logout.d.ts
│   │   ├── logout.js
│   │   ├── searchProductRequest.d.ts
│   │   └── searchProductRequest.js
│   ├── enums/
│   │   ├── DeGiroEnums.d.ts
│   │   ├── DeGiroEnums.js
│   │   ├── index.d.ts
│   │   └── index.js
│   ├── interfaces/
│   │   ├── DeGiroClassInterface.d.ts
│   │   ├── DeGiroClassInterface.js
│   │   ├── index.d.ts
│   │   └── index.js
│   ├── main.d.ts
│   ├── main.js
│   ├── types/
│   │   ├── AccountConfigType.d.ts
│   │   ├── AccountConfigType.js
│   │   ├── AccountDataType.d.ts
│   │   ├── AccountDataType.js
│   │   ├── AccountInfoType.d.ts
│   │   ├── AccountInfoType.js
│   │   ├── AccountReportsType.d.ts
│   │   ├── AccountReportsType.js
│   │   ├── CashFoundType.d.ts
│   │   ├── CashFoundType.js
│   │   ├── ConfigDictionaryType.d.ts
│   │   ├── ConfigDictionaryType.js
│   │   ├── CreateOrderResultType.d.ts
│   │   ├── CreateOrderResultType.js
│   │   ├── DeGiroSettupType.d.ts
│   │   ├── DeGiroSettupType.js
│   │   ├── FavouriteProductType.d.ts
│   │   ├── FavouriteProductType.js
│   │   ├── GetAccountStateOptionsType.d.ts
│   │   ├── GetAccountStateOptionsType.js
│   │   ├── GetHistoricalOrdersOptionsType.d.ts
│   │   ├── GetHistoricalOrdersOptionsType.js
│   │   ├── GetNewsOptionsType.d.ts
│   │   ├── GetNewsOptionsType.js
│   │   ├── GetOrdersConfigType.d.ts
│   │   ├── GetOrdersConfigType.js
│   │   ├── GetOrdersResultType.d.ts
│   │   ├── GetOrdersResultType.js
│   │   ├── GetPopularStocksConfigType.d.ts
│   │   ├── GetPopularStocksConfigType.js
│   │   ├── GetPorfolioConfigType.d.ts
│   │   ├── GetPorfolioConfigType.js
│   │   ├── GetTransactionsOptionsType.d.ts
│   │   ├── GetTransactionsOptionsType.js
│   │   ├── HistoricalOrdersType.d.ts
│   │   ├── HistoricalOrdersType.js
│   │   ├── IsLoginOptionsType.d.ts
│   │   ├── IsLoginOptionsType.js
│   │   ├── LoginRequestBodyType.d.ts
│   │   ├── LoginRequestBodyType.js
│   │   ├── LoginRequestParamsType.d.ts
│   │   ├── LoginRequestParamsType.js
│   │   ├── LoginResponseType.d.ts
│   │   ├── LoginResponseType.js
│   │   ├── NewsType.d.ts
│   │   ├── NewsType.js
│   │   ├── OrderType.d.ts
│   │   ├── OrderType.js
│   │   ├── PortfolioPositionType.d.ts
│   │   ├── PortfolioPositionType.js
│   │   ├── SearchProductOptionsType.d.ts
│   │   ├── SearchProductOptionsType.js
│   │   ├── SearchProductResultType.d.ts
│   │   ├── SearchProductResultType.js
│   │   ├── StockType.d.ts
│   │   ├── StockType.js
│   │   ├── TransactionFeeType.d.ts
│   │   ├── TransactionFeeType.js
│   │   ├── TransactionType.d.ts
│   │   ├── TransactionType.js
│   │   ├── WebSettingsType.d.ts
│   │   ├── WebSettingsType.js
│   │   ├── WebUserSettingType.d.ts
│   │   ├── WebUserSettingType.js
│   │   ├── i18nMessagesType.d.ts
│   │   ├── i18nMessagesType.js
│   │   ├── index.d.ts
│   │   └── index.js
│   └── utils/
│       ├── debug.d.ts
│       ├── debug.js
│       ├── generateReportURIFromID.d.ts
│       ├── generateReportURIFromID.js
│       ├── index.d.ts
│       ├── index.js
│       ├── processGetCashFundsResultListObject.d.ts
│       ├── processGetCashFundsResultListObject.js
│       ├── processGetOrdersResultListObject.d.ts
│       ├── processGetOrdersResultListObject.js
│       ├── processPortfolio.d.ts
│       └── processPortfolio.js
├── docs/
│   ├── assets/
│   │   ├── css/
│   │   │   └── main.css
│   │   └── js/
│   │       ├── main.js
│   │       └── search.json
│   ├── classes/
│   │   └── _degiro_.degiro.html
│   ├── enums/
│   │   ├── _enums_degiroenums_.degiro_api_paths.html
│   │   ├── _enums_degiroenums_.degiroactions.html
│   │   ├── _enums_degiroenums_.degiromarketordertypes.html
│   │   ├── _enums_degiroenums_.degiroproductypes.html
│   │   ├── _enums_degiroenums_.degirosort.html
│   │   ├── _enums_degiroenums_.degirotimetypes.html
│   │   ├── _enums_degiroenums_.get_orders_types.html
│   │   └── _enums_degiroenums_.portfolio_positions_type_enum.html
│   ├── globals.html
│   ├── index.html
│   ├── interfaces/
│   │   └── _interfaces_degiroclassinterface_.degiroclassinterface.html
│   └── modules/
│       ├── _api_createorderrequest_.html
│       ├── _api_deleteorderrequest_.html
│       ├── _api_executeorderrequest_.html
│       ├── _api_getaccountconfig_.html
│       ├── _api_getaccountdata_.html
│       ├── _api_getaccountinforequest_.html
│       ├── _api_getaccountreportsrequest_.html
│       ├── _api_getaccountstaterequest_.html
│       ├── _api_getcashfundstrequest_.html
│       ├── _api_getconfigdictionaryrequest_.html
│       ├── _api_getnewsrequest_.html
│       ├── _api_getordersrequest_.html
│       ├── _api_getportfoliorequest_.html
│       ├── _api_getproductsbyidsrequest_.html
│       ├── _api_getwebi18nmessagesrequest_.html
│       ├── _api_getwebsettingsrequest_.html
│       ├── _api_getwebusersettingsrequest_.html
│       ├── _api_index_.html
│       ├── _api_login_.html
│       ├── _api_logout_.html
│       ├── _api_searchproductrequest_.html
│       ├── _degiro_.html
│       ├── _enums_degiroenums_.html
│       ├── _enums_index_.html
│       ├── _interfaces_degiroclassinterface_.html
│       ├── _interfaces_index_.html
│       ├── _main_.html
│       ├── _types_accountconfigtype_.html
│       ├── _types_accountdatatype_.html
│       ├── _types_accountinfotype_.html
│       ├── _types_accountreportstype_.html
│       ├── _types_cashfoundtype_.html
│       ├── _types_configdictionarytype_.html
│       ├── _types_createorderresulttype_.html
│       ├── _types_degirosettuptype_.html
│       ├── _types_favouriteproducttype_.html
│       ├── _types_getaccountstateoptionstype_.html
│       ├── _types_gethistoricalordersoptionstype_.html
│       ├── _types_getnewsoptionstype_.html
│       ├── _types_getordersconfigtype_.html
│       ├── _types_getordersresulttype_.html
│       ├── _types_getporfolioconfigtype_.html
│       ├── _types_historicalorderstype_.html
│       ├── _types_i18nmessagestype_.html
│       ├── _types_index_.html
│       ├── _types_isloginoptionstype_.html
│       ├── _types_loginrequestbodytype_.html
│       ├── _types_loginrequestparamstype_.html
│       ├── _types_loginresponsetype_.html
│       ├── _types_newstype_.html
│       ├── _types_ordertype_.html
│       ├── _types_portfoliopositiontype_.html
│       ├── _types_searchproductoptionstype_.html
│       ├── _types_searchproductresulttype_.html
│       ├── _types_stocktype_.html
│       ├── _types_transactionfeetype_.html
│       ├── _types_websettingstype_.html
│       ├── _types_webusersettingtype_.html
│       ├── _utils_debug_.html
│       ├── _utils_generatereporturifromid_.html
│       ├── _utils_index_.html
│       ├── _utils_processgetcashfundsresultlistobject_.html
│       ├── _utils_processgetordersresultlistobject_.html
│       └── _utils_processportfolio_.html
├── examples/
│   ├── createOrder.ts
│   ├── deleteOrder.ts
│   ├── executeOrder.ts
│   ├── getAccountConfig.ts
│   ├── getAccountInfo.ts
│   ├── getAccountReports.ts
│   ├── getAccountState.ts
│   ├── getCashFunds.ts
│   ├── getConfigDictionary.js
│   ├── getMessages.ts
│   ├── getNews.ts
│   ├── getOrders.ts
│   ├── getPopularStocks.ts
│   ├── getPortfolio.ts
│   ├── getWebSettings.ts
│   ├── getWebUserSettings.ts
│   ├── login.ts
│   ├── searchProduct.ts
│   └── static-login.ts
├── package.json
├── src/
│   ├── DeGiro.ts
│   ├── api/
│   │   ├── createOrderRequest.ts
│   │   ├── deleteOrderRequest.ts
│   │   ├── executeOrderRequest.ts
│   │   ├── getAccountConfig.ts
│   │   ├── getAccountData.ts
│   │   ├── getAccountInfoRequest.ts
│   │   ├── getAccountReportsRequest.ts
│   │   ├── getAccountStateRequest.ts
│   │   ├── getCashFundstRequest.ts
│   │   ├── getConfigDictionaryRequest.ts
│   │   ├── getNewsRequest.ts
│   │   ├── getOrdersRequest.ts
│   │   ├── getPopularStocksRequest.ts
│   │   ├── getPortfolioRequest.ts
│   │   ├── getProductsByIdsRequest.ts
│   │   ├── getTransactionsRequest.ts
│   │   ├── getWebSettingsRequest.ts
│   │   ├── getWebUserSettingsRequest.ts
│   │   ├── getWebi18nMessagesRequest.ts
│   │   ├── index.ts
│   │   ├── login.ts
│   │   ├── logout.ts
│   │   └── searchProductRequest.ts
│   ├── enums/
│   │   ├── DeGiroEnums.ts
│   │   └── index.ts
│   ├── interfaces/
│   │   ├── DeGiroClassInterface.ts
│   │   └── index.ts
│   ├── main.ts
│   ├── types/
│   │   ├── AccountConfigType.ts
│   │   ├── AccountDataType.ts
│   │   ├── AccountInfoType.ts
│   │   ├── AccountReportsType.ts
│   │   ├── CashFoundType.ts
│   │   ├── ConfigDictionaryType.ts
│   │   ├── CreateOrderResultType.ts
│   │   ├── DeGiroSettupType.ts
│   │   ├── FavouriteProductType.ts
│   │   ├── GetAccountStateOptionsType.ts
│   │   ├── GetHistoricalOrdersOptionsType.ts
│   │   ├── GetNewsOptionsType.ts
│   │   ├── GetOrdersConfigType.ts
│   │   ├── GetOrdersResultType.ts
│   │   ├── GetPopularStocksConfigType.ts
│   │   ├── GetPorfolioConfigType.ts
│   │   ├── GetTransactionsOptionsType.ts
│   │   ├── HistoricalOrdersType.ts
│   │   ├── IsLoginOptionsType.ts
│   │   ├── LoginRequestBodyType.ts
│   │   ├── LoginRequestParamsType.ts
│   │   ├── LoginResponseType.ts
│   │   ├── NewsType.ts
│   │   ├── OrderType.ts
│   │   ├── PortfolioPositionType.ts
│   │   ├── SearchProductOptionsType.ts
│   │   ├── SearchProductResultType.ts
│   │   ├── StockType.ts
│   │   ├── TransactionFeeType.ts
│   │   ├── TransactionType.ts
│   │   ├── WebSettingsType.ts
│   │   ├── WebUserSettingType.ts
│   │   ├── i18nMessagesType.ts
│   │   └── index.ts
│   └── utils/
│       ├── debug.ts
│       ├── generateReportURIFromID.ts
│       ├── index.ts
│       ├── processGetCashFundsResultListObject.ts
│       ├── processGetOrdersResultListObject.ts
│       └── processPortfolio.ts
├── tests/
│   ├── enviroment_vars.spec.ts
│   ├── getAccountConfig.spec.ts
│   ├── getAccountData.spec.ts
│   ├── getJSESSIONID.spec.ts
│   ├── isLogin.spec.ts
│   ├── login.spec.ts
│   ├── logout.spec.ts
│   ├── searchProduct.spec.ts
│   └── test_constants.ts
├── tsconfig.json
└── tslint.json

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/workflows/node.js.yml
================================================
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [10.x, 12.x, 14.x]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - run: yarn install --frozen-lockfile
    - run: yarn run build
#    - run: yarn test #dont enable this, the CI pipeline won't and shouldn't have credentials.
    - run: yarn coverage
    - run: yarn lint


================================================
FILE: .gitignore
================================================
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Package-lock.json
package-lock.json

================================================
FILE: .nycrc
================================================
{
  "cache": false,
  "check-coverage": false,
  "extension": [
    ".ts"
  ],
  "include": [
    "src/**/*.js",
    "src/**/*.ts"
  ],
  "exclude": [
    "coverage/**",
    "node_modules/**",
    "**/*.d.ts",
    "**/*.test.ts"
  ],
  "sourceMap": true,
  "reporter": [
    "html",
    "text",
    "text-summary"
  ],
  "all": true,
  "instrument": true
}


================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2020 Ignacio F. Castillejo Gómez

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: README.md
================================================
# DeGiro Trading Broker API

This is an unofficial TypeScript API client (Backend only) for DeGiro's trading platform. Using this module you can easily automate your orders (buy and sell) and get information about orders, funds or products. From now on we have one time password (OTP) support.

All responses and objects are typed to develop faster and secure.

Unfortunately this library can not be used as frontend library, as DeGiro does not allow external requests through their CORS policy.

![DeGiro Logo](https://raw.githubusercontent.com/icastillejogomez/degiro-api/master/.assets/degiro.png)

![stars](https://badgen.net/github/stars/icastillejogomez/degiro-api)
![stars](https://badgen.net/github/open-issues/icastillejogomez/degiro-api)
![stars](https://badgen.net/github/license/icastillejogomez/degiro-api)

<br />

<a href="https://www.buymeacoffee.com/nachoogoomez" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>

<br />

Be careful, DeGiro could block your account if they catch you using automation scripts

## Table of content

<!--ts-->
  * [DeGiro Trading Broker API](#degiro-trading-broker-api)
  * [Table of content](#table-of-content)
  * [Installation](#installation)
  * [How to use](#how-to-use)
    * [Create an instance of DeGiro](#create-an-instance-of-degiro)
    * [Active Debug mode](#local-files)
    * [Documentation](#documentation)
    * [Running tests set](#running-tests-set)
    * [Get JSESSIONID and reuse sessions](#get-jsessionid-and-reuse-sessions)
    * [Check if we are authenticated](#check-if-we-are-authenticated)
  * [API](#api)
    * [Session endpoints](#session-endpoints)
      * [login](#login)
      * [logout](#logout)
      * [isLogin](#isLogin)
      * [getJSESSIONID](#getJSESSIONID)
    * [Account endpoints](#account-endpoints)
      * [getAccountConfig](#getAccountConfig)
      * [getAccountData](#getAccountData)
      * [getAccountState](#getAccountState)
      * [getAccountReports](#getAccountReports)
      * [getAccountInfo](#getAccountInfo)
    * [Search products endpoints](#foo)
      * [searchProduct](#searchProduct)
    * [Cash Funds endpoints](#cash-funds-endpoints)
      * [getCashFunds](#getCashFunds)
    * [Porfolio endpoints](#foo)
    * [Stocks endpoints](#foo)
      * [getFavouriteProducts](#foo)
      * [getPopularStocks](#foo)
    * [Orders endpoints](#foo)
      * [getOrders](#foo)
      * [getHistoricalOrders](#foo)
      * [createOrder](#foo)
      * [executeOrder](#foo)
      * [deleteOrder](#foo)
    * [Miscellaneous endpoints](#foo)
      * [getProductsByIds](#foo)
      * [getNews](#foo)
      * [getWebi18nMessages](#foo)
      * [getWebSettings](#foo)
      * [getWebUserSettings](#foo)
      * [getConfigDictionary](#foo)
  * [All project Types](#all-project-types)
    * [SomeType](#sometype)
  * [Need help endpoints](#need-help-endpoints)
  * [Degiro Command Line Interface](#degiro-command-line-interface)
  * [License](#dependency)
  * [TO DO List](#to-do-list)
<!--te-->

## Installation 

```sh
# using npm
npm install --save degiro-api

# using yarn
yarn add degiro-api
```

## How to use

### Create an instance of DeGiro

Basic log into DeGiro Platform. All endpoint needs a session key before those can be call them. You can pass credentials to DeGiro constructor or export in your terminal prompt sesion as `DEGIRO_USER` and `DEGIRO_PWD`

```js
const DeGiro = require('degiro-api').default
// or
import DeGiro from 'degiro-api'

// Basic degiro init
const degiro = new DeGiro({
  username: '<your_username_here>',
  pwd: '*****'
})

// or creating with the static create method
const degiro = DeGiro.create({ username: '*****', pwd: '*****' })

// or create with env credentials
const degiro = new DeGiro() // <-- Use DEGIRO_USER & DEGIRO_PWD
```

### Active Debug mode

Inside all module are call to one debug function that listen the `DEGIRO_DEBUG` env variable. Setting it with any truthy value you can enable all logs to debug the code. 

```js
$ export DEGIRO_DEBUG=1
$ yarn start
```

### Documentation

Run the next command and open index.html file inside doc folder to see a fresh documentation of the module.

Generate the documentation is easy, only run the next command:

```sh
$ yarn doc
or
$ npm run doc
```

### Running tests set

Before run the test set you must set DEGIRO_USER & DEGIRO_PWD env export variables to attach an account to the test sets.

Be careful, the test set are going to make many request to degiro and are going to generate many session. DeGiro can track this events and ban your account (I don't know, read all contract before sign up 🤷‍♂️)

Now, I'm developing a feature that can bring you the ability of reuse only one session across all the entire test set. (The login and logout tests always are going to create differents sessions)

To run this experimental feature set the `DEGIRO_TESTS_REUSE_SESSION` env variable to any truthy value.

Keep in mind: the tests can fail, if the deleteOrder test crash, you could have one new order in your account that you didn't create yourself. In those cases, the test process print this information in console. Read always all tests results. 

To run all tests set run the command: `yarn test` or `npm run test`

### Get JSESSIONID and reuse sessions

The JSessionId is the session browser cookie that DeGiro use to authenticate requests. You could prevent masive login/logout requests reusing a valid jsessionid from previous DeGiro instance. The way to do that is:

```js
import DeGiro from 'degiro-api'

(async () => {
  const degiro = new DeGiro({}) // <-- Using ENV variables

  await degiro.login()

  // Get the jsessionId (LOOK, is not a promise)
  const jsessionId = degiro.getJSESSIONID()
})()
```

```js
import DeGiro from 'degiro-api'

(async () => {

  // Create an instance from a previous session
  const degiro = new DeGiro({
    username: '<your_username_here>', // process.env['DEGIRO_USER]
    pwd: '<your_password_here>', // process.env['DEGIRO_PWD]
    oneTimePassword: '<your_one_time_password_here>', // process.env['DEGIRO_OTP]
    jsessionId: '<your_jsessionId_here>', // process.env['DEGIRO_JSESSIONID]
  })

  // Hydrate
  // Re-use sessions need to re-hydrate the account config data and could use as a session expiration checker
  await degiro.login()

  // Do your stuff here...

})()
```

### Check if we are authenticated

```js
import DeGiro from 'degiro-api'

(async () => {
  // Create an instance from a previous session
  const degiro = new DeGiro({}) // <-- Using ENV variables

  if (!degiro.isLogin()) {
    await degiro.login()
    if (degiro.isLogin()) {
      // AWESOME!! We're in
    }
  }
})()
```

The problem with this method is that it only checks if you have the account configuration data set. The only way to verify that the session is still active is make a request.
You can force isLogin method passing it a `secure` field set to true. This way the method will return a promise and below it will call a DeGiro API endpoint (usually getAccountConfig)

```js
import DeGiro from 'degiro-api'

(async () => {
  // Create an instance from a previous session
  const degiro = new DeGiro({}) // <-- Using ENV variables

  // Force to make a request and check if session is still alive
  if(! await degiro.isLogin({ secure: true })) {
    await degiro.login()
  }
})()
```

## API

### Session endpoints

#### login

`login(): Promise<AccountDataType>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
const accountData = await degiro.login()
```

#### logout

`logout(): Promise<void>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
const accountData = await degiro.login()
await degiro.logout()
```

#### isLogin

`isLogin() (options?: IsLoginOptionsType): boolean | Promise<boolean>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login()

const isLogin = degiro.isLogin()

if (! await degiro.isLogin({ secure: true })) {
  // Do your magic
}
```

#### getJSESSIONID

`getJSESSIONID(): string | undefined`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
degiro.getJSESSIONID() // undefined
await degiro.login()
degiro.getJSESSIONID() // string
```

### Account endpoints

#### getAccountConfig

`getAccountConfig(sessionId: string): Promise<AccountConfigType>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login()

const accountConfig = await degiro.getAccountConfig()
console.log(accountConfig)
```

#### getAccountData

`getAccountData(): Promise<AccountDataType>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login() // Login also returns accountData

const accountData = await degiro.getAccountData()
console.log(accountData)
```

#### getAccountState

`getAccountState(options: GetAccountStateOptionsType): Promise<any[]>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login()

const accountState = await degiro.getAccountState()
console.log(accountState)
```

#### getAccountReports

`getAccountReports(): Promise<AccountReportsType>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login()

const reports = await degiro.getAccountReports()
console.log(reports)
```

#### getAccountInfo

`getAccountInfo(): Promise<AccountInfoType>`

```js
import DeGiro from 'degiro-api'

const degiro = new DeGiro({})
await degiro.login()

const accountInfo = await degiro.getAccountInfo()
console.log(accountInfo)
```

### Search products endpoints

#### searchProduct

`searchProduct(options: SearchProductOptionsType): Promise<SearchProductResultType[]>`

* **options**: 
  * **text**: *required* string,
  * **type**: *optional* DeGiroProducTypes
  * **limit**: *optional* number default=10,
  * **offset**: *optional* number default=0,

`DeGiroProducTypes`

* *shares*: 1
* *bonds*: 2
* *futures*: 7
* *options*: 8
* *investmendFunds*: 13
* *leveragedProducts*: 14
* *etfs*: 131
* *cfds*: 535
* *warrants*: 536

Search the text "AAPL" without any limitation

```js
import DeGiro from 'degiro-api'

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '***********',
  })

  await degiro.login()

  const result = await degiro.searchProduct({ text: 'AAPL' })
  console.log(JSON.stringify(result, null, 2))
})()
```

Search TSLA stock

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { DeGiroProducTypes } = DeGiroEnums

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '***********',
  })

  await degiro.login()

  const result = await degiro.searchProduct({
    text: 'TSLA',
    type: DeGiroProducTypes.shares,
    limit: 1,
  })
  console.log(JSON.stringify(result, null, 2))
})()
```

### Cash Funds endpoints

#### getCashFunds

`getCashFunds(): Promise<CashFoundType[]>`

### Porfolio endpoints

#### getPortfolio

`getPortfolio(config: GetPorfolioConfigType): Promise<any[]>`

`getPortfolio` config parameter could have:
* **type**: set the types or positions you want to fetch. Could be:
  * ALL: Gets the response without filter it
  * ALL_POSITIONS: Gets only positions in products. Exclude positions like 'CASH', etc.
  * OPEN: Gets only opened positions. 
  * CLOSED: Gets only the closed positions in your portfolio.

* **getProductDetails**: if is set to true the positions results will have a `productData` field with all the product details.

Get all **open** positions:

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { PORTFOLIO_POSITIONS_TYPE_ENUM } = DeGiroEnums

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '**********',
  })

  await degiro.login()

  const portfolio = await degiro.getPortfolio({ 
    type: PORTFOLIO_POSITIONS_TYPE_ENUM.ALL, 
    getProductDetails: true,
  })
  console.log(JSON.stringify(portfolio, null, 2))
})()
```

Also you can fetch your portfolio data this way:

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { PORTFOLIO_POSITIONS_TYPE_ENUM } = DeGiroEnums

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '**********',
  })

  await degiro.login()

  const portfolio = await degiro.getPortfolio({ type: PORTFOLIO_POSITIONS_TYPE_ENUM.ALL })
  console.log(JSON.stringify(portfolio, null, 2))
})()
```

And getting product details too

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { PORTFOLIO_POSITIONS_TYPE_ENUM } = DeGiroEnums

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '**********',
  })

  await degiro.login()

  const portfolio = await degiro.getPortfolio({ 
    type: PORTFOLIO_POSITIONS_TYPE_ENUM.ALL, 
    getProductDetails: true,
  })
  console.log(JSON.stringify(portfolio, null, 2))
})()
```

### Stocks endpoints

#### getFavouriteProducts()

`getFavouriteProducts(): Promise<FavouriteProductType[]>`

#### getPopularStocks()

`getPopularStocks(): Promise<StockType[]>`

### Orders endpoints

### getOrders()

`getOrders(options: GetOrdersConfigType): Promise<GetOrdersResultType>`

### getHistoricalOrders()

`getHistoricalOrders(options: GetHistoricalOrdersOptionsType): Promise<HistoricalOrdersType>`

### createOrder()

`createOrder(order: OrderType): Promise<CreateOrderResultType>`

* **OrderType**
  * **buySell**: DeGiroActions,
  * **orderType**: DeGiroMarketOrderTypes,
  * **price**: *optional* Number,
  * **productId**: string,
  * **size**: number,
  * **stopPrice**: *optional* number,
  * **timeType**: DeGiroTimeTypes,


* **DeGiroActions**
  * **BUY**: 'BUY',
  * **SELL**: 'SELL',


* **DeGiroMarketOrderTypes**
  * **LIMITED**: 0,
  * **MARKET**: 2,
  * **STOP_LOSS**: 3,
  * **STOP_LOSS_LIMIT**: 1,

* **DeGiroTimeTypes**
  * **DAY**: 1,
  * **PERMANENT**: 3,

* **CreateOrderResultType**
  * **confirmationId**: String,
  * **freeSpaceNew**: Number,
  * **transactionFees**: [TransactionFeeType],


* **TransactionFeeType**
  * **amount**: Number,
  * **currency**: String,
  * **id**: Number,


```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes } = DeGiroEnums
const { OrderType } = DeGiroTypes

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: 'your_username_here',
    pwd: '************'
  })

  await degiro.login()

  const order: OrderType = {
    buySell: DeGiroActions.BUY,
    orderType: DeGiroMarketOrderTypes.LIMITED,
    productId: '331868', // $AAPL - Apple Inc
    size: 1,
    timeType: DeGiroTimeTypes.DAY,
    price: 272, // limit price [Degiro could reject this value]
    // stopPrice: 2,
  }

  const { confirmationId, freeSpaceNew, transactionFees } = await degiro.createOrder(order)
  console.log(JSON.stringify({ confirmationId, freeSpaceNew, transactionFees }, null, 2))
})()
```

### executeOrder()

`executeOrder(order: OrderType, executeId: string): Promise<String>`

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes } = DeGiroEnums
const { OrderType } = DeGiroTypes

(async () => {

  try {
    const degiro: DeGiro = new DeGiro({
      username: '<your_username_here>',
      pwd: <string>process.env.DEGIRO_PWD,
    })

    await degiro.login()

    const order: OrderType = {
      buySell: DeGiroActions.BUY,
      orderType: DeGiroMarketOrderTypes.LIMITED,
      productId: '331868', // $AAPL - Apple Inc
      size: 1,
      timeType: DeGiroTimeTypes.DAY,
      price: 270, // limit price
      // stopPrice: 2,
    }

    const { confirmationId, freeSpaceNew, transactionFees } = await degiro.createOrder(order)
    const orderId = await degiro.executeOrder(order, confirmationId)
    console.log(`Order executed with id: ${orderId}`)
  } catch (error) {
    console.error(error)
  }
})()
```

### deleteOrder()

`deleteOrder(orderId: String): Promise<void>`

```js
import DeGiro, { DeGiroEnums, DeGiroTypes } from 'degiro-api'
const { DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes } = DeGiroEnums
const { OrderType } = DeGiroTypes

(async () => {

  const degiro: DeGiro = new DeGiro({
    username: '<your_username_here>',
    pwd: <string>process.env.DEGIRO_PWD,
  })

  await degiro.login()

  const order: OrderType = {
    buySell: DeGiroActions.BUY,
    orderType: DeGiroMarketOrderTypes.LIMITED,
    productId: '331868', // $AAPL - Apple Inc
    size: 1,
    timeType: DeGiroTimeTypes.DAY,
    price: 272, // limit price
    // stopPrice: 2,
  }

  const { confirmationId, freeSpaceNew, transactionFees } = await degiro.createOrder(order)
  const orderId = await degiro.executeOrder(order, confirmationId)
  console.log(`Order executed with id: ${orderId}`)

  // Wait few seconds to avoid "Rate limit for the given request exceeded" error
  const TIMEOUT_SECONDS = 2 * 1000
  const deleteOrderFunction = async () => {
    try {
      await degiro.deleteOrder(orderId)
      console.log('Order removed')
    } catch (error) {
      console.error(error)
    }
  }
  setTimeout(deleteOrderFunction, TIMEOUT_SECONDS)
})()
```

### Miscellaneous endpoints

#### getProductsByIds()

`getProductsByIds(ids: string[]): Promise<any[]>`

#### getNews()

`getNews(options: GetNewsOptionsType): Promise<NewsType>`

#### getWebi18nMessages()

`getWebi18nMessages(lang: string): Promise<i18nMessagesType>`

#### getWebSettings()

`getWebSettings(): Promise<WebSettingsType>`

#### getWebUserSettings()

`getWebUserSettings(): Promise<WebUserSettingType>`

#### getConfigDictionary()

`getConfigDictionary(): Promise<ConfigDictionaryType>`


## All project Types

If you code with typescript and use [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense) you are going to get access to all objects properties and all stuff...

If you not, in the docs section could find all methods, functions, types, whatever you want. Don't waste more time and click here to see the [documentation](https://icastillejogomez.github.io/degiro-api/).

### SomeType

## Need help endpoints

We need help with the next endpoint:...

## Degiro Command Line Interface

[degiro-cli](https://github.com/icastillejogomez/degiro-cli) is an usefull command line interface that help us dealing with DeGiro platform through the terminal. You can see your portfolio status, create and execute orders and much more (may in the future)

```sh
$ degiro
Usage: DeGiro Command Line Interface [options] [command]

DeGiro CLI provide you access to DeGiro Broker across the terminal

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  login           validate credentials with DeGiro platform
  search          Search products in DeGiro
  portfolio       show account portfolio in real-time
  help [command]  display help for command
```
## License

MIT


## TO DO List

1. Two factor
2. Get prices



================================================
FILE: dist/DeGiro.d.ts
================================================
import { DeGiroClassInterface } from './interfaces';
import { DeGiroSettupType, AccountConfigType, AccountDataType, CashFoundType, SearchProductResultType, GetPorfolioConfigType, SearchProductOptionsType, OrderType, CreateOrderResultType, IsLoginOptionsType, GetOrdersConfigType, GetOrdersResultType, GetAccountStateOptionsType, AccountReportsType, AccountInfoType, GetHistoricalOrdersOptionsType, HistoricalOrdersType, FavouriteProductType, StockType, GetNewsOptionsType, NewsType, WebUserSettingType, ConfigDictionaryType, i18nMessagesType, WebSettingsType, GetPopularStocksConfigType, GetTransactionsOptionsType, TransactionType } from './types';
/**
 * @class DeGiro
 * @description Main class of DeGiro Unofficial API.
 */
export declare class DeGiro implements DeGiroClassInterface {
    private readonly username;
    private readonly pwd;
    private readonly oneTimePassword;
    private jsessionId;
    private accountConfig;
    private accountData;
    constructor(params?: DeGiroSettupType);
    static create(params: DeGiroSettupType): DeGiro;
    login(): Promise<AccountDataType>;
    logout(): Promise<void>;
    isLogin(options?: IsLoginOptionsType): boolean | Promise<boolean>;
    private hasSessionId;
    private loginWithJSESSIONID;
    getJSESSIONID: () => string | undefined;
    getAccountConfig(sessionId?: string): Promise<AccountConfigType>;
    getAccountData(): Promise<AccountDataType>;
    getAccountState(options: GetAccountStateOptionsType): Promise<any[]>;
    getAccountReports(): Promise<AccountReportsType>;
    getAccountInfo(): Promise<AccountInfoType>;
    searchProduct(options: SearchProductOptionsType): Promise<SearchProductResultType[]>;
    getCashFunds(): Promise<CashFoundType[]>;
    getPortfolio(config: GetPorfolioConfigType): Promise<any[]>;
    private completePortfolioDetails;
    getFavouriteProducts(): Promise<FavouriteProductType[]>;
    getPopularStocks(config?: GetPopularStocksConfigType): Promise<StockType[]>;
    getOrders(config: GetOrdersConfigType): Promise<GetOrdersResultType>;
    getHistoricalOrders(options: GetHistoricalOrdersOptionsType): Promise<HistoricalOrdersType>;
    createOrder(order: OrderType): Promise<CreateOrderResultType>;
    executeOrder(order: OrderType, executeId: String): Promise<String>;
    deleteOrder(orderId: String): Promise<void>;
    getTransactions(options: GetTransactionsOptionsType): Promise<TransactionType[]>;
    getProductsByIds(ids: string[]): Promise<any[]>;
    getNews(options: GetNewsOptionsType): Promise<NewsType>;
    getWebi18nMessages(lang?: string): Promise<i18nMessagesType>;
    getWebSettings(): Promise<WebSettingsType>;
    getWebUserSettings(): Promise<WebUserSettingType>;
    getConfigDictionary(): Promise<ConfigDictionaryType>;
}
//# sourceMappingURL=DeGiro.d.ts.map

================================================
FILE: dist/DeGiro.js
================================================
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeGiro = void 0;
// Import modules
var async = __importStar(require("async"));
// Import requests
var api_1 = require("./api");
/**
 * @class DeGiro
 * @description Main class of DeGiro Unofficial API.
 */
var DeGiro = /** @class */ (function () {
    /* Constructor and generator function */
    function DeGiro(params) {
        var _this = this;
        if (params === void 0) { params = {}; }
        this.hasSessionId = function () { return !!_this.accountConfig && !!_this.accountConfig.data && !!_this.accountConfig.data.sessionId; };
        this.getJSESSIONID = function () { return _this.hasSessionId() ? _this.accountConfig.data.sessionId : undefined; };
        var username = params.username, pwd = params.pwd, oneTimePassword = params.oneTimePassword, jsessionId = params.jsessionId;
        username = username || process.env['DEGIRO_USER'];
        pwd = pwd || process.env['DEGIRO_PWD'];
        oneTimePassword = oneTimePassword || process.env['DEGIRO_OTP'];
        jsessionId = jsessionId || process.env['DEGIRO_JSESSIONID'];
        if (!username && !jsessionId)
            throw new Error('DeGiro api needs an username to access');
        if (!pwd && !jsessionId)
            throw new Error('DeGiro api needs an password to access');
        this.username = username;
        this.pwd = pwd;
        this.oneTimePassword = oneTimePassword;
        this.jsessionId = jsessionId;
    }
    DeGiro.create = function (params) {
        return new DeGiro(params);
    };
    /* Session methods */
    DeGiro.prototype.login = function () {
        var _this = this;
        if (this.jsessionId)
            return this.loginWithJSESSIONID(this.jsessionId);
        return new Promise(function (resolve, reject) {
            api_1.loginRequest({
                username: _this.username,
                pwd: _this.pwd,
                oneTimePassword: _this.oneTimePassword,
            })
                .then(function (loginResponse) {
                if (!loginResponse.sessionId)
                    reject('Login response have not a sessionId field');
                else
                    return _this.getAccountConfig(loginResponse.sessionId);
            })
                .then(function () { return _this.getAccountData(); })
                .then(resolve)
                .catch(reject);
        });
    };
    DeGiro.prototype.logout = function () {
        var _this = this;
        return new Promise(function (resolve, reject) {
            if (!_this.accountData || !_this.accountConfig) {
                return reject('You must log in first');
            }
            api_1.logoutRequest(_this.accountData, _this.accountConfig)
                .then(function () {
                delete _this.accountData;
                delete _this.accountConfig;
                resolve();
            })
                .catch(reject);
        });
    };
    DeGiro.prototype.isLogin = function (options) {
        var _this = this;
        if (!options || !options.secure)
            return this.hasSessionId() && !!this.accountData;
        return new Promise(function (resolve) {
            _this.getAccountConfig()
                .then(function () { return resolve(true); })
                .catch(function () { return resolve(false); });
        });
    };
    DeGiro.prototype.loginWithJSESSIONID = function (jsessionId) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            _this.getAccountConfig(jsessionId)
                .then(function () { return _this.getAccountData(); })
                .then(function (accountData) {
                _this.jsessionId = undefined; // Remove the jsessionId to prevent reuse
                resolve(accountData);
            })
                .catch(reject);
        });
    };
    /* Account methods */
    DeGiro.prototype.getAccountConfig = function (sessionId) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            if (!sessionId && !_this.hasSessionId()) {
                return reject('You must log in first or provide a JSESSIONID');
            }
            api_1.getAccountConfigRequest(sessionId || _this.accountConfig.data.sessionId)
                .then(function (accountConfig) {
                _this.accountConfig = accountConfig;
                resolve(accountConfig);
            })
                .catch(reject);
        });
    };
    DeGiro.prototype.getAccountData = function () {
        var _this = this;
        return new Promise(function (resolve, reject) {
            if (!_this.hasSessionId()) {
                return reject('You must log in first');
            }
            api_1.getAccountDataRequest(_this.accountConfig)
                .then(function (accountData) {
                _this.accountData = accountData;
                resolve(accountData);
            })
                .catch(reject);
        });
    };
    DeGiro.prototype.getAccountState = function (options) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getAccountStateRequest(this.accountData, this.accountConfig, options);
    };
    DeGiro.prototype.getAccountReports = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getAccountReportsRequest(this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getAccountInfo = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getAccountInfoRequest(this.accountData, this.accountConfig);
    };
    /* Search methods */
    DeGiro.prototype.searchProduct = function (options) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.searchProductRequest(options, this.accountData, this.accountConfig);
    };
    /* Cash Funds methods */
    DeGiro.prototype.getCashFunds = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getCashFundstRequest(this.accountData, this.accountConfig);
    };
    /* Porfolio methods */
    DeGiro.prototype.getPortfolio = function (config) {
        var _this = this;
        return new Promise(function (resolve, reject) {
            if (!_this.hasSessionId()) {
                return reject('You must log in first');
            }
            api_1.getPortfolioRequest(_this.accountData, _this.accountConfig, config)
                .then(function (portfolio) { return _this.completePortfolioDetails(portfolio, config.getProductDetails || false); })
                .then(resolve)
                .catch(reject);
        });
    };
    DeGiro.prototype.completePortfolioDetails = function (portfolio, getProductDetails) {
        var _this = this;
        if (!getProductDetails)
            return Promise.resolve(portfolio);
        return new Promise(function (resolve, reject) {
            async.map(portfolio, function (position, next) {
                if (position.positionType !== 'PRODUCT')
                    return next(null, position);
                _this.getProductsByIds([(position.id)])
                    .then(function (product) {
                    position.productData = product[position.id];
                    next(null, position);
                })
                    .catch(function (error) { return next(error); });
                // tslint:disable-next-line: align
            }, function (error, portfolio) {
                if (error)
                    return reject(error);
                resolve(portfolio);
            });
        });
    };
    /* Stocks methods */
    DeGiro.prototype.getFavouriteProducts = function () {
        return new Promise(function (resolve, reject) {
            reject('Method not implemented');
        });
    };
    DeGiro.prototype.getPopularStocks = function (config) {
        if (config === void 0) { config = {}; }
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getPopularStocksRequest(this.accountData, this.accountConfig, config);
    };
    /* Orders methods */
    DeGiro.prototype.getOrders = function (config) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getOrdersRequest(this.accountData, this.accountConfig, config);
    };
    DeGiro.prototype.getHistoricalOrders = function (options) {
        return new Promise(function (resolve, reject) {
            reject('Method not implemented');
        });
    };
    DeGiro.prototype.createOrder = function (order) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.createOrderRequest(order, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.executeOrder = function (order, executeId) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.executeOrderRequest(order, executeId, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.deleteOrder = function (orderId) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.deleteOrderRequest(orderId, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getTransactions = function (options) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getTransactionsRequest(this.accountData, this.accountConfig, options);
    };
    /* Miscellaneous methods */
    DeGiro.prototype.getProductsByIds = function (ids) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getProductsByIdsRequest(ids, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getNews = function (options) {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getNewsRequest(options, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getWebi18nMessages = function (lang) {
        if (lang === void 0) { lang = 'es_ES'; }
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getWebi18nMessagesRequest(lang, this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getWebSettings = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getWebSettingsRequest(this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getWebUserSettings = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getWebUserSettingsRequest(this.accountData, this.accountConfig);
    };
    DeGiro.prototype.getConfigDictionary = function () {
        if (!this.hasSessionId()) {
            return Promise.reject('You must log in first');
        }
        return api_1.getConfigDictionaryRequest(this.accountData, this.accountConfig);
    };
    return DeGiro;
}());
exports.DeGiro = DeGiro;
//# sourceMappingURL=DeGiro.js.map

================================================
FILE: dist/api/createOrderRequest.d.ts
================================================
import { OrderType, AccountDataType, AccountConfigType, CreateOrderResultType } from '../types';
export declare function createOrderRequest(order: OrderType, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<CreateOrderResultType>;
//# sourceMappingURL=createOrderRequest.d.ts.map

================================================
FILE: dist/api/createOrderRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createOrderRequest = void 0;
// Import Consts
var enums_1 = require("../enums");
var CREATE_ORDER_PATH = enums_1.DEGIRO_API_PATHS.CREATE_ORDER_PATH;
// Import debug console log
var utils_1 = require("../utils");
function createOrderRequest(order, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            body: JSON.stringify(order),
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        var uri = "" + accountConfig.data.tradingUrl + CREATE_ORDER_PATH + ";jsessionid=" + accountConfig.data.sessionId + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug(uri, requestOptions);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            if (res.errors)
                return reject(res.errors);
            resolve(res.data);
        })
            .catch(reject);
    });
}
exports.createOrderRequest = createOrderRequest;
//# sourceMappingURL=createOrderRequest.js.map

================================================
FILE: dist/api/deleteOrderRequest.d.ts
================================================
import { AccountDataType, AccountConfigType } from '../types';
export declare function deleteOrderRequest(orderId: String, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<void>;
//# sourceMappingURL=deleteOrderRequest.d.ts.map

================================================
FILE: dist/api/deleteOrderRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteOrderRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
function deleteOrderRequest(orderId, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            method: 'DELETE',
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            body: '',
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // tslint:disable-next-line: max-line-length
        var uri = "https://trader.degiro.nl/trading/secure/v5/order/" + orderId + ";jsessionid=" + accountConfig.data.sessionId + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug(uri, requestOptions);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug(res);
            if (res.errors)
                return reject(res.errors);
            resolve();
        })
            .catch(reject);
    });
}
exports.deleteOrderRequest = deleteOrderRequest;
//# sourceMappingURL=deleteOrderRequest.js.map

================================================
FILE: dist/api/executeOrderRequest.d.ts
================================================
import { OrderType, AccountDataType, AccountConfigType } from '../types';
export declare function executeOrderRequest(order: OrderType, executeId: String, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<String>;
//# sourceMappingURL=executeOrderRequest.d.ts.map

================================================
FILE: dist/api/executeOrderRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.executeOrderRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
function executeOrderRequest(order, executeId, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            body: JSON.stringify(order),
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // tslint:disable-next-line: max-line-length
        var uri = "https://trader.degiro.nl/trading/secure/v5/order/" + executeId + ";jsessionid=" + accountConfig.data.sessionId + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug(uri, requestOptions);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            if (res.errors)
                return reject(res.errors);
            resolve(res.data.orderId);
        })
            .catch(reject);
    });
}
exports.executeOrderRequest = executeOrderRequest;
//# sourceMappingURL=executeOrderRequest.js.map

================================================
FILE: dist/api/getAccountConfig.d.ts
================================================
import { AccountConfigType } from '../types';
export declare function getAccountConfigRequest(sessionId: string): Promise<AccountConfigType>;
//# sourceMappingURL=getAccountConfig.d.ts.map

================================================
FILE: dist/api/getAccountConfig.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountConfigRequest = void 0;
// Import enums
var enums_1 = require("../enums");
var BASE_API_URL = enums_1.DEGIRO_API_PATHS.BASE_API_URL, GET_ACCOUNT_CONFIG_PATH = enums_1.DEGIRO_API_PATHS.GET_ACCOUNT_CONFIG_PATH;
// Import debug console log
var utils_1 = require("../utils");
function getAccountConfigRequest(sessionId) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        utils_1.debug("Making request to " + BASE_API_URL + GET_ACCOUNT_CONFIG_PATH + " with JSESSIONID: " + sessionId);
        fetch(BASE_API_URL + GET_ACCOUNT_CONFIG_PATH, requestOptions)
            .then(function (res) {
            if (!res.ok) {
                reject(res.statusText);
            }
            return res.json();
        })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            resolve(res);
        })
            .catch(reject);
    });
}
exports.getAccountConfigRequest = getAccountConfigRequest;
//# sourceMappingURL=getAccountConfig.js.map

================================================
FILE: dist/api/getAccountData.d.ts
================================================
import { AccountDataType, AccountConfigType } from '../types';
export declare function getAccountDataRequest(accountConfig: AccountConfigType): Promise<AccountDataType>;
//# sourceMappingURL=getAccountData.d.ts.map

================================================
FILE: dist/api/getAccountData.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountDataRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
function getAccountDataRequest(accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        utils_1.debug("Making request to " + accountConfig.data.paUrl + "client?sessionId=" + accountConfig.data.sessionId);
        fetch(accountConfig.data.paUrl + "client?sessionId=" + accountConfig.data.sessionId, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            resolve(res);
        })
            .catch(reject);
    });
}
exports.getAccountDataRequest = getAccountDataRequest;
//# sourceMappingURL=getAccountData.js.map

================================================
FILE: dist/api/getAccountInfoRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, AccountInfoType } from '../types';
export declare function getAccountInfoRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<AccountInfoType>;
//# sourceMappingURL=getAccountInfoRequest.d.ts.map

================================================
FILE: dist/api/getAccountInfoRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountInfoRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// Importamos constantes
var enums_1 = require("../enums");
var GET_ACCOUNT_INFO_PATH = enums_1.DEGIRO_API_PATHS.GET_ACCOUNT_INFO_PATH;
function getAccountInfoRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.tradingUrl + GET_ACCOUNT_INFO_PATH + accountData.data.intAccount + ";jsessionid=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            var data = res.data;
            resolve(data);
        })
            .catch(reject);
    });
}
exports.getAccountInfoRequest = getAccountInfoRequest;
//# sourceMappingURL=getAccountInfoRequest.js.map

================================================
FILE: dist/api/getAccountReportsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, AccountReportsType } from '../types';
export declare function getAccountReportsRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<AccountReportsType>;
//# sourceMappingURL=getAccountReportsRequest.d.ts.map

================================================
FILE: dist/api/getAccountReportsRequest.js
================================================
"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountReportsRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// Import utils functions
var generateReportURIFromID_1 = require("../utils/generateReportURIFromID");
// Importamos constantes
var enums_1 = require("../enums");
var GET_ACCOUNT_REPORTS_PATH = enums_1.DEGIRO_API_PATHS.GET_ACCOUNT_REPORTS_PATH;
function getAccountReportsRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.paUrl + GET_ACCOUNT_REPORTS_PATH + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            var data = res.data;
            // Añadimos la URL de descarga del archivo para que sea más facil en cliente
            data = data.map(function (report) { return (__assign(__assign({}, report), { uri: generateReportURIFromID_1.generateReportURIFromID(report.id, accountData, accountConfig) })); });
            resolve(data);
        })
            .catch(reject);
    });
}
exports.getAccountReportsRequest = getAccountReportsRequest;
//# sourceMappingURL=getAccountReportsRequest.js.map

================================================
FILE: dist/api/getAccountStateRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, GetAccountStateOptionsType } from '../types';
export declare function getAccountStateRequest(accountData: AccountDataType, accountConfig: AccountConfigType, config: GetAccountStateOptionsType): Promise<any[]>;
//# sourceMappingURL=getAccountStateRequest.d.ts.map

================================================
FILE: dist/api/getAccountStateRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountStateRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
var DeGiroEnums_1 = require("../enums/DeGiroEnums");
var GET_ACCOUNT_STATE_PATH = DeGiroEnums_1.DEGIRO_API_PATHS.GET_ACCOUNT_STATE_PATH;
// tslint:disable-next-line: max-line-length
function getAccountStateRequest(accountData, accountConfig, config) {
    return new Promise(function (resolve, reject) {
        // Create params to get orders by types
        var from = config.from, to = config.to;
        var params = '';
        params += "fromDate=" + encodeURIComponent(from) + "&";
        params += "toDate=" + encodeURIComponent(to) + "&";
        params += "intAccount=" + accountData.data.intAccount + "&";
        params += "sessionId=" + accountConfig.data.sessionId;
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.reportingUrl + GET_ACCOUNT_STATE_PATH + "?" + params;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            if (!res.data || !res.data.cashMovements || !Array.isArray(res.data.cashMovements))
                return reject('DeGiro response does not match with know scheme');
            resolve(res.data.cashMovements);
        })
            .catch(reject);
    });
}
exports.getAccountStateRequest = getAccountStateRequest;
//# sourceMappingURL=getAccountStateRequest.js.map

================================================
FILE: dist/api/getCashFundstRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, CashFoundType } from '../types';
export declare function getCashFundstRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<CashFoundType[]>;
//# sourceMappingURL=getCashFundstRequest.d.ts.map

================================================
FILE: dist/api/getCashFundstRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCashFundstRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
var DeGiroEnums_1 = require("../enums/DeGiroEnums");
var GET_GENERIC_DATA_PATH = DeGiroEnums_1.DEGIRO_API_PATHS.GET_GENERIC_DATA_PATH;
// tslint:disable-next-line: max-line-length
function getCashFundstRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var params = '';
        params += 'cashFunds=0&';
        params += 'limit=100';
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.tradingUrl + GET_GENERIC_DATA_PATH + accountData.data.intAccount + ";jsessionid=" + accountConfig.data.sessionId + "?" + params;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            if (!res.cashFunds || !res.cashFunds.value || !Array.isArray(res.cashFunds.value)) {
                return reject('Invalid response format');
            }
            var data = res.cashFunds.value;
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            resolve(data.map(utils_1.processGetCashFundsResultListObject));
        })
            .catch(reject);
    });
}
exports.getCashFundstRequest = getCashFundstRequest;
//# sourceMappingURL=getCashFundstRequest.js.map

================================================
FILE: dist/api/getConfigDictionaryRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, ConfigDictionaryType } from '../types';
export declare function getConfigDictionaryRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<ConfigDictionaryType>;
//# sourceMappingURL=getConfigDictionaryRequest.d.ts.map

================================================
FILE: dist/api/getConfigDictionaryRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfigDictionaryRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
function getConfigDictionaryRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = accountConfig.data.dictionaryUrl + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            resolve(res);
        })
            .catch(reject);
    });
}
exports.getConfigDictionaryRequest = getConfigDictionaryRequest;
//# sourceMappingURL=getConfigDictionaryRequest.js.map

================================================
FILE: dist/api/getNewsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, GetNewsOptionsType, NewsType } from '../types';
export declare function getNewsRequest(options: GetNewsOptionsType, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<NewsType>;
//# sourceMappingURL=getNewsRequest.d.ts.map

================================================
FILE: dist/api/getNewsRequest.js
================================================
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (this && this.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNewsRequest = void 0;
// Import paths
var enums_1 = require("../enums");
var GET_LATESTS_NEWS_PATH = enums_1.DEGIRO_API_PATHS.GET_LATESTS_NEWS_PATH, GET_TOP_NEWS_PATH = enums_1.DEGIRO_API_PATHS.GET_TOP_NEWS_PATH;
function getNewsRequest(options, accountData, accountConfig) {
    var _this = this;
    return new Promise(function (resolve, reject) { return __awaiter(_this, void 0, void 0, function () {
        var latest, top, _a, latestOffset, _b, latestLimit, _c, languages, params, requestOptions, latestNewsURI, topNewsURI, result, latestFetch, data, latestFetch, data, error_1;
        return __generator(this, function (_d) {
            switch (_d.label) {
                case 0:
                    latest = options.latest, top = options.top, _a = options.latestOffset, latestOffset = _a === void 0 ? 0 : _a, _b = options.latestLimit, latestLimit = _b === void 0 ? 20 : _b, _c = options.languages, languages = _c === void 0 ? 'es' : _c;
                    params = '';
                    params += "offset=" + latestOffset + "&";
                    params += "limit=" + latestLimit + "&";
                    params += "languages=" + languages + "&";
                    params += "intAccount=" + accountData.data.intAccount + "&";
                    params += "sessionId=" + accountConfig.data.sessionId;
                    requestOptions = {
                        headers: {
                            Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
                        },
                        credentials: 'include',
                        referer: 'https://trader.degiro.nl/trader/',
                    };
                    latestNewsURI = "" + accountConfig.data.companiesServiceUrl + GET_LATESTS_NEWS_PATH + "?" + params;
                    topNewsURI = "" + accountConfig.data.companiesServiceUrl + GET_TOP_NEWS_PATH + "?" + params;
                    result = {
                        latest: {
                            items: [],
                        },
                        top: {
                            items: [],
                        },
                    };
                    _d.label = 1;
                case 1:
                    _d.trys.push([1, 8, , 9]);
                    if (!latest) return [3 /*break*/, 4];
                    return [4 /*yield*/, fetch(latestNewsURI, requestOptions)];
                case 2:
                    latestFetch = _d.sent();
                    return [4 /*yield*/, latestFetch.json()];
                case 3:
                    data = (_d.sent()).data;
                    result.latest = data;
                    _d.label = 4;
                case 4:
                    if (!top) return [3 /*break*/, 7];
                    return [4 /*yield*/, fetch(topNewsURI, requestOptions)];
                case 5:
                    latestFetch = _d.sent();
                    return [4 /*yield*/, latestFetch.json()];
                case 6:
                    data = (_d.sent()).data;
                    result.top = data;
                    _d.label = 7;
                case 7: return [3 /*break*/, 9];
                case 8:
                    error_1 = _d.sent();
                    return [2 /*return*/, reject(error_1)];
                case 9:
                    // Return te result
                    resolve(result);
                    return [2 /*return*/];
            }
        });
    }); });
}
exports.getNewsRequest = getNewsRequest;
//# sourceMappingURL=getNewsRequest.js.map

================================================
FILE: dist/api/getOrdersRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, GetOrdersConfigType, GetOrdersResultType } from '../types';
export declare function getOrdersRequest(accountData: AccountDataType, accountConfig: AccountConfigType, config: GetOrdersConfigType): Promise<GetOrdersResultType>;
//# sourceMappingURL=getOrdersRequest.d.ts.map

================================================
FILE: dist/api/getOrdersRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOrdersRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
var DeGiroEnums_1 = require("../enums/DeGiroEnums");
var utils_2 = require("../utils/");
// tslint:disable-next-line: max-line-length
function getOrdersRequest(accountData, accountConfig, config) {
    return new Promise(function (resolve, reject) {
        // Create params to get orders by types
        var active = config.active, lastTransactions = config.lastTransactions;
        var params = '';
        if (active)
            params += DeGiroEnums_1.GET_ORDERS_TYPES.ACTIVE + "=0&";
        if (lastTransactions)
            params += DeGiroEnums_1.GET_ORDERS_TYPES.TRANSACTIONS + "=0&";
        var requestOptions = {
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = accountConfig.data.tradingUrl + "v5/update/" + accountData.data.intAccount + ";jsessionid=" + accountConfig.data.sessionId + "?" + params;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            var result = {
                orders: res.orders ? res.orders.value.map(utils_2.processGetOrdersResultListObject) : [],
                lastTransactions: res.transactions ? res.transactions.value.map(utils_2.processGetOrdersResultListObject) : [],
            };
            resolve(result);
        })
            .catch(reject);
    });
}
exports.getOrdersRequest = getOrdersRequest;
//# sourceMappingURL=getOrdersRequest.js.map

================================================
FILE: dist/api/getPopularStocksRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, StockType, GetPopularStocksConfigType } from '../types';
export declare function getPopularStocksRequest(accountData: AccountDataType, accountConfig: AccountConfigType, config: GetPopularStocksConfigType): Promise<StockType[]>;
//# sourceMappingURL=getPopularStocksRequest.d.ts.map

================================================
FILE: dist/api/getPopularStocksRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPopularStocksRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// Importamos constantes
var enums_1 = require("../enums");
var STOCKS_SEARCH_PATH = enums_1.DEGIRO_API_PATHS.STOCKS_SEARCH_PATH;
// tslint:disable-next-line: max-line-length
function getPopularStocksRequest(accountData, accountConfig, config) {
    return new Promise(function (resolve, reject) {
        // Create fetch request options
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Create params to reach popular stocks
        var _a = config.popularOnly, popularOnly = _a === void 0 ? true : _a, _b = config.requireTotal, requireTotal = _b === void 0 ? false : _b, _c = config.limit, limit = _c === void 0 ? 9 : _c, _d = config.offset, offset = _d === void 0 ? 0 : _d;
        var params = '';
        params += "popularOnly=" + popularOnly + "&";
        params += "requireTotal=" + requireTotal + "&";
        params += "offset=" + offset + "&";
        params += "limit=" + limit + "&";
        params += "intAccount=" + accountData.data.intAccount + "&";
        params += "sessionId=" + accountConfig.data.sessionId;
        // Do the request to get a account config data
        var url = "" + accountConfig.data.productSearchUrl + STOCKS_SEARCH_PATH + "?" + params;
        utils_1.debug("Making request to " + url + " with params: \n" + requestOptions);
        fetch(url, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            resolve(res.products);
        })
            .catch(reject);
    });
}
exports.getPopularStocksRequest = getPopularStocksRequest;
//# sourceMappingURL=getPopularStocksRequest.js.map

================================================
FILE: dist/api/getPortfolioRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, GetPorfolioConfigType } from '../types';
export declare function getPortfolioRequest(accountData: AccountDataType, accountConfig: AccountConfigType, config: GetPorfolioConfigType): Promise<any[]>;
//# sourceMappingURL=getPortfolioRequest.d.ts.map

================================================
FILE: dist/api/getPortfolioRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPortfolioRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// tslint:disable-next-line: max-line-length
function getPortfolioRequest(accountData, accountConfig, config) {
    return new Promise(function (resolve, reject) {
        // Create params to reach portfolio
        var params = '&portfolio=0';
        // Do the request to get a account config data
        utils_1.debug("Making request to " + accountConfig.data.tradingUrl + "v5/update/" + accountData.data.intAccount + ";jsessionid=" + accountConfig.data.sessionId + "?" + params + "}");
        fetch(accountConfig.data.tradingUrl + "v5/update/" + accountData.data.intAccount + ";jsessionid=" + accountConfig.data.sessionId + "?" + params)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            var portfolio = res.portfolio.value;
            var positions = utils_1.processPortfolio(portfolio, config);
            resolve(positions);
        })
            .catch(reject);
    });
}
exports.getPortfolioRequest = getPortfolioRequest;
//# sourceMappingURL=getPortfolioRequest.js.map

================================================
FILE: dist/api/getProductsByIdsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType } from '../types';
export declare function getProductsByIdsRequest(ids: string[], accountData: AccountDataType, accountConfig: AccountConfigType): Promise<any[]>;
//# sourceMappingURL=getProductsByIdsRequest.d.ts.map

================================================
FILE: dist/api/getProductsByIdsRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProductsByIdsRequest = void 0;
// tslint:disable-next-line: max-line-length
function getProductsByIdsRequest(ids, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            method: 'POST',
            body: JSON.stringify(ids.map(function (id) { return id.toString(); })),
            headers: {
                'Content-Type': 'application/json',
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        fetch(accountConfig.data.productSearchUrl + "v5/products/info?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) { return resolve(res.data); })
            .catch(reject);
    });
}
exports.getProductsByIdsRequest = getProductsByIdsRequest;
//# sourceMappingURL=getProductsByIdsRequest.js.map

================================================
FILE: dist/api/getTransactionsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, GetTransactionsOptionsType, TransactionType } from "../types";
export declare function getTransactionsRequest(accountData: AccountDataType, accountConfig: AccountConfigType, config: GetTransactionsOptionsType): Promise<TransactionType[]>;
//# sourceMappingURL=getTransactionsRequest.d.ts.map

================================================
FILE: dist/api/getTransactionsRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTransactionsRequest = void 0;
var enums_1 = require("../enums");
var utils_1 = require("../utils");
var GET_TRANSACTIONS_PATH = enums_1.DEGIRO_API_PATHS.GET_TRANSACTIONS_PATH;
function getTransactionsRequest(accountData, accountConfig, config) {
    return new Promise(function (resolve, reject) {
        // Create params to get orders by types
        var params = '';
        params += "fromDate=" + encodeURIComponent(config.fromDate) + "&";
        params += "toDate=" + encodeURIComponent(config.toDate) + "&";
        params += "groupTransactionsByOrder";
        params += "intAccount=" + accountData.data.intAccount + "&";
        params += "sessionId=" + accountConfig.data.sessionId;
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.reportingUrl + GET_TRANSACTIONS_PATH + "?" + params;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            resolve(res.data);
        })
            .catch(reject);
    });
}
exports.getTransactionsRequest = getTransactionsRequest;
//# sourceMappingURL=getTransactionsRequest.js.map

================================================
FILE: dist/api/getWebSettingsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, WebSettingsType } from '../types';
export declare function getWebSettingsRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<WebSettingsType>;
//# sourceMappingURL=getWebSettingsRequest.d.ts.map

================================================
FILE: dist/api/getWebSettingsRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebSettingsRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// Importamos constantes
var enums_1 = require("../enums");
var GET_WEB_SETTINGS_PATH = enums_1.DEGIRO_API_PATHS.GET_WEB_SETTINGS_PATH;
function getWebSettingsRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.paUrl + GET_WEB_SETTINGS_PATH + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            var data = res.data;
            resolve(data);
        })
            .catch(reject);
    });
}
exports.getWebSettingsRequest = getWebSettingsRequest;
//# sourceMappingURL=getWebSettingsRequest.js.map

================================================
FILE: dist/api/getWebUserSettingsRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, WebUserSettingType } from '../types';
export declare function getWebUserSettingsRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<WebUserSettingType>;
//# sourceMappingURL=getWebUserSettingsRequest.d.ts.map

================================================
FILE: dist/api/getWebUserSettingsRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebUserSettingsRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
// Importamos constantes
var enums_1 = require("../enums");
var GET_WEB_USER_SETTINGS_PATH = enums_1.DEGIRO_API_PATHS.GET_WEB_USER_SETTINGS_PATH;
function getWebUserSettingsRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = "" + accountConfig.data.paUrl + GET_WEB_USER_SETTINGS_PATH + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            var data = res.data;
            resolve(data);
        })
            .catch(reject);
    });
}
exports.getWebUserSettingsRequest = getWebUserSettingsRequest;
//# sourceMappingURL=getWebUserSettingsRequest.js.map

================================================
FILE: dist/api/getWebi18nMessagesRequest.d.ts
================================================
import { AccountConfigType, AccountDataType, i18nMessagesType } from '../types';
export declare function getWebi18nMessagesRequest(lang: string, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<i18nMessagesType>;
//# sourceMappingURL=getWebi18nMessagesRequest.d.ts.map

================================================
FILE: dist/api/getWebi18nMessagesRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebi18nMessagesRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
function getWebi18nMessagesRequest(lang, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        var requestOptions = {
            headers: {
                Cookie: "JSESSIONID=" + accountConfig.data.sessionId + ";",
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a account config data
        var uri = accountConfig.data.i18nUrl + "messages_" + lang;
        utils_1.debug("Making request to " + uri);
        fetch(uri, requestOptions)
            .then(function (res) { return res.json(); })
            .then(function (res) {
            utils_1.debug('Response:\n', JSON.stringify(res, null, 2));
            var data = res.data;
            resolve(data);
        })
            .catch(reject);
    });
}
exports.getWebi18nMessagesRequest = getWebi18nMessagesRequest;
//# sourceMappingURL=getWebi18nMessagesRequest.js.map

================================================
FILE: dist/api/index.d.ts
================================================
import { loginRequest } from './login';
import { logoutRequest } from './logout';
import { getAccountConfigRequest } from './getAccountConfig';
import { getAccountDataRequest } from './getAccountData';
import { getPortfolioRequest } from './getPortfolioRequest';
import { getProductsByIdsRequest } from './getProductsByIdsRequest';
import { searchProductRequest } from './searchProductRequest';
import { createOrderRequest } from './createOrderRequest';
import { getOrdersRequest } from './getOrdersRequest';
import { executeOrderRequest } from './executeOrderRequest';
import { deleteOrderRequest } from './deleteOrderRequest';
import { getAccountStateRequest } from './getAccountStateRequest';
import { getConfigDictionaryRequest } from './getConfigDictionaryRequest';
import { getAccountInfoRequest } from './getAccountInfoRequest';
import { getWebi18nMessagesRequest } from './getWebi18nMessagesRequest';
import { getNewsRequest } from './getNewsRequest';
import { getWebSettingsRequest } from './getWebSettingsRequest';
import { getWebUserSettingsRequest } from './getWebUserSettingsRequest';
import { getAccountReportsRequest } from './getAccountReportsRequest';
import { getCashFundstRequest } from './getCashFundstRequest';
import { getPopularStocksRequest } from './getPopularStocksRequest';
import { getTransactionsRequest } from './getTransactionsRequest';
export { loginRequest, logoutRequest, getAccountConfigRequest, getAccountDataRequest, getPortfolioRequest, getProductsByIdsRequest, searchProductRequest, createOrderRequest, executeOrderRequest, deleteOrderRequest, getOrdersRequest, getAccountStateRequest, getConfigDictionaryRequest, getAccountInfoRequest, getWebi18nMessagesRequest, getNewsRequest, getWebSettingsRequest, getWebUserSettingsRequest, getAccountReportsRequest, getCashFundstRequest, getPopularStocksRequest, getTransactionsRequest, };
//# sourceMappingURL=index.d.ts.map

================================================
FILE: dist/api/index.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTransactionsRequest = exports.getPopularStocksRequest = exports.getCashFundstRequest = exports.getAccountReportsRequest = exports.getWebUserSettingsRequest = exports.getWebSettingsRequest = exports.getNewsRequest = exports.getWebi18nMessagesRequest = exports.getAccountInfoRequest = exports.getConfigDictionaryRequest = exports.getAccountStateRequest = exports.getOrdersRequest = exports.deleteOrderRequest = exports.executeOrderRequest = exports.createOrderRequest = exports.searchProductRequest = exports.getProductsByIdsRequest = exports.getPortfolioRequest = exports.getAccountDataRequest = exports.getAccountConfigRequest = exports.logoutRequest = exports.loginRequest = void 0;
var login_1 = require("./login");
Object.defineProperty(exports, "loginRequest", { enumerable: true, get: function () { return login_1.loginRequest; } });
var logout_1 = require("./logout");
Object.defineProperty(exports, "logoutRequest", { enumerable: true, get: function () { return logout_1.logoutRequest; } });
var getAccountConfig_1 = require("./getAccountConfig");
Object.defineProperty(exports, "getAccountConfigRequest", { enumerable: true, get: function () { return getAccountConfig_1.getAccountConfigRequest; } });
var getAccountData_1 = require("./getAccountData");
Object.defineProperty(exports, "getAccountDataRequest", { enumerable: true, get: function () { return getAccountData_1.getAccountDataRequest; } });
var getPortfolioRequest_1 = require("./getPortfolioRequest");
Object.defineProperty(exports, "getPortfolioRequest", { enumerable: true, get: function () { return getPortfolioRequest_1.getPortfolioRequest; } });
var getProductsByIdsRequest_1 = require("./getProductsByIdsRequest");
Object.defineProperty(exports, "getProductsByIdsRequest", { enumerable: true, get: function () { return getProductsByIdsRequest_1.getProductsByIdsRequest; } });
var searchProductRequest_1 = require("./searchProductRequest");
Object.defineProperty(exports, "searchProductRequest", { enumerable: true, get: function () { return searchProductRequest_1.searchProductRequest; } });
var createOrderRequest_1 = require("./createOrderRequest");
Object.defineProperty(exports, "createOrderRequest", { enumerable: true, get: function () { return createOrderRequest_1.createOrderRequest; } });
var getOrdersRequest_1 = require("./getOrdersRequest");
Object.defineProperty(exports, "getOrdersRequest", { enumerable: true, get: function () { return getOrdersRequest_1.getOrdersRequest; } });
var executeOrderRequest_1 = require("./executeOrderRequest");
Object.defineProperty(exports, "executeOrderRequest", { enumerable: true, get: function () { return executeOrderRequest_1.executeOrderRequest; } });
var deleteOrderRequest_1 = require("./deleteOrderRequest");
Object.defineProperty(exports, "deleteOrderRequest", { enumerable: true, get: function () { return deleteOrderRequest_1.deleteOrderRequest; } });
var getAccountStateRequest_1 = require("./getAccountStateRequest");
Object.defineProperty(exports, "getAccountStateRequest", { enumerable: true, get: function () { return getAccountStateRequest_1.getAccountStateRequest; } });
var getConfigDictionaryRequest_1 = require("./getConfigDictionaryRequest");
Object.defineProperty(exports, "getConfigDictionaryRequest", { enumerable: true, get: function () { return getConfigDictionaryRequest_1.getConfigDictionaryRequest; } });
var getAccountInfoRequest_1 = require("./getAccountInfoRequest");
Object.defineProperty(exports, "getAccountInfoRequest", { enumerable: true, get: function () { return getAccountInfoRequest_1.getAccountInfoRequest; } });
var getWebi18nMessagesRequest_1 = require("./getWebi18nMessagesRequest");
Object.defineProperty(exports, "getWebi18nMessagesRequest", { enumerable: true, get: function () { return getWebi18nMessagesRequest_1.getWebi18nMessagesRequest; } });
var getNewsRequest_1 = require("./getNewsRequest");
Object.defineProperty(exports, "getNewsRequest", { enumerable: true, get: function () { return getNewsRequest_1.getNewsRequest; } });
var getWebSettingsRequest_1 = require("./getWebSettingsRequest");
Object.defineProperty(exports, "getWebSettingsRequest", { enumerable: true, get: function () { return getWebSettingsRequest_1.getWebSettingsRequest; } });
var getWebUserSettingsRequest_1 = require("./getWebUserSettingsRequest");
Object.defineProperty(exports, "getWebUserSettingsRequest", { enumerable: true, get: function () { return getWebUserSettingsRequest_1.getWebUserSettingsRequest; } });
var getAccountReportsRequest_1 = require("./getAccountReportsRequest");
Object.defineProperty(exports, "getAccountReportsRequest", { enumerable: true, get: function () { return getAccountReportsRequest_1.getAccountReportsRequest; } });
var getCashFundstRequest_1 = require("./getCashFundstRequest");
Object.defineProperty(exports, "getCashFundstRequest", { enumerable: true, get: function () { return getCashFundstRequest_1.getCashFundstRequest; } });
var getPopularStocksRequest_1 = require("./getPopularStocksRequest");
Object.defineProperty(exports, "getPopularStocksRequest", { enumerable: true, get: function () { return getPopularStocksRequest_1.getPopularStocksRequest; } });
var getTransactionsRequest_1 = require("./getTransactionsRequest");
Object.defineProperty(exports, "getTransactionsRequest", { enumerable: true, get: function () { return getTransactionsRequest_1.getTransactionsRequest; } });
//# sourceMappingURL=index.js.map

================================================
FILE: dist/api/login.d.ts
================================================
import { LoginRequestParamsType, LoginResponseType } from '../types';
export declare function loginRequest(params: LoginRequestParamsType): Promise<LoginResponseType>;
//# sourceMappingURL=login.d.ts.map

================================================
FILE: dist/api/login.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loginRequest = void 0;
// Import enums
var enums_1 = require("../enums");
var BASE_API_URL = enums_1.DEGIRO_API_PATHS.BASE_API_URL, LOGIN_URL_PATH = enums_1.DEGIRO_API_PATHS.LOGIN_URL_PATH;
// Import debug console log
var utils_1 = require("../utils");
function loginRequest(params) {
    return new Promise(function (resolve, reject) {
        // Make the payload
        var payload = {
            isPassCodeReset: false,
            isRedirectToMobile: false,
            password: params.pwd,
            username: params.username.toLowerCase().trim(),
            oneTimePassword: params.oneTimePassword,
            queryParams: {
                reason: 'session_expired',
            },
        };
        var requestOptions = {
            method: 'POST',
            body: JSON.stringify(payload),
            headers: {
                'Content-Type': 'application/json',
            },
            credentials: 'include',
            referer: 'https://trader.degiro.nl/trader/',
        };
        // Do the request to get a session
        utils_1.debug("Making request to " + BASE_API_URL + LOGIN_URL_PATH + " with options:");
        utils_1.debug(JSON.stringify(requestOptions, null, 2));
        fetch("" + BASE_API_URL + LOGIN_URL_PATH, requestOptions)
            .then(function (res) {
            if (!payload.oneTimePassword)
                return res;
            utils_1.debug('Sending OTP');
            return fetch("" + BASE_API_URL + LOGIN_URL_PATH + "/totp", requestOptions);
        })
            .then(function (res) { return res.json(); })
            .then(function (res) {
            if (!res.sessionId)
                return reject(res.statusText);
            utils_1.debug('Login response: ', JSON.stringify(res, null, 2));
            resolve(res);
        })
            .catch(reject);
    });
}
exports.loginRequest = loginRequest;
//# sourceMappingURL=login.js.map

================================================
FILE: dist/api/logout.d.ts
================================================
import { AccountDataType, AccountConfigType } from '../types';
export declare function logoutRequest(accountData: AccountDataType, accountConfig: AccountConfigType): Promise<void>;
//# sourceMappingURL=logout.d.ts.map

================================================
FILE: dist/api/logout.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.logoutRequest = void 0;
// Import enums
var enums_1 = require("../enums");
var BASE_API_URL = enums_1.DEGIRO_API_PATHS.BASE_API_URL, LOGOUT_URL_PATH = enums_1.DEGIRO_API_PATHS.LOGOUT_URL_PATH;
// Import debug console log
var utils_1 = require("../utils");
function logoutRequest(accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        // Do the request to get a session
        var url = "" + BASE_API_URL + LOGOUT_URL_PATH + ";jsessionid=" + accountConfig.data.sessionId + "?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId;
        utils_1.debug("Making request to " + url);
        fetch(url)
            .then(function (res) {
            if (res.status === 200)
                resolve();
            else
                reject(res.statusText || res.body);
        })
            .catch(reject);
    });
}
exports.logoutRequest = logoutRequest;
//# sourceMappingURL=logout.js.map

================================================
FILE: dist/api/searchProductRequest.d.ts
================================================
import { SearchProductOptionsType, AccountConfigType, AccountDataType, SearchProductResultType } from '../types';
export declare function searchProductRequest(options: SearchProductOptionsType, accountData: AccountDataType, accountConfig: AccountConfigType): Promise<SearchProductResultType[]>;
//# sourceMappingURL=searchProductRequest.d.ts.map

================================================
FILE: dist/api/searchProductRequest.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.searchProductRequest = void 0;
// Import debug console log
var utils_1 = require("../utils");
var createURLQuery = function (options) {
    // Destructure the options parameter
    var text = options.text, _a = options.type, type = _a === void 0 ? undefined : _a, _b = options.sortColumn, sortColumn = _b === void 0 ? undefined : _b, _c = options.sortType, sortType = _c === void 0 ? undefined : _c, _d = options.limit, limit = _d === void 0 ? 10 : _d, _e = options.offset, offset = _e === void 0 ? 0 : _e;
    // Create the query
    var res = "&searchText=" + encodeURIComponent(text);
    if (type)
        res += "&type=" + encodeURIComponent(type);
    if (sortColumn)
        res += "&sortColumn=" + encodeURIComponent(sortColumn);
    if (sortType)
        res += "&sortType=" + encodeURIComponent(sortType);
    if (limit)
        res += "&limit=" + encodeURIComponent(limit);
    if (offset)
        res += "&offset=" + encodeURIComponent(offset);
    return res;
};
function searchProductRequest(options, accountData, accountConfig) {
    return new Promise(function (resolve, reject) {
        // Preparae de request
        var params = createURLQuery(options);
        // Do de request
        utils_1.debug("Making a search request to url: " + accountConfig.data.productSearchUrl + "v5/products/lookup?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountData.data.id + "&" + params + "}");
        fetch(accountConfig.data.productSearchUrl + "v5/products/lookup?intAccount=" + accountData.data.intAccount + "&sessionId=" + accountConfig.data.sessionId + "&" + params)
            .then(function (res) { return res.json(); })
            .then(function (_a) {
            var products = _a.products;
            return resolve(products || []);
        })
            .catch(reject);
    });
}
exports.searchProductRequest = searchProductRequest;
//# sourceMappingURL=searchProductRequest.js.map

================================================
FILE: dist/enums/DeGiroEnums.d.ts
================================================
export declare enum DEGIRO_API_PATHS {
    BASE_API_URL = "https://trader.degiro.nl/",
    BASE_REPORT_DOWNLOAD_URI = "document/download/",
    LOGIN_URL_PATH = "login/secure/login",
    LOGOUT_URL_PATH = "trading/secure/logout",
    GET_ACCOUNT_CONFIG_PATH = "login/secure/config",
    GET_GENERIC_DATA_PATH = "v5/update/",
    CREATE_ORDER_PATH = "v5/checkOrder",
    GET_TRANSACTIONS_PATH = "v4/transactions",
    GET_ACCOUNT_STATE_PATH = "v6/accountoverview",
    GET_ACCOUNT_INFO_PATH = "v5/account/info/",
    GET_LATESTS_NEWS_PATH = "newsfeed/v2/latest-news",
    GET_TOP_NEWS_PATH = "newsfeed/v2/top-news-preview",
    GET_WEB_SETTINGS_PATH = "settings/web",
    GET_WEB_USER_SETTINGS_PATH = "settings/user",
    GET_ACCOUNT_REPORTS_PATH = "document/list/report",
    STOCKS_SEARCH_PATH = "v5/stocks"
}
export declare enum DeGiroActions {
    BUY = "BUY",
    SELL = "SELL"
}
export declare enum DeGiroMarketOrderTypes {
    LIMITED = 0,
    MARKET = 2,
    STOP_LOSS = 3,
    STOP_LOSS_LIMIT = 1
}
export declare enum DeGiroTimeTypes {
    DAY = 1,
    PERMANENT = 3
}
export declare enum DeGiroProducTypes {
    shares = 1,
    bonds = 2,
    futures = 7,
    options = 8,
    investmendFunds = 13,
    leveragedProducts = 14,
    etfs = 131,
    cfds = 535,
    warrants = 536
}
export declare enum DeGiroSort {
    ASC = "asc",
    DESC = "desc"
}
export declare enum PORTFOLIO_POSITIONS_TYPE_ENUM {
    ALL = "all",
    ALL_POSITIONS = "allPositions",
    OPEN = "open",
    CLOSED = "closed"
}
export declare enum GET_ORDERS_TYPES {
    ACTIVE = "orders",
    HISTORICAL = "historicalOrders",
    TRANSACTIONS = "transactions"
}
//# sourceMappingURL=DeGiroEnums.d.ts.map

================================================
FILE: dist/enums/DeGiroEnums.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GET_ORDERS_TYPES = exports.PORTFOLIO_POSITIONS_TYPE_ENUM = exports.DeGiroSort = exports.DeGiroProducTypes = exports.DeGiroTimeTypes = exports.DeGiroMarketOrderTypes = exports.DeGiroActions = exports.DEGIRO_API_PATHS = void 0;
var DEGIRO_API_PATHS;
(function (DEGIRO_API_PATHS) {
    DEGIRO_API_PATHS["BASE_API_URL"] = "https://trader.degiro.nl/";
    DEGIRO_API_PATHS["BASE_REPORT_DOWNLOAD_URI"] = "document/download/";
    DEGIRO_API_PATHS["LOGIN_URL_PATH"] = "login/secure/login";
    DEGIRO_API_PATHS["LOGOUT_URL_PATH"] = "trading/secure/logout";
    DEGIRO_API_PATHS["GET_ACCOUNT_CONFIG_PATH"] = "login/secure/config";
    DEGIRO_API_PATHS["GET_GENERIC_DATA_PATH"] = "v5/update/";
    DEGIRO_API_PATHS["CREATE_ORDER_PATH"] = "v5/checkOrder";
    DEGIRO_API_PATHS["GET_TRANSACTIONS_PATH"] = "v4/transactions";
    DEGIRO_API_PATHS["GET_ACCOUNT_STATE_PATH"] = "v6/accountoverview";
    DEGIRO_API_PATHS["GET_ACCOUNT_INFO_PATH"] = "v5/account/info/";
    DEGIRO_API_PATHS["GET_LATESTS_NEWS_PATH"] = "newsfeed/v2/latest-news";
    DEGIRO_API_PATHS["GET_TOP_NEWS_PATH"] = "newsfeed/v2/top-news-preview";
    DEGIRO_API_PATHS["GET_WEB_SETTINGS_PATH"] = "settings/web";
    DEGIRO_API_PATHS["GET_WEB_USER_SETTINGS_PATH"] = "settings/user";
    DEGIRO_API_PATHS["GET_ACCOUNT_REPORTS_PATH"] = "document/list/report";
    DEGIRO_API_PATHS["STOCKS_SEARCH_PATH"] = "v5/stocks";
})(DEGIRO_API_PATHS = exports.DEGIRO_API_PATHS || (exports.DEGIRO_API_PATHS = {}));
var DeGiroActions;
(function (DeGiroActions) {
    DeGiroActions["BUY"] = "BUY";
    DeGiroActions["SELL"] = "SELL";
})(DeGiroActions = exports.DeGiroActions || (exports.DeGiroActions = {}));
var DeGiroMarketOrderTypes;
(function (DeGiroMarketOrderTypes) {
    DeGiroMarketOrderTypes[DeGiroMarketOrderTypes["LIMITED"] = 0] = "LIMITED";
    DeGiroMarketOrderTypes[DeGiroMarketOrderTypes["MARKET"] = 2] = "MARKET";
    DeGiroMarketOrderTypes[DeGiroMarketOrderTypes["STOP_LOSS"] = 3] = "STOP_LOSS";
    DeGiroMarketOrderTypes[DeGiroMarketOrderTypes["STOP_LOSS_LIMIT"] = 1] = "STOP_LOSS_LIMIT";
})(DeGiroMarketOrderTypes = exports.DeGiroMarketOrderTypes || (exports.DeGiroMarketOrderTypes = {}));
var DeGiroTimeTypes;
(function (DeGiroTimeTypes) {
    DeGiroTimeTypes[DeGiroTimeTypes["DAY"] = 1] = "DAY";
    DeGiroTimeTypes[DeGiroTimeTypes["PERMANENT"] = 3] = "PERMANENT";
})(DeGiroTimeTypes = exports.DeGiroTimeTypes || (exports.DeGiroTimeTypes = {}));
var DeGiroProducTypes;
(function (DeGiroProducTypes) {
    // all = undefined, undefined is not allowed to set on enum
    DeGiroProducTypes[DeGiroProducTypes["shares"] = 1] = "shares";
    DeGiroProducTypes[DeGiroProducTypes["bonds"] = 2] = "bonds";
    DeGiroProducTypes[DeGiroProducTypes["futures"] = 7] = "futures";
    DeGiroProducTypes[DeGiroProducTypes["options"] = 8] = "options";
    DeGiroProducTypes[DeGiroProducTypes["investmendFunds"] = 13] = "investmendFunds";
    DeGiroProducTypes[DeGiroProducTypes["leveragedProducts"] = 14] = "leveragedProducts";
    DeGiroProducTypes[DeGiroProducTypes["etfs"] = 131] = "etfs";
    DeGiroProducTypes[DeGiroProducTypes["cfds"] = 535] = "cfds";
    DeGiroProducTypes[DeGiroProducTypes["warrants"] = 536] = "warrants";
})(DeGiroProducTypes = exports.DeGiroProducTypes || (exports.DeGiroProducTypes = {}));
var DeGiroSort;
(function (DeGiroSort) {
    DeGiroSort["ASC"] = "asc";
    DeGiroSort["DESC"] = "desc";
})(DeGiroSort = exports.DeGiroSort || (exports.DeGiroSort = {}));
var PORTFOLIO_POSITIONS_TYPE_ENUM;
(function (PORTFOLIO_POSITIONS_TYPE_ENUM) {
    PORTFOLIO_POSITIONS_TYPE_ENUM["ALL"] = "all";
    PORTFOLIO_POSITIONS_TYPE_ENUM["ALL_POSITIONS"] = "allPositions";
    PORTFOLIO_POSITIONS_TYPE_ENUM["OPEN"] = "open";
    PORTFOLIO_POSITIONS_TYPE_ENUM["CLOSED"] = "closed";
})(PORTFOLIO_POSITIONS_TYPE_ENUM = exports.PORTFOLIO_POSITIONS_TYPE_ENUM || (exports.PORTFOLIO_POSITIONS_TYPE_ENUM = {}));
var GET_ORDERS_TYPES;
(function (GET_ORDERS_TYPES) {
    GET_ORDERS_TYPES["ACTIVE"] = "orders";
    GET_ORDERS_TYPES["HISTORICAL"] = "historicalOrders";
    GET_ORDERS_TYPES["TRANSACTIONS"] = "transactions";
})(GET_ORDERS_TYPES = exports.GET_ORDERS_TYPES || (exports.GET_ORDERS_TYPES = {}));
//# sourceMappingURL=DeGiroEnums.js.map

================================================
FILE: dist/enums/index.d.ts
================================================
import { DEGIRO_API_PATHS, DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes, DeGiroProducTypes, DeGiroSort, PORTFOLIO_POSITIONS_TYPE_ENUM } from './DeGiroEnums';
export { DEGIRO_API_PATHS, DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes, DeGiroProducTypes, DeGiroSort, PORTFOLIO_POSITIONS_TYPE_ENUM, };
//# sourceMappingURL=index.d.ts.map

================================================
FILE: dist/enums/index.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PORTFOLIO_POSITIONS_TYPE_ENUM = exports.DeGiroSort = exports.DeGiroProducTypes = exports.DeGiroTimeTypes = exports.DeGiroMarketOrderTypes = exports.DeGiroActions = exports.DEGIRO_API_PATHS = void 0;
var DeGiroEnums_1 = require("./DeGiroEnums");
Object.defineProperty(exports, "DEGIRO_API_PATHS", { enumerable: true, get: function () { return DeGiroEnums_1.DEGIRO_API_PATHS; } });
Object.defineProperty(exports, "DeGiroActions", { enumerable: true, get: function () { return DeGiroEnums_1.DeGiroActions; } });
Object.defineProperty(exports, "DeGiroMarketOrderTypes", { enumerable: true, get: function () { return DeGiroEnums_1.DeGiroMarketOrderTypes; } });
Object.defineProperty(exports, "DeGiroTimeTypes", { enumerable: true, get: function () { return DeGiroEnums_1.DeGiroTimeTypes; } });
Object.defineProperty(exports, "DeGiroProducTypes", { enumerable: true, get: function () { return DeGiroEnums_1.DeGiroProducTypes; } });
Object.defineProperty(exports, "DeGiroSort", { enumerable: true, get: function () { return DeGiroEnums_1.DeGiroSort; } });
Object.defineProperty(exports, "PORTFOLIO_POSITIONS_TYPE_ENUM", { enumerable: true, get: function () { return DeGiroEnums_1.PORTFOLIO_POSITIONS_TYPE_ENUM; } });
//# sourceMappingURL=index.js.map

================================================
FILE: dist/interfaces/DeGiroClassInterface.d.ts
================================================
import { CashFoundType, AccountConfigType, GetPorfolioConfigType, AccountDataType, SearchProductOptionsType, SearchProductResultType, OrderType, CreateOrderResultType, IsLoginOptionsType, GetOrdersConfigType, GetOrdersResultType, GetAccountStateOptionsType, AccountReportsType, AccountInfoType, FavouriteProductType, StockType, GetHistoricalOrdersOptionsType, HistoricalOrdersType, GetNewsOptionsType, NewsType, WebSettingsType, WebUserSettingType, ConfigDictionaryType, i18nMessagesType, GetPopularStocksConfigType } from '../types';
/**
 * @interface DeGiroClassInterface
 */
export interface DeGiroClassInterface {
    login(): Promise<AccountDataType>;
    logout(): Promise<void>;
    isLogin(options?: IsLoginOptionsType): boolean | Promise<boolean>;
    getJSESSIONID(): string | undefined;
    getAccountConfig(sessionId: string): Promise<AccountConfigType>;
    getAccountData(): Promise<AccountDataType>;
    getAccountState(options: GetAccountStateOptionsType): Promise<any[]>;
    getAccountReports(): Promise<AccountReportsType>;
    getAccountInfo(): Promise<AccountInfoType>;
    searchProduct(options: SearchProductOptionsType): Promise<SearchProductResultType[]>;
    getCashFunds(): Promise<CashFoundType[]>;
    getPortfolio(config: GetPorfolioConfigType): Promise<any[]>;
    getFavouriteProducts(): Promise<FavouriteProductType[]>;
    getPopularStocks(config: GetPopularStocksConfigType): Promise<StockType[]>;
    getOrders(options: GetOrdersConfigType): Promise<GetOrdersResultType>;
    getHistoricalOrders(options: GetHistoricalOrdersOptionsType): Promise<HistoricalOrdersType>;
    createOrder(order: OrderType): Promise<CreateOrderResultType>;
    executeOrder(order: OrderType, executeId: string): Promise<String>;
    deleteOrder(orderId: String): Promise<void>;
    getProductsByIds(ids: string[]): Promise<any[]>;
    getNews(options: GetNewsOptionsType): Promise<NewsType>;
    getWebi18nMessages(lang: string): Promise<i18nMessagesType>;
    getWebSettings(): Promise<WebSettingsType>;
    getWebUserSettings(): Promise<WebUserSettingType>;
    getConfigDictionary(): Promise<ConfigDictionaryType>;
}
//# sourceMappingURL=DeGiroClassInterface.d.ts.map

================================================
FILE: dist/interfaces/DeGiroClassInterface.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DeGiroClassInterface.js.map

================================================
FILE: dist/interfaces/index.d.ts
================================================
import { DeGiroClassInterface } from './DeGiroClassInterface';
export { DeGiroClassInterface, };
//# sourceMappingURL=index.d.ts.map

================================================
FILE: dist/interfaces/index.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=index.js.map

================================================
FILE: dist/main.d.ts
================================================
import { DeGiro } from './DeGiro';
import * as DeGiroEnums from './enums/';
import * as DeGiroTypes from './types/';
export { DeGiroEnums, DeGiroTypes, };
export default DeGiro;
//# sourceMappingURL=main.d.ts.map

================================================
FILE: dist/main.js
================================================
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeGiroTypes = exports.DeGiroEnums = void 0;
require('es6-promise').polyfill();
require('isomorphic-fetch');
var DeGiro_1 = require("./DeGiro");
var DeGiroEnums = __importStar(require("./enums/"));
exports.DeGiroEnums = DeGiroEnums;
var DeGiroTypes = __importStar(require("./types/"));
exports.DeGiroTypes = DeGiroTypes;
exports.default = DeGiro_1.DeGiro;
//# sourceMappingURL=main.js.map

================================================
FILE: dist/types/AccountConfigType.d.ts
================================================
export declare type AccountConfigType = {
    data: {
        betaLandingPath: string;
        cashSolutionsUrl?: string;
        clientId: number;
        companiesServiceUrl: string;
        dictionaryUrl: string;
        firstLoginWizardUrl?: string;
        i18nUrl: string;
        landingPath: string;
        loginUrl: string;
        mobileLandingPath: string;
        paUrl: string;
        paymentServiceUrl: string;
        productSearchUrl: string;
        productTypesUrl: string;
        reportingUrl: string;
        sessionId: string;
        taskManagerUrl: string;
        tradingUrl: string;
        vwdGossipsUrl: string;
        vwdNewsUrl: string;
        vwdQuotecastServiceUrl: string;
    };
};
//# sourceMappingURL=AccountConfigType.d.ts.map

================================================
FILE: dist/types/AccountConfigType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AccountConfigType.js.map

================================================
FILE: dist/types/AccountDataType.d.ts
================================================
export declare type AccountDataType = {
    data: {
        address: {
            city: string;
            country: string;
            streetAddress: string;
            streetAddressNumber: string;
            zip: string;
        };
        bankAccount: {
            bankAccountId: number;
            bic: string;
            iban: string;
            status: string;
        };
        canUpgrade: boolean;
        cellphoneNumber: string;
        clientRole: string;
        contractType: string;
        culture: string;
        displayName: string;
        effectiveClientRole: string;
        email: string;
        firstContact: {
            countryOfBirth: string;
            dateOfBirth: string;
            displayName: string;
            firstName: string;
            gender: string;
            lastName: string;
            nationality: string;
            placeOfBirth: string;
        };
        id: number;
        intAccount: number;
        isAllocationAvailable: boolean;
        isAmClientActive: boolean;
        isCollectivePortfolio: boolean;
        isIskClient: boolean;
        isWithdrawalAvailable: boolean;
        language: string;
        locale: string;
        memberCode: string;
        username: string;
    };
};
//# sourceMappingURL=AccountDataType.d.ts.map

================================================
FILE: dist/types/AccountDataType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AccountDataType.js.map

================================================
FILE: dist/types/AccountInfoType.d.ts
================================================
export declare type AccountInfoType = {
    baseCurrency: string;
    cashFunds: AccountInfoCashFunds;
    clientId: number;
    compensationCapping: number;
    currencyPairs: AccountInfoCurrencyPairs;
    marginType: string;
};
declare type CashFund = {
    id: number;
    name: string;
    productIds: number[];
};
declare type AccountInfoCashFunds = {
    [key: string]: CashFund[];
};
declare type AccountInfoCurrencyPairs = {
    [key: string]: {
        id: number;
        price: string;
    };
};
export {};
//# sourceMappingURL=AccountInfoType.d.ts.map

================================================
FILE: dist/types/AccountInfoType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AccountInfoType.js.map

================================================
FILE: dist/types/AccountReportsType.d.ts
================================================
export declare type ReportType = {
    id: number;
    type: string;
    description: string;
    stampCreated: string;
    uri: string;
};
export declare type AccountReportsType = ReportType[];
//# sourceMappingURL=AccountReportsType.d.ts.map

================================================
FILE: dist/types/AccountReportsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AccountReportsType.js.map

================================================
FILE: dist/types/CashFoundType.d.ts
================================================
export declare type CashFoundType = {
    id: string;
    currencyCode: string;
    value: number;
    handling: string;
};
//# sourceMappingURL=CashFoundType.d.ts.map

================================================
FILE: dist/types/CashFoundType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CashFoundType.js.map

================================================
FILE: dist/types/ConfigDictionaryType.d.ts
================================================
export declare type StockCountry = {
    id: number;
    country: number;
    indices?: number[];
    exchanges?: number[];
};
export declare type BondExchange = {
    id: number;
    country: number;
    exchange: number;
    postfix?: string;
};
export declare type BondIssuerType = {
    id: number;
    name: string;
    translation: string;
};
export declare type EurexCountry = {
    id: number;
    name: string;
    exchanges: Exchange[];
    underlyingExchangeIds: number[];
};
export declare type FutureExchange = {
    id: number;
    name: string;
    eurexCountries?: number[];
};
export declare type OptionExchange = {
    id: number;
    name: string;
    exchangeId: number;
    underlyingExchangeIds?: number[];
    eurexCountries?: number[];
};
export declare type CombinationExchange = {
    id: number;
    name: string;
};
export declare type CFDExchange = {
    id: number;
    country: number;
    exchange: number;
};
export declare type Exchange = {
    id: number;
    name: string;
    code?: string;
    hiqAbbr: string;
    country: string;
    city?: string;
    micCode?: string;
};
export declare type Index = {
    id: number;
    name: string;
    productId?: number;
};
export declare type Region = {
    id: number;
    name: string;
    translation: string;
};
export declare type Country = {
    id: number;
    name: string;
    translation: string;
    region: number;
};
declare type ProductTypes = {
    id: number;
    name: string;
    translation: string;
    briefTranslation: string;
    contractType: string;
};
declare type FeeType = {
    id: number;
    name: string;
    translation: string;
};
declare type AggregateListItem = {
    id: string;
    name: string;
};
declare type SortListItem = {
    id: string;
};
export declare type ConfigDictionaryType = {
    stockCountries: StockCountry[];
    bondExchanges: BondExchange[];
    bondIssuerTypes: BondIssuerType[];
    eurexCountries: EurexCountry[];
    futureExchanges: FutureExchange[];
    optionExchanges: OptionExchange[];
    combinationExchanges: CombinationExchange[];
    cfdExchanges: CFDExchange[];
    exchanges: Exchange[];
    indices: Index[];
    regions: Region[];
    countries: Country[];
    productTypes: ProductTypes[];
    etfFeeTypes: FeeType[];
    investmentFundFeeTypes: FeeType[];
    optionAggregateTypes: AggregateListItem[];
    leveragedAggregateTypes: AggregateListItem[];
    etfAggregateTypes: AggregateListItem[];
    investmentFundAggregateTypes: AggregateListItem[];
    warrantAggregateTypes: AggregateListItem[];
    lookupSortColumns: SortListItem[];
    stockSortColumns: SortListItem[];
    bondSortColumns: SortListItem[];
    cfdSortColumns: SortListItem[];
    etfSortColumns: SortListItem[];
    futureSortColumns: SortListItem[];
    investmentFundSortColumns: SortListItem[];
    leveragedSortColumns: SortListItem[];
    optionSortColumns: SortListItem[];
    warrantSortColumns: SortListItem[];
};
export {};
//# sourceMappingURL=ConfigDictionaryType.d.ts.map

================================================
FILE: dist/types/ConfigDictionaryType.js
================================================
"use strict";
/* Main items */
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ConfigDictionaryType.js.map

================================================
FILE: dist/types/CreateOrderResultType.d.ts
================================================
import { TransactionFeeType } from '.';
export declare type CreateOrderResultType = {
    confirmationId: String;
    freeSpaceNew: Number;
    transactionFees: [TransactionFeeType];
};
//# sourceMappingURL=CreateOrderResultType.d.ts.map

================================================
FILE: dist/types/CreateOrderResultType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CreateOrderResultType.js.map

================================================
FILE: dist/types/DeGiroSettupType.d.ts
================================================
export declare type DeGiroSettupType = {
    username?: string;
    pwd?: string;
    oneTimePassword?: string;
    jsessionId?: string;
};
//# sourceMappingURL=DeGiroSettupType.d.ts.map

================================================
FILE: dist/types/DeGiroSettupType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DeGiroSettupType.js.map

================================================
FILE: dist/types/FavouriteProductType.d.ts
================================================
export declare type FavouriteProductType = {};
//# sourceMappingURL=FavouriteProductType.d.ts.map

================================================
FILE: dist/types/FavouriteProductType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=FavouriteProductType.js.map

================================================
FILE: dist/types/GetAccountStateOptionsType.d.ts
================================================
export declare type GetAccountStateOptionsType = {
    from: string;
    to: string;
};
//# sourceMappingURL=GetAccountStateOptionsType.d.ts.map

================================================
FILE: dist/types/GetAccountStateOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetAccountStateOptionsType.js.map

================================================
FILE: dist/types/GetHistoricalOrdersOptionsType.d.ts
================================================
export declare type GetHistoricalOrdersOptionsType = {};
//# sourceMappingURL=GetHistoricalOrdersOptionsType.d.ts.map

================================================
FILE: dist/types/GetHistoricalOrdersOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetHistoricalOrdersOptionsType.js.map

================================================
FILE: dist/types/GetNewsOptionsType.d.ts
================================================
export declare type GetNewsOptionsType = {
    latest?: boolean;
    top?: boolean;
    latestOffset?: number;
    latestLimit?: number;
    languages?: string;
};
//# sourceMappingURL=GetNewsOptionsType.d.ts.map

================================================
FILE: dist/types/GetNewsOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetNewsOptionsType.js.map

================================================
FILE: dist/types/GetOrdersConfigType.d.ts
================================================
export declare type GetOrdersConfigType = {
    active?: boolean;
    lastTransactions?: boolean;
};
//# sourceMappingURL=GetOrdersConfigType.d.ts.map

================================================
FILE: dist/types/GetOrdersConfigType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetOrdersConfigType.js.map

================================================
FILE: dist/types/GetOrdersResultType.d.ts
================================================
export declare type GetOrdersResultType = {
    orders: [];
    lastTransactions: [];
};
//# sourceMappingURL=GetOrdersResultType.d.ts.map

================================================
FILE: dist/types/GetOrdersResultType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetOrdersResultType.js.map

================================================
FILE: dist/types/GetPopularStocksConfigType.d.ts
================================================
export declare type GetPopularStocksConfigType = {
    popularOnly?: boolean;
    requireTotal?: boolean;
    offset?: number;
    limit?: number;
};
//# sourceMappingURL=GetPopularStocksConfigType.d.ts.map

================================================
FILE: dist/types/GetPopularStocksConfigType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetPopularStocksConfigType.js.map

================================================
FILE: dist/types/GetPorfolioConfigType.d.ts
================================================
import { PORTFOLIO_POSITIONS_TYPE_ENUM } from '../enums/DeGiroEnums';
export declare type GetPorfolioConfigType = {
    type: PORTFOLIO_POSITIONS_TYPE_ENUM;
    getProductDetails?: boolean;
};
//# sourceMappingURL=GetPorfolioConfigType.d.ts.map

================================================
FILE: dist/types/GetPorfolioConfigType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetPorfolioConfigType.js.map

================================================
FILE: dist/types/GetTransactionsOptionsType.d.ts
================================================
export declare type GetTransactionsOptionsType = {
    fromDate: string;
    toDate: string;
    groupTransactionsByOrder: boolean;
};
//# sourceMappingURL=GetTransactionsOptionsType.d.ts.map

================================================
FILE: dist/types/GetTransactionsOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GetTransactionsOptionsType.js.map

================================================
FILE: dist/types/HistoricalOrdersType.d.ts
================================================
export declare type HistoricalOrdersType = {};
//# sourceMappingURL=HistoricalOrdersType.d.ts.map

================================================
FILE: dist/types/HistoricalOrdersType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=HistoricalOrdersType.js.map

================================================
FILE: dist/types/IsLoginOptionsType.d.ts
================================================
export declare type IsLoginOptionsType = {
    secure?: boolean;
};
//# sourceMappingURL=IsLoginOptionsType.d.ts.map

================================================
FILE: dist/types/IsLoginOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IsLoginOptionsType.js.map

================================================
FILE: dist/types/LoginRequestBodyType.d.ts
================================================
export declare type LoginRequestBodyType = {
    isPassCodeReset: boolean;
    isRedirectToMobile: boolean;
    password: string;
    username: string;
    oneTimePassword: string | undefined;
    queryParams: {
        reason: string;
    };
};
//# sourceMappingURL=LoginRequestBodyType.d.ts.map

================================================
FILE: dist/types/LoginRequestBodyType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=LoginRequestBodyType.js.map

================================================
FILE: dist/types/LoginRequestParamsType.d.ts
================================================
export declare type LoginRequestParamsType = {
    username: string;
    pwd: string;
    oneTimePassword: string | undefined;
};
//# sourceMappingURL=LoginRequestParamsType.d.ts.map

================================================
FILE: dist/types/LoginRequestParamsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=LoginRequestParamsType.js.map

================================================
FILE: dist/types/LoginResponseType.d.ts
================================================
export declare type LoginResponseType = {
    isPassCodeEnabled?: boolean;
    locale?: string;
    redirectUrl?: string;
    sessionId?: string;
    status: number;
    statusText: string;
};
//# sourceMappingURL=LoginResponseType.d.ts.map

================================================
FILE: dist/types/LoginResponseType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=LoginResponseType.js.map

================================================
FILE: dist/types/NewsType.d.ts
================================================
export declare type New = {
    brief: string;
    category: string;
    content: string;
    date: string;
    htmlContent: boolean;
    id: string;
    isins: string[];
    language: string;
    pictureUrl: string;
    source: string;
    title: string;
};
declare type NewsResponse = {
    offset?: number;
    total?: number;
    items: New[];
};
export declare type NewsType = {
    latest: NewsResponse;
    top: NewsResponse;
};
export {};
//# sourceMappingURL=NewsType.d.ts.map

================================================
FILE: dist/types/NewsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=NewsType.js.map

================================================
FILE: dist/types/OrderType.d.ts
================================================
import { DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes } from '../enums/DeGiroEnums';
export declare type OrderType = {
    buySell: DeGiroActions;
    orderType: DeGiroMarketOrderTypes;
    price?: Number;
    productId: string;
    size: number;
    stopPrice?: number;
    timeType: DeGiroTimeTypes;
};
//# sourceMappingURL=OrderType.d.ts.map

================================================
FILE: dist/types/OrderType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=OrderType.js.map

================================================
FILE: dist/types/PortfolioPositionType.d.ts
================================================
export declare type PortfolioPositionType = {
    foo?: string;
};
//# sourceMappingURL=PortfolioPositionType.d.ts.map

================================================
FILE: dist/types/PortfolioPositionType.js
================================================
"use strict";
// {
//   "portfolio": [
//     {
//       "name": "positionrow",
//       "id": 1156604,
//       "value": [
//         {
//           "name": "id",
//           "value": "1156604",
//           "isAdded": true
//         },
//         {
//           "name": "product",
//           "value": "DEUTSCHE BANK AG COMMO",
//           "isAdded": true
//         },
//         ...
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=PortfolioPositionType.js.map

================================================
FILE: dist/types/SearchProductOptionsType.d.ts
================================================
import { DeGiroProducTypes } from '../enums/DeGiroEnums';
export declare type SearchProductOptionsType = {
    text: string;
    type?: DeGiroProducTypes | undefined;
    sortColumn?: string;
    sortType?: any;
    limit?: number;
    offset?: number;
};
//# sourceMappingURL=SearchProductOptionsType.d.ts.map

================================================
FILE: dist/types/SearchProductOptionsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SearchProductOptionsType.js.map

================================================
FILE: dist/types/SearchProductResultType.d.ts
================================================
export declare type SearchProductResultType = {
    id: string;
    name: string;
    isin: string;
    symbol: string;
    contractSize: number;
    productType: string;
    productTypeId: number;
    tradable: boolean;
    category: string;
    currency: string;
    exchangeId: string;
    orderTimeTypes: string[];
    gtcAllowed: boolean;
    buyOrderTypes: string[];
    sellOrderTypes: string[];
    marketAllowed: boolean;
    limitHitOrderAllowed: boolean;
    stoplossAllowed: boolean;
    stopLimitOrderAllowed: boolean;
    joinOrderAllowed: boolean;
    trailingStopOrderAllowed: boolean;
    combinedOrderAllowed: boolean;
    sellAmountAllowed: boolean;
    isFund: boolean;
    closePrice: number;
    closePriceDate: string;
    feedQuality: string;
    orderBookDepth: number;
    vwdIdentifierType: string;
    vwdId: string;
    qualitySwitchable: boolean;
    qualitySwitchFree: boolean;
    vwdModuleId: number;
    feedQualitySecondary: string;
    orderBookDepthSecondary: number;
    vwdIdentifierTypeSecondary: string;
    vwdIdSecondary: string;
    qualitySwitchableSecondary: boolean;
    qualitySwitchFreeSecondary: boolean;
    vwdModuleIdSecondary: number;
};
//# sourceMappingURL=SearchProductResultType.d.ts.map

================================================
FILE: dist/types/SearchProductResultType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SearchProductResultType.js.map

================================================
FILE: dist/types/StockType.d.ts
================================================
export declare type StockType = {
    id: string;
    name: string;
    isin: string;
    symbol: string;
    contractSize: number;
    productType: string;
    productTypeId: number;
    tradable: boolean;
    category: string;
    currency: string;
    strikePrice: number;
    exchangeId: string;
    orderTimeTypes: string[];
    gtcAllowed: boolean;
    buyOrderTypes: string[];
    sellOrderTypes: string[];
    productBitTypes: any[];
    marketAllowed: boolean;
    limitHitOrderAllowed: boolean;
    stoplossAllowed: boolean;
    stopLimitOrderAllowed: boolean;
    joinOrderAllowed: boolean;
    trailingStopOrderAllowed: boolean;
    combinedOrderAllowed: boolean;
    sellAmountAllowed: boolean;
    isFund: boolean;
    closePrice: number;
    closePriceDate: string;
    feedQuality: string;
    orderBookDepth: number;
    vwdIdentifierType: string;
    vwdId: string;
    qualitySwitchable: boolean;
    qualitySwitchFree: boolean;
    vwdModuleId: number;
    feedQualitySecondary: string;
    orderBookDepthSecondary: number;
    vwdIdentifierTypeSecondary: string;
    vwdIdSecondary: string;
    qualitySwitchableSecondary: boolean;
    qualitySwitchFreeSecondary: boolean;
    vwdModuleIdSecondary: number;
};
//# sourceMappingURL=StockType.d.ts.map

================================================
FILE: dist/types/StockType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=StockType.js.map

================================================
FILE: dist/types/TransactionFeeType.d.ts
================================================
export declare type TransactionFeeType = {
    amount: Number;
    currency: String;
    id: Number;
};
//# sourceMappingURL=TransactionFeeType.d.ts.map

================================================
FILE: dist/types/TransactionFeeType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=TransactionFeeType.js.map

================================================
FILE: dist/types/TransactionType.d.ts
================================================
export declare type TransactionType = {
    buysell: string;
    counterParty: string;
    date: string;
    id: number;
    orderTypeId: number;
    price: number;
    productId: number;
    quantity: number;
    total: number;
    totalInBaseCurrency: number;
    totalPlusFeeInBaseCurrency: number;
    tradingVenue: string;
    transactionTypeId: number;
    transfered: boolean;
};
//# sourceMappingURL=TransactionType.d.ts.map

================================================
FILE: dist/types/TransactionType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=TransactionType.js.map

================================================
FILE: dist/types/WebSettingsType.d.ts
================================================
declare type MarketPageIndex = {
    closePrice: number;
    country: string;
    name: string;
    vwdId: string;
    id: number;
};
declare type MarketPageFuture = {
    country: string;
    name: string;
    vwdId: string;
    id: number;
};
declare type MarketPageCurrency = {
    fromCountry: string;
    toCountry: string;
    name: string;
    vwdId: string;
    id: number;
};
declare type MarketPageChartIndex = {
    closePrice: number;
    country: string;
    name: string;
    vwdId: string;
    id: number;
};
export declare type WebSettingsType = {
    defaultMarketMoversIndexId: number;
    marketMoversIndexIds: number[];
    marketPageChartIndex: MarketPageChartIndex;
    marketPageIndices: MarketPageIndex[];
    marketPageFutures: MarketPageFuture[];
    marketPageCurrencies: MarketPageCurrency[];
    defaultStockCountryId: number;
    defaultStockListType: string;
    defaultStockListId: number;
    defaultOptionExchangeId: number;
    defaultOptionCountryId: number;
    defaultOptionUnderlyingIsin: string;
    defaultFutureExchangeId: number;
    defaultFutureCountryId: number;
    defaultFutureUnderlyingIsin: string;
    defaultLeveragedExchangeId: number;
    defaultLeveragedShortLong: number;
    defaultLeveragedIssuerId: number;
    defaultLeveragedUnderlyingId: number;
    defaultLeveragedPopularOnly: boolean;
    defaultBondIssuerType: number;
    defaultBondExchangeId: number;
    defaultFundFeeType: number;
    defaultFundIssuerId: number;
    defaultEtfExchangeId: number;
    defaultEtfFeeType: number;
    defaultEtfIssuerId: number;
    defaultEtfPopularOnly: boolean;
    defaultCfdExchangeId: number;
    defaultWarrantUnderlyingName: string;
    defaultWarrantIssuerName: string;
    decimalDelimiter: string;
    thousandDelimiter: string;
};
export {};
//# sourceMappingURL=WebSettingsType.d.ts.map

================================================
FILE: dist/types/WebSettingsType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WebSettingsType.js.map

================================================
FILE: dist/types/WebUserSettingType.d.ts
================================================
export declare type WebUserSettingType = {
    desktop: {
        hasClosedFeedbackPromotion: boolean;
        hasSeenProductTour: boolean;
        isAccountSummaryOpened: boolean;
        hasClosedInvitationPromotion: boolean;
        accountSummaryPosition: string;
    };
    mobile: {
        hasSeenProductTour: boolean;
    };
};
//# sourceMappingURL=WebUserSettingType.d.ts.map

================================================
FILE: dist/types/WebUserSettingType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WebUserSettingType.js.map

================================================
FILE: dist/types/i18nMessagesType.d.ts
================================================
export declare type i18nMessagesType = {
    [key: string]: string;
};
//# sourceMappingURL=i18nMessagesType.d.ts.map

================================================
FILE: dist/types/i18nMessagesType.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=i18nMessagesType.js.map

================================================
FILE: dist/types/index.d.ts
================================================
import { CashFoundType } from './CashFoundType';
import { DeGiroSettupType } from './DeGiroSettupType';
import { PortfolioPositionType } from './PortfolioPositionType';
import { LoginResponseType } from './LoginResponseType';
import { LoginRequestParamsType } from './LoginRequestParamsType';
import { LoginRequestBodyType } from './LoginRequestBodyType';
import { AccountConfigType } from './AccountConfigType';
import { AccountDataType } from './AccountDataType';
import { GetPorfolioConfigType } from './GetPorfolioConfigType';
import { SearchProductOptionsType } from './SearchProductOptionsType';
import { SearchProductResultType } from './SearchProductResultType';
import { OrderType } from './OrderType';
import { CreateOrderResultType } from './CreateOrderResultType';
import { TransactionFeeType } from './TransactionFeeType';
import { IsLoginOptionsType } from './IsLoginOptionsType';
import { GetOrdersConfigType } from './GetOrdersConfigType';
import { GetOrdersResultType } from './GetOrdersResultType';
import { GetAccountStateOptionsType } from './GetAccountStateOptionsType';
import { AccountReportsType, ReportType } from './AccountReportsType';
import { AccountInfoType } from './AccountInfoType';
import { FavouriteProductType } from './FavouriteProductType';
import { StockType } from './StockType';
import { GetHistoricalOrdersOptionsType } from './GetHistoricalOrdersOptionsType';
import { HistoricalOrdersType } from './HistoricalOrdersType';
import { GetNewsOptionsType } from './GetNewsOptionsType';
import { NewsType, New } from './NewsType';
import { WebSettingsType } from './WebSettingsType';
import { WebUserSettingType } from './WebUserSettingType';
import { i18nMessagesType } from './i18nMessagesType';
import { GetPopularStocksConfigType } from './GetPopularStocksConfigType';
import { GetTransactionsOptionsType } from './GetTransactionsOptionsType';
import { TransactionType } from './TransactionType';
import { ConfigDictionaryType, StockCountry, BondExchange, BondIssuerType, EurexCountry, FutureExchange, OptionExchange, CombinationExchange, CFDExchange, Exchange, Index, Region, Country } from './ConfigDictionaryType';
export { CashFoundType, DeGiroSettupType, PortfolioPositionType, LoginResponseType, LoginRequestParamsType, LoginRequestBodyType, AccountConfigType, AccountDataType, GetPorfolioConfigType, SearchProductOptionsType, SearchProductResultType, OrderType, CreateOrderResultType, TransactionFeeType, IsLoginOptionsType, GetOrdersConfigType, GetOrdersResultType, GetTransactionsOptionsType, GetAccountStateOptionsType, AccountReportsType, ReportType, AccountInfoType, FavouriteProductType, StockType, TransactionType, GetHistoricalOrdersOptionsType, HistoricalOrdersType, GetNewsOptionsType, NewsType, New, WebSettingsType, WebUserSettingType, ConfigDictionaryType, StockCountry, BondExchange, BondIssuerType, EurexCountry, FutureExchange, OptionExchange, CombinationExchange, CFDExchange, Exchange, Index, Region, Country, i18nMessagesType, GetPopularStocksConfigType, };
//# sourceMappingURL=index.d.ts.map

================================================
FILE: dist/types/index.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=index.js.map

================================================
FILE: dist/utils/debug.d.ts
================================================
export declare const debug: (...s: any) => void;
//# sourceMappingURL=debug.d.ts.map

================================================
FILE: dist/utils/debug.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.debug = void 0;
var DEBUG = !!process.env.DEGIRO_DEBUG;
exports.debug = DEBUG ? function () {
    var s = [];
    for (var _i = 0; _i < arguments.length; _i++) {
        s[_i] = arguments[_i];
    }
    return console.log.apply(console, s);
} : function () { };
//# sourceMappingURL=debug.js.map

================================================
FILE: dist/utils/generateReportURIFromID.d.ts
================================================
import { AccountDataType, AccountConfigType } from '../types';
/**
 * Generate a download URL to the report with the `id` identifier
 * @param id Report id to generate download URL
 */
export declare const generateReportURIFromID: (reportId: number | string, accountData: AccountDataType, accountConfig: AccountConfigType) => string;
//# sourceMappingURL=generateReportURIFromID.d.ts.map

================================================
FILE: dist/utils/generateReportURIFromID.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateReportURIFromID = void 0;
// Importamos enumerados de URLs
var enums_1 = require("../enums");
var BASE_REPORT_DOWNLOAD_URI = enums_1.DEGIRO_API_PATHS.BASE_REPORT_DOWNLOAD_URI;
/**
 * Generate a download URL to the report with the `id` identifier
 * @param id Report id to generate download URL
 */
exports.generateReportURIFromID = function (reportId, accountData, accountConfig) {
    return "" + accountConfig.data.paUrl + BASE_REPORT_DOWNLOAD_URI + reportId + "?sessionId=" + accountConfig.data.sessionId + "&intAccount=" + accountData.data.intAccount;
};
//# sourceMappingURL=generateReportURIFromID.js.map

================================================
FILE: dist/utils/index.d.ts
================================================
import { debug } from './debug';
import { processPortfolio } from './processPortfolio';
import { processGetCashFundsResultListObject } from './processGetCashFundsResultListObject';
import { processGetOrdersResultListObject } from './processGetOrdersResultListObject';
export { debug, processPortfolio, processGetCashFundsResultListObject, processGetOrdersResultListObject, };
//# sourceMappingURL=index.d.ts.map

================================================
FILE: dist/utils/index.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processGetOrdersResultListObject = exports.processGetCashFundsResultListObject = exports.processPortfolio = exports.debug = void 0;
var debug_1 = require("./debug");
Object.defineProperty(exports, "debug", { enumerable: true, get: function () { return debug_1.debug; } });
var processPortfolio_1 = require("./processPortfolio");
Object.defineProperty(exports, "processPortfolio", { enumerable: true, get: function () { return processPortfolio_1.processPortfolio; } });
var processGetCashFundsResultListObject_1 = require("./processGetCashFundsResultListObject");
Object.defineProperty(exports, "processGetCashFundsResultListObject", { enumerable: true, get: function () { return processGetCashFundsResultListObject_1.processGetCashFundsResultListObject; } });
var processGetOrdersResultListObject_1 = require("./processGetOrdersResultListObject");
Object.defineProperty(exports, "processGetOrdersResultListObject", { enumerable: true, get: function () { return processGetOrdersResultListObject_1.processGetOrdersResultListObject; } });
//# sourceMappingURL=index.js.map

================================================
FILE: dist/utils/processGetCashFundsResultListObject.d.ts
================================================
import { CashFoundType } from '../types';
declare type ObjectDataType = {
    value: [];
};
export declare const processGetCashFundsResultListObject: (objectData: ObjectDataType) => CashFoundType;
export {};
//# sourceMappingURL=processGetCashFundsResultListObject.d.ts.map

================================================
FILE: dist/utils/processGetCashFundsResultListObject.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processGetCashFundsResultListObject = void 0;
exports.processGetCashFundsResultListObject = function (objectData) {
    var _a;
    var arrayDataToExtract = objectData.value;
    var result = {};
    for (var i = 0; i < arrayDataToExtract.length; i++) {
        var data = arrayDataToExtract[i];
        if (data.isAdded) {
            Object.assign(result, (_a = {},
                _a[data.name] = data.value,
                _a));
        }
    }
    return result;
};
//# sourceMappingURL=processGetCashFundsResultListObject.js.map

================================================
FILE: dist/utils/processGetOrdersResultListObject.d.ts
================================================
declare type ObjectDataType = {
    value: [];
};
export declare const processGetOrdersResultListObject: (objectData: ObjectDataType) => {};
export {};
//# sourceMappingURL=processGetOrdersResultListObject.d.ts.map

================================================
FILE: dist/utils/processGetOrdersResultListObject.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processGetOrdersResultListObject = void 0;
exports.processGetOrdersResultListObject = function (objectData) {
    var _a;
    var arrayDataToExtract = objectData.value;
    var result = {};
    for (var i = 0; i < arrayDataToExtract.length; i++) {
        var data = arrayDataToExtract[i];
        if (data.isAdded) {
            Object.assign(result, (_a = {},
                _a[data.name] = data.value,
                _a));
        }
    }
    return result;
};
//# sourceMappingURL=processGetOrdersResultListObject.js.map

================================================
FILE: dist/utils/processPortfolio.d.ts
================================================
import { GetPorfolioConfigType } from '../types';
export declare function processPortfolio(positions: any[], config: GetPorfolioConfigType): any[];
//# sourceMappingURL=processPortfolio.d.ts.map

================================================
FILE: dist/utils/processPortfolio.js
================================================
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processPortfolio = void 0;
var DeGiroEnums_1 = require("../enums/DeGiroEnums");
/**
 * Transform the object format of a portfolio position
 * @param position
 */
var processPosition = function (position) {
    var _a;
    var result = {};
    for (var i = 0; i < position.value.length; i++) {
        if (position.value[i].value) {
            Object.assign(result, (_a = {},
                _a[position.value[i].name] = position.value[i].value,
                _a));
        }
    }
    return result;
};
/**
 * Apply filter to get only open or closed positions or get all available positions
 * @param config
 */
var filterPorfolio = function (config) { return function (position) {
    // Check (non-check) all positions
    if (config.type === DeGiroEnums_1.PORTFOLIO_POSITIONS_TYPE_ENUM.ALL)
        return true;
    // Check if ID is not a number
    if (isNaN(parseInt(position.id, 10)) || position.positionType !== 'PRODUCT')
        return false;
    if (config.type === DeGiroEnums_1.PORTFOLIO_POSITIONS_TYPE_ENUM.ALL_POSITIONS)
        return true;
    // Check if size is not 0
    if (config.type === DeGiroEnums_1.PORTFOLIO_POSITIONS_TYPE_ENUM.OPEN && position.size !== undefined)
        return parseFloat(position.size) !== 0;
    // Check if size is zero
    if (config.type === DeGiroEnums_1.PORTFOLIO_POSITIONS_TYPE_ENUM.CLOSED)
        return position.size === undefined || parseFloat(position.size) === 0;
    return false;
}; };
function processPortfolio(positions, config) {
    var results = positions
        .map(processPosition)
        .filter(filterPorfolio(config));
    return results;
}
exports.processPortfolio = processPortfolio;
//# sourceMappingURL=processPortfolio.js.map

================================================
FILE: docs/assets/css/main.css
================================================
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
 * * HTML5 display definitions
 * * ========================================================================== */
/**
 * * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

/**
 * * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */
audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/**
 * * Prevent modern browsers from displaying `audio` without controls.
 * * Remove excess height in iOS 5 devices. */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * * Known issue: no IE 6 support. */
[hidden] {
  display: none;
}

/* ==========================================================================
 * * Base
 * * ========================================================================== */
/**
 * * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 * *    `em` units.
 * * 2. Prevent iOS text size adjust after orientation change, without disabling
 * *    user zoom. */
html {
  font-size: 100%;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  font-family: sans-serif;
}

/**
 * * Address `font-family` inconsistency between `textarea` and other form
 * * elements. */
button, input, select, textarea {
  font-family: sans-serif;
}

/**
 * * Address margins handled incorrectly in IE 6/7. */
body {
  margin: 0;
}

/* ==========================================================================
 * * Links
 * * ========================================================================== */
/**
 * * Address `outline` inconsistency between Chrome and other browsers. */
a:focus {
  outline: thin dotted;
}
a:active, a:hover {
  outline: 0;
}

/**
 * * Improve readability when focused and also mouse hovered in all browsers. */
/* ==========================================================================
 * * Typography
 * * ========================================================================== */
/**
 * * Address font sizes and margins set differently in IE 6/7.
 * * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * * and Chrome. */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4, .tsd-index-panel h3 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

/**
 * * Address styling not present in IE 7/8/9, Safari 5, and Chrome. */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */
b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

/**
 * * Address styling not present in Safari 5 and Chrome. */
dfn {
  font-style: italic;
}

/**
 * * Address differences between Firefox and other browsers.
 * * Known issue: no IE 6/7 normalization. */
hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * * Address styling not present in IE 6/7/8/9. */
mark {
  background: #ff0;
  color: #000;
}

/**
 * * Address margins set differently in IE 6/7. */
p, pre {
  margin: 1em 0;
}

/**
 * * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. */
code, kbd, pre, samp {
  font-family: monospace, serif;
  _font-family: "courier new", monospace;
  font-size: 1em;
}

/**
 * * Improve readability of pre-formatted text in all browsers. */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/**
 * * Address CSS quotes not supported in IE 6/7. */
q {
  quotes: none;
}
q:before, q:after {
  content: "";
  content: none;
}

/**
 * * Address `quotes` property not supported in Safari 4. */
/**
 * * Address inconsistent and variable font size in all browsers. */
small {
  font-size: 80%;
}

/**
 * * Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
 * * Lists
 * * ========================================================================== */
/**
 * * Address margins set differently in IE 6/7. */
dl, menu, ol, ul {
  margin: 1em 0;
}

dd {
  margin: 0 0 0 40px;
}

/**
 * * Address paddings set differently in IE 6/7. */
menu, ol, ul {
  padding: 0 0 0 40px;
}

/**
 * * Correct list images handled incorrectly in IE 7. */
nav ul, nav ol {
  list-style: none;
  list-style-image: none;
}

/* ==========================================================================
 * * Embedded content
 * * ========================================================================== */
/**
 * * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * * 2. Improve image quality when scaled in IE 7. */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
}

/* 2 */
/**
 * * Correct overflow displayed oddly in IE 9. */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
 * * Figures
 * * ========================================================================== */
/**
 * * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */
figure, form {
  margin: 0;
}

/* ==========================================================================
 * * Forms
 * * ========================================================================== */
/**
 * * Correct margin displayed oddly in IE 6/7. */
/**
 * * Define consistent border, margin, and padding. */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * * 1. Correct color not being inherited in IE 6/7/8/9.
 * * 2. Correct text not wrapping in Firefox 3.
 * * 3. Correct alignment displayed oddly in IE 6/7. */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
}

/* 3 */
/**
 * * 1. Correct font size not being inherited in all browsers.
 * * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 * *    and Chrome.
 * * 3. Improve appearance and consistency in all browsers. */
button, input, select, textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
}

/* 3 */
/**
 * * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * * the UA stylesheet. */
button, input {
  line-height: normal;
}

/**
 * * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * * All other form control elements do not inherit `text-transform` values.
 * * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * * Correct `select` style inheritance in Firefox 4+ and Opera. */
button, select {
  text-transform: none;
}

/**
 * * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 * *    and `video` controls.
 * * 2. Correct inability to style clickable `input` types in iOS.
 * * 3. Improve usability and consistency of cursor style between image-type
 * *    `input` and others.
 * * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 * *    Known issue: inner spacing remains in IE 6. */
button, html input[type=button] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
}

/* 4 */
input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
}

/* 4 */
/**
 * * Re-set default cursor for disabled elements. */
button[disabled], html input[disabled] {
  cursor: default;
}

/**
 * * 1. Address box sizing set to content-box in IE 8/9.
 * * 2. Remove excess padding in IE 8/9.
 * * 3. Remove excess padding in IE 7.
 * *    Known issue: excess padding remains in IE 6. */
input {
  /* 3 */
}
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
}
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  /* 2 */
  box-sizing: content-box;
}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 * *    (include `-moz` to future-proof). */
/**
 * * Remove inner padding and search cancel button in Safari 5 and Chrome
 * * on OS X. */
/**
 * * Remove inner padding and border in Firefox 3+. */
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * * 2. Improve readability and alignment in all browsers. */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
}

/* 2 */
/* ==========================================================================
 * * Tables
 * * ========================================================================== */
/**
 * * Remove most spacing between table cells. */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* *
 * *Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name> */
.hljs {
  display: inline-block;
  padding: 0.5em;
  background: white;
  color: black;
}

.hljs-comment, .hljs-annotation, .hljs-template_comment, .diff .hljs-header, .hljs-chunk, .apache .hljs-cbracket {
  color: #008000;
}

.hljs-keyword, .hljs-id, .hljs-built_in, .css .smalltalk .hljs-class, .hljs-winutils, .bash .hljs-variable, .tex .hljs-command, .hljs-request, .hljs-status, .nginx .hljs-title {
  color: #00f;
}

.xml .hljs-tag {
  color: #00f;
}
.xml .hljs-tag .hljs-value {
  color: #00f;
}

.hljs-string, .hljs-title, .hljs-parent, .hljs-tag .hljs-value, .hljs-rules .hljs-value {
  color: #a31515;
}

.ruby .hljs-symbol {
  color: #a31515;
}
.ruby .hljs-symbol .hljs-string {
  color: #a31515;
}

.hljs-template_tag, .django .hljs-variable, .hljs-addition, .hljs-flow, .hljs-stream, .apache .hljs-tag, .hljs-date, .tex .hljs-formula, .coffeescript .hljs-attribute {
  color: #a31515;
}

.ruby .hljs-string, .hljs-decorator, .hljs-filter .hljs-argument, .hljs-localvars, .hljs-array, .hljs-attr_selector, .hljs-pseudo, .hljs-pi, .hljs-doctype, .hljs-deletion, .hljs-envvar, .hljs-shebang, .hljs-preprocessor, .hljs-pragma, .userType, .apache .hljs-sqbracket, .nginx .hljs-built_in, .tex .hljs-special, .hljs-prompt {
  color: #2b91af;
}

.hljs-phpdoc, .hljs-javadoc, .hljs-xmlDocTag {
  color: #808080;
}

.vhdl .hljs-typename {
  font-weight: bold;
}
.vhdl .hljs-string {
  color: #666666;
}
.vhdl .hljs-literal {
  color: #a31515;
}
.vhdl .hljs-attribute {
  color: #00b0e8;
}

.xml .hljs-attribute {
  color: #f00;
}

ul.tsd-descriptions > li > :first-child, .tsd-panel > :first-child, .col > :first-child, .col-11 > :first-child, .col-10 > :first-child, .col-9 > :first-child, .col-8 > :first-child, .col-7 > :first-child, .col-6 > :first-child, .col-5 > :first-child, .col-4 > :first-child, .col-3 > :first-child, .col-2 > :first-child, .col-1 > :first-child,
ul.tsd-descriptions > li > :first-child > :first-child,
.tsd-panel > :first-child > :first-child,
.col > :first-child > :first-child,
.col-11 > :first-child > :first-child,
.col-10 > :first-child > :first-child,
.col-9 > :first-child > :first-child,
.col-8 > :first-child > :first-child,
.col-7 > :first-child > :first-child,
.col-6 > :first-child > :first-child,
.col-5 > :first-child > :first-child,
.col-4 > :first-child > :first-child,
.col-3 > :first-child > :first-child,
.col-2 > :first-child > :first-child,
.col-1 > :first-child > :first-child,
ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
.tsd-panel > :first-child > :first-child > :first-child,
.col > :first-child > :first-child > :first-child,
.col-11 > :first-child > :first-child > :first-child,
.col-10 > :first-child > :first-child > :first-child,
.col-9 > :first-child > :first-child > :first-child,
.col-8 > :first-child > :first-child > :first-child,
.col-7 > :first-child > :first-child > :first-child,
.col-6 > :first-child > :first-child > :first-child,
.col-5 > :first-child > :first-child > :first-child,
.col-4 > :first-child > :first-child > :first-child,
.col-3 > :first-child > :first-child > :first-child,
.col-2 > :first-child > :first-child > :first-child,
.col-1 > :first-child > :first-child > :first-child {
  margin-top: 0;
}
ul.tsd-descriptions > li > :last-child, .tsd-panel > :last-child, .col > :last-child, .col-11 > :last-child, .col-10 > :last-child, .col-9 > :last-child, .col-8 > :last-child, .col-7 > :last-child, .col-6 > :last-child, .col-5 > :last-child, .col-4 > :last-child, .col-3 > :last-child, .col-2 > :last-child, .col-1 > :last-child,
ul.tsd-descriptions > li > :last-child > :last-child,
.tsd-panel > :last-child > :last-child,
.col > :last-child > :last-child,
.col-11 > :last-child > :last-child,
.col-10 > :last-child > :last-child,
.col-9 > :last-child > :last-child,
.col-8 > :last-child > :last-child,
.col-7 > :last-child > :last-child,
.col-6 > :last-child > :last-child,
.col-5 > :last-child > :last-child,
.col-4 > :last-child > :last-child,
.col-3 > :last-child > :last-child,
.col-2 > :last-child > :last-child,
.col-1 > :last-child > :last-child,
ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
.tsd-panel > :last-child > :last-child > :last-child,
.col > :last-child > :last-child > :last-child,
.col-11 > :last-child > :last-child > :last-child,
.col-10 > :last-child > :last-child > :last-child,
.col-9 > :last-child > :last-child > :last-child,
.col-8 > :last-child > :last-child > :last-child,
.col-7 > :last-child > :last-child > :last-child,
.col-6 > :last-child > :last-child > :last-child,
.col-5 > :last-child > :last-child > :last-child,
.col-4 > :last-child > :last-child > :last-child,
.col-3 > :last-child > :last-child > :last-child,
.col-2 > :last-child > :last-child > :last-child,
.col-1 > :last-child > :last-child > :last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.container-main {
  padding-bottom: 200px;
}

.row {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  margin: 0 -10px;
}
.row:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}

.col, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
  box-sizing: border-box;
  float: left;
  padding: 0 10px;
}

.col-1 {
  width: 8.3333333333%;
}

.offset-1 {
  margin-left: 8.3333333333%;
}

.col-2 {
  width: 16.6666666667%;
}

.offset-2 {
  margin-left: 16.6666666667%;
}

.col-3 {
  width: 25%;
}

.offset-3 {
  margin-left: 25%;
}

.col-4 {
  width: 33.3333333333%;
}

.offset-4 {
  margin-left: 33.3333333333%;
}

.col-5 {
  width: 41.6666666667%;
}

.offset-5 {
  margin-left: 41.6666666667%;
}

.col-6 {
  width: 50%;
}

.offset-6 {
  margin-left: 50%;
}

.col-7 {
  width: 58.3333333333%;
}

.offset-7 {
  margin-left: 58.3333333333%;
}

.col-8 {
  width: 66.6666666667%;
}

.offset-8 {
  margin-left: 66.6666666667%;
}

.col-9 {
  width: 75%;
}

.offset-9 {
  margin-left: 75%;
}

.col-10 {
  width: 83.3333333333%;
}

.offset-10 {
  margin-left: 83.3333333333%;
}

.col-11 {
  width: 91.6666666667%;
}

.offset-11 {
  margin-left: 91.6666666667%;
}

.tsd-kind-icon {
  display: block;
  position: relative;
  padding-left: 20px;
  text-indent: -20px;
}
.tsd-kind-icon:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 17px;
  margin: 0 3px 2px 0;
  background-image: url(../images/icons.png);
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  .tsd-kind-icon:before {
    background-image: url(../images/icons@2x.png);
    background-size: 238px 204px;
  }
}

.tsd-signature.tsd-kind-icon:before {
  background-position: 0 -153px;
}

.tsd-kind-object-literal > .tsd-kind-icon:before {
  background-position: 0px -17px;
}
.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -17px;
}
.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -17px;
}

.tsd-kind-class > .tsd-kind-icon:before {
  background-position: 0px -34px;
}
.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -34px;
}
.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -34px;
}

.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before {
  background-position: 0px -51px;
}
.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -51px;
}
.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -51px;
}

.tsd-kind-interface > .tsd-kind-icon:before {
  background-position: 0px -68px;
}
.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -68px;
}
.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -68px;
}

.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before {
  background-position: 0px -85px;
}
.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -85px;
}
.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -85px;
}

.tsd-kind-namespace > .tsd-kind-icon:before {
  background-position: 0px -102px;
}
.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -102px;
}
.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -102px;
}

.tsd-kind-module > .tsd-kind-icon:before {
  background-position: 0px -102px;
}
.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -102px;
}
.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -102px;
}

.tsd-kind-enum > .tsd-kind-icon:before {
  background-position: 0px -119px;
}
.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -119px;
}
.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -119px;
}

.tsd-kind-enum-member > .tsd-kind-icon:before {
  background-position: 0px -136px;
}
.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -136px;
}
.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -136px;
}

.tsd-kind-signature > .tsd-kind-icon:before {
  background-position: 0px -153px;
}
.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -153px;
}
.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -153px;
}

.tsd-kind-type-alias > .tsd-kind-icon:before {
  background-position: 0px -170px;
}
.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -170px;
}
.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -170px;
}

.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before {
  background-position: 0px -187px;
}
.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -17px -187px;
}
.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
  background-position: -34px -187px;
}

.tsd-kind-variable > .tsd-kind-icon:before {
  background-position: -136px -0px;
}
.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -0px;
}
.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -0px;
}
.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -0px;
}
.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -0px;
}
.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -0px;
}
.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -0px;
}
.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -0px;
}
.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -0px;
}
.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -0px;
}

.tsd-kind-property > .tsd-kind-icon:before {
  background-position: -136px -0px;
}
.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -0px;
}
.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -0px;
}
.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -0px;
}
.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -0px;
}
.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -0px;
}
.tsd-kind-property.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -0px;
}
.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -0px;
}
.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -0px;
}
.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -0px;
}
.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -0px;
}

.tsd-kind-get-signature > .tsd-kind-icon:before {
  background-position: -136px -17px;
}
.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -17px;
}
.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -17px;
}
.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -17px;
}

.tsd-kind-set-signature > .tsd-kind-icon:before {
  background-position: -136px -34px;
}
.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -34px;
}
.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -34px;
}
.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -34px;
}

.tsd-kind-accessor > .tsd-kind-icon:before {
  background-position: -136px -51px;
}
.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -51px;
}
.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -51px;
}
.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -51px;
}

.tsd-kind-function > .tsd-kind-icon:before {
  background-position: -136px -68px;
}
.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -68px;
}
.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -68px;
}
.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -68px;
}
.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -68px;
}
.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -68px;
}
.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -68px;
}
.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -68px;
}
.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -68px;
}
.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -68px;
}

.tsd-kind-method > .tsd-kind-icon:before {
  background-position: -136px -68px;
}
.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -68px;
}
.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -68px;
}
.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -68px;
}
.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -68px;
}
.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -68px;
}
.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -68px;
}
.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -68px;
}
.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -68px;
}
.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -68px;
}

.tsd-kind-call-signature > .tsd-kind-icon:before {
  background-position: -136px -68px;
}
.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -68px;
}
.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -68px;
}
.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -68px;
}

.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before {
  background-position: -136px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -85px;
}
.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -85px;
}

.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before {
  background-position: -136px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -85px;
}
.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -85px;
}

.tsd-kind-constructor > .tsd-kind-icon:before {
  background-position: -136px -102px;
}
.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -102px;
}
.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -102px;
}
.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -102px;
}

.tsd-kind-constructor-signature > .tsd-kind-icon:before {
  background-position: -136px -102px;
}
.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -102px;
}
.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -102px;
}
.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -102px;
}

.tsd-kind-index-signature > .tsd-kind-icon:before {
  background-position: -136px -119px;
}
.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -119px;
}
.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -119px;
}
.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -119px;
}

.tsd-kind-event > .tsd-kind-icon:before {
  background-position: -136px -136px;
}
.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -136px;
}
.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -136px;
}
.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -136px;
}
.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -136px;
}
.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -136px;
}
.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -136px;
}
.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -136px;
}
.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -136px;
}
.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -136px;
}
.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -136px;
}
.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -136px;
}
.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -136px;
}

.tsd-is-static > .tsd-kind-icon:before {
  background-position: -136px -153px;
}
.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -153px;
}
.tsd-is-static.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -153px;
}
.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -153px;
}
.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -153px;
}
.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -153px;
}
.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -153px;
}
.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -153px;
}
.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -153px;
}
.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -153px;
}
.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -153px;
}
.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -153px;
}
.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -153px;
}

.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before {
  background-position: -136px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -170px;
}
.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -170px;
}

.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before {
  background-position: -136px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -170px;
}
.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -170px;
}

.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before {
  background-position: -136px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before {
  background-position: -170px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -187px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before {
  background-position: -204px -170px;
}
.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -221px -170px;
}

.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before {
  background-position: -136px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -153px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before {
  background-position: -119px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before {
  background-position: -51px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -68px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before {
  background-position: -85px -187px;
}
.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before {
  background-position: -102px -187px;
Download .txt
gitextract_vrkryjmw/

├── .github/
│   └── workflows/
│       └── node.js.yml
├── .gitignore
├── .nycrc
├── LICENSE
├── README.md
├── dist/
│   ├── DeGiro.d.ts
│   ├── DeGiro.js
│   ├── api/
│   │   ├── createOrderRequest.d.ts
│   │   ├── createOrderRequest.js
│   │   ├── deleteOrderRequest.d.ts
│   │   ├── deleteOrderRequest.js
│   │   ├── executeOrderRequest.d.ts
│   │   ├── executeOrderRequest.js
│   │   ├── getAccountConfig.d.ts
│   │   ├── getAccountConfig.js
│   │   ├── getAccountData.d.ts
│   │   ├── getAccountData.js
│   │   ├── getAccountInfoRequest.d.ts
│   │   ├── getAccountInfoRequest.js
│   │   ├── getAccountReportsRequest.d.ts
│   │   ├── getAccountReportsRequest.js
│   │   ├── getAccountStateRequest.d.ts
│   │   ├── getAccountStateRequest.js
│   │   ├── getCashFundstRequest.d.ts
│   │   ├── getCashFundstRequest.js
│   │   ├── getConfigDictionaryRequest.d.ts
│   │   ├── getConfigDictionaryRequest.js
│   │   ├── getNewsRequest.d.ts
│   │   ├── getNewsRequest.js
│   │   ├── getOrdersRequest.d.ts
│   │   ├── getOrdersRequest.js
│   │   ├── getPopularStocksRequest.d.ts
│   │   ├── getPopularStocksRequest.js
│   │   ├── getPortfolioRequest.d.ts
│   │   ├── getPortfolioRequest.js
│   │   ├── getProductsByIdsRequest.d.ts
│   │   ├── getProductsByIdsRequest.js
│   │   ├── getTransactionsRequest.d.ts
│   │   ├── getTransactionsRequest.js
│   │   ├── getWebSettingsRequest.d.ts
│   │   ├── getWebSettingsRequest.js
│   │   ├── getWebUserSettingsRequest.d.ts
│   │   ├── getWebUserSettingsRequest.js
│   │   ├── getWebi18nMessagesRequest.d.ts
│   │   ├── getWebi18nMessagesRequest.js
│   │   ├── index.d.ts
│   │   ├── index.js
│   │   ├── login.d.ts
│   │   ├── login.js
│   │   ├── logout.d.ts
│   │   ├── logout.js
│   │   ├── searchProductRequest.d.ts
│   │   └── searchProductRequest.js
│   ├── enums/
│   │   ├── DeGiroEnums.d.ts
│   │   ├── DeGiroEnums.js
│   │   ├── index.d.ts
│   │   └── index.js
│   ├── interfaces/
│   │   ├── DeGiroClassInterface.d.ts
│   │   ├── DeGiroClassInterface.js
│   │   ├── index.d.ts
│   │   └── index.js
│   ├── main.d.ts
│   ├── main.js
│   ├── types/
│   │   ├── AccountConfigType.d.ts
│   │   ├── AccountConfigType.js
│   │   ├── AccountDataType.d.ts
│   │   ├── AccountDataType.js
│   │   ├── AccountInfoType.d.ts
│   │   ├── AccountInfoType.js
│   │   ├── AccountReportsType.d.ts
│   │   ├── AccountReportsType.js
│   │   ├── CashFoundType.d.ts
│   │   ├── CashFoundType.js
│   │   ├── ConfigDictionaryType.d.ts
│   │   ├── ConfigDictionaryType.js
│   │   ├── CreateOrderResultType.d.ts
│   │   ├── CreateOrderResultType.js
│   │   ├── DeGiroSettupType.d.ts
│   │   ├── DeGiroSettupType.js
│   │   ├── FavouriteProductType.d.ts
│   │   ├── FavouriteProductType.js
│   │   ├── GetAccountStateOptionsType.d.ts
│   │   ├── GetAccountStateOptionsType.js
│   │   ├── GetHistoricalOrdersOptionsType.d.ts
│   │   ├── GetHistoricalOrdersOptionsType.js
│   │   ├── GetNewsOptionsType.d.ts
│   │   ├── GetNewsOptionsType.js
│   │   ├── GetOrdersConfigType.d.ts
│   │   ├── GetOrdersConfigType.js
│   │   ├── GetOrdersResultType.d.ts
│   │   ├── GetOrdersResultType.js
│   │   ├── GetPopularStocksConfigType.d.ts
│   │   ├── GetPopularStocksConfigType.js
│   │   ├── GetPorfolioConfigType.d.ts
│   │   ├── GetPorfolioConfigType.js
│   │   ├── GetTransactionsOptionsType.d.ts
│   │   ├── GetTransactionsOptionsType.js
│   │   ├── HistoricalOrdersType.d.ts
│   │   ├── HistoricalOrdersType.js
│   │   ├── IsLoginOptionsType.d.ts
│   │   ├── IsLoginOptionsType.js
│   │   ├── LoginRequestBodyType.d.ts
│   │   ├── LoginRequestBodyType.js
│   │   ├── LoginRequestParamsType.d.ts
│   │   ├── LoginRequestParamsType.js
│   │   ├── LoginResponseType.d.ts
│   │   ├── LoginResponseType.js
│   │   ├── NewsType.d.ts
│   │   ├── NewsType.js
│   │   ├── OrderType.d.ts
│   │   ├── OrderType.js
│   │   ├── PortfolioPositionType.d.ts
│   │   ├── PortfolioPositionType.js
│   │   ├── SearchProductOptionsType.d.ts
│   │   ├── SearchProductOptionsType.js
│   │   ├── SearchProductResultType.d.ts
│   │   ├── SearchProductResultType.js
│   │   ├── StockType.d.ts
│   │   ├── StockType.js
│   │   ├── TransactionFeeType.d.ts
│   │   ├── TransactionFeeType.js
│   │   ├── TransactionType.d.ts
│   │   ├── TransactionType.js
│   │   ├── WebSettingsType.d.ts
│   │   ├── WebSettingsType.js
│   │   ├── WebUserSettingType.d.ts
│   │   ├── WebUserSettingType.js
│   │   ├── i18nMessagesType.d.ts
│   │   ├── i18nMessagesType.js
│   │   ├── index.d.ts
│   │   └── index.js
│   └── utils/
│       ├── debug.d.ts
│       ├── debug.js
│       ├── generateReportURIFromID.d.ts
│       ├── generateReportURIFromID.js
│       ├── index.d.ts
│       ├── index.js
│       ├── processGetCashFundsResultListObject.d.ts
│       ├── processGetCashFundsResultListObject.js
│       ├── processGetOrdersResultListObject.d.ts
│       ├── processGetOrdersResultListObject.js
│       ├── processPortfolio.d.ts
│       └── processPortfolio.js
├── docs/
│   ├── assets/
│   │   ├── css/
│   │   │   └── main.css
│   │   └── js/
│   │       ├── main.js
│   │       └── search.json
│   ├── classes/
│   │   └── _degiro_.degiro.html
│   ├── enums/
│   │   ├── _enums_degiroenums_.degiro_api_paths.html
│   │   ├── _enums_degiroenums_.degiroactions.html
│   │   ├── _enums_degiroenums_.degiromarketordertypes.html
│   │   ├── _enums_degiroenums_.degiroproductypes.html
│   │   ├── _enums_degiroenums_.degirosort.html
│   │   ├── _enums_degiroenums_.degirotimetypes.html
│   │   ├── _enums_degiroenums_.get_orders_types.html
│   │   └── _enums_degiroenums_.portfolio_positions_type_enum.html
│   ├── globals.html
│   ├── index.html
│   ├── interfaces/
│   │   └── _interfaces_degiroclassinterface_.degiroclassinterface.html
│   └── modules/
│       ├── _api_createorderrequest_.html
│       ├── _api_deleteorderrequest_.html
│       ├── _api_executeorderrequest_.html
│       ├── _api_getaccountconfig_.html
│       ├── _api_getaccountdata_.html
│       ├── _api_getaccountinforequest_.html
│       ├── _api_getaccountreportsrequest_.html
│       ├── _api_getaccountstaterequest_.html
│       ├── _api_getcashfundstrequest_.html
│       ├── _api_getconfigdictionaryrequest_.html
│       ├── _api_getnewsrequest_.html
│       ├── _api_getordersrequest_.html
│       ├── _api_getportfoliorequest_.html
│       ├── _api_getproductsbyidsrequest_.html
│       ├── _api_getwebi18nmessagesrequest_.html
│       ├── _api_getwebsettingsrequest_.html
│       ├── _api_getwebusersettingsrequest_.html
│       ├── _api_index_.html
│       ├── _api_login_.html
│       ├── _api_logout_.html
│       ├── _api_searchproductrequest_.html
│       ├── _degiro_.html
│       ├── _enums_degiroenums_.html
│       ├── _enums_index_.html
│       ├── _interfaces_degiroclassinterface_.html
│       ├── _interfaces_index_.html
│       ├── _main_.html
│       ├── _types_accountconfigtype_.html
│       ├── _types_accountdatatype_.html
│       ├── _types_accountinfotype_.html
│       ├── _types_accountreportstype_.html
│       ├── _types_cashfoundtype_.html
│       ├── _types_configdictionarytype_.html
│       ├── _types_createorderresulttype_.html
│       ├── _types_degirosettuptype_.html
│       ├── _types_favouriteproducttype_.html
│       ├── _types_getaccountstateoptionstype_.html
│       ├── _types_gethistoricalordersoptionstype_.html
│       ├── _types_getnewsoptionstype_.html
│       ├── _types_getordersconfigtype_.html
│       ├── _types_getordersresulttype_.html
│       ├── _types_getporfolioconfigtype_.html
│       ├── _types_historicalorderstype_.html
│       ├── _types_i18nmessagestype_.html
│       ├── _types_index_.html
│       ├── _types_isloginoptionstype_.html
│       ├── _types_loginrequestbodytype_.html
│       ├── _types_loginrequestparamstype_.html
│       ├── _types_loginresponsetype_.html
│       ├── _types_newstype_.html
│       ├── _types_ordertype_.html
│       ├── _types_portfoliopositiontype_.html
│       ├── _types_searchproductoptionstype_.html
│       ├── _types_searchproductresulttype_.html
│       ├── _types_stocktype_.html
│       ├── _types_transactionfeetype_.html
│       ├── _types_websettingstype_.html
│       ├── _types_webusersettingtype_.html
│       ├── _utils_debug_.html
│       ├── _utils_generatereporturifromid_.html
│       ├── _utils_index_.html
│       ├── _utils_processgetcashfundsresultlistobject_.html
│       ├── _utils_processgetordersresultlistobject_.html
│       └── _utils_processportfolio_.html
├── examples/
│   ├── createOrder.ts
│   ├── deleteOrder.ts
│   ├── executeOrder.ts
│   ├── getAccountConfig.ts
│   ├── getAccountInfo.ts
│   ├── getAccountReports.ts
│   ├── getAccountState.ts
│   ├── getCashFunds.ts
│   ├── getConfigDictionary.js
│   ├── getMessages.ts
│   ├── getNews.ts
│   ├── getOrders.ts
│   ├── getPopularStocks.ts
│   ├── getPortfolio.ts
│   ├── getWebSettings.ts
│   ├── getWebUserSettings.ts
│   ├── login.ts
│   ├── searchProduct.ts
│   └── static-login.ts
├── package.json
├── src/
│   ├── DeGiro.ts
│   ├── api/
│   │   ├── createOrderRequest.ts
│   │   ├── deleteOrderRequest.ts
│   │   ├── executeOrderRequest.ts
│   │   ├── getAccountConfig.ts
│   │   ├── getAccountData.ts
│   │   ├── getAccountInfoRequest.ts
│   │   ├── getAccountReportsRequest.ts
│   │   ├── getAccountStateRequest.ts
│   │   ├── getCashFundstRequest.ts
│   │   ├── getConfigDictionaryRequest.ts
│   │   ├── getNewsRequest.ts
│   │   ├── getOrdersRequest.ts
│   │   ├── getPopularStocksRequest.ts
│   │   ├── getPortfolioRequest.ts
│   │   ├── getProductsByIdsRequest.ts
│   │   ├── getTransactionsRequest.ts
│   │   ├── getWebSettingsRequest.ts
│   │   ├── getWebUserSettingsRequest.ts
│   │   ├── getWebi18nMessagesRequest.ts
│   │   ├── index.ts
│   │   ├── login.ts
│   │   ├── logout.ts
│   │   └── searchProductRequest.ts
│   ├── enums/
│   │   ├── DeGiroEnums.ts
│   │   └── index.ts
│   ├── interfaces/
│   │   ├── DeGiroClassInterface.ts
│   │   └── index.ts
│   ├── main.ts
│   ├── types/
│   │   ├── AccountConfigType.ts
│   │   ├── AccountDataType.ts
│   │   ├── AccountInfoType.ts
│   │   ├── AccountReportsType.ts
│   │   ├── CashFoundType.ts
│   │   ├── ConfigDictionaryType.ts
│   │   ├── CreateOrderResultType.ts
│   │   ├── DeGiroSettupType.ts
│   │   ├── FavouriteProductType.ts
│   │   ├── GetAccountStateOptionsType.ts
│   │   ├── GetHistoricalOrdersOptionsType.ts
│   │   ├── GetNewsOptionsType.ts
│   │   ├── GetOrdersConfigType.ts
│   │   ├── GetOrdersResultType.ts
│   │   ├── GetPopularStocksConfigType.ts
│   │   ├── GetPorfolioConfigType.ts
│   │   ├── GetTransactionsOptionsType.ts
│   │   ├── HistoricalOrdersType.ts
│   │   ├── IsLoginOptionsType.ts
│   │   ├── LoginRequestBodyType.ts
│   │   ├── LoginRequestParamsType.ts
│   │   ├── LoginResponseType.ts
│   │   ├── NewsType.ts
│   │   ├── OrderType.ts
│   │   ├── PortfolioPositionType.ts
│   │   ├── SearchProductOptionsType.ts
│   │   ├── SearchProductResultType.ts
│   │   ├── StockType.ts
│   │   ├── TransactionFeeType.ts
│   │   ├── TransactionType.ts
│   │   ├── WebSettingsType.ts
│   │   ├── WebUserSettingType.ts
│   │   ├── i18nMessagesType.ts
│   │   └── index.ts
│   └── utils/
│       ├── debug.ts
│       ├── generateReportURIFromID.ts
│       ├── index.ts
│       ├── processGetCashFundsResultListObject.ts
│       ├── processGetOrdersResultListObject.ts
│       └── processPortfolio.ts
├── tests/
│   ├── enviroment_vars.spec.ts
│   ├── getAccountConfig.spec.ts
│   ├── getAccountData.spec.ts
│   ├── getJSESSIONID.spec.ts
│   ├── isLogin.spec.ts
│   ├── login.spec.ts
│   ├── logout.spec.ts
│   ├── searchProduct.spec.ts
│   └── test_constants.ts
├── tsconfig.json
└── tslint.json
Download .txt
SYMBOL INDEX (244 symbols across 126 files)

FILE: dist/DeGiro.d.ts
  class DeGiro (line 7) | class DeGiro implements DeGiroClassInterface {

FILE: dist/DeGiro.js
  function DeGiro (line 33) | function DeGiro(params) {

FILE: dist/api/createOrderRequest.js
  function createOrderRequest (line 9) | function createOrderRequest(order, accountData, accountConfig) {

FILE: dist/api/deleteOrderRequest.js
  function deleteOrderRequest (line 6) | function deleteOrderRequest(orderId, accountData, accountConfig) {

FILE: dist/api/executeOrderRequest.js
  function executeOrderRequest (line 6) | function executeOrderRequest(order, executeId, accountData, accountConfi...

FILE: dist/api/getAccountConfig.js
  function getAccountConfigRequest (line 9) | function getAccountConfigRequest(sessionId) {

FILE: dist/api/getAccountData.js
  function getAccountDataRequest (line 6) | function getAccountDataRequest(accountConfig) {

FILE: dist/api/getAccountInfoRequest.js
  function getAccountInfoRequest (line 9) | function getAccountInfoRequest(accountData, accountConfig) {

FILE: dist/api/getAccountReportsRequest.js
  function getAccountReportsRequest (line 22) | function getAccountReportsRequest(accountData, accountConfig) {

FILE: dist/api/getAccountStateRequest.js
  function getAccountStateRequest (line 9) | function getAccountStateRequest(accountData, accountConfig, config) {

FILE: dist/api/getCashFundstRequest.js
  function getCashFundstRequest (line 9) | function getCashFundstRequest(accountData, accountConfig) {

FILE: dist/api/getConfigDictionaryRequest.js
  function getConfigDictionaryRequest (line 6) | function getConfigDictionaryRequest(accountData, accountConfig) {

FILE: dist/api/getNewsRequest.js
  function adopt (line 3) | function adopt(value) { return value instanceof P ? value : new P(functi...
  function fulfilled (line 5) | function fulfilled(value) { try { step(generator.next(value)); } catch (...
  function rejected (line 6) | function rejected(value) { try { step(generator["throw"](value)); } catc...
  function step (line 7) | function step(result) { result.done ? resolve(result.value) : adopt(resu...
  function verb (line 14) | function verb(n) { return function (v) { return step([n, v]); }; }
  function step (line 15) | function step(op) {
  function getNewsRequest (line 43) | function getNewsRequest(options, accountData, accountConfig) {

FILE: dist/api/getOrdersRequest.js
  function getOrdersRequest (line 9) | function getOrdersRequest(accountData, accountConfig, config) {

FILE: dist/api/getPopularStocksRequest.js
  function getPopularStocksRequest (line 10) | function getPopularStocksRequest(accountData, accountConfig, config) {

FILE: dist/api/getPortfolioRequest.js
  function getPortfolioRequest (line 7) | function getPortfolioRequest(accountData, accountConfig, config) {

FILE: dist/api/getProductsByIdsRequest.js
  function getProductsByIdsRequest (line 5) | function getProductsByIdsRequest(ids, accountData, accountConfig) {

FILE: dist/api/getTransactionsRequest.js
  function getTransactionsRequest (line 7) | function getTransactionsRequest(accountData, accountConfig, config) {

FILE: dist/api/getWebSettingsRequest.js
  function getWebSettingsRequest (line 9) | function getWebSettingsRequest(accountData, accountConfig) {

FILE: dist/api/getWebUserSettingsRequest.js
  function getWebUserSettingsRequest (line 9) | function getWebUserSettingsRequest(accountData, accountConfig) {

FILE: dist/api/getWebi18nMessagesRequest.js
  function getWebi18nMessagesRequest (line 6) | function getWebi18nMessagesRequest(lang, accountData, accountConfig) {

FILE: dist/api/login.js
  function loginRequest (line 9) | function loginRequest(params) {

FILE: dist/api/logout.js
  function logoutRequest (line 9) | function logoutRequest(accountData, accountConfig) {

FILE: dist/api/searchProductRequest.js
  function searchProductRequest (line 23) | function searchProductRequest(options, accountData, accountConfig) {

FILE: dist/enums/DeGiroEnums.d.ts
  type DEGIRO_API_PATHS (line 1) | enum DEGIRO_API_PATHS {
  type DeGiroActions (line 19) | enum DeGiroActions {
  type DeGiroMarketOrderTypes (line 23) | enum DeGiroMarketOrderTypes {
  type DeGiroTimeTypes (line 29) | enum DeGiroTimeTypes {
  type DeGiroProducTypes (line 33) | enum DeGiroProducTypes {
  type DeGiroSort (line 44) | enum DeGiroSort {
  type PORTFOLIO_POSITIONS_TYPE_ENUM (line 48) | enum PORTFOLIO_POSITIONS_TYPE_ENUM {
  type GET_ORDERS_TYPES (line 54) | enum GET_ORDERS_TYPES {

FILE: dist/interfaces/DeGiroClassInterface.d.ts
  type DeGiroClassInterface (line 5) | interface DeGiroClassInterface {

FILE: dist/types/AccountConfigType.d.ts
  type AccountConfigType (line 1) | type AccountConfigType = {

FILE: dist/types/AccountDataType.d.ts
  type AccountDataType (line 1) | type AccountDataType = {

FILE: dist/types/AccountInfoType.d.ts
  type AccountInfoType (line 1) | type AccountInfoType = {
  type CashFund (line 9) | type CashFund = {
  type AccountInfoCashFunds (line 14) | type AccountInfoCashFunds = {
  type AccountInfoCurrencyPairs (line 17) | type AccountInfoCurrencyPairs = {

FILE: dist/types/AccountReportsType.d.ts
  type ReportType (line 1) | type ReportType = {
  type AccountReportsType (line 8) | type AccountReportsType = ReportType[];

FILE: dist/types/CashFoundType.d.ts
  type CashFoundType (line 1) | type CashFoundType = {

FILE: dist/types/ConfigDictionaryType.d.ts
  type StockCountry (line 1) | type StockCountry = {
  type BondExchange (line 7) | type BondExchange = {
  type BondIssuerType (line 13) | type BondIssuerType = {
  type EurexCountry (line 18) | type EurexCountry = {
  type FutureExchange (line 24) | type FutureExchange = {
  type OptionExchange (line 29) | type OptionExchange = {
  type CombinationExchange (line 36) | type CombinationExchange = {
  type CFDExchange (line 40) | type CFDExchange = {
  type Exchange (line 45) | type Exchange = {
  type Index (line 54) | type Index = {
  type Region (line 59) | type Region = {
  type Country (line 64) | type Country = {
  type ProductTypes (line 70) | type ProductTypes = {
  type FeeType (line 77) | type FeeType = {
  type AggregateListItem (line 82) | type AggregateListItem = {
  type SortListItem (line 86) | type SortListItem = {
  type ConfigDictionaryType (line 89) | type ConfigDictionaryType = {

FILE: dist/types/CreateOrderResultType.d.ts
  type CreateOrderResultType (line 2) | type CreateOrderResultType = {

FILE: dist/types/DeGiroSettupType.d.ts
  type DeGiroSettupType (line 1) | type DeGiroSettupType = {

FILE: dist/types/FavouriteProductType.d.ts
  type FavouriteProductType (line 1) | type FavouriteProductType = {};

FILE: dist/types/GetAccountStateOptionsType.d.ts
  type GetAccountStateOptionsType (line 1) | type GetAccountStateOptionsType = {

FILE: dist/types/GetHistoricalOrdersOptionsType.d.ts
  type GetHistoricalOrdersOptionsType (line 1) | type GetHistoricalOrdersOptionsType = {};

FILE: dist/types/GetNewsOptionsType.d.ts
  type GetNewsOptionsType (line 1) | type GetNewsOptionsType = {

FILE: dist/types/GetOrdersConfigType.d.ts
  type GetOrdersConfigType (line 1) | type GetOrdersConfigType = {

FILE: dist/types/GetOrdersResultType.d.ts
  type GetOrdersResultType (line 1) | type GetOrdersResultType = {

FILE: dist/types/GetPopularStocksConfigType.d.ts
  type GetPopularStocksConfigType (line 1) | type GetPopularStocksConfigType = {

FILE: dist/types/GetPorfolioConfigType.d.ts
  type GetPorfolioConfigType (line 2) | type GetPorfolioConfigType = {

FILE: dist/types/GetTransactionsOptionsType.d.ts
  type GetTransactionsOptionsType (line 1) | type GetTransactionsOptionsType = {

FILE: dist/types/HistoricalOrdersType.d.ts
  type HistoricalOrdersType (line 1) | type HistoricalOrdersType = {};

FILE: dist/types/IsLoginOptionsType.d.ts
  type IsLoginOptionsType (line 1) | type IsLoginOptionsType = {

FILE: dist/types/LoginRequestBodyType.d.ts
  type LoginRequestBodyType (line 1) | type LoginRequestBodyType = {

FILE: dist/types/LoginRequestParamsType.d.ts
  type LoginRequestParamsType (line 1) | type LoginRequestParamsType = {

FILE: dist/types/LoginResponseType.d.ts
  type LoginResponseType (line 1) | type LoginResponseType = {

FILE: dist/types/NewsType.d.ts
  type New (line 1) | type New = {
  type NewsResponse (line 14) | type NewsResponse = {
  type NewsType (line 19) | type NewsType = {

FILE: dist/types/OrderType.d.ts
  type OrderType (line 2) | type OrderType = {

FILE: dist/types/PortfolioPositionType.d.ts
  type PortfolioPositionType (line 1) | type PortfolioPositionType = {

FILE: dist/types/SearchProductOptionsType.d.ts
  type SearchProductOptionsType (line 2) | type SearchProductOptionsType = {

FILE: dist/types/SearchProductResultType.d.ts
  type SearchProductResultType (line 1) | type SearchProductResultType = {

FILE: dist/types/StockType.d.ts
  type StockType (line 1) | type StockType = {

FILE: dist/types/TransactionFeeType.d.ts
  type TransactionFeeType (line 1) | type TransactionFeeType = {

FILE: dist/types/TransactionType.d.ts
  type TransactionType (line 1) | type TransactionType = {

FILE: dist/types/WebSettingsType.d.ts
  type MarketPageIndex (line 1) | type MarketPageIndex = {
  type MarketPageFuture (line 8) | type MarketPageFuture = {
  type MarketPageCurrency (line 14) | type MarketPageCurrency = {
  type MarketPageChartIndex (line 21) | type MarketPageChartIndex = {
  type WebSettingsType (line 28) | type WebSettingsType = {

FILE: dist/types/WebUserSettingType.d.ts
  type WebUserSettingType (line 1) | type WebUserSettingType = {

FILE: dist/types/i18nMessagesType.d.ts
  type i18nMessagesType (line 1) | type i18nMessagesType = {

FILE: dist/utils/processGetCashFundsResultListObject.d.ts
  type ObjectDataType (line 2) | type ObjectDataType = {

FILE: dist/utils/processGetOrdersResultListObject.d.ts
  type ObjectDataType (line 1) | type ObjectDataType = {

FILE: dist/utils/processPortfolio.js
  function processPortfolio (line 42) | function processPortfolio(positions, config) {

FILE: docs/assets/js/main.js
  function __ (line 1) | function __(){this.constructor=d}
  function Application (line 1) | function Application(){this.createServices(),this.createComponents(docum...
  function EventTarget (line 1) | function EventTarget(){this.listeners={}}
  function Viewport (line 1) | function Viewport(){var _this=_super.call(this)||this;return _this.scrol...
  function Component (line 1) | function Component(options){this.el=options.el}
  function FilterItem (line 1) | function FilterItem(key,value){this.key=key,this.value=value,this.defaul...
  function FilterItemCheckbox (line 1) | function FilterItemCheckbox(){return null!==_super&&_super.apply(this,ar...
  function FilterItemSelect (line 1) | function FilterItemSelect(){return null!==_super&&_super.apply(this,argu...
  function onActivate (line 1) | function onActivate(){_this.select.classList.add("active")}
  function Filter (line 1) | function Filter(options){var _this=_super.call(this,options)||this;retur...
  function MenuHighlight (line 1) | function MenuHighlight(options){var _this=_super.call(this,options)||thi...
  function Search (line 1) | function Search(options){var _this=_super.call(this,options)||this;_this...
  function SignatureGroup (line 1) | function SignatureGroup(signature,description){this.signature=signature,...
  function Signature (line 1) | function Signature(options){var _this=_super.call(this,options)||this;re...
  function Toggle (line 1) | function Toggle(options){var _this=_super.call(this,options)||this;retur...

FILE: src/DeGiro.ts
  class DeGiro (line 71) | class DeGiro implements DeGiroClassInterface {
    method constructor (line 84) | constructor(params: DeGiroSettupType = {}) {
    method create (line 102) | static create(params: DeGiroSettupType): DeGiro {
    method login (line 108) | login(): Promise<AccountDataType> {
    method logout (line 126) | logout(): Promise<void> {
    method isLogin (line 141) | isLogin(options?: IsLoginOptionsType): boolean | Promise<boolean> {
    method loginWithJSESSIONID (line 152) | private loginWithJSESSIONID(jsessionId: string): Promise<AccountDataTy...
    method getAccountConfig (line 168) | getAccountConfig(sessionId?: string): Promise<AccountConfigType> {
    method getAccountData (line 182) | getAccountData(): Promise<AccountDataType> {
    method getAccountState (line 196) | getAccountState(options: GetAccountStateOptionsType): Promise<any[]> {
    method getAccountReports (line 203) | getAccountReports(): Promise<AccountReportsType> {
    method getAccountInfo (line 210) | getAccountInfo(): Promise<AccountInfoType> {
    method searchProduct (line 219) | searchProduct(options: SearchProductOptionsType): Promise<SearchProduc...
    method getCashFunds (line 228) | getCashFunds(): Promise<CashFoundType[]> {
    method getPortfolio (line 237) | getPortfolio(config: GetPorfolioConfigType): Promise<any[]> {
    method completePortfolioDetails (line 249) | private completePortfolioDetails(portfolio: any[], getProductDetails: ...
    method getFavouriteProducts (line 270) | getFavouriteProducts(): Promise<FavouriteProductType[]> {
    method getPopularStocks (line 276) | getPopularStocks(config: GetPopularStocksConfigType = {}): Promise<Sto...
    method getOrders (line 285) | getOrders(config: GetOrdersConfigType): Promise<GetOrdersResultType> {
    method getHistoricalOrders (line 292) | getHistoricalOrders(options: GetHistoricalOrdersOptionsType): Promise<...
    method createOrder (line 298) | createOrder(order: OrderType): Promise<CreateOrderResultType> {
    method executeOrder (line 305) | executeOrder(order: OrderType, executeId: String): Promise<String> {
    method deleteOrder (line 312) | deleteOrder(orderId: String): Promise<void> {
    method getTransactions (line 319) | getTransactions(options: GetTransactionsOptionsType): Promise<Transact...
    method getProductsByIds (line 328) | getProductsByIds(ids: string[]): Promise<any[]> {
    method getNews (line 335) | getNews(options: GetNewsOptionsType): Promise<NewsType> {
    method getWebi18nMessages (line 342) | getWebi18nMessages(lang: string = 'es_ES'): Promise<i18nMessagesType> {
    method getWebSettings (line 349) | getWebSettings(): Promise<WebSettingsType> {
    method getWebUserSettings (line 356) | getWebUserSettings(): Promise<WebUserSettingType> {
    method getConfigDictionary (line 363) | getConfigDictionary(): Promise<ConfigDictionaryType> {

FILE: src/api/createOrderRequest.ts
  function createOrderRequest (line 11) | function createOrderRequest(order: OrderType, accountData: AccountDataTy...

FILE: src/api/deleteOrderRequest.ts
  function deleteOrderRequest (line 7) | function deleteOrderRequest(orderId: String, accountData: AccountDataTyp...

FILE: src/api/executeOrderRequest.ts
  function executeOrderRequest (line 7) | function executeOrderRequest(order: OrderType, executeId: String, accoun...

FILE: src/api/getAccountConfig.ts
  function getAccountConfigRequest (line 11) | function getAccountConfigRequest(sessionId: string): Promise<AccountConf...

FILE: src/api/getAccountData.ts
  function getAccountDataRequest (line 7) | function getAccountDataRequest(accountConfig: AccountConfigType): Promis...

FILE: src/api/getAccountInfoRequest.ts
  function getAccountInfoRequest (line 11) | function getAccountInfoRequest(accountData: AccountDataType, accountConf...

FILE: src/api/getAccountReportsRequest.ts
  function getAccountReportsRequest (line 14) | function getAccountReportsRequest(accountData: AccountDataType, accountC...

FILE: src/api/getAccountStateRequest.ts
  function getAccountStateRequest (line 10) | function getAccountStateRequest(accountData: AccountDataType, accountCon...

FILE: src/api/getCashFundstRequest.ts
  function getCashFundstRequest (line 10) | function getCashFundstRequest(accountData: AccountDataType, accountConfi...

FILE: src/api/getConfigDictionaryRequest.ts
  function getConfigDictionaryRequest (line 7) | function getConfigDictionaryRequest(accountData: AccountDataType, accoun...

FILE: src/api/getNewsRequest.ts
  function getNewsRequest (line 11) | function getNewsRequest(options: GetNewsOptionsType, accountData: Accoun...

FILE: src/api/getOrdersRequest.ts
  function getOrdersRequest (line 10) | function getOrdersRequest(accountData: AccountDataType, accountConfig: A...

FILE: src/api/getPopularStocksRequest.ts
  function getPopularStocksRequest (line 12) | function getPopularStocksRequest(accountData: AccountDataType, accountCo...

FILE: src/api/getPortfolioRequest.ts
  function getPortfolioRequest (line 8) | function getPortfolioRequest(accountData: AccountDataType, accountConfig...

FILE: src/api/getProductsByIdsRequest.ts
  function getProductsByIdsRequest (line 8) | function getProductsByIdsRequest(ids: string[], accountData: AccountData...

FILE: src/api/getTransactionsRequest.ts
  function getTransactionsRequest (line 6) | function getTransactionsRequest(accountData: AccountDataType, accountCon...

FILE: src/api/getWebSettingsRequest.ts
  function getWebSettingsRequest (line 11) | function getWebSettingsRequest(accountData: AccountDataType, accountConf...

FILE: src/api/getWebUserSettingsRequest.ts
  function getWebUserSettingsRequest (line 11) | function getWebUserSettingsRequest(accountData: AccountDataType, account...

FILE: src/api/getWebi18nMessagesRequest.ts
  function getWebi18nMessagesRequest (line 7) | function getWebi18nMessagesRequest(lang: string, accountData: AccountDat...

FILE: src/api/login.ts
  function loginRequest (line 11) | function loginRequest(params: LoginRequestParamsType): Promise<LoginResp...

FILE: src/api/logout.ts
  function logoutRequest (line 11) | function logoutRequest(accountData: AccountDataType, accountConfig: Acco...

FILE: src/api/searchProductRequest.ts
  function searchProductRequest (line 23) | function searchProductRequest(options: SearchProductOptionsType, account...

FILE: src/enums/DeGiroEnums.ts
  type DEGIRO_API_PATHS (line 1) | enum DEGIRO_API_PATHS {
  type DeGiroActions (line 20) | enum DeGiroActions {
  type DeGiroMarketOrderTypes (line 25) | enum DeGiroMarketOrderTypes {
  type DeGiroTimeTypes (line 32) | enum DeGiroTimeTypes {
  type DeGiroProducTypes (line 37) | enum DeGiroProducTypes {
  type DeGiroSort (line 50) | enum DeGiroSort {
  type PORTFOLIO_POSITIONS_TYPE_ENUM (line 55) | enum PORTFOLIO_POSITIONS_TYPE_ENUM {
  type GET_ORDERS_TYPES (line 62) | enum GET_ORDERS_TYPES {

FILE: src/interfaces/DeGiroClassInterface.ts
  type DeGiroClassInterface (line 32) | interface DeGiroClassInterface {

FILE: src/types/AccountConfigType.ts
  type AccountConfigType (line 1) | type AccountConfigType = {

FILE: src/types/AccountDataType.ts
  type AccountDataType (line 1) | type AccountDataType = {

FILE: src/types/AccountInfoType.ts
  type AccountInfoType (line 1) | type AccountInfoType = {
  type CashFund (line 10) | type CashFund = {
  type AccountInfoCashFunds (line 16) | type AccountInfoCashFunds = {
  type AccountInfoCurrencyPairs (line 20) | type AccountInfoCurrencyPairs = {

FILE: src/types/AccountReportsType.ts
  type ReportType (line 1) | type ReportType = {
  type AccountReportsType (line 9) | type AccountReportsType = ReportType[]

FILE: src/types/CashFoundType.ts
  type CashFoundType (line 1) | type CashFoundType = {

FILE: src/types/ConfigDictionaryType.ts
  type StockCountry (line 3) | type StockCountry = {
  type BondExchange (line 10) | type BondExchange = {
  type BondIssuerType (line 17) | type BondIssuerType = {
  type EurexCountry (line 23) | type EurexCountry = {
  type FutureExchange (line 30) | type FutureExchange = {
  type OptionExchange (line 36) | type OptionExchange = {
  type CombinationExchange (line 44) | type CombinationExchange = {
  type CFDExchange (line 49) | type CFDExchange = {
  type Exchange (line 55) | type Exchange = {
  type Index (line 65) | type Index = {
  type Region (line 71) | type Region = {
  type Country (line 77) | type Country = {
  type ProductTypes (line 86) | type ProductTypes = {
  type FeeType (line 96) | type FeeType = {
  type AggregateListItem (line 104) | type AggregateListItem = {
  type SortListItem (line 111) | type SortListItem = {
  type ConfigDictionaryType (line 115) | type ConfigDictionaryType = {

FILE: src/types/CreateOrderResultType.ts
  type CreateOrderResultType (line 3) | type CreateOrderResultType = {

FILE: src/types/DeGiroSettupType.ts
  type DeGiroSettupType (line 1) | type DeGiroSettupType = {

FILE: src/types/FavouriteProductType.ts
  type FavouriteProductType (line 1) | type FavouriteProductType = {

FILE: src/types/GetAccountStateOptionsType.ts
  type GetAccountStateOptionsType (line 1) | type GetAccountStateOptionsType = {

FILE: src/types/GetHistoricalOrdersOptionsType.ts
  type GetHistoricalOrdersOptionsType (line 1) | type GetHistoricalOrdersOptionsType = {

FILE: src/types/GetNewsOptionsType.ts
  type GetNewsOptionsType (line 1) | type GetNewsOptionsType = {

FILE: src/types/GetOrdersConfigType.ts
  type GetOrdersConfigType (line 1) | type GetOrdersConfigType = {

FILE: src/types/GetOrdersResultType.ts
  type GetOrdersResultType (line 1) | type GetOrdersResultType = {

FILE: src/types/GetPopularStocksConfigType.ts
  type GetPopularStocksConfigType (line 1) | type GetPopularStocksConfigType = {

FILE: src/types/GetPorfolioConfigType.ts
  type GetPorfolioConfigType (line 3) | type GetPorfolioConfigType = {

FILE: src/types/GetTransactionsOptionsType.ts
  type GetTransactionsOptionsType (line 1) | type GetTransactionsOptionsType = {

FILE: src/types/HistoricalOrdersType.ts
  type HistoricalOrdersType (line 1) | type HistoricalOrdersType = {

FILE: src/types/IsLoginOptionsType.ts
  type IsLoginOptionsType (line 1) | type IsLoginOptionsType = {

FILE: src/types/LoginRequestBodyType.ts
  type LoginRequestBodyType (line 1) | type LoginRequestBodyType = {

FILE: src/types/LoginRequestParamsType.ts
  type LoginRequestParamsType (line 1) | type LoginRequestParamsType = {

FILE: src/types/LoginResponseType.ts
  type LoginResponseType (line 1) | type LoginResponseType = {

FILE: src/types/NewsType.ts
  type New (line 1) | type New = {
  type NewsResponse (line 15) | type NewsResponse = {
  type NewsType (line 21) | type NewsType = {

FILE: src/types/OrderType.ts
  type OrderType (line 3) | type OrderType = {

FILE: src/types/PortfolioPositionType.ts
  type PortfolioPositionType (line 20) | type PortfolioPositionType = {

FILE: src/types/SearchProductOptionsType.ts
  type SearchProductOptionsType (line 3) | type SearchProductOptionsType = {

FILE: src/types/SearchProductResultType.ts
  type SearchProductResultType (line 1) | type SearchProductResultType = {

FILE: src/types/StockType.ts
  type StockType (line 1) | type StockType = {

FILE: src/types/TransactionFeeType.ts
  type TransactionFeeType (line 1) | type TransactionFeeType = {

FILE: src/types/TransactionType.ts
  type TransactionType (line 1) | type TransactionType = {

FILE: src/types/WebSettingsType.ts
  type MarketPageIndex (line 1) | type MarketPageIndex = {
  type MarketPageFuture (line 9) | type MarketPageFuture = {
  type MarketPageCurrency (line 16) | type MarketPageCurrency = {
  type MarketPageChartIndex (line 24) | type MarketPageChartIndex = {
  type WebSettingsType (line 32) | type WebSettingsType = {

FILE: src/types/WebUserSettingType.ts
  type WebUserSettingType (line 1) | type WebUserSettingType = {

FILE: src/types/i18nMessagesType.ts
  type i18nMessagesType (line 1) | type i18nMessagesType = {

FILE: src/utils/debug.ts
  constant DEBUG (line 1) | const DEBUG = !!process.env.DEGIRO_DEBUG

FILE: src/utils/processGetCashFundsResultListObject.ts
  type ObjectDataType (line 3) | type ObjectDataType = {
  type DataToParseObjectType (line 7) | type DataToParseObjectType = {

FILE: src/utils/processGetOrdersResultListObject.ts
  type ObjectDataType (line 2) | type ObjectDataType = {
  type DataToParseObjectType (line 6) | type DataToParseObjectType = {

FILE: src/utils/processPortfolio.ts
  function processPortfolio (line 41) | function processPortfolio(positions: any[], config: GetPorfolioConfigTyp...

FILE: tests/test_constants.ts
  type TESLA_STOCK (line 2) | enum TESLA_STOCK {
  type APPLE_STOCK (line 11) | enum APPLE_STOCK {
Condensed preview — 322 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,673K chars).
[
  {
    "path": ".github/workflows/node.js.yml",
    "chars": 865,
    "preview": "# This workflow will do a clean install of node dependencies, build the source code and run tests across different versi"
  },
  {
    "path": ".gitignore",
    "chars": 1643,
    "preview": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Diagnostic reports (https://nodejs."
  },
  {
    "path": ".nycrc",
    "chars": 357,
    "preview": "{\n  \"cache\": false,\n  \"check-coverage\": false,\n  \"extension\": [\n    \".ts\"\n  ],\n  \"include\": [\n    \"src/**/*.js\",\n    \"sr"
  },
  {
    "path": "LICENSE",
    "chars": 1084,
    "preview": "MIT License\n\nCopyright (c) 2020 Ignacio F. Castillejo Gómez\n\nPermission is hereby granted, free of charge, to any person"
  },
  {
    "path": "README.md",
    "chars": 19083,
    "preview": "# DeGiro Trading Broker API\n\nThis is an unofficial TypeScript API client (Backend only) for DeGiro's trading platform. U"
  },
  {
    "path": "dist/DeGiro.d.ts",
    "chars": 2800,
    "preview": "import { DeGiroClassInterface } from './interfaces';\nimport { DeGiroSettupType, AccountConfigType, AccountDataType, Cash"
  },
  {
    "path": "dist/DeGiro.js",
    "chars": 12443,
    "preview": "\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if ("
  },
  {
    "path": "dist/api/createOrderRequest.d.ts",
    "chars": 303,
    "preview": "import { OrderType, AccountDataType, AccountConfigType, CreateOrderResultType } from '../types';\nexport declare function"
  },
  {
    "path": "dist/api/createOrderRequest.js",
    "chars": 1355,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createOrderRequest = void 0;\n// Imp"
  },
  {
    "path": "dist/api/deleteOrderRequest.d.ts",
    "chars": 251,
    "preview": "import { AccountDataType, AccountConfigType } from '../types';\nexport declare function deleteOrderRequest(orderId: Strin"
  },
  {
    "path": "dist/api/deleteOrderRequest.js",
    "chars": 1304,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.deleteOrderRequest = void 0;\n// Imp"
  },
  {
    "path": "dist/api/executeOrderRequest.d.ts",
    "chars": 286,
    "preview": "import { OrderType, AccountDataType, AccountConfigType } from '../types';\nexport declare function executeOrderRequest(or"
  },
  {
    "path": "dist/api/executeOrderRequest.js",
    "chars": 1321,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.executeOrderRequest = void 0;\n// Im"
  },
  {
    "path": "dist/api/getAccountConfig.d.ts",
    "chars": 188,
    "preview": "import { AccountConfigType } from '../types';\nexport declare function getAccountConfigRequest(sessionId: string): Promis"
  },
  {
    "path": "dist/api/getAccountConfig.js",
    "chars": 1384,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAccountConfigRequest = void 0;\n/"
  },
  {
    "path": "dist/api/getAccountData.d.ts",
    "chars": 214,
    "preview": "import { AccountDataType, AccountConfigType } from '../types';\nexport declare function getAccountDataRequest(accountConf"
  },
  {
    "path": "dist/api/getAccountData.js",
    "chars": 1154,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAccountDataRequest = void 0;\n// "
  },
  {
    "path": "dist/api/getAccountInfoRequest.d.ts",
    "chars": 268,
    "preview": "import { AccountConfigType, AccountDataType, AccountInfoType } from '../types';\nexport declare function getAccountInfoRe"
  },
  {
    "path": "dist/api/getAccountInfoRequest.js",
    "chars": 1352,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAccountInfoRequest = void 0;\n// "
  },
  {
    "path": "dist/api/getAccountReportsRequest.d.ts",
    "chars": 280,
    "preview": "import { AccountConfigType, AccountDataType, AccountReportsType } from '../types';\nexport declare function getAccountRep"
  },
  {
    "path": "dist/api/getAccountReportsRequest.js",
    "chars": 2154,
    "preview": "\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n    "
  },
  {
    "path": "dist/api/getAccountStateRequest.d.ts",
    "chars": 307,
    "preview": "import { AccountConfigType, AccountDataType, GetAccountStateOptionsType } from '../types';\nexport declare function getAc"
  },
  {
    "path": "dist/api/getAccountStateRequest.js",
    "chars": 1819,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getAccountStateRequest = void 0;\n//"
  },
  {
    "path": "dist/api/getCashFundstRequest.d.ts",
    "chars": 264,
    "preview": "import { AccountConfigType, AccountDataType, CashFoundType } from '../types';\nexport declare function getCashFundstReque"
  },
  {
    "path": "dist/api/getCashFundstRequest.js",
    "chars": 1725,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCashFundstRequest = void 0;\n// I"
  },
  {
    "path": "dist/api/getConfigDictionaryRequest.d.ts",
    "chars": 288,
    "preview": "import { AccountConfigType, AccountDataType, ConfigDictionaryType } from '../types';\nexport declare function getConfigDi"
  },
  {
    "path": "dist/api/getConfigDictionaryRequest.js",
    "chars": 1197,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getConfigDictionaryRequest = void 0"
  },
  {
    "path": "dist/api/getNewsRequest.d.ts",
    "chars": 289,
    "preview": "import { AccountConfigType, AccountDataType, GetNewsOptionsType, NewsType } from '../types';\nexport declare function get"
  },
  {
    "path": "dist/api/getNewsRequest.js",
    "chars": 6083,
    "preview": "\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function ad"
  },
  {
    "path": "dist/api/getOrdersRequest.d.ts",
    "chars": 316,
    "preview": "import { AccountConfigType, AccountDataType, GetOrdersConfigType, GetOrdersResultType } from '../types';\nexport declare "
  },
  {
    "path": "dist/api/getOrdersRequest.js",
    "chars": 1740,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOrdersRequest = void 0;\n// Impor"
  },
  {
    "path": "dist/api/getPopularStocksRequest.d.ts",
    "chars": 326,
    "preview": "import { AccountConfigType, AccountDataType, StockType, GetPopularStocksConfigType } from '../types';\nexport declare fun"
  },
  {
    "path": "dist/api/getPopularStocksRequest.js",
    "chars": 1983,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getPopularStocksRequest = void 0;\n/"
  },
  {
    "path": "dist/api/getPortfolioRequest.d.ts",
    "chars": 291,
    "preview": "import { AccountConfigType, AccountDataType, GetPorfolioConfigType } from '../types';\nexport declare function getPortfol"
  },
  {
    "path": "dist/api/getPortfolioRequest.js",
    "chars": 1215,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getPortfolioRequest = void 0;\n// Im"
  },
  {
    "path": "dist/api/getProductsByIdsRequest.d.ts",
    "chars": 260,
    "preview": "import { AccountConfigType, AccountDataType } from '../types';\nexport declare function getProductsByIdsRequest(ids: stri"
  },
  {
    "path": "dist/api/getProductsByIdsRequest.js",
    "chars": 1067,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getProductsByIdsRequest = void 0;\n/"
  },
  {
    "path": "dist/api/getTransactionsRequest.d.ts",
    "chars": 336,
    "preview": "import { AccountConfigType, AccountDataType, GetTransactionsOptionsType, TransactionType } from \"../types\";\nexport decla"
  },
  {
    "path": "dist/api/getTransactionsRequest.js",
    "chars": 1547,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getTransactionsRequest = void 0;\nva"
  },
  {
    "path": "dist/api/getWebSettingsRequest.d.ts",
    "chars": 268,
    "preview": "import { AccountConfigType, AccountDataType, WebSettingsType } from '../types';\nexport declare function getWebSettingsRe"
  },
  {
    "path": "dist/api/getWebSettingsRequest.js",
    "chars": 1363,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getWebSettingsRequest = void 0;\n// "
  },
  {
    "path": "dist/api/getWebUserSettingsRequest.d.ts",
    "chars": 282,
    "preview": "import { AccountConfigType, AccountDataType, WebUserSettingType } from '../types';\nexport declare function getWebUserSet"
  },
  {
    "path": "dist/api/getWebUserSettingsRequest.js",
    "chars": 1398,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getWebUserSettingsRequest = void 0;"
  },
  {
    "path": "dist/api/getWebi18nMessagesRequest.d.ts",
    "chars": 292,
    "preview": "import { AccountConfigType, AccountDataType, i18nMessagesType } from '../types';\nexport declare function getWebi18nMessa"
  },
  {
    "path": "dist/api/getWebi18nMessagesRequest.js",
    "chars": 1153,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getWebi18nMessagesRequest = void 0;"
  },
  {
    "path": "dist/api/index.d.ts",
    "chars": 1904,
    "preview": "import { loginRequest } from './login';\nimport { logoutRequest } from './logout';\nimport { getAccountConfigRequest } fro"
  },
  {
    "path": "dist/api/index.js",
    "chars": 5498,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getTransactionsRequest = exports.ge"
  },
  {
    "path": "dist/api/login.d.ts",
    "chars": 203,
    "preview": "import { LoginRequestParamsType, LoginResponseType } from '../types';\nexport declare function loginRequest(params: Login"
  },
  {
    "path": "dist/api/login.js",
    "chars": 1996,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.loginRequest = void 0;\n// Import en"
  },
  {
    "path": "dist/api/logout.d.ts",
    "chars": 217,
    "preview": "import { AccountDataType, AccountConfigType } from '../types';\nexport declare function logoutRequest(accountData: Accoun"
  },
  {
    "path": "dist/api/logout.js",
    "chars": 1045,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.logoutRequest = void 0;\n// Import e"
  },
  {
    "path": "dist/api/searchProductRequest.d.ts",
    "chars": 345,
    "preview": "import { SearchProductOptionsType, AccountConfigType, AccountDataType, SearchProductResultType } from '../types';\nexport"
  },
  {
    "path": "dist/api/searchProductRequest.js",
    "chars": 2008,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.searchProductRequest = void 0;\n// I"
  },
  {
    "path": "dist/enums/DeGiroEnums.d.ts",
    "chars": 1684,
    "preview": "export declare enum DEGIRO_API_PATHS {\n    BASE_API_URL = \"https://trader.degiro.nl/\",\n    BASE_REPORT_DOWNLOAD_URI = \"d"
  },
  {
    "path": "dist/enums/DeGiroEnums.js",
    "chars": 4276,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GET_ORDERS_TYPES = exports.PORTFOLI"
  },
  {
    "path": "dist/enums/index.d.ts",
    "chars": 351,
    "preview": "import { DEGIRO_API_PATHS, DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes, DeGiroProducTypes, DeGiroSort, PORTFO"
  },
  {
    "path": "dist/enums/index.js",
    "chars": 1328,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PORTFOLIO_POSITIONS_TYPE_ENUM = exp"
  },
  {
    "path": "dist/interfaces/DeGiroClassInterface.d.ts",
    "chars": 2185,
    "preview": "import { CashFoundType, AccountConfigType, GetPorfolioConfigType, AccountDataType, SearchProductOptionsType, SearchProdu"
  },
  {
    "path": "dist/interfaces/DeGiroClassInterface.js",
    "chars": 125,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=DeGiroClassInterface.j"
  },
  {
    "path": "dist/interfaces/index.d.ts",
    "chars": 132,
    "preview": "import { DeGiroClassInterface } from './DeGiroClassInterface';\nexport { DeGiroClassInterface, };\n//# sourceMappingURL=in"
  },
  {
    "path": "dist/interfaces/index.js",
    "chars": 110,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=index.js.map"
  },
  {
    "path": "dist/main.d.ts",
    "chars": 212,
    "preview": "import { DeGiro } from './DeGiro';\nimport * as DeGiroEnums from './enums/';\nimport * as DeGiroTypes from './types/';\nexp"
  },
  {
    "path": "dist/main.js",
    "chars": 1321,
    "preview": "\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if ("
  },
  {
    "path": "dist/types/AccountConfigType.d.ts",
    "chars": 767,
    "preview": "export declare type AccountConfigType = {\n    data: {\n        betaLandingPath: string;\n        cashSolutionsUrl?: string"
  },
  {
    "path": "dist/types/AccountConfigType.js",
    "chars": 122,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=AccountConfigType.js.m"
  },
  {
    "path": "dist/types/AccountDataType.d.ts",
    "chars": 1305,
    "preview": "export declare type AccountDataType = {\n    data: {\n        address: {\n            city: string;\n            country: st"
  },
  {
    "path": "dist/types/AccountDataType.js",
    "chars": 120,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=AccountDataType.js.map"
  },
  {
    "path": "dist/types/AccountInfoType.d.ts",
    "chars": 563,
    "preview": "export declare type AccountInfoType = {\n    baseCurrency: string;\n    cashFunds: AccountInfoCashFunds;\n    clientId: num"
  },
  {
    "path": "dist/types/AccountInfoType.js",
    "chars": 120,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=AccountInfoType.js.map"
  },
  {
    "path": "dist/types/AccountReportsType.d.ts",
    "chars": 243,
    "preview": "export declare type ReportType = {\n    id: number;\n    type: string;\n    description: string;\n    stampCreated: string;\n"
  },
  {
    "path": "dist/types/AccountReportsType.js",
    "chars": 123,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=AccountReportsType.js."
  },
  {
    "path": "dist/types/CashFoundType.d.ts",
    "chars": 167,
    "preview": "export declare type CashFoundType = {\n    id: string;\n    currencyCode: string;\n    value: number;\n    handling: string;"
  },
  {
    "path": "dist/types/CashFoundType.js",
    "chars": 118,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=CashFoundType.js.map"
  },
  {
    "path": "dist/types/ConfigDictionaryType.d.ts",
    "chars": 3019,
    "preview": "export declare type StockCountry = {\n    id: number;\n    country: number;\n    indices?: number[];\n    exchanges?: number"
  },
  {
    "path": "dist/types/ConfigDictionaryType.js",
    "chars": 142,
    "preview": "\"use strict\";\n/* Main items */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=Confi"
  },
  {
    "path": "dist/types/CreateOrderResultType.d.ts",
    "chars": 237,
    "preview": "import { TransactionFeeType } from '.';\nexport declare type CreateOrderResultType = {\n    confirmationId: String;\n    fr"
  },
  {
    "path": "dist/types/CreateOrderResultType.js",
    "chars": 126,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=CreateOrderResultType."
  },
  {
    "path": "dist/types/DeGiroSettupType.d.ts",
    "chars": 186,
    "preview": "export declare type DeGiroSettupType = {\n    username?: string;\n    pwd?: string;\n    oneTimePassword?: string;\n    jses"
  },
  {
    "path": "dist/types/DeGiroSettupType.js",
    "chars": 121,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=DeGiroSettupType.js.ma"
  },
  {
    "path": "dist/types/FavouriteProductType.d.ts",
    "chars": 97,
    "preview": "export declare type FavouriteProductType = {};\n//# sourceMappingURL=FavouriteProductType.d.ts.map"
  },
  {
    "path": "dist/types/FavouriteProductType.js",
    "chars": 125,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=FavouriteProductType.j"
  },
  {
    "path": "dist/types/GetAccountStateOptionsType.d.ts",
    "chars": 144,
    "preview": "export declare type GetAccountStateOptionsType = {\n    from: string;\n    to: string;\n};\n//# sourceMappingURL=GetAccountS"
  },
  {
    "path": "dist/types/GetAccountStateOptionsType.js",
    "chars": 131,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetAccountStateOptions"
  },
  {
    "path": "dist/types/GetHistoricalOrdersOptionsType.d.ts",
    "chars": 117,
    "preview": "export declare type GetHistoricalOrdersOptionsType = {};\n//# sourceMappingURL=GetHistoricalOrdersOptionsType.d.ts.map"
  },
  {
    "path": "dist/types/GetHistoricalOrdersOptionsType.js",
    "chars": 135,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetHistoricalOrdersOpt"
  },
  {
    "path": "dist/types/GetNewsOptionsType.d.ts",
    "chars": 212,
    "preview": "export declare type GetNewsOptionsType = {\n    latest?: boolean;\n    top?: boolean;\n    latestOffset?: number;\n    lates"
  },
  {
    "path": "dist/types/GetNewsOptionsType.js",
    "chars": 123,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetNewsOptionsType.js."
  },
  {
    "path": "dist/types/GetOrdersConfigType.d.ts",
    "chars": 150,
    "preview": "export declare type GetOrdersConfigType = {\n    active?: boolean;\n    lastTransactions?: boolean;\n};\n//# sourceMappingUR"
  },
  {
    "path": "dist/types/GetOrdersConfigType.js",
    "chars": 124,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetOrdersConfigType.js"
  },
  {
    "path": "dist/types/GetOrdersResultType.d.ts",
    "chars": 138,
    "preview": "export declare type GetOrdersResultType = {\n    orders: [];\n    lastTransactions: [];\n};\n//# sourceMappingURL=GetOrdersR"
  },
  {
    "path": "dist/types/GetOrdersResultType.js",
    "chars": 124,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetOrdersResultType.js"
  },
  {
    "path": "dist/types/GetPopularStocksConfigType.d.ts",
    "chars": 206,
    "preview": "export declare type GetPopularStocksConfigType = {\n    popularOnly?: boolean;\n    requireTotal?: boolean;\n    offset?: n"
  },
  {
    "path": "dist/types/GetPopularStocksConfigType.js",
    "chars": 131,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetPopularStocksConfig"
  },
  {
    "path": "dist/types/GetPorfolioConfigType.d.ts",
    "chars": 244,
    "preview": "import { PORTFOLIO_POSITIONS_TYPE_ENUM } from '../enums/DeGiroEnums';\nexport declare type GetPorfolioConfigType = {\n    "
  },
  {
    "path": "dist/types/GetPorfolioConfigType.js",
    "chars": 126,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetPorfolioConfigType."
  },
  {
    "path": "dist/types/GetTransactionsOptionsType.d.ts",
    "chars": 191,
    "preview": "export declare type GetTransactionsOptionsType = {\n    fromDate: string;\n    toDate: string;\n    groupTransactionsByOrde"
  },
  {
    "path": "dist/types/GetTransactionsOptionsType.js",
    "chars": 131,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=GetTransactionsOptions"
  },
  {
    "path": "dist/types/HistoricalOrdersType.d.ts",
    "chars": 97,
    "preview": "export declare type HistoricalOrdersType = {};\n//# sourceMappingURL=HistoricalOrdersType.d.ts.map"
  },
  {
    "path": "dist/types/HistoricalOrdersType.js",
    "chars": 125,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=HistoricalOrdersType.j"
  },
  {
    "path": "dist/types/IsLoginOptionsType.d.ts",
    "chars": 116,
    "preview": "export declare type IsLoginOptionsType = {\n    secure?: boolean;\n};\n//# sourceMappingURL=IsLoginOptionsType.d.ts.map"
  },
  {
    "path": "dist/types/IsLoginOptionsType.js",
    "chars": 123,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=IsLoginOptionsType.js."
  },
  {
    "path": "dist/types/LoginRequestBodyType.d.ts",
    "chars": 296,
    "preview": "export declare type LoginRequestBodyType = {\n    isPassCodeReset: boolean;\n    isRedirectToMobile: boolean;\n    password"
  },
  {
    "path": "dist/types/LoginRequestBodyType.js",
    "chars": 125,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=LoginRequestBodyType.j"
  },
  {
    "path": "dist/types/LoginRequestParamsType.d.ts",
    "chars": 182,
    "preview": "export declare type LoginRequestParamsType = {\n    username: string;\n    pwd: string;\n    oneTimePassword: string | unde"
  },
  {
    "path": "dist/types/LoginRequestParamsType.js",
    "chars": 127,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=LoginRequestParamsType"
  },
  {
    "path": "dist/types/LoginResponseType.d.ts",
    "chars": 240,
    "preview": "export declare type LoginResponseType = {\n    isPassCodeEnabled?: boolean;\n    locale?: string;\n    redirectUrl?: string"
  },
  {
    "path": "dist/types/LoginResponseType.js",
    "chars": 122,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=LoginResponseType.js.m"
  },
  {
    "path": "dist/types/NewsType.d.ts",
    "chars": 485,
    "preview": "export declare type New = {\n    brief: string;\n    category: string;\n    content: string;\n    date: string;\n    htmlCont"
  },
  {
    "path": "dist/types/NewsType.js",
    "chars": 113,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=NewsType.js.map"
  },
  {
    "path": "dist/types/OrderType.d.ts",
    "chars": 354,
    "preview": "import { DeGiroActions, DeGiroMarketOrderTypes, DeGiroTimeTypes } from '../enums/DeGiroEnums';\nexport declare type Order"
  },
  {
    "path": "dist/types/OrderType.js",
    "chars": 114,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=OrderType.js.map"
  },
  {
    "path": "dist/types/PortfolioPositionType.d.ts",
    "chars": 118,
    "preview": "export declare type PortfolioPositionType = {\n    foo?: string;\n};\n//# sourceMappingURL=PortfolioPositionType.d.ts.map"
  },
  {
    "path": "dist/types/PortfolioPositionType.js",
    "chars": 503,
    "preview": "\"use strict\";\n// {\n//   \"portfolio\": [\n//     {\n//       \"name\": \"positionrow\",\n//       \"id\": 1156604,\n//       \"value\""
  },
  {
    "path": "dist/types/SearchProductOptionsType.d.ts",
    "chars": 310,
    "preview": "import { DeGiroProducTypes } from '../enums/DeGiroEnums';\nexport declare type SearchProductOptionsType = {\n    text: str"
  },
  {
    "path": "dist/types/SearchProductOptionsType.js",
    "chars": 129,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=SearchProductOptionsTy"
  },
  {
    "path": "dist/types/SearchProductResultType.d.ts",
    "chars": 1245,
    "preview": "export declare type SearchProductResultType = {\n    id: string;\n    name: string;\n    isin: string;\n    symbol: string;\n"
  },
  {
    "path": "dist/types/SearchProductResultType.js",
    "chars": 128,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=SearchProductResultTyp"
  },
  {
    "path": "dist/types/StockType.d.ts",
    "chars": 1270,
    "preview": "export declare type StockType = {\n    id: string;\n    name: string;\n    isin: string;\n    symbol: string;\n    contractSi"
  },
  {
    "path": "dist/types/StockType.js",
    "chars": 114,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=StockType.js.map"
  },
  {
    "path": "dist/types/TransactionFeeType.d.ts",
    "chars": 152,
    "preview": "export declare type TransactionFeeType = {\n    amount: Number;\n    currency: String;\n    id: Number;\n};\n//# sourceMappin"
  },
  {
    "path": "dist/types/TransactionFeeType.js",
    "chars": 123,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=TransactionFeeType.js."
  },
  {
    "path": "dist/types/TransactionType.d.ts",
    "chars": 432,
    "preview": "export declare type TransactionType = {\n    buysell: string;\n    counterParty: string;\n    date: string;\n    id: number;"
  },
  {
    "path": "dist/types/TransactionType.js",
    "chars": 120,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=TransactionType.js.map"
  },
  {
    "path": "dist/types/WebSettingsType.d.ts",
    "chars": 1853,
    "preview": "declare type MarketPageIndex = {\n    closePrice: number;\n    country: string;\n    name: string;\n    vwdId: string;\n    i"
  },
  {
    "path": "dist/types/WebSettingsType.js",
    "chars": 120,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=WebSettingsType.js.map"
  },
  {
    "path": "dist/types/WebUserSettingType.d.ts",
    "chars": 384,
    "preview": "export declare type WebUserSettingType = {\n    desktop: {\n        hasClosedFeedbackPromotion: boolean;\n        hasSeenPr"
  },
  {
    "path": "dist/types/WebUserSettingType.js",
    "chars": 123,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=WebUserSettingType.js."
  },
  {
    "path": "dist/types/i18nMessagesType.d.ts",
    "chars": 117,
    "preview": "export declare type i18nMessagesType = {\n    [key: string]: string;\n};\n//# sourceMappingURL=i18nMessagesType.d.ts.map"
  },
  {
    "path": "dist/types/i18nMessagesType.js",
    "chars": 121,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=i18nMessagesType.js.ma"
  },
  {
    "path": "dist/types/index.d.ts",
    "chars": 3061,
    "preview": "import { CashFoundType } from './CashFoundType';\nimport { DeGiroSettupType } from './DeGiroSettupType';\nimport { Portfol"
  },
  {
    "path": "dist/types/index.js",
    "chars": 110,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=index.js.map"
  },
  {
    "path": "dist/utils/debug.d.ts",
    "chars": 84,
    "preview": "export declare const debug: (...s: any) => void;\n//# sourceMappingURL=debug.d.ts.map"
  },
  {
    "path": "dist/utils/debug.js",
    "chars": 380,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.debug = void 0;\nvar DEBUG = !!proce"
  },
  {
    "path": "dist/utils/generateReportURIFromID.d.ts",
    "chars": 387,
    "preview": "import { AccountDataType, AccountConfigType } from '../types';\n/**\n * Generate a download URL to the report with the `id"
  },
  {
    "path": "dist/utils/generateReportURIFromID.js",
    "chars": 703,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.generateReportURIFromID = void 0;\n/"
  },
  {
    "path": "dist/utils/index.d.ts",
    "chars": 411,
    "preview": "import { debug } from './debug';\nimport { processPortfolio } from './processPortfolio';\nimport { processGetCashFundsResu"
  },
  {
    "path": "dist/utils/index.js",
    "chars": 1154,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.processGetOrdersResultListObject = "
  },
  {
    "path": "dist/utils/processGetCashFundsResultListObject.d.ts",
    "chars": 273,
    "preview": "import { CashFoundType } from '../types';\ndeclare type ObjectDataType = {\n    value: [];\n};\nexport declare const process"
  },
  {
    "path": "dist/utils/processGetCashFundsResultListObject.js",
    "chars": 620,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.processGetCashFundsResultListObject"
  },
  {
    "path": "dist/utils/processGetOrdersResultListObject.d.ts",
    "chars": 214,
    "preview": "declare type ObjectDataType = {\n    value: [];\n};\nexport declare const processGetOrdersResultListObject: (objectData: Ob"
  },
  {
    "path": "dist/utils/processGetOrdersResultListObject.js",
    "chars": 611,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.processGetOrdersResultListObject = "
  },
  {
    "path": "dist/utils/processPortfolio.d.ts",
    "chars": 194,
    "preview": "import { GetPorfolioConfigType } from '../types';\nexport declare function processPortfolio(positions: any[], config: Get"
  },
  {
    "path": "dist/utils/processPortfolio.js",
    "chars": 1793,
    "preview": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.processPortfolio = void 0;\nvar DeGi"
  },
  {
    "path": "docs/assets/css/main.css",
    "chars": 71348,
    "preview": "/*! normalize.css v1.1.3 | MIT License | git.io/normalize */\n/* ========================================================"
  },
  {
    "path": "docs/assets/js/main.js",
    "chars": 49432,
    "preview": "!function(){var e=function(t){var r=new e.Builder;return r.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),r.searchPi"
  },
  {
    "path": "docs/assets/js/search.json",
    "chars": 244860,
    "preview": "{\"kinds\":{\"1\":\"Module\",\"4\":\"Enumeration\",\"16\":\"Enumeration member\",\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"256\":\""
  },
  {
    "path": "docs/classes/_degiro_.degiro.html",
    "chars": 74654,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degiro_api_paths.html",
    "chars": 21058,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degiroactions.html",
    "chars": 7998,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degiromarketordertypes.html",
    "chars": 10001,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degiroproductypes.html",
    "chars": 14356,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degirosort.html",
    "chars": 7974,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.degirotimetypes.html",
    "chars": 8020,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.get_orders_types.html",
    "chars": 9040,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/enums/_enums_degiroenums_.portfolio_positions_type_enum.html",
    "chars": 10037,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/globals.html",
    "chars": 24441,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/index.html",
    "chars": 44764,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/interfaces/_interfaces_degiroclassinterface_.degiroclassinterface.html",
    "chars": 56326,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_createorderrequest_.html",
    "chars": 8781,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_deleteorderrequest_.html",
    "chars": 7189,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_executeorderrequest_.html",
    "chars": 7484,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getaccountconfig_.html",
    "chars": 9195,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getaccountdata_.html",
    "chars": 6786,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getaccountinforequest_.html",
    "chars": 8621,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getaccountreportsrequest_.html",
    "chars": 8729,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getaccountstaterequest_.html",
    "chars": 8997,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getcashfundstrequest_.html",
    "chars": 8676,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getconfigdictionaryrequest_.html",
    "chars": 7294,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getnewsrequest_.html",
    "chars": 9849,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getordersrequest_.html",
    "chars": 7425,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getportfoliorequest_.html",
    "chars": 7436,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getproductsbyidsrequest_.html",
    "chars": 7465,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getwebi18nmessagesrequest_.html",
    "chars": 7447,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getwebsettingsrequest_.html",
    "chars": 8621,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_getwebusersettingsrequest_.html",
    "chars": 8813,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_index_.html",
    "chars": 4103,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_login_.html",
    "chars": 8915,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_logout_.html",
    "chars": 9125,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_api_searchproductrequest_.html",
    "chars": 9518,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_degiro_.html",
    "chars": 4717,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_enums_degiroenums_.html",
    "chars": 7490,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_enums_index_.html",
    "chars": 4115,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_interfaces_degiroclassinterface_.html",
    "chars": 5020,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_interfaces_index_.html",
    "chars": 4145,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_main_.html",
    "chars": 4073,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_accountconfigtype_.html",
    "chars": 16092,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_accountdatatype_.html",
    "chars": 26854,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_accountinfotype_.html",
    "chars": 13650,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_accountreportstype_.html",
    "chars": 8272,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_cashfoundtype_.html",
    "chars": 6884,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_configdictionarytype_.html",
    "chars": 57925,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_createorderresulttype_.html",
    "chars": 7099,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_degirosettuptype_.html",
    "chars": 7389,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_favouriteproducttype_.html",
    "chars": 5788,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_getaccountstateoptionstype_.html",
    "chars": 6530,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_gethistoricalordersoptionstype_.html",
    "chars": 6008,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_getnewsoptionstype_.html",
    "chars": 8893,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_getordersconfigtype_.html",
    "chars": 7265,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_getordersresulttype_.html",
    "chars": 6583,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  },
  {
    "path": "docs/modules/_types_getporfolioconfigtype_.html",
    "chars": 7057,
    "preview": "<!doctype html>\n<html class=\"default no-js\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content="
  }
]

// ... and 122 more files (download for full content)

About this extraction

This page contains the full source code of the icastillejogomez/degiro-api GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 322 files (1.4 MB), approximately 444.6k tokens, and a symbol index with 244 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!