@mikemo-coposit/am-accounting-shared 0.0.20 → 1.0.0

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 (97) hide show
  1. package/dist/cjs/constants/common/package-version.constant.d.ts +1 -1
  2. package/dist/cjs/constants/common/package-version.constant.d.ts.map +1 -1
  3. package/dist/cjs/index.js +82 -49
  4. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +78 -65
  5. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts.map +1 -1
  6. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +144 -120
  7. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  8. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +78 -65
  9. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  10. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +150 -125
  11. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  12. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +6 -5
  13. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  14. package/dist/cjs/schemas/customer/customer-sync.grpc.schema.d.ts +12 -0
  15. package/dist/cjs/schemas/customer/customer-sync.grpc.schema.d.ts.map +1 -0
  16. package/dist/cjs/schemas/{property → customer}/customer.entity.schema.d.ts +4 -3
  17. package/dist/cjs/schemas/{property → customer}/customer.entity.schema.d.ts.map +1 -1
  18. package/dist/cjs/schemas/customer/index.d.ts +3 -0
  19. package/dist/cjs/schemas/customer/index.d.ts.map +1 -0
  20. package/dist/cjs/schemas/index.d.ts +1 -0
  21. package/dist/cjs/schemas/index.d.ts.map +1 -1
  22. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +1 -0
  23. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts.map +1 -1
  24. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +152 -120
  25. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  26. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +76 -60
  27. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  28. package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -28
  29. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +4 -3
  30. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  31. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +9 -5
  32. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  33. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +462 -375
  34. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
  35. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +1883 -1533
  36. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  37. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +213 -174
  38. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  39. package/dist/cjs/schemas/project/project.rest.schema.d.ts +1 -1
  40. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +1 -1
  41. package/dist/cjs/schemas/property/index.d.ts +1 -1
  42. package/dist/cjs/schemas/property/index.d.ts.map +1 -1
  43. package/dist/cjs/schemas/property/property-sync.grpc.schema.d.ts +23 -0
  44. package/dist/cjs/schemas/property/property-sync.grpc.schema.d.ts.map +1 -0
  45. package/dist/cjs/schemas/property/property.entity.schema.d.ts +4 -3
  46. package/dist/cjs/schemas/property/property.entity.schema.d.ts.map +1 -1
  47. package/dist/cjs/schemas/property/property.rest.schema.d.ts +152 -123
  48. package/dist/cjs/schemas/property/property.rest.schema.d.ts.map +1 -1
  49. package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
  50. package/dist/esm/constants/common/package-version.constant.d.ts.map +1 -1
  51. package/dist/esm/index.mjs +63 -36
  52. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +78 -65
  53. package/dist/esm/schemas/cma/cma.rest.schema.d.ts.map +1 -1
  54. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +144 -120
  55. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  56. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +78 -65
  57. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts.map +1 -1
  58. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +150 -125
  59. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts.map +1 -1
  60. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +6 -5
  61. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  62. package/dist/esm/schemas/customer/customer-sync.grpc.schema.d.ts +12 -0
  63. package/dist/esm/schemas/customer/customer-sync.grpc.schema.d.ts.map +1 -0
  64. package/dist/esm/schemas/{property → customer}/customer.entity.schema.d.ts +4 -3
  65. package/dist/esm/schemas/{property → customer}/customer.entity.schema.d.ts.map +1 -1
  66. package/dist/esm/schemas/customer/index.d.ts +3 -0
  67. package/dist/esm/schemas/customer/index.d.ts.map +1 -0
  68. package/dist/esm/schemas/index.d.ts +1 -0
  69. package/dist/esm/schemas/index.d.ts.map +1 -1
  70. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +1 -0
  71. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts.map +1 -1
  72. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +152 -120
  73. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts.map +1 -1
  74. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +76 -60
  75. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts.map +1 -1
  76. package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -28
  77. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +4 -3
  78. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts.map +1 -1
  79. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +9 -5
  80. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  81. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +462 -375
  82. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts.map +1 -1
  83. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +1883 -1533
  84. package/dist/esm/schemas/payout/payout.rest.schema.d.ts.map +1 -1
  85. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +213 -174
  86. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  87. package/dist/esm/schemas/project/project.rest.schema.d.ts +1 -1
  88. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +1 -1
  89. package/dist/esm/schemas/property/index.d.ts +1 -1
  90. package/dist/esm/schemas/property/index.d.ts.map +1 -1
  91. package/dist/esm/schemas/property/property-sync.grpc.schema.d.ts +23 -0
  92. package/dist/esm/schemas/property/property-sync.grpc.schema.d.ts.map +1 -0
  93. package/dist/esm/schemas/property/property.entity.schema.d.ts +4 -3
  94. package/dist/esm/schemas/property/property.entity.schema.d.ts.map +1 -1
  95. package/dist/esm/schemas/property/property.rest.schema.d.ts +152 -123
  96. package/dist/esm/schemas/property/property.rest.schema.d.ts.map +1 -1
  97. package/package.json +10 -20
