@verifiquemos/sdk 0.1.9 → 0.1.11

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/CHANGELOG.md CHANGED
@@ -2,11 +2,50 @@
2
2
 
3
3
  All notable changes to `@verifiquemos/sdk` will be documented here.
4
4
 
5
+ ## [0.1.11] - 2026-06-01
6
+
7
+ Tooling-only release — no functional changes to the public SDK
8
+ surface or the generated types.
9
+
10
+ ### Internal
11
+
12
+ - Added `.markdownlint-cli2.jsonc` so monorepo-wide markdown lint runs
13
+ skip `node_modules/` and `dist/` when executed from this
14
+ subproject. A comment notes that `.markdownlintignore` is not
15
+ honored by `markdownlint-cli2` v0.21 (verified empirically).
16
+ - Markdown formatting cleanup in `CHANGELOG.md` from
17
+ `markdownlint-cli2 --fix` (MD022 / MD031 / MD032). No content
18
+ changes.
19
+
20
+ ## [0.1.10] - 2026-06-01
21
+
22
+ Generated-types release — no functional changes.
23
+
24
+ ### Internal
25
+
26
+ - `src/generated.ts` regenerated from `verifiquemos-api/openapi.json`
27
+ (api 0.35.8, up from 0.35.2). Net +432/-70 lines. The substantive
28
+ surface is the dashboard split: two new export endpoints
29
+ (`/dashboard/strategic/export`, `/dashboard/operational/export`)
30
+ alongside the previously-typed `/dashboard/strategic`,
31
+ `/dashboard/operational`, and `/admin/dashboard/recompute`. New
32
+ component schemas: `StrategicResponse`, `OperationalResponse`,
33
+ `AmlAlertsKpi`, `RiskAggregateKpi`, `RiskExposureKpi`,
34
+ `RiskTrendPoint`, `NaturalezaKpi`, `ExposedValueKpi`, `Coverage`,
35
+ `SegmentBreakdown`, `SegmentRow`, `ActionsByUser`,
36
+ `ConsumptionByUser`, `ConsumptionTimePoint`, `IncomeBucket`,
37
+ `ListMatchCount`, `ScoreBucket`, `SpecialConditionFlag`, plus the
38
+ `SemaforoBand` literal union (`"green" | "yellow" | "red"`).
39
+ Convenience aliases in `src/types.ts` unchanged — the public surface
40
+ is unchanged; new types are reachable via `components["schemas"][…]`
41
+ and `paths[…]` on the `generated.ts` re-export.
42
+
5
43
  ## [0.1.9] - 2026-06-01
6
44
 
7
45
  Graphify hygiene — no functional changes.
8
46
 
9
47
  ### Internal
48
+
10
49
  - `.gitignore` excludes `graphify-out/`. The authoritative knowledge
11
50
  graph lives at the monorepo root (`verifiquemos/graphify-out/`);
12
51
  this defensive entry covers the case where someone runs
@@ -17,6 +56,7 @@ Graphify hygiene — no functional changes.
17
56
  Generated-types release — no functional changes.
18
57
 
19
58
  ### Internal
59
+
20
60
  - `src/generated.ts` regenerated from `verifiquemos-api/openapi.json`
21
61
  (api 0.35.2). Cumulative refresh after ~13 api releases — the
22
62
  previous regen was against api 0.22.4 — net +684/-21 lines. New
@@ -42,6 +82,7 @@ Generated-types release — no functional changes.
42
82
  Generated-types release — no functional changes.
43
83
 
44
84
  ### Internal
85
+
45
86
  - `src/generated.ts` regenerated from `verifiquemos-api/openapi.json`
46
87
  (api 0.22.4). The api cycle 0.22.0 → 0.22.4 made no endpoint
47
88
  signature or response-shape changes; the +1031/-1031 diff is fully
@@ -54,19 +95,22 @@ Generated-types release — no functional changes.
54
95
  Documentation release — no functional changes.
55
96
 
56
97
  ### Internal
98
+
57
99
  - README adds a Requirements section (Node >=20, npm >=10) and documents
58
100
  the publish gate explicitly — push a `v*` tag, the Azure pipeline runs
59
101
  `npm publish --access public` after `prepublishOnly` (typecheck + test
60
- + build). CI invariants unchanged.
102
+ - build). CI invariants unchanged.
61
103
 
62
104
  ## [0.1.5] - 2026-05-25
