eve-esi-types 2.0.3-beta → 2.0.4-beta
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.
- package/package.json +1 -1
- package/snippet.ts +49 -0
- package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +9 -9
- package/v2/get_alliances_alliance_id_contacts_ok.d.ts +14 -17
- package/v2/get_alliances_alliance_id_corporations_ok.d.ts +3 -6
- package/v2/get_alliances_alliance_id_icons_ok.d.ts +9 -9
- package/v2/get_alliances_alliance_id_ok.d.ts +24 -24
- package/v2/get_alliances_ok.d.ts +3 -6
- package/v2/get_characters_character_id_agents_research_ok.d.ts +15 -18
- package/v2/get_characters_character_id_assets_ok.d.ts +18 -21
- package/v2/get_characters_character_id_attributes_ok.d.ts +27 -27
- package/v2/get_characters_character_id_blueprints_ok.d.ts +21 -24
- package/v2/get_characters_character_id_bookmarks_folders_ok.d.ts +9 -9
- package/v2/get_characters_character_id_bookmarks_ok.d.ts +36 -39
- package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +6 -6
- package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +30 -30
- package/v2/get_characters_character_id_calendar_ok.d.ts +15 -15
- package/v2/get_characters_character_id_clones_ok.d.ts +26 -29
- package/v2/get_characters_character_id_contacts_labels_ok.d.ts +9 -9
- package/v2/get_characters_character_id_contacts_ok.d.ts +20 -23
- package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +15 -15
- package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +18 -21
- package/v2/get_characters_character_id_contracts_ok.d.ts +60 -60
- package/v2/get_characters_character_id_corporationhistory_ok.d.ts +15 -15
- package/v2/get_characters_character_id_fatigue_ok.d.ts +12 -12
- package/v2/get_characters_character_id_fittings_ok.d.ts +15 -21
- package/v2/get_characters_character_id_fleet_ok.d.ts +12 -12
- package/v2/get_characters_character_id_fw_stats_ok.d.ts +33 -33
- package/v2/get_characters_character_id_implants_ok.d.ts +3 -6
- package/v2/get_characters_character_id_industry_jobs_ok.d.ts +60 -66
- package/v2/get_characters_character_id_killmails_recent_ok.d.ts +9 -9
- package/v2/get_characters_character_id_location_ok.d.ts +12 -12
- package/v2/get_characters_character_id_loyalty_points_ok.d.ts +9 -9
- package/v2/get_characters_character_id_mail_labels_ok.d.ts +15 -15
- package/v2/get_characters_character_id_mail_lists_ok.d.ts +9 -9
- package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +25 -28
- package/v2/get_characters_character_id_mail_ok.d.ts +25 -28
- package/v2/get_characters_character_id_medals_ok.d.ts +36 -36
- package/v2/get_characters_character_id_mining_ok.d.ts +12 -15
- package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +18 -18
- package/v2/get_characters_character_id_notifications_ok.d.ts +18 -18
- package/v2/get_characters_character_id_ok.d.ts +33 -33
- package/v2/get_characters_character_id_online_ok.d.ts +15 -15
- package/v2/get_characters_character_id_opportunities_ok.d.ts +9 -9
- package/v2/get_characters_character_id_orders_history_ok.d.ts +39 -43
- package/v2/get_characters_character_id_orders_ok.d.ts +39 -43
- package/v2/get_characters_character_id_planets_ok.d.ts +21 -21
- package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +73 -124
- package/v2/get_characters_character_id_portrait_ok.d.ts +15 -15
- package/v2/get_characters_character_id_roles_ok.d.ts +3 -3
- package/v2/get_characters_character_id_search_ok.d.ts +52 -90
- package/v2/get_characters_character_id_ship_ok.d.ts +9 -12
- package/v2/get_characters_character_id_skillqueue_ok.d.ts +27 -27
- package/v2/get_characters_character_id_skills_ok.d.ts +21 -21
- package/v2/get_characters_character_id_standings_ok.d.ts +9 -9
- package/v2/get_characters_character_id_titles_ok.d.ts +9 -9
- package/v2/get_characters_character_id_wallet_journal_ok.d.ts +38 -40
- package/v2/get_characters_character_id_wallet_ok.d.ts +3 -3
- package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +30 -33
- package/v2/get_contracts_public_bids_contract_id_ok.d.ts +12 -12
- package/v2/get_contracts_public_items_contract_id_ok.d.ts +27 -30
- package/v2/get_contracts_public_region_id_ok.d.ts +48 -48
- package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +21 -21
- package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +17 -20
- package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +10 -10
- package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +15 -15
- package/v2/get_corporations_corporation_id_assets_ok.d.ts +18 -21
- package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +21 -24
- package/v2/get_corporations_corporation_id_bookmarks_folders_ok.d.ts +12 -12
- package/v2/get_corporations_corporation_id_bookmarks_ok.d.ts +36 -39
- package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +9 -9
- package/v2/get_corporations_corporation_id_contacts_ok.d.ts +17 -20
- package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +24 -30
- package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +15 -15
- package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +18 -21
- package/v2/get_corporations_corporation_id_contracts_ok.d.ts +60 -60
- package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +42 -42
- package/v2/get_corporations_corporation_id_divisions_ok.d.ts +15 -15
- package/v2/get_corporations_corporation_id_facilities_ok.d.ts +9 -12
- package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +30 -30
- package/v2/get_corporations_corporation_id_icons_ok.d.ts +12 -12
- package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +60 -66
- package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +9 -9
- package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +18 -18
- package/v2/get_corporations_corporation_id_medals_ok.d.ts +18 -18
- package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +3 -3
- package/v2/get_corporations_corporation_id_members_ok.d.ts +3 -6
- package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +10 -412
- package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +21 -24
- package/v2/get_corporations_corporation_id_ok.d.ts +45 -45
- package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +42 -45
- package/v2/get_corporations_corporation_id_orders_ok.d.ts +42 -45
- package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +12 -12
- package/v2/get_corporations_corporation_id_roles_ok.d.ts +6 -6
- package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +9 -9
- package/v2/get_corporations_corporation_id_standings_ok.d.ts +9 -9
- package/v2/get_corporations_corporation_id_starbases_ok.d.ts +21 -24
- package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +27 -30
- package/v2/get_corporations_corporation_id_structures_ok.d.ts +42 -46
- package/v2/get_corporations_corporation_id_titles_ok.d.ts +9 -9
- package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +38 -40
- package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +27 -30
- package/v2/get_corporations_corporation_id_wallets_ok.d.ts +9 -9
- package/v2/get_corporations_npccorps_ok.d.ts +3 -6
- package/v2/get_dogma_attributes_attribute_id_ok.d.ts +33 -33
- package/v2/get_dogma_attributes_ok.d.ts +3 -6
- package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +18 -24
- package/v2/get_dogma_effects_effect_id_ok.d.ts +81 -81
- package/v2/get_dogma_effects_ok.d.ts +3 -6
- package/v2/get_fleets_fleet_id_members_ok.d.ts +27 -30
- package/v2/get_fleets_fleet_id_ok.d.ts +15 -15
- package/v2/get_fleets_fleet_id_wings_ok.d.ts +15 -15
- package/v2/get_fw_leaderboards_characters_ok.d.ts +39 -39
- package/v2/get_fw_leaderboards_corporations_ok.d.ts +39 -39
- package/v2/get_fw_leaderboards_ok.d.ts +39 -39
- package/v2/get_fw_stats_ok.d.ts +30 -30
- package/v2/get_fw_systems_ok.d.ts +18 -18
- package/v2/get_fw_wars_ok.d.ts +9 -9
- package/v2/get_incursions_ok.d.ts +22 -28
- package/v2/get_industry_facilities_ok.d.ts +18 -21
- package/v2/get_industry_systems_ok.d.ts +9 -9
- package/v2/get_insurance_prices_ok.d.ts +12 -15
- package/v2/get_killmails_killmail_id_killmail_hash_ok.d.ts +96 -114
- package/v2/get_loyalty_stores_corporation_id_offers_ok.d.ts +21 -27
- package/v2/get_markets_groups_market_group_id_ok.d.ts +14 -22
- package/v2/get_markets_groups_ok.d.ts +3 -6
- package/v2/get_markets_prices_ok.d.ts +9 -12
- package/v2/get_markets_region_id_history_ok.d.ts +21 -21
- package/v2/get_markets_region_id_orders_ok.d.ts +33 -36
- package/v2/get_markets_region_id_types_ok.d.ts +3 -6
- package/v2/get_markets_structures_structure_id_ok.d.ts +30 -33
- package/v2/get_opportunities_groups_group_id_ok.d.ts +24 -30
- package/v2/get_opportunities_groups_ok.d.ts +3 -6
- package/v2/get_opportunities_tasks_ok.d.ts +3 -6
- package/v2/get_opportunities_tasks_task_id_ok.d.ts +15 -15
- package/v2/get_route_origin_destination_ok.d.ts +3 -6
- package/v2/get_sovereignty_campaigns_ok.d.ts +40 -40
- package/v2/get_sovereignty_map_ok.d.ts +15 -15
- package/v2/get_sovereignty_structures_ok.d.ts +26 -30
- package/v2/get_status_ok.d.ts +15 -15
- package/v2/get_universe_ancestries_ok.d.ts +21 -21
- package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +18 -18
- package/v2/get_universe_bloodlines_ok.d.ts +33 -36
- package/v2/get_universe_categories_category_id_ok.d.ts +16 -19
- package/v2/get_universe_categories_ok.d.ts +3 -6
- package/v2/get_universe_constellations_constellation_id_ok.d.ts +25 -28
- package/v2/get_universe_constellations_ok.d.ts +3 -6
- package/v2/get_universe_factions_ok.d.ts +33 -33
- package/v2/get_universe_graphics_graphic_id_ok.d.ts +27 -27
- package/v2/get_universe_graphics_ok.d.ts +3 -6
- package/v2/get_universe_groups_group_id_ok.d.ts +14 -22
- package/v2/get_universe_groups_ok.d.ts +3 -6
- package/v2/get_universe_moons_moon_id_ok.d.ts +21 -21
- package/v2/get_universe_planets_planet_id_ok.d.ts +21 -24
- package/v2/get_universe_races_ok.d.ts +15 -15
- package/v2/get_universe_regions_ok.d.ts +3 -6
- package/v2/get_universe_regions_region_id_ok.d.ts +16 -19
- package/v2/get_universe_schematics_schematic_id_ok.d.ts +9 -9
- package/v2/get_universe_stargates_stargate_id_ok.d.ts +27 -30
- package/v2/get_universe_stars_star_id_ok.d.ts +21 -24
- package/v2/get_universe_stations_station_id_ok.d.ts +39 -42
- package/v2/get_universe_structures_ok.d.ts +3 -6
- package/v2/get_universe_structures_structure_id_ok.d.ts +21 -24
- package/v2/get_universe_system_jumps_ok.d.ts +9 -9
- package/v2/get_universe_system_kills_ok.d.ts +15 -15
- package/v2/get_universe_systems_ok.d.ts +3 -6
- package/v2/get_universe_systems_system_id_ok.d.ts +52 -64
- package/v2/get_universe_types_ok.d.ts +3 -6
- package/v2/get_universe_types_type_id_ok.d.ts +54 -57
- package/v2/get_wars_ok.d.ts +3 -6
- package/v2/get_wars_war_id_killmails_ok.d.ts +9 -9
- package/v2/get_wars_war_id_ok.d.ts +54 -54
- package/v2/index.d.ts +1 -1
- package/v2/post_characters_affiliation_ok.d.ts +15 -15
- package/v2/post_characters_character_id_assets_locations_ok.d.ts +15 -15
- package/v2/post_characters_character_id_assets_names_ok.d.ts +9 -9
- package/v2/post_characters_character_id_contacts_created.d.ts +3 -6
- package/v2/post_characters_character_id_cspa_created.d.ts +3 -3
- package/v2/post_characters_character_id_fittings_created.d.ts +6 -6
- package/v2/post_characters_character_id_mail_created.d.ts +3 -3
- package/v2/post_characters_character_id_mail_labels_created.d.ts +3 -3
- package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +15 -15
- package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +9 -9
- package/v2/post_fleets_fleet_id_members_invitation.d.ts +12 -12
- package/v2/post_fleets_fleet_id_wings_created.d.ts +6 -6
- package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +6 -6
- package/v2/post_ui_openwindow_newmail_new_mail.d.ts +18 -21
- package/v2/post_universe_ids_ok.d.ts +63 -63
- package/v2/post_universe_names_ok.d.ts +9 -9
- package/v2/put_characters_character_id_calendar_event_id_response.d.ts +3 -3
- package/v2/put_characters_character_id_contacts_contact_ids.d.ts +6 -9
- package/v2/put_characters_character_id_mail_mail_id_contents.d.ts +10 -13
- package/v2/put_fleets_fleet_id_members_member_id_movement.d.ts +9 -9
- package/v2/put_fleets_fleet_id_new_settings.d.ts +9 -9
- package/v2/put_fleets_fleet_id_squads_squad_id_naming.d.ts +6 -6
- package/v2/put_fleets_fleet_id_wings_wing_id_naming.d.ts +6 -6
- package/v2.mjs +6 -6
- package/v2.mts +8 -8
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/wings/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/wings/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 201 created object
|
|
7
7
|
*/
|
|
8
8
|
interface PostFleetsFleetIdWingsCreated {
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The wing_id of the newly created wing
|
|
11
|
+
*/
|
|
12
12
|
wing_id: number;
|
|
13
13
|
[k: string]: unknown | undefined;
|
|
14
14
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/squads/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/squads/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 201 created object
|
|
7
7
|
*/
|
|
8
8
|
interface PostFleetsFleetIdWingsWingIdSquadsCreated {
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The squad_id of the newly created squad
|
|
11
|
+
*/
|
|
12
12
|
squad_id: number;
|
|
13
13
|
[k: string]: unknown | undefined;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /ui/openwindow/newmail/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /ui/openwindow/newmail/
|
|
3
|
+
*/
|
|
4
4
|
/**
|
|
5
5
|
* recipients array
|
|
6
6
|
*
|
|
@@ -8,13 +8,10 @@
|
|
|
8
8
|
* @maxItems 50
|
|
9
9
|
*/
|
|
10
10
|
type PostUiOpenwindowNewmailRecipients = [
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
/**
|
|
12
|
+
* recipient integer
|
|
13
|
+
*/
|
|
14
14
|
number,
|
|
15
|
-
/**
|
|
16
|
-
* recipient integer
|
|
17
|
-
*/
|
|
18
15
|
...number[]
|
|
19
16
|
];
|
|
20
17
|
|
|
@@ -22,22 +19,22 @@ type PostUiOpenwindowNewmailRecipients = [
|
|
|
22
19
|
* new_mail object
|
|
23
20
|
*/
|
|
24
21
|
interface PostUiOpenwindowNewmailNewMail {
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
/**
|
|
23
|
+
* body string
|
|
24
|
+
*/
|
|
28
25
|
body: string;
|
|
29
26
|
recipients: PostUiOpenwindowNewmailRecipients;
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
/**
|
|
28
|
+
* subject string
|
|
29
|
+
*/
|
|
33
30
|
subject: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
/**
|
|
32
|
+
* to_corp_or_alliance_id integer
|
|
33
|
+
*/
|
|
37
34
|
to_corp_or_alliance_id?: number;
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Corporations, alliances and mailing lists are all types of mailing groups. You may only send to one mailing group, at a time, so you may fill out either this field or the to_corp_or_alliance_ids field
|
|
37
|
+
*/
|
|
41
38
|
to_mailing_list_id?: number;
|
|
42
39
|
[k: string]: unknown | undefined;
|
|
43
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /universe/ids/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /universe/ids/
|
|
3
|
+
*/
|
|
4
4
|
/**
|
|
5
5
|
* agents array
|
|
6
6
|
*
|
|
@@ -82,13 +82,13 @@ interface PostUniverseIdsOk {
|
|
|
82
82
|
* agent object
|
|
83
83
|
*/
|
|
84
84
|
interface PostUniverseIdsAgent {
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
/**
|
|
86
|
+
* id integer
|
|
87
|
+
*/
|
|
88
88
|
id?: number;
|
|
89
|
-
/**
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
/**
|
|
90
|
+
* name string
|
|
91
|
+
*/
|
|
92
92
|
name?: string;
|
|
93
93
|
[k: string]: unknown | undefined;
|
|
94
94
|
}
|
|
@@ -96,13 +96,13 @@ interface PostUniverseIdsAgent {
|
|
|
96
96
|
* alliance object
|
|
97
97
|
*/
|
|
98
98
|
interface PostUniverseIdsAlliance {
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
/**
|
|
100
|
+
* id integer
|
|
101
|
+
*/
|
|
102
102
|
id?: number;
|
|
103
|
-
/**
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
/**
|
|
104
|
+
* name string
|
|
105
|
+
*/
|
|
106
106
|
name?: string;
|
|
107
107
|
[k: string]: unknown | undefined;
|
|
108
108
|
}
|
|
@@ -110,13 +110,13 @@ interface PostUniverseIdsAlliance {
|
|
|
110
110
|
* character object
|
|
111
111
|
*/
|
|
112
112
|
interface PostUniverseIdsCharacter {
|
|
113
|
-
/**
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
/**
|
|
114
|
+
* id integer
|
|
115
|
+
*/
|
|
116
116
|
id?: number;
|
|
117
|
-
/**
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
/**
|
|
118
|
+
* name string
|
|
119
|
+
*/
|
|
120
120
|
name?: string;
|
|
121
121
|
[k: string]: unknown | undefined;
|
|
122
122
|
}
|
|
@@ -124,13 +124,13 @@ interface PostUniverseIdsCharacter {
|
|
|
124
124
|
* constellation object
|
|
125
125
|
*/
|
|
126
126
|
interface PostUniverseIdsConstellation {
|
|
127
|
-
/**
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
/**
|
|
128
|
+
* id integer
|
|
129
|
+
*/
|
|
130
130
|
id?: number;
|
|
131
|
-
/**
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
/**
|
|
132
|
+
* name string
|
|
133
|
+
*/
|
|
134
134
|
name?: string;
|
|
135
135
|
[k: string]: unknown | undefined;
|
|
136
136
|
}
|
|
@@ -138,13 +138,13 @@ interface PostUniverseIdsConstellation {
|
|
|
138
138
|
* corporation object
|
|
139
139
|
*/
|
|
140
140
|
interface PostUniverseIdsCorporation {
|
|
141
|
-
/**
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
/**
|
|
142
|
+
* id integer
|
|
143
|
+
*/
|
|
144
144
|
id?: number;
|
|
145
|
-
/**
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
/**
|
|
146
|
+
* name string
|
|
147
|
+
*/
|
|
148
148
|
name?: string;
|
|
149
149
|
[k: string]: unknown | undefined;
|
|
150
150
|
}
|
|
@@ -152,13 +152,13 @@ interface PostUniverseIdsCorporation {
|
|
|
152
152
|
* faction object
|
|
153
153
|
*/
|
|
154
154
|
interface PostUniverseIdsFaction {
|
|
155
|
-
/**
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
/**
|
|
156
|
+
* id integer
|
|
157
|
+
*/
|
|
158
158
|
id?: number;
|
|
159
|
-
/**
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
/**
|
|
160
|
+
* name string
|
|
161
|
+
*/
|
|
162
162
|
name?: string;
|
|
163
163
|
[k: string]: unknown | undefined;
|
|
164
164
|
}
|
|
@@ -166,13 +166,13 @@ interface PostUniverseIdsFaction {
|
|
|
166
166
|
* inventory_type object
|
|
167
167
|
*/
|
|
168
168
|
interface PostUniverseIdsInventoryType {
|
|
169
|
-
/**
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
/**
|
|
170
|
+
* id integer
|
|
171
|
+
*/
|
|
172
172
|
id?: number;
|
|
173
|
-
/**
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
/**
|
|
174
|
+
* name string
|
|
175
|
+
*/
|
|
176
176
|
name?: string;
|
|
177
177
|
[k: string]: unknown | undefined;
|
|
178
178
|
}
|
|
@@ -180,13 +180,13 @@ interface PostUniverseIdsInventoryType {
|
|
|
180
180
|
* region object
|
|
181
181
|
*/
|
|
182
182
|
interface PostUniverseIdsRegion {
|
|
183
|
-
/**
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
/**
|
|
184
|
+
* id integer
|
|
185
|
+
*/
|
|
186
186
|
id?: number;
|
|
187
|
-
/**
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
/**
|
|
188
|
+
* name string
|
|
189
|
+
*/
|
|
190
190
|
name?: string;
|
|
191
191
|
[k: string]: unknown | undefined;
|
|
192
192
|
}
|
|
@@ -194,13 +194,13 @@ interface PostUniverseIdsRegion {
|
|
|
194
194
|
* station object
|
|
195
195
|
*/
|
|
196
196
|
interface PostUniverseIdsStation {
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
/**
|
|
198
|
+
* id integer
|
|
199
|
+
*/
|
|
200
200
|
id?: number;
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
/**
|
|
202
|
+
* name string
|
|
203
|
+
*/
|
|
204
204
|
name?: string;
|
|
205
205
|
[k: string]: unknown | undefined;
|
|
206
206
|
}
|
|
@@ -208,13 +208,13 @@ interface PostUniverseIdsStation {
|
|
|
208
208
|
* system object
|
|
209
209
|
*/
|
|
210
210
|
interface PostUniverseIdsSystem {
|
|
211
|
-
/**
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
/**
|
|
212
|
+
* id integer
|
|
213
|
+
*/
|
|
214
214
|
id?: number;
|
|
215
|
-
/**
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
/**
|
|
216
|
+
* name string
|
|
217
|
+
*/
|
|
218
218
|
name?: string;
|
|
219
219
|
[k: string]: unknown | undefined;
|
|
220
220
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /universe/names/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /universe/names/
|
|
3
|
+
*/
|
|
4
4
|
/**
|
|
5
5
|
* category string
|
|
6
6
|
*/
|
|
@@ -26,13 +26,13 @@ type PostUniverseNamesOk = PostUniverseNames_200Ok[];
|
|
|
26
26
|
*/
|
|
27
27
|
interface PostUniverseNames_200Ok {
|
|
28
28
|
category: PostUniverseNamesCategory;
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
/**
|
|
30
|
+
* id integer
|
|
31
|
+
*/
|
|
32
32
|
id: number;
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
/**
|
|
34
|
+
* name string
|
|
35
|
+
*/
|
|
36
36
|
name: string;
|
|
37
37
|
[k: string]: unknown | undefined;
|
|
38
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /characters/{character_id}/contacts/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /characters/{character_id}/contacts/
|
|
3
|
+
*/
|
|
4
4
|
/**
|
|
5
5
|
* contact_ids array
|
|
6
6
|
*
|
|
@@ -8,12 +8,9 @@
|
|
|
8
8
|
* @maxItems 100
|
|
9
9
|
*/
|
|
10
10
|
type PutCharactersCharacterIdContactsContactIds = [
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
/**
|
|
12
|
+
* ID of the contact to edit
|
|
13
|
+
*/
|
|
14
14
|
number,
|
|
15
|
-
/**
|
|
16
|
-
* ID of the contact to edit
|
|
17
|
-
*/
|
|
18
15
|
...number[]
|
|
19
16
|
];
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /characters/{character_id}/mail/{mail_id}/
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Labels to assign to the mail. Pre-existing labels are unassigned.
|
|
6
|
-
*
|
|
7
|
-
* @maxItems 25
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /characters/{character_id}/mail/{mail_id}/
|
|
8
3
|
*/
|
|
9
4
|
|
|
10
5
|
/**
|
|
11
6
|
* contents object
|
|
12
7
|
*/
|
|
13
8
|
interface PutCharactersCharacterIdMailMailIdContents {
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Labels to assign to the mail. Pre-existing labels are unassigned.
|
|
11
|
+
*
|
|
12
|
+
* @maxItems 25
|
|
13
|
+
*/
|
|
17
14
|
labels?: number[];
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Whether the mail is flagged as read
|
|
17
|
+
*/
|
|
21
18
|
read?: boolean;
|
|
22
19
|
[k: string]: unknown | undefined;
|
|
23
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/members/{member_id}/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/members/{member_id}/
|
|
3
|
+
*/
|
|
4
4
|
/**
|
|
5
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.
|
|
6
6
|
*/
|
|
@@ -15,13 +15,13 @@ type PutFleetsFleetIdMembersMemberIdRole =
|
|
|
15
15
|
*/
|
|
16
16
|
interface PutFleetsFleetIdMembersMemberIdMovement {
|
|
17
17
|
role: PutFleetsFleetIdMembersMemberIdRole;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
/**
|
|
19
|
+
* squad_id integer
|
|
20
|
+
*/
|
|
21
21
|
squad_id?: number;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
/**
|
|
23
|
+
* wing_id integer
|
|
24
|
+
*/
|
|
25
25
|
wing_id?: number;
|
|
26
26
|
[k: string]: unknown | undefined;
|
|
27
27
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* new_settings object
|
|
7
7
|
*/
|
|
8
8
|
interface PutFleetsFleetIdNewSettings {
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Should free-move be enabled in the fleet
|
|
11
|
+
*/
|
|
12
12
|
is_free_move?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
/**
|
|
14
|
+
* New fleet MOTD in CCP flavoured HTML
|
|
15
|
+
*/
|
|
16
16
|
motd?: string;
|
|
17
17
|
[k: string]: unknown | undefined;
|
|
18
18
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/squads/{squad_id}/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/squads/{squad_id}/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* naming object
|
|
7
7
|
*/
|
|
8
8
|
interface PutFleetsFleetIdSquadsSquadIdNaming {
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* name string
|
|
11
|
+
*/
|
|
12
12
|
name: string;
|
|
13
13
|
[k: string]: unknown | undefined;
|
|
14
14
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
* ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/
|
|
3
|
-
*/
|
|
1
|
+
/*!
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* naming object
|
|
7
7
|
*/
|
|
8
8
|
interface PutFleetsFleetIdWingsWingIdNaming {
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* name string
|
|
11
|
+
*/
|
|
12
12
|
name: string;
|
|
13
13
|
[k: string]: unknown | undefined;
|
|
14
14
|
}
|
package/v2.mjs
CHANGED
|
@@ -143,7 +143,7 @@ async function getEVEStatus() {
|
|
|
143
143
|
* @throws
|
|
144
144
|
* @async
|
|
145
145
|
*/
|
|
146
|
-
export async function fire(mthd, endp, pathParams, opt) {
|
|
146
|
+
export async function fire(mthd, endp, pathParams, opt = {}) {
|
|
147
147
|
if (typeof pathParams === "number") {
|
|
148
148
|
pathParams = /** @type {number[]} */ ([pathParams]);
|
|
149
149
|
}
|
|
@@ -151,20 +151,20 @@ export async function fire(mthd, endp, pathParams, opt) {
|
|
|
151
151
|
// @ts-ignore actualy endp is string
|
|
152
152
|
endp = replaceCbt(endp, pathParams);
|
|
153
153
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
154
|
+
// When only options are provided
|
|
155
|
+
// @ts- ignore
|
|
156
|
+
opt = /** @type {Opt} */ (pathParams) || opt || /** @type {Opt} */ ({});
|
|
158
157
|
/** @type {RequestInit} */
|
|
159
158
|
const rqopt = {
|
|
160
159
|
method: mthd,
|
|
161
160
|
mode: "cors",
|
|
162
161
|
cache: "no-cache",
|
|
162
|
+
// @ts-ignore
|
|
163
163
|
signal: opt.cancelable?.signal,
|
|
164
164
|
headers: {}
|
|
165
165
|
};
|
|
166
166
|
const qss = {
|
|
167
|
-
|
|
167
|
+
language: "en",
|
|
168
168
|
};
|
|
169
169
|
if (opt.queries) {
|
|
170
170
|
// Object.assign(queries, options.queries); Object.assign is too slow
|
package/v2.mts
CHANGED
|
@@ -176,6 +176,7 @@ async function getEVEStatus() {
|
|
|
176
176
|
}
|
|
177
177
|
return fire("get", "/status/");
|
|
178
178
|
}
|
|
179
|
+
|
|
179
180
|
/**
|
|
180
181
|
* fire ESI request
|
|
181
182
|
* @template {TESIEntryMethod} M
|
|
@@ -194,12 +195,11 @@ async function getEVEStatus() {
|
|
|
194
195
|
export async function fire<
|
|
195
196
|
M extends TESIEntryMethod,
|
|
196
197
|
EP extends keyof TESIResponseOKMap[M],
|
|
197
|
-
// Entry extends TESIResponseOKMap[M][EP],
|
|
198
198
|
Opt extends IdentifyParameters<TESIResponseOKMap[M][EP], ESIRequestOptions>,
|
|
199
199
|
R extends InferESIResponseResult<M, EP>
|
|
200
200
|
>(
|
|
201
201
|
mthd: M, endp: EP, pathParams?: number | number[] | Opt,
|
|
202
|
-
opt
|
|
202
|
+
opt: Opt = {} as Opt
|
|
203
203
|
): Promise<R> {
|
|
204
204
|
|
|
205
205
|
if (typeof pathParams === "number") {
|
|
@@ -207,23 +207,23 @@ export async function fire<
|
|
|
207
207
|
}
|
|
208
208
|
if (isArray(pathParams)) {
|
|
209
209
|
// @ts-ignore actualy endp is string
|
|
210
|
-
endp = replaceCbt(endp, pathParams) as EP;
|
|
211
|
-
}
|
|
212
|
-
if (!opt) {
|
|
213
|
-
// When only options are provided
|
|
214
|
-
opt = /** @type {Opt} */(pathParams) as Opt || opt || {};
|
|
210
|
+
endp = replaceCbt(endp as string, pathParams) as EP;
|
|
215
211
|
}
|
|
212
|
+
// When only options are provided
|
|
213
|
+
// @ts- ignore
|
|
214
|
+
opt = /** @type {Opt} */(pathParams) as Opt || opt || /** @type {Opt} */({}) as Opt;
|
|
216
215
|
|
|
217
216
|
/** @type {RequestInit} */
|
|
218
217
|
const rqopt: RequestInit = {
|
|
219
218
|
method: mthd,
|
|
220
219
|
mode: "cors",
|
|
221
220
|
cache: "no-cache",
|
|
221
|
+
// @ts-ignore
|
|
222
222
|
signal: opt.cancelable?.signal,
|
|
223
223
|
headers: {}
|
|
224
224
|
};
|
|
225
225
|
const qss: Record<string, string> = {
|
|
226
|
-
|
|
226
|
+
language: "en",
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
if (opt.queries) {
|