@dalmore/api-contracts 0.0.0-dev.a0bb940 → 0.0.0-dev.a891c15

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 +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 +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/bonus-tier.types.d.ts +15 -4
  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 +77 -62
  17. package/common/types/cap-table.types.js +17 -0
  18. package/common/types/cap-table.types.js.map +1 -1
  19. package/common/types/common.types.d.ts +359 -6
  20. package/common/types/common.types.js +71 -1
  21. package/common/types/common.types.js.map +1 -1
  22. package/common/types/comply-advantage-api.types.d.ts +133 -466
  23. package/common/types/comply-advantage-api.types.js +24 -3
  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 +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 +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 +5 -2
  44. package/common/types/individuals.types.js.map +1 -1
  45. package/common/types/investor-account.types.d.ts +5 -5
  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/issuer-bank-account.types.d.ts +4 -276
  49. package/common/types/issuer-offering.types.d.ts +829 -14
  50. package/common/types/issuer-offering.types.js +278 -25
  51. package/common/types/issuer-offering.types.js.map +1 -1
  52. package/common/types/job-item.types.d.ts +14 -14
  53. package/common/types/note.types.d.ts +15 -15
  54. package/common/types/offering-submission.types.d.ts +198 -0
  55. package/common/types/offering-submission.types.js +16 -3
  56. package/common/types/offering-submission.types.js.map +1 -1
  57. package/common/types/offering.types.d.ts +534 -20
  58. package/common/types/offering.types.js +309 -26
  59. package/common/types/offering.types.js.map +1 -1
  60. package/common/types/portfolio.types.d.ts +6 -6
  61. package/common/types/reports.types.d.ts +345 -0
  62. package/common/types/reports.types.js +69 -0
  63. package/common/types/reports.types.js.map +1 -0
  64. package/common/types/secondary-order.types.d.ts +10 -10
  65. package/common/types/secondary-trade.types.d.ts +10 -10
  66. package/common/types/signer.types.d.ts +23 -11
  67. package/common/types/signer.types.js +16 -1
  68. package/common/types/signer.types.js.map +1 -1
  69. package/common/types/site.types.d.ts +17 -12
  70. package/common/types/task.types.d.ts +22 -22
  71. package/common/types/trade-line-item.types.d.ts +12 -12
  72. package/common/types/trade.types.d.ts +47 -45
  73. package/common/types/trade.types.js +10 -3
  74. package/common/types/trade.types.js.map +1 -1
  75. package/common/types/transaction.types.d.ts +80 -2
  76. package/common/types/transaction.types.js +22 -3
  77. package/common/types/transaction.types.js.map +1 -1
  78. package/common/types/user.types.d.ts +191 -59
  79. package/common/types/user.types.js +9 -1
  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 +335 -17
  85. package/contracts/clients/offerings/index.d.ts +303 -7
  86. package/contracts/clients/trades/index.d.ts +4 -4
  87. package/package.json +1 -1
