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

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 (75) 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 +34 -25
  8. package/common/types/activity.types.js +11 -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 +340 -3
  18. package/common/types/common.types.js +59 -1
  19. package/common/types/common.types.js.map +1 -1
  20. package/common/types/dashboard.types.d.ts +7 -7
  21. package/common/types/disbursement-transaction.types.d.ts +1 -1
  22. package/common/types/disbursement-transaction.types.js +1 -1
  23. package/common/types/disbursement-transaction.types.js.map +1 -1
  24. package/common/types/disbursements.types.d.ts +817 -0
  25. package/common/types/disbursements.types.js +63 -0
  26. package/common/types/disbursements.types.js.map +1 -1
  27. package/common/types/exchange-provider.types.d.ts +12 -12
  28. package/common/types/file.types.d.ts +30 -9
  29. package/common/types/file.types.js +9 -0
  30. package/common/types/file.types.js.map +1 -1
  31. package/common/types/index.d.ts +3 -0
  32. package/common/types/index.js +3 -0
  33. package/common/types/index.js.map +1 -1
  34. package/common/types/individuals.types.js +2 -2
  35. package/common/types/individuals.types.js.map +1 -1
  36. package/common/types/investor-account.types.d.ts +1 -1
  37. package/common/types/investor-account.types.js +1 -2
  38. package/common/types/investor-account.types.js.map +1 -1
  39. package/common/types/invite.types.d.ts +2 -2
  40. package/common/types/invite.types.js +1 -1
  41. package/common/types/invite.types.js.map +1 -1
  42. package/common/types/issuer-offering.types.d.ts +174 -77
  43. package/common/types/issuer-offering.types.js +181 -45
  44. package/common/types/issuer-offering.types.js.map +1 -1
  45. package/common/types/job-item.types.d.ts +14 -14
  46. package/common/types/note.types.d.ts +15 -15
  47. package/common/types/offering-submission.types.d.ts +198 -0
  48. package/common/types/offering-submission.types.js +16 -3
  49. package/common/types/offering-submission.types.js.map +1 -1
  50. package/common/types/offering.types.d.ts +256 -61
  51. package/common/types/offering.types.js +210 -53
  52. package/common/types/offering.types.js.map +1 -1
  53. package/common/types/portfolio.types.d.ts +6 -6
  54. package/common/types/reports.types.d.ts +345 -0
  55. package/common/types/reports.types.js +69 -0
  56. package/common/types/reports.types.js.map +1 -0
  57. package/common/types/secondary-order.types.d.ts +10 -10
  58. package/common/types/secondary-trade.types.d.ts +10 -10
  59. package/common/types/site.types.d.ts +12 -27
  60. package/common/types/task.types.d.ts +22 -22
  61. package/common/types/trade.types.d.ts +9 -0
  62. package/common/types/trade.types.js +2 -0
  63. package/common/types/trade.types.js.map +1 -1
  64. package/common/types/transaction.types.d.ts +0 -1
  65. package/common/types/transaction.types.js +0 -1
  66. package/common/types/transaction.types.js.map +1 -1
  67. package/common/types/user.types.d.ts +191 -59
  68. package/common/types/user.types.js +9 -1
  69. package/common/types/user.types.js.map +1 -1
  70. package/contracts/clients/assets/index.d.ts +0 -66
  71. package/contracts/clients/files/index.d.ts +3 -3
  72. package/contracts/clients/files-public/index.d.ts +3 -3
  73. package/contracts/clients/index.d.ts +94 -105
  74. package/contracts/clients/offerings/index.d.ts +88 -33
  75. 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,21 @@ 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>>>;
