diff --git a/openapi/SOURCE.json b/openapi/SOURCE.json index 8715cc6..1a12dbf 100644 --- a/openapi/SOURCE.json +++ b/openapi/SOURCE.json @@ -1,13 +1,13 @@ { "verification.json": { "url": "https://docs.didit.me/openapi-25.json", - "sha256": "fa9a6b3a8752be91522b519c3d9fd98f7a484cda6a5d193e22a30d34b6d5dae7", - "fetched_at": "2026-11-07T16:02:38Z" + "sha256": "99198089e59db66a2eb3fa2a17c9475a2dafce62ee25ed8998eaf00fb2108406", + "fetched_at": "2026-11-09T06:51:54Z" }, "account.json": { "url": "https://docs.didit.me/openapi-auth.json", "sha256": "ef403603543b119fed4300d08e15b8ec0a13de9fabdfdc02866f61f817d2a1f0", - "fetched_at": "2026-11-07T16:02:38Z" + "fetched_at": "2026-11-09T06:51:54Z" }, "webhook-vectors.json": { "generator": "product-automations scripts/server-sdks/make_vectors.py (seeded 2026-10-17)", @@ -16,6 +16,6 @@ "authentication.json": { "url": "https://docs.didit.me/openapi-authentication.json", "sha256": "3987984647bfcaa4b5462c8d60cd3c53894bf7585a38109e0cc813292b2416fe", - "fetched_at": "2026-11-07T16:02:38Z" + "fetched_at": "2026-11-09T06:51:54Z" } } \ No newline at end of file diff --git a/openapi/verification.json b/openapi/verification.json index cd43aef..65d28d8 100644 --- a/openapi/verification.json +++ b/openapi/verification.json @@ -14718,7 +14718,7 @@ }, "country_of_residence": { "type": "string", - "description": "ISO 3166-1 alpha-2 country of residence. Used by global identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup.", + "description": "ISO 3166-1 alpha-2 country of residence. It was used only by the retired global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers.", "example": "US" }, "partial_match_action": { @@ -15144,7 +15144,7 @@ }, "country_of_residence": { "type": "string", - "description": "ISO 3166-1 alpha-2 country of residence. Used by global identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup.", + "description": "ISO 3166-1 alpha-2 country of residence. It was used only by the retired global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers.", "example": "US" }, "partial_match_action": { diff --git a/src/didit/resources/database_validation.py b/src/didit/resources/database_validation.py index f5b26fd..cdd5f45 100644 --- a/src/didit/resources/database_validation.py +++ b/src/didit/resources/database_validation.py @@ -240,7 +240,7 @@ def validate( phone: Phone number for phone-verification services. landline: Landline number for phone-verification services. email: Email address for identity-verification services. - country_of_residence: ISO 3166-1 alpha-2 country of residence. Used by global identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup. + country_of_residence: ISO 3166-1 alpha-2 country of residence. It was used only by the retired global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers. partial_match_action: What a `partial_match` does to `database_validation.status`. Defaults to `NO_ACTION` (status stays `Approved`, with a warning). no_match_action: What a `no_match` does to `database_validation.status`. Defaults to `DECLINE`. save_api_request: Persist the validation as a session (console visibility, decision endpoint, `status.updated` webhook). Also changes the `validations` response shape: per-service objects when `true` (default), a merged field map when `false`. @@ -561,7 +561,7 @@ async def validate( phone: Phone number for phone-verification services. landline: Landline number for phone-verification services. email: Email address for identity-verification services. - country_of_residence: ISO 3166-1 alpha-2 country of residence. Used by global identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup. + country_of_residence: ISO 3166-1 alpha-2 country of residence. It was used only by the retired global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers. partial_match_action: What a `partial_match` does to `database_validation.status`. Defaults to `NO_ACTION` (status stays `Approved`, with a warning). no_match_action: What a `no_match` does to `database_validation.status`. Defaults to `DECLINE`. save_api_request: Persist the validation as a session (console visibility, decision endpoint, `status.updated` webhook). Also changes the `validations` response shape: per-service objects when `true` (default), a merged field map when `false`. diff --git a/src/didit/types/database_validation/validate_params.py b/src/didit/types/database_validation/validate_params.py index 4a3e52a..4e5b368 100644 --- a/src/didit/types/database_validation/validate_params.py +++ b/src/didit/types/database_validation/validate_params.py @@ -254,7 +254,7 @@ class DatabaseValidationValidateParams(TypedDict, total=False): """Email address for identity-verification services.""" country_of_residence: str - """ISO 3166-1 alpha-2 country of residence. Used by global identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup.""" + """ISO 3166-1 alpha-2 country of residence. It was used only by the retired global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers.""" partial_match_action: Literal["DECLINE", "NO_ACTION"] | str """What a `partial_match` does to `database_validation.status`. Defaults to `NO_ACTION` (status stays `Approved`, with a warning)."""