@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.6d952b2

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 (150) 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 +46 -26
  8. package/common/types/account-setting.types.js +2 -23
  9. package/common/types/account-setting.types.js.map +1 -1
  10. package/common/types/account.types.d.ts +63 -18
  11. package/common/types/account.types.js +7 -3
  12. package/common/types/account.types.js.map +1 -1
  13. package/common/types/activity.types.d.ts +36 -25
  14. package/common/types/activity.types.js +14 -0
  15. package/common/types/activity.types.js.map +1 -1
  16. package/common/types/asset.types.d.ts +212 -0
  17. package/common/types/asset.types.js +115 -42
  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 +37 -1
  23. package/common/types/auth.types.js +4 -3
  24. package/common/types/auth.types.js.map +1 -1
  25. package/common/types/bonus-tier.types.d.ts +15 -4
  26. package/common/types/bonus-tier.types.js +14 -7
  27. package/common/types/bonus-tier.types.js.map +1 -1
  28. package/common/types/cap-table.types.d.ts +256 -61
  29. package/common/types/cap-table.types.js +52 -0
  30. package/common/types/cap-table.types.js.map +1 -1
  31. package/common/types/cart.types.d.ts +3 -0
  32. package/common/types/cart.types.js +1 -0
  33. package/common/types/cart.types.js.map +1 -1
  34. package/common/types/common.types.d.ts +375 -9
  35. package/common/types/common.types.js +85 -4
  36. package/common/types/common.types.js.map +1 -1
  37. package/common/types/comply-advantage-api.types.d.ts +145 -478
  38. package/common/types/comply-advantage-api.types.js +24 -3
  39. package/common/types/comply-advantage-api.types.js.map +1 -1
  40. package/common/types/csv.types.d.ts +3612 -0
  41. package/common/types/csv.types.js +290 -0
  42. package/common/types/csv.types.js.map +1 -0
  43. package/common/types/dashboard.types.d.ts +7 -7
  44. package/common/types/data-record.types.d.ts +4 -4
  45. package/common/types/disbursement-transaction.types.d.ts +1 -1
  46. package/common/types/disbursement-transaction.types.js +1 -1
  47. package/common/types/disbursement-transaction.types.js.map +1 -1
  48. package/common/types/disbursements.types.d.ts +1642 -412
  49. package/common/types/disbursements.types.js +142 -3
  50. package/common/types/disbursements.types.js.map +1 -1
  51. package/common/types/escrow-account.types.d.ts +17 -0
  52. package/common/types/escrow-account.types.js +3 -0
  53. package/common/types/escrow-account.types.js.map +1 -1
  54. package/common/types/exchange-provider.types.d.ts +12 -12
  55. package/common/types/file.types.d.ts +38 -11
  56. package/common/types/file.types.js +14 -0
  57. package/common/types/file.types.js.map +1 -1
  58. package/common/types/index.d.ts +5 -2
  59. package/common/types/index.js +5 -2
  60. package/common/types/index.js.map +1 -1
  61. package/common/types/individuals.types.d.ts +395 -5
  62. package/common/types/individuals.types.js +16 -16
  63. package/common/types/individuals.types.js.map +1 -1
  64. package/common/types/investor-account.types.d.ts +5 -5
  65. package/common/types/investor-account.types.js +3 -2
  66. package/common/types/investor-account.types.js.map +1 -1
  67. package/common/types/investors-offering.types.d.ts +8 -0
  68. package/common/types/investors-offering.types.js +1 -0
  69. package/common/types/investors-offering.types.js.map +1 -1
  70. package/common/types/invite.types.d.ts +5 -2
  71. package/common/types/invite.types.js +2 -1
  72. package/common/types/invite.types.js.map +1 -1
  73. package/common/types/issuer-bank-account.types.d.ts +4 -276
  74. package/common/types/issuer-offering.types.d.ts +1007 -16
  75. package/common/types/issuer-offering.types.js +304 -43
  76. package/common/types/issuer-offering.types.js.map +1 -1
  77. package/common/types/job-item.types.d.ts +14 -14
  78. package/common/types/legal-entity.types.d.ts +39 -1
  79. package/common/types/legal-entity.types.js +8 -5
  80. package/common/types/legal-entity.types.js.map +1 -1
  81. package/common/types/mail-template.types.d.ts +85 -4
  82. package/common/types/mail-template.types.js +130 -0
  83. package/common/types/mail-template.types.js.map +1 -1
  84. package/common/types/note.types.d.ts +15 -15
  85. package/common/types/notification.types.d.ts +1 -0
  86. package/common/types/notification.types.js +3 -0
  87. package/common/types/notification.types.js.map +1 -1
  88. package/common/types/offering-submission.types.d.ts +198 -0
  89. package/common/types/offering-submission.types.js +17 -4
  90. package/common/types/offering-submission.types.js.map +1 -1
  91. package/common/types/offering.types.d.ts +555 -31
  92. package/common/types/offering.types.js +355 -28
  93. package/common/types/offering.types.js.map +1 -1
  94. package/common/types/payment-methods.types.d.ts +365 -0
  95. package/common/types/payment-methods.types.js +121 -0
  96. package/common/types/payment-methods.types.js.map +1 -1
  97. package/common/types/portfolio.types.d.ts +6 -6
  98. package/common/types/reports.types.d.ts +345 -0
  99. package/common/types/reports.types.js +69 -0
  100. package/common/types/reports.types.js.map +1 -0
  101. package/common/types/review.types.js +1 -1
  102. package/common/types/review.types.js.map +1 -1
  103. package/common/types/secondary-order.types.d.ts +10 -10
  104. package/common/types/secondary-trade.types.d.ts +10 -10
  105. package/common/types/signer.types.d.ts +23 -11
  106. package/common/types/signer.types.js +16 -1
  107. package/common/types/signer.types.js.map +1 -1
  108. package/common/types/site.types.d.ts +17 -12
  109. package/common/types/state-machine.types.d.ts +3 -3
  110. package/common/types/state-machine.types.js +1 -1
  111. package/common/types/state-machine.types.js.map +1 -1
  112. package/common/types/task.types.d.ts +30 -22
  113. package/common/types/task.types.js +3 -0
  114. package/common/types/task.types.js.map +1 -1
  115. package/common/types/trade-line-item.types.d.ts +42 -1
  116. package/common/types/trade-line-item.types.js +15 -1
  117. package/common/types/trade-line-item.types.js.map +1 -1
  118. package/common/types/trade.types.d.ts +84 -59
  119. package/common/types/trade.types.js +31 -11
  120. package/common/types/trade.types.js.map +1 -1
  121. package/common/types/transaction.types.d.ts +104 -3
  122. package/common/types/transaction.types.js +48 -3
  123. package/common/types/transaction.types.js.map +1 -1
  124. package/common/types/user.types.d.ts +108 -77
  125. package/common/types/user.types.js +10 -22
  126. package/common/types/user.types.js.map +1 -1
  127. package/common/types/zapier.types.d.ts +126 -0
  128. package/common/types/zapier.types.js +247 -0
  129. package/common/types/zapier.types.js.map +1 -0
  130. package/contracts/clients/assets/index.d.ts +22 -0
  131. package/contracts/clients/cart/index.d.ts +3 -0
  132. package/contracts/clients/csv/index.d.ts +1988 -0
  133. package/contracts/clients/csv/index.js +96 -0
  134. package/contracts/clients/csv/index.js.map +1 -0
  135. package/contracts/clients/files/index.d.ts +3 -3
  136. package/contracts/clients/files-public/index.d.ts +3 -3
  137. package/contracts/clients/index.d.ts +4265 -1060
  138. package/contracts/clients/index.js +8 -2
  139. package/contracts/clients/index.js.map +1 -1
  140. package/contracts/clients/individuals/index.d.ts +381 -5
  141. package/contracts/clients/legal-entities/index.d.ts +1 -1
  142. package/contracts/clients/offerings/index.d.ts +310 -9
  143. package/contracts/clients/review/index.d.ts +85 -0
  144. package/contracts/clients/review/index.js +27 -0
  145. package/contracts/clients/review/index.js.map +1 -0
  146. package/contracts/clients/trades/index.d.ts +9 -3
  147. package/contracts/clients/webhooks/index.d.ts +506 -0
  148. package/contracts/clients/webhooks/index.js +118 -0
  149. package/contracts/clients/webhooks/index.js.map +1 -0
  150. 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,9 +1061,8 @@ 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
