@dalmore/api-contracts 0.0.0-dev.d38f1ff → 0.0.0-dev.d4be84e

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 (95) hide show
  1. package/common/constants.d.ts +28 -0
  2. package/common/constants.js +62 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +8 -0
  5. package/common/helpers/index.js +15 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +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 +1 -0
  12. package/common/types/account.types.js.map +1 -1
  13. package/common/types/activity.types.d.ts +8 -1
  14. package/common/types/activity.types.js +7 -0
  15. package/common/types/activity.types.js.map +1 -1
  16. package/common/types/auth.types.d.ts +36 -0
  17. package/common/types/auth.types.js +3 -2
  18. package/common/types/auth.types.js.map +1 -1
  19. package/common/types/cap-table.types.d.ts +177 -53
  20. package/common/types/cap-table.types.js +31 -0
  21. package/common/types/cap-table.types.js.map +1 -1
  22. package/common/types/common.types.d.ts +334 -4
  23. package/common/types/common.types.js +55 -1
  24. package/common/types/common.types.js.map +1 -1
  25. package/common/types/csv.types.d.ts +1730 -0
  26. package/common/types/csv.types.js +178 -0
  27. package/common/types/csv.types.js.map +1 -0
  28. package/common/types/disbursement-transaction.types.d.ts +1 -1
  29. package/common/types/disbursement-transaction.types.js +1 -1
  30. package/common/types/disbursement-transaction.types.js.map +1 -1
  31. package/common/types/disbursements.types.d.ts +939 -7
  32. package/common/types/disbursements.types.js +92 -2
  33. package/common/types/disbursements.types.js.map +1 -1
  34. package/common/types/exchange-provider.types.d.ts +12 -12
  35. package/common/types/file.types.d.ts +24 -0
  36. package/common/types/file.types.js +12 -0
  37. package/common/types/file.types.js.map +1 -1
  38. package/common/types/index.d.ts +3 -0
  39. package/common/types/index.js +3 -0
  40. package/common/types/index.js.map +1 -1
  41. package/common/types/individuals.types.d.ts +207 -5
  42. package/common/types/individuals.types.js +11 -14
  43. package/common/types/individuals.types.js.map +1 -1
  44. package/common/types/investor-account.types.d.ts +1 -1
  45. package/common/types/investor-account.types.js +1 -2
  46. package/common/types/investor-account.types.js.map +1 -1
  47. package/common/types/investors-offering.types.d.ts +8 -0
  48. package/common/types/investors-offering.types.js +1 -0
  49. package/common/types/investors-offering.types.js.map +1 -1
  50. package/common/types/invite.types.d.ts +2 -2
  51. package/common/types/invite.types.js +1 -1
  52. package/common/types/invite.types.js.map +1 -1
  53. package/common/types/issuer-offering.types.d.ts +183 -12
  54. package/common/types/issuer-offering.types.js +204 -36
  55. package/common/types/issuer-offering.types.js.map +1 -1
  56. package/common/types/legal-entity.types.d.ts +39 -1
  57. package/common/types/legal-entity.types.js +8 -5
  58. package/common/types/legal-entity.types.js.map +1 -1
  59. package/common/types/offering-submission.types.d.ts +198 -0
  60. package/common/types/offering-submission.types.js +14 -1
  61. package/common/types/offering-submission.types.js.map +1 -1
  62. package/common/types/offering.types.d.ts +269 -25
  63. package/common/types/offering.types.js +247 -22
  64. package/common/types/offering.types.js.map +1 -1
  65. package/common/types/portfolio.types.d.ts +6 -6
  66. package/common/types/review.types.js +1 -1
  67. package/common/types/review.types.js.map +1 -1
  68. package/common/types/secondary-order.types.d.ts +10 -10
  69. package/common/types/secondary-trade.types.d.ts +10 -10
  70. package/common/types/site.types.d.ts +12 -12
  71. package/common/types/trade-line-item.types.d.ts +24 -0
  72. package/common/types/trade-line-item.types.js +3 -0
  73. package/common/types/trade-line-item.types.js.map +1 -1
  74. package/common/types/trade.types.d.ts +10 -0
  75. package/common/types/trade.types.js +17 -1
  76. package/common/types/trade.types.js.map +1 -1
  77. package/common/types/transaction.types.d.ts +0 -1
  78. package/common/types/transaction.types.js +0 -1
  79. package/common/types/transaction.types.js.map +1 -1
  80. package/common/types/user.types.d.ts +76 -82
  81. package/common/types/user.types.js +3 -23
  82. package/common/types/user.types.js.map +1 -1
  83. package/contracts/clients/csv/index.d.ts +1733 -0
  84. package/contracts/clients/csv/index.js +79 -0
  85. package/contracts/clients/csv/index.js.map +1 -0
  86. package/contracts/clients/index.d.ts +1913 -11
  87. package/contracts/clients/index.js +4 -0
  88. package/contracts/clients/index.js.map +1 -1
  89. package/contracts/clients/individuals/index.d.ts +5 -5
  90. package/contracts/clients/legal-entities/index.d.ts +1 -1
  91. package/contracts/clients/offerings/index.d.ts +90 -5
  92. package/contracts/clients/review/index.d.ts +85 -0
  93. package/contracts/clients/review/index.js +27 -0
  94. package/contracts/clients/review/index.js.map +1 -0
  95. package/package.json +1 -1
