@temboplus/afloat 0.1.57 → 0.1.59

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 (466) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +42 -246
  3. package/esm/_dnt.test_shims.d.ts.map +1 -0
  4. package/esm/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +1 -0
  5. package/esm/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +1 -0
  6. package/esm/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +1 -0
  7. package/esm/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +1 -0
  8. package/esm/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +1 -0
  10. package/esm/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +1 -0
  20. package/esm/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +1 -0
  22. package/esm/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +1 -0
  38. package/esm/mod.d.ts +8 -0
  39. package/esm/mod.d.ts.map +1 -0
  40. package/esm/mod.js +7 -0
  41. package/esm/package.json +3 -0
  42. package/{dist/lib/error/error.api.d.ts → esm/src/errors/api_error.d.ts} +1 -0
  43. package/esm/src/errors/api_error.d.ts.map +1 -0
  44. package/esm/src/errors/api_error.js +90 -0
  45. package/esm/src/errors/index.d.ts +3 -0
  46. package/esm/src/errors/index.d.ts.map +1 -0
  47. package/esm/src/errors/index.js +2 -0
  48. package/{dist/lib/error/error.permission.d.ts → esm/src/errors/permission_error.d.ts} +2 -1
  49. package/esm/src/errors/permission_error.d.ts.map +1 -0
  50. package/esm/src/errors/permission_error.js +70 -0
  51. package/{dist/features/admin/admin.contract.d.ts → esm/src/features/admin/contract.d.ts} +77 -41
  52. package/esm/src/features/admin/contract.d.ts.map +1 -0
  53. package/esm/src/features/admin/contract.js +210 -0
  54. package/esm/src/features/admin/index.d.ts +4 -0
  55. package/esm/src/features/admin/index.d.ts.map +1 -0
  56. package/esm/src/features/admin/index.js +3 -0
  57. package/esm/src/features/admin/repository.d.ts +114 -0
  58. package/esm/src/features/admin/repository.d.ts.map +1 -0
  59. package/esm/src/features/admin/repository.js +248 -0
  60. package/{dist/features/admin/admin.dtos.d.ts → esm/src/features/admin/schemas.d.ts} +9 -8
  61. package/esm/src/features/admin/schemas.d.ts.map +1 -0
  62. package/esm/src/features/admin/schemas.js +206 -0
  63. package/{dist/features/auth/access/access.api-contract.d.ts → esm/src/features/auth/access/contract.d.ts} +1 -0
  64. package/esm/src/features/auth/access/contract.d.ts.map +1 -0
  65. package/esm/src/features/auth/access/contract.js +14 -0
  66. package/esm/src/features/auth/access/repository.d.ts +11 -0
  67. package/esm/src/features/auth/access/repository.d.ts.map +1 -0
  68. package/esm/src/features/auth/access/repository.js +25 -0
  69. package/{dist/features/auth/auth.contract.d.ts → esm/src/features/auth/contract.d.ts} +8 -12
  70. package/esm/src/features/auth/contract.d.ts.map +1 -0
  71. package/esm/src/features/auth/contract.js +43 -0
  72. package/{dist/features/auth/identity/identity.api-contract.d.ts → esm/src/features/auth/identity/contract.d.ts} +1 -0
  73. package/esm/src/features/auth/identity/contract.d.ts.map +1 -0
  74. package/esm/src/features/auth/identity/contract.js +17 -0
  75. package/esm/src/features/auth/identity/repository.d.ts +22 -0
  76. package/esm/src/features/auth/identity/repository.d.ts.map +1 -0
  77. package/esm/src/features/auth/identity/repository.js +30 -0
  78. package/esm/src/features/auth/index.d.ts +6 -0
  79. package/esm/src/features/auth/index.d.ts.map +1 -0
  80. package/esm/src/features/auth/index.js +5 -0
  81. package/esm/src/features/auth/manager.d.ts +105 -0
  82. package/esm/src/features/auth/manager.d.ts.map +1 -0
  83. package/esm/src/features/auth/manager.js +181 -0
  84. package/{dist/features/auth/profile/profile.api-contract.d.ts → esm/src/features/auth/profile/contract.d.ts} +6 -8
  85. package/esm/src/features/auth/profile/contract.d.ts.map +1 -0
  86. package/esm/src/features/auth/profile/contract.js +14 -0
  87. package/esm/src/features/auth/profile/repository.d.ts +11 -0
  88. package/esm/src/features/auth/profile/repository.d.ts.map +1 -0
  89. package/esm/src/features/auth/profile/repository.js +25 -0
  90. package/esm/src/features/auth/repository.d.ts +30 -0
  91. package/esm/src/features/auth/repository.d.ts.map +1 -0
  92. package/esm/src/features/auth/repository.js +69 -0
  93. package/{dist/features/auth/storage/client-store.d.ts → esm/src/features/auth/storage/client_store.d.ts} +3 -2
  94. package/esm/src/features/auth/storage/client_store.d.ts.map +1 -0
  95. package/esm/src/features/auth/storage/client_store.js +46 -0
  96. package/{dist/features/auth/storage/client-token-handler.d.ts → esm/src/features/auth/storage/client_token_handler.d.ts} +2 -1
  97. package/esm/src/features/auth/storage/client_token_handler.d.ts.map +1 -0
  98. package/esm/src/features/auth/storage/client_token_handler.js +36 -0
  99. package/esm/src/features/auth/storage/server_store.d.ts +24 -0
  100. package/esm/src/features/auth/storage/server_store.d.ts.map +1 -0
  101. package/esm/src/features/auth/storage/server_store.js +34 -0
  102. package/esm/src/features/auth/storage/server_token_handler.d.ts +36 -0
  103. package/esm/src/features/auth/storage/server_token_handler.d.ts.map +1 -0
  104. package/esm/src/features/auth/storage/server_token_handler.js +115 -0
  105. package/{dist → esm/src}/features/auth/storage/types.d.ts +2 -1
  106. package/esm/src/features/auth/storage/types.d.ts.map +1 -0
  107. package/esm/src/features/auth/storage/types.js +1 -0
  108. package/{dist/features/contact/contact.api-contract.d.ts → esm/src/features/contact/contract.d.ts} +45 -101
  109. package/esm/src/features/contact/contract.d.ts.map +1 -0
  110. package/esm/src/features/contact/contract.js +49 -0
  111. package/esm/src/features/contact/index.d.ts +2 -0
  112. package/esm/src/features/contact/index.d.ts.map +1 -0
  113. package/esm/src/features/contact/index.js +1 -0
  114. package/esm/src/features/contact/repository.d.ts +58 -0
  115. package/esm/src/features/contact/repository.d.ts.map +1 -0
  116. package/esm/src/features/contact/repository.js +108 -0
  117. package/{dist/features/payout/payout.api-contract.d.ts → esm/src/features/payout/contract.d.ts} +187 -351
  118. package/esm/src/features/payout/contract.d.ts.map +1 -0
  119. package/esm/src/features/payout/contract.js +75 -0
  120. package/esm/src/features/payout/index.d.ts +2 -0
  121. package/esm/src/features/payout/index.d.ts.map +1 -0
  122. package/esm/src/features/payout/index.js +1 -0
  123. package/esm/src/features/payout/repository.d.ts +67 -0
  124. package/esm/src/features/payout/repository.d.ts.map +1 -0
  125. package/esm/src/features/payout/repository.js +163 -0
  126. package/{dist/features/wallet/wallet.contract.d.ts → esm/src/features/wallet/contract.d.ts} +7 -9
  127. package/esm/src/features/wallet/contract.d.ts.map +1 -0
  128. package/esm/src/features/wallet/contract.js +38 -0
  129. package/esm/src/features/wallet/index.d.ts +2 -0
  130. package/esm/src/features/wallet/index.d.ts.map +1 -0
  131. package/esm/src/features/wallet/index.js +1 -0
  132. package/esm/src/features/wallet/repository.d.ts +57 -0
  133. package/esm/src/features/wallet/repository.d.ts.map +1 -0
  134. package/esm/src/features/wallet/repository.js +93 -0
  135. package/{dist/models/contact.model.d.ts → esm/src/models/contact/derivatives/contact.d.ts} +16 -23
  136. package/esm/src/models/contact/derivatives/contact.d.ts.map +1 -0
  137. package/esm/src/models/contact/derivatives/contact.js +266 -0
  138. package/esm/src/models/contact/derivatives/contact.test.d.ts.map +1 -0
  139. package/esm/src/models/contact/derivatives/contact_info.d.ts +188 -0
  140. package/esm/src/models/contact/derivatives/contact_info.d.ts.map +1 -0
  141. package/esm/src/models/contact/derivatives/contact_info.js +255 -0
  142. package/esm/src/models/contact/derivatives/contact_info.test.d.ts.map +1 -0
  143. package/esm/src/models/contact/index.d.ts +5 -0
  144. package/esm/src/models/contact/index.d.ts.map +1 -0
  145. package/esm/src/models/contact/index.js +4 -0
  146. package/esm/src/models/contact/schemas.d.ts +66 -0
  147. package/esm/src/models/contact/schemas.d.ts.map +1 -0
  148. package/esm/src/models/contact/schemas.js +64 -0
  149. package/esm/src/models/contact/validation.d.ts +37 -0
  150. package/esm/src/models/contact/validation.d.ts.map +1 -0
  151. package/esm/src/models/contact/validation.js +146 -0
  152. package/esm/src/models/contact/validation.test.d.ts.map +1 -0
  153. package/esm/src/models/index.d.ts +7 -0
  154. package/esm/src/models/index.d.ts.map +1 -0
  155. package/esm/src/models/index.js +6 -0
  156. package/esm/src/models/payout/api.d.ts +29 -0
  157. package/esm/src/models/payout/api.d.ts.map +1 -0
  158. package/esm/src/models/payout/api.js +1 -0
  159. package/esm/src/models/payout/channel.d.ts +58 -0
  160. package/esm/src/models/payout/channel.d.ts.map +1 -0
  161. package/esm/src/models/payout/channel.js +53 -0
  162. package/{dist/models/payout.model.d.ts → esm/src/models/payout/derivatives/payout.d.ts} +17 -13
  163. package/esm/src/models/payout/derivatives/payout.d.ts.map +1 -0
  164. package/esm/src/models/payout/derivatives/payout.js +265 -0
  165. package/esm/src/models/payout/derivatives/payout.test.d.ts.map +1 -0
  166. package/esm/src/models/payout/index.d.ts +6 -0
  167. package/esm/src/models/payout/index.d.ts.map +1 -0
  168. package/esm/src/models/payout/index.js +5 -0
  169. package/esm/src/models/payout/schemas.d.ts +156 -0
  170. package/esm/src/models/payout/schemas.d.ts.map +1 -0
  171. package/esm/src/models/payout/schemas.js +105 -0
  172. package/esm/src/models/payout/status.d.ts +33 -0
  173. package/esm/src/models/payout/status.d.ts.map +1 -0
  174. package/esm/src/models/payout/status.js +34 -0
  175. package/{dist → esm/src}/models/permission.d.ts +2 -1
  176. package/esm/src/models/permission.d.ts.map +1 -0
  177. package/esm/src/models/permission.js +50 -0
  178. package/{dist/models/role.model.d.ts → esm/src/models/role.d.ts} +10 -2
  179. package/esm/src/models/role.d.ts.map +1 -0
  180. package/esm/src/models/role.js +73 -0
  181. package/esm/src/models/user/authenticated-user.d.ts +77 -0
  182. package/esm/src/models/user/authenticated-user.d.ts.map +1 -0
  183. package/esm/src/models/user/authenticated-user.js +226 -0
  184. package/esm/src/models/user/index.d.ts +4 -0
  185. package/esm/src/models/user/index.d.ts.map +1 -0
  186. package/esm/src/models/user/index.js +3 -0
  187. package/{dist/models/managed-user.model.d.ts → esm/src/models/user/managed-user.d.ts} +3 -3
  188. package/esm/src/models/user/managed-user.d.ts.map +1 -0
  189. package/esm/src/models/user/managed-user.js +255 -0
  190. package/{dist/models/profile.model.d.ts → esm/src/models/user/profile.d.ts} +43 -37
  191. package/esm/src/models/user/profile.d.ts.map +1 -0
  192. package/esm/src/models/user/profile.js +334 -0
  193. package/esm/src/models/wallet/index.d.ts +4 -0
  194. package/esm/src/models/wallet/index.d.ts.map +1 -0
  195. package/esm/src/models/wallet/index.js +3 -0
  196. package/esm/src/models/wallet/schemas.d.ts +95 -0
  197. package/esm/src/models/wallet/schemas.d.ts.map +1 -0
  198. package/esm/src/models/wallet/schemas.js +35 -0
  199. package/esm/src/models/wallet/statement_entry.d.ts +160 -0
  200. package/esm/src/models/wallet/statement_entry.d.ts.map +1 -0
  201. package/esm/src/models/wallet/statement_entry.js +255 -0
  202. package/{dist/models/wallet.model.d.ts → esm/src/models/wallet/wallet.d.ts} +46 -3
  203. package/esm/src/models/wallet/wallet.d.ts.map +1 -0
  204. package/esm/src/models/wallet/wallet.js +279 -0
  205. package/{dist/lib/api/base-repository.d.ts → esm/src/shared/base_repository.d.ts} +42 -137
  206. package/esm/src/shared/base_repository.d.ts.map +1 -0
  207. package/esm/src/shared/base_repository.js +153 -0
  208. package/{dist/lib/api/common-responses.d.ts → esm/src/shared/common_responses.d.ts} +1 -0
  209. package/esm/src/shared/common_responses.d.ts.map +1 -0
  210. package/esm/src/shared/common_responses.js +10 -0
  211. package/esm/src/shared/index.d.ts +3 -0
  212. package/esm/src/shared/index.d.ts.map +1 -0
  213. package/esm/src/shared/index.js +2 -0
  214. package/esm/src/shared/token_required_repository.d.ts +78 -0
  215. package/esm/src/shared/token_required_repository.d.ts.map +1 -0
  216. package/esm/src/shared/token_required_repository.js +128 -0
  217. package/package.json +25 -47
  218. package/script/_dnt.test_shims.d.ts.map +1 -0
  219. package/script/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +1 -0
  220. package/script/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +1 -0
  221. package/script/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +1 -0
  222. package/script/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +1 -0
  223. package/script/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +1 -0
  224. package/script/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +1 -0
  225. package/script/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +1 -0
  227. package/script/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +1 -0
  228. package/script/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +1 -0
  230. package/script/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +1 -0
  231. package/script/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +1 -0
  233. package/script/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +1 -0
  234. package/script/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +1 -0
  235. package/script/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +1 -0
  236. package/script/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +1 -0
  237. package/script/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +1 -0
  239. package/script/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +1 -0
  240. package/script/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +1 -0
  241. package/script/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +1 -0
  242. package/script/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +1 -0
  243. package/script/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +1 -0
  244. package/script/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +1 -0
  245. package/script/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +1 -0
  246. package/script/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +1 -0
  247. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +1 -0
  248. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +1 -0
  249. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +1 -0
  250. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +1 -0
  251. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +1 -0
  252. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +1 -0
  253. package/script/mod.d.ts +8 -0
  254. package/script/mod.d.ts.map +1 -0
  255. package/script/mod.js +23 -0
  256. package/script/package.json +3 -0
  257. package/script/src/errors/api_error.d.ts +63 -0
  258. package/script/src/errors/api_error.d.ts.map +1 -0
  259. package/script/src/errors/api_error.js +94 -0
  260. package/script/src/errors/index.d.ts +3 -0
  261. package/script/src/errors/index.d.ts.map +1 -0
  262. package/script/src/errors/index.js +18 -0
  263. package/script/src/errors/permission_error.d.ts +48 -0
  264. package/script/src/errors/permission_error.d.ts.map +1 -0
  265. package/script/src/errors/permission_error.js +74 -0
  266. package/script/src/features/admin/contract.d.ts +842 -0
  267. package/script/src/features/admin/contract.d.ts.map +1 -0
  268. package/script/src/features/admin/contract.js +213 -0
  269. package/script/src/features/admin/index.d.ts +4 -0
  270. package/script/src/features/admin/index.d.ts.map +1 -0
  271. package/script/src/features/admin/index.js +19 -0
  272. package/script/src/features/admin/repository.d.ts +114 -0
  273. package/script/src/features/admin/repository.d.ts.map +1 -0
  274. package/script/src/features/admin/repository.js +252 -0
  275. package/script/src/features/admin/schemas.d.ts +146 -0
  276. package/script/src/features/admin/schemas.d.ts.map +1 -0
  277. package/script/src/features/admin/schemas.js +209 -0
  278. package/script/src/features/auth/access/contract.d.ts +14 -0
  279. package/script/src/features/auth/access/contract.d.ts.map +1 -0
  280. package/script/src/features/auth/access/contract.js +17 -0
  281. package/script/src/features/auth/access/repository.d.ts +11 -0
  282. package/script/src/features/auth/access/repository.d.ts.map +1 -0
  283. package/script/src/features/auth/access/repository.js +29 -0
  284. package/script/src/features/auth/contract.d.ts +112 -0
  285. package/script/src/features/auth/contract.d.ts.map +1 -0
  286. package/script/src/features/auth/contract.js +46 -0
  287. package/script/src/features/auth/identity/contract.d.ts +23 -0
  288. package/script/src/features/auth/identity/contract.d.ts.map +1 -0
  289. package/script/src/features/auth/identity/contract.js +20 -0
  290. package/script/src/features/auth/identity/repository.d.ts +22 -0
  291. package/script/src/features/auth/identity/repository.d.ts.map +1 -0
  292. package/script/src/features/auth/identity/repository.js +34 -0
  293. package/script/src/features/auth/index.d.ts +6 -0
  294. package/script/src/features/auth/index.d.ts.map +1 -0
  295. package/script/src/features/auth/index.js +21 -0
  296. package/script/src/features/auth/manager.d.ts +105 -0
  297. package/script/src/features/auth/manager.d.ts.map +1 -0
  298. package/script/src/features/auth/manager.js +185 -0
  299. package/script/src/features/auth/profile/contract.d.ts +37 -0
  300. package/script/src/features/auth/profile/contract.d.ts.map +1 -0
  301. package/script/src/features/auth/profile/contract.js +17 -0
  302. package/script/src/features/auth/profile/repository.d.ts +11 -0
  303. package/script/src/features/auth/profile/repository.d.ts.map +1 -0
  304. package/script/src/features/auth/profile/repository.js +29 -0
  305. package/script/src/features/auth/repository.d.ts +30 -0
  306. package/script/src/features/auth/repository.d.ts.map +1 -0
  307. package/script/src/features/auth/repository.js +73 -0
  308. package/script/src/features/auth/storage/client_store.d.ts +30 -0
  309. package/script/src/features/auth/storage/client_store.d.ts.map +1 -0
  310. package/script/src/features/auth/storage/client_store.js +51 -0
  311. package/script/src/features/auth/storage/client_token_handler.d.ts +32 -0
  312. package/script/src/features/auth/storage/client_token_handler.d.ts.map +1 -0
  313. package/script/src/features/auth/storage/client_token_handler.js +40 -0
  314. package/script/src/features/auth/storage/server_store.d.ts +24 -0
  315. package/script/src/features/auth/storage/server_store.d.ts.map +1 -0
  316. package/script/src/features/auth/storage/server_store.js +38 -0
  317. package/script/src/features/auth/storage/server_token_handler.d.ts +36 -0
  318. package/script/src/features/auth/storage/server_token_handler.d.ts.map +1 -0
  319. package/script/src/features/auth/storage/server_token_handler.js +119 -0
  320. package/script/src/features/auth/storage/types.d.ts +42 -0
  321. package/script/src/features/auth/storage/types.d.ts.map +1 -0
  322. package/script/src/features/auth/storage/types.js +2 -0
  323. package/script/src/features/contact/contract.d.ts +170 -0
  324. package/script/src/features/contact/contract.d.ts.map +1 -0
  325. package/script/src/features/contact/contract.js +52 -0
  326. package/script/src/features/contact/index.d.ts +2 -0
  327. package/script/src/features/contact/index.d.ts.map +1 -0
  328. package/script/src/features/contact/index.js +17 -0
  329. package/script/src/features/contact/repository.d.ts +58 -0
  330. package/script/src/features/contact/repository.d.ts.map +1 -0
  331. package/script/src/features/contact/repository.js +112 -0
  332. package/script/src/features/payout/contract.d.ts +623 -0
  333. package/script/src/features/payout/contract.d.ts.map +1 -0
  334. package/script/src/features/payout/contract.js +78 -0
  335. package/script/src/features/payout/index.d.ts +2 -0
  336. package/script/src/features/payout/index.d.ts.map +1 -0
  337. package/script/src/features/payout/index.js +17 -0
  338. package/script/src/features/payout/repository.d.ts +67 -0
  339. package/script/src/features/payout/repository.d.ts.map +1 -0
  340. package/script/src/features/payout/repository.js +167 -0
  341. package/script/src/features/wallet/contract.d.ts +137 -0
  342. package/script/src/features/wallet/contract.d.ts.map +1 -0
  343. package/script/src/features/wallet/contract.js +41 -0
  344. package/script/src/features/wallet/index.d.ts +2 -0
  345. package/script/src/features/wallet/index.d.ts.map +1 -0
  346. package/script/src/features/wallet/index.js +17 -0
  347. package/script/src/features/wallet/repository.d.ts +57 -0
  348. package/script/src/features/wallet/repository.d.ts.map +1 -0
  349. package/script/src/features/wallet/repository.js +97 -0
  350. package/script/src/models/contact/derivatives/contact.d.ts +172 -0
  351. package/script/src/models/contact/derivatives/contact.d.ts.map +1 -0
  352. package/script/src/models/contact/derivatives/contact.js +270 -0
  353. package/script/src/models/contact/derivatives/contact.test.d.ts.map +1 -0
  354. package/script/src/models/contact/derivatives/contact_info.d.ts +188 -0
  355. package/script/src/models/contact/derivatives/contact_info.d.ts.map +1 -0
  356. package/script/src/models/contact/derivatives/contact_info.js +260 -0
  357. package/script/src/models/contact/derivatives/contact_info.test.d.ts.map +1 -0
  358. package/script/src/models/contact/index.d.ts +5 -0
  359. package/script/src/models/contact/index.d.ts.map +1 -0
  360. package/script/src/models/contact/index.js +20 -0
  361. package/script/src/models/contact/schemas.d.ts +66 -0
  362. package/script/src/models/contact/schemas.d.ts.map +1 -0
  363. package/script/src/models/contact/schemas.js +67 -0
  364. package/script/src/models/contact/validation.d.ts +37 -0
  365. package/script/src/models/contact/validation.d.ts.map +1 -0
  366. package/script/src/models/contact/validation.js +153 -0
  367. package/script/src/models/contact/validation.test.d.ts.map +1 -0
  368. package/script/src/models/index.d.ts +7 -0
  369. package/script/src/models/index.d.ts.map +1 -0
  370. package/script/src/models/index.js +22 -0
  371. package/script/src/models/payout/api.d.ts +29 -0
  372. package/script/src/models/payout/api.d.ts.map +1 -0
  373. package/script/src/models/payout/api.js +2 -0
  374. package/script/src/models/payout/channel.d.ts +58 -0
  375. package/script/src/models/payout/channel.d.ts.map +1 -0
  376. package/script/src/models/payout/channel.js +56 -0
  377. package/script/src/models/payout/derivatives/payout.d.ts +158 -0
  378. package/script/src/models/payout/derivatives/payout.d.ts.map +1 -0
  379. package/script/src/models/payout/derivatives/payout.js +269 -0
  380. package/script/src/models/payout/derivatives/payout.test.d.ts.map +1 -0
  381. package/script/src/models/payout/index.d.ts +6 -0
  382. package/script/src/models/payout/index.d.ts.map +1 -0
  383. package/script/src/models/payout/index.js +21 -0
  384. package/script/src/models/payout/schemas.d.ts +156 -0
  385. package/script/src/models/payout/schemas.d.ts.map +1 -0
  386. package/script/src/models/payout/schemas.js +108 -0
  387. package/script/src/models/payout/status.d.ts +33 -0
  388. package/script/src/models/payout/status.d.ts.map +1 -0
  389. package/script/src/models/payout/status.js +37 -0
  390. package/script/src/models/permission.d.ts +55 -0
  391. package/script/src/models/permission.d.ts.map +1 -0
  392. package/script/src/models/permission.js +53 -0
  393. package/script/src/models/role.d.ts +21 -0
  394. package/script/src/models/role.d.ts.map +1 -0
  395. package/script/src/models/role.js +77 -0
  396. package/script/src/models/user/authenticated-user.d.ts +77 -0
  397. package/script/src/models/user/authenticated-user.d.ts.map +1 -0
  398. package/script/src/models/user/authenticated-user.js +230 -0
  399. package/script/src/models/user/index.d.ts +4 -0
  400. package/script/src/models/user/index.d.ts.map +1 -0
  401. package/script/src/models/user/index.js +19 -0
  402. package/script/src/models/user/managed-user.d.ts +108 -0
  403. package/script/src/models/user/managed-user.d.ts.map +1 -0
  404. package/script/src/models/user/managed-user.js +260 -0
  405. package/script/src/models/user/profile.d.ts +161 -0
  406. package/script/src/models/user/profile.d.ts.map +1 -0
  407. package/script/src/models/user/profile.js +338 -0
  408. package/script/src/models/wallet/index.d.ts +4 -0
  409. package/script/src/models/wallet/index.d.ts.map +1 -0
  410. package/script/src/models/wallet/index.js +19 -0
  411. package/script/src/models/wallet/schemas.d.ts +95 -0
  412. package/script/src/models/wallet/schemas.d.ts.map +1 -0
  413. package/script/src/models/wallet/schemas.js +38 -0
  414. package/script/src/models/wallet/statement_entry.d.ts +160 -0
  415. package/script/src/models/wallet/statement_entry.d.ts.map +1 -0
  416. package/script/src/models/wallet/statement_entry.js +259 -0
  417. package/script/src/models/wallet/wallet.d.ts +147 -0
  418. package/script/src/models/wallet/wallet.d.ts.map +1 -0
  419. package/script/src/models/wallet/wallet.js +283 -0
  420. package/script/src/shared/base_repository.d.ts +80 -0
  421. package/script/src/shared/base_repository.d.ts.map +1 -0
  422. package/script/src/shared/base_repository.js +157 -0
  423. package/script/src/shared/common_responses.d.ts +13 -0
  424. package/script/src/shared/common_responses.d.ts.map +1 -0
  425. package/script/src/shared/common_responses.js +13 -0
  426. package/script/src/shared/index.d.ts +3 -0
  427. package/script/src/shared/index.d.ts.map +1 -0
  428. package/script/src/shared/index.js +18 -0
  429. package/script/src/shared/token_required_repository.d.ts +78 -0
  430. package/script/src/shared/token_required_repository.d.ts.map +1 -0
  431. package/script/src/shared/token_required_repository.js +132 -0
  432. package/dist/features/admin/admin.repository.d.ts +0 -179
  433. package/dist/features/admin/index.d.ts +0 -2
  434. package/dist/features/auth/access/access.repository.d.ts +0 -55
  435. package/dist/features/auth/auth.manager.d.ts +0 -249
  436. package/dist/features/auth/auth.repository.d.ts +0 -66
  437. package/dist/features/auth/auth.store.d.ts +0 -139
  438. package/dist/features/auth/identity/identity.repository.d.ts +0 -58
  439. package/dist/features/auth/index.d.ts +0 -5
  440. package/dist/features/auth/profile/profile.dtos.d.ts +0 -80
  441. package/dist/features/auth/profile/profile.repository.d.ts +0 -56
  442. package/dist/features/contact/contact-input-handler.d.ts +0 -16
  443. package/dist/features/contact/contact.dtos.d.ts +0 -90
  444. package/dist/features/contact/contact.repository.d.ts +0 -116
  445. package/dist/features/contact/index.d.ts +0 -2
  446. package/dist/features/payout/index.d.ts +0 -3
  447. package/dist/features/payout/payout-channel-handler.d.ts +0 -108
  448. package/dist/features/payout/payout.dtos.d.ts +0 -365
  449. package/dist/features/payout/payout.repository.d.ts +0 -193
  450. package/dist/features/wallet/index.d.ts +0 -4
  451. package/dist/features/wallet/wallet-manager.session.d.ts +0 -143
  452. package/dist/features/wallet/wallet.dtos.d.ts +0 -204
  453. package/dist/features/wallet/wallet.repository.d.ts +0 -120
  454. package/dist/features/wallet/wallet.utils.d.ts +0 -17
  455. package/dist/index.cjs.js +0 -2
  456. package/dist/index.cjs.js.map +0 -1
  457. package/dist/index.d.ts +0 -7
  458. package/dist/index.esm.js +0 -2
  459. package/dist/index.esm.js.map +0 -1
  460. package/dist/lib/api/index.d.ts +0 -2
  461. package/dist/lib/error/error.utils.d.ts +0 -22
  462. package/dist/lib/error/index.d.ts +0 -3
  463. package/dist/models/contact-info.model.d.ts +0 -817
  464. package/dist/models/index.d.ts +0 -10
  465. package/dist/models/statement-entry.model.d.ts +0 -195
  466. package/dist/models/user.model.d.ts +0 -65
