@dalmore/api-contracts 0.0.0-dev.74136b1 → 0.0.0-dev.7560276

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 +8 -0
  5. package/common/helpers/index.js +15 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +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 +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/auth.types.d.ts +36 -0
  20. package/common/types/auth.types.js +3 -2
  21. package/common/types/auth.types.js.map +1 -1
  22. package/common/types/bonus-tier.types.d.ts +11 -0
  23. package/common/types/bonus-tier.types.js +14 -7
  24. package/common/types/bonus-tier.types.js.map +1 -1
  25. package/common/types/cap-table.types.d.ts +177 -53
  26. package/common/types/cap-table.types.js +31 -0
  27. package/common/types/cap-table.types.js.map +1 -1
  28. package/common/types/common.types.d.ts +359 -9
  29. package/common/types/common.types.js +74 -4
  30. package/common/types/common.types.js.map +1 -1
  31. package/common/types/comply-advantage-api.types.d.ts +86 -992
  32. package/common/types/comply-advantage-api.types.js +15 -2
  33. package/common/types/comply-advantage-api.types.js.map +1 -1
  34. package/common/types/csv.types.d.ts +3612 -0
  35. package/common/types/csv.types.js +290 -0
  36. package/common/types/csv.types.js.map +1 -0
  37. package/common/types/dashboard.types.d.ts +7 -7
  38. package/common/types/data-record.types.d.ts +4 -4
  39. package/common/types/disbursement-transaction.types.d.ts +1 -1
  40. package/common/types/disbursement-transaction.types.js +1 -1
  41. package/common/types/disbursement-transaction.types.js.map +1 -1
  42. package/common/types/disbursements.types.d.ts +999 -587
  43. package/common/types/disbursements.types.js +95 -2
  44. package/common/types/disbursements.types.js.map +1 -1
  45. package/common/types/escrow-account.types.d.ts +17 -0
  46. package/common/types/escrow-account.types.js +3 -0
  47. package/common/types/escrow-account.types.js.map +1 -1
  48. package/common/types/exchange-provider.types.d.ts +12 -12
  49. package/common/types/file.types.d.ts +38 -11
  50. package/common/types/file.types.js +14 -0
  51. package/common/types/file.types.js.map +1 -1
  52. package/common/types/index.d.ts +4 -2
  53. package/common/types/index.js +4 -2
  54. package/common/types/index.js.map +1 -1
  55. package/common/types/individuals.types.d.ts +207 -5
  56. package/common/types/individuals.types.js +16 -16
  57. package/common/types/individuals.types.js.map +1 -1
  58. package/common/types/investor-account.types.d.ts +1 -1
  59. package/common/types/investor-account.types.js +1 -2
  60. package/common/types/investor-account.types.js.map +1 -1
  61. package/common/types/investors-offering.types.d.ts +8 -0
  62. package/common/types/investors-offering.types.js +1 -0
  63. package/common/types/investors-offering.types.js.map +1 -1
  64. package/common/types/invite.types.d.ts +5 -2
  65. package/common/types/invite.types.js +2 -1
  66. package/common/types/invite.types.js.map +1 -1
  67. package/common/types/issuer-bank-account.types.d.ts +4 -276
  68. package/common/types/issuer-offering.types.d.ts +1007 -16
  69. package/common/types/issuer-offering.types.js +304 -43
  70. package/common/types/issuer-offering.types.js.map +1 -1
  71. package/common/types/job-item.types.d.ts +14 -14
  72. package/common/types/legal-entity.types.d.ts +39 -1
  73. package/common/types/legal-entity.types.js +8 -5
  74. package/common/types/legal-entity.types.js.map +1 -1
  75. package/common/types/mail-template.types.d.ts +4 -4
  76. package/common/types/note.types.d.ts +15 -15
  77. package/common/types/notification.types.d.ts +1 -0
  78. package/common/types/notification.types.js +3 -0
  79. package/common/types/notification.types.js.map +1 -1
  80. package/common/types/offering-submission.types.d.ts +198 -0
  81. package/common/types/offering-submission.types.js +17 -4
  82. package/common/types/offering-submission.types.js.map +1 -1
  83. package/common/types/offering.types.d.ts +549 -25
  84. package/common/types/offering.types.js +355 -28
  85. package/common/types/offering.types.js.map +1 -1
  86. package/common/types/payment-methods.types.d.ts +365 -0
  87. package/common/types/payment-methods.types.js +121 -0
  88. package/common/types/payment-methods.types.js.map +1 -1
  89. package/common/types/portfolio.types.d.ts +6 -6
  90. package/common/types/reports.types.d.ts +345 -0
  91. package/common/types/reports.types.js +69 -0
  92. package/common/types/reports.types.js.map +1 -0
  93. package/common/types/review.types.js +1 -1
  94. package/common/types/review.types.js.map +1 -1
  95. package/common/types/secondary-order.types.d.ts +10 -10
  96. package/common/types/secondary-trade.types.d.ts +10 -10
  97. package/common/types/signer.types.d.ts +8 -8
  98. package/common/types/site.types.d.ts +17 -12
  99. package/common/types/task.types.d.ts +30 -22
  100. package/common/types/task.types.js +3 -0
  101. package/common/types/task.types.js.map +1 -1
  102. package/common/types/trade-line-item.types.d.ts +24 -0
  103. package/common/types/trade-line-item.types.js +3 -0
  104. package/common/types/trade-line-item.types.js.map +1 -1
  105. package/common/types/trade.types.d.ts +22 -14
  106. package/common/types/trade.types.js +20 -7
  107. package/common/types/trade.types.js.map +1 -1
  108. package/common/types/transaction.types.d.ts +104 -3
  109. package/common/types/transaction.types.js +48 -3
  110. package/common/types/transaction.types.js.map +1 -1
  111. package/common/types/user.types.d.ts +108 -82
  112. package/common/types/user.types.js +10 -23
  113. package/common/types/user.types.js.map +1 -1
  114. package/common/types/zapier.types.d.ts +126 -0
  115. package/common/types/zapier.types.js +247 -0
  116. package/common/types/zapier.types.js.map +1 -0
  117. package/contracts/clients/assets/index.d.ts +22 -0
  118. package/contracts/clients/csv/index.d.ts +1800 -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 +3675 -1043
  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 +5 -5
  127. package/contracts/clients/legal-entities/index.d.ts +1 -1
  128. package/contracts/clients/offerings/index.d.ts +310 -9
  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 {
@@ -1061,7 +1061,7 @@ export declare const PostDisbursementZod: z.ZodObject<{
1061
1061
  type: DisbursementAdjustmentType;
1062
1062
  description: string;
1063
1063
  }[]>;
1064
- escrowAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1064
+ escrowAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1065
1065
  }, "strip", z.ZodTypeAny, {
1066
1066
  name: string;
1067
1067
  offeringId: string;
@@ -1075,7 +1075,7 @@ export declare const PostDisbursementZod: z.ZodObject<{
1075
1075
  description: string;
1076
1076
  }[];
1077
1077
  issuerBankAccountId: string;
1078
- escrowAccountId: string;
1078
+ escrowAccountId?: string | undefined;
1079
1079
  disbursedAt?: Date | null | undefined;
1080
1080
  }, {
1081
1081
  name: string;
@@ -1090,7 +1090,7 @@ export declare const PostDisbursementZod: z.ZodObject<{
1090
1090
  description: string;
1091
1091
  }[];
1092
1092
  issuerBankAccountId: string;
1093
- escrowAccountId: string;
1093
+ escrowAccountId?: string | undefined;
1094
1094
  disbursedAt?: string | null | undefined;
1095
1095
  }>;
1096
1096
  export type PostDisbursementZod = z.infer<typeof PostDisbursementZod>;
@@ -1124,7 +1124,7 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1124
1124
  type: DisbursementAdjustmentType;
1125
1125
  description: string;
1126
1126
  }[]>;
1127
- escrowAccountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1127
+ escrowAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1128
1128
  } & {
1129
1129
  accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1130
1130
  }, "strip", z.ZodTypeAny, {
@@ -1141,7 +1141,7 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1141
1141
  description: string;
1142
1142
  }[];
