eve-esi-types 1.0.1 → 1.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 (205) hide show
  1. package/README.md +28 -2
  2. package/esi-request.d.mts +58 -0
  3. package/esi-request.mjs +44 -8
  4. package/package.json +12 -3
  5. package/src/get_alliances_alliance_id_contacts_labels_ok.d.ts +10 -13
  6. package/src/get_alliances_alliance_id_contacts_ok.d.ts +16 -24
  7. package/src/get_alliances_alliance_id_corporations_ok.d.ts +3 -8
  8. package/src/get_alliances_alliance_id_icons_ok.d.ts +10 -13
  9. package/src/get_alliances_alliance_id_ok.d.ts +30 -38
  10. package/src/get_alliances_ok.d.ts +3 -8
  11. package/src/get_characters_character_id_agents_research_ok.d.ts +19 -28
  12. package/src/get_characters_character_id_assets_ok.d.ts +23 -33
  13. package/src/get_characters_character_id_attributes_ok.d.ts +34 -43
  14. package/src/get_characters_character_id_blueprints_ok.d.ts +27 -38
  15. package/src/get_characters_character_id_bookmarks_folders_ok.d.ts +10 -13
  16. package/src/get_characters_character_id_bookmarks_ok.d.ts +47 -63
  17. package/src/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +6 -8
  18. package/src/get_characters_character_id_calendar_event_id_ok.d.ts +38 -48
  19. package/src/get_characters_character_id_calendar_ok.d.ts +18 -23
  20. package/src/get_characters_character_id_clones_ok.d.ts +32 -44
  21. package/src/get_characters_character_id_contacts_labels_ok.d.ts +10 -13
  22. package/src/get_characters_character_id_contacts_ok.d.ts +24 -34
  23. package/src/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +18 -23
  24. package/src/get_characters_character_id_contracts_contract_id_items_ok.d.ts +23 -33
  25. package/src/get_characters_character_id_contracts_ok.d.ts +78 -98
  26. package/src/get_characters_character_id_corporationhistory_ok.d.ts +18 -23
  27. package/src/get_characters_character_id_fatigue_ok.d.ts +14 -18
  28. package/src/get_characters_character_id_fittings_ok.d.ts +20 -33
  29. package/src/get_characters_character_id_fleet_ok.d.ts +14 -18
  30. package/src/get_characters_character_id_fw_stats_ok.d.ts +42 -53
  31. package/src/get_characters_character_id_implants_ok.d.ts +3 -8
  32. package/src/get_characters_character_id_industry_jobs_ok.d.ts +80 -108
  33. package/src/get_characters_character_id_killmails_recent_ok.d.ts +10 -13
  34. package/src/get_characters_character_id_location_ok.d.ts +14 -18
  35. package/src/get_characters_character_id_loyalty_points_ok.d.ts +10 -13
  36. package/src/get_characters_character_id_mail_labels_ok.d.ts +18 -23
  37. package/src/get_characters_character_id_mail_lists_ok.d.ts +10 -13
  38. package/src/get_characters_character_id_mail_mail_id_ok.d.ts +32 -44
  39. package/src/get_characters_character_id_mail_ok.d.ts +32 -44
  40. package/src/get_characters_character_id_medals_ok.d.ts +46 -58
  41. package/src/get_characters_character_id_mining_ok.d.ts +15 -23
  42. package/src/get_characters_character_id_notifications_contacts_ok.d.ts +22 -28
  43. package/src/get_characters_character_id_notifications_ok.d.ts +22 -28
  44. package/src/get_characters_character_id_ok.d.ts +42 -53
  45. package/src/get_characters_character_id_online_ok.d.ts +18 -23
  46. package/src/get_characters_character_id_opportunities_ok.d.ts +10 -13
  47. package/src/get_characters_character_id_orders_history_ok.d.ts +51 -68
  48. package/src/get_characters_character_id_orders_ok.d.ts +51 -68
  49. package/src/get_characters_character_id_planets_ok.d.ts +26 -33
  50. package/src/get_characters_character_id_planets_planet_id_ok.d.ts +111 -151
  51. package/src/get_characters_character_id_portrait_ok.d.ts +18 -23
  52. package/src/get_characters_character_id_roles_ok.d.ts +2 -3
  53. package/src/get_characters_character_id_search_ok.d.ts +63 -124
  54. package/src/get_characters_character_id_ship_ok.d.ts +11 -18
  55. package/src/get_characters_character_id_skillqueue_ok.d.ts +34 -43
  56. package/src/get_characters_character_id_skills_ok.d.ts +26 -33
  57. package/src/get_characters_character_id_standings_ok.d.ts +10 -13
  58. package/src/get_characters_character_id_titles_ok.d.ts +10 -13
  59. package/src/get_characters_character_id_wallet_journal_ok.d.ts +46 -58
  60. package/src/get_characters_character_id_wallet_ok.d.ts +2 -3
  61. package/src/get_characters_character_id_wallet_transactions_ok.d.ts +39 -53
  62. package/src/get_contracts_public_bids_contract_id_ok.d.ts +14 -18
  63. package/src/get_contracts_public_items_contract_id_ok.d.ts +35 -48
  64. package/src/get_contracts_public_region_id_ok.d.ts +62 -78
  65. package/src/get_corporation_corporation_id_mining_extractions_ok.d.ts +25 -31
  66. package/src/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +21 -30
  67. package/src/get_corporation_corporation_id_mining_observers_ok.d.ts +11 -14
  68. package/src/get_corporations_corporation_id_alliancehistory_ok.d.ts +18 -23
  69. package/src/get_corporations_corporation_id_assets_ok.d.ts +23 -33
  70. package/src/get_corporations_corporation_id_blueprints_ok.d.ts +27 -38
  71. package/src/get_corporations_corporation_id_bookmarks_folders_ok.d.ts +14 -18
  72. package/src/get_corporations_corporation_id_bookmarks_ok.d.ts +47 -63
  73. package/src/get_corporations_corporation_id_contacts_labels_ok.d.ts +10 -13
  74. package/src/get_corporations_corporation_id_contacts_ok.d.ts +20 -29
  75. package/src/get_corporations_corporation_id_containers_logs_ok.d.ts +32 -48
  76. package/src/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +18 -23
  77. package/src/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +23 -33
  78. package/src/get_corporations_corporation_id_contracts_ok.d.ts +78 -98
  79. package/src/get_corporations_corporation_id_customs_offices_ok.d.ts +54 -68
  80. package/src/get_corporations_corporation_id_divisions_ok.d.ts +18 -23
  81. package/src/get_corporations_corporation_id_facilities_ok.d.ts +11 -18
  82. package/src/get_corporations_corporation_id_fw_stats_ok.d.ts +38 -48
  83. package/src/get_corporations_corporation_id_icons_ok.d.ts +14 -18
  84. package/src/get_corporations_corporation_id_industry_jobs_ok.d.ts +80 -108
  85. package/src/get_corporations_corporation_id_killmails_recent_ok.d.ts +10 -13
  86. package/src/get_corporations_corporation_id_medals_issued_ok.d.ts +22 -28
  87. package/src/get_corporations_corporation_id_medals_ok.d.ts +22 -28
  88. package/src/get_corporations_corporation_id_members_limit_ok.d.ts +2 -3
  89. package/src/get_corporations_corporation_id_members_ok.d.ts +3 -8
  90. package/src/get_corporations_corporation_id_members_titles_ok.d.ts +144 -147
  91. package/src/get_corporations_corporation_id_membertracking_ok.d.ts +27 -38
  92. package/src/get_corporations_corporation_id_ok.d.ts +58 -73
  93. package/src/get_corporations_corporation_id_orders_history_ok.d.ts +55 -73
  94. package/src/get_corporations_corporation_id_orders_ok.d.ts +55 -73
  95. package/src/get_corporations_corporation_id_roles_history_ok.d.ts +14 -18
  96. package/src/get_corporations_corporation_id_roles_ok.d.ts +6 -8
  97. package/src/get_corporations_corporation_id_shareholders_ok.d.ts +10 -13
  98. package/src/get_corporations_corporation_id_standings_ok.d.ts +10 -13
  99. package/src/get_corporations_corporation_id_starbases_ok.d.ts +27 -38
  100. package/src/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +35 -48
  101. package/src/get_corporations_corporation_id_structures_ok.d.ts +55 -73
  102. package/src/get_corporations_corporation_id_titles_ok.d.ts +10 -13
  103. package/src/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +46 -58
  104. package/src/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +35 -48
  105. package/src/get_corporations_corporation_id_wallets_ok.d.ts +10 -13
  106. package/src/get_corporations_npccorps_ok.d.ts +3 -8
  107. package/src/get_dogma_attributes_attribute_id_ok.d.ts +42 -53
  108. package/src/get_dogma_attributes_ok.d.ts +3 -8
  109. package/src/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +24 -38
  110. package/src/get_dogma_effects_effect_id_ok.d.ts +106 -133
  111. package/src/get_dogma_effects_ok.d.ts +3 -8
  112. package/src/get_fleets_fleet_id_members_ok.d.ts +35 -48
  113. package/src/get_fleets_fleet_id_ok.d.ts +18 -23
  114. package/src/get_fleets_fleet_id_wings_ok.d.ts +18 -23
  115. package/src/get_fw_leaderboards_characters_ok.d.ts +50 -63
  116. package/src/get_fw_leaderboards_corporations_ok.d.ts +50 -63
  117. package/src/get_fw_leaderboards_ok.d.ts +50 -63
  118. package/src/get_fw_stats_ok.d.ts +38 -48
  119. package/src/get_fw_systems_ok.d.ts +22 -28
  120. package/src/get_fw_wars_ok.d.ts +10 -13
  121. package/src/get_incursions_ok.d.ts +29 -44
  122. package/src/get_industry_facilities_ok.d.ts +23 -33
  123. package/src/get_industry_systems_ok.d.ts +10 -13
  124. package/src/get_insurance_prices_ok.d.ts +15 -23
  125. package/src/get_killmails_killmail_id_killmail_hash_ok.d.ts +128 -180
  126. package/src/get_loyalty_stores_corporation_id_offers_ok.d.ts +28 -43
  127. package/src/get_markets_groups_market_group_id_ok.d.ts +19 -34
  128. package/src/get_markets_groups_ok.d.ts +3 -8
  129. package/src/get_markets_prices_ok.d.ts +11 -18
  130. package/src/get_markets_region_id_history_ok.d.ts +26 -33
  131. package/src/get_markets_region_id_orders_ok.d.ts +43 -58
  132. package/src/get_markets_region_id_types_ok.d.ts +3 -8
  133. package/src/get_markets_structures_structure_id_ok.d.ts +39 -53
  134. package/src/get_opportunities_groups_group_id_ok.d.ts +30 -45
  135. package/src/get_opportunities_groups_ok.d.ts +3 -8
  136. package/src/get_opportunities_tasks_ok.d.ts +3 -8
  137. package/src/get_opportunities_tasks_task_id_ok.d.ts +18 -23
  138. package/src/get_route_origin_destination_ok.d.ts +3 -8
  139. package/src/get_sovereignty_campaigns_ok.d.ts +49 -60
  140. package/src/get_sovereignty_map_ok.d.ts +18 -23
  141. package/src/get_sovereignty_structures_ok.d.ts +32 -44
  142. package/src/get_status_ok.d.ts +18 -23
  143. package/src/get_universe_ancestries_ok.d.ts +26 -33
  144. package/src/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +22 -28
  145. package/src/get_universe_bloodlines_ok.d.ts +43 -58
  146. package/src/get_universe_categories_category_id_ok.d.ts +20 -29
  147. package/src/get_universe_categories_ok.d.ts +3 -8
  148. package/src/get_universe_constellations_constellation_id_ok.d.ts +32 -44
  149. package/src/get_universe_constellations_ok.d.ts +3 -8
  150. package/src/get_universe_factions_ok.d.ts +42 -53
  151. package/src/get_universe_graphics_graphic_id_ok.d.ts +34 -43
  152. package/src/get_universe_graphics_ok.d.ts +3 -8
  153. package/src/get_universe_groups_group_id_ok.d.ts +19 -34
  154. package/src/get_universe_groups_ok.d.ts +3 -8
  155. package/src/get_universe_moons_moon_id_ok.d.ts +26 -33
  156. package/src/get_universe_planets_planet_id_ok.d.ts +27 -38
  157. package/src/get_universe_races_ok.d.ts +18 -23
  158. package/src/get_universe_regions_ok.d.ts +3 -8
  159. package/src/get_universe_regions_region_id_ok.d.ts +20 -29
  160. package/src/get_universe_schematics_schematic_id_ok.d.ts +10 -13
  161. package/src/get_universe_stargates_stargate_id_ok.d.ts +35 -48
  162. package/src/get_universe_stars_star_id_ok.d.ts +27 -38
  163. package/src/get_universe_stations_station_id_ok.d.ts +51 -68
  164. package/src/get_universe_structures_ok.d.ts +3 -8
  165. package/src/get_universe_structures_structure_id_ok.d.ts +27 -38
  166. package/src/get_universe_system_jumps_ok.d.ts +10 -13
  167. package/src/get_universe_system_kills_ok.d.ts +18 -23
  168. package/src/get_universe_systems_ok.d.ts +3 -8
  169. package/src/get_universe_systems_system_id_ok.d.ts +66 -97
  170. package/src/get_universe_types_ok.d.ts +3 -8
  171. package/src/get_universe_types_type_id_ok.d.ts +71 -93
  172. package/src/get_wars_ok.d.ts +3 -8
  173. package/src/get_wars_war_id_killmails_ok.d.ts +10 -13
  174. package/src/get_wars_war_id_ok.d.ts +70 -88
  175. package/src/index.d.ts +42 -26
  176. package/src/post_characters_affiliation_ok.d.ts +18 -23
  177. package/src/post_characters_character_id_assets_locations_ok.d.ts +18 -23
  178. package/src/post_characters_character_id_assets_names_ok.d.ts +10 -13
  179. package/src/post_characters_character_id_contacts_created.d.ts +3 -8
  180. package/src/post_characters_character_id_cspa_created.d.ts +2 -3
  181. package/src/post_characters_character_id_fittings_created.d.ts +6 -8
  182. package/src/post_characters_character_id_mail_created.d.ts +2 -3
  183. package/src/post_characters_character_id_mail_labels_created.d.ts +2 -3
  184. package/src/post_corporations_corporation_id_assets_locations_ok.d.ts +18 -23
  185. package/src/post_corporations_corporation_id_assets_names_ok.d.ts +10 -13
  186. package/src/post_fleets_fleet_id_wings_created.d.ts +6 -8
  187. package/src/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +6 -8
  188. package/src/post_universe_ids_ok.d.ts +83 -238
  189. package/src/post_universe_names_ok.d.ts +10 -13
  190. package/tsconfig.json +1 -0
  191. package/esi-request.mts +0 -309
  192. package/src/post_characters_character_id_contacts_contact_ids.d.ts +0 -18
  193. package/src/post_characters_character_id_cspa_characters.d.ts +0 -18
  194. package/src/post_characters_character_id_fittings_fitting.d.ts +0 -101
  195. package/src/post_characters_character_id_mail_labels_label.d.ts +0 -39
  196. package/src/post_characters_character_id_mail_mail.d.ts +0 -53
  197. package/src/post_fleets_fleet_id_members_invitation.d.ts +0 -31
  198. package/src/post_ui_openwindow_newmail_new_mail.d.ts +0 -46
  199. package/src/put_characters_character_id_calendar_event_id_response.d.ts +0 -16
  200. package/src/put_characters_character_id_contacts_contact_ids.d.ts +0 -18
  201. package/src/put_characters_character_id_mail_mail_id_contents.d.ts +0 -27
  202. package/src/put_fleets_fleet_id_members_member_id_movement.d.ts +0 -30
  203. package/src/put_fleets_fleet_id_new_settings.d.ts +0 -21
  204. package/src/put_fleets_fleet_id_squads_squad_id_naming.d.ts +0 -16
  205. package/src/put_fleets_fleet_id_wings_wing_id_naming.d.ts +0 -16