1068
  tradeIds: string[];
@@ -1075,10 +1074,10 @@ export declare const PostDisbursementZod: z.ZodObject<{
1075
1074
  description: string;
1076
1075
  }[];
1077
1076
  issuerBankAccountId: string;
1078
- escrowAccountId: 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
1083
  tradeIds: string[];
@@ -1090,12 +1089,13 @@ export declare const PostDisbursementZod: z.ZodObject<{
1090
1089
  description: string;
1091
1090
  }[];
1092
1091
  issuerBankAccountId: string;
1093
- escrowAccountId: 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,12 +1124,11 @@ 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
1134
  tradeIds: string[];
@@ -1141,11 +1140,11 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1141
1140
  description: string;
1142
1141
  }[];
1143
1142
  issuerBankAccountId: string;
1144
- escrowAccountId: 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
1150
  tradeIds: string[];
@@ -1157,7 +1156,8 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1157
1156
  description: string;
1158
1157
  }[];
1159
1158
  issuerBankAccountId: string;
1160
- escrowAccountId: 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>;
@@ -1314,6 +1314,7 @@ export declare const DisbursementPreviewContextZod: z.ZodObject<{
1314
1314
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1315
1315
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1316
1316
  } & {
1317
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1317
1318
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1318
1319
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1319
1320
  accountName: z.ZodString;
@@ -1387,6 +1388,7 @@ export declare const DisbursementPreviewContextZod: z.ZodObject<{
1387
1388
  } | null | undefined;
1388
1389
  accountNumber?: string | null | undefined;
1389
1390
  routingNumber?: string | null | undefined;
1391
+ company?: string | null | undefined;
1390
1392
  }, {
1391
1393
  id: string;
1392
1394
  createdAt: string | Date;
@@ -1413,117 +1415,9 @@ export declare const DisbursementPreviewContextZod: z.ZodObject<{
1413
1415
  } | null | undefined;
1414
1416
  accountNumber?: string | null | undefined;
1415
1417
  routingNumber?: string | null | undefined;
1418
+ company?: string | null | undefined;
1416
1419
  }>>>;
1417
- destinationBank: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1418
- id: z.ZodString;
1419
- __entity: z.ZodOptional<z.ZodString>;
1420
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1421
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1422
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1423
- } & {
1424
- accountNumber: z.ZodString;
1425
- accountHolder: z.ZodString;
1426
- routingNumber: z.ZodString;
1427
- nickName: z.ZodString;
1428
- accountId: z.ZodString;
1429
- account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1430
- id: z.ZodString;
1431
- __entity: z.ZodOptional<z.ZodString>;
1432
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1433
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1434
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1435
- } & {
1436
- name: z.ZodString;
1437
- status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
1438
- managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
1439
- platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
1440
- onboardingReviewerId: z.ZodNullable<z.ZodString>;
1441
- onboardingReviewAt: z.ZodNullable<z.ZodDate>;
1442
- allowPendingComplianceReview: z.ZodBoolean;
1443
- }, "strip", z.ZodTypeAny, {
1444
- status: import("./common.types").AccountStatus;
1445
- id: string;
1446
- createdAt: string | Date;
1447
- updatedAt: string | Date;
1448
- deletedAt: string | Date | null;
1449
- name: string;
1450
- managedBy: import("./common.types").ManagedByType | null;
1451
- platform: import("./common.types").Platform;
1452
- onboardingReviewerId: string | null;
1453
- onboardingReviewAt: Date | null;
1454
- allowPendingComplianceReview: boolean;
1455
- __entity?: string | undefined;
1456
- }, {
1457
- status: import("./common.types").AccountStatus;
1458
- id: string;
1459
- createdAt: string | Date;
1460
- updatedAt: string | Date;
1461
- deletedAt: string | Date | null;
1462
- name: string;
1463
- managedBy: import("./common.types").ManagedByType | null;
1464
- platform: import("./common.types").Platform;
1465
- onboardingReviewerId: string | null;
1466
- onboardingReviewAt: Date | null;
1467
- allowPendingComplianceReview: boolean;
1468
- __entity?: string | undefined;
1469
- }>>>;
1470
- issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1471
- issuer: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
1472
- }, "strip", z.ZodTypeAny, {
1473
- id: string;
1474
- createdAt: string | Date;
1475
- updatedAt: string | Date;
1476
- deletedAt: string | Date | null;
1477
- accountId: string;
1478
- issuerId: string;
1479
- accountNumber: string;
1480
- accountHolder: string;
1481
- routingNumber: string;
1482
- nickName: string;
1483
- __entity?: string | undefined;
1484
- account?: {
1485
- status: import("./common.types").AccountStatus;
1486
- id: string;
1487
- createdAt: string | Date;
1488
- updatedAt: string | Date;
1489
- deletedAt: string | Date | null;
1490
- name: string;
1491
- managedBy: import("./common.types").ManagedByType | null;
1492
- platform: import("./common.types").Platform;
1493
- onboardingReviewerId: string | null;
1494
- onboardingReviewAt: Date | null;
1495
- allowPendingComplianceReview: boolean;
1496
- __entity?: string | undefined;
1497
- } | null | undefined;
1498
- issuer?: any;
1499
- }, {
1500
- id: string;
1501
- createdAt: string | Date;
1502
- updatedAt: string | Date;
1503
- deletedAt: string | Date | null;
1504
- accountId: string;
1505
- issuerId: string;
1506
- accountNumber: string;
1507
- accountHolder: string;
1508
- routingNumber: string;
1509
- nickName: string;
1510
- __entity?: string | undefined;
1511
- account?: {
1512
- status: import("./common.types").AccountStatus;
1513
- id: string;
1514
- createdAt: string | Date;
1515
- updatedAt: string | Date;
1516
- deletedAt: string | Date | null;
1517
- name: string;
1518
- managedBy: import("./common.types").ManagedByType | null;
1519
- platform: import("./common.types").Platform;
1520
- onboardingReviewerId: string | null;
1521
- onboardingReviewAt: Date | null;
1522
- allowPendingComplianceReview: boolean;
1523
- __entity?: string | undefined;
1524
- } | null | undefined;
1525
- issuer?: any;
1526
- }>>>;
1420
+ destinationBank: z.ZodNullable<z.ZodLazy<any>>;
1527
1421
  }, "strip", z.ZodTypeAny, {
1528
1422
  escrowAccount: {
1529
1423
  id: string;
@@ -1551,37 +1445,11 @@ export declare const DisbursementPreviewContextZod: z.ZodObject<{
1551
1445
  } | null | undefined;
1552
1446
  accountNumber?: string | null | undefined;
1553
1447
  routingNumber?: string | null | undefined;
1554
- } | null;
1555
- destinationBank: {
1556
- id: string;
1557
- createdAt: string | Date;
1558
- updatedAt: string | Date;
1559
- deletedAt: string | Date | null;
1560
- accountId: string;
1561
- issuerId: string;
1562
- accountNumber: string;
1563
- accountHolder: string;
1564
- routingNumber: string;
1565
- nickName: string;
1566
- __entity?: string | undefined;
1567
- account?: {
1568
- status: import("./common.types").AccountStatus;
1569
- id: string;
1570
- createdAt: string | Date;
1571
- updatedAt: string | Date;
1572
- deletedAt: string | Date | null;
1573
- name: string;
1574
- managedBy: import("./common.types").ManagedByType | null;
1575
- platform: import("./common.types").Platform;
1576
- onboardingReviewerId: string | null;
1577
- onboardingReviewAt: Date | null;
1578
- allowPendingComplianceReview: boolean;
1579
- __entity?: string | undefined;
1580
- } | null | undefined;
1581
- issuer?: any;
1448
+ company?: string | null | undefined;
1582
1449
  } | null;
1583
1450
  offering?: any;
1584
1451
  issuer?: any;
1452
+ destinationBank?: any;
1585
1453
  }, {
1586
1454
  escrowAccount: {
1587
1455
  id: string;
@@ -1609,37 +1477,11 @@ export declare const DisbursementPreviewContextZod: z.ZodObject<{
1609
1477
  } | null | undefined;
1610
1478
  accountNumber?: string | null | undefined;
1611
1479
  routingNumber?: string | null | undefined;
1612
- } | null;
1613
- destinationBank: {
1614
- id: string;
1615
- createdAt: string | Date;
1616
- updatedAt: string | Date;
1617
- deletedAt: string | Date | null;
1618
- accountId: string;
1619
- issuerId: string;
1620
- accountNumber: string;
1621
- accountHolder: string;
1622
- routingNumber: string;
1623
- nickName: string;
1624
- __entity?: string | undefined;
1625
- account?: {
1626
- status: import("./common.types").AccountStatus;
1627
- id: string;
1628
- createdAt: string | Date;
1629
- updatedAt: string | Date;
1630
- deletedAt: string | Date | null;
1631
- name: string;
1632
- managedBy: import("./common.types").ManagedByType | null;
1633
- platform: import("./common.types").Platform;
1634
- onboardingReviewerId: string | null;
1635
- onboardingReviewAt: Date | null;
1636
- allowPendingComplianceReview: boolean;
1637
- __entity?: string | undefined;
1638
- } | null | undefined;
1639
- issuer?: any;
1480
+ company?: string | null | undefined;
1640
1481
  } | null;
1641
1482
  offering?: any;
1642
1483
  issuer?: any;
1484
+ destinationBank?: any;
1643
1485
  }>;
