@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.686830

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/common/types/account-setting.types.d.ts +41 -26
  2. package/common/types/account-setting.types.js +2 -23
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +63 -18
  5. package/common/types/account.types.js +4 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +35 -25
  8. package/common/types/activity.types.js +13 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/asset.types.d.ts +212 -0
  11. package/common/types/asset.types.js +115 -42
  12. package/common/types/asset.types.js.map +1 -1
  13. package/common/types/auth.types.d.ts +1 -1
  14. package/common/types/auth.types.js +1 -1
  15. package/common/types/auth.types.js.map +1 -1
  16. package/common/types/bonus-tier.types.d.ts +15 -4
  17. package/common/types/bonus-tier.types.js +14 -7
  18. package/common/types/bonus-tier.types.js.map +1 -1
  19. package/common/types/cap-table.types.d.ts +77 -62
  20. package/common/types/cap-table.types.js +17 -0
  21. package/common/types/cap-table.types.js.map +1 -1
  22. package/common/types/common.types.d.ts +334 -5
  23. package/common/types/common.types.js +61 -1
  24. package/common/types/common.types.js.map +1 -1
  25. package/common/types/comply-advantage-api.types.d.ts +133 -466
  26. package/common/types/comply-advantage-api.types.js +24 -3
  27. package/common/types/comply-advantage-api.types.js.map +1 -1
  28. package/common/types/dashboard.types.d.ts +7 -7
  29. package/common/types/data-record.types.d.ts +4 -4
  30. package/common/types/disbursements.types.d.ts +1439 -401
  31. package/common/types/disbursements.types.js +100 -0
  32. package/common/types/disbursements.types.js.map +1 -1
  33. package/common/types/escrow-account.types.d.ts +17 -0
  34. package/common/types/escrow-account.types.js +3 -0
  35. package/common/types/escrow-account.types.js.map +1 -1
  36. package/common/types/exchange-provider.types.d.ts +12 -12
  37. package/common/types/file.types.d.ts +35 -11
  38. package/common/types/file.types.js +11 -0
  39. package/common/types/file.types.js.map +1 -1
  40. package/common/types/index.d.ts +2 -0
  41. package/common/types/index.js +2 -0
  42. package/common/types/index.js.map +1 -1
  43. package/common/types/individuals.types.js +5 -2
  44. package/common/types/individuals.types.js.map +1 -1
  45. package/common/types/investor-account.types.d.ts +4 -4
  46. package/common/types/issuer-bank-account.types.d.ts +4 -276
  47. package/common/types/issuer-offering.types.d.ts +826 -5
  48. package/common/types/issuer-offering.types.js +277 -17
  49. package/common/types/issuer-offering.types.js.map +1 -1
  50. package/common/types/job-item.types.d.ts +14 -14
  51. package/common/types/note.types.d.ts +15 -15
  52. package/common/types/offering-submission.types.d.ts +198 -0
  53. package/common/types/offering-submission.types.js +16 -3
  54. package/common/types/offering-submission.types.js.map +1 -1
  55. package/common/types/offering.types.d.ts +513 -2
  56. package/common/types/offering.types.js +290 -11
  57. package/common/types/offering.types.js.map +1 -1
  58. package/common/types/portfolio.types.d.ts +6 -6
  59. package/common/types/reports.types.d.ts +345 -0
  60. package/common/types/reports.types.js +69 -0
  61. package/common/types/reports.types.js.map +1 -0
  62. package/common/types/secondary-order.types.d.ts +10 -10
  63. package/common/types/secondary-trade.types.d.ts +10 -10
  64. package/common/types/signer.types.d.ts +23 -11
  65. package/common/types/signer.types.js +16 -1
  66. package/common/types/signer.types.js.map +1 -1
  67. package/common/types/site.types.d.ts +5 -0
  68. package/common/types/task.types.d.ts +22 -22
  69. package/common/types/trade-line-item.types.d.ts +18 -1
  70. package/common/types/trade-line-item.types.js +12 -1
  71. package/common/types/trade-line-item.types.js.map +1 -1
  72. package/common/types/trade.types.d.ts +64 -45
  73. package/common/types/trade.types.js +14 -4
  74. package/common/types/trade.types.js.map +1 -1
  75. package/common/types/transaction.types.d.ts +80 -1
  76. package/common/types/transaction.types.js +22 -2
  77. package/common/types/transaction.types.js.map +1 -1
  78. package/common/types/user.types.d.ts +107 -54
  79. package/common/types/user.types.js +7 -0
  80. package/common/types/user.types.js.map +1 -1
  81. package/contracts/clients/assets/index.d.ts +22 -0
  82. package/contracts/clients/files/index.d.ts +3 -3
  83. package/contracts/clients/files-public/index.d.ts +3 -3
  84. package/contracts/clients/index.d.ts +337 -13
  85. package/contracts/clients/offerings/index.d.ts +300 -4
  86. package/contracts/clients/trades/index.d.ts +9 -3
  87. 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
