@dalmore/api-contracts 0.0.0-dev.6728794 → 0.0.0-dev.686830

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 (45) hide show
  1. package/common/types/account-setting.types.d.ts +17 -66
  2. package/common/types/account-setting.types.js +2 -31
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +32 -23
  5. package/common/types/account.types.js +1 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +8 -1
  8. package/common/types/activity.types.js +7 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/cap-table.types.d.ts +69 -54
  11. package/common/types/cap-table.types.js +17 -0
  12. package/common/types/cap-table.types.js.map +1 -1
  13. package/common/types/common.types.d.ts +302 -2
  14. package/common/types/common.types.js +42 -1
  15. package/common/types/common.types.js.map +1 -1
  16. package/common/types/disbursements.types.d.ts +817 -0
  17. package/common/types/disbursements.types.js +63 -0
  18. package/common/types/disbursements.types.js.map +1 -1
  19. package/common/types/exchange-provider.types.d.ts +12 -12
  20. package/common/types/file.types.d.ts +20 -0
  21. package/common/types/file.types.js +9 -0
  22. package/common/types/file.types.js.map +1 -1
  23. package/common/types/index.d.ts +1 -0
  24. package/common/types/index.js +1 -0
  25. package/common/types/index.js.map +1 -1
  26. package/common/types/issuer-offering.types.d.ts +165 -1
  27. package/common/types/issuer-offering.types.js +180 -14
  28. package/common/types/issuer-offering.types.js.map +1 -1
  29. package/common/types/offering-submission.types.d.ts +198 -0
  30. package/common/types/offering-submission.types.js +14 -1
  31. package/common/types/offering-submission.types.js.map +1 -1
  32. package/common/types/offering.types.d.ts +233 -2
  33. package/common/types/offering.types.js +186 -6
  34. package/common/types/offering.types.js.map +1 -1
  35. package/common/types/portfolio.types.d.ts +6 -6
  36. package/common/types/secondary-order.types.d.ts +10 -10
  37. package/common/types/secondary-trade.types.d.ts +10 -10
  38. package/common/types/trade.types.js +1 -0
  39. package/common/types/trade.types.js.map +1 -1
  40. package/common/types/user.types.d.ts +78 -59
  41. package/common/types/user.types.js +4 -1
  42. package/common/types/user.types.js.map +1 -1
  43. package/contracts/clients/index.d.ts +80 -0
  44. package/contracts/clients/offerings/index.d.ts +80 -0
  45. package/package.json +1 -1
@@ -413,6 +413,7 @@ export declare const offeringsContract: {
413
413
  auth: boolean;
414
414
  };
