@tsukilabs/nil-bindings 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +3 -0
  3. package/dist/index.js +7 -0
  4. package/dist/src/Academy.d.ts +7 -0
  5. package/dist/src/AcademyRecruitCatalog.d.ts +7 -0
  6. package/dist/src/AcademyRecruitCatalogEntry.d.ts +9 -0
  7. package/dist/src/AcademyRecruitCatalogRecipe.d.ts +10 -0
  8. package/dist/src/AcademyRecruitOrder.d.ts +12 -0
  9. package/dist/src/AcademyRecruitOrderId.d.ts +1 -0
  10. package/dist/src/AcademyRecruitOrderRequest.d.ts +7 -0
  11. package/dist/src/AcademyRecruitOrderState.d.ts +7 -0
  12. package/dist/src/AcademyRecruitQueue.d.ts +4 -0
  13. package/dist/src/AcademyUnitId.d.ts +1 -0
  14. package/dist/src/AddAcademyRecruitOrderRequest.d.ts +6 -0
  15. package/dist/src/AddPrefectureBuildOrderRequest.d.ts +6 -0
  16. package/dist/src/AddStableRecruitOrderRequest.d.ts +6 -0
  17. package/dist/src/AddWorkshopRecruitOrderRequest.d.ts +6 -0
  18. package/dist/src/Army.d.ts +10 -0
  19. package/dist/src/ArmyId.d.ts +1 -0
  20. package/dist/src/ArmyPersonnel.d.ts +10 -0
  21. package/dist/src/ArmyState.d.ts +7 -0
  22. package/dist/src/AuthorizeRequest.d.ts +6 -0
  23. package/dist/src/AuthorizeResponse.d.ts +2 -0
  24. package/dist/src/BattleReport.d.ts +17 -0
  25. package/dist/src/BattleResult.d.ts +15 -0
  26. package/dist/src/BattleWinner.d.ts +1 -0
  27. package/dist/src/BotAdvancedStartRatio.d.ts +4 -0
  28. package/dist/src/BotDensity.d.ts +1 -0
  29. package/dist/src/BotId.d.ts +1 -0
  30. package/dist/src/BuildStep.d.ts +6 -0
  31. package/dist/src/BuildingId.d.ts +1 -0
  32. package/dist/src/BuildingLevel.d.ts +1 -0
  33. package/dist/src/BuildingLevelDiff.d.ts +1 -0
  34. package/dist/src/BuildingStats.d.ts +17 -0
  35. package/dist/src/BuildingStatsTable.d.ts +11 -0
  36. package/dist/src/CancelAcademyRecruitOrderRequest.d.ts +8 -0
  37. package/dist/src/CancelPrefectureBuildOrderRequest.d.ts +6 -0
  38. package/dist/src/CancelStableRecruitOrderRequest.d.ts +8 -0
  39. package/dist/src/CancelWorkshopRecruitOrderRequest.d.ts +8 -0
  40. package/dist/src/ChatHistory.d.ts +5 -0
  41. package/dist/src/ChatMessage.d.ts +11 -0
  42. package/dist/src/ChatMessageAuthor.d.ts +7 -0
  43. package/dist/src/ChatMessageContent.d.ts +1 -0
  44. package/dist/src/ChatMessageId.d.ts +1 -0
  45. package/dist/src/ChatMessageKind.d.ts +1 -0
  46. package/dist/src/CheatGetAcademyRecruitQueueRequest.d.ts +6 -0
  47. package/dist/src/CheatGetAcademyRecruitQueueResponse.d.ts +2 -0
  48. package/dist/src/CheatGetAcademyRecruitQueuesRequest.d.ts +7 -0
  49. package/dist/src/CheatGetAcademyRecruitQueuesResponse.d.ts +6 -0
  50. package/dist/src/CheatGetAllAcademyRecruitQueuesRequest.d.ts +5 -0
  51. package/dist/src/CheatGetAllAcademyRecruitQueuesResponse.d.ts +6 -0
  52. package/dist/src/CheatGetAllPrefectureBuildQueuesRequest.d.ts +5 -0
  53. package/dist/src/CheatGetAllPrefectureBuildQueuesResponse.d.ts +6 -0
  54. package/dist/src/CheatGetAllStableRecruitQueuesRequest.d.ts +5 -0
  55. package/dist/src/CheatGetAllStableRecruitQueuesResponse.d.ts +6 -0
  56. package/dist/src/CheatGetBuildStepsRequest.d.ts +6 -0
  57. package/dist/src/CheatGetBuildStepsResponse.d.ts +2 -0
  58. package/dist/src/CheatGetEthicsRequest.d.ts +6 -0
  59. package/dist/src/CheatGetEthicsResponse.d.ts +2 -0
  60. package/dist/src/CheatGetIdleArmiesAtRequest.d.ts +6 -0
  61. package/dist/src/CheatGetIdleArmiesAtResponse.d.ts +2 -0
  62. package/dist/src/CheatGetIdlePersonnelAtRequest.d.ts +6 -0
  63. package/dist/src/CheatGetIdlePersonnelAtResponse.d.ts +2 -0
  64. package/dist/src/CheatGetInfrastructureRequest.d.ts +6 -0
  65. package/dist/src/CheatGetInfrastructureResponse.d.ts +2 -0
  66. package/dist/src/CheatGetManeuversOfRequest.d.ts +6 -0
  67. package/dist/src/CheatGetManeuversOfResponse.d.ts +2 -0
  68. package/dist/src/CheatGetManeuversRequest.d.ts +4 -0
  69. package/dist/src/CheatGetManeuversResponse.d.ts +2 -0
  70. package/dist/src/CheatGetPlayerRequest.d.ts +6 -0
  71. package/dist/src/CheatGetPlayerResponse.d.ts +2 -0
  72. package/dist/src/CheatGetPlayersRequest.d.ts +4 -0
  73. package/dist/src/CheatGetPlayersResponse.d.ts +2 -0
  74. package/dist/src/CheatGetPrefectureBuildQueueRequest.d.ts +6 -0
  75. package/dist/src/CheatGetPrefectureBuildQueueResponse.d.ts +2 -0
  76. package/dist/src/CheatGetPrefectureBuildQueuesRequest.d.ts +7 -0
  77. package/dist/src/CheatGetPrefectureBuildQueuesResponse.d.ts +6 -0
  78. package/dist/src/CheatGetResourcesRequest.d.ts +6 -0
  79. package/dist/src/CheatGetResourcesResponse.d.ts +2 -0
  80. package/dist/src/CheatGetStableRecruitQueueRequest.d.ts +6 -0
  81. package/dist/src/CheatGetStableRecruitQueueResponse.d.ts +2 -0
  82. package/dist/src/CheatGetStableRecruitQueuesRequest.d.ts +7 -0
  83. package/dist/src/CheatGetStableRecruitQueuesResponse.d.ts +6 -0
  84. package/dist/src/CheatGetStorageCapacityRequest.d.ts +6 -0
  85. package/dist/src/CheatGetStorageCapacityResponse.d.ts +2 -0
  86. package/dist/src/CheatSetBotEthicsRequest.d.ts +8 -0
  87. package/dist/src/CheatSetBuildingLevelRequest.d.ts +10 -0
  88. package/dist/src/CheatSetFoodRequest.d.ts +8 -0
  89. package/dist/src/CheatSetIronRequest.d.ts +8 -0
  90. package/dist/src/CheatSetMaxFoodRequest.d.ts +6 -0
  91. package/dist/src/CheatSetMaxInfrastructureRequest.d.ts +6 -0
  92. package/dist/src/CheatSetMaxIronRequest.d.ts +6 -0
  93. package/dist/src/CheatSetMaxResourcesRequest.d.ts +6 -0
  94. package/dist/src/CheatSetMaxSiloResourcesRequest.d.ts +6 -0
  95. package/dist/src/CheatSetMaxStoneRequest.d.ts +6 -0
  96. package/dist/src/CheatSetMaxWarehouseResourcesRequest.d.ts +6 -0
  97. package/dist/src/CheatSetMaxWoodRequest.d.ts +6 -0
  98. package/dist/src/CheatSetResourcesRequest.d.ts +8 -0
  99. package/dist/src/CheatSetStabilityRequest.d.ts +8 -0
  100. package/dist/src/CheatSetStoneRequest.d.ts +8 -0
  101. package/dist/src/CheatSetWoodRequest.d.ts +8 -0
  102. package/dist/src/CheatSkipRoundRequest.d.ts +5 -0
  103. package/dist/src/CheatSpawnBotRequest.d.ts +7 -0
  104. package/dist/src/CheatSpawnBotResponse.d.ts +2 -0
  105. package/dist/src/CheatSpawnPersonnelRequest.d.ts +10 -0
  106. package/dist/src/City.d.ts +12 -0
  107. package/dist/src/CityName.d.ts +1 -0
  108. package/dist/src/CitySearch.d.ts +6 -0
  109. package/dist/src/ContinentIndex.d.ts +1 -0
  110. package/dist/src/ContinentSize.d.ts +1 -0
  111. package/dist/src/Coord.d.ts +4 -0
  112. package/dist/src/Cost.d.ts +4 -0
  113. package/dist/src/CreateRemoteWorldRequest.d.ts +9 -0
  114. package/dist/src/CreateRemoteWorldResponse.d.ts +2 -0
  115. package/dist/src/CreateUserRequest.d.ts +6 -0
  116. package/dist/src/DeleteRemoteWorldRequest.d.ts +4 -0
  117. package/dist/src/EthicPowerAxis.d.ts +1 -0
  118. package/dist/src/EthicTruthAxis.d.ts +1 -0
  119. package/dist/src/Ethics.d.ts +6 -0
  120. package/dist/src/Event.d.ts +38 -0
  121. package/dist/src/Farm.d.ts +5 -0
  122. package/dist/src/Food.d.ts +1 -0
  123. package/dist/src/ForwardReportRequest.d.ts +8 -0
  124. package/dist/src/GetAcademyRecruitCatalogRequest.d.ts +6 -0
  125. package/dist/src/GetAcademyRecruitCatalogResponse.d.ts +2 -0
  126. package/dist/src/GetBotCoordsRequest.d.ts +6 -0
  127. package/dist/src/GetBotCoordsResponse.d.ts +2 -0
  128. package/dist/src/GetChatHistoryRequest.d.ts +4 -0
  129. package/dist/src/GetChatHistoryResponse.d.ts +2 -0
  130. package/dist/src/GetCityRequest.d.ts +6 -0
  131. package/dist/src/GetCityResponse.d.ts +2 -0
  132. package/dist/src/GetCityScoreRequest.d.ts +6 -0
  133. package/dist/src/GetCityScoreResponse.d.ts +2 -0
  134. package/dist/src/GetContinentSizeRequest.d.ts +4 -0
  135. package/dist/src/GetContinentSizeResponse.d.ts +2 -0
  136. package/dist/src/GetPlayerCoordsRequest.d.ts +6 -0
  137. package/dist/src/GetPlayerCoordsResponse.d.ts +2 -0
  138. package/dist/src/GetPlayerIdsRequest.d.ts +4 -0
  139. package/dist/src/GetPlayerIdsResponse.d.ts +2 -0
  140. package/dist/src/GetPlayerMaintenanceRequest.d.ts +4 -0
  141. package/dist/src/GetPlayerMaintenanceResponse.d.ts +2 -0
  142. package/dist/src/GetPlayerMilitaryRequest.d.ts +4 -0
  143. package/dist/src/GetPlayerMilitaryResponse.d.ts +2 -0
  144. package/dist/src/GetPlayerReportsRequest.d.ts +4 -0
  145. package/dist/src/GetPlayerReportsResponse.d.ts +2 -0
  146. package/dist/src/GetPlayerRequest.d.ts +4 -0
  147. package/dist/src/GetPlayerResponse.d.ts +2 -0
  148. package/dist/src/GetPlayerStatusRequest.d.ts +6 -0
  149. package/dist/src/GetPlayerStatusResponse.d.ts +2 -0
  150. package/dist/src/GetPlayerStorageCapacityRequest.d.ts +4 -0
  151. package/dist/src/GetPlayerStorageCapacityResponse.d.ts +2 -0
  152. package/dist/src/GetPlayerWorldsRequest.d.ts +4 -0
  153. package/dist/src/GetPlayerWorldsResponse.d.ts +2 -0
  154. package/dist/src/GetPrecursorCoordsRequest.d.ts +6 -0
  155. package/dist/src/GetPrecursorCoordsResponse.d.ts +2 -0
  156. package/dist/src/GetPrefectureBuildCatalogRequest.d.ts +6 -0
  157. package/dist/src/GetPrefectureBuildCatalogResponse.d.ts +2 -0
  158. package/dist/src/GetPublicBotRequest.d.ts +6 -0
  159. package/dist/src/GetPublicBotResponse.d.ts +2 -0
  160. package/dist/src/GetPublicBotsRequest.d.ts +4 -0
  161. package/dist/src/GetPublicBotsResponse.d.ts +2 -0
  162. package/dist/src/GetPublicCitiesRequest.d.ts +8 -0
  163. package/dist/src/GetPublicCitiesResponse.d.ts +2 -0
  164. package/dist/src/GetPublicCityRequest.d.ts +7 -0
  165. package/dist/src/GetPublicCityResponse.d.ts +6 -0
  166. package/dist/src/GetPublicFieldRequest.d.ts +6 -0
  167. package/dist/src/GetPublicFieldResponse.d.ts +2 -0
  168. package/dist/src/GetPublicFieldsRequest.d.ts +6 -0
  169. package/dist/src/GetPublicFieldsResponse.d.ts +3 -0
  170. package/dist/src/GetPublicPlayerRequest.d.ts +6 -0
  171. package/dist/src/GetPublicPlayerResponse.d.ts +2 -0
  172. package/dist/src/GetPublicPlayersRequest.d.ts +4 -0
  173. package/dist/src/GetPublicPlayersResponse.d.ts +2 -0
  174. package/dist/src/GetPublicPrecursorRequest.d.ts +6 -0
  175. package/dist/src/GetPublicPrecursorResponse.d.ts +2 -0
  176. package/dist/src/GetPublicPrecursorsRequest.d.ts +4 -0
  177. package/dist/src/GetPublicPrecursorsResponse.d.ts +2 -0
  178. package/dist/src/GetRankRequest.d.ts +6 -0
  179. package/dist/src/GetRankResponse.d.ts +2 -0
  180. package/dist/src/GetRankingRequest.d.ts +4 -0
  181. package/dist/src/GetRankingResponse.d.ts +2 -0
  182. package/dist/src/GetRemoteWorldLimitPerUserResponse.d.ts +1 -0
  183. package/dist/src/GetRemoteWorldLimitResponse.d.ts +1 -0
  184. package/dist/src/GetRemoteWorldRequest.d.ts +4 -0
  185. package/dist/src/GetRemoteWorldResponse.d.ts +2 -0
  186. package/dist/src/GetRemoteWorldsResponse.d.ts +2 -0
  187. package/dist/src/GetReportRequest.d.ts +6 -0
  188. package/dist/src/GetReportResponse.d.ts +2 -0
  189. package/dist/src/GetReportsRequest.d.ts +7 -0
  190. package/dist/src/GetReportsResponse.d.ts +2 -0
  191. package/dist/src/GetRoundRequest.d.ts +4 -0
  192. package/dist/src/GetRoundResponse.d.ts +2 -0
  193. package/dist/src/GetServerKindResponse.d.ts +2 -0
  194. package/dist/src/GetStableRecruitCatalogRequest.d.ts +6 -0
  195. package/dist/src/GetStableRecruitCatalogResponse.d.ts +2 -0
  196. package/dist/src/GetWorkshopRecruitCatalogRequest.d.ts +6 -0
  197. package/dist/src/GetWorkshopRecruitCatalogResponse.d.ts +2 -0
  198. package/dist/src/GetWorldBotsRequest.d.ts +4 -0
  199. package/dist/src/GetWorldBotsResponse.d.ts +2 -0
  200. package/dist/src/GetWorldConfigRequest.d.ts +4 -0
  201. package/dist/src/GetWorldConfigResponse.d.ts +2 -0
  202. package/dist/src/GetWorldPersonnelRequest.d.ts +4 -0
  203. package/dist/src/GetWorldPersonnelResponse.d.ts +2 -0
  204. package/dist/src/GetWorldPlayersRequest.d.ts +4 -0
  205. package/dist/src/GetWorldPlayersResponse.d.ts +2 -0
  206. package/dist/src/GetWorldPrecursorsRequest.d.ts +4 -0
  207. package/dist/src/GetWorldPrecursorsResponse.d.ts +2 -0
  208. package/dist/src/GetWorldStatsRequest.d.ts +4 -0
  209. package/dist/src/GetWorldStatsResponse.d.ts +2 -0
  210. package/dist/src/Influence.d.ts +8 -0
  211. package/dist/src/Infrastructure.d.ts +24 -0
  212. package/dist/src/InfrastructureRequirements.d.ts +14 -0
  213. package/dist/src/InfrastructureStats.d.ts +19 -0
  214. package/dist/src/Iron.d.ts +1 -0
  215. package/dist/src/IronMine.d.ts +5 -0
  216. package/dist/src/LeaveRequest.d.ts +4 -0
  217. package/dist/src/Locale.d.ts +1 -0
  218. package/dist/src/Luck.d.ts +1 -0
  219. package/dist/src/Maintenance.d.ts +9 -0
  220. package/dist/src/Maneuver.d.ts +19 -0
  221. package/dist/src/ManeuverDirection.d.ts +1 -0
  222. package/dist/src/ManeuverDistance.d.ts +1 -0
  223. package/dist/src/ManeuverHaul.d.ts +6 -0
  224. package/dist/src/ManeuverId.d.ts +1 -0
  225. package/dist/src/ManeuverKind.d.ts +1 -0
  226. package/dist/src/ManeuverRequest.d.ts +9 -0
  227. package/dist/src/ManeuverState.d.ts +7 -0
  228. package/dist/src/Military.d.ts +14 -0
  229. package/dist/src/MineId.d.ts +1 -0
  230. package/dist/src/MineProduction.d.ts +4 -0
  231. package/dist/src/MineStats.d.ts +6 -0
  232. package/dist/src/MineStatsTable.d.ts +9 -0
  233. package/dist/src/Minutes.d.ts +1 -0
  234. package/dist/src/OverallStorageCapacity.d.ts +5 -0
  235. package/dist/src/Password.d.ts +1 -0
  236. package/dist/src/Player.d.ts +10 -0
  237. package/dist/src/PlayerExistsRequest.d.ts +6 -0
  238. package/dist/src/PlayerExistsResponse.d.ts +1 -0
  239. package/dist/src/PlayerId.d.ts +1 -0
  240. package/dist/src/PlayerOptions.d.ts +4 -0
  241. package/dist/src/PlayerStatus.d.ts +1 -0
  242. package/dist/src/PrecursorId.d.ts +1 -0
  243. package/dist/src/Prefecture.d.ts +7 -0
  244. package/dist/src/PrefectureBuildCatalog.d.ts +14 -0
  245. package/dist/src/PrefectureBuildCatalogEntry.d.ts +11 -0
  246. package/dist/src/PrefectureBuildCatalogRecipe.d.ts +12 -0
  247. package/dist/src/PrefectureBuildOrder.d.ts +16 -0
  248. package/dist/src/PrefectureBuildOrderId.d.ts +1 -0
  249. package/dist/src/PrefectureBuildOrderKind.d.ts +1 -0
  250. package/dist/src/PrefectureBuildOrderRequest.d.ts +8 -0
  251. package/dist/src/PrefectureBuildOrderState.d.ts +7 -0
  252. package/dist/src/PrefectureBuildQueue.d.ts +4 -0
  253. package/dist/src/PublicBot.d.ts +4 -0
  254. package/dist/src/PublicCity.d.ts +10 -0
  255. package/dist/src/PublicField.d.ts +10 -0
  256. package/dist/src/PublicPlayer.d.ts +6 -0
  257. package/dist/src/PublicPrecursor.d.ts +6 -0
  258. package/dist/src/PushChatMessageRequest.d.ts +5 -0
  259. package/dist/src/PushChatMessageResponse.d.ts +2 -0
  260. package/dist/src/Quarry.d.ts +5 -0
  261. package/dist/src/Rank.d.ts +1 -0
  262. package/dist/src/Ranking.d.ts +2 -0
  263. package/dist/src/RankingEntry.d.ts +9 -0
  264. package/dist/src/RemoteWorld.d.ts +18 -0
  265. package/dist/src/RemoveReportRequest.d.ts +6 -0
  266. package/dist/src/RenameCityRequest.d.ts +7 -0
  267. package/dist/src/ReportId.d.ts +1 -0
  268. package/dist/src/ReportKind.d.ts +9 -0
  269. package/dist/src/RequestManeuverRequest.d.ts +6 -0
  270. package/dist/src/RequestManeuverResponse.d.ts +2 -0
  271. package/dist/src/Resources.d.ts +10 -0
  272. package/dist/src/Round.d.ts +7 -0
  273. package/dist/src/RoundDuration.d.ts +5 -0
  274. package/dist/src/RoundId.d.ts +1 -0
  275. package/dist/src/RoundState.d.ts +10 -0
  276. package/dist/src/Ruler.d.ts +13 -0
  277. package/dist/src/SaveLocalWorldRequest.d.ts +5 -0
  278. package/dist/src/Sawmill.d.ts +5 -0
  279. package/dist/src/Score.d.ts +1 -0
  280. package/dist/src/SearchCityRequest.d.ts +6 -0
  281. package/dist/src/SearchCityResponse.d.ts +2 -0
  282. package/dist/src/SearchPublicCityRequest.d.ts +6 -0
  283. package/dist/src/SearchPublicCityResponse.d.ts +2 -0
  284. package/dist/src/ServerKind.d.ts +7 -0
  285. package/dist/src/SetPlayerReadyRequest.d.ts +5 -0
  286. package/dist/src/SetPlayerReadyResponse.d.ts +2 -0
  287. package/dist/src/SetPlayerStatusRequest.d.ts +6 -0
  288. package/dist/src/Silo.d.ts +5 -0
  289. package/dist/src/SimulateBattleRequest.d.ts +11 -0
  290. package/dist/src/SimulateBattleResponse.d.ts +2 -0
  291. package/dist/src/SpawnPlayerRequest.d.ts +8 -0
  292. package/dist/src/Speed.d.ts +4 -0
  293. package/dist/src/Squad.d.ts +9 -0
  294. package/dist/src/SquadSize.d.ts +1 -0
  295. package/dist/src/Stability.d.ts +4 -0
  296. package/dist/src/Stable.d.ts +7 -0
  297. package/dist/src/StableRecruitCatalog.d.ts +5 -0
  298. package/dist/src/StableRecruitCatalogEntry.d.ts +9 -0
  299. package/dist/src/StableRecruitCatalogRecipe.d.ts +10 -0
  300. package/dist/src/StableRecruitOrder.d.ts +12 -0
  301. package/dist/src/StableRecruitOrderId.d.ts +1 -0
  302. package/dist/src/StableRecruitOrderRequest.d.ts +7 -0
  303. package/dist/src/StableRecruitOrderState.d.ts +7 -0
  304. package/dist/src/StableRecruitQueue.d.ts +4 -0
  305. package/dist/src/StableUnitId.d.ts +1 -0
  306. package/dist/src/StartRoundRequest.d.ts +4 -0
  307. package/dist/src/StartRoundResponse.d.ts +2 -0
  308. package/dist/src/Stone.d.ts +1 -0
  309. package/dist/src/StorageCapacity.d.ts +4 -0
  310. package/dist/src/StorageId.d.ts +1 -0
  311. package/dist/src/StorageStats.d.ts +6 -0
  312. package/dist/src/StorageStatsTable.d.ts +9 -0
  313. package/dist/src/SupportReport.d.ts +15 -0
  314. package/dist/src/ToggleBuildingRequest.d.ts +9 -0
  315. package/dist/src/Token.d.ts +1 -0
  316. package/dist/src/UnitBox.d.ts +1 -0
  317. package/dist/src/UnitId.d.ts +1 -0
  318. package/dist/src/UserExistsRequest.d.ts +4 -0
  319. package/dist/src/UserExistsResponse.d.ts +1 -0
  320. package/dist/src/ValidateTokenRequest.d.ts +4 -0
  321. package/dist/src/ValidateTokenResponse.d.ts +2 -0
  322. package/dist/src/VersionResponse.d.ts +1 -0
  323. package/dist/src/Wall.d.ts +5 -0
  324. package/dist/src/WallDefense.d.ts +1 -0
  325. package/dist/src/WallDefenseBonus.d.ts +1 -0
  326. package/dist/src/WallStats.d.ts +8 -0
  327. package/dist/src/WallStatsTable.d.ts +5 -0
  328. package/dist/src/Warehouse.d.ts +5 -0
  329. package/dist/src/Wood.d.ts +1 -0
  330. package/dist/src/Workforce.d.ts +9 -0
  331. package/dist/src/Workshop.d.ts +7 -0
  332. package/dist/src/WorkshopRecruitCatalog.d.ts +4 -0
  333. package/dist/src/WorkshopRecruitCatalogEntry.d.ts +9 -0
  334. package/dist/src/WorkshopRecruitCatalogRecipe.d.ts +10 -0
  335. package/dist/src/WorkshopRecruitOrder.d.ts +12 -0
  336. package/dist/src/WorkshopRecruitOrderId.d.ts +1 -0
  337. package/dist/src/WorkshopRecruitOrderRequest.d.ts +7 -0
  338. package/dist/src/WorkshopRecruitOrderState.d.ts +7 -0
  339. package/dist/src/WorkshopRecruitQueue.d.ts +4 -0
  340. package/dist/src/WorkshopUnitId.d.ts +1 -0
  341. package/dist/src/WorldConfig.d.ts +17 -0
  342. package/dist/src/WorldId.d.ts +1 -0
  343. package/dist/src/WorldName.d.ts +1 -0
  344. package/dist/src/WorldOptions.d.ts +17 -0
  345. package/dist/src/WorldSpeed.d.ts +1 -0
  346. package/dist/src/WorldStats.d.ts +4 -0
  347. package/dist/src/WorldUnitSpeed.d.ts +1 -0
  348. package/dist/src/index.d.ts +345 -0
  349. package/package.json +39 -0
