@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.
Files changed (59) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +52 -50
  3. package/dist/EsiClient.d.ts +4 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/clients/AccessListsClient.d.ts +11 -1
  6. package/dist/clients/AccessListsClient.d.ts.map +1 -1
  7. package/dist/clients/CorporationProjectsClient.d.ts +44 -0
  8. package/dist/clients/CorporationProjectsClient.d.ts.map +1 -0
  9. package/dist/clients/MercenaryClient.d.ts +6 -2
  10. package/dist/clients/MercenaryClient.d.ts.map +1 -1
  11. package/dist/clients/MetaClient.d.ts +25 -0
  12. package/dist/clients/MetaClient.d.ts.map +1 -1
  13. package/dist/clients/MilitaryCampaignsClient.d.ts +53 -0
  14. package/dist/clients/MilitaryCampaignsClient.d.ts.map +1 -0
  15. package/dist/clients/SkyhooksClient.d.ts +6 -2
  16. package/dist/clients/SkyhooksClient.d.ts.map +1 -1
  17. package/dist/core/ClientRegistry.d.ts +5 -3
  18. package/dist/core/ClientRegistry.d.ts.map +1 -1
  19. package/dist/core/constants.d.ts +2 -2
  20. package/dist/core/endpoints/accessListEndpoints.d.ts +34 -11
  21. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
  22. package/dist/core/endpoints/corporationProjectEndpoints.d.ts +50 -0
  23. package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -0
  24. package/dist/core/endpoints/industryEndpoints.d.ts +3 -3
  25. package/dist/core/endpoints/mercenaryEndpoints.d.ts +6 -4
  26. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
  27. package/dist/core/endpoints/metaEndpoints.d.ts +36 -0
  28. package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
  29. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts +87 -0
  30. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts.map +1 -0
  31. package/dist/core/endpoints/skyhookEndpoints.d.ts +7 -5
  32. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +1509 -1121
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +1507 -1121
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/schemas/corporation-projects.d.ts +17 -0
  40. package/dist/schemas/corporation-projects.d.ts.map +1 -0
  41. package/dist/schemas/index.d.ts +3 -0
  42. package/dist/schemas/index.d.ts.map +1 -1
  43. package/dist/schemas/index.js +1077 -987
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/schemas/index.mjs +1066 -987
  46. package/dist/schemas/index.mjs.map +1 -1
  47. package/dist/schemas/meta.d.ts +25 -0
  48. package/dist/schemas/meta.d.ts.map +1 -0
  49. package/dist/schemas/military-campaigns.d.ts +26 -0
  50. package/dist/schemas/military-campaigns.d.ts.map +1 -0
  51. package/dist/types/api-responses.d.ts +3 -0
  52. package/dist/types/api-responses.d.ts.map +1 -1
  53. package/dist/types/corporation-projects.d.ts +6 -0
  54. package/dist/types/corporation-projects.d.ts.map +1 -0
  55. package/dist/types/meta.d.ts +8 -0
  56. package/dist/types/meta.d.ts.map +1 -0
  57. package/dist/types/military-campaigns.d.ts +6 -0
  58. package/dist/types/military-campaigns.d.ts.map +1 -0
  59. package/package.json +5 -1
@@ -535,366 +535,384 @@ var ContainerLogSchema = z10.looseObject({
535
535
  new_config_bitmask: z10.number().optional()
536
536
  });
537
537
 
538
- // src/schemas/dogma.ts
538
+ // src/schemas/corporation-projects.ts
539
539
  import { z as z11 } from "zod";
