eve-esi-types 1.0.0 → 1.1.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 (204) hide show
  1. package/README.md +38 -2
  2. package/esi-request.d.mts +58 -0
  3. package/esi-request.mjs +284 -0
  4. package/package.json +12 -3
  5. package/src/get_alliances_alliance_id_contacts_labels_ok.d.ts +9 -12
  6. package/src/get_alliances_alliance_id_contacts_ok.d.ts +15 -23
  7. package/src/get_alliances_alliance_id_corporations_ok.d.ts +2 -7
  8. package/src/get_alliances_alliance_id_icons_ok.d.ts +9 -12
  9. package/src/get_alliances_alliance_id_ok.d.ts +29 -37
  10. package/src/get_alliances_ok.d.ts +2 -7
  11. package/src/get_characters_character_id_agents_research_ok.d.ts +18 -27
  12. package/src/get_characters_character_id_assets_ok.d.ts +22 -32
  13. package/src/get_characters_character_id_attributes_ok.d.ts +33 -42
  14. package/src/get_characters_character_id_blueprints_ok.d.ts +26 -37
  15. package/src/get_characters_character_id_bookmarks_folders_ok.d.ts +9 -12
  16. package/src/get_characters_character_id_bookmarks_ok.d.ts +46 -62
  17. package/src/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +5 -7
  18. package/src/get_characters_character_id_calendar_event_id_ok.d.ts +37 -47
  19. package/src/get_characters_character_id_calendar_ok.d.ts +17 -22
  20. package/src/get_characters_character_id_clones_ok.d.ts +31 -43
  21. package/src/get_characters_character_id_contacts_labels_ok.d.ts +9 -12
  22. package/src/get_characters_character_id_contacts_ok.d.ts +23 -33
  23. package/src/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +17 -22
  24. package/src/get_characters_character_id_contracts_contract_id_items_ok.d.ts +22 -32
  25. package/src/get_characters_character_id_contracts_ok.d.ts +77 -97
  26. package/src/get_characters_character_id_corporationhistory_ok.d.ts +17 -22
  27. package/src/get_characters_character_id_fatigue_ok.d.ts +13 -17
  28. package/src/get_characters_character_id_fittings_ok.d.ts +19 -32
  29. package/src/get_characters_character_id_fleet_ok.d.ts +13 -17
  30. package/src/get_characters_character_id_fw_stats_ok.d.ts +41 -52
  31. package/src/get_characters_character_id_implants_ok.d.ts +2 -7
  32. package/src/get_characters_character_id_industry_jobs_ok.d.ts +79 -107
  33. package/src/get_characters_character_id_killmails_recent_ok.d.ts +9 -12
  34. package/src/get_characters_character_id_location_ok.d.ts +13 -17
  35. package/src/get_characters_character_id_loyalty_points_ok.d.ts +9 -12
  36. package/src/get_characters_character_id_mail_labels_ok.d.ts +17 -22
  37. package/src/get_characters_character_id_mail_lists_ok.d.ts +9 -12
  38. package/src/get_characters_character_id_mail_mail_id_ok.d.ts +31 -43
  39. package/src/get_characters_character_id_mail_ok.d.ts +31 -43
  40. package/src/get_characters_character_id_medals_ok.d.ts +45 -57
  41. package/src/get_characters_character_id_mining_ok.d.ts +14 -22
  42. package/src/get_characters_character_id_notifications_contacts_ok.d.ts +21 -27
  43. package/src/get_characters_character_id_notifications_ok.d.ts +21 -27
  44. package/src/get_characters_character_id_ok.d.ts +41 -52
  45. package/src/get_characters_character_id_online_ok.d.ts +17 -22
  46. package/src/get_characters_character_id_opportunities_ok.d.ts +9 -12
  47. package/src/get_characters_character_id_orders_history_ok.d.ts +50 -67
  48. package/src/get_characters_character_id_orders_ok.d.ts +50 -67
  49. package/src/get_characters_character_id_planets_ok.d.ts +25 -32
  50. package/src/get_characters_character_id_planets_planet_id_ok.d.ts +110 -150
  51. package/src/get_characters_character_id_portrait_ok.d.ts +17 -22
  52. package/src/get_characters_character_id_roles_ok.d.ts +1 -2
  53. package/src/get_characters_character_id_search_ok.d.ts +62 -123
  54. package/src/get_characters_character_id_ship_ok.d.ts +10 -17
  55. package/src/get_characters_character_id_skillqueue_ok.d.ts +33 -42
  56. package/src/get_characters_character_id_skills_ok.d.ts +25 -32
  57. package/src/get_characters_character_id_standings_ok.d.ts +9 -12
  58. package/src/get_characters_character_id_titles_ok.d.ts +9 -12
  59. package/src/get_characters_character_id_wallet_journal_ok.d.ts +45 -57
  60. package/src/get_characters_character_id_wallet_ok.d.ts +1 -2
  61. package/src/get_characters_character_id_wallet_transactions_ok.d.ts +38 -52
  62. package/src/get_contracts_public_bids_contract_id_ok.d.ts +13 -17
  63. package/src/get_contracts_public_items_contract_id_ok.d.ts +34 -47
  64. package/src/get_contracts_public_region_id_ok.d.ts +61 -77
  65. package/src/get_corporation_corporation_id_mining_extractions_ok.d.ts +24 -30
  66. package/src/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +20 -29
  67. package/src/get_corporation_corporation_id_mining_observers_ok.d.ts +10 -13
  68. package/src/get_corporations_corporation_id_alliancehistory_ok.d.ts +17 -22
  69. package/src/get_corporations_corporation_id_assets_ok.d.ts +22 -32
  70. package/src/get_corporations_corporation_id_blueprints_ok.d.ts +26 -37
  71. package/src/get_corporations_corporation_id_bookmarks_folders_ok.d.ts +13 -17
  72. package/src/get_corporations_corporation_id_bookmarks_ok.d.ts +46 -62
  73. package/src/get_corporations_corporation_id_contacts_labels_ok.d.ts +9 -12
  74. package/src/get_corporations_corporation_id_contacts_ok.d.ts +19 -28
  75. package/src/get_corporations_corporation_id_containers_logs_ok.d.ts +31 -47
  76. package/src/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +17 -22
  77. package/src/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +22 -32
  78. package/src/get_corporations_corporation_id_contracts_ok.d.ts +77 -97
  79. package/src/get_corporations_corporation_id_customs_offices_ok.d.ts +53 -67
  80. package/src/get_corporations_corporation_id_divisions_ok.d.ts +17 -22
  81. package/src/get_corporations_corporation_id_facilities_ok.d.ts +10 -17
  82. package/src/get_corporations_corporation_id_fw_stats_ok.d.ts +37 -47
  83. package/src/get_corporations_corporation_id_icons_ok.d.ts +13 -17
  84. package/src/get_corporations_corporation_id_industry_jobs_ok.d.ts +79 -107
  85. package/src/get_corporations_corporation_id_killmails_recent_ok.d.ts +9 -12
  86. package/src/get_corporations_corporation_id_medals_issued_ok.d.ts +21 -27
  87. package/src/get_corporations_corporation_id_medals_ok.d.ts +21 -27
  88. package/src/get_corporations_corporation_id_members_limit_ok.d.ts +1 -2
  89. package/src/get_corporations_corporation_id_members_ok.d.ts +2 -7
  90. package/src/get_corporations_corporation_id_members_titles_ok.d.ts +143 -146
  91. package/src/get_corporations_corporation_id_membertracking_ok.d.ts +26 -37
  92. package/src/get_corporations_corporation_id_ok.d.ts +57 -72
  93. package/src/get_corporations_corporation_id_orders_history_ok.d.ts +54 -72
  94. package/src/get_corporations_corporation_id_orders_ok.d.ts +54 -72
  95. package/src/get_corporations_corporation_id_roles_history_ok.d.ts +13 -17
  96. package/src/get_corporations_corporation_id_roles_ok.d.ts +5 -7
  97. package/src/get_corporations_corporation_id_shareholders_ok.d.ts +9 -12
  98. package/src/get_corporations_corporation_id_standings_ok.d.ts +9 -12
  99. package/src/get_corporations_corporation_id_starbases_ok.d.ts +26 -37
  100. package/src/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +34 -47
  101. package/src/get_corporations_corporation_id_structures_ok.d.ts +54 -72
  102. package/src/get_corporations_corporation_id_titles_ok.d.ts +9 -12
  103. package/src/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +45 -57
  104. package/src/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +34 -47
  105. package/src/get_corporations_corporation_id_wallets_ok.d.ts +9 -12
  106. package/src/get_corporations_npccorps_ok.d.ts +2 -7
  107. package/src/get_dogma_attributes_attribute_id_ok.d.ts +41 -52
  108. package/src/get_dogma_attributes_ok.d.ts +2 -7
  109. package/src/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +23 -37
  110. package/src/get_dogma_effects_effect_id_ok.d.ts +105 -132
  111. package/src/get_dogma_effects_ok.d.ts +2 -7
  112. package/src/get_fleets_fleet_id_members_ok.d.ts +34 -47
  113. package/src/get_fleets_fleet_id_ok.d.ts +17 -22
  114. package/src/get_fleets_fleet_id_wings_ok.d.ts +17 -22
  115. package/src/get_fw_leaderboards_characters_ok.d.ts +49 -62
  116. package/src/get_fw_leaderboards_corporations_ok.d.ts +49 -62
  117. package/src/get_fw_leaderboards_ok.d.ts +49 -62
  118. package/src/get_fw_stats_ok.d.ts +37 -47
  119. package/src/get_fw_systems_ok.d.ts +21 -27
  120. package/src/get_fw_wars_ok.d.ts +9 -12
  121. package/src/get_incursions_ok.d.ts +28 -43
  122. package/src/get_industry_facilities_ok.d.ts +22 -32
  123. package/src/get_industry_systems_ok.d.ts +9 -12
  124. package/src/get_insurance_prices_ok.d.ts +14 -22
  125. package/src/get_killmails_killmail_id_killmail_hash_ok.d.ts +127 -179
  126. package/src/get_loyalty_stores_corporation_id_offers_ok.d.ts +27 -42
  127. package/src/get_markets_groups_market_group_id_ok.d.ts +18 -33
  128. package/src/get_markets_groups_ok.d.ts +2 -7
  129. package/src/get_markets_prices_ok.d.ts +10 -17
  130. package/src/get_markets_region_id_history_ok.d.ts +25 -32
  131. package/src/get_markets_region_id_orders_ok.d.ts +42 -57
  132. package/src/get_markets_region_id_types_ok.d.ts +2 -7
  133. package/src/get_markets_structures_structure_id_ok.d.ts +38 -52
  134. package/src/get_opportunities_groups_group_id_ok.d.ts +29 -44
  135. package/src/get_opportunities_groups_ok.d.ts +2 -7
  136. package/src/get_opportunities_tasks_ok.d.ts +2 -7
  137. package/src/get_opportunities_tasks_task_id_ok.d.ts +17 -22
  138. package/src/get_route_origin_destination_ok.d.ts +2 -7
  139. package/src/get_sovereignty_campaigns_ok.d.ts +48 -59
  140. package/src/get_sovereignty_map_ok.d.ts +17 -22
  141. package/src/get_sovereignty_structures_ok.d.ts +31 -43
  142. package/src/get_status_ok.d.ts +17 -22
  143. package/src/get_universe_ancestries_ok.d.ts +25 -32
  144. package/src/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +21 -27
  145. package/src/get_universe_bloodlines_ok.d.ts +42 -57
  146. package/src/get_universe_categories_category_id_ok.d.ts +19 -28
  147. package/src/get_universe_categories_ok.d.ts +2 -7
  148. package/src/get_universe_constellations_constellation_id_ok.d.ts +31 -43
  149. package/src/get_universe_constellations_ok.d.ts +2 -7
  150. package/src/get_universe_factions_ok.d.ts +41 -52
  151. package/src/get_universe_graphics_graphic_id_ok.d.ts +33 -42
  152. package/src/get_universe_graphics_ok.d.ts +2 -7
  153. package/src/get_universe_groups_group_id_ok.d.ts +18 -33
  154. package/src/get_universe_groups_ok.d.ts +2 -7
  155. package/src/get_universe_moons_moon_id_ok.d.ts +25 -32
  156. package/src/get_universe_planets_planet_id_ok.d.ts +26 -37
  157. package/src/get_universe_races_ok.d.ts +17 -22
  158. package/src/get_universe_regions_ok.d.ts +2 -7
  159. package/src/get_universe_regions_region_id_ok.d.ts +19 -28
  160. package/src/get_universe_schematics_schematic_id_ok.d.ts +9 -12
  161. package/src/get_universe_stargates_stargate_id_ok.d.ts +34 -47
  162. package/src/get_universe_stars_star_id_ok.d.ts +26 -37
  163. package/src/get_universe_stations_station_id_ok.d.ts +50 -67
  164. package/src/get_universe_structures_ok.d.ts +2 -7
  165. package/src/get_universe_structures_structure_id_ok.d.ts +26 -37
  166. package/src/get_universe_system_jumps_ok.d.ts +9 -12
  167. package/src/get_universe_system_kills_ok.d.ts +17 -22
  168. package/src/get_universe_systems_ok.d.ts +2 -7
  169. package/src/get_universe_systems_system_id_ok.d.ts +65 -96
  170. package/src/get_universe_types_ok.d.ts +2 -7
  171. package/src/get_universe_types_type_id_ok.d.ts +70 -92
  172. package/src/get_wars_ok.d.ts +2 -7
  173. package/src/get_wars_war_id_killmails_ok.d.ts +9 -12
  174. package/src/get_wars_war_id_ok.d.ts +69 -87
  175. package/src/index.d.ts +33 -8
  176. package/src/post_characters_affiliation_ok.d.ts +17 -22
  177. package/src/post_characters_character_id_assets_locations_ok.d.ts +17 -22
  178. package/src/post_characters_character_id_assets_names_ok.d.ts +9 -12
  179. package/src/post_characters_character_id_contacts_created.d.ts +2 -7
  180. package/src/post_characters_character_id_cspa_created.d.ts +1 -2
  181. package/src/post_characters_character_id_fittings_created.d.ts +5 -7
  182. package/src/post_characters_character_id_mail_created.d.ts +1 -2
  183. package/src/post_characters_character_id_mail_labels_created.d.ts +1 -2
  184. package/src/post_corporations_corporation_id_assets_locations_ok.d.ts +17 -22
  185. package/src/post_corporations_corporation_id_assets_names_ok.d.ts +9 -12
  186. package/src/post_fleets_fleet_id_members_invitation.d.ts +13 -17
  187. package/src/post_fleets_fleet_id_wings_created.d.ts +5 -7
  188. package/src/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +5 -7
  189. package/src/post_ui_openwindow_newmail_new_mail.d.ts +22 -28
  190. package/src/post_universe_ids_ok.d.ts +82 -237
  191. package/src/post_universe_names_ok.d.ts +9 -12
  192. package/src/put_characters_character_id_calendar_event_id_response.d.ts +1 -2
  193. package/src/put_characters_character_id_contacts_contact_ids.d.ts +6 -8
  194. package/src/put_characters_character_id_mail_mail_id_contents.d.ts +11 -18
  195. package/src/put_fleets_fleet_id_members_member_id_movement.d.ts +9 -12
  196. package/src/put_fleets_fleet_id_new_settings.d.ts +9 -12
  197. package/src/put_fleets_fleet_id_squads_squad_id_naming.d.ts +5 -7
  198. package/src/put_fleets_fleet_id_wings_wing_id_naming.d.ts +5 -7
  199. package/tsconfig.json +23 -0
  200. package/src/post_characters_character_id_contacts_contact_ids.d.ts +0 -18
  201. package/src/post_characters_character_id_cspa_characters.d.ts +0 -18
  202. package/src/post_characters_character_id_fittings_fitting.d.ts +0 -101
  203. package/src/post_characters_character_id_mail_labels_label.d.ts +0 -39
  204. package/src/post_characters_character_id_mail_mail.d.ts +0 -53
