@dalmore/api-contracts 0.0.0-dev.b823e2b → 0.0.0-dev.bcc2eb2
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/constants.d.ts +43 -0
- package/common/constants.js +77 -0
- package/common/constants.js.map +1 -0
- package/common/helpers/index.d.ts +27 -0
- package/common/helpers/index.js +43 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account-setting.types.d.ts +22 -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 +4 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +8 -1
- package/common/types/activity.types.js +7 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +147 -0
- package/common/types/attribution.types.js +103 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/auth.types.d.ts +36 -0
- package/common/types/auth.types.js +3 -2
- package/common/types/auth.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +162 -53
- package/common/types/cap-table.types.js +14 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +344 -7
- package/common/types/common.types.js +66 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +12 -12
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/disbursement-transaction.types.d.ts +1 -1
- package/common/types/disbursement-transaction.types.js +1 -1
- package/common/types/disbursement-transaction.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +939 -7
- package/common/types/disbursements.types.js +92 -2
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +23 -0
- package/common/types/file.types.js +12 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +4 -2
- package/common/types/index.js +4 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +395 -5
- package/common/types/individuals.types.js +11 -14
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +1 -1
- package/common/types/investor-account.types.js +3 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/investors-offering.types.d.ts +8 -0
- package/common/types/investors-offering.types.js +1 -0
- package/common/types/investors-offering.types.js.map +1 -1
- package/common/types/invite.types.d.ts +5 -2
- package/common/types/invite.types.js +2 -1
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +346 -12
- package/common/types/issuer-offering.types.js +209 -42
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +4 -4
- package/common/types/notification.types.d.ts +1 -0
- package/common/types/notification.types.js +3 -0
- package/common/types/notification.types.js.map +1 -1
- package/common/types/offering-submission.types.js +1 -1
- package/common/types/offering.types.d.ts +269 -25
- package/common/types/offering.types.js +251 -23
- package/common/types/offering.types.js.map +1 -1
- package/common/types/payment-methods.types.d.ts +365 -0
- package/common/types/payment-methods.types.js +121 -0
- package/common/types/payment-methods.types.js.map +1 -1
- package/common/types/portfolio.types.d.ts +6 -6
- package/common/types/review.types.js +1 -1
- package/common/types/review.types.js.map +1 -1
- package/common/types/secondary-order.types.d.ts +10 -10
- package/common/types/secondary-trade.types.d.ts +10 -10
- package/common/types/site.types.d.ts +12 -12
- package/common/types/state-machine.types.d.ts +3 -3
- package/common/types/state-machine.types.js +1 -1
- package/common/types/state-machine.types.js.map +1 -1
- package/common/types/task.types.d.ts +8 -0
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +24 -0
- package/common/types/trade-line-item.types.js +3 -0
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +20 -14
- package/common/types/trade.types.js +18 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +24 -2
- package/common/types/transaction.types.js +26 -1
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +79 -82
- package/common/types/user.types.js +7 -23
- package/common/types/user.types.js.map +1 -1
- package/common/types/zapier.types.d.ts +126 -0
- package/common/types/zapier.types.js +247 -0
- package/common/types/zapier.types.js.map +1 -0
- package/contracts/clients/csv/index.d.ts +1988 -0
- package/contracts/clients/csv/index.js +96 -0
- package/contracts/clients/csv/index.js.map +1 -0
- package/contracts/clients/index.d.ts +4019 -1061
- package/contracts/clients/index.js +8 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +381 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +90 -5
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/contracts/clients/webhooks/index.d.ts +506 -0
- package/contracts/clients/webhooks/index.js +118 -0
- package/contracts/clients/webhooks/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -59,12 +59,22 @@ 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",
|
|
67
|
-
DISABLED = "DISABLED"
|
|
73
|
+
DISABLED = "DISABLED",
|
|
74
|
+
PROCESSING_VOID = "PROCESSING_VOID",
|
|
75
|
+
PROCESSING_REFUND = "PROCESSING_REFUND",
|
|
76
|
+
PAUSED = "PAUSED",
|
|
77
|
+
CLOSED = "CLOSED"
|
|
68
78
|
}
|
|
69
79
|
export declare const UserWithoutPasswordAccountZod: z.ZodObject<{
|
|
70
80
|
id: z.ZodString;
|
|
@@ -118,9 +128,13 @@ export declare enum ManagedByType {
|
|
|
118
128
|
DALMORE = "DALMORE",
|
|
119
129
|
ISSUER = "ISSUER"
|
|
120
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Unified platform enum used across accounts and trades
|
|
133
|
+
* Values: DALMORE, IMPORT
|
|
134
|
+
*/
|
|
121
135
|
export declare enum Platform {
|
|
122
136
|
DALMORE = "DALMORE",
|
|
123
|
-
|
|
137
|
+
IMPORT = "IMPORT"
|
|
124
138
|
}
|
|
125
139
|
export declare enum HttpMethod {
|
|
126
140
|
GET = "GET",
|
|
@@ -151,6 +165,59 @@ export declare enum PaymentMethodType {
|
|
|
151
165
|
CHECK = "CHECK",
|
|
152
166
|
RETIREMENT = "RETIREMENT"
|
|
153
167
|
}
|
|
168
|
+
export declare const accountSettingIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
169
|
+
export type accountSettingIdSchema = z.infer<typeof accountSettingIdSchema>;
|
|
170
|
+
export declare const IAccountSettingZod: z.ZodObject<{
|
|
171
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
172
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
173
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
174
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
175
|
+
} & {
|
|
176
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
177
|
+
accountId: z.ZodString;
|
|
178
|
+
offeringSetup: z.ZodBoolean;
|
|
179
|
+
investorPortalSetup: z.ZodBoolean;
|
|
180
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
181
|
+
accountContactsSetup: z.ZodBoolean;
|
|
182
|
+
productPrimaries: z.ZodBoolean;
|
|
183
|
+
productSecondaries: z.ZodBoolean;
|
|
184
|
+
featureDisbursements: z.ZodBoolean;
|
|
185
|
+
apiPortal: z.ZodBoolean;
|
|
186
|
+
investorSiteEnabled: z.ZodBoolean;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
investorSiteEnabled: boolean;
|
|
202
|
+
__entity?: string | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
id: string;
|
|
205
|
+
createdAt: string | Date;
|
|
206
|
+
updatedAt: string | Date;
|
|
207
|
+
deletedAt: string | Date | null;
|
|
208
|
+
accountId: string;
|
|
209
|
+
offeringSetup: boolean;
|
|
210
|
+
investorPortalSetup: boolean;
|
|
211
|
+
paymentMethodSetup: boolean;
|
|
212
|
+
accountContactsSetup: boolean;
|
|
213
|
+
productPrimaries: boolean;
|
|
214
|
+
productSecondaries: boolean;
|
|
215
|
+
featureDisbursements: boolean;
|
|
216
|
+
apiPortal: boolean;
|
|
217
|
+
investorSiteEnabled: boolean;
|
|
218
|
+
__entity?: string | undefined;
|
|
219
|
+
}>;
|
|
220
|
+
export type IAccountSettingZod = z.infer<typeof IAccountSettingZod>;
|
|
154
221
|
export declare const AccountZod: z.ZodObject<{
|
|
155
222
|
id: z.ZodString;
|
|
156
223
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -302,6 +369,56 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
302
369
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
303
370
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
304
371
|
roleId: z.ZodString;
|
|
372
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
373
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
374
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
375
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
376
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
377
|
+
} & {
|
|
378
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
379
|
+
accountId: z.ZodString;
|
|
380
|
+
offeringSetup: z.ZodBoolean;
|
|
381
|
+
investorPortalSetup: z.ZodBoolean;
|
|
382
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
383
|
+
accountContactsSetup: z.ZodBoolean;
|
|
384
|
+
productPrimaries: z.ZodBoolean;
|
|
385
|
+
productSecondaries: z.ZodBoolean;
|
|
386
|
+
featureDisbursements: z.ZodBoolean;
|
|
387
|
+
apiPortal: z.ZodBoolean;
|
|
388
|
+
investorSiteEnabled: z.ZodBoolean;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
id: string;
|
|
391
|
+
createdAt: string | Date;
|
|
392
|
+
updatedAt: string | Date;
|
|
393
|
+
deletedAt: string | Date | null;
|
|
394
|
+
accountId: string;
|
|
395
|
+
offeringSetup: boolean;
|
|
396
|
+
investorPortalSetup: boolean;
|
|
397
|
+
paymentMethodSetup: boolean;
|
|
398
|
+
accountContactsSetup: boolean;
|
|
399
|
+
productPrimaries: boolean;
|
|
400
|
+
productSecondaries: boolean;
|
|
401
|
+
featureDisbursements: boolean;
|
|
402
|
+
apiPortal: boolean;
|
|
403
|
+
investorSiteEnabled: boolean;
|
|
404
|
+
__entity?: string | undefined;
|
|
405
|
+
}, {
|
|
406
|
+
id: string;
|
|
407
|
+
createdAt: string | Date;
|
|
408
|
+
updatedAt: string | Date;
|
|
409
|
+
deletedAt: string | Date | null;
|
|
410
|
+
accountId: string;
|
|
411
|
+
offeringSetup: boolean;
|
|
412
|
+
investorPortalSetup: boolean;
|
|
413
|
+
paymentMethodSetup: boolean;
|
|
414
|
+
accountContactsSetup: boolean;
|
|
415
|
+
productPrimaries: boolean;
|
|
416
|
+
productSecondaries: boolean;
|
|
417
|
+
featureDisbursements: boolean;
|
|
418
|
+
apiPortal: boolean;
|
|
419
|
+
investorSiteEnabled: boolean;
|
|
420
|
+
__entity?: string | undefined;
|
|
421
|
+
}>>>;
|
|
305
422
|
}, "strip", z.ZodTypeAny, {
|
|
306
423
|
type: PortalType;
|
|
307
424
|
id: string;
|
|
@@ -310,6 +427,23 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
310
427
|
isInactiveAccount: boolean;
|
|
311
428
|
role: UserRole;
|
|
312
429
|
roleId: string;
|
|
430
|
+
accountSettings?: {
|
|
431
|
+
id: string;
|
|
432
|
+
createdAt: string | Date;
|
|
433
|
+
updatedAt: string | Date;
|
|
434
|
+
deletedAt: string | Date | null;
|
|
435
|
+
accountId: string;
|
|
436
|
+
offeringSetup: boolean;
|
|
437
|
+
investorPortalSetup: boolean;
|
|
438
|
+
paymentMethodSetup: boolean;
|
|
439
|
+
accountContactsSetup: boolean;
|
|
440
|
+
productPrimaries: boolean;
|
|
441
|
+
productSecondaries: boolean;
|
|
442
|
+
featureDisbursements: boolean;
|
|
443
|
+
apiPortal: boolean;
|
|
444
|
+
investorSiteEnabled: boolean;
|
|
445
|
+
__entity?: string | undefined;
|
|
446
|
+
} | undefined;
|
|
313
447
|
}, {
|
|
314
448
|
type: PortalType;
|
|
315
449
|
id: string;
|
|
@@ -318,6 +452,23 @@ export declare const BaseAuthReq: z.ZodObject<{
|
|
|
318
452
|
isInactiveAccount: boolean;
|
|
319
453
|
role: UserRole;
|
|
320
454
|
roleId: string;
|
|
455
|
+
accountSettings?: {
|
|
456
|
+
id: string;
|
|
457
|
+
createdAt: string | Date;
|
|
458
|
+
updatedAt: string | Date;
|
|
459
|
+
deletedAt: string | Date | null;
|
|
460
|
+
accountId: string;
|
|
461
|
+
offeringSetup: boolean;
|
|
462
|
+
investorPortalSetup: boolean;
|
|
463
|
+
paymentMethodSetup: boolean;
|
|
464
|
+
accountContactsSetup: boolean;
|
|
465
|
+
productPrimaries: boolean;
|
|
466
|
+
productSecondaries: boolean;
|
|
467
|
+
featureDisbursements: boolean;
|
|
468
|
+
apiPortal: boolean;
|
|
469
|
+
investorSiteEnabled: boolean;
|
|
470
|
+
__entity?: string | undefined;
|
|
471
|
+
} | undefined;
|
|
321
472
|
}>;
|
|
322
473
|
export declare const AuthUserReq: z.ZodObject<{
|
|
323
474
|
id: z.ZodString;
|
|
@@ -327,6 +478,56 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
327
478
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
328
479
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
329
480
|
roleId: z.ZodString;
|
|
481
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
482
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
483
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
484
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
485
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
486
|
+
} & {
|
|
487
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
488
|
+
accountId: z.ZodString;
|
|
489
|
+
offeringSetup: z.ZodBoolean;
|
|
490
|
+
investorPortalSetup: z.ZodBoolean;
|
|
491
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
492
|
+
accountContactsSetup: z.ZodBoolean;
|
|
493
|
+
productPrimaries: z.ZodBoolean;
|
|
494
|
+
productSecondaries: z.ZodBoolean;
|
|
495
|
+
featureDisbursements: z.ZodBoolean;
|
|
496
|
+
apiPortal: z.ZodBoolean;
|
|
497
|
+
investorSiteEnabled: z.ZodBoolean;
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
499
|
+
id: string;
|
|
500
|
+
createdAt: string | Date;
|
|
501
|
+
updatedAt: string | Date;
|
|
502
|
+
deletedAt: string | Date | null;
|
|
503
|
+
accountId: string;
|
|
504
|
+
offeringSetup: boolean;
|
|
505
|
+
investorPortalSetup: boolean;
|
|
506
|
+
paymentMethodSetup: boolean;
|
|
507
|
+
accountContactsSetup: boolean;
|
|
508
|
+
productPrimaries: boolean;
|
|
509
|
+
productSecondaries: boolean;
|
|
510
|
+
featureDisbursements: boolean;
|
|
511
|
+
apiPortal: boolean;
|
|
512
|
+
investorSiteEnabled: boolean;
|
|
513
|
+
__entity?: string | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
id: string;
|
|
516
|
+
createdAt: string | Date;
|
|
517
|
+
updatedAt: string | Date;
|
|
518
|
+
deletedAt: string | Date | null;
|
|
519
|
+
accountId: string;
|
|
520
|
+
offeringSetup: boolean;
|
|
521
|
+
investorPortalSetup: boolean;
|
|
522
|
+
paymentMethodSetup: boolean;
|
|
523
|
+
accountContactsSetup: boolean;
|
|
524
|
+
productPrimaries: boolean;
|
|
525
|
+
productSecondaries: boolean;
|
|
526
|
+
featureDisbursements: boolean;
|
|
527
|
+
apiPortal: boolean;
|
|
528
|
+
investorSiteEnabled: boolean;
|
|
529
|
+
__entity?: string | undefined;
|
|
530
|
+
}>>>;
|
|
330
531
|
} & {
|
|
331
532
|
userLoginId: z.ZodString;
|
|
332
533
|
firstName: z.ZodString;
|
|
@@ -360,6 +561,23 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
360
561
|
locked: boolean;
|
|
361
562
|
accountStatus: AccountStatus;
|
|
362
563
|
managedBy?: ManagedByType | undefined;
|
|
564
|
+
accountSettings?: {
|
|
565
|
+
id: string;
|
|
566
|
+
createdAt: string | Date;
|
|
567
|
+
updatedAt: string | Date;
|
|
568
|
+
deletedAt: string | Date | null;
|
|
569
|
+
accountId: string;
|
|
570
|
+
offeringSetup: boolean;
|
|
571
|
+
investorPortalSetup: boolean;
|
|
572
|
+
paymentMethodSetup: boolean;
|
|
573
|
+
accountContactsSetup: boolean;
|
|
574
|
+
productPrimaries: boolean;
|
|
575
|
+
productSecondaries: boolean;
|
|
576
|
+
featureDisbursements: boolean;
|
|
577
|
+
apiPortal: boolean;
|
|
578
|
+
investorSiteEnabled: boolean;
|
|
579
|
+
__entity?: string | undefined;
|
|
580
|
+
} | undefined;
|
|
363
581
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
364
582
|
twoFactorEnabled?: boolean | undefined;
|
|
365
583
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -382,6 +600,23 @@ export declare const AuthUserReq: z.ZodObject<{
|
|
|
382
600
|
locked: boolean;
|
|
383
601
|
accountStatus: AccountStatus;
|
|
384
602
|
managedBy?: ManagedByType | undefined;
|
|
603
|
+
accountSettings?: {
|
|
604
|
+
id: string;
|
|
605
|
+
createdAt: string | Date;
|
|
606
|
+
updatedAt: string | Date;
|
|
607
|
+
deletedAt: string | Date | null;
|
|
608
|
+
accountId: string;
|
|
609
|
+
offeringSetup: boolean;
|
|
610
|
+
investorPortalSetup: boolean;
|
|
611
|
+
paymentMethodSetup: boolean;
|
|
612
|
+
accountContactsSetup: boolean;
|
|
613
|
+
productPrimaries: boolean;
|
|
614
|
+
productSecondaries: boolean;
|
|
615
|
+
featureDisbursements: boolean;
|
|
616
|
+
apiPortal: boolean;
|
|
617
|
+
investorSiteEnabled: boolean;
|
|
618
|
+
__entity?: string | undefined;
|
|
619
|
+
} | undefined;
|
|
385
620
|
requiresTwoFactorSetup?: boolean | undefined;
|
|
386
621
|
twoFactorEnabled?: boolean | undefined;
|
|
387
622
|
twoFactorMethod?: TwoFactorMethod | undefined;
|
|
@@ -395,6 +630,56 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
395
630
|
role: z.ZodNativeEnum<typeof UserRole>;
|
|
396
631
|
type: z.ZodNativeEnum<typeof PortalType>;
|
|
397
632
|
roleId: z.ZodString;
|
|
633
|
+
accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
634
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
635
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
636
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
637
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
638
|
+
} & {
|
|
639
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
640
|
+
accountId: z.ZodString;
|
|
641
|
+
offeringSetup: z.ZodBoolean;
|
|
642
|
+
investorPortalSetup: z.ZodBoolean;
|
|
643
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
644
|
+
accountContactsSetup: z.ZodBoolean;
|
|
645
|
+
productPrimaries: z.ZodBoolean;
|
|
646
|
+
productSecondaries: z.ZodBoolean;
|
|
647
|
+
featureDisbursements: z.ZodBoolean;
|
|
648
|
+
apiPortal: z.ZodBoolean;
|
|
649
|
+
investorSiteEnabled: z.ZodBoolean;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
id: string;
|
|
652
|
+
createdAt: string | Date;
|
|
653
|
+
updatedAt: string | Date;
|
|
654
|
+
deletedAt: string | Date | null;
|
|
655
|
+
accountId: string;
|
|
656
|
+
offeringSetup: boolean;
|
|
657
|
+
investorPortalSetup: boolean;
|
|
658
|
+
paymentMethodSetup: boolean;
|
|
659
|
+
accountContactsSetup: boolean;
|
|
660
|
+
productPrimaries: boolean;
|
|
661
|
+
productSecondaries: boolean;
|
|
662
|
+
featureDisbursements: boolean;
|
|
663
|
+
apiPortal: boolean;
|
|
664
|
+
investorSiteEnabled: boolean;
|
|
665
|
+
__entity?: string | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
id: string;
|
|
668
|
+
createdAt: string | Date;
|
|
669
|
+
updatedAt: string | Date;
|
|
670
|
+
deletedAt: string | Date | null;
|
|
671
|
+
accountId: string;
|
|
672
|
+
offeringSetup: boolean;
|
|
673
|
+
investorPortalSetup: boolean;
|
|
674
|
+
paymentMethodSetup: boolean;
|
|
675
|
+
accountContactsSetup: boolean;
|
|
676
|
+
productPrimaries: boolean;
|
|
677
|
+
productSecondaries: boolean;
|
|
678
|
+
featureDisbursements: boolean;
|
|
679
|
+
apiPortal: boolean;
|
|
680
|
+
investorSiteEnabled: boolean;
|
|
681
|
+
__entity?: string | undefined;
|
|
682
|
+
}>>>;
|
|
398
683
|
} & {
|
|
399
684
|
name: z.ZodString;
|
|
400
685
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -410,6 +695,23 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
410
695
|
roleId: string;
|
|
411
696
|
description: string | null;
|
|
412
697
|
lastUsedAt: Date | null;
|
|
698
|
+
accountSettings?: {
|
|
699
|
+
id: string;
|
|
700
|
+
createdAt: string | Date;
|
|
701
|
+
updatedAt: string | Date;
|
|
702
|
+
deletedAt: string | Date | null;
|
|
703
|
+
accountId: string;
|
|
704
|
+
offeringSetup: boolean;
|
|
705
|
+
investorPortalSetup: boolean;
|
|
706
|
+
paymentMethodSetup: boolean;
|
|
707
|
+
accountContactsSetup: boolean;
|
|
708
|
+
productPrimaries: boolean;
|
|
709
|
+
productSecondaries: boolean;
|
|
710
|
+
featureDisbursements: boolean;
|
|
711
|
+
apiPortal: boolean;
|
|
712
|
+
investorSiteEnabled: boolean;
|
|
713
|
+
__entity?: string | undefined;
|
|
714
|
+
} | undefined;
|
|
413
715
|
}, {
|
|
414
716
|
type: PortalType;
|
|
415
717
|
id: string;
|
|
@@ -421,6 +723,23 @@ export declare const AuthApiKeyReq: z.ZodObject<{
|
|
|
421
723
|
roleId: string;
|
|
422
724
|
description: string | null;
|
|
423
725
|
lastUsedAt: Date | null;
|
|
726
|
+
accountSettings?: {
|
|
727
|
+
id: string;
|
|
728
|
+
createdAt: string | Date;
|
|
729
|
+
updatedAt: string | Date;
|
|
730
|
+
deletedAt: string | Date | null;
|
|
731
|
+
accountId: string;
|
|
732
|
+
offeringSetup: boolean;
|
|
733
|
+
investorPortalSetup: boolean;
|
|
734
|
+
paymentMethodSetup: boolean;
|
|
735
|
+
accountContactsSetup: boolean;
|
|
736
|
+
productPrimaries: boolean;
|
|
737
|
+
productSecondaries: boolean;
|
|
738
|
+
featureDisbursements: boolean;
|
|
739
|
+
apiPortal: boolean;
|
|
740
|
+
investorSiteEnabled: boolean;
|
|
741
|
+
__entity?: string | undefined;
|
|
742
|
+
} | undefined;
|
|
424
743
|
}>;
|
|
425
744
|
export type BaseAuthReq = z.infer<typeof BaseAuthReq>;
|
|
426
745
|
export type AuthUserReq = z.infer<typeof AuthUserReq>;
|
|
@@ -829,7 +1148,8 @@ export declare enum OtherFileLabels {
|
|
|
829
1148
|
OTHER = "OTHER",
|
|
830
1149
|
COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST",
|
|
831
1150
|
SUB_DOC = "SUB_DOC",
|
|
832
|
-
CONTENT_FILE = "CONTENT_FILE"
|
|
1151
|
+
CONTENT_FILE = "CONTENT_FILE",
|
|
1152
|
+
CSV_EXPORT_FILE = "CSV_EXPORT_FILE"
|
|
833
1153
|
}
|
|
834
1154
|
export declare const FileLabels: {
|
|
835
1155
|
readonly TRADE_DOCUMENT: TradeFileLables.TRADE_DOCUMENT;
|
|
@@ -850,6 +1170,7 @@ export declare const FileLabels: {
|
|
|
850
1170
|
readonly COMPLIANCE_REQUEST: OtherFileLabels.COMPLIANCE_REQUEST;
|
|
851
1171
|
readonly SUB_DOC: OtherFileLabels.SUB_DOC;
|
|
852
1172
|
readonly CONTENT_FILE: OtherFileLabels.CONTENT_FILE;
|
|
1173
|
+
readonly CSV_EXPORT_FILE: OtherFileLabels.CSV_EXPORT_FILE;
|
|
853
1174
|
readonly BAD_ACTOR_REPORT_FILE: CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
|
|
854
1175
|
readonly PROOF_OF_INCOME: AccreditationFileLabels.PROOF_OF_INCOME;
|
|
855
1176
|
readonly PROOF_OF_NET_WORTH: AccreditationFileLabels.PROOF_OF_NET_WORTH;
|
|
@@ -983,7 +1304,8 @@ export declare enum EventField {
|
|
|
983
1304
|
ONBOARDING_STATUS = "onboardingStatus",
|
|
984
1305
|
TRANSACTION_STATUS = "transactionStatus",
|
|
985
1306
|
ACTIVE = "active",
|
|
986
|
-
LOCKED = "locked"
|
|
1307
|
+
LOCKED = "locked",
|
|
1308
|
+
SOLD_OUT = "soldOut"
|
|
987
1309
|
}
|
|
988
1310
|
export declare enum EventName {
|
|
989
1311
|
STATUS_CHANGED = "status.changed",
|
|
@@ -992,7 +1314,8 @@ export declare enum EventName {
|
|
|
992
1314
|
PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
|
|
993
1315
|
IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
|
|
994
1316
|
INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
|
|
995
|
-
ISSUER_CREATED = "issuer.created"
|
|
1317
|
+
ISSUER_CREATED = "issuer.created",
|
|
1318
|
+
TRADE_SETTLED = "trade.settled"
|
|
996
1319
|
}
|
|
997
1320
|
export declare enum TransactionStatus {
|
|
998
1321
|
PENDING = "PENDING",
|
|
@@ -1006,7 +1329,9 @@ export declare enum TransactionStatus {
|
|
|
1006
1329
|
AUTHORIZING = "AUTHORIZING",
|
|
1007
1330
|
FUNDING = "FUNDING",
|
|
1008
1331
|
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
1009
|
-
VOIDED = "VOIDED"
|
|
1332
|
+
VOIDED = "VOIDED",
|
|
1333
|
+
PROCESSING_VOID = "PROCESSING_VOID",
|
|
1334
|
+
PROCESSING_REFUND = "PROCESSING_REFUND"
|
|
1010
1335
|
}
|
|
1011
1336
|
export declare enum TransactionType {
|
|
1012
1337
|
CHARGE = "CHARGE",
|
|
@@ -1521,4 +1846,16 @@ export type StringToBooleanSchema = z.infer<typeof StringToBooleanSchema>;
|
|
|
1521
1846
|
* EmailSchema.optional().parse(undefined); // returns undefined
|
|
1522
1847
|
*/
|
|
1523
1848
|
export declare const EmailSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
1849
|
+
export declare enum WarrantSharesCalculationMethod {
|
|
1850
|
+
NONE = "NONE",
|
|
1851
|
+
PRORATA = "PRORATA",
|
|
1852
|
+
INCREMENT = "INCREMENT"
|
|
1853
|
+
}
|
|
1854
|
+
export declare enum OfferingStatus {
|
|
1855
|
+
ONBOARDING = "ONBOARDING",
|
|
1856
|
+
IN_REVIEW = "IN_REVIEW",
|
|
1857
|
+
ACTIVE = "ACTIVE",
|
|
1858
|
+
PAUSED = "PAUSED",
|
|
1859
|
+
CLOSED = "CLOSED"
|
|
1860
|
+
}
|
|
1524
1861
|
export {};
|
|
@@ -65,12 +65,22 @@ 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";
|
|
73
79
|
BaseStatus["DISABLED"] = "DISABLED";
|
|
80
|
+
BaseStatus["PROCESSING_VOID"] = "PROCESSING_VOID";
|
|
81
|
+
BaseStatus["PROCESSING_REFUND"] = "PROCESSING_REFUND";
|
|
82
|
+
BaseStatus["PAUSED"] = "PAUSED";
|
|
83
|
+
BaseStatus["CLOSED"] = "CLOSED";
|
|
74
84
|
})(BaseStatus || (BaseStatus = {}));
|
|
75
85
|
export const UserWithoutPasswordAccountZod = IBaseEntity.extend({
|
|
76
86
|
firstName: z.string().openapi({ example: 'Daniel' }),
|
|
@@ -94,10 +104,14 @@ export var ManagedByType;
|
|
|
94
104
|
ManagedByType["DALMORE"] = "DALMORE";
|
|
95
105
|
ManagedByType["ISSUER"] = "ISSUER";
|
|
96
106
|
})(ManagedByType || (ManagedByType = {}));
|
|
107
|
+
/**
|
|
108
|
+
* Unified platform enum used across accounts and trades
|
|
109
|
+
* Values: DALMORE, IMPORT
|
|
110
|
+
*/
|
|
97
111
|
export var Platform;
|
|
98
112
|
(function (Platform) {
|
|
99
113
|
Platform["DALMORE"] = "DALMORE";
|
|
100
|
-
Platform["
|
|
114
|
+
Platform["IMPORT"] = "IMPORT";
|
|
101
115
|
})(Platform || (Platform = {}));
|
|
102
116
|
export var HttpMethod;
|
|
103
117
|
(function (HttpMethod) {
|
|
@@ -153,6 +167,34 @@ export var PaymentMethodType;
|
|
|
153
167
|
PaymentMethodType["CHECK"] = "CHECK";
|
|
154
168
|
PaymentMethodType["RETIREMENT"] = "RETIREMENT";
|
|
155
169
|
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
170
|
+
export const accountSettingIdSchema = z.string().refine((value) => {
|
|
171
|
+
try {
|
|
172
|
+
const tid = TypeID.fromString(value);
|
|
173
|
+
return tid.getType() === 'account_setting';
|
|
174
|
+
}
|
|
175
|
+
catch {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
message: 'Invalid account setting ID format. Must be a valid TypeID with "account_setting" prefix.',
|
|
180
|
+
});
|
|
181
|
+
export const IAccountSettingZod = IBaseEntity.extend({
|
|
182
|
+
id: accountSettingIdSchema.openapi({
|
|
183
|
+
example: 'account_setting_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
184
|
+
}),
|
|
185
|
+
accountId: z.string().openapi({
|
|
186
|
+
example: 'account_01j5y5ghx8fvc83dmx3pznq7hv',
|
|
187
|
+
}),
|
|
188
|
+
offeringSetup: z.boolean().openapi({ example: false }),
|
|
189
|
+
investorPortalSetup: z.boolean().openapi({ example: false }),
|
|
190
|
+
paymentMethodSetup: z.boolean().openapi({ example: false }),
|
|
191
|
+
accountContactsSetup: z.boolean().openapi({ example: false }),
|
|
192
|
+
productPrimaries: z.boolean().openapi({ example: true }),
|
|
193
|
+
productSecondaries: z.boolean().openapi({ example: false }),
|
|
194
|
+
featureDisbursements: z.boolean().openapi({ example: true }),
|
|
195
|
+
apiPortal: z.boolean().openapi({ example: false }),
|
|
196
|
+
investorSiteEnabled: z.boolean().openapi({ example: true }),
|
|
197
|
+
});
|
|
156
198
|
export const AccountZod = IBaseEntity.extend({
|
|
157
199
|
name: z.string().openapi({ example: 'Dalmore' }),
|
|
158
200
|
status: z.nativeEnum(AccountStatus).openapi({ example: AccountStatus.LIVE }),
|
|
@@ -160,7 +202,7 @@ export const AccountZod = IBaseEntity.extend({
|
|
|
160
202
|
.nativeEnum(ManagedByType)
|
|
161
203
|
.nullable()
|
|
162
204
|
.openapi({ example: ManagedByType.DALMORE }),
|
|
163
|
-
platform: z.nativeEnum(Platform).openapi({ example: Platform.
|
|
205
|
+
platform: z.nativeEnum(Platform).openapi({ example: Platform.IMPORT }),
|
|
164
206
|
onboardingReviewerId: z
|
|
165
207
|
.string()
|
|
166
208
|
.nullable()
|
|
@@ -175,7 +217,7 @@ export const AccountWithoutUsersZod = IBaseEntity.extend({
|
|
|
175
217
|
.nativeEnum(ManagedByType)
|
|
176
218
|
.nullable()
|
|
177
219
|
.openapi({ example: ManagedByType.DALMORE }),
|
|
178
|
-
platform: z.nativeEnum(Platform).openapi({ example: Platform.
|
|
220
|
+
platform: z.nativeEnum(Platform).openapi({ example: Platform.IMPORT }),
|
|
179
221
|
onboardingReviewerId: z
|
|
180
222
|
.string()
|
|
181
223
|
.nullable()
|
|
@@ -287,6 +329,7 @@ export const BaseAuthReq = z.object({
|
|
|
287
329
|
role: z.nativeEnum(UserRole),
|
|
288
330
|
type: z.nativeEnum(PortalType),
|
|
289
331
|
roleId: z.string(),
|
|
332
|
+
accountSettings: z.lazy(() => IAccountSettingZod).optional(),
|
|
290
333
|
});
|
|
291
334
|
// Regular user type extending base
|
|
292
335
|
export const AuthUserReq = BaseAuthReq.extend({
|
|
@@ -636,6 +679,7 @@ export var OtherFileLabels;
|
|
|
636
679
|
OtherFileLabels["COMPLIANCE_REQUEST"] = "COMPLIANCE_REQUEST";
|
|
637
680
|
OtherFileLabels["SUB_DOC"] = "SUB_DOC";
|
|
638
681
|
OtherFileLabels["CONTENT_FILE"] = "CONTENT_FILE";
|
|
682
|
+
OtherFileLabels["CSV_EXPORT_FILE"] = "CSV_EXPORT_FILE";
|
|
639
683
|
})(OtherFileLabels || (OtherFileLabels = {}));
|
|
640
684
|
export const FileLabels = {
|
|
641
685
|
...AccreditationFileLabels,
|
|
@@ -788,6 +832,7 @@ export var EventField;
|
|
|
788
832
|
EventField["TRANSACTION_STATUS"] = "transactionStatus";
|
|
789
833
|
EventField["ACTIVE"] = "active";
|
|
790
834
|
EventField["LOCKED"] = "locked";
|
|
835
|
+
EventField["SOLD_OUT"] = "soldOut";
|
|
791
836
|
})(EventField || (EventField = {}));
|
|
792
837
|
export var EventName;
|
|
793
838
|
(function (EventName) {
|
|
@@ -798,6 +843,7 @@ export var EventName;
|
|
|
798
843
|
EventName["IN_REVIEW_TRADES_ALERT"] = "trade.inreview.alert";
|
|
799
844
|
EventName["INDIVIDUAL_AML_STATUS_CHANGED"] = "individual.aml_status.changed";
|
|
800
845
|
EventName["ISSUER_CREATED"] = "issuer.created";
|
|
846
|
+
EventName["TRADE_SETTLED"] = "trade.settled";
|
|
801
847
|
})(EventName || (EventName = {}));
|
|
802
848
|
// pending charged settled refunded cancelled
|
|
803
849
|
export var TransactionStatus;
|
|
@@ -814,6 +860,8 @@ export var TransactionStatus;
|
|
|
814
860
|
TransactionStatus["FUNDING"] = "FUNDING";
|
|
815
861
|
TransactionStatus["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
816
862
|
TransactionStatus["VOIDED"] = "VOIDED";
|
|
863
|
+
TransactionStatus["PROCESSING_VOID"] = "PROCESSING_VOID";
|
|
864
|
+
TransactionStatus["PROCESSING_REFUND"] = "PROCESSING_REFUND";
|
|
817
865
|
})(TransactionStatus || (TransactionStatus = {}));
|
|
818
866
|
//charge, refund, adjustment
|
|
819
867
|
export var TransactionType;
|
|
@@ -1446,4 +1494,18 @@ export const EmailSchema = z
|
|
|
1446
1494
|
.openapi({
|
|
1447
1495
|
example: 'neil@dalmoregroup.com',
|
|
1448
1496
|
});
|
|
1497
|
+
export var WarrantSharesCalculationMethod;
|
|
1498
|
+
(function (WarrantSharesCalculationMethod) {
|
|
1499
|
+
WarrantSharesCalculationMethod["NONE"] = "NONE";
|
|
1500
|
+
WarrantSharesCalculationMethod["PRORATA"] = "PRORATA";
|
|
1501
|
+
WarrantSharesCalculationMethod["INCREMENT"] = "INCREMENT";
|
|
1502
|
+
})(WarrantSharesCalculationMethod || (WarrantSharesCalculationMethod = {}));
|
|
1503
|
+
export var OfferingStatus;
|
|
1504
|
+
(function (OfferingStatus) {
|
|
1505
|
+
OfferingStatus["ONBOARDING"] = "ONBOARDING";
|
|
1506
|
+
OfferingStatus["IN_REVIEW"] = "IN_REVIEW";
|
|
1507
|
+
OfferingStatus["ACTIVE"] = "ACTIVE";
|
|
1508
|
+
OfferingStatus["PAUSED"] = "PAUSED";
|
|
1509
|
+
OfferingStatus["CLOSED"] = "CLOSED";
|
|
1510
|
+
})(OfferingStatus || (OfferingStatus = {}));
|
|
1449
1511
|
//# sourceMappingURL=common.types.js.map
|