1143
1143
  issuerBankAccountId: string;
1144
- escrowAccountId: string;
1144
+ escrowAccountId?: string | undefined;
1145
1145
  disbursedAt?: Date | null | undefined;
1146
1146
  }, {
1147
1147
  accountId: string;
@@ -1157,7 +1157,7 @@ export declare const CompliancePostDisbursementZod: z.ZodObject<{
1157
1157
  description: string;
1158
1158
  }[];
1159
1159
  issuerBankAccountId: string;
1160
- escrowAccountId: string;
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>;
@@ -1712,6 +1563,7 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1712
1563
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1713
1564
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1714
1565
  } & {
1566
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1715
1567
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1716
1568
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1717
1569
  accountName: z.ZodString;
@@ -1785,6 +1637,7 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1785
1637
  } | null | undefined;
1786
1638
  accountNumber?: string | null | undefined;
1787
1639
  routingNumber?: string | null | undefined;
1640
+ company?: string | null | undefined;
1788
1641
  }, {
1789
1642
  id: string;
1790
1643
  createdAt: string | Date;
@@ -1811,117 +1664,9 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1811
1664
  } | null | undefined;
1812
1665
  accountNumber?: string | null | undefined;
1813
1666
  routingNumber?: string | null | undefined;
1667
+ company?: string | null | undefined;
1814
1668
  }>>>;
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
- }, {
1898
- id: string;
1899
- createdAt: string | Date;
1900
- updatedAt: string | Date;
1901
- deletedAt: string | Date | null;
1902
- accountId: string;
1903
- issuerId: string;
1904
- accountNumber: string;
1905
- accountHolder: string;
1906
- routingNumber: string;
1907
- nickName: string;
1908
- __entity?: string | undefined;
1909
- account?: {
1910
- status: import("./common.types").AccountStatus;
1911
- id: string;
1912
- createdAt: string | Date;
1913
- updatedAt: string | Date;
1914
- deletedAt: string | Date | null;
1915
- name: string;
1916
- managedBy: import("./common.types").ManagedByType | null;
1917
- platform: import("./common.types").Platform;
1918
- onboardingReviewerId: string | null;
1919
- onboardingReviewAt: Date | null;
1920
- allowPendingComplianceReview: boolean;
1921
- __entity?: string | undefined;
1922
- } | null | undefined;
1923
- issuer?: any;
1924
- }>>>;
1669
+ destinationBank: z.ZodNullable<z.ZodLazy<any>>;
1925
1670
  }, "strip", z.ZodTypeAny, {
1926
1671
  escrowAccount: {
1927
1672
  id: string;
@@ -1949,37 +1694,11 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
1949
1694
  } | null | undefined;
1950
1695
  accountNumber?: string | null | undefined;
1951
1696
  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;
1697
+ company?: string | null | undefined;
1980
1698
  } | null;
1981
1699
  offering?: any;
1982
1700
  issuer?: any;
1701
+ destinationBank?: any;
1983
1702
  }, {
1984
1703
  escrowAccount: {
1985
1704
  id: string;
@@ -2007,55 +1726,38 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
2007
1726
  } | null | undefined;
2008
1727
  accountNumber?: string | null | undefined;
2009
1728
  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;
1729
+ company?: string | null | undefined;
2038
1730
  } | null;
2039
1731
  offering?: any;
2040
1732
  issuer?: any;
1733
+ destinationBank?: any;
2041
1734
  }>;
2042
1735
  balance: z.ZodObject<{
2043
1736
  totalRaised: z.ZodNumber;
2044
1737
  totalDisbursed: z.ZodNumber;
2045
1738
  pending: z.ZodNumber;
2046
1739
  refundPool: z.ZodNumber;
1740
+ disbursementFee: z.ZodNumber;
1741
+ brokerageFee: z.ZodNumber;
2047
1742
  availableForDisbursement: z.ZodNumber;
1743
+ netAmount: z.ZodNumber;
2048
1744
  }, "strip", z.ZodTypeAny, {
2049
1745
  pending: number;
1746
+ netAmount: number;
2050
1747
  totalRaised: number;
2051
1748
  totalDisbursed: number;
2052
1749
  refundPool: number;
1750
+ brokerageFee: number;
1751
+ disbursementFee: number;
2053
1752
  availableForDisbursement: number;
2054
1753
  }, {
2055
1754
  pending: number;
1755
+ netAmount: number;
2056
1756
  totalRaised: number;
2057
1757
  totalDisbursed: number;
2058
1758
  refundPool: number;
1759
+ brokerageFee: number;
1760
+ disbursementFee: number;
2059
1761
  availableForDisbursement: number;
2060
1762
  }>;
2061
1763
  tradeSummary: z.ZodObject<{
@@ -2127,43 +1829,20 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
2127
1829
  } | null | undefined;
2128
1830
  accountNumber?: string | null | undefined;
2129
1831
  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;
1832
+ company?: string | null | undefined;
2158
1833
  } | null;
2159
1834
  offering?: any;
2160
1835
  issuer?: any;
1836
+ destinationBank?: any;
2161
1837
  };
2162
1838
  balance: {
2163
1839
  pending: number;
1840
+ netAmount: number;
2164
1841
  totalRaised: number;
2165
1842
  totalDisbursed: number;
2166
1843
  refundPool: number;
1844
+ brokerageFee: number;
1845
+ disbursementFee: number;
2167
1846
  availableForDisbursement: number;
2168
1847
  };
2169
1848
  tradeSummary: {
@@ -2208,43 +1887,20 @@ export declare const DisbursementPreviewZod: z.ZodObject<{
2208
1887
  } | null | undefined;
2209
1888
  accountNumber?: string | null | undefined;
2210
1889
  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;
1890
+ company?: string | null | undefined;
2239
1891
  } | null;
2240
1892
  offering?: any;
2241
1893
  issuer?: any;
1894
+ destinationBank?: any;
2242
1895
  };
2243
1896
  balance: {
2244
1897
  pending: number;
1898
+ netAmount: number;
2245
1899
  totalRaised: number;
2246
1900
  totalDisbursed: number;
2247
1901
  refundPool: number;
1902
+ brokerageFee: number;
1903
+ disbursementFee: number;
2248
1904
  availableForDisbursement: number;
2249
1905
  };
