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

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 (97) hide show
  1. package/common/types/account-setting.types.d.ts +22 -66
  2. package/common/types/account-setting.types.js +2 -31
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +32 -23
  5. package/common/types/account.types.js +1 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +8 -1
  8. package/common/types/activity.types.js +7 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/asset.types.d.ts +25 -111
  11. package/common/types/asset.types.js +24 -100
  12. package/common/types/asset.types.js.map +1 -1
  13. package/common/types/auth.types.d.ts +36 -0
  14. package/common/types/auth.types.js +3 -2
  15. package/common/types/auth.types.js.map +1 -1
  16. package/common/types/bonus-tier.types.d.ts +0 -30
  17. package/common/types/cap-table.types.d.ts +177 -53
  18. package/common/types/cap-table.types.js +31 -0
  19. package/common/types/cap-table.types.js.map +1 -1
  20. package/common/types/common.types.d.ts +334 -4
  21. package/common/types/common.types.js +55 -1
  22. package/common/types/common.types.js.map +1 -1
  23. package/common/types/csv.types.d.ts +1730 -0
  24. package/common/types/csv.types.js +178 -0
  25. package/common/types/csv.types.js.map +1 -0
  26. package/common/types/disbursement-transaction.types.d.ts +1 -1
  27. package/common/types/disbursement-transaction.types.js +1 -1
  28. package/common/types/disbursement-transaction.types.js.map +1 -1
  29. package/common/types/disbursements.types.d.ts +939 -7
  30. package/common/types/disbursements.types.js +92 -2
  31. package/common/types/disbursements.types.js.map +1 -1
  32. package/common/types/exchange-provider.types.d.ts +12 -12
  33. package/common/types/file.types.d.ts +24 -0
  34. package/common/types/file.types.js +12 -0
  35. package/common/types/file.types.js.map +1 -1
  36. package/common/types/index.d.ts +4 -0
  37. package/common/types/index.js +4 -0
  38. package/common/types/index.js.map +1 -1
  39. package/common/types/individuals.types.d.ts +207 -5
  40. package/common/types/individuals.types.js +11 -14
  41. package/common/types/individuals.types.js.map +1 -1
  42. package/common/types/investor-account.types.d.ts +1 -1
  43. package/common/types/investor-account.types.js +1 -2
  44. package/common/types/investor-account.types.js.map +1 -1
  45. package/common/types/investors-offering.types.d.ts +8 -0
  46. package/common/types/investors-offering.types.js +1 -0
  47. package/common/types/investors-offering.types.js.map +1 -1
  48. package/common/types/invite.types.d.ts +2 -2
  49. package/common/types/invite.types.js +1 -1
  50. package/common/types/invite.types.js.map +1 -1
  51. package/common/types/issuer-offering.types.d.ts +182 -77
  52. package/common/types/issuer-offering.types.js +182 -45
  53. package/common/types/issuer-offering.types.js.map +1 -1
  54. package/common/types/legal-entity.types.d.ts +39 -1
  55. package/common/types/legal-entity.types.js +8 -5
  56. package/common/types/legal-entity.types.js.map +1 -1
  57. package/common/types/offering-submission.types.d.ts +198 -0
  58. package/common/types/offering-submission.types.js +16 -3
  59. package/common/types/offering-submission.types.js.map +1 -1
  60. package/common/types/offering.types.d.ts +264 -61
  61. package/common/types/offering.types.js +214 -53
  62. package/common/types/offering.types.js.map +1 -1
  63. package/common/types/portfolio.types.d.ts +6 -6
  64. package/common/types/reports.types.d.ts +345 -0
  65. package/common/types/reports.types.js +69 -0
  66. package/common/types/reports.types.js.map +1 -0
  67. package/common/types/review.types.js +1 -1
  68. package/common/types/review.types.js.map +1 -1
  69. package/common/types/secondary-order.types.d.ts +10 -10
  70. package/common/types/secondary-trade.types.d.ts +10 -10
  71. package/common/types/site.types.d.ts +12 -27
  72. package/common/types/trade-line-item.types.d.ts +24 -0
  73. package/common/types/trade-line-item.types.js +3 -0
  74. package/common/types/trade-line-item.types.js.map +1 -1
  75. package/common/types/trade.types.d.ts +10 -0
  76. package/common/types/trade.types.js +17 -1
  77. package/common/types/trade.types.js.map +1 -1
  78. package/common/types/transaction.types.d.ts +0 -1
  79. package/common/types/transaction.types.js +0 -1
  80. package/common/types/transaction.types.js.map +1 -1
  81. package/common/types/user.types.d.ts +191 -59
  82. package/common/types/user.types.js +9 -1
  83. package/common/types/user.types.js.map +1 -1
  84. package/contracts/clients/assets/index.d.ts +0 -66
  85. package/contracts/clients/csv/index.d.ts +1733 -0
  86. package/contracts/clients/csv/index.js +79 -0
  87. package/contracts/clients/csv/index.js.map +1 -0
  88. package/contracts/clients/index.d.ts +1911 -105
  89. package/contracts/clients/index.js +4 -0
  90. package/contracts/clients/index.js.map +1 -1
  91. package/contracts/clients/individuals/index.d.ts +5 -5
  92. package/contracts/clients/legal-entities/index.d.ts +1 -1
  93. package/contracts/clients/offerings/index.d.ts +88 -33
  94. package/contracts/clients/review/index.d.ts +85 -0
  95. package/contracts/clients/review/index.js +27 -0
  96. package/contracts/clients/review/index.js.map +1 -0
  97. package/package.json +1 -1
