@artu-ai/compliance-sdk 0.4.1 → 0.4.3

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 (110) hide show
  1. package/package.json +3 -4
  2. package/src/errors/api.ts +0 -305
  3. package/src/errors/base.ts +0 -127
  4. package/src/errors/index.ts +0 -63
  5. package/src/errors/upload.ts +0 -204
  6. package/src/errors/validation.ts +0 -163
  7. package/src/exports/base.ts +0 -139
  8. package/src/exports/index.ts +0 -187
  9. package/src/exports/mexico/actividad-vulnerable/avi.ts +0 -207
  10. package/src/exports/mexico/actividad-vulnerable/jys.ts +0 -214
  11. package/src/exports/mexico/actividad-vulnerable/tsc.ts +0 -202
  12. package/src/exports/mexico/index.ts +0 -215
  13. package/src/models/Address.ts +0 -235
  14. package/src/models/BankAccount.ts +0 -235
  15. package/src/models/Client.ts +0 -363
  16. package/src/models/ContactMethod.ts +0 -197
  17. package/src/models/Document.ts +0 -355
  18. package/src/models/LinkedClient.ts +0 -84
  19. package/src/models/Report.ts +0 -193
  20. package/src/models/ReportItem.ts +0 -211
  21. package/src/models/Transaction.ts +0 -219
  22. package/src/models/base.ts +0 -56
  23. package/src/models/index.ts +0 -148
  24. package/src/models/mex/MexAddress.ts +0 -184
  25. package/src/models/mex/MexBankAccount.ts +0 -121
  26. package/src/models/mex/MexClient.ts +0 -177
  27. package/src/models/mex/MexDocument.ts +0 -890
  28. package/src/models/mex/MexReport.ts +0 -99
  29. package/src/models/mex/MexReportItem.ts +0 -79
  30. package/src/models/mex/MexTransaction.ts +0 -105
  31. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableClient.ts +0 -66
  32. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReport.ts +0 -73
  33. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.ts +0 -74
  34. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableTransaction.ts +0 -50
  35. package/src/models/mex/actividad-vulnerable/avi/MexAVIClient.ts +0 -80
  36. package/src/models/mex/actividad-vulnerable/avi/MexAVIReport.ts +0 -114
  37. package/src/models/mex/actividad-vulnerable/avi/MexAVIReportItem.ts +0 -105
  38. package/src/models/mex/actividad-vulnerable/avi/MexAVITransaction.ts +0 -157
  39. package/src/models/mex/actividad-vulnerable/index.ts +0 -78
  40. package/src/models/mex/actividad-vulnerable/jys/MexJYSClient.ts +0 -73
  41. package/src/models/mex/actividad-vulnerable/jys/MexJYSReport.ts +0 -114
  42. package/src/models/mex/actividad-vulnerable/jys/MexJYSReportItem.ts +0 -105
  43. package/src/models/mex/actividad-vulnerable/jys/MexJYSTransaction.ts +0 -178
  44. package/src/models/mex/actividad-vulnerable/tsc/MexTSCClient.ts +0 -73
  45. package/src/models/mex/actividad-vulnerable/tsc/MexTSCReport.ts +0 -114
  46. package/src/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.ts +0 -105
  47. package/src/models/mex/actividad-vulnerable/tsc/MexTSCTransaction.ts +0 -104
  48. package/src/models/mex/index.ts +0 -57
  49. package/src/models/types.ts +0 -196
  50. package/src/namespaces/index.ts +0 -29
  51. package/src/namespaces/mexico/actividad-vulnerable/avi/index.ts +0 -62
  52. package/src/namespaces/mexico/actividad-vulnerable/index.ts +0 -79
  53. package/src/namespaces/mexico/actividad-vulnerable/jys/index.ts +0 -72
  54. package/src/namespaces/mexico/actividad-vulnerable/tsc/index.ts +0 -60
  55. package/src/namespaces/mexico/index.ts +0 -325
  56. package/src/resources/addresses.ts +0 -391
  57. package/src/resources/bank-accounts.ts +0 -417
  58. package/src/resources/base.ts +0 -327
  59. package/src/resources/clients.ts +0 -808
  60. package/src/resources/contact-methods.ts +0 -412
  61. package/src/resources/documents.ts +0 -688
  62. package/src/resources/index.ts +0 -40
  63. package/src/resources/mex/actividad-vulnerable/avi/clients.ts +0 -559
  64. package/src/resources/mex/actividad-vulnerable/avi/index.ts +0 -7
  65. package/src/resources/mex/actividad-vulnerable/avi/reports.ts +0 -609
  66. package/src/resources/mex/actividad-vulnerable/avi/transactions.ts +0 -404
  67. package/src/resources/mex/actividad-vulnerable/index.ts +0 -12
  68. package/src/resources/mex/actividad-vulnerable/jys/clients.ts +0 -445
  69. package/src/resources/mex/actividad-vulnerable/jys/index.ts +0 -7
  70. package/src/resources/mex/actividad-vulnerable/jys/reports.ts +0 -591
  71. package/src/resources/mex/actividad-vulnerable/jys/transactions.ts +0 -395
  72. package/src/resources/mex/actividad-vulnerable/tsc/clients.ts +0 -445
  73. package/src/resources/mex/actividad-vulnerable/tsc/index.ts +0 -7
  74. package/src/resources/mex/actividad-vulnerable/tsc/reports.ts +0 -591
  75. package/src/resources/mex/actividad-vulnerable/tsc/transactions.ts +0 -404
  76. package/src/resources/mex/addresses.ts +0 -493
  77. package/src/resources/mex/bank-accounts.ts +0 -283
  78. package/src/resources/mex/clients.ts +0 -758
  79. package/src/resources/mex/ebr.ts +0 -621
  80. package/src/resources/mex/index.ts +0 -23
  81. package/src/resources/mex/reports.ts +0 -643
  82. package/src/resources/mex/transactions.ts +0 -422
  83. package/src/resources/reports.ts +0 -515
  84. package/src/resources/transactions.ts +0 -358
  85. package/src/sdk/ComplianceSDK.ts +0 -812
  86. package/src/sdk/base.ts +0 -43
  87. package/src/sdk/index.ts +0 -98
  88. package/src/sdk/mex/ComplianceSDK.ts +0 -147
  89. package/src/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.ts +0 -55
  90. package/src/sdk/mex/actividad-vulnerable/avi/index.ts +0 -16
  91. package/src/sdk/mex/actividad-vulnerable/avi/types.ts +0 -86
  92. package/src/sdk/mex/actividad-vulnerable/index.ts +0 -58
  93. package/src/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.ts +0 -54
  94. package/src/sdk/mex/actividad-vulnerable/jys/index.ts +0 -16
  95. package/src/sdk/mex/actividad-vulnerable/jys/types.ts +0 -86
  96. package/src/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.ts +0 -54
  97. package/src/sdk/mex/actividad-vulnerable/tsc/index.ts +0 -16
  98. package/src/sdk/mex/actividad-vulnerable/tsc/types.ts +0 -86
  99. package/src/sdk/mex/index.ts +0 -66
  100. package/src/sdk/mex/types.ts +0 -88
  101. package/src/sdk/resource-registry.ts +0 -204
  102. package/src/sdk/sdk-registry.ts +0 -99
  103. package/src/sdk/types.ts +0 -304
  104. package/src/utils/environment.ts +0 -187
  105. package/src/utils/filters.ts +0 -412
  106. package/src/utils/index.ts +0 -134
  107. package/src/utils/pagination.ts +0 -143
  108. package/src/utils/session.ts +0 -303
  109. package/src/utils/trpc-client.ts +0 -242
  110. package/src/utils/upload.ts +0 -388
