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

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 +8 -9
@@ -363,17 +363,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
363
363
  mtaId: string;
364
364
  mtaBalanceCents: number | bigint;
365
365
  cmaBalanceCents: number | bigint;
366
- customer?: {
367
- status: string;
368
- id: string;
369
- isArchived: boolean;
370
- createdAt: Date;
371
- updatedAt: Date;
372
- fullName: string | null;
373
- mobile: string | null;
374
- email: string;
375
- syncedAt: Date;
376
- } | null | undefined;
377
366
  buyerName?: string | null | undefined;
378
367
  project?: {
379
368
  type: string;
@@ -397,6 +386,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
397
386
  companyName: string | null;
398
387
  } | null | undefined;
399
388
  } | null | undefined;
389
+ customer?: {
390
+ status: string;
391
+ id: string;
392
+ isArchived: boolean;
393
+ createdAt: Date;
394
+ updatedAt: Date;
395
+ fullName: string | null;
396
+ mobile: string | null;
397
+ email: string;
398
+ syncedAt: Date;
399
+ } | null | undefined;
400
400
  } | null | undefined;
401
401
  } & {
402
402
  cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
@@ -456,17 +456,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
456
456
  mtaId: string;
457
457
  mtaBalanceCents: number | bigint;
458
458
  cmaBalanceCents: number | bigint;
459
- customer?: {
460
- status: string;
461
- id: string;
462
- isArchived: boolean;
463
- createdAt: Date;
464
- updatedAt: Date;
465
- fullName: string | null;
466
- mobile: string | null;
467
- email: string;
468
- syncedAt: Date;
469
- } | null | undefined;
470
459
  buyerName?: string | null | undefined;
471
460
  project?: {
472
461
  type: string;
@@ -490,6 +479,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
490
479
  companyName: string | null;
491
480
  } | null | undefined;
492
481
  } | null | undefined;
482
+ customer?: {
483
+ status: string;
484
+ id: string;
485
+ isArchived: boolean;
486
+ createdAt: Date;
487
+ updatedAt: Date;
488
+ fullName: string | null;
489
+ mobile: string | null;
490
+ email: string;
491
+ syncedAt: Date;
492
+ } | null | undefined;
493
493
  } | null | undefined;
494
494
  } & any, "cma"> | null | undefined;
495
495
  subsequentTransactions?: Omit<{
@@ -548,17 +548,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
548
548
  mtaId: string;
549
549
  mtaBalanceCents: number | bigint;
550
550
  cmaBalanceCents: number | bigint;
551
- customer?: {
552
- status: string;
553
- id: string;
554
- isArchived: boolean;
555
- createdAt: Date;
556
- updatedAt: Date;
557
- fullName: string | null;
558
- mobile: string | null;
559
- email: string;
560
- syncedAt: Date;
561
- } | null | undefined;
562
551
  buyerName?: string | null | undefined;
563
552
  project?: {
564
553
  type: string;
@@ -582,6 +571,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
582
571
  companyName: string | null;
583
572
  } | null | undefined;
584
573
  } | null | undefined;
574
+ customer?: {
575
+ status: string;
576
+ id: string;
577
+ isArchived: boolean;
578
+ createdAt: Date;
579
+ updatedAt: Date;
580
+ fullName: string | null;
581
+ mobile: string | null;
582
+ email: string;
583
+ syncedAt: Date;
584
+ } | null | undefined;
585
585
  } | null | undefined;
586
586
  } & any, "cma">[] | null | undefined;
587
587
  reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -648,17 +648,6 @@ export declare const propertyRestResSchema: 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 propertyRestResSchema: 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
  } | null | undefined;
686
686
  } & {
687
687
  cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
@@ -741,17 +741,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
741
741
  mtaId: string;
742
742
  mtaBalanceCents: number | bigint;
743
743
  cmaBalanceCents: number | bigint;
744
- customer?: {
745
- status: string;
746
- id: string;
747
- isArchived: boolean;
748
- createdAt: Date;
749
- updatedAt: Date;
750
- fullName: string | null;
751
- mobile: string | null;
752
- email: string;
753
- syncedAt: Date;
754
- } | null | undefined;
755
744
  buyerName?: string | null | undefined;
756
745
  project?: {
757
746
  type: string;
@@ -775,6 +764,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
775
764
  companyName: string | null;
776
765
  } | null | undefined;
777
766
  } | null | undefined;