1644
1486
  export type DisbursementPreviewContextZod = z.infer<typeof DisbursementPreviewContextZod>;
1645
1487
  export declare const DisbursementPreviewBalanceZod: z.ZodObject<{
@@ -1647,18 +1489,27 @@ export declare const DisbursementPreviewBalanceZod: z.ZodObject<{
1647
1489
  totalDisbursed: z.ZodNumber;
1648
1490
  pending: z.ZodNumber;
1649
1491
  refundPool: z.ZodNumber;
1492
+ disbursementFee: z.ZodNumber;
1493
+ brokerageFee: z.ZodNumber;
1650
1494
  availableForDisbursement: z.ZodNumber;
1495
+ netAmount: z.ZodNumber;
1651
1496
  }, "strip", z.ZodTypeAny, {
1652
1497
  pending: number;
1498
+ netAmount: number;
1653
1499
  totalRaised: number;
1654
1500
  totalDisbursed: number;
1655
1501
  refundPool: number;
1502
+ brokerageFee: number;
1503
+ disbursementFee: number;
1656
1504
  availableForDisbursement: number;
1657
1505
  }, {
1658
1506
  pending: number;
1507
+ netAmount: number;
1659
1508
  totalRaised: number;
1660
1509
  totalDisbursed: number;
1661
1510
  refundPool: number;
1511
+ brokerageFee: number;
1512
+ disbursementFee: number;
1662
1513
  availableForDisbursement: number;
1663
1514
  }>;
1664
1515
  export type DisbursementPreviewBalanceZod = z.infer<typeof DisbursementPreviewBalanceZod>;
@@ -1673,6 +1524,35 @@ export declare const DisbursementPreviewTradeSummaryZod: z.ZodObject<{
1673
1524
  selectedTradesTotalAmount: number;
1674
1525
  }>;
1675
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>;
1676
1556
  export declare const DisbursementPreviewContingencyZod: z.ZodObject<{
1677
1557
  contingencyPassed: z.ZodBoolean;
1678
1558
  contingencyMessage: z.ZodNullable<z.ZodString>;
@@ -1712,6 +1592,7 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1712
1592
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1713
1593
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1714
1594
  } & {
1595
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1715
1596
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1716
1597
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1717
1598
  accountName: z.ZodString;
@@ -1785,6 +1666,7 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1785
1666
  } | null | undefined;
1786
1667
  accountNumber?: string | null | undefined;
1787
1668
  routingNumber?: string | null | undefined;
1669
+ company?: string | null | undefined;
1788
1670
  }, {
1789
1671
  id: string;
1790
1672
  createdAt: string | Date;
@@ -1811,100 +1693,19 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1811
1693
  } | null | undefined;
1812
1694
  accountNumber?: string | null | undefined;
1813
1695
  routingNumber?: string | null | undefined;
1696
+ company?: string | null | undefined;
1814
1697
  }>>>;
