eve-esi-types 3.1.6 → 3.2.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 (227) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/jsconfig.json +28 -0
  3. package/lib/rq-util.mjs +1 -1
  4. package/lib/tagged-request-api.mjs +5 -6
  5. package/package.json +14 -8
  6. package/v2/esi-tagged-types.d.ts +9 -5
  7. package/v2/{get_alliances_alliance_id_ok.d.ts → globals/alliance.d.ts} +44 -0
  8. package/v2/globals/assets.d.ts +443 -0
  9. package/v2/globals/calendar.d.ts +130 -0
  10. package/v2/globals/character.d.ts +1084 -0
  11. package/v2/{get_characters_character_id_clones_ok.d.ts → globals/clones.d.ts} +15 -0
  12. package/v2/globals/contacts.d.ts +212 -0
  13. package/v2/globals/contracts.d.ts +546 -0
  14. package/v2/globals/corporation.d.ts +2329 -0
  15. package/v2/globals/dogma.d.ts +262 -0
  16. package/v2/globals/factionwarfare.d.ts +668 -0
  17. package/v2/{get_characters_character_id_fittings_ok.d.ts → globals/fittings.d.ts} +23 -0
  18. package/v2/globals/fleets.d.ts +201 -0
  19. package/v2/{get_incursions_ok.d.ts → globals/incursions.d.ts} +5 -0
  20. package/v2/globals/industry.d.ts +445 -0
  21. package/v2/globals/insurance.d.ts +47 -0
  22. package/v2/{get_killmails_killmail_id_killmail_hash_ok.d.ts → globals/killmails.d.ts} +55 -0
  23. package/v2/globals/location.d.ts +74 -0
  24. package/v2/{get_loyalty_stores_corporation_id_offers_ok.d.ts → globals/loyalty.d.ts} +30 -0
  25. package/v2/globals/mail.d.ts +237 -0
  26. package/v2/globals/market.d.ts +615 -0
  27. package/v2/globals/planetaryinteraction.d.ts +344 -0
  28. package/v2/globals/routes.d.ts +14 -0
  29. package/v2/{get_characters_character_id_search_ok.d.ts → globals/search.d.ts} +5 -0
  30. package/v2/globals/skills.d.ts +144 -0
  31. package/v2/globals/sovereignty.d.ts +168 -0
  32. package/v2/{get_status_ok.d.ts → globals/status.d.ts} +5 -0
  33. package/v2/globals/universe.d.ts +1297 -0
  34. package/v2/globals/wallet.d.ts +601 -0
  35. package/v2/{get_wars_war_id_ok.d.ts → globals/wars.d.ts} +40 -0
  36. package/v2/index.d.ts +38 -163
  37. package/v2/response-map.d.ts +22 -45
  38. package/v2/types-index.d.ts +31 -182
  39. package/v2/types-util.d.ts +335 -0
  40. package/v2/util.d.ts +4 -2
  41. package/web/index.html +1 -1
  42. package/docs/esi-tagged-types.md +0 -120
  43. package/docs/v2/identify-parameters.md +0 -74
  44. package/docs/v2/if-parameterized-path.md +0 -70
  45. package/docs/v2/infer-esi-response-result.md +0 -44
  46. package/docs/v2/require-these.md +0 -57
  47. package/docs/v3/esi-enhanced-function-signature.md +0 -67
  48. package/docs/v3/esi-types-util3.md +0 -319
  49. package/docs/v3/has-require-params.md +0 -50
  50. package/docs/v3/infer-endpoint-origin.md +0 -57
  51. package/docs/v3/infer-path-params.md +0 -41
  52. package/docs/v3/pick-require-params.md +0 -56
  53. package/docs/v3/replace-path-params.md +0 -60
  54. package/docs/v3/resolved-endpoint.md +0 -44
  55. package/tsconfig.json +0 -28
  56. package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -24
  57. package/v2/get_alliances_alliance_id_contacts_ok.d.ts +0 -35
  58. package/v2/get_alliances_alliance_id_corporations_ok.d.ts +0 -9
  59. package/v2/get_alliances_alliance_id_icons_ok.d.ts +0 -18
  60. package/v2/get_alliances_ok.d.ts +0 -9
  61. package/v2/get_characters_character_id_agents_research_ok.d.ts +0 -33
  62. package/v2/get_characters_character_id_assets_ok.d.ts +0 -134
  63. package/v2/get_characters_character_id_attributes_ok.d.ts +0 -42
  64. package/v2/get_characters_character_id_blueprints_ok.d.ts +0 -122
  65. package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -30
  66. package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +0 -56
  67. package/v2/get_characters_character_id_calendar_ok.d.ts +0 -37
  68. package/v2/get_characters_character_id_contacts_labels_ok.d.ts +0 -24
  69. package/v2/get_characters_character_id_contacts_ok.d.ts +0 -43
  70. package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -32
  71. package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -38
  72. package/v2/get_characters_character_id_contracts_ok.d.ts +0 -117
  73. package/v2/get_characters_character_id_corporationhistory_ok.d.ts +0 -32
  74. package/v2/get_characters_character_id_fatigue_ok.d.ts +0 -22
  75. package/v2/get_characters_character_id_fleet_ok.d.ts +0 -31
  76. package/v2/get_characters_character_id_fw_stats_ok.d.ts +0 -64
  77. package/v2/get_characters_character_id_implants_ok.d.ts +0 -9
  78. package/v2/get_characters_character_id_industry_jobs_ok.d.ts +0 -105
  79. package/v2/get_characters_character_id_killmails_recent_ok.d.ts +0 -24
  80. package/v2/get_characters_character_id_location_ok.d.ts +0 -22
  81. package/v2/get_characters_character_id_loyalty_points_ok.d.ts +0 -24
  82. package/v2/get_characters_character_id_mail_labels_ok.d.ts +0 -62
  83. package/v2/get_characters_character_id_mail_lists_ok.d.ts +0 -24
  84. package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +0 -59
  85. package/v2/get_characters_character_id_mail_ok.d.ts +0 -65
  86. package/v2/get_characters_character_id_medals_ok.d.ts +0 -135
  87. package/v2/get_characters_character_id_mining_ok.d.ts +0 -29
  88. package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +0 -36
  89. package/v2/get_characters_character_id_notifications_ok.d.ts +0 -291
  90. package/v2/get_characters_character_id_ok.d.ts +0 -55
  91. package/v2/get_characters_character_id_online_ok.d.ts +0 -26
  92. package/v2/get_characters_character_id_opportunities_ok.d.ts +0 -24
  93. package/v2/get_characters_character_id_orders_history_ok.d.ts +0 -87
  94. package/v2/get_characters_character_id_orders_ok.d.ts +0 -82
  95. package/v2/get_characters_character_id_planets_ok.d.ts +0 -124
  96. package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +0 -283
  97. package/v2/get_characters_character_id_portrait_ok.d.ts +0 -26
  98. package/v2/get_characters_character_id_roles_ok.d.ts +0 -270
  99. package/v2/get_characters_character_id_ship_ok.d.ts +0 -19
  100. package/v2/get_characters_character_id_skillqueue_ok.d.ts +0 -48
  101. package/v2/get_characters_character_id_skills_ok.d.ts +0 -47
  102. package/v2/get_characters_character_id_standings_ok.d.ts +0 -29
  103. package/v2/get_characters_character_id_titles_ok.d.ts +0 -184
  104. package/v2/get_characters_character_id_wallet_journal_ok.d.ts +0 -228
  105. package/v2/get_characters_character_id_wallet_ok.d.ts +0 -7
  106. package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +0 -53
  107. package/v2/get_contracts_public_bids_contract_id_ok.d.ts +0 -28
  108. package/v2/get_contracts_public_items_contract_id_ok.d.ts +0 -49
  109. package/v2/get_contracts_public_region_id_ok.d.ts +0 -81
  110. package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -39
  111. package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -36
  112. package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -30
  113. package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -32
  114. package/v2/get_corporations_corporation_id_assets_ok.d.ts +0 -170
  115. package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +0 -163
  116. package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -24
  117. package/v2/get_corporations_corporation_id_contacts_ok.d.ts +0 -39
  118. package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -188
  119. package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -33
  120. package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -38
  121. package/v2/get_corporations_corporation_id_contracts_ok.d.ts +0 -117
  122. package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -78
  123. package/v2/get_corporations_corporation_id_divisions_ok.d.ts +0 -128
  124. package/v2/get_corporations_corporation_id_facilities_ok.d.ts +0 -25
  125. package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -60
  126. package/v2/get_corporations_corporation_id_icons_ok.d.ts +0 -22
  127. package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -105
  128. package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -24
  129. package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -41
  130. package/v2/get_corporations_corporation_id_medals_ok.d.ts +0 -36
  131. package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +0 -7
  132. package/v2/get_corporations_corporation_id_members_ok.d.ts +0 -9
  133. package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +0 -194
  134. package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +0 -41
  135. package/v2/get_corporations_corporation_id_ok.d.ts +0 -66
  136. package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +0 -91
  137. package/v2/get_corporations_corporation_id_orders_ok.d.ts +0 -86
  138. package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +0 -171
  139. package/v2/get_corporations_corporation_id_roles_ok.d.ts +0 -543
  140. package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +0 -29
  141. package/v2/get_corporations_corporation_id_standings_ok.d.ts +0 -29
  142. package/v2/get_corporations_corporation_id_starbases_ok.d.ts +0 -51
  143. package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -110
  144. package/v2/get_corporations_corporation_id_structures_ok.d.ts +0 -176
  145. package/v2/get_corporations_corporation_id_titles_ok.d.ts +0 -548
  146. package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -229
  147. package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -50
  148. package/v2/get_corporations_corporation_id_wallets_ok.d.ts +0 -62
  149. package/v2/get_corporations_npccorps_ok.d.ts +0 -9
  150. package/v2/get_dogma_attributes_attribute_id_ok.d.ts +0 -50
  151. package/v2/get_dogma_attributes_ok.d.ts +0 -9
  152. package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -58
  153. package/v2/get_dogma_effects_effect_id_ok.d.ts +0 -127
  154. package/v2/get_dogma_effects_ok.d.ts +0 -9
  155. package/v2/get_fleets_fleet_id_members_ok.d.ts +0 -54
  156. package/v2/get_fleets_fleet_id_ok.d.ts +0 -26
  157. package/v2/get_fleets_fleet_id_wings_ok.d.ts +0 -45
  158. package/v2/get_fw_leaderboards_characters_ok.d.ts +0 -110
  159. package/v2/get_fw_leaderboards_corporations_ok.d.ts +0 -109
  160. package/v2/get_fw_leaderboards_ok.d.ts +0 -182
  161. package/v2/get_fw_stats_ok.d.ts +0 -66
  162. package/v2/get_fw_systems_ok.d.ts +0 -41
  163. package/v2/get_fw_wars_ok.d.ts +0 -24
  164. package/v2/get_industry_facilities_ok.d.ts +0 -37
  165. package/v2/get_industry_systems_ok.d.ts +0 -119
  166. package/v2/get_insurance_prices_ok.d.ts +0 -62
  167. package/v2/get_markets_groups_market_group_id_ok.d.ts +0 -27
  168. package/v2/get_markets_groups_ok.d.ts +0 -9
  169. package/v2/get_markets_prices_ok.d.ts +0 -25
  170. package/v2/get_markets_region_id_history_ok.d.ts +0 -40
  171. package/v2/get_markets_region_id_orders_ok.d.ts +0 -74
  172. package/v2/get_markets_region_id_types_ok.d.ts +0 -9
  173. package/v2/get_markets_structures_structure_id_ok.d.ts +0 -70
  174. package/v2/get_opportunities_groups_group_id_ok.d.ts +0 -38
  175. package/v2/get_opportunities_groups_ok.d.ts +0 -9
  176. package/v2/get_opportunities_tasks_ok.d.ts +0 -9
  177. package/v2/get_opportunities_tasks_task_id_ok.d.ts +0 -26
  178. package/v2/get_route_origin_destination_ok.d.ts +0 -9
  179. package/v2/get_sovereignty_campaigns_ok.d.ts +0 -83
  180. package/v2/get_sovereignty_map_ok.d.ts +0 -32
  181. package/v2/get_sovereignty_structures_ok.d.ts +0 -46
  182. package/v2/get_universe_ancestries_ok.d.ts +0 -40
  183. package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -37
  184. package/v2/get_universe_bloodlines_ok.d.ts +0 -57
  185. package/v2/get_universe_categories_category_id_ok.d.ts +0 -28
  186. package/v2/get_universe_categories_ok.d.ts +0 -9
  187. package/v2/get_universe_constellations_constellation_id_ok.d.ts +0 -47
  188. package/v2/get_universe_constellations_ok.d.ts +0 -9
  189. package/v2/get_universe_factions_ok.d.ts +0 -56
  190. package/v2/get_universe_graphics_graphic_id_ok.d.ts +0 -42
  191. package/v2/get_universe_graphics_ok.d.ts +0 -9
  192. package/v2/get_universe_groups_group_id_ok.d.ts +0 -27
  193. package/v2/get_universe_groups_ok.d.ts +0 -9
  194. package/v2/get_universe_moons_moon_id_ok.d.ts +0 -41
  195. package/v2/get_universe_planets_planet_id_ok.d.ts +0 -42
  196. package/v2/get_universe_races_ok.d.ts +0 -52
  197. package/v2/get_universe_regions_ok.d.ts +0 -9
  198. package/v2/get_universe_regions_region_id_ok.d.ts +0 -28
  199. package/v2/get_universe_schematics_schematic_id_ok.d.ts +0 -18
  200. package/v2/get_universe_stargates_stargate_id_ok.d.ts +0 -57
  201. package/v2/get_universe_stars_star_id_ok.d.ts +0 -129
  202. package/v2/get_universe_stations_station_id_ok.d.ts +0 -104
  203. package/v2/get_universe_structures_ok.d.ts +0 -9
  204. package/v2/get_universe_structures_structure_id_ok.d.ts +0 -43
  205. package/v2/get_universe_system_jumps_ok.d.ts +0 -24
  206. package/v2/get_universe_system_kills_ok.d.ts +0 -32
  207. package/v2/get_universe_systems_ok.d.ts +0 -9
  208. package/v2/get_universe_systems_system_id_ok.d.ts +0 -94
  209. package/v2/get_universe_types_ok.d.ts +0 -9
  210. package/v2/get_universe_types_type_id_ok.d.ts +0 -105
  211. package/v2/get_wars_ok.d.ts +0 -9
  212. package/v2/get_wars_war_id_killmails_ok.d.ts +0 -24
  213. package/v2/post_characters_affiliation_ok.d.ts +0 -32
  214. package/v2/post_characters_character_id_assets_locations_ok.d.ts +0 -39
  215. package/v2/post_characters_character_id_assets_names_ok.d.ts +0 -24
  216. package/v2/post_characters_character_id_contacts_created.d.ts +0 -9
  217. package/v2/post_characters_character_id_cspa_created.d.ts +0 -7
  218. package/v2/post_characters_character_id_fittings_created.d.ts +0 -14
  219. package/v2/post_characters_character_id_mail_created.d.ts +0 -7
  220. package/v2/post_characters_character_id_mail_labels_created.d.ts +0 -7
  221. package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -39
  222. package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +0 -24
  223. package/v2/post_fleets_fleet_id_wings_created.d.ts +0 -14
  224. package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -14
  225. package/v2/post_universe_ids_ok.d.ts +0 -86
  226. package/v2/post_universe_names_ok.d.ts +0 -38
  227. /package/v2/{extra-types.d.ts → globals/extra-types.d.ts} +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,182 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [3.2.0] - 2025-4-17
