@artu-ai/compliance-sdk 0.0.6 → 0.3.0

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 (488) hide show
  1. package/dist/errors/api.d.ts +160 -0
  2. package/dist/errors/api.d.ts.map +1 -0
  3. package/dist/errors/api.js +255 -0
  4. package/dist/errors/base.d.ts +87 -0
  5. package/dist/errors/base.d.ts.map +1 -0
  6. package/dist/errors/base.js +84 -0
  7. package/dist/errors/index.d.ts +32 -0
  8. package/dist/errors/index.d.ts.map +1 -0
  9. package/dist/errors/index.js +35 -0
  10. package/dist/errors/upload.d.ts +109 -0
  11. package/dist/errors/upload.d.ts.map +1 -0
  12. package/dist/errors/upload.js +163 -0
  13. package/dist/errors/validation.d.ts +98 -0
  14. package/dist/errors/validation.d.ts.map +1 -0
  15. package/dist/errors/validation.js +129 -0
  16. package/dist/exports/base.d.ts +12 -0
  17. package/dist/exports/base.d.ts.map +1 -0
  18. package/dist/exports/base.js +21 -0
  19. package/dist/exports/index.d.ts +40 -0
  20. package/dist/exports/index.d.ts.map +1 -0
  21. package/dist/exports/index.js +59 -0
  22. package/dist/{mexico → exports/mexico}/actividad-vulnerable/avi.d.ts +130 -138
  23. package/dist/exports/mexico/actividad-vulnerable/avi.d.ts.map +1 -0
  24. package/dist/exports/mexico/actividad-vulnerable/avi.js +108 -0
  25. package/dist/{mexico → exports/mexico}/actividad-vulnerable/jys.d.ts +147 -158
  26. package/dist/exports/mexico/actividad-vulnerable/jys.d.ts.map +1 -0
  27. package/dist/exports/mexico/actividad-vulnerable/jys.js +115 -0
  28. package/dist/{mexico → exports/mexico}/actividad-vulnerable/tsc.d.ts +118 -129
  29. package/dist/exports/mexico/actividad-vulnerable/tsc.d.ts.map +1 -0
  30. package/dist/exports/mexico/actividad-vulnerable/tsc.js +103 -0
  31. package/dist/exports/mexico/index.d.ts +48 -0
  32. package/dist/exports/mexico/index.d.ts.map +1 -0
  33. package/dist/exports/mexico/index.js +70 -0
  34. package/dist/models/Address.d.ts +118 -0
  35. package/dist/models/Address.d.ts.map +1 -0
  36. package/dist/models/Address.js +187 -0
  37. package/dist/models/BankAccount.d.ts +124 -0
  38. package/dist/models/BankAccount.d.ts.map +1 -0
  39. package/dist/models/BankAccount.js +190 -0
  40. package/dist/models/Client.d.ts +170 -0
  41. package/dist/models/Client.d.ts.map +1 -0
  42. package/dist/models/Client.js +275 -0
  43. package/dist/models/ContactMethod.d.ts +102 -0
  44. package/dist/models/ContactMethod.d.ts.map +1 -0
  45. package/dist/models/ContactMethod.js +152 -0
  46. package/dist/models/Document.d.ts +167 -0
  47. package/dist/models/Document.d.ts.map +1 -0
  48. package/dist/models/Document.js +295 -0
  49. package/dist/models/LinkedClient.d.ts +62 -0
  50. package/dist/models/LinkedClient.d.ts.map +1 -0
  51. package/dist/models/LinkedClient.js +70 -0
  52. package/dist/models/Report.d.ts +98 -0
  53. package/dist/models/Report.d.ts.map +1 -0
  54. package/dist/models/Report.js +156 -0
  55. package/dist/models/ReportItem.d.ts +106 -0
  56. package/dist/models/ReportItem.d.ts.map +1 -0
  57. package/dist/models/ReportItem.js +167 -0
  58. package/dist/models/Transaction.d.ts +108 -0
  59. package/dist/models/Transaction.d.ts.map +1 -0
  60. package/dist/models/Transaction.js +175 -0
  61. package/dist/models/base.d.ts +42 -0
  62. package/dist/models/base.d.ts.map +1 -0
  63. package/dist/models/base.js +51 -0
  64. package/dist/models/index.d.ts +20 -0
  65. package/dist/models/index.d.ts.map +1 -0
  66. package/dist/models/index.js +34 -0
  67. package/dist/models/mex/MexAddress.d.ts +93 -0
  68. package/dist/models/mex/MexAddress.d.ts.map +1 -0
  69. package/dist/models/mex/MexAddress.js +148 -0
  70. package/dist/models/mex/MexBankAccount.d.ts +65 -0
  71. package/dist/models/mex/MexBankAccount.d.ts.map +1 -0
  72. package/dist/models/mex/MexBankAccount.js +90 -0
  73. package/dist/models/mex/MexClient.d.ts +88 -0
  74. package/dist/models/mex/MexClient.d.ts.map +1 -0
  75. package/dist/models/mex/MexClient.js +133 -0
  76. package/dist/models/mex/MexDocument.d.ts +415 -0
  77. package/dist/models/mex/MexDocument.d.ts.map +1 -0
  78. package/dist/models/mex/MexDocument.js +687 -0
  79. package/dist/models/mex/MexReport.d.ts +50 -0
  80. package/dist/models/mex/MexReport.d.ts.map +1 -0
  81. package/dist/models/mex/MexReport.js +73 -0
  82. package/dist/models/mex/MexReportItem.d.ts +39 -0
  83. package/dist/models/mex/MexReportItem.d.ts.map +1 -0
  84. package/dist/models/mex/MexReportItem.js +50 -0
  85. package/dist/models/mex/MexTransaction.d.ts +53 -0
  86. package/dist/models/mex/MexTransaction.d.ts.map +1 -0
  87. package/dist/models/mex/MexTransaction.js +78 -0
  88. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.d.ts +37 -0
  89. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.d.ts.map +1 -0
  90. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.js +46 -0
  91. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.d.ts +38 -0
  92. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.d.ts.map +1 -0
  93. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.js +39 -0
  94. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.d.ts +38 -0
  95. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.d.ts.map +1 -0
  96. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.js +39 -0
  97. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.d.ts +29 -0
  98. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.d.ts.map +1 -0
  99. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.js +37 -0
  100. package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.d.ts +43 -0
  101. package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.d.ts.map +1 -0
  102. package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.js +59 -0
  103. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.d.ts +53 -0
  104. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.d.ts.map +1 -0
  105. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.js +75 -0
  106. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.d.ts +56 -0
  107. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.d.ts.map +1 -0
  108. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.js +63 -0
  109. package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.d.ts +67 -0
  110. package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.d.ts.map +1 -0
  111. package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.js +136 -0
  112. package/dist/models/mex/actividad-vulnerable/index.d.ts +20 -0
  113. package/dist/models/mex/actividad-vulnerable/index.d.ts.map +1 -0
  114. package/dist/models/mex/actividad-vulnerable/index.js +25 -0
  115. package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.d.ts +39 -0
  116. package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.d.ts.map +1 -0
  117. package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.js +53 -0
  118. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.d.ts +53 -0
  119. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.d.ts.map +1 -0
  120. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.js +75 -0
  121. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.d.ts +56 -0
  122. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.d.ts.map +1 -0
  123. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.js +63 -0
  124. package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.d.ts +85 -0
  125. package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.d.ts.map +1 -0
  126. package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.js +152 -0
  127. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.d.ts +39 -0
  128. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.d.ts.map +1 -0
  129. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.js +53 -0
  130. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.d.ts +53 -0
  131. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.d.ts.map +1 -0
  132. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.js +75 -0
  133. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.d.ts +56 -0
  134. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.d.ts.map +1 -0
  135. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.js +63 -0
  136. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.d.ts +53 -0
  137. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.d.ts.map +1 -0
  138. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.js +82 -0
  139. package/dist/models/mex/index.d.ts +12 -0
  140. package/dist/models/mex/index.d.ts.map +1 -0
  141. package/dist/models/mex/index.js +20 -0
  142. package/dist/models/types.d.ts +81 -0
  143. package/dist/models/types.d.ts.map +1 -0
  144. package/dist/models/types.js +6 -0
  145. package/dist/namespaces/index.d.ts +25 -0
  146. package/dist/namespaces/index.d.ts.map +1 -0
  147. package/dist/namespaces/index.js +27 -0
  148. package/dist/namespaces/mexico/actividad-vulnerable/avi/index.d.ts +322 -0
  149. package/dist/namespaces/mexico/actividad-vulnerable/avi/index.d.ts.map +1 -0
  150. package/dist/namespaces/mexico/actividad-vulnerable/avi/index.js +42 -0
  151. package/dist/namespaces/mexico/actividad-vulnerable/index.d.ts +1361 -0
  152. package/dist/namespaces/mexico/actividad-vulnerable/index.d.ts.map +1 -0
  153. package/dist/namespaces/mexico/actividad-vulnerable/index.js +53 -0
  154. package/dist/namespaces/mexico/actividad-vulnerable/jys/index.d.ts +454 -0
  155. package/dist/namespaces/mexico/actividad-vulnerable/jys/index.d.ts.map +1 -0
  156. package/dist/namespaces/mexico/actividad-vulnerable/jys/index.js +52 -0
  157. package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.d.ts +162 -0
  158. package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.d.ts.map +1 -0
  159. package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.js +40 -0
  160. package/dist/namespaces/mexico/index.d.ts +2481 -0
  161. package/dist/namespaces/mexico/index.d.ts.map +1 -0
  162. package/dist/namespaces/mexico/index.js +140 -0
  163. package/dist/resources/addresses.d.ts +171 -0
  164. package/dist/resources/addresses.d.ts.map +1 -0
  165. package/dist/resources/addresses.js +208 -0
  166. package/dist/resources/bank-accounts.d.ts +174 -0
  167. package/dist/resources/bank-accounts.d.ts.map +1 -0
  168. package/dist/resources/bank-accounts.js +220 -0
  169. package/dist/resources/base.d.ts +192 -0
  170. package/dist/resources/base.d.ts.map +1 -0
  171. package/dist/resources/base.js +205 -0
  172. package/dist/resources/clients.d.ts +446 -0
  173. package/dist/resources/clients.d.ts.map +1 -0
  174. package/dist/resources/clients.js +448 -0
  175. package/dist/resources/contact-methods.d.ts +176 -0
  176. package/dist/resources/contact-methods.d.ts.map +1 -0
  177. package/dist/resources/contact-methods.js +215 -0
  178. package/dist/resources/documents.d.ts +340 -0
  179. package/dist/resources/documents.d.ts.map +1 -0
  180. package/dist/resources/documents.js +447 -0
  181. package/dist/resources/index.d.ts +23 -0
  182. package/dist/resources/index.d.ts.map +1 -0
  183. package/dist/resources/index.js +25 -0
  184. package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts +165 -0
  185. package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts.map +1 -0
  186. package/dist/resources/mex/actividad-vulnerable/avi/clients.js +317 -0
  187. package/dist/resources/mex/actividad-vulnerable/avi/index.d.ts +7 -0
  188. package/dist/resources/mex/actividad-vulnerable/avi/index.d.ts.map +1 -0
  189. package/dist/resources/mex/actividad-vulnerable/avi/index.js +6 -0
  190. package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts +152 -0
  191. package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts.map +1 -0
  192. package/dist/resources/mex/actividad-vulnerable/avi/reports.js +401 -0
  193. package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts +89 -0
  194. package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts.map +1 -0
  195. package/dist/resources/mex/actividad-vulnerable/avi/transactions.js +252 -0
  196. package/dist/resources/mex/actividad-vulnerable/index.d.ts +7 -0
  197. package/dist/resources/mex/actividad-vulnerable/index.d.ts.map +1 -0
  198. package/dist/resources/mex/actividad-vulnerable/index.js +9 -0
  199. package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts +119 -0
  200. package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts.map +1 -0
  201. package/dist/resources/mex/actividad-vulnerable/jys/clients.js +231 -0
  202. package/dist/resources/mex/actividad-vulnerable/jys/index.d.ts +7 -0
  203. package/dist/resources/mex/actividad-vulnerable/jys/index.d.ts.map +1 -0
  204. package/dist/resources/mex/actividad-vulnerable/jys/index.js +6 -0
  205. package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts +132 -0
  206. package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts.map +1 -0
  207. package/dist/resources/mex/actividad-vulnerable/jys/reports.js +381 -0
  208. package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts +93 -0
  209. package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts.map +1 -0
  210. package/dist/resources/mex/actividad-vulnerable/jys/transactions.js +253 -0
  211. package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts +119 -0
  212. package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts.map +1 -0
  213. package/dist/resources/mex/actividad-vulnerable/tsc/clients.js +231 -0
  214. package/dist/resources/mex/actividad-vulnerable/tsc/index.d.ts +7 -0
  215. package/dist/resources/mex/actividad-vulnerable/tsc/index.d.ts.map +1 -0
  216. package/dist/resources/mex/actividad-vulnerable/tsc/index.js +6 -0
  217. package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts +132 -0
  218. package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts.map +1 -0
  219. package/dist/resources/mex/actividad-vulnerable/tsc/reports.js +381 -0
  220. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts +90 -0
  221. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts.map +1 -0
  222. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.js +259 -0
  223. package/dist/resources/mex/addresses.d.ts +143 -0
  224. package/dist/resources/mex/addresses.d.ts.map +1 -0
  225. package/dist/resources/mex/addresses.js +328 -0
  226. package/dist/resources/mex/bank-accounts.d.ts +107 -0
  227. package/dist/resources/mex/bank-accounts.d.ts.map +1 -0
  228. package/dist/resources/mex/bank-accounts.js +163 -0
  229. package/dist/resources/mex/clients.d.ts +195 -0
  230. package/dist/resources/mex/clients.d.ts.map +1 -0
  231. package/dist/resources/mex/clients.js +454 -0
  232. package/dist/resources/mex/ebr.d.ts +213 -0
  233. package/dist/resources/mex/ebr.d.ts.map +1 -0
  234. package/dist/resources/mex/ebr.js +417 -0
  235. package/dist/resources/mex/index.d.ts +11 -0
  236. package/dist/resources/mex/index.d.ts.map +1 -0
  237. package/dist/resources/mex/index.js +12 -0
  238. package/dist/resources/mex/reports.d.ts +226 -0
  239. package/dist/resources/mex/reports.d.ts.map +1 -0
  240. package/dist/resources/mex/reports.js +440 -0
  241. package/dist/resources/mex/transactions.d.ts +125 -0
  242. package/dist/resources/mex/transactions.d.ts.map +1 -0
  243. package/dist/resources/mex/transactions.js +274 -0
  244. package/dist/resources/reports.d.ts +211 -0
  245. package/dist/resources/reports.d.ts.map +1 -0
  246. package/dist/resources/reports.js +308 -0
  247. package/dist/resources/transactions.d.ts +142 -0
  248. package/dist/resources/transactions.d.ts.map +1 -0
  249. package/dist/resources/transactions.js +221 -0
  250. package/dist/sdk/ComplianceSDK.d.ts +459 -0
  251. package/dist/sdk/ComplianceSDK.d.ts.map +1 -0
  252. package/dist/sdk/ComplianceSDK.js +528 -0
  253. package/dist/sdk/base.d.ts +17 -0
  254. package/dist/sdk/base.d.ts.map +1 -0
  255. package/dist/sdk/base.js +22 -0
  256. package/dist/sdk/index.d.ts +18 -0
  257. package/dist/sdk/index.d.ts.map +1 -0
  258. package/dist/sdk/index.js +43 -0
  259. package/dist/{ComplianceSDK-BgzIwSsY.d.cts → sdk/mex/ComplianceSDK.d.ts} +16 -7
  260. package/dist/sdk/mex/ComplianceSDK.d.ts.map +1 -0
  261. package/dist/{ComplianceSDK-DoIZOSJq.d.ts → sdk/mex/ComplianceSDK.js} +26 -11
  262. package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.d.ts +44 -0
  263. package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.d.ts.map +1 -0
  264. package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.js +39 -0
  265. package/dist/sdk/mex/actividad-vulnerable/avi/index.d.ts +8 -0
  266. package/dist/sdk/mex/actividad-vulnerable/avi/index.d.ts.map +1 -0
  267. package/dist/sdk/mex/actividad-vulnerable/avi/index.js +9 -0
  268. package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts +35 -0
  269. package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts.map +1 -0
  270. package/dist/sdk/mex/actividad-vulnerable/avi/types.js +20 -0
  271. package/dist/sdk/mex/actividad-vulnerable/index.d.ts +13 -0
  272. package/dist/sdk/mex/actividad-vulnerable/index.d.ts.map +1 -0
  273. package/dist/sdk/mex/actividad-vulnerable/index.js +31 -0
  274. package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.d.ts +44 -0
  275. package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.d.ts.map +1 -0
  276. package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.js +39 -0
  277. package/dist/sdk/mex/actividad-vulnerable/jys/index.d.ts +8 -0
  278. package/dist/sdk/mex/actividad-vulnerable/jys/index.d.ts.map +1 -0
  279. package/dist/sdk/mex/actividad-vulnerable/jys/index.js +9 -0
  280. package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts +35 -0
  281. package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts.map +1 -0
  282. package/dist/sdk/mex/actividad-vulnerable/jys/types.js +20 -0
  283. package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.d.ts +44 -0
  284. package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.d.ts.map +1 -0
  285. package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.js +39 -0
  286. package/dist/sdk/mex/actividad-vulnerable/tsc/index.d.ts +8 -0
  287. package/dist/sdk/mex/actividad-vulnerable/tsc/index.d.ts.map +1 -0
  288. package/dist/sdk/mex/actividad-vulnerable/tsc/index.js +9 -0
  289. package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts +35 -0
  290. package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts.map +1 -0
  291. package/dist/sdk/mex/actividad-vulnerable/tsc/types.js +20 -0
  292. package/dist/sdk/mex/index.d.ts +13 -0
  293. package/dist/sdk/mex/index.d.ts.map +1 -0
  294. package/dist/sdk/mex/index.js +38 -0
  295. package/dist/sdk/mex/types.d.ts +57 -0
  296. package/dist/sdk/mex/types.d.ts.map +1 -0
  297. package/dist/sdk/mex/types.js +7 -0
  298. package/dist/sdk/resource-registry.d.ts +118 -0
  299. package/dist/sdk/resource-registry.d.ts.map +1 -0
  300. package/dist/sdk/resource-registry.js +145 -0
  301. package/dist/sdk/sdk-registry.d.ts +59 -0
  302. package/dist/sdk/sdk-registry.d.ts.map +1 -0
  303. package/dist/sdk/sdk-registry.js +82 -0
  304. package/dist/sdk/types.d.ts +232 -0
  305. package/dist/sdk/types.d.ts.map +1 -0
  306. package/dist/sdk/types.js +42 -0
  307. package/dist/utils/environment.d.ts +126 -0
  308. package/dist/utils/environment.d.ts.map +1 -0
  309. package/dist/utils/environment.js +148 -0
  310. package/dist/utils/filters.d.ts +338 -0
  311. package/dist/utils/filters.d.ts.map +1 -0
  312. package/dist/utils/filters.js +373 -0
  313. package/dist/utils/index.d.ts +15 -0
  314. package/dist/utils/index.d.ts.map +1 -0
  315. package/dist/utils/index.js +43 -0
  316. package/dist/utils/pagination.d.ts +85 -0
  317. package/dist/utils/pagination.d.ts.map +1 -0
  318. package/dist/utils/pagination.js +120 -0
  319. package/dist/utils/session.d.ts +173 -0
  320. package/dist/utils/session.d.ts.map +1 -0
  321. package/dist/utils/session.js +58 -0
  322. package/dist/utils/trpc-client.d.ts +19507 -0
  323. package/dist/utils/trpc-client.d.ts.map +1 -0
  324. package/dist/utils/trpc-client.js +129 -0
  325. package/dist/utils/upload.d.ts +81 -0
  326. package/dist/utils/upload.d.ts.map +1 -0
  327. package/dist/utils/upload.js +261 -0
  328. package/package.json +17 -27
  329. package/src/errors/api.ts +305 -0
  330. package/src/errors/base.ts +127 -0
  331. package/src/errors/index.ts +63 -0
  332. package/src/errors/upload.ts +204 -0
  333. package/src/errors/validation.ts +163 -0
  334. package/src/exports/base.ts +139 -0
  335. package/src/exports/index.ts +187 -0
  336. package/src/exports/mexico/actividad-vulnerable/avi.ts +207 -0
  337. package/src/exports/mexico/actividad-vulnerable/jys.ts +214 -0
  338. package/src/exports/mexico/actividad-vulnerable/tsc.ts +202 -0
  339. package/src/exports/mexico/index.ts +215 -0
  340. package/src/models/Address.ts +235 -0
  341. package/src/models/BankAccount.ts +235 -0
  342. package/src/models/Client.ts +363 -0
  343. package/src/models/ContactMethod.ts +197 -0
  344. package/src/models/Document.ts +355 -0
  345. package/src/models/LinkedClient.ts +84 -0
  346. package/src/models/Report.ts +193 -0
  347. package/src/models/ReportItem.ts +211 -0
  348. package/src/models/Transaction.ts +219 -0
  349. package/src/models/base.ts +56 -0
  350. package/src/models/index.ts +148 -0
  351. package/src/models/mex/MexAddress.ts +184 -0
  352. package/src/models/mex/MexBankAccount.ts +121 -0
  353. package/src/models/mex/MexClient.ts +177 -0
  354. package/src/models/mex/MexDocument.ts +890 -0
  355. package/src/models/mex/MexReport.ts +99 -0
  356. package/src/models/mex/MexReportItem.ts +79 -0
  357. package/src/models/mex/MexTransaction.ts +105 -0
  358. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableClient.ts +66 -0
  359. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReport.ts +73 -0
  360. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.ts +74 -0
  361. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.ts +50 -0
  362. package/src/models/mex/actividad-vulnerable/avi/MexAVIClient.ts +80 -0
  363. package/src/models/mex/actividad-vulnerable/avi/MexAVIReport.ts +114 -0
  364. package/src/models/mex/actividad-vulnerable/avi/MexAVIReportItem.ts +105 -0
  365. package/src/models/mex/actividad-vulnerable/avi/MexAVITransaction.ts +157 -0
  366. package/src/models/mex/actividad-vulnerable/index.ts +78 -0
  367. package/src/models/mex/actividad-vulnerable/jys/MexJYSClient.ts +73 -0
  368. package/src/models/mex/actividad-vulnerable/jys/MexJYSReport.ts +114 -0
  369. package/src/models/mex/actividad-vulnerable/jys/MexJYSReportItem.ts +105 -0
  370. package/src/models/mex/actividad-vulnerable/jys/MexJYSTransaction.ts +178 -0
  371. package/src/models/mex/actividad-vulnerable/tsc/MexTSCClient.ts +73 -0
  372. package/src/models/mex/actividad-vulnerable/tsc/MexTSCReport.ts +114 -0
  373. package/src/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.ts +105 -0
  374. package/src/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.ts +104 -0
  375. package/src/models/mex/index.ts +57 -0
  376. package/src/models/types.ts +196 -0
  377. package/src/namespaces/index.ts +29 -0
  378. package/src/namespaces/mexico/actividad-vulnerable/avi/index.ts +62 -0
  379. package/src/namespaces/mexico/actividad-vulnerable/index.ts +79 -0
  380. package/src/namespaces/mexico/actividad-vulnerable/jys/index.ts +72 -0
  381. package/src/namespaces/mexico/actividad-vulnerable/tsc/index.ts +60 -0
  382. package/src/namespaces/mexico/index.ts +325 -0
  383. package/src/resources/addresses.ts +391 -0
  384. package/src/resources/bank-accounts.ts +417 -0
  385. package/src/resources/base.ts +327 -0
  386. package/src/resources/clients.ts +808 -0
  387. package/src/resources/contact-methods.ts +412 -0
  388. package/src/resources/documents.ts +688 -0
  389. package/src/resources/index.ts +40 -0
  390. package/src/resources/mex/actividad-vulnerable/avi/clients.ts +559 -0
  391. package/src/resources/mex/actividad-vulnerable/avi/index.ts +7 -0
  392. package/src/resources/mex/actividad-vulnerable/avi/reports.ts +609 -0
  393. package/src/resources/mex/actividad-vulnerable/avi/transactions.ts +404 -0
  394. package/src/resources/mex/actividad-vulnerable/index.ts +12 -0
  395. package/src/resources/mex/actividad-vulnerable/jys/clients.ts +445 -0
  396. package/src/resources/mex/actividad-vulnerable/jys/index.ts +7 -0
  397. package/src/resources/mex/actividad-vulnerable/jys/reports.ts +591 -0
  398. package/src/resources/mex/actividad-vulnerable/jys/transactions.ts +395 -0
  399. package/src/resources/mex/actividad-vulnerable/tsc/clients.ts +445 -0
  400. package/src/resources/mex/actividad-vulnerable/tsc/index.ts +7 -0
  401. package/src/resources/mex/actividad-vulnerable/tsc/reports.ts +591 -0
  402. package/src/resources/mex/actividad-vulnerable/tsc/transactions.ts +404 -0
  403. package/src/resources/mex/addresses.ts +493 -0
  404. package/src/resources/mex/bank-accounts.ts +283 -0
  405. package/src/resources/mex/clients.ts +758 -0
  406. package/src/resources/mex/ebr.ts +621 -0
  407. package/src/resources/mex/index.ts +23 -0
  408. package/src/resources/mex/reports.ts +643 -0
  409. package/src/resources/mex/transactions.ts +422 -0
  410. package/src/resources/reports.ts +515 -0
  411. package/src/resources/transactions.ts +358 -0
  412. package/src/sdk/ComplianceSDK.ts +812 -0
  413. package/src/sdk/base.ts +43 -0
  414. package/src/sdk/index.ts +98 -0
  415. package/src/sdk/mex/ComplianceSDK.ts +147 -0
  416. package/src/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.ts +55 -0
  417. package/src/sdk/mex/actividad-vulnerable/avi/index.ts +16 -0
  418. package/src/sdk/mex/actividad-vulnerable/avi/types.ts +86 -0
  419. package/src/sdk/mex/actividad-vulnerable/index.ts +58 -0
  420. package/src/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.ts +54 -0
  421. package/src/sdk/mex/actividad-vulnerable/jys/index.ts +16 -0
  422. package/src/sdk/mex/actividad-vulnerable/jys/types.ts +86 -0
  423. package/src/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.ts +54 -0
  424. package/src/sdk/mex/actividad-vulnerable/tsc/index.ts +16 -0
  425. package/src/sdk/mex/actividad-vulnerable/tsc/types.ts +86 -0
  426. package/src/sdk/mex/index.ts +66 -0
  427. package/src/sdk/mex/types.ts +88 -0
  428. package/src/sdk/resource-registry.ts +204 -0
  429. package/src/sdk/sdk-registry.ts +99 -0
  430. package/src/sdk/types.ts +304 -0
  431. package/src/utils/environment.ts +187 -0
  432. package/src/utils/filters.ts +412 -0
  433. package/src/utils/index.ts +134 -0
  434. package/src/utils/pagination.ts +143 -0
  435. package/src/utils/session.ts +303 -0
  436. package/src/utils/trpc-client.ts +242 -0
  437. package/src/utils/upload.ts +388 -0
  438. package/dist/chunk-2CIR32CT.cjs +0 -22972
  439. package/dist/chunk-2CIR32CT.cjs.map +0 -1
  440. package/dist/chunk-5FXVLHD3.js +0 -23
  441. package/dist/chunk-5FXVLHD3.js.map +0 -1
  442. package/dist/chunk-62M35I6I.js +0 -249
  443. package/dist/chunk-62M35I6I.js.map +0 -1
  444. package/dist/chunk-ARI5WM5X.js +0 -22819
  445. package/dist/chunk-ARI5WM5X.js.map +0 -1
  446. package/dist/chunk-B75YW6BN.cjs +0 -26
  447. package/dist/chunk-B75YW6BN.cjs.map +0 -1
  448. package/dist/chunk-F6THYYF5.cjs +0 -26
  449. package/dist/chunk-F6THYYF5.cjs.map +0 -1
  450. package/dist/chunk-HAEBRF5N.js +0 -23
  451. package/dist/chunk-HAEBRF5N.js.map +0 -1
  452. package/dist/chunk-HEGTPUIS.cjs +0 -26
  453. package/dist/chunk-HEGTPUIS.cjs.map +0 -1
  454. package/dist/chunk-TYXYZ3WV.js +0 -23
  455. package/dist/chunk-TYXYZ3WV.js.map +0 -1
  456. package/dist/chunk-ZFW24DFL.cjs +0 -261
  457. package/dist/chunk-ZFW24DFL.cjs.map +0 -1
  458. package/dist/filters-UX1_wF2Z.d.cts +0 -6460
  459. package/dist/filters-UX1_wF2Z.d.ts +0 -6460
  460. package/dist/index-6dNlw8uP.d.cts +0 -2866
  461. package/dist/index-CUIwWk-y.d.ts +0 -2866
  462. package/dist/index.cjs +0 -417
  463. package/dist/index.cjs.map +0 -1
  464. package/dist/index.d.cts +0 -9
  465. package/dist/index.d.ts +0 -9
  466. package/dist/index.js +0 -28
  467. package/dist/index.js.map +0 -1
  468. package/dist/mexico/actividad-vulnerable/avi.cjs +0 -320
  469. package/dist/mexico/actividad-vulnerable/avi.cjs.map +0 -1
  470. package/dist/mexico/actividad-vulnerable/avi.d.cts +0 -680
  471. package/dist/mexico/actividad-vulnerable/avi.js +0 -55
  472. package/dist/mexico/actividad-vulnerable/avi.js.map +0 -1
  473. package/dist/mexico/actividad-vulnerable/jys.cjs +0 -330
  474. package/dist/mexico/actividad-vulnerable/jys.cjs.map +0 -1
  475. package/dist/mexico/actividad-vulnerable/jys.d.cts +0 -746
  476. package/dist/mexico/actividad-vulnerable/jys.js +0 -65
  477. package/dist/mexico/actividad-vulnerable/jys.js.map +0 -1
  478. package/dist/mexico/actividad-vulnerable/tsc.cjs +0 -318
  479. package/dist/mexico/actividad-vulnerable/tsc.cjs.map +0 -1
  480. package/dist/mexico/actividad-vulnerable/tsc.d.cts +0 -600
  481. package/dist/mexico/actividad-vulnerable/tsc.js +0 -53
  482. package/dist/mexico/actividad-vulnerable/tsc.js.map +0 -1
  483. package/dist/mexico/index.cjs +0 -384
  484. package/dist/mexico/index.cjs.map +0 -1
  485. package/dist/mexico/index.d.cts +0 -1422
  486. package/dist/mexico/index.d.ts +0 -1422
  487. package/dist/mexico/index.js +0 -7
  488. package/dist/mexico/index.js.map +0 -1