@@ -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,60 @@ 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>>>;
608
832
  }, "strip", z.ZodTypeAny, {
609
833
  type: import("../../..").OfferingType;
610
834
  name: string;
611
835
  template: import("../../../common/types/asset.types").AssetTemplateType;
612
836
  targetAmount: number;
613
837
  issuerId: string;
838
+ warrantsEnabled: boolean;
614
839
  assetName: string;
615
840
  assetType: import("../../..").AssetType;
616
841
  pricePerUnit: number | null;
@@ -625,11 +850,28 @@ export declare const offeringsContract: {
625
850
  startAt?: Date | null | undefined;
626
851
  endAt?: Date | null | undefined;
627
852
  cancellationPeriod?: number | null | undefined;
853
+ hasEscrow?: boolean | undefined;
854
+ bankAccountId?: string | null | undefined;
855
+ escrowAccountId?: string | null | undefined;
856
+ totalShares?: number | null | undefined;
857
+ warrantTermYears?: number | null | undefined;
858
+ exercisePrice?: number | null | undefined;
859
+ warrantPercentage?: number | null | undefined;
860
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
861
+ incrementThreshold?: number | null | undefined;
862
+ shareClassId?: string | null | undefined;
628
863
  yield?: number | null | undefined;
629
864
  duration?: number | null | undefined;
630
865
  durationType?: import("../../..").DurationType | null | undefined;
631
866
  tiers?: number[] | null | undefined;
632
867
  enableBonus?: boolean | undefined;
868
+ interestRate?: number | null | undefined;
869
+ bonusTiers?: {
870
+ value: number;
871
+ type: import("../../../common/types/bonus-tier.types").BonusType;
872
+ startAmount: number;
873
+ endAmount: number;
874
+ }[] | undefined;
633
875
  }, {
634
876
  type: import("../../..").OfferingType;
635
877
  name: string;
@@ -650,17 +892,36 @@ export declare const offeringsContract: {
650
892
  startAt?: string | null | undefined;
651
893
  endAt?: string | null | undefined;
652
894
  cancellationPeriod?: number | null | undefined;
895
+ hasEscrow?: boolean | undefined;
896
+ bankAccountId?: string | null | undefined;
897
+ escrowAccountId?: string | null | undefined;
898
+ warrantsEnabled?: boolean | undefined;
899
+ totalShares?: number | null | undefined;
900
+ warrantTermYears?: number | null | undefined;
901
+ exercisePrice?: number | null | undefined;
902
+ warrantPercentage?: number | null | undefined;
903
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
904
+ incrementThreshold?: number | null | undefined;
905
+ shareClassId?: string | null | undefined;
653
906
  yield?: number | null | undefined;
654
907
  duration?: number | null | undefined;
655
908
  durationType?: import("../../..").DurationType | null | undefined;
656
909
  tiers?: number[] | null | undefined;
657
910
  enableBonus?: boolean | undefined;
911
+ interestRate?: number | null | undefined;
912
+ bonusTiers?: {
913
+ value: number;
914
+ type: import("../../../common/types/bonus-tier.types").BonusType;
915
+ startAmount: number;
916
+ endAmount: number;
917
+ }[] | undefined;
658
918
  }>, {
659
919
  type: import("../../..").OfferingType;
660
920
  name: string;
661
921
  template: import("../../../common/types/asset.types").AssetTemplateType;
662
922
  targetAmount: number;
663
923
  issuerId: string;
924
+ warrantsEnabled: boolean;
664
925
  assetName: string;
665
926
  assetType: import("../../..").AssetType;
666
927
  pricePerUnit: number | null;
@@ -675,11 +936,28 @@ export declare const offeringsContract: {
675
936
  startAt?: Date | null | undefined;
676
937
  endAt?: Date | null | undefined;
677
938
  cancellationPeriod?: number | null | undefined;
939
+ hasEscrow?: boolean | undefined;
940
+ bankAccountId?: string | null | undefined;
941
+ escrowAccountId?: string | null | undefined;
942
+ totalShares?: number | null | undefined;
943
+ warrantTermYears?: number | null | undefined;
944
+ exercisePrice?: number | null | undefined;
945
+ warrantPercentage?: number | null | undefined;
946
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
947
+ incrementThreshold?: number | null | undefined;
948
+ shareClassId?: string | null | undefined;
678
949
  yield?: number | null | undefined;
679
950
  duration?: number | null | undefined;
680
951
  durationType?: import("../../..").DurationType | null | undefined;
681
952
  tiers?: number[] | null | undefined;
682
953
  enableBonus?: boolean | undefined;
954
+ interestRate?: number | null | undefined;
955
+ bonusTiers?: {
956
+ value: number;
957
+ type: import("../../../common/types/bonus-tier.types").BonusType;
958
+ startAmount: number;
959
+ endAmount: number;
960
+ }[] | undefined;
683
961
  }, {
684
962
  type: import("../../..").OfferingType;
685
963
  name: string;
@@ -700,11 +978,29 @@ export declare const offeringsContract: {
700
978
  startAt?: string | null | undefined;
701
979
  endAt?: string | null | undefined;
702
980
  cancellationPeriod?: number | null | undefined;
981
+ hasEscrow?: boolean | undefined;
982
+ bankAccountId?: string | null | undefined;
983
+ escrowAccountId?: string | null | undefined;
984
+ warrantsEnabled?: boolean | undefined;
985
+ totalShares?: number | null | undefined;
986
+ warrantTermYears?: number | null | undefined;
987
+ exercisePrice?: number | null | undefined;
988
+ warrantPercentage?: number | null | undefined;
989
+ calculationMethod?: import("../../..").WarrantSharesCalculationMethod | null | undefined;
990
+ incrementThreshold?: number | null | undefined;
991
+ shareClassId?: string | null | undefined;
703
992
  yield?: number | null | undefined;
704
993
  duration?: number | null | undefined;
705
994
  durationType?: import("../../..").DurationType | null | undefined;
706
995
  tiers?: number[] | null | undefined;
707
996
  enableBonus?: boolean | undefined;
997
+ interestRate?: number | null | undefined;
998
+ bonusTiers?: {
999
+ value: number;
1000
+ type: import("../../../common/types/bonus-tier.types").BonusType;
1001
+ startAmount: number;
1002
+ endAmount: number;
1003
+ }[] | undefined;
708
1004
  }>;
709
1005
  summary: "[ADMIN] Create offering";
710
1006
  path: "offerings";
@@ -315,13 +315,13 @@ export declare const tradesContract: {
315
315
  investorAccountId: string | null;
316
316
  paymentMethodId: string | null;
317
317
  investmentType: import("../../..").InvestmentType;
318
- pricePerShare: number;
318
+ purchasedShares: number;
319
319
  bonusShares: number | null;
320
320
  totalNumberOfShares: number;
321
+ pricePerShare: number;
321
322
  totalAmount: number | null;
322
323
  tradeStatusUnmapped: string | null;
323
324
  tradeDate: Date | null;
324
- purchasedShares: number;
325
325
  __entity?: string | undefined;
326
326
  }, {
327
327
  id: string;
@@ -335,13 +335,13 @@ export declare const tradesContract: {
335
335
  investorAccountId: string | null;
336
336
  paymentMethodId: string | null;
337
337
  investmentType: import("../../..").InvestmentType;
338
- pricePerShare: number;
338
+ purchasedShares: number;
339
339
  bonusShares: number | null;
340
340
  totalNumberOfShares: number;
341
+ pricePerShare: number;
341
342
  totalAmount: number | null;
342
343
  tradeStatusUnmapped: string | null;
343
344
  tradeDate: Date | null;
344
- purchasedShares: number;
345
345
  __entity?: string | undefined;
346
346
  }>;
347
347
  401: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "0.0.0-dev.a0bb940",
3
+ "version": "0.0.0-dev.a891c15",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.js",