@dalmore/api-contracts 0.0.0-dev.ada6a86 → 0.0.0-dev.b0aad1d
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/account-setting.types.d.ts +17 -66
- package/common/types/account-setting.types.js +2 -31
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +32 -23
- package/common/types/account.types.js +1 -0
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +27 -24
- package/common/types/activity.types.js +6 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +212 -0
- package/common/types/asset.types.js +115 -42
- package/common/types/asset.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +11 -0
- package/common/types/bonus-tier.types.js +14 -7
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +15 -0
- package/common/types/cap-table.types.js +17 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +319 -4
- package/common/types/common.types.js +47 -0
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +133 -466
- package/common/types/comply-advantage-api.types.js +24 -3
- package/common/types/comply-advantage-api.types.js.map +1 -1
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/data-record.types.d.ts +4 -4
- package/common/types/disbursements.types.d.ts +106 -626
- package/common/types/disbursements.types.js +3 -0
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/file.types.d.ts +35 -11
- package/common/types/file.types.js +11 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +2 -0
- package/common/types/index.js +2 -0
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.js +5 -2
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/issuer-bank-account.types.d.ts +4 -276
- package/common/types/issuer-offering.types.d.ts +664 -5
- package/common/types/issuer-offering.types.js +128 -17
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/note.types.d.ts +15 -15
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +16 -3
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +281 -1
- package/common/types/offering.types.js +107 -10
- package/common/types/offering.types.js.map +1 -1
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/signer.types.d.ts +8 -8
- package/common/types/site.types.d.ts +5 -0
- package/common/types/task.types.d.ts +22 -22
- package/common/types/trade.types.d.ts +2 -0
- package/common/types/trade.types.js +2 -0
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +80 -1
- package/common/types/transaction.types.js +22 -2
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +87 -58
- package/common/types/user.types.js +3 -0
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +22 -0
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +248 -10
- package/contracts/clients/offerings/index.d.ts +220 -4
- package/package.json +1 -1
|
@@ -151,6 +151,56 @@ export declare enum PaymentMethodType {
|
|
|
151
151
|
CHECK = "CHECK",
|
|
152
152
|
RETIREMENT = "RETIREMENT"
|
|
153
153
|
}
|
|
154
|
+
export declare const accountSettingIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
155
|
+
export type accountSettingIdSchema = z.infer<typeof accountSettingIdSchema>;
|
|
156
|
+
export declare const IAccountSettingZod: z.ZodObject<{
|
|
157
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
158
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
159
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
160
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
161
|
+
} & {
|
|
162
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
163
|
+
accountId: z.ZodString;
|
|
164
|
+
offeringSetup: z.ZodBoolean;
|
|
165
|
+
investorPortalSetup: z.ZodBoolean;
|
|
166
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
167
|
+
accountContactsSetup: z.ZodBoolean;
|
|
168
|
+
productPrimaries: z.ZodBoolean;
|
|
169
|
+
productSecondaries: z.ZodBoolean;
|
|
170
|
+
featureDisbursements: z.ZodBoolean;
|
|
171
|
+
apiPortal: z.ZodBoolean;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
id: string;
|
|
174
|
+
createdAt: string | Date;
|
|
175
|
+
updatedAt: string | Date;
|
|
176
|
+
deletedAt: string | Date | null;
|
|
177
|
+
accountId: string;
|
|
178
|
+
offeringSetup: boolean;
|
|
179
|
+
investorPortalSetup: boolean;
|
|
180
|
+
paymentMethodSetup: boolean;
|
|
181
|
+
accountContactsSetup: boolean;
|
|
182
|
+
productPrimaries: boolean;
|
|
183
|
+
productSecondaries: boolean;
|
|
184
|
+
featureDisbursements: boolean;
|
|
185
|
+
apiPortal: boolean;
|
|
186
|
+
__entity?: string | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
id: string;
|
|
189
|
+
createdAt: string | Date;
|
|
190
|
+
updatedAt: string | Date;
|
|
191
|
+
deletedAt: string | Date | null;
|
|
192
|
+
accountId: string;
|
|
193
|
+
offeringSetup: boolean;
|
|
194
|
+
investorPortalSetup: boolean;
|
|
195
|
+
paymentMethodSetup: boolean;
|
|
196
|
+
accountContactsSetup: boolean;
|
|
197
|
+
productPrimaries: boolean;
|
|
198
|
+
productSecondaries: boolean;
|
|
199
|
+
featureDisbursements: boolean;
|
|
200
|
+
apiPortal: boolean;
|
|
201
|
+
__entity?: string | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
export type IAccountSettingZod = z.infer<typeof IAccountSettingZod>;
|
|
154
204
|
export declare const AccountZod: z.ZodObject<{
|
|
155
205
|
id: z.ZodString;
|
|
156
206
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -302,6 +352,53 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
302
352
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
303
353
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
304
354
|
roleId: z.ZodString;
|
|
355
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
356
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
357
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
358
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
359
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
360
|
+
} & {
|
|
361
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
362
|
+
accountId: z.ZodString;
|
|
363
|
+
offeringSetup: z.ZodBoolean;
|
|
364
|
+
investorPortalSetup: z.ZodBoolean;
|
|
365
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
366
|
+
accountContactsSetup: z.ZodBoolean;
|
|
367
|
+
productPrimaries: z.ZodBoolean;
|
|
368
|
+
productSecondaries: z.ZodBoolean;
|
|
369
|
+
featureDisbursements: z.ZodBoolean;
|
|
370
|
+
apiPortal: z.ZodBoolean;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
id: string;
|
|
373
|
+
createdAt: string | Date;
|
|
374
|
+
updatedAt: string | Date;
|
|
375
|
+
deletedAt: string | Date | null;
|
|
376
|
+
accountId: string;
|
|
377
|
+
offeringSetup: boolean;
|
|
378
|
+
investorPortalSetup: boolean;
|
|
379
|
+
paymentMethodSetup: boolean;
|
|
380
|
+
accountContactsSetup: boolean;
|
|
381
|
+
productPrimaries: boolean;
|
|
382
|
+
productSecondaries: boolean;
|
|
383
|
+
featureDisbursements: boolean;
|
|
384
|
+
apiPortal: boolean;
|
|
385
|
+
__entity?: string | undefined;
|
|
386
|
+
}, {
|
|
387
|
+
id: string;
|
|
388
|
+
createdAt: string | Date;
|
|
389
|
+
updatedAt: string | Date;
|
|
390
|
+
deletedAt: string | Date | null;
|
|
391
|
+
accountId: string;
|
|
392
|
+
offeringSetup: boolean;
|
|
393
|
+
investorPortalSetup: boolean;
|
|
394
|
+
paymentMethodSetup: boolean;
|
|
395
|
+
accountContactsSetup: boolean;
|
|
396
|
+
productPrimaries: boolean;
|
|
397
|
+
productSecondaries: boolean;
|
|
398
|
+
featureDisbursements: boolean;
|
|
399
|
+
apiPortal: boolean;
|
|
400
|
+
__entity?: string | undefined;
|
|
401
|
+
}>>>;
|
|
305
402
|
}, "strip", z.ZodTypeAny, {
|
|
306
403
|
type: PortalType;
|
|
307
404
|
id: string;
|
|
@@ -310,6 +407,22 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
310
407
|
isInactiveAccount: boolean;
|
|
311
408
|
role: UserRole;
|
|
312
409
|
roleId: string;
|
|
410
|
+
accountSettings?: {
|
|
411
|
+
id: string;
|
|
412
|
+
createdAt: string | Date;
|
|
413
|
+
updatedAt: string | Date;
|
|
414
|
+
deletedAt: string | Date | null;
|
|
415
|
+
accountId: string;
|
|
416
|
+
offeringSetup: boolean;
|
|
417
|
+
investorPortalSetup: boolean;
|
|
418
|
+
paymentMethodSetup: boolean;
|
|
419
|
+
accountContactsSetup: boolean;
|
|
420
|
+
productPrimaries: boolean;
|
|
421
|
+
productSecondaries: boolean;
|
|
422
|
+
featureDisbursements: boolean;
|
|
423
|
+
apiPortal: boolean;
|
|
424
|
+
__entity?: string | undefined;
|
|
425
|
+
} | undefined;
|
|
313
426
|
}, {
|
|
314
427
|
type: PortalType;
|
|
315
428
|
id: string;
|
|
@@ -318,6 +431,22 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
318
431
|
isInactiveAccount: boolean;
|
|
319
432
|
role: UserRole;
|
|
320
433
|
roleId: string;
|
|
434
|
+
accountSettings?: {
|
|
435
|
+
id: string;
|
|
436
|
+
createdAt: string | Date;
|
|
437
|
+
updatedAt: string | Date;
|
|
438
|
+
deletedAt: string | Date | null;
|
|
439
|
+
accountId: string;
|
|
440
|
+
offeringSetup: boolean;
|
|
441
|
+
investorPortalSetup: boolean;
|
|
442
|
+
paymentMethodSetup: boolean;
|
|
443
|
+
accountContactsSetup: boolean;
|
|
444
|
+
productPrimaries: boolean;
|
|
445
|
+
productSecondaries: boolean;
|
|
446
|
+
featureDisbursements: boolean;
|
|
447
|
+
apiPortal: boolean;
|
|
448
|
+
__entity?: string | undefined;
|
|
449
|
+
} | undefined;
|
|
321
450
|
}>;
|
|
322
451
|
export declare const AuthUserReq: z.ZodObject<{
|
|
323
452
|
id: z.ZodString;
|
|
@@ -327,6 +456,53 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
327
456
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
328
457
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
329
458
|
roleId: z.ZodString;
|
|
459
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
460
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
461
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
462
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
463
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
464
|
+
} & {
|
|
465
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
466
|
+
accountId: z.ZodString;
|
|
467
|
+
offeringSetup: z.ZodBoolean;
|
|
468
|
+
investorPortalSetup: z.ZodBoolean;
|
|
469
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
470
|
+
accountContactsSetup: z.ZodBoolean;
|
|
471
|
+
productPrimaries: z.ZodBoolean;
|
|
472
|
+
productSecondaries: z.ZodBoolean;
|
|
473
|
+
featureDisbursements: z.ZodBoolean;
|
|
474
|
+
apiPortal: z.ZodBoolean;
|
|
475
|
+
}, "strip", z.ZodTypeAny, {
|
|
476
|
+
id: string;
|
|
477
|
+
createdAt: string | Date;
|
|
478
|
+
updatedAt: string | Date;
|
|
479
|
+
deletedAt: string | Date | null;
|
|
480
|
+
accountId: string;
|
|
481
|
+
offeringSetup: boolean;
|
|
482
|
+
investorPortalSetup: boolean;
|
|
483
|
+
paymentMethodSetup: boolean;
|
|
484
|
+
accountContactsSetup: boolean;
|
|
485
|
+
productPrimaries: boolean;
|
|
486
|
+
productSecondaries: boolean;
|
|
487
|
+
featureDisbursements: boolean;
|
|
488
|
+
apiPortal: boolean;
|
|
489
|
+
__entity?: string | undefined;
|
|
490
|
+
}, {
|
|
491
|
+
id: string;
|
|
492
|
+
createdAt: string | Date;
|
|
493
|
+
updatedAt: string | Date;
|
|
494
|
+
deletedAt: string | Date | null;
|
|
495
|
+
accountId: string;
|
|
496
|
+
offeringSetup: boolean;
|
|
497
|
+
investorPortalSetup: boolean;
|
|
498
|
+
paymentMethodSetup: boolean;
|
|
499
|
+
accountContactsSetup: boolean;
|
|
500
|
+
productPrimaries: boolean;
|
|
501
|
+
productSecondaries: boolean;
|
|
502
|
+
featureDisbursements: boolean;
|
|
503
|
+
apiPortal: boolean;
|
|
504
|
+
__entity?: string | undefined;
|
|
505
|
+
}>>>;
|
|
330
506
|
} & {
|
|
331
507
|
userLoginId: z.ZodString;
|
|
332
508
|
firstName: z.ZodString;
|
|
@@ -360,6 +536,22 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
360
536
|
locked: boolean;
|
|
361
537
|
accountStatus: AccountStatus;
|
|
362
538
|
managedBy?: ManagedByType | undefined;
|
|
539
|
+
accountSettings?: {
|
|
540
|
+
id: string;
|
|
541
|
+
createdAt: string | Date;
|
|
542
|
+
updatedAt: string | Date;
|
|
543
|
+
deletedAt: string | Date | null;
|
|
544
|
+
accountId: string;
|
|
545
|
+
offeringSetup: boolean;
|
|
546
|
+
investorPortalSetup: boolean;
|
|
547
|
+
paymentMethodSetup: boolean;
|
|
548
|
+
accountContactsSetup: boolean;
|
|
549
|
+
productPrimaries: boolean;
|
|
550
|
+
productSecondaries: boolean;
|
|
551
|
+
featureDisbursements: boolean;
|
|
552
|
+
apiPortal: boolean;
|
|
553
|
+
__entity?: string | undefined;
|
|
554
|
+
} | undefined;
|
|
363
555
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
364
556
|
twoFactorEnabled?: boolean | undefined;
|
|
365
557
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -382,6 +574,22 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
382
574
|
locked: boolean;
|
|
383
575
|
accountStatus: AccountStatus;
|
|
384
576
|
managedBy?: ManagedByType | undefined;
|
|
577
|
+
accountSettings?: {
|
|
578
|
+
id: string;
|
|
579
|
+
createdAt: string | Date;
|
|
580
|
+
updatedAt: string | Date;
|
|
581
|
+
deletedAt: string | Date | null;
|
|
582
|
+
accountId: string;
|
|
583
|
+
offeringSetup: boolean;
|
|
584
|
+
investorPortalSetup: boolean;
|
|
585
|
+
paymentMethodSetup: boolean;
|
|
586
|
+
accountContactsSetup: boolean;
|
|
587
|
+
productPrimaries: boolean;
|
|
588
|
+
productSecondaries: boolean;
|
|
589
|
+
featureDisbursements: boolean;
|
|
590
|
+
apiPortal: boolean;
|
|
591
|
+
__entity?: string | undefined;
|
|
592
|
+
} | undefined;
|
|
385
593
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
386
594
|
twoFactorEnabled?: boolean | undefined;
|
|
387
595
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -395,6 +603,53 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
395
603
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
396
604
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
397
605
|
roleId: z.ZodString;
|
|
606
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
607
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
608
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
609
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
610
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
611
|
+
} & {
|
|
612
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
613
|
+
accountId: z.ZodString;
|
|
614
|
+
offeringSetup: z.ZodBoolean;
|
|
615
|
+
investorPortalSetup: z.ZodBoolean;
|
|
616
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
617
|
+
accountContactsSetup: z.ZodBoolean;
|
|
618
|
+
productPrimaries: z.ZodBoolean;
|
|
619
|
+
productSecondaries: z.ZodBoolean;
|
|
620
|
+
featureDisbursements: z.ZodBoolean;
|
|
621
|
+
apiPortal: z.ZodBoolean;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
id: string;
|
|
624
|
+
createdAt: string | Date;
|
|
625
|
+
updatedAt: string | Date;
|
|
626
|
+
deletedAt: string | Date | null;
|
|
627
|
+
accountId: string;
|
|
628
|
+
offeringSetup: boolean;
|
|
629
|
+
investorPortalSetup: boolean;
|
|
630
|
+
paymentMethodSetup: boolean;
|
|
631
|
+
accountContactsSetup: boolean;
|
|
632
|
+
productPrimaries: boolean;
|
|
633
|
+
productSecondaries: boolean;
|
|
634
|
+
featureDisbursements: boolean;
|
|
635
|
+
apiPortal: boolean;
|
|
636
|
+
__entity?: string | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
id: string;
|
|
639
|
+
createdAt: string | Date;
|
|
640
|
+
updatedAt: string | Date;
|
|
641
|
+
deletedAt: string | Date | null;
|
|
642
|
+
accountId: string;
|
|
643
|
+
offeringSetup: boolean;
|
|
644
|
+
investorPortalSetup: boolean;
|
|
645
|
+
paymentMethodSetup: boolean;
|
|
646
|
+
accountContactsSetup: boolean;
|
|
647
|
+
productPrimaries: boolean;
|
|
648
|
+
productSecondaries: boolean;
|
|
649
|
+
featureDisbursements: boolean;
|
|
650
|
+
apiPortal: boolean;
|
|
651
|
+
__entity?: string | undefined;
|
|
652
|
+
}>>>;
|
|
398
653
|
} & {
|
|
399
654
|
name: z.ZodString;
|
|
400
655
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -410,6 +665,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
410
665
|
roleId: string;
|
|
411
666
|
description: string | null;
|
|
412
667
|
lastUsedAt: Date | null;
|
|
668
|
+
accountSettings?: {
|
|
669
|
+
id: string;
|
|
670
|
+
createdAt: string | Date;
|
|
671
|
+
updatedAt: string | Date;
|
|
672
|
+
deletedAt: string | Date | null;
|
|
673
|
+
accountId: string;
|
|
674
|
+
offeringSetup: boolean;
|
|
675
|
+
investorPortalSetup: boolean;
|
|
676
|
+
paymentMethodSetup: boolean;
|
|
677
|
+
accountContactsSetup: boolean;
|
|
678
|
+
productPrimaries: boolean;
|
|
679
|
+
productSecondaries: boolean;
|
|
680
|
+
featureDisbursements: boolean;
|
|
681
|
+
apiPortal: boolean;
|
|
682
|
+
__entity?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
413
684
|
}, {
|
|
414
685
|
type: PortalType;
|
|
415
686
|
id: string;
|
|
@@ -421,6 +692,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
421
692
|
roleId: string;
|
|
422
693
|
description: string | null;
|
|
423
694
|
lastUsedAt: Date | null;
|
|
695
|
+
accountSettings?: {
|
|
696
|
+
id: string;
|
|
697
|
+
createdAt: string | Date;
|
|
698
|
+
updatedAt: string | Date;
|
|
699
|
+
deletedAt: string | Date | null;
|
|
700
|
+
accountId: string;
|
|
701
|
+
offeringSetup: boolean;
|
|
702
|
+
investorPortalSetup: boolean;
|
|
703
|
+
paymentMethodSetup: boolean;
|
|
704
|
+
accountContactsSetup: boolean;
|
|
705
|
+
productPrimaries: boolean;
|
|
706
|
+
productSecondaries: boolean;
|
|
707
|
+
featureDisbursements: boolean;
|
|
708
|
+
apiPortal: boolean;
|
|
709
|
+
__entity?: string | undefined;
|
|
710
|
+
} | undefined;
|
|
424
711
|
}>;
|
|
425
712
|
export type BaseAuthReq = z.infer<typeof BaseAuthReq>;
|
|
426
713
|
export type AuthUserReq = z.infer<typeof AuthUserReq>;
|
|
@@ -720,7 +1007,8 @@ export declare enum OfferingType {
|
|
|
720
1007
|
}
|
|
721
1008
|
export declare enum AssetType {
|
|
722
1009
|
BOND = "BOND",
|
|
723
|
-
STOCK = "STOCK"
|
|
1010
|
+
STOCK = "STOCK",
|
|
1011
|
+
PROMISSORY_NOTE = "PROMISSORY_NOTE"
|
|
724
1012
|
}
|
|
725
1013
|
export declare enum AdjustmentType {
|
|
726
1014
|
CREDIT_CARD_FEES = "CREDIT_CARD_FEES",
|
|
@@ -801,7 +1089,8 @@ export declare enum IssuerFileLabels {
|
|
|
801
1089
|
export declare enum OfferingFileLabels {
|
|
802
1090
|
MEMORANDUM = "MEMORANDUM",
|
|
803
1091
|
SUBSCRIPTION_AGREEMENT = "SUBSCRIPTION_AGREEMENT",
|
|
804
|
-
COVER_ART = "COVER_ART"
|
|
1092
|
+
COVER_ART = "COVER_ART",
|
|
1093
|
+
ESCROW_AGREEMENT = "ESCROW_AGREEMENT"
|
|
805
1094
|
}
|
|
806
1095
|
export declare enum SiteBrandingFileLabels {
|
|
807
1096
|
LOGO = "LOGO",
|
|
@@ -826,7 +1115,9 @@ export declare enum AccreditationFileLabels {
|
|
|
826
1115
|
export declare enum OtherFileLabels {
|
|
827
1116
|
OTHER = "OTHER",
|
|
828
1117
|
COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST",
|
|
829
|
-
SUB_DOC = "SUB_DOC"
|
|
1118
|
+
SUB_DOC = "SUB_DOC",
|
|
1119
|
+
CONTENT_FILE = "CONTENT_FILE",
|
|
1120
|
+
CSV_EXPORT_FILE = "CSV_EXPORT_FILE"
|
|
830
1121
|
}
|
|
831
1122
|
export declare const FileLabels: {
|
|
832
1123
|
readonly TRADE_DOCUMENT: TradeFileLables.TRADE_DOCUMENT;
|
|
@@ -838,6 +1129,7 @@ export declare const FileLabels: {
|
|
|
838
1129
|
readonly COVER_ART: IssuerFileLabels.COVER_ART;
|
|
839
1130
|
readonly MEMORANDUM: OfferingFileLabels.MEMORANDUM;
|
|
840
1131
|
readonly SUBSCRIPTION_AGREEMENT: OfferingFileLabels.SUBSCRIPTION_AGREEMENT;
|
|
1132
|
+
readonly ESCROW_AGREEMENT: OfferingFileLabels.ESCROW_AGREEMENT;
|
|
841
1133
|
readonly LOGO: SiteBrandingFileLabels.LOGO;
|
|
842
1134
|
readonly FAVICON: SiteBrandingFileLabels.FAVICON;
|
|
843
1135
|
readonly BACKGROUND_IMAGE: SiteBrandingFileLabels.BACKGROUND_IMAGE;
|
|
@@ -845,6 +1137,8 @@ export declare const FileLabels: {
|
|
|
845
1137
|
readonly OTHER: OtherFileLabels.OTHER;
|
|
846
1138
|
readonly COMPLIANCE_REQUEST: OtherFileLabels.COMPLIANCE_REQUEST;
|
|
847
1139
|
readonly SUB_DOC: OtherFileLabels.SUB_DOC;
|
|
1140
|
+
readonly CONTENT_FILE: OtherFileLabels.CONTENT_FILE;
|
|
1141
|
+
readonly CSV_EXPORT_FILE: OtherFileLabels.CSV_EXPORT_FILE;
|
|
848
1142
|
readonly BAD_ACTOR_REPORT_FILE: CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
|
|
849
1143
|
readonly PROOF_OF_INCOME: AccreditationFileLabels.PROOF_OF_INCOME;
|
|
850
1144
|
readonly PROOF_OF_NET_WORTH: AccreditationFileLabels.PROOF_OF_NET_WORTH;
|
|
@@ -986,7 +1280,8 @@ export declare enum EventName {
|
|
|
986
1280
|
ACTION_PERFORMED = "action.performed",
|
|
987
1281
|
PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
|
|
988
1282
|
IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
|
|
989
|
-
INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed"
|
|
1283
|
+
INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
|
|
1284
|
+
ISSUER_CREATED = "issuer.created"
|
|
990
1285
|
}
|
|
991
1286
|
export declare enum TransactionStatus {
|
|
992
1287
|
PENDING = "PENDING",
|
|
@@ -1159,6 +1454,26 @@ export declare const TargetTableConfig: {
|
|
|
1159
1454
|
readonly table: "theme_settings";
|
|
1160
1455
|
readonly idPrefix: "theme_setting";
|
|
1161
1456
|
};
|
|
1457
|
+
readonly CAP_TABLES: {
|
|
1458
|
+
readonly table: "cap_tables";
|
|
1459
|
+
readonly idPrefix: "cap_table";
|
|
1460
|
+
};
|
|
1461
|
+
readonly CAP_TABLE_SHARE_CLASSES: {
|
|
1462
|
+
readonly table: "cap_table_share_classes";
|
|
1463
|
+
readonly idPrefix: "cap_table_share_class";
|
|
1464
|
+
};
|
|
1465
|
+
readonly CAP_TABLE_ENTRIES: {
|
|
1466
|
+
readonly table: "cap_table_entries";
|
|
1467
|
+
readonly idPrefix: "cap_table_entry";
|
|
1468
|
+
};
|
|
1469
|
+
readonly EMAIL_THEMES: {
|
|
1470
|
+
readonly table: "email_themes";
|
|
1471
|
+
readonly idPrefix: "email_theme";
|
|
1472
|
+
};
|
|
1473
|
+
readonly EMAIL_THEME_SETTINGS: {
|
|
1474
|
+
readonly table: "email_theme_settings";
|
|
1475
|
+
readonly idPrefix: "email_theme_setting";
|
|
1476
|
+
};
|
|
1162
1477
|
};
|
|
1163
1478
|
export type TargetTableType = keyof typeof TargetTableConfig;
|
|
1164
1479
|
export declare const TargetTableEnum: [TargetTableType, ...TargetTableType[]];
|
|
@@ -153,6 +153,33 @@ export var PaymentMethodType;
|
|
|
153
153
|
PaymentMethodType["CHECK"] = "CHECK";
|
|
154
154
|
PaymentMethodType["RETIREMENT"] = "RETIREMENT";
|
|
155
155
|
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
156
|
+
export const accountSettingIdSchema = z.string().refine((value) => {
|
|
157
|
+
try {
|
|
158
|
+
const tid = TypeID.fromString(value);
|
|
159
|
+
return tid.getType() === 'account_setting';
|
|
160
|
+
}
|
|
161
|
+
catch {
|
|
162
|
+
return false;
|
|
163
|
+
}
|
|
164
|
+
}, {
|
|
165
|
+
message: 'Invalid account setting ID format. Must be a valid TypeID with "account_setting" prefix.',
|
|
166
|
+
});
|
|
167
|
+
export const IAccountSettingZod = IBaseEntity.extend({
|
|
168
|
+
id: accountSettingIdSchema.openapi({
|
|
169
|
+
example: 'account_setting_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
170
|
+
}),
|
|
171
|
+
accountId: z.string().openapi({
|
|
172
|
+
example: 'account_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
173
|
+
}),
|
|
174
|
+
offeringSetup: z.boolean().openapi({ example: false }),
|
|
175
|
+
investorPortalSetup: z.boolean().openapi({ example: false }),
|
|
176
|
+
paymentMethodSetup: z.boolean().openapi({ example: false }),
|
|
177
|
+
accountContactsSetup: z.boolean().openapi({ example: false }),
|
|
178
|
+
productPrimaries: z.boolean().openapi({ example: true }),
|
|
179
|
+
productSecondaries: z.boolean().openapi({ example: false }),
|
|
180
|
+
featureDisbursements: z.boolean().openapi({ example: true }),
|
|
181
|
+
apiPortal: z.boolean().openapi({ example: false }),
|
|
182
|
+
});
|
|
156
183
|
export const AccountZod = IBaseEntity.extend({
|
|
157
184
|
name: z.string().openapi({ example: 'Dalmore' }),
|
|
158
185
|
status: z.nativeEnum(AccountStatus).openapi({ example: AccountStatus.LIVE }),
|
|
@@ -287,6 +314,7 @@ export const BaseAuthReq = z.object({
|
|
|
287
314
|
role: z.nativeEnum(UserRole),
|
|
288
315
|
type: z.nativeEnum(PortalType),
|
|
289
316
|
roleId: z.string(),
|
|
317
|
+
accountSettings: z.lazy(() => IAccountSettingZod).optional(),
|
|
290
318
|
});
|
|
291
319
|
// Regular user type extending base
|
|
292
320
|
export const AuthUserReq = BaseAuthReq.extend({
|
|
@@ -509,6 +537,7 @@ export var AssetType;
|
|
|
509
537
|
(function (AssetType) {
|
|
510
538
|
AssetType["BOND"] = "BOND";
|
|
511
539
|
AssetType["STOCK"] = "STOCK";
|
|
540
|
+
AssetType["PROMISSORY_NOTE"] = "PROMISSORY_NOTE";
|
|
512
541
|
})(AssetType || (AssetType = {}));
|
|
513
542
|
export var AdjustmentType;
|
|
514
543
|
(function (AdjustmentType) {
|
|
@@ -603,6 +632,7 @@ export var OfferingFileLabels;
|
|
|
603
632
|
OfferingFileLabels["MEMORANDUM"] = "MEMORANDUM";
|
|
604
633
|
OfferingFileLabels["SUBSCRIPTION_AGREEMENT"] = "SUBSCRIPTION_AGREEMENT";
|
|
605
634
|
OfferingFileLabels["COVER_ART"] = "COVER_ART";
|
|
635
|
+
OfferingFileLabels["ESCROW_AGREEMENT"] = "ESCROW_AGREEMENT";
|
|
606
636
|
})(OfferingFileLabels || (OfferingFileLabels = {}));
|
|
607
637
|
export var SiteBrandingFileLabels;
|
|
608
638
|
(function (SiteBrandingFileLabels) {
|
|
@@ -633,6 +663,8 @@ export var OtherFileLabels;
|
|
|
633
663
|
OtherFileLabels["OTHER"] = "OTHER";
|
|
634
664
|
OtherFileLabels["COMPLIANCE_REQUEST"] = "COMPLIANCE_REQUEST";
|
|
635
665
|
OtherFileLabels["SUB_DOC"] = "SUB_DOC";
|
|
666
|
+
OtherFileLabels["CONTENT_FILE"] = "CONTENT_FILE";
|
|
667
|
+
OtherFileLabels["CSV_EXPORT_FILE"] = "CSV_EXPORT_FILE";
|
|
636
668
|
})(OtherFileLabels || (OtherFileLabels = {}));
|
|
637
669
|
export const FileLabels = {
|
|
638
670
|
...AccreditationFileLabels,
|
|
@@ -794,6 +826,7 @@ export var EventName;
|
|
|
794
826
|
EventName["PENDING_OVERDUE_TRADES_ALERT"] = "pending_overdue.trades.alert";
|
|
795
827
|
EventName["IN_REVIEW_TRADES_ALERT"] = "trade.inreview.alert";
|
|
796
828
|
EventName["INDIVIDUAL_AML_STATUS_CHANGED"] = "individual.aml_status.changed";
|
|
829
|
+
EventName["ISSUER_CREATED"] = "issuer.created";
|
|
797
830
|
})(EventName || (EventName = {}));
|
|
798
831
|
// pending charged settled refunded cancelled
|
|
799
832
|
export var TransactionStatus;
|
|
@@ -944,6 +977,20 @@ export const TargetTableConfig = {
|
|
|
944
977
|
SIGNER_BRANDS: { table: 'signer_brands', idPrefix: 'signer_brand' },
|
|
945
978
|
THEMES: { table: 'themes', idPrefix: 'theme' },
|
|
946
979
|
THEME_SETTINGS: { table: 'theme_settings', idPrefix: 'theme_setting' },
|
|
980
|
+
CAP_TABLES: { table: 'cap_tables', idPrefix: 'cap_table' },
|
|
981
|
+
CAP_TABLE_SHARE_CLASSES: {
|
|
982
|
+
table: 'cap_table_share_classes',
|
|
983
|
+
idPrefix: 'cap_table_share_class',
|
|
984
|
+
},
|
|
985
|
+
CAP_TABLE_ENTRIES: {
|
|
986
|
+
table: 'cap_table_entries',
|
|
987
|
+
idPrefix: 'cap_table_entry',
|
|
988
|
+
},
|
|
989
|
+
EMAIL_THEMES: { table: 'email_themes', idPrefix: 'email_theme' },
|
|
990
|
+
EMAIL_THEME_SETTINGS: {
|
|
991
|
+
table: 'email_theme_settings',
|
|
992
|
+
idPrefix: 'email_theme_setting',
|
|
993
|
+
},
|
|
947
994
|
};
|
|
948
995
|
export const TargetTableEnum = Object.keys(TargetTableConfig);
|
|
949
996
|
/**
|