Major part of this sdk is generated from OpenAPI Spec obtained from the api docs.
openapi-typescript-codegen is added as a submodule.
Run git submodule update --init to clone all submodules.
Setup openapi-typescript-codegen by running:
cd openapi-typescript-codegen
npm run buildand run npm i to set-up the project
Whenever there are new changes to APIs, the openapi
spec available at openapi.yaml should be replaced
and the generate_spec npm script should be run:
npm run generate_specNecessary examples can be added as new scripts to examples directory.