@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
@@ -40,14 +40,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
40
40
  mtaBalanceCents: z.ZodCodec<z.ZodUnion<readonly [z.ZodString, z.ZodBigInt, z.ZodNumber]>, z.ZodNumber>;
41
41
  customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  id: z.ZodUUID;
43
- fullName: z.ZodNullable<z.ZodString>;
44
- mobile: z.ZodNullable<z.ZodString>;
45
- email: z.ZodString;
43
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  status: z.ZodString;
47
47
  isArchived: z.ZodBoolean;
48
48
  createdAt: z.ZodCoercedDate<unknown>;
49
49
  syncedAt: z.ZodCoercedDate<unknown>;
50
50
  updatedAt: z.ZodCoercedDate<unknown>;
51
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
52
  }, z.core.$strip>>>;
52
53
  project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
54
  id: z.ZodString;
@@ -160,13 +161,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
160
161
  } | null | undefined;
161
162
  property?: {
162
163
  id: string;
164
+ mtaId: string;
163
165
  status: string;
164
166
  isArchived: boolean;
165
167
  createdAt: Date;
166
- syncedAt: Date;
167
168
  updatedAt: Date;
168
- mtaId: string;
169
169
  balanceCents: bigint;
170
+ syncedAt: Date;
170
171
  customerId: string;
171
172
  projectId: string;
172
173
  lotDetail: string | null;
@@ -201,14 +202,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
201
202
  } | null | undefined;
202
203
  customer?: {
203
204
  id: string;
204
- fullName: string | null;
205
- mobile: string | null;
206
- email: string;
207
205
  status: string;
208
206
  isArchived: boolean;
209
207
  createdAt: Date;
210
208
  syncedAt: Date;
211
209
  updatedAt: Date;
210
+ fullName?: string | null | undefined;
211
+ mobile?: string | null | undefined;
212
+ email?: string | null | undefined;
213
+ source?: string | null | undefined;
212
214
  } | null | undefined;
213
215
  } | null | undefined;
214
216
  } & {
@@ -255,13 +257,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
255
257
  } | null | undefined;
256
258
  property?: {
257
259
  id: string;
260
+ mtaId: string;
258
261
  status: string;
259
262
  isArchived: boolean;
260
263
  createdAt: Date;
261
- syncedAt: Date;
262
264
  updatedAt: Date;
263
- mtaId: string;
264
265
  balanceCents: bigint;
266
+ syncedAt: Date;
265
267
  customerId: string;
266
268
  projectId: string;
267
269
  lotDetail: string | null;
@@ -296,14 +298,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
296
298
  } | null | undefined;
297
299
  customer?: {
298
300
  id: string;
299
- fullName: string | null;
300
- mobile: string | null;
301
- email: string;
302
301
  status: string;
303
302
  isArchived: boolean;
304
303
  createdAt: Date;
305
304
  syncedAt: Date;
306
305
  updatedAt: Date;
306
+ fullName?: string | null | undefined;
307
+ mobile?: string | null | undefined;
308
+ email?: string | null | undefined;
309
+ source?: string | null | undefined;
307
310
  } | null | undefined;
308
311
  } | null | undefined;
309
312
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -349,13 +352,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
349
352
  } | null | undefined;
350
353
  property?: {
351
354
  id: string;
355
+ mtaId: string;
352
356
  status: string;
353
357
  isArchived: boolean;
354
358
  createdAt: Date;
355
- syncedAt: Date;
356
359
  updatedAt: Date;
357
- mtaId: string;
358
360
  balanceCents: bigint;
361
+ syncedAt: Date;
359
362
  customerId: string;
360
363
  projectId: string;
361
364
  lotDetail: string | null;
@@ -390,14 +393,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
390
393
  } | null | undefined;
391
394
  customer?: {
392
395
  id: string;
393
- fullName: string | null;
394
- mobile: string | null;
395
- email: string;
396
396
  status: string;
397
397
  isArchived: boolean;
398
398
  createdAt: Date;
399
399
  syncedAt: Date;
400
400
  updatedAt: Date;
401
+ fullName?: string | null | undefined;
402
+ mobile?: string | null | undefined;
403
+ email?: string | null | undefined;
404
+ source?: string | null | undefined;
401
405
  } | null | undefined;
