eve-esi-types 3.1.6 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/jsconfig.json +28 -0
  3. package/lib/rq-util.mjs +1 -1
  4. package/lib/tagged-request-api.mjs +5 -6
  5. package/package.json +14 -8
  6. package/v2/esi-tagged-types.d.ts +9 -5
  7. package/v2/{get_alliances_alliance_id_ok.d.ts → globals/alliance.d.ts} +44 -0
  8. package/v2/globals/assets.d.ts +443 -0
  9. package/v2/globals/calendar.d.ts +130 -0
  10. package/v2/globals/character.d.ts +1084 -0
  11. package/v2/{get_characters_character_id_clones_ok.d.ts → globals/clones.d.ts} +15 -0
  12. package/v2/globals/contacts.d.ts +212 -0
  13. package/v2/globals/contracts.d.ts +546 -0
  14. package/v2/globals/corporation.d.ts +2329 -0
  15. package/v2/globals/dogma.d.ts +262 -0
  16. package/v2/globals/factionwarfare.d.ts +668 -0
  17. package/v2/{get_characters_character_id_fittings_ok.d.ts → globals/fittings.d.ts} +23 -0
  18. package/v2/globals/fleets.d.ts +201 -0
  19. package/v2/{get_incursions_ok.d.ts → globals/incursions.d.ts} +5 -0
  20. package/v2/globals/industry.d.ts +445 -0
  21. package/v2/globals/insurance.d.ts +47 -0
  22. package/v2/{get_killmails_killmail_id_killmail_hash_ok.d.ts → globals/killmails.d.ts} +55 -0
  23. package/v2/globals/location.d.ts +74 -0
  24. package/v2/{get_loyalty_stores_corporation_id_offers_ok.d.ts → globals/loyalty.d.ts} +30 -0
  25. package/v2/globals/mail.d.ts +237 -0
  26. package/v2/globals/market.d.ts +615 -0
  27. package/v2/globals/planetaryinteraction.d.ts +344 -0
  28. package/v2/globals/routes.d.ts +14 -0
  29. package/v2/{get_characters_character_id_search_ok.d.ts → globals/search.d.ts} +5 -0
  30. package/v2/globals/skills.d.ts +144 -0
  31. package/v2/globals/sovereignty.d.ts +168 -0
  32. package/v2/{get_status_ok.d.ts → globals/status.d.ts} +5 -0
  33. package/v2/globals/universe.d.ts +1297 -0
  34. package/v2/globals/wallet.d.ts +601 -0
  35. package/v2/{get_wars_war_id_ok.d.ts → globals/wars.d.ts} +40 -0
  36. package/v2/index.d.ts +38 -163
  37. package/v2/response-map.d.ts +22 -45
  38. package/v2/types-index.d.ts +31 -182
  39. package/v2/types-util.d.ts +335 -0
  40. package/v2/util.d.ts +4 -2
  41. package/web/index.html +1 -1
  42. package/docs/esi-tagged-types.md +0 -120
  43. package/docs/v2/identify-parameters.md +0 -74
  44. package/docs/v2/if-parameterized-path.md +0 -70
  45. package/docs/v2/infer-esi-response-result.md +0 -44
  46. package/docs/v2/require-these.md +0 -57
  47. package/docs/v3/esi-enhanced-function-signature.md +0 -67
  48. package/docs/v3/esi-types-util3.md +0 -319
  49. package/docs/v3/has-require-params.md +0 -50
  50. package/docs/v3/infer-endpoint-origin.md +0 -57
  51. package/docs/v3/infer-path-params.md +0 -41
  52. package/docs/v3/pick-require-params.md +0 -56
  53. package/docs/v3/replace-path-params.md +0 -60
  54. package/docs/v3/resolved-endpoint.md +0 -44
  55. package/tsconfig.json +0 -28
  56. package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -24
  57. package/v2/get_alliances_alliance_id_contacts_ok.d.ts +0 -35
  58. package/v2/get_alliances_alliance_id_corporations_ok.d.ts +0 -9
  59. package/v2/get_alliances_alliance_id_icons_ok.d.ts +0 -18
  60. package/v2/get_alliances_ok.d.ts +0 -9
  61. package/v2/get_characters_character_id_agents_research_ok.d.ts +0 -33
  62. package/v2/get_characters_character_id_assets_ok.d.ts +0 -134
  63. package/v2/get_characters_character_id_attributes_ok.d.ts +0 -42
  64. package/v2/get_characters_character_id_blueprints_ok.d.ts +0 -122
  65. package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -30
  66. package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +0 -56
  67. package/v2/get_characters_character_id_calendar_ok.d.ts +0 -37
  68. package/v2/get_characters_character_id_contacts_labels_ok.d.ts +0 -24
  69. package/v2/get_characters_character_id_contacts_ok.d.ts +0 -43
  70. package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -32
  71. package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -38
  72. package/v2/get_characters_character_id_contracts_ok.d.ts +0 -117
  73. package/v2/get_characters_character_id_corporationhistory_ok.d.ts +0 -32
  74. package/v2/get_characters_character_id_fatigue_ok.d.ts +0 -22
  75. package/v2/get_characters_character_id_fleet_ok.d.ts +0 -31
  76. package/v2/get_characters_character_id_fw_stats_ok.d.ts +0 -64
  77. package/v2/get_characters_character_id_implants_ok.d.ts +0 -9
  78. package/v2/get_characters_character_id_industry_jobs_ok.d.ts +0 -105
  79. package/v2/get_characters_character_id_killmails_recent_ok.d.ts +0 -24
  80. package/v2/get_characters_character_id_location_ok.d.ts +0 -22
  81. package/v2/get_characters_character_id_loyalty_points_ok.d.ts +0 -24
  82. package/v2/get_characters_character_id_mail_labels_ok.d.ts +0 -62
  83. package/v2/get_characters_character_id_mail_lists_ok.d.ts +0 -24
  84. package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +0 -59
  85. package/v2/get_characters_character_id_mail_ok.d.ts +0 -65
  86. package/v2/get_characters_character_id_medals_ok.d.ts +0 -135
  87. package/v2/get_characters_character_id_mining_ok.d.ts +0 -29
  88. package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +0 -36
  89. package/v2/get_characters_character_id_notifications_ok.d.ts +0 -291
  90. package/v2/get_characters_character_id_ok.d.ts +0 -55
  91. package/v2/get_characters_character_id_online_ok.d.ts +0 -26
  92. package/v2/get_characters_character_id_opportunities_ok.d.ts +0 -24
  93. package/v2/get_characters_character_id_orders_history_ok.d.ts +0 -87
  94. package/v2/get_characters_character_id_orders_ok.d.ts +0 -82
  95. package/v2/get_characters_character_id_planets_ok.d.ts +0 -124
  96. package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +0 -283
  97. package/v2/get_characters_character_id_portrait_ok.d.ts +0 -26
  98. package/v2/get_characters_character_id_roles_ok.d.ts +0 -270
  99. package/v2/get_characters_character_id_ship_ok.d.ts +0 -19
  100. package/v2/get_characters_character_id_skillqueue_ok.d.ts +0 -48
  101. package/v2/get_characters_character_id_skills_ok.d.ts +0 -47
  102. package/v2/get_characters_character_id_standings_ok.d.ts +0 -29
  103. package/v2/get_characters_character_id_titles_ok.d.ts +0 -184
  104. package/v2/get_characters_character_id_wallet_journal_ok.d.ts +0 -228
  105. package/v2/get_characters_character_id_wallet_ok.d.ts +0 -7
  106. package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +0 -53
  107. package/v2/get_contracts_public_bids_contract_id_ok.d.ts +0 -28
  108. package/v2/get_contracts_public_items_contract_id_ok.d.ts +0 -49
  109. package/v2/get_contracts_public_region_id_ok.d.ts +0 -81
  110. package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -39
  111. package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -36
  112. package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -30
  113. package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -32
  114. package/v2/get_corporations_corporation_id_assets_ok.d.ts +0 -170
  115. package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +0 -163
  116. package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -24
  117. package/v2/get_corporations_corporation_id_contacts_ok.d.ts +0 -39
  118. package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -188
  119. package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -33
  120. package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -38
  121. package/v2/get_corporations_corporation_id_contracts_ok.d.ts +0 -117
  122. package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -78
  123. package/v2/get_corporations_corporation_id_divisions_ok.d.ts +0 -128
  124. package/v2/get_corporations_corporation_id_facilities_ok.d.ts +0 -25
  125. package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -60
  126. package/v2/get_corporations_corporation_id_icons_ok.d.ts +0 -22
  127. package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -105
  128. package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -24
  129. package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -41
  130. package/v2/get_corporations_corporation_id_medals_ok.d.ts +0 -36
  131. package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +0 -7
  132. package/v2/get_corporations_corporation_id_members_ok.d.ts +0 -9
  133. package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +0 -194
  134. package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +0 -41
  135. package/v2/get_corporations_corporation_id_ok.d.ts +0 -66
  136. package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +0 -91
  137. package/v2/get_corporations_corporation_id_orders_ok.d.ts +0 -86
  138. package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +0 -171
  139. package/v2/get_corporations_corporation_id_roles_ok.d.ts +0 -543
  140. package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +0 -29
  141. package/v2/get_corporations_corporation_id_standings_ok.d.ts +0 -29
  142. package/v2/get_corporations_corporation_id_starbases_ok.d.ts +0 -51
  143. package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -110
  144. package/v2/get_corporations_corporation_id_structures_ok.d.ts +0 -176
  145. package/v2/get_corporations_corporation_id_titles_ok.d.ts +0 -548
  146. package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -229
  147. package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -50
  148. package/v2/get_corporations_corporation_id_wallets_ok.d.ts +0 -62
  149. package/v2/get_corporations_npccorps_ok.d.ts +0 -9
  150. package/v2/get_dogma_attributes_attribute_id_ok.d.ts +0 -50
  151. package/v2/get_dogma_attributes_ok.d.ts +0 -9
  152. package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -58
  153. package/v2/get_dogma_effects_effect_id_ok.d.ts +0 -127
  154. package/v2/get_dogma_effects_ok.d.ts +0 -9
  155. package/v2/get_fleets_fleet_id_members_ok.d.ts +0 -54
  156. package/v2/get_fleets_fleet_id_ok.d.ts +0 -26
  157. package/v2/get_fleets_fleet_id_wings_ok.d.ts +0 -45
  158. package/v2/get_fw_leaderboards_characters_ok.d.ts +0 -110
  159. package/v2/get_fw_leaderboards_corporations_ok.d.ts +0 -109
  160. package/v2/get_fw_leaderboards_ok.d.ts +0 -182
  161. package/v2/get_fw_stats_ok.d.ts +0 -66
  162. package/v2/get_fw_systems_ok.d.ts +0 -41
  163. package/v2/get_fw_wars_ok.d.ts +0 -24
  164. package/v2/get_industry_facilities_ok.d.ts +0 -37
  165. package/v2/get_industry_systems_ok.d.ts +0 -119
  166. package/v2/get_insurance_prices_ok.d.ts +0 -62
  167. package/v2/get_markets_groups_market_group_id_ok.d.ts +0 -27
  168. package/v2/get_markets_groups_ok.d.ts +0 -9
  169. package/v2/get_markets_prices_ok.d.ts +0 -25
  170. package/v2/get_markets_region_id_history_ok.d.ts +0 -40
  171. package/v2/get_markets_region_id_orders_ok.d.ts +0 -74
  172. package/v2/get_markets_region_id_types_ok.d.ts +0 -9
  173. package/v2/get_markets_structures_structure_id_ok.d.ts +0 -70
  174. package/v2/get_opportunities_groups_group_id_ok.d.ts +0 -38
  175. package/v2/get_opportunities_groups_ok.d.ts +0 -9
  176. package/v2/get_opportunities_tasks_ok.d.ts +0 -9
  177. package/v2/get_opportunities_tasks_task_id_ok.d.ts +0 -26
  178. package/v2/get_route_origin_destination_ok.d.ts +0 -9
  179. package/v2/get_sovereignty_campaigns_ok.d.ts +0 -83
  180. package/v2/get_sovereignty_map_ok.d.ts +0 -32
  181. package/v2/get_sovereignty_structures_ok.d.ts +0 -46
  182. package/v2/get_universe_ancestries_ok.d.ts +0 -40
  183. package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -37
  184. package/v2/get_universe_bloodlines_ok.d.ts +0 -57
  185. package/v2/get_universe_categories_category_id_ok.d.ts +0 -28
  186. package/v2/get_universe_categories_ok.d.ts +0 -9
  187. package/v2/get_universe_constellations_constellation_id_ok.d.ts +0 -47
  188. package/v2/get_universe_constellations_ok.d.ts +0 -9
  189. package/v2/get_universe_factions_ok.d.ts +0 -56
  190. package/v2/get_universe_graphics_graphic_id_ok.d.ts +0 -42
  191. package/v2/get_universe_graphics_ok.d.ts +0 -9
  192. package/v2/get_universe_groups_group_id_ok.d.ts +0 -27
  193. package/v2/get_universe_groups_ok.d.ts +0 -9
  194. package/v2/get_universe_moons_moon_id_ok.d.ts +0 -41
  195. package/v2/get_universe_planets_planet_id_ok.d.ts +0 -42
  196. package/v2/get_universe_races_ok.d.ts +0 -52
  197. package/v2/get_universe_regions_ok.d.ts +0 -9
  198. package/v2/get_universe_regions_region_id_ok.d.ts +0 -28
  199. package/v2/get_universe_schematics_schematic_id_ok.d.ts +0 -18
  200. package/v2/get_universe_stargates_stargate_id_ok.d.ts +0 -57
  201. package/v2/get_universe_stars_star_id_ok.d.ts +0 -129
  202. package/v2/get_universe_stations_station_id_ok.d.ts +0 -104
  203. package/v2/get_universe_structures_ok.d.ts +0 -9
  204. package/v2/get_universe_structures_structure_id_ok.d.ts +0 -43
  205. package/v2/get_universe_system_jumps_ok.d.ts +0 -24
  206. package/v2/get_universe_system_kills_ok.d.ts +0 -32
  207. package/v2/get_universe_systems_ok.d.ts +0 -9
  208. package/v2/get_universe_systems_system_id_ok.d.ts +0 -94
  209. package/v2/get_universe_types_ok.d.ts +0 -9
  210. package/v2/get_universe_types_type_id_ok.d.ts +0 -105
  211. package/v2/get_wars_ok.d.ts +0 -9
  212. package/v2/get_wars_war_id_killmails_ok.d.ts +0 -24
  213. package/v2/post_characters_affiliation_ok.d.ts +0 -32
  214. package/v2/post_characters_character_id_assets_locations_ok.d.ts +0 -39
  215. package/v2/post_characters_character_id_assets_names_ok.d.ts +0 -24
  216. package/v2/post_characters_character_id_contacts_created.d.ts +0 -9
  217. package/v2/post_characters_character_id_cspa_created.d.ts +0 -7
  218. package/v2/post_characters_character_id_fittings_created.d.ts +0 -14
  219. package/v2/post_characters_character_id_mail_created.d.ts +0 -7
  220. package/v2/post_characters_character_id_mail_labels_created.d.ts +0 -7
  221. package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -39
  222. package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +0 -24
  223. package/v2/post_fleets_fleet_id_wings_created.d.ts +0 -14
  224. package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -14
  225. package/v2/post_universe_ids_ok.d.ts +0 -86
  226. package/v2/post_universe_names_ok.d.ts +0 -38
  227. /package/v2/{extra-types.d.ts → globals/extra-types.d.ts} +0 -0