767
+ customer?: {
768
+ status: string;
769
+ id: string;
770
+ isArchived: boolean;
771
+ createdAt: Date;
772
+ updatedAt: Date;
773
+ fullName: string | null;
774
+ mobile: string | null;
775
+ email: string;
776
+ syncedAt: Date;
777
+ } | null | undefined;
778
778
  } | null | undefined;
779
779
  } & any) | null | undefined;
780
780
  subsequentTransactions?: ({
@@ -833,17 +833,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
833
833
  mtaId: string;
834
834
  mtaBalanceCents: number | bigint;
835
835
  cmaBalanceCents: number | bigint;
836
- customer?: {
837
- status: string;
838
- id: string;
839
- isArchived: boolean;
840
- createdAt: Date;
841
- updatedAt: Date;
842
- fullName: string | null;
843
- mobile: string | null;
844
- email: string;
845
- syncedAt: Date;
846
- } | null | undefined;
847
836
  buyerName?: string | null | undefined;
848
837
  project?: {
849
838
  type: string;
@@ -867,13 +856,24 @@ export declare const propertyRestResSchema: z.ZodObject<{
867
856
  companyName: string | null;
868
857
  } | null | undefined;
869
858
  } | null | undefined;
859
+ customer?: {
860
+ status: string;
861
+ id: string;
862
+ isArchived: boolean;
863
+ createdAt: Date;
864
+ updatedAt: Date;
865
+ fullName: string | null;
866
+ mobile: string | null;
867
+ email: string;
868
+ syncedAt: Date;
869
+ } | null | undefined;
870
870
  } | null | undefined;
871
871
  } & any)[] | null | undefined;
872
872
  reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
873
873
  payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
874
874
  }>, "many">>>;
875
875
  mtaTransactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
876
- status: import("../..").AccountingCommonStatus;
876
+ status: "clearing" | "cleared" | "reconciled";
877
877
  id: string;
878
878
  propertyId: string | null;
879
879
  balanceCents: number;
@@ -929,17 +929,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
929
929
  mtaId: string;
930
930
  mtaBalanceCents: number | bigint;
931
931
  cmaBalanceCents: number | bigint;
932
- customer?: {
933
- status: string;
934
- id: string;
935
- isArchived: boolean;
936
- createdAt: Date;
937
- updatedAt: Date;
938
- fullName: string | null;
939
- mobile: string | null;
940
- email: string;
941
- syncedAt: Date;
942
- } | null | undefined;
943
932
  buyerName?: string | null | undefined;
944
933
  project?: {
945
934
  type: string;
@@ -963,11 +952,22 @@ export declare const propertyRestResSchema: z.ZodObject<{
963
952
  companyName: string | null;
964
953
  } | null | undefined;
965
954
  } | null | undefined;
955
+ customer?: {
956
+ status: string;
957
+ id: string;
958
+ isArchived: boolean;
959
+ createdAt: Date;
960
+ updatedAt: Date;
961
+ fullName: string | null;
962
+ mobile: string | null;
963
+ email: string;
964
+ syncedAt: Date;
965
+ } | null | undefined;
966
966
  } | null | undefined;
967
967
  } & {
968
968
  mta?: z.output<typeof import("..").mtaRestResSchema> | null | undefined;
969
969
  sourceTransaction?: ({
970
- status: import("../..").AccountingCommonStatus;
970
+ status: "clearing" | "cleared" | "reconciled";
971
971
  id: string;
972
972
  propertyId: string | null;
973
973
  balanceCents: number;
@@ -1023,17 +1023,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1023
1023
  mtaId: string;
1024
1024
  mtaBalanceCents: number | bigint;
1025
1025
  cmaBalanceCents: number | bigint;
1026
- customer?: {
1027
- status: string;
1028
- id: string;
1029
- isArchived: boolean;
1030
- createdAt: Date;
1031
- updatedAt: Date;
1032
- fullName: string | null;
1033
- mobile: string | null;
1034
- email: string;
1035
- syncedAt: Date;
1036
- } | null | undefined;
1037
1026
  buyerName?: string | null | undefined;
1038
1027
  project?: {
1039
1028
  type: string;
@@ -1057,10 +1046,21 @@ export declare const propertyRestResSchema: z.ZodObject<{
1057
1046
  companyName: string | null;
1058
1047
  } | null | undefined;
1059
1048
  } | null | undefined;
1049
+ customer?: {
1050
+ status: string;
1051
+ id: string;
1052
+ isArchived: boolean;
1053
+ createdAt: Date;
1054
+ updatedAt: Date;
1055
+ fullName: string | null;
1056
+ mobile: string | null;
1057
+ email: string;
1058
+ syncedAt: Date;
1059
+ } | null | undefined;
1060
1060
  } | null | undefined;
1061
1061
  } & any) | null | undefined;
