@verifiquemos/sdk 0.1.5 → 0.1.7

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.ts 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,38 +83,38 @@ 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;
114
+ /** Page */
115
+ page: number;
116
+ /** Total */
117
+ total: number;
118
118
  };
119
119
  /** AuthResponse */
120
120
  AuthResponse: {
@@ -122,133 +122,133 @@ interface components {
122
122
  access_token: string;
123
123
  /** Refresh Token */
124
124
  refresh_token: string;
125
+ tenant: components["schemas"]["TenantResponse"];
125
126
  /**
126
127
  * Token Type
127
128
  * @default bearer
128
129
  */
129
130
  token_type: string;
130
131
  user: components["schemas"]["UserResponse"];
131
- tenant: components["schemas"]["TenantResponse"];
132
132
  };
133
133
  /** BalanceResponse */
134
134
  BalanceResponse: {
135
- /** Tenant Id */
136
- tenant_id: string;
137
135
  /** Credit Balance */
138
136
  credit_balance: number;
139
137
  /** Plan */
140
138
  plan: string;
139
+ /** Tenant Id */
140
+ tenant_id: string;
141
141
  };
142
142
  /** BatchCancelResponse */
143
143
  BatchCancelResponse: {
144
+ /** Already Terminal */
145
+ already_terminal: boolean;
144
146
  /** Batch Id */
145
147
  batch_id: string;
146
148
  /** Status */
147
149
  status: string;
148
- /** Already Terminal */
149
- already_terminal: boolean;
150
150
  };
151
151
  /** BatchCreatedResponse */
152
152
  BatchCreatedResponse: {
153
153
  /** Batch Id */
154
154
  batch_id: string;
155
- /** Total Rows */
156
- total_rows: number;
157
155
  /** Status */
158
156
  status: string;
157
+ /** Total Rows */
158
+ total_rows: number;
159
159
  };
160
160
  /** BatchDetailResponse */
161
161
  BatchDetailResponse: {
162
- /** Id */
163
- id: string;
164
- /** Status */
165
- status: string;
166
- /** Total Rows */
167
- total_rows: number;
162
+ /** Completed At */
163
+ completed_at?: string | null;
168
164
  /** Completed Count */
169
165
  completed_count: number;
170
- /** Failed Count */
171
- failed_count: number;
172
166
  /**
173
167
  * Created At
174
168
  * Format: date-time
175
169
  */
176
170
  created_at: string;
177
- /** Completed At */
178
- completed_at?: string | null;
171
+ /** Failed Count */
172
+ failed_count: number;
173
+ /** Id */
174
+ id: string;
179
175
  /** Items */
180
176
  items: components["schemas"]["BatchItemResponse"][];
177
+ /** Status */
178
+ status: string;
179
+ /** Total Rows */
180
+ total_rows: number;
181
181
  };
182
182
  /** BatchItemResponse */
183
183
  BatchItemResponse: {
184
+ /** Dpi Filename */
185
+ dpi_filename?: string | null;
186
+ /** Error Message */
187
+ error_message?: string | null;
184
188
  /** Id */
185
189
  id: string;
186
190
  /** Row Number */
187
191
  row_number: number;
188
- /** Dpi Filename */
189
- dpi_filename?: string | null;
190
- /** Validation Id */
191
- validation_id?: string | null;
192
192
  /** Status */
193
193
  status: string;
194
- /** Error Message */
195
- error_message?: string | null;
194
+ /** Validation Id */
195
+ validation_id?: string | null;
196
196
  };
197
197
  /** BatchListResponse */
198
198
  BatchListResponse: {
199
199
  /** Items */
200
200
  items: components["schemas"]["BatchSummary"][];
201
- /** Total */
202
- total: number;
203
- /** Page */
204
- page: number;
205
201
  /** Limit */
206
202
  limit: number;
203
+ /** Page */
204
+ page: number;
205
+ /** Total */
206
+ total: number;
207
207
  };
208
208
  /** BatchSummary */
209
209
  BatchSummary: {
210
- /** Id */
211
- id: string;
212
- /** Status */
213
- status: string;
214
- /** Total Rows */
215
- total_rows: number;
210
+ /** Completed At */
211
+ completed_at?: string | null;
216
212
  /** Completed Count */
217
213
  completed_count: number;
218
- /** Failed Count */
219
- failed_count: number;
220
214
  /**
221
215
  * Created At
222
216
  * Format: date-time
223
217
  */
224
218
  created_at: string;
225
- /** Completed At */
226
- completed_at?: string | null;
219
+ /** Failed Count */
220
+ failed_count: number;
221
+ /** Id */
222
+ id: string;
223
+ /** Status */
224
+ status: string;
225
+ /** Total Rows */
226
+ total_rows: number;
227
227
  };
228
228
  /** Body_create_validation_api_v1_validations_post */
229
229
  Body_create_validation_api_v1_validations_post: {
230
230
  /** Dpi File */
231
231
  dpi_file: string;
232
+ /** Feic Anexo File */
233
+ feic_anexo_file?: string | null;
234
+ /** Feic Data Manual */
235
+ feic_data_manual?: string | null;
236
+ /** Feic File */
237
+ feic_file?: string | null;
232
238
  /** Naturaleza Cliente */
233
239
  naturaleza_cliente: string;
240
+ /** Notes */
241
+ notes?: string | null;
234
242
  /**
235
- * Pais Origen Fondos
243
+ * Pais Destino Fondos
236
244
  * @default GTM
237
245
  */
238
- pais_origen_fondos: string;
246
+ pais_destino_fondos: string;
239
247
  /**
240
- * Pais Destino Fondos
248
+ * Pais Origen Fondos
241
249
  * @default GTM
242
250
  */
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;
251
+ pais_origen_fondos: string;
252
252
  };
253
253
  /** Body_submit_batch_api_v1_validations_batch_post */
254
254
  Body_submit_batch_api_v1_validations_batch_post: {
@@ -259,56 +259,56 @@ interface components {
259
259
  };
260
260
  /** Body_upload_list_file_api_v1_lists_upload_post */
261
261
  Body_upload_list_file_api_v1_lists_upload_post: {
262
- /** List Type */
263
- list_type: string;
264
262
  /** File */
265
263
  file: string;
264
+ /** List Type */
265
+ list_type: string;
266
266
  };
267
267
  /** DashboardKpis */
268
268
  DashboardKpis: {
269
- /** Total Validations */
270
- total_validations: number;
269
+ /** Avg Score */
270
+ avg_score: number | null;
271
+ /** Cancelled Count */
272
+ cancelled_count: number;
271
273
  /** Completed Count */
272
274
  completed_count: number;
273
275
  /** Failed Count */
274
276
  failed_count: number;
275
277
  /** Processing Count */
276
278
  processing_count: number;
277
- /** Cancelled Count */
278
- cancelled_count: number;
279
- /** Avg Score */
280
- avg_score: number | null;
279
+ /** Total Validations */
280
+ total_validations: number;
281
281
  /** Total Validations Prev Period */
282
282
  total_validations_prev_period: number;
283
283
  };
284
284
  /** DashboardResponse */
285
285
  DashboardResponse: {
286
+ /** Alerts */
287
+ alerts: components["schemas"]["ValidationAlert"][];
288
+ kpis: components["schemas"]["DashboardKpis"];
286
289
  /** Period */
287
290
  period: string;
288
- kpis: components["schemas"]["DashboardKpis"];
289
- /** Trends */
290
- trends: components["schemas"]["TrendPoint"][];
291
291
  /** Risk Distribution */
292
292
  risk_distribution: components["schemas"]["RiskBucket"][];
293
293
  /** Top Analysts */
294
294
  top_analysts: components["schemas"]["AnalystSummary"][];
295
- /** Alerts */
296
- alerts: components["schemas"]["ValidationAlert"][];
295
+ /** Trends */
296
+ trends: components["schemas"]["TrendPoint"][];
297
297
  };
298
298
  /** ETLJobSummary */
299
299
  ETLJobSummary: {
300
+ /** Completed At */
301
+ completed_at?: string | null;
300
302
  /** Id */
301
303
  id: string;
302
304
  /** List Type */
303
305
  list_type: string;
304
- /** Status */
305
- status: string;
306
306
  /** Records Imported */
307
307
  records_imported?: number | null;
308
308
  /** Started At */
309
309
  started_at?: string | null;
310
- /** Completed At */
311
- completed_at?: string | null;
310
+ /** Status */
311
+ status: string;
312
312
  };
313
313
  /** ForgotPasswordRequest */
314
314
  ForgotPasswordRequest: {
@@ -327,31 +327,31 @@ interface components {
327
327
  HistoryResponse: {
328
328
  /** Items */
329
329
  items: components["schemas"]["LedgerEntryResponse"][];
330
- /** Total */
331
- total: number;
332
- /** Page */
333
- page: number;
334
330
  /** Limit */
335
331
  limit: number;
332
+ /** Page */
333
+ page: number;
334
+ /** Total */
335
+ total: number;
336
336
  };
337
337
  /** InternetResultResponse */
338
338
  InternetResultResponse: {
339
+ /** Category */
340
+ category?: string | null;
341
+ /** Risk Level */
342
+ risk_level?: string | null;
343
+ /** Sentiment */
344
+ sentiment?: string | null;
345
+ /** Snippet */
346
+ snippet?: string | null;
339
347
  /** Source */
340
348
  source?: string | null;
349
+ /** Summary */
350
+ summary?: string | null;
341
351
  /** Title */
342
352
  title?: string | null;
343
353
  /** Url */
344
354
  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
355
  };
356
356
  /** InviteAcceptRequest */
357
357
  InviteAcceptRequest: {
@@ -388,77 +388,77 @@ interface components {
388
388
  InvitePreviewResponse: {
389
389
  /** Email */
390
390
  email: string;
391
- /** Role */
392
- role: string;
393
- /** Tenant Name */
394
- tenant_name: string;
395
391
  /**
396
392
  * Expires At
397
393
  * Format: date-time
398
394
  */
399
395
  expires_at: string;
396
+ /** Role */
397
+ role: string;
398
+ /** Tenant Name */
399
+ tenant_name: string;
400
400
  };
401
401
  /** InviteSummary */
402
402
  InviteSummary: {
403
- /** Id */
404
- id: string;
403
+ /** Accepted At */
404
+ accepted_at: string | null;
405
+ /**
406
+ * Created At
407
+ * Format: date-time
408
+ */
409
+ created_at: string;
405
410
  /** Email */
406
411
  email: string;
407
- /** Role */
408
- role: string;
409
- /** Invited By */
410
- invited_by: string;
411
412
  /**
412
413
  * Expires At
413
414
  * Format: date-time
414
415
  */
415
416
  expires_at: string;
416
- /** Accepted At */
417
- accepted_at: string | null;
417
+ /** Id */
418
+ id: string;
419
+ /** Invited By */
420
+ invited_by: string;
421
+ /** Role */
422
+ role: string;
423
+ };
424
+ /** LedgerEntryResponse */
425
+ LedgerEntryResponse: {
426
+ /** Balance After */
427
+ balance_after: number;
418
428
  /**
419
429
  * Created At
420
430
  * Format: date-time
421
431
  */
422
432
  created_at: string;
423
- };
424
- /** LedgerEntryResponse */
425
- LedgerEntryResponse: {
426
- /** Id */
427
- id: string;
428
433
  /** Delta */
429
434
  delta: number;
430
- /** Balance After */
431
- balance_after: number;
435
+ /** Id */
436
+ id: string;
432
437
  /** Reason */
433
438
  reason: string;
434
439
  /** Validation Id */
435
440
  validation_id?: string | null;
436
- /**
437
- * Created At
438
- * Format: date-time
439
- */
440
- created_at: string;
441
441
  };
442
442
  /** ListResultResponse */
443
443
  ListResultResponse: {
444
- /** List Type */
445
- list_type: string;
446
444
  /** Found */
447
445
  found: boolean;
448
- /** Match Type */
449
- match_type?: string | null;
450
- /** Match Score */
451
- match_score?: number | null;
446
+ /** List Type */
447
+ list_type: string;
452
448
  /** Match Details */
453
449
  match_details?: string | null;
450
+ /** Match Score */
451
+ match_score?: number | null;
452
+ /** Match Type */
453
+ match_type?: string | null;
454
454
  };
455
455
  /** ListStatus */
456
456
  ListStatus: {
457
+ last_etl_job?: components["schemas"]["ETLJobSummary"] | null;
457
458
  /** List Type */
458
459
  list_type: string;
459
460
  /** Record Count */
460
461
  record_count: number;
461
- last_etl_job?: components["schemas"]["ETLJobSummary"] | null;
462
462
  };
463
463
  /** ListsStatusResponse */
464
464
  ListsStatusResponse: {
@@ -482,8 +482,8 @@ interface components {
482
482
  };
483
483
  /** MeResponse */
484
484
  MeResponse: {
485
- user: components["schemas"]["UserResponse"];
486
485
  tenant: components["schemas"]["TenantResponse"];
486
+ user: components["schemas"]["UserResponse"];
487
487
  };
488
488
  /** MessageResponse */
489
489
  MessageResponse: {
@@ -516,29 +516,29 @@ interface components {
516
516
  };
517
517
  /** PurchaseRequest */
518
518
  PurchaseRequest: {
519
+ /** Idempotency Key */
520
+ idempotency_key: string;
519
521
  /**
520
522
  * Package
521
523
  * @enum {string}
522
524
  */
523
525
  package: "10" | "50" | "100";
524
- /** Idempotency Key */
525
- idempotency_key: string;
526
526
  /** Payment Token */
527
527
  payment_token: string;
528
528
  };
529
529
  /** PurchaseResponse */
530
530
  PurchaseResponse: {
531
- /** Success */
532
- success: boolean;
533
531
  /** Credits Added */
534
532
  credits_added: number;
535
- /** New Balance */
536
- new_balance: number;
537
533
  /**
538
534
  * Idempotent Replay
539
535
  * @default false
540
536
  */
541
537
  idempotent_replay: boolean;
538
+ /** New Balance */
539
+ new_balance: number;
540
+ /** Success */
541
+ success: boolean;
542
542
  };
543
543
  /** RefreshRequest */
544
544
  RefreshRequest: {
@@ -552,10 +552,10 @@ interface components {
552
552
  };
553
553
  /** RefundResponse */
554
554
  RefundResponse: {
555
- /** Success */
556
- success: boolean;
557
555
  /** New Balance */
558
556
  new_balance: number;
557
+ /** Success */
558
+ success: boolean;
559
559
  };
560
560
  /** RegisterRequest */
561
561
  RegisterRequest: {
@@ -564,12 +564,12 @@ interface components {
564
564
  * Format: email
565
565
  */
566
566
  email: string;
567
- /** Password */
568
- password: string;
569
567
  /** Name */
570
568
  name: string;
571
569
  /** Organization Name */
572
570
  organization_name: string;
571
+ /** Password */
572
+ password: string;
573
573
  };
574
574
  /**
575
575
  * ReportRegenRequest
@@ -578,12 +578,12 @@ interface components {
578
578
  ReportRegenRequest: Record<string, never>;
579
579
  /** ReportRegenResponse */
580
580
  ReportRegenResponse: {
581
- /** Validation Id */
582
- validation_id: string;
583
581
  /** Job Id */
584
582
  job_id: string;
585
583
  /** Status */
586
584
  status: string;
585
+ /** Validation Id */
586
+ validation_id: string;
587
587
  };
588
588
  /** ReportResponse */
589
589
  ReportResponse: {
@@ -592,17 +592,17 @@ interface components {
592
592
  };
593
593
  /** ResetPasswordRequest */
594
594
  ResetPasswordRequest: {
595
- /** Token */
596
- token: string;
597
595
  /** New Password */
598
596
  new_password: string;
597
+ /** Token */
598
+ token: string;
599
599
  };
600
600
  /** RiskBucket */
601
601
  RiskBucket: {
602
- /** Risk Level */
603
- risk_level: string;
604
602
  /** Count */
605
603
  count: number;
604
+ /** Risk Level */
605
+ risk_level: string;
606
606
  };
607
607
  /** RoleUpdateRequest */
608
608
  RoleUpdateRequest: {
@@ -618,17 +618,17 @@ interface components {
618
618
  factor_key: string;
619
619
  /** Label */
620
620
  label: string;
621
- /** Raw Score */
622
- raw_score: number;
623
621
  /** Max Score */
624
622
  max_score: number;
623
+ /** Raw Score */
624
+ raw_score: number;
625
625
  };
626
626
  /** SetPasswordConfirmRequest */
627
627
  SetPasswordConfirmRequest: {
628
- /** Token */
629
- token: string;
630
628
  /** New Password */
631
629
  new_password: string;
630
+ /** Token */
631
+ token: string;
632
632
  };
633
633
  /** SetPasswordRequestResponse */
634
634
  SetPasswordRequestResponse: {
@@ -637,14 +637,14 @@ interface components {
637
637
  };
638
638
  /** TenantResponse */
639
639
  TenantResponse: {
640
+ /** Credit Balance */
641
+ credit_balance: number;
640
642
  /** Id */
641
643
  id: string;
642
644
  /** Name */
643
645
  name: string;
644
646
  /** Plan */
645
647
  plan: string;
646
- /** Credit Balance */
647
- credit_balance: number;
648
648
  };
649
649
  /** TenantUpdateRequest */
650
650
  TenantUpdateRequest: {
@@ -665,10 +665,10 @@ interface components {
665
665
  };
666
666
  /** TrendPoint */
667
667
  TrendPoint: {
668
- /** Date */
669
- date: string;
670
668
  /** Count */
671
669
  count: number;
670
+ /** Date */
671
+ date: string;
672
672
  };
673
673
  /** TriggerETLRequest */
674
674
  TriggerETLRequest: {
@@ -680,30 +680,30 @@ interface components {
680
680
  };
681
681
  /** TriggerETLResponse */
682
682
  TriggerETLResponse: {
683
+ /** Job Id */
684
+ job_id: string;
683
685
  /** List Type */
684
686
  list_type: string;
685
687
  /** Status */
686
688
  status: string;
687
- /** Job Id */
688
- job_id: string;
689
689
  };
690
690
  /** UserListResponse */
691
691
  UserListResponse: {
692
692
  /** Items */
693
693
  items: components["schemas"]["UserSummary"][];
694
- /** Total */
695
- total: number;
696
- /** Page */
697
- page: number;
698
694
  /** Limit */
699
695
  limit: number;
696
+ /** Page */
697
+ page: number;
698
+ /** Total */
699
+ total: number;
700
700
  };
701
701
  /** UserResponse */
702
702
  UserResponse: {
703
- /** Id */
704
- id: string;
705
703
  /** Email */
706
704
  email: string;
705
+ /** Id */
706
+ id: string;
707
707
  /** Name */
708
708
  name: string;
709
709
  /** Role */
@@ -711,32 +711,32 @@ interface components {
711
711
  };
712
712
  /** UserSummary */
713
713
  UserSummary: {
714
- /** Id */
715
- id: string;
716
714
  /** Email */
717
715
  email: string;
716
+ /** Id */
717
+ id: string;
718
+ /** Is Active */
719
+ is_active: boolean;
718
720
  /** Name */
719
721
  name: string;
720
722
  /** Role */
721
723
  role: string;
722
- /** Is Active */
723
- is_active: boolean;
724
724
  };
725
725
  /** ValidationAlert */
726
726
  ValidationAlert: {
727
- /** Id */
728
- id: string;
729
727
  /** Client Full Name */
730
728
  client_full_name: string | null;
731
- /** Risk Level */
732
- risk_level: string | null;
733
- /** Score Total */
734
- score_total: number | null;
735
729
  /**
736
730
  * Created At
737
731
  * Format: date-time
738
732
  */
739
733
  created_at: string;
734
+ /** Id */
735
+ id: string;
736
+ /** Risk Level */
737
+ risk_level: string | null;
738
+ /** Score Total */
739
+ score_total: number | null;
740
740
  };
741
741
  /** ValidationCancelRequest */
742
742
  ValidationCancelRequest: {
@@ -745,51 +745,48 @@ interface components {
745
745
  };
746
746
  /** ValidationCancelResponse */
747
747
  ValidationCancelResponse: {
748
+ /** Already Terminal */
749
+ already_terminal: boolean;
750
+ /** Cancel Reason */
751
+ cancel_reason?: string | null;
752
+ /** Cancelled At */
753
+ cancelled_at?: string | null;
748
754
  /** Id */
749
755
  id: string;
750
756
  /** Status */
751
757
  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
758
  };
759
759
  /** ValidationCreatedResponse */
760
760
  ValidationCreatedResponse: {
761
- /** Id */
762
- id: string;
763
- /** Status */
764
- status: string;
765
761
  /**
766
762
  * Created At
767
763
  * Format: date-time
768
764
  */
769
765
  created_at: string;
770
- };
771
- /** ValidationDetailResponse */
772
- ValidationDetailResponse: {
773
766
  /** Id */
774
767
  id: string;
775
- /** Cui */
776
- cui?: string | null;
777
- /** Client Full Name */
778
- client_full_name?: string | null;
779
768
  /** Status */
780
769
  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;
770
+ };
771
+ /** ValidationDetailResponse */
772
+ ValidationDetailResponse: {
791
773
  /** Ai Recommendation */
792
774
  ai_recommendation?: string | null;
775
+ /** Client Full Name */
776
+ client_full_name?: string | null;
777
+ /** Client Photo Url */
778
+ client_photo_url?: string | null;
779
+ /** Completed At */
780
+ completed_at?: string | null;
781
+ /** Computed Risk Level */
782
+ computed_risk_level?: string | null;
783
+ /**
784
+ * Created At
785
+ * Format: date-time
786
+ */
787
+ created_at: string;
788
+ /** Cui */
789
+ cui?: string | null;
793
790
  /** Current Step */
794
791
  current_step?: string | null;
795
792
  /** Degraded Steps */
@@ -798,130 +795,133 @@ interface components {
798
795
  error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH") | null;
799
796
  /** Error Message */
800
797
  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
798
  /** Feic Data */
813
799
  feic_data?: string | null;
814
800
  /** Feic Source */
815
801
  feic_source?: string | null;
802
+ /** Id */
803
+ id: string;
816
804
  identity?: components["schemas"]["app__api__validations__IdentityResponse"] | null;
805
+ /** Internet Negative Count */
806
+ internet_negative_count?: number | null;
807
+ /** Internet Relevant Count */
808
+ internet_relevant_count?: number | null;
817
809
  /**
818
- * Score Factors
810
+ * Internet Results
819
811
  * @default []
820
812
  */
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;
813
+ internet_results: components["schemas"]["InternetResultResponse"][];
828
814
  /** Internet Risk Alerts */
829
815
  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;
816
+ /** Internet Summary */
817
+ internet_summary?: string | null;
834
818
  /**
835
819
  * List Results
836
820
  * @default []
837
821
  */
838
822
  list_results: components["schemas"]["ListResultResponse"][];
839
- /**
840
- * Internet Results
841
- * @default []
842
- */
843
- internet_results: components["schemas"]["InternetResultResponse"][];
823
+ /** Naturaleza Cliente */
824
+ naturaleza_cliente?: string | null;
825
+ /** Notes */
826
+ notes?: string | null;
844
827
  /** Ocr Data */
845
828
  ocr_data?: {
846
829
  [key: string]: unknown;
847
830
  } | null;
831
+ /** Overrides Applied */
832
+ overrides_applied?: string | null;
833
+ /** Pais Destino Fondos */
834
+ pais_destino_fondos?: string | null;
835
+ /** Pais Origen Fondos */
836
+ pais_origen_fondos?: string | null;
848
837
  /** Renap Data */
849
838
  renap_data?: {
850
839
  [key: string]: unknown;
851
840
  } | null;
841
+ /** Risk Level */
842
+ risk_level?: string | null;
843
+ /**
844
+ * Score Factors
845
+ * @default []
846
+ */
847
+ score_factors: components["schemas"]["ScoreFactorResponse"][];
848
+ /** Score Total */
849
+ score_total?: number | null;
850
+ /** Status */
851
+ status: string;
852
852
  };
853
853
  /** ValidationError */
854
854
  ValidationError: {
855
+ /** Context */
856
+ ctx?: Record<string, never>;
857
+ /** Input */
858
+ input?: unknown;
855
859
  /** Location */
856
860
  loc: (string | number)[];
857
861
  /** Message */
858
862
  msg: string;
859
863
  /** Error Type */
860
864
  type: string;
861
- /** Input */
862
- input?: unknown;
863
- /** Context */
864
- ctx?: Record<string, never>;
865
865
  };
866
866
  /** ValidationListResponse */
867
867
  ValidationListResponse: {
868
868
  /** Items */
869
869
  items: components["schemas"]["ValidationSummaryResponse"][];
870
- /** Total */
871
- total: number;
872
- /** Page */
873
- page: number;
874
870
  /** Limit */
875
871
  limit: number;
872
+ /** Page */
873
+ page: number;
874
+ /** Total */
875
+ total: number;
876
876
  };
877
877
  /** ValidationSummaryResponse */
878
878
  ValidationSummaryResponse: {
879
- /** Id */
880
- id: string;
881
- /** Cui */
882
- cui?: string | null;
883
879
  /** Client Full Name */
884
880
  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
881
  /**
892
882
  * Created At
893
883
  * Format: date-time
894
884
  */
895
885
  created_at: string;
886
+ /** Cui */
887
+ cui?: string | null;
888
+ /** Id */
889
+ id: string;
890
+ /** Naturaleza Cliente */
891
+ naturaleza_cliente?: string | null;
892
+ /** Risk Level */
893
+ risk_level?: string | null;
894
+ /** Status */
895
+ status: string;
896
896
  };
897
897
  /** IdentityResponse */
898
898
  app__api__oauth__IdentityResponse: {
899
- /** Id */
900
- id: string;
901
- /** Provider */
902
- provider: string;
903
899
  /** Email At Link */
904
900
  email_at_link: string;
901
+ /** Id */
902
+ id: string;
903
+ /** Last Login At */
904
+ last_login_at: string | null;
905
905
  /**
906
906
  * Linked At
907
907
  * Format: date-time
908
908
  */
909
909
  linked_at: string;
910
- /** Last Login At */
911
- last_login_at: string | null;
910
+ /** Provider */
911
+ provider: string;
912
912
  };
913
913
  /** IdentityResponse */
914
914
  app__api__validations__IdentityResponse: {
915
- /** Source */
916
- source?: string | null;
917
915
  /** Data Match */
918
916
  data_match?: number | null;
919
917
  /** Face Match */
920
918
  face_match?: number | null;
921
- /** Face Same */
922
- face_same?: boolean | null;
923
919
  /** Face Reasoning */
924
920
  face_reasoning?: string | null;
921
+ /** Face Same */
922
+ face_same?: boolean | null;
923
+ /** Source */
924
+ source?: string | null;
925
925
  };
926
926
  };
927
927
  responses: never;
@@ -931,14 +931,14 @@ interface components {
931
931
  };
932
932
  requestBodies: never;
933
933
  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
934
  /** @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
935
  XRateLimitLimit: number;
938
936
  /** @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
937
  XRateLimitRemaining: number;
940
938
  /** @description Unix epoch seconds when the rate-limit window resets and `X-RateLimit-Remaining` returns to `X-RateLimit-Limit`. */
941
939
  XRateLimitReset: number;
940
+ /** @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. */
941
+ XRequestId: string;
942
942
  };
943
943
  pathItems: never;
944
944
  }
@@ -975,8 +975,8 @@ declare class AuthApi {
975
975
  private readonly deps;
976
976
  constructor(deps: SubApiDeps);
977
977
  me(): Promise<{
978
- user: components["schemas"]["UserResponse"];
979
978
  tenant: components["schemas"]["TenantResponse"];
979
+ user: components["schemas"]["UserResponse"];
980
980
  } | undefined>;
981
981
  }
982
982
  declare class ValidationsApi {
@@ -1001,42 +1001,42 @@ declare class ValidationsApi {
1001
1001
  status: string;
1002
1002
  }>;
1003
1003
  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
1004
  ai_recommendation?: string | null;
1005
+ client_full_name?: string | null;
1006
+ client_photo_url?: string | null;
1007
+ completed_at?: string | null;
1008
+ computed_risk_level?: string | null;
1009
+ created_at: string;
1010
+ cui?: string | null;
1014
1011
  current_step?: string | null;
1015
1012
  degraded_steps?: string | null;
1016
1013
  error_code?: ("UPLOAD_FAILED" | "VALIDATION_OCR_FAILED" | "VALIDATION_LISTS_FAILED" | "VALIDATION_STEP_FAILED" | "VALIDATION_TIMEOUT" | "STALE_PROCESSING_TIMEOUT" | "VALIDATION_PIPELINE_CRASH") | null;
1017
1014
  error_message?: string | null;
1018
- notes?: string | null;
1019
- created_at: string;
1020
- completed_at?: string | null;
1021
- client_photo_url?: string | null;
1022
1015
  feic_data?: string | null;
1023
1016
  feic_source?: string | null;
1017
+ id: string;
1024
1018
  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
1019
  internet_negative_count?: number | null;
1032
- list_results: components["schemas"]["ListResultResponse"][];
1020
+ internet_relevant_count?: number | null;
1033
1021
  internet_results: components["schemas"]["InternetResultResponse"][];
1022
+ internet_risk_alerts?: string | null;
1023
+ internet_summary?: string | null;
1024
+ list_results: components["schemas"]["ListResultResponse"][];
1025
+ naturaleza_cliente?: string | null;
1026
+ notes?: string | null;
1034
1027
  ocr_data?: {
1035
1028
  [key: string]: unknown;
1036
1029
  } | null;
1030
+ overrides_applied?: string | null;
1031
+ pais_destino_fondos?: string | null;
1032
+ pais_origen_fondos?: string | null;
1037
1033
  renap_data?: {
1038
1034
  [key: string]: unknown;
1039
1035
  } | null;
1036
+ risk_level?: string | null;
1037
+ score_factors: components["schemas"]["ScoreFactorResponse"][];
1038
+ score_total?: number | null;
1039
+ status: string;
1040
1040
  } | undefined>;
1041
1041
  report(id: string): Promise<Blob>;
1042
1042
  }
@@ -1044,9 +1044,9 @@ declare class CreditsApi {
1044
1044
  private readonly deps;
1045
1045
  constructor(deps: SubApiDeps);
1046
1046
  balance(): Promise<{
1047
- tenant_id: string;
1048
1047
  credit_balance: number;
1049
1048
  plan: string;
1049
+ tenant_id: string;
1050
1050
  } | undefined>;
1051
1051
  }
1052
1052
  declare class ApiKeysApi {