@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
@@ -565,17 +565,6 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
565
565
  currentPayoutSeq: number;
566
566
  subsidiaryId: string;
567
567
  } | null | undefined;
568
- customer?: {
569
- status: string;
570
- id: string;
571
- isArchived: boolean;
572
- createdAt: Date;
573
- updatedAt: Date;
574
- fullName: string | null;
575
- mobile: string | null;
576
- email: string;
577
- syncedAt: Date;
578
- } | null | undefined;
579
568
  buyerName?: string | null | undefined;
580
569
  project?: {
581
570
  type: string;
@@ -599,6 +588,17 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
599
588
  companyName: string | null;
600
589
  } | null | undefined;
601
590
  } | null | undefined;
591
+ customer?: {
592
+ status: string;
593
+ id: string;
594
+ isArchived: boolean;
595
+ createdAt: Date;
596
+ updatedAt: Date;
597
+ fullName: string | null;
598
+ mobile: string | null;
599
+ email: string;
600
+ syncedAt: Date;
601
+ } | null | undefined;
602
602
  cmaTransactions?: {
603
603
  status: string;
604
604
  id: string;
@@ -715,17 +715,6 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
715
715
  currentPayoutSeq: number;
716
716
  subsidiaryId: string;
717
717
  } | null | undefined;
718
- customer?: {
719
- status: string;
720
- id: string;
721
- isArchived: boolean;
722
- createdAt: Date;
723
- updatedAt: Date;
724
- fullName: string | null;
725
- mobile: string | null;
726
- email: string;
727
- syncedAt: Date;
728
- } | null | undefined;
729
718
  buyerName?: string | null | undefined;
730
719
  project?: {
731
720
  type: string;
@@ -749,6 +738,17 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
749
738
  companyName: string | null;
750
739
  } | null | undefined;
751
740
  } | null | undefined;
741
+ customer?: {
742
+ status: string;
743
+ id: string;
744
+ isArchived: boolean;
745
+ createdAt: Date;
746
+ updatedAt: Date;
747
+ fullName: string | null;
748
+ mobile: string | null;
749
+ email: string;
750
+ syncedAt: Date;
751
+ } | null | undefined;
752
752
  cmaTransactions?: {
753
753
  status: string;
754
754
  id: string;
@@ -1153,17 +1153,6 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
1153
1153
  currentPayoutSeq: number;
1154
1154
  subsidiaryId: string;
1155
1155
  } | null | undefined;
1156
- customer?: {
1157
- status: string;
1158
- id: string;
1159
- isArchived: boolean;
1160
- createdAt: Date;
1161
- updatedAt: Date;
1162
- fullName: string | null;
1163
- mobile: string | null;
1164
- email: string;
1165
- syncedAt: Date;
1166
- } | null | undefined;
1167
1156
  buyerName?: string | null | undefined;
1168
1157
  project?: {
1169
1158
  type: string;
@@ -1187,6 +1176,17 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
1187
1176
  companyName: string | null;
1188
1177
  } | null | undefined;
1189
1178
  } | null | undefined;
1179
+ customer?: {
1180
+ status: string;
1181
+ id: string;
1182
+ isArchived: boolean;
1183
+ createdAt: Date;
1184
+ updatedAt: Date;
1185
+ fullName: string | null;
1186
+ mobile: string | null;
1187
+ email: string;
1188
+ syncedAt: Date;
1189
+ } | null | undefined;
1190
1190
  cmaTransactions?: {
1191
1191
  status: string;
1192
1192
  id: string;
@@ -1396,17 +1396,6 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
1396
1396
  currentPayoutSeq: number;
1397
1397
  subsidiaryId: string;
1398
1398
  } | null | undefined;
1399
- customer?: {
1400
- status: string;
1401
- id: string;
1402
- isArchived: boolean;
1403
- createdAt: Date;
1404
- updatedAt: Date;
1405
- fullName: string | null;
1406
- mobile: string | null;
1407
- email: string;
1408
- syncedAt: Date;
1409
- } | null | undefined;
1410
1399
  buyerName?: string | null | undefined;
1411
1400
  project?: {
1412
1401
  type: string;
@@ -1430,6 +1419,17 @@ export declare const cmaTransactionNestedSchema: z.ZodObject<{
1430
1419
  companyName: string | null;
1431
1420
  } | null | undefined;
1432
1421
  } | null | undefined;