63
105
 
64
106
  Documentation and tooling release — no functional changes.
65
107
 
66
108
  ### Fixed
109
+
67
110
  - README: corrected the `validations.create` example to match the API — `cui` is extracted from the DPI via OCR (not a parameter), `dpiFile` replaces `dpiFront`/`dpiBack`, and `paisOrigenFondos` takes an ISO-3 code (`GTM`).
68
111
 
69
112
  ### Internal
113
+
70
114
  - Added ESLint 10 (flat config) wired into the scripts, `prepublishOnly` and CI; the generated client is ignored.
71
115
  - Added a CLAUDE.md agent guide and an `.env.example` for the examples.
72
116
 
@@ -79,9 +123,11 @@ Maintenance release — version aligned with the Python SDK (no functional chang
79
123
  First published release.
80
124
 
81
125
  ### Fixed
126
+
82
127
  - Corrected the default API domain from `verifiquemos.gt` to `verifiquemos.com` (default `baseUrl`, README, support email and homepage).
83
128
 
84
129
  ### Changed
130
+
85
131
  - Removed the private repository URL from public package metadata.
86
132
 
87
133
  ## [0.1.1] - 2026-05-25
package/dist/index.d.mts CHANGED
@@ -13,14 +13,25 @@ interface components {
13
13
  /** Role */
14
14
  role: string;
15
15
  };
16
- /** AnalystSummary */
17
- AnalystSummary: {
16
+ /** ActionsByUser */
17
+ ActionsByUser: {
18
18
  /** Full Name */
19
19
  full_name: string;
20
+ /** Initial Count */
21
+ initial_count: number;
22
+ /** Update Count */
23
+ update_count: number;
20
24
  /** User Id */
21
25
  user_id: string;
22
- /** Validations Count */
23
- validations_count: number;
26
+ };
27
+ /** AmlAlertsKpi */
28
+ AmlAlertsKpi: {
29
+ /** Alerts Index */
30
+ alerts_index: number;
31
+ /** From List Hits */
32
+ from_list_hits: number;
33
+ /** From Negative Internet */
34
+ from_negative_internet: number;
24
35
  };
25
36
  /** ApiKeyCreateRequest */
26
37
  ApiKeyCreateRequest: {
@@ -266,6 +277,30 @@ interface components {
266
277
  ong: boolean;
267
278
  pep: components["schemas"]["SpecialConditionFlagOut"];
268
279
  };
280
+ /** ConsumptionByUser */
281
+ ConsumptionByUser: {
282
+ /** By Status */
283
+ by_status: {
284
+ [key: string]: number;
285
+ };
286
+ /** First At */
287
+ first_at: string | null;
288
+ /** Full Name */
289
+ full_name: string;
290
+ /** Last At */
291
+ last_at: string | null;
292
+ /** Total */
293
+ total: number;
294
+ /** User Id */
295
+ user_id: string;
296
+ };
297
+ /** ConsumptionTimePoint */
298
+ ConsumptionTimePoint: {
299
+ /** Count */
300
+ count: number;
301
+ /** Date */
302
+ date: string;
303
+ };
269
304
  /** CountriesResponse */
270
305
  CountriesResponse: {
271
306
  /** Countries */
@@ -287,36 +322,14 @@ interface components {
287
322
  /** Sanctions */
288
323
  sanctions: components["schemas"]["SanctionItem"][];
289
324
  };
290
- /** DashboardKpis */
291
- DashboardKpis: {
292
- /** Avg Score */
293
- avg_score: number | null;
294
- /** Cancelled Count */
295
- cancelled_count: number;
296
- /** Completed Count */
297
- completed_count: number;
298
- /** Failed Count */
299
- failed_count: number;
300
- /** Processing Count */
301
- processing_count: number;
325
+ /** Coverage */
326
+ Coverage: {
302
327
  /** Total Validations */
303
328
  total_validations: number;
304
- /** Total Validations Prev Period */
305
- total_validations_prev_period: number;
306
- };
307
- /** DashboardResponse */
308
- DashboardResponse: {
309
- /** Alerts */
310
- alerts: components["schemas"]["ValidationAlert"][];
311
- kpis: components["schemas"]["DashboardKpis"];
312
- /** Period */
313
- period: string;
314
- /** Risk Distribution */
315
- risk_distribution: components["schemas"]["RiskBucket"][];
316
- /** Top Analysts */
317
- top_analysts: components["schemas"]["AnalystSummary"][];
318
- /** Trends */
319
- trends: components["schemas"]["TrendPoint"][];
329
+ /** With Income */
330
+ with_income: number;
331
+ /** Without Income */
332
+ without_income: number;
320
333
  };
321
334
  /** ETLJobSummary */
322
335
  ETLJobSummary: {
@@ -333,6 +346,11 @@ interface components {
333
346
  /** Status */
334
347
  status: string;
335
348
  };
349
+ /** ExposedValueKpi */
350
+ ExposedValueKpi: {
351
+ /** Total Qtz */
352
+ total_qtz: number;
353
+ };
336
354
  /** ForgotPasswordRequest */
337
355
  ForgotPasswordRequest: {
338
356
  /**
@@ -357,6 +375,13 @@ interface components {
357
375
  /** Total */
358
376
  total: number;
359
377
  };
378
+ /** IncomeBucket */
379
+ IncomeBucket: {
380
+ /** Count */
381
+ count: number;
382
+ /** Label */
383
+ label: string;
384
+ };
360
385
  /** InternetResultResponse */
361
386
  InternetResultResponse: {
362
387
  /** Category */
@@ -472,6 +497,13 @@ interface components {
472
497
  /** Validation Id */
473
498
  validation_id?: string | null;
474
499
  };
500
+ /** ListMatchCount */
501
+ ListMatchCount: {
502
+ /** Distinct Clients */
503
+ distinct_clients: number;
504
+ /** List Type */
505
+ list_type: string;
506
+ };
475
507
  /** ListMatchSummaryOut */
476
508
  ListMatchSummaryOut: {
477
509
  /** Matched Name */
@@ -532,6 +564,15 @@ interface components {
532
564
  /** Message */
533
565
  message: string;
534
566
  };
567
+ /** NaturalezaKpi */
568
+ NaturalezaKpi: {
569
+ /** No Clasificado */
570
+ no_clasificado: number;
571
+ /** Persona Individual */
572
+ persona_individual: number;
573
+ /** Persona Juridica */
574
+ persona_juridica: number;
575
+ };
535
576
  /** OAuthBridgeClaimRequest */
536
577
  OAuthBridgeClaimRequest: {
537
578
  /** Nonce */
@@ -556,6 +597,32 @@ interface components {
556
597
  */
557
598
  tenant_type: "individual" | "juridica";
558
599
  };
600
+ /** OperationalResponse */
601
+ OperationalResponse: {
602
+ /** Actions By User */
603
+ actions_by_user: components["schemas"]["ActionsByUser"][];
604
+ /**
605
+ * Computed At
606
+ * Format: date-time
607
+ */
608
+ computed_at: string;
609
+ /** Consumption By User */
610
+ consumption_by_user: components["schemas"]["ConsumptionByUser"][];
611
+ /** Consumption Over Time */
612
+ consumption_over_time: components["schemas"]["ConsumptionTimePoint"][];
613
+ /** List Matches */
614
+ list_matches: components["schemas"]["ListMatchCount"][];
615
+ naturaleza_breakdown: components["schemas"]["NaturalezaKpi"];
616
+ /** Period */
617
+ period: string;
618
+ /** Score Distribution */
619
+ score_distribution: components["schemas"]["ScoreBucket"][];
620
+ /**
621
+ * Source
622
+ * @constant
623
+ */
624
+ source: "live";
625
+ };
559
626
  /** PasswordPolicySettings */
560
627
  PasswordPolicySettings: {
561
628
  /** Password History N */
@@ -650,12 +717,27 @@ interface components {
650
717
  /** Token */
651
718
  token: string;
652
719
  };
653
- /** RiskBucket */
654
- RiskBucket: {
655
- /** Count */
656
- count: number;
657
- /** Risk Level */
658
- risk_level: string;
720
+ /** RiskAggregateKpi */
721
+ RiskAggregateKpi: {
722
+ /** Aggregate Index */
723
+ aggregate_index: number | null;
724
+ /** Pct High Risk */
725
+ pct_high_risk: number;
726
+ };
727
+ /** RiskExposureKpi */
728
+ RiskExposureKpi: {
729
+ band: components["schemas"]["SemaforoBand"] | null;
730
+ /** Exposure Index */
731
+ exposure_index: number | null;
732
+ };
733
+ /** RiskTrendPoint */
734
+ RiskTrendPoint: {
735
+ /** Aggregate Index */
736
+ aggregate_index: number | null;
737
+ /** Date */
738
+ date: string;
739
+ /** Sample Size */
740
+ sample_size: number;
659
741
  };
660
742
  /** RoleUpdateRequest */
661
743
  RoleUpdateRequest: {
@@ -670,6 +752,13 @@ interface components {
670
752
  /** Category */
671
753
  category: string;
672
754
  };
755
+ /** ScoreBucket */
756
+ ScoreBucket: {
757
+ /** Count */
758
+ count: number;
759
+ /** Range */
760
+ range: string;
761
+ };
673
762
  /** ScoreFactorResponse */
674
763
  ScoreFactorResponse: {
675
764
  /** Factor Key */
@@ -681,6 +770,31 @@ interface components {
681
770
  /** Raw Score */
682
771
  raw_score: number;
683
772
  };
773
+ /** SegmentBreakdown */
774
+ SegmentBreakdown: {
775
+ /** By Activity */
776
+ by_activity: components["schemas"]["SegmentRow"][];
777
+ /** By Country */
778
+ by_country: components["schemas"]["SegmentRow"][];
779
+ /** By Naturaleza */
780
+ by_naturaleza: components["schemas"]["SegmentRow"][];
781
+ };
782
+ /** SegmentRow */
783
+ SegmentRow: {
784
+ /** High Risk Count */
785
+ high_risk_count: number;
786
+ /** Key */
787
+ key: string;
788
+ /** Pct High */
789
+ pct_high: number;
790
+ /** Total */
791
+ total: number;
792
+ };
793
+ /**
794
+ * SemaforoBand
795
+ * @enum {string}
796
+ */
797
+ SemaforoBand: "green" | "yellow" | "red";
684
798
  /** SetPasswordConfirmRequest */
685
799
  SetPasswordConfirmRequest: {
686
800
  /** New Password */
@@ -693,6 +807,18 @@ interface components {
693
807
  /** Message */
694
808
  message: string;
695
809
  };
810
+ /** SpecialConditionFlag */
811
+ SpecialConditionFlag: {
812
+ /** Count True */
813
+ count_true: number;
814
+ /**
815
+ * Flag
816
+ * @enum {string}
817
+ */
818
+ flag: "pep" | "cpe" | "ong" | "fideicomiso";
819
+ /** Pct */
820
+ pct: number;
821
+ };
696
822
  /** SpecialConditionFlagOut */
697
823
  SpecialConditionFlagOut: {
698
824
  /** Declared */
@@ -703,6 +829,33 @@ interface components {
703
829
  /** Value */
704
830
  value: boolean;
705
831
  };
832
+ /** StrategicResponse */
833
+ StrategicResponse: {
834
+ aml_alerts: components["schemas"]["AmlAlertsKpi"];
835
+ /**
836
+ * Computed At
837
+ * Format: date-time
838
+ */
839
+ computed_at: string;
840
+ coverage: components["schemas"]["Coverage"];
841
+ exposed_value: components["schemas"]["ExposedValueKpi"];
842
+ /** Income Concentration */
843
+ income_concentration: components["schemas"]["IncomeBucket"][];
844
+ /** Period */
845
+ period: string;
846
+ risk_aggregate: components["schemas"]["RiskAggregateKpi"];
847
+ risk_by_segment: components["schemas"]["SegmentBreakdown"];
848
+ /** Risk Evolution */
849
+ risk_evolution: components["schemas"]["RiskTrendPoint"][];
850
+ risk_exposure: components["schemas"]["RiskExposureKpi"];
851
+ /**
852
+ * Source
853
+ * @enum {string}
854
+ */
855
+ source: "snapshot" | "live";
856
+ /** Special Conditions */
857
+ special_conditions: components["schemas"]["SpecialConditionFlag"][];
858
+ };
706
859
  /** TenantResponse */
707
860
  TenantResponse: {
708
861
  /** Credit Balance */
@@ -731,13 +884,6 @@ interface components {
731
884
  */
732
885
  token_type: string;
733
886
  };
734
- /** TrendPoint */
735
- TrendPoint: {
736
- /** Count */
737
- count: number;
738
- /** Date */
739
- date: string;
740
- };
741
887
  /** TriggerETLRequest */
742
888
  TriggerETLRequest: {
743
889
  /**
@@ -790,22 +936,6 @@ interface components {
790
936
  /** Role */
791
937
  role: string;
792
938
  };
793
- /** ValidationAlert */
794
- ValidationAlert: {
795
- /** Client Full Name */
796
- client_full_name: string | null;
797
- /**
798
- * Created At
799
- * Format: date-time
800
- */
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;
808
- };
809
939
  /** ValidationCancelRequest */
810
940
  ValidationCancelRequest: {
811
941
  /** Reason */
package/dist/index.d.ts CHANGED
@@ -13,14 +13,25 @@ interface components {
13
13
  /** Role */
14
14
  role: string;
15
15
  };
16
- /** AnalystSummary */
17
- AnalystSummary: {
16
+ /** ActionsByUser */
17
+ ActionsByUser: {
18
18
  /** Full Name */
19
19
  full_name: string;
20
+ /** Initial Count */
21
+ initial_count: number;
22
+ /** Update Count */
23
+ update_count: number;
20
24
  /** User Id */
21
25
  user_id: string;
22
- /** Validations Count */
23
- validations_count: number;
26
+ };
27
+ /** AmlAlertsKpi */
28
+ AmlAlertsKpi: {
29
+ /** Alerts Index */
30
+ alerts_index: number;
31
+ /** From List Hits */
32
+ from_list_hits: number;
33
+ /** From Negative Internet */
34
+ from_negative_internet: number;
24
35
  };
25
36
  /** ApiKeyCreateRequest */
26
37
  ApiKeyCreateRequest: {
@@ -266,6 +277,30 @@ interface components {
266
277
  ong: boolean;
267
278
  pep: components["schemas"]["SpecialConditionFlagOut"];
268
279
  };
280
+ /** ConsumptionByUser */
281
+ ConsumptionByUser: {
282
+ /** By Status */
283
+ by_status: {
284
+ [key: string]: number;
285
+ };
286
+ /** First At */
287
+ first_at: string | null;
288
+ /** Full Name */
289
+ full_name: string;
290
+ /** Last At */
291
+ last_at: string | null;
292
+ /** Total */
293
+ total: number;
294
+ /** User Id */
295
+ user_id: string;
296
+ };
297
+ /** ConsumptionTimePoint */
298
+ ConsumptionTimePoint: {
299
+ /** Count */
300
+ count: number;
301
+ /** Date */
302
+ date: string;
303
+ };
269
304
  /** CountriesResponse */
270
305
  CountriesResponse: {
271
306
  /** Countries */
@@ -287,36 +322,14 @@ interface components {
287
322
  /** Sanctions */
288
323
  sanctions: components["schemas"]["SanctionItem"][];
289
324
  };
290
- /** DashboardKpis */
291
- DashboardKpis: {
292
- /** Avg Score */
293
- avg_score: number | null;
294
- /** Cancelled Count */
295
- cancelled_count: number;
296
- /** Completed Count */
297
- completed_count: number;
298
- /** Failed Count */
299
- failed_count: number;
300
- /** Processing Count */
301
- processing_count: number;
325
+ /** Coverage */
326
+ Coverage: {
302
327
  /** Total Validations */
303
328
  total_validations: number;
304
- /** Total Validations Prev Period */
305
- total_validations_prev_period: number;
306
- };
307
- /** DashboardResponse */
308
- DashboardResponse: {
309
- /** Alerts */
310
- alerts: components["schemas"]["ValidationAlert"][];
311
- kpis: components["schemas"]["DashboardKpis"];
312
- /** Period */
313
- period: string;
314
- /** Risk Distribution */
315
- risk_distribution: components["schemas"]["RiskBucket"][];
316
- /** Top Analysts */
317
- top_analysts: components["schemas"]["AnalystSummary"][];
318
- /** Trends */
319
- trends: components["schemas"]["TrendPoint"][];
329
+ /** With Income */
330
+ with_income: number;
331
+ /** Without Income */
332
+ without_income: number;
320
333
  };
321
334
  /** ETLJobSummary */
322
335
  ETLJobSummary: {
@@ -333,6 +346,11 @@ interface components {
333
346
  /** Status */
334
347
  status: string;
335
348
  };
349
+ /** ExposedValueKpi */
350
+ ExposedValueKpi: {
351
+ /** Total Qtz */
352
+ total_qtz: number;
353
+ };
336
354
  /** ForgotPasswordRequest */
337
355
  ForgotPasswordRequest: {
338
356
  /**
@@ -357,6 +375,13 @@ interface components {
357
375
  /** Total */
358
376
  total: number;
359
377
  };
378
+ /** IncomeBucket */
379
+ IncomeBucket: {
380
+ /** Count */
381
+ count: number;
382
+ /** Label */
383
+ label: string;
384
+ };
360
385
  /** InternetResultResponse */
361
386
  InternetResultResponse: {
362
387
  /** Category */
@@ -472,6 +497,13 @@ interface components {
472
497
  /** Validation Id */
473
498
  validation_id?: string | null;
474
499
  };
500
+ /** ListMatchCount */
501
+ ListMatchCount: {
502
+ /** Distinct Clients */
503
+ distinct_clients: number;
504
+ /** List Type */
505
+ list_type: string;
506
+ };
475
507
  /** ListMatchSummaryOut */
476
508
  ListMatchSummaryOut: {
477
509
  /** Matched Name */
@@ -532,6 +564,15 @@ interface components {
532
564
  /** Message */
533
565
  message: string;
534
566
  };
567
+ /** NaturalezaKpi */
568
+ NaturalezaKpi: {
569
+ /** No Clasificado */
570
+ no_clasificado: number;
571
+ /** Persona Individual */
572
+ persona_individual: number;
573
+ /** Persona Juridica */
574
+ persona_juridica: number;
575
+ };
535
576
  /** OAuthBridgeClaimRequest */
536
577
  OAuthBridgeClaimRequest: {
537
578
  /** Nonce */
@@ -556,6 +597,32 @@ interface components {
556
597
  */
557
598
  tenant_type: "individual" | "juridica";
558
599
  };
600
+ /** OperationalResponse */
601
+ OperationalResponse: {
602
+ /** Actions By User */
603
+ actions_by_user: components["schemas"]["ActionsByUser"][];
604
+ /**
605
+ * Computed At
606
+ * Format: date-time
607
+ */
608
+ computed_at: string;
609
+ /** Consumption By User */
610
+ consumption_by_user: components["schemas"]["ConsumptionByUser"][];
611
+ /** Consumption Over Time */
612
+ consumption_over_time: components["schemas"]["ConsumptionTimePoint"][];
613
+ /** List Matches */
614
+ list_matches: components["schemas"]["ListMatchCount"][];
615
+ naturaleza_breakdown: components["schemas"]["NaturalezaKpi"];
616
+ /** Period */
617
+ period: string;
618
+ /** Score Distribution */
619
+ score_distribution: components["schemas"]["ScoreBucket"][];
620
+ /**
621
+ * Source
622
+ * @constant
623
+ */
624
+ source: "live";
625
+ };
559
626
  /** PasswordPolicySettings */
560
627
  PasswordPolicySettings: {
561
628
  /** Password History N */
@@ -650,12 +717,27 @@ interface components {
650
717
  /** Token */
651
718
  token: string;
652
719
  };
653
- /** RiskBucket */
654
- RiskBucket: {
655
- /** Count */
656
- count: number;
657
- /** Risk Level */
658
- risk_level: string;
720
+ /** RiskAggregateKpi */
721
+ RiskAggregateKpi: {
722
+ /** Aggregate Index */
723
+ aggregate_index: number | null;
724
+ /** Pct High Risk */
725
+ pct_high_risk: number;
726
+ };
727
+ /** RiskExposureKpi */
728
+ RiskExposureKpi: {
729
+ band: components["schemas"]["SemaforoBand"] | null;
730
+ /** Exposure Index */
731
+ exposure_index: number | null;
732
+ };
733
+ /** RiskTrendPoint */
734
+ RiskTrendPoint: {
735
+ /** Aggregate Index */
736
+ aggregate_index: number | null;
737
+ /** Date */
738
+ date: string;
739
+ /** Sample Size */
740
+ sample_size: number;
659
741
  };
660
742
  /** RoleUpdateRequest */
661
743
  RoleUpdateRequest: {
@@ -670,6 +752,13 @@ interface components {
670
752
  /** Category */
671
753
  category: string;
672
754
  };
755
+ /** ScoreBucket */
756
+ ScoreBucket: {
757
+ /** Count */
758
+ count: number;
759
+ /** Range */
760
+ range: string;
761
+ };
673
762
  /** ScoreFactorResponse */
674
763
  ScoreFactorResponse: {
675
764
  /** Factor Key */
@@ -681,6 +770,31 @@ interface components {
681
770
  /** Raw Score */
682
771
  raw_score: number;
683
772
  };
773
+ /** SegmentBreakdown */
774
+ SegmentBreakdown: {
775
+ /** By Activity */
776
+ by_activity: components["schemas"]["SegmentRow"][];
777
+ /** By Country */
778
+ by_country: components["schemas"]["SegmentRow"][];
779
+ /** By Naturaleza */
780
+ by_naturaleza: components["schemas"]["SegmentRow"][];
781
+ };
782
+ /** SegmentRow */
783
+ SegmentRow: {
784
+ /** High Risk Count */
785
+ high_risk_count: number;
786
+ /** Key */
787
+ key: string;
788
+ /** Pct High */
789
+ pct_high: number;
790
+ /** Total */
791
+ total: number;
792
+ };
793
+ /**
794
+ * SemaforoBand
795
+ * @enum {string}
796
+ */
797
+ SemaforoBand: "green" | "yellow" | "red";
684
798
  /** SetPasswordConfirmRequest */
685
799
  SetPasswordConfirmRequest: {
686
800
  /** New Password */
@@ -693,6 +807,18 @@ interface components {
693
807
  /** Message */
694
808
  message: string;
695
809
  };
810
+ /** SpecialConditionFlag */
811
+ SpecialConditionFlag: {
812
+ /** Count True */
813
+ count_true: number;
814
+ /**
815
+ * Flag
816
+ * @enum {string}
817
+ */
818
+ flag: "pep" | "cpe" | "ong" | "fideicomiso";
819
+ /** Pct */
820
+ pct: number;
821
+ };
696
822
  /** SpecialConditionFlagOut */
697
823
  SpecialConditionFlagOut: {
698
824
  /** Declared */
@@ -703,6 +829,33 @@ interface components {
703
829
  /** Value */
704
830
  value: boolean;
705
831
  };
832
+ /** StrategicResponse */
833
+ StrategicResponse: {
834
+ aml_alerts: components["schemas"]["AmlAlertsKpi"];
835
+ /**
836
+ * Computed At
837
+ * Format: date-time
838
+ */
839
+ computed_at: string;
840
+ coverage: components["schemas"]["Coverage"];
841
+ exposed_value: components["schemas"]["ExposedValueKpi"];
842
+ /** Income Concentration */
843
+ income_concentration: components["schemas"]["IncomeBucket"][];
844
+ /** Period */
845
+ period: string;
846
+ risk_aggregate: components["schemas"]["RiskAggregateKpi"];
847
+ risk_by_segment: components["schemas"]["SegmentBreakdown"];
848
+ /** Risk Evolution */
849
+ risk_evolution: components["schemas"]["RiskTrendPoint"][];
850
+ risk_exposure: components["schemas"]["RiskExposureKpi"];
851
+ /**
852
+ * Source
853
+ * @enum {string}
854
+ */
855
+ source: "snapshot" | "live";
856
+ /** Special Conditions */
857
+ special_conditions: components["schemas"]["SpecialConditionFlag"][];
858
+ };
706
859
  /** TenantResponse */
707
860
  TenantResponse: {
708
861
  /** Credit Balance */
@@ -731,13 +884,6 @@ interface components {
731
884
  */
732
885
  token_type: string;
733
886
  };
734
- /** TrendPoint */
735
- TrendPoint: {
736
- /** Count */
737
- count: number;
738
- /** Date */
739
- date: string;
740
- };
741
887
  /** TriggerETLRequest */
742
888
  TriggerETLRequest: {
743
889
  /**
@@ -790,22 +936,6 @@ interface components {
790
936
  /** Role */
791
937
  role: string;
792
938
  };
793
- /** ValidationAlert */
794
- ValidationAlert: {
795
- /** Client Full Name */
796
- client_full_name: string | null;
797
- /**
798
- * Created At
799
- * Format: date-time
800
- */
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;
808
- };
809
939
  /** ValidationCancelRequest */
810
940
  ValidationCancelRequest: {
811
941
  /** Reason */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verifiquemos/sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Official TypeScript SDK for the Verifiquemos compliance API",
5
5
  "license": "MIT",
6
6
  "author": "Verifiquemos",