@@ -18,189 +18,168 @@ export declare const contract: {
18
18
  rangeStart: z.ZodNumber;
19
19
  rangeEnd: z.ZodNumber;
20
20
  eager: z.ZodString;
21
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
21
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>>>;
22
22
  orderByDesc: z.ZodString;
23
- msisdn: z.ZodOptional<z.ZodString>;
24
23
  }, "strip", z.ZodTypeAny, {
24
+ orderByDesc: string;
25
25
  rangeStart: number;
26
26
  rangeEnd: number;
27
27
  eager: string;
28
- orderByDesc: string;
29
- msisdn?: string | undefined;
30
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
28
+ approvalStatus?: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS | null | undefined;
31
29
  }, {
30
+ orderByDesc: string;
32
31
  rangeStart: number;
33
32
  rangeEnd: number;
34
33
  eager: string;
35
- orderByDesc: string;
36
- msisdn?: string | undefined;
37
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
34
+ approvalStatus?: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS | null | undefined;
38
35
  }>;
39
36
  method: "GET";
40
37
  path: "";
41
38
  responses: {
42
39
  200: z.ZodObject<{
43
40
  results: z.ZodArray<z.ZodObject<{
41
+ channel: z.ZodString;
44
42
  msisdn: z.ZodString;
45
43
  amount: z.ZodNumber;
46
44
  description: z.ZodString;
47
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- } & {
45
+ notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
49
46
  id: z.ZodString;
50
47
  profileId: z.ZodString;
51
48
  payeeName: z.ZodString;
52
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
53
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
54
- channel: z.ZodString;
55
- status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
49
+ status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
56
50
  statusMessage: z.ZodString;
57
- partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
58
52
  createdAt: z.ZodDate;
59
53
  updatedAt: z.ZodDate;
60
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
61
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
62
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63
- id: z.ZodString;
54
+ approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
55
+ createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
64
56
  name: z.ZodString;
65
57
  identity: z.ZodString;
66
- }, "strip", z.ZodTypeAny, {
58
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
67
59
  name: string;
68
- id: string;
69
60
  identity: string;
70
61
  }, {
71
62
  name: string;
72
- id: string;
73
63
  identity: string;
74
- }>>>;
75
- actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
- id: z.ZodString;
64
+ }>>, {
65
+ name: string;
66
+ identity: string;
67
+ } | undefined, {
68
+ name: string;
69
+ identity: string;
70
+ } | null>>;
71
+ actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
77
72
  name: z.ZodString;
78
73
  identity: z.ZodString;
79
- }, "strip", z.ZodTypeAny, {
74
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
80
75
  name: string;
81
- id: string;
82
76
  identity: string;
83
77
  }, {
84
78
  name: string;
85
- id: string;
86
79
  identity: string;
87
- }>>>;
88
- }, "strip", z.ZodTypeAny, {
89
- status: import("./payout.dtos").PayoutStatus;
80
+ }>>, {
81
+ name: string;
82
+ identity: string;
83
+ } | undefined, {
84
+ name: string;
85
+ identity: string;
86
+ } | null>>;
87
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
88
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
90
89
  id: string;