@@ -52,13 +52,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
52
52
  } | null | undefined;
53
53
  property?: {
54
54
  id: string;
55
+ mtaId: string;
55
56
  status: string;
56
57
  isArchived: boolean;
57
58
  createdAt: Date;
58
- syncedAt: Date;
59
59
  updatedAt: Date;
60
- mtaId: string;
61
60
  balanceCents: bigint;
61
+ syncedAt: Date;
62
62
  customerId: string;
63
63
  projectId: string;
64
64
  lotDetail: string | null;
@@ -93,14 +93,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
93
93
  } | null | undefined;
94
94
  customer?: {
95
95
  id: string;
96
- fullName: string | null;
97
- mobile: string | null;
98
- email: string;
99
96
  status: string;
100
97
  isArchived: boolean;
101
98
  createdAt: Date;
102
99
  syncedAt: Date;
103
100
  updatedAt: Date;
101
+ fullName?: string | null | undefined;
102
+ mobile?: string | null | undefined;
103
+ email?: string | null | undefined;
104
+ source?: string | null | undefined;
104
105
  } | null | undefined;
105
106
  } | null | undefined;
106
107
  } & {
@@ -147,13 +148,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
147
148
  } | null | undefined;
148
149
  property?: {
149
150
  id: string;
151
+ mtaId: string;
150
152
  status: string;
151
153
  isArchived: boolean;
152
154
  createdAt: Date;
153
- syncedAt: Date;
154
155
  updatedAt: Date;
155
- mtaId: string;
156
156
  balanceCents: bigint;
157
+ syncedAt: Date;
157
158
  customerId: string;
158
159
  projectId: string;
159
160
  lotDetail: string | null;
@@ -188,14 +189,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
188
189
  } | null | undefined;
189
190
  customer?: {
190
191
  id: string;
191
- fullName: string | null;
192
- mobile: string | null;
193
- email: string;
194
192
  status: string;
195
193
  isArchived: boolean;
196
194
  createdAt: Date;
197
195
  syncedAt: Date;
198
196
  updatedAt: Date;
197
+ fullName?: string | null | undefined;
198
+ mobile?: string | null | undefined;
199
+ email?: string | null | undefined;
200
+ source?: string | null | undefined;
199
201
  } | null | undefined;
200
202
  } | null | undefined;
201
203
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -241,13 +243,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
241
243
  } | null | undefined;
242
244
  property?: {
243
245
  id: string;
246
+ mtaId: string;
244
247
  status: string;
245
248
  isArchived: boolean;
246
249
  createdAt: Date;
247
- syncedAt: Date;
248
250
  updatedAt: Date;
249
- mtaId: string;
250
251
  balanceCents: bigint;
252
+ syncedAt: Date;
251
253
  customerId: string;
252
254
  projectId: string;
253
255
  lotDetail: string | null;
@@ -282,14 +284,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
282
284
  } | null | undefined;
283
285
  customer?: {
284
286
  id: string;
285
- fullName: string | null;
286
- mobile: string | null;
287
- email: string;
288
287
  status: string;
289
288
  isArchived: boolean;
290
289
  createdAt: Date;
291
290
  syncedAt: Date;
292
291
  updatedAt: Date;
292
+ fullName?: string | null | undefined;
293
+ mobile?: string | null | undefined;
294
+ email?: string | null | undefined;
295
+ source?: string | null | undefined;
293
296
  } | null | undefined;
294
297
  } | null | undefined;
295
298
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -343,13 +346,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
343
346
  } | null | undefined;
344
347
  property?: {
345
348
  id: string;
349
+ mtaId: string;
346
350
  status: string;
347
351
  isArchived: boolean;
348
352
  createdAt: unknown;
349
- syncedAt: unknown;
350
353
  updatedAt: unknown;
351
- mtaId: string;
352
354
  balanceCents: unknown;
355
+ syncedAt: unknown;
353
356
  customerId: string;
354
357
  projectId: string;
355
358
  lotDetail: string | null;
@@ -384,14 +387,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
384
387
  } | null | undefined;
