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,127 +1,105 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /universe/types/{type_id}/
3
3
  */
4
-
5
- /**
6
- * capacity number
7
- */
8
- type GetUniverseTypesTypeIdCapacity = number;
9
- /**
10
- * description string
11
- */
12
- type GetUniverseTypesTypeIdDescription = string;
13
- /**
14
- * attribute_id integer
15
- */
16
- type GetUniverseTypesTypeIdAttributeId = number;
17
- /**
18
- * value number
19
- */
20
- type GetUniverseTypesTypeIdValue = number;
21
4
  /**
22
5
  * dogma_attributes array
23
6
  *
24
7
  * @maxItems 1000
25
8
  */
26
9
  type GetUniverseTypesTypeIdDogmaAttributes = GetUniverseTypesTypeIdDogmaAttribute[];
27
- /**
28
- * effect_id integer
29
- */
30
- type GetUniverseTypesTypeIdEffectId = number;
31
- /**
32
- * is_default boolean
33
- */
34
- type GetUniverseTypesTypeIdIsDefault = boolean;
35
10
  /**
36
11
  * dogma_effects array
37
12
  *
38
13
  * @maxItems 1000
39
14
  */
40
15
  type GetUniverseTypesTypeIdDogmaEffects = GetUniverseTypesTypeIdDogmaEffect[];
41
- /**
42
- * graphic_id integer
43
- */
44
- type GetUniverseTypesTypeIdGraphicId = number;
45
- /**
46
- * group_id integer
47
- */
48
- type GetUniverseTypesTypeIdGroupId = number;
49
- /**
50
- * icon_id integer
51
- */
52
- type GetUniverseTypesTypeIdIconId = number;
53
- /**
54
- * This only exists for types that can be put on the market
55
- */
56
- type GetUniverseTypesTypeIdMarketGroupId = number;
57
- /**
58
- * mass number
59
- */
60
- type GetUniverseTypesTypeIdMass = number;
61
- /**
62
- * name string
63
- */
64
- type GetUniverseTypesTypeIdName = string;
65
- /**
66
- * packaged_volume number
67
- */
68
- type GetUniverseTypesTypeIdPackagedVolume = number;
69
- /**
70
- * portion_size integer
71
- */
72
- type GetUniverseTypesTypeIdPortionSize = number;
73
- /**
74
- * published boolean
75
- */
76
- type GetUniverseTypesTypeIdPublished = boolean;
77
- /**
78
- * radius number
79
- */
80
- type GetUniverseTypesTypeIdRadius = number;
81
- /**
82
- * type_id integer
83
- */
84
- type GetUniverseTypesTypeIdTypeId = number;
85
- /**
86
- * volume number
87
- */
88
- type GetUniverseTypesTypeIdVolume = number;
89
16
 
90
17
  /**
91
18
  * 200 ok object
92
19
  */
93
20
  interface GetUniverseTypesTypeIdOk {
94
- capacity?: GetUniverseTypesTypeIdCapacity;
95
- description: GetUniverseTypesTypeIdDescription;
21
+ /**
22
+ * capacity number
23
+ */
24
+ capacity?: number;
25
+ /**
26
+ * description string
27
+ */
28
+ description: string;
96
29
  dogma_attributes?: GetUniverseTypesTypeIdDogmaAttributes;
97
30
  dogma_effects?: GetUniverseTypesTypeIdDogmaEffects;
98
- graphic_id?: GetUniverseTypesTypeIdGraphicId;
99
- group_id: GetUniverseTypesTypeIdGroupId;
100
- icon_id?: GetUniverseTypesTypeIdIconId;
101
- market_group_id?: GetUniverseTypesTypeIdMarketGroupId;
102
- mass?: GetUniverseTypesTypeIdMass;
103
- name: GetUniverseTypesTypeIdName;
104
- packaged_volume?: GetUniverseTypesTypeIdPackagedVolume;
105
- portion_size?: GetUniverseTypesTypeIdPortionSize;
106
- published: GetUniverseTypesTypeIdPublished;
107
- radius?: GetUniverseTypesTypeIdRadius;
108
- type_id: GetUniverseTypesTypeIdTypeId;
109
- volume?: GetUniverseTypesTypeIdVolume;
31
+ /**
32
+ * graphic_id integer
33
+ */
34
+ graphic_id?: number;
35
+ /**
36
+ * group_id integer
37
+ */
38
+ group_id: number;
39
+ /**
40
+ * icon_id integer
41
+ */
42
+ icon_id?: number;
43
+ /**
44
+ * This only exists for types that can be put on the market
45
+ */
46
+ market_group_id?: number;
47
+ /**
48
+ * mass number
49
+ */
50
+ mass?: number;
51
+ /**
52
+ * name string
53
+ */
54
+ name: string;
55
+ /**
56
+ * packaged_volume number
57
+ */
58
+ packaged_volume?: number;
59
+ /**
60
+ * portion_size integer
61
+ */
62
+ portion_size?: number;
63
+ /**
64
+ * published boolean
65
+ */
66
+ published: boolean;
67
+ /**
68
+ * radius number
69
+ */
70
+ radius?: number;
71
+ type_id: number;
72
+ /**
73
+ * volume number
74
+ */
75
+ volume?: number;
110
76
  [k: string]: unknown | undefined;
111
77
  }