91
90
  channel: string;
91
+ profileId: string;
92
+ createdAt: Date;
93
+ updatedAt: Date;
92
94
  msisdn: string;
93
95
  amount: number;
94
96
  description: string;
95
97
  payeeName: string;
96
- profileId: string;
97
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
98
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
99
98
  statusMessage: string;
100
- createdAt: Date;
101
- updatedAt: Date;
102
- notes?: string | null | undefined;
103
- partnerReference?: string | null | undefined;
104
- actionedAt?: Date | null | undefined;
105
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
99
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
100
+ notes?: string | undefined;
101
+ partnerReference?: string | undefined;
106
102
  createdBy?: {
107
103
  name: string;
108
- id: string;
109
104
  identity: string;
110
- } | null | undefined;
105
+ } | undefined;
111
106
  actionedBy?: {
112
107
  name: string;
113
- id: string;
114
108
  identity: string;
115
- } | null | undefined;
109
+ } | undefined;
116
110
  }, {
117
- status: import("./payout.dtos").PayoutStatus;
111
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
118
112
  id: string;
119
113
  channel: string;
114
+ profileId: string;
115
+ createdAt: Date;
116
+ updatedAt: Date;
120
117
  msisdn: string;
121
118
  amount: number;
122
119
  description: string;
123
120
  payeeName: string;
124
- profileId: string;
125
121
  statusMessage: string;
126
- createdAt: Date;
127
- updatedAt: Date;
122
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
128
123
  notes?: string | null | undefined;
129
- countryCode?: string | undefined;
130
- currencyCode?: string | undefined;
131
124
  partnerReference?: string | null | undefined;
132
- actionedAt?: Date | null | undefined;
133
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
134
125
  createdBy?: {
135
126
  name: string;
136
- id: string;
137
127
  identity: string;
138
128
  } | null | undefined;
139
129
  actionedBy?: {
140
130
  name: string;
141
- id: string;
142
131
  identity: string;
143
132
  } | null | undefined;
144
133
  }>, "many">;
