@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.fb640f0
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/common/types/account-setting.types.d.ts +17 -66
- package/common/types/account-setting.types.js +2 -31
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +32 -23
- package/common/types/account.types.js +1 -0
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +34 -25
- package/common/types/activity.types.js +11 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +25 -111
- package/common/types/asset.types.js +24 -100
- package/common/types/asset.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +0 -30
- package/common/types/cap-table.types.d.ts +29 -14
- package/common/types/cap-table.types.js +17 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +312 -2
- package/common/types/common.types.js +48 -1
- package/common/types/common.types.js.map +1 -1
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/disbursements.types.d.ts +41 -0
- package/common/types/disbursements.types.js +3 -0
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/file.types.d.ts +30 -9
- package/common/types/file.types.js +9 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +2 -0
- package/common/types/index.js +2 -0
- package/common/types/index.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +160 -68
- package/common/types/issuer-offering.types.js +148 -37
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/note.types.d.ts +15 -15
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +16 -3
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +216 -41
- package/common/types/offering.types.js +164 -38
- package/common/types/offering.types.js.map +1 -1
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/site.types.d.ts +0 -15
- package/common/types/task.types.d.ts +22 -22
- package/common/types/trade.types.js +1 -0
- package/common/types/trade.types.js.map +1 -1
- package/common/types/user.types.d.ts +107 -59
- package/common/types/user.types.js +7 -1
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +0 -66
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +76 -102
- package/contracts/clients/offerings/index.d.ts +70 -30
- package/package.json +1 -1
|
@@ -443,10 +443,7 @@ export declare const offeringsContract: {
|
|
|
443
443
|
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
444
444
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
445
445
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
446
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
447
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
448
446
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
449
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
|
|
450
447
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
451
448
|
type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
|
|
452
449
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -483,6 +480,13 @@ export declare const offeringsContract: {
|
|
|
483
480
|
startAmount: number;
|
|
484
481
|
endAmount: number;
|
|
485
482
|
}>, "many">>;
|
|
483
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
484
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
485
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
486
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
487
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
488
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
|
|
489
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
486
490
|
}, "strip", z.ZodTypeAny, {
|
|
487
491
|
type?: import("../../..").OfferingType | undefined;
|
|
488
492
|
name?: string | undefined;
|
|
@@ -505,6 +509,13 @@ export declare const offeringsContract: {
|
|
|
505
509
|
escrowAgreementFileId?: string | null | undefined;
|
|
506
510
|
bankAccountId?: string | null | undefined;
|
|
507
511
|
escrowAccountId?: string | null | undefined;
|
|
512
|
+
warrantsEnabled?: boolean | undefined;
|
|
513
|
+
totalShares?: number | null | undefined;
|
|
514
|
+
warrantTermYears?: number | null | undefined;
|
|
515
|
+
exercisePrice?: number | null | undefined;
|
|
516
|
+
warrantPercentage?: number | null | undefined;
|
|
517
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
518
|
+
incrementThreshold?: number | null | undefined;
|
|
508
519
|
assetName?: string | undefined;
|
|
509
520
|
assetType?: import("../../..").AssetType | undefined;
|
|
510
521
|
pricePerUnit?: number | null | undefined;
|
|
@@ -514,10 +525,7 @@ export declare const offeringsContract: {
|
|
|
514
525
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
515
526
|
tiers?: number[] | null | undefined;
|
|
516
527
|
enableBonus?: boolean | undefined;
|
|
517
|
-
principalAmount?: number | null | undefined;
|
|
518
|
-
maxTotalRaise?: number | null | undefined;
|
|
519
528
|
interestRate?: number | null | undefined;
|
|
520
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
521
529
|
bonusTiers?: {
|
|
522
530
|
value: number;
|
|
523
531
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -546,6 +554,13 @@ export declare const offeringsContract: {
|
|
|
546
554
|
escrowAgreementFileId?: string | null | undefined;
|
|
547
555
|
bankAccountId?: string | null | undefined;
|
|
548
556
|
escrowAccountId?: string | null | undefined;
|
|
557
|
+
warrantsEnabled?: boolean | undefined;
|
|
558
|
+
totalShares?: number | null | undefined;
|
|
559
|
+
warrantTermYears?: number | null | undefined;
|
|
560
|
+
exercisePrice?: number | null | undefined;
|
|
561
|
+
warrantPercentage?: number | null | undefined;
|
|
562
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
563
|
+
incrementThreshold?: number | null | undefined;
|
|
549
564
|
assetName?: string | undefined;
|
|
550
565
|
assetType?: import("../../..").AssetType | undefined;
|
|
551
566
|
pricePerUnit?: number | null | undefined;
|
|
@@ -555,10 +570,7 @@ export declare const offeringsContract: {
|
|
|
555
570
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
556
571
|
tiers?: number[] | null | undefined;
|
|
557
572
|
enableBonus?: boolean | undefined;
|
|
558
|
-
principalAmount?: number | null | undefined;
|
|
559
|
-
maxTotalRaise?: number | null | undefined;
|
|
560
573
|
interestRate?: number | null | undefined;
|
|
561
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
562
574
|
bonusTiers?: {
|
|
563
575
|
value: number;
|
|
564
576
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -587,6 +599,13 @@ export declare const offeringsContract: {
|
|
|
587
599
|
escrowAgreementFileId?: string | null | undefined;
|
|
588
600
|
bankAccountId?: string | null | undefined;
|
|
589
601
|
escrowAccountId?: string | null | undefined;
|
|
602
|
+
warrantsEnabled?: boolean | undefined;
|
|
603
|
+
totalShares?: number | null | undefined;
|
|
604
|
+
warrantTermYears?: number | null | undefined;
|
|
605
|
+
exercisePrice?: number | null | undefined;
|
|
606
|
+
warrantPercentage?: number | null | undefined;
|
|
607
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
608
|
+
incrementThreshold?: number | null | undefined;
|
|
590
609
|
assetName?: string | undefined;
|
|
591
610
|
assetType?: import("../../..").AssetType | undefined;
|
|
592
611
|
pricePerUnit?: number | null | undefined;
|
|
@@ -596,10 +615,7 @@ export declare const offeringsContract: {
|
|
|
596
615
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
597
616
|
tiers?: number[] | null | undefined;
|
|
598
617
|
enableBonus?: boolean | undefined;
|
|
599
|
-
principalAmount?: number | null | undefined;
|
|
600
|
-
maxTotalRaise?: number | null | undefined;
|
|
601
618
|
interestRate?: number | null | undefined;
|
|
602
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
603
619
|
bonusTiers?: {
|
|
604
620
|
value: number;
|
|
605
621
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -628,6 +644,13 @@ export declare const offeringsContract: {
|
|
|
628
644
|
escrowAgreementFileId?: string | null | undefined;
|
|
629
645
|
bankAccountId?: string | null | undefined;
|
|
630
646
|
escrowAccountId?: string | null | undefined;
|
|
647
|
+
warrantsEnabled?: boolean | undefined;
|
|
648
|
+
totalShares?: number | null | undefined;
|
|
649
|
+
warrantTermYears?: number | null | undefined;
|
|
650
|
+
exercisePrice?: number | null | undefined;
|
|
651
|
+
warrantPercentage?: number | null | undefined;
|
|
652
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
653
|
+
incrementThreshold?: number | null | undefined;
|
|
631
654
|
assetName?: string | undefined;
|
|
632
655
|
assetType?: import("../../..").AssetType | undefined;
|
|
633
656
|
pricePerUnit?: number | null | undefined;
|
|
@@ -637,10 +660,7 @@ export declare const offeringsContract: {
|
|
|
637
660
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
638
661
|
tiers?: number[] | null | undefined;
|
|
639
662
|
enableBonus?: boolean | undefined;
|
|
640
|
-
principalAmount?: number | null | undefined;
|
|
641
|
-
maxTotalRaise?: number | null | undefined;
|
|
642
663
|
interestRate?: number | null | undefined;
|
|
643
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
644
664
|
bonusTiers?: {
|
|
645
665
|
value: number;
|
|
646
666
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -759,10 +779,7 @@ export declare const offeringsContract: {
|
|
|
759
779
|
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
760
780
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
761
781
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
762
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
763
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
764
782
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
765
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
|
|
766
783
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
767
784
|
type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
|
|
768
785
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -799,12 +816,20 @@ export declare const offeringsContract: {
|
|
|
799
816
|
startAmount: number;
|
|
800
817
|
endAmount: number;
|
|
801
818
|
}>, "many">>;
|
|
819
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
820
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
821
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
822
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
823
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
824
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
|
|
825
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
802
826
|
}, "strip", z.ZodTypeAny, {
|
|
803
827
|
type: import("../../..").OfferingType;
|
|
804
828
|
name: string;
|
|
805
829
|
template: import("../../../common/types/asset.types").AssetTemplateType;
|
|
806
830
|
targetAmount: number;
|
|
807
831
|
issuerId: string;
|
|
832
|
+
warrantsEnabled: boolean;
|
|
808
833
|
assetName: string;
|
|
809
834
|
assetType: import("../../..").AssetType;
|
|
810
835
|
pricePerUnit: number | null;
|
|
@@ -822,15 +847,18 @@ export declare const offeringsContract: {
|
|
|
822
847
|
hasEscrow?: boolean | undefined;
|
|
823
848
|
bankAccountId?: string | null | undefined;
|
|
824
849
|
escrowAccountId?: string | null | undefined;
|
|
850
|
+
totalShares?: number | null | undefined;
|
|
851
|
+
warrantTermYears?: number | null | undefined;
|
|
852
|
+
exercisePrice?: number | null | undefined;
|
|
853
|
+
warrantPercentage?: number | null | undefined;
|
|
854
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
855
|
+
incrementThreshold?: number | null | undefined;
|
|
825
856
|
yield?: number | null | undefined;
|
|
826
857
|
duration?: number | null | undefined;
|
|
827
858
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
828
859
|
tiers?: number[] | null | undefined;
|
|
829
860
|
enableBonus?: boolean | undefined;
|
|
830
|
-
principalAmount?: number | null | undefined;
|
|
831
|
-
maxTotalRaise?: number | null | undefined;
|
|
832
861
|
interestRate?: number | null | undefined;
|
|
833
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
834
862
|
bonusTiers?: {
|
|
835
863
|
value: number;
|
|
836
864
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -860,15 +888,19 @@ export declare const offeringsContract: {
|
|
|
860
888
|
hasEscrow?: boolean | undefined;
|
|
861
889
|
bankAccountId?: string | null | undefined;
|
|
862
890
|
escrowAccountId?: string | null | undefined;
|
|
891
|
+
warrantsEnabled?: boolean | undefined;
|
|
892
|
+
totalShares?: number | null | undefined;
|
|
893
|
+
warrantTermYears?: number | null | undefined;
|
|
894
|
+
exercisePrice?: number | null | undefined;
|
|
895
|
+
warrantPercentage?: number | null | undefined;
|
|
896
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
897
|
+
incrementThreshold?: number | null | undefined;
|
|
863
898
|
yield?: number | null | undefined;
|
|
864
899
|
duration?: number | null | undefined;
|
|
865
900
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
866
901
|
tiers?: number[] | null | undefined;
|
|
867
902
|
enableBonus?: boolean | undefined;
|
|
868
|
-
principalAmount?: number | null | undefined;
|
|
869
|
-
maxTotalRaise?: number | null | undefined;
|
|
870
903
|
interestRate?: number | null | undefined;
|
|
871
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
872
904
|
bonusTiers?: {
|
|
873
905
|
value: number;
|
|
874
906
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -881,6 +913,7 @@ export declare const offeringsContract: {
|
|
|
881
913
|
template: import("../../../common/types/asset.types").AssetTemplateType;
|
|
882
914
|
targetAmount: number;
|
|
883
915
|
issuerId: string;
|
|
916
|
+
warrantsEnabled: boolean;
|
|
884
917
|
assetName: string;
|
|
885
918
|
assetType: import("../../..").AssetType;
|
|
886
919
|
pricePerUnit: number | null;
|
|
@@ -898,15 +931,18 @@ export declare const offeringsContract: {
|
|
|
898
931
|
hasEscrow?: boolean | undefined;
|
|
899
932
|
bankAccountId?: string | null | undefined;
|
|
900
933
|
escrowAccountId?: string | null | undefined;
|
|
934
|
+
totalShares?: number | null | undefined;
|
|
935
|
+
warrantTermYears?: number | null | undefined;
|
|
936
|
+
exercisePrice?: number | null | undefined;
|
|
937
|
+
warrantPercentage?: number | null | undefined;
|
|
938
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
939
|
+
incrementThreshold?: number | null | undefined;
|
|
901
940
|
yield?: number | null | undefined;
|
|
902
941
|
duration?: number | null | undefined;
|
|
903
942
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
904
943
|
tiers?: number[] | null | undefined;
|
|
905
944
|
enableBonus?: boolean | undefined;
|
|
906
|
-
principalAmount?: number | null | undefined;
|
|
907
|
-
maxTotalRaise?: number | null | undefined;
|
|
908
945
|
interestRate?: number | null | undefined;
|
|
909
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
910
946
|
bonusTiers?: {
|
|
911
947
|
value: number;
|
|
912
948
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|
|
@@ -936,15 +972,19 @@ export declare const offeringsContract: {
|
|
|
936
972
|
hasEscrow?: boolean | undefined;
|
|
937
973
|
bankAccountId?: string | null | undefined;
|
|
938
974
|
escrowAccountId?: string | null | undefined;
|
|
975
|
+
warrantsEnabled?: boolean | undefined;
|
|
976
|
+
totalShares?: number | null | undefined;
|
|
977
|
+
warrantTermYears?: number | null | undefined;
|
|
978
|
+
exercisePrice?: number | null | undefined;
|
|
979
|
+
warrantPercentage?: number | null | undefined;
|
|
980
|
+
calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
|
|
981
|
+
incrementThreshold?: number | null | undefined;
|
|
939
982
|
yield?: number | null | undefined;
|
|
940
983
|
duration?: number | null | undefined;
|
|
941
984
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
942
985
|
tiers?: number[] | null | undefined;
|
|
943
986
|
enableBonus?: boolean | undefined;
|
|
944
|
-
principalAmount?: number | null | undefined;
|
|
945
|
-
maxTotalRaise?: number | null | undefined;
|
|
946
987
|
interestRate?: number | null | undefined;
|
|
947
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
948
988
|
bonusTiers?: {
|
|
949
989
|
value: number;
|
|
950
990
|
type: import("../../../common/types/bonus-tier.types").BonusType;
|