1062
1062
  subsequentTransactions?: ({
1063
- status: import("../..").AccountingCommonStatus;
1063
+ status: "clearing" | "cleared" | "reconciled";
1064
1064
  id: string;
1065
1065
  propertyId: string | null;
1066
1066
  balanceCents: number;
@@ -1116,17 +1116,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1116
1116
  mtaId: string;
1117
1117
  mtaBalanceCents: number | bigint;
1118
1118
  cmaBalanceCents: number | bigint;
1119
- customer?: {
1120
- status: string;
1121
- id: string;
1122
- isArchived: boolean;
1123
- createdAt: Date;
1124
- updatedAt: Date;
1125
- fullName: string | null;
1126
- mobile: string | null;
1127
- email: string;
1128
- syncedAt: Date;
1129
- } | null | undefined;
1130
1119
  buyerName?: string | null | undefined;
1131
1120
  project?: {
1132
1121
  type: string;
@@ -1150,6 +1139,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1150
1139
  companyName: string | null;
1151
1140
  } | null | undefined;
1152
1141
  } | null | undefined;
1142
+ customer?: {
1143
+ status: string;
1144
+ id: string;
1145
+ isArchived: boolean;
1146
+ createdAt: Date;
1147
+ updatedAt: Date;
1148
+ fullName: string | null;
1149
+ mobile: string | null;
1150
+ email: string;
1151
+ syncedAt: Date;
1152
+ } | null | undefined;
1153
1153
  } | null | undefined;
1154
1154
  } & any)[] | null | undefined;
1155
1155
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -1219,17 +1219,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1219
1219
  mtaId: string;
1220
1220
  mtaBalanceCents: number | bigint;
1221
1221
  cmaBalanceCents: number | bigint;
1222
- customer?: {
1223
- status: string;
1224
- id: string;
1225
- isArchived: boolean;
1226
- createdAt: Date;
1227
- updatedAt: Date;
1228
- fullName: string | null;
1229
- mobile: string | null;
1230
- email: string;
1231
- syncedAt: Date;
1232
- } | null | undefined;
1233
1222
  buyerName?: string | null | undefined;
1234
1223
  project?: {
1235
1224
  type: string;
@@ -1253,6 +1242,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1253
1242
  companyName: string | null;
1254
1243
  } | null | undefined;
1255
1244
  } | null | undefined;
1245
+ customer?: {
1246
+ status: string;
1247
+ id: string;
1248
+ isArchived: boolean;
1249
+ createdAt: Date;
1250
+ updatedAt: Date;
1251
+ fullName: string | null;
1252
+ mobile: string | null;
1253
+ email: string;
1254
+ syncedAt: Date;
1255
+ } | null | undefined;
1256
1256
  } | null | undefined;
1257
1257
  } & {
1258
1258
  mta?: z.input<typeof import("..").mtaRestResSchema> | null | undefined;
@@ -1313,17 +1313,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1313
1313
  mtaId: string;
1314
1314
  mtaBalanceCents: number | bigint;
1315
1315
  cmaBalanceCents: number | bigint;
1316
- customer?: {
1317
- status: string;
1318
- id: string;
1319
- isArchived: boolean;
1320
- createdAt: Date;
1321
- updatedAt: Date;
1322
- fullName: string | null;
1323
- mobile: string | null;
1324
- email: string;
1325
- syncedAt: Date;
1326
- } | null | undefined;
1327
1316
  buyerName?: string | null | undefined;
1328
1317
  project?: {
1329
1318
  type: string;
@@ -1347,6 +1336,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1347
1336
  companyName: string | null;
1348
1337
  } | null | undefined;
1349
1338
  } | null | undefined;
