@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.fb640f0

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 (59) 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 +41 -0
  22. package/common/types/disbursements.types.js +3 -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/issuer-offering.types.d.ts +160 -68
  34. package/common/types/issuer-offering.types.js +148 -37
  35. package/common/types/issuer-offering.types.js.map +1 -1
  36. package/common/types/job-item.types.d.ts +14 -14
  37. package/common/types/note.types.d.ts +15 -15
  38. package/common/types/offering-submission.types.d.ts +198 -0
  39. package/common/types/offering-submission.types.js +16 -3
  40. package/common/types/offering-submission.types.js.map +1 -1
  41. package/common/types/offering.types.d.ts +216 -41
  42. package/common/types/offering.types.js +164 -38
  43. package/common/types/offering.types.js.map +1 -1
  44. package/common/types/reports.types.d.ts +345 -0
  45. package/common/types/reports.types.js +69 -0
  46. package/common/types/reports.types.js.map +1 -0
  47. package/common/types/site.types.d.ts +0 -15
  48. package/common/types/task.types.d.ts +22 -22
  49. package/common/types/trade.types.js +1 -0
  50. package/common/types/trade.types.js.map +1 -1
  51. package/common/types/user.types.d.ts +107 -59
  52. package/common/types/user.types.js +7 -1
  53. package/common/types/user.types.js.map +1 -1
  54. package/contracts/clients/assets/index.d.ts +0 -66
  55. package/contracts/clients/files/index.d.ts +3 -3
  56. package/contracts/clients/files-public/index.d.ts +3 -3
  57. package/contracts/clients/index.d.ts +76 -102
  58. package/contracts/clients/offerings/index.d.ts +70 -30
  59. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType } from './common.types';
2
+ import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType, WarrantSharesCalculationMethod } from './common.types';
3
3
  import { OfferingStatus } from './issuer-offering.types';
