@temboplus/afloat 0.1.59 → 0.1.61

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 (320) hide show
  1. package/esm/src/models/payout/index.d.ts +1 -0
  2. package/esm/src/models/payout/index.d.ts.map +1 -1
  3. package/esm/src/models/payout/index.js +1 -0
  4. package/esm/src/models/payout/narration.d.ts +164 -0
  5. package/esm/src/models/payout/narration.d.ts.map +1 -0
  6. package/esm/src/models/payout/narration.js +308 -0
  7. package/package.json +2 -3
  8. package/script/mod.d.ts +7 -7
  9. package/script/mod.d.ts.map +1 -1
  10. package/script/mod.js +7 -7
  11. package/script/npm/src/mod.d.ts +8 -0
  12. package/script/npm/src/mod.d.ts.map +1 -0
  13. package/script/npm/src/mod.js +23 -0
  14. package/script/npm/src/src/errors/api_error.d.ts.map +1 -0
  15. package/script/npm/src/src/errors/index.d.ts.map +1 -0
  16. package/script/npm/src/src/errors/permission_error.d.ts.map +1 -0
  17. package/script/{src → npm/src/src}/features/admin/contract.d.ts.map +1 -1
  18. package/script/npm/src/src/features/admin/index.d.ts.map +1 -0
  19. package/script/npm/src/src/features/admin/repository.d.ts.map +1 -0
  20. package/script/npm/src/src/features/admin/schemas.d.ts.map +1 -0
  21. package/script/npm/src/src/features/auth/access/contract.d.ts.map +1 -0
  22. package/script/npm/src/src/features/auth/access/repository.d.ts.map +1 -0
  23. package/script/npm/src/src/features/auth/contract.d.ts.map +1 -0
  24. package/script/npm/src/src/features/auth/identity/contract.d.ts.map +1 -0
  25. package/script/npm/src/src/features/auth/identity/repository.d.ts.map +1 -0
  26. package/script/npm/src/src/features/auth/index.d.ts.map +1 -0
  27. package/script/npm/src/src/features/auth/manager.d.ts.map +1 -0
  28. package/script/npm/src/src/features/auth/profile/contract.d.ts.map +1 -0
  29. package/script/npm/src/src/features/auth/profile/repository.d.ts.map +1 -0
  30. package/script/npm/src/src/features/auth/repository.d.ts.map +1 -0
  31. package/script/npm/src/src/features/auth/storage/client_store.d.ts.map +1 -0
  32. package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts.map +1 -0
  33. package/script/npm/src/src/features/auth/storage/server_store.d.ts.map +1 -0
  34. package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts.map +1 -0
  35. package/script/npm/src/src/features/auth/storage/types.d.ts.map +1 -0
  36. package/script/npm/src/src/features/contact/contract.d.ts.map +1 -0
  37. package/script/npm/src/src/features/contact/index.d.ts.map +1 -0
  38. package/script/npm/src/src/features/contact/repository.d.ts.map +1 -0
  39. package/script/{src → npm/src/src}/features/payout/contract.d.ts.map +1 -1
  40. package/script/npm/src/src/features/payout/index.d.ts.map +1 -0
  41. package/script/npm/src/src/features/payout/repository.d.ts.map +1 -0
  42. package/script/npm/src/src/features/wallet/contract.d.ts.map +1 -0
  43. package/script/npm/src/src/features/wallet/index.d.ts.map +1 -0
  44. package/script/npm/src/src/features/wallet/repository.d.ts.map +1 -0
  45. package/script/npm/src/src/models/contact/derivatives/contact.d.ts.map +1 -0
  46. package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts.map +1 -0
  47. package/script/npm/src/src/models/contact/index.d.ts.map +1 -0
  48. package/script/npm/src/src/models/contact/schemas.d.ts.map +1 -0
  49. package/script/npm/src/src/models/contact/validation.d.ts.map +1 -0
  50. package/script/npm/src/src/models/index.d.ts.map +1 -0
  51. package/script/npm/src/src/models/payout/api.d.ts.map +1 -0
  52. package/script/npm/src/src/models/payout/channel.d.ts.map +1 -0
  53. package/script/npm/src/src/models/payout/derivatives/payout.d.ts.map +1 -0
  54. package/script/{src → npm/src/src}/models/payout/index.d.ts +1 -0
  55. package/script/npm/src/src/models/payout/index.d.ts.map +1 -0
  56. package/script/{src → npm/src/src}/models/payout/index.js +1 -0
  57. package/script/npm/src/src/models/payout/narration.d.ts +164 -0
  58. package/script/npm/src/src/models/payout/narration.d.ts.map +1 -0
  59. package/script/npm/src/src/models/payout/narration.js +312 -0
  60. package/script/npm/src/src/models/payout/schemas.d.ts.map +1 -0
  61. package/script/npm/src/src/models/payout/status.d.ts.map +1 -0
  62. package/script/npm/src/src/models/permission.d.ts.map +1 -0
  63. package/script/npm/src/src/models/role.d.ts.map +1 -0
  64. package/script/npm/src/src/models/user/authenticated-user.d.ts.map +1 -0
  65. package/script/npm/src/src/models/user/index.d.ts.map +1 -0
  66. package/script/npm/src/src/models/user/managed-user.d.ts.map +1 -0
  67. package/script/npm/src/src/models/user/profile.d.ts.map +1 -0
  68. package/script/npm/src/src/models/wallet/index.d.ts.map +1 -0
  69. package/script/npm/src/src/models/wallet/schemas.d.ts.map +1 -0
  70. package/script/npm/src/src/models/wallet/statement_entry.d.ts.map +1 -0
  71. package/script/npm/src/src/models/wallet/wallet.d.ts.map +1 -0
  72. package/script/npm/src/src/shared/base_repository.d.ts.map +1 -0
  73. package/script/npm/src/src/shared/common_responses.d.ts.map +1 -0
  74. package/script/npm/src/src/shared/index.d.ts.map +1 -0
  75. package/script/npm/src/src/shared/token_required_repository.d.ts.map +1 -0
  76. package/esm/_dnt.test_shims.d.ts.map +0 -1
  77. package/esm/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +0 -1
  78. package/esm/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +0 -1
  79. package/esm/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +0 -1
  80. package/esm/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +0 -1
  81. package/esm/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +0 -1
  82. package/esm/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +0 -1
  83. package/esm/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +0 -1
  84. package/esm/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +0 -1
  85. package/esm/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +0 -1
  86. package/esm/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +0 -1
  87. package/esm/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +0 -1
  88. package/esm/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +0 -1
  89. package/esm/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +0 -1
  90. package/esm/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +0 -1
  91. package/esm/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +0 -1
  92. package/esm/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +0 -1
  93. package/esm/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +0 -1
  94. package/esm/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +0 -1
  95. package/esm/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +0 -1
  96. package/esm/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +0 -1
  97. package/esm/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +0 -1
  98. package/esm/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +0 -1
  99. package/esm/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +0 -1
  100. package/esm/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +0 -1
  101. package/esm/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +0 -1
  102. package/esm/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +0 -1
  103. package/esm/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +0 -1
  104. package/esm/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +0 -1
  105. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  106. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  107. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  108. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  109. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  110. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  111. package/esm/src/models/contact/derivatives/contact.test.d.ts.map +0 -1
  112. package/esm/src/models/contact/derivatives/contact_info.test.d.ts.map +0 -1
  113. package/esm/src/models/contact/validation.test.d.ts.map +0 -1
  114. package/esm/src/models/payout/derivatives/payout.test.d.ts.map +0 -1
  115. package/script/_dnt.test_shims.d.ts.map +0 -1
  116. package/script/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +0 -1
  117. package/script/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +0 -1
  118. package/script/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +0 -1
  119. package/script/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +0 -1
  120. package/script/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +0 -1
  121. package/script/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +0 -1
  122. package/script/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +0 -1
  123. package/script/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +0 -1
  124. package/script/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +0 -1
  125. package/script/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +0 -1
  126. package/script/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +0 -1
  127. package/script/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +0 -1
  128. package/script/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +0 -1
  129. package/script/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +0 -1
  130. package/script/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +0 -1
  131. package/script/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +0 -1
  132. package/script/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +0 -1
  133. package/script/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +0 -1
  134. package/script/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +0 -1
  135. package/script/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +0 -1
  136. package/script/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +0 -1
  137. package/script/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +0 -1
  138. package/script/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +0 -1
  139. package/script/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +0 -1
  140. package/script/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +0 -1
  141. package/script/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +0 -1
  142. package/script/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +0 -1
  143. package/script/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +0 -1
  144. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  145. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  146. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  147. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  148. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  149. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  150. package/script/src/errors/api_error.d.ts.map +0 -1
  151. package/script/src/errors/index.d.ts.map +0 -1
  152. package/script/src/errors/permission_error.d.ts.map +0 -1
  153. package/script/src/features/admin/index.d.ts.map +0 -1
  154. package/script/src/features/admin/repository.d.ts.map +0 -1
  155. package/script/src/features/admin/schemas.d.ts.map +0 -1
  156. package/script/src/features/auth/access/contract.d.ts.map +0 -1
  157. package/script/src/features/auth/access/repository.d.ts.map +0 -1
  158. package/script/src/features/auth/contract.d.ts.map +0 -1
  159. package/script/src/features/auth/identity/contract.d.ts.map +0 -1
  160. package/script/src/features/auth/identity/repository.d.ts.map +0 -1
  161. package/script/src/features/auth/index.d.ts.map +0 -1
  162. package/script/src/features/auth/manager.d.ts.map +0 -1
  163. package/script/src/features/auth/profile/contract.d.ts.map +0 -1
  164. package/script/src/features/auth/profile/repository.d.ts.map +0 -1
  165. package/script/src/features/auth/repository.d.ts.map +0 -1
  166. package/script/src/features/auth/storage/client_store.d.ts.map +0 -1
  167. package/script/src/features/auth/storage/client_token_handler.d.ts.map +0 -1
  168. package/script/src/features/auth/storage/server_store.d.ts.map +0 -1
  169. package/script/src/features/auth/storage/server_token_handler.d.ts.map +0 -1
  170. package/script/src/features/auth/storage/types.d.ts.map +0 -1
  171. package/script/src/features/contact/contract.d.ts.map +0 -1
  172. package/script/src/features/contact/index.d.ts.map +0 -1
  173. package/script/src/features/contact/repository.d.ts.map +0 -1
  174. package/script/src/features/payout/index.d.ts.map +0 -1
  175. package/script/src/features/payout/repository.d.ts.map +0 -1
  176. package/script/src/features/wallet/contract.d.ts.map +0 -1
  177. package/script/src/features/wallet/index.d.ts.map +0 -1
  178. package/script/src/features/wallet/repository.d.ts.map +0 -1
  179. package/script/src/models/contact/derivatives/contact.d.ts.map +0 -1
  180. package/script/src/models/contact/derivatives/contact.test.d.ts.map +0 -1
  181. package/script/src/models/contact/derivatives/contact_info.d.ts.map +0 -1
  182. package/script/src/models/contact/derivatives/contact_info.test.d.ts.map +0 -1
  183. package/script/src/models/contact/index.d.ts.map +0 -1
  184. package/script/src/models/contact/schemas.d.ts.map +0 -1
  185. package/script/src/models/contact/validation.d.ts.map +0 -1
  186. package/script/src/models/contact/validation.test.d.ts.map +0 -1
  187. package/script/src/models/index.d.ts.map +0 -1
  188. package/script/src/models/payout/api.d.ts.map +0 -1
  189. package/script/src/models/payout/channel.d.ts.map +0 -1
  190. package/script/src/models/payout/derivatives/payout.d.ts.map +0 -1
  191. package/script/src/models/payout/derivatives/payout.test.d.ts.map +0 -1
  192. package/script/src/models/payout/index.d.ts.map +0 -1
  193. package/script/src/models/payout/schemas.d.ts.map +0 -1
  194. package/script/src/models/payout/status.d.ts.map +0 -1
  195. package/script/src/models/permission.d.ts.map +0 -1
  196. package/script/src/models/role.d.ts.map +0 -1
  197. package/script/src/models/user/authenticated-user.d.ts.map +0 -1
  198. package/script/src/models/user/index.d.ts.map +0 -1
  199. package/script/src/models/user/managed-user.d.ts.map +0 -1
  200. package/script/src/models/user/profile.d.ts.map +0 -1
  201. package/script/src/models/wallet/index.d.ts.map +0 -1
  202. package/script/src/models/wallet/schemas.d.ts.map +0 -1
  203. package/script/src/models/wallet/statement_entry.d.ts.map +0 -1
  204. package/script/src/models/wallet/wallet.d.ts.map +0 -1
  205. package/script/src/shared/base_repository.d.ts.map +0 -1
  206. package/script/src/shared/common_responses.d.ts.map +0 -1
  207. package/script/src/shared/index.d.ts.map +0 -1
  208. package/script/src/shared/token_required_repository.d.ts.map +0 -1
  209. /package/script/{src → npm/src/src}/errors/api_error.d.ts +0 -0
  210. /package/script/{src → npm/src/src}/errors/api_error.js +0 -0
  211. /package/script/{src → npm/src/src}/errors/index.d.ts +0 -0
  212. /package/script/{src → npm/src/src}/errors/index.js +0 -0
  213. /package/script/{src → npm/src/src}/errors/permission_error.d.ts +0 -0
  214. /package/script/{src → npm/src/src}/errors/permission_error.js +0 -0
  215. /package/script/{src → npm/src/src}/features/admin/contract.d.ts +0 -0
  216. /package/script/{src → npm/src/src}/features/admin/contract.js +0 -0
  217. /package/script/{src → npm/src/src}/features/admin/index.d.ts +0 -0
  218. /package/script/{src → npm/src/src}/features/admin/index.js +0 -0
  219. /package/script/{src → npm/src/src}/features/admin/repository.d.ts +0 -0
  220. /package/script/{src → npm/src/src}/features/admin/repository.js +0 -0
  221. /package/script/{src → npm/src/src}/features/admin/schemas.d.ts +0 -0
  222. /package/script/{src → npm/src/src}/features/admin/schemas.js +0 -0
  223. /package/script/{src → npm/src/src}/features/auth/access/contract.d.ts +0 -0
  224. /package/script/{src → npm/src/src}/features/auth/access/contract.js +0 -0
  225. /package/script/{src → npm/src/src}/features/auth/access/repository.d.ts +0 -0
  226. /package/script/{src → npm/src/src}/features/auth/access/repository.js +0 -0
  227. /package/script/{src → npm/src/src}/features/auth/contract.d.ts +0 -0
  228. /package/script/{src → npm/src/src}/features/auth/contract.js +0 -0
  229. /package/script/{src → npm/src/src}/features/auth/identity/contract.d.ts +0 -0
  230. /package/script/{src → npm/src/src}/features/auth/identity/contract.js +0 -0
  231. /package/script/{src → npm/src/src}/features/auth/identity/repository.d.ts +0 -0
  232. /package/script/{src → npm/src/src}/features/auth/identity/repository.js +0 -0
  233. /package/script/{src → npm/src/src}/features/auth/index.d.ts +0 -0
  234. /package/script/{src → npm/src/src}/features/auth/index.js +0 -0
  235. /package/script/{src → npm/src/src}/features/auth/manager.d.ts +0 -0
  236. /package/script/{src → npm/src/src}/features/auth/manager.js +0 -0
  237. /package/script/{src → npm/src/src}/features/auth/profile/contract.d.ts +0 -0
  238. /package/script/{src → npm/src/src}/features/auth/profile/contract.js +0 -0
  239. /package/script/{src → npm/src/src}/features/auth/profile/repository.d.ts +0 -0
  240. /package/script/{src → npm/src/src}/features/auth/profile/repository.js +0 -0
  241. /package/script/{src → npm/src/src}/features/auth/repository.d.ts +0 -0
  242. /package/script/{src → npm/src/src}/features/auth/repository.js +0 -0
  243. /package/script/{src → npm/src/src}/features/auth/storage/client_store.d.ts +0 -0
  244. /package/script/{src → npm/src/src}/features/auth/storage/client_store.js +0 -0
  245. /package/script/{src → npm/src/src}/features/auth/storage/client_token_handler.d.ts +0 -0
  246. /package/script/{src → npm/src/src}/features/auth/storage/client_token_handler.js +0 -0
  247. /package/script/{src → npm/src/src}/features/auth/storage/server_store.d.ts +0 -0
  248. /package/script/{src → npm/src/src}/features/auth/storage/server_store.js +0 -0
  249. /package/script/{src → npm/src/src}/features/auth/storage/server_token_handler.d.ts +0 -0
  250. /package/script/{src → npm/src/src}/features/auth/storage/server_token_handler.js +0 -0
  251. /package/script/{src → npm/src/src}/features/auth/storage/types.d.ts +0 -0
  252. /package/script/{src → npm/src/src}/features/auth/storage/types.js +0 -0
  253. /package/script/{src → npm/src/src}/features/contact/contract.d.ts +0 -0
  254. /package/script/{src → npm/src/src}/features/contact/contract.js +0 -0
  255. /package/script/{src → npm/src/src}/features/contact/index.d.ts +0 -0
  256. /package/script/{src → npm/src/src}/features/contact/index.js +0 -0
  257. /package/script/{src → npm/src/src}/features/contact/repository.d.ts +0 -0
  258. /package/script/{src → npm/src/src}/features/contact/repository.js +0 -0
  259. /package/script/{src → npm/src/src}/features/payout/contract.d.ts +0 -0
  260. /package/script/{src → npm/src/src}/features/payout/contract.js +0 -0
  261. /package/script/{src → npm/src/src}/features/payout/index.d.ts +0 -0
  262. /package/script/{src → npm/src/src}/features/payout/index.js +0 -0
  263. /package/script/{src → npm/src/src}/features/payout/repository.d.ts +0 -0
  264. /package/script/{src → npm/src/src}/features/payout/repository.js +0 -0
  265. /package/script/{src → npm/src/src}/features/wallet/contract.d.ts +0 -0
  266. /package/script/{src → npm/src/src}/features/wallet/contract.js +0 -0
  267. /package/script/{src → npm/src/src}/features/wallet/index.d.ts +0 -0
  268. /package/script/{src → npm/src/src}/features/wallet/index.js +0 -0
  269. /package/script/{src → npm/src/src}/features/wallet/repository.d.ts +0 -0
  270. /package/script/{src → npm/src/src}/features/wallet/repository.js +0 -0
  271. /package/script/{src → npm/src/src}/models/contact/derivatives/contact.d.ts +0 -0
  272. /package/script/{src → npm/src/src}/models/contact/derivatives/contact.js +0 -0
  273. /package/script/{src → npm/src/src}/models/contact/derivatives/contact_info.d.ts +0 -0
  274. /package/script/{src → npm/src/src}/models/contact/derivatives/contact_info.js +0 -0
  275. /package/script/{src → npm/src/src}/models/contact/index.d.ts +0 -0
  276. /package/script/{src → npm/src/src}/models/contact/index.js +0 -0
  277. /package/script/{src → npm/src/src}/models/contact/schemas.d.ts +0 -0
  278. /package/script/{src → npm/src/src}/models/contact/schemas.js +0 -0
  279. /package/script/{src → npm/src/src}/models/contact/validation.d.ts +0 -0
  280. /package/script/{src → npm/src/src}/models/contact/validation.js +0 -0
  281. /package/script/{src → npm/src/src}/models/index.d.ts +0 -0
  282. /package/script/{src → npm/src/src}/models/index.js +0 -0
  283. /package/script/{src → npm/src/src}/models/payout/api.d.ts +0 -0
  284. /package/script/{src → npm/src/src}/models/payout/api.js +0 -0
  285. /package/script/{src → npm/src/src}/models/payout/channel.d.ts +0 -0
  286. /package/script/{src → npm/src/src}/models/payout/channel.js +0 -0
  287. /package/script/{src → npm/src/src}/models/payout/derivatives/payout.d.ts +0 -0
  288. /package/script/{src → npm/src/src}/models/payout/derivatives/payout.js +0 -0
  289. /package/script/{src → npm/src/src}/models/payout/schemas.d.ts +0 -0
  290. /package/script/{src → npm/src/src}/models/payout/schemas.js +0 -0
  291. /package/script/{src → npm/src/src}/models/payout/status.d.ts +0 -0
  292. /package/script/{src → npm/src/src}/models/payout/status.js +0 -0
  293. /package/script/{src → npm/src/src}/models/permission.d.ts +0 -0
  294. /package/script/{src → npm/src/src}/models/permission.js +0 -0
  295. /package/script/{src → npm/src/src}/models/role.d.ts +0 -0
  296. /package/script/{src → npm/src/src}/models/role.js +0 -0
  297. /package/script/{src → npm/src/src}/models/user/authenticated-user.d.ts +0 -0
  298. /package/script/{src → npm/src/src}/models/user/authenticated-user.js +0 -0
  299. /package/script/{src → npm/src/src}/models/user/index.d.ts +0 -0
  300. /package/script/{src → npm/src/src}/models/user/index.js +0 -0
  301. /package/script/{src → npm/src/src}/models/user/managed-user.d.ts +0 -0
  302. /package/script/{src → npm/src/src}/models/user/managed-user.js +0 -0
  303. /package/script/{src → npm/src/src}/models/user/profile.d.ts +0 -0
  304. /package/script/{src → npm/src/src}/models/user/profile.js +0 -0
  305. /package/script/{src → npm/src/src}/models/wallet/index.d.ts +0 -0
  306. /package/script/{src → npm/src/src}/models/wallet/index.js +0 -0
  307. /package/script/{src → npm/src/src}/models/wallet/schemas.d.ts +0 -0
  308. /package/script/{src → npm/src/src}/models/wallet/schemas.js +0 -0
  309. /package/script/{src → npm/src/src}/models/wallet/statement_entry.d.ts +0 -0
  310. /package/script/{src → npm/src/src}/models/wallet/statement_entry.js +0 -0
  311. /package/script/{src → npm/src/src}/models/wallet/wallet.d.ts +0 -0
  312. /package/script/{src → npm/src/src}/models/wallet/wallet.js +0 -0
  313. /package/script/{src → npm/src/src}/shared/base_repository.d.ts +0 -0
  314. /package/script/{src → npm/src/src}/shared/base_repository.js +0 -0
  315. /package/script/{src → npm/src/src}/shared/common_responses.d.ts +0 -0
  316. /package/script/{src → npm/src/src}/shared/common_responses.js +0 -0
  317. /package/script/{src → npm/src/src}/shared/index.d.ts +0 -0
  318. /package/script/{src → npm/src/src}/shared/index.js +0 -0
  319. /package/script/{src → npm/src/src}/shared/token_required_repository.d.ts +0 -0
  320. /package/script/{src → npm/src/src}/shared/token_required_repository.js +0 -0
