@mikemo-coposit/am-accounting-shared 0.0.8 → 0.0.9

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 (95) hide show
  1. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts +13 -0
  2. package/dist/cjs/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
  3. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts +6 -5
  4. package/dist/cjs/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  5. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +10 -0
  6. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  7. package/dist/cjs/index.js +211 -155
  8. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +44 -44
  9. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +44 -44
  10. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +399 -399
  11. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +66 -66
  12. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +220 -220
  13. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +44 -44
  14. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +44 -44
  15. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +417 -417
  16. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  17. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +138 -138
  18. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  19. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  20. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +50 -47
  21. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  22. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +1487 -1487
  23. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -1
  24. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +4007 -4007
  25. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  26. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +675 -675
  27. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  28. package/dist/cjs/schemas/property/property.entity.schema.d.ts +22 -22
  29. package/dist/cjs/schemas/property/property.rest.schema.d.ts +292 -292
  30. package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
  31. package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts +57 -0
  32. package/dist/cjs/schemas/report/bank-reconciliation-summary.schema.d.ts.map +1 -0
  33. package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +58 -0
  34. package/dist/cjs/schemas/report/common-report-with-cma-selection.rest.schema.d.ts.map +1 -0
  35. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
  36. package/dist/cjs/schemas/report/index.d.ts +5 -0
  37. package/dist/cjs/schemas/report/index.d.ts.map +1 -1
  38. package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts +34 -0
  39. package/dist/cjs/schemas/report/payment-list.rest.schema.d.ts.map +1 -0
  40. package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts +57 -0
  41. package/dist/cjs/schemas/report/reconciled-items-list.rest.schema.d.ts.map +1 -0
  42. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +10 -6
  43. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts.map +1 -1
  44. package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts +57 -0
  45. package/dist/cjs/schemas/report/unreconciled-items-list.rest.schema.d.ts.map +1 -0
  46. package/dist/cjs/utils/property.util.d.ts +1 -1
  47. package/dist/cjs/utils/property.util.d.ts.map +1 -1
  48. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts +13 -0
  49. package/dist/esm/constants/cma-transaction/cma-input-type.constant.d.ts.map +1 -1
  50. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts +6 -5
  51. package/dist/esm/constants/mta-transaction/mta-input-type.constant.d.ts.map +1 -1
  52. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +10 -0
  53. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  54. package/dist/esm/index.mjs +58 -35
  55. package/dist/esm/schemas/cma/cma.entity.schema.d.ts +44 -44
  56. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +44 -44
  57. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +399 -399
  58. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +66 -66
  59. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +220 -220
  60. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +44 -44
  61. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +44 -44
  62. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +417 -417
  63. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  64. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +138 -138
  65. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  66. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  67. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +50 -47
  68. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  69. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +1487 -1487
  70. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts.map +1 -1
  71. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +4007 -4007
  72. package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  73. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +675 -675
  74. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  75. package/dist/esm/schemas/property/property.entity.schema.d.ts +22 -22
  76. package/dist/esm/schemas/property/property.rest.schema.d.ts +292 -292
  77. package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
  78. package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts +57 -0
  79. package/dist/esm/schemas/report/bank-reconciliation-summary.schema.d.ts.map +1 -0
  80. package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts +58 -0
  81. package/dist/esm/schemas/report/common-report-with-cma-selection.rest.schema.d.ts.map +1 -0
  82. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +2 -2
  83. package/dist/esm/schemas/report/index.d.ts +5 -0
  84. package/dist/esm/schemas/report/index.d.ts.map +1 -1
  85. package/dist/esm/schemas/report/payment-list.rest.schema.d.ts +34 -0
  86. package/dist/esm/schemas/report/payment-list.rest.schema.d.ts.map +1 -0
  87. package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts +57 -0
  88. package/dist/esm/schemas/report/reconciled-items-list.rest.schema.d.ts.map +1 -0
  89. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +10 -6
  90. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts.map +1 -1
  91. package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts +57 -0
  92. package/dist/esm/schemas/report/unreconciled-items-list.rest.schema.d.ts.map +1 -0
  93. package/dist/esm/utils/property.util.d.ts +1 -1
  94. package/dist/esm/utils/property.util.d.ts.map +1 -1
  95. package/package.json +18 -26
@@ -535,17 +535,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
535
535
  mtaId: string;
536
536
  mtaBalanceCents: number | bigint;
537
537
  cmaBalanceCents: number | bigint;
538
- customer?: {
539
- status: string;
540
- id: string;
541
- isArchived: boolean;
542
- createdAt: Date;
543
- updatedAt: Date;
544
- fullName: string | null;
545
- mobile: string | null;
546
- email: string;
547
- syncedAt: Date;
548
- } | null | undefined;
549
538
  buyerName?: string | null | undefined;
550
539
  project?: {
551
540
  type: string;
@@ -569,6 +558,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
569
558
  companyName: string | null;
570
559
  } | null | undefined;
571
560
  } | null | undefined;
561
+ customer?: {
562
+ status: string;
563
+ id: string;
564
+ isArchived: boolean;
565
+ createdAt: Date;
566
+ updatedAt: Date;
567
+ fullName: string | null;
568
+ mobile: string | null;
569
+ email: string;
570
+ syncedAt: Date;
571
+ } | null | undefined;
572
572
  }, {
573
573
  status: string;
574
574
  id: string;
@@ -585,17 +585,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
585
585
  mtaId: string;
586
586
  mtaBalanceCents: number | bigint;
587
587
  cmaBalanceCents: number | bigint;
588
- customer?: {
589
- status: string;
590
- id: string;
591
- isArchived: boolean;
592
- createdAt: Date;
593
- updatedAt: Date;
594
- fullName: string | null;
595
- mobile: string | null;
596
- email: string;
597
- syncedAt: Date;
598
- } | null | undefined;
599
588
  buyerName?: string | null | undefined;
600
589
  project?: {
601
590
  type: string;
@@ -619,6 +608,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
619
608
  companyName: string | null;
620
609
  } | null | undefined;
621
610
  } | null | undefined;
