@dalmore/api-contracts 0.0.0-dev.64aba85 → 0.0.0-dev.6728794

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 (52) hide show
  1. package/common/types/activity.types.d.ts +26 -24
  2. package/common/types/activity.types.js +4 -0
  3. package/common/types/activity.types.js.map +1 -1
  4. package/common/types/asset.types.d.ts +25 -111
  5. package/common/types/asset.types.js +24 -100
  6. package/common/types/asset.types.js.map +1 -1
  7. package/common/types/bonus-tier.types.d.ts +0 -30
  8. package/common/types/bonus-tier.types.js +1 -2
  9. package/common/types/bonus-tier.types.js.map +1 -1
  10. package/common/types/common.types.d.ts +14 -2
  11. package/common/types/common.types.js +7 -0
  12. package/common/types/common.types.js.map +1 -1
  13. package/common/types/dashboard.types.d.ts +7 -7
  14. package/common/types/disbursements.types.d.ts +100 -626
  15. package/common/types/escrow-account.types.d.ts +17 -0
  16. package/common/types/escrow-account.types.js +3 -0
  17. package/common/types/escrow-account.types.js.map +1 -1
  18. package/common/types/file.types.d.ts +15 -11
  19. package/common/types/file.types.js +2 -0
  20. package/common/types/file.types.js.map +1 -1
  21. package/common/types/index.d.ts +1 -0
  22. package/common/types/index.js +1 -0
  23. package/common/types/index.js.map +1 -1
  24. package/common/types/individuals.types.js +5 -2
  25. package/common/types/individuals.types.js.map +1 -1
  26. package/common/types/issuer-bank-account.types.d.ts +4 -276
  27. package/common/types/issuer-offering.types.d.ts +466 -73
  28. package/common/types/issuer-offering.types.js +68 -43
  29. package/common/types/issuer-offering.types.js.map +1 -1
  30. package/common/types/job-item.types.d.ts +14 -14
  31. package/common/types/note.types.d.ts +15 -15
  32. package/common/types/offering-submission.types.js +2 -2
  33. package/common/types/offering.types.d.ts +101 -41
  34. package/common/types/offering.types.js +73 -43
  35. package/common/types/offering.types.js.map +1 -1
  36. package/common/types/reports.types.d.ts +345 -0
  37. package/common/types/reports.types.js +69 -0
  38. package/common/types/reports.types.js.map +1 -0
  39. package/common/types/site.types.d.ts +0 -15
  40. package/common/types/task.types.d.ts +22 -22
  41. package/common/types/trade.types.d.ts +2 -0
  42. package/common/types/trade.types.js +2 -0
  43. package/common/types/trade.types.js.map +1 -1
  44. package/common/types/user.types.d.ts +29 -0
  45. package/common/types/user.types.js +3 -0
  46. package/common/types/user.types.js.map +1 -1
  47. package/contracts/clients/assets/index.d.ts +0 -66
  48. package/contracts/clients/files/index.d.ts +3 -3
  49. package/contracts/clients/files-public/index.d.ts +3 -3
  50. package/contracts/clients/index.d.ts +41 -107
  51. package/contracts/clients/offerings/index.d.ts +35 -35
  52. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
