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

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 (76) 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 +834 -0
  25. package/common/types/disbursements.types.js +63 -0
  26. package/common/types/disbursements.types.js.map +1 -1
  27. package/common/types/escrow-account.types.d.ts +17 -0
  28. package/common/types/escrow-account.types.js +3 -0
  29. package/common/types/escrow-account.types.js.map +1 -1
  30. package/common/types/exchange-provider.types.d.ts +12 -12
  31. package/common/types/file.types.d.ts +30 -9
  32. package/common/types/file.types.js +9 -0
  33. package/common/types/file.types.js.map +1 -1
  34. package/common/types/index.d.ts +3 -0
  35. package/common/types/index.js +3 -0
  36. package/common/types/index.js.map +1 -1
  37. package/common/types/investor-account.types.d.ts +1 -1
  38. package/common/types/investor-account.types.js +1 -2
  39. package/common/types/investor-account.types.js.map +1 -1
  40. package/common/types/invite.types.d.ts +2 -2
  41. package/common/types/invite.types.js +1 -1
  42. package/common/types/invite.types.js.map +1 -1
  43. package/common/types/issuer-offering.types.d.ts +181 -77
  44. package/common/types/issuer-offering.types.js +180 -45
  45. package/common/types/issuer-offering.types.js.map +1 -1
  46. package/common/types/job-item.types.d.ts +14 -14
  47. package/common/types/note.types.d.ts +15 -15
  48. package/common/types/offering-submission.types.d.ts +198 -0
  49. package/common/types/offering-submission.types.js +16 -3
  50. package/common/types/offering-submission.types.js.map +1 -1
  51. package/common/types/offering.types.d.ts +255 -60
  52. package/common/types/offering.types.js +205 -53
  53. package/common/types/offering.types.js.map +1 -1
  54. package/common/types/portfolio.types.d.ts +6 -6
  55. package/common/types/reports.types.d.ts +345 -0
  56. package/common/types/reports.types.js +69 -0
  57. package/common/types/reports.types.js.map +1 -0
  58. package/common/types/secondary-order.types.d.ts +10 -10
  59. package/common/types/secondary-trade.types.d.ts +10 -10
  60. package/common/types/site.types.d.ts +12 -27
  61. package/common/types/task.types.d.ts +22 -22
  62. package/common/types/trade.types.d.ts +9 -0
  63. package/common/types/trade.types.js +2 -0
  64. package/common/types/trade.types.js.map +1 -1
  65. package/common/types/transaction.types.d.ts +0 -1
  66. package/common/types/transaction.types.js +0 -1
  67. package/common/types/transaction.types.js.map +1 -1
  68. package/common/types/user.types.d.ts +191 -59
  69. package/common/types/user.types.js +9 -1
  70. package/common/types/user.types.js.map +1 -1
  71. package/contracts/clients/assets/index.d.ts +0 -66
  72. package/contracts/clients/files/index.d.ts +3 -3
  73. package/contracts/clients/files-public/index.d.ts +3 -3
  74. package/contracts/clients/index.d.ts +89 -105
  75. package/contracts/clients/offerings/index.d.ts +83 -33
  76. 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;