@@ -1,15 +1,6 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/assets/names/
3
- */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCharactersCharacterIdAssetsNamesItemId = number;
9
- /**
10
- * name string
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/assets/names/
11
3
  */
12
- type PostCharactersCharacterIdAssetsNamesName = string;
13
4
  /**
14
5
  * 200 ok array
15
6
  *
@@ -21,7 +12,13 @@ type PostCharactersCharacterIdAssetsNamesOk = PostCharactersCharacterIdAssetsNam
21
12
  * 200 ok object
22
13
  */
23
14
  interface PostCharactersCharacterIdAssetsNames_200Ok {
24
- item_id: PostCharactersCharacterIdAssetsNamesItemId;
25
- name: PostCharactersCharacterIdAssetsNamesName;
15
+ /**
16
+ * item_id integer
17
+ */
18
+ item_id: number;
19
+ /**
20
+ * name string
21
+ */
22
+ name: string;
26
23
  [k: string]: unknown | undefined;
27
24
  }
@@ -1,14 +1,9 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/contacts/
3
- */
4
-
5
- /**
6
- * 201 created integer
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/contacts/
7
3
  */
8
- type PostCharactersCharacterIdContacts_201Created = number;
9
4
  /**
10
5
  * 201 created array
11
6
  *
12
7
  * @maxItems 100
13
8
  */
