@verifiquemos/sdk 0.1.7 → 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/CHANGELOG.md +25 -0
- package/dist/index.d.mts +165 -17
- package/dist/index.d.ts +165 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@verifiquemos/sdk` will be documented here.
|
|
4
4
|
|
|
5
|
+
## [0.1.8] - 2026-05-31
|
|
6
|
+
|
|
7
|
+
Generated-types release — no functional changes.
|
|
8
|
+
|
|
9
|
+
### Internal
|
|
10
|
+
- `src/generated.ts` regenerated from `verifiquemos-api/openapi.json`
|
|
11
|
+
(api 0.35.2). Cumulative refresh after ~13 api releases — the
|
|
12
|
+
previous regen was against api 0.22.4 — net +684/-21 lines. New
|
|
13
|
+
paths and component schemas land for OAuth flows
|
|
14
|
+
(`/auth/oauth/{provider}/start`, `/callback`, `/bridge-claim`,
|
|
15
|
+
`/link-confirm`, `/signup-complete`), identity management
|
|
16
|
+
(`/auth/identities`, `/auth/identities/{id}`), invitations
|
|
17
|
+
(`/invites/{token}`, `/invites/{token}/accept`,
|
|
18
|
+
`/tenants/{tenant_id}/invites`), CSP reports
|
|
19
|
+
(`/security/csp-report`, `/security/csp-reports`), admin user
|
|
20
|
+
unlock (`/admin/users/{user_id}/unlock`), password policy + history
|
|
21
|
+
(`ChangePasswordRequest`, `PasswordPolicySettings`), IP allowlist
|
|
22
|
+
(`IpEnforcementMode` literal union, `IpAllowlistSettings`), special
|
|
23
|
+
conditions (`SpecialConditionFlagOut`, `ConsolidatedConditionsOut`,
|
|
24
|
+
`ListMatchSummaryOut` — M23), and countries / sanctions endpoints.
|
|
25
|
+
Convenience aliases in `src/types.ts` unchanged — no new endpoints
|
|
26
|
+
were wrapped, so SDK callers see the same public surface as 0.1.7;
|
|
27
|
+
the new types become reachable via the `components["schemas"][…]`
|
|
28
|
+
and `paths[…]` accessors on the `generated.ts` re-export.
|
|
29
|
+
|
|
5
30
|
## [0.1.7] - 2026-05-28
|
|
6
31
|
|
|
7
32
|
Generated-types release — no functional changes.
|
package/dist/index.d.mts
CHANGED
|
@@ -116,20 +116,6 @@ interface components {
|
|
|
116
116
|
/** Total */
|
|
117
117
|
total: number;
|
|
118
118
|
};
|
|
119
|
-
/** AuthResponse */
|
|
120
|
-
AuthResponse: {
|
|
121
|
-
/** Access Token */
|
|
122
|
-
access_token: string;
|
|
123
|
-
/** Refresh Token */
|
|
124
|
-
refresh_token: string;
|
|
125
|
-
tenant: components["schemas"]["TenantResponse"];
|
|
126
|
-
/**
|
|
127
|
-
* Token Type
|
|
128
|
-
* @default bearer
|
|
129
|
-
*/
|
|
130
|
-
token_type: string;
|
|
131
|
-
user: components["schemas"]["UserResponse"];
|
|
132
|
-
};
|
|
133
119
|
/** BalanceResponse */
|
|
134
120
|
BalanceResponse: {
|
|
135
121
|
/** Credit Balance */
|
|
@@ -264,6 +250,43 @@ interface components {
|
|
|
264
250
|
/** List Type */
|
|
265
251
|
list_type: string;
|
|
266
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"][];
|
|
289
|
+
};
|
|
267
290
|
/** DashboardKpis */
|
|
268
291
|
DashboardKpis: {
|
|
269
292
|
/** Avg Score */
|
|
@@ -421,6 +444,16 @@ interface components {
|
|
|
421
444
|
/** Role */
|
|
422
445
|
role: string;
|
|
423
446
|
};
|
|
447
|
+
/** IpAllowlistSettings */
|
|
448
|
+
IpAllowlistSettings: {
|
|
449
|
+
/** Ip Allowlist */
|
|
450
|
+
ip_allowlist: string[];
|
|
451
|
+
/**
|
|
452
|
+
* Ip Enforcement Mode
|
|
453
|
+
* @enum {string}
|
|
454
|
+
*/
|
|
455
|
+
ip_enforcement_mode: "disabled" | "audit_only" | "enforce";
|
|
456
|
+
};
|
|
424
457
|
/** LedgerEntryResponse */
|
|
425
458
|
LedgerEntryResponse: {
|
|
426
459
|
/** Balance After */
|
|
@@ -439,6 +472,15 @@ interface components {
|
|
|
439
472
|
/** Validation Id */
|
|
440
473
|
validation_id?: string | null;
|
|
441
474
|
};
|
|
475
|
+
/** ListMatchSummaryOut */
|
|
476
|
+
ListMatchSummaryOut: {
|
|
477
|
+
/** Matched Name */
|
|
478
|
+
matched_name: string;
|
|
479
|
+
/** Reference */
|
|
480
|
+
reference: string;
|
|
481
|
+
/** Similarity */
|
|
482
|
+
similarity: number;
|
|
483
|
+
};
|
|
442
484
|
/** ListResultResponse */
|
|
443
485
|
ListResultResponse: {
|
|
444
486
|
/** Found */
|
|
@@ -514,6 +556,17 @@ 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: {
|
|
519
572
|
/** Idempotency Key */
|
|
@@ -612,6 +665,11 @@ 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 */
|
|
@@ -635,6 +693,16 @@ interface components {
|
|
|
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: {
|
|
640
708
|
/** Credit Balance */
|
|
@@ -780,6 +848,7 @@ interface components {
|
|
|
780
848
|
completed_at?: string | null;
|
|
781
849
|
/** Computed Risk Level */
|
|
782
850
|
computed_risk_level?: string | null;
|
|
851
|
+
consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
|
|
783
852
|
/**
|
|
784
853
|
* Created At
|
|
785
854
|
* Format: date-time
|
|
@@ -792,7 +861,7 @@ interface components {
|
|
|
792
861
|
/** Degraded Steps */
|
|
793
862
|
degraded_steps?: string | null;
|
|
794
863
|
/** Error Code */
|
|
795
|
-
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;
|
|
796
865
|
/** Error Message */
|
|
797
866
|
error_message?: string | null;
|
|
798
867
|
/** Feic Data */
|
|
@@ -894,6 +963,39 @@ interface components {
|
|
|
894
963
|
/** Status */
|
|
895
964
|
status: string;
|
|
896
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"];
|
|
998
|
+
};
|
|
897
999
|
/** IdentityResponse */
|
|
898
1000
|
app__api__oauth__IdentityResponse: {
|
|
899
1001
|
/** Email At Link */
|
|
@@ -924,7 +1026,52 @@ interface components {
|
|
|
924
1026
|
source?: string | null;
|
|
925
1027
|
};
|
|
926
1028
|
};
|
|
927
|
-
responses:
|
|
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
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
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;
|
|
@@ -1006,11 +1153,12 @@ declare class ValidationsApi {
|
|
|
1006
1153
|
client_photo_url?: string | null;
|
|
1007
1154
|
completed_at?: string | null;
|
|
1008
1155
|
computed_risk_level?: string | null;
|
|
1156
|
+
consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
|
|
1009
1157
|
created_at: string;
|
|
1010
1158
|
cui?: string | null;
|
|
1011
1159
|
current_step?: string | null;
|
|
1012
1160
|
degraded_steps?: string | null;
|
|
1013
|
-
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;
|
|
1014
1162
|
error_message?: string | null;
|
|
1015
1163
|
feic_data?: string | null;
|
|
1016
1164
|
feic_source?: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -116,20 +116,6 @@ interface components {
|
|
|
116
116
|
/** Total */
|
|
117
117
|
total: number;
|
|
118
118
|
};
|
|
119
|
-
/** AuthResponse */
|
|
120
|
-
AuthResponse: {
|
|
121
|
-
/** Access Token */
|
|
122
|
-
access_token: string;
|
|
123
|
-
/** Refresh Token */
|
|
124
|
-
refresh_token: string;
|
|
125
|
-
tenant: components["schemas"]["TenantResponse"];
|
|
126
|
-
/**
|
|
127
|
-
* Token Type
|
|
128
|
-
* @default bearer
|
|
129
|
-
*/
|
|
130
|
-
token_type: string;
|
|
131
|
-
user: components["schemas"]["UserResponse"];
|
|
132
|
-
};
|
|
133
119
|
/** BalanceResponse */
|
|
134
120
|
BalanceResponse: {
|
|
135
121
|
/** Credit Balance */
|
|
@@ -264,6 +250,43 @@ interface components {
|
|
|
264
250
|
/** List Type */
|
|
265
251
|
list_type: string;
|
|
266
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"][];
|
|
289
|
+
};
|
|
267
290
|
/** DashboardKpis */
|
|
268
291
|
DashboardKpis: {
|
|
269
292
|
/** Avg Score */
|
|
@@ -421,6 +444,16 @@ interface components {
|
|
|
421
444
|
/** Role */
|
|
422
445
|
role: string;
|
|
423
446
|
};
|
|
447
|
+
/** IpAllowlistSettings */
|
|
448
|
+
IpAllowlistSettings: {
|
|
449
|
+
/** Ip Allowlist */
|
|
450
|
+
ip_allowlist: string[];
|
|
451
|
+
/**
|
|
452
|
+
* Ip Enforcement Mode
|
|
453
|
+
* @enum {string}
|
|
454
|
+
*/
|
|
455
|
+
ip_enforcement_mode: "disabled" | "audit_only" | "enforce";
|
|
456
|
+
};
|
|
424
457
|
/** LedgerEntryResponse */
|
|
425
458
|
LedgerEntryResponse: {
|
|
426
459
|
/** Balance After */
|
|
@@ -439,6 +472,15 @@ interface components {
|
|
|
439
472
|
/** Validation Id */
|
|
440
473
|
validation_id?: string | null;
|
|
441
474
|
};
|
|
475
|
+
/** ListMatchSummaryOut */
|
|
476
|
+
ListMatchSummaryOut: {
|
|
477
|
+
/** Matched Name */
|
|
478
|
+
matched_name: string;
|
|
479
|
+
/** Reference */
|
|
480
|
+
reference: string;
|
|
481
|
+
/** Similarity */
|
|
482
|
+
similarity: number;
|
|
483
|
+
};
|
|
442
484
|
/** ListResultResponse */
|
|
443
485
|
ListResultResponse: {
|
|
444
486
|
/** Found */
|
|
@@ -514,6 +556,17 @@ 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: {
|
|
519
572
|
/** Idempotency Key */
|
|
@@ -612,6 +665,11 @@ 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 */
|
|
@@ -635,6 +693,16 @@ interface components {
|
|
|
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: {
|
|
640
708
|
/** Credit Balance */
|
|
@@ -780,6 +848,7 @@ interface components {
|
|
|
780
848
|
completed_at?: string | null;
|
|
781
849
|
/** Computed Risk Level */
|
|
782
850
|
computed_risk_level?: string | null;
|
|
851
|
+
consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
|
|
783
852
|
/**
|
|
784
853
|
* Created At
|
|
785
854
|
* Format: date-time
|
|
@@ -792,7 +861,7 @@ interface components {
|
|
|
792
861
|
/** Degraded Steps */
|
|
793
862
|
degraded_steps?: string | null;
|
|
794
863
|
/** Error Code */
|
|
795
|
-
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;
|
|
796
865
|
/** Error Message */
|
|
797
866
|
error_message?: string | null;
|
|
798
867
|
/** Feic Data */
|
|
@@ -894,6 +963,39 @@ interface components {
|
|
|
894
963
|
/** Status */
|
|
895
964
|
status: string;
|
|
896
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"];
|
|
998
|
+
};
|
|
897
999
|
/** IdentityResponse */
|
|
898
1000
|
app__api__oauth__IdentityResponse: {
|
|
899
1001
|
/** Email At Link */
|
|
@@ -924,7 +1026,52 @@ interface components {
|
|
|
924
1026
|
source?: string | null;
|
|
925
1027
|
};
|
|
926
1028
|
};
|
|
927
|
-
responses:
|
|
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
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
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;
|
|
@@ -1006,11 +1153,12 @@ declare class ValidationsApi {
|
|
|
1006
1153
|
client_photo_url?: string | null;
|
|
1007
1154
|
completed_at?: string | null;
|
|
1008
1155
|
computed_risk_level?: string | null;
|
|
1156
|
+
consolidated_special_conditions?: components["schemas"]["ConsolidatedConditionsOut"] | null;
|
|
1009
1157
|
created_at: string;
|
|
1010
1158
|
cui?: string | null;
|
|
1011
1159
|
current_step?: string | null;
|
|
1012
1160
|
degraded_steps?: string | null;
|
|
1013
|
-
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;
|
|
1014
1162
|
error_message?: string | null;
|
|
1015
1163
|
feic_data?: string | null;
|
|
1016
1164
|
feic_source?: string | null;
|