@dalmore/api-contracts 0.0.0-dev.9c066a6 → 0.0.0-dev.9c4aa34

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 (88) 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 +890 -593
  31. package/common/types/disbursements.types.js +66 -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 +829 -14
  53. package/common/types/issuer-offering.types.js +278 -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 +534 -20
  61. package/common/types/offering.types.js +309 -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 +8 -8
  70. package/common/types/site.types.d.ts +17 -12
  71. package/common/types/task.types.d.ts +22 -22
  72. package/common/types/trade-line-item.types.d.ts +12 -12
  73. package/common/types/trade.types.d.ts +56 -45
  74. package/common/types/trade.types.js +11 -3
  75. package/common/types/trade.types.js.map +1 -1
  76. package/common/types/transaction.types.d.ts +80 -2
  77. package/common/types/transaction.types.js +22 -3
  78. package/common/types/transaction.types.js.map +1 -1
  79. package/common/types/user.types.d.ts +191 -59
  80. package/common/types/user.types.js +9 -1
  81. package/common/types/user.types.js.map +1 -1
  82. package/contracts/clients/assets/index.d.ts +22 -0
  83. package/contracts/clients/files/index.d.ts +3 -3
  84. package/contracts/clients/files-public/index.d.ts +3 -3
  85. package/contracts/clients/index.d.ts +335 -17
  86. package/contracts/clients/offerings/index.d.ts +303 -7
  87. package/contracts/clients/trades/index.d.ts +4 -4
  88. package/package.json +1 -1
@@ -1,12 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
3
3
  import { AssetTemplateType } 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