402
406
  } | null | undefined;
403
407
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -451,13 +455,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
451
455
  } | null | undefined;
452
456
  property?: {
453
457
  id: string;
458
+ mtaId: string;
454
459
  status: string;
455
460
  isArchived: boolean;
456
461
  createdAt: unknown;
457
- syncedAt: unknown;
458
462
  updatedAt: unknown;
459
- mtaId: string;
460
463
  balanceCents: unknown;
464
+ syncedAt: unknown;
461
465
  customerId: string;
462
466
  projectId: string;
463
467
  lotDetail: string | null;
@@ -492,14 +496,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
492
496
  } | null | undefined;
493
497
  customer?: {
494
498
  id: string;
495
- fullName: string | null;
496
- mobile: string | null;
497
- email: string;
498
499
  status: string;
499
500
  isArchived: boolean;
500
501
  createdAt: unknown;
501
502
  syncedAt: unknown;
502
503
  updatedAt: unknown;
504
+ fullName?: string | null | undefined;
505
+ mobile?: string | null | undefined;
506
+ email?: string | null | undefined;
507
+ source?: string | null | undefined;
503
508
  } | null | undefined;
504
509
  } | null | undefined;
505
510
  } & {
@@ -546,13 +551,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
546
551
  } | null | undefined;
547
552
  property?: {
548
553
  id: string;
554
+ mtaId: string;
549
555
  status: string;
550
556
  isArchived: boolean;
551
557
  createdAt: unknown;
552
- syncedAt: unknown;
553
558
  updatedAt: unknown;
554
- mtaId: string;
555
559
  balanceCents: unknown;
560
+ syncedAt: unknown;
556
561
  customerId: string;
557
562
  projectId: string;
558
563
  lotDetail: string | null;
@@ -587,14 +592,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
587
592
  } | null | undefined;
588
593
  customer?: {
589
594
  id: string;
590
- fullName: string | null;
591
- mobile: string | null;
592
- email: string;
593
595
  status: string;
594
596
  isArchived: boolean;
595
597
  createdAt: unknown;
596
598
  syncedAt: unknown;
597
599
  updatedAt: unknown;
600
+ fullName?: string | null | undefined;
601
+ mobile?: string | null | undefined;
602
+ email?: string | null | undefined;
603
+ source?: string | null | undefined;
598
604
  } | null | undefined;
599
605
  } | null | undefined;
600
606
  } & /*elided*/ any) | null | undefined;
@@ -640,13 +646,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
640
646
  } | null | undefined;
641
647
  property?: {
642
648
  id: string;
649
+ mtaId: string;
643
650
  status: string;
644
651
  isArchived: boolean;
645
652
  createdAt: unknown;
646
- syncedAt: unknown;
647
653
  updatedAt: unknown;
648
- mtaId: string;
649
654
  balanceCents: unknown;
655
+ syncedAt: unknown;
650
656
  customerId: string;
651
657
  projectId: string;
652
658
  lotDetail: string | null;
@@ -681,14 +687,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
681
687
  } | null | undefined;
682
688
  customer?: {
683
689
  id: string;
684
- fullName: string | null;
685
- mobile: string | null;
686
- email: string;
687
690
  status: string;
688
691
  isArchived: boolean;
689
692
  createdAt: unknown;
690
693
  syncedAt: unknown;
691
694
  updatedAt: unknown;
695
+ fullName?: string | null | undefined;
696
+ mobile?: string | null | undefined;
697
+ email?: string | null | undefined;
698
+ source?: string | null | undefined;
692
699
  } | null | undefined;
693
700
  } | null | undefined;
694
701
  } & /*elided*/ any)[] | null | undefined;
@@ -736,13 +743,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
736
743
  } | null | undefined;
737
744
  property?: {
738
745
  id: string;
746
+ mtaId: string;
739
747
  status: string;
740
748
  isArchived: boolean;
741
749
  createdAt: Date;
742
- syncedAt: Date;
743
750
  updatedAt: Date;
744
- mtaId: string;
745
751
  balanceCents: bigint;
752
+ syncedAt: Date;
746
753
  customerId: string;
747
754
  projectId: string;
748
755
  lotDetail: string | null;
@@ -777,14 +784,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
777
784
  } | null | undefined;