145
134
  total: z.ZodNumber;
146
135
  }, "strip", z.ZodTypeAny, {
147
136
  results: {
148
- status: import("./payout.dtos").PayoutStatus;
137
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
149
138
  id: string;
150
139
  channel: string;
140
+ profileId: string;
141
+ createdAt: Date;
142
+ updatedAt: Date;
151
143
  msisdn: string;
152
144
  amount: number;
153
145
  description: string;
154
146
  payeeName: string;
155
- profileId: string;
156
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
157
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
158
147
  statusMessage: string;
159
- createdAt: Date;
160
- updatedAt: Date;
161
- notes?: string | null | undefined;
162
- partnerReference?: string | null | undefined;
163
- actionedAt?: Date | null | undefined;
164
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
148
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
149
+ notes?: string | undefined;
150
+ partnerReference?: string | undefined;
165
151
  createdBy?: {
166
152
  name: string;
167
- id: string;
168
153
  identity: string;
169
- } | null | undefined;
154
+ } | undefined;
170
155
  actionedBy?: {
171
156
  name: string;
172
- id: string;
173
157
  identity: string;
174
- } | null | undefined;
158
+ } | undefined;
175
159
  }[];
176
160
  total: number;
177
161
  }, {
178
162
  results: {
179
- status: import("./payout.dtos").PayoutStatus;
163
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
180
164
  id: string;
181
165
  channel: string;
166
+ profileId: string;
167
+ createdAt: Date;
168
+ updatedAt: Date;
182
169
  msisdn: string;
183
170
  amount: number;
184
171
  description: string;
185
172
  payeeName: string;
186
- profileId: string;
187
173
  statusMessage: string;
188
- createdAt: Date;
189
- updatedAt: Date;
174
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
190
175
  notes?: string | null | undefined;
191
- countryCode?: string | undefined;
192
- currencyCode?: string | undefined;
193
176
  partnerReference?: string | null | undefined;
194
- actionedAt?: Date | null | undefined;
195
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
196
177
  createdBy?: {
197
178
  name: string;
198
- id: string;
199
179
  identity: string;
200
180
  } | null | undefined;
201
181
  actionedBy?: {
202
182
  name: string;
203
- id: string;
204
183
  identity: string;
205
184
  } | null | undefined;
206
185
  }[];
@@ -213,186 +192,168 @@ export declare const contract: {
213
192
  rangeStart: z.ZodNumber;
214
193
  rangeEnd: z.ZodNumber;
215
194
  eager: z.ZodString;
216
- approvalStatus: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>;
195
+ approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
217
196
  orderByDesc: z.ZodString;
218
197
  }, "strip", z.ZodTypeAny, {
219
- approvalStatus: import("./payout.dtos").PayoutApprovalStatus;
198
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
199
+ orderByDesc: string;
220
200
  rangeStart: number;
221
201
  rangeEnd: number;
222
202
  eager: string;
223
- orderByDesc: string;
224
203
  }, {
225
- approvalStatus: import("./payout.dtos").PayoutApprovalStatus;
204
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
205
+ orderByDesc: string;
226
206
  rangeStart: number;
227
207
  rangeEnd: number;
228
208
  eager: string;
229
- orderByDesc: string;
230
209
  }>;
231
210
  method: "GET";
232
211
  path: "";
233
212
  responses: {
234
213
  200: z.ZodObject<{
235
214
  results: z.ZodArray<z.ZodObject<{
215
+ channel: z.ZodString;
236
216
  msisdn: z.ZodString;
237
217
  amount: z.ZodNumber;
238
218
  description: z.ZodString;
239
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
- } & {
219
+ notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
241
220
  id: z.ZodString;
242
221
  profileId: z.ZodString;
243
222
  payeeName: z.ZodString;
244
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
245
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
246
- channel: z.ZodString;
247
- status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
223
+ status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
248
224
  statusMessage: z.ZodString;
249
- partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
250
226
  createdAt: z.ZodDate;
251
227
  updatedAt: z.ZodDate;
252
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
253
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
254
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
255
- id: z.ZodString;
228
+ approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
229
+ createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
256
230
  name: z.ZodString;
257
231
  identity: z.ZodString;
258
- }, "strip", z.ZodTypeAny, {
232
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
259
233
  name: string;
260
- id: string;
261
234
  identity: string;
262
235
  }, {
263
236
  name: string;
264
- id: string;
265
237
  identity: string;
266
- }>>>;
267
- actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
268
- id: z.ZodString;
238
+ }>>, {
239
+ name: string;
240
+ identity: string;
241
+ } | undefined, {
242
+ name: string;
243
+ identity: string;
244
+ } | null>>;
245
+ actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
269
246
  name: z.ZodString;
270
247
  identity: z.ZodString;
271
- }, "strip", z.ZodTypeAny, {
248
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
272
249
  name: string;
273
- id: string;
274
250
  identity: string;
275
251
  }, {
276
252
  name: string;
277
- id: string;
278
253
  identity: string;
279
- }>>>;
280
- }, "strip", z.ZodTypeAny, {
281
- status: import("./payout.dtos").PayoutStatus;
254
+ }>>, {
255
+ name: string;
256
+ identity: string;
257
+ } | undefined, {
258
+ name: string;
259
+ identity: string;
260
+ } | null>>;
261
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
262
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
282
263
  id: string;