2250
1906
  tradeSummary: {
@@ -2585,118 +2241,11 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2585
2241
  } & {
2586
2242
  userCanReview: z.ZodBoolean;
2587
2243
  signingUrl: z.ZodNullable<z.ZodString>;
2244
+ canViewDocument: z.ZodBoolean;
2245
+ documentUrl: z.ZodNullable<z.ZodString>;
2588
2246
  lifecycleStage: z.ZodNativeEnum<typeof DisbursementLifecycleStage>;
2589
2247
  issuer: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2590
- issuerBankAccount: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
2591
- id: z.ZodString;
2592
- __entity: z.ZodOptional<z.ZodString>;
2593
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2594
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2595
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2596
- } & {
2597
- accountNumber: z.ZodString;
2598
- accountHolder: z.ZodString;
2599
- routingNumber: z.ZodString;
2600
- nickName: z.ZodString;
2601
- accountId: z.ZodString;
2602
- account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2603
- id: z.ZodString;
2604
- __entity: z.ZodOptional<z.ZodString>;
2605
- createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2606
- updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2607
- deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2608
- } & {
2609
- name: z.ZodString;
2610
- status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2611
- managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2612
- platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2613
- onboardingReviewerId: z.ZodNullable<z.ZodString>;
2614
- onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2615
- allowPendingComplianceReview: z.ZodBoolean;
2616
- }, "strip", z.ZodTypeAny, {
2617
- status: import("./common.types").AccountStatus;
2618
- id: string;
2619
- createdAt: string | Date;
2620
- updatedAt: string | Date;
2621
- deletedAt: string | Date | null;
2622
- name: string;
2623
- managedBy: import("./common.types").ManagedByType | null;
2624
- platform: import("./common.types").Platform;
2625
- onboardingReviewerId: string | null;
2626
- onboardingReviewAt: Date | null;
2627
- allowPendingComplianceReview: boolean;
2628
- __entity?: string | undefined;
2629
- }, {
2630
- status: import("./common.types").AccountStatus;
2631
- id: string;
2632
- createdAt: string | Date;
2633
- updatedAt: string | Date;
2634
- deletedAt: string | Date | null;
2635
- name: string;
2636
- managedBy: import("./common.types").ManagedByType | null;
2637
- platform: import("./common.types").Platform;
2638
- onboardingReviewerId: string | null;
2639
- onboardingReviewAt: Date | null;
2640
- allowPendingComplianceReview: boolean;
2641
- __entity?: string | undefined;
2642
- }>>>;
2643
- issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2644
- issuer: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2645
- }, "strip", z.ZodTypeAny, {
2646
- id: string;
2647
- createdAt: string | Date;
2648
- updatedAt: string | Date;
2649
- deletedAt: string | Date | null;
2650
- accountId: string;
2651
- issuerId: string;
2652
- accountNumber: string;
2653
- accountHolder: string;
2654
- routingNumber: string;
2655
- nickName: string;
2656
- __entity?: string | undefined;
2657
- account?: {
2658
- status: import("./common.types").AccountStatus;
2659
- id: string;
2660
- createdAt: string | Date;
2661
- updatedAt: string | Date;
2662
- deletedAt: string | Date | null;
2663
- name: string;
2664
- managedBy: import("./common.types").ManagedByType | null;
2665
- platform: import("./common.types").Platform;
2666
- onboardingReviewerId: string | null;
2667
- onboardingReviewAt: Date | null;
2668
- allowPendingComplianceReview: boolean;
2669
- __entity?: string | undefined;
2670
- } | null | undefined;
2671
- issuer?: any;
2672
- }, {
2673
- id: string;
2674
- createdAt: string | Date;
2675
- updatedAt: string | Date;
2676
- deletedAt: string | Date | null;
2677
- accountId: string;
2678
- issuerId: string;
2679
- accountNumber: string;
2680
- accountHolder: string;
2681
- routingNumber: string;
2682
- nickName: string;
2683
- __entity?: string | undefined;
2684
- account?: {
2685
- status: import("./common.types").AccountStatus;
2686
- id: string;
2687
- createdAt: string | Date;
2688
- updatedAt: string | Date;
2689
- deletedAt: string | Date | null;
2690
- name: string;
2691
- managedBy: import("./common.types").ManagedByType | null;
2692
- platform: import("./common.types").Platform;
2693
- onboardingReviewerId: string | null;
2694
- onboardingReviewAt: Date | null;
2695
- allowPendingComplianceReview: boolean;
2696
- __entity?: string | undefined;
2697
- } | null | undefined;
2698
- issuer?: any;
2699
- }>>>>;
2248
+ issuerBankAccount: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
2700
2249
  escrowAccount: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
2701
2250
  id: z.ZodString;
2702
2251
  __entity: z.ZodOptional<z.ZodString>;
@@ -2704,6 +2253,7 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2704
2253
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2705
2254
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2706
2255
  } & {
2256
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2707
2257
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2708
2258
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2709
2259
  accountName: z.ZodString;
@@ -2777,6 +2327,7 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2777
2327
  } | null | undefined;
2778
2328
  accountNumber?: string | null | undefined;
2779
2329
  routingNumber?: string | null | undefined;
2330
+ company?: string | null | undefined;
2780
2331
  }, {
2781
2332
  id: string;
2782
2333
  createdAt: string | Date;
@@ -2803,6 +2354,7 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2803
2354
  } | null | undefined;
2804
2355
  accountNumber?: string | null | undefined;
2805
2356
  routingNumber?: string | null | undefined;
2357
+ company?: string | null | undefined;
2806
2358
  }>>>>;
2807
2359
  disbursementAdjustments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2808
2360
  tradeDisbursements: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
@@ -2826,6 +2378,8 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2826
2378
  disbursedAt: Date | null;
2827
2379
  userCanReview: boolean;
2828
2380
  signingUrl: string | null;
2381
+ canViewDocument: boolean;
2382
+ documentUrl: string | null;
2829
2383
  lifecycleStage: DisbursementLifecycleStage;
2830
2384
  __entity?: string | undefined;
2831
2385
  account?: {
@@ -2844,32 +2398,15 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2844
2398
  } | null | undefined;
2845
2399
  offering?: any;
2846
2400
  issuer?: any;
2847
- tradeDisbursements?: any[] | undefined;
2848
- createdBy?: {
2401
+ escrowAccount?: {
2849
2402
  id: string;
2850
2403
  createdAt: string | Date;
2851
2404
  updatedAt: string | Date;
2852
2405
  deletedAt: string | Date | null;
2853
- active: boolean;
2854
- inviteId: string | null;
2855
- accountId: string | null;
2856
- roleId: string | null;
2857
- userLoginId: string | null;
2858
- locked: boolean;
2859
- onboarding: string | null;
2860
- userLogin: {
2861
- id: string;
2862
- createdAt: string | Date;
2863
- updatedAt: string | Date;
2864
- deletedAt: string | Date | null;
2865
- firstName: string;
2866
- lastName: string;
2867
- email: string;
2868
- provider: string;
2869
- lastLoginAt: string | Date | null;
2870
- loginCount: number;
2871
- __entity?: string | undefined;
2872
- };
2406
+ accountId: string;
2407
+ accountName: string;
2408
+ agentEmail: string;
2409
+ agentName: string;
2873
2410
  __entity?: string | undefined;
2874
2411
  account?: {
2875
2412
  status: import("./common.types").AccountStatus;
@@ -2884,45 +2421,37 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2884
2421
  onboardingReviewAt: Date | null;
2885
2422
  allowPendingComplianceReview: boolean;
2886
2423
  __entity?: string | undefined;
2887
- } | undefined;
2424
+ } | null | undefined;
2425
+ accountNumber?: string | null | undefined;
2426
+ routingNumber?: string | null | undefined;
2427
+ company?: string | null | undefined;
2888
2428
  } | null | undefined;
2889
- issuerBankAccount?: {
2429
+ tradeDisbursements?: any[] | undefined;
2430
+ createdBy?: {
2890
2431
  id: string;
2891
2432
  createdAt: string | Date;
2892
2433
  updatedAt: string | Date;
2893
2434
  deletedAt: string | Date | null;
2894
- accountId: string;
2895
- issuerId: string;
2896
- accountNumber: string;
2897
- accountHolder: string;
2898
- routingNumber: string;
2899
- nickName: string;
2900
- __entity?: string | undefined;
2901
- account?: {
2902
- status: import("./common.types").AccountStatus;
2435
+ active: boolean;
2436
+ inviteId: string | null;
2437
+ accountId: string | null;
2438
+ roleId: string | null;
2439
+ userLoginId: string | null;
2440
+ locked: boolean;
2441
+ onboarding: string | null;
2442
+ userLogin: {
2903
2443
  id: string;
2904
2444
  createdAt: string | Date;
2905
2445
  updatedAt: string | Date;
2906
2446
  deletedAt: string | Date | null;
2907
- name: string;
2908
- managedBy: import("./common.types").ManagedByType | null;
2909
- platform: import("./common.types").Platform;
2910
- onboardingReviewerId: string | null;
2911
- onboardingReviewAt: Date | null;
2912
- allowPendingComplianceReview: boolean;
2447
+ firstName: string;
2448
+ lastName: string;
2449
+ email: string;
2450
+ provider: string;
2451
+ lastLoginAt: string | Date | null;
2452
+ loginCount: number;
2913
2453
  __entity?: string | undefined;
2914
- } | null | undefined;
2915
- issuer?: any;
2916
- } | null | undefined;
2917
- escrowAccount?: {
2918
- id: string;
2919
- createdAt: string | Date;
2920
- updatedAt: string | Date;
2921
- deletedAt: string | Date | null;
2922
- accountId: string;
2923
- accountName: string;
2924
- agentEmail: string;
2925
- agentName: string;
2454
+ };
2926
2455
  __entity?: string | undefined;
2927
2456
  account?: {
2928
2457
  status: import("./common.types").AccountStatus;
@@ -2937,10 +2466,9 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2937
2466
  onboardingReviewAt: Date | null;
2938
2467
  allowPendingComplianceReview: boolean;
2939
2468
  __entity?: string | undefined;
2940
- } | null | undefined;
2941
- accountNumber?: string | null | undefined;
2942
- routingNumber?: string | null | undefined;
2469
+ } | undefined;
2943
2470
  } | null | undefined;