@@ -2,5 +2,6 @@ export * from "./status.js";
2
2
  export * from "./schemas.js";
3
3
  export * from "./channel.js";
4
4
  export * from "./api.js";
5
+ export * from "./narration.js";
5
6
  export * from "./derivatives/payout.js";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/models/payout/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/models/payout/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC"}
@@ -2,4 +2,5 @@ export * from "./status.js";
2
2
  export * from "./schemas.js";
3
3
  export * from "./channel.js";
4
4
  export * from "./api.js";
5
+ export * from "./narration.js";
5
6
  export * from "./derivatives/payout.js";
@@ -0,0 +1,164 @@
1
+ import { BankContactInfo, type ContactInfo, MobileContactInfo } from "@temboplus/afloat";
2
+ /** Prefix for Ecobank mobile transfer narrations */
3
+ export declare const ECOBANK_PREFIX = "MOBILE TRANSFER ";
4
+ /** Current format prefix for bank payout narrations */
5
+ export declare const BANK_NARR_PREFIX: string;
6
+ /** Legacy format prefix for bank payout narrations */
7
+ export declare const LEGACY_BANK_NARR_PREFIX: string;
8
+ /** Current format prefix for mobile money payout narrations */
9
+ export declare const MOBILE_NARR_PREFIX: string;
10
+ /** Legacy format prefix for mobile money payout narrations */
11
+ export declare const LEGACY_MOBILE_NARR_PREFIX: string;
12
+ /**
13
+ * Handles payout narration generation and parsing for the Afloat platform.
14
+ *
15
+ * This class provides functionality to:
16
+ * - Generate standardized default narrations for mobile money and bank payouts
17
+ * - Parse existing narrations to extract contact information
18
+ * - Format narration text for different display contexts
19
+ * - Handle both current and legacy narration formats for backward compatibility
20
+ *
21
+ * @example
22
+ * ```typescript
23
+ * // Generate default narration for a mobile contact
24
+ * const mobileContact = new MobileContactInfo("John Doe", phoneNumber);
25
+ * const narration = Narration.generateDefaultPayoutNarration(mobileContact);
26
+ * // Result: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
27
+ *
28
+ * // Parse narration to extract contact details
29
+ * const existingNarration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
30
+ * const contact = existingNarration.getContactDetails();
31
+ * ```
32
+ */
33
+ export declare class Narration {
34
+ /** The raw narration text */
35
+ text: string;
36
+ /**
37
+ * Creates a new Narration instance.
38
+ *
39
+ * @param text - The narration text to wrap
40
+ */
41
+ constructor(text: string);
42
+ /**
43
+ * Returns a medium-length version of the narration text suitable for table columns.
44
+ * Truncates to 47 characters + "..." if longer than 50 characters.
45
+ *
46
+ * @returns Truncated narration text for medium-width displays
47
+ */
48
+ get mediumText(): string;
49
+ /**
50
+ * Returns a short version of the narration text suitable for compact displays.
51
+ * Truncates to 32 characters + "..." if longer than 35 characters.
52
+ *
53
+ * @returns Truncated narration text for narrow displays
54
+ */
55
+ get shortText(): string;
56
+ /**
57
+ * Generates a default payout narration based on contact information.
58
+ * Automatically determines whether to generate mobile or bank narration based on contact type.
59
+ *
60
+ * @param data - Contact information (either MobileContactInfo or BankContactInfo)
61
+ * @returns Formatted default narration string in uppercase, or empty string if contact type is unrecognized
62
+ *
63
+ * @example
64
+ * ```typescript
65
+ * const mobileContact = new MobileContactInfo("John Doe", phoneNumber);
66
+ * const narration = Narration.generateDefaultPayoutNarration(mobileContact);
67
+ * // Returns: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
68
+ *
69
+ * const bankContact = new BankContactInfo("Jane Smith", bank, "1234567890");
70
+ * const narration = Narration.generateDefaultPayoutNarration(bankContact);
71
+ * // Returns: "PAYOUT TO BANK CRDB 1234567890 JANE SMITH"
72
+ * ```
73
+ */
74
+ static generateDefaultPayoutNarration(data: ContactInfo): string;
75
+ /**
76
+ * Generates a standardized mobile money payout narration.
77
+ * Format: "PAYOUT TO MOBILE {phone_number} {name}"
78
+ *
79
+ * @param data - Mobile contact information containing phone number and name
80
+ * @returns Formatted mobile payout narration in uppercase
81
+ *
82
+ * @example
83
+ * ```typescript
84
+ * const contact = new MobileContactInfo("John Doe", phoneNumber);
85
+ * const narration = Narration.generateMobilePayoutNarration(contact);
86
+ * // Returns: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
87
+ * ```
88
+ */
89
+ static generateMobilePayoutNarration(data: MobileContactInfo): string;
90
+ /**
91
+ * Generates a standardized bank payout narration.
92
+ * Format: "PAYOUT TO BANK {bank_short_name} {account_number} {account_name}"
93
+ *
94
+ * @param data - Bank contact information containing bank details, account number, and account name
95
+ * @returns Formatted bank payout narration in uppercase
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * const contact = new BankContactInfo("Jane Smith", bank, "1234567890");
100
+ * const narration = Narration.generateBankPayoutNarration(contact);
101
+ * // Returns: "PAYOUT TO BANK CRDB 1234567890 JANE SMITH"
102
+ * ```
103
+ */
104
+ static generateBankPayoutNarration(data: BankContactInfo): string;
105
+ /**
106
+ * Extracts contact information from the narration text.
107
+ * Attempts to parse both bank and mobile contact details from the narration.
108
+ *
109
+ * @returns Parsed ContactInfo (BankContactInfo or MobileContactInfo) if successful, undefined otherwise
110
+ *
111
+ * @example
112
+ * ```typescript
113
+ * const narration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
114
+ * const contact = narration.getContactDetails();
115
+ * // Returns: BankContactInfo instance with parsed details
116
+ * ```
117
+ */
118
+ getContactDetails: () => ContactInfo | undefined;
119
+ /**
120
+ * Extracts bank contact information from the narration text.
121
+ * Handles both current format ("PAYOUT TO BANK") and legacy format ("TO_BANK").
122
+ * Also handles Ecobank-prefixed narrations by stripping the prefix.
123
+ *
124
+ * Current format: "PAYOUT TO BANK {bank_name} {account_number} {account_name}"
125
+ * Legacy format: "TO_BANK => {json_object}"
126
+ *
127
+ * @returns BankContactInfo if parsing is successful, undefined otherwise
128
+ *
129
+ * @example
130
+ * ```typescript
131
+ * // Current format
132
+ * const narration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
133
+ * const contact = narration.getBankContactDetails();
134
+ *
135
+ * // Legacy format
136
+ * const legacyNarration = new Narration('TO_BANK => {"account_number":"1234567890","account_name":"Jane Smith","swift_code":"CORUTZTZ"}');
137
+ * const legacyContact = narration.getBankContactDetails();
138
+ * ```
139
+ */
140
+ getBankContactDetails: () => BankContactInfo | undefined;
141
+ /**
142
+ * Extracts mobile contact information from the narration text.
143
+ * Handles both current format ("PAYOUT TO MOBILE") and legacy format ("TO_MOMO").
144
+ * Also handles Ecobank-prefixed narrations by stripping the prefix.
145
+ *
146
+ * Current format: "PAYOUT TO MOBILE {phone_number} {name}"
147
+ * Legacy format: "TO_MOMO => {json_object}"
148
+ *
149
+ * @returns MobileContactInfo if parsing is successful, undefined otherwise
150
+ *
151
+ * @example
152
+ * ```typescript
153
+ * // Current format
154
+ * const narration = new Narration("PAYOUT TO MOBILE +255123456789 John Doe");
155
+ * const contact = narration.getMobileContactDetails();
156
+ *
157
+ * // Legacy format
158
+ * const legacyNarration = new Narration('TO_MOMO => {"phone_number":"+255123456789","username":"John Doe"}');
159
+ * const legacyContact = narration.getMobileContactDetails();
160
+ * ```
161
+ */
162
+ getMobileContactDetails: () => MobileContactInfo | undefined;
163
+ }
164
+ //# sourceMappingURL=narration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"narration.d.ts","sourceRoot":"","sources":["../../../../src/src/models/payout/narration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAG3B,oDAAoD;AACpD,eAAO,MAAM,cAAc,qBAAqB,CAAC;AAEjD,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,EAAE,MAAyB,CAAC;AACzD,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,EAAE,MAAkB,CAAC;AAEzD,+DAA+D;AAC/D,eAAO,MAAM,kBAAkB,EAAE,MAA2B,CAAC;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,yBAAyB,EAAE,MAAkB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,SAAS;IACpB,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;gBACS,IAAI,EAAE,MAAM;IAIxB;;;;;OAKG;IACH,IAAI,UAAU,WAMb;IAED;;;;;OAKG;IACH,IAAI,SAAS,WAMZ;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,8BAA8B,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM;IAUhE;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,6BAA6B,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM;IAKrE;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAKjE;;;;;;;;;;;;OAYG;IACH,iBAAiB,QAAO,WAAW,GAAG,SAAS,CAM7C;IAEF;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,qBAAqB,QAAO,eAAe,GAAG,SAAS,CAqCrD;IAEF;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,uBAAuB,QAAO,iBAAiB,GAAG,SAAS,CAuCzD;CACH"}
@@ -0,0 +1,308 @@
1
+ import { BankContactInfo, MobileContactInfo, } from "@temboplus/afloat";
2
+ import { Bank, TZPhoneNumber } from "@temboplus/frontend-core";
3
+ /** Prefix for Ecobank mobile transfer narrations */
4
+ export const ECOBANK_PREFIX = "MOBILE TRANSFER ";
5
+ /** Current format prefix for bank payout narrations */
6
+ export const BANK_NARR_PREFIX = "PAYOUT TO BANK";
7
+ /** Legacy format prefix for bank payout narrations */
8
+ export const LEGACY_BANK_NARR_PREFIX = "TO_BANK";
9
+ /** Current format prefix for mobile money payout narrations */
10
+ export const MOBILE_NARR_PREFIX = "PAYOUT TO MOBILE";
11
+ /** Legacy format prefix for mobile money payout narrations */
12
+ export const LEGACY_MOBILE_NARR_PREFIX = "TO_MOMO";
13
+ /**
14
+ * Handles payout narration generation and parsing for the Afloat platform.
15
+ *
16
+ * This class provides functionality to:
17
+ * - Generate standardized default narrations for mobile money and bank payouts
18
+ * - Parse existing narrations to extract contact information
19
+ * - Format narration text for different display contexts
20
+ * - Handle both current and legacy narration formats for backward compatibility
21
+ *
22
+ * @example
23
+ * ```typescript
24
+ * // Generate default narration for a mobile contact
25
+ * const mobileContact = new MobileContactInfo("John Doe", phoneNumber);
26
+ * const narration = Narration.generateDefaultPayoutNarration(mobileContact);
27
+ * // Result: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
28
+ *
29
+ * // Parse narration to extract contact details
30
+ * const existingNarration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
31
+ * const contact = existingNarration.getContactDetails();
32
+ * ```
33
+ */
34
+ export class Narration {
35
+ /**
36
+ * Creates a new Narration instance.
37
+ *
38
+ * @param text - The narration text to wrap
39
+ */
40
+ constructor(text) {
41
+ /** The raw narration text */
42
+ Object.defineProperty(this, "text", {
43
+ enumerable: true,
44
+ configurable: true,
45
+ writable: true,
46
+ value: void 0
47
+ });
48
+ /**
49
+ * Extracts contact information from the narration text.
50
+ * Attempts to parse both bank and mobile contact details from the narration.
51
+ *
52
+ * @returns Parsed ContactInfo (BankContactInfo or MobileContactInfo) if successful, undefined otherwise
53
+ *
54
+ * @example
55
+ * ```typescript
56
+ * const narration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
57
+ * const contact = narration.getContactDetails();
58
+ * // Returns: BankContactInfo instance with parsed details
59
+ * ```
60
+ */
61
+ Object.defineProperty(this, "getContactDetails", {
62
+ enumerable: true,
63
+ configurable: true,
64
+ writable: true,
65
+ value: () => {
66
+ const result1 = this.getBankContactDetails();
67
+ const result2 = this.getMobileContactDetails();
68
+ if (result1)
69
+ return result1;
70
+ if (result2)
71
+ return result2;
72
+ }
73
+ });
74
+ /**
75
+ * Extracts bank contact information from the narration text.
76
+ * Handles both current format ("PAYOUT TO BANK") and legacy format ("TO_BANK").
77
+ * Also handles Ecobank-prefixed narrations by stripping the prefix.
78
+ *
79
+ * Current format: "PAYOUT TO BANK {bank_name} {account_number} {account_name}"
80
+ * Legacy format: "TO_BANK => {json_object}"
81
+ *
82
+ * @returns BankContactInfo if parsing is successful, undefined otherwise
83
+ *
84
+ * @example
85
+ * ```typescript
86
+ * // Current format
87
+ * const narration = new Narration("PAYOUT TO BANK CRDB 1234567890 Jane Smith");
88
+ * const contact = narration.getBankContactDetails();
89
+ *
90
+ * // Legacy format
91
+ * const legacyNarration = new Narration('TO_BANK => {"account_number":"1234567890","account_name":"Jane Smith","swift_code":"CORUTZTZ"}');
92
+ * const legacyContact = narration.getBankContactDetails();
93
+ * ```
94
+ */
95
+ Object.defineProperty(this, "getBankContactDetails", {
96
+ enumerable: true,
97
+ configurable: true,
98
+ writable: true,
99
+ value: () => {
100
+ let narr = this.text.trim();
101
+ if (narr.startsWith(ECOBANK_PREFIX)) {
102
+ narr = narr.substring(ECOBANK_PREFIX.length);
103
+ }
104
+ try {
105
+ // Handle legacy format: "TO_BANK => {json}"
106
+ if (narr.startsWith(LEGACY_BANK_NARR_PREFIX)) {
107
+ const json = narr.split("=>")[1].trim();
108
+ const map = JSON.parse(json);
109
+ const accNo = map["account_number"];
110
+ const accName = map["account_name"];
111
+ const code = map["swift_code"];
112
+ const bank = Bank.fromSWIFTCode(code);
113
+ if (accNo && accName && bank) {
114
+ return new BankContactInfo(accName, bank, accNo);
115
+ }
116
+ }
117
+ // Handle current format: "PAYOUT TO BANK {bank} {accNo} {accName}"
118
+ if (narr.startsWith(BANK_NARR_PREFIX)) {
119
+ const data = narr.replace(BANK_NARR_PREFIX, "").trim().split(" ");
120
+ const bank = Bank.fromBankName(data[0]);
121
+ const accNo = data[1];
122
+ const accName = data.slice(2).map(capitalizeFirstLetter).join(" ");
123
+ if (accName && accNo && bank) {
124
+ return new BankContactInfo(accName, bank, accNo);
125
+ }
126
+ }
127
+ }
128
+ catch (_) {
129
+ return undefined;
130
+ }
131
+ }
132
+ });
133
+ /**
134
+ * Extracts mobile contact information from the narration text.
135
+ * Handles both current format ("PAYOUT TO MOBILE") and legacy format ("TO_MOMO").
136
+ * Also handles Ecobank-prefixed narrations by stripping the prefix.
137
+ *
138
+ * Current format: "PAYOUT TO MOBILE {phone_number} {name}"
139
+ * Legacy format: "TO_MOMO => {json_object}"
140
+ *
141
+ * @returns MobileContactInfo if parsing is successful, undefined otherwise
142
+ *
143
+ * @example
144
+ * ```typescript
145
+ * // Current format
146
+ * const narration = new Narration("PAYOUT TO MOBILE +255123456789 John Doe");
147
+ * const contact = narration.getMobileContactDetails();
148
+ *
149
+ * // Legacy format
150
+ * const legacyNarration = new Narration('TO_MOMO => {"phone_number":"+255123456789","username":"John Doe"}');
151
+ * const legacyContact = narration.getMobileContactDetails();
152
+ * ```
153
+ */
154
+ Object.defineProperty(this, "getMobileContactDetails", {
155
+ enumerable: true,
156
+ configurable: true,
157
+ writable: true,
158
+ value: () => {
159
+ let narr = this.text.trim();
160
+ if (narr.startsWith(ECOBANK_PREFIX)) {
161
+ narr = narr.substring(ECOBANK_PREFIX.length);
162
+ }
163
+ try {
164
+ // Handle legacy format: "TO_MOMO => {json}"
165
+ if (narr.startsWith(LEGACY_MOBILE_NARR_PREFIX)) {
166
+ const json = narr.split("=>")[1].trim();
167
+ const map = JSON.parse(json);
168
+ const phoneNumber = TZPhoneNumber.from(map["phone_number"]);
169
+ let username = map["username"];
170
+ if (username === undefined)
171
+ username = "";
172
+ // Clean up username: remove extra spaces and capitalize each word
173
+ let names = username.split(" ");
174
+ names = names.filter((n) => n.trim().length > 0);
175
+ username = names.map(capitalizeFirstLetter).join(" ");
176
+ if (phoneNumber && username) {
177
+ return new MobileContactInfo(username, phoneNumber);
178
+ }
179
+ }
180
+ // Handle current format: "PAYOUT TO MOBILE {phone} {username}"
181
+ if (narr.startsWith(MOBILE_NARR_PREFIX)) {
182
+ const data = narr.replace(MOBILE_NARR_PREFIX, "").trim().split(" ");
183
+ const phone = TZPhoneNumber.from(data[0]);
184
+ const username = data.slice(1).map(capitalizeFirstLetter).join(" ");
185
+ if (phone && username) {
186
+ return new MobileContactInfo(username, phone);
187
+ }
188
+ }
189
+ }
190
+ catch (_) {
191
+ return undefined;
192
+ }
193
+ }
194
+ });
195
+ this.text = text;
196
+ }
197
+ /**
198
+ * Returns a medium-length version of the narration text suitable for table columns.
199
+ * Truncates to 47 characters + "..." if longer than 50 characters.
200
+ *
201
+ * @returns Truncated narration text for medium-width displays
202
+ */
203
+ get mediumText() {
204
+ if (this.text.length > 50) {
205
+ return this.text.substring(0, 47) + "...";
206
+ }
207
+ return this.text;
208
+ }
209
+ /**
210
+ * Returns a short version of the narration text suitable for compact displays.
211
+ * Truncates to 32 characters + "..." if longer than 35 characters.
212
+ *
213
+ * @returns Truncated narration text for narrow displays
214
+ */
215
+ get shortText() {
216
+ if (this.text.length > 35) {
217
+ return this.text.substring(0, 32) + "...";
218
+ }
219
+ return this.text;
220
+ }
221
+ /**
222
+ * Generates a default payout narration based on contact information.
223
+ * Automatically determines whether to generate mobile or bank narration based on contact type.
224
+ *
225
+ * @param data - Contact information (either MobileContactInfo or BankContactInfo)
226
+ * @returns Formatted default narration string in uppercase, or empty string if contact type is unrecognized
227
+ *
228
+ * @example
229
+ * ```typescript
230
+ * const mobileContact = new MobileContactInfo("John Doe", phoneNumber);
231
+ * const narration = Narration.generateDefaultPayoutNarration(mobileContact);
232
+ * // Returns: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
233
+ *
234
+ * const bankContact = new BankContactInfo("Jane Smith", bank, "1234567890");
235
+ * const narration = Narration.generateDefaultPayoutNarration(bankContact);
236
+ * // Returns: "PAYOUT TO BANK CRDB 1234567890 JANE SMITH"
237
+ * ```
238
+ */
239
+ static generateDefaultPayoutNarration(data) {
240
+ if (MobileContactInfo.is(data)) {
241
+ return Narration.generateMobilePayoutNarration(data);
242
+ }
243
+ else if (BankContactInfo.is(data)) {
244
+ return Narration.generateBankPayoutNarration(data);
245
+ }
246
+ else {
247
+ return "";
248
+ }
249
+ }
250
+ /**
251
+ * Generates a standardized mobile money payout narration.
252
+ * Format: "PAYOUT TO MOBILE {phone_number} {name}"
253
+ *
254
+ * @param data - Mobile contact information containing phone number and name
255
+ * @returns Formatted mobile payout narration in uppercase
256
+ *
257
+ * @example
258
+ * ```typescript
259
+ * const contact = new MobileContactInfo("John Doe", phoneNumber);
260
+ * const narration = Narration.generateMobilePayoutNarration(contact);
261
+ * // Returns: "PAYOUT TO MOBILE +255123456789 JOHN DOE"
262
+ * ```
263
+ */
264
+ static generateMobilePayoutNarration(data) {
265
+ const { phoneNumber, name } = data;
266
+ return `${MOBILE_NARR_PREFIX.trim()} ${phoneNumber.label.trim()} ${name.trim()}`.toUpperCase();
267
+ }
268
+ /**
269
+ * Generates a standardized bank payout narration.
270
+ * Format: "PAYOUT TO BANK {bank_short_name} {account_number} {account_name}"
271
+ *
272
+ * @param data - Bank contact information containing bank details, account number, and account name
273
+ * @returns Formatted bank payout narration in uppercase
274
+ *
275
+ * @example
276
+ * ```typescript
277
+ * const contact = new BankContactInfo("Jane Smith", bank, "1234567890");
278
+ * const narration = Narration.generateBankPayoutNarration(contact);
279
+ * // Returns: "PAYOUT TO BANK CRDB 1234567890 JANE SMITH"
280
+ * ```
281
+ */
282
+ static generateBankPayoutNarration(data) {
283
+ const { bank, accName, accNo } = data;
284
+ return `${BANK_NARR_PREFIX.trim()} ${bank.shortName.trim()} ${accNo.trim()} ${accName.trim()}`.toUpperCase();
285
+ }
286
+ }
287
+ /**
288
+ * Capitalizes the first letter of a string and converts the rest to lowercase.
289
+ * Used for standardizing name formatting in narrations.
290
+ *
291
+ * @param str - The string to capitalize
292
+ * @returns String with first letter capitalized and rest in lowercase
293
+ *
294
+ * @example
295
+ * ```typescript
296
+ * capitalizeFirstLetter("john") // Returns: "John"
297
+ * capitalizeFirstLetter("SMITH") // Returns: "Smith"
298
+ * capitalizeFirstLetter("") // Returns: ""
299
+ * ```
300
+ */
301
+ function capitalizeFirstLetter(str) {
302
+ if (str.length === 0) {
303
+ return str; // Return an empty string if input is empty
304
+ }
305
+ const firstLetter = str.charAt(0).toUpperCase();
306
+ const restOfString = str.slice(1).toLowerCase();
307
+ return firstLetter + restOfString;
308
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temboplus/afloat",
3
- "version": "0.1.59",
3
+ "version": "0.1.61",
4
4
  "description": "A JavaScript/TypeScript package providing common utilities and logic shared across all Temboplus-Afloat Projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,8 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^20.9.0",
35
- "picocolors": "^1.0.0",
36
- "@deno/shim-deno": "~0.18.0"
35
+ "picocolors": "^1.0.0"
37
36
  },
