@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
@@ -94,13 +94,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
94
94
  } | null | undefined;
95
95
  property?: {
96
96
  id: string;
97
+ mtaId: string;
97
98
  status: string;
98
99
  isArchived: boolean;
99
100
  createdAt: Date;
100
- syncedAt: Date;
101
101
  updatedAt: Date;
102
- mtaId: string;
103
102
  balanceCents: bigint;
103
+ syncedAt: Date;
104
104
  customerId: string;
105
105
  projectId: string;
106
106
  lotDetail: string | null;
@@ -135,14 +135,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
135
135
  } | null | undefined;
136
136
  customer?: {
137
137
  id: string;
138
- fullName: string | null;
139
- mobile: string | null;
140
- email: string;
141
138
  status: string;
142
139
  isArchived: boolean;
143
140
  createdAt: Date;
144
141
  syncedAt: Date;
145
142
  updatedAt: Date;
143
+ fullName?: string | null | undefined;
144
+ mobile?: string | null | undefined;
145
+ email?: string | null | undefined;
146
+ source?: string | null | undefined;
146
147
  } | null | undefined;
147
148
  } | null | undefined;
148
149
  } & {
@@ -190,13 +191,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
190
191
  } | null | undefined;
191
192
  property?: {
192
193
  id: string;
194
+ mtaId: string;
193
195
  status: string;
194
196
  isArchived: boolean;
195
197
  createdAt: Date;
196
- syncedAt: Date;
197
198
  updatedAt: Date;
198
- mtaId: string;
199
199
  balanceCents: bigint;
200
+ syncedAt: Date;
200
201
  customerId: string;
201
202
  projectId: string;
202
203
  lotDetail: string | null;
@@ -231,14 +232,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
231
232
  } | null | undefined;
232
233
  customer?: {
233
234
  id: string;
234
- fullName: string | null;
235
- mobile: string | null;
236
- email: string;
237
235
  status: string;
238
236
  isArchived: boolean;
239
237
  createdAt: Date;
240
238
  syncedAt: Date;
241
239
  updatedAt: Date;
240
+ fullName?: string | null | undefined;
241
+ mobile?: string | null | undefined;
242
+ email?: string | null | undefined;
243
+ source?: string | null | undefined;
242
244
  } | null | undefined;
243
245
  } | null | undefined;
244
246
  } & /*elided*/ any) | null | undefined;
@@ -285,13 +287,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
285
287
  } | null | undefined;
286
288
  property?: {
287
289
  id: string;
290
+ mtaId: string;
288
291
  status: string;
289
292
  isArchived: boolean;
290
293
  createdAt: Date;
291
- syncedAt: Date;
292
294
  updatedAt: Date;
293
- mtaId: string;
294
295
  balanceCents: bigint;
296
+ syncedAt: Date;
295
297
  customerId: string;
296
298
  projectId: string;
297
299
  lotDetail: string | null;
@@ -326,14 +328,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
326
328
  } | null | undefined;
327
329
  customer?: {
328
330
  id: string;
329
- fullName: string | null;
330
- mobile: string | null;
331
- email: string;
332
331
  status: string;
333
332
  isArchived: boolean;
334
333
  createdAt: Date;
335
334
  syncedAt: Date;
336
335
  updatedAt: Date;
336
+ fullName?: string | null | undefined;
337
+ mobile?: string | null | undefined;
338
+ email?: string | null | undefined;
339
+ source?: string | null | undefined;
337
340
  } | null | undefined;
338
341
  } | null | undefined;
339
342
  } & /*elided*/ any)[] | null | undefined;
@@ -348,6 +351,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
348
351
  amountStr?: string | null | undefined;
349
352
  transactionNumber?: string | null | undefined;
350
353
  isCancelable?: boolean | null | undefined;
354
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
351
355
  }, {
352
356
  id: string;
353
357
  referenceId: string | null;
@@ -391,13 +395,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
391
395
  } | null | undefined;
