@antchain/riskplus 1.31.16 → 1.31.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +156 -7
- package/dist/client.js +235 -12
- package/dist/client.js.map +1 -1
- package/package.json +30 -29
- package/src/client.ts +352 -30
package/package.json
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
"license":"Apache-2.0",
|
|
3
|
+
"devDependencies":{
|
|
4
|
+
"source-map-support":"^0.5.16",
|
|
5
|
+
"@types/node":"^12.12.26",
|
|
6
|
+
"@types/ms":"0.7.31",
|
|
7
|
+
"nyc":"^15.0.0",
|
|
8
|
+
"typescript":"^3.7.5",
|
|
9
|
+
"ts-node":"^8.6.2"
|
|
10
|
+
},
|
|
11
|
+
"author":"",
|
|
12
|
+
"name":"@antchain/riskplus",
|
|
13
|
+
"description":"",
|
|
14
|
+
"files":[
|
|
15
|
+
"dist",
|
|
16
|
+
"src"
|
|
17
|
+
],
|
|
18
|
+
"main":"dist/client.js",
|
|
19
|
+
"scripts":{
|
|
20
|
+
"test":"mocha --reporter spec --timeout 3000 test/*.test.js",
|
|
21
|
+
"build":"tsc",
|
|
22
|
+
"prepublishOnly":"tsc",
|
|
23
|
+
"test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test"
|
|
24
|
+
},
|
|
25
|
+
"version":"1.31.25",
|
|
26
|
+
"dependencies":{
|
|
27
|
+
"@alicloud/rpc-util":"^0.1.0",
|
|
28
|
+
"@antchain/alipay-util":"^1.0.4",
|
|
29
|
+
"@alicloud/tea-typescript":"^1.7.1",
|
|
30
|
+
"@alicloud/tea-util":"^1.4.11"
|
|
31
|
+
}
|
|
31
32
|
}
|
package/src/client.ts
CHANGED
|
@@ -17547,6 +17547,10 @@ export class QueryDubbridgeAgreementPreviewRequest extends $tea.Model {
|
|
|
17547
17547
|
lprPoint?: number;
|
|
17548
17548
|
// LPR发布日期
|
|
17549
17549
|
lprEffectDate?: string;
|
|
17550
|
+
// 流量平台,子渠道
|
|
17551
|
+
trafficPlatform?: string;
|
|
17552
|
+
// 渠道方
|
|
17553
|
+
channelCode?: string;
|
|
17550
17554
|
static names(): { [key: string]: string } {
|
|
17551
17555
|
return {
|
|
17552
17556
|
authToken: 'auth_token',
|
|
@@ -17565,6 +17569,8 @@ export class QueryDubbridgeAgreementPreviewRequest extends $tea.Model {
|
|
|
17565
17569
|
lpr: 'lpr',
|
|
17566
17570
|
lprPoint: 'lpr_point',
|
|
17567
17571
|
lprEffectDate: 'lpr_effect_date',
|
|
17572
|
+
trafficPlatform: 'traffic_platform',
|
|
17573
|
+
channelCode: 'channel_code',
|
|
17568
17574
|
};
|
|
17569
17575
|
}
|
|
17570
17576
|
|
|
@@ -17586,6 +17592,8 @@ export class QueryDubbridgeAgreementPreviewRequest extends $tea.Model {
|
|
|
17586
17592
|
lpr: 'number',
|
|
17587
17593
|
lprPoint: 'number',
|
|
17588
17594
|
lprEffectDate: 'string',
|
|
17595
|
+
trafficPlatform: 'string',
|
|
17596
|
+
channelCode: 'string',
|
|
17589
17597
|
};
|
|
17590
17598
|
}
|
|
17591
17599
|
|
|
@@ -21301,12 +21309,20 @@ export class QueryDubbridgePetitemRequest extends $tea.Model {
|
|
|
21301
21309
|
productInstanceId?: string;
|
|
21302
21310
|
// 小程序客户号
|
|
21303
21311
|
openId: string;
|
|
21304
|
-
//
|
|
21312
|
+
// 子渠道号(唯一标识)
|
|
21305
21313
|
trafficPlatform: string;
|
|
21306
21314
|
// 门店ID
|
|
21307
21315
|
storeId: string;
|
|
21308
21316
|
// 分期订单号
|
|
21309
21317
|
bizOrderNo: string;
|
|
21318
|
+
// 渠道号
|
|
21319
|
+
channelCode: string;
|
|
21320
|
+
// 商城可用余额
|
|
21321
|
+
mallAvailableBalance: string;
|
|
21322
|
+
// 商城消费在途未结算订单
|
|
21323
|
+
mallConsumeUnsettleOrders: GoodsOrderInfo[];
|
|
21324
|
+
// 请求流水号(通过此流水号幂等判断是否是同一个请求)
|
|
21325
|
+
requestNo: string;
|
|
21310
21326
|
static names(): { [key: string]: string } {
|
|
21311
21327
|
return {
|
|
21312
21328
|
authToken: 'auth_token',
|
|
@@ -21315,6 +21331,10 @@ export class QueryDubbridgePetitemRequest extends $tea.Model {
|
|
|
21315
21331
|
trafficPlatform: 'traffic_platform',
|
|
21316
21332
|
storeId: 'store_id',
|
|
21317
21333
|
bizOrderNo: 'biz_order_no',
|
|
21334
|
+
channelCode: 'channel_code',
|
|
21335
|
+
mallAvailableBalance: 'mall_available_balance',
|
|
21336
|
+
mallConsumeUnsettleOrders: 'mall_consume_unsettle_orders',
|
|
21337
|
+
requestNo: 'request_no',
|
|
21318
21338
|
};
|
|
21319
21339
|
}
|
|
21320
21340
|
|
|
@@ -21326,6 +21346,10 @@ export class QueryDubbridgePetitemRequest extends $tea.Model {
|
|
|
21326
21346
|
trafficPlatform: 'string',
|
|
21327
21347
|
storeId: 'string',
|
|
21328
21348
|
bizOrderNo: 'string',
|
|
21349
|
+
channelCode: 'string',
|
|
21350
|
+
mallAvailableBalance: 'string',
|
|
21351
|
+
mallConsumeUnsettleOrders: { 'type': 'array', 'itemType': GoodsOrderInfo },
|
|
21352
|
+
requestNo: 'string',
|
|
21329
21353
|
};
|
|
21330
21354
|
}
|
|
21331
21355
|
|
|
@@ -21343,24 +21367,28 @@ export class QueryDubbridgePetitemResponse extends $tea.Model {
|
|
|
21343
21367
|
resultMsg?: string;
|
|
21344
21368
|
// 小程序客户号
|
|
21345
21369
|
openId?: string;
|
|
21346
|
-
//
|
|
21370
|
+
// 子渠道号(唯一标识)
|
|
21347
21371
|
trafficPlatform?: string;
|
|
21348
21372
|
// 门店ID
|
|
21349
21373
|
storeId?: string;
|
|
21350
21374
|
// 分期订单号
|
|
21351
21375
|
bizOrderNo?: string;
|
|
21352
|
-
//
|
|
21353
|
-
|
|
21354
|
-
//
|
|
21355
|
-
|
|
21356
|
-
//
|
|
21376
|
+
// 渠道code
|
|
21377
|
+
channelCode?: string;
|
|
21378
|
+
// 用户已支出金额
|
|
21379
|
+
consumedAmount?: string;
|
|
21380
|
+
// 商城消费结算金额
|
|
21381
|
+
mallConsumeSettleAmount?: string;
|
|
21382
|
+
// 商城消费在途未结算金额
|
|
21383
|
+
mallConsumeUnsettleAmount?: string;
|
|
21384
|
+
// 已还金额
|
|
21357
21385
|
repaidAmount?: string;
|
|
21358
|
-
//
|
|
21359
|
-
|
|
21360
|
-
//
|
|
21361
|
-
|
|
21362
|
-
//
|
|
21363
|
-
|
|
21386
|
+
// 解约后剩余应还金额
|
|
21387
|
+
remainingAmount?: string;
|
|
21388
|
+
// 解约后退还给用户的金额
|
|
21389
|
+
refundUserAmount?: string;
|
|
21390
|
+
// 是否逾期(默认false)
|
|
21391
|
+
overdue?: boolean;
|
|
21364
21392
|
static names(): { [key: string]: string } {
|
|
21365
21393
|
return {
|
|
21366
21394
|
reqMsgId: 'req_msg_id',
|
|
@@ -21370,12 +21398,14 @@ export class QueryDubbridgePetitemResponse extends $tea.Model {
|
|
|
21370
21398
|
trafficPlatform: 'traffic_platform',
|
|
21371
21399
|
storeId: 'store_id',
|
|
21372
21400
|
bizOrderNo: 'biz_order_no',
|
|
21373
|
-
|
|
21374
|
-
|
|
21401
|
+
channelCode: 'channel_code',
|
|
21402
|
+
consumedAmount: 'consumed_amount',
|
|
21403
|
+
mallConsumeSettleAmount: 'mall_consume_settle_amount',
|
|
21404
|
+
mallConsumeUnsettleAmount: 'mall_consume_unsettle_amount',
|
|
21375
21405
|
repaidAmount: 'repaid_amount',
|
|
21376
|
-
|
|
21377
|
-
|
|
21378
|
-
|
|
21406
|
+
remainingAmount: 'remaining_amount',
|
|
21407
|
+
refundUserAmount: 'refund_user_amount',
|
|
21408
|
+
overdue: 'overdue',
|
|
21379
21409
|
};
|
|
21380
21410
|
}
|
|
21381
21411
|
|
|
@@ -21388,12 +21418,14 @@ export class QueryDubbridgePetitemResponse extends $tea.Model {
|
|
|
21388
21418
|
trafficPlatform: 'string',
|
|
21389
21419
|
storeId: 'string',
|
|
21390
21420
|
bizOrderNo: 'string',
|
|
21391
|
-
|
|
21392
|
-
|
|
21421
|
+
channelCode: 'string',
|
|
21422
|
+
consumedAmount: 'string',
|
|
21423
|
+
mallConsumeSettleAmount: 'string',
|
|
21424
|
+
mallConsumeUnsettleAmount: 'string',
|
|
21393
21425
|
repaidAmount: 'string',
|
|
21394
|
-
|
|
21395
|
-
|
|
21396
|
-
|
|
21426
|
+
remainingAmount: 'string',
|
|
21427
|
+
refundUserAmount: 'string',
|
|
21428
|
+
overdue: 'boolean',
|
|
21397
21429
|
};
|
|
21398
21430
|
}
|
|
21399
21431
|
|
|
@@ -21408,7 +21440,7 @@ export class ExecDubbridgePetitemRequest extends $tea.Model {
|
|
|
21408
21440
|
productInstanceId?: string;
|
|
21409
21441
|
// 小程序客户号
|
|
21410
21442
|
openId: string;
|
|
21411
|
-
//
|
|
21443
|
+
// 子渠道号(唯一标识)
|
|
21412
21444
|
trafficPlatform: string;
|
|
21413
21445
|
// 门店ID
|
|
21414
21446
|
storeId: string;
|
|
@@ -21416,6 +21448,10 @@ export class ExecDubbridgePetitemRequest extends $tea.Model {
|
|
|
21416
21448
|
bizOrderNo: string;
|
|
21417
21449
|
// 商城余额
|
|
21418
21450
|
goodsBalance: string;
|
|
21451
|
+
// 渠道号
|
|
21452
|
+
channelCode: string;
|
|
21453
|
+
// 请求流水号(通过此流水号幂等判断是否是同一个请求)
|
|
21454
|
+
requestNo: string;
|
|
21419
21455
|
static names(): { [key: string]: string } {
|
|
21420
21456
|
return {
|
|
21421
21457
|
authToken: 'auth_token',
|
|
@@ -21425,6 +21461,8 @@ export class ExecDubbridgePetitemRequest extends $tea.Model {
|
|
|
21425
21461
|
storeId: 'store_id',
|
|
21426
21462
|
bizOrderNo: 'biz_order_no',
|
|
21427
21463
|
goodsBalance: 'goods_balance',
|
|
21464
|
+
channelCode: 'channel_code',
|
|
21465
|
+
requestNo: 'request_no',
|
|
21428
21466
|
};
|
|
21429
21467
|
}
|
|
21430
21468
|
|
|
@@ -21437,6 +21475,8 @@ export class ExecDubbridgePetitemRequest extends $tea.Model {
|
|
|
21437
21475
|
storeId: 'string',
|
|
21438
21476
|
bizOrderNo: 'string',
|
|
21439
21477
|
goodsBalance: 'string',
|
|
21478
|
+
channelCode: 'string',
|
|
21479
|
+
requestNo: 'string',
|
|
21440
21480
|
};
|
|
21441
21481
|
}
|
|
21442
21482
|
|
|
@@ -21483,7 +21523,7 @@ export class PushDubbridgePetitemRequest extends $tea.Model {
|
|
|
21483
21523
|
productInstanceId?: string;
|
|
21484
21524
|
// 小程序客户号
|
|
21485
21525
|
openId: string;
|
|
21486
|
-
//
|
|
21526
|
+
// 子渠道号(唯一标识)
|
|
21487
21527
|
trafficPlatform: string;
|
|
21488
21528
|
// 门店ID
|
|
21489
21529
|
storeId: string;
|
|
@@ -21495,6 +21535,10 @@ export class PushDubbridgePetitemRequest extends $tea.Model {
|
|
|
21495
21535
|
goodsOrderInfo: GoodsOrderInfo[];
|
|
21496
21536
|
// 门店账户信息
|
|
21497
21537
|
storeAccountInfo: StoreAccountInfo;
|
|
21538
|
+
// 渠道号
|
|
21539
|
+
channelCode: string;
|
|
21540
|
+
// 请求流水号(通过此流水号幂等判断是否是同一个请求)
|
|
21541
|
+
requestNo: string;
|
|
21498
21542
|
static names(): { [key: string]: string } {
|
|
21499
21543
|
return {
|
|
21500
21544
|
authToken: 'auth_token',
|
|
@@ -21506,6 +21550,8 @@ export class PushDubbridgePetitemRequest extends $tea.Model {
|
|
|
21506
21550
|
mailId: 'mail_id',
|
|
21507
21551
|
goodsOrderInfo: 'goods_order_info',
|
|
21508
21552
|
storeAccountInfo: 'store_account_info',
|
|
21553
|
+
channelCode: 'channel_code',
|
|
21554
|
+
requestNo: 'request_no',
|
|
21509
21555
|
};
|
|
21510
21556
|
}
|
|
21511
21557
|
|
|
@@ -21520,6 +21566,8 @@ export class PushDubbridgePetitemRequest extends $tea.Model {
|
|
|
21520
21566
|
mailId: 'string',
|
|
21521
21567
|
goodsOrderInfo: { 'type': 'array', 'itemType': GoodsOrderInfo },
|
|
21522
21568
|
storeAccountInfo: StoreAccountInfo,
|
|
21569
|
+
channelCode: 'string',
|
|
21570
|
+
requestNo: 'string',
|
|
21523
21571
|
};
|
|
21524
21572
|
}
|
|
21525
21573
|
|
|
@@ -21566,7 +21614,7 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
|
|
|
21566
21614
|
productInstanceId?: string;
|
|
21567
21615
|
// 小程序客户号
|
|
21568
21616
|
openId: string;
|
|
21569
|
-
//
|
|
21617
|
+
// 子渠道号(唯一标识)
|
|
21570
21618
|
trafficPlatform: string;
|
|
21571
21619
|
// 门店ID
|
|
21572
21620
|
storeId: string;
|
|
@@ -21574,6 +21622,10 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
|
|
|
21574
21622
|
bizOrderNo: string;
|
|
21575
21623
|
// 退款金额
|
|
21576
21624
|
refundAmount: string;
|
|
21625
|
+
// 渠道号
|
|
21626
|
+
channelCode: string;
|
|
21627
|
+
// 请求流水号(通过此流水号幂等判断是否是同一个请求)
|
|
21628
|
+
requestNo: string;
|
|
21577
21629
|
static names(): { [key: string]: string } {
|
|
21578
21630
|
return {
|
|
21579
21631
|
authToken: 'auth_token',
|
|
@@ -21583,6 +21635,8 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
|
|
|
21583
21635
|
storeId: 'store_id',
|
|
21584
21636
|
bizOrderNo: 'biz_order_no',
|
|
21585
21637
|
refundAmount: 'refund_amount',
|
|
21638
|
+
channelCode: 'channel_code',
|
|
21639
|
+
requestNo: 'request_no',
|
|
21586
21640
|
};
|
|
21587
21641
|
}
|
|
21588
21642
|
|
|
@@ -21595,6 +21649,8 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
|
|
|
21595
21649
|
storeId: 'string',
|
|
21596
21650
|
bizOrderNo: 'string',
|
|
21597
21651
|
refundAmount: 'string',
|
|
21652
|
+
channelCode: 'string',
|
|
21653
|
+
requestNo: 'string',
|
|
21598
21654
|
};
|
|
21599
21655
|
}
|
|
21600
21656
|
|
|
@@ -21639,8 +21695,8 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
|
|
|
21639
21695
|
// OAuth模式下的授权token
|
|
21640
21696
|
authToken?: string;
|
|
21641
21697
|
productInstanceId?: string;
|
|
21642
|
-
// 合同签署事件id
|
|
21643
|
-
signEventId
|
|
21698
|
+
// 合同签署事件id,《蚂蚁侧主导签署》时必填
|
|
21699
|
+
signEventId?: string;
|
|
21644
21700
|
// 合同签署状态:
|
|
21645
21701
|
// DRAFT-草稿(合同已创建但未发起签署,待签署状态);
|
|
21646
21702
|
// SIGNING-签署中(签署流程已发起,等待各方完成签署);
|
|
@@ -21654,7 +21710,9 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
|
|
|
21654
21710
|
// 合同下载地址(公网)
|
|
21655
21711
|
contractDownUrl?: string;
|
|
21656
21712
|
// 签署合同的业务订单号
|
|
21657
|
-
bizOrderNo
|
|
21713
|
+
bizOrderNo: string;
|
|
21714
|
+
// 支付宝小程序用户唯一ID,《isv侧主导签署》时必填
|
|
21715
|
+
openId?: string;
|
|
21658
21716
|
static names(): { [key: string]: string } {
|
|
21659
21717
|
return {
|
|
21660
21718
|
authToken: 'auth_token',
|
|
@@ -21663,6 +21721,7 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
|
|
|
21663
21721
|
signStatus: 'sign_status',
|
|
21664
21722
|
contractDownUrl: 'contract_down_url',
|
|
21665
21723
|
bizOrderNo: 'biz_order_no',
|
|
21724
|
+
openId: 'open_id',
|
|
21666
21725
|
};
|
|
21667
21726
|
}
|
|
21668
21727
|
|
|
@@ -21674,6 +21733,7 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
|
|
|
21674
21733
|
signStatus: 'string',
|
|
21675
21734
|
contractDownUrl: 'string',
|
|
21676
21735
|
bizOrderNo: 'string',
|
|
21736
|
+
openId: 'string',
|
|
21677
21737
|
};
|
|
21678
21738
|
}
|
|
21679
21739
|
|
|
@@ -27365,6 +27425,205 @@ export class CallbackCreditshieldPartnerResponse extends $tea.Model {
|
|
|
27365
27425
|
}
|
|
27366
27426
|
}
|
|
27367
27427
|
|
|
27428
|
+
export class PushCreditshieldAllocatecaseRequest extends $tea.Model {
|
|
27429
|
+
// OAuth模式下的授权token
|
|
27430
|
+
authToken?: string;
|
|
27431
|
+
productInstanceId?: string;
|
|
27432
|
+
// 委案信息推送
|
|
27433
|
+
queryCode: string;
|
|
27434
|
+
// 请求信息json
|
|
27435
|
+
queryInfos: string[];
|
|
27436
|
+
static names(): { [key: string]: string } {
|
|
27437
|
+
return {
|
|
27438
|
+
authToken: 'auth_token',
|
|
27439
|
+
productInstanceId: 'product_instance_id',
|
|
27440
|
+
queryCode: 'query_code',
|
|
27441
|
+
queryInfos: 'query_infos',
|
|
27442
|
+
};
|
|
27443
|
+
}
|
|
27444
|
+
|
|
27445
|
+
static types(): { [key: string]: any } {
|
|
27446
|
+
return {
|
|
27447
|
+
authToken: 'string',
|
|
27448
|
+
productInstanceId: 'string',
|
|
27449
|
+
queryCode: 'string',
|
|
27450
|
+
queryInfos: { 'type': 'array', 'itemType': 'string' },
|
|
27451
|
+
};
|
|
27452
|
+
}
|
|
27453
|
+
|
|
27454
|
+
constructor(map?: { [key: string]: any }) {
|
|
27455
|
+
super(map);
|
|
27456
|
+
}
|
|
27457
|
+
}
|
|
27458
|
+
|
|
27459
|
+
export class PushCreditshieldAllocatecaseResponse extends $tea.Model {
|
|
27460
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
27461
|
+
reqMsgId?: string;
|
|
27462
|
+
// 结果码,一般OK表示调用成功
|
|
27463
|
+
resultCode?: string;
|
|
27464
|
+
// 异常信息的文本描述
|
|
27465
|
+
resultMsg?: string;
|
|
27466
|
+
// 请求是否成功
|
|
27467
|
+
success?: boolean;
|
|
27468
|
+
static names(): { [key: string]: string } {
|
|
27469
|
+
return {
|
|
27470
|
+
reqMsgId: 'req_msg_id',
|
|
27471
|
+
resultCode: 'result_code',
|
|
27472
|
+
resultMsg: 'result_msg',
|
|
27473
|
+
success: 'success',
|
|
27474
|
+
};
|
|
27475
|
+
}
|
|
27476
|
+
|
|
27477
|
+
static types(): { [key: string]: any } {
|
|
27478
|
+
return {
|
|
27479
|
+
reqMsgId: 'string',
|
|
27480
|
+
resultCode: 'string',
|
|
27481
|
+
resultMsg: 'string',
|
|
27482
|
+
success: 'boolean',
|
|
27483
|
+
};
|
|
27484
|
+
}
|
|
27485
|
+
|
|
27486
|
+
constructor(map?: { [key: string]: any }) {
|
|
27487
|
+
super(map);
|
|
27488
|
+
}
|
|
27489
|
+
}
|
|
27490
|
+
|
|
27491
|
+
export class PushCreditshieldReturncaseRequest extends $tea.Model {
|
|
27492
|
+
// OAuth模式下的授权token
|
|
27493
|
+
authToken?: string;
|
|
27494
|
+
productInstanceId?: string;
|
|
27495
|
+
// 退案
|
|
27496
|
+
queryCode: string;
|
|
27497
|
+
// 请求信息json
|
|
27498
|
+
queryInfos: string[];
|
|
27499
|
+
static names(): { [key: string]: string } {
|
|
27500
|
+
return {
|
|
27501
|
+
authToken: 'auth_token',
|
|
27502
|
+
productInstanceId: 'product_instance_id',
|
|
27503
|
+
queryCode: 'query_code',
|
|
27504
|
+
queryInfos: 'query_infos',
|
|
27505
|
+
};
|
|
27506
|
+
}
|
|
27507
|
+
|
|
27508
|
+
static types(): { [key: string]: any } {
|
|
27509
|
+
return {
|
|
27510
|
+
authToken: 'string',
|
|
27511
|
+
productInstanceId: 'string',
|
|
27512
|
+
queryCode: 'string',
|
|
27513
|
+
queryInfos: { 'type': 'array', 'itemType': 'string' },
|
|
27514
|
+
};
|
|
27515
|
+
}
|
|
27516
|
+
|
|
27517
|
+
constructor(map?: { [key: string]: any }) {
|
|
27518
|
+
super(map);
|
|
27519
|
+
}
|
|
27520
|
+
}
|
|
27521
|
+
|
|
27522
|
+
export class PushCreditshieldReturncaseResponse extends $tea.Model {
|
|
27523
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
27524
|
+
reqMsgId?: string;
|
|
27525
|
+
// 结果码,一般OK表示调用成功
|
|
27526
|
+
resultCode?: string;
|
|
27527
|
+
// 异常信息的文本描述
|
|
27528
|
+
resultMsg?: string;
|
|
27529
|
+
// 请求是否成功
|
|
27530
|
+
success?: boolean;
|
|
27531
|
+
// 请求响应
|
|
27532
|
+
queryResult?: string;
|
|
27533
|
+
static names(): { [key: string]: string } {
|
|
27534
|
+
return {
|
|
27535
|
+
reqMsgId: 'req_msg_id',
|
|
27536
|
+
resultCode: 'result_code',
|
|
27537
|
+
resultMsg: 'result_msg',
|
|
27538
|
+
success: 'success',
|
|
27539
|
+
queryResult: 'query_result',
|
|
27540
|
+
};
|
|
27541
|
+
}
|
|
27542
|
+
|
|
27543
|
+
static types(): { [key: string]: any } {
|
|
27544
|
+
return {
|
|
27545
|
+
reqMsgId: 'string',
|
|
27546
|
+
resultCode: 'string',
|
|
27547
|
+
resultMsg: 'string',
|
|
27548
|
+
success: 'boolean',
|
|
27549
|
+
queryResult: 'string',
|
|
27550
|
+
};
|
|
27551
|
+
}
|
|
27552
|
+
|
|
27553
|
+
constructor(map?: { [key: string]: any }) {
|
|
27554
|
+
super(map);
|
|
27555
|
+
}
|
|
27556
|
+
}
|
|
27557
|
+
|
|
27558
|
+
export class QueryCreditshieldFundcallbackRequest extends $tea.Model {
|
|
27559
|
+
// OAuth模式下的授权token
|
|
27560
|
+
authToken?: string;
|
|
27561
|
+
productInstanceId?: string;
|
|
27562
|
+
// ALLOCATE_CASE_FILE -案件信息查询
|
|
27563
|
+
// REDUCE_RESULT_NOTIFICATION - 减免结果通知
|
|
27564
|
+
// REPAYMENT_RESULT_NOTIFICATION -入账通知
|
|
27565
|
+
queryCode: string;
|
|
27566
|
+
// 请求信息json
|
|
27567
|
+
queryInfos: string[];
|
|
27568
|
+
static names(): { [key: string]: string } {
|
|
27569
|
+
return {
|
|
27570
|
+
authToken: 'auth_token',
|
|
27571
|
+
productInstanceId: 'product_instance_id',
|
|
27572
|
+
queryCode: 'query_code',
|
|
27573
|
+
queryInfos: 'query_infos',
|
|
27574
|
+
};
|
|
27575
|
+
}
|
|
27576
|
+
|
|
27577
|
+
static types(): { [key: string]: any } {
|
|
27578
|
+
return {
|
|
27579
|
+
authToken: 'string',
|
|
27580
|
+
productInstanceId: 'string',
|
|
27581
|
+
queryCode: 'string',
|
|
27582
|
+
queryInfos: { 'type': 'array', 'itemType': 'string' },
|
|
27583
|
+
};
|
|
27584
|
+
}
|
|
27585
|
+
|
|
27586
|
+
constructor(map?: { [key: string]: any }) {
|
|
27587
|
+
super(map);
|
|
27588
|
+
}
|
|
27589
|
+
}
|
|
27590
|
+
|
|
27591
|
+
export class QueryCreditshieldFundcallbackResponse extends $tea.Model {
|
|
27592
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
27593
|
+
reqMsgId?: string;
|
|
27594
|
+
// 结果码,一般OK表示调用成功
|
|
27595
|
+
resultCode?: string;
|
|
27596
|
+
// 异常信息的文本描述
|
|
27597
|
+
resultMsg?: string;
|
|
27598
|
+
// 请求是否成功
|
|
27599
|
+
success?: boolean;
|
|
27600
|
+
// 请求响应
|
|
27601
|
+
queryResult?: string;
|
|
27602
|
+
static names(): { [key: string]: string } {
|
|
27603
|
+
return {
|
|
27604
|
+
reqMsgId: 'req_msg_id',
|
|
27605
|
+
resultCode: 'result_code',
|
|
27606
|
+
resultMsg: 'result_msg',
|
|
27607
|
+
success: 'success',
|
|
27608
|
+
queryResult: 'query_result',
|
|
27609
|
+
};
|
|
27610
|
+
}
|
|
27611
|
+
|
|
27612
|
+
static types(): { [key: string]: any } {
|
|
27613
|
+
return {
|
|
27614
|
+
reqMsgId: 'string',
|
|
27615
|
+
resultCode: 'string',
|
|
27616
|
+
resultMsg: 'string',
|
|
27617
|
+
success: 'boolean',
|
|
27618
|
+
queryResult: 'string',
|
|
27619
|
+
};
|
|
27620
|
+
}
|
|
27621
|
+
|
|
27622
|
+
constructor(map?: { [key: string]: any }) {
|
|
27623
|
+
super(map);
|
|
27624
|
+
}
|
|
27625
|
+
}
|
|
27626
|
+
|
|
27368
27627
|
export class PushRpaasReportAnswerRequest extends $tea.Model {
|
|
27369
27628
|
// OAuth模式下的授权token
|
|
27370
27629
|
authToken?: string;
|
|
@@ -34985,7 +35244,7 @@ export default class Client {
|
|
|
34985
35244
|
req_msg_id: AntchainUtil.getNonce(),
|
|
34986
35245
|
access_key: this._accessKeyId,
|
|
34987
35246
|
base_sdk_version: "TeaSDK-2.0",
|
|
34988
|
-
sdk_version: "1.31.
|
|
35247
|
+
sdk_version: "1.31.25",
|
|
34989
35248
|
_prod_code: "RISKPLUS",
|
|
34990
35249
|
_prod_channel: "undefined",
|
|
34991
35250
|
};
|
|
@@ -39474,6 +39733,69 @@ export default class Client {
|
|
|
39474
39733
|
return $tea.cast<CallbackCreditshieldPartnerResponse>(await this.doRequest("1.0", "riskplus.creditshield.partner.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackCreditshieldPartnerResponse({}));
|
|
39475
39734
|
}
|
|
39476
39735
|
|
|
39736
|
+
/**
|
|
39737
|
+
* @remarks
|
|
39738
|
+
* Description: 接受案件信息
|
|
39739
|
+
* Summary: 接受案件信息
|
|
39740
|
+
*/
|
|
39741
|
+
async pushCreditshieldAllocatecase(request: PushCreditshieldAllocatecaseRequest): Promise<PushCreditshieldAllocatecaseResponse> {
|
|
39742
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
39743
|
+
let headers : {[key: string ]: string} = { };
|
|
39744
|
+
return await this.pushCreditshieldAllocatecaseEx(request, headers, runtime);
|
|
39745
|
+
}
|
|
39746
|
+
|
|
39747
|
+
/**
|
|
39748
|
+
* @remarks
|
|
39749
|
+
* Description: 接受案件信息
|
|
39750
|
+
* Summary: 接受案件信息
|
|
39751
|
+
*/
|
|
39752
|
+
async pushCreditshieldAllocatecaseEx(request: PushCreditshieldAllocatecaseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushCreditshieldAllocatecaseResponse> {
|
|
39753
|
+
Util.validateModel(request);
|
|
39754
|
+
return $tea.cast<PushCreditshieldAllocatecaseResponse>(await this.doRequest("1.0", "riskplus.creditshield.allocatecase.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushCreditshieldAllocatecaseResponse({}));
|
|
39755
|
+
}
|
|
39756
|
+
|
|
39757
|
+
/**
|
|
39758
|
+
* @remarks
|
|
39759
|
+
* Description: 退案接口
|
|
39760
|
+
* Summary: 退案接口
|
|
39761
|
+
*/
|
|
39762
|
+
async pushCreditshieldReturncase(request: PushCreditshieldReturncaseRequest): Promise<PushCreditshieldReturncaseResponse> {
|
|
39763
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
39764
|
+
let headers : {[key: string ]: string} = { };
|
|
39765
|
+
return await this.pushCreditshieldReturncaseEx(request, headers, runtime);
|
|
39766
|
+
}
|
|
39767
|
+
|
|
39768
|
+
/**
|
|
39769
|
+
* @remarks
|
|
39770
|
+
* Description: 退案接口
|
|
39771
|
+
* Summary: 退案接口
|
|
39772
|
+
*/
|
|
39773
|
+
async pushCreditshieldReturncaseEx(request: PushCreditshieldReturncaseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushCreditshieldReturncaseResponse> {
|
|
39774
|
+
Util.validateModel(request);
|
|
39775
|
+
return $tea.cast<PushCreditshieldReturncaseResponse>(await this.doRequest("1.0", "riskplus.creditshield.returncase.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushCreditshieldReturncaseResponse({}));
|
|
39776
|
+
}
|
|
39777
|
+
|
|
39778
|
+
/**
|
|
39779
|
+
* @remarks
|
|
39780
|
+
* Description: 资方回调
|
|
39781
|
+
* Summary: 资方回调
|
|
39782
|
+
*/
|
|
39783
|
+
async queryCreditshieldFundcallback(request: QueryCreditshieldFundcallbackRequest): Promise<QueryCreditshieldFundcallbackResponse> {
|
|
39784
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
39785
|
+
let headers : {[key: string ]: string} = { };
|
|
39786
|
+
return await this.queryCreditshieldFundcallbackEx(request, headers, runtime);
|
|
39787
|
+
}
|
|
39788
|
+
|
|
39789
|
+
/**
|
|
39790
|
+
* @remarks
|
|
39791
|
+
* Description: 资方回调
|
|
39792
|
+
* Summary: 资方回调
|
|
39793
|
+
*/
|
|
39794
|
+
async queryCreditshieldFundcallbackEx(request: QueryCreditshieldFundcallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCreditshieldFundcallbackResponse> {
|
|
39795
|
+
Util.validateModel(request);
|
|
39796
|
+
return $tea.cast<QueryCreditshieldFundcallbackResponse>(await this.doRequest("1.0", "riskplus.creditshield.fundcallback.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCreditshieldFundcallbackResponse({}));
|
|
39797
|
+
}
|
|
39798
|
+
|
|
39477
39799
|
/**
|
|
39478
39800
|
* @remarks
|
|
39479
39801
|
* Description: 报告结果推送,算法调用
|