- }
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,6 +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;
132
+ interestRate: z.ZodNullable<z.ZodNumber>;
137
133
  }, "strip", z.ZodTypeAny, {
138
134
  type: AssetType | null;
139
135
  id: string;
@@ -152,6 +148,7 @@ export declare const IIssuerOffering: z.ZodObject<{
152
148
  durationType: DurationType | null;
153
149
  tiers: number[] | null;
154
150
  enableBonus: boolean;
151
+ interestRate: number | null;
155
152
  __entity?: string | undefined;
156
153
  account?: {
157
154
  status: import("./common.types").AccountStatus;
@@ -186,6 +183,7 @@ export declare const IIssuerOffering: z.ZodObject<{
186
183
  durationType: DurationType | null;
187
184
  tiers: number[] | null;
188
185
  enableBonus: boolean;
186
+ interestRate: number | null;
189
187
  __entity?: string | undefined;
190
188
  account?: {
191
189
  status: import("./common.types").AccountStatus;
@@ -212,6 +210,130 @@ export declare const IIssuerOffering: z.ZodObject<{
212
210
  valuationCap: z.ZodNullable<z.ZodNumber>;
213
211
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
214
212
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
213
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
214
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
217
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
219
+ id: z.ZodString;
220
+ __entity: z.ZodOptional<z.ZodString>;
221
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
222
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
223
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
224
+ } & {
225
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
226
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
228
+ accountName: z.ZodString;
229
+ agentEmail: z.ZodString;
230
+ agentName: z.ZodString;
231
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
232
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
233
+ id: z.ZodString;
234
+ __entity: z.ZodOptional<z.ZodString>;
235
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
236
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
237
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
238
+ } & {
239
+ name: z.ZodString;
240
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
241
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
242
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
243
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
244
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
245
+ allowPendingComplianceReview: z.ZodBoolean;
246
+ }, "strip", z.ZodTypeAny, {
247
+ status: import("./common.types").AccountStatus;
248
+ id: string;
249
+ createdAt: string | Date;
250
+ updatedAt: string | Date;
251
+ deletedAt: string | Date | null;
252
+ name: string;
253
+ managedBy: ManagedByType | null;
254
+ platform: import("./common.types").Platform;
255
+ onboardingReviewerId: string | null;
256
+ onboardingReviewAt: Date | null;
257
+ allowPendingComplianceReview: boolean;
258
+ __entity?: string | undefined;
259
+ }, {
260
+ status: import("./common.types").AccountStatus;
261
+ id: string;
262
+ createdAt: string | Date;
263
+ updatedAt: string | Date;
264
+ deletedAt: string | Date | null;
265
+ name: string;
266
+ managedBy: ManagedByType | null;
267
+ platform: import("./common.types").Platform;
268
+ onboardingReviewerId: string | null;
269
+ onboardingReviewAt: Date | null;
270
+ allowPendingComplianceReview: boolean;
271
+ __entity?: string | undefined;
272
+ }>>>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ id: string;
275
+ createdAt: string | Date;
276
+ updatedAt: string | Date;
277
+ deletedAt: string | Date | null;
278
+ accountId: string;
279
+ accountName: string;
280
+ agentEmail: string;
281
+ agentName: string;
282
+ __entity?: string | undefined;
283
+ account?: {
284
+ status: import("./common.types").AccountStatus;
285
+ id: string;
286
+ createdAt: string | Date;
287
+ updatedAt: string | Date;
288
+ deletedAt: string | Date | null;
289
+ name: string;
290
+ managedBy: ManagedByType | null;
291
+ platform: import("./common.types").Platform;
292
+ onboardingReviewerId: string | null;
293
+ onboardingReviewAt: Date | null;
294
+ allowPendingComplianceReview: boolean;
295
+ __entity?: string | undefined;
296
+ } | null | undefined;
297
+ accountNumber?: string | null | undefined;
298
+ routingNumber?: string | null | undefined;
299
+ company?: string | null | undefined;
300
+ }, {
301
+ id: string;
302
+ createdAt: string | Date;
303
+ updatedAt: string | Date;
304
+ deletedAt: string | Date | null;
305
+ accountId: string;
306
+ accountName: string;
307
+ agentEmail: string;
308
+ agentName: string;
309
+ __entity?: string | undefined;
310
+ account?: {
311
+ status: import("./common.types").AccountStatus;
312
+ id: string;
313
+ createdAt: string | Date;
314
+ updatedAt: string | Date;
315
+ deletedAt: string | Date | null;
316
+ name: string;
317
+ managedBy: ManagedByType | null;
318
+ platform: import("./common.types").Platform;
319
+ onboardingReviewerId: string | null;
320
+ onboardingReviewAt: Date | null;
321
+ allowPendingComplianceReview: boolean;
322
+ __entity?: string | undefined;
323
+ } | null | undefined;
324
+ accountNumber?: string | null | undefined;
325
+ routingNumber?: string | null | undefined;
326
+ company?: string | null | undefined;
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>>;
215
337
  }, "strip", z.ZodTypeAny, {
216
338
  type: OfferingType | null;
217
339
  id: string;
@@ -256,6 +378,7 @@ export declare const IIssuerOffering: z.ZodObject<{
256
378
  durationType: DurationType | null;
257
379
  tiers: number[] | null;
258
380
  enableBonus: boolean;
381
+ interestRate: number | null;
259
382
  __entity?: string | undefined;
260
383
  account?: {
261
384
  status: import("./common.types").AccountStatus;
@@ -293,6 +416,48 @@ export declare const IIssuerOffering: z.ZodObject<{
293
416
  memorandumId?: string | null | undefined;
294
417
  subscriptionAgreementId?: string | null | undefined;
295
418
  showTotalRaised?: boolean | undefined;
419
+ hasEscrow?: boolean | undefined;
420
+ escrowAgreementFileId?: string | null | undefined;
421
+ bankAccountId?: string | null | undefined;
422
+ bankAccount?: any;
423
+ escrowAccountId?: string | null | undefined;
424
+ escrowAccount?: {
425
+ id: string;
426
+ createdAt: string | Date;
427
+ updatedAt: string | Date;
428
+ deletedAt: string | Date | null;
429
+ accountId: string;
430
+ accountName: string;
431
+ agentEmail: string;
432
+ agentName: string;
433
+ __entity?: string | undefined;
434
+ account?: {
435
+ status: import("./common.types").AccountStatus;
436
+ id: string;
437
+ createdAt: string | Date;
438
+ updatedAt: string | Date;
439
+ deletedAt: string | Date | null;
440
+ name: string;
441
+ managedBy: ManagedByType | null;
442
+ platform: import("./common.types").Platform;
443
+ onboardingReviewerId: string | null;
444
+ onboardingReviewAt: Date | null;
445
+ allowPendingComplianceReview: boolean;
446
+ __entity?: string | undefined;
447
+ } | null | undefined;
448
+ accountNumber?: string | null | undefined;
449
+ routingNumber?: string | null | undefined;
450
+ company?: string | null | undefined;
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;
296
461
  }, {
297
462
  type: OfferingType | null;
298
463
  id: string;
@@ -337,6 +502,7 @@ export declare const IIssuerOffering: z.ZodObject<{
337
502
  durationType: DurationType | null;
338
503
  tiers: number[] | null;
339
504
  enableBonus: boolean;
505
+ interestRate: number | null;
340
506
  __entity?: string | undefined;
341
507
  account?: {
342
508
  status: import("./common.types").AccountStatus;
@@ -374,6 +540,48 @@ export declare const IIssuerOffering: z.ZodObject<{
374
540
  memorandumId?: string | null | undefined;
375
541
  subscriptionAgreementId?: string | null | undefined;
376
542
  showTotalRaised?: boolean | undefined;
543
+ hasEscrow?: boolean | undefined;
544
+ escrowAgreementFileId?: string | null | undefined;
545
+ bankAccountId?: string | null | undefined;
546
+ bankAccount?: any;
547
+ escrowAccountId?: string | null | undefined;
548
+ escrowAccount?: {
549
+ id: string;
550
+ createdAt: string | Date;
551
+ updatedAt: string | Date;
552
+ deletedAt: string | Date | null;
553
+ accountId: string;
554
+ accountName: string;
555
+ agentEmail: string;
556
+ agentName: string;
557
+ __entity?: string | undefined;
558
+ account?: {
559
+ status: import("./common.types").AccountStatus;
560
+ id: string;
561
+ createdAt: string | Date;
562
+ updatedAt: string | Date;
563
+ deletedAt: string | Date | null;
564
+ name: string;
565
+ managedBy: ManagedByType | null;
566
+ platform: import("./common.types").Platform;
567
+ onboardingReviewerId: string | null;
568
+ onboardingReviewAt: Date | null;
569
+ allowPendingComplianceReview: boolean;
570
+ __entity?: string | undefined;
571
+ } | null | undefined;
572
+ accountNumber?: string | null | undefined;
573
+ routingNumber?: string | null | undefined;
574
+ company?: string | null | undefined;
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;
377
585
  }>;
378
586
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
379
587
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -504,6 +712,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
504
712
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
505
713
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
506
714
  enableBonus: z.ZodBoolean;
715
+ interestRate: z.ZodNullable<z.ZodNumber>;
507
716
  }, "strip", z.ZodTypeAny, {
508
717
  type: AssetType | null;
509
718
  id: string;
@@ -522,6 +731,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
522
731
  durationType: DurationType | null;
523
732
  tiers: number[] | null;
524
733
  enableBonus: boolean;
734
+ interestRate: number | null;
525
735
  __entity?: string | undefined;
526
736
  account?: {
527
737
  status: import("./common.types").AccountStatus;
@@ -556,6 +766,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
556
766
  durationType: DurationType | null;
557
767
  tiers: number[] | null;
558
768
  enableBonus: boolean;
769
+ interestRate: number | null;
559
770
  __entity?: string | undefined;
560
771
  account?: {
561
772
  status: import("./common.types").AccountStatus;
@@ -582,6 +793,130 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
582
793
  valuationCap: z.ZodNullable<z.ZodNumber>;
583
794
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
584
795
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
796
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
797
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
799
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
800
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
801
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
802
+ id: z.ZodString;
803
+ __entity: z.ZodOptional<z.ZodString>;
804
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
805
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
806
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
807
+ } & {
808
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
809
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
810
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
811
+ accountName: z.ZodString;
812
+ agentEmail: z.ZodString;
813
+ agentName: z.ZodString;
814
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
815
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
816
+ id: z.ZodString;
817
+ __entity: z.ZodOptional<z.ZodString>;
818
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
819
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
820
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
821
+ } & {
822
+ name: z.ZodString;
823
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
824
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
825
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
826
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
827
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
828
+ allowPendingComplianceReview: z.ZodBoolean;
829
+ }, "strip", z.ZodTypeAny, {
830
+ status: import("./common.types").AccountStatus;
831
+ id: string;
832
+ createdAt: string | Date;
833
+ updatedAt: string | Date;
834
+ deletedAt: string | Date | null;
835
+ name: string;
836
+ managedBy: ManagedByType | null;
837
+ platform: import("./common.types").Platform;
838
+ onboardingReviewerId: string | null;
839
+ onboardingReviewAt: Date | null;
840
+ allowPendingComplianceReview: boolean;
841
+ __entity?: string | undefined;
842
+ }, {
843
+ status: import("./common.types").AccountStatus;
844
+ id: string;
845
+ createdAt: string | Date;
846
+ updatedAt: string | Date;
847
+ deletedAt: string | Date | null;
848
+ name: string;
849
+ managedBy: ManagedByType | null;
850
+ platform: import("./common.types").Platform;
851
+ onboardingReviewerId: string | null;
852
+ onboardingReviewAt: Date | null;
853
+ allowPendingComplianceReview: boolean;
854
+ __entity?: string | undefined;
855
+ }>>>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ id: string;
858
+ createdAt: string | Date;
859
+ updatedAt: string | Date;
860
+ deletedAt: string | Date | null;
861
+ accountId: string;
862
+ accountName: string;
863
+ agentEmail: string;
864
+ agentName: string;
865
+ __entity?: string | undefined;
866
+ account?: {
867
+ status: import("./common.types").AccountStatus;
868
+ id: string;
869
+ createdAt: string | Date;
870
+ updatedAt: string | Date;
871
+ deletedAt: string | Date | null;
872
+ name: string;
873
+ managedBy: ManagedByType | null;
874
+ platform: import("./common.types").Platform;
875
+ onboardingReviewerId: string | null;
876
+ onboardingReviewAt: Date | null;
877
+ allowPendingComplianceReview: boolean;
878
+ __entity?: string | undefined;
879
+ } | null | undefined;
880
+ accountNumber?: string | null | undefined;
881
+ routingNumber?: string | null | undefined;
882
+ company?: string | null | undefined;
883
+ }, {
884
+ id: string;
885
+ createdAt: string | Date;
886
+ updatedAt: string | Date;
887
+ deletedAt: string | Date | null;
888
+ accountId: string;
889
+ accountName: string;
890
+ agentEmail: string;
891
+ agentName: string;
892
+ __entity?: string | undefined;
893
+ account?: {
894
+ status: import("./common.types").AccountStatus;
895
+ id: string;
896
+ createdAt: string | Date;
897
+ updatedAt: string | Date;
898
+ deletedAt: string | Date | null;
899
+ name: string;
900
+ managedBy: ManagedByType | null;
901
+ platform: import("./common.types").Platform;
902
+ onboardingReviewerId: string | null;
903
+ onboardingReviewAt: Date | null;
904
+ allowPendingComplianceReview: boolean;
905
+ __entity?: string | undefined;
906
+ } | null | undefined;
907
+ accountNumber?: string | null | undefined;
908
+ routingNumber?: string | null | undefined;
909
+ company?: string | null | undefined;
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>>;
585
920
  }, "strip", z.ZodTypeAny, {
586
921
  type: OfferingType | null;
587
922
  id: string;
@@ -626,6 +961,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
626
961
  durationType: DurationType | null;
627
962
  tiers: number[] | null;
628
963
  enableBonus: boolean;
964
+ interestRate: number | null;
629
965
  __entity?: string | undefined;
630
966
  account?: {
631
967
  status: import("./common.types").AccountStatus;
@@ -663,6 +999,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
663
999
  memorandumId?: string | null | undefined;
664
1000
  subscriptionAgreementId?: string | null | undefined;
665
1001
  showTotalRaised?: boolean | undefined;
1002
+ hasEscrow?: boolean | undefined;
1003
+ escrowAgreementFileId?: string | null | undefined;
1004
+ bankAccountId?: string | null | undefined;
1005
+ bankAccount?: any;
1006
+ escrowAccountId?: string | null | undefined;
1007
+ escrowAccount?: {
1008
+ id: string;
1009
+ createdAt: string | Date;
1010
+ updatedAt: string | Date;
1011
+ deletedAt: string | Date | null;
1012
+ accountId: string;
1013
+ accountName: string;
1014
+ agentEmail: string;
1015
+ agentName: string;
1016
+ __entity?: string | undefined;
1017
+ account?: {
1018
+ status: import("./common.types").AccountStatus;
1019
+ id: string;
1020
+ createdAt: string | Date;
1021
+ updatedAt: string | Date;
1022
+ deletedAt: string | Date | null;
1023
+ name: string;
1024
+ managedBy: ManagedByType | null;
1025
+ platform: import("./common.types").Platform;
1026
+ onboardingReviewerId: string | null;
1027
+ onboardingReviewAt: Date | null;
1028
+ allowPendingComplianceReview: boolean;
1029
+ __entity?: string | undefined;
1030
+ } | null | undefined;
1031
+ accountNumber?: string | null | undefined;
1032
+ routingNumber?: string | null | undefined;
1033
+ company?: string | null | undefined;
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;
666
1044
  }, {
667
1045
  type: OfferingType | null;
668
1046
  id: string;
@@ -707,6 +1085,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
707
1085
  durationType: DurationType | null;
708
1086
  tiers: number[] | null;
709
1087
  enableBonus: boolean;
1088
+ interestRate: number | null;
710
1089
  __entity?: string | undefined;
711
1090
  account?: {
712
1091
  status: import("./common.types").AccountStatus;
@@ -744,6 +1123,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
744
1123
  memorandumId?: string | null | undefined;
745
1124
  subscriptionAgreementId?: string | null | undefined;
746
1125
  showTotalRaised?: boolean | undefined;
1126
+ hasEscrow?: boolean | undefined;
1127
+ escrowAgreementFileId?: string | null | undefined;
1128
+ bankAccountId?: string | null | undefined;
1129
+ bankAccount?: any;
1130
+ escrowAccountId?: string | null | undefined;
1131
+ escrowAccount?: {
1132
+ id: string;
1133
+ createdAt: string | Date;
1134
+ updatedAt: string | Date;
1135
+ deletedAt: string | Date | null;
1136
+ accountId: string;
1137
+ accountName: string;
1138
+ agentEmail: string;
1139
+ agentName: string;
1140
+ __entity?: string | undefined;
1141
+ account?: {
1142
+ status: import("./common.types").AccountStatus;
1143
+ id: string;
1144
+ createdAt: string | Date;
1145
+ updatedAt: string | Date;
1146
+ deletedAt: string | Date | null;
1147
+ name: string;
1148
+ managedBy: ManagedByType | null;
1149
+ platform: import("./common.types").Platform;
1150
+ onboardingReviewerId: string | null;
1151
+ onboardingReviewAt: Date | null;
1152
+ allowPendingComplianceReview: boolean;
1153
+ __entity?: string | undefined;
1154
+ } | null | undefined;
1155
+ accountNumber?: string | null | undefined;
1156
+ routingNumber?: string | null | undefined;
1157
+ company?: string | null | undefined;
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;
747
1168
  }>, "many">;
748
1169
  meta: z.ZodObject<{
749
1170
  itemCount: z.ZodNumber;
@@ -809,6 +1230,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
809
1230
  durationType: DurationType | null;
810
1231
  tiers: number[] | null;
811
1232
  enableBonus: boolean;
1233
+ interestRate: number | null;
812
1234
  __entity?: string | undefined;
813
1235
  account?: {
814
1236
  status: import("./common.types").AccountStatus;
@@ -846,6 +1268,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
846
1268
  memorandumId?: string | null | undefined;
847
1269
  subscriptionAgreementId?: string | null | undefined;
848
1270
  showTotalRaised?: boolean | undefined;
1271
+ hasEscrow?: boolean | undefined;
1272
+ escrowAgreementFileId?: string | null | undefined;
1273
+ bankAccountId?: string | null | undefined;
1274
+ bankAccount?: any;
1275
+ escrowAccountId?: string | null | undefined;
1276
+ escrowAccount?: {
1277
+ id: string;
1278
+ createdAt: string | Date;
1279
+ updatedAt: string | Date;
1280
+ deletedAt: string | Date | null;
1281
+ accountId: string;
1282
+ accountName: string;
1283
+ agentEmail: string;
1284
+ agentName: string;
1285
+ __entity?: string | undefined;
1286
+ account?: {
1287
+ status: import("./common.types").AccountStatus;
1288
+ id: string;
1289
+ createdAt: string | Date;
1290
+ updatedAt: string | Date;
1291
+ deletedAt: string | Date | null;
1292
+ name: string;
1293
+ managedBy: ManagedByType | null;
1294
+ platform: import("./common.types").Platform;
1295
+ onboardingReviewerId: string | null;
1296
+ onboardingReviewAt: Date | null;
1297
+ allowPendingComplianceReview: boolean;
1298
+ __entity?: string | undefined;
1299
+ } | null | undefined;
1300
+ accountNumber?: string | null | undefined;
1301
+ routingNumber?: string | null | undefined;
1302
+ company?: string | null | undefined;
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;
849
1313
  }[];
850
1314
  meta: {
851
1315
  itemCount: number;
@@ -899,6 +1363,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
899
1363
  durationType: DurationType | null;
900
1364
  tiers: number[] | null;
901
1365
  enableBonus: boolean;
1366
+ interestRate: number | null;
902
1367
  __entity?: string | undefined;
903
1368
  account?: {
904
1369
  status: import("./common.types").AccountStatus;
@@ -936,6 +1401,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
936
1401
  memorandumId?: string | null | undefined;
937
1402
  subscriptionAgreementId?: string | null | undefined;
938
1403
  showTotalRaised?: boolean | undefined;
1404
+ hasEscrow?: boolean | undefined;
1405
+ escrowAgreementFileId?: string | null | undefined;
1406
+ bankAccountId?: string | null | undefined;
1407
+ bankAccount?: any;
1408
+ escrowAccountId?: string | null | undefined;
1409
+ escrowAccount?: {
1410
+ id: string;
1411
+ createdAt: string | Date;
1412
+ updatedAt: string | Date;
1413
+ deletedAt: string | Date | null;
1414
+ accountId: string;
1415
+ accountName: string;
1416
+ agentEmail: string;
1417
+ agentName: string;
1418
+ __entity?: string | undefined;
1419
+ account?: {
1420
+ status: import("./common.types").AccountStatus;
1421
+ id: string;
1422
+ createdAt: string | Date;
1423
+ updatedAt: string | Date;
1424
+ deletedAt: string | Date | null;
1425
+ name: string;
1426
+ managedBy: ManagedByType | null;
1427
+ platform: import("./common.types").Platform;
1428
+ onboardingReviewerId: string | null;
1429
+ onboardingReviewAt: Date | null;
1430
+ allowPendingComplianceReview: boolean;
1431
+ __entity?: string | undefined;
1432
+ } | null | undefined;
1433
+ accountNumber?: string | null | undefined;
1434
+ routingNumber?: string | null | undefined;
1435
+ company?: string | null | undefined;
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;
939
1446
  }[];
940
1447
  meta: {
941
1448
  itemCount: number;
@@ -946,8 +1453,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
946
1453
  };
947
1454
  }>;
948
1455
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1456
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
949
1457
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
950
1458
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1459
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
951
1460
  name: z.ZodString;
952
1461
  type: z.ZodNativeEnum<typeof OfferingType>;
953
1462
  targetAmount: z.ZodNumber;
@@ -971,12 +1480,60 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
971
1480
  template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
972
1481
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
973
1482
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1483
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1484
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1485
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1486
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1487
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1488
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1489
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1490
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1491
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ value: number;
1494
+ type: import("./bonus-tier.types").BonusType;
1495
+ startAmount: number;
1496
+ endAmount: number;
1497
+ }, {
1498
+ value: number;
1499
+ type: import("./bonus-tier.types").BonusType;
1500
+ startAmount: number;
1501
+ endAmount: number;
1502
+ }>, {
1503
+ value: number;
1504
+ type: import("./bonus-tier.types").BonusType;
1505
+ startAmount: number;
1506
+ endAmount: number;
1507
+ }, {
1508
+ value: number;
1509
+ type: import("./bonus-tier.types").BonusType;
1510
+ startAmount: number;
1511
+ endAmount: number;
1512
+ }>, {
1513
+ value: number;
1514
+ type: import("./bonus-tier.types").BonusType;
1515
+ startAmount: number;
1516
+ endAmount: number;
1517
+ }, {
1518
+ value: number;
1519
+ type: import("./bonus-tier.types").BonusType;
1520
+ startAmount: number;
1521
+ endAmount: number;
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>>>;
974
1530
  }, "strip", z.ZodTypeAny, {
975
1531
  type: OfferingType;
976
1532
  name: string;
977
1533
  template: AssetTemplateType;
978
1534
  targetAmount: number;
979
1535
  issuerId: string;
1536
+ warrantsEnabled: boolean;
980
1537
  assetName: string;
981
1538
  assetType: AssetType;
982
1539
  pricePerUnit: number | null;
@@ -991,11 +1548,28 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
991
1548
  startAt?: Date | null | undefined;
992
1549
  endAt?: Date | null | undefined;
993
1550
  cancellationPeriod?: number | null | undefined;
1551
+ hasEscrow?: boolean | undefined;
1552
+ bankAccountId?: string | null | undefined;
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;
994
1561
  yield?: number | null | undefined;
995
1562
  duration?: number | null | undefined;
996
1563
  durationType?: DurationType | null | undefined;
997
1564
  tiers?: number[] | null | undefined;
998
1565
  enableBonus?: boolean | undefined;
1566
+ interestRate?: number | null | undefined;
1567
+ bonusTiers?: {
1568
+ value: number;
1569
+ type: import("./bonus-tier.types").BonusType;
1570
+ startAmount: number;
1571
+ endAmount: number;
1572
+ }[] | undefined;
999
1573
  }, {
1000
1574
  type: OfferingType;
1001
1575
  name: string;
@@ -1016,17 +1590,36 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1016
1590
  startAt?: string | null | undefined;
1017
1591
  endAt?: string | null | undefined;
1018
1592
  cancellationPeriod?: number | null | undefined;
1593
+ hasEscrow?: boolean | undefined;
1594
+ bankAccountId?: string | null | undefined;
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;
1019
1604
  yield?: number | null | undefined;
1020
1605
  duration?: number | null | undefined;
1021
1606
  durationType?: DurationType | null | undefined;
1022
1607
  tiers?: number[] | null | undefined;
1023
1608
  enableBonus?: boolean | undefined;
1609
+ interestRate?: number | null | undefined;
1610
+ bonusTiers?: {
1611
+ value: number;
1612
+ type: import("./bonus-tier.types").BonusType;
1613
+ startAmount: number;
1614
+ endAmount: number;
1615
+ }[] | undefined;
1024
1616
  }>, {
1025
1617
  type: OfferingType;
1026
1618
  name: string;
1027
1619
  template: AssetTemplateType;
1028
1620
  targetAmount: number;
1029
1621
  issuerId: string;
1622
+ warrantsEnabled: boolean;
1030
1623
  assetName: string;
1031
1624
  assetType: AssetType;
1032
1625
  pricePerUnit: number | null;
@@ -1041,11 +1634,28 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1041
1634
  startAt?: Date | null | undefined;
1042
1635
  endAt?: Date | null | undefined;
1043
1636
  cancellationPeriod?: number | null | undefined;
1637
+ hasEscrow?: boolean | undefined;
1638
+ bankAccountId?: string | null | undefined;
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;
1044
1647
  yield?: number | null | undefined;
1045
1648
  duration?: number | null | undefined;
1046
1649
  durationType?: DurationType | null | undefined;
1047
1650
  tiers?: number[] | null | undefined;
1048
1651
  enableBonus?: boolean | undefined;
1652
+ interestRate?: number | null | undefined;
1653
+ bonusTiers?: {
1654
+ value: number;
1655
+ type: import("./bonus-tier.types").BonusType;
1656
+ startAmount: number;
1657
+ endAmount: number;
1658
+ }[] | undefined;
1049
1659
  }, {
1050
1660
  type: OfferingType;
1051
1661
  name: string;
@@ -1066,14 +1676,33 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1066
1676
  startAt?: string | null | undefined;
1067
1677
  endAt?: string | null | undefined;
1068
1678
  cancellationPeriod?: number | null | undefined;
1679
+ hasEscrow?: boolean | undefined;
1680
+ bankAccountId?: string | null | undefined;
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;
1069
1690
  yield?: number | null | undefined;
1070
1691
  duration?: number | null | undefined;
1071
1692
  durationType?: DurationType | null | undefined;
1072
1693
  tiers?: number[] | null | undefined;
1073
1694
  enableBonus?: boolean | undefined;
1695
+ interestRate?: number | null | undefined;
1696
+ bonusTiers?: {
1697
+ value: number;
1698
+ type: import("./bonus-tier.types").BonusType;
1699
+ startAmount: number;
1700
+ endAmount: number;
1701
+ }[] | undefined;
1074
1702
  }>;
1075
1703
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1076
- export declare const PatchIssuerOffering: z.ZodObject<{
1704
+ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1705
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1077
1706
  name: z.ZodOptional<z.ZodString>;
1078
1707
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1079
1708
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1087,7 +1716,6 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1087
1716
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1088
1717
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1089
1718
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1090
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1091
1719
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1092
1720
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1093
1721
  assetName: z.ZodOptional<z.ZodString>;
@@ -1101,10 +1729,57 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1101
1729
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1102
1730
  enabled: z.ZodOptional<z.ZodBoolean>;
1103
1731
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1732
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1733
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1734
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1735
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1736
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1737
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1738
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1739
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1740
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1741
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ value: number;
1744
+ type: import("./bonus-tier.types").BonusType;
1745
+ startAmount: number;
1746
+ endAmount: number;
1747
+ }, {
1748
+ value: number;
1749
+ type: import("./bonus-tier.types").BonusType;
1750
+ startAmount: number;
1751
+ endAmount: number;
1752
+ }>, {
1753
+ value: number;
1754
+ type: import("./bonus-tier.types").BonusType;
1755
+ startAmount: number;
1756
+ endAmount: number;
1757
+ }, {
1758
+ value: number;
1759
+ type: import("./bonus-tier.types").BonusType;
1760
+ startAmount: number;
1761
+ endAmount: number;
1762
+ }>, {
1763
+ value: number;
1764
+ type: import("./bonus-tier.types").BonusType;
1765
+ startAmount: number;
1766
+ endAmount: number;
1767
+ }, {
1768
+ value: number;
1769
+ type: import("./bonus-tier.types").BonusType;
1770
+ startAmount: number;
1771
+ endAmount: number;
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>>>;
1104
1780
  }, "strip", z.ZodTypeAny, {
1105
1781
  type?: OfferingType | undefined;
1106
1782
  name?: string | undefined;
1107
- managedBy?: ManagedByType | undefined;
1108
1783
  description?: string | null | undefined;
1109
1784
  enabled?: boolean | undefined;
1110
1785
  template?: AssetTemplateType | null | undefined;
@@ -1120,6 +1795,18 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1120
1795
  memorandumId?: string | null | undefined;
1121
1796
  subscriptionAgreementId?: string | null | undefined;
1122
1797
  showTotalRaised?: boolean | undefined;
1798
+ hasEscrow?: boolean | undefined;
1799
+ escrowAgreementFileId?: string | null | undefined;
1800
+ bankAccountId?: string | null | undefined;
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;
1123
1810
  assetName?: string | undefined;
1124
1811
  assetType?: AssetType | undefined;
1125
1812
  pricePerUnit?: number | null | undefined;
@@ -1129,10 +1816,16 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1129
1816
  durationType?: DurationType | null | undefined;
1130
1817
  tiers?: number[] | null | undefined;
1131
1818
  enableBonus?: boolean | undefined;
1819
+ interestRate?: number | null | undefined;
1820
+ bonusTiers?: {
1821
+ value: number;
1822
+ type: import("./bonus-tier.types").BonusType;
1823
+ startAmount: number;
1824
+ endAmount: number;
1825
+ }[] | undefined;
1132
1826
  }, {
1133
1827
  type?: OfferingType | undefined;
1134
1828
  name?: string | undefined;
1135
- managedBy?: ManagedByType | undefined;
1136
1829
  description?: string | null | undefined;
1137
1830
  enabled?: boolean | undefined;
1138
1831
  template?: AssetTemplateType | null | undefined;
@@ -1148,6 +1841,18 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1148
1841
  memorandumId?: string | null | undefined;
1149
1842
  subscriptionAgreementId?: string | null | undefined;
1150
1843
  showTotalRaised?: boolean | undefined;
1844
+ hasEscrow?: boolean | undefined;
1845
+ escrowAgreementFileId?: string | null | undefined;
1846
+ bankAccountId?: string | null | undefined;
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;
1151
1856
  assetName?: string | undefined;
1152
1857
  assetType?: AssetType | undefined;
1153
1858
  pricePerUnit?: number | null | undefined;
@@ -1157,6 +1862,105 @@ export declare const PatchIssuerOffering: z.ZodObject<{
1157
1862
  durationType?: DurationType | null | undefined;
1158
1863
  tiers?: number[] | null | undefined;
1159
1864
  enableBonus?: boolean | undefined;
1865
+ interestRate?: number | null | undefined;
1866
+ bonusTiers?: {
1867
+ value: number;
1868
+ type: import("./bonus-tier.types").BonusType;
1869
+ startAmount: number;
1870
+ endAmount: number;
1871
+ }[] | undefined;
1872
+ }>, {
1873
+ type?: OfferingType | undefined;
1874
+ name?: string | undefined;
1875
+ description?: string | null | undefined;
1876
+ enabled?: boolean | undefined;
1877
+ template?: AssetTemplateType | null | undefined;
1878
+ coverArtId?: string | null | undefined;
1879
+ targetAmount?: number | undefined;
1880
+ minInvestment?: number | null | undefined;
1881
+ maxInvestment?: number | null | undefined;
1882
+ contingencyAmount?: number | null | undefined;
1883
+ startAt?: Date | null | undefined;
1884
+ endAt?: Date | null | undefined;
1885
+ issuerId?: string | undefined;
1886
+ cancellationPeriod?: number | null | undefined;
1887
+ memorandumId?: string | null | undefined;
1888
+ subscriptionAgreementId?: string | null | undefined;
1889
+ showTotalRaised?: boolean | undefined;
1890
+ hasEscrow?: boolean | undefined;
1891
+ escrowAgreementFileId?: string | null | undefined;
1892
+ bankAccountId?: string | null | undefined;
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;
1902
+ assetName?: string | undefined;
1903
+ assetType?: AssetType | undefined;
1904
+ pricePerUnit?: number | null | undefined;
1905
+ totalUnits?: number | null | undefined;
1906
+ yield?: number | null | undefined;
1907
+ duration?: number | null | undefined;
1908
+ durationType?: DurationType | null | undefined;
1909
+ tiers?: number[] | null | undefined;
1910
+ enableBonus?: boolean | undefined;
1911
+ interestRate?: number | null | undefined;
1912
+ bonusTiers?: {
1913
+ value: number;
1914
+ type: import("./bonus-tier.types").BonusType;
1915
+ startAmount: number;
1916
+ endAmount: number;
1917
+ }[] | undefined;
1918
+ }, {
1919
+ type?: OfferingType | undefined;
1920
+ name?: string | undefined;
1921
+ description?: string | null | undefined;
1922
+ enabled?: boolean | undefined;
1923
+ template?: AssetTemplateType | null | undefined;
1924
+ coverArtId?: string | null | undefined;
1925
+ targetAmount?: number | undefined;
1926
+ minInvestment?: number | null | undefined;
1927
+ maxInvestment?: number | null | undefined;
1928
+ contingencyAmount?: number | null | undefined;
1929
+ startAt?: string | null | undefined;
1930
+ endAt?: string | null | undefined;
1931
+ issuerId?: string | undefined;
1932
+ cancellationPeriod?: number | null | undefined;
1933
+ memorandumId?: string | null | undefined;
1934
+ subscriptionAgreementId?: string | null | undefined;
1935
+ showTotalRaised?: boolean | undefined;
1936
+ hasEscrow?: boolean | undefined;
1937
+ escrowAgreementFileId?: string | null | undefined;
1938
+ bankAccountId?: string | null | undefined;
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;
1948
+ assetName?: string | undefined;
1949
+ assetType?: AssetType | undefined;
1950
+ pricePerUnit?: number | null | undefined;
1951
+ totalUnits?: number | null | undefined;
1952
+ yield?: number | null | undefined;
1953
+ duration?: number | null | undefined;
1954
+ durationType?: DurationType | null | undefined;
1955
+ tiers?: number[] | null | undefined;
1956
+ enableBonus?: boolean | undefined;
1957
+ interestRate?: number | null | undefined;
1958
+ bonusTiers?: {
1959
+ value: number;
1960
+ type: import("./bonus-tier.types").BonusType;
1961
+ startAmount: number;
1962
+ endAmount: number;
1963
+ }[] | undefined;
1160
1964
  }>;
1161
1965
  export type PatchIssuerOffering = z.infer<typeof PatchIssuerOffering>;
1162
1966
  /**
@@ -1212,10 +2016,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1212
2016
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1213
2017
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1214
2018
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2019
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1215
2020
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1216
2021
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1217
2022
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1218
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1219
2023
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1220
2024
  }, "strip", z.ZodTypeAny, {
1221
2025
  sortByNameASC: boolean;
@@ -1224,22 +2028,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1224
2028
  accountId?: string | undefined;
1225
2029
  name?: string | undefined;
1226
2030
  managedBy?: ManagedByType | undefined;
2031
+ complianceReview?: ComplianceReview | undefined;
1227
2032
  enabled?: boolean | undefined;
1228
2033
  issuerId?: string | undefined;
1229
2034
  issuerName?: string | undefined;
1230
2035
  versioningType?: OfferingVersioningType | undefined;
1231
- combinedStatus?: OfferingStatus | undefined;
1232
2036
  }, {
1233
2037
  type?: OfferingType | undefined;
1234
2038
  status?: ComplianceReview | undefined;
1235
2039
  accountId?: string | undefined;
1236
2040
  name?: string | undefined;
1237
2041
  managedBy?: ManagedByType | undefined;
2042
+ complianceReview?: ComplianceReview | undefined;
1238
2043
  enabled?: unknown;
1239
2044
  issuerId?: string | undefined;
1240
2045
  issuerName?: string | undefined;
1241
2046
  versioningType?: OfferingVersioningType | undefined;
1242
- combinedStatus?: OfferingStatus | undefined;
1243
2047
  sortByNameASC?: unknown;
1244
2048
  }>;
1245
2049
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
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;