392
396
  property?: {
393
397
  id: string;
398
+ mtaId: string;
394
399
  status: string;
395
400
  isArchived: boolean;
396
401
  createdAt: unknown;
397
- syncedAt: unknown;
398
402
  updatedAt: unknown;
399
- mtaId: string;
400
403
  balanceCents: unknown;
404
+ syncedAt: unknown;
401
405
  customerId: string;
402
406
  projectId: string;
403
407
  lotDetail: string | null;
@@ -432,14 +436,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
432
436
  } | null | undefined;
433
437
  customer?: {
434
438
  id: string;
435
- fullName: string | null;
436
- mobile: string | null;
437
- email: string;
438
439
  status: string;
439
440
  isArchived: boolean;
440
441
  createdAt: unknown;
441
442
  syncedAt: unknown;
442
443
  updatedAt: unknown;
444
+ fullName?: string | null | undefined;
445
+ mobile?: string | null | undefined;
446
+ email?: string | null | undefined;
447
+ source?: string | null | undefined;
443
448
  } | null | undefined;
444
449
  } | null | undefined;
445
450
  } & {
@@ -487,13 +492,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
487
492
  } | null | undefined;
488
493
  property?: {
489
494
  id: string;
495
+ mtaId: string;
490
496
  status: string;
491
497
  isArchived: boolean;
492
498
  createdAt: unknown;
493
- syncedAt: unknown;
494
499
  updatedAt: unknown;
495
- mtaId: string;
496
500
  balanceCents: unknown;
501
+ syncedAt: unknown;
497
502
  customerId: string;
498
503
  projectId: string;
499
504
  lotDetail: string | null;
@@ -528,14 +533,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
528
533
  } | null | undefined;
529
534
  customer?: {
530
535
  id: string;
531
- fullName: string | null;
532
- mobile: string | null;
533
- email: string;
534
536
  status: string;
535
537
  isArchived: boolean;
536
538
  createdAt: unknown;
537
539
  syncedAt: unknown;
538
540
  updatedAt: unknown;
541
+ fullName?: string | null | undefined;
542
+ mobile?: string | null | undefined;
543
+ email?: string | null | undefined;
544
+ source?: string | null | undefined;
539
545
  } | null | undefined;
540
546
  } | null | undefined;
541
547
  } & /*elided*/ any) | null | undefined;
@@ -582,13 +588,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
582
588
  } | null | undefined;
583
589
  property?: {
584
590
  id: string;
591
+ mtaId: string;
585
592
  status: string;
586
593
  isArchived: boolean;
587
594
  createdAt: unknown;
588
- syncedAt: unknown;
589
595
  updatedAt: unknown;
590
- mtaId: string;
591
596
  balanceCents: unknown;
597
+ syncedAt: unknown;
592
598
  customerId: string;
593
599
  projectId: string;
594
600
  lotDetail: string | null;
@@ -623,18 +629,20 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
623
629
  } | null | undefined;
624
630
  customer?: {
625
631
  id: string;
626
- fullName: string | null;
627
- mobile: string | null;
628
- email: string;
629
632
  status: string;
630
633
  isArchived: boolean;
631
634
  createdAt: unknown;
632
635
  syncedAt: unknown;
633
636
  updatedAt: unknown;
637
+ fullName?: string | null | undefined;
638
+ mobile?: string | null | undefined;
639
+ email?: string | null | undefined;
640
+ source?: string | null | undefined;
634
641
  } | null | undefined;
635
642
  } | null | undefined;
636
643
  } & /*elided*/ any)[] | null | undefined;
637
644
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
645
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
638
646
  }, z.core.$ZodTypeInternals<{
639
647
  id: string;
640
648
  referenceId: string | null;
@@ -678,13 +686,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
678
686
  } | null | undefined;
679
687
  property?: {
680
688
  id: string;
689
+ mtaId: string;
681
690
  status: string;
682
691
  isArchived: boolean;
683
692
  createdAt: Date;
684
- syncedAt: Date;
685
693
  updatedAt: Date;
686
- mtaId: string;
687
694
  balanceCents: bigint;
695
+ syncedAt: Date;
688
696
  customerId: string;
689
697
  projectId: string;
690
698
  lotDetail: string | null;
@@ -719,14 +727,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
719
727
  } | null | undefined;
