Skip to content

Commit 740b2d4

Browse files
feat(api): api update
1 parent 721b396 commit 740b2d4

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-01745494602c4845bf7cf84a8f7449d8e53546eb096e3aa6949b89b452c5c90e.yml
3-
openapi_spec_hash: dd4856e9595fab7a4aaa32a040c3060c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-c99300223257d60d7614e76585c62cfea40f43df0547db63c952b20c52f209f4.yml
3+
openapi_spec_hash: 1d4e473f3c566b7a1c3def11b6d84fe0
44
config_hash: 920678668dd2da6f8966fbf1b8fde4e2

‎src/context/dev/types/person_enrich_response.py‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,14 @@ class MatchPersonEnrichmentCandidateMatchPersonName(BaseModel):
163163

164164

165165
class MatchPersonEnrichmentCandidateMatchPerson(BaseModel):
166+
current_role_status: Literal["present", "none", "unknown"]
167+
"""Whether the person's current role is known.
168+
169+
`present` — current_role is populated. `none` — the work history explicitly
170+
shows every role has ended. `unknown` — our data sources could not confirm
171+
either way; treat a missing current_role as unverified rather than vacant.
172+
"""
173+
166174
education: List[MatchPersonEnrichmentCandidateMatchPersonEducation]
167175

168176
experience: List[MatchPersonEnrichmentCandidateMatchPersonExperience]
@@ -177,10 +185,19 @@ class MatchPersonEnrichmentCandidateMatchPerson(BaseModel):
177185

178186
bio: Optional[str] = None
179187

188+
checked_at: Optional[str] = None
189+
"""When we last refreshed this profile from our data sources (ISO 8601)."""
190+
180191
current_role: Optional[MatchPersonEnrichmentCandidateMatchPersonCurrentRole] = None
181192

182193
email: Optional[str] = None
183194

195+
last_updated: Optional[str] = None
196+
"""When the underlying profile data last changed in our data sources (ISO 8601).
197+
198+
Omitted when unknown.
199+
"""
200+
184201
location: Optional[MatchPersonEnrichmentCandidateMatchPersonLocation] = None
185202

186203
name: Optional[MatchPersonEnrichmentCandidateMatchPersonName] = None

0 commit comments

Comments
 (0)