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

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 (187) hide show
  1. package/dist/cjs/constants/common/account-type.constant.d.ts +5 -0
  2. package/dist/cjs/constants/common/account-type.constant.d.ts.map +1 -0
  3. package/dist/cjs/constants/common/index.d.ts +1 -0
  4. package/dist/cjs/constants/common/index.d.ts.map +1 -1
  5. package/dist/cjs/constants/report/common/index.d.ts +1 -1
  6. package/dist/cjs/constants/report/common/index.d.ts.map +1 -1
  7. package/dist/cjs/constants/report/common/report-data-range-type.constant.d.ts +6 -0
  8. package/dist/cjs/constants/report/common/report-data-range-type.constant.d.ts.map +1 -0
  9. package/dist/cjs/index.js +243 -127
  10. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +476 -0
  11. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -0
  12. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +182 -182
  13. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +90 -90
  14. package/dist/cjs/schemas/cma/create-cma.schema.d.ts +4 -4
  15. package/dist/cjs/schemas/cma/index.d.ts +1 -0
  16. package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
  17. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +328 -328
  18. package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +2 -2
  19. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +112 -112
  20. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +2 -2
  21. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +240 -240
  22. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +2 -2
  23. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +2 -2
  24. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +22 -22
  25. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  26. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +228 -228
  27. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +72 -72
  28. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts +1 -1
  29. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
  30. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts +1 -1
  31. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
  32. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts +2 -2
  33. package/dist/cjs/schemas/developer/developer.enity.schema.d.ts +2 -2
  34. package/dist/cjs/schemas/menu/create-menu.schema.d.ts +2 -2
  35. package/dist/cjs/schemas/menu/menu-res.schema.d.ts +16 -16
  36. package/dist/cjs/schemas/menu/update-menu.schema.d.ts +4 -4
  37. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +4 -4
  38. package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +8 -8
  39. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +66 -66
  40. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +328 -328
  41. package/dist/cjs/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +2 -2
  42. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +78 -78
  43. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.entity.schema.d.ts +2 -2
  44. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +22 -22
  45. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
  46. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +204 -204
  47. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +2 -2
  48. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +2 -2
  49. package/dist/cjs/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  50. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +6 -6
  51. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +72 -72
  52. package/dist/cjs/schemas/payment-provider/payment-provider.entity.schema.d.ts +2 -2
  53. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +4 -4
  54. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +1446 -1446
  55. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +4 -4
  56. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +2 -2
  57. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +8 -8
  58. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +2 -2
  59. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +3539 -3539
  60. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +18 -18
  61. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +2 -2
  62. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +16 -16
  63. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +4 -4
  64. package/dist/cjs/schemas/payout-transaction/index.d.ts +1 -0
  65. package/dist/cjs/schemas/payout-transaction/index.d.ts.map +1 -1
  66. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
  67. package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +337 -0
  68. package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -0
  69. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +732 -732
  70. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  71. package/dist/cjs/schemas/project/project.entity.schema.d.ts +12 -12
  72. package/dist/cjs/schemas/project/project.rest.schema.d.ts +117 -117
  73. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  74. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +35 -35
  75. package/dist/cjs/schemas/property/customer.entity.schema.d.ts +2 -2
  76. package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +10 -10
  77. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +55 -0
  78. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  79. package/dist/cjs/schemas/property/property.entity.schema.d.ts +110 -110
  80. package/dist/cjs/schemas/property/property.rest.schema.d.ts +303 -303
  81. package/dist/cjs/schemas/report/common-report.rest.schema.d.ts +25 -0
  82. package/dist/cjs/schemas/report/common-report.rest.schema.d.ts.map +1 -0
  83. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +20 -22
  84. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts.map +1 -1
  85. package/dist/cjs/schemas/report/index.d.ts +3 -0
  86. package/dist/cjs/schemas/report/index.d.ts.map +1 -1
  87. package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts +34 -0
  88. package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts.map +1 -0
  89. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +53 -0
  90. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts.map +1 -0
  91. package/dist/cjs/schemas/user/user.entity.schema.d.ts +2 -2
  92. package/dist/esm/constants/common/account-type.constant.d.ts +5 -0
  93. package/dist/esm/constants/common/account-type.constant.d.ts.map +1 -0
  94. package/dist/esm/constants/common/index.d.ts +1 -0
  95. package/dist/esm/constants/common/index.d.ts.map +1 -1
  96. package/dist/esm/constants/report/common/index.d.ts +1 -1
  97. package/dist/esm/constants/report/common/index.d.ts.map +1 -1
  98. package/dist/esm/constants/report/common/report-data-range-type.constant.d.ts +6 -0
  99. package/dist/esm/constants/report/common/report-data-range-type.constant.d.ts.map +1 -0
  100. package/dist/esm/index.mjs +210 -112
  101. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +476 -0
  102. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -0
  103. package/dist/esm/schemas/cma/cma.entity.schema.d.ts +182 -182
  104. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +90 -90
  105. package/dist/esm/schemas/cma/create-cma.schema.d.ts +4 -4
  106. package/dist/esm/schemas/cma/index.d.ts +1 -0
  107. package/dist/esm/schemas/cma/index.d.ts.map +1 -1
  108. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +328 -328
  109. package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +2 -2
  110. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +112 -112
  111. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +2 -2
  112. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +240 -240
  113. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +2 -2
  114. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +2 -2
  115. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +22 -22
  116. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  117. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +228 -228
  118. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +72 -72
  119. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts +1 -1
  120. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -1
  121. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts +1 -1
  122. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -1
  123. package/dist/esm/schemas/common/search/json-filter.schema.d.ts +2 -2
  124. package/dist/esm/schemas/developer/developer.enity.schema.d.ts +2 -2
  125. package/dist/esm/schemas/menu/create-menu.schema.d.ts +2 -2
  126. package/dist/esm/schemas/menu/menu-res.schema.d.ts +16 -16
  127. package/dist/esm/schemas/menu/update-menu.schema.d.ts +4 -4
  128. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +4 -4
  129. package/dist/esm/schemas/mta/mta.entity.schema.d.ts +8 -8
  130. package/dist/esm/schemas/mta/mta.rest.schema.d.ts +66 -66
  131. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +328 -328
  132. package/dist/esm/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +2 -2
  133. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +78 -78
  134. package/dist/esm/schemas/mta-payment-method/mta-payment-method.entity.schema.d.ts +2 -2
  135. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +22 -22
  136. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
  137. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +204 -204
  138. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +2 -2
  139. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +2 -2
  140. package/dist/esm/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  141. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +6 -6
  142. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +72 -72
  143. package/dist/esm/schemas/payment-provider/payment-provider.entity.schema.d.ts +2 -2
  144. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +4 -4
  145. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +1446 -1446
  146. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +4 -4
  147. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +2 -2
  148. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +8 -8
  149. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +2 -2
  150. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +3539 -3539
  151. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +18 -18
  152. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +2 -2
  153. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +16 -16
  154. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +4 -4
  155. package/dist/esm/schemas/payout-transaction/index.d.ts +1 -0
  156. package/dist/esm/schemas/payout-transaction/index.d.ts.map +1 -1
  157. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
  158. package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +337 -0
  159. package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -0
  160. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +732 -732
  161. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  162. package/dist/esm/schemas/project/project.entity.schema.d.ts +12 -12
  163. package/dist/esm/schemas/project/project.rest.schema.d.ts +117 -117
  164. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  165. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +35 -35
  166. package/dist/esm/schemas/property/customer.entity.schema.d.ts +2 -2
  167. package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +10 -10
  168. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +55 -0
  169. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  170. package/dist/esm/schemas/property/property.entity.schema.d.ts +110 -110
  171. package/dist/esm/schemas/property/property.rest.schema.d.ts +303 -303
  172. package/dist/esm/schemas/report/common-report.rest.schema.d.ts +25 -0
  173. package/dist/esm/schemas/report/common-report.rest.schema.d.ts.map +1 -0
  174. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +20 -22
  175. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts.map +1 -1
  176. package/dist/esm/schemas/report/index.d.ts +3 -0
  177. package/dist/esm/schemas/report/index.d.ts.map +1 -1
  178. package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts +34 -0
  179. package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts.map +1 -0
  180. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +53 -0
  181. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts.map +1 -0
  182. package/dist/esm/schemas/user/user.entity.schema.d.ts +2 -2
  183. package/package.json +1 -1
  184. package/dist/cjs/constants/report/common/report-data-ranger-type.constant.d.ts +0 -5
  185. package/dist/cjs/constants/report/common/report-data-ranger-type.constant.d.ts.map +0 -1
  186. package/dist/esm/constants/report/common/report-data-ranger-type.constant.d.ts +0 -5
  187. package/dist/esm/constants/report/common/report-data-ranger-type.constant.d.ts.map +0 -1
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { ReportDataRangeType } from '../../constants/report/common/report-data-range-type.constant';
3
+ export declare const commonReportRestReqSchema: z.ZodEffects<z.ZodObject<{
4
+ reportDataRangeType: z.ZodNativeEnum<typeof ReportDataRangeType>;
5
+ endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
6
+ startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ endDate: Date;
9
+ startDate: Date;
10
+ reportDataRangeType: ReportDataRangeType;
11
+ }, {
12
+ reportDataRangeType: ReportDataRangeType;
13
+ endDate?: string | Date | null | undefined;
14
+ startDate?: string | Date | null | undefined;
15
+ }>, {
16
+ endDate: Date;
17
+ startDate: Date;
18
+ reportDataRangeType: ReportDataRangeType;
19
+ }, {
20
+ reportDataRangeType: ReportDataRangeType;
21
+ endDate?: string | Date | null | undefined;
22
+ startDate?: string | Date | null | undefined;
23
+ }>;
24
+ export type CommonReportRestReq = z.input<typeof commonReportRestReqSchema>;
25
+ //# sourceMappingURL=common-report.rest.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-report.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/common-report.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAqCpG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;EAkCpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -1,36 +1,34 @@
1
1
  import { z } from 'zod';
