@rundit-sdk/embed 0.1.1 → 0.2.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/openapi.json CHANGED
@@ -62,7 +62,7 @@
62
62
  "schema": {
63
63
  "type": "array",
64
64
  "items": {
65
- "$ref": "#/components/schemas/SdkCompanyDto"
65
+ "$ref": "#/components/schemas/SdkCompactCompanyDto"
66
66
  }
67
67
  }
68
68
  }
@@ -104,7 +104,7 @@
104
104
  "schema": {
105
105
  "type": "array",
106
106
  "items": {
107
- "$ref": "#/components/schemas/SdkCompanyGroupDto"
107
+ "$ref": "#/components/schemas/SdkCompactCompanyGroupDto"
108
108
  }
109
109
  }
110
110
  }
@@ -366,7 +366,60 @@
366
366
  "schema": {
367
367
  "type": "array",
368
368
  "items": {
369
- "$ref": "#/components/schemas/SdkTransactionDto"
369
+ "oneOf": [
370
+ {
371
+ "$ref": "#/components/schemas/SdkEquityTransactionDto"
372
+ },
373
+ {
374
+ "$ref": "#/components/schemas/SdkConvertibleNoteTransactionDto"
375
+ },
376
+ {
377
+ "$ref": "#/components/schemas/SdkFutureEquityAgreementTransactionDto"
378
+ },
379
+ {
380
+ "$ref": "#/components/schemas/SdkExtendTransactionDto"
381
+ },
382
+ {
383
+ "$ref": "#/components/schemas/SdkConversionTransactionDto"
384
+ },
385
+ {
386
+ "$ref": "#/components/schemas/SdkExitTransactionDto"
387
+ },
388
+ {
389
+ "$ref": "#/components/schemas/SdkValuationChangeTransactionDto"
390
+ },
391
+ {
392
+ "$ref": "#/components/schemas/SdkInsolvencyTransactionDto"
393
+ },
394
+ {
395
+ "$ref": "#/components/schemas/SdkOtherInvestmentTransactionDto"
396
+ }
397
+ ],
398
+ "discriminator": {
399
+ "propertyName": "type",
400
+ "mapping": {
401
+ "EquityInvestment": "#/components/schemas/SdkEquityTransactionDto",
402
+ "EquityReceived": "#/components/schemas/SdkEquityTransactionDto",
403
+ "OptionsReceived": "#/components/schemas/SdkEquityTransactionDto",
404
+ "ConvertibleNote": "#/components/schemas/SdkConvertibleNoteTransactionDto",
405
+ "FutureEquityAgreement": "#/components/schemas/SdkFutureEquityAgreementTransactionDto",
406
+ "Extend": "#/components/schemas/SdkExtendTransactionDto",
407
+ "ConvertToEquity": "#/components/schemas/SdkConversionTransactionDto",
408
+ "Payback": "#/components/schemas/SdkConversionTransactionDto",
409
+ "WriteOff": "#/components/schemas/SdkConversionTransactionDto",
410
+ "TradeSale": "#/components/schemas/SdkExitTransactionDto",
411
+ "IPO": "#/components/schemas/SdkExitTransactionDto",
412
+ "Auction": "#/components/schemas/SdkExitTransactionDto",
413
+ "LimitedAuction": "#/components/schemas/SdkExitTransactionDto",
414
+ "Proprietary": "#/components/schemas/SdkExitTransactionDto",
415
+ "OtherExit": "#/components/schemas/SdkExitTransactionDto",
416
+ "Dividend": "#/components/schemas/SdkExitTransactionDto",
417
+ "OtherRealization": "#/components/schemas/SdkExitTransactionDto",
418
+ "ValuationChange": "#/components/schemas/SdkValuationChangeTransactionDto",
419
+ "Insolvency": "#/components/schemas/SdkInsolvencyTransactionDto",
420
+ "OtherInvestment": "#/components/schemas/SdkOtherInvestmentTransactionDto"
421
+ }
422
+ }
370
423
  }
371
424
  }
372
425
  }
@@ -433,7 +486,60 @@
433
486
  "schema": {
434
487
  "type": "array",
435
488
  "items": {
436
- "$ref": "#/components/schemas/SdkTransactionDto"
489
+ "oneOf": [
490
+ {
491
+ "$ref": "#/components/schemas/SdkEquityTransactionDto"
492
+ },
493
+ {
494
+ "$ref": "#/components/schemas/SdkConvertibleNoteTransactionDto"
495
+ },
496
+ {
497
+ "$ref": "#/components/schemas/SdkFutureEquityAgreementTransactionDto"
498
+ },
499
+ {
500
+ "$ref": "#/components/schemas/SdkExtendTransactionDto"
501
+ },
502
+ {
503
+ "$ref": "#/components/schemas/SdkConversionTransactionDto"
504
+ },
505
+ {
506
+ "$ref": "#/components/schemas/SdkExitTransactionDto"
507
+ },
508
+ {
509
+ "$ref": "#/components/schemas/SdkValuationChangeTransactionDto"
510
+ },
511
+ {
512
+ "$ref": "#/components/schemas/SdkInsolvencyTransactionDto"
513
+ },
514
+ {
515
+ "$ref": "#/components/schemas/SdkOtherInvestmentTransactionDto"
516
+ }
517
+ ],
518
+ "discriminator": {
519
+ "propertyName": "type",
520
+ "mapping": {
521
+ "EquityInvestment": "#/components/schemas/SdkEquityTransactionDto",
522
+ "EquityReceived": "#/components/schemas/SdkEquityTransactionDto",
523
+ "OptionsReceived": "#/components/schemas/SdkEquityTransactionDto",
524
+ "ConvertibleNote": "#/components/schemas/SdkConvertibleNoteTransactionDto",
525
+ "FutureEquityAgreement": "#/components/schemas/SdkFutureEquityAgreementTransactionDto",
526
+ "Extend": "#/components/schemas/SdkExtendTransactionDto",
527
+ "ConvertToEquity": "#/components/schemas/SdkConversionTransactionDto",
528
+ "Payback": "#/components/schemas/SdkConversionTransactionDto",
529
+ "WriteOff": "#/components/schemas/SdkConversionTransactionDto",
530
+ "TradeSale": "#/components/schemas/SdkExitTransactionDto",
531
+ "IPO": "#/components/schemas/SdkExitTransactionDto",
532
+ "Auction": "#/components/schemas/SdkExitTransactionDto",
533
+ "LimitedAuction": "#/components/schemas/SdkExitTransactionDto",
534
+ "Proprietary": "#/components/schemas/SdkExitTransactionDto",
535
+ "OtherExit": "#/components/schemas/SdkExitTransactionDto",
536
+ "Dividend": "#/components/schemas/SdkExitTransactionDto",
537
+ "OtherRealization": "#/components/schemas/SdkExitTransactionDto",
538
+ "ValuationChange": "#/components/schemas/SdkValuationChangeTransactionDto",
539
+ "Insolvency": "#/components/schemas/SdkInsolvencyTransactionDto",
540
+ "OtherInvestment": "#/components/schemas/SdkOtherInvestmentTransactionDto"
541
+ }
542
+ }
437
543
  }
438
544
  }
