@dalmore/api-contracts 0.0.0-dev.c1dc422 → 0.0.0-dev.c81baa3

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 (135) hide show
  1. package/common/constants.d.ts +43 -0
  2. package/common/constants.js +77 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +27 -0
  5. package/common/helpers/index.js +43 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +22 -66
  8. package/common/types/account-setting.types.js +2 -31
  9. package/common/types/account-setting.types.js.map +1 -1
  10. package/common/types/account.types.d.ts +32 -23
  11. package/common/types/account.types.js +4 -3
  12. package/common/types/account.types.js.map +1 -1
  13. package/common/types/activity.types.d.ts +34 -25
  14. package/common/types/activity.types.js +11 -0
  15. package/common/types/activity.types.js.map +1 -1
  16. package/common/types/asset.types.d.ts +25 -111
  17. package/common/types/asset.types.js +24 -100
  18. package/common/types/asset.types.js.map +1 -1
  19. package/common/types/attribution.types.d.ts +582 -0
  20. package/common/types/attribution.types.js +126 -0
  21. package/common/types/attribution.types.js.map +1 -0
  22. package/common/types/auth.types.d.ts +36 -0
  23. package/common/types/auth.types.js +3 -2
  24. package/common/types/auth.types.js.map +1 -1
  25. package/common/types/bonus-tier.types.d.ts +0 -30
  26. package/common/types/cap-table.types.d.ts +240 -53
  27. package/common/types/cap-table.types.js +52 -0
  28. package/common/types/cap-table.types.js.map +1 -1
  29. package/common/types/cart.types.d.ts +3 -0
  30. package/common/types/cart.types.js +1 -0
  31. package/common/types/cart.types.js.map +1 -1
  32. package/common/types/common.types.d.ts +354 -7
  33. package/common/types/common.types.js +72 -4
  34. package/common/types/common.types.js.map +1 -1
  35. package/common/types/comply-advantage-api.types.d.ts +12 -12
  36. package/common/types/csv.types.d.ts +3612 -0
  37. package/common/types/csv.types.js +290 -0
  38. package/common/types/csv.types.js.map +1 -0
  39. package/common/types/dashboard.types.d.ts +7 -7
  40. package/common/types/disbursement-transaction.types.d.ts +1 -1
  41. package/common/types/disbursement-transaction.types.js +1 -1
  42. package/common/types/disbursement-transaction.types.js.map +1 -1
  43. package/common/types/disbursements.types.d.ts +1022 -13
  44. package/common/types/disbursements.types.js +105 -3
  45. package/common/types/disbursements.types.js.map +1 -1
  46. package/common/types/exchange-provider.types.d.ts +12 -12
  47. package/common/types/file.types.d.ts +33 -9
  48. package/common/types/file.types.js +12 -0
  49. package/common/types/file.types.js.map +1 -1
  50. package/common/types/index.d.ts +5 -2
  51. package/common/types/index.js +5 -2
  52. package/common/types/index.js.map +1 -1
  53. package/common/types/individuals.types.d.ts +395 -5
  54. package/common/types/individuals.types.js +11 -14
  55. package/common/types/individuals.types.js.map +1 -1
  56. package/common/types/investor-account.types.d.ts +1 -1
  57. package/common/types/investor-account.types.js +3 -2
  58. package/common/types/investor-account.types.js.map +1 -1
  59. package/common/types/investors-offering.types.d.ts +8 -0
  60. package/common/types/investors-offering.types.js +1 -0
  61. package/common/types/investors-offering.types.js.map +1 -1
  62. package/common/types/invite.types.d.ts +5 -2
  63. package/common/types/invite.types.js +2 -1
  64. package/common/types/invite.types.js.map +1 -1
  65. package/common/types/issuer-offering.types.d.ts +347 -79
  66. package/common/types/issuer-offering.types.js +188 -63
  67. package/common/types/issuer-offering.types.js.map +1 -1
  68. package/common/types/job-item.types.d.ts +14 -14
  69. package/common/types/legal-entity.types.d.ts +39 -1
  70. package/common/types/legal-entity.types.js +8 -5
  71. package/common/types/legal-entity.types.js.map +1 -1
  72. package/common/types/mail-template.types.d.ts +4 -4
  73. package/common/types/note.types.d.ts +15 -15
  74. package/common/types/notification.types.d.ts +1 -0
  75. package/common/types/notification.types.js +3 -0
  76. package/common/types/notification.types.js.map +1 -1
  77. package/common/types/offering-submission.types.d.ts +198 -0
  78. package/common/types/offering-submission.types.js +17 -4
  79. package/common/types/offering-submission.types.js.map +1 -1
  80. package/common/types/offering.types.d.ts +276 -71
  81. package/common/types/offering.types.js +241 -55
  82. package/common/types/offering.types.js.map +1 -1
  83. package/common/types/payment-methods.types.d.ts +365 -0
  84. package/common/types/payment-methods.types.js +121 -0
  85. package/common/types/payment-methods.types.js.map +1 -1
  86. package/common/types/portfolio.types.d.ts +6 -6
  87. package/common/types/reports.types.d.ts +345 -0
  88. package/common/types/reports.types.js +69 -0
  89. package/common/types/reports.types.js.map +1 -0
  90. package/common/types/review.types.js +1 -1
  91. package/common/types/review.types.js.map +1 -1
  92. package/common/types/secondary-order.types.d.ts +10 -10
  93. package/common/types/secondary-trade.types.d.ts +10 -10
  94. package/common/types/site.types.d.ts +12 -27
  95. package/common/types/state-machine.types.d.ts +3 -3
  96. package/common/types/state-machine.types.js +1 -1
  97. package/common/types/state-machine.types.js.map +1 -1
  98. package/common/types/task.types.d.ts +30 -22
  99. package/common/types/task.types.js +3 -0
  100. package/common/types/task.types.js.map +1 -1
  101. package/common/types/trade-line-item.types.d.ts +24 -0
  102. package/common/types/trade-line-item.types.js +3 -0
  103. package/common/types/trade-line-item.types.js.map +1 -1
  104. package/common/types/trade.types.d.ts +20 -14
  105. package/common/types/trade.types.js +18 -7
  106. package/common/types/trade.types.js.map +1 -1
  107. package/common/types/transaction.types.d.ts +24 -2
  108. package/common/types/transaction.types.js +26 -1
  109. package/common/types/transaction.types.js.map +1 -1
  110. package/common/types/user.types.d.ts +108 -82
  111. package/common/types/user.types.js +10 -23
  112. package/common/types/user.types.js.map +1 -1
  113. package/common/types/zapier.types.d.ts +126 -0
  114. package/common/types/zapier.types.js +247 -0
  115. package/common/types/zapier.types.js.map +1 -0
  116. package/contracts/clients/assets/index.d.ts +0 -66
  117. package/contracts/clients/cart/index.d.ts +3 -0
  118. package/contracts/clients/csv/index.d.ts +1988 -0
  119. package/contracts/clients/csv/index.js +96 -0
  120. package/contracts/clients/csv/index.js.map +1 -0
  121. package/contracts/clients/files/index.d.ts +3 -3
  122. package/contracts/clients/files-public/index.d.ts +3 -3
  123. package/contracts/clients/index.d.ts +4028 -1163
  124. package/contracts/clients/index.js +8 -2
  125. package/contracts/clients/index.js.map +1 -1
  126. package/contracts/clients/individuals/index.d.ts +381 -5
  127. package/contracts/clients/legal-entities/index.d.ts +1 -1
  128. package/contracts/clients/offerings/index.d.ts +90 -35
  129. package/contracts/clients/review/index.d.ts +85 -0
  130. package/contracts/clients/review/index.js +27 -0
  131. package/contracts/clients/review/index.js.map +1 -0
  132. package/contracts/clients/webhooks/index.d.ts +506 -0
  133. package/contracts/clients/webhooks/index.js +118 -0
  134. package/contracts/clients/webhooks/index.js.map +1 -0
  135. 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 {
@@ -1032,7 +1032,7 @@ export declare const DisbursementsIncludeQuery: z.ZodObject<{
1032
1032
  export interface DisbursementsIncludeQuery extends z.infer<typeof DisbursementsIncludeQuery> {
1033
1033
  }
1034
1034
  export declare const PostDisbursementZod: z.ZodObject<{
1035
- name: z.ZodString;
1035
+ name: z.ZodOptional<z.ZodString>;
1036
1036
  offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1037
1037
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1038
1038
  issuerBankAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
@@ -1061,12 +1061,10 @@ 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
- name: string;
1067
1066
  offeringId: string;
1068
1067
  issuerId: string;
1069
- escrowAccountId: string;
1070
1068
  tradeIds: string[];
1071
1069
  requestedAmount: number;
1072
1070
  netAmount: number;
@@ -1076,12 +1074,12 @@ export declare const PostDisbursementZod: z.ZodObject<{
1076
1074
  description: string;
1077
1075
  }[];
1078
1076
  issuerBankAccountId: string;
1077
+ name?: string | undefined;
1078
+ escrowAccountId?: string | undefined;
1079
1079
  disbursedAt?: Date | null | undefined;
1080
1080
  }, {
1081
- name: string;
1082
1081
  offeringId: string;
1083
1082
  issuerId: string;
1084
- escrowAccountId: string;
1085
1083
  tradeIds: string[];
1086
1084
  requestedAmount: number;
1087
1085
  netAmount: number;
@@ -1091,11 +1089,13 @@ export declare const PostDisbursementZod: z.ZodObject<{
1091
1089
  description: string;
1092
1090
  }[];
1093
1091
  issuerBankAccountId: string;
1092
+ name?: string | undefined;
1093
+ escrowAccountId?: string | undefined;
1094
1094
  disbursedAt?: string | null | undefined;
1095
1095
  }>;
1096
1096
  export type PostDisbursementZod = z.infer<typeof PostDisbursementZod>;
1097
1097
  export declare const CompliancePostDisbursementZod: z.ZodObject<{
1098
- name: z.ZodString;
1098
+ name: z.ZodOptional<z.ZodString>;
1099
1099
  offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1100
1100
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1101
1101
  issuerBankAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
@@ -1124,15 +1124,13 @@ 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, {
1131
1131
  accountId: string;
1132
- name: string;
1133
1132
  offeringId: string;
1134
1133
  issuerId: string;
1135
- escrowAccountId: string;
1136
1134
  tradeIds: string[];
1137
1135
  requestedAmount: number;
1138
1136
  netAmount: number;
@@ -1142,13 +1140,13 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1142
1140
  description: string;
1143
1141
  }[];
1144
1142
  issuerBankAccountId: string;
1143
+ name?: string | undefined;
1144
+ escrowAccountId?: string | undefined;
1145
1145
  disbursedAt?: Date | null | undefined;
1146
1146
  }, {
1147
1147
  accountId: string;
1148
- name: string;
1149
1148
  offeringId: string;
1150
1149
  issuerId: string;
1151
- escrowAccountId: string;
1152
1150
  tradeIds: string[];
1153
1151
  requestedAmount: number;
1154
1152
  netAmount: number;
@@ -1158,6 +1156,8 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1158
1156
  description: string;
1159
1157
  }[];
1160
1158
  issuerBankAccountId: string;
1159
+ name?: string | undefined;
1160
+ escrowAccountId?: string | undefined;
1161
1161
  disbursedAt?: string | null | undefined;
1162
1162
  }>;
1163
1163
  export type CompliancePostDisbursementZod = z.infer<typeof CompliancePostDisbursementZod>;
@@ -1489,18 +1489,27 @@ export declare const DisbursementPreviewBalanceZod: z.ZodObject<{
1489
1489
  totalDisbursed: z.ZodNumber;
1490
1490
  pending: z.ZodNumber;
1491
1491
  refundPool: z.ZodNumber;
1492
+ disbursementFee: z.ZodNumber;
1493
+ brokerageFee: z.ZodNumber;
1492
1494
  availableForDisbursement: z.ZodNumber;
1495
+ netAmount: z.ZodNumber;
1493
1496
  }, "strip", z.ZodTypeAny, {
1494
1497
  pending: number;
1498
+ netAmount: number;
1495
1499
  totalRaised: number;
1496
1500
  totalDisbursed: number;
1497
1501
  refundPool: number;
1502
+ brokerageFee: number;
1503
+ disbursementFee: number;
1498
1504
  availableForDisbursement: number;
1499
1505
  }, {
1500
1506
  pending: number;
1507
+ netAmount: number;
1501
1508
  totalRaised: number;
1502
1509
  totalDisbursed: number;
1503
1510
  refundPool: number;
1511
+ brokerageFee: number;
1512
+ disbursementFee: number;
1504
1513
  availableForDisbursement: number;
1505
1514
  }>;
1506
1515
  export type DisbursementPreviewBalanceZod = z.infer<typeof DisbursementPreviewBalanceZod>;
@@ -1515,6 +1524,35 @@ export declare const DisbursementPreviewTradeSummaryZod: z.ZodObject<{
1515
1524
  selectedTradesTotalAmount: number;
1516
1525
  }>;
1517
1526
  export type DisbursementPreviewTradeSummaryZod = z.infer<typeof DisbursementPreviewTradeSummaryZod>;
1527
+ export declare const DisbursementPreviewTradeZod: z.ZodObject<{
1528
+ tradeId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1529
+ tradeNo: z.ZodString;
1530
+ investorName: z.ZodString;
1531
+ investmentName: z.ZodString;
1532
+ numberOfShares: z.ZodNumber;
1533
+ totalAmount: z.ZodNumber;
1534
+ date: z.ZodNullable<z.ZodDate>;
1535
+ status: z.ZodString;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ status: string;
1538
+ date: Date | null;
1539
+ tradeId: string;
1540
+ totalAmount: number;
1541
+ investorName: string;
1542
+ numberOfShares: number;
1543
+ tradeNo: string;
1544
+ investmentName: string;
1545
+ }, {
1546
+ status: string;
1547
+ date: Date | null;
1548
+ tradeId: string;
1549
+ totalAmount: number;
1550
+ investorName: string;
1551
+ numberOfShares: number;
1552
+ tradeNo: string;
1553
+ investmentName: string;
1554
+ }>;
1555
+ export type DisbursementPreviewTradeZod = z.infer<typeof DisbursementPreviewTradeZod>;
1518
1556
  export declare const DisbursementPreviewContingencyZod: z.ZodObject<{
1519
1557
  contingencyPassed: z.ZodBoolean;
1520
1558
  contingencyMessage: z.ZodNullable<z.ZodString>;
@@ -1728,20 +1766,57 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1728
1766
  totalDisbursed: z.ZodNumber;
1729
1767
  pending: z.ZodNumber;
1730
1768
  refundPool: z.ZodNumber;
1769
+ disbursementFee: z.ZodNumber;
1770
+ brokerageFee: z.ZodNumber;
1731
1771
  availableForDisbursement: z.ZodNumber;
1772
+ netAmount: z.ZodNumber;
1732
1773
  }, "strip", z.ZodTypeAny, {
1733
1774
  pending: number;
1775
+ netAmount: number;
1734
1776
  totalRaised: number;
1735
1777
  totalDisbursed: number;
1736
1778
  refundPool: number;
1779
+ brokerageFee: number;
1780
+ disbursementFee: number;
1737
1781
  availableForDisbursement: number;
1738
1782
  }, {
1739
1783
  pending: number;
1784
+ netAmount: number;
1740
1785
  totalRaised: number;
1741
1786
  totalDisbursed: number;
1742
1787
  refundPool: number;
1788
+ brokerageFee: number;
1789
+ disbursementFee: number;
1743
1790
  availableForDisbursement: number;
1744
1791
  }>;
1792
+ eligibleTrades: z.ZodArray<z.ZodObject<{
1793
+ tradeId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1794
+ tradeNo: z.ZodString;
1795
+ investorName: z.ZodString;
1796
+ investmentName: z.ZodString;
1797
+ numberOfShares: z.ZodNumber;
1798
+ totalAmount: z.ZodNumber;
1799
+ date: z.ZodNullable<z.ZodDate>;
1800
+ status: z.ZodString;
1801
+ }, "strip", z.ZodTypeAny, {
1802
+ status: string;
1803
+ date: Date | null;
1804
+ tradeId: string;
1805
+ totalAmount: number;
1806
+ investorName: string;
1807
+ numberOfShares: number;
1808
+ tradeNo: string;
1809
+ investmentName: string;
1810
+ }, {
1811
+ status: string;
1812
+ date: Date | null;
1813
+ tradeId: string;
1814
+ totalAmount: number;
1815
+ investorName: string;
1816
+ numberOfShares: number;
1817
+ tradeNo: string;
1818
+ investmentName: string;
1819
+ }>, "many">;
1745
1820
  tradeSummary: z.ZodObject<{
1746
1821
  selectedTradesCount: z.ZodNumber;
1747
1822
  selectedTradesTotalAmount: z.ZodNumber;
@@ -1819,11 +1894,24 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1819
1894
  };
1820
1895
  balance: {
1821
1896
  pending: number;
1897
+ netAmount: number;
1822
1898
  totalRaised: number;
1823
1899
  totalDisbursed: number;
1824
1900
  refundPool: number;
1901
+ brokerageFee: number;
1902
+ disbursementFee: number;
1825
1903
  availableForDisbursement: number;
1826
1904
  };
1905
+ eligibleTrades: {
1906
+ status: string;
1907
+ date: Date | null;
1908
+ tradeId: string;
1909
+ totalAmount: number;
1910
+ investorName: string;
1911
+ numberOfShares: number;
1912
+ tradeNo: string;
1913
+ investmentName: string;
1914
+ }[];
1827
1915
  tradeSummary: {
1828
1916
  selectedTradesCount: number;
1829
1917
  selectedTradesTotalAmount: number;
@@ -1874,11 +1962,24 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1874
1962
  };
1875
1963
  balance: {
1876
1964
  pending: number;
1965
+ netAmount: number;
1877
1966
  totalRaised: number;
1878
1967
  totalDisbursed: number;
1879
1968
  refundPool: number;
1969
+ brokerageFee: number;
1970
+ disbursementFee: number;
1880
1971
  availableForDisbursement: number;
1881
1972
  };
1973
+ eligibleTrades: {
1974
+ status: string;
1975
+ date: Date | null;
1976
+ tradeId: string;
1977
+ totalAmount: number;
1978
+ investorName: string;
1979
+ numberOfShares: number;
1980
+ tradeNo: string;
1981
+ investmentName: string;
1982
+ }[];
1882
1983
  tradeSummary: {
1883
1984
  selectedTradesCount: number;
1884
1985
  selectedTradesTotalAmount: number;
@@ -2562,3 +2663,911 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2562
2663
  disbursementTransactions?: any[] | undefined;
2563
2664
  }>;
2564
2665
  export type DisbursementDetailZod = z.infer<typeof DisbursementDetailZod>;
2666
+ export declare const DisbursementApproverZod: z.ZodObject<{
2667
+ name: z.ZodString;
2668
+ email: z.ZodString;
2669
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2670
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2671
+ role: z.ZodNativeEnum<typeof UserRole>;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ status: DisbursementStatus;
2674
+ email: string;
2675
+ name: string;
2676
+ role: UserRole;
2677
+ reviewedAt: Date | null;
2678
+ }, {
2679
+ status: DisbursementStatus;
2680
+ email: string;
2681
+ name: string;
2682
+ role: UserRole;
2683
+ reviewedAt: Date | null;
2684
+ }>;
2685
+ export type DisbursementApproverZod = z.infer<typeof DisbursementApproverZod>;
2686
+ export declare const DisbursementDeclinedBannerZod: z.ZodObject<{
2687
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2688
+ declinedByName: z.ZodString;
2689
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2690
+ declinedAt: z.ZodDate;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ disbursementStatus: DisbursementStatus;
2693
+ declinedByName: string;
2694
+ declinedByRole: UserRole;
2695
+ declinedAt: Date;
2696
+ }, {
2697
+ disbursementStatus: DisbursementStatus;
2698
+ declinedByName: string;
2699
+ declinedByRole: UserRole;
2700
+ declinedAt: Date;
2701
+ }>;
2702
+ export type DisbursementDeclinedBannerZod = z.infer<typeof DisbursementDeclinedBannerZod>;
2703
+ export declare const DisbursementApprovalsTabZod: z.ZodObject<{
2704
+ disbursementId: z.ZodString;
2705
+ disbursementName: z.ZodString;
2706
+ issuerName: z.ZodString;
2707
+ offeringName: z.ZodString;
2708
+ approvers: z.ZodArray<z.ZodObject<{
2709
+ name: z.ZodString;
2710
+ email: z.ZodString;
2711
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2712
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2713
+ role: z.ZodNativeEnum<typeof UserRole>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ status: DisbursementStatus;
2716
+ email: string;
2717
+ name: string;
2718
+ role: UserRole;
2719
+ reviewedAt: Date | null;
2720
+ }, {
2721
+ status: DisbursementStatus;
2722
+ email: string;
2723
+ name: string;
2724
+ role: UserRole;
2725
+ reviewedAt: Date | null;
2726
+ }>, "many">;
2727
+ declinedBanner: z.ZodNullable<z.ZodObject<{
2728
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2729
+ declinedByName: z.ZodString;
2730
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2731
+ declinedAt: z.ZodDate;
2732
+ }, "strip", z.ZodTypeAny, {
2733
+ disbursementStatus: DisbursementStatus;
2734
+ declinedByName: string;
2735
+ declinedByRole: UserRole;
2736
+ declinedAt: Date;
2737
+ }, {
2738
+ disbursementStatus: DisbursementStatus;
2739
+ declinedByName: string;
2740
+ declinedByRole: UserRole;
2741
+ declinedAt: Date;
2742
+ }>>;
2743
+ }, "strip", z.ZodTypeAny, {
2744
+ offeringName: string;
2745
+ issuerName: string;
2746
+ disbursementId: string;
2747
+ disbursementName: string;
2748
+ approvers: {
2749
+ status: DisbursementStatus;
2750
+ email: string;
2751
+ name: string;
2752
+ role: UserRole;
2753
+ reviewedAt: Date | null;
2754
+ }[];
2755
+ declinedBanner: {
2756
+ disbursementStatus: DisbursementStatus;
2757
+ declinedByName: string;
2758
+ declinedByRole: UserRole;
2759
+ declinedAt: Date;
2760
+ } | null;
2761
+ }, {
2762
+ offeringName: string;
2763
+ issuerName: string;
2764
+ disbursementId: string;
2765
+ disbursementName: string;
2766
+ approvers: {
2767
+ status: DisbursementStatus;
2768
+ email: string;
2769
+ name: string;
2770
+ role: UserRole;
2771
+ reviewedAt: Date | null;
2772
+ }[];
2773
+ declinedBanner: {
2774
+ disbursementStatus: DisbursementStatus;
2775
+ declinedByName: string;
2776
+ declinedByRole: UserRole;
2777
+ declinedAt: Date;
2778
+ } | null;
2779
+ }>;
2780
+ export type DisbursementApprovalsTabZod = z.infer<typeof DisbursementApprovalsTabZod>;
2781
+ export declare const DisbursementDetailsTabHeaderZod: z.ZodObject<{
2782
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
2783
+ disbursementDate: z.ZodNullable<z.ZodDate>;
2784
+ currency: z.ZodDefault<z.ZodString>;
2785
+ }, "strip", z.ZodTypeAny, {
2786
+ currency: string;
2787
+ disbursementId: string;
2788
+ disbursementDate: Date | null;
2789
+ }, {
2790
+ disbursementId: string;
2791
+ disbursementDate: Date | null;
2792
+ currency?: string | undefined;
2793
+ }>;
2794
+ export type DisbursementDetailsTabHeaderZod = z.infer<typeof DisbursementDetailsTabHeaderZod>;
2795
+ export declare const DisbursementDetailsTabGeneralInfoZod: z.ZodObject<{
2796
+ issuerName: z.ZodString;
2797
+ offeringName: z.ZodString;
2798
+ offeringId: z.ZodString;
2799
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2800
+ id: z.ZodString;
2801
+ __entity: z.ZodOptional<z.ZodString>;
2802
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2803
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2804
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2805
+ } & {
2806
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2807
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2808
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2809
+ accountName: z.ZodString;
2810
+ agentEmail: z.ZodString;
2811
+ agentName: z.ZodString;
2812
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2813
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2814
+ id: z.ZodString;
2815
+ __entity: z.ZodOptional<z.ZodString>;
2816
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2817
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2818
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2819
+ } & {
2820
+ name: z.ZodString;
2821
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2822
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2823
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2824
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2825
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2826
+ allowPendingComplianceReview: z.ZodBoolean;
2827
+ }, "strip", z.ZodTypeAny, {
2828
+ status: import("./common.types").AccountStatus;
2829
+ id: string;
2830
+ createdAt: string | Date;
2831
+ updatedAt: string | Date;
2832
+ deletedAt: string | Date | null;
2833
+ name: string;
2834
+ managedBy: import("./common.types").ManagedByType | null;
2835
+ platform: import("./common.types").Platform;
2836
+ onboardingReviewerId: string | null;
2837
+ onboardingReviewAt: Date | null;
2838
+ allowPendingComplianceReview: boolean;
2839
+ __entity?: string | undefined;
2840
+ }, {
2841
+ status: import("./common.types").AccountStatus;
2842
+ id: string;
2843
+ createdAt: string | Date;
2844
+ updatedAt: string | Date;
2845
+ deletedAt: string | Date | null;
2846
+ name: string;
2847
+ managedBy: import("./common.types").ManagedByType | null;
2848
+ platform: import("./common.types").Platform;
2849
+ onboardingReviewerId: string | null;
2850
+ onboardingReviewAt: Date | null;
2851
+ allowPendingComplianceReview: boolean;
2852
+ __entity?: string | undefined;
2853
+ }>>>;
2854
+ }, "strip", z.ZodTypeAny, {
2855
+ id: string;
2856
+ createdAt: string | Date;
2857
+ updatedAt: string | Date;
2858
+ deletedAt: string | Date | null;
2859
+ accountId: string;
2860
+ accountName: string;
2861
+ agentEmail: string;
2862
+ agentName: string;
2863
+ __entity?: string | undefined;
2864
+ account?: {
2865
+ status: import("./common.types").AccountStatus;
2866
+ id: string;
2867
+ createdAt: string | Date;
2868
+ updatedAt: string | Date;
2869
+ deletedAt: string | Date | null;
2870
+ name: string;
2871
+ managedBy: import("./common.types").ManagedByType | null;
2872
+ platform: import("./common.types").Platform;
2873
+ onboardingReviewerId: string | null;
2874
+ onboardingReviewAt: Date | null;
2875
+ allowPendingComplianceReview: boolean;
2876
+ __entity?: string | undefined;
2877
+ } | null | undefined;
2878
+ accountNumber?: string | null | undefined;
2879
+ routingNumber?: string | null | undefined;
2880
+ company?: string | null | undefined;
2881
+ }, {
2882
+ id: string;
2883
+ createdAt: string | Date;
2884
+ updatedAt: string | Date;
2885
+ deletedAt: string | Date | null;
2886
+ accountId: string;
2887
+ accountName: string;
2888
+ agentEmail: string;
2889
+ agentName: string;
2890
+ __entity?: string | undefined;
2891
+ account?: {
2892
+ status: import("./common.types").AccountStatus;
2893
+ id: string;
2894
+ createdAt: string | Date;
2895
+ updatedAt: string | Date;
2896
+ deletedAt: string | Date | null;
2897
+ name: string;
2898
+ managedBy: import("./common.types").ManagedByType | null;
2899
+ platform: import("./common.types").Platform;
2900
+ onboardingReviewerId: string | null;
2901
+ onboardingReviewAt: Date | null;
2902
+ allowPendingComplianceReview: boolean;
2903
+ __entity?: string | undefined;
2904
+ } | null | undefined;
2905
+ accountNumber?: string | null | undefined;
2906
+ routingNumber?: string | null | undefined;
2907
+ company?: string | null | undefined;
2908
+ }>>>;
2909
+ to: z.ZodNullable<z.ZodLazy<any>>;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ from: {
2912
+ id: string;
2913
+ createdAt: string | Date;
2914
+ updatedAt: string | Date;
2915
+ deletedAt: string | Date | null;
2916
+ accountId: string;
2917
+ accountName: string;
2918
+ agentEmail: string;
2919
+ agentName: string;
2920
+ __entity?: string | undefined;
2921
+ account?: {
2922
+ status: import("./common.types").AccountStatus;
2923
+ id: string;
2924
+ createdAt: string | Date;
2925
+ updatedAt: string | Date;
2926
+ deletedAt: string | Date | null;
2927
+ name: string;
2928
+ managedBy: import("./common.types").ManagedByType | null;
2929
+ platform: import("./common.types").Platform;
2930
+ onboardingReviewerId: string | null;
2931
+ onboardingReviewAt: Date | null;
2932
+ allowPendingComplianceReview: boolean;
2933
+ __entity?: string | undefined;
2934
+ } | null | undefined;
2935
+ accountNumber?: string | null | undefined;
2936
+ routingNumber?: string | null | undefined;
2937
+ company?: string | null | undefined;
2938
+ } | null;
2939
+ offeringId: string;
2940
+ offeringName: string;
2941
+ issuerName: string;
2942
+ to?: any;
2943
+ }, {
2944
+ from: {
2945
+ id: string;
2946
+ createdAt: string | Date;
2947
+ updatedAt: string | Date;
2948
+ deletedAt: string | Date | null;
2949
+ accountId: string;
2950
+ accountName: string;
2951
+ agentEmail: string;
2952
+ agentName: string;
2953
+ __entity?: string | undefined;
2954
+ account?: {
2955
+ status: import("./common.types").AccountStatus;
2956
+ id: string;
2957
+ createdAt: string | Date;
2958
+ updatedAt: string | Date;
2959
+ deletedAt: string | Date | null;
2960
+ name: string;
2961
+ managedBy: import("./common.types").ManagedByType | null;
2962
+ platform: import("./common.types").Platform;
2963
+ onboardingReviewerId: string | null;
2964
+ onboardingReviewAt: Date | null;
2965
+ allowPendingComplianceReview: boolean;
2966
+ __entity?: string | undefined;
2967
+ } | null | undefined;
2968
+ accountNumber?: string | null | undefined;
2969
+ routingNumber?: string | null | undefined;
2970
+ company?: string | null | undefined;
2971
+ } | null;
2972
+ offeringId: string;
2973
+ offeringName: string;
2974
+ issuerName: string;
2975
+ to?: any;
2976
+ }>;
2977
+ export type DisbursementDetailsTabGeneralInfoZod = z.infer<typeof DisbursementDetailsTabGeneralInfoZod>;
2978
+ export declare const DisbursementDetailsTabFinancialsZod: z.ZodObject<{
2979
+ amountRequested: z.ZodNumber;
2980
+ brokerDealerCommission: z.ZodNumber;
2981
+ disbursementFee: z.ZodNumber;
2982
+ refundPool: z.ZodNumber;
2983
+ amountToBeDisbursed: z.ZodNumber;
2984
+ }, "strip", z.ZodTypeAny, {
2985
+ refundPool: number;
2986
+ amountRequested: number;
2987
+ disbursementFee: number;
2988
+ brokerDealerCommission: number;
2989
+ amountToBeDisbursed: number;
2990
+ }, {
2991
+ refundPool: number;
2992
+ amountRequested: number;
2993
+ disbursementFee: number;
2994
+ brokerDealerCommission: number;
2995
+ amountToBeDisbursed: number;
2996
+ }>;
2997
+ export type DisbursementDetailsTabFinancialsZod = z.infer<typeof DisbursementDetailsTabFinancialsZod>;
2998
+ export declare const DisbursementDetailsTabTradeZod: z.ZodObject<{
2999
+ tradeNo: z.ZodString;
3000
+ investorName: z.ZodString;
3001
+ investmentName: z.ZodString;
3002
+ numberOfShares: z.ZodNumber;
3003
+ totalAmount: z.ZodNumber;
3004
+ date: z.ZodNullable<z.ZodDate>;
3005
+ status: z.ZodString;
3006
+ }, "strip", z.ZodTypeAny, {
3007
+ status: string;
3008
+ date: Date | null;
3009
+ totalAmount: number;
3010
+ investorName: string;
3011
+ numberOfShares: number;
3012
+ tradeNo: string;
3013
+ investmentName: string;
3014
+ }, {
3015
+ status: string;
3016
+ date: Date | null;
3017
+ totalAmount: number;
3018
+ investorName: string;
3019
+ numberOfShares: number;
3020
+ tradeNo: string;
3021
+ investmentName: string;
3022
+ }>;
3023
+ export type DisbursementDetailsTabTradeZod = z.infer<typeof DisbursementDetailsTabTradeZod>;
3024
+ export declare const DisbursementDetailsTabApprovalZod: z.ZodObject<{
3025
+ name: z.ZodString;
3026
+ signedAt: z.ZodNullable<z.ZodDate>;
3027
+ }, "strip", z.ZodTypeAny, {
3028
+ name: string;
3029
+ signedAt: Date | null;
3030
+ }, {
3031
+ name: string;
3032
+ signedAt: Date | null;
3033
+ }>;
3034
+ export type DisbursementDetailsTabApprovalZod = z.infer<typeof DisbursementDetailsTabApprovalZod>;
3035
+ export declare const DisbursementDetailsTabApprovalsZod: z.ZodObject<{
3036
+ issuerApprovals: z.ZodArray<z.ZodObject<{
3037
+ name: z.ZodString;
3038
+ signedAt: z.ZodNullable<z.ZodDate>;
3039
+ }, "strip", z.ZodTypeAny, {
3040
+ name: string;
3041
+ signedAt: Date | null;
3042
+ }, {
3043
+ name: string;
3044
+ signedAt: Date | null;
3045
+ }>, "many">;
3046
+ complianceApproval: z.ZodNullable<z.ZodObject<{
3047
+ name: z.ZodString;
3048
+ signedAt: z.ZodNullable<z.ZodDate>;
3049
+ }, "strip", z.ZodTypeAny, {
3050
+ name: string;
3051
+ signedAt: Date | null;
3052
+ }, {
3053
+ name: string;
3054
+ signedAt: Date | null;
3055
+ }>>;
3056
+ escrowApproval: z.ZodNullable<z.ZodObject<{
3057
+ name: z.ZodString;
3058
+ signedAt: z.ZodNullable<z.ZodDate>;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ name: string;
3061
+ signedAt: Date | null;
3062
+ }, {
3063
+ name: string;
3064
+ signedAt: Date | null;
3065
+ }>>;
3066
+ }, "strip", z.ZodTypeAny, {
3067
+ issuerApprovals: {
3068
+ name: string;
3069
+ signedAt: Date | null;
3070
+ }[];
3071
+ complianceApproval: {
3072
+ name: string;
3073
+ signedAt: Date | null;
3074
+ } | null;
3075
+ escrowApproval: {
3076
+ name: string;
3077
+ signedAt: Date | null;
3078
+ } | null;
3079
+ }, {
3080
+ issuerApprovals: {
3081
+ name: string;
3082
+ signedAt: Date | null;
3083
+ }[];
3084
+ complianceApproval: {
3085
+ name: string;
3086
+ signedAt: Date | null;
3087
+ } | null;
3088
+ escrowApproval: {
3089
+ name: string;
3090
+ signedAt: Date | null;
3091
+ } | null;
3092
+ }>;
3093
+ export type DisbursementDetailsTabApprovalsZod = z.infer<typeof DisbursementDetailsTabApprovalsZod>;
3094
+ export declare const DisbursementDetailsTabRejectionZod: z.ZodObject<{
3095
+ declinedByName: z.ZodNullable<z.ZodString>;
3096
+ declinedByRole: z.ZodNullable<z.ZodString>;
3097
+ declinedAt: z.ZodNullable<z.ZodDate>;
3098
+ }, "strip", z.ZodTypeAny, {
3099
+ declinedByName: string | null;
3100
+ declinedByRole: string | null;
3101
+ declinedAt: Date | null;
3102
+ }, {
3103
+ declinedByName: string | null;
3104
+ declinedByRole: string | null;
3105
+ declinedAt: Date | null;
3106
+ }>;
3107
+ export type DisbursementDetailsTabRejectionZod = z.infer<typeof DisbursementDetailsTabRejectionZod>;
3108
+ export declare const DisbursementDetailsTabZod: z.ZodObject<{
3109
+ header: z.ZodObject<{
3110
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
3111
+ disbursementDate: z.ZodNullable<z.ZodDate>;
3112
+ currency: z.ZodDefault<z.ZodString>;
3113
+ }, "strip", z.ZodTypeAny, {
3114
+ currency: string;
3115
+ disbursementId: string;
3116
+ disbursementDate: Date | null;
3117
+ }, {
3118
+ disbursementId: string;
3119
+ disbursementDate: Date | null;
3120
+ currency?: string | undefined;
3121
+ }>;
3122
+ generalInfo: z.ZodObject<{
3123
+ issuerName: z.ZodString;
3124
+ offeringName: z.ZodString;
3125
+ offeringId: z.ZodString;
3126
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3127
+ id: z.ZodString;
3128
+ __entity: z.ZodOptional<z.ZodString>;
3129
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3130
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3131
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3132
+ } & {
3133
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3134
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3135
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3136
+ accountName: z.ZodString;
3137
+ agentEmail: z.ZodString;
3138
+ agentName: z.ZodString;
3139
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
3140
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3141
+ id: z.ZodString;
3142
+ __entity: z.ZodOptional<z.ZodString>;
3143
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3144
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3145
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3146
+ } & {
3147
+ name: z.ZodString;
3148
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
3149
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
3150
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
3151
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
3152
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
3153
+ allowPendingComplianceReview: z.ZodBoolean;
3154
+ }, "strip", z.ZodTypeAny, {
3155
+ status: import("./common.types").AccountStatus;
3156
+ id: string;
3157
+ createdAt: string | Date;
3158
+ updatedAt: string | Date;
3159
+ deletedAt: string | Date | null;
3160
+ name: string;
3161
+ managedBy: import("./common.types").ManagedByType | null;
3162
+ platform: import("./common.types").Platform;
3163
+ onboardingReviewerId: string | null;
3164
+ onboardingReviewAt: Date | null;
3165
+ allowPendingComplianceReview: boolean;
3166
+ __entity?: string | undefined;
3167
+ }, {
3168
+ status: import("./common.types").AccountStatus;
3169
+ id: string;
3170
+ createdAt: string | Date;
3171
+ updatedAt: string | Date;
3172
+ deletedAt: string | Date | null;
3173
+ name: string;
3174
+ managedBy: import("./common.types").ManagedByType | null;
3175
+ platform: import("./common.types").Platform;
3176
+ onboardingReviewerId: string | null;
3177
+ onboardingReviewAt: Date | null;
3178
+ allowPendingComplianceReview: boolean;
3179
+ __entity?: string | undefined;
3180
+ }>>>;
3181
+ }, "strip", z.ZodTypeAny, {
3182
+ id: string;
3183
+ createdAt: string | Date;
3184
+ updatedAt: string | Date;
3185
+ deletedAt: string | Date | null;
3186
+ accountId: string;
3187
+ accountName: string;
3188
+ agentEmail: string;
3189
+ agentName: string;
3190
+ __entity?: string | undefined;
3191
+ account?: {
3192
+ status: import("./common.types").AccountStatus;
3193
+ id: string;
3194
+ createdAt: string | Date;
3195
+ updatedAt: string | Date;
3196
+ deletedAt: string | Date | null;
3197
+ name: string;
3198
+ managedBy: import("./common.types").ManagedByType | null;
3199
+ platform: import("./common.types").Platform;
3200
+ onboardingReviewerId: string | null;
3201
+ onboardingReviewAt: Date | null;
3202
+ allowPendingComplianceReview: boolean;
3203
+ __entity?: string | undefined;
3204
+ } | null | undefined;
3205
+ accountNumber?: string | null | undefined;
3206
+ routingNumber?: string | null | undefined;
3207
+ company?: string | null | undefined;
3208
+ }, {
3209
+ id: string;
3210
+ createdAt: string | Date;
3211
+ updatedAt: string | Date;
3212
+ deletedAt: string | Date | null;
3213
+ accountId: string;
3214
+ accountName: string;
3215
+ agentEmail: string;
3216
+ agentName: string;
3217
+ __entity?: string | undefined;
3218
+ account?: {
3219
+ status: import("./common.types").AccountStatus;
3220
+ id: string;
3221
+ createdAt: string | Date;
3222
+ updatedAt: string | Date;
3223
+ deletedAt: string | Date | null;
3224
+ name: string;
3225
+ managedBy: import("./common.types").ManagedByType | null;
3226
+ platform: import("./common.types").Platform;
3227
+ onboardingReviewerId: string | null;
3228
+ onboardingReviewAt: Date | null;
3229
+ allowPendingComplianceReview: boolean;
3230
+ __entity?: string | undefined;
3231
+ } | null | undefined;
3232
+ accountNumber?: string | null | undefined;
3233
+ routingNumber?: string | null | undefined;
3234
+ company?: string | null | undefined;
3235
+ }>>>;
3236
+ to: z.ZodNullable<z.ZodLazy<any>>;
3237
+ }, "strip", z.ZodTypeAny, {
3238
+ from: {
3239
+ id: string;
3240
+ createdAt: string | Date;
3241
+ updatedAt: string | Date;
3242
+ deletedAt: string | Date | null;
3243
+ accountId: string;
3244
+ accountName: string;
3245
+ agentEmail: string;
3246
+ agentName: string;
3247
+ __entity?: string | undefined;
3248
+ account?: {
3249
+ status: import("./common.types").AccountStatus;
3250
+ id: string;
3251
+ createdAt: string | Date;
3252
+ updatedAt: string | Date;
3253
+ deletedAt: string | Date | null;
3254
+ name: string;
3255
+ managedBy: import("./common.types").ManagedByType | null;
3256
+ platform: import("./common.types").Platform;
3257
+ onboardingReviewerId: string | null;
3258
+ onboardingReviewAt: Date | null;
3259
+ allowPendingComplianceReview: boolean;
3260
+ __entity?: string | undefined;
3261
+ } | null | undefined;
3262
+ accountNumber?: string | null | undefined;
3263
+ routingNumber?: string | null | undefined;
3264
+ company?: string | null | undefined;
3265
+ } | null;
3266
+ offeringId: string;
3267
+ offeringName: string;
3268
+ issuerName: string;
3269
+ to?: any;
3270
+ }, {
3271
+ from: {
3272
+ id: string;
3273
+ createdAt: string | Date;
3274
+ updatedAt: string | Date;
3275
+ deletedAt: string | Date | null;
3276
+ accountId: string;
3277
+ accountName: string;
3278
+ agentEmail: string;
3279
+ agentName: string;
3280
+ __entity?: string | undefined;
3281
+ account?: {
3282
+ status: import("./common.types").AccountStatus;
3283
+ id: string;
3284
+ createdAt: string | Date;
3285
+ updatedAt: string | Date;
3286
+ deletedAt: string | Date | null;
3287
+ name: string;
3288
+ managedBy: import("./common.types").ManagedByType | null;
3289
+ platform: import("./common.types").Platform;
3290
+ onboardingReviewerId: string | null;
3291
+ onboardingReviewAt: Date | null;
3292
+ allowPendingComplianceReview: boolean;
3293
+ __entity?: string | undefined;
3294
+ } | null | undefined;
3295
+ accountNumber?: string | null | undefined;
3296
+ routingNumber?: string | null | undefined;
3297
+ company?: string | null | undefined;
3298
+ } | null;
3299
+ offeringId: string;
3300
+ offeringName: string;
3301
+ issuerName: string;
3302
+ to?: any;
3303
+ }>;
3304
+ financials: z.ZodObject<{
3305
+ amountRequested: z.ZodNumber;
3306
+ brokerDealerCommission: z.ZodNumber;
3307
+ disbursementFee: z.ZodNumber;
3308
+ refundPool: z.ZodNumber;
3309
+ amountToBeDisbursed: z.ZodNumber;
3310
+ }, "strip", z.ZodTypeAny, {
3311
+ refundPool: number;
3312
+ amountRequested: number;
3313
+ disbursementFee: number;
3314
+ brokerDealerCommission: number;
3315
+ amountToBeDisbursed: number;
3316
+ }, {
3317
+ refundPool: number;
3318
+ amountRequested: number;
3319
+ disbursementFee: number;
3320
+ brokerDealerCommission: number;
3321
+ amountToBeDisbursed: number;
3322
+ }>;
3323
+ trades: z.ZodArray<z.ZodObject<{
3324
+ tradeNo: z.ZodString;
3325
+ investorName: z.ZodString;
3326
+ investmentName: z.ZodString;
3327
+ numberOfShares: z.ZodNumber;
3328
+ totalAmount: z.ZodNumber;
3329
+ date: z.ZodNullable<z.ZodDate>;
3330
+ status: z.ZodString;
3331
+ }, "strip", z.ZodTypeAny, {
3332
+ status: string;
3333
+ date: Date | null;
3334
+ totalAmount: number;
3335
+ investorName: string;
3336
+ numberOfShares: number;
3337
+ tradeNo: string;
3338
+ investmentName: string;
3339
+ }, {
3340
+ status: string;
3341
+ date: Date | null;
3342
+ totalAmount: number;
3343
+ investorName: string;
3344
+ numberOfShares: number;
3345
+ tradeNo: string;
3346
+ investmentName: string;
3347
+ }>, "many">;
3348
+ approvals: z.ZodObject<{
3349
+ issuerApprovals: z.ZodArray<z.ZodObject<{
3350
+ name: z.ZodString;
3351
+ signedAt: z.ZodNullable<z.ZodDate>;
3352
+ }, "strip", z.ZodTypeAny, {
3353
+ name: string;
3354
+ signedAt: Date | null;
3355
+ }, {
3356
+ name: string;
3357
+ signedAt: Date | null;
3358
+ }>, "many">;
3359
+ complianceApproval: z.ZodNullable<z.ZodObject<{
3360
+ name: z.ZodString;
3361
+ signedAt: z.ZodNullable<z.ZodDate>;
3362
+ }, "strip", z.ZodTypeAny, {
3363
+ name: string;
3364
+ signedAt: Date | null;
3365
+ }, {
3366
+ name: string;
3367
+ signedAt: Date | null;
3368
+ }>>;
3369
+ escrowApproval: z.ZodNullable<z.ZodObject<{
3370
+ name: z.ZodString;
3371
+ signedAt: z.ZodNullable<z.ZodDate>;
3372
+ }, "strip", z.ZodTypeAny, {
3373
+ name: string;
3374
+ signedAt: Date | null;
3375
+ }, {
3376
+ name: string;
3377
+ signedAt: Date | null;
3378
+ }>>;
3379
+ }, "strip", z.ZodTypeAny, {
3380
+ issuerApprovals: {
3381
+ name: string;
3382
+ signedAt: Date | null;
3383
+ }[];
3384
+ complianceApproval: {
3385
+ name: string;
3386
+ signedAt: Date | null;
3387
+ } | null;
3388
+ escrowApproval: {
3389
+ name: string;
3390
+ signedAt: Date | null;
3391
+ } | null;
3392
+ }, {
3393
+ issuerApprovals: {
3394
+ name: string;
3395
+ signedAt: Date | null;
3396
+ }[];
3397
+ complianceApproval: {
3398
+ name: string;
3399
+ signedAt: Date | null;
3400
+ } | null;
3401
+ escrowApproval: {
3402
+ name: string;
3403
+ signedAt: Date | null;
3404
+ } | null;
3405
+ }>;
3406
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
3407
+ rejection: z.ZodNullable<z.ZodObject<{
3408
+ declinedByName: z.ZodNullable<z.ZodString>;
3409
+ declinedByRole: z.ZodNullable<z.ZodString>;
3410
+ declinedAt: z.ZodNullable<z.ZodDate>;
3411
+ }, "strip", z.ZodTypeAny, {
3412
+ declinedByName: string | null;
3413
+ declinedByRole: string | null;
3414
+ declinedAt: Date | null;
3415
+ }, {
3416
+ declinedByName: string | null;
3417
+ declinedByRole: string | null;
3418
+ declinedAt: Date | null;
3419
+ }>>;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ status: DisbursementStatus;
3422
+ trades: {
3423
+ status: string;
3424
+ date: Date | null;
3425
+ totalAmount: number;
3426
+ investorName: string;
3427
+ numberOfShares: number;
3428
+ tradeNo: string;
3429
+ investmentName: string;
3430
+ }[];
3431
+ header: {
3432
+ currency: string;
3433
+ disbursementId: string;
3434
+ disbursementDate: Date | null;
3435
+ };
3436
+ generalInfo: {
3437
+ from: {
3438
+ id: string;
3439
+ createdAt: string | Date;
3440
+ updatedAt: string | Date;
3441
+ deletedAt: string | Date | null;
3442
+ accountId: string;
3443
+ accountName: string;
3444
+ agentEmail: string;
3445
+ agentName: string;
3446
+ __entity?: string | undefined;
3447
+ account?: {
3448
+ status: import("./common.types").AccountStatus;
3449
+ id: string;
3450
+ createdAt: string | Date;
3451
+ updatedAt: string | Date;
3452
+ deletedAt: string | Date | null;
3453
+ name: string;
3454
+ managedBy: import("./common.types").ManagedByType | null;
3455
+ platform: import("./common.types").Platform;
3456
+ onboardingReviewerId: string | null;
3457
+ onboardingReviewAt: Date | null;
3458
+ allowPendingComplianceReview: boolean;
3459
+ __entity?: string | undefined;
3460
+ } | null | undefined;
3461
+ accountNumber?: string | null | undefined;
3462
+ routingNumber?: string | null | undefined;
3463
+ company?: string | null | undefined;
3464
+ } | null;
3465
+ offeringId: string;
3466
+ offeringName: string;
3467
+ issuerName: string;
3468
+ to?: any;
3469
+ };
3470
+ financials: {
3471
+ refundPool: number;
3472
+ amountRequested: number;
3473
+ disbursementFee: number;
3474
+ brokerDealerCommission: number;
3475
+ amountToBeDisbursed: number;
3476
+ };
3477
+ approvals: {
3478
+ issuerApprovals: {
3479
+ name: string;
3480
+ signedAt: Date | null;
3481
+ }[];
3482
+ complianceApproval: {
3483
+ name: string;
3484
+ signedAt: Date | null;
3485
+ } | null;
3486
+ escrowApproval: {
3487
+ name: string;
3488
+ signedAt: Date | null;
3489
+ } | null;
3490
+ };
3491
+ rejection: {
3492
+ declinedByName: string | null;
3493
+ declinedByRole: string | null;
3494
+ declinedAt: Date | null;
3495
+ } | null;
3496
+ }, {
3497
+ status: DisbursementStatus;
3498
+ trades: {
3499
+ status: string;
3500
+ date: Date | null;
3501
+ totalAmount: number;
3502
+ investorName: string;
3503
+ numberOfShares: number;
3504
+ tradeNo: string;
3505
+ investmentName: string;
3506
+ }[];
3507
+ header: {
3508
+ disbursementId: string;
3509
+ disbursementDate: Date | null;
3510
+ currency?: string | undefined;
3511
+ };
3512
+ generalInfo: {
3513
+ from: {
3514
+ id: string;
3515
+ createdAt: string | Date;
3516
+ updatedAt: string | Date;
3517
+ deletedAt: string | Date | null;
3518
+ accountId: string;
3519
+ accountName: string;
3520
+ agentEmail: string;
3521
+ agentName: string;
3522
+ __entity?: string | undefined;
3523
+ account?: {
3524
+ status: import("./common.types").AccountStatus;
3525
+ id: string;
3526
+ createdAt: string | Date;
3527
+ updatedAt: string | Date;
3528
+ deletedAt: string | Date | null;
3529
+ name: string;
3530
+ managedBy: import("./common.types").ManagedByType | null;
3531
+ platform: import("./common.types").Platform;
3532
+ onboardingReviewerId: string | null;
3533
+ onboardingReviewAt: Date | null;
3534
+ allowPendingComplianceReview: boolean;
3535
+ __entity?: string | undefined;
3536
+ } | null | undefined;
3537
+ accountNumber?: string | null | undefined;
3538
+ routingNumber?: string | null | undefined;
3539
+ company?: string | null | undefined;
3540
+ } | null;
3541
+ offeringId: string;
3542
+ offeringName: string;
3543
+ issuerName: string;
3544
+ to?: any;
3545
+ };
3546
+ financials: {
3547
+ refundPool: number;
3548
+ amountRequested: number;
3549
+ disbursementFee: number;
3550
+ brokerDealerCommission: number;
3551
+ amountToBeDisbursed: number;
3552
+ };
3553
+ approvals: {
3554
+ issuerApprovals: {
3555
+ name: string;
3556
+ signedAt: Date | null;
3557
+ }[];
3558
+ complianceApproval: {
3559
+ name: string;
3560
+ signedAt: Date | null;
3561
+ } | null;
3562
+ escrowApproval: {
3563
+ name: string;
3564
+ signedAt: Date | null;
3565
+ } | null;
3566
+ };
3567
+ rejection: {
3568
+ declinedByName: string | null;
3569
+ declinedByRole: string | null;
3570
+ declinedAt: Date | null;
3571
+ } | null;
3572
+ }>;
3573
+ export type DisbursementDetailsTabZod = z.infer<typeof DisbursementDetailsTabZod>;