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

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 (45) 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/bonus-tier.types.js +1 -2
  5. package/common/types/bonus-tier.types.js.map +1 -1
  6. package/common/types/common.types.d.ts +11 -1
  7. package/common/types/common.types.js +6 -0
  8. package/common/types/common.types.js.map +1 -1
  9. package/common/types/dashboard.types.d.ts +7 -7
  10. package/common/types/disbursements.types.d.ts +100 -626
  11. package/common/types/escrow-account.types.d.ts +17 -0
  12. package/common/types/escrow-account.types.js +3 -0
  13. package/common/types/escrow-account.types.js.map +1 -1
  14. package/common/types/file.types.d.ts +14 -11
  15. package/common/types/file.types.js +2 -0
  16. package/common/types/file.types.js.map +1 -1
  17. package/common/types/index.d.ts +1 -0
  18. package/common/types/index.js +1 -0
  19. package/common/types/index.js.map +1 -1
  20. package/common/types/individuals.types.js +5 -2
  21. package/common/types/individuals.types.js.map +1 -1
  22. package/common/types/issuer-bank-account.types.d.ts +4 -276
  23. package/common/types/issuer-offering.types.d.ts +465 -6
  24. package/common/types/issuer-offering.types.js +69 -2
  25. package/common/types/issuer-offering.types.js.map +1 -1
  26. package/common/types/job-item.types.d.ts +14 -14
  27. package/common/types/note.types.d.ts +15 -15
  28. package/common/types/offering.types.d.ts +100 -1
  29. package/common/types/offering.types.js +74 -2
  30. package/common/types/offering.types.js.map +1 -1
  31. package/common/types/reports.types.d.ts +345 -0
  32. package/common/types/reports.types.js +69 -0
  33. package/common/types/reports.types.js.map +1 -0
  34. package/common/types/task.types.d.ts +22 -22
  35. package/common/types/trade.types.d.ts +2 -0
  36. package/common/types/trade.types.js +2 -0
  37. package/common/types/trade.types.js.map +1 -1
  38. package/common/types/user.types.d.ts +29 -0
  39. package/common/types/user.types.js +3 -0
  40. package/common/types/user.types.js.map +1 -1
  41. package/contracts/clients/files/index.d.ts +3 -3
  42. package/contracts/clients/files-public/index.d.ts +3 -3
  43. package/contracts/clients/index.d.ts +41 -11
  44. package/contracts/clients/offerings/index.d.ts +35 -5
  45. package/package.json +1 -1
@@ -1,5 +1,5 @@
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 } from './common.types';
3
3
  import { AssetTemplateType, InterestType } from './asset.types';