720
728
  customer?: {
721
729
  id: string;
722
- fullName: string | null;
723
- mobile: string | null;
724
- email: string;
725
730
  status: string;
726
731
  isArchived: boolean;
727
732
  createdAt: Date;
728
733
  syncedAt: Date;
729
734
  updatedAt: Date;
735
+ fullName?: string | null | undefined;
736
+ mobile?: string | null | undefined;
737
+ email?: string | null | undefined;
738
+ source?: string | null | undefined;
730
739
  } | null | undefined;
731
740
  } | null | undefined;
732
741
  } & {
@@ -774,13 +783,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
774
783
  } | null | undefined;
775
784
  property?: {
776
785
  id: string;
786
+ mtaId: string;
777
787
  status: string;
778
788
  isArchived: boolean;
779
789
  createdAt: Date;
780
- syncedAt: Date;
781
790
  updatedAt: Date;
782
- mtaId: string;
783
791
  balanceCents: bigint;
792
+ syncedAt: Date;
784
793
  customerId: string;
785
794
  projectId: string;
786
795
  lotDetail: string | null;
@@ -815,14 +824,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
815
824
  } | null | undefined;
816
825
  customer?: {
817
826
  id: string;
818
- fullName: string | null;
819
- mobile: string | null;
820
- email: string;
821
827
  status: string;
822
828
  isArchived: boolean;
823
829
  createdAt: Date;
824
830
  syncedAt: Date;
825
831
  updatedAt: Date;
832
+ fullName?: string | null | undefined;
833
+ mobile?: string | null | undefined;
834
+ email?: string | null | undefined;
835
+ source?: string | null | undefined;
826
836
  } | null | undefined;
827
837
  } | null | undefined;
828
838
  } & /*elided*/ any) | null | undefined;
@@ -869,13 +879,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
869
879
  } | null | undefined;
870
880
  property?: {
871
881
  id: string;
882
+ mtaId: string;
872
883
  status: string;
873
884
  isArchived: boolean;
874
885
  createdAt: Date;
875
- syncedAt: Date;
876
886
  updatedAt: Date;
877
- mtaId: string;
878
887
  balanceCents: bigint;
888
+ syncedAt: Date;
879
889
  customerId: string;
880
890
  projectId: string;
881
891
  lotDetail: string | null;
@@ -910,14 +920,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
910
920
  } | null | undefined;
911
921
  customer?: {
912
922
  id: string;
913
- fullName: string | null;
914
- mobile: string | null;
915
- email: string;
916
923
  status: string;
917
924
  isArchived: boolean;
918
925
  createdAt: Date;
919
926
  syncedAt: Date;
920
927
  updatedAt: Date;
928
+ fullName?: string | null | undefined;
929
+ mobile?: string | null | undefined;
930
+ email?: string | null | undefined;
931
+ source?: string | null | undefined;
921
932
  } | null | undefined;
922
933
  } | null | undefined;
923
934
  } & /*elided*/ any)[] | null | undefined;
@@ -932,6 +943,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
932
943
  amountStr?: string | null | undefined;
933
944
  transactionNumber?: string | null | undefined;
934
945
  isCancelable?: boolean | null | undefined;
946
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
935
947
  }, {
936
948
  id: string;
937
949
  referenceId: string | null;
@@ -975,13 +987,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
975
987
  } | null | undefined;
976
988
  property?: {
977
989
  id: string;
990
+ mtaId: string;
978
991
  status: string;
979
992
  isArchived: boolean;
980
993
  createdAt: unknown;
981
- syncedAt: unknown;
982
994
  updatedAt: unknown;
983
- mtaId: string;
984
995
  balanceCents: unknown;
996
+ syncedAt: unknown;
985
997
  customerId: string;
986
998
  projectId: string;
987
999
  lotDetail: string | null;
@@ -1016,14 +1028,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1016
1028
  } | null | undefined;
1017
1029
  customer?: {
1018
1030
  id: string;
1019
- fullName: string | null;
1020
- mobile: string | null;
1021
- email: string;
1022
1031
  status: string;
1023
1032
  isArchived: boolean;
1024
1033
  createdAt: unknown;
1025
1034
  syncedAt: unknown;
1026
1035
  updatedAt: unknown;
1036
+ fullName?: string | null | undefined;
1037
+ mobile?: string | null | undefined;
1038
+ email?: string | null | undefined;
1039
+ source?: string | null | undefined;
1027
1040
  } | null | undefined;
