/tinkoff-invest-api-v2-types

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Tinkoff-invest-api: types. Non-official❗️

It is generated types from tinkoff api v2 proto contracts

Why? 🤷🏻

I decide to use proxy for my project but there aren't types for typescript 😢
I made script for automatic generation types from proto contracts using ts-proto 🤖

Usage 👨‍💻

Just install npm package npm i tinkoff-invest-api-v2-types

How to update the version?

You need to clone this repository, set the version of tinkoff api which you want in .env. Like this: API_VERSION=1.0.8.

After you must run the command npm run build, commit changes and make a pull request.