@@ -1,16 +1,14 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/fittings/
3
3
  */
4
4
 
5
- /**
6
- * fitting_id integer
7
- */
8
- type PostCharactersCharacterIdFittingsFittingId = number;
9
-
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
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/mail/
3
3
  */
4
-
5
4
  /**
6
5
  * Mail ID
7
6
  */
@@ -1,7 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/mail/labels/
3
3
  */
4
-
5
4
  /**
6
5
  * Label ID
7
6
  */
@@ -1,23 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /corporations/{corporation_id}/assets/locations/
3
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
19
- */
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
- /**
1
+ /*!
2
2
  * ESI endpoint: /corporations/{corporation_id}/assets/names/
3
3
  */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCorporationsCorporationIdAssetsNamesItemId = number;
9
- /**
10
- * name string
11
- */
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,31 +1,27 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/members/
3
3
  */
4
-
5
- /**
6
- * The character you want to invite
7
- */
8
- type PostFleetsFleetIdMembersCharacterId = number;
9
4
  /**
10
5
  * If a character is invited with the `fleet_commander` role, neither `wing_id` or `squad_id` should be specified. If a character is invited with the `wing_commander` role, only `wing_id` should be specified. If a character is invited with the `squad_commander` role, both `wing_id` and `squad_id` should be specified. If a character is invited with the `squad_member` role, `wing_id` and `squad_id` should either both be specified or not specified at all. If they aren’t specified, the invited character will join any squad with available positions.
11
6
  */
