@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
@@ -541,17 +541,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
541
541
  currentPayoutSeq: number;
542
542
  subsidiaryId: string;
543
543
  } | null | undefined;
544
- customer?: {
545
- status: string;
546
- id: string;
547
- isArchived: boolean;
548
- createdAt: Date;
549
- updatedAt: Date;
550
- fullName: string | null;
551
- mobile: string | null;
552
- email: string;
553
- syncedAt: Date;
554
- } | null | undefined;
555
544
  buyerName?: string | null | undefined;
556
545
  project?: {
557
546
  type: string;
@@ -575,6 +564,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
575
564
  companyName: string | null;
576
565
  } | null | undefined;
577
566
  } | null | undefined;
567
+ customer?: {
568
+ status: string;
569
+ id: string;
570
+ isArchived: boolean;
571
+ createdAt: Date;
572
+ updatedAt: Date;
573
+ fullName: string | null;
574
+ mobile: string | null;
575
+ email: string;
576
+ syncedAt: Date;
577
+ } | null | undefined;
578
578
  cmaTransactions?: {
579
579
  status: string;
580
580
  id: string;
@@ -691,17 +691,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
691
691
  currentPayoutSeq: number;
692
692
  subsidiaryId: string;
693
693
  } | null | undefined;
694
- customer?: {
695
- status: string;
696
- id: string;
697
- isArchived: boolean;
698
- createdAt: Date;
699
- updatedAt: Date;
700
- fullName: string | null;
701
- mobile: string | null;
702
- email: string;
703
- syncedAt: Date;
704
- } | null | undefined;
705
694
  buyerName?: string | null | undefined;
706
695
  project?: {
707
696
  type: string;
@@ -725,6 +714,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
725
714
  companyName: string | null;
726
715
  } | null | undefined;
727
716
  } | null | undefined;
717
+ customer?: {
718
+ status: string;
719
+ id: string;
720
+ isArchived: boolean;
721
+ createdAt: Date;
722
+ updatedAt: Date;
723
+ fullName: string | null;
724
+ mobile: string | null;
725
+ email: string;
726
+ syncedAt: Date;
727
+ } | null | undefined;
728
728
  cmaTransactions?: {
729
729
  status: string;
730
730
  id: string;
@@ -843,17 +843,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
843
843
  currentPayoutSeq: number;
844
844
  subsidiaryId: string;
845
845
  } | null | undefined;
846
- customer?: {
847
- status: string;
848
- id: string;
849
- isArchived: boolean;
850
- createdAt: Date;
851
- updatedAt: Date;
852
- fullName: string | null;
853
- mobile: string | null;
854
- email: string;
855
- syncedAt: Date;
856
- } | null | undefined;
857
846
  buyerName?: string | null | undefined;
858
847
  project?: {
859
848
  type: string;
@@ -877,6 +866,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
877
866
  companyName: string | null;
878
867
  } | null | undefined;
879
868
  } | null | undefined;
869
+ customer?: {
870
+ status: string;
871
+ id: string;
872
+ isArchived: boolean;
873
+ createdAt: Date;
874
+ updatedAt: Date;
875
+ fullName: string | null;
876
+ mobile: string | null;
877
+ email: string;
878
+ syncedAt: Date;
879
+ } | null | undefined;
880
880
  cmaTransactions?: {
881
881
  status: string;
882
882
  id: string;
@@ -995,17 +995,6 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
995
995
  currentPayoutSeq: number;
996
996
  subsidiaryId: string;
997
997
  } | null | undefined;
998
- customer?: {
999
- status: string;
1000
- id: string;
1001
- isArchived: boolean;
1002
- createdAt: Date;
1003
- updatedAt: Date;
1004
- fullName: string | null;
1005
- mobile: string | null;
1006
- email: string;
1007
- syncedAt: Date;
1008
- } | null | undefined;
1009
998
  buyerName?: string | null | undefined;
1010
999
  project?: {
1011
1000
  type: string;
@@ -1029,6 +1018,17 @@ export declare const cmaNestedEntitySchema: z.ZodObject<{
1029
1018
  companyName: string | null;
1030
1019
  } | null | undefined;
1031
1020
  } | null | undefined;