@@ -1,12 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
3
3
  import { AssetTemplateType } from './asset.types';
4
- export declare enum OfferingStatus {
5
- ONBOARDING = "ONBOARDING",
6
- IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
7
- ACTIVE = "ACTIVE",
8
- PAUSED = "PAUSED"
9
- }
4
+ import { PostComplianceOffering } from './offering.types';
10
5
  export declare const IIssuerOffering: z.ZodObject<{
11
6
  id: z.ZodString;
12
7
  __entity: z.ZodOptional<z.ZodString>;
@@ -330,6 +325,16 @@ export declare const IIssuerOffering: z.ZodObject<{
330
325
  routingNumber?: string | null | undefined;
331
326
  company?: string | null | undefined;
332
327
  }>>>>;
328
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
329
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
331
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
333
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
334
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ soldOut: z.ZodOptional<z.ZodBoolean>;
333
338
  }, "strip", z.ZodTypeAny, {
334
339
  type: OfferingType | null;
335
340
  id: string;
@@ -406,6 +411,7 @@ export declare const IIssuerOffering: z.ZodObject<{
406
411
  allowPendingComplianceReview: boolean;
407
412
  __entity?: string | undefined;
408
413
  } | null | undefined;
414
+ soldOut?: boolean | undefined;
409
415
  issuer?: any;
410
416
  coverArtId?: string | null | undefined;
411
417
  coverArt?: any;
@@ -445,6 +451,15 @@ export declare const IIssuerOffering: z.ZodObject<{
445
451
  routingNumber?: string | null | undefined;
446
452
  company?: string | null | undefined;
447
453
  } | null | undefined;
454
+ warrantsEnabled?: boolean | undefined;
455
+ totalShares?: number | null | undefined;
456
+ warrantTermYears?: number | null | undefined;
457
+ exercisePrice?: number | null | undefined;
458
+ warrantPercentage?: number | null | undefined;
459
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
460
+ incrementThreshold?: number | null | undefined;
461
+ fullyDilutedShares?: number | null | undefined;
462
+ shareClassId?: string | null | undefined;
448
463
  }, {
449
464
  type: OfferingType | null;
450
465
  id: string;
@@ -521,6 +536,7 @@ export declare const IIssuerOffering: z.ZodObject<{
521
536
  allowPendingComplianceReview: boolean;
522
537
  __entity?: string | undefined;
523
538
  } | null | undefined;
539
+ soldOut?: boolean | undefined;
524
540
  issuer?: any;
525
541
  coverArtId?: string | null | undefined;
526
542
  coverArt?: any;
@@ -560,6 +576,15 @@ export declare const IIssuerOffering: z.ZodObject<{
560
576
  routingNumber?: string | null | undefined;
561
577
  company?: string | null | undefined;
562
578
  } | null | undefined;
579
+ warrantsEnabled?: boolean | undefined;
580
+ totalShares?: number | null | undefined;
581
+ warrantTermYears?: number | null | undefined;
582
+ exercisePrice?: number | null | undefined;
583
+ warrantPercentage?: number | null | undefined;
584
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
585
+ incrementThreshold?: number | null | undefined;
586
+ fullyDilutedShares?: number | null | undefined;
587
+ shareClassId?: string | null | undefined;
563
588
  }>;