12
7
  type PostFleetsFleetIdMembersRole = "fleet_commander" | "wing_commander" | "squad_commander" | "squad_member";
13
- /**
14
- * squad_id integer
15
- */
16
- type PostFleetsFleetIdMembersSquadId = number;
17
- /**
18
- * wing_id integer
19
- */
20
- type PostFleetsFleetIdMembersWingId = number;
21
8
 
22
9
  /**
23
10
  * invitation object
24
11
  */
25
12
  interface PostFleetsFleetIdMembersInvitation {
26
- character_id: PostFleetsFleetIdMembersCharacterId;
13
+ /**
14
+ * The character you want to invite
15
+ */
16
+ character_id: number;
27
17
  role: PostFleetsFleetIdMembersRole;
28
- squad_id?: PostFleetsFleetIdMembersSquadId;
29
- wing_id?: PostFleetsFleetIdMembersWingId;
18
+ /**
19
+ * squad_id integer
20
+ */
21
+ squad_id?: number;
22
+ /**
23
+ * wing_id integer
24
+ */
25
+ wing_id?: number;
30
26
  [k: string]: unknown | undefined;
31
27
  }
@@ -1,16 +1,14 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/wings/
3
3
  */
4
4
 
5
- /**
6
- * The wing_id of the newly created wing
7
- */
8
- type PostFleetsFleetIdWingsWingId = number;
9
-
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
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/squads/
3
3
  */