385
388
  customer?: {
386
389
  id: string;
387
- fullName: string | null;
388
- mobile: string | null;
389
- email: string;
390
390
  status: string;
391
391
  isArchived: boolean;
392
392
  createdAt: unknown;
393
393
  syncedAt: unknown;
394
394
  updatedAt: unknown;
395
+ fullName?: string | null | undefined;
396
+ mobile?: string | null | undefined;
397
+ email?: string | null | undefined;
398
+ source?: string | null | undefined;
395
399
  } | null | undefined;
396
400
  } | null | undefined;
397
401
  } & {
@@ -438,13 +442,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
438
442
  } | null | undefined;
439
443
  property?: {
440
444
  id: string;
445
+ mtaId: string;
441
446
  status: string;
442
447
  isArchived: boolean;
443
448
  createdAt: unknown;
444
- syncedAt: unknown;
445
449
  updatedAt: unknown;
446
- mtaId: string;
447
450
  balanceCents: unknown;
451
+ syncedAt: unknown;
448
452
  customerId: string;
449
453
  projectId: string;
450
454
  lotDetail: string | null;
@@ -479,14 +483,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
479
483
  } | null | undefined;
480
484
  customer?: {
481
485
  id: string;
482
- fullName: string | null;
483
- mobile: string | null;
484
- email: string;
485
486
  status: string;
486
487
  isArchived: boolean;
487
488
  createdAt: unknown;
488
489
  syncedAt: unknown;
489
490
  updatedAt: unknown;
491
+ fullName?: string | null | undefined;
492
+ mobile?: string | null | undefined;
493
+ email?: string | null | undefined;
494
+ source?: string | null | undefined;
490
495
  } | null | undefined;
491
496
  } | null | undefined;
492
497
  } & /*elided*/ any) | null | undefined;
@@ -532,13 +537,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
532
537
  } | null | undefined;
533
538
  property?: {
534
539
  id: string;
540
+ mtaId: string;
535
541
  status: string;
536
542
  isArchived: boolean;
537
543
  createdAt: unknown;
538
- syncedAt: unknown;
539
544
  updatedAt: unknown;
540
- mtaId: string;
541
545
  balanceCents: unknown;
546
+ syncedAt: unknown;
542
547
  customerId: string;
543
548
  projectId: string;
544
549
  lotDetail: string | null;
@@ -573,14 +578,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
573
578
  } | null | undefined;
574
579
  customer?: {
575
580
  id: string;
576
- fullName: string | null;
577
- mobile: string | null;
578
- email: string;
579
581
  status: string;
580
582
  isArchived: boolean;
581
583
  createdAt: unknown;
582
584
  syncedAt: unknown;
583
585
  updatedAt: unknown;
586
+ fullName?: string | null | undefined;
587
+ mobile?: string | null | undefined;
588
+ email?: string | null | undefined;
589
+ source?: string | null | undefined;
584
590
  } | null | undefined;
585
591
  } | null | undefined;
586
592
  } & /*elided*/ any)[] | null | undefined;
@@ -628,13 +634,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
628
634
  } | null | undefined;
629
635
  property?: {
630
636
  id: string;
637
+ mtaId: string;
631
638
  status: string;
632
639
  isArchived: boolean;
633
640
  createdAt: Date;
634
- syncedAt: Date;
635
641
  updatedAt: Date;
636
- mtaId: string;
637
642
  balanceCents: bigint;
643
+ syncedAt: Date;
638
644
  customerId: string;
639
645
  projectId: string;
640
646
  lotDetail: string | null;
@@ -669,14 +675,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
669
675
  } | null | undefined;
670
676
  customer?: {
671
677
  id: string;
672
- fullName: string | null;
673
- mobile: string | null;
674
- email: string;
675
678
  status: string;
676
679
  isArchived: boolean;
677
680
  createdAt: Date;
678
681
  syncedAt: Date;
679
682
  updatedAt: Date;
683
+ fullName?: string | null | undefined;
684
+ mobile?: string | null | undefined;
685
+ email?: string | null | undefined;
686
+ source?: string | null | undefined;
680
687
  } | null | undefined;
681
688
  } | null | undefined;
682
689
  } & {
@@ -723,13 +730,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
723
730
  } | null | undefined;
724
731
  property?: {
725
732
  id: string;
733
+ mtaId: string;
726
734
  status: string;
727
735
  isArchived: boolean;
728
736
  createdAt: Date;
729
- syncedAt: Date;
730
737
  updatedAt: Date;
731
- mtaId: string;
732
738
  balanceCents: bigint;
739
+ syncedAt: Date;
733
740
  customerId: string;
734
741
  projectId: string;
735
742
  lotDetail: string | null;
@@ -764,14 +771,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
764
771
  } | null | undefined;