564
589
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
565
590
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -886,6 +911,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
886
911
  routingNumber?: string | null | undefined;
887
912
  company?: string | null | undefined;
888
913
  }>>>>;
914
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
915
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
916
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
917
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
918
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
919
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
920
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
921
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
922
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
923
+ soldOut: z.ZodOptional<z.ZodBoolean>;
889
924
  }, "strip", z.ZodTypeAny, {
890
925
  type: OfferingType | null;
891
926
  id: string;
@@ -962,6 +997,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
962
997
  allowPendingComplianceReview: boolean;
963
998
  __entity?: string | undefined;
964
999
  } | null | undefined;
1000
+ soldOut?: boolean | undefined;
965
1001
  issuer?: any;
966
1002
  coverArtId?: string | null | undefined;
967
1003
  coverArt?: any;
@@ -1001,6 +1037,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1001
1037
  routingNumber?: string | null | undefined;
1002
1038
  company?: string | null | undefined;
1003
1039
  } | null | undefined;
1040
+ warrantsEnabled?: boolean | undefined;
1041
+ totalShares?: number | null | undefined;
1042
+ warrantTermYears?: number | null | undefined;
1043
+ exercisePrice?: number | null | undefined;
1044
+ warrantPercentage?: number | null | undefined;
1045
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1046
+ incrementThreshold?: number | null | undefined;
1047
+ fullyDilutedShares?: number | null | undefined;
1048
+ shareClassId?: string | null | undefined;
1004
1049
  }, {
1005
1050
  type: OfferingType | null;
1006
1051
  id: string;
@@ -1077,6 +1122,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1077
1122
  allowPendingComplianceReview: boolean;
1078
1123
  __entity?: string | undefined;
1079
1124
  } | null | undefined;
1125
+ soldOut?: boolean | undefined;
1080
1126
  issuer?: any;
1081
1127
  coverArtId?: string | null | undefined;
1082
1128
  coverArt?: any;
@@ -1116,6 +1162,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1116
1162
  routingNumber?: string | null | undefined;
1117
1163
  company?: string | null | undefined;
1118
1164
  } | null | undefined;
1165
+ warrantsEnabled?: boolean | undefined;
1166
+ totalShares?: number | null | undefined;
1167
+ warrantTermYears?: number | null | undefined;
1168
+ exercisePrice?: number | null | undefined;
1169
+ warrantPercentage?: number | null | undefined;
1170
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1171
+ incrementThreshold?: number | null | undefined;
1172
+ fullyDilutedShares?: number | null | undefined;
1173
+ shareClassId?: string | null | undefined;
1119
1174
  }>, "many">;
1120
1175
  meta: z.ZodObject<{
1121
1176
  itemCount: z.ZodNumber;
@@ -1213,6 +1268,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1213
1268
  allowPendingComplianceReview: boolean;
1214
1269
  __entity?: string | undefined;
1215
1270
  } | null | undefined;
1271
+ soldOut?: boolean | undefined;
1216
1272
  issuer?: any;
1217
1273
  coverArtId?: string | null | undefined;
1218
1274
  coverArt?: any;
@@ -1252,6 +1308,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1252
1308
  routingNumber?: string | null | undefined;
1253
1309
  company?: string | null | undefined;
1254
1310
  } | null | undefined;
1311
+ warrantsEnabled?: boolean | undefined;
1312
+ totalShares?: number | null | undefined;
1313
+ warrantTermYears?: number | null | undefined;
1314
+ exercisePrice?: number | null | undefined;
1315
+ warrantPercentage?: number | null | undefined;
1316
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1317
+ incrementThreshold?: number | null | undefined;
1318
+ fullyDilutedShares?: number | null | undefined;
1319
+ shareClassId?: string | null | undefined;
1255
1320
  }[];
