@dalmore/api-contracts 0.0.0-dev.64aba85 → 0.0.0-dev.6f65580
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.
- package/common/types/bonus-tier.types.js +1 -2
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +83 -626
- package/common/types/issuer-bank-account.types.d.ts +4 -276
- package/common/types/issuer-offering.types.d.ts +453 -1
- package/common/types/issuer-offering.types.js +67 -1
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/offering.types.d.ts +99 -0
- package/common/types/offering.types.js +72 -2
- package/common/types/offering.types.js.map +1 -1
- package/contracts/clients/index.d.ts +35 -0
- package/contracts/clients/offerings/index.d.ts +35 -0
- 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,118 @@ 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
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
240
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
241
|
+
accountName: z.ZodString;
|
|
242
|
+
agentEmail: z.ZodString;
|
|
243
|
+
agentName: z.ZodString;
|
|
244
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
245
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
246
|
+
id: z.ZodString;
|
|
247
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
248
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
249
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
250
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
251
|
+
} & {
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
254
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
255
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
256
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
257
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
258
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
status: import("./common.types").AccountStatus;
|
|
274
|
+
id: string;
|
|
275
|
+
createdAt: string | Date;
|
|
276
|
+
updatedAt: string | Date;
|
|
277
|
+
deletedAt: string | Date | null;
|
|
278
|
+
name: string;
|
|
279
|
+
managedBy: ManagedByType | null;
|
|
280
|
+
platform: import("./common.types").Platform;
|
|
281
|
+
onboardingReviewerId: string | null;
|
|
282
|
+
onboardingReviewAt: Date | null;
|
|
283
|
+
allowPendingComplianceReview: boolean;
|
|
284
|
+
__entity?: string | undefined;
|
|
285
|
+
}>>>;
|
|
286
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
id: string;
|
|
288
|
+
createdAt: string | Date;
|
|
289
|
+
updatedAt: string | Date;
|
|
290
|
+
deletedAt: string | Date | null;
|
|
291
|
+
accountId: string;
|
|
292
|
+
accountName: string;
|
|
293
|
+
agentEmail: string;
|
|
294
|
+
agentName: string;
|
|
295
|
+
__entity?: string | undefined;
|
|
296
|
+
account?: {
|
|
297
|
+
status: import("./common.types").AccountStatus;
|
|
298
|
+
id: string;
|
|
299
|
+
createdAt: string | Date;
|
|
300
|
+
updatedAt: string | Date;
|
|
301
|
+
deletedAt: string | Date | null;
|
|
302
|
+
name: string;
|
|
303
|
+
managedBy: ManagedByType | null;
|
|
304
|
+
platform: import("./common.types").Platform;
|
|
305
|
+
onboardingReviewerId: string | null;
|
|
306
|
+
onboardingReviewAt: Date | null;
|
|
307
|
+
allowPendingComplianceReview: boolean;
|
|
308
|
+
__entity?: string | undefined;
|
|
309
|
+
} | null | undefined;
|
|
310
|
+
accountNumber?: string | null | undefined;
|
|
311
|
+
routingNumber?: string | null | undefined;
|
|
312
|
+
}, {
|
|
313
|
+
id: string;
|
|
314
|
+
createdAt: string | Date;
|
|
315
|
+
updatedAt: string | Date;
|
|
316
|
+
deletedAt: string | Date | null;
|
|
317
|
+
accountId: string;
|
|
318
|
+
accountName: string;
|
|
319
|
+
agentEmail: string;
|
|
320
|
+
agentName: string;
|
|
321
|
+
__entity?: string | undefined;
|
|
322
|
+
account?: {
|
|
323
|
+
status: import("./common.types").AccountStatus;
|
|
324
|
+
id: string;
|
|
325
|
+
createdAt: string | Date;
|
|
326
|
+
updatedAt: string | Date;
|
|
327
|
+
deletedAt: string | Date | null;
|
|
328
|
+
name: string;
|
|
329
|
+
managedBy: ManagedByType | null;
|
|
330
|
+
platform: import("./common.types").Platform;
|
|
331
|
+
onboardingReviewerId: string | null;
|
|
332
|
+
onboardingReviewAt: Date | null;
|
|
333
|
+
allowPendingComplianceReview: boolean;
|
|
334
|
+
__entity?: string | undefined;
|
|
335
|
+
} | null | undefined;
|
|
336
|
+
accountNumber?: string | null | undefined;
|
|
337
|
+
routingNumber?: string | null | undefined;
|
|
338
|
+
}>>>>;
|
|
227
339
|
}, "strip", z.ZodTypeAny, {
|
|
228
340
|
type: OfferingType | null;
|
|
229
341
|
id: string;
|
|
@@ -309,6 +421,38 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
309
421
|
memorandumId?: string | null | undefined;
|
|
310
422
|
subscriptionAgreementId?: string | null | undefined;
|
|
311
423
|
showTotalRaised?: boolean | undefined;
|
|
424
|
+
hasEscrow?: boolean | undefined;
|
|
425
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
426
|
+
bankAccountId?: string | null | undefined;
|
|
427
|
+
bankAccount?: any;
|
|
428
|
+
escrowAccountId?: string | null | undefined;
|
|
429
|
+
escrowAccount?: {
|
|
430
|
+
id: string;
|
|
431
|
+
createdAt: string | Date;
|
|
432
|
+
updatedAt: string | Date;
|
|
433
|
+
deletedAt: string | Date | null;
|
|
434
|
+
accountId: string;
|
|
435
|
+
accountName: string;
|
|
436
|
+
agentEmail: string;
|
|
437
|
+
agentName: string;
|
|
438
|
+
__entity?: string | undefined;
|
|
439
|
+
account?: {
|
|
440
|
+
status: import("./common.types").AccountStatus;
|
|
441
|
+
id: string;
|
|
442
|
+
createdAt: string | Date;
|
|
443
|
+
updatedAt: string | Date;
|
|
444
|
+
deletedAt: string | Date | null;
|
|
445
|
+
name: string;
|
|
446
|
+
managedBy: ManagedByType | null;
|
|
447
|
+
platform: import("./common.types").Platform;
|
|
448
|
+
onboardingReviewerId: string | null;
|
|
449
|
+
onboardingReviewAt: Date | null;
|
|
450
|
+
allowPendingComplianceReview: boolean;
|
|
451
|
+
__entity?: string | undefined;
|
|
452
|
+
} | null | undefined;
|
|
453
|
+
accountNumber?: string | null | undefined;
|
|
454
|
+
routingNumber?: string | null | undefined;
|
|
455
|
+
} | null | undefined;
|
|
312
456
|
}, {
|
|
313
457
|
type: OfferingType | null;
|
|
314
458
|
id: string;
|
|
@@ -394,6 +538,38 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
394
538
|
memorandumId?: string | null | undefined;
|
|
395
539
|
subscriptionAgreementId?: string | null | undefined;
|
|
396
540
|
showTotalRaised?: boolean | undefined;
|
|
541
|
+
hasEscrow?: boolean | undefined;
|
|
542
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
543
|
+
bankAccountId?: string | null | undefined;
|
|
544
|
+
bankAccount?: any;
|
|
545
|
+
escrowAccountId?: string | null | undefined;
|
|
546
|
+
escrowAccount?: {
|
|
547
|
+
id: string;
|
|
548
|
+
createdAt: string | Date;
|
|
549
|
+
updatedAt: string | Date;
|
|
550
|
+
deletedAt: string | Date | null;
|
|
551
|
+
accountId: string;
|
|
552
|
+
accountName: string;
|
|
553
|
+
agentEmail: string;
|
|
554
|
+
agentName: string;
|
|
555
|
+
__entity?: string | undefined;
|
|
556
|
+
account?: {
|
|
557
|
+
status: import("./common.types").AccountStatus;
|
|
558
|
+
id: string;
|
|
559
|
+
createdAt: string | Date;
|
|
560
|
+
updatedAt: string | Date;
|
|
561
|
+
deletedAt: string | Date | null;
|
|
562
|
+
name: string;
|
|
563
|
+
managedBy: ManagedByType | null;
|
|
564
|
+
platform: import("./common.types").Platform;
|
|
565
|
+
onboardingReviewerId: string | null;
|
|
566
|
+
onboardingReviewAt: Date | null;
|
|
567
|
+
allowPendingComplianceReview: boolean;
|
|
568
|
+
__entity?: string | undefined;
|
|
569
|
+
} | null | undefined;
|
|
570
|
+
accountNumber?: string | null | undefined;
|
|
571
|
+
routingNumber?: string | null | undefined;
|
|
572
|
+
} | null | undefined;
|
|
397
573
|
}>;
|
|
398
574
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
399
575
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -614,6 +790,118 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
614
790
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
615
791
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
616
792
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
793
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
797
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
801
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
802
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
803
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
804
|
+
} & {
|
|
805
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
806
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
807
|
+
accountName: z.ZodString;
|
|
808
|
+
agentEmail: z.ZodString;
|
|
809
|
+
agentName: z.ZodString;
|
|
810
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
811
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
812
|
+
id: z.ZodString;
|
|
813
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
814
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
815
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
816
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
817
|
+
} & {
|
|
818
|
+
name: z.ZodString;
|
|
819
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
820
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
821
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
822
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
823
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
824
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
825
|
+
}, "strip", z.ZodTypeAny, {
|
|
826
|
+
status: import("./common.types").AccountStatus;
|
|
827
|
+
id: string;
|
|
828
|
+
createdAt: string | Date;
|
|
829
|
+
updatedAt: string | Date;
|
|
830
|
+
deletedAt: string | Date | null;
|
|
831
|
+
name: string;
|
|
832
|
+
managedBy: ManagedByType | null;
|
|
833
|
+
platform: import("./common.types").Platform;
|
|
834
|
+
onboardingReviewerId: string | null;
|
|
835
|
+
onboardingReviewAt: Date | null;
|
|
836
|
+
allowPendingComplianceReview: boolean;
|
|
837
|
+
__entity?: string | undefined;
|
|
838
|
+
}, {
|
|
839
|
+
status: import("./common.types").AccountStatus;
|
|
840
|
+
id: string;
|
|
841
|
+
createdAt: string | Date;
|
|
842
|
+
updatedAt: string | Date;
|
|
843
|
+
deletedAt: string | Date | null;
|
|
844
|
+
name: string;
|
|
845
|
+
managedBy: ManagedByType | null;
|
|
846
|
+
platform: import("./common.types").Platform;
|
|
847
|
+
onboardingReviewerId: string | null;
|
|
848
|
+
onboardingReviewAt: Date | null;
|
|
849
|
+
allowPendingComplianceReview: boolean;
|
|
850
|
+
__entity?: string | undefined;
|
|
851
|
+
}>>>;
|
|
852
|
+
}, "strip", z.ZodTypeAny, {
|
|
853
|
+
id: string;
|
|
854
|
+
createdAt: string | Date;
|
|
855
|
+
updatedAt: string | Date;
|
|
856
|
+
deletedAt: string | Date | null;
|
|
857
|
+
accountId: string;
|
|
858
|
+
accountName: string;
|
|
859
|
+
agentEmail: string;
|
|
860
|
+
agentName: string;
|
|
861
|
+
__entity?: string | undefined;
|
|
862
|
+
account?: {
|
|
863
|
+
status: import("./common.types").AccountStatus;
|
|
864
|
+
id: string;
|
|
865
|
+
createdAt: string | Date;
|
|
866
|
+
updatedAt: string | Date;
|
|
867
|
+
deletedAt: string | Date | null;
|
|
868
|
+
name: string;
|
|
869
|
+
managedBy: ManagedByType | null;
|
|
870
|
+
platform: import("./common.types").Platform;
|
|
871
|
+
onboardingReviewerId: string | null;
|
|
872
|
+
onboardingReviewAt: Date | null;
|
|
873
|
+
allowPendingComplianceReview: boolean;
|
|
874
|
+
__entity?: string | undefined;
|
|
875
|
+
} | null | undefined;
|
|
876
|
+
accountNumber?: string | null | undefined;
|
|
877
|
+
routingNumber?: string | null | undefined;
|
|
878
|
+
}, {
|
|
879
|
+
id: string;
|
|
880
|
+
createdAt: string | Date;
|
|
881
|
+
updatedAt: string | Date;
|
|
882
|
+
deletedAt: string | Date | null;
|
|
883
|
+
accountId: string;
|
|
884
|
+
accountName: string;
|
|
885
|
+
agentEmail: string;
|
|
886
|
+
agentName: string;
|
|
887
|
+
__entity?: string | undefined;
|
|
888
|
+
account?: {
|
|
889
|
+
status: import("./common.types").AccountStatus;
|
|
890
|
+
id: string;
|
|
891
|
+
createdAt: string | Date;
|
|
892
|
+
updatedAt: string | Date;
|
|
893
|
+
deletedAt: string | Date | null;
|
|
894
|
+
name: string;
|
|
895
|
+
managedBy: ManagedByType | null;
|
|
896
|
+
platform: import("./common.types").Platform;
|
|
897
|
+
onboardingReviewerId: string | null;
|
|
898
|
+
onboardingReviewAt: Date | null;
|
|
899
|
+
allowPendingComplianceReview: boolean;
|
|
900
|
+
__entity?: string | undefined;
|
|
901
|
+
} | null | undefined;
|
|
902
|
+
accountNumber?: string | null | undefined;
|
|
903
|
+
routingNumber?: string | null | undefined;
|
|
904
|
+
}>>>>;
|
|
617
905
|
}, "strip", z.ZodTypeAny, {
|
|
618
906
|
type: OfferingType | null;
|
|
619
907
|
id: string;
|
|
@@ -699,6 +987,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
699
987
|
memorandumId?: string | null | undefined;
|
|
700
988
|
subscriptionAgreementId?: string | null | undefined;
|
|
701
989
|
showTotalRaised?: boolean | undefined;
|
|
990
|
+
hasEscrow?: boolean | undefined;
|
|
991
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
992
|
+
bankAccountId?: string | null | undefined;
|
|
993
|
+
bankAccount?: any;
|
|
994
|
+
escrowAccountId?: string | null | undefined;
|
|
995
|
+
escrowAccount?: {
|
|
996
|
+
id: string;
|
|
997
|
+
createdAt: string | Date;
|
|
998
|
+
updatedAt: string | Date;
|
|
999
|
+
deletedAt: string | Date | null;
|
|
1000
|
+
accountId: string;
|
|
1001
|
+
accountName: string;
|
|
1002
|
+
agentEmail: string;
|
|
1003
|
+
agentName: string;
|
|
1004
|
+
__entity?: string | undefined;
|
|
1005
|
+
account?: {
|
|
1006
|
+
status: import("./common.types").AccountStatus;
|
|
1007
|
+
id: string;
|
|
1008
|
+
createdAt: string | Date;
|
|
1009
|
+
updatedAt: string | Date;
|
|
1010
|
+
deletedAt: string | Date | null;
|
|
1011
|
+
name: string;
|
|
1012
|
+
managedBy: ManagedByType | null;
|
|
1013
|
+
platform: import("./common.types").Platform;
|
|
1014
|
+
onboardingReviewerId: string | null;
|
|
1015
|
+
onboardingReviewAt: Date | null;
|
|
1016
|
+
allowPendingComplianceReview: boolean;
|
|
1017
|
+
__entity?: string | undefined;
|
|
1018
|
+
} | null | undefined;
|
|
1019
|
+
accountNumber?: string | null | undefined;
|
|
1020
|
+
routingNumber?: string | null | undefined;
|
|
1021
|
+
} | null | undefined;
|
|
702
1022
|
}, {
|
|
703
1023
|
type: OfferingType | null;
|
|
704
1024
|
id: string;
|
|
@@ -784,6 +1104,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
784
1104
|
memorandumId?: string | null | undefined;
|
|
785
1105
|
subscriptionAgreementId?: string | null | undefined;
|
|
786
1106
|
showTotalRaised?: boolean | undefined;
|
|
1107
|
+
hasEscrow?: boolean | undefined;
|
|
1108
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1109
|
+
bankAccountId?: string | null | undefined;
|
|
1110
|
+
bankAccount?: any;
|
|
1111
|
+
escrowAccountId?: string | null | undefined;
|
|
1112
|
+
escrowAccount?: {
|
|
1113
|
+
id: string;
|
|
1114
|
+
createdAt: string | Date;
|
|
1115
|
+
updatedAt: string | Date;
|
|
1116
|
+
deletedAt: string | Date | null;
|
|
1117
|
+
accountId: string;
|
|
1118
|
+
accountName: string;
|
|
1119
|
+
agentEmail: string;
|
|
1120
|
+
agentName: string;
|
|
1121
|
+
__entity?: string | undefined;
|
|
1122
|
+
account?: {
|
|
1123
|
+
status: import("./common.types").AccountStatus;
|
|
1124
|
+
id: string;
|
|
1125
|
+
createdAt: string | Date;
|
|
1126
|
+
updatedAt: string | Date;
|
|
1127
|
+
deletedAt: string | Date | null;
|
|
1128
|
+
name: string;
|
|
1129
|
+
managedBy: ManagedByType | null;
|
|
1130
|
+
platform: import("./common.types").Platform;
|
|
1131
|
+
onboardingReviewerId: string | null;
|
|
1132
|
+
onboardingReviewAt: Date | null;
|
|
1133
|
+
allowPendingComplianceReview: boolean;
|
|
1134
|
+
__entity?: string | undefined;
|
|
1135
|
+
} | null | undefined;
|
|
1136
|
+
accountNumber?: string | null | undefined;
|
|
1137
|
+
routingNumber?: string | null | undefined;
|
|
1138
|
+
} | null | undefined;
|
|
787
1139
|
}>, "many">;
|
|
788
1140
|
meta: z.ZodObject<{
|
|
789
1141
|
itemCount: z.ZodNumber;
|
|
@@ -890,6 +1242,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
890
1242
|
memorandumId?: string | null | undefined;
|
|
891
1243
|
subscriptionAgreementId?: string | null | undefined;
|
|
892
1244
|
showTotalRaised?: boolean | undefined;
|
|
1245
|
+
hasEscrow?: boolean | undefined;
|
|
1246
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1247
|
+
bankAccountId?: string | null | undefined;
|
|
1248
|
+
bankAccount?: any;
|
|
1249
|
+
escrowAccountId?: string | null | undefined;
|
|
1250
|
+
escrowAccount?: {
|
|
1251
|
+
id: string;
|
|
1252
|
+
createdAt: string | Date;
|
|
1253
|
+
updatedAt: string | Date;
|
|
1254
|
+
deletedAt: string | Date | null;
|
|
1255
|
+
accountId: string;
|
|
1256
|
+
accountName: string;
|
|
1257
|
+
agentEmail: string;
|
|
1258
|
+
agentName: string;
|
|
1259
|
+
__entity?: string | undefined;
|
|
1260
|
+
account?: {
|
|
1261
|
+
status: import("./common.types").AccountStatus;
|
|
1262
|
+
id: string;
|
|
1263
|
+
createdAt: string | Date;
|
|
1264
|
+
updatedAt: string | Date;
|
|
1265
|
+
deletedAt: string | Date | null;
|
|
1266
|
+
name: string;
|
|
1267
|
+
managedBy: ManagedByType | null;
|
|
1268
|
+
platform: import("./common.types").Platform;
|
|
1269
|
+
onboardingReviewerId: string | null;
|
|
1270
|
+
onboardingReviewAt: Date | null;
|
|
1271
|
+
allowPendingComplianceReview: boolean;
|
|
1272
|
+
__entity?: string | undefined;
|
|
1273
|
+
} | null | undefined;
|
|
1274
|
+
accountNumber?: string | null | undefined;
|
|
1275
|
+
routingNumber?: string | null | undefined;
|
|
1276
|
+
} | null | undefined;
|
|
893
1277
|
}[];
|
|
894
1278
|
meta: {
|
|
895
1279
|
itemCount: number;
|
|
@@ -984,6 +1368,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
984
1368
|
memorandumId?: string | null | undefined;
|
|
985
1369
|
subscriptionAgreementId?: string | null | undefined;
|
|
986
1370
|
showTotalRaised?: boolean | undefined;
|
|
1371
|
+
hasEscrow?: boolean | undefined;
|
|
1372
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1373
|
+
bankAccountId?: string | null | undefined;
|
|
1374
|
+
bankAccount?: any;
|
|
1375
|
+
escrowAccountId?: string | null | undefined;
|
|
1376
|
+
escrowAccount?: {
|
|
1377
|
+
id: string;
|
|
1378
|
+
createdAt: string | Date;
|
|
1379
|
+
updatedAt: string | Date;
|
|
1380
|
+
deletedAt: string | Date | null;
|
|
1381
|
+
accountId: string;
|
|
1382
|
+
accountName: string;
|
|
1383
|
+
agentEmail: string;
|
|
1384
|
+
agentName: string;
|
|
1385
|
+
__entity?: string | undefined;
|
|
1386
|
+
account?: {
|
|
1387
|
+
status: import("./common.types").AccountStatus;
|
|
1388
|
+
id: string;
|
|
1389
|
+
createdAt: string | Date;
|
|
1390
|
+
updatedAt: string | Date;
|
|
1391
|
+
deletedAt: string | Date | null;
|
|
1392
|
+
name: string;
|
|
1393
|
+
managedBy: ManagedByType | null;
|
|
1394
|
+
platform: import("./common.types").Platform;
|
|
1395
|
+
onboardingReviewerId: string | null;
|
|
1396
|
+
onboardingReviewAt: Date | null;
|
|
1397
|
+
allowPendingComplianceReview: boolean;
|
|
1398
|
+
__entity?: string | undefined;
|
|
1399
|
+
} | null | undefined;
|
|
1400
|
+
accountNumber?: string | null | undefined;
|
|
1401
|
+
routingNumber?: string | null | undefined;
|
|
1402
|
+
} | null | undefined;
|
|
987
1403
|
}[];
|
|
988
1404
|
meta: {
|
|
989
1405
|
itemCount: number;
|
|
@@ -1019,6 +1435,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1019
1435
|
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
1020
1436
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1021
1437
|
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1438
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1439
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1440
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1022
1441
|
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1023
1442
|
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1024
1443
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1079,6 +1498,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1079
1498
|
startAt?: Date | null | undefined;
|
|
1080
1499
|
endAt?: Date | null | undefined;
|
|
1081
1500
|
cancellationPeriod?: number | null | undefined;
|
|
1501
|
+
hasEscrow?: boolean | undefined;
|
|
1502
|
+
bankAccountId?: string | null | undefined;
|
|
1503
|
+
escrowAccountId?: string | null | undefined;
|
|
1082
1504
|
yield?: number | null | undefined;
|
|
1083
1505
|
duration?: number | null | undefined;
|
|
1084
1506
|
durationType?: DurationType | null | undefined;
|
|
@@ -1114,6 +1536,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1114
1536
|
startAt?: string | null | undefined;
|
|
1115
1537
|
endAt?: string | null | undefined;
|
|
1116
1538
|
cancellationPeriod?: number | null | undefined;
|
|
1539
|
+
hasEscrow?: boolean | undefined;
|
|
1540
|
+
bankAccountId?: string | null | undefined;
|
|
1541
|
+
escrowAccountId?: string | null | undefined;
|
|
1117
1542
|
yield?: number | null | undefined;
|
|
1118
1543
|
duration?: number | null | undefined;
|
|
1119
1544
|
durationType?: DurationType | null | undefined;
|
|
@@ -1149,6 +1574,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1149
1574
|
startAt?: Date | null | undefined;
|
|
1150
1575
|
endAt?: Date | null | undefined;
|
|
1151
1576
|
cancellationPeriod?: number | null | undefined;
|
|
1577
|
+
hasEscrow?: boolean | undefined;
|
|
1578
|
+
bankAccountId?: string | null | undefined;
|
|
1579
|
+
escrowAccountId?: string | null | undefined;
|
|
1152
1580
|
yield?: number | null | undefined;
|
|
1153
1581
|
duration?: number | null | undefined;
|
|
1154
1582
|
durationType?: DurationType | null | undefined;
|
|
@@ -1184,6 +1612,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1184
1612
|
startAt?: string | null | undefined;
|
|
1185
1613
|
endAt?: string | null | undefined;
|
|
1186
1614
|
cancellationPeriod?: number | null | undefined;
|
|
1615
|
+
hasEscrow?: boolean | undefined;
|
|
1616
|
+
bankAccountId?: string | null | undefined;
|
|
1617
|
+
escrowAccountId?: string | null | undefined;
|
|
1187
1618
|
yield?: number | null | undefined;
|
|
1188
1619
|
duration?: number | null | undefined;
|
|
1189
1620
|
durationType?: DurationType | null | undefined;
|
|
@@ -1229,6 +1660,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1229
1660
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1230
1661
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1231
1662
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1663
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1664
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1665
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1666
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1232
1667
|
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1233
1668
|
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1234
1669
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1288,6 +1723,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1288
1723
|
memorandumId?: string | null | undefined;
|
|
1289
1724
|
subscriptionAgreementId?: string | null | undefined;
|
|
1290
1725
|
showTotalRaised?: boolean | undefined;
|
|
1726
|
+
hasEscrow?: boolean | undefined;
|
|
1727
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1728
|
+
bankAccountId?: string | null | undefined;
|
|
1729
|
+
escrowAccountId?: string | null | undefined;
|
|
1291
1730
|
assetName?: string | undefined;
|
|
1292
1731
|
assetType?: AssetType | undefined;
|
|
1293
1732
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1326,6 +1765,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1326
1765
|
memorandumId?: string | null | undefined;
|
|
1327
1766
|
subscriptionAgreementId?: string | null | undefined;
|
|
1328
1767
|
showTotalRaised?: boolean | undefined;
|
|
1768
|
+
hasEscrow?: boolean | undefined;
|
|
1769
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1770
|
+
bankAccountId?: string | null | undefined;
|
|
1771
|
+
escrowAccountId?: string | null | undefined;
|
|
1329
1772
|
assetName?: string | undefined;
|
|
1330
1773
|
assetType?: AssetType | undefined;
|
|
1331
1774
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1364,6 +1807,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1364
1807
|
memorandumId?: string | null | undefined;
|
|
1365
1808
|
subscriptionAgreementId?: string | null | undefined;
|
|
1366
1809
|
showTotalRaised?: boolean | undefined;
|
|
1810
|
+
hasEscrow?: boolean | undefined;
|
|
1811
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1812
|
+
bankAccountId?: string | null | undefined;
|
|
1813
|
+
escrowAccountId?: string | null | undefined;
|
|
1367
1814
|
assetName?: string | undefined;
|
|
1368
1815
|
assetType?: AssetType | undefined;
|
|
1369
1816
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1402,6 +1849,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1402
1849
|
memorandumId?: string | null | undefined;
|
|
1403
1850
|
subscriptionAgreementId?: string | null | undefined;
|
|
1404
1851
|
showTotalRaised?: boolean | undefined;
|
|
1852
|
+
hasEscrow?: boolean | undefined;
|
|
1853
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1854
|
+
bankAccountId?: string | null | undefined;
|
|
1855
|
+
escrowAccountId?: string | null | undefined;
|
|
1405
1856
|
assetName?: string | undefined;
|
|
1406
1857
|
assetType?: AssetType | undefined;
|
|
1407
1858
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1507,3 +1958,4 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1507
1958
|
sortByNameASC?: unknown;
|
|
1508
1959
|
}>;
|
|
1509
1960
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
1961
|
+
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|