1339
+ customer?: {
1340
+ status: string;
1341
+ id: string;
1342
+ isArchived: boolean;
1343
+ createdAt: Date;
1344
+ updatedAt: Date;
1345
+ fullName: string | null;
1346
+ mobile: string | null;
1347
+ email: string;
1348
+ syncedAt: Date;
1349
+ } | null | undefined;
1350
1350
  } | null | undefined;
1351
1351
  } & any) | null | undefined;
1352
1352
  subsequentTransactions?: ({
@@ -1406,17 +1406,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1406
1406
  mtaId: string;
1407
1407
  mtaBalanceCents: number | bigint;
1408
1408
  cmaBalanceCents: number | bigint;
1409
- customer?: {
1410
- status: string;
1411
- id: string;
1412
- isArchived: boolean;
1413
- createdAt: Date;
1414
- updatedAt: Date;
1415
- fullName: string | null;
1416
- mobile: string | null;
1417
- email: string;
1418
- syncedAt: Date;
1419
- } | null | undefined;
1420
1409
  buyerName?: string | null | undefined;
1421
1410
  project?: {
1422
1411
  type: string;
@@ -1440,6 +1429,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1440
1429
  companyName: string | null;
1441
1430
  } | null | undefined;
1442
1431
  } | null | undefined;
1432
+ customer?: {
1433
+ status: string;
1434
+ id: string;
1435
+ isArchived: boolean;
1436
+ createdAt: Date;
1437
+ updatedAt: Date;
1438
+ fullName: string | null;
1439
+ mobile: string | null;
1440
+ email: string;
1441
+ syncedAt: Date;
1442
+ } | null | undefined;
1443
1443
  } | null | undefined;
1444
1444
  } & any)[] | null | undefined;
1445
1445
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -1501,17 +1501,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1501
1501
  currentPayoutSeq: number;
1502
1502
  subsidiaryId: string;
1503
1503
  } | null | undefined;
1504
- customer?: {
1505
- status: string;
1506
- id: string;
1507
- isArchived: boolean;
1508
- createdAt: Date;
1509
- updatedAt: Date;
1510
- fullName: string | null;
1511
- mobile: string | null;
1512
- email: string;
1513
- syncedAt: Date;
1514
- } | null | undefined;
1515
1504
  buyerName?: string | null | undefined;
1516
1505
  project?: {
1517
1506
  type: string;
@@ -1535,6 +1524,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1535
1524
  companyName: string | null;
1536
1525
  } | null | undefined;
1537
1526
  } | null | undefined;
1527
+ customer?: {
1528
+ status: string;
1529
+ id: string;
1530
+ isArchived: boolean;
1531
+ createdAt: Date;
1532
+ updatedAt: Date;
1533
+ fullName: string | null;
1534
+ mobile: string | null;
1535
+ email: string;
1536
+ syncedAt: Date;
1537
+ } | null | undefined;
1538
1538
  cmaTransactions?: ({
1539
1539
  status: "clearing" | "cleared" | "reconciled";
1540
1540
  id: string;
@@ -1591,17 +1591,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1591
1591
  mtaId: string;
1592
1592
  mtaBalanceCents: number | bigint;
1593
1593
  cmaBalanceCents: number | bigint;
1594
- customer?: {
1595
- status: string;
1596
- id: string;
1597
- isArchived: boolean;
1598
- createdAt: Date;
1599
- updatedAt: Date;
1600
- fullName: string | null;
1601
- mobile: string | null;
1602
- email: string;
1603
- syncedAt: Date;
1604
- } | null | undefined;
1605
1594
  buyerName?: string | null | undefined;
1606
1595
  project?: {
1607
1596
  type: string;
@@ -1625,6 +1614,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1625
1614
  companyName: string | null;
1626
1615
  } | null | undefined;
1627
1616
  } | null | undefined;
1617
+ customer?: {
1618
+ status: string;
1619
+ id: string;
1620
+ isArchived: boolean;
1621
+ createdAt: Date;
1622
+ updatedAt: Date;
1623
+ fullName: string | null;
1624
+ mobile: string | null;
1625
+ email: string;
1626
+ syncedAt: Date;
1627
+ } | null | undefined;
1628
1628
  } | null | undefined;