1028
1041
  } | null | undefined;
1029
1042
  } & {
@@ -1071,13 +1084,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1071
1084
  } | null | undefined;
1072
1085
  property?: {
1073
1086
  id: string;
1087
+ mtaId: string;
1074
1088
  status: string;
1075
1089
  isArchived: boolean;
1076
1090
  createdAt: unknown;
1077
- syncedAt: unknown;
1078
1091
  updatedAt: unknown;
1079
- mtaId: string;
1080
1092
  balanceCents: unknown;
1093
+ syncedAt: unknown;
1081
1094
  customerId: string;
1082
1095
  projectId: string;
1083
1096
  lotDetail: string | null;
@@ -1112,14 +1125,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1112
1125
  } | null | undefined;
1113
1126
  customer?: {
1114
1127
  id: string;
1115
- fullName: string | null;
1116
- mobile: string | null;
1117
- email: string;
1118
1128
  status: string;
1119
1129
  isArchived: boolean;
1120
1130
  createdAt: unknown;
1121
1131
  syncedAt: unknown;
1122
1132
  updatedAt: unknown;
1133
+ fullName?: string | null | undefined;
1134
+ mobile?: string | null | undefined;
1135
+ email?: string | null | undefined;
1136
+ source?: string | null | undefined;
1123
1137
  } | null | undefined;
1124
1138
  } | null | undefined;
1125
1139
  } & /*elided*/ any) | null | undefined;
@@ -1166,13 +1180,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1166
1180
  } | null | undefined;
1167
1181
  property?: {
1168
1182
  id: string;
1183
+ mtaId: string;
1169
1184
  status: string;
1170
1185
  isArchived: boolean;
1171
1186
  createdAt: unknown;
1172
- syncedAt: unknown;
1173
1187
  updatedAt: unknown;
1174
- mtaId: string;
1175
1188
  balanceCents: unknown;
1189
+ syncedAt: unknown;
1176
1190
  customerId: string;
1177
1191
  projectId: string;
1178
1192
  lotDetail: string | null;
@@ -1207,18 +1221,20 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1207
1221
  } | null | undefined;
1208
1222
  customer?: {
1209
1223
  id: string;
1210
- fullName: string | null;
1211
- mobile: string | null;
1212
- email: string;
1213
1224
  status: string;
1214
1225
  isArchived: boolean;
1215
1226
  createdAt: unknown;
1216
1227
  syncedAt: unknown;
1217
1228
  updatedAt: unknown;
1229
+ fullName?: string | null | undefined;
1230
+ mobile?: string | null | undefined;
1231
+ email?: string | null | undefined;
1232
+ source?: string | null | undefined;
1218
1233
  } | null | undefined;
1219
1234
  } | null | undefined;
1220
1235
  } & /*elided*/ any)[] | null | undefined;
1221
1236
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1237
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
1222
1238
  }>>>>>>;
1223
1239
  unreconciledAmountCents: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodCoercedNumber<unknown>]>, z.ZodTransform<number, number | bigint>>, z.ZodNumber>;
1224
1240
  unreconciledTransactions: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodArray<z.ZodType<{
@@ -1264,13 +1280,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1264
1280
  } | null | undefined;
1265
1281
  property?: {
1266
1282
  id: string;
1283
+ mtaId: string;
1267
1284
  status: string;
1268
1285
  isArchived: boolean;
1269
1286
  createdAt: Date;
1270
- syncedAt: Date;
1271
1287
  updatedAt: Date;
1272
- mtaId: string;
1273
1288
  balanceCents: bigint;
1289
+ syncedAt: Date;
1274
1290
  customerId: string;
1275
1291
  projectId: string;
1276
1292
  lotDetail: string | null;
@@ -1305,14 +1321,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1305
1321
  } | null | undefined;
