@dalmore/api-contracts 0.0.0-dev.a341696 → 0.0.0-dev.a891c15

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 (63) hide show
  1. package/common/types/account-setting.types.d.ts +22 -66
  2. package/common/types/account-setting.types.js +2 -31
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +32 -23
  5. package/common/types/account.types.js +1 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +8 -1
  8. package/common/types/activity.types.js +7 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/asset.types.d.ts +25 -111
  11. package/common/types/asset.types.js +24 -100
  12. package/common/types/asset.types.js.map +1 -1
  13. package/common/types/bonus-tier.types.d.ts +0 -30
  14. package/common/types/cap-table.types.d.ts +69 -54
  15. package/common/types/cap-table.types.js +17 -0
  16. package/common/types/cap-table.types.js.map +1 -1
  17. package/common/types/common.types.d.ts +332 -3
  18. package/common/types/common.types.js +54 -1
  19. package/common/types/common.types.js.map +1 -1
  20. package/common/types/disbursement-transaction.types.d.ts +1 -1
  21. package/common/types/disbursement-transaction.types.js +1 -1
  22. package/common/types/disbursement-transaction.types.js.map +1 -1
  23. package/common/types/disbursements.types.d.ts +817 -0
  24. package/common/types/disbursements.types.js +63 -0
  25. package/common/types/disbursements.types.js.map +1 -1
  26. package/common/types/exchange-provider.types.d.ts +12 -12
  27. package/common/types/file.types.d.ts +21 -0
  28. package/common/types/file.types.js +9 -0
  29. package/common/types/file.types.js.map +1 -1
  30. package/common/types/index.d.ts +3 -0
  31. package/common/types/index.js +3 -0
  32. package/common/types/index.js.map +1 -1
  33. package/common/types/investor-account.types.d.ts +1 -1
  34. package/common/types/investor-account.types.js +1 -2
  35. package/common/types/investor-account.types.js.map +1 -1
  36. package/common/types/issuer-offering.types.d.ts +169 -77
  37. package/common/types/issuer-offering.types.js +162 -45
  38. package/common/types/issuer-offering.types.js.map +1 -1
  39. package/common/types/offering-submission.types.d.ts +198 -0
  40. package/common/types/offering-submission.types.js +16 -3
  41. package/common/types/offering-submission.types.js.map +1 -1
  42. package/common/types/offering.types.d.ts +255 -60
  43. package/common/types/offering.types.js +195 -53
  44. package/common/types/offering.types.js.map +1 -1
  45. package/common/types/portfolio.types.d.ts +6 -6
  46. package/common/types/reports.types.d.ts +345 -0
  47. package/common/types/reports.types.js +69 -0
  48. package/common/types/reports.types.js.map +1 -0
  49. package/common/types/secondary-order.types.d.ts +10 -10
  50. package/common/types/secondary-trade.types.d.ts +10 -10
  51. package/common/types/site.types.d.ts +12 -27
  52. package/common/types/trade.types.js +1 -0
  53. package/common/types/trade.types.js.map +1 -1
  54. package/common/types/transaction.types.d.ts +0 -1
  55. package/common/types/transaction.types.js +0 -1
  56. package/common/types/transaction.types.js.map +1 -1
  57. package/common/types/user.types.d.ts +191 -59
  58. package/common/types/user.types.js +9 -1
  59. package/common/types/user.types.js.map +1 -1
  60. package/contracts/clients/assets/index.d.ts +0 -66
  61. package/contracts/clients/index.d.ts +83 -99
  62. package/contracts/clients/offerings/index.d.ts +83 -33
  63. 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';
