@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.
Files changed (56) hide show
  1. package/README.md +131 -0
  2. package/dist/chunk-5FWX6MJJ.js +23 -0
  3. package/dist/chunk-5FWX6MJJ.js.map +1 -0
  4. package/dist/chunk-5M73AGYR.js +22163 -0
  5. package/dist/chunk-5M73AGYR.js.map +1 -0
  6. package/dist/chunk-C4N2ALDL.js +23 -0
  7. package/dist/chunk-C4N2ALDL.js.map +1 -0
  8. package/dist/chunk-CLRMY27D.js +232 -0
  9. package/dist/chunk-CLRMY27D.js.map +1 -0
  10. package/dist/chunk-FT2LSJUD.js +23 -0
  11. package/dist/chunk-FT2LSJUD.js.map +1 -0
  12. package/dist/chunk-IKDGGCJO.cjs +26 -0
  13. package/dist/chunk-IKDGGCJO.cjs.map +1 -0
  14. package/dist/chunk-J2P6EUCD.cjs +26 -0
  15. package/dist/chunk-J2P6EUCD.cjs.map +1 -0
  16. package/dist/chunk-QM2YAOGD.cjs +22316 -0
  17. package/dist/chunk-QM2YAOGD.cjs.map +1 -0
  18. package/dist/chunk-X3RBAIDU.cjs +245 -0
  19. package/dist/chunk-X3RBAIDU.cjs.map +1 -0
  20. package/dist/chunk-XO3OCPIN.cjs +26 -0
  21. package/dist/chunk-XO3OCPIN.cjs.map +1 -0
  22. package/dist/filters-BjYmxK8N.d.cts +6187 -0
  23. package/dist/filters-BjYmxK8N.d.ts +6187 -0
  24. package/dist/index-BF15okXT.d.ts +777 -0
  25. package/dist/index-DeVuMBhV.d.cts +777 -0
  26. package/dist/index.cjs +365 -0
  27. package/dist/index.cjs.map +1 -0
  28. package/dist/index.d.cts +9 -0
  29. package/dist/index.d.ts +9 -0
  30. package/dist/index.js +28 -0
  31. package/dist/index.js.map +1 -0
  32. package/dist/mexico/actividad-vulnerable/avi.cjs +310 -0
  33. package/dist/mexico/actividad-vulnerable/avi.cjs.map +1 -0
  34. package/dist/mexico/actividad-vulnerable/avi.d.cts +104 -0
  35. package/dist/mexico/actividad-vulnerable/avi.d.ts +104 -0
  36. package/dist/mexico/actividad-vulnerable/avi.js +45 -0
  37. package/dist/mexico/actividad-vulnerable/avi.js.map +1 -0
  38. package/dist/mexico/actividad-vulnerable/jys.cjs +315 -0
  39. package/dist/mexico/actividad-vulnerable/jys.cjs.map +1 -0
  40. package/dist/mexico/actividad-vulnerable/jys.d.cts +109 -0
  41. package/dist/mexico/actividad-vulnerable/jys.d.ts +109 -0
  42. package/dist/mexico/actividad-vulnerable/jys.js +50 -0
  43. package/dist/mexico/actividad-vulnerable/jys.js.map +1 -0
  44. package/dist/mexico/actividad-vulnerable/tsc.cjs +309 -0
  45. package/dist/mexico/actividad-vulnerable/tsc.cjs.map +1 -0
  46. package/dist/mexico/actividad-vulnerable/tsc.d.cts +103 -0
  47. package/dist/mexico/actividad-vulnerable/tsc.d.ts +103 -0
  48. package/dist/mexico/actividad-vulnerable/tsc.js +44 -0
  49. package/dist/mexico/actividad-vulnerable/tsc.js.map +1 -0
  50. package/dist/mexico/index.cjs +384 -0
  51. package/dist/mexico/index.cjs.map +1 -0
  52. package/dist/mexico/index.d.cts +305 -0
  53. package/dist/mexico/index.d.ts +305 -0
  54. package/dist/mexico/index.js +7 -0
  55. package/dist/mexico/index.js.map +1 -0
  56. package/package.json +77 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,365 @@
