eve-esi-types 2.0.0-beta → 2.0.2-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/esi-request.mjs +1 -1
- package/esi-request.mts +2 -2
- package/package.json +5 -2
- package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +10 -13
- package/v2/get_alliances_alliance_id_contacts_ok.d.ts +14 -19
- package/v2/get_alliances_alliance_id_corporations_ok.d.ts +6 -8
- package/v2/get_alliances_alliance_id_icons_ok.d.ts +8 -11
- package/v2/get_alliances_alliance_id_ok.d.ts +13 -21
- package/v2/get_alliances_ok.d.ts +6 -8
- package/v2/get_characters_character_id_agents_research_ok.d.ts +16 -22
- package/v2/get_characters_character_id_assets_ok.d.ts +26 -33
- package/v2/get_characters_character_id_attributes_ok.d.ts +14 -23
- package/v2/get_characters_character_id_blueprints_ok.d.ts +24 -32
- package/v2/get_characters_character_id_bookmarks_folders_ok.d.ts +10 -13
- package/v2/get_characters_character_id_bookmarks_ok.d.ts +39 -52
- package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +6 -8
- package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +24 -34
- package/v2/get_characters_character_id_calendar_ok.d.ts +18 -23
- package/v2/get_characters_character_id_clones_ok.d.ts +30 -39
- package/v2/get_characters_character_id_contacts_labels_ok.d.ts +10 -13
- package/v2/get_characters_character_id_contacts_ok.d.ts +22 -29
- package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +15 -20
- package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +18 -25
- package/v2/get_characters_character_id_contracts_ok.d.ts +55 -75
- package/v2/get_characters_character_id_corporationhistory_ok.d.ts +15 -20
- package/v2/get_characters_character_id_fatigue_ok.d.ts +9 -13
- package/v2/get_characters_character_id_fittings_ok.d.ts +26 -33
- package/v2/get_characters_character_id_fleet_ok.d.ts +14 -18
- package/v2/get_characters_character_id_fw_stats_ok.d.ts +30 -41
- package/v2/get_characters_character_id_implants_ok.d.ts +6 -8
- package/v2/get_characters_character_id_industry_jobs_ok.d.ts +43 -65
- package/v2/get_characters_character_id_killmails_recent_ok.d.ts +10 -13
- package/v2/get_characters_character_id_location_ok.d.ts +9 -13
- package/v2/get_characters_character_id_loyalty_points_ok.d.ts +10 -13
- package/v2/get_characters_character_id_mail_labels_ok.d.ts +18 -23
- package/v2/get_characters_character_id_mail_lists_ok.d.ts +10 -13
- package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +29 -38
- package/v2/get_characters_character_id_mail_ok.d.ts +30 -39
- package/v2/get_characters_character_id_medals_ok.d.ts +42 -54
- package/v2/get_characters_character_id_mining_ok.d.ts +15 -20
- package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +16 -22
- package/v2/get_characters_character_id_notifications_ok.d.ts +22 -28
- package/v2/get_characters_character_id_ok.d.ts +20 -31
- package/v2/get_characters_character_id_online_ok.d.ts +10 -15
- package/v2/get_characters_character_id_opportunities_ok.d.ts +10 -13
- package/v2/get_characters_character_id_orders_history_ok.d.ts +50 -63
- package/v2/get_characters_character_id_orders_ok.d.ts +45 -58
- package/v2/get_characters_character_id_planets_ok.d.ts +25 -32
- package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +148 -137
- package/v2/get_characters_character_id_portrait_ok.d.ts +10 -15
- package/v2/get_characters_character_id_roles_ok.d.ts +2 -3
- package/v2/get_characters_character_id_search_ok.d.ts +46 -69
- package/v2/get_characters_character_id_ship_ok.d.ts +9 -13
- package/v2/get_characters_character_id_skillqueue_ok.d.ts +19 -28
- package/v2/get_characters_character_id_skills_ok.d.ts +26 -33
- package/v2/get_characters_character_id_standings_ok.d.ts +10 -13
- package/v2/get_characters_character_id_titles_ok.d.ts +9 -12
- package/v2/get_characters_character_id_wallet_journal_ok.d.ts +38 -48
- package/v2/get_characters_character_id_wallet_ok.d.ts +2 -3
- package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +21 -32
- package/v2/get_contracts_public_bids_contract_id_ok.d.ts +14 -18
- package/v2/get_contracts_public_items_contract_id_ok.d.ts +20 -30
- package/v2/get_contracts_public_region_id_ok.d.ts +31 -47
- package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +16 -22
- package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +17 -23
- package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +11 -14
- package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +15 -20
- package/v2/get_corporations_corporation_id_assets_ok.d.ts +26 -33
- package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +24 -32
- package/v2/get_corporations_corporation_id_bookmarks_folders_ok.d.ts +14 -18
- package/v2/get_corporations_corporation_id_bookmarks_ok.d.ts +39 -52
- package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +10 -13
- package/v2/get_corporations_corporation_id_contacts_ok.d.ts +18 -24
- package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +37 -47
- package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +16 -21
- package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +18 -25
- package/v2/get_corporations_corporation_id_contracts_ok.d.ts +55 -75
- package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +34 -48
- package/v2/get_corporations_corporation_id_divisions_ok.d.ts +18 -23
- package/v2/get_corporations_corporation_id_facilities_ok.d.ts +14 -18
- package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +30 -40
- package/v2/get_corporations_corporation_id_icons_ok.d.ts +9 -13
- package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +43 -65
- package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +10 -13
- package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +20 -26
- package/v2/get_corporations_corporation_id_medals_ok.d.ts +16 -22
- package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +2 -3
- package/v2/get_corporations_corporation_id_members_ok.d.ts +6 -8
- package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +544 -145
- package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +18 -26
- package/v2/get_corporations_corporation_id_ok.d.ts +20 -35
- package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +47 -62
- package/v2/get_corporations_corporation_id_orders_ok.d.ts +42 -57
- package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +14 -18
- package/v2/get_corporations_corporation_id_roles_ok.d.ts +6 -8
- package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +10 -13
- package/v2/get_corporations_corporation_id_standings_ok.d.ts +10 -13
- package/v2/get_corporations_corporation_id_starbases_ok.d.ts +28 -36
- package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +38 -48
- package/v2/get_corporations_corporation_id_structures_ok.d.ts +49 -63
- package/v2/get_corporations_corporation_id_titles_ok.d.ts +10 -13
- package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +38 -48
- package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +21 -31
- package/v2/get_corporations_corporation_id_wallets_ok.d.ts +9 -12
- package/v2/get_corporations_npccorps_ok.d.ts +6 -8
- package/v2/get_dogma_attributes_attribute_id_ok.d.ts +16 -27
- package/v2/get_dogma_attributes_ok.d.ts +6 -8
- package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +30 -38
- package/v2/get_dogma_effects_effect_id_ok.d.ts +55 -82
- package/v2/get_dogma_effects_ok.d.ts +6 -8
- package/v2/get_fleets_fleet_id_members_ok.d.ts +25 -35
- package/v2/get_fleets_fleet_id_ok.d.ts +10 -15
- package/v2/get_fleets_fleet_id_wings_ok.d.ts +18 -23
- package/v2/get_fw_leaderboards_characters_ok.d.ts +50 -63
- package/v2/get_fw_leaderboards_corporations_ok.d.ts +50 -63
- package/v2/get_fw_leaderboards_ok.d.ts +50 -63
- package/v2/get_fw_stats_ok.d.ts +37 -47
- package/v2/get_fw_systems_ok.d.ts +19 -25
- package/v2/get_fw_wars_ok.d.ts +10 -13
- package/v2/get_incursions_ok.d.ts +28 -37
- package/v2/get_industry_facilities_ok.d.ts +17 -24
- package/v2/get_industry_systems_ok.d.ts +10 -13
- package/v2/get_insurance_prices_ok.d.ts +18 -23
- package/v2/get_killmails_killmail_id_killmail_hash_ok.d.ts +110 -144
- package/v2/get_loyalty_stores_corporation_id_offers_ok.d.ts +32 -41
- package/v2/get_markets_groups_market_group_id_ok.d.ts +15 -22
- package/v2/get_markets_groups_ok.d.ts +6 -8
- package/v2/get_markets_prices_ok.d.ts +14 -18
- package/v2/get_markets_region_id_history_ok.d.ts +17 -24
- package/v2/get_markets_region_id_orders_ok.d.ts +39 -51
- package/v2/get_markets_region_id_types_ok.d.ts +6 -8
- package/v2/get_markets_structures_structure_id_ok.d.ts +38 -49
- package/v2/get_opportunities_groups_group_id_ok.d.ts +20 -29
- package/v2/get_opportunities_groups_ok.d.ts +6 -8
- package/v2/get_opportunities_tasks_ok.d.ts +6 -8
- package/v2/get_opportunities_tasks_task_id_ok.d.ts +10 -15
- package/v2/get_route_origin_destination_ok.d.ts +6 -8
- package/v2/get_sovereignty_campaigns_ok.d.ts +40 -51
- package/v2/get_sovereignty_map_ok.d.ts +15 -20
- package/v2/get_sovereignty_structures_ok.d.ts +18 -26
- package/v2/get_status_ok.d.ts +10 -15
- package/v2/get_universe_ancestries_ok.d.ts +17 -24
- package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +19 -25
- package/v2/get_universe_bloodlines_ok.d.ts +22 -34
- package/v2/get_universe_categories_category_id_ok.d.ts +14 -20
- package/v2/get_universe_categories_ok.d.ts +6 -8
- package/v2/get_universe_constellations_constellation_id_ok.d.ts +27 -36
- package/v2/get_universe_constellations_ok.d.ts +6 -8
- package/v2/get_universe_factions_ok.d.ts +21 -32
- package/v2/get_universe_graphics_graphic_id_ok.d.ts +14 -23
- package/v2/get_universe_graphics_ok.d.ts +6 -8
- package/v2/get_universe_groups_group_id_ok.d.ts +15 -22
- package/v2/get_universe_groups_ok.d.ts +6 -8
- package/v2/get_universe_moons_moon_id_ok.d.ts +21 -28
- package/v2/get_universe_planets_planet_id_ok.d.ts +23 -31
- package/v2/get_universe_races_ok.d.ts +11 -16
- package/v2/get_universe_regions_ok.d.ts +6 -8
- package/v2/get_universe_regions_region_id_ok.d.ts +13 -19
- package/v2/get_universe_schematics_schematic_id_ok.d.ts +8 -11
- package/v2/get_universe_stargates_stargate_id_ok.d.ts +30 -40
- package/v2/get_universe_stars_star_id_ok.d.ts +29 -37
- package/v2/get_universe_stations_station_id_ok.d.ts +51 -65
- package/v2/get_universe_structures_ok.d.ts +6 -8
- package/v2/get_universe_structures_structure_id_ok.d.ts +23 -31
- package/v2/get_universe_system_jumps_ok.d.ts +10 -13
- package/v2/get_universe_system_kills_ok.d.ts +15 -20
- package/v2/get_universe_systems_ok.d.ts +6 -8
- package/v2/get_universe_systems_system_id_ok.d.ts +51 -70
- package/v2/get_universe_types_ok.d.ts +6 -8
- package/v2/get_universe_types_type_id_ok.d.ts +45 -64
- package/v2/get_wars_ok.d.ts +6 -8
- package/v2/get_wars_war_id_killmails_ok.d.ts +10 -13
- package/v2/get_wars_war_id_ok.d.ts +56 -74
- package/v2/index.d.ts +64 -26
- package/v2/post_characters_affiliation_ok.d.ts +15 -20
- package/v2/post_characters_character_id_assets_locations_ok.d.ts +18 -23
- package/v2/post_characters_character_id_assets_names_ok.d.ts +10 -13
- package/v2/post_characters_character_id_contacts_created.d.ts +6 -8
- package/v2/post_characters_character_id_cspa_created.d.ts +2 -3
- package/v2/post_characters_character_id_fittings_created.d.ts +6 -8
- package/v2/post_characters_character_id_mail_created.d.ts +2 -3
- package/v2/post_characters_character_id_mail_labels_created.d.ts +2 -3
- package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +18 -23
- package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +10 -13
- package/v2/post_fleets_fleet_id_members_invitation.d.ts +12 -16
- package/v2/post_fleets_fleet_id_wings_created.d.ts +6 -8
- package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +6 -8
- package/v2/post_ui_openwindow_newmail_new_mail.d.ts +21 -24
- package/v2/post_universe_ids_ok.d.ts +82 -103
- package/v2/post_universe_names_ok.d.ts +10 -13
- package/v2/put_characters_character_id_calendar_event_id_response.d.ts +2 -3
- package/v2/put_characters_character_id_contacts_contact_ids.d.ts +8 -7
- package/v2/put_characters_character_id_mail_mail_id_contents.d.ts +10 -14
- package/v2/put_fleets_fleet_id_members_member_id_movement.d.ts +10 -13
- package/v2/put_fleets_fleet_id_new_settings.d.ts +8 -11
- package/v2/put_fleets_fleet_id_squads_squad_id_naming.d.ts +6 -8
- package/v2/put_fleets_fleet_id_wings_wing_id_naming.d.ts +6 -8
- package/v2.mjs +6 -3
- package/v2.mts +8 -4
- package/v2/post_characters_character_id_contacts_contact_ids.d.ts +0 -18
- package/v2/post_characters_character_id_cspa_characters.d.ts +0 -18
- package/v2/post_characters_character_id_fittings_fitting.d.ts +0 -101
- package/v2/post_characters_character_id_mail_labels_label.d.ts +0 -39
- package/v2/post_characters_character_id_mail_mail.d.ts +0 -53
|
@@ -1,141 +1,60 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* id integer
|
|
7
|
-
*/
|
|
8
|
-
type PostUniverseIdsId = number;
|
|
9
|
-
/**
|
|
10
|
-
* name string
|
|
11
|
-
*/
|
|
12
|
-
type PostUniverseIdsName = string;
|
|
2
|
+
* ESI endpoint: /universe/ids/
|
|
3
|
+
*/
|
|
13
4
|
/**
|
|
14
5
|
* agents array
|
|
15
6
|
*
|
|
16
7
|
* @maxItems 500
|
|
17
8
|
*/
|
|
18
9
|
type PostUniverseIdsAgents = PostUniverseIdsAgent[];
|
|
19
|
-
/**
|
|
20
|
-
* id integer
|
|
21
|
-
*/
|
|
22
|
-
type PostUniverseIdsAllianceId = number;
|
|
23
|
-
/**
|
|
24
|
-
* name string
|
|
25
|
-
*/
|
|
26
|
-
type PostUniverseIdsAllianceName = string;
|
|
27
10
|
/**
|
|
28
11
|
* alliances array
|
|
29
12
|
*
|
|
30
13
|
* @maxItems 500
|
|
31
14
|
*/
|
|
32
15
|
type PostUniverseIdsAlliances = PostUniverseIdsAlliance[];
|
|
33
|
-
/**
|
|
34
|
-
* id integer
|
|
35
|
-
*/
|
|
36
|
-
type PostUniverseIdsCharacterId = number;
|
|
37
|
-
/**
|
|
38
|
-
* name string
|
|
39
|
-
*/
|
|
40
|
-
type PostUniverseIdsCharacterName = string;
|
|
41
16
|
/**
|
|
42
17
|
* characters array
|
|
43
18
|
*
|
|
44
19
|
* @maxItems 500
|
|
45
20
|
*/
|
|
46
21
|
type PostUniverseIdsCharacters = PostUniverseIdsCharacter[];
|
|
47
|
-
/**
|
|
48
|
-
* id integer
|
|
49
|
-
*/
|
|
50
|
-
type PostUniverseIdsConstellationId = number;
|
|
51
|
-
/**
|
|
52
|
-
* name string
|
|
53
|
-
*/
|
|
54
|
-
type PostUniverseIdsConstellationName = string;
|
|
55
22
|
/**
|
|
56
23
|
* constellations array
|
|
57
24
|
*
|
|
58
25
|
* @maxItems 500
|
|
59
26
|
*/
|
|
60
27
|
type PostUniverseIdsConstellations = PostUniverseIdsConstellation[];
|
|
61
|
-
/**
|
|
62
|
-
* id integer
|
|
63
|
-
*/
|
|
64
|
-
type PostUniverseIdsCorporationId = number;
|
|
65
|
-
/**
|
|
66
|
-
* name string
|
|
67
|
-
*/
|
|
68
|
-
type PostUniverseIdsCorporationName = string;
|
|
69
28
|
/**
|
|
70
29
|
* corporations array
|
|
71
30
|
*
|
|
72
31
|
* @maxItems 500
|
|
73
32
|
*/
|
|
74
33
|
type PostUniverseIdsCorporations = PostUniverseIdsCorporation[];
|
|
75
|
-
/**
|
|
76
|
-
* id integer
|
|
77
|
-
*/
|
|
78
|
-
type PostUniverseIdsFactionId = number;
|
|
79
|
-
/**
|
|
80
|
-
* name string
|
|
81
|
-
*/
|
|
82
|
-
type PostUniverseIdsFactionName = string;
|
|
83
34
|
/**
|
|
84
35
|
* factions array
|
|
85
36
|
*
|
|
86
37
|
* @maxItems 500
|
|
87
38
|
*/
|
|
88
39
|
type PostUniverseIdsFactions = PostUniverseIdsFaction[];
|
|
89
|
-
/**
|
|
90
|
-
* id integer
|
|
91
|
-
*/
|
|
92
|
-
type PostUniverseIdsInventoryTypeId = number;
|
|
93
|
-
/**
|
|
94
|
-
* name string
|
|
95
|
-
*/
|
|
96
|
-
type PostUniverseIdsInventoryTypeName = string;
|
|
97
40
|
/**
|
|
98
41
|
* inventory_types array
|
|
99
42
|
*
|
|
100
43
|
* @maxItems 500
|
|
101
44
|
*/
|
|
102
45
|
type PostUniverseIdsInventoryTypes = PostUniverseIdsInventoryType[];
|
|
103
|
-
/**
|
|
104
|
-
* id integer
|
|
105
|
-
*/
|
|
106
|
-
type PostUniverseIdsRegionId = number;
|
|
107
|
-
/**
|
|
108
|
-
* name string
|
|
109
|
-
*/
|
|
110
|
-
type PostUniverseIdsRegionName = string;
|
|
111
46
|
/**
|
|
112
47
|
* regions array
|
|
113
48
|
*
|
|
114
49
|
* @maxItems 500
|
|
115
50
|
*/
|
|
116
51
|
type PostUniverseIdsRegions = PostUniverseIdsRegion[];
|
|
117
|
-
/**
|
|
118
|
-
* id integer
|
|
119
|
-
*/
|
|
120
|
-
type PostUniverseIdsStationId = number;
|
|
121
|
-
/**
|
|
122
|
-
* name string
|
|
123
|
-
*/
|
|
124
|
-
type PostUniverseIdsStationName = string;
|
|
125
52
|
/**
|
|
126
53
|
* stations array
|
|
127
54
|
*
|
|
128
55
|
* @maxItems 500
|
|
129
56
|
*/
|
|
130
57
|
type PostUniverseIdsStations = PostUniverseIdsStation[];
|
|
131
|
-
/**
|
|
132
|
-
* id integer
|
|
133
|
-
*/
|
|
134
|
-
type PostUniverseIdsSystemId = number;
|
|
135
|
-
/**
|
|
136
|
-
* name string
|
|
137
|
-
*/
|
|
138
|
-
type PostUniverseIdsSystemName = string;
|
|
139
58
|
/**
|
|
140
59
|
* systems array
|
|
141
60
|
*
|
|
@@ -163,79 +82,139 @@ interface PostUniverseIdsOk {
|
|
|
163
82
|
* agent object
|
|
164
83
|
*/
|
|
165
84
|
interface PostUniverseIdsAgent {
|
|
166
|
-
|
|
167
|
-
|
|
85
|
+
/**
|
|
86
|
+
* id integer
|
|
87
|
+
*/
|
|
88
|
+
id?: number;
|
|
89
|
+
/**
|
|
90
|
+
* name string
|
|
91
|
+
*/
|
|
92
|
+
name?: string;
|
|
168
93
|
[k: string]: unknown | undefined;
|
|
169
94
|
}
|
|
170
95
|
/**
|
|
171
96
|
* alliance object
|
|
172
97
|
*/
|
|
173
98
|
interface PostUniverseIdsAlliance {
|
|
174
|
-
|
|
175
|
-
|
|
99
|
+
/**
|
|
100
|
+
* id integer
|
|
101
|
+
*/
|
|
102
|
+
id?: number;
|
|
103
|
+
/**
|
|
104
|
+
* name string
|
|
105
|
+
*/
|
|
106
|
+
name?: string;
|
|
176
107
|
[k: string]: unknown | undefined;
|
|
177
108
|
}
|
|
178
109
|
/**
|
|
179
110
|
* character object
|
|
180
111
|
*/
|
|
181
112
|
interface PostUniverseIdsCharacter {
|
|
182
|
-
|
|
183
|
-
|
|
113
|
+
/**
|
|
114
|
+
* id integer
|
|
115
|
+
*/
|
|
116
|
+
id?: number;
|
|
117
|
+
/**
|
|
118
|
+
* name string
|
|
119
|
+
*/
|
|
120
|
+
name?: string;
|
|
184
121
|
[k: string]: unknown | undefined;
|
|
185
122
|
}
|
|
186
123
|
/**
|
|
187
124
|
* constellation object
|
|
188
125
|
*/
|
|
189
126
|
interface PostUniverseIdsConstellation {
|
|
190
|
-
|
|
191
|
-
|
|
127
|
+
/**
|
|
128
|
+
* id integer
|
|
129
|
+
*/
|
|
130
|
+
id?: number;
|
|
131
|
+
/**
|
|
132
|
+
* name string
|
|
133
|
+
*/
|
|
134
|
+
name?: string;
|
|
192
135
|
[k: string]: unknown | undefined;
|
|
193
136
|
}
|
|
194
137
|
/**
|
|
195
138
|
* corporation object
|
|
196
139
|
*/
|
|
197
140
|
interface PostUniverseIdsCorporation {
|
|
198
|
-
|
|
199
|
-
|
|
141
|
+
/**
|
|
142
|
+
* id integer
|
|
143
|
+
*/
|
|
144
|
+
id?: number;
|
|
145
|
+
/**
|
|
146
|
+
* name string
|
|
147
|
+
*/
|
|
148
|
+
name?: string;
|
|
200
149
|
[k: string]: unknown | undefined;
|
|
201
150
|
}
|
|
202
151
|
/**
|
|
203
152
|
* faction object
|
|
204
153
|
*/
|
|
205
154
|
interface PostUniverseIdsFaction {
|
|
206
|
-
|
|
207
|
-
|
|
155
|
+
/**
|
|
156
|
+
* id integer
|
|
157
|
+
*/
|
|
158
|
+
id?: number;
|
|
159
|
+
/**
|
|
160
|
+
* name string
|
|
161
|
+
*/
|
|
162
|
+
name?: string;
|
|
208
163
|
[k: string]: unknown | undefined;
|
|
209
164
|
}
|
|
210
165
|
/**
|
|
211
166
|
* inventory_type object
|
|
212
167
|
*/
|
|
213
168
|
interface PostUniverseIdsInventoryType {
|
|
214
|
-
|
|
215
|
-
|
|
169
|
+
/**
|
|
170
|
+
* id integer
|
|
171
|
+
*/
|
|
172
|
+
id?: number;
|
|
173
|
+
/**
|
|
174
|
+
* name string
|
|
175
|
+
*/
|
|
176
|
+
name?: string;
|
|
216
177
|
[k: string]: unknown | undefined;
|
|
217
178
|
}
|
|
218
179
|
/**
|
|
219
180
|
* region object
|
|
220
181
|
*/
|
|
221
182
|
interface PostUniverseIdsRegion {
|
|
222
|
-
|
|
223
|
-
|
|
183
|
+
/**
|
|
184
|
+
* id integer
|
|
185
|
+
*/
|
|
186
|
+
id?: number;
|
|
187
|
+
/**
|
|
188
|
+
* name string
|
|
189
|
+
*/
|
|
190
|
+
name?: string;
|
|
224
191
|
[k: string]: unknown | undefined;
|
|
225
192
|
}
|
|
226
193
|
/**
|
|
227
194
|
* station object
|
|
228
195
|
*/
|
|
229
196
|
interface PostUniverseIdsStation {
|
|
230
|
-
|
|
231
|
-
|
|
197
|
+
/**
|
|
198
|
+
* id integer
|
|
199
|
+
*/
|
|
200
|
+
id?: number;
|
|
201
|
+
/**
|
|
202
|
+
* name string
|
|
203
|
+
*/
|
|
204
|
+
name?: string;
|
|
232
205
|
[k: string]: unknown | undefined;
|
|
233
206
|
}
|
|
234
207
|
/**
|
|
235
208
|
* system object
|
|
236
209
|
*/
|
|
237
210
|
interface PostUniverseIdsSystem {
|
|
238
|
-
|
|
239
|
-
|
|
211
|
+
/**
|
|
212
|
+
* id integer
|
|
213
|
+
*/
|
|
214
|
+
id?: number;
|
|
215
|
+
/**
|
|
216
|
+
* name string
|
|
217
|
+
*/
|
|
218
|
+
name?: string;
|
|
240
219
|
[k: string]: unknown | undefined;
|
|
241
220
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* ESI endpoint: /universe/names/
|
|
3
|
+
*/
|
|
5
4
|
/**
|
|
6
5
|
* category string
|
|
7
6
|
*/
|
|
@@ -15,14 +14,6 @@ type PostUniverseNamesCategory =
|
|
|
15
14
|
| "solar_system"
|
|
16
15
|
| "station"
|
|
17
16
|
| "faction";
|
|
18
|
-
/**
|
|
19
|
-
* id integer
|
|
20
|
-
*/
|
|
21
|
-
type PostUniverseNamesId = number;
|
|
22
|
-
/**
|
|
23
|
-
* name string
|
|
24
|
-
*/
|
|
25
|
-
type PostUniverseNamesName = string;
|
|
26
17
|
/**
|
|
27
18
|
* 200 ok array
|
|
28
19
|
*
|
|
@@ -35,7 +26,13 @@ type PostUniverseNamesOk = PostUniverseNames_200Ok[];
|
|
|
35
26
|
*/
|
|
36
27
|
interface PostUniverseNames_200Ok {
|
|
37
28
|
category: PostUniverseNamesCategory;
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
/**
|
|
30
|
+
* id integer
|
|
31
|
+
*/
|
|
32
|
+
id: number;
|
|
33
|
+
/**
|
|
34
|
+
* name string
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
40
37
|
[k: string]: unknown | undefined;
|
|
41
38
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* ESI endpoint: /characters/{character_id}/contacts/
|
|
3
|
+
*/
|
|
5
4
|
/**
|
|
6
5
|
* contact_ids array
|
|
7
6
|
*
|
|
@@ -9,10 +8,12 @@
|
|
|
9
8
|
* @maxItems 100
|
|
10
9
|
*/
|
|
11
10
|
type PutCharactersCharacterIdContactsContactIds = [
|
|
12
|
-
PutCharactersCharacterIdContactsContactId,
|
|
13
|
-
...PutCharactersCharacterIdContactsContactId[]
|
|
14
|
-
];
|
|
15
11
|
/**
|
|
16
12
|
* ID of the contact to edit
|
|
17
13
|
*/
|
|
18
|
-
|
|
14
|
+
number,
|
|
15
|
+
/**
|
|
16
|
+
* ID of the contact to edit
|
|
17
|
+
*/
|
|
18
|
+
...number[]
|
|
19
|
+
];
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* label integer
|
|
7
|
-
*/
|
|
8
|
-
type PutCharactersCharacterIdMailMailIdLabel = number;
|
|
2
|
+
* ESI endpoint: /characters/{character_id}/mail/{mail_id}/
|
|
3
|
+
*/
|
|
9
4
|
/**
|
|
10
5
|
* Labels to assign to the mail. Pre-existing labels are unassigned.
|
|
11
6
|
*
|
|
12
7
|
* @maxItems 25
|
|
13
8
|
*/
|
|
14
|
-
type PutCharactersCharacterIdMailMailIdLabels = PutCharactersCharacterIdMailMailIdLabel[];
|
|
15
|
-
/**
|
|
16
|
-
* Whether the mail is flagged as read
|
|
17
|
-
*/
|
|
18
|
-
type PutCharactersCharacterIdMailMailIdRead = boolean;
|
|
19
9
|
|
|
20
10
|
/**
|
|
21
11
|
* contents object
|
|
22
12
|
*/
|
|
23
13
|
interface PutCharactersCharacterIdMailMailIdContents {
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
/**
|
|
15
|
+
* label integer
|
|
16
|
+
*/
|
|
17
|
+
labels?: number[];
|
|
18
|
+
/**
|
|
19
|
+
* Whether the mail is flagged as read
|
|
20
|
+
*/
|
|
21
|
+
read?: boolean;
|
|
26
22
|
[k: string]: unknown | undefined;
|
|
27
23
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/members/{member_id}/
|
|
3
|
+
*/
|
|
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
|
-
|
|
28
|
-
|
|
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
|
-
|
|
3
|
-
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/
|
|
3
|
+
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* new_settings object
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
interface PutFleetsFleetIdNewSettings {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Should free-move be enabled in the fleet
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
is_free_move?: boolean;
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* New fleet MOTD in CCP flavoured HTML
|
|
16
15
|
*/
|
|
17
|
-
|
|
18
|
-
is_free_move?: PutFleetsFleetIdIsFreeMove;
|
|
19
|
-
motd?: PutFleetsFleetIdMotd;
|
|
16
|
+
motd?: string;
|
|
20
17
|
[k: string]: unknown | undefined;
|
|
21
18
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* name string
|
|
7
|
-
*/
|
|
8
|
-
type PutFleetsFleetIdSquadsSquadIdName = string;
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/squads/{squad_id}/
|
|
3
|
+
*/
|
|
9
4
|
|
|
10
5
|
/**
|
|
11
6
|
* naming object
|
|
12
7
|
*/
|
|
13
8
|
interface PutFleetsFleetIdSquadsSquadIdNaming {
|
|
14
|
-
|
|
9
|
+
/**
|
|
10
|
+
* name string
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
15
13
|
[k: string]: unknown | undefined;
|
|
16
14
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* name string
|
|
7
|
-
*/
|
|
8
|
-
type PutFleetsFleetIdWingsWingIdName = string;
|
|
2
|
+
* ESI endpoint: /fleets/{fleet_id}/wings/{wing_id}/
|
|
3
|
+
*/
|
|
9
4
|
|
|
10
5
|
/**
|
|
11
6
|
* naming object
|
|
12
7
|
*/
|
|
13
8
|
interface PutFleetsFleetIdWingsWingIdNaming {
|
|
14
|
-
|
|
9
|
+
/**
|
|
10
|
+
* name string
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
15
13
|
[k: string]: unknown | undefined;
|
|
16
14
|
}
|
package/v2.mjs
CHANGED
|
@@ -120,7 +120,8 @@ const curl = (endp) => {
|
|
|
120
120
|
// It should complete correctly.
|
|
121
121
|
async function getEVEStatus() {
|
|
122
122
|
try {
|
|
123
|
-
const ok = await fire("get", "/characters/{character_id}/ship/",
|
|
123
|
+
const ok = await fire("get", "/characters/{character_id}/ship/", 94892443, { auth: true, token: "eyJhbGciOiJSUzI1NiIsImtpZCI6IkpXVC1TaWduYXR1cmUtS2V5IiwidHlwIjoiSldUIn0.eyJzY3AiOlsiZXNpLWxvY2F0aW9uLnJlYWRfbG9jYXRpb24udjEiLCJlc2ktbG9jYXRpb24ucmVhZF9zaGlwX3R5cGUudjEiLCJlc2ktbWFpbC5vcmdhbml6ZV9tYWlsLnYxIiwiZXNpLW1haWwucmVhZF9tYWlsLnYxIiwiZXNpLW1haWwuc2VuZF9tYWlsLnYxIiwiZXNpLXNraWxscy5yZWFkX3NraWxscy52MSIsImVzaS1za2lsbHMucmVhZF9za2lsbHF1ZXVlLnYxIiwiZXNpLXdhbGxldC5yZWFkX2NoYXJhY3Rlcl93YWxsZXQudjEiLCJlc2ktc2VhcmNoLnNlYXJjaF9zdHJ1Y3R1cmVzLnYxIiwiZXNpLWNsb25lcy5yZWFkX2Nsb25lcy52MSIsImVzaS1jaGFyYWN0ZXJzLnJlYWRfY29udGFjdHMudjEiLCJlc2ktdW5pdmVyc2UucmVhZF9zdHJ1Y3R1cmVzLnYxIiwiZXNpLWFzc2V0cy5yZWFkX2Fzc2V0cy52MSIsImVzaS11aS53cml0ZV93YXlwb2ludC52MSIsImVzaS1maXR0aW5ncy5yZWFkX2ZpdHRpbmdzLnYxIiwiZXNpLWZpdHRpbmdzLndyaXRlX2ZpdHRpbmdzLnYxIiwiZXNpLW1hcmtldHMuc3RydWN0dXJlX21hcmtldHMudjEiLCJlc2ktY2hhcmFjdGVycy5yZWFkX2xveWFsdHkudjEiLCJlc2ktY2hhcmFjdGVycy5yZWFkX2FnZW50c19yZXNlYXJjaC52MSIsImVzaS1pbmR1c3RyeS5yZWFkX2NoYXJhY3Rlcl9qb2JzLnYxIiwiZXNpLW1hcmtldHMucmVhZF9jaGFyYWN0ZXJfb3JkZXJzLnYxIiwiZXNpLWxvY2F0aW9uLnJlYWRfb25saW5lLnYxIiwiZXNpLWNvbnRyYWN0cy5yZWFkX2NoYXJhY3Rlcl9jb250cmFjdHMudjEiLCJlc2ktY2xvbmVzLnJlYWRfaW1wbGFudHMudjEiLCJlc2ktY2hhcmFjdGVycy5yZWFkX2ZhdGlndWUudjEiLCJlc2ktYXNzZXRzLnJlYWRfY29ycG9yYXRpb25fYXNzZXRzLnYxIl0sImp0aSI6IjlmN2I2MDYwLWQ2N2EtNDZlNi1iOTZmLWJlYzJlYzM3MjU2MSIsImtpZCI6IkpXVC1TaWduYXR1cmUtS2V5Iiwic3ViIjoiQ0hBUkFDVEVSOkVWRTo5NDg5MjQ0MyIsImF6cCI6IjQyMDdlZjU1ODVjMjRjNDQ4MTU4Y2JhYTA1MmIzNjJiIiwidGVuYW50IjoidHJhbnF1aWxpdHkiLCJ0aWVyIjoibGl2ZSIsInJlZ2lvbiI6IndvcmxkIiwiYXVkIjpbIjQyMDdlZjU1ODVjMjRjNDQ4MTU4Y2JhYTA1MmIzNjJiIiwiRVZFIE9ubGluZSJdLCJuYW1lIjoiSmVmZiBHYWxsZXQiLCJvd25lciI6Im1vaDB4NjU5T0hLcytTcXBlWHFQTHIzYjdTcz0iLCJleHAiOjE3Mzc2NjI1NDksImlhdCI6MTczNzY2MTM0OSwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5ldmVvbmxpbmUuY29tIn0.l4VBLlNxozB9c4AZf__fea_le_3eAoYG3XNKhUyaRzR0IJzQ1R5kyKHz5-ACH5Hz9H9JzQPq1cdVbI0mCdqVbnfHMYVp13p76H-yCwcG9lhO1x_Y2K5QkzkvtH_e0FkTu8rUjPNFc-8yv3BY7vsWWskVvxJoUnyEOvVpD192-L8xjG4FRZ5AYWMhG2XmbP1-6-OSY2ok1jHan6-CJDbKha2L3YjHRGV33VpdLHVXRFxDtW2iMpTRfx8l9VEvJKwgYtex1zB-0RprcafKRoBG_vA3nOBUCqoptWw08_N8vsnOsyPhHJ_VD5qOSfWnBgDEXk1RmvzRqETSXL1yN7zq-Q" });
|
|
124
|
+
console.log(ok);
|
|
124
125
|
}
|
|
125
126
|
catch (error) {
|
|
126
127
|
console.error("Failed to get character ship -", error);
|
|
@@ -131,8 +132,8 @@ async function getEVEStatus() {
|
|
|
131
132
|
* fire ESI request
|
|
132
133
|
* @template {TESIEntryMethod} M
|
|
133
134
|
* @template {keyof TESIResponseOKMap[M]} EP
|
|
134
|
-
* @template {IdentifyParameters<TESIResponseOKMap[M][EP]
|
|
135
|
-
* @template {
|
|
135
|
+
* @template {IdentifyParameters<TESIResponseOKMap[M][EP], ESIRequestOptions>} Opt
|
|
136
|
+
* @template {InferESIResponseResult<M, EP>} R
|
|
136
137
|
*
|
|
137
138
|
* @param {M} mthd
|
|
138
139
|
* @param {EP} endp - The endpoint to request.
|
|
@@ -244,7 +245,9 @@ export async function fire(mthd, endp, pathParams, opt) {
|
|
|
244
245
|
throw new ESIRequesError(`message: ${e.message}, endpoint=${endp}`);
|
|
245
246
|
}
|
|
246
247
|
}
|
|
248
|
+
// type following and run
|
|
247
249
|
// node v2.mjs
|
|
250
|
+
// or yarn test:v2
|
|
248
251
|
getEVEStatus().then(eveStatus => console.log(eveStatus));
|
|
249
252
|
// {
|
|
250
253
|
// "players": 16503,
|
package/v2.mts
CHANGED
|
@@ -170,6 +170,7 @@ const curl = (endp: string) => {
|
|
|
170
170
|
async function getEVEStatus() {
|
|
171
171
|
try {
|
|
172
172
|
const ok = await fire("get", "/characters/{character_id}/ship/", 994562, { auth: true, token: "<accessToken of 994562>" });
|
|
173
|
+
console.log(ok);
|
|
173
174
|
} catch (error) {
|
|
174
175
|
console.error("Failed to get character ship -", error);
|
|
175
176
|
}
|
|
@@ -179,8 +180,8 @@ async function getEVEStatus() {
|
|
|
179
180
|
* fire ESI request
|
|
180
181
|
* @template {TESIEntryMethod} M
|
|
181
182
|
* @template {keyof TESIResponseOKMap[M]} EP
|
|
182
|
-
* @template {IdentifyParameters<TESIResponseOKMap[M][EP]
|
|
183
|
-
* @template {
|
|
183
|
+
* @template {IdentifyParameters<TESIResponseOKMap[M][EP], ESIRequestOptions>} Opt
|
|
184
|
+
* @template {InferESIResponseResult<M, EP>} R
|
|
184
185
|
*
|
|
185
186
|
* @param {M} mthd
|
|
186
187
|
* @param {EP} endp - The endpoint to request.
|
|
@@ -193,8 +194,9 @@ async function getEVEStatus() {
|
|
|
193
194
|
export async function fire<
|
|
194
195
|
M extends TESIEntryMethod,
|
|
195
196
|
EP extends keyof TESIResponseOKMap[M],
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
// Entry extends TESIResponseOKMap[M][EP],
|
|
198
|
+
Opt extends IdentifyParameters<TESIResponseOKMap[M][EP], ESIRequestOptions>,
|
|
199
|
+
R extends InferESIResponseResult<M, EP>
|
|
198
200
|
>(
|
|
199
201
|
mthd: M, endp: EP, pathParams?: number | number[] | Opt,
|
|
200
202
|
opt?: Opt
|
|
@@ -307,7 +309,9 @@ export async function fire<
|
|
|
307
309
|
}
|
|
308
310
|
}
|
|
309
311
|
|
|
312
|
+
// type following and run
|
|
310
313
|
// node v2.mjs
|
|
314
|
+
// or yarn test:v2
|
|
311
315
|
getEVEStatus().then(eveStatus => console.log(eveStatus));
|
|
312
316
|
// {
|
|
313
317
|
// "players": 16503,
|
|
@@ -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;
|