diff --git a/stytch/b2b/models/sessions.py b/stytch/b2b/models/sessions.py index 849ced2a..f402c57f 100644 --- a/stytch/b2b/models/sessions.py +++ b/stytch/b2b/models/sessions.py @@ -7,7 +7,7 @@ from __future__ import annotations import datetime -from typing import Any, Dict, List +from typing import Any, Dict, List, Optional import pydantic @@ -25,8 +25,8 @@ class MemberSession(pydantic.BaseModel): - last_accessed_at: The timestamp when the Session was last accessed. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`. - expires_at: The timestamp when the Session expires. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`. - authentication_factors: An array of different authentication factors that have initiated a Session. - - custom_claims: The custom claims map for a Session. Claims can be added to a session during a Sessions authenticate call. - organization_id: Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. + - custom_claims: The custom claims map for a Session. Claims can be added to a session during a Sessions authenticate call. """ # noqa member_session_id: str @@ -35,8 +35,8 @@ class MemberSession(pydantic.BaseModel): last_accessed_at: datetime.datetime expires_at: datetime.datetime authentication_factors: List[AuthenticationFactor] - custom_claims: Dict[str, Any] organization_id: str + custom_claims: Optional[Dict[str, Any]] = None class AuthenticateResponse(ResponseBase): diff --git a/stytch/version.py b/stytch/version.py index fb16410a..b2ea6c25 100644 --- a/stytch/version.py +++ b/stytch/version.py @@ -1 +1 @@ -__version__ = "7.0.1" +__version__ = "7.0.2"