439
545
  }
@@ -501,7 +607,20 @@
501
607
  },
502
608
  "type": {
503
609
  "type": "string",
504
- "description": "Company type",
610
+ "description": "Company type"
611
+ },
612
+ "website": {
613
+ "type": "string",
614
+ "description": "Company website URL",
615
+ "nullable": true
616
+ },
617
+ "currency": {
618
+ "type": "string",
619
+ "description": "Company reporting currency as ISO 4217 code (e.g. USD, EUR)"
620
+ },
621
+ "logoImageFileUuid": {
622
+ "type": "string",
623
+ "description": "Logo image file UUID",
505
624
  "nullable": true
506
625
  },
507
626
  "legalName": {
@@ -514,9 +633,61 @@
514
633
  "description": "Company lifecycle status",
515
634
  "nullable": true
516
635
  },
517
- "websiteUrl": {
636
+ "description": {
518
637
  "type": "string",
519
- "description": "Company website URL",
638
+ "description": "Company description",
639
+ "nullable": true
640
+ },
641
+ "vision": {
642
+ "type": "string",
643
+ "description": "Company vision statement",
644
+ "nullable": true
645
+ },
646
+ "address": {
647
+ "type": "string",
648
+ "description": "Street address",
649
+ "nullable": true
650
+ },
651
+ "city": {
652
+ "type": "string",
653
+ "description": "City",
654
+ "nullable": true
655
+ },
656
+ "state": {
657
+ "type": "string",
658
+ "description": "State or region",
659
+ "nullable": true
660
+ },
661
+ "country": {
662
+ "type": "string",
663
+ "description": "Country",
664
+ "nullable": true
665
+ },
666
+ "operatingCountries": {
667
+ "description": "Countries the company operates in",
668
+ "type": "array",
669
+ "items": {
670
+ "type": "string"
671
+ }
672
+ },
673
+ "vatNumber": {
674
+ "type": "string",
675
+ "description": "VAT registration number",
676
+ "nullable": true
677
+ },
678
+ "foundingYear": {
679
+ "type": "number",
680
+ "description": "Year the company was founded",
681
+ "nullable": true
682
+ },
683
+ "established": {
684
+ "type": "string",
685
+ "description": "Date the company was established (ISO 8601)",
686
+ "nullable": true
687
+ },
688
+ "fundingTotal": {
689
+ "type": "number",
690
+ "description": "Total funding raised by the company",
520
691
  "nullable": true
521
692
  },
522
693
  "companyGroupIds": {
@@ -529,10 +700,47 @@
529
700
  },
530
701
  "required": [
531
702
  "id",
532
- "name"
703
+ "name",
704
+ "currency"
533
705
  ]
534
706
  },
