@things-factory/accounting 9.0.0-beta.25 → 9.0.0-beta.27

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 (402) hide show
  1. package/package.json +3 -3
  2. package/dist-client/activities/activity-book-edit.d.ts +0 -14
  3. package/dist-client/activities/activity-book-edit.js +0 -85
  4. package/dist-client/activities/activity-book-edit.js.map +0 -1
  5. package/dist-client/activities/activity-book-view.d.ts +0 -14
  6. package/dist-client/activities/activity-book-view.js +0 -85
  7. package/dist-client/activities/activity-book-view.js.map +0 -1
  8. package/dist-client/activities/activity-expense-edit.d.ts +0 -14
  9. package/dist-client/activities/activity-expense-edit.js +0 -85
  10. package/dist-client/activities/activity-expense-edit.js.map +0 -1
  11. package/dist-client/activities/activity-expense-view.d.ts +0 -14
  12. package/dist-client/activities/activity-expense-view.js +0 -85
  13. package/dist-client/activities/activity-expense-view.js.map +0 -1
  14. package/dist-client/bootstrap.d.ts +0 -1
  15. package/dist-client/bootstrap.js +0 -8
  16. package/dist-client/bootstrap.js.map +0 -1
  17. package/dist-client/components/accounting-category-selector.d.ts +0 -16
  18. package/dist-client/components/accounting-category-selector.js +0 -134
  19. package/dist-client/components/accounting-category-selector.js.map +0 -1
  20. package/dist-client/components/accounting-category-view.d.ts +0 -14
  21. package/dist-client/components/accounting-category-view.js +0 -81
  22. package/dist-client/components/accounting-category-view.js.map +0 -1
  23. package/dist-client/grist-editors/grist-editor-accounting-category-object.d.ts +0 -11
  24. package/dist-client/grist-editors/grist-editor-accounting-category-object.js +0 -71
  25. package/dist-client/grist-editors/grist-editor-accounting-category-object.js.map +0 -1
  26. package/dist-client/grist-editors/grist-renderer-accounting-category-object.d.ts +0 -2
  27. package/dist-client/grist-editors/grist-renderer-accounting-category-object.js +0 -9
  28. package/dist-client/grist-editors/grist-renderer-accounting-category-object.js.map +0 -1
  29. package/dist-client/index.d.ts +0 -0
  30. package/dist-client/index.js +0 -2
  31. package/dist-client/index.js.map +0 -1
  32. package/dist-client/pages/account/account-importer.d.ts +0 -22
  33. package/dist-client/pages/account/account-importer.js +0 -100
  34. package/dist-client/pages/account/account-importer.js.map +0 -1
  35. package/dist-client/pages/account/account-list-page.d.ts +0 -63
  36. package/dist-client/pages/account/account-list-page.js +0 -350
  37. package/dist-client/pages/account/account-list-page.js.map +0 -1
  38. package/dist-client/pages/accounting-category/accounting-category-importer.d.ts +0 -22
  39. package/dist-client/pages/accounting-category/accounting-category-importer.js +0 -100
  40. package/dist-client/pages/accounting-category/accounting-category-importer.js.map +0 -1
  41. package/dist-client/pages/accounting-category/accounting-category-list-page.d.ts +0 -63
  42. package/dist-client/pages/accounting-category/accounting-category-list-page.js +0 -354
  43. package/dist-client/pages/accounting-category/accounting-category-list-page.js.map +0 -1
  44. package/dist-client/pages/accounting-category/accounting-category-tree-page.d.ts +0 -46
  45. package/dist-client/pages/accounting-category/accounting-category-tree-page.js +0 -329
  46. package/dist-client/pages/accounting-category/accounting-category-tree-page.js.map +0 -1
  47. package/dist-client/pages/accounting-document/accounting-document-importer.d.ts +0 -23
  48. package/dist-client/pages/accounting-document/accounting-document-importer.js +0 -93
  49. package/dist-client/pages/accounting-document/accounting-document-importer.js.map +0 -1
  50. package/dist-client/pages/accounting-document/accounting-document-list-page.d.ts +0 -66
  51. package/dist-client/pages/accounting-document/accounting-document-list-page.js +0 -370
  52. package/dist-client/pages/accounting-document/accounting-document-list-page.js.map +0 -1
  53. package/dist-client/pages/bank/bank-importer.d.ts +0 -23
  54. package/dist-client/pages/bank/bank-importer.js +0 -93
  55. package/dist-client/pages/bank/bank-importer.js.map +0 -1
  56. package/dist-client/pages/bank/bank-list-page.d.ts +0 -66
  57. package/dist-client/pages/bank/bank-list-page.js +0 -370
  58. package/dist-client/pages/bank/bank-list-page.js.map +0 -1
  59. package/dist-client/pages/bank-account/bank-account-importer.d.ts +0 -23
  60. package/dist-client/pages/bank-account/bank-account-importer.js +0 -93
  61. package/dist-client/pages/bank-account/bank-account-importer.js.map +0 -1
  62. package/dist-client/pages/bank-account/bank-account-list-page.d.ts +0 -66
  63. package/dist-client/pages/bank-account/bank-account-list-page.js +0 -370
  64. package/dist-client/pages/bank-account/bank-account-list-page.js.map +0 -1
  65. package/dist-client/pages/financial-institution/financial-institution-importer.d.ts +0 -23
  66. package/dist-client/pages/financial-institution/financial-institution-importer.js +0 -93
  67. package/dist-client/pages/financial-institution/financial-institution-importer.js.map +0 -1
  68. package/dist-client/pages/financial-institution/financial-institution-list-page.d.ts +0 -66
  69. package/dist-client/pages/financial-institution/financial-institution-list-page.js +0 -370
  70. package/dist-client/pages/financial-institution/financial-institution-list-page.js.map +0 -1
  71. package/dist-client/pages/financial-statement/financial-statement-importer.d.ts +0 -22
  72. package/dist-client/pages/financial-statement/financial-statement-importer.js +0 -100
  73. package/dist-client/pages/financial-statement/financial-statement-importer.js.map +0 -1
  74. package/dist-client/pages/financial-statement/financial-statement-list-page.d.ts +0 -63
  75. package/dist-client/pages/financial-statement/financial-statement-list-page.js +0 -324
  76. package/dist-client/pages/financial-statement/financial-statement-list-page.js.map +0 -1
  77. package/dist-client/pages/fiscal-month/fiscal-month-importer.d.ts +0 -23
  78. package/dist-client/pages/fiscal-month/fiscal-month-importer.js +0 -93
  79. package/dist-client/pages/fiscal-month/fiscal-month-importer.js.map +0 -1
  80. package/dist-client/pages/fiscal-month/fiscal-month-list-page.d.ts +0 -66
  81. package/dist-client/pages/fiscal-month/fiscal-month-list-page.js +0 -370
  82. package/dist-client/pages/fiscal-month/fiscal-month-list-page.js.map +0 -1
  83. package/dist-client/pages/fiscal-quarter/fiscal-quarter-importer.d.ts +0 -23
  84. package/dist-client/pages/fiscal-quarter/fiscal-quarter-importer.js +0 -93
  85. package/dist-client/pages/fiscal-quarter/fiscal-quarter-importer.js.map +0 -1
  86. package/dist-client/pages/fiscal-quarter/fiscal-quarter-list-page.d.ts +0 -66
  87. package/dist-client/pages/fiscal-quarter/fiscal-quarter-list-page.js +0 -370
  88. package/dist-client/pages/fiscal-quarter/fiscal-quarter-list-page.js.map +0 -1
  89. package/dist-client/pages/fiscal-year/fiscal-year-importer.d.ts +0 -23
  90. package/dist-client/pages/fiscal-year/fiscal-year-importer.js +0 -93
  91. package/dist-client/pages/fiscal-year/fiscal-year-importer.js.map +0 -1
  92. package/dist-client/pages/fiscal-year/fiscal-year-list-page.d.ts +0 -66
  93. package/dist-client/pages/fiscal-year/fiscal-year-list-page.js +0 -370
  94. package/dist-client/pages/fiscal-year/fiscal-year-list-page.js.map +0 -1
  95. package/dist-client/pages/income-statement/income-statement-importer.d.ts +0 -22
  96. package/dist-client/pages/income-statement/income-statement-importer.js +0 -100
  97. package/dist-client/pages/income-statement/income-statement-importer.js.map +0 -1
  98. package/dist-client/pages/income-statement/income-statement-list-page.d.ts +0 -63
  99. package/dist-client/pages/income-statement/income-statement-list-page.js +0 -324
  100. package/dist-client/pages/income-statement/income-statement-list-page.js.map +0 -1
  101. package/dist-client/pages/payment/payment-importer.d.ts +0 -23
  102. package/dist-client/pages/payment/payment-importer.js +0 -93
  103. package/dist-client/pages/payment/payment-importer.js.map +0 -1
  104. package/dist-client/pages/payment/payment-list-page.d.ts +0 -66
  105. package/dist-client/pages/payment/payment-list-page.js +0 -370
  106. package/dist-client/pages/payment/payment-list-page.js.map +0 -1
  107. package/dist-client/pages/transaction/transaction-importer.d.ts +0 -22
  108. package/dist-client/pages/transaction/transaction-importer.js +0 -100
  109. package/dist-client/pages/transaction/transaction-importer.js.map +0 -1
  110. package/dist-client/pages/transaction/transaction-list-page.d.ts +0 -63
  111. package/dist-client/pages/transaction/transaction-list-page.js +0 -324
  112. package/dist-client/pages/transaction/transaction-list-page.js.map +0 -1
  113. package/dist-client/route.d.ts +0 -1
  114. package/dist-client/route.js +0 -29
  115. package/dist-client/route.js.map +0 -1
  116. package/dist-client/tsconfig.tsbuildinfo +0 -1
  117. package/dist-client/types/accounting-category.d.ts +0 -16
  118. package/dist-client/types/accounting-category.js +0 -3
  119. package/dist-client/types/accounting-category.js.map +0 -1
  120. package/dist-client/types/index.d.ts +0 -1
  121. package/dist-client/types/index.js +0 -2
  122. package/dist-client/types/index.js.map +0 -1
  123. package/dist-server/activities/activity-book.d.ts +0 -58
  124. package/dist-server/activities/activity-book.js +0 -163
  125. package/dist-server/activities/activity-book.js.map +0 -1
  126. package/dist-server/activities/activity-expense.d.ts +0 -58
  127. package/dist-server/activities/activity-expense.js +0 -150
  128. package/dist-server/activities/activity-expense.js.map +0 -1
  129. package/dist-server/activities/index.d.ts +0 -1
  130. package/dist-server/activities/index.js +0 -19
  131. package/dist-server/activities/index.js.map +0 -1
  132. package/dist-server/controllers/index.d.ts +0 -1
  133. package/dist-server/controllers/index.js +0 -5
  134. package/dist-server/controllers/index.js.map +0 -1
  135. package/dist-server/controllers/summary-statements.d.ts +0 -4
  136. package/dist-server/controllers/summary-statements.js +0 -149
  137. package/dist-server/controllers/summary-statements.js.map +0 -1
  138. package/dist-server/index.d.ts +0 -5
  139. package/dist-server/index.js +0 -9
  140. package/dist-server/index.js.map +0 -1
  141. package/dist-server/middlewares/index.d.ts +0 -1
  142. package/dist-server/middlewares/index.js +0 -7
  143. package/dist-server/middlewares/index.js.map +0 -1
  144. package/dist-server/migrations/1725200507196-seed-fiscal-entities.d.ts +0 -5
  145. package/dist-server/migrations/1725200507196-seed-fiscal-entities.js +0 -95
  146. package/dist-server/migrations/1725200507196-seed-fiscal-entities.js.map +0 -1
  147. package/dist-server/migrations/1725201467183-seed-accounts.d.ts +0 -5
  148. package/dist-server/migrations/1725201467183-seed-accounts.js +0 -318
  149. package/dist-server/migrations/1725201467183-seed-accounts.js.map +0 -1
  150. package/dist-server/migrations/1725201567284-seed-country-codes.d.ts +0 -5
  151. package/dist-server/migrations/1725201567284-seed-country-codes.js +0 -248
  152. package/dist-server/migrations/1725201567284-seed-country-codes.js.map +0 -1
  153. package/dist-server/migrations/1725201667385-seed-financial-institutions.d.ts +0 -5
  154. package/dist-server/migrations/1725201667385-seed-financial-institutions.js +0 -348
  155. package/dist-server/migrations/1725201667385-seed-financial-institutions.js.map +0 -1
  156. package/dist-server/migrations/index.d.ts +0 -1
  157. package/dist-server/migrations/index.js +0 -12
  158. package/dist-server/migrations/index.js.map +0 -1
  159. package/dist-server/routes.d.ts +0 -0
  160. package/dist-server/routes.js +0 -24
  161. package/dist-server/routes.js.map +0 -1
  162. package/dist-server/service/account/account-history.d.ts +0 -26
  163. package/dist-server/service/account/account-history.js +0 -128
  164. package/dist-server/service/account/account-history.js.map +0 -1
  165. package/dist-server/service/account/account-mutation.d.ts +0 -10
  166. package/dist-server/service/account/account-mutation.js +0 -134
  167. package/dist-server/service/account/account-mutation.js.map +0 -1
  168. package/dist-server/service/account/account-query.d.ts +0 -11
  169. package/dist-server/service/account/account-query.js +0 -81
  170. package/dist-server/service/account/account-query.js.map +0 -1
  171. package/dist-server/service/account/account-type.d.ts +0 -17
  172. package/dist-server/service/account/account-type.js +0 -65
  173. package/dist-server/service/account/account-type.js.map +0 -1
  174. package/dist-server/service/account/account.d.ts +0 -22
  175. package/dist-server/service/account/account.js +0 -113
  176. package/dist-server/service/account/account.js.map +0 -1
  177. package/dist-server/service/account/event-subscriber.d.ts +0 -7
  178. package/dist-server/service/account/event-subscriber.js +0 -21
  179. package/dist-server/service/account/event-subscriber.js.map +0 -1
  180. package/dist-server/service/account/index.d.ts +0 -7
  181. package/dist-server/service/account/index.js +0 -12
  182. package/dist-server/service/account/index.js.map +0 -1
  183. package/dist-server/service/accounting-category/accounting-category-history.d.ts +0 -26
  184. package/dist-server/service/accounting-category/accounting-category-history.js +0 -141
  185. package/dist-server/service/accounting-category/accounting-category-history.js.map +0 -1
  186. package/dist-server/service/accounting-category/accounting-category-mutation.d.ts +0 -10
  187. package/dist-server/service/accounting-category/accounting-category-mutation.js +0 -136
  188. package/dist-server/service/accounting-category/accounting-category-mutation.js.map +0 -1
  189. package/dist-server/service/accounting-category/accounting-category-query.d.ts +0 -12
  190. package/dist-server/service/accounting-category/accounting-category-query.js +0 -102
  191. package/dist-server/service/accounting-category/accounting-category-query.js.map +0 -1
  192. package/dist-server/service/accounting-category/accounting-category-type.d.ts +0 -19
  193. package/dist-server/service/accounting-category/accounting-category-type.js +0 -73
  194. package/dist-server/service/accounting-category/accounting-category-type.js.map +0 -1
  195. package/dist-server/service/accounting-category/accounting-category.d.ts +0 -21
  196. package/dist-server/service/accounting-category/accounting-category.js +0 -105
  197. package/dist-server/service/accounting-category/accounting-category.js.map +0 -1
  198. package/dist-server/service/accounting-category/event-subscriber.d.ts +0 -7
  199. package/dist-server/service/accounting-category/event-subscriber.js +0 -21
  200. package/dist-server/service/accounting-category/event-subscriber.js.map +0 -1
  201. package/dist-server/service/accounting-category/index.d.ts +0 -7
  202. package/dist-server/service/accounting-category/index.js +0 -12
  203. package/dist-server/service/accounting-category/index.js.map +0 -1
  204. package/dist-server/service/accounting-document/accounting-document-history.d.ts +0 -26
  205. package/dist-server/service/accounting-document/accounting-document-history.js +0 -134
  206. package/dist-server/service/accounting-document/accounting-document-history.js.map +0 -1
  207. package/dist-server/service/accounting-document/accounting-document-mutation.d.ts +0 -10
  208. package/dist-server/service/accounting-document/accounting-document-mutation.js +0 -128
  209. package/dist-server/service/accounting-document/accounting-document-mutation.js.map +0 -1
  210. package/dist-server/service/accounting-document/accounting-document-query.d.ts +0 -11
  211. package/dist-server/service/accounting-document/accounting-document-query.js +0 -79
  212. package/dist-server/service/accounting-document/accounting-document-query.js.map +0 -1
  213. package/dist-server/service/accounting-document/accounting-document-type.d.ts +0 -20
  214. package/dist-server/service/accounting-document/accounting-document-type.js +0 -74
  215. package/dist-server/service/accounting-document/accounting-document-type.js.map +0 -1
  216. package/dist-server/service/accounting-document/accounting-document.d.ts +0 -21
  217. package/dist-server/service/accounting-document/accounting-document.js +0 -104
  218. package/dist-server/service/accounting-document/accounting-document.js.map +0 -1
  219. package/dist-server/service/accounting-document/event-subscriber.d.ts +0 -7
  220. package/dist-server/service/accounting-document/event-subscriber.js +0 -21
  221. package/dist-server/service/accounting-document/event-subscriber.js.map +0 -1
  222. package/dist-server/service/accounting-document/index.d.ts +0 -7
  223. package/dist-server/service/accounting-document/index.js +0 -12
  224. package/dist-server/service/accounting-document/index.js.map +0 -1
  225. package/dist-server/service/bank-account/bank-account-history.d.ts +0 -34
  226. package/dist-server/service/bank-account/bank-account-history.js +0 -172
  227. package/dist-server/service/bank-account/bank-account-history.js.map +0 -1
  228. package/dist-server/service/bank-account/bank-account-mutation.d.ts +0 -10
  229. package/dist-server/service/bank-account/bank-account-mutation.js +0 -128
  230. package/dist-server/service/bank-account/bank-account-mutation.js.map +0 -1
  231. package/dist-server/service/bank-account/bank-account-query.d.ts +0 -11
  232. package/dist-server/service/bank-account/bank-account-query.js +0 -79
  233. package/dist-server/service/bank-account/bank-account-query.js.map +0 -1
  234. package/dist-server/service/bank-account/bank-account-type.d.ts +0 -39
  235. package/dist-server/service/bank-account/bank-account-type.js +0 -153
  236. package/dist-server/service/bank-account/bank-account-type.js.map +0 -1
  237. package/dist-server/service/bank-account/bank-account.d.ts +0 -38
  238. package/dist-server/service/bank-account/bank-account.js +0 -164
  239. package/dist-server/service/bank-account/bank-account.js.map +0 -1
  240. package/dist-server/service/bank-account/event-subscriber.d.ts +0 -7
  241. package/dist-server/service/bank-account/event-subscriber.js +0 -21
  242. package/dist-server/service/bank-account/event-subscriber.js.map +0 -1
  243. package/dist-server/service/bank-account/index.d.ts +0 -7
  244. package/dist-server/service/bank-account/index.js +0 -12
  245. package/dist-server/service/bank-account/index.js.map +0 -1
  246. package/dist-server/service/common-type.d.ts +0 -5
  247. package/dist-server/service/common-type.js +0 -15
  248. package/dist-server/service/common-type.js.map +0 -1
  249. package/dist-server/service/financial-institution/financial-institution-mutation.d.ts +0 -10
  250. package/dist-server/service/financial-institution/financial-institution-mutation.js +0 -169
  251. package/dist-server/service/financial-institution/financial-institution-mutation.js.map +0 -1
  252. package/dist-server/service/financial-institution/financial-institution-query.d.ts +0 -12
  253. package/dist-server/service/financial-institution/financial-institution-query.js +0 -97
  254. package/dist-server/service/financial-institution/financial-institution-query.js.map +0 -1
  255. package/dist-server/service/financial-institution/financial-institution-type.d.ts +0 -32
  256. package/dist-server/service/financial-institution/financial-institution-type.js +0 -126
  257. package/dist-server/service/financial-institution/financial-institution-type.js.map +0 -1
  258. package/dist-server/service/financial-institution/financial-institution.d.ts +0 -34
  259. package/dist-server/service/financial-institution/financial-institution.js +0 -137
  260. package/dist-server/service/financial-institution/financial-institution.js.map +0 -1
  261. package/dist-server/service/financial-institution/index.d.ts +0 -6
  262. package/dist-server/service/financial-institution/index.js +0 -10
  263. package/dist-server/service/financial-institution/index.js.map +0 -1
  264. package/dist-server/service/financial-statement/event-subscriber.d.ts +0 -7
  265. package/dist-server/service/financial-statement/event-subscriber.js +0 -21
  266. package/dist-server/service/financial-statement/event-subscriber.js.map +0 -1
  267. package/dist-server/service/financial-statement/financial-statement-history.d.ts +0 -27
  268. package/dist-server/service/financial-statement/financial-statement-history.js +0 -141
  269. package/dist-server/service/financial-statement/financial-statement-history.js.map +0 -1
  270. package/dist-server/service/financial-statement/financial-statement-line-item.d.ts +0 -19
  271. package/dist-server/service/financial-statement/financial-statement-line-item.js +0 -94
  272. package/dist-server/service/financial-statement/financial-statement-line-item.js.map +0 -1
  273. package/dist-server/service/financial-statement/financial-statement-mutation.d.ts +0 -10
  274. package/dist-server/service/financial-statement/financial-statement-mutation.js +0 -136
  275. package/dist-server/service/financial-statement/financial-statement-mutation.js.map +0 -1
  276. package/dist-server/service/financial-statement/financial-statement-query.d.ts +0 -11
  277. package/dist-server/service/financial-statement/financial-statement-query.js +0 -81
  278. package/dist-server/service/financial-statement/financial-statement-query.js.map +0 -1
  279. package/dist-server/service/financial-statement/financial-statement-type.d.ts +0 -20
  280. package/dist-server/service/financial-statement/financial-statement-type.js +0 -77
  281. package/dist-server/service/financial-statement/financial-statement-type.js.map +0 -1
  282. package/dist-server/service/financial-statement/financial-statement.d.ts +0 -27
  283. package/dist-server/service/financial-statement/financial-statement.js +0 -132
  284. package/dist-server/service/financial-statement/financial-statement.js.map +0 -1
  285. package/dist-server/service/financial-statement/index.d.ts +0 -8
  286. package/dist-server/service/financial-statement/index.js +0 -13
  287. package/dist-server/service/financial-statement/index.js.map +0 -1
  288. package/dist-server/service/fiscal-month/fiscal-month-mutation.d.ts +0 -10
  289. package/dist-server/service/fiscal-month/fiscal-month-mutation.js +0 -134
  290. package/dist-server/service/fiscal-month/fiscal-month-mutation.js.map +0 -1
  291. package/dist-server/service/fiscal-month/fiscal-month-query.d.ts +0 -11
  292. package/dist-server/service/fiscal-month/fiscal-month-query.js +0 -83
  293. package/dist-server/service/fiscal-month/fiscal-month-query.js.map +0 -1
  294. package/dist-server/service/fiscal-month/fiscal-month-type.d.ts +0 -26
  295. package/dist-server/service/fiscal-month/fiscal-month-type.js +0 -98
  296. package/dist-server/service/fiscal-month/fiscal-month-type.js.map +0 -1
  297. package/dist-server/service/fiscal-month/fiscal-month.d.ts +0 -22
  298. package/dist-server/service/fiscal-month/fiscal-month.js +0 -99
  299. package/dist-server/service/fiscal-month/fiscal-month.js.map +0 -1
  300. package/dist-server/service/fiscal-month/index.d.ts +0 -6
  301. package/dist-server/service/fiscal-month/index.js +0 -10
  302. package/dist-server/service/fiscal-month/index.js.map +0 -1
  303. package/dist-server/service/fiscal-quarter/fiscal-quarter-mutation.d.ts +0 -10
  304. package/dist-server/service/fiscal-quarter/fiscal-quarter-mutation.js +0 -134
  305. package/dist-server/service/fiscal-quarter/fiscal-quarter-mutation.js.map +0 -1
  306. package/dist-server/service/fiscal-quarter/fiscal-quarter-query.d.ts +0 -11
  307. package/dist-server/service/fiscal-quarter/fiscal-quarter-query.js +0 -85
  308. package/dist-server/service/fiscal-quarter/fiscal-quarter-query.js.map +0 -1
  309. package/dist-server/service/fiscal-quarter/fiscal-quarter-type.d.ts +0 -24
  310. package/dist-server/service/fiscal-quarter/fiscal-quarter-type.js +0 -90
  311. package/dist-server/service/fiscal-quarter/fiscal-quarter-type.js.map +0 -1
  312. package/dist-server/service/fiscal-quarter/fiscal-quarter.d.ts +0 -21
  313. package/dist-server/service/fiscal-quarter/fiscal-quarter.js +0 -94
  314. package/dist-server/service/fiscal-quarter/fiscal-quarter.js.map +0 -1
  315. package/dist-server/service/fiscal-quarter/index.d.ts +0 -6
  316. package/dist-server/service/fiscal-quarter/index.js +0 -10
  317. package/dist-server/service/fiscal-quarter/index.js.map +0 -1
  318. package/dist-server/service/fiscal-year/fiscal-year-mutation.d.ts +0 -10
  319. package/dist-server/service/fiscal-year/fiscal-year-mutation.js +0 -134
  320. package/dist-server/service/fiscal-year/fiscal-year-mutation.js.map +0 -1
  321. package/dist-server/service/fiscal-year/fiscal-year-query.d.ts +0 -11
  322. package/dist-server/service/fiscal-year/fiscal-year-query.js +0 -81
  323. package/dist-server/service/fiscal-year/fiscal-year-query.js.map +0 -1
  324. package/dist-server/service/fiscal-year/fiscal-year-type.d.ts +0 -22
  325. package/dist-server/service/fiscal-year/fiscal-year-type.js +0 -82
  326. package/dist-server/service/fiscal-year/fiscal-year-type.js.map +0 -1
  327. package/dist-server/service/fiscal-year/fiscal-year.d.ts +0 -20
  328. package/dist-server/service/fiscal-year/fiscal-year.js +0 -89
  329. package/dist-server/service/fiscal-year/fiscal-year.js.map +0 -1
  330. package/dist-server/service/fiscal-year/index.d.ts +0 -6
  331. package/dist-server/service/fiscal-year/index.js +0 -10
  332. package/dist-server/service/fiscal-year/index.js.map +0 -1
  333. package/dist-server/service/income-statement/event-subscriber.d.ts +0 -7
  334. package/dist-server/service/income-statement/event-subscriber.js +0 -21
  335. package/dist-server/service/income-statement/event-subscriber.js.map +0 -1
  336. package/dist-server/service/income-statement/income-statement-history.d.ts +0 -28
  337. package/dist-server/service/income-statement/income-statement-history.js +0 -146
  338. package/dist-server/service/income-statement/income-statement-history.js.map +0 -1
  339. package/dist-server/service/income-statement/income-statement-line-item.d.ts +0 -19
  340. package/dist-server/service/income-statement/income-statement-line-item.js +0 -96
  341. package/dist-server/service/income-statement/income-statement-line-item.js.map +0 -1
  342. package/dist-server/service/income-statement/income-statement-mutation.d.ts +0 -10
  343. package/dist-server/service/income-statement/income-statement-mutation.js +0 -136
  344. package/dist-server/service/income-statement/income-statement-mutation.js.map +0 -1
  345. package/dist-server/service/income-statement/income-statement-query.d.ts +0 -11
  346. package/dist-server/service/income-statement/income-statement-query.js +0 -81
  347. package/dist-server/service/income-statement/income-statement-query.js.map +0 -1
  348. package/dist-server/service/income-statement/income-statement-type.d.ts +0 -20
  349. package/dist-server/service/income-statement/income-statement-type.js +0 -77
  350. package/dist-server/service/income-statement/income-statement-type.js.map +0 -1
  351. package/dist-server/service/income-statement/income-statement.d.ts +0 -28
  352. package/dist-server/service/income-statement/income-statement.js +0 -137
  353. package/dist-server/service/income-statement/income-statement.js.map +0 -1
  354. package/dist-server/service/income-statement/index.d.ts +0 -8
  355. package/dist-server/service/income-statement/index.js +0 -13
  356. package/dist-server/service/income-statement/index.js.map +0 -1
  357. package/dist-server/service/index.d.ts +0 -16
  358. package/dist-server/service/index.js +0 -74
  359. package/dist-server/service/index.js.map +0 -1
  360. package/dist-server/service/payment/event-subscriber.d.ts +0 -7
  361. package/dist-server/service/payment/event-subscriber.js +0 -21
  362. package/dist-server/service/payment/event-subscriber.js.map +0 -1
  363. package/dist-server/service/payment/index.d.ts +0 -7
  364. package/dist-server/service/payment/index.js +0 -12
  365. package/dist-server/service/payment/index.js.map +0 -1
  366. package/dist-server/service/payment/payment-history.d.ts +0 -37
  367. package/dist-server/service/payment/payment-history.js +0 -179
  368. package/dist-server/service/payment/payment-history.js.map +0 -1
  369. package/dist-server/service/payment/payment-mutation.d.ts +0 -10
  370. package/dist-server/service/payment/payment-mutation.js +0 -134
  371. package/dist-server/service/payment/payment-mutation.js.map +0 -1
  372. package/dist-server/service/payment/payment-query.d.ts +0 -11
  373. package/dist-server/service/payment/payment-query.js +0 -81
  374. package/dist-server/service/payment/payment-query.js.map +0 -1
  375. package/dist-server/service/payment/payment-type.d.ts +0 -30
  376. package/dist-server/service/payment/payment-type.js +0 -114
  377. package/dist-server/service/payment/payment-type.js.map +0 -1
  378. package/dist-server/service/payment/payment.d.ts +0 -42
  379. package/dist-server/service/payment/payment.js +0 -181
  380. package/dist-server/service/payment/payment.js.map +0 -1
  381. package/dist-server/service/transaction/event-subscriber.d.ts +0 -7
  382. package/dist-server/service/transaction/event-subscriber.js +0 -21
  383. package/dist-server/service/transaction/event-subscriber.js.map +0 -1
  384. package/dist-server/service/transaction/index.d.ts +0 -8
  385. package/dist-server/service/transaction/index.js +0 -12
  386. package/dist-server/service/transaction/index.js.map +0 -1
  387. package/dist-server/service/transaction/transaction-history.d.ts +0 -36
  388. package/dist-server/service/transaction/transaction-history.js +0 -184
  389. package/dist-server/service/transaction/transaction-history.js.map +0 -1
  390. package/dist-server/service/transaction/transaction-mutation.d.ts +0 -10
  391. package/dist-server/service/transaction/transaction-mutation.js +0 -134
  392. package/dist-server/service/transaction/transaction-mutation.js.map +0 -1
  393. package/dist-server/service/transaction/transaction-query.d.ts +0 -11
  394. package/dist-server/service/transaction/transaction-query.js +0 -81
  395. package/dist-server/service/transaction/transaction-query.js.map +0 -1
  396. package/dist-server/service/transaction/transaction-type.d.ts +0 -19
  397. package/dist-server/service/transaction/transaction-type.js +0 -73
  398. package/dist-server/service/transaction/transaction-type.js.map +0 -1
  399. package/dist-server/service/transaction/transaction.d.ts +0 -57
  400. package/dist-server/service/transaction/transaction.js +0 -241
  401. package/dist-server/service/transaction/transaction.js.map +0 -1
  402. package/dist-server/tsconfig.tsbuildinfo +0 -1