1629
1629
  } & {
1630
1630
  cma?: z.output<typeof import("..").cmaEntitySchema> | null | undefined;
@@ -1684,17 +1684,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1684
1684
  mtaId: string;
1685
1685
  mtaBalanceCents: number | bigint;
1686
1686
  cmaBalanceCents: number | bigint;
1687
- customer?: {
1688
- status: string;
1689
- id: string;
1690
- isArchived: boolean;
1691
- createdAt: Date;
1692
- updatedAt: Date;
1693
- fullName: string | null;
1694
- mobile: string | null;
1695
- email: string;
1696
- syncedAt: Date;
1697
- } | null | undefined;
1698
1687
  buyerName?: string | null | undefined;
1699
1688
  project?: {
1700
1689
  type: string;
@@ -1718,6 +1707,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1718
1707
  companyName: string | null;
1719
1708
  } | null | undefined;
1720
1709
  } | null | undefined;
1710
+ customer?: {
1711
+ status: string;
1712
+ id: string;
1713
+ isArchived: boolean;
1714
+ createdAt: Date;
1715
+ updatedAt: Date;
1716
+ fullName: string | null;
1717
+ mobile: string | null;
1718
+ email: string;
1719
+ syncedAt: Date;
1720
+ } | null | undefined;
1721
1721
  } | null | undefined;
1722
1722
  } & any, "cma"> | null | undefined;
1723
1723
  subsequentTransactions?: Omit<{
@@ -1776,17 +1776,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1776
1776
  mtaId: string;
1777
1777
  mtaBalanceCents: number | bigint;
1778
1778
  cmaBalanceCents: number | bigint;
1779
- customer?: {
1780
- status: string;
1781
- id: string;
1782
- isArchived: boolean;
1783
- createdAt: Date;
1784
- updatedAt: Date;
1785
- fullName: string | null;
1786
- mobile: string | null;
1787
- email: string;
1788
- syncedAt: Date;
1789
- } | null | undefined;
1790
1779
  buyerName?: string | null | undefined;
1791
1780
  project?: {
1792
1781
  type: string;
@@ -1810,6 +1799,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
1810
1799
  companyName: string | null;
1811
1800
  } | null | undefined;
1812
1801
  } | null | undefined;
1802
+ customer?: {
1803
+ status: string;
1804
+ id: string;
1805
+ isArchived: boolean;
1806
+ createdAt: Date;
1807
+ updatedAt: Date;
1808
+ fullName: string | null;
1809
+ mobile: string | null;
1810
+ email: string;
1811
+ syncedAt: Date;
1812
+ } | null | undefined;
1813
1813
  } | null | undefined;
1814
1814
  } & any, "cma">[] | null | undefined;
1815
1815
  reconciledTransactions?: z.output<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -1822,7 +1822,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
1822
1822
  payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1823
1823
  })[] | null | undefined;
