@dalmore/api-contracts 0.0.0-dev.9f40653 → 0.0.0-dev.a0429a1

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 (96) hide show
  1. package/common/types/account-setting.types.d.ts +22 -66
  2. package/common/types/account-setting.types.js +2 -31
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +32 -23
  5. package/common/types/account.types.js +1 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +34 -25
  8. package/common/types/activity.types.js +11 -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/bonus-tier.types.d.ts +11 -0
  14. package/common/types/bonus-tier.types.js +14 -7
  15. package/common/types/bonus-tier.types.js.map +1 -1
  16. package/common/types/cap-table.types.d.ts +177 -53
  17. package/common/types/cap-table.types.js +31 -0
  18. package/common/types/cap-table.types.js.map +1 -1
  19. package/common/types/common.types.d.ts +345 -5
  20. package/common/types/common.types.js +61 -1
  21. package/common/types/common.types.js.map +1 -1
  22. package/common/types/comply-advantage-api.types.d.ts +86 -992
  23. package/common/types/comply-advantage-api.types.js +15 -2
  24. package/common/types/comply-advantage-api.types.js.map +1 -1
  25. package/common/types/dashboard.types.d.ts +7 -7
  26. package/common/types/data-record.types.d.ts +4 -4
  27. package/common/types/disbursement-transaction.types.d.ts +1 -1
  28. package/common/types/disbursement-transaction.types.js +1 -1
  29. package/common/types/disbursement-transaction.types.js.map +1 -1
  30. package/common/types/disbursements.types.d.ts +890 -593
  31. package/common/types/disbursements.types.js +66 -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 +3 -0
  41. package/common/types/index.js +3 -0
  42. package/common/types/index.js.map +1 -1
  43. package/common/types/individuals.types.js +7 -4
  44. package/common/types/individuals.types.js.map +1 -1
  45. package/common/types/investor-account.types.d.ts +1 -1
  46. package/common/types/investor-account.types.js +1 -2
  47. package/common/types/investor-account.types.js.map +1 -1
  48. package/common/types/invite.types.d.ts +2 -2
  49. package/common/types/invite.types.js +1 -1
  50. package/common/types/invite.types.js.map +1 -1
  51. package/common/types/issuer-bank-account.types.d.ts +4 -276
  52. package/common/types/issuer-offering.types.d.ts +834 -14
  53. package/common/types/issuer-offering.types.js +297 -25
  54. package/common/types/issuer-offering.types.js.map +1 -1
  55. package/common/types/job-item.types.d.ts +14 -14
  56. package/common/types/note.types.d.ts +15 -15
  57. package/common/types/offering-submission.types.d.ts +198 -0
  58. package/common/types/offering-submission.types.js +16 -3
  59. package/common/types/offering-submission.types.js.map +1 -1
  60. package/common/types/offering.types.d.ts +535 -21
  61. package/common/types/offering.types.js +324 -26
  62. package/common/types/offering.types.js.map +1 -1
  63. package/common/types/portfolio.types.d.ts +6 -6
  64. package/common/types/reports.types.d.ts +345 -0
  65. package/common/types/reports.types.js +69 -0
  66. package/common/types/reports.types.js.map +1 -0
  67. package/common/types/review.types.js +1 -1
  68. package/common/types/review.types.js.map +1 -1
  69. package/common/types/secondary-order.types.d.ts +10 -10
  70. package/common/types/secondary-trade.types.d.ts +10 -10
  71. package/common/types/signer.types.d.ts +8 -8
  72. package/common/types/site.types.d.ts +17 -12
  73. package/common/types/task.types.d.ts +22 -22
  74. package/common/types/trade-line-item.types.d.ts +24 -0
  75. package/common/types/trade-line-item.types.js +3 -0
  76. package/common/types/trade-line-item.types.js.map +1 -1
  77. package/common/types/trade.types.d.ts +11 -0
  78. package/common/types/trade.types.js +10 -1
  79. package/common/types/trade.types.js.map +1 -1
  80. package/common/types/transaction.types.d.ts +0 -1
  81. package/common/types/transaction.types.js +0 -1
  82. package/common/types/transaction.types.js.map +1 -1
  83. package/common/types/user.types.d.ts +191 -59
  84. package/common/types/user.types.js +9 -1
  85. package/common/types/user.types.js.map +1 -1
  86. package/contracts/clients/assets/index.d.ts +22 -0
  87. package/contracts/clients/files/index.d.ts +3 -3
  88. package/contracts/clients/files-public/index.d.ts +3 -3
  89. package/contracts/clients/index.d.ts +413 -13
  90. package/contracts/clients/index.js +2 -0
  91. package/contracts/clients/index.js.map +1 -1
  92. package/contracts/clients/offerings/index.d.ts +308 -7
  93. package/contracts/clients/review/index.d.ts +77 -0
  94. package/contracts/clients/review/index.js +23 -0
  95. package/contracts/clients/review/index.js.map +1 -0
  96. package/package.json +1 -1