765
772
  customer?: {
766
773
  id: string;
767
- fullName: string | null;
768
- mobile: string | null;
769
- email: string;
770
774
  status: string;
771
775
  isArchived: boolean;
772
776
  createdAt: Date;
773
777
  syncedAt: Date;
774
778
  updatedAt: Date;
779
+ fullName?: string | null | undefined;
780
+ mobile?: string | null | undefined;
781
+ email?: string | null | undefined;
782
+ source?: string | null | undefined;
775
783
  } | null | undefined;
776
784
  } | null | undefined;
777
785
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -817,13 +825,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
817
825
  } | null | undefined;
818
826
  property?: {
819
827
  id: string;
828
+ mtaId: string;
820
829
  status: string;
821
830
  isArchived: boolean;
822
831
  createdAt: Date;
823
- syncedAt: Date;
824
832
  updatedAt: Date;
825
- mtaId: string;
826
833
  balanceCents: bigint;
834
+ syncedAt: Date;
827
835
  customerId: string;
828
836
  projectId: string;
829
837
  lotDetail: string | null;
@@ -858,14 +866,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
858
866
  } | null | undefined;
859
867
  customer?: {
860
868
  id: string;
861
- fullName: string | null;
862
- mobile: string | null;
863
- email: string;
864
869
  status: string;
865
870
  isArchived: boolean;
866
871
  createdAt: Date;
867
872
  syncedAt: Date;
868
873
  updatedAt: Date;
874
+ fullName?: string | null | undefined;
875
+ mobile?: string | null | undefined;
876
+ email?: string | null | undefined;
877
+ source?: string | null | undefined;
869
878
  } | null | undefined;
870
879
  } | null | undefined;
871
880
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -919,13 +928,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
919
928
  } | null | undefined;
920
929
  property?: {
921
930
  id: string;
931
+ mtaId: string;
922
932
  status: string;
923
933
  isArchived: boolean;
924
934
  createdAt: unknown;
925
- syncedAt: unknown;
926
935
  updatedAt: unknown;
927
- mtaId: string;
928
936
  balanceCents: unknown;
937
+ syncedAt: unknown;
929
938
  customerId: string;
930
939
  projectId: string;
931
940
  lotDetail: string | null;
@@ -960,14 +969,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
960
969
  } | null | undefined;
961
970
  customer?: {
962
971
  id: string;
963
- fullName: string | null;
964
- mobile: string | null;
965
- email: string;
966
972
  status: string;
967
973
  isArchived: boolean;
968
974
  createdAt: unknown;
969
975
  syncedAt: unknown;
970
976
  updatedAt: unknown;
977
+ fullName?: string | null | undefined;
978
+ mobile?: string | null | undefined;
979
+ email?: string | null | undefined;
980
+ source?: string | null | undefined;
971
981
  } | null | undefined;
972
982
  } | null | undefined;
973
983
  } & {
@@ -1014,13 +1024,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1014
1024
  } | null | undefined;
1015
1025
  property?: {
1016
1026
  id: string;
1027
+ mtaId: string;
1017
1028
  status: string;
1018
1029
  isArchived: boolean;
1019
1030
  createdAt: unknown;
1020
- syncedAt: unknown;
1021
1031
  updatedAt: unknown;
1022
- mtaId: string;
1023
1032
  balanceCents: unknown;
1033
+ syncedAt: unknown;
1024
1034
  customerId: string;
1025
1035
  projectId: string;
1026
1036
  lotDetail: string | null;
@@ -1055,14 +1065,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1055
1065
  } | null | undefined;
1056
1066
  customer?: {
1057
1067
  id: string;
1058
- fullName: string | null;
1059
- mobile: string | null;
1060
- email: string;
1061
1068
  status: string;
1062
1069
  isArchived: boolean;
1063
1070
  createdAt: unknown;
1064
1071
  syncedAt: unknown;
1065
1072
  updatedAt: unknown;
1073
+ fullName?: string | null | undefined;
1074
+ mobile?: string | null | undefined;
1075
+ email?: string | null | undefined;
1076
+ source?: string | null | undefined;
1066
1077
  } | null | undefined;
1067
1078
  } | null | undefined;
1068
1079
  } & /*elided*/ any) | null | undefined;
@@ -1108,13 +1119,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1108
1119
  } | null | undefined;
1109
1120
  property?: {
1110
1121
  id: string;
1122
+ mtaId: string;
1111
1123
  status: string;
1112
1124
  isArchived: boolean;
1113
1125
  createdAt: unknown;
1114
- syncedAt: unknown;
1115
1126
  updatedAt: unknown;
1116
- mtaId: string;
1117
1127
  balanceCents: unknown;
1128
+ syncedAt: unknown;
1118
1129
  customerId: string;
1119
1130
  projectId: string;
1120
1131
  lotDetail: string | null;
@@ -1149,14 +1160,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1149
1160
  } | null | undefined;