535
- "SdkCompanyGroupDto": {
707
+ "SdkCompactCompanyDto": {
708
+ "type": "object",
709
+ "properties": {
710
+ "id": {
711
+ "type": "number",
712
+ "description": "Company identifier"
713
+ },
714
+ "name": {
715
+ "type": "string",
716
+ "description": "Company display name"
717
+ },
718
+ "type": {
719
+ "type": "string",
720
+ "description": "Company type"
721
+ },
722
+ "website": {
723
+ "type": "string",
724
+ "description": "Company website URL",
725
+ "nullable": true
726
+ },
727
+ "currency": {
728
+ "type": "string",
729
+ "description": "Company reporting currency as ISO 4217 code (e.g. USD, EUR)"
730
+ },
731
+ "logoImageFileUuid": {
732
+ "type": "string",
733
+ "description": "Logo image file UUID",
734
+ "nullable": true
735
+ }
736
+ },
737
+ "required": [
738
+ "id",
739
+ "name",
740
+ "currency"
741
+ ]
742
+ },
743
+ "SdkCompactCompanyGroupDto": {
536
744
  "type": "object",
537
745
  "properties": {
538
746
  "id": {
@@ -543,9 +751,279 @@
543
751
  "type": "string",
544
752
  "description": "Company group name"
545
753
  },
546
- "currency": {
754
+ "isDemo": {
755
+ "type": "boolean",
756
+ "description": "Whether this group holds demo data only"
757
+ },
758
+ "colorId": {
759
+ "type": "number",
760
+ "description": "UI theme color identifier",
761
+ "nullable": true
762
+ },
763
+ "companyIds": {
764
+ "description": "Company identifiers associated with the group",
765
+ "type": "array",
766
+ "items": {
767
+ "type": "number"
768
+ }
769
+ }
770
+ },
771
+ "required": [
772
+ "id",
773
+ "name",
774
+ "isDemo"
775
+ ]
776
+ },
777
+ "SdkCompanyGroupBasicInformationDto": {
778
+ "type": "object",
779
+ "properties": {
780
+ "fullName": {
781
+ "type": "string",
782
+ "description": "Full legal name of the fund or group",
783
+ "nullable": true
784
+ },
785
+ "domicile": {
786
+ "type": "string",
787
+ "description": "Country or jurisdiction of domicile",
788
+ "nullable": true
789
+ },
790
+ "managementCompany": {
791
+ "type": "string",
792
+ "description": "Name of the management company",
793
+ "nullable": true
794
+ },
795
+ "generalPartner": {
796
+ "type": "string",
797
+ "description": "Name of the general partner",
798
+ "nullable": true
799
+ },
800
+ "vintageYear": {
801
+ "type": "number",
802
+ "description": "Vintage year",
803
+ "nullable": true
804
+ },
805
+ "fundCurrency": {
806
+ "type": "string",
807
+ "description": "Fund currency (ISO 4217 code)",
808
+ "nullable": true
809
+ },
810
+ "closingDates": {
811
+ "description": "Closing dates (ISO 8601)",
812
+ "type": "array",
813
+ "items": {
814
+ "type": "string"
815
+ }
816
+ },
817
+ "legalForm": {
818
+ "type": "string",
819
+ "description": "Legal form",
820
+ "nullable": true
821
+ },
822
+ "term": {
823
+ "type": "string",
824
+ "description": "Fund term",
825
+ "nullable": true
826
+ },
827
+ "endedness": {
828
+ "type": "string",
829
+ "description": "Fund endedness (open/closed)",
830
+ "nullable": true
831
+ }
832
+ }
833
+ },
834
+ "SdkCompanyGroupInvestmentFocusDto": {
835
+ "type": "object",
836
+ "properties": {
837
+ "investmentFocusAndPlan": {
838
+ "type": "string",
839
+ "description": "Investment focus and plan",
840
+ "nullable": true
841
+ },
842
+ "investmentFocusStage": {
843
+ "type": "string",
844
+ "description": "Investment stage focus",
845
+ "nullable": true
846
+ },
847
+ "investmentFocusGeography": {
848
+ "type": "string",
849
+ "description": "Geographic focus",
850
+ "nullable": true
851
+ },
852
+ "investmentFocusIndustry": {
853
+ "type": "string",
854
+ "description": "Industry focus",
855
+ "nullable": true
856
+ },
857
+ "maximumInvestment": {
858
+ "type": "string",
859
+ "description": "Maximum single investment",
860
+ "nullable": true
861
+ },
862
+ "maximumLeverage": {
863
+ "type": "string",
864
+ "description": "Maximum leverage",
865
+ "nullable": true
866
+ },
867
+ "investmentPeriod": {
868
+ "type": "string",
869
+ "description": "Investment period",
870
+ "nullable": true
871
+ },
872
+ "valuationPolicyGuidelines": {
873
+ "type": "string",
874
+ "description": "Valuation policy and guidelines",
875
+ "nullable": true
876
+ },
877
+ "reInvestmentPolicy": {
878
+ "type": "string",
879
+ "description": "Re-investment policy",
880
+ "nullable": true
881
+ },
882
+ "otherInvestmentRestrictions": {
883
+ "type": "string",
884
+ "description": "Other investment restrictions",
885
+ "nullable": true
886
+ },
887
+ "accountingPrinciples": {
888
+ "type": "string",
889
+ "description": "Accounting principles",
890
+ "nullable": true
891
+ }
892
+ }
893
+ },
894
+ "SdkCompanyGroupKeyEconomicTermsDto": {
895
+ "type": "object",
896
+ "properties": {
897
+ "hurdleRateAndCarry": {
898
+ "type": "string",
899
+ "description": "Hurdle rate and carry",
900
+ "nullable": true
901
+ },
902
+ "managementFees": {
903
+ "type": "string",
904
+ "description": "Management fees",
905
+ "nullable": true
906
+ },
907
+ "carriedInterest": {
908
+ "type": "string",
909
+ "description": "Carried interest",
910
+ "nullable": true
911
+ },
912
+ "feeOffsets": {
913
+ "type": "string",
914
+ "description": "Fee offsets",
915
+ "nullable": true
916
+ }
917
+ }
918
+ },
919
+ "SdkCompanyGroupAifmdDto": {
920
+ "type": "object",
921
+ "properties": {
922
+ "financialConductAuthority": {
923
+ "type": "string",
924
+ "description": "Financial Conduct Authority registration",
925
+ "nullable": true
926
+ },
927
+ "depositary": {
928
+ "type": "string",
929
+ "description": "Depositary",
930
+ "nullable": true
931
+ },
932
+ "countryOfRegulation": {
933
+ "type": "string",
934
+ "description": "Country of regulation",
935
+ "nullable": true
936
+ },
937
+ "independentRiskManager": {
547
938
  "type": "string",
548
- "description": "Group currency code",
939
+ "description": "Independent risk manager",
940
+ "nullable": true
941
+ },
942
+ "independentValuer": {
943
+ "type": "string",
944
+ "description": "Independent valuer",
945
+ "nullable": true
946
+ }
947
+ }
948
+ },
949
+ "SdkCompanyGroupServiceProvidersDto": {
950
+ "type": "object",
951
+ "properties": {
952
+ "auditors": {
953
+ "type": "string",
954
+ "description": "Auditors",
955
+ "nullable": true
956
+ },
957
+ "administrator": {
958
+ "type": "string",
959
+ "description": "Administrator",
960
+ "nullable": true
961
+ },
962
+ "lawyer": {
963
+ "type": "string",
964
+ "description": "Lawyer",
965
+ "nullable": true
966
+ },
967
+ "bankingFacilities": {
968
+ "type": "string",
969
+ "description": "Banking facilities",
970
+ "nullable": true
971
+ },
972
+ "taxAndRegulatory": {
973
+ "type": "string",
974
+ "description": "Tax and regulatory advisors",
975
+ "nullable": true
976
+ },
977
+ "lpAdvisoryCommittee": {
978
+ "type": "string",
979
+ "description": "LP advisory committee",
980
+ "nullable": true
981
+ },
982
+ "membersOfLpAdvisoryCommittee": {
983
+ "type": "string",
984
+ "description": "Members of LP advisory committee",
985
+ "nullable": true
986
+ }
987
+ }
988
+ },
989
+ "SdkCompanyGroupDetailsDto": {
990
+ "type": "object",
991
+ "properties": {
992
+ "basicInformation": {
993
+ "$ref": "#/components/schemas/SdkCompanyGroupBasicInformationDto"
994
+ },
995
+ "investmentFocus": {
996
+ "$ref": "#/components/schemas/SdkCompanyGroupInvestmentFocusDto"
997
+ },
998
+ "keyEconomicTerms": {
999
+ "$ref": "#/components/schemas/SdkCompanyGroupKeyEconomicTermsDto"
1000
+ },
1001
+ "aifmd": {
1002
+ "$ref": "#/components/schemas/SdkCompanyGroupAifmdDto"
1003
+ },
1004
+ "serviceProviders": {
1005
+ "$ref": "#/components/schemas/SdkCompanyGroupServiceProvidersDto"
1006
+ }
1007
+ }
1008
+ },
1009
+ "SdkCompanyGroupDto": {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "id": {
1013
+ "type": "number",
1014
+ "description": "Company group identifier"
1015
+ },
1016
+ "name": {
1017
+ "type": "string",
1018
+ "description": "Company group name"
1019
+ },
1020
+ "isDemo": {
1021
+ "type": "boolean",
1022
+ "description": "Whether this group holds demo data only"
1023
+ },
1024
+ "colorId": {
1025
+ "type": "number",
1026
+ "description": "UI theme color identifier",
549
1027
  "nullable": true
550
1028
  },
551
1029
  "companyIds": {
@@ -559,13 +1037,22 @@
559
1037
  "description": "Companies associated with the group",
560
1038
  "type": "array",
561
1039
  "items": {
562
- "$ref": "#/components/schemas/SdkCompanyDto"
1040
+ "$ref": "#/components/schemas/SdkCompactCompanyDto"
563
1041
  }
1042
+ },
1043
+ "details": {
1044
+ "description": "Extended group/fund details",
1045
+ "allOf": [
1046
+ {
1047
+ "$ref": "#/components/schemas/SdkCompanyGroupDetailsDto"
1048
+ }
1049
+ ]
564
1050
  }
565
1051
  },
566
1052
  "required": [
567
1053
  "id",
568
- "name"
1054
+ "name",
1055
+ "isDemo"
569
1056
  ]
570
1057
  },
571
1058
  "SdkCompanyReferenceDto": {
@@ -581,8 +1068,7 @@
581
1068
  },
582
1069
  "type": {
583
1070
  "type": "string",
584
- "description": "Company type",
585
- "nullable": true
1071
+ "description": "Company type"
586
1072
  }
587
1073
  },