1530
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1493
1531
  }, "strip", z.ZodTypeAny, {
1494
1532
  type: OfferingType;
1495
1533
  name: string;
1496
1534
  template: AssetTemplateType;
1497
1535
  targetAmount: number;
1498
1536
  issuerId: string;
1537
+ warrantsEnabled: boolean;
1499
1538
  assetName: string;
1500
1539
  assetType: AssetType;
1501
1540
  pricePerUnit: number | null;
@@ -1510,18 +1549,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1510
1549
  startAt?: Date | null | undefined;
1511
1550
  endAt?: Date | null | undefined;
1512
1551
  cancellationPeriod?: number | null | undefined;
1552
+ showTotalRaised?: boolean | undefined;
1513
1553
  hasEscrow?: boolean | undefined;
1514
1554
  bankAccountId?: string | null | undefined;
1515
1555
  escrowAccountId?: string | null | undefined;
1556
+ totalShares?: number | null | undefined;
1557
+ warrantTermYears?: number | null | undefined;
1558
+ exercisePrice?: number | null | undefined;
1559
+ warrantPercentage?: number | null | undefined;
1560
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1561
+ incrementThreshold?: number | null | undefined;
1562
+ shareClassId?: string | null | undefined;
1516
1563
  yield?: number | null | undefined;
1517
1564
  duration?: number | null | undefined;
1518
1565
  durationType?: DurationType | null | undefined;
1519
1566
  tiers?: number[] | null | undefined;
1520
1567
  enableBonus?: boolean | undefined;
1521
- principalAmount?: number | null | undefined;
1522
- maxTotalRaise?: number | null | undefined;
1523
1568
  interestRate?: number | null | undefined;
1524
- interestType?: InterestType | null | undefined;
1525
1569
  bonusTiers?: {
1526
1570
  value: number;
1527
1571
  type: import("./bonus-tier.types").BonusType;
@@ -1548,18 +1592,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1548
1592
  startAt?: string | null | undefined;
1549
1593
  endAt?: string | null | undefined;
1550
1594
  cancellationPeriod?: number | null | undefined;
1595
+ showTotalRaised?: boolean | undefined;
1551
1596
  hasEscrow?: boolean | undefined;
1552
1597
  bankAccountId?: string | null | undefined;
1553
1598
  escrowAccountId?: string | null | undefined;
1599
+ warrantsEnabled?: boolean | undefined;
1600
+ totalShares?: number | null | undefined;
1601
+ warrantTermYears?: number | null | undefined;
1602
+ exercisePrice?: number | null | undefined;
1603
+ warrantPercentage?: number | null | undefined;
1604
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1605
+ incrementThreshold?: number | null | undefined;
1606
+ shareClassId?: string | null | undefined;
1554
1607
  yield?: number | null | undefined;
1555
1608
  duration?: number | null | undefined;
1556
1609
  durationType?: DurationType | null | undefined;
1557
1610
  tiers?: number[] | null | undefined;
1558
1611
  enableBonus?: boolean | undefined;
1559
- principalAmount?: number | null | undefined;
1560
- maxTotalRaise?: number | null | undefined;
1561
1612
  interestRate?: number | null | undefined;
1562
- interestType?: InterestType | null | undefined;
1563
1613
  bonusTiers?: {
1564
1614
  value: number;
1565
1615
  type: import("./bonus-tier.types").BonusType;
@@ -1572,6 +1622,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1572
1622
  template: AssetTemplateType;
1573
1623
  targetAmount: number;
1574
1624
  issuerId: string;
1625
+ warrantsEnabled: boolean;
1575
1626
  assetName: string;
1576
1627
  assetType: AssetType;
1577
1628
  pricePerUnit: number | null;
@@ -1586,18 +1637,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1586
1637
  startAt?: Date | null | undefined;
1587
1638
  endAt?: Date | null | undefined;
1588
1639
  cancellationPeriod?: number | null | undefined;
1640
+ showTotalRaised?: boolean | undefined;
1589
1641
  hasEscrow?: boolean | undefined;
1590
1642
  bankAccountId?: string | null | undefined;
1591
1643
  escrowAccountId?: string | null | undefined;
1644
+ totalShares?: number | null | undefined;
1645
+ warrantTermYears?: number | null | undefined;
1646
+ exercisePrice?: number | null | undefined;
1647
+ warrantPercentage?: number | null | undefined;
1648
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1649
+ incrementThreshold?: number | null | undefined;
1650
+ shareClassId?: string | null | undefined;
1592
1651
  yield?: number | null | undefined;
1593
1652
  duration?: number | null | undefined;
1594
1653
  durationType?: DurationType | null | undefined;
1595
1654
  tiers?: number[] | null | undefined;
1596
1655
  enableBonus?: boolean | undefined;
1597
- principalAmount?: number | null | undefined;
1598
- maxTotalRaise?: number | null | undefined;
1599
1656
  interestRate?: number | null | undefined;
1600
- interestType?: InterestType | null | undefined;
1601
1657
  bonusTiers?: {
1602
1658
  value: number;
1603
1659
  type: import("./bonus-tier.types").BonusType;
@@ -1624,18 +1680,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1624
1680
  startAt?: string | null | undefined;
1625
1681
  endAt?: string | null | undefined;
1626
1682
  cancellationPeriod?: number | null | undefined;
1683
+ showTotalRaised?: boolean | undefined;
1627
1684
  hasEscrow?: boolean | undefined;
1628
1685
  bankAccountId?: string | null | undefined;
1629
1686
  escrowAccountId?: string | null | undefined;
1687
+ warrantsEnabled?: boolean | undefined;
1688
+ totalShares?: number | null | undefined;
1689
+ warrantTermYears?: number | null | undefined;
1690
+ exercisePrice?: number | null | undefined;
1691
+ warrantPercentage?: number | null | undefined;
1692
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1693
+ incrementThreshold?: number | null | undefined;
1694
+ shareClassId?: string | null | undefined;
1630
1695
  yield?: number | null | undefined;
1631
1696
  duration?: number | null | undefined;
1632
1697
  durationType?: DurationType | null | undefined;
1633
1698
  tiers?: number[] | null | undefined;
1634
1699
  enableBonus?: boolean | undefined;
1635
- principalAmount?: number | null | undefined;
1636
- maxTotalRaise?: number | null | undefined;
1637
1700
  interestRate?: number | null | undefined;
1638
- interestType?: InterestType | null | undefined;
1639
1701
  bonusTiers?: {
1640
1702
  value: number;
1641
1703
  type: import("./bonus-tier.types").BonusType;
@@ -1645,6 +1707,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1645
1707
  }>;
1646
1708
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1647
1709
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1710
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1648
1711
  name: z.ZodOptional<z.ZodString>;
1649
1712
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1650
1713
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1675,10 +1738,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1675
1738
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1676
1739
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1677
1740
  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
1741
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1681
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1682
1742
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1683
1743
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1684
1744
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1715,6 +1775,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1715
1775
  startAmount: number;
1716
1776
  endAmount: number;
1717
1777
  }>, "many">>;
1778
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1779
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1780
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1781
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1782
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1783
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1784
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1718
1785
  }, "strip", z.ZodTypeAny, {
1719
1786
  type?: OfferingType | undefined;
1720
1787
  name?: string | undefined;
@@ -1737,6 +1804,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1737
1804
  escrowAgreementFileId?: string | null | undefined;
1738
1805
  bankAccountId?: string | null | undefined;
1739
1806
  escrowAccountId?: string | null | undefined;
1807
+ warrantsEnabled?: boolean | undefined;
1808
+ totalShares?: number | null | undefined;
1809
+ warrantTermYears?: number | null | undefined;
1810
+ exercisePrice?: number | null | undefined;
1811
+ warrantPercentage?: number | null | undefined;
1812
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1813
+ incrementThreshold?: number | null | undefined;
1814
+ shareClassId?: string | null | undefined;
1740
1815
  assetName?: string | undefined;
1741
1816
  assetType?: AssetType | undefined;
1742
1817
  pricePerUnit?: number | null | undefined;
@@ -1746,10 +1821,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1746
1821
  durationType?: DurationType | null | undefined;
1747
1822
  tiers?: number[] | null | undefined;
1748
1823
  enableBonus?: boolean | undefined;
1749
- principalAmount?: number | null | undefined;
1750
- maxTotalRaise?: number | null | undefined;
1751
1824
  interestRate?: number | null | undefined;
1752
- interestType?: InterestType | null | undefined;
1753
1825
  bonusTiers?: {
1754
1826
  value: number;
1755
1827
  type: import("./bonus-tier.types").BonusType;
@@ -1778,6 +1850,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1778
1850
  escrowAgreementFileId?: string | null | undefined;
1779
1851
  bankAccountId?: string | null | undefined;
1780
1852
  escrowAccountId?: string | null | undefined;
1853
+ warrantsEnabled?: boolean | undefined;
1854
+ totalShares?: number | null | undefined;
1855
+ warrantTermYears?: number | null | undefined;
1856
+ exercisePrice?: number | null | undefined;
1857
+ warrantPercentage?: number | null | undefined;
1858
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1859
+ incrementThreshold?: number | null | undefined;
1860
+ shareClassId?: string | null | undefined;
1781
1861
  assetName?: string | undefined;
1782
1862
  assetType?: AssetType | undefined;
1783
1863
  pricePerUnit?: number | null | undefined;
@@ -1787,10 +1867,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1787
1867
  durationType?: DurationType | null | undefined;
1788
1868
  tiers?: number[] | null | undefined;
1789
1869
  enableBonus?: boolean | undefined;
1790
- principalAmount?: number | null | undefined;
1791
- maxTotalRaise?: number | null | undefined;
1792
1870
  interestRate?: number | null | undefined;
1793
- interestType?: InterestType | null | undefined;
1794
1871
  bonusTiers?: {
1795
1872
  value: number;
1796
1873
  type: import("./bonus-tier.types").BonusType;
@@ -1819,6 +1896,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1819
1896
  escrowAgreementFileId?: string | null | undefined;
1820
1897
  bankAccountId?: string | null | undefined;
1821
1898
  escrowAccountId?: string | null | undefined;
1899
+ warrantsEnabled?: boolean | undefined;
1900
+ totalShares?: number | null | undefined;
1901
+ warrantTermYears?: number | null | undefined;
1902
+ exercisePrice?: number | null | undefined;
1903
+ warrantPercentage?: number | null | undefined;
1904
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1905
+ incrementThreshold?: number | null | undefined;
1906
+ shareClassId?: string | null | undefined;
1822
1907
  assetName?: string | undefined;
1823
1908
  assetType?: AssetType | undefined;
1824
1909
  pricePerUnit?: number | null | undefined;
@@ -1828,10 +1913,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1828
1913
  durationType?: DurationType | null | undefined;
1829
1914
  tiers?: number[] | null | undefined;
1830
1915
  enableBonus?: boolean | undefined;
1831
- principalAmount?: number | null | undefined;
1832
- maxTotalRaise?: number | null | undefined;
1833
1916
  interestRate?: number | null | undefined;
1834
- interestType?: InterestType | null | undefined;
1835
1917
  bonusTiers?: {
1836
1918
  value: number;
1837
1919
  type: import("./bonus-tier.types").BonusType;
@@ -1860,6 +1942,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1860
1942
  escrowAgreementFileId?: string | null | undefined;
1861
1943
  bankAccountId?: string | null | undefined;
1862
1944
  escrowAccountId?: string | null | undefined;
1945
+ warrantsEnabled?: boolean | undefined;
1946
+ totalShares?: number | null | undefined;
1947
+ warrantTermYears?: number | null | undefined;
1948
+ exercisePrice?: number | null | undefined;
1949
+ warrantPercentage?: number | null | undefined;
1950
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1951
+ incrementThreshold?: number | null | undefined;
1952
+ shareClassId?: string | null | undefined;
1863
1953
  assetName?: string | undefined;
1864
1954
  assetType?: AssetType | undefined;
1865
1955
  pricePerUnit?: number | null | undefined;
@@ -1869,10 +1959,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1869
1959
  durationType?: DurationType | null | undefined;
1870
1960
  tiers?: number[] | null | undefined;
1871
1961
  enableBonus?: boolean | undefined;
1872
- principalAmount?: number | null | undefined;
1873
- maxTotalRaise?: number | null | undefined;
1874
1962
  interestRate?: number | null | undefined;
1875
- interestType?: InterestType | null | undefined;
1876
1963
  bonusTiers?: {
1877
1964
  value: number;
1878
1965
  type: import("./bonus-tier.types").BonusType;
@@ -1934,10 +2021,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1934
2021
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1935
2022
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1936
2023
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2024
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1937
2025
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1938
2026
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1939
2027
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1940
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1941
2028
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1942
2029
  }, "strip", z.ZodTypeAny, {
1943
2030
  sortByNameASC: boolean;
@@ -1946,23 +2033,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1946
2033
  accountId?: string | undefined;
1947
2034
  name?: string | undefined;
1948
2035
  managedBy?: ManagedByType | undefined;
2036
+ complianceReview?: ComplianceReview | undefined;
1949
2037
  enabled?: boolean | undefined;
1950
2038
  issuerId?: string | undefined;
1951
2039
  issuerName?: string | undefined;
1952
2040
  versioningType?: OfferingVersioningType | undefined;
1953
- combinedStatus?: OfferingStatus | undefined;
1954
2041
  }, {
1955
2042
  type?: OfferingType | undefined;
1956
2043
  status?: ComplianceReview | undefined;
1957
2044
  accountId?: string | undefined;
1958
2045
  name?: string | undefined;
1959
2046
  managedBy?: ManagedByType | undefined;
2047
+ complianceReview?: ComplianceReview | undefined;
1960
2048
  enabled?: unknown;
1961
2049
  issuerId?: string | undefined;
1962
2050
  issuerName?: string | undefined;
1963
2051
  versioningType?: OfferingVersioningType | undefined;
1964
- combinedStatus?: OfferingStatus | undefined;
1965
2052
  sortByNameASC?: unknown;
1966
2053
  }>;
1967
2054
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1968
2055
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2056
+ /**
2057
+ * Adds validation issues to the context if warrant-related fields are missing
2058
+ * when warrants are enabled on an offering. This function checks required fields for
2059
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2060
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2061
+ *
2062
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2063
+ * @param ctx - The Zod refinement context to which validation issues will be added
2064
+ */
2065
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;