Skip to content

Commit e7e9bb7

Browse files
Merge pull request #157 from jdcloud-apigateway/master
add updates
2 parents 11df7ef + 6eafd53 commit e7e9bb7

3 files changed

Lines changed: 166 additions & 0 deletions

File tree

src/Cloudauth/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ Date: 2024-02-20
3232
1.0.11:
3333
Date: 2024-03-12
3434
更新: 增加银行卡三四要素非身份证版接口
35+
36+
1.0.12:
37+
Date: 2024-06-18
38+
更新: 增加失联地址识别接口

src/Cloudauth/CloudauthClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,16 @@
6262
* @method \GuzzleHttp\Promise\Promise getAliveUrlAsync(array $args = [])
6363
* @method \Jdcloud\Result getAliveResult(array $args = [])
6464
* @method \GuzzleHttp\Promise\Promise getAliveResultAsync(array $args = [])
65+
* @method \Jdcloud\Result getAliveUrlNew(array $args = [])
66+
* @method \GuzzleHttp\Promise\Promise getAliveUrlNewAsync(array $args = [])
67+
* @method \Jdcloud\Result getAliveResultNew(array $args = [])
68+
* @method \GuzzleHttp\Promise\Promise getAliveResultNewAsync(array $args = [])
6569
* @method \Jdcloud\Result oneClick(array $args = [])
6670
* @method \GuzzleHttp\Promise\Promise oneClickAsync(array $args = [])
71+
* @method \Jdcloud\Result addressInfo(array $args = [])
72+
* @method \GuzzleHttp\Promise\Promise addressInfoAsync(array $args = [])
73+
* @method \Jdcloud\Result addressDetail(array $args = [])
74+
* @method \GuzzleHttp\Promise\Promise addressDetailAsync(array $args = [])
6775
* @method \Jdcloud\Result describeApplyStatus(array $args = [])
6876
* @method \GuzzleHttp\Promise\Promise describeApplyStatusAsync(array $args = [])
6977
*/

