@dalmore/api-contracts 0.0.0-dev.2982281 → 0.0.0-dev.2cea8e5

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 (61) hide show
  1. package/common/types/account-setting.types.d.ts +17 -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 +29 -14
  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 +312 -2
  18. package/common/types/common.types.js +48 -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/disbursements.types.d.ts +834 -0
  22. package/common/types/disbursements.types.js +63 -0
  23. package/common/types/disbursements.types.js.map +1 -1
  24. package/common/types/escrow-account.types.d.ts +17 -0
  25. package/common/types/escrow-account.types.js +3 -0
  26. package/common/types/escrow-account.types.js.map +1 -1
  27. package/common/types/file.types.d.ts +30 -9
  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 +2 -0
  31. package/common/types/index.js +2 -0
  32. package/common/types/index.js.map +1 -1
  33. package/common/types/individuals.types.js +1 -1
  34. package/common/types/individuals.types.js.map +1 -1
  35. package/common/types/issuer-offering.types.d.ts +160 -73
  36. package/common/types/issuer-offering.types.js +150 -38
  37. package/common/types/issuer-offering.types.js.map +1 -1
  38. package/common/types/job-item.types.d.ts +14 -14
  39. package/common/types/note.types.d.ts +15 -15
  40. package/common/types/offering-submission.types.d.ts +198 -0
  41. package/common/types/offering-submission.types.js +16 -3
  42. package/common/types/offering-submission.types.js.map +1 -1
  43. package/common/types/offering.types.d.ts +217 -42
  44. package/common/types/offering.types.js +166 -38
  45. package/common/types/offering.types.js.map +1 -1
  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/site.types.d.ts +0 -15
  50. package/common/types/task.types.d.ts +22 -22
  51. package/common/types/trade.types.js +1 -0
  52. package/common/types/trade.types.js.map +1 -1
  53. package/common/types/user.types.d.ts +107 -59
  54. package/common/types/user.types.js +7 -1
  55. package/common/types/user.types.js.map +1 -1
  56. package/contracts/clients/assets/index.d.ts +0 -66
  57. package/contracts/clients/files/index.d.ts +3 -3
  58. package/contracts/clients/files-public/index.d.ts +3 -3
  59. package/contracts/clients/index.d.ts +76 -107
  60. package/contracts/clients/offerings/index.d.ts +70 -35
  61. package/package.json +1 -1