540
- var DogmaAttributeSchema = z11.looseObject({
541
- attribute_id: z11.number(),
542
- name: z11.string(),
543
- description: z11.string().optional(),
544
- icon_id: z11.number().optional(),
545
- default_value: z11.number().optional(),
546
- published: z11.boolean().optional(),
547
- display_name: z11.string().optional(),
548
- unit_id: z11.number().optional(),
549
- stackable: z11.boolean().optional(),
550
- high_is_good: z11.boolean().optional()
551
- });
552
- var DogmaEffectSchema = z11.looseObject({
553
- effect_id: z11.number(),
554
- name: z11.string(),
555
- description: z11.string().optional(),
556
- icon_id: z11.number().optional(),
557
- display_name: z11.string().optional(),
558
- published: z11.boolean().optional(),
559
- effect_category: z11.number().optional(),
560
- is_assistance: z11.boolean().optional(),
561
- is_offensive: z11.boolean().optional(),
562
- is_warp_safe: z11.boolean().optional(),
563
- disallow_auto_repeat: z11.boolean().optional(),
564
- discharge_attribute_id: z11.number().optional(),
565
- duration_attribute_id: z11.number().optional(),
566
- electronic_chance: z11.boolean().optional(),
567
- falloff_attribute_id: z11.number().optional(),
568
- modifiers: z11.array(
569
- z11.looseObject({
570
- domain: z11.string().optional(),
571
- effect_id: z11.number().optional(),
572
- func: z11.string(),
573
- modified_attribute_id: z11.number().optional(),
574
- modifying_attribute_id: z11.number().optional(),
575
- operator: z11.number().optional()
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: z11.number().optional(),
579
- pre_expression: z11.number().optional(),
580
- range_attribute_id: z11.number().optional(),
581
- range_chance: z11.boolean().optional(),
582
- tracking_speed_attribute_id: z11.number().optional()
583
- });
584
- var DogmaDynamicItemSchema = z11.looseObject({
585
- created_by: z11.number(),
586
- dogma_attributes: z11.array(
587
- z11.looseObject({
588
- attribute_id: z11.number(),
589
- value: z11.number()
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: z11.array(
593
- z11.looseObject({
594
- effect_id: z11.number(),
595
- is_default: z11.boolean()
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: z11.number(),
599
- source_type_id: z11.number()
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 z12 } from "zod";
604
- var FactionWarfareStatsSchema = z12.looseObject({
605
- faction_id: z12.number(),
606
- pilots: z12.number(),
607
- systems_controlled: z12.number(),
608
- kills: z12.looseObject({
609
- yesterday: z12.number(),
610
- last_week: z12.number(),
611
- total: z12.number()
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: z12.looseObject({
614
- yesterday: z12.number(),
615
- last_week: z12.number(),
616
- total: z12.number()
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 = z12.looseObject({
620
- faction_id: z12.number().optional(),
621
- enlisted_on: z12.string().optional(),
622
- current_rank: z12.number().optional(),
623
- highest_rank: z12.number().optional(),
624
- kills: z12.looseObject({
625
- yesterday: z12.number(),
626
- last_week: z12.number(),
627
- total: z12.number()
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: z12.looseObject({
630
- yesterday: z12.number(),
631
- last_week: z12.number(),
632
- total: z12.number()
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 = z12.looseObject({
636
- solar_system_id: z12.number(),
637
- owner_faction_id: z12.number(),
638
- occupier_faction_id: z12.number(),
639
- contested: z12.enum(["captured", "contested", "uncontested", "vulnerable"]),
640
- victory_points: z12.number(),
641
- victory_points_threshold: z12.number()
642
- });
643
- var FactionWarfareWarSchema = z12.looseObject({
644
- faction_id: z12.number(),
645
- against_id: z12.number()
646
- });
647
- var FactionWarfareLeaderboardSchema = z12.looseObject({
648
- kills: z12.looseObject({
649
- yesterday: z12.array(
650
- z12.looseObject({
651
- amount: z12.number(),
652
- id: z12.number().optional()
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: z12.array(
656
- z12.looseObject({
657
- amount: z12.number(),
658
- id: z12.number().optional()
673
+ last_week: z13.array(
674
+ z13.looseObject({
675
+ amount: z13.number(),
676
+ id: z13.number().optional()
659
677
  })
660
678
  ),
661
- active_total: z12.array(
662
- z12.looseObject({
663
- amount: z12.number(),
664
- id: z12.number().optional()
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: z12.looseObject({
669
- yesterday: z12.array(
670
- z12.looseObject({
671
- amount: z12.number(),
672
- id: z12.number().optional()
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: z12.array(
676
- z12.looseObject({
677
- amount: z12.number(),
678
- id: z12.number().optional()
693
+ last_week: z13.array(
694
+ z13.looseObject({
695
+ amount: z13.number(),
696
+ id: z13.number().optional()
679
697
  })
680
698
  ),
681
- active_total: z12.array(
682
- z12.looseObject({
683
- amount: z12.number(),
684
- id: z12.number().optional()
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 = z12.looseObject({
690
- faction_id: z12.number().optional(),
691
- enlisted_on: z12.string().optional(),
692
- pilots: z12.number().optional(),
693
- kills: z12.looseObject({
694
- yesterday: z12.number(),
695
- last_week: z12.number(),
696
- total: z12.number()
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: z12.looseObject({
699
- yesterday: z12.number(),
700
- last_week: z12.number(),
701
- total: z12.number()
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 z13 } from "zod";
707
- var FittingSchema = z13.looseObject({
708
- fitting_id: z13.number(),
709
- name: z13.string(),
710
- description: z13.string(),
711
- ship_type_id: z13.number(),
712
- items: z13.array(
713
- z13.looseObject({
714
- type_id: z13.number(),
715
- flag: z13.union([z13.number(), z13.string()]),
716
- quantity: z13.number()
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 z14 } from "zod";
723
- var FleetInfoSchema = z14.looseObject({
724
- fleet_id: z14.number().optional(),
725
- fleet_boss_id: z14.number().optional(),
726
- is_free_move: z14.boolean(),
727
- is_registered: z14.boolean(),
728
- is_voice_enabled: z14.boolean(),
729
- motd: z14.string()
730
- });
731
- var FleetMemberSchema = z14.looseObject({
732
- character_id: z14.number(),
733
- ship_type_id: z14.number(),
734
- wing_id: z14.number(),
735
- squad_id: z14.number(),
736
- role: z14.enum([
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: z14.string(),
743
- join_time: z14.string(),
744
- takes_fleet_warp: z14.boolean(),
745
- solar_system_id: z14.number(),
746
- station_id: z14.number().optional()
747
- });
748
- var FleetWingSchema = z14.looseObject({
749
- id: z14.number(),
750
- name: z14.string(),
751
- squads: z14.array(
752
- z14.looseObject({
753
- id: z14.number(),
754
- name: z14.string()
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 = z14.looseObject({
759
- fleet_id: z14.number(),
760
- fleet_boss_id: z14.number().optional(),
761
- role: z14.enum([
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: z14.number(),
768
- wing_id: z14.number()
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 z15 } from "zod";
773
- var EsiCursorSchema = z15.looseObject({
774
- before: z15.string().nullable(),
775
- after: z15.string().nullable()
776
- });
777
- var FreelanceJobSummarySchema = z15.looseObject({
778
- id: z15.string(),
779
- name: z15.string(),
780
- state: z15.string(),
781
- last_modified: z15.string(),
782
- progress: z15.looseObject({
783
- current: z15.number(),
784
- desired: z15.number()
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: z15.looseObject({
787
- initial: z15.number(),
788
- remaining: z15.number()
804
+ reward: z16.looseObject({
805
+ initial: z16.number(),
806
+ remaining: z16.number()
789
807
  }).optional()
790
808
  });
791
- var FreelanceJobsListingSchema = z15.looseObject({
809
+ var FreelanceJobsListingSchema = z16.looseObject({
792
810
  cursor: EsiCursorSchema.optional(),
793
- freelance_jobs: z15.array(FreelanceJobSummarySchema)
794
- });
795
- var FreelanceJobDetailSchema = z15.looseObject({
796
- id: z15.string(),
797
- name: z15.string(),
798
- state: z15.string(),
799
- last_modified: z15.string(),
800
- progress: z15.looseObject({
801
- current: z15.number(),
802
- desired: z15.number()
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: z15.looseObject({
805
- initial: z15.number(),
806
- remaining: z15.number()
822
+ reward: z16.looseObject({
823
+ initial: z16.number(),
824
+ remaining: z16.number()
807
825
  }).optional(),
808
- details: z15.looseObject({
809
- description: z15.string(),
810
- career: z15.string(),
811
- created: z15.string(),
812
- expires: z15.string(),
813
- creator: z15.looseObject({
814
- character: z15.looseObject({
815
- id: z15.number(),
816
- name: z15.string()
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: z15.looseObject({
819
- id: z15.number(),
820
- name: z15.string()
836
+ corporation: z16.looseObject({
837
+ id: z16.number(),
838
+ name: z16.string()
821
839
  })
822
840
  })
823
841
  }),
824
- configuration: z15.looseObject({
825
- version: z15.number(),
826
- parameters: z15.record(z15.string(), z15.unknown()),
827
- method: z15.string()
842
+ configuration: z16.looseObject({
843
+ version: z16.number(),
844
+ parameters: z16.record(z16.string(), z16.unknown()),
845
+ method: z16.string()
828
846
  }),
829
- contribution: z15.looseObject({
830
- max_committed_participants: z15.number(),
831
- reward_per_contribution: z15.number().optional(),
832
- submission_multiplier: z15.number().optional()
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: z15.looseObject({
835
- acl_protected: z15.boolean(),
836
- broadcast_locations: z15.array(
837
- z15.looseObject({
838
- id: z15.number(),
839
- name: z15.string()
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 = z15.looseObject({
862
+ var CharacterFreelanceJobsListingSchema = z16.looseObject({
845
863
  cursor: EsiCursorSchema.optional(),
846
- freelance_jobs: z15.array(FreelanceJobSummarySchema)
864
+ freelance_jobs: z16.array(FreelanceJobSummarySchema)
847
865
  });
848
- var FreelanceJobParticipationSchema = z15.looseObject({
849
- job_id: z15.string(),
850
- character_id: z15.number(),
851
- status: z15.string(),
852
- contributions: z15.number(),
853
- last_contribution: z15.string().optional()
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 = z15.looseObject({
873
+ var CorporationFreelanceJobsListingSchema = z16.looseObject({
856
874
  cursor: EsiCursorSchema.optional(),
857
- freelance_jobs: z15.array(FreelanceJobSummarySchema)
875
+ freelance_jobs: z16.array(FreelanceJobSummarySchema)
858
876
  });
859
- var FreelanceJobParticipantSchema = z15.looseObject({
860
- character_id: z15.number(),
861
- corporation_id: z15.number(),
862
- status: z15.string(),
863
- contributions: z15.number(),
864
- last_contribution: z15.string().optional()
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 z16 } from "zod";
869
- var IncursionSchema = z16.looseObject({
870
- type: z16.string(),
871
- state: z16.enum(["withdrawing", "mobilizing", "established"]),
872
- staging_solar_system_id: z16.number(),
873
- constellation_id: z16.number(),
874
- infested_solar_systems: z16.array(z16.number()),
875
- has_boss: z16.boolean(),
876
- faction_id: z16.number(),
877
- influence: z16.number()
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 z17 } from "zod";
882
- var IndustryJobSchema = z17.looseObject({
883
- job_id: z17.number(),
884
- installer_id: z17.number(),
885
- facility_id: z17.number(),
886
- station_id: z17.number(),
887
- activity_id: z17.number(),
888
- blueprint_id: z17.number(),
889
- blueprint_type_id: z17.number(),
890
- blueprint_location_id: z17.number(),
891
- output_location_id: z17.number(),
892
- runs: z17.number(),
893
- cost: z17.number().optional(),
894
- licensed_runs: z17.number().optional(),
895
- probability: z17.number().optional(),
896
- product_type_id: z17.number().optional(),
897
- status: z17.enum([
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: z17.number(),
906
- start_date: z17.string(),
907
- end_date: z17.string(),
908
- pause_date: z17.string().optional(),
909
- completed_date: z17.string().optional(),
910
- completed_character_id: z17.number().optional(),
911
- successful_runs: z17.number().optional()
912
- });
913
- var MiningLedgerEntrySchema = z17.looseObject({
914
- date: z17.string(),
915
- solar_system_id: z17.number(),
916
- type_id: z17.number(),
917
- quantity: z17.number()
918
- });
919
- var IndustryFacilitySchema = z17.looseObject({
920
- facility_id: z17.number(),
921
- owner_id: z17.number(),
922
- region_id: z17.number(),
923
- solar_system_id: z17.number(),
924
- tax: z17.number().optional(),
925
- type_id: z17.number()
926
- });
927
- var IndustrySystemSchema = z17.looseObject({
928
- solar_system_id: z17.number(),
929
- cost_indices: z17.array(
930
- z17.looseObject({
931
- activity: z17.string(),
932
- cost_index: z17.number()
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 = z17.looseObject({
937
- structure_id: z17.number(),
938
- moon_id: z17.number(),
939
- extraction_start_time: z17.string(),
940
- chunk_arrival_time: z17.string(),
941
- natural_decay_time: z17.string()
942
- });
943
- var MiningObserverSchema = z17.looseObject({
944
- observer_id: z17.number(),
945
- observer_type: z17.string(),
946
- last_updated: z17.string()
947
- });
948
- var MiningObserverEntrySchema = z17.looseObject({
949
- character_id: z17.number(),
950
- recorded_corporation_id: z17.number(),
951
- type_id: z17.number(),
952
- quantity: z17.number(),
953
- last_updated: z17.string()
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 z18 } from "zod";
958
- var InsurancePriceSchema = z18.looseObject({
959
- type_id: z18.number(),
960
- levels: z18.array(
961
- z18.looseObject({
962
- cost: z18.number(),
963
- payout: z18.number(),
964
- name: z18.string()
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 z19 } from "zod";
971
- var KillmailSummarySchema = z19.looseObject({
972
- killmail_id: z19.number(),
973
- killmail_hash: z19.string()
974
- });
975
- var KillmailSchema = z19.looseObject({
976
- killmail_id: z19.number(),
977
- killmail_time: z19.string(),
978
- solar_system_id: z19.number(),
979
- moon_id: z19.number().optional(),
980
- war_id: z19.number().optional(),
981
- victim: z19.looseObject({
982
- character_id: z19.number().optional(),
983
- corporation_id: z19.number().optional(),
984
- alliance_id: z19.number().optional(),
985
- faction_id: z19.number().optional(),
986
- ship_type_id: z19.number(),
987
- damage_taken: z19.number(),
988
- position: z19.looseObject({
989
- x: z19.number(),
990
- y: z19.number(),
991
- z: z19.number()
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: z19.array(z19.unknown()).optional()
1011
+ items: z20.array(z20.unknown()).optional()
994
1012
  }),
995
- attackers: z19.array(
996
- z19.looseObject({
997
- character_id: z19.number().optional(),
998
- corporation_id: z19.number().optional(),
999
- alliance_id: z19.number().optional(),
1000
- faction_id: z19.number().optional(),
1001
- ship_type_id: z19.number().optional(),
1002
- weapon_type_id: z19.number().optional(),
1003
- damage_done: z19.number(),
1004
- final_blow: z19.boolean(),
1005
- security_status: z19.number()
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 z20 } from "zod";
1012
- var CharacterLocationSchema = z20.looseObject({
1013
- solar_system_id: z20.number(),
1014
- station_id: z20.number().optional(),
1015
- structure_id: z20.number().optional()
1016
- });
1017
- var CharacterOnlineSchema = z20.looseObject({
1018
- online: z20.boolean(),
1019
- last_login: z20.string().optional(),
1020
- last_logout: z20.string().optional(),
1021
- logins: z20.number().optional()
1022
- });
1023
- var CharacterShipSchema = z20.looseObject({
1024
- ship_item_id: z20.number(),
1025
- ship_name: z20.string(),
1026
- ship_type_id: z20.number()
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 z21 } from "zod";
1031
- var LoyaltyPointsSchema = z21.looseObject({
1032
- corporation_id: z21.number(),
1033
- loyalty_points: z21.number()
1034
- });
1035
- var LoyaltyStoreOfferSchema = z21.looseObject({
1036
- offer_id: z21.number(),
1037
- type_id: z21.number(),
1038
- quantity: z21.number(),
1039
- lp_cost: z21.number(),
1040
- isk_cost: z21.number(),
1041
- ak_cost: z21.number().optional(),
1042
- required_items: z21.array(
1043
- z21.looseObject({
1044
- type_id: z21.number(),
1045
- quantity: z21.number()
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 z22 } from "zod";
1052
- var MailMessageSchema = z22.looseObject({
1053
- mail_id: z22.number().optional(),
1054
- subject: z22.string().optional(),
1055
- from: z22.number().optional(),
1056
- timestamp: z22.string().optional(),
1057
- labels: z22.array(z22.number()).optional(),
1058
- is_read: z22.boolean().optional(),
1059
- body: z22.string().optional(),
1060
- recipients: z22.array(
1061
- z22.looseObject({
1062
- recipient_id: z22.number(),
1063
- recipient_type: z22.enum([
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 = z22.looseObject({
1073
- label_id: z22.number(),
1074
- name: z22.string(),
1075
- color: z22.string().optional(),
1076
- unread_count: z22.number().optional()
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 = z22.looseObject({
1079
- labels: z22.array(MailLabelSchema).optional(),
1080
- total_unread_count: z22.number().optional()
1096
+ var MailLabelsResponseSchema = z23.looseObject({
1097
+ labels: z23.array(MailLabelSchema).optional(),
1098
+ total_unread_count: z23.number().optional()
1081
1099
  });
1082
- var MailingListSchema = z22.looseObject({
1083
- mailing_list_id: z22.number(),
1084
- name: z22.string()
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 MercenaryDenSchema = z24.looseObject({
1208
- den_id: z24.number(),
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
- constellation_id: z24.number(),
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
- development_level: z24.number().optional(),
1213
- anarchy_level: z24.number().optional(),
1214
- active_operations: z24.number().optional()
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
- var MercenaryTacticalOperationSchema = z24.looseObject({
1217
- operation_id: z24.number(),
1218
- den_id: z24.number(),
1219
- system_id: z24.number(),
1220
- site_type: z24.string(),
1221
- status: z24.enum(["spawning", "active", "completed", "expired"]),
1222
- started_at: z24.string().optional(),
1223
- expires_at: z24.string().optional()
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 z25 } from "zod";
1228
- var PlanetaryColonySchema = z25.looseObject({
1229
- solar_system_id: z25.number(),
1230
- planet_id: z25.number(),
1231
- planet_type: z25.enum([
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: z25.number(),
1242
- last_update: z25.string(),
1243
- upgrade_level: z25.number(),
1244
- num_pins: z25.number()
1245
- });
1246
- var CustomsOfficeSchema = z25.looseObject({
1247
- office_id: z25.number(),
1248
- system_id: z25.number(),
1249
- reinforce_exit_start: z25.number(),
1250
- reinforce_exit_end: z25.number(),
1251
- allow_access_with_standings: z25.boolean().optional(),
1252
- allow_alliance_access: z25.boolean().optional(),
1253
- alliance_tax_rate: z25.number().optional(),
1254
- corporation_tax_rate: z25.number().optional(),
1255
- standing_level: z25.string().optional(),
1256
- terrible_standing_tax_rate: z25.number().optional(),
1257
- bad_standing_tax_rate: z25.number().optional(),
1258
- neutral_standing_tax_rate: z25.number().optional(),
1259
- good_standing_tax_rate: z25.number().optional(),
1260
- excellent_standing_tax_rate: z25.number().optional(),
1261
- type_id: z25.number().optional()
1262
- });
1263
- var ColonyLayoutSchema = z25.looseObject({
1264
- links: z25.array(
1265
- z25.looseObject({
1266
- source_pin_id: z25.number(),
1267
- destination_pin_id: z25.number(),
1268
- link_level: z25.number()
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: z25.array(
1272
- z25.looseObject({
1273
- pin_id: z25.number(),
1274
- type_id: z25.number(),
1275
- latitude: z25.number(),
1276
- longitude: z25.number(),
1277
- schematic_id: z25.number().optional(),
1278
- extractor_details: z25.looseObject({
1279
- heads: z25.array(
1280
- z25.looseObject({
1281
- head_id: z25.number(),
1282
- latitude: z25.number(),
1283
- longitude: z25.number()
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: z25.number().optional(),
1287
- cycle_time: z25.number().optional(),
1288
- head_radius: z25.number().optional(),
1289
- qty_per_cycle: z25.number().optional()
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: z25.looseObject({
1292
- schematic_id: z25.number()
1359
+ factory_details: z28.looseObject({
1360
+ schematic_id: z28.number()
1293
1361
  }).optional(),
1294
- contents: z25.array(
1295
- z25.looseObject({
1296
- type_id: z25.number(),
1297
- amount: z25.number()
1362
+ contents: z28.array(
1363
+ z28.looseObject({
1364
+ type_id: z28.number(),
1365
+ amount: z28.number()
1298
1366
  })
1299
1367
  ).optional(),
1300
- install_time: z25.string().optional(),
1301
- expiry_time: z25.string().optional(),
1302
- last_cycle_start: z25.string().optional()
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: z25.array(
1306
- z25.looseObject({
1307
- route_id: z25.number(),
1308
- source_pin_id: z25.number(),
1309
- destination_pin_id: z25.number(),
1310
- content_type_id: z25.number(),
1311
- quantity: z25.number(),
1312
- waypoints: z25.array(z25.number()).optional()
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 z26 } from "zod";
1319
- var CharacterSkillSchema = z26.looseObject({
1320
- skill_id: z26.number(),
1321
- skillpoints_in_skill: z26.number(),
1322
- trained_skill_level: z26.number(),
1323
- active_skill_level: z26.number()
1324
- });
1325
- var CharacterSkillsResponseSchema = z26.looseObject({
1326
- skills: z26.array(
1327
- z26.looseObject({
1328
- skill_id: z26.number(),
1329
- skillpoints_in_skill: z26.number(),
1330
- trained_skill_level: z26.number(),
1331
- active_skill_level: z26.number()
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: z26.number(),
1335
- unallocated_sp: z26.number().optional()
1336
- });
1337
- var SkillQueueSchema = z26.looseObject({
1338
- skill_id: z26.number(),
1339
- finished_level: z26.number(),
1340
- queue_position: z26.number(),
1341
- level_end_sp: z26.number().optional(),
1342
- level_start_sp: z26.number().optional(),
1343
- training_start_sp: z26.number().optional(),
1344
- start_date: z26.string().optional(),
1345
- finish_date: z26.string().optional()
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 z27 } from "zod";
1350
- var SovereigntyHubSchema = z27.looseObject({
1351
- structure_id: z27.number(),
1352
- system_id: z27.number(),
1353
- corporation_id: z27.number(),
1354
- alliance_id: z27.number().optional(),
1355
- online: z27.boolean(),
1356
- remaining_reagents: z27.number().optional(),
1357
- installed_upgrades: z27.array(z27.number()).optional()
1358
- });
1359
- var OrbitalSkyhookSchema = z27.looseObject({
1360
- structure_id: z27.number(),
1361
- system_id: z27.number(),
1362
- corporation_id: z27.number(),
1363
- alliance_id: z27.number().optional(),
1364
- online: z27.boolean(),
1365
- reagent_silo_capacity: z27.number().optional(),
1366
- reagent_silo_level: z27.number().optional()
1367
- });
1368
- var RaidableSkyhookSchema = z27.looseObject({
1369
- structure_id: z27.number(),
1370
- system_id: z27.number(),
1371
- corporation_id: z27.number(),
1372
- alliance_id: z27.number().optional(),
1373
- raidable_at: z27.string().optional(),
1374
- is_raidable: z27.boolean()
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 z28 } from "zod";
1379
- var SovereigntyCampaignSchema = z28.looseObject({
1380
- campaign_id: z28.number(),
1381
- structure_id: z28.number(),
1382
- solar_system_id: z28.number(),
1383
- constellation_id: z28.number(),
1384
- event_type: z28.enum([
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: z28.string(),
1391
- defender_id: z28.number().optional(),
1392
- defender_score: z28.number().optional(),
1393
- attackers_score: z28.number().optional(),
1394
- participants: z28.array(
1395
- z28.looseObject({
1396
- alliance_id: z28.number(),
1397
- score: z28.number()
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 = z28.looseObject({
1402
- alliance_id: z28.number().optional(),
1403
- solar_system_id: z28.number().optional(),
1404
- structure_id: z28.number(),
1405
- structure_type_id: z28.number(),
1406
- vulnerability_occupancy_level: z28.number().optional(),
1407
- vulnerable_start_time: z28.string().optional(),
1408
- vulnerable_end_time: z28.string().optional()
1409
- });
1410
- var SovereigntyVulnerabilityWindowSchema = z28.looseObject({
1411
- start: z28.string(),
1412
- end: z28.string()
1413
- });
1414
- var SovereigntyHubSchema2 = z28.looseObject({
1415
- id: z28.number(),
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 = z28.looseObject({
1419
- activity_defense_multiplier: z28.number().optional(),
1420
- military_level: z28.number().optional(),
1421
- industrial_level: z28.number().optional(),
1422
- strategic_level: z28.number().optional()
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 = z28.looseObject({
1425
- alliance_id: z28.number(),
1426
- corporation_id: z28.number().optional(),
1427
- claimed_since: z28.string().optional(),
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: z28.boolean().optional(),
1497
+ is_capital_system: z31.boolean().optional(),
1430
1498
  development: SovereigntyDevelopmentSchema.optional()
1431
1499
  });
1432
- var SovereigntyFactionClaimSchema = z28.looseObject({
1433
- faction_id: z28.number()
1500
+ var SovereigntyFactionClaimSchema = z31.looseObject({
1501
+ faction_id: z31.number()
1434
1502
  });
1435
- var SovereigntyClaimSchema = z28.looseObject({
1503
+ var SovereigntyClaimSchema = z31.looseObject({
1436
1504
  alliance: SovereigntyAllianceClaimSchema.optional(),
1437
1505
  faction: SovereigntyFactionClaimSchema.optional(),
1438
- unclaimed: z28.boolean().optional()
1506
+ unclaimed: z31.boolean().optional()
1439
1507
  });
1440
- var SovereigntySystemEntrySchema = z28.looseObject({
1441
- solar_system_id: z28.number(),
1508
+ var SovereigntySystemEntrySchema = z31.looseObject({
1509
+ solar_system_id: z31.number(),
1442
1510
  claim: SovereigntyClaimSchema
1443
1511
  });
1444
- var SovereigntySystemSchema = z28.looseObject({
1445
- solar_systems: z28.array(SovereigntySystemEntrySchema)
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 z29 } from "zod";
1450
- var ServerStatusSchema = z29.looseObject({
1451
- players: z29.number(),
1452
- server_version: z29.string(),
1453
- start_time: z29.string(),
1454
- vip: z29.boolean().optional()
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 z30 } from "zod";
1459
- var PositionSchema = z30.looseObject({
1460
- x: z30.number(),
1461
- y: z30.number(),
1462
- z: z30.number()
1463
- });
1464
- var SolarSystemInfoSchema = z30.looseObject({
1465
- system_id: z30.number(),
1466
- name: z30.string(),
1467
- constellation_id: z30.number(),
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: z30.string().optional(),
1470
- security_status: z30.number(),
1471
- star_id: z30.number().optional(),
1472
- stargates: z30.array(z30.number()).optional(),
1473
- stations: z30.array(z30.number()).optional(),
1474
- planets: z30.array(
1475
- z30.looseObject({
1476
- asteroid_belts: z30.array(z30.number()).optional(),
1477
- moons: z30.array(z30.number()).optional(),
1478
- planet_id: z30.number()
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 = z30.looseObject({
1483
- constellation_id: z30.number(),
1484
- name: z30.string(),
1485
- region_id: z30.number(),
1486
- systems: z30.array(z30.number()),
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 = z30.looseObject({
1490
- region_id: z30.number(),
1491
- name: z30.string(),
1492
- description: z30.string().optional(),
1493
- constellations: z30.array(z30.number())
1494
- });
1495
- var AncestrySchema = z30.looseObject({
1496
- id: z30.number(),
1497
- name: z30.string(),
1498
- bloodline_id: z30.number(),
1499
- description: z30.string(),
1500
- short_description: z30.string().optional(),
1501
- icon_id: z30.number().optional()
1502
- });
1503
- var BloodlineSchema = z30.looseObject({
1504
- bloodline_id: z30.number(),
1505
- name: z30.string(),
1506
- description: z30.string(),
1507
- race_id: z30.number(),
1508
- corporation_id: z30.number(),
1509
- ship_type_id: z30.number().nullable(),
1510
- charisma: z30.number(),
1511
- intelligence: z30.number(),
1512
- memory: z30.number(),
1513
- perception: z30.number(),
1514
- willpower: z30.number()
1515
- });
1516
- var FactionSchema = z30.looseObject({
1517
- faction_id: z30.number(),
1518
- name: z30.string(),
1519
- description: z30.string(),
1520
- size_factor: z30.number(),
1521
- station_count: z30.number(),
1522
- station_system_count: z30.number(),
1523
- is_unique: z30.boolean(),
1524
- solar_system_id: z30.number().optional(),
1525
- corporation_id: z30.number().optional(),
1526
- militia_corporation_id: z30.number().optional()
1527
- });
1528
- var RaceSchema = z30.looseObject({
1529
- race_id: z30.number(),
1530
- name: z30.string(),
1531
- description: z30.string(),
1532
- alliance_id: z30.number()
1533
- });
1534
- var StationInfoSchema = z30.looseObject({
1535
- station_id: z30.number(),
1536
- name: z30.string(),
1537
- owner: z30.number().optional(),
1538
- system_id: z30.number(),
1539
- type_id: z30.number(),
1540
- race_id: z30.number().optional(),
1541
- reprocessing_efficiency: z30.number(),
1542
- reprocessing_stations_take: z30.number(),
1543
- max_dockable_ship_volume: z30.number(),
1544
- office_rental_cost: z30.number(),
1545
- services: z30.array(z30.string()),
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 = z30.looseObject({
1549
- type_id: z30.number(),
1550
- name: z30.string(),
1551
- description: z30.string(),
1552
- published: z30.boolean(),
1553
- group_id: z30.number(),
1554
- market_group_id: z30.number().optional(),
1555
- radius: z30.number().optional(),
1556
- volume: z30.number().optional(),
1557
- packaged_volume: z30.number().optional(),
1558
- capacity: z30.number().optional(),
1559
- portion_size: z30.number().optional(),
1560
- mass: z30.number().optional(),
1561
- icon_id: z30.number().optional(),
1562
- graphic_id: z30.number().optional(),
1563
- dogma_attributes: z30.array(
1564
- z30.looseObject({
1565
- attribute_id: z30.number(),
1566
- value: z30.number()
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: z30.array(
1570
- z30.looseObject({
1571
- effect_id: z30.number(),
1572
- is_default: z30.boolean()
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 = z30.looseObject({
1577
- name: z30.string(),
1644
+ var AsteroidBeltInfoSchema = z33.looseObject({
1645
+ name: z33.string(),
1578
1646
  position: PositionSchema,
1579
- system_id: z30.number()
1580
- });
1581
- var GraphicInfoSchema = z30.looseObject({
1582
- graphic_id: z30.number(),
1583
- collision_file: z30.string().optional(),
1584
- graphic_file: z30.string().optional(),
1585
- icon_folder: z30.string().optional(),
1586
- sof_dna: z30.string().optional(),
1587
- sof_fation_name: z30.string().optional(),
1588
- sof_hull_name: z30.string().optional(),
1589
- sof_race_name: z30.string().optional()
1590
- });
1591
- var ItemCategorySchema = z30.looseObject({
1592
- category_id: z30.number(),
1593
- name: z30.string(),
1594
- groups: z30.array(z30.number()),
1595
- published: z30.boolean()
1596
- });
1597
- var ItemGroupSchema = z30.looseObject({
1598
- group_id: z30.number(),
1599
- name: z30.string(),
1600
- category_id: z30.number(),
1601
- types: z30.array(z30.number()),
1602
- published: z30.boolean()
1603
- });
1604
- var MoonInfoSchema = z30.looseObject({
1605
- moon_id: z30.number(),
1606
- name: z30.string(),
1607
- system_id: z30.number(),
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 = z30.looseObject({
1611
- planet_id: z30.number(),
1612
- name: z30.string(),
1613
- system_id: z30.number(),
1614
- type_id: z30.number(),
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 = z30.looseObject({
1618
- star_id: z30.number().optional(),
1619
- solar_system_id: z30.number(),
1620
- name: z30.string(),
1621
- type_id: z30.number(),
1622
- age: z30.number(),
1623
- luminosity: z30.number(),
1624
- radius: z30.number(),
1625
- spectral_class: z30.string(),
1626
- temperature: z30.number()
1627
- });
1628
- var StargateInfoSchema = z30.looseObject({
1629
- stargate_id: z30.number(),
1630
- name: z30.string(),
1631
- system_id: z30.number(),
1632
- type_id: z30.number(),
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: z30.looseObject({
1635
- system_id: z30.number(),
1636
- stargate_id: z30.number()
1702
+ destination: z33.looseObject({
1703
+ system_id: z33.number(),
1704
+ stargate_id: z33.number()
1637
1705
  })
1638
1706
  });
1639
- var StructureInfoSchema = z30.looseObject({
1640
- structure_id: z30.number().optional(),
1641
- name: z30.string(),
1642
- owner_id: z30.number(),
1643
- solar_system_id: z30.number(),
1644
- type_id: z30.number().optional(),
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 = z30.looseObject({
1648
- system_id: z30.number(),
1649
- ship_jumps: z30.number()
1650
- });
1651
- var SystemKillSchema = z30.looseObject({
1652
- system_id: z30.number(),
1653
- npc_kills: z30.number(),
1654
- pod_kills: z30.number(),
1655
- ship_kills: z30.number()
1656
- });
1657
- var IdNameSchema = z30.looseObject({
1658
- id: z30.number(),
1659
- name: z30.string()
1660
- });
1661
- var BulkIdResultSchema = z30.looseObject({
1662
- agents: z30.array(IdNameSchema).optional(),
1663
- alliances: z30.array(IdNameSchema).optional(),
1664
- characters: z30.array(IdNameSchema).optional(),
1665
- constellations: z30.array(IdNameSchema).optional(),
1666
- corporations: z30.array(IdNameSchema).optional(),
1667
- factions: z30.array(IdNameSchema).optional(),
1668
- inventory_types: z30.array(IdNameSchema).optional(),
1669
- regions: z30.array(IdNameSchema).optional(),
1670
- systems: z30.array(IdNameSchema).optional(),
1671
- stations: z30.array(IdNameSchema).optional()
1672
- });
1673
- var NameAndCategorySchema = z30.looseObject({
1674
- id: z30.number(),
1675
- name: z30.string(),
1676
- category: z30.enum([
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 = z30.looseObject({
1689
- schematic_name: z30.string(),
1690
- cycle_time: z30.number()
1691
- });
1692
- var SearchResultSchema = z30.looseObject({
1693
- agent: z30.array(z30.number()).optional(),
1694
- alliance: z30.array(z30.number()).optional(),
1695
- character: z30.array(z30.number()).optional(),
1696
- constellation: z30.array(z30.number()).optional(),
1697
- corporation: z30.array(z30.number()).optional(),
1698
- faction: z30.array(z30.number()).optional(),
1699
- inventory_type: z30.array(z30.number()).optional(),
1700
- region: z30.array(z30.number()).optional(),
1701
- solar_system: z30.array(z30.number()).optional(),
1702
- station: z30.array(z30.number()).optional(),
1703
- structure: z30.array(z30.number()).optional()
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 z31 } from "zod";
1708
- var WalletTransactionSchema = z31.looseObject({
1709
- transaction_id: z31.number(),
1710
- date: z31.string(),
1711
- type_id: z31.number(),
1712
- location_id: z31.number(),
1713
- unit_price: z31.number(),
1714
- quantity: z31.number(),
1715
- client_id: z31.number(),
1716
- is_buy: z31.boolean(),
1717
- is_personal: z31.boolean(),
1718
- journal_ref_id: z31.number()
1719
- });
1720
- var WalletJournalSchema = z31.looseObject({
1721
- id: z31.number(),
1722
- date: z31.string(),
1723
- ref_type: z31.string(),
1724
- first_party_id: z31.number().optional(),
1725
- second_party_id: z31.number().optional(),
1726
- amount: z31.number().optional(),
1727
- balance: z31.number().optional(),
1728
- reason: z31.string().optional(),
1729
- description: z31.string(),
1730
- context_id: z31.number().optional(),
1731
- context_id_type: z31.string().optional(),
1732
- tax: z31.number().optional(),
1733
- tax_receiver_id: z31.number().optional()
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 z32 } from "zod";
1738
- var WarSchema = z32.looseObject({
1739
- id: z32.number(),
1740
- declared: z32.string(),
1741
- started: z32.string().optional(),
1742
- finished: z32.string().optional(),
1743
- retracted: z32.string().optional(),
1744
- mutual: z32.boolean(),
1745
- open_for_allies: z32.boolean(),
1746
- aggressor: z32.looseObject({
1747
- corporation_id: z32.number().optional(),
1748
- alliance_id: z32.number().optional(),
1749
- isk_destroyed: z32.number(),
1750
- ships_killed: z32.number()
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: z32.looseObject({
1753
- corporation_id: z32.number().optional(),
1754
- alliance_id: z32.number().optional(),
1755
- isk_destroyed: z32.number(),
1756
- ships_killed: z32.number()
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: z32.array(
1759
- z32.looseObject({
1760
- corporation_id: z32.number().optional(),
1761
- alliance_id: z32.number().optional()
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,