@@ -1,207 +0,0 @@
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";
@@ -1,214 +0,0 @@
1
- /**
2
- * @artu/compliance-sdk/mexico/actividad-vulnerable/jys
3
- *
4
- * JYS (Juegos y Sorteos) scoped SDK entry point.
5
- * Import from here for gaming and lottery 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/jys";
17
- *
18
- * const sdk = new ComplianceSDK({
19
- * apiKey: process.env.COMPLIANCE_API_KEY!,
20
- * jurisdiction: "MX",
21
- * actividadVulnerable: "JYS",
22
- * });
23
- *
24
- * // JYS-specific enums (flat, no nesting)
25
- * Enums.TipoOperacion.TicketSale
26
- * Enums.TipoBien.Inmueble
27
- * ```
28
- */
29
-
30
- import {
31
- jys,
32
- CodigoActividad,
33
- CodigosActividad,
34
- Moneda,
35
- Monedas,
36
- TipoIdentificacion,
37
- TiposIdentificacion,
38
- Prioridad,
39
- Prioridades,
40
- Rfc,
41
- Curp,
42
- Clabe,
43
- } from "@artu-ai/shared";
44
-
45
- import {
46
- MexJYSClient,
47
- MexJYSTransaction,
48
- MexJYSReport,
49
- MexJYSReportItem,
50
- isMexJYSClient,
51
- isMexJYSTransaction,
52
- isMexJYSReport,
53
- isMexJYSReportItem,
54
- MexBankAccount,
55
- type MexBankAccountData,
56
- } from "../../../models";
57
-
58
- import {
59
- JYSClientsResource,
60
- JYSTransactionsResource,
61
- JYSReportsResource,
62
- MexBankAccountsResource,
63
- } from "../../../resources";
64
-
65
- // ===========================
66
- // SDK
67
- // ===========================
68
-
69
- import {
70
- JYSComplianceSDKScoped,
71
- type JYSScopedSDKOptions,
72
- } from "../../../sdk/mex/actividad-vulnerable/jys";
73
-
74
- /** Options for JYS-scoped SDK */
75
- export type ComplianceSDKOptions = JYSScopedSDKOptions;
76
-
77
- /** JYS-scoped ComplianceSDK - re-exported from sdk */
78
- export { JYSComplianceSDKScoped as ComplianceSDK };
79
-
80
- // ===========================
81
- // Enums (flat - JYS specific + Actividad Vulnerable base)
82
- // ===========================
83
-
84
- export const Enums = {
85
- // JYS-specific enum values
86
- TipoOperacion: jys.TipoOperacion,
87
- TipoAlerta: jys.TipoAlerta,
88
- InstrumentoMonetario: jys.InstrumentoMonetario,
89
- LineaNegocio: jys.LineaNegocio,
90
- MedioOperacion: jys.MedioOperacion,
91
- TipoBien: jys.TipoBien,
92
- TipoInmueble: jys.TipoInmueble,
93
- TipoLiquidacion: jys.TipoLiquidacion,
94
- TipoSucursal: jys.TipoSucursal,
95
- // JYS-specific enum utilities
96
- TiposOperacion: jys.TiposOperacion,
97
- TiposAlerta: jys.TiposAlerta,
98
- InstrumentosMonetarios: jys.InstrumentosMonetarios,
99
- LineasNegocio: jys.LineasNegocio,
100
- MediosOperacion: jys.MediosOperacion,
101
- TiposBien: jys.TiposBien,
102
- TiposInmueble: jys.TiposInmueble,
103
- TiposLiquidacion: jys.TiposLiquidacion,
104
- TiposSucursal: jys.TiposSucursal,
105
- // Actividad Vulnerable base enum values
106
- CodigoActividad,
107
- Moneda,
108
- TipoIdentificacion,
109
- Prioridad,
110
- // Actividad Vulnerable base enum utilities
111
- CodigosActividad,
112
- Monedas,
113
- TiposIdentificacion,
114
- Prioridades,
115
- } as const;
116
-
117
- // ===========================
118
- // Validators
119
- // ===========================
120
-
121
- export const Validators = {
122
- Rfc,
123
- Curp,
124
- Clabe,
125
- } as const;
126
-
127
- // ===========================
128
- // Models (flat)
129
- // ===========================
130
-
131
- export const Models = {
132
- Client: MexJYSClient,
133
- Transaction: MexJYSTransaction,
134
- Report: MexJYSReport,
135
- ReportItem: MexJYSReportItem,
136
- BankAccount: MexBankAccount,
137
- } as const;
138
-
139
- export {
140
- MexJYSClient as Client,
141
- MexJYSTransaction as Transaction,
142
- MexJYSReport as Report,
143
- MexJYSReportItem as ReportItem,
144
- MexBankAccount as BankAccount,
145
- type MexBankAccountData as BankAccountData,
146
- };
147
-
148
- // ===========================
149
- // Resources (scoped + base for non-scoped)
150
- // ===========================
151
-
152
- export const Resources = {
153
- Clients: JYSClientsResource,
154
- Transactions: JYSTransactionsResource,
155
- Reports: JYSReportsResource,
156
- BankAccounts: MexBankAccountsResource,
157
- } as const;
158
-
159
- export {
160
- JYSClientsResource as ClientsResource,
161
- JYSTransactionsResource as TransactionsResource,
162
- JYSReportsResource as ReportsResource,
163
- MexBankAccountsResource as BankAccountsResource,
164
- };
165
-
166
- // ===========================
167
- // TypeGuards (flat)
168
- // ===========================
169
-
170
- export const TypeGuards = {
171
- isClient: isMexJYSClient,
172
- isTransaction: isMexJYSTransaction,
173
- isReport: isMexJYSReport,
174
- isReportItem: isMexJYSReportItem,
175
- } as const;
176
-
177
- export {
178
- isMexJYSClient as isClient,
179
- isMexJYSTransaction as isTransaction,
180
- isMexJYSReport as isReport,
181
- isMexJYSReportItem as isReportItem,
182
- };
183
-
184
- // ===========================
185
- // Scoped Types (JYS) - aliased for convenience
186
- // ===========================
187
-
188
- export type {
189
- // Client types
190
- CreateJYSClientInput as CreateClientInput,
191
- UpdateJYSClientInput as UpdateClientInput,
192
- // Transaction types
193
- CreateJYSTransactionInput as CreateTransactionInput,
194
- UpdateJYSTransactionInput as UpdateTransactionInput,
195
- // Report types
196
- CreateJYSReportInput as CreateReportInput,
197
- UpdateJYSReportInput as UpdateReportInput,
198
- CreateJYSReportItemInput as CreateReportItemInput,
199
- UpdateJYSReportItemInput as UpdateReportItemInput,
200
- ReportValidationError,
201
- ValidationSummary,
202
- ValidationResult,
203
- GenerateResult,
204
- SubmissionResult,
205
- // Bank account types (uses Mexico scope)
206
- CreateMexBankAccountInput as CreateBankAccountInput,
207
- UpdateMexBankAccountInput as UpdateBankAccountInput,
208
- } from "@artu-ai/shared";
209
-
210
- // ===========================
211
- // Base Exports (errors, utilities, base models/resources)
212
- // ===========================
213
-
214
- export * from "../../base";
@@ -1,202 +0,0 @@
1
- /**
2
- * @artu/compliance-sdk/mexico/actividad-vulnerable/tsc
3
- *
4
- * TSC (Tarjetas de Servicio y Crédito) scoped SDK entry point.
5
- * Import from here for service and credit card 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/tsc";
17
- *
18
- * const sdk = new ComplianceSDK({
19
- * apiKey: process.env.COMPLIANCE_API_KEY!,
20
- * jurisdiction: "MX",
21
- * actividadVulnerable: "TSC",
22
- * });
23
- *
24
- * // TSC-specific enums (flat, no nesting)
25
- * Enums.TipoOperacion.CardConsumption
26
- * Enums.TipoTarjeta.Credito
27
- * ```
28
- */
29
-
30
- import {
31
- tsc,
32
- CodigoActividad,
33
- CodigosActividad,
34
- Moneda,
35
- Monedas,
36
- TipoIdentificacion,
37
- TiposIdentificacion,
38
- Prioridad,
39
- Prioridades,
40
- Rfc,
41
- Curp,
42
- Clabe,
43
- } from "@artu-ai/shared";
44
-
45
- import {
46
- MexTSCClient,
47
- MexTSCTransaction,
48
- MexTSCReport,
49
- MexTSCReportItem,
50
- isMexTSCClient,
51
- isMexTSCTransaction,
52
- isMexTSCReport,
53
- isMexTSCReportItem,
54
- MexBankAccount,
55
- type MexBankAccountData,
56
- } from "../../../models";
57
-
58
- import {
59
- TSCClientsResource,
60
- TSCTransactionsResource,
61
- TSCReportsResource,
62
- MexBankAccountsResource,
63
- } from "../../../resources";
64
-
65
- // ===========================
66
- // SDK
67
- // ===========================
68
-
69
- import {
70
- TSCComplianceSDKScoped,
71
- type TSCScopedSDKOptions,
72
- } from "../../../sdk/mex/actividad-vulnerable/tsc";
73
-
74
- /** Options for TSC-scoped SDK */
75
- export type ComplianceSDKOptions = TSCScopedSDKOptions;
76
-
77
- /** TSC-scoped ComplianceSDK - re-exported from sdk */
78
- export { TSCComplianceSDKScoped as ComplianceSDK };
79
-
80
- // ===========================
81
- // Enums (flat - TSC specific + Actividad Vulnerable base)
82
- // ===========================
83
-
84
- export const Enums = {
85
- // TSC-specific enum values
86
- TipoOperacion: tsc.TipoOperacion,
87
- TipoAlerta: tsc.TipoAlerta,
88
- TipoTarjeta: tsc.TipoTarjeta,
89
- // TSC-specific enum utilities
90
- TiposOperacion: tsc.TiposOperacion,
91
- TiposAlerta: tsc.TiposAlerta,
92
- TiposTarjeta: tsc.TiposTarjeta,
93
- // Actividad Vulnerable base enum values
94
- CodigoActividad,
95
- Moneda,
96
- TipoIdentificacion,
97
- Prioridad,
98
- // Actividad Vulnerable base enum utilities
99
- CodigosActividad,
100
- Monedas,
101
- TiposIdentificacion,
102
- Prioridades,
103
- } as const;
104
-
105
- // ===========================
106
- // Validators
107
- // ===========================
108
-
109
- export const Validators = {
110
- Rfc,
111
- Curp,
112
- Clabe,
113
- } as const;
114
-
115
- // ===========================
116
- // Models (flat)
117
- // ===========================
118
-
119
- export const Models = {
120
- Client: MexTSCClient,
121
- Transaction: MexTSCTransaction,
122
- Report: MexTSCReport,
123
- ReportItem: MexTSCReportItem,
124
- BankAccount: MexBankAccount,
125
- } as const;
126
-
127
- export {
128
- MexTSCClient as Client,
129
- MexTSCTransaction as Transaction,
130
- MexTSCReport as Report,
131
- MexTSCReportItem as ReportItem,
132
- MexBankAccount as BankAccount,
133
- type MexBankAccountData as BankAccountData,
134
- };
135
-
136
- // ===========================
137
- // Resources (scoped + base for non-scoped)
138
- // ===========================
139
-
140
- export const Resources = {
141
- Clients: TSCClientsResource,
142
- Transactions: TSCTransactionsResource,
143
- Reports: TSCReportsResource,
144
- BankAccounts: MexBankAccountsResource,
145
- } as const;
146
-
147
- export {
148
- TSCClientsResource as ClientsResource,
149
- TSCTransactionsResource as TransactionsResource,
150
- TSCReportsResource as ReportsResource,
151
- MexBankAccountsResource as BankAccountsResource,
152
- };
153
-
154
- // ===========================
155
- // TypeGuards (flat)
156
- // ===========================
157
-
158
- export const TypeGuards = {
159
- isClient: isMexTSCClient,
160
- isTransaction: isMexTSCTransaction,
161
- isReport: isMexTSCReport,
162
- isReportItem: isMexTSCReportItem,
163
- } as const;
164
-
165
- export {
166
- isMexTSCClient as isClient,
167
- isMexTSCTransaction as isTransaction,
168
- isMexTSCReport as isReport,
169
- isMexTSCReportItem as isReportItem,
170
- };
171
-
172
- // ===========================
173
- // Scoped Types (TSC) - aliased for convenience
174
- // ===========================
175
-
176
- export type {
177
- // Client types
178
- CreateTSCClientInput as CreateClientInput,
179
- UpdateTSCClientInput as UpdateClientInput,
180
- // Transaction types
181
- CreateTSCTransactionInput as CreateTransactionInput,
182
- UpdateTSCTransactionInput as UpdateTransactionInput,
183
- // Report types
184
- CreateTSCReportInput as CreateReportInput,
185
- UpdateTSCReportInput as UpdateReportInput,
186
- CreateTSCReportItemInput as CreateReportItemInput,
187
- UpdateTSCReportItemInput as UpdateReportItemInput,
188
- ReportValidationError,
189
- ValidationSummary,
190
- ValidationResult,
191
- GenerateResult,
192
- SubmissionResult,
193
- // Bank account types (uses Mexico scope)
194
- CreateMexBankAccountInput as CreateBankAccountInput,
195
- UpdateMexBankAccountInput as UpdateBankAccountInput,
196
- } from "@artu-ai/shared";
197
-
198
- // ===========================
199
- // Base Exports (errors, utilities, base models/resources)
200
- // ===========================
201
-
202
- export * from "../../base";