@artu-ai/compliance-sdk 0.0.1
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/README.md +131 -0
- package/dist/chunk-5FWX6MJJ.js +23 -0
- package/dist/chunk-5FWX6MJJ.js.map +1 -0
- package/dist/chunk-5M73AGYR.js +22163 -0
- package/dist/chunk-5M73AGYR.js.map +1 -0
- package/dist/chunk-C4N2ALDL.js +23 -0
- package/dist/chunk-C4N2ALDL.js.map +1 -0
- package/dist/chunk-CLRMY27D.js +232 -0
- package/dist/chunk-CLRMY27D.js.map +1 -0
- package/dist/chunk-FT2LSJUD.js +23 -0
- package/dist/chunk-FT2LSJUD.js.map +1 -0
- package/dist/chunk-IKDGGCJO.cjs +26 -0
- package/dist/chunk-IKDGGCJO.cjs.map +1 -0
- package/dist/chunk-J2P6EUCD.cjs +26 -0
- package/dist/chunk-J2P6EUCD.cjs.map +1 -0
- package/dist/chunk-QM2YAOGD.cjs +22316 -0
- package/dist/chunk-QM2YAOGD.cjs.map +1 -0
- package/dist/chunk-X3RBAIDU.cjs +245 -0
- package/dist/chunk-X3RBAIDU.cjs.map +1 -0
- package/dist/chunk-XO3OCPIN.cjs +26 -0
- package/dist/chunk-XO3OCPIN.cjs.map +1 -0
- package/dist/filters-BjYmxK8N.d.cts +6187 -0
- package/dist/filters-BjYmxK8N.d.ts +6187 -0
- package/dist/index-BF15okXT.d.ts +777 -0
- package/dist/index-DeVuMBhV.d.cts +777 -0
- package/dist/index.cjs +365 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/mexico/actividad-vulnerable/avi.cjs +310 -0
- package/dist/mexico/actividad-vulnerable/avi.cjs.map +1 -0
- package/dist/mexico/actividad-vulnerable/avi.d.cts +104 -0
- package/dist/mexico/actividad-vulnerable/avi.d.ts +104 -0
- package/dist/mexico/actividad-vulnerable/avi.js +45 -0
- package/dist/mexico/actividad-vulnerable/avi.js.map +1 -0
- package/dist/mexico/actividad-vulnerable/jys.cjs +315 -0
- package/dist/mexico/actividad-vulnerable/jys.cjs.map +1 -0
- package/dist/mexico/actividad-vulnerable/jys.d.cts +109 -0
- package/dist/mexico/actividad-vulnerable/jys.d.ts +109 -0
- package/dist/mexico/actividad-vulnerable/jys.js +50 -0
- package/dist/mexico/actividad-vulnerable/jys.js.map +1 -0
- package/dist/mexico/actividad-vulnerable/tsc.cjs +309 -0
- package/dist/mexico/actividad-vulnerable/tsc.cjs.map +1 -0
- package/dist/mexico/actividad-vulnerable/tsc.d.cts +103 -0
- package/dist/mexico/actividad-vulnerable/tsc.d.ts +103 -0
- package/dist/mexico/actividad-vulnerable/tsc.js +44 -0
- package/dist/mexico/actividad-vulnerable/tsc.js.map +1 -0
- package/dist/mexico/index.cjs +384 -0
- package/dist/mexico/index.cjs.map +1 -0
- package/dist/mexico/index.d.cts +305 -0
- package/dist/mexico/index.d.ts +305 -0
- package/dist/mexico/index.js +7 -0
- package/dist/mexico/index.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkIKDGGCJO_cjs = require('../../chunk-IKDGGCJO.cjs');
|
|
4
|
+
var chunkQM2YAOGD_cjs = require('../../chunk-QM2YAOGD.cjs');
|
|
5
|
+
var shared = require('@artu-ai/shared');
|
|
6
|
+
|
|
7
|
+
var Enums = {
|
|
8
|
+
// AVI-specific
|
|
9
|
+
TipoOperacion: shared.avi.TipoOperacion,
|
|
10
|
+
TipoAlerta: shared.avi.TipoAlerta,
|
|
11
|
+
InstrumentoMonetario: shared.avi.InstrumentoMonetario,
|
|
12
|
+
ActivoVirtual: shared.avi.ActivoVirtual,
|
|
13
|
+
// Actividad Vulnerable base
|
|
14
|
+
CodigoActividad: shared.CodigoActividad,
|
|
15
|
+
Moneda: shared.Moneda,
|
|
16
|
+
TipoIdentificacion: shared.TipoIdentificacion,
|
|
17
|
+
Prioridad: shared.Prioridad
|
|
18
|
+
};
|
|
19
|
+
var Validators = {
|
|
20
|
+
Rfc: shared.Rfc,
|
|
21
|
+
Curp: shared.Curp,
|
|
22
|
+
Clabe: shared.Clabe
|
|
23
|
+
};
|
|
24
|
+
var Models = {
|
|
25
|
+
Client: chunkQM2YAOGD_cjs.MexAVIClient,
|
|
26
|
+
Transaction: chunkQM2YAOGD_cjs.MexAVITransaction,
|
|
27
|
+
Report: chunkQM2YAOGD_cjs.MexAVIReport,
|
|
28
|
+
ReportItem: chunkQM2YAOGD_cjs.MexAVIReportItem,
|
|
29
|
+
BankAccount: chunkQM2YAOGD_cjs.MexBankAccount
|
|
30
|
+
};
|
|
31
|
+
var Resources = {
|
|
32
|
+
Clients: chunkQM2YAOGD_cjs.AVIClientsResource,
|
|
33
|
+
Transactions: chunkQM2YAOGD_cjs.AVITransactionsResource,
|
|
34
|
+
Reports: chunkQM2YAOGD_cjs.AVIReportsResource,
|
|
35
|
+
BankAccounts: chunkQM2YAOGD_cjs.MexBankAccountsResource
|
|
36
|
+
};
|
|
37
|
+
var TypeGuards = {
|
|
38
|
+
isClient: chunkQM2YAOGD_cjs.isMexAVIClient,
|
|
39
|
+
isTransaction: chunkQM2YAOGD_cjs.isMexAVITransaction,
|
|
40
|
+
isReport: chunkQM2YAOGD_cjs.isMexAVIReport,
|
|
41
|
+
isReportItem: chunkQM2YAOGD_cjs.isMexAVIReportItem
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
Object.defineProperty(exports, "ComplianceSDK", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkIKDGGCJO_cjs.AVIComplianceSDKScoped; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "APIError", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkQM2YAOGD_cjs.APIError; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "Address", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkQM2YAOGD_cjs.Address; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "AddressesResource", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkQM2YAOGD_cjs.AddressesResource; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "BankAccount", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkQM2YAOGD_cjs.MexBankAccount; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "BankAccountsResource", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkQM2YAOGD_cjs.MexBankAccountsResource; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "Client", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkQM2YAOGD_cjs.MexAVIClient; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "ClientsResource", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkQM2YAOGD_cjs.AVIClientsResource; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "ComplianceError", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkQM2YAOGD_cjs.ComplianceError; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "ContactMethod", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkQM2YAOGD_cjs.ContactMethod; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "ContactMethodsResource", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkQM2YAOGD_cjs.ContactMethodsResource; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkQM2YAOGD_cjs.DEFAULT_PAGE_SIZE; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "Document", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkQM2YAOGD_cjs.Document; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "DocumentsResource", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkQM2YAOGD_cjs.DocumentsResource; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "FileTooLargeError", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkQM2YAOGD_cjs.FileTooLargeError; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "ForbiddenError", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkQM2YAOGD_cjs.ForbiddenError; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "InvalidFileTypeError", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkQM2YAOGD_cjs.InvalidFileTypeError; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "MAX_PAGE_SIZE", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkQM2YAOGD_cjs.MAX_PAGE_SIZE; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "NetworkError", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkQM2YAOGD_cjs.NetworkError; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "NotFoundError", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkQM2YAOGD_cjs.NotFoundError; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "RateLimitError", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkQM2YAOGD_cjs.RateLimitError; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "Report", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkQM2YAOGD_cjs.MexAVIReport; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "ReportItem", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkQM2YAOGD_cjs.MexAVIReportItem; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "ReportsResource", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkQM2YAOGD_cjs.AVIReportsResource; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "ServerError", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkQM2YAOGD_cjs.ServerError; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "TimeoutError", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkQM2YAOGD_cjs.TimeoutError; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "Transaction", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkQM2YAOGD_cjs.MexAVITransaction; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "TransactionsResource", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkQM2YAOGD_cjs.AVITransactionsResource; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "UnauthorizedError", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkQM2YAOGD_cjs.UnauthorizedError; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "UploadAbortedError", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunkQM2YAOGD_cjs.UploadAbortedError; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "UploadError", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunkQM2YAOGD_cjs.UploadError; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "UploadTimeoutError", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunkQM2YAOGD_cjs.UploadTimeoutError; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "UploadUrlExpiredError", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkQM2YAOGD_cjs.UploadUrlExpiredError; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "ValidationError", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkQM2YAOGD_cjs.ValidationError; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "after", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkQM2YAOGD_cjs.after; }
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "atLeast", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chunkQM2YAOGD_cjs.atLeast; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "atMost", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkQM2YAOGD_cjs.atMost; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "before", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkQM2YAOGD_cjs.before; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "collectAll", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkQM2YAOGD_cjs.collectAll; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "collectUpTo", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkQM2YAOGD_cjs.collectUpTo; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "contains", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkQM2YAOGD_cjs.contains; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "dateRange", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkQM2YAOGD_cjs.dateRange; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "endsWith", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkQM2YAOGD_cjs.endsWith; }
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "equals", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return chunkQM2YAOGD_cjs.equals; }
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "getFirst", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () { return chunkQM2YAOGD_cjs.getFirst; }
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(exports, "greaterThan", {
|
|
225
|
+
enumerable: true,
|
|
226
|
+
get: function () { return chunkQM2YAOGD_cjs.greaterThan; }
|
|
227
|
+
});
|
|
228
|
+
Object.defineProperty(exports, "isAPIError", {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: function () { return chunkQM2YAOGD_cjs.isAPIError; }
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(exports, "isClient", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () { return chunkQM2YAOGD_cjs.isMexAVIClient; }
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "isFalse", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function () { return chunkQM2YAOGD_cjs.isFalse; }
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "isNotNull", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function () { return chunkQM2YAOGD_cjs.isNotNull; }
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "isNull", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function () { return chunkQM2YAOGD_cjs.isNull; }
|
|
247
|
+
});
|
|
248
|
+
Object.defineProperty(exports, "isReport", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: function () { return chunkQM2YAOGD_cjs.isMexAVIReport; }
|
|
251
|
+
});
|
|
252
|
+
Object.defineProperty(exports, "isReportItem", {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function () { return chunkQM2YAOGD_cjs.isMexAVIReportItem; }
|
|
255
|
+
});
|
|
256
|
+
Object.defineProperty(exports, "isTransaction", {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function () { return chunkQM2YAOGD_cjs.isMexAVITransaction; }
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(exports, "isTrue", {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: function () { return chunkQM2YAOGD_cjs.isTrue; }
|
|
263
|
+
});
|
|
264
|
+
Object.defineProperty(exports, "isUploadError", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () { return chunkQM2YAOGD_cjs.isUploadError; }
|
|
267
|
+
});
|
|
268
|
+
Object.defineProperty(exports, "lessThan", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () { return chunkQM2YAOGD_cjs.lessThan; }
|
|
271
|
+
});
|
|
272
|
+
Object.defineProperty(exports, "mapTRPCError", {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: function () { return chunkQM2YAOGD_cjs.mapTRPCError; }
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(exports, "notEquals", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: function () { return chunkQM2YAOGD_cjs.notEquals; }
|
|
279
|
+
});
|
|
280
|
+
Object.defineProperty(exports, "notOneOf", {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: function () { return chunkQM2YAOGD_cjs.notOneOf; }
|
|
283
|
+
});
|
|
284
|
+
Object.defineProperty(exports, "numberRange", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: function () { return chunkQM2YAOGD_cjs.numberRange; }
|
|
287
|
+
});
|
|
288
|
+
Object.defineProperty(exports, "onOrAfter", {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: function () { return chunkQM2YAOGD_cjs.onOrAfter; }
|
|
291
|
+
});
|
|
292
|
+
Object.defineProperty(exports, "onOrBefore", {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: function () { return chunkQM2YAOGD_cjs.onOrBefore; }
|
|
295
|
+
});
|
|
296
|
+
Object.defineProperty(exports, "oneOf", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function () { return chunkQM2YAOGD_cjs.oneOf; }
|
|
299
|
+
});
|
|
300
|
+
Object.defineProperty(exports, "startsWith", {
|
|
301
|
+
enumerable: true,
|
|
302
|
+
get: function () { return chunkQM2YAOGD_cjs.startsWith; }
|
|
303
|
+
});
|
|
304
|
+
exports.Enums = Enums;
|
|
305
|
+
exports.Models = Models;
|
|
306
|
+
exports.Resources = Resources;
|
|
307
|
+
exports.TypeGuards = TypeGuards;
|
|
308
|
+
exports.Validators = Validators;
|
|
309
|
+
//# sourceMappingURL=avi.cjs.map
|
|
310
|
+
//# sourceMappingURL=avi.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/exports/mexico/actividad-vulnerable/avi.ts"],"names":["avi","CodigoActividad","Moneda","TipoIdentificacion","Prioridad","Rfc","Curp","Clabe","MexAVIClient","MexAVITransaction","MexAVIReport","MexAVIReportItem","MexBankAccount","AVIClientsResource","AVITransactionsResource","AVIReportsResource","MexBankAccountsResource","isMexAVIClient","isMexAVITransaction","isMexAVIReport","isMexAVIReportItem"],"mappings":";;;;;;AAkFO,IAAM,KAAA,GAAQ;AAAA;AAAA,EAEnB,eAAeA,UAAA,CAAI,aAAA;AAAA,EACnB,YAAYA,UAAA,CAAI,UAAA;AAAA,EAChB,sBAAsBA,UAAA,CAAI,oBAAA;AAAA,EAC1B,eAAeA,UAAA,CAAI,aAAA;AAAA;AAAA,mBAEnBC,sBAAA;AAAA,UACAC,aAAA;AAAA,sBACAC,yBAAA;AAAA,aACAC;AACF;AAMO,IAAM,UAAA,GAAa;AAAA,OACxBC,UAAA;AAAA,QACAC,WAAA;AAAA,SACAC;AACF;AAMO,IAAM,MAAA,GAAS;AAAA,EACpB,MAAA,EAAQC,8BAAA;AAAA,EACR,WAAA,EAAaC,mCAAA;AAAA,EACb,MAAA,EAAQC,8BAAA;AAAA,EACR,UAAA,EAAYC,kCAAA;AAAA,EACZ,WAAA,EAAaC;AACf;AAeO,IAAM,SAAA,GAAY;AAAA,EACvB,OAAA,EAASC,oCAAA;AAAA,EACT,YAAA,EAAcC,yCAAA;AAAA,EACd,OAAA,EAASC,oCAAA;AAAA,EACT,YAAA,EAAcC;AAChB;AAaO,IAAM,UAAA,GAAa;AAAA,EACxB,QAAA,EAAUC,gCAAA;AAAA,EACV,aAAA,EAAeC,qCAAA;AAAA,EACf,QAAA,EAAUC,gCAAA;AAAA,EACV,YAAA,EAAcC;AAChB","file":"avi.cjs","sourcesContent":["/**\n * @artu/compliance-sdk/mexico/actividad-vulnerable/avi\n *\n * AVI (Activos Virtuales) scoped SDK entry point.\n * Import from here for virtual asset compliance workflows.\n *\n * @example\n * ```typescript\n * import {\n * ComplianceSDK,\n * Enums,\n * Validators,\n * Models,\n * Resources,\n * TypeGuards,\n * } from \"@artu/compliance-sdk/mexico/actividad-vulnerable/avi\";\n *\n * const sdk = new ComplianceSDK({\n * apiKey: process.env.COMPLIANCE_API_KEY!,\n * jurisdiction: \"MX\",\n * actividadVulnerable: \"AVI\",\n * });\n *\n * // AVI-specific enums (flat, no nesting)\n * Enums.TipoOperacion.Buy\n * Enums.TipoAlerta.Inusual\n *\n * // Validators\n * Validators.Rfc.validate(\"GOAP820528H00\")\n * ```\n */\n\nimport {\n avi,\n CodigoActividad,\n Moneda,\n TipoIdentificacion,\n Prioridad,\n Rfc,\n Curp,\n Clabe,\n} from \"@artu-ai/shared\";\n\nimport {\n MexAVIClient,\n MexAVITransaction,\n MexAVIReport,\n MexAVIReportItem,\n isMexAVIClient,\n isMexAVITransaction,\n isMexAVIReport,\n isMexAVIReportItem,\n MexBankAccount,\n type MexBankAccountData,\n} from \"../../../models\";\n\nimport {\n AVIClientsResource,\n AVITransactionsResource,\n AVIReportsResource,\n MexBankAccountsResource,\n} from \"../../../resources\";\n\n// ===========================\n// SDK\n// ===========================\n\nimport {\n AVIComplianceSDKScoped,\n type AVIScopedSDKOptions,\n} from \"../../../sdk/mex/actividad-vulnerable/avi\";\n\n/** Options for AVI-scoped SDK */\nexport type ComplianceSDKOptions = AVIScopedSDKOptions;\n\n/** AVI-scoped ComplianceSDK - re-exported from sdk */\nexport { AVIComplianceSDKScoped as ComplianceSDK };\n\n// ===========================\n// Enums (flat - AVI specific + Actividad Vulnerable base)\n// ===========================\n\nexport const Enums = {\n // AVI-specific\n TipoOperacion: avi.TipoOperacion,\n TipoAlerta: avi.TipoAlerta,\n InstrumentoMonetario: avi.InstrumentoMonetario,\n ActivoVirtual: avi.ActivoVirtual,\n // Actividad Vulnerable base\n CodigoActividad,\n Moneda,\n TipoIdentificacion,\n Prioridad,\n} as const;\n\n// ===========================\n// Validators\n// ===========================\n\nexport const Validators = {\n Rfc,\n Curp,\n Clabe,\n} as const;\n\n// ===========================\n// Models (flat)\n// ===========================\n\nexport const Models = {\n Client: MexAVIClient,\n Transaction: MexAVITransaction,\n Report: MexAVIReport,\n ReportItem: MexAVIReportItem,\n BankAccount: MexBankAccount,\n} as const;\n\nexport {\n MexAVIClient as Client,\n MexAVITransaction as Transaction,\n MexAVIReport as Report,\n MexAVIReportItem as ReportItem,\n MexBankAccount as BankAccount,\n type MexBankAccountData as BankAccountData,\n};\n\n// ===========================\n// Resources (scoped + base for non-scoped)\n// ===========================\n\nexport const Resources = {\n Clients: AVIClientsResource,\n Transactions: AVITransactionsResource,\n Reports: AVIReportsResource,\n BankAccounts: MexBankAccountsResource,\n} as const;\n\nexport {\n AVIClientsResource as ClientsResource,\n AVITransactionsResource as TransactionsResource,\n AVIReportsResource as ReportsResource,\n MexBankAccountsResource as BankAccountsResource,\n};\n\n// ===========================\n// TypeGuards (flat)\n// ===========================\n\nexport const TypeGuards = {\n isClient: isMexAVIClient,\n isTransaction: isMexAVITransaction,\n isReport: isMexAVIReport,\n isReportItem: isMexAVIReportItem,\n} as const;\n\nexport {\n isMexAVIClient as isClient,\n isMexAVITransaction as isTransaction,\n isMexAVIReport as isReport,\n isMexAVIReportItem as isReportItem,\n};\n\n// ===========================\n// Scoped Types (AVI) - aliased for convenience\n// ===========================\n\nexport type {\n // Client types\n CreateAVIClientInput as CreateClientInput,\n UpdateAVIClientInput as UpdateClientInput,\n // Transaction types\n CreateAVITransactionInput as CreateTransactionInput,\n UpdateAVITransactionInput as UpdateTransactionInput,\n // Report types\n CreateAVIReportInput as CreateReportInput,\n UpdateAVIReportInput as UpdateReportInput,\n CreateAVIReportItemInput as CreateReportItemInput,\n UpdateAVIReportItemInput as UpdateReportItemInput,\n ReportValidationError,\n ValidationSummary,\n ValidationResult,\n GenerateResult,\n SubmissionResult,\n // Bank account types (uses Mexico scope)\n CreateMexBankAccountInput as CreateBankAccountInput,\n UpdateMexBankAccountInput as UpdateBankAccountInput,\n} from \"@artu-ai/shared\";\n\n// ===========================\n// Base Exports (errors, utilities, base models/resources)\n// ===========================\n\nexport * from \"../../base\";\n"]}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as zod from 'zod';
|
|
2
|
+
import * as zod_v4_core from 'zod/v4/core';
|
|
3
|
+
import { avi, CodigoActividad, Moneda, TipoIdentificacion, Prioridad } from '@artu-ai/shared';
|
|
4
|
+
export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, BankAccountFilter, BatchResult, ClientFilter, CreateAddressInput, CreateMexBankAccountInput as CreateBankAccountInput, CreateAVIClientInput as CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateAVIReportInput as CreateReportInput, CreateAVIReportItemInput as CreateReportItemInput, CreateAVITransactionInput as CreateTransactionInput, DocumentFilter, GenerateResult, IterateOptions, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, ReportValidationError, SubmissionResult, TransactionFilter, UpdateAddressInput, UpdateMexBankAccountInput as UpdateBankAccountInput, UpdateAVIClientInput as UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateAVIReportInput as UpdateReportInput, UpdateAVIReportItemInput as UpdateReportItemInput, UpdateAVITransactionInput as UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
|
|
5
|
+
import { C as ComplianceSDKImpl, A as AVIScopedSDKOptions, M as MexAVIClient, a as MexAVITransaction, b as MexAVIReport, c as MexAVIReportItem, d as MexBankAccount, e as AVIClientsResource, f as AVITransactionsResource, g as AVIReportsResource, h as MexBankAccountsResource, i as isMexAVIClient, j as isMexAVITransaction, k as isMexAVIReport, l as isMexAVIReportItem } from '../../filters-BjYmxK8N.cjs';
|
|
6
|
+
export { r as APIError, ab as Address, ac as AddressData, ah as AddressesResource, m as BankAccountData, n as ComplianceError, p as ComplianceErrorJSON, o as ComplianceErrorOptions, ad as ContactMethod, ae as ContactMethodData, ai as ContactMethodsResource, J as DEFAULT_PAGE_SIZE, af as Document, ag as DocumentData, aj as DocumentsResource, u as FileTooLargeError, F as ForbiddenError, I as InvalidFileTypeError, K as MAX_PAGE_SIZE, s as NetworkError, N as NotFoundError, R as RateLimitError, S as ServerError, T as TimeoutError, U as UnauthorizedError, w as UploadAbortedError, t as UploadError, D as UploadStage, v as UploadTimeoutError, x as UploadUrlExpiredError, V as ValidationError, q as ValidationIssue, _ as after, a5 as atLeast, a6 as atMost, $ as before, E as collectAll, G as collectUpTo, L as contains, Z as dateRange, P as endsWith, Q as equals, H as getFirst, a3 as greaterThan, z as isAPIError, a8 as isFalse, aa as isNotNull, a9 as isNull, a7 as isTrue, B as isUploadError, a4 as lessThan, y as mapTRPCError, W as notEquals, Y as notOneOf, a2 as numberRange, a0 as onOrAfter, a1 as onOrBefore, X as oneOf, O as startsWith } from '../../filters-BjYmxK8N.cjs';
|
|
7
|
+
import '@trpc/client';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* AVI-scoped ComplianceSDK
|
|
11
|
+
*
|
|
12
|
+
* Pre-configured SDK for Mexico jurisdiction and Activos Virtuales (AVI) activity.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* AVI-scoped ComplianceSDK.
|
|
17
|
+
* Pre-configured for Mexico jurisdiction and Activos Virtuales (AVI) activity.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import { ComplianceSDK } from "@artu/compliance-sdk/mexico/actividad-vulnerable/avi";
|
|
22
|
+
*
|
|
23
|
+
* const sdk = new ComplianceSDK({
|
|
24
|
+
* apiKey: process.env.API_KEY!,
|
|
25
|
+
* environment: "test",
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* // Already scoped - no need to specify jurisdiction/activity
|
|
29
|
+
* const client = await sdk.clients.create({
|
|
30
|
+
* type: ClientType.Person,
|
|
31
|
+
* name: "Juan García",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare class AVIComplianceSDKScoped extends ComplianceSDKImpl {
|
|
36
|
+
constructor(options: AVIScopedSDKOptions);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** Options for AVI-scoped SDK */
|
|
40
|
+
type ComplianceSDKOptions = AVIScopedSDKOptions;
|
|
41
|
+
|
|
42
|
+
declare const Enums: {
|
|
43
|
+
readonly TipoOperacion: typeof avi.TipoOperacion;
|
|
44
|
+
readonly TipoAlerta: typeof avi.TipoAlerta;
|
|
45
|
+
readonly InstrumentoMonetario: typeof avi.InstrumentoMonetario;
|
|
46
|
+
readonly ActivoVirtual: typeof avi.ActivoVirtual;
|
|
47
|
+
readonly CodigoActividad: typeof CodigoActividad;
|
|
48
|
+
readonly Moneda: typeof Moneda;
|
|
49
|
+
readonly TipoIdentificacion: typeof TipoIdentificacion;
|
|
50
|
+
readonly Prioridad: typeof Prioridad;
|
|
51
|
+
};
|
|
52
|
+
declare const Validators: {
|
|
53
|
+
readonly Rfc: {
|
|
54
|
+
readonly schema: ({ coerce, type, ...params }?: {
|
|
55
|
+
coerce?: boolean;
|
|
56
|
+
type?: "company" | "individual" | "foreign" | "generic";
|
|
57
|
+
} & {
|
|
58
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
59
|
+
message?: string | undefined | undefined;
|
|
60
|
+
}) => zod.ZodCoercedString<unknown>;
|
|
61
|
+
readonly validate: (value: string, type?: "company" | "individual" | "foreign" | "generic") => boolean;
|
|
62
|
+
};
|
|
63
|
+
readonly Curp: {
|
|
64
|
+
readonly schema: ({ coerce, ...params }?: {
|
|
65
|
+
coerce?: boolean;
|
|
66
|
+
} & {
|
|
67
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
68
|
+
message?: string | undefined | undefined;
|
|
69
|
+
}) => zod.ZodCoercedString<unknown>;
|
|
70
|
+
readonly validate: (value: string) => boolean;
|
|
71
|
+
};
|
|
72
|
+
readonly Clabe: {
|
|
73
|
+
readonly schema: ({ coerce, ...params }?: {
|
|
74
|
+
coerce?: boolean;
|
|
75
|
+
} & {
|
|
76
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
77
|
+
message?: string | undefined | undefined;
|
|
78
|
+
}) => zod.ZodPipe<zod.ZodCoercedString<unknown>, zod.ZodTransform<string, string>>;
|
|
79
|
+
readonly validate: (value: string) => string | false | null;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
declare const Models: {
|
|
83
|
+
readonly Client: typeof MexAVIClient;
|
|
84
|
+
readonly Transaction: typeof MexAVITransaction;
|
|
85
|
+
readonly Report: typeof MexAVIReport;
|
|
86
|
+
readonly ReportItem: typeof MexAVIReportItem;
|
|
87
|
+
readonly BankAccount: typeof MexBankAccount;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare const Resources: {
|
|
91
|
+
readonly Clients: typeof AVIClientsResource;
|
|
92
|
+
readonly Transactions: typeof AVITransactionsResource;
|
|
93
|
+
readonly Reports: typeof AVIReportsResource;
|
|
94
|
+
readonly BankAccounts: typeof MexBankAccountsResource;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
declare const TypeGuards: {
|
|
98
|
+
readonly isClient: typeof isMexAVIClient;
|
|
99
|
+
readonly isTransaction: typeof isMexAVITransaction;
|
|
100
|
+
readonly isReport: typeof isMexAVIReport;
|
|
101
|
+
readonly isReportItem: typeof isMexAVIReportItem;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export { MexBankAccount as BankAccount, MexBankAccountsResource as BankAccountsResource, MexAVIClient as Client, AVIClientsResource as ClientsResource, AVIComplianceSDKScoped as ComplianceSDK, type ComplianceSDKOptions, Enums, Models, MexAVIReport as Report, MexAVIReportItem as ReportItem, AVIReportsResource as ReportsResource, Resources, MexAVITransaction as Transaction, AVITransactionsResource as TransactionsResource, TypeGuards, Validators, isMexAVIClient as isClient, isMexAVIReport as isReport, isMexAVIReportItem as isReportItem, isMexAVITransaction as isTransaction };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as zod from 'zod';
|
|
2
|
+
import * as zod_v4_core from 'zod/v4/core';
|
|
3
|
+
import { avi, CodigoActividad, Moneda, TipoIdentificacion, Prioridad } from '@artu-ai/shared';
|
|
4
|
+
export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, BankAccountFilter, BatchResult, ClientFilter, CreateAddressInput, CreateMexBankAccountInput as CreateBankAccountInput, CreateAVIClientInput as CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateAVIReportInput as CreateReportInput, CreateAVIReportItemInput as CreateReportItemInput, CreateAVITransactionInput as CreateTransactionInput, DocumentFilter, GenerateResult, IterateOptions, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, ReportValidationError, SubmissionResult, TransactionFilter, UpdateAddressInput, UpdateMexBankAccountInput as UpdateBankAccountInput, UpdateAVIClientInput as UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateAVIReportInput as UpdateReportInput, UpdateAVIReportItemInput as UpdateReportItemInput, UpdateAVITransactionInput as UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
|
|
5
|
+
import { C as ComplianceSDKImpl, A as AVIScopedSDKOptions, M as MexAVIClient, a as MexAVITransaction, b as MexAVIReport, c as MexAVIReportItem, d as MexBankAccount, e as AVIClientsResource, f as AVITransactionsResource, g as AVIReportsResource, h as MexBankAccountsResource, i as isMexAVIClient, j as isMexAVITransaction, k as isMexAVIReport, l as isMexAVIReportItem } from '../../filters-BjYmxK8N.js';
|
|
6
|
+
export { r as APIError, ab as Address, ac as AddressData, ah as AddressesResource, m as BankAccountData, n as ComplianceError, p as ComplianceErrorJSON, o as ComplianceErrorOptions, ad as ContactMethod, ae as ContactMethodData, ai as ContactMethodsResource, J as DEFAULT_PAGE_SIZE, af as Document, ag as DocumentData, aj as DocumentsResource, u as FileTooLargeError, F as ForbiddenError, I as InvalidFileTypeError, K as MAX_PAGE_SIZE, s as NetworkError, N as NotFoundError, R as RateLimitError, S as ServerError, T as TimeoutError, U as UnauthorizedError, w as UploadAbortedError, t as UploadError, D as UploadStage, v as UploadTimeoutError, x as UploadUrlExpiredError, V as ValidationError, q as ValidationIssue, _ as after, a5 as atLeast, a6 as atMost, $ as before, E as collectAll, G as collectUpTo, L as contains, Z as dateRange, P as endsWith, Q as equals, H as getFirst, a3 as greaterThan, z as isAPIError, a8 as isFalse, aa as isNotNull, a9 as isNull, a7 as isTrue, B as isUploadError, a4 as lessThan, y as mapTRPCError, W as notEquals, Y as notOneOf, a2 as numberRange, a0 as onOrAfter, a1 as onOrBefore, X as oneOf, O as startsWith } from '../../filters-BjYmxK8N.js';
|
|
7
|
+
import '@trpc/client';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* AVI-scoped ComplianceSDK
|
|
11
|
+
*
|
|
12
|
+
* Pre-configured SDK for Mexico jurisdiction and Activos Virtuales (AVI) activity.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* AVI-scoped ComplianceSDK.
|
|
17
|
+
* Pre-configured for Mexico jurisdiction and Activos Virtuales (AVI) activity.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import { ComplianceSDK } from "@artu/compliance-sdk/mexico/actividad-vulnerable/avi";
|
|
22
|
+
*
|
|
23
|
+
* const sdk = new ComplianceSDK({
|
|
24
|
+
* apiKey: process.env.API_KEY!,
|
|
25
|
+
* environment: "test",
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* // Already scoped - no need to specify jurisdiction/activity
|
|
29
|
+
* const client = await sdk.clients.create({
|
|
30
|
+
* type: ClientType.Person,
|
|
31
|
+
* name: "Juan García",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare class AVIComplianceSDKScoped extends ComplianceSDKImpl {
|
|
36
|
+
constructor(options: AVIScopedSDKOptions);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** Options for AVI-scoped SDK */
|
|
40
|
+
type ComplianceSDKOptions = AVIScopedSDKOptions;
|
|
41
|
+
|
|
42
|
+
declare const Enums: {
|
|
43
|
+
readonly TipoOperacion: typeof avi.TipoOperacion;
|
|
44
|
+
readonly TipoAlerta: typeof avi.TipoAlerta;
|
|
45
|
+
readonly InstrumentoMonetario: typeof avi.InstrumentoMonetario;
|
|
46
|
+
readonly ActivoVirtual: typeof avi.ActivoVirtual;
|
|
47
|
+
readonly CodigoActividad: typeof CodigoActividad;
|
|
48
|
+
readonly Moneda: typeof Moneda;
|
|
49
|
+
readonly TipoIdentificacion: typeof TipoIdentificacion;
|
|
50
|
+
readonly Prioridad: typeof Prioridad;
|
|
51
|
+
};
|
|
52
|
+
declare const Validators: {
|
|
53
|
+
readonly Rfc: {
|
|
54
|
+
readonly schema: ({ coerce, type, ...params }?: {
|
|
55
|
+
coerce?: boolean;
|
|
56
|
+
type?: "company" | "individual" | "foreign" | "generic";
|
|
57
|
+
} & {
|
|
58
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
59
|
+
message?: string | undefined | undefined;
|
|
60
|
+
}) => zod.ZodCoercedString<unknown>;
|
|
61
|
+
readonly validate: (value: string, type?: "company" | "individual" | "foreign" | "generic") => boolean;
|
|
62
|
+
};
|
|
63
|
+
readonly Curp: {
|
|
64
|
+
readonly schema: ({ coerce, ...params }?: {
|
|
65
|
+
coerce?: boolean;
|
|
66
|
+
} & {
|
|
67
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
68
|
+
message?: string | undefined | undefined;
|
|
69
|
+
}) => zod.ZodCoercedString<unknown>;
|
|
70
|
+
readonly validate: (value: string) => boolean;
|
|
71
|
+
};
|
|
72
|
+
readonly Clabe: {
|
|
73
|
+
readonly schema: ({ coerce, ...params }?: {
|
|
74
|
+
coerce?: boolean;
|
|
75
|
+
} & {
|
|
76
|
+
error?: string | zod.ZodErrorMap<zod_v4_core.$ZodIssueInvalidType<unknown>> | undefined;
|
|
77
|
+
message?: string | undefined | undefined;
|
|
78
|
+
}) => zod.ZodPipe<zod.ZodCoercedString<unknown>, zod.ZodTransform<string, string>>;
|
|
79
|
+
readonly validate: (value: string) => string | false | null;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
declare const Models: {
|
|
83
|
+
readonly Client: typeof MexAVIClient;
|
|
84
|
+
readonly Transaction: typeof MexAVITransaction;
|
|
85
|
+
readonly Report: typeof MexAVIReport;
|
|
86
|
+
readonly ReportItem: typeof MexAVIReportItem;
|
|
87
|
+
readonly BankAccount: typeof MexBankAccount;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare const Resources: {
|
|
91
|
+
readonly Clients: typeof AVIClientsResource;
|
|
92
|
+
readonly Transactions: typeof AVITransactionsResource;
|
|
93
|
+
readonly Reports: typeof AVIReportsResource;
|
|
94
|
+
readonly BankAccounts: typeof MexBankAccountsResource;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
declare const TypeGuards: {
|
|
98
|
+
readonly isClient: typeof isMexAVIClient;
|
|
99
|
+
readonly isTransaction: typeof isMexAVITransaction;
|
|
100
|
+
readonly isReport: typeof isMexAVIReport;
|
|
101
|
+
readonly isReportItem: typeof isMexAVIReportItem;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export { MexBankAccount as BankAccount, MexBankAccountsResource as BankAccountsResource, MexAVIClient as Client, AVIClientsResource as ClientsResource, AVIComplianceSDKScoped as ComplianceSDK, type ComplianceSDKOptions, Enums, Models, MexAVIReport as Report, MexAVIReportItem as ReportItem, AVIReportsResource as ReportsResource, Resources, MexAVITransaction as Transaction, AVITransactionsResource as TransactionsResource, TypeGuards, Validators, isMexAVIClient as isClient, isMexAVIReport as isReport, isMexAVIReportItem as isReportItem, isMexAVITransaction as isTransaction };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { AVIComplianceSDKScoped as ComplianceSDK } from '../../chunk-C4N2ALDL.js';
|
|
2
|
+
import { MexBankAccount, MexAVIReportItem, MexAVIReport, MexAVITransaction, MexAVIClient, MexBankAccountsResource, AVIReportsResource, AVITransactionsResource, AVIClientsResource, isMexAVIReportItem, isMexAVIReport, isMexAVITransaction, isMexAVIClient } from '../../chunk-5M73AGYR.js';
|
|
3
|
+
export { APIError, Address, AddressesResource, MexBankAccount as BankAccount, MexBankAccountsResource as BankAccountsResource, MexAVIClient as Client, AVIClientsResource as ClientsResource, ComplianceError, ContactMethod, ContactMethodsResource, DEFAULT_PAGE_SIZE, Document, DocumentsResource, FileTooLargeError, ForbiddenError, InvalidFileTypeError, MAX_PAGE_SIZE, NetworkError, NotFoundError, RateLimitError, MexAVIReport as Report, MexAVIReportItem as ReportItem, AVIReportsResource as ReportsResource, ServerError, TimeoutError, MexAVITransaction as Transaction, AVITransactionsResource as TransactionsResource, UnauthorizedError, UploadAbortedError, UploadError, UploadTimeoutError, UploadUrlExpiredError, ValidationError, after, atLeast, atMost, before, collectAll, collectUpTo, contains, dateRange, endsWith, equals, getFirst, greaterThan, isAPIError, isMexAVIClient as isClient, isFalse, isNotNull, isNull, isMexAVIReport as isReport, isMexAVIReportItem as isReportItem, isMexAVITransaction as isTransaction, isTrue, isUploadError, lessThan, mapTRPCError, notEquals, notOneOf, numberRange, onOrAfter, onOrBefore, oneOf, startsWith } from '../../chunk-5M73AGYR.js';
|
|
4
|
+
import { avi, Prioridad, TipoIdentificacion, Moneda, CodigoActividad, Clabe, Curp, Rfc } from '@artu-ai/shared';
|
|
5
|
+
|
|
6
|
+
var Enums = {
|
|
7
|
+
// AVI-specific
|
|
8
|
+
TipoOperacion: avi.TipoOperacion,
|
|
9
|
+
TipoAlerta: avi.TipoAlerta,
|
|
10
|
+
InstrumentoMonetario: avi.InstrumentoMonetario,
|
|
11
|
+
ActivoVirtual: avi.ActivoVirtual,
|
|
12
|
+
// Actividad Vulnerable base
|
|
13
|
+
CodigoActividad,
|
|
14
|
+
Moneda,
|
|
15
|
+
TipoIdentificacion,
|
|
16
|
+
Prioridad
|
|
17
|
+
};
|
|
18
|
+
var Validators = {
|
|
19
|
+
Rfc,
|
|
20
|
+
Curp,
|
|
21
|
+
Clabe
|
|
22
|
+
};
|
|
23
|
+
var Models = {
|
|
24
|
+
Client: MexAVIClient,
|
|
25
|
+
Transaction: MexAVITransaction,
|
|
26
|
+
Report: MexAVIReport,
|
|
27
|
+
ReportItem: MexAVIReportItem,
|
|
28
|
+
BankAccount: MexBankAccount
|
|
29
|
+
};
|
|
30
|
+
var Resources = {
|
|
31
|
+
Clients: AVIClientsResource,
|
|
32
|
+
Transactions: AVITransactionsResource,
|
|
33
|
+
Reports: AVIReportsResource,
|
|
34
|
+
BankAccounts: MexBankAccountsResource
|
|
35
|
+
};
|
|
36
|
+
var TypeGuards = {
|
|
37
|
+
isClient: isMexAVIClient,
|
|
38
|
+
isTransaction: isMexAVITransaction,
|
|
39
|
+
isReport: isMexAVIReport,
|
|
40
|
+
isReportItem: isMexAVIReportItem
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { Enums, Models, Resources, TypeGuards, Validators };
|
|
44
|
+
//# sourceMappingURL=avi.js.map
|
|
45
|
+
//# sourceMappingURL=avi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/exports/mexico/actividad-vulnerable/avi.ts"],"names":[],"mappings":";;;;;AAkFO,IAAM,KAAA,GAAQ;AAAA;AAAA,EAEnB,eAAe,GAAA,CAAI,aAAA;AAAA,EACnB,YAAY,GAAA,CAAI,UAAA;AAAA,EAChB,sBAAsB,GAAA,CAAI,oBAAA;AAAA,EAC1B,eAAe,GAAA,CAAI,aAAA;AAAA;AAAA,EAEnB,eAAA;AAAA,EACA,MAAA;AAAA,EACA,kBAAA;AAAA,EACA;AACF;AAMO,IAAM,UAAA,GAAa;AAAA,EACxB,GAAA;AAAA,EACA,IAAA;AAAA,EACA;AACF;AAMO,IAAM,MAAA,GAAS;AAAA,EACpB,MAAA,EAAQ,YAAA;AAAA,EACR,WAAA,EAAa,iBAAA;AAAA,EACb,MAAA,EAAQ,YAAA;AAAA,EACR,UAAA,EAAY,gBAAA;AAAA,EACZ,WAAA,EAAa;AACf;AAeO,IAAM,SAAA,GAAY;AAAA,EACvB,OAAA,EAAS,kBAAA;AAAA,EACT,YAAA,EAAc,uBAAA;AAAA,EACd,OAAA,EAAS,kBAAA;AAAA,EACT,YAAA,EAAc;AAChB;AAaO,IAAM,UAAA,GAAa;AAAA,EACxB,QAAA,EAAU,cAAA;AAAA,EACV,aAAA,EAAe,mBAAA;AAAA,EACf,QAAA,EAAU,cAAA;AAAA,EACV,YAAA,EAAc;AAChB","file":"avi.js","sourcesContent":["/**\n * @artu/compliance-sdk/mexico/actividad-vulnerable/avi\n *\n * AVI (Activos Virtuales) scoped SDK entry point.\n * Import from here for virtual asset compliance workflows.\n *\n * @example\n * ```typescript\n * import {\n * ComplianceSDK,\n * Enums,\n * Validators,\n * Models,\n * Resources,\n * TypeGuards,\n * } from \"@artu/compliance-sdk/mexico/actividad-vulnerable/avi\";\n *\n * const sdk = new ComplianceSDK({\n * apiKey: process.env.COMPLIANCE_API_KEY!,\n * jurisdiction: \"MX\",\n * actividadVulnerable: \"AVI\",\n * });\n *\n * // AVI-specific enums (flat, no nesting)\n * Enums.TipoOperacion.Buy\n * Enums.TipoAlerta.Inusual\n *\n * // Validators\n * Validators.Rfc.validate(\"GOAP820528H00\")\n * ```\n */\n\nimport {\n avi,\n CodigoActividad,\n Moneda,\n TipoIdentificacion,\n Prioridad,\n Rfc,\n Curp,\n Clabe,\n} from \"@artu-ai/shared\";\n\nimport {\n MexAVIClient,\n MexAVITransaction,\n MexAVIReport,\n MexAVIReportItem,\n isMexAVIClient,\n isMexAVITransaction,\n isMexAVIReport,\n isMexAVIReportItem,\n MexBankAccount,\n type MexBankAccountData,\n} from \"../../../models\";\n\nimport {\n AVIClientsResource,\n AVITransactionsResource,\n AVIReportsResource,\n MexBankAccountsResource,\n} from \"../../../resources\";\n\n// ===========================\n// SDK\n// ===========================\n\nimport {\n AVIComplianceSDKScoped,\n type AVIScopedSDKOptions,\n} from \"../../../sdk/mex/actividad-vulnerable/avi\";\n\n/** Options for AVI-scoped SDK */\nexport type ComplianceSDKOptions = AVIScopedSDKOptions;\n\n/** AVI-scoped ComplianceSDK - re-exported from sdk */\nexport { AVIComplianceSDKScoped as ComplianceSDK };\n\n// ===========================\n// Enums (flat - AVI specific + Actividad Vulnerable base)\n// ===========================\n\nexport const Enums = {\n // AVI-specific\n TipoOperacion: avi.TipoOperacion,\n TipoAlerta: avi.TipoAlerta,\n InstrumentoMonetario: avi.InstrumentoMonetario,\n ActivoVirtual: avi.ActivoVirtual,\n // Actividad Vulnerable base\n CodigoActividad,\n Moneda,\n TipoIdentificacion,\n Prioridad,\n} as const;\n\n// ===========================\n// Validators\n// ===========================\n\nexport const Validators = {\n Rfc,\n Curp,\n Clabe,\n} as const;\n\n// ===========================\n// Models (flat)\n// ===========================\n\nexport const Models = {\n Client: MexAVIClient,\n Transaction: MexAVITransaction,\n Report: MexAVIReport,\n ReportItem: MexAVIReportItem,\n BankAccount: MexBankAccount,\n} as const;\n\nexport {\n MexAVIClient as Client,\n MexAVITransaction as Transaction,\n MexAVIReport as Report,\n MexAVIReportItem as ReportItem,\n MexBankAccount as BankAccount,\n type MexBankAccountData as BankAccountData,\n};\n\n// ===========================\n// Resources (scoped + base for non-scoped)\n// ===========================\n\nexport const Resources = {\n Clients: AVIClientsResource,\n Transactions: AVITransactionsResource,\n Reports: AVIReportsResource,\n BankAccounts: MexBankAccountsResource,\n} as const;\n\nexport {\n AVIClientsResource as ClientsResource,\n AVITransactionsResource as TransactionsResource,\n AVIReportsResource as ReportsResource,\n MexBankAccountsResource as BankAccountsResource,\n};\n\n// ===========================\n// TypeGuards (flat)\n// ===========================\n\nexport const TypeGuards = {\n isClient: isMexAVIClient,\n isTransaction: isMexAVITransaction,\n isReport: isMexAVIReport,\n isReportItem: isMexAVIReportItem,\n} as const;\n\nexport {\n isMexAVIClient as isClient,\n isMexAVITransaction as isTransaction,\n isMexAVIReport as isReport,\n isMexAVIReportItem as isReportItem,\n};\n\n// ===========================\n// Scoped Types (AVI) - aliased for convenience\n// ===========================\n\nexport type {\n // Client types\n CreateAVIClientInput as CreateClientInput,\n UpdateAVIClientInput as UpdateClientInput,\n // Transaction types\n CreateAVITransactionInput as CreateTransactionInput,\n UpdateAVITransactionInput as UpdateTransactionInput,\n // Report types\n CreateAVIReportInput as CreateReportInput,\n UpdateAVIReportInput as UpdateReportInput,\n CreateAVIReportItemInput as CreateReportItemInput,\n UpdateAVIReportItemInput as UpdateReportItemInput,\n ReportValidationError,\n ValidationSummary,\n ValidationResult,\n GenerateResult,\n SubmissionResult,\n // Bank account types (uses Mexico scope)\n CreateMexBankAccountInput as CreateBankAccountInput,\n UpdateMexBankAccountInput as UpdateBankAccountInput,\n} from \"@artu-ai/shared\";\n\n// ===========================\n// Base Exports (errors, utilities, base models/resources)\n// ===========================\n\nexport * from \"../../base\";\n"]}
|