112
78
  /**
113
79
  * dogma_attribute object
114
80
  */
115
81
  interface GetUniverseTypesTypeIdDogmaAttribute {
116
- attribute_id: GetUniverseTypesTypeIdAttributeId;
117
- value: GetUniverseTypesTypeIdValue;
82
+ /**
83
+ * attribute_id integer
84
+ */
85
+ attribute_id: number;
86
+ /**
87
+ * value number
88
+ */
89
+ value: number;
118
90
  [k: string]: unknown | undefined;
119
91
  }
120
92
  /**
121
93
  * dogma_effect object
122
94
  */
123
95
  interface GetUniverseTypesTypeIdDogmaEffect {
124
- effect_id: GetUniverseTypesTypeIdEffectId;
125
- is_default: GetUniverseTypesTypeIdIsDefault;
96
+ /**
97
+ * effect_id integer
98
+ */
99
+ effect_id: number;
100
+ /**
101
+ * is_default boolean
102
+ */
103
+ is_default: boolean;
126
104
  [k: string]: unknown | undefined;
127
105
  }
@@ -1,14 +1,9 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /wars/
3
3
  */
4
-
5
- /**
6
- * 200 ok integer
7
- */
8
- type GetWars_200Ok = number;
9
4
  /**
10
5
  * 200 ok array
11
6
  *
12
7
  * @maxItems 2000
13
8
  */
14
- type GetWarsOk = GetWars_200Ok[];
9
+ type GetWarsOk = number[];
@@ -1,15 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /wars/{war_id}/killmails/
3
3
  */
4
-
5
- /**
6
- * A hash of this killmail
7
- */
8
- type GetWarsWarIdKillmailsKillmailHash = string;
9
- /**
10
- * ID of this killmail
11
- */
12
- type GetWarsWarIdKillmailsKillmailId = number;
13
4
  /**
14
5
  * 200 ok array
15
6
  *
@@ -21,7 +12,13 @@ type GetWarsWarIdKillmailsOk = GetWarsWarIdKillmails_200Ok[];
21
12
  * 200 ok object
22
13
  */
23
14
  interface GetWarsWarIdKillmails_200Ok {
24
- killmail_hash: GetWarsWarIdKillmailsKillmailHash;
25
- killmail_id: GetWarsWarIdKillmailsKillmailId;
15
+ /**
16
+ * A hash of this killmail
17
+ */
18
+ killmail_hash: string;
19
+ /**
20
+ * ID of this killmail
21
+ */
22
+ killmail_id: number;
26
23
  [k: string]: unknown | undefined;
27
24
  }
@@ -1,81 +1,12 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /wars/{war_id}/
3
3
  */
4
-
5
- /**
6
- * Alliance ID if and only if the aggressor is an alliance
7
- */
8
- type GetWarsWarIdAllianceId = number;
9
- /**
10
- * Corporation ID if and only if the aggressor is a corporation
11
- */
12
- type GetWarsWarIdCorporationId = number;
13
- /**
14
- * ISK value of ships the aggressor has destroyed
15
- */
16
- type GetWarsWarIdIskDestroyed = number;
17
- /**
18
- * The number of ships the aggressor has killed
19
- */
20
- type GetWarsWarIdShipsKilled = number;
21
- /**
22
- * Alliance ID if and only if this ally is an alliance
23
- */
24
- type GetWarsWarIdAllyAllianceId = number;
25
- /**
26
- * Corporation ID if and only if this ally is a corporation
27
- */
28
- type GetWarsWarIdAllyCorporationId = number;
29
4
  /**
30
5
  * allied corporations or alliances, each object contains either corporation_id or alliance_id
31
6
  *
32
7
  * @maxItems 10000
33
8
  */
34
9
  type GetWarsWarIdAllies = GetWarsWarIdAlly[];
