@temboplus/afloat 0.1.81 → 0.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/README.md +246 -42
  2. package/dist/index.cjs.js +2 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.d.ts +10 -0
  5. package/dist/index.esm.js +2 -0
  6. package/dist/index.esm.js.map +1 -0
  7. package/dist/lib/api/base-repository.d.ts +177 -0
  8. package/dist/lib/api/index.d.ts +1 -0
  9. package/{esm/src/errors/api_error.d.ts → dist/lib/error/error.api.d.ts} +0 -1
  10. package/{script/npm/src/src/errors/permission_error.d.ts → dist/lib/error/error.permission.d.ts} +1 -2
  11. package/dist/lib/error/error.utils.d.ts +22 -0
  12. package/dist/lib/error/index.d.ts +3 -0
  13. package/dist/lib/query/index.d.ts +4 -0
  14. package/dist/lib/query/pagination/pagination.d.ts +73 -0
  15. package/dist/lib/query/pagination/pagination.schemas.d.ts +83 -0
  16. package/dist/lib/query/query.builder.d.ts +75 -0
  17. package/dist/lib/query/query.types.d.ts +36 -0
  18. package/{esm/src/features/auth/contract.d.ts → dist/modules/auth/auth.contract.d.ts} +16 -19
  19. package/dist/modules/auth/auth.repository.d.ts +83 -0
  20. package/dist/modules/auth/company-membership.model.d.ts +171 -0
  21. package/dist/modules/auth/index.d.ts +3 -0
  22. package/dist/modules/auth/user.model.d.ts +363 -0
  23. package/dist/modules/beneficiary/beneficiary-info.model.d.ts +178 -0
  24. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +16 -0
  25. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +203 -0
  26. package/dist/modules/beneficiary/beneficiary.dtos.d.ts +84 -0
  27. package/dist/modules/beneficiary/beneficiary.model.d.ts +441 -0
  28. package/dist/modules/beneficiary/beneficiary.repository.d.ts +116 -0
  29. package/dist/modules/beneficiary/index.d.ts +6 -0
  30. package/dist/modules/login/index.d.ts +4 -0
  31. package/dist/modules/login/login.api-contract.d.ts +51 -0
  32. package/dist/modules/login/login.dtos.d.ts +85 -0
  33. package/dist/modules/login/login.model.d.ts +168 -0
  34. package/dist/modules/login/login.repository.d.ts +58 -0
  35. package/{esm/src/models/permission.d.ts → dist/modules/login/permission.type.d.ts} +9 -10
  36. package/dist/modules/payout/index.d.ts +5 -0
  37. package/dist/modules/payout/payout-channel-handler.d.ts +82 -0
  38. package/{esm/src/features/payout/contract.d.ts → dist/modules/payout/payout.api-contract.d.ts} +350 -207
  39. package/dist/modules/payout/payout.dtos.d.ts +607 -0
  40. package/dist/modules/payout/payout.model.d.ts +383 -0
  41. package/dist/modules/payout/payout.query.d.ts +134 -0
  42. package/dist/modules/payout/payout.repository.d.ts +204 -0
  43. package/dist/modules/profile/index.d.ts +3 -0
  44. package/{script/npm/src/src/features/auth/profile/contract.d.ts → dist/modules/profile/profile.api-contract.d.ts} +8 -6
  45. package/dist/modules/profile/profile.dtos.d.ts +80 -0
  46. package/{script/npm/src/src/models/user/profile.d.ts → dist/modules/profile/profile.model.d.ts} +81 -52
  47. package/dist/modules/profile/profile.repository.d.ts +56 -0
  48. package/dist/modules/team-member/index.d.ts +4 -0
  49. package/dist/modules/team-member/role.model.d.ts +61 -0
  50. package/{esm/src/features/admin/contract.d.ts → dist/modules/team-member/team-member.contract.d.ts} +229 -154
  51. package/dist/modules/team-member/team-member.dtos.d.ts +261 -0
  52. package/dist/modules/team-member/team-member.model.d.ts +237 -0
  53. package/dist/modules/team-member/team-member.repository.d.ts +179 -0
  54. package/dist/modules/wallet/index.d.ts +6 -0
  55. package/dist/modules/wallet/narration.model.d.ts +225 -0
  56. package/dist/modules/wallet/statement-entry.model.d.ts +299 -0
  57. package/{script/npm/src/src/features/wallet/contract.d.ts → dist/modules/wallet/wallet.contract.d.ts} +17 -15
  58. package/dist/modules/wallet/wallet.dtos.d.ts +204 -0
  59. package/{esm/src/models/wallet/wallet.d.ts → dist/modules/wallet/wallet.model.d.ts} +34 -40
  60. package/dist/modules/wallet/wallet.query.d.ts +95 -0
  61. package/dist/modules/wallet/wallet.repository.d.ts +205 -0
  62. package/dist/modules/wallet/wallet.utils.d.ts +17 -0
  63. package/package.json +49 -23
  64. package/LICENSE +0 -7
  65. package/esm/mod.d.ts +0 -8
  66. package/esm/mod.d.ts.map +0 -1
  67. package/esm/mod.js +0 -7
  68. package/esm/package.json +0 -3
  69. package/esm/src/errors/api_error.d.ts.map +0 -1
  70. package/esm/src/errors/api_error.js +0 -90
  71. package/esm/src/errors/index.d.ts +0 -3
  72. package/esm/src/errors/index.d.ts.map +0 -1
  73. package/esm/src/errors/index.js +0 -2
  74. package/esm/src/errors/permission_error.d.ts +0 -48
  75. package/esm/src/errors/permission_error.d.ts.map +0 -1
  76. package/esm/src/errors/permission_error.js +0 -70
  77. package/esm/src/features/admin/contract.d.ts.map +0 -1
  78. package/esm/src/features/admin/contract.js +0 -210
  79. package/esm/src/features/admin/index.d.ts +0 -4
  80. package/esm/src/features/admin/index.d.ts.map +0 -1
  81. package/esm/src/features/admin/index.js +0 -3
  82. package/esm/src/features/admin/repository.d.ts +0 -114
  83. package/esm/src/features/admin/repository.d.ts.map +0 -1
  84. package/esm/src/features/admin/repository.js +0 -248
  85. package/esm/src/features/admin/schemas.d.ts +0 -146
  86. package/esm/src/features/admin/schemas.d.ts.map +0 -1
  87. package/esm/src/features/admin/schemas.js +0 -206
  88. package/esm/src/features/auth/access/contract.d.ts +0 -14
  89. package/esm/src/features/auth/access/contract.d.ts.map +0 -1
  90. package/esm/src/features/auth/access/contract.js +0 -14
  91. package/esm/src/features/auth/access/repository.d.ts +0 -11
  92. package/esm/src/features/auth/access/repository.d.ts.map +0 -1
  93. package/esm/src/features/auth/access/repository.js +0 -25
  94. package/esm/src/features/auth/contract.d.ts.map +0 -1
  95. package/esm/src/features/auth/contract.js +0 -43
  96. package/esm/src/features/auth/identity/contract.d.ts +0 -23
  97. package/esm/src/features/auth/identity/contract.d.ts.map +0 -1
  98. package/esm/src/features/auth/identity/contract.js +0 -17
  99. package/esm/src/features/auth/identity/repository.d.ts +0 -22
  100. package/esm/src/features/auth/identity/repository.d.ts.map +0 -1
  101. package/esm/src/features/auth/identity/repository.js +0 -30
  102. package/esm/src/features/auth/index.d.ts +0 -6
  103. package/esm/src/features/auth/index.d.ts.map +0 -1
  104. package/esm/src/features/auth/index.js +0 -5
  105. package/esm/src/features/auth/manager.d.ts +0 -105
  106. package/esm/src/features/auth/manager.d.ts.map +0 -1
  107. package/esm/src/features/auth/manager.js +0 -181
  108. package/esm/src/features/auth/profile/contract.d.ts +0 -37
  109. package/esm/src/features/auth/profile/contract.d.ts.map +0 -1
  110. package/esm/src/features/auth/profile/contract.js +0 -14
  111. package/esm/src/features/auth/profile/repository.d.ts +0 -11
  112. package/esm/src/features/auth/profile/repository.d.ts.map +0 -1
  113. package/esm/src/features/auth/profile/repository.js +0 -25
  114. package/esm/src/features/auth/repository.d.ts +0 -30
  115. package/esm/src/features/auth/repository.d.ts.map +0 -1
  116. package/esm/src/features/auth/repository.js +0 -69
  117. package/esm/src/features/auth/storage/client_store.d.ts +0 -30
  118. package/esm/src/features/auth/storage/client_store.d.ts.map +0 -1
  119. package/esm/src/features/auth/storage/client_store.js +0 -46
  120. package/esm/src/features/auth/storage/client_token_handler.d.ts +0 -32
  121. package/esm/src/features/auth/storage/client_token_handler.d.ts.map +0 -1
  122. package/esm/src/features/auth/storage/client_token_handler.js +0 -36
  123. package/esm/src/features/auth/storage/server_store.d.ts +0 -24
  124. package/esm/src/features/auth/storage/server_store.d.ts.map +0 -1
  125. package/esm/src/features/auth/storage/server_store.js +0 -34
  126. package/esm/src/features/auth/storage/server_token_handler.d.ts +0 -36
  127. package/esm/src/features/auth/storage/server_token_handler.d.ts.map +0 -1
  128. package/esm/src/features/auth/storage/server_token_handler.js +0 -115
  129. package/esm/src/features/auth/storage/types.d.ts +0 -42
  130. package/esm/src/features/auth/storage/types.d.ts.map +0 -1
  131. package/esm/src/features/auth/storage/types.js +0 -1
  132. package/esm/src/features/contact/contract.d.ts +0 -170
  133. package/esm/src/features/contact/contract.d.ts.map +0 -1
  134. package/esm/src/features/contact/contract.js +0 -49
  135. package/esm/src/features/contact/index.d.ts +0 -2
  136. package/esm/src/features/contact/index.d.ts.map +0 -1
  137. package/esm/src/features/contact/index.js +0 -1
  138. package/esm/src/features/contact/repository.d.ts +0 -58
  139. package/esm/src/features/contact/repository.d.ts.map +0 -1
  140. package/esm/src/features/contact/repository.js +0 -108
  141. package/esm/src/features/payout/contract.d.ts.map +0 -1
  142. package/esm/src/features/payout/contract.js +0 -75
  143. package/esm/src/features/payout/index.d.ts +0 -2
  144. package/esm/src/features/payout/index.d.ts.map +0 -1
  145. package/esm/src/features/payout/index.js +0 -1
  146. package/esm/src/features/payout/repository.d.ts +0 -67
  147. package/esm/src/features/payout/repository.d.ts.map +0 -1
  148. package/esm/src/features/payout/repository.js +0 -179
  149. package/esm/src/features/wallet/contract.d.ts +0 -137
  150. package/esm/src/features/wallet/contract.d.ts.map +0 -1
  151. package/esm/src/features/wallet/contract.js +0 -38
  152. package/esm/src/features/wallet/index.d.ts +0 -2
  153. package/esm/src/features/wallet/index.d.ts.map +0 -1
  154. package/esm/src/features/wallet/index.js +0 -1
  155. package/esm/src/features/wallet/repository.d.ts +0 -57
  156. package/esm/src/features/wallet/repository.d.ts.map +0 -1
  157. package/esm/src/features/wallet/repository.js +0 -93
  158. package/esm/src/models/contact/derivatives/contact.d.ts +0 -172
  159. package/esm/src/models/contact/derivatives/contact.d.ts.map +0 -1
  160. package/esm/src/models/contact/derivatives/contact.js +0 -266
  161. package/esm/src/models/contact/derivatives/contact_info.d.ts +0 -188
  162. package/esm/src/models/contact/derivatives/contact_info.d.ts.map +0 -1
  163. package/esm/src/models/contact/derivatives/contact_info.js +0 -255
  164. package/esm/src/models/contact/index.d.ts +0 -5
  165. package/esm/src/models/contact/index.d.ts.map +0 -1
  166. package/esm/src/models/contact/index.js +0 -4
  167. package/esm/src/models/contact/schemas.d.ts +0 -66
  168. package/esm/src/models/contact/schemas.d.ts.map +0 -1
  169. package/esm/src/models/contact/schemas.js +0 -64
  170. package/esm/src/models/contact/validation.d.ts +0 -37
  171. package/esm/src/models/contact/validation.d.ts.map +0 -1
  172. package/esm/src/models/contact/validation.js +0 -146
  173. package/esm/src/models/index.d.ts +0 -7
  174. package/esm/src/models/index.d.ts.map +0 -1
  175. package/esm/src/models/index.js +0 -6
  176. package/esm/src/models/payout/api.d.ts +0 -29
  177. package/esm/src/models/payout/api.d.ts.map +0 -1
  178. package/esm/src/models/payout/api.js +0 -1
  179. package/esm/src/models/payout/channel.d.ts +0 -58
  180. package/esm/src/models/payout/channel.d.ts.map +0 -1
  181. package/esm/src/models/payout/channel.js +0 -53
  182. package/esm/src/models/payout/derivatives/payout.d.ts +0 -158
  183. package/esm/src/models/payout/derivatives/payout.d.ts.map +0 -1
  184. package/esm/src/models/payout/derivatives/payout.js +0 -271
  185. package/esm/src/models/payout/index.d.ts +0 -7
  186. package/esm/src/models/payout/index.d.ts.map +0 -1
  187. package/esm/src/models/payout/index.js +0 -6
  188. package/esm/src/models/payout/narration.d.ts +0 -164
  189. package/esm/src/models/payout/narration.d.ts.map +0 -1
  190. package/esm/src/models/payout/narration.js +0 -308
  191. package/esm/src/models/payout/schemas.d.ts +0 -156
  192. package/esm/src/models/payout/schemas.d.ts.map +0 -1
  193. package/esm/src/models/payout/schemas.js +0 -105
  194. package/esm/src/models/payout/status.d.ts +0 -33
  195. package/esm/src/models/payout/status.d.ts.map +0 -1
  196. package/esm/src/models/payout/status.js +0 -34
  197. package/esm/src/models/permission.d.ts.map +0 -1
  198. package/esm/src/models/permission.js +0 -50
  199. package/esm/src/models/role.d.ts +0 -21
  200. package/esm/src/models/role.d.ts.map +0 -1
  201. package/esm/src/models/role.js +0 -73
  202. package/esm/src/models/user/authenticated-user.d.ts +0 -77
  203. package/esm/src/models/user/authenticated-user.d.ts.map +0 -1
  204. package/esm/src/models/user/authenticated-user.js +0 -226
  205. package/esm/src/models/user/index.d.ts +0 -4
  206. package/esm/src/models/user/index.d.ts.map +0 -1
  207. package/esm/src/models/user/index.js +0 -3
  208. package/esm/src/models/user/managed-user.d.ts +0 -108
  209. package/esm/src/models/user/managed-user.d.ts.map +0 -1
  210. package/esm/src/models/user/managed-user.js +0 -255
  211. package/esm/src/models/user/profile.d.ts +0 -161
  212. package/esm/src/models/user/profile.d.ts.map +0 -1
  213. package/esm/src/models/user/profile.js +0 -334
  214. package/esm/src/models/wallet/index.d.ts +0 -4
  215. package/esm/src/models/wallet/index.d.ts.map +0 -1
  216. package/esm/src/models/wallet/index.js +0 -3
  217. package/esm/src/models/wallet/schemas.d.ts +0 -95
  218. package/esm/src/models/wallet/schemas.d.ts.map +0 -1
  219. package/esm/src/models/wallet/schemas.js +0 -35
  220. package/esm/src/models/wallet/statement_entry.d.ts +0 -160
  221. package/esm/src/models/wallet/statement_entry.d.ts.map +0 -1
  222. package/esm/src/models/wallet/statement_entry.js +0 -255
  223. package/esm/src/models/wallet/wallet.d.ts.map +0 -1
  224. package/esm/src/models/wallet/wallet.js +0 -279
  225. package/esm/src/shared/base_repository.d.ts +0 -80
  226. package/esm/src/shared/base_repository.d.ts.map +0 -1
  227. package/esm/src/shared/base_repository.js +0 -153
  228. package/esm/src/shared/common_responses.d.ts +0 -13
  229. package/esm/src/shared/common_responses.d.ts.map +0 -1
  230. package/esm/src/shared/common_responses.js +0 -10
  231. package/esm/src/shared/index.d.ts +0 -3
  232. package/esm/src/shared/index.d.ts.map +0 -1
  233. package/esm/src/shared/index.js +0 -2
  234. package/esm/src/shared/token_required_repository.d.ts +0 -78
  235. package/esm/src/shared/token_required_repository.d.ts.map +0 -1
  236. package/esm/src/shared/token_required_repository.js +0 -128
  237. package/script/mod.d.ts +0 -8
  238. package/script/mod.d.ts.map +0 -1
  239. package/script/mod.js +0 -23
  240. package/script/npm/src/mod.d.ts +0 -8
  241. package/script/npm/src/mod.d.ts.map +0 -1
  242. package/script/npm/src/mod.js +0 -23
  243. package/script/npm/src/src/errors/api_error.d.ts +0 -63
  244. package/script/npm/src/src/errors/api_error.d.ts.map +0 -1
  245. package/script/npm/src/src/errors/api_error.js +0 -94
  246. package/script/npm/src/src/errors/index.d.ts +0 -3
  247. package/script/npm/src/src/errors/index.d.ts.map +0 -1
  248. package/script/npm/src/src/errors/index.js +0 -18
  249. package/script/npm/src/src/errors/permission_error.d.ts.map +0 -1
  250. package/script/npm/src/src/errors/permission_error.js +0 -74
  251. package/script/npm/src/src/features/admin/contract.d.ts +0 -842
  252. package/script/npm/src/src/features/admin/contract.d.ts.map +0 -1
  253. package/script/npm/src/src/features/admin/contract.js +0 -213
  254. package/script/npm/src/src/features/admin/index.d.ts +0 -4
  255. package/script/npm/src/src/features/admin/index.d.ts.map +0 -1
  256. package/script/npm/src/src/features/admin/index.js +0 -19
  257. package/script/npm/src/src/features/admin/repository.d.ts +0 -114
  258. package/script/npm/src/src/features/admin/repository.d.ts.map +0 -1
  259. package/script/npm/src/src/features/admin/repository.js +0 -252
  260. package/script/npm/src/src/features/admin/schemas.d.ts +0 -146
  261. package/script/npm/src/src/features/admin/schemas.d.ts.map +0 -1
  262. package/script/npm/src/src/features/admin/schemas.js +0 -209
  263. package/script/npm/src/src/features/auth/access/contract.d.ts +0 -14
  264. package/script/npm/src/src/features/auth/access/contract.d.ts.map +0 -1
  265. package/script/npm/src/src/features/auth/access/contract.js +0 -17
  266. package/script/npm/src/src/features/auth/access/repository.d.ts +0 -11
  267. package/script/npm/src/src/features/auth/access/repository.d.ts.map +0 -1
  268. package/script/npm/src/src/features/auth/access/repository.js +0 -29
  269. package/script/npm/src/src/features/auth/contract.d.ts +0 -112
  270. package/script/npm/src/src/features/auth/contract.d.ts.map +0 -1
  271. package/script/npm/src/src/features/auth/contract.js +0 -46
  272. package/script/npm/src/src/features/auth/identity/contract.d.ts +0 -23
  273. package/script/npm/src/src/features/auth/identity/contract.d.ts.map +0 -1
  274. package/script/npm/src/src/features/auth/identity/contract.js +0 -20
  275. package/script/npm/src/src/features/auth/identity/repository.d.ts +0 -22
  276. package/script/npm/src/src/features/auth/identity/repository.d.ts.map +0 -1
  277. package/script/npm/src/src/features/auth/identity/repository.js +0 -34
  278. package/script/npm/src/src/features/auth/index.d.ts +0 -6
  279. package/script/npm/src/src/features/auth/index.d.ts.map +0 -1
  280. package/script/npm/src/src/features/auth/index.js +0 -21
  281. package/script/npm/src/src/features/auth/manager.d.ts +0 -105
  282. package/script/npm/src/src/features/auth/manager.d.ts.map +0 -1
  283. package/script/npm/src/src/features/auth/manager.js +0 -185
  284. package/script/npm/src/src/features/auth/profile/contract.d.ts.map +0 -1
  285. package/script/npm/src/src/features/auth/profile/contract.js +0 -17
  286. package/script/npm/src/src/features/auth/profile/repository.d.ts +0 -11
  287. package/script/npm/src/src/features/auth/profile/repository.d.ts.map +0 -1
  288. package/script/npm/src/src/features/auth/profile/repository.js +0 -29
  289. package/script/npm/src/src/features/auth/repository.d.ts +0 -30
  290. package/script/npm/src/src/features/auth/repository.d.ts.map +0 -1
  291. package/script/npm/src/src/features/auth/repository.js +0 -73
  292. package/script/npm/src/src/features/auth/storage/client_store.d.ts +0 -30
  293. package/script/npm/src/src/features/auth/storage/client_store.d.ts.map +0 -1
  294. package/script/npm/src/src/features/auth/storage/client_store.js +0 -51
  295. package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts +0 -32
  296. package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts.map +0 -1
  297. package/script/npm/src/src/features/auth/storage/client_token_handler.js +0 -40
  298. package/script/npm/src/src/features/auth/storage/server_store.d.ts +0 -24
  299. package/script/npm/src/src/features/auth/storage/server_store.d.ts.map +0 -1
  300. package/script/npm/src/src/features/auth/storage/server_store.js +0 -38
  301. package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts +0 -36
  302. package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts.map +0 -1
  303. package/script/npm/src/src/features/auth/storage/server_token_handler.js +0 -119
  304. package/script/npm/src/src/features/auth/storage/types.d.ts +0 -42
  305. package/script/npm/src/src/features/auth/storage/types.d.ts.map +0 -1
  306. package/script/npm/src/src/features/auth/storage/types.js +0 -2
  307. package/script/npm/src/src/features/contact/contract.d.ts +0 -170
  308. package/script/npm/src/src/features/contact/contract.d.ts.map +0 -1
  309. package/script/npm/src/src/features/contact/contract.js +0 -52
  310. package/script/npm/src/src/features/contact/index.d.ts +0 -2
  311. package/script/npm/src/src/features/contact/index.d.ts.map +0 -1
  312. package/script/npm/src/src/features/contact/index.js +0 -17
  313. package/script/npm/src/src/features/contact/repository.d.ts +0 -58
  314. package/script/npm/src/src/features/contact/repository.d.ts.map +0 -1
  315. package/script/npm/src/src/features/contact/repository.js +0 -112
  316. package/script/npm/src/src/features/payout/contract.d.ts +0 -623
  317. package/script/npm/src/src/features/payout/contract.d.ts.map +0 -1
  318. package/script/npm/src/src/features/payout/contract.js +0 -78
  319. package/script/npm/src/src/features/payout/index.d.ts +0 -2
  320. package/script/npm/src/src/features/payout/index.d.ts.map +0 -1
  321. package/script/npm/src/src/features/payout/index.js +0 -17
  322. package/script/npm/src/src/features/payout/repository.d.ts +0 -67
  323. package/script/npm/src/src/features/payout/repository.d.ts.map +0 -1
  324. package/script/npm/src/src/features/payout/repository.js +0 -183
  325. package/script/npm/src/src/features/wallet/contract.d.ts.map +0 -1
  326. package/script/npm/src/src/features/wallet/contract.js +0 -41
  327. package/script/npm/src/src/features/wallet/index.d.ts +0 -2
  328. package/script/npm/src/src/features/wallet/index.d.ts.map +0 -1
  329. package/script/npm/src/src/features/wallet/index.js +0 -17
  330. package/script/npm/src/src/features/wallet/repository.d.ts +0 -57
  331. package/script/npm/src/src/features/wallet/repository.d.ts.map +0 -1
  332. package/script/npm/src/src/features/wallet/repository.js +0 -97
  333. package/script/npm/src/src/models/contact/derivatives/contact.d.ts +0 -172
  334. package/script/npm/src/src/models/contact/derivatives/contact.d.ts.map +0 -1
  335. package/script/npm/src/src/models/contact/derivatives/contact.js +0 -270
  336. package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts +0 -188
  337. package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts.map +0 -1
  338. package/script/npm/src/src/models/contact/derivatives/contact_info.js +0 -260
  339. package/script/npm/src/src/models/contact/index.d.ts +0 -5
  340. package/script/npm/src/src/models/contact/index.d.ts.map +0 -1
  341. package/script/npm/src/src/models/contact/index.js +0 -20
  342. package/script/npm/src/src/models/contact/schemas.d.ts +0 -66
  343. package/script/npm/src/src/models/contact/schemas.d.ts.map +0 -1
  344. package/script/npm/src/src/models/contact/schemas.js +0 -67
  345. package/script/npm/src/src/models/contact/validation.d.ts +0 -37
  346. package/script/npm/src/src/models/contact/validation.d.ts.map +0 -1
  347. package/script/npm/src/src/models/contact/validation.js +0 -153
  348. package/script/npm/src/src/models/index.d.ts +0 -7
  349. package/script/npm/src/src/models/index.d.ts.map +0 -1
  350. package/script/npm/src/src/models/index.js +0 -22
  351. package/script/npm/src/src/models/payout/api.d.ts +0 -29
  352. package/script/npm/src/src/models/payout/api.d.ts.map +0 -1
  353. package/script/npm/src/src/models/payout/api.js +0 -2
  354. package/script/npm/src/src/models/payout/channel.d.ts +0 -58
  355. package/script/npm/src/src/models/payout/channel.d.ts.map +0 -1
  356. package/script/npm/src/src/models/payout/channel.js +0 -56
  357. package/script/npm/src/src/models/payout/derivatives/payout.d.ts +0 -158
  358. package/script/npm/src/src/models/payout/derivatives/payout.d.ts.map +0 -1
  359. package/script/npm/src/src/models/payout/derivatives/payout.js +0 -275
  360. package/script/npm/src/src/models/payout/index.d.ts +0 -7
  361. package/script/npm/src/src/models/payout/index.d.ts.map +0 -1
  362. package/script/npm/src/src/models/payout/index.js +0 -22
  363. package/script/npm/src/src/models/payout/narration.d.ts +0 -164
  364. package/script/npm/src/src/models/payout/narration.d.ts.map +0 -1
  365. package/script/npm/src/src/models/payout/narration.js +0 -312
  366. package/script/npm/src/src/models/payout/schemas.d.ts +0 -156
  367. package/script/npm/src/src/models/payout/schemas.d.ts.map +0 -1
  368. package/script/npm/src/src/models/payout/schemas.js +0 -108
  369. package/script/npm/src/src/models/payout/status.d.ts +0 -33
  370. package/script/npm/src/src/models/payout/status.d.ts.map +0 -1
  371. package/script/npm/src/src/models/payout/status.js +0 -37
  372. package/script/npm/src/src/models/permission.d.ts +0 -55
  373. package/script/npm/src/src/models/permission.d.ts.map +0 -1
  374. package/script/npm/src/src/models/permission.js +0 -53
  375. package/script/npm/src/src/models/role.d.ts +0 -21
  376. package/script/npm/src/src/models/role.d.ts.map +0 -1
  377. package/script/npm/src/src/models/role.js +0 -77
  378. package/script/npm/src/src/models/user/authenticated-user.d.ts +0 -77
  379. package/script/npm/src/src/models/user/authenticated-user.d.ts.map +0 -1
  380. package/script/npm/src/src/models/user/authenticated-user.js +0 -230
  381. package/script/npm/src/src/models/user/index.d.ts +0 -4
  382. package/script/npm/src/src/models/user/index.d.ts.map +0 -1
  383. package/script/npm/src/src/models/user/index.js +0 -19
  384. package/script/npm/src/src/models/user/managed-user.d.ts +0 -108
  385. package/script/npm/src/src/models/user/managed-user.d.ts.map +0 -1
  386. package/script/npm/src/src/models/user/managed-user.js +0 -260
  387. package/script/npm/src/src/models/user/profile.d.ts.map +0 -1
  388. package/script/npm/src/src/models/user/profile.js +0 -338
  389. package/script/npm/src/src/models/wallet/index.d.ts +0 -4
  390. package/script/npm/src/src/models/wallet/index.d.ts.map +0 -1
  391. package/script/npm/src/src/models/wallet/index.js +0 -19
  392. package/script/npm/src/src/models/wallet/schemas.d.ts +0 -95
  393. package/script/npm/src/src/models/wallet/schemas.d.ts.map +0 -1
  394. package/script/npm/src/src/models/wallet/schemas.js +0 -38
  395. package/script/npm/src/src/models/wallet/statement_entry.d.ts +0 -160
  396. package/script/npm/src/src/models/wallet/statement_entry.d.ts.map +0 -1
  397. package/script/npm/src/src/models/wallet/statement_entry.js +0 -259
  398. package/script/npm/src/src/models/wallet/wallet.d.ts +0 -147
  399. package/script/npm/src/src/models/wallet/wallet.d.ts.map +0 -1
  400. package/script/npm/src/src/models/wallet/wallet.js +0 -283
  401. package/script/npm/src/src/shared/base_repository.d.ts +0 -80
  402. package/script/npm/src/src/shared/base_repository.d.ts.map +0 -1
  403. package/script/npm/src/src/shared/base_repository.js +0 -157
  404. package/script/npm/src/src/shared/common_responses.d.ts +0 -13
  405. package/script/npm/src/src/shared/common_responses.d.ts.map +0 -1
  406. package/script/npm/src/src/shared/common_responses.js +0 -13
  407. package/script/npm/src/src/shared/index.d.ts +0 -3
  408. package/script/npm/src/src/shared/index.d.ts.map +0 -1
  409. package/script/npm/src/src/shared/index.js +0 -18
  410. package/script/npm/src/src/shared/token_required_repository.d.ts +0 -78
  411. package/script/npm/src/src/shared/token_required_repository.d.ts.map +0 -1
  412. package/script/npm/src/src/shared/token_required_repository.js +0 -132
  413. package/script/package.json +0 -3
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- export declare const userManagementContract: {
3
- getUsers: {
4
- description: "Retrieve a list of all user accounts in the system";
2
+ export declare const teamManagementContract: {
3
+ getTeamMembers: {
4
+ description: "Retrieve a list of all team member accounts in the system";
5
5
  query: z.ZodObject<{
6
6
  id: z.ZodOptional<z.ZodString>;
7
7
  name: z.ZodOptional<z.ZodString>;
@@ -15,34 +15,34 @@ export declare const userManagementContract: {
15
15
  createdAt: z.ZodOptional<z.ZodString>;
16
16
  updatedAt: z.ZodOptional<z.ZodString>;
17
17
  eager: z.ZodOptional<z.ZodString>;
18
- }, z.UnknownKeysParam, z.ZodTypeAny, {
18
+ }, "strip", z.ZodTypeAny, {
19
19
  type?: string | undefined;
20
- id?: string | undefined;
21
- resetPassword?: number | undefined;
22
20
  name?: string | undefined;
23
- identity?: string | undefined;
24
- profileId?: string | undefined;
25
21
  createdAt?: string | undefined;
26
- updatedAt?: string | undefined;
27
22
  eager?: string | undefined;
23
+ id?: string | undefined;
24
+ profileId?: string | undefined;
25
+ identity?: string | undefined;
28
26
  roleId?: string | undefined;
29
27
  isActive?: number | undefined;
30
28
  isArchived?: number | undefined;
29
+ resetPassword?: number | undefined;
30
+ updatedAt?: string | undefined;
31
31
  }, {
32
32
  type?: string | undefined;
33
- id?: string | undefined;
34
- resetPassword?: number | undefined;
35
33
  name?: string | undefined;
36
- identity?: string | undefined;
37
- profileId?: string | undefined;
38
34
  createdAt?: string | undefined;
39
- updatedAt?: string | undefined;
40
35
  eager?: string | undefined;
36
+ id?: string | undefined;
37
+ profileId?: string | undefined;
38
+ identity?: string | undefined;
41
39
  roleId?: string | undefined;
42
40
  isActive?: number | undefined;
43
41
  isArchived?: number | undefined;
42
+ resetPassword?: number | undefined;
43
+ updatedAt?: string | undefined;
44
44
  }>;
45
- summary: "List all user accounts";
45
+ summary: "List all team members";
46
46
  method: "GET";
47
47
  path: "/login";
48
48
  responses: {
@@ -56,54 +56,68 @@ export declare const userManagementContract: {
56
56
  resetPassword: z.ZodBoolean;
57
57
  isActive: z.ZodBoolean;
58
58
  isArchived: z.ZodBoolean;
59
- role: z.ZodOptional<z.ZodType<{
59
+ role: z.ZodOptional<z.ZodObject<{
60
+ id: z.ZodString;
61
+ name: z.ZodString;
62
+ description: z.ZodOptional<z.ZodString>;
63
+ access: z.ZodArray<z.ZodString, "many">;
64
+ createdAt: z.ZodString;
65
+ updatedAt: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ name: string;
68
+ createdAt: string;
60
69
  id: string;
70
+ updatedAt: string;
61
71
  access: string[];
72
+ description?: string | undefined;
73
+ }, {
62
74
  name: string;
63
75
  createdAt: string;
76
+ id: string;
64
77
  updatedAt: string;
78
+ access: string[];
65
79
  description?: string | undefined;
66
80
  }>>;
67
81
  createdAt: z.ZodString;
68
82
  updatedAt: z.ZodString;
69
- }, z.UnknownKeysParam, z.ZodTypeAny, {
83
+ }, "strip", z.ZodTypeAny, {
70
84
  type: string;
71
- id: string;
72
- resetPassword: boolean;
73
85
  name: string;
74
- identity: string;
75
- profileId: string;
76
86
  createdAt: string;
77
- updatedAt: string;
87
+ id: string;
88
+ profileId: string;
89
+ identity: string;
78
90
  roleId: string;
79
91
  isActive: boolean;
80
92
  isArchived: boolean;
93
+ resetPassword: boolean;
94
+ updatedAt: string;
81
95
  role?: {
82
- id: string;
83
- access: string[];
84
96
  name: string;
85
97
  createdAt: string;
98
+ id: string;
86
99
  updatedAt: string;
100
+ access: string[];
87
101
  description?: string | undefined;
88
102
  } | undefined;
89
103
  }, {
90
104
  type: string;
91
- id: string;
92
- resetPassword: boolean;
93
105
  name: string;
94
- identity: string;
95
- profileId: string;
96
106
  createdAt: string;
97
- updatedAt: string;
107
+ id: string;
108
+ profileId: string;
109
+ identity: string;
98
110
  roleId: string;
99
111
  isActive: boolean;
100
112
  isArchived: boolean;
113
+ resetPassword: boolean;
114
+ updatedAt: string;
101
115
  role?: {
102
- id: string;
103
- access: string[];
104
116
  name: string;
105
117
  createdAt: string;
118
+ id: string;
106
119
  updatedAt: string;
120
+ access: string[];
107
121
  description?: string | undefined;
108
122
  } | undefined;
109
123
  }>, "many">;
@@ -123,8 +137,8 @@ export declare const userManagementContract: {
123
137
  }>;
124
138
  };
125
139
  };
126
- getUser: {
127
- description: "Retrieve detailed information about a specific user account";
140
+ getTeamMember: {
141
+ description: "Retrieve detailed information about a specific team member";
128
142
  pathParams: z.ZodObject<{
129
143
  id: z.ZodString;
130
144
  }, "strip", z.ZodTypeAny, {
@@ -145,34 +159,34 @@ export declare const userManagementContract: {
145
159
  createdAt: z.ZodOptional<z.ZodString>;
146
160
  updatedAt: z.ZodOptional<z.ZodString>;
147
161
  eager: z.ZodOptional<z.ZodString>;
148
- }, z.UnknownKeysParam, z.ZodTypeAny, {
162
+ }, "strip", z.ZodTypeAny, {
149
163
  type?: string | undefined;
150
- id?: string | undefined;
151
- resetPassword?: number | undefined;
152
164
  name?: string | undefined;
153
- identity?: string | undefined;
154
- profileId?: string | undefined;
155
165
  createdAt?: string | undefined;
156
- updatedAt?: string | undefined;
157
166
  eager?: string | undefined;
167
+ id?: string | undefined;
168
+ profileId?: string | undefined;
169
+ identity?: string | undefined;
158
170
  roleId?: string | undefined;
159
171
  isActive?: number | undefined;
160
172
  isArchived?: number | undefined;
173
+ resetPassword?: number | undefined;
174
+ updatedAt?: string | undefined;
161
175
  }, {
162
176
  type?: string | undefined;
163
- id?: string | undefined;
164
- resetPassword?: number | undefined;
165
177
  name?: string | undefined;
166
- identity?: string | undefined;
167
- profileId?: string | undefined;
168
178
  createdAt?: string | undefined;
169
- updatedAt?: string | undefined;
170
179
  eager?: string | undefined;
180
+ id?: string | undefined;
181
+ profileId?: string | undefined;
182
+ identity?: string | undefined;
171
183
  roleId?: string | undefined;
172
184
  isActive?: number | undefined;
173
185
  isArchived?: number | undefined;
186
+ resetPassword?: number | undefined;
187
+ updatedAt?: string | undefined;
174
188
  }>;
175
- summary: "Get user account details";
189
+ summary: "Get team member details";
176
190
  method: "GET";
177
191
  path: "/login/:id";
178
192
  responses: {
@@ -186,54 +200,68 @@ export declare const userManagementContract: {
186
200
  resetPassword: z.ZodBoolean;
187
201
  isActive: z.ZodBoolean;
188
202
  isArchived: z.ZodBoolean;
189
- role: z.ZodOptional<z.ZodType<{
203
+ role: z.ZodOptional<z.ZodObject<{
204
+ id: z.ZodString;
205
+ name: z.ZodString;
206
+ description: z.ZodOptional<z.ZodString>;
207
+ access: z.ZodArray<z.ZodString, "many">;
208
+ createdAt: z.ZodString;
209
+ updatedAt: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
211
+ name: string;
212
+ createdAt: string;
190
213
  id: string;
214
+ updatedAt: string;
191
215
  access: string[];
216
+ description?: string | undefined;
217
+ }, {
192
218
  name: string;
193
219
  createdAt: string;
220
+ id: string;
194
221
  updatedAt: string;
222
+ access: string[];
195
223
  description?: string | undefined;
196
224
  }>>;
197
225
  createdAt: z.ZodString;
198
226
  updatedAt: z.ZodString;
199
- }, z.UnknownKeysParam, z.ZodTypeAny, {
227
+ }, "strip", z.ZodTypeAny, {
200
228
  type: string;
201
- id: string;
202
- resetPassword: boolean;
203
229
  name: string;
204
- identity: string;
205
- profileId: string;
206
230
  createdAt: string;
207
- updatedAt: string;
231
+ id: string;
232
+ profileId: string;
233
+ identity: string;
208
234
  roleId: string;
209
235
  isActive: boolean;
210
236
  isArchived: boolean;
237
+ resetPassword: boolean;
238
+ updatedAt: string;
211
239
  role?: {
212
- id: string;
213
- access: string[];
214
240
  name: string;
215
241
  createdAt: string;
242
+ id: string;
216
243
  updatedAt: string;
244
+ access: string[];
217
245
  description?: string | undefined;
218
246
  } | undefined;
219
247
  }, {
220
248
  type: string;
221
- id: string;
222
- resetPassword: boolean;
223
249
  name: string;
224
- identity: string;
225
- profileId: string;
226
250
  createdAt: string;
227
- updatedAt: string;
251
+ id: string;
252
+ profileId: string;
253
+ identity: string;
228
254
  roleId: string;
229
255
  isActive: boolean;
230
256
  isArchived: boolean;
257
+ resetPassword: boolean;
258
+ updatedAt: string;
231
259
  role?: {
232
- id: string;
233
- access: string[];
234
260
  name: string;
235
261
  createdAt: string;
262
+ id: string;
236
263
  updatedAt: string;
264
+ access: string[];
237
265
  description?: string | undefined;
238
266
  } | undefined;
239
267
  }>;
@@ -260,9 +288,9 @@ export declare const userManagementContract: {
260
288
  }>;
261
289
  };
262
290
  };
263
- createUser: {
264
- description: "Create a new user account with specified role and permissions";
265
- summary: "Create new user account";
291
+ createTeamMember: {
292
+ description: "Create a new team member account with specified role and permissions";
293
+ summary: "Create new team member";
266
294
  method: "POST";
267
295
  body: z.ZodObject<{
268
296
  name: z.ZodString;
@@ -270,18 +298,18 @@ export declare const userManagementContract: {
270
298
  password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
271
299
  roleId: z.ZodOptional<z.ZodString>;
272
300
  resetPassword: z.ZodOptional<z.ZodBoolean>;
273
- }, z.UnknownKeysParam, z.ZodTypeAny, {
301
+ }, "strip", z.ZodTypeAny, {
274
302
  name: string;
275
303
  identity: string;
304
+ roleId?: string | undefined;
276
305
  resetPassword?: boolean | undefined;
277
306
  password?: string | undefined;
278
- roleId?: string | undefined;
279
307
  }, {
280
308
  name: string;
281
309
  identity: string;
310
+ roleId?: string | undefined;
282
311
  resetPassword?: boolean | undefined;
283
312
  password?: string | undefined;
284
- roleId?: string | undefined;
285
313
  }>;
286
314
  path: "/login";
287
315
  responses: {
@@ -291,30 +319,36 @@ export declare const userManagementContract: {
291
319
  identity: z.ZodString;
292
320
  type: z.ZodString;
293
321
  profileId: z.ZodString;
322
+ resetPassword: z.ZodBoolean;
294
323
  roleId: z.ZodString;
295
324
  isActive: z.ZodBoolean;
296
325
  isArchived: z.ZodBoolean;
297
326
  createdAt: z.ZodString;
298
- }, z.UnknownKeysParam, z.ZodTypeAny, {
327
+ updatedAt: z.ZodString;
328
+ }, "strip", z.ZodTypeAny, {
299
329
  type: string;
300
- id: string;
301
330
  name: string;
302
- identity: string;
303
- profileId: string;
304
331
  createdAt: string;
332
+ id: string;
333
+ profileId: string;
334
+ identity: string;
305
335
  roleId: string;
306
336
  isActive: boolean;
307
337
  isArchived: boolean;
338
+ resetPassword: boolean;
339
+ updatedAt: string;
308
340
  }, {
309
341
  type: string;
310
- id: string;
311
342
  name: string;
312
- identity: string;
313
- profileId: string;
314
343
  createdAt: string;
344
+ id: string;
345
+ profileId: string;
346
+ identity: string;
315
347
  roleId: string;
316
348
  isActive: boolean;
317
349
  isArchived: boolean;
350
+ resetPassword: boolean;
351
+ updatedAt: string;
318
352
  }>;
319
353
  400: z.ZodObject<{
320
354
  message: z.ZodOptional<z.ZodString>;
@@ -349,8 +383,8 @@ export declare const userManagementContract: {
349
383
  }>;
350
384
  };
351
385
  };
352
- updateUser: {
353
- description: "Update user account information, role, status, or force password reset";
386
+ updateTeamMember: {
387
+ description: "Update team member information, role, status, or force password reset";
354
388
  pathParams: z.ZodObject<{
355
389
  id: z.ZodString;
356
390
  }, "strip", z.ZodTypeAny, {
@@ -358,7 +392,7 @@ export declare const userManagementContract: {
358
392
  }, {
359
393
  id: string;
360
394
  }>;
361
- summary: "Update user account";
395
+ summary: "Update team member";
362
396
  method: "PATCH";
363
397
  body: z.ZodObject<{
364
398
  name: z.ZodOptional<z.ZodString>;
@@ -366,18 +400,18 @@ export declare const userManagementContract: {
366
400
  password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
367
401
  resetPassword: z.ZodOptional<z.ZodBoolean>;
368
402
  isActive: z.ZodOptional<z.ZodBoolean>;
369
- }, z.UnknownKeysParam, z.ZodTypeAny, {
370
- resetPassword?: boolean | undefined;
403
+ }, "strip", z.ZodTypeAny, {
371
404
  name?: string | undefined;
372
- password?: string | undefined;
373
405
  roleId?: string | undefined;
374
406
  isActive?: boolean | undefined;
375
- }, {
376
407
  resetPassword?: boolean | undefined;
377
- name?: string | undefined;
378
408
  password?: string | undefined;
409
+ }, {
410
+ name?: string | undefined;
379
411
  roleId?: string | undefined;
380
412
  isActive?: boolean | undefined;
413
+ resetPassword?: boolean | undefined;
414
+ password?: string | undefined;
381
415
  }>;
382
416
  path: "/login/:id";
383
417
  responses: {
@@ -391,54 +425,68 @@ export declare const userManagementContract: {
391
425
  resetPassword: z.ZodBoolean;
392
426
  isActive: z.ZodBoolean;
393
427
  isArchived: z.ZodBoolean;
394
- role: z.ZodOptional<z.ZodType<{
428
+ role: z.ZodOptional<z.ZodObject<{
429
+ id: z.ZodString;
430
+ name: z.ZodString;
431
+ description: z.ZodOptional<z.ZodString>;
432
+ access: z.ZodArray<z.ZodString, "many">;
433
+ createdAt: z.ZodString;
434
+ updatedAt: z.ZodString;
435
+ }, "strip", z.ZodTypeAny, {
436
+ name: string;
437
+ createdAt: string;
395
438
  id: string;
439
+ updatedAt: string;
396
440
  access: string[];
441
+ description?: string | undefined;
442
+ }, {
397
443
  name: string;
398
444
  createdAt: string;
445
+ id: string;
399
446
  updatedAt: string;
447
+ access: string[];
400
448
  description?: string | undefined;
401
449
  }>>;
402
450
  createdAt: z.ZodString;
403
451
  updatedAt: z.ZodString;
404
- }, z.UnknownKeysParam, z.ZodTypeAny, {
452
+ }, "strip", z.ZodTypeAny, {
405
453
  type: string;
406
- id: string;
407
- resetPassword: boolean;
408
454
  name: string;
409
- identity: string;
410
- profileId: string;
411
455
  createdAt: string;
412
- updatedAt: string;
456
+ id: string;
457
+ profileId: string;
458
+ identity: string;
413
459
  roleId: string;
414
460
  isActive: boolean;
415
461
  isArchived: boolean;
462
+ resetPassword: boolean;
463
+ updatedAt: string;
416
464
  role?: {
417
- id: string;
418
- access: string[];
419
465
  name: string;
420
466
  createdAt: string;
467
+ id: string;
421
468
  updatedAt: string;
469
+ access: string[];
422
470
  description?: string | undefined;
423
471
  } | undefined;
424
472
  }, {
425
473
  type: string;
426
- id: string;
427
- resetPassword: boolean;
428
474
  name: string;
429
- identity: string;
430
- profileId: string;
431
475
  createdAt: string;
432
- updatedAt: string;
476
+ id: string;
477
+ profileId: string;
478
+ identity: string;
433
479
  roleId: string;
434
480
  isActive: boolean;
435
481
  isArchived: boolean;
482
+ resetPassword: boolean;
483
+ updatedAt: string;
436
484
  role?: {
437
- id: string;
438
- access: string[];
439
485
  name: string;
440
486
  createdAt: string;
487
+ id: string;
441
488
  updatedAt: string;
489
+ access: string[];
442
490
  description?: string | undefined;
443
491
  } | undefined;
444
492
  }>;
@@ -475,8 +523,8 @@ export declare const userManagementContract: {
475
523
  }>;
476
524
  };
477
525
  };
478
- archiveUser: {
479
- description: "Archive (soft delete) a user account";
526
+ archiveTeamMember: {
527
+ description: "Archive (soft delete) a team member account";
480
528
  pathParams: z.ZodObject<{
481
529
  id: z.ZodString;
482
530
  }, "strip", z.ZodTypeAny, {
@@ -484,7 +532,7 @@ export declare const userManagementContract: {
484
532
  }, {
485
533
  id: string;
486
534
  }>;
487
- summary: "Archive user account";
535
+ summary: "Archive team member";
488
536
  method: "POST";
489
537
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
490
538
  path: "/login/:id/archive";
@@ -499,54 +547,68 @@ export declare const userManagementContract: {
499
547
  resetPassword: z.ZodBoolean;
500
548
  isActive: z.ZodBoolean;
501
549
  isArchived: z.ZodBoolean;
502
- role: z.ZodOptional<z.ZodType<{
550
+ role: z.ZodOptional<z.ZodObject<{
551
+ id: z.ZodString;
552
+ name: z.ZodString;
553
+ description: z.ZodOptional<z.ZodString>;
554
+ access: z.ZodArray<z.ZodString, "many">;
555
+ createdAt: z.ZodString;
556
+ updatedAt: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ name: string;
559
+ createdAt: string;
503
560
  id: string;
561
+ updatedAt: string;
504
562
  access: string[];
563
+ description?: string | undefined;
564
+ }, {
505
565
  name: string;
506
566
  createdAt: string;
567
+ id: string;
507
568
  updatedAt: string;
569
+ access: string[];
508
570
  description?: string | undefined;
509
571
  }>>;
510
572
  createdAt: z.ZodString;
511
573
  updatedAt: z.ZodString;
512
- }, z.UnknownKeysParam, z.ZodTypeAny, {
574
+ }, "strip", z.ZodTypeAny, {
513
575
  type: string;
514
- id: string;
515
- resetPassword: boolean;
516
576
  name: string;
517
- identity: string;
518
- profileId: string;
519
577
  createdAt: string;
520
- updatedAt: string;
578
+ id: string;
579
+ profileId: string;
580
+ identity: string;
521
581
  roleId: string;
522
582
  isActive: boolean;
523
583
  isArchived: boolean;
584
+ resetPassword: boolean;
585
+ updatedAt: string;
524
586
  role?: {
525
- id: string;
526
- access: string[];
527
587
  name: string;
528
588
  createdAt: string;
589
+ id: string;
529
590
  updatedAt: string;
591
+ access: string[];
530
592
  description?: string | undefined;
531
593
  } | undefined;
532
594
  }, {
533
595
  type: string;
534
- id: string;
535
- resetPassword: boolean;
536
596
  name: string;
537
- identity: string;
538
- profileId: string;
539
597
  createdAt: string;
540
- updatedAt: string;
598
+ id: string;
599
+ profileId: string;
600
+ identity: string;
541
601
  roleId: string;
542
602
  isActive: boolean;
543
603
  isArchived: boolean;
604
+ resetPassword: boolean;
605
+ updatedAt: string;
544
606
  role?: {
545
- id: string;
546
- access: string[];
547
607
  name: string;
548
608
  createdAt: string;
609
+ id: string;
549
610
  updatedAt: string;
611
+ access: string[];
550
612
  description?: string | undefined;
551
613
  } | undefined;
552
614
  }>;
@@ -573,8 +635,8 @@ export declare const userManagementContract: {
573
635
  }>;
574
636
  };
575
637
  };
576
- unArchiveUser: {
577
- description: "Un-archive (soft delete) a user account";
638
+ unArchiveTeamMember: {
639
+ description: "Unarchive a previously archived team member account";
578
640
  pathParams: z.ZodObject<{
579
641
  id: z.ZodString;
580
642
  }, "strip", z.ZodTypeAny, {
@@ -582,7 +644,7 @@ export declare const userManagementContract: {
582
644
  }, {
583
645
  id: string;
584
646
  }>;
585
- summary: "Un-archive user account";
647
+ summary: "Unarchive team member";
586
648
  method: "POST";
587
649
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
588
650
  path: "/login/:id/unarchive";
@@ -597,54 +659,68 @@ export declare const userManagementContract: {
597
659
  resetPassword: z.ZodBoolean;
598
660
  isActive: z.ZodBoolean;
599
661
  isArchived: z.ZodBoolean;
600
- role: z.ZodOptional<z.ZodType<{
662
+ role: z.ZodOptional<z.ZodObject<{
663
+ id: z.ZodString;
664
+ name: z.ZodString;
665
+ description: z.ZodOptional<z.ZodString>;
666
+ access: z.ZodArray<z.ZodString, "many">;
667
+ createdAt: z.ZodString;
668
+ updatedAt: z.ZodString;
669
+ }, "strip", z.ZodTypeAny, {
670
+ name: string;
671
+ createdAt: string;
601
672
  id: string;
673
+ updatedAt: string;
602
674
  access: string[];
675
+ description?: string | undefined;
676
+ }, {
603
677
  name: string;
604
678
  createdAt: string;
679
+ id: string;
605
680
  updatedAt: string;
681
+ access: string[];
606
682
  description?: string | undefined;
607
683
  }>>;
608
684
  createdAt: z.ZodString;
609
685
  updatedAt: z.ZodString;
610
- }, z.UnknownKeysParam, z.ZodTypeAny, {
686
+ }, "strip", z.ZodTypeAny, {
611
687
  type: string;
612
- id: string;
613
- resetPassword: boolean;
614
688
  name: string;
615
- identity: string;
616
- profileId: string;
617
689
  createdAt: string;
618
- updatedAt: string;
690
+ id: string;
691
+ profileId: string;
692
+ identity: string;
619
693
  roleId: string;
620
694
  isActive: boolean;
621
695
  isArchived: boolean;
696
+ resetPassword: boolean;
697
+ updatedAt: string;
622
698
  role?: {
623
- id: string;
624
- access: string[];
625
699
  name: string;
626
700
  createdAt: string;
701
+ id: string;
627
702
  updatedAt: string;
703
+ access: string[];
628
704
  description?: string | undefined;
629
705
  } | undefined;
630
706
  }, {
631
707
  type: string;
632
- id: string;
633
- resetPassword: boolean;
634
708
  name: string;
635
- identity: string;
636
- profileId: string;
637
709
  createdAt: string;
638
- updatedAt: string;
710
+ id: string;
711
+ profileId: string;
712
+ identity: string;
639
713
  roleId: string;
640
714
  isActive: boolean;
641
715
  isArchived: boolean;
716
+ resetPassword: boolean;
717
+ updatedAt: string;
642
718
  role?: {
643
- id: string;
644
- access: string[];
645
719
  name: string;
646
720
  createdAt: string;
721
+ id: string;
647
722
  updatedAt: string;
723
+ access: string[];
648
724
  description?: string | undefined;
649
725
  } | undefined;
650
726
  }>;
@@ -672,7 +748,7 @@ export declare const userManagementContract: {
672
748
  };
673
749
  };
674
750
  resetPassword: {
675
- description: "Reset a user's password and optionally send notification";
751
+ description: "Reset a team member's password and optionally send notification";
676
752
  pathParams: z.ZodObject<{
677
753
  id: z.ZodString;
678
754
  }, "strip", z.ZodTypeAny, {
@@ -680,12 +756,12 @@ export declare const userManagementContract: {
680
756
  }, {
681
757
  id: string;
682
758
  }>;
683
- summary: "Reset user password";
759
+ summary: "Reset team member password";
684
760
  method: "POST";
685
761
  body: z.ZodObject<{
686
762
  newPassword: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
687
763
  sendNotification: z.ZodOptional<z.ZodBoolean>;
688
- }, z.UnknownKeysParam, z.ZodTypeAny, {
764
+ }, "strip", z.ZodTypeAny, {
689
765
  newPassword?: string | undefined;
690
766
  sendNotification?: boolean | undefined;
691
767
  }, {
@@ -741,22 +817,22 @@ export declare const userManagementContract: {
741
817
  id: z.ZodString;
742
818
  name: z.ZodString;
743
819
  description: z.ZodOptional<z.ZodString>;
744
- access: z.ZodArray<z.ZodString>;
820
+ access: z.ZodArray<z.ZodString, "many">;
745
821
  createdAt: z.ZodString;
746
822
  updatedAt: z.ZodString;
747
- }, z.UnknownKeysParam, z.ZodTypeAny, {
748
- id: string;
749
- access: string[];
823
+ }, "strip", z.ZodTypeAny, {
750
824
  name: string;
751
825
  createdAt: string;
826
+ id: string;
752
827
  updatedAt: string;
828
+ access: string[];
753
829
  description?: string | undefined;
754
830
  }, {
755
- id: string;
756
- access: string[];
757
831
  name: string;
758
832
  createdAt: string;
833
+ id: string;
759
834
  updatedAt: string;
835
+ access: string[];
760
836
  description?: string | undefined;
761
837
  }>, "many">;
762
838
  401: z.ZodObject<{
@@ -792,22 +868,22 @@ export declare const userManagementContract: {
792
868
  id: z.ZodString;
793
869
  name: z.ZodString;
794
870
  description: z.ZodOptional<z.ZodString>;
795
- access: z.ZodArray<z.ZodString>;
871
+ access: z.ZodArray<z.ZodString, "many">;
796
872
  createdAt: z.ZodString;
797
873
  updatedAt: z.ZodString;
798
- }, z.UnknownKeysParam, z.ZodTypeAny, {
799
- id: string;
800
- access: string[];
874
+ }, "strip", z.ZodTypeAny, {
801
875
  name: string;
802
876
  createdAt: string;
877
+ id: string;
803
878
  updatedAt: string;
879
+ access: string[];
804
880
  description?: string | undefined;
805
881
  }, {
806
- id: string;
807
- access: string[];
808
882
  name: string;
809
883
  createdAt: string;
884
+ id: string;
810
885
  updatedAt: string;
886
+ access: string[];
811
887
  description?: string | undefined;
812
888
  }>;
813
889
  401: z.ZodObject<{
@@ -835,8 +911,7 @@ export declare const userManagementContract: {
835
911
  };
836
912
  };
837
913
  /**
838
- * TypeScript type for the complete user management contract.
914
+ * TypeScript type for the complete team management contract.
839
915
  * Use this type for strongly typed API client implementations.
840
916
  */
841
- export type UserManagementContract = typeof userManagementContract;
842
- //# sourceMappingURL=contract.d.ts.map
917
+ export type TeamManagementContract = typeof teamManagementContract;