@antchain/riskplus 1.19.20 → 1.19.21
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 +43 -0
- package/dist/client.js +65 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +87 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -10117,6 +10117,73 @@ export class QueryDubbridgeAgreementPreviewResponse extends $tea.Model {
|
|
|
10117
10117
|
}
|
|
10118
10118
|
}
|
|
10119
10119
|
|
|
10120
|
+
export class QueryDubbridgeAccountUsecreditRequest extends $tea.Model {
|
|
10121
|
+
// OAuth模式下的授权token
|
|
10122
|
+
authToken?: string;
|
|
10123
|
+
productInstanceId?: string;
|
|
10124
|
+
// 渠道号
|
|
10125
|
+
channelCode: string;
|
|
10126
|
+
// 客户编码
|
|
10127
|
+
customNo: string;
|
|
10128
|
+
// 资产方用户唯一标识
|
|
10129
|
+
openId: string;
|
|
10130
|
+
static names(): { [key: string]: string } {
|
|
10131
|
+
return {
|
|
10132
|
+
authToken: 'auth_token',
|
|
10133
|
+
productInstanceId: 'product_instance_id',
|
|
10134
|
+
channelCode: 'channel_code',
|
|
10135
|
+
customNo: 'custom_no',
|
|
10136
|
+
openId: 'open_id',
|
|
10137
|
+
};
|
|
10138
|
+
}
|
|
10139
|
+
|
|
10140
|
+
static types(): { [key: string]: any } {
|
|
10141
|
+
return {
|
|
10142
|
+
authToken: 'string',
|
|
10143
|
+
productInstanceId: 'string',
|
|
10144
|
+
channelCode: 'string',
|
|
10145
|
+
customNo: 'string',
|
|
10146
|
+
openId: 'string',
|
|
10147
|
+
};
|
|
10148
|
+
}
|
|
10149
|
+
|
|
10150
|
+
constructor(map?: { [key: string]: any }) {
|
|
10151
|
+
super(map);
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
|
|
10155
|
+
export class QueryDubbridgeAccountUsecreditResponse extends $tea.Model {
|
|
10156
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
10157
|
+
reqMsgId?: string;
|
|
10158
|
+
// 结果码,一般OK表示调用成功
|
|
10159
|
+
resultCode?: string;
|
|
10160
|
+
// 异常信息的文本描述
|
|
10161
|
+
resultMsg?: string;
|
|
10162
|
+
// 用户借款是否结清
|
|
10163
|
+
data?: CustomReceiptStatus;
|
|
10164
|
+
static names(): { [key: string]: string } {
|
|
10165
|
+
return {
|
|
10166
|
+
reqMsgId: 'req_msg_id',
|
|
10167
|
+
resultCode: 'result_code',
|
|
10168
|
+
resultMsg: 'result_msg',
|
|
10169
|
+
data: 'data',
|
|
10170
|
+
};
|
|
10171
|
+
}
|
|
10172
|
+
|
|
10173
|
+
static types(): { [key: string]: any } {
|
|
10174
|
+
return {
|
|
10175
|
+
reqMsgId: 'string',
|
|
10176
|
+
resultCode: 'string',
|
|
10177
|
+
resultMsg: 'string',
|
|
10178
|
+
data: CustomReceiptStatus,
|
|
10179
|
+
};
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
constructor(map?: { [key: string]: any }) {
|
|
10183
|
+
super(map);
|
|
10184
|
+
}
|
|
10185
|
+
}
|
|
10186
|
+
|
|
10120
10187
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
10121
10188
|
// OAuth模式下的授权token
|
|
10122
10189
|
authToken?: string;
|
|
@@ -19836,7 +19903,7 @@ export default class Client {
|
|
|
19836
19903
|
req_msg_id: AntchainUtil.getNonce(),
|
|
19837
19904
|
access_key: this._accessKeyId,
|
|
19838
19905
|
base_sdk_version: "TeaSDK-2.0",
|
|
19839
|
-
sdk_version: "1.19.
|
|
19906
|
+
sdk_version: "1.19.21",
|
|
19840
19907
|
_prod_code: "RISKPLUS",
|
|
19841
19908
|
_prod_channel: "undefined",
|
|
19842
19909
|
};
|
|
@@ -21178,6 +21245,25 @@ export default class Client {
|
|
|
21178
21245
|
return $tea.cast<QueryDubbridgeAgreementPreviewResponse>(await this.doRequest("1.0", "riskplus.dubbridge.agreement.preview.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAgreementPreviewResponse({}));
|
|
21179
21246
|
}
|
|
21180
21247
|
|
|
21248
|
+
/**
|
|
21249
|
+
* Description: 用户借款是否结清
|
|
21250
|
+
* Summary: 用户借款是否结清
|
|
21251
|
+
*/
|
|
21252
|
+
async queryDubbridgeAccountUsecredit(request: QueryDubbridgeAccountUsecreditRequest): Promise<QueryDubbridgeAccountUsecreditResponse> {
|
|
21253
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21254
|
+
let headers : {[key: string ]: string} = { };
|
|
21255
|
+
return await this.queryDubbridgeAccountUsecreditEx(request, headers, runtime);
|
|
21256
|
+
}
|
|
21257
|
+
|
|
21258
|
+
/**
|
|
21259
|
+
* Description: 用户借款是否结清
|
|
21260
|
+
* Summary: 用户借款是否结清
|
|
21261
|
+
*/
|
|
21262
|
+
async queryDubbridgeAccountUsecreditEx(request: QueryDubbridgeAccountUsecreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAccountUsecreditResponse> {
|
|
21263
|
+
Util.validateModel(request);
|
|
21264
|
+
return $tea.cast<QueryDubbridgeAccountUsecreditResponse>(await this.doRequest("1.0", "riskplus.dubbridge.account.usecredit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAccountUsecreditResponse({}));
|
|
21265
|
+
}
|
|
21266
|
+
|
|
21181
21267
|
/**
|
|
21182
21268
|
* Description: 四要素认证首先调用此接口
|
|
21183
21269
|
* Summary: 芝麻四要素接口
|