@mikemo-coposit/am-accounting-shared 0.0.1

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 (272) hide show
  1. package/README.md +107 -0
  2. package/dist/constants/index.d.mts +5 -0
  3. package/dist/constants/index.d.ts +5 -0
  4. package/dist/constants/index.js +21 -0
  5. package/dist/constants/index.js.map +1 -0
  6. package/dist/constants/index.mjs +4 -0
  7. package/dist/constants/index.mjs.map +1 -0
  8. package/dist/constants/menu/index.d.mts +2 -0
  9. package/dist/constants/menu/index.d.ts +2 -0
  10. package/dist/constants/menu/index.js +20 -0
  11. package/dist/constants/menu/index.js.map +1 -0
  12. package/dist/constants/menu/index.mjs +3 -0
  13. package/dist/constants/menu/index.mjs.map +1 -0
  14. package/dist/constants/menu/menu-status.constant.d.mts +7 -0
  15. package/dist/constants/menu/menu-status.constant.d.ts +7 -0
  16. package/dist/constants/menu/menu-status.constant.js +28 -0
  17. package/dist/constants/menu/menu-status.constant.js.map +1 -0
  18. package/dist/constants/menu/menu-status.constant.mjs +8 -0
  19. package/dist/constants/menu/menu-status.constant.mjs.map +1 -0
  20. package/dist/constants/menu/menu-type.constant.d.mts +8 -0
  21. package/dist/constants/menu/menu-type.constant.d.ts +8 -0
  22. package/dist/constants/menu/menu-type.constant.js +29 -0
  23. package/dist/constants/menu/menu-type.constant.js.map +1 -0
  24. package/dist/constants/menu/menu-type.constant.mjs +9 -0
  25. package/dist/constants/menu/menu-type.constant.mjs.map +1 -0
  26. package/dist/constants/project/index.d.mts +2 -0
  27. package/dist/constants/project/index.d.ts +2 -0
  28. package/dist/constants/project/index.js +20 -0
  29. package/dist/constants/project/index.js.map +1 -0
  30. package/dist/constants/project/index.mjs +3 -0
  31. package/dist/constants/project/index.mjs.map +1 -0
  32. package/dist/constants/project/project-res-status.constant.d.mts +10 -0
  33. package/dist/constants/project/project-res-status.constant.d.ts +10 -0
  34. package/dist/constants/project/project-res-status.constant.js +31 -0
  35. package/dist/constants/project/project-res-status.constant.js.map +1 -0
  36. package/dist/constants/project/project-res-status.constant.mjs +11 -0
  37. package/dist/constants/project/project-res-status.constant.mjs.map +1 -0
  38. package/dist/constants/project/project-trust-account-allocation-status.constant.d.mts +8 -0
  39. package/dist/constants/project/project-trust-account-allocation-status.constant.d.ts +8 -0
  40. package/dist/constants/project/project-trust-account-allocation-status.constant.js +29 -0
  41. package/dist/constants/project/project-trust-account-allocation-status.constant.js.map +1 -0
  42. package/dist/constants/project/project-trust-account-allocation-status.constant.mjs +9 -0
  43. package/dist/constants/project/project-trust-account-allocation-status.constant.mjs.map +1 -0
  44. package/dist/constants/trust-account/index.d.mts +1 -0
  45. package/dist/constants/trust-account/index.d.ts +1 -0
  46. package/dist/constants/trust-account/index.js +19 -0
  47. package/dist/constants/trust-account/index.js.map +1 -0
  48. package/dist/constants/trust-account/index.mjs +2 -0
  49. package/dist/constants/trust-account/index.mjs.map +1 -0
  50. package/dist/constants/trust-account/trust-account-status.constant.d.mts +6 -0
  51. package/dist/constants/trust-account/trust-account-status.constant.d.ts +6 -0
  52. package/dist/constants/trust-account/trust-account-status.constant.js +29 -0
  53. package/dist/constants/trust-account/trust-account-status.constant.js.map +1 -0
  54. package/dist/constants/trust-account/trust-account-status.constant.mjs +9 -0
  55. package/dist/constants/trust-account/trust-account-status.constant.mjs.map +1 -0
  56. package/dist/grpc/constants/accountms.constant.d.mts +14 -0
  57. package/dist/grpc/constants/accountms.constant.d.ts +14 -0
  58. package/dist/grpc/constants/accountms.constant.js +39 -0
  59. package/dist/grpc/constants/accountms.constant.js.map +1 -0
  60. package/dist/grpc/constants/accountms.constant.mjs +19 -0
  61. package/dist/grpc/constants/accountms.constant.mjs.map +1 -0
  62. package/dist/grpc/constants/index.d.mts +1 -0
  63. package/dist/grpc/constants/index.d.ts +1 -0
  64. package/dist/grpc/constants/index.js +19 -0
  65. package/dist/grpc/constants/index.js.map +1 -0
  66. package/dist/grpc/constants/index.mjs +2 -0
  67. package/dist/grpc/constants/index.mjs.map +1 -0
  68. package/dist/grpc/index.d.mts +4 -0
  69. package/dist/grpc/index.d.ts +4 -0
  70. package/dist/grpc/index.js +20 -0
  71. package/dist/grpc/index.js.map +1 -0
  72. package/dist/grpc/index.mjs +3 -0
  73. package/dist/grpc/index.mjs.map +1 -0
  74. package/dist/grpc/protos/common/common.file.d.mts +2 -0
  75. package/dist/grpc/protos/common/common.file.d.ts +2 -0
  76. package/dist/grpc/protos/common/common.file.proto +30 -0
  77. package/dist/grpc/protos/common/common.general.d.mts +2 -0
  78. package/dist/grpc/protos/common/common.general.d.ts +2 -0
  79. package/dist/grpc/protos/common/common.general.proto +53 -0
  80. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.d.mts +2 -0
  81. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.d.ts +2 -0
  82. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.d.mts +2 -0
  83. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.d.ts +2 -0
  84. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.proto +16 -0
  85. package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.proto +28 -0
  86. package/dist/grpc/protos/trust-account/trust-account.d.mts +2 -0
  87. package/dist/grpc/protos/trust-account/trust-account.d.ts +2 -0
  88. package/dist/grpc/protos/trust-account/trust-account.e.d.mts +2 -0
  89. package/dist/grpc/protos/trust-account/trust-account.e.d.ts +2 -0
  90. package/dist/grpc/protos/trust-account/trust-account.e.proto +18 -0
  91. package/dist/grpc/protos/trust-account/trust-account.proto +35 -0
  92. package/dist/grpc/utils/grpc.options.util.d.mts +10 -0
  93. package/dist/grpc/utils/grpc.options.util.d.ts +10 -0
  94. package/dist/grpc/utils/grpc.options.util.js +57 -0
  95. package/dist/grpc/utils/grpc.options.util.js.map +1 -0
  96. package/dist/grpc/utils/grpc.options.util.mjs +37 -0
  97. package/dist/grpc/utils/grpc.options.util.mjs.map +1 -0
  98. package/dist/grpc/utils/index.d.mts +3 -0
  99. package/dist/grpc/utils/index.d.ts +3 -0
  100. package/dist/grpc/utils/index.js +20 -0
  101. package/dist/grpc/utils/index.js.map +1 -0
  102. package/dist/grpc/utils/index.mjs +3 -0
  103. package/dist/grpc/utils/index.mjs.map +1 -0
  104. package/dist/grpc/utils/proto.util.d.mts +18 -0
  105. package/dist/grpc/utils/proto.util.d.ts +18 -0
  106. package/dist/grpc/utils/proto.util.js +102 -0
  107. package/dist/grpc/utils/proto.util.js.map +1 -0
  108. package/dist/grpc/utils/proto.util.mjs +82 -0
  109. package/dist/grpc/utils/proto.util.mjs.map +1 -0
  110. package/dist/index.d.mts +28 -0
  111. package/dist/index.d.ts +28 -0
  112. package/dist/index.js +23 -0
  113. package/dist/index.js.map +1 -0
  114. package/dist/index.mjs +6 -0
  115. package/dist/index.mjs.map +1 -0
  116. package/dist/interfaces/common/common.interface.d.mts +6 -0
  117. package/dist/interfaces/common/common.interface.d.ts +6 -0
  118. package/dist/interfaces/common/common.interface.js +17 -0
  119. package/dist/interfaces/common/common.interface.js.map +1 -0
  120. package/dist/interfaces/common/common.interface.mjs +1 -0
  121. package/dist/interfaces/common/common.interface.mjs.map +1 -0
  122. package/dist/interfaces/common/index.d.mts +1 -0
  123. package/dist/interfaces/common/index.d.ts +1 -0
  124. package/dist/interfaces/common/index.js +19 -0
  125. package/dist/interfaces/common/index.js.map +1 -0
  126. package/dist/interfaces/common/index.mjs +2 -0
  127. package/dist/interfaces/common/index.mjs.map +1 -0
  128. package/dist/interfaces/index.d.mts +12 -0
  129. package/dist/interfaces/index.d.ts +12 -0
  130. package/dist/interfaces/index.js +21 -0
  131. package/dist/interfaces/index.js.map +1 -0
  132. package/dist/interfaces/index.mjs +4 -0
  133. package/dist/interfaces/index.mjs.map +1 -0
  134. package/dist/interfaces/project-trust-account-allocation/index.d.mts +7 -0
  135. package/dist/interfaces/project-trust-account-allocation/index.d.ts +7 -0
  136. package/dist/interfaces/project-trust-account-allocation/index.js +20 -0
  137. package/dist/interfaces/project-trust-account-allocation/index.js.map +1 -0
  138. package/dist/interfaces/project-trust-account-allocation/index.mjs +3 -0
  139. package/dist/interfaces/project-trust-account-allocation/index.mjs.map +1 -0
  140. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.mts +16 -0
  141. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.ts +16 -0
  142. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.js +17 -0
  143. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.js.map +1 -0
  144. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.mjs +1 -0
  145. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.mjs.map +1 -0
  146. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.d.mts +24 -0
  147. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.d.ts +24 -0
  148. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.js +17 -0
  149. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.js.map +1 -0
  150. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.mjs +1 -0
  151. package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.mjs.map +1 -0
  152. package/dist/interfaces/trust-account/index.d.mts +8 -0
  153. package/dist/interfaces/trust-account/index.d.ts +8 -0
  154. package/dist/interfaces/trust-account/index.js +20 -0
  155. package/dist/interfaces/trust-account/index.js.map +1 -0
  156. package/dist/interfaces/trust-account/index.mjs +3 -0
  157. package/dist/interfaces/trust-account/index.mjs.map +1 -0
  158. package/dist/interfaces/trust-account/trust-account.entity.interface.d.mts +18 -0
  159. package/dist/interfaces/trust-account/trust-account.entity.interface.d.ts +18 -0
  160. package/dist/interfaces/trust-account/trust-account.entity.interface.js +17 -0
  161. package/dist/interfaces/trust-account/trust-account.entity.interface.js.map +1 -0
  162. package/dist/interfaces/trust-account/trust-account.entity.interface.mjs +1 -0
  163. package/dist/interfaces/trust-account/trust-account.entity.interface.mjs.map +1 -0
  164. package/dist/interfaces/trust-account/trust-account.grpc.interface.d.mts +24 -0
  165. package/dist/interfaces/trust-account/trust-account.grpc.interface.d.ts +24 -0
  166. package/dist/interfaces/trust-account/trust-account.grpc.interface.js +17 -0
  167. package/dist/interfaces/trust-account/trust-account.grpc.interface.js.map +1 -0
  168. package/dist/interfaces/trust-account/trust-account.grpc.interface.mjs +1 -0
  169. package/dist/interfaces/trust-account/trust-account.grpc.interface.mjs.map +1 -0
  170. package/dist/schemas/index.d.mts +12 -0
  171. package/dist/schemas/index.d.ts +12 -0
  172. package/dist/schemas/index.js +22 -0
  173. package/dist/schemas/index.js.map +1 -0
  174. package/dist/schemas/index.mjs +5 -0
  175. package/dist/schemas/index.mjs.map +1 -0
  176. package/dist/schemas/menu/create-menu.schema.d.mts +49 -0
  177. package/dist/schemas/menu/create-menu.schema.d.ts +49 -0
  178. package/dist/schemas/menu/create-menu.schema.js +40 -0
  179. package/dist/schemas/menu/create-menu.schema.js.map +1 -0
  180. package/dist/schemas/menu/create-menu.schema.mjs +20 -0
  181. package/dist/schemas/menu/create-menu.schema.mjs.map +1 -0
  182. package/dist/schemas/menu/index.d.mts +4 -0
  183. package/dist/schemas/menu/index.d.ts +4 -0
  184. package/dist/schemas/menu/index.js +21 -0
  185. package/dist/schemas/menu/index.js.map +1 -0
  186. package/dist/schemas/menu/index.mjs +4 -0
  187. package/dist/schemas/menu/index.mjs.map +1 -0
  188. package/dist/schemas/menu/menu-res.schema.d.mts +219 -0
  189. package/dist/schemas/menu/menu-res.schema.d.ts +219 -0
  190. package/dist/schemas/menu/menu-res.schema.js +49 -0
  191. package/dist/schemas/menu/menu-res.schema.js.map +1 -0
  192. package/dist/schemas/menu/menu-res.schema.mjs +29 -0
  193. package/dist/schemas/menu/menu-res.schema.mjs.map +1 -0
  194. package/dist/schemas/menu/update-menu.schema.d.mts +53 -0
  195. package/dist/schemas/menu/update-menu.schema.d.ts +53 -0
  196. package/dist/schemas/menu/update-menu.schema.js +29 -0
  197. package/dist/schemas/menu/update-menu.schema.js.map +1 -0
  198. package/dist/schemas/menu/update-menu.schema.mjs +9 -0
  199. package/dist/schemas/menu/update-menu.schema.mjs.map +1 -0
  200. package/dist/schemas/project/index.d.mts +3 -0
  201. package/dist/schemas/project/index.d.ts +3 -0
  202. package/dist/schemas/project/index.js +19 -0
  203. package/dist/schemas/project/index.js.map +1 -0
  204. package/dist/schemas/project/index.mjs +2 -0
  205. package/dist/schemas/project/index.mjs.map +1 -0
  206. package/dist/schemas/project/project-res.schema.d.mts +154 -0
  207. package/dist/schemas/project/project-res.schema.d.ts +154 -0
  208. package/dist/schemas/project/project-res.schema.js +42 -0
  209. package/dist/schemas/project/project-res.schema.js.map +1 -0
  210. package/dist/schemas/project/project-res.schema.mjs +22 -0
  211. package/dist/schemas/project/project-res.schema.mjs.map +1 -0
  212. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.mts +15 -0
  213. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.ts +15 -0
  214. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.js +29 -0
  215. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.js.map +1 -0
  216. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.mjs +9 -0
  217. package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.mjs.map +1 -0
  218. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.mts +12 -0
  219. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.ts +12 -0
  220. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js +28 -0
  221. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js.map +1 -0
  222. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.mjs +8 -0
  223. package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.mjs.map +1 -0
  224. package/dist/schemas/project-trust-account-allocation/index.d.mts +4 -0
  225. package/dist/schemas/project-trust-account-allocation/index.d.ts +4 -0
  226. package/dist/schemas/project-trust-account-allocation/index.js +21 -0
  227. package/dist/schemas/project-trust-account-allocation/index.js.map +1 -0
  228. package/dist/schemas/project-trust-account-allocation/index.mjs +4 -0
  229. package/dist/schemas/project-trust-account-allocation/index.mjs.map +1 -0
  230. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.d.mts +46 -0
  231. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.d.ts +46 -0
  232. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.js +39 -0
  233. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.js.map +1 -0
  234. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.mjs +19 -0
  235. package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.mjs.map +1 -0
  236. package/dist/schemas/trust-account/create-trust-account.schema.d.mts +28 -0
  237. package/dist/schemas/trust-account/create-trust-account.schema.d.ts +28 -0
  238. package/dist/schemas/trust-account/create-trust-account.schema.js +36 -0
  239. package/dist/schemas/trust-account/create-trust-account.schema.js.map +1 -0
  240. package/dist/schemas/trust-account/create-trust-account.schema.mjs +16 -0
  241. package/dist/schemas/trust-account/create-trust-account.schema.mjs.map +1 -0
  242. package/dist/schemas/trust-account/index.d.mts +5 -0
  243. package/dist/schemas/trust-account/index.d.ts +5 -0
  244. package/dist/schemas/trust-account/index.js +21 -0
  245. package/dist/schemas/trust-account/index.js.map +1 -0
  246. package/dist/schemas/trust-account/index.mjs +4 -0
  247. package/dist/schemas/trust-account/index.mjs.map +1 -0
  248. package/dist/schemas/trust-account/trust-account-res.schema.d.mts +31 -0
  249. package/dist/schemas/trust-account/trust-account-res.schema.d.ts +31 -0
  250. package/dist/schemas/trust-account/trust-account-res.schema.js +46 -0
  251. package/dist/schemas/trust-account/trust-account-res.schema.js.map +1 -0
  252. package/dist/schemas/trust-account/trust-account-res.schema.mjs +26 -0
  253. package/dist/schemas/trust-account/trust-account-res.schema.mjs.map +1 -0
  254. package/dist/schemas/trust-account/update-trust-account.schema.d.mts +15 -0
  255. package/dist/schemas/trust-account/update-trust-account.schema.d.ts +15 -0
  256. package/dist/schemas/trust-account/update-trust-account.schema.js +29 -0
  257. package/dist/schemas/trust-account/update-trust-account.schema.js.map +1 -0
  258. package/dist/schemas/trust-account/update-trust-account.schema.mjs +9 -0
  259. package/dist/schemas/trust-account/update-trust-account.schema.mjs.map +1 -0
  260. package/dist/utils/index.d.mts +1 -0
  261. package/dist/utils/index.d.ts +1 -0
  262. package/dist/utils/index.js +19 -0
  263. package/dist/utils/index.js.map +1 -0
  264. package/dist/utils/index.mjs +2 -0
  265. package/dist/utils/index.mjs.map +1 -0
  266. package/dist/utils/mask.d.mts +7 -0
  267. package/dist/utils/mask.d.ts +7 -0
  268. package/dist/utils/mask.js +41 -0
  269. package/dist/utils/mask.js.map +1 -0
  270. package/dist/utils/mask.mjs +21 -0
  271. package/dist/utils/mask.mjs.map +1 -0
  272. package/package.json +109 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/menu/update-menu.schema.ts"],"sourcesContent":["import { z } from 'zod';\nimport { createMenuRestReqSchema } from './create-menu.schema';\n\nexport const updateMenuRestReqSchema = createMenuRestReqSchema.extend({\n id: z.string(),\n});\n\nexport type UpdateMenuRestReq = z.infer<typeof updateMenuRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAClB,SAAS,+BAA+B;AAEjC,MAAM,0BAA0B,wBAAwB,OAAO;AAAA,EACpE,IAAI,EAAE,OAAO;AACf,CAAC;","names":[]}
