@dalmore/api-contracts 0.0.0-dev.ada6a86 → 0.0.0-dev.ade8992
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 +35 -25
- package/common/types/activity.types.js +13 -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 +326 -5
- package/common/types/common.types.js +54 -1
- 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 +323 -1
- package/common/types/offering.types.js +128 -11
- 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 +97 -59
- package/common/types/user.types.js +5 -1
- 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
|
@@ -59,8 +59,14 @@ export declare enum BaseStatus {
|
|
|
59
59
|
INACTIVE = "INACTIVE",
|
|
60
60
|
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
61
61
|
VOIDED = "VOIDED",
|
|
62
|
-
|
|
62
|
+
REFUND_INITIATED = "REFUND_INITIATED",
|
|
63
|
+
REFUND_COMPLETED = "REFUND_COMPLETED",
|
|
64
|
+
REFUND_FAILED = "REFUND_FAILED",
|
|
65
|
+
VOID_INITIATED = "VOID_INITIATED",
|
|
66
|
+
VOID_COMPLETED = "VOID_COMPLETED",
|
|
67
|
+
VOID_FAILED = "VOID_FAILED",
|
|
63
68
|
RESTORE = "RESTORE",
|
|
69
|
+
JOIN = "JOIN",
|
|
64
70
|
ACTIVE = "ACTIVE",
|
|
65
71
|
LOCKED = "LOCKED",
|
|
66
72
|
ENABLED = "ENABLED",
|
|
@@ -151,6 +157,56 @@ export declare enum PaymentMethodType {
|
|
|
151
157
|
CHECK = "CHECK",
|
|
152
158
|
RETIREMENT = "RETIREMENT"
|
|
153
159
|
}
|
|
160
|
+
export declare const accountSettingIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
161
|
+
export type accountSettingIdSchema = z.infer<typeof accountSettingIdSchema>;
|
|
162
|
+
export declare const IAccountSettingZod: z.ZodObject<{
|
|
163
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
164
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
165
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
166
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
167
|
+
} & {
|
|
168
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
169
|
+
accountId: z.ZodString;
|
|
170
|
+
offeringSetup: z.ZodBoolean;
|
|
171
|
+
investorPortalSetup: z.ZodBoolean;
|
|
172
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
173
|
+
accountContactsSetup: z.ZodBoolean;
|
|
174
|
+
productPrimaries: z.ZodBoolean;
|
|
175
|
+
productSecondaries: z.ZodBoolean;
|
|
176
|
+
featureDisbursements: z.ZodBoolean;
|
|
177
|
+
apiPortal: z.ZodBoolean;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
id: string;
|
|
180
|
+
createdAt: string | Date;
|
|
181
|
+
updatedAt: string | Date;
|
|
182
|
+
deletedAt: string | Date | null;
|
|
183
|
+
accountId: string;
|
|
184
|
+
offeringSetup: boolean;
|
|
185
|
+
investorPortalSetup: boolean;
|
|
186
|
+
paymentMethodSetup: boolean;
|
|
187
|
+
accountContactsSetup: boolean;
|
|
188
|
+
productPrimaries: boolean;
|
|
189
|
+
productSecondaries: boolean;
|
|
190
|
+
featureDisbursements: boolean;
|
|
191
|
+
apiPortal: boolean;
|
|
192
|
+
__entity?: string | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
id: string;
|
|
195
|
+
createdAt: string | Date;
|
|
196
|
+
updatedAt: string | Date;
|
|
197
|
+
deletedAt: string | Date | null;
|
|
198
|
+
accountId: string;
|
|
199
|
+
offeringSetup: boolean;
|
|
200
|
+
investorPortalSetup: boolean;
|
|
201
|
+
paymentMethodSetup: boolean;
|
|
202
|
+
accountContactsSetup: boolean;
|
|
203
|
+
productPrimaries: boolean;
|
|
204
|
+
productSecondaries: boolean;
|
|
205
|
+
featureDisbursements: boolean;
|
|
206
|
+
apiPortal: boolean;
|
|
207
|
+
__entity?: string | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
export type IAccountSettingZod = z.infer<typeof IAccountSettingZod>;
|
|
154
210
|
export declare const AccountZod: z.ZodObject<{
|
|
155
211
|
id: z.ZodString;
|
|
156
212
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -302,6 +358,53 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
302
358
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
303
359
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
304
360
|
roleId: z.ZodString;
|
|
361
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
362
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
363
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
364
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
365
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
366
|
+
} & {
|
|
367
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
368
|
+
accountId: z.ZodString;
|
|
369
|
+
offeringSetup: z.ZodBoolean;
|
|
370
|
+
investorPortalSetup: z.ZodBoolean;
|
|
371
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
372
|
+
accountContactsSetup: z.ZodBoolean;
|
|
373
|
+
productPrimaries: z.ZodBoolean;
|
|
374
|
+
productSecondaries: z.ZodBoolean;
|
|
375
|
+
featureDisbursements: z.ZodBoolean;
|
|
376
|
+
apiPortal: z.ZodBoolean;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
id: string;
|
|
379
|
+
createdAt: string | Date;
|
|
380
|
+
updatedAt: string | Date;
|
|
381
|
+
deletedAt: string | Date | null;
|
|
382
|
+
accountId: string;
|
|
383
|
+
offeringSetup: boolean;
|
|
384
|
+
investorPortalSetup: boolean;
|
|
385
|
+
paymentMethodSetup: boolean;
|
|
386
|
+
accountContactsSetup: boolean;
|
|
387
|
+
productPrimaries: boolean;
|
|
388
|
+
productSecondaries: boolean;
|
|
389
|
+
featureDisbursements: boolean;
|
|
390
|
+
apiPortal: boolean;
|
|
391
|
+
__entity?: string | undefined;
|
|
392
|
+
}, {
|
|
393
|
+
id: string;
|
|
394
|
+
createdAt: string | Date;
|
|
395
|
+
updatedAt: string | Date;
|
|
396
|
+
deletedAt: string | Date | null;
|
|
397
|
+
accountId: string;
|
|
398
|
+
offeringSetup: boolean;
|
|
399
|
+
investorPortalSetup: boolean;
|
|
400
|
+
paymentMethodSetup: boolean;
|
|
401
|
+
accountContactsSetup: boolean;
|
|
402
|
+
productPrimaries: boolean;
|
|
403
|
+
productSecondaries: boolean;
|
|
404
|
+
featureDisbursements: boolean;
|
|
405
|
+
apiPortal: boolean;
|
|
406
|
+
__entity?: string | undefined;
|
|
407
|
+
}>>>;
|
|
305
408
|
}, "strip", z.ZodTypeAny, {
|
|
306
409
|
type: PortalType;
|
|
307
410
|
id: string;
|
|
@@ -310,6 +413,22 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
310
413
|
isInactiveAccount: boolean;
|
|
311
414
|
role: UserRole;
|
|
312
415
|
roleId: string;
|
|
416
|
+
accountSettings?: {
|
|
417
|
+
id: string;
|
|
418
|
+
createdAt: string | Date;
|
|
419
|
+
updatedAt: string | Date;
|
|
420
|
+
deletedAt: string | Date | null;
|
|
421
|
+
accountId: string;
|
|
422
|
+
offeringSetup: boolean;
|
|
423
|
+
investorPortalSetup: boolean;
|
|
424
|
+
paymentMethodSetup: boolean;
|
|
425
|
+
accountContactsSetup: boolean;
|
|
426
|
+
productPrimaries: boolean;
|
|
427
|
+
productSecondaries: boolean;
|
|
428
|
+
featureDisbursements: boolean;
|
|
429
|
+
apiPortal: boolean;
|
|
430
|
+
__entity?: string | undefined;
|
|
431
|
+
} | undefined;
|
|
313
432
|
}, {
|
|
314
433
|
type: PortalType;
|
|
315
434
|
id: string;
|
|
@@ -318,6 +437,22 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
318
437
|
isInactiveAccount: boolean;
|
|
319
438
|
role: UserRole;
|
|
320
439
|
roleId: string;
|
|
440
|
+
accountSettings?: {
|
|
441
|
+
id: string;
|
|
442
|
+
createdAt: string | Date;
|
|
443
|
+
updatedAt: string | Date;
|
|
444
|
+
deletedAt: string | Date | null;
|
|
445
|
+
accountId: string;
|
|
446
|
+
offeringSetup: boolean;
|
|
447
|
+
investorPortalSetup: boolean;
|
|
448
|
+
paymentMethodSetup: boolean;
|
|
449
|
+
accountContactsSetup: boolean;
|
|
450
|
+
productPrimaries: boolean;
|
|
451
|
+
productSecondaries: boolean;
|
|
452
|
+
featureDisbursements: boolean;
|
|
453
|
+
apiPortal: boolean;
|
|
454
|
+
__entity?: string | undefined;
|
|
455
|
+
} | undefined;
|
|
321
456
|
}>;
|
|
322
457
|
export declare const AuthUserReq: z.ZodObject<{
|
|
323
458
|
id: z.ZodString;
|
|
@@ -327,6 +462,53 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
327
462
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
328
463
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
329
464
|
roleId: z.ZodString;
|
|
465
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
466
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
467
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
468
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
469
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
470
|
+
} & {
|
|
471
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
472
|
+
accountId: z.ZodString;
|
|
473
|
+
offeringSetup: z.ZodBoolean;
|
|
474
|
+
investorPortalSetup: z.ZodBoolean;
|
|
475
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
476
|
+
accountContactsSetup: z.ZodBoolean;
|
|
477
|
+
productPrimaries: z.ZodBoolean;
|
|
478
|
+
productSecondaries: z.ZodBoolean;
|
|
479
|
+
featureDisbursements: z.ZodBoolean;
|
|
480
|
+
apiPortal: z.ZodBoolean;
|
|
481
|
+
}, "strip", z.ZodTypeAny, {
|
|
482
|
+
id: string;
|
|
483
|
+
createdAt: string | Date;
|
|
484
|
+
updatedAt: string | Date;
|
|
485
|
+
deletedAt: string | Date | null;
|
|
486
|
+
accountId: string;
|
|
487
|
+
offeringSetup: boolean;
|
|
488
|
+
investorPortalSetup: boolean;
|
|
489
|
+
paymentMethodSetup: boolean;
|
|
490
|
+
accountContactsSetup: boolean;
|
|
491
|
+
productPrimaries: boolean;
|
|
492
|
+
productSecondaries: boolean;
|
|
493
|
+
featureDisbursements: boolean;
|
|
494
|
+
apiPortal: boolean;
|
|
495
|
+
__entity?: string | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
id: string;
|
|
498
|
+
createdAt: string | Date;
|
|
499
|
+
updatedAt: string | Date;
|
|
500
|
+
deletedAt: string | Date | null;
|
|
501
|
+
accountId: string;
|
|
502
|
+
offeringSetup: boolean;
|
|
503
|
+
investorPortalSetup: boolean;
|
|
504
|
+
paymentMethodSetup: boolean;
|
|
505
|
+
accountContactsSetup: boolean;
|
|
506
|
+
productPrimaries: boolean;
|
|
507
|
+
productSecondaries: boolean;
|
|
508
|
+
featureDisbursements: boolean;
|
|
509
|
+
apiPortal: boolean;
|
|
510
|
+
__entity?: string | undefined;
|
|
511
|
+
}>>>;
|
|
330
512
|
} & {
|
|
331
513
|
userLoginId: z.ZodString;
|
|
332
514
|
firstName: z.ZodString;
|
|
@@ -360,6 +542,22 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
360
542
|
locked: boolean;
|
|
361
543
|
accountStatus: AccountStatus;
|
|
362
544
|
managedBy?: ManagedByType | undefined;
|
|
545
|
+
accountSettings?: {
|
|
546
|
+
id: string;
|
|
547
|
+
createdAt: string | Date;
|
|
548
|
+
updatedAt: string | Date;
|
|
549
|
+
deletedAt: string | Date | null;
|
|
550
|
+
accountId: string;
|
|
551
|
+
offeringSetup: boolean;
|
|
552
|
+
investorPortalSetup: boolean;
|
|
553
|
+
paymentMethodSetup: boolean;
|
|
554
|
+
accountContactsSetup: boolean;
|
|
555
|
+
productPrimaries: boolean;
|
|
556
|
+
productSecondaries: boolean;
|
|
557
|
+
featureDisbursements: boolean;
|
|
558
|
+
apiPortal: boolean;
|
|
559
|
+
__entity?: string | undefined;
|
|
560
|
+
} | undefined;
|
|
363
561
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
364
562
|
twoFactorEnabled?: boolean | undefined;
|
|
365
563
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -382,6 +580,22 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
382
580
|
locked: boolean;
|
|
383
581
|
accountStatus: AccountStatus;
|
|
384
582
|
managedBy?: ManagedByType | undefined;
|
|
583
|
+
accountSettings?: {
|
|
584
|
+
id: string;
|
|
585
|
+
createdAt: string | Date;
|
|
586
|
+
updatedAt: string | Date;
|
|
587
|
+
deletedAt: string | Date | null;
|
|
588
|
+
accountId: string;
|
|
589
|
+
offeringSetup: boolean;
|
|
590
|
+
investorPortalSetup: boolean;
|
|
591
|
+
paymentMethodSetup: boolean;
|
|
592
|
+
accountContactsSetup: boolean;
|
|
593
|
+
productPrimaries: boolean;
|
|
594
|
+
productSecondaries: boolean;
|
|
595
|
+
featureDisbursements: boolean;
|
|
596
|
+
apiPortal: boolean;
|
|
597
|
+
__entity?: string | undefined;
|
|
598
|
+
} | undefined;
|
|
385
599
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
386
600
|
twoFactorEnabled?: boolean | undefined;
|
|
387
601
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -395,6 +609,53 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
395
609
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
396
610
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
397
611
|
roleId: z.ZodString;
|
|
612
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
613
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
614
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
615
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
616
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
617
|
+
} & {
|
|
618
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
619
|
+
accountId: z.ZodString;
|
|
620
|
+
offeringSetup: z.ZodBoolean;
|
|
621
|
+
investorPortalSetup: z.ZodBoolean;
|
|
622
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
623
|
+
accountContactsSetup: z.ZodBoolean;
|
|
624
|
+
productPrimaries: z.ZodBoolean;
|
|
625
|
+
productSecondaries: z.ZodBoolean;
|
|
626
|
+
featureDisbursements: z.ZodBoolean;
|
|
627
|
+
apiPortal: z.ZodBoolean;
|
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
|
629
|
+
id: string;
|
|
630
|
+
createdAt: string | Date;
|
|
631
|
+
updatedAt: string | Date;
|
|
632
|
+
deletedAt: string | Date | null;
|
|
633
|
+
accountId: string;
|
|
634
|
+
offeringSetup: boolean;
|
|
635
|
+
investorPortalSetup: boolean;
|
|
636
|
+
paymentMethodSetup: boolean;
|
|
637
|
+
accountContactsSetup: boolean;
|
|
638
|
+
productPrimaries: boolean;
|
|
639
|
+
productSecondaries: boolean;
|
|
640
|
+
featureDisbursements: boolean;
|
|
641
|
+
apiPortal: boolean;
|
|
642
|
+
__entity?: string | undefined;
|
|
643
|
+
}, {
|
|
644
|
+
id: string;
|
|
645
|
+
createdAt: string | Date;
|
|
646
|
+
updatedAt: string | Date;
|
|
647
|
+
deletedAt: string | Date | null;
|
|
648
|
+
accountId: string;
|
|
649
|
+
offeringSetup: boolean;
|
|
650
|
+
investorPortalSetup: boolean;
|
|
651
|
+
paymentMethodSetup: boolean;
|
|
652
|
+
accountContactsSetup: boolean;
|
|
653
|
+
productPrimaries: boolean;
|
|
654
|
+
productSecondaries: boolean;
|
|
655
|
+
featureDisbursements: boolean;
|
|
656
|
+
apiPortal: boolean;
|
|
657
|
+
__entity?: string | undefined;
|
|
658
|
+
}>>>;
|
|
398
659
|
} & {
|
|
399
660
|
name: z.ZodString;
|
|
400
661
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -410,6 +671,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
410
671
|
roleId: string;
|
|
411
672
|
description: string | null;
|
|
412
673
|
lastUsedAt: Date | null;
|
|
674
|
+
accountSettings?: {
|
|
675
|
+
id: string;
|
|
676
|
+
createdAt: string | Date;
|
|
677
|
+
updatedAt: string | Date;
|
|
678
|
+
deletedAt: string | Date | null;
|
|
679
|
+
accountId: string;
|
|
680
|
+
offeringSetup: boolean;
|
|
681
|
+
investorPortalSetup: boolean;
|
|
682
|
+
paymentMethodSetup: boolean;
|
|
683
|
+
accountContactsSetup: boolean;
|
|
684
|
+
productPrimaries: boolean;
|
|
685
|
+
productSecondaries: boolean;
|
|
686
|
+
featureDisbursements: boolean;
|
|
687
|
+
apiPortal: boolean;
|
|
688
|
+
__entity?: string | undefined;
|
|
689
|
+
} | undefined;
|
|
413
690
|
}, {
|
|
414
691
|
type: PortalType;
|
|
415
692
|
id: string;
|
|
@@ -421,6 +698,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
421
698
|
roleId: string;
|
|
422
699
|
description: string | null;
|
|
423
700
|
lastUsedAt: Date | null;
|
|
701
|
+
accountSettings?: {
|
|
702
|
+
id: string;
|
|
703
|
+
createdAt: string | Date;
|
|
704
|
+
updatedAt: string | Date;
|
|
705
|
+
deletedAt: string | Date | null;
|
|
706
|
+
accountId: string;
|
|
707
|
+
offeringSetup: boolean;
|
|
708
|
+
investorPortalSetup: boolean;
|
|
709
|
+
paymentMethodSetup: boolean;
|
|
710
|
+
accountContactsSetup: boolean;
|
|
711
|
+
productPrimaries: boolean;
|
|
712
|
+
productSecondaries: boolean;
|
|
713
|
+
featureDisbursements: boolean;
|
|
714
|
+
apiPortal: boolean;
|
|
715
|
+
__entity?: string | undefined;
|
|
716
|
+
} | undefined;
|
|
424
717
|
}>;
|
|
425
718
|
export type BaseAuthReq = z.infer<typeof BaseAuthReq>;
|
|
426
719
|
export type AuthUserReq = z.infer<typeof AuthUserReq>;
|
|
@@ -720,7 +1013,8 @@ export declare enum OfferingType {
|
|
|
720
1013
|
}
|
|
721
1014
|
export declare enum AssetType {
|
|
722
1015
|
BOND = "BOND",
|
|
723
|
-
STOCK = "STOCK"
|
|
1016
|
+
STOCK = "STOCK",
|
|
1017
|
+
PROMISSORY_NOTE = "PROMISSORY_NOTE"
|
|
724
1018
|
}
|
|
725
1019
|
export declare enum AdjustmentType {
|
|
726
1020
|
CREDIT_CARD_FEES = "CREDIT_CARD_FEES",
|
|
@@ -801,7 +1095,8 @@ export declare enum IssuerFileLabels {
|
|
|
801
1095
|
export declare enum OfferingFileLabels {
|
|
802
1096
|
MEMORANDUM = "MEMORANDUM",
|
|
803
1097
|
SUBSCRIPTION_AGREEMENT = "SUBSCRIPTION_AGREEMENT",
|
|
804
|
-
COVER_ART = "COVER_ART"
|
|
1098
|
+
COVER_ART = "COVER_ART",
|
|
1099
|
+
ESCROW_AGREEMENT = "ESCROW_AGREEMENT"
|
|
805
1100
|
}
|
|
806
1101
|
export declare enum SiteBrandingFileLabels {
|
|
807
1102
|
LOGO = "LOGO",
|
|
@@ -826,7 +1121,9 @@ export declare enum AccreditationFileLabels {
|
|
|
826
1121
|
export declare enum OtherFileLabels {
|
|
827
1122
|
OTHER = "OTHER",
|
|
828
1123
|
COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST",
|
|
829
|
-
SUB_DOC = "SUB_DOC"
|
|
1124
|
+
SUB_DOC = "SUB_DOC",
|
|
1125
|
+
CONTENT_FILE = "CONTENT_FILE",
|
|
1126
|
+
CSV_EXPORT_FILE = "CSV_EXPORT_FILE"
|
|
830
1127
|
}
|
|
831
1128
|
export declare const FileLabels: {
|
|
832
1129
|
readonly TRADE_DOCUMENT: TradeFileLables.TRADE_DOCUMENT;
|
|
@@ -838,6 +1135,7 @@ export declare const FileLabels: {
|
|
|
838
1135
|
readonly COVER_ART: IssuerFileLabels.COVER_ART;
|
|
839
1136
|
readonly MEMORANDUM: OfferingFileLabels.MEMORANDUM;
|
|
840
1137
|
readonly SUBSCRIPTION_AGREEMENT: OfferingFileLabels.SUBSCRIPTION_AGREEMENT;
|
|
1138
|
+
readonly ESCROW_AGREEMENT: OfferingFileLabels.ESCROW_AGREEMENT;
|
|
841
1139
|
readonly LOGO: SiteBrandingFileLabels.LOGO;
|
|
842
1140
|
readonly FAVICON: SiteBrandingFileLabels.FAVICON;
|
|
843
1141
|
readonly BACKGROUND_IMAGE: SiteBrandingFileLabels.BACKGROUND_IMAGE;
|
|
@@ -845,6 +1143,8 @@ export declare const FileLabels: {
|
|
|
845
1143
|
readonly OTHER: OtherFileLabels.OTHER;
|
|
846
1144
|
readonly COMPLIANCE_REQUEST: OtherFileLabels.COMPLIANCE_REQUEST;
|
|
847
1145
|
readonly SUB_DOC: OtherFileLabels.SUB_DOC;
|
|
1146
|
+
readonly CONTENT_FILE: OtherFileLabels.CONTENT_FILE;
|
|
1147
|
+
readonly CSV_EXPORT_FILE: OtherFileLabels.CSV_EXPORT_FILE;
|
|
848
1148
|
readonly BAD_ACTOR_REPORT_FILE: CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
|
|
849
1149
|
readonly PROOF_OF_INCOME: AccreditationFileLabels.PROOF_OF_INCOME;
|
|
850
1150
|
readonly PROOF_OF_NET_WORTH: AccreditationFileLabels.PROOF_OF_NET_WORTH;
|
|
@@ -986,7 +1286,8 @@ export declare enum EventName {
|
|
|
986
1286
|
ACTION_PERFORMED = "action.performed",
|
|
987
1287
|
PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
|
|
988
1288
|
IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
|
|
989
|
-
INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed"
|
|
1289
|
+
INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
|
|
1290
|
+
ISSUER_CREATED = "issuer.created"
|
|
990
1291
|
}
|
|
991
1292
|
export declare enum TransactionStatus {
|
|
992
1293
|
PENDING = "PENDING",
|
|
@@ -1159,6 +1460,26 @@ export declare const TargetTableConfig: {
|
|
|
1159
1460
|
readonly table: "theme_settings";
|
|
1160
1461
|
readonly idPrefix: "theme_setting";
|
|
1161
1462
|
};
|
|
1463
|
+
readonly CAP_TABLES: {
|
|
1464
|
+
readonly table: "cap_tables";
|
|
1465
|
+
readonly idPrefix: "cap_table";
|
|
1466
|
+
};
|
|
1467
|
+
readonly CAP_TABLE_SHARE_CLASSES: {
|
|
1468
|
+
readonly table: "cap_table_share_classes";
|
|
1469
|
+
readonly idPrefix: "cap_table_share_class";
|
|
1470
|
+
};
|
|
1471
|
+
readonly CAP_TABLE_ENTRIES: {
|
|
1472
|
+
readonly table: "cap_table_entries";
|
|
1473
|
+
readonly idPrefix: "cap_table_entry";
|
|
1474
|
+
};
|
|
1475
|
+
readonly EMAIL_THEMES: {
|
|
1476
|
+
readonly table: "email_themes";
|
|
1477
|
+
readonly idPrefix: "email_theme";
|
|
1478
|
+
};
|
|
1479
|
+
readonly EMAIL_THEME_SETTINGS: {
|
|
1480
|
+
readonly table: "email_theme_settings";
|
|
1481
|
+
readonly idPrefix: "email_theme_setting";
|
|
1482
|
+
};
|
|
1162
1483
|
};
|
|
1163
1484
|
export type TargetTableType = keyof typeof TargetTableConfig;
|
|
1164
1485
|
export declare const TargetTableEnum: [TargetTableType, ...TargetTableType[]];
|
|
@@ -65,8 +65,14 @@ export var BaseStatus;
|
|
|
65
65
|
BaseStatus["INACTIVE"] = "INACTIVE";
|
|
66
66
|
BaseStatus["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
67
67
|
BaseStatus["VOIDED"] = "VOIDED";
|
|
68
|
-
BaseStatus["
|
|
68
|
+
BaseStatus["REFUND_INITIATED"] = "REFUND_INITIATED";
|
|
69
|
+
BaseStatus["REFUND_COMPLETED"] = "REFUND_COMPLETED";
|
|
70
|
+
BaseStatus["REFUND_FAILED"] = "REFUND_FAILED";
|
|
71
|
+
BaseStatus["VOID_INITIATED"] = "VOID_INITIATED";
|
|
72
|
+
BaseStatus["VOID_COMPLETED"] = "VOID_COMPLETED";
|
|
73
|
+
BaseStatus["VOID_FAILED"] = "VOID_FAILED";
|
|
69
74
|
BaseStatus["RESTORE"] = "RESTORE";
|
|
75
|
+
BaseStatus["JOIN"] = "JOIN";
|
|
70
76
|
BaseStatus["ACTIVE"] = "ACTIVE";
|
|
71
77
|
BaseStatus["LOCKED"] = "LOCKED";
|
|
72
78
|
BaseStatus["ENABLED"] = "ENABLED";
|
|
@@ -153,6 +159,33 @@ export var PaymentMethodType;
|
|
|
153
159
|
PaymentMethodType["CHECK"] = "CHECK";
|
|
154
160
|
PaymentMethodType["RETIREMENT"] = "RETIREMENT";
|
|
155
161
|
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
162
|
+
export const accountSettingIdSchema = z.string().refine((value) => {
|
|
163
|
+
try {
|
|
164
|
+
const tid = TypeID.fromString(value);
|
|
165
|
+
return tid.getType() === 'account_setting';
|
|
166
|
+
}
|
|
167
|
+
catch {
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
}, {
|
|
171
|
+
message: 'Invalid account setting ID format. Must be a valid TypeID with "account_setting" prefix.',
|
|
172
|
+
});
|
|
173
|
+
export const IAccountSettingZod = IBaseEntity.extend({
|
|
174
|
+
id: accountSettingIdSchema.openapi({
|
|
175
|
+
example: 'account_setting_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
176
|
+
}),
|
|
177
|
+
accountId: z.string().openapi({
|
|
178
|
+
example: 'account_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
179
|
+
}),
|
|
180
|
+
offeringSetup: z.boolean().openapi({ example: false }),
|
|
181
|
+
investorPortalSetup: z.boolean().openapi({ example: false }),
|
|
182
|
+
paymentMethodSetup: z.boolean().openapi({ example: false }),
|
|
183
|
+
accountContactsSetup: z.boolean().openapi({ example: false }),
|
|
184
|
+
productPrimaries: z.boolean().openapi({ example: true }),
|
|
185
|
+
productSecondaries: z.boolean().openapi({ example: false }),
|
|
186
|
+
featureDisbursements: z.boolean().openapi({ example: true }),
|
|
187
|
+
apiPortal: z.boolean().openapi({ example: false }),
|
|
188
|
+
});
|
|
156
189
|
export const AccountZod = IBaseEntity.extend({
|
|
157
190
|
name: z.string().openapi({ example: 'Dalmore' }),
|
|
158
191
|
status: z.nativeEnum(AccountStatus).openapi({ example: AccountStatus.LIVE }),
|
|
@@ -287,6 +320,7 @@ export const BaseAuthReq = z.object({
|
|
|
287
320
|
role: z.nativeEnum(UserRole),
|
|
288
321
|
type: z.nativeEnum(PortalType),
|
|
289
322
|
roleId: z.string(),
|
|
323
|
+
accountSettings: z.lazy(() => IAccountSettingZod).optional(),
|
|
290
324
|
});
|
|
291
325
|
// Regular user type extending base
|
|
292
326
|
export const AuthUserReq = BaseAuthReq.extend({
|
|
@@ -509,6 +543,7 @@ export var AssetType;
|
|
|
509
543
|
(function (AssetType) {
|
|
510
544
|
AssetType["BOND"] = "BOND";
|
|
511
545
|
AssetType["STOCK"] = "STOCK";
|
|
546
|
+
AssetType["PROMISSORY_NOTE"] = "PROMISSORY_NOTE";
|
|
512
547
|
})(AssetType || (AssetType = {}));
|
|
513
548
|
export var AdjustmentType;
|
|
514
549
|
(function (AdjustmentType) {
|
|
@@ -603,6 +638,7 @@ export var OfferingFileLabels;
|
|
|
603
638
|
OfferingFileLabels["MEMORANDUM"] = "MEMORANDUM";
|
|
604
639
|
OfferingFileLabels["SUBSCRIPTION_AGREEMENT"] = "SUBSCRIPTION_AGREEMENT";
|
|
605
640
|
OfferingFileLabels["COVER_ART"] = "COVER_ART";
|
|
641
|
+
OfferingFileLabels["ESCROW_AGREEMENT"] = "ESCROW_AGREEMENT";
|
|
606
642
|
})(OfferingFileLabels || (OfferingFileLabels = {}));
|
|
607
643
|
export var SiteBrandingFileLabels;
|
|
608
644
|
(function (SiteBrandingFileLabels) {
|
|
@@ -633,6 +669,8 @@ export var OtherFileLabels;
|
|
|
633
669
|
OtherFileLabels["OTHER"] = "OTHER";
|
|
634
670
|
OtherFileLabels["COMPLIANCE_REQUEST"] = "COMPLIANCE_REQUEST";
|
|
635
671
|
OtherFileLabels["SUB_DOC"] = "SUB_DOC";
|
|
672
|
+
OtherFileLabels["CONTENT_FILE"] = "CONTENT_FILE";
|
|
673
|
+
OtherFileLabels["CSV_EXPORT_FILE"] = "CSV_EXPORT_FILE";
|
|
636
674
|
})(OtherFileLabels || (OtherFileLabels = {}));
|
|
637
675
|
export const FileLabels = {
|
|
638
676
|
...AccreditationFileLabels,
|
|
@@ -794,6 +832,7 @@ export var EventName;
|
|
|
794
832
|
EventName["PENDING_OVERDUE_TRADES_ALERT"] = "pending_overdue.trades.alert";
|
|
795
833
|
EventName["IN_REVIEW_TRADES_ALERT"] = "trade.inreview.alert";
|
|
796
834
|
EventName["INDIVIDUAL_AML_STATUS_CHANGED"] = "individual.aml_status.changed";
|
|
835
|
+
EventName["ISSUER_CREATED"] = "issuer.created";
|
|
797
836
|
})(EventName || (EventName = {}));
|
|
798
837
|
// pending charged settled refunded cancelled
|
|
799
838
|
export var TransactionStatus;
|
|
@@ -944,6 +983,20 @@ export const TargetTableConfig = {
|
|
|
944
983
|
SIGNER_BRANDS: { table: 'signer_brands', idPrefix: 'signer_brand' },
|
|
945
984
|
THEMES: { table: 'themes', idPrefix: 'theme' },
|
|
946
985
|
THEME_SETTINGS: { table: 'theme_settings', idPrefix: 'theme_setting' },
|
|
986
|
+
CAP_TABLES: { table: 'cap_tables', idPrefix: 'cap_table' },
|
|
987
|
+
CAP_TABLE_SHARE_CLASSES: {
|
|
988
|
+
table: 'cap_table_share_classes',
|
|
989
|
+
idPrefix: 'cap_table_share_class',
|
|
990
|
+
},
|
|
991
|
+
CAP_TABLE_ENTRIES: {
|
|
992
|
+
table: 'cap_table_entries',
|
|
993
|
+
idPrefix: 'cap_table_entry',
|
|
994
|
+
},
|
|
995
|
+
EMAIL_THEMES: { table: 'email_themes', idPrefix: 'email_theme' },
|
|
996
|
+
EMAIL_THEME_SETTINGS: {
|
|
997
|
+
table: 'email_theme_settings',
|
|
998
|
+
idPrefix: 'email_theme_setting',
|
|
999
|
+
},
|
|
947
1000
|
};
|
|
948
1001
|
export const TargetTableEnum = Object.keys(TargetTableConfig);
|
|
949
1002
|
/**
|