1256
1321
  meta: {
1257
1322
  itemCount: number;
@@ -1337,6 +1402,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1337
1402
  allowPendingComplianceReview: boolean;
1338
1403
  __entity?: string | undefined;
1339
1404
  } | null | undefined;
1405
+ soldOut?: boolean | undefined;
1340
1406
  issuer?: any;
1341
1407
  coverArtId?: string | null | undefined;
1342
1408
  coverArt?: any;
@@ -1376,6 +1442,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1376
1442
  routingNumber?: string | null | undefined;
1377
1443
  company?: string | null | undefined;
1378
1444
  } | null | undefined;
1445
+ warrantsEnabled?: boolean | undefined;
1446
+ totalShares?: number | null | undefined;
1447
+ warrantTermYears?: number | null | undefined;
1448
+ exercisePrice?: number | null | undefined;
1449
+ warrantPercentage?: number | null | undefined;
1450
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1451
+ incrementThreshold?: number | null | undefined;
1452
+ fullyDilutedShares?: number | null | undefined;
1453
+ shareClassId?: string | null | undefined;
1379
1454
  }[];
1380
1455
  meta: {
1381
1456
  itemCount: number;
@@ -1386,8 +1461,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1386
1461
  };
1387
1462
  }>;
1388
1463
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1464
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1389
1465
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1390
1466
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1467
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1391
1468
  name: z.ZodString;
1392
1469
  type: z.ZodNativeEnum<typeof OfferingType>;
1393
1470
  targetAmount: z.ZodNumber;
@@ -1399,7 +1476,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1399
1476
  endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1400
1477
  active: z.ZodOptional<z.ZodBoolean>;
1401
1478
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1402
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1479
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
1403
1480
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1404
1481
  assetName: z.ZodString;
1405
1482
  assetType: z.ZodNativeEnum<typeof AssetType>;
@@ -1451,12 +1528,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1451
1528
  startAmount: number;
1452
1529
  endAmount: number;
1453
1530
  }>, "many">>;
