eve-esi-types 3.1.7 → 3.2.1

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 (214) 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 -7
  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 +918 -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 +1577 -0
  15. package/v2/globals/dogma.d.ts +262 -0
  16. package/v2/globals/factionwarfare.d.ts +596 -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 +25 -152
  37. package/v2/response-map.d.ts +1 -24
  38. package/v2/types-index.d.ts +31 -182
  39. package/v2/types-util.d.ts +316 -0
  40. package/v2/util.d.ts +4 -2
  41. package/web/index.html +1 -1
  42. package/tsconfig.json +0 -28
  43. package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -24
  44. package/v2/get_alliances_alliance_id_contacts_ok.d.ts +0 -35
  45. package/v2/get_alliances_alliance_id_corporations_ok.d.ts +0 -9
  46. package/v2/get_alliances_alliance_id_icons_ok.d.ts +0 -18
  47. package/v2/get_alliances_ok.d.ts +0 -9
  48. package/v2/get_characters_character_id_agents_research_ok.d.ts +0 -33
  49. package/v2/get_characters_character_id_assets_ok.d.ts +0 -134
  50. package/v2/get_characters_character_id_attributes_ok.d.ts +0 -42
  51. package/v2/get_characters_character_id_blueprints_ok.d.ts +0 -122
  52. package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -30
  53. package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +0 -56
  54. package/v2/get_characters_character_id_calendar_ok.d.ts +0 -37
  55. package/v2/get_characters_character_id_contacts_labels_ok.d.ts +0 -24
  56. package/v2/get_characters_character_id_contacts_ok.d.ts +0 -43
  57. package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -32
  58. package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -38
  59. package/v2/get_characters_character_id_contracts_ok.d.ts +0 -117
  60. package/v2/get_characters_character_id_corporationhistory_ok.d.ts +0 -32
  61. package/v2/get_characters_character_id_fatigue_ok.d.ts +0 -22
  62. package/v2/get_characters_character_id_fleet_ok.d.ts +0 -31
  63. package/v2/get_characters_character_id_fw_stats_ok.d.ts +0 -64
  64. package/v2/get_characters_character_id_implants_ok.d.ts +0 -9
  65. package/v2/get_characters_character_id_industry_jobs_ok.d.ts +0 -105
  66. package/v2/get_characters_character_id_killmails_recent_ok.d.ts +0 -24
  67. package/v2/get_characters_character_id_location_ok.d.ts +0 -22
  68. package/v2/get_characters_character_id_loyalty_points_ok.d.ts +0 -24
  69. package/v2/get_characters_character_id_mail_labels_ok.d.ts +0 -62
  70. package/v2/get_characters_character_id_mail_lists_ok.d.ts +0 -24
  71. package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +0 -59
  72. package/v2/get_characters_character_id_mail_ok.d.ts +0 -65
  73. package/v2/get_characters_character_id_medals_ok.d.ts +0 -135
  74. package/v2/get_characters_character_id_mining_ok.d.ts +0 -29
  75. package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +0 -36
  76. package/v2/get_characters_character_id_notifications_ok.d.ts +0 -291
  77. package/v2/get_characters_character_id_ok.d.ts +0 -55
  78. package/v2/get_characters_character_id_online_ok.d.ts +0 -26
  79. package/v2/get_characters_character_id_opportunities_ok.d.ts +0 -24
  80. package/v2/get_characters_character_id_orders_history_ok.d.ts +0 -87
  81. package/v2/get_characters_character_id_orders_ok.d.ts +0 -82
  82. package/v2/get_characters_character_id_planets_ok.d.ts +0 -124
  83. package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +0 -283
  84. package/v2/get_characters_character_id_portrait_ok.d.ts +0 -26
  85. package/v2/get_characters_character_id_roles_ok.d.ts +0 -270
  86. package/v2/get_characters_character_id_ship_ok.d.ts +0 -19
  87. package/v2/get_characters_character_id_skillqueue_ok.d.ts +0 -48
  88. package/v2/get_characters_character_id_skills_ok.d.ts +0 -47
  89. package/v2/get_characters_character_id_standings_ok.d.ts +0 -29
  90. package/v2/get_characters_character_id_titles_ok.d.ts +0 -184
  91. package/v2/get_characters_character_id_wallet_journal_ok.d.ts +0 -228
  92. package/v2/get_characters_character_id_wallet_ok.d.ts +0 -7
  93. package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +0 -53
  94. package/v2/get_contracts_public_bids_contract_id_ok.d.ts +0 -28
  95. package/v2/get_contracts_public_items_contract_id_ok.d.ts +0 -49
  96. package/v2/get_contracts_public_region_id_ok.d.ts +0 -81
  97. package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -39
  98. package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -36
  99. package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -30
  100. package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -32
  101. package/v2/get_corporations_corporation_id_assets_ok.d.ts +0 -170
  102. package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +0 -163
  103. package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -24
  104. package/v2/get_corporations_corporation_id_contacts_ok.d.ts +0 -39
  105. package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -188
  106. package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -33
  107. package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -38
  108. package/v2/get_corporations_corporation_id_contracts_ok.d.ts +0 -117
  109. package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -78
  110. package/v2/get_corporations_corporation_id_divisions_ok.d.ts +0 -128
  111. package/v2/get_corporations_corporation_id_facilities_ok.d.ts +0 -25
  112. package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -60
  113. package/v2/get_corporations_corporation_id_icons_ok.d.ts +0 -22
  114. package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -105
  115. package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -24
  116. package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -41
  117. package/v2/get_corporations_corporation_id_medals_ok.d.ts +0 -36
  118. package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +0 -7
  119. package/v2/get_corporations_corporation_id_members_ok.d.ts +0 -9
  120. package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +0 -194
  121. package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +0 -41
  122. package/v2/get_corporations_corporation_id_ok.d.ts +0 -66
  123. package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +0 -91
  124. package/v2/get_corporations_corporation_id_orders_ok.d.ts +0 -86
  125. package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +0 -171
  126. package/v2/get_corporations_corporation_id_roles_ok.d.ts +0 -543
  127. package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +0 -29
  128. package/v2/get_corporations_corporation_id_standings_ok.d.ts +0 -29
  129. package/v2/get_corporations_corporation_id_starbases_ok.d.ts +0 -51
  130. package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -110
  131. package/v2/get_corporations_corporation_id_structures_ok.d.ts +0 -176
  132. package/v2/get_corporations_corporation_id_titles_ok.d.ts +0 -548
  133. package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -229
  134. package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -50
  135. package/v2/get_corporations_corporation_id_wallets_ok.d.ts +0 -62
  136. package/v2/get_corporations_npccorps_ok.d.ts +0 -9
  137. package/v2/get_dogma_attributes_attribute_id_ok.d.ts +0 -50
  138. package/v2/get_dogma_attributes_ok.d.ts +0 -9
  139. package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -58
  140. package/v2/get_dogma_effects_effect_id_ok.d.ts +0 -127
  141. package/v2/get_dogma_effects_ok.d.ts +0 -9
  142. package/v2/get_fleets_fleet_id_members_ok.d.ts +0 -54
  143. package/v2/get_fleets_fleet_id_ok.d.ts +0 -26
  144. package/v2/get_fleets_fleet_id_wings_ok.d.ts +0 -45
  145. package/v2/get_fw_leaderboards_characters_ok.d.ts +0 -110
  146. package/v2/get_fw_leaderboards_corporations_ok.d.ts +0 -109
  147. package/v2/get_fw_leaderboards_ok.d.ts +0 -182
  148. package/v2/get_fw_stats_ok.d.ts +0 -66
  149. package/v2/get_fw_systems_ok.d.ts +0 -41
  150. package/v2/get_fw_wars_ok.d.ts +0 -24
  151. package/v2/get_industry_facilities_ok.d.ts +0 -37
  152. package/v2/get_industry_systems_ok.d.ts +0 -119
  153. package/v2/get_insurance_prices_ok.d.ts +0 -62
  154. package/v2/get_markets_groups_market_group_id_ok.d.ts +0 -27
  155. package/v2/get_markets_groups_ok.d.ts +0 -9
  156. package/v2/get_markets_prices_ok.d.ts +0 -25
  157. package/v2/get_markets_region_id_history_ok.d.ts +0 -40
  158. package/v2/get_markets_region_id_orders_ok.d.ts +0 -74
  159. package/v2/get_markets_region_id_types_ok.d.ts +0 -9
  160. package/v2/get_markets_structures_structure_id_ok.d.ts +0 -70
  161. package/v2/get_opportunities_groups_group_id_ok.d.ts +0 -38
  162. package/v2/get_opportunities_groups_ok.d.ts +0 -9
  163. package/v2/get_opportunities_tasks_ok.d.ts +0 -9
  164. package/v2/get_opportunities_tasks_task_id_ok.d.ts +0 -26
  165. package/v2/get_route_origin_destination_ok.d.ts +0 -9
  166. package/v2/get_sovereignty_campaigns_ok.d.ts +0 -83
  167. package/v2/get_sovereignty_map_ok.d.ts +0 -32
  168. package/v2/get_sovereignty_structures_ok.d.ts +0 -46
  169. package/v2/get_universe_ancestries_ok.d.ts +0 -40
  170. package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -37
  171. package/v2/get_universe_bloodlines_ok.d.ts +0 -57
  172. package/v2/get_universe_categories_category_id_ok.d.ts +0 -28
  173. package/v2/get_universe_categories_ok.d.ts +0 -9
  174. package/v2/get_universe_constellations_constellation_id_ok.d.ts +0 -47
  175. package/v2/get_universe_constellations_ok.d.ts +0 -9
  176. package/v2/get_universe_factions_ok.d.ts +0 -56
  177. package/v2/get_universe_graphics_graphic_id_ok.d.ts +0 -42
  178. package/v2/get_universe_graphics_ok.d.ts +0 -9
  179. package/v2/get_universe_groups_group_id_ok.d.ts +0 -27
  180. package/v2/get_universe_groups_ok.d.ts +0 -9
  181. package/v2/get_universe_moons_moon_id_ok.d.ts +0 -41
  182. package/v2/get_universe_planets_planet_id_ok.d.ts +0 -42
  183. package/v2/get_universe_races_ok.d.ts +0 -52
  184. package/v2/get_universe_regions_ok.d.ts +0 -9
  185. package/v2/get_universe_regions_region_id_ok.d.ts +0 -28
  186. package/v2/get_universe_schematics_schematic_id_ok.d.ts +0 -18
  187. package/v2/get_universe_stargates_stargate_id_ok.d.ts +0 -57
  188. package/v2/get_universe_stars_star_id_ok.d.ts +0 -129
  189. package/v2/get_universe_stations_station_id_ok.d.ts +0 -104
  190. package/v2/get_universe_structures_ok.d.ts +0 -9
  191. package/v2/get_universe_structures_structure_id_ok.d.ts +0 -43
  192. package/v2/get_universe_system_jumps_ok.d.ts +0 -24
  193. package/v2/get_universe_system_kills_ok.d.ts +0 -32
  194. package/v2/get_universe_systems_ok.d.ts +0 -9
  195. package/v2/get_universe_systems_system_id_ok.d.ts +0 -94
  196. package/v2/get_universe_types_ok.d.ts +0 -9
  197. package/v2/get_universe_types_type_id_ok.d.ts +0 -105
  198. package/v2/get_wars_ok.d.ts +0 -9
  199. package/v2/get_wars_war_id_killmails_ok.d.ts +0 -24
  200. package/v2/post_characters_affiliation_ok.d.ts +0 -32
  201. package/v2/post_characters_character_id_assets_locations_ok.d.ts +0 -39
  202. package/v2/post_characters_character_id_assets_names_ok.d.ts +0 -24
  203. package/v2/post_characters_character_id_contacts_created.d.ts +0 -9
  204. package/v2/post_characters_character_id_cspa_created.d.ts +0 -7
  205. package/v2/post_characters_character_id_fittings_created.d.ts +0 -14
  206. package/v2/post_characters_character_id_mail_created.d.ts +0 -7
  207. package/v2/post_characters_character_id_mail_labels_created.d.ts +0 -7
  208. package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -39
  209. package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +0 -24
  210. package/v2/post_fleets_fleet_id_wings_created.d.ts +0 -14
  211. package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -14
  212. package/v2/post_universe_ids_ok.d.ts +0 -86
  213. package/v2/post_universe_names_ok.d.ts +0 -38
  214. /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;