2
- import { ReportDataRangerType } from '../../constants/report/common/report-data-ranger-type.constant';
3
2
  import { ReportGroupType } from '../../constants/report/common/report-group-type.constant';
4
- export declare const customerLedgerRestReqSchema: z.ZodEffects<z.ZodObject<{
5
- propertyIds: z.ZodArray<z.ZodString, "many">;
6
- startDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>, z.ZodDate>>>;
7
- endDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>, z.ZodDate>>>;
8
- reportGroupType: z.ZodNativeEnum<typeof ReportGroupType>;
9
- reportDataRangerType: z.ZodNativeEnum<typeof ReportDataRangerType>;
3
+ export declare const customerLedgerRestReqSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
4
+ reportDataRangeType: z.ZodNativeEnum<typeof import("../..").ReportDataRangeType>;
5
+ endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
6
+ startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
10
7
  }, "strip", z.ZodTypeAny, {
11
- propertyIds: string[];
12
- reportGroupType: ReportGroupType;
13
- reportDataRangerType: ReportDataRangerType;
14
- endDate?: Date | null | undefined;
15
- startDate?: Date | null | undefined;
8
+ endDate: Date;
9
+ startDate: Date;
10
+ reportDataRangeType: import("../..").ReportDataRangeType;
16
11
  }, {
17
- propertyIds: string[];
18
- reportGroupType: ReportGroupType;
19
- reportDataRangerType: ReportDataRangerType;
12
+ reportDataRangeType: import("../..").ReportDataRangeType;
20
13
  endDate?: string | Date | null | undefined;
21
14
  startDate?: string | Date | null | undefined;
22
15
  }>, {
16
+ endDate: Date;
17
+ startDate: Date;
18
+ reportDataRangeType: import("../..").ReportDataRangeType;
19
+ }, {
20
+ reportDataRangeType: import("../..").ReportDataRangeType;
21
+ endDate?: string | Date | null | undefined;
22
+ startDate?: string | Date | null | undefined;
23
+ }>, z.ZodObject<{
24
+ propertyIds: z.ZodArray<z.ZodString, "many">;
25
+ reportGroupType: z.ZodNativeEnum<typeof ReportGroupType>;
26
+ }, "strip", z.ZodTypeAny, {
23
27
  propertyIds: string[];
24
28
  reportGroupType: ReportGroupType;
25
- reportDataRangerType: ReportDataRangerType;
26
- endDate?: Date | null | undefined;
27
- startDate?: Date | null | undefined;
28
29
  }, {
29
30
  propertyIds: string[];
30
31
  reportGroupType: ReportGroupType;
31
- reportDataRangerType: ReportDataRangerType;
32
- endDate?: string | Date | null | undefined;
33
- startDate?: string | Date | null | undefined;
34
- }>;
32
+ }>>;
35
33
  export type CustomerLedgerRestReq = z.input<typeof customerLedgerRestReqSchema>;