4
4
 
5
- /**
6
- * The squad_id of the newly created squad
7
- */
8
- type PostFleetsFleetIdWingsWingIdSquadsSquadId = number;
9
-
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,11 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /ui/openwindow/newmail/
3
3
  */
4
-
5
- /**
6
- * body string
7
- */
8
- type PostUiOpenwindowNewmailBody = string;
9
4
  /**
10
5
  * recipients array
11
6
  *
@@ -13,34 +8,33 @@ type PostUiOpenwindowNewmailBody = string;
13
8
  * @maxItems 50
14
9
  */
15
10
  type PostUiOpenwindowNewmailRecipients = [
16
- PostUiOpenwindowNewmailRecipient,
17
- ...PostUiOpenwindowNewmailRecipient[]
11
+ /**
12
+ * recipient integer
13
+ */
14
+ number,
15
+ ...number[]
18
16
  ];
19
- /**
20
- * recipient integer
21
- */
22
- type PostUiOpenwindowNewmailRecipient = number;
23
- /**
24
- * subject string
25
- */
26
- type PostUiOpenwindowNewmailSubject = string;
27
- /**
28
- * to_corp_or_alliance_id integer
29
- */
30
- type PostUiOpenwindowNewmailToCorpOrAllianceId = number;
31
- /**
32
- * Corporations, alliances and mailing lists are all types of mailing groups. You may only send to one mailing group, at a time, so you may fill out either this field or the to_corp_or_alliance_ids field
33
- */
34
- type PostUiOpenwindowNewmailToMailingListId = number;
35
17
 