35
- /**
36
- * Time that the war was declared
37
- */
38
- type GetWarsWarIdDeclared = string;
39
- /**
40
- * Alliance ID if and only if the defender is an alliance
41
- */
42
- type GetWarsWarIdDefenderAllianceId = number;
43
- /**
44
- * Corporation ID if and only if the defender is a corporation
45
- */
46
- type GetWarsWarIdDefenderCorporationId = number;
47
- /**
48
- * ISK value of ships the defender has killed
49
- */
50
- type GetWarsWarIdDefenderIskDestroyed = number;
51
- /**
52
- * The number of ships the defender has killed
53
- */
54
- type GetWarsWarIdDefenderShipsKilled = number;
55
- /**
56
- * Time the war ended and shooting was no longer allowed
57
- */
58
- type GetWarsWarIdFinished = string;
59
- /**
60
- * ID of the specified war
61
- */
62
- type GetWarsWarIdId = number;
63
- /**
64
- * Was the war declared mutual by both parties
65
- */
66
- type GetWarsWarIdMutual = boolean;
67
- /**
68
- * Is the war currently open for allies or not
69
- */
70
- type GetWarsWarIdOpenForAllies = boolean;
71
- /**
72
- * Time the war was retracted but both sides could still shoot each other
73
- */
74
- type GetWarsWarIdRetracted = string;
75
- /**
76
- * Time when the war started and both sides could shoot each other
77
- */
78
- type GetWarsWarIdStarted = string;
79
10
 
80
11
  /**
81
12
  * 200 ok object
@@ -83,41 +14,92 @@ type GetWarsWarIdStarted = string;
83
14
  interface GetWarsWarIdOk {
84
15
  aggressor: GetWarsWarIdAggressor;
85
16
  allies?: GetWarsWarIdAllies;
86
- declared: GetWarsWarIdDeclared;
17
+ /**
18
+ * Time that the war was declared
19
+ */
20
+ declared: string;
87
21
  defender: GetWarsWarIdDefender;
88
- finished?: GetWarsWarIdFinished;
89
- id: GetWarsWarIdId;
90
- mutual: GetWarsWarIdMutual;
91
- open_for_allies: GetWarsWarIdOpenForAllies;
92
- retracted?: GetWarsWarIdRetracted;
93
- started?: GetWarsWarIdStarted;
22
+ /**
23
+ * Time the war ended and shooting was no longer allowed
24
+ */
25
+ finished?: string;
26
+ /**
27
+ * ID of the specified war
28
+ */
29
+ id: number;
30
+ /**
31
+ * Was the war declared mutual by both parties
32
+ */
33
+ mutual: boolean;
34
+ /**
35
+ * Is the war currently open for allies or not
36
+ */
37
+ open_for_allies: boolean;
38
+ /**
39
+ * Time the war was retracted but both sides could still shoot each other
40
+ */
41
+ retracted?: string;
42
+ /**
43
+ * Time when the war started and both sides could shoot each other
44
+ */
45
+ started?: string;
94
46
  [k: string]: unknown | undefined;
95
47
  }
96
48
  /**
97
49
  * The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id
98
50
  */
99
51
  interface GetWarsWarIdAggressor {
100
- alliance_id?: GetWarsWarIdAllianceId;
101
- corporation_id?: GetWarsWarIdCorporationId;
102
- isk_destroyed: GetWarsWarIdIskDestroyed;
103
- ships_killed: GetWarsWarIdShipsKilled;
52
+ /**
53
+ * Alliance ID if and only if the aggressor is an alliance
54
+ */
55
+ alliance_id?: number;
56
+ /**
57
+ * Corporation ID if and only if the aggressor is a corporation
58
+ */
59
+ corporation_id?: number;
60
+ /**
61
+ * ISK value of ships the aggressor has destroyed
62
+ */
63
+ isk_destroyed: number;
64
+ /**
65
+ * The number of ships the aggressor has killed
66
+ */
67
+ ships_killed: number;
104
68
  [k: string]: unknown | undefined;
105
69
  }
106
70
  /**
107
71
  * ally object
108
72
  */
109
73
  interface GetWarsWarIdAlly {
110
- alliance_id?: GetWarsWarIdAllyAllianceId;
111
- corporation_id?: GetWarsWarIdAllyCorporationId;
74
+ /**
75
+ * Alliance ID if and only if this ally is an alliance
76
+ */
77
+ alliance_id?: number;
78
+ /**
79
+ * Corporation ID if and only if this ally is a corporation
80
+ */
81
+ corporation_id?: number;
112
82
  [k: string]: unknown | undefined;
113
83
  }
