@dalmore/api-contracts 0.0.0-dev.fb640f0 → 0.0.0-dev.fbec0a1

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 (85) hide show
  1. package/common/constants.d.ts +28 -0
  2. package/common/constants.js +62 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +8 -0
  5. package/common/helpers/index.js +15 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +5 -0
  8. package/common/types/account.types.d.ts +6 -6
  9. package/common/types/auth.types.d.ts +36 -0
  10. package/common/types/auth.types.js +3 -2
  11. package/common/types/auth.types.js.map +1 -1
  12. package/common/types/cap-table.types.d.ts +148 -39
  13. package/common/types/cap-table.types.js +14 -0
  14. package/common/types/cap-table.types.js.map +1 -1
  15. package/common/types/common.types.d.ts +30 -2
  16. package/common/types/common.types.js +12 -0
  17. package/common/types/common.types.js.map +1 -1
  18. package/common/types/csv.types.d.ts +1730 -0
  19. package/common/types/csv.types.js +178 -0
  20. package/common/types/csv.types.js.map +1 -0
  21. package/common/types/disbursement-transaction.types.d.ts +1 -1
  22. package/common/types/disbursement-transaction.types.js +1 -1
  23. package/common/types/disbursement-transaction.types.js.map +1 -1
  24. package/common/types/disbursements.types.d.ts +915 -7
  25. package/common/types/disbursements.types.js +89 -2
  26. package/common/types/disbursements.types.js.map +1 -1
  27. package/common/types/exchange-provider.types.d.ts +12 -12
  28. package/common/types/file.types.d.ts +3 -0
  29. package/common/types/file.types.js +3 -0
  30. package/common/types/file.types.js.map +1 -1
  31. package/common/types/index.d.ts +2 -0
  32. package/common/types/index.js +2 -0
  33. package/common/types/index.js.map +1 -1
  34. package/common/types/individuals.types.d.ts +207 -5
  35. package/common/types/individuals.types.js +11 -14
  36. package/common/types/individuals.types.js.map +1 -1
  37. package/common/types/investor-account.types.d.ts +1 -1
  38. package/common/types/investor-account.types.js +1 -2
  39. package/common/types/investor-account.types.js.map +1 -1
  40. package/common/types/investors-offering.types.d.ts +8 -0
  41. package/common/types/investors-offering.types.js +1 -0
  42. package/common/types/investors-offering.types.js.map +1 -1
  43. package/common/types/invite.types.d.ts +2 -2
  44. package/common/types/invite.types.js +1 -1
  45. package/common/types/invite.types.js.map +1 -1
  46. package/common/types/issuer-offering.types.d.ts +37 -12
  47. package/common/types/issuer-offering.types.js +40 -25
  48. package/common/types/issuer-offering.types.js.map +1 -1
  49. package/common/types/legal-entity.types.d.ts +39 -1
  50. package/common/types/legal-entity.types.js +8 -5
  51. package/common/types/legal-entity.types.js.map +1 -1
  52. package/common/types/offering.types.d.ts +54 -24
  53. package/common/types/offering.types.js +74 -17
  54. package/common/types/offering.types.js.map +1 -1
  55. package/common/types/portfolio.types.d.ts +6 -6
  56. package/common/types/review.types.js +1 -1
  57. package/common/types/review.types.js.map +1 -1
  58. package/common/types/secondary-order.types.d.ts +10 -10
  59. package/common/types/secondary-trade.types.d.ts +10 -10
  60. package/common/types/site.types.d.ts +12 -12
  61. package/common/types/trade-line-item.types.d.ts +24 -0
  62. package/common/types/trade-line-item.types.js +3 -0
  63. package/common/types/trade-line-item.types.js.map +1 -1
  64. package/common/types/trade.types.d.ts +10 -0
  65. package/common/types/trade.types.js +16 -1
  66. package/common/types/trade.types.js.map +1 -1
  67. package/common/types/transaction.types.d.ts +0 -1
  68. package/common/types/transaction.types.js +0 -1
  69. package/common/types/transaction.types.js.map +1 -1
  70. package/common/types/user.types.d.ts +84 -0
  71. package/common/types/user.types.js +2 -0
  72. package/common/types/user.types.js.map +1 -1
  73. package/contracts/clients/csv/index.d.ts +1733 -0
  74. package/contracts/clients/csv/index.js +79 -0
  75. package/contracts/clients/csv/index.js.map +1 -0
  76. package/contracts/clients/index.d.ts +1843 -11
  77. package/contracts/clients/index.js +4 -0
  78. package/contracts/clients/index.js.map +1 -1
  79. package/contracts/clients/individuals/index.d.ts +5 -5
  80. package/contracts/clients/legal-entities/index.d.ts +1 -1
  81. package/contracts/clients/offerings/index.d.ts +20 -5
  82. package/contracts/clients/review/index.d.ts +85 -0
  83. package/contracts/clients/review/index.js +27 -0
  84. package/contracts/clients/review/index.js.map +1 -0
  85. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { ComplianceReview } from './common.types';
2
+ import { ComplianceReview, UserRole } from './common.types';
3
3
  import { DisbursementAdjustmentType } from './disbursement-adjustment.types';
4
4
  export declare const disbursementIdSchema: z.ZodEffects<z.ZodString, string, string>;