1531
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1532
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1533
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1534
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1535
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1536
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1537
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1538
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1454
1539
  }, "strip", z.ZodTypeAny, {
1455
1540
  type: OfferingType;
1456
1541
  name: string;
1457
1542
  template: AssetTemplateType;
1458
1543
  targetAmount: number;
1459
1544
  issuerId: string;
1545
+ warrantsEnabled: boolean;
1460
1546
  assetName: string;
1461
1547
  assetType: AssetType;
1462
1548
  pricePerUnit: number | null;
@@ -1471,9 +1557,17 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1471
1557
  startAt?: Date | null | undefined;
1472
1558
  endAt?: Date | null | undefined;
1473
1559
  cancellationPeriod?: number | null | undefined;
1560
+ showTotalRaised?: boolean | undefined;
1474
1561
  hasEscrow?: boolean | undefined;
1475
1562
  bankAccountId?: string | null | undefined;
1476
1563
  escrowAccountId?: string | null | undefined;
1564
+ totalShares?: number | null | undefined;
1565
+ warrantTermYears?: number | null | undefined;
1566
+ exercisePrice?: number | null | undefined;
1567
+ warrantPercentage?: number | null | undefined;
1568
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1569
+ incrementThreshold?: number | null | undefined;
1570
+ shareClassId?: string | null | undefined;
1477
1571
  yield?: number | null | undefined;
1478
1572
  duration?: number | null | undefined;
1479
1573
  durationType?: DurationType | null | undefined;
@@ -1506,9 +1600,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1506
1600
  startAt?: string | null | undefined;
1507
1601
  endAt?: string | null | undefined;
1508
1602
  cancellationPeriod?: number | null | undefined;
1603
+ showTotalRaised?: boolean | undefined;
1509
1604
  hasEscrow?: boolean | undefined;
1510
1605
  bankAccountId?: string | null | undefined;
1511
1606
  escrowAccountId?: string | null | undefined;
1607
+ warrantsEnabled?: boolean | undefined;
1608
+ totalShares?: number | null | undefined;
1609
+ warrantTermYears?: number | null | undefined;
1610
+ exercisePrice?: number | null | undefined;
1611
+ warrantPercentage?: number | null | undefined;
1612
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1613
+ incrementThreshold?: number | null | undefined;
1614
+ shareClassId?: string | null | undefined;
1512
1615
  yield?: number | null | undefined;
1513
1616
  duration?: number | null | undefined;
1514
1617
  durationType?: DurationType | null | undefined;
@@ -1527,6 +1630,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1527
1630
  template: AssetTemplateType;
1528
1631
  targetAmount: number;
1529
1632
  issuerId: string;
1633
+ warrantsEnabled: boolean;
1530
1634
  assetName: string;
1531
1635
  assetType: AssetType;
1532
1636
  pricePerUnit: number | null;
@@ -1541,9 +1645,17 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1541
1645
  startAt?: Date | null | undefined;
1542
1646
  endAt?: Date | null | undefined;
1543
1647
  cancellationPeriod?: number | null | undefined;
1648
+ showTotalRaised?: boolean | undefined;
1544
1649
  hasEscrow?: boolean | undefined;
1545
1650
  bankAccountId?: string | null | undefined;
1546
1651
  escrowAccountId?: string | null | undefined;
1652
+ totalShares?: number | null | undefined;
1653
+ warrantTermYears?: number | null | undefined;
1654
+ exercisePrice?: number | null | undefined;
1655
+ warrantPercentage?: number | null | undefined;
1656
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1657
+ incrementThreshold?: number | null | undefined;
1658
+ shareClassId?: string | null | undefined;
1547
1659
  yield?: number | null | undefined;
1548
1660
  duration?: number | null | undefined;
1549
1661
  durationType?: DurationType | null | undefined;
@@ -1576,9 +1688,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1576
1688
  startAt?: string | null | undefined;
1577
1689
  endAt?: string | null | undefined;
1578
1690
  cancellationPeriod?: number | null | undefined;
1691
+ showTotalRaised?: boolean | undefined;
1579
1692
  hasEscrow?: boolean | undefined;
1580
1693
  bankAccountId?: string | null | undefined;
1581
1694
  escrowAccountId?: string | null | undefined;
1695
+ warrantsEnabled?: boolean | undefined;
1696
+ totalShares?: number | null | undefined;
1697
+ warrantTermYears?: number | null | undefined;
1698
+ exercisePrice?: number | null | undefined;
1699
+ warrantPercentage?: number | null | undefined;
1700
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1701
+ incrementThreshold?: number | null | undefined;
1702
+ shareClassId?: string | null | undefined;
1582
1703
  yield?: number | null | undefined;
1583
1704
  duration?: number | null | undefined;
1584
1705
  durationType?: DurationType | null | undefined;
@@ -1594,6 +1715,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1594
1715
  }>;
1595
1716
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1596
1717
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1718
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1597
1719
  name: z.ZodOptional<z.ZodString>;
1598
1720
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1599
1721
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1603,7 +1725,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1603
1725
  startAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1604
1726
  endAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1605
1727
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1606
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1728
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
1607
1729
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1608
1730
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1609
1731
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
@@ -1661,6 +1783,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1661
1783
  startAmount: number;
1662
1784
  endAmount: number;
1663
1785
  }>, "many">>;