283
264
  channel: string;
265
+ profileId: string;
266
+ createdAt: Date;
267
+ updatedAt: Date;
284
268
  msisdn: string;
285
269
  amount: number;
286
270
  description: string;
287
271
  payeeName: string;
288
- profileId: string;
289
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
290
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
291
272
  statusMessage: string;
292
- createdAt: Date;
293
- updatedAt: Date;
294
- notes?: string | null | undefined;
295
- partnerReference?: string | null | undefined;
296
- actionedAt?: Date | null | undefined;
297
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
273
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
274
+ notes?: string | undefined;
275
+ partnerReference?: string | undefined;
298
276
  createdBy?: {
299
277
  name: string;
300
- id: string;
301
278
  identity: string;
302
- } | null | undefined;
279
+ } | undefined;
303
280
  actionedBy?: {
304
281
  name: string;
305
- id: string;
306
282
  identity: string;
307
- } | null | undefined;
283
+ } | undefined;
308
284
  }, {
309
- status: import("./payout.dtos").PayoutStatus;
285
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
310
286
  id: string;
311
287
  channel: string;
288
+ profileId: string;
289
+ createdAt: Date;
290
+ updatedAt: Date;
312
291
  msisdn: string;
313
292
  amount: number;
314
293
  description: string;
315
294
  payeeName: string;
316
- profileId: string;
317
295
  statusMessage: string;
318
- createdAt: Date;
319
- updatedAt: Date;
296
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
320
297
  notes?: string | null | undefined;
321
- countryCode?: string | undefined;
322
- currencyCode?: string | undefined;
323
298
  partnerReference?: string | null | undefined;
324
- actionedAt?: Date | null | undefined;
325
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
326
299
  createdBy?: {
327
300
  name: string;
328
- id: string;
329
301
  identity: string;
330
302
  } | null | undefined;
331
303
  actionedBy?: {
332
304
  name: string;
333
- id: string;
334
305
  identity: string;
335
306
  } | null | undefined;
336
307
  }>, "many">;