1422
+ customer?: {
1423
+ status: string;
1424
+ id: string;
1425
+ isArchived: boolean;
1426
+ createdAt: Date;
1427
+ updatedAt: Date;
1428
+ fullName: string | null;
1429
+ mobile: string | null;
1430
+ email: string;
1431
+ syncedAt: Date;
1432
+ } | null | undefined;
1433
1433
  cmaTransactions?: {
1434
1434
  status: string;
1435
1435
  id: string;
@@ -538,17 +538,6 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
538
538
  mtaId: string;
539
539
  mtaBalanceCents: number | bigint;
540
540
  cmaBalanceCents: number | bigint;
541
- customer?: {
542
- status: string;
543
- id: string;
544
- isArchived: boolean;
545
- createdAt: Date;
546
- updatedAt: Date;
547
- fullName: string | null;
548
- mobile: string | null;
549
- email: string;
550
- syncedAt: Date;
551
- } | null | undefined;
552
541
  buyerName?: string | null | undefined;
553
542
  project?: {
554
543
  type: string;
@@ -572,6 +561,17 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
572
561
  companyName: string | null;
573
562
  } | null | undefined;
574
563
  } | null | undefined;
564
+ customer?: {
565
+ status: string;
566
+ id: string;
567
+ isArchived: boolean;
568
+ createdAt: Date;
569
+ updatedAt: Date;
570
+ fullName: string | null;
571
+ mobile: string | null;
572
+ email: string;
573
+ syncedAt: Date;
574
+ } | null | undefined;
575
575
  }, {
576
576
  status: string;
577
577
  id: string;
@@ -588,17 +588,6 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
588
588
  mtaId: string;
589
589
  mtaBalanceCents: number | bigint;
590
590
  cmaBalanceCents: number | bigint;
591
- customer?: {
592
- status: string;
593
- id: string;
594
- isArchived: boolean;
595
- createdAt: Date;
596
- updatedAt: Date;
597
- fullName: string | null;
598
- mobile: string | null;
599
- email: string;
600
- syncedAt: Date;
601
- } | null | undefined;
602
591
  buyerName?: string | null | undefined;
603
592
  project?: {
604
593
  type: string;
@@ -622,6 +611,17 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
622
611
  companyName: string | null;
623
612
  } | null | undefined;
624
613
  } | null | undefined;
614
+ customer?: {
615
+ status: string;
616
+ id: string;
617
+ isArchived: boolean;
618
+ createdAt: Date;
619
+ updatedAt: Date;
620
+ fullName: string | null;
621
+ mobile: string | null;
622
+ email: string;
623
+ syncedAt: Date;
624
+ } | null | undefined;
625
625
  }>>>>;
626
626
  status: z.ZodPipeline<z.ZodString, z.ZodNativeEnum<{
627
627
  readonly CLEARING: "clearing";
@@ -684,17 +684,6 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
684
684
  mtaId: string;
685
685
  mtaBalanceCents: number | bigint;
686
686
  cmaBalanceCents: number | bigint;
687
- customer?: {
688
- status: string;
689
- id: string;
690
- isArchived: boolean;
691
- createdAt: Date;
692
- updatedAt: Date;
693
- fullName: string | null;
694
- mobile: string | null;
695
- email: string;
696
- syncedAt: Date;
697
- } | null | undefined;
698
687
  buyerName?: string | null | undefined;
699
688
  project?: {
700
689
  type: string;
@@ -718,6 +707,17 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
718
707
  companyName: string | null;
719
708
  } | null | undefined;
720
709
  } | null | undefined;
710
+ customer?: {
711
+ status: string;
712
+ id: string;
713
+ isArchived: boolean;
714
+ createdAt: Date;
715
+ updatedAt: Date;
716
+ fullName: string | null;
717
+ mobile: string | null;
718
+ email: string;
719
+ syncedAt: Date;
720
+ } | null | undefined;
721
721
  } | null | undefined;
722
722
  }, {
723
723
  status: string;
@@ -775,17 +775,6 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
775
775
  mtaId: string;
776
776
  mtaBalanceCents: number | bigint;
777
777
  cmaBalanceCents: number | bigint;
778
- customer?: {
779
- status: string;
780
- id: string;
781
- isArchived: boolean;
782
- createdAt: Date;
783
- updatedAt: Date;
784
- fullName: string | null;
785
- mobile: string | null;
786
- email: string;
787
- syncedAt: Date;
788
- } | null | undefined;
789
778
  buyerName?: string | null | undefined;
790
779
  project?: {
791
780
  type: string;
@@ -809,6 +798,17 @@ export declare const cmaTransactionRestResBaseSchema: z.ZodObject<{
809
798
  companyName: string | null;
810
799
  } | null | undefined;
811
800
  } | null | undefined;
801
+ customer?: {
802
+ status: string;
803
+ id: string;
804
+ isArchived: boolean;
805
+ createdAt: Date;
806
+ updatedAt: Date;
807
+ fullName: string | null;
808
+ mobile: string | null;
809
+ email: string;
810
+ syncedAt: Date;
811
+ } | null | undefined;
812
812
  } | null | undefined;
813
813
  }>;
814
814
  type Input = z.input<typeof cmaTransactionRestResBaseSchema> & {