38
37
  "_generatedBy": "dnt@dev"
39
38
  }
package/script/mod.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./src/features/auth/index.js";
2
- export * from "./src/features/contact/index.js";
3
- export * from "./src/features/wallet/index.js";
4
- export * from "./src/features/payout/index.js";
5
- export * from "./src/features/admin/index.js";
6
- export * from "./src/errors/index.js";
7
- export * from "./src/models/index.js";
1
+ export * from "@features/auth/index.ts";
2
+ export * from "@features/contact/index.ts";
3
+ export * from "@features/wallet/index.ts";
4
+ export * from "@features/payout/index.ts";
5
+ export * from "@features/admin/index.ts";
6
+ export * from "@errors/index.ts";
7
+ export * from "@models/index.ts";
8
8
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../mod.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
package/script/mod.js CHANGED
@@ -14,10 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/features/auth/index.js"), exports);
18
- __exportStar(require("./src/features/contact/index.js"), exports);
19
- __exportStar(require("./src/features/wallet/index.js"), exports);
20
- __exportStar(require("./src/features/payout/index.js"), exports);
21
- __exportStar(require("./src/features/admin/index.js"), exports);
22
- __exportStar(require("./src/errors/index.js"), exports);
23
- __exportStar(require("./src/models/index.js"), exports);
17
+ __exportStar(require("@features/auth/index.ts"), exports);
18
+ __exportStar(require("@features/contact/index.ts"), exports);
19
+ __exportStar(require("@features/wallet/index.ts"), exports);
20
+ __exportStar(require("@features/payout/index.ts"), exports);
21
+ __exportStar(require("@features/admin/index.ts"), exports);
22
+ __exportStar(require("@errors/index.ts"), exports);
23
+ __exportStar(require("@models/index.ts"), exports);
@@ -0,0 +1,8 @@
1
+ export * from "./src/features/auth/index.js";
2
+ export * from "./src/features/contact/index.js";
3
+ export * from "./src/features/wallet/index.js";
4
+ export * from "./src/features/payout/index.js";
5
+ export * from "./src/features/admin/index.js";
6
+ export * from "./src/errors/index.js";
7
+ export * from "./src/models/index.js";
8
+ //# sourceMappingURL=mod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../src/mod.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./src/features/auth/index.js"), exports);
18
+ __exportStar(require("./src/features/contact/index.js"), exports);
19
+ __exportStar(require("./src/features/wallet/index.js"), exports);
20
+ __exportStar(require("./src/features/payout/index.js"), exports);
21
+ __exportStar(require("./src/features/admin/index.js"), exports);
22
+ __exportStar(require("./src/errors/index.js"), exports);
23
+ __exportStar(require("./src/models/index.js"), exports);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_error.d.ts","sourceRoot":"","sources":["../../../../../src/src/errors/api_error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,qBAAa,QAAS,SAAQ,KAAK;IACjC;;;OAGG;IACH,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC;;;OAGG;IACH,SAAgB,KAAK,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,SAAgB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElD;;;;;;;OAOG;gBACS,IAAI,EAAE;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACnC;IASD;;;;;;;;;;;;;;;;;OAiBG;WACW,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ;WAKrC,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ;IAOjD,WAAkB,MAAM,IAAI,CAAC,CAAC,SAAS,CAAC;QACtC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC;QACrB,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC;QACxB,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QAClC,OAAO,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;KACxC,CAAC,CAOD;CACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permission_error.d.ts","sourceRoot":"","sources":["../../../../../src/src/errors/permission_error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,yBAAyB,CAAC;AAGvE;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC;;;OAGG;IACH,SAAgB,mBAAmB,EAAE,UAAU,EAAE,CAAC;IAElD;;;;;OAKG;gBACS,IAAI,EAAE;QAChB,mBAAmB,EAAE,UAAU,EAAE,CAAC;QAClC,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IASD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;WACW,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,eAAe;CAkB3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/src/features/admin/contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsNjC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/src/features/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../../../src/src/features/admin/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,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C,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACtC,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEtC,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC,CAAC;AAmKH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;CASjC,CAAC;AAIF;;;GAGG;AACH,KAAK,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CACrC,OAAO,qBAAqB,CAAC,iBAAiB,CAC/C,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CACrC,OAAO,qBAAqB,CAAC,iBAAiB,CAC/C,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,qBAAqB,CAAC,oBAAoB,CAClD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CACtC,OAAO,qBAAqB,CAAC,kBAAkB,CAChD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,qBAAqB,CAAC,sBAAsB,CACpD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/features/auth/access/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;CAQzB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/features/auth/access/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,qBAAa,gBACX,SAAQ,uBAAuB,CAAC,OAAO,cAAc,CAAC;IACtD;;OAEG;;IAKG,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAazD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../../../src/src/features/auth/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCvB,CAAC"}