778
785
  customer?: {
779
786
  id: string;
780
- fullName: string | null;
781
- mobile: string | null;
782
- email: string;
783
787
  status: string;
784
788
  isArchived: boolean;
785
789
  createdAt: Date;
786
790
  syncedAt: Date;
787
791
  updatedAt: Date;
792
+ fullName?: string | null | undefined;
793
+ mobile?: string | null | undefined;
794
+ email?: string | null | undefined;
795
+ source?: string | null | undefined;
788
796
  } | null | undefined;
789
797
  } | null | undefined;
790
798
  } & {
@@ -831,13 +839,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
831
839
  } | null | undefined;
832
840
  property?: {
833
841
  id: string;
842
+ mtaId: string;
834
843
  status: string;
835
844
  isArchived: boolean;
836
845
  createdAt: Date;
837
- syncedAt: Date;
838
846
  updatedAt: Date;
839
- mtaId: string;
840
847
  balanceCents: bigint;
848
+ syncedAt: Date;
841
849
  customerId: string;
842
850
  projectId: string;
843
851
  lotDetail: string | null;
@@ -872,14 +880,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
872
880
  } | null | undefined;
873
881
  customer?: {
874
882
  id: string;
875
- fullName: string | null;
876
- mobile: string | null;
877
- email: string;
878
883
  status: string;
879
884
  isArchived: boolean;
880
885
  createdAt: Date;
881
886
  syncedAt: Date;
882
887
  updatedAt: Date;
888
+ fullName?: string | null | undefined;
889
+ mobile?: string | null | undefined;
890
+ email?: string | null | undefined;
891
+ source?: string | null | undefined;
883
892
  } | null | undefined;
884
893
  } | null | undefined;
885
894
  } & /*elided*/ any, "cma"> | null | undefined;
@@ -925,13 +934,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
925
934
  } | null | undefined;
926
935
  property?: {
927
936
  id: string;
937
+ mtaId: string;
928
938
  status: string;
929
939
  isArchived: boolean;
930
940
  createdAt: Date;
931
- syncedAt: Date;
932
941
  updatedAt: Date;
933
- mtaId: string;
934
942
  balanceCents: bigint;
943
+ syncedAt: Date;
935
944
  customerId: string;
936
945
  projectId: string;
937
946
  lotDetail: string | null;
@@ -966,14 +975,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
966
975
  } | null | undefined;
967
976
  customer?: {
968
977
  id: string;
969
- fullName: string | null;
970
- mobile: string | null;
971
- email: string;
972
978
  status: string;
973
979
  isArchived: boolean;
974
980
  createdAt: Date;
975
981
  syncedAt: Date;
976
982
  updatedAt: Date;
983
+ fullName?: string | null | undefined;
984
+ mobile?: string | null | undefined;
985
+ email?: string | null | undefined;
986
+ source?: string | null | undefined;
977
987
  } | null | undefined;
978
988
  } | null | undefined;
979
989
  } & /*elided*/ any, "cma">[] | null | undefined;
@@ -1027,13 +1037,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1027
1037
  } | null | undefined;
1028
1038
  property?: {
1029
1039
  id: string;
1040
+ mtaId: string;
1030
1041
  status: string;
1031
1042
  isArchived: boolean;
1032
1043
  createdAt: unknown;
1033
- syncedAt: unknown;
1034
1044
  updatedAt: unknown;
1035
- mtaId: string;
1036
1045
  balanceCents: unknown;
1046
+ syncedAt: unknown;
1037
1047
  customerId: string;
1038
1048
  projectId: string;
1039
1049
  lotDetail: string | null;
@@ -1068,14 +1078,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1068
1078
  } | null | undefined;