src/data/cloudauth/v1/api-2.json.php

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,24 @@
200200
'input' => [ 'shape' => 'GetAliveResultRequestShape', ],
201201
'output' => [ 'shape' => 'GetAliveResultResponseShape', ],
202202
],
203+
'GetAliveUrlNew' => [
204+
'name' => 'GetAliveUrlNew',
205+
'http' => [
206+
'method' => 'POST',
207+
'requestUri' => '/v1/alive:getUrlNew',
208+
],
209+
'input' => [ 'shape' => 'GetAliveUrlNewRequestShape', ],
210+
'output' => [ 'shape' => 'GetAliveUrlNewResponseShape', ],
211+
],
212+
'GetAliveResultNew' => [
213+
'name' => 'GetAliveResultNew',
214+
'http' => [
215+
'method' => 'POST',
216+
'requestUri' => '/v1/alive:getResultNew',
217+
],
218+
'input' => [ 'shape' => 'GetAliveResultNewRequestShape', ],
219+
'output' => [ 'shape' => 'GetAliveResultNewResponseShape', ],
220+
],
203221
'OneClick' => [
204222
'name' => 'OneClick',
205223
'http' => [
@@ -209,6 +227,24 @@
209227
'input' => [ 'shape' => 'OneClickRequestShape', ],
210228
'output' => [ 'shape' => 'OneClickResponseShape', ],
211229
],
230+
'AddressInfo' => [
231+
'name' => 'AddressInfo',
232+
'http' => [
233+
'method' => 'POST',
234+
'requestUri' => '/v1/address:info',
235+
],
236+
'input' => [ 'shape' => 'AddressInfoRequestShape', ],
237+
'output' => [ 'shape' => 'AddressInfoResponseShape', ],
238+
],
239+
'AddressDetail' => [
240+
'name' => 'AddressDetail',
241+
'http' => [
242+
'method' => 'POST',
243+
'requestUri' => '/v1/address:detail',
244+
],
245+
'input' => [ 'shape' => 'AddressDetailRequestShape', ],
246+
'output' => [ 'shape' => 'AddressDetailResponseShape', ],
247+
],
212248
'DescribeApplyStatus' => [
213249
'name' => 'DescribeApplyStatus',
214250
'http' => [
@@ -358,6 +394,14 @@
358394
'idType' => [ 'type' => 'string', 'locationName' => 'idType', ],
359395
],
360396
],
397+
'Data' => [
398+
'type' => 'structure',
399+
'members' => [
400+
'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
401+
'comment' => [ 'type' => 'string', 'locationName' => 'comment', ],
402+
'repairedAddressDetails' => [ 'type' => 'list', 'member' => [ 'shape' => 'RepairedAddressDetail', ], ],
403+
],
404+
],
361405
'AuthDetail' => [
362406
'type' => 'structure',
363407
'members' => [
@@ -372,6 +416,16 @@
372416
'orderNumber' => [ 'type' => 'string', 'locationName' => 'orderNumber', ],
373417
],
374418
],
419+
'RepairedAddressDetail' => [
420+
'type' => 'structure',
421+
'members' => [
422+
'repairStatus' => [ 'type' => 'integer', 'locationName' => 'repairStatus', ],
423+
'repairedId' => [ 'type' => 'long', 'locationName' => 'repairedId', ],
424+
'reliability' => [ 'type' => 'string', 'locationName' => 'reliability', ],
425+
'activeTime' => [ 'type' => 'string', 'locationName' => 'activeTime', ],
426+
'addressType' => [ 'type' => 'string', 'locationName' => 'addressType', ],
427+
],
428+
],
375429
'PersonalSpec' => [
376430
'type' => 'structure',
377431
'members' => [
@@ -443,6 +497,26 @@
443497
'companyInfo' => [ 'shape' => 'CompanyInfo', ],
444498
],
445499
],
500+
'AddressInfoResultShape' => [
501+
'type' => 'structure',
502+
'members' => [
503+
'chargeFlag' => [ 'type' => 'string', 'locationName' => 'chargeFlag', ],
504+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
505+
'message' => [ 'type' => 'string', 'locationName' => 'message', ],
506+
'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ],
507+
'detail' => [ 'type' => 'string', 'locationName' => 'detail', ],
508+
],
509+
],
510+
'AddressDetailResultShape' => [
511+
'type' => 'structure',
512+
'members' => [
513+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
514+
'message' => [ 'type' => 'string', 'locationName' => 'message', ],
515+
'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
516+
'comment' => [ 'type' => 'string', 'locationName' => 'comment', ],
517+
'repairedAddressDetails' => [ 'type' => 'list', 'member' => [ 'shape' => 'RepairedAddressDetail', ], ],
518+
],
519+
],
446520
'PersonalBankcard3DetailResponseShape' => [
447521
'type' => 'structure',
448522
'members' => [
@@ -506,6 +580,26 @@
506580
'accountInfo' => [ 'shape' => 'AccountInfoSimple', ],
507581
],
508582
],
583+
'GetAliveUrlNewRequestShape' => [
584+
'type' => 'structure',
585+
'members' => [
586+
'name' => [ 'type' => 'string', 'locationName' => 'name', ],
587+
'idcard' => [ 'type' => 'string', 'locationName' => 'idcard', ],
588+
'returnUrl' => [ 'type' => 'string', 'locationName' => 'returnUrl', ],
589+
],
590+
],
591+
'GetAliveResultNewResultShape' => [
592+
'type' => 'structure',
593+
'members' => [
594+
'faceImage' => [ 'type' => 'string', 'locationName' => 'faceImage', ],
595+
'sceneImage' => [ 'type' => 'string', 'locationName' => 'sceneImage', ],
596+
'h5Result' => [ 'type' => 'string', 'locationName' => 'h5Result', ],
597+
'smResult' => [ 'type' => 'string', 'locationName' => 'smResult', ],
598+
'rxResult' => [ 'type' => 'string', 'locationName' => 'rxResult', ],
599+
'score' => [ 'type' => 'string', 'locationName' => 'score', ],
600+
'desc' => [ 'type' => 'string', 'locationName' => 'desc', ],
601+
],
602+
],
509603
'PersonalAuthResponseShape' => [
510604
'type' => 'structure',
511605
'members' => [
@@ -542,6 +636,21 @@
542636
'companyInfo3Spec' => [ 'shape' => 'CompanyInfo3Spec', ],
543637
],
544638
],
639+
'AddressInfoRequestShape' => [
640+
'type' => 'structure',
641+
'members' => [
642+
'phoneNumber' => [ 'type' => 'string', 'locationName' => 'phoneNumber', ],
643+
'idNumber' => [ 'type' => 'string', 'locationName' => 'idNumber', ],
644+
'address' => [ 'type' => 'string', 'locationName' => 'address', ],
645+
'customerCode' => [ 'type' => 'string', 'locationName' => 'customerCode', ],
646+
],
647+
],
648+
'GetAliveResultNewRequestShape' => [
649+
'type' => 'structure',
650+
'members' => [
651+
'token' => [ 'type' => 'string', 'locationName' => 'token', ],
652+
],
653+
],
545654
'CheckCompanyInfoResponseShape' => [
546655
'type' => 'structure',
547656
'members' => [
@@ -592,6 +701,16 @@
592701
'result' => [ 'shape' => 'QueryProvinceListResultShape', ],
593702
],
594703
],
704+
'GetAliveUrlNewResultShape' => [
705+
'type' => 'structure',
706+
'members' => [
707+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
708+
'message' => [ 'type' => 'string', 'locationName' => 'message', ],
709+
'url' => [ 'type' => 'string', 'locationName' => 'url', ],
710+
'token' => [ 'type' => 'string', 'locationName' => 'token', ],
711+
'chargeFlag' => [ 'type' => 'string', 'locationName' => 'chargeFlag', ],
712+
],
713+
],
595714
'CheckCompanyInfo3ResultShape' => [
596715
'type' => 'structure',
597716
'members' => [
@@ -695,6 +814,13 @@
695814
'provinceCode' => [ 'type' => 'string', 'locationName' => 'provinceCode', ],
696815
],
697816
],
817+
'GetAliveUrlNewResponseShape' => [
818+
'type' => 'structure',
819+
'members' => [
820+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
821+
'result' => [ 'shape' => 'GetAliveUrlNewResultShape', ],
822+
],
823+
],
698824
'QueryCompanyTransferResultShape' => [
699825
'type' => 'structure',
700826
'members' => [
@@ -790,6 +916,13 @@
790916
'result' => [ 'shape' => 'PersonalBankcard4DetailResultShape', ],
791917
],
792918
],
919+
'AddressInfoResponseShape' => [
920+
'type' => 'structure',
921+
'members' => [
922+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
923+
'result' => [ 'shape' => 'AddressInfoResultShape', ],
924+
],
925+
],
793926
'CheckCompanyInfo3ResponseShape' => [
794927
'type' => 'structure',
795928
'members' => [
@@ -810,6 +943,20 @@
810943
'personalSpec' => [ 'shape' => 'PersonalSpec', ],
811944
],
812945
],
946+
'AddressDetailResponseShape' => [
947+
'type' => 'structure',
948+
'members' => [
949+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
950+
'result' => [ 'shape' => 'AddressDetailResultShape', ],
951+
],
952+
],
953+
'GetAliveResultNewResponseShape' => [
954+
'type' => 'structure',
955+
'members' => [
956+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
957+
'result' => [ 'shape' => 'GetAliveResultNewResultShape', ],
958+
],
959+
],
813960
'PersonalMobileResponseShape' => [
814961
'type' => 'structure',
815962
'members' => [
@@ -846,6 +993,13 @@
846993
'result' => [ 'shape' => 'OneClickResultShape', ],
847994
],
848995
],
996+
'AddressDetailRequestShape' => [
997+
'type' => 'structure',
998+
'members' => [
999+
'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ],
1000+
'customerCode' => [ 'type' => 'string', 'locationName' => 'customerCode', ],
1001+
],
1002+
],
8491003
'CheckLegalPersonResponseShape' => [
8501004
'type' => 'structure',
8511005
'members' => [

0 commit comments

Comments
 (0)