1150
1161
  customer?: {
1151
1162
  id: string;
1152
- fullName: string | null;
1153
- mobile: string | null;
1154
- email: string;
1155
1163
  status: string;
1156
1164
  isArchived: boolean;
1157
1165
  createdAt: unknown;
1158
1166
  syncedAt: unknown;
1159
1167
  updatedAt: unknown;
1168
+ fullName?: string | null | undefined;
1169
+ mobile?: string | null | undefined;
1170
+ email?: string | null | undefined;
1171
+ source?: string | null | undefined;
1160
1172
  } | null | undefined;
1161
1173
  } | null | undefined;
1162
1174
  } & /*elided*/ any)[] | null | undefined;
@@ -1208,14 +1220,14 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1208
1220
  }>>;
1209
1221
  readonly property: z.ZodLazy<z.ZodOptional<z.ZodObject<{
1210
1222
  id: z.ZodUUID;
1223
+ mtaId: z.ZodString;
1211
1224
  status: z.ZodString;
1212
1225
  isArchived: z.ZodBoolean;
1213
1226
  createdAt: z.ZodCoercedDate<unknown>;
1214
- syncedAt: z.ZodCoercedDate<unknown>;
1215
1227
  updatedAt: z.ZodCoercedDate<unknown>;
1216
- mtaId: z.ZodString;
1217
1228
  cmaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1218
1229
  balanceCents: z.ZodCodec<z.ZodUnion<readonly [z.ZodString, z.ZodBigInt, z.ZodNumber]>, z.ZodNumber>;
1230
+ syncedAt: z.ZodCoercedDate<unknown>;
1219
1231
  customerId: z.ZodString;
1220
1232
  projectId: z.ZodString;
1221
1233
  buyerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1249,14 +1261,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1249
1261
  }, z.core.$strip>>>>;
1250
1262
  customer: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
1251
1263
  id: z.ZodUUID;
1252
- fullName: z.ZodNullable<z.ZodString>;
1253
- mobile: z.ZodNullable<z.ZodString>;
1254
- email: z.ZodString;
1264
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1266
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1255
1267
  status: z.ZodString;
1256
1268
  isArchived: z.ZodBoolean;
1257
1269
  createdAt: z.ZodCoercedDate<unknown>;
1258
1270
  syncedAt: z.ZodCoercedDate<unknown>;
1259
1271
  updatedAt: z.ZodCoercedDate<unknown>;
1272
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1260
1273
  }, z.core.$strip>>>>;
1261
1274
  }, z.core.$strip>>>;
1262
1275
  readonly cmaTransactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
@@ -1301,13 +1314,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1301
1314
  } | null | undefined;
1302
1315
  property?: {
1303
1316
  id: string;
1317
+ mtaId: string;
1304
1318
  status: string;
1305
1319
  isArchived: boolean;
1306
1320
  createdAt: Date;
1307
- syncedAt: Date;
1308
1321
  updatedAt: Date;
1309
- mtaId: string;
1310
1322
  balanceCents: bigint;
1323
+ syncedAt: Date;
1311
1324
  customerId: string;
1312
1325
  projectId: string;
1313
1326
  lotDetail: string | null;
@@ -1342,14 +1355,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1342
1355
  } | null | undefined;
1343
1356
  customer?: {
1344
1357
  id: string;
1345
- fullName: string | null;
1346
- mobile: string | null;
1347
- email: string;
1348
1358
  status: string;
1349
1359
  isArchived: boolean;
1350
1360
  createdAt: Date;
1351
1361
  syncedAt: Date;
1352
1362
  updatedAt: Date;
1363
+ fullName?: string | null | undefined;
1364
+ mobile?: string | null | undefined;
1365
+ email?: string | null | undefined;
1366
+ source?: string | null | undefined;
1353
1367
  } | null | undefined;
1354
1368
  } | null | undefined;
1355
1369
  } & {
@@ -1396,13 +1410,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1396
1410
  } | null | undefined;
1397
1411
  property?: {
1398
1412
  id: string;
1413
+ mtaId: string;
1399
1414
  status: string;
1400
1415
  isArchived: boolean;
1401
1416
  createdAt: Date;
1402
- syncedAt: Date;
1403
1417
  updatedAt: Date;
1404
- mtaId: string;
1405
1418
  balanceCents: bigint;
1419
+ syncedAt: Date;
1406
1420
  customerId: string;
1407
1421
  projectId: string;
1408
1422
  lotDetail: string | null;
@@ -1437,14 +1451,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1437
1451
  } | null | undefined;