588
1074
  "required": [
@@ -1158,13 +1644,713 @@
1158
1644
  "numberOfCompanies"
1159
1645
  ]
1160
1646
  },
1161
- "SdkTransactionDto": {
1647
+ "SdkTransactionAdditionalInfoDto": {
1162
1648
  "type": "object",
1163
1649
  "properties": {
1164
- "id": {
1165
- "type": "number",
1650
+ "personResponsible": {
1651
+ "type": "string",
1652
+ "description": "Person responsible for the transaction",
1653
+ "nullable": true
1654
+ },
1655
+ "rationale": {
1656
+ "type": "string",
1657
+ "description": "Rationale for the transaction",
1658
+ "nullable": true
1659
+ },
1660
+ "info": {
1661
+ "type": "string",
1662
+ "description": "Free-form note",
1663
+ "nullable": true
1664
+ },
1665
+ "warrant": {
1666
+ "type": "string",
1667
+ "description": "Warrant information",
1668
+ "nullable": true
1669
+ },
1670
+ "earnOut": {
1671
+ "type": "string",
1672
+ "description": "Earn-out information",
1673
+ "nullable": true
1674
+ }
1675
+ }
1676
+ },
1677
+ "SdkTransactionBaseDto": {
1678
+ "type": "object",
1679
+ "properties": {
1680
+ "id": {
1681
+ "type": "number",
1682
+ "description": "Transaction identifier"
1683
+ },
1684
+ "type": {
1685
+ "type": "string",
1686
+ "description": "Transaction type — discriminates the variant",
1687
+ "enum": [
1688
+ "Auction",
1689
+ "ConvertibleNote",
1690
+ "ConvertToEquity",
1691
+ "Dividend",
1692
+ "EquityInvestment",
1693
+ "EquityReceived",
1694
+ "Extend",
1695
+ "FutureEquityAgreement",
1696
+ "Insolvency",
1697
+ "IPO",
1698
+ "LimitedAuction",
1699
+ "OptionsReceived",
1700
+ "OtherExit",
1701
+ "OtherInvestment",
1702
+ "OtherRealization",
1703
+ "Payback",
1704
+ "Proprietary",
1705
+ "TradeSale",
1706
+ "ValuationChange",
1707
+ "WriteOff"
1708
+ ]
1709
+ },
1710
+ "date": {
1711
+ "type": "string",
1712
+ "description": "Transaction date (ISO 8601)"
1713
+ },
1714
+ "companyId": {
1715
+ "type": "number",
1716
+ "description": "Company identifier"
1717
+ },
1718
+ "companyGroupId": {
1719
+ "type": "number",
1720
+ "description": "Company group identifier",
1721
+ "nullable": true
1722
+ },
1723
+ "company": {
1724
+ "description": "Company reference",
1725
+ "allOf": [
1726
+ {
1727
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
1728
+ }
1729
+ ]
1730
+ },
1731
+ "companyGroup": {
1732
+ "description": "Company group reference",
1733
+ "allOf": [
1734
+ {
1735
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
1736
+ }
1737
+ ]
1738
+ },
1739
+ "currency": {
1740
+ "type": "string",
1741
+ "description": "Transaction currency as ISO 4217 code",
1742
+ "nullable": true
1743
+ },
1744
+ "additionalInfo": {
1745
+ "description": "Free-form annotations",
1746
+ "allOf": [
1747
+ {
1748
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
1749
+ }
1750
+ ]
1751
+ },
1752
+ "children": {
1753
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
1754
+ "type": "array",
1755
+ "items": {
1756
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
1757
+ }
1758
+ }
1759
+ },
1760
+ "required": [
1761
+ "id",
1762
+ "type",
1763
+ "date",
1764
+ "companyId"
1765
+ ]
1766
+ },
1767
+ "SdkEquityTransactionDto": {
1768
+ "type": "object",
1769
+ "properties": {
1770
+ "id": {
1771
+ "type": "number",
1772
+ "description": "Transaction identifier"
1773
+ },
1774
+ "type": {
1775
+ "type": "string",
1776
+ "description": "Equity-family transaction type",
1777
+ "enum": [
1778
+ "EquityInvestment",
1779
+ "EquityReceived",
1780
+ "OptionsReceived"
1781
+ ]
1782
+ },
1783
+ "date": {
1784
+ "type": "string",
1785
+ "description": "Transaction date (ISO 8601)"
1786
+ },
1787
+ "companyId": {
1788
+ "type": "number",
1789
+ "description": "Company identifier"
1790
+ },
1791
+ "companyGroupId": {
1792
+ "type": "number",
1793
+ "description": "Company group identifier",
1794
+ "nullable": true
1795
+ },
1796
+ "company": {
1797
+ "description": "Company reference",
1798
+ "allOf": [
1799
+ {
1800
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
1801
+ }
1802
+ ]
1803
+ },
1804
+ "companyGroup": {
1805
+ "description": "Company group reference",
1806
+ "allOf": [
1807
+ {
1808
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
1809
+ }
1810
+ ]
1811
+ },
1812
+ "currency": {
1813
+ "type": "string",
1814
+ "description": "Transaction currency as ISO 4217 code",
1815
+ "nullable": true
1816
+ },
1817
+ "additionalInfo": {
1818
+ "description": "Free-form annotations",
1819
+ "allOf": [
1820
+ {
1821
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
1822
+ }
1823
+ ]
1824
+ },
1825
+ "children": {
1826
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
1827
+ "type": "array",
1828
+ "items": {
1829
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
1830
+ }
1831
+ },
1832
+ "invested": {
1833
+ "type": "number",
1834
+ "description": "Cash invested (EquityInvestment only)",
1835
+ "nullable": true
1836
+ },
1837
+ "pricePerShare": {
1838
+ "type": "number",
1839
+ "description": "Price per share",
1840
+ "nullable": true
1841
+ },
1842
+ "sharesAcquired": {
1843
+ "type": "number",
1844
+ "description": "Shares acquired",
1845
+ "nullable": true
1846
+ },
1847
+ "sharesIssuedTotalDiluted": {
1848
+ "type": "number",
1849
+ "description": "Total shares issued (diluted)",
1850
+ "nullable": true
1851
+ },
1852
+ "sharesIssuedTotalCurrent": {
1853
+ "type": "number",
1854
+ "description": "Total shares issued (current)",
1855
+ "nullable": true
1856
+ },
1857
+ "companyPostMoneyValuation": {
1858
+ "type": "number",
1859
+ "description": "Company post-money valuation",
1860
+ "nullable": true
1861
+ }
1862
+ },
1863
+ "required": [
1864
+ "id",
1865
+ "type",
1866
+ "date",
1867
+ "companyId"
1868
+ ]
1869
+ },
1870
+ "SdkTransactionPaymentDto": {
1871
+ "type": "object",
1872
+ "properties": {
1873
+ "amount": {
1874
+ "type": "number",
1875
+ "description": "Payment amount"
1876
+ },
1877
+ "dueDate": {
1878
+ "type": "string",
1879
+ "description": "Due date (ISO 8601)"
1880
+ }
1881
+ },
1882
+ "required": [
1883
+ "amount",
1884
+ "dueDate"
1885
+ ]
1886
+ },
1887
+ "SdkConvertibleNoteTransactionDto": {
1888
+ "type": "object",
1889
+ "properties": {
1890
+ "id": {
1891
+ "type": "number",
1892
+ "description": "Transaction identifier"
1893
+ },
1894
+ "type": {
1895
+ "type": "string",
1896
+ "description": "Convertible note",
1897
+ "enum": [
1898
+ "ConvertibleNote"
1899
+ ]
1900
+ },
1901
+ "date": {
1902
+ "type": "string",
1903
+ "description": "Transaction date (ISO 8601)"
1904
+ },
1905
+ "companyId": {
1906
+ "type": "number",
1907
+ "description": "Company identifier"
1908
+ },
1909
+ "companyGroupId": {
1910
+ "type": "number",
1911
+ "description": "Company group identifier",
1912
+ "nullable": true
1913
+ },
1914
+ "company": {
1915
+ "description": "Company reference",
1916
+ "allOf": [
1917
+ {
1918
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
1919
+ }
1920
+ ]
1921
+ },
1922
+ "companyGroup": {
1923
+ "description": "Company group reference",
1924
+ "allOf": [
1925
+ {
1926
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
1927
+ }
1928
+ ]
1929
+ },
1930
+ "currency": {
1931
+ "type": "string",
1932
+ "description": "Transaction currency as ISO 4217 code",
1933
+ "nullable": true
1934
+ },
1935
+ "additionalInfo": {
1936
+ "description": "Free-form annotations",
1937
+ "allOf": [
1938
+ {
1939
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
1940
+ }
1941
+ ]
1942
+ },
1943
+ "children": {
1944
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
1945
+ "type": "array",
1946
+ "items": {
1947
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
1948
+ }
1949
+ },
1950
+ "invested": {
1951
+ "type": "number",
1952
+ "description": "Principal invested"
1953
+ },
1954
+ "valuationCap": {
1955
+ "type": "number",
1956
+ "description": "Valuation cap",
1957
+ "nullable": true
1958
+ },
1959
+ "discountRate": {
1960
+ "type": "number",
1961
+ "description": "Conversion discount rate",
1962
+ "nullable": true
1963
+ },
1964
+ "interestRate": {
1965
+ "type": "number",
1966
+ "description": "Annual interest rate",
1967
+ "nullable": true
1968
+ },
1969
+ "interestType": {
1970
+ "type": "string",
1971
+ "description": "Interest calculation type",
1972
+ "nullable": true
1973
+ },
1974
+ "compounded": {
1975
+ "type": "string",
1976
+ "description": "Compounding period",
1977
+ "nullable": true
1978
+ },
1979
+ "dayCountConvention": {
1980
+ "type": "string",
1981
+ "description": "Day count convention",
1982
+ "nullable": true
1983
+ },
1984
+ "maturityDate": {
1985
+ "type": "string",
1986
+ "description": "Maturity date (ISO 8601)",
1987
+ "nullable": true
1988
+ },
1989
+ "warrantedOwnership": {
1990
+ "type": "number",
1991
+ "description": "Warranted ownership (computed: invested / valuationCap)",
1992
+ "nullable": true
1993
+ },
1994
+ "payments": {
1995
+ "description": "Scheduled payments",
1996
+ "type": "array",
1997
+ "items": {
1998
+ "$ref": "#/components/schemas/SdkTransactionPaymentDto"
1999
+ }
2000
+ }
2001
+ },
2002
+ "required": [
2003
+ "id",
2004
+ "type",
2005
+ "date",
2006
+ "companyId",
2007
+ "invested"
2008
+ ]
2009
+ },
2010
+ "SdkFutureEquityAgreementTransactionDto": {
2011
+ "type": "object",
2012
+ "properties": {
2013
+ "id": {
2014
+ "type": "number",
2015
+ "description": "Transaction identifier"
2016
+ },
2017
+ "type": {
2018
+ "type": "string",
2019
+ "description": "Future equity agreement (SAFE)",
2020
+ "enum": [
2021
+ "FutureEquityAgreement"
2022
+ ]
2023
+ },
2024
+ "date": {
2025
+ "type": "string",
2026
+ "description": "Transaction date (ISO 8601)"
2027
+ },
2028
+ "companyId": {
2029
+ "type": "number",
2030
+ "description": "Company identifier"
2031
+ },
2032
+ "companyGroupId": {
2033
+ "type": "number",
2034
+ "description": "Company group identifier",
2035
+ "nullable": true
2036
+ },
2037
+ "company": {
2038
+ "description": "Company reference",
2039
+ "allOf": [
2040
+ {
2041
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2042
+ }
2043
+ ]
2044
+ },
2045
+ "companyGroup": {
2046
+ "description": "Company group reference",
2047
+ "allOf": [
2048
+ {
2049
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2050
+ }
2051
+ ]
2052
+ },
2053
+ "currency": {
2054
+ "type": "string",
2055
+ "description": "Transaction currency as ISO 4217 code",
2056
+ "nullable": true
2057
+ },
2058
+ "additionalInfo": {
2059
+ "description": "Free-form annotations",
2060
+ "allOf": [
2061
+ {
2062
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2063
+ }
2064
+ ]
2065
+ },
2066
+ "children": {
2067
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2068
+ "type": "array",
2069
+ "items": {
2070
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2071
+ }
2072
+ },
2073
+ "invested": {
2074
+ "type": "number",
2075
+ "description": "Cash invested"
2076
+ },
2077
+ "valuationCap": {
2078
+ "type": "number",
2079
+ "description": "Valuation cap",
2080
+ "nullable": true
2081
+ },
2082
+ "discountRate": {
2083
+ "type": "number",
2084
+ "description": "Conversion discount rate",
2085
+ "nullable": true
2086
+ },
2087
+ "valuationTiming": {
2088
+ "type": "string",
2089
+ "description": "Valuation timing (pre-money / post-money)",
2090
+ "nullable": true
2091
+ },
2092
+ "companyPostMoneyValuation": {
2093
+ "type": "number",
2094
+ "description": "Company post-money valuation",
2095
+ "nullable": true
2096
+ },
2097
+ "warrantedOwnership": {
2098
+ "type": "number",
2099
+ "description": "Warranted ownership (computed: invested / valuationCap)",
2100
+ "nullable": true
2101
+ }
2102
+ },
2103
+ "required": [
2104
+ "id",
2105
+ "type",
2106
+ "date",
2107
+ "companyId",
2108
+ "invested"
2109
+ ]
2110
+ },
2111
+ "SdkExtendTransactionDto": {
2112
+ "type": "object",
2113
+ "properties": {
2114
+ "id": {
2115
+ "type": "number",
2116
+ "description": "Transaction identifier"
2117
+ },
2118
+ "type": {
2119
+ "type": "string",
2120
+ "description": "Maturity extension",
2121
+ "enum": [
2122
+ "Extend"
2123
+ ]
2124
+ },
2125
+ "date": {
2126
+ "type": "string",
2127
+ "description": "Transaction date (ISO 8601)"
2128
+ },
2129
+ "companyId": {
2130
+ "type": "number",
2131
+ "description": "Company identifier"
2132
+ },
2133
+ "companyGroupId": {
2134
+ "type": "number",
2135
+ "description": "Company group identifier",
2136
+ "nullable": true
2137
+ },
2138
+ "company": {
2139
+ "description": "Company reference",
2140
+ "allOf": [
2141
+ {
2142
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2143
+ }
2144
+ ]
2145
+ },
2146
+ "companyGroup": {
2147
+ "description": "Company group reference",
2148
+ "allOf": [
2149
+ {
2150
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2151
+ }
2152
+ ]
2153
+ },
2154
+ "currency": {
2155
+ "type": "string",
2156
+ "description": "Transaction currency as ISO 4217 code",
2157
+ "nullable": true
2158
+ },
2159
+ "additionalInfo": {
2160
+ "description": "Free-form annotations",
2161
+ "allOf": [
2162
+ {
2163
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2164
+ }
2165
+ ]
2166
+ },
2167
+ "children": {
2168
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2169
+ "type": "array",
2170
+ "items": {
2171
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2172
+ }
2173
+ },
2174
+ "parentId": {
2175
+ "type": "number",
2176
+ "description": "Identifier of the transaction being extended"
2177
+ },
2178
+ "maturityDate": {
2179
+ "type": "string",
2180
+ "description": "New maturity date (ISO 8601)",
2181
+ "nullable": true
2182
+ },
2183
+ "transactionFairValue": {
2184
+ "type": "number",
2185
+ "description": "Carried fair value at extension time",
2186
+ "nullable": true
2187
+ }
2188
+ },
2189
+ "required": [
2190
+ "id",
2191
+ "type",
2192
+ "date",
2193
+ "companyId",
2194
+ "parentId"
2195
+ ]
2196
+ },
2197
+ "SdkConversionTransactionDto": {
2198
+ "type": "object",
2199
+ "properties": {
2200
+ "id": {
2201
+ "type": "number",
2202
+ "description": "Transaction identifier"
2203
+ },
2204
+ "type": {
2205
+ "type": "string",
2206
+ "description": "Conversion-flow transaction type",
2207
+ "enum": [
2208
+ "ConvertToEquity",
2209
+ "Payback",
2210
+ "WriteOff"
2211
+ ]
2212
+ },
2213
+ "date": {
2214
+ "type": "string",
2215
+ "description": "Transaction date (ISO 8601)"
2216
+ },
2217
+ "companyId": {
2218
+ "type": "number",
2219
+ "description": "Company identifier"
2220
+ },
2221
+ "companyGroupId": {
2222
+ "type": "number",
2223
+ "description": "Company group identifier",
2224
+ "nullable": true
2225
+ },
2226
+ "company": {
2227
+ "description": "Company reference",
2228
+ "allOf": [
2229
+ {
2230
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2231
+ }
2232
+ ]
2233
+ },
2234
+ "companyGroup": {
2235
+ "description": "Company group reference",
2236
+ "allOf": [
2237
+ {
2238
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2239
+ }
2240
+ ]
2241
+ },
2242
+ "currency": {
2243
+ "type": "string",
2244
+ "description": "Transaction currency as ISO 4217 code",
2245
+ "nullable": true
2246
+ },
2247
+ "additionalInfo": {
2248
+ "description": "Free-form annotations",
2249
+ "allOf": [
2250
+ {
2251
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2252
+ }
2253
+ ]
2254
+ },
2255
+ "children": {
2256
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2257
+ "type": "array",
2258
+ "items": {
2259
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2260
+ }
2261
+ },
2262
+ "parentId": {
2263
+ "type": "number",
2264
+ "description": "Identifier of the parent transaction being converted"
2265
+ },
2266
+ "convertedTransactionType": {
2267
+ "type": "string",
2268
+ "description": "Type of the parent transaction (what was converted)",
2269
+ "enum": [
2270
+ "Auction",
2271
+ "ConvertibleNote",
2272
+ "ConvertToEquity",
2273
+ "Dividend",
2274
+ "EquityInvestment",
2275
+ "EquityReceived",
2276
+ "Extend",
2277
+ "FutureEquityAgreement",
2278
+ "Insolvency",
2279
+ "IPO",
2280
+ "LimitedAuction",
2281
+ "OptionsReceived",
2282
+ "OtherExit",
2283
+ "OtherInvestment",
2284
+ "OtherRealization",
2285
+ "Payback",
2286
+ "Proprietary",
2287
+ "TradeSale",
2288
+ "ValuationChange",
2289
+ "WriteOff"
2290
+ ],
2291
+ "nullable": true
2292
+ },
2293
+ "amountConverted": {
2294
+ "type": "number",
2295
+ "description": "Amount being converted (ConvertToEquity, Payback)",
2296
+ "nullable": true
2297
+ },
2298
+ "writeOffAmount": {
2299
+ "type": "number",
2300
+ "description": "Write-off amount (WriteOff)",
2301
+ "nullable": true
2302
+ },
2303
+ "pricePerShare": {
2304
+ "type": "number",
2305
+ "description": "Price per share at conversion (ConvertToEquity)",
2306
+ "nullable": true
2307
+ },
2308
+ "sharesAcquired": {
2309
+ "type": "number",
2310
+ "description": "Shares acquired on conversion (ConvertToEquity)",
2311
+ "nullable": true
2312
+ },
2313
+ "payments": {
2314
+ "description": "Scheduled repayments (Payback)",
2315
+ "type": "array",
2316
+ "items": {
2317
+ "$ref": "#/components/schemas/SdkTransactionPaymentDto"
2318
+ }
2319
+ }
2320
+ },
2321
+ "required": [
2322
+ "id",
2323
+ "type",
2324
+ "date",
2325
+ "companyId",
2326
+ "parentId"
2327
+ ]
2328
+ },
2329
+ "SdkExitTransactionDto": {
2330
+ "type": "object",
2331
+ "properties": {
2332
+ "id": {
2333
+ "type": "number",
1166
2334
  "description": "Transaction identifier"
1167
2335
  },
2336
+ "type": {
2337
+ "type": "string",
2338
+ "description": "Exit or cash-realization transaction type",
2339
+ "enum": [
2340
+ "TradeSale",
2341
+ "IPO",
2342
+ "Auction",
2343
+ "LimitedAuction",
2344
+ "Proprietary",
2345
+ "OtherExit",
2346
+ "Dividend",
2347
+ "OtherRealization"
2348
+ ]
2349
+ },
2350
+ "date": {
2351
+ "type": "string",
2352
+ "description": "Transaction date (ISO 8601)"
2353
+ },
1168
2354
  "companyId": {
1169
2355
  "type": "number",
1170
2356
  "description": "Company identifier"
@@ -1190,47 +2376,340 @@
1190
2376
  }
1191
2377
  ]
1192
2378
  },
1193
- "type": {
2379
+ "currency": {
2380
+ "type": "string",
2381
+ "description": "Transaction currency as ISO 4217 code",
2382
+ "nullable": true
2383
+ },
2384
+ "additionalInfo": {
2385
+ "description": "Free-form annotations",
2386
+ "allOf": [
2387
+ {
2388
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2389
+ }
2390
+ ]
2391
+ },
2392
+ "children": {
2393
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2394
+ "type": "array",
2395
+ "items": {
2396
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2397
+ }
2398
+ },
2399
+ "profit": {
2400
+ "type": "number",
2401
+ "description": "Realized profit / cash received",
2402
+ "nullable": true
2403
+ },
2404
+ "pricePerShare": {
2405
+ "type": "number",
2406
+ "description": "Price per share at exit",
2407
+ "nullable": true
2408
+ },
2409
+ "sharesAcquired": {
2410
+ "type": "number",
2411
+ "description": "Shares sold (stored as negative delta)",
2412
+ "nullable": true
2413
+ },
2414
+ "companyPostMoneyValuation": {
2415
+ "type": "number",
2416
+ "description": "Company post-money valuation at exit",
2417
+ "nullable": true
2418
+ },
2419
+ "ticker": {
1194
2420
  "type": "string",
1195
- "description": "Transaction type"
2421
+ "description": "Ticker symbol (IPO only)",
2422
+ "nullable": true
1196
2423
  },
1197
2424
  "name": {
1198
2425
  "type": "string",
1199
- "description": "Transaction label or name",
2426
+ "description": "Label describing the realization (OtherRealization only)",
1200
2427
  "nullable": true
1201
2428
  },
2429
+ "payments": {
2430
+ "description": "Exit proceeds schedule",
2431
+ "type": "array",
2432
+ "items": {
2433
+ "$ref": "#/components/schemas/SdkTransactionPaymentDto"
2434
+ }
2435
+ }
2436
+ },
2437
+ "required": [
2438
+ "id",
2439
+ "type",
2440
+ "date",
2441
+ "companyId"
2442
+ ]
2443
+ },
2444
+ "SdkValuationChangeTransactionDto": {
2445
+ "type": "object",
2446
+ "properties": {
2447
+ "id": {
2448
+ "type": "number",
2449
+ "description": "Transaction identifier"
2450
+ },
2451
+ "type": {
2452
+ "type": "string",
2453
+ "description": "Valuation change",
2454
+ "enum": [
2455
+ "ValuationChange"
2456
+ ]
2457
+ },
1202
2458
  "date": {
1203
2459
  "type": "string",
1204
- "description": "Transaction date"
2460
+ "description": "Transaction date (ISO 8601)"
1205
2461
  },
1206
- "amount": {
2462
+ "companyId": {
2463
+ "type": "number",
2464
+ "description": "Company identifier"
2465
+ },
2466
+ "companyGroupId": {
1207
2467
  "type": "number",
1208
- "description": "Transaction amount",
2468
+ "description": "Company group identifier",
1209
2469
  "nullable": true
1210
2470
  },
1211
- "fairValue": {
2471
+ "company": {
2472
+ "description": "Company reference",
2473
+ "allOf": [
2474
+ {
2475
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2476
+ }
2477
+ ]
2478
+ },
2479
+ "companyGroup": {
2480
+ "description": "Company group reference",
2481
+ "allOf": [
2482
+ {
2483
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2484
+ }
2485
+ ]
2486
+ },
2487
+ "currency": {
2488
+ "type": "string",
2489
+ "description": "Transaction currency as ISO 4217 code",
2490
+ "nullable": true
2491
+ },
2492
+ "additionalInfo": {
2493
+ "description": "Free-form annotations",
2494
+ "allOf": [
2495
+ {
2496
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2497
+ }
2498
+ ]
2499
+ },
2500
+ "children": {
2501
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2502
+ "type": "array",
2503
+ "items": {
2504
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2505
+ }
2506
+ },
2507
+ "companyPostMoneyValuation": {
2508
+ "type": "number",
2509
+ "description": "New company post-money valuation",
2510
+ "nullable": true
2511
+ },
2512
+ "pricePerShare": {
2513
+ "type": "number",
2514
+ "description": "Price per share at valuation",
2515
+ "nullable": true
2516
+ },
2517
+ "sharesIssuedTotalDiluted": {
2518
+ "type": "number",
2519
+ "description": "Total shares issued (diluted)",
2520
+ "nullable": true
2521
+ },
2522
+ "sharesIssuedTotalCurrent": {
2523
+ "type": "number",
2524
+ "description": "Total shares issued (current)",
2525
+ "nullable": true
2526
+ },
2527
+ "valuationMethod": {
2528
+ "type": "string",
2529
+ "description": "Valuation method",
2530
+ "enum": [
2531
+ "Historical",
2532
+ "NewFinancingRound",
2533
+ "PubliclyListedSecurity",
2534
+ "Realization",
2535
+ "RecentTransactionMultiples",
2536
+ "RecentMarketMultiples",
2537
+ "RecentMarketAndTransactionMultiples",
2538
+ "DiscountToPrimaryRound",
2539
+ "ThirdPartyOpinion",
2540
+ "Dcf",
2541
+ "Other"
2542
+ ],
2543
+ "nullable": true
2544
+ },
2545
+ "customSummaryFairValue": {
2546
+ "type": "number",
2547
+ "description": "Override fair value applied as part of this valuation",
2548
+ "nullable": true
2549
+ }
2550
+ },
2551
+ "required": [
2552
+ "id",
2553
+ "type",
2554
+ "date",
2555
+ "companyId"
2556
+ ]
2557
+ },
2558
+ "SdkInsolvencyTransactionDto": {
2559
+ "type": "object",
2560
+ "properties": {
2561
+ "id": {
2562
+ "type": "number",
2563
+ "description": "Transaction identifier"
2564
+ },
2565
+ "type": {
2566
+ "type": "string",
2567
+ "description": "Insolvency",
2568
+ "enum": [
2569
+ "Insolvency"
2570
+ ]
2571
+ },
2572
+ "date": {
2573
+ "type": "string",
2574
+ "description": "Transaction date (ISO 8601)"
2575
+ },
2576
+ "companyId": {
2577
+ "type": "number",
2578
+ "description": "Company identifier"
2579
+ },
2580
+ "companyGroupId": {
1212
2581
  "type": "number",
1213
- "description": "Transaction fair value",
2582
+ "description": "Company group identifier",
1214
2583
  "nullable": true
1215
2584
  },
2585
+ "company": {
2586
+ "description": "Company reference",
2587
+ "allOf": [
2588
+ {
2589
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2590
+ }
2591
+ ]
2592
+ },
2593
+ "companyGroup": {
2594
+ "description": "Company group reference",
2595
+ "allOf": [
2596
+ {
2597
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2598
+ }
2599
+ ]
2600
+ },
1216
2601
  "currency": {
1217
2602
  "type": "string",
1218
- "description": "Transaction currency code",
2603
+ "description": "Transaction currency as ISO 4217 code",
1219
2604
  "nullable": true
1220
2605
  },
2606
+ "additionalInfo": {
2607
+ "description": "Free-form annotations",
2608
+ "allOf": [
2609
+ {
2610
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2611
+ }
2612
+ ]
2613
+ },
1221
2614
  "children": {
1222
- "description": "Nested child transactions",
2615
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
1223
2616
  "type": "array",
1224
2617
  "items": {
1225
- "$ref": "#/components/schemas/SdkTransactionDto"
2618
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
1226
2619
  }
2620
+ },
2621
+ "customSummaryFairValue": {
2622
+ "type": "number",
2623
+ "description": "Override fair value at insolvency (typically 0)",
2624
+ "nullable": true
1227
2625
  }
1228
2626
  },
1229
2627
  "required": [
1230
2628
  "id",
1231
- "companyId",
1232
2629
  "type",
1233
- "date"
2630
+ "date",
2631
+ "companyId"
2632
+ ]
2633
+ },
2634
+ "SdkOtherInvestmentTransactionDto": {
2635
+ "type": "object",
2636
+ "properties": {
2637
+ "id": {
2638
+ "type": "number",
2639
+ "description": "Transaction identifier"
2640
+ },
2641
+ "type": {
2642
+ "type": "string",
2643
+ "description": "Other investment",
2644
+ "enum": [
2645
+ "OtherInvestment"
2646
+ ]
2647
+ },
2648
+ "date": {
2649
+ "type": "string",
2650
+ "description": "Transaction date (ISO 8601)"
2651
+ },
2652
+ "companyId": {
2653
+ "type": "number",
2654
+ "description": "Company identifier"
2655
+ },
2656
+ "companyGroupId": {
2657
+ "type": "number",
2658
+ "description": "Company group identifier",
2659
+ "nullable": true
2660
+ },
2661
+ "company": {
2662
+ "description": "Company reference",
2663
+ "allOf": [
2664
+ {
2665
+ "$ref": "#/components/schemas/SdkCompanyReferenceDto"
2666
+ }
2667
+ ]
2668
+ },
2669
+ "companyGroup": {
2670
+ "description": "Company group reference",
2671
+ "allOf": [
2672
+ {
2673
+ "$ref": "#/components/schemas/SdkCompanyGroupReferenceDto"
2674
+ }
2675
+ ]
2676
+ },
2677
+ "currency": {
2678
+ "type": "string",
2679
+ "description": "Transaction currency as ISO 4217 code",
2680
+ "nullable": true
2681
+ },
2682
+ "additionalInfo": {
2683
+ "description": "Free-form annotations",
2684
+ "allOf": [
2685
+ {
2686
+ "$ref": "#/components/schemas/SdkTransactionAdditionalInfoDto"
2687
+ }
2688
+ ]
2689
+ },
2690
+ "children": {
2691
+ "description": "Child transactions. Each element is a transaction variant; narrow via its `type` field.",
2692
+ "type": "array",
2693
+ "items": {
2694
+ "$ref": "#/components/schemas/SdkTransactionBaseDto"
2695
+ }
2696
+ },
2697
+ "invested": {
2698
+ "type": "number",
2699
+ "description": "Cash invested"
2700
+ },
2701
+ "name": {
2702
+ "type": "string",
2703
+ "description": "Label describing the investment",
2704
+ "nullable": true
2705
+ }
2706
+ },
2707
+ "required": [
2708
+ "id",
2709
+ "type",
2710
+ "date",
2711
+ "companyId",
2712
+ "invested"
1234
2713
  ]
1235
2714
  }
1236
2715
  }