114
84
  /**
115
85
  * The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id
116
86
  */
117
87
  interface GetWarsWarIdDefender {
118
- alliance_id?: GetWarsWarIdDefenderAllianceId;
119
- corporation_id?: GetWarsWarIdDefenderCorporationId;
120
- isk_destroyed: GetWarsWarIdDefenderIskDestroyed;
121
- ships_killed: GetWarsWarIdDefenderShipsKilled;
88
+ /**
89
+ * Alliance ID if and only if the defender is an alliance
90
+ */
91
+ alliance_id?: number;
92
+ /**
93
+ * Corporation ID if and only if the defender is a corporation
94
+ */
95
+ corporation_id?: number;
96
+ /**
97
+ * ISK value of ships the defender has killed
98
+ */
99
+ isk_destroyed: number;
100
+ /**
101
+ * The number of ships the defender has killed
102
+ */
103
+ ships_killed: number;
122
104
  [k: string]: unknown | undefined;
123
105
  }
package/src/index.d.ts CHANGED
@@ -1,5 +1,15 @@
1
+ /*!
2
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3
+ // Copyright (C) 2025 jeffy-g <hirotom1107@gmail.com>
4
+ // Released under the MIT license
5
+ // https://opensource.org/licenses/mit-license.php
6
+ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7
+ */
1
8
  /**
2
- * this tsd is auto generated, DO NOT EDIT
9
+ * THIS TSD IS AUTO GENERATED, DO NOT EDIT
10
+ *
11
+ * @file eve-esi-types/v1/index.d.ts
12
+ * @summary This file is auto-generated and defines version 1.1.0 of the EVE Online ESI response types.
3
13
  */
4
14
  import "./get_alliances_ok.d.ts";
5
15
  import "./get_alliances_alliance_id_ok.d.ts";
@@ -196,8 +206,14 @@ import "./get_wars_war_id_ok.d.ts";
196
206
  import "./get_wars_war_id_killmails_ok.d.ts";
197
207
 
198
208
 