@@ -1,12 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
3
- import { AssetTemplateType, InterestType } from './asset.types';
4
- export declare enum OfferingStatus {
5
- ONBOARDING = "ONBOARDING",
6
- IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
7
- ACTIVE = "ACTIVE",
8
- PAUSED = "PAUSED"
9
- }
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
3
+ import { AssetTemplateType } from './asset.types';
4
+ import { PostComplianceOffering } from './offering.types';
10
5
  export declare const IIssuerOffering: z.ZodObject<{
11
6
  id: z.ZodString;
12
7
  __entity: z.ZodOptional<z.ZodString>;
@@ -134,10 +129,7 @@ export declare const IIssuerOffering: z.ZodObject<{
134
129
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
135
130
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
136
131
  enableBonus: z.ZodBoolean;
137
- principalAmount: z.ZodNullable<z.ZodNumber>;
138
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
139
132
  interestRate: z.ZodNullable<z.ZodNumber>;
140
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
141
133
  }, "strip", z.ZodTypeAny, {
142
134
  type: AssetType | null;
143
135
  id: string;
@@ -156,10 +148,7 @@ export declare const IIssuerOffering: z.ZodObject<{
156
148
  durationType: DurationType | null;
157
149
  tiers: number[] | null;
158
150
  enableBonus: boolean;
159
- principalAmount: number | null;
160
- maxTotalRaise: number | null;
161
151
  interestRate: number | null;
162
- interestType: InterestType | null;
163
152
  __entity?: string | undefined;
164
153
  account?: {
165
154
  status: import("./common.types").AccountStatus;
@@ -194,10 +183,7 @@ export declare const IIssuerOffering: z.ZodObject<{
194
183
  durationType: DurationType | null;
195
184
  tiers: number[] | null;
196
185
  enableBonus: boolean;
197
- principalAmount: number | null;
198
- maxTotalRaise: number | null;
199
186
  interestRate: number | null;
200
- interestType: InterestType | null;
201
187
  __entity?: string | undefined;
202
188
  account?: {
203
189
  status: import("./common.types").AccountStatus;
@@ -339,6 +325,16 @@ export declare const IIssuerOffering: z.ZodObject<{
339
325
  routingNumber?: string | null | undefined;
340
326
  company?: string | null | undefined;
341
327
  }>>>>;
328
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
329
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
331
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
333
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
334
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ soldOut: z.ZodOptional<z.ZodBoolean>;
342
338
  }, "strip", z.ZodTypeAny, {
343
339
  type: OfferingType | null;
344
340
  id: string;
@@ -383,10 +379,7 @@ export declare const IIssuerOffering: z.ZodObject<{
383
379
  durationType: DurationType | null;
384
380
  tiers: number[] | null;
385
381
  enableBonus: boolean;
386
- principalAmount: number | null;
387
- maxTotalRaise: number | null;
388
382
  interestRate: number | null;
389
- interestType: InterestType | null;
390
383
  __entity?: string | undefined;
391
384
  account?: {
392
385
  status: import("./common.types").AccountStatus;
@@ -418,6 +411,7 @@ export declare const IIssuerOffering: z.ZodObject<{
418
411
  allowPendingComplianceReview: boolean;
419
412
  __entity?: string | undefined;
420
413
  } | null | undefined;
414
+ soldOut?: boolean | undefined;
421
415
  issuer?: any;
422
416
  coverArtId?: string | null | undefined;
423
417
  coverArt?: any;
@@ -457,6 +451,15 @@ export declare const IIssuerOffering: z.ZodObject<{
457
451
  routingNumber?: string | null | undefined;
458
452
  company?: string | null | undefined;
459
453
  } | null | undefined;
454
+ warrantsEnabled?: boolean | undefined;
455
+ totalShares?: number | null | undefined;
456
+ warrantTermYears?: number | null | undefined;
457
+ exercisePrice?: number | null | undefined;
458
+ warrantPercentage?: number | null | undefined;
459
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
460
+ incrementThreshold?: number | null | undefined;
461
+ fullyDilutedShares?: number | null | undefined;
462
+ shareClassId?: string | null | undefined;
460
463
  }, {
461
464
  type: OfferingType | null;
462
465
  id: string;
@@ -501,10 +504,7 @@ export declare const IIssuerOffering: z.ZodObject<{
501
504
  durationType: DurationType | null;
502
505
  tiers: number[] | null;
503
506
  enableBonus: boolean;
504
- principalAmount: number | null;
505
- maxTotalRaise: number | null;
506
507
  interestRate: number | null;
507
- interestType: InterestType | null;
508
508
  __entity?: string | undefined;
509
509
  account?: {
510
510
  status: import("./common.types").AccountStatus;
@@ -536,6 +536,7 @@ export declare const IIssuerOffering: z.ZodObject<{
536
536
  allowPendingComplianceReview: boolean;
537
537
  __entity?: string | undefined;
538
538
  } | null | undefined;
539
+ soldOut?: boolean | undefined;
539
540
  issuer?: any;
540
541
  coverArtId?: string | null | undefined;
541
542
  coverArt?: any;
@@ -575,6 +576,15 @@ export declare const IIssuerOffering: z.ZodObject<{
575
576
  routingNumber?: string | null | undefined;
576
577
  company?: string | null | undefined;
577
578
  } | null | undefined;
579
+ warrantsEnabled?: boolean | undefined;
580
+ totalShares?: number | null | undefined;
581
+ warrantTermYears?: number | null | undefined;
582
+ exercisePrice?: number | null | undefined;
583
+ warrantPercentage?: number | null | undefined;
584
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
585
+ incrementThreshold?: number | null | undefined;
586
+ fullyDilutedShares?: number | null | undefined;
587
+ shareClassId?: string | null | undefined;
578
588
  }>;
579
589
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
580
590
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -705,10 +715,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
705
715
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
706
716
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
707
717
  enableBonus: z.ZodBoolean;
708
- principalAmount: z.ZodNullable<z.ZodNumber>;
709
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
710
718
  interestRate: z.ZodNullable<z.ZodNumber>;
711
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
712
719
  }, "strip", z.ZodTypeAny, {
713
720
  type: AssetType | null;
714
721
  id: string;
@@ -727,10 +734,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
727
734
  durationType: DurationType | null;
728
735
  tiers: number[] | null;
729
736
  enableBonus: boolean;
730
- principalAmount: number | null;
731
- maxTotalRaise: number | null;
732
737
  interestRate: number | null;
733
- interestType: InterestType | null;
734
738
  __entity?: string | undefined;
735
739
  account?: {
736
740
  status: import("./common.types").AccountStatus;
@@ -765,10 +769,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
765
769
  durationType: DurationType | null;
766
770
  tiers: number[] | null;
767
771
  enableBonus: boolean;
768
- principalAmount: number | null;
769
- maxTotalRaise: number | null;
770
772
  interestRate: number | null;
771
- interestType: InterestType | null;
772
773
  __entity?: string | undefined;
773
774
  account?: {
774
775
  status: import("./common.types").AccountStatus;
@@ -910,6 +911,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
910
911
  routingNumber?: string | null | undefined;
911
912
  company?: string | null | undefined;
912
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>>;
922
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
923
+ soldOut: z.ZodOptional<z.ZodBoolean>;
913
924
  }, "strip", z.ZodTypeAny, {
914
925
  type: OfferingType | null;
915
926
  id: string;
@@ -954,10 +965,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
954
965
  durationType: DurationType | null;
955
966
  tiers: number[] | null;
956
967
  enableBonus: boolean;
957
- principalAmount: number | null;
958
- maxTotalRaise: number | null;
959
968
  interestRate: number | null;
960
- interestType: InterestType | null;
961
969
  __entity?: string | undefined;
962
970
  account?: {
963
971
  status: import("./common.types").AccountStatus;
@@ -989,6 +997,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
989
997
  allowPendingComplianceReview: boolean;
990
998
  __entity?: string | undefined;
991
999
  } | null | undefined;
1000
+ soldOut?: boolean | undefined;
992
1001
  issuer?: any;
993
1002
  coverArtId?: string | null | undefined;
994
1003
  coverArt?: any;
@@ -1028,6 +1037,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1028
1037
  routingNumber?: string | null | undefined;
1029
1038
  company?: string | null | undefined;
1030
1039
  } | null | undefined;
1040
+ warrantsEnabled?: boolean | undefined;
1041
+ totalShares?: number | null | undefined;
1042
+ warrantTermYears?: number | null | undefined;
1043
+ exercisePrice?: number | null | undefined;
1044
+ warrantPercentage?: number | null | undefined;
1045
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1046
+ incrementThreshold?: number | null | undefined;
1047
+ fullyDilutedShares?: number | null | undefined;
1048
+ shareClassId?: string | null | undefined;
1031
1049
  }, {
1032
1050
  type: OfferingType | null;
1033
1051
  id: string;
@@ -1072,10 +1090,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1072
1090
  durationType: DurationType | null;
1073
1091
  tiers: number[] | null;
1074
1092
  enableBonus: boolean;
1075
- principalAmount: number | null;
1076
- maxTotalRaise: number | null;
1077
1093
  interestRate: number | null;
1078
- interestType: InterestType | null;
1079
1094
  __entity?: string | undefined;
1080
1095
  account?: {
1081
1096
  status: import("./common.types").AccountStatus;
@@ -1107,6 +1122,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1107
1122
  allowPendingComplianceReview: boolean;
1108
1123
  __entity?: string | undefined;
1109
1124
  } | null | undefined;
1125
+ soldOut?: boolean | undefined;
1110
1126
  issuer?: any;
1111
1127
  coverArtId?: string | null | undefined;
1112
1128
  coverArt?: any;
@@ -1146,6 +1162,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1146
1162
  routingNumber?: string | null | undefined;
1147
1163
  company?: string | null | undefined;
1148
1164
  } | null | undefined;
1165
+ warrantsEnabled?: boolean | undefined;
1166
+ totalShares?: number | null | undefined;
1167
+ warrantTermYears?: number | null | undefined;
1168
+ exercisePrice?: number | null | undefined;
1169
+ warrantPercentage?: number | null | undefined;
1170
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1171
+ incrementThreshold?: number | null | undefined;
1172
+ fullyDilutedShares?: number | null | undefined;
1173
+ shareClassId?: string | null | undefined;
1149
1174
  }>, "many">;
1150
1175
  meta: z.ZodObject<{
1151
1176
  itemCount: z.ZodNumber;
@@ -1211,10 +1236,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1211
1236
  durationType: DurationType | null;
1212
1237
  tiers: number[] | null;
1213
1238
  enableBonus: boolean;
1214
- principalAmount: number | null;
1215
- maxTotalRaise: number | null;
1216
1239
  interestRate: number | null;
1217
- interestType: InterestType | null;
1218
1240
  __entity?: string | undefined;
1219
1241
  account?: {
1220
1242
  status: import("./common.types").AccountStatus;
@@ -1246,6 +1268,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1246
1268
  allowPendingComplianceReview: boolean;
1247
1269
  __entity?: string | undefined;
1248
1270
  } | null | undefined;
1271
+ soldOut?: boolean | undefined;
1249
1272
  issuer?: any;
1250
1273
  coverArtId?: string | null | undefined;
1251
1274
  coverArt?: any;
@@ -1285,6 +1308,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1285
1308
  routingNumber?: string | null | undefined;
1286
1309
  company?: string | null | undefined;
1287
1310
  } | null | undefined;
1311
+ warrantsEnabled?: boolean | undefined;
1312
+ totalShares?: number | null | undefined;
1313
+ warrantTermYears?: number | null | undefined;
1314
+ exercisePrice?: number | null | undefined;
1315
+ warrantPercentage?: number | null | undefined;
1316
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1317
+ incrementThreshold?: number | null | undefined;
1318
+ fullyDilutedShares?: number | null | undefined;
1319
+ shareClassId?: string | null | undefined;
1288
1320
  }[];
1289
1321
  meta: {
1290
1322
  itemCount: number;
@@ -1338,10 +1370,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1338
1370
  durationType: DurationType | null;
1339
1371
  tiers: number[] | null;
1340
1372
  enableBonus: boolean;
1341
- principalAmount: number | null;
1342
- maxTotalRaise: number | null;
1343
1373
  interestRate: number | null;
1344
- interestType: InterestType | null;
1345
1374
  __entity?: string | undefined;
1346
1375
  account?: {
1347
1376
  status: import("./common.types").AccountStatus;
@@ -1373,6 +1402,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1373
1402
  allowPendingComplianceReview: boolean;
1374
1403
  __entity?: string | undefined;
1375
1404
  } | null | undefined;
1405
+ soldOut?: boolean | undefined;
1376
1406
  issuer?: any;
1377
1407
  coverArtId?: string | null | undefined;
1378
1408
  coverArt?: any;
@@ -1412,6 +1442,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1412
1442
  routingNumber?: string | null | undefined;
1413
1443
  company?: string | null | undefined;
1414
1444
  } | null | undefined;
1445
+ warrantsEnabled?: boolean | undefined;
1446
+ totalShares?: number | null | undefined;
1447
+ warrantTermYears?: number | null | undefined;
1448
+ exercisePrice?: number | null | undefined;
1449
+ warrantPercentage?: number | null | undefined;
1450
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1451
+ incrementThreshold?: number | null | undefined;
1452
+ fullyDilutedShares?: number | null | undefined;
1453
+ shareClassId?: string | null | undefined;
1415
1454
  }[];
1416
1455
  meta: {
1417
1456
  itemCount: number;
@@ -1422,8 +1461,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1422
1461
  };
1423
1462
  }>;
1424
1463
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1464
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1425
1465
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1426
1466
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1467
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1427
1468
  name: z.ZodString;
1428
1469
  type: z.ZodNativeEnum<typeof OfferingType>;
1429
1470
  targetAmount: z.ZodNumber;
@@ -1450,10 +1491,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1450
1491
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1451
1492
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1452
1493
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1453
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1454
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1455
1494
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1456
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1457
1495
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1458
1496
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1459
1497
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1490,12 +1528,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1490
1528
  startAmount: number;
1491
1529
  endAmount: number;
1492
1530
  }>, "many">>;
1531
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1532
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1533
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1534
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1535
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1536
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1537
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1538
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1493
1539
  }, "strip", z.ZodTypeAny, {
1494
1540
  type: OfferingType;
1495
1541
  name: string;
1496
1542
  template: AssetTemplateType;
1497
1543
  targetAmount: number;
1498
1544
  issuerId: string;
1545
+ warrantsEnabled: boolean;
1499
1546
  assetName: string;
1500
1547
  assetType: AssetType;
1501
1548
  pricePerUnit: number | null;
@@ -1510,18 +1557,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1510
1557
  startAt?: Date | null | undefined;
1511
1558
  endAt?: Date | null | undefined;
1512
1559
  cancellationPeriod?: number | null | undefined;
1560
+ showTotalRaised?: boolean | undefined;
1513
1561
  hasEscrow?: boolean | undefined;
1514
1562
  bankAccountId?: string | null | undefined;
1515
1563
  escrowAccountId?: string | null | undefined;
1564
+ totalShares?: number | null | undefined;
1565
+ warrantTermYears?: number | null | undefined;
1566
+ exercisePrice?: number | null | undefined;
1567
+ warrantPercentage?: number | null | undefined;
1568
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1569
+ incrementThreshold?: number | null | undefined;
1570
+ shareClassId?: string | null | undefined;
1516
1571
  yield?: number | null | undefined;
1517
1572
  duration?: number | null | undefined;
1518
1573
  durationType?: DurationType | null | undefined;
1519
1574
  tiers?: number[] | null | undefined;
1520
1575
  enableBonus?: boolean | undefined;
1521
- principalAmount?: number | null | undefined;
1522
- maxTotalRaise?: number | null | undefined;
1523
1576
  interestRate?: number | null | undefined;
1524
- interestType?: InterestType | null | undefined;
1525
1577
  bonusTiers?: {
1526
1578
  value: number;
1527
1579
  type: import("./bonus-tier.types").BonusType;
@@ -1548,18 +1600,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1548
1600
  startAt?: string | null | undefined;
1549
1601
  endAt?: string | null | undefined;
1550
1602
  cancellationPeriod?: number | null | undefined;
1603
+ showTotalRaised?: boolean | undefined;
1551
1604
  hasEscrow?: boolean | undefined;
1552
1605
  bankAccountId?: string | null | undefined;
1553
1606
  escrowAccountId?: string | null | undefined;
1607
+ warrantsEnabled?: boolean | undefined;
1608
+ totalShares?: number | null | undefined;
1609
+ warrantTermYears?: number | null | undefined;
1610
+ exercisePrice?: number | null | undefined;
1611
+ warrantPercentage?: number | null | undefined;
1612
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1613
+ incrementThreshold?: number | null | undefined;
1614
+ shareClassId?: string | null | undefined;
1554
1615
  yield?: number | null | undefined;
1555
1616
  duration?: number | null | undefined;
1556
1617
  durationType?: DurationType | null | undefined;
1557
1618
  tiers?: number[] | null | undefined;
1558
1619
  enableBonus?: boolean | undefined;
1559
- principalAmount?: number | null | undefined;
1560
- maxTotalRaise?: number | null | undefined;
1561
1620
  interestRate?: number | null | undefined;
1562
- interestType?: InterestType | null | undefined;
1563
1621
  bonusTiers?: {
1564
1622
  value: number;
1565
1623
  type: import("./bonus-tier.types").BonusType;
@@ -1572,6 +1630,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1572
1630
  template: AssetTemplateType;
1573
1631
  targetAmount: number;
1574
1632
  issuerId: string;
1633
+ warrantsEnabled: boolean;
1575
1634
  assetName: string;
1576
1635
  assetType: AssetType;
1577
1636
  pricePerUnit: number | null;
@@ -1586,18 +1645,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1586
1645
  startAt?: Date | null | undefined;
1587
1646
  endAt?: Date | null | undefined;
1588
1647
  cancellationPeriod?: number | null | undefined;
1648
+ showTotalRaised?: boolean | undefined;
1589
1649
  hasEscrow?: boolean | undefined;
1590
1650
  bankAccountId?: string | null | undefined;
1591
1651
  escrowAccountId?: string | null | undefined;
1652
+ totalShares?: number | null | undefined;
1653
+ warrantTermYears?: number | null | undefined;
1654
+ exercisePrice?: number | null | undefined;
1655
+ warrantPercentage?: number | null | undefined;
1656
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1657
+ incrementThreshold?: number | null | undefined;
1658
+ shareClassId?: string | null | undefined;
1592
1659
  yield?: number | null | undefined;
1593
1660
  duration?: number | null | undefined;
1594
1661
  durationType?: DurationType | null | undefined;
1595
1662
  tiers?: number[] | null | undefined;
1596
1663
  enableBonus?: boolean | undefined;
1597
- principalAmount?: number | null | undefined;
1598
- maxTotalRaise?: number | null | undefined;
1599
1664
  interestRate?: number | null | undefined;
1600
- interestType?: InterestType | null | undefined;
1601
1665
  bonusTiers?: {
1602
1666
  value: number;
1603
1667
  type: import("./bonus-tier.types").BonusType;
@@ -1624,18 +1688,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1624
1688
  startAt?: string | null | undefined;
1625
1689
  endAt?: string | null | undefined;
1626
1690
  cancellationPeriod?: number | null | undefined;
1691
+ showTotalRaised?: boolean | undefined;
1627
1692
  hasEscrow?: boolean | undefined;
1628
1693
  bankAccountId?: string | null | undefined;
1629
1694
  escrowAccountId?: string | null | undefined;
1695
+ warrantsEnabled?: boolean | undefined;
1696
+ totalShares?: number | null | undefined;
1697
+ warrantTermYears?: number | null | undefined;
1698
+ exercisePrice?: number | null | undefined;
1699
+ warrantPercentage?: number | null | undefined;
1700
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1701
+ incrementThreshold?: number | null | undefined;
1702
+ shareClassId?: string | null | undefined;
1630
1703
  yield?: number | null | undefined;
1631
1704
  duration?: number | null | undefined;
1632
1705
  durationType?: DurationType | null | undefined;
1633
1706
  tiers?: number[] | null | undefined;
1634
1707
  enableBonus?: boolean | undefined;
1635
- principalAmount?: number | null | undefined;
1636
- maxTotalRaise?: number | null | undefined;
1637
1708
  interestRate?: number | null | undefined;
1638
- interestType?: InterestType | null | undefined;
1639
1709
  bonusTiers?: {
1640
1710
  value: number;
1641
1711
  type: import("./bonus-tier.types").BonusType;
@@ -1645,6 +1715,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1645
1715
  }>;
1646
1716
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1647
1717
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1718
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1648
1719
  name: z.ZodOptional<z.ZodString>;
1649
1720
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1650
1721
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1675,10 +1746,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1675
1746
  escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1676
1747
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1677
1748
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1678
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1679
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1680
1749
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1681
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1682
1750
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1683
1751
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1684
1752
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1715,6 +1783,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1715
1783
  startAmount: number;
1716
1784
  endAmount: number;
1717
1785
  }>, "many">>;
1786
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1787
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1788
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1789
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1790
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1791
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1792
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1718
1793
  }, "strip", z.ZodTypeAny, {
1719
1794
  type?: OfferingType | undefined;
1720
1795
  name?: string | undefined;
@@ -1737,6 +1812,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1737
1812
  escrowAgreementFileId?: string | null | undefined;
1738
1813
  bankAccountId?: string | null | undefined;
1739
1814
  escrowAccountId?: string | null | undefined;
1815
+ warrantsEnabled?: boolean | undefined;
1816
+ totalShares?: number | null | undefined;
1817
+ warrantTermYears?: number | null | undefined;
1818
+ exercisePrice?: number | null | undefined;
1819
+ warrantPercentage?: number | null | undefined;
1820
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1821
+ incrementThreshold?: number | null | undefined;
1822
+ shareClassId?: string | null | undefined;
1740
1823
  assetName?: string | undefined;
1741
1824
  assetType?: AssetType | undefined;
1742
1825
  pricePerUnit?: number | null | undefined;
@@ -1746,10 +1829,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1746
1829
  durationType?: DurationType | null | undefined;
1747
1830
  tiers?: number[] | null | undefined;
1748
1831
  enableBonus?: boolean | undefined;
1749
- principalAmount?: number | null | undefined;
1750
- maxTotalRaise?: number | null | undefined;
1751
1832
  interestRate?: number | null | undefined;
1752
- interestType?: InterestType | null | undefined;
1753
1833
  bonusTiers?: {
1754
1834
  value: number;
1755
1835
  type: import("./bonus-tier.types").BonusType;
@@ -1778,6 +1858,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1778
1858
  escrowAgreementFileId?: string | null | undefined;
1779
1859
  bankAccountId?: string | null | undefined;
1780
1860
  escrowAccountId?: string | null | undefined;
1861
+ warrantsEnabled?: boolean | undefined;
1862
+ totalShares?: number | null | undefined;
1863
+ warrantTermYears?: number | null | undefined;
1864
+ exercisePrice?: number | null | undefined;
1865
+ warrantPercentage?: number | null | undefined;
1866
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1867
+ incrementThreshold?: number | null | undefined;
1868
+ shareClassId?: string | null | undefined;
1781
1869
  assetName?: string | undefined;
1782
1870
  assetType?: AssetType | undefined;
1783
1871
  pricePerUnit?: number | null | undefined;
@@ -1787,10 +1875,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1787
1875
  durationType?: DurationType | null | undefined;
1788
1876
  tiers?: number[] | null | undefined;
1789
1877
  enableBonus?: boolean | undefined;
1790
- principalAmount?: number | null | undefined;
1791
- maxTotalRaise?: number | null | undefined;
1792
1878
  interestRate?: number | null | undefined;
1793
- interestType?: InterestType | null | undefined;
1794
1879
  bonusTiers?: {
1795
1880
  value: number;
1796
1881
  type: import("./bonus-tier.types").BonusType;
@@ -1819,6 +1904,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1819
1904
  escrowAgreementFileId?: string | null | undefined;
1820
1905
  bankAccountId?: string | null | undefined;
1821
1906
  escrowAccountId?: string | null | undefined;
1907
+ warrantsEnabled?: boolean | undefined;
1908
+ totalShares?: number | null | undefined;
1909
+ warrantTermYears?: number | null | undefined;
1910
+ exercisePrice?: number | null | undefined;
1911
+ warrantPercentage?: number | null | undefined;
1912
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1913
+ incrementThreshold?: number | null | undefined;
1914
+ shareClassId?: string | null | undefined;
1822
1915
  assetName?: string | undefined;
1823
1916
  assetType?: AssetType | undefined;
1824
1917
  pricePerUnit?: number | null | undefined;
@@ -1828,10 +1921,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1828
1921
  durationType?: DurationType | null | undefined;
1829
1922
  tiers?: number[] | null | undefined;
1830
1923
  enableBonus?: boolean | undefined;
1831
- principalAmount?: number | null | undefined;
1832
- maxTotalRaise?: number | null | undefined;
1833
1924
  interestRate?: number | null | undefined;
1834
- interestType?: InterestType | null | undefined;
1835
1925
  bonusTiers?: {
1836
1926
  value: number;
1837
1927
  type: import("./bonus-tier.types").BonusType;
@@ -1860,6 +1950,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1860
1950
  escrowAgreementFileId?: string | null | undefined;
1861
1951
  bankAccountId?: string | null | undefined;
1862
1952
  escrowAccountId?: string | null | undefined;
1953
+ warrantsEnabled?: boolean | undefined;
1954
+ totalShares?: number | null | undefined;
1955
+ warrantTermYears?: number | null | undefined;
1956
+ exercisePrice?: number | null | undefined;
1957
+ warrantPercentage?: number | null | undefined;
1958
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1959
+ incrementThreshold?: number | null | undefined;
1960
+ shareClassId?: string | null | undefined;
1863
1961
  assetName?: string | undefined;
1864
1962
  assetType?: AssetType | undefined;
1865
1963
  pricePerUnit?: number | null | undefined;
@@ -1869,10 +1967,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1869
1967
  durationType?: DurationType | null | undefined;
1870
1968
  tiers?: number[] | null | undefined;
1871
1969
  enableBonus?: boolean | undefined;
1872
- principalAmount?: number | null | undefined;
1873
- maxTotalRaise?: number | null | undefined;
1874
1970
  interestRate?: number | null | undefined;
1875
- interestType?: InterestType | null | undefined;
1876
1971
  bonusTiers?: {
1877
1972
  value: number;
1878
1973
  type: import("./bonus-tier.types").BonusType;
@@ -1934,10 +2029,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1934
2029
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1935
2030
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1936
2031
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2032
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1937
2033
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1938
2034
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1939
2035
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1940
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1941
2036
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1942
2037
  }, "strip", z.ZodTypeAny, {
1943
2038
  sortByNameASC: boolean;
@@ -1946,23 +2041,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1946
2041
  accountId?: string | undefined;
1947
2042
  name?: string | undefined;
1948
2043
  managedBy?: ManagedByType | undefined;
2044
+ complianceReview?: ComplianceReview | undefined;
1949
2045
  enabled?: boolean | undefined;
1950
2046
  issuerId?: string | undefined;
1951
2047
  issuerName?: string | undefined;
1952
2048
  versioningType?: OfferingVersioningType | undefined;
1953
- combinedStatus?: OfferingStatus | undefined;
1954
2049
  }, {
1955
2050
  type?: OfferingType | undefined;
1956
2051
  status?: ComplianceReview | undefined;
1957
2052
  accountId?: string | undefined;
1958
2053
  name?: string | undefined;
1959
2054
  managedBy?: ManagedByType | undefined;
2055
+ complianceReview?: ComplianceReview | undefined;
1960
2056
  enabled?: unknown;
1961
2057
  issuerId?: string | undefined;
1962
2058
  issuerName?: string | undefined;
1963
2059
  versioningType?: OfferingVersioningType | undefined;
1964
- combinedStatus?: OfferingStatus | undefined;
1965
2060
  sortByNameASC?: unknown;
1966
2061
  }>;
1967
2062
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1968
2063
  export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2064
+ /**
2065
+ * Adds validation issues to the context if warrant-related fields are missing
2066
+ * when warrants are enabled on an offering. This function checks required fields for
2067
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2068
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2069
+ *
2070
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2071
+ * @param ctx - The Zod refinement context to which validation issues will be added
2072
+ */
2073
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;