36
34
  //# sourceMappingURL=customer-ledger.rest.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/customer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AACtG,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAI3F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"customer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/customer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGrC,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,2 +1,5 @@
1
+ export * from './common-report.rest.schema';
1
2
  export * from './customer-ledger.rest.schema';
3
+ export * from './receipt-list.rest.schema';
4
+ export * from './trust-trial.rest.schema';
2
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/index.ts"],"names":[],"mappings":"AAEA,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ import { AccountType } from '../../constants/common/account-type.constant';
3
+ export declare const receiptListReportRestReqSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
4
+ reportDataRangeType: z.ZodNativeEnum<typeof import("../..").ReportDataRangeType>;
5
+ endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
6
+ startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ endDate: Date;
9
+ startDate: Date;
10
+ reportDataRangeType: import("../..").ReportDataRangeType;
11
+ }, {
12
+ reportDataRangeType: import("../..").ReportDataRangeType;
13
+ endDate?: string | Date | null | undefined;
14
+ startDate?: string | Date | null | undefined;
15
+ }>, {
16
+ endDate: Date;
17
+ startDate: Date;
18
+ reportDataRangeType: import("../..").ReportDataRangeType;
19
+ }, {
20
+ reportDataRangeType: import("../..").ReportDataRangeType;
21
+ endDate?: string | Date | null | undefined;
22
+ startDate?: string | Date | null | undefined;
23
+ }>, z.ZodObject<{
24
+ accountId: z.ZodString;
25
+ accountType: z.ZodNativeEnum<typeof AccountType>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ accountId: string;
28
+ accountType: AccountType;
29
+ }, {
30
+ accountId: string;
31
+ accountType: AccountType;
32
+ }>>;
33
+ export type ReceiptListReportRestReq = z.input<typeof receiptListReportRestReqSchema>;
34
+ //# sourceMappingURL=receipt-list.rest.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receipt-list.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/receipt-list.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAG3E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGxC,CAAC;AAEJ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { z } from 'zod';
2
+ import { AccountType } from '../../constants/common/account-type.constant';
3
+ export declare const trustTrialBalanceReportRestReqSchema: z.ZodEffects<z.ZodIntersection<z.ZodEffects<z.ZodObject<{
4
+ reportDataRangeType: z.ZodNativeEnum<typeof import("../..").ReportDataRangeType>;
5
+ endDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string | Date | null, string | Date>>>, z.ZodDate>;
6
+ startDate: z.ZodPipeline<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>, string | Date | null | undefined, string | Date | null | undefined>>>, z.ZodDate>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ endDate: Date;
9
+ startDate: Date;
10
+ reportDataRangeType: import("../..").ReportDataRangeType;
11
+ }, {
12
+ reportDataRangeType: import("../..").ReportDataRangeType;
13
+ endDate?: string | Date | null | undefined;
14
+ startDate?: string | Date | null | undefined;
15
+ }>, {
16
+ endDate: Date;
17
+ startDate: Date;
18
+ reportDataRangeType: import("../..").ReportDataRangeType;
19
+ }, {
20
+ reportDataRangeType: import("../..").ReportDataRangeType;
21
+ endDate?: string | Date | null | undefined;
22
+ startDate?: string | Date | null | undefined;
23
+ }>, z.ZodObject<{
24
+ cmaIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
25
+ mtaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ accountType: z.ZodNativeEnum<typeof AccountType>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ accountType: AccountType;
29
+ mtaId?: string | null | undefined;
30
+ cmaIds?: string[] | null | undefined;
31
+ }, {
32
+ accountType: AccountType;
33
+ mtaId?: string | null | undefined;
34
+ cmaIds?: string[] | null | undefined;
35
+ }>>, {
36
+ endDate: Date;
37
+ startDate: Date;
38
+ reportDataRangeType: import("../..").ReportDataRangeType;
39
+ } & {
40
+ accountType: AccountType;
41
+ mtaId?: string | null | undefined;
42
+ cmaIds?: string[] | null | undefined;
43
+ }, {
44
+ reportDataRangeType: import("../..").ReportDataRangeType;
45
+ endDate?: string | Date | null | undefined;
46
+ startDate?: string | Date | null | undefined;
47
+ } & {
48
+ accountType: AccountType;
49
+ mtaId?: string | null | undefined;
50
+ cmaIds?: string[] | null | undefined;
51
+ }>;
52
+ export type TrustTrialBalanceReportRestReq = z.input<typeof trustTrialBalanceReportRestReqSchema>;
53
+ //# sourceMappingURL=trust-trial.rest.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trust-trial.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/trust-trial.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAG3E,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
@@ -16,8 +16,8 @@ export declare const userEntitySchema: z.ZodObject<{
16
16
  createdAt: z.ZodDate;
17
17
  updatedAt: z.ZodDate;
18
18
  }, "strip", z.ZodTypeAny, {
19
- id: string;
20
19
  status: string;
20
+ id: string;
21
21
  isArchived: boolean;
22
22
  createdAt: Date;
23
23
  updatedAt: Date;
@@ -32,8 +32,8 @@ export declare const userEntitySchema: z.ZodObject<{
32
32
  preferTwoFaMethod: string | null;
33
33
  twoFaAvailableMethods: string[];
34
34
  }, {
35
- id: string;
36
35
  status: string;
36
+ id: string;
37
37
  isArchived: boolean;
38
38
  createdAt: Date;
39
39
  updatedAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikemo-coposit/am-accounting-shared",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "packageManager": "pnpm@10.4.1",
5
5
  "description": "Shared packages for AM Accounting",
6
6
  "author": "mike mo",
@@ -1,5 +0,0 @@
1
- export declare enum ReportDataRangerType {
2
- SPECIFIC_EXACT_DATA = "specific_exact_data",
3
- ENTIRE_HISTORY_TO_DATE = "entire_history_to_date"
4
- }
5
- //# sourceMappingURL=report-data-ranger-type.constant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-data-ranger-type.constant.d.ts","sourceRoot":"","sources":["../../../../../packages/constants/report/common/report-data-ranger-type.constant.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,mBAAmB,wBAAwB;IAC3C,sBAAsB,2BAA2B;CAClD"}
@@ -1,5 +0,0 @@
1
- export declare enum ReportDataRangerType {
2
- SPECIFIC_EXACT_DATA = "specific_exact_data",
3
- ENTIRE_HISTORY_TO_DATE = "entire_history_to_date"
4
- }
5
- //# sourceMappingURL=report-data-ranger-type.constant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-data-ranger-type.constant.d.ts","sourceRoot":"","sources":["../../../../../packages/constants/report/common/report-data-ranger-type.constant.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,mBAAmB,wBAAwB;IAC3C,sBAAsB,2BAA2B;CAClD"}