1021
+ customer?: {
1022
+ status: string;
1023
+ id: string;
1024
+ isArchived: boolean;
1025
+ createdAt: Date;
1026
+ updatedAt: Date;
1027
+ fullName: string | null;
1028
+ mobile: string | null;
1029
+ email: string;
1030
+ syncedAt: Date;
1031
+ } | null | undefined;
1032
1032
  cmaTransactions?: {
1033
1033
  status: string;
1034
1034
  id: string;
@@ -527,17 +527,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
527
527
  mtaId: string;
528
528
  mtaBalanceCents: number | bigint;
529
529
  cmaBalanceCents: number | bigint;
530
- customer?: {
531
- status: string;
532
- id: string;
533
- isArchived: boolean;
534
- createdAt: Date;
535
- updatedAt: Date;
536
- fullName: string | null;
537
- mobile: string | null;
538
- email: string;
539
- syncedAt: Date;
540
- } | null | undefined;
541
530
  buyerName?: string | null | undefined;
542
531
  project?: {
543
532
  type: string;
@@ -561,6 +550,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
561
550
  companyName: string | null;
562
551
  } | null | undefined;
563
552
  } | null | undefined;
553
+ customer?: {
554
+ status: string;
555
+ id: string;
556
+ isArchived: boolean;
557
+ createdAt: Date;
558
+ updatedAt: Date;
559
+ fullName: string | null;
560
+ mobile: string | null;
561
+ email: string;
562
+ syncedAt: Date;
563
+ } | null | undefined;
564
564
  }, {
565
565
  status: string;
566
566
  id: string;
@@ -577,17 +577,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
577
577
  mtaId: string;
578
578
  mtaBalanceCents: number | bigint;
579
579
  cmaBalanceCents: number | bigint;
580
- customer?: {
581
- status: string;
582
- id: string;
583
- isArchived: boolean;
584
- createdAt: Date;
585
- updatedAt: Date;
586
- fullName: string | null;
587
- mobile: string | null;
588
- email: string;
589
- syncedAt: Date;
590
- } | null | undefined;
591
580
  buyerName?: string | null | undefined;
592
581
  project?: {
593
582
  type: string;
@@ -611,6 +600,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
611
600
  companyName: string | null;
612
601
  } | null | undefined;
613
602
  } | null | undefined;
603
+ customer?: {
604
+ status: string;
605
+ id: string;
606
+ isArchived: boolean;
607
+ createdAt: Date;
608
+ updatedAt: Date;
609
+ fullName: string | null;
610
+ mobile: string | null;
611
+ email: string;
612
+ syncedAt: Date;
613
+ } | null | undefined;
614
614
  }>>>;
615
615
  }, "strip", z.ZodTypeAny, {
616
616
  status: "active" | "inactive";
@@ -648,17 +648,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
648
648
  mtaId: string;
649
649
  mtaBalanceCents: number | bigint;
650
650
  cmaBalanceCents: number | bigint;
651
- customer?: {
652
- status: string;
653
- id: string;
654
- isArchived: boolean;
655
- createdAt: Date;
656
- updatedAt: Date;
657
- fullName: string | null;
658
- mobile: string | null;
659
- email: string;
660
- syncedAt: Date;
661
- } | null | undefined;
662
651
  buyerName?: string | null | undefined;
663
652
  project?: {
664
653
  type: string;
@@ -682,6 +671,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
682
671
  companyName: string | null;
683
672
  } | null | undefined;
684
673
  } | null | undefined;
674
+ customer?: {
675
+ status: string;
676
+ id: string;
677
+ isArchived: boolean;
678
+ createdAt: Date;
679
+ updatedAt: Date;
680
+ fullName: string | null;
681
+ mobile: string | null;
682
+ email: string;
683
+ syncedAt: Date;
684
+ } | null | undefined;
685
685
  } | undefined;
686
686
  }, {
687
687
  status: string;
@@ -719,17 +719,6 @@ export declare const cmaRestResSchema: z.ZodObject<{
719
719
  mtaId: string;
720
720
  mtaBalanceCents: number | bigint;
721
721
  cmaBalanceCents: number | bigint;
722
- customer?: {
723
- status: string;
724
- id: string;
725
- isArchived: boolean;
726
- createdAt: Date;
727
- updatedAt: Date;
728
- fullName: string | null;
729
- mobile: string | null;
730
- email: string;
731
- syncedAt: Date;
732
- } | null | undefined;
733
722
  buyerName?: string | null | undefined;
734
723
  project?: {
735
724
  type: string;
@@ -753,6 +742,17 @@ export declare const cmaRestResSchema: z.ZodObject<{
753
742
  companyName: string | null;
754
743
  } | null | undefined;
755
744
  } | null | undefined;
745
+ customer?: {
746
+ status: string;
747
+ id: string;
748
+ isArchived: boolean;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ fullName: string | null;
752
+ mobile: string | null;
753
+ email: string;
754
+ syncedAt: Date;
755
+ } | null | undefined;
756
756
  } | undefined;
757
757
  }>;
758
758
  export type CmaRestRes = z.infer<typeof cmaRestResSchema>;