1438
1452
  customer?: {
1439
1453
  id: string;
1440
- fullName: string | null;
1441
- mobile: string | null;
1442
- email: string;
1443
1454
  status: string;
1444
1455
  isArchived: boolean;
1445
1456
  createdAt: Date;
1446
1457
  syncedAt: Date;
1447
1458
  updatedAt: Date;
1459
+ fullName?: string | null | undefined;
1460
+ mobile?: string | null | undefined;
1461
+ email?: string | null | undefined;
1462
+ source?: string | null | undefined;
1448
1463
  } | null | undefined;
1449
1464
  } | null | undefined;
1450
1465
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -1490,13 +1505,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1490
1505
  } | null | undefined;
1491
1506
  property?: {
1492
1507
  id: string;
1508
+ mtaId: string;
1493
1509
  status: string;
1494
1510
  isArchived: boolean;
1495
1511
  createdAt: Date;
1496
- syncedAt: Date;
1497
1512
  updatedAt: Date;
1498
- mtaId: string;
1499
1513
  balanceCents: bigint;
1514
+ syncedAt: Date;
1500
1515
  customerId: string;
1501
1516
  projectId: string;
1502
1517
  lotDetail: string | null;
@@ -1531,14 +1546,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1531
1546
  } | null | undefined;
1532
1547
  customer?: {
1533
1548
  id: string;
1534
- fullName: string | null;
1535
- mobile: string | null;
1536
- email: string;
1537
1549
  status: string;
1538
1550
  isArchived: boolean;
1539
1551
  createdAt: Date;
1540
1552
  syncedAt: Date;
1541
1553
  updatedAt: Date;
1554
+ fullName?: string | null | undefined;
1555
+ mobile?: string | null | undefined;
1556
+ email?: string | null | undefined;
1557
+ source?: string | null | undefined;
1542
1558
  } | null | undefined;
1543
1559
  } | null | undefined;
1544
1560
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -1592,13 +1608,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1592
1608
  } | null | undefined;
1593
1609
  property?: {
1594
1610
  id: string;
1611
+ mtaId: string;
1595
1612
  status: string;
1596
1613
  isArchived: boolean;
1597
1614
  createdAt: unknown;
1598
- syncedAt: unknown;
1599
1615
  updatedAt: unknown;
1600
- mtaId: string;
1601
1616
  balanceCents: unknown;
1617
+ syncedAt: unknown;
1602
1618
  customerId: string;
1603
1619
  projectId: string;
1604
1620
  lotDetail: string | null;
@@ -1633,14 +1649,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1633
1649
  } | null | undefined;
1634
1650
  customer?: {
1635
1651
  id: string;
1636
- fullName: string | null;
1637
- mobile: string | null;
1638
- email: string;
1639
1652
  status: string;
1640
1653
  isArchived: boolean;
1641
1654
  createdAt: unknown;
1642
1655
  syncedAt: unknown;
1643
1656
  updatedAt: unknown;
1657
+ fullName?: string | null | undefined;
1658
+ mobile?: string | null | undefined;
1659
+ email?: string | null | undefined;
1660
+ source?: string | null | undefined;
1644
1661
  } | null | undefined;
1645
1662
  } | null | undefined;
1646
1663
  } & {
@@ -1687,13 +1704,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1687
1704
  } | null | undefined;
1688
1705
  property?: {
1689
1706
  id: string;
1707
+ mtaId: string;
1690
1708
  status: string;
1691
1709
  isArchived: boolean;
1692
1710
  createdAt: unknown;
1693
- syncedAt: unknown;
1694
1711
  updatedAt: unknown;
1695
- mtaId: string;
1696
1712
  balanceCents: unknown;
1713
+ syncedAt: unknown;
1697
1714
  customerId: string;
1698
1715
  projectId: string;
1699
1716
  lotDetail: string | null;
@@ -1728,14 +1745,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1728
1745
  } | null | undefined;
1729
1746
  customer?: {
1730
1747
  id: string;
1731
- fullName: string | null;
1732
- mobile: string | null;
1733
- email: string;
1734
1748
  status: string;
1735
1749
  isArchived: boolean;
1736
1750
  createdAt: unknown;
1737
1751
  syncedAt: unknown;
1738
1752
  updatedAt: unknown;
1753
+ fullName?: string | null | undefined;
1754
+ mobile?: string | null | undefined;
1755
+ email?: string | null | undefined;
1756
+ source?: string | null | undefined;
1739
1757
  } | null | undefined;
1740
1758
  } | null | undefined;
1741
1759
  } & /*elided*/ any) | null | undefined;
@@ -1781,13 +1799,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1781
1799
  } | null | undefined;