1824
1824
  mtaTransactions?: ({
1825
- status: import("../..").AccountingCommonStatus;
1825
+ status: "clearing" | "cleared" | "reconciled";
1826
1826
  id: string;
1827
1827
  propertyId: string | null;
1828
1828
  balanceCents: number;
@@ -1878,17 +1878,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1878
1878
  mtaId: string;
1879
1879
  mtaBalanceCents: number | bigint;
1880
1880
  cmaBalanceCents: number | bigint;
1881
- customer?: {
1882
- status: string;
1883
- id: string;
1884
- isArchived: boolean;
1885
- createdAt: Date;
1886
- updatedAt: Date;
1887
- fullName: string | null;
1888
- mobile: string | null;
1889
- email: string;
1890
- syncedAt: Date;
1891
- } | null | undefined;
1892
1881
  buyerName?: string | null | undefined;
1893
1882
  project?: {
1894
1883
  type: string;
@@ -1912,11 +1901,22 @@ export declare const propertyRestResSchema: z.ZodObject<{
1912
1901
  companyName: string | null;
1913
1902
  } | null | undefined;
1914
1903
  } | null | undefined;
1904
+ customer?: {
1905
+ status: string;
1906
+ id: string;
1907
+ isArchived: boolean;
1908
+ createdAt: Date;
1909
+ updatedAt: Date;
1910
+ fullName: string | null;
1911
+ mobile: string | null;
1912
+ email: string;
1913
+ syncedAt: Date;
1914
+ } | null | undefined;
1915
1915
  } | null | undefined;
1916
1916
  } & {
1917
1917
  mta?: z.output<typeof import("..").mtaRestResSchema> | null | undefined;
1918
1918
  sourceTransaction?: ({
1919
- status: import("../..").AccountingCommonStatus;
1919
+ status: "clearing" | "cleared" | "reconciled";
1920
1920
  id: string;
1921
1921
  propertyId: string | null;
1922
1922
  balanceCents: number;
@@ -1972,17 +1972,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
1972
1972
  mtaId: string;
1973
1973
  mtaBalanceCents: number | bigint;
1974
1974
  cmaBalanceCents: number | bigint;
1975
- customer?: {
1976
- status: string;
1977
- id: string;
1978
- isArchived: boolean;
1979
- createdAt: Date;
1980
- updatedAt: Date;
1981
- fullName: string | null;
1982
- mobile: string | null;
1983
- email: string;
1984
- syncedAt: Date;
1985
- } | null | undefined;
1986
1975
  buyerName?: string | null | undefined;
1987
1976
  project?: {
1988
1977
  type: string;
@@ -2006,10 +1995,21 @@ export declare const propertyRestResSchema: z.ZodObject<{
2006
1995
  companyName: string | null;
2007
1996
  } | null | undefined;
2008
1997
  } | null | undefined;
1998
+ customer?: {
1999
+ status: string;
2000
+ id: string;
2001
+ isArchived: boolean;
2002
+ createdAt: Date;
2003
+ updatedAt: Date;
2004
+ fullName: string | null;
2005
+ mobile: string | null;
2006
+ email: string;
2007
+ syncedAt: Date;
2008
+ } | null | undefined;
2009
2009
  } | null | undefined;
2010
2010
  } & any) | null | undefined;
2011
2011
  subsequentTransactions?: ({
2012
- status: import("../..").AccountingCommonStatus;
2012
+ status: "clearing" | "cleared" | "reconciled";
2013
2013
  id: string;
2014
2014
  propertyId: string | null;
2015
2015
  balanceCents: number;
@@ -2065,17 +2065,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2065
2065
  mtaId: string;
2066
2066
  mtaBalanceCents: number | bigint;
2067
2067
  cmaBalanceCents: number | bigint;
2068
- customer?: {
2069
- status: string;
2070
- id: string;
2071
- isArchived: boolean;
2072
- createdAt: Date;
2073
- updatedAt: Date;
2074
- fullName: string | null;
2075
- mobile: string | null;
2076
- email: string;
2077
- syncedAt: Date;
2078
- } | null | undefined;
2079
2068
  buyerName?: string | null | undefined;
2080
2069
  project?: {
2081
2070
  type: string;
@@ -2099,6 +2088,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2099
2088
  companyName: string | null;
2100
2089
  } | null | undefined;
2101
2090
  } | null | undefined;
2091
+ customer?: {
2092
+ status: string;
2093
+ id: string;
2094
+ isArchived: boolean;
2095
+ createdAt: Date;
2096
+ updatedAt: Date;
2097
+ fullName: string | null;
2098
+ mobile: string | null;
2099
+ email: string;
2100
+ syncedAt: Date;
2101
+ } | null | undefined;
2102
2102
  } | null | undefined;
2103
2103
  } & any)[] | null | undefined;
2104
2104
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -2169,17 +2169,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2169
2169
  currentPayoutSeq: number;
2170
2170
  subsidiaryId: string;
2171
2171
  } | null | undefined;
2172
- customer?: {
2173
- status: string;
2174
- id: string;
2175
- isArchived: boolean;
2176
- createdAt: Date;
2177
- updatedAt: Date;
2178
- fullName: string | null;
2179
- mobile: string | null;
2180
- email: string;
2181
- syncedAt: Date;
2182
- } | null | undefined;
2183
2172
  buyerName?: string | null | undefined;
2184
2173
  project?: {
2185
2174
  type: string;
@@ -2203,6 +2192,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2203
2192
  companyName: string | null;
2204
2193
  } | null | undefined;