4
- import { AssetTemplateType, InterestType } from './asset.types';
4
+ import { AssetTemplateType } from './asset.types';
5
5
  export declare enum OfferingFeeType {
6
6
  FIXED = "FIXED",
7
7
  PERCENTAGE = "PERCENTAGE"
@@ -225,10 +225,7 @@ export declare const PatchOffering: z.ZodObject<{
225
225
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
226
226
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
227
227
  enableBonus: z.ZodOptional<z.ZodBoolean>;
228
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
229
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
230
228
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
231
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
232
229
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
233
230
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
234
231
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -269,6 +266,13 @@ export declare const PatchOffering: z.ZodObject<{
269
266
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
270
267
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
271
268
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
269
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
270
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
271
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
273
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
274
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
275
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
272
276
  }, "strip", z.ZodTypeAny, {
273
277
  platformSettings: string | null;
274
278
  type?: OfferingType | undefined;
@@ -296,6 +300,13 @@ export declare const PatchOffering: z.ZodObject<{
296
300
  escrowAgreementFileId?: string | null | undefined;
297
301
  bankAccountId?: string | null | undefined;
298
302
  escrowAccountId?: string | null | undefined;
303
+ warrantsEnabled?: boolean | undefined;
304
+ totalShares?: number | null | undefined;
305
+ warrantTermYears?: number | null | undefined;
306
+ exercisePrice?: number | null | undefined;
307
+ warrantPercentage?: number | null | undefined;
308
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
309
+ incrementThreshold?: number | null | undefined;
299
310
  assetName?: string | undefined;
300
311
  assetType?: AssetType | undefined;
301
312
  pricePerUnit?: number | null | undefined;
@@ -305,10 +316,7 @@ export declare const PatchOffering: z.ZodObject<{
305
316
  durationType?: DurationType | null | undefined;
306
317
  tiers?: number[] | null | undefined;
307
318
  enableBonus?: boolean | undefined;
308
- principalAmount?: number | null | undefined;
309
- maxTotalRaise?: number | null | undefined;
310
319
  interestRate?: number | null | undefined;
311
- interestType?: InterestType | null | undefined;
312
320
  bonusTiers?: {
313
321
  value: number;
314
322
  type: import("./bonus-tier.types").BonusType;
@@ -350,6 +358,13 @@ export declare const PatchOffering: z.ZodObject<{
350
358
  escrowAgreementFileId?: string | null | undefined;
351
359
  bankAccountId?: string | null | undefined;
352
360
  escrowAccountId?: string | null | undefined;
361
+ warrantsEnabled?: boolean | undefined;
362
+ totalShares?: number | null | undefined;
363
+ warrantTermYears?: number | null | undefined;
364
+ exercisePrice?: number | null | undefined;
365
+ warrantPercentage?: number | null | undefined;
366
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
367
+ incrementThreshold?: number | null | undefined;
353
368
  assetName?: string | undefined;
354
369
  assetType?: AssetType | undefined;
355
370
  pricePerUnit?: number | null | undefined;
@@ -359,10 +374,7 @@ export declare const PatchOffering: z.ZodObject<{
359
374
  durationType?: DurationType | null | undefined;
360
375
  tiers?: number[] | null | undefined;
361
376
  enableBonus?: boolean | undefined;
362
- principalAmount?: number | null | undefined;
363
- maxTotalRaise?: number | null | undefined;
364
377
  interestRate?: number | null | undefined;
365
- interestType?: InterestType | null | undefined;
366
378
  bonusTiers?: {
367
379
  value: number;
368
380
  type: import("./bonus-tier.types").BonusType;
@@ -374,6 +386,48 @@ export declare const PatchOffering: z.ZodObject<{
374
386
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
375
387
  }>;
376
388
  export type PatchOffering = z.infer<typeof PatchOffering>;
389
+ /**
390
+ * Optional params for resolveAndValidateOfferingUpdateFields.
391
+ * All fields are optional and nullable; resolution merges with offering/asset values.
392
+ */
393
+ export declare const ResolveOfferingUpdateFieldsParamsZod: z.ZodObject<{
394
+ minInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
395
+ maxInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
396
+ targetAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
397
+ pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
398
+ }, "strip", z.ZodTypeAny, {
399
+ targetAmount?: number | null | undefined;
400
+ minInvestment?: number | null | undefined;
401
+ maxInvestment?: number | null | undefined;
402
+ pricePerUnit?: number | null | undefined;
403
+ }, {
404
+ targetAmount?: number | null | undefined;
405
+ minInvestment?: number | null | undefined;
406
+ maxInvestment?: number | null | undefined;
407
+ pricePerUnit?: number | null | undefined;
408
+ }>;
409
+ export type ResolveOfferingUpdateFieldsParams = z.infer<typeof ResolveOfferingUpdateFieldsParamsZod>;
410
+ /**
411
+ * Resolved, validated offering update fields (price per unit, target amount, min/max investment).
412
+ * Returned by resolveAndValidateOfferingUpdateFields and passed into validateBonusTiersForUpdate.
413
+ */
414
+ export declare const ResolvedOfferingUpdateFieldsZod: z.ZodObject<{
415
+ pricePerUnit: z.ZodNumber;
416
+ targetAmount: z.ZodNumber;
417
+ minInvestment: z.ZodNullable<z.ZodNumber>;
418
+ maxInvestment: z.ZodNullable<z.ZodNumber>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ targetAmount: number;
421
+ minInvestment: number | null;
422
+ maxInvestment: number | null;
423
+ pricePerUnit: number;
424
+ }, {
425
+ targetAmount: number;
426
+ minInvestment: number | null;
427
+ maxInvestment: number | null;
428
+ pricePerUnit: number;
429
+ }>;
430
+ export type ResolvedOfferingUpdateFields = z.infer<typeof ResolvedOfferingUpdateFieldsZod>;
377
431
  export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
378
432
  name: z.ZodOptional<z.ZodString>;
379
433
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -434,10 +488,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
434
488
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
435
489
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
436
490
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
437
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
491
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
440
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
441
492
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
442
493
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
443
494
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -474,10 +525,18 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
474
525
  startAmount: number;
475
526
  endAmount: number;
476
527
  }>, "many">>;
528
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
529
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
530
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
531
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
532
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
533
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
534
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
477
535
  }, "strip", z.ZodTypeAny, {
478
536
  accountId: string;
479
537
  template: AssetTemplateType;
480
538
  platformSettings: string | null;
539
+ warrantsEnabled: boolean;
481
540
  assetName: string;
482
541
  assetType: AssetType;
483
542
  pricePerUnit: number | null;
@@ -505,15 +564,18 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
505
564
  hasEscrow?: boolean | undefined;
506
565
  bankAccountId?: string | null | undefined;
507
566
  escrowAccountId?: string | null | undefined;
567
+ totalShares?: number | null | undefined;
568
+ warrantTermYears?: number | null | undefined;
569
+ exercisePrice?: number | null | undefined;
570
+ warrantPercentage?: number | null | undefined;
571
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
572
+ incrementThreshold?: number | null | undefined;
508
573
  yield?: number | null | undefined;
509
574
  duration?: number | null | undefined;
510
575
  durationType?: DurationType | null | undefined;
511
576
  tiers?: number[] | null | undefined;
512
577
  enableBonus?: boolean | undefined;
513
- principalAmount?: number | null | undefined;
514
- maxTotalRaise?: number | null | undefined;
515
578
  interestRate?: number | null | undefined;
516
- interestType?: InterestType | null | undefined;
517
579
  bonusTiers?: {
518
580
  value: number;
519
581
  type: import("./bonus-tier.types").BonusType;
@@ -559,15 +621,19 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
559
621
  hasEscrow?: boolean | undefined;
560
622
  bankAccountId?: string | null | undefined;
561
623
  escrowAccountId?: string | null | undefined;
624
+ warrantsEnabled?: boolean | undefined;
625
+ totalShares?: number | null | undefined;
626
+ warrantTermYears?: number | null | undefined;
627
+ exercisePrice?: number | null | undefined;
628
+ warrantPercentage?: number | null | undefined;
629
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
630
+ incrementThreshold?: number | null | undefined;
562
631
  yield?: number | null | undefined;
563
632
  duration?: number | null | undefined;
564
633
  durationType?: DurationType | null | undefined;
565
634
  tiers?: number[] | null | undefined;
566
635
  enableBonus?: boolean | undefined;
567
- principalAmount?: number | null | undefined;
568
- maxTotalRaise?: number | null | undefined;
569
636
  interestRate?: number | null | undefined;
570
- interestType?: InterestType | null | undefined;
571
637
  bonusTiers?: {
572
638
  value: number;
573
639
  type: import("./bonus-tier.types").BonusType;
@@ -581,6 +647,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
581
647
  accountId: string;
582
648
  template: AssetTemplateType;
583
649
  platformSettings: string | null;
650
+ warrantsEnabled: boolean;
584
651
  assetName: string;
585
652
  assetType: AssetType;
586
653
  pricePerUnit: number | null;
@@ -608,15 +675,18 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
608
675
  hasEscrow?: boolean | undefined;
609
676
  bankAccountId?: string | null | undefined;
610
677
  escrowAccountId?: string | null | undefined;
678
+ totalShares?: number | null | undefined;
679
+ warrantTermYears?: number | null | undefined;
680
+ exercisePrice?: number | null | undefined;
681
+ warrantPercentage?: number | null | undefined;
682
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
683
+ incrementThreshold?: number | null | undefined;
611
684
  yield?: number | null | undefined;
612
685
  duration?: number | null | undefined;
613
686
  durationType?: DurationType | null | undefined;
614
687
  tiers?: number[] | null | undefined;
615
688
  enableBonus?: boolean | undefined;
616
- principalAmount?: number | null | undefined;
617
- maxTotalRaise?: number | null | undefined;
618
689
  interestRate?: number | null | undefined;
619
- interestType?: InterestType | null | undefined;
620
690
  bonusTiers?: {
621
691
  value: number;
622
692
  type: import("./bonus-tier.types").BonusType;
@@ -662,15 +732,19 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
662
732
  hasEscrow?: boolean | undefined;
663
733
  bankAccountId?: string | null | undefined;
664
734
  escrowAccountId?: string | null | undefined;
735
+ warrantsEnabled?: boolean | undefined;
736
+ totalShares?: number | null | undefined;
737
+ warrantTermYears?: number | null | undefined;
738
+ exercisePrice?: number | null | undefined;
739
+ warrantPercentage?: number | null | undefined;
740
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
741
+ incrementThreshold?: number | null | undefined;
665
742
  yield?: number | null | undefined;
666
743
  duration?: number | null | undefined;
667
744
  durationType?: DurationType | null | undefined;
668
745
  tiers?: number[] | null | undefined;
669
746
  enableBonus?: boolean | undefined;
670
- principalAmount?: number | null | undefined;
671
- maxTotalRaise?: number | null | undefined;
672
747
  interestRate?: number | null | undefined;
673
- interestType?: InterestType | null | undefined;
674
748
  bonusTiers?: {
675
749
  value: number;
676
750
  type: import("./bonus-tier.types").BonusType;
@@ -1231,10 +1305,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1231
1305
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
1232
1306
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1233
1307
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1234
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1235
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1236
1308
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1237
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1238
1309
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1239
1310
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1240
1311
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1275,6 +1346,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1275
1346
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1276
1347
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1277
1348
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1349
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1350
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1351
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1352
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1353
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1354
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1355
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1278
1356
  }, "strip", z.ZodTypeAny, {
1279
1357
  platformSettings: string | null;
1280
1358
  type?: OfferingType | undefined;
@@ -1302,6 +1380,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1302
1380
  escrowAgreementFileId?: string | null | undefined;
1303
1381
  bankAccountId?: string | null | undefined;
1304
1382
  escrowAccountId?: string | null | undefined;
1383
+ warrantsEnabled?: boolean | undefined;
1384
+ totalShares?: number | null | undefined;
1385
+ warrantTermYears?: number | null | undefined;
1386
+ exercisePrice?: number | null | undefined;
1387
+ warrantPercentage?: number | null | undefined;
1388
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1389
+ incrementThreshold?: number | null | undefined;
1305
1390
  assetName?: string | undefined;
1306
1391
  assetType?: AssetType | undefined;
1307
1392
  pricePerUnit?: number | null | undefined;
@@ -1311,10 +1396,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1311
1396
  durationType?: DurationType | null | undefined;
1312
1397
  tiers?: number[] | null | undefined;
1313
1398
  enableBonus?: boolean | undefined;
1314
- principalAmount?: number | null | undefined;
1315
- maxTotalRaise?: number | null | undefined;
1316
1399
  interestRate?: number | null | undefined;
1317
- interestType?: InterestType | null | undefined;
1318
1400
  bonusTiers?: {
1319
1401
  value: number;
1320
1402
  type: import("./bonus-tier.types").BonusType;
@@ -1356,6 +1438,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1356
1438
  escrowAgreementFileId?: string | null | undefined;
1357
1439
  bankAccountId?: string | null | undefined;
1358
1440
  escrowAccountId?: string | null | undefined;
1441
+ warrantsEnabled?: boolean | undefined;
1442
+ totalShares?: number | null | undefined;
1443
+ warrantTermYears?: number | null | undefined;
1444
+ exercisePrice?: number | null | undefined;
1445
+ warrantPercentage?: number | null | undefined;
1446
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1447
+ incrementThreshold?: number | null | undefined;
1359
1448
  assetName?: string | undefined;
1360
1449
  assetType?: AssetType | undefined;
1361
1450
  pricePerUnit?: number | null | undefined;
@@ -1365,10 +1454,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1365
1454
  durationType?: DurationType | null | undefined;
1366
1455
  tiers?: number[] | null | undefined;
1367
1456
  enableBonus?: boolean | undefined;
1368
- principalAmount?: number | null | undefined;
1369
- maxTotalRaise?: number | null | undefined;
1370
1457
  interestRate?: number | null | undefined;
1371
- interestType?: InterestType | null | undefined;
1372
1458
  bonusTiers?: {
1373
1459
  value: number;
1374
1460
  type: import("./bonus-tier.types").BonusType;
@@ -1636,6 +1722,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1636
1722
  escrowAgreementFileId?: string | null | undefined;
1637
1723
  bankAccountId?: string | null | undefined;
1638
1724
  escrowAccountId?: string | null | undefined;
1725
+ warrantsEnabled?: boolean | undefined;
1726
+ totalShares?: number | null | undefined;
1727
+ warrantTermYears?: number | null | undefined;
1728
+ exercisePrice?: number | null | undefined;
1729
+ warrantPercentage?: number | null | undefined;
1730
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1731
+ incrementThreshold?: number | null | undefined;
1639
1732
  assetName?: string | undefined;
1640
1733
  assetType?: AssetType | undefined;
1641
1734
  pricePerUnit?: number | null | undefined;
@@ -1645,10 +1738,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1645
1738
  durationType?: DurationType | null | undefined;
1646
1739
  tiers?: number[] | null | undefined;
1647
1740
  enableBonus?: boolean | undefined;
1648
- principalAmount?: number | null | undefined;
1649
- maxTotalRaise?: number | null | undefined;
1650
1741
  interestRate?: number | null | undefined;
1651
- interestType?: InterestType | null | undefined;
1652
1742
  bonusTiers?: {
1653
1743
  value: number;
1654
1744
  type: import("./bonus-tier.types").BonusType;
@@ -1701,6 +1791,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1701
1791
  escrowAgreementFileId?: string | null | undefined;
1702
1792
  bankAccountId?: string | null | undefined;
1703
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;
1704
1801
  assetName?: string | undefined;
1705
1802
  assetType?: AssetType | undefined;
1706
1803
  pricePerUnit?: number | null | undefined;
@@ -1710,10 +1807,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1710
1807
  durationType?: DurationType | null | undefined;
1711
1808
  tiers?: number[] | null | undefined;
1712
1809
  enableBonus?: boolean | undefined;
1713
- principalAmount?: number | null | undefined;
1714
- maxTotalRaise?: number | null | undefined;
1715
1810
  interestRate?: number | null | undefined;
1716
- interestType?: InterestType | null | undefined;
1717
1811
  bonusTiers?: {
1718
1812
  value: number;
1719
1813
  type: import("./bonus-tier.types").BonusType;
@@ -2652,3 +2746,84 @@ export declare const EscrowValidationContextZod: z.ZodObject<{
2652
2746
  currentEscrowAgreementFileId: string | null;
2653
2747
  }>;
2654
2748
  export type EscrowValidationContext = z.infer<typeof EscrowValidationContextZod>;
2749
+ /**
2750
+ * Shape of warrant fields shared by Offering and OfferingRevision for validation.
2751
+ */
2752
+ export declare const WarrantSharesBaseZod: z.ZodObject<{
2753
+ warrantsEnabled: z.ZodBoolean;
2754
+ totalShares: z.ZodNullable<z.ZodNumber>;
2755
+ warrantTermYears: z.ZodNullable<z.ZodNumber>;
2756
+ exercisePrice: z.ZodNullable<z.ZodNumber>;
2757
+ warrantPercentage: z.ZodNullable<z.ZodNumber>;
2758
+ calculationMethod: z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>;
2759
+ incrementThreshold: z.ZodNullable<z.ZodNumber>;
2760
+ fullyDilutedShares: z.ZodNullable<z.ZodNumber>;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ warrantsEnabled: boolean;
2763
+ totalShares: number | null;
2764
+ warrantTermYears: number | null;
2765
+ exercisePrice: number | null;
2766
+ warrantPercentage: number | null;
2767
+ calculationMethod: WarrantSharesCalculationMethod | null;
2768
+ incrementThreshold: number | null;
2769
+ fullyDilutedShares: number | null;
2770
+ }, {
2771
+ warrantsEnabled: boolean;
2772
+ totalShares: number | null;
2773
+ warrantTermYears: number | null;
2774
+ exercisePrice: number | null;
2775
+ warrantPercentage: number | null;
2776
+ calculationMethod: WarrantSharesCalculationMethod | null;
2777
+ incrementThreshold: number | null;
2778
+ fullyDilutedShares: number | null;
2779
+ }>;
2780
+ export type WarrantSharesBase = z.infer<typeof WarrantSharesBaseZod>;
2781
+ /**
2782
+ * All warrant field keys used when picking warrant data from base or patch.
2783
+ */
2784
+ export declare const WARRANT_FIELD_KEYS: (keyof WarrantSharesBase)[];
2785
+ /**
2786
+ * Warrant field keys required when enabling warrants (turning warrants on).
2787
+ */
2788
+ export declare const WARRANT_REQUIRED_WHEN_ENABLED_KEYS: (keyof WarrantSharesBase)[];
2789
+ /**
2790
+ * Patch input for warrant validation (optional warrant fields from PATCH body).
2791
+ */
2792
+ export declare const WarrantValidationDataZod: z.ZodObject<{
2793
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
2794
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2795
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2796
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2797
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2798
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
2799
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2800
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2801
+ }, "strip", z.ZodTypeAny, {
2802
+ warrantsEnabled?: boolean | undefined;
2803
+ totalShares?: number | null | undefined;
2804
+ warrantTermYears?: number | null | undefined;
2805
+ exercisePrice?: number | null | undefined;
2806
+ warrantPercentage?: number | null | undefined;
2807
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2808
+ incrementThreshold?: number | null | undefined;
2809
+ fullyDilutedShares?: number | null | undefined;
2810
+ }, {
2811
+ warrantsEnabled?: boolean | undefined;
2812
+ totalShares?: number | null | undefined;
2813
+ warrantTermYears?: number | null | undefined;
2814
+ exercisePrice?: number | null | undefined;
2815
+ warrantPercentage?: number | null | undefined;
2816
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2817
+ incrementThreshold?: number | null | undefined;
2818
+ fullyDilutedShares?: number | null | undefined;
2819
+ }>;
2820
+ export type WarrantValidationData = z.infer<typeof WarrantValidationDataZod>;
2821
+ /**
2822
+ * Validated warrant payload to persist on revision and offering.
2823
+ */
2824
+ export type WarrantValidationResult = WarrantSharesBase;
2825
+ /**
2826
+ * Warrant-related fields to reset (nullify) when warrants are disabled.
2827
+ * Used when warrantsEnabled is set to false so revision and offering stay in sync.
2828
+ */
2829
+ export declare const WARRANT_DISABLED_FIELD_RESETS: WarrantValidationResult;