@@ -1,20 +0,0 @@
1
- import { ObjectRef } from '@things-factory/shell';
2
- import { AccountingDocument } from './accounting-document';
3
- export declare class NewAccountingDocument {
4
- transaction: ObjectRef;
5
- documentType: string;
6
- documentUrl: string;
7
- description?: string;
8
- }
9
- export declare class AccountingDocumentPatch {
10
- id?: string;
11
- transaction: ObjectRef;
12
- documentType: string;
13
- documentUrl: string;
14
- description?: string;
15
- cuFlag?: string;
16
- }
17
- export declare class AccountingDocumentList {
18
- items: AccountingDocument[];
19
- total: number;
20
- }
@@ -1,74 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingDocumentList = exports.AccountingDocumentPatch = exports.NewAccountingDocument = void 0;
4
- const tslib_1 = require("tslib");
5
- const type_graphql_1 = require("type-graphql");
6
- const shell_1 = require("@things-factory/shell");
7
- const accounting_document_1 = require("./accounting-document");
8
- let NewAccountingDocument = class NewAccountingDocument {
9
- };
10
- exports.NewAccountingDocument = NewAccountingDocument;
11
- tslib_1.__decorate([
12
- (0, type_graphql_1.Field)(type => shell_1.ObjectRef),
13
- tslib_1.__metadata("design:type", shell_1.ObjectRef)
14
- ], NewAccountingDocument.prototype, "transaction", void 0);
15
- tslib_1.__decorate([
16
- (0, type_graphql_1.Field)({ nullable: false }),
17
- tslib_1.__metadata("design:type", String)
18
- ], NewAccountingDocument.prototype, "documentType", void 0);
19
- tslib_1.__decorate([
20
- (0, type_graphql_1.Field)({ nullable: false }),
21
- tslib_1.__metadata("design:type", String)
22
- ], NewAccountingDocument.prototype, "documentUrl", void 0);
23
- tslib_1.__decorate([
24
- (0, type_graphql_1.Field)({ nullable: true }),
25
- tslib_1.__metadata("design:type", String)
26
- ], NewAccountingDocument.prototype, "description", void 0);
27
- exports.NewAccountingDocument = NewAccountingDocument = tslib_1.__decorate([
28
- (0, type_graphql_1.InputType)()
29
- ], NewAccountingDocument);
30
- let AccountingDocumentPatch = class AccountingDocumentPatch {
31
- };
32
- exports.AccountingDocumentPatch = AccountingDocumentPatch;
33
- tslib_1.__decorate([
34
- (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
35
- tslib_1.__metadata("design:type", String)
36
- ], AccountingDocumentPatch.prototype, "id", void 0);
37
- tslib_1.__decorate([
38
- (0, type_graphql_1.Field)(type => shell_1.ObjectRef),
39
- tslib_1.__metadata("design:type", shell_1.ObjectRef)
40
- ], AccountingDocumentPatch.prototype, "transaction", void 0);
41
- tslib_1.__decorate([
42
- (0, type_graphql_1.Field)({ nullable: false }),
43
- tslib_1.__metadata("design:type", String)
44
- ], AccountingDocumentPatch.prototype, "documentType", void 0);
45
- tslib_1.__decorate([
46
- (0, type_graphql_1.Field)({ nullable: false }),
47
- tslib_1.__metadata("design:type", String)
48
- ], AccountingDocumentPatch.prototype, "documentUrl", void 0);
49
- tslib_1.__decorate([
50
- (0, type_graphql_1.Field)({ nullable: true }),
51
- tslib_1.__metadata("design:type", String)
52
- ], AccountingDocumentPatch.prototype, "description", void 0);
53
- tslib_1.__decorate([
54
- (0, type_graphql_1.Field)({ nullable: true }),
55
- tslib_1.__metadata("design:type", String)
56
- ], AccountingDocumentPatch.prototype, "cuFlag", void 0);
57
- exports.AccountingDocumentPatch = AccountingDocumentPatch = tslib_1.__decorate([
58
- (0, type_graphql_1.InputType)()
59
- ], AccountingDocumentPatch);
60
- let AccountingDocumentList = class AccountingDocumentList {
61
- };
62
- exports.AccountingDocumentList = AccountingDocumentList;
63
- tslib_1.__decorate([
64
- (0, type_graphql_1.Field)(type => [accounting_document_1.AccountingDocument]),
65
- tslib_1.__metadata("design:type", Array)
66
- ], AccountingDocumentList.prototype, "items", void 0);
67
- tslib_1.__decorate([
68
- (0, type_graphql_1.Field)(type => type_graphql_1.Int),
69
- tslib_1.__metadata("design:type", Number)
70
- ], AccountingDocumentList.prototype, "total", void 0);
71
- exports.AccountingDocumentList = AccountingDocumentList = tslib_1.__decorate([
72
- (0, type_graphql_1.ObjectType)()
73
- ], AccountingDocumentList);
74
- //# sourceMappingURL=accounting-document-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accounting-document-type.js","sourceRoot":"","sources":["../../../server/service/accounting-document/accounting-document-type.ts"],"names":[],"mappings":";;;;AAEA,+CAAsF;AAEtF,iDAA+D;AAE/D,+DAA0D;AAGnD,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAYjC,CAAA;AAZY,sDAAqB;AAEhC;IADC,IAAA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;qDACN;iCALF,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAMlC","sourcesContent":["import type { FileUpload } from 'graphql-upload/GraphQLUpload.js'\nimport GraphQLUpload from 'graphql-upload/GraphQLUpload.js'\nimport { ObjectType, Field, InputType, Int, ID, registerEnumType } from 'type-graphql'\n\nimport { ObjectRef, ScalarObject } from '@things-factory/shell'\n\nimport { AccountingDocument } from './accounting-document'\n\n@InputType()\nexport class NewAccountingDocument {\n @Field(type => ObjectRef)\n transaction: ObjectRef\n\n @Field({ nullable: false })\n documentType: string // 문서의 유형 (예: 계약서, 인보이스 등)\n\n @Field({ nullable: false })\n documentUrl: string // 문서의 URL 또는 파일 경로\n\n @Field({ nullable: true })\n description?: string // 문서에 대한 설명\n}\n\n@InputType()\nexport class AccountingDocumentPatch {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field(type => ObjectRef)\n transaction: ObjectRef\n\n @Field({ nullable: false })\n documentType: string // 문서의 유형 (예: 계약서, 인보이스 등)\n\n @Field({ nullable: false })\n documentUrl: string // 문서의 URL 또는 파일 경로\n\n @Field({ nullable: true })\n description?: string // 문서에 대한 설명\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@ObjectType()\nexport class AccountingDocumentList {\n @Field(type => [AccountingDocument])\n items: AccountingDocument[]\n\n @Field(type => Int)\n total: number\n}\n"]}
@@ -1,21 +0,0 @@
1
- import { Domain } from '@things-factory/shell';
2
- import { User } from '@things-factory/auth-base';
3
- import { Transaction } from '../transaction/transaction';
4
- export declare class AccountingDocument {
5
- readonly id: string;
6
- version?: number;
7
- domain?: Domain;
8
- domainId?: string;
9
- transaction: Transaction;
10
- transactionId: string;
11
- documentType: string;
12
- documentUrl: string;
13
- description?: string;
14
- createdAt?: Date;
15
- updatedAt?: Date;
16
- deletedAt?: Date;
17
- creator?: User;
18
- creatorId?: string;
19
- updater?: User;
20
- updaterId?: string;
21
- }
@@ -1,104 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingDocument = void 0;
4
- const tslib_1 = require("tslib");
5
- const typeorm_1 = require("typeorm");
6
- const type_graphql_1 = require("type-graphql");
7
- const shell_1 = require("@things-factory/shell");
8
- const auth_base_1 = require("@things-factory/auth-base");
9
- const transaction_1 = require("../transaction/transaction");
10
- let AccountingDocument = class AccountingDocument {
11
- constructor() {
12
- this.version = 1;
13
- }
14
- };
15
- exports.AccountingDocument = AccountingDocument;
16
- tslib_1.__decorate([
17
- (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
18
- (0, type_graphql_1.Field)(type => type_graphql_1.ID),
19
- tslib_1.__metadata("design:type", String)
20
- ], AccountingDocument.prototype, "id", void 0);
21
- tslib_1.__decorate([
22
- (0, typeorm_1.VersionColumn)(),
23
- (0, type_graphql_1.Field)({ nullable: true }),
24
- tslib_1.__metadata("design:type", Number)
25
- ], AccountingDocument.prototype, "version", void 0);
26
- tslib_1.__decorate([
27
- (0, typeorm_1.ManyToOne)(type => shell_1.Domain),
28
- (0, type_graphql_1.Field)({ nullable: true }),
29
- tslib_1.__metadata("design:type", shell_1.Domain)
30
- ], AccountingDocument.prototype, "domain", void 0);
31
- tslib_1.__decorate([
32
- (0, typeorm_1.RelationId)((accountingDocument) => accountingDocument.domain),
33
- tslib_1.__metadata("design:type", String)
34
- ], AccountingDocument.prototype, "domainId", void 0);
35
- tslib_1.__decorate([
36
- (0, typeorm_1.ManyToOne)(type => transaction_1.Transaction, transaction => transaction.documents),
37
- (0, type_graphql_1.Field)(type => transaction_1.Transaction),
38
- tslib_1.__metadata("design:type", transaction_1.Transaction)
39
- ], AccountingDocument.prototype, "transaction", void 0);
40
- tslib_1.__decorate([
41
- (0, typeorm_1.RelationId)((accountingDocument) => accountingDocument.transaction),
42
- tslib_1.__metadata("design:type", String)
43
- ], AccountingDocument.prototype, "transactionId", void 0);
44
- tslib_1.__decorate([
45
- (0, typeorm_1.Column)(),
46
- (0, type_graphql_1.Field)({ nullable: false }),
47
- tslib_1.__metadata("design:type", String)
48
- ], AccountingDocument.prototype, "documentType", void 0);
49
- tslib_1.__decorate([
50
- (0, typeorm_1.Column)(),
51
- (0, type_graphql_1.Field)({ nullable: false }),
52
- tslib_1.__metadata("design:type", String)
53
- ], AccountingDocument.prototype, "documentUrl", void 0);
54
- tslib_1.__decorate([
55
- (0, typeorm_1.Column)({ nullable: true }),
56
- (0, type_graphql_1.Field)({ nullable: true }),
57
- tslib_1.__metadata("design:type", String)
58
- ], AccountingDocument.prototype, "description", void 0);
59
- tslib_1.__decorate([
60
- (0, typeorm_1.CreateDateColumn)(),
61
- (0, type_graphql_1.Field)({ nullable: true }),
62
- tslib_1.__metadata("design:type", Date)
63
- ], AccountingDocument.prototype, "createdAt", void 0);
64
- tslib_1.__decorate([
65
- (0, typeorm_1.UpdateDateColumn)(),
66
- (0, type_graphql_1.Field)({ nullable: true }),
67
- tslib_1.__metadata("design:type", Date)
68
- ], AccountingDocument.prototype, "updatedAt", void 0);
69
- tslib_1.__decorate([
70
- (0, typeorm_1.DeleteDateColumn)(),
71
- (0, type_graphql_1.Field)({ nullable: true }),
72
- tslib_1.__metadata("design:type", Date)
73
- ], AccountingDocument.prototype, "deletedAt", void 0);
74
- tslib_1.__decorate([
75
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
76
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
77
- tslib_1.__metadata("design:type", auth_base_1.User)
78
- ], AccountingDocument.prototype, "creator", void 0);
79
- tslib_1.__decorate([
80
- (0, typeorm_1.RelationId)((accountingDocument) => accountingDocument.creator),
81
- tslib_1.__metadata("design:type", String)
82
- ], AccountingDocument.prototype, "creatorId", void 0);
83
- tslib_1.__decorate([
84
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
85
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
86
- tslib_1.__metadata("design:type", auth_base_1.User)
87
- ], AccountingDocument.prototype, "updater", void 0);
88
- tslib_1.__decorate([
89
- (0, typeorm_1.RelationId)((accountingDocument) => accountingDocument.updater),
90
- tslib_1.__metadata("design:type", String)
91
- ], AccountingDocument.prototype, "updaterId", void 0);
92
- exports.AccountingDocument = AccountingDocument = tslib_1.__decorate([
93
- (0, type_graphql_1.ObjectType)({ description: 'Entity for AccountingDocument' }),
94
- (0, typeorm_1.Entity)(),
95
- (0, typeorm_1.Index)('ix_accounting_document_0', (accountingDocument) => [
96
- accountingDocument.domain,
97
- accountingDocument.transaction,
98
- accountingDocument.createdAt
99
- ], {
100
- unique: false,
101
- where: '"deleted_at" IS NULL'
102
- })
103
- ], AccountingDocument);
104
- //# sourceMappingURL=accounting-document.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accounting-document.js","sourceRoot":"","sources":["../../../server/service/accounting-document/accounting-document.ts"],"names":[],"mappings":";;;;AAAA,qCAWgB;AAChB,+CAAoD;AAEpD,iDAA8C;AAC9C,yDAAgD;AAChD,4DAAwD;AAgBjD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QAOL,YAAO,GAAY,CAAC,CAAA;IAqDtB,CAAC;CAAA,CAAA;AA5DY,gDAAkB;AAGpB;IAFR,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;8CACC;AAInB;IAFC,IAAA,uBAAa,GAAE;IACf,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACN;AAIpB;IAFC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACjB,cAAM;kDAAA;AAGf;IADC,IAAA,oBAAU,EAAC,CAAC,kBAAsC,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;;oDACjE;AAIjB;IAFC,IAAA,mBAAS,EA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C,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC;;qDACjE;AAIlB;IAFC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC3C,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCAC9B,gBAAI;mDAAA;AAGd;IADC,IAAA,oBAAU,EAAC,CAAC,kBAAsC,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC;;qDACjE;6BA3DP,kBAAkB;IAd9B,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC5D,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EACJ,0BAA0B,EAC1B,CAAC,kBAAsC,EAAE,EAAE,CAAC;QAC1C,kBAAkB,CAAC,MAAM;QACzB,kBAAkB,CAAC,WAAW;QAC9B,kBAAkB,CAAC,SAAS;KAC7B,EACD;QACE,MAAM,EAAE,KAAK;QACb,KAAK,EAAE,sBAAsB;KAC9B,CACF;GACY,kBAAkB,CA4D9B","sourcesContent":["import {\n CreateDateColumn,\n UpdateDateColumn,\n DeleteDateColumn,\n Entity,\n Index,\n Column,\n ManyToOne,\n PrimaryGeneratedColumn,\n RelationId,\n VersionColumn\n} from 'typeorm'\nimport { ObjectType, Field, ID } from 'type-graphql'\n\nimport { Domain } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\nimport { Transaction } from '../transaction/transaction'\n\n@ObjectType({ description: 'Entity for AccountingDocument' })\n@Entity()\n@Index(\n 'ix_accounting_document_0',\n (accountingDocument: AccountingDocument) => [\n accountingDocument.domain,\n accountingDocument.transaction,\n accountingDocument.createdAt\n ],\n {\n unique: false,\n where: '\"deleted_at\" IS NULL'\n }\n)\nexport class AccountingDocument {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @VersionColumn()\n @Field({ nullable: true })\n version?: number = 1\n\n @ManyToOne(type => Domain)\n @Field({ nullable: true })\n domain?: Domain\n\n @RelationId((accountingDocument: AccountingDocument) => accountingDocument.domain)\n domainId?: string\n\n @ManyToOne(type => Transaction, transaction => transaction.documents)\n @Field(type => Transaction)\n transaction: Transaction\n\n @RelationId((accountingDocument: AccountingDocument) => accountingDocument.transaction)\n transactionId: string\n\n @Column()\n @Field({ nullable: false })\n documentType: string // 문서의 유형 (예: 계약서, 인보이스 등)\n\n @Column()\n @Field({ nullable: false })\n documentUrl: string // 문서의 URL 또는 파일 경로\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n description?: string // 문서에 대한 설명\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @DeleteDateColumn()\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((accountingDocument: AccountingDocument) => accountingDocument.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((accountingDocument: AccountingDocument) => accountingDocument.updater)\n updaterId?: string\n}\n"]}
@@ -1,7 +0,0 @@
1
- import { HistoryEntitySubscriber } from '@operato/typeorm-history';
2
- import { AccountingDocument } from './accounting-document';
3
- import { AccountingDocumentHistory } from './accounting-document-history';
4
- export declare class AccountingDocumentHistoryEntitySubscriber extends HistoryEntitySubscriber<AccountingDocument, AccountingDocumentHistory> {
5
- get entity(): typeof AccountingDocument;
6
- get historyEntity(): typeof AccountingDocumentHistory;
7
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingDocumentHistoryEntitySubscriber = void 0;
4
- const tslib_1 = require("tslib");
5
- const typeorm_1 = require("typeorm");
6
- const typeorm_history_1 = require("@operato/typeorm-history");
7
- const accounting_document_1 = require("./accounting-document");
8
- const accounting_document_history_1 = require("./accounting-document-history");
9
- let AccountingDocumentHistoryEntitySubscriber = class AccountingDocumentHistoryEntitySubscriber extends typeorm_history_1.HistoryEntitySubscriber {
10
- get entity() {
11
- return accounting_document_1.AccountingDocument;
12
- }
13
- get historyEntity() {
14
- return accounting_document_history_1.AccountingDocumentHistory;
15
- }
16
- };
17
- exports.AccountingDocumentHistoryEntitySubscriber = AccountingDocumentHistoryEntitySubscriber;
18
- exports.AccountingDocumentHistoryEntitySubscriber = AccountingDocumentHistoryEntitySubscriber = tslib_1.__decorate([
19
- (0, typeorm_1.EventSubscriber)()
20
- ], AccountingDocumentHistoryEntitySubscriber);
21
- //# sourceMappingURL=event-subscriber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"event-subscriber.js","sourceRoot":"","sources":["../../../server/service/accounting-document/event-subscriber.ts"],"names":[],"mappings":";;;;AAAA,qCAAyC;AAEzC,8DAAkE;AAElE,+DAA0D;AAC1D,+EAAyE;AAGlE,IAAM,yCAAyC,GAA/C,MAAM,yCAA0C,SAAQ,yCAAsE;IACnI,IAAW,MAAM;QACf,OAAO,wCAAkB,CAAA;IAC3B,CAAC;IAED,IAAW,aAAa;QACtB,OAAO,uDAAyB,CAAA;IAClC,CAAC;CACF,CAAA;AARY,8FAAyC;oDAAzC,yCAAyC;IADrD,IAAA,yBAAe,GAAE;GACL,yCAAyC,CAQrD","sourcesContent":["import { EventSubscriber } from 'typeorm'\n\nimport { HistoryEntitySubscriber } from '@operato/typeorm-history'\n\nimport { AccountingDocument } from './accounting-document'\nimport { AccountingDocumentHistory } from './accounting-document-history'\n\n@EventSubscriber()\nexport class AccountingDocumentHistoryEntitySubscriber extends HistoryEntitySubscriber<AccountingDocument, AccountingDocumentHistory> {\n public get entity() {\n return AccountingDocument\n }\n\n public get historyEntity() {\n return AccountingDocumentHistory\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- import { AccountingDocument } from './accounting-document';
2
- import { AccountingDocumentHistoryEntitySubscriber } from './event-subscriber';
3
- import { AccountingDocumentQuery } from './accounting-document-query';
4
- import { AccountingDocumentMutation } from './accounting-document-mutation';
5
- export declare const entities: (typeof AccountingDocument)[];
6
- export declare const resolvers: (typeof AccountingDocumentQuery | typeof AccountingDocumentMutation)[];
7
- export declare const subscribers: (typeof AccountingDocumentHistoryEntitySubscriber)[];
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.subscribers = exports.resolvers = exports.entities = void 0;
4
- const accounting_document_1 = require("./accounting-document");
5
- const accounting_document_history_1 = require("./accounting-document-history");
6
- const event_subscriber_1 = require("./event-subscriber");
7
- const accounting_document_query_1 = require("./accounting-document-query");
8
- const accounting_document_mutation_1 = require("./accounting-document-mutation");
9
- exports.entities = [accounting_document_1.AccountingDocument, accounting_document_history_1.AccountingDocumentHistory];
10
- exports.resolvers = [accounting_document_query_1.AccountingDocumentQuery, accounting_document_mutation_1.AccountingDocumentMutation];
11
- exports.subscribers = [event_subscriber_1.AccountingDocumentHistoryEntitySubscriber];
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/accounting-document/index.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAC1D,+EAAyE;AACzE,yDAA8E;AAC9E,2EAAqE;AACrE,iFAA2E;AAE9D,QAAA,QAAQ,GAAG,CAAC,wCAAkB,EAAE,uDAAyB,CAAC,CAAA;AAC1D,QAAA,SAAS,GAAG,CAAC,mDAAuB,EAAE,yDAA0B,CAAC,CAAA;AACjE,QAAA,WAAW,GAAG,CAAC,4DAAyC,CAAC,CAAA","sourcesContent":["import { AccountingDocument } from './accounting-document'\nimport { AccountingDocumentHistory } from './accounting-document-history'\nimport { AccountingDocumentHistoryEntitySubscriber } from './event-subscriber'\nimport { AccountingDocumentQuery } from './accounting-document-query'\nimport { AccountingDocumentMutation } from './accounting-document-mutation'\n\nexport const entities = [AccountingDocument, AccountingDocumentHistory]\nexport const resolvers = [AccountingDocumentQuery, AccountingDocumentMutation]\nexport const subscribers = [AccountingDocumentHistoryEntitySubscriber]\n"]}
@@ -1,34 +0,0 @@
1
- import { HistoryActionType, HistoryEntityInterface } from '@operato/typeorm-history';
2
- import { User } from '@things-factory/auth-base';
3
- import { Domain } from '@things-factory/shell';
4
- import { AccountType, BankAccount, OwnerType } from './bank-account';
5
- export declare class BankAccountHistory implements HistoryEntityInterface<BankAccount> {
6
- readonly id: string;
7
- version?: number;
8
- domain?: Domain;
9
- domainId?: string;
10
- name: string;
11
- description?: string;
12
- accountHolderName?: string;
13
- accountNumber?: string;
14
- bankName?: string;
15
- accountType: AccountType;
16
- currency?: string;
17
- active?: boolean;
18
- ownerType: OwnerType;
19
- ownerId: string;
20
- iban?: string;
21
- bic?: string;
22
- country?: string;
23
- image?: string;
24
- createdAt?: Date;
25
- updatedAt?: Date;
26
- deletedAt?: Date;
27
- creator?: User;
28
- creatorId?: string;
29
- updater?: User;
30
- updaterId?: string;
31
- thumbnail?: string;
32
- originalId: string;
33
- action: HistoryActionType;
34
- }
@@ -1,172 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BankAccountHistory = void 0;
4
- const tslib_1 = require("tslib");
5
- const type_graphql_1 = require("type-graphql");
6
- const typeorm_1 = require("typeorm");
7
- const typeorm_history_1 = require("@operato/typeorm-history");
8
- const auth_base_1 = require("@things-factory/auth-base");
9
- const env_1 = require("@things-factory/env");
10
- const shell_1 = require("@things-factory/shell");
11
- const bank_account_1 = require("./bank-account");
12
- const ORMCONFIG = env_1.config.get('ormconfig', {});
13
- const DATABASE_TYPE = ORMCONFIG.type;
14
- let BankAccountHistory = class BankAccountHistory {
15
- constructor() {
16
- this.version = 1;
17
- }
18
- };
19
- exports.BankAccountHistory = BankAccountHistory;
20
- tslib_1.__decorate([
21
- (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
22
- (0, type_graphql_1.Field)(type => type_graphql_1.ID),
23
- tslib_1.__metadata("design:type", String)
24
- ], BankAccountHistory.prototype, "id", void 0);
25
- tslib_1.__decorate([
26
- (0, typeorm_1.Column)({ nullable: true, default: 1 }),
27
- (0, type_graphql_1.Field)({ nullable: true }),
28
- tslib_1.__metadata("design:type", Number)
29
- ], BankAccountHistory.prototype, "version", void 0);
30
- tslib_1.__decorate([
31
- (0, typeorm_1.ManyToOne)(type => shell_1.Domain),
32
- (0, type_graphql_1.Field)({ nullable: true }),
33
- tslib_1.__metadata("design:type", shell_1.Domain)
34
- ], BankAccountHistory.prototype, "domain", void 0);
35
- tslib_1.__decorate([
36
- (0, typeorm_1.RelationId)((bankAccount) => bankAccount.domain),
37
- tslib_1.__metadata("design:type", String)
38
- ], BankAccountHistory.prototype, "domainId", void 0);
39
- tslib_1.__decorate([
40
- (0, typeorm_1.Column)(),
41
- (0, type_graphql_1.Field)(),
42
- tslib_1.__metadata("design:type", String)
43
- ], BankAccountHistory.prototype, "name", void 0);
44
- tslib_1.__decorate([
45
- (0, typeorm_1.Column)({ nullable: true }),
46
- (0, type_graphql_1.Field)({ nullable: true }),
47
- tslib_1.__metadata("design:type", String)
48
- ], BankAccountHistory.prototype, "description", void 0);
49
- tslib_1.__decorate([
50
- (0, typeorm_1.Column)({ nullable: true }),
51
- (0, type_graphql_1.Field)({ nullable: true, description: 'Name of the account holder' }),
52
- tslib_1.__metadata("design:type", String)
53
- ], BankAccountHistory.prototype, "accountHolderName", void 0);
54
- tslib_1.__decorate([
55
- (0, typeorm_1.Column)(),
56
- (0, type_graphql_1.Field)({ nullable: true, description: 'Bank account number' }),
57
- tslib_1.__metadata("design:type", String)
58
- ], BankAccountHistory.prototype, "accountNumber", void 0);
59
- tslib_1.__decorate([
60
- (0, typeorm_1.Column)(),
61
- (0, type_graphql_1.Field)({ nullable: true, description: 'Bank name' }),
62
- tslib_1.__metadata("design:type", String)
63
- ], BankAccountHistory.prototype, "bankName", void 0);
64
- tslib_1.__decorate([
65
- (0, typeorm_1.Column)({ nullable: false }),
66
- (0, type_graphql_1.Field)(type => bank_account_1.AccountType, { description: 'Type of the account (Bank or Card)' }),
67
- tslib_1.__metadata("design:type", String)
68
- ], BankAccountHistory.prototype, "accountType", void 0);
69
- tslib_1.__decorate([
70
- (0, typeorm_1.Column)({ nullable: true }),
71
- (0, type_graphql_1.Field)({ nullable: true, description: 'Currency of the account' }),
72
- tslib_1.__metadata("design:type", String)
73
- ], BankAccountHistory.prototype, "currency", void 0);
74
- tslib_1.__decorate([
75
- (0, typeorm_1.Column)({ nullable: false, default: false }),
76
- (0, type_graphql_1.Field)({ nullable: true }),
77
- tslib_1.__metadata("design:type", Boolean)
78
- ], BankAccountHistory.prototype, "active", void 0);
79
- tslib_1.__decorate([
80
- (0, typeorm_1.Column)({ nullable: false }),
81
- (0, type_graphql_1.Field)(type => bank_account_1.OwnerType, { description: 'Type of the owner of the bank account' }),
82
- tslib_1.__metadata("design:type", String)
83
- ], BankAccountHistory.prototype, "ownerType", void 0);
84
- tslib_1.__decorate([
85
- (0, typeorm_1.Column)(),
86
- (0, type_graphql_1.Field)({ description: 'ID of the owner of the bank account' }),
87
- tslib_1.__metadata("design:type", String)
88
- ], BankAccountHistory.prototype, "ownerId", void 0);
89
- tslib_1.__decorate([
90
- (0, typeorm_1.Column)({ nullable: true }),
91
- (0, type_graphql_1.Field)({ nullable: true, description: 'IBAN of the bank account' }),
92
- tslib_1.__metadata("design:type", String)
93
- ], BankAccountHistory.prototype, "iban", void 0);
94
- tslib_1.__decorate([
95
- (0, typeorm_1.Column)({ nullable: true }),
96
- (0, type_graphql_1.Field)({ nullable: true, description: 'BIC of the bank account' }),
97
- tslib_1.__metadata("design:type", String)
98
- ], BankAccountHistory.prototype, "bic", void 0);
99
- tslib_1.__decorate([
100
- (0, typeorm_1.Column)({ nullable: true }),
101
- (0, type_graphql_1.Field)({ nullable: true, description: 'Country of the bank account' }),
102
- tslib_1.__metadata("design:type", String)
103
- ], BankAccountHistory.prototype, "country", void 0);
104
- tslib_1.__decorate([
105
- (0, typeorm_1.Column)({ nullable: true }),
106
- (0, type_graphql_1.Field)({ nullable: true, description: 'Cover image of the bank account' }),
107
- tslib_1.__metadata("design:type", String)
108
- ], BankAccountHistory.prototype, "image", void 0);
109
- tslib_1.__decorate([
110
- (0, typeorm_1.Column)({ nullable: true }),
111
- (0, type_graphql_1.Field)({ nullable: true }),
112
- tslib_1.__metadata("design:type", Date)
113
- ], BankAccountHistory.prototype, "createdAt", void 0);
114
- tslib_1.__decorate([
115
- (0, typeorm_1.Column)({ nullable: true }),
116
- (0, type_graphql_1.Field)({ nullable: true }),
117
- tslib_1.__metadata("design:type", Date)
118
- ], BankAccountHistory.prototype, "updatedAt", void 0);
119
- tslib_1.__decorate([
120
- (0, typeorm_1.Column)({ nullable: true }),
121
- (0, type_graphql_1.Field)({ nullable: true }),
122
- tslib_1.__metadata("design:type", Date)
123
- ], BankAccountHistory.prototype, "deletedAt", void 0);
124
- tslib_1.__decorate([
125
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
126
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
127
- tslib_1.__metadata("design:type", auth_base_1.User)
128
- ], BankAccountHistory.prototype, "creator", void 0);
129
- tslib_1.__decorate([
130
- (0, typeorm_1.RelationId)((bankAccount) => bankAccount.creator),
131
- tslib_1.__metadata("design:type", String)
132
- ], BankAccountHistory.prototype, "creatorId", void 0);
133
- tslib_1.__decorate([
134
- (0, typeorm_1.ManyToOne)(type => auth_base_1.User, { nullable: true }),
135
- (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
136
- tslib_1.__metadata("design:type", auth_base_1.User)
137
- ], BankAccountHistory.prototype, "updater", void 0);
138
- tslib_1.__decorate([
139
- (0, typeorm_1.RelationId)((bankAccount) => bankAccount.updater),
140
- tslib_1.__metadata("design:type", String)
141
- ], BankAccountHistory.prototype, "updaterId", void 0);
142
- tslib_1.__decorate([
143
- (0, type_graphql_1.Field)(type => String, { nullable: true }),
144
- tslib_1.__metadata("design:type", String)
145
- ], BankAccountHistory.prototype, "thumbnail", void 0);
146
- tslib_1.__decorate([
147
- (0, typeorm_history_1.HistoryOriginalIdColumn)(),
148
- tslib_1.__metadata("design:type", String)
149
- ], BankAccountHistory.prototype, "originalId", void 0);
150
- tslib_1.__decorate([
151
- (0, typeorm_history_1.HistoryActionColumn)({
152
- nullable: false,
153
- type: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
154
- ? 'enum'
155
- : DATABASE_TYPE == 'oracle'
156
- ? 'varchar2'
157
- : 'smallint',
158
- enum: typeorm_history_1.HistoryActionType
159
- }),
160
- tslib_1.__metadata("design:type", String)
161
- ], BankAccountHistory.prototype, "action", void 0);
162
- exports.BankAccountHistory = BankAccountHistory = tslib_1.__decorate([
163
- (0, typeorm_1.Entity)(),
164
- (0, typeorm_1.Index)('ix_bank-account_history_0', (bankAccountHistory) => [bankAccountHistory.originalId, bankAccountHistory.version], { unique: true }),
165
- (0, typeorm_1.Index)('ix_bank-account_history_1', (bankAccountHistory) => [
166
- bankAccountHistory.domain,
167
- bankAccountHistory.originalId,
168
- bankAccountHistory.version
169
- ], { unique: true }),
170
- (0, type_graphql_1.ObjectType)({ description: 'History Entity of BankAccount' })
171
- ], BankAccountHistory);
172
- //# sourceMappingURL=bank-account-history.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bank-account-history.js","sourceRoot":"","sources":["../../../server/service/bank-account/bank-account-history.ts"],"names":[],"mappings":";;;;AAAA,+CAAoD;AACpD,qCAA8F;AAE9F,8DAKiC;AACjC,yDAAsD;AACtD,6CAA4C;AAC5C,iDAA8C;AAE9C,iDAAoE;AAEpE,MAAM,SAAS,GAAG,YAAM,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,IAAI,CAAA;A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I,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCAC9B,gBAAI;mDAAA;AAGd;IADC,IAAA,oBAAU,EAAC,CAAC,WAAwB,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;;qDAC5C;AAGlB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACxB;AAGX;IADN,IAAA,yCAAuB,GAAE;;sDACA;AAYnB;IAVN,IAAA,qCAAmB,EAAC;QACnB,QAAQ,EAAE,KAAK;QACf,IAAI,EACF,aAAa,IAAI,UAAU,IAAI,aAAa,IAAI,OAAO,IAAI,aAAa,IAAI,SAAS;YACnF,CAAC,CAAC,MAAM;YACR,CAAC,CAAC,aAAa,IAAI,QAAQ;gBACzB,CAAC,CAAC,UAAU;gBACZ,CAAC,CAAC,UAAU;QAClB,IAAI,EAAE,mCAAiB;KACxB,CAAC;;kDAC+B;6BAjHtB,kBAAkB;IAhB9B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EACJ,2BAA2B,EAC3B,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAAC,EACvG,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,IAAA,eAAK,EACJ,2BAA2B,EAC3B,CAAC,kBAAsC,EAAE,EAAE,CAAC;QAC1C,kBAAkB,CAAC,MAAM;QACzB,kBAAkB,CAAC,UAAU;QAC7B,kBAAkB,CAAC,OAAO;KAC3B,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;IACA,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;GAChD,kBAAkB,CAkH9B","sourcesContent":["import { Field, ID, ObjectType } from 'type-graphql'\nimport { Column, Entity, Index, ManyToOne, PrimaryGeneratedColumn, RelationId } from 'typeorm'\n\nimport {\n HistoryActionColumn,\n HistoryActionType,\n HistoryEntityInterface,\n HistoryOriginalIdColumn\n} from '@operato/typeorm-history'\nimport { Role, User } from '@things-factory/auth-base'\nimport { config } from '@things-factory/env'\nimport { Domain } from '@things-factory/shell'\n\nimport { AccountType, BankAccount, OwnerType } from './bank-account'\n\nconst ORMCONFIG = config.get('ormconfig', {})\nconst DATABASE_TYPE = ORMCONFIG.type\n\n@Entity()\n@Index(\n 'ix_bank-account_history_0',\n (bankAccountHistory: BankAccountHistory) => [bankAccountHistory.originalId, bankAccountHistory.version],\n { unique: true }\n)\n@Index(\n 'ix_bank-account_history_1',\n (bankAccountHistory: BankAccountHistory) => [\n bankAccountHistory.domain,\n bankAccountHistory.originalId,\n bankAccountHistory.version\n ],\n { unique: true }\n)\n@ObjectType({ description: 'History Entity of BankAccount' })\nexport class BankAccountHistory implements HistoryEntityInterface<BankAccount> {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: true, default: 1 })\n @Field({ nullable: true })\n version?: number = 1\n\n @ManyToOne(type => Domain)\n @Field({ nullable: true })\n domain?: Domain\n\n @RelationId((bankAccount: BankAccount) => bankAccount.domain)\n domainId?: string\n\n @Column()\n @Field()\n name: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n description?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'Name of the account holder' })\n accountHolderName?: string // 계좌 소유자의 이름\n\n @Column()\n @Field({ nullable: true, description: 'Bank account number' })\n accountNumber?: string\n\n @Column()\n @Field({ nullable: true, description: 'Bank name' })\n bankName?: string\n\n @Column({ nullable: false })\n @Field(type => AccountType, { description: 'Type of the account (Bank or Card)' })\n accountType: AccountType\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'Currency of the account' })\n currency?: string\n\n @Column({ nullable: false, default: false })\n @Field({ nullable: true })\n active?: boolean\n\n @Column({ nullable: false })\n @Field(type => OwnerType, { description: 'Type of the owner of the bank account' })\n ownerType: OwnerType\n\n @Column()\n @Field({ description: 'ID of the owner of the bank account' })\n ownerId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'IBAN of the bank account' })\n iban?: string // 은행 계좌의 IBAN\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'BIC of the bank account' })\n bic?: string // 은행 계좌의 BIC\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'Country of the bank account' })\n country?: string // 은행 계좌의 국적\n\n @Column({ nullable: true })\n @Field({ nullable: true, description: 'Cover image of the bank account' })\n image?: string // 은행 계좌의 커버이미지\n @Column({ nullable: true })\n @Field({ nullable: true })\n createdAt?: Date\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n updatedAt?: Date\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((bankAccount: BankAccount) => bankAccount.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((bankAccount: BankAccount) => bankAccount.updater)\n updaterId?: string\n\n @Field(type => String, { nullable: true })\n thumbnail?: string\n\n @HistoryOriginalIdColumn()\n public originalId!: string\n\n @HistoryActionColumn({\n nullable: false,\n type:\n DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'\n ? 'enum'\n : DATABASE_TYPE == 'oracle'\n ? 'varchar2'\n : 'smallint',\n enum: HistoryActionType\n })\n public action!: HistoryActionType\n}\n"]}
@@ -1,10 +0,0 @@
1
- import { BankAccount } from './bank-account';
2
- import { NewBankAccount, BankAccountPatch } from './bank-account-type';
3
- export declare class BankAccountMutation {
4
- createBankAccount(bankAccount: NewBankAccount, context: ResolverContext): Promise<BankAccount>;
5
- updateBankAccount(id: string, patch: BankAccountPatch, context: ResolverContext): Promise<BankAccount>;
6
- updateMultipleBankAccount(patches: BankAccountPatch[], context: ResolverContext): Promise<BankAccount[]>;
7
- deleteBankAccount(id: string, context: ResolverContext): Promise<boolean>;
8
- deleteBankAccounts(ids: string[], context: ResolverContext): Promise<boolean>;
9
- importBankAccounts(bankAccounts: BankAccountPatch[], context: ResolverContext): Promise<boolean>;
10
- }