1306
1322
  customer?: {
1307
1323
  id: string;
1308
- fullName: string | null;
1309
- mobile: string | null;
1310
- email: string;
1311
1324
  status: string;
1312
1325
  isArchived: boolean;
1313
1326
  createdAt: Date;
1314
1327
  syncedAt: Date;
1315
1328
  updatedAt: Date;
1329
+ fullName?: string | null | undefined;
1330
+ mobile?: string | null | undefined;
1331
+ email?: string | null | undefined;
1332
+ source?: string | null | undefined;
1316
1333
  } | null | undefined;
1317
1334
  } | null | undefined;
1318
1335
  } & {
@@ -1360,13 +1377,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1360
1377
  } | null | undefined;
1361
1378
  property?: {
1362
1379
  id: string;
1380
+ mtaId: string;
1363
1381
  status: string;
1364
1382
  isArchived: boolean;
1365
1383
  createdAt: Date;
1366
- syncedAt: Date;
1367
1384
  updatedAt: Date;
1368
- mtaId: string;
1369
1385
  balanceCents: bigint;
1386
+ syncedAt: Date;
1370
1387
  customerId: string;
1371
1388
  projectId: string;
1372
1389
  lotDetail: string | null;
@@ -1401,14 +1418,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1401
1418
  } | null | undefined;
1402
1419
  customer?: {
1403
1420
  id: string;
1404
- fullName: string | null;
1405
- mobile: string | null;
1406
- email: string;
1407
1421
  status: string;
1408
1422
  isArchived: boolean;
1409
1423
  createdAt: Date;
1410
1424
  syncedAt: Date;
1411
1425
  updatedAt: Date;
1426
+ fullName?: string | null | undefined;
1427
+ mobile?: string | null | undefined;
1428
+ email?: string | null | undefined;
1429
+ source?: string | null | undefined;
1412
1430
  } | null | undefined;
1413
1431
  } | null | undefined;
1414
1432
  } & /*elided*/ any) | null | undefined;
@@ -1455,13 +1473,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1455
1473
  } | null | undefined;
1456
1474
  property?: {
1457
1475
  id: string;
1476
+ mtaId: string;
1458
1477
  status: string;
1459
1478
  isArchived: boolean;
1460
1479
  createdAt: Date;
1461
- syncedAt: Date;
1462
1480
  updatedAt: Date;
1463
- mtaId: string;
1464
1481
  balanceCents: bigint;
1482
+ syncedAt: Date;
1465
1483
  customerId: string;
1466
1484
  projectId: string;
1467
1485
  lotDetail: string | null;
@@ -1496,14 +1514,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1496
1514
  } | null | undefined;
1497
1515
  customer?: {
1498
1516
  id: string;
1499
- fullName: string | null;
1500
- mobile: string | null;
1501
- email: string;
1502
1517
  status: string;
1503
1518
  isArchived: boolean;
1504
1519
  createdAt: Date;
1505
1520
  syncedAt: Date;
1506
1521
  updatedAt: Date;
1522
+ fullName?: string | null | undefined;
1523
+ mobile?: string | null | undefined;
1524
+ email?: string | null | undefined;
1525
+ source?: string | null | undefined;
1507
1526
  } | null | undefined;
1508
1527
  } | null | undefined;
1509
1528
  } & /*elided*/ any)[] | null | undefined;
@@ -1518,6 +1537,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1518
1537
  amountStr?: string | null | undefined;
1519
1538
  transactionNumber?: string | null | undefined;
1520
1539
  isCancelable?: boolean | null | undefined;
1540
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
1521
1541
  }, {
1522
1542
  id: string;
1523
1543
  referenceId: string | null;
@@ -1561,13 +1581,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1561
1581
  } | null | undefined;
1562
1582
  property?: {
1563
1583
  id: string;
1584
+ mtaId: string;
1564
1585
  status: string;
1565
1586
  isArchived: boolean;
1566
1587
  createdAt: unknown;
1567
- syncedAt: unknown;
1568
1588
  updatedAt: unknown;
1569
- mtaId: string;
1570
1589
  balanceCents: unknown;
1590
+ syncedAt: unknown;
1571
1591
  customerId: string;
1572
1592
  projectId: string;
1573
1593
  lotDetail: string | null;
@@ -1602,14 +1622,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1602
1622
  } | null | undefined;