1815
- destinationBank: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1816
- id: z.ZodString;
1817
- __entity: z.ZodOptional<z.ZodString>;
1818
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1819
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1820
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1821
- } & {
1822
- accountNumber: z.ZodString;
1823
- accountHolder: z.ZodString;
1824
- routingNumber: z.ZodString;
1825
- nickName: z.ZodString;
1826
- accountId: z.ZodString;
1827
- account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1828
- id: z.ZodString;
1829
- __entity: z.ZodOptional<z.ZodString>;
1830
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1831
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1832
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1833
- } & {
1834
- name: z.ZodString;
1835
- status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
1836
- managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
1837
- platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
1838
- onboardingReviewerId: z.ZodNullable<z.ZodString>;
1839
- onboardingReviewAt: z.ZodNullable<z.ZodDate>;
1840
- allowPendingComplianceReview: z.ZodBoolean;
1841
- }, "strip", z.ZodTypeAny, {
1842
- status: import("./common.types").AccountStatus;
1843
- id: string;
1844
- createdAt: string | Date;
1845
- updatedAt: string | Date;
1846
- deletedAt: string | Date | null;
1847
- name: string;
1848
- managedBy: import("./common.types").ManagedByType | null;
1849
- platform: import("./common.types").Platform;
1850
- onboardingReviewerId: string | null;
1851
- onboardingReviewAt: Date | null;
1852
- allowPendingComplianceReview: boolean;
1853
- __entity?: string | undefined;
1854
- }, {
1855
- status: import("./common.types").AccountStatus;
1856
- id: string;
1857
- createdAt: string | Date;
1858
- updatedAt: string | Date;
1859
- deletedAt: string | Date | null;
1860
- name: string;
1861
- managedBy: import("./common.types").ManagedByType | null;
1862
- platform: import("./common.types").Platform;
1863
- onboardingReviewerId: string | null;
1864
- onboardingReviewAt: Date | null;
1865
- allowPendingComplianceReview: boolean;
1866
- __entity?: string | undefined;
1867
- }>>>;
1868
- issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1869
- issuer: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
1870
- }, "strip", z.ZodTypeAny, {
1871
- id: string;
1872
- createdAt: string | Date;
1873
- updatedAt: string | Date;
1874
- deletedAt: string | Date | null;
1875
- accountId: string;
1876
- issuerId: string;
1877
- accountNumber: string;
1878
- accountHolder: string;
1879
- routingNumber: string;
1880
- nickName: string;
1881
- __entity?: string | undefined;
1882
- account?: {
1883
- status: import("./common.types").AccountStatus;
1884
- id: string;
1885
- createdAt: string | Date;
1886
- updatedAt: string | Date;
1887
- deletedAt: string | Date | null;
1888
- name: string;
1889
- managedBy: import("./common.types").ManagedByType | null;
1890
- platform: import("./common.types").Platform;
1891
- onboardingReviewerId: string | null;
1892
- onboardingReviewAt: Date | null;
1893
- allowPendingComplianceReview: boolean;
1894
- __entity?: string | undefined;
1895
- } | null | undefined;
1896
- issuer?: any;
1897
- }, {
1698
+ destinationBank: z.ZodNullable<z.ZodLazy<any>>;
1699
+ }, "strip", z.ZodTypeAny, {
1700
+ escrowAccount: {
1898
1701
  id: string;
1899
1702
  createdAt: string | Date;
1900
1703
  updatedAt: string | Date;
1901
1704
  deletedAt: string | Date | null;
1902
1705
  accountId: string;
1903
- issuerId: string;
1904
- accountNumber: string;
1905
- accountHolder: string;
1906
- routingNumber: string;
1907
- nickName: string;
1706
+ accountName: string;
1707
+ agentEmail: string;
1708
+ agentName: string;
1908
1709
  __entity?: string | undefined;
1909
1710
  account?: {
1910
1711
  status: import("./common.types").AccountStatus;
@@ -1920,9 +1721,14 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1920
1721
  allowPendingComplianceReview: boolean;
1921
1722
  __entity?: string | undefined;
1922
1723
  } | null | undefined;
1923
- issuer?: any;
1924
- }>>>;
1925
- }, "strip", z.ZodTypeAny, {
1724
+ accountNumber?: string | null | undefined;
1725
+ routingNumber?: string | null | undefined;
1726
+ company?: string | null | undefined;
1727
+ } | null;
1728
+ offering?: any;
1729
+ issuer?: any;
1730
+ destinationBank?: any;
1731
+ }, {
1926
1732
  escrowAccount: {
1927
1733
  id: string;
1928
1734
  createdAt: string | Date;
@@ -1949,115 +1755,68 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1949
1755
  } | null | undefined;
1950
1756
  accountNumber?: string | null | undefined;
1951
1757
  routingNumber?: string | null | undefined;
1952
- } | null;
1953
- destinationBank: {
1954
- id: string;
1955
- createdAt: string | Date;
1956
- updatedAt: string | Date;
1957
- deletedAt: string | Date | null;
1958
- accountId: string;
1959
- issuerId: string;
1960
- accountNumber: string;
1961
- accountHolder: string;
1962
- routingNumber: string;
1963
- nickName: string;
1964
- __entity?: string | undefined;
1965
- account?: {
1966
- status: import("./common.types").AccountStatus;
1967
- id: string;
1968
- createdAt: string | Date;
1969
- updatedAt: string | Date;
1970
- deletedAt: string | Date | null;
1971
- name: string;
1972
- managedBy: import("./common.types").ManagedByType | null;
1973
- platform: import("./common.types").Platform;
1974
- onboardingReviewerId: string | null;
1975
- onboardingReviewAt: Date | null;
1976
- allowPendingComplianceReview: boolean;
1977
- __entity?: string | undefined;
1978
- } | null | undefined;
1979
- issuer?: any;
1980
- } | null;
1981
- offering?: any;
1982
- issuer?: any;
1983
- }, {
1984
- escrowAccount: {
1985
- id: string;
1986
- createdAt: string | Date;
1987
- updatedAt: string | Date;
1988
- deletedAt: string | Date | null;
1989
- accountId: string;
1990
- accountName: string;
1991
- agentEmail: string;
1992
- agentName: string;
1993
- __entity?: string | undefined;
1994
- account?: {
1995
- status: import("./common.types").AccountStatus;
1996
- id: string;
1997
- createdAt: string | Date;
1998
- updatedAt: string | Date;
1999
- deletedAt: string | Date | null;
2000
- name: string;
2001
- managedBy: import("./common.types").ManagedByType | null;
2002
- platform: import("./common.types").Platform;
2003
- onboardingReviewerId: string | null;
2004
- onboardingReviewAt: Date | null;
2005
- allowPendingComplianceReview: boolean;
2006
- __entity?: string | undefined;
2007
- } | null | undefined;
2008
- accountNumber?: string | null | undefined;
2009
- routingNumber?: string | null | undefined;
2010
- } | null;
2011
- destinationBank: {
2012
- id: string;
2013
- createdAt: string | Date;
2014
- updatedAt: string | Date;
2015
- deletedAt: string | Date | null;
2016
- accountId: string;
2017
- issuerId: string;
2018
- accountNumber: string;
2019
- accountHolder: string;
2020
- routingNumber: string;
2021
- nickName: string;
2022
- __entity?: string | undefined;
2023
- account?: {
2024
- status: import("./common.types").AccountStatus;
2025
- id: string;
2026
- createdAt: string | Date;
2027
- updatedAt: string | Date;
2028
- deletedAt: string | Date | null;
2029
- name: string;
2030
- managedBy: import("./common.types").ManagedByType | null;
2031
- platform: import("./common.types").Platform;
2032
- onboardingReviewerId: string | null;
2033
- onboardingReviewAt: Date | null;
2034
- allowPendingComplianceReview: boolean;
2035
- __entity?: string | undefined;
2036
- } | null | undefined;
2037
- issuer?: any;
1758
+ company?: string | null | undefined;
2038
1759
  } | null;
2039
1760
  offering?: any;
2040
1761
  issuer?: any;
1762
+ destinationBank?: any;
2041
1763
  }>;