4
4
  export declare enum OfferingStatus {
5
5
  ONBOARDING = "ONBOARDING",
@@ -224,6 +224,121 @@ export declare const IIssuerOffering: z.ZodObject<{
224
224
  valuationCap: z.ZodNullable<z.ZodNumber>;
225
225
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
226
226
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
227
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
228
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
231
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<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
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
240
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
242
+ accountName: z.ZodString;
243
+ agentEmail: z.ZodString;
244
+ agentName: z.ZodString;
245
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
246
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
247
+ id: z.ZodString;
248
+ __entity: z.ZodOptional<z.ZodString>;
249
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
250
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
251
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
252
+ } & {
253
+ name: z.ZodString;
254
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
255
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
256
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
257
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
258
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
259
+ allowPendingComplianceReview: z.ZodBoolean;
260
+ }, "strip", z.ZodTypeAny, {
261
+ status: import("./common.types").AccountStatus;
262
+ id: string;
263
+ createdAt: string | Date;
264
+ updatedAt: string | Date;
265
+ deletedAt: string | Date | null;
266
+ name: string;
267
+ managedBy: ManagedByType | null;
268
+ platform: import("./common.types").Platform;
269
+ onboardingReviewerId: string | null;
270
+ onboardingReviewAt: Date | null;
271
+ allowPendingComplianceReview: boolean;
272
+ __entity?: string | undefined;
273
+ }, {
274
+ status: import("./common.types").AccountStatus;
275
+ id: string;
276
+ createdAt: string | Date;
277
+ updatedAt: string | Date;
278
+ deletedAt: string | Date | null;
279
+ name: string;
280
+ managedBy: ManagedByType | null;
281
+ platform: import("./common.types").Platform;
282
+ onboardingReviewerId: string | null;
283
+ onboardingReviewAt: Date | null;
284
+ allowPendingComplianceReview: boolean;
285
+ __entity?: string | undefined;
286
+ }>>>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ id: string;
289
+ createdAt: string | Date;
290
+ updatedAt: string | Date;
291
+ deletedAt: string | Date | null;
292
+ accountId: string;
293
+ accountName: string;
294
+ agentEmail: string;
295
+ agentName: string;
296
+ __entity?: string | undefined;
297
+ account?: {
298
+ status: import("./common.types").AccountStatus;
299
+ id: string;
300
+ createdAt: string | Date;
301
+ updatedAt: string | Date;
302
+ deletedAt: string | Date | null;
303
+ name: string;
304
+ managedBy: ManagedByType | null;
305
+ platform: import("./common.types").Platform;
306
+ onboardingReviewerId: string | null;
307
+ onboardingReviewAt: Date | null;
308
+ allowPendingComplianceReview: boolean;
309
+ __entity?: string | undefined;
310
+ } | null | undefined;
311
+ accountNumber?: string | null | undefined;
312
+ routingNumber?: string | null | undefined;
313
+ company?: string | null | undefined;
314
+ }, {
315
+ id: string;
316
+ createdAt: string | Date;
317
+ updatedAt: string | Date;
318
+ deletedAt: string | Date | null;
319
+ accountId: string;
320
+ accountName: string;
321
+ agentEmail: string;
322
+ agentName: string;
323
+ __entity?: string | undefined;
324
+ account?: {
325
+ status: import("./common.types").AccountStatus;
326
+ id: string;
327
+ createdAt: string | Date;
328
+ updatedAt: string | Date;
329
+ deletedAt: string | Date | null;
330
+ name: string;
331
+ managedBy: ManagedByType | null;
332
+ platform: import("./common.types").Platform;
333
+ onboardingReviewerId: string | null;
334
+ onboardingReviewAt: Date | null;
335
+ allowPendingComplianceReview: boolean;
336
+ __entity?: string | undefined;
337
+ } | null | undefined;
338
+ accountNumber?: string | null | undefined;
339
+ routingNumber?: string | null | undefined;
340
+ company?: string | null | undefined;
341
+ }>>>>;
227
342
  }, "strip", z.ZodTypeAny, {
228
343
  type: OfferingType | null;
229
344
  id: string;
@@ -309,6 +424,39 @@ export declare const IIssuerOffering: z.ZodObject<{
309
424
  memorandumId?: string | null | undefined;
310
425
  subscriptionAgreementId?: string | null | undefined;
311
426
  showTotalRaised?: boolean | undefined;
427
+ hasEscrow?: boolean | undefined;
428
+ escrowAgreementFileId?: string | null | undefined;
429
+ bankAccountId?: string | null | undefined;
430
+ bankAccount?: any;
431
+ escrowAccountId?: string | null | undefined;
432
+ escrowAccount?: {
433
+ id: string;
434
+ createdAt: string | Date;
435
+ updatedAt: string | Date;
436
+ deletedAt: string | Date | null;
437
+ accountId: string;
438
+ accountName: string;
439
+ agentEmail: string;
440
+ agentName: string;
441
+ __entity?: string | undefined;
442
+ account?: {
443
+ status: import("./common.types").AccountStatus;
444
+ id: string;
445
+ createdAt: string | Date;
446
+ updatedAt: string | Date;
447
+ deletedAt: string | Date | null;
448
+ name: string;
449
+ managedBy: ManagedByType | null;
450
+ platform: import("./common.types").Platform;
451
+ onboardingReviewerId: string | null;
452
+ onboardingReviewAt: Date | null;
453
+ allowPendingComplianceReview: boolean;
454
+ __entity?: string | undefined;
455
+ } | null | undefined;
456
+ accountNumber?: string | null | undefined;
457
+ routingNumber?: string | null | undefined;
458
+ company?: string | null | undefined;
459
+ } | null | undefined;
312
460
  }, {
313
461
  type: OfferingType | null;
314
462
  id: string;
@@ -394,6 +542,39 @@ export declare const IIssuerOffering: z.ZodObject<{
394
542
  memorandumId?: string | null | undefined;
395
543
  subscriptionAgreementId?: string | null | undefined;
396
544
  showTotalRaised?: boolean | undefined;
545
+ hasEscrow?: boolean | undefined;
546
+ escrowAgreementFileId?: string | null | undefined;
547
+ bankAccountId?: string | null | undefined;
548
+ bankAccount?: any;
549
+ escrowAccountId?: string | null | undefined;
550
+ escrowAccount?: {
551
+ id: string;
552
+ createdAt: string | Date;
553
+ updatedAt: string | Date;
554
+ deletedAt: string | Date | null;
555
+ accountId: string;
556
+ accountName: string;
557
+ agentEmail: string;
558
+ agentName: string;
559
+ __entity?: string | undefined;
560
+ account?: {
561
+ status: import("./common.types").AccountStatus;
562
+ id: string;
563
+ createdAt: string | Date;
564
+ updatedAt: string | Date;
565
+ deletedAt: string | Date | null;
566
+ name: string;
567
+ managedBy: ManagedByType | null;
568
+ platform: import("./common.types").Platform;
569
+ onboardingReviewerId: string | null;
570
+ onboardingReviewAt: Date | null;
571
+ allowPendingComplianceReview: boolean;
572
+ __entity?: string | undefined;
573
+ } | null | undefined;
574
+ accountNumber?: string | null | undefined;
575
+ routingNumber?: string | null | undefined;
576
+ company?: string | null | undefined;
577
+ } | null | undefined;
397
578
  }>;
398
579
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
399
580
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -614,6 +795,121 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
614
795
  valuationCap: z.ZodNullable<z.ZodNumber>;
615
796
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
616
797
  status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
798
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
799
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
800
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
801
+ bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
802
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
803
+ escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
804
+ id: z.ZodString;
805
+ __entity: z.ZodOptional<z.ZodString>;
806
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
807
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
808
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
809
+ } & {
810
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
811
+ accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
812
+ routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
813
+ accountName: z.ZodString;
814
+ agentEmail: z.ZodString;
815
+ agentName: z.ZodString;
816
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
817
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
818
+ id: z.ZodString;
819
+ __entity: z.ZodOptional<z.ZodString>;
820
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
821
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
822
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
823
+ } & {
824
+ name: z.ZodString;
825
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
826
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
827
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
828
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
829
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
830
+ allowPendingComplianceReview: z.ZodBoolean;
831
+ }, "strip", z.ZodTypeAny, {
832
+ status: import("./common.types").AccountStatus;
833
+ id: string;
834
+ createdAt: string | Date;
835
+ updatedAt: string | Date;
836
+ deletedAt: string | Date | null;
837
+ name: string;
838
+ managedBy: ManagedByType | null;
839
+ platform: import("./common.types").Platform;
840
+ onboardingReviewerId: string | null;
841
+ onboardingReviewAt: Date | null;
842
+ allowPendingComplianceReview: boolean;
843
+ __entity?: string | undefined;
844
+ }, {
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
+ }>>>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ id: string;
860
+ createdAt: string | Date;
861
+ updatedAt: string | Date;
862
+ deletedAt: string | Date | null;
863
+ accountId: string;
864
+ accountName: string;
865
+ agentEmail: string;
866
+ agentName: string;
867
+ __entity?: string | undefined;
868
+ account?: {
869
+ status: import("./common.types").AccountStatus;
870
+ id: string;
871
+ createdAt: string | Date;
872
+ updatedAt: string | Date;
873
+ deletedAt: string | Date | null;
874
+ name: string;
875
+ managedBy: ManagedByType | null;
876
+ platform: import("./common.types").Platform;
877
+ onboardingReviewerId: string | null;
878
+ onboardingReviewAt: Date | null;
879
+ allowPendingComplianceReview: boolean;
880
+ __entity?: string | undefined;
881
+ } | null | undefined;
882
+ accountNumber?: string | null | undefined;
883
+ routingNumber?: string | null | undefined;
884
+ company?: string | null | undefined;
885
+ }, {
886
+ id: string;
887
+ createdAt: string | Date;
888
+ updatedAt: string | Date;
889
+ deletedAt: string | Date | null;
890
+ accountId: string;
891
+ accountName: string;
892
+ agentEmail: string;
893
+ agentName: string;
894
+ __entity?: string | undefined;
895
+ account?: {
896
+ status: import("./common.types").AccountStatus;
897
+ id: string;
898
+ createdAt: string | Date;
899
+ updatedAt: string | Date;
900
+ deletedAt: string | Date | null;
901
+ name: string;
902
+ managedBy: ManagedByType | null;
903
+ platform: import("./common.types").Platform;
904
+ onboardingReviewerId: string | null;
905
+ onboardingReviewAt: Date | null;
906
+ allowPendingComplianceReview: boolean;
907
+ __entity?: string | undefined;
908
+ } | null | undefined;
909
+ accountNumber?: string | null | undefined;
910
+ routingNumber?: string | null | undefined;
911
+ company?: string | null | undefined;
912
+ }>>>>;
617
913
  }, "strip", z.ZodTypeAny, {
618
914
  type: OfferingType | null;
619
915
  id: string;
@@ -699,6 +995,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
699
995
  memorandumId?: string | null | undefined;
700
996
  subscriptionAgreementId?: string | null | undefined;
701
997
  showTotalRaised?: boolean | undefined;
998
+ hasEscrow?: boolean | undefined;
999
+ escrowAgreementFileId?: string | null | undefined;
1000
+ bankAccountId?: string | null | undefined;
1001
+ bankAccount?: any;
1002
+ escrowAccountId?: string | null | undefined;
1003
+ escrowAccount?: {
1004
+ id: string;
1005
+ createdAt: string | Date;
1006
+ updatedAt: string | Date;
1007
+ deletedAt: string | Date | null;
1008
+ accountId: string;
1009
+ accountName: string;
1010
+ agentEmail: string;
1011
+ agentName: string;
1012
+ __entity?: string | undefined;
1013
+ account?: {
1014
+ status: import("./common.types").AccountStatus;
1015
+ id: string;
1016
+ createdAt: string | Date;
1017
+ updatedAt: string | Date;
1018
+ deletedAt: string | Date | null;
1019
+ name: string;
1020
+ managedBy: ManagedByType | null;
1021
+ platform: import("./common.types").Platform;
1022
+ onboardingReviewerId: string | null;
1023
+ onboardingReviewAt: Date | null;
1024
+ allowPendingComplianceReview: boolean;
1025
+ __entity?: string | undefined;
1026
+ } | null | undefined;
1027
+ accountNumber?: string | null | undefined;
1028
+ routingNumber?: string | null | undefined;
1029
+ company?: string | null | undefined;
1030
+ } | null | undefined;
702
1031
  }, {
703
1032
  type: OfferingType | null;
704
1033
  id: string;
@@ -784,6 +1113,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
784
1113
  memorandumId?: string | null | undefined;
785
1114
  subscriptionAgreementId?: string | null | undefined;
786
1115
  showTotalRaised?: boolean | undefined;
1116
+ hasEscrow?: boolean | undefined;
1117
+ escrowAgreementFileId?: string | null | undefined;
1118
+ bankAccountId?: string | null | undefined;
1119
+ bankAccount?: any;
1120
+ escrowAccountId?: string | null | undefined;
1121
+ escrowAccount?: {
1122
+ id: string;
1123
+ createdAt: string | Date;
1124
+ updatedAt: string | Date;
1125
+ deletedAt: string | Date | null;
1126
+ accountId: string;
1127
+ accountName: string;
1128
+ agentEmail: string;
1129
+ agentName: string;
1130
+ __entity?: string | undefined;
1131
+ account?: {
1132
+ status: import("./common.types").AccountStatus;
1133
+ id: string;
1134
+ createdAt: string | Date;
1135
+ updatedAt: string | Date;
1136
+ deletedAt: string | Date | null;
1137
+ name: string;
1138
+ managedBy: ManagedByType | null;
1139
+ platform: import("./common.types").Platform;
1140
+ onboardingReviewerId: string | null;
1141
+ onboardingReviewAt: Date | null;
1142
+ allowPendingComplianceReview: boolean;
1143
+ __entity?: string | undefined;
1144
+ } | null | undefined;
1145
+ accountNumber?: string | null | undefined;
1146
+ routingNumber?: string | null | undefined;
1147
+ company?: string | null | undefined;
1148
+ } | null | undefined;
787
1149
  }>, "many">;