2205
2194
  } | null | undefined;
2195
+ customer?: {
2196
+ status: string;
2197
+ id: string;
2198
+ isArchived: boolean;
2199
+ createdAt: Date;
2200
+ updatedAt: Date;
2201
+ fullName: string | null;
2202
+ mobile: string | null;
2203
+ email: string;
2204
+ syncedAt: Date;
2205
+ } | null | undefined;
2206
2206
  cmaTransactions?: ({
2207
2207
  status: string;
2208
2208
  id: string;
@@ -2259,17 +2259,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2259
2259
  mtaId: string;
2260
2260
  mtaBalanceCents: number | bigint;
2261
2261
  cmaBalanceCents: number | bigint;
2262
- customer?: {
2263
- status: string;
2264
- id: string;
2265
- isArchived: boolean;
2266
- createdAt: Date;
2267
- updatedAt: Date;
2268
- fullName: string | null;
2269
- mobile: string | null;
2270
- email: string;
2271
- syncedAt: Date;
2272
- } | null | undefined;
2273
2262
  buyerName?: string | null | undefined;
2274
2263
  project?: {
2275
2264
  type: string;
@@ -2293,6 +2282,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2293
2282
  companyName: string | null;
2294
2283
  } | null | undefined;
2295
2284
  } | null | undefined;
2285
+ customer?: {
2286
+ status: string;
2287
+ id: string;
2288
+ isArchived: boolean;
2289
+ createdAt: Date;
2290
+ updatedAt: Date;
2291
+ fullName: string | null;
2292
+ mobile: string | null;
2293
+ email: string;
2294
+ syncedAt: Date;
2295
+ } | null | undefined;
2296
2296
  } | null | undefined;
2297
2297
  } & {
2298
2298
  cma?: z.input<typeof import("..").cmaEntitySchema> | null | undefined;
@@ -2352,17 +2352,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2352
2352
  mtaId: string;
2353
2353
  mtaBalanceCents: number | bigint;
2354
2354
  cmaBalanceCents: number | bigint;
2355
- customer?: {
2356
- status: string;
2357
- id: string;
2358
- isArchived: boolean;
2359
- createdAt: Date;
2360
- updatedAt: Date;
2361
- fullName: string | null;
2362
- mobile: string | null;
2363
- email: string;
2364
- syncedAt: Date;
2365
- } | null | undefined;
2366
2355
  buyerName?: string | null | undefined;
2367
2356
  project?: {
2368
2357
  type: string;
@@ -2386,6 +2375,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2386
2375
  companyName: string | null;
2387
2376
  } | null | undefined;
2388
2377
  } | null | undefined;
2378
+ customer?: {
2379
+ status: string;
2380
+ id: string;
2381
+ isArchived: boolean;
2382
+ createdAt: Date;
2383
+ updatedAt: Date;
2384
+ fullName: string | null;
2385
+ mobile: string | null;
2386
+ email: string;
2387
+ syncedAt: Date;
2388
+ } | null | undefined;
2389
2389
  } | null | undefined;
2390
2390
  } & any) | null | undefined;
2391
2391
  subsequentTransactions?: ({
@@ -2444,17 +2444,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2444
2444
  mtaId: string;
2445
2445
  mtaBalanceCents: number | bigint;
2446
2446
  cmaBalanceCents: number | bigint;
2447
- customer?: {
2448
- status: string;
2449
- id: string;
2450
- isArchived: boolean;
2451
- createdAt: Date;
2452
- updatedAt: Date;
2453
- fullName: string | null;
2454
- mobile: string | null;
2455
- email: string;
2456
- syncedAt: Date;
2457
- } | null | undefined;
2458
2447
  buyerName?: string | null | undefined;
2459
2448
  project?: {
2460
2449
  type: string;
@@ -2478,6 +2467,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2478
2467
  companyName: string | null;
2479
2468
  } | null | undefined;
2480
2469
  } | null | undefined;
2470
+ customer?: {
2471
+ status: string;
2472
+ id: string;
2473
+ isArchived: boolean;
2474
+ createdAt: Date;
2475
+ updatedAt: Date;
2476
+ fullName: string | null;
2477
+ mobile: string | null;
2478
+ email: string;
2479
+ syncedAt: Date;
2480
+ } | null | undefined;
2481
2481
  } | null | undefined;
