@temboplus/afloat 0.1.81 → 0.2.0-beta.2

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 (413) hide show
  1. package/README.md +246 -42
  2. package/dist/index.cjs.js +2 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.d.ts +10 -0
  5. package/dist/index.esm.js +2 -0
  6. package/dist/index.esm.js.map +1 -0
  7. package/dist/lib/api/base-repository.d.ts +177 -0
  8. package/dist/lib/api/index.d.ts +1 -0
  9. package/{esm/src/errors/api_error.d.ts → dist/lib/error/error.api.d.ts} +0 -1
  10. package/{script/npm/src/src/errors/permission_error.d.ts → dist/lib/error/error.permission.d.ts} +1 -2
  11. package/dist/lib/error/error.utils.d.ts +22 -0
  12. package/dist/lib/error/index.d.ts +3 -0
  13. package/dist/lib/query/index.d.ts +4 -0
  14. package/dist/lib/query/pagination/pagination.d.ts +73 -0
  15. package/dist/lib/query/pagination/pagination.schemas.d.ts +83 -0
  16. package/dist/lib/query/query.builder.d.ts +75 -0
  17. package/dist/lib/query/query.types.d.ts +36 -0
  18. package/{esm/src/features/auth/contract.d.ts → dist/modules/auth/auth.contract.d.ts} +16 -19
  19. package/dist/modules/auth/auth.repository.d.ts +83 -0
  20. package/dist/modules/auth/company-membership.model.d.ts +171 -0
  21. package/dist/modules/auth/index.d.ts +3 -0
  22. package/dist/modules/auth/user.model.d.ts +363 -0
  23. package/dist/modules/beneficiary/beneficiary-info.model.d.ts +178 -0
  24. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +16 -0
  25. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +203 -0
  26. package/dist/modules/beneficiary/beneficiary.dtos.d.ts +84 -0
  27. package/dist/modules/beneficiary/beneficiary.model.d.ts +441 -0
  28. package/dist/modules/beneficiary/beneficiary.repository.d.ts +116 -0
  29. package/dist/modules/beneficiary/index.d.ts +6 -0
  30. package/dist/modules/login/index.d.ts +4 -0
  31. package/dist/modules/login/login.api-contract.d.ts +51 -0
  32. package/dist/modules/login/login.dtos.d.ts +85 -0
  33. package/dist/modules/login/login.model.d.ts +168 -0
  34. package/dist/modules/login/login.repository.d.ts +58 -0
  35. package/{esm/src/models/permission.d.ts → dist/modules/login/permission.type.d.ts} +9 -10
  36. package/dist/modules/payout/index.d.ts +5 -0
  37. package/dist/modules/payout/payout-channel-handler.d.ts +82 -0
  38. package/{esm/src/features/payout/contract.d.ts → dist/modules/payout/payout.api-contract.d.ts} +350 -207
  39. package/dist/modules/payout/payout.dtos.d.ts +607 -0
  40. package/dist/modules/payout/payout.model.d.ts +383 -0
  41. package/dist/modules/payout/payout.query.d.ts +134 -0
  42. package/dist/modules/payout/payout.repository.d.ts +204 -0
  43. package/dist/modules/profile/index.d.ts +3 -0
  44. package/{script/npm/src/src/features/auth/profile/contract.d.ts → dist/modules/profile/profile.api-contract.d.ts} +8 -6
  45. package/dist/modules/profile/profile.dtos.d.ts +80 -0
  46. package/{script/npm/src/src/models/user/profile.d.ts → dist/modules/profile/profile.model.d.ts} +81 -52
  47. package/dist/modules/profile/profile.repository.d.ts +56 -0
  48. package/dist/modules/team-member/index.d.ts +4 -0
  49. package/dist/modules/team-member/role.model.d.ts +61 -0
  50. package/{esm/src/features/admin/contract.d.ts → dist/modules/team-member/team-member.contract.d.ts} +229 -154
  51. package/dist/modules/team-member/team-member.dtos.d.ts +261 -0
  52. package/dist/modules/team-member/team-member.model.d.ts +237 -0
  53. package/dist/modules/team-member/team-member.repository.d.ts +179 -0
  54. package/dist/modules/wallet/index.d.ts +6 -0
  55. package/dist/modules/wallet/narration.model.d.ts +225 -0
  56. package/dist/modules/wallet/statement-entry.model.d.ts +299 -0
  57. package/{script/npm/src/src/features/wallet/contract.d.ts → dist/modules/wallet/wallet.contract.d.ts} +17 -15
  58. package/dist/modules/wallet/wallet.dtos.d.ts +204 -0
  59. package/{esm/src/models/wallet/wallet.d.ts → dist/modules/wallet/wallet.model.d.ts} +34 -40
  60. package/dist/modules/wallet/wallet.query.d.ts +95 -0
  61. package/dist/modules/wallet/wallet.repository.d.ts +205 -0
  62. package/dist/modules/wallet/wallet.utils.d.ts +17 -0
  63. package/package.json +49 -23
  64. package/LICENSE +0 -7
  65. package/esm/mod.d.ts +0 -8
  66. package/esm/mod.d.ts.map +0 -1
  67. package/esm/mod.js +0 -7
  68. package/esm/package.json +0 -3
  69. package/esm/src/errors/api_error.d.ts.map +0 -1
  70. package/esm/src/errors/api_error.js +0 -90
  71. package/esm/src/errors/index.d.ts +0 -3
  72. package/esm/src/errors/index.d.ts.map +0 -1
  73. package/esm/src/errors/index.js +0 -2
  74. package/esm/src/errors/permission_error.d.ts +0 -48
  75. package/esm/src/errors/permission_error.d.ts.map +0 -1
  76. package/esm/src/errors/permission_error.js +0 -70
  77. package/esm/src/features/admin/contract.d.ts.map +0 -1
  78. package/esm/src/features/admin/contract.js +0 -210
  79. package/esm/src/features/admin/index.d.ts +0 -4
  80. package/esm/src/features/admin/index.d.ts.map +0 -1
  81. package/esm/src/features/admin/index.js +0 -3
  82. package/esm/src/features/admin/repository.d.ts +0 -114
  83. package/esm/src/features/admin/repository.d.ts.map +0 -1
  84. package/esm/src/features/admin/repository.js +0 -248
  85. package/esm/src/features/admin/schemas.d.ts +0 -146
  86. package/esm/src/features/admin/schemas.d.ts.map +0 -1
  87. package/esm/src/features/admin/schemas.js +0 -206
  88. package/esm/src/features/auth/access/contract.d.ts +0 -14
  89. package/esm/src/features/auth/access/contract.d.ts.map +0 -1
  90. package/esm/src/features/auth/access/contract.js +0 -14
  91. package/esm/src/features/auth/access/repository.d.ts +0 -11
  92. package/esm/src/features/auth/access/repository.d.ts.map +0 -1
  93. package/esm/src/features/auth/access/repository.js +0 -25
  94. package/esm/src/features/auth/contract.d.ts.map +0 -1
  95. package/esm/src/features/auth/contract.js +0 -43
  96. package/esm/src/features/auth/identity/contract.d.ts +0 -23
  97. package/esm/src/features/auth/identity/contract.d.ts.map +0 -1
  98. package/esm/src/features/auth/identity/contract.js +0 -17
  99. package/esm/src/features/auth/identity/repository.d.ts +0 -22
  100. package/esm/src/features/auth/identity/repository.d.ts.map +0 -1
  101. package/esm/src/features/auth/identity/repository.js +0 -30
  102. package/esm/src/features/auth/index.d.ts +0 -6
  103. package/esm/src/features/auth/index.d.ts.map +0 -1
  104. package/esm/src/features/auth/index.js +0 -5
  105. package/esm/src/features/auth/manager.d.ts +0 -105
  106. package/esm/src/features/auth/manager.d.ts.map +0 -1
  107. package/esm/src/features/auth/manager.js +0 -181
  108. package/esm/src/features/auth/profile/contract.d.ts +0 -37
  109. package/esm/src/features/auth/profile/contract.d.ts.map +0 -1
  110. package/esm/src/features/auth/profile/contract.js +0 -14
  111. package/esm/src/features/auth/profile/repository.d.ts +0 -11
  112. package/esm/src/features/auth/profile/repository.d.ts.map +0 -1
  113. package/esm/src/features/auth/profile/repository.js +0 -25
  114. package/esm/src/features/auth/repository.d.ts +0 -30
  115. package/esm/src/features/auth/repository.d.ts.map +0 -1
  116. package/esm/src/features/auth/repository.js +0 -69
  117. package/esm/src/features/auth/storage/client_store.d.ts +0 -30
  118. package/esm/src/features/auth/storage/client_store.d.ts.map +0 -1
  119. package/esm/src/features/auth/storage/client_store.js +0 -46
  120. package/esm/src/features/auth/storage/client_token_handler.d.ts +0 -32
  121. package/esm/src/features/auth/storage/client_token_handler.d.ts.map +0 -1
  122. package/esm/src/features/auth/storage/client_token_handler.js +0 -36
  123. package/esm/src/features/auth/storage/server_store.d.ts +0 -24
  124. package/esm/src/features/auth/storage/server_store.d.ts.map +0 -1
  125. package/esm/src/features/auth/storage/server_store.js +0 -34
  126. package/esm/src/features/auth/storage/server_token_handler.d.ts +0 -36
  127. package/esm/src/features/auth/storage/server_token_handler.d.ts.map +0 -1
  128. package/esm/src/features/auth/storage/server_token_handler.js +0 -115
  129. package/esm/src/features/auth/storage/types.d.ts +0 -42
  130. package/esm/src/features/auth/storage/types.d.ts.map +0 -1
  131. package/esm/src/features/auth/storage/types.js +0 -1
  132. package/esm/src/features/contact/contract.d.ts +0 -170
  133. package/esm/src/features/contact/contract.d.ts.map +0 -1
  134. package/esm/src/features/contact/contract.js +0 -49
  135. package/esm/src/features/contact/index.d.ts +0 -2
  136. package/esm/src/features/contact/index.d.ts.map +0 -1
  137. package/esm/src/features/contact/index.js +0 -1
  138. package/esm/src/features/contact/repository.d.ts +0 -58
  139. package/esm/src/features/contact/repository.d.ts.map +0 -1
  140. package/esm/src/features/contact/repository.js +0 -108
  141. package/esm/src/features/payout/contract.d.ts.map +0 -1
  142. package/esm/src/features/payout/contract.js +0 -75
  143. package/esm/src/features/payout/index.d.ts +0 -2
  144. package/esm/src/features/payout/index.d.ts.map +0 -1
  145. package/esm/src/features/payout/index.js +0 -1
  146. package/esm/src/features/payout/repository.d.ts +0 -67
  147. package/esm/src/features/payout/repository.d.ts.map +0 -1
  148. package/esm/src/features/payout/repository.js +0 -179
  149. package/esm/src/features/wallet/contract.d.ts +0 -137
  150. package/esm/src/features/wallet/contract.d.ts.map +0 -1
  151. package/esm/src/features/wallet/contract.js +0 -38
  152. package/esm/src/features/wallet/index.d.ts +0 -2
  153. package/esm/src/features/wallet/index.d.ts.map +0 -1
  154. package/esm/src/features/wallet/index.js +0 -1
  155. package/esm/src/features/wallet/repository.d.ts +0 -57
  156. package/esm/src/features/wallet/repository.d.ts.map +0 -1
  157. package/esm/src/features/wallet/repository.js +0 -93
  158. package/esm/src/models/contact/derivatives/contact.d.ts +0 -172
  159. package/esm/src/models/contact/derivatives/contact.d.ts.map +0 -1
  160. package/esm/src/models/contact/derivatives/contact.js +0 -266
  161. package/esm/src/models/contact/derivatives/contact_info.d.ts +0 -188
  162. package/esm/src/models/contact/derivatives/contact_info.d.ts.map +0 -1
  163. package/esm/src/models/contact/derivatives/contact_info.js +0 -255
  164. package/esm/src/models/contact/index.d.ts +0 -5
  165. package/esm/src/models/contact/index.d.ts.map +0 -1
  166. package/esm/src/models/contact/index.js +0 -4
  167. package/esm/src/models/contact/schemas.d.ts +0 -66
  168. package/esm/src/models/contact/schemas.d.ts.map +0 -1
  169. package/esm/src/models/contact/schemas.js +0 -64
  170. package/esm/src/models/contact/validation.d.ts +0 -37
  171. package/esm/src/models/contact/validation.d.ts.map +0 -1
  172. package/esm/src/models/contact/validation.js +0 -146
  173. package/esm/src/models/index.d.ts +0 -7
  174. package/esm/src/models/index.d.ts.map +0 -1
  175. package/esm/src/models/index.js +0 -6
  176. package/esm/src/models/payout/api.d.ts +0 -29
  177. package/esm/src/models/payout/api.d.ts.map +0 -1
  178. package/esm/src/models/payout/api.js +0 -1
  179. package/esm/src/models/payout/channel.d.ts +0 -58
  180. package/esm/src/models/payout/channel.d.ts.map +0 -1
  181. package/esm/src/models/payout/channel.js +0 -53
  182. package/esm/src/models/payout/derivatives/payout.d.ts +0 -158
  183. package/esm/src/models/payout/derivatives/payout.d.ts.map +0 -1
  184. package/esm/src/models/payout/derivatives/payout.js +0 -271
  185. package/esm/src/models/payout/index.d.ts +0 -7
  186. package/esm/src/models/payout/index.d.ts.map +0 -1
  187. package/esm/src/models/payout/index.js +0 -6
  188. package/esm/src/models/payout/narration.d.ts +0 -164
  189. package/esm/src/models/payout/narration.d.ts.map +0 -1
  190. package/esm/src/models/payout/narration.js +0 -308
  191. package/esm/src/models/payout/schemas.d.ts +0 -156
  192. package/esm/src/models/payout/schemas.d.ts.map +0 -1
  193. package/esm/src/models/payout/schemas.js +0 -105
  194. package/esm/src/models/payout/status.d.ts +0 -33
  195. package/esm/src/models/payout/status.d.ts.map +0 -1
  196. package/esm/src/models/payout/status.js +0 -34
  197. package/esm/src/models/permission.d.ts.map +0 -1
  198. package/esm/src/models/permission.js +0 -50
  199. package/esm/src/models/role.d.ts +0 -21
  200. package/esm/src/models/role.d.ts.map +0 -1
  201. package/esm/src/models/role.js +0 -73
  202. package/esm/src/models/user/authenticated-user.d.ts +0 -77
  203. package/esm/src/models/user/authenticated-user.d.ts.map +0 -1
  204. package/esm/src/models/user/authenticated-user.js +0 -226
  205. package/esm/src/models/user/index.d.ts +0 -4
  206. package/esm/src/models/user/index.d.ts.map +0 -1
  207. package/esm/src/models/user/index.js +0 -3
  208. package/esm/src/models/user/managed-user.d.ts +0 -108
  209. package/esm/src/models/user/managed-user.d.ts.map +0 -1
  210. package/esm/src/models/user/managed-user.js +0 -255
  211. package/esm/src/models/user/profile.d.ts +0 -161
  212. package/esm/src/models/user/profile.d.ts.map +0 -1
  213. package/esm/src/models/user/profile.js +0 -334
  214. package/esm/src/models/wallet/index.d.ts +0 -4
  215. package/esm/src/models/wallet/index.d.ts.map +0 -1
  216. package/esm/src/models/wallet/index.js +0 -3
  217. package/esm/src/models/wallet/schemas.d.ts +0 -95
  218. package/esm/src/models/wallet/schemas.d.ts.map +0 -1
  219. package/esm/src/models/wallet/schemas.js +0 -35
  220. package/esm/src/models/wallet/statement_entry.d.ts +0 -160
  221. package/esm/src/models/wallet/statement_entry.d.ts.map +0 -1
  222. package/esm/src/models/wallet/statement_entry.js +0 -255
  223. package/esm/src/models/wallet/wallet.d.ts.map +0 -1
  224. package/esm/src/models/wallet/wallet.js +0 -279
  225. package/esm/src/shared/base_repository.d.ts +0 -80
  226. package/esm/src/shared/base_repository.d.ts.map +0 -1
  227. package/esm/src/shared/base_repository.js +0 -153
  228. package/esm/src/shared/common_responses.d.ts +0 -13
  229. package/esm/src/shared/common_responses.d.ts.map +0 -1
  230. package/esm/src/shared/common_responses.js +0 -10
  231. package/esm/src/shared/index.d.ts +0 -3
  232. package/esm/src/shared/index.d.ts.map +0 -1
  233. package/esm/src/shared/index.js +0 -2
  234. package/esm/src/shared/token_required_repository.d.ts +0 -78
  235. package/esm/src/shared/token_required_repository.d.ts.map +0 -1
  236. package/esm/src/shared/token_required_repository.js +0 -128
  237. package/script/mod.d.ts +0 -8
  238. package/script/mod.d.ts.map +0 -1
  239. package/script/mod.js +0 -23
  240. package/script/npm/src/mod.d.ts +0 -8
  241. package/script/npm/src/mod.d.ts.map +0 -1
  242. package/script/npm/src/mod.js +0 -23
  243. package/script/npm/src/src/errors/api_error.d.ts +0 -63
  244. package/script/npm/src/src/errors/api_error.d.ts.map +0 -1
  245. package/script/npm/src/src/errors/api_error.js +0 -94
  246. package/script/npm/src/src/errors/index.d.ts +0 -3
  247. package/script/npm/src/src/errors/index.d.ts.map +0 -1
  248. package/script/npm/src/src/errors/index.js +0 -18
  249. package/script/npm/src/src/errors/permission_error.d.ts.map +0 -1
  250. package/script/npm/src/src/errors/permission_error.js +0 -74
  251. package/script/npm/src/src/features/admin/contract.d.ts +0 -842
  252. package/script/npm/src/src/features/admin/contract.d.ts.map +0 -1
  253. package/script/npm/src/src/features/admin/contract.js +0 -213
  254. package/script/npm/src/src/features/admin/index.d.ts +0 -4
  255. package/script/npm/src/src/features/admin/index.d.ts.map +0 -1
  256. package/script/npm/src/src/features/admin/index.js +0 -19
  257. package/script/npm/src/src/features/admin/repository.d.ts +0 -114
  258. package/script/npm/src/src/features/admin/repository.d.ts.map +0 -1
  259. package/script/npm/src/src/features/admin/repository.js +0 -252
  260. package/script/npm/src/src/features/admin/schemas.d.ts +0 -146
  261. package/script/npm/src/src/features/admin/schemas.d.ts.map +0 -1
  262. package/script/npm/src/src/features/admin/schemas.js +0 -209
  263. package/script/npm/src/src/features/auth/access/contract.d.ts +0 -14
  264. package/script/npm/src/src/features/auth/access/contract.d.ts.map +0 -1
  265. package/script/npm/src/src/features/auth/access/contract.js +0 -17
  266. package/script/npm/src/src/features/auth/access/repository.d.ts +0 -11
  267. package/script/npm/src/src/features/auth/access/repository.d.ts.map +0 -1
  268. package/script/npm/src/src/features/auth/access/repository.js +0 -29
  269. package/script/npm/src/src/features/auth/contract.d.ts +0 -112
  270. package/script/npm/src/src/features/auth/contract.d.ts.map +0 -1
  271. package/script/npm/src/src/features/auth/contract.js +0 -46
  272. package/script/npm/src/src/features/auth/identity/contract.d.ts +0 -23
  273. package/script/npm/src/src/features/auth/identity/contract.d.ts.map +0 -1
  274. package/script/npm/src/src/features/auth/identity/contract.js +0 -20
  275. package/script/npm/src/src/features/auth/identity/repository.d.ts +0 -22
  276. package/script/npm/src/src/features/auth/identity/repository.d.ts.map +0 -1
  277. package/script/npm/src/src/features/auth/identity/repository.js +0 -34
  278. package/script/npm/src/src/features/auth/index.d.ts +0 -6
  279. package/script/npm/src/src/features/auth/index.d.ts.map +0 -1
  280. package/script/npm/src/src/features/auth/index.js +0 -21
  281. package/script/npm/src/src/features/auth/manager.d.ts +0 -105
  282. package/script/npm/src/src/features/auth/manager.d.ts.map +0 -1
  283. package/script/npm/src/src/features/auth/manager.js +0 -185
  284. package/script/npm/src/src/features/auth/profile/contract.d.ts.map +0 -1
  285. package/script/npm/src/src/features/auth/profile/contract.js +0 -17
  286. package/script/npm/src/src/features/auth/profile/repository.d.ts +0 -11
  287. package/script/npm/src/src/features/auth/profile/repository.d.ts.map +0 -1
  288. package/script/npm/src/src/features/auth/profile/repository.js +0 -29
  289. package/script/npm/src/src/features/auth/repository.d.ts +0 -30
  290. package/script/npm/src/src/features/auth/repository.d.ts.map +0 -1
  291. package/script/npm/src/src/features/auth/repository.js +0 -73
  292. package/script/npm/src/src/features/auth/storage/client_store.d.ts +0 -30
  293. package/script/npm/src/src/features/auth/storage/client_store.d.ts.map +0 -1
  294. package/script/npm/src/src/features/auth/storage/client_store.js +0 -51
  295. package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts +0 -32
  296. package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts.map +0 -1
  297. package/script/npm/src/src/features/auth/storage/client_token_handler.js +0 -40
  298. package/script/npm/src/src/features/auth/storage/server_store.d.ts +0 -24
  299. package/script/npm/src/src/features/auth/storage/server_store.d.ts.map +0 -1
  300. package/script/npm/src/src/features/auth/storage/server_store.js +0 -38
  301. package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts +0 -36
  302. package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts.map +0 -1
  303. package/script/npm/src/src/features/auth/storage/server_token_handler.js +0 -119
  304. package/script/npm/src/src/features/auth/storage/types.d.ts +0 -42
  305. package/script/npm/src/src/features/auth/storage/types.d.ts.map +0 -1
  306. package/script/npm/src/src/features/auth/storage/types.js +0 -2
  307. package/script/npm/src/src/features/contact/contract.d.ts +0 -170
  308. package/script/npm/src/src/features/contact/contract.d.ts.map +0 -1
  309. package/script/npm/src/src/features/contact/contract.js +0 -52
  310. package/script/npm/src/src/features/contact/index.d.ts +0 -2
  311. package/script/npm/src/src/features/contact/index.d.ts.map +0 -1
  312. package/script/npm/src/src/features/contact/index.js +0 -17
  313. package/script/npm/src/src/features/contact/repository.d.ts +0 -58
  314. package/script/npm/src/src/features/contact/repository.d.ts.map +0 -1
  315. package/script/npm/src/src/features/contact/repository.js +0 -112
  316. package/script/npm/src/src/features/payout/contract.d.ts +0 -623
  317. package/script/npm/src/src/features/payout/contract.d.ts.map +0 -1
  318. package/script/npm/src/src/features/payout/contract.js +0 -78
  319. package/script/npm/src/src/features/payout/index.d.ts +0 -2
  320. package/script/npm/src/src/features/payout/index.d.ts.map +0 -1
  321. package/script/npm/src/src/features/payout/index.js +0 -17
  322. package/script/npm/src/src/features/payout/repository.d.ts +0 -67
  323. package/script/npm/src/src/features/payout/repository.d.ts.map +0 -1
  324. package/script/npm/src/src/features/payout/repository.js +0 -183
  325. package/script/npm/src/src/features/wallet/contract.d.ts.map +0 -1
  326. package/script/npm/src/src/features/wallet/contract.js +0 -41
  327. package/script/npm/src/src/features/wallet/index.d.ts +0 -2
  328. package/script/npm/src/src/features/wallet/index.d.ts.map +0 -1
  329. package/script/npm/src/src/features/wallet/index.js +0 -17
  330. package/script/npm/src/src/features/wallet/repository.d.ts +0 -57
  331. package/script/npm/src/src/features/wallet/repository.d.ts.map +0 -1
  332. package/script/npm/src/src/features/wallet/repository.js +0 -97
  333. package/script/npm/src/src/models/contact/derivatives/contact.d.ts +0 -172
  334. package/script/npm/src/src/models/contact/derivatives/contact.d.ts.map +0 -1
  335. package/script/npm/src/src/models/contact/derivatives/contact.js +0 -270
  336. package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts +0 -188
  337. package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts.map +0 -1
  338. package/script/npm/src/src/models/contact/derivatives/contact_info.js +0 -260
  339. package/script/npm/src/src/models/contact/index.d.ts +0 -5
  340. package/script/npm/src/src/models/contact/index.d.ts.map +0 -1
  341. package/script/npm/src/src/models/contact/index.js +0 -20
  342. package/script/npm/src/src/models/contact/schemas.d.ts +0 -66
  343. package/script/npm/src/src/models/contact/schemas.d.ts.map +0 -1
  344. package/script/npm/src/src/models/contact/schemas.js +0 -67
  345. package/script/npm/src/src/models/contact/validation.d.ts +0 -37
  346. package/script/npm/src/src/models/contact/validation.d.ts.map +0 -1
  347. package/script/npm/src/src/models/contact/validation.js +0 -153
  348. package/script/npm/src/src/models/index.d.ts +0 -7
  349. package/script/npm/src/src/models/index.d.ts.map +0 -1
  350. package/script/npm/src/src/models/index.js +0 -22
  351. package/script/npm/src/src/models/payout/api.d.ts +0 -29
  352. package/script/npm/src/src/models/payout/api.d.ts.map +0 -1
  353. package/script/npm/src/src/models/payout/api.js +0 -2
  354. package/script/npm/src/src/models/payout/channel.d.ts +0 -58
  355. package/script/npm/src/src/models/payout/channel.d.ts.map +0 -1
  356. package/script/npm/src/src/models/payout/channel.js +0 -56
  357. package/script/npm/src/src/models/payout/derivatives/payout.d.ts +0 -158
  358. package/script/npm/src/src/models/payout/derivatives/payout.d.ts.map +0 -1
  359. package/script/npm/src/src/models/payout/derivatives/payout.js +0 -275
  360. package/script/npm/src/src/models/payout/index.d.ts +0 -7
  361. package/script/npm/src/src/models/payout/index.d.ts.map +0 -1
  362. package/script/npm/src/src/models/payout/index.js +0 -22
  363. package/script/npm/src/src/models/payout/narration.d.ts +0 -164
  364. package/script/npm/src/src/models/payout/narration.d.ts.map +0 -1
  365. package/script/npm/src/src/models/payout/narration.js +0 -312
  366. package/script/npm/src/src/models/payout/schemas.d.ts +0 -156
  367. package/script/npm/src/src/models/payout/schemas.d.ts.map +0 -1
  368. package/script/npm/src/src/models/payout/schemas.js +0 -108
  369. package/script/npm/src/src/models/payout/status.d.ts +0 -33
  370. package/script/npm/src/src/models/payout/status.d.ts.map +0 -1
  371. package/script/npm/src/src/models/payout/status.js +0 -37
  372. package/script/npm/src/src/models/permission.d.ts +0 -55
  373. package/script/npm/src/src/models/permission.d.ts.map +0 -1
  374. package/script/npm/src/src/models/permission.js +0 -53
  375. package/script/npm/src/src/models/role.d.ts +0 -21
  376. package/script/npm/src/src/models/role.d.ts.map +0 -1
  377. package/script/npm/src/src/models/role.js +0 -77
  378. package/script/npm/src/src/models/user/authenticated-user.d.ts +0 -77
  379. package/script/npm/src/src/models/user/authenticated-user.d.ts.map +0 -1
  380. package/script/npm/src/src/models/user/authenticated-user.js +0 -230
  381. package/script/npm/src/src/models/user/index.d.ts +0 -4
  382. package/script/npm/src/src/models/user/index.d.ts.map +0 -1
  383. package/script/npm/src/src/models/user/index.js +0 -19
  384. package/script/npm/src/src/models/user/managed-user.d.ts +0 -108
  385. package/script/npm/src/src/models/user/managed-user.d.ts.map +0 -1
  386. package/script/npm/src/src/models/user/managed-user.js +0 -260
  387. package/script/npm/src/src/models/user/profile.d.ts.map +0 -1
  388. package/script/npm/src/src/models/user/profile.js +0 -338
  389. package/script/npm/src/src/models/wallet/index.d.ts +0 -4
  390. package/script/npm/src/src/models/wallet/index.d.ts.map +0 -1
  391. package/script/npm/src/src/models/wallet/index.js +0 -19
  392. package/script/npm/src/src/models/wallet/schemas.d.ts +0 -95
  393. package/script/npm/src/src/models/wallet/schemas.d.ts.map +0 -1
  394. package/script/npm/src/src/models/wallet/schemas.js +0 -38
  395. package/script/npm/src/src/models/wallet/statement_entry.d.ts +0 -160
  396. package/script/npm/src/src/models/wallet/statement_entry.d.ts.map +0 -1
  397. package/script/npm/src/src/models/wallet/statement_entry.js +0 -259
  398. package/script/npm/src/src/models/wallet/wallet.d.ts +0 -147
  399. package/script/npm/src/src/models/wallet/wallet.d.ts.map +0 -1
  400. package/script/npm/src/src/models/wallet/wallet.js +0 -283
  401. package/script/npm/src/src/shared/base_repository.d.ts +0 -80
  402. package/script/npm/src/src/shared/base_repository.d.ts.map +0 -1
  403. package/script/npm/src/src/shared/base_repository.js +0 -157
  404. package/script/npm/src/src/shared/common_responses.d.ts +0 -13
  405. package/script/npm/src/src/shared/common_responses.d.ts.map +0 -1
  406. package/script/npm/src/src/shared/common_responses.js +0 -13
  407. package/script/npm/src/src/shared/index.d.ts +0 -3
  408. package/script/npm/src/src/shared/index.d.ts.map +0 -1
  409. package/script/npm/src/src/shared/index.js +0 -18
  410. package/script/npm/src/src/shared/token_required_repository.d.ts +0 -78
  411. package/script/npm/src/src/shared/token_required_repository.d.ts.map +0 -1
  412. package/script/npm/src/src/shared/token_required_repository.js +0 -132
  413. package/script/package.json +0 -3