611
+ customer?: {
612
+ status: string;
613
+ id: string;
614
+ isArchived: boolean;
615
+ createdAt: Date;
616
+ updatedAt: Date;
617
+ fullName: string | null;
618
+ mobile: string | null;
619
+ email: string;
620
+ syncedAt: Date;
621
+ } | null | undefined;
622
622
  }>>>;
623
623
  }, "strip", z.ZodTypeAny, {
624
624
  status: "active" | "inactive";
@@ -656,17 +656,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
656
656
  mtaId: string;
657
657
  mtaBalanceCents: number | bigint;
658
658
  cmaBalanceCents: number | bigint;
659
- customer?: {
660
- status: string;
661
- id: string;
662
- isArchived: boolean;
663
- createdAt: Date;
664
- updatedAt: Date;
665
- fullName: string | null;
666
- mobile: string | null;
667
- email: string;
668
- syncedAt: Date;
669
- } | null | undefined;
670
659
  buyerName?: string | null | undefined;
671
660
  project?: {
672
661
  type: string;
@@ -690,6 +679,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
690
679
  companyName: string | null;
691
680
  } | null | undefined;
692
681
  } | null | undefined;
682
+ customer?: {
683
+ status: string;
684
+ id: string;
685
+ isArchived: boolean;
686
+ createdAt: Date;
687
+ updatedAt: Date;
688
+ fullName: string | null;
689
+ mobile: string | null;
690
+ email: string;
691
+ syncedAt: Date;
692
+ } | null | undefined;
693
693
  } | undefined;
694
694
  }, {
695
695
  status: string;
@@ -727,17 +727,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
727
727
  mtaId: string;
728
728
  mtaBalanceCents: number | bigint;
729
729
  cmaBalanceCents: number | bigint;
730
- customer?: {
731
- status: string;
732
- id: string;
733
- isArchived: boolean;
734
- createdAt: Date;
735
- updatedAt: Date;
736
- fullName: string | null;
737
- mobile: string | null;
738
- email: string;
739
- syncedAt: Date;
740
- } | null | undefined;
741
730
  buyerName?: string | null | undefined;
742
731
  project?: {
743
732
  type: string;
@@ -761,6 +750,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
761
750
  companyName: string | null;
762
751
  } | null | undefined;
763
752
  } | null | undefined;
753
+ customer?: {
754
+ status: string;
755
+ id: string;
756
+ isArchived: boolean;
757
+ createdAt: Date;
758
+ updatedAt: Date;
759
+ fullName: string | null;
760
+ mobile: string | null;
761
+ email: string;
762
+ syncedAt: Date;
763
+ } | null | undefined;
764
764
  } | undefined;
765
765
  }>>>;
766
766
  }, "strip", z.ZodTypeAny, {
@@ -812,17 +812,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
812
812
  mtaId: string;
813
813
  mtaBalanceCents: number | bigint;
814
814
  cmaBalanceCents: number | bigint;
815
- customer?: {
816
- status: string;
817
- id: string;
818
- isArchived: boolean;
819
- createdAt: Date;
820
- updatedAt: Date;
821
- fullName: string | null;
822
- mobile: string | null;
823
- email: string;
824
- syncedAt: Date;
825
- } | null | undefined;
826
815
  buyerName?: string | null | undefined;
827
816
  project?: {
828
817
  type: string;
@@ -846,6 +835,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
846
835
  companyName: string | null;
847
836
  } | null | undefined;
848
837
  } | null | undefined;
838
+ customer?: {
839
+ status: string;
840
+ id: string;
841
+ isArchived: boolean;
842
+ createdAt: Date;
843
+ updatedAt: Date;
844
+ fullName: string | null;
845
+ mobile: string | null;
846
+ email: string;
847
+ syncedAt: Date;
848
+ } | null | undefined;
849
849
  } | undefined;
850
850
  } | undefined;
851
851
  closingBalanceCents?: number | null | undefined;
@@ -901,17 +901,6 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
901
901
  mtaId: string;
902
902
  mtaBalanceCents: number | bigint;
903
903
  cmaBalanceCents: number | bigint;
904
- customer?: {
905
- status: string;
906
- id: string;
907
- isArchived: boolean;
908
- createdAt: Date;
909
- updatedAt: Date;
910
- fullName: string | null;
911
- mobile: string | null;
912
- email: string;
913
- syncedAt: Date;
914
- } | null | undefined;
915
904
  buyerName?: string | null | undefined;
916
905
  project?: {
917
906
  type: string;
@@ -935,6 +924,17 @@ export declare const cmaAccountPeriodRestResSchema: z.ZodObject<{
935
924
  companyName: string | null;
936
925
  } | null | undefined;
937
926
  } | null | undefined;
927
+ customer?: {
928
+ status: string;
929
+ id: string;
930
+ isArchived: boolean;
931
+ createdAt: Date;
932
+ updatedAt: Date;
933
+ fullName: string | null;
934
+ mobile: string | null;
935
+ email: string;
936
+ syncedAt: Date;
937
+ } | null | undefined;
938
938
  } | undefined;
939
939
  } | undefined;
940
940
  closingBalanceCents?: string | number | bigint | null | undefined;