36
18
  /**
37
19
  * new_mail object
38
20
  */
39
21
  interface PostUiOpenwindowNewmailNewMail {
40
- body: PostUiOpenwindowNewmailBody;
22
+ /**
23
+ * body string
24
+ */
25
+ body: string;
41
26
  recipients: PostUiOpenwindowNewmailRecipients;
42
- subject: PostUiOpenwindowNewmailSubject;
43
- to_corp_or_alliance_id?: PostUiOpenwindowNewmailToCorpOrAllianceId;
44
- to_mailing_list_id?: PostUiOpenwindowNewmailToMailingListId;
27
+ /**
28
+ * subject string
29
+ */
30
+ subject: string;
31
+ /**
32
+ * to_corp_or_alliance_id integer
33
+ */
34
+ to_corp_or_alliance_id?: number;
35
+ /**
36
+ * Corporations, alliances and mailing lists are all types of mailing groups. You may only send to one mailing group, at a time, so you may fill out either this field or the to_corp_or_alliance_ids field
37
+ */
38
+ to_mailing_list_id?: number;
45
39
  [k: string]: unknown | undefined;
46
40
  }
@@ -1,241 +1,86 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /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
- /**
1
+ /*!
2
2
  * ESI endpoint: /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
  }
@@ -1,7 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/calendar/{event_id}/
3
3
  */
4
-
5
4
  /**
6
5
  * response string
7
6
  */
@@ -1,7 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/contacts/
3
3
  */
4
-
5
4
  /**
6
5
  * contact_ids array
7
6
  *
@@ -9,10 +8,9 @@
9
8
  * @maxItems 100
10
9
  */
11
10
  type PutCharactersCharacterIdContactsContactIds = [
12
- PutCharactersCharacterIdContactsContactId,
13
- ...PutCharactersCharacterIdContactsContactId[]
11
+ /**
12
+ * ID of the contact to edit
13
+ */
14
+ number,
15
+ ...number[]
14
16
  ];
15
- /**
16
- * ID of the contact to edit
17
- */
18
- type PutCharactersCharacterIdContactsContactId = number;