@@ -0,0 +1,3 @@
1
+ export { ProjectRestRes, projectRestResSchema } from './project-res.schema.mjs';
2
+ import '@mikemo-coposit/am-zshared';
3
+ import 'zod';
@@ -0,0 +1,3 @@
1
+ export { ProjectRestRes, projectRestResSchema } from './project-res.schema.js';
2
+ import '@mikemo-coposit/am-zshared';
3
+ import 'zod';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var project_exports = {};
17
+ module.exports = __toCommonJS(project_exports);
18
+ __reExport(project_exports, require("./project-res.schema"), module.exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './project-res.schema';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAEA,4BAAc,iCAFd;","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from "./project-res.schema";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './project-res.schema';\n"],"mappings":"AAEA,cAAc;","names":[]}
@@ -0,0 +1,154 @@
1
+ import * as _mikemo_coposit_am_zshared from '@mikemo-coposit/am-zshared';
2
+ import { AuStateCode } from '@mikemo-coposit/am-zshared';
3
+ import { z } from 'zod';
4
+
5
+ declare const projectRestResSchema: z.ZodObject<{
6
+ id: z.ZodString;
7
+ name: z.ZodString;
8
+ developerName: z.ZodString;
9
+ state: z.ZodNativeEnum<typeof AuStateCode>;
10
+ country: z.ZodString;
11
+ trustAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ trustAccount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
13
+ id: z.ZodString;
14
+ name: z.ZodString;
15
+ country: z.ZodString;
16
+ stateCode: z.ZodNativeEnum<typeof AuStateCode>;
17
+ bankCode: z.ZodNativeEnum<typeof _mikemo_coposit_am_zshared.AuTrustAccountBankCode>;
18
+ accountNumber: z.ZodEffects<z.ZodString, string, string>;
19
+ bsb: z.ZodEffects<z.ZodString, string, string>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ id: string;
22
+ name: string;
23
+ country: string;
24
+ stateCode: AuStateCode;
25
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
26
+ accountNumber: string;
27
+ bsb: string;
28
+ }, {
29
+ id: string;
30
+ name: string;
31
+ country: string;
32
+ stateCode: AuStateCode;
33
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
34
+ accountNumber: string;
35
+ bsb: string;
36
+ }>>>>;
37
+ createdAt: z.ZodString;
38
+ updatedAt: z.ZodString;
39
+ trustAccountAllocation: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
40
+ id: z.ZodString;
41
+ projectId: z.ZodString;
42
+ trustAccountId: z.ZodString;
43
+ status: z.ZodNativeEnum<{
44
+ readonly PENDING_APPROVAL: "pending_approval";
45
+ readonly APPROVED: "approved";
46
+ readonly REJECTED: "rejected";
47
+ }>;
48
+ createdBy: z.ZodString;
49
+ createdAt: z.ZodString;
50
+ approvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ approvedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ updatedAt: z.ZodString;
53
+ creatorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ approverName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ projectId: string;
57
+ trustAccountId: string;
58
+ status: "pending_approval" | "approved" | "rejected";
59
+ id: string;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ createdBy: string;
63
+ approvedBy?: string | null | undefined;
64
+ approvedAt?: string | null | undefined;
65
+ creatorName?: string | null | undefined;
66
+ approverName?: string | null | undefined;
67
+ }, {
68
+ projectId: string;
69
+ trustAccountId: string;
70
+ status: "pending_approval" | "approved" | "rejected";
71
+ id: string;
72
+ createdAt: string;
73
+ updatedAt: string;
74
+ createdBy: string;
75
+ approvedBy?: string | null | undefined;
76
+ approvedAt?: string | null | undefined;
77
+ creatorName?: string | null | undefined;
78
+ approverName?: string | null | undefined;
79
+ }>>>>;
80
+ status: z.ZodNativeEnum<{
81
+ readonly MISS_MATCH: "miss_match";
82
+ readonly PENDING_TRUST_ACCOUNT: "pending_trust_account";
83
+ readonly PENDING_APPROVAL: "pending_approval";
84
+ readonly APPROVED: "approved";
85
+ readonly REJECTED: "rejected";
86
+ }>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
89
+ id: string;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ name: string;
93
+ country: string;
94
+ developerName: string;
95
+ state: AuStateCode;
96
+ trustAccountId?: string | null | undefined;
97
+ trustAccount?: {
98
+ id: string;
99
+ name: string;
100
+ country: string;
101
+ stateCode: AuStateCode;
102
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
103
+ accountNumber: string;
104
+ bsb: string;
105
+ } | null | undefined;
106
+ trustAccountAllocation?: {
107
+ projectId: string;
108
+ trustAccountId: string;
109
+ status: "pending_approval" | "approved" | "rejected";
110
+ id: string;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ createdBy: string;
114
+ approvedBy?: string | null | undefined;
115
+ approvedAt?: string | null | undefined;
116
+ creatorName?: string | null | undefined;
117
+ approverName?: string | null | undefined;
118
+ } | null | undefined;
119
+ }, {
120
+ status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
121
+ id: string;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ name: string;
125
+ country: string;
126
+ developerName: string;
127
+ state: AuStateCode;
128
+ trustAccountId?: string | null | undefined;
129
+ trustAccount?: {
130
+ id: string;
131
+ name: string;
132
+ country: string;
133
+ stateCode: AuStateCode;
134
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
135
+ accountNumber: string;
136
+ bsb: string;
137
+ } | null | undefined;
138
+ trustAccountAllocation?: {
139
+ projectId: string;
140
+ trustAccountId: string;
141
+ status: "pending_approval" | "approved" | "rejected";
142
+ id: string;
143
+ createdAt: string;
144
+ updatedAt: string;
145
+ createdBy: string;
146
+ approvedBy?: string | null | undefined;
147
+ approvedAt?: string | null | undefined;
148
+ creatorName?: string | null | undefined;
149
+ approverName?: string | null | undefined;
150
+ } | null | undefined;
151
+ }>;
152
+ type ProjectRestRes = z.infer<typeof projectRestResSchema>;
153
+
154
+ export { type ProjectRestRes, projectRestResSchema };
@@ -0,0 +1,154 @@
1
+ import * as _mikemo_coposit_am_zshared from '@mikemo-coposit/am-zshared';
2
+ import { AuStateCode } from '@mikemo-coposit/am-zshared';
3
+ import { z } from 'zod';
4
+
5
+ declare const projectRestResSchema: z.ZodObject<{
6
+ id: z.ZodString;
7
+ name: z.ZodString;
8
+ developerName: z.ZodString;
9
+ state: z.ZodNativeEnum<typeof AuStateCode>;
10
+ country: z.ZodString;
11
+ trustAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ trustAccount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
13
+ id: z.ZodString;
14
+ name: z.ZodString;
15
+ country: z.ZodString;
16
+ stateCode: z.ZodNativeEnum<typeof AuStateCode>;
17
+ bankCode: z.ZodNativeEnum<typeof _mikemo_coposit_am_zshared.AuTrustAccountBankCode>;
18
+ accountNumber: z.ZodEffects<z.ZodString, string, string>;
19
+ bsb: z.ZodEffects<z.ZodString, string, string>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ id: string;
22
+ name: string;
23
+ country: string;
24
+ stateCode: AuStateCode;
25
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
26
+ accountNumber: string;
27
+ bsb: string;
28
+ }, {
29
+ id: string;
30
+ name: string;
31
+ country: string;
32
+ stateCode: AuStateCode;
33
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
34
+ accountNumber: string;
35
+ bsb: string;
36
+ }>>>>;
37
+ createdAt: z.ZodString;
38
+ updatedAt: z.ZodString;
39
+ trustAccountAllocation: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
40
+ id: z.ZodString;
41
+ projectId: z.ZodString;
42
+ trustAccountId: z.ZodString;
43
+ status: z.ZodNativeEnum<{
44
+ readonly PENDING_APPROVAL: "pending_approval";
45
+ readonly APPROVED: "approved";
46
+ readonly REJECTED: "rejected";
47
+ }>;
48
+ createdBy: z.ZodString;
49
+ createdAt: z.ZodString;
50
+ approvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ approvedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ updatedAt: z.ZodString;
53
+ creatorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ approverName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ projectId: string;
57
+ trustAccountId: string;
58
+ status: "pending_approval" | "approved" | "rejected";
59
+ id: string;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ createdBy: string;
63
+ approvedBy?: string | null | undefined;
64
+ approvedAt?: string | null | undefined;
65
+ creatorName?: string | null | undefined;
66
+ approverName?: string | null | undefined;
67
+ }, {
68
+ projectId: string;
69
+ trustAccountId: string;
70
+ status: "pending_approval" | "approved" | "rejected";
71
+ id: string;
72
+ createdAt: string;
73
+ updatedAt: string;
74
+ createdBy: string;
75
+ approvedBy?: string | null | undefined;
76
+ approvedAt?: string | null | undefined;
77
+ creatorName?: string | null | undefined;
78
+ approverName?: string | null | undefined;
79
+ }>>>>;
80
+ status: z.ZodNativeEnum<{
81
+ readonly MISS_MATCH: "miss_match";
82
+ readonly PENDING_TRUST_ACCOUNT: "pending_trust_account";
83
+ readonly PENDING_APPROVAL: "pending_approval";
84
+ readonly APPROVED: "approved";
85
+ readonly REJECTED: "rejected";
86
+ }>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
89
+ id: string;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ name: string;
93
+ country: string;
94
+ developerName: string;
95
+ state: AuStateCode;
96
+ trustAccountId?: string | null | undefined;
97
+ trustAccount?: {
98
+ id: string;
99
+ name: string;
100
+ country: string;
101
+ stateCode: AuStateCode;
102
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
103
+ accountNumber: string;
104
+ bsb: string;
105
+ } | null | undefined;
106
+ trustAccountAllocation?: {
107
+ projectId: string;
108
+ trustAccountId: string;
109
+ status: "pending_approval" | "approved" | "rejected";
110
+ id: string;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ createdBy: string;
114
+ approvedBy?: string | null | undefined;
115
+ approvedAt?: string | null | undefined;
116
+ creatorName?: string | null | undefined;
117
+ approverName?: string | null | undefined;
118
+ } | null | undefined;
119
+ }, {
120
+ status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
121
+ id: string;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ name: string;
125
+ country: string;
126
+ developerName: string;
127
+ state: AuStateCode;
128
+ trustAccountId?: string | null | undefined;
129
+ trustAccount?: {
130
+ id: string;
131
+ name: string;
132
+ country: string;
133
+ stateCode: AuStateCode;
134
+ bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
135
+ accountNumber: string;
136
+ bsb: string;
137
+ } | null | undefined;
138
+ trustAccountAllocation?: {
139
+ projectId: string;
140
+ trustAccountId: string;
141
+ status: "pending_approval" | "approved" | "rejected";
142
+ id: string;
143
+ createdAt: string;
144
+ updatedAt: string;
145
+ createdBy: string;
146
+ approvedBy?: string | null | undefined;
147
+ approvedAt?: string | null | undefined;
148
+ creatorName?: string | null | undefined;
149
+ approverName?: string | null | undefined;
150
+ } | null | undefined;
151
+ }>;
152
+ type ProjectRestRes = z.infer<typeof projectRestResSchema>;
153
+
154
+ export { type ProjectRestRes, projectRestResSchema };
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var project_res_schema_exports = {};
20
+ __export(project_res_schema_exports, {
21
+ projectRestResSchema: () => projectRestResSchema
22
+ });
23
+ module.exports = __toCommonJS(project_res_schema_exports);
24
+ var import_am_zshared = require("@mikemo-coposit/am-zshared");
25
+ var import_zod = require("zod");
26
+ var import_project_res_status = require("../../constants/project/project-res-status.constant");
27
+ var import_project_trust_account_allocation_res = require("../project-trust-account-allocation/project-trust-account-allocation-res.schema");
28
+ var import_trust_account_res = require("../trust-account/trust-account-res.schema");
29
+ const projectRestResSchema = import_zod.z.object({
30
+ id: import_zod.z.string(),
31
+ name: import_zod.z.string().trim(),
32
+ developerName: import_zod.z.string().trim(),
33
+ state: import_zod.z.nativeEnum(import_am_zshared.AuStateCode),
34
+ country: import_zod.z.string(),
35
+ trustAccountId: import_zod.z.string().nullish(),
36
+ trustAccount: import_zod.z.optional(import_trust_account_res.trustAccountRestResSchema).nullish(),
37
+ createdAt: import_zod.z.string(),
38
+ updatedAt: import_zod.z.string(),
39
+ trustAccountAllocation: import_zod.z.optional(import_project_trust_account_allocation_res.projectTrustAccountAllocationRestResSchema).nullish(),
40
+ status: import_zod.z.nativeEnum(import_project_res_status.ProjectRestResStatus)
41
+ }).strip();
42
+ //# sourceMappingURL=project-res.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project/project-res.schema.ts"],"sourcesContent":["import { AuStateCode } from '@mikemo-coposit/am-zshared';\nimport { z } from 'zod';\nimport { ProjectRestResStatus } from '../../constants/project/project-res-status.constant';\nimport { projectTrustAccountAllocationRestResSchema } from '../project-trust-account-allocation/project-trust-account-allocation-res.schema';\nimport { trustAccountRestResSchema } from '../trust-account/trust-account-res.schema';\n\nexport const projectRestResSchema = z.object({\n id: z.string(),\n name: z.string().trim(),\n developerName: z.string().trim(),\n state: z.nativeEnum(AuStateCode),\n country: z.string(),\n trustAccountId: z.string().nullish(),\n trustAccount: z.optional(trustAccountRestResSchema).nullish(),\n createdAt: z.string(),\n updatedAt: z.string(),\n trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),\n status: z.nativeEnum(ProjectRestResStatus),\n}).strip();\n\nexport type ProjectRestRes = z.infer<typeof projectRestResSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA4B;AAC5B,iBAAkB;AAClB,gCAAqC;AACrC,kDAA2D;AAC3D,+BAA0C;AAEnC,MAAM,uBAAuB,aAAE,OAAO;AAAA,EAC3C,IAAI,aAAE,OAAO;AAAA,EACb,MAAM,aAAE,OAAO,EAAE,KAAK;AAAA,EACtB,eAAe,aAAE,OAAO,EAAE,KAAK;AAAA,EAC/B,OAAO,aAAE,WAAW,6BAAW;AAAA,EAC/B,SAAS,aAAE,OAAO;AAAA,EAClB,gBAAgB,aAAE,OAAO,EAAE,QAAQ;AAAA,EACnC,cAAc,aAAE,SAAS,kDAAyB,EAAE,QAAQ;AAAA,EAC5D,WAAW,aAAE,OAAO;AAAA,EACpB,WAAW,aAAE,OAAO;AAAA,EACpB,wBAAwB,aAAE,SAAS,sFAA0C,EAAE,QAAQ;AAAA,EACvF,QAAQ,aAAE,WAAW,8CAAoB;AAC3C,CAAC,EAAE,MAAM;","names":[]}
@@ -0,0 +1,22 @@
1
+ import { AuStateCode } from "@mikemo-coposit/am-zshared";
2
+ import { z } from "zod";
3
+ import { ProjectRestResStatus } from "../../constants/project/project-res-status.constant";
4
+ import { projectTrustAccountAllocationRestResSchema } from "../project-trust-account-allocation/project-trust-account-allocation-res.schema";
5
+ import { trustAccountRestResSchema } from "../trust-account/trust-account-res.schema";
6
+ const projectRestResSchema = z.object({
7
+ id: z.string(),
8
+ name: z.string().trim(),
9
+ developerName: z.string().trim(),
10
+ state: z.nativeEnum(AuStateCode),
11
+ country: z.string(),
12
+ trustAccountId: z.string().nullish(),
13
+ trustAccount: z.optional(trustAccountRestResSchema).nullish(),
14
+ createdAt: z.string(),
15
+ updatedAt: z.string(),
16
+ trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),
17
+ status: z.nativeEnum(ProjectRestResStatus)
18
+ }).strip();
19
+ export {
20
+ projectRestResSchema
21
+ };
22
+ //# sourceMappingURL=project-res.schema.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project/project-res.schema.ts"],"sourcesContent":["import { AuStateCode } from '@mikemo-coposit/am-zshared';\nimport { z } from 'zod';\nimport { ProjectRestResStatus } from '../../constants/project/project-res-status.constant';\nimport { projectTrustAccountAllocationRestResSchema } from '../project-trust-account-allocation/project-trust-account-allocation-res.schema';\nimport { trustAccountRestResSchema } from '../trust-account/trust-account-res.schema';\n\nexport const projectRestResSchema = z.object({\n id: z.string(),\n name: z.string().trim(),\n developerName: z.string().trim(),\n state: z.nativeEnum(AuStateCode),\n country: z.string(),\n trustAccountId: z.string().nullish(),\n trustAccount: z.optional(trustAccountRestResSchema).nullish(),\n createdAt: z.string(),\n updatedAt: z.string(),\n trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),\n status: z.nativeEnum(ProjectRestResStatus),\n}).strip();\n\nexport type ProjectRestRes = z.infer<typeof projectRestResSchema>;\n"],"mappings":"AAAA,SAAS,mBAAmB;AAC5B,SAAS,SAAS;AAClB,SAAS,4BAA4B;AACrC,SAAS,kDAAkD;AAC3D,SAAS,iCAAiC;AAEnC,MAAM,uBAAuB,EAAE,OAAO;AAAA,EAC3C,IAAI,EAAE,OAAO;AAAA,EACb,MAAM,EAAE,OAAO,EAAE,KAAK;AAAA,EACtB,eAAe,EAAE,OAAO,EAAE,KAAK;AAAA,EAC/B,OAAO,EAAE,WAAW,WAAW;AAAA,EAC/B,SAAS,EAAE,OAAO;AAAA,EAClB,gBAAgB,EAAE,OAAO,EAAE,QAAQ;AAAA,EACnC,cAAc,EAAE,SAAS,yBAAyB,EAAE,QAAQ;AAAA,EAC5D,WAAW,EAAE,OAAO;AAAA,EACpB,WAAW,EAAE,OAAO;AAAA,EACpB,wBAAwB,EAAE,SAAS,0CAA0C,EAAE,QAAQ;AAAA,EACvF,QAAQ,EAAE,WAAW,oBAAoB;AAC3C,CAAC,EAAE,MAAM;","names":[]}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const allocateTrustAccountToProjectRestReqSchema: z.ZodObject<{
4
+ projectId: z.ZodString;
5
+ trustAccountId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ projectId: string;
8
+ trustAccountId: string;
9
+ }, {
10
+ projectId: string;
11
+ trustAccountId: string;
12
+ }>;
13
+ type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;
14
+
15
+ export { type AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema };
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const allocateTrustAccountToProjectRestReqSchema: z.ZodObject<{
4
+ projectId: z.ZodString;
5
+ trustAccountId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ projectId: string;
8
+ trustAccountId: string;
9
+ }, {
10
+ projectId: string;
11
+ trustAccountId: string;
12
+ }>;
13
+ type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;
14
+
15
+ export { type AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var allocate_trust_account_to_project_schema_exports = {};
20
+ __export(allocate_trust_account_to_project_schema_exports, {
21
+ allocateTrustAccountToProjectRestReqSchema: () => allocateTrustAccountToProjectRestReqSchema
22
+ });
23
+ module.exports = __toCommonJS(allocate_trust_account_to_project_schema_exports);
24
+ var import_zod = require("zod");
25
+ const allocateTrustAccountToProjectRestReqSchema = import_zod.z.object({
26
+ projectId: import_zod.z.string().uuid(),
27
+ trustAccountId: import_zod.z.string().uuid()
28
+ });
29
+ //# sourceMappingURL=allocate-trust-account-to-project.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const allocateTrustAccountToProjectRestReqSchema = z.object({\n projectId: z.string().uuid(),\n trustAccountId: z.string().uuid(),\n});\n\nexport type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,MAAM,6CAA6C,aAAE,OAAO;AAAA,EACjE,WAAW,aAAE,OAAO,EAAE,KAAK;AAAA,EAC3B,gBAAgB,aAAE,OAAO,EAAE,KAAK;AAClC,CAAC;","names":[]}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+ const allocateTrustAccountToProjectRestReqSchema = z.object({
3
+ projectId: z.string().uuid(),
4
+ trustAccountId: z.string().uuid()
5
+ });
6
+ export {
7
+ allocateTrustAccountToProjectRestReqSchema
8
+ };
9
+ //# sourceMappingURL=allocate-trust-account-to-project.schema.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const allocateTrustAccountToProjectRestReqSchema = z.object({\n projectId: z.string().uuid(),\n trustAccountId: z.string().uuid(),\n});\n\nexport type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAEX,MAAM,6CAA6C,EAAE,OAAO;AAAA,EACjE,WAAW,EAAE,OAAO,EAAE,KAAK;AAAA,EAC3B,gBAAgB,EAAE,OAAO,EAAE,KAAK;AAClC,CAAC;","names":[]}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const approveTrustAccountAllocationRestReqSchema: z.ZodObject<{
4
+ projectId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ projectId: string;
7
+ }, {
8
+ projectId: string;
9
+ }>;
10
+ type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;
11
+
12
+ export { type ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema };
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const approveTrustAccountAllocationRestReqSchema: z.ZodObject<{
4
+ projectId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ projectId: string;
7
+ }, {
8
+ projectId: string;
9
+ }>;
10
+ type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;
11
+
12
+ export { type ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var approve_trust_account_allocation_schema_exports = {};
20
+ __export(approve_trust_account_allocation_schema_exports, {
21
+ approveTrustAccountAllocationRestReqSchema: () => approveTrustAccountAllocationRestReqSchema
22
+ });
23
+ module.exports = __toCommonJS(approve_trust_account_allocation_schema_exports);
24
+ var import_zod = require("zod");
25
+ const approveTrustAccountAllocationRestReqSchema = import_zod.z.object({
26
+ projectId: import_zod.z.string().uuid()
27
+ });
28
+ //# sourceMappingURL=approve-trust-account-allocation.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const approveTrustAccountAllocationRestReqSchema = z.object({\n projectId: z.string().uuid(),\n});\n\nexport type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,MAAM,6CAA6C,aAAE,OAAO;AAAA,EACjE,WAAW,aAAE,OAAO,EAAE,KAAK;AAC7B,CAAC;","names":[]}
@@ -0,0 +1,8 @@
1
+ import { z } from "zod";
2
+ const approveTrustAccountAllocationRestReqSchema = z.object({
3
+ projectId: z.string().uuid()
4
+ });
5
+ export {
6
+ approveTrustAccountAllocationRestReqSchema
7
+ };
8
+ //# sourceMappingURL=approve-trust-account-allocation.schema.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const approveTrustAccountAllocationRestReqSchema = z.object({\n projectId: z.string().uuid(),\n});\n\nexport type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAEX,MAAM,6CAA6C,EAAE,OAAO;AAAA,EACjE,WAAW,EAAE,OAAO,EAAE,KAAK;AAC7B,CAAC;","names":[]}
@@ -0,0 +1,4 @@
1
+ export { AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema } from './allocate-trust-account-to-project.schema.mjs';
2
+ export { ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema } from './approve-trust-account-allocation.schema.mjs';
3
+ export { ProjectTrustAccountAllocationRestRes, projectTrustAccountAllocationRestResSchema } from './project-trust-account-allocation-res.schema.mjs';
4
+ import 'zod';
@@ -0,0 +1,4 @@
1
+ export { AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema } from './allocate-trust-account-to-project.schema.js';
2
+ export { ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema } from './approve-trust-account-allocation.schema.js';
3
+ export { ProjectTrustAccountAllocationRestRes, projectTrustAccountAllocationRestResSchema } from './project-trust-account-allocation-res.schema.js';
4
+ import 'zod';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var project_trust_account_allocation_exports = {};
17
+ module.exports = __toCommonJS(project_trust_account_allocation_exports);
18
+ __reExport(project_trust_account_allocation_exports, require("./allocate-trust-account-to-project.schema"), module.exports);
19
+ __reExport(project_trust_account_allocation_exports, require("./approve-trust-account-allocation.schema"), module.exports);
20
+ __reExport(project_trust_account_allocation_exports, require("./project-trust-account-allocation-res.schema"), module.exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './allocate-trust-account-to-project.schema';\nexport * from './approve-trust-account-allocation.schema';\nexport * from './project-trust-account-allocation-res.schema';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAEA,qDAAc,uDAFd;AAGA,qDAAc,sDAHd;AAIA,qDAAc,0DAJd;","names":[]}
@@ -0,0 +1,4 @@
1
+ export * from "./allocate-trust-account-to-project.schema";
2
+ export * from "./approve-trust-account-allocation.schema";
3
+ export * from "./project-trust-account-allocation-res.schema";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './allocate-trust-account-to-project.schema';\nexport * from './approve-trust-account-allocation.schema';\nexport * from './project-trust-account-allocation-res.schema';\n"],"mappings":"AAEA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}