@verifiquemos/sdk 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4,10 +4,10 @@ interface components {
4
4
  schemas: {
5
5
  /** AcceptedUserResponse */
6
6
  AcceptedUserResponse: {
7
- /** Id */
8
- id: string;
9
7
  /** Email */
10
8
  email: string;
9
+ /** Id */
10
+ id: string;
11
11
  /** Name */
12
12
  name: string;
13
13
  /** Role */
@@ -15,10 +15,10 @@ interface components {
15
15
  };
16
16
  /** AnalystSummary */
17
17
  AnalystSummary: {
18
- /** User Id */
19
- user_id: string;
20
18
  /** Full Name */
21
19
  full_name: string;
20
+ /** User Id */
21
+ user_id: string;
22
22
  /** Validations Count */
23
23
  validations_count: number;
24
24
  };
@@ -29,21 +29,21 @@ interface components {
29
29
  };
30
30
  /** ApiKeyCreatedResponse */
31
31
  ApiKeyCreatedResponse: {
32
+ /**
33
+ * Created At
34
+ * Format: date-time
35
+ */
36
+ created_at: string;
32
37
  /** Id */
33
38
  id: string;
34
- /** Name */
35
- name: string;
39
+ /** Is Active */
40
+ is_active: boolean;
36
41
  /** Key */
37
42
  key: string;
38
43
  /** Key Prefix */
39
44
  key_prefix: string;
40
- /** Is Active */
41
- is_active: boolean;
42
- /**
43
- * Created At
44
- * Format: date-time
45
- */
46
- created_at: string;
45
+ /** Name */
46
+ name: string;
47
47
  };
48
48
  /** ApiKeyListResponse */
49
49
  ApiKeyListResponse: {
@@ -52,21 +52,21 @@ interface components {
52
52
  };
53
53
  /** ApiKeySummary */
54
54
  ApiKeySummary: {
55
+ /**
56
+ * Created At
57
+ * Format: date-time
58
+ */
59
+ created_at: string;
55
60
  /** Id */
56
61
  id: string;
57
- /** Name */
58
- name: string;
62
+ /** Is Active */
63
+ is_active: boolean;
59
64
  /** Key Prefix */
60
65
  key_prefix: string;
61
66
  /** Last Used At */
62
67
  last_used_at: string | null;
63
- /** Is Active */
64
- is_active: boolean;
65
- /**
66
- * Created At
67
- * Format: date-time
68
- */
69
- created_at: string;
68
+ /** Name */
69
+ name: string;
70
70
  };
71
71
  /** AppModeRequest */
72
72
  AppModeRequest: {
@@ -83,172 +83,158 @@ interface components {
83
83
  };
84
84
  /** AuditEntry */
85
85
  AuditEntry: {
86
- /** Id */
87
- id: string;
88
- /** User Id */
89
- user_id: string | null;
90
86
  /** Action */
91
87
  action: string;
92
- /** Entity Type */
93
- entity_type: string | null;
94
- /** Entity Id */
95
- entity_id: string | null;
96
- /** Ip Address */
97
- ip_address: string | null;
98
- /** Details */
99
- details: {
100
- [key: string]: unknown;
101
- } | null;
102
88
  /**
103
89
  * Created At
104
90
  * Format: date-time
105
91
  */
106
92
  created_at: string;
93
+ /** Details */
94
+ details: {
95
+ [key: string]: unknown;
96
+ } | null;
97
+ /** Entity Id */
98
+ entity_id: string | null;
99
+ /** Entity Type */
100
+ entity_type: string | null;
101
+ /** Id */
102
+ id: string;
103
+ /** Ip Address */
104
+ ip_address: string | null;
105
+ /** User Id */
106
+ user_id: string | null;
107
107
  };
108
108
  /** AuditLogResponse */
109
109
  AuditLogResponse: {
110
110
  /** Items */
111
111
  items: components["schemas"]["AuditEntry"][];
112
- /** Total */
113
- total: number;
114
- /** Page */
115
- page: number;
116
112
  /** Limit */
117
113
  limit: number;
118
- };
119
- /** AuthResponse */
120
- AuthResponse: {
121
- /** Access Token */
122
- access_token: string;
123
- /** Refresh Token */
124
- refresh_token: string;
125
- /**
126
- * Token Type
127
- * @default bearer
128
- */
129
- token_type: string;
130
- user: components["schemas"]["UserResponse"];
131
- tenant: components["schemas"]["TenantResponse"];
114
+ /** Page */
115
+ page: number;
116
+ /** Total */
117
+ total: number;
132
118
  };
133
119
  /** BalanceResponse */
134
120
  BalanceResponse: {
135
- /** Tenant Id */
136
- tenant_id: string;
137
121
  /** Credit Balance */
138
122
  credit_balance: number;
139
123
  /** Plan */
140
124
  plan: string;
125
+ /** Tenant Id */
126
+ tenant_id: string;
141
127
  };
142
128
  /** BatchCancelResponse */
143
129
  BatchCancelResponse: {
130
+ /** Already Terminal */
131
+ already_terminal: boolean;
144
132
  /** Batch Id */
145
133
  batch_id: string;
146
134
  /** Status */
147
135
  status: string;
148
- /** Already Terminal */
149
- already_terminal: boolean;
150
136
  };
151
137
  /** BatchCreatedResponse */
152
138
  BatchCreatedResponse: {
153
139
  /** Batch Id */
154
140
  batch_id: string;
155
- /** Total Rows */
156
- total_rows: number;
157
141
  /** Status */
158
142
  status: string;
143
+ /** Total Rows */
144
+ total_rows: number;
159
145
  };
160
146
  /** BatchDetailResponse */
161
147
  BatchDetailResponse: {
162
- /** Id */
163
- id: string;
164
- /** Status */
165
- status: string;
166
- /** Total Rows */
167
- total_rows: number;
148
+ /** Completed At */
149
+ completed_at?: string | null;
168
150
  /** Completed Count */
169
151
  completed_count: number;
170
- /** Failed Count */
171
- failed_count: number;
172
152
  /**
173
153
  * Created At
174
154
  * Format: date-time
175
155
  */
176
156
  created_at: string;
177
- /** Completed At */
178
- completed_at?: string | null;
157
+ /** Failed Count */
158
+ failed_count: number;
159
+ /** Id */
160
+ id: string;
179
161
  /** Items */
180
162
  items: components["schemas"]["BatchItemResponse"][];
163
+ /** Status */
164
+ status: string;
165
+ /** Total Rows */
166
+ total_rows: number;
181
167
  };
182
168
  /** BatchItemResponse */
183
169
  BatchItemResponse: {
170
+ /** Dpi Filename */
171
+ dpi_filename?: string | null;
172
+ /** Error Message */
173
+ error_message?: string | null;
184
174
  /** Id */
185
175
  id: string;
186
176
  /** Row Number */
187
177
  row_number: number;
188
- /** Dpi Filename */
189
- dpi_filename?: string | null;
190
- /** Validation Id */
191
- validation_id?: string | null;
192
178
  /** Status */
193
179
  status: string;
194
- /** Error Message */
195
- error_message?: string | null;
180
+ /** Validation Id */
181
+ validation_id?: string | null;
196
182
  };
197
183
  /** BatchListResponse */
198
184
  BatchListResponse: {
199
185
  /** Items */
200
186
  items: components["schemas"]["BatchSummary"][];
201
- /** Total */
202
- total: number;
203
- /** Page */
204
- page: number;
205
187
  /** Limit */
206
188
  limit: number;
189
+ /** Page */
190
+ page: number;
191
+ /** Total */
192
+ total: number;
207
193
  };
208
194
  /** BatchSummary */
209
195
  BatchSummary: {
210
- /** Id */
211
- id: string;
212
- /** Status */
213
- status: string;
214
- /** Total Rows */
215
- total_rows: number;
196
+ /** Completed At */
197
+ completed_at?: string | null;
216
198
  /** Completed Count */
217
199
  completed_count: number;
218
- /** Failed Count */
219
- failed_count: number;
220
200
  /**
221
201
  * Created At
222
202
  * Format: date-time
223
203
  */
224
204
  created_at: string;
225
- /** Completed At */
226
- completed_at?: string | null;
205
+ /** Failed Count */
206
+ failed_count: number;
207
+ /** Id */
208
+ id: string;
209
+ /** Status */
210
+ status: string;
211
+ /** Total Rows */
212
+ total_rows: number;
227
213
  };
228
214
  /** Body_create_validation_api_v1_validations_post */
229
215
  Body_create_validation_api_v1_validations_post: {
230
216
  /** Dpi File */
231
217
  dpi_file: string;
218
+ /** Feic Anexo File */
219
+ feic_anexo_file?: string | null;
220
+ /** Feic Data Manual */
221
+ feic_data_manual?: string | null;
222
+ /** Feic File */
223
+ feic_file?: string | null;
232
224
  /** Naturaleza Cliente */
233
225
  naturaleza_cliente: string;
226
+ /** Notes */
227
+ notes?: string | null;
234
228
  /**
235
- * Pais Origen Fondos
229
+ * Pais Destino Fondos
236
230
  * @default GTM
237
231
  */
238
- pais_origen_fondos: string;
232
+ pais_destino_fondos: string;
239
233
  /**
240
- * Pais Destino Fondos
234
+ * Pais Origen Fondos
241
235
  * @default GTM
242
236
  */
243
- pais_destino_fondos: string;
244
- /** Feic File */
245
- feic_file?: string | null;
246
- /** Feic Anexo File */
247
- feic_anexo_file?: string | null;
248
- /** Feic Data Manual */
249
- feic_data_manual?: string | null;
250
- /** Notes */
251
- notes?: string | null;
237
+ pais_origen_fondos: string;
252
238
  };
253
239
  /** Body_submit_batch_api_v1_validations_batch_post */
254
240
  Body_submit_batch_api_v1_validations_batch_post: {
@@ -259,56 +245,93 @@ interface components {
259
245
  };
260
246
  /** Body_upload_list_file_api_v1_lists_upload_post */
261
247
  Body_upload_list_file_api_v1_lists_upload_post: {
262
- /** List Type */
263
- list_type: string;
264
248
  /** File */
265
249
  file: string;
250
+ /** List Type */
251
+ list_type: string;
252
+ };
253
+ /** ChangePasswordRequest */
254
+ ChangePasswordRequest: {
255
+ /** Current Password */
256
+ current_password: string;
257
+ /** New Password */
258
+ new_password: string;
259
+ };
260
+ /** ConsolidatedConditionsOut */
261
+ ConsolidatedConditionsOut: {
262
+ cpe: components["schemas"]["SpecialConditionFlagOut"];
263
+ /** Fideicomiso */
264
+ fideicomiso: boolean;
265
+ /** Ong */
266
+ ong: boolean;
267
+ pep: components["schemas"]["SpecialConditionFlagOut"];
268
+ };
269
+ /** CountriesResponse */
270
+ CountriesResponse: {
271
+ /** Countries */
272
+ countries: components["schemas"]["CountryOut"][];
273
+ };
274
+ /** CountryOut */
275
+ CountryOut: {
276
+ /** Code */
277
+ code: string;
278
+ /** Name */
279
+ name: string;
280
+ };
281
+ /** CountrySanctionsOut */
282
+ CountrySanctionsOut: {
283
+ /** Country Code */
284
+ country_code: string;
285
+ /** Country Name */
286
+ country_name: string;
287
+ /** Sanctions */
288
+ sanctions: components["schemas"]["SanctionItem"][];
266
289
  };
267
290
  /** DashboardKpis */
268
291
  DashboardKpis: {
269
- /** Total Validations */
270
- total_validations: number;
292
+ /** Avg Score */
293
+ avg_score: number | null;
294
+ /** Cancelled Count */
295
+ cancelled_count: number;
271
296
  /** Completed Count */
272
297
  completed_count: number;
273
298
  /** Failed Count */
274
299
  failed_count: number;
275
300
  /** Processing Count */
276
301
  processing_count: number;
277
- /** Cancelled Count */
278
- cancelled_count: number;
279
- /** Avg Score */
280
- avg_score: number | null;
302
+ /** Total Validations */
303
+ total_validations: number;
281
304
  /** Total Validations Prev Period */
282
305
  total_validations_prev_period: number;
283
306
  };
284
307
  /** DashboardResponse */
285
308
  DashboardResponse: {
309
+ /** Alerts */
310
+ alerts: components["schemas"]["ValidationAlert"][];
311
+ kpis: components["schemas"]["DashboardKpis"];
286
312
  /** Period */
287
313
  period: string;
288
- kpis: components["schemas"]["DashboardKpis"];
289
- /** Trends */
290
- trends: components["schemas"]["TrendPoint"][];
291
314
  /** Risk Distribution */
292
315
  risk_distribution: components["schemas"]["RiskBucket"][];
293
316
  /** Top Analysts */
294
317
  top_analysts: components["schemas"]["AnalystSummary"][];
295
- /** Alerts */
296
- alerts: components["schemas"]["ValidationAlert"][];
318
+ /** Trends */
319
+ trends: components["schemas"]["TrendPoint"][];
297
320
  };
298
321
  /** ETLJobSummary */
299
322
  ETLJobSummary: {
323
+ /** Completed At */
324
+ completed_at?: string | null;
300
325
  /** Id */
301
326
  id: string;
302
327
  /** List Type */
303
328
  list_type: string;
304
- /** Status */
305
- status: string;
306
329
  /** Records Imported */
307
330
  records_imported?: number | null;
308
331
  /** Started At */
309
332
  started_at?: string | null;
310
- /** Completed At */
311
- completed_at?: string | null;
333
+ /** Status */
334
+ status: string;
312
335
  };
313
336
  /** ForgotPasswordRequest */
314
337
  ForgotPasswordRequest: {
@@ -327,31 +350,31 @@ interface components {
327
350
  HistoryResponse: {
328
351
  /** Items */
329
352
  items: components["schemas"]["LedgerEntryResponse"][];
330
- /** Total */
331
- total: number;
332
- /** Page */
333
- page: number;
334
353
  /** Limit */
335
354
  limit: number;
355
+ /** Page */
356
+ page: number;
357
+ /** Total */
358
+ total: number;
336
359
  };
337
360
  /** InternetResultResponse */
338
361
  InternetResultResponse: {
362
+ /** Category */
363
+ category?: string | null;
364
+ /** Risk Level */
365
+ risk_level?: string | null;
366
+ /** Sentiment */
367
+ sentiment?: string | null;
368
+ /** Snippet */
369
+ snippet?: string | null;
339
370
  /** Source */
340
371
  source?: string | null;
372
+ /** Summary */
373
+ summary?: string | null;
341
374
  /** Title */
342
375
  title?: string | null;
343
376
  /** Url */
344
377
  url?: string | null;
345
- /** Snippet */
346
- snippet?: string | null;
347
- /** Sentiment */
348
- sentiment?: string | null;
349
- /** Risk Level */
350
- risk_level?: string | null;
351
- /** Summary */
352
- summary?: string | null;
353
- /** Category */
354
- category?: string | null;
355
378
  };
356
379
  /** InviteAcceptRequest */
357
380
  InviteAcceptRequest: {
@@ -388,77 +411,96 @@ interface components {
388
411
  InvitePreviewResponse: {
389
412
  /** Email */
390
413
  email: string;
391
- /** Role */
392
- role: string;
393
- /** Tenant Name */
394
- tenant_name: string;
395
414
  /**
396
415
  * Expires At
397
416
  * Format: date-time
398
417
  */
399
418
  expires_at: string;
419
+ /** Role */
420
+ role: string;
421
+ /** Tenant Name */
422
+ tenant_name: string;
400
423
  };
401
424
  /** InviteSummary */
402
425
  InviteSummary: {
403
- /** Id */
404
- id: string;
426
+ /** Accepted At */
427
+ accepted_at: string | null;
428
+ /**
429
+ * Created At
430
+ * Format: date-time
431
+ */
432
+ created_at: string;
405
433
  /** Email */
406
434
  email: string;
407
- /** Role */
408
- role: string;
409
- /** Invited By */
410
- invited_by: string;
411
435
  /**
412
436
  * Expires At
413
437
  * Format: date-time
414
438
  */
415
439
  expires_at: string;
416
- /** Accepted At */
417
- accepted_at: string | null;
440
+ /** Id */
441
+ id: string;
442
+ /** Invited By */
443
+ invited_by: string;
444
+ /** Role */
445
+ role: string;
446
+ };
447
+ /** IpAllowlistSettings */
448
+ IpAllowlistSettings: {
449
+ /** Ip Allowlist */
450
+ ip_allowlist: string[];
418
451
  /**
419
- * Created At
420
- * Format: date-time
452
+ * Ip Enforcement Mode
453
+ * @enum {string}
421
454
  */
422
- created_at: string;
455
+ ip_enforcement_mode: "disabled" | "audit_only" | "enforce";
423
456
  };
424
457
  /** LedgerEntryResponse */
425
458
  LedgerEntryResponse: {
426
- /** Id */
427
- id: string;
428
- /** Delta */
429
- delta: number;
430
459
  /** Balance After */
431
460
  balance_after: number;
432
- /** Reason */
433
- reason: string;
434
- /** Validation Id */
435
- validation_id?: string | null;
436
461
  /**
437
462
  * Created At
438
463
  * Format: date-time
439
464
  */
440
465
  created_at: string;
466
+ /** Delta */
467
+ delta: number;
468
+ /** Id */
469
+ id: string;
470
+ /** Reason */
471
+ reason: string;
472
+ /** Validation Id */
473
+ validation_id?: string | null;
474
+ };
475
+ /** ListMatchSummaryOut */
476
+ ListMatchSummaryOut: {
477
+ /** Matched Name */
478
+ matched_name: string;
479
+ /** Reference */
480
+ reference: string;
481
+ /** Similarity */
482
+ similarity: number;
441
483
  };
442
484
  /** ListResultResponse */
443
485
  ListResultResponse: {
444
- /** List Type */
445
- list_type: string;
446
486
  /** Found */
447
487
  found: boolean;
448
- /** Match Type */
449
- match_type?: string | null;
450
- /** Match Score */
451
- match_score?: number | null;
488
+ /** List Type */
489
+ list_type: string;
452
490
  /** Match Details */
453
491
  match_details?: string | null;
492
+ /** Match Score */
493
+ match_score?: number | null;
494
+ /** Match Type */
495
+ match_type?: string | null;
454
496
  };
455
497
  /** ListStatus */
456
498
  ListStatus: {
499
+ last_etl_job?: components["schemas"]["ETLJobSummary"] | null;
457
500
  /** List Type */
458
501
  list_type: string;
459
502
  /** Record Count */
460
503
  record_count: number;
461
- last_etl_job?: components["schemas"]["ETLJobSummary"] | null;
462
504
  };
463
505
  /** ListsStatusResponse */
464
506
  ListsStatusResponse: {
@@ -482,8 +524,8 @@ interface components {
482
524
  };
483
525
  /** MeResponse */
484
526
  MeResponse: {
485
- user: components["schemas"]["UserResponse"];
486
527
  tenant: components["schemas"]["TenantResponse"];
528
+ user: components["schemas"]["UserResponse"];
487
529
  };
488
530
  /** MessageResponse */
489
531
  MessageResponse: {
@@ -514,31 +556,42 @@ interface components {
514
556
  */
515
557
  tenant_type: "individual" | "juridica";
516
558
  };
559
+ /** PasswordPolicySettings */
560
+ PasswordPolicySettings: {
561
+ /** Password History N */
562
+ password_history_n: number;
563
+ /** Password Max Age Days */
564
+ password_max_age_days: number;
565
+ /** Password Min Length */
566
+ password_min_length: number;
567
+ /** Password Min Zxcvbn Score */
568
+ password_min_zxcvbn_score: number;
569
+ };
517
570
  /** PurchaseRequest */
518
571
  PurchaseRequest: {
572
+ /** Idempotency Key */
573
+ idempotency_key: string;
519
574
  /**
520
575
  * Package
521
576
  * @enum {string}
522
577
  */
523
578
  package: "10" | "50" | "100";
524
- /** Idempotency Key */
525
- idempotency_key: string;
526
579
  /** Payment Token */
527
580
  payment_token: string;
528
581
  };
529
582
  /** PurchaseResponse */
530
583
  PurchaseResponse: {
531
- /** Success */
532
- success: boolean;
533
584
  /** Credits Added */
534
585
  credits_added: number;
535
- /** New Balance */
536
- new_balance: number;
537
586
  /**
538
587
  * Idempotent Replay
539
588
  * @default false
540
589
  */
541
590
  idempotent_replay: boolean;
591
+ /** New Balance */
592
+ new_balance: number;
593
+ /** Success */
594
+ success: boolean;
542
595
  };
543
596
  /** RefreshRequest */
544
597
  RefreshRequest: {
@@ -552,10 +605,10 @@ interface components {
552
605
  };
553
606
  /** RefundResponse */
554
607
  RefundResponse: {
555
- /** Success */
556
- success: boolean;
557
608
  /** New Balance */
558
609
  new_balance: number;
610
+ /** Success */
611
+ success: boolean;
559
612
  };
560
613
  /** RegisterRequest */
561
614
  RegisterRequest: {
@@ -564,12 +617,12 @@ interface components {
564
617
  * Format: email
565
618
  */
566
619
  email: string;
567
- /** Password */
568
- password: string;
569
620
  /** Name */
570
621
  name: string;
571
622
  /** Organization Name */
572
623
  organization_name: string;
624
+ /** Password */
625
+ password: string;
573
626
  };
574
627
  /**
575
628
  * ReportRegenRequest
@@ -578,12 +631,12 @@ interface components {
578
631
  ReportRegenRequest: Record<string, never>;
579
632
  /** ReportRegenResponse */
580
633
  ReportRegenResponse: {
581
- /** Validation Id */
582
- validation_id: string;
583
634
  /** Job Id */
584
635
  job_id: string;
585
636
  /** Status */
586
637
  status: string;
638
+ /** Validation Id */
639
+ validation_id: string;
587
640
  };
588
641
  /** ReportResponse */
589
642
  ReportResponse: {
@@ -592,17 +645,17 @@ interface components {
592
645
  };
593
646
  /** ResetPasswordRequest */
594
647
  ResetPasswordRequest: {
595
- /** Token */
596
- token: string;
597
648
  /** New Password */
598
649
  new_password: string;
650
+ /** Token */
651
+ token: string;
599
652
  };
600
653
  /** RiskBucket */
601
654
  RiskBucket: {
602
- /** Risk Level */
603
- risk_level: string;
604
655
  /** Count */
605
656
  count: number;
657
+ /** Risk Level */
658
+ risk_level: string;
606
659
  };
607
660
  /** RoleUpdateRequest */
608
661
  RoleUpdateRequest: {
@@ -612,39 +665,54 @@ interface components {
612
665
  */
613
666
  role: "admin" | "analyst";
614
667
  };
668
+ /** SanctionItem */
669
+ SanctionItem: {
670
+ /** Category */
671
+ category: string;
672
+ };
615
673
  /** ScoreFactorResponse */
616
674
  ScoreFactorResponse: {
617
675
  /** Factor Key */
618
676
  factor_key: string;
619
677
  /** Label */
620
678
  label: string;
621
- /** Raw Score */
622
- raw_score: number;
623
679
  /** Max Score */
624
680
  max_score: number;
681
+ /** Raw Score */
682
+ raw_score: number;
625
683
  };
626
684
  /** SetPasswordConfirmRequest */
627
685
  SetPasswordConfirmRequest: {
628
- /** Token */
629
- token: string;
630
686
  /** New Password */
631
687
  new_password: string;
688
+ /** Token */
689
+ token: string;
632
690
  };
633
691
  /** SetPasswordRequestResponse */
634
692
  SetPasswordRequestResponse: {
635
693
  /** Message */
636
694
  message: string;
637
695
  };
696
+ /** SpecialConditionFlagOut */
697
+ SpecialConditionFlagOut: {
698
+ /** Declared */
699
+ declared: boolean;
700
+ /** Discrepancy */
701
+ discrepancy: boolean;
702
+ list_match?: components["schemas"]["ListMatchSummaryOut"] | null;
703
+ /** Value */
704
+ value: boolean;
705
+ };
638
706
  /** TenantResponse */
639
707
  TenantResponse: {
708
+ /** Credit Balance */
709
+ credit_balance: number;
640
710
  /** Id */
641
711
  id: string;
642
712
  /** Name */
643
713
  name: string;
644
714
  /** Plan */
645
715
  plan: string;
646
- /** Credit Balance */
647
- credit_balance: number;
648
716
  };
649
717
  /** TenantUpdateRequest */
650
718
  TenantUpdateRequest: {
@@ -665,10 +733,10 @@ interface components {
665
733
  };
666
734
  /** TrendPoint */
667
735
  TrendPoint: {
668
- /** Date */
669
- date: string;
670
736
  /** Count */
671
737
  count: number;
738
+ /** Date */
739
+ date: string;
672
740
  };
673
741
  /** TriggerETLRequest */
674
742
  TriggerETLRequest: {
@@ -680,30 +748,30 @@ interface components {
680
748
  };
681
749
  /** TriggerETLResponse */
682
750
  TriggerETLResponse: {
751
+ /** Job Id */
752
+ job_id: string;
683
753
  /** List Type */
684
754
  list_type: string;
685
755
  /** Status */
686
756
  status: string;
687
- /** Job Id */
688
- job_id: string;
689
757
  };
690
758
  /** UserListResponse */
691
759
  UserListResponse: {
692
760
  /** Items */
693
761
  items: components["schemas"]["UserSummary"][];
694
- /** Total */
695
- total: number;
696
- /** Page */
697
- page: number;
698
762
  /** Limit */
699
763
  limit: number;
764
+ /** Page */
765
+ page: number;
766
+ /** Total */
767
+ total: number;
700
768
  };
701
769
  /** UserResponse */
702
770
  UserResponse: {
703
- /** Id */
704
- id: string;
705
771
  /** Email */
706
772
  email: string;
773
+ /** Id */
774
+ id: string;
707
775
  /** Name */
708
776
  name: string;
709
777
  /** Role */
@@ -711,32 +779,32 @@ interface components {
711
779
  };
712
780
  /** UserSummary */
713
781
  UserSummary: {
714
- /** Id */
715
- id: string;
716
782
  /** Email */
717
783
  email: string;
784
+ /** Id */
785
+ id: string;
786
+ /** Is Active */
787
+ is_active: boolean;
718
788
  /** Name */
719
789
  name: string;
720
790
  /** Role */
721
791
  role: string;
722
- /** Is Active */
723
- is_active: boolean;
724
792
  };
725
793
  /** ValidationAlert */
726
794
  ValidationAlert: {
727
- /** Id */
728
- id: string;
729
795
  /** Client Full Name */
730
796
  client_full_name: string | null;
731
- /** Risk Level */
732
- risk_level: string | null;
733
- /** Score Total */
734
- score_total: number | null;
735
797
  /**
736
798
  * Created At
737
799
  * Format: date-time
738
800
  */
739
801
  created_at: string;
802
+ /** Id */
803
+ id: string;
804
+ /** Risk Level */
805
+ risk_level: string | null;
806
+ /** Score Total */
807
+ score_total: number | null;
740
808
  };
741
809
  /** ValidationCancelRequest */
742
810
  ValidationCancelRequest: {
@@ -745,200 +813,279 @@ interface components {
745
813
  };
746
814
  /** ValidationCancelResponse */
747
815
  ValidationCancelResponse: {
816
+ /** Already Terminal */
817
+ already_terminal: boolean;
818
+ /** Cancel Reason */
819
+ cancel_reason?: string | null;
820
+ /** Cancelled At */
821
+ cancelled_at?: string | null;
748
822
  /** Id */
749
823
  id: string;
750
824
  /** Status */
751
825
  status: string;
752
- /** Cancelled At */
753
- cancelled_at?: string | null;
754
- /** Cancel Reason */
755
- cancel_reason?: string | null;
756
- /** Already Terminal */
757
- already_terminal: boolean;
758
826
  };
759
827
  /** ValidationCreatedResponse */
760
828
  ValidationCreatedResponse: {
761
- /** Id */
762
- id: string;
763
- /** Status */
764
- status: string;
765
829
  /**
766
830
  * Created At
767
831
  * Format: date-time
768
832
  */
769
833
  created_at: string;
770
- };
771
- /** ValidationDetailResponse */
772
- ValidationDetailResponse: {
773
834
  /** Id */
774
835
  id: string;
775
- /** Cui */
776
- cui?: string | null;
777
- /** Client Full Name */
778
- client_full_name?: string | null;
779
836
  /** Status */
780
837
  status: string;
781
- /** Risk Level */
782
- risk_level?: string | null;
783
- /** Naturaleza Cliente */
784
- naturaleza_cliente?: string | null;
785
- /** Pais Origen Fondos */
786
- pais_origen_fondos?: string | null;
787
- /** Pais Destino Fondos */
788
- pais_destino_fondos?: string | null;
789
- /** Score Total */
790
- score_total?: number | null;
838
+ };
839
+ /** ValidationDetailResponse */
840
+ ValidationDetailResponse: {
791
841
  /** Ai Recommendation */
792
842
  ai_recommendation?: string | null;
843
+ /** Client Full Name */
844
+ client_full_name?: string | null;
845
+ /** Client Photo Url */
846
+ client_photo_url?: string | null;
847
+ /** Completed At */
848
+ completed_at?: string | null;
849
+ /** Computed Risk Level */
850
+ computed_risk_level?: string | null;
851
+ consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
852
+ /**
853
+ * Created At
854
+ * Format: date-time
855
+ */
856
+ created_at: string;
857
+ /** Cui */
858
+ cui?: string | null;
793
859
  /** Current Step */
794
860
  current_step?: string | null;
795
861
  /** Degraded Steps */
796
862
  degraded_steps?: string | null;
797
863
  /** Error Code */
798
- error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH") | null;
864
+ error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH" | "DPI_MISSING_IN_ZIP") | null;
799
865
  /** Error Message */
800
866
  error_message?: string | null;
801
- /** Notes */
802
- notes?: string | null;
803
- /**
804
- * Created At
805
- * Format: date-time
806
- */
807
- created_at: string;
808
- /** Completed At */
809
- completed_at?: string | null;
810
- /** Client Photo Url */
811
- client_photo_url?: string | null;
812
867
  /** Feic Data */
813
868
  feic_data?: string | null;
814
869
  /** Feic Source */
815
870
  feic_source?: string | null;
871
+ /** Id */
872
+ id: string;
816
873
  identity?: components["schemas"]["app__api__validations__IdentityResponse"] | null;
874
+ /** Internet Negative Count */
875
+ internet_negative_count?: number | null;
876
+ /** Internet Relevant Count */
877
+ internet_relevant_count?: number | null;
817
878
  /**
818
- * Score Factors
879
+ * Internet Results
819
880
  * @default []
820
881
  */
821
- score_factors: components["schemas"]["ScoreFactorResponse"][];
822
- /** Computed Risk Level */
823
- computed_risk_level?: string | null;
824
- /** Overrides Applied */
825
- overrides_applied?: string | null;
826
- /** Internet Summary */
827
- internet_summary?: string | null;
882
+ internet_results: components["schemas"]["InternetResultResponse"][];
828
883
  /** Internet Risk Alerts */
829
884
  internet_risk_alerts?: string | null;
830
- /** Internet Relevant Count */
831
- internet_relevant_count?: number | null;
832
- /** Internet Negative Count */
833
- internet_negative_count?: number | null;
885
+ /** Internet Summary */
886
+ internet_summary?: string | null;
834
887
  /**
835
888
  * List Results
836
889
  * @default []
837
890
  */
838
891
  list_results: components["schemas"]["ListResultResponse"][];
839
- /**
840
- * Internet Results
841
- * @default []
842
- */
843
- internet_results: components["schemas"]["InternetResultResponse"][];
892
+ /** Naturaleza Cliente */
893
+ naturaleza_cliente?: string | null;
894
+ /** Notes */
895
+ notes?: string | null;
844
896
  /** Ocr Data */
845
897
  ocr_data?: {
846
898
  [key: string]: unknown;
847
899
  } | null;
900
+ /** Overrides Applied */
901
+ overrides_applied?: string | null;
902
+ /** Pais Destino Fondos */
903
+ pais_destino_fondos?: string | null;
904
+ /** Pais Origen Fondos */
905
+ pais_origen_fondos?: string | null;
848
906
  /** Renap Data */
849
907
  renap_data?: {
850
908
  [key: string]: unknown;
851
909
  } | null;
910
+ /** Risk Level */
911
+ risk_level?: string | null;
912
+ /**
913
+ * Score Factors
914
+ * @default []
915
+ */
916
+ score_factors: components["schemas"]["ScoreFactorResponse"][];
917
+ /** Score Total */
918
+ score_total?: number | null;
919
+ /** Status */
920
+ status: string;
852
921
  };
853
922
  /** ValidationError */
854
923
  ValidationError: {
924
+ /** Context */
925
+ ctx?: Record<string, never>;
926
+ /** Input */
927
+ input?: unknown;
855
928
  /** Location */
856
929
  loc: (string | number)[];
857
930
  /** Message */
858
931
  msg: string;
859
932
  /** Error Type */
860
933
  type: string;
861
- /** Input */
862
- input?: unknown;
863
- /** Context */
864
- ctx?: Record<string, never>;
865
934
  };
866
935
  /** ValidationListResponse */
867
936
  ValidationListResponse: {
868
937
  /** Items */
869
938
  items: components["schemas"]["ValidationSummaryResponse"][];
870
- /** Total */
871
- total: number;
872
- /** Page */
873
- page: number;
874
939
  /** Limit */
875
940
  limit: number;
941
+ /** Page */
942
+ page: number;
943
+ /** Total */
944
+ total: number;
876
945
  };
877
946
  /** ValidationSummaryResponse */
878
947
  ValidationSummaryResponse: {
879
- /** Id */
880
- id: string;
881
- /** Cui */
882
- cui?: string | null;
883
948
  /** Client Full Name */
884
949
  client_full_name?: string | null;
885
- /** Status */
886
- status: string;
887
- /** Risk Level */
888
- risk_level?: string | null;
889
- /** Naturaleza Cliente */
890
- naturaleza_cliente?: string | null;
891
950
  /**
892
951
  * Created At
893
952
  * Format: date-time
894
953
  */
895
954
  created_at: string;
955
+ /** Cui */
956
+ cui?: string | null;
957
+ /** Id */
958
+ id: string;
959
+ /** Naturaleza Cliente */
960
+ naturaleza_cliente?: string | null;
961
+ /** Risk Level */
962
+ risk_level?: string | null;
963
+ /** Status */
964
+ status: string;
965
+ };
966
+ /** AuthResponse */
967
+ app__api__auth__AuthResponse: {
968
+ /** Access Token */
969
+ access_token: string;
970
+ /**
971
+ * Password Expired
972
+ * @default false
973
+ */
974
+ password_expired: boolean;
975
+ /** Refresh Token */
976
+ refresh_token: string;
977
+ tenant: components["schemas"]["TenantResponse"];
978
+ /**
979
+ * Token Type
980
+ * @default bearer
981
+ */
982
+ token_type: string;
983
+ user: components["schemas"]["UserResponse"];
984
+ };
985
+ /** AuthResponse */
986
+ app__api__oauth__AuthResponse: {
987
+ /** Access Token */
988
+ access_token: string;
989
+ /** Refresh Token */
990
+ refresh_token: string;
991
+ tenant: components["schemas"]["TenantResponse"];
992
+ /**
993
+ * Token Type
994
+ * @default bearer
995
+ */
996
+ token_type: string;
997
+ user: components["schemas"]["UserResponse"];
896
998
  };
897
999
  /** IdentityResponse */
898
1000
  app__api__oauth__IdentityResponse: {
899
- /** Id */
900
- id: string;
901
- /** Provider */
902
- provider: string;
903
1001
  /** Email At Link */
904
1002
  email_at_link: string;
1003
+ /** Id */
1004
+ id: string;
1005
+ /** Last Login At */
1006
+ last_login_at: string | null;
905
1007
  /**
906
1008
  * Linked At
907
1009
  * Format: date-time
908
1010
  */
909
1011
  linked_at: string;
910
- /** Last Login At */
911
- last_login_at: string | null;
1012
+ /** Provider */
1013
+ provider: string;
912
1014
  };
913
1015
  /** IdentityResponse */
914
1016
  app__api__validations__IdentityResponse: {
915
- /** Source */
916
- source?: string | null;
917
1017
  /** Data Match */
918
1018
  data_match?: number | null;
919
1019
  /** Face Match */
920
1020
  face_match?: number | null;
921
- /** Face Same */
922
- face_same?: boolean | null;
923
1021
  /** Face Reasoning */
924
1022
  face_reasoning?: string | null;
1023
+ /** Face Same */
1024
+ face_same?: boolean | null;
1025
+ /** Source */
1026
+ source?: string | null;
1027
+ };
1028
+ };
1029
+ responses: {
1030
+ /** @description Too Many Requests — the per-route or global rate limit was exceeded. Retry after the `Retry-After` interval. */
1031
+ RateLimited: {
1032
+ headers: {
1033
+ /** @description Seconds to wait before the next request is accepted (RFC 6585 §4). Absent on non-429 responses. */
1034
+ "Retry-After"?: number;
1035
+ XRateLimitLimit: components["headers"]["XRateLimitLimit"];
1036
+ XRateLimitRemaining: components["headers"]["XRateLimitRemaining"];
1037
+ XRateLimitReset: components["headers"]["XRateLimitReset"];
1038
+ XRequestId: components["headers"]["XRequestId"];
1039
+ [name: string]: unknown;
1040
+ };
1041
+ content: {
1042
+ "application/json": {
1043
+ /** @example Rate limit exceeded: 5 per 1 minute */
1044
+ error?: string;
1045
+ };
1046
+ };
1047
+ };
1048
+ /** @description Successful response (generic). See individual operations for the exact schema. */
1049
+ Success200: {
1050
+ headers: {
1051
+ XRateLimitLimit: components["headers"]["XRateLimitLimit"];
1052
+ XRateLimitRemaining: components["headers"]["XRateLimitRemaining"];
1053
+ XRateLimitReset: components["headers"]["XRateLimitReset"];
1054
+ XRequestId: components["headers"]["XRequestId"];
1055
+ [name: string]: unknown;
1056
+ };
1057
+ content?: never;
1058
+ };
1059
+ /** @description Unauthenticated — missing, invalid, or expired credentials. */
1060
+ Unauthorized: {
1061
+ headers: {
1062
+ XRateLimitLimit: components["headers"]["XRateLimitLimit"];
1063
+ XRateLimitRemaining: components["headers"]["XRateLimitRemaining"];
1064
+ XRateLimitReset: components["headers"]["XRateLimitReset"];
1065
+ XRequestId: components["headers"]["XRequestId"];
1066
+ [name: string]: unknown;
1067
+ };
1068
+ content: {
1069
+ "application/json": {
1070
+ detail?: string;
1071
+ };
1072
+ };
925
1073
  };
926
1074
  };
927
- responses: never;
928
1075
  parameters: {
929
1076
  /** @description ULID identifier (26 chars, Crockford base32) that lets the client retry this request safely. The server caches the 2xx response for 24 hours; a second request with the same key on the same path returns the original response with header `Idempotent-Replay: true`. Generate one new ULID per user-intent, NOT per network retry. */
930
1077
  IdempotencyKey: string;
931
1078
  };
932
1079
  requestBodies: never;
933
1080
  headers: {
934
- /** @description Server-generated request identifier (hex). Echoes the inbound `X-Request-ID` when supplied, otherwise generated. Returned on every response — use to correlate client and server logs. */
935
- XRequestId: string;
936
1081
  /** @description Maximum number of requests allowed per window. Windows are per-route (e.g. login is 5/minute, list endpoints are 100/minute). The exact limit for the endpoint that returned this header is the integer value. */
937
1082
  XRateLimitLimit: number;
938
1083
  /** @description Requests remaining in the current per-route window before slowapi starts returning 429. Use with X-RateLimit-Reset to compute the wait time. */
939
1084
  XRateLimitRemaining: number;
940
1085
  /** @description Unix epoch seconds when the rate-limit window resets and `X-RateLimit-Remaining` returns to `X-RateLimit-Limit`. */
941
1086
  XRateLimitReset: number;
1087
+ /** @description Server-generated request identifier (hex). Echoes the inbound `X-Request-ID` when supplied, otherwise generated. Returned on every response — use to correlate client and server logs. */
1088
+ XRequestId: string;
942
1089
  };
943
1090
  pathItems: never;
944
1091
  }
@@ -975,8 +1122,8 @@ declare class AuthApi {
975
1122
  private readonly deps;
976
1123
  constructor(deps: SubApiDeps);
977
1124
  me(): Promise<{
978
- user: components["schemas"]["UserResponse"];
979
1125
  tenant: components["schemas"]["TenantResponse"];
1126
+ user: components["schemas"]["UserResponse"];
980
1127
  } | undefined>;
981
1128
  }
982
1129
  declare class ValidationsApi {
@@ -1001,42 +1148,43 @@ declare class ValidationsApi {
1001
1148
  status: string;
1002
1149
  }>;
1003
1150
  get(id: string): Promise<{
1004
- id: string;
1005
- cui?: string | null;
1006
- client_full_name?: string | null;
1007
- status: string;
1008
- risk_level?: string | null;
1009
- naturaleza_cliente?: string | null;
1010
- pais_origen_fondos?: string | null;
1011
- pais_destino_fondos?: string | null;
1012
- score_total?: number | null;
1013
1151
  ai_recommendation?: string | null;
1152
+ client_full_name?: string | null;
1153
+ client_photo_url?: string | null;
1154
+ completed_at?: string | null;
1155
+ computed_risk_level?: string | null;
1156
+ consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
1157
+ created_at: string;
1158
+ cui?: string | null;
1014
1159
  current_step?: string | null;
1015
1160
  degraded_steps?: string | null;
1016
- error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH") | null;
1161
+ error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH" | "DPI_MISSING_IN_ZIP") | null;
1017
1162
  error_message?: string | null;
1018
- notes?: string | null;
1019
- created_at: string;
1020
- completed_at?: string | null;
1021
- client_photo_url?: string | null;
1022
1163
  feic_data?: string | null;
1023
1164
  feic_source?: string | null;
1165
+ id: string;
1024
1166
  identity?: components["schemas"]["app__api__validations__IdentityResponse"] | null;
1025
- score_factors: components["schemas"]["ScoreFactorResponse"][];
1026
- computed_risk_level?: string | null;
1027
- overrides_applied?: string | null;
1028
- internet_summary?: string | null;
1029
- internet_risk_alerts?: string | null;
1030
- internet_relevant_count?: number | null;
1031
1167
  internet_negative_count?: number | null;
1032
- list_results: components["schemas"]["ListResultResponse"][];
1168
+ internet_relevant_count?: number | null;
1033
1169
  internet_results: components["schemas"]["InternetResultResponse"][];
1170
+ internet_risk_alerts?: string | null;
1171
+ internet_summary?: string | null;
1172
+ list_results: components["schemas"]["ListResultResponse"][];
1173
+ naturaleza_cliente?: string | null;
1174
+ notes?: string | null;
1034
1175
  ocr_data?: {
1035
1176
  [key: string]: unknown;
1036
1177
  } | null;
1178
+ overrides_applied?: string | null;
1179
+ pais_destino_fondos?: string | null;
1180
+ pais_origen_fondos?: string | null;
1037
1181
  renap_data?: {
1038
1182
  [key: string]: unknown;
1039
1183
  } | null;
1184
+ risk_level?: string | null;
1185
+ score_factors: components["schemas"]["ScoreFactorResponse"][];
1186
+ score_total?: number | null;
1187
+ status: string;
1040
1188
  } | undefined>;
1041
1189
  report(id: string): Promise<Blob>;
1042
1190
  }
@@ -1044,9 +1192,9 @@ declare class CreditsApi {
1044
1192
  private readonly deps;
1045
1193
  constructor(deps: SubApiDeps);
1046
1194
  balance(): Promise<{
1047
- tenant_id: string;
1048
1195
  credit_balance: number;
1049
1196
  plan: string;
1197
+ tenant_id: string;
1050
1198
  } | undefined>;
1051
1199
  }
1052
1200
  declare class ApiKeysApi {