@@ -75,9 +75,6 @@ class Session(BaseModel):
7575 event_count : int = FieldInfo (alias = "eventCount" )
7676 """Number of events processed in the session"""
7777
78- headless : bool
79- """Indicates if the session is headless or headful"""
80-
8178 optimize_bandwidth : SessionOptimizeBandwidth = FieldInfo (alias = "optimizeBandwidth" )
8279 """Bandwidth optimizations that were applied to the session."""
8380
@@ -102,6 +99,9 @@ class Session(BaseModel):
10299 device_config : Optional [SessionDeviceConfig ] = FieldInfo (alias = "deviceConfig" , default = None )
103100 """Device configuration for the session"""
104101
102+ headless : Optional [bool ] = None
103+ """Indicates if the session is headless or headful"""
104+
105105 is_selenium : Optional [bool ] = FieldInfo (alias = "isSelenium" , default = None )
106106 """Indicates if Selenium is used in the session"""
107107
@@ -111,12 +111,15 @@ class Session(BaseModel):
111111 profile_id : Optional [str ] = FieldInfo (alias = "profileId" , default = None )
112112 """The ID of the profile associated with the session"""
113113
114- region : Optional [Literal ["lax" , "ord" , "iad" , "scl" , "fra" ]] = None
114+ region : Optional [Literal ["lax" , "ord" , "iad" , "scl" , "fra" , "nrt" ]] = None
115115 """The region where the session was created"""
116116
117117 solve_captcha : Optional [bool ] = FieldInfo (alias = "solveCaptcha" , default = None )
118118 """Indicates if captcha solving is enabled"""
119119
120+ source : Optional [str ] = None
121+ """Source of the session, e.g. 'api:sessions'"""
122+
120123 stealth_config : Optional [SessionStealthConfig ] = FieldInfo (alias = "stealthConfig" , default = None )
121124 """Stealth configuration for the session"""
122125
0 commit comments