2471
+ issuerBankAccount?: any;
2944
2472
  disbursementAdjustments?: any[] | undefined;
2945
2473
  disbursementReviews?: any[] | undefined;
2946
2474
  disbursementTransactions?: any[] | undefined;
@@ -2962,6 +2490,8 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2962
2490
  disbursedAt: Date | null;
2963
2491
  userCanReview: boolean;
2964
2492
  signingUrl: string | null;
2493
+ canViewDocument: boolean;
2494
+ documentUrl: string | null;
2965
2495
  lifecycleStage: DisbursementLifecycleStage;
2966
2496
  __entity?: string | undefined;
2967
2497
  account?: {
@@ -2980,28 +2510,56 @@ export declare const DisbursementDetailZod: z.ZodObject<{
2980
2510
  } | null | undefined;
2981
2511
  offering?: any;
2982
2512
  issuer?: any;
2983
- tradeDisbursements?: any[] | undefined;
2984
- createdBy?: {
2513
+ escrowAccount?: {
2985
2514
  id: string;
2986
2515
  createdAt: string | Date;
2987
2516
  updatedAt: string | Date;
2988
2517
  deletedAt: string | Date | null;
2989
- active: boolean;
2990
- inviteId: string | null;
2991
- accountId: string | null;
2992
- roleId: string | null;
2993
- userLoginId: string | null;
2994
- locked: boolean;
2995
- onboarding: string | null;
2996
- userLogin: {
2518
+ accountId: string;
2519
+ accountName: string;
2520
+ agentEmail: string;
2521
+ agentName: string;
2522
+ __entity?: string | undefined;
2523
+ account?: {
2524
+ status: import("./common.types").AccountStatus;
2997
2525
  id: string;
2998
2526
  createdAt: string | Date;
2999
2527
  updatedAt: string | Date;
3000
2528
  deletedAt: string | Date | null;
3001
- firstName: string;
3002
- lastName: string;
3003
- email: string;
3004
- provider: string;
2529
+ name: string;
2530
+ managedBy: import("./common.types").ManagedByType | null;
2531
+ platform: import("./common.types").Platform;
2532
+ onboardingReviewerId: string | null;
2533
+ onboardingReviewAt: Date | null;
2534
+ allowPendingComplianceReview: boolean;
2535
+ __entity?: string | undefined;
2536
+ } | null | undefined;
2537
+ accountNumber?: string | null | undefined;
2538
+ routingNumber?: string | null | undefined;
2539
+ company?: string | null | undefined;
2540
+ } | null | undefined;
2541
+ tradeDisbursements?: any[] | undefined;
2542
+ createdBy?: {
2543
+ id: string;
2544
+ createdAt: string | Date;
2545
+ updatedAt: string | Date;
2546
+ deletedAt: string | Date | null;
2547
+ active: boolean;
2548
+ inviteId: string | null;
2549
+ accountId: string | null;
2550
+ roleId: string | null;
2551
+ userLoginId: string | null;
2552
+ locked: boolean;
2553
+ onboarding: string | null;
2554
+ userLogin: {
2555
+ id: string;
2556
+ createdAt: string | Date;
2557
+ updatedAt: string | Date;
2558
+ deletedAt: string | Date | null;
2559
+ firstName: string;
2560
+ lastName: string;
2561
+ email: string;
2562
+ provider: string;
3005
2563
  lastLoginAt: string | Date | null;
3006
2564
  loginCount: number;
3007
2565
  __entity?: string | undefined;
@@ -3022,17 +2580,209 @@ export declare const DisbursementDetailZod: z.ZodObject<{
3022
2580
  __entity?: string | undefined;
3023
2581
  } | undefined;
3024
2582
  } | null | undefined;
3025
- issuerBankAccount?: {
2583
+ issuerBankAccount?: any;
2584
+ disbursementAdjustments?: any[] | undefined;
2585
+ disbursementReviews?: any[] | undefined;
2586
+ disbursementTransactions?: any[] | undefined;
2587
+ }>;
2588
+ export type DisbursementDetailZod = z.infer<typeof DisbursementDetailZod>;
2589
+ export declare const DisbursementApproverZod: z.ZodObject<{
2590
+ name: z.ZodString;
2591
+ email: z.ZodString;
2592
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2593
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2594
+ role: z.ZodNativeEnum<typeof UserRole>;
2595
+ }, "strip", z.ZodTypeAny, {
2596
+ status: DisbursementStatus;
2597
+ email: string;
2598
+ name: string;
2599
+ role: UserRole;
2600
+ reviewedAt: Date | null;
2601
+ }, {
2602
+ status: DisbursementStatus;
2603
+ email: string;
2604
+ name: string;
2605
+ role: UserRole;
2606
+ reviewedAt: Date | null;
2607
+ }>;
2608
+ export type DisbursementApproverZod = z.infer<typeof DisbursementApproverZod>;
2609
+ export declare const DisbursementDeclinedBannerZod: z.ZodObject<{
2610
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2611
+ declinedByName: z.ZodString;
2612
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2613
+ declinedAt: z.ZodDate;
2614
+ }, "strip", z.ZodTypeAny, {
2615
+ disbursementStatus: DisbursementStatus;
2616
+ declinedByName: string;
2617
+ declinedByRole: UserRole;
2618
+ declinedAt: Date;
2619
+ }, {
2620
+ disbursementStatus: DisbursementStatus;
2621
+ declinedByName: string;
2622
+ declinedByRole: UserRole;
2623
+ declinedAt: Date;
2624
+ }>;
2625
+ export type DisbursementDeclinedBannerZod = z.infer<typeof DisbursementDeclinedBannerZod>;
2626
+ export declare const DisbursementApprovalsTabZod: z.ZodObject<{
2627
+ disbursementId: z.ZodString;
2628
+ disbursementName: z.ZodString;
2629
+ issuerName: z.ZodString;
2630
+ offeringName: z.ZodString;
2631
+ approvers: z.ZodArray<z.ZodObject<{
2632
+ name: z.ZodString;
2633
+ email: z.ZodString;
2634
+ reviewedAt: z.ZodNullable<z.ZodDate>;
2635
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
2636
+ role: z.ZodNativeEnum<typeof UserRole>;
2637
+ }, "strip", z.ZodTypeAny, {
2638
+ status: DisbursementStatus;
2639
+ email: string;
2640
+ name: string;
2641
+ role: UserRole;
2642
+ reviewedAt: Date | null;
2643
+ }, {
2644
+ status: DisbursementStatus;
2645
+ email: string;
2646
+ name: string;
2647
+ role: UserRole;
2648
+ reviewedAt: Date | null;
2649
+ }>, "many">;
2650
+ declinedBanner: z.ZodNullable<z.ZodObject<{
2651
+ disbursementStatus: z.ZodNativeEnum<typeof DisbursementStatus>;
2652
+ declinedByName: z.ZodString;
2653
+ declinedByRole: z.ZodNativeEnum<typeof UserRole>;
2654
+ declinedAt: z.ZodDate;
2655
+ }, "strip", z.ZodTypeAny, {
2656
+ disbursementStatus: DisbursementStatus;
2657
+ declinedByName: string;
2658
+ declinedByRole: UserRole;
2659
+ declinedAt: Date;
2660
+ }, {
2661
+ disbursementStatus: DisbursementStatus;
2662
+ declinedByName: string;
2663
+ declinedByRole: UserRole;
2664
+ declinedAt: Date;
2665
+ }>>;
2666
+ }, "strip", z.ZodTypeAny, {
2667
+ issuerName: string;
2668
+ offeringName: string;
2669
+ disbursementId: string;
2670
+ disbursementName: string;
2671
+ approvers: {
2672
+ status: DisbursementStatus;
2673
+ email: string;
2674
+ name: string;
2675
+ role: UserRole;
2676
+ reviewedAt: Date | null;
2677
+ }[];
2678
+ declinedBanner: {
2679
+ disbursementStatus: DisbursementStatus;
2680
+ declinedByName: string;
2681
+ declinedByRole: UserRole;
2682
+ declinedAt: Date;
2683
+ } | null;
2684
+ }, {
2685
+ issuerName: string;
2686
+ offeringName: string;
2687
+ disbursementId: string;
2688
+ disbursementName: string;
2689
+ approvers: {
2690
+ status: DisbursementStatus;
2691
+ email: string;
2692
+ name: string;
2693
+ role: UserRole;
2694
+ reviewedAt: Date | null;
2695
+ }[];
2696
+ declinedBanner: {
2697
+ disbursementStatus: DisbursementStatus;
2698
+ declinedByName: string;
2699
+ declinedByRole: UserRole;
2700
+ declinedAt: Date;
2701
+ } | null;
2702
+ }>;
2703
+ export type DisbursementApprovalsTabZod = z.infer<typeof DisbursementApprovalsTabZod>;
2704
+ export declare const DisbursementDetailsTabHeaderZod: z.ZodObject<{
2705
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
2706
+ disbursementDate: z.ZodNullable<z.ZodDate>;
2707
+ currency: z.ZodDefault<z.ZodString>;
2708
+ }, "strip", z.ZodTypeAny, {
2709
+ currency: string;
2710
+ disbursementId: string;
2711
+ disbursementDate: Date | null;
2712
+ }, {
2713
+ disbursementId: string;
2714
+ disbursementDate: Date | null;
2715
+ currency?: string | undefined;
2716
+ }>;
2717
+ export type DisbursementDetailsTabHeaderZod = z.infer<typeof DisbursementDetailsTabHeaderZod>;
2718
+ export declare const DisbursementDetailsTabGeneralInfoZod: z.ZodObject<{
2719
+ issuerName: z.ZodString;
2720
+ offeringName: z.ZodString;
2721
+ offeringId: z.ZodString;
2722
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2723
+ id: z.ZodString;
2724
+ __entity: z.ZodOptional<z.ZodString>;
2725
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2726
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2727
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2728
+ } & {
2729
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2730
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2731
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2732
+ accountName: z.ZodString;
2733
+ agentEmail: z.ZodString;
2734
+ agentName: z.ZodString;
2735
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
2736
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2737
+ id: z.ZodString;
2738
+ __entity: z.ZodOptional<z.ZodString>;
2739
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2740
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2741
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2742
+ } & {
2743
+ name: z.ZodString;
2744
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
2745
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
2746
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
2747
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
2748
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
2749
+ allowPendingComplianceReview: z.ZodBoolean;
2750
+ }, "strip", z.ZodTypeAny, {
2751
+ status: import("./common.types").AccountStatus;
2752
+ id: string;
2753
+ createdAt: string | Date;
2754
+ updatedAt: string | Date;
2755
+ deletedAt: string | Date | null;
2756
+ name: string;
2757
+ managedBy: import("./common.types").ManagedByType | null;
2758
+ platform: import("./common.types").Platform;
2759
+ onboardingReviewerId: string | null;
2760
+ onboardingReviewAt: Date | null;
2761
+ allowPendingComplianceReview: boolean;
2762
+ __entity?: string | undefined;
2763
+ }, {
2764
+ status: import("./common.types").AccountStatus;
2765
+ id: string;
2766
+ createdAt: string | Date;
2767
+ updatedAt: string | Date;
2768
+ deletedAt: string | Date | null;
2769
+ name: string;
2770
+ managedBy: import("./common.types").ManagedByType | null;
2771
+ platform: import("./common.types").Platform;
2772
+ onboardingReviewerId: string | null;
2773
+ onboardingReviewAt: Date | null;
2774
+ allowPendingComplianceReview: boolean;
2775
+ __entity?: string | undefined;
2776
+ }>>>;
2777
+ }, "strip", z.ZodTypeAny, {
3026
2778
  id: string;
3027
2779
  createdAt: string | Date;
3028
2780
  updatedAt: string | Date;
3029
2781
  deletedAt: string | Date | null;
3030
2782
  accountId: string;
3031
- issuerId: string;
3032
- accountNumber: string;
3033
- accountHolder: string;
3034
- routingNumber: string;
3035
- nickName: string;
2783
+ accountName: string;
2784
+ agentEmail: string;
2785
+ agentName: string;
3036
2786
  __entity?: string | undefined;
3037
2787
  account?: {
3038
2788
  status: import("./common.types").AccountStatus;
@@ -3048,9 +2798,10 @@ export declare const DisbursementDetailZod: z.ZodObject<{
3048
2798
  allowPendingComplianceReview: boolean;
3049
2799
  __entity?: string | undefined;
3050
2800
  } | null | undefined;
3051
- issuer?: any;
3052
- } | null | undefined;
3053
- escrowAccount?: {
2801
+ accountNumber?: string | null | undefined;
2802
+ routingNumber?: string | null | undefined;
2803
+ company?: string | null | undefined;
2804
+ }, {
3054
2805
  id: string;
3055
2806
  createdAt: string | Date;
3056
2807
  updatedAt: string | Date;
@@ -3076,9 +2827,670 @@ export declare const DisbursementDetailZod: z.ZodObject<{
3076
2827
  } | null | undefined;
3077
2828
  accountNumber?: string | null | undefined;
3078
2829
  routingNumber?: string | null | undefined;
3079
- } | null | undefined;
3080
- disbursementAdjustments?: any[] | undefined;
3081
- disbursementReviews?: any[] | undefined;
3082
- disbursementTransactions?: any[] | undefined;
2830
+ company?: string | null | undefined;
2831
+ }>>>;
2832
+ to: z.ZodNullable<z.ZodLazy<any>>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ from: {
2835
+ id: string;
2836
+ createdAt: string | Date;
2837
+ updatedAt: string | Date;
2838
+ deletedAt: string | Date | null;
2839
+ accountId: string;
2840
+ accountName: string;
2841
+ agentEmail: string;
2842
+ agentName: string;
2843
+ __entity?: string | undefined;
2844
+ account?: {
2845
+ status: import("./common.types").AccountStatus;
2846
+ id: string;
2847
+ createdAt: string | Date;
2848
+ updatedAt: string | Date;
2849
+ deletedAt: string | Date | null;
2850
+ name: string;
2851
+ managedBy: import("./common.types").ManagedByType | null;
2852
+ platform: import("./common.types").Platform;
2853
+ onboardingReviewerId: string | null;
2854
+ onboardingReviewAt: Date | null;
2855
+ allowPendingComplianceReview: boolean;
2856
+ __entity?: string | undefined;
2857
+ } | null | undefined;
2858
+ accountNumber?: string | null | undefined;
2859
+ routingNumber?: string | null | undefined;
2860
+ company?: string | null | undefined;
2861
+ } | null;
2862
+ offeringId: string;
2863
+ issuerName: string;
2864
+ offeringName: string;
2865
+ to?: any;
2866
+ }, {
2867
+ from: {
2868
+ id: string;
2869
+ createdAt: string | Date;
2870
+ updatedAt: string | Date;
2871
+ deletedAt: string | Date | null;
2872
+ accountId: string;
2873
+ accountName: string;
2874
+ agentEmail: string;
2875
+ agentName: string;
2876
+ __entity?: string | undefined;
2877
+ account?: {
2878
+ status: import("./common.types").AccountStatus;
2879
+ id: string;
2880
+ createdAt: string | Date;
2881
+ updatedAt: string | Date;
2882
+ deletedAt: string | Date | null;
2883
+ name: string;
2884
+ managedBy: import("./common.types").ManagedByType | null;
2885
+ platform: import("./common.types").Platform;
2886
+ onboardingReviewerId: string | null;
2887
+ onboardingReviewAt: Date | null;
2888
+ allowPendingComplianceReview: boolean;
2889
+ __entity?: string | undefined;
2890
+ } | null | undefined;
2891
+ accountNumber?: string | null | undefined;
2892
+ routingNumber?: string | null | undefined;
2893
+ company?: string | null | undefined;
2894
+ } | null;
2895
+ offeringId: string;
2896
+ issuerName: string;
2897
+ offeringName: string;
2898
+ to?: any;
3083
2899
  }>;
3084
- export type DisbursementDetailZod = z.infer<typeof DisbursementDetailZod>;
2900
+ export type DisbursementDetailsTabGeneralInfoZod = z.infer<typeof DisbursementDetailsTabGeneralInfoZod>;
2901
+ export declare const DisbursementDetailsTabFinancialsZod: z.ZodObject<{
2902
+ amountRequested: z.ZodNumber;
2903
+ brokerDealerCommission: z.ZodNumber;
2904
+ disbursementFee: z.ZodNumber;
2905
+ refundPool: z.ZodNumber;
2906
+ amountToBeDisbursed: z.ZodNumber;
2907
+ }, "strip", z.ZodTypeAny, {
2908
+ refundPool: number;
2909
+ amountRequested: number;
2910
+ disbursementFee: number;
2911
+ brokerDealerCommission: number;
2912
+ amountToBeDisbursed: number;
2913
+ }, {
2914
+ refundPool: number;
2915
+ amountRequested: number;
2916
+ disbursementFee: number;
2917
+ brokerDealerCommission: number;
2918
+ amountToBeDisbursed: number;
2919
+ }>;
2920
+ export type DisbursementDetailsTabFinancialsZod = z.infer<typeof DisbursementDetailsTabFinancialsZod>;
2921
+ export declare const DisbursementDetailsTabTradeZod: z.ZodObject<{
2922
+ tradeNo: z.ZodString;
2923
+ investorName: z.ZodString;
2924
+ investmentName: z.ZodString;
2925
+ numberOfShares: z.ZodNumber;
2926
+ totalAmount: z.ZodNumber;
2927
+ date: z.ZodNullable<z.ZodDate>;
2928
+ status: z.ZodString;
2929
+ }, "strip", z.ZodTypeAny, {
2930
+ status: string;
2931
+ date: Date | null;
2932
+ totalAmount: number;
2933
+ investorName: string;
2934
+ numberOfShares: number;
2935
+ tradeNo: string;
2936
+ investmentName: string;
2937
+ }, {
2938
+ status: string;
2939
+ date: Date | null;
2940
+ totalAmount: number;
2941
+ investorName: string;
2942
+ numberOfShares: number;
2943
+ tradeNo: string;
2944
+ investmentName: string;
2945
+ }>;
2946
+ export type DisbursementDetailsTabTradeZod = z.infer<typeof DisbursementDetailsTabTradeZod>;
2947
+ export declare const DisbursementDetailsTabApprovalZod: z.ZodObject<{
2948
+ name: z.ZodString;
2949
+ signedAt: z.ZodNullable<z.ZodDate>;
2950
+ }, "strip", z.ZodTypeAny, {
2951
+ name: string;
2952
+ signedAt: Date | null;
2953
+ }, {
2954
+ name: string;
2955
+ signedAt: Date | null;
2956
+ }>;
2957
+ export type DisbursementDetailsTabApprovalZod = z.infer<typeof DisbursementDetailsTabApprovalZod>;
2958
+ export declare const DisbursementDetailsTabApprovalsZod: z.ZodObject<{
2959
+ issuerApprovals: z.ZodArray<z.ZodObject<{
2960
+ name: z.ZodString;
2961
+ signedAt: z.ZodNullable<z.ZodDate>;
2962
+ }, "strip", z.ZodTypeAny, {
2963
+ name: string;
2964
+ signedAt: Date | null;
2965
+ }, {
2966
+ name: string;
2967
+ signedAt: Date | null;
2968
+ }>, "many">;
2969
+ complianceApproval: z.ZodNullable<z.ZodObject<{
2970
+ name: z.ZodString;
2971
+ signedAt: z.ZodNullable<z.ZodDate>;
2972
+ }, "strip", z.ZodTypeAny, {
2973
+ name: string;
2974
+ signedAt: Date | null;
2975
+ }, {
2976
+ name: string;
2977
+ signedAt: Date | null;
2978
+ }>>;
2979
+ escrowApproval: z.ZodNullable<z.ZodObject<{
2980
+ name: z.ZodString;
2981
+ signedAt: z.ZodNullable<z.ZodDate>;
2982
+ }, "strip", z.ZodTypeAny, {
2983
+ name: string;
2984
+ signedAt: Date | null;
2985
+ }, {
2986
+ name: string;
2987
+ signedAt: Date | null;
2988
+ }>>;
2989
+ }, "strip", z.ZodTypeAny, {
2990
+ issuerApprovals: {
2991
+ name: string;
2992
+ signedAt: Date | null;
2993
+ }[];
2994
+ complianceApproval: {
2995
+ name: string;
2996
+ signedAt: Date | null;
2997
+ } | null;
2998
+ escrowApproval: {
2999
+ name: string;
3000
+ signedAt: Date | null;
3001
+ } | null;
3002
+ }, {
3003
+ issuerApprovals: {
3004
+ name: string;
3005
+ signedAt: Date | null;
3006
+ }[];
3007
+ complianceApproval: {
3008
+ name: string;
3009
+ signedAt: Date | null;
3010
+ } | null;
3011
+ escrowApproval: {
3012
+ name: string;
3013
+ signedAt: Date | null;
3014
+ } | null;
3015
+ }>;
3016
+ export type DisbursementDetailsTabApprovalsZod = z.infer<typeof DisbursementDetailsTabApprovalsZod>;
3017
+ export declare const DisbursementDetailsTabRejectionZod: z.ZodObject<{
3018
+ declinedByName: z.ZodNullable<z.ZodString>;
3019
+ declinedByRole: z.ZodNullable<z.ZodString>;
3020
+ declinedAt: z.ZodNullable<z.ZodDate>;
3021
+ }, "strip", z.ZodTypeAny, {
3022
+ declinedByName: string | null;
3023
+ declinedByRole: string | null;
3024
+ declinedAt: Date | null;
3025
+ }, {
3026
+ declinedByName: string | null;
3027
+ declinedByRole: string | null;
3028
+ declinedAt: Date | null;
3029
+ }>;
3030
+ export type DisbursementDetailsTabRejectionZod = z.infer<typeof DisbursementDetailsTabRejectionZod>;
3031
+ export declare const DisbursementDetailsTabZod: z.ZodObject<{
3032
+ header: z.ZodObject<{
3033
+ disbursementId: z.ZodEffects<z.ZodString, string, string>;
3034
+ disbursementDate: z.ZodNullable<z.ZodDate>;
3035
+ currency: z.ZodDefault<z.ZodString>;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ currency: string;
3038
+ disbursementId: string;
3039
+ disbursementDate: Date | null;
3040
+ }, {
3041
+ disbursementId: string;
3042
+ disbursementDate: Date | null;
3043
+ currency?: string | undefined;
3044
+ }>;
3045
+ generalInfo: z.ZodObject<{
3046
+ issuerName: z.ZodString;
3047
+ offeringName: z.ZodString;
3048
+ offeringId: z.ZodString;
3049
+ from: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3050
+ id: z.ZodString;
3051
+ __entity: z.ZodOptional<z.ZodString>;
3052
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3053
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3054
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3055
+ } & {
3056
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3057
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3058
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3059
+ accountName: z.ZodString;
3060
+ agentEmail: z.ZodString;
3061
+ agentName: z.ZodString;
3062
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
3063
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3064
+ id: z.ZodString;
3065
+ __entity: z.ZodOptional<z.ZodString>;
3066
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3067
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
3068
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
3069
+ } & {
3070
+ name: z.ZodString;
3071
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
3072
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
3073
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
3074
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
3075
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
3076
+ allowPendingComplianceReview: z.ZodBoolean;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ status: import("./common.types").AccountStatus;
3079
+ id: string;
3080
+ createdAt: string | Date;
3081
+ updatedAt: string | Date;
3082
+ deletedAt: string | Date | null;
3083
+ name: string;
3084
+ managedBy: import("./common.types").ManagedByType | null;
3085
+ platform: import("./common.types").Platform;
3086
+ onboardingReviewerId: string | null;
3087
+ onboardingReviewAt: Date | null;
3088
+ allowPendingComplianceReview: boolean;
3089
+ __entity?: string | undefined;
3090
+ }, {
3091
+ status: import("./common.types").AccountStatus;
3092
+ id: string;
3093
+ createdAt: string | Date;
3094
+ updatedAt: string | Date;
3095
+ deletedAt: string | Date | null;
3096
+ name: string;
3097
+ managedBy: import("./common.types").ManagedByType | null;
3098
+ platform: import("./common.types").Platform;
3099
+ onboardingReviewerId: string | null;
3100
+ onboardingReviewAt: Date | null;
3101
+ allowPendingComplianceReview: boolean;
3102
+ __entity?: string | undefined;
3103
+ }>>>;
3104
+ }, "strip", z.ZodTypeAny, {
3105
+ id: string;
3106
+ createdAt: string | Date;
3107
+ updatedAt: string | Date;
3108
+ deletedAt: string | Date | null;
3109
+ accountId: string;
3110
+ accountName: string;
3111
+ agentEmail: string;
3112
+ agentName: string;
3113
+ __entity?: string | undefined;
3114
+ account?: {
3115
+ status: import("./common.types").AccountStatus;
3116
+ id: string;
3117
+ createdAt: string | Date;
3118
+ updatedAt: string | Date;
3119
+ deletedAt: string | Date | null;
3120
+ name: string;
3121
+ managedBy: import("./common.types").ManagedByType | null;
3122
+ platform: import("./common.types").Platform;
3123
+ onboardingReviewerId: string | null;
3124
+ onboardingReviewAt: Date | null;
3125
+ allowPendingComplianceReview: boolean;
3126
+ __entity?: string | undefined;
3127
+ } | null | undefined;
3128
+ accountNumber?: string | null | undefined;
3129
+ routingNumber?: string | null | undefined;
3130
+ company?: string | null | undefined;
3131
+ }, {
3132
+ id: string;
3133
+ createdAt: string | Date;
3134
+ updatedAt: string | Date;
3135
+ deletedAt: string | Date | null;
3136
+ accountId: string;
3137
+ accountName: string;
3138
+ agentEmail: string;
3139
+ agentName: string;
3140
+ __entity?: string | undefined;
3141
+ account?: {
3142
+ status: import("./common.types").AccountStatus;
3143
+ id: string;
3144
+ createdAt: string | Date;
3145
+ updatedAt: string | Date;
3146
+ deletedAt: string | Date | null;
3147
+ name: string;
3148
+ managedBy: import("./common.types").ManagedByType | null;
3149
+ platform: import("./common.types").Platform;
3150
+ onboardingReviewerId: string | null;
3151
+ onboardingReviewAt: Date | null;
3152
+ allowPendingComplianceReview: boolean;
3153
+ __entity?: string | undefined;
3154
+ } | null | undefined;
3155
+ accountNumber?: string | null | undefined;
3156
+ routingNumber?: string | null | undefined;
3157
+ company?: string | null | undefined;
3158
+ }>>>;
3159
+ to: z.ZodNullable<z.ZodLazy<any>>;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ from: {
3162
+ id: string;
3163
+ createdAt: string | Date;
3164
+ updatedAt: string | Date;
3165
+ deletedAt: string | Date | null;
3166
+ accountId: string;
3167
+ accountName: string;
3168
+ agentEmail: string;
3169
+ agentName: string;
3170
+ __entity?: string | undefined;
3171
+ account?: {
3172
+ status: import("./common.types").AccountStatus;
3173
+ id: string;
3174
+ createdAt: string | Date;
3175
+ updatedAt: string | Date;
3176
+ deletedAt: string | Date | null;
3177
+ name: string;
3178
+ managedBy: import("./common.types").ManagedByType | null;
3179
+ platform: import("./common.types").Platform;
3180
+ onboardingReviewerId: string | null;
3181
+ onboardingReviewAt: Date | null;
3182
+ allowPendingComplianceReview: boolean;
3183
+ __entity?: string | undefined;
3184
+ } | null | undefined;
3185
+ accountNumber?: string | null | undefined;
3186
+ routingNumber?: string | null | undefined;
3187
+ company?: string | null | undefined;
3188
+ } | null;
3189
+ offeringId: string;
3190
+ issuerName: string;
3191
+ offeringName: string;
3192
+ to?: any;
3193
+ }, {
3194
+ from: {
3195
+ id: string;
3196
+ createdAt: string | Date;
3197
+ updatedAt: string | Date;
3198
+ deletedAt: string | Date | null;
3199
+ accountId: string;
3200
+ accountName: string;
3201
+ agentEmail: string;
3202
+ agentName: string;
3203
+ __entity?: string | undefined;
3204
+ account?: {
3205
+ status: import("./common.types").AccountStatus;
3206
+ id: string;
3207
+ createdAt: string | Date;
3208
+ updatedAt: string | Date;
3209
+ deletedAt: string | Date | null;
3210
+ name: string;
3211
+ managedBy: import("./common.types").ManagedByType | null;
3212
+ platform: import("./common.types").Platform;
3213
+ onboardingReviewerId: string | null;
3214
+ onboardingReviewAt: Date | null;
3215
+ allowPendingComplianceReview: boolean;
3216
+ __entity?: string | undefined;
3217
+ } | null | undefined;
3218
+ accountNumber?: string | null | undefined;
3219
+ routingNumber?: string | null | undefined;
3220
+ company?: string | null | undefined;
3221
+ } | null;
3222
+ offeringId: string;
3223
+ issuerName: string;
3224
+ offeringName: string;
3225
+ to?: any;
3226
+ }>;
3227
+ financials: z.ZodObject<{
3228
+ amountRequested: z.ZodNumber;
3229
+ brokerDealerCommission: z.ZodNumber;
3230
+ disbursementFee: z.ZodNumber;
3231
+ refundPool: z.ZodNumber;
3232
+ amountToBeDisbursed: z.ZodNumber;
3233
+ }, "strip", z.ZodTypeAny, {
3234
+ refundPool: number;
3235
+ amountRequested: number;
3236
+ disbursementFee: number;
3237
+ brokerDealerCommission: number;
3238
+ amountToBeDisbursed: number;
3239
+ }, {
3240
+ refundPool: number;
3241
+ amountRequested: number;
3242
+ disbursementFee: number;
3243
+ brokerDealerCommission: number;
3244
+ amountToBeDisbursed: number;
3245
+ }>;
3246
+ trades: z.ZodArray<z.ZodObject<{
3247
+ tradeNo: z.ZodString;
3248
+ investorName: z.ZodString;
3249
+ investmentName: z.ZodString;
3250
+ numberOfShares: z.ZodNumber;
3251
+ totalAmount: z.ZodNumber;
3252
+ date: z.ZodNullable<z.ZodDate>;
3253
+ status: z.ZodString;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ status: string;
3256
+ date: Date | null;
3257
+ totalAmount: number;
3258
+ investorName: string;
3259
+ numberOfShares: number;
3260
+ tradeNo: string;
3261
+ investmentName: string;
3262
+ }, {
3263
+ status: string;
3264
+ date: Date | null;
3265
+ totalAmount: number;
3266
+ investorName: string;
3267
+ numberOfShares: number;
3268
+ tradeNo: string;
3269
+ investmentName: string;
3270
+ }>, "many">;
3271
+ approvals: z.ZodObject<{
3272
+ issuerApprovals: z.ZodArray<z.ZodObject<{
3273
+ name: z.ZodString;
3274
+ signedAt: z.ZodNullable<z.ZodDate>;
3275
+ }, "strip", z.ZodTypeAny, {
3276
+ name: string;
3277
+ signedAt: Date | null;
3278
+ }, {
3279
+ name: string;
3280
+ signedAt: Date | null;
3281
+ }>, "many">;
3282
+ complianceApproval: z.ZodNullable<z.ZodObject<{
3283
+ name: z.ZodString;
3284
+ signedAt: z.ZodNullable<z.ZodDate>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ name: string;
3287
+ signedAt: Date | null;
3288
+ }, {
3289
+ name: string;
3290
+ signedAt: Date | null;
3291
+ }>>;
3292
+ escrowApproval: z.ZodNullable<z.ZodObject<{
3293
+ name: z.ZodString;
3294
+ signedAt: z.ZodNullable<z.ZodDate>;
3295
+ }, "strip", z.ZodTypeAny, {
3296
+ name: string;
3297
+ signedAt: Date | null;
3298
+ }, {
3299
+ name: string;
3300
+ signedAt: Date | null;
3301
+ }>>;
3302
+ }, "strip", z.ZodTypeAny, {
3303
+ issuerApprovals: {
3304
+ name: string;
3305
+ signedAt: Date | null;
3306
+ }[];
3307
+ complianceApproval: {
3308
+ name: string;
3309
+ signedAt: Date | null;
3310
+ } | null;
3311
+ escrowApproval: {
3312
+ name: string;
3313
+ signedAt: Date | null;
3314
+ } | null;
3315
+ }, {
3316
+ issuerApprovals: {
3317
+ name: string;
3318
+ signedAt: Date | null;
3319
+ }[];
3320
+ complianceApproval: {
3321
+ name: string;
3322
+ signedAt: Date | null;
3323
+ } | null;
3324
+ escrowApproval: {
3325
+ name: string;
3326
+ signedAt: Date | null;
3327
+ } | null;
3328
+ }>;
3329
+ status: z.ZodNativeEnum<typeof DisbursementStatus>;
3330
+ rejection: z.ZodNullable<z.ZodObject<{
3331
+ declinedByName: z.ZodNullable<z.ZodString>;
3332
+ declinedByRole: z.ZodNullable<z.ZodString>;
3333
+ declinedAt: z.ZodNullable<z.ZodDate>;
3334
+ }, "strip", z.ZodTypeAny, {
3335
+ declinedByName: string | null;
3336
+ declinedByRole: string | null;
3337
+ declinedAt: Date | null;
3338
+ }, {
3339
+ declinedByName: string | null;
3340
+ declinedByRole: string | null;
3341
+ declinedAt: Date | null;
3342
+ }>>;
3343
+ }, "strip", z.ZodTypeAny, {
3344
+ status: DisbursementStatus;
3345
+ trades: {
3346
+ status: string;
3347
+ date: Date | null;
3348
+ totalAmount: number;
3349
+ investorName: string;
3350
+ numberOfShares: number;
3351
+ tradeNo: string;
3352
+ investmentName: string;
3353
+ }[];
3354
+ header: {
3355
+ currency: string;
3356
+ disbursementId: string;
3357
+ disbursementDate: Date | null;
3358
+ };
3359
+ generalInfo: {
3360
+ from: {
3361
+ id: string;
3362
+ createdAt: string | Date;
3363
+ updatedAt: string | Date;
3364
+ deletedAt: string | Date | null;
3365
+ accountId: string;
3366
+ accountName: string;
3367
+ agentEmail: string;
3368
+ agentName: string;
3369
+ __entity?: string | undefined;
3370
+ account?: {
3371
+ status: import("./common.types").AccountStatus;
3372
+ id: string;
3373
+ createdAt: string | Date;
3374
+ updatedAt: string | Date;
3375
+ deletedAt: string | Date | null;
3376
+ name: string;
3377
+ managedBy: import("./common.types").ManagedByType | null;
3378
+ platform: import("./common.types").Platform;
3379
+ onboardingReviewerId: string | null;
3380
+ onboardingReviewAt: Date | null;
3381
+ allowPendingComplianceReview: boolean;
3382
+ __entity?: string | undefined;
3383
+ } | null | undefined;
3384
+ accountNumber?: string | null | undefined;
3385
+ routingNumber?: string | null | undefined;
3386
+ company?: string | null | undefined;
3387
+ } | null;
3388
+ offeringId: string;
3389
+ issuerName: string;
3390
+ offeringName: string;
3391
+ to?: any;
3392
+ };
3393
+ financials: {
3394
+ refundPool: number;
3395
+ amountRequested: number;
3396
+ disbursementFee: number;
3397
+ brokerDealerCommission: number;
3398
+ amountToBeDisbursed: number;
3399
+ };
3400
+ approvals: {
3401
+ issuerApprovals: {
3402
+ name: string;
3403
+ signedAt: Date | null;
3404
+ }[];
3405
+ complianceApproval: {
3406
+ name: string;
3407
+ signedAt: Date | null;
3408
+ } | null;
3409
+ escrowApproval: {
3410
+ name: string;
3411
+ signedAt: Date | null;
3412
+ } | null;
3413
+ };
3414
+ rejection: {
3415
+ declinedByName: string | null;
3416
+ declinedByRole: string | null;
3417
+ declinedAt: Date | null;
3418
+ } | null;
3419
+ }, {
3420
+ status: DisbursementStatus;
3421
+ trades: {
3422
+ status: string;
3423
+ date: Date | null;
3424
+ totalAmount: number;
3425
+ investorName: string;
3426
+ numberOfShares: number;
3427
+ tradeNo: string;
3428
+ investmentName: string;
3429
+ }[];
3430
+ header: {
3431
+ disbursementId: string;
3432
+ disbursementDate: Date | null;
3433
+ currency?: string | undefined;
3434
+ };
3435
+ generalInfo: {
3436
+ from: {
3437
+ id: string;
3438
+ createdAt: string | Date;
3439
+ updatedAt: string | Date;
3440
+ deletedAt: string | Date | null;
3441
+ accountId: string;
3442
+ accountName: string;
3443
+ agentEmail: string;
3444
+ agentName: string;
3445
+ __entity?: string | undefined;
3446
+ account?: {
3447
+ status: import("./common.types").AccountStatus;
3448
+ id: string;
3449
+ createdAt: string | Date;
3450
+ updatedAt: string | Date;
3451
+ deletedAt: string | Date | null;
3452
+ name: string;
3453
+ managedBy: import("./common.types").ManagedByType | null;
3454
+ platform: import("./common.types").Platform;
3455
+ onboardingReviewerId: string | null;
3456
+ onboardingReviewAt: Date | null;
3457
+ allowPendingComplianceReview: boolean;
3458
+ __entity?: string | undefined;
3459
+ } | null | undefined;
3460
+ accountNumber?: string | null | undefined;
3461
+ routingNumber?: string | null | undefined;
3462
+ company?: string | null | undefined;
3463
+ } | null;
3464
+ offeringId: string;
3465
+ issuerName: string;
3466
+ offeringName: string;
3467
+ to?: any;
3468
+ };
3469
+ financials: {
3470
+ refundPool: number;
3471
+ amountRequested: number;
3472
+ disbursementFee: number;
3473
+ brokerDealerCommission: number;
3474
+ amountToBeDisbursed: number;
3475
+ };
3476
+ approvals: {
3477
+ issuerApprovals: {
3478
+ name: string;
3479
+ signedAt: Date | null;
3480
+ }[];
3481
+ complianceApproval: {
3482
+ name: string;
3483
+ signedAt: Date | null;
3484
+ } | null;
3485
+ escrowApproval: {
3486
+ name: string;
3487
+ signedAt: Date | null;
3488
+ } | null;
3489
+ };
3490
+ rejection: {
3491
+ declinedByName: string | null;
3492
+ declinedByRole: string | null;
3493
+ declinedAt: Date | null;
3494
+ } | null;
3495
+ }>;
3496
+ export type DisbursementDetailsTabZod = z.infer<typeof DisbursementDetailsTabZod>;