14
- type PostCharactersCharacterIdContactsCreated = PostCharactersCharacterIdContacts_201Created[];
9
+ type PostCharactersCharacterIdContactsCreated = number[];
@@ -1,7 +1,6 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/cspa/
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/cspa/
3
3
  */
4
-
5
4
  /**
6
5
  * 201 created number
7
6
  */
@@ -1,16 +1,14 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/fittings/
3
- */
4
-
5
- /**
6
- * fitting_id integer
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/fittings/
7
3
  */
8
- type PostCharactersCharacterIdFittingsFittingId = number;
9
4
 
10
5
  /**
11
6
  * 201 created object
12
7
  */
13
8
  interface PostCharactersCharacterIdFittingsCreated {
14
- fitting_id: PostCharactersCharacterIdFittingsFittingId;
9
+ /**
10
+ * fitting_id integer
11
+ */
12
+ fitting_id: number;
15
13
  [k: string]: unknown | undefined;
16
14
  }
@@ -1,7 +1,6 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/mail/
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/mail/
3
3
  */
4
-
5
4
  /**
6
5
  * Mail ID
7
6
  */
@@ -1,7 +1,6 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/mail/labels/
1
+ /*!
2
+ * ESI endpoint: post:/characters/{character_id}/mail/labels/
3
3
  */