@@ -0,0 +1,163 @@
1
+ /**
2
+ * Validation error class
3
+ *
4
+ * Thrown when input validation fails, either client-side (Zod)
5
+ * or server-side (API validation).
6
+ */
7
+
8
+ import type { ZodError } from "zod";
9
+ import { ComplianceError } from "./base";
10
+
11
+ // ===========================
12
+ // Types
13
+ // ===========================
14
+
15
+ /**
16
+ * A single validation issue
17
+ */
18
+ export interface ValidationIssue {
19
+ /**
20
+ * Path to the field that failed validation.
21
+ * Example: ["addresses", "0", "postalCode"]
22
+ */
23
+ path: PropertyKey[];
24
+
25
+ /**
26
+ * Human-readable error message
27
+ */
28
+ message: string;
29
+
30
+ /**
31
+ * Validation rule that failed (optional)
32
+ */
33
+ code?: string;
34
+ }
35
+
36
+ // ===========================
37
+ // Validation Error Class
38
+ // ===========================
39
+
40
+ /**
41
+ * Error thrown when input validation fails.
42
+ *
43
+ * Contains structured information about which fields failed
44
+ * and why, making it easy to display errors in forms.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * try {
49
+ * await sdk.clients.create({ name: "" });
50
+ * } catch (error) {
51
+ * if (error instanceof ValidationError) {
52
+ * error.issues.forEach((issue) => {
53
+ * console.log(`${issue.path.join(".")}: ${issue.message}`);
54
+ * });
55
+ * }
56
+ * }
57
+ * ```
58
+ */
59
+ export class ValidationError extends ComplianceError {
60
+ /**
61
+ * List of validation issues
62
+ */
63
+ public readonly issues: ValidationIssue[];
64
+
65
+ constructor(issues: ValidationIssue[], requestId?: string) {
66
+ const message = ValidationError.formatMessage(issues);
67
+ super(message, "VALIDATION_ERROR", {
68
+ requestId,
69
+ details: { issues },
70
+ });
71
+ this.name = "ValidationError";
72
+ this.issues = issues;
73
+ }
74
+
75
+ /**
76
+ * Creates a ValidationError from a Zod error.
77
+ *
78
+ * @param error - Zod validation error
79
+ * @param requestId - Optional request ID for tracing
80
+ * @returns ValidationError with formatted issues
81
+ */
82
+ static fromZodError(error: ZodError, requestId?: string): ValidationError {
83
+ const issues: ValidationIssue[] = error.issues.map((issue) => ({
84
+ path: issue.path,
85
+ message: issue.message,
86
+ code: issue.code,
87
+ }));
88
+ return new ValidationError(issues, requestId);
89
+ }
90
+
91
+ /**
92
+ * Gets validation errors for a specific field path.
93
+ *
94
+ * @param path - Field path (e.g., "name" or "addresses.0.city")
95
+ * @returns Array of error messages for the field
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * const nameErrors = error.getFieldErrors("name");
100
+ * // ["Name is required", "Name must be at least 2 characters"]
101
+ * ```
102
+ */
103
+ getFieldErrors(path: string): string[] {
104
+ const pathParts = path.split(".");
105
+ return this.issues
106
+ .filter((issue) => {
107
+ if (issue.path.length !== pathParts.length) return false;
108
+ return pathParts.every((part, i) => String(issue.path[i]) === part);
109
+ })
110
+ .map((issue) => issue.message);
111
+ }
112
+
113
+ /**
114
+ * Checks if a specific field has validation errors.
115
+ *
116
+ * @param path - Field path to check
117
+ * @returns True if the field has errors
118
+ */
119
+ hasFieldError(path: string): boolean {
120
+ return this.getFieldErrors(path).length > 0;
121
+ }
122
+
123
+ /**
124
+ * Gets a flat object of field paths to error messages.
125
+ * Useful for form libraries.
126
+ *
127
+ * @returns Object mapping field paths to error messages
128
+ *
129
+ * @example
130
+ * ```typescript
131
+ * const fieldErrors = error.toFieldErrors();
132
+ * // { "name": "Name is required", "email": "Invalid email" }
133
+ * ```
134
+ */
135
+ toFieldErrors(): Record<string, string> {
136
+ const errors: Record<string, string> = {};
137
+ for (const issue of this.issues) {
138
+ const path = issue.path.join(".");
139
+ // Only keep first error per field
140
+ if (!errors[path]) {
141
+ errors[path] = issue.message;
142
+ }
143
+ }
144
+ return errors;
145
+ }
146
+
147
+ /**
148
+ * Formats the validation issues into a human-readable message.
149
+ */
150
+ private static formatMessage(issues: ValidationIssue[]): string {
151
+ if (issues.length === 0) {
152
+ return "Validation failed";
153
+ }
154
+ if (issues.length === 1) {
155
+ const [issue] = issues;
156
+ if (issue) {
157
+ const path = issue.path.length > 0 ? `${issue.path.join(".")}: ` : "";
158
+ return `Validation failed: ${path}${issue.message}`;
159
+ }
160
+ }
161
+ return `Validation failed with ${issues.length} errors`;
162
+ }
163
+ }
@@ -0,0 +1,139 @@
1
+ /**
2
+ * Base exports shared across all entry points
3
+ *
4
+ * @internal - Not meant for direct import by users
5
+ */
6
+
7
+ // ===========================
8
+ // Errors
9
+ // ===========================
10
+
11
+ export {
12
+ ComplianceError,
13
+ type ComplianceErrorOptions,
14
+ type ComplianceErrorJSON,
15
+ ValidationError,
16
+ type ValidationIssue,
17
+ APIError,
18
+ NotFoundError,
19
+ UnauthorizedError,
20
+ ForbiddenError,
21
+ RateLimitError,
22
+ ServerError,
23
+ NetworkError,
24
+ TimeoutError,
25
+ UploadError,
26
+ FileTooLargeError,
27
+ UploadTimeoutError,
28
+ InvalidFileTypeError,
29
+ UploadAbortedError,
30
+ UploadUrlExpiredError,
31
+ mapTRPCError,
32
+ isAPIError,
33
+ isUploadError,
34
+ type UploadStage,
35
+ } from "../errors";
36
+
37
+ // ===========================
38
+ // Utilities
39
+ // ===========================
40
+
41
+ export {
42
+ collectAll,
43
+ collectUpTo,
44
+ getFirst,
45
+ DEFAULT_PAGE_SIZE,
46
+ MAX_PAGE_SIZE,
47
+ contains,
48
+ startsWith,
49
+ endsWith,
50
+ equals,
51
+ notEquals,
52
+ oneOf,
53
+ notOneOf,
54
+ dateRange,
55
+ after,
56
+ before,
57
+ onOrAfter,
58
+ onOrBefore,
59
+ numberRange,
60
+ greaterThan,
61
+ lessThan,
62
+ atLeast,
63
+ atMost,
64
+ isTrue,
65
+ isFalse,
66
+ isNull,
67
+ isNotNull,
68
+ type Environment,
69
+ } from "../utils";
70
+
71
+ // ===========================
72
+ // Session Types (for SDK.session() method)
73
+ // ===========================
74
+
75
+ export type {
76
+ SDKSessionOptions,
77
+ SDKSessionOptionsWithReturnTo,
78
+ SessionResult,
79
+ SessionResultWithRedirect,
80
+ SessionResultWithoutRedirect,
81
+ SessionResultAuthenticated,
82
+ SessionResultUnauthenticatedWithRedirect,
83
+ SessionResultUnauthenticatedNoRedirect,
84
+ SessionInfo,
85
+ } from "../utils";
86
+
87
+ // ===========================
88
+ // Base Models (non-scoped entities)
89
+ // ===========================
90
+
91
+ export {
92
+ Address,
93
+ type AddressData,
94
+ ContactMethod,
95
+ type ContactMethodData,
96
+ Document,
97
+ type DocumentData,
98
+ } from "../models";
99
+
100
+ // ===========================
101
+ // Base Resources (non-scoped entities)
102
+ // ===========================
103
+
104
+ export {
105
+ AddressesResource,
106
+ ContactMethodsResource,
107
+ DocumentsResource,
108
+ } from "../resources";
109
+
110
+ // ===========================
111
+ // Shared Types from Shared Package
112
+ // ===========================
113
+
114
+ export type {
115
+ // Address types (non-scoped)
116
+ CreateAddressInput,
117
+ UpdateAddressInput,
118
+ // Contact method types (non-scoped)
119
+ CreateContactMethodInput,
120
+ UpdateContactMethodInput,
121
+ // Document types (non-scoped)
122
+ CreateDocumentInput,
123
+ UpdateDocumentInput,
124
+ // Pagination
125
+ PaginationInput,
126
+ PaginatedResponse,
127
+ PaginationMeta,
128
+ ListOptions,
129
+ IterateOptions,
130
+ // Filters
131
+ ClientFilter,
132
+ TransactionFilter,
133
+ DocumentFilter,
134
+ BankAccountFilter,
135
+ // API error responses
136
+ APIError as APIErrorResponse,
137
+ APIValidationError as APIValidationErrorResponse,
138
+ BatchResult,
139
+ } from "@artu-ai/shared";
@@ -0,0 +1,187 @@
1
+ /**
2
+ * @artu/compliance-sdk
3
+ *
4
+ * TypeScript SDK for the Global Compliance API
5
+ *
6
+ * @example
7
+ * ```typescript
8
+ * import { ComplianceSDK, ClientType, Jurisdiction, Mexico } from "@artu/compliance-sdk";
9
+ *
10
+ * const sdk = new ComplianceSDK({
11
+ * apiKey: process.env.COMPLIANCE_API_KEY!,
12
+ * environment: "test",
13
+ * });
14
+ *
15
+ * // Create a client
16
+ * const client = await sdk.clients.create({
17
+ * type: ClientType.Person,
18
+ * name: "Juan García",
19
+ * primaryJurisdiction: Jurisdiction.Mexico,
20
+ * });
21
+ *
22
+ * // List transactions
23
+ * for await (const txn of sdk.transactions.iterate()) {
24
+ * console.log(txn.id, txn.amount);
25
+ * }
26
+ *
27
+ * // Access Mexico-specific functionality via namespace
28
+ * Mexico.Enums.ActividadEconomica
29
+ * Mexico.Validators.Rfc.validate("...")
30
+ * ```
31
+ */
32
+
33
+ // ===========================
34
+ // SDK
35
+ // ===========================
36
+
37
+ export {
38
+ ComplianceSDK,
39
+ type ComplianceSDKOptions,
40
+ type ComplianceSDKConstructor,
41
+ type SDKScope,
42
+ type UnscopedComplianceSDK,
43
+ type SessionInfo,
44
+ } from "../sdk";
45
+
46
+ // ===========================
47
+ // Enums
48
+ // ===========================
49
+
50
+ export {
51
+ // Enum values
52
+ ClientType,
53
+ Jurisdiction,
54
+ AddressType,
55
+ ContactMethodType,
56
+ TransactionStatus,
57
+ DocumentStatus,
58
+ DocumentCategory,
59
+ ReportStatus,
60
+ BankAccountType,
61
+ ClientRole,
62
+ ClientRelationshipType,
63
+ Country,
64
+ Currency,
65
+ // Enum utilities (with .enum, .map, .codes, .options, .schema())
66
+ ClientTypes,
67
+ Jurisdictions,
68
+ AddressTypes,
69
+ ContactMethodTypes,
70
+ TransactionStatuses,
71
+ DocumentStatuses,
72
+ DocumentCategories,
73
+ ReportStatuses,
74
+ BankAccountTypes,
75
+ ClientRoles,
76
+ ClientRelationshipTypes,
77
+ } from "@artu-ai/shared";
78
+
79
+ // ===========================
80
+ // Jurisdiction Namespaces
81
+ // ===========================
82
+
83
+ export { Mexico } from "../namespaces/mexico";
84
+
85
+ // ===========================
86
+ // Base Resources
87
+ // ===========================
88
+
89
+ export {
90
+ BaseResource,
91
+ ReadOnlyResource,
92
+ type ResourceConfig,
93
+ ClientsResource,
94
+ TransactionsResource,
95
+ type RelatedClient,
96
+ BankAccountsResource,
97
+ ReportsResource,
98
+ type ReportFilter,
99
+ type ReportItemFilter,
100
+ type AddItemsResult,
101
+ DocumentsResource,
102
+ type CreateDocumentResult,
103
+ } from "../resources";
104
+
105
+ // ===========================
106
+ // Base Models
107
+ // ===========================
108
+
109
+ export {
110
+ BaseModel,
111
+ Client,
112
+ type ClientData,
113
+ Transaction,
114
+ type TransactionData,
115
+ Report,
116
+ type ReportData,
117
+ ReportItem,
118
+ type ReportItemData,
119
+ BankAccount,
120
+ type BankAccountData,
121
+ LinkedClient,
122
+ type LinkedClientData,
123
+ type ClientModel,
124
+ type TransactionModel,
125
+ type BankAccountModel,
126
+ type ReportModel,
127
+ type ReportItemModel,
128
+ isClient,
129
+ isIndividual,
130
+ isCompany,
131
+ isTrust,
132
+ isTransaction,
133
+ isBankAccount,
134
+ isReport,
135
+ isReportItem,
136
+ isLinkedClient,
137
+ } from "../models";
138
+
139
+ // ===========================
140
+ // Schema Types (raw API types)
141
+ // ===========================
142
+
143
+ export type {
144
+ BaseClient,
145
+ Address as AddressSchema,
146
+ BaseTransaction,
147
+ Document as DocumentSchema,
148
+ ContactMethod as ContactMethodSchema,
149
+ Report as ReportSchema,
150
+ ReportItem as ReportItemSchema,
151
+ BankAccount as BankAccountSchema,
152
+ // Value types
153
+ CountryIso2,
154
+ CountryIso3,
155
+ CurrencyCode,
156
+ } from "@artu-ai/shared";
157
+
158
+ // ===========================
159
+ // Scoped Types (base scope)
160
+ // ===========================
161
+
162
+ export type {
163
+ // Client types
164
+ CreateClientInput,
165
+ UpdateClientInput,
166
+ // Transaction types
167
+ CreateTransactionInput,
168
+ UpdateTransactionInput,
169
+ // Report types
170
+ CreateReportInput,
171
+ UpdateReportInput,
172
+ CreateReportItemInput,
173
+ ReportValidationError,
174
+ ValidationSummary,
175
+ ValidationResult,
176
+ GenerateResult,
177
+ SubmissionResult,
178
+ // Bank account types
179
+ CreateBankAccountInput,
180
+ UpdateBankAccountInput,
181
+ } from "@artu-ai/shared";
182
+
183
+ // ===========================
184
+ // Base Exports (errors, utilities, etc.)
185
+ // ===========================
186
+
187
+ export * from "./base";
@@ -0,0 +1,207 @@
1
+ /**
2
+ * @artu/compliance-sdk/mexico/actividad-vulnerable/avi
3
+ *
4
+ * AVI (Activos Virtuales) scoped SDK entry point.
5
+ * Import from here for virtual asset compliance workflows.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import {
10
+ * ComplianceSDK,
11
+ * Enums,
12
+ * Validators,
13
+ * Models,
14
+ * Resources,
15
+ * TypeGuards,
16
+ * } from "@artu/compliance-sdk/mexico/actividad-vulnerable/avi";
17
+ *
18
+ * const sdk = new ComplianceSDK({
19
+ * apiKey: process.env.COMPLIANCE_API_KEY!,
20
+ * jurisdiction: "MX",
21
+ * actividadVulnerable: "AVI",
22
+ * });
23
+ *
24
+ * // AVI-specific enums (flat, no nesting)
25
+ * Enums.TipoOperacion.Buy
26
+ * Enums.TipoAlerta.Inusual
27
+ *
28
+ * // Validators
29
+ * Validators.Rfc.validate("GOAP820528H00")
30
+ * ```
31
+ */
32
+
33
+ import {
34
+ avi,
35
+ CodigoActividad,
36
+ CodigosActividad,
37
+ Moneda,
38
+ Monedas,
39
+ TipoIdentificacion,
40
+ TiposIdentificacion,
41
+ Prioridad,
42
+ Prioridades,
43
+ Rfc,
44
+ Curp,
45
+ Clabe,
46
+ } from "@artu-ai/shared";
47
+
48
+ import {
49
+ MexAVIClient,
50
+ MexAVITransaction,
51
+ MexAVIReport,
52
+ MexAVIReportItem,
53
+ isMexAVIClient,
54
+ isMexAVITransaction,
55
+ isMexAVIReport,
56
+ isMexAVIReportItem,
57
+ MexBankAccount,
58
+ type MexBankAccountData,
59
+ } from "../../../models";
60
+
61
+ import {
62
+ AVIClientsResource,
63
+ AVITransactionsResource,
64
+ AVIReportsResource,
65
+ MexBankAccountsResource,
66
+ } from "../../../resources";
67
+
68
+ // ===========================
69
+ // SDK
70
+ // ===========================
71
+
72
+ import {
73
+ AVIComplianceSDKScoped,
74
+ type AVIScopedSDKOptions,
75
+ } from "../../../sdk/mex/actividad-vulnerable/avi";
76
+
77
+ /** Options for AVI-scoped SDK */
78
+ export type ComplianceSDKOptions = AVIScopedSDKOptions;
79
+
80
+ /** AVI-scoped ComplianceSDK - re-exported from sdk */
81
+ export { AVIComplianceSDKScoped as ComplianceSDK };
82
+
83
+ // ===========================
84
+ // Enums (flat - AVI specific + Actividad Vulnerable base)
85
+ // ===========================
86
+
87
+ export const Enums = {
88
+ // AVI-specific enum values
89
+ TipoOperacion: avi.TipoOperacion,
90
+ TipoAlerta: avi.TipoAlerta,
91
+ InstrumentoMonetario: avi.InstrumentoMonetario,
92
+ ActivoVirtual: avi.ActivoVirtual,
93
+ // AVI-specific enum utilities
94
+ TiposOperacion: avi.TiposOperacion,
95
+ TiposAlerta: avi.TiposAlerta,
96
+ InstrumentosMonetarios: avi.InstrumentosMonetarios,
97
+ ActivosVirtuales: avi.ActivosVirtuales,
98
+ // Actividad Vulnerable base enum values
99
+ CodigoActividad,
100
+ Moneda,
101
+ TipoIdentificacion,
102
+ Prioridad,
103
+ // Actividad Vulnerable base enum utilities
104
+ CodigosActividad,
105
+ Monedas,
106
+ TiposIdentificacion,
107
+ Prioridades,
108
+ } as const;
109
+
110
+ // ===========================
111
+ // Validators
112
+ // ===========================
113
+
114
+ export const Validators = {
115
+ Rfc,
116
+ Curp,
117
+ Clabe,
118
+ } as const;
119
+
120
+ // ===========================
121
+ // Models (flat)
122
+ // ===========================
123
+
124
+ export const Models = {
125
+ Client: MexAVIClient,
126
+ Transaction: MexAVITransaction,
127
+ Report: MexAVIReport,
128
+ ReportItem: MexAVIReportItem,
129
+ BankAccount: MexBankAccount,
130
+ } as const;
131
+
132
+ export {
133
+ MexAVIClient as Client,
134
+ MexAVITransaction as Transaction,
135
+ MexAVIReport as Report,
136
+ MexAVIReportItem as ReportItem,
137
+ MexBankAccount as BankAccount,
138
+ type MexBankAccountData as BankAccountData,
139
+ };
140
+
141
+ // ===========================
142
+ // Resources (scoped + base for non-scoped)
143
+ // ===========================
144
+
145
+ export const Resources = {
146
+ Clients: AVIClientsResource,
147
+ Transactions: AVITransactionsResource,
148
+ Reports: AVIReportsResource,
149
+ BankAccounts: MexBankAccountsResource,
150
+ } as const;
151
+
152
+ export {
153
+ AVIClientsResource as ClientsResource,
154
+ AVITransactionsResource as TransactionsResource,
155
+ AVIReportsResource as ReportsResource,
156
+ MexBankAccountsResource as BankAccountsResource,
157
+ };
158
+
159
+ // ===========================
160
+ // TypeGuards (flat)
161
+ // ===========================
162
+
163
+ export const TypeGuards = {
164
+ isClient: isMexAVIClient,
165
+ isTransaction: isMexAVITransaction,
166
+ isReport: isMexAVIReport,
167
+ isReportItem: isMexAVIReportItem,
168
+ } as const;
169
+
170
+ export {
171
+ isMexAVIClient as isClient,
172
+ isMexAVITransaction as isTransaction,
173
+ isMexAVIReport as isReport,
174
+ isMexAVIReportItem as isReportItem,
175
+ };
176
+
177
+ // ===========================
178
+ // Scoped Types (AVI) - aliased for convenience
179
+ // ===========================
180
+
181
+ export type {
182
+ // Client types
183
+ CreateAVIClientInput as CreateClientInput,
184
+ UpdateAVIClientInput as UpdateClientInput,
185
+ // Transaction types
186
+ CreateAVITransactionInput as CreateTransactionInput,
187
+ UpdateAVITransactionInput as UpdateTransactionInput,
188
+ // Report types
189
+ CreateAVIReportInput as CreateReportInput,
190
+ UpdateAVIReportInput as UpdateReportInput,
191
+ CreateAVIReportItemInput as CreateReportItemInput,
192
+ UpdateAVIReportItemInput as UpdateReportItemInput,
193
+ ReportValidationError,
194
+ ValidationSummary,
195
+ ValidationResult,
196
+ GenerateResult,
197
+ SubmissionResult,
198
+ // Bank account types (uses Mexico scope)
199
+ CreateMexBankAccountInput as CreateBankAccountInput,
200
+ UpdateMexBankAccountInput as UpdateBankAccountInput,
201
+ } from "@artu-ai/shared";
202
+
203
+ // ===========================
204
+ // Base Exports (errors, utilities, base models/resources)
205
+ // ===========================
206
+
207
+ export * from "../../base";