6
+
7
+ ### Added
8
+ - New experimental utility type `InferNextEndpoint` (beta).
9
+
10
+ ### Changed
11
+ - Until now, DTS files were written for each method and endpoint,
12
+ but from this version, DTS files are written collectively by "tag".
13
+
14
+ ### Maintenance
15
+ - Confirmed removal of the unused "opportunities" ESI endpoint, as per official deprecation notice.
16
+
17
+
18
+ ### ⚙️ Miscellaneous Tasks
19
+
20
+ - Update keywords
21
+ - Required flags (jsconfig.json)
22
+
23
+ ## [3.1.7] - 2025-04-05
24
+
25
+ ### 🐛 Bug Fixes
26
+
27
+ - Update broken documentation link
28
+
29
+ ## [3.1.6] - 2025-04-05
30
+
31
+ ### 📚 Documentation
32
+
33
+ - Add Markdown documentation link
34
+
35
+ ## [3.1.5] - 2025-04-04
36
+
37
+ ### ⚙️ Miscellaneous Tasks
38
+
39
+ - Added utility type documentation (markdown)
40
+
41
+ ## [3.1.4] - 2025-04-04
42
+
43
+ ### 🚀 Features
44
+
45
+ - Added new type `TESIEnhancedRequestFunctionSignature`
46
+
47
+ ### 🐛 Bug Fixes
48
+
49
+ - `RestrictKeys`, `RequireThese`
50
+
51
+ ### 🚜 Refactor
52
+
53
+ - *(types)* Add constraint to `TESIRequestFunctionSignature2` to ensure `ActualOpt` extends `Record<string, unknown>`
54
+ - `IdentifyParameters`
55
+
56
+ ### ⚙️ Miscellaneous Tasks
57
+
58
+ - Lint
59
+
60
+ ## [3.1.3] - 2025-03-24
61
+
62
+ ### 🐛 Bug Fixes
63
+
64
+ - Ensure intended behavior by deliberately triggering semantic error
65
+
66
+ ## [3.1.2] - 2025-03-17
67
+
68
+ ### 💼 Other
69
+
70
+ - Update README.md and add docs/esi-tagged-types.md
71
+
72
+ ## [3.1.1] - 2025-03-17
73
+
74
+ ### 🐛 Bug Fixes
75
+
76
+ - Incomplete `TaggedEndpointRequestFunction2` type
77
+
78
+ ## [3.1.0] - 2025-03-17
79
+
80
+ ### 💼 Other
81
+
82
+ - Significant enhancements to the main utility type for improved functionality
83
+
84
+ ### ⚙️ Miscellaneous Tasks
85
+
86
+ - Update README.md, esi-types-util3.md
87
+ - Update to version 3.1
88
+
89
+ ## [3.0.4] - 2025-03-14
90
+
91
+ ### ⚙️ Miscellaneous Tasks
92
+
93
+ - Explain `TESIRequestFunctionSignature2` rest parameter `options` behavior
94
+
95
+ ## [3.0.3] - 2025-03-14
96
+
97
+ ### 🚜 Refactor
98
+
99
+ - Enable determination of whether `Opt` is required or optional using the `HasOpt` generics parameter
100
+
101
+ ## [3.0.2] - 2025-03-14
102
+
103
+ ### 🚜 Refactor
104
+
105
+ - Apply minItems and maxItems restrictions
106
+
107
+ ## [3.0.1] - 2025-03-13
108
+
109
+ ### ⚙️ Miscellaneous Tasks
110
+
111
+ - About `decoreateESIRequestBody`
112
+
113
+ ## [3.0.0] - 2025-03-13
114
+
115
+ ### 🚀 Features
116
+
117
+ - Update README for v3.0.0 new features
118
+
119
+ ## [2.3.5] - 2025-03-10
120
+
121
+ ### 🚀 Features
122
+
123
+ - Added `cachedSeconds` member from "x-cached-seconds", new utility type `TESICachedSeconds`
124
+
125
+ ### 🐛 Bug Fixes
126
+
127
+ - Typo ESIRequesError -> ESIRequestError
128
+
129
+ ### 🚜 Refactor
130
+
131
+ - Enum to type, `EInferSomethingBy`
132
+
133
+ ## [2.3.4] - 2025-03-10
134
+
135
+ ### 🐛 Bug Fixes
136
+
137
+ - Logger problem
138
+
139
+ ### 🚜 Refactor
140
+
141
+ - Add lib/constants.mjs
142
+
143
+ ### ⚙️ Miscellaneous Tasks
144
+
145
+ - Jsdoc of `initOptions`, refactor `injectESIRequestBody`
146
+ - ESITagsWithMethodList -> ESITagMethodMapping
147
+ - Apply `Object.freeze` to result of `injectESIRequestBody`
148
+ - *(release)* V2.3.4 release
149
+
150
+ ## [2.3.3] - 2025-03-05
151
+
152
+ ### ⚙️ Miscellaneous Tasks
153
+
154
+ - Add support for web browsers
155
+ - Add comment regarding the importance of setting the language parameter
156
+ - Add "index.html" for web testing
157
+
158
+ ## [2.3.2] - 2025-03-04
159
+
160
+ ### 🚜 Refactor
161
+
162
+ - Introduce ESI Error handling via "lib/esi-error-types.d.ts"
163
+
164
+ ## [2.3.1] - 2025-03-02
165
+
166
+ ### 💼 Other
167
+
168
+ - Added "v2/esi-tagged-types.d.ts" to define ESI tagged request types
169
+ - Fix missing pragma "/// <reference types='../v2/esi-tagged-types'/>"
170
+
171
+ ### 🚜 Refactor
172
+
173
+ - Small improvements
174
+ - Utility type - v2/esi-tagged-types.d.ts
175
+ - `IfParameterizedPath` improved
176
+
177
+ ## [2.2.5] - 2025-02-12
178
+
179
+ ### ⚙️ Miscellaneous Tasks
180
+
181
+ - Remove non-functional bookmarks endpoints in ESI
182
+
package/jsconfig.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // This flag is required
5
+ "skipLibCheck": true,
6
+ // This flag is required
7
+ "checkJs": true,
8
+ // This flag is required
9
+ "strict": true,
10
+ "noEmit": true,
11
+ // "skipDefaultLibCheck": true,
12
+ // "target": "esnext",
13
+ // "module": "esnext",
14
+ // "diagnostics": true,
15
+ // "moduleResolution": "node",
16
+ "rootDirs": [
17
+ "./"
18
+ ]
19
+ },
20
+ "include": [
21
+ "./*.mjs",
22
+ "./lib/*.mjs",
23
+ // "./lib/*.d.mts",
24
+ "./v2/**/*.d.ts"
25
+ ],
26
+ "exclude": [
27
+ ]
28
+ }
package/lib/rq-util.mjs CHANGED
@@ -276,7 +276,7 @@ export const fetchP = async (endpointUrl, rqopt, usp, pc, increment = () => { })
276
276
  export const replaceCbt = (endpoint, ids) => {
277
277
  let idx = 0;
278
278
  // @ts-expect-error
279
- return endpoint.replace(/{([\w]+)}/g, $0 => ids[idx++] + "");
279
+ return endpoint.replace(/{([\w]+)}/g, () => ids[idx++] + "");
280
280
  };
