@lgriffin/esi.ts 9.0.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +52 -50
- package/dist/EsiClient.d.ts +4 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/clients/AccessListsClient.d.ts +11 -1
- package/dist/clients/AccessListsClient.d.ts.map +1 -1
- package/dist/clients/CorporationProjectsClient.d.ts +44 -0
- package/dist/clients/CorporationProjectsClient.d.ts.map +1 -0
- package/dist/clients/MercenaryClient.d.ts +6 -2
- package/dist/clients/MercenaryClient.d.ts.map +1 -1
- package/dist/clients/MetaClient.d.ts +25 -0
- package/dist/clients/MetaClient.d.ts.map +1 -1
- package/dist/clients/MilitaryCampaignsClient.d.ts +53 -0
- package/dist/clients/MilitaryCampaignsClient.d.ts.map +1 -0
- package/dist/clients/SkyhooksClient.d.ts +6 -2
- package/dist/clients/SkyhooksClient.d.ts.map +1 -1
- package/dist/core/ClientRegistry.d.ts +5 -3
- package/dist/core/ClientRegistry.d.ts.map +1 -1
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/endpoints/accessListEndpoints.d.ts +34 -11
- package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts +50 -0
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/industryEndpoints.d.ts +3 -3
- package/dist/core/endpoints/mercenaryEndpoints.d.ts +6 -4
- package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/metaEndpoints.d.ts +36 -0
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/militaryCampaignEndpoints.d.ts +87 -0
- package/dist/core/endpoints/militaryCampaignEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/skyhookEndpoints.d.ts +7 -5
- package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1509 -1121
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1507 -1121
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/corporation-projects.d.ts +17 -0
- package/dist/schemas/corporation-projects.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1077 -987
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/index.mjs +1066 -987
- package/dist/schemas/index.mjs.map +1 -1
- package/dist/schemas/meta.d.ts +25 -0
- package/dist/schemas/meta.d.ts.map +1 -0
- package/dist/schemas/military-campaigns.d.ts +26 -0
- package/dist/schemas/military-campaigns.d.ts.map +1 -0
- package/dist/types/api-responses.d.ts +3 -0
- package/dist/types/api-responses.d.ts.map +1 -1
- package/dist/types/corporation-projects.d.ts +6 -0
- package/dist/types/corporation-projects.d.ts.map +1 -0
- package/dist/types/meta.d.ts +8 -0
- package/dist/types/meta.d.ts.map +1 -0
- package/dist/types/military-campaigns.d.ts +6 -0
- package/dist/types/military-campaigns.d.ts.map +1 -0
- package/package.json +5 -1
package/dist/schemas/index.mjs
CHANGED
|
@@ -535,366 +535,384 @@ var ContainerLogSchema = z10.looseObject({
|
|
|
535
535
|
new_config_bitmask: z10.number().optional()
|
|
536
536
|
});
|
|
537
537
|
|
|
538
|
-
// src/schemas/
|
|
538
|
+
// src/schemas/corporation-projects.ts
|
|
539
539
|
import { z as z11 } from "zod";
|
|
540
|
-
var
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
540
|
+
var CorporationProjectSchema = z11.looseObject({
|
|
541
|
+
project_id: z11.number(),
|
|
542
|
+
state: z11.string(),
|
|
543
|
+
progress: z11.number(),
|
|
544
|
+
start_time: z11.string(),
|
|
545
|
+
finish_time: z11.string().optional()
|
|
546
|
+
});
|
|
547
|
+
var CorporationProjectContributionSchema = z11.looseObject({
|
|
548
|
+
character_id: z11.number(),
|
|
549
|
+
contribution: z11.number()
|
|
550
|
+
});
|
|
551
|
+
var CorporationProjectContributorSchema = z11.looseObject({
|
|
552
|
+
character_id: z11.number(),
|
|
553
|
+
contribution: z11.number()
|
|
554
|
+
});
|
|
555
|
+
|
|
556
|
+
// src/schemas/dogma.ts
|
|
557
|
+
import { z as z12 } from "zod";
|
|
558
|
+
var DogmaAttributeSchema = z12.looseObject({
|
|
559
|
+
attribute_id: z12.number(),
|
|
560
|
+
name: z12.string(),
|
|
561
|
+
description: z12.string().optional(),
|
|
562
|
+
icon_id: z12.number().optional(),
|
|
563
|
+
default_value: z12.number().optional(),
|
|
564
|
+
published: z12.boolean().optional(),
|
|
565
|
+
display_name: z12.string().optional(),
|
|
566
|
+
unit_id: z12.number().optional(),
|
|
567
|
+
stackable: z12.boolean().optional(),
|
|
568
|
+
high_is_good: z12.boolean().optional()
|
|
569
|
+
});
|
|
570
|
+
var DogmaEffectSchema = z12.looseObject({
|
|
571
|
+
effect_id: z12.number(),
|
|
572
|
+
name: z12.string(),
|
|
573
|
+
description: z12.string().optional(),
|
|
574
|
+
icon_id: z12.number().optional(),
|
|
575
|
+
display_name: z12.string().optional(),
|
|
576
|
+
published: z12.boolean().optional(),
|
|
577
|
+
effect_category: z12.number().optional(),
|
|
578
|
+
is_assistance: z12.boolean().optional(),
|
|
579
|
+
is_offensive: z12.boolean().optional(),
|
|
580
|
+
is_warp_safe: z12.boolean().optional(),
|
|
581
|
+
disallow_auto_repeat: z12.boolean().optional(),
|
|
582
|
+
discharge_attribute_id: z12.number().optional(),
|
|
583
|
+
duration_attribute_id: z12.number().optional(),
|
|
584
|
+
electronic_chance: z12.boolean().optional(),
|
|
585
|
+
falloff_attribute_id: z12.number().optional(),
|
|
586
|
+
modifiers: z12.array(
|
|
587
|
+
z12.looseObject({
|
|
588
|
+
domain: z12.string().optional(),
|
|
589
|
+
effect_id: z12.number().optional(),
|
|
590
|
+
func: z12.string(),
|
|
591
|
+
modified_attribute_id: z12.number().optional(),
|
|
592
|
+
modifying_attribute_id: z12.number().optional(),
|
|
593
|
+
operator: z12.number().optional()
|
|
576
594
|
})
|
|
577
595
|
).optional(),
|
|
578
|
-
post_expression:
|
|
579
|
-
pre_expression:
|
|
580
|
-
range_attribute_id:
|
|
581
|
-
range_chance:
|
|
582
|
-
tracking_speed_attribute_id:
|
|
583
|
-
});
|
|
584
|
-
var DogmaDynamicItemSchema =
|
|
585
|
-
created_by:
|
|
586
|
-
dogma_attributes:
|
|
587
|
-
|
|
588
|
-
attribute_id:
|
|
589
|
-
value:
|
|
596
|
+
post_expression: z12.number().optional(),
|
|
597
|
+
pre_expression: z12.number().optional(),
|
|
598
|
+
range_attribute_id: z12.number().optional(),
|
|
599
|
+
range_chance: z12.boolean().optional(),
|
|
600
|
+
tracking_speed_attribute_id: z12.number().optional()
|
|
601
|
+
});
|
|
602
|
+
var DogmaDynamicItemSchema = z12.looseObject({
|
|
603
|
+
created_by: z12.number(),
|
|
604
|
+
dogma_attributes: z12.array(
|
|
605
|
+
z12.looseObject({
|
|
606
|
+
attribute_id: z12.number(),
|
|
607
|
+
value: z12.number()
|
|
590
608
|
})
|
|
591
609
|
),
|
|
592
|
-
dogma_effects:
|
|
593
|
-
|
|
594
|
-
effect_id:
|
|
595
|
-
is_default:
|
|
610
|
+
dogma_effects: z12.array(
|
|
611
|
+
z12.looseObject({
|
|
612
|
+
effect_id: z12.number(),
|
|
613
|
+
is_default: z12.boolean()
|
|
596
614
|
})
|
|
597
615
|
),
|
|
598
|
-
mutator_type_id:
|
|
599
|
-
source_type_id:
|
|
616
|
+
mutator_type_id: z12.number(),
|
|
617
|
+
source_type_id: z12.number()
|
|
600
618
|
});
|
|
601
619
|
|
|
602
620
|
// src/schemas/faction-warfare.ts
|
|
603
|
-
import { z as
|
|
604
|
-
var FactionWarfareStatsSchema =
|
|
605
|
-
faction_id:
|
|
606
|
-
pilots:
|
|
607
|
-
systems_controlled:
|
|
608
|
-
kills:
|
|
609
|
-
yesterday:
|
|
610
|
-
last_week:
|
|
611
|
-
total:
|
|
621
|
+
import { z as z13 } from "zod";
|
|
622
|
+
var FactionWarfareStatsSchema = z13.looseObject({
|
|
623
|
+
faction_id: z13.number(),
|
|
624
|
+
pilots: z13.number(),
|
|
625
|
+
systems_controlled: z13.number(),
|
|
626
|
+
kills: z13.looseObject({
|
|
627
|
+
yesterday: z13.number(),
|
|
628
|
+
last_week: z13.number(),
|
|
629
|
+
total: z13.number()
|
|
612
630
|
}),
|
|
613
|
-
victory_points:
|
|
614
|
-
yesterday:
|
|
615
|
-
last_week:
|
|
616
|
-
total:
|
|
631
|
+
victory_points: z13.looseObject({
|
|
632
|
+
yesterday: z13.number(),
|
|
633
|
+
last_week: z13.number(),
|
|
634
|
+
total: z13.number()
|
|
617
635
|
})
|
|
618
636
|
});
|
|
619
|
-
var FactionWarfareCharacterStatsSchema =
|
|
620
|
-
faction_id:
|
|
621
|
-
enlisted_on:
|
|
622
|
-
current_rank:
|
|
623
|
-
highest_rank:
|
|
624
|
-
kills:
|
|
625
|
-
yesterday:
|
|
626
|
-
last_week:
|
|
627
|
-
total:
|
|
637
|
+
var FactionWarfareCharacterStatsSchema = z13.looseObject({
|
|
638
|
+
faction_id: z13.number().optional(),
|
|
639
|
+
enlisted_on: z13.string().optional(),
|
|
640
|
+
current_rank: z13.number().optional(),
|
|
641
|
+
highest_rank: z13.number().optional(),
|
|
642
|
+
kills: z13.looseObject({
|
|
643
|
+
yesterday: z13.number(),
|
|
644
|
+
last_week: z13.number(),
|
|
645
|
+
total: z13.number()
|
|
628
646
|
}),
|
|
629
|
-
victory_points:
|
|
630
|
-
yesterday:
|
|
631
|
-
last_week:
|
|
632
|
-
total:
|
|
647
|
+
victory_points: z13.looseObject({
|
|
648
|
+
yesterday: z13.number(),
|
|
649
|
+
last_week: z13.number(),
|
|
650
|
+
total: z13.number()
|
|
633
651
|
})
|
|
634
652
|
});
|
|
635
|
-
var FactionWarfareSystemSchema =
|
|
636
|
-
solar_system_id:
|
|
637
|
-
owner_faction_id:
|
|
638
|
-
occupier_faction_id:
|
|
639
|
-
contested:
|
|
640
|
-
victory_points:
|
|
641
|
-
victory_points_threshold:
|
|
642
|
-
});
|
|
643
|
-
var FactionWarfareWarSchema =
|
|
644
|
-
faction_id:
|
|
645
|
-
against_id:
|
|
646
|
-
});
|
|
647
|
-
var FactionWarfareLeaderboardSchema =
|
|
648
|
-
kills:
|
|
649
|
-
yesterday:
|
|
650
|
-
|
|
651
|
-
amount:
|
|
652
|
-
id:
|
|
653
|
+
var FactionWarfareSystemSchema = z13.looseObject({
|
|
654
|
+
solar_system_id: z13.number(),
|
|
655
|
+
owner_faction_id: z13.number(),
|
|
656
|
+
occupier_faction_id: z13.number(),
|
|
657
|
+
contested: z13.enum(["captured", "contested", "uncontested", "vulnerable"]),
|
|
658
|
+
victory_points: z13.number(),
|
|
659
|
+
victory_points_threshold: z13.number()
|
|
660
|
+
});
|
|
661
|
+
var FactionWarfareWarSchema = z13.looseObject({
|
|
662
|
+
faction_id: z13.number(),
|
|
663
|
+
against_id: z13.number()
|
|
664
|
+
});
|
|
665
|
+
var FactionWarfareLeaderboardSchema = z13.looseObject({
|
|
666
|
+
kills: z13.looseObject({
|
|
667
|
+
yesterday: z13.array(
|
|
668
|
+
z13.looseObject({
|
|
669
|
+
amount: z13.number(),
|
|
670
|
+
id: z13.number().optional()
|
|
653
671
|
})
|
|
654
672
|
),
|
|
655
|
-
last_week:
|
|
656
|
-
|
|
657
|
-
amount:
|
|
658
|
-
id:
|
|
673
|
+
last_week: z13.array(
|
|
674
|
+
z13.looseObject({
|
|
675
|
+
amount: z13.number(),
|
|
676
|
+
id: z13.number().optional()
|
|
659
677
|
})
|
|
660
678
|
),
|
|
661
|
-
active_total:
|
|
662
|
-
|
|
663
|
-
amount:
|
|
664
|
-
id:
|
|
679
|
+
active_total: z13.array(
|
|
680
|
+
z13.looseObject({
|
|
681
|
+
amount: z13.number(),
|
|
682
|
+
id: z13.number().optional()
|
|
665
683
|
})
|
|
666
684
|
)
|
|
667
685
|
}),
|
|
668
|
-
victory_points:
|
|
669
|
-
yesterday:
|
|
670
|
-
|
|
671
|
-
amount:
|
|
672
|
-
id:
|
|
686
|
+
victory_points: z13.looseObject({
|
|
687
|
+
yesterday: z13.array(
|
|
688
|
+
z13.looseObject({
|
|
689
|
+
amount: z13.number(),
|
|
690
|
+
id: z13.number().optional()
|
|
673
691
|
})
|
|
674
692
|
),
|
|
675
|
-
last_week:
|
|
676
|
-
|
|
677
|
-
amount:
|
|
678
|
-
id:
|
|
693
|
+
last_week: z13.array(
|
|
694
|
+
z13.looseObject({
|
|
695
|
+
amount: z13.number(),
|
|
696
|
+
id: z13.number().optional()
|
|
679
697
|
})
|
|
680
698
|
),
|
|
681
|
-
active_total:
|
|
682
|
-
|
|
683
|
-
amount:
|
|
684
|
-
id:
|
|
699
|
+
active_total: z13.array(
|
|
700
|
+
z13.looseObject({
|
|
701
|
+
amount: z13.number(),
|
|
702
|
+
id: z13.number().optional()
|
|
685
703
|
})
|
|
686
704
|
)
|
|
687
705
|
})
|
|
688
706
|
});
|
|
689
|
-
var FactionWarfareCorporationStatsSchema =
|
|
690
|
-
faction_id:
|
|
691
|
-
enlisted_on:
|
|
692
|
-
pilots:
|
|
693
|
-
kills:
|
|
694
|
-
yesterday:
|
|
695
|
-
last_week:
|
|
696
|
-
total:
|
|
707
|
+
var FactionWarfareCorporationStatsSchema = z13.looseObject({
|
|
708
|
+
faction_id: z13.number().optional(),
|
|
709
|
+
enlisted_on: z13.string().optional(),
|
|
710
|
+
pilots: z13.number().optional(),
|
|
711
|
+
kills: z13.looseObject({
|
|
712
|
+
yesterday: z13.number(),
|
|
713
|
+
last_week: z13.number(),
|
|
714
|
+
total: z13.number()
|
|
697
715
|
}),
|
|
698
|
-
victory_points:
|
|
699
|
-
yesterday:
|
|
700
|
-
last_week:
|
|
701
|
-
total:
|
|
716
|
+
victory_points: z13.looseObject({
|
|
717
|
+
yesterday: z13.number(),
|
|
718
|
+
last_week: z13.number(),
|
|
719
|
+
total: z13.number()
|
|
702
720
|
})
|
|
703
721
|
});
|
|
704
722
|
|
|
705
723
|
// src/schemas/fittings.ts
|
|
706
|
-
import { z as
|
|
707
|
-
var FittingSchema =
|
|
708
|
-
fitting_id:
|
|
709
|
-
name:
|
|
710
|
-
description:
|
|
711
|
-
ship_type_id:
|
|
712
|
-
items:
|
|
713
|
-
|
|
714
|
-
type_id:
|
|
715
|
-
flag:
|
|
716
|
-
quantity:
|
|
724
|
+
import { z as z14 } from "zod";
|
|
725
|
+
var FittingSchema = z14.looseObject({
|
|
726
|
+
fitting_id: z14.number(),
|
|
727
|
+
name: z14.string(),
|
|
728
|
+
description: z14.string(),
|
|
729
|
+
ship_type_id: z14.number(),
|
|
730
|
+
items: z14.array(
|
|
731
|
+
z14.looseObject({
|
|
732
|
+
type_id: z14.number(),
|
|
733
|
+
flag: z14.union([z14.number(), z14.string()]),
|
|
734
|
+
quantity: z14.number()
|
|
717
735
|
})
|
|
718
736
|
)
|
|
719
737
|
});
|
|
720
738
|
|
|
721
739
|
// src/schemas/fleet.ts
|
|
722
|
-
import { z as
|
|
723
|
-
var FleetInfoSchema =
|
|
724
|
-
fleet_id:
|
|
725
|
-
fleet_boss_id:
|
|
726
|
-
is_free_move:
|
|
727
|
-
is_registered:
|
|
728
|
-
is_voice_enabled:
|
|
729
|
-
motd:
|
|
730
|
-
});
|
|
731
|
-
var FleetMemberSchema =
|
|
732
|
-
character_id:
|
|
733
|
-
ship_type_id:
|
|
734
|
-
wing_id:
|
|
735
|
-
squad_id:
|
|
736
|
-
role:
|
|
740
|
+
import { z as z15 } from "zod";
|
|
741
|
+
var FleetInfoSchema = z15.looseObject({
|
|
742
|
+
fleet_id: z15.number().optional(),
|
|
743
|
+
fleet_boss_id: z15.number().optional(),
|
|
744
|
+
is_free_move: z15.boolean(),
|
|
745
|
+
is_registered: z15.boolean(),
|
|
746
|
+
is_voice_enabled: z15.boolean(),
|
|
747
|
+
motd: z15.string()
|
|
748
|
+
});
|
|
749
|
+
var FleetMemberSchema = z15.looseObject({
|
|
750
|
+
character_id: z15.number(),
|
|
751
|
+
ship_type_id: z15.number(),
|
|
752
|
+
wing_id: z15.number(),
|
|
753
|
+
squad_id: z15.number(),
|
|
754
|
+
role: z15.enum([
|
|
737
755
|
"fleet_commander",
|
|
738
756
|
"wing_commander",
|
|
739
757
|
"squad_commander",
|
|
740
758
|
"squad_member"
|
|
741
759
|
]),
|
|
742
|
-
role_name:
|
|
743
|
-
join_time:
|
|
744
|
-
takes_fleet_warp:
|
|
745
|
-
solar_system_id:
|
|
746
|
-
station_id:
|
|
747
|
-
});
|
|
748
|
-
var FleetWingSchema =
|
|
749
|
-
id:
|
|
750
|
-
name:
|
|
751
|
-
squads:
|
|
752
|
-
|
|
753
|
-
id:
|
|
754
|
-
name:
|
|
760
|
+
role_name: z15.string(),
|
|
761
|
+
join_time: z15.string(),
|
|
762
|
+
takes_fleet_warp: z15.boolean(),
|
|
763
|
+
solar_system_id: z15.number(),
|
|
764
|
+
station_id: z15.number().optional()
|
|
765
|
+
});
|
|
766
|
+
var FleetWingSchema = z15.looseObject({
|
|
767
|
+
id: z15.number(),
|
|
768
|
+
name: z15.string(),
|
|
769
|
+
squads: z15.array(
|
|
770
|
+
z15.looseObject({
|
|
771
|
+
id: z15.number(),
|
|
772
|
+
name: z15.string()
|
|
755
773
|
})
|
|
756
774
|
)
|
|
757
775
|
});
|
|
758
|
-
var CharacterFleetInfoSchema =
|
|
759
|
-
fleet_id:
|
|
760
|
-
fleet_boss_id:
|
|
761
|
-
role:
|
|
776
|
+
var CharacterFleetInfoSchema = z15.looseObject({
|
|
777
|
+
fleet_id: z15.number(),
|
|
778
|
+
fleet_boss_id: z15.number().optional(),
|
|
779
|
+
role: z15.enum([
|
|
762
780
|
"fleet_commander",
|
|
763
781
|
"wing_commander",
|
|
764
782
|
"squad_commander",
|
|
765
783
|
"squad_member"
|
|
766
784
|
]),
|
|
767
|
-
squad_id:
|
|
768
|
-
wing_id:
|
|
785
|
+
squad_id: z15.number(),
|
|
786
|
+
wing_id: z15.number()
|
|
769
787
|
});
|
|
770
788
|
|
|
771
789
|
// src/schemas/freelance-jobs.ts
|
|
772
|
-
import { z as
|
|
773
|
-
var EsiCursorSchema =
|
|
774
|
-
before:
|
|
775
|
-
after:
|
|
776
|
-
});
|
|
777
|
-
var FreelanceJobSummarySchema =
|
|
778
|
-
id:
|
|
779
|
-
name:
|
|
780
|
-
state:
|
|
781
|
-
last_modified:
|
|
782
|
-
progress:
|
|
783
|
-
current:
|
|
784
|
-
desired:
|
|
790
|
+
import { z as z16 } from "zod";
|
|
791
|
+
var EsiCursorSchema = z16.looseObject({
|
|
792
|
+
before: z16.string().nullable(),
|
|
793
|
+
after: z16.string().nullable()
|
|
794
|
+
});
|
|
795
|
+
var FreelanceJobSummarySchema = z16.looseObject({
|
|
796
|
+
id: z16.string(),
|
|
797
|
+
name: z16.string(),
|
|
798
|
+
state: z16.string(),
|
|
799
|
+
last_modified: z16.string(),
|
|
800
|
+
progress: z16.looseObject({
|
|
801
|
+
current: z16.number(),
|
|
802
|
+
desired: z16.number()
|
|
785
803
|
}),
|
|
786
|
-
reward:
|
|
787
|
-
initial:
|
|
788
|
-
remaining:
|
|
804
|
+
reward: z16.looseObject({
|
|
805
|
+
initial: z16.number(),
|
|
806
|
+
remaining: z16.number()
|
|
789
807
|
}).optional()
|
|
790
808
|
});
|
|
791
|
-
var FreelanceJobsListingSchema =
|
|
809
|
+
var FreelanceJobsListingSchema = z16.looseObject({
|
|
792
810
|
cursor: EsiCursorSchema.optional(),
|
|
793
|
-
freelance_jobs:
|
|
794
|
-
});
|
|
795
|
-
var FreelanceJobDetailSchema =
|
|
796
|
-
id:
|
|
797
|
-
name:
|
|
798
|
-
state:
|
|
799
|
-
last_modified:
|
|
800
|
-
progress:
|
|
801
|
-
current:
|
|
802
|
-
desired:
|
|
811
|
+
freelance_jobs: z16.array(FreelanceJobSummarySchema)
|
|
812
|
+
});
|
|
813
|
+
var FreelanceJobDetailSchema = z16.looseObject({
|
|
814
|
+
id: z16.string(),
|
|
815
|
+
name: z16.string(),
|
|
816
|
+
state: z16.string(),
|
|
817
|
+
last_modified: z16.string(),
|
|
818
|
+
progress: z16.looseObject({
|
|
819
|
+
current: z16.number(),
|
|
820
|
+
desired: z16.number()
|
|
803
821
|
}),
|
|
804
|
-
reward:
|
|
805
|
-
initial:
|
|
806
|
-
remaining:
|
|
822
|
+
reward: z16.looseObject({
|
|
823
|
+
initial: z16.number(),
|
|
824
|
+
remaining: z16.number()
|
|
807
825
|
}).optional(),
|
|
808
|
-
details:
|
|
809
|
-
description:
|
|
810
|
-
career:
|
|
811
|
-
created:
|
|
812
|
-
expires:
|
|
813
|
-
creator:
|
|
814
|
-
character:
|
|
815
|
-
id:
|
|
816
|
-
name:
|
|
826
|
+
details: z16.looseObject({
|
|
827
|
+
description: z16.string(),
|
|
828
|
+
career: z16.string(),
|
|
829
|
+
created: z16.string(),
|
|
830
|
+
expires: z16.string(),
|
|
831
|
+
creator: z16.looseObject({
|
|
832
|
+
character: z16.looseObject({
|
|
833
|
+
id: z16.number(),
|
|
834
|
+
name: z16.string()
|
|
817
835
|
}),
|
|
818
|
-
corporation:
|
|
819
|
-
id:
|
|
820
|
-
name:
|
|
836
|
+
corporation: z16.looseObject({
|
|
837
|
+
id: z16.number(),
|
|
838
|
+
name: z16.string()
|
|
821
839
|
})
|
|
822
840
|
})
|
|
823
841
|
}),
|
|
824
|
-
configuration:
|
|
825
|
-
version:
|
|
826
|
-
parameters:
|
|
827
|
-
method:
|
|
842
|
+
configuration: z16.looseObject({
|
|
843
|
+
version: z16.number(),
|
|
844
|
+
parameters: z16.record(z16.string(), z16.unknown()),
|
|
845
|
+
method: z16.string()
|
|
828
846
|
}),
|
|
829
|
-
contribution:
|
|
830
|
-
max_committed_participants:
|
|
831
|
-
reward_per_contribution:
|
|
832
|
-
submission_multiplier:
|
|
847
|
+
contribution: z16.looseObject({
|
|
848
|
+
max_committed_participants: z16.number(),
|
|
849
|
+
reward_per_contribution: z16.number().optional(),
|
|
850
|
+
submission_multiplier: z16.number().optional()
|
|
833
851
|
}),
|
|
834
|
-
access_and_visibility:
|
|
835
|
-
acl_protected:
|
|
836
|
-
broadcast_locations:
|
|
837
|
-
|
|
838
|
-
id:
|
|
839
|
-
name:
|
|
852
|
+
access_and_visibility: z16.looseObject({
|
|
853
|
+
acl_protected: z16.boolean(),
|
|
854
|
+
broadcast_locations: z16.array(
|
|
855
|
+
z16.looseObject({
|
|
856
|
+
id: z16.number(),
|
|
857
|
+
name: z16.string()
|
|
840
858
|
})
|
|
841
859
|
)
|
|
842
860
|
})
|
|
843
861
|
});
|
|
844
|
-
var CharacterFreelanceJobsListingSchema =
|
|
862
|
+
var CharacterFreelanceJobsListingSchema = z16.looseObject({
|
|
845
863
|
cursor: EsiCursorSchema.optional(),
|
|
846
|
-
freelance_jobs:
|
|
864
|
+
freelance_jobs: z16.array(FreelanceJobSummarySchema)
|
|
847
865
|
});
|
|
848
|
-
var FreelanceJobParticipationSchema =
|
|
849
|
-
job_id:
|
|
850
|
-
character_id:
|
|
851
|
-
status:
|
|
852
|
-
contributions:
|
|
853
|
-
last_contribution:
|
|
866
|
+
var FreelanceJobParticipationSchema = z16.looseObject({
|
|
867
|
+
job_id: z16.string(),
|
|
868
|
+
character_id: z16.number(),
|
|
869
|
+
status: z16.string(),
|
|
870
|
+
contributions: z16.number(),
|
|
871
|
+
last_contribution: z16.string().optional()
|
|
854
872
|
});
|
|
855
|
-
var CorporationFreelanceJobsListingSchema =
|
|
873
|
+
var CorporationFreelanceJobsListingSchema = z16.looseObject({
|
|
856
874
|
cursor: EsiCursorSchema.optional(),
|
|
857
|
-
freelance_jobs:
|
|
875
|
+
freelance_jobs: z16.array(FreelanceJobSummarySchema)
|
|
858
876
|
});
|
|
859
|
-
var FreelanceJobParticipantSchema =
|
|
860
|
-
character_id:
|
|
861
|
-
corporation_id:
|
|
862
|
-
status:
|
|
863
|
-
contributions:
|
|
864
|
-
last_contribution:
|
|
877
|
+
var FreelanceJobParticipantSchema = z16.looseObject({
|
|
878
|
+
character_id: z16.number(),
|
|
879
|
+
corporation_id: z16.number(),
|
|
880
|
+
status: z16.string(),
|
|
881
|
+
contributions: z16.number(),
|
|
882
|
+
last_contribution: z16.string().optional()
|
|
865
883
|
});
|
|
866
884
|
|
|
867
885
|
// src/schemas/incursions.ts
|
|
868
|
-
import { z as
|
|
869
|
-
var IncursionSchema =
|
|
870
|
-
type:
|
|
871
|
-
state:
|
|
872
|
-
staging_solar_system_id:
|
|
873
|
-
constellation_id:
|
|
874
|
-
infested_solar_systems:
|
|
875
|
-
has_boss:
|
|
876
|
-
faction_id:
|
|
877
|
-
influence:
|
|
886
|
+
import { z as z17 } from "zod";
|
|
887
|
+
var IncursionSchema = z17.looseObject({
|
|
888
|
+
type: z17.string(),
|
|
889
|
+
state: z17.enum(["withdrawing", "mobilizing", "established"]),
|
|
890
|
+
staging_solar_system_id: z17.number(),
|
|
891
|
+
constellation_id: z17.number(),
|
|
892
|
+
infested_solar_systems: z17.array(z17.number()),
|
|
893
|
+
has_boss: z17.boolean(),
|
|
894
|
+
faction_id: z17.number(),
|
|
895
|
+
influence: z17.number()
|
|
878
896
|
});
|
|
879
897
|
|
|
880
898
|
// src/schemas/industry.ts
|
|
881
|
-
import { z as
|
|
882
|
-
var IndustryJobSchema =
|
|
883
|
-
job_id:
|
|
884
|
-
installer_id:
|
|
885
|
-
facility_id:
|
|
886
|
-
station_id:
|
|
887
|
-
activity_id:
|
|
888
|
-
blueprint_id:
|
|
889
|
-
blueprint_type_id:
|
|
890
|
-
blueprint_location_id:
|
|
891
|
-
output_location_id:
|
|
892
|
-
runs:
|
|
893
|
-
cost:
|
|
894
|
-
licensed_runs:
|
|
895
|
-
probability:
|
|
896
|
-
product_type_id:
|
|
897
|
-
status:
|
|
899
|
+
import { z as z18 } from "zod";
|
|
900
|
+
var IndustryJobSchema = z18.looseObject({
|
|
901
|
+
job_id: z18.number(),
|
|
902
|
+
installer_id: z18.number(),
|
|
903
|
+
facility_id: z18.number(),
|
|
904
|
+
station_id: z18.number(),
|
|
905
|
+
activity_id: z18.number(),
|
|
906
|
+
blueprint_id: z18.number(),
|
|
907
|
+
blueprint_type_id: z18.number(),
|
|
908
|
+
blueprint_location_id: z18.number(),
|
|
909
|
+
output_location_id: z18.number(),
|
|
910
|
+
runs: z18.number(),
|
|
911
|
+
cost: z18.number().optional(),
|
|
912
|
+
licensed_runs: z18.number().optional(),
|
|
913
|
+
probability: z18.number().optional(),
|
|
914
|
+
product_type_id: z18.number().optional(),
|
|
915
|
+
status: z18.enum([
|
|
898
916
|
"active",
|
|
899
917
|
"cancelled",
|
|
900
918
|
"delivered",
|
|
@@ -902,165 +920,165 @@ var IndustryJobSchema = z17.looseObject({
|
|
|
902
920
|
"ready",
|
|
903
921
|
"reverted"
|
|
904
922
|
]),
|
|
905
|
-
duration:
|
|
906
|
-
start_date:
|
|
907
|
-
end_date:
|
|
908
|
-
pause_date:
|
|
909
|
-
completed_date:
|
|
910
|
-
completed_character_id:
|
|
911
|
-
successful_runs:
|
|
912
|
-
});
|
|
913
|
-
var MiningLedgerEntrySchema =
|
|
914
|
-
date:
|
|
915
|
-
solar_system_id:
|
|
916
|
-
type_id:
|
|
917
|
-
quantity:
|
|
918
|
-
});
|
|
919
|
-
var IndustryFacilitySchema =
|
|
920
|
-
facility_id:
|
|
921
|
-
owner_id:
|
|
922
|
-
region_id:
|
|
923
|
-
solar_system_id:
|
|
924
|
-
tax:
|
|
925
|
-
type_id:
|
|
926
|
-
});
|
|
927
|
-
var IndustrySystemSchema =
|
|
928
|
-
solar_system_id:
|
|
929
|
-
cost_indices:
|
|
930
|
-
|
|
931
|
-
activity:
|
|
932
|
-
cost_index:
|
|
923
|
+
duration: z18.number(),
|
|
924
|
+
start_date: z18.string(),
|
|
925
|
+
end_date: z18.string(),
|
|
926
|
+
pause_date: z18.string().optional(),
|
|
927
|
+
completed_date: z18.string().optional(),
|
|
928
|
+
completed_character_id: z18.number().optional(),
|
|
929
|
+
successful_runs: z18.number().optional()
|
|
930
|
+
});
|
|
931
|
+
var MiningLedgerEntrySchema = z18.looseObject({
|
|
932
|
+
date: z18.string(),
|
|
933
|
+
solar_system_id: z18.number(),
|
|
934
|
+
type_id: z18.number(),
|
|
935
|
+
quantity: z18.number()
|
|
936
|
+
});
|
|
937
|
+
var IndustryFacilitySchema = z18.looseObject({
|
|
938
|
+
facility_id: z18.number(),
|
|
939
|
+
owner_id: z18.number(),
|
|
940
|
+
region_id: z18.number(),
|
|
941
|
+
solar_system_id: z18.number(),
|
|
942
|
+
tax: z18.number().optional(),
|
|
943
|
+
type_id: z18.number()
|
|
944
|
+
});
|
|
945
|
+
var IndustrySystemSchema = z18.looseObject({
|
|
946
|
+
solar_system_id: z18.number(),
|
|
947
|
+
cost_indices: z18.array(
|
|
948
|
+
z18.looseObject({
|
|
949
|
+
activity: z18.string(),
|
|
950
|
+
cost_index: z18.number()
|
|
933
951
|
})
|
|
934
952
|
)
|
|
935
953
|
});
|
|
936
|
-
var MoonExtractionTimerSchema =
|
|
937
|
-
structure_id:
|
|
938
|
-
moon_id:
|
|
939
|
-
extraction_start_time:
|
|
940
|
-
chunk_arrival_time:
|
|
941
|
-
natural_decay_time:
|
|
942
|
-
});
|
|
943
|
-
var MiningObserverSchema =
|
|
944
|
-
observer_id:
|
|
945
|
-
observer_type:
|
|
946
|
-
last_updated:
|
|
947
|
-
});
|
|
948
|
-
var MiningObserverEntrySchema =
|
|
949
|
-
character_id:
|
|
950
|
-
recorded_corporation_id:
|
|
951
|
-
type_id:
|
|
952
|
-
quantity:
|
|
953
|
-
last_updated:
|
|
954
|
+
var MoonExtractionTimerSchema = z18.looseObject({
|
|
955
|
+
structure_id: z18.number(),
|
|
956
|
+
moon_id: z18.number(),
|
|
957
|
+
extraction_start_time: z18.string(),
|
|
958
|
+
chunk_arrival_time: z18.string(),
|
|
959
|
+
natural_decay_time: z18.string()
|
|
960
|
+
});
|
|
961
|
+
var MiningObserverSchema = z18.looseObject({
|
|
962
|
+
observer_id: z18.number(),
|
|
963
|
+
observer_type: z18.string(),
|
|
964
|
+
last_updated: z18.string()
|
|
965
|
+
});
|
|
966
|
+
var MiningObserverEntrySchema = z18.looseObject({
|
|
967
|
+
character_id: z18.number(),
|
|
968
|
+
recorded_corporation_id: z18.number(),
|
|
969
|
+
type_id: z18.number(),
|
|
970
|
+
quantity: z18.number(),
|
|
971
|
+
last_updated: z18.string()
|
|
954
972
|
});
|
|
955
973
|
|
|
956
974
|
// src/schemas/insurance.ts
|
|
957
|
-
import { z as
|
|
958
|
-
var InsurancePriceSchema =
|
|
959
|
-
type_id:
|
|
960
|
-
levels:
|
|
961
|
-
|
|
962
|
-
cost:
|
|
963
|
-
payout:
|
|
964
|
-
name:
|
|
975
|
+
import { z as z19 } from "zod";
|
|
976
|
+
var InsurancePriceSchema = z19.looseObject({
|
|
977
|
+
type_id: z19.number(),
|
|
978
|
+
levels: z19.array(
|
|
979
|
+
z19.looseObject({
|
|
980
|
+
cost: z19.number(),
|
|
981
|
+
payout: z19.number(),
|
|
982
|
+
name: z19.string()
|
|
965
983
|
})
|
|
966
984
|
)
|
|
967
985
|
});
|
|
968
986
|
|
|
969
987
|
// src/schemas/killmails.ts
|
|
970
|
-
import { z as
|
|
971
|
-
var KillmailSummarySchema =
|
|
972
|
-
killmail_id:
|
|
973
|
-
killmail_hash:
|
|
974
|
-
});
|
|
975
|
-
var KillmailSchema =
|
|
976
|
-
killmail_id:
|
|
977
|
-
killmail_time:
|
|
978
|
-
solar_system_id:
|
|
979
|
-
moon_id:
|
|
980
|
-
war_id:
|
|
981
|
-
victim:
|
|
982
|
-
character_id:
|
|
983
|
-
corporation_id:
|
|
984
|
-
alliance_id:
|
|
985
|
-
faction_id:
|
|
986
|
-
ship_type_id:
|
|
987
|
-
damage_taken:
|
|
988
|
-
position:
|
|
989
|
-
x:
|
|
990
|
-
y:
|
|
991
|
-
z:
|
|
988
|
+
import { z as z20 } from "zod";
|
|
989
|
+
var KillmailSummarySchema = z20.looseObject({
|
|
990
|
+
killmail_id: z20.number(),
|
|
991
|
+
killmail_hash: z20.string()
|
|
992
|
+
});
|
|
993
|
+
var KillmailSchema = z20.looseObject({
|
|
994
|
+
killmail_id: z20.number(),
|
|
995
|
+
killmail_time: z20.string(),
|
|
996
|
+
solar_system_id: z20.number(),
|
|
997
|
+
moon_id: z20.number().optional(),
|
|
998
|
+
war_id: z20.number().optional(),
|
|
999
|
+
victim: z20.looseObject({
|
|
1000
|
+
character_id: z20.number().optional(),
|
|
1001
|
+
corporation_id: z20.number().optional(),
|
|
1002
|
+
alliance_id: z20.number().optional(),
|
|
1003
|
+
faction_id: z20.number().optional(),
|
|
1004
|
+
ship_type_id: z20.number(),
|
|
1005
|
+
damage_taken: z20.number(),
|
|
1006
|
+
position: z20.looseObject({
|
|
1007
|
+
x: z20.number(),
|
|
1008
|
+
y: z20.number(),
|
|
1009
|
+
z: z20.number()
|
|
992
1010
|
}).optional(),
|
|
993
|
-
items:
|
|
1011
|
+
items: z20.array(z20.unknown()).optional()
|
|
994
1012
|
}),
|
|
995
|
-
attackers:
|
|
996
|
-
|
|
997
|
-
character_id:
|
|
998
|
-
corporation_id:
|
|
999
|
-
alliance_id:
|
|
1000
|
-
faction_id:
|
|
1001
|
-
ship_type_id:
|
|
1002
|
-
weapon_type_id:
|
|
1003
|
-
damage_done:
|
|
1004
|
-
final_blow:
|
|
1005
|
-
security_status:
|
|
1013
|
+
attackers: z20.array(
|
|
1014
|
+
z20.looseObject({
|
|
1015
|
+
character_id: z20.number().optional(),
|
|
1016
|
+
corporation_id: z20.number().optional(),
|
|
1017
|
+
alliance_id: z20.number().optional(),
|
|
1018
|
+
faction_id: z20.number().optional(),
|
|
1019
|
+
ship_type_id: z20.number().optional(),
|
|
1020
|
+
weapon_type_id: z20.number().optional(),
|
|
1021
|
+
damage_done: z20.number(),
|
|
1022
|
+
final_blow: z20.boolean(),
|
|
1023
|
+
security_status: z20.number()
|
|
1006
1024
|
})
|
|
1007
1025
|
)
|
|
1008
1026
|
});
|
|
1009
1027
|
|
|
1010
1028
|
// src/schemas/location.ts
|
|
1011
|
-
import { z as
|
|
1012
|
-
var CharacterLocationSchema =
|
|
1013
|
-
solar_system_id:
|
|
1014
|
-
station_id:
|
|
1015
|
-
structure_id:
|
|
1016
|
-
});
|
|
1017
|
-
var CharacterOnlineSchema =
|
|
1018
|
-
online:
|
|
1019
|
-
last_login:
|
|
1020
|
-
last_logout:
|
|
1021
|
-
logins:
|
|
1022
|
-
});
|
|
1023
|
-
var CharacterShipSchema =
|
|
1024
|
-
ship_item_id:
|
|
1025
|
-
ship_name:
|
|
1026
|
-
ship_type_id:
|
|
1029
|
+
import { z as z21 } from "zod";
|
|
1030
|
+
var CharacterLocationSchema = z21.looseObject({
|
|
1031
|
+
solar_system_id: z21.number(),
|
|
1032
|
+
station_id: z21.number().optional(),
|
|
1033
|
+
structure_id: z21.number().optional()
|
|
1034
|
+
});
|
|
1035
|
+
var CharacterOnlineSchema = z21.looseObject({
|
|
1036
|
+
online: z21.boolean(),
|
|
1037
|
+
last_login: z21.string().optional(),
|
|
1038
|
+
last_logout: z21.string().optional(),
|
|
1039
|
+
logins: z21.number().optional()
|
|
1040
|
+
});
|
|
1041
|
+
var CharacterShipSchema = z21.looseObject({
|
|
1042
|
+
ship_item_id: z21.number(),
|
|
1043
|
+
ship_name: z21.string(),
|
|
1044
|
+
ship_type_id: z21.number()
|
|
1027
1045
|
});
|
|
1028
1046
|
|
|
1029
1047
|
// src/schemas/loyalty.ts
|
|
1030
|
-
import { z as
|
|
1031
|
-
var LoyaltyPointsSchema =
|
|
1032
|
-
corporation_id:
|
|
1033
|
-
loyalty_points:
|
|
1034
|
-
});
|
|
1035
|
-
var LoyaltyStoreOfferSchema =
|
|
1036
|
-
offer_id:
|
|
1037
|
-
type_id:
|
|
1038
|
-
quantity:
|
|
1039
|
-
lp_cost:
|
|
1040
|
-
isk_cost:
|
|
1041
|
-
ak_cost:
|
|
1042
|
-
required_items:
|
|
1043
|
-
|
|
1044
|
-
type_id:
|
|
1045
|
-
quantity:
|
|
1048
|
+
import { z as z22 } from "zod";
|
|
1049
|
+
var LoyaltyPointsSchema = z22.looseObject({
|
|
1050
|
+
corporation_id: z22.number(),
|
|
1051
|
+
loyalty_points: z22.number()
|
|
1052
|
+
});
|
|
1053
|
+
var LoyaltyStoreOfferSchema = z22.looseObject({
|
|
1054
|
+
offer_id: z22.number(),
|
|
1055
|
+
type_id: z22.number(),
|
|
1056
|
+
quantity: z22.number(),
|
|
1057
|
+
lp_cost: z22.number(),
|
|
1058
|
+
isk_cost: z22.number(),
|
|
1059
|
+
ak_cost: z22.number().optional(),
|
|
1060
|
+
required_items: z22.array(
|
|
1061
|
+
z22.looseObject({
|
|
1062
|
+
type_id: z22.number(),
|
|
1063
|
+
quantity: z22.number()
|
|
1046
1064
|
})
|
|
1047
1065
|
)
|
|
1048
1066
|
});
|
|
1049
1067
|
|
|
1050
1068
|
// src/schemas/mail.ts
|
|
1051
|
-
import { z as
|
|
1052
|
-
var MailMessageSchema =
|
|
1053
|
-
mail_id:
|
|
1054
|
-
subject:
|
|
1055
|
-
from:
|
|
1056
|
-
timestamp:
|
|
1057
|
-
labels:
|
|
1058
|
-
is_read:
|
|
1059
|
-
body:
|
|
1060
|
-
recipients:
|
|
1061
|
-
|
|
1062
|
-
recipient_id:
|
|
1063
|
-
recipient_type:
|
|
1069
|
+
import { z as z23 } from "zod";
|
|
1070
|
+
var MailMessageSchema = z23.looseObject({
|
|
1071
|
+
mail_id: z23.number().optional(),
|
|
1072
|
+
subject: z23.string().optional(),
|
|
1073
|
+
from: z23.number().optional(),
|
|
1074
|
+
timestamp: z23.string().optional(),
|
|
1075
|
+
labels: z23.array(z23.number()).optional(),
|
|
1076
|
+
is_read: z23.boolean().optional(),
|
|
1077
|
+
body: z23.string().optional(),
|
|
1078
|
+
recipients: z23.array(
|
|
1079
|
+
z23.looseObject({
|
|
1080
|
+
recipient_id: z23.number(),
|
|
1081
|
+
recipient_type: z23.enum([
|
|
1064
1082
|
"alliance",
|
|
1065
1083
|
"character",
|
|
1066
1084
|
"corporation",
|
|
@@ -1069,166 +1087,216 @@ var MailMessageSchema = z22.looseObject({
|
|
|
1069
1087
|
})
|
|
1070
1088
|
).optional()
|
|
1071
1089
|
});
|
|
1072
|
-
var MailLabelSchema =
|
|
1073
|
-
label_id:
|
|
1074
|
-
name:
|
|
1075
|
-
color:
|
|
1076
|
-
unread_count:
|
|
1090
|
+
var MailLabelSchema = z23.looseObject({
|
|
1091
|
+
label_id: z23.number(),
|
|
1092
|
+
name: z23.string(),
|
|
1093
|
+
color: z23.string().optional(),
|
|
1094
|
+
unread_count: z23.number().optional()
|
|
1077
1095
|
});
|
|
1078
|
-
var MailLabelsResponseSchema =
|
|
1079
|
-
labels:
|
|
1080
|
-
total_unread_count:
|
|
1096
|
+
var MailLabelsResponseSchema = z23.looseObject({
|
|
1097
|
+
labels: z23.array(MailLabelSchema).optional(),
|
|
1098
|
+
total_unread_count: z23.number().optional()
|
|
1081
1099
|
});
|
|
1082
|
-
var MailingListSchema =
|
|
1083
|
-
mailing_list_id:
|
|
1084
|
-
name:
|
|
1100
|
+
var MailingListSchema = z23.looseObject({
|
|
1101
|
+
mailing_list_id: z23.number(),
|
|
1102
|
+
name: z23.string()
|
|
1085
1103
|
});
|
|
1086
1104
|
|
|
1087
1105
|
// src/schemas/market.ts
|
|
1088
|
-
import { z as z23 } from "zod";
|
|
1089
|
-
var MarketOrderSchema = z23.looseObject({
|
|
1090
|
-
order_id: z23.number(),
|
|
1091
|
-
type_id: z23.number(),
|
|
1092
|
-
location_id: z23.number(),
|
|
1093
|
-
volume_total: z23.number(),
|
|
1094
|
-
volume_remain: z23.number(),
|
|
1095
|
-
min_volume: z23.number(),
|
|
1096
|
-
price: z23.number(),
|
|
1097
|
-
is_buy_order: z23.boolean(),
|
|
1098
|
-
system_id: z23.number(),
|
|
1099
|
-
duration: z23.number(),
|
|
1100
|
-
issued: z23.string(),
|
|
1101
|
-
range: z23.string()
|
|
1102
|
-
});
|
|
1103
|
-
var CharacterMarketOrderSchema = z23.looseObject({
|
|
1104
|
-
order_id: z23.number(),
|
|
1105
|
-
type_id: z23.number(),
|
|
1106
|
-
location_id: z23.number(),
|
|
1107
|
-
volume_total: z23.number(),
|
|
1108
|
-
volume_remain: z23.number(),
|
|
1109
|
-
min_volume: z23.number().optional(),
|
|
1110
|
-
price: z23.number(),
|
|
1111
|
-
is_buy_order: z23.boolean().optional(),
|
|
1112
|
-
is_corporation: z23.boolean(),
|
|
1113
|
-
region_id: z23.number(),
|
|
1114
|
-
duration: z23.number(),
|
|
1115
|
-
issued: z23.string(),
|
|
1116
|
-
range: z23.string(),
|
|
1117
|
-
escrow: z23.number().optional()
|
|
1118
|
-
});
|
|
1119
|
-
var CharacterMarketOrderHistorySchema = z23.looseObject({
|
|
1120
|
-
order_id: z23.number(),
|
|
1121
|
-
type_id: z23.number(),
|
|
1122
|
-
location_id: z23.number(),
|
|
1123
|
-
volume_total: z23.number(),
|
|
1124
|
-
volume_remain: z23.number(),
|
|
1125
|
-
min_volume: z23.number().optional(),
|
|
1126
|
-
price: z23.number(),
|
|
1127
|
-
is_buy_order: z23.boolean().optional(),
|
|
1128
|
-
is_corporation: z23.boolean(),
|
|
1129
|
-
region_id: z23.number(),
|
|
1130
|
-
duration: z23.number(),
|
|
1131
|
-
issued: z23.string(),
|
|
1132
|
-
range: z23.string(),
|
|
1133
|
-
state: z23.enum(["cancelled", "expired"]),
|
|
1134
|
-
escrow: z23.number().optional()
|
|
1135
|
-
});
|
|
1136
|
-
var CorporationMarketOrderSchema = z23.looseObject({
|
|
1137
|
-
order_id: z23.number(),
|
|
1138
|
-
type_id: z23.number(),
|
|
1139
|
-
location_id: z23.number(),
|
|
1140
|
-
volume_total: z23.number(),
|
|
1141
|
-
volume_remain: z23.number(),
|
|
1142
|
-
min_volume: z23.number().optional(),
|
|
1143
|
-
price: z23.number(),
|
|
1144
|
-
is_buy_order: z23.boolean().optional(),
|
|
1145
|
-
issued_by: z23.number(),
|
|
1146
|
-
region_id: z23.number(),
|
|
1147
|
-
wallet_division: z23.number(),
|
|
1148
|
-
duration: z23.number(),
|
|
1149
|
-
issued: z23.string(),
|
|
1150
|
-
range: z23.string(),
|
|
1151
|
-
escrow: z23.number().optional()
|
|
1152
|
-
});
|
|
1153
|
-
var CorporationMarketOrderHistorySchema = z23.looseObject({
|
|
1154
|
-
order_id: z23.number(),
|
|
1155
|
-
type_id: z23.number(),
|
|
1156
|
-
location_id: z23.number(),
|
|
1157
|
-
volume_total: z23.number(),
|
|
1158
|
-
volume_remain: z23.number(),
|
|
1159
|
-
min_volume: z23.number().optional(),
|
|
1160
|
-
price: z23.number(),
|
|
1161
|
-
is_buy_order: z23.boolean().optional(),
|
|
1162
|
-
issued_by: z23.number().optional(),
|
|
1163
|
-
region_id: z23.number(),
|
|
1164
|
-
wallet_division: z23.number(),
|
|
1165
|
-
duration: z23.number(),
|
|
1166
|
-
issued: z23.string(),
|
|
1167
|
-
range: z23.string(),
|
|
1168
|
-
state: z23.enum(["cancelled", "expired"]),
|
|
1169
|
-
escrow: z23.number().optional()
|
|
1170
|
-
});
|
|
1171
|
-
var StructureMarketOrderSchema = z23.looseObject({
|
|
1172
|
-
order_id: z23.number(),
|
|
1173
|
-
type_id: z23.number(),
|
|
1174
|
-
location_id: z23.number(),
|
|
1175
|
-
volume_total: z23.number(),
|
|
1176
|
-
volume_remain: z23.number(),
|
|
1177
|
-
min_volume: z23.number(),
|
|
1178
|
-
price: z23.number(),
|
|
1179
|
-
is_buy_order: z23.boolean(),
|
|
1180
|
-
duration: z23.number(),
|
|
1181
|
-
issued: z23.string(),
|
|
1182
|
-
range: z23.string()
|
|
1183
|
-
});
|
|
1184
|
-
var MarketHistorySchema = z23.looseObject({
|
|
1185
|
-
date: z23.string(),
|
|
1186
|
-
order_count: z23.number(),
|
|
1187
|
-
volume: z23.number(),
|
|
1188
|
-
highest: z23.number(),
|
|
1189
|
-
average: z23.number(),
|
|
1190
|
-
lowest: z23.number()
|
|
1191
|
-
});
|
|
1192
|
-
var MarketGroupSchema = z23.looseObject({
|
|
1193
|
-
market_group_id: z23.number(),
|
|
1194
|
-
name: z23.string(),
|
|
1195
|
-
description: z23.string(),
|
|
1196
|
-
types: z23.array(z23.number()),
|
|
1197
|
-
parent_group_id: z23.number().optional()
|
|
1198
|
-
});
|
|
1199
|
-
var MarketPriceSchema = z23.looseObject({
|
|
1200
|
-
type_id: z23.number(),
|
|
1201
|
-
average_price: z23.number().optional(),
|
|
1202
|
-
adjusted_price: z23.number().optional()
|
|
1203
|
-
});
|
|
1204
|
-
|
|
1205
|
-
// src/schemas/mercenary.ts
|
|
1206
1106
|
import { z as z24 } from "zod";
|
|
1207
|
-
var
|
|
1208
|
-
|
|
1107
|
+
var MarketOrderSchema = z24.looseObject({
|
|
1108
|
+
order_id: z24.number(),
|
|
1109
|
+
type_id: z24.number(),
|
|
1110
|
+
location_id: z24.number(),
|
|
1111
|
+
volume_total: z24.number(),
|
|
1112
|
+
volume_remain: z24.number(),
|
|
1113
|
+
min_volume: z24.number(),
|
|
1114
|
+
price: z24.number(),
|
|
1115
|
+
is_buy_order: z24.boolean(),
|
|
1209
1116
|
system_id: z24.number(),
|
|
1210
|
-
|
|
1117
|
+
duration: z24.number(),
|
|
1118
|
+
issued: z24.string(),
|
|
1119
|
+
range: z24.string()
|
|
1120
|
+
});
|
|
1121
|
+
var CharacterMarketOrderSchema = z24.looseObject({
|
|
1122
|
+
order_id: z24.number(),
|
|
1123
|
+
type_id: z24.number(),
|
|
1124
|
+
location_id: z24.number(),
|
|
1125
|
+
volume_total: z24.number(),
|
|
1126
|
+
volume_remain: z24.number(),
|
|
1127
|
+
min_volume: z24.number().optional(),
|
|
1128
|
+
price: z24.number(),
|
|
1129
|
+
is_buy_order: z24.boolean().optional(),
|
|
1130
|
+
is_corporation: z24.boolean(),
|
|
1131
|
+
region_id: z24.number(),
|
|
1132
|
+
duration: z24.number(),
|
|
1133
|
+
issued: z24.string(),
|
|
1134
|
+
range: z24.string(),
|
|
1135
|
+
escrow: z24.number().optional()
|
|
1136
|
+
});
|
|
1137
|
+
var CharacterMarketOrderHistorySchema = z24.looseObject({
|
|
1138
|
+
order_id: z24.number(),
|
|
1139
|
+
type_id: z24.number(),
|
|
1140
|
+
location_id: z24.number(),
|
|
1141
|
+
volume_total: z24.number(),
|
|
1142
|
+
volume_remain: z24.number(),
|
|
1143
|
+
min_volume: z24.number().optional(),
|
|
1144
|
+
price: z24.number(),
|
|
1145
|
+
is_buy_order: z24.boolean().optional(),
|
|
1146
|
+
is_corporation: z24.boolean(),
|
|
1147
|
+
region_id: z24.number(),
|
|
1148
|
+
duration: z24.number(),
|
|
1149
|
+
issued: z24.string(),
|
|
1150
|
+
range: z24.string(),
|
|
1151
|
+
state: z24.enum(["cancelled", "expired"]),
|
|
1152
|
+
escrow: z24.number().optional()
|
|
1153
|
+
});
|
|
1154
|
+
var CorporationMarketOrderSchema = z24.looseObject({
|
|
1155
|
+
order_id: z24.number(),
|
|
1156
|
+
type_id: z24.number(),
|
|
1157
|
+
location_id: z24.number(),
|
|
1158
|
+
volume_total: z24.number(),
|
|
1159
|
+
volume_remain: z24.number(),
|
|
1160
|
+
min_volume: z24.number().optional(),
|
|
1161
|
+
price: z24.number(),
|
|
1162
|
+
is_buy_order: z24.boolean().optional(),
|
|
1163
|
+
issued_by: z24.number(),
|
|
1164
|
+
region_id: z24.number(),
|
|
1165
|
+
wallet_division: z24.number(),
|
|
1166
|
+
duration: z24.number(),
|
|
1167
|
+
issued: z24.string(),
|
|
1168
|
+
range: z24.string(),
|
|
1169
|
+
escrow: z24.number().optional()
|
|
1170
|
+
});
|
|
1171
|
+
var CorporationMarketOrderHistorySchema = z24.looseObject({
|
|
1172
|
+
order_id: z24.number(),
|
|
1173
|
+
type_id: z24.number(),
|
|
1174
|
+
location_id: z24.number(),
|
|
1175
|
+
volume_total: z24.number(),
|
|
1176
|
+
volume_remain: z24.number(),
|
|
1177
|
+
min_volume: z24.number().optional(),
|
|
1178
|
+
price: z24.number(),
|
|
1179
|
+
is_buy_order: z24.boolean().optional(),
|
|
1180
|
+
issued_by: z24.number().optional(),
|
|
1211
1181
|
region_id: z24.number(),
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1182
|
+
wallet_division: z24.number(),
|
|
1183
|
+
duration: z24.number(),
|
|
1184
|
+
issued: z24.string(),
|
|
1185
|
+
range: z24.string(),
|
|
1186
|
+
state: z24.enum(["cancelled", "expired"]),
|
|
1187
|
+
escrow: z24.number().optional()
|
|
1188
|
+
});
|
|
1189
|
+
var StructureMarketOrderSchema = z24.looseObject({
|
|
1190
|
+
order_id: z24.number(),
|
|
1191
|
+
type_id: z24.number(),
|
|
1192
|
+
location_id: z24.number(),
|
|
1193
|
+
volume_total: z24.number(),
|
|
1194
|
+
volume_remain: z24.number(),
|
|
1195
|
+
min_volume: z24.number(),
|
|
1196
|
+
price: z24.number(),
|
|
1197
|
+
is_buy_order: z24.boolean(),
|
|
1198
|
+
duration: z24.number(),
|
|
1199
|
+
issued: z24.string(),
|
|
1200
|
+
range: z24.string()
|
|
1201
|
+
});
|
|
1202
|
+
var MarketHistorySchema = z24.looseObject({
|
|
1203
|
+
date: z24.string(),
|
|
1204
|
+
order_count: z24.number(),
|
|
1205
|
+
volume: z24.number(),
|
|
1206
|
+
highest: z24.number(),
|
|
1207
|
+
average: z24.number(),
|
|
1208
|
+
lowest: z24.number()
|
|
1209
|
+
});
|
|
1210
|
+
var MarketGroupSchema = z24.looseObject({
|
|
1211
|
+
market_group_id: z24.number(),
|
|
1212
|
+
name: z24.string(),
|
|
1213
|
+
description: z24.string(),
|
|
1214
|
+
types: z24.array(z24.number()),
|
|
1215
|
+
parent_group_id: z24.number().optional()
|
|
1216
|
+
});
|
|
1217
|
+
var MarketPriceSchema = z24.looseObject({
|
|
1218
|
+
type_id: z24.number(),
|
|
1219
|
+
average_price: z24.number().optional(),
|
|
1220
|
+
adjusted_price: z24.number().optional()
|
|
1215
1221
|
});
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1222
|
+
|
|
1223
|
+
// src/schemas/mercenary.ts
|
|
1224
|
+
import { z as z25 } from "zod";
|
|
1225
|
+
var MercenaryDenSchema = z25.looseObject({
|
|
1226
|
+
den_id: z25.number(),
|
|
1227
|
+
system_id: z25.number(),
|
|
1228
|
+
constellation_id: z25.number(),
|
|
1229
|
+
region_id: z25.number(),
|
|
1230
|
+
development_level: z25.number().optional(),
|
|
1231
|
+
anarchy_level: z25.number().optional(),
|
|
1232
|
+
active_operations: z25.number().optional()
|
|
1233
|
+
});
|
|
1234
|
+
var MercenaryTacticalOperationSchema = z25.looseObject({
|
|
1235
|
+
operation_id: z25.number(),
|
|
1236
|
+
den_id: z25.number(),
|
|
1237
|
+
system_id: z25.number(),
|
|
1238
|
+
site_type: z25.string(),
|
|
1239
|
+
status: z25.enum(["spawning", "active", "completed", "expired"]),
|
|
1240
|
+
started_at: z25.string().optional(),
|
|
1241
|
+
expires_at: z25.string().optional()
|
|
1242
|
+
});
|
|
1243
|
+
|
|
1244
|
+
// src/schemas/meta.ts
|
|
1245
|
+
import { z as z26 } from "zod";
|
|
1246
|
+
var MetaChangelogEntrySchema = z26.looseObject({
|
|
1247
|
+
method: z26.string(),
|
|
1248
|
+
path: z26.string(),
|
|
1249
|
+
compatibility_date: z26.string(),
|
|
1250
|
+
is_breaking: z26.boolean(),
|
|
1251
|
+
description: z26.string()
|
|
1252
|
+
});
|
|
1253
|
+
var MetaChangelogSchema = z26.record(
|
|
1254
|
+
z26.string(),
|
|
1255
|
+
z26.array(MetaChangelogEntrySchema)
|
|
1256
|
+
);
|
|
1257
|
+
var MetaCompatibilityDatesSchema = z26.looseObject({
|
|
1258
|
+
compatibility_dates: z26.array(z26.string())
|
|
1259
|
+
});
|
|
1260
|
+
var MetaNameSchema = z26.looseObject({
|
|
1261
|
+
name: z26.string()
|
|
1262
|
+
});
|
|
1263
|
+
var MetaStatusSchema = z26.looseObject({
|
|
1264
|
+
status: z26.string()
|
|
1265
|
+
});
|
|
1266
|
+
|
|
1267
|
+
// src/schemas/military-campaigns.ts
|
|
1268
|
+
import { z as z27 } from "zod";
|
|
1269
|
+
var MilitaryCampaignSchema = z27.looseObject({
|
|
1270
|
+
campaign_id: z27.string(),
|
|
1271
|
+
state: z27.string(),
|
|
1272
|
+
progress: z27.number(),
|
|
1273
|
+
start_time: z27.string(),
|
|
1274
|
+
finish_time: z27.string().optional()
|
|
1275
|
+
});
|
|
1276
|
+
var MilitaryCampaignObjectiveSchema = z27.looseObject({
|
|
1277
|
+
objective_id: z27.string(),
|
|
1278
|
+
campaign_id: z27.string(),
|
|
1279
|
+
state: z27.string(),
|
|
1280
|
+
progress: z27.number(),
|
|
1281
|
+
participants: z27.looseObject({
|
|
1282
|
+
total: z27.number(),
|
|
1283
|
+
committed: z27.number(),
|
|
1284
|
+
contributors: z27.number()
|
|
1285
|
+
})
|
|
1286
|
+
});
|
|
1287
|
+
var CharacterMilitaryCampaignObjectiveSchema = z27.looseObject({
|
|
1288
|
+
objective_id: z27.string(),
|
|
1289
|
+
campaign_id: z27.string(),
|
|
1290
|
+
committed: z27.boolean(),
|
|
1291
|
+
contribution: z27.number()
|
|
1224
1292
|
});
|
|
1225
1293
|
|
|
1226
1294
|
// src/schemas/pi.ts
|
|
1227
|
-
import { z as
|
|
1228
|
-
var PlanetaryColonySchema =
|
|
1229
|
-
solar_system_id:
|
|
1230
|
-
planet_id:
|
|
1231
|
-
planet_type:
|
|
1295
|
+
import { z as z28 } from "zod";
|
|
1296
|
+
var PlanetaryColonySchema = z28.looseObject({
|
|
1297
|
+
solar_system_id: z28.number(),
|
|
1298
|
+
planet_id: z28.number(),
|
|
1299
|
+
planet_type: z28.enum([
|
|
1232
1300
|
"temperate",
|
|
1233
1301
|
"barren",
|
|
1234
1302
|
"oceanic",
|
|
@@ -1238,442 +1306,442 @@ var PlanetaryColonySchema = z25.looseObject({
|
|
|
1238
1306
|
"storm",
|
|
1239
1307
|
"plasma"
|
|
1240
1308
|
]),
|
|
1241
|
-
owner_id:
|
|
1242
|
-
last_update:
|
|
1243
|
-
upgrade_level:
|
|
1244
|
-
num_pins:
|
|
1245
|
-
});
|
|
1246
|
-
var CustomsOfficeSchema =
|
|
1247
|
-
office_id:
|
|
1248
|
-
system_id:
|
|
1249
|
-
reinforce_exit_start:
|
|
1250
|
-
reinforce_exit_end:
|
|
1251
|
-
allow_access_with_standings:
|
|
1252
|
-
allow_alliance_access:
|
|
1253
|
-
alliance_tax_rate:
|
|
1254
|
-
corporation_tax_rate:
|
|
1255
|
-
standing_level:
|
|
1256
|
-
terrible_standing_tax_rate:
|
|
1257
|
-
bad_standing_tax_rate:
|
|
1258
|
-
neutral_standing_tax_rate:
|
|
1259
|
-
good_standing_tax_rate:
|
|
1260
|
-
excellent_standing_tax_rate:
|
|
1261
|
-
type_id:
|
|
1262
|
-
});
|
|
1263
|
-
var ColonyLayoutSchema =
|
|
1264
|
-
links:
|
|
1265
|
-
|
|
1266
|
-
source_pin_id:
|
|
1267
|
-
destination_pin_id:
|
|
1268
|
-
link_level:
|
|
1309
|
+
owner_id: z28.number(),
|
|
1310
|
+
last_update: z28.string(),
|
|
1311
|
+
upgrade_level: z28.number(),
|
|
1312
|
+
num_pins: z28.number()
|
|
1313
|
+
});
|
|
1314
|
+
var CustomsOfficeSchema = z28.looseObject({
|
|
1315
|
+
office_id: z28.number(),
|
|
1316
|
+
system_id: z28.number(),
|
|
1317
|
+
reinforce_exit_start: z28.number(),
|
|
1318
|
+
reinforce_exit_end: z28.number(),
|
|
1319
|
+
allow_access_with_standings: z28.boolean().optional(),
|
|
1320
|
+
allow_alliance_access: z28.boolean().optional(),
|
|
1321
|
+
alliance_tax_rate: z28.number().optional(),
|
|
1322
|
+
corporation_tax_rate: z28.number().optional(),
|
|
1323
|
+
standing_level: z28.string().optional(),
|
|
1324
|
+
terrible_standing_tax_rate: z28.number().optional(),
|
|
1325
|
+
bad_standing_tax_rate: z28.number().optional(),
|
|
1326
|
+
neutral_standing_tax_rate: z28.number().optional(),
|
|
1327
|
+
good_standing_tax_rate: z28.number().optional(),
|
|
1328
|
+
excellent_standing_tax_rate: z28.number().optional(),
|
|
1329
|
+
type_id: z28.number().optional()
|
|
1330
|
+
});
|
|
1331
|
+
var ColonyLayoutSchema = z28.looseObject({
|
|
1332
|
+
links: z28.array(
|
|
1333
|
+
z28.looseObject({
|
|
1334
|
+
source_pin_id: z28.number(),
|
|
1335
|
+
destination_pin_id: z28.number(),
|
|
1336
|
+
link_level: z28.number()
|
|
1269
1337
|
})
|
|
1270
1338
|
),
|
|
1271
|
-
pins:
|
|
1272
|
-
|
|
1273
|
-
pin_id:
|
|
1274
|
-
type_id:
|
|
1275
|
-
latitude:
|
|
1276
|
-
longitude:
|
|
1277
|
-
schematic_id:
|
|
1278
|
-
extractor_details:
|
|
1279
|
-
heads:
|
|
1280
|
-
|
|
1281
|
-
head_id:
|
|
1282
|
-
latitude:
|
|
1283
|
-
longitude:
|
|
1339
|
+
pins: z28.array(
|
|
1340
|
+
z28.looseObject({
|
|
1341
|
+
pin_id: z28.number(),
|
|
1342
|
+
type_id: z28.number(),
|
|
1343
|
+
latitude: z28.number(),
|
|
1344
|
+
longitude: z28.number(),
|
|
1345
|
+
schematic_id: z28.number().optional(),
|
|
1346
|
+
extractor_details: z28.looseObject({
|
|
1347
|
+
heads: z28.array(
|
|
1348
|
+
z28.looseObject({
|
|
1349
|
+
head_id: z28.number(),
|
|
1350
|
+
latitude: z28.number(),
|
|
1351
|
+
longitude: z28.number()
|
|
1284
1352
|
})
|
|
1285
1353
|
),
|
|
1286
|
-
product_type_id:
|
|
1287
|
-
cycle_time:
|
|
1288
|
-
head_radius:
|
|
1289
|
-
qty_per_cycle:
|
|
1354
|
+
product_type_id: z28.number().optional(),
|
|
1355
|
+
cycle_time: z28.number().optional(),
|
|
1356
|
+
head_radius: z28.number().optional(),
|
|
1357
|
+
qty_per_cycle: z28.number().optional()
|
|
1290
1358
|
}).optional(),
|
|
1291
|
-
factory_details:
|
|
1292
|
-
schematic_id:
|
|
1359
|
+
factory_details: z28.looseObject({
|
|
1360
|
+
schematic_id: z28.number()
|
|
1293
1361
|
}).optional(),
|
|
1294
|
-
contents:
|
|
1295
|
-
|
|
1296
|
-
type_id:
|
|
1297
|
-
amount:
|
|
1362
|
+
contents: z28.array(
|
|
1363
|
+
z28.looseObject({
|
|
1364
|
+
type_id: z28.number(),
|
|
1365
|
+
amount: z28.number()
|
|
1298
1366
|
})
|
|
1299
1367
|
).optional(),
|
|
1300
|
-
install_time:
|
|
1301
|
-
expiry_time:
|
|
1302
|
-
last_cycle_start:
|
|
1368
|
+
install_time: z28.string().optional(),
|
|
1369
|
+
expiry_time: z28.string().optional(),
|
|
1370
|
+
last_cycle_start: z28.string().optional()
|
|
1303
1371
|
})
|
|
1304
1372
|
),
|
|
1305
|
-
routes:
|
|
1306
|
-
|
|
1307
|
-
route_id:
|
|
1308
|
-
source_pin_id:
|
|
1309
|
-
destination_pin_id:
|
|
1310
|
-
content_type_id:
|
|
1311
|
-
quantity:
|
|
1312
|
-
waypoints:
|
|
1373
|
+
routes: z28.array(
|
|
1374
|
+
z28.looseObject({
|
|
1375
|
+
route_id: z28.number(),
|
|
1376
|
+
source_pin_id: z28.number(),
|
|
1377
|
+
destination_pin_id: z28.number(),
|
|
1378
|
+
content_type_id: z28.number(),
|
|
1379
|
+
quantity: z28.number(),
|
|
1380
|
+
waypoints: z28.array(z28.number()).optional()
|
|
1313
1381
|
})
|
|
1314
1382
|
)
|
|
1315
1383
|
});
|
|
1316
1384
|
|
|
1317
1385
|
// src/schemas/skills.ts
|
|
1318
|
-
import { z as
|
|
1319
|
-
var CharacterSkillSchema =
|
|
1320
|
-
skill_id:
|
|
1321
|
-
skillpoints_in_skill:
|
|
1322
|
-
trained_skill_level:
|
|
1323
|
-
active_skill_level:
|
|
1324
|
-
});
|
|
1325
|
-
var CharacterSkillsResponseSchema =
|
|
1326
|
-
skills:
|
|
1327
|
-
|
|
1328
|
-
skill_id:
|
|
1329
|
-
skillpoints_in_skill:
|
|
1330
|
-
trained_skill_level:
|
|
1331
|
-
active_skill_level:
|
|
1386
|
+
import { z as z29 } from "zod";
|
|
1387
|
+
var CharacterSkillSchema = z29.looseObject({
|
|
1388
|
+
skill_id: z29.number(),
|
|
1389
|
+
skillpoints_in_skill: z29.number(),
|
|
1390
|
+
trained_skill_level: z29.number(),
|
|
1391
|
+
active_skill_level: z29.number()
|
|
1392
|
+
});
|
|
1393
|
+
var CharacterSkillsResponseSchema = z29.looseObject({
|
|
1394
|
+
skills: z29.array(
|
|
1395
|
+
z29.looseObject({
|
|
1396
|
+
skill_id: z29.number(),
|
|
1397
|
+
skillpoints_in_skill: z29.number(),
|
|
1398
|
+
trained_skill_level: z29.number(),
|
|
1399
|
+
active_skill_level: z29.number()
|
|
1332
1400
|
})
|
|
1333
1401
|
),
|
|
1334
|
-
total_sp:
|
|
1335
|
-
unallocated_sp:
|
|
1336
|
-
});
|
|
1337
|
-
var SkillQueueSchema =
|
|
1338
|
-
skill_id:
|
|
1339
|
-
finished_level:
|
|
1340
|
-
queue_position:
|
|
1341
|
-
level_end_sp:
|
|
1342
|
-
level_start_sp:
|
|
1343
|
-
training_start_sp:
|
|
1344
|
-
start_date:
|
|
1345
|
-
finish_date:
|
|
1402
|
+
total_sp: z29.number(),
|
|
1403
|
+
unallocated_sp: z29.number().optional()
|
|
1404
|
+
});
|
|
1405
|
+
var SkillQueueSchema = z29.looseObject({
|
|
1406
|
+
skill_id: z29.number(),
|
|
1407
|
+
finished_level: z29.number(),
|
|
1408
|
+
queue_position: z29.number(),
|
|
1409
|
+
level_end_sp: z29.number().optional(),
|
|
1410
|
+
level_start_sp: z29.number().optional(),
|
|
1411
|
+
training_start_sp: z29.number().optional(),
|
|
1412
|
+
start_date: z29.string().optional(),
|
|
1413
|
+
finish_date: z29.string().optional()
|
|
1346
1414
|
});
|
|
1347
1415
|
|
|
1348
1416
|
// src/schemas/skyhooks.ts
|
|
1349
|
-
import { z as
|
|
1350
|
-
var SovereigntyHubSchema =
|
|
1351
|
-
structure_id:
|
|
1352
|
-
system_id:
|
|
1353
|
-
corporation_id:
|
|
1354
|
-
alliance_id:
|
|
1355
|
-
online:
|
|
1356
|
-
remaining_reagents:
|
|
1357
|
-
installed_upgrades:
|
|
1358
|
-
});
|
|
1359
|
-
var OrbitalSkyhookSchema =
|
|
1360
|
-
structure_id:
|
|
1361
|
-
system_id:
|
|
1362
|
-
corporation_id:
|
|
1363
|
-
alliance_id:
|
|
1364
|
-
online:
|
|
1365
|
-
reagent_silo_capacity:
|
|
1366
|
-
reagent_silo_level:
|
|
1367
|
-
});
|
|
1368
|
-
var RaidableSkyhookSchema =
|
|
1369
|
-
structure_id:
|
|
1370
|
-
system_id:
|
|
1371
|
-
corporation_id:
|
|
1372
|
-
alliance_id:
|
|
1373
|
-
raidable_at:
|
|
1374
|
-
is_raidable:
|
|
1417
|
+
import { z as z30 } from "zod";
|
|
1418
|
+
var SovereigntyHubSchema = z30.looseObject({
|
|
1419
|
+
structure_id: z30.number(),
|
|
1420
|
+
system_id: z30.number(),
|
|
1421
|
+
corporation_id: z30.number(),
|
|
1422
|
+
alliance_id: z30.number().optional(),
|
|
1423
|
+
online: z30.boolean(),
|
|
1424
|
+
remaining_reagents: z30.number().optional(),
|
|
1425
|
+
installed_upgrades: z30.array(z30.number()).optional()
|
|
1426
|
+
});
|
|
1427
|
+
var OrbitalSkyhookSchema = z30.looseObject({
|
|
1428
|
+
structure_id: z30.number(),
|
|
1429
|
+
system_id: z30.number(),
|
|
1430
|
+
corporation_id: z30.number(),
|
|
1431
|
+
alliance_id: z30.number().optional(),
|
|
1432
|
+
online: z30.boolean(),
|
|
1433
|
+
reagent_silo_capacity: z30.number().optional(),
|
|
1434
|
+
reagent_silo_level: z30.number().optional()
|
|
1435
|
+
});
|
|
1436
|
+
var RaidableSkyhookSchema = z30.looseObject({
|
|
1437
|
+
structure_id: z30.number(),
|
|
1438
|
+
system_id: z30.number(),
|
|
1439
|
+
corporation_id: z30.number(),
|
|
1440
|
+
alliance_id: z30.number().optional(),
|
|
1441
|
+
raidable_at: z30.string().optional(),
|
|
1442
|
+
is_raidable: z30.boolean()
|
|
1375
1443
|
});
|
|
1376
1444
|
|
|
1377
1445
|
// src/schemas/sovereignty.ts
|
|
1378
|
-
import { z as
|
|
1379
|
-
var SovereigntyCampaignSchema =
|
|
1380
|
-
campaign_id:
|
|
1381
|
-
structure_id:
|
|
1382
|
-
solar_system_id:
|
|
1383
|
-
constellation_id:
|
|
1384
|
-
event_type:
|
|
1446
|
+
import { z as z31 } from "zod";
|
|
1447
|
+
var SovereigntyCampaignSchema = z31.looseObject({
|
|
1448
|
+
campaign_id: z31.number(),
|
|
1449
|
+
structure_id: z31.number(),
|
|
1450
|
+
solar_system_id: z31.number(),
|
|
1451
|
+
constellation_id: z31.number(),
|
|
1452
|
+
event_type: z31.enum([
|
|
1385
1453
|
"tcu_defense",
|
|
1386
1454
|
"ihub_defense",
|
|
1387
1455
|
"station_defense",
|
|
1388
1456
|
"station_freeport"
|
|
1389
1457
|
]),
|
|
1390
|
-
start_time:
|
|
1391
|
-
defender_id:
|
|
1392
|
-
defender_score:
|
|
1393
|
-
attackers_score:
|
|
1394
|
-
participants:
|
|
1395
|
-
|
|
1396
|
-
alliance_id:
|
|
1397
|
-
score:
|
|
1458
|
+
start_time: z31.string(),
|
|
1459
|
+
defender_id: z31.number().optional(),
|
|
1460
|
+
defender_score: z31.number().optional(),
|
|
1461
|
+
attackers_score: z31.number().optional(),
|
|
1462
|
+
participants: z31.array(
|
|
1463
|
+
z31.looseObject({
|
|
1464
|
+
alliance_id: z31.number(),
|
|
1465
|
+
score: z31.number()
|
|
1398
1466
|
})
|
|
1399
1467
|
).optional()
|
|
1400
1468
|
});
|
|
1401
|
-
var SovereigntySystemStructureSchema =
|
|
1402
|
-
alliance_id:
|
|
1403
|
-
solar_system_id:
|
|
1404
|
-
structure_id:
|
|
1405
|
-
structure_type_id:
|
|
1406
|
-
vulnerability_occupancy_level:
|
|
1407
|
-
vulnerable_start_time:
|
|
1408
|
-
vulnerable_end_time:
|
|
1409
|
-
});
|
|
1410
|
-
var SovereigntyVulnerabilityWindowSchema =
|
|
1411
|
-
start:
|
|
1412
|
-
end:
|
|
1413
|
-
});
|
|
1414
|
-
var SovereigntyHubSchema2 =
|
|
1415
|
-
id:
|
|
1469
|
+
var SovereigntySystemStructureSchema = z31.looseObject({
|
|
1470
|
+
alliance_id: z31.number().optional(),
|
|
1471
|
+
solar_system_id: z31.number().optional(),
|
|
1472
|
+
structure_id: z31.number(),
|
|
1473
|
+
structure_type_id: z31.number(),
|
|
1474
|
+
vulnerability_occupancy_level: z31.number().optional(),
|
|
1475
|
+
vulnerable_start_time: z31.string().optional(),
|
|
1476
|
+
vulnerable_end_time: z31.string().optional()
|
|
1477
|
+
});
|
|
1478
|
+
var SovereigntyVulnerabilityWindowSchema = z31.looseObject({
|
|
1479
|
+
start: z31.string(),
|
|
1480
|
+
end: z31.string()
|
|
1481
|
+
});
|
|
1482
|
+
var SovereigntyHubSchema2 = z31.looseObject({
|
|
1483
|
+
id: z31.number(),
|
|
1416
1484
|
vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
|
|
1417
1485
|
});
|
|
1418
|
-
var SovereigntyDevelopmentSchema =
|
|
1419
|
-
activity_defense_multiplier:
|
|
1420
|
-
military_level:
|
|
1421
|
-
industrial_level:
|
|
1422
|
-
strategic_level:
|
|
1486
|
+
var SovereigntyDevelopmentSchema = z31.looseObject({
|
|
1487
|
+
activity_defense_multiplier: z31.number().optional(),
|
|
1488
|
+
military_level: z31.number().optional(),
|
|
1489
|
+
industrial_level: z31.number().optional(),
|
|
1490
|
+
strategic_level: z31.number().optional()
|
|
1423
1491
|
});
|
|
1424
|
-
var SovereigntyAllianceClaimSchema =
|
|
1425
|
-
alliance_id:
|
|
1426
|
-
corporation_id:
|
|
1427
|
-
claimed_since:
|
|
1492
|
+
var SovereigntyAllianceClaimSchema = z31.looseObject({
|
|
1493
|
+
alliance_id: z31.number(),
|
|
1494
|
+
corporation_id: z31.number().optional(),
|
|
1495
|
+
claimed_since: z31.string().optional(),
|
|
1428
1496
|
sovereignty_hub: SovereigntyHubSchema2.optional(),
|
|
1429
|
-
is_capital_system:
|
|
1497
|
+
is_capital_system: z31.boolean().optional(),
|
|
1430
1498
|
development: SovereigntyDevelopmentSchema.optional()
|
|
1431
1499
|
});
|
|
1432
|
-
var SovereigntyFactionClaimSchema =
|
|
1433
|
-
faction_id:
|
|
1500
|
+
var SovereigntyFactionClaimSchema = z31.looseObject({
|
|
1501
|
+
faction_id: z31.number()
|
|
1434
1502
|
});
|
|
1435
|
-
var SovereigntyClaimSchema =
|
|
1503
|
+
var SovereigntyClaimSchema = z31.looseObject({
|
|
1436
1504
|
alliance: SovereigntyAllianceClaimSchema.optional(),
|
|
1437
1505
|
faction: SovereigntyFactionClaimSchema.optional(),
|
|
1438
|
-
unclaimed:
|
|
1506
|
+
unclaimed: z31.boolean().optional()
|
|
1439
1507
|
});
|
|
1440
|
-
var SovereigntySystemEntrySchema =
|
|
1441
|
-
solar_system_id:
|
|
1508
|
+
var SovereigntySystemEntrySchema = z31.looseObject({
|
|
1509
|
+
solar_system_id: z31.number(),
|
|
1442
1510
|
claim: SovereigntyClaimSchema
|
|
1443
1511
|
});
|
|
1444
|
-
var SovereigntySystemSchema =
|
|
1445
|
-
solar_systems:
|
|
1512
|
+
var SovereigntySystemSchema = z31.looseObject({
|
|
1513
|
+
solar_systems: z31.array(SovereigntySystemEntrySchema)
|
|
1446
1514
|
});
|
|
1447
1515
|
|
|
1448
1516
|
// src/schemas/status.ts
|
|
1449
|
-
import { z as
|
|
1450
|
-
var ServerStatusSchema =
|
|
1451
|
-
players:
|
|
1452
|
-
server_version:
|
|
1453
|
-
start_time:
|
|
1454
|
-
vip:
|
|
1517
|
+
import { z as z32 } from "zod";
|
|
1518
|
+
var ServerStatusSchema = z32.looseObject({
|
|
1519
|
+
players: z32.number(),
|
|
1520
|
+
server_version: z32.string(),
|
|
1521
|
+
start_time: z32.string(),
|
|
1522
|
+
vip: z32.boolean().optional()
|
|
1455
1523
|
});
|
|
1456
1524
|
|
|
1457
1525
|
// src/schemas/universe.ts
|
|
1458
|
-
import { z as
|
|
1459
|
-
var PositionSchema =
|
|
1460
|
-
x:
|
|
1461
|
-
y:
|
|
1462
|
-
z:
|
|
1463
|
-
});
|
|
1464
|
-
var SolarSystemInfoSchema =
|
|
1465
|
-
system_id:
|
|
1466
|
-
name:
|
|
1467
|
-
constellation_id:
|
|
1526
|
+
import { z as z33 } from "zod";
|
|
1527
|
+
var PositionSchema = z33.looseObject({
|
|
1528
|
+
x: z33.number(),
|
|
1529
|
+
y: z33.number(),
|
|
1530
|
+
z: z33.number()
|
|
1531
|
+
});
|
|
1532
|
+
var SolarSystemInfoSchema = z33.looseObject({
|
|
1533
|
+
system_id: z33.number(),
|
|
1534
|
+
name: z33.string(),
|
|
1535
|
+
constellation_id: z33.number(),
|
|
1468
1536
|
position: PositionSchema.optional(),
|
|
1469
|
-
security_class:
|
|
1470
|
-
security_status:
|
|
1471
|
-
star_id:
|
|
1472
|
-
stargates:
|
|
1473
|
-
stations:
|
|
1474
|
-
planets:
|
|
1475
|
-
|
|
1476
|
-
asteroid_belts:
|
|
1477
|
-
moons:
|
|
1478
|
-
planet_id:
|
|
1537
|
+
security_class: z33.string().optional(),
|
|
1538
|
+
security_status: z33.number(),
|
|
1539
|
+
star_id: z33.number().optional(),
|
|
1540
|
+
stargates: z33.array(z33.number()).optional(),
|
|
1541
|
+
stations: z33.array(z33.number()).optional(),
|
|
1542
|
+
planets: z33.array(
|
|
1543
|
+
z33.looseObject({
|
|
1544
|
+
asteroid_belts: z33.array(z33.number()).optional(),
|
|
1545
|
+
moons: z33.array(z33.number()).optional(),
|
|
1546
|
+
planet_id: z33.number()
|
|
1479
1547
|
})
|
|
1480
1548
|
).optional()
|
|
1481
1549
|
});
|
|
1482
|
-
var ConstellationInfoSchema =
|
|
1483
|
-
constellation_id:
|
|
1484
|
-
name:
|
|
1485
|
-
region_id:
|
|
1486
|
-
systems:
|
|
1550
|
+
var ConstellationInfoSchema = z33.looseObject({
|
|
1551
|
+
constellation_id: z33.number(),
|
|
1552
|
+
name: z33.string(),
|
|
1553
|
+
region_id: z33.number(),
|
|
1554
|
+
systems: z33.array(z33.number()),
|
|
1487
1555
|
position: PositionSchema
|
|
1488
1556
|
});
|
|
1489
|
-
var RegionInfoSchema =
|
|
1490
|
-
region_id:
|
|
1491
|
-
name:
|
|
1492
|
-
description:
|
|
1493
|
-
constellations:
|
|
1494
|
-
});
|
|
1495
|
-
var AncestrySchema =
|
|
1496
|
-
id:
|
|
1497
|
-
name:
|
|
1498
|
-
bloodline_id:
|
|
1499
|
-
description:
|
|
1500
|
-
short_description:
|
|
1501
|
-
icon_id:
|
|
1502
|
-
});
|
|
1503
|
-
var BloodlineSchema =
|
|
1504
|
-
bloodline_id:
|
|
1505
|
-
name:
|
|
1506
|
-
description:
|
|
1507
|
-
race_id:
|
|
1508
|
-
corporation_id:
|
|
1509
|
-
ship_type_id:
|
|
1510
|
-
charisma:
|
|
1511
|
-
intelligence:
|
|
1512
|
-
memory:
|
|
1513
|
-
perception:
|
|
1514
|
-
willpower:
|
|
1515
|
-
});
|
|
1516
|
-
var FactionSchema =
|
|
1517
|
-
faction_id:
|
|
1518
|
-
name:
|
|
1519
|
-
description:
|
|
1520
|
-
size_factor:
|
|
1521
|
-
station_count:
|
|
1522
|
-
station_system_count:
|
|
1523
|
-
is_unique:
|
|
1524
|
-
solar_system_id:
|
|
1525
|
-
corporation_id:
|
|
1526
|
-
militia_corporation_id:
|
|
1527
|
-
});
|
|
1528
|
-
var RaceSchema =
|
|
1529
|
-
race_id:
|
|
1530
|
-
name:
|
|
1531
|
-
description:
|
|
1532
|
-
alliance_id:
|
|
1533
|
-
});
|
|
1534
|
-
var StationInfoSchema =
|
|
1535
|
-
station_id:
|
|
1536
|
-
name:
|
|
1537
|
-
owner:
|
|
1538
|
-
system_id:
|
|
1539
|
-
type_id:
|
|
1540
|
-
race_id:
|
|
1541
|
-
reprocessing_efficiency:
|
|
1542
|
-
reprocessing_stations_take:
|
|
1543
|
-
max_dockable_ship_volume:
|
|
1544
|
-
office_rental_cost:
|
|
1545
|
-
services:
|
|
1557
|
+
var RegionInfoSchema = z33.looseObject({
|
|
1558
|
+
region_id: z33.number(),
|
|
1559
|
+
name: z33.string(),
|
|
1560
|
+
description: z33.string().optional(),
|
|
1561
|
+
constellations: z33.array(z33.number())
|
|
1562
|
+
});
|
|
1563
|
+
var AncestrySchema = z33.looseObject({
|
|
1564
|
+
id: z33.number(),
|
|
1565
|
+
name: z33.string(),
|
|
1566
|
+
bloodline_id: z33.number(),
|
|
1567
|
+
description: z33.string(),
|
|
1568
|
+
short_description: z33.string().optional(),
|
|
1569
|
+
icon_id: z33.number().optional()
|
|
1570
|
+
});
|
|
1571
|
+
var BloodlineSchema = z33.looseObject({
|
|
1572
|
+
bloodline_id: z33.number(),
|
|
1573
|
+
name: z33.string(),
|
|
1574
|
+
description: z33.string(),
|
|
1575
|
+
race_id: z33.number(),
|
|
1576
|
+
corporation_id: z33.number(),
|
|
1577
|
+
ship_type_id: z33.number().nullable(),
|
|
1578
|
+
charisma: z33.number(),
|
|
1579
|
+
intelligence: z33.number(),
|
|
1580
|
+
memory: z33.number(),
|
|
1581
|
+
perception: z33.number(),
|
|
1582
|
+
willpower: z33.number()
|
|
1583
|
+
});
|
|
1584
|
+
var FactionSchema = z33.looseObject({
|
|
1585
|
+
faction_id: z33.number(),
|
|
1586
|
+
name: z33.string(),
|
|
1587
|
+
description: z33.string(),
|
|
1588
|
+
size_factor: z33.number(),
|
|
1589
|
+
station_count: z33.number(),
|
|
1590
|
+
station_system_count: z33.number(),
|
|
1591
|
+
is_unique: z33.boolean(),
|
|
1592
|
+
solar_system_id: z33.number().optional(),
|
|
1593
|
+
corporation_id: z33.number().optional(),
|
|
1594
|
+
militia_corporation_id: z33.number().optional()
|
|
1595
|
+
});
|
|
1596
|
+
var RaceSchema = z33.looseObject({
|
|
1597
|
+
race_id: z33.number(),
|
|
1598
|
+
name: z33.string(),
|
|
1599
|
+
description: z33.string(),
|
|
1600
|
+
alliance_id: z33.number()
|
|
1601
|
+
});
|
|
1602
|
+
var StationInfoSchema = z33.looseObject({
|
|
1603
|
+
station_id: z33.number(),
|
|
1604
|
+
name: z33.string(),
|
|
1605
|
+
owner: z33.number().optional(),
|
|
1606
|
+
system_id: z33.number(),
|
|
1607
|
+
type_id: z33.number(),
|
|
1608
|
+
race_id: z33.number().optional(),
|
|
1609
|
+
reprocessing_efficiency: z33.number(),
|
|
1610
|
+
reprocessing_stations_take: z33.number(),
|
|
1611
|
+
max_dockable_ship_volume: z33.number(),
|
|
1612
|
+
office_rental_cost: z33.number(),
|
|
1613
|
+
services: z33.array(z33.string()),
|
|
1546
1614
|
position: PositionSchema
|
|
1547
1615
|
});
|
|
1548
|
-
var TypeInfoSchema =
|
|
1549
|
-
type_id:
|
|
1550
|
-
name:
|
|
1551
|
-
description:
|
|
1552
|
-
published:
|
|
1553
|
-
group_id:
|
|
1554
|
-
market_group_id:
|
|
1555
|
-
radius:
|
|
1556
|
-
volume:
|
|
1557
|
-
packaged_volume:
|
|
1558
|
-
capacity:
|
|
1559
|
-
portion_size:
|
|
1560
|
-
mass:
|
|
1561
|
-
icon_id:
|
|
1562
|
-
graphic_id:
|
|
1563
|
-
dogma_attributes:
|
|
1564
|
-
|
|
1565
|
-
attribute_id:
|
|
1566
|
-
value:
|
|
1616
|
+
var TypeInfoSchema = z33.looseObject({
|
|
1617
|
+
type_id: z33.number(),
|
|
1618
|
+
name: z33.string(),
|
|
1619
|
+
description: z33.string(),
|
|
1620
|
+
published: z33.boolean(),
|
|
1621
|
+
group_id: z33.number(),
|
|
1622
|
+
market_group_id: z33.number().optional(),
|
|
1623
|
+
radius: z33.number().optional(),
|
|
1624
|
+
volume: z33.number().optional(),
|
|
1625
|
+
packaged_volume: z33.number().optional(),
|
|
1626
|
+
capacity: z33.number().optional(),
|
|
1627
|
+
portion_size: z33.number().optional(),
|
|
1628
|
+
mass: z33.number().optional(),
|
|
1629
|
+
icon_id: z33.number().optional(),
|
|
1630
|
+
graphic_id: z33.number().optional(),
|
|
1631
|
+
dogma_attributes: z33.array(
|
|
1632
|
+
z33.looseObject({
|
|
1633
|
+
attribute_id: z33.number(),
|
|
1634
|
+
value: z33.number()
|
|
1567
1635
|
})
|
|
1568
1636
|
).optional(),
|
|
1569
|
-
dogma_effects:
|
|
1570
|
-
|
|
1571
|
-
effect_id:
|
|
1572
|
-
is_default:
|
|
1637
|
+
dogma_effects: z33.array(
|
|
1638
|
+
z33.looseObject({
|
|
1639
|
+
effect_id: z33.number(),
|
|
1640
|
+
is_default: z33.boolean()
|
|
1573
1641
|
})
|
|
1574
1642
|
).optional()
|
|
1575
1643
|
});
|
|
1576
|
-
var AsteroidBeltInfoSchema =
|
|
1577
|
-
name:
|
|
1644
|
+
var AsteroidBeltInfoSchema = z33.looseObject({
|
|
1645
|
+
name: z33.string(),
|
|
1578
1646
|
position: PositionSchema,
|
|
1579
|
-
system_id:
|
|
1580
|
-
});
|
|
1581
|
-
var GraphicInfoSchema =
|
|
1582
|
-
graphic_id:
|
|
1583
|
-
collision_file:
|
|
1584
|
-
graphic_file:
|
|
1585
|
-
icon_folder:
|
|
1586
|
-
sof_dna:
|
|
1587
|
-
sof_fation_name:
|
|
1588
|
-
sof_hull_name:
|
|
1589
|
-
sof_race_name:
|
|
1590
|
-
});
|
|
1591
|
-
var ItemCategorySchema =
|
|
1592
|
-
category_id:
|
|
1593
|
-
name:
|
|
1594
|
-
groups:
|
|
1595
|
-
published:
|
|
1596
|
-
});
|
|
1597
|
-
var ItemGroupSchema =
|
|
1598
|
-
group_id:
|
|
1599
|
-
name:
|
|
1600
|
-
category_id:
|
|
1601
|
-
types:
|
|
1602
|
-
published:
|
|
1603
|
-
});
|
|
1604
|
-
var MoonInfoSchema =
|
|
1605
|
-
moon_id:
|
|
1606
|
-
name:
|
|
1607
|
-
system_id:
|
|
1647
|
+
system_id: z33.number()
|
|
1648
|
+
});
|
|
1649
|
+
var GraphicInfoSchema = z33.looseObject({
|
|
1650
|
+
graphic_id: z33.number(),
|
|
1651
|
+
collision_file: z33.string().optional(),
|
|
1652
|
+
graphic_file: z33.string().optional(),
|
|
1653
|
+
icon_folder: z33.string().optional(),
|
|
1654
|
+
sof_dna: z33.string().optional(),
|
|
1655
|
+
sof_fation_name: z33.string().optional(),
|
|
1656
|
+
sof_hull_name: z33.string().optional(),
|
|
1657
|
+
sof_race_name: z33.string().optional()
|
|
1658
|
+
});
|
|
1659
|
+
var ItemCategorySchema = z33.looseObject({
|
|
1660
|
+
category_id: z33.number(),
|
|
1661
|
+
name: z33.string(),
|
|
1662
|
+
groups: z33.array(z33.number()),
|
|
1663
|
+
published: z33.boolean()
|
|
1664
|
+
});
|
|
1665
|
+
var ItemGroupSchema = z33.looseObject({
|
|
1666
|
+
group_id: z33.number(),
|
|
1667
|
+
name: z33.string(),
|
|
1668
|
+
category_id: z33.number(),
|
|
1669
|
+
types: z33.array(z33.number()),
|
|
1670
|
+
published: z33.boolean()
|
|
1671
|
+
});
|
|
1672
|
+
var MoonInfoSchema = z33.looseObject({
|
|
1673
|
+
moon_id: z33.number(),
|
|
1674
|
+
name: z33.string(),
|
|
1675
|
+
system_id: z33.number(),
|
|
1608
1676
|
position: PositionSchema
|
|
1609
1677
|
});
|
|
1610
|
-
var PlanetInfoSchema =
|
|
1611
|
-
planet_id:
|
|
1612
|
-
name:
|
|
1613
|
-
system_id:
|
|
1614
|
-
type_id:
|
|
1678
|
+
var PlanetInfoSchema = z33.looseObject({
|
|
1679
|
+
planet_id: z33.number(),
|
|
1680
|
+
name: z33.string(),
|
|
1681
|
+
system_id: z33.number(),
|
|
1682
|
+
type_id: z33.number(),
|
|
1615
1683
|
position: PositionSchema
|
|
1616
1684
|
});
|
|
1617
|
-
var StarInfoSchema =
|
|
1618
|
-
star_id:
|
|
1619
|
-
solar_system_id:
|
|
1620
|
-
name:
|
|
1621
|
-
type_id:
|
|
1622
|
-
age:
|
|
1623
|
-
luminosity:
|
|
1624
|
-
radius:
|
|
1625
|
-
spectral_class:
|
|
1626
|
-
temperature:
|
|
1627
|
-
});
|
|
1628
|
-
var StargateInfoSchema =
|
|
1629
|
-
stargate_id:
|
|
1630
|
-
name:
|
|
1631
|
-
system_id:
|
|
1632
|
-
type_id:
|
|
1685
|
+
var StarInfoSchema = z33.looseObject({
|
|
1686
|
+
star_id: z33.number().optional(),
|
|
1687
|
+
solar_system_id: z33.number(),
|
|
1688
|
+
name: z33.string(),
|
|
1689
|
+
type_id: z33.number(),
|
|
1690
|
+
age: z33.number(),
|
|
1691
|
+
luminosity: z33.number(),
|
|
1692
|
+
radius: z33.number(),
|
|
1693
|
+
spectral_class: z33.string(),
|
|
1694
|
+
temperature: z33.number()
|
|
1695
|
+
});
|
|
1696
|
+
var StargateInfoSchema = z33.looseObject({
|
|
1697
|
+
stargate_id: z33.number(),
|
|
1698
|
+
name: z33.string(),
|
|
1699
|
+
system_id: z33.number(),
|
|
1700
|
+
type_id: z33.number(),
|
|
1633
1701
|
position: PositionSchema,
|
|
1634
|
-
destination:
|
|
1635
|
-
system_id:
|
|
1636
|
-
stargate_id:
|
|
1702
|
+
destination: z33.looseObject({
|
|
1703
|
+
system_id: z33.number(),
|
|
1704
|
+
stargate_id: z33.number()
|
|
1637
1705
|
})
|
|
1638
1706
|
});
|
|
1639
|
-
var StructureInfoSchema =
|
|
1640
|
-
structure_id:
|
|
1641
|
-
name:
|
|
1642
|
-
owner_id:
|
|
1643
|
-
solar_system_id:
|
|
1644
|
-
type_id:
|
|
1707
|
+
var StructureInfoSchema = z33.looseObject({
|
|
1708
|
+
structure_id: z33.number().optional(),
|
|
1709
|
+
name: z33.string(),
|
|
1710
|
+
owner_id: z33.number(),
|
|
1711
|
+
solar_system_id: z33.number(),
|
|
1712
|
+
type_id: z33.number().optional(),
|
|
1645
1713
|
position: PositionSchema.optional()
|
|
1646
1714
|
});
|
|
1647
|
-
var SystemJumpSchema =
|
|
1648
|
-
system_id:
|
|
1649
|
-
ship_jumps:
|
|
1650
|
-
});
|
|
1651
|
-
var SystemKillSchema =
|
|
1652
|
-
system_id:
|
|
1653
|
-
npc_kills:
|
|
1654
|
-
pod_kills:
|
|
1655
|
-
ship_kills:
|
|
1656
|
-
});
|
|
1657
|
-
var IdNameSchema =
|
|
1658
|
-
id:
|
|
1659
|
-
name:
|
|
1660
|
-
});
|
|
1661
|
-
var BulkIdResultSchema =
|
|
1662
|
-
agents:
|
|
1663
|
-
alliances:
|
|
1664
|
-
characters:
|
|
1665
|
-
constellations:
|
|
1666
|
-
corporations:
|
|
1667
|
-
factions:
|
|
1668
|
-
inventory_types:
|
|
1669
|
-
regions:
|
|
1670
|
-
systems:
|
|
1671
|
-
stations:
|
|
1672
|
-
});
|
|
1673
|
-
var NameAndCategorySchema =
|
|
1674
|
-
id:
|
|
1675
|
-
name:
|
|
1676
|
-
category:
|
|
1715
|
+
var SystemJumpSchema = z33.looseObject({
|
|
1716
|
+
system_id: z33.number(),
|
|
1717
|
+
ship_jumps: z33.number()
|
|
1718
|
+
});
|
|
1719
|
+
var SystemKillSchema = z33.looseObject({
|
|
1720
|
+
system_id: z33.number(),
|
|
1721
|
+
npc_kills: z33.number(),
|
|
1722
|
+
pod_kills: z33.number(),
|
|
1723
|
+
ship_kills: z33.number()
|
|
1724
|
+
});
|
|
1725
|
+
var IdNameSchema = z33.looseObject({
|
|
1726
|
+
id: z33.number(),
|
|
1727
|
+
name: z33.string()
|
|
1728
|
+
});
|
|
1729
|
+
var BulkIdResultSchema = z33.looseObject({
|
|
1730
|
+
agents: z33.array(IdNameSchema).optional(),
|
|
1731
|
+
alliances: z33.array(IdNameSchema).optional(),
|
|
1732
|
+
characters: z33.array(IdNameSchema).optional(),
|
|
1733
|
+
constellations: z33.array(IdNameSchema).optional(),
|
|
1734
|
+
corporations: z33.array(IdNameSchema).optional(),
|
|
1735
|
+
factions: z33.array(IdNameSchema).optional(),
|
|
1736
|
+
inventory_types: z33.array(IdNameSchema).optional(),
|
|
1737
|
+
regions: z33.array(IdNameSchema).optional(),
|
|
1738
|
+
systems: z33.array(IdNameSchema).optional(),
|
|
1739
|
+
stations: z33.array(IdNameSchema).optional()
|
|
1740
|
+
});
|
|
1741
|
+
var NameAndCategorySchema = z33.looseObject({
|
|
1742
|
+
id: z33.number(),
|
|
1743
|
+
name: z33.string(),
|
|
1744
|
+
category: z33.enum([
|
|
1677
1745
|
"alliance",
|
|
1678
1746
|
"character",
|
|
1679
1747
|
"constellation",
|
|
@@ -1685,80 +1753,80 @@ var NameAndCategorySchema = z30.looseObject({
|
|
|
1685
1753
|
"faction"
|
|
1686
1754
|
])
|
|
1687
1755
|
});
|
|
1688
|
-
var SchematicInfoSchema =
|
|
1689
|
-
schematic_name:
|
|
1690
|
-
cycle_time:
|
|
1691
|
-
});
|
|
1692
|
-
var SearchResultSchema =
|
|
1693
|
-
agent:
|
|
1694
|
-
alliance:
|
|
1695
|
-
character:
|
|
1696
|
-
constellation:
|
|
1697
|
-
corporation:
|
|
1698
|
-
faction:
|
|
1699
|
-
inventory_type:
|
|
1700
|
-
region:
|
|
1701
|
-
solar_system:
|
|
1702
|
-
station:
|
|
1703
|
-
structure:
|
|
1756
|
+
var SchematicInfoSchema = z33.looseObject({
|
|
1757
|
+
schematic_name: z33.string(),
|
|
1758
|
+
cycle_time: z33.number()
|
|
1759
|
+
});
|
|
1760
|
+
var SearchResultSchema = z33.looseObject({
|
|
1761
|
+
agent: z33.array(z33.number()).optional(),
|
|
1762
|
+
alliance: z33.array(z33.number()).optional(),
|
|
1763
|
+
character: z33.array(z33.number()).optional(),
|
|
1764
|
+
constellation: z33.array(z33.number()).optional(),
|
|
1765
|
+
corporation: z33.array(z33.number()).optional(),
|
|
1766
|
+
faction: z33.array(z33.number()).optional(),
|
|
1767
|
+
inventory_type: z33.array(z33.number()).optional(),
|
|
1768
|
+
region: z33.array(z33.number()).optional(),
|
|
1769
|
+
solar_system: z33.array(z33.number()).optional(),
|
|
1770
|
+
station: z33.array(z33.number()).optional(),
|
|
1771
|
+
structure: z33.array(z33.number()).optional()
|
|
1704
1772
|
});
|
|
1705
1773
|
|
|
1706
1774
|
// src/schemas/wallet.ts
|
|
1707
|
-
import { z as
|
|
1708
|
-
var WalletTransactionSchema =
|
|
1709
|
-
transaction_id:
|
|
1710
|
-
date:
|
|
1711
|
-
type_id:
|
|
1712
|
-
location_id:
|
|
1713
|
-
unit_price:
|
|
1714
|
-
quantity:
|
|
1715
|
-
client_id:
|
|
1716
|
-
is_buy:
|
|
1717
|
-
is_personal:
|
|
1718
|
-
journal_ref_id:
|
|
1719
|
-
});
|
|
1720
|
-
var WalletJournalSchema =
|
|
1721
|
-
id:
|
|
1722
|
-
date:
|
|
1723
|
-
ref_type:
|
|
1724
|
-
first_party_id:
|
|
1725
|
-
second_party_id:
|
|
1726
|
-
amount:
|
|
1727
|
-
balance:
|
|
1728
|
-
reason:
|
|
1729
|
-
description:
|
|
1730
|
-
context_id:
|
|
1731
|
-
context_id_type:
|
|
1732
|
-
tax:
|
|
1733
|
-
tax_receiver_id:
|
|
1775
|
+
import { z as z34 } from "zod";
|
|
1776
|
+
var WalletTransactionSchema = z34.looseObject({
|
|
1777
|
+
transaction_id: z34.number(),
|
|
1778
|
+
date: z34.string(),
|
|
1779
|
+
type_id: z34.number(),
|
|
1780
|
+
location_id: z34.number(),
|
|
1781
|
+
unit_price: z34.number(),
|
|
1782
|
+
quantity: z34.number(),
|
|
1783
|
+
client_id: z34.number(),
|
|
1784
|
+
is_buy: z34.boolean(),
|
|
1785
|
+
is_personal: z34.boolean(),
|
|
1786
|
+
journal_ref_id: z34.number()
|
|
1787
|
+
});
|
|
1788
|
+
var WalletJournalSchema = z34.looseObject({
|
|
1789
|
+
id: z34.number(),
|
|
1790
|
+
date: z34.string(),
|
|
1791
|
+
ref_type: z34.string(),
|
|
1792
|
+
first_party_id: z34.number().optional(),
|
|
1793
|
+
second_party_id: z34.number().optional(),
|
|
1794
|
+
amount: z34.number().optional(),
|
|
1795
|
+
balance: z34.number().optional(),
|
|
1796
|
+
reason: z34.string().optional(),
|
|
1797
|
+
description: z34.string(),
|
|
1798
|
+
context_id: z34.number().optional(),
|
|
1799
|
+
context_id_type: z34.string().optional(),
|
|
1800
|
+
tax: z34.number().optional(),
|
|
1801
|
+
tax_receiver_id: z34.number().optional()
|
|
1734
1802
|
});
|
|
1735
1803
|
|
|
1736
1804
|
// src/schemas/wars.ts
|
|
1737
|
-
import { z as
|
|
1738
|
-
var WarSchema =
|
|
1739
|
-
id:
|
|
1740
|
-
declared:
|
|
1741
|
-
started:
|
|
1742
|
-
finished:
|
|
1743
|
-
retracted:
|
|
1744
|
-
mutual:
|
|
1745
|
-
open_for_allies:
|
|
1746
|
-
aggressor:
|
|
1747
|
-
corporation_id:
|
|
1748
|
-
alliance_id:
|
|
1749
|
-
isk_destroyed:
|
|
1750
|
-
ships_killed:
|
|
1805
|
+
import { z as z35 } from "zod";
|
|
1806
|
+
var WarSchema = z35.looseObject({
|
|
1807
|
+
id: z35.number(),
|
|
1808
|
+
declared: z35.string(),
|
|
1809
|
+
started: z35.string().optional(),
|
|
1810
|
+
finished: z35.string().optional(),
|
|
1811
|
+
retracted: z35.string().optional(),
|
|
1812
|
+
mutual: z35.boolean(),
|
|
1813
|
+
open_for_allies: z35.boolean(),
|
|
1814
|
+
aggressor: z35.looseObject({
|
|
1815
|
+
corporation_id: z35.number().optional(),
|
|
1816
|
+
alliance_id: z35.number().optional(),
|
|
1817
|
+
isk_destroyed: z35.number(),
|
|
1818
|
+
ships_killed: z35.number()
|
|
1751
1819
|
}),
|
|
1752
|
-
defender:
|
|
1753
|
-
corporation_id:
|
|
1754
|
-
alliance_id:
|
|
1755
|
-
isk_destroyed:
|
|
1756
|
-
ships_killed:
|
|
1820
|
+
defender: z35.looseObject({
|
|
1821
|
+
corporation_id: z35.number().optional(),
|
|
1822
|
+
alliance_id: z35.number().optional(),
|
|
1823
|
+
isk_destroyed: z35.number(),
|
|
1824
|
+
ships_killed: z35.number()
|
|
1757
1825
|
}),
|
|
1758
|
-
allies:
|
|
1759
|
-
|
|
1760
|
-
corporation_id:
|
|
1761
|
-
alliance_id:
|
|
1826
|
+
allies: z35.array(
|
|
1827
|
+
z35.looseObject({
|
|
1828
|
+
corporation_id: z35.number().optional(),
|
|
1829
|
+
alliance_id: z35.number().optional()
|
|
1762
1830
|
})
|
|
1763
1831
|
).optional()
|
|
1764
1832
|
});
|
|
@@ -1789,6 +1857,7 @@ export {
|
|
|
1789
1857
|
CharacterLocationSchema,
|
|
1790
1858
|
CharacterMarketOrderHistorySchema,
|
|
1791
1859
|
CharacterMarketOrderSchema,
|
|
1860
|
+
CharacterMilitaryCampaignObjectiveSchema,
|
|
1792
1861
|
CharacterOnlineSchema,
|
|
1793
1862
|
CharacterPortraitSchema,
|
|
1794
1863
|
CharacterRoleSchema,
|
|
@@ -1820,6 +1889,9 @@ export {
|
|
|
1820
1889
|
CorporationMemberRoleSchema,
|
|
1821
1890
|
CorporationMemberTitleSchema,
|
|
1822
1891
|
CorporationMemberTrackingSchema,
|
|
1892
|
+
CorporationProjectContributionSchema,
|
|
1893
|
+
CorporationProjectContributorSchema,
|
|
1894
|
+
CorporationProjectSchema,
|
|
1823
1895
|
CorporationRoleHistorySchema,
|
|
1824
1896
|
CorporationShareholderSchema,
|
|
1825
1897
|
StandingSchema as CorporationStandingSchema,
|
|
@@ -1874,6 +1946,13 @@ export {
|
|
|
1874
1946
|
MedalSchema,
|
|
1875
1947
|
MercenaryDenSchema,
|
|
1876
1948
|
MercenaryTacticalOperationSchema,
|
|
1949
|
+
MetaChangelogEntrySchema,
|
|
1950
|
+
MetaChangelogSchema,
|
|
1951
|
+
MetaCompatibilityDatesSchema,
|
|
1952
|
+
MetaNameSchema,
|
|
1953
|
+
MetaStatusSchema,
|
|
1954
|
+
MilitaryCampaignObjectiveSchema,
|
|
1955
|
+
MilitaryCampaignSchema,
|
|
1877
1956
|
MiningLedgerEntrySchema,
|
|
1878
1957
|
MiningObserverEntrySchema,
|
|
1879
1958
|
MiningObserverSchema,
|