4
-
5
4
  /**
6
5
  * Label ID
7
6
  */
@@ -1,23 +1,6 @@
1
- /**
2
- * ESI endpoint: /corporations/{corporation_id}/assets/locations/
3
- */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCorporationsCorporationIdAssetsLocationsItemId = number;
9
- /**
10
- * x number
11
- */
12
- type PostCorporationsCorporationIdAssetsLocationsX = number;
13
- /**
14
- * y number
15
- */
16
- type PostCorporationsCorporationIdAssetsLocationsY = number;
17
- /**
18
- * z number
1
+ /*!
2
+ * ESI endpoint: post:/corporations/{corporation_id}/assets/locations/
19
3
  */
20
- type PostCorporationsCorporationIdAssetsLocationsZ = number;
21
4
  /**
22
5
  * 200 ok array
23
6
  *
@@ -29,7 +12,10 @@ type PostCorporationsCorporationIdAssetsLocationsOk = PostCorporationsCorporatio
29
12
  * 200 ok object
30
13
  */
31
14
  interface PostCorporationsCorporationIdAssetsLocations_200Ok {
32
- item_id: PostCorporationsCorporationIdAssetsLocationsItemId;
15
+ /**
16
+ * item_id integer
17
+ */
18
+ item_id: number;
33
19
  position: PostCorporationsCorporationIdAssetsLocationsPosition;
34
20
  [k: string]: unknown | undefined;
35
21
  }