281
281
  /**
282
282
  * @template {unknown} T
@@ -28,12 +28,11 @@ const ESITagMethodMapping = [
28
28
  "Insurance:get", "Killmails:get",
29
29
  "Location:get", "Loyalty:get",
30
30
  "Mail:get,post,put,delete", "Market:get",
31
- "Opportunities:get", "Planetary Interaction:get",
32
- "Routes:get", "Search:get",
33
- "Skills:get", "Sovereignty:get",
34
- "Status:get", "Universe:get,post",
35
- "User Interface:post", "Wallet:get",
36
- "Wars:get"
31
+ "Planetary Interaction:get", "Routes:get",
32
+ "Search:get", "Skills:get",
33
+ "Sovereignty:get", "Status:get",
34
+ "Universe:get,post", "User Interface:post",
35
+ "Wallet:get", "Wars:get"
37
36
  ];
38
37
  /**
39
38
  * Decorates the ESI request body into a tagged ESI request map.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve-esi-types",
3
- "version": "3.1.6",
3
+ "version": "3.2.0",
4
4
  "description": "Extracted the main type of ESI. use for ESI request response types (version 2 only)",
5
5
  "main": "v2/index.d.ts",
6
6
  "scripts": {
@@ -15,22 +15,28 @@
15
15
  "v2",
16
16
  "lib",
17
17
  "web",
18
- "docs",
19
18
  "*.d.mts",
20
19
  "*.mjs",
21
20
  "LICENSE",
22
21
  "*.md",
23
22
  "package.json",
24
- "tsconfig.json"
23
+ "jsconfig.json"
25
24
  ],
26
25
  "keywords": [
27
- "eve",
28
- "esi",
29
- "swagger",
30
- "request",
31
26
  "api",
27
+ "esi",
28
+ "eve",
32
29
  "types",
33
- "eve online"
30
+ "esi-api",
31
+ "eve-esi",
32
+ "swagger",
33
+ "api-types",
34
+ "eve online",
35
+ "eve-online",
36
+ "typescript",
37
+ "eve-swagger",
38
+ "swagger-types",
39
+ "typescript-definitions"
34
40
  ],
35
41
  "author": "jeffy-g",
36
42
  "license": "MIT",
@@ -9,10 +9,10 @@
9
9
  * THIS DTS IS AUTO GENERATED, DO NOT EDIT
10
10
  *
11
11
  * @file eve-esi-types/v2/esi-tagged-types.d.ts
12
- * @summary This file is auto-generated and defines version 3.1.6 of the EVE Online ESI response types.
12
+ * @summary This file is auto-generated and defines version 3.2.0 of the EVE Online ESI response types.
13
13
  */
