@artu-ai/compliance-sdk 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -5
- package/src/errors/api.ts +0 -305
- package/src/errors/base.ts +0 -127
- package/src/errors/index.ts +0 -63
- package/src/errors/upload.ts +0 -204
- package/src/errors/validation.ts +0 -163
- package/src/exports/base.ts +0 -139
- package/src/exports/index.ts +0 -187
- package/src/exports/mexico/actividad-vulnerable/avi.ts +0 -207
- package/src/exports/mexico/actividad-vulnerable/jys.ts +0 -214
- package/src/exports/mexico/actividad-vulnerable/tsc.ts +0 -202
- package/src/exports/mexico/index.ts +0 -215
- package/src/models/Address.ts +0 -235
- package/src/models/BankAccount.ts +0 -235
- package/src/models/Client.ts +0 -363
- package/src/models/ContactMethod.ts +0 -197
- package/src/models/Document.ts +0 -355
- package/src/models/LinkedClient.ts +0 -84
- package/src/models/Report.ts +0 -193
- package/src/models/ReportItem.ts +0 -211
- package/src/models/Transaction.ts +0 -219
- package/src/models/base.ts +0 -56
- package/src/models/index.ts +0 -148
- package/src/models/mex/MexAddress.ts +0 -184
- package/src/models/mex/MexBankAccount.ts +0 -121
- package/src/models/mex/MexClient.ts +0 -177
- package/src/models/mex/MexDocument.ts +0 -890
- package/src/models/mex/MexReport.ts +0 -99
- package/src/models/mex/MexReportItem.ts +0 -79
- package/src/models/mex/MexTransaction.ts +0 -105
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableClient.ts +0 -66
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReport.ts +0 -73
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.ts +0 -74
- package/src/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.ts +0 -50
- package/src/models/mex/actividad-vulnerable/avi/MexAVIClient.ts +0 -80
- package/src/models/mex/actividad-vulnerable/avi/MexAVIReport.ts +0 -114
- package/src/models/mex/actividad-vulnerable/avi/MexAVIReportItem.ts +0 -105
- package/src/models/mex/actividad-vulnerable/avi/MexAVITransaction.ts +0 -157
- package/src/models/mex/actividad-vulnerable/index.ts +0 -78
- package/src/models/mex/actividad-vulnerable/jys/MexJYSClient.ts +0 -73
- package/src/models/mex/actividad-vulnerable/jys/MexJYSReport.ts +0 -114
- package/src/models/mex/actividad-vulnerable/jys/MexJYSReportItem.ts +0 -105
- package/src/models/mex/actividad-vulnerable/jys/MexJYSTransaction.ts +0 -178
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCClient.ts +0 -73
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCReport.ts +0 -114
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.ts +0 -105
- package/src/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.ts +0 -104
- package/src/models/mex/index.ts +0 -57
- package/src/models/types.ts +0 -196
- package/src/namespaces/index.ts +0 -29
- package/src/namespaces/mexico/actividad-vulnerable/avi/index.ts +0 -62
- package/src/namespaces/mexico/actividad-vulnerable/index.ts +0 -79
- package/src/namespaces/mexico/actividad-vulnerable/jys/index.ts +0 -72
- package/src/namespaces/mexico/actividad-vulnerable/tsc/index.ts +0 -60
- package/src/namespaces/mexico/index.ts +0 -325
- package/src/resources/addresses.ts +0 -391
- package/src/resources/bank-accounts.ts +0 -417
- package/src/resources/base.ts +0 -327
- package/src/resources/clients.ts +0 -808
- package/src/resources/contact-methods.ts +0 -412
- package/src/resources/documents.ts +0 -688
- package/src/resources/index.ts +0 -40
- package/src/resources/mex/actividad-vulnerable/avi/clients.ts +0 -559
- package/src/resources/mex/actividad-vulnerable/avi/index.ts +0 -7
- package/src/resources/mex/actividad-vulnerable/avi/reports.ts +0 -609
- package/src/resources/mex/actividad-vulnerable/avi/transactions.ts +0 -404
- package/src/resources/mex/actividad-vulnerable/index.ts +0 -12
- package/src/resources/mex/actividad-vulnerable/jys/clients.ts +0 -445
- package/src/resources/mex/actividad-vulnerable/jys/index.ts +0 -7
- package/src/resources/mex/actividad-vulnerable/jys/reports.ts +0 -591
- package/src/resources/mex/actividad-vulnerable/jys/transactions.ts +0 -395
- package/src/resources/mex/actividad-vulnerable/tsc/clients.ts +0 -445
- package/src/resources/mex/actividad-vulnerable/tsc/index.ts +0 -7
- package/src/resources/mex/actividad-vulnerable/tsc/reports.ts +0 -591
- package/src/resources/mex/actividad-vulnerable/tsc/transactions.ts +0 -404
- package/src/resources/mex/addresses.ts +0 -493
- package/src/resources/mex/bank-accounts.ts +0 -283
- package/src/resources/mex/clients.ts +0 -758
- package/src/resources/mex/ebr.ts +0 -621
- package/src/resources/mex/index.ts +0 -23
- package/src/resources/mex/reports.ts +0 -643
- package/src/resources/mex/transactions.ts +0 -422
- package/src/resources/reports.ts +0 -515
- package/src/resources/transactions.ts +0 -358
- package/src/sdk/ComplianceSDK.ts +0 -812
- package/src/sdk/base.ts +0 -43
- package/src/sdk/index.ts +0 -98
- package/src/sdk/mex/ComplianceSDK.ts +0 -147
- package/src/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.ts +0 -55
- package/src/sdk/mex/actividad-vulnerable/avi/index.ts +0 -16
- package/src/sdk/mex/actividad-vulnerable/avi/types.ts +0 -86
- package/src/sdk/mex/actividad-vulnerable/index.ts +0 -58
- package/src/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.ts +0 -54
- package/src/sdk/mex/actividad-vulnerable/jys/index.ts +0 -16
- package/src/sdk/mex/actividad-vulnerable/jys/types.ts +0 -86
- package/src/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.ts +0 -54
- package/src/sdk/mex/actividad-vulnerable/tsc/index.ts +0 -16
- package/src/sdk/mex/actividad-vulnerable/tsc/types.ts +0 -86
- package/src/sdk/mex/index.ts +0 -66
- package/src/sdk/mex/types.ts +0 -88
- package/src/sdk/resource-registry.ts +0 -204
- package/src/sdk/sdk-registry.ts +0 -99
- package/src/sdk/types.ts +0 -304
- package/src/utils/environment.ts +0 -187
- package/src/utils/filters.ts +0 -412
- package/src/utils/index.ts +0 -134
- package/src/utils/pagination.ts +0 -143
- package/src/utils/session.ts +0 -303
- package/src/utils/trpc-client.ts +0 -242
- package/src/utils/upload.ts +0 -388
package/src/models/mex/index.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mexico Models
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Mexico jurisdiction client
|
|
6
|
-
export { MexClient, type MexClientData, isMexClient } from "./MexClient";
|
|
7
|
-
|
|
8
|
-
// Mexico jurisdiction transaction
|
|
9
|
-
export {
|
|
10
|
-
MexTransaction,
|
|
11
|
-
type MexTransactionData,
|
|
12
|
-
isMexTransaction,
|
|
13
|
-
} from "./MexTransaction";
|
|
14
|
-
|
|
15
|
-
// Mexico bank account
|
|
16
|
-
export {
|
|
17
|
-
MexBankAccount,
|
|
18
|
-
type MexBankAccountData,
|
|
19
|
-
isMexBankAccount,
|
|
20
|
-
} from "./MexBankAccount";
|
|
21
|
-
|
|
22
|
-
// Mexico address
|
|
23
|
-
export { MexAddress, type MexAddressData, isMexAddress } from "./MexAddress";
|
|
24
|
-
|
|
25
|
-
// Mexico documents with typed field accessors
|
|
26
|
-
export {
|
|
27
|
-
MexDocument,
|
|
28
|
-
MexIneFrontDocument,
|
|
29
|
-
MexIneBackDocument,
|
|
30
|
-
MexPassportDocument,
|
|
31
|
-
MexCurpDocument,
|
|
32
|
-
MexRfcConstanciaDocument,
|
|
33
|
-
MexAddressProofDocument,
|
|
34
|
-
MexActaConstitutivaDocument,
|
|
35
|
-
MexPoderNotarialDocument,
|
|
36
|
-
// Type guards
|
|
37
|
-
isMexDocument,
|
|
38
|
-
isMexIneFront,
|
|
39
|
-
isMexIneBack,
|
|
40
|
-
isMexPassport,
|
|
41
|
-
isMexCurp,
|
|
42
|
-
isMexRfcConstancia,
|
|
43
|
-
isMexAddressProof,
|
|
44
|
-
isMexActaConstitutiva,
|
|
45
|
-
isMexPoderNotarial,
|
|
46
|
-
} from "./MexDocument";
|
|
47
|
-
|
|
48
|
-
// Mexico jurisdiction report
|
|
49
|
-
export { MexReport, type MexReportData, isMexReport } from "./MexReport";
|
|
50
|
-
export {
|
|
51
|
-
MexReportItem,
|
|
52
|
-
type MexReportItemData,
|
|
53
|
-
isMexReportItem,
|
|
54
|
-
} from "./MexReportItem";
|
|
55
|
-
|
|
56
|
-
// Activity-specific models
|
|
57
|
-
export * from "./actividad-vulnerable";
|
package/src/models/types.ts
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model Type Definitions
|
|
3
|
-
*
|
|
4
|
-
* Union types and type aliases for the model hierarchy.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import type { Address } from "./Address";
|
|
8
|
-
import type { BankAccount } from "./BankAccount";
|
|
9
|
-
import type { Client } from "./Client";
|
|
10
|
-
import type { Report } from "./Report";
|
|
11
|
-
import type { ReportItem } from "./ReportItem";
|
|
12
|
-
import type { Transaction } from "./Transaction";
|
|
13
|
-
import type { MexAddress } from "./mex/MexAddress";
|
|
14
|
-
import type { MexBankAccount } from "./mex/MexBankAccount";
|
|
15
|
-
import type { MexClient } from "./mex/MexClient";
|
|
16
|
-
import type { MexReport } from "./mex/MexReport";
|
|
17
|
-
import type { MexReportItem } from "./mex/MexReportItem";
|
|
18
|
-
import type { MexTransaction } from "./mex/MexTransaction";
|
|
19
|
-
import type {
|
|
20
|
-
MexActividadVulnerableClient,
|
|
21
|
-
MexActividadVulnerableTransaction,
|
|
22
|
-
MexActividadVulnerableReport,
|
|
23
|
-
MexActividadVulnerableReportItem,
|
|
24
|
-
MexAVIClient,
|
|
25
|
-
MexJYSClient,
|
|
26
|
-
MexTSCClient,
|
|
27
|
-
MexAVITransaction,
|
|
28
|
-
MexJYSTransaction,
|
|
29
|
-
MexTSCTransaction,
|
|
30
|
-
MexAVIReport,
|
|
31
|
-
MexJYSReport,
|
|
32
|
-
MexTSCReport,
|
|
33
|
-
MexAVIReportItem,
|
|
34
|
-
MexJYSReportItem,
|
|
35
|
-
MexTSCReportItem,
|
|
36
|
-
} from "./mex/actividad-vulnerable";
|
|
37
|
-
|
|
38
|
-
// ===========================
|
|
39
|
-
// Client Model Types
|
|
40
|
-
// ===========================
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Union of all client model types.
|
|
44
|
-
* Used for smart instantiation return type.
|
|
45
|
-
*/
|
|
46
|
-
export type ClientModel =
|
|
47
|
-
| Client
|
|
48
|
-
| MexClient
|
|
49
|
-
| MexActividadVulnerableClient
|
|
50
|
-
| MexAVIClient
|
|
51
|
-
| MexJYSClient
|
|
52
|
-
| MexTSCClient;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Union of Mexico-specific client types
|
|
56
|
-
*/
|
|
57
|
-
export type MexClientModel =
|
|
58
|
-
| MexClient
|
|
59
|
-
| MexActividadVulnerableClient
|
|
60
|
-
| MexAVIClient
|
|
61
|
-
| MexJYSClient
|
|
62
|
-
| MexTSCClient;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Union of Actividad Vulnerable client types
|
|
66
|
-
*/
|
|
67
|
-
export type ActividadVulnerableClientModel =
|
|
68
|
-
| MexActividadVulnerableClient
|
|
69
|
-
| MexAVIClient
|
|
70
|
-
| MexJYSClient
|
|
71
|
-
| MexTSCClient;
|
|
72
|
-
|
|
73
|
-
// ===========================
|
|
74
|
-
// Transaction Model Types
|
|
75
|
-
// ===========================
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Union of all transaction model types.
|
|
79
|
-
* Used for smart instantiation return type.
|
|
80
|
-
*/
|
|
81
|
-
export type TransactionModel =
|
|
82
|
-
| Transaction
|
|
83
|
-
| MexTransaction
|
|
84
|
-
| MexActividadVulnerableTransaction
|
|
85
|
-
| MexAVITransaction
|
|
86
|
-
| MexJYSTransaction
|
|
87
|
-
| MexTSCTransaction;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Union of Mexico-specific transaction types
|
|
91
|
-
*/
|
|
92
|
-
export type MexTransactionModel =
|
|
93
|
-
| MexTransaction
|
|
94
|
-
| MexActividadVulnerableTransaction
|
|
95
|
-
| MexAVITransaction
|
|
96
|
-
| MexJYSTransaction
|
|
97
|
-
| MexTSCTransaction;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Union of Actividad Vulnerable transaction types
|
|
101
|
-
*/
|
|
102
|
-
export type ActividadVulnerableTransactionModel =
|
|
103
|
-
| MexActividadVulnerableTransaction
|
|
104
|
-
| MexAVITransaction
|
|
105
|
-
| MexJYSTransaction
|
|
106
|
-
| MexTSCTransaction;
|
|
107
|
-
|
|
108
|
-
// ===========================
|
|
109
|
-
// Address Model Types
|
|
110
|
-
// ===========================
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Union of all address model types.
|
|
114
|
-
* Used for smart instantiation return type.
|
|
115
|
-
*/
|
|
116
|
-
export type AddressModel = Address | MexAddress;
|
|
117
|
-
|
|
118
|
-
// ===========================
|
|
119
|
-
// Bank Account Model Types
|
|
120
|
-
// ===========================
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Union of all bank account model types.
|
|
124
|
-
* Used for smart instantiation return type.
|
|
125
|
-
*/
|
|
126
|
-
export type BankAccountModel = BankAccount | MexBankAccount;
|
|
127
|
-
|
|
128
|
-
// ===========================
|
|
129
|
-
// Report Model Types
|
|
130
|
-
// ===========================
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Union of all report model types.
|
|
134
|
-
* Used for smart instantiation return type.
|
|
135
|
-
*/
|
|
136
|
-
export type ReportModel =
|
|
137
|
-
| Report
|
|
138
|
-
| MexReport
|
|
139
|
-
| MexActividadVulnerableReport
|
|
140
|
-
| MexAVIReport
|
|
141
|
-
| MexJYSReport
|
|
142
|
-
| MexTSCReport;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Union of Mexico-specific report types
|
|
146
|
-
*/
|
|
147
|
-
export type MexReportModel =
|
|
148
|
-
| MexReport
|
|
149
|
-
| MexActividadVulnerableReport
|
|
150
|
-
| MexAVIReport
|
|
151
|
-
| MexJYSReport
|
|
152
|
-
| MexTSCReport;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Union of Actividad Vulnerable report types
|
|
156
|
-
*/
|
|
157
|
-
export type ActividadVulnerableReportModel =
|
|
158
|
-
| MexActividadVulnerableReport
|
|
159
|
-
| MexAVIReport
|
|
160
|
-
| MexJYSReport
|
|
161
|
-
| MexTSCReport;
|
|
162
|
-
|
|
163
|
-
// ===========================
|
|
164
|
-
// Report Item Model Types
|
|
165
|
-
// ===========================
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Union of all report item model types.
|
|
169
|
-
* Used for smart instantiation return type.
|
|
170
|
-
*/
|
|
171
|
-
export type ReportItemModel =
|
|
172
|
-
| ReportItem
|
|
173
|
-
| MexReportItem
|
|
174
|
-
| MexActividadVulnerableReportItem
|
|
175
|
-
| MexAVIReportItem
|
|
176
|
-
| MexJYSReportItem
|
|
177
|
-
| MexTSCReportItem;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Union of Mexico-specific report item types
|
|
181
|
-
*/
|
|
182
|
-
export type MexReportItemModel =
|
|
183
|
-
| MexReportItem
|
|
184
|
-
| MexActividadVulnerableReportItem
|
|
185
|
-
| MexAVIReportItem
|
|
186
|
-
| MexJYSReportItem
|
|
187
|
-
| MexTSCReportItem;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Union of Actividad Vulnerable report item types
|
|
191
|
-
*/
|
|
192
|
-
export type ActividadVulnerableReportItemModel =
|
|
193
|
-
| MexActividadVulnerableReportItem
|
|
194
|
-
| MexAVIReportItem
|
|
195
|
-
| MexJYSReportItem
|
|
196
|
-
| MexTSCReportItem;
|
package/src/namespaces/index.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace exports
|
|
3
|
-
*
|
|
4
|
-
* Jurisdiction-based namespaces containing all related functionality.
|
|
5
|
-
* This keeps the SDK organized as it grows to support more jurisdictions.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { Mexico } from "@artu/compliance-sdk";
|
|
10
|
-
*
|
|
11
|
-
* // All Mexico functionality under one namespace
|
|
12
|
-
* Mexico.Enums.ActividadEconomica
|
|
13
|
-
* Mexico.Validators.Rfc.validate(...)
|
|
14
|
-
* Mexico.Models.Client
|
|
15
|
-
* Mexico.Resources.Clients
|
|
16
|
-
* Mexico.TypeGuards.isClient(...)
|
|
17
|
-
*
|
|
18
|
-
* // Actividad Vulnerable (nested)
|
|
19
|
-
* Mexico.ActividadVulnerable.Enums.CodigoActividad
|
|
20
|
-
* Mexico.ActividadVulnerable.AVI.Models.Client
|
|
21
|
-
* Mexico.AVI.Enums.TipoOperacion.Buy // shortcut
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
// Jurisdiction namespaces
|
|
26
|
-
export { Mexico, ActividadVulnerable, AVI, JYS, TSC } from "./mexico";
|
|
27
|
-
|
|
28
|
-
// Future: export { US } from "./us";
|
|
29
|
-
// Future: export { EU } from "./eu";
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AVI (Activos Virtuales) namespace
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { avi } from "@artu-ai/shared";
|
|
6
|
-
import {
|
|
7
|
-
MexAVIClient,
|
|
8
|
-
MexAVITransaction,
|
|
9
|
-
MexAVIReport,
|
|
10
|
-
MexAVIReportItem,
|
|
11
|
-
isMexAVIClient,
|
|
12
|
-
isMexAVITransaction,
|
|
13
|
-
isMexAVIReport,
|
|
14
|
-
isMexAVIReportItem,
|
|
15
|
-
} from "../../../../models";
|
|
16
|
-
import {
|
|
17
|
-
AVIClientsResource,
|
|
18
|
-
AVITransactionsResource,
|
|
19
|
-
AVIReportsResource,
|
|
20
|
-
} from "../../../../resources";
|
|
21
|
-
|
|
22
|
-
export const Enums = {
|
|
23
|
-
// Enum values
|
|
24
|
-
TipoOperacion: avi.TipoOperacion,
|
|
25
|
-
TipoAlerta: avi.TipoAlerta,
|
|
26
|
-
InstrumentoMonetario: avi.InstrumentoMonetario,
|
|
27
|
-
ActivoVirtual: avi.ActivoVirtual,
|
|
28
|
-
// Enum utilities (with .enum, .map, .codes, .options, .schema())
|
|
29
|
-
TiposOperacion: avi.TiposOperacion,
|
|
30
|
-
TiposAlerta: avi.TiposAlerta,
|
|
31
|
-
InstrumentosMonetarios: avi.InstrumentosMonetarios,
|
|
32
|
-
ActivosVirtuales: avi.ActivosVirtuales,
|
|
33
|
-
} as const;
|
|
34
|
-
|
|
35
|
-
export const Models = {
|
|
36
|
-
Client: MexAVIClient,
|
|
37
|
-
Transaction: MexAVITransaction,
|
|
38
|
-
Report: MexAVIReport,
|
|
39
|
-
ReportItem: MexAVIReportItem,
|
|
40
|
-
} as const;
|
|
41
|
-
|
|
42
|
-
export const Resources = {
|
|
43
|
-
Clients: AVIClientsResource,
|
|
44
|
-
Transactions: AVITransactionsResource,
|
|
45
|
-
Reports: AVIReportsResource,
|
|
46
|
-
} as const;
|
|
47
|
-
|
|
48
|
-
export const TypeGuards = {
|
|
49
|
-
isClient: isMexAVIClient,
|
|
50
|
-
isTransaction: isMexAVITransaction,
|
|
51
|
-
isReport: isMexAVIReport,
|
|
52
|
-
isReportItem: isMexAVIReportItem,
|
|
53
|
-
} as const;
|
|
54
|
-
|
|
55
|
-
export const AVI = {
|
|
56
|
-
Enums,
|
|
57
|
-
Models,
|
|
58
|
-
Resources,
|
|
59
|
-
TypeGuards,
|
|
60
|
-
} as const;
|
|
61
|
-
|
|
62
|
-
export default AVI;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Actividad Vulnerable namespace
|
|
3
|
-
*
|
|
4
|
-
* Mexican AML compliance activities (Ley Federal para la Prevención e
|
|
5
|
-
* Identificación de Operaciones con Recursos de Procedencia Ilícita).
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
CodigoActividad,
|
|
10
|
-
CodigosActividad,
|
|
11
|
-
Moneda,
|
|
12
|
-
Monedas,
|
|
13
|
-
TipoIdentificacion,
|
|
14
|
-
TiposIdentificacion,
|
|
15
|
-
Prioridad,
|
|
16
|
-
Prioridades,
|
|
17
|
-
} from "@artu-ai/shared";
|
|
18
|
-
import {
|
|
19
|
-
MexActividadVulnerableClient,
|
|
20
|
-
MexActividadVulnerableTransaction,
|
|
21
|
-
MexActividadVulnerableReport,
|
|
22
|
-
MexActividadVulnerableReportItem,
|
|
23
|
-
isActividadVulnerable,
|
|
24
|
-
isActividadVulnerableTransaction,
|
|
25
|
-
isActividadVulnerableReport,
|
|
26
|
-
isActividadVulnerableReportItem,
|
|
27
|
-
} from "../../../models";
|
|
28
|
-
|
|
29
|
-
// Activity-specific namespaces
|
|
30
|
-
import { AVI } from "./avi";
|
|
31
|
-
import { JYS } from "./jys";
|
|
32
|
-
import { TSC } from "./tsc";
|
|
33
|
-
|
|
34
|
-
// Re-export activity namespaces
|
|
35
|
-
export { AVI } from "./avi";
|
|
36
|
-
export { JYS } from "./jys";
|
|
37
|
-
export { TSC } from "./tsc";
|
|
38
|
-
|
|
39
|
-
/** Base Actividad Vulnerable enums (shared across activities) */
|
|
40
|
-
export const Enums = {
|
|
41
|
-
// Enum values
|
|
42
|
-
CodigoActividad,
|
|
43
|
-
Moneda,
|
|
44
|
-
TipoIdentificacion,
|
|
45
|
-
Prioridad,
|
|
46
|
-
// Enum utilities (with .enum, .map, .codes, .options, .schema())
|
|
47
|
-
CodigosActividad,
|
|
48
|
-
Monedas,
|
|
49
|
-
TiposIdentificacion,
|
|
50
|
-
Prioridades,
|
|
51
|
-
} as const;
|
|
52
|
-
|
|
53
|
-
/** Base Actividad Vulnerable models */
|
|
54
|
-
export const Models = {
|
|
55
|
-
Client: MexActividadVulnerableClient,
|
|
56
|
-
Transaction: MexActividadVulnerableTransaction,
|
|
57
|
-
Report: MexActividadVulnerableReport,
|
|
58
|
-
ReportItem: MexActividadVulnerableReportItem,
|
|
59
|
-
} as const;
|
|
60
|
-
|
|
61
|
-
/** Base Actividad Vulnerable type guards */
|
|
62
|
-
export const TypeGuards = {
|
|
63
|
-
isClient: isActividadVulnerable,
|
|
64
|
-
isTransaction: isActividadVulnerableTransaction,
|
|
65
|
-
isReport: isActividadVulnerableReport,
|
|
66
|
-
isReportItem: isActividadVulnerableReportItem,
|
|
67
|
-
} as const;
|
|
68
|
-
|
|
69
|
-
/** Actividad Vulnerable namespace */
|
|
70
|
-
export const ActividadVulnerable = {
|
|
71
|
-
Enums,
|
|
72
|
-
Models,
|
|
73
|
-
TypeGuards,
|
|
74
|
-
AVI,
|
|
75
|
-
JYS,
|
|
76
|
-
TSC,
|
|
77
|
-
} as const;
|
|
78
|
-
|
|
79
|
-
export default ActividadVulnerable;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JYS (Juegos y Sorteos) namespace
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { jys } from "@artu-ai/shared";
|
|
6
|
-
import {
|
|
7
|
-
MexJYSClient,
|
|
8
|
-
MexJYSTransaction,
|
|
9
|
-
MexJYSReport,
|
|
10
|
-
MexJYSReportItem,
|
|
11
|
-
isMexJYSClient,
|
|
12
|
-
isMexJYSTransaction,
|
|
13
|
-
isMexJYSReport,
|
|
14
|
-
isMexJYSReportItem,
|
|
15
|
-
} from "../../../../models";
|
|
16
|
-
import {
|
|
17
|
-
JYSClientsResource,
|
|
18
|
-
JYSTransactionsResource,
|
|
19
|
-
JYSReportsResource,
|
|
20
|
-
} from "../../../../resources";
|
|
21
|
-
|
|
22
|
-
export const Enums = {
|
|
23
|
-
// Enum values
|
|
24
|
-
TipoOperacion: jys.TipoOperacion,
|
|
25
|
-
TipoAlerta: jys.TipoAlerta,
|
|
26
|
-
InstrumentoMonetario: jys.InstrumentoMonetario,
|
|
27
|
-
LineaNegocio: jys.LineaNegocio,
|
|
28
|
-
MedioOperacion: jys.MedioOperacion,
|
|
29
|
-
TipoBien: jys.TipoBien,
|
|
30
|
-
TipoInmueble: jys.TipoInmueble,
|
|
31
|
-
TipoLiquidacion: jys.TipoLiquidacion,
|
|
32
|
-
TipoSucursal: jys.TipoSucursal,
|
|
33
|
-
// Enum utilities (with .enum, .map, .codes, .options, .schema())
|
|
34
|
-
TiposOperacion: jys.TiposOperacion,
|
|
35
|
-
TiposAlerta: jys.TiposAlerta,
|
|
36
|
-
InstrumentosMonetarios: jys.InstrumentosMonetarios,
|
|
37
|
-
LineasNegocio: jys.LineasNegocio,
|
|
38
|
-
MediosOperacion: jys.MediosOperacion,
|
|
39
|
-
TiposBien: jys.TiposBien,
|
|
40
|
-
TiposInmueble: jys.TiposInmueble,
|
|
41
|
-
TiposLiquidacion: jys.TiposLiquidacion,
|
|
42
|
-
TiposSucursal: jys.TiposSucursal,
|
|
43
|
-
} as const;
|
|
44
|
-
|
|
45
|
-
export const Models = {
|
|
46
|
-
Client: MexJYSClient,
|
|
47
|
-
Transaction: MexJYSTransaction,
|
|
48
|
-
Report: MexJYSReport,
|
|
49
|
-
ReportItem: MexJYSReportItem,
|
|
50
|
-
} as const;
|
|
51
|
-
|
|
52
|
-
export const Resources = {
|
|
53
|
-
Clients: JYSClientsResource,
|
|
54
|
-
Transactions: JYSTransactionsResource,
|
|
55
|
-
Reports: JYSReportsResource,
|
|
56
|
-
} as const;
|
|
57
|
-
|
|
58
|
-
export const TypeGuards = {
|
|
59
|
-
isClient: isMexJYSClient,
|
|
60
|
-
isTransaction: isMexJYSTransaction,
|
|
61
|
-
isReport: isMexJYSReport,
|
|
62
|
-
isReportItem: isMexJYSReportItem,
|
|
63
|
-
} as const;
|
|
64
|
-
|
|
65
|
-
export const JYS = {
|
|
66
|
-
Enums,
|
|
67
|
-
Models,
|
|
68
|
-
Resources,
|
|
69
|
-
TypeGuards,
|
|
70
|
-
} as const;
|
|
71
|
-
|
|
72
|
-
export default JYS;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TSC (Tarjetas de Servicio y Crédito) namespace
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { tsc } from "@artu-ai/shared";
|
|
6
|
-
import {
|
|
7
|
-
MexTSCClient,
|
|
8
|
-
MexTSCTransaction,
|
|
9
|
-
MexTSCReport,
|
|
10
|
-
MexTSCReportItem,
|
|
11
|
-
isMexTSCClient,
|
|
12
|
-
isMexTSCTransaction,
|
|
13
|
-
isMexTSCReport,
|
|
14
|
-
isMexTSCReportItem,
|
|
15
|
-
} from "../../../../models";
|
|
16
|
-
import {
|
|
17
|
-
TSCClientsResource,
|
|
18
|
-
TSCTransactionsResource,
|
|
19
|
-
TSCReportsResource,
|
|
20
|
-
} from "../../../../resources";
|
|
21
|
-
|
|
22
|
-
export const Enums = {
|
|
23
|
-
// Enum values
|
|
24
|
-
TipoOperacion: tsc.TipoOperacion,
|
|
25
|
-
TipoAlerta: tsc.TipoAlerta,
|
|
26
|
-
TipoTarjeta: tsc.TipoTarjeta,
|
|
27
|
-
// Enum utilities (with .enum, .map, .codes, .options, .schema())
|
|
28
|
-
TiposOperacion: tsc.TiposOperacion,
|
|
29
|
-
TiposAlerta: tsc.TiposAlerta,
|
|
30
|
-
TiposTarjeta: tsc.TiposTarjeta,
|
|
31
|
-
} as const;
|
|
32
|
-
|
|
33
|
-
export const Models = {
|
|
34
|
-
Client: MexTSCClient,
|
|
35
|
-
Transaction: MexTSCTransaction,
|
|
36
|
-
Report: MexTSCReport,
|
|
37
|
-
ReportItem: MexTSCReportItem,
|
|
38
|
-
} as const;
|
|
39
|
-
|
|
40
|
-
export const Resources = {
|
|
41
|
-
Clients: TSCClientsResource,
|
|
42
|
-
Transactions: TSCTransactionsResource,
|
|
43
|
-
Reports: TSCReportsResource,
|
|
44
|
-
} as const;
|
|
45
|
-
|
|
46
|
-
export const TypeGuards = {
|
|
47
|
-
isClient: isMexTSCClient,
|
|
48
|
-
isTransaction: isMexTSCTransaction,
|
|
49
|
-
isReport: isMexTSCReport,
|
|
50
|
-
isReportItem: isMexTSCReportItem,
|
|
51
|
-
} as const;
|
|
52
|
-
|
|
53
|
-
export const TSC = {
|
|
54
|
-
Enums,
|
|
55
|
-
Models,
|
|
56
|
-
Resources,
|
|
57
|
-
TypeGuards,
|
|
58
|
-
} as const;
|
|
59
|
-
|
|
60
|
-
export default TSC;
|