1603
1623
  customer?: {
1604
1624
  id: string;
1605
- fullName: string | null;
1606
- mobile: string | null;
1607
- email: string;
1608
1625
  status: string;
1609
1626
  isArchived: boolean;
1610
1627
  createdAt: unknown;
1611
1628
  syncedAt: unknown;
1612
1629
  updatedAt: unknown;
1630
+ fullName?: string | null | undefined;
1631
+ mobile?: string | null | undefined;
1632
+ email?: string | null | undefined;
1633
+ source?: string | null | undefined;
1613
1634
  } | null | undefined;
1614
1635
  } | null | undefined;
1615
1636
  } & {
@@ -1657,13 +1678,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1657
1678
  } | null | undefined;
1658
1679
  property?: {
1659
1680
  id: string;
1681
+ mtaId: string;
1660
1682
  status: string;
1661
1683
  isArchived: boolean;
1662
1684
  createdAt: unknown;
1663
- syncedAt: unknown;
1664
1685
  updatedAt: unknown;
1665
- mtaId: string;
1666
1686
  balanceCents: unknown;
1687
+ syncedAt: unknown;
1667
1688
  customerId: string;
1668
1689
  projectId: string;
1669
1690
  lotDetail: string | null;
@@ -1698,14 +1719,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1698
1719
  } | null | undefined;
1699
1720
  customer?: {
1700
1721
  id: string;
1701
- fullName: string | null;
1702
- mobile: string | null;
1703
- email: string;
1704
1722
  status: string;
1705
1723
  isArchived: boolean;
1706
1724
  createdAt: unknown;
1707
1725
  syncedAt: unknown;
1708
1726
  updatedAt: unknown;
1727
+ fullName?: string | null | undefined;
1728
+ mobile?: string | null | undefined;
1729
+ email?: string | null | undefined;
1730
+ source?: string | null | undefined;
1709
1731
  } | null | undefined;
1710
1732
  } | null | undefined;
1711
1733
  } & /*elided*/ any) | null | undefined;
@@ -1752,13 +1774,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1752
1774
  } | null | undefined;
1753
1775
  property?: {
1754
1776
  id: string;
1777
+ mtaId: string;
1755
1778
  status: string;
1756
1779
  isArchived: boolean;
1757
1780
  createdAt: unknown;
1758
- syncedAt: unknown;
1759
1781
  updatedAt: unknown;
1760
- mtaId: string;
1761
1782
  balanceCents: unknown;
1783
+ syncedAt: unknown;
1762
1784
  customerId: string;
1763
1785
  projectId: string;
1764
1786
  lotDetail: string | null;
@@ -1793,18 +1815,20 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1793
1815
  } | null | undefined;
1794
1816
  customer?: {
1795
1817
  id: string;
1796
- fullName: string | null;
1797
- mobile: string | null;
1798
- email: string;
1799
1818
  status: string;
1800
1819
  isArchived: boolean;
1801
1820
  createdAt: unknown;
1802
1821
  syncedAt: unknown;
1803
1822
  updatedAt: unknown;
1823
+ fullName?: string | null | undefined;
1824
+ mobile?: string | null | undefined;
1825
+ email?: string | null | undefined;
1826
+ source?: string | null | undefined;
1804
1827
  } | null | undefined;
1805
1828
  } | null | undefined;
1806
1829
  } & /*elided*/ any)[] | null | undefined;
1807
1830
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1831
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
1808
1832
  }, z.core.$ZodTypeInternals<{
1809
1833
  id: string;
1810
1834
  referenceId: string | null;
@@ -1848,13 +1872,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1848
1872
  } | null | undefined;
1849
1873
  property?: {
1850
1874
  id: string;
1875
+ mtaId: string;
1851
1876
  status: string;
1852
1877
  isArchived: boolean;
1853
1878
  createdAt: Date;
1854
- syncedAt: Date;
1855
1879
  updatedAt: Date;
1856
- mtaId: string;
1857
1880
  balanceCents: bigint;
1881
+ syncedAt: Date;
1858
1882
  customerId: string;
1859
1883
  projectId: string;
1860
1884
  lotDetail: string | null;
@@ -1889,14 +1913,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1889
1913
  } | null | undefined;