3
- import { AssetTemplateType, InterestType } from './asset.types';
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
3
+ import { AssetTemplateType } from './asset.types';
4
4
  export declare enum OfferingStatus {
5
5
  ONBOARDING = "ONBOARDING",
6
6
  IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
@@ -134,10 +134,7 @@ export declare const IIssuerOffering: z.ZodObject<{
134
134
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
135
135
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
136
136
  enableBonus: z.ZodBoolean;
137
- principalAmount: z.ZodNullable<z.ZodNumber>;
138
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
139
137
  interestRate: z.ZodNullable<z.ZodNumber>;
140
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
141
138
  }, "strip", z.ZodTypeAny, {
142
139
  type: AssetType | null;
143
140
  id: string;
@@ -156,10 +153,7 @@ export declare const IIssuerOffering: z.ZodObject<{
156
153
  durationType: DurationType | null;
157
154
  tiers: number[] | null;
158
155
  enableBonus: boolean;
159
- principalAmount: number | null;
160
- maxTotalRaise: number | null;
161
156
  interestRate: number | null;
162
- interestType: InterestType | null;
163
157
  __entity?: string | undefined;
164
158
  account?: {
165
159
  status: import("./common.types").AccountStatus;
@@ -194,10 +188,7 @@ export declare const IIssuerOffering: z.ZodObject<{
194
188
  durationType: DurationType | null;
195
189
  tiers: number[] | null;
196
190
  enableBonus: boolean;
197
- principalAmount: number | null;
198
- maxTotalRaise: number | null;
199
191
  interestRate: number | null;
200
- interestType: InterestType | null;
201
192
  __entity?: string | undefined;
202
193
  account?: {
203
194
  status: import("./common.types").AccountStatus;
@@ -224,6 +215,121 @@ export declare const IIssuerOffering: z.ZodObject<{
224
215
  valuationCap: z.ZodNullable<z.ZodNumber>;
225
216
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
226
217
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
218
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
219
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
222
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
224
+ id: z.ZodString;
225
+ __entity: z.ZodOptional<z.ZodString>;
226
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
227
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
228
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
229
+ } & {
230
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
231
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
232
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
+ accountName: z.ZodString;
234
+ agentEmail: z.ZodString;
235
+ agentName: z.ZodString;
236
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
237
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
238
+ id: z.ZodString;
239
+ __entity: z.ZodOptional<z.ZodString>;
240
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
241
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
242
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
243
+ } & {
244
+ name: z.ZodString;
245
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
246
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
247
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
248
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
249
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
250
+ allowPendingComplianceReview: z.ZodBoolean;
251
+ }, "strip", z.ZodTypeAny, {
252
+ status: import("./common.types").AccountStatus;
253
+ id: string;
254
+ createdAt: string | Date;
255
+ updatedAt: string | Date;
256
+ deletedAt: string | Date | null;
257
+ name: string;
258
+ managedBy: ManagedByType | null;
259
+ platform: import("./common.types").Platform;
260
+ onboardingReviewerId: string | null;
261
+ onboardingReviewAt: Date | null;
262
+ allowPendingComplianceReview: boolean;
263
+ __entity?: string | undefined;
264
+ }, {
265
+ status: import("./common.types").AccountStatus;
266
+ id: string;
267
+ createdAt: string | Date;
268
+ updatedAt: string | Date;
269
+ deletedAt: string | Date | null;
270
+ name: string;
271
+ managedBy: ManagedByType | null;
272
+ platform: import("./common.types").Platform;
273
+ onboardingReviewerId: string | null;
274
+ onboardingReviewAt: Date | null;
275
+ allowPendingComplianceReview: boolean;
276
+ __entity?: string | undefined;
277
+ }>>>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ id: string;
280
+ createdAt: string | Date;
281
+ updatedAt: string | Date;
282
+ deletedAt: string | Date | null;
283
+ accountId: string;
284
+ accountName: string;
285
+ agentEmail: string;
286
+ agentName: string;
287
+ __entity?: string | undefined;
288
+ account?: {
289
+ status: import("./common.types").AccountStatus;
290
+ id: string;
291
+ createdAt: string | Date;
292
+ updatedAt: string | Date;
293
+ deletedAt: string | Date | null;
294
+ name: string;
295
+ managedBy: ManagedByType | null;
296
+ platform: import("./common.types").Platform;
297
+ onboardingReviewerId: string | null;
298
+ onboardingReviewAt: Date | null;
299
+ allowPendingComplianceReview: boolean;
300
+ __entity?: string | undefined;
301
+ } | null | undefined;
302
+ accountNumber?: string | null | undefined;
303
+ routingNumber?: string | null | undefined;
304
+ company?: string | null | undefined;
305
+ }, {
306
+ id: string;
307
+ createdAt: string | Date;
308
+ updatedAt: string | Date;
309
+ deletedAt: string | Date | null;
310
+ accountId: string;
311
+ accountName: string;
312
+ agentEmail: string;
313
+ agentName: string;
314
+ __entity?: string | undefined;
315
+ account?: {
316
+ status: import("./common.types").AccountStatus;
317
+ id: string;
318
+ createdAt: string | Date;
319
+ updatedAt: string | Date;
320
+ deletedAt: string | Date | null;
321
+ name: string;
322
+ managedBy: ManagedByType | null;
323
+ platform: import("./common.types").Platform;
324
+ onboardingReviewerId: string | null;
325
+ onboardingReviewAt: Date | null;
326
+ allowPendingComplianceReview: boolean;
327
+ __entity?: string | undefined;
328
+ } | null | undefined;
329
+ accountNumber?: string | null | undefined;
330
+ routingNumber?: string | null | undefined;
331
+ company?: string | null | undefined;
332
+ }>>>>;
227
333
  }, "strip", z.ZodTypeAny, {
228
334
  type: OfferingType | null;
229
335
  id: string;
@@ -268,10 +374,7 @@ export declare const IIssuerOffering: z.ZodObject<{
268
374
  durationType: DurationType | null;
269
375
  tiers: number[] | null;
270
376
  enableBonus: boolean;
271
- principalAmount: number | null;
272
- maxTotalRaise: number | null;
273
377
  interestRate: number | null;
274
- interestType: InterestType | null;
275
378
  __entity?: string | undefined;
276
379
  account?: {
277
380
  status: import("./common.types").AccountStatus;
@@ -309,6 +412,39 @@ export declare const IIssuerOffering: z.ZodObject<{
309
412
  memorandumId?: string | null | undefined;
310
413
  subscriptionAgreementId?: string | null | undefined;
311
414
  showTotalRaised?: boolean | undefined;
415
+ hasEscrow?: boolean | undefined;
416
+ escrowAgreementFileId?: string | null | undefined;
417
+ bankAccountId?: string | null | undefined;
418
+ bankAccount?: any;
419
+ escrowAccountId?: string | null | undefined;
420
+ escrowAccount?: {
421
+ id: string;
422
+ createdAt: string | Date;
423
+ updatedAt: string | Date;
424
+ deletedAt: string | Date | null;
425
+ accountId: string;
426
+ accountName: string;
427
+ agentEmail: string;
428
+ agentName: string;
429
+ __entity?: string | undefined;
430
+ account?: {
431
+ status: import("./common.types").AccountStatus;
432
+ id: string;
433
+ createdAt: string | Date;
434
+ updatedAt: string | Date;
435
+ deletedAt: string | Date | null;
436
+ name: string;
437
+ managedBy: ManagedByType | null;
438
+ platform: import("./common.types").Platform;
439
+ onboardingReviewerId: string | null;
440
+ onboardingReviewAt: Date | null;
441
+ allowPendingComplianceReview: boolean;
442
+ __entity?: string | undefined;
443
+ } | null | undefined;
444
+ accountNumber?: string | null | undefined;
445
+ routingNumber?: string | null | undefined;
446
+ company?: string | null | undefined;
447
+ } | null | undefined;
312
448
  }, {
313
449
  type: OfferingType | null;
314
450
  id: string;
@@ -353,10 +489,7 @@ export declare const IIssuerOffering: z.ZodObject<{
353
489
  durationType: DurationType | null;
354
490
  tiers: number[] | null;
355
491
  enableBonus: boolean;
356
- principalAmount: number | null;
357
- maxTotalRaise: number | null;
358
492
  interestRate: number | null;
359
- interestType: InterestType | null;
360
493
  __entity?: string | undefined;
361
494
  account?: {
362
495
  status: import("./common.types").AccountStatus;
@@ -394,6 +527,39 @@ export declare const IIssuerOffering: z.ZodObject<{
394
527
  memorandumId?: string | null | undefined;
395
528
  subscriptionAgreementId?: string | null | undefined;
396
529
  showTotalRaised?: boolean | undefined;
530
+ hasEscrow?: boolean | undefined;
531
+ escrowAgreementFileId?: string | null | undefined;
532
+ bankAccountId?: string | null | undefined;
533
+ bankAccount?: any;
534
+ escrowAccountId?: string | null | undefined;
535
+ escrowAccount?: {
536
+ id: string;
537
+ createdAt: string | Date;
538
+ updatedAt: string | Date;
539
+ deletedAt: string | Date | null;
540
+ accountId: string;
541
+ accountName: string;
542
+ agentEmail: string;
543
+ agentName: string;
544
+ __entity?: string | undefined;
545
+ account?: {
546
+ status: import("./common.types").AccountStatus;
547
+ id: string;
548
+ createdAt: string | Date;
549
+ updatedAt: string | Date;
550
+ deletedAt: string | Date | null;
551
+ name: string;
552
+ managedBy: ManagedByType | null;
553
+ platform: import("./common.types").Platform;
554
+ onboardingReviewerId: string | null;
555
+ onboardingReviewAt: Date | null;
556
+ allowPendingComplianceReview: boolean;
557
+ __entity?: string | undefined;
558
+ } | null | undefined;
559
+ accountNumber?: string | null | undefined;
560
+ routingNumber?: string | null | undefined;
561
+ company?: string | null | undefined;
562
+ } | null | undefined;
397
563
  }>;
398
564
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
399
565
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -524,10 +690,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
524
690
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
525
691
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
526
692
  enableBonus: z.ZodBoolean;
527
- principalAmount: z.ZodNullable<z.ZodNumber>;
528
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
529
693
  interestRate: z.ZodNullable<z.ZodNumber>;
530
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
531
694
  }, "strip", z.ZodTypeAny, {
532
695
  type: AssetType | null;
533
696
  id: string;
@@ -546,10 +709,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
546
709
  durationType: DurationType | null;
547
710
  tiers: number[] | null;
548
711
  enableBonus: boolean;
549
- principalAmount: number | null;
550
- maxTotalRaise: number | null;
551
712
  interestRate: number | null;
552
- interestType: InterestType | null;
553
713
  __entity?: string | undefined;
554
714
  account?: {
555
715
  status: import("./common.types").AccountStatus;
@@ -584,10 +744,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
584
744
  durationType: DurationType | null;
585
745
  tiers: number[] | null;
586
746
  enableBonus: boolean;
587
- principalAmount: number | null;
588
- maxTotalRaise: number | null;
589
747
  interestRate: number | null;
590
- interestType: InterestType | null;
591
748
  __entity?: string | undefined;
592
749
  account?: {
593
750
  status: import("./common.types").AccountStatus;
@@ -614,6 +771,121 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
614
771
  valuationCap: z.ZodNullable<z.ZodNumber>;
615
772
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
616
773
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
774
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
775
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
777
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
778
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
780
+ id: z.ZodString;
781
+ __entity: z.ZodOptional<z.ZodString>;
782
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
783
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
784
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
785
+ } & {
786
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
787
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
788
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
789
+ accountName: z.ZodString;
790
+ agentEmail: z.ZodString;
791
+ agentName: z.ZodString;
792
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
793
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
794
+ id: z.ZodString;
795
+ __entity: z.ZodOptional<z.ZodString>;
796
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
797
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
798
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
799
+ } & {
800
+ name: z.ZodString;
801
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
802
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
803
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
804
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
805
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
806
+ allowPendingComplianceReview: z.ZodBoolean;
807
+ }, "strip", z.ZodTypeAny, {
808
+ status: import("./common.types").AccountStatus;
809
+ id: string;
810
+ createdAt: string | Date;
811
+ updatedAt: string | Date;
812
+ deletedAt: string | Date | null;
813
+ name: string;
814
+ managedBy: ManagedByType | null;
815
+ platform: import("./common.types").Platform;
816
+ onboardingReviewerId: string | null;
817
+ onboardingReviewAt: Date | null;
818
+ allowPendingComplianceReview: boolean;
819
+ __entity?: string | undefined;
820
+ }, {
821
+ status: import("./common.types").AccountStatus;
822
+ id: string;
823
+ createdAt: string | Date;
824
+ updatedAt: string | Date;
825
+ deletedAt: string | Date | null;
826
+ name: string;
827
+ managedBy: ManagedByType | null;
828
+ platform: import("./common.types").Platform;
829
+ onboardingReviewerId: string | null;
830
+ onboardingReviewAt: Date | null;
831
+ allowPendingComplianceReview: boolean;
832
+ __entity?: string | undefined;
833
+ }>>>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ id: string;
836
+ createdAt: string | Date;
837
+ updatedAt: string | Date;
838
+ deletedAt: string | Date | null;
839
+ accountId: string;
840
+ accountName: string;
841
+ agentEmail: string;
842
+ agentName: string;
843
+ __entity?: string | undefined;
844
+ account?: {
845
+ status: import("./common.types").AccountStatus;
846
+ id: string;
847
+ createdAt: string | Date;
848
+ updatedAt: string | Date;
849
+ deletedAt: string | Date | null;
850
+ name: string;
851
+ managedBy: ManagedByType | null;
852
+ platform: import("./common.types").Platform;
853
+ onboardingReviewerId: string | null;
854
+ onboardingReviewAt: Date | null;
855
+ allowPendingComplianceReview: boolean;
856
+ __entity?: string | undefined;
857
+ } | null | undefined;
858
+ accountNumber?: string | null | undefined;
859
+ routingNumber?: string | null | undefined;
860
+ company?: string | null | undefined;
861
+ }, {
862
+ id: string;
863
+ createdAt: string | Date;
864
+ updatedAt: string | Date;
865
+ deletedAt: string | Date | null;
866
+ accountId: string;
867
+ accountName: string;
868
+ agentEmail: string;
869
+ agentName: string;
870
+ __entity?: string | undefined;
871
+ account?: {
872
+ status: import("./common.types").AccountStatus;
873
+ id: string;
874
+ createdAt: string | Date;
875
+ updatedAt: string | Date;
876
+ deletedAt: string | Date | null;
877
+ name: string;
878
+ managedBy: ManagedByType | null;
879
+ platform: import("./common.types").Platform;
880
+ onboardingReviewerId: string | null;
881
+ onboardingReviewAt: Date | null;
882
+ allowPendingComplianceReview: boolean;
883
+ __entity?: string | undefined;
884
+ } | null | undefined;
885
+ accountNumber?: string | null | undefined;
886
+ routingNumber?: string | null | undefined;
887
+ company?: string | null | undefined;
888
+ }>>>>;
617
889
  }, "strip", z.ZodTypeAny, {
618
890
  type: OfferingType | null;
619
891
  id: string;
@@ -658,10 +930,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
658
930
  durationType: DurationType | null;
659
931
  tiers: number[] | null;
660
932
  enableBonus: boolean;
661
- principalAmount: number | null;
662
- maxTotalRaise: number | null;
663
933
  interestRate: number | null;
664
- interestType: InterestType | null;
665
934
  __entity?: string | undefined;
666
935
  account?: {
667
936
  status: import("./common.types").AccountStatus;
@@ -699,6 +968,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
699
968
  memorandumId?: string | null | undefined;
700
969
  subscriptionAgreementId?: string | null | undefined;
701
970
  showTotalRaised?: boolean | undefined;
971
+ hasEscrow?: boolean | undefined;
972
+ escrowAgreementFileId?: string | null | undefined;
973
+ bankAccountId?: string | null | undefined;
974
+ bankAccount?: any;
975
+ escrowAccountId?: string | null | undefined;
976
+ escrowAccount?: {
977
+ id: string;
978
+ createdAt: string | Date;
979
+ updatedAt: string | Date;
980
+ deletedAt: string | Date | null;
981
+ accountId: string;
982
+ accountName: string;
983
+ agentEmail: string;
984
+ agentName: string;
985
+ __entity?: string | undefined;
986
+ account?: {
987
+ status: import("./common.types").AccountStatus;
988
+ id: string;
989
+ createdAt: string | Date;
990
+ updatedAt: string | Date;
991
+ deletedAt: string | Date | null;
992
+ name: string;
993
+ managedBy: ManagedByType | null;
994
+ platform: import("./common.types").Platform;
995
+ onboardingReviewerId: string | null;
996
+ onboardingReviewAt: Date | null;
997
+ allowPendingComplianceReview: boolean;
998
+ __entity?: string | undefined;
999
+ } | null | undefined;
1000
+ accountNumber?: string | null | undefined;
1001
+ routingNumber?: string | null | undefined;
1002
+ company?: string | null | undefined;
1003
+ } | null | undefined;
702
1004
  }, {
703
1005
  type: OfferingType | null;
704
1006
  id: string;
@@ -743,10 +1045,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
743
1045
  durationType: DurationType | null;
744
1046
  tiers: number[] | null;
745
1047
  enableBonus: boolean;
746
- principalAmount: number | null;
747
- maxTotalRaise: number | null;
748
1048
  interestRate: number | null;
749
- interestType: InterestType | null;
750
1049
  __entity?: string | undefined;
751
1050
  account?: {
752
1051
  status: import("./common.types").AccountStatus;
@@ -784,6 +1083,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
784
1083
  memorandumId?: string | null | undefined;
785
1084
  subscriptionAgreementId?: string | null | undefined;
786
1085
  showTotalRaised?: boolean | undefined;
1086
+ hasEscrow?: boolean | undefined;
1087
+ escrowAgreementFileId?: string | null | undefined;
1088
+ bankAccountId?: string | null | undefined;
1089
+ bankAccount?: any;
1090
+ escrowAccountId?: string | null | undefined;
1091
+ escrowAccount?: {
1092
+ id: string;
1093
+ createdAt: string | Date;
1094
+ updatedAt: string | Date;
1095
+ deletedAt: string | Date | null;
1096
+ accountId: string;
1097
+ accountName: string;
1098
+ agentEmail: string;
1099
+ agentName: string;
1100
+ __entity?: string | undefined;
1101
+ account?: {
1102
+ status: import("./common.types").AccountStatus;
1103
+ id: string;
1104
+ createdAt: string | Date;
1105
+ updatedAt: string | Date;
1106
+ deletedAt: string | Date | null;
1107
+ name: string;
1108
+ managedBy: ManagedByType | null;
1109
+ platform: import("./common.types").Platform;
1110
+ onboardingReviewerId: string | null;
1111
+ onboardingReviewAt: Date | null;
1112
+ allowPendingComplianceReview: boolean;
1113
+ __entity?: string | undefined;
1114
+ } | null | undefined;
1115
+ accountNumber?: string | null | undefined;
1116
+ routingNumber?: string | null | undefined;
1117
+ company?: string | null | undefined;
1118
+ } | null | undefined;
787
1119
  }>, "many">;
788
1120
  meta: z.ZodObject<{
789
1121
  itemCount: z.ZodNumber;
@@ -849,10 +1181,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
849
1181
  durationType: DurationType | null;
850
1182
  tiers: number[] | null;
851
1183
  enableBonus: boolean;
852
- principalAmount: number | null;
853
- maxTotalRaise: number | null;
854
1184
  interestRate: number | null;
855
- interestType: InterestType | null;
856
1185
  __entity?: string | undefined;
857
1186
  account?: {
858
1187
  status: import("./common.types").AccountStatus;
@@ -890,6 +1219,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
890
1219
  memorandumId?: string | null | undefined;
891
1220
  subscriptionAgreementId?: string | null | undefined;
892
1221
  showTotalRaised?: boolean | undefined;
1222
+ hasEscrow?: boolean | undefined;
1223
+ escrowAgreementFileId?: string | null | undefined;
1224
+ bankAccountId?: string | null | undefined;
1225
+ bankAccount?: any;
1226
+ escrowAccountId?: string | null | undefined;
1227
+ escrowAccount?: {
1228
+ id: string;
1229
+ createdAt: string | Date;
1230
+ updatedAt: string | Date;
1231
+ deletedAt: string | Date | null;
1232
+ accountId: string;
1233
+ accountName: string;
1234
+ agentEmail: string;
1235
+ agentName: string;
1236
+ __entity?: string | undefined;
1237
+ account?: {
1238
+ status: import("./common.types").AccountStatus;
1239
+ id: string;
1240
+ createdAt: string | Date;
1241
+ updatedAt: string | Date;
1242
+ deletedAt: string | Date | null;
1243
+ name: string;
1244
+ managedBy: ManagedByType | null;
1245
+ platform: import("./common.types").Platform;
1246
+ onboardingReviewerId: string | null;
1247
+ onboardingReviewAt: Date | null;
1248
+ allowPendingComplianceReview: boolean;
1249
+ __entity?: string | undefined;
1250
+ } | null | undefined;
1251
+ accountNumber?: string | null | undefined;
1252
+ routingNumber?: string | null | undefined;
1253
+ company?: string | null | undefined;
1254
+ } | null | undefined;
893
1255
  }[];
894
1256
  meta: {
895
1257
  itemCount: number;
@@ -943,10 +1305,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
943
1305
  durationType: DurationType | null;
944
1306
  tiers: number[] | null;
945
1307
  enableBonus: boolean;
946
- principalAmount: number | null;
947
- maxTotalRaise: number | null;
948
1308
  interestRate: number | null;
949
- interestType: InterestType | null;
950
1309
  __entity?: string | undefined;
951
1310
  account?: {
952
1311
  status: import("./common.types").AccountStatus;
@@ -984,6 +1343,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
984
1343
  memorandumId?: string | null | undefined;
985
1344
  subscriptionAgreementId?: string | null | undefined;
986
1345
  showTotalRaised?: boolean | undefined;
1346
+ hasEscrow?: boolean | undefined;
1347
+ escrowAgreementFileId?: string | null | undefined;
1348
+ bankAccountId?: string | null | undefined;
1349
+ bankAccount?: any;
1350
+ escrowAccountId?: string | null | undefined;
1351
+ escrowAccount?: {
1352
+ id: string;
1353
+ createdAt: string | Date;
1354
+ updatedAt: string | Date;
1355
+ deletedAt: string | Date | null;
1356
+ accountId: string;
1357
+ accountName: string;
1358
+ agentEmail: string;
1359
+ agentName: string;
1360
+ __entity?: string | undefined;
1361
+ account?: {
1362
+ status: import("./common.types").AccountStatus;
1363
+ id: string;
1364
+ createdAt: string | Date;
1365
+ updatedAt: string | Date;
1366
+ deletedAt: string | Date | null;
1367
+ name: string;
1368
+ managedBy: ManagedByType | null;
1369
+ platform: import("./common.types").Platform;
1370
+ onboardingReviewerId: string | null;
1371
+ onboardingReviewAt: Date | null;
1372
+ allowPendingComplianceReview: boolean;
1373
+ __entity?: string | undefined;
1374
+ } | null | undefined;
1375
+ accountNumber?: string | null | undefined;
1376
+ routingNumber?: string | null | undefined;
1377
+ company?: string | null | undefined;
1378
+ } | null | undefined;
987
1379
  }[];
988
1380
  meta: {
989
1381
  itemCount: number;
@@ -1019,10 +1411,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1019
1411
  template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
1020
1412
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1021
1413
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1022
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1023
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1414
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1415
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1416
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1024
1417
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1025
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1026
1418
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1027
1419
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1028
1420
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1079,15 +1471,15 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1079
1471
  startAt?: Date | null | undefined;
1080
1472
  endAt?: Date | null | undefined;
1081
1473
  cancellationPeriod?: number | null | undefined;
1474
+ hasEscrow?: boolean | undefined;
1475
+ bankAccountId?: string | null | undefined;
1476
+ escrowAccountId?: string | null | undefined;
1082
1477
  yield?: number | null | undefined;
1083
1478
  duration?: number | null | undefined;
1084
1479
  durationType?: DurationType | null | undefined;
1085
1480
  tiers?: number[] | null | undefined;
1086
1481
  enableBonus?: boolean | undefined;
1087
- principalAmount?: number | null | undefined;
1088
- maxTotalRaise?: number | null | undefined;
1089
1482
  interestRate?: number | null | undefined;
1090
- interestType?: InterestType | null | undefined;
1091
1483
  bonusTiers?: {
1092
1484
  value: number;
1093
1485
  type: import("./bonus-tier.types").BonusType;
@@ -1114,15 +1506,15 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1114
1506
  startAt?: string | null | undefined;
1115
1507
  endAt?: string | null | undefined;
1116
1508
  cancellationPeriod?: number | null | undefined;
1509
+ hasEscrow?: boolean | undefined;
1510
+ bankAccountId?: string | null | undefined;
1511
+ escrowAccountId?: string | null | undefined;
1117
1512
  yield?: number | null | undefined;
1118
1513
  duration?: number | null | undefined;
1119
1514
  durationType?: DurationType | null | undefined;
1120
1515
  tiers?: number[] | null | undefined;
1121
1516
  enableBonus?: boolean | undefined;
1122
- principalAmount?: number | null | undefined;
1123
- maxTotalRaise?: number | null | undefined;
1124
1517
  interestRate?: number | null | undefined;
1125
- interestType?: InterestType | null | undefined;
1126
1518
  bonusTiers?: {
1127
1519
  value: number;
1128
1520
  type: import("./bonus-tier.types").BonusType;
@@ -1149,15 +1541,15 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1149
1541
  startAt?: Date | null | undefined;
1150
1542
  endAt?: Date | null | undefined;
1151
1543
  cancellationPeriod?: number | null | undefined;
1544
+ hasEscrow?: boolean | undefined;
1545
+ bankAccountId?: string | null | undefined;
1546
+ escrowAccountId?: string | null | undefined;
1152
1547
  yield?: number | null | undefined;
1153
1548
  duration?: number | null | undefined;
1154
1549
  durationType?: DurationType | null | undefined;
1155
1550
  tiers?: number[] | null | undefined;
1156
1551
  enableBonus?: boolean | undefined;
1157
- principalAmount?: number | null | undefined;
1158
- maxTotalRaise?: number | null | undefined;
1159
1552
  interestRate?: number | null | undefined;
1160
- interestType?: InterestType | null | undefined;
1161
1553
  bonusTiers?: {
1162
1554
  value: number;
1163
1555
  type: import("./bonus-tier.types").BonusType;
@@ -1184,15 +1576,15 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1184
1576
  startAt?: string | null | undefined;
1185
1577
  endAt?: string | null | undefined;
1186
1578
  cancellationPeriod?: number | null | undefined;
1579
+ hasEscrow?: boolean | undefined;
1580
+ bankAccountId?: string | null | undefined;
1581
+ escrowAccountId?: string | null | undefined;
1187
1582
  yield?: number | null | undefined;
1188
1583
  duration?: number | null | undefined;
1189
1584
  durationType?: DurationType | null | undefined;
1190
1585
  tiers?: number[] | null | undefined;
1191
1586
  enableBonus?: boolean | undefined;
1192
- principalAmount?: number | null | undefined;
1193
- maxTotalRaise?: number | null | undefined;
1194
1587
  interestRate?: number | null | undefined;
1195
- interestType?: InterestType | null | undefined;
1196
1588
  bonusTiers?: {
1197
1589
  value: number;
1198
1590
  type: import("./bonus-tier.types").BonusType;
@@ -1215,7 +1607,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1215
1607
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1216
1608
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1217
1609
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1218
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1219
1610
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1220
1611
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1221
1612
  assetName: z.ZodOptional<z.ZodString>;
@@ -1229,10 +1620,11 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1229
1620
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1230
1621
  enabled: z.ZodOptional<z.ZodBoolean>;
1231
1622
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1232
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1233
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1623
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1624
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1625
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1626
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1234
1627
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1235
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1236
1628
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1237
1629
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1238
1630
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1272,7 +1664,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1272
1664
  }, "strip", z.ZodTypeAny, {
1273
1665
  type?: OfferingType | undefined;
1274
1666
  name?: string | undefined;
1275
- managedBy?: ManagedByType | undefined;
1276
1667
  description?: string | null | undefined;
1277
1668
  enabled?: boolean | undefined;
1278
1669
  template?: AssetTemplateType | null | undefined;
@@ -1288,6 +1679,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1288
1679
  memorandumId?: string | null | undefined;
1289
1680
  subscriptionAgreementId?: string | null | undefined;
1290
1681
  showTotalRaised?: boolean | undefined;
1682
+ hasEscrow?: boolean | undefined;
1683
+ escrowAgreementFileId?: string | null | undefined;
1684
+ bankAccountId?: string | null | undefined;
1685
+ escrowAccountId?: string | null | undefined;
1291
1686
  assetName?: string | undefined;
1292
1687
  assetType?: AssetType | undefined;
1293
1688
  pricePerUnit?: number | null | undefined;
@@ -1297,10 +1692,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1297
1692
  durationType?: DurationType | null | undefined;
1298
1693
  tiers?: number[] | null | undefined;
1299
1694
  enableBonus?: boolean | undefined;
1300
- principalAmount?: number | null | undefined;
1301
- maxTotalRaise?: number | null | undefined;
1302
1695
  interestRate?: number | null | undefined;
1303
- interestType?: InterestType | null | undefined;
1304
1696
  bonusTiers?: {
1305
1697
  value: number;
1306
1698
  type: import("./bonus-tier.types").BonusType;
@@ -1310,7 +1702,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1310
1702
  }, {
1311
1703
  type?: OfferingType | undefined;
1312
1704
  name?: string | undefined;
1313
- managedBy?: ManagedByType | undefined;
1314
1705
  description?: string | null | undefined;
1315
1706
  enabled?: boolean | undefined;
1316
1707
  template?: AssetTemplateType | null | undefined;
@@ -1326,6 +1717,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1326
1717
  memorandumId?: string | null | undefined;
1327
1718
  subscriptionAgreementId?: string | null | undefined;
1328
1719
  showTotalRaised?: boolean | undefined;
1720
+ hasEscrow?: boolean | undefined;
1721
+ escrowAgreementFileId?: string | null | undefined;
1722
+ bankAccountId?: string | null | undefined;
1723
+ escrowAccountId?: string | null | undefined;
1329
1724
  assetName?: string | undefined;
1330
1725
  assetType?: AssetType | undefined;
1331
1726
  pricePerUnit?: number | null | undefined;
@@ -1335,10 +1730,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1335
1730
  durationType?: DurationType | null | undefined;
1336
1731
  tiers?: number[] | null | undefined;
1337
1732
  enableBonus?: boolean | undefined;
1338
- principalAmount?: number | null | undefined;
1339
- maxTotalRaise?: number | null | undefined;
1340
1733
  interestRate?: number | null | undefined;
1341
- interestType?: InterestType | null | undefined;
1342
1734
  bonusTiers?: {
1343
1735
  value: number;
1344
1736
  type: import("./bonus-tier.types").BonusType;
@@ -1348,7 +1740,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1348
1740
  }>, {
1349
1741
  type?: OfferingType | undefined;
1350
1742
  name?: string | undefined;
1351
- managedBy?: ManagedByType | undefined;
1352
1743
  description?: string | null | undefined;
1353
1744
  enabled?: boolean | undefined;
1354
1745
  template?: AssetTemplateType | null | undefined;
@@ -1364,6 +1755,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1364
1755
  memorandumId?: string | null | undefined;
1365
1756
  subscriptionAgreementId?: string | null | undefined;
1366
1757
  showTotalRaised?: boolean | undefined;
1758
+ hasEscrow?: boolean | undefined;
1759
+ escrowAgreementFileId?: string | null | undefined;
1760
+ bankAccountId?: string | null | undefined;
1761
+ escrowAccountId?: string | null | undefined;
1367
1762
  assetName?: string | undefined;
1368
1763
  assetType?: AssetType | undefined;
1369
1764
  pricePerUnit?: number | null | undefined;
@@ -1373,10 +1768,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1373
1768
  durationType?: DurationType | null | undefined;
1374
1769
  tiers?: number[] | null | undefined;
1375
1770
  enableBonus?: boolean | undefined;
1376
- principalAmount?: number | null | undefined;
1377
- maxTotalRaise?: number | null | undefined;
1378
1771
  interestRate?: number | null | undefined;
1379
- interestType?: InterestType | null | undefined;
1380
1772
  bonusTiers?: {
1381
1773
  value: number;
1382
1774
  type: import("./bonus-tier.types").BonusType;
@@ -1386,7 +1778,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1386
1778
  }, {
1387
1779
  type?: OfferingType | undefined;
1388
1780
  name?: string | undefined;
1389
- managedBy?: ManagedByType | undefined;
1390
1781
  description?: string | null | undefined;
1391
1782
  enabled?: boolean | undefined;
1392
1783
  template?: AssetTemplateType | null | undefined;
@@ -1402,6 +1793,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1402
1793
  memorandumId?: string | null | undefined;
1403
1794
  subscriptionAgreementId?: string | null | undefined;
1404
1795
  showTotalRaised?: boolean | undefined;
1796
+ hasEscrow?: boolean | undefined;
1797
+ escrowAgreementFileId?: string | null | undefined;
1798
+ bankAccountId?: string | null | undefined;
1799
+ escrowAccountId?: string | null | undefined;
1405
1800
  assetName?: string | undefined;
1406
1801
  assetType?: AssetType | undefined;
1407
1802
  pricePerUnit?: number | null | undefined;
@@ -1411,10 +1806,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1411
1806
  durationType?: DurationType | null | undefined;
1412
1807
  tiers?: number[] | null | undefined;
1413
1808
  enableBonus?: boolean | undefined;
1414
- principalAmount?: number | null | undefined;
1415
- maxTotalRaise?: number | null | undefined;
1416
1809
  interestRate?: number | null | undefined;
1417
- interestType?: InterestType | null | undefined;
1418
1810
  bonusTiers?: {
1419
1811
  value: number;
1420
1812
  type: import("./bonus-tier.types").BonusType;
@@ -1507,3 +1899,4 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1507
1899
  sortByNameASC?: unknown;
1508
1900
  }>;
1509
1901
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1902
+ export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;