415
415
  body: z.ZodEffects<z.ZodObject<{
416
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
416
417
  name: z.ZodOptional<z.ZodString>;
417
418
  type: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingType>>;
418
419
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -480,6 +481,13 @@ export declare const offeringsContract: {
480
481
  startAmount: number;
481
482
  endAmount: number;
482
483
  }>, "many">>;
484
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
485
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
486
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
487
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
488
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
489
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
490
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
483
491
  }, "strip", z.ZodTypeAny, {
484
492
  type?: import("../../..").OfferingType | undefined;
485
493
  name?: string | undefined;
@@ -502,6 +510,14 @@ export declare const offeringsContract: {
502
510
  escrowAgreementFileId?: string | null | undefined;
503
511
  bankAccountId?: string | null | undefined;
504
512
  escrowAccountId?: string | null | undefined;
513
+ warrantsEnabled?: boolean | undefined;
514
+ totalShares?: number | null | undefined;
515
+ warrantTermYears?: number | null | undefined;
516
+ exercisePrice?: number | null | undefined;
517
+ warrantPercentage?: number | null | undefined;
518
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
519
+ incrementThreshold?: number | null | undefined;
520
+ shareClassId?: string | null | undefined;
505
521
  assetName?: string | undefined;
506
522
  assetType?: import("../../..").AssetType | undefined;
507
523
  pricePerUnit?: number | null | undefined;
@@ -540,6 +556,14 @@ export declare const offeringsContract: {
540
556
  escrowAgreementFileId?: string | null | undefined;
541
557
  bankAccountId?: string | null | undefined;
542
558
  escrowAccountId?: string | null | undefined;
559
+ warrantsEnabled?: boolean | undefined;
560
+ totalShares?: number | null | undefined;
561
+ warrantTermYears?: number | null | undefined;
562
+ exercisePrice?: number | null | undefined;
563
+ warrantPercentage?: number | null | undefined;
564
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
565
+ incrementThreshold?: number | null | undefined;
566
+ shareClassId?: string | null | undefined;
543
567
  assetName?: string | undefined;
544
568
  assetType?: import("../../..").AssetType | undefined;
545
569
  pricePerUnit?: number | null | undefined;
@@ -578,6 +602,14 @@ export declare const offeringsContract: {
578
602
  escrowAgreementFileId?: string | null | undefined;
579
603
  bankAccountId?: string | null | undefined;
580
604
  escrowAccountId?: string | null | undefined;
605
+ warrantsEnabled?: boolean | undefined;
606
+ totalShares?: number | null | undefined;
607
+ warrantTermYears?: number | null | undefined;
608
+ exercisePrice?: number | null | undefined;
609
+ warrantPercentage?: number | null | undefined;
610
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
611
+ incrementThreshold?: number | null | undefined;
612
+ shareClassId?: string | null | undefined;
581
613
  assetName?: string | undefined;
582
614
  assetType?: import("../../..").AssetType | undefined;
583
615
  pricePerUnit?: number | null | undefined;
@@ -616,6 +648,14 @@ export declare const offeringsContract: {
616
648
  escrowAgreementFileId?: string | null | undefined;
617
649
  bankAccountId?: string | null | undefined;
618
650
  escrowAccountId?: string | null | undefined;
651
+ warrantsEnabled?: boolean | undefined;
652
+ totalShares?: number | null | undefined;
653
+ warrantTermYears?: number | null | undefined;
654
+ exercisePrice?: number | null | undefined;
655
+ warrantPercentage?: number | null | undefined;
656
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
657
+ incrementThreshold?: number | null | undefined;
658
+ shareClassId?: string | null | undefined;
619
659
  assetName?: string | undefined;
620
660
  assetType?: import("../../..").AssetType | undefined;
621
661
  pricePerUnit?: number | null | undefined;
@@ -718,6 +758,7 @@ export declare const offeringsContract: {
718
758
  };
719
759
  body: z.ZodEffects<z.ZodObject<{
720
760
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
761
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
721
762
  name: z.ZodString;
722
763
  type: z.ZodNativeEnum<typeof import("../../..").OfferingType>;
723
764
  targetAmount: z.ZodNumber;
@@ -781,12 +822,20 @@ export declare const offeringsContract: {
781
822
  startAmount: number;
782
823
  endAmount: number;
783
824
  }>, "many">>;
825
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
826
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
827
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
828
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
829
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
830
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
831
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
784
832
  }, "strip", z.ZodTypeAny, {
785
833
  type: import("../../..").OfferingType;
786
834
  name: string;
787
835
  template: import("../../../common/types/asset.types").AssetTemplateType;
788
836
  targetAmount: number;
789
837
  issuerId: string;
838
+ warrantsEnabled: boolean;
790
839
  assetName: string;
791
840
  assetType: import("../../..").AssetType;
792
841
  pricePerUnit: number | null;
@@ -804,6 +853,13 @@ export declare const offeringsContract: {
804
853
  hasEscrow?: boolean | undefined;
805
854
  bankAccountId?: string | null | undefined;
806
855
  escrowAccountId?: string | null | undefined;
856
+ totalShares?: number | null | undefined;
857
+ warrantTermYears?: number | null | undefined;
858
+ exercisePrice?: number | null | undefined;
859
+ warrantPercentage?: number | null | undefined;
860
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
861
+ incrementThreshold?: number | null | undefined;
862
+ shareClassId?: string | null | undefined;
807
863
  yield?: number | null | undefined;
808
864
  duration?: number | null | undefined;
809
865
  durationType?: import("../../..").DurationType | null | undefined;
@@ -839,6 +895,14 @@ export declare const offeringsContract: {
839
895
  hasEscrow?: boolean | undefined;
840
896
  bankAccountId?: string | null | undefined;
841
897
  escrowAccountId?: string | null | undefined;
898
+ warrantsEnabled?: boolean | undefined;
899
+ totalShares?: number | null | undefined;
900
+ warrantTermYears?: number | null | undefined;
901
+ exercisePrice?: number | null | undefined;
902
+ warrantPercentage?: number | null | undefined;
903
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
904
+ incrementThreshold?: number | null | undefined;
905
+ shareClassId?: string | null | undefined;
842
906
  yield?: number | null | undefined;
843
907
  duration?: number | null | undefined;
844
908
  durationType?: import("../../..").DurationType | null | undefined;
@@ -857,6 +921,7 @@ export declare const offeringsContract: {
857
921
  template: import("../../../common/types/asset.types").AssetTemplateType;
858
922
  targetAmount: number;
859
923
  issuerId: string;
924
+ warrantsEnabled: boolean;
860
925
  assetName: string;
861
926
  assetType: import("../../..").AssetType;
862
927
  pricePerUnit: number | null;
@@ -874,6 +939,13 @@ export declare const offeringsContract: {
874
939
  hasEscrow?: boolean | undefined;
875
940
  bankAccountId?: string | null | undefined;
876
941
  escrowAccountId?: string | null | undefined;
942
+ totalShares?: number | null | undefined;
943
+ warrantTermYears?: number | null | undefined;
944
+ exercisePrice?: number | null | undefined;
945
+ warrantPercentage?: number | null | undefined;
946
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
947
+ incrementThreshold?: number | null | undefined;
948
+ shareClassId?: string | null | undefined;
877
949
  yield?: number | null | undefined;
878
950
  duration?: number | null | undefined;
879
951
  durationType?: import("../../..").DurationType | null | undefined;
@@ -909,6 +981,14 @@ export declare const offeringsContract: {
909
981
  hasEscrow?: boolean | undefined;
910
982
  bankAccountId?: string | null | undefined;
911
983
  escrowAccountId?: string | null | undefined;
984
+ warrantsEnabled?: boolean | undefined;
985
+ totalShares?: number | null | undefined;
986
+ warrantTermYears?: number | null | undefined;
987
+ exercisePrice?: number | null | undefined;
988
+ warrantPercentage?: number | null | undefined;
989
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
990
+ incrementThreshold?: number | null | undefined;
991
+ shareClassId?: string | null | undefined;
912
992
  yield?: number | null | undefined;
913
993
  duration?: number | null | undefined;
914
994
  durationType?: import("../../..").DurationType | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "0.0.0-dev.6728794",
3
+ "version": "0.0.0-dev.686830",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.js",