@dalmore/api-contracts 0.0.0-dev.64aba85 → 0.0.0-dev.6728794

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 (52) hide show
  1. package/common/types/activity.types.d.ts +26 -24
  2. package/common/types/activity.types.js +4 -0
  3. package/common/types/activity.types.js.map +1 -1
  4. package/common/types/asset.types.d.ts +25 -111
  5. package/common/types/asset.types.js +24 -100
  6. package/common/types/asset.types.js.map +1 -1
  7. package/common/types/bonus-tier.types.d.ts +0 -30
  8. package/common/types/bonus-tier.types.js +1 -2
  9. package/common/types/bonus-tier.types.js.map +1 -1
  10. package/common/types/common.types.d.ts +14 -2
  11. package/common/types/common.types.js +7 -0
  12. package/common/types/common.types.js.map +1 -1
  13. package/common/types/dashboard.types.d.ts +7 -7
  14. package/common/types/disbursements.types.d.ts +100 -626
  15. package/common/types/escrow-account.types.d.ts +17 -0
  16. package/common/types/escrow-account.types.js +3 -0
  17. package/common/types/escrow-account.types.js.map +1 -1
  18. package/common/types/file.types.d.ts +15 -11
  19. package/common/types/file.types.js +2 -0
  20. package/common/types/file.types.js.map +1 -1
  21. package/common/types/index.d.ts +1 -0
  22. package/common/types/index.js +1 -0
  23. package/common/types/index.js.map +1 -1
  24. package/common/types/individuals.types.js +5 -2
  25. package/common/types/individuals.types.js.map +1 -1
  26. package/common/types/issuer-bank-account.types.d.ts +4 -276
  27. package/common/types/issuer-offering.types.d.ts +466 -73
  28. package/common/types/issuer-offering.types.js +68 -43
  29. package/common/types/issuer-offering.types.js.map +1 -1
  30. package/common/types/job-item.types.d.ts +14 -14
  31. package/common/types/note.types.d.ts +15 -15
  32. package/common/types/offering-submission.types.js +2 -2
  33. package/common/types/offering.types.d.ts +101 -41
  34. package/common/types/offering.types.js +73 -43
  35. package/common/types/offering.types.js.map +1 -1
  36. package/common/types/reports.types.d.ts +345 -0
  37. package/common/types/reports.types.js +69 -0
  38. package/common/types/reports.types.js.map +1 -0
  39. package/common/types/site.types.d.ts +0 -15
  40. package/common/types/task.types.d.ts +22 -22
  41. package/common/types/trade.types.d.ts +2 -0
  42. package/common/types/trade.types.js +2 -0
  43. package/common/types/trade.types.js.map +1 -1
  44. package/common/types/user.types.d.ts +29 -0
  45. package/common/types/user.types.js +3 -0
  46. package/common/types/user.types.js.map +1 -1
  47. package/contracts/clients/assets/index.d.ts +0 -66
  48. package/contracts/clients/files/index.d.ts +3 -3
  49. package/contracts/clients/files-public/index.d.ts +3 -3
  50. package/contracts/clients/index.d.ts +41 -107
  51. package/contracts/clients/offerings/index.d.ts +35 -35
  52. package/package.json +1 -1
