@mikemo-coposit/am-accounting-shared 0.0.6 → 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 (231) hide show
  1. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts +2 -0
  2. package/dist/cjs/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
  3. package/dist/cjs/constants/common/account-type.constant.d.ts +5 -0
  4. package/dist/cjs/constants/common/account-type.constant.d.ts.map +1 -0
  5. package/dist/cjs/constants/common/index.d.ts +1 -0
  6. package/dist/cjs/constants/common/index.d.ts.map +1 -1
  7. package/dist/cjs/constants/index.d.ts +1 -0
  8. package/dist/cjs/constants/index.d.ts.map +1 -1
  9. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts +2 -0
  10. package/dist/cjs/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  11. package/dist/cjs/constants/report/common/index.d.ts +3 -0
  12. package/dist/cjs/constants/report/common/index.d.ts.map +1 -0
  13. package/dist/cjs/constants/report/common/report-data-range-type.constant.d.ts +6 -0
  14. package/dist/cjs/constants/report/common/report-data-range-type.constant.d.ts.map +1 -0
  15. package/dist/cjs/constants/report/common/report-group-type.constant.d.ts +5 -0
  16. package/dist/cjs/constants/report/common/report-group-type.constant.d.ts.map +1 -0
  17. package/dist/cjs/constants/report/index.d.ts +2 -0
  18. package/dist/cjs/constants/report/index.d.ts.map +1 -0
  19. package/dist/cjs/index.js +308 -104
  20. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +476 -0
  21. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -0
  22. package/dist/cjs/schemas/cma/cma.entity.schema.d.ts +182 -182
  23. package/dist/cjs/schemas/cma/cma.rest.schema.d.ts +90 -90
  24. package/dist/cjs/schemas/cma/create-cma.schema.d.ts +4 -4
  25. package/dist/cjs/schemas/cma/index.d.ts +1 -0
  26. package/dist/cjs/schemas/cma/index.d.ts.map +1 -1
  27. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +328 -328
  28. package/dist/cjs/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +2 -2
  29. package/dist/cjs/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +112 -112
  30. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +2 -2
  31. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +240 -240
  32. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +2 -2
  33. package/dist/cjs/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +2 -2
  34. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +22 -22
  35. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  36. package/dist/cjs/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +228 -228
  37. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +73 -72
  38. package/dist/cjs/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  39. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +1 -0
  40. package/dist/cjs/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -1
  41. package/dist/cjs/schemas/common/date/index.d.ts +4 -0
  42. package/dist/cjs/schemas/common/date/index.d.ts.map +1 -0
  43. package/dist/cjs/schemas/common/date/string-to-date.schema.d.ts +3 -0
  44. package/dist/cjs/schemas/common/date/string-to-date.schema.d.ts.map +1 -0
  45. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts +3 -0
  46. package/dist/cjs/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -0
  47. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts +3 -0
  48. package/dist/cjs/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -0
  49. package/dist/cjs/schemas/common/index.d.ts +1 -0
  50. package/dist/cjs/schemas/common/index.d.ts.map +1 -1
  51. package/dist/cjs/schemas/common/search/json-filter.schema.d.ts +2 -2
  52. package/dist/cjs/schemas/developer/developer.enity.schema.d.ts +2 -2
  53. package/dist/cjs/schemas/index.d.ts +1 -0
  54. package/dist/cjs/schemas/index.d.ts.map +1 -1
  55. package/dist/cjs/schemas/menu/create-menu.schema.d.ts +2 -2
  56. package/dist/cjs/schemas/menu/menu-res.schema.d.ts +16 -16
  57. package/dist/cjs/schemas/menu/update-menu.schema.d.ts +4 -4
  58. package/dist/cjs/schemas/mta/create-mta.rest.schema.d.ts +4 -4
  59. package/dist/cjs/schemas/mta/mta.entity.schema.d.ts +8 -8
  60. package/dist/cjs/schemas/mta/mta.rest.schema.d.ts +66 -66
  61. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +328 -328
  62. package/dist/cjs/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +2 -2
  63. package/dist/cjs/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +78 -78
  64. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.entity.schema.d.ts +2 -2
  65. package/dist/cjs/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +22 -22
  66. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
  67. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +204 -204
  68. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +2 -2
  69. package/dist/cjs/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +2 -2
  70. package/dist/cjs/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  71. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -0
  72. package/dist/cjs/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  73. package/dist/cjs/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +6 -6
  74. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +73 -72
  75. package/dist/cjs/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  76. package/dist/cjs/schemas/payment-provider/payment-provider.entity.schema.d.ts +2 -2
  77. package/dist/cjs/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +4 -4
  78. package/dist/cjs/schemas/payout/payout-provision-data.rest.schema.d.ts +1446 -1446
  79. package/dist/cjs/schemas/payout/payout-search.rest.schema.d.ts +4 -4
  80. package/dist/cjs/schemas/payout/payout.entity.schema.d.ts +2 -2
  81. package/dist/cjs/schemas/payout/payout.rest.create.schema.d.ts +8 -8
  82. package/dist/cjs/schemas/payout/payout.rest.list.schema.d.ts +2 -2
  83. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +3539 -3539
  84. package/dist/cjs/schemas/payout/payout.rest.view.schema.d.ts +18 -18
  85. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +2 -2
  86. package/dist/cjs/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +16 -16
  87. package/dist/cjs/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +4 -4
  88. package/dist/cjs/schemas/payout-transaction/index.d.ts +1 -0
  89. package/dist/cjs/schemas/payout-transaction/index.d.ts.map +1 -1
  90. package/dist/cjs/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
  91. package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +337 -0
  92. package/dist/cjs/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -0
  93. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +732 -732
  94. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  95. package/dist/cjs/schemas/project/project.entity.schema.d.ts +12 -12
  96. package/dist/cjs/schemas/project/project.rest.schema.d.ts +117 -117
  97. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  98. package/dist/cjs/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +35 -35
  99. package/dist/cjs/schemas/property/customer.entity.schema.d.ts +2 -2
  100. package/dist/cjs/schemas/property/property-accounts-balance.rest.schema.d.ts +10 -10
  101. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +55 -0
  102. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  103. package/dist/cjs/schemas/property/property.entity.schema.d.ts +110 -110
  104. package/dist/cjs/schemas/property/property.rest.schema.d.ts +303 -303
  105. package/dist/cjs/schemas/report/common-report.rest.schema.d.ts +25 -0
  106. package/dist/cjs/schemas/report/common-report.rest.schema.d.ts.map +1 -0
  107. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts +34 -0
  108. package/dist/cjs/schemas/report/customer-ledger.rest.schema.d.ts.map +1 -0
  109. package/dist/cjs/schemas/report/index.d.ts +5 -0
  110. package/dist/cjs/schemas/report/index.d.ts.map +1 -0
  111. package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts +34 -0
  112. package/dist/cjs/schemas/report/receipt-list.rest.schema.d.ts.map +1 -0
  113. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts +53 -0
  114. package/dist/cjs/schemas/report/trust-trial.rest.schema.d.ts.map +1 -0
  115. package/dist/cjs/schemas/user/user.entity.schema.d.ts +2 -2
  116. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts +2 -0
  117. package/dist/esm/constants/cma-transaction/cma-transaction-type.constant.d.ts.map +1 -1
  118. package/dist/esm/constants/common/account-type.constant.d.ts +5 -0
  119. package/dist/esm/constants/common/account-type.constant.d.ts.map +1 -0
  120. package/dist/esm/constants/common/index.d.ts +1 -0
  121. package/dist/esm/constants/common/index.d.ts.map +1 -1
  122. package/dist/esm/constants/index.d.ts +1 -0
  123. package/dist/esm/constants/index.d.ts.map +1 -1
  124. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts +2 -0
  125. package/dist/esm/constants/mta-transaction/mta-type.constant.d.ts.map +1 -1
  126. package/dist/esm/constants/report/common/index.d.ts +3 -0
  127. package/dist/esm/constants/report/common/index.d.ts.map +1 -0
  128. package/dist/esm/constants/report/common/report-data-range-type.constant.d.ts +6 -0
  129. package/dist/esm/constants/report/common/report-data-range-type.constant.d.ts.map +1 -0
  130. package/dist/esm/constants/report/common/report-group-type.constant.d.ts +5 -0
  131. package/dist/esm/constants/report/common/report-group-type.constant.d.ts.map +1 -0
  132. package/dist/esm/constants/report/index.d.ts +2 -0
  133. package/dist/esm/constants/report/index.d.ts.map +1 -0
  134. package/dist/esm/index.mjs +257 -92
  135. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +476 -0
  136. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -0
  137. package/dist/esm/schemas/cma/cma.entity.schema.d.ts +182 -182
  138. package/dist/esm/schemas/cma/cma.rest.schema.d.ts +90 -90
  139. package/dist/esm/schemas/cma/create-cma.schema.d.ts +4 -4
  140. package/dist/esm/schemas/cma/index.d.ts +1 -0
  141. package/dist/esm/schemas/cma/index.d.ts.map +1 -1
  142. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +328 -328
  143. package/dist/esm/schemas/cma-account-period/cma-account-period.entity.schema.d.ts +2 -2
  144. package/dist/esm/schemas/cma-account-period/cma-account-period.rest.schema.d.ts +112 -112
  145. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.entity.schema.d.ts +2 -2
  146. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +240 -240
  147. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.entity.schema.d.ts +2 -2
  148. package/dist/esm/schemas/cma-reconciliation/cma-reconciliation.rest.schema.d.ts +2 -2
  149. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +22 -22
  150. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  151. package/dist/esm/schemas/cma-transaction/cma-transaction.entity.schema.d.ts +228 -228
  152. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts +73 -72
  153. package/dist/esm/schemas/cma-transaction/cma-transaction.rest.schema.d.ts.map +1 -1
  154. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts +1 -0
  155. package/dist/esm/schemas/cma-transaction/create-cma-transactionrest.schema.d.ts.map +1 -1
  156. package/dist/esm/schemas/common/date/index.d.ts +4 -0
  157. package/dist/esm/schemas/common/date/index.d.ts.map +1 -0
  158. package/dist/esm/schemas/common/date/string-to-date.schema.d.ts +3 -0
  159. package/dist/esm/schemas/common/date/string-to-date.schema.d.ts.map +1 -0
  160. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts +3 -0
  161. package/dist/esm/schemas/common/date/string-to-end-of-day.schema.d.ts.map +1 -0
  162. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts +3 -0
  163. package/dist/esm/schemas/common/date/string-to-start-of-day.schema.d.ts.map +1 -0
  164. package/dist/esm/schemas/common/index.d.ts +1 -0
  165. package/dist/esm/schemas/common/index.d.ts.map +1 -1
  166. package/dist/esm/schemas/common/search/json-filter.schema.d.ts +2 -2
  167. package/dist/esm/schemas/developer/developer.enity.schema.d.ts +2 -2
  168. package/dist/esm/schemas/index.d.ts +1 -0
  169. package/dist/esm/schemas/index.d.ts.map +1 -1
  170. package/dist/esm/schemas/menu/create-menu.schema.d.ts +2 -2
  171. package/dist/esm/schemas/menu/menu-res.schema.d.ts +16 -16
  172. package/dist/esm/schemas/menu/update-menu.schema.d.ts +4 -4
  173. package/dist/esm/schemas/mta/create-mta.rest.schema.d.ts +4 -4
  174. package/dist/esm/schemas/mta/mta.entity.schema.d.ts +8 -8
  175. package/dist/esm/schemas/mta/mta.rest.schema.d.ts +66 -66
  176. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +328 -328
  177. package/dist/esm/schemas/mta-account-period/mta-account-period.entity.schema.d.ts +2 -2
  178. package/dist/esm/schemas/mta-account-period/mta-account-period.rest.schema.d.ts +78 -78
  179. package/dist/esm/schemas/mta-payment-method/mta-payment-method.entity.schema.d.ts +2 -2
  180. package/dist/esm/schemas/mta-payment-method/mta-payment-method.rest.schema.d.ts +22 -22
  181. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.entity.schema.d.ts +2 -2
  182. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +204 -204
  183. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.entity.schema.d.ts +2 -2
  184. package/dist/esm/schemas/mta-reconciliation/mta-reconciliation.rest.schema.d.ts +2 -2
  185. package/dist/esm/schemas/mta-transaction/assign-unknonw-receipt-to-property.rest.schema.d.ts +2 -2
  186. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts +1 -0
  187. package/dist/esm/schemas/mta-transaction/create-mta-transactionrest.schema.d.ts.map +1 -1
  188. package/dist/esm/schemas/mta-transaction/mta-transaction.entity.schema.d.ts +6 -6
  189. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts +73 -72
  190. package/dist/esm/schemas/mta-transaction/mta-transaction.rest.schema.d.ts.map +1 -1
  191. package/dist/esm/schemas/payment-provider/payment-provider.entity.schema.d.ts +2 -2
  192. package/dist/esm/schemas/payout/create-mta-to-cma-payout.rest.schema.d.ts +4 -4
  193. package/dist/esm/schemas/payout/payout-provision-data.rest.schema.d.ts +1446 -1446
  194. package/dist/esm/schemas/payout/payout-search.rest.schema.d.ts +4 -4
  195. package/dist/esm/schemas/payout/payout.entity.schema.d.ts +2 -2
  196. package/dist/esm/schemas/payout/payout.rest.create.schema.d.ts +8 -8
  197. package/dist/esm/schemas/payout/payout.rest.list.schema.d.ts +2 -2
  198. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +3539 -3539
  199. package/dist/esm/schemas/payout/payout.rest.view.schema.d.ts +18 -18
  200. package/dist/esm/schemas/payout-bank-file/payout-bank-file.entity.schema.d.ts +2 -2
  201. package/dist/esm/schemas/payout-bank-file/payout-bank-file.rest.schem.d.ts +16 -16
  202. package/dist/esm/schemas/payout-bank-file-download-history/payout-bank-file-download-histor.entity.schema.d.ts +4 -4
  203. package/dist/esm/schemas/payout-transaction/index.d.ts +1 -0
  204. package/dist/esm/schemas/payout-transaction/index.d.ts.map +1 -1
  205. package/dist/esm/schemas/payout-transaction/payout-transactin.entity.schema.d.ts +4 -4
  206. package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts +337 -0
  207. package/dist/esm/schemas/payout-transaction/payout-transaction-search.rest.schema.d.ts.map +1 -0
  208. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +732 -732
  209. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts.map +1 -1
  210. package/dist/esm/schemas/project/project.entity.schema.d.ts +12 -12
  211. package/dist/esm/schemas/project/project.rest.schema.d.ts +117 -117
  212. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.entity.schema.d.ts +2 -2
  213. package/dist/esm/schemas/project-mta-allocation/project-mta-allocation.rest.schema.d.ts +35 -35
  214. package/dist/esm/schemas/property/customer.entity.schema.d.ts +2 -2
  215. package/dist/esm/schemas/property/property-accounts-balance.rest.schema.d.ts +10 -10
  216. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +55 -0
  217. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  218. package/dist/esm/schemas/property/property.entity.schema.d.ts +110 -110
  219. package/dist/esm/schemas/property/property.rest.schema.d.ts +303 -303
  220. package/dist/esm/schemas/report/common-report.rest.schema.d.ts +25 -0
  221. package/dist/esm/schemas/report/common-report.rest.schema.d.ts.map +1 -0
  222. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts +34 -0
  223. package/dist/esm/schemas/report/customer-ledger.rest.schema.d.ts.map +1 -0
  224. package/dist/esm/schemas/report/index.d.ts +5 -0
  225. package/dist/esm/schemas/report/index.d.ts.map +1 -0
  226. package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts +34 -0
  227. package/dist/esm/schemas/report/receipt-list.rest.schema.d.ts.map +1 -0
  228. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts +53 -0
  229. package/dist/esm/schemas/report/trust-trial.rest.schema.d.ts.map +1 -0
  230. package/dist/esm/schemas/user/user.entity.schema.d.ts +2 -2
  231. package/package.json +1 -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"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ import { ReportGroupType } from '../../constants/report/common/report-group-type.constant';
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>;
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
+ propertyIds: z.ZodArray<z.ZodString, "many">;
25
+ reportGroupType: z.ZodNativeEnum<typeof ReportGroupType>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ propertyIds: string[];
28
+ reportGroupType: ReportGroupType;
29
+ }, {
30
+ propertyIds: string[];
31
+ reportGroupType: ReportGroupType;
32
+ }>>;
33
+ export type CustomerLedgerRestReq = z.input<typeof customerLedgerRestReqSchema>;
34
+ //# sourceMappingURL=customer-ledger.rest.schema.d.ts.map
@@ -0,0 +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,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGrC,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './common-report.rest.schema';
2
+ export * from './customer-ledger.rest.schema';
3
+ export * from './receipt-list.rest.schema';
4
+ export * from './trust-trial.rest.schema';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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.6",
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",