@@ -21,6 +21,7 @@ import { paymentMethodsContract } from './payment-methods/index.js';
21
21
  import { issuerPaymentMethodsContract } from './issuer-payment-methods/index.js';
22
22
  import { tradeLineItemsContract } from './trade-line-items/index.js';
23
23
  import { clientsTransactionsContract } from './transactions/index.js';
24
+ import { reviewContract } from './review/index.js';
24
25
  const c = initContract();
25
26
  // API KEY AUTH
26
27
  export const clientsContract = c.router({
@@ -41,6 +42,7 @@ export const clientsContract = c.router({
41
42
  legalEntities: legalEntityContract,
42
43
  offerings: offeringsContract,
43
44
  paymentMethods: paymentMethodsContract,
45
+ review: reviewContract,
44
46
  secureRequests: secureRequestContract,
45
47
  sites: sitesContract,
46
48
  tradeLineItems: tradeLineItemsContract,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,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CAC/B,CACF,CAAC"}
@@ -20,8 +20,8 @@ export declare const offeringsContract: {
20
20
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
21
21
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
22
22
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingVersioningType>>;
23
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingStatus>>;
24
23
  onboardingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingOnboardingStatus>>;
24
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ComplianceReview>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  page: number;
27
27
  limit: number;
@@ -31,12 +31,12 @@ export declare const offeringsContract: {
31
31
  accountId?: string | undefined;
32
32
  name?: string | undefined;
33
33
  managedBy?: import("../../..").ManagedByType | undefined;
34
+ complianceReview?: import("../../..").ComplianceReview | undefined;
34
35
  onboardingStatus?: import("../../..").OfferingOnboardingStatus | undefined;
35
36
  enabled?: boolean | undefined;
36
37
  issuerId?: string | undefined;
37
38
  issuerName?: string | undefined;
38
39
  versioningType?: import("../../..").OfferingVersioningType | undefined;
39
- combinedStatus?: import("../../..").OfferingStatus | undefined;
40
40
  }, {
41
41
  type?: import("../../..").OfferingType | undefined;
42
42
  status?: import("../../..").ComplianceReview | undefined;
@@ -45,13 +45,13 @@ export declare const offeringsContract: {
45
45
  managedBy?: import("../../..").ManagedByType | undefined;
46
46
  page?: number | undefined;
47
47
  limit?: number | undefined;
48
+ complianceReview?: import("../../..").ComplianceReview | undefined;
48
49
  onboardingStatus?: import("../../..").OfferingOnboardingStatus | undefined;
49
50
  include?: string | undefined;
50
51
  enabled?: unknown;
51
52
  issuerId?: string | undefined;
52
53
  issuerName?: string | undefined;
53
54
  versioningType?: import("../../..").OfferingVersioningType | undefined;
54
- combinedStatus?: import("../../..").OfferingStatus | undefined;
55
55
  }>;
56
56
  summary: "Get offerings";
57
57
  path: "offerings";
@@ -412,7 +412,8 @@ export declare const offeringsContract: {
412
412
  metadata: {
413
413
  auth: boolean;
414
414
  };
415
- body: z.ZodObject<{
415
+ body: z.ZodEffects<z.ZodObject<{
416
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
416
417
  name: z.ZodOptional<z.ZodString>;
417
418
  type: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingType>>;
418
419
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -426,7 +427,6 @@ export declare const offeringsContract: {
426
427
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
427
428
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
428
429
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
429
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
430
430
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
431
431
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
432
432
  assetName: z.ZodOptional<z.ZodString>;
@@ -440,10 +440,57 @@ export declare const offeringsContract: {
440
440
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
441
441
  enabled: z.ZodOptional<z.ZodBoolean>;
442
442
  enableBonus: z.ZodOptional<z.ZodBoolean>;
443
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
444
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
445
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
446
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
447
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
448
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
449
+ type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
450
+ value: z.ZodEffects<z.ZodNumber, number, number>;
451
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
452
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ value: number;
455
+ type: import("../../../common/types/bonus-tier.types").BonusType;
456
+ startAmount: number;
457
+ endAmount: number;
458
+ }, {
459
+ value: number;
460
+ type: import("../../../common/types/bonus-tier.types").BonusType;
461
+ startAmount: number;
462
+ endAmount: number;
463
+ }>, {
464
+ value: number;
465
+ type: import("../../../common/types/bonus-tier.types").BonusType;
466
+ startAmount: number;
467
+ endAmount: number;
468
+ }, {
469
+ value: number;
470
+ type: import("../../../common/types/bonus-tier.types").BonusType;
471
+ startAmount: number;
472
+ endAmount: number;
473
+ }>, {
474
+ value: number;
475
+ type: import("../../../common/types/bonus-tier.types").BonusType;
476
+ startAmount: number;
477
+ endAmount: number;
478
+ }, {
479
+ value: number;
480
+ type: import("../../../common/types/bonus-tier.types").BonusType;
481
+ startAmount: number;
482
+ endAmount: number;
483
+ }>, "many">>;
484
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
485
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
486
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
487
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
488
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
489
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
490
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
443
491
  }, "strip", z.ZodTypeAny, {
444
492
  type?: import("../../..").OfferingType | undefined;
445
493
  name?: string | undefined;
446
- managedBy?: import("../../..").ManagedByType | undefined;
447
494
  description?: string | null | undefined;
448
495
  enabled?: boolean | undefined;
449
496
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -459,6 +506,18 @@ export declare const offeringsContract: {
459
506
  memorandumId?: string | null | undefined;
460
507
  subscriptionAgreementId?: string | null | undefined;
461
508
  showTotalRaised?: boolean | undefined;
509
+ hasEscrow?: boolean | undefined;
510
+ escrowAgreementFileId?: string | null | undefined;
511
+ bankAccountId?: string | null | undefined;
512
+ escrowAccountId?: string | null | undefined;
513
+ warrantsEnabled?: boolean | undefined;
514
+ totalShares?: number | null | undefined;
515
+ warrantTermYears?: number | null | undefined;
516
+ exercisePrice?: number | null | undefined;
517
+ warrantPercentage?: number | null | undefined;
518
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
519
+ incrementThreshold?: number | null | undefined;
520
+ shareClassId?: string | null | undefined;
462
521
  assetName?: string | undefined;
463
522
  assetType?: import("../../..").AssetType | undefined;
464
523
  pricePerUnit?: number | null | undefined;
@@ -468,10 +527,16 @@ export declare const offeringsContract: {
468
527
  durationType?: import("../../..").DurationType | null | undefined;
469
528
  tiers?: number[] | null | undefined;
470
529
  enableBonus?: boolean | undefined;
530
+ interestRate?: number | null | undefined;
531
+ bonusTiers?: {
532
+ value: number;
533
+ type: import("../../../common/types/bonus-tier.types").BonusType;
534
+ startAmount: number;
535
+ endAmount: number;
536
+ }[] | undefined;
471
537
  }, {
472
538
  type?: import("../../..").OfferingType | undefined;
473
539
  name?: string | undefined;
474
- managedBy?: import("../../..").ManagedByType | undefined;
475
540
  description?: string | null | undefined;
476
541
  enabled?: boolean | undefined;
477
542
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -487,6 +552,110 @@ export declare const offeringsContract: {
487
552
  memorandumId?: string | null | undefined;
488
553
  subscriptionAgreementId?: string | null | undefined;
489
554
  showTotalRaised?: boolean | undefined;
555
+ hasEscrow?: boolean | undefined;
556
+ escrowAgreementFileId?: string | null | undefined;
557
+ bankAccountId?: string | null | undefined;
558
+ escrowAccountId?: string | null | undefined;
559
+ warrantsEnabled?: boolean | undefined;
560
+ totalShares?: number | null | undefined;
561
+ warrantTermYears?: number | null | undefined;
562
+ exercisePrice?: number | null | undefined;
563
+ warrantPercentage?: number | null | undefined;
564
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
565
+ incrementThreshold?: number | null | undefined;
566
+ shareClassId?: string | null | undefined;
567
+ assetName?: string | undefined;
568
+ assetType?: import("../../..").AssetType | undefined;
569
+ pricePerUnit?: number | null | undefined;
570
+ totalUnits?: number | null | undefined;
571
+ yield?: number | null | undefined;
572
+ duration?: number | null | undefined;
573
+ durationType?: import("../../..").DurationType | null | undefined;
574
+ tiers?: number[] | null | undefined;
575
+ enableBonus?: boolean | undefined;
576
+ interestRate?: number | null | undefined;
577
+ bonusTiers?: {
578
+ value: number;
579
+ type: import("../../../common/types/bonus-tier.types").BonusType;
580
+ startAmount: number;
581
+ endAmount: number;
582
+ }[] | undefined;
583
+ }>, {
584
+ type?: import("../../..").OfferingType | undefined;
585
+ name?: string | undefined;
586
+ description?: string | null | undefined;
587
+ enabled?: boolean | undefined;
588
+ template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
589
+ coverArtId?: string | null | undefined;
590
+ targetAmount?: number | undefined;
591
+ minInvestment?: number | null | undefined;
592
+ maxInvestment?: number | null | undefined;
593
+ contingencyAmount?: number | null | undefined;
594
+ startAt?: Date | null | undefined;
595
+ endAt?: Date | null | undefined;
596
+ issuerId?: string | undefined;
597
+ cancellationPeriod?: number | null | undefined;
598
+ memorandumId?: string | null | undefined;
599
+ subscriptionAgreementId?: string | null | undefined;
600
+ showTotalRaised?: boolean | undefined;
601
+ hasEscrow?: boolean | undefined;
602
+ escrowAgreementFileId?: string | null | undefined;
603
+ bankAccountId?: string | null | undefined;
604
+ escrowAccountId?: string | null | undefined;
605
+ warrantsEnabled?: boolean | undefined;
606
+ totalShares?: number | null | undefined;
607
+ warrantTermYears?: number | null | undefined;
608
+ exercisePrice?: number | null | undefined;
609
+ warrantPercentage?: number | null | undefined;
610
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
611
+ incrementThreshold?: number | null | undefined;
612
+ shareClassId?: string | null | undefined;
613
+ assetName?: string | undefined;
614
+ assetType?: import("../../..").AssetType | undefined;
615
+ pricePerUnit?: number | null | undefined;
616
+ totalUnits?: number | null | undefined;
617
+ yield?: number | null | undefined;
618
+ duration?: number | null | undefined;
619
+ durationType?: import("../../..").DurationType | null | undefined;
620
+ tiers?: number[] | null | undefined;
621
+ enableBonus?: boolean | undefined;
622
+ interestRate?: number | null | undefined;
623
+ bonusTiers?: {
624
+ value: number;
625
+ type: import("../../../common/types/bonus-tier.types").BonusType;
626
+ startAmount: number;
627
+ endAmount: number;
628
+ }[] | undefined;
629
+ }, {
630
+ type?: import("../../..").OfferingType | undefined;
631
+ name?: string | undefined;
632
+ description?: string | null | undefined;
633
+ enabled?: boolean | undefined;
634
+ template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
635
+ coverArtId?: string | null | undefined;
636
+ targetAmount?: number | undefined;
637
+ minInvestment?: number | null | undefined;
638
+ maxInvestment?: number | null | undefined;
639
+ contingencyAmount?: number | null | undefined;
640
+ startAt?: string | null | undefined;
641
+ endAt?: string | null | undefined;
642
+ issuerId?: string | undefined;
643
+ cancellationPeriod?: number | null | undefined;
644
+ memorandumId?: string | null | undefined;
645
+ subscriptionAgreementId?: string | null | undefined;
646
+ showTotalRaised?: boolean | undefined;
647
+ hasEscrow?: boolean | undefined;
648
+ escrowAgreementFileId?: string | null | undefined;
649
+ bankAccountId?: string | null | undefined;
650
+ escrowAccountId?: string | null | undefined;
651
+ warrantsEnabled?: boolean | undefined;
652
+ totalShares?: number | null | undefined;
653
+ warrantTermYears?: number | null | undefined;
654
+ exercisePrice?: number | null | undefined;
655
+ warrantPercentage?: number | null | undefined;
656
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
657
+ incrementThreshold?: number | null | undefined;
658
+ shareClassId?: string | null | undefined;
490
659
  assetName?: string | undefined;
491
660
  assetType?: import("../../..").AssetType | undefined;
492
661
  pricePerUnit?: number | null | undefined;
@@ -496,6 +665,13 @@ export declare const offeringsContract: {
496
665
  durationType?: import("../../..").DurationType | null | undefined;
497
666
  tiers?: number[] | null | undefined;
498
667
  enableBonus?: boolean | undefined;
668
+ interestRate?: number | null | undefined;
669
+ bonusTiers?: {
670
+ value: number;
671
+ type: import("../../../common/types/bonus-tier.types").BonusType;
672
+ startAmount: number;
673
+ endAmount: number;
674
+ }[] | undefined;
499
675
  }>;
500
676
  pathParams: z.ZodObject<{
501
677
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -582,6 +758,7 @@ export declare const offeringsContract: {
582
758
  };
583
759
  body: z.ZodEffects<z.ZodObject<{
584
760
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
761
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
585
762
  name: z.ZodString;
586
763
  type: z.ZodNativeEnum<typeof import("../../..").OfferingType>;
587
764
  targetAmount: z.ZodNumber;
@@ -605,12 +782,61 @@ export declare const offeringsContract: {
605
782
  template: z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>;
606
783
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
607
784
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
785
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
786
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
787
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
788
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
789
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
790
+ type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
791
+ value: z.ZodEffects<z.ZodNumber, number, number>;
792
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
793
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ value: number;
796
+ type: import("../../../common/types/bonus-tier.types").BonusType;
797
+ startAmount: number;
798
+ endAmount: number;
799
+ }, {
800
+ value: number;
801
+ type: import("../../../common/types/bonus-tier.types").BonusType;
802
+ startAmount: number;
803
+ endAmount: number;
804
+ }>, {
805
+ value: number;
806
+ type: import("../../../common/types/bonus-tier.types").BonusType;
807
+ startAmount: number;
808
+ endAmount: number;
809
+ }, {
810
+ value: number;
811
+ type: import("../../../common/types/bonus-tier.types").BonusType;
812
+ startAmount: number;
813
+ endAmount: number;
814
+ }>, {
815
+ value: number;
816
+ type: import("../../../common/types/bonus-tier.types").BonusType;
817
+ startAmount: number;
818
+ endAmount: number;
819
+ }, {
820
+ value: number;
821
+ type: import("../../../common/types/bonus-tier.types").BonusType;
822
+ startAmount: number;
823
+ endAmount: number;
824
+ }>, "many">>;
825
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
826
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
827
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
828
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
829
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
830
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
831
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
832
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
608
833
  }, "strip", z.ZodTypeAny, {
609
834
  type: import("../../..").OfferingType;
610
835
  name: string;
611
836
  template: import("../../../common/types/asset.types").AssetTemplateType;
612
837
  targetAmount: number;
613
838
  issuerId: string;
839
+ warrantsEnabled: boolean;
614
840
  assetName: string;
615
841
  assetType: import("../../..").AssetType;
616
842
  pricePerUnit: number | null;
@@ -625,11 +851,29 @@ export declare const offeringsContract: {
625
851
  startAt?: Date | null | undefined;
626
852
  endAt?: Date | null | undefined;
627
853
  cancellationPeriod?: number | null | undefined;
854
+ showTotalRaised?: boolean | undefined;
855
+ hasEscrow?: boolean | undefined;
856
+ bankAccountId?: string | null | undefined;
857
+ escrowAccountId?: string | null | undefined;
858
+ totalShares?: number | null | undefined;
859
+ warrantTermYears?: number | null | undefined;
860
+ exercisePrice?: number | null | undefined;
861
+ warrantPercentage?: number | null | undefined;
862
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
863
+ incrementThreshold?: number | null | undefined;
864
+ shareClassId?: string | null | undefined;
628
865
  yield?: number | null | undefined;
629
866
  duration?: number | null | undefined;
630
867
  durationType?: import("../../..").DurationType | null | undefined;
631
868
  tiers?: number[] | null | undefined;
632
869
  enableBonus?: boolean | undefined;
870
+ interestRate?: number | null | undefined;
871
+ bonusTiers?: {
872
+ value: number;
873
+ type: import("../../../common/types/bonus-tier.types").BonusType;
874
+ startAmount: number;
875
+ endAmount: number;
876
+ }[] | undefined;
633
877
  }, {
634
878
  type: import("../../..").OfferingType;
635
879
  name: string;
@@ -650,17 +894,37 @@ export declare const offeringsContract: {
650
894
  startAt?: string | null | undefined;
651
895
  endAt?: string | null | undefined;
652
896
  cancellationPeriod?: number | null | undefined;
897
+ showTotalRaised?: boolean | undefined;
898
+ hasEscrow?: boolean | undefined;
899
+ bankAccountId?: string | null | undefined;
900
+ escrowAccountId?: string | null | undefined;
901
+ warrantsEnabled?: boolean | undefined;
902
+ totalShares?: number | null | undefined;
903
+ warrantTermYears?: number | null | undefined;
904
+ exercisePrice?: number | null | undefined;
905
+ warrantPercentage?: number | null | undefined;
906
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
907
+ incrementThreshold?: number | null | undefined;
908
+ shareClassId?: string | null | undefined;
653
909
  yield?: number | null | undefined;
654
910
  duration?: number | null | undefined;
655
911
  durationType?: import("../../..").DurationType | null | undefined;
656
912
  tiers?: number[] | null | undefined;
657
913
  enableBonus?: boolean | undefined;
914
+ interestRate?: number | null | undefined;
915
+ bonusTiers?: {
916
+ value: number;
917
+ type: import("../../../common/types/bonus-tier.types").BonusType;
918
+ startAmount: number;
919
+ endAmount: number;
920
+ }[] | undefined;
658
921
  }>, {
659
922
  type: import("../../..").OfferingType;
660
923
  name: string;
661
924
  template: import("../../../common/types/asset.types").AssetTemplateType;
662
925
  targetAmount: number;
663
926
  issuerId: string;
927
+ warrantsEnabled: boolean;
664
928
  assetName: string;
665
929
  assetType: import("../../..").AssetType;
666
930
  pricePerUnit: number | null;
@@ -675,11 +939,29 @@ export declare const offeringsContract: {
675
939
  startAt?: Date | null | undefined;
676
940
  endAt?: Date | null | undefined;
677
941
  cancellationPeriod?: number | null | undefined;
942
+ showTotalRaised?: boolean | undefined;
943
+ hasEscrow?: boolean | undefined;
944
+ bankAccountId?: string | null | undefined;
945
+ escrowAccountId?: string | null | undefined;
946
+ totalShares?: number | null | undefined;
947
+ warrantTermYears?: number | null | undefined;
948
+ exercisePrice?: number | null | undefined;
949
+ warrantPercentage?: number | null | undefined;
950
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
951
+ incrementThreshold?: number | null | undefined;
952
+ shareClassId?: string | null | undefined;
678
953
  yield?: number | null | undefined;
679
954
  duration?: number | null | undefined;
680
955
  durationType?: import("../../..").DurationType | null | undefined;
681
956
  tiers?: number[] | null | undefined;
682
957
  enableBonus?: boolean | undefined;
958
+ interestRate?: number | null | undefined;
959
+ bonusTiers?: {
960
+ value: number;
961
+ type: import("../../../common/types/bonus-tier.types").BonusType;
962
+ startAmount: number;
963
+ endAmount: number;
964
+ }[] | undefined;
683
965
  }, {
684
966
  type: import("../../..").OfferingType;
685
967
  name: string;
@@ -700,11 +982,30 @@ export declare const offeringsContract: {
700
982
  startAt?: string | null | undefined;
701
983
  endAt?: string | null | undefined;
702
984
  cancellationPeriod?: number | null | undefined;
985
+ showTotalRaised?: boolean | undefined;
986
+ hasEscrow?: boolean | undefined;
987
+ bankAccountId?: string | null | undefined;
988
+ escrowAccountId?: string | null | undefined;
989
+ warrantsEnabled?: boolean | undefined;
990
+ totalShares?: number | null | undefined;
991
+ warrantTermYears?: number | null | undefined;
992
+ exercisePrice?: number | null | undefined;
993
+ warrantPercentage?: number | null | undefined;
994
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
995
+ incrementThreshold?: number | null | undefined;
996
+ shareClassId?: string | null | undefined;
703
997
  yield?: number | null | undefined;
704
998
  duration?: number | null | undefined;
705
999
  durationType?: import("../../..").DurationType | null | undefined;
706
1000
  tiers?: number[] | null | undefined;
707
1001
  enableBonus?: boolean | undefined;
1002
+ interestRate?: number | null | undefined;
1003
+ bonusTiers?: {
1004
+ value: number;
1005
+ type: import("../../../common/types/bonus-tier.types").BonusType;
1006
+ startAmount: number;
1007
+ endAmount: number;
1008
+ }[] | undefined;
708
1009
  }>;
709
1010
  summary: "[ADMIN] Create offering";
710
1011
  path: "offerings";
@@ -0,0 +1,77 @@
1
+ export declare const reviewContract: {
2
+ postReviewKyc: {
3
+ method: "POST";
4
+ metadata: {
5
+ auth: boolean;
6
+ };
7
+ body: import("zod").ZodObject<{
8
+ individualIds: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
9
+ status: import("zod").ZodNativeEnum<typeof import("../../..").BaseStatus>;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ status: import("../../..").BaseStatus;
12
+ individualIds: string[];
13
+ }, {
14
+ status: import("../../..").BaseStatus;
15
+ individualIds: string[];
16
+ }>;
17
+ summary: "Post KYC review for individuals";
18
+ path: "review/kyc";
19
+ responses: {
20
+ 201: import("zod").ZodObject<{
21
+ individualsUpdated: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
22
+ status: import("zod").ZodNativeEnum<typeof import("../../..").BaseStatus>;
23
+ reviewedBy: import("zod").ZodString;
24
+ targetObject: import("zod").ZodAny;
25
+ }, "strip", import("zod").ZodTypeAny, {
26
+ status: import("../../..").BaseStatus;
27
+ reviewedBy: string;
28
+ individualsUpdated: string[];
29
+ targetObject?: any;
30
+ }, {
31
+ status: import("../../..").BaseStatus;
32
+ reviewedBy: string;
33
+ individualsUpdated: string[];
34
+ targetObject?: any;
35
+ }>;
36
+ 401: import("zod").ZodObject<{
37
+ status: import("zod").ZodNumber;
38
+ message: import("zod").ZodString;
39
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ message: string;
42
+ status: number;
43
+ errors: string[];
44
+ }, {
45
+ message: string;
46
+ status: number;
47
+ errors: string[];
48
+ }>;
49
+ 403: import("zod").ZodObject<{
50
+ status: import("zod").ZodNumber;
51
+ message: import("zod").ZodString;
52
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ message: string;
55
+ status: number;
56
+ errors: string[];
57
+ }, {
58
+ message: string;
59
+ status: number;
60
+ errors: string[];
61
+ }>;
62
+ 500: import("zod").ZodObject<{
63
+ status: import("zod").ZodNumber;
64
+ message: import("zod").ZodString;
65
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
66
+ }, "strip", import("zod").ZodTypeAny, {
67
+ message: string;
68
+ status: number;
69
+ errors: string[];
70
+ }, {
71
+ message: string;
72
+ status: number;
73
+ errors: string[];
74
+ }>;
75
+ };
76
+ };
77
+ };
@@ -0,0 +1,23 @@
1
+ import { initContract } from '@ts-rest/core';
2
+ import { ForbiddenError, InternalError, UnauthorizedError, PostReviewBody, PostReviewResponse, } from '../../../common/types/index.js';
3
+ const c = initContract();
4
+ export const reviewContract = c.router({
5
+ postReviewKyc: {
6
+ summary: 'Post KYC review for individuals',
7
+ method: 'POST',
8
+ path: '/kyc',
9
+ metadata: {
10
+ auth: true,
11
+ },
12
+ body: PostReviewBody,
13
+ responses: {
14
+ 201: PostReviewResponse,
15
+ 401: UnauthorizedError,
16
+ 403: ForbiddenError,
17
+ 500: InternalError,
18
+ },
19
+ },
20
+ }, {
21
+ pathPrefix: 'review',
22
+ });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CACpC;IACE,aAAa,EAAE;QACb,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE;YACR,IAAI,EAAE,IAAI;SACX;QACD,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE;YACT,GAAG,EAAE,kBAAkB;YACvB,GAAG,EAAE,iBAAiB;YACtB,GAAG,EAAE,cAAc;YACnB,GAAG,EAAE,aAAa;SACnB;KACF;CACF,EACD;IACE,UAAU,EAAE,QAAQ;CACrB,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "0.0.0-dev.9f40653",
3
+ "version": "0.0.0-dev.a0429a1",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.js",