@@ -281,7 +281,7 @@ export namespace Session {
281281 export const SubscriptionSchema = z . lazy ( ( ) => z . string ( ) ) ;
282282}
283283export namespace Session {
284- export const SubscriptionRequestSchema = z . lazy ( ( ) =>
284+ export const SubscribeParametersSchema = z . lazy ( ( ) =>
285285 z . object ( {
286286 events : z . array ( z . string ( ) ) . min ( 1 ) ,
287287 contexts : z
@@ -372,7 +372,7 @@ export namespace Session {
372372 export const SubscribeSchema = z . lazy ( ( ) =>
373373 z . object ( {
374374 method : z . literal ( 'session.subscribe' ) ,
375- params : Session . SubscriptionRequestSchema ,
375+ params : Session . SubscribeParametersSchema ,
376376 } ) ,
377377 ) ;
378378}
@@ -1470,6 +1470,44 @@ export namespace Emulation {
14701470 } ) ,
14711471 ) ;
14721472}
1473+ export namespace Emulation {
1474+ export const SetNetworkConditionsResultSchema = z . lazy (
1475+ ( ) => EmptyResultSchema ,
1476+ ) ;
1477+ }
1478+ export namespace Emulation {
1479+ export const SetScreenSettingsOverrideSchema = z . lazy ( ( ) =>
1480+ z . object ( {
1481+ method : z . literal ( 'emulation.setScreenSettingsOverride' ) ,
1482+ params : Emulation . SetScreenSettingsOverrideParametersSchema ,
1483+ } ) ,
1484+ ) ;
1485+ }
1486+ export namespace Emulation {
1487+ export const ScreenAreaSchema = z . lazy ( ( ) =>
1488+ z . object ( {
1489+ width : JsUintSchema ,
1490+ height : JsUintSchema ,
1491+ } ) ,
1492+ ) ;
1493+ }
1494+ export namespace Emulation {
1495+ export const SetScreenSettingsOverrideParametersSchema = z . lazy ( ( ) =>
1496+ z . object ( {
1497+ screenArea : z . union ( [ Emulation . ScreenAreaSchema , z . null ( ) ] ) ,
1498+ contexts : z
1499+ . array ( BrowsingContext . BrowsingContextSchema )
1500+ . min ( 1 )
1501+ . optional ( ) ,
1502+ userContexts : z . array ( Browser . UserContextSchema ) . min ( 1 ) . optional ( ) ,
1503+ } ) ,
1504+ ) ;
1505+ }
1506+ export namespace Emulation {
1507+ export const SetScreenSettingsOverrideResultSchema = z . lazy (
1508+ ( ) => EmptyResultSchema ,
1509+ ) ;
1510+ }
14731511export namespace Emulation {
14741512 export const SetScreenOrientationOverrideSchema = z . lazy ( ( ) =>
14751513 z . object ( {
0 commit comments