@@ -37,8 +23,17 @@ interface PostCorporationsCorporationIdAssetsLocations_200Ok {
37
23
  * position object
38
24
  */
39
25
  interface PostCorporationsCorporationIdAssetsLocationsPosition {
40
- x: PostCorporationsCorporationIdAssetsLocationsX;
41
- y: PostCorporationsCorporationIdAssetsLocationsY;
42
- z: PostCorporationsCorporationIdAssetsLocationsZ;
26
+ /**
27
+ * x number
28
+ */
29
+ x: number;
30
+ /**
31
+ * y number
32
+ */
33
+ y: number;
34
+ /**
35
+ * z number
36
+ */
37
+ z: number;
43
38
  [k: string]: unknown | undefined;
44
39
  }
@@ -1,15 +1,6 @@
1
- /**
2
- * ESI endpoint: /corporations/{corporation_id}/assets/names/
3
- */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCorporationsCorporationIdAssetsNamesItemId = number;
9
- /**
10
- * name string
1
+ /*!
2
+ * ESI endpoint: post:/corporations/{corporation_id}/assets/names/
11
3
  */
12
- type PostCorporationsCorporationIdAssetsNamesName = string;
13
4
  /**
14
5
  * 200 ok array
15
6
  *
@@ -21,7 +12,13 @@ type PostCorporationsCorporationIdAssetsNamesOk = PostCorporationsCorporationIdA
21
12
  * 200 ok object
22
13
  */
23
14
  interface PostCorporationsCorporationIdAssetsNames_200Ok {
24
- item_id: PostCorporationsCorporationIdAssetsNamesItemId;
25
- name: PostCorporationsCorporationIdAssetsNamesName;
15
+ /**
16
+ * item_id integer
17
+ */
18
+ item_id: number;
19
+ /**
20
+ * name string
21
+ */
22
+ name: string;
26
23
  [k: string]: unknown | undefined;
27
24
  }
@@ -1,16 +1,14 @@
1
- /**
2
- * ESI endpoint: /fleets/{fleet_id}/wings/
3
- */
4
-
5
- /**
6
- * The wing_id of the newly created wing
1
+ /*!
2
+ * ESI endpoint: post:/fleets/{fleet_id}/wings/
7
3
  */
8
- type PostFleetsFleetIdWingsWingId = number;
9
4
 
10
5
  /**
11
6
  * 201 created object
12
7
  */
13
8
  interface PostFleetsFleetIdWingsCreated {
14
- wing_id: PostFleetsFleetIdWingsWingId;
9
+ /**
10
+ * The wing_id of the newly created wing
11
+ */
12
+ wing_id: number;
15
13
  [k: string]: unknown | undefined;
16
14
  }
@@ -1,16 +1,14 @@
1
- /**
2
- * ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/squads/
3
- */
4
-
5
- /**
6
- * The squad_id of the newly created squad
1
+ /*!
2
+ * ESI endpoint: post:/fleets/{fleet_id}/wings/{wing_id}/squads/
7
3
  */
8
- type PostFleetsFleetIdWingsWingIdSquadsSquadId = number;
9
4
 
10
5
  /**
11
6
  * 201 created object
12
7
  */
13
8
  interface PostFleetsFleetIdWingsWingIdSquadsCreated {
14
- squad_id: PostFleetsFleetIdWingsWingIdSquadsSquadId;
9
+ /**
10
+ * The squad_id of the newly created squad
11
+ */
12
+ squad_id: number;
15
13
  [k: string]: unknown | undefined;
16
14
  }
@@ -1,241 +1,86 @@
1
- /**
2
- * ESI endpoint: /universe/ids/
1
+ /*!
2
+ * ESI endpoint: post:/universe/ids/
3
3
  */
4
4
 
5
5
  /**
6
- * id integer
7
- */
8
- type PostUniverseIdsId = number;
9
- /**
10
- * name string
11
- */
12
- type PostUniverseIdsName = string;
13
- /**
14
- * agents array
15
- *
16
- * @maxItems 500
17
- */
18
- type PostUniverseIdsAgents = PostUniverseIdsAgent[];
19
- /**
20
- * id integer
21
- */
22
- type PostUniverseIdsAllianceId = number;
23
- /**
24
- * name string
25
- */
26
- type PostUniverseIdsAllianceName = string;
27
- /**
28
- * alliances array
29
- *
30
- * @maxItems 500
31
- */
32
- type PostUniverseIdsAlliances = PostUniverseIdsAlliance[];
33
- /**
34
- * id integer
35
- */
36
- type PostUniverseIdsCharacterId = number;
37
- /**
38
- * name string
39
- */
40
- type PostUniverseIdsCharacterName = string;
41
- /**
42
- * characters array
43
- *
44
- * @maxItems 500
45
- */
46
- type PostUniverseIdsCharacters = PostUniverseIdsCharacter[];
47
- /**
48
- * id integer
49
- */
50
- type PostUniverseIdsConstellationId = number;
51
- /**
52
- * name string
53
- */
54
- type PostUniverseIdsConstellationName = string;
55
- /**
56
- * constellations array
57
- *
58
- * @maxItems 500
59
- */
60
- type PostUniverseIdsConstellations = PostUniverseIdsConstellation[];
61
- /**
62
- * id integer
63
- */
64
- type PostUniverseIdsCorporationId = number;
65
- /**
66
- * name string
67
- */
68
- type PostUniverseIdsCorporationName = string;
69
- /**
70
- * corporations array
71
- *
72
- * @maxItems 500
73
- */
74
- type PostUniverseIdsCorporations = PostUniverseIdsCorporation[];
75
- /**
76
- * id integer
77
- */
78
- type PostUniverseIdsFactionId = number;
79
- /**
80
- * name string
81
- */
82
- type PostUniverseIdsFactionName = string;
83
- /**
84
- * factions array
85
- *
86
- * @maxItems 500
87
- */
88
- type PostUniverseIdsFactions = PostUniverseIdsFaction[];
89
- /**
90
- * id integer
91
- */
92
- type PostUniverseIdsInventoryTypeId = number;
93
- /**
94
- * name string
95
- */
96
- type PostUniverseIdsInventoryTypeName = string;
97
- /**
98
- * inventory_types array
99
- *
100
- * @maxItems 500
101
- */
102
- type PostUniverseIdsInventoryTypes = PostUniverseIdsInventoryType[];
103
- /**
104
- * id integer
105
- */
106
- type PostUniverseIdsRegionId = number;
107
- /**
108
- * name string
109
- */
110
- type PostUniverseIdsRegionName = string;
111
- /**
112
- * regions array
113
- *
114
- * @maxItems 500
115
- */
116
- type PostUniverseIdsRegions = PostUniverseIdsRegion[];
117
- /**
118
- * id integer
119
- */
120
- type PostUniverseIdsStationId = number;
121
- /**
122
- * name string
123
- */
124
- type PostUniverseIdsStationName = string;
125
- /**
126
- * stations array
127
- *
128
- * @maxItems 500
129
- */
130
- type PostUniverseIdsStations = PostUniverseIdsStation[];
131
- /**
132
- * id integer
133
- */
134
- type PostUniverseIdsSystemId = number;
135
- /**
136
- * name string
137
- */
138
- type PostUniverseIdsSystemName = string;
139
- /**
140
- * systems array
141
- *
142
- * @maxItems 500
143
- */
144
- type PostUniverseIdsSystems = PostUniverseIdsSystem[];
145
-
146
- /**
147
- * 200 ok object
148
- */
149
- interface PostUniverseIdsOk {
150
- agents?: PostUniverseIdsAgents;
151
- alliances?: PostUniverseIdsAlliances;
152
- characters?: PostUniverseIdsCharacters;
153
- constellations?: PostUniverseIdsConstellations;
154
- corporations?: PostUniverseIdsCorporations;
155
- factions?: PostUniverseIdsFactions;
156
- inventory_types?: PostUniverseIdsInventoryTypes;
157
- regions?: PostUniverseIdsRegions;
158
- stations?: PostUniverseIdsStations;
159
- systems?: PostUniverseIdsSystems;
160
- [k: string]: unknown | undefined;
161
- }
162
- /**
163
- * agent object
164
- */
165
- interface PostUniverseIdsAgent {
166
- id?: PostUniverseIdsId;
167
- name?: PostUniverseIdsName;
168
- [k: string]: unknown | undefined;
169
- }
170
- /**
171
- * alliance object
172
- */
173
- interface PostUniverseIdsAlliance {
174
- id?: PostUniverseIdsAllianceId;
175
- name?: PostUniverseIdsAllianceName;
176
- [k: string]: unknown | undefined;
177
- }
178
- /**
179
- * character object
180
- */
181
- interface PostUniverseIdsCharacter {
182
- id?: PostUniverseIdsCharacterId;
183
- name?: PostUniverseIdsCharacterName;
184
- [k: string]: unknown | undefined;
185
- }
186
- /**
187
- * constellation object
188
- */
189
- interface PostUniverseIdsConstellation {
190
- id?: PostUniverseIdsConstellationId;
191
- name?: PostUniverseIdsConstellationName;
192
- [k: string]: unknown | undefined;
193
- }
194
- /**
195
- * corporation object
196
- */
197
- interface PostUniverseIdsCorporation {
198
- id?: PostUniverseIdsCorporationId;
199
- name?: PostUniverseIdsCorporationName;
200
- [k: string]: unknown | undefined;
201
- }
202
- /**
203
- * faction object
204
- */
205
- interface PostUniverseIdsFaction {
206
- id?: PostUniverseIdsFactionId;
207
- name?: PostUniverseIdsFactionName;
208
- [k: string]: unknown | undefined;
209
- }
210
- /**
211
- * inventory_type object
212
- */
213
- interface PostUniverseIdsInventoryType {
214
- id?: PostUniverseIdsInventoryTypeId;
215
- name?: PostUniverseIdsInventoryTypeName;
216
- [k: string]: unknown | undefined;
217
- }
218
- /**
219
- * region object
220
- */
221
- interface PostUniverseIdsRegion {
222
- id?: PostUniverseIdsRegionId;
223
- name?: PostUniverseIdsRegionName;
224
- [k: string]: unknown | undefined;
225
- }
226
- /**
227
- * station object
228
- */
229
- interface PostUniverseIdsStation {
230
- id?: PostUniverseIdsStationId;
231
- name?: PostUniverseIdsStationName;
232
- [k: string]: unknown | undefined;
233
- }
234
- /**
235
- * system object
236
- */
237
- interface PostUniverseIdsSystem {
238
- id?: PostUniverseIdsSystemId;
239
- name?: PostUniverseIdsSystemName;
240
- [k: string]: unknown | undefined;
241
- }
6
+ * shared interface
7
+ */
8
+ interface PostUniverseIdsEntity {
9
+ /**
10
+ * id integer
11
+ */
12
+ id?: number;
13
+ /**
14
+ * name string
15
+ */
16
+ name?: string;
17
+ [k: string]: unknown | undefined;
18
+ }
19
+
20
+ /**
21
+ * 200 ok object
22
+ */
23
+ interface PostUniverseIdsOk {
24
+ /**
25
+ * agents array
26
+ *
27
+ * @maxItems 500
28
+ */
29
+ agents?: PostUniverseIdsEntity[];
30
+ /**
31
+ * alliances array
32
+ *
33
+ * @maxItems 500
34
+ */
35
+ alliances?: PostUniverseIdsEntity[];
36
+ /**
37
+ * characters array
38
+ *
39
+ * @maxItems 500
40
+ */
41
+ characters?: PostUniverseIdsEntity[];
42
+ /**
43
+ * constellations array
44
+ *
45
+ * @maxItems 500
46
+ */
47
+ constellations?: PostUniverseIdsEntity[];
48
+ /**
49
+ * corporations array
50
+ *
51
+ * @maxItems 500
52
+ */
53
+ corporations?: PostUniverseIdsEntity[];
54
+ /**
55
+ * factions array
56
+ *
57
+ * @maxItems 500
58
+ */
59
+ factions?: PostUniverseIdsEntity[];
60
+ /**
61
+ * inventory_types array
62
+ *
63
+ * @maxItems 500
64
+ */
65
+ inventory_types?: PostUniverseIdsEntity[];
66
+ /**
67
+ * regions array
68
+ *
69
+ * @maxItems 500
70
+ */
71
+ regions?: PostUniverseIdsEntity[];
72
+ /**
73
+ * stations array
74
+ *
75
+ * @maxItems 500
76
+ */
77
+ stations?: PostUniverseIdsEntity[];
78
+ /**
79
+ * systems array
80
+ *
81
+ * @maxItems 500
82
+ */
83
+ systems?: PostUniverseIdsEntity[];
84
+ [k: string]: unknown | undefined;
85
+ }
86
+
@@ -1,7 +1,6 @@
1
- /**
2
- * ESI endpoint: /universe/names/
1
+ /*!
2
+ * ESI endpoint: post:/universe/names/
3
3
  */
4
-
5
4
  /**
6
5
  * category string
7
6
  */
@@ -15,14 +14,6 @@ type PostUniverseNamesCategory =
15
14
  | "solar_system"
16
15
  | "station"
17
16
  | "faction";
18
- /**
19
- * id integer
20
- */
21
- type PostUniverseNamesId = number;
22
- /**
23
- * name string
24
- */
25
- type PostUniverseNamesName = string;
26
17
  /**
27
18
  * 200 ok array
28
19
  *
@@ -35,7 +26,13 @@ type PostUniverseNamesOk = PostUniverseNames_200Ok[];
35
26
  */
36
27
  interface PostUniverseNames_200Ok {
37
28
  category: PostUniverseNamesCategory;
38
- id: PostUniverseNamesId;
39
- name: PostUniverseNamesName;
29
+ /**
30
+ * id integer
31
+ */
32
+ id: number;
33
+ /**
34
+ * name string
35
+ */
36
+ name: string;
40
37
  [k: string]: unknown | undefined;
41
38
  }
package/tsconfig.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "skipDefaultLibCheck": true,
5
5
  "skipLibCheck": true,
6
+ "declaration": true,
6
7
  "outDir": ".",
7
8
  "target": "esnext",
8
9
  "module": "esnext",