2482
2482
  } & any)[] | null | undefined;
2483
2483
  reconciledTransactions?: z.input<typeof import("..").cmaReconciledTransactionRestResSchema>[] | null | undefined;
@@ -2540,17 +2540,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2540
2540
  mtaId: string;
2541
2541
  mtaBalanceCents: number | bigint;
2542
2542
  cmaBalanceCents: number | bigint;
2543
- customer?: {
2544
- status: string;
2545
- id: string;
2546
- isArchived: boolean;
2547
- createdAt: Date;
2548
- updatedAt: Date;
2549
- fullName: string | null;
2550
- mobile: string | null;
2551
- email: string;
2552
- syncedAt: Date;
2553
- } | null | undefined;
2554
2543
  buyerName?: string | null | undefined;
2555
2544
  project?: {
2556
2545
  type: string;
@@ -2574,6 +2563,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2574
2563
  companyName: string | null;
2575
2564
  } | null | undefined;
2576
2565
  } | null | undefined;
2566
+ customer?: {
2567
+ status: string;
2568
+ id: string;
2569
+ isArchived: boolean;
2570
+ createdAt: Date;
2571
+ updatedAt: Date;
2572
+ fullName: string | null;
2573
+ mobile: string | null;
2574
+ email: string;
2575
+ syncedAt: Date;
2576
+ } | null | undefined;
2577
2577
  } | null | undefined;
2578
2578
  } & {
2579
2579
  mta?: z.input<typeof import("..").mtaRestResSchema> | null | undefined;
@@ -2634,17 +2634,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2634
2634
  mtaId: string;
2635
2635
  mtaBalanceCents: number | bigint;
2636
2636
  cmaBalanceCents: number | bigint;
2637
- customer?: {
2638
- status: string;
2639
- id: string;
2640
- isArchived: boolean;
2641
- createdAt: Date;
2642
- updatedAt: Date;
2643
- fullName: string | null;
2644
- mobile: string | null;
2645
- email: string;
2646
- syncedAt: Date;
2647
- } | null | undefined;
2648
2637
  buyerName?: string | null | undefined;
2649
2638
  project?: {
2650
2639
  type: string;
@@ -2668,6 +2657,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2668
2657
  companyName: string | null;
2669
2658
  } | null | undefined;
2670
2659
  } | null | undefined;
2660
+ customer?: {
2661
+ status: string;
2662
+ id: string;
2663
+ isArchived: boolean;
2664
+ createdAt: Date;
2665
+ updatedAt: Date;
2666
+ fullName: string | null;
2667
+ mobile: string | null;
2668
+ email: string;
2669
+ syncedAt: Date;
2670
+ } | null | undefined;
2671
2671
  } | null | undefined;
2672
2672
  } & any) | null | undefined;
2673
2673
  subsequentTransactions?: ({
@@ -2727,17 +2727,6 @@ export declare const propertyRestResSchema: z.ZodObject<{
2727
2727
  mtaId: string;
2728
2728
  mtaBalanceCents: number | bigint;
2729
2729
  cmaBalanceCents: number | bigint;
2730
- customer?: {
2731
- status: string;
2732
- id: string;
2733
- isArchived: boolean;
2734
- createdAt: Date;
2735
- updatedAt: Date;
2736
- fullName: string | null;
2737
- mobile: string | null;
2738
- email: string;
2739
- syncedAt: Date;
2740
- } | null | undefined;
2741
2730
  buyerName?: string | null | undefined;
2742
2731
  project?: {
2743
2732
  type: string;
@@ -2761,6 +2750,17 @@ export declare const propertyRestResSchema: z.ZodObject<{
2761
2750
  companyName: string | null;
2762
2751
  } | null | undefined;
2763
2752
  } | null | undefined;
2753
+ customer?: {
2754
+ status: string;
2755
+ id: string;
2756
+ isArchived: boolean;
2757
+ createdAt: Date;
2758
+ updatedAt: Date;
2759
+ fullName: string | null;
2760
+ mobile: string | null;
2761
+ email: string;
2762
+ syncedAt: Date;
2763
+ } | null | undefined;
2764
2764
  } | null | undefined;
2765
2765
  } & any)[] | null | undefined;
2766
2766
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;