2042
1764
  balance: z.ZodObject<{
2043
1765
  totalRaised: z.ZodNumber;
2044
1766
  totalDisbursed: z.ZodNumber;
2045
1767
  pending: z.ZodNumber;
2046
1768
  refundPool: z.ZodNumber;
1769
+ disbursementFee: z.ZodNumber;
1770
+ brokerageFee: z.ZodNumber;
2047
1771
  availableForDisbursement: z.ZodNumber;
1772
+ netAmount: z.ZodNumber;
2048
1773
  }, "strip", z.ZodTypeAny, {
2049
1774
  pending: number;
1775
+ netAmount: number;
2050
1776
  totalRaised: number;
2051
1777
  totalDisbursed: number;
2052
1778
  refundPool: number;
1779
+ brokerageFee: number;
1780
+ disbursementFee: number;
2053
1781
  availableForDisbursement: number;
2054
1782
  }, {
2055
1783
  pending: number;
1784
+ netAmount: number;
2056
1785
  totalRaised: number;
2057
1786
  totalDisbursed: number;
2058
1787
  refundPool: number;
1788
+ brokerageFee: number;
1789
+ disbursementFee: number;
2059
1790
  availableForDisbursement: number;
2060
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">;
2061
1820
  tradeSummary: z.ZodObject<{
2062
1821
  selectedTradesCount: z.ZodNumber;
2063
1822
  selectedTradesTotalAmount: z.ZodNumber;
@@ -2127,45 +1886,32 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
2127
1886
  } | null | undefined;
2128
1887
  accountNumber?: string | null | undefined;
2129
1888
  routingNumber?: string | null | undefined;
2130
- } | null;
2131
- destinationBank: {
2132
- id: string;
2133
- createdAt: string | Date;
2134
- updatedAt: string | Date;
2135
- deletedAt: string | Date | null;
2136
- accountId: string;
2137
- issuerId: string;
2138
- accountNumber: string;
2139
- accountHolder: string;
2140
- routingNumber: string;
2141
- nickName: string;
2142
- __entity?: string | undefined;
2143
- account?: {
2144
- status: import("./common.types").AccountStatus;
2145
- id: string;
2146
- createdAt: string | Date;
2147
- updatedAt: string | Date;
2148
- deletedAt: string | Date | null;
2149
- name: string;
2150
- managedBy: import("./common.types").ManagedByType | null;
2151
- platform: import("./common.types").Platform;
2152
- onboardingReviewerId: string | null;
2153
- onboardingReviewAt: Date | null;
2154
- allowPendingComplianceReview: boolean;
2155
- __entity?: string | undefined;
2156
- } | null | undefined;
2157
- issuer?: any;
1889
+ company?: string | null | undefined;
2158
1890
  } | null;
2159
1891
  offering?: any;
2160
1892
  issuer?: any;
1893
+ destinationBank?: any;
2161
1894
  };
2162
1895
  balance: {
2163
1896
  pending: number;
1897
+ netAmount: number;
2164
1898
  totalRaised: number;
2165
1899
  totalDisbursed: number;
2166
1900
  refundPool: number;
1901
+ brokerageFee: number;
1902
+ disbursementFee: number;
2167
1903
  availableForDisbursement: number;
2168
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
+ }[];
2169
1915
  tradeSummary: {
2170
1916
  selectedTradesCount: number;
2171
1917
  selectedTradesTotalAmount: number;
@@ -2208,45 +1954,32 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
2208
1954
  } | null | undefined;
2209
1955
  accountNumber?: string | null | undefined;
2210
1956
  routingNumber?: string | null | undefined;
2211
- } | null;
2212
- destinationBank: {
2213
- id: string;
2214
- createdAt: string | Date;
2215
- updatedAt: string | Date;
2216
- deletedAt: string | Date | null;
2217
- accountId: string;
2218
- issuerId: string;
2219
- accountNumber: string;
2220
- accountHolder: string;
2221
- routingNumber: string;
2222
- nickName: string;
2223
- __entity?: string | undefined;
2224
- account?: {
2225
- status: import("./common.types").AccountStatus;
2226
- id: string;
2227
- createdAt: string | Date;
2228
- updatedAt: string | Date;
2229
- deletedAt: string | Date | null;
2230
- name: string;
2231
- managedBy: import("./common.types").ManagedByType | null;
2232
- platform: import("./common.types").Platform;
2233
- onboardingReviewerId: string | null;
2234
- onboardingReviewAt: Date | null;
2235
- allowPendingComplianceReview: boolean;
2236
- __entity?: string | undefined;
2237
- } | null | undefined;
2238
- issuer?: any;
1957
+ company?: string | null | undefined;
2239
1958
  } | null;
2240
1959
  offering?: any;
2241
1960
  issuer?: any;
1961
+ destinationBank?: any;
2242
1962
  };