1069
1079
  customer?: {
1070
1080
  id: string;
1071
- fullName: string | null;
1072
- mobile: string | null;
1073
- email: string;
1074
1081
  status: string;
1075
1082
  isArchived: boolean;
1076
1083
  createdAt: unknown;
1077
1084
  syncedAt: unknown;
1078
1085
  updatedAt: unknown;
1086
+ fullName?: string | null | undefined;
1087
+ mobile?: string | null | undefined;
1088
+ email?: string | null | undefined;
1089
+ source?: string | null | undefined;
1079
1090
  } | null | undefined;
1080
1091
  } | null | undefined;
1081
1092
  } & {
@@ -1122,13 +1133,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1122
1133
  } | null | undefined;
1123
1134
  property?: {
1124
1135
  id: string;
1136
+ mtaId: string;
1125
1137
  status: string;
1126
1138
  isArchived: boolean;
1127
1139
  createdAt: unknown;
1128
- syncedAt: unknown;
1129
1140
  updatedAt: unknown;
1130
- mtaId: string;
1131
1141
  balanceCents: unknown;
1142
+ syncedAt: unknown;
1132
1143
  customerId: string;
1133
1144
  projectId: string;
1134
1145
  lotDetail: string | null;
@@ -1163,14 +1174,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1163
1174
  } | null | undefined;
1164
1175
  customer?: {
1165
1176
  id: string;
1166
- fullName: string | null;
1167
- mobile: string | null;
1168
- email: string;
1169
1177
  status: string;
1170
1178
  isArchived: boolean;
1171
1179
  createdAt: unknown;
1172
1180
  syncedAt: unknown;
1173
1181
  updatedAt: unknown;
1182
+ fullName?: string | null | undefined;
1183
+ mobile?: string | null | undefined;
1184
+ email?: string | null | undefined;
1185
+ source?: string | null | undefined;
1174
1186
  } | null | undefined;
1175
1187
  } | null | undefined;
1176
1188
  } & /*elided*/ any) | null | undefined;
@@ -1216,13 +1228,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1216
1228
  } | null | undefined;
1217
1229
  property?: {
1218
1230
  id: string;
1231
+ mtaId: string;
1219
1232
  status: string;
1220
1233
  isArchived: boolean;
1221
1234
  createdAt: unknown;
1222
- syncedAt: unknown;
1223
1235
  updatedAt: unknown;
1224
- mtaId: string;
1225
1236
  balanceCents: unknown;
1237
+ syncedAt: unknown;
1226
1238
  customerId: string;
1227
1239
  projectId: string;
1228
1240
  lotDetail: string | null;
@@ -1257,14 +1269,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1257
1269
  } | null | undefined;
1258
1270
  customer?: {
1259
1271
  id: string;
1260
- fullName: string | null;
1261
- mobile: string | null;
1262
- email: string;
1263
1272
  status: string;
1264
1273
  isArchived: boolean;
1265
1274
  createdAt: unknown;
1266
1275
  syncedAt: unknown;
1267
1276
  updatedAt: unknown;
1277
+ fullName?: string | null | undefined;
1278
+ mobile?: string | null | undefined;
1279
+ email?: string | null | undefined;
1280
+ source?: string | null | undefined;
1268
1281
  } | null | undefined;
1269
1282
  } | null | undefined;
1270
1283
  } & /*elided*/ any)[] | null | undefined;
@@ -1314,13 +1327,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1314
1327
  } | null | undefined;
1315
1328
  property?: {
1316
1329
  id: string;
1330
+ mtaId: string;
1317
1331
  status: string;
1318
1332
  isArchived: boolean;
1319
1333
  createdAt: Date;
1320
- syncedAt: Date;
1321
1334
  updatedAt: Date;
1322
- mtaId: string;
1323
1335
  balanceCents: bigint;
1336
+ syncedAt: Date;
1324
1337
  customerId: string;
1325
1338
  projectId: string;
1326
1339
  lotDetail: string | null;
@@ -1355,14 +1368,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1355
1368
  } | null | undefined;
1356
1369
  customer?: {
1357
1370
  id: string;
1358
- fullName: string | null;
1359
- mobile: string | null;
1360
- email: string;
1361
1371
  status: string;
1362
1372
  isArchived: boolean;
1363
1373
  createdAt: Date;
1364
1374
  syncedAt: Date;
1365
1375
  updatedAt: Date;
1376
+ fullName?: string | null | undefined;
1377
+ mobile?: string | null | undefined;
1378
+ email?: string | null | undefined;
1379
+ source?: string | null | undefined;
1366
1380
  } | null | undefined;