@@ -1,3 +1,58 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/characters/{character_id}/killmails/recent/
8
+ */
9
+ /**
10
+ * 200 ok array
11
+ *
12
+ * @maxItems 1000
13
+ */
14
+ type GetCharactersCharacterIdKillmailsRecentOk = GetCharactersCharacterIdKillmailsRecent_200Ok[];
15
+
16
+ /**
17
+ * 200 ok object
18
+ */
19
+ interface GetCharactersCharacterIdKillmailsRecent_200Ok {
20
+ /**
21
+ * A hash of this killmail
22
+ */
23
+ killmail_hash: string;
24
+ /**
25
+ * ID of this killmail
26
+ */
27
+ killmail_id: number;
28
+ [k: string]: unknown | undefined;
29
+ }
30
+
31
+ /*!
32
+ * ESI endpoint: get:/corporations/{corporation_id}/killmails/recent/
33
+ */
34
+ /**
35
+ * 200 ok array
36
+ *
37
+ * @maxItems 1000
38
+ */
39
+ type GetCorporationsCorporationIdKillmailsRecentOk = GetCorporationsCorporationIdKillmailsRecent_200Ok[];
40
+
41
+ /**
42
+ * 200 ok object
43
+ */
44
+ interface GetCorporationsCorporationIdKillmailsRecent_200Ok {
45
+ /**
46
+ * A hash of this killmail
47
+ */
48
+ killmail_hash: string;
49
+ /**
50
+ * ID of this killmail
51
+ */
52
+ killmail_id: number;
53
+ [k: string]: unknown | undefined;
54
+ }
55
+
1
56
  /*!
2
57
  * ESI endpoint: get:/killmails/{killmail_id}/{killmail_hash}/
3
58
  */