1782
1800
  property?: {
1783
1801
  id: string;
1802
+ mtaId: string;
1784
1803
  status: string;
1785
1804
  isArchived: boolean;
1786
1805
  createdAt: unknown;
1787
- syncedAt: unknown;
1788
1806
  updatedAt: unknown;
1789
- mtaId: string;
1790
1807
  balanceCents: unknown;
1808
+ syncedAt: unknown;
1791
1809
  customerId: string;
1792
1810
  projectId: string;
1793
1811
  lotDetail: string | null;
@@ -1822,14 +1840,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1822
1840
  } | null | undefined;
1823
1841
  customer?: {
1824
1842
  id: string;
1825
- fullName: string | null;
1826
- mobile: string | null;
1827
- email: string;
1828
1843
  status: string;
1829
1844
  isArchived: boolean;
1830
1845
  createdAt: unknown;
1831
1846
  syncedAt: unknown;
1832
1847
  updatedAt: unknown;
1848
+ fullName?: string | null | undefined;
1849
+ mobile?: string | null | undefined;
1850
+ email?: string | null | undefined;
1851
+ source?: string | null | undefined;
1833
1852
  } | null | undefined;
1834
1853
  } | null | undefined;
1835
1854
  } & /*elided*/ any)[] | null | undefined;
@@ -1877,13 +1896,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1877
1896
  } | null | undefined;
1878
1897
  property?: {
1879
1898
  id: string;
1899
+ mtaId: string;
1880
1900
  status: string;
1881
1901
  isArchived: boolean;
1882
1902
  createdAt: Date;
1883
- syncedAt: Date;
1884
1903
  updatedAt: Date;
1885
- mtaId: string;
1886
1904
  balanceCents: bigint;
1905
+ syncedAt: Date;
1887
1906
  customerId: string;
1888
1907
  projectId: string;
1889
1908
  lotDetail: string | null;
@@ -1918,14 +1937,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1918
1937
  } | null | undefined;
1919
1938
  customer?: {
1920
1939
  id: string;
1921
- fullName: string | null;
1922
- mobile: string | null;
1923
- email: string;
1924
1940
  status: string;
1925
1941
  isArchived: boolean;
1926
1942
  createdAt: Date;
1927
1943
  syncedAt: Date;
1928
1944
  updatedAt: Date;
1945
+ fullName?: string | null | undefined;
1946
+ mobile?: string | null | undefined;
1947
+ email?: string | null | undefined;
1948
+ source?: string | null | undefined;
1929
1949
  } | null | undefined;
1930
1950
  } | null | undefined;
1931
1951
  } & {
@@ -1972,13 +1992,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
1972
1992
  } | null | undefined;
1973
1993
  property?: {
1974
1994
  id: string;
1995
+ mtaId: string;
1975
1996
  status: string;
1976
1997
  isArchived: boolean;
1977
1998
  createdAt: Date;
1978
- syncedAt: Date;
1979
1999
  updatedAt: Date;
1980
- mtaId: string;
1981
2000
  balanceCents: bigint;
2001
+ syncedAt: Date;
1982
2002
  customerId: string;
1983
2003
  projectId: string;
1984
2004
  lotDetail: string | null;
@@ -2013,14 +2033,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2013
2033
  } | null | undefined;
2014
2034
  customer?: {
2015
2035
  id: string;
2016
- fullName: string | null;
2017
- mobile: string | null;
2018
- email: string;
2019
2036
  status: string;
2020
2037
  isArchived: boolean;
2021
2038
  createdAt: Date;
2022
2039
  syncedAt: Date;
2023
2040
  updatedAt: Date;
2041
+ fullName?: string | null | undefined;
2042
+ mobile?: string | null | undefined;
2043
+ email?: string | null | undefined;
2044
+ source?: string | null | undefined;
2024
2045
  } | null | undefined;
2025
2046
  } | null | undefined;
2026
2047
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -2066,13 +2087,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2066
2087
  } | null | undefined;
2067
2088
  property?: {
2068
2089
  id: string;
2090
+ mtaId: string;
2069
2091
  status: string;
2070
2092
  isArchived: boolean;
2071
2093
  createdAt: Date;
2072
- syncedAt: Date;
2073
2094
  updatedAt: Date;
2074
- mtaId: string;
2075
2095
  balanceCents: bigint;
2096
+ syncedAt: Date;
2076
2097
  customerId: string;
2077
2098
  projectId: string;
2078
2099
  lotDetail: string | null;
@@ -2107,14 +2128,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2107
2128
  } | null | undefined;