@@ -236,6 +222,7 @@ export declare const IIssuerOffering: z.ZodObject<{
236
222
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
237
223
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
238
224
  } & {
225
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
226
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
240
227
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
228
  accountName: z.ZodString;
@@ -309,6 +296,7 @@ export declare const IIssuerOffering: z.ZodObject<{
309
296
  } | null | undefined;
310
297
  accountNumber?: string | null | undefined;
311
298
  routingNumber?: string | null | undefined;
299
+ company?: string | null | undefined;
312
300
  }, {
313
301
  id: string;
314
302
  createdAt: string | Date;
@@ -335,7 +323,17 @@ export declare const IIssuerOffering: z.ZodObject<{
335
323
  } | null | undefined;
336
324
  accountNumber?: string | null | undefined;
337
325
  routingNumber?: string | null | undefined;
326
+ company?: string | null | undefined;
338
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>>;
339
337
  }, "strip", z.ZodTypeAny, {
340
338
  type: OfferingType | null;
341
339
  id: string;
@@ -380,10 +378,7 @@ export declare const IIssuerOffering: z.ZodObject<{
380
378
  durationType: DurationType | null;
381
379
  tiers: number[] | null;
382
380
  enableBonus: boolean;
383
- principalAmount: number | null;
384
- maxTotalRaise: number | null;
385
381
  interestRate: number | null;
386
- interestType: InterestType | null;
387
382
  __entity?: string | undefined;
388
383
  account?: {
389
384
  status: import("./common.types").AccountStatus;
@@ -452,7 +447,17 @@ export declare const IIssuerOffering: z.ZodObject<{
452
447
  } | null | undefined;
453
448
  accountNumber?: string | null | undefined;
454
449
  routingNumber?: string | null | undefined;
450
+ company?: string | null | undefined;
455
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;
456
461
  }, {
457
462
  type: OfferingType | null;
458
463
  id: string;
@@ -497,10 +502,7 @@ export declare const IIssuerOffering: z.ZodObject<{
497
502
  durationType: DurationType | null;
498
503
  tiers: number[] | null;
499
504
  enableBonus: boolean;
500
- principalAmount: number | null;
501
- maxTotalRaise: number | null;
502
505
  interestRate: number | null;
503
- interestType: InterestType | null;
504
506
  __entity?: string | undefined;
505
507
  account?: {
506
508
  status: import("./common.types").AccountStatus;
@@ -569,7 +571,17 @@ export declare const IIssuerOffering: z.ZodObject<{
569
571
  } | null | undefined;
570
572
  accountNumber?: string | null | undefined;
571
573
  routingNumber?: string | null | undefined;
574
+ company?: string | null | undefined;
572
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;
573
585
  }>;
574
586
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
575
587
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -700,10 +712,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
700
712
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
701
713
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
702
714
  enableBonus: z.ZodBoolean;
703
- principalAmount: z.ZodNullable<z.ZodNumber>;
704
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
705
715
  interestRate: z.ZodNullable<z.ZodNumber>;
706
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
707
716
  }, "strip", z.ZodTypeAny, {
708
717
  type: AssetType | null;
709
718
  id: string;
@@ -722,10 +731,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
722
731
  durationType: DurationType | null;
723
732
  tiers: number[] | null;
724
733
  enableBonus: boolean;
725
- principalAmount: number | null;
726
- maxTotalRaise: number | null;
727
734
  interestRate: number | null;
728
- interestType: InterestType | null;
729
735
  __entity?: string | undefined;
730
736
  account?: {
731
737
  status: import("./common.types").AccountStatus;
@@ -760,10 +766,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
760
766
  durationType: DurationType | null;
761
767
  tiers: number[] | null;
762
768
  enableBonus: boolean;
763
- principalAmount: number | null;
764
- maxTotalRaise: number | null;
765
769
  interestRate: number | null;
766
- interestType: InterestType | null;
767
770
  __entity?: string | undefined;
768
771
  account?: {
769
772
  status: import("./common.types").AccountStatus;
@@ -802,6 +805,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
802
805
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
803
806
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
804
807
  } & {
808
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
805
809
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
806
810
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
807
811
  accountName: z.ZodString;
@@ -875,6 +879,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
875
879
  } | null | undefined;
876
880
  accountNumber?: string | null | undefined;
877
881
  routingNumber?: string | null | undefined;
882
+ company?: string | null | undefined;
878
883
  }, {
879
884
  id: string;
880
885
  createdAt: string | Date;
@@ -901,7 +906,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
901
906
  } | null | undefined;
902
907
  accountNumber?: string | null | undefined;
903
908
  routingNumber?: string | null | undefined;
909
+ company?: string | null | undefined;
904
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>>;
905
920
  }, "strip", z.ZodTypeAny, {
906
921
  type: OfferingType | null;
907
922
  id: string;
@@ -946,10 +961,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
946
961
  durationType: DurationType | null;
947
962
  tiers: number[] | null;
948
963
  enableBonus: boolean;
949
- principalAmount: number | null;
950
- maxTotalRaise: number | null;
951
964
  interestRate: number | null;
952
- interestType: InterestType | null;
953
965
  __entity?: string | undefined;
954
966
  account?: {
955
967
  status: import("./common.types").AccountStatus;
@@ -1018,7 +1030,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1018
1030
  } | null | undefined;
1019
1031
  accountNumber?: string | null | undefined;
1020
1032
  routingNumber?: string | null | undefined;
1033
+ company?: string | null | undefined;
1021
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;
1022
1044
  }, {
1023
1045
  type: OfferingType | null;
1024
1046
  id: string;
@@ -1063,10 +1085,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1063
1085
  durationType: DurationType | null;
1064
1086
  tiers: number[] | null;
1065
1087
  enableBonus: boolean;
1066
- principalAmount: number | null;
1067
- maxTotalRaise: number | null;
1068
1088
  interestRate: number | null;
1069
- interestType: InterestType | null;
1070
1089
  __entity?: string | undefined;
1071
1090
  account?: {
1072
1091
  status: import("./common.types").AccountStatus;
@@ -1135,7 +1154,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1135
1154
  } | null | undefined;
1136
1155
  accountNumber?: string | null | undefined;
1137
1156
  routingNumber?: string | null | undefined;
1157
+ company?: string | null | undefined;
1138
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;
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,17 @@ 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;
1312
+ shareClassId?: string | null | undefined;
1277
1313
  }[];
1278
1314
  meta: {
1279
1315
  itemCount: number;
@@ -1327,10 +1363,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1327
1363
  durationType: DurationType | null;
1328
1364
  tiers: number[] | null;
1329
1365
  enableBonus: boolean;
1330
- principalAmount: number | null;
1331
- maxTotalRaise: number | null;
1332
1366
  interestRate: number | null;
1333
- interestType: InterestType | null;
1334
1367
  __entity?: string | undefined;
1335
1368
  account?: {
1336
1369
  status: import("./common.types").AccountStatus;
@@ -1399,7 +1432,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1399
1432
  } | null | undefined;
1400
1433
  accountNumber?: string | null | undefined;
1401
1434
  routingNumber?: string | null | undefined;
1435
+ company?: string | null | undefined;
1402
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;
1403
1446
  }[];
1404
1447
  meta: {
1405
1448
  itemCount: number;
@@ -1410,8 +1453,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1410
1453
  };
1411
1454
  }>;
1412
1455
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1456
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1413
1457
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1414
1458
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1459
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1415
1460
  name: z.ZodString;
1416
1461
  type: z.ZodNativeEnum<typeof OfferingType>;
1417
1462
  targetAmount: z.ZodNumber;
@@ -1438,10 +1483,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1438
1483
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1439
1484
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1440
1485
  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
1486
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1445
1487
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1446
1488
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1447
1489
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1478,12 +1520,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1478
1520
  startAmount: number;
1479
1521
  endAmount: number;
1480
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>>>;
1481
1530
  }, "strip", z.ZodTypeAny, {
1482
1531
  type: OfferingType;
1483
1532
  name: string;
1484
1533
  template: AssetTemplateType;
1485
1534
  targetAmount: number;
1486
1535
  issuerId: string;
1536
+ warrantsEnabled: boolean;
1487
1537
  assetName: string;
1488
1538
  assetType: AssetType;
1489
1539
  pricePerUnit: number | null;
@@ -1501,15 +1551,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1501
1551
  hasEscrow?: boolean | undefined;
1502
1552
  bankAccountId?: string | null | undefined;
1503
1553
  escrowAccountId?: string | null | undefined;
1554
+ totalShares?: number | null | undefined;
1555
+ warrantTermYears?: number | null | undefined;
1556
+ exercisePrice?: number | null | undefined;
1557
+ warrantPercentage?: number | null | undefined;
1558
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1559
+ incrementThreshold?: number | null | undefined;
1560
+ shareClassId?: string | null | undefined;
1504
1561
  yield?: number | null | undefined;
1505
1562
  duration?: number | null | undefined;
1506
1563
  durationType?: DurationType | null | undefined;
1507
1564
  tiers?: number[] | null | undefined;
1508
1565
  enableBonus?: boolean | undefined;
1509
- principalAmount?: number | null | undefined;
1510
- maxTotalRaise?: number | null | undefined;
1511
1566
  interestRate?: number | null | undefined;
1512
- interestType?: InterestType | null | undefined;
1513
1567
  bonusTiers?: {
1514
1568
  value: number;
1515
1569
  type: import("./bonus-tier.types").BonusType;
@@ -1539,15 +1593,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1539
1593
  hasEscrow?: boolean | undefined;
1540
1594
  bankAccountId?: string | null | undefined;
1541
1595
  escrowAccountId?: string | null | undefined;
1596
+ warrantsEnabled?: boolean | undefined;
1597
+ totalShares?: number | null | undefined;
1598
+ warrantTermYears?: number | null | undefined;
1599
+ exercisePrice?: number | null | undefined;
1600
+ warrantPercentage?: number | null | undefined;
1601
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1602
+ incrementThreshold?: number | null | undefined;
1603
+ shareClassId?: string | null | undefined;
1542
1604
  yield?: number | null | undefined;
1543
1605
  duration?: number | null | undefined;
1544
1606
  durationType?: DurationType | null | undefined;
1545
1607
  tiers?: number[] | null | undefined;
1546
1608
  enableBonus?: boolean | undefined;
1547
- principalAmount?: number | null | undefined;
1548
- maxTotalRaise?: number | null | undefined;
1549
1609
  interestRate?: number | null | undefined;
1550
- interestType?: InterestType | null | undefined;
1551
1610
  bonusTiers?: {
1552
1611
  value: number;
1553
1612
  type: import("./bonus-tier.types").BonusType;
@@ -1560,6 +1619,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1560
1619
  template: AssetTemplateType;
1561
1620
  targetAmount: number;
1562
1621
  issuerId: string;
1622
+ warrantsEnabled: boolean;
1563
1623
  assetName: string;
1564
1624
  assetType: AssetType;
1565
1625
  pricePerUnit: number | null;
@@ -1577,15 +1637,19 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1577
1637
  hasEscrow?: boolean | undefined;
1578
1638
  bankAccountId?: string | null | undefined;
1579
1639
  escrowAccountId?: string | null | undefined;
1640
+ totalShares?: number | null | undefined;
1641
+ warrantTermYears?: number | null | undefined;
1642
+ exercisePrice?: number | null | undefined;
1643
+ warrantPercentage?: number | null | undefined;
1644
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1645
+ incrementThreshold?: number | null | undefined;
1646
+ shareClassId?: string | null | undefined;
1580
1647
  yield?: number | null | undefined;
1581
1648
  duration?: number | null | undefined;
1582
1649
  durationType?: DurationType | null | undefined;
1583
1650
  tiers?: number[] | null | undefined;
1584
1651
  enableBonus?: boolean | undefined;
1585
- principalAmount?: number | null | undefined;
1586
- maxTotalRaise?: number | null | undefined;
1587
1652
  interestRate?: number | null | undefined;
1588
- interestType?: InterestType | null | undefined;
1589
1653
  bonusTiers?: {
1590
1654
  value: number;
1591
1655
  type: import("./bonus-tier.types").BonusType;
@@ -1615,15 +1679,20 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1615
1679
  hasEscrow?: boolean | undefined;
1616
1680
  bankAccountId?: string | null | undefined;
1617
1681
  escrowAccountId?: string | null | undefined;
1682
+ warrantsEnabled?: boolean | undefined;
1683
+ totalShares?: number | null | undefined;
1684
+ warrantTermYears?: number | null | undefined;
1685
+ exercisePrice?: number | null | undefined;
1686
+ warrantPercentage?: number | null | undefined;
1687
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1688
+ incrementThreshold?: number | null | undefined;
1689
+ shareClassId?: string | null | undefined;
1618
1690
  yield?: number | null | undefined;
1619
1691
  duration?: number | null | undefined;
1620
1692
  durationType?: DurationType | null | undefined;
1621
1693
  tiers?: number[] | null | undefined;
1622
1694
  enableBonus?: boolean | undefined;
1623
- principalAmount?: number | null | undefined;
1624
- maxTotalRaise?: number | null | undefined;
1625
1695
  interestRate?: number | null | undefined;
1626
- interestType?: InterestType | null | undefined;
1627
1696
  bonusTiers?: {
1628
1697
  value: number;
1629
1698
  type: import("./bonus-tier.types").BonusType;
@@ -1633,6 +1702,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1633
1702
  }>;
1634
1703
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1635
1704
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1705
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1636
1706
  name: z.ZodOptional<z.ZodString>;
1637
1707
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1638
1708
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1663,10 +1733,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1663
1733
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1664
1734
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1665
1735
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1666
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1667
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1668
1736
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1669
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1670
1737
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1671
1738
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1672
1739
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1703,6 +1770,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1703
1770
  startAmount: number;
1704
1771
  endAmount: number;
1705
1772
  }>, "many">>;
1773
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1774
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1775
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1776
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1777
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1778
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1779
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1706
1780
  }, "strip", z.ZodTypeAny, {
1707
1781
  type?: OfferingType | undefined;
1708
1782
  name?: string | undefined;
@@ -1725,6 +1799,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1725
1799
  escrowAgreementFileId?: string | null | undefined;
1726
1800
  bankAccountId?: string | null | undefined;
1727
1801
  escrowAccountId?: string | null | undefined;
1802
+ warrantsEnabled?: boolean | undefined;
1803
+ totalShares?: number | null | undefined;
1804
+ warrantTermYears?: number | null | undefined;
1805
+ exercisePrice?: number | null | undefined;
1806
+ warrantPercentage?: number | null | undefined;
1807
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1808
+ incrementThreshold?: number | null | undefined;
1809
+ shareClassId?: string | null | undefined;
1728
1810
  assetName?: string | undefined;
1729
1811
  assetType?: AssetType | undefined;
1730
1812
  pricePerUnit?: number | null | undefined;
@@ -1734,10 +1816,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1734
1816
  durationType?: DurationType | null | undefined;
1735
1817
  tiers?: number[] | null | undefined;
1736
1818
  enableBonus?: boolean | undefined;
1737
- principalAmount?: number | null | undefined;
1738
- maxTotalRaise?: number | null | undefined;
1739
1819
  interestRate?: number | null | undefined;
1740
- interestType?: InterestType | null | undefined;
1741
1820
  bonusTiers?: {
1742
1821
  value: number;
1743
1822
  type: import("./bonus-tier.types").BonusType;
@@ -1766,6 +1845,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1766
1845
  escrowAgreementFileId?: string | null | undefined;
1767
1846
  bankAccountId?: string | null | undefined;
1768
1847
  escrowAccountId?: string | null | undefined;
1848
+ warrantsEnabled?: boolean | undefined;
1849
+ totalShares?: number | null | undefined;
1850
+ warrantTermYears?: number | null | undefined;
1851
+ exercisePrice?: number | null | undefined;
1852
+ warrantPercentage?: number | null | undefined;
1853
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1854
+ incrementThreshold?: number | null | undefined;
1855
+ shareClassId?: string | null | undefined;
1769
1856
  assetName?: string | undefined;
1770
1857
  assetType?: AssetType | undefined;
1771
1858
  pricePerUnit?: number | null | undefined;
@@ -1775,10 +1862,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1775
1862
  durationType?: DurationType | null | undefined;
1776
1863
  tiers?: number[] | null | undefined;
1777
1864
  enableBonus?: boolean | undefined;
1778
- principalAmount?: number | null | undefined;
1779
- maxTotalRaise?: number | null | undefined;
1780
1865
  interestRate?: number | null | undefined;
1781
- interestType?: InterestType | null | undefined;
1782
1866
  bonusTiers?: {
1783
1867
  value: number;
1784
1868
  type: import("./bonus-tier.types").BonusType;
@@ -1807,6 +1891,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1807
1891
  escrowAgreementFileId?: string | null | undefined;
1808
1892
  bankAccountId?: string | null | undefined;
1809
1893
  escrowAccountId?: string | null | undefined;
1894
+ warrantsEnabled?: boolean | undefined;
1895
+ totalShares?: number | null | undefined;
1896
+ warrantTermYears?: number | null | undefined;
1897
+ exercisePrice?: number | null | undefined;
1898
+ warrantPercentage?: number | null | undefined;
1899
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1900
+ incrementThreshold?: number | null | undefined;
1901
+ shareClassId?: string | null | undefined;
1810
1902
  assetName?: string | undefined;
1811
1903
  assetType?: AssetType | undefined;
1812
1904
  pricePerUnit?: number | null | undefined;
@@ -1816,10 +1908,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1816
1908
  durationType?: DurationType | null | undefined;
1817
1909
  tiers?: number[] | null | undefined;
1818
1910
  enableBonus?: boolean | undefined;
1819
- principalAmount?: number | null | undefined;
1820
- maxTotalRaise?: number | null | undefined;
1821
1911
  interestRate?: number | null | undefined;
1822
- interestType?: InterestType | null | undefined;
1823
1912
  bonusTiers?: {
1824
1913
  value: number;
1825
1914
  type: import("./bonus-tier.types").BonusType;
@@ -1848,6 +1937,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1848
1937
  escrowAgreementFileId?: string | null | undefined;
1849
1938
  bankAccountId?: string | null | undefined;
1850
1939
  escrowAccountId?: string | null | undefined;
1940
+ warrantsEnabled?: boolean | undefined;
1941
+ totalShares?: number | null | undefined;
1942
+ warrantTermYears?: number | null | undefined;
1943
+ exercisePrice?: number | null | undefined;
1944
+ warrantPercentage?: number | null | undefined;
1945
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1946
+ incrementThreshold?: number | null | undefined;
1947
+ shareClassId?: string | null | undefined;
1851
1948
  assetName?: string | undefined;
1852
1949
  assetType?: AssetType | undefined;
1853
1950
  pricePerUnit?: number | null | undefined;
@@ -1857,10 +1954,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1857
1954
  durationType?: DurationType | null | undefined;
1858
1955
  tiers?: number[] | null | undefined;
1859
1956
  enableBonus?: boolean | undefined;
1860
- principalAmount?: number | null | undefined;
1861
- maxTotalRaise?: number | null | undefined;
1862
1957
  interestRate?: number | null | undefined;
1863
- interestType?: InterestType | null | undefined;
1864
1958
  bonusTiers?: {
1865
1959
  value: number;
1866
1960
  type: import("./bonus-tier.types").BonusType;
@@ -1922,10 +2016,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1922
2016
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1923
2017
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1924
2018
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2019
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1925
2020
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1926
2021
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1927
2022
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1928
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1929
2023
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1930
2024
  }, "strip", z.ZodTypeAny, {
1931
2025
  sortByNameASC: boolean;
@@ -1934,23 +2028,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1934
2028
  accountId?: string | undefined;
1935
2029
  name?: string | undefined;
1936
2030
  managedBy?: ManagedByType | undefined;
2031
+ complianceReview?: ComplianceReview | undefined;
1937
2032
  enabled?: boolean | undefined;
1938
2033
  issuerId?: string | undefined;
1939
2034
  issuerName?: string | undefined;
1940
2035
  versioningType?: OfferingVersioningType | undefined;
1941
- combinedStatus?: OfferingStatus | undefined;
1942
2036
  }, {
1943
2037
  type?: OfferingType | undefined;
1944
2038
  status?: ComplianceReview | undefined;
1945
2039
  accountId?: string | undefined;
1946
2040
  name?: string | undefined;
1947
2041
  managedBy?: ManagedByType | undefined;
2042
+ complianceReview?: ComplianceReview | undefined;
1948
2043
  enabled?: unknown;
1949
2044
  issuerId?: string | undefined;
1950
2045
  issuerName?: string | undefined;
1951
2046
  versioningType?: OfferingVersioningType | undefined;
1952
- combinedStatus?: OfferingStatus | undefined;
1953
2047
  sortByNameASC?: unknown;
1954
2048
  }>;
1955
2049
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1956
2050
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2051
+ /**
2052
+ * Adds validation issues to the context if warrant-related fields are missing
2053
+ * when warrants are enabled on an offering. This function checks required fields for
2054
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2055
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2056
+ *
2057
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2058
+ * @param ctx - The Zod refinement context to which validation issues will be added
2059
+ */
2060
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;