@@ -0,0 +1,74 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/characters/{character_id}/location/
8
+ */
9
+
10
+ /**
11
+ * 200 ok object
12
+ */
13
+ interface GetCharactersCharacterIdLocationOk {
14
+ /**
15
+ * solar_system_id integer
16
+ */
17
+ solar_system_id: number;
18
+ /**
19
+ * station_id integer
20
+ */
21
+ station_id?: number;
22
+ /**
23
+ * structure_id integer
24
+ */
25
+ structure_id?: number;
26
+ [k: string]: unknown | undefined;
27
+ }
28
+
29
+ /*!
30
+ * ESI endpoint: get:/characters/{character_id}/online/
31
+ */
32
+
33
+ /**
34
+ * 200 ok object
35
+ */
36
+ interface GetCharactersCharacterIdOnlineOk {
37
+ /**
38
+ * Timestamp of the last login
39
+ */
40
+ last_login?: string;
41
+ /**
42
+ * Timestamp of the last logout
43
+ */
44
+ last_logout?: string;
45
+ /**
46
+ * Total number of times the character has logged in
47
+ */
48
+ logins?: number;
49
+ /**
50
+ * If the character is online
51
+ */
52
+ online: boolean;
53
+ [k: string]: unknown | undefined;
54
+ }
55
+
56
+ /*!
57
+ * ESI endpoint: get:/characters/{character_id}/ship/
58
+ */
59
+
60
+ /**
61
+ * 200 ok object
62
+ */
63
+ interface GetCharactersCharacterIdShipOk {
64
+ /**
65
+ * Item id's are unique to a ship and persist until it is repackaged. This value can be used to track repeated uses of a ship, or detect when a pilot changes into a different instance of the same ship type.
66
+ */
67
+ ship_item_id: number;
68
+ /**
69
+ * ship_name string
70
+ */
71
+ ship_name: string;
72
+ ship_type_id: number;
73
+ [k: string]: unknown | undefined;
74
+ }
@@ -1,3 +1,33 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/characters/{character_id}/loyalty/points/
8
+ */
9
+ /**
10
+ * 200 ok array
11
+ *
12
+ * @maxItems 500
13
+ */
14
+ type GetCharactersCharacterIdLoyaltyPointsOk = GetCharactersCharacterIdLoyaltyPoints_200Ok[];
15
+
16
+ /**
17
+ * 200 ok object
18
+ */
19
+ interface GetCharactersCharacterIdLoyaltyPoints_200Ok {
20
+ /**
21
+ * corporation_id integer
22
+ */
23
+ corporation_id: number;
24
+ /**
25
+ * loyalty_points integer
26
+ */
27
+ loyalty_points: number;
28
+ [k: string]: unknown | undefined;
29
+ }
30
+
1
31
  /*!
2
32
  * ESI endpoint: get:/loyalty/stores/{corporation_id}/offers/
3
33
  */