1786
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1787
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1788
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1789
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1790
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1791
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1792
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1664
1793
  }, "strip", z.ZodTypeAny, {
1665
1794
  type?: OfferingType | undefined;
1666
1795
  name?: string | undefined;
@@ -1683,6 +1812,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1683
1812
  escrowAgreementFileId?: string | null | undefined;
1684
1813
  bankAccountId?: string | null | undefined;
1685
1814
  escrowAccountId?: string | null | undefined;
1815
+ warrantsEnabled?: boolean | undefined;
1816
+ totalShares?: number | null | undefined;
1817
+ warrantTermYears?: number | null | undefined;
1818
+ exercisePrice?: number | null | undefined;
1819
+ warrantPercentage?: number | null | undefined;
1820
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1821
+ incrementThreshold?: number | null | undefined;
1822
+ shareClassId?: string | null | undefined;
1686
1823
  assetName?: string | undefined;
1687
1824
  assetType?: AssetType | undefined;
1688
1825
  pricePerUnit?: number | null | undefined;
@@ -1721,6 +1858,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1721
1858
  escrowAgreementFileId?: string | null | undefined;
1722
1859
  bankAccountId?: string | null | undefined;
1723
1860
  escrowAccountId?: string | null | undefined;
1861
+ warrantsEnabled?: boolean | undefined;
1862
+ totalShares?: number | null | undefined;
1863
+ warrantTermYears?: number | null | undefined;
1864
+ exercisePrice?: number | null | undefined;
1865
+ warrantPercentage?: number | null | undefined;
1866
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1867
+ incrementThreshold?: number | null | undefined;
1868
+ shareClassId?: string | null | undefined;
1724
1869
  assetName?: string | undefined;
1725
1870
  assetType?: AssetType | undefined;
1726
1871
  pricePerUnit?: number | null | undefined;
@@ -1759,6 +1904,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1759
1904
  escrowAgreementFileId?: string | null | undefined;
1760
1905
  bankAccountId?: string | null | undefined;
1761
1906
  escrowAccountId?: string | null | undefined;
1907
+ warrantsEnabled?: boolean | undefined;
1908
+ totalShares?: number | null | undefined;
1909
+ warrantTermYears?: number | null | undefined;
1910
+ exercisePrice?: number | null | undefined;
1911
+ warrantPercentage?: number | null | undefined;
1912
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1913
+ incrementThreshold?: number | null | undefined;
1914
+ shareClassId?: string | null | undefined;
1762
1915
  assetName?: string | undefined;
1763
1916
  assetType?: AssetType | undefined;
1764
1917
  pricePerUnit?: number | null | undefined;
@@ -1797,6 +1950,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1797
1950
  escrowAgreementFileId?: string | null | undefined;
1798
1951
  bankAccountId?: string | null | undefined;
1799
1952
  escrowAccountId?: string | null | undefined;
1953
+ warrantsEnabled?: boolean | undefined;
1954
+ totalShares?: number | null | undefined;
1955
+ warrantTermYears?: number | null | undefined;
1956
+ exercisePrice?: number | null | undefined;
1957
+ warrantPercentage?: number | null | undefined;
1958
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1959
+ incrementThreshold?: number | null | undefined;
1960
+ shareClassId?: string | null | undefined;
1800
1961
  assetName?: string | undefined;
1801
1962
  assetType?: AssetType | undefined;
1802
1963
  pricePerUnit?: number | null | undefined;
@@ -1868,10 +2029,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1868
2029
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1869
2030
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1870
2031
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2032
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1871
2033
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1872
2034
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1873
2035
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1874
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1875
2036
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1876
2037
  }, "strip", z.ZodTypeAny, {
1877
2038
  sortByNameASC: boolean;
@@ -1880,23 +2041,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1880
2041
  accountId?: string | undefined;
1881
2042
  name?: string | undefined;
1882
2043
  managedBy?: ManagedByType | undefined;
2044
+ complianceReview?: ComplianceReview | undefined;
1883
2045
  enabled?: boolean | undefined;
1884
2046
  issuerId?: string | undefined;
1885
2047
  issuerName?: string | undefined;
1886
2048
  versioningType?: OfferingVersioningType | undefined;
1887
- combinedStatus?: OfferingStatus | undefined;
1888
2049
  }, {
1889
2050
  type?: OfferingType | undefined;
1890
2051
  status?: ComplianceReview | undefined;
1891
2052
  accountId?: string | undefined;
1892
2053
  name?: string | undefined;
1893
2054
  managedBy?: ManagedByType | undefined;
2055
+ complianceReview?: ComplianceReview | undefined;
1894
2056
  enabled?: unknown;
1895
2057
  issuerId?: string | undefined;
1896
2058
  issuerName?: string | undefined;
1897
2059
  versioningType?: OfferingVersioningType | undefined;
1898
- combinedStatus?: OfferingStatus | undefined;
1899
2060
  sortByNameASC?: unknown;
1900
2061
  }>;
1901
2062
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1902
2063
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2064
+ /**
2065
+ * Adds validation issues to the context if warrant-related fields are missing
2066
+ * when warrants are enabled on an offering. This function checks required fields for
2067
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2068
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2069
+ *
2070
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2071
+ * @param ctx - The Zod refinement context to which validation issues will be added
2072
+ */
2073
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;