1367
1381
  } | null | undefined;
1368
1382
  } & {
@@ -1410,13 +1424,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1410
1424
  } | null | undefined;
1411
1425
  property?: {
1412
1426
  id: string;
1427
+ mtaId: string;
1413
1428
  status: string;
1414
1429
  isArchived: boolean;
1415
1430
  createdAt: Date;
1416
- syncedAt: Date;
1417
1431
  updatedAt: Date;
1418
- mtaId: string;
1419
1432
  balanceCents: bigint;
1433
+ syncedAt: Date;
1420
1434
  customerId: string;
1421
1435
  projectId: string;
1422
1436
  lotDetail: string | null;
@@ -1451,14 +1465,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1451
1465
  } | null | undefined;
1452
1466
  customer?: {
1453
1467
  id: string;
1454
- fullName: string | null;
1455
- mobile: string | null;
1456
- email: string;
1457
1468
  status: string;
1458
1469
  isArchived: boolean;
1459
1470
  createdAt: Date;
1460
1471
  syncedAt: Date;
1461
1472
  updatedAt: Date;
1473
+ fullName?: string | null | undefined;
1474
+ mobile?: string | null | undefined;
1475
+ email?: string | null | undefined;
1476
+ source?: string | null | undefined;
1462
1477
  } | null | undefined;
1463
1478
  } | null | undefined;
1464
1479
  } & /*elided*/ any) | null | undefined;
@@ -1505,13 +1520,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1505
1520
  } | null | undefined;
1506
1521
  property?: {
1507
1522
  id: string;
1523
+ mtaId: string;
1508
1524
  status: string;
1509
1525
  isArchived: boolean;
1510
1526
  createdAt: Date;
1511
- syncedAt: Date;
1512
1527
  updatedAt: Date;
1513
- mtaId: string;
1514
1528
  balanceCents: bigint;
1529
+ syncedAt: Date;
1515
1530
  customerId: string;
1516
1531
  projectId: string;
1517
1532
  lotDetail: string | null;
@@ -1546,14 +1561,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1546
1561
  } | null | undefined;
1547
1562
  customer?: {
1548
1563
  id: string;
1549
- fullName: string | null;
1550
- mobile: string | null;
1551
- email: string;
1552
1564
  status: string;
1553
1565
  isArchived: boolean;
1554
1566
  createdAt: Date;
1555
1567
  syncedAt: Date;
1556
1568
  updatedAt: Date;
1569
+ fullName?: string | null | undefined;
1570
+ mobile?: string | null | undefined;
1571
+ email?: string | null | undefined;
1572
+ source?: string | null | undefined;
1557
1573
  } | null | undefined;
1558
1574
  } | null | undefined;
1559
1575
  } & /*elided*/ any)[] | null | undefined;
@@ -1568,6 +1584,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
1568
1584
  amountStr?: string | null | undefined;
1569
1585
  transactionNumber?: string | null | undefined;
1570
1586
  isCancelable?: boolean | null | undefined;
1587
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1571
1588
  }, {
1572
1589
  id: string;
1573
1590
  referenceId: string | null;
@@ -1611,13 +1628,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1611
1628
  } | null | undefined;
1612
1629
  property?: {
1613
1630
  id: string;
1631
+ mtaId: string;
1614
1632
  status: string;
1615
1633
  isArchived: boolean;
1616
1634
  createdAt: unknown;
1617
- syncedAt: unknown;
1618
1635
  updatedAt: unknown;
1619
- mtaId: string;
1620
1636
  balanceCents: unknown;
1637
+ syncedAt: unknown;
1621
1638
  customerId: string;
1622
1639
  projectId: string;
1623
1640
  lotDetail: string | null;
@@ -1652,14 +1669,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1652
1669
  } | null | undefined;