1890
1914
  customer?: {
1891
1915
  id: string;
1892
- fullName: string | null;
1893
- mobile: string | null;
1894
- email: string;
1895
1916
  status: string;
1896
1917
  isArchived: boolean;
1897
1918
  createdAt: Date;
1898
1919
  syncedAt: Date;
1899
1920
  updatedAt: Date;
1921
+ fullName?: string | null | undefined;
1922
+ mobile?: string | null | undefined;
1923
+ email?: string | null | undefined;
1924
+ source?: string | null | undefined;
1900
1925
  } | null | undefined;
1901
1926
  } | null | undefined;
1902
1927
  } & {
@@ -1944,13 +1969,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1944
1969
  } | null | undefined;
1945
1970
  property?: {
1946
1971
  id: string;
1972
+ mtaId: string;
1947
1973
  status: string;
1948
1974
  isArchived: boolean;
1949
1975
  createdAt: Date;
1950
- syncedAt: Date;
1951
1976
  updatedAt: Date;
1952
- mtaId: string;
1953
1977
  balanceCents: bigint;
1978
+ syncedAt: Date;
1954
1979
  customerId: string;
1955
1980
  projectId: string;
1956
1981
  lotDetail: string | null;
@@ -1985,14 +2010,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1985
2010
  } | null | undefined;
1986
2011
  customer?: {
1987
2012
  id: string;
1988
- fullName: string | null;
1989
- mobile: string | null;
1990
- email: string;
1991
2013
  status: string;
1992
2014
  isArchived: boolean;
1993
2015
  createdAt: Date;
1994
2016
  syncedAt: Date;
1995
2017
  updatedAt: Date;
2018
+ fullName?: string | null | undefined;
2019
+ mobile?: string | null | undefined;
2020
+ email?: string | null | undefined;
2021
+ source?: string | null | undefined;
1996
2022
  } | null | undefined;
1997
2023
  } | null | undefined;
1998
2024
  } & /*elided*/ any) | null | undefined;
@@ -2039,13 +2065,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2039
2065
  } | null | undefined;
2040
2066
  property?: {
2041
2067
  id: string;
2068
+ mtaId: string;
2042
2069
  status: string;
2043
2070
  isArchived: boolean;
2044
2071
  createdAt: Date;
2045
- syncedAt: Date;
2046
2072
  updatedAt: Date;
2047
- mtaId: string;
2048
2073
  balanceCents: bigint;
2074
+ syncedAt: Date;
2049
2075
  customerId: string;
2050
2076
  projectId: string;
2051
2077
  lotDetail: string | null;
@@ -2080,14 +2106,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2080
2106
  } | null | undefined;
2081
2107
  customer?: {
2082
2108
  id: string;
2083
- fullName: string | null;
2084
- mobile: string | null;
2085
- email: string;
2086
2109
  status: string;
2087
2110
  isArchived: boolean;
2088
2111
  createdAt: Date;
2089
2112
  syncedAt: Date;
2090
2113
  updatedAt: Date;
2114
+ fullName?: string | null | undefined;
2115
+ mobile?: string | null | undefined;
2116
+ email?: string | null | undefined;
2117
+ source?: string | null | undefined;
2091
2118
  } | null | undefined;
2092
2119
  } | null | undefined;
2093
2120
  } & /*elided*/ any)[] | null | undefined;
@@ -2102,6 +2129,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2102
2129
  amountStr?: string | null | undefined;
2103
2130
  transactionNumber?: string | null | undefined;
2104
2131
  isCancelable?: boolean | null | undefined;
2132
+ payout?: z.output<typeof import("..").payoutEntitySchema> | null | undefined;
2105
2133
  }, {
2106
2134
  id: string;
2107
2135
  referenceId: string | null;
@@ -2145,13 +2173,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2145
2173
  } | null | undefined;