337
308
  total: z.ZodNumber;
338
309
  }, "strip", z.ZodTypeAny, {
339
310
  results: {
340
- status: import("./payout.dtos").PayoutStatus;
311
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
341
312
  id: string;
342
313
  channel: string;
314
+ profileId: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
343
317
  msisdn: string;
344
318
  amount: number;
345
319
  description: string;
346
320
  payeeName: string;
347
- profileId: string;
348
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
349
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
350
321
  statusMessage: string;
351
- createdAt: Date;
352
- updatedAt: Date;
353
- notes?: string | null | undefined;
354
- partnerReference?: string | null | undefined;
355
- actionedAt?: Date | null | undefined;
356
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
322
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
323
+ notes?: string | undefined;
324
+ partnerReference?: string | undefined;
357
325
  createdBy?: {
358
326
  name: string;
359
- id: string;
360
327
  identity: string;
361
- } | null | undefined;
328
+ } | undefined;
362
329
  actionedBy?: {
363
330
  name: string;
364
- id: string;
365
331
  identity: string;
366
- } | null | undefined;
332
+ } | undefined;
367
333
  }[];
368
334
  total: number;
369
335
  }, {
370
336
  results: {
371
- status: import("./payout.dtos").PayoutStatus;
337
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
372
338
  id: string;
373
339
  channel: string;
340
+ profileId: string;
341
+ createdAt: Date;
342
+ updatedAt: Date;
374
343
  msisdn: string;
375
344
  amount: number;
376
345
  description: string;
377
346
  payeeName: string;
378
- profileId: string;
379
347
  statusMessage: string;
380
- createdAt: Date;
381
- updatedAt: Date;
348
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
382
349
  notes?: string | null | undefined;
383
- countryCode?: string | undefined;
384
- currencyCode?: string | undefined;
385
350
  partnerReference?: string | null | undefined;
386
- actionedAt?: Date | null | undefined;
387
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
388
351
  createdBy?: {
389
352
  name: string;
390
- id: string;
391
353
  identity: string;
392
354
  } | null | undefined;
393
355
  actionedBy?: {
394
356
  name: string;
395
- id: string;
396
357
  identity: string;
397
358
  } | null | undefined;
398
359
  }[];
@@ -407,16 +368,15 @@ export declare const contract: {
407
368
  msisdn: z.ZodString;
408
369
  amount: z.ZodNumber;
409
370
  description: z.ZodString;
410
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
- } & {
371
+ notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
412
372
  payeeName: z.ZodString;
413
- }, "strip", z.ZodTypeAny, {
373
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
414
374
  channel: string;
415
375
  msisdn: string;
416
376
  amount: number;
417
377
  description: string;
418
378
  payeeName: string;
419
- notes?: string | null | undefined;
379
+ notes?: string | undefined;
420
380
  }, {
421
381
  channel: string;
422
382
  msisdn: string;
@@ -428,104 +388,96 @@ export declare const contract: {
428
388
  path: "";
429
389
  responses: {
430
390
  201: z.ZodObject<{
391
+ channel: z.ZodString;
431
392
  msisdn: z.ZodString;
432
393
  amount: z.ZodNumber;
433
394
  description: z.ZodString;
434
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
- } & {
395
+ notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
436
396
  id: z.ZodString;
437
397
  profileId: z.ZodString;
438
398
  payeeName: z.ZodString;
439
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
440
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
441
- channel: z.ZodString;
442
- status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
399
+ status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
443
400
  statusMessage: z.ZodString;
444
- partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
445
402
  createdAt: z.ZodDate;
446
403
  updatedAt: z.ZodDate;
447
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
448
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
449
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
450
- id: z.ZodString;
404
+ approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
405
+ createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
451
406
  name: z.ZodString;
452
407
  identity: z.ZodString;
453
- }, "strip", z.ZodTypeAny, {
408
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
454
409
  name: string;
455
- id: string;
456
410
  identity: string;
457
411
  }, {
458
412
  name: string;
459
- id: string;
460
413
  identity: string;
461
- }>>>;
462
- actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
463
- id: z.ZodString;
414
+ }>>, {
415
+ name: string;
416
+ identity: string;
417
+ } | undefined, {
418
+ name: string;
419
+ identity: string;
420
+ } | null>>;
421
+ actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
464
422
  name: z.ZodString;
465
423
  identity: z.ZodString;
466
- }, "strip", z.ZodTypeAny, {
424
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
467
425
  name: string;
468
- id: string;
469
426
  identity: string;
470
427
  }, {
471
428
  name: string;
472
- id: string;
473
429
  identity: string;
474
- }>>>;
475
- }, "strip", z.ZodTypeAny, {
476
- status: import("./payout.dtos").PayoutStatus;
430
+ }>>, {
431
+ name: string;
432
+ identity: string;
433
+ } | undefined, {
434
+ name: string;
435
+ identity: string;
436
+ } | null>>;
437
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
438
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
477
439
  id: string;
478
440
  channel: string;
441
+ profileId: string;
442
+ createdAt: Date;
443
+ updatedAt: Date;
479
444
  msisdn: string;
480
445
  amount: number;
481
446
  description: string;
482
447
  payeeName: string;
483
- profileId: string;
484
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
485
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
486
448
  statusMessage: string;
487
- createdAt: Date;
488
- updatedAt: Date;
489
- notes?: string | null | undefined;
490
- partnerReference?: string | null | undefined;
491
- actionedAt?: Date | null | undefined;
492
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
449
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
450
+ notes?: string | undefined;
451
+ partnerReference?: string | undefined;
493
452
  createdBy?: {
494
453
  name: string;
495
- id: string;
496
454
  identity: string;
497
- } | null | undefined;
455
+ } | undefined;
498
456
  actionedBy?: {
499
457
  name: string;
500
- id: string;
501
458
  identity: string;
502
- } | null | undefined;
459
+ } | undefined;
503
460
  }, {
504
- status: import("./payout.dtos").PayoutStatus;
461
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
505
462
  id: string;
506
463
  channel: string;
464
+ profileId: string;
465
+ createdAt: Date;
466
+ updatedAt: Date;
507
467
  msisdn: string;
508
468
  amount: number;
509
469
  description: string;
510
470
  payeeName: string;
511
- profileId: string;
512
471
  statusMessage: string;
513
- createdAt: Date;
514
- updatedAt: Date;
472
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
515
473
  notes?: string | null | undefined;
516
- countryCode?: string | undefined;
517
- currencyCode?: string | undefined;
518
474
  partnerReference?: string | null | undefined;
519
- actionedAt?: Date | null | undefined;
520
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
521
475
  createdBy?: {
522
476
  name: string;
523
- id: string;
524
477
  identity: string;
525
478
  } | null | undefined;
526
479
  actionedBy?: {
527
480
  name: string;
528
- id: string;
529
481
  identity: string;
530
482
  } | null | undefined;
531
483
  }>;