@@ -0,0 +1,607 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Represents the available channels through which payouts can be processed.
4
+ * @enum {string}
5
+ * @readonly
6
+ */
7
+ export declare enum PayoutChannel {
8
+ /** Payment processed through mobile money services */
9
+ MOBILE = "Mobile",
10
+ /** Payment processed through traditional banking channels */
11
+ BANK = "Bank"
12
+ }
13
+ /**
14
+ * Represents the current status of a payout transaction.
15
+ * @enum {string}
16
+ * @readonly
17
+ */
18
+ export declare enum PayoutStatus {
19
+ /** Payout has been initially created but not yet processed */
20
+ CREATED = "CREATED",
21
+ /** Payout is awaiting processing */
22
+ PENDING = "PENDING",
23
+ /** Payout has been successfully processed */
24
+ PAID = "PAID",
25
+ /** Payout processing has failed */
26
+ FAILED = "FAILED",
27
+ /** Payout has been rejected */
28
+ REJECTED = "REJECTED",
29
+ /** Payout has been reversed */
30
+ REVERSED = "REVERSED",
31
+ /** Payout has been queued for processing */
32
+ QUEUED = "QUEUED"
33
+ }
34
+ /**
35
+ * Represents the approval status for payouts that require authorization.
36
+ * @enum {string}
37
+ * @readonly
38
+ */
39
+ export declare enum PayoutApprovalStatus {
40
+ /** Payout is awaiting approval decision */
41
+ PENDING = "Pending",
42
+ /** Payout has been approved */
43
+ APPROVED = "Approved",
44
+ /** Payout has been rejected during approval process */
45
+ REJECTED = "Rejected"
46
+ }
47
+ /**
48
+ * Schema for identifying users in the payout process
49
+ * Used to track who created or actioned a payout
50
+ */
51
+ declare const AuthorizerSchema: z.ZodObject<{
52
+ id: z.ZodString;
53
+ name: z.ZodString;
54
+ identity: z.ZodString;
55
+ }, "strip", z.ZodTypeAny, {
56
+ name: string;
57
+ id: string;
58
+ identity: string;
59
+ }, {
60
+ name: string;
61
+ id: string;
62
+ identity: string;
63
+ }>;
64
+ /**
65
+ * Schema for creating a new payout
66
+ * Extends base payout schema with payee information
67
+ */
68
+ declare const PayoutInputDTOSchema: z.ZodObject<{
69
+ channel: z.ZodString;
70
+ msisdn: z.ZodString;
71
+ amount: z.ZodNumber;
72
+ description: z.ZodString;
73
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ } & {
75
+ payeeName: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ description: string;
78
+ channel: string;
79
+ msisdn: string;
80
+ amount: number;
81
+ payeeName: string;
82
+ notes?: string | null | undefined;
83
+ }, {
84
+ description: string;
85
+ channel: string;
86
+ msisdn: string;
87
+ amount: number;
88
+ payeeName: string;
89
+ notes?: string | null | undefined;
90
+ }>;
91
+ /**
92
+ * Schema for complete payout record
93
+ * Extends base payout schema with additional fields for:
94
+ * - Identification (id, profileId)
95
+ * - Status tracking
96
+ * - Timestamps
97
+ * - Approval information
98
+ * - User tracking (created by, actioned by)
99
+ */
100
+ declare const PayoutDTOSchema: z.ZodObject<{
101
+ msisdn: z.ZodString;
102
+ amount: z.ZodNumber;
103
+ description: z.ZodString;
104
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ } & {
106
+ id: z.ZodString;
107
+ profileId: z.ZodString;
108
+ payeeName: z.ZodString;
109
+ countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
110
+ currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
111
+ channel: z.ZodString;
112
+ status: z.ZodNativeEnum<typeof PayoutStatus>;
113
+ statusMessage: z.ZodString;
114
+ partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ createdAt: z.ZodDate;
116
+ updatedAt: z.ZodDate;
117
+ actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
118
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
119
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
120
+ id: z.ZodString;
121
+ name: z.ZodString;
122
+ identity: z.ZodString;
123
+ }, "strip", z.ZodTypeAny, {
124
+ name: string;
125
+ id: string;
126
+ identity: string;
127
+ }, {
128
+ name: string;
129
+ id: string;
130
+ identity: string;
131
+ }>>>;
132
+ actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
133
+ id: z.ZodString;
134
+ name: z.ZodString;
135
+ identity: z.ZodString;
136
+ }, "strip", z.ZodTypeAny, {
137
+ name: string;
138
+ id: string;
139
+ identity: string;
140
+ }, {
141
+ name: string;
142
+ id: string;
143
+ identity: string;
144
+ }>>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ status: PayoutStatus;
147
+ createdAt: Date;
148
+ id: string;
149
+ profileId: string;
150
+ updatedAt: Date;
151
+ description: string;
152
+ channel: string;
153
+ msisdn: string;
154
+ amount: number;
155
+ payeeName: string;
156
+ countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
157
+ currencyCode: import("@temboplus/frontend-core").CurrencyCode;
158
+ statusMessage: string;
159
+ notes?: string | null | undefined;
160
+ partnerReference?: string | null | undefined;
161
+ actionedAt?: Date | null | undefined;
162
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
163
+ createdBy?: {
164
+ name: string;
165
+ id: string;
166
+ identity: string;
167
+ } | null | undefined;
168
+ actionedBy?: {
169
+ name: string;
170
+ id: string;
171
+ identity: string;
172
+ } | null | undefined;
173
+ }, {
174
+ status: PayoutStatus;
175
+ createdAt: Date;
176
+ id: string;
177
+ profileId: string;
178
+ updatedAt: Date;
179
+ description: string;
180
+ channel: string;
181
+ msisdn: string;
182
+ amount: number;
183
+ payeeName: string;
184
+ statusMessage: string;
185
+ notes?: string | null | undefined;
186
+ countryCode?: string | undefined;
187
+ currencyCode?: string | undefined;
188
+ partnerReference?: string | null | undefined;
189
+ actionedAt?: Date | null | undefined;
190
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
191
+ createdBy?: {
192
+ name: string;
193
+ id: string;
194
+ identity: string;
195
+ } | null | undefined;
196
+ actionedBy?: {
197
+ name: string;
198
+ id: string;
199
+ identity: string;
200
+ } | null | undefined;
201
+ }>;
202
+ /**
203
+ * Lightweight filters interface for payout queries
204
+ */
205
+ declare const PayoutFiltersSchema: z.ZodObject<{
206
+ page: z.ZodDefault<z.ZodNumber>;
207
+ limit: z.ZodDefault<z.ZodNumber>;
208
+ sortBy: z.ZodDefault<z.ZodString>;
209
+ sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
210
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
+ payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
220
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
221
+ minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
222
+ maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
223
+ search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ page: number;
226
+ limit: number;
227
+ sortBy: string;
228
+ sortOrder: "asc" | "desc";
229
+ status?: PayoutStatus | null | undefined;
230
+ id?: string | null | undefined;
231
+ profileId?: string | null | undefined;
232
+ search?: string | null | undefined;
233
+ channel?: string | null | undefined;
234
+ msisdn?: string | null | undefined;
235
+ payeeName?: string | null | undefined;
236
+ currencyCode?: string | null | undefined;
237
+ partnerReference?: string | null | undefined;
238
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
239
+ startDate?: string | null | undefined;
240
+ endDate?: string | null | undefined;
241
+ minAmount?: number | null | undefined;
242
+ maxAmount?: number | null | undefined;
243
+ }, {
244
+ status?: PayoutStatus | null | undefined;
245
+ page?: number | undefined;
246
+ limit?: number | undefined;
247
+ id?: string | null | undefined;
248
+ profileId?: string | null | undefined;
249
+ search?: string | null | undefined;
250
+ channel?: string | null | undefined;
251
+ msisdn?: string | null | undefined;
252
+ payeeName?: string | null | undefined;
253
+ currencyCode?: string | null | undefined;
254
+ partnerReference?: string | null | undefined;
255
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
256
+ sortBy?: string | undefined;
257
+ sortOrder?: "asc" | "desc" | undefined;
258
+ startDate?: string | null | undefined;
259
+ endDate?: string | null | undefined;
260
+ minAmount?: number | null | undefined;
261
+ maxAmount?: number | null | undefined;
262
+ }>;
263
+ /**
264
+ * URL-safe schema for query parameters (all strings)
265
+ */
266
+ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
267
+ page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
268
+ limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
269
+ sortBy: z.ZodDefault<z.ZodString>;
270
+ sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
271
+ startDate: z.ZodOptional<z.ZodString>;
272
+ endDate: z.ZodOptional<z.ZodString>;
273
+ payeeName: z.ZodOptional<z.ZodString>;
274
+ msisdn: z.ZodOptional<z.ZodString>;
275
+ profileId: z.ZodOptional<z.ZodString>;
276
+ id: z.ZodOptional<z.ZodString>;
277
+ partnerReference: z.ZodOptional<z.ZodString>;
278
+ channel: z.ZodOptional<z.ZodString>;
279
+ status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
280
+ approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
281
+ minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
282
+ maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
283
+ search: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ sortBy: string;
286
+ sortOrder: "asc" | "desc";
287
+ status?: PayoutStatus | undefined;
288
+ page?: number | undefined;
289
+ limit?: number | undefined;
290
+ id?: string | undefined;
291
+ profileId?: string | undefined;
292
+ search?: string | undefined;
293
+ channel?: string | undefined;
294
+ msisdn?: string | undefined;
295
+ payeeName?: string | undefined;
296
+ partnerReference?: string | undefined;
297
+ approvalStatus?: PayoutApprovalStatus | undefined;
298
+ startDate?: string | undefined;
299
+ endDate?: string | undefined;
300
+ minAmount?: number | undefined;
301
+ maxAmount?: number | undefined;
302
+ }, {
303
+ status?: string | undefined;
304
+ page?: string | undefined;
305
+ limit?: string | undefined;
306
+ id?: string | undefined;
307
+ profileId?: string | undefined;
308
+ search?: string | undefined;
309
+ channel?: string | undefined;
310
+ msisdn?: string | undefined;
311
+ payeeName?: string | undefined;
312
+ partnerReference?: string | undefined;
313
+ approvalStatus?: string | undefined;
314
+ sortBy?: string | undefined;
315
+ sortOrder?: "asc" | "desc" | undefined;
316
+ startDate?: string | undefined;
317
+ endDate?: string | undefined;
318
+ minAmount?: string | undefined;
319
+ maxAmount?: string | undefined;
320
+ }>;
321
+ /**
322
+ * Type definition inferred from AuthorizerSchema
323
+ * Represents the structure of a user who actions the payout
324
+ */
325
+ type PayoutAuthorizerDTO = z.infer<typeof AuthorizerSchema>;
326
+ /**
327
+ * Type definition inferred from PayoutInputDTOSchema
328
+ * Represents the structure of data required to create a new payout
329
+ */
330
+ type PayoutInputDTO = z.infer<typeof PayoutInputDTOSchema>;
331
+ /**
332
+ * Type definition inferred from PayoutDTOSchema
333
+ * Represents the complete payout record structure
334
+ */
335
+ type PayoutDTO = z.infer<typeof PayoutDTOSchema>;
336
+ /**
337
+ * Type definition for payout filters
338
+ */
339
+ type PayoutFilters = z.infer<typeof PayoutFiltersSchema>;
340
+ /**
341
+ * Type definition for URL query parameters
342
+ */
343
+ type PayoutURLQueryParams = z.infer<typeof PayoutURLQueryParamsSchema>;
344
+ /**
345
+ * Export object containing all payout-related schemas
346
+ * Used for validation and type checking throughout the application
347
+ */
348
+ export declare const PayoutDTOSchemas: {
349
+ readonly PayoutDTO: z.ZodObject<{
350
+ msisdn: z.ZodString;
351
+ amount: z.ZodNumber;
352
+ description: z.ZodString;
353
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
+ } & {
355
+ id: z.ZodString;
356
+ profileId: z.ZodString;
357
+ payeeName: z.ZodString;
358
+ countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
359
+ currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
360
+ channel: z.ZodString;
361
+ status: z.ZodNativeEnum<typeof PayoutStatus>;
362
+ statusMessage: z.ZodString;
363
+ partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ createdAt: z.ZodDate;
365
+ updatedAt: z.ZodDate;
366
+ actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
367
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
368
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
369
+ id: z.ZodString;
370
+ name: z.ZodString;
371
+ identity: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ name: string;
374
+ id: string;
375
+ identity: string;
376
+ }, {
377
+ name: string;
378
+ id: string;
379
+ identity: string;
380
+ }>>>;
381
+ actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
382
+ id: z.ZodString;
383
+ name: z.ZodString;
384
+ identity: z.ZodString;
385
+ }, "strip", z.ZodTypeAny, {
386
+ name: string;
387
+ id: string;
388
+ identity: string;
389
+ }, {
390
+ name: string;
391
+ id: string;
392
+ identity: string;
393
+ }>>>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ status: PayoutStatus;
396
+ createdAt: Date;
397
+ id: string;
398
+ profileId: string;
399
+ updatedAt: Date;
400
+ description: string;
401
+ channel: string;
402
+ msisdn: string;
403
+ amount: number;
404
+ payeeName: string;
405
+ countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
406
+ currencyCode: import("@temboplus/frontend-core").CurrencyCode;
407
+ statusMessage: string;
408
+ notes?: string | null | undefined;
409
+ partnerReference?: string | null | undefined;
410
+ actionedAt?: Date | null | undefined;
411
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
412
+ createdBy?: {
413
+ name: string;
414
+ id: string;
415
+ identity: string;
416
+ } | null | undefined;
417
+ actionedBy?: {
418
+ name: string;
419
+ id: string;
420
+ identity: string;
421
+ } | null | undefined;
422
+ }, {
423
+ status: PayoutStatus;
424
+ createdAt: Date;
425
+ id: string;
426
+ profileId: string;
427
+ updatedAt: Date;
428
+ description: string;
429
+ channel: string;
430
+ msisdn: string;
431
+ amount: number;
432
+ payeeName: string;
433
+ statusMessage: string;
434
+ notes?: string | null | undefined;
435
+ countryCode?: string | undefined;
436
+ currencyCode?: string | undefined;
437
+ partnerReference?: string | null | undefined;
438
+ actionedAt?: Date | null | undefined;
439
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
440
+ createdBy?: {
441
+ name: string;
442
+ id: string;
443
+ identity: string;
444
+ } | null | undefined;
445
+ actionedBy?: {
446
+ name: string;
447
+ id: string;
448
+ identity: string;
449
+ } | null | undefined;
450
+ }>;
451
+ readonly PayoutInputDTO: z.ZodObject<{
452
+ channel: z.ZodString;
453
+ msisdn: z.ZodString;
454
+ amount: z.ZodNumber;
455
+ description: z.ZodString;
456
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ } & {
458
+ payeeName: z.ZodString;
459
+ }, "strip", z.ZodTypeAny, {
460
+ description: string;
461
+ channel: string;
462
+ msisdn: string;
463
+ amount: number;
464
+ payeeName: string;
465
+ notes?: string | null | undefined;
466
+ }, {
467
+ description: string;
468
+ channel: string;
469
+ msisdn: string;
470
+ amount: number;
471
+ payeeName: string;
472
+ notes?: string | null | undefined;
473
+ }>;
474
+ readonly PayoutStatus: z.ZodNativeEnum<typeof PayoutStatus>;
475
+ readonly PayoutApprovalStatus: z.ZodNativeEnum<typeof PayoutApprovalStatus>;
476
+ readonly PayoutAuthorizer: z.ZodObject<{
477
+ id: z.ZodString;
478
+ name: z.ZodString;
479
+ identity: z.ZodString;
480
+ }, "strip", z.ZodTypeAny, {
481
+ name: string;
482
+ id: string;
483
+ identity: string;
484
+ }, {
485
+ name: string;
486
+ id: string;
487
+ identity: string;
488
+ }>;
489
+ readonly PayoutFilters: z.ZodObject<{
490
+ page: z.ZodDefault<z.ZodNumber>;
491
+ limit: z.ZodDefault<z.ZodNumber>;
492
+ sortBy: z.ZodDefault<z.ZodString>;
493
+ sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
494
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
496
+ payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
+ msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
+ currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
504
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
505
+ minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
506
+ maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
507
+ search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ page: number;
510
+ limit: number;
511
+ sortBy: string;
512
+ sortOrder: "asc" | "desc";
513
+ status?: PayoutStatus | null | undefined;
514
+ id?: string | null | undefined;
515
+ profileId?: string | null | undefined;
516
+ search?: string | null | undefined;
517
+ channel?: string | null | undefined;
518
+ msisdn?: string | null | undefined;
519
+ payeeName?: string | null | undefined;
520
+ currencyCode?: string | null | undefined;
521
+ partnerReference?: string | null | undefined;
522
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
523
+ startDate?: string | null | undefined;
524
+ endDate?: string | null | undefined;
525
+ minAmount?: number | null | undefined;
526
+ maxAmount?: number | null | undefined;
527
+ }, {
528
+ status?: PayoutStatus | null | undefined;
529
+ page?: number | undefined;
530
+ limit?: number | undefined;
531
+ id?: string | null | undefined;
532
+ profileId?: string | null | undefined;
533
+ search?: string | null | undefined;
534
+ channel?: string | null | undefined;
535
+ msisdn?: string | null | undefined;
536
+ payeeName?: string | null | undefined;
537
+ currencyCode?: string | null | undefined;
538
+ partnerReference?: string | null | undefined;
539
+ approvalStatus?: PayoutApprovalStatus | null | undefined;
540
+ sortBy?: string | undefined;
541
+ sortOrder?: "asc" | "desc" | undefined;
542
+ startDate?: string | null | undefined;
543
+ endDate?: string | null | undefined;
544
+ minAmount?: number | null | undefined;
545
+ maxAmount?: number | null | undefined;
546
+ }>;
547
+ readonly PayoutURLQueryParams: z.ZodObject<{
548
+ page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
549
+ limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
550
+ sortBy: z.ZodDefault<z.ZodString>;
551
+ sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
552
+ startDate: z.ZodOptional<z.ZodString>;
553
+ endDate: z.ZodOptional<z.ZodString>;
554
+ payeeName: z.ZodOptional<z.ZodString>;
555
+ msisdn: z.ZodOptional<z.ZodString>;
556
+ profileId: z.ZodOptional<z.ZodString>;
557
+ id: z.ZodOptional<z.ZodString>;
558
+ partnerReference: z.ZodOptional<z.ZodString>;
559
+ channel: z.ZodOptional<z.ZodString>;
560
+ status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
561
+ approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
562
+ minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
563
+ maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
564
+ search: z.ZodOptional<z.ZodString>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ sortBy: string;
567
+ sortOrder: "asc" | "desc";
568
+ status?: PayoutStatus | undefined;
569
+ page?: number | undefined;
570
+ limit?: number | undefined;
571
+ id?: string | undefined;
572
+ profileId?: string | undefined;
573
+ search?: string | undefined;
574
+ channel?: string | undefined;
575
+ msisdn?: string | undefined;
576
+ payeeName?: string | undefined;
577
+ partnerReference?: string | undefined;
578
+ approvalStatus?: PayoutApprovalStatus | undefined;
579
+ startDate?: string | undefined;
580
+ endDate?: string | undefined;
581
+ minAmount?: number | undefined;
582
+ maxAmount?: number | undefined;
583
+ }, {
584
+ status?: string | undefined;
585
+ page?: string | undefined;
586
+ limit?: string | undefined;
587
+ id?: string | undefined;
588
+ profileId?: string | undefined;
589
+ search?: string | undefined;
590
+ channel?: string | undefined;
591
+ msisdn?: string | undefined;
592
+ payeeName?: string | undefined;
593
+ partnerReference?: string | undefined;
594
+ approvalStatus?: string | undefined;
595
+ sortBy?: string | undefined;
596
+ sortOrder?: "asc" | "desc" | undefined;
597
+ startDate?: string | undefined;
598
+ endDate?: string | undefined;
599
+ minAmount?: string | undefined;
600
+ maxAmount?: string | undefined;
601
+ }>;
602
+ };
603
+ /**
604
+ * Export types for use in other parts of the application
605
+ * These types can be used for type checking and documentation
606
+ */
607
+ export type { PayoutAuthorizerDTO as PayoutAuthorizer, PayoutDTO, PayoutInputDTO, PayoutFilters, PayoutURLQueryParams, };