@@ -1,6 +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';
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod } from './common.types';
3
+ import { AssetTemplateType } from './asset.types';
4
+ import { PostComplianceOffering } from './offering.types';
4
5
  export declare enum OfferingStatus {
5
6
  ONBOARDING = "ONBOARDING",
6
7
  IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
@@ -134,10 +135,7 @@ export declare const IIssuerOffering: z.ZodObject<{
134
135
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
135
136
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
136
137
  enableBonus: z.ZodBoolean;
137
- principalAmount: z.ZodNullable<z.ZodNumber>;
138
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
139
138
  interestRate: z.ZodNullable<z.ZodNumber>;
140
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
141
139
  }, "strip", z.ZodTypeAny, {
142
140
  type: AssetType | null;
143
141
  id: string;
@@ -156,10 +154,7 @@ export declare const IIssuerOffering: z.ZodObject<{
156
154
  durationType: DurationType | null;
157
155
  tiers: number[] | null;
158
156
  enableBonus: boolean;
159
- principalAmount: number | null;
160
- maxTotalRaise: number | null;
161
157
  interestRate: number | null;
162
- interestType: InterestType | null;
163
158
  __entity?: string | undefined;
164
159
  account?: {
165
160
  status: import("./common.types").AccountStatus;
@@ -194,10 +189,7 @@ export declare const IIssuerOffering: z.ZodObject<{
194
189
  durationType: DurationType | null;
195
190
  tiers: number[] | null;
196
191
  enableBonus: boolean;
197
- principalAmount: number | null;
198
- maxTotalRaise: number | null;
199
192
  interestRate: number | null;
200
- interestType: InterestType | null;
201
193
  __entity?: string | undefined;
202
194
  account?: {
203
195
  status: import("./common.types").AccountStatus;
@@ -236,6 +228,7 @@ export declare const IIssuerOffering: z.ZodObject<{
236
228
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
237
229
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
238
230
  } & {
231
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
232
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
240
233
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
234
  accountName: z.ZodString;
@@ -309,6 +302,7 @@ export declare const IIssuerOffering: z.ZodObject<{
309
302
  } | null | undefined;
310
303
  accountNumber?: string | null | undefined;
311
304
  routingNumber?: string | null | undefined;
305
+ company?: string | null | undefined;
312
306
  }, {
313
307
  id: string;
314
308
  createdAt: string | Date;
@@ -335,7 +329,16 @@ export declare const IIssuerOffering: z.ZodObject<{
335
329
  } | null | undefined;
336
330
  accountNumber?: string | null | undefined;
337
331
  routingNumber?: string | null | undefined;
332
+ company?: string | null | undefined;
338
333
  }>>>>;
334
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
335
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
337
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
338
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
339
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
340
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
341
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
339
342
  }, "strip", z.ZodTypeAny, {
340
343
  type: OfferingType | null;
341
344
  id: string;
@@ -380,10 +383,7 @@ export declare const IIssuerOffering: z.ZodObject<{
380
383
  durationType: DurationType | null;
381
384
  tiers: number[] | null;
382
385
  enableBonus: boolean;
383
- principalAmount: number | null;
384
- maxTotalRaise: number | null;
385
386
  interestRate: number | null;
386
- interestType: InterestType | null;
387
387
  __entity?: string | undefined;
388
388
  account?: {
389
389
  status: import("./common.types").AccountStatus;
@@ -452,7 +452,16 @@ export declare const IIssuerOffering: z.ZodObject<{
452
452
  } | null | undefined;
453
453
  accountNumber?: string | null | undefined;
454
454
  routingNumber?: string | null | undefined;
455
+ company?: string | null | undefined;
455
456
  } | null | undefined;
457
+ warrantsEnabled?: boolean | undefined;
458
+ totalShares?: number | null | undefined;
459
+ warrantTermYears?: number | null | undefined;
460
+ exercisePrice?: number | null | undefined;
461
+ warrantPercentage?: number | null | undefined;
462
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
463
+ incrementThreshold?: number | null | undefined;
464
+ fullyDilutedShares?: number | null | undefined;
456
465
  }, {
457
466
  type: OfferingType | null;
458
467
  id: string;
@@ -497,10 +506,7 @@ export declare const IIssuerOffering: z.ZodObject<{
497
506
  durationType: DurationType | null;
498
507
  tiers: number[] | null;
499
508
  enableBonus: boolean;
500
- principalAmount: number | null;
501
- maxTotalRaise: number | null;
502
509
  interestRate: number | null;
503
- interestType: InterestType | null;
504
510
  __entity?: string | undefined;
505
511
  account?: {
506
512
  status: import("./common.types").AccountStatus;
@@ -569,7 +575,16 @@ export declare const IIssuerOffering: z.ZodObject<{
569
575
  } | null | undefined;
570
576
  accountNumber?: string | null | undefined;
571
577
  routingNumber?: string | null | undefined;
578
+ company?: string | null | undefined;
572
579
  } | null | undefined;
580
+ warrantsEnabled?: boolean | undefined;
581
+ totalShares?: number | null | undefined;
582
+ warrantTermYears?: number | null | undefined;
583
+ exercisePrice?: number | null | undefined;
584
+ warrantPercentage?: number | null | undefined;
585
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
586
+ incrementThreshold?: number | null | undefined;
587
+ fullyDilutedShares?: number | null | undefined;
573
588
  }>;
574
589
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
575
590
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -700,10 +715,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
700
715
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
701
716
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
702
717
  enableBonus: z.ZodBoolean;
703
- principalAmount: z.ZodNullable<z.ZodNumber>;
704
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
705
718
  interestRate: z.ZodNullable<z.ZodNumber>;
706
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
707
719
  }, "strip", z.ZodTypeAny, {
708
720
  type: AssetType | null;
709
721
  id: string;
@@ -722,10 +734,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
722
734
  durationType: DurationType | null;
723
735
  tiers: number[] | null;
724
736
  enableBonus: boolean;
725
- principalAmount: number | null;
726
- maxTotalRaise: number | null;
727
737
  interestRate: number | null;
728
- interestType: InterestType | null;
729
738
  __entity?: string | undefined;
730
739
  account?: {
731
740
  status: import("./common.types").AccountStatus;
@@ -760,10 +769,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
760
769
  durationType: DurationType | null;
761
770
  tiers: number[] | null;
762
771
  enableBonus: boolean;
763
- principalAmount: number | null;
764
- maxTotalRaise: number | null;
765
772
  interestRate: number | null;
766
- interestType: InterestType | null;
767
773
  __entity?: string | undefined;
768
774
  account?: {
769
775
  status: import("./common.types").AccountStatus;
@@ -802,6 +808,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
802
808
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
803
809
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
804
810
  } & {
811
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
805
812
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
806
813
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
807
814
  accountName: z.ZodString;
@@ -875,6 +882,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
875
882
  } | null | undefined;
876
883
  accountNumber?: string | null | undefined;
877
884
  routingNumber?: string | null | undefined;
885
+ company?: string | null | undefined;
878
886
  }, {
879
887
  id: string;
880
888
  createdAt: string | Date;
@@ -901,7 +909,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
901
909
  } | null | undefined;
902
910
  accountNumber?: string | null | undefined;
903
911
  routingNumber?: string | null | undefined;
912
+ company?: string | null | undefined;
904
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>>;
905
922
  }, "strip", z.ZodTypeAny, {
906
923
  type: OfferingType | null;
907
924
  id: string;
@@ -946,10 +963,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
946
963
  durationType: DurationType | null;
947
964
  tiers: number[] | null;
948
965
  enableBonus: boolean;
949
- principalAmount: number | null;
950
- maxTotalRaise: number | null;
951
966
  interestRate: number | null;
952
- interestType: InterestType | null;
953
967
  __entity?: string | undefined;
954
968
  account?: {
955
969
  status: import("./common.types").AccountStatus;
@@ -1018,7 +1032,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1018
1032
  } | null | undefined;
1019
1033
  accountNumber?: string | null | undefined;
1020
1034
  routingNumber?: string | null | undefined;
1035
+ company?: string | null | undefined;
1021
1036
  } | null | undefined;
1037
+ warrantsEnabled?: boolean | undefined;
1038
+ totalShares?: number | null | undefined;
1039
+ warrantTermYears?: number | null | undefined;
1040
+ exercisePrice?: number | null | undefined;
1041
+ warrantPercentage?: number | null | undefined;
1042
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1043
+ incrementThreshold?: number | null | undefined;
1044
+ fullyDilutedShares?: number | null | undefined;
1022
1045
  }, {
1023
1046
  type: OfferingType | null;
1024
1047
  id: string;
@@ -1063,10 +1086,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1063
1086
  durationType: DurationType | null;
1064
1087
  tiers: number[] | null;
1065
1088
  enableBonus: boolean;
1066
- principalAmount: number | null;
1067
- maxTotalRaise: number | null;
1068
1089
  interestRate: number | null;
1069
- interestType: InterestType | null;
1070
1090
  __entity?: string | undefined;
1071
1091
  account?: {
1072
1092
  status: import("./common.types").AccountStatus;
@@ -1135,7 +1155,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1135
1155
  } | null | undefined;
1136
1156
  accountNumber?: string | null | undefined;
1137
1157
  routingNumber?: string | null | undefined;
1158
+ company?: string | null | undefined;
1138
1159
  } | null | undefined;
1160
+ warrantsEnabled?: boolean | undefined;
1161
+ totalShares?: number | null | undefined;
1162
+ warrantTermYears?: number | null | undefined;
1163
+ exercisePrice?: number | null | undefined;
1164
+ warrantPercentage?: number | null | undefined;
1165
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1166
+ incrementThreshold?: number | null | undefined;
1167
+ fullyDilutedShares?: number | null | undefined;
1139
1168
  }>, "many">;
1140
1169
  meta: z.ZodObject<{
1141
1170
  itemCount: z.ZodNumber;
@@ -1201,10 +1230,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1201
1230
  durationType: DurationType | null;
1202
1231
  tiers: number[] | null;
1203
1232
  enableBonus: boolean;
1204
- principalAmount: number | null;
1205
- maxTotalRaise: number | null;
1206
1233
  interestRate: number | null;
1207
- interestType: InterestType | null;
1208
1234
  __entity?: string | undefined;
1209
1235
  account?: {
1210
1236
  status: import("./common.types").AccountStatus;
@@ -1273,7 +1299,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1273
1299
  } | null | undefined;
1274
1300
  accountNumber?: string | null | undefined;
1275
1301
  routingNumber?: string | null | undefined;
1302
+ company?: string | null | undefined;
1276
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;
1277
1312
  }[];
1278
1313
  meta: {
1279
1314
  itemCount: number;
@@ -1327,10 +1362,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1327
1362
  durationType: DurationType | null;
1328
1363
  tiers: number[] | null;
1329
1364
  enableBonus: boolean;
1330
- principalAmount: number | null;
1331
- maxTotalRaise: number | null;
1332
1365
  interestRate: number | null;
1333
- interestType: InterestType | null;
1334
1366
  __entity?: string | undefined;
1335
1367
  account?: {
1336
1368
  status: import("./common.types").AccountStatus;
@@ -1399,7 +1431,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1399
1431
  } | null | undefined;
1400
1432
  accountNumber?: string | null | undefined;
1401
1433
  routingNumber?: string | null | undefined;
1434
+ company?: string | null | undefined;
1402
1435
  } | null | undefined;
1436
+ warrantsEnabled?: boolean | undefined;
1437
+ totalShares?: number | null | undefined;
1438
+ warrantTermYears?: number | null | undefined;
1439
+ exercisePrice?: number | null | undefined;
1440
+ warrantPercentage?: number | null | undefined;
1441
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1442
+ incrementThreshold?: number | null | undefined;
1443
+ fullyDilutedShares?: number | null | undefined;
1403
1444
  }[];
1404
1445
  meta: {
1405
1446
  itemCount: number;
@@ -1410,6 +1451,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1410
1451
  };
1411
1452
  }>;
1412
1453
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1454
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1413
1455
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1414
1456
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1415
1457
  name: z.ZodString;
@@ -1438,10 +1480,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1438
1480
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1439
1481
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1440
1482
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1441
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1442
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1443
1483
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1445
1484
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1446
1485
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1447
1486
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1478,12 +1517,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1478
1517
  startAmount: number;
1479
1518
  endAmount: number;
1480
1519
  }>, "many">>;
1520
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1521
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1522
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1523
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1524
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1525
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1526
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1481
1527
  }, "strip", z.ZodTypeAny, {
1482
1528
  type: OfferingType;
1483
1529
  name: string;
1484
1530
  template: AssetTemplateType;
1485
1531
  targetAmount: number;
1486
1532
  issuerId: string;
1533
+ warrantsEnabled: boolean;
1487
1534
  assetName: string;
1488
1535
  assetType: AssetType;
1489
1536
  pricePerUnit: number | null;
@@ -1501,15 +1548,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1501
1548
  hasEscrow?: boolean | undefined;
1502
1549
  bankAccountId?: string | null | undefined;
1503
1550
  escrowAccountId?: string | null | undefined;
1551
+ totalShares?: number | null | undefined;
1552
+ warrantTermYears?: number | null | undefined;
1553
+ exercisePrice?: number | null | undefined;
1554
+ warrantPercentage?: number | null | undefined;
1555
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1556
+ incrementThreshold?: number | null | undefined;
1504
1557
  yield?: number | null | undefined;
1505
1558
  duration?: number | null | undefined;
1506
1559
  durationType?: DurationType | null | undefined;
1507
1560
  tiers?: number[] | null | undefined;
1508
1561
  enableBonus?: boolean | undefined;
1509
- principalAmount?: number | null | undefined;
1510
- maxTotalRaise?: number | null | undefined;
1511
1562
  interestRate?: number | null | undefined;
1512
- interestType?: InterestType | null | undefined;
1513
1563
  bonusTiers?: {
1514
1564
  value: number;
1515
1565
  type: import("./bonus-tier.types").BonusType;
@@ -1539,15 +1589,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1539
1589
  hasEscrow?: boolean | undefined;
1540
1590
  bankAccountId?: string | null | undefined;
1541
1591
  escrowAccountId?: string | null | undefined;
1592
+ warrantsEnabled?: boolean | undefined;
1593
+ totalShares?: number | null | undefined;
1594
+ warrantTermYears?: number | null | undefined;
1595
+ exercisePrice?: number | null | undefined;
1596
+ warrantPercentage?: number | null | undefined;
1597
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1598
+ incrementThreshold?: number | null | undefined;
1542
1599
  yield?: number | null | undefined;
1543
1600
  duration?: number | null | undefined;
1544
1601
  durationType?: DurationType | null | undefined;
1545
1602
  tiers?: number[] | null | undefined;
1546
1603
  enableBonus?: boolean | undefined;
1547
- principalAmount?: number | null | undefined;
1548
- maxTotalRaise?: number | null | undefined;
1549
1604
  interestRate?: number | null | undefined;
1550
- interestType?: InterestType | null | undefined;
1551
1605
  bonusTiers?: {
1552
1606
  value: number;
1553
1607
  type: import("./bonus-tier.types").BonusType;
@@ -1560,6 +1614,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1560
1614
  template: AssetTemplateType;
1561
1615
  targetAmount: number;
1562
1616
  issuerId: string;
1617
+ warrantsEnabled: boolean;
1563
1618
  assetName: string;
1564
1619
  assetType: AssetType;
1565
1620
  pricePerUnit: number | null;
@@ -1577,15 +1632,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1577
1632
  hasEscrow?: boolean | undefined;
1578
1633
  bankAccountId?: string | null | undefined;
1579
1634
  escrowAccountId?: string | null | undefined;
1635
+ totalShares?: number | null | undefined;
1636
+ warrantTermYears?: number | null | undefined;
1637
+ exercisePrice?: number | null | undefined;
1638
+ warrantPercentage?: number | null | undefined;
1639
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1640
+ incrementThreshold?: number | null | undefined;
1580
1641
  yield?: number | null | undefined;
1581
1642
  duration?: number | null | undefined;
1582
1643
  durationType?: DurationType | null | undefined;
1583
1644
  tiers?: number[] | null | undefined;
1584
1645
  enableBonus?: boolean | undefined;
1585
- principalAmount?: number | null | undefined;
1586
- maxTotalRaise?: number | null | undefined;
1587
1646
  interestRate?: number | null | undefined;
1588
- interestType?: InterestType | null | undefined;
1589
1647
  bonusTiers?: {
1590
1648
  value: number;
1591
1649
  type: import("./bonus-tier.types").BonusType;
@@ -1615,15 +1673,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1615
1673
  hasEscrow?: boolean | undefined;
1616
1674
  bankAccountId?: string | null | undefined;
1617
1675
  escrowAccountId?: string | null | undefined;
1676
+ warrantsEnabled?: boolean | undefined;
1677
+ totalShares?: number | null | undefined;
1678
+ warrantTermYears?: number | null | undefined;
1679
+ exercisePrice?: number | null | undefined;
1680
+ warrantPercentage?: number | null | undefined;
1681
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1682
+ incrementThreshold?: number | null | undefined;
1618
1683
  yield?: number | null | undefined;
1619
1684
  duration?: number | null | undefined;
1620
1685
  durationType?: DurationType | null | undefined;
1621
1686
  tiers?: number[] | null | undefined;
1622
1687
  enableBonus?: boolean | undefined;
1623
- principalAmount?: number | null | undefined;
1624
- maxTotalRaise?: number | null | undefined;
1625
1688
  interestRate?: number | null | undefined;
1626
- interestType?: InterestType | null | undefined;
1627
1689
  bonusTiers?: {
1628
1690
  value: number;
1629
1691
  type: import("./bonus-tier.types").BonusType;
@@ -1646,7 +1708,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1646
1708
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1647
1709
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1648
1710
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1649
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1650
1711
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1651
1712
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1652
1713
  assetName: z.ZodOptional<z.ZodString>;
@@ -1664,10 +1725,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1664
1725
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1665
1726
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1666
1727
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1667
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1668
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1669
1728
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1670
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1671
1729
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1672
1730
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1673
1731
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1704,10 +1762,16 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1704
1762
  startAmount: number;
1705
1763
  endAmount: number;
1706
1764
  }>, "many">>;
1765
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1766
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1767
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1768
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1769
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1770
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1771
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1707
1772
  }, "strip", z.ZodTypeAny, {
1708
1773
  type?: OfferingType | undefined;
1709
1774
  name?: string | undefined;
1710
- managedBy?: ManagedByType | undefined;
1711
1775
  description?: string | null | undefined;
1712
1776
  enabled?: boolean | undefined;
1713
1777
  template?: AssetTemplateType | null | undefined;
@@ -1727,6 +1791,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1727
1791
  escrowAgreementFileId?: string | null | undefined;
1728
1792
  bankAccountId?: string | null | undefined;
1729
1793
  escrowAccountId?: string | null | undefined;
1794
+ warrantsEnabled?: boolean | undefined;
1795
+ totalShares?: number | null | undefined;
1796
+ warrantTermYears?: number | null | undefined;
1797
+ exercisePrice?: number | null | undefined;
1798
+ warrantPercentage?: number | null | undefined;
1799
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1800
+ incrementThreshold?: number | null | undefined;
1730
1801
  assetName?: string | undefined;
1731
1802
  assetType?: AssetType | undefined;
1732
1803
  pricePerUnit?: number | null | undefined;
@@ -1736,10 +1807,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1736
1807
  durationType?: DurationType | null | undefined;
1737
1808
  tiers?: number[] | null | undefined;
1738
1809
  enableBonus?: boolean | undefined;
1739
- principalAmount?: number | null | undefined;
1740
- maxTotalRaise?: number | null | undefined;
1741
1810
  interestRate?: number | null | undefined;
1742
- interestType?: InterestType | null | undefined;
1743
1811
  bonusTiers?: {
1744
1812
  value: number;
1745
1813
  type: import("./bonus-tier.types").BonusType;
@@ -1749,7 +1817,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1749
1817
  }, {
1750
1818
  type?: OfferingType | undefined;
1751
1819
  name?: string | undefined;
1752
- managedBy?: ManagedByType | undefined;
1753
1820
  description?: string | null | undefined;
1754
1821
  enabled?: boolean | undefined;
1755
1822
  template?: AssetTemplateType | null | undefined;
@@ -1769,6 +1836,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1769
1836
  escrowAgreementFileId?: string | null | undefined;
1770
1837
  bankAccountId?: string | null | undefined;
1771
1838
  escrowAccountId?: string | null | undefined;
1839
+ warrantsEnabled?: boolean | undefined;
1840
+ totalShares?: number | null | undefined;
1841
+ warrantTermYears?: number | null | undefined;
1842
+ exercisePrice?: number | null | undefined;
1843
+ warrantPercentage?: number | null | undefined;
1844
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1845
+ incrementThreshold?: number | null | undefined;
1772
1846
  assetName?: string | undefined;
1773
1847
  assetType?: AssetType | undefined;
1774
1848
  pricePerUnit?: number | null | undefined;
@@ -1778,10 +1852,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1778
1852
  durationType?: DurationType | null | undefined;
1779
1853
  tiers?: number[] | null | undefined;
1780
1854
  enableBonus?: boolean | undefined;
1781
- principalAmount?: number | null | undefined;
1782
- maxTotalRaise?: number | null | undefined;
1783
1855
  interestRate?: number | null | undefined;
1784
- interestType?: InterestType | null | undefined;
1785
1856
  bonusTiers?: {
1786
1857
  value: number;
1787
1858
  type: import("./bonus-tier.types").BonusType;
@@ -1791,7 +1862,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1791
1862
  }>, {
1792
1863
  type?: OfferingType | undefined;
1793
1864
  name?: string | undefined;
1794
- managedBy?: ManagedByType | undefined;
1795
1865
  description?: string | null | undefined;
1796
1866
  enabled?: boolean | undefined;
1797
1867
  template?: AssetTemplateType | null | undefined;
@@ -1811,6 +1881,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1811
1881
  escrowAgreementFileId?: string | null | undefined;
1812
1882
  bankAccountId?: string | null | undefined;
1813
1883
  escrowAccountId?: string | null | undefined;
1884
+ warrantsEnabled?: boolean | undefined;
1885
+ totalShares?: number | null | undefined;
1886
+ warrantTermYears?: number | null | undefined;
1887
+ exercisePrice?: number | null | undefined;
1888
+ warrantPercentage?: number | null | undefined;
1889
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1890
+ incrementThreshold?: number | null | undefined;
1814
1891
  assetName?: string | undefined;
1815
1892
  assetType?: AssetType | undefined;
1816
1893
  pricePerUnit?: number | null | undefined;
@@ -1820,10 +1897,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1820
1897
  durationType?: DurationType | null | undefined;
1821
1898
  tiers?: number[] | null | undefined;
1822
1899
  enableBonus?: boolean | undefined;
1823
- principalAmount?: number | null | undefined;
1824
- maxTotalRaise?: number | null | undefined;
1825
1900
  interestRate?: number | null | undefined;
1826
- interestType?: InterestType | null | undefined;
1827
1901
  bonusTiers?: {
1828
1902
  value: number;
1829
1903
  type: import("./bonus-tier.types").BonusType;
@@ -1833,7 +1907,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1833
1907
  }, {
1834
1908
  type?: OfferingType | undefined;
1835
1909
  name?: string | undefined;
1836
- managedBy?: ManagedByType | undefined;
1837
1910
  description?: string | null | undefined;
1838
1911
  enabled?: boolean | undefined;
1839
1912
  template?: AssetTemplateType | null | undefined;
@@ -1853,6 +1926,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1853
1926
  escrowAgreementFileId?: string | null | undefined;
1854
1927
  bankAccountId?: string | null | undefined;
1855
1928
  escrowAccountId?: string | null | undefined;
1929
+ warrantsEnabled?: boolean | undefined;
1930
+ totalShares?: number | null | undefined;
1931
+ warrantTermYears?: number | null | undefined;
1932
+ exercisePrice?: number | null | undefined;
1933
+ warrantPercentage?: number | null | undefined;
1934
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1935
+ incrementThreshold?: number | null | undefined;
1856
1936
  assetName?: string | undefined;
1857
1937
  assetType?: AssetType | undefined;
1858
1938
  pricePerUnit?: number | null | undefined;
@@ -1862,10 +1942,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1862
1942
  durationType?: DurationType | null | undefined;
1863
1943
  tiers?: number[] | null | undefined;
1864
1944
  enableBonus?: boolean | undefined;
1865
- principalAmount?: number | null | undefined;
1866
- maxTotalRaise?: number | null | undefined;
1867
1945
  interestRate?: number | null | undefined;
1868
- interestType?: InterestType | null | undefined;
1869
1946
  bonusTiers?: {
1870
1947
  value: number;
1871
1948
  type: import("./bonus-tier.types").BonusType;
@@ -1959,3 +2036,13 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1959
2036
  }>;
1960
2037
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1961
2038
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2039
+ /**
2040
+ * Adds validation issues to the context if warrant-related fields are missing
2041
+ * when warrants are enabled on an offering. This function checks required fields for
2042
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2043
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2044
+ *
2045
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2046
+ * @param ctx - The Zod refinement context to which validation issues will be added
2047
+ */
2048
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;