788
1150
  meta: z.ZodObject<{
789
1151
  itemCount: z.ZodNumber;
@@ -890,6 +1252,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
890
1252
  memorandumId?: string | null | undefined;
891
1253
  subscriptionAgreementId?: string | null | undefined;
892
1254
  showTotalRaised?: boolean | undefined;
1255
+ hasEscrow?: boolean | undefined;
1256
+ escrowAgreementFileId?: string | null | undefined;
1257
+ bankAccountId?: string | null | undefined;
1258
+ bankAccount?: any;
1259
+ escrowAccountId?: string | null | undefined;
1260
+ escrowAccount?: {
1261
+ id: string;
1262
+ createdAt: string | Date;
1263
+ updatedAt: string | Date;
1264
+ deletedAt: string | Date | null;
1265
+ accountId: string;
1266
+ accountName: string;
1267
+ agentEmail: string;
1268
+ agentName: string;
1269
+ __entity?: string | undefined;
1270
+ account?: {
1271
+ status: import("./common.types").AccountStatus;
1272
+ id: string;
1273
+ createdAt: string | Date;
1274
+ updatedAt: string | Date;
1275
+ deletedAt: string | Date | null;
1276
+ name: string;
1277
+ managedBy: ManagedByType | null;
1278
+ platform: import("./common.types").Platform;
1279
+ onboardingReviewerId: string | null;
1280
+ onboardingReviewAt: Date | null;
1281
+ allowPendingComplianceReview: boolean;
1282
+ __entity?: string | undefined;
1283
+ } | null | undefined;
1284
+ accountNumber?: string | null | undefined;
1285
+ routingNumber?: string | null | undefined;
1286
+ company?: string | null | undefined;
1287
+ } | null | undefined;
893
1288
  }[];