5
5
  export declare enum DisbursementStatus {
@@ -1061,12 +1061,11 @@ export declare const PostDisbursementZod: z.ZodObject<{
1061
1061
  type: DisbursementAdjustmentType;
1062
1062
  description: string;
1063
1063
  }[]>;
1064
- escrowAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1064
+ escrowAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1065
1065
  }, "strip", z.ZodTypeAny, {
1066
1066
  name: string;
1067
1067
  offeringId: string;
1068
1068
  issuerId: string;
1069
- escrowAccountId: string;
1070
1069
  tradeIds: string[];
1071
1070
  requestedAmount: number;
1072
1071
  netAmount: number;
@@ -1076,12 +1075,12 @@ export declare const PostDisbursementZod: z.ZodObject<{
1076
1075
  description: string;
1077
1076
  }[];
1078
1077
  issuerBankAccountId: string;
1078
+ escrowAccountId?: string | undefined;
1079
1079
  disbursedAt?: Date | null | undefined;
1080
1080
  }, {
1081
1081
  name: string;
1082
1082
  offeringId: string;
1083
1083
  issuerId: string;
1084
- escrowAccountId: string;
1085
1084
  tradeIds: string[];
1086
1085
  requestedAmount: number;
1087
1086
  netAmount: number;
@@ -1091,6 +1090,7 @@ export declare const PostDisbursementZod: z.ZodObject<{
1091
1090
  description: string;
1092
1091
  }[];
1093
1092
  issuerBankAccountId: string;
1093
+ escrowAccountId?: string | undefined;
1094
1094
  disbursedAt?: string | null | undefined;
1095
1095
  }>;
1096
1096
  export type PostDisbursementZod = z.infer<typeof PostDisbursementZod>;
@@ -1124,7 +1124,7 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1124
1124
  type: DisbursementAdjustmentType;
1125
1125
  description: string;
1126
1126
  }[]>;
1127
- escrowAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1127
+ escrowAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1128
1128
  } & {
1129
1129
  accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1130
1130
  }, "strip", z.ZodTypeAny, {
@@ -1132,7 +1132,6 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1132
1132
  name: string;
1133
1133
  offeringId: string;
1134
1134
  issuerId: string;
1135
- escrowAccountId: string;
1136
1135
  tradeIds: string[];
1137
1136
  requestedAmount: number;
1138
1137
  netAmount: number;
@@ -1142,13 +1141,13 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1142
1141
  description: string;
1143
1142
  }[];
1144
1143
  issuerBankAccountId: string;
1144
+ escrowAccountId?: string | undefined;
1145
1145
  disbursedAt?: Date | null | undefined;
1146
1146
  }, {
1147
1147
  accountId: string;
1148
1148
  name: string;
1149
1149
  offeringId: string;
1150
1150
  issuerId: string;
1151
- escrowAccountId: string;
1152
1151
  tradeIds: string[];
1153
1152
  requestedAmount: number;
1154
1153
  netAmount: number;
@@ -1158,6 +1157,7 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1158
1157
  description: string;
1159
1158
  }[];
1160
1159
  issuerBankAccountId: string;
1160
+ escrowAccountId?: string | undefined;
1161
1161
  disbursedAt?: string | null | undefined;
1162
1162
  }>;
1163
1163
  export type CompliancePostDisbursementZod = z.infer<typeof CompliancePostDisbursementZod>;
@@ -2586,3 +2586,911 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2586
2586
  disbursementTransactions?: any[] | undefined;
2587
2587
  }>;
2588
2588
  export type DisbursementDetailZod = z.infer<typeof DisbursementDetailZod>;