@@ -566,218 +518,101 @@ export declare const contract: {
566
518
  path: "/:id/approve";
567
519
  responses: {
568
520
  201: z.ZodObject<{
521
+ channel: z.ZodString;
569
522
  msisdn: z.ZodString;
570
523
  amount: z.ZodNumber;
571
524
  description: z.ZodString;
572
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
573
- } & {
525
+ notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
574
526
  id: z.ZodString;
575
527
  profileId: z.ZodString;
576
528
  payeeName: z.ZodString;
577
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
578
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
579
- channel: z.ZodString;
580
- status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
529
+ status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
581
530
  statusMessage: z.ZodString;
582
- partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
531
+ partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
583
532
  createdAt: z.ZodDate;
584
533
  updatedAt: z.ZodDate;
585
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
586
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
587
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
588
- id: z.ZodString;
534
+ approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
535
+ createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
589
536
  name: z.ZodString;
590
537
  identity: z.ZodString;
591
- }, "strip", z.ZodTypeAny, {
538
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
592
539
  name: string;
593
- id: string;
594
540
  identity: string;
595
541
  }, {
596
542
  name: string;
597
- id: string;
598
- identity: string;
599
- }>>>;
600
- actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
601
- id: z.ZodString;
602
- name: z.ZodString;
603
- identity: z.ZodString;
604
- }, "strip", z.ZodTypeAny, {
605
- name: string;
606
- id: string;
607
543
  identity: string;
608
- }, {
609
- name: string;
610
- id: string;
611
- identity: string;
612
- }>>>;
613
- }, "strip", z.ZodTypeAny, {
614
- status: import("./payout.dtos").PayoutStatus;
615
- id: string;
616
- channel: string;
617
- msisdn: string;
618
- amount: number;
619
- description: string;
620
- payeeName: string;
621
- profileId: string;
622
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
623
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
624
- statusMessage: string;
625
- createdAt: Date;
626
- updatedAt: Date;
627
- notes?: string | null | undefined;
628
- partnerReference?: string | null | undefined;
629
- actionedAt?: Date | null | undefined;
630
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
631
- createdBy?: {
632
- name: string;
633
- id: string;
634
- identity: string;
635
- } | null | undefined;
636
- actionedBy?: {
637
- name: string;
638
- id: string;
639
- identity: string;
640
- } | null | undefined;
641
- }, {
642
- status: import("./payout.dtos").PayoutStatus;
643
- id: string;
644
- channel: string;
645
- msisdn: string;
646
- amount: number;
647
- description: string;
648
- payeeName: string;
649
- profileId: string;
650
- statusMessage: string;
651
- createdAt: Date;
652
- updatedAt: Date;
653
- notes?: string | null | undefined;
654
- countryCode?: string | undefined;
655
- currencyCode?: string | undefined;
656
- partnerReference?: string | null | undefined;
657
- actionedAt?: Date | null | undefined;
658
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
659
- createdBy?: {
544
+ }>>, {
660
545
  name: string;
661
- id: string;
662
546
  identity: string;
663
- } | null | undefined;
664
- actionedBy?: {
547
+ } | undefined, {
665
548
  name: string;
666
- id: string;
667
549
  identity: string;
668
- } | null | undefined;
669
- }>;
670
- 404: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
671
- 409: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
672
- };
673
- };
674
- getPayout: {
675
- method: "GET";
676
- path: "/:id/";
677
- responses: {
678
- 200: z.ZodObject<{
679
- msisdn: z.ZodString;
680
- amount: z.ZodNumber;
681
- description: z.ZodString;
682
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
683
- } & {
684
- id: z.ZodString;
685
- profileId: z.ZodString;
686
- payeeName: z.ZodString;
687
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
688
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
689
- channel: z.ZodString;
690
- status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
691
- statusMessage: z.ZodString;
692
- partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
693
- createdAt: z.ZodDate;
694
- updatedAt: z.ZodDate;
695
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
696
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
697
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
698
- id: z.ZodString;
550
+ } | null>>;
551
+ actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
699
552
  name: z.ZodString;
700
553
  identity: z.ZodString;
701
- }, "strip", z.ZodTypeAny, {
554
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
702
555
  name: string;
703
- id: string;
704
556
  identity: string;
705
557
  }, {
706
558
  name: string;
707
- id: string;
708
559
  identity: string;
709
- }>>>;
710
- actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
711
- id: z.ZodString;
712
- name: z.ZodString;
713
- identity: z.ZodString;
714
- }, "strip", z.ZodTypeAny, {
560
+ }>>, {
715
561
  name: string;
716
- id: string;
717
562
  identity: string;
718
- }, {
563
+ } | undefined, {
719
564
  name: string;
720
- id: string;
721
565
  identity: string;
722
- }>>>;
723
- }, "strip", z.ZodTypeAny, {
724
- status: import("./payout.dtos").PayoutStatus;
566
+ } | null>>;
567
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
568
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
725
569
  id: string;
