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,27 +1,20 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /characters/{character_id}/mail/{mail_id}/
3
3
  */
4
4
 
5
- /**
6
- * label integer
7
- */
8
- type PutCharactersCharacterIdMailMailIdLabel = number;
9
- /**
10
- * Labels to assign to the mail. Pre-existing labels are unassigned.
11
- *
12
- * @maxItems 25
13
- */
14
- type PutCharactersCharacterIdMailMailIdLabels = PutCharactersCharacterIdMailMailIdLabel[];
15
- /**
16
- * Whether the mail is flagged as read
17
- */
18
- type PutCharactersCharacterIdMailMailIdRead = boolean;
19
-
20
5
  /**
21
6
  * contents object
22
7
  */
23
8
  interface PutCharactersCharacterIdMailMailIdContents {
24
- labels?: PutCharactersCharacterIdMailMailIdLabels;
25
- read?: PutCharactersCharacterIdMailMailIdRead;
9
+ /**
10
+ * Labels to assign to the mail. Pre-existing labels are unassigned.
11
+ *
12
+ * @maxItems 25
13
+ */
14
+ labels?: number[];
15
+ /**
16
+ * Whether the mail is flagged as read
17
+ */
18
+ read?: boolean;
26
19
  [k: string]: unknown | undefined;
27
20
  }
@@ -1,7 +1,6 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/members/{member_id}/
3
3
  */
4
-
5
4
  /**
6
5
  * If a character is moved to the `fleet_commander` role, neither `wing_id` or `squad_id` should be specified. If a character is moved to the `wing_commander` role, only `wing_id` should be specified. If a character is moved to the `squad_commander` role, both `wing_id` and `squad_id` should be specified. If a character is moved to the `squad_member` role, both `wing_id` and `squad_id` should be specified.
7
6
  */
@@ -10,21 +9,19 @@ type PutFleetsFleetIdMembersMemberIdRole =
10
9
  | "wing_commander"
11
10
  | "squad_commander"
12
11
  | "squad_member";
13
- /**
14
- * squad_id integer
15
- */
16
- type PutFleetsFleetIdMembersMemberIdSquadId = number;
17
- /**
18
- * wing_id integer
19
- */
20
- type PutFleetsFleetIdMembersMemberIdWingId = number;
21
12
 
22
13
  /**
23
14
  * movement object
24
15
  */
25
16
  interface PutFleetsFleetIdMembersMemberIdMovement {
26
17
  role: PutFleetsFleetIdMembersMemberIdRole;
27
- squad_id?: PutFleetsFleetIdMembersMemberIdSquadId;
28
- wing_id?: PutFleetsFleetIdMembersMemberIdWingId;
18
+ /**
19
+ * squad_id integer
20
+ */
21
+ squad_id?: number;
22
+ /**
23
+ * wing_id integer
24
+ */
25
+ wing_id?: number;
29
26
  [k: string]: unknown | undefined;
30
27
  }
@@ -1,21 +1,18 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/
3
3
  */
4
4
 
5
- /**
6
- * Should free-move be enabled in the fleet
7
- */
8
- type PutFleetsFleetIdIsFreeMove = boolean;
9
- /**
10
- * New fleet MOTD in CCP flavoured HTML
11
- */
12
- type PutFleetsFleetIdMotd = string;
13
-
14
5
  /**
15
6
  * new_settings object
16
7
  */
17
8
  interface PutFleetsFleetIdNewSettings {
18
- is_free_move?: PutFleetsFleetIdIsFreeMove;
19
- motd?: PutFleetsFleetIdMotd;
9
+ /**
10
+ * Should free-move be enabled in the fleet
11
+ */
12
+ is_free_move?: boolean;
13
+ /**
14
+ * New fleet MOTD in CCP flavoured HTML
15
+ */
16
+ motd?: string;
20
17
  [k: string]: unknown | undefined;
21
18
  }
@@ -1,16 +1,14 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/squads/{squad_id}/
3
3
  */
4
4
 
5
- /**
6
- * name string
7
- */
8
- type PutFleetsFleetIdSquadsSquadIdName = string;
9
-
10
5
  /**
11
6
  * naming object
12
7
  */
13
8
  interface PutFleetsFleetIdSquadsSquadIdNaming {
14
- name: PutFleetsFleetIdSquadsSquadIdName;
9
+ /**
10
+ * name string
11
+ */
12
+ name: string;
15
13
  [k: string]: unknown | undefined;
16
14
  }