- JOIN = "JOIN",
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;
@@ -341,6 +523,7 @@ export declare const AuthUserReq: z.ZodObject<{
341
523
  twoFactorMethod: z.ZodOptional<z.ZodNativeEnum<typeof TwoFactorMethod>>;
342
524
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
343
525
  userType: z.ZodOptional<z.ZodNativeEnum<typeof UserType>>;
526
+ accountStatus: z.ZodLazy<z.ZodNativeEnum<typeof AccountStatus>>;
344
527
  }, "strip", z.ZodTypeAny, {
345
528
  type: PortalType;
346
529
  id: string;
@@ -357,7 +540,24 @@ export declare const AuthUserReq: z.ZodObject<{
357
540
  roleId: string;
358
541
  userLoginId: string;
359
542
  locked: boolean;
543
+ accountStatus: AccountStatus;
360
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;
361
561
  requiresTwoFactorSetup?: boolean | undefined;
362
562
  twoFactorEnabled?: boolean | undefined;
363
563
  twoFactorMethod?: TwoFactorMethod | undefined;
@@ -378,7 +578,24 @@ export declare const AuthUserReq: z.ZodObject<{
378
578
  roleId: string;
379
579
  userLoginId: string;
380
580
  locked: boolean;
581
+ accountStatus: AccountStatus;
381
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;
382
599
  requiresTwoFactorSetup?: boolean | undefined;
383
600
  twoFactorEnabled?: boolean | undefined;
384
601
  twoFactorMethod?: TwoFactorMethod | undefined;
@@ -392,6 +609,53 @@ export declare const AuthApiKeyReq: z.ZodObject<{
392
609
  role: z.ZodNativeEnum<typeof UserRole>;
393
610
  type: z.ZodNativeEnum<typeof PortalType>;
394
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
+ }>>>;
395
659
  } & {
396
660
  name: z.ZodString;
397
661
  description: z.ZodNullable<z.ZodString>;
@@ -407,6 +671,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
407
671
  roleId: string;
408
672
  description: string | null;
409
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;
410
690
  }, {
411
691
  type: PortalType;
412
692
  id: string;
@@ -418,6 +698,22 @@ export declare const AuthApiKeyReq: z.ZodObject<{
418
698
  roleId: string;
419
699
  description: string | null;
420
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;
421
717
  }>;
422
718
  export type BaseAuthReq = z.infer<typeof BaseAuthReq>;
423
719
  export type AuthUserReq = z.infer<typeof AuthUserReq>;
@@ -717,7 +1013,8 @@ export declare enum OfferingType {
717
1013
  }
718
1014
  export declare enum AssetType {
719
1015
  BOND = "BOND",
720
- STOCK = "STOCK"
1016
+ STOCK = "STOCK",
1017
+ PROMISSORY_NOTE = "PROMISSORY_NOTE"
721
1018
  }
722
1019
  export declare enum AdjustmentType {
723
1020
  CREDIT_CARD_FEES = "CREDIT_CARD_FEES",
@@ -798,7 +1095,8 @@ export declare enum IssuerFileLabels {
798
1095
  export declare enum OfferingFileLabels {
799
1096
  MEMORANDUM = "MEMORANDUM",
800
1097
  SUBSCRIPTION_AGREEMENT = "SUBSCRIPTION_AGREEMENT",
801
- COVER_ART = "COVER_ART"
1098
+ COVER_ART = "COVER_ART",
1099
+ ESCROW_AGREEMENT = "ESCROW_AGREEMENT"
802
1100
  }
803
1101
  export declare enum SiteBrandingFileLabels {
804
1102
  LOGO = "LOGO",
@@ -823,7 +1121,9 @@ export declare enum AccreditationFileLabels {
823
1121
  export declare enum OtherFileLabels {
824
1122
  OTHER = "OTHER",
825
1123
  COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST",
826
- SUB_DOC = "SUB_DOC"
1124
+ SUB_DOC = "SUB_DOC",
1125
+ CONTENT_FILE = "CONTENT_FILE",
1126
+ CSV_EXPORT_FILE = "CSV_EXPORT_FILE"
827
1127
  }
828
1128
  export declare const FileLabels: {
829
1129
  readonly TRADE_DOCUMENT: TradeFileLables.TRADE_DOCUMENT;
@@ -835,6 +1135,7 @@ export declare const FileLabels: {
835
1135
  readonly COVER_ART: IssuerFileLabels.COVER_ART;
836
1136
  readonly MEMORANDUM: OfferingFileLabels.MEMORANDUM;
837
1137
  readonly SUBSCRIPTION_AGREEMENT: OfferingFileLabels.SUBSCRIPTION_AGREEMENT;
1138
+ readonly ESCROW_AGREEMENT: OfferingFileLabels.ESCROW_AGREEMENT;
838
1139
  readonly LOGO: SiteBrandingFileLabels.LOGO;
839
1140
  readonly FAVICON: SiteBrandingFileLabels.FAVICON;
840
1141
  readonly BACKGROUND_IMAGE: SiteBrandingFileLabels.BACKGROUND_IMAGE;
@@ -842,6 +1143,8 @@ export declare const FileLabels: {
842
1143
  readonly OTHER: OtherFileLabels.OTHER;
843
1144
  readonly COMPLIANCE_REQUEST: OtherFileLabels.COMPLIANCE_REQUEST;
844
1145
  readonly SUB_DOC: OtherFileLabels.SUB_DOC;
1146
+ readonly CONTENT_FILE: OtherFileLabels.CONTENT_FILE;
1147
+ readonly CSV_EXPORT_FILE: OtherFileLabels.CSV_EXPORT_FILE;
845
1148
  readonly BAD_ACTOR_REPORT_FILE: CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
846
1149
  readonly PROOF_OF_INCOME: AccreditationFileLabels.PROOF_OF_INCOME;
847
1150
  readonly PROOF_OF_NET_WORTH: AccreditationFileLabels.PROOF_OF_NET_WORTH;
@@ -983,7 +1286,8 @@ export declare enum EventName {
983
1286
  ACTION_PERFORMED = "action.performed",
984
1287
  PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
985
1288
  IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
986
- INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed"
1289
+ INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
1290
+ ISSUER_CREATED = "issuer.created"
987
1291
  }
988
1292
  export declare enum TransactionStatus {
989
1293
  PENDING = "PENDING",
@@ -1156,6 +1460,26 @@ export declare const TargetTableConfig: {
1156
1460
  readonly table: "theme_settings";
1157
1461
  readonly idPrefix: "theme_setting";
1158
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
+ };
1159
1483
  };
1160
1484
  export type TargetTableType = keyof typeof TargetTableConfig;
1161
1485
  export declare const TargetTableEnum: [TargetTableType, ...TargetTableType[]];
@@ -1492,4 +1816,9 @@ export type StringToBooleanSchema = z.infer<typeof StringToBooleanSchema>;
1492
1816
  * EmailSchema.optional().parse(undefined); // returns undefined
1493
1817
  */
1494
1818
  export declare const EmailSchema: z.ZodEffects<z.ZodString, string, string>;
1819
+ export declare enum WarrantSharesCalculationMethod {
1820
+ NONE = "NONE",
1821
+ PRORATA = "PRORATA",
1822
+ INCREMENT = "INCREMENT"
1823
+ }
1495
1824
  export {};
@@ -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["JOIN"] = "JOIN";
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({
@@ -303,6 +337,7 @@ export const AuthUserReq = BaseAuthReq.extend({
303
337
  twoFactorMethod: z.nativeEnum(TwoFactorMethod).optional(),
304
338
  managedBy: z.nativeEnum(ManagedByType).optional(),
305
339
  userType: z.nativeEnum(UserType).optional(),
340
+ accountStatus: z.lazy(() => z.nativeEnum(AccountStatus)),
306
341
  });
307
342
  // API key type extending base
308
343
  export const AuthApiKeyReq = BaseAuthReq.extend({
@@ -508,6 +543,7 @@ export var AssetType;
508
543
  (function (AssetType) {
509
544
  AssetType["BOND"] = "BOND";
510
545
  AssetType["STOCK"] = "STOCK";
546
+ AssetType["PROMISSORY_NOTE"] = "PROMISSORY_NOTE";
511
547
  })(AssetType || (AssetType = {}));
512
548
  export var AdjustmentType;
513
549
  (function (AdjustmentType) {
@@ -602,6 +638,7 @@ export var OfferingFileLabels;
602
638
  OfferingFileLabels["MEMORANDUM"] = "MEMORANDUM";
603
639
  OfferingFileLabels["SUBSCRIPTION_AGREEMENT"] = "SUBSCRIPTION_AGREEMENT";
604
640
  OfferingFileLabels["COVER_ART"] = "COVER_ART";
641
+ OfferingFileLabels["ESCROW_AGREEMENT"] = "ESCROW_AGREEMENT";
605
642
  })(OfferingFileLabels || (OfferingFileLabels = {}));
606
643
  export var SiteBrandingFileLabels;
607
644
  (function (SiteBrandingFileLabels) {
@@ -632,6 +669,8 @@ export var OtherFileLabels;
632
669
  OtherFileLabels["OTHER"] = "OTHER";
633
670
  OtherFileLabels["COMPLIANCE_REQUEST"] = "COMPLIANCE_REQUEST";
634
671
  OtherFileLabels["SUB_DOC"] = "SUB_DOC";
672
+ OtherFileLabels["CONTENT_FILE"] = "CONTENT_FILE";
673
+ OtherFileLabels["CSV_EXPORT_FILE"] = "CSV_EXPORT_FILE";
635
674
  })(OtherFileLabels || (OtherFileLabels = {}));
636
675
  export const FileLabels = {
637
676
  ...AccreditationFileLabels,
@@ -793,6 +832,7 @@ export var EventName;
793
832
  EventName["PENDING_OVERDUE_TRADES_ALERT"] = "pending_overdue.trades.alert";
794
833
  EventName["IN_REVIEW_TRADES_ALERT"] = "trade.inreview.alert";
795
834
  EventName["INDIVIDUAL_AML_STATUS_CHANGED"] = "individual.aml_status.changed";
835
+ EventName["ISSUER_CREATED"] = "issuer.created";
796
836
  })(EventName || (EventName = {}));
797
837
  // pending charged settled refunded cancelled
798
838
  export var TransactionStatus;
@@ -943,6 +983,20 @@ export const TargetTableConfig = {
943
983
  SIGNER_BRANDS: { table: 'signer_brands', idPrefix: 'signer_brand' },
944
984
  THEMES: { table: 'themes', idPrefix: 'theme' },
945
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
+ },
946
1000
  };
947
1001
  export const TargetTableEnum = Object.keys(TargetTableConfig);
948
1002
  /**
@@ -1427,4 +1481,10 @@ export const EmailSchema = z
1427
1481
  .openapi({
1428
1482
  example: 'neil@dalmoregroup.com',
1429
1483
  });
1484
+ export var WarrantSharesCalculationMethod;
1485
+ (function (WarrantSharesCalculationMethod) {
1486
+ WarrantSharesCalculationMethod["NONE"] = "NONE";
1487
+ WarrantSharesCalculationMethod["PRORATA"] = "PRORATA";
1488
+ WarrantSharesCalculationMethod["INCREMENT"] = "INCREMENT";
1489
+ })(WarrantSharesCalculationMethod || (WarrantSharesCalculationMethod = {}));
1430
1490
  //# sourceMappingURL=common.types.js.map