726
570
  channel: string;
571
+ profileId: string;
572
+ createdAt: Date;
573
+ updatedAt: Date;
727
574
  msisdn: string;
728
575
  amount: number;
729
576
  description: string;
730
577
  payeeName: string;
731
- profileId: string;
732
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
733
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
734
578
  statusMessage: string;
735
- createdAt: Date;
736
- updatedAt: Date;
737
- notes?: string | null | undefined;
738
- partnerReference?: string | null | undefined;
739
- actionedAt?: Date | null | undefined;
740
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
579
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
580
+ notes?: string | undefined;
581
+ partnerReference?: string | undefined;
741
582
  createdBy?: {
742
583
  name: string;
743
- id: string;
744
584
  identity: string;
745
- } | null | undefined;
585
+ } | undefined;
746
586
  actionedBy?: {
747
587
  name: string;
748
- id: string;
749
588
  identity: string;
750
- } | null | undefined;
589
+ } | undefined;
751
590
  }, {
752
- status: import("./payout.dtos").PayoutStatus;
591
+ status: import("../../models/payout/status.js").PAYOUT_STATUS;
753
592
  id: string;
754
593
  channel: string;
594
+ profileId: string;
595
+ createdAt: Date;
596
+ updatedAt: Date;
755
597
  msisdn: string;
756
598
  amount: number;
757
599
  description: string;
758
600
  payeeName: string;
759
- profileId: string;
760
601
  statusMessage: string;
761
- createdAt: Date;
762
- updatedAt: Date;
602
+ approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
763
603
  notes?: string | null | undefined;
764
- countryCode?: string | undefined;
765
- currencyCode?: string | undefined;
766
604
  partnerReference?: string | null | undefined;
767
- actionedAt?: Date | null | undefined;
768
- approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
769
605
  createdBy?: {
770
606
  name: string;
771
- id: string;
772
607
  identity: string;
773
608
  } | null | undefined;
774
609
  actionedBy?: {
775
610
  name: string;
776
- id: string;
777
611
  identity: string;
778
612
  } | null | undefined;
779
613
  }>;
780
614
  404: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
615
+ 409: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
781
616
  };
782
617
  };
783
618
  };
@@ -785,3 +620,4 @@ export declare const contract: {
785
620
  * Export type for use in client implementations
786
621
  */
787
622
  export type PayoutAPI = typeof contract;
623
+ //# sourceMappingURL=contract.d.ts.map