894
1289
  meta: {
895
1290
  itemCount: number;
@@ -984,6 +1379,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
984
1379
  memorandumId?: string | null | undefined;
985
1380
  subscriptionAgreementId?: string | null | undefined;
986
1381
  showTotalRaised?: boolean | undefined;
1382
+ hasEscrow?: boolean | undefined;
1383
+ escrowAgreementFileId?: string | null | undefined;
1384
+ bankAccountId?: string | null | undefined;
1385
+ bankAccount?: any;
1386
+ escrowAccountId?: string | null | undefined;
1387
+ escrowAccount?: {
1388
+ id: string;
1389
+ createdAt: string | Date;
1390
+ updatedAt: string | Date;
1391
+ deletedAt: string | Date | null;
1392
+ accountId: string;
1393
+ accountName: string;
1394
+ agentEmail: string;
1395
+ agentName: string;
1396
+ __entity?: string | undefined;
1397
+ account?: {
1398
+ status: import("./common.types").AccountStatus;
1399
+ id: string;
1400
+ createdAt: string | Date;
1401
+ updatedAt: string | Date;
1402
+ deletedAt: string | Date | null;
1403
+ name: string;
1404
+ managedBy: ManagedByType | null;
1405
+ platform: import("./common.types").Platform;
1406
+ onboardingReviewerId: string | null;
1407
+ onboardingReviewAt: Date | null;
1408
+ allowPendingComplianceReview: boolean;
1409
+ __entity?: string | undefined;
1410
+ } | null | undefined;
1411
+ accountNumber?: string | null | undefined;
1412
+ routingNumber?: string | null | undefined;
1413
+ company?: string | null | undefined;
1414
+ } | null | undefined;
987
1415
  }[];