209
+ /**
210
+ * Represents a response with no content (HTTP status 204).
211
+ * Although no data is returned, it indicates successful completion by returning a status of 204.
212
+ */
213
+ type NoContentResponse = { status: 204 };
214
+
199
215
  export type TESIResponseOKMap = {
200
- "get": {
216
+ get: {
201
217
  "/alliances/": GetAlliancesOk;
202
218
  "/alliances/{alliance_id}/": GetAlliancesAllianceIdOk;
203
219
  "/alliances/{alliance_id}/contacts/": GetAlliancesAllianceIdContactsOk;
@@ -369,7 +385,11 @@ export type TESIResponseOKMap = {
369
385
  "/wars/{war_id}/": GetWarsWarIdOk;
370
386
  "/wars/{war_id}/killmails/": GetWarsWarIdKillmailsOk;
371
387
  },
372
- "post": {
388
+ post: {
389
+ "/ui/autopilot/waypoint/": NoContentResponse;
390
+ "/ui/openwindow/contract/": NoContentResponse;
391
+ "/ui/openwindow/information/": NoContentResponse;
392
+ "/ui/openwindow/marketdetails/": NoContentResponse;
373
393
  "/characters/affiliation/": PostCharactersAffiliationOk;
374
394
  "/characters/{character_id}/assets/locations/": PostCharactersCharacterIdAssetsLocationsOk;
375
395
  "/characters/{character_id}/assets/names/": PostCharactersCharacterIdAssetsNamesOk;
@@ -386,11 +406,8 @@ export type TESIResponseOKMap = {
386
406
  "/ui/openwindow/newmail/": PostUiOpenwindowNewmailNewMail;
387
407
  "/universe/ids/": PostUniverseIdsOk;
388
408
  "/universe/names/": PostUniverseNamesOk;
389
- "/ui/autopilot/waypoint/": {
390
- "status": 204
391
- }
392
409
  },
393
- "put": {
410
+ put: {
394
411
  "/characters/{character_id}/calendar/{event_id}/": PutCharactersCharacterIdCalendarEventIdResponse;
395
412
  "/characters/{character_id}/contacts/": PutCharactersCharacterIdContactsContactIds;
396
413
  "/characters/{character_id}/mail/{mail_id}/": PutCharactersCharacterIdMailMailIdContents;
@@ -399,6 +416,14 @@ export type TESIResponseOKMap = {
399
416
  "/fleets/{fleet_id}/squads/{squad_id}/": PutFleetsFleetIdSquadsSquadIdNaming;
400
417
  "/fleets/{fleet_id}/wings/{wing_id}/": PutFleetsFleetIdWingsWingIdNaming;
401
418
  },
402
- "delete": {}
419
+ delete: {
420
+ "/characters/{character_id}/contacts/": NoContentResponse;
421
+ "/characters/{character_id}/fittings/{fitting_id}/": NoContentResponse;
422
+ "/characters/{character_id}/mail/labels/{label_id}/": NoContentResponse;
423
+ "/characters/{character_id}/mail/{mail_id}/": NoContentResponse;
424
+ "/fleets/{fleet_id}/members/{member_id}/": NoContentResponse;
425
+ "/fleets/{fleet_id}/squads/{squad_id}/": NoContentResponse;
426
+ "/fleets/{fleet_id}/wings/{wing_id}/": NoContentResponse;
427
+ }
403
428
  };
404
429
 
@@ -1,23 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/affiliation/
3
3
  */
4
-
5
- /**
6
- * The character's alliance ID, if their corporation is in an alliance
7
- */
8
- type PostCharactersAffiliationAllianceId = number;
9
- /**
10
- * The character's ID
11
- */
12
- type PostCharactersAffiliationCharacterId = number;
13
- /**
14
- * The character's corporation ID
15
- */
16
- type PostCharactersAffiliationCorporationId = number;
17
- /**
18
- * The character's faction ID, if their corporation is in a faction
19
- */
20
- type PostCharactersAffiliationFactionId = number;
21
4
  /**
22
5
  * 200 ok array
23
6
  *
@@ -29,9 +12,21 @@ type PostCharactersAffiliationOk = PostCharactersAffiliation_200Ok[];
29
12
  * 200 ok object
30
13
  */
31
14
  interface PostCharactersAffiliation_200Ok {
32
- alliance_id?: PostCharactersAffiliationAllianceId;
33
- character_id: PostCharactersAffiliationCharacterId;
34
- corporation_id: PostCharactersAffiliationCorporationId;
35
- faction_id?: PostCharactersAffiliationFactionId;
15
+ /**
16
+ * The character's alliance ID, if their corporation is in an alliance
17
+ */
18
+ alliance_id?: number;
19
+ /**
20
+ * The character's ID
21
+ */
22
+ character_id: number;
23
+ /**
24
+ * The character's corporation ID
25
+ */
26
+ corporation_id: number;
27
+ /**
28
+ * The character's faction ID, if their corporation is in a faction
29
+ */
30
+ faction_id?: number;
36
31
  [k: string]: unknown | undefined;
37
32
  }
@@ -1,23 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/assets/locations/
3
3
  */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCharactersCharacterIdAssetsLocationsItemId = number;
9
- /**
10
- * x number
11
- */
12
- type PostCharactersCharacterIdAssetsLocationsX = number;
13
- /**
14
- * y number
15
- */
16
- type PostCharactersCharacterIdAssetsLocationsY = number;
17
- /**
18
- * z number
19
- */
20
- type PostCharactersCharacterIdAssetsLocationsZ = number;
21
4
  /**
22
5
  * 200 ok array
23
6
  *
@@ -29,7 +12,10 @@ type PostCharactersCharacterIdAssetsLocationsOk = PostCharactersCharacterIdAsset
29
12
  * 200 ok object
30
13
  */
31
14
  interface PostCharactersCharacterIdAssetsLocations_200Ok {
32
- item_id: PostCharactersCharacterIdAssetsLocationsItemId;
15
+ /**
16
+ * item_id integer
17
+ */
18
+ item_id: number;
33
19
  position: PostCharactersCharacterIdAssetsLocationsPosition;
34
20
  [k: string]: unknown | undefined;
35
21
  }
@@ -37,8 +23,17 @@ interface PostCharactersCharacterIdAssetsLocations_200Ok {
37
23
  * position object
38
24
  */
39
25
  interface PostCharactersCharacterIdAssetsLocationsPosition {
40
- x: PostCharactersCharacterIdAssetsLocationsX;
41
- y: PostCharactersCharacterIdAssetsLocationsY;
42
- z: PostCharactersCharacterIdAssetsLocationsZ;
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: /characters/{character_id}/assets/names/
3
3
  */
4
-
5
- /**
6
- * item_id integer
7
- */
8
- type PostCharactersCharacterIdAssetsNamesItemId = number;
9
- /**
10
- * name string
11
- */
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
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/contacts/
3
3
  */
4
-
5
- /**
6
- * 201 created integer
7
- */
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
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/cspa/
3
3
  */
4
-
5
4
  /**
6
5
  * 201 created number
7
6
  */