@@ -0,0 +1,10 @@
1
+ import { BuildingId } from './BuildingId';
2
+ import { BuildingLevel } from './BuildingLevel';
3
+ import { Coord } from './Coord';
4
+ import { WorldId } from './WorldId';
5
+ export type CheatSetBuildingLevelRequest = {
6
+ world: WorldId;
7
+ coord: Coord;
8
+ id: BuildingId;
9
+ level: BuildingLevel;
10
+ };
@@ -0,0 +1,8 @@
1
+ import { Food } from './Food';
2
+ import { Ruler } from './Ruler';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetFoodRequest = {
5
+ world: WorldId;
6
+ ruler?: Ruler | null;
7
+ food: Food;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { Iron } from './Iron';
2
+ import { Ruler } from './Ruler';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetIronRequest = {
5
+ world: WorldId;
6
+ ruler?: Ruler | null;
7
+ iron: Iron;
8
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxFoodRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxInfrastructureRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxIronRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxResourcesRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxSiloResourcesRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxStoneRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxWarehouseResourcesRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Ruler } from './Ruler';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSetMaxWoodRequest = {
4
+ world: WorldId;
5
+ ruler?: Ruler | null;
6
+ };
@@ -0,0 +1,8 @@
1
+ import { Resources } from './Resources';
2
+ import { Ruler } from './Ruler';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetResourcesRequest = {
5
+ world: WorldId;
6
+ ruler?: Ruler | null;
7
+ resources: Resources;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { Coord } from './Coord';
2
+ import { Stability } from './Stability';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetStabilityRequest = {
5
+ world: WorldId;
6
+ coord: Coord;
7
+ stability: Stability;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { Ruler } from './Ruler';
2
+ import { Stone } from './Stone';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetStoneRequest = {
5
+ world: WorldId;
6
+ ruler?: Ruler | null;
7
+ stone: Stone;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { Ruler } from './Ruler';
2
+ import { Wood } from './Wood';
3
+ import { WorldId } from './WorldId';
4
+ export type CheatSetWoodRequest = {
5
+ world: WorldId;
6
+ ruler?: Ruler | null;
7
+ wood: Wood;
8
+ };
@@ -0,0 +1,5 @@
1
+ import { WorldId } from './WorldId';
2
+ export type CheatSkipRoundRequest = {
3
+ world: WorldId;
4
+ amount: number;
5
+ };
@@ -0,0 +1,7 @@
1
+ import { Infrastructure } from './Infrastructure';
2
+ import { WorldId } from './WorldId';
3
+ export type CheatSpawnBotRequest = {
4
+ world: WorldId;
5
+ name: string;
6
+ infrastructure?: Infrastructure | null;
7
+ };
@@ -0,0 +1,2 @@
1
+ import { BotId } from './BotId';
2
+ export type CheatSpawnBotResponse = BotId;
@@ -0,0 +1,10 @@
1
+ import { ArmyPersonnel } from './ArmyPersonnel';
2
+ import { Coord } from './Coord';
3
+ import { Ruler } from './Ruler';
4
+ import { WorldId } from './WorldId';
5
+ export type CheatSpawnPersonnelRequest = {
6
+ world: WorldId;
7
+ coord: Coord;
8
+ personnel: ArmyPersonnel;
9
+ ruler?: Ruler | null;
10
+ };
@@ -0,0 +1,12 @@
1
+ import { CityName } from './CityName';
2
+ import { Coord } from './Coord';
3
+ import { Infrastructure } from './Infrastructure';
4
+ import { Ruler } from './Ruler';
5
+ import { Stability } from './Stability';
6
+ export type City = {
7
+ coord: Coord;
8
+ name: CityName;
9
+ owner: Ruler;
10
+ infrastructure: Infrastructure;
11
+ stability: Stability;
12
+ };
@@ -0,0 +1 @@
1
+ export type CityName = string;
@@ -0,0 +1,6 @@
1
+ import { CityName } from './CityName';
2
+ import { Coord } from './Coord';
3
+ export type CitySearch = {
4
+ coord?: Array<Coord>;
5
+ name?: Array<CityName>;
6
+ };
@@ -0,0 +1 @@
1
+ export type ContinentIndex = number;
@@ -0,0 +1 @@
1
+ export type ContinentSize = number;
@@ -0,0 +1,4 @@
1
+ export type Coord = {
2
+ x: number;
3
+ y: number;
4
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Base cost of an entity, such as buildings or units.
3
+ */
4
+ export type Cost = number;
@@ -0,0 +1,9 @@
1
+ import { Password } from './Password';
2
+ import { RoundDuration } from './RoundDuration';
3
+ import { WorldOptions } from './WorldOptions';
4
+ export type CreateRemoteWorldRequest = {
5
+ options: WorldOptions;
6
+ description?: string | null;
7
+ password?: Password | null;
8
+ roundDuration?: RoundDuration | null;
9
+ };
@@ -0,0 +1,2 @@
1
+ import { WorldId } from './WorldId';
2
+ export type CreateRemoteWorldResponse = WorldId;
@@ -0,0 +1,6 @@
1
+ import { Password } from './Password';
2
+ import { PlayerId } from './PlayerId';
3
+ export type CreateUserRequest = {
4
+ player: PlayerId;
5
+ password: Password;
6
+ };
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type DeleteRemoteWorldRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1 @@
1
+ export type EthicPowerAxis = "militarist" | "fanatic-militarist" | "pacifist" | "fanatic-pacifist";
@@ -0,0 +1 @@
1
+ export type EthicTruthAxis = "materialist" | "fanatic-materialist" | "spiritualist" | "fanatic-spiritualist";
@@ -0,0 +1,6 @@
1
+ import { EthicPowerAxis } from './EthicPowerAxis';
2
+ import { EthicTruthAxis } from './EthicTruthAxis';
3
+ export type Ethics = {
4
+ power: EthicPowerAxis;
5
+ truth: EthicTruthAxis;
6
+ };
@@ -0,0 +1,38 @@
1
+ import { ChatMessage } from './ChatMessage';
2
+ import { Coord } from './Coord';
3
+ import { PlayerId } from './PlayerId';
4
+ import { ReportId } from './ReportId';
5
+ import { Round } from './Round';
6
+ import { WorldId } from './WorldId';
7
+ export type Event = {
8
+ "kind": "chat-updated";
9
+ world: WorldId;
10
+ message: ChatMessage;
11
+ } | {
12
+ "kind": "city-updated";
13
+ world: WorldId;
14
+ coord: Coord;
15
+ } | {
16
+ "kind": "drop";
17
+ world: WorldId;
18
+ } | {
19
+ "kind": "military-updated";
20
+ world: WorldId;
21
+ player: PlayerId;
22
+ } | {
23
+ "kind": "player-updated";
24
+ world: WorldId;
25
+ player: PlayerId;
26
+ } | {
27
+ "kind": "public-city-updated";
28
+ world: WorldId;
29
+ coord: Coord;
30
+ } | {
31
+ "kind": "report";
32
+ world: WorldId;
33
+ report: ReportId;
34
+ } | {
35
+ "kind": "round-updated";
36
+ world: WorldId;
37
+ round: Round;
38
+ };
@@ -0,0 +1,5 @@
1
+ import { BuildingLevel } from './BuildingLevel';
2
+ export type Farm = {
3
+ level: BuildingLevel;
4
+ enabled: boolean;
5
+ };
@@ -0,0 +1 @@
1
+ export type Food = number;
@@ -0,0 +1,8 @@
1
+ import { PlayerId } from './PlayerId';
2
+ import { ReportId } from './ReportId';
3
+ import { WorldId } from './WorldId';
4
+ export type ForwardReportRequest = {
5
+ world: WorldId;
6
+ id: ReportId;
7
+ recipient: PlayerId;
8
+ };
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetAcademyRecruitCatalogRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { AcademyRecruitCatalog } from './AcademyRecruitCatalog';
2
+ export type GetAcademyRecruitCatalogResponse = AcademyRecruitCatalog;
@@ -0,0 +1,6 @@
1
+ import { BotId } from './BotId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetBotCoordsRequest = {
4
+ world: WorldId;
5
+ id: BotId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { Coord } from './Coord';
2
+ export type GetBotCoordsResponse = Array<Coord>;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetChatHistoryRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { ChatHistory } from './ChatHistory';
2
+ export type GetChatHistoryResponse = ChatHistory;
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetCityRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { City } from './City';
2
+ export type GetCityResponse = City;
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetCityScoreRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { Score } from './Score';
2
+ export type GetCityScoreResponse = Score;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetContinentSizeRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { ContinentSize } from './ContinentSize';
2
+ export type GetContinentSizeResponse = ContinentSize;
@@ -0,0 +1,6 @@
1
+ import { PlayerId } from './PlayerId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPlayerCoordsRequest = {
4
+ world: WorldId;
5
+ id: PlayerId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { Coord } from './Coord';
2
+ export type GetPlayerCoordsResponse = Array<Coord>;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerIdsRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { PlayerId } from './PlayerId';
2
+ export type GetPlayerIdsResponse = Array<PlayerId>;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerMaintenanceRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { Maintenance } from './Maintenance';
2
+ export type GetPlayerMaintenanceResponse = Maintenance;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerMilitaryRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { Military } from './Military';
2
+ export type GetPlayerMilitaryResponse = Military;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerReportsRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { ReportId } from './ReportId';
2
+ export type GetPlayerReportsResponse = Array<ReportId>;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { Player } from './Player';
2
+ export type GetPlayerResponse = Player;
@@ -0,0 +1,6 @@
1
+ import { PlayerId } from './PlayerId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPlayerStatusRequest = {
4
+ world: WorldId;
5
+ id: PlayerId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PlayerStatus } from './PlayerStatus';
2
+ export type GetPlayerStatusResponse = PlayerStatus;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerStorageCapacityRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { OverallStorageCapacity } from './OverallStorageCapacity';
2
+ export type GetPlayerStorageCapacityResponse = OverallStorageCapacity;
@@ -0,0 +1,4 @@
1
+ import { PlayerId } from './PlayerId';
2
+ export type GetPlayerWorldsRequest = {
3
+ id: PlayerId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPlayerWorldsResponse = Array<WorldId>;
@@ -0,0 +1,6 @@
1
+ import { PrecursorId } from './PrecursorId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPrecursorCoordsRequest = {
4
+ world: WorldId;
5
+ id: PrecursorId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { Coord } from './Coord';
2
+ export type GetPrecursorCoordsResponse = Array<Coord>;
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPrefectureBuildCatalogRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PrefectureBuildCatalog } from './PrefectureBuildCatalog';
2
+ export type GetPrefectureBuildCatalogResponse = PrefectureBuildCatalog;
@@ -0,0 +1,6 @@
1
+ import { BotId } from './BotId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicBotRequest = {
4
+ world: WorldId;
5
+ id: BotId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicBot } from './PublicBot';
2
+ export type GetPublicBotResponse = PublicBot;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPublicBotsRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicBot } from './PublicBot';
2
+ export type GetPublicBotsResponse = Array<PublicBot>;
@@ -0,0 +1,8 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicCitiesRequest = {
4
+ world: WorldId;
5
+ coords: Array<Coord>;
6
+ score: boolean;
7
+ all: boolean;
8
+ };
@@ -0,0 +1,2 @@
1
+ import { GetPublicCityResponse } from './GetPublicCityResponse';
2
+ export type GetPublicCitiesResponse = Array<GetPublicCityResponse>;
@@ -0,0 +1,7 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicCityRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ score: boolean;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { PublicCity } from './PublicCity';
2
+ import { Score } from './Score';
3
+ export type GetPublicCityResponse = {
4
+ city: PublicCity;
5
+ score: Score | null;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicFieldRequest = {
4
+ world: WorldId;
5
+ coord: Coord;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicField } from './PublicField';
2
+ export type GetPublicFieldResponse = PublicField;
@@ -0,0 +1,6 @@
1
+ import { Coord } from './Coord';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicFieldsRequest = {
4
+ world: WorldId;
5
+ coords: Array<Coord>;
6
+ };
@@ -0,0 +1,3 @@
1
+ import { Coord } from './Coord';
2
+ import { PublicField } from './PublicField';
3
+ export type GetPublicFieldsResponse = Array<[Coord, PublicField]>;
@@ -0,0 +1,6 @@
1
+ import { PlayerId } from './PlayerId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicPlayerRequest = {
4
+ world: WorldId;
5
+ id: PlayerId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicPlayer } from './PublicPlayer';
2
+ export type GetPublicPlayerResponse = PublicPlayer;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPublicPlayersRequest = {
3
+ world: WorldId;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicPlayer } from './PublicPlayer';
2
+ export type GetPublicPlayersResponse = Array<PublicPlayer>;
@@ -0,0 +1,6 @@
1
+ import { PrecursorId } from './PrecursorId';
2
+ import { WorldId } from './WorldId';
3
+ export type GetPublicPrecursorRequest = {
4
+ world: WorldId;
5
+ id: PrecursorId;
6
+ };
@@ -0,0 +1,2 @@
1
+ import { PublicPrecursor } from './PublicPrecursor';
2
+ export type GetPublicPrecursorResponse = PublicPrecursor;
@@ -0,0 +1,4 @@
1
+ import { WorldId } from './WorldId';
2
+ export type GetPublicPrecursorsRequest = {
3
+ world: WorldId;
4
+ };