988
1416
  meta: {
989
1417
  itemCount: number;
@@ -1019,6 +1447,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1019
1447
  template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
1020
1448
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1021
1449
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1450
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1451
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1452
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1022
1453
  principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1023
1454
  maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1024
1455
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1079,6 +1510,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1079
1510
  startAt?: Date | null | undefined;
1080
1511
  endAt?: Date | null | undefined;
1081
1512
  cancellationPeriod?: number | null | undefined;
1513
+ hasEscrow?: boolean | undefined;
1514
+ bankAccountId?: string | null | undefined;
1515
+ escrowAccountId?: string | null | undefined;
1082
1516
  yield?: number | null | undefined;
1083
1517
  duration?: number | null | undefined;
1084
1518
  durationType?: DurationType | null | undefined;
@@ -1114,6 +1548,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1114
1548
  startAt?: string | null | undefined;
1115
1549
  endAt?: string | null | undefined;
1116
1550
  cancellationPeriod?: number | null | undefined;
1551
+ hasEscrow?: boolean | undefined;
1552
+ bankAccountId?: string | null | undefined;
1553
+ escrowAccountId?: string | null | undefined;
1117
1554
  yield?: number | null | undefined;
1118
1555
  duration?: number | null | undefined;
1119
1556
  durationType?: DurationType | null | undefined;
@@ -1149,6 +1586,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1149
1586
  startAt?: Date | null | undefined;
1150
1587
  endAt?: Date | null | undefined;
1151
1588
  cancellationPeriod?: number | null | undefined;
1589
+ hasEscrow?: boolean | undefined;
1590
+ bankAccountId?: string | null | undefined;
1591
+ escrowAccountId?: string | null | undefined;
1152
1592
  yield?: number | null | undefined;
1153
1593
  duration?: number | null | undefined;
1154
1594
  durationType?: DurationType | null | undefined;
@@ -1184,6 +1624,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1184
1624
  startAt?: string | null | undefined;
1185
1625
  endAt?: string | null | undefined;
1186
1626
  cancellationPeriod?: number | null | undefined;
1627
+ hasEscrow?: boolean | undefined;
1628
+ bankAccountId?: string | null | undefined;
1629
+ escrowAccountId?: string | null | undefined;
1187
1630
  yield?: number | null | undefined;
1188
1631
  duration?: number | null | undefined;
1189
1632
  durationType?: DurationType | null | undefined;
@@ -1215,7 +1658,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1215
1658
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1216
1659
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1217
1660
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1218
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1219
1661
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1220
1662
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1221
1663
  assetName: z.ZodOptional<z.ZodString>;
@@ -1229,6 +1671,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1229
1671
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1230
1672
  enabled: z.ZodOptional<z.ZodBoolean>;
1231
1673
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1674
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1675
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1676
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1677
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1232
1678
  principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1233
1679
  maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1234
1680
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1272,7 +1718,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1272
1718
  }, "strip", z.ZodTypeAny, {
1273
1719
  type?: OfferingType | undefined;
1274
1720
  name?: string | undefined;
1275
- managedBy?: ManagedByType | undefined;
1276
1721
  description?: string | null | undefined;
1277
1722
  enabled?: boolean | undefined;
1278
1723
  template?: AssetTemplateType | null | undefined;
@@ -1288,6 +1733,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1288
1733
  memorandumId?: string | null | undefined;
1289
1734
  subscriptionAgreementId?: string | null | undefined;
1290
1735
  showTotalRaised?: boolean | undefined;
1736
+ hasEscrow?: boolean | undefined;
1737
+ escrowAgreementFileId?: string | null | undefined;
1738
+ bankAccountId?: string | null | undefined;
1739
+ escrowAccountId?: string | null | undefined;
1291
1740
  assetName?: string | undefined;
1292
1741
  assetType?: AssetType | undefined;
1293
1742
  pricePerUnit?: number | null | undefined;
@@ -1310,7 +1759,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1310
1759
  }, {
1311
1760
  type?: OfferingType | undefined;
1312
1761
  name?: string | undefined;
1313
- managedBy?: ManagedByType | undefined;
1314
1762
  description?: string | null | undefined;
1315
1763
  enabled?: boolean | undefined;
1316
1764
  template?: AssetTemplateType | null | undefined;
@@ -1326,6 +1774,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1326
1774
  memorandumId?: string | null | undefined;
1327
1775
  subscriptionAgreementId?: string | null | undefined;
1328
1776
  showTotalRaised?: boolean | undefined;
1777
+ hasEscrow?: boolean | undefined;
1778
+ escrowAgreementFileId?: string | null | undefined;
1779
+ bankAccountId?: string | null | undefined;
1780
+ escrowAccountId?: string | null | undefined;
1329
1781
  assetName?: string | undefined;
1330
1782
  assetType?: AssetType | undefined;
1331
1783
  pricePerUnit?: number | null | undefined;
@@ -1348,7 +1800,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1348
1800
  }>, {
1349
1801
  type?: OfferingType | undefined;
1350
1802
  name?: string | undefined;
1351
- managedBy?: ManagedByType | undefined;
1352
1803
  description?: string | null | undefined;
1353
1804
  enabled?: boolean | undefined;
1354
1805
  template?: AssetTemplateType | null | undefined;
@@ -1364,6 +1815,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1364
1815
  memorandumId?: string | null | undefined;
1365
1816
  subscriptionAgreementId?: string | null | undefined;
1366
1817
  showTotalRaised?: boolean | undefined;
1818
+ hasEscrow?: boolean | undefined;
1819
+ escrowAgreementFileId?: string | null | undefined;
1820
+ bankAccountId?: string | null | undefined;
1821
+ escrowAccountId?: string | null | undefined;
1367
1822
  assetName?: string | undefined;
1368
1823
  assetType?: AssetType | undefined;
1369
1824
  pricePerUnit?: number | null | undefined;
@@ -1386,7 +1841,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1386
1841
  }, {
1387
1842
  type?: OfferingType | undefined;
1388
1843
  name?: string | undefined;
1389
- managedBy?: ManagedByType | undefined;
1390
1844
  description?: string | null | undefined;
1391
1845
  enabled?: boolean | undefined;
1392
1846
  template?: AssetTemplateType | null | undefined;
@@ -1402,6 +1856,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1402
1856
  memorandumId?: string | null | undefined;
1403
1857
  subscriptionAgreementId?: string | null | undefined;
1404
1858
  showTotalRaised?: boolean | undefined;
1859
+ hasEscrow?: boolean | undefined;
1860
+ escrowAgreementFileId?: string | null | undefined;
1861
+ bankAccountId?: string | null | undefined;
1862
+ escrowAccountId?: string | null | undefined;
1405
1863
  assetName?: string | undefined;
1406
1864
  assetType?: AssetType | undefined;
1407
1865
  pricePerUnit?: number | null | undefined;
@@ -1507,3 +1965,4 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1507
1965
  sortByNameASC?: unknown;
1508
1966
  }>;
1509
1967
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1968
+ export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;