2589
+ export declare const DisbursementApproverZod: z.ZodObject<{
2590
+ name: z.ZodString;
2591
+ email: z.ZodString;
2592
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2593
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2594
+ role: z.ZodNativeEnum<typeof UserRole>;
2595
+ }, "strip", z.ZodTypeAny, {
2596
+ status: DisbursementStatus;
2597
+ email: string;
2598
+ name: string;
2599
+ role: UserRole;
2600
+ reviewedAt: Date | null;
2601
+ }, {
2602
+ status: DisbursementStatus;
2603
+ email: string;
2604
+ name: string;
2605
+ role: UserRole;
2606
+ reviewedAt: Date | null;
2607
+ }>;
2608
+ export type DisbursementApproverZod = z.infer<typeof DisbursementApproverZod>;
2609
+ export declare const DisbursementDeclinedBannerZod: z.ZodObject<{
2610
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2611
+ declinedByName: z.ZodString;
2612
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2613
+ declinedAt: z.ZodDate;
2614
+ }, "strip", z.ZodTypeAny, {
2615
+ disbursementStatus: DisbursementStatus;
2616
+ declinedByName: string;
2617
+ declinedByRole: UserRole;
2618
+ declinedAt: Date;
2619
+ }, {
2620
+ disbursementStatus: DisbursementStatus;
2621
+ declinedByName: string;
2622
+ declinedByRole: UserRole;
2623
+ declinedAt: Date;
2624
+ }>;
2625
+ export type DisbursementDeclinedBannerZod = z.infer<typeof DisbursementDeclinedBannerZod>;
2626
+ export declare const DisbursementApprovalsTabZod: z.ZodObject<{
2627
+ disbursementId: z.ZodString;
2628
+ disbursementName: z.ZodString;
2629
+ issuerName: z.ZodString;
2630
+ offeringName: z.ZodString;
2631
+ approvers: z.ZodArray<z.ZodObject<{
2632
+ name: z.ZodString;
2633
+ email: z.ZodString;
2634
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2635
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2636
+ role: z.ZodNativeEnum<typeof UserRole>;
2637
+ }, "strip", z.ZodTypeAny, {
2638
+ status: DisbursementStatus;
2639
+ email: string;
2640
+ name: string;
2641
+ role: UserRole;
2642
+ reviewedAt: Date | null;
2643
+ }, {
2644
+ status: DisbursementStatus;
2645
+ email: string;
2646
+ name: string;
2647
+ role: UserRole;
2648
+ reviewedAt: Date | null;
2649
+ }>, "many">;
2650
+ declinedBanner: z.ZodNullable<z.ZodObject<{
2651
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2652
+ declinedByName: z.ZodString;
2653
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2654
+ declinedAt: z.ZodDate;
2655
+ }, "strip", z.ZodTypeAny, {
2656
+ disbursementStatus: DisbursementStatus;
2657
+ declinedByName: string;
2658
+ declinedByRole: UserRole;
2659
+ declinedAt: Date;
2660
+ }, {
2661
+ disbursementStatus: DisbursementStatus;
2662
+ declinedByName: string;
2663
+ declinedByRole: UserRole;
2664
+ declinedAt: Date;
2665
+ }>>;
2666
+ }, "strip", z.ZodTypeAny, {
2667
+ issuerName: string;
2668
+ offeringName: string;
2669
+ disbursementId: string;
2670
+ disbursementName: string;
2671
+ approvers: {
2672
+ status: DisbursementStatus;
2673
+ email: string;
2674
+ name: string;
2675
+ role: UserRole;
2676
+ reviewedAt: Date | null;
2677
+ }[];
2678
+ declinedBanner: {
2679
+ disbursementStatus: DisbursementStatus;
2680
+ declinedByName: string;
2681
+ declinedByRole: UserRole;
2682
+ declinedAt: Date;
2683
+ } | null;
2684
+ }, {
2685
+ issuerName: string;
2686
+ offeringName: string;
2687
+ disbursementId: string;
2688
+ disbursementName: string;
2689
+ approvers: {
2690
+ status: DisbursementStatus;
2691
+ email: string;
2692
+ name: string;
2693
+ role: UserRole;
2694
+ reviewedAt: Date | null;
2695
+ }[];
2696
+ declinedBanner: {
2697
+ disbursementStatus: DisbursementStatus;
2698
+ declinedByName: string;
2699
+ declinedByRole: UserRole;
2700
+ declinedAt: Date;
2701
+ } | null;
2702
+ }>;
2703
+ export type DisbursementApprovalsTabZod = z.infer<typeof DisbursementApprovalsTabZod>;
2704
+ export declare const DisbursementDetailsTabHeaderZod: z.ZodObject<{
2705
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
2706
+ disbursementDate: z.ZodNullable<z.ZodDate>;
2707
+ currency: z.ZodDefault<z.ZodString>;
2708
+ }, "strip", z.ZodTypeAny, {
2709
+ currency: string;
2710
+ disbursementId: string;
2711
+ disbursementDate: Date | null;
2712
+ }, {
2713
+ disbursementId: string;
2714
+ disbursementDate: Date | null;
2715
+ currency?: string | undefined;
2716
+ }>;
2717
+ export type DisbursementDetailsTabHeaderZod = z.infer<typeof DisbursementDetailsTabHeaderZod>;
2718
+ export declare const DisbursementDetailsTabGeneralInfoZod: z.ZodObject<{
2719
+ issuerName: z.ZodString;
2720
+ offeringName: z.ZodString;
2721
+ offeringId: z.ZodString;
2722
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2723
+ id: z.ZodString;
2724
+ __entity: z.ZodOptional<z.ZodString>;
2725
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2726
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2727
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2728
+ } & {
2729
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2730
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2731
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2732
+ accountName: z.ZodString;
2733
+ agentEmail: z.ZodString;
2734
+ agentName: z.ZodString;
2735
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2736
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2737
+ id: z.ZodString;
2738
+ __entity: z.ZodOptional<z.ZodString>;
2739
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2740
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2741
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2742
+ } & {
2743
+ name: z.ZodString;
2744
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2745
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2746
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2747
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2748
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2749
+ allowPendingComplianceReview: z.ZodBoolean;
2750
+ }, "strip", z.ZodTypeAny, {
2751
+ status: import("./common.types").AccountStatus;
2752
+ id: string;
2753
+ createdAt: string | Date;
2754
+ updatedAt: string | Date;
2755
+ deletedAt: string | Date | null;
2756
+ name: string;
2757
+ managedBy: import("./common.types").ManagedByType | null;
2758
+ platform: import("./common.types").Platform;
2759
+ onboardingReviewerId: string | null;
2760
+ onboardingReviewAt: Date | null;
2761
+ allowPendingComplianceReview: boolean;
2762
+ __entity?: string | undefined;
2763
+ }, {
2764
+ status: import("./common.types").AccountStatus;
2765
+ id: string;
2766
+ createdAt: string | Date;
2767
+ updatedAt: string | Date;
2768
+ deletedAt: string | Date | null;
2769
+ name: string;
2770
+ managedBy: import("./common.types").ManagedByType | null;
2771
+ platform: import("./common.types").Platform;
2772
+ onboardingReviewerId: string | null;
2773
+ onboardingReviewAt: Date | null;
2774
+ allowPendingComplianceReview: boolean;
2775
+ __entity?: string | undefined;
2776
+ }>>>;
2777
+ }, "strip", z.ZodTypeAny, {
2778
+ id: string;
2779
+ createdAt: string | Date;
2780
+ updatedAt: string | Date;
2781
+ deletedAt: string | Date | null;
2782
+ accountId: string;
2783
+ accountName: string;
2784
+ agentEmail: string;
2785
+ agentName: string;
2786
+ __entity?: string | undefined;
2787
+ account?: {
2788
+ status: import("./common.types").AccountStatus;
2789
+ id: string;
2790
+ createdAt: string | Date;
2791
+ updatedAt: string | Date;
2792
+ deletedAt: string | Date | null;
2793
+ name: string;
2794
+ managedBy: import("./common.types").ManagedByType | null;
2795
+ platform: import("./common.types").Platform;
2796
+ onboardingReviewerId: string | null;
2797
+ onboardingReviewAt: Date | null;
2798
+ allowPendingComplianceReview: boolean;
2799
+ __entity?: string | undefined;
2800
+ } | null | undefined;
2801
+ accountNumber?: string | null | undefined;
2802
+ routingNumber?: string | null | undefined;
2803
+ company?: string | null | undefined;
2804
+ }, {
2805
+ id: string;
2806
+ createdAt: string | Date;
2807
+ updatedAt: string | Date;
2808
+ deletedAt: string | Date | null;
2809
+ accountId: string;
2810
+ accountName: string;
2811
+ agentEmail: string;
2812
+ agentName: string;
2813
+ __entity?: string | undefined;
2814
+ account?: {
2815
+ status: import("./common.types").AccountStatus;
2816
+ id: string;
2817
+ createdAt: string | Date;
2818
+ updatedAt: string | Date;
2819
+ deletedAt: string | Date | null;
2820
+ name: string;
2821
+ managedBy: import("./common.types").ManagedByType | null;
2822
+ platform: import("./common.types").Platform;
2823
+ onboardingReviewerId: string | null;
2824
+ onboardingReviewAt: Date | null;
2825
+ allowPendingComplianceReview: boolean;
2826
+ __entity?: string | undefined;
2827
+ } | null | undefined;
2828
+ accountNumber?: string | null | undefined;
2829
+ routingNumber?: string | null | undefined;
2830
+ company?: string | null | undefined;
2831
+ }>>>;
2832
+ to: z.ZodNullable<z.ZodLazy<any>>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ from: {
2835
+ id: string;
2836
+ createdAt: string | Date;
2837
+ updatedAt: string | Date;
2838
+ deletedAt: string | Date | null;
2839
+ accountId: string;
2840
+ accountName: string;
2841
+ agentEmail: string;
2842
+ agentName: string;
2843
+ __entity?: string | undefined;
2844
+ account?: {
2845
+ status: import("./common.types").AccountStatus;
2846
+ id: string;
2847
+ createdAt: string | Date;
2848
+ updatedAt: string | Date;
2849
+ deletedAt: string | Date | null;
2850
+ name: string;
2851
+ managedBy: import("./common.types").ManagedByType | null;
2852
+ platform: import("./common.types").Platform;
2853
+ onboardingReviewerId: string | null;
2854
+ onboardingReviewAt: Date | null;
2855
+ allowPendingComplianceReview: boolean;
2856
+ __entity?: string | undefined;
2857
+ } | null | undefined;
2858
+ accountNumber?: string | null | undefined;
2859
+ routingNumber?: string | null | undefined;
2860
+ company?: string | null | undefined;
2861
+ } | null;
2862
+ offeringId: string;
2863
+ issuerName: string;
2864
+ offeringName: string;
2865
+ to?: any;
2866
+ }, {
2867
+ from: {
2868
+ id: string;
2869
+ createdAt: string | Date;
2870
+ updatedAt: string | Date;
2871
+ deletedAt: string | Date | null;
2872
+ accountId: string;
2873
+ accountName: string;
2874
+ agentEmail: string;
2875
+ agentName: string;
2876
+ __entity?: string | undefined;
2877
+ account?: {
2878
+ status: import("./common.types").AccountStatus;
2879
+ id: string;
2880
+ createdAt: string | Date;
2881
+ updatedAt: string | Date;
2882
+ deletedAt: string | Date | null;
2883
+ name: string;
2884
+ managedBy: import("./common.types").ManagedByType | null;
2885
+ platform: import("./common.types").Platform;
2886
+ onboardingReviewerId: string | null;
2887
+ onboardingReviewAt: Date | null;
2888
+ allowPendingComplianceReview: boolean;
2889
+ __entity?: string | undefined;
2890
+ } | null | undefined;
2891
+ accountNumber?: string | null | undefined;
2892
+ routingNumber?: string | null | undefined;
2893
+ company?: string | null | undefined;
2894
+ } | null;
2895
+ offeringId: string;
2896
+ issuerName: string;
2897
+ offeringName: string;
2898
+ to?: any;
2899
+ }>;
2900
+ export type DisbursementDetailsTabGeneralInfoZod = z.infer<typeof DisbursementDetailsTabGeneralInfoZod>;
2901
+ export declare const DisbursementDetailsTabFinancialsZod: z.ZodObject<{
2902
+ amountRequested: z.ZodNumber;
2903
+ brokerDealerCommission: z.ZodNumber;
2904
+ disbursementFee: z.ZodNumber;
2905
+ refundPool: z.ZodNumber;
2906
+ amountToBeDisbursed: z.ZodNumber;
2907
+ }, "strip", z.ZodTypeAny, {
2908
+ refundPool: number;
2909
+ amountRequested: number;
2910
+ disbursementFee: number;
2911
+ brokerDealerCommission: number;
2912
+ amountToBeDisbursed: number;
2913
+ }, {
2914
+ refundPool: number;
2915
+ amountRequested: number;
2916
+ disbursementFee: number;
2917
+ brokerDealerCommission: number;
2918
+ amountToBeDisbursed: number;
2919
+ }>;
2920
+ export type DisbursementDetailsTabFinancialsZod = z.infer<typeof DisbursementDetailsTabFinancialsZod>;
2921
+ export declare const DisbursementDetailsTabTradeZod: z.ZodObject<{
2922
+ tradeNo: z.ZodString;
2923
+ investorName: z.ZodString;
2924
+ investmentName: z.ZodString;
2925
+ numberOfShares: z.ZodNumber;
2926
+ totalAmount: z.ZodNumber;
2927
+ date: z.ZodNullable<z.ZodDate>;
2928
+ status: z.ZodString;
2929
+ }, "strip", z.ZodTypeAny, {
2930
+ status: string;
2931
+ date: Date | null;
2932
+ totalAmount: number;
2933
+ investorName: string;
2934
+ numberOfShares: number;
2935
+ tradeNo: string;
2936
+ investmentName: string;
2937
+ }, {
2938
+ status: string;
2939
+ date: Date | null;
2940
+ totalAmount: number;
2941
+ investorName: string;
2942
+ numberOfShares: number;
2943
+ tradeNo: string;
2944
+ investmentName: string;
2945
+ }>;
2946
+ export type DisbursementDetailsTabTradeZod = z.infer<typeof DisbursementDetailsTabTradeZod>;
2947
+ export declare const DisbursementDetailsTabApprovalZod: z.ZodObject<{
2948
+ name: z.ZodString;
2949
+ signedAt: z.ZodNullable<z.ZodDate>;
2950
+ }, "strip", z.ZodTypeAny, {
2951
+ name: string;
2952
+ signedAt: Date | null;
2953
+ }, {
2954
+ name: string;
2955
+ signedAt: Date | null;
2956
+ }>;
2957
+ export type DisbursementDetailsTabApprovalZod = z.infer<typeof DisbursementDetailsTabApprovalZod>;
2958
+ export declare const DisbursementDetailsTabApprovalsZod: z.ZodObject<{
2959
+ issuerApprovals: z.ZodArray<z.ZodObject<{
2960
+ name: z.ZodString;
2961
+ signedAt: z.ZodNullable<z.ZodDate>;
2962
+ }, "strip", z.ZodTypeAny, {
2963
+ name: string;
2964
+ signedAt: Date | null;
2965
+ }, {
2966
+ name: string;
2967
+ signedAt: Date | null;
2968
+ }>, "many">;
2969
+ complianceApproval: z.ZodNullable<z.ZodObject<{
2970
+ name: z.ZodString;
2971
+ signedAt: z.ZodNullable<z.ZodDate>;
2972
+ }, "strip", z.ZodTypeAny, {
2973
+ name: string;
2974
+ signedAt: Date | null;
2975
+ }, {
2976
+ name: string;
2977
+ signedAt: Date | null;
2978
+ }>>;
2979
+ escrowApproval: z.ZodNullable<z.ZodObject<{
2980
+ name: z.ZodString;
2981
+ signedAt: z.ZodNullable<z.ZodDate>;
2982
+ }, "strip", z.ZodTypeAny, {
2983
+ name: string;
2984
+ signedAt: Date | null;
2985
+ }, {
2986
+ name: string;
2987
+ signedAt: Date | null;
2988
+ }>>;
2989
+ }, "strip", z.ZodTypeAny, {
2990
+ issuerApprovals: {
2991
+ name: string;
2992
+ signedAt: Date | null;
2993
+ }[];
2994
+ complianceApproval: {
2995
+ name: string;
2996
+ signedAt: Date | null;
2997
+ } | null;
2998
+ escrowApproval: {
2999
+ name: string;
3000
+ signedAt: Date | null;
3001
+ } | null;
3002
+ }, {
3003
+ issuerApprovals: {
3004
+ name: string;
3005
+ signedAt: Date | null;
3006
+ }[];
3007
+ complianceApproval: {
3008
+ name: string;
3009
+ signedAt: Date | null;
3010
+ } | null;
3011
+ escrowApproval: {
3012
+ name: string;
3013
+ signedAt: Date | null;
3014
+ } | null;
3015
+ }>;
3016
+ export type DisbursementDetailsTabApprovalsZod = z.infer<typeof DisbursementDetailsTabApprovalsZod>;
3017
+ export declare const DisbursementDetailsTabRejectionZod: z.ZodObject<{
3018
+ declinedByName: z.ZodNullable<z.ZodString>;
3019
+ declinedByRole: z.ZodNullable<z.ZodString>;
3020
+ declinedAt: z.ZodNullable<z.ZodDate>;
3021
+ }, "strip", z.ZodTypeAny, {
3022
+ declinedByName: string | null;
3023
+ declinedByRole: string | null;
3024
+ declinedAt: Date | null;
3025
+ }, {
3026
+ declinedByName: string | null;
3027
+ declinedByRole: string | null;
3028
+ declinedAt: Date | null;
3029
+ }>;
3030
+ export type DisbursementDetailsTabRejectionZod = z.infer<typeof DisbursementDetailsTabRejectionZod>;
3031
+ export declare const DisbursementDetailsTabZod: z.ZodObject<{
3032
+ header: z.ZodObject<{
3033
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
3034
+ disbursementDate: z.ZodNullable<z.ZodDate>;
3035
+ currency: z.ZodDefault<z.ZodString>;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ currency: string;
3038
+ disbursementId: string;
3039
+ disbursementDate: Date | null;
3040
+ }, {
3041
+ disbursementId: string;
3042
+ disbursementDate: Date | null;
3043
+ currency?: string | undefined;
3044
+ }>;
3045
+ generalInfo: z.ZodObject<{
3046
+ issuerName: z.ZodString;
3047
+ offeringName: z.ZodString;
3048
+ offeringId: z.ZodString;
3049
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3050
+ id: z.ZodString;
3051
+ __entity: z.ZodOptional<z.ZodString>;
3052
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3053
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3054
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3055
+ } & {
3056
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3057
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3058
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3059
+ accountName: z.ZodString;
3060
+ agentEmail: z.ZodString;
3061
+ agentName: z.ZodString;
3062
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
3063
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3064
+ id: z.ZodString;
3065
+ __entity: z.ZodOptional<z.ZodString>;
3066
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3067
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3068
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3069
+ } & {
3070
+ name: z.ZodString;
3071
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
3072
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
3073
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
3074
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
3075
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
3076
+ allowPendingComplianceReview: z.ZodBoolean;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ status: import("./common.types").AccountStatus;
3079
+ id: string;
3080
+ createdAt: string | Date;
3081
+ updatedAt: string | Date;
3082
+ deletedAt: string | Date | null;
3083
+ name: string;
3084
+ managedBy: import("./common.types").ManagedByType | null;
3085
+ platform: import("./common.types").Platform;
3086
+ onboardingReviewerId: string | null;
3087
+ onboardingReviewAt: Date | null;
3088
+ allowPendingComplianceReview: boolean;
3089
+ __entity?: string | undefined;
3090
+ }, {
3091
+ status: import("./common.types").AccountStatus;
3092
+ id: string;
3093
+ createdAt: string | Date;
3094
+ updatedAt: string | Date;
3095
+ deletedAt: string | Date | null;
3096
+ name: string;
3097
+ managedBy: import("./common.types").ManagedByType | null;
3098
+ platform: import("./common.types").Platform;
3099
+ onboardingReviewerId: string | null;
3100
+ onboardingReviewAt: Date | null;
3101
+ allowPendingComplianceReview: boolean;
3102
+ __entity?: string | undefined;
3103
+ }>>>;
3104
+ }, "strip", z.ZodTypeAny, {
3105
+ id: string;
3106
+ createdAt: string | Date;
3107
+ updatedAt: string | Date;
3108
+ deletedAt: string | Date | null;
3109
+ accountId: string;
3110
+ accountName: string;
3111
+ agentEmail: string;
3112
+ agentName: string;
3113
+ __entity?: string | undefined;
3114
+ account?: {
3115
+ status: import("./common.types").AccountStatus;
3116
+ id: string;
3117
+ createdAt: string | Date;
3118
+ updatedAt: string | Date;
3119
+ deletedAt: string | Date | null;
3120
+ name: string;
3121
+ managedBy: import("./common.types").ManagedByType | null;
3122
+ platform: import("./common.types").Platform;
3123
+ onboardingReviewerId: string | null;
3124
+ onboardingReviewAt: Date | null;
3125
+ allowPendingComplianceReview: boolean;
3126
+ __entity?: string | undefined;
3127
+ } | null | undefined;
3128
+ accountNumber?: string | null | undefined;
3129
+ routingNumber?: string | null | undefined;
3130
+ company?: string | null | undefined;
3131
+ }, {
3132
+ id: string;
3133
+ createdAt: string | Date;
3134
+ updatedAt: string | Date;
3135
+ deletedAt: string | Date | null;
3136
+ accountId: string;
3137
+ accountName: string;
3138
+ agentEmail: string;
3139
+ agentName: string;
3140
+ __entity?: string | undefined;
3141
+ account?: {
3142
+ status: import("./common.types").AccountStatus;
3143
+ id: string;
3144
+ createdAt: string | Date;
3145
+ updatedAt: string | Date;
3146
+ deletedAt: string | Date | null;
3147
+ name: string;
3148
+ managedBy: import("./common.types").ManagedByType | null;
3149
+ platform: import("./common.types").Platform;
3150
+ onboardingReviewerId: string | null;
3151
+ onboardingReviewAt: Date | null;
3152
+ allowPendingComplianceReview: boolean;
3153
+ __entity?: string | undefined;
3154
+ } | null | undefined;
3155
+ accountNumber?: string | null | undefined;
3156
+ routingNumber?: string | null | undefined;
3157
+ company?: string | null | undefined;
3158
+ }>>>;
3159
+ to: z.ZodNullable<z.ZodLazy<any>>;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ from: {
3162
+ id: string;
3163
+ createdAt: string | Date;
3164
+ updatedAt: string | Date;
3165
+ deletedAt: string | Date | null;
3166
+ accountId: string;
3167
+ accountName: string;
3168
+ agentEmail: string;
3169
+ agentName: string;
3170
+ __entity?: string | undefined;
3171
+ account?: {
3172
+ status: import("./common.types").AccountStatus;
3173
+ id: string;
3174
+ createdAt: string | Date;
3175
+ updatedAt: string | Date;
3176
+ deletedAt: string | Date | null;
3177
+ name: string;
3178
+ managedBy: import("./common.types").ManagedByType | null;
3179
+ platform: import("./common.types").Platform;
3180
+ onboardingReviewerId: string | null;
3181
+ onboardingReviewAt: Date | null;
3182
+ allowPendingComplianceReview: boolean;
3183
+ __entity?: string | undefined;
3184
+ } | null | undefined;
3185
+ accountNumber?: string | null | undefined;
3186
+ routingNumber?: string | null | undefined;
3187
+ company?: string | null | undefined;
3188
+ } | null;
3189
+ offeringId: string;
3190
+ issuerName: string;
3191
+ offeringName: string;
3192
+ to?: any;
3193
+ }, {
3194
+ from: {
3195
+ id: string;
3196
+ createdAt: string | Date;
3197
+ updatedAt: string | Date;
3198
+ deletedAt: string | Date | null;
3199
+ accountId: string;
3200
+ accountName: string;
3201
+ agentEmail: string;
3202
+ agentName: string;
3203
+ __entity?: string | undefined;
3204
+ account?: {
3205
+ status: import("./common.types").AccountStatus;
3206
+ id: string;
3207
+ createdAt: string | Date;
3208
+ updatedAt: string | Date;
3209
+ deletedAt: string | Date | null;
3210
+ name: string;
3211
+ managedBy: import("./common.types").ManagedByType | null;
3212
+ platform: import("./common.types").Platform;
3213
+ onboardingReviewerId: string | null;
3214
+ onboardingReviewAt: Date | null;
3215
+ allowPendingComplianceReview: boolean;
3216
+ __entity?: string | undefined;
3217
+ } | null | undefined;
3218
+ accountNumber?: string | null | undefined;
3219
+ routingNumber?: string | null | undefined;
3220
+ company?: string | null | undefined;
3221
+ } | null;
3222
+ offeringId: string;
3223
+ issuerName: string;
3224
+ offeringName: string;
3225
+ to?: any;
3226
+ }>;
3227
+ financials: z.ZodObject<{
3228
+ amountRequested: z.ZodNumber;
3229
+ brokerDealerCommission: z.ZodNumber;
3230
+ disbursementFee: z.ZodNumber;
3231
+ refundPool: z.ZodNumber;
3232
+ amountToBeDisbursed: z.ZodNumber;
3233
+ }, "strip", z.ZodTypeAny, {
3234
+ refundPool: number;
3235
+ amountRequested: number;
3236
+ disbursementFee: number;
3237
+ brokerDealerCommission: number;
3238
+ amountToBeDisbursed: number;
3239
+ }, {
3240
+ refundPool: number;
3241
+ amountRequested: number;
3242
+ disbursementFee: number;
3243
+ brokerDealerCommission: number;
3244
+ amountToBeDisbursed: number;
3245
+ }>;
3246
+ trades: z.ZodArray<z.ZodObject<{
3247
+ tradeNo: z.ZodString;
3248
+ investorName: z.ZodString;
3249
+ investmentName: z.ZodString;
3250
+ numberOfShares: z.ZodNumber;
3251
+ totalAmount: z.ZodNumber;
3252
+ date: z.ZodNullable<z.ZodDate>;
3253
+ status: z.ZodString;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ status: string;
3256
+ date: Date | null;
3257
+ totalAmount: number;
3258
+ investorName: string;
3259
+ numberOfShares: number;
3260
+ tradeNo: string;
3261
+ investmentName: string;
3262
+ }, {
3263
+ status: string;
3264
+ date: Date | null;
3265
+ totalAmount: number;
3266
+ investorName: string;
3267
+ numberOfShares: number;
3268
+ tradeNo: string;
3269
+ investmentName: string;
3270
+ }>, "many">;
3271
+ approvals: z.ZodObject<{
3272
+ issuerApprovals: z.ZodArray<z.ZodObject<{
3273
+ name: z.ZodString;
3274
+ signedAt: z.ZodNullable<z.ZodDate>;
3275
+ }, "strip", z.ZodTypeAny, {
3276
+ name: string;
3277
+ signedAt: Date | null;
3278
+ }, {
3279
+ name: string;
3280
+ signedAt: Date | null;
3281
+ }>, "many">;
3282
+ complianceApproval: z.ZodNullable<z.ZodObject<{
3283
+ name: z.ZodString;
3284
+ signedAt: z.ZodNullable<z.ZodDate>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ name: string;
3287
+ signedAt: Date | null;
3288
+ }, {
3289
+ name: string;
3290
+ signedAt: Date | null;
3291
+ }>>;
3292
+ escrowApproval: z.ZodNullable<z.ZodObject<{
3293
+ name: z.ZodString;
3294
+ signedAt: z.ZodNullable<z.ZodDate>;
3295
+ }, "strip", z.ZodTypeAny, {
3296
+ name: string;
3297
+ signedAt: Date | null;
3298
+ }, {
3299
+ name: string;
3300
+ signedAt: Date | null;
3301
+ }>>;
3302
+ }, "strip", z.ZodTypeAny, {
3303
+ issuerApprovals: {
3304
+ name: string;
3305
+ signedAt: Date | null;
3306
+ }[];
3307
+ complianceApproval: {
3308
+ name: string;
3309
+ signedAt: Date | null;
3310
+ } | null;
3311
+ escrowApproval: {
3312
+ name: string;
3313
+ signedAt: Date | null;
3314
+ } | null;
3315
+ }, {
3316
+ issuerApprovals: {
3317
+ name: string;
3318
+ signedAt: Date | null;
3319
+ }[];
3320
+ complianceApproval: {
3321
+ name: string;
3322
+ signedAt: Date | null;
3323
+ } | null;
3324
+ escrowApproval: {
3325
+ name: string;
3326
+ signedAt: Date | null;
3327
+ } | null;
3328
+ }>;
3329
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
3330
+ rejection: z.ZodNullable<z.ZodObject<{
3331
+ declinedByName: z.ZodNullable<z.ZodString>;
3332
+ declinedByRole: z.ZodNullable<z.ZodString>;
3333
+ declinedAt: z.ZodNullable<z.ZodDate>;
3334
+ }, "strip", z.ZodTypeAny, {
3335
+ declinedByName: string | null;
3336
+ declinedByRole: string | null;
3337
+ declinedAt: Date | null;
3338
+ }, {
3339
+ declinedByName: string | null;
3340
+ declinedByRole: string | null;
3341
+ declinedAt: Date | null;
3342
+ }>>;
3343
+ }, "strip", z.ZodTypeAny, {
3344
+ status: DisbursementStatus;
3345
+ trades: {
3346
+ status: string;
3347
+ date: Date | null;
3348
+ totalAmount: number;
3349
+ investorName: string;
3350
+ numberOfShares: number;
3351
+ tradeNo: string;
3352
+ investmentName: string;
3353
+ }[];
3354
+ header: {
3355
+ currency: string;
3356
+ disbursementId: string;
3357
+ disbursementDate: Date | null;
3358
+ };
3359
+ generalInfo: {
3360
+ from: {
3361
+ id: string;
3362
+ createdAt: string | Date;
3363
+ updatedAt: string | Date;
3364
+ deletedAt: string | Date | null;
3365
+ accountId: string;
3366
+ accountName: string;
3367
+ agentEmail: string;
3368
+ agentName: string;
3369
+ __entity?: string | undefined;
3370
+ account?: {
3371
+ status: import("./common.types").AccountStatus;
3372
+ id: string;
3373
+ createdAt: string | Date;
3374
+ updatedAt: string | Date;
3375
+ deletedAt: string | Date | null;
3376
+ name: string;
3377
+ managedBy: import("./common.types").ManagedByType | null;
3378
+ platform: import("./common.types").Platform;
3379
+ onboardingReviewerId: string | null;
3380
+ onboardingReviewAt: Date | null;
3381
+ allowPendingComplianceReview: boolean;
3382
+ __entity?: string | undefined;
3383
+ } | null | undefined;
3384
+ accountNumber?: string | null | undefined;
3385
+ routingNumber?: string | null | undefined;
3386
+ company?: string | null | undefined;
3387
+ } | null;
3388
+ offeringId: string;
3389
+ issuerName: string;
3390
+ offeringName: string;
3391
+ to?: any;
3392
+ };
3393
+ financials: {
3394
+ refundPool: number;
3395
+ amountRequested: number;
3396
+ disbursementFee: number;
3397
+ brokerDealerCommission: number;
3398
+ amountToBeDisbursed: number;
3399
+ };
3400
+ approvals: {
3401
+ issuerApprovals: {
3402
+ name: string;
3403
+ signedAt: Date | null;
3404
+ }[];
3405
+ complianceApproval: {
3406
+ name: string;
3407
+ signedAt: Date | null;
3408
+ } | null;
3409
+ escrowApproval: {
3410
+ name: string;
3411
+ signedAt: Date | null;
3412
+ } | null;
3413
+ };
3414
+ rejection: {
3415
+ declinedByName: string | null;
3416
+ declinedByRole: string | null;
3417
+ declinedAt: Date | null;
3418
+ } | null;
3419
+ }, {
3420
+ status: DisbursementStatus;
3421
+ trades: {
3422
+ status: string;
3423
+ date: Date | null;
3424
+ totalAmount: number;
3425
+ investorName: string;
3426
+ numberOfShares: number;
3427
+ tradeNo: string;
3428
+ investmentName: string;
3429
+ }[];
3430
+ header: {
3431
+ disbursementId: string;
3432
+ disbursementDate: Date | null;
3433
+ currency?: string | undefined;
3434
+ };
3435
+ generalInfo: {
3436
+ from: {
3437
+ id: string;
3438
+ createdAt: string | Date;
3439
+ updatedAt: string | Date;
3440
+ deletedAt: string | Date | null;
3441
+ accountId: string;
3442
+ accountName: string;
3443
+ agentEmail: string;
3444
+ agentName: string;
3445
+ __entity?: string | undefined;
3446
+ account?: {
3447
+ status: import("./common.types").AccountStatus;
3448
+ id: string;
3449
+ createdAt: string | Date;
3450
+ updatedAt: string | Date;
3451
+ deletedAt: string | Date | null;
3452
+ name: string;
3453
+ managedBy: import("./common.types").ManagedByType | null;
3454
+ platform: import("./common.types").Platform;
3455
+ onboardingReviewerId: string | null;
3456
+ onboardingReviewAt: Date | null;
3457
+ allowPendingComplianceReview: boolean;
3458
+ __entity?: string | undefined;
3459
+ } | null | undefined;
3460
+ accountNumber?: string | null | undefined;
3461
+ routingNumber?: string | null | undefined;
3462
+ company?: string | null | undefined;
3463
+ } | null;
3464
+ offeringId: string;
3465
+ issuerName: string;
3466
+ offeringName: string;
3467
+ to?: any;
3468
+ };
3469
+ financials: {
3470
+ refundPool: number;
3471
+ amountRequested: number;
3472
+ disbursementFee: number;
3473
+ brokerDealerCommission: number;
3474
+ amountToBeDisbursed: number;
3475
+ };
3476
+ approvals: {
3477
+ issuerApprovals: {
3478
+ name: string;
3479
+ signedAt: Date | null;
3480
+ }[];
3481
+ complianceApproval: {
3482
+ name: string;
3483
+ signedAt: Date | null;
3484
+ } | null;
3485
+ escrowApproval: {
3486
+ name: string;
3487
+ signedAt: Date | null;
3488
+ } | null;
3489
+ };
3490
+ rejection: {
3491
+ declinedByName: string | null;
3492
+ declinedByRole: string | null;
3493
+ declinedAt: Date | null;
3494
+ } | null;
3495
+ }>;
3496
+ export type DisbursementDetailsTabZod = z.infer<typeof DisbursementDetailsTabZod>;