2243
1963
  balance: {
2244
1964
  pending: number;
1965
+ netAmount: number;
2245
1966
  totalRaised: number;
2246
1967
  totalDisbursed: number;
2247
1968
  refundPool: number;
1969
+ brokerageFee: number;
1970
+ disbursementFee: number;
2248
1971
  availableForDisbursement: number;
2249
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
+ }[];
2250
1983
  tradeSummary: {
2251
1984
  selectedTradesCount: number;
2252
1985
  selectedTradesTotalAmount: number;
@@ -2341,3 +2074,1500 @@ export declare const EligibleOfferingsFiltersZod: z.ZodObject<{
2341
2074
  search?: string | undefined;
2342
2075
  }>;
2343
2076
  export type EligibleOfferingsFiltersZod = z.infer<typeof EligibleOfferingsFiltersZod>;
2077
+ export declare enum DisbursementLifecycleStage {
2078
+ CREATED = "CREATED",
2079
+ ISSUER_REVIEW = "ISSUER_REVIEW",
2080
+ COMPLIANCE_REVIEW = "COMPLIANCE_REVIEW",
2081
+ ESCROW_REVIEW = "ESCROW_REVIEW",
2082
+ COMPLETE = "COMPLETE"
2083
+ }
2084
+ export declare const DisbursementDetailZod: z.ZodObject<{
2085
+ id: z.ZodString;
2086
+ __entity: z.ZodOptional<z.ZodString>;
2087
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2088
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2089
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2090
+ } & {
2091
+ name: z.ZodString;
2092
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2093
+ requestedAmount: z.ZodNumber;
2094
+ netAmount: z.ZodNumber;
2095
+ complianceReview: z.ZodNativeEnum<typeof ComplianceReview>;
2096
+ approversCount: z.ZodNumber;
2097
+ disbursedAt: z.ZodNullable<z.ZodDate>;
2098
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2099
+ account: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ __entity: z.ZodOptional<z.ZodString>;
2102
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2103
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2104
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2105
+ } & {
2106
+ name: z.ZodString;
2107
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2108
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2109
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2110
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2111
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2112
+ allowPendingComplianceReview: z.ZodBoolean;
2113
+ }, "strip", z.ZodTypeAny, {
2114
+ status: import("./common.types").AccountStatus;
2115
+ id: string;
2116
+ createdAt: string | Date;
2117
+ updatedAt: string | Date;
2118
+ deletedAt: string | Date | null;
2119
+ name: string;
2120
+ managedBy: import("./common.types").ManagedByType | null;
2121
+ platform: import("./common.types").Platform;
2122
+ onboardingReviewerId: string | null;
2123
+ onboardingReviewAt: Date | null;
2124
+ allowPendingComplianceReview: boolean;
2125
+ __entity?: string | undefined;
2126
+ }, {
2127
+ status: import("./common.types").AccountStatus;
2128
+ id: string;
2129
+ createdAt: string | Date;
2130
+ updatedAt: string | Date;
2131
+ deletedAt: string | Date | null;
2132
+ name: string;
2133
+ managedBy: import("./common.types").ManagedByType | null;
2134
+ platform: import("./common.types").Platform;
2135
+ onboardingReviewerId: string | null;
2136
+ onboardingReviewAt: Date | null;
2137
+ allowPendingComplianceReview: boolean;
2138
+ __entity?: string | undefined;
2139
+ }>>>>;
2140
+ offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2141
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2142
+ createdById: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2143
+ createdBy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2144
+ id: z.ZodString;
2145
+ __entity: z.ZodOptional<z.ZodString>;
2146
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2147
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2148
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2149
+ } & {
2150
+ userLoginId: z.ZodNullable<z.ZodString>;
2151
+ roleId: z.ZodNullable<z.ZodString>;
2152
+ inviteId: z.ZodNullable<z.ZodString>;
2153
+ accountId: z.ZodNullable<z.ZodString>;
2154
+ onboarding: z.ZodNullable<z.ZodString>;
2155
+ account: z.ZodOptional<z.ZodObject<{
2156
+ id: z.ZodString;
2157
+ __entity: z.ZodOptional<z.ZodString>;
2158
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2159
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2160
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2161
+ } & {
2162
+ name: z.ZodString;
2163
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2164
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2165
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2166
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2167
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2168
+ allowPendingComplianceReview: z.ZodBoolean;
2169
+ }, "strip", z.ZodTypeAny, {
2170
+ status: import("./common.types").AccountStatus;
2171
+ id: string;
2172
+ createdAt: string | Date;
2173
+ updatedAt: string | Date;
2174
+ deletedAt: string | Date | null;
2175
+ name: string;
2176
+ managedBy: import("./common.types").ManagedByType | null;
2177
+ platform: import("./common.types").Platform;
2178
+ onboardingReviewerId: string | null;
2179
+ onboardingReviewAt: Date | null;
2180
+ allowPendingComplianceReview: boolean;
2181
+ __entity?: string | undefined;
2182
+ }, {
2183
+ status: import("./common.types").AccountStatus;
2184
+ id: string;
2185
+ createdAt: string | Date;
2186
+ updatedAt: string | Date;
2187
+ deletedAt: string | Date | null;
2188
+ name: string;
2189
+ managedBy: import("./common.types").ManagedByType | null;
2190
+ platform: import("./common.types").Platform;
2191
+ onboardingReviewerId: string | null;
2192
+ onboardingReviewAt: Date | null;
2193
+ allowPendingComplianceReview: boolean;
2194
+ __entity?: string | undefined;
2195
+ }>>;
2196
+ active: z.ZodBoolean;
2197
+ locked: z.ZodBoolean;
2198
+ userLogin: z.ZodObject<{
2199
+ id: z.ZodString;
2200
+ __entity: z.ZodOptional<z.ZodString>;
2201
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2202
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2203
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2204
+ } & {
2205
+ firstName: z.ZodString;
2206
+ lastName: z.ZodString;
2207
+ email: z.ZodString;
2208
+ provider: z.ZodString;
2209
+ lastLoginAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2210
+ loginCount: z.ZodNumber;
2211
+ }, "strip", z.ZodTypeAny, {
2212
+ id: string;
2213
+ createdAt: string | Date;
2214
+ updatedAt: string | Date;
2215
+ deletedAt: string | Date | null;
2216
+ firstName: string;
2217
+ lastName: string;
2218
+ email: string;
2219
+ provider: string;
2220
+ lastLoginAt: string | Date | null;
2221
+ loginCount: number;
2222
+ __entity?: string | undefined;
2223
+ }, {
2224
+ id: string;
2225
+ createdAt: string | Date;
2226
+ updatedAt: string | Date;
2227
+ deletedAt: string | Date | null;
2228
+ firstName: string;
2229
+ lastName: string;
2230
+ email: string;
2231
+ provider: string;
2232
+ lastLoginAt: string | Date | null;
2233
+ loginCount: number;
2234
+ __entity?: string | undefined;
2235
+ }>;
2236
+ }, "strip", z.ZodTypeAny, {
2237
+ id: string;
2238
+ createdAt: string | Date;
2239
+ updatedAt: string | Date;
2240
+ deletedAt: string | Date | null;
2241
+ active: boolean;
2242
+ inviteId: string | null;
2243
+ accountId: string | null;
2244
+ roleId: string | null;
2245
+ userLoginId: string | null;
2246
+ locked: boolean;
2247
+ onboarding: string | null;
2248
+ userLogin: {
2249
+ id: string;
2250
+ createdAt: string | Date;
2251
+ updatedAt: string | Date;
2252
+ deletedAt: string | Date | null;
2253
+ firstName: string;
2254
+ lastName: string;
2255
+ email: string;
2256
+ provider: string;
2257
+ lastLoginAt: string | Date | null;
2258
+ loginCount: number;
2259
+ __entity?: string | undefined;
2260
+ };
2261
+ __entity?: string | undefined;
2262
+ account?: {
2263
+ status: import("./common.types").AccountStatus;
2264
+ id: string;
2265
+ createdAt: string | Date;
2266
+ updatedAt: string | Date;
2267
+ deletedAt: string | Date | null;
2268
+ name: string;
2269
+ managedBy: import("./common.types").ManagedByType | null;
2270
+ platform: import("./common.types").Platform;
2271
+ onboardingReviewerId: string | null;
2272
+ onboardingReviewAt: Date | null;
2273
+ allowPendingComplianceReview: boolean;
2274
+ __entity?: string | undefined;
2275
+ } | undefined;
2276
+ }, {
2277
+ id: string;
2278
+ createdAt: string | Date;
2279
+ updatedAt: string | Date;
2280
+ deletedAt: string | Date | null;
2281
+ active: boolean;
2282
+ inviteId: string | null;
2283
+ accountId: string | null;
2284
+ roleId: string | null;
2285
+ userLoginId: string | null;
2286
+ locked: boolean;
2287
+ onboarding: string | null;
2288
+ userLogin: {
2289
+ id: string;
2290
+ createdAt: string | Date;
2291
+ updatedAt: string | Date;
2292
+ deletedAt: string | Date | null;
2293
+ firstName: string;
2294
+ lastName: string;
2295
+ email: string;
2296
+ provider: string;
2297
+ lastLoginAt: string | Date | null;
2298
+ loginCount: number;
2299
+ __entity?: string | undefined;
2300
+ };
2301
+ __entity?: string | undefined;
2302
+ account?: {
2303
+ status: import("./common.types").AccountStatus;
2304
+ id: string;
2305
+ createdAt: string | Date;
2306
+ updatedAt: string | Date;
2307
+ deletedAt: string | Date | null;
2308
+ name: string;
2309
+ managedBy: import("./common.types").ManagedByType | null;
2310
+ platform: import("./common.types").Platform;
2311
+ onboardingReviewerId: string | null;
2312
+ onboardingReviewAt: Date | null;
2313
+ allowPendingComplianceReview: boolean;
2314
+ __entity?: string | undefined;
2315
+ } | undefined;
2316
+ }>>>;
2317
+ reviewedById: z.ZodNullable<z.ZodString>;
2318
+ } & {
2319
+ userCanReview: z.ZodBoolean;
2320
+ signingUrl: z.ZodNullable<z.ZodString>;
2321
+ canViewDocument: z.ZodBoolean;
2322
+ documentUrl: z.ZodNullable<z.ZodString>;
2323
+ lifecycleStage: z.ZodNativeEnum<typeof DisbursementLifecycleStage>;
2324
+ issuer: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2325
+ issuerBankAccount: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2326
+ escrowAccount: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
2327
+ id: z.ZodString;
2328
+ __entity: z.ZodOptional<z.ZodString>;
2329
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2330
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2331
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2332
+ } & {
2333
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2334
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2335
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2336
+ accountName: z.ZodString;
2337
+ agentEmail: z.ZodString;
2338
+ agentName: z.ZodString;
2339
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2340
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2341
+ id: z.ZodString;
2342
+ __entity: z.ZodOptional<z.ZodString>;
2343
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2344
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2345
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2346
+ } & {
2347
+ name: z.ZodString;
2348
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2349
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2350
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2351
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2352
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2353
+ allowPendingComplianceReview: z.ZodBoolean;
2354
+ }, "strip", z.ZodTypeAny, {
2355
+ status: import("./common.types").AccountStatus;
2356
+ id: string;
2357
+ createdAt: string | Date;
2358
+ updatedAt: string | Date;
2359
+ deletedAt: string | Date | null;
2360
+ name: string;
2361
+ managedBy: import("./common.types").ManagedByType | null;
2362
+ platform: import("./common.types").Platform;
2363
+ onboardingReviewerId: string | null;
2364
+ onboardingReviewAt: Date | null;
2365
+ allowPendingComplianceReview: boolean;
2366
+ __entity?: string | undefined;
2367
+ }, {
2368
+ status: import("./common.types").AccountStatus;
2369
+ id: string;
2370
+ createdAt: string | Date;
2371
+ updatedAt: string | Date;
2372
+ deletedAt: string | Date | null;
2373
+ name: string;
2374
+ managedBy: import("./common.types").ManagedByType | null;
2375
+ platform: import("./common.types").Platform;
2376
+ onboardingReviewerId: string | null;
2377
+ onboardingReviewAt: Date | null;
2378
+ allowPendingComplianceReview: boolean;
2379
+ __entity?: string | undefined;
2380
+ }>>>;
2381
+ }, "strip", z.ZodTypeAny, {
2382
+ id: string;
2383
+ createdAt: string | Date;
2384
+ updatedAt: string | Date;
2385
+ deletedAt: string | Date | null;
2386
+ accountId: string;
2387
+ accountName: string;
2388
+ agentEmail: string;
2389
+ agentName: string;
2390
+ __entity?: string | undefined;
2391
+ account?: {
2392
+ status: import("./common.types").AccountStatus;
2393
+ id: string;
2394
+ createdAt: string | Date;
2395
+ updatedAt: string | Date;
2396
+ deletedAt: string | Date | null;
2397
+ name: string;
2398
+ managedBy: import("./common.types").ManagedByType | null;
2399
+ platform: import("./common.types").Platform;
2400
+ onboardingReviewerId: string | null;
2401
+ onboardingReviewAt: Date | null;
2402
+ allowPendingComplianceReview: boolean;
2403
+ __entity?: string | undefined;
2404
+ } | null | undefined;
2405
+ accountNumber?: string | null | undefined;
2406
+ routingNumber?: string | null | undefined;
2407
+ company?: string | null | undefined;
2408
+ }, {
2409
+ id: string;
2410
+ createdAt: string | Date;
2411
+ updatedAt: string | Date;
2412
+ deletedAt: string | Date | null;
2413
+ accountId: string;
2414
+ accountName: string;
2415
+ agentEmail: string;
2416
+ agentName: string;
2417
+ __entity?: string | undefined;
2418
+ account?: {
2419
+ status: import("./common.types").AccountStatus;
2420
+ id: string;
2421
+ createdAt: string | Date;
2422
+ updatedAt: string | Date;
2423
+ deletedAt: string | Date | null;
2424
+ name: string;
2425
+ managedBy: import("./common.types").ManagedByType | null;
2426
+ platform: import("./common.types").Platform;
2427
+ onboardingReviewerId: string | null;
2428
+ onboardingReviewAt: Date | null;
2429
+ allowPendingComplianceReview: boolean;
2430
+ __entity?: string | undefined;
2431
+ } | null | undefined;
2432
+ accountNumber?: string | null | undefined;
2433
+ routingNumber?: string | null | undefined;
2434
+ company?: string | null | undefined;
2435
+ }>>>>;
2436
+ disbursementAdjustments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2437
+ tradeDisbursements: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2438
+ disbursementReviews: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2439
+ disbursementTransactions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ status: DisbursementStatus;
2442
+ id: string;
2443
+ createdAt: string | Date;
2444
+ updatedAt: string | Date;
2445
+ deletedAt: string | Date | null;
2446
+ accountId: string;
2447
+ name: string;
2448
+ complianceReview: ComplianceReview;
2449
+ approversCount: number;
2450
+ offeringId: string;
2451
+ reviewedById: string | null;
2452
+ createdById: string;
2453
+ requestedAmount: number;
2454
+ netAmount: number;
2455
+ disbursedAt: Date | null;
2456
+ userCanReview: boolean;
2457
+ signingUrl: string | null;
2458
+ canViewDocument: boolean;
2459
+ documentUrl: string | null;
2460
+ lifecycleStage: DisbursementLifecycleStage;
2461
+ __entity?: string | undefined;
2462
+ account?: {
2463
+ status: import("./common.types").AccountStatus;
2464
+ id: string;
2465
+ createdAt: string | Date;
2466
+ updatedAt: string | Date;
2467
+ deletedAt: string | Date | null;
2468
+ name: string;
2469
+ managedBy: import("./common.types").ManagedByType | null;
2470
+ platform: import("./common.types").Platform;
2471
+ onboardingReviewerId: string | null;
2472
+ onboardingReviewAt: Date | null;
2473
+ allowPendingComplianceReview: boolean;
2474
+ __entity?: string | undefined;
2475
+ } | null | undefined;
2476
+ offering?: any;
2477
+ issuer?: any;
2478
+ escrowAccount?: {
2479
+ id: string;
2480
+ createdAt: string | Date;
2481
+ updatedAt: string | Date;
2482
+ deletedAt: string | Date | null;
2483
+ accountId: string;
2484
+ accountName: string;
2485
+ agentEmail: string;
2486
+ agentName: string;
2487
+ __entity?: string | undefined;
2488
+ account?: {
2489
+ status: import("./common.types").AccountStatus;
2490
+ id: string;
2491
+ createdAt: string | Date;
2492
+ updatedAt: string | Date;
2493
+ deletedAt: string | Date | null;
2494
+ name: string;
2495
+ managedBy: import("./common.types").ManagedByType | null;
2496
+ platform: import("./common.types").Platform;
2497
+ onboardingReviewerId: string | null;
2498
+ onboardingReviewAt: Date | null;
2499
+ allowPendingComplianceReview: boolean;
2500
+ __entity?: string | undefined;
2501
+ } | null | undefined;
2502
+ accountNumber?: string | null | undefined;
2503
+ routingNumber?: string | null | undefined;
2504
+ company?: string | null | undefined;
2505
+ } | null | undefined;
2506
+ tradeDisbursements?: any[] | undefined;
2507
+ createdBy?: {
2508
+ id: string;
2509
+ createdAt: string | Date;
2510
+ updatedAt: string | Date;
2511
+ deletedAt: string | Date | null;
2512
+ active: boolean;
2513
+ inviteId: string | null;
2514
+ accountId: string | null;
2515
+ roleId: string | null;
2516
+ userLoginId: string | null;
2517
+ locked: boolean;
2518
+ onboarding: string | null;
2519
+ userLogin: {
2520
+ id: string;
2521
+ createdAt: string | Date;
2522
+ updatedAt: string | Date;
2523
+ deletedAt: string | Date | null;
2524
+ firstName: string;
2525
+ lastName: string;
2526
+ email: string;
2527
+ provider: string;
2528
+ lastLoginAt: string | Date | null;
2529
+ loginCount: number;
2530
+ __entity?: string | undefined;
2531
+ };
2532
+ __entity?: string | undefined;
2533
+ account?: {
2534
+ status: import("./common.types").AccountStatus;
2535
+ id: string;
2536
+ createdAt: string | Date;
2537
+ updatedAt: string | Date;
2538
+ deletedAt: string | Date | null;
2539
+ name: string;
2540
+ managedBy: import("./common.types").ManagedByType | null;
2541
+ platform: import("./common.types").Platform;
2542
+ onboardingReviewerId: string | null;
2543
+ onboardingReviewAt: Date | null;
2544
+ allowPendingComplianceReview: boolean;
2545
+ __entity?: string | undefined;
2546
+ } | undefined;
2547
+ } | null | undefined;
2548
+ issuerBankAccount?: any;
2549
+ disbursementAdjustments?: any[] | undefined;
2550
+ disbursementReviews?: any[] | undefined;
2551
+ disbursementTransactions?: any[] | undefined;
2552
+ }, {
2553
+ status: DisbursementStatus;
2554
+ id: string;
2555
+ createdAt: string | Date;
2556
+ updatedAt: string | Date;
2557
+ deletedAt: string | Date | null;
2558
+ accountId: string;
2559
+ name: string;
2560
+ complianceReview: ComplianceReview;
2561
+ approversCount: number;
2562
+ offeringId: string;
2563
+ reviewedById: string | null;
2564
+ createdById: string;
2565
+ requestedAmount: number;
2566
+ netAmount: number;
2567
+ disbursedAt: Date | null;
2568
+ userCanReview: boolean;
2569
+ signingUrl: string | null;
2570
+ canViewDocument: boolean;
2571
+ documentUrl: string | null;
2572
+ lifecycleStage: DisbursementLifecycleStage;
2573
+ __entity?: string | undefined;
2574
+ account?: {
2575
+ status: import("./common.types").AccountStatus;
2576
+ id: string;
2577
+ createdAt: string | Date;
2578
+ updatedAt: string | Date;
2579
+ deletedAt: string | Date | null;
2580
+ name: string;
2581
+ managedBy: import("./common.types").ManagedByType | null;
2582
+ platform: import("./common.types").Platform;
2583
+ onboardingReviewerId: string | null;
2584
+ onboardingReviewAt: Date | null;
2585
+ allowPendingComplianceReview: boolean;
2586
+ __entity?: string | undefined;
2587
+ } | null | undefined;
2588
+ offering?: any;
2589
+ issuer?: any;
2590
+ escrowAccount?: {
2591
+ id: string;
2592
+ createdAt: string | Date;
2593
+ updatedAt: string | Date;
2594
+ deletedAt: string | Date | null;
2595
+ accountId: string;
2596
+ accountName: string;
2597
+ agentEmail: string;
2598
+ agentName: string;
2599
+ __entity?: string | undefined;
2600
+ account?: {
2601
+ status: import("./common.types").AccountStatus;
2602
+ id: string;
2603
+ createdAt: string | Date;
2604
+ updatedAt: string | Date;
2605
+ deletedAt: string | Date | null;
2606
+ name: string;
2607
+ managedBy: import("./common.types").ManagedByType | null;
2608
+ platform: import("./common.types").Platform;
2609
+ onboardingReviewerId: string | null;
2610
+ onboardingReviewAt: Date | null;
2611
+ allowPendingComplianceReview: boolean;
2612
+ __entity?: string | undefined;
2613
+ } | null | undefined;
2614
+ accountNumber?: string | null | undefined;
2615
+ routingNumber?: string | null | undefined;
2616
+ company?: string | null | undefined;
2617
+ } | null | undefined;
2618
+ tradeDisbursements?: any[] | undefined;
2619
+ createdBy?: {
2620
+ id: string;
2621
+ createdAt: string | Date;
2622
+ updatedAt: string | Date;
2623
+ deletedAt: string | Date | null;
2624
+ active: boolean;
2625
+ inviteId: string | null;
2626
+ accountId: string | null;
2627
+ roleId: string | null;
2628
+ userLoginId: string | null;
2629
+ locked: boolean;
2630
+ onboarding: string | null;
2631
+ userLogin: {
2632
+ id: string;
2633
+ createdAt: string | Date;
2634
+ updatedAt: string | Date;
2635
+ deletedAt: string | Date | null;
2636
+ firstName: string;
2637
+ lastName: string;
2638
+ email: string;
2639
+ provider: string;
2640
+ lastLoginAt: string | Date | null;
2641
+ loginCount: number;
2642
+ __entity?: string | undefined;
2643
+ };
2644
+ __entity?: string | undefined;
2645
+ account?: {
2646
+ status: import("./common.types").AccountStatus;
2647
+ id: string;
2648
+ createdAt: string | Date;
2649
+ updatedAt: string | Date;
2650
+ deletedAt: string | Date | null;
2651
+ name: string;
2652
+ managedBy: import("./common.types").ManagedByType | null;
2653
+ platform: import("./common.types").Platform;
2654
+ onboardingReviewerId: string | null;
2655
+ onboardingReviewAt: Date | null;
2656
+ allowPendingComplianceReview: boolean;
2657
+ __entity?: string | undefined;
2658
+ } | undefined;
2659
+ } | null | undefined;
2660
+ issuerBankAccount?: any;
2661
+ disbursementAdjustments?: any[] | undefined;
2662
+ disbursementReviews?: any[] | undefined;
2663
+ disbursementTransactions?: any[] | undefined;
2664
+ }>;
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>;