1
+ 'use strict';
2
+
3
+ var chunkX3RBAIDU_cjs = require('./chunk-X3RBAIDU.cjs');
4
+ require('./chunk-IKDGGCJO.cjs');
5
+ require('./chunk-XO3OCPIN.cjs');
6
+ require('./chunk-J2P6EUCD.cjs');
7
+ var chunkQM2YAOGD_cjs = require('./chunk-QM2YAOGD.cjs');
8
+ var shared = require('@artu-ai/shared');
9
+
10
+ // src/sdk/base.ts
11
+ function registerBaseScope() {
12
+ chunkQM2YAOGD_cjs.registerScope("base", {
13
+ clients: (config) => new chunkQM2YAOGD_cjs.ClientsResource(config),
14
+ transactions: (config) => new chunkQM2YAOGD_cjs.TransactionsResource(config),
15
+ reports: (config) => new chunkQM2YAOGD_cjs.ReportsResource(config),
16
+ bankAccounts: (config) => new chunkQM2YAOGD_cjs.BankAccountsResource(config),
17
+ addresses: (config) => new chunkQM2YAOGD_cjs.AddressesResource(config)
18
+ });
19
+ }
20
+
21
+ // src/sdk/index.ts
22
+ function initializeRegistry() {
23
+ registerBaseScope();
24
+ chunkX3RBAIDU_cjs.registerMexicoScopes();
25
+ }
26
+ initializeRegistry();
27
+
28
+ Object.defineProperty(exports, "Mexico", {
29
+ enumerable: true,
30
+ get: function () { return chunkX3RBAIDU_cjs.Mexico; }
31
+ });
32
+ Object.defineProperty(exports, "APIError", {
33
+ enumerable: true,
34
+ get: function () { return chunkQM2YAOGD_cjs.APIError; }
35
+ });
36
+ Object.defineProperty(exports, "Address", {
37
+ enumerable: true,
38
+ get: function () { return chunkQM2YAOGD_cjs.Address; }
39
+ });
40
+ Object.defineProperty(exports, "AddressesResource", {
41
+ enumerable: true,
42
+ get: function () { return chunkQM2YAOGD_cjs.AddressesResource; }
43
+ });
44
+ Object.defineProperty(exports, "BankAccount", {
45
+ enumerable: true,
46
+ get: function () { return chunkQM2YAOGD_cjs.BankAccount; }
47
+ });
48
+ Object.defineProperty(exports, "BankAccountsResource", {
49
+ enumerable: true,
50
+ get: function () { return chunkQM2YAOGD_cjs.BankAccountsResource; }
51
+ });
52
+ Object.defineProperty(exports, "BaseModel", {
53
+ enumerable: true,
54
+ get: function () { return chunkQM2YAOGD_cjs.BaseModel; }
55
+ });
56
+ Object.defineProperty(exports, "BaseResource", {
57
+ enumerable: true,
58
+ get: function () { return chunkQM2YAOGD_cjs.BaseResource; }
59
+ });
60
+ Object.defineProperty(exports, "Client", {
61
+ enumerable: true,
62
+ get: function () { return chunkQM2YAOGD_cjs.Client; }
63
+ });
64
+ Object.defineProperty(exports, "ClientsResource", {
65
+ enumerable: true,
66
+ get: function () { return chunkQM2YAOGD_cjs.ClientsResource; }
67
+ });
68
+ Object.defineProperty(exports, "ComplianceError", {
69
+ enumerable: true,
70
+ get: function () { return chunkQM2YAOGD_cjs.ComplianceError; }
71
+ });
72
+ Object.defineProperty(exports, "ComplianceSDK", {
73
+ enumerable: true,
74
+ get: function () { return chunkQM2YAOGD_cjs.ComplianceSDK; }
75
+ });
76
+ Object.defineProperty(exports, "ContactMethod", {
77
+ enumerable: true,
78
+ get: function () { return chunkQM2YAOGD_cjs.ContactMethod; }
79
+ });
80
+ Object.defineProperty(exports, "ContactMethodsResource", {
81
+ enumerable: true,
82
+ get: function () { return chunkQM2YAOGD_cjs.ContactMethodsResource; }
83
+ });
84
+ Object.defineProperty(exports, "DEFAULT_PAGE_SIZE", {
85
+ enumerable: true,
86
+ get: function () { return chunkQM2YAOGD_cjs.DEFAULT_PAGE_SIZE; }
87
+ });
88
+ Object.defineProperty(exports, "Document", {
89
+ enumerable: true,
90
+ get: function () { return chunkQM2YAOGD_cjs.Document; }
91
+ });
92
+ Object.defineProperty(exports, "DocumentsResource", {
93
+ enumerable: true,
94
+ get: function () { return chunkQM2YAOGD_cjs.DocumentsResource; }
95
+ });
96
+ Object.defineProperty(exports, "FileTooLargeError", {
97
+ enumerable: true,
98
+ get: function () { return chunkQM2YAOGD_cjs.FileTooLargeError; }
99
+ });
100
+ Object.defineProperty(exports, "ForbiddenError", {
101
+ enumerable: true,
102
+ get: function () { return chunkQM2YAOGD_cjs.ForbiddenError; }
103
+ });
104
+ Object.defineProperty(exports, "InvalidFileTypeError", {
105
+ enumerable: true,
106
+ get: function () { return chunkQM2YAOGD_cjs.InvalidFileTypeError; }
107
+ });
108
+ Object.defineProperty(exports, "MAX_PAGE_SIZE", {
109
+ enumerable: true,
110
+ get: function () { return chunkQM2YAOGD_cjs.MAX_PAGE_SIZE; }
111
+ });
112
+ Object.defineProperty(exports, "NetworkError", {
113
+ enumerable: true,
114
+ get: function () { return chunkQM2YAOGD_cjs.NetworkError; }
115
+ });
116
+ Object.defineProperty(exports, "NotFoundError", {
117
+ enumerable: true,
118
+ get: function () { return chunkQM2YAOGD_cjs.NotFoundError; }
119
+ });
120
+ Object.defineProperty(exports, "RateLimitError", {
121
+ enumerable: true,
122
+ get: function () { return chunkQM2YAOGD_cjs.RateLimitError; }
123
+ });
124
+ Object.defineProperty(exports, "ReadOnlyResource", {
125
+ enumerable: true,
126
+ get: function () { return chunkQM2YAOGD_cjs.ReadOnlyResource; }
127
+ });
128
+ Object.defineProperty(exports, "Report", {
129
+ enumerable: true,
130
+ get: function () { return chunkQM2YAOGD_cjs.Report; }
131
+ });
132
+ Object.defineProperty(exports, "ReportItem", {
133
+ enumerable: true,
134
+ get: function () { return chunkQM2YAOGD_cjs.ReportItem; }
135
+ });
136
+ Object.defineProperty(exports, "ReportsResource", {
137
+ enumerable: true,
138
+ get: function () { return chunkQM2YAOGD_cjs.ReportsResource; }
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.Transaction; }
151
+ });
152
+ Object.defineProperty(exports, "TransactionsResource", {
153
+ enumerable: true,
154
+ get: function () { return chunkQM2YAOGD_cjs.TransactionsResource; }
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, "isBankAccount", {
233
+ enumerable: true,
234
+ get: function () { return chunkQM2YAOGD_cjs.isBankAccount; }
235
+ });
236
+ Object.defineProperty(exports, "isClient", {
237
+ enumerable: true,
238
+ get: function () { return chunkQM2YAOGD_cjs.isClient; }
239
+ });
240
+ Object.defineProperty(exports, "isCompany", {
241
+ enumerable: true,
242
+ get: function () { return chunkQM2YAOGD_cjs.isCompany; }
243
+ });
244
+ Object.defineProperty(exports, "isFalse", {
245
+ enumerable: true,
246
+ get: function () { return chunkQM2YAOGD_cjs.isFalse; }
247
+ });
248
+ Object.defineProperty(exports, "isIndividual", {
249
+ enumerable: true,
250
+ get: function () { return chunkQM2YAOGD_cjs.isIndividual; }
251
+ });
252
+ Object.defineProperty(exports, "isNotNull", {
253
+ enumerable: true,
254
+ get: function () { return chunkQM2YAOGD_cjs.isNotNull; }
255
+ });
256
+ Object.defineProperty(exports, "isNull", {
257
+ enumerable: true,
258
+ get: function () { return chunkQM2YAOGD_cjs.isNull; }
259
+ });
260
+ Object.defineProperty(exports, "isReport", {
261
+ enumerable: true,
262
+ get: function () { return chunkQM2YAOGD_cjs.isReport; }
263
+ });
264
+ Object.defineProperty(exports, "isReportItem", {
265
+ enumerable: true,
266
+ get: function () { return chunkQM2YAOGD_cjs.isReportItem; }
267
+ });
268
+ Object.defineProperty(exports, "isTransaction", {
269
+ enumerable: true,
270
+ get: function () { return chunkQM2YAOGD_cjs.isTransaction; }
271
+ });
272
+ Object.defineProperty(exports, "isTrue", {
273
+ enumerable: true,
274
+ get: function () { return chunkQM2YAOGD_cjs.isTrue; }
275
+ });
276
+ Object.defineProperty(exports, "isTrust", {
277
+ enumerable: true,
278
+ get: function () { return chunkQM2YAOGD_cjs.isTrust; }
279
+ });
280
+ Object.defineProperty(exports, "isUploadError", {
281
+ enumerable: true,
282
+ get: function () { return chunkQM2YAOGD_cjs.isUploadError; }
283
+ });
284
+ Object.defineProperty(exports, "lessThan", {
285
+ enumerable: true,
286
+ get: function () { return chunkQM2YAOGD_cjs.lessThan; }
287
+ });
288
+ Object.defineProperty(exports, "mapTRPCError", {
289
+ enumerable: true,
290
+ get: function () { return chunkQM2YAOGD_cjs.mapTRPCError; }
291
+ });
292
+ Object.defineProperty(exports, "notEquals", {
293
+ enumerable: true,
294
+ get: function () { return chunkQM2YAOGD_cjs.notEquals; }
295
+ });
296
+ Object.defineProperty(exports, "notOneOf", {
297
+ enumerable: true,
298
+ get: function () { return chunkQM2YAOGD_cjs.notOneOf; }
299
+ });
300
+ Object.defineProperty(exports, "numberRange", {
301
+ enumerable: true,
302
+ get: function () { return chunkQM2YAOGD_cjs.numberRange; }
303
+ });
304
+ Object.defineProperty(exports, "onOrAfter", {
305
+ enumerable: true,
306
+ get: function () { return chunkQM2YAOGD_cjs.onOrAfter; }
307
+ });
308
+ Object.defineProperty(exports, "onOrBefore", {
309
+ enumerable: true,
310
+ get: function () { return chunkQM2YAOGD_cjs.onOrBefore; }
311
+ });
312
+ Object.defineProperty(exports, "oneOf", {
313
+ enumerable: true,
314
+ get: function () { return chunkQM2YAOGD_cjs.oneOf; }
315
+ });
316
+ Object.defineProperty(exports, "startsWith", {
317
+ enumerable: true,
318
+ get: function () { return chunkQM2YAOGD_cjs.startsWith; }
319
+ });
320
+ Object.defineProperty(exports, "AddressType", {
321
+ enumerable: true,
322
+ get: function () { return shared.AddressType; }
323
+ });
324
+ Object.defineProperty(exports, "BankAccountType", {
325
+ enumerable: true,
326
+ get: function () { return shared.BankAccountType; }
327
+ });
328
+ Object.defineProperty(exports, "ClientType", {
329
+ enumerable: true,
330
+ get: function () { return shared.ClientType; }
331
+ });
332
+ Object.defineProperty(exports, "ContactMethodType", {
333
+ enumerable: true,
334
+ get: function () { return shared.ContactMethodType; }
335
+ });
336
+ Object.defineProperty(exports, "Country", {
337
+ enumerable: true,
338
+ get: function () { return shared.Country; }
339
+ });
340
+ Object.defineProperty(exports, "Currency", {
341
+ enumerable: true,
342
+ get: function () { return shared.Currency; }
343
+ });
344
+ Object.defineProperty(exports, "DocumentCategory", {
345
+ enumerable: true,
346
+ get: function () { return shared.DocumentCategory; }
347
+ });
348
+ Object.defineProperty(exports, "DocumentStatus", {
349
+ enumerable: true,
350
+ get: function () { return shared.DocumentStatus; }
351
+ });
352
+ Object.defineProperty(exports, "Jurisdiction", {
353
+ enumerable: true,
354
+ get: function () { return shared.Jurisdiction; }
355
+ });
356
+ Object.defineProperty(exports, "ReportStatus", {
357
+ enumerable: true,
358
+ get: function () { return shared.ReportStatus; }
359
+ });
360
+ Object.defineProperty(exports, "TransactionStatus", {
361
+ enumerable: true,
362
+ get: function () { return shared.TransactionStatus; }
363
+ });
364
+ //# sourceMappingURL=index.cjs.map
365
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sdk/base.ts","../src/sdk/index.ts"],"names":["registerScope","ClientsResource","TransactionsResource","ReportsResource","BankAccountsResource","AddressesResource","registerMexicoScopes"],"mappings":";;;;;;;;;;AAkCO,SAAS,iBAAA,GAA0B;AACxC,EAAAA,+BAAA,CAAc,MAAA,EAAQ;AAAA,IACpB,OAAA,EAAS,CAAC,MAAA,KAAW,IAAIC,kCAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAIC,uCAAqB,MAAM,CAAA;AAAA,IACzD,OAAA,EAAS,CAAC,MAAA,KAAW,IAAIC,kCAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAIC,uCAAqB,MAAM,CAAA;AAAA,IACzD,SAAA,EAAW,CAAC,MAAA,KAAW,IAAIC,oCAAkB,MAAM;AAAA,GACpD,CAAA;AACH;;;AC8BO,SAAS,kBAAA,GAA2B;AACzC,EAAA,iBAAA,EAAkB;AAClB,EAAAC,sCAAA,EAAqB;AACvB;AAGA,kBAAA,EAAmB","file":"index.cjs","sourcesContent":["/**\n * Base SDK Types & Registration\n *\n * Unscoped/default SDK types and resource factory registration.\n */\n\nimport type { ComplianceSDKOptionsBase } from \"./types\";\nimport {\n ClientsResource,\n TransactionsResource,\n ReportsResource,\n BankAccountsResource,\n AddressesResource,\n} from \"../resources\";\nimport { registerScope } from \"./resource-registry\";\n\n// ===========================\n// SDK Options\n// ===========================\n\n/**\n * Options for creating an unscoped SDK\n */\nexport interface UnscopedSDKOptions extends ComplianceSDKOptionsBase {\n jurisdiction?: undefined;\n}\n\n// ===========================\n// Registration\n// ===========================\n\n/**\n * Registers the base (unscoped) resource factories\n */\nexport function registerBaseScope(): void {\n registerScope(\"base\", {\n clients: (config) => new ClientsResource(config),\n transactions: (config) => new TransactionsResource(config),\n reports: (config) => new ReportsResource(config),\n bankAccounts: (config) => new BankAccountsResource(config),\n addresses: (config) => new AddressesResource(config),\n });\n}\n","/**\n * SDK Core Module\n *\n * Core SDK infrastructure including types, registry, and scope registrations.\n * Organized by jurisdiction with barrel exports.\n */\n\n// ===========================\n// Core Types\n// ===========================\n\nexport {\n type Environment,\n type ComplianceSDKOptionsBase,\n type SDKScope,\n type SDKScopeBase,\n type SDKScopeMexico,\n isMexicoScope,\n buildScope,\n} from \"./types\";\n\n// ===========================\n// Registry\n// ===========================\n\nexport {\n type ResourceFactory,\n type ScopeResourceFactories,\n registerScope,\n getResourceFactories,\n getScopeKey,\n hasScope,\n getRegisteredScopes,\n clearRegistry,\n} from \"./resource-registry\";\n\n// ===========================\n// Base (Unscoped)\n// ===========================\n\nexport { type UnscopedSDKOptions, registerBaseScope } from \"./base\";\n\n// ===========================\n// Mexico\n// ===========================\n\nexport {\n // Types\n type ComplianceSDKOptionsMexico,\n type MexicoSDKOptions,\n type MexicoComplianceSDK,\n type AVISDKOptions,\n type AVIComplianceSDK,\n type JYSSDKOptions,\n type JYSComplianceSDK,\n type TSCSDKOptions,\n type TSCComplianceSDK,\n // Registration\n registerMexicoScopes,\n} from \"./mex\";\n\n// ===========================\n// Initialize All Scopes\n// ===========================\n\nimport { registerBaseScope } from \"./base\";\nimport { registerMexicoScopes } from \"./mex\";\n\n/**\n * Registers all SDK scopes.\n * Called automatically when the SDK module is imported.\n */\nexport function initializeRegistry(): void {\n registerBaseScope();\n registerMexicoScopes();\n}\n\n// Auto-initialize on import\ninitializeRegistry();\n\n// ===========================\n// ComplianceSDK\n// ===========================\n\nexport {\n ComplianceSDK,\n ComplianceSDKImpl,\n type ComplianceSDKOptions,\n type ComplianceSDKConstructor,\n type UnscopedComplianceSDK,\n} from \"./ComplianceSDK\";\n"]}
@@ -0,0 +1,9 @@
1
+ export { r as APIError, bk as AddItemsResult, ab as Address, ac as AddressData, ah as AddressesResource, bu as BankAccount, bv as BankAccountData, by as BankAccountModel, bi as BankAccountsResource, bl as BaseModel, bd as BaseResource, bm as Client, bn as ClientData, bw as ClientModel, bg as ClientsResource, n as ComplianceError, p as ComplianceErrorJSON, o as ComplianceErrorOptions, b9 as ComplianceSDK, bb as ComplianceSDKConstructor, ba as ComplianceSDKOptions, 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, be as ReadOnlyResource, bq as Report, br as ReportData, bs as ReportItem, bt as ReportItemData, bA as ReportItemModel, bz as ReportModel, bj as ReportsResource, bf as ResourceConfig, bc as SDKScope, S as ServerError, T as TimeoutError, bo as Transaction, bp as TransactionData, bx as TransactionModel, bh as TransactionsResource, U as UnauthorizedError, 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, bG as isBankAccount, bB as isClient, bD as isCompany, a8 as isFalse, bC as isIndividual, aa as isNotNull, a9 as isNull, bH as isReport, bI as isReportItem, bF as isTransaction, a7 as isTrue, bE as isTrust, 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';
2
+ export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, Address as AddressSchema, AddressType, BankAccountFilter, BankAccount as BankAccountSchema, BankAccountType, BaseClient, BaseTransaction, BatchResult, ClientFilter, ClientRole, ClientType, ContactMethod as ContactMethodSchema, ContactMethodType, Country, CountryIso2, CountryIso3, CreateAddressInput, CreateBankAccountInput, CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateReportInput, CreateReportItemInput, CreateTransactionInput, Currency, CurrencyCode, DocumentCategory, DocumentFilter, Document as DocumentSchema, DocumentStatus, GenerateResult, IterateOptions, Jurisdiction, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, RelatedClient, ReportFilter, ReportItemFilter, ReportItem as ReportItemSchema, Report as ReportSchema, ReportStatus, ReportValidationError, SubmissionResult, TransactionFilter, TransactionStatus, UpdateAddressInput, UpdateBankAccountInput, UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateReportInput, UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
3
+ export { t as Mexico } from './index-DeVuMBhV.cjs';
4
+ import '@trpc/client';
5
+ import 'zod';
6
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index';
7
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index';
8
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index';
9
+ import 'zod/v4/core';
@@ -0,0 +1,9 @@
1
+ export { r as APIError, bk as AddItemsResult, ab as Address, ac as AddressData, ah as AddressesResource, bu as BankAccount, bv as BankAccountData, by as BankAccountModel, bi as BankAccountsResource, bl as BaseModel, bd as BaseResource, bm as Client, bn as ClientData, bw as ClientModel, bg as ClientsResource, n as ComplianceError, p as ComplianceErrorJSON, o as ComplianceErrorOptions, b9 as ComplianceSDK, bb as ComplianceSDKConstructor, ba as ComplianceSDKOptions, 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, be as ReadOnlyResource, bq as Report, br as ReportData, bs as ReportItem, bt as ReportItemData, bA as ReportItemModel, bz as ReportModel, bj as ReportsResource, bf as ResourceConfig, bc as SDKScope, S as ServerError, T as TimeoutError, bo as Transaction, bp as TransactionData, bx as TransactionModel, bh as TransactionsResource, U as UnauthorizedError, 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, bG as isBankAccount, bB as isClient, bD as isCompany, a8 as isFalse, bC as isIndividual, aa as isNotNull, a9 as isNull, bH as isReport, bI as isReportItem, bF as isTransaction, a7 as isTrue, bE as isTrust, 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';
2
+ export { APIError as APIErrorResponse, APIValidationError as APIValidationErrorResponse, Address as AddressSchema, AddressType, BankAccountFilter, BankAccount as BankAccountSchema, BankAccountType, BaseClient, BaseTransaction, BatchResult, ClientFilter, ClientRole, ClientType, ContactMethod as ContactMethodSchema, ContactMethodType, Country, CountryIso2, CountryIso3, CreateAddressInput, CreateBankAccountInput, CreateClientInput, CreateContactMethodInput, CreateDocumentInput, CreateReportInput, CreateReportItemInput, CreateTransactionInput, Currency, CurrencyCode, DocumentCategory, DocumentFilter, Document as DocumentSchema, DocumentStatus, GenerateResult, IterateOptions, Jurisdiction, ListOptions, PaginatedResponse, PaginationInput, PaginationMeta, RelatedClient, ReportFilter, ReportItemFilter, ReportItem as ReportItemSchema, Report as ReportSchema, ReportStatus, ReportValidationError, SubmissionResult, TransactionFilter, TransactionStatus, UpdateAddressInput, UpdateBankAccountInput, UpdateClientInput, UpdateContactMethodInput, UpdateDocumentInput, UpdateReportInput, UpdateTransactionInput, ValidationResult, ValidationSummary } from '@artu-ai/shared';
3
+ export { t as Mexico } from './index-BF15okXT.js';
4
+ import '@trpc/client';
5
+ import 'zod';
6
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index';
7
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index';
8
+ import '@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index';
9
+ import 'zod/v4/core';
package/dist/index.js ADDED
@@ -0,0 +1,28 @@
1
+ import { registerMexicoScopes } from './chunk-CLRMY27D.js';
2
+ export { Mexico } from './chunk-CLRMY27D.js';
3
+ import './chunk-C4N2ALDL.js';
4
+ import './chunk-FT2LSJUD.js';
5
+ import './chunk-5FWX6MJJ.js';
6
+ import { registerScope, AddressesResource, BankAccountsResource, ReportsResource, TransactionsResource, ClientsResource } from './chunk-5M73AGYR.js';
7
+ export { APIError, Address, AddressesResource, BankAccount, BankAccountsResource, BaseModel, BaseResource, Client, ClientsResource, ComplianceError, ComplianceSDK, ContactMethod, ContactMethodsResource, DEFAULT_PAGE_SIZE, Document, DocumentsResource, FileTooLargeError, ForbiddenError, InvalidFileTypeError, MAX_PAGE_SIZE, NetworkError, NotFoundError, RateLimitError, ReadOnlyResource, Report, ReportItem, ReportsResource, ServerError, TimeoutError, Transaction, TransactionsResource, UnauthorizedError, UploadAbortedError, UploadError, UploadTimeoutError, UploadUrlExpiredError, ValidationError, after, atLeast, atMost, before, collectAll, collectUpTo, contains, dateRange, endsWith, equals, getFirst, greaterThan, isAPIError, isBankAccount, isClient, isCompany, isFalse, isIndividual, isNotNull, isNull, isReport, isReportItem, isTransaction, isTrue, isTrust, isUploadError, lessThan, mapTRPCError, notEquals, notOneOf, numberRange, onOrAfter, onOrBefore, oneOf, startsWith } from './chunk-5M73AGYR.js';
8
+ export { AddressType, BankAccountType, ClientType, ContactMethodType, Country, Currency, DocumentCategory, DocumentStatus, Jurisdiction, ReportStatus, TransactionStatus } from '@artu-ai/shared';
9
+
10
+ // src/sdk/base.ts
11
+ function registerBaseScope() {
12
+ registerScope("base", {
13
+ clients: (config) => new ClientsResource(config),
14
+ transactions: (config) => new TransactionsResource(config),
15
+ reports: (config) => new ReportsResource(config),
16
+ bankAccounts: (config) => new BankAccountsResource(config),
17
+ addresses: (config) => new AddressesResource(config)
18
+ });
19
+ }
20
+
21
+ // src/sdk/index.ts
22
+ function initializeRegistry() {
23
+ registerBaseScope();
24
+ registerMexicoScopes();
25
+ }
26
+ initializeRegistry();
27
+ //# sourceMappingURL=index.js.map
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sdk/base.ts","../src/sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;AAkCO,SAAS,iBAAA,GAA0B;AACxC,EAAA,aAAA,CAAc,MAAA,EAAQ;AAAA,IACpB,OAAA,EAAS,CAAC,MAAA,KAAW,IAAI,gBAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAI,qBAAqB,MAAM,CAAA;AAAA,IACzD,OAAA,EAAS,CAAC,MAAA,KAAW,IAAI,gBAAgB,MAAM,CAAA;AAAA,IAC/C,YAAA,EAAc,CAAC,MAAA,KAAW,IAAI,qBAAqB,MAAM,CAAA;AAAA,IACzD,SAAA,EAAW,CAAC,MAAA,KAAW,IAAI,kBAAkB,MAAM;AAAA,GACpD,CAAA;AACH;;;AC8BO,SAAS,kBAAA,GAA2B;AACzC,EAAA,iBAAA,EAAkB;AAClB,EAAA,oBAAA,EAAqB;AACvB;AAGA,kBAAA,EAAmB","file":"index.js","sourcesContent":["/**\n * Base SDK Types & Registration\n *\n * Unscoped/default SDK types and resource factory registration.\n */\n\nimport type { ComplianceSDKOptionsBase } from \"./types\";\nimport {\n ClientsResource,\n TransactionsResource,\n ReportsResource,\n BankAccountsResource,\n AddressesResource,\n} from \"../resources\";\nimport { registerScope } from \"./resource-registry\";\n\n// ===========================\n// SDK Options\n// ===========================\n\n/**\n * Options for creating an unscoped SDK\n */\nexport interface UnscopedSDKOptions extends ComplianceSDKOptionsBase {\n jurisdiction?: undefined;\n}\n\n// ===========================\n// Registration\n// ===========================\n\n/**\n * Registers the base (unscoped) resource factories\n */\nexport function registerBaseScope(): void {\n registerScope(\"base\", {\n clients: (config) => new ClientsResource(config),\n transactions: (config) => new TransactionsResource(config),\n reports: (config) => new ReportsResource(config),\n bankAccounts: (config) => new BankAccountsResource(config),\n addresses: (config) => new AddressesResource(config),\n });\n}\n","/**\n * SDK Core Module\n *\n * Core SDK infrastructure including types, registry, and scope registrations.\n * Organized by jurisdiction with barrel exports.\n */\n\n// ===========================\n// Core Types\n// ===========================\n\nexport {\n type Environment,\n type ComplianceSDKOptionsBase,\n type SDKScope,\n type SDKScopeBase,\n type SDKScopeMexico,\n isMexicoScope,\n buildScope,\n} from \"./types\";\n\n// ===========================\n// Registry\n// ===========================\n\nexport {\n type ResourceFactory,\n type ScopeResourceFactories,\n registerScope,\n getResourceFactories,\n getScopeKey,\n hasScope,\n getRegisteredScopes,\n clearRegistry,\n} from \"./resource-registry\";\n\n// ===========================\n// Base (Unscoped)\n// ===========================\n\nexport { type UnscopedSDKOptions, registerBaseScope } from \"./base\";\n\n// ===========================\n// Mexico\n// ===========================\n\nexport {\n // Types\n type ComplianceSDKOptionsMexico,\n type MexicoSDKOptions,\n type MexicoComplianceSDK,\n type AVISDKOptions,\n type AVIComplianceSDK,\n type JYSSDKOptions,\n type JYSComplianceSDK,\n type TSCSDKOptions,\n type TSCComplianceSDK,\n // Registration\n registerMexicoScopes,\n} from \"./mex\";\n\n// ===========================\n// Initialize All Scopes\n// ===========================\n\nimport { registerBaseScope } from \"./base\";\nimport { registerMexicoScopes } from \"./mex\";\n\n/**\n * Registers all SDK scopes.\n * Called automatically when the SDK module is imported.\n */\nexport function initializeRegistry(): void {\n registerBaseScope();\n registerMexicoScopes();\n}\n\n// Auto-initialize on import\ninitializeRegistry();\n\n// ===========================\n// ComplianceSDK\n// ===========================\n\nexport {\n ComplianceSDK,\n ComplianceSDKImpl,\n type ComplianceSDKOptions,\n type ComplianceSDKConstructor,\n type UnscopedComplianceSDK,\n} from \"./ComplianceSDK\";\n"]}