@dalmore/api-contracts 0.0.0-dev.a9772b4 → 0.0.0-dev.abccaef

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 (92) 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 +35 -25
  8. package/common/types/activity.types.js +13 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/asset.types.d.ts +212 -0
  11. package/common/types/asset.types.js +115 -42
  12. package/common/types/asset.types.js.map +1 -1
  13. package/common/types/bonus-tier.types.d.ts +15 -4
  14. package/common/types/bonus-tier.types.js +14 -7
  15. package/common/types/bonus-tier.types.js.map +1 -1
  16. package/common/types/cap-table.types.d.ts +77 -62
  17. package/common/types/cap-table.types.js +17 -0
  18. package/common/types/cap-table.types.js.map +1 -1
  19. package/common/types/common.types.d.ts +359 -6
  20. package/common/types/common.types.js +71 -1
  21. package/common/types/common.types.js.map +1 -1
  22. package/common/types/comply-advantage-api.types.d.ts +133 -466
  23. package/common/types/comply-advantage-api.types.js +24 -3
  24. package/common/types/comply-advantage-api.types.js.map +1 -1
  25. package/common/types/dashboard.types.d.ts +7 -7
  26. package/common/types/data-record.types.d.ts +4 -4
  27. package/common/types/disbursement-transaction.types.d.ts +1 -1
  28. package/common/types/disbursement-transaction.types.js +1 -1
  29. package/common/types/disbursement-transaction.types.js.map +1 -1
  30. package/common/types/disbursements.types.d.ts +1439 -401
  31. package/common/types/disbursements.types.js +100 -0
  32. package/common/types/disbursements.types.js.map +1 -1
  33. package/common/types/escrow-account.types.d.ts +17 -0
  34. package/common/types/escrow-account.types.js +3 -0
  35. package/common/types/escrow-account.types.js.map +1 -1
  36. package/common/types/exchange-provider.types.d.ts +12 -12
  37. package/common/types/file.types.d.ts +35 -11
  38. package/common/types/file.types.js +11 -0
  39. package/common/types/file.types.js.map +1 -1
  40. package/common/types/index.d.ts +3 -0
  41. package/common/types/index.js +3 -0
  42. package/common/types/index.js.map +1 -1
  43. package/common/types/individuals.types.js +5 -2
  44. package/common/types/individuals.types.js.map +1 -1
  45. package/common/types/investor-account.types.d.ts +5 -5
  46. package/common/types/investor-account.types.js +1 -2
  47. package/common/types/investor-account.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-bank-account.types.d.ts +4 -276
  52. package/common/types/issuer-offering.types.d.ts +834 -14
  53. package/common/types/issuer-offering.types.js +297 -25
  54. package/common/types/issuer-offering.types.js.map +1 -1
  55. package/common/types/job-item.types.d.ts +14 -14
  56. package/common/types/note.types.d.ts +15 -15
  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 +535 -21
  61. package/common/types/offering.types.js +324 -26
  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/secondary-order.types.d.ts +10 -10
  68. package/common/types/secondary-trade.types.d.ts +10 -10
  69. package/common/types/signer.types.d.ts +23 -11
  70. package/common/types/signer.types.js +16 -1
  71. package/common/types/signer.types.js.map +1 -1
  72. package/common/types/site.types.d.ts +17 -12
  73. package/common/types/task.types.d.ts +22 -22
  74. package/common/types/trade-line-item.types.d.ts +18 -1
  75. package/common/types/trade-line-item.types.js +12 -1
  76. package/common/types/trade-line-item.types.js.map +1 -1
  77. package/common/types/trade.types.d.ts +69 -41
  78. package/common/types/trade.types.js +15 -4
  79. package/common/types/trade.types.js.map +1 -1
  80. package/common/types/transaction.types.d.ts +80 -2
  81. package/common/types/transaction.types.js +22 -3
  82. package/common/types/transaction.types.js.map +1 -1
  83. package/common/types/user.types.d.ts +191 -59
  84. package/common/types/user.types.js +9 -1
  85. package/common/types/user.types.js.map +1 -1
  86. package/contracts/clients/assets/index.d.ts +22 -0
  87. package/contracts/clients/files/index.d.ts +3 -3
  88. package/contracts/clients/files-public/index.d.ts +3 -3
  89. package/contracts/clients/index.d.ts +345 -16
  90. package/contracts/clients/offerings/index.d.ts +308 -7
  91. package/contracts/clients/trades/index.d.ts +9 -3
  92. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType } from './common.types';
3
- import { OfferingStatus } from './issuer-offering.types';
2
+ import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType, WarrantSharesCalculationMethod } from './common.types';
4
3
  import { AssetTemplateType } from './asset.types';