1653
1670
  customer?: {
1654
1671
  id: string;
1655
- fullName: string | null;
1656
- mobile: string | null;
1657
- email: string;
1658
1672
  status: string;
1659
1673
  isArchived: boolean;
1660
1674
  createdAt: unknown;
1661
1675
  syncedAt: unknown;
1662
1676
  updatedAt: unknown;
1677
+ fullName?: string | null | undefined;
1678
+ mobile?: string | null | undefined;
1679
+ email?: string | null | undefined;
1680
+ source?: string | null | undefined;
1663
1681
  } | null | undefined;
1664
1682
  } | null | undefined;
1665
1683
  } & {
@@ -1707,13 +1725,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1707
1725
  } | null | undefined;
1708
1726
  property?: {
1709
1727
  id: string;
1728
+ mtaId: string;
1710
1729
  status: string;
1711
1730
  isArchived: boolean;
1712
1731
  createdAt: unknown;
1713
- syncedAt: unknown;
1714
1732
  updatedAt: unknown;
1715
- mtaId: string;
1716
1733
  balanceCents: unknown;
1734
+ syncedAt: unknown;
1717
1735
  customerId: string;
1718
1736
  projectId: string;
1719
1737
  lotDetail: string | null;
@@ -1748,14 +1766,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1748
1766
  } | null | undefined;
1749
1767
  customer?: {
1750
1768
  id: string;
1751
- fullName: string | null;
1752
- mobile: string | null;
1753
- email: string;
1754
1769
  status: string;
1755
1770
  isArchived: boolean;
1756
1771
  createdAt: unknown;
1757
1772
  syncedAt: unknown;
1758
1773
  updatedAt: unknown;
1774
+ fullName?: string | null | undefined;
1775
+ mobile?: string | null | undefined;
1776
+ email?: string | null | undefined;
1777
+ source?: string | null | undefined;
1759
1778
  } | null | undefined;
1760
1779
  } | null | undefined;
1761
1780
  } & /*elided*/ any) | null | undefined;
@@ -1802,13 +1821,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1802
1821
  } | null | undefined;
1803
1822
  property?: {
1804
1823
  id: string;
1824
+ mtaId: string;
1805
1825
  status: string;
1806
1826
  isArchived: boolean;
1807
1827
  createdAt: unknown;
1808
- syncedAt: unknown;
1809
1828
  updatedAt: unknown;
1810
- mtaId: string;
1811
1829
  balanceCents: unknown;
1830
+ syncedAt: unknown;
1812
1831
  customerId: string;
1813
1832
  projectId: string;
1814
1833
  lotDetail: string | null;
@@ -1843,18 +1862,20 @@ export declare const propertyRestResSchema: z.ZodObject<{
1843
1862
  } | null | undefined;
1844
1863
  customer?: {
1845
1864
  id: string;
1846
- fullName: string | null;
1847
- mobile: string | null;
1848
- email: string;
1849
1865
  status: string;
1850
1866
  isArchived: boolean;
1851
1867
  createdAt: unknown;
1852
1868
  syncedAt: unknown;
1853
1869
  updatedAt: unknown;
1870
+ fullName?: string | null | undefined;
1871
+ mobile?: string | null | undefined;
1872
+ email?: string | null | undefined;
1873
+ source?: string | null | undefined;
1854
1874
  } | null | undefined;
1855
1875
  } | null | undefined;
1856
1876
  } & /*elided*/ any)[] | null | undefined;
1857
1877
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1878
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
1858
1879
  }, z.core.$ZodTypeInternals<{
1859
1880
  id: string;
1860
1881
  referenceId: string | null;
@@ -1898,13 +1919,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1898
1919
  } | null | undefined;
1899
1920
  property?: {
1900
1921
  id: string;
1922
+ mtaId: string;
1901
1923
  status: string;
1902
1924
  isArchived: boolean;
1903
1925
  createdAt: Date;
1904
- syncedAt: Date;
1905
1926
  updatedAt: Date;
1906
- mtaId: string;
1907
1927
  balanceCents: bigint;
1928
+ syncedAt: Date;
1908
1929
  customerId: string;
1909
1930
  projectId: string;
1910
1931
  lotDetail: string | null;
@@ -1939,14 +1960,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
1939
1960
  } | null | undefined;
