@@ -2668,20 +2668,38 @@ public function get(string $action_attempt_id): ActionAttempt
26682668 return ActionAttempt::from_json ($ res ->action_attempt );
26692669 }
26702670
2671- public function list (array $ action_attempt_ids ): array
2672- {
2671+ public function list (
2672+ ?array $ action_attempt_ids = null ,
2673+ ?string $ device_id = null ,
2674+ mixed $ limit = null ,
2675+ ?string $ page_cursor = null ,
2676+ ?callable $ on_response = null ,
2677+ ): array {
26732678 $ request_payload = [];
26742679
26752680 if ($ action_attempt_ids !== null ) {
26762681 $ request_payload ["action_attempt_ids " ] = $ action_attempt_ids ;
26772682 }
2683+ if ($ device_id !== null ) {
2684+ $ request_payload ["device_id " ] = $ device_id ;
2685+ }
2686+ if ($ limit !== null ) {
2687+ $ request_payload ["limit " ] = $ limit ;
2688+ }
2689+ if ($ page_cursor !== null ) {
2690+ $ request_payload ["page_cursor " ] = $ page_cursor ;
2691+ }
26782692
26792693 $ res = $ this ->seam ->request (
26802694 "POST " ,
26812695 "/action_attempts/list " ,
26822696 json: (object ) $ request_payload ,
26832697 );
26842698
2699+ if ($ on_response !== null ) {
2700+ $ on_response ($ res );
2701+ }
2702+
26852703 return array_map (
26862704 fn ($ r ) => ActionAttempt::from_json ($ r ),
26872705 $ res ->action_attempts ,
@@ -3955,8 +3973,10 @@ public function get(
39553973 public function list (
39563974 ?string $ access_code_id = null ,
39573975 ?array $ access_code_ids = null ,
3976+ ?string $ acs_entrance_id = null ,
39583977 ?string $ acs_system_id = null ,
39593978 ?array $ acs_system_ids = null ,
3979+ ?string $ acs_user_id = null ,
39603980 ?array $ between = null ,
39613981 ?string $ connect_webview_id = null ,
39623982 ?string $ connected_account_id = null ,
@@ -3969,6 +3989,7 @@ public function list(
39693989 ?float $ limit = null ,
39703990 ?string $ since = null ,
39713991 ?float $ unstable_offset = null ,
3992+ ?string $ user_identity_id = null ,
39723993 ): array {
39733994 $ request_payload = [];
39743995
@@ -3978,12 +3999,18 @@ public function list(
39783999 if ($ access_code_ids !== null ) {
39794000 $ request_payload ["access_code_ids " ] = $ access_code_ids ;
39804001 }
4002+ if ($ acs_entrance_id !== null ) {
4003+ $ request_payload ["acs_entrance_id " ] = $ acs_entrance_id ;
4004+ }
39814005 if ($ acs_system_id !== null ) {
39824006 $ request_payload ["acs_system_id " ] = $ acs_system_id ;
39834007 }
39844008 if ($ acs_system_ids !== null ) {
39854009 $ request_payload ["acs_system_ids " ] = $ acs_system_ids ;
39864010 }
4011+ if ($ acs_user_id !== null ) {
4012+ $ request_payload ["acs_user_id " ] = $ acs_user_id ;
4013+ }
39874014 if ($ between !== null ) {
39884015 $ request_payload ["between " ] = $ between ;
39894016 }
@@ -4020,6 +4047,9 @@ public function list(
40204047 if ($ unstable_offset !== null ) {
40214048 $ request_payload ["unstable_offset " ] = $ unstable_offset ;
40224049 }
4050+ if ($ user_identity_id !== null ) {
4051+ $ request_payload ["user_identity_id " ] = $ user_identity_id ;
4052+ }
40234053
40244054 $ res = $ this ->seam ->request (
40254055 "POST " ,
0 commit comments