2146
2174
  property?: {
2147
2175
  id: string;
2176
+ mtaId: string;
2148
2177
  status: string;
2149
2178
  isArchived: boolean;
2150
2179
  createdAt: unknown;
2151
- syncedAt: unknown;
2152
2180
  updatedAt: unknown;
2153
- mtaId: string;
2154
2181
  balanceCents: unknown;
2182
+ syncedAt: unknown;
2155
2183
  customerId: string;
2156
2184
  projectId: string;
2157
2185
  lotDetail: string | null;
@@ -2186,14 +2214,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2186
2214
  } | null | undefined;
2187
2215
  customer?: {
2188
2216
  id: string;
2189
- fullName: string | null;
2190
- mobile: string | null;
2191
- email: string;
2192
2217
  status: string;
2193
2218
  isArchived: boolean;
2194
2219
  createdAt: unknown;
2195
2220
  syncedAt: unknown;
2196
2221
  updatedAt: unknown;
2222
+ fullName?: string | null | undefined;
2223
+ mobile?: string | null | undefined;
2224
+ email?: string | null | undefined;
2225
+ source?: string | null | undefined;
2197
2226
  } | null | undefined;
2198
2227
  } | null | undefined;
2199
2228
  } & {
@@ -2241,13 +2270,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2241
2270
  } | null | undefined;
2242
2271
  property?: {
2243
2272
  id: string;
2273
+ mtaId: string;
2244
2274
  status: string;
2245
2275
  isArchived: boolean;
2246
2276
  createdAt: unknown;
2247
- syncedAt: unknown;
2248
2277
  updatedAt: unknown;
2249
- mtaId: string;
2250
2278
  balanceCents: unknown;
2279
+ syncedAt: unknown;
2251
2280
  customerId: string;
2252
2281
  projectId: string;
2253
2282
  lotDetail: string | null;
@@ -2282,14 +2311,15 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2282
2311
  } | null | undefined;
2283
2312
  customer?: {
2284
2313
  id: string;
2285
- fullName: string | null;
2286
- mobile: string | null;
2287
- email: string;
2288
2314
  status: string;
2289
2315
  isArchived: boolean;
2290
2316
  createdAt: unknown;
2291
2317
  syncedAt: unknown;
2292
2318
  updatedAt: unknown;
2319
+ fullName?: string | null | undefined;
2320
+ mobile?: string | null | undefined;
2321
+ email?: string | null | undefined;
2322
+ source?: string | null | undefined;
2293
2323
  } | null | undefined;
2294
2324
  } | null | undefined;
2295
2325
  } & /*elided*/ any) | null | undefined;
@@ -2336,13 +2366,13 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2336
2366
  } | null | undefined;
2337
2367
  property?: {
2338
2368
  id: string;
2369
+ mtaId: string;
2339
2370
  status: string;
2340
2371
  isArchived: boolean;
2341
2372
  createdAt: unknown;
2342
- syncedAt: unknown;
2343
2373
  updatedAt: unknown;
2344
- mtaId: string;
2345
2374
  balanceCents: unknown;
2375
+ syncedAt: unknown;
2346
2376
  customerId: string;
2347
2377
  projectId: string;
2348
2378
  lotDetail: string | null;
@@ -2377,18 +2407,20 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2377
2407
  } | null | undefined;
2378
2408
  customer?: {
2379
2409
  id: string;
2380
- fullName: string | null;
2381
- mobile: string | null;
2382
- email: string;
2383
2410
  status: string;
2384
2411
  isArchived: boolean;
2385
2412
  createdAt: unknown;
2386
2413
  syncedAt: unknown;
2387
2414
  updatedAt: unknown;
2415
+ fullName?: string | null | undefined;
2416
+ mobile?: string | null | undefined;
2417
+ email?: string | null | undefined;
2418
+ source?: string | null | undefined;
2388
2419
  } | null | undefined;
2389
2420
  } | null | undefined;
2390
2421
  } & /*elided*/ any)[] | null | undefined;
2391
2422
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
2423
+ payout?: z.input<typeof import("..").payoutEntitySchema> | null | undefined;
2392
2424
  }>>>>>>;
2393
2425
  }, z.core.$strip>;
2394
2426
  }, z.core.$strip>;