@@ -1,16 +1,14 @@
1
- /**
1
+ /*!
2
2
  * ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/
3
3
  */
4
4
 
5
- /**
6
- * name string
7
- */
8
- type PutFleetsFleetIdWingsWingIdName = string;
9
-
10
5
  /**
11
6
  * naming object
12
7
  */
13
8
  interface PutFleetsFleetIdWingsWingIdNaming {
14
- name: PutFleetsFleetIdWingsWingIdName;
9
+ /**
10
+ * name string
11
+ */
12
+ name: string;
15
13
  [k: string]: unknown | undefined;
16
14
  }
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ "skipDefaultLibCheck": true,
5
+ "skipLibCheck": true,
6
+ "declaration": true,
7
+ "outDir": ".",
8
+ "target": "esnext",
9
+ "module": "esnext",
10
+ // "declaration": true,
11
+ "diagnostics": true,
12
+ "newLine": "LF",
13
+ "strict": true,
14
+ "moduleResolution": "node",
15
+ "rootDirs": [
16
+ "./"
17
+ ]
18
+ },
19
+ "include": [
20
+ "./*.mts"
21
+ ],
22
+ "exclude": []
23
+ }
@@ -1,18 +0,0 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/contacts/
3
- */
4
-
5
- /**
6
- * contact_ids array
7
- *
8
- * @minItems 1
9
- * @maxItems 100
10
- */
11
- type PostCharactersCharacterIdContactsContactIds = [
12
- PostCharactersCharacterIdContactsContactId,
13
- ...PostCharactersCharacterIdContactsContactId[]
14
- ];
15
- /**
16
- * ID of the contact to edit
17
- */
18
- type PostCharactersCharacterIdContactsContactId = number;
@@ -1,18 +0,0 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/cspa/
3
- */
4
-
5
- /**
6
- * characters array
7
- *
8
- * @minItems 1
9
- * @maxItems 100
10
- */
11
- type PostCharactersCharacterIdCspaCharacters = [
12
- PostCharactersCharacterIdCspaCharacter,
13
- ...PostCharactersCharacterIdCspaCharacter[]
14
- ];
15
- /**
16
- * character integer
17
- */
18
- type PostCharactersCharacterIdCspaCharacter = number;
@@ -1,101 +0,0 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/fittings/
3
- */
4
-
5
- /**
6
- * description string
7
- */
8
- type PostCharactersCharacterIdFittingsDescription = string;
9
- /**
10
- * items array
11
- *
12
- * @minItems 1
13
- * @maxItems 512
14
- */
15
- type PostCharactersCharacterIdFittingsItems = [
16
- PostCharactersCharacterIdFittingsItem,
17
- ...PostCharactersCharacterIdFittingsItem[]
18
- ];
19
- /**
20
- * Fitting location for the item. Entries placed in 'Invalid' will be discarded. If this leaves the fitting with nothing, it will cause an error.
21
- */
22
- type PostCharactersCharacterIdFittingsFlag =
23
- | "Cargo"
24
- | "DroneBay"
25
- | "FighterBay"
26
- | "HiSlot0"
27
- | "HiSlot1"
28
- | "HiSlot2"
29
- | "HiSlot3"
30
- | "HiSlot4"
31
- | "HiSlot5"
32
- | "HiSlot6"
33
- | "HiSlot7"
34
- | "Invalid"
35
- | "LoSlot0"
36
- | "LoSlot1"
37
- | "LoSlot2"
38
- | "LoSlot3"
39
- | "LoSlot4"
40
- | "LoSlot5"
41
- | "LoSlot6"
42
- | "LoSlot7"
43
- | "MedSlot0"
44
- | "MedSlot1"
45
- | "MedSlot2"
46
- | "MedSlot3"
47
- | "MedSlot4"
48
- | "MedSlot5"
49
- | "MedSlot6"
50
- | "MedSlot7"
51
- | "RigSlot0"
52
- | "RigSlot1"
53
- | "RigSlot2"
54
- | "ServiceSlot0"
55
- | "ServiceSlot1"
56
- | "ServiceSlot2"
57
- | "ServiceSlot3"
58
- | "ServiceSlot4"
59
- | "ServiceSlot5"
60
- | "ServiceSlot6"
61
- | "ServiceSlot7"
62
- | "SubSystemSlot0"
63
- | "SubSystemSlot1"
64
- | "SubSystemSlot2"
65
- | "SubSystemSlot3";
66
- /**
67
- * quantity integer
68
- */
69
- type PostCharactersCharacterIdFittingsQuantity = number;
70
- /**
71
- * type_id integer
72
- */
73
- type PostCharactersCharacterIdFittingsTypeId = number;
74
- /**
75
- * name string
76
- */
77
- type PostCharactersCharacterIdFittingsName = string;
78
- /**
79
- * ship_type_id integer
80
- */
81
- type PostCharactersCharacterIdFittingsShipTypeId = number;
82
-
83
- /**
84
- * fitting object
85
- */
86
- interface PostCharactersCharacterIdFittingsFitting {
87
- description: PostCharactersCharacterIdFittingsDescription;
88
- items: PostCharactersCharacterIdFittingsItems;
89
- name: PostCharactersCharacterIdFittingsName;
90
- ship_type_id: PostCharactersCharacterIdFittingsShipTypeId;
91
- [k: string]: unknown | undefined;
92
- }
93
- /**
94
- * item object
95
- */
96
- interface PostCharactersCharacterIdFittingsItem {
97
- flag: PostCharactersCharacterIdFittingsFlag;
98
- quantity: PostCharactersCharacterIdFittingsQuantity;
99
- type_id: PostCharactersCharacterIdFittingsTypeId;
100
- [k: string]: unknown | undefined;
101
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/mail/labels/
3
- */
4
-
5
- /**
6
- * Hexadecimal string representing label color, in RGB format
7
- */
8
- type PostCharactersCharacterIdMailLabelsColor =
9
- | "#0000fe"
10
- | "#006634"
11
- | "#0099ff"
12
- | "#00ff33"
13
- | "#01ffff"
14
- | "#349800"
15
- | "#660066"
16
- | "#666666"
17
- | "#999999"
18
- | "#99ffff"
19
- | "#9a0000"
20
- | "#ccff9a"
21
- | "#e6e6e6"
22
- | "#fe0000"
23
- | "#ff6600"
24
- | "#ffff01"
25
- | "#ffffcd"
26
- | "#ffffff";
27
- /**
28
- * name string
29
- */
30
- type PostCharactersCharacterIdMailLabelsName = string;
31
-
32
- /**
33
- * label object
34
- */
35
- interface PostCharactersCharacterIdMailLabelsLabel {
36
- color?: PostCharactersCharacterIdMailLabelsColor;
37
- name: PostCharactersCharacterIdMailLabelsName;
38
- [k: string]: unknown | undefined;
39
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * ESI endpoint: /characters/{character_id}/mail/
3
- */
4
-
5
- /**
6
- * approved_cost integer
7
- */
8
- type PostCharactersCharacterIdMailApprovedCost = number;
9
- /**
10
- * body string
11
- */
12
- type PostCharactersCharacterIdMailBody = string;
13
- /**
14
- * recipients array
15
- *
16
- * @minItems 1
17
- * @maxItems 50
18
- */
19
- type PostCharactersCharacterIdMailRecipients = [
20
- PostCharactersCharacterIdMailRecipient,
21
- ...PostCharactersCharacterIdMailRecipient[]
22
- ];
23
- /**
24
- * recipient_id integer
25
- */
26
- type PostCharactersCharacterIdMailRecipientId = number;
27
- /**
28
- * recipient_type string
29
- */
30
- type PostCharactersCharacterIdMailRecipientType = "alliance" | "character" | "corporation" | "mailing_list";
31
- /**
32
- * subject string
33
- */
34
- type PostCharactersCharacterIdMailSubject = string;
35
-
36
- /**
37
- * mail object
38
- */
39
- interface PostCharactersCharacterIdMailMail {
40
- approved_cost?: PostCharactersCharacterIdMailApprovedCost;
41
- body: PostCharactersCharacterIdMailBody;
42
- recipients: PostCharactersCharacterIdMailRecipients;
43
- subject: PostCharactersCharacterIdMailSubject;
44
- [k: string]: unknown | undefined;
45
- }
46
- /**
47
- * recipient object
48
- */
49
- interface PostCharactersCharacterIdMailRecipient {
50
- recipient_id: PostCharactersCharacterIdMailRecipientId;
51
- recipient_type: PostCharactersCharacterIdMailRecipientType;
52
- [k: string]: unknown | undefined;
53
- }