1940
1961
  customer?: {
1941
1962
  id: string;
1942
- fullName: string | null;
1943
- mobile: string | null;
1944
- email: string;
1945
1963
  status: string;
1946
1964
  isArchived: boolean;
1947
1965
  createdAt: Date;
1948
1966
  syncedAt: Date;
1949
1967
  updatedAt: Date;
1968
+ fullName?: string | null | undefined;
1969
+ mobile?: string | null | undefined;
1970
+ email?: string | null | undefined;
1971
+ source?: string | null | undefined;
1950
1972
  } | null | undefined;
1951
1973
  } | null | undefined;
1952
1974
  } & {
@@ -1994,13 +2016,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
1994
2016
  } | null | undefined;
1995
2017
  property?: {
1996
2018
  id: string;
2019
+ mtaId: string;
1997
2020
  status: string;
1998
2021
  isArchived: boolean;
1999
2022
  createdAt: Date;
2000
- syncedAt: Date;
2001
2023
  updatedAt: Date;
2002
- mtaId: string;
2003
2024
  balanceCents: bigint;
2025
+ syncedAt: Date;
2004
2026
  customerId: string;
2005
2027
  projectId: string;
2006
2028
  lotDetail: string | null;
@@ -2035,14 +2057,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
2035
2057
  } | null | undefined;
2036
2058
  customer?: {
2037
2059
  id: string;
2038
- fullName: string | null;
2039
- mobile: string | null;
2040
- email: string;
2041
2060
  status: string;
2042
2061
  isArchived: boolean;
2043
2062
  createdAt: Date;
2044
2063
  syncedAt: Date;
2045
2064
  updatedAt: Date;
2065
+ fullName?: string | null | undefined;
2066
+ mobile?: string | null | undefined;
2067
+ email?: string | null | undefined;
2068
+ source?: string | null | undefined;
2046
2069
  } | null | undefined;
2047
2070
  } | null | undefined;
2048
2071
  } & /*elided*/ any) | null | undefined;
@@ -2089,13 +2112,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
2089
2112
  } | null | undefined;
2090
2113
  property?: {
2091
2114
  id: string;
2115
+ mtaId: string;
2092
2116
  status: string;
2093
2117
  isArchived: boolean;
2094
2118
  createdAt: Date;
2095
- syncedAt: Date;
2096
2119
  updatedAt: Date;
2097
- mtaId: string;
2098
2120
  balanceCents: bigint;
2121
+ syncedAt: Date;
2099
2122
  customerId: string;
2100
2123
  projectId: string;
2101
2124
  lotDetail: string | null;
@@ -2130,14 +2153,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
2130
2153
  } | null | undefined;
2131
2154
  customer?: {
2132
2155
  id: string;
2133
- fullName: string | null;
2134
- mobile: string | null;
2135
- email: string;
2136
2156
  status: string;
2137
2157
  isArchived: boolean;
2138
2158
  createdAt: Date;
2139
2159
  syncedAt: Date;
2140
2160
  updatedAt: Date;
2161
+ fullName?: string | null | undefined;
2162
+ mobile?: string | null | undefined;
2163
+ email?: string | null | undefined;
2164
+ source?: string | null | undefined;
2141
2165
  } | null | undefined;
2142
2166
  } | null | undefined;
2143
2167
  } & /*elided*/ any)[] | null | undefined;
@@ -2152,6 +2176,7 @@ export declare const propertyRestResSchema: z.ZodObject<{
2152
2176
  amountStr?: string | null | undefined;
2153
2177
  transactionNumber?: string | null | undefined;
2154
2178
  isCancelable?: boolean | null | undefined;
2179
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
2155
2180
  }, {
2156
2181
  id: string;
2157
2182
  referenceId: string | null;
@@ -2195,13 +2220,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
2195
2220
  } | null | undefined;