14
- import { TESIResponseOKMap } from "./index.d.ts";
15
- export * from "./index.d.ts";
14
+ import type { TESIResponseOKMap } from "./index.d.ts";
15
+ export type * from "./index.d.ts";
16
16
 
17
17
  /**
18
18
  * Converts a string to lower camel case.
@@ -49,7 +49,11 @@ declare type InferSomethingBy<Tag, AsType extends InferSomethingByBrand = InferS
49
49
  * @template M - The HTTP method.
50
50
  * @date 2025/2/28
51
51
  */
52
- export declare type ESITags = InferSomethingBy<never, InferSomethingByTags>
52
+ export declare type ESITags = InferSomethingBy<never, InferSomethingByTags>;
53
+ /**
54
+ * @date 2025/4/12
55
+ */
56
+ export declare type LESITags = LCamelCase<ESITags>;
53
57
 
54
58
  // - - - - - - - - - - - - - - - - - - - - - - - - - -
55
59
  // Utility Type `InferMethod`
@@ -60,7 +64,7 @@ export declare type ESITags = InferSomethingBy<never, InferSomethingByTags>
60
64
  * @template Tag - The tag to infer the method for.
61
65
  * @date 2025/2/28
62
66
  */
63
- export declare type InferMethod<Tag> = InferSomethingBy<Tag>
67
+ export declare type InferMethod<Tag> = InferSomethingBy<Tag>;
64
68
  /* ctt
65
69
  type XAssets = InferMethod<"Assets">;
66
70
  type XContacts = InferMethod<"Contacts">;
@@ -1,3 +1,18 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/alliances/
8
+ */
9
+ /**
10
+ * 200 ok array
11
+ *
12
+ * @maxItems 5000
13
+ */
14
+ type GetAlliancesOk = number[];
15
+
1
16
  /*!
2
17
  * ESI endpoint: get:/alliances/{alliance_id}/
3
18
  */
@@ -36,3 +51,32 @@ interface GetAlliancesAllianceIdOk {
36
51
  ticker: string;
37
52
  [k: string]: unknown | undefined;
38
53
  }
54
+
55
+ /*!
56
+ * ESI endpoint: get:/alliances/{alliance_id}/corporations/
57
+ */
58
+ /**
59
+ * 200 ok array
60
+ *
61
+ * @maxItems 1000
62
+ */
63
+ type GetAlliancesAllianceIdCorporationsOk = number[];
64
+
65
+ /*!
66
+ * ESI endpoint: get:/alliances/{alliance_id}/icons/
67
+ */
68
+
69
+ /**
70
+ * 200 ok object
71
+ */
72
+ interface GetAlliancesAllianceIdIconsOk {
73
+ /**
74
+ * px128x128 string
75
+ */
76
+ px128x128?: string;
77
+ /**
78
+ * px64x64 string
79
+ */
80
+ px64x64?: string;
81
+ [k: string]: unknown | undefined;
82
+ }