3
- import { AssetTemplateType, InterestType } 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
- }
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
3
+ import { AssetTemplateType } from './asset.types';
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>;
@@ -134,10 +129,7 @@ export declare const IIssuerOffering: z.ZodObject<{
134
129
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
135
130
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
136
131
  enableBonus: z.ZodBoolean;
137
- principalAmount: z.ZodNullable<z.ZodNumber>;
138
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
139
132
  interestRate: z.ZodNullable<z.ZodNumber>;
140
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
141
133
  }, "strip", z.ZodTypeAny, {
142
134
  type: AssetType | null;
143
135
  id: string;
@@ -156,10 +148,7 @@ export declare const IIssuerOffering: z.ZodObject<{
156
148
  durationType: DurationType | null;
157
149
  tiers: number[] | null;
158
150
  enableBonus: boolean;
159
- principalAmount: number | null;
160
- maxTotalRaise: number | null;
161
151
  interestRate: number | null;
162
- interestType: InterestType | null;
163
152
  __entity?: string | undefined;
164
153
  account?: {
165
154
  status: import("./common.types").AccountStatus;
@@ -194,10 +183,7 @@ export declare const IIssuerOffering: z.ZodObject<{
194
183
  durationType: DurationType | null;
195
184
  tiers: number[] | null;
196
185
  enableBonus: boolean;
197
- principalAmount: number | null;
198
- maxTotalRaise: number | null;
199
186
  interestRate: number | null;
200
- interestType: InterestType | null;
201
187
  __entity?: string | undefined;
202
188
  account?: {
203
189
  status: import("./common.types").AccountStatus;
@@ -339,6 +325,15 @@ export declare const IIssuerOffering: z.ZodObject<{
339
325
  routingNumber?: string | null | undefined;
340
326
  company?: string | null | undefined;
341
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>>;
342
337
  }, "strip", z.ZodTypeAny, {
343
338
  type: OfferingType | null;
344
339
  id: string;
@@ -383,10 +378,7 @@ export declare const IIssuerOffering: z.ZodObject<{
383
378
  durationType: DurationType | null;
384
379
  tiers: number[] | null;
385
380
  enableBonus: boolean;
386
- principalAmount: number | null;
387
- maxTotalRaise: number | null;
388
381
  interestRate: number | null;
389
- interestType: InterestType | null;
390
382
  __entity?: string | undefined;
391
383
  account?: {
392
384
  status: import("./common.types").AccountStatus;
@@ -457,6 +449,15 @@ export declare const IIssuerOffering: z.ZodObject<{
457
449
  routingNumber?: string | null | undefined;
458
450
  company?: string | null | undefined;
459
451
  } | null | undefined;
452
+ warrantsEnabled?: boolean | undefined;
453
+ totalShares?: number | null | undefined;
454
+ warrantTermYears?: number | null | undefined;
455
+ exercisePrice?: number | null | undefined;
456
+ warrantPercentage?: number | null | undefined;
457
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
458
+ incrementThreshold?: number | null | undefined;
459
+ fullyDilutedShares?: number | null | undefined;
460
+ shareClassId?: string | null | undefined;
460
461
  }, {
461
462
  type: OfferingType | null;
462
463
  id: string;
@@ -501,10 +502,7 @@ export declare const IIssuerOffering: z.ZodObject<{
501
502
  durationType: DurationType | null;
502
503
  tiers: number[] | null;
503
504
  enableBonus: boolean;
504
- principalAmount: number | null;
505
- maxTotalRaise: number | null;
506
505
  interestRate: number | null;
507
- interestType: InterestType | null;
508
506
  __entity?: string | undefined;
509
507
  account?: {
510
508
  status: import("./common.types").AccountStatus;
@@ -575,6 +573,15 @@ export declare const IIssuerOffering: z.ZodObject<{
575
573
  routingNumber?: string | null | undefined;
576
574
  company?: string | null | undefined;
577
575
  } | null | undefined;
576
+ warrantsEnabled?: boolean | undefined;
577
+ totalShares?: number | null | undefined;
578
+ warrantTermYears?: number | null | undefined;
579
+ exercisePrice?: number | null | undefined;
580
+ warrantPercentage?: number | null | undefined;
581
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
582
+ incrementThreshold?: number | null | undefined;
583
+ fullyDilutedShares?: number | null | undefined;
584
+ shareClassId?: string | null | undefined;
578
585
  }>;
579
586
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
580
587
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -705,10 +712,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
705
712
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
706
713
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
707
714
  enableBonus: z.ZodBoolean;
708
- principalAmount: z.ZodNullable<z.ZodNumber>;
709
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
710
715
  interestRate: z.ZodNullable<z.ZodNumber>;
711
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
712
716
  }, "strip", z.ZodTypeAny, {
713
717
  type: AssetType | null;
714
718
  id: string;
@@ -727,10 +731,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
727
731
  durationType: DurationType | null;
728
732
  tiers: number[] | null;
729
733
  enableBonus: boolean;
730
- principalAmount: number | null;
731
- maxTotalRaise: number | null;
732
734
  interestRate: number | null;
733
- interestType: InterestType | null;
734
735
  __entity?: string | undefined;
735
736
  account?: {
736
737
  status: import("./common.types").AccountStatus;
@@ -765,10 +766,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
765
766
  durationType: DurationType | null;
766
767
  tiers: number[] | null;
767
768
  enableBonus: boolean;
768
- principalAmount: number | null;
769
- maxTotalRaise: number | null;
770
769
  interestRate: number | null;
771
- interestType: InterestType | null;
772
770
  __entity?: string | undefined;
773
771
  account?: {
774
772
  status: import("./common.types").AccountStatus;
@@ -910,6 +908,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
910
908
  routingNumber?: string | null | undefined;
911
909
  company?: string | null | undefined;
912
910
  }>>>>;
911
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
912
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
913
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
914
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
915
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
916
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
917
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
918
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
919
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
913
920
  }, "strip", z.ZodTypeAny, {
914
921
  type: OfferingType | null;
915
922
  id: string;
@@ -954,10 +961,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
954
961
  durationType: DurationType | null;
955
962
  tiers: number[] | null;
956
963
  enableBonus: boolean;
957
- principalAmount: number | null;
958
- maxTotalRaise: number | null;
959
964
  interestRate: number | null;
960
- interestType: InterestType | null;
961
965
  __entity?: string | undefined;
962
966
  account?: {
963
967
  status: import("./common.types").AccountStatus;
@@ -1028,6 +1032,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1028
1032
  routingNumber?: string | null | undefined;
1029
1033
  company?: string | null | undefined;
1030
1034
  } | null | undefined;
1035
+ warrantsEnabled?: boolean | undefined;
1036
+ totalShares?: number | null | undefined;
1037
+ warrantTermYears?: number | null | undefined;
1038
+ exercisePrice?: number | null | undefined;
1039
+ warrantPercentage?: number | null | undefined;
1040
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1041
+ incrementThreshold?: number | null | undefined;
1042
+ fullyDilutedShares?: number | null | undefined;
1043
+ shareClassId?: string | null | undefined;
1031
1044
  }, {
1032
1045
  type: OfferingType | null;
1033
1046
  id: string;
@@ -1072,10 +1085,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1072
1085
  durationType: DurationType | null;
1073
1086
  tiers: number[] | null;
1074
1087
  enableBonus: boolean;
1075
- principalAmount: number | null;
1076
- maxTotalRaise: number | null;
1077
1088
  interestRate: number | null;
1078
- interestType: InterestType | null;
1079
1089
  __entity?: string | undefined;
1080
1090
  account?: {
1081
1091
  status: import("./common.types").AccountStatus;
@@ -1146,6 +1156,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1146
1156
  routingNumber?: string | null | undefined;
1147
1157
  company?: string | null | undefined;
1148
1158
  } | null | undefined;
1159
+ warrantsEnabled?: boolean | undefined;
1160
+ totalShares?: number | null | undefined;
1161
+ warrantTermYears?: number | null | undefined;
1162
+ exercisePrice?: number | null | undefined;
1163
+ warrantPercentage?: number | null | undefined;
1164
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1165
+ incrementThreshold?: number | null | undefined;
1166
+ fullyDilutedShares?: number | null | undefined;
1167
+ shareClassId?: string | null | undefined;
1149
1168
  }>, "many">;
1150
1169
  meta: z.ZodObject<{
1151
1170
  itemCount: z.ZodNumber;
@@ -1211,10 +1230,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1211
1230
  durationType: DurationType | null;
1212
1231
  tiers: number[] | null;
1213
1232
  enableBonus: boolean;
1214
- principalAmount: number | null;
1215
- maxTotalRaise: number | null;
1216
1233
  interestRate: number | null;
1217
- interestType: InterestType | null;
1218
1234
  __entity?: string | undefined;
1219
1235
  account?: {
1220
1236
  status: import("./common.types").AccountStatus;
@@ -1285,6 +1301,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1285
1301
  routingNumber?: string | null | undefined;
1286
1302
  company?: string | null | undefined;
1287
1303
  } | null | undefined;
1304
+ warrantsEnabled?: boolean | undefined;
1305
+ totalShares?: number | null | undefined;
1306
+ warrantTermYears?: number | null | undefined;
1307
+ exercisePrice?: number | null | undefined;
1308
+ warrantPercentage?: number | null | undefined;
1309
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1310
+ incrementThreshold?: number | null | undefined;
1311
+ fullyDilutedShares?: number | null | undefined;
1312
+ shareClassId?: string | null | undefined;
1288
1313
  }[];
1289
1314
  meta: {
1290
1315
  itemCount: number;
@@ -1338,10 +1363,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1338
1363
  durationType: DurationType | null;
1339
1364
  tiers: number[] | null;
1340
1365
  enableBonus: boolean;
1341
- principalAmount: number | null;
1342
- maxTotalRaise: number | null;
1343
1366
  interestRate: number | null;
1344
- interestType: InterestType | null;
1345
1367
  __entity?: string | undefined;
1346
1368
  account?: {
1347
1369
  status: import("./common.types").AccountStatus;
@@ -1412,6 +1434,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1412
1434
  routingNumber?: string | null | undefined;
1413
1435
  company?: string | null | undefined;
1414
1436
  } | null | undefined;
1437
+ warrantsEnabled?: boolean | undefined;
1438
+ totalShares?: number | null | undefined;
1439
+ warrantTermYears?: number | null | undefined;
1440
+ exercisePrice?: number | null | undefined;
1441
+ warrantPercentage?: number | null | undefined;
1442
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1443
+ incrementThreshold?: number | null | undefined;
1444
+ fullyDilutedShares?: number | null | undefined;
1445
+ shareClassId?: string | null | undefined;
1415
1446
  }[];
1416
1447
  meta: {
1417
1448
  itemCount: number;
@@ -1422,8 +1453,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1422
1453
  };
1423
1454
  }>;
1424
1455
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1456
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1425
1457
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1426
1458
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1459
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1427
1460
  name: z.ZodString;
1428
1461
  type: z.ZodNativeEnum<typeof OfferingType>;
1429
1462
  targetAmount: z.ZodNumber;
@@ -1450,10 +1483,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1450
1483
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1451
1484
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1452
1485
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1453
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1454
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1455
1486
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1456
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1457
1487
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1458
1488
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1459
1489
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1490,12 +1520,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1490
1520
  startAmount: number;
1491
1521
  endAmount: number;
1492
1522
  }>, "many">>;
1523
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1524
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1525
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1526
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1527
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1528
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1529
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1493
1530
  }, "strip", z.ZodTypeAny, {
1494
1531
  type: OfferingType;
1495
1532
  name: string;
1496
1533
  template: AssetTemplateType;
1497
1534
  targetAmount: number;
1498
1535
  issuerId: string;
1536
+ warrantsEnabled: boolean;
1499
1537
  assetName: string;
1500
1538
  assetType: AssetType;
1501
1539
  pricePerUnit: number | null;
@@ -1513,15 +1551,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1513
1551
  hasEscrow?: boolean | undefined;
1514
1552
  bankAccountId?: string | null | undefined;
1515
1553
  escrowAccountId?: string | null | undefined;
1554
+ totalShares?: number | null | undefined;
1555
+ warrantTermYears?: number | null | undefined;
1556
+ exercisePrice?: number | null | undefined;
1557
+ warrantPercentage?: number | null | undefined;
1558
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1559
+ incrementThreshold?: number | null | undefined;
1560
+ shareClassId?: string | null | undefined;
1516
1561
  yield?: number | null | undefined;
1517
1562
  duration?: number | null | undefined;
1518
1563
  durationType?: DurationType | null | undefined;
1519
1564
  tiers?: number[] | null | undefined;
1520
1565
  enableBonus?: boolean | undefined;
1521
- principalAmount?: number | null | undefined;
1522
- maxTotalRaise?: number | null | undefined;
1523
1566
  interestRate?: number | null | undefined;
1524
- interestType?: InterestType | null | undefined;
1525
1567
  bonusTiers?: {
1526
1568
  value: number;
1527
1569
  type: import("./bonus-tier.types").BonusType;
@@ -1551,15 +1593,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1551
1593
  hasEscrow?: boolean | undefined;
1552
1594
  bankAccountId?: string | null | undefined;
1553
1595
  escrowAccountId?: string | null | undefined;
1596
+ warrantsEnabled?: boolean | undefined;
1597
+ totalShares?: number | null | undefined;
1598
+ warrantTermYears?: number | null | undefined;
1599
+ exercisePrice?: number | null | undefined;
1600
+ warrantPercentage?: number | null | undefined;
1601
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1602
+ incrementThreshold?: number | null | undefined;
1603
+ shareClassId?: string | null | undefined;
1554
1604
  yield?: number | null | undefined;
1555
1605
  duration?: number | null | undefined;
1556
1606
  durationType?: DurationType | null | undefined;
1557
1607
  tiers?: number[] | null | undefined;
1558
1608
  enableBonus?: boolean | undefined;
1559
- principalAmount?: number | null | undefined;
1560
- maxTotalRaise?: number | null | undefined;
1561
1609
  interestRate?: number | null | undefined;
1562
- interestType?: InterestType | null | undefined;
1563
1610
  bonusTiers?: {
1564
1611
  value: number;
1565
1612
  type: import("./bonus-tier.types").BonusType;
@@ -1572,6 +1619,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1572
1619
  template: AssetTemplateType;
1573
1620
  targetAmount: number;
1574
1621
  issuerId: string;
1622
+ warrantsEnabled: boolean;
1575
1623
  assetName: string;
1576
1624
  assetType: AssetType;
1577
1625
  pricePerUnit: number | null;
@@ -1589,15 +1637,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1589
1637
  hasEscrow?: boolean | undefined;
1590
1638
  bankAccountId?: string | null | undefined;
1591
1639
  escrowAccountId?: string | null | undefined;
1640
+ totalShares?: number | null | undefined;
1641
+ warrantTermYears?: number | null | undefined;
1642
+ exercisePrice?: number | null | undefined;
1643
+ warrantPercentage?: number | null | undefined;
1644
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1645
+ incrementThreshold?: number | null | undefined;
1646
+ shareClassId?: string | null | undefined;
1592
1647
  yield?: number | null | undefined;
1593
1648
  duration?: number | null | undefined;
1594
1649
  durationType?: DurationType | null | undefined;
1595
1650
  tiers?: number[] | null | undefined;
1596
1651
  enableBonus?: boolean | undefined;
1597
- principalAmount?: number | null | undefined;
1598
- maxTotalRaise?: number | null | undefined;
1599
1652
  interestRate?: number | null | undefined;
1600
- interestType?: InterestType | null | undefined;
1601
1653
  bonusTiers?: {
1602
1654
  value: number;
1603
1655
  type: import("./bonus-tier.types").BonusType;
@@ -1627,15 +1679,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1627
1679
  hasEscrow?: boolean | undefined;
1628
1680
  bankAccountId?: string | null | undefined;
1629
1681
  escrowAccountId?: string | null | undefined;
1682
+ warrantsEnabled?: boolean | undefined;
1683
+ totalShares?: number | null | undefined;
1684
+ warrantTermYears?: number | null | undefined;
1685
+ exercisePrice?: number | null | undefined;
1686
+ warrantPercentage?: number | null | undefined;
1687
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1688
+ incrementThreshold?: number | null | undefined;
1689
+ shareClassId?: string | null | undefined;
1630
1690
  yield?: number | null | undefined;
1631
1691
  duration?: number | null | undefined;
1632
1692
  durationType?: DurationType | null | undefined;
1633
1693
  tiers?: number[] | null | undefined;
1634
1694
  enableBonus?: boolean | undefined;
1635
- principalAmount?: number | null | undefined;
1636
- maxTotalRaise?: number | null | undefined;
1637
1695
  interestRate?: number | null | undefined;
1638
- interestType?: InterestType | null | undefined;
1639
1696
  bonusTiers?: {
1640
1697
  value: number;
1641
1698
  type: import("./bonus-tier.types").BonusType;
@@ -1645,6 +1702,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1645
1702
  }>;
1646
1703
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1647
1704
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1705
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1648
1706
  name: z.ZodOptional<z.ZodString>;
1649
1707
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1650
1708
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1675,10 +1733,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1675
1733
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1676
1734
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1677
1735
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1678
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1679
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1680
1736
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1681
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1682
1737
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1683
1738
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1684
1739
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1715,6 +1770,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1715
1770
  startAmount: number;
1716
1771
  endAmount: number;
1717
1772
  }>, "many">>;
1773
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1774
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1775
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1776
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1777
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1778
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1779
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1718
1780
  }, "strip", z.ZodTypeAny, {
1719
1781
  type?: OfferingType | undefined;
1720
1782
  name?: string | undefined;
@@ -1737,6 +1799,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1737
1799
  escrowAgreementFileId?: string | null | undefined;
1738
1800
  bankAccountId?: string | null | undefined;
1739
1801
  escrowAccountId?: string | null | undefined;
1802
+ warrantsEnabled?: boolean | undefined;
1803
+ totalShares?: number | null | undefined;
1804
+ warrantTermYears?: number | null | undefined;
1805
+ exercisePrice?: number | null | undefined;
1806
+ warrantPercentage?: number | null | undefined;
1807
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1808
+ incrementThreshold?: number | null | undefined;
1809
+ shareClassId?: string | null | undefined;
1740
1810
  assetName?: string | undefined;
1741
1811
  assetType?: AssetType | undefined;
1742
1812
  pricePerUnit?: number | null | undefined;
@@ -1746,10 +1816,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1746
1816
  durationType?: DurationType | null | undefined;
1747
1817
  tiers?: number[] | null | undefined;
1748
1818
  enableBonus?: boolean | undefined;
1749
- principalAmount?: number | null | undefined;
1750
- maxTotalRaise?: number | null | undefined;
1751
1819
  interestRate?: number | null | undefined;
1752
- interestType?: InterestType | null | undefined;
1753
1820
  bonusTiers?: {
1754
1821
  value: number;
1755
1822
  type: import("./bonus-tier.types").BonusType;
@@ -1778,6 +1845,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1778
1845
  escrowAgreementFileId?: string | null | undefined;
1779
1846
  bankAccountId?: string | null | undefined;
1780
1847
  escrowAccountId?: string | null | undefined;
1848
+ warrantsEnabled?: boolean | undefined;
1849
+ totalShares?: number | null | undefined;
1850
+ warrantTermYears?: number | null | undefined;
1851
+ exercisePrice?: number | null | undefined;
1852
+ warrantPercentage?: number | null | undefined;
1853
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1854
+ incrementThreshold?: number | null | undefined;
1855
+ shareClassId?: string | null | undefined;
1781
1856
  assetName?: string | undefined;
1782
1857
  assetType?: AssetType | undefined;
1783
1858
  pricePerUnit?: number | null | undefined;
@@ -1787,10 +1862,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1787
1862
  durationType?: DurationType | null | undefined;
1788
1863
  tiers?: number[] | null | undefined;
1789
1864
  enableBonus?: boolean | undefined;
1790
- principalAmount?: number | null | undefined;
1791
- maxTotalRaise?: number | null | undefined;
1792
1865
  interestRate?: number | null | undefined;
1793
- interestType?: InterestType | null | undefined;
1794
1866
  bonusTiers?: {
1795
1867
  value: number;
1796
1868
  type: import("./bonus-tier.types").BonusType;
@@ -1819,6 +1891,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1819
1891
  escrowAgreementFileId?: string | null | undefined;
1820
1892
  bankAccountId?: string | null | undefined;
1821
1893
  escrowAccountId?: string | null | undefined;
1894
+ warrantsEnabled?: boolean | undefined;
1895
+ totalShares?: number | null | undefined;
1896
+ warrantTermYears?: number | null | undefined;
1897
+ exercisePrice?: number | null | undefined;
1898
+ warrantPercentage?: number | null | undefined;
1899
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1900
+ incrementThreshold?: number | null | undefined;
1901
+ shareClassId?: string | null | undefined;
1822
1902
  assetName?: string | undefined;
1823
1903
  assetType?: AssetType | undefined;
1824
1904
  pricePerUnit?: number | null | undefined;
@@ -1828,10 +1908,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1828
1908
  durationType?: DurationType | null | undefined;
1829
1909
  tiers?: number[] | null | undefined;
1830
1910
  enableBonus?: boolean | undefined;
1831
- principalAmount?: number | null | undefined;
1832
- maxTotalRaise?: number | null | undefined;
1833
1911
  interestRate?: number | null | undefined;
1834
- interestType?: InterestType | null | undefined;
1835
1912
  bonusTiers?: {
1836
1913
  value: number;
1837
1914
  type: import("./bonus-tier.types").BonusType;
@@ -1860,6 +1937,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1860
1937
  escrowAgreementFileId?: string | null | undefined;
1861
1938
  bankAccountId?: string | null | undefined;
1862
1939
  escrowAccountId?: string | null | undefined;
1940
+ warrantsEnabled?: boolean | undefined;
1941
+ totalShares?: number | null | undefined;
1942
+ warrantTermYears?: number | null | undefined;
1943
+ exercisePrice?: number | null | undefined;
1944
+ warrantPercentage?: number | null | undefined;
1945
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1946
+ incrementThreshold?: number | null | undefined;
1947
+ shareClassId?: string | null | undefined;
1863
1948
  assetName?: string | undefined;
1864
1949
  assetType?: AssetType | undefined;
1865
1950
  pricePerUnit?: number | null | undefined;
@@ -1869,10 +1954,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1869
1954
  durationType?: DurationType | null | undefined;
1870
1955
  tiers?: number[] | null | undefined;
1871
1956
  enableBonus?: boolean | undefined;
1872
- principalAmount?: number | null | undefined;
1873
- maxTotalRaise?: number | null | undefined;
1874
1957
  interestRate?: number | null | undefined;
1875
- interestType?: InterestType | null | undefined;
1876
1958
  bonusTiers?: {
1877
1959
  value: number;
1878
1960
  type: import("./bonus-tier.types").BonusType;
@@ -1934,10 +2016,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1934
2016
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1935
2017
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1936
2018
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2019
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1937
2020
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1938
2021
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1939
2022
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1940
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1941
2023
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1942
2024
  }, "strip", z.ZodTypeAny, {
1943
2025
  sortByNameASC: boolean;
@@ -1946,23 +2028,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1946
2028
  accountId?: string | undefined;
1947
2029
  name?: string | undefined;
1948
2030
  managedBy?: ManagedByType | undefined;
2031
+ complianceReview?: ComplianceReview | undefined;
1949
2032
  enabled?: boolean | undefined;
1950
2033
  issuerId?: string | undefined;
1951
2034
  issuerName?: string | undefined;
1952
2035
  versioningType?: OfferingVersioningType | undefined;
1953
- combinedStatus?: OfferingStatus | undefined;
1954
2036
  }, {
1955
2037
  type?: OfferingType | undefined;
1956
2038
  status?: ComplianceReview | undefined;
1957
2039
  accountId?: string | undefined;
1958
2040
  name?: string | undefined;
1959
2041
  managedBy?: ManagedByType | undefined;
2042
+ complianceReview?: ComplianceReview | undefined;
1960
2043
  enabled?: unknown;
1961
2044
  issuerId?: string | undefined;
1962
2045
  issuerName?: string | undefined;
1963
2046
  versioningType?: OfferingVersioningType | undefined;
1964
- combinedStatus?: OfferingStatus | undefined;
1965
2047
  sortByNameASC?: unknown;
1966
2048
  }>;
1967
2049
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1968
2050
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2051
+ /**
2052
+ * Adds validation issues to the context if warrant-related fields are missing
2053
+ * when warrants are enabled on an offering. This function checks required fields for
2054
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2055
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2056
+ *
2057
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2058
+ * @param ctx - The Zod refinement context to which validation issues will be added
2059
+ */
2060
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;