Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

It should be in there. A function called AddUnit (or something like that)

There are 108 occurences of 'unit' in the mod_api.d.ts and none of them relate to anything like adding, placing, or spawning a unit. one of them is:

declare function CreateUnit(unitData: UnitData, position: Hex, tribe: Tribe)

Yep, that's the one