@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/dist/client.d.ts
CHANGED
|
@@ -111,6 +111,20 @@ export declare class AgreementPage extends $tea.Model {
|
|
|
111
111
|
[key: string]: any;
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
+
export declare class UserPerformanceInfo extends $tea.Model {
|
|
115
|
+
periodNum: number;
|
|
116
|
+
payDate: string;
|
|
117
|
+
payMoney: number;
|
|
118
|
+
static names(): {
|
|
119
|
+
[key: string]: string;
|
|
120
|
+
};
|
|
121
|
+
static types(): {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
};
|
|
124
|
+
constructor(map?: {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
});
|
|
127
|
+
}
|
|
114
128
|
export declare class RiskScene extends $tea.Model {
|
|
115
129
|
sceneCode: string;
|
|
116
130
|
decision: string;
|
|
@@ -335,6 +349,9 @@ export declare class AuditInfo extends $tea.Model {
|
|
|
335
349
|
export declare class RiskModel extends $tea.Model {
|
|
336
350
|
sceneCode: string;
|
|
337
351
|
score: string;
|
|
352
|
+
delinquencyRate?: string;
|
|
353
|
+
riskAdvice?: string;
|
|
354
|
+
riskRank?: string;
|
|
338
355
|
static names(): {
|
|
339
356
|
[key: string]: string;
|
|
340
357
|
};
|
|
@@ -1920,6 +1937,7 @@ export declare class CreateInnerMerchantpayexpandRequest extends $tea.Model {
|
|
|
1920
1937
|
subTenantId?: string;
|
|
1921
1938
|
userName: string;
|
|
1922
1939
|
payExpandId?: string;
|
|
1940
|
+
allowDuplicate?: boolean;
|
|
1923
1941
|
static names(): {
|
|
1924
1942
|
[key: string]: string;
|
|
1925
1943
|
};
|
|
@@ -2332,6 +2350,219 @@ export declare class RetryInnerOrdermsgResponse extends $tea.Model {
|
|
|
2332
2350
|
[key: string]: any;
|
|
2333
2351
|
});
|
|
2334
2352
|
}
|
|
2353
|
+
export declare class QueryInnerAuthorizationRequest extends $tea.Model {
|
|
2354
|
+
authToken?: string;
|
|
2355
|
+
productInstanceId?: string;
|
|
2356
|
+
flowId: string;
|
|
2357
|
+
static names(): {
|
|
2358
|
+
[key: string]: string;
|
|
2359
|
+
};
|
|
2360
|
+
static types(): {
|
|
2361
|
+
[key: string]: any;
|
|
2362
|
+
};
|
|
2363
|
+
constructor(map?: {
|
|
2364
|
+
[key: string]: any;
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
export declare class QueryInnerAuthorizationResponse extends $tea.Model {
|
|
2368
|
+
reqMsgId?: string;
|
|
2369
|
+
resultCode?: string;
|
|
2370
|
+
resultMsg?: string;
|
|
2371
|
+
isNeedAskAuth?: boolean;
|
|
2372
|
+
static names(): {
|
|
2373
|
+
[key: string]: string;
|
|
2374
|
+
};
|
|
2375
|
+
static types(): {
|
|
2376
|
+
[key: string]: any;
|
|
2377
|
+
};
|
|
2378
|
+
constructor(map?: {
|
|
2379
|
+
[key: string]: any;
|
|
2380
|
+
});
|
|
2381
|
+
}
|
|
2382
|
+
export declare class SignInnerAuthorizationRequest extends $tea.Model {
|
|
2383
|
+
authToken?: string;
|
|
2384
|
+
productInstanceId?: string;
|
|
2385
|
+
flowId: string;
|
|
2386
|
+
authResult: boolean;
|
|
2387
|
+
static names(): {
|
|
2388
|
+
[key: string]: string;
|
|
2389
|
+
};
|
|
2390
|
+
static types(): {
|
|
2391
|
+
[key: string]: any;
|
|
2392
|
+
};
|
|
2393
|
+
constructor(map?: {
|
|
2394
|
+
[key: string]: any;
|
|
2395
|
+
});
|
|
2396
|
+
}
|
|
2397
|
+
export declare class SignInnerAuthorizationResponse extends $tea.Model {
|
|
2398
|
+
reqMsgId?: string;
|
|
2399
|
+
resultCode?: string;
|
|
2400
|
+
resultMsg?: string;
|
|
2401
|
+
static names(): {
|
|
2402
|
+
[key: string]: string;
|
|
2403
|
+
};
|
|
2404
|
+
static types(): {
|
|
2405
|
+
[key: string]: any;
|
|
2406
|
+
};
|
|
2407
|
+
constructor(map?: {
|
|
2408
|
+
[key: string]: any;
|
|
2409
|
+
});
|
|
2410
|
+
}
|
|
2411
|
+
export declare class QueryInnerSupplementalRequest extends $tea.Model {
|
|
2412
|
+
authToken?: string;
|
|
2413
|
+
productInstanceId?: string;
|
|
2414
|
+
tenantId: string;
|
|
2415
|
+
static names(): {
|
|
2416
|
+
[key: string]: string;
|
|
2417
|
+
};
|
|
2418
|
+
static types(): {
|
|
2419
|
+
[key: string]: any;
|
|
2420
|
+
};
|
|
2421
|
+
constructor(map?: {
|
|
2422
|
+
[key: string]: any;
|
|
2423
|
+
});
|
|
2424
|
+
}
|
|
2425
|
+
export declare class QueryInnerSupplementalResponse extends $tea.Model {
|
|
2426
|
+
reqMsgId?: string;
|
|
2427
|
+
resultCode?: string;
|
|
2428
|
+
resultMsg?: string;
|
|
2429
|
+
isNeedAskAuth?: boolean;
|
|
2430
|
+
static names(): {
|
|
2431
|
+
[key: string]: string;
|
|
2432
|
+
};
|
|
2433
|
+
static types(): {
|
|
2434
|
+
[key: string]: any;
|
|
2435
|
+
};
|
|
2436
|
+
constructor(map?: {
|
|
2437
|
+
[key: string]: any;
|
|
2438
|
+
});
|
|
2439
|
+
}
|
|
2440
|
+
export declare class SignInnerSupplementalRequest extends $tea.Model {
|
|
2441
|
+
authToken?: string;
|
|
2442
|
+
productInstanceId?: string;
|
|
2443
|
+
tenantId: string;
|
|
2444
|
+
authResult: boolean;
|
|
2445
|
+
static names(): {
|
|
2446
|
+
[key: string]: string;
|
|
2447
|
+
};
|
|
2448
|
+
static types(): {
|
|
2449
|
+
[key: string]: any;
|
|
2450
|
+
};
|
|
2451
|
+
constructor(map?: {
|
|
2452
|
+
[key: string]: any;
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
export declare class SignInnerSupplementalResponse extends $tea.Model {
|
|
2456
|
+
reqMsgId?: string;
|
|
2457
|
+
resultCode?: string;
|
|
2458
|
+
resultMsg?: string;
|
|
2459
|
+
static names(): {
|
|
2460
|
+
[key: string]: string;
|
|
2461
|
+
};
|
|
2462
|
+
static types(): {
|
|
2463
|
+
[key: string]: any;
|
|
2464
|
+
};
|
|
2465
|
+
constructor(map?: {
|
|
2466
|
+
[key: string]: any;
|
|
2467
|
+
});
|
|
2468
|
+
}
|
|
2469
|
+
export declare class QueryInnerWithholdplanRequest extends $tea.Model {
|
|
2470
|
+
authToken?: string;
|
|
2471
|
+
productInstanceId?: string;
|
|
2472
|
+
merchantTenantId: string;
|
|
2473
|
+
orderId: string;
|
|
2474
|
+
static names(): {
|
|
2475
|
+
[key: string]: string;
|
|
2476
|
+
};
|
|
2477
|
+
static types(): {
|
|
2478
|
+
[key: string]: any;
|
|
2479
|
+
};
|
|
2480
|
+
constructor(map?: {
|
|
2481
|
+
[key: string]: any;
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
export declare class QueryInnerWithholdplanResponse extends $tea.Model {
|
|
2485
|
+
reqMsgId?: string;
|
|
2486
|
+
resultCode?: string;
|
|
2487
|
+
resultMsg?: string;
|
|
2488
|
+
totalMoney?: number;
|
|
2489
|
+
totalTerm?: number;
|
|
2490
|
+
payInfo?: UserPerformanceInfo[];
|
|
2491
|
+
static names(): {
|
|
2492
|
+
[key: string]: string;
|
|
2493
|
+
};
|
|
2494
|
+
static types(): {
|
|
2495
|
+
[key: string]: any;
|
|
2496
|
+
};
|
|
2497
|
+
constructor(map?: {
|
|
2498
|
+
[key: string]: any;
|
|
2499
|
+
});
|
|
2500
|
+
}
|
|
2501
|
+
export declare class CreateInnerWithholdsignRequest extends $tea.Model {
|
|
2502
|
+
authToken?: string;
|
|
2503
|
+
productInstanceId?: string;
|
|
2504
|
+
merchantTenantId: string;
|
|
2505
|
+
orderId: string;
|
|
2506
|
+
alipayUserId?: string;
|
|
2507
|
+
static names(): {
|
|
2508
|
+
[key: string]: string;
|
|
2509
|
+
};
|
|
2510
|
+
static types(): {
|
|
2511
|
+
[key: string]: any;
|
|
2512
|
+
};
|
|
2513
|
+
constructor(map?: {
|
|
2514
|
+
[key: string]: any;
|
|
2515
|
+
});
|
|
2516
|
+
}
|
|
2517
|
+
export declare class CreateInnerWithholdsignResponse extends $tea.Model {
|
|
2518
|
+
reqMsgId?: string;
|
|
2519
|
+
resultCode?: string;
|
|
2520
|
+
resultMsg?: string;
|
|
2521
|
+
signStr?: string;
|
|
2522
|
+
static names(): {
|
|
2523
|
+
[key: string]: string;
|
|
2524
|
+
};
|
|
2525
|
+
static types(): {
|
|
2526
|
+
[key: string]: any;
|
|
2527
|
+
};
|
|
2528
|
+
constructor(map?: {
|
|
2529
|
+
[key: string]: any;
|
|
2530
|
+
});
|
|
2531
|
+
}
|
|
2532
|
+
export declare class QueryInnerWithholdsignRequest extends $tea.Model {
|
|
2533
|
+
authToken?: string;
|
|
2534
|
+
productInstanceId?: string;
|
|
2535
|
+
merchantTenantId: string;
|
|
2536
|
+
orderId: string;
|
|
2537
|
+
static names(): {
|
|
2538
|
+
[key: string]: string;
|
|
2539
|
+
};
|
|
2540
|
+
static types(): {
|
|
2541
|
+
[key: string]: any;
|
|
2542
|
+
};
|
|
2543
|
+
constructor(map?: {
|
|
2544
|
+
[key: string]: any;
|
|
2545
|
+
});
|
|
2546
|
+
}
|
|
2547
|
+
export declare class QueryInnerWithholdsignResponse extends $tea.Model {
|
|
2548
|
+
reqMsgId?: string;
|
|
2549
|
+
resultCode?: string;
|
|
2550
|
+
resultMsg?: string;
|
|
2551
|
+
status?: string;
|
|
2552
|
+
agreementNo?: string;
|
|
2553
|
+
signTime?: string;
|
|
2554
|
+
validTime?: string;
|
|
2555
|
+
invalidTime?: string;
|
|
2556
|
+
static names(): {
|
|
2557
|
+
[key: string]: string;
|
|
2558
|
+
};
|
|
2559
|
+
static types(): {
|
|
2560
|
+
[key: string]: any;
|
|
2561
|
+
};
|
|
2562
|
+
constructor(map?: {
|
|
2563
|
+
[key: string]: any;
|
|
2564
|
+
});
|
|
2565
|
+
}
|
|
2335
2566
|
export declare class RegisterMerchantexpandMerchantRequest extends $tea.Model {
|
|
2336
2567
|
authToken?: string;
|
|
2337
2568
|
productInstanceId?: string;
|
|
@@ -2528,11 +2759,10 @@ export declare class QueryRealpersonFacevrfResponse extends $tea.Model {
|
|
|
2528
2759
|
export declare class QueryRiskRequest extends $tea.Model {
|
|
2529
2760
|
authToken?: string;
|
|
2530
2761
|
productInstanceId?: string;
|
|
2531
|
-
|
|
2762
|
+
productName: string;
|
|
2532
2763
|
userName: string;
|
|
2533
2764
|
certNo: string;
|
|
2534
2765
|
mobile: string;
|
|
2535
|
-
ip?: string;
|
|
2536
2766
|
static names(): {
|
|
2537
2767
|
[key: string]: string;
|
|
2538
2768
|
};
|
|
@@ -2547,10 +2777,6 @@ export declare class QueryRiskResponse extends $tea.Model {
|
|
|
2547
2777
|
reqMsgId?: string;
|
|
2548
2778
|
resultCode?: string;
|
|
2549
2779
|
resultMsg?: string;
|
|
2550
|
-
securityId?: string;
|
|
2551
|
-
decision?: string;
|
|
2552
|
-
scenes?: RiskScene[];
|
|
2553
|
-
strategies?: RiskStrategy[];
|
|
2554
2780
|
models?: RiskModel[];
|
|
2555
2781
|
static names(): {
|
|
2556
2782
|
[key: string]: string;
|
|
@@ -2618,6 +2844,8 @@ export declare class SubmitSignFlowRequest extends $tea.Model {
|
|
|
2618
2844
|
merchantLegalName?: string;
|
|
2619
2845
|
merchantLegalIdNumber?: string;
|
|
2620
2846
|
thirdSigner?: string;
|
|
2847
|
+
userOpenId?: string;
|
|
2848
|
+
merchantAppId?: string;
|
|
2621
2849
|
static names(): {
|
|
2622
2850
|
[key: string]: string;
|
|
2623
2851
|
};
|
|
@@ -2740,6 +2968,8 @@ export declare class SubmitFrontSignRequest extends $tea.Model {
|
|
|
2740
2968
|
merchantLegalName?: string;
|
|
2741
2969
|
merchantLegalIdNumber?: string;
|
|
2742
2970
|
thirdSigner?: string;
|
|
2971
|
+
userOpenId?: string;
|
|
2972
|
+
merchantAppId?: string;
|
|
2743
2973
|
static names(): {
|
|
2744
2974
|
[key: string]: string;
|
|
2745
2975
|
};
|
|
@@ -3246,7 +3476,7 @@ export declare class SyncTradeIndirectorderResponse extends $tea.Model {
|
|
|
3246
3476
|
[key: string]: any;
|
|
3247
3477
|
});
|
|
3248
3478
|
}
|
|
3249
|
-
export declare class
|
|
3479
|
+
export declare class ReplaceTradeUserpromiseRequest extends $tea.Model {
|
|
3250
3480
|
authToken?: string;
|
|
3251
3481
|
productInstanceId?: string;
|
|
3252
3482
|
bizContent: string;
|
|
@@ -3262,7 +3492,7 @@ export declare class UpdateTradeUserpromisebatchRequest extends $tea.Model {
|
|
|
3262
3492
|
[key: string]: any;
|
|
3263
3493
|
});
|
|
3264
3494
|
}
|
|
3265
|
-
export declare class
|
|
3495
|
+
export declare class ReplaceTradeUserpromiseResponse extends $tea.Model {
|
|
3266
3496
|
reqMsgId?: string;
|
|
3267
3497
|
resultCode?: string;
|
|
3268
3498
|
resultMsg?: string;
|
|
@@ -3286,6 +3516,8 @@ export declare class CreateWithholdSignRequest extends $tea.Model {
|
|
|
3286
3516
|
alipayMerchantServiceDescription?: string;
|
|
3287
3517
|
alipayUserId?: string;
|
|
3288
3518
|
returnUrl?: string;
|
|
3519
|
+
userOpenId?: string;
|
|
3520
|
+
merchantAppId?: string;
|
|
3289
3521
|
static names(): {
|
|
3290
3522
|
[key: string]: string;
|
|
3291
3523
|
};
|
|
@@ -4459,6 +4691,90 @@ export default class Client {
|
|
|
4459
4691
|
retryInnerOrdermsgEx(request: RetryInnerOrdermsgRequest, headers: {
|
|
4460
4692
|
[key: string]: string;
|
|
4461
4693
|
}, runtime: $Util.RuntimeOptions): Promise<RetryInnerOrdermsgResponse>;
|
|
4694
|
+
/**
|
|
4695
|
+
* Description: 法务协议授权- 签署合同代扣前置授权查询接口
|
|
4696
|
+
* Summary: 签署合同代扣前置授权查询接口
|
|
4697
|
+
*/
|
|
4698
|
+
queryInnerAuthorization(request: QueryInnerAuthorizationRequest): Promise<QueryInnerAuthorizationResponse>;
|
|
4699
|
+
/**
|
|
4700
|
+
* Description: 法务协议授权- 签署合同代扣前置授权查询接口
|
|
4701
|
+
* Summary: 签署合同代扣前置授权查询接口
|
|
4702
|
+
*/
|
|
4703
|
+
queryInnerAuthorizationEx(request: QueryInnerAuthorizationRequest, headers: {
|
|
4704
|
+
[key: string]: string;
|
|
4705
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryInnerAuthorizationResponse>;
|
|
4706
|
+
/**
|
|
4707
|
+
* Description: 法务协议授权 - 签署合同代扣前置同意授权接口
|
|
4708
|
+
* Summary: 签署合同代扣前置同意授权接口
|
|
4709
|
+
*/
|
|
4710
|
+
signInnerAuthorization(request: SignInnerAuthorizationRequest): Promise<SignInnerAuthorizationResponse>;
|
|
4711
|
+
/**
|
|
4712
|
+
* Description: 法务协议授权 - 签署合同代扣前置同意授权接口
|
|
4713
|
+
* Summary: 签署合同代扣前置同意授权接口
|
|
4714
|
+
*/
|
|
4715
|
+
signInnerAuthorizationEx(request: SignInnerAuthorizationRequest, headers: {
|
|
4716
|
+
[key: string]: string;
|
|
4717
|
+
}, runtime: $Util.RuntimeOptions): Promise<SignInnerAuthorizationResponse>;
|
|
4718
|
+
/**
|
|
4719
|
+
* Description: 小程序法务授权 - 商户补充协议状态查询接口
|
|
4720
|
+
* Summary: 商户补充协议状态查询接口
|
|
4721
|
+
*/
|
|
4722
|
+
queryInnerSupplemental(request: QueryInnerSupplementalRequest): Promise<QueryInnerSupplementalResponse>;
|
|
4723
|
+
/**
|
|
4724
|
+
* Description: 小程序法务授权 - 商户补充协议状态查询接口
|
|
4725
|
+
* Summary: 商户补充协议状态查询接口
|
|
4726
|
+
*/
|
|
4727
|
+
queryInnerSupplementalEx(request: QueryInnerSupplementalRequest, headers: {
|
|
4728
|
+
[key: string]: string;
|
|
4729
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryInnerSupplementalResponse>;
|
|
4730
|
+
/**
|
|
4731
|
+
* Description: 法务协议授权 - 商户补充协议状态同意接口
|
|
4732
|
+
* Summary: 商户补充协议状态同意接口
|
|
4733
|
+
*/
|
|
4734
|
+
signInnerSupplemental(request: SignInnerSupplementalRequest): Promise<SignInnerSupplementalResponse>;
|
|
4735
|
+
/**
|
|
4736
|
+
* Description: 法务协议授权 - 商户补充协议状态同意接口
|
|
4737
|
+
* Summary: 商户补充协议状态同意接口
|
|
4738
|
+
*/
|
|
4739
|
+
signInnerSupplementalEx(request: SignInnerSupplementalRequest, headers: {
|
|
4740
|
+
[key: string]: string;
|
|
4741
|
+
}, runtime: $Util.RuntimeOptions): Promise<SignInnerSupplementalResponse>;
|
|
4742
|
+
/**
|
|
4743
|
+
* Description: 查询代扣计划
|
|
4744
|
+
* Summary: 代扣计划查询
|
|
4745
|
+
*/
|
|
4746
|
+
queryInnerWithholdplan(request: QueryInnerWithholdplanRequest): Promise<QueryInnerWithholdplanResponse>;
|
|
4747
|
+
/**
|
|
4748
|
+
* Description: 查询代扣计划
|
|
4749
|
+
* Summary: 代扣计划查询
|
|
4750
|
+
*/
|
|
4751
|
+
queryInnerWithholdplanEx(request: QueryInnerWithholdplanRequest, headers: {
|
|
4752
|
+
[key: string]: string;
|
|
4753
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryInnerWithholdplanResponse>;
|
|
4754
|
+
/**
|
|
4755
|
+
* Description: 创建代扣协议
|
|
4756
|
+
* Summary: 创建代扣协议
|
|
4757
|
+
*/
|
|
4758
|
+
createInnerWithholdsign(request: CreateInnerWithholdsignRequest): Promise<CreateInnerWithholdsignResponse>;
|
|
4759
|
+
/**
|
|
4760
|
+
* Description: 创建代扣协议
|
|
4761
|
+
* Summary: 创建代扣协议
|
|
4762
|
+
*/
|
|
4763
|
+
createInnerWithholdsignEx(request: CreateInnerWithholdsignRequest, headers: {
|
|
4764
|
+
[key: string]: string;
|
|
4765
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateInnerWithholdsignResponse>;
|
|
4766
|
+
/**
|
|
4767
|
+
* Description: 代扣签约查询
|
|
4768
|
+
* Summary: 代扣签约查询
|
|
4769
|
+
*/
|
|
4770
|
+
queryInnerWithholdsign(request: QueryInnerWithholdsignRequest): Promise<QueryInnerWithholdsignResponse>;
|
|
4771
|
+
/**
|
|
4772
|
+
* Description: 代扣签约查询
|
|
4773
|
+
* Summary: 代扣签约查询
|
|
4774
|
+
*/
|
|
4775
|
+
queryInnerWithholdsignEx(request: QueryInnerWithholdsignRequest, headers: {
|
|
4776
|
+
[key: string]: string;
|
|
4777
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryInnerWithholdsignResponse>;
|
|
4462
4778
|
/**
|
|
4463
4779
|
* Description: 商户入驻
|
|
4464
4780
|
* Summary: 商户入驻
|
|
@@ -4787,14 +5103,14 @@ export default class Client {
|
|
|
4787
5103
|
* Description: 用户履约承诺替换更新
|
|
4788
5104
|
* Summary: 用户履约承诺替换更新
|
|
4789
5105
|
*/
|
|
4790
|
-
|
|
5106
|
+
replaceTradeUserpromise(request: ReplaceTradeUserpromiseRequest): Promise<ReplaceTradeUserpromiseResponse>;
|
|
4791
5107
|
/**
|
|
4792
5108
|
* Description: 用户履约承诺替换更新
|
|
4793
5109
|
* Summary: 用户履约承诺替换更新
|
|
4794
5110
|
*/
|
|
4795
|
-
|
|
5111
|
+
replaceTradeUserpromiseEx(request: ReplaceTradeUserpromiseRequest, headers: {
|
|
4796
5112
|
[key: string]: string;
|
|
4797
|
-
}, runtime: $Util.RuntimeOptions): Promise<
|
|
5113
|
+
}, runtime: $Util.RuntimeOptions): Promise<ReplaceTradeUserpromiseResponse>;
|
|
4798
5114
|
/**
|
|
4799
5115
|
* Description: 代扣签约创建
|
|
4800
5116
|
* Summary: 代扣签约
|