@antchain/ato 1.8.98 → 1.9.11
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 +327 -11
- package/dist/client.js +486 -22
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +679 -32
package/src/client.ts
CHANGED
|
@@ -252,6 +252,36 @@ export class AgreementPage extends $tea.Model {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
+
// 用户履约信息
|
|
256
|
+
export class UserPerformanceInfo extends $tea.Model {
|
|
257
|
+
// 履约期数
|
|
258
|
+
periodNum: number;
|
|
259
|
+
// 履约时间,格式 yyyy-MM-dd
|
|
260
|
+
// 针对签收日作为起租日模式,未签收时:以签收日开始计算
|
|
261
|
+
payDate: string;
|
|
262
|
+
// 履约金额,单位为分
|
|
263
|
+
payMoney: number;
|
|
264
|
+
static names(): { [key: string]: string } {
|
|
265
|
+
return {
|
|
266
|
+
periodNum: 'period_num',
|
|
267
|
+
payDate: 'pay_date',
|
|
268
|
+
payMoney: 'pay_money',
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
static types(): { [key: string]: any } {
|
|
273
|
+
return {
|
|
274
|
+
periodNum: 'number',
|
|
275
|
+
payDate: 'string',
|
|
276
|
+
payMoney: 'number',
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
constructor(map?: { [key: string]: any }) {
|
|
281
|
+
super(map);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
255
285
|
// 风险场景的决策结果
|
|
256
286
|
export class RiskScene extends $tea.Model {
|
|
257
287
|
// 风险场景编码
|
|
@@ -783,10 +813,19 @@ export class RiskModel extends $tea.Model {
|
|
|
783
813
|
sceneCode: string;
|
|
784
814
|
// 该风险场景的风险分值
|
|
785
815
|
score: string;
|
|
816
|
+
// 逾期率
|
|
817
|
+
delinquencyRate?: string;
|
|
818
|
+
// 风险建议
|
|
819
|
+
riskAdvice?: string;
|
|
820
|
+
// 风险等级
|
|
821
|
+
riskRank?: string;
|
|
786
822
|
static names(): { [key: string]: string } {
|
|
787
823
|
return {
|
|
788
824
|
sceneCode: 'scene_code',
|
|
789
825
|
score: 'score',
|
|
826
|
+
delinquencyRate: 'delinquency_rate',
|
|
827
|
+
riskAdvice: 'risk_advice',
|
|
828
|
+
riskRank: 'risk_rank',
|
|
790
829
|
};
|
|
791
830
|
}
|
|
792
831
|
|
|
@@ -794,6 +833,9 @@ export class RiskModel extends $tea.Model {
|
|
|
794
833
|
return {
|
|
795
834
|
sceneCode: 'string',
|
|
796
835
|
score: 'string',
|
|
836
|
+
delinquencyRate: 'string',
|
|
837
|
+
riskAdvice: 'string',
|
|
838
|
+
riskRank: 'string',
|
|
797
839
|
};
|
|
798
840
|
}
|
|
799
841
|
|
|
@@ -4348,6 +4390,8 @@ export class CreateInnerMerchantpayexpandRequest extends $tea.Model {
|
|
|
4348
4390
|
userName: string;
|
|
4349
4391
|
// 第一次暂存或保存可以不传,后端直接生成
|
|
4350
4392
|
payExpandId?: string;
|
|
4393
|
+
// true允许重复进件,false不允许重复进件
|
|
4394
|
+
allowDuplicate?: boolean;
|
|
4351
4395
|
static names(): { [key: string]: string } {
|
|
4352
4396
|
return {
|
|
4353
4397
|
authToken: 'auth_token',
|
|
@@ -4361,6 +4405,7 @@ export class CreateInnerMerchantpayexpandRequest extends $tea.Model {
|
|
|
4361
4405
|
subTenantId: 'sub_tenant_id',
|
|
4362
4406
|
userName: 'user_name',
|
|
4363
4407
|
payExpandId: 'pay_expand_id',
|
|
4408
|
+
allowDuplicate: 'allow_duplicate',
|
|
4364
4409
|
};
|
|
4365
4410
|
}
|
|
4366
4411
|
|
|
@@ -4377,6 +4422,7 @@ export class CreateInnerMerchantpayexpandRequest extends $tea.Model {
|
|
|
4377
4422
|
subTenantId: 'string',
|
|
4378
4423
|
userName: 'string',
|
|
4379
4424
|
payExpandId: 'string',
|
|
4425
|
+
allowDuplicate: 'boolean',
|
|
4380
4426
|
};
|
|
4381
4427
|
}
|
|
4382
4428
|
|
|
@@ -5284,6 +5330,470 @@ export class RetryInnerOrdermsgResponse extends $tea.Model {
|
|
|
5284
5330
|
}
|
|
5285
5331
|
}
|
|
5286
5332
|
|
|
5333
|
+
export class QueryInnerAuthorizationRequest extends $tea.Model {
|
|
5334
|
+
// OAuth模式下的授权token
|
|
5335
|
+
authToken?: string;
|
|
5336
|
+
productInstanceId?: string;
|
|
5337
|
+
// 签署合同的流程id
|
|
5338
|
+
flowId: string;
|
|
5339
|
+
static names(): { [key: string]: string } {
|
|
5340
|
+
return {
|
|
5341
|
+
authToken: 'auth_token',
|
|
5342
|
+
productInstanceId: 'product_instance_id',
|
|
5343
|
+
flowId: 'flow_id',
|
|
5344
|
+
};
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
static types(): { [key: string]: any } {
|
|
5348
|
+
return {
|
|
5349
|
+
authToken: 'string',
|
|
5350
|
+
productInstanceId: 'string',
|
|
5351
|
+
flowId: 'string',
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
constructor(map?: { [key: string]: any }) {
|
|
5356
|
+
super(map);
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
export class QueryInnerAuthorizationResponse extends $tea.Model {
|
|
5361
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5362
|
+
reqMsgId?: string;
|
|
5363
|
+
// 结果码,一般OK表示调用成功
|
|
5364
|
+
resultCode?: string;
|
|
5365
|
+
// 异常信息的文本描述
|
|
5366
|
+
resultMsg?: string;
|
|
5367
|
+
// true代表需要进行授权询问
|
|
5368
|
+
// false代表不需要进行授权询问
|
|
5369
|
+
isNeedAskAuth?: boolean;
|
|
5370
|
+
static names(): { [key: string]: string } {
|
|
5371
|
+
return {
|
|
5372
|
+
reqMsgId: 'req_msg_id',
|
|
5373
|
+
resultCode: 'result_code',
|
|
5374
|
+
resultMsg: 'result_msg',
|
|
5375
|
+
isNeedAskAuth: 'is_need_ask_auth',
|
|
5376
|
+
};
|
|
5377
|
+
}
|
|
5378
|
+
|
|
5379
|
+
static types(): { [key: string]: any } {
|
|
5380
|
+
return {
|
|
5381
|
+
reqMsgId: 'string',
|
|
5382
|
+
resultCode: 'string',
|
|
5383
|
+
resultMsg: 'string',
|
|
5384
|
+
isNeedAskAuth: 'boolean',
|
|
5385
|
+
};
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5388
|
+
constructor(map?: { [key: string]: any }) {
|
|
5389
|
+
super(map);
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
export class SignInnerAuthorizationRequest extends $tea.Model {
|
|
5394
|
+
// OAuth模式下的授权token
|
|
5395
|
+
authToken?: string;
|
|
5396
|
+
productInstanceId?: string;
|
|
5397
|
+
// 签署合同的流程id
|
|
5398
|
+
flowId: string;
|
|
5399
|
+
// true代表用户同意授权,
|
|
5400
|
+
// false代表不同意
|
|
5401
|
+
authResult: boolean;
|
|
5402
|
+
static names(): { [key: string]: string } {
|
|
5403
|
+
return {
|
|
5404
|
+
authToken: 'auth_token',
|
|
5405
|
+
productInstanceId: 'product_instance_id',
|
|
5406
|
+
flowId: 'flow_id',
|
|
5407
|
+
authResult: 'auth_result',
|
|
5408
|
+
};
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
|
+
static types(): { [key: string]: any } {
|
|
5412
|
+
return {
|
|
5413
|
+
authToken: 'string',
|
|
5414
|
+
productInstanceId: 'string',
|
|
5415
|
+
flowId: 'string',
|
|
5416
|
+
authResult: 'boolean',
|
|
5417
|
+
};
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
constructor(map?: { [key: string]: any }) {
|
|
5421
|
+
super(map);
|
|
5422
|
+
}
|
|
5423
|
+
}
|
|
5424
|
+
|
|
5425
|
+
export class SignInnerAuthorizationResponse extends $tea.Model {
|
|
5426
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5427
|
+
reqMsgId?: string;
|
|
5428
|
+
// 结果码,一般OK表示调用成功
|
|
5429
|
+
resultCode?: string;
|
|
5430
|
+
// 异常信息的文本描述
|
|
5431
|
+
resultMsg?: string;
|
|
5432
|
+
static names(): { [key: string]: string } {
|
|
5433
|
+
return {
|
|
5434
|
+
reqMsgId: 'req_msg_id',
|
|
5435
|
+
resultCode: 'result_code',
|
|
5436
|
+
resultMsg: 'result_msg',
|
|
5437
|
+
};
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
static types(): { [key: string]: any } {
|
|
5441
|
+
return {
|
|
5442
|
+
reqMsgId: 'string',
|
|
5443
|
+
resultCode: 'string',
|
|
5444
|
+
resultMsg: 'string',
|
|
5445
|
+
};
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5448
|
+
constructor(map?: { [key: string]: any }) {
|
|
5449
|
+
super(map);
|
|
5450
|
+
}
|
|
5451
|
+
}
|
|
5452
|
+
|
|
5453
|
+
export class QueryInnerSupplementalRequest extends $tea.Model {
|
|
5454
|
+
// OAuth模式下的授权token
|
|
5455
|
+
authToken?: string;
|
|
5456
|
+
productInstanceId?: string;
|
|
5457
|
+
// 商户ID
|
|
5458
|
+
tenantId: string;
|
|
5459
|
+
static names(): { [key: string]: string } {
|
|
5460
|
+
return {
|
|
5461
|
+
authToken: 'auth_token',
|
|
5462
|
+
productInstanceId: 'product_instance_id',
|
|
5463
|
+
tenantId: 'tenant_id',
|
|
5464
|
+
};
|
|
5465
|
+
}
|
|
5466
|
+
|
|
5467
|
+
static types(): { [key: string]: any } {
|
|
5468
|
+
return {
|
|
5469
|
+
authToken: 'string',
|
|
5470
|
+
productInstanceId: 'string',
|
|
5471
|
+
tenantId: 'string',
|
|
5472
|
+
};
|
|
5473
|
+
}
|
|
5474
|
+
|
|
5475
|
+
constructor(map?: { [key: string]: any }) {
|
|
5476
|
+
super(map);
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
|
|
5480
|
+
export class QueryInnerSupplementalResponse extends $tea.Model {
|
|
5481
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5482
|
+
reqMsgId?: string;
|
|
5483
|
+
// 结果码,一般OK表示调用成功
|
|
5484
|
+
resultCode?: string;
|
|
5485
|
+
// 异常信息的文本描述
|
|
5486
|
+
resultMsg?: string;
|
|
5487
|
+
// true代表需要进行授权询问
|
|
5488
|
+
// false代表不需要进行授权询问
|
|
5489
|
+
isNeedAskAuth?: boolean;
|
|
5490
|
+
static names(): { [key: string]: string } {
|
|
5491
|
+
return {
|
|
5492
|
+
reqMsgId: 'req_msg_id',
|
|
5493
|
+
resultCode: 'result_code',
|
|
5494
|
+
resultMsg: 'result_msg',
|
|
5495
|
+
isNeedAskAuth: 'is_need_ask_auth',
|
|
5496
|
+
};
|
|
5497
|
+
}
|
|
5498
|
+
|
|
5499
|
+
static types(): { [key: string]: any } {
|
|
5500
|
+
return {
|
|
5501
|
+
reqMsgId: 'string',
|
|
5502
|
+
resultCode: 'string',
|
|
5503
|
+
resultMsg: 'string',
|
|
5504
|
+
isNeedAskAuth: 'boolean',
|
|
5505
|
+
};
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5508
|
+
constructor(map?: { [key: string]: any }) {
|
|
5509
|
+
super(map);
|
|
5510
|
+
}
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5513
|
+
export class SignInnerSupplementalRequest extends $tea.Model {
|
|
5514
|
+
// OAuth模式下的授权token
|
|
5515
|
+
authToken?: string;
|
|
5516
|
+
productInstanceId?: string;
|
|
5517
|
+
// 商户ID
|
|
5518
|
+
tenantId: string;
|
|
5519
|
+
// 同意接受用户补充接口,目前取值只能为true
|
|
5520
|
+
authResult: boolean;
|
|
5521
|
+
static names(): { [key: string]: string } {
|
|
5522
|
+
return {
|
|
5523
|
+
authToken: 'auth_token',
|
|
5524
|
+
productInstanceId: 'product_instance_id',
|
|
5525
|
+
tenantId: 'tenant_id',
|
|
5526
|
+
authResult: 'auth_result',
|
|
5527
|
+
};
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
static types(): { [key: string]: any } {
|
|
5531
|
+
return {
|
|
5532
|
+
authToken: 'string',
|
|
5533
|
+
productInstanceId: 'string',
|
|
5534
|
+
tenantId: 'string',
|
|
5535
|
+
authResult: 'boolean',
|
|
5536
|
+
};
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
constructor(map?: { [key: string]: any }) {
|
|
5540
|
+
super(map);
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
export class SignInnerSupplementalResponse extends $tea.Model {
|
|
5545
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5546
|
+
reqMsgId?: string;
|
|
5547
|
+
// 结果码,一般OK表示调用成功
|
|
5548
|
+
resultCode?: string;
|
|
5549
|
+
// 异常信息的文本描述
|
|
5550
|
+
resultMsg?: string;
|
|
5551
|
+
static names(): { [key: string]: string } {
|
|
5552
|
+
return {
|
|
5553
|
+
reqMsgId: 'req_msg_id',
|
|
5554
|
+
resultCode: 'result_code',
|
|
5555
|
+
resultMsg: 'result_msg',
|
|
5556
|
+
};
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
static types(): { [key: string]: any } {
|
|
5560
|
+
return {
|
|
5561
|
+
reqMsgId: 'string',
|
|
5562
|
+
resultCode: 'string',
|
|
5563
|
+
resultMsg: 'string',
|
|
5564
|
+
};
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
constructor(map?: { [key: string]: any }) {
|
|
5568
|
+
super(map);
|
|
5569
|
+
}
|
|
5570
|
+
}
|
|
5571
|
+
|
|
5572
|
+
export class QueryInnerWithholdplanRequest extends $tea.Model {
|
|
5573
|
+
// OAuth模式下的授权token
|
|
5574
|
+
authToken?: string;
|
|
5575
|
+
productInstanceId?: string;
|
|
5576
|
+
// 商户租户id
|
|
5577
|
+
merchantTenantId: string;
|
|
5578
|
+
// 订单id
|
|
5579
|
+
orderId: string;
|
|
5580
|
+
static names(): { [key: string]: string } {
|
|
5581
|
+
return {
|
|
5582
|
+
authToken: 'auth_token',
|
|
5583
|
+
productInstanceId: 'product_instance_id',
|
|
5584
|
+
merchantTenantId: 'merchant_tenant_id',
|
|
5585
|
+
orderId: 'order_id',
|
|
5586
|
+
};
|
|
5587
|
+
}
|
|
5588
|
+
|
|
5589
|
+
static types(): { [key: string]: any } {
|
|
5590
|
+
return {
|
|
5591
|
+
authToken: 'string',
|
|
5592
|
+
productInstanceId: 'string',
|
|
5593
|
+
merchantTenantId: 'string',
|
|
5594
|
+
orderId: 'string',
|
|
5595
|
+
};
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
constructor(map?: { [key: string]: any }) {
|
|
5599
|
+
super(map);
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
export class QueryInnerWithholdplanResponse extends $tea.Model {
|
|
5604
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5605
|
+
reqMsgId?: string;
|
|
5606
|
+
// 结果码,一般OK表示调用成功
|
|
5607
|
+
resultCode?: string;
|
|
5608
|
+
// 异常信息的文本描述
|
|
5609
|
+
resultMsg?: string;
|
|
5610
|
+
// 总金额,单位为分
|
|
5611
|
+
totalMoney?: number;
|
|
5612
|
+
// 总期数
|
|
5613
|
+
totalTerm?: number;
|
|
5614
|
+
// 用户履约信息列表
|
|
5615
|
+
payInfo?: UserPerformanceInfo[];
|
|
5616
|
+
static names(): { [key: string]: string } {
|
|
5617
|
+
return {
|
|
5618
|
+
reqMsgId: 'req_msg_id',
|
|
5619
|
+
resultCode: 'result_code',
|
|
5620
|
+
resultMsg: 'result_msg',
|
|
5621
|
+
totalMoney: 'total_money',
|
|
5622
|
+
totalTerm: 'total_term',
|
|
5623
|
+
payInfo: 'pay_info',
|
|
5624
|
+
};
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
static types(): { [key: string]: any } {
|
|
5628
|
+
return {
|
|
5629
|
+
reqMsgId: 'string',
|
|
5630
|
+
resultCode: 'string',
|
|
5631
|
+
resultMsg: 'string',
|
|
5632
|
+
totalMoney: 'number',
|
|
5633
|
+
totalTerm: 'number',
|
|
5634
|
+
payInfo: { 'type': 'array', 'itemType': UserPerformanceInfo },
|
|
5635
|
+
};
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
constructor(map?: { [key: string]: any }) {
|
|
5639
|
+
super(map);
|
|
5640
|
+
}
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
export class CreateInnerWithholdsignRequest extends $tea.Model {
|
|
5644
|
+
// OAuth模式下的授权token
|
|
5645
|
+
authToken?: string;
|
|
5646
|
+
productInstanceId?: string;
|
|
5647
|
+
// 商户租户id
|
|
5648
|
+
merchantTenantId: string;
|
|
5649
|
+
// 订单id
|
|
5650
|
+
orderId: string;
|
|
5651
|
+
// 用户支付宝2088uid
|
|
5652
|
+
alipayUserId?: string;
|
|
5653
|
+
static names(): { [key: string]: string } {
|
|
5654
|
+
return {
|
|
5655
|
+
authToken: 'auth_token',
|
|
5656
|
+
productInstanceId: 'product_instance_id',
|
|
5657
|
+
merchantTenantId: 'merchant_tenant_id',
|
|
5658
|
+
orderId: 'order_id',
|
|
5659
|
+
alipayUserId: 'alipay_user_id',
|
|
5660
|
+
};
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
static types(): { [key: string]: any } {
|
|
5664
|
+
return {
|
|
5665
|
+
authToken: 'string',
|
|
5666
|
+
productInstanceId: 'string',
|
|
5667
|
+
merchantTenantId: 'string',
|
|
5668
|
+
orderId: 'string',
|
|
5669
|
+
alipayUserId: 'string',
|
|
5670
|
+
};
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
constructor(map?: { [key: string]: any }) {
|
|
5674
|
+
super(map);
|
|
5675
|
+
}
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
export class CreateInnerWithholdsignResponse extends $tea.Model {
|
|
5679
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5680
|
+
reqMsgId?: string;
|
|
5681
|
+
// 结果码,一般OK表示调用成功
|
|
5682
|
+
resultCode?: string;
|
|
5683
|
+
// 异常信息的文本描述
|
|
5684
|
+
resultMsg?: string;
|
|
5685
|
+
// 代扣签约串
|
|
5686
|
+
signStr?: string;
|
|
5687
|
+
static names(): { [key: string]: string } {
|
|
5688
|
+
return {
|
|
5689
|
+
reqMsgId: 'req_msg_id',
|
|
5690
|
+
resultCode: 'result_code',
|
|
5691
|
+
resultMsg: 'result_msg',
|
|
5692
|
+
signStr: 'sign_str',
|
|
5693
|
+
};
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
static types(): { [key: string]: any } {
|
|
5697
|
+
return {
|
|
5698
|
+
reqMsgId: 'string',
|
|
5699
|
+
resultCode: 'string',
|
|
5700
|
+
resultMsg: 'string',
|
|
5701
|
+
signStr: 'string',
|
|
5702
|
+
};
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5705
|
+
constructor(map?: { [key: string]: any }) {
|
|
5706
|
+
super(map);
|
|
5707
|
+
}
|
|
5708
|
+
}
|
|
5709
|
+
|
|
5710
|
+
export class QueryInnerWithholdsignRequest extends $tea.Model {
|
|
5711
|
+
// OAuth模式下的授权token
|
|
5712
|
+
authToken?: string;
|
|
5713
|
+
productInstanceId?: string;
|
|
5714
|
+
// 商户租户id
|
|
5715
|
+
merchantTenantId: string;
|
|
5716
|
+
// 订单id
|
|
5717
|
+
orderId: string;
|
|
5718
|
+
static names(): { [key: string]: string } {
|
|
5719
|
+
return {
|
|
5720
|
+
authToken: 'auth_token',
|
|
5721
|
+
productInstanceId: 'product_instance_id',
|
|
5722
|
+
merchantTenantId: 'merchant_tenant_id',
|
|
5723
|
+
orderId: 'order_id',
|
|
5724
|
+
};
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
static types(): { [key: string]: any } {
|
|
5728
|
+
return {
|
|
5729
|
+
authToken: 'string',
|
|
5730
|
+
productInstanceId: 'string',
|
|
5731
|
+
merchantTenantId: 'string',
|
|
5732
|
+
orderId: 'string',
|
|
5733
|
+
};
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
constructor(map?: { [key: string]: any }) {
|
|
5737
|
+
super(map);
|
|
5738
|
+
}
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
export class QueryInnerWithholdsignResponse extends $tea.Model {
|
|
5742
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5743
|
+
reqMsgId?: string;
|
|
5744
|
+
// 结果码,一般OK表示调用成功
|
|
5745
|
+
resultCode?: string;
|
|
5746
|
+
// 异常信息的文本描述
|
|
5747
|
+
resultMsg?: string;
|
|
5748
|
+
// 协议当前状态
|
|
5749
|
+
// 1. UNSIGNED:未签约
|
|
5750
|
+
// 2. SIGNED:已签约;
|
|
5751
|
+
// 3.APPLY_TERMINATE:申请解约
|
|
5752
|
+
// 4. TERMINATED:已解约
|
|
5753
|
+
// 5.TIMEOUT_CLOSE:超时关闭
|
|
5754
|
+
status?: string;
|
|
5755
|
+
// 支付宝代扣协议号
|
|
5756
|
+
agreementNo?: string;
|
|
5757
|
+
// 协议签署时间
|
|
5758
|
+
// yyyy-MM-dd HH:mm:ss 格式
|
|
5759
|
+
signTime?: string;
|
|
5760
|
+
// 协议生效时间
|
|
5761
|
+
// yyyy-MM-dd HH:mm:ss 格式
|
|
5762
|
+
validTime?: string;
|
|
5763
|
+
// 协议失效时间
|
|
5764
|
+
// yyyy-MM-dd HH:mm:ss 格式
|
|
5765
|
+
invalidTime?: string;
|
|
5766
|
+
static names(): { [key: string]: string } {
|
|
5767
|
+
return {
|
|
5768
|
+
reqMsgId: 'req_msg_id',
|
|
5769
|
+
resultCode: 'result_code',
|
|
5770
|
+
resultMsg: 'result_msg',
|
|
5771
|
+
status: 'status',
|
|
5772
|
+
agreementNo: 'agreement_no',
|
|
5773
|
+
signTime: 'sign_time',
|
|
5774
|
+
validTime: 'valid_time',
|
|
5775
|
+
invalidTime: 'invalid_time',
|
|
5776
|
+
};
|
|
5777
|
+
}
|
|
5778
|
+
|
|
5779
|
+
static types(): { [key: string]: any } {
|
|
5780
|
+
return {
|
|
5781
|
+
reqMsgId: 'string',
|
|
5782
|
+
resultCode: 'string',
|
|
5783
|
+
resultMsg: 'string',
|
|
5784
|
+
status: 'string',
|
|
5785
|
+
agreementNo: 'string',
|
|
5786
|
+
signTime: 'string',
|
|
5787
|
+
validTime: 'string',
|
|
5788
|
+
invalidTime: 'string',
|
|
5789
|
+
};
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
constructor(map?: { [key: string]: any }) {
|
|
5793
|
+
super(map);
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5287
5797
|
export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
|
|
5288
5798
|
// OAuth模式下的授权token
|
|
5289
5799
|
authToken?: string;
|
|
@@ -5735,25 +6245,22 @@ export class QueryRiskRequest extends $tea.Model {
|
|
|
5735
6245
|
// OAuth模式下的授权token
|
|
5736
6246
|
authToken?: string;
|
|
5737
6247
|
productInstanceId?: string;
|
|
5738
|
-
//
|
|
5739
|
-
|
|
6248
|
+
// 枚举值:蚁盾版、智租版、旗舰版,蚁盾版代表仅调用蚁盾风控,智租版代表仅调用小程序云风控,旗舰版代表调用蚁盾+旗舰版风控接口
|
|
6249
|
+
productName: string;
|
|
5740
6250
|
// 用户姓名
|
|
5741
6251
|
userName: string;
|
|
5742
6252
|
// 用户证件号码
|
|
5743
6253
|
certNo: string;
|
|
5744
6254
|
// 用户手机号码
|
|
5745
6255
|
mobile: string;
|
|
5746
|
-
// 用户ip地址
|
|
5747
|
-
ip?: string;
|
|
5748
6256
|
static names(): { [key: string]: string } {
|
|
5749
6257
|
return {
|
|
5750
6258
|
authToken: 'auth_token',
|
|
5751
6259
|
productInstanceId: 'product_instance_id',
|
|
5752
|
-
|
|
6260
|
+
productName: 'product_name',
|
|
5753
6261
|
userName: 'user_name',
|
|
5754
6262
|
certNo: 'cert_no',
|
|
5755
6263
|
mobile: 'mobile',
|
|
5756
|
-
ip: 'ip',
|
|
5757
6264
|
};
|
|
5758
6265
|
}
|
|
5759
6266
|
|
|
@@ -5761,11 +6268,10 @@ export class QueryRiskRequest extends $tea.Model {
|
|
|
5761
6268
|
return {
|
|
5762
6269
|
authToken: 'string',
|
|
5763
6270
|
productInstanceId: 'string',
|
|
5764
|
-
|
|
6271
|
+
productName: 'string',
|
|
5765
6272
|
userName: 'string',
|
|
5766
6273
|
certNo: 'string',
|
|
5767
6274
|
mobile: 'string',
|
|
5768
|
-
ip: 'string',
|
|
5769
6275
|
};
|
|
5770
6276
|
}
|
|
5771
6277
|
|
|
@@ -5781,14 +6287,6 @@ export class QueryRiskResponse extends $tea.Model {
|
|
|
5781
6287
|
resultCode?: string;
|
|
5782
6288
|
// 异常信息的文本描述
|
|
5783
6289
|
resultMsg?: string;
|
|
5784
|
-
// 请求唯一ID标识,为空则是异常
|
|
5785
|
-
securityId?: string;
|
|
5786
|
-
// 总风险决策结果,枚举值为:reject[拒绝],validate[待定],accept[通过]。
|
|
5787
|
-
decision?: string;
|
|
5788
|
-
// 风险场景的决策结果
|
|
5789
|
-
scenes?: RiskScene[];
|
|
5790
|
-
// 策略结果详情
|
|
5791
|
-
strategies?: RiskStrategy[];
|
|
5792
6290
|
// 模型结果详情
|
|
5793
6291
|
models?: RiskModel[];
|
|
5794
6292
|
static names(): { [key: string]: string } {
|
|
@@ -5796,10 +6294,6 @@ export class QueryRiskResponse extends $tea.Model {
|
|
|
5796
6294
|
reqMsgId: 'req_msg_id',
|
|
5797
6295
|
resultCode: 'result_code',
|
|
5798
6296
|
resultMsg: 'result_msg',
|
|
5799
|
-
securityId: 'security_id',
|
|
5800
|
-
decision: 'decision',
|
|
5801
|
-
scenes: 'scenes',
|
|
5802
|
-
strategies: 'strategies',
|
|
5803
6297
|
models: 'models',
|
|
5804
6298
|
};
|
|
5805
6299
|
}
|
|
@@ -5809,10 +6303,6 @@ export class QueryRiskResponse extends $tea.Model {
|
|
|
5809
6303
|
reqMsgId: 'string',
|
|
5810
6304
|
resultCode: 'string',
|
|
5811
6305
|
resultMsg: 'string',
|
|
5812
|
-
securityId: 'string',
|
|
5813
|
-
decision: 'string',
|
|
5814
|
-
scenes: { 'type': 'array', 'itemType': RiskScene },
|
|
5815
|
-
strategies: { 'type': 'array', 'itemType': RiskStrategy },
|
|
5816
6306
|
models: { 'type': 'array', 'itemType': RiskModel },
|
|
5817
6307
|
};
|
|
5818
6308
|
}
|
|
@@ -5962,6 +6452,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
5962
6452
|
merchantLegalIdNumber?: string;
|
|
5963
6453
|
// 多方签署的其他参与方的签署信息,json的array格式,参考:[{"tag":"zf_a","orgName":"上海网络科技有限公司","orgIdType":"CRED_ORG_REGCODE","orgIdNumber":"12098760923","orgLegalName":"王大浪","orgLegalIdNumber":"107120196708289012"}],其中:orgIdNumber、orgLegalName、orgLegalIdNumber需要加密传输。
|
|
5964
6454
|
thirdSigner?: string;
|
|
6455
|
+
// 支付宝用户 open_id
|
|
6456
|
+
userOpenId?: string;
|
|
6457
|
+
// 商户支付宝应用 id
|
|
6458
|
+
merchantAppId?: string;
|
|
5965
6459
|
static names(): { [key: string]: string } {
|
|
5966
6460
|
return {
|
|
5967
6461
|
authToken: 'auth_token',
|
|
@@ -5987,6 +6481,8 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
5987
6481
|
merchantLegalName: 'merchant_legal_name',
|
|
5988
6482
|
merchantLegalIdNumber: 'merchant_legal_id_number',
|
|
5989
6483
|
thirdSigner: 'third_signer',
|
|
6484
|
+
userOpenId: 'user_open_id',
|
|
6485
|
+
merchantAppId: 'merchant_app_id',
|
|
5990
6486
|
};
|
|
5991
6487
|
}
|
|
5992
6488
|
|
|
@@ -6015,6 +6511,8 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
6015
6511
|
merchantLegalName: 'string',
|
|
6016
6512
|
merchantLegalIdNumber: 'string',
|
|
6017
6513
|
thirdSigner: 'string',
|
|
6514
|
+
userOpenId: 'string',
|
|
6515
|
+
merchantAppId: 'string',
|
|
6018
6516
|
};
|
|
6019
6517
|
}
|
|
6020
6518
|
|
|
@@ -6294,6 +6792,10 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
6294
6792
|
merchantLegalIdNumber?: string;
|
|
6295
6793
|
// 多方签署的其他参与方的签署信息,json的array格式,参考:[{"tag":"zf_a","orgName":"上海网络科技有限公司","orgIdType":"CRED_ORG_REGCODE","orgIdNumber":"12098760923","orgLegalName":"王大浪","orgLegalIdNumber":"107120196708289012","sealIds":["12b2317-0000-3333-2222-ec087dc97d8b"]}],其中:orgIdNumber、orgLegalName、orgLegalIdNumber需要加密传输。
|
|
6296
6794
|
thirdSigner?: string;
|
|
6795
|
+
// 用户在支付宝开放平台下应用的 open_id
|
|
6796
|
+
userOpenId?: string;
|
|
6797
|
+
// 商户支付宝应用 id
|
|
6798
|
+
merchantAppId?: string;
|
|
6297
6799
|
static names(): { [key: string]: string } {
|
|
6298
6800
|
return {
|
|
6299
6801
|
authToken: 'auth_token',
|
|
@@ -6319,6 +6821,8 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
6319
6821
|
merchantLegalName: 'merchant_legal_name',
|
|
6320
6822
|
merchantLegalIdNumber: 'merchant_legal_id_number',
|
|
6321
6823
|
thirdSigner: 'third_signer',
|
|
6824
|
+
userOpenId: 'user_open_id',
|
|
6825
|
+
merchantAppId: 'merchant_app_id',
|
|
6322
6826
|
};
|
|
6323
6827
|
}
|
|
6324
6828
|
|
|
@@ -6347,6 +6851,8 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
6347
6851
|
merchantLegalName: 'string',
|
|
6348
6852
|
merchantLegalIdNumber: 'string',
|
|
6349
6853
|
thirdSigner: 'string',
|
|
6854
|
+
userOpenId: 'string',
|
|
6855
|
+
merchantAppId: 'string',
|
|
6350
6856
|
};
|
|
6351
6857
|
}
|
|
6352
6858
|
|
|
@@ -6734,7 +7240,7 @@ export class CancelSignFlowRequest extends $tea.Model {
|
|
|
6734
7240
|
productInstanceId?: string;
|
|
6735
7241
|
// 签署合同单号
|
|
6736
7242
|
signNo: string;
|
|
6737
|
-
//
|
|
7243
|
+
// 默认:“撤销”,最大长度50
|
|
6738
7244
|
revokeReason?: string;
|
|
6739
7245
|
// 发起人账户id,即发起本次签署的操作人个人账号id;如不传,默认由对接平台发起
|
|
6740
7246
|
operatorId?: string;
|
|
@@ -7470,7 +7976,7 @@ export class SyncTradeIndirectorderResponse extends $tea.Model {
|
|
|
7470
7976
|
}
|
|
7471
7977
|
}
|
|
7472
7978
|
|
|
7473
|
-
export class
|
|
7979
|
+
export class ReplaceTradeUserpromiseRequest extends $tea.Model {
|
|
7474
7980
|
// OAuth模式下的授权token
|
|
7475
7981
|
authToken?: string;
|
|
7476
7982
|
productInstanceId?: string;
|
|
@@ -7505,7 +8011,7 @@ export class UpdateTradeUserpromisebatchRequest extends $tea.Model {
|
|
|
7505
8011
|
}
|
|
7506
8012
|
}
|
|
7507
8013
|
|
|
7508
|
-
export class
|
|
8014
|
+
export class ReplaceTradeUserpromiseResponse extends $tea.Model {
|
|
7509
8015
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
7510
8016
|
reqMsgId?: string;
|
|
7511
8017
|
// 结果码,一般OK表示调用成功
|
|
@@ -7551,6 +8057,10 @@ export class CreateWithholdSignRequest extends $tea.Model {
|
|
|
7551
8057
|
alipayUserId?: string;
|
|
7552
8058
|
// 签约完成后的跳转地址,注意只有在h5跳转场景下才有意义其他场景通过方法回调处理业务;无需使用此字段。
|
|
7553
8059
|
returnUrl?: string;
|
|
8060
|
+
// 支付宝用户 open_id,非必填
|
|
8061
|
+
userOpenId?: string;
|
|
8062
|
+
// 商户支付宝应用 id
|
|
8063
|
+
merchantAppId?: string;
|
|
7554
8064
|
static names(): { [key: string]: string } {
|
|
7555
8065
|
return {
|
|
7556
8066
|
authToken: 'auth_token',
|
|
@@ -7562,6 +8072,8 @@ export class CreateWithholdSignRequest extends $tea.Model {
|
|
|
7562
8072
|
alipayMerchantServiceDescription: 'alipay_merchant_service_description',
|
|
7563
8073
|
alipayUserId: 'alipay_user_id',
|
|
7564
8074
|
returnUrl: 'return_url',
|
|
8075
|
+
userOpenId: 'user_open_id',
|
|
8076
|
+
merchantAppId: 'merchant_app_id',
|
|
7565
8077
|
};
|
|
7566
8078
|
}
|
|
7567
8079
|
|
|
@@ -7576,6 +8088,8 @@ export class CreateWithholdSignRequest extends $tea.Model {
|
|
|
7576
8088
|
alipayMerchantServiceDescription: 'string',
|
|
7577
8089
|
alipayUserId: 'string',
|
|
7578
8090
|
returnUrl: 'string',
|
|
8091
|
+
userOpenId: 'string',
|
|
8092
|
+
merchantAppId: 'string',
|
|
7579
8093
|
};
|
|
7580
8094
|
}
|
|
7581
8095
|
|
|
@@ -8615,7 +9129,7 @@ export default class Client {
|
|
|
8615
9129
|
req_msg_id: AntchainUtil.getNonce(),
|
|
8616
9130
|
access_key: this._accessKeyId,
|
|
8617
9131
|
base_sdk_version: "TeaSDK-2.0",
|
|
8618
|
-
sdk_version: "1.
|
|
9132
|
+
sdk_version: "1.9.11",
|
|
8619
9133
|
_prod_code: "ATO",
|
|
8620
9134
|
_prod_channel: "undefined",
|
|
8621
9135
|
};
|
|
@@ -9824,6 +10338,139 @@ export default class Client {
|
|
|
9824
10338
|
return $tea.cast<RetryInnerOrdermsgResponse>(await this.doRequest("1.0", "antchain.ato.inner.ordermsg.retry", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RetryInnerOrdermsgResponse({}));
|
|
9825
10339
|
}
|
|
9826
10340
|
|
|
10341
|
+
/**
|
|
10342
|
+
* Description: 法务协议授权- 签署合同代扣前置授权查询接口
|
|
10343
|
+
* Summary: 签署合同代扣前置授权查询接口
|
|
10344
|
+
*/
|
|
10345
|
+
async queryInnerAuthorization(request: QueryInnerAuthorizationRequest): Promise<QueryInnerAuthorizationResponse> {
|
|
10346
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10347
|
+
let headers : {[key: string ]: string} = { };
|
|
10348
|
+
return await this.queryInnerAuthorizationEx(request, headers, runtime);
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
/**
|
|
10352
|
+
* Description: 法务协议授权- 签署合同代扣前置授权查询接口
|
|
10353
|
+
* Summary: 签署合同代扣前置授权查询接口
|
|
10354
|
+
*/
|
|
10355
|
+
async queryInnerAuthorizationEx(request: QueryInnerAuthorizationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerAuthorizationResponse> {
|
|
10356
|
+
Util.validateModel(request);
|
|
10357
|
+
return $tea.cast<QueryInnerAuthorizationResponse>(await this.doRequest("1.0", "antchain.ato.inner.authorization.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerAuthorizationResponse({}));
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
/**
|
|
10361
|
+
* Description: 法务协议授权 - 签署合同代扣前置同意授权接口
|
|
10362
|
+
* Summary: 签署合同代扣前置同意授权接口
|
|
10363
|
+
*/
|
|
10364
|
+
async signInnerAuthorization(request: SignInnerAuthorizationRequest): Promise<SignInnerAuthorizationResponse> {
|
|
10365
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10366
|
+
let headers : {[key: string ]: string} = { };
|
|
10367
|
+
return await this.signInnerAuthorizationEx(request, headers, runtime);
|
|
10368
|
+
}
|
|
10369
|
+
|
|
10370
|
+
/**
|
|
10371
|
+
* Description: 法务协议授权 - 签署合同代扣前置同意授权接口
|
|
10372
|
+
* Summary: 签署合同代扣前置同意授权接口
|
|
10373
|
+
*/
|
|
10374
|
+
async signInnerAuthorizationEx(request: SignInnerAuthorizationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SignInnerAuthorizationResponse> {
|
|
10375
|
+
Util.validateModel(request);
|
|
10376
|
+
return $tea.cast<SignInnerAuthorizationResponse>(await this.doRequest("1.0", "antchain.ato.inner.authorization.sign", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SignInnerAuthorizationResponse({}));
|
|
10377
|
+
}
|
|
10378
|
+
|
|
10379
|
+
/**
|
|
10380
|
+
* Description: 小程序法务授权 - 商户补充协议状态查询接口
|
|
10381
|
+
* Summary: 商户补充协议状态查询接口
|
|
10382
|
+
*/
|
|
10383
|
+
async queryInnerSupplemental(request: QueryInnerSupplementalRequest): Promise<QueryInnerSupplementalResponse> {
|
|
10384
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10385
|
+
let headers : {[key: string ]: string} = { };
|
|
10386
|
+
return await this.queryInnerSupplementalEx(request, headers, runtime);
|
|
10387
|
+
}
|
|
10388
|
+
|
|
10389
|
+
/**
|
|
10390
|
+
* Description: 小程序法务授权 - 商户补充协议状态查询接口
|
|
10391
|
+
* Summary: 商户补充协议状态查询接口
|
|
10392
|
+
*/
|
|
10393
|
+
async queryInnerSupplementalEx(request: QueryInnerSupplementalRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerSupplementalResponse> {
|
|
10394
|
+
Util.validateModel(request);
|
|
10395
|
+
return $tea.cast<QueryInnerSupplementalResponse>(await this.doRequest("1.0", "antchain.ato.inner.supplemental.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerSupplementalResponse({}));
|
|
10396
|
+
}
|
|
10397
|
+
|
|
10398
|
+
/**
|
|
10399
|
+
* Description: 法务协议授权 - 商户补充协议状态同意接口
|
|
10400
|
+
* Summary: 商户补充协议状态同意接口
|
|
10401
|
+
*/
|
|
10402
|
+
async signInnerSupplemental(request: SignInnerSupplementalRequest): Promise<SignInnerSupplementalResponse> {
|
|
10403
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10404
|
+
let headers : {[key: string ]: string} = { };
|
|
10405
|
+
return await this.signInnerSupplementalEx(request, headers, runtime);
|
|
10406
|
+
}
|
|
10407
|
+
|
|
10408
|
+
/**
|
|
10409
|
+
* Description: 法务协议授权 - 商户补充协议状态同意接口
|
|
10410
|
+
* Summary: 商户补充协议状态同意接口
|
|
10411
|
+
*/
|
|
10412
|
+
async signInnerSupplementalEx(request: SignInnerSupplementalRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SignInnerSupplementalResponse> {
|
|
10413
|
+
Util.validateModel(request);
|
|
10414
|
+
return $tea.cast<SignInnerSupplementalResponse>(await this.doRequest("1.0", "antchain.ato.inner.supplemental.sign", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SignInnerSupplementalResponse({}));
|
|
10415
|
+
}
|
|
10416
|
+
|
|
10417
|
+
/**
|
|
10418
|
+
* Description: 查询代扣计划
|
|
10419
|
+
* Summary: 代扣计划查询
|
|
10420
|
+
*/
|
|
10421
|
+
async queryInnerWithholdplan(request: QueryInnerWithholdplanRequest): Promise<QueryInnerWithholdplanResponse> {
|
|
10422
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10423
|
+
let headers : {[key: string ]: string} = { };
|
|
10424
|
+
return await this.queryInnerWithholdplanEx(request, headers, runtime);
|
|
10425
|
+
}
|
|
10426
|
+
|
|
10427
|
+
/**
|
|
10428
|
+
* Description: 查询代扣计划
|
|
10429
|
+
* Summary: 代扣计划查询
|
|
10430
|
+
*/
|
|
10431
|
+
async queryInnerWithholdplanEx(request: QueryInnerWithholdplanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerWithholdplanResponse> {
|
|
10432
|
+
Util.validateModel(request);
|
|
10433
|
+
return $tea.cast<QueryInnerWithholdplanResponse>(await this.doRequest("1.0", "antchain.ato.inner.withholdplan.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerWithholdplanResponse({}));
|
|
10434
|
+
}
|
|
10435
|
+
|
|
10436
|
+
/**
|
|
10437
|
+
* Description: 创建代扣协议
|
|
10438
|
+
* Summary: 创建代扣协议
|
|
10439
|
+
*/
|
|
10440
|
+
async createInnerWithholdsign(request: CreateInnerWithholdsignRequest): Promise<CreateInnerWithholdsignResponse> {
|
|
10441
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10442
|
+
let headers : {[key: string ]: string} = { };
|
|
10443
|
+
return await this.createInnerWithholdsignEx(request, headers, runtime);
|
|
10444
|
+
}
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* Description: 创建代扣协议
|
|
10448
|
+
* Summary: 创建代扣协议
|
|
10449
|
+
*/
|
|
10450
|
+
async createInnerWithholdsignEx(request: CreateInnerWithholdsignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInnerWithholdsignResponse> {
|
|
10451
|
+
Util.validateModel(request);
|
|
10452
|
+
return $tea.cast<CreateInnerWithholdsignResponse>(await this.doRequest("1.0", "antchain.ato.inner.withholdsign.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateInnerWithholdsignResponse({}));
|
|
10453
|
+
}
|
|
10454
|
+
|
|
10455
|
+
/**
|
|
10456
|
+
* Description: 代扣签约查询
|
|
10457
|
+
* Summary: 代扣签约查询
|
|
10458
|
+
*/
|
|
10459
|
+
async queryInnerWithholdsign(request: QueryInnerWithholdsignRequest): Promise<QueryInnerWithholdsignResponse> {
|
|
10460
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10461
|
+
let headers : {[key: string ]: string} = { };
|
|
10462
|
+
return await this.queryInnerWithholdsignEx(request, headers, runtime);
|
|
10463
|
+
}
|
|
10464
|
+
|
|
10465
|
+
/**
|
|
10466
|
+
* Description: 代扣签约查询
|
|
10467
|
+
* Summary: 代扣签约查询
|
|
10468
|
+
*/
|
|
10469
|
+
async queryInnerWithholdsignEx(request: QueryInnerWithholdsignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerWithholdsignResponse> {
|
|
10470
|
+
Util.validateModel(request);
|
|
10471
|
+
return $tea.cast<QueryInnerWithholdsignResponse>(await this.doRequest("1.0", "antchain.ato.inner.withholdsign.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerWithholdsignResponse({}));
|
|
10472
|
+
}
|
|
10473
|
+
|
|
9827
10474
|
/**
|
|
9828
10475
|
* Description: 商户入驻
|
|
9829
10476
|
* Summary: 商户入驻
|
|
@@ -10383,19 +11030,19 @@ export default class Client {
|
|
|
10383
11030
|
* Description: 用户履约承诺替换更新
|
|
10384
11031
|
* Summary: 用户履约承诺替换更新
|
|
10385
11032
|
*/
|
|
10386
|
-
async
|
|
11033
|
+
async replaceTradeUserpromise(request: ReplaceTradeUserpromiseRequest): Promise<ReplaceTradeUserpromiseResponse> {
|
|
10387
11034
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10388
11035
|
let headers : {[key: string ]: string} = { };
|
|
10389
|
-
return await this.
|
|
11036
|
+
return await this.replaceTradeUserpromiseEx(request, headers, runtime);
|
|
10390
11037
|
}
|
|
10391
11038
|
|
|
10392
11039
|
/**
|
|
10393
11040
|
* Description: 用户履约承诺替换更新
|
|
10394
11041
|
* Summary: 用户履约承诺替换更新
|
|
10395
11042
|
*/
|
|
10396
|
-
async
|
|
11043
|
+
async replaceTradeUserpromiseEx(request: ReplaceTradeUserpromiseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ReplaceTradeUserpromiseResponse> {
|
|
10397
11044
|
Util.validateModel(request);
|
|
10398
|
-
return $tea.cast<
|
|
11045
|
+
return $tea.cast<ReplaceTradeUserpromiseResponse>(await this.doRequest("1.0", "antchain.ato.trade.userpromise.replace", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReplaceTradeUserpromiseResponse({}));
|
|
10399
11046
|
}
|
|
10400
11047
|
|
|
10401
11048
|
/**
|