2108
2129
  customer?: {
2109
2130
  id: string;
2110
- fullName: string | null;
2111
- mobile: string | null;
2112
- email: string;
2113
2131
  status: string;
2114
2132
  isArchived: boolean;
2115
2133
  createdAt: Date;
2116
2134
  syncedAt: Date;
2117
2135
  updatedAt: Date;
2136
+ fullName?: string | null | undefined;
2137
+ mobile?: string | null | undefined;
2138
+ email?: string | null | undefined;
2139
+ source?: string | null | undefined;
2118
2140
  } | null | undefined;
2119
2141
  } | null | undefined;
2120
2142
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -2168,13 +2190,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2168
2190
  } | null | undefined;
2169
2191
  property?: {
2170
2192
  id: string;
2193
+ mtaId: string;
2171
2194
  status: string;
2172
2195
  isArchived: boolean;
2173
2196
  createdAt: unknown;
2174
- syncedAt: unknown;
2175
2197
  updatedAt: unknown;
2176
- mtaId: string;
2177
2198
  balanceCents: unknown;
2199
+ syncedAt: unknown;
2178
2200
  customerId: string;
2179
2201
  projectId: string;
2180
2202
  lotDetail: string | null;
@@ -2209,14 +2231,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2209
2231
  } | null | undefined;
2210
2232
  customer?: {
2211
2233
  id: string;
2212
- fullName: string | null;
2213
- mobile: string | null;
2214
- email: string;
2215
2234
  status: string;
2216
2235
  isArchived: boolean;
2217
2236
  createdAt: unknown;
2218
2237
  syncedAt: unknown;
2219
2238
  updatedAt: unknown;
2239
+ fullName?: string | null | undefined;
2240
+ mobile?: string | null | undefined;
2241
+ email?: string | null | undefined;
2242
+ source?: string | null | undefined;
2220
2243
  } | null | undefined;
2221
2244
  } | null | undefined;
2222
2245
  } & {
@@ -2263,13 +2286,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2263
2286
  } | null | undefined;
2264
2287
  property?: {
2265
2288
  id: string;
2289
+ mtaId: string;
2266
2290
  status: string;
2267
2291
  isArchived: boolean;
2268
2292
  createdAt: unknown;
2269
- syncedAt: unknown;
2270
2293
  updatedAt: unknown;
2271
- mtaId: string;
2272
2294
  balanceCents: unknown;
2295
+ syncedAt: unknown;
2273
2296
  customerId: string;
2274
2297
  projectId: string;
2275
2298
  lotDetail: string | null;
@@ -2304,14 +2327,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2304
2327
  } | null | undefined;
2305
2328
  customer?: {
2306
2329
  id: string;
2307
- fullName: string | null;
2308
- mobile: string | null;
2309
- email: string;
2310
2330
  status: string;
2311
2331
  isArchived: boolean;
2312
2332
  createdAt: unknown;
2313
2333
  syncedAt: unknown;
2314
2334
  updatedAt: unknown;
2335
+ fullName?: string | null | undefined;
2336
+ mobile?: string | null | undefined;
2337
+ email?: string | null | undefined;
2338
+ source?: string | null | undefined;
2315
2339
  } | null | undefined;
2316
2340
  } | null | undefined;
2317
2341
  } & /*elided*/ any) | null | undefined;
@@ -2357,13 +2381,13 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2357
2381
  } | null | undefined;
2358
2382
  property?: {
2359
2383
  id: string;
2384
+ mtaId: string;
2360
2385
  status: string;
2361
2386
  isArchived: boolean;
2362
2387
  createdAt: unknown;
2363
- syncedAt: unknown;
2364
2388
  updatedAt: unknown;
2365
- mtaId: string;
2366
2389
  balanceCents: unknown;
2390
+ syncedAt: unknown;
2367
2391
  customerId: string;
2368
2392
  projectId: string;
2369
2393
  lotDetail: string | null;
@@ -2398,14 +2422,15 @@ export declare const cmaReconciledTransactionRestResSchema: z.ZodObject<{
2398
2422
  } | null | undefined;
2399
2423
  customer?: {
2400
2424
  id: string;
2401
- fullName: string | null;
2402
- mobile: string | null;
2403
- email: string;
2404
2425
  status: string;
2405
2426
  isArchived: boolean;
2406
2427
  createdAt: unknown;
2407
2428
  syncedAt: unknown;
2408
2429
  updatedAt: unknown;
2430
+ fullName?: string | null | undefined;
2431
+ mobile?: string | null | undefined;
2432
+ email?: string | null | undefined;
2433
+ source?: string | null | undefined;
2409
2434
  } | null | undefined;
2410
2435
  } | null | undefined;
2411
2436
  } & /*elided*/ any)[] | null | undefined;