5
4
  export declare enum OfferingFeeType {
6
5
  FIXED = "FIXED",
@@ -113,6 +112,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
113
112
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
114
113
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
115
114
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
115
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  platformSettings: string | null;
118
118
  type?: OfferingType | undefined;
@@ -135,6 +135,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
135
135
  memorandumId?: string | null | undefined;
136
136
  subscriptionAgreementId?: string | null | undefined;
137
137
  showTotalRaised?: boolean | undefined;
138
+ shareClassId?: string | null | undefined;
138
139
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
139
140
  subscriptionAgreementTemplateId?: string | null | undefined;
140
141
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -165,6 +166,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
165
166
  memorandumId?: string | null | undefined;
166
167
  subscriptionAgreementId?: string | null | undefined;
167
168
  showTotalRaised?: boolean | undefined;
169
+ shareClassId?: string | null | undefined;
168
170
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
169
171
  subscriptionAgreementTemplateId?: string | null | undefined;
170
172
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -214,6 +216,7 @@ export declare const PatchOffering: z.ZodObject<{
214
216
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
215
217
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
216
218
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
219
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
217
220
  } & {
218
221
  assetName: z.ZodOptional<z.ZodString>;
219
222
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
@@ -225,6 +228,54 @@ export declare const PatchOffering: z.ZodObject<{
225
228
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
226
229
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
227
230
  enableBonus: z.ZodOptional<z.ZodBoolean>;
231
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
232
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
233
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
234
+ value: z.ZodEffects<z.ZodNumber, number, number>;
235
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
236
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ value: number;
239
+ type: import("./bonus-tier.types").BonusType;
240
+ startAmount: number;
241
+ endAmount: number;
242
+ }, {
243
+ value: number;
244
+ type: import("./bonus-tier.types").BonusType;
245
+ startAmount: number;
246
+ endAmount: number;
247
+ }>, {
248
+ value: number;
249
+ type: import("./bonus-tier.types").BonusType;
250
+ startAmount: number;
251
+ endAmount: number;
252
+ }, {
253
+ value: number;
254
+ type: import("./bonus-tier.types").BonusType;
255
+ startAmount: number;
256
+ endAmount: number;
257
+ }>, {
258
+ value: number;
259
+ type: import("./bonus-tier.types").BonusType;
260
+ startAmount: number;
261
+ endAmount: number;
262
+ }, {
263
+ value: number;
264
+ type: import("./bonus-tier.types").BonusType;
265
+ startAmount: number;
266
+ endAmount: number;
267
+ }>, "many">>;
268
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
269
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
270
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
271
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
272
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
273
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
274
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
275
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
276
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
277
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
278
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
228
279
  }, "strip", z.ZodTypeAny, {
229
280
  platformSettings: string | null;
230
281
  type?: OfferingType | undefined;
@@ -248,6 +299,18 @@ export declare const PatchOffering: z.ZodObject<{
248
299
  memorandumId?: string | null | undefined;
249
300
  subscriptionAgreementId?: string | null | undefined;
250
301
  showTotalRaised?: boolean | undefined;
302
+ hasEscrow?: boolean | undefined;
303
+ escrowAgreementFileId?: string | null | undefined;
304
+ bankAccountId?: string | null | undefined;
305
+ escrowAccountId?: string | null | undefined;
306
+ warrantsEnabled?: boolean | undefined;
307
+ totalShares?: number | null | undefined;
308
+ warrantTermYears?: number | null | undefined;
309
+ exercisePrice?: number | null | undefined;
310
+ warrantPercentage?: number | null | undefined;
311
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
312
+ incrementThreshold?: number | null | undefined;
313
+ shareClassId?: string | null | undefined;
251
314
  assetName?: string | undefined;
252
315
  assetType?: AssetType | undefined;
253
316
  pricePerUnit?: number | null | undefined;
@@ -257,6 +320,13 @@ export declare const PatchOffering: z.ZodObject<{
257
320
  durationType?: DurationType | null | undefined;
258
321
  tiers?: number[] | null | undefined;
259
322
  enableBonus?: boolean | undefined;
323
+ interestRate?: number | null | undefined;
324
+ bonusTiers?: {
325
+ value: number;
326
+ type: import("./bonus-tier.types").BonusType;
327
+ startAmount: number;
328
+ endAmount: number;
329
+ }[] | undefined;
260
330
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
261
331
  subscriptionAgreementTemplateId?: string | null | undefined;
262
332
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -288,6 +358,18 @@ export declare const PatchOffering: z.ZodObject<{
288
358
  memorandumId?: string | null | undefined;
289
359
  subscriptionAgreementId?: string | null | undefined;
290
360
  showTotalRaised?: boolean | undefined;
361
+ hasEscrow?: boolean | undefined;
362
+ escrowAgreementFileId?: string | null | undefined;
363
+ bankAccountId?: string | null | undefined;
364
+ escrowAccountId?: string | null | undefined;
365
+ warrantsEnabled?: boolean | undefined;
366
+ totalShares?: number | null | undefined;
367
+ warrantTermYears?: number | null | undefined;
368
+ exercisePrice?: number | null | undefined;
369
+ warrantPercentage?: number | null | undefined;
370
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
371
+ incrementThreshold?: number | null | undefined;
372
+ shareClassId?: string | null | undefined;
291
373
  assetName?: string | undefined;
292
374
  assetType?: AssetType | undefined;
293
375
  pricePerUnit?: number | null | undefined;
@@ -297,11 +379,60 @@ export declare const PatchOffering: z.ZodObject<{
297
379
  durationType?: DurationType | null | undefined;
298
380
  tiers?: number[] | null | undefined;
299
381
  enableBonus?: boolean | undefined;
382
+ interestRate?: number | null | undefined;
383
+ bonusTiers?: {
384
+ value: number;
385
+ type: import("./bonus-tier.types").BonusType;
386
+ startAmount: number;
387
+ endAmount: number;
388
+ }[] | undefined;
300
389
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
301
390
  subscriptionAgreementTemplateId?: string | null | undefined;
302
391
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
303
392
  }>;
304
393
  export type PatchOffering = z.infer<typeof PatchOffering>;
394
+ /**
395
+ * Optional params for resolveAndValidateOfferingUpdateFields.
396
+ * All fields are optional and nullable; resolution merges with offering/asset values.
397
+ */
398
+ export declare const ResolveOfferingUpdateFieldsParamsZod: z.ZodObject<{
399
+ minInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
400
+ maxInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
401
+ targetAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
+ pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ targetAmount?: number | null | undefined;
405
+ minInvestment?: number | null | undefined;
406
+ maxInvestment?: number | null | undefined;
407
+ pricePerUnit?: number | null | undefined;
408
+ }, {
409
+ targetAmount?: number | null | undefined;
410
+ minInvestment?: number | null | undefined;
411
+ maxInvestment?: number | null | undefined;
412
+ pricePerUnit?: number | null | undefined;
413
+ }>;
414
+ export type ResolveOfferingUpdateFieldsParams = z.infer<typeof ResolveOfferingUpdateFieldsParamsZod>;
415
+ /**
416
+ * Resolved, validated offering update fields (price per unit, target amount, min/max investment).
417
+ * Returned by resolveAndValidateOfferingUpdateFields and passed into validateBonusTiersForUpdate.
418
+ */
419
+ export declare const ResolvedOfferingUpdateFieldsZod: z.ZodObject<{
420
+ pricePerUnit: z.ZodNumber;
421
+ targetAmount: z.ZodNumber;
422
+ minInvestment: z.ZodNullable<z.ZodNumber>;
423
+ maxInvestment: z.ZodNullable<z.ZodNumber>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ targetAmount: number;
426
+ minInvestment: number | null;
427
+ maxInvestment: number | null;
428
+ pricePerUnit: number;
429
+ }, {
430
+ targetAmount: number;
431
+ minInvestment: number | null;
432
+ maxInvestment: number | null;
433
+ pricePerUnit: number;
434
+ }>;
435
+ export type ResolvedOfferingUpdateFields = z.infer<typeof ResolvedOfferingUpdateFieldsZod>;
305
436
  export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
306
437
  name: z.ZodOptional<z.ZodString>;
307
438
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -344,11 +475,11 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
344
475
  subscriptionAgreementId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
345
476
  jointSubscriptionAgreementTemplateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
346
477
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
347
- showTotalRaised: z.ZodOptional<z.ZodBoolean>;
348
478
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
349
479
  } & {
350
480
  accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
351
481
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
482
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
352
483
  assetName: z.ZodString;
353
484
  assetType: z.ZodNativeEnum<typeof AssetType>;
354
485
  pricePerUnit: z.ZodNullable<z.ZodNumber>;
@@ -359,10 +490,59 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
359
490
  template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
360
491
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
361
492
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
493
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
494
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
495
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
496
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
497
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
498
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
499
+ value: z.ZodEffects<z.ZodNumber, number, number>;
500
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
501
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ value: number;
504
+ type: import("./bonus-tier.types").BonusType;
505
+ startAmount: number;
506
+ endAmount: number;
507
+ }, {
508
+ value: number;
509
+ type: import("./bonus-tier.types").BonusType;
510
+ startAmount: number;
511
+ endAmount: number;
512
+ }>, {
513
+ value: number;
514
+ type: import("./bonus-tier.types").BonusType;
515
+ startAmount: number;
516
+ endAmount: number;
517
+ }, {
518
+ value: number;
519
+ type: import("./bonus-tier.types").BonusType;
520
+ startAmount: number;
521
+ endAmount: number;
522
+ }>, {
523
+ value: number;
524
+ type: import("./bonus-tier.types").BonusType;
525
+ startAmount: number;
526
+ endAmount: number;
527
+ }, {
528
+ value: number;
529
+ type: import("./bonus-tier.types").BonusType;
530
+ startAmount: number;
531
+ endAmount: number;
532
+ }>, "many">>;
533
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
534
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
535
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
536
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
537
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
538
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
539
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
540
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
362
541
  }, "strip", z.ZodTypeAny, {
363
542
  accountId: string;
364
543
  template: AssetTemplateType;
365
544
  platformSettings: string | null;
545
+ warrantsEnabled: boolean;
366
546
  assetName: string;
367
547
  assetType: AssetType;
368
548
  pricePerUnit: number | null;
@@ -387,11 +567,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
387
567
  memorandumId?: string | null | undefined;
388
568
  subscriptionAgreementId?: string | null | undefined;
389
569
  showTotalRaised?: boolean | undefined;
570
+ hasEscrow?: boolean | undefined;
571
+ bankAccountId?: string | null | undefined;
572
+ escrowAccountId?: string | null | undefined;
573
+ totalShares?: number | null | undefined;
574
+ warrantTermYears?: number | null | undefined;
575
+ exercisePrice?: number | null | undefined;
576
+ warrantPercentage?: number | null | undefined;
577
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
578
+ incrementThreshold?: number | null | undefined;
579
+ shareClassId?: string | null | undefined;
390
580
  yield?: number | null | undefined;
391
581
  duration?: number | null | undefined;
392
582
  durationType?: DurationType | null | undefined;
393
583
  tiers?: number[] | null | undefined;
394
584
  enableBonus?: boolean | undefined;
585
+ interestRate?: number | null | undefined;
586
+ bonusTiers?: {
587
+ value: number;
588
+ type: import("./bonus-tier.types").BonusType;
589
+ startAmount: number;
590
+ endAmount: number;
591
+ }[] | undefined;
395
592
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
396
593
  subscriptionAgreementTemplateId?: string | null | undefined;
397
594
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -428,11 +625,29 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
428
625
  memorandumId?: string | null | undefined;
429
626
  subscriptionAgreementId?: string | null | undefined;
430
627
  showTotalRaised?: boolean | undefined;
628
+ hasEscrow?: boolean | undefined;
629
+ bankAccountId?: string | null | undefined;
630
+ escrowAccountId?: string | null | undefined;
631
+ warrantsEnabled?: boolean | undefined;
632
+ totalShares?: number | null | undefined;
633
+ warrantTermYears?: number | null | undefined;
634
+ exercisePrice?: number | null | undefined;
635
+ warrantPercentage?: number | null | undefined;
636
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
637
+ incrementThreshold?: number | null | undefined;
638
+ shareClassId?: string | null | undefined;
431
639
  yield?: number | null | undefined;
432
640
  duration?: number | null | undefined;
433
641
  durationType?: DurationType | null | undefined;
434
642
  tiers?: number[] | null | undefined;
435
643
  enableBonus?: boolean | undefined;
644
+ interestRate?: number | null | undefined;
645
+ bonusTiers?: {
646
+ value: number;
647
+ type: import("./bonus-tier.types").BonusType;
648
+ startAmount: number;
649
+ endAmount: number;
650
+ }[] | undefined;
436
651
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
437
652
  subscriptionAgreementTemplateId?: string | null | undefined;
438
653
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -440,6 +655,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
440
655
  accountId: string;
441
656
  template: AssetTemplateType;
442
657
  platformSettings: string | null;
658
+ warrantsEnabled: boolean;
443
659
  assetName: string;
444
660
  assetType: AssetType;
445
661
  pricePerUnit: number | null;
@@ -464,11 +680,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
464
680
  memorandumId?: string | null | undefined;
465
681
  subscriptionAgreementId?: string | null | undefined;
466
682
  showTotalRaised?: boolean | undefined;
683
+ hasEscrow?: boolean | undefined;
684
+ bankAccountId?: string | null | undefined;
685
+ escrowAccountId?: string | null | undefined;
686
+ totalShares?: number | null | undefined;
687
+ warrantTermYears?: number | null | undefined;
688
+ exercisePrice?: number | null | undefined;
689
+ warrantPercentage?: number | null | undefined;
690
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
691
+ incrementThreshold?: number | null | undefined;
692
+ shareClassId?: string | null | undefined;
467
693
  yield?: number | null | undefined;
468
694
  duration?: number | null | undefined;
469
695
  durationType?: DurationType | null | undefined;
470
696
  tiers?: number[] | null | undefined;
471
697
  enableBonus?: boolean | undefined;
698
+ interestRate?: number | null | undefined;
699
+ bonusTiers?: {
700
+ value: number;
701
+ type: import("./bonus-tier.types").BonusType;
702
+ startAmount: number;
703
+ endAmount: number;
704
+ }[] | undefined;
472
705
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
473
706
  subscriptionAgreementTemplateId?: string | null | undefined;
474
707
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -505,17 +738,35 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
505
738
  memorandumId?: string | null | undefined;
506
739
  subscriptionAgreementId?: string | null | undefined;
507
740
  showTotalRaised?: boolean | undefined;
741
+ hasEscrow?: boolean | undefined;
742
+ bankAccountId?: string | null | undefined;
743
+ escrowAccountId?: string | null | undefined;
744
+ warrantsEnabled?: boolean | undefined;
745
+ totalShares?: number | null | undefined;
746
+ warrantTermYears?: number | null | undefined;
747
+ exercisePrice?: number | null | undefined;
748
+ warrantPercentage?: number | null | undefined;
749
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
750
+ incrementThreshold?: number | null | undefined;
751
+ shareClassId?: string | null | undefined;
508
752
  yield?: number | null | undefined;
509
753
  duration?: number | null | undefined;
510
754
  durationType?: DurationType | null | undefined;
511
755
  tiers?: number[] | null | undefined;
512
756
  enableBonus?: boolean | undefined;
757
+ interestRate?: number | null | undefined;
758
+ bonusTiers?: {
759
+ value: number;
760
+ type: import("./bonus-tier.types").BonusType;
761
+ startAmount: number;
762
+ endAmount: number;
763
+ }[] | undefined;
513
764
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
514
765
  subscriptionAgreementTemplateId?: string | null | undefined;
515
766
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
516
767
  }>;
517
768
  export type PostComplianceOffering = z.infer<typeof PostComplianceOffering>;
518
- export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy"]>;
769
+ export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy", "bankAccount", "escrowAccount", "shareClass"]>;
519
770
  /**
520
771
  * @description Query parameters for including related entities
521
772
  * @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
@@ -530,23 +781,27 @@ export declare const OfferingsIncludeQuery: z.ZodObject<{
530
781
  export interface OfferingsIncludeQuery extends z.infer<typeof OfferingsIncludeQuery> {
531
782
  }
532
783
  /**
533
- * @description
534
- * Filters for querying offerings.
784
+ * Filters supported for querying offerings.
535
785
  *
536
- * The "combinedStatus" filter provides a unified status that combines three separate fields:
537
- * - complianceReview: The compliance review status of the offering
538
- * - onboardingStatus: The onboarding completion status
539
- * - enabled: Whether the offering is currently enabled/active
786
+ * Available fields:
787
+ * - `issuerName`: (string, optional) Filter by name of the issuer.
788
+ * - `name`: (string, optional) Filter by offering name.
789
+ * - `accountId`: (AccountId, optional) Filter by tenant/account ID.
790
+ * - `issuerId`: (IssuerId, optional) Filter by issuer ID.
791
+ * - `type`: (OfferingType, optional) Filter by offering type.
792
+ * - `status`: (ComplianceReview, optional) Filter by compliance review status.
793
+ * - `enabled`: (boolean, optional) Filter for enabled/active offerings.
794
+ * - `managedBy`: (ManagedByType, optional) Filter by which system or user manages the offering.
795
+ * - `versioningType`: (OfferingVersioningType, optional) Filter by versioning strategy.
796
+ * - `onboardingStatus`: (OfferingOnboardingStatus, optional) Filter by issuer onboarding status.
540
797
  *
541
- * The combinedStatus is calculated using the following priority rules:
542
- * 1. If onboardingStatus is "IN_REVIEW" combinedStatus = "ONBOARDING"
543
- * 2. Else if complianceReview is not "APPROVED" → combinedStatus = "IN_COMPLIANCE_REVIEW"
544
- * 3. Else if onboardingStatus is "COMPLETE" and complianceReview is "APPROVED" →
545
- * - If enabled is true → combinedStatus = "ACTIVE"
546
- * - If enabled is false → combinedStatus = "PAUSED"
798
+ * @remarks
799
+ * These filters can be combined to query offerings across multiple dimensions.
547
800
  *
548
- * This allows for filtering offerings by a single summary state that reflects the overall user-facing status,
549
- * rather than requiring separate filters for each individual field.
801
+ * Example use:
802
+ * ```ts
803
+ * { issuerName: "ABC Capital", type: OfferingType.REG_A }
804
+ * ```
550
805
  */
551
806
  export declare const OfferingFiltersZod: z.ZodObject<{
552
807
  issuerName: z.ZodOptional<z.ZodString>;
@@ -558,32 +813,32 @@ export declare const OfferingFiltersZod: z.ZodObject<{
558
813
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
559
814
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
560
815
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
561
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
562
816
  onboardingStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingOnboardingStatus>>;
817
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
563
818
  }, "strip", z.ZodTypeAny, {
564
819
  type?: OfferingType | undefined;
565
820
  status?: ComplianceReview | undefined;
566
821
  accountId?: string | undefined;
567
822
  name?: string | undefined;
568
823
  managedBy?: ManagedByType | undefined;
824
+ complianceReview?: ComplianceReview | undefined;
569
825
  onboardingStatus?: OfferingOnboardingStatus | undefined;
570
826
  enabled?: boolean | undefined;
571
827
  issuerId?: string | undefined;
572
828
  issuerName?: string | undefined;
573
829
  versioningType?: OfferingVersioningType | undefined;
574
- combinedStatus?: OfferingStatus | undefined;
575
830
  }, {
576
831
  type?: OfferingType | undefined;
577
832
  status?: ComplianceReview | undefined;
578
833
  accountId?: string | undefined;
579
834
  name?: string | undefined;
580
835
  managedBy?: ManagedByType | undefined;
836
+ complianceReview?: ComplianceReview | undefined;
581
837
  onboardingStatus?: OfferingOnboardingStatus | undefined;
582
838
  enabled?: unknown;
583
839
  issuerId?: string | undefined;
584
840
  issuerName?: string | undefined;
585
841
  versioningType?: OfferingVersioningType | undefined;
586
- combinedStatus?: OfferingStatus | undefined;
587
842
  }>;
588
843
  export type OfferingFiltersZod = z.infer<typeof OfferingFiltersZod>;
589
844
  export declare const OfferingSortZod: z.ZodObject<{
@@ -1053,6 +1308,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1053
1308
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1054
1309
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1055
1310
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1311
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1056
1312
  } & {
1057
1313
  assetName: z.ZodOptional<z.ZodString>;
1058
1314
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
@@ -1064,6 +1320,54 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1064
1320
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
1065
1321
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1066
1322
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1323
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1324
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1325
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1326
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1327
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1328
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ value: number;
1331
+ type: import("./bonus-tier.types").BonusType;
1332
+ startAmount: number;
1333
+ endAmount: number;
1334
+ }, {
1335
+ value: number;
1336
+ type: import("./bonus-tier.types").BonusType;
1337
+ startAmount: number;
1338
+ endAmount: number;
1339
+ }>, {
1340
+ value: number;
1341
+ type: import("./bonus-tier.types").BonusType;
1342
+ startAmount: number;
1343
+ endAmount: number;
1344
+ }, {
1345
+ value: number;
1346
+ type: import("./bonus-tier.types").BonusType;
1347
+ startAmount: number;
1348
+ endAmount: number;
1349
+ }>, {
1350
+ value: number;
1351
+ type: import("./bonus-tier.types").BonusType;
1352
+ startAmount: number;
1353
+ endAmount: number;
1354
+ }, {
1355
+ value: number;
1356
+ type: import("./bonus-tier.types").BonusType;
1357
+ startAmount: number;
1358
+ endAmount: number;
1359
+ }>, "many">>;
1360
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1361
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1362
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1363
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1364
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1365
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1366
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1367
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1368
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1369
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1370
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1067
1371
  }, "strip", z.ZodTypeAny, {
1068
1372
  platformSettings: string | null;
1069
1373
  type?: OfferingType | undefined;
@@ -1087,6 +1391,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1087
1391
  memorandumId?: string | null | undefined;
1088
1392
  subscriptionAgreementId?: string | null | undefined;
1089
1393
  showTotalRaised?: boolean | undefined;
1394
+ hasEscrow?: boolean | undefined;
1395
+ escrowAgreementFileId?: string | null | undefined;
1396
+ bankAccountId?: string | null | undefined;
1397
+ escrowAccountId?: string | null | undefined;
1398
+ warrantsEnabled?: boolean | undefined;
1399
+ totalShares?: number | null | undefined;
1400
+ warrantTermYears?: number | null | undefined;
1401
+ exercisePrice?: number | null | undefined;
1402
+ warrantPercentage?: number | null | undefined;
1403
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1404
+ incrementThreshold?: number | null | undefined;
1405
+ shareClassId?: string | null | undefined;
1090
1406
  assetName?: string | undefined;
1091
1407
  assetType?: AssetType | undefined;
1092
1408
  pricePerUnit?: number | null | undefined;
@@ -1096,6 +1412,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1096
1412
  durationType?: DurationType | null | undefined;
1097
1413
  tiers?: number[] | null | undefined;
1098
1414
  enableBonus?: boolean | undefined;
1415
+ interestRate?: number | null | undefined;
1416
+ bonusTiers?: {
1417
+ value: number;
1418
+ type: import("./bonus-tier.types").BonusType;
1419
+ startAmount: number;
1420
+ endAmount: number;
1421
+ }[] | undefined;
1099
1422
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1100
1423
  subscriptionAgreementTemplateId?: string | null | undefined;
1101
1424
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1127,6 +1450,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1127
1450
  memorandumId?: string | null | undefined;
1128
1451
  subscriptionAgreementId?: string | null | undefined;
1129
1452
  showTotalRaised?: boolean | undefined;
1453
+ hasEscrow?: boolean | undefined;
1454
+ escrowAgreementFileId?: string | null | undefined;
1455
+ bankAccountId?: string | null | undefined;
1456
+ escrowAccountId?: string | null | undefined;
1457
+ warrantsEnabled?: boolean | undefined;
1458
+ totalShares?: number | null | undefined;
1459
+ warrantTermYears?: number | null | undefined;
1460
+ exercisePrice?: number | null | undefined;
1461
+ warrantPercentage?: number | null | undefined;
1462
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1463
+ incrementThreshold?: number | null | undefined;
1464
+ shareClassId?: string | null | undefined;
1130
1465
  assetName?: string | undefined;
1131
1466
  assetType?: AssetType | undefined;
1132
1467
  pricePerUnit?: number | null | undefined;
@@ -1136,6 +1471,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1136
1471
  durationType?: DurationType | null | undefined;
1137
1472
  tiers?: number[] | null | undefined;
1138
1473
  enableBonus?: boolean | undefined;
1474
+ interestRate?: number | null | undefined;
1475
+ bonusTiers?: {
1476
+ value: number;
1477
+ type: import("./bonus-tier.types").BonusType;
1478
+ startAmount: number;
1479
+ endAmount: number;
1480
+ }[] | undefined;
1139
1481
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1140
1482
  subscriptionAgreementTemplateId?: string | null | undefined;
1141
1483
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1393,6 +1735,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1393
1735
  memorandumId?: string | null | undefined;
1394
1736
  subscriptionAgreementId?: string | null | undefined;
1395
1737
  showTotalRaised?: boolean | undefined;
1738
+ hasEscrow?: boolean | undefined;
1739
+ escrowAgreementFileId?: string | null | undefined;
1740
+ bankAccountId?: string | null | undefined;
1741
+ escrowAccountId?: string | null | undefined;
1742
+ warrantsEnabled?: boolean | undefined;
1743
+ totalShares?: number | null | undefined;
1744
+ warrantTermYears?: number | null | undefined;
1745
+ exercisePrice?: number | null | undefined;
1746
+ warrantPercentage?: number | null | undefined;
1747
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1748
+ incrementThreshold?: number | null | undefined;
1749
+ shareClassId?: string | null | undefined;
1396
1750
  assetName?: string | undefined;
1397
1751
  assetType?: AssetType | undefined;
1398
1752
  pricePerUnit?: number | null | undefined;
@@ -1402,6 +1756,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1402
1756
  durationType?: DurationType | null | undefined;
1403
1757
  tiers?: number[] | null | undefined;
1404
1758
  enableBonus?: boolean | undefined;
1759
+ interestRate?: number | null | undefined;
1760
+ bonusTiers?: {
1761
+ value: number;
1762
+ type: import("./bonus-tier.types").BonusType;
1763
+ startAmount: number;
1764
+ endAmount: number;
1765
+ }[] | undefined;
1405
1766
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1406
1767
  subscriptionAgreementTemplateId?: string | null | undefined;
1407
1768
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1444,6 +1805,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1444
1805
  memorandumId?: string | null | undefined;
1445
1806
  subscriptionAgreementId?: string | null | undefined;
1446
1807
  showTotalRaised?: boolean | undefined;
1808
+ hasEscrow?: boolean | undefined;
1809
+ escrowAgreementFileId?: string | null | undefined;
1810
+ bankAccountId?: string | null | undefined;
1811
+ escrowAccountId?: string | null | undefined;
1812
+ warrantsEnabled?: boolean | undefined;
1813
+ totalShares?: number | null | undefined;
1814
+ warrantTermYears?: number | null | undefined;
1815
+ exercisePrice?: number | null | undefined;
1816
+ warrantPercentage?: number | null | undefined;
1817
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1818
+ incrementThreshold?: number | null | undefined;
1819
+ shareClassId?: string | null | undefined;
1447
1820
  assetName?: string | undefined;
1448
1821
  assetType?: AssetType | undefined;
1449
1822
  pricePerUnit?: number | null | undefined;
@@ -1453,6 +1826,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1453
1826
  durationType?: DurationType | null | undefined;
1454
1827
  tiers?: number[] | null | undefined;
1455
1828
  enableBonus?: boolean | undefined;
1829
+ interestRate?: number | null | undefined;
1830
+ bonusTiers?: {
1831
+ value: number;
1832
+ type: import("./bonus-tier.types").BonusType;
1833
+ startAmount: number;
1834
+ endAmount: number;
1835
+ }[] | undefined;
1456
1836
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1457
1837
  subscriptionAgreementTemplateId?: string | null | undefined;
1458
1838
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -2190,6 +2570,7 @@ export type OfferingUpdateFields = {
2190
2570
  managedBy?: ManagedByType | null;
2191
2571
  showTotalRaised?: boolean;
2192
2572
  enabled?: boolean;
2573
+ shareClassId?: string | null;
2193
2574
  };
2194
2575
  export declare const ReviewOfferingOnboarding: z.ZodObject<{
2195
2576
  onboardingStatus: z.ZodNativeEnum<typeof OfferingOnboardingStatus>;
@@ -2333,3 +2714,136 @@ export declare const IPaginatedOnboardingOfferingSummaryResponse: z.ZodObject<{
2333
2714
  };
2334
2715
  }>;
2335
2716
  export type IPaginatedOnboardingOfferingSummaryResponse = z.infer<typeof IPaginatedOnboardingOfferingSummaryResponse>;
2717
+ /**
2718
+ * Maps asset types to fields that should be reset (nullified) when converting
2719
+ * from one asset type to another. This ensures incompatible fields from the
2720
+ * previous type are cleared when the asset type changes.
2721
+ */
2722
+ export declare const ESCROW_ENABLED_OFFERING_FIELD_RESETS: Partial<IOffering>;
2723
+ /**
2724
+ * Schema for escrow validation data input
2725
+ */
2726
+ export declare const EscrowValidationDataZod: z.ZodObject<{
2727
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
2728
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2731
+ }, "strip", z.ZodTypeAny, {
2732
+ hasEscrow?: boolean | undefined;
2733
+ escrowAgreementFileId?: string | null | undefined;
2734
+ bankAccountId?: string | null | undefined;
2735
+ escrowAccountId?: string | null | undefined;
2736
+ }, {
2737
+ hasEscrow?: boolean | undefined;
2738
+ escrowAgreementFileId?: string | null | undefined;
2739
+ bankAccountId?: string | null | undefined;
2740
+ escrowAccountId?: string | null | undefined;
2741
+ }>;
2742
+ export type EscrowValidationData = z.infer<typeof EscrowValidationDataZod>;
2743
+ /**
2744
+ * Schema for escrow validation context
2745
+ */
2746
+ export declare const EscrowValidationContextZod: z.ZodObject<{
2747
+ accountId: z.ZodString;
2748
+ issuerId: z.ZodString;
2749
+ offeringId: z.ZodString;
2750
+ currentBankAccountId: z.ZodNullable<z.ZodString>;
2751
+ currentEscrowAccountId: z.ZodNullable<z.ZodString>;
2752
+ currentEscrowAgreementFileId: z.ZodNullable<z.ZodString>;
2753
+ }, "strip", z.ZodTypeAny, {
2754
+ accountId: string;
2755
+ offeringId: string;
2756
+ issuerId: string;
2757
+ currentBankAccountId: string | null;
2758
+ currentEscrowAccountId: string | null;
2759
+ currentEscrowAgreementFileId: string | null;
2760
+ }, {
2761
+ accountId: string;
2762
+ offeringId: string;
2763
+ issuerId: string;
2764
+ currentBankAccountId: string | null;
2765
+ currentEscrowAccountId: string | null;
2766
+ currentEscrowAgreementFileId: string | null;
2767
+ }>;
2768
+ export type EscrowValidationContext = z.infer<typeof EscrowValidationContextZod>;
2769
+ /**
2770
+ * Shape of warrant fields shared by Offering and OfferingRevision for validation.
2771
+ */
2772
+ export declare const WarrantSharesBaseZod: z.ZodObject<{
2773
+ warrantsEnabled: z.ZodBoolean;
2774
+ totalShares: z.ZodNullable<z.ZodNumber>;
2775
+ warrantTermYears: z.ZodNullable<z.ZodNumber>;
2776
+ exercisePrice: z.ZodNullable<z.ZodNumber>;
2777
+ warrantPercentage: z.ZodNullable<z.ZodNumber>;
2778
+ calculationMethod: z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>;
2779
+ incrementThreshold: z.ZodNullable<z.ZodNumber>;
2780
+ fullyDilutedShares: z.ZodNullable<z.ZodNumber>;
2781
+ }, "strip", z.ZodTypeAny, {
2782
+ warrantsEnabled: boolean;
2783
+ totalShares: number | null;
2784
+ warrantTermYears: number | null;
2785
+ exercisePrice: number | null;
2786
+ warrantPercentage: number | null;
2787
+ calculationMethod: WarrantSharesCalculationMethod | null;
2788
+ incrementThreshold: number | null;
2789
+ fullyDilutedShares: number | null;
2790
+ }, {
2791
+ warrantsEnabled: boolean;
2792
+ totalShares: number | null;
2793
+ warrantTermYears: number | null;
2794
+ exercisePrice: number | null;
2795
+ warrantPercentage: number | null;
2796
+ calculationMethod: WarrantSharesCalculationMethod | null;
2797
+ incrementThreshold: number | null;
2798
+ fullyDilutedShares: number | null;
2799
+ }>;
2800
+ export type WarrantSharesBase = z.infer<typeof WarrantSharesBaseZod>;
2801
+ /**
2802
+ * All warrant field keys used when picking warrant data from base or patch.
2803
+ */
2804
+ export declare const WARRANT_FIELD_KEYS: (keyof WarrantSharesBase)[];
2805
+ /**
2806
+ * Warrant field keys required when enabling warrants (turning warrants on).
2807
+ */
2808
+ export declare const WARRANT_REQUIRED_WHEN_ENABLED_KEYS: (keyof WarrantSharesBase)[];
2809
+ /**
2810
+ * Patch input for warrant validation (optional warrant fields from PATCH body).
2811
+ */
2812
+ export declare const WarrantValidationDataZod: z.ZodObject<{
2813
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
2814
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2815
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2816
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2817
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2818
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
2819
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2820
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2821
+ }, "strip", z.ZodTypeAny, {
2822
+ warrantsEnabled?: boolean | undefined;
2823
+ totalShares?: number | null | undefined;
2824
+ warrantTermYears?: number | null | undefined;
2825
+ exercisePrice?: number | null | undefined;
2826
+ warrantPercentage?: number | null | undefined;
2827
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2828
+ incrementThreshold?: number | null | undefined;
2829
+ fullyDilutedShares?: number | null | undefined;
2830
+ }, {
2831
+ warrantsEnabled?: boolean | undefined;
2832
+ totalShares?: number | null | undefined;
2833
+ warrantTermYears?: number | null | undefined;
2834
+ exercisePrice?: number | null | undefined;
2835
+ warrantPercentage?: number | null | undefined;
2836
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2837
+ incrementThreshold?: number | null | undefined;
2838
+ fullyDilutedShares?: number | null | undefined;
2839
+ }>;
2840
+ export type WarrantValidationData = z.infer<typeof WarrantValidationDataZod>;
2841
+ /**
2842
+ * Validated warrant payload to persist on revision and offering.
2843
+ */
2844
+ export type WarrantValidationResult = WarrantSharesBase;
2845
+ /**
2846
+ * Warrant-related fields to reset (nullify) when warrants are disabled.
2847
+ * Used when warrantsEnabled is set to false so revision and offering stay in sync.
2848
+ */
2849
+ export declare const WARRANT_DISABLED_FIELD_RESETS: WarrantValidationResult;