@artu-ai/compliance-sdk 0.0.5 → 0.2.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.
- package/dist/errors/api.d.ts +160 -0
- package/dist/errors/api.d.ts.map +1 -0
- package/dist/errors/api.js +255 -0
- package/dist/errors/base.d.ts +87 -0
- package/dist/errors/base.d.ts.map +1 -0
- package/dist/errors/base.js +84 -0
- package/dist/errors/index.d.ts +32 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +35 -0
- package/dist/errors/upload.d.ts +109 -0
- package/dist/errors/upload.d.ts.map +1 -0
- package/dist/errors/upload.js +163 -0
- package/dist/errors/validation.d.ts +98 -0
- package/dist/errors/validation.d.ts.map +1 -0
- package/dist/errors/validation.js +129 -0
- package/dist/exports/base.d.ts +12 -0
- package/dist/exports/base.d.ts.map +1 -0
- package/dist/exports/base.js +21 -0
- package/dist/exports/index.d.ts +40 -0
- package/dist/exports/index.d.ts.map +1 -0
- package/dist/exports/index.js +59 -0
- package/dist/{mexico → exports/mexico}/actividad-vulnerable/avi.d.ts +130 -138
- package/dist/exports/mexico/actividad-vulnerable/avi.d.ts.map +1 -0
- package/dist/exports/mexico/actividad-vulnerable/avi.js +108 -0
- package/dist/{mexico → exports/mexico}/actividad-vulnerable/jys.d.ts +147 -158
- package/dist/exports/mexico/actividad-vulnerable/jys.d.ts.map +1 -0
- package/dist/exports/mexico/actividad-vulnerable/jys.js +115 -0
- package/dist/{mexico → exports/mexico}/actividad-vulnerable/tsc.d.ts +118 -129
- package/dist/exports/mexico/actividad-vulnerable/tsc.d.ts.map +1 -0
- package/dist/exports/mexico/actividad-vulnerable/tsc.js +103 -0
- package/dist/exports/mexico/index.d.ts +48 -0
- package/dist/exports/mexico/index.d.ts.map +1 -0
- package/dist/exports/mexico/index.js +70 -0
- package/dist/models/Address.d.ts +118 -0
- package/dist/models/Address.d.ts.map +1 -0
- package/dist/models/Address.js +187 -0
- package/dist/models/BankAccount.d.ts +124 -0
- package/dist/models/BankAccount.d.ts.map +1 -0
- package/dist/models/BankAccount.js +190 -0
- package/dist/models/Client.d.ts +170 -0
- package/dist/models/Client.d.ts.map +1 -0
- package/dist/models/Client.js +257 -0
- package/dist/models/ContactMethod.d.ts +102 -0
- package/dist/models/ContactMethod.d.ts.map +1 -0
- package/dist/models/ContactMethod.js +152 -0
- package/dist/models/Document.d.ts +167 -0
- package/dist/models/Document.d.ts.map +1 -0
- package/dist/models/Document.js +295 -0
- package/dist/models/LinkedClient.d.ts +62 -0
- package/dist/models/LinkedClient.d.ts.map +1 -0
- package/dist/models/LinkedClient.js +70 -0
- package/dist/models/Report.d.ts +98 -0
- package/dist/models/Report.d.ts.map +1 -0
- package/dist/models/Report.js +156 -0
- package/dist/models/ReportItem.d.ts +106 -0
- package/dist/models/ReportItem.d.ts.map +1 -0
- package/dist/models/ReportItem.js +167 -0
- package/dist/models/Transaction.d.ts +108 -0
- package/dist/models/Transaction.d.ts.map +1 -0
- package/dist/models/Transaction.js +175 -0
- package/dist/models/base.d.ts +42 -0
- package/dist/models/base.d.ts.map +1 -0
- package/dist/models/base.js +51 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +34 -0
- package/dist/models/mex/MexAddress.d.ts +93 -0
- package/dist/models/mex/MexAddress.d.ts.map +1 -0
- package/dist/models/mex/MexAddress.js +148 -0
- package/dist/models/mex/MexBankAccount.d.ts +65 -0
- package/dist/models/mex/MexBankAccount.d.ts.map +1 -0
- package/dist/models/mex/MexBankAccount.js +90 -0
- package/dist/models/mex/MexClient.d.ts +88 -0
- package/dist/models/mex/MexClient.d.ts.map +1 -0
- package/dist/models/mex/MexClient.js +133 -0
- package/dist/models/mex/MexDocument.d.ts +415 -0
- package/dist/models/mex/MexDocument.d.ts.map +1 -0
- package/dist/models/mex/MexDocument.js +687 -0
- package/dist/models/mex/MexReport.d.ts +50 -0
- package/dist/models/mex/MexReport.d.ts.map +1 -0
- package/dist/models/mex/MexReport.js +73 -0
- package/dist/models/mex/MexReportItem.d.ts +39 -0
- package/dist/models/mex/MexReportItem.d.ts.map +1 -0
- package/dist/models/mex/MexReportItem.js +50 -0
- package/dist/models/mex/MexTransaction.d.ts +53 -0
- package/dist/models/mex/MexTransaction.d.ts.map +1 -0
- package/dist/models/mex/MexTransaction.js +78 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.d.ts +37 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableClient.js +46 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.d.ts +38 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReport.js +39 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.d.ts +38 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.js +39 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.d.ts +29 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.js +37 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.d.ts +43 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIClient.js +59 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.d.ts +53 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReport.js +75 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.d.ts +56 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.js +63 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.d.ts +67 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/avi/MexAVITransaction.js +136 -0
- package/dist/models/mex/actividad-vulnerable/index.d.ts +20 -0
- package/dist/models/mex/actividad-vulnerable/index.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/index.js +25 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.d.ts +39 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSClient.js +53 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.d.ts +53 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReport.js +75 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.d.ts +56 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.js +63 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.d.ts +85 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/jys/MexJYSTransaction.js +152 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.d.ts +39 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCClient.js +53 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.d.ts +53 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReport.js +75 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.d.ts +56 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.js +63 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.d.ts +53 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.d.ts.map +1 -0
- package/dist/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.js +82 -0
- package/dist/models/mex/index.d.ts +12 -0
- package/dist/models/mex/index.d.ts.map +1 -0
- package/dist/models/mex/index.js +20 -0
- package/dist/models/types.d.ts +81 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/models/types.js +6 -0
- package/dist/namespaces/index.d.ts +25 -0
- package/dist/namespaces/index.d.ts.map +1 -0
- package/dist/namespaces/index.js +27 -0
- package/dist/namespaces/mexico/actividad-vulnerable/avi/index.d.ts +322 -0
- package/dist/namespaces/mexico/actividad-vulnerable/avi/index.d.ts.map +1 -0
- package/dist/namespaces/mexico/actividad-vulnerable/avi/index.js +42 -0
- package/dist/namespaces/mexico/actividad-vulnerable/index.d.ts +1361 -0
- package/dist/namespaces/mexico/actividad-vulnerable/index.d.ts.map +1 -0
- package/dist/namespaces/mexico/actividad-vulnerable/index.js +53 -0
- package/dist/namespaces/mexico/actividad-vulnerable/jys/index.d.ts +454 -0
- package/dist/namespaces/mexico/actividad-vulnerable/jys/index.d.ts.map +1 -0
- package/dist/namespaces/mexico/actividad-vulnerable/jys/index.js +52 -0
- package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.d.ts +162 -0
- package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.d.ts.map +1 -0
- package/dist/namespaces/mexico/actividad-vulnerable/tsc/index.js +40 -0
- package/dist/namespaces/mexico/index.d.ts +2481 -0
- package/dist/namespaces/mexico/index.d.ts.map +1 -0
- package/dist/namespaces/mexico/index.js +140 -0
- package/dist/resources/addresses.d.ts +171 -0
- package/dist/resources/addresses.d.ts.map +1 -0
- package/dist/resources/addresses.js +208 -0
- package/dist/resources/bank-accounts.d.ts +174 -0
- package/dist/resources/bank-accounts.d.ts.map +1 -0
- package/dist/resources/bank-accounts.js +220 -0
- package/dist/resources/base.d.ts +191 -0
- package/dist/resources/base.d.ts.map +1 -0
- package/dist/resources/base.js +202 -0
- package/dist/resources/clients.d.ts +446 -0
- package/dist/resources/clients.d.ts.map +1 -0
- package/dist/resources/clients.js +448 -0
- package/dist/resources/contact-methods.d.ts +176 -0
- package/dist/resources/contact-methods.d.ts.map +1 -0
- package/dist/resources/contact-methods.js +215 -0
- package/dist/resources/documents.d.ts +253 -0
- package/dist/resources/documents.d.ts.map +1 -0
- package/dist/resources/documents.js +340 -0
- package/dist/resources/index.d.ts +23 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +25 -0
- package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts +159 -0
- package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/avi/clients.js +304 -0
- package/dist/resources/mex/actividad-vulnerable/avi/index.d.ts +7 -0
- package/dist/resources/mex/actividad-vulnerable/avi/index.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/avi/index.js +6 -0
- package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts +134 -0
- package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/avi/reports.js +333 -0
- package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts +83 -0
- package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/avi/transactions.js +239 -0
- package/dist/resources/mex/actividad-vulnerable/index.d.ts +7 -0
- package/dist/resources/mex/actividad-vulnerable/index.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/index.js +9 -0
- package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts +112 -0
- package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/jys/clients.js +218 -0
- package/dist/resources/mex/actividad-vulnerable/jys/index.d.ts +7 -0
- package/dist/resources/mex/actividad-vulnerable/jys/index.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/jys/index.js +6 -0
- package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts +110 -0
- package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/jys/reports.js +309 -0
- package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts +86 -0
- package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/jys/transactions.js +240 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts +112 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/clients.js +218 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/index.d.ts +7 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/index.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/index.js +6 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts +110 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/reports.js +309 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts +83 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts.map +1 -0
- package/dist/resources/mex/actividad-vulnerable/tsc/transactions.js +246 -0
- package/dist/resources/mex/addresses.d.ts +135 -0
- package/dist/resources/mex/addresses.d.ts.map +1 -0
- package/dist/resources/mex/addresses.js +313 -0
- package/dist/resources/mex/bank-accounts.d.ts +99 -0
- package/dist/resources/mex/bank-accounts.d.ts.map +1 -0
- package/dist/resources/mex/bank-accounts.js +147 -0
- package/dist/resources/mex/clients.d.ts +186 -0
- package/dist/resources/mex/clients.d.ts.map +1 -0
- package/dist/resources/mex/clients.js +438 -0
- package/dist/resources/mex/ebr.d.ts +213 -0
- package/dist/resources/mex/ebr.d.ts.map +1 -0
- package/dist/resources/mex/ebr.js +417 -0
- package/dist/resources/mex/index.d.ts +11 -0
- package/dist/resources/mex/index.d.ts.map +1 -0
- package/dist/resources/mex/index.js +12 -0
- package/dist/resources/mex/reports.d.ts +204 -0
- package/dist/resources/mex/reports.d.ts.map +1 -0
- package/dist/resources/mex/reports.js +404 -0
- package/dist/resources/mex/transactions.d.ts +117 -0
- package/dist/resources/mex/transactions.d.ts.map +1 -0
- package/dist/resources/mex/transactions.js +259 -0
- package/dist/resources/reports.d.ts +217 -0
- package/dist/resources/reports.d.ts.map +1 -0
- package/dist/resources/reports.js +310 -0
- package/dist/resources/transactions.d.ts +142 -0
- package/dist/resources/transactions.d.ts.map +1 -0
- package/dist/resources/transactions.js +221 -0
- package/dist/sdk/ComplianceSDK.d.ts +457 -0
- package/dist/sdk/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/ComplianceSDK.js +520 -0
- package/dist/sdk/base.d.ts +17 -0
- package/dist/sdk/base.d.ts.map +1 -0
- package/dist/sdk/base.js +22 -0
- package/dist/sdk/index.d.ts +18 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/index.js +43 -0
- package/dist/{ComplianceSDK-CsFkAge8.d.ts → sdk/mex/ComplianceSDK.d.ts} +16 -7
- package/dist/sdk/mex/ComplianceSDK.d.ts.map +1 -0
- package/dist/{ComplianceSDK-DzmqGCLF.d.cts → sdk/mex/ComplianceSDK.js} +26 -11
- package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.d.ts +44 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.js +39 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/index.d.ts +8 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/index.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/index.js +9 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts +35 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/avi/types.js +19 -0
- package/dist/sdk/mex/actividad-vulnerable/index.d.ts +13 -0
- package/dist/sdk/mex/actividad-vulnerable/index.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/index.js +31 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.d.ts +44 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.js +39 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/index.d.ts +8 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/index.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/index.js +9 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts +35 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/jys/types.js +19 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.d.ts +44 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.js +39 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/index.d.ts +8 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/index.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/index.js +9 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts +35 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts.map +1 -0
- package/dist/sdk/mex/actividad-vulnerable/tsc/types.js +19 -0
- package/dist/sdk/mex/index.d.ts +13 -0
- package/dist/sdk/mex/index.d.ts.map +1 -0
- package/dist/sdk/mex/index.js +38 -0
- package/dist/sdk/mex/types.d.ts +57 -0
- package/dist/sdk/mex/types.d.ts.map +1 -0
- package/dist/sdk/mex/types.js +7 -0
- package/dist/sdk/resource-registry.d.ts +118 -0
- package/dist/sdk/resource-registry.d.ts.map +1 -0
- package/dist/sdk/resource-registry.js +145 -0
- package/dist/sdk/sdk-registry.d.ts +59 -0
- package/dist/sdk/sdk-registry.d.ts.map +1 -0
- package/dist/sdk/sdk-registry.js +82 -0
- package/dist/sdk/types.d.ts +209 -0
- package/dist/sdk/types.d.ts.map +1 -0
- package/dist/sdk/types.js +42 -0
- package/dist/utils/environment.d.ts +102 -0
- package/dist/utils/environment.d.ts.map +1 -0
- package/dist/utils/environment.js +110 -0
- package/dist/utils/filters.d.ts +338 -0
- package/dist/utils/filters.d.ts.map +1 -0
- package/dist/utils/filters.js +373 -0
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +39 -0
- package/dist/utils/pagination.d.ts +85 -0
- package/dist/utils/pagination.d.ts.map +1 -0
- package/dist/utils/pagination.js +120 -0
- package/dist/utils/session.d.ts +155 -0
- package/dist/utils/session.d.ts.map +1 -0
- package/dist/utils/session.js +50 -0
- package/dist/utils/trpc-client.d.ts +19337 -0
- package/dist/utils/trpc-client.d.ts.map +1 -0
- package/dist/utils/trpc-client.js +128 -0
- package/package.json +16 -27
- package/src/errors/api.ts +305 -0
- package/src/errors/base.ts +127 -0
- package/src/errors/index.ts +63 -0
- package/src/errors/upload.ts +204 -0
- package/src/errors/validation.ts +163 -0
- package/src/exports/base.ts +139 -0
- package/src/exports/index.ts +187 -0
- package/src/exports/mexico/actividad-vulnerable/avi.ts +207 -0
- package/src/exports/mexico/actividad-vulnerable/jys.ts +214 -0
- package/src/exports/mexico/actividad-vulnerable/tsc.ts +202 -0
- package/src/exports/mexico/index.ts +215 -0
- package/src/models/Address.ts +235 -0
- package/src/models/BankAccount.ts +235 -0
- package/src/models/Client.ts +343 -0
- package/src/models/ContactMethod.ts +197 -0
- package/src/models/Document.ts +355 -0
- package/src/models/LinkedClient.ts +84 -0
- package/src/models/Report.ts +193 -0
- package/src/models/ReportItem.ts +211 -0
- package/src/models/Transaction.ts +219 -0
- package/src/models/base.ts +56 -0
- package/src/models/index.ts +148 -0
- package/src/models/mex/MexAddress.ts +184 -0
- package/src/models/mex/MexBankAccount.ts +121 -0
- package/src/models/mex/MexClient.ts +177 -0
- package/src/models/mex/MexDocument.ts +890 -0
- package/src/models/mex/MexReport.ts +99 -0
- package/src/models/mex/MexReportItem.ts +79 -0
- package/src/models/mex/MexTransaction.ts +105 -0
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableClient.ts +66 -0
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReport.ts +73 -0
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.ts +74 -0
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.ts +50 -0
- package/src/models/mex/actividad-vulnerable/avi/MexAVIClient.ts +80 -0
- package/src/models/mex/actividad-vulnerable/avi/MexAVIReport.ts +114 -0
- package/src/models/mex/actividad-vulnerable/avi/MexAVIReportItem.ts +105 -0
- package/src/models/mex/actividad-vulnerable/avi/MexAVITransaction.ts +157 -0
- package/src/models/mex/actividad-vulnerable/index.ts +78 -0
- package/src/models/mex/actividad-vulnerable/jys/MexJYSClient.ts +73 -0
- package/src/models/mex/actividad-vulnerable/jys/MexJYSReport.ts +114 -0
- package/src/models/mex/actividad-vulnerable/jys/MexJYSReportItem.ts +105 -0
- package/src/models/mex/actividad-vulnerable/jys/MexJYSTransaction.ts +178 -0
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCClient.ts +73 -0
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCReport.ts +114 -0
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.ts +105 -0
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.ts +104 -0
- package/src/models/mex/index.ts +57 -0
- package/src/models/types.ts +196 -0
- package/src/namespaces/index.ts +29 -0
- package/src/namespaces/mexico/actividad-vulnerable/avi/index.ts +62 -0
- package/src/namespaces/mexico/actividad-vulnerable/index.ts +79 -0
- package/src/namespaces/mexico/actividad-vulnerable/jys/index.ts +72 -0
- package/src/namespaces/mexico/actividad-vulnerable/tsc/index.ts +60 -0
- package/src/namespaces/mexico/index.ts +325 -0
- package/src/resources/addresses.ts +387 -0
- package/src/resources/bank-accounts.ts +413 -0
- package/src/resources/base.ts +322 -0
- package/src/resources/clients.ts +802 -0
- package/src/resources/contact-methods.ts +410 -0
- package/src/resources/documents.ts +508 -0
- package/src/resources/index.ts +35 -0
- package/src/resources/mex/actividad-vulnerable/avi/clients.ts +537 -0
- package/src/resources/mex/actividad-vulnerable/avi/index.ts +7 -0
- package/src/resources/mex/actividad-vulnerable/avi/reports.ts +513 -0
- package/src/resources/mex/actividad-vulnerable/avi/transactions.ts +386 -0
- package/src/resources/mex/actividad-vulnerable/index.ts +12 -0
- package/src/resources/mex/actividad-vulnerable/jys/clients.ts +427 -0
- package/src/resources/mex/actividad-vulnerable/jys/index.ts +7 -0
- package/src/resources/mex/actividad-vulnerable/jys/reports.ts +489 -0
- package/src/resources/mex/actividad-vulnerable/jys/transactions.ts +377 -0
- package/src/resources/mex/actividad-vulnerable/tsc/clients.ts +427 -0
- package/src/resources/mex/actividad-vulnerable/tsc/index.ts +7 -0
- package/src/resources/mex/actividad-vulnerable/tsc/reports.ts +489 -0
- package/src/resources/mex/actividad-vulnerable/tsc/transactions.ts +386 -0
- package/src/resources/mex/addresses.ts +471 -0
- package/src/resources/mex/bank-accounts.ts +259 -0
- package/src/resources/mex/clients.ts +735 -0
- package/src/resources/mex/ebr.ts +621 -0
- package/src/resources/mex/index.ts +23 -0
- package/src/resources/mex/reports.ts +575 -0
- package/src/resources/mex/transactions.ts +400 -0
- package/src/resources/reports.ts +493 -0
- package/src/resources/transactions.ts +354 -0
- package/src/sdk/ComplianceSDK.ts +797 -0
- package/src/sdk/base.ts +43 -0
- package/src/sdk/index.ts +98 -0
- package/src/sdk/mex/ComplianceSDK.ts +140 -0
- package/src/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.ts +51 -0
- package/src/sdk/mex/actividad-vulnerable/avi/index.ts +16 -0
- package/src/sdk/mex/actividad-vulnerable/avi/types.ts +72 -0
- package/src/sdk/mex/actividad-vulnerable/index.ts +58 -0
- package/src/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.ts +51 -0
- package/src/sdk/mex/actividad-vulnerable/jys/index.ts +16 -0
- package/src/sdk/mex/actividad-vulnerable/jys/types.ts +72 -0
- package/src/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.ts +51 -0
- package/src/sdk/mex/actividad-vulnerable/tsc/index.ts +16 -0
- package/src/sdk/mex/actividad-vulnerable/tsc/types.ts +72 -0
- package/src/sdk/mex/index.ts +66 -0
- package/src/sdk/mex/types.ts +84 -0
- package/src/sdk/resource-registry.ts +204 -0
- package/src/sdk/sdk-registry.ts +99 -0
- package/src/sdk/types.ts +275 -0
- package/src/utils/environment.ts +145 -0
- package/src/utils/filters.ts +412 -0
- package/src/utils/index.ts +115 -0
- package/src/utils/pagination.ts +143 -0
- package/src/utils/session.ts +273 -0
- package/src/utils/trpc-client.ts +233 -0
- package/dist/chunk-C4Y56E4V.js +0 -23
- package/dist/chunk-C4Y56E4V.js.map +0 -1
- package/dist/chunk-E36XEOE2.js +0 -22558
- package/dist/chunk-E36XEOE2.js.map +0 -1
- package/dist/chunk-EO7ANPLK.cjs +0 -26
- package/dist/chunk-EO7ANPLK.cjs.map +0 -1
- package/dist/chunk-F5LRN233.cjs +0 -26
- package/dist/chunk-F5LRN233.cjs.map +0 -1
- package/dist/chunk-IS3YJ7Y5.cjs +0 -26
- package/dist/chunk-IS3YJ7Y5.cjs.map +0 -1
- package/dist/chunk-MNPRPINS.js +0 -23
- package/dist/chunk-MNPRPINS.js.map +0 -1
- package/dist/chunk-NQWTMQQL.js +0 -249
- package/dist/chunk-NQWTMQQL.js.map +0 -1
- package/dist/chunk-Q3J7CQWL.js +0 -23
- package/dist/chunk-Q3J7CQWL.js.map +0 -1
- package/dist/chunk-U3W5OO7I.cjs +0 -22711
- package/dist/chunk-U3W5OO7I.cjs.map +0 -1
- package/dist/chunk-UVM75OVG.cjs +0 -261
- package/dist/chunk-UVM75OVG.cjs.map +0 -1
- package/dist/filters-CEVr2pEJ.d.cts +0 -6368
- package/dist/filters-CEVr2pEJ.d.ts +0 -6368
- package/dist/index-CWAflRhP.d.ts +0 -2866
- package/dist/index-FBXIzHa9.d.cts +0 -2866
- package/dist/index.cjs +0 -417
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -9
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -28
- package/dist/index.js.map +0 -1
- package/dist/mexico/actividad-vulnerable/avi.cjs +0 -320
- package/dist/mexico/actividad-vulnerable/avi.cjs.map +0 -1
- package/dist/mexico/actividad-vulnerable/avi.d.cts +0 -680
- package/dist/mexico/actividad-vulnerable/avi.js +0 -55
- package/dist/mexico/actividad-vulnerable/avi.js.map +0 -1
- package/dist/mexico/actividad-vulnerable/jys.cjs +0 -330
- package/dist/mexico/actividad-vulnerable/jys.cjs.map +0 -1
- package/dist/mexico/actividad-vulnerable/jys.d.cts +0 -746
- package/dist/mexico/actividad-vulnerable/jys.js +0 -65
- package/dist/mexico/actividad-vulnerable/jys.js.map +0 -1
- package/dist/mexico/actividad-vulnerable/tsc.cjs +0 -318
- package/dist/mexico/actividad-vulnerable/tsc.cjs.map +0 -1
- package/dist/mexico/actividad-vulnerable/tsc.d.cts +0 -600
- package/dist/mexico/actividad-vulnerable/tsc.js +0 -53
- package/dist/mexico/actividad-vulnerable/tsc.js.map +0 -1
- package/dist/mexico/index.cjs +0 -384
- package/dist/mexico/index.cjs.map +0 -1
- package/dist/mexico/index.d.cts +0 -1422
- package/dist/mexico/index.d.ts +0 -1422
- package/dist/mexico/index.js +0 -7
- package/dist/mexico/index.js.map +0 -1
package/dist/index.cjs
DELETED
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUVM75OVG_cjs = require('./chunk-UVM75OVG.cjs');
|
|
4
|
-
require('./chunk-F5LRN233.cjs');
|
|
5
|
-
require('./chunk-EO7ANPLK.cjs');
|
|
6
|
-
require('./chunk-IS3YJ7Y5.cjs');
|
|
7
|
-
var chunkU3W5OO7I_cjs = require('./chunk-U3W5OO7I.cjs');
|
|
8
|
-
var shared = require('@artu-ai/shared');
|
|
9
|
-
|
|
10
|
-
// src/sdk/base.ts
|
|
11
|
-
function registerBaseScope() {
|
|
12
|
-
chunkU3W5OO7I_cjs.registerScope("base", {
|
|
13
|
-
clients: (config) => new chunkU3W5OO7I_cjs.ClientsResource(config),
|
|
14
|
-
transactions: (config) => new chunkU3W5OO7I_cjs.TransactionsResource(config),
|
|
15
|
-
reports: (config) => new chunkU3W5OO7I_cjs.ReportsResource(config),
|
|
16
|
-
bankAccounts: (config) => new chunkU3W5OO7I_cjs.BankAccountsResource(config),
|
|
17
|
-
addresses: (config) => new chunkU3W5OO7I_cjs.AddressesResource(config)
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// src/sdk/index.ts
|
|
22
|
-
function initializeRegistry() {
|
|
23
|
-
registerBaseScope();
|
|
24
|
-
chunkUVM75OVG_cjs.registerMexicoScopes();
|
|
25
|
-
}
|
|
26
|
-
initializeRegistry();
|
|
27
|
-
|
|
28
|
-
Object.defineProperty(exports, "Mexico", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkUVM75OVG_cjs.Mexico; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "APIError", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return chunkU3W5OO7I_cjs.APIError; }
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "Address", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return chunkU3W5OO7I_cjs.Address; }
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(exports, "AddressesResource", {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () { return chunkU3W5OO7I_cjs.AddressesResource; }
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "BankAccount", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return chunkU3W5OO7I_cjs.BankAccount; }
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "BankAccountsResource", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () { return chunkU3W5OO7I_cjs.BankAccountsResource; }
|
|
51
|
-
});
|
|
52
|
-
Object.defineProperty(exports, "BaseModel", {
|
|
53
|
-
enumerable: true,
|
|
54
|
-
get: function () { return chunkU3W5OO7I_cjs.BaseModel; }
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, "BaseResource", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function () { return chunkU3W5OO7I_cjs.BaseResource; }
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "Client", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () { return chunkU3W5OO7I_cjs.Client; }
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(exports, "ClientsResource", {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () { return chunkU3W5OO7I_cjs.ClientsResource; }
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, "ComplianceError", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () { return chunkU3W5OO7I_cjs.ComplianceError; }
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "ComplianceSDK", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () { return chunkU3W5OO7I_cjs.ComplianceSDK; }
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, "ContactMethod", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () { return chunkU3W5OO7I_cjs.ContactMethod; }
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "ContactMethodsResource", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function () { return chunkU3W5OO7I_cjs.ContactMethodsResource; }
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () { return chunkU3W5OO7I_cjs.DEFAULT_PAGE_SIZE; }
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(exports, "Document", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function () { return chunkU3W5OO7I_cjs.Document; }
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "DocumentsResource", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () { return chunkU3W5OO7I_cjs.DocumentsResource; }
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "FileTooLargeError", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () { return chunkU3W5OO7I_cjs.FileTooLargeError; }
|
|
99
|
-
});
|
|
100
|
-
Object.defineProperty(exports, "ForbiddenError", {
|
|
101
|
-
enumerable: true,
|
|
102
|
-
get: function () { return chunkU3W5OO7I_cjs.ForbiddenError; }
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(exports, "InvalidFileTypeError", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function () { return chunkU3W5OO7I_cjs.InvalidFileTypeError; }
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, "MAX_PAGE_SIZE", {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () { return chunkU3W5OO7I_cjs.MAX_PAGE_SIZE; }
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(exports, "NetworkError", {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
get: function () { return chunkU3W5OO7I_cjs.NetworkError; }
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(exports, "NotFoundError", {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function () { return chunkU3W5OO7I_cjs.NotFoundError; }
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, "RateLimitError", {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () { return chunkU3W5OO7I_cjs.RateLimitError; }
|
|
123
|
-
});
|
|
124
|
-
Object.defineProperty(exports, "ReadOnlyResource", {
|
|
125
|
-
enumerable: true,
|
|
126
|
-
get: function () { return chunkU3W5OO7I_cjs.ReadOnlyResource; }
|
|
127
|
-
});
|
|
128
|
-
Object.defineProperty(exports, "Report", {
|
|
129
|
-
enumerable: true,
|
|
130
|
-
get: function () { return chunkU3W5OO7I_cjs.Report; }
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, "ReportItem", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () { return chunkU3W5OO7I_cjs.ReportItem; }
|
|
135
|
-
});
|
|
136
|
-
Object.defineProperty(exports, "ReportsResource", {
|
|
137
|
-
enumerable: true,
|
|
138
|
-
get: function () { return chunkU3W5OO7I_cjs.ReportsResource; }
|
|
139
|
-
});
|
|
140
|
-
Object.defineProperty(exports, "ServerError", {
|
|
141
|
-
enumerable: true,
|
|
142
|
-
get: function () { return chunkU3W5OO7I_cjs.ServerError; }
|
|
143
|
-
});
|
|
144
|
-
Object.defineProperty(exports, "TimeoutError", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function () { return chunkU3W5OO7I_cjs.TimeoutError; }
|
|
147
|
-
});
|
|
148
|
-
Object.defineProperty(exports, "Transaction", {
|
|
149
|
-
enumerable: true,
|
|
150
|
-
get: function () { return chunkU3W5OO7I_cjs.Transaction; }
|
|
151
|
-
});
|
|
152
|
-
Object.defineProperty(exports, "TransactionsResource", {
|
|
153
|
-
enumerable: true,
|
|
154
|
-
get: function () { return chunkU3W5OO7I_cjs.TransactionsResource; }
|
|
155
|
-
});
|
|
156
|
-
Object.defineProperty(exports, "UnauthorizedError", {
|
|
157
|
-
enumerable: true,
|
|
158
|
-
get: function () { return chunkU3W5OO7I_cjs.UnauthorizedError; }
|
|
159
|
-
});
|
|
160
|
-
Object.defineProperty(exports, "UploadAbortedError", {
|
|
161
|
-
enumerable: true,
|
|
162
|
-
get: function () { return chunkU3W5OO7I_cjs.UploadAbortedError; }
|
|
163
|
-
});
|
|
164
|
-
Object.defineProperty(exports, "UploadError", {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () { return chunkU3W5OO7I_cjs.UploadError; }
|
|
167
|
-
});
|
|
168
|
-
Object.defineProperty(exports, "UploadTimeoutError", {
|
|
169
|
-
enumerable: true,
|
|
170
|
-
get: function () { return chunkU3W5OO7I_cjs.UploadTimeoutError; }
|
|
171
|
-
});
|
|
172
|
-
Object.defineProperty(exports, "UploadUrlExpiredError", {
|
|
173
|
-
enumerable: true,
|
|
174
|
-
get: function () { return chunkU3W5OO7I_cjs.UploadUrlExpiredError; }
|
|
175
|
-
});
|
|
176
|
-
Object.defineProperty(exports, "ValidationError", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function () { return chunkU3W5OO7I_cjs.ValidationError; }
|
|
179
|
-
});
|
|
180
|
-
Object.defineProperty(exports, "after", {
|
|
181
|
-
enumerable: true,
|
|
182
|
-
get: function () { return chunkU3W5OO7I_cjs.after; }
|
|
183
|
-
});
|
|
184
|
-
Object.defineProperty(exports, "atLeast", {
|
|
185
|
-
enumerable: true,
|
|
186
|
-
get: function () { return chunkU3W5OO7I_cjs.atLeast; }
|
|
187
|
-
});
|
|
188
|
-
Object.defineProperty(exports, "atMost", {
|
|
189
|
-
enumerable: true,
|
|
190
|
-
get: function () { return chunkU3W5OO7I_cjs.atMost; }
|
|
191
|
-
});
|
|
192
|
-
Object.defineProperty(exports, "before", {
|
|
193
|
-
enumerable: true,
|
|
194
|
-
get: function () { return chunkU3W5OO7I_cjs.before; }
|
|
195
|
-
});
|
|
196
|
-
Object.defineProperty(exports, "collectAll", {
|
|
197
|
-
enumerable: true,
|
|
198
|
-
get: function () { return chunkU3W5OO7I_cjs.collectAll; }
|
|
199
|
-
});
|
|
200
|
-
Object.defineProperty(exports, "collectUpTo", {
|
|
201
|
-
enumerable: true,
|
|
202
|
-
get: function () { return chunkU3W5OO7I_cjs.collectUpTo; }
|
|
203
|
-
});
|
|
204
|
-
Object.defineProperty(exports, "contains", {
|
|
205
|
-
enumerable: true,
|
|
206
|
-
get: function () { return chunkU3W5OO7I_cjs.contains; }
|
|
207
|
-
});
|
|
208
|
-
Object.defineProperty(exports, "dateRange", {
|
|
209
|
-
enumerable: true,
|
|
210
|
-
get: function () { return chunkU3W5OO7I_cjs.dateRange; }
|
|
211
|
-
});
|
|
212
|
-
Object.defineProperty(exports, "endsWith", {
|
|
213
|
-
enumerable: true,
|
|
214
|
-
get: function () { return chunkU3W5OO7I_cjs.endsWith; }
|
|
215
|
-
});
|
|
216
|
-
Object.defineProperty(exports, "equals", {
|
|
217
|
-
enumerable: true,
|
|
218
|
-
get: function () { return chunkU3W5OO7I_cjs.equals; }
|
|
219
|
-
});
|
|
220
|
-
Object.defineProperty(exports, "getFirst", {
|
|
221
|
-
enumerable: true,
|
|
222
|
-
get: function () { return chunkU3W5OO7I_cjs.getFirst; }
|
|
223
|
-
});
|
|
224
|
-
Object.defineProperty(exports, "greaterThan", {
|
|
225
|
-
enumerable: true,
|
|
226
|
-
get: function () { return chunkU3W5OO7I_cjs.greaterThan; }
|
|
227
|
-
});
|
|
228
|
-
Object.defineProperty(exports, "isAPIError", {
|
|
229
|
-
enumerable: true,
|
|
230
|
-
get: function () { return chunkU3W5OO7I_cjs.isAPIError; }
|
|
231
|
-
});
|
|
232
|
-
Object.defineProperty(exports, "isBankAccount", {
|
|
233
|
-
enumerable: true,
|
|
234
|
-
get: function () { return chunkU3W5OO7I_cjs.isBankAccount; }
|
|
235
|
-
});
|
|
236
|
-
Object.defineProperty(exports, "isClient", {
|
|
237
|
-
enumerable: true,
|
|
238
|
-
get: function () { return chunkU3W5OO7I_cjs.isClient; }
|
|
239
|
-
});
|
|
240
|
-
Object.defineProperty(exports, "isCompany", {
|
|
241
|
-
enumerable: true,
|
|
242
|
-
get: function () { return chunkU3W5OO7I_cjs.isCompany; }
|
|
243
|
-
});
|
|
244
|
-
Object.defineProperty(exports, "isFalse", {
|
|
245
|
-
enumerable: true,
|
|
246
|
-
get: function () { return chunkU3W5OO7I_cjs.isFalse; }
|
|
247
|
-
});
|
|
248
|
-
Object.defineProperty(exports, "isIndividual", {
|
|
249
|
-
enumerable: true,
|
|
250
|
-
get: function () { return chunkU3W5OO7I_cjs.isIndividual; }
|
|
251
|
-
});
|
|
252
|
-
Object.defineProperty(exports, "isNotNull", {
|
|
253
|
-
enumerable: true,
|
|
254
|
-
get: function () { return chunkU3W5OO7I_cjs.isNotNull; }
|
|
255
|
-
});
|
|
256
|
-
Object.defineProperty(exports, "isNull", {
|
|
257
|
-
enumerable: true,
|
|
258
|
-
get: function () { return chunkU3W5OO7I_cjs.isNull; }
|
|
259
|
-
});
|
|
260
|
-
Object.defineProperty(exports, "isReport", {
|
|
261
|
-
enumerable: true,
|
|
262
|
-
get: function () { return chunkU3W5OO7I_cjs.isReport; }
|
|
263
|
-
});
|
|
264
|
-
Object.defineProperty(exports, "isReportItem", {
|
|
265
|
-
enumerable: true,
|
|
266
|
-
get: function () { return chunkU3W5OO7I_cjs.isReportItem; }
|
|
267
|
-
});
|
|
268
|
-
Object.defineProperty(exports, "isTransaction", {
|
|
269
|
-
enumerable: true,
|
|
270
|
-
get: function () { return chunkU3W5OO7I_cjs.isTransaction; }
|
|
271
|
-
});
|
|
272
|
-
Object.defineProperty(exports, "isTrue", {
|
|
273
|
-
enumerable: true,
|
|
274
|
-
get: function () { return chunkU3W5OO7I_cjs.isTrue; }
|
|
275
|
-
});
|
|
276
|
-
Object.defineProperty(exports, "isTrust", {
|
|
277
|
-
enumerable: true,
|
|
278
|
-
get: function () { return chunkU3W5OO7I_cjs.isTrust; }
|
|
279
|
-
});
|
|
280
|
-
Object.defineProperty(exports, "isUploadError", {
|
|
281
|
-
enumerable: true,
|
|
282
|
-
get: function () { return chunkU3W5OO7I_cjs.isUploadError; }
|
|
283
|
-
});
|
|
284
|
-
Object.defineProperty(exports, "lessThan", {
|
|
285
|
-
enumerable: true,
|
|
286
|
-
get: function () { return chunkU3W5OO7I_cjs.lessThan; }
|
|
287
|
-
});
|
|
288
|
-
Object.defineProperty(exports, "mapTRPCError", {
|
|
289
|
-
enumerable: true,
|
|
290
|
-
get: function () { return chunkU3W5OO7I_cjs.mapTRPCError; }
|
|
291
|
-
});
|
|
292
|
-
Object.defineProperty(exports, "notEquals", {
|
|
293
|
-
enumerable: true,
|
|
294
|
-
get: function () { return chunkU3W5OO7I_cjs.notEquals; }
|
|
295
|
-
});
|
|
296
|
-
Object.defineProperty(exports, "notOneOf", {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () { return chunkU3W5OO7I_cjs.notOneOf; }
|
|
299
|
-
});
|
|
300
|
-
Object.defineProperty(exports, "numberRange", {
|
|
301
|
-
enumerable: true,
|
|
302
|
-
get: function () { return chunkU3W5OO7I_cjs.numberRange; }
|
|
303
|
-
});
|
|
304
|
-
Object.defineProperty(exports, "onOrAfter", {
|
|
305
|
-
enumerable: true,
|
|
306
|
-
get: function () { return chunkU3W5OO7I_cjs.onOrAfter; }
|
|
307
|
-
});
|
|
308
|
-
Object.defineProperty(exports, "onOrBefore", {
|
|
309
|
-
enumerable: true,
|
|
310
|
-
get: function () { return chunkU3W5OO7I_cjs.onOrBefore; }
|
|
311
|
-
});
|
|
312
|
-
Object.defineProperty(exports, "oneOf", {
|
|
313
|
-
enumerable: true,
|
|
314
|
-
get: function () { return chunkU3W5OO7I_cjs.oneOf; }
|
|
315
|
-
});
|
|
316
|
-
Object.defineProperty(exports, "startsWith", {
|
|
317
|
-
enumerable: true,
|
|
318
|
-
get: function () { return chunkU3W5OO7I_cjs.startsWith; }
|
|
319
|
-
});
|
|
320
|
-
Object.defineProperty(exports, "AddressType", {
|
|
321
|
-
enumerable: true,
|
|
322
|
-
get: function () { return shared.AddressType; }
|
|
323
|
-
});
|
|
324
|
-
Object.defineProperty(exports, "AddressTypes", {
|
|
325
|
-
enumerable: true,
|
|
326
|
-
get: function () { return shared.AddressTypes; }
|
|
327
|
-
});
|
|
328
|
-
Object.defineProperty(exports, "BankAccountType", {
|
|
329
|
-
enumerable: true,
|
|
330
|
-
get: function () { return shared.BankAccountType; }
|
|
331
|
-
});
|
|
332
|
-
Object.defineProperty(exports, "BankAccountTypes", {
|
|
333
|
-
enumerable: true,
|
|
334
|
-
get: function () { return shared.BankAccountTypes; }
|
|
335
|
-
});
|
|
336
|
-
Object.defineProperty(exports, "ClientRelationshipType", {
|
|
337
|
-
enumerable: true,
|
|
338
|
-
get: function () { return shared.ClientRelationshipType; }
|
|
339
|
-
});
|
|
340
|
-
Object.defineProperty(exports, "ClientRelationshipTypes", {
|
|
341
|
-
enumerable: true,
|
|
342
|
-
get: function () { return shared.ClientRelationshipTypes; }
|
|
343
|
-
});
|
|
344
|
-
Object.defineProperty(exports, "ClientRole", {
|
|
345
|
-
enumerable: true,
|
|
346
|
-
get: function () { return shared.ClientRole; }
|
|
347
|
-
});
|
|
348
|
-
Object.defineProperty(exports, "ClientRoles", {
|
|
349
|
-
enumerable: true,
|
|
350
|
-
get: function () { return shared.ClientRoles; }
|
|
351
|
-
});
|
|
352
|
-
Object.defineProperty(exports, "ClientType", {
|
|
353
|
-
enumerable: true,
|
|
354
|
-
get: function () { return shared.ClientType; }
|
|
355
|
-
});
|
|
356
|
-
Object.defineProperty(exports, "ClientTypes", {
|
|
357
|
-
enumerable: true,
|
|
358
|
-
get: function () { return shared.ClientTypes; }
|
|
359
|
-
});
|
|
360
|
-
Object.defineProperty(exports, "ContactMethodType", {
|
|
361
|
-
enumerable: true,
|
|
362
|
-
get: function () { return shared.ContactMethodType; }
|
|
363
|
-
});
|
|
364
|
-
Object.defineProperty(exports, "ContactMethodTypes", {
|
|
365
|
-
enumerable: true,
|
|
366
|
-
get: function () { return shared.ContactMethodTypes; }
|
|
367
|
-
});
|
|
368
|
-
Object.defineProperty(exports, "Country", {
|
|
369
|
-
enumerable: true,
|
|
370
|
-
get: function () { return shared.Country; }
|
|
371
|
-
});
|
|
372
|
-
Object.defineProperty(exports, "Currency", {
|
|
373
|
-
enumerable: true,
|
|
374
|
-
get: function () { return shared.Currency; }
|
|
375
|
-
});
|
|
376
|
-
Object.defineProperty(exports, "DocumentCategories", {
|
|
377
|
-
enumerable: true,
|
|
378
|
-
get: function () { return shared.DocumentCategories; }
|
|
379
|
-
});
|
|
380
|
-
Object.defineProperty(exports, "DocumentCategory", {
|
|
381
|
-
enumerable: true,
|
|
382
|
-
get: function () { return shared.DocumentCategory; }
|
|
383
|
-
});
|
|
384
|
-
Object.defineProperty(exports, "DocumentStatus", {
|
|
385
|
-
enumerable: true,
|
|
386
|
-
get: function () { return shared.DocumentStatus; }
|
|
387
|
-
});
|
|
388
|
-
Object.defineProperty(exports, "DocumentStatuses", {
|
|
389
|
-
enumerable: true,
|
|
390
|
-
get: function () { return shared.DocumentStatuses; }
|
|
391
|
-
});
|
|
392
|
-
Object.defineProperty(exports, "Jurisdiction", {
|
|
393
|
-
enumerable: true,
|
|
394
|
-
get: function () { return shared.Jurisdiction; }
|
|
395
|
-
});
|
|
396
|
-
Object.defineProperty(exports, "Jurisdictions", {
|
|
397
|
-
enumerable: true,
|
|
398
|
-
get: function () { return shared.Jurisdictions; }
|
|
399
|
-
});
|
|
400
|
-
Object.defineProperty(exports, "ReportStatus", {
|
|
401
|
-
enumerable: true,
|
|
402
|
-
get: function () { return shared.ReportStatus; }
|
|
403
|
-
});
|
|
404
|
-
Object.defineProperty(exports, "ReportStatuses", {
|
|
405
|
-
enumerable: true,
|
|
406
|
-
get: function () { return shared.ReportStatuses; }
|
|
407
|
-
});
|
|
408
|
-
Object.defineProperty(exports, "TransactionStatus", {
|
|
409
|
-
enumerable: true,
|
|
410
|
-
get: function () { return shared.TransactionStatus; }
|
|
411
|
-
});
|
|
412
|
-
Object.defineProperty(exports, "TransactionStatuses", {
|
|
413
|
-
enumerable: true,
|
|
414
|
-
get: function () { return shared.TransactionStatuses; }
|
|
415
|
-
});
|
|
416
|
-
//# sourceMappingURL=index.cjs.map
|
|
417
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sdk/base.ts","../src/sdk/index.ts"],"names":["registerScope","ClientsResource","TransactionsResource","ReportsResource","BankAccountsResource","AddressesResource","registerMexicoScopes"],"mappings":";;;;;;;;;;AAkCO,SAAS,iBAAA,GAA0B;AACxC,EAAAA,+BAAA,CAAc,MAAA,EAAQ;AAAA,IACpB,OAAA,EAAS,CAAC,MAAA,KAAW,IAAIC,kCAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAIC,uCAAqB,MAAM,CAAA;AAAA,IACzD,OAAA,EAAS,CAAC,MAAA,KAAW,IAAIC,kCAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAIC,uCAAqB,MAAM,CAAA;AAAA,IACzD,SAAA,EAAW,CAAC,MAAA,KAAW,IAAIC,oCAAkB,MAAM;AAAA,GACpD,CAAA;AACH;;;AC8BO,SAAS,kBAAA,GAA2B;AACzC,EAAA,iBAAA,EAAkB;AAClB,EAAAC,sCAAA,EAAqB;AACvB;AAGA,kBAAA,EAAmB","file":"index.cjs","sourcesContent":["/**\n * Base SDK Types & Registration\n *\n * Unscoped/default SDK types and resource factory registration.\n */\n\nimport type { ComplianceSDKOptionsBase } from \"./types\";\nimport {\n ClientsResource,\n TransactionsResource,\n ReportsResource,\n BankAccountsResource,\n AddressesResource,\n} from \"../resources\";\nimport { registerScope } from \"./resource-registry\";\n\n// ===========================\n// SDK Options\n// ===========================\n\n/**\n * Options for creating an unscoped SDK\n */\nexport interface UnscopedSDKOptions extends ComplianceSDKOptionsBase {\n jurisdiction?: undefined;\n}\n\n// ===========================\n// Registration\n// ===========================\n\n/**\n * Registers the base (unscoped) resource factories\n */\nexport function registerBaseScope(): void {\n registerScope(\"base\", {\n clients: (config) => new ClientsResource(config),\n transactions: (config) => new TransactionsResource(config),\n reports: (config) => new ReportsResource(config),\n bankAccounts: (config) => new BankAccountsResource(config),\n addresses: (config) => new AddressesResource(config),\n });\n}\n","/**\n * SDK Core Module\n *\n * Core SDK infrastructure including types, registry, and scope registrations.\n * Organized by jurisdiction with barrel exports.\n */\n\n// ===========================\n// Core Types\n// ===========================\n\nexport {\n type Environment,\n type ComplianceSDKOptionsBase,\n type SDKScope,\n type SDKScopeBase,\n type SDKScopeMexico,\n isMexicoScope,\n buildScope,\n} from \"./types\";\n\n// ===========================\n// Registry\n// ===========================\n\nexport {\n type ResourceFactory,\n type ScopeResourceFactories,\n registerScope,\n getResourceFactories,\n getScopeKey,\n hasScope,\n getRegisteredScopes,\n clearRegistry,\n} from \"./resource-registry\";\n\n// ===========================\n// Base (Unscoped)\n// ===========================\n\nexport { type UnscopedSDKOptions, registerBaseScope } from \"./base\";\n\n// ===========================\n// Mexico\n// ===========================\n\nexport {\n // Types\n type ComplianceSDKOptionsMexico,\n type MexicoSDKOptions,\n type MexicoComplianceSDK,\n type AVISDKOptions,\n type AVIComplianceSDK,\n type JYSSDKOptions,\n type JYSComplianceSDK,\n type TSCSDKOptions,\n type TSCComplianceSDK,\n // Registration\n registerMexicoScopes,\n} from \"./mex\";\n\n// ===========================\n// Initialize All Scopes\n// ===========================\n\nimport { registerBaseScope } from \"./base\";\nimport { registerMexicoScopes } from \"./mex\";\n\n/**\n * Registers all SDK scopes.\n * Called automatically when the SDK module is imported.\n */\nexport function initializeRegistry(): void {\n registerBaseScope();\n registerMexicoScopes();\n}\n\n// Auto-initialize on import\ninitializeRegistry();\n\n// ===========================\n// ComplianceSDK\n// ===========================\n\nexport {\n ComplianceSDK,\n ComplianceSDKImpl,\n type ComplianceSDKOptions,\n type ComplianceSDKConstructor,\n type UnscopedComplianceSDK,\n} from \"./ComplianceSDK\";\n"]}
|
package/dist/index.d.cts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { t as APIError, bk as AddItemsResult, ae as Address, af as AddressData, ak as AddressesResource, bu as BankAccount, bv as BankAccountData, by as BankAccountModel, bi as BankAccountsResource, bl as BaseModel, bd as BaseResource, bm as Client, bn as ClientData, bw as ClientModel, bg as ClientsResource, p as ComplianceError, r as ComplianceErrorJSON, q as ComplianceErrorOptions, b9 as ComplianceSDK, bb as ComplianceSDKConstructor, ba as ComplianceSDKOptions, ag as ContactMethod, ah as ContactMethodData, al as ContactMethodsResource, O as DEFAULT_PAGE_SIZE, ai as Document, aj as DocumentData, am as DocumentsResource, w as FileTooLargeError, F as ForbiddenError, I as InvalidFileTypeError, P as MAX_PAGE_SIZE, u as NetworkError, N as NotFoundError, R as RateLimitError, be as ReadOnlyResource, bq as Report, br as ReportData, bs as ReportItem, bt as ReportItemData, bA as ReportItemModel, bz as ReportModel, bj as ReportsResource, bf as ResourceConfig, bc as SDKScope, S as ServerError, T as TimeoutError, bo as Transaction, bp as TransactionData, bx as TransactionModel, bh as TransactionsResource, U as UnauthorizedError, y as UploadAbortedError, v as UploadError, H as UploadStage, x as UploadTimeoutError, z as UploadUrlExpiredError, V as ValidationError, s as ValidationIssue, a1 as after, a8 as atLeast, a9 as atMost, a2 as before, J as collectAll, K as collectUpTo, Q as contains, a0 as dateRange, X as endsWith, Y as equals, L as getFirst, a6 as greaterThan, D as isAPIError, bG as isBankAccount, bB as isClient, bD as isCompany, ab as isFalse, bC as isIndividual, ad as isNotNull, ac as isNull, bH as isReport, bI as isReportItem, bF as isTransaction, aa as isTrue, bE as isTrust, G as isUploadError, a7 as lessThan, B as mapTRPCError, Z as notEquals, $ as notOneOf, a5 as numberRange, a3 as onOrAfter, a4 as onOrBefore, _ as oneOf, W as startsWith } from './filters-CEVr2pEJ.cjs';
|
|
2
|
-
export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, Address as AddressSchema, AddressType, AddressTypes, BankAccountFilter, BankAccount as BankAccountSchema, BankAccountType, BankAccountTypes, BaseClient, BaseTransaction, BatchResult, ClientFilter, ClientRelationshipType, ClientRelationshipTypes, ClientRole, ClientRoles, ClientType, ClientTypes, ContactMethod as ContactMethodSchema, ContactMethodType, ContactMethodTypes, Country, CountryIso2, CountryIso3, CreateAddressInput, CreateBankAccountInput, CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateReportInput, CreateReportItemInput, CreateTransactionInput, Currency, CurrencyCode, DocumentCategories, DocumentCategory, DocumentFilter, Document as DocumentSchema, DocumentStatus, DocumentStatuses, GenerateResult, IterateOptions, Jurisdiction, Jurisdictions, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, RelatedClient, ReportFilter, ReportItemFilter, ReportItem as ReportItemSchema, Report as ReportSchema, ReportStatus, ReportStatuses, ReportValidationError, SubmissionResult, TransactionFilter, TransactionStatus, TransactionStatuses, UpdateAddressInput, UpdateBankAccountInput, UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateReportInput, UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
|
|
3
|
-
export { t as Mexico } from './index-FBXIzHa9.cjs';
|
|
4
|
-
import '@trpc/client';
|
|
5
|
-
import 'zod';
|
|
6
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index';
|
|
7
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index';
|
|
8
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index';
|
|
9
|
-
import 'zod/v4/core';
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { t as APIError, bk as AddItemsResult, ae as Address, af as AddressData, ak as AddressesResource, bu as BankAccount, bv as BankAccountData, by as BankAccountModel, bi as BankAccountsResource, bl as BaseModel, bd as BaseResource, bm as Client, bn as ClientData, bw as ClientModel, bg as ClientsResource, p as ComplianceError, r as ComplianceErrorJSON, q as ComplianceErrorOptions, b9 as ComplianceSDK, bb as ComplianceSDKConstructor, ba as ComplianceSDKOptions, ag as ContactMethod, ah as ContactMethodData, al as ContactMethodsResource, O as DEFAULT_PAGE_SIZE, ai as Document, aj as DocumentData, am as DocumentsResource, w as FileTooLargeError, F as ForbiddenError, I as InvalidFileTypeError, P as MAX_PAGE_SIZE, u as NetworkError, N as NotFoundError, R as RateLimitError, be as ReadOnlyResource, bq as Report, br as ReportData, bs as ReportItem, bt as ReportItemData, bA as ReportItemModel, bz as ReportModel, bj as ReportsResource, bf as ResourceConfig, bc as SDKScope, S as ServerError, T as TimeoutError, bo as Transaction, bp as TransactionData, bx as TransactionModel, bh as TransactionsResource, U as UnauthorizedError, y as UploadAbortedError, v as UploadError, H as UploadStage, x as UploadTimeoutError, z as UploadUrlExpiredError, V as ValidationError, s as ValidationIssue, a1 as after, a8 as atLeast, a9 as atMost, a2 as before, J as collectAll, K as collectUpTo, Q as contains, a0 as dateRange, X as endsWith, Y as equals, L as getFirst, a6 as greaterThan, D as isAPIError, bG as isBankAccount, bB as isClient, bD as isCompany, ab as isFalse, bC as isIndividual, ad as isNotNull, ac as isNull, bH as isReport, bI as isReportItem, bF as isTransaction, aa as isTrue, bE as isTrust, G as isUploadError, a7 as lessThan, B as mapTRPCError, Z as notEquals, $ as notOneOf, a5 as numberRange, a3 as onOrAfter, a4 as onOrBefore, _ as oneOf, W as startsWith } from './filters-CEVr2pEJ.js';
|
|
2
|
-
export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, Address as AddressSchema, AddressType, AddressTypes, BankAccountFilter, BankAccount as BankAccountSchema, BankAccountType, BankAccountTypes, BaseClient, BaseTransaction, BatchResult, ClientFilter, ClientRelationshipType, ClientRelationshipTypes, ClientRole, ClientRoles, ClientType, ClientTypes, ContactMethod as ContactMethodSchema, ContactMethodType, ContactMethodTypes, Country, CountryIso2, CountryIso3, CreateAddressInput, CreateBankAccountInput, CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateReportInput, CreateReportItemInput, CreateTransactionInput, Currency, CurrencyCode, DocumentCategories, DocumentCategory, DocumentFilter, Document as DocumentSchema, DocumentStatus, DocumentStatuses, GenerateResult, IterateOptions, Jurisdiction, Jurisdictions, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, RelatedClient, ReportFilter, ReportItemFilter, ReportItem as ReportItemSchema, Report as ReportSchema, ReportStatus, ReportStatuses, ReportValidationError, SubmissionResult, TransactionFilter, TransactionStatus, TransactionStatuses, UpdateAddressInput, UpdateBankAccountInput, UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateReportInput, UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
|
|
3
|
-
export { t as Mexico } from './index-CWAflRhP.js';
|
|
4
|
-
import '@trpc/client';
|
|
5
|
-
import 'zod';
|
|
6
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index';
|
|
7
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index';
|
|
8
|
-
import '@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index';
|
|
9
|
-
import 'zod/v4/core';
|
package/dist/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { registerMexicoScopes } from './chunk-NQWTMQQL.js';
|
|
2
|
-
export { Mexico } from './chunk-NQWTMQQL.js';
|
|
3
|
-
import './chunk-C4Y56E4V.js';
|
|
4
|
-
import './chunk-Q3J7CQWL.js';
|
|
5
|
-
import './chunk-MNPRPINS.js';
|
|
6
|
-
import { registerScope, AddressesResource, BankAccountsResource, ReportsResource, TransactionsResource, ClientsResource } from './chunk-E36XEOE2.js';
|
|
7
|
-
export { APIError, Address, AddressesResource, BankAccount, BankAccountsResource, BaseModel, BaseResource, Client, ClientsResource, ComplianceError, ComplianceSDK, ContactMethod, ContactMethodsResource, DEFAULT_PAGE_SIZE, Document, DocumentsResource, FileTooLargeError, ForbiddenError, InvalidFileTypeError, MAX_PAGE_SIZE, NetworkError, NotFoundError, RateLimitError, ReadOnlyResource, Report, ReportItem, ReportsResource, ServerError, TimeoutError, Transaction, TransactionsResource, UnauthorizedError, UploadAbortedError, UploadError, UploadTimeoutError, UploadUrlExpiredError, ValidationError, after, atLeast, atMost, before, collectAll, collectUpTo, contains, dateRange, endsWith, equals, getFirst, greaterThan, isAPIError, isBankAccount, isClient, isCompany, isFalse, isIndividual, isNotNull, isNull, isReport, isReportItem, isTransaction, isTrue, isTrust, isUploadError, lessThan, mapTRPCError, notEquals, notOneOf, numberRange, onOrAfter, onOrBefore, oneOf, startsWith } from './chunk-E36XEOE2.js';
|
|
8
|
-
export { AddressType, AddressTypes, BankAccountType, BankAccountTypes, ClientRelationshipType, ClientRelationshipTypes, ClientRole, ClientRoles, ClientType, ClientTypes, ContactMethodType, ContactMethodTypes, Country, Currency, DocumentCategories, DocumentCategory, DocumentStatus, DocumentStatuses, Jurisdiction, Jurisdictions, ReportStatus, ReportStatuses, TransactionStatus, TransactionStatuses } from '@artu-ai/shared';
|
|
9
|
-
|
|
10
|
-
// src/sdk/base.ts
|
|
11
|
-
function registerBaseScope() {
|
|
12
|
-
registerScope("base", {
|
|
13
|
-
clients: (config) => new ClientsResource(config),
|
|
14
|
-
transactions: (config) => new TransactionsResource(config),
|
|
15
|
-
reports: (config) => new ReportsResource(config),
|
|
16
|
-
bankAccounts: (config) => new BankAccountsResource(config),
|
|
17
|
-
addresses: (config) => new AddressesResource(config)
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// src/sdk/index.ts
|
|
22
|
-
function initializeRegistry() {
|
|
23
|
-
registerBaseScope();
|
|
24
|
-
registerMexicoScopes();
|
|
25
|
-
}
|
|
26
|
-
initializeRegistry();
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sdk/base.ts","../src/sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;AAkCO,SAAS,iBAAA,GAA0B;AACxC,EAAA,aAAA,CAAc,MAAA,EAAQ;AAAA,IACpB,OAAA,EAAS,CAAC,MAAA,KAAW,IAAI,gBAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAI,qBAAqB,MAAM,CAAA;AAAA,IACzD,OAAA,EAAS,CAAC,MAAA,KAAW,IAAI,gBAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAI,qBAAqB,MAAM,CAAA;AAAA,IACzD,SAAA,EAAW,CAAC,MAAA,KAAW,IAAI,kBAAkB,MAAM;AAAA,GACpD,CAAA;AACH;;;AC8BO,SAAS,kBAAA,GAA2B;AACzC,EAAA,iBAAA,EAAkB;AAClB,EAAA,oBAAA,EAAqB;AACvB;AAGA,kBAAA,EAAmB","file":"index.js","sourcesContent":["/**\n * Base SDK Types & Registration\n *\n * Unscoped/default SDK types and resource factory registration.\n */\n\nimport type { ComplianceSDKOptionsBase } from \"./types\";\nimport {\n ClientsResource,\n TransactionsResource,\n ReportsResource,\n BankAccountsResource,\n AddressesResource,\n} from \"../resources\";\nimport { registerScope } from \"./resource-registry\";\n\n// ===========================\n// SDK Options\n// ===========================\n\n/**\n * Options for creating an unscoped SDK\n */\nexport interface UnscopedSDKOptions extends ComplianceSDKOptionsBase {\n jurisdiction?: undefined;\n}\n\n// ===========================\n// Registration\n// ===========================\n\n/**\n * Registers the base (unscoped) resource factories\n */\nexport function registerBaseScope(): void {\n registerScope(\"base\", {\n clients: (config) => new ClientsResource(config),\n transactions: (config) => new TransactionsResource(config),\n reports: (config) => new ReportsResource(config),\n bankAccounts: (config) => new BankAccountsResource(config),\n addresses: (config) => new AddressesResource(config),\n });\n}\n","/**\n * SDK Core Module\n *\n * Core SDK infrastructure including types, registry, and scope registrations.\n * Organized by jurisdiction with barrel exports.\n */\n\n// ===========================\n// Core Types\n// ===========================\n\nexport {\n type Environment,\n type ComplianceSDKOptionsBase,\n type SDKScope,\n type SDKScopeBase,\n type SDKScopeMexico,\n isMexicoScope,\n buildScope,\n} from \"./types\";\n\n// ===========================\n// Registry\n// ===========================\n\nexport {\n type ResourceFactory,\n type ScopeResourceFactories,\n registerScope,\n getResourceFactories,\n getScopeKey,\n hasScope,\n getRegisteredScopes,\n clearRegistry,\n} from \"./resource-registry\";\n\n// ===========================\n// Base (Unscoped)\n// ===========================\n\nexport { type UnscopedSDKOptions, registerBaseScope } from \"./base\";\n\n// ===========================\n// Mexico\n// ===========================\n\nexport {\n // Types\n type ComplianceSDKOptionsMexico,\n type MexicoSDKOptions,\n type MexicoComplianceSDK,\n type AVISDKOptions,\n type AVIComplianceSDK,\n type JYSSDKOptions,\n type JYSComplianceSDK,\n type TSCSDKOptions,\n type TSCComplianceSDK,\n // Registration\n registerMexicoScopes,\n} from \"./mex\";\n\n// ===========================\n// Initialize All Scopes\n// ===========================\n\nimport { registerBaseScope } from \"./base\";\nimport { registerMexicoScopes } from \"./mex\";\n\n/**\n * Registers all SDK scopes.\n * Called automatically when the SDK module is imported.\n */\nexport function initializeRegistry(): void {\n registerBaseScope();\n registerMexicoScopes();\n}\n\n// Auto-initialize on import\ninitializeRegistry();\n\n// ===========================\n// ComplianceSDK\n// ===========================\n\nexport {\n ComplianceSDK,\n ComplianceSDKImpl,\n type ComplianceSDKOptions,\n type ComplianceSDKConstructor,\n type UnscopedComplianceSDK,\n} from \"./ComplianceSDK\";\n"]}
|