@@ -426,7 +426,6 @@ export declare const offeringsContract: {
426
426
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
427
427
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
428
428
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
429
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
430
429
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
431
430
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
432
431
  assetName: z.ZodOptional<z.ZodString>;
@@ -440,10 +439,11 @@ export declare const offeringsContract: {
440
439
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
441
440
  enabled: z.ZodOptional<z.ZodBoolean>;
442
441
  enableBonus: z.ZodOptional<z.ZodBoolean>;
443
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
444
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
442
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
443
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
444
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
445
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
445
446
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
446
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
447
447
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
448
448
  type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
449
449
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -483,7 +483,6 @@ export declare const offeringsContract: {
483
483
  }, "strip", z.ZodTypeAny, {
484
484
  type?: import("../../..").OfferingType | undefined;
485
485
  name?: string | undefined;
486
- managedBy?: import("../../..").ManagedByType | undefined;
487
486
  description?: string | null | undefined;
488
487
  enabled?: boolean | undefined;
489
488
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -499,6 +498,10 @@ export declare const offeringsContract: {
499
498
  memorandumId?: string | null | undefined;
500
499
  subscriptionAgreementId?: string | null | undefined;
501
500
  showTotalRaised?: boolean | undefined;
501
+ hasEscrow?: boolean | undefined;
502
+ escrowAgreementFileId?: string | null | undefined;
503
+ bankAccountId?: string | null | undefined;
504
+ escrowAccountId?: string | null | undefined;
502
505
  assetName?: string | undefined;
503
506
  assetType?: import("../../..").AssetType | undefined;
504
507
  pricePerUnit?: number | null | undefined;
@@ -508,10 +511,7 @@ export declare const offeringsContract: {
508
511
  durationType?: import("../../..").DurationType | null | undefined;
509
512
  tiers?: number[] | null | undefined;
510
513
  enableBonus?: boolean | undefined;
511
- principalAmount?: number | null | undefined;
512
- maxTotalRaise?: number | null | undefined;
513
514
  interestRate?: number | null | undefined;
514
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
515
515
  bonusTiers?: {
516
516
  value: number;
517
517
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -521,7 +521,6 @@ export declare const offeringsContract: {
521
521
  }, {
522
522
  type?: import("../../..").OfferingType | undefined;
523
523
  name?: string | undefined;
524
- managedBy?: import("../../..").ManagedByType | undefined;
525
524
  description?: string | null | undefined;
526
525
  enabled?: boolean | undefined;
527
526
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -537,6 +536,10 @@ export declare const offeringsContract: {
537
536
  memorandumId?: string | null | undefined;
538
537
  subscriptionAgreementId?: string | null | undefined;
539
538
  showTotalRaised?: boolean | undefined;
539
+ hasEscrow?: boolean | undefined;
540
+ escrowAgreementFileId?: string | null | undefined;
541
+ bankAccountId?: string | null | undefined;
542
+ escrowAccountId?: string | null | undefined;
540
543
  assetName?: string | undefined;
541
544
  assetType?: import("../../..").AssetType | undefined;
542
545
  pricePerUnit?: number | null | undefined;
@@ -546,10 +549,7 @@ export declare const offeringsContract: {
546
549
  durationType?: import("../../..").DurationType | null | undefined;
547
550
  tiers?: number[] | null | undefined;
548
551
  enableBonus?: boolean | undefined;
549
- principalAmount?: number | null | undefined;
550
- maxTotalRaise?: number | null | undefined;
551
552
  interestRate?: number | null | undefined;
552
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
553
553
  bonusTiers?: {
554
554
  value: number;
555
555
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -559,7 +559,6 @@ export declare const offeringsContract: {
559
559
  }>, {
560
560
  type?: import("../../..").OfferingType | undefined;
561
561
  name?: string | undefined;
562
- managedBy?: import("../../..").ManagedByType | undefined;
563
562
  description?: string | null | undefined;
564
563
  enabled?: boolean | undefined;
565
564
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -575,6 +574,10 @@ export declare const offeringsContract: {
575
574
  memorandumId?: string | null | undefined;
576
575
  subscriptionAgreementId?: string | null | undefined;
577
576
  showTotalRaised?: boolean | undefined;
577
+ hasEscrow?: boolean | undefined;
578
+ escrowAgreementFileId?: string | null | undefined;
579
+ bankAccountId?: string | null | undefined;
580
+ escrowAccountId?: string | null | undefined;
578
581
  assetName?: string | undefined;
579
582
  assetType?: import("../../..").AssetType | undefined;
580
583
  pricePerUnit?: number | null | undefined;
@@ -584,10 +587,7 @@ export declare const offeringsContract: {
584
587
  durationType?: import("../../..").DurationType | null | undefined;
585
588
  tiers?: number[] | null | undefined;
586
589
  enableBonus?: boolean | undefined;
587
- principalAmount?: number | null | undefined;
588
- maxTotalRaise?: number | null | undefined;
589
590
  interestRate?: number | null | undefined;
590
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
591
591
  bonusTiers?: {
592
592
  value: number;
593
593
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -597,7 +597,6 @@ export declare const offeringsContract: {
597
597
  }, {
598
598
  type?: import("../../..").OfferingType | undefined;
599
599
  name?: string | undefined;
600
- managedBy?: import("../../..").ManagedByType | undefined;
601
600
  description?: string | null | undefined;
602
601
  enabled?: boolean | undefined;
603
602
  template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
@@ -613,6 +612,10 @@ export declare const offeringsContract: {
613
612
  memorandumId?: string | null | undefined;
614
613
  subscriptionAgreementId?: string | null | undefined;
615
614
  showTotalRaised?: boolean | undefined;
615
+ hasEscrow?: boolean | undefined;
616
+ escrowAgreementFileId?: string | null | undefined;
617
+ bankAccountId?: string | null | undefined;
618
+ escrowAccountId?: string | null | undefined;
616
619
  assetName?: string | undefined;
617
620
  assetType?: import("../../..").AssetType | undefined;
618
621
  pricePerUnit?: number | null | undefined;
@@ -622,10 +625,7 @@ export declare const offeringsContract: {
622
625
  durationType?: import("../../..").DurationType | null | undefined;
623
626
  tiers?: number[] | null | undefined;
624
627
  enableBonus?: boolean | undefined;
625
- principalAmount?: number | null | undefined;
626
- maxTotalRaise?: number | null | undefined;
627
628
  interestRate?: number | null | undefined;
628
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
629
629
  bonusTiers?: {
630
630
  value: number;
631
631
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -741,10 +741,10 @@ export declare const offeringsContract: {
741
741
  template: z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>;
742
742
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
743
743
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
744
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
745
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
744
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
745
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
746
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
746
747
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
747
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
748
748
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
749
749
  type: z.ZodNativeEnum<typeof import("../../../common/types/bonus-tier.types").BonusType>;
750
750
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -801,15 +801,15 @@ export declare const offeringsContract: {
801
801
  startAt?: Date | null | undefined;
802
802
  endAt?: Date | null | undefined;
803
803
  cancellationPeriod?: number | null | undefined;
804
+ hasEscrow?: boolean | undefined;
805
+ bankAccountId?: string | null | undefined;
806
+ escrowAccountId?: string | null | undefined;
804
807
  yield?: number | null | undefined;
805
808
  duration?: number | null | undefined;
806
809
  durationType?: import("../../..").DurationType | null | undefined;
807
810
  tiers?: number[] | null | undefined;
808
811
  enableBonus?: boolean | undefined;
809
- principalAmount?: number | null | undefined;
810
- maxTotalRaise?: number | null | undefined;
811
812
  interestRate?: number | null | undefined;
812
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
813
813
  bonusTiers?: {
814
814
  value: number;
815
815
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -836,15 +836,15 @@ export declare const offeringsContract: {
836
836
  startAt?: string | null | undefined;
837
837
  endAt?: string | null | undefined;
838
838
  cancellationPeriod?: number | null | undefined;
839
+ hasEscrow?: boolean | undefined;
840
+ bankAccountId?: string | null | undefined;
841
+ escrowAccountId?: string | null | undefined;
839
842
  yield?: number | null | undefined;
840
843
  duration?: number | null | undefined;
841
844
  durationType?: import("../../..").DurationType | null | undefined;
842
845
  tiers?: number[] | null | undefined;
843
846
  enableBonus?: boolean | undefined;
844
- principalAmount?: number | null | undefined;
845
- maxTotalRaise?: number | null | undefined;
846
847
  interestRate?: number | null | undefined;
847
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
848
848
  bonusTiers?: {
849
849
  value: number;
850
850
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -871,15 +871,15 @@ export declare const offeringsContract: {
871
871
  startAt?: Date | null | undefined;
872
872
  endAt?: Date | null | undefined;
873
873
  cancellationPeriod?: number | null | undefined;
874
+ hasEscrow?: boolean | undefined;
875
+ bankAccountId?: string | null | undefined;
876
+ escrowAccountId?: string | null | undefined;
874
877
  yield?: number | null | undefined;
875
878
  duration?: number | null | undefined;
876
879
  durationType?: import("../../..").DurationType | null | undefined;
877
880
  tiers?: number[] | null | undefined;
878
881
  enableBonus?: boolean | undefined;
879
- principalAmount?: number | null | undefined;
880
- maxTotalRaise?: number | null | undefined;
881
882
  interestRate?: number | null | undefined;
882
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
883
883
  bonusTiers?: {
884
884
  value: number;
885
885
  type: import("../../../common/types/bonus-tier.types").BonusType;
@@ -906,15 +906,15 @@ export declare const offeringsContract: {
906
906
  startAt?: string | null | undefined;
907
907
  endAt?: string | null | undefined;
908
908
  cancellationPeriod?: number | null | undefined;
909
+ hasEscrow?: boolean | undefined;
910
+ bankAccountId?: string | null | undefined;
911
+ escrowAccountId?: string | null | undefined;
909
912
  yield?: number | null | undefined;
910
913
  duration?: number | null | undefined;
911
914
  durationType?: import("../../..").DurationType | null | undefined;
912
915
  tiers?: number[] | null | undefined;
913
916
  enableBonus?: boolean | undefined;
914
- principalAmount?: number | null | undefined;
915
- maxTotalRaise?: number | null | undefined;
916
917
  interestRate?: number | null | undefined;
917
- interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
918
918
  bonusTiers?: {
919
919
  value: number;
920
920
  type: import("../../../common/types/bonus-tier.types").BonusType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "0.0.0-dev.64aba85",
3
+ "version": "0.0.0-dev.6728794",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.js",