@@ -0,0 +1,237 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/characters/{character_id}/mail/
8
+ */
9
+ /**
10
+ * recipient_type string
11
+ */
12
+ type GetCharactersCharacterIdMailRecipientType = "alliance" | "character" | "corporation" | "mailing_list";
13
+ /**
14
+ * Recipients of the mail
15
+ *
16
+ * @minItems 0
17
+ * @maxItems 52
18
+ */
19
+ type GetCharactersCharacterIdMailRecipients = GetCharactersCharacterIdMailRecipient[];
20
+ /**
21
+ * 200 ok array
22
+ *
23
+ * @maxItems 50
24
+ */
25
+ type GetCharactersCharacterIdMailOk = GetCharactersCharacterIdMail_200Ok[];
26
+
27
+ /**
28
+ * 200 ok object
29
+ */
30
+ interface GetCharactersCharacterIdMail_200Ok {
31
+ /**
32
+ * From whom the mail was sent
33
+ */
34
+ from?: number;
35
+ /**
36
+ * is_read boolean
37
+ */
38
+ is_read?: boolean;
39
+ /**
40
+ * labels array
41
+ *
42
+ * @maxItems 25
43
+ */
44
+ labels?: number[];
45
+ /**
46
+ * mail_id integer
47
+ */
48
+ mail_id?: number;
49
+ recipients?: GetCharactersCharacterIdMailRecipients;
50
+ /**
51
+ * Mail subject
52
+ */
53
+ subject?: string;
54
+ /**
55
+ * When the mail was sent
56
+ */
57
+ timestamp?: string;
58
+ [k: string]: unknown | undefined;
59
+ }
60
+ /**
61
+ * recipient object
62
+ */
63
+ interface GetCharactersCharacterIdMailRecipient {
64
+ /**
65
+ * recipient_id integer
66
+ */
67
+ recipient_id: number;
68
+ recipient_type: GetCharactersCharacterIdMailRecipientType;
69
+ [k: string]: unknown | undefined;
70
+ }
71
+
72
+ /*!
73
+ * ESI endpoint: get:/characters/{character_id}/mail/labels/
74
+ */
75
+ /**
76
+ * color string
77
+ */
78
+ type GetCharactersCharacterIdMailLabelsColor =
79
+ | "#0000fe"
80
+ | "#006634"
81
+ | "#0099ff"
82
+ | "#00ff33"
83
+ | "#01ffff"
84
+ | "#349800"
85
+ | "#660066"
86
+ | "#666666"
87
+ | "#999999"
88
+ | "#99ffff"
89
+ | "#9a0000"
90
+ | "#ccff9a"
91
+ | "#e6e6e6"
92
+ | "#fe0000"
93
+ | "#ff6600"
94
+ | "#ffff01"
95
+ | "#ffffcd"
96
+ | "#ffffff";
97
+ /**
98
+ * labels array
99
+ *
100
+ * @maxItems 30
101
+ */
102
+ type GetCharactersCharacterIdMailLabelsLabels = GetCharactersCharacterIdMailLabelsLabel[];
103
+
104
+ /**
105
+ * 200 ok object
106
+ */
107
+ interface GetCharactersCharacterIdMailLabelsOk {
108
+ labels?: GetCharactersCharacterIdMailLabelsLabels;
109
+ /**
110
+ * total_unread_count integer
111
+ */
112
+ total_unread_count?: number;
113
+ [k: string]: unknown | undefined;
114
+ }
115
+ /**
116
+ * label object
117
+ */
118
+ interface GetCharactersCharacterIdMailLabelsLabel {
119
+ color?: GetCharactersCharacterIdMailLabelsColor;
120
+ /**
121
+ * label_id integer
122
+ */
123
+ label_id?: number;
124
+ /**
125
+ * name string
126
+ */
127
+ name?: string;
128
+ /**
129
+ * unread_count integer
130
+ */
131
+ unread_count?: number;
132
+ [k: string]: unknown | undefined;
133
+ }
134
+
135
+ /*!
136
+ * ESI endpoint: get:/characters/{character_id}/mail/lists/
137
+ */
138
+ /**
139
+ * 200 ok array
140
+ *
141
+ * @maxItems 1000
142
+ */
143
+ type GetCharactersCharacterIdMailListsOk = GetCharactersCharacterIdMailLists_200Ok[];
144
+
145
+ /**
146
+ * 200 ok object
147
+ */
148
+ interface GetCharactersCharacterIdMailLists_200Ok {
149
+ /**
150
+ * Mailing list ID
151
+ */
152
+ mailing_list_id: number;
153
+ /**
154
+ * name string
155
+ */
156
+ name: string;
157
+ [k: string]: unknown | undefined;
158
+ }
159
+
160
+ /*!
161
+ * ESI endpoint: get:/characters/{character_id}/mail/{mail_id}/
162
+ */
163
+ /**
164
+ * recipient_type string
165
+ */
166
+ type GetCharactersCharacterIdMailMailIdRecipientType = "alliance" | "character" | "corporation" | "mailing_list";
167
+ /**
168
+ * Recipients of the mail
169
+ *
170
+ * @minItems 0
171
+ * @maxItems 52
172
+ */
173
+ type GetCharactersCharacterIdMailMailIdRecipients = GetCharactersCharacterIdMailMailIdRecipient[];
174
+
175
+ /**
176
+ * 200 ok object
177
+ */
178
+ interface GetCharactersCharacterIdMailMailIdOk {
179
+ /**
180
+ * Mail's body
181
+ */
182
+ body?: string;
183
+ /**
184
+ * From whom the mail was sent
185
+ */
186
+ from?: number;
187
+ /**
188
+ * Labels attached to the mail
189
+ *
190
+ * @maxItems 25
191
+ */
192
+ labels?: number[];
193
+ /**
194
+ * Whether the mail is flagged as read
195
+ */
196
+ read?: boolean;
197
+ recipients?: GetCharactersCharacterIdMailMailIdRecipients;
198
+ /**
199
+ * Mail subject
200
+ */
201
+ subject?: string;
202
+ /**
203
+ * When the mail was sent
204
+ */
205
+ timestamp?: string;
206
+ [k: string]: unknown | undefined;
207
+ }
208
+ /**
209
+ * recipient object
210
+ */
211
+ interface GetCharactersCharacterIdMailMailIdRecipient {
212
+ /**
213
+ * recipient_id integer
214
+ */
215
+ recipient_id: number;
216
+ recipient_type: GetCharactersCharacterIdMailMailIdRecipientType;
217
+ [k: string]: unknown | undefined;
218
+ }
219
+
220
+ // - - - - - - - - - - - - - - - - - - - -
221
+ // @method {post}
222
+ // - - - - - - - - - - - - - - - - - - - -
223
+ /*!
224
+ * ESI endpoint: post:/characters/{character_id}/mail/
225
+ */
226
+ /**
227
+ * Mail ID
228
+ */
229
+ type PostCharactersCharacterIdMailCreated = number;
230
+
231
+ /*!
232
+ * ESI endpoint: post:/characters/{character_id}/mail/labels/
233
+ */
234
+ /**
235
+ * Label ID
236
+ */
237
+ type PostCharactersCharacterIdMailLabelsCreated = number;