This documentation focues on cracked Onetap V3.
There were newer V3 versions with more functions, but because they're no longer available, these have been ignored.
Onetap uses the Duktape v2.3 javascript engine.
Compatibility Table
Visual Studio Snippets for Onetap V3:
https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets
Put the content of the snippet file above into the snippet file you create.