File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6333,6 +6333,26 @@ public function list_accessible_devices(string $user_identity_id): array
63336333 return array_map (fn ($ r ) => Device::from_json ($ r ), $ res ->devices );
63346334 }
63356335
6336+ public function list_accessible_entrances (string $ user_identity_id ): array
6337+ {
6338+ $ request_payload = [];
6339+
6340+ if ($ user_identity_id !== null ) {
6341+ $ request_payload ["user_identity_id " ] = $ user_identity_id ;
6342+ }
6343+
6344+ $ res = $ this ->seam ->request (
6345+ "POST " ,
6346+ "/user_identities/list_accessible_entrances " ,
6347+ json: (object ) $ request_payload ,
6348+ );
6349+
6350+ return array_map (
6351+ fn ($ r ) => AcsEntrance::from_json ($ r ),
6352+ $ res ->acs_entrances ,
6353+ );
6354+ }
6355+
63366356 public function list_acs_systems (string $ user_identity_id ): array
63376357 {
63386358 $ request_payload = [];
You can’t perform that action at this time.
0 commit comments