2196
2221
  property?: {
2197
2222
  id: string;
2223
+ mtaId: string;
2198
2224
  status: string;
2199
2225
  isArchived: boolean;
2200
2226
  createdAt: unknown;
2201
- syncedAt: unknown;
2202
2227
  updatedAt: unknown;
2203
- mtaId: string;
2204
2228
  balanceCents: unknown;
2229
+ syncedAt: unknown;
2205
2230
  customerId: string;
2206
2231
  projectId: string;
2207
2232
  lotDetail: string | null;
@@ -2236,14 +2261,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
2236
2261
  } | null | undefined;
2237
2262
  customer?: {
2238
2263
  id: string;
2239
- fullName: string | null;
2240
- mobile: string | null;
2241
- email: string;
2242
2264
  status: string;
2243
2265
  isArchived: boolean;
2244
2266
  createdAt: unknown;
2245
2267
  syncedAt: unknown;
2246
2268
  updatedAt: unknown;
2269
+ fullName?: string | null | undefined;
2270
+ mobile?: string | null | undefined;
2271
+ email?: string | null | undefined;
2272
+ source?: string | null | undefined;
2247
2273
  } | null | undefined;
2248
2274
  } | null | undefined;
2249
2275
  } & {
@@ -2291,13 +2317,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
2291
2317
  } | null | undefined;
2292
2318
  property?: {
2293
2319
  id: string;
2320
+ mtaId: string;
2294
2321
  status: string;
2295
2322
  isArchived: boolean;
2296
2323
  createdAt: unknown;
2297
- syncedAt: unknown;
2298
2324
  updatedAt: unknown;
2299
- mtaId: string;
2300
2325
  balanceCents: unknown;
2326
+ syncedAt: unknown;
2301
2327
  customerId: string;
2302
2328
  projectId: string;
2303
2329
  lotDetail: string | null;
@@ -2332,14 +2358,15 @@ export declare const propertyRestResSchema: z.ZodObject<{
2332
2358
  } | null | undefined;
2333
2359
  customer?: {
2334
2360
  id: string;
2335
- fullName: string | null;
2336
- mobile: string | null;
2337
- email: string;
2338
2361
  status: string;
2339
2362
  isArchived: boolean;
2340
2363
  createdAt: unknown;
2341
2364
  syncedAt: unknown;
2342
2365
  updatedAt: unknown;
2366
+ fullName?: string | null | undefined;
2367
+ mobile?: string | null | undefined;
2368
+ email?: string | null | undefined;
2369
+ source?: string | null | undefined;
2343
2370
  } | null | undefined;
2344
2371
  } | null | undefined;
2345
2372
  } & /*elided*/ any) | null | undefined;
@@ -2386,13 +2413,13 @@ export declare const propertyRestResSchema: z.ZodObject<{
2386
2413
  } | null | undefined;
2387
2414
  property?: {
2388
2415
  id: string;
2416
+ mtaId: string;
2389
2417
  status: string;
2390
2418
  isArchived: boolean;
2391
2419
  createdAt: unknown;
2392
- syncedAt: unknown;
2393
2420
  updatedAt: unknown;
2394
- mtaId: string;
2395
2421
  balanceCents: unknown;
2422
+ syncedAt: unknown;
2396
2423
  customerId: string;
2397
2424
  projectId: string;
2398
2425
  lotDetail: string | null;
@@ -2427,18 +2454,20 @@ export declare const propertyRestResSchema: z.ZodObject<{
2427
2454
  } | null | undefined;
2428
2455
  customer?: {
2429
2456
  id: string;
2430
- fullName: string | null;
2431
- mobile: string | null;
2432
- email: string;
2433
2457
  status: string;
2434
2458
  isArchived: boolean;
2435
2459
  createdAt: unknown;
2436
2460
  syncedAt: unknown;
2437
2461
  updatedAt: unknown;
2462
+ fullName?: string | null | undefined;
2463
+ mobile?: string | null | undefined;
2464
+ email?: string | null | undefined;
2465
+ source?: string | null | undefined;
2438
2466
  } | null | undefined;
2439
2467
  } | null | undefined;
2440
2468
  } & /*elided*/ any)[] | null | undefined;
2441
2469
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
2470
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
2442
2471
  }>>>>>;
2443
2472
  }, z.core.$strip>;
2444
2473
  export type PropertyRestRes = z.infer<typeof propertyRestResSchema>;