@antchain/realperson 1.22.0 → 1.22.5
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 +514 -0
- package/dist/client.js +968 -184
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1316 -141
package/src/client.ts
CHANGED
|
@@ -242,6 +242,56 @@ export class AudioMeta extends $tea.Model {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
// 分账退款信息
|
|
246
|
+
export class ShareRefundInfo extends $tea.Model {
|
|
247
|
+
// 商户id
|
|
248
|
+
merchantId?: string;
|
|
249
|
+
// 分账金额,整数、单位为分
|
|
250
|
+
amount?: string;
|
|
251
|
+
static names(): { [key: string]: string } {
|
|
252
|
+
return {
|
|
253
|
+
merchantId: 'merchant_id',
|
|
254
|
+
amount: 'amount',
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
static types(): { [key: string]: any } {
|
|
259
|
+
return {
|
|
260
|
+
merchantId: 'string',
|
|
261
|
+
amount: 'string',
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
constructor(map?: { [key: string]: any }) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// 分账信息
|
|
271
|
+
export class ShareInfo extends $tea.Model {
|
|
272
|
+
// 商户id
|
|
273
|
+
merchantId?: string;
|
|
274
|
+
// 分账金额,整数、单位为分
|
|
275
|
+
amount?: string;
|
|
276
|
+
static names(): { [key: string]: string } {
|
|
277
|
+
return {
|
|
278
|
+
merchantId: 'merchant_id',
|
|
279
|
+
amount: 'amount',
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
static types(): { [key: string]: any } {
|
|
284
|
+
return {
|
|
285
|
+
merchantId: 'string',
|
|
286
|
+
amount: 'string',
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
constructor(map?: { [key: string]: any }) {
|
|
291
|
+
super(map);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
245
295
|
// 音频文件
|
|
246
296
|
export class Audio extends $tea.Model {
|
|
247
297
|
// 音频文件名称(单次请求保持唯一)
|
|
@@ -5829,42 +5879,83 @@ export class QueryCarinfoBriefResponse extends $tea.Model {
|
|
|
5829
5879
|
}
|
|
5830
5880
|
}
|
|
5831
5881
|
|
|
5832
|
-
export class
|
|
5882
|
+
export class BindCutpaymentPreRequest extends $tea.Model {
|
|
5833
5883
|
// OAuth模式下的授权token
|
|
5834
5884
|
authToken?: string;
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
//
|
|
5840
|
-
|
|
5841
|
-
//
|
|
5842
|
-
|
|
5843
|
-
//
|
|
5844
|
-
|
|
5845
|
-
//
|
|
5846
|
-
|
|
5885
|
+
productInstanceId?: string;
|
|
5886
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
5887
|
+
outerOrderNo: string;
|
|
5888
|
+
// 入参加密模式:
|
|
5889
|
+
// "0"(默认值):不加密;
|
|
5890
|
+
// "6":AES加密
|
|
5891
|
+
// 默认为"0"
|
|
5892
|
+
encryptType?: string;
|
|
5893
|
+
// 加密密钥
|
|
5894
|
+
encryptToken?: string;
|
|
5895
|
+
// 用户id
|
|
5896
|
+
userId: string;
|
|
5897
|
+
// 银行卡类型
|
|
5898
|
+
// 0:借记卡
|
|
5899
|
+
// 1:信用卡
|
|
5900
|
+
cardType: string;
|
|
5901
|
+
// 银行卡属性
|
|
5902
|
+
// 0私人,1公司。不填时,默认为私人0
|
|
5903
|
+
cardPro?: string;
|
|
5904
|
+
// 银行卡卡号
|
|
5905
|
+
cardNo: string;
|
|
5906
|
+
// 证件类型
|
|
5907
|
+
// 0:身份证
|
|
5908
|
+
// 1:港澳居民居住证
|
|
5909
|
+
// 2:台湾居民居住证
|
|
5910
|
+
// 3:外国人永久居住证
|
|
5911
|
+
idCardType: string;
|
|
5912
|
+
// 持卡人姓名
|
|
5913
|
+
certName: string;
|
|
5914
|
+
// 证件号
|
|
5915
|
+
certNo: string;
|
|
5916
|
+
// 手机号
|
|
5917
|
+
mobile: string;
|
|
5918
|
+
// 银行卡安全码
|
|
5919
|
+
securityCode?: string;
|
|
5920
|
+
// 银行卡有期(格式为:YYMM)
|
|
5921
|
+
validDate?: string;
|
|
5847
5922
|
static names(): { [key: string]: string } {
|
|
5848
5923
|
return {
|
|
5849
5924
|
authToken: 'auth_token',
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5925
|
+
productInstanceId: 'product_instance_id',
|
|
5926
|
+
outerOrderNo: 'outer_order_no',
|
|
5927
|
+
encryptType: 'encrypt_type',
|
|
5928
|
+
encryptToken: 'encrypt_token',
|
|
5929
|
+
userId: 'user_id',
|
|
5930
|
+
cardType: 'card_type',
|
|
5931
|
+
cardPro: 'card_pro',
|
|
5932
|
+
cardNo: 'card_no',
|
|
5933
|
+
idCardType: 'id_card_type',
|
|
5934
|
+
certName: 'cert_name',
|
|
5935
|
+
certNo: 'cert_no',
|
|
5936
|
+
mobile: 'mobile',
|
|
5937
|
+
securityCode: 'security_code',
|
|
5938
|
+
validDate: 'valid_date',
|
|
5856
5939
|
};
|
|
5857
5940
|
}
|
|
5858
5941
|
|
|
5859
5942
|
static types(): { [key: string]: any } {
|
|
5860
5943
|
return {
|
|
5861
5944
|
authToken: 'string',
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5945
|
+
productInstanceId: 'string',
|
|
5946
|
+
outerOrderNo: 'string',
|
|
5947
|
+
encryptType: 'string',
|
|
5948
|
+
encryptToken: 'string',
|
|
5949
|
+
userId: 'string',
|
|
5950
|
+
cardType: 'string',
|
|
5951
|
+
cardPro: 'string',
|
|
5952
|
+
cardNo: 'string',
|
|
5953
|
+
idCardType: 'string',
|
|
5954
|
+
certName: 'string',
|
|
5955
|
+
certNo: 'string',
|
|
5956
|
+
mobile: 'string',
|
|
5957
|
+
securityCode: 'string',
|
|
5958
|
+
validDate: 'string',
|
|
5868
5959
|
};
|
|
5869
5960
|
}
|
|
5870
5961
|
|
|
@@ -5873,30 +5964,21 @@ export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
|
5873
5964
|
}
|
|
5874
5965
|
}
|
|
5875
5966
|
|
|
5876
|
-
export class
|
|
5967
|
+
export class BindCutpaymentPreResponse extends $tea.Model {
|
|
5877
5968
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5878
5969
|
reqMsgId?: string;
|
|
5879
5970
|
// 结果码,一般OK表示调用成功
|
|
5880
5971
|
resultCode?: string;
|
|
5881
5972
|
// 异常信息的文本描述
|
|
5882
5973
|
resultMsg?: string;
|
|
5883
|
-
//
|
|
5884
|
-
|
|
5885
|
-
// 32位文件唯一id
|
|
5886
|
-
fileId?: string;
|
|
5887
|
-
// 放入http请求头里
|
|
5888
|
-
uploadHeaders?: XNameValuePair[];
|
|
5889
|
-
// 文件上传地址
|
|
5890
|
-
uploadUrl?: string;
|
|
5974
|
+
// 预签约唯一码
|
|
5975
|
+
preBindSn?: string;
|
|
5891
5976
|
static names(): { [key: string]: string } {
|
|
5892
5977
|
return {
|
|
5893
5978
|
reqMsgId: 'req_msg_id',
|
|
5894
5979
|
resultCode: 'result_code',
|
|
5895
5980
|
resultMsg: 'result_msg',
|
|
5896
|
-
|
|
5897
|
-
fileId: 'file_id',
|
|
5898
|
-
uploadHeaders: 'upload_headers',
|
|
5899
|
-
uploadUrl: 'upload_url',
|
|
5981
|
+
preBindSn: 'pre_bind_sn',
|
|
5900
5982
|
};
|
|
5901
5983
|
}
|
|
5902
5984
|
|
|
@@ -5905,10 +5987,7 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
|
5905
5987
|
reqMsgId: 'string',
|
|
5906
5988
|
resultCode: 'string',
|
|
5907
5989
|
resultMsg: 'string',
|
|
5908
|
-
|
|
5909
|
-
fileId: 'string',
|
|
5910
|
-
uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
|
|
5911
|
-
uploadUrl: 'string',
|
|
5990
|
+
preBindSn: 'string',
|
|
5912
5991
|
};
|
|
5913
5992
|
}
|
|
5914
5993
|
|
|
@@ -5917,111 +5996,1017 @@ export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
|
5917
5996
|
}
|
|
5918
5997
|
}
|
|
5919
5998
|
|
|
5999
|
+
export class BindCutpaymentSignRequest extends $tea.Model {
|
|
6000
|
+
// OAuth模式下的授权token
|
|
6001
|
+
authToken?: string;
|
|
6002
|
+
productInstanceId?: string;
|
|
6003
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6004
|
+
outerOrderNo: string;
|
|
6005
|
+
// 入参加密模式:
|
|
6006
|
+
// "0"(默认值):不加密;
|
|
6007
|
+
// "6":AES加密
|
|
6008
|
+
// 默认为"0"
|
|
6009
|
+
encryptType?: string;
|
|
6010
|
+
// 加密密钥
|
|
6011
|
+
encryptToken?: string;
|
|
6012
|
+
// 用户id
|
|
6013
|
+
userId: string;
|
|
6014
|
+
// 预签约返回的预签约唯一码
|
|
6015
|
+
preBindSn: string;
|
|
6016
|
+
// 签约短信验证码
|
|
6017
|
+
smsCode: string;
|
|
6018
|
+
static names(): { [key: string]: string } {
|
|
6019
|
+
return {
|
|
6020
|
+
authToken: 'auth_token',
|
|
6021
|
+
productInstanceId: 'product_instance_id',
|
|
6022
|
+
outerOrderNo: 'outer_order_no',
|
|
6023
|
+
encryptType: 'encrypt_type',
|
|
6024
|
+
encryptToken: 'encrypt_token',
|
|
6025
|
+
userId: 'user_id',
|
|
6026
|
+
preBindSn: 'pre_bind_sn',
|
|
6027
|
+
smsCode: 'sms_code',
|
|
6028
|
+
};
|
|
6029
|
+
}
|
|
5920
6030
|
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
_socks5NetWork: string;
|
|
5934
|
-
_noProxy: string;
|
|
5935
|
-
_maxIdleConns: number;
|
|
5936
|
-
_securityToken: string;
|
|
5937
|
-
_maxIdleTimeMillis: number;
|
|
5938
|
-
_keepAliveDurationMillis: number;
|
|
5939
|
-
_maxRequests: number;
|
|
5940
|
-
_maxRequestsPerHost: number;
|
|
6031
|
+
static types(): { [key: string]: any } {
|
|
6032
|
+
return {
|
|
6033
|
+
authToken: 'string',
|
|
6034
|
+
productInstanceId: 'string',
|
|
6035
|
+
outerOrderNo: 'string',
|
|
6036
|
+
encryptType: 'string',
|
|
6037
|
+
encryptToken: 'string',
|
|
6038
|
+
userId: 'string',
|
|
6039
|
+
preBindSn: 'string',
|
|
6040
|
+
smsCode: 'string',
|
|
6041
|
+
};
|
|
6042
|
+
}
|
|
5941
6043
|
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
constructor(config: Config) {
|
|
5947
|
-
if (Util.isUnset(config)) {
|
|
5948
|
-
throw $tea.newError({
|
|
5949
|
-
code: "ParameterMissing",
|
|
5950
|
-
message: "'config' can not be unset",
|
|
5951
|
-
});
|
|
5952
|
-
}
|
|
6044
|
+
constructor(map?: { [key: string]: any }) {
|
|
6045
|
+
super(map);
|
|
6046
|
+
}
|
|
6047
|
+
}
|
|
5953
6048
|
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
6049
|
+
export class BindCutpaymentSignResponse extends $tea.Model {
|
|
6050
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6051
|
+
reqMsgId?: string;
|
|
6052
|
+
// 结果码,一般OK表示调用成功
|
|
6053
|
+
resultCode?: string;
|
|
6054
|
+
// 异常信息的文本描述
|
|
6055
|
+
resultMsg?: string;
|
|
6056
|
+
// 签约协议号
|
|
6057
|
+
protocolNo?: string;
|
|
6058
|
+
// 签约流水号
|
|
6059
|
+
signBindSn?: string;
|
|
6060
|
+
static names(): { [key: string]: string } {
|
|
6061
|
+
return {
|
|
6062
|
+
reqMsgId: 'req_msg_id',
|
|
6063
|
+
resultCode: 'result_code',
|
|
6064
|
+
resultMsg: 'result_msg',
|
|
6065
|
+
protocolNo: 'protocol_no',
|
|
6066
|
+
signBindSn: 'sign_bind_sn',
|
|
6067
|
+
};
|
|
5972
6068
|
}
|
|
5973
6069
|
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
*/
|
|
5984
|
-
async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
|
|
5985
|
-
let _runtime: { [key: string]: any } = {
|
|
5986
|
-
timeouted: "retry",
|
|
5987
|
-
readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
5988
|
-
connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
5989
|
-
httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
|
|
5990
|
-
httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
5991
|
-
noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
|
|
5992
|
-
maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
5993
|
-
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
5994
|
-
keepAliveDuration: this._keepAliveDurationMillis,
|
|
5995
|
-
maxRequests: this._maxRequests,
|
|
5996
|
-
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
5997
|
-
retry: {
|
|
5998
|
-
retryable: runtime.autoretry,
|
|
5999
|
-
maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
|
|
6000
|
-
},
|
|
6001
|
-
backoff: {
|
|
6002
|
-
policy: Util.defaultString(runtime.backoffPolicy, "no"),
|
|
6003
|
-
period: Util.defaultNumber(runtime.backoffPeriod, 1),
|
|
6004
|
-
},
|
|
6005
|
-
ignoreSSL: runtime.ignoreSSL,
|
|
6006
|
-
}
|
|
6070
|
+
static types(): { [key: string]: any } {
|
|
6071
|
+
return {
|
|
6072
|
+
reqMsgId: 'string',
|
|
6073
|
+
resultCode: 'string',
|
|
6074
|
+
resultMsg: 'string',
|
|
6075
|
+
protocolNo: 'string',
|
|
6076
|
+
signBindSn: 'string',
|
|
6077
|
+
};
|
|
6078
|
+
}
|
|
6007
6079
|
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
if (_retryTimes > 0) {
|
|
6013
|
-
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
6014
|
-
if (_backoffTime > 0) {
|
|
6015
|
-
await $tea.sleep(_backoffTime);
|
|
6016
|
-
}
|
|
6017
|
-
}
|
|
6080
|
+
constructor(map?: { [key: string]: any }) {
|
|
6081
|
+
super(map);
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6018
6084
|
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6085
|
+
export class UnbindCutpaymentSignRequest extends $tea.Model {
|
|
6086
|
+
// OAuth模式下的授权token
|
|
6087
|
+
authToken?: string;
|
|
6088
|
+
productInstanceId?: string;
|
|
6089
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6090
|
+
outerOrderNo: string;
|
|
6091
|
+
// 入参加密模式:
|
|
6092
|
+
// "0"(默认值):不加密;
|
|
6093
|
+
// "6":AES加密
|
|
6094
|
+
// 默认为"0"
|
|
6095
|
+
encryptType?: string;
|
|
6096
|
+
// 加密密钥
|
|
6097
|
+
encryptToken?: string;
|
|
6098
|
+
// 用户在商户平台唯一ID
|
|
6099
|
+
userId: string;
|
|
6100
|
+
// 签约协议号
|
|
6101
|
+
protocolNo: string;
|
|
6102
|
+
static names(): { [key: string]: string } {
|
|
6103
|
+
return {
|
|
6104
|
+
authToken: 'auth_token',
|
|
6105
|
+
productInstanceId: 'product_instance_id',
|
|
6106
|
+
outerOrderNo: 'outer_order_no',
|
|
6107
|
+
encryptType: 'encrypt_type',
|
|
6108
|
+
encryptToken: 'encrypt_token',
|
|
6109
|
+
userId: 'user_id',
|
|
6110
|
+
protocolNo: 'protocol_no',
|
|
6111
|
+
};
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
static types(): { [key: string]: any } {
|
|
6115
|
+
return {
|
|
6116
|
+
authToken: 'string',
|
|
6117
|
+
productInstanceId: 'string',
|
|
6118
|
+
outerOrderNo: 'string',
|
|
6119
|
+
encryptType: 'string',
|
|
6120
|
+
encryptToken: 'string',
|
|
6121
|
+
userId: 'string',
|
|
6122
|
+
protocolNo: 'string',
|
|
6123
|
+
};
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
constructor(map?: { [key: string]: any }) {
|
|
6127
|
+
super(map);
|
|
6128
|
+
}
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
export class UnbindCutpaymentSignResponse extends $tea.Model {
|
|
6132
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6133
|
+
reqMsgId?: string;
|
|
6134
|
+
// 结果码,一般OK表示调用成功
|
|
6135
|
+
resultCode?: string;
|
|
6136
|
+
// 异常信息的文本描述
|
|
6137
|
+
resultMsg?: string;
|
|
6138
|
+
// 解绑流水号
|
|
6139
|
+
unbindSn?: string;
|
|
6140
|
+
static names(): { [key: string]: string } {
|
|
6141
|
+
return {
|
|
6142
|
+
reqMsgId: 'req_msg_id',
|
|
6143
|
+
resultCode: 'result_code',
|
|
6144
|
+
resultMsg: 'result_msg',
|
|
6145
|
+
unbindSn: 'unbind_sn',
|
|
6146
|
+
};
|
|
6147
|
+
}
|
|
6148
|
+
|
|
6149
|
+
static types(): { [key: string]: any } {
|
|
6150
|
+
return {
|
|
6151
|
+
reqMsgId: 'string',
|
|
6152
|
+
resultCode: 'string',
|
|
6153
|
+
resultMsg: 'string',
|
|
6154
|
+
unbindSn: 'string',
|
|
6155
|
+
};
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6158
|
+
constructor(map?: { [key: string]: any }) {
|
|
6159
|
+
super(map);
|
|
6160
|
+
}
|
|
6161
|
+
}
|
|
6162
|
+
|
|
6163
|
+
export class QueryCutpaymentBindRequest extends $tea.Model {
|
|
6164
|
+
// OAuth模式下的授权token
|
|
6165
|
+
authToken?: string;
|
|
6166
|
+
productInstanceId?: string;
|
|
6167
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6168
|
+
outerOrderNo: string;
|
|
6169
|
+
// 入参加密模式:
|
|
6170
|
+
// "0"(默认值):不加密;
|
|
6171
|
+
// "6":AES加密
|
|
6172
|
+
// 默认为"0"
|
|
6173
|
+
encryptType?: string;
|
|
6174
|
+
// 加密密钥
|
|
6175
|
+
encryptToken?: string;
|
|
6176
|
+
// 用户id
|
|
6177
|
+
userId: string;
|
|
6178
|
+
// 银行卡卡号
|
|
6179
|
+
cardNo: string;
|
|
6180
|
+
// 签约流水号
|
|
6181
|
+
signBindSn: string;
|
|
6182
|
+
static names(): { [key: string]: string } {
|
|
6183
|
+
return {
|
|
6184
|
+
authToken: 'auth_token',
|
|
6185
|
+
productInstanceId: 'product_instance_id',
|
|
6186
|
+
outerOrderNo: 'outer_order_no',
|
|
6187
|
+
encryptType: 'encrypt_type',
|
|
6188
|
+
encryptToken: 'encrypt_token',
|
|
6189
|
+
userId: 'user_id',
|
|
6190
|
+
cardNo: 'card_no',
|
|
6191
|
+
signBindSn: 'sign_bind_sn',
|
|
6192
|
+
};
|
|
6193
|
+
}
|
|
6194
|
+
|
|
6195
|
+
static types(): { [key: string]: any } {
|
|
6196
|
+
return {
|
|
6197
|
+
authToken: 'string',
|
|
6198
|
+
productInstanceId: 'string',
|
|
6199
|
+
outerOrderNo: 'string',
|
|
6200
|
+
encryptType: 'string',
|
|
6201
|
+
encryptToken: 'string',
|
|
6202
|
+
userId: 'string',
|
|
6203
|
+
cardNo: 'string',
|
|
6204
|
+
signBindSn: 'string',
|
|
6205
|
+
};
|
|
6206
|
+
}
|
|
6207
|
+
|
|
6208
|
+
constructor(map?: { [key: string]: any }) {
|
|
6209
|
+
super(map);
|
|
6210
|
+
}
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
export class QueryCutpaymentBindResponse extends $tea.Model {
|
|
6214
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6215
|
+
reqMsgId?: string;
|
|
6216
|
+
// 结果码,一般OK表示调用成功
|
|
6217
|
+
resultCode?: string;
|
|
6218
|
+
// 异常信息的文本描述
|
|
6219
|
+
resultMsg?: string;
|
|
6220
|
+
// 签约协议号
|
|
6221
|
+
protocolNo?: string;
|
|
6222
|
+
// 银行编码
|
|
6223
|
+
bankCode?: string;
|
|
6224
|
+
// 银行卡号
|
|
6225
|
+
bankCard?: string;
|
|
6226
|
+
// 用户id
|
|
6227
|
+
userId?: string;
|
|
6228
|
+
static names(): { [key: string]: string } {
|
|
6229
|
+
return {
|
|
6230
|
+
reqMsgId: 'req_msg_id',
|
|
6231
|
+
resultCode: 'result_code',
|
|
6232
|
+
resultMsg: 'result_msg',
|
|
6233
|
+
protocolNo: 'protocol_no',
|
|
6234
|
+
bankCode: 'bank_code',
|
|
6235
|
+
bankCard: 'bank_card',
|
|
6236
|
+
userId: 'user_id',
|
|
6237
|
+
};
|
|
6238
|
+
}
|
|
6239
|
+
|
|
6240
|
+
static types(): { [key: string]: any } {
|
|
6241
|
+
return {
|
|
6242
|
+
reqMsgId: 'string',
|
|
6243
|
+
resultCode: 'string',
|
|
6244
|
+
resultMsg: 'string',
|
|
6245
|
+
protocolNo: 'string',
|
|
6246
|
+
bankCode: 'string',
|
|
6247
|
+
bankCard: 'string',
|
|
6248
|
+
userId: 'string',
|
|
6249
|
+
};
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6252
|
+
constructor(map?: { [key: string]: any }) {
|
|
6253
|
+
super(map);
|
|
6254
|
+
}
|
|
6255
|
+
}
|
|
6256
|
+
|
|
6257
|
+
export class ApplyCutpaymentPaymentRequest extends $tea.Model {
|
|
6258
|
+
// OAuth模式下的授权token
|
|
6259
|
+
authToken?: string;
|
|
6260
|
+
productInstanceId?: string;
|
|
6261
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6262
|
+
outerOrderNo: string;
|
|
6263
|
+
// 入参加密模式:
|
|
6264
|
+
// "0"(默认值):不加密;
|
|
6265
|
+
// "6":AES加密
|
|
6266
|
+
// 默认为"0"
|
|
6267
|
+
encryptType?: string;
|
|
6268
|
+
// 加密密钥
|
|
6269
|
+
encryptToken?: string;
|
|
6270
|
+
// 支付订单id
|
|
6271
|
+
transId: string;
|
|
6272
|
+
// 签约协议号
|
|
6273
|
+
protocolNo: string;
|
|
6274
|
+
// 银行卡卡号
|
|
6275
|
+
cardNo: string;
|
|
6276
|
+
// 用户姓名
|
|
6277
|
+
certName: string;
|
|
6278
|
+
// 交易金额,整数,单位:分
|
|
6279
|
+
txnAmt: string;
|
|
6280
|
+
// 用户id
|
|
6281
|
+
userId: string;
|
|
6282
|
+
// 安全码
|
|
6283
|
+
securityCode?: string;
|
|
6284
|
+
// 有效期
|
|
6285
|
+
validDate?: string;
|
|
6286
|
+
// 分账信息
|
|
6287
|
+
shareInfo?: ShareInfo[];
|
|
6288
|
+
static names(): { [key: string]: string } {
|
|
6289
|
+
return {
|
|
6290
|
+
authToken: 'auth_token',
|
|
6291
|
+
productInstanceId: 'product_instance_id',
|
|
6292
|
+
outerOrderNo: 'outer_order_no',
|
|
6293
|
+
encryptType: 'encrypt_type',
|
|
6294
|
+
encryptToken: 'encrypt_token',
|
|
6295
|
+
transId: 'trans_id',
|
|
6296
|
+
protocolNo: 'protocol_no',
|
|
6297
|
+
cardNo: 'card_no',
|
|
6298
|
+
certName: 'cert_name',
|
|
6299
|
+
txnAmt: 'txn_amt',
|
|
6300
|
+
userId: 'user_id',
|
|
6301
|
+
securityCode: 'security_code',
|
|
6302
|
+
validDate: 'valid_date',
|
|
6303
|
+
shareInfo: 'share_info',
|
|
6304
|
+
};
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
static types(): { [key: string]: any } {
|
|
6308
|
+
return {
|
|
6309
|
+
authToken: 'string',
|
|
6310
|
+
productInstanceId: 'string',
|
|
6311
|
+
outerOrderNo: 'string',
|
|
6312
|
+
encryptType: 'string',
|
|
6313
|
+
encryptToken: 'string',
|
|
6314
|
+
transId: 'string',
|
|
6315
|
+
protocolNo: 'string',
|
|
6316
|
+
cardNo: 'string',
|
|
6317
|
+
certName: 'string',
|
|
6318
|
+
txnAmt: 'string',
|
|
6319
|
+
userId: 'string',
|
|
6320
|
+
securityCode: 'string',
|
|
6321
|
+
validDate: 'string',
|
|
6322
|
+
shareInfo: { 'type': 'array', 'itemType': ShareInfo },
|
|
6323
|
+
};
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
constructor(map?: { [key: string]: any }) {
|
|
6327
|
+
super(map);
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6330
|
+
|
|
6331
|
+
export class ApplyCutpaymentPaymentResponse extends $tea.Model {
|
|
6332
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6333
|
+
reqMsgId?: string;
|
|
6334
|
+
// 结果码,一般OK表示调用成功
|
|
6335
|
+
resultCode?: string;
|
|
6336
|
+
// 异常信息的文本描述
|
|
6337
|
+
resultMsg?: string;
|
|
6338
|
+
// 成功金额,整数,单位:分
|
|
6339
|
+
succAmt?: string;
|
|
6340
|
+
// 支付成功时间,yyyy-MM-dd HH:mm:ss
|
|
6341
|
+
succTime?: string;
|
|
6342
|
+
// 平台订单号
|
|
6343
|
+
orderId?: string;
|
|
6344
|
+
// 商户订单号
|
|
6345
|
+
transId?: string;
|
|
6346
|
+
static names(): { [key: string]: string } {
|
|
6347
|
+
return {
|
|
6348
|
+
reqMsgId: 'req_msg_id',
|
|
6349
|
+
resultCode: 'result_code',
|
|
6350
|
+
resultMsg: 'result_msg',
|
|
6351
|
+
succAmt: 'succ_amt',
|
|
6352
|
+
succTime: 'succ_time',
|
|
6353
|
+
orderId: 'order_id',
|
|
6354
|
+
transId: 'trans_id',
|
|
6355
|
+
};
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6358
|
+
static types(): { [key: string]: any } {
|
|
6359
|
+
return {
|
|
6360
|
+
reqMsgId: 'string',
|
|
6361
|
+
resultCode: 'string',
|
|
6362
|
+
resultMsg: 'string',
|
|
6363
|
+
succAmt: 'string',
|
|
6364
|
+
succTime: 'string',
|
|
6365
|
+
orderId: 'string',
|
|
6366
|
+
transId: 'string',
|
|
6367
|
+
};
|
|
6368
|
+
}
|
|
6369
|
+
|
|
6370
|
+
constructor(map?: { [key: string]: any }) {
|
|
6371
|
+
super(map);
|
|
6372
|
+
}
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
export class QueryCutpaymentPaymentRequest extends $tea.Model {
|
|
6376
|
+
// OAuth模式下的授权token
|
|
6377
|
+
authToken?: string;
|
|
6378
|
+
productInstanceId?: string;
|
|
6379
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6380
|
+
outerOrderNo: string;
|
|
6381
|
+
// 入参加密模式:
|
|
6382
|
+
// "0"(默认值):不加密;
|
|
6383
|
+
// "6":AES加密
|
|
6384
|
+
// 默认为"0"
|
|
6385
|
+
encryptType?: string;
|
|
6386
|
+
// 加密密钥
|
|
6387
|
+
encryptToken?: string;
|
|
6388
|
+
// 签约协议号
|
|
6389
|
+
protocolNo: string;
|
|
6390
|
+
// 支付交易商户订单号
|
|
6391
|
+
transId: string;
|
|
6392
|
+
// 交易日期yyyy-MM-dd HH:mm:ss
|
|
6393
|
+
origTradeDate: string;
|
|
6394
|
+
// 用户id
|
|
6395
|
+
userId: string;
|
|
6396
|
+
static names(): { [key: string]: string } {
|
|
6397
|
+
return {
|
|
6398
|
+
authToken: 'auth_token',
|
|
6399
|
+
productInstanceId: 'product_instance_id',
|
|
6400
|
+
outerOrderNo: 'outer_order_no',
|
|
6401
|
+
encryptType: 'encrypt_type',
|
|
6402
|
+
encryptToken: 'encrypt_token',
|
|
6403
|
+
protocolNo: 'protocol_no',
|
|
6404
|
+
transId: 'trans_id',
|
|
6405
|
+
origTradeDate: 'orig_trade_date',
|
|
6406
|
+
userId: 'user_id',
|
|
6407
|
+
};
|
|
6408
|
+
}
|
|
6409
|
+
|
|
6410
|
+
static types(): { [key: string]: any } {
|
|
6411
|
+
return {
|
|
6412
|
+
authToken: 'string',
|
|
6413
|
+
productInstanceId: 'string',
|
|
6414
|
+
outerOrderNo: 'string',
|
|
6415
|
+
encryptType: 'string',
|
|
6416
|
+
encryptToken: 'string',
|
|
6417
|
+
protocolNo: 'string',
|
|
6418
|
+
transId: 'string',
|
|
6419
|
+
origTradeDate: 'string',
|
|
6420
|
+
userId: 'string',
|
|
6421
|
+
};
|
|
6422
|
+
}
|
|
6423
|
+
|
|
6424
|
+
constructor(map?: { [key: string]: any }) {
|
|
6425
|
+
super(map);
|
|
6426
|
+
}
|
|
6427
|
+
}
|
|
6428
|
+
|
|
6429
|
+
export class QueryCutpaymentPaymentResponse extends $tea.Model {
|
|
6430
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6431
|
+
reqMsgId?: string;
|
|
6432
|
+
// 结果码,一般OK表示调用成功
|
|
6433
|
+
resultCode?: string;
|
|
6434
|
+
// 异常信息的文本描述
|
|
6435
|
+
resultMsg?: string;
|
|
6436
|
+
// 成功金额,整数,单位:分
|
|
6437
|
+
succAmt?: string;
|
|
6438
|
+
// 支付成功时间,yyyy-MM-dd HH:mm:ss
|
|
6439
|
+
succTime?: string;
|
|
6440
|
+
// 平台订单号
|
|
6441
|
+
orderId?: string;
|
|
6442
|
+
// 商户订单号
|
|
6443
|
+
transId?: string;
|
|
6444
|
+
// 订单状态
|
|
6445
|
+
orderState?: string;
|
|
6446
|
+
// 分账状态
|
|
6447
|
+
shareState?: string;
|
|
6448
|
+
static names(): { [key: string]: string } {
|
|
6449
|
+
return {
|
|
6450
|
+
reqMsgId: 'req_msg_id',
|
|
6451
|
+
resultCode: 'result_code',
|
|
6452
|
+
resultMsg: 'result_msg',
|
|
6453
|
+
succAmt: 'succ_amt',
|
|
6454
|
+
succTime: 'succ_time',
|
|
6455
|
+
orderId: 'order_id',
|
|
6456
|
+
transId: 'trans_id',
|
|
6457
|
+
orderState: 'order_state',
|
|
6458
|
+
shareState: 'share_state',
|
|
6459
|
+
};
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
static types(): { [key: string]: any } {
|
|
6463
|
+
return {
|
|
6464
|
+
reqMsgId: 'string',
|
|
6465
|
+
resultCode: 'string',
|
|
6466
|
+
resultMsg: 'string',
|
|
6467
|
+
succAmt: 'string',
|
|
6468
|
+
succTime: 'string',
|
|
6469
|
+
orderId: 'string',
|
|
6470
|
+
transId: 'string',
|
|
6471
|
+
orderState: 'string',
|
|
6472
|
+
shareState: 'string',
|
|
6473
|
+
};
|
|
6474
|
+
}
|
|
6475
|
+
|
|
6476
|
+
constructor(map?: { [key: string]: any }) {
|
|
6477
|
+
super(map);
|
|
6478
|
+
}
|
|
6479
|
+
}
|
|
6480
|
+
|
|
6481
|
+
export class ApplyCutpaymentRefundRequest extends $tea.Model {
|
|
6482
|
+
// OAuth模式下的授权token
|
|
6483
|
+
authToken?: string;
|
|
6484
|
+
productInstanceId?: string;
|
|
6485
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6486
|
+
outerOrderNo: string;
|
|
6487
|
+
// 入参加密模式:
|
|
6488
|
+
// "0"(默认值):不加密;
|
|
6489
|
+
// "6":AES加密
|
|
6490
|
+
// 默认为"0"
|
|
6491
|
+
encryptType?: string;
|
|
6492
|
+
// 加密密钥
|
|
6493
|
+
encryptToken?: string;
|
|
6494
|
+
// 原支付商户订单号
|
|
6495
|
+
paymentTransId: string;
|
|
6496
|
+
// 签约协议号
|
|
6497
|
+
protocolNo: string;
|
|
6498
|
+
// 退款商户订单号
|
|
6499
|
+
refundTransId: string;
|
|
6500
|
+
// 用户id
|
|
6501
|
+
userId: string;
|
|
6502
|
+
// 退款商户流水号
|
|
6503
|
+
refundSerialNo: string;
|
|
6504
|
+
// 退款原因
|
|
6505
|
+
refundReason: string;
|
|
6506
|
+
// 退款金额,整数,单位:分
|
|
6507
|
+
refundAmt: string;
|
|
6508
|
+
// 分账退款信息
|
|
6509
|
+
shareRefundInfo?: ShareRefundInfo[];
|
|
6510
|
+
static names(): { [key: string]: string } {
|
|
6511
|
+
return {
|
|
6512
|
+
authToken: 'auth_token',
|
|
6513
|
+
productInstanceId: 'product_instance_id',
|
|
6514
|
+
outerOrderNo: 'outer_order_no',
|
|
6515
|
+
encryptType: 'encrypt_type',
|
|
6516
|
+
encryptToken: 'encrypt_token',
|
|
6517
|
+
paymentTransId: 'payment_trans_id',
|
|
6518
|
+
protocolNo: 'protocol_no',
|
|
6519
|
+
refundTransId: 'refund_trans_id',
|
|
6520
|
+
userId: 'user_id',
|
|
6521
|
+
refundSerialNo: 'refund_serial_no',
|
|
6522
|
+
refundReason: 'refund_reason',
|
|
6523
|
+
refundAmt: 'refund_amt',
|
|
6524
|
+
shareRefundInfo: 'share_refund_info',
|
|
6525
|
+
};
|
|
6526
|
+
}
|
|
6527
|
+
|
|
6528
|
+
static types(): { [key: string]: any } {
|
|
6529
|
+
return {
|
|
6530
|
+
authToken: 'string',
|
|
6531
|
+
productInstanceId: 'string',
|
|
6532
|
+
outerOrderNo: 'string',
|
|
6533
|
+
encryptType: 'string',
|
|
6534
|
+
encryptToken: 'string',
|
|
6535
|
+
paymentTransId: 'string',
|
|
6536
|
+
protocolNo: 'string',
|
|
6537
|
+
refundTransId: 'string',
|
|
6538
|
+
userId: 'string',
|
|
6539
|
+
refundSerialNo: 'string',
|
|
6540
|
+
refundReason: 'string',
|
|
6541
|
+
refundAmt: 'string',
|
|
6542
|
+
shareRefundInfo: { 'type': 'array', 'itemType': ShareRefundInfo },
|
|
6543
|
+
};
|
|
6544
|
+
}
|
|
6545
|
+
|
|
6546
|
+
constructor(map?: { [key: string]: any }) {
|
|
6547
|
+
super(map);
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
|
|
6551
|
+
export class ApplyCutpaymentRefundResponse extends $tea.Model {
|
|
6552
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6553
|
+
reqMsgId?: string;
|
|
6554
|
+
// 结果码,一般OK表示调用成功
|
|
6555
|
+
resultCode?: string;
|
|
6556
|
+
// 异常信息的文本描述
|
|
6557
|
+
resultMsg?: string;
|
|
6558
|
+
// 退款商户订单号
|
|
6559
|
+
refundTransId?: string;
|
|
6560
|
+
// 退款商户流水号
|
|
6561
|
+
refundSerialNo?: string;
|
|
6562
|
+
// 退款金额,单位:分 整数
|
|
6563
|
+
refundAmt?: string;
|
|
6564
|
+
static names(): { [key: string]: string } {
|
|
6565
|
+
return {
|
|
6566
|
+
reqMsgId: 'req_msg_id',
|
|
6567
|
+
resultCode: 'result_code',
|
|
6568
|
+
resultMsg: 'result_msg',
|
|
6569
|
+
refundTransId: 'refund_trans_id',
|
|
6570
|
+
refundSerialNo: 'refund_serial_no',
|
|
6571
|
+
refundAmt: 'refund_amt',
|
|
6572
|
+
};
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6575
|
+
static types(): { [key: string]: any } {
|
|
6576
|
+
return {
|
|
6577
|
+
reqMsgId: 'string',
|
|
6578
|
+
resultCode: 'string',
|
|
6579
|
+
resultMsg: 'string',
|
|
6580
|
+
refundTransId: 'string',
|
|
6581
|
+
refundSerialNo: 'string',
|
|
6582
|
+
refundAmt: 'string',
|
|
6583
|
+
};
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6586
|
+
constructor(map?: { [key: string]: any }) {
|
|
6587
|
+
super(map);
|
|
6588
|
+
}
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
export class QueryCutpaymentRefundRequest extends $tea.Model {
|
|
6592
|
+
// OAuth模式下的授权token
|
|
6593
|
+
authToken?: string;
|
|
6594
|
+
productInstanceId?: string;
|
|
6595
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6596
|
+
outerOrderNo: string;
|
|
6597
|
+
// 入参加密模式:
|
|
6598
|
+
// "0"(默认值):不加密;
|
|
6599
|
+
// "6":AES加密
|
|
6600
|
+
// 默认为"0"
|
|
6601
|
+
encryptType?: string;
|
|
6602
|
+
// 加密密钥
|
|
6603
|
+
encryptToken?: string;
|
|
6604
|
+
// 用户id
|
|
6605
|
+
userId: string;
|
|
6606
|
+
// 签约协议号
|
|
6607
|
+
protocolNo: string;
|
|
6608
|
+
// 退款商户订单号
|
|
6609
|
+
refundTransId: string;
|
|
6610
|
+
// 退款商户流水号
|
|
6611
|
+
refundSerialNo: string;
|
|
6612
|
+
static names(): { [key: string]: string } {
|
|
6613
|
+
return {
|
|
6614
|
+
authToken: 'auth_token',
|
|
6615
|
+
productInstanceId: 'product_instance_id',
|
|
6616
|
+
outerOrderNo: 'outer_order_no',
|
|
6617
|
+
encryptType: 'encrypt_type',
|
|
6618
|
+
encryptToken: 'encrypt_token',
|
|
6619
|
+
userId: 'user_id',
|
|
6620
|
+
protocolNo: 'protocol_no',
|
|
6621
|
+
refundTransId: 'refund_trans_id',
|
|
6622
|
+
refundSerialNo: 'refund_serial_no',
|
|
6623
|
+
};
|
|
6624
|
+
}
|
|
6625
|
+
|
|
6626
|
+
static types(): { [key: string]: any } {
|
|
6627
|
+
return {
|
|
6628
|
+
authToken: 'string',
|
|
6629
|
+
productInstanceId: 'string',
|
|
6630
|
+
outerOrderNo: 'string',
|
|
6631
|
+
encryptType: 'string',
|
|
6632
|
+
encryptToken: 'string',
|
|
6633
|
+
userId: 'string',
|
|
6634
|
+
protocolNo: 'string',
|
|
6635
|
+
refundTransId: 'string',
|
|
6636
|
+
refundSerialNo: 'string',
|
|
6637
|
+
};
|
|
6638
|
+
}
|
|
6639
|
+
|
|
6640
|
+
constructor(map?: { [key: string]: any }) {
|
|
6641
|
+
super(map);
|
|
6642
|
+
}
|
|
6643
|
+
}
|
|
6644
|
+
|
|
6645
|
+
export class QueryCutpaymentRefundResponse extends $tea.Model {
|
|
6646
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6647
|
+
reqMsgId?: string;
|
|
6648
|
+
// 结果码,一般OK表示调用成功
|
|
6649
|
+
resultCode?: string;
|
|
6650
|
+
// 异常信息的文本描述
|
|
6651
|
+
resultMsg?: string;
|
|
6652
|
+
// 成功退款金额,整数,单位:分
|
|
6653
|
+
refundAmt?: string;
|
|
6654
|
+
static names(): { [key: string]: string } {
|
|
6655
|
+
return {
|
|
6656
|
+
reqMsgId: 'req_msg_id',
|
|
6657
|
+
resultCode: 'result_code',
|
|
6658
|
+
resultMsg: 'result_msg',
|
|
6659
|
+
refundAmt: 'refund_amt',
|
|
6660
|
+
};
|
|
6661
|
+
}
|
|
6662
|
+
|
|
6663
|
+
static types(): { [key: string]: any } {
|
|
6664
|
+
return {
|
|
6665
|
+
reqMsgId: 'string',
|
|
6666
|
+
resultCode: 'string',
|
|
6667
|
+
resultMsg: 'string',
|
|
6668
|
+
refundAmt: 'string',
|
|
6669
|
+
};
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
constructor(map?: { [key: string]: any }) {
|
|
6673
|
+
super(map);
|
|
6674
|
+
}
|
|
6675
|
+
}
|
|
6676
|
+
|
|
6677
|
+
export class QueryCutpaymentStatementRequest extends $tea.Model {
|
|
6678
|
+
// OAuth模式下的授权token
|
|
6679
|
+
authToken?: string;
|
|
6680
|
+
productInstanceId?: string;
|
|
6681
|
+
// 请求ID,为32位以内的字母数字组合,由调用方自行生成、保证唯一并留存,以便问题定位和授权核查。
|
|
6682
|
+
outerOrderNo: string;
|
|
6683
|
+
// 对账单日期,格式:yyyy-mm-dd
|
|
6684
|
+
// 使用入参加密模式加密
|
|
6685
|
+
settleDate: string;
|
|
6686
|
+
static names(): { [key: string]: string } {
|
|
6687
|
+
return {
|
|
6688
|
+
authToken: 'auth_token',
|
|
6689
|
+
productInstanceId: 'product_instance_id',
|
|
6690
|
+
outerOrderNo: 'outer_order_no',
|
|
6691
|
+
settleDate: 'settle_date',
|
|
6692
|
+
};
|
|
6693
|
+
}
|
|
6694
|
+
|
|
6695
|
+
static types(): { [key: string]: any } {
|
|
6696
|
+
return {
|
|
6697
|
+
authToken: 'string',
|
|
6698
|
+
productInstanceId: 'string',
|
|
6699
|
+
outerOrderNo: 'string',
|
|
6700
|
+
settleDate: 'string',
|
|
6701
|
+
};
|
|
6702
|
+
}
|
|
6703
|
+
|
|
6704
|
+
constructor(map?: { [key: string]: any }) {
|
|
6705
|
+
super(map);
|
|
6706
|
+
}
|
|
6707
|
+
}
|
|
6708
|
+
|
|
6709
|
+
export class QueryCutpaymentStatementResponse extends $tea.Model {
|
|
6710
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6711
|
+
reqMsgId?: string;
|
|
6712
|
+
// 结果码,一般OK表示调用成功
|
|
6713
|
+
resultCode?: string;
|
|
6714
|
+
// 异常信息的文本描述
|
|
6715
|
+
resultMsg?: string;
|
|
6716
|
+
// 对账单临时下载,转成txt输出格式,1个小时有效期
|
|
6717
|
+
fileUrl?: string;
|
|
6718
|
+
static names(): { [key: string]: string } {
|
|
6719
|
+
return {
|
|
6720
|
+
reqMsgId: 'req_msg_id',
|
|
6721
|
+
resultCode: 'result_code',
|
|
6722
|
+
resultMsg: 'result_msg',
|
|
6723
|
+
fileUrl: 'file_url',
|
|
6724
|
+
};
|
|
6725
|
+
}
|
|
6726
|
+
|
|
6727
|
+
static types(): { [key: string]: any } {
|
|
6728
|
+
return {
|
|
6729
|
+
reqMsgId: 'string',
|
|
6730
|
+
resultCode: 'string',
|
|
6731
|
+
resultMsg: 'string',
|
|
6732
|
+
fileUrl: 'string',
|
|
6733
|
+
};
|
|
6734
|
+
}
|
|
6735
|
+
|
|
6736
|
+
constructor(map?: { [key: string]: any }) {
|
|
6737
|
+
super(map);
|
|
6738
|
+
}
|
|
6739
|
+
}
|
|
6740
|
+
|
|
6741
|
+
export class ExecFaceThreemetaRequest extends $tea.Model {
|
|
6742
|
+
// OAuth模式下的授权token
|
|
6743
|
+
authToken?: string;
|
|
6744
|
+
productInstanceId?: string;
|
|
6745
|
+
// 真实姓名
|
|
6746
|
+
certName: string;
|
|
6747
|
+
// 证件号码
|
|
6748
|
+
certNo: string;
|
|
6749
|
+
// 商户请求的唯一标识。
|
|
6750
|
+
// 值为 32 位长度的字母数字组合。其中,前面几位字符是商户自定义的简称,中间几位可以使用一段时间,后段可以使用一个随机或递增序列。该值也可以使用 UUID。
|
|
6751
|
+
outerOrderNo: string;
|
|
6752
|
+
// 固定值,BASE64
|
|
6753
|
+
fileType: string;
|
|
6754
|
+
// 待比对的图像,BASE64 格式
|
|
6755
|
+
facialPictureAuth: string;
|
|
6756
|
+
static names(): { [key: string]: string } {
|
|
6757
|
+
return {
|
|
6758
|
+
authToken: 'auth_token',
|
|
6759
|
+
productInstanceId: 'product_instance_id',
|
|
6760
|
+
certName: 'cert_name',
|
|
6761
|
+
certNo: 'cert_no',
|
|
6762
|
+
outerOrderNo: 'outer_order_no',
|
|
6763
|
+
fileType: 'file_type',
|
|
6764
|
+
facialPictureAuth: 'facial_picture_auth',
|
|
6765
|
+
};
|
|
6766
|
+
}
|
|
6767
|
+
|
|
6768
|
+
static types(): { [key: string]: any } {
|
|
6769
|
+
return {
|
|
6770
|
+
authToken: 'string',
|
|
6771
|
+
productInstanceId: 'string',
|
|
6772
|
+
certName: 'string',
|
|
6773
|
+
certNo: 'string',
|
|
6774
|
+
outerOrderNo: 'string',
|
|
6775
|
+
fileType: 'string',
|
|
6776
|
+
facialPictureAuth: 'string',
|
|
6777
|
+
};
|
|
6778
|
+
}
|
|
6779
|
+
|
|
6780
|
+
constructor(map?: { [key: string]: any }) {
|
|
6781
|
+
super(map);
|
|
6782
|
+
}
|
|
6783
|
+
}
|
|
6784
|
+
|
|
6785
|
+
export class ExecFaceThreemetaResponse extends $tea.Model {
|
|
6786
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6787
|
+
reqMsgId?: string;
|
|
6788
|
+
// 结果码,一般OK表示调用成功
|
|
6789
|
+
resultCode?: string;
|
|
6790
|
+
// 异常信息的文本描述
|
|
6791
|
+
resultMsg?: string;
|
|
6792
|
+
// 比对分
|
|
6793
|
+
score?: string;
|
|
6794
|
+
static names(): { [key: string]: string } {
|
|
6795
|
+
return {
|
|
6796
|
+
reqMsgId: 'req_msg_id',
|
|
6797
|
+
resultCode: 'result_code',
|
|
6798
|
+
resultMsg: 'result_msg',
|
|
6799
|
+
score: 'score',
|
|
6800
|
+
};
|
|
6801
|
+
}
|
|
6802
|
+
|
|
6803
|
+
static types(): { [key: string]: any } {
|
|
6804
|
+
return {
|
|
6805
|
+
reqMsgId: 'string',
|
|
6806
|
+
resultCode: 'string',
|
|
6807
|
+
resultMsg: 'string',
|
|
6808
|
+
score: 'string',
|
|
6809
|
+
};
|
|
6810
|
+
}
|
|
6811
|
+
|
|
6812
|
+
constructor(map?: { [key: string]: any }) {
|
|
6813
|
+
super(map);
|
|
6814
|
+
}
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6818
|
+
// OAuth模式下的授权token
|
|
6819
|
+
authToken?: string;
|
|
6820
|
+
// 上传文件作用的openapi method
|
|
6821
|
+
apiCode: string;
|
|
6822
|
+
// 文件标签,多个标签;分割
|
|
6823
|
+
fileLabel?: string;
|
|
6824
|
+
// 自定义的文件元数据
|
|
6825
|
+
fileMetadata?: string;
|
|
6826
|
+
// 文件名,不传则随机生成文件名
|
|
6827
|
+
fileName?: string;
|
|
6828
|
+
// 文件的多媒体类型
|
|
6829
|
+
mimeType?: string;
|
|
6830
|
+
// 产品方的api归属集群,即productInstanceId
|
|
6831
|
+
apiCluster?: string;
|
|
6832
|
+
static names(): { [key: string]: string } {
|
|
6833
|
+
return {
|
|
6834
|
+
authToken: 'auth_token',
|
|
6835
|
+
apiCode: 'api_code',
|
|
6836
|
+
fileLabel: 'file_label',
|
|
6837
|
+
fileMetadata: 'file_metadata',
|
|
6838
|
+
fileName: 'file_name',
|
|
6839
|
+
mimeType: 'mime_type',
|
|
6840
|
+
apiCluster: 'api_cluster',
|
|
6841
|
+
};
|
|
6842
|
+
}
|
|
6843
|
+
|
|
6844
|
+
static types(): { [key: string]: any } {
|
|
6845
|
+
return {
|
|
6846
|
+
authToken: 'string',
|
|
6847
|
+
apiCode: 'string',
|
|
6848
|
+
fileLabel: 'string',
|
|
6849
|
+
fileMetadata: 'string',
|
|
6850
|
+
fileName: 'string',
|
|
6851
|
+
mimeType: 'string',
|
|
6852
|
+
apiCluster: 'string',
|
|
6853
|
+
};
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
constructor(map?: { [key: string]: any }) {
|
|
6857
|
+
super(map);
|
|
6858
|
+
}
|
|
6859
|
+
}
|
|
6860
|
+
|
|
6861
|
+
export class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
6862
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6863
|
+
reqMsgId?: string;
|
|
6864
|
+
// 结果码,一般OK表示调用成功
|
|
6865
|
+
resultCode?: string;
|
|
6866
|
+
// 异常信息的文本描述
|
|
6867
|
+
resultMsg?: string;
|
|
6868
|
+
// 上传有效期
|
|
6869
|
+
expiredTime?: string;
|
|
6870
|
+
// 32位文件唯一id
|
|
6871
|
+
fileId?: string;
|
|
6872
|
+
// 放入http请求头里
|
|
6873
|
+
uploadHeaders?: XNameValuePair[];
|
|
6874
|
+
// 文件上传地址
|
|
6875
|
+
uploadUrl?: string;
|
|
6876
|
+
static names(): { [key: string]: string } {
|
|
6877
|
+
return {
|
|
6878
|
+
reqMsgId: 'req_msg_id',
|
|
6879
|
+
resultCode: 'result_code',
|
|
6880
|
+
resultMsg: 'result_msg',
|
|
6881
|
+
expiredTime: 'expired_time',
|
|
6882
|
+
fileId: 'file_id',
|
|
6883
|
+
uploadHeaders: 'upload_headers',
|
|
6884
|
+
uploadUrl: 'upload_url',
|
|
6885
|
+
};
|
|
6886
|
+
}
|
|
6887
|
+
|
|
6888
|
+
static types(): { [key: string]: any } {
|
|
6889
|
+
return {
|
|
6890
|
+
reqMsgId: 'string',
|
|
6891
|
+
resultCode: 'string',
|
|
6892
|
+
resultMsg: 'string',
|
|
6893
|
+
expiredTime: 'string',
|
|
6894
|
+
fileId: 'string',
|
|
6895
|
+
uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
|
|
6896
|
+
uploadUrl: 'string',
|
|
6897
|
+
};
|
|
6898
|
+
}
|
|
6899
|
+
|
|
6900
|
+
constructor(map?: { [key: string]: any }) {
|
|
6901
|
+
super(map);
|
|
6902
|
+
}
|
|
6903
|
+
}
|
|
6904
|
+
|
|
6905
|
+
|
|
6906
|
+
export default class Client {
|
|
6907
|
+
_endpoint: string;
|
|
6908
|
+
_regionId: string;
|
|
6909
|
+
_accessKeyId: string;
|
|
6910
|
+
_accessKeySecret: string;
|
|
6911
|
+
_protocol: string;
|
|
6912
|
+
_userAgent: string;
|
|
6913
|
+
_readTimeout: number;
|
|
6914
|
+
_connectTimeout: number;
|
|
6915
|
+
_httpProxy: string;
|
|
6916
|
+
_httpsProxy: string;
|
|
6917
|
+
_socks5Proxy: string;
|
|
6918
|
+
_socks5NetWork: string;
|
|
6919
|
+
_noProxy: string;
|
|
6920
|
+
_maxIdleConns: number;
|
|
6921
|
+
_securityToken: string;
|
|
6922
|
+
_maxIdleTimeMillis: number;
|
|
6923
|
+
_keepAliveDurationMillis: number;
|
|
6924
|
+
_maxRequests: number;
|
|
6925
|
+
_maxRequestsPerHost: number;
|
|
6926
|
+
|
|
6927
|
+
/**
|
|
6928
|
+
* Init client with Config
|
|
6929
|
+
* @param config config contains the necessary information to create a client
|
|
6930
|
+
*/
|
|
6931
|
+
constructor(config: Config) {
|
|
6932
|
+
if (Util.isUnset(config)) {
|
|
6933
|
+
throw $tea.newError({
|
|
6934
|
+
code: "ParameterMissing",
|
|
6935
|
+
message: "'config' can not be unset",
|
|
6936
|
+
});
|
|
6937
|
+
}
|
|
6938
|
+
|
|
6939
|
+
this._accessKeyId = config.accessKeyId;
|
|
6940
|
+
this._accessKeySecret = config.accessKeySecret;
|
|
6941
|
+
this._securityToken = config.securityToken;
|
|
6942
|
+
this._endpoint = config.endpoint;
|
|
6943
|
+
this._protocol = config.protocol;
|
|
6944
|
+
this._userAgent = config.userAgent;
|
|
6945
|
+
this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
|
|
6946
|
+
this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
|
|
6947
|
+
this._httpProxy = config.httpProxy;
|
|
6948
|
+
this._httpsProxy = config.httpsProxy;
|
|
6949
|
+
this._noProxy = config.noProxy;
|
|
6950
|
+
this._socks5Proxy = config.socks5Proxy;
|
|
6951
|
+
this._socks5NetWork = config.socks5NetWork;
|
|
6952
|
+
this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
|
|
6953
|
+
this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
6954
|
+
this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
6955
|
+
this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
|
|
6956
|
+
this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
|
|
6957
|
+
}
|
|
6958
|
+
|
|
6959
|
+
/**
|
|
6960
|
+
* Encapsulate the request and invoke the network
|
|
6961
|
+
* @param action api name
|
|
6962
|
+
* @param protocol http or https
|
|
6963
|
+
* @param method e.g. GET
|
|
6964
|
+
* @param pathname pathname of every api
|
|
6965
|
+
* @param request which contains request params
|
|
6966
|
+
* @param runtime which controls some details of call api, such as retry times
|
|
6967
|
+
* @return the response
|
|
6968
|
+
*/
|
|
6969
|
+
async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
|
|
6970
|
+
let _runtime: { [key: string]: any } = {
|
|
6971
|
+
timeouted: "retry",
|
|
6972
|
+
readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
6973
|
+
connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
6974
|
+
httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
|
|
6975
|
+
httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
6976
|
+
noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
|
|
6977
|
+
maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
6978
|
+
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
6979
|
+
keepAliveDuration: this._keepAliveDurationMillis,
|
|
6980
|
+
maxRequests: this._maxRequests,
|
|
6981
|
+
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
6982
|
+
retry: {
|
|
6983
|
+
retryable: runtime.autoretry,
|
|
6984
|
+
maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
|
|
6985
|
+
},
|
|
6986
|
+
backoff: {
|
|
6987
|
+
policy: Util.defaultString(runtime.backoffPolicy, "no"),
|
|
6988
|
+
period: Util.defaultNumber(runtime.backoffPeriod, 1),
|
|
6989
|
+
},
|
|
6990
|
+
ignoreSSL: runtime.ignoreSSL,
|
|
6991
|
+
}
|
|
6992
|
+
|
|
6993
|
+
let _lastRequest = null;
|
|
6994
|
+
let _now = Date.now();
|
|
6995
|
+
let _retryTimes = 0;
|
|
6996
|
+
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
6997
|
+
if (_retryTimes > 0) {
|
|
6998
|
+
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
6999
|
+
if (_backoffTime > 0) {
|
|
7000
|
+
await $tea.sleep(_backoffTime);
|
|
7001
|
+
}
|
|
7002
|
+
}
|
|
7003
|
+
|
|
7004
|
+
_retryTimes = _retryTimes + 1;
|
|
7005
|
+
try {
|
|
7006
|
+
let request_ = new $tea.Request();
|
|
7007
|
+
request_.protocol = Util.defaultString(this._protocol, protocol);
|
|
7008
|
+
request_.method = method;
|
|
7009
|
+
request_.pathname = pathname;
|
|
6025
7010
|
request_.query = {
|
|
6026
7011
|
method: action,
|
|
6027
7012
|
version: version,
|
|
@@ -6030,7 +7015,7 @@ export default class Client {
|
|
|
6030
7015
|
req_msg_id: AntchainUtil.getNonce(),
|
|
6031
7016
|
access_key: this._accessKeyId,
|
|
6032
7017
|
base_sdk_version: "TeaSDK-2.0",
|
|
6033
|
-
sdk_version: "1.22.
|
|
7018
|
+
sdk_version: "1.22.5",
|
|
6034
7019
|
_prod_code: "REALPERSON",
|
|
6035
7020
|
_prod_channel: "undefined",
|
|
6036
7021
|
};
|
|
@@ -7315,6 +8300,196 @@ export default class Client {
|
|
|
7315
8300
|
return $tea.cast<QueryCarinfoBriefResponse>(await this.doRequest("1.0", "di.realperson.carinfo.brief.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarinfoBriefResponse({}));
|
|
7316
8301
|
}
|
|
7317
8302
|
|
|
8303
|
+
/**
|
|
8304
|
+
* Description: 银行卡代扣预绑定
|
|
8305
|
+
* Summary: 银行卡代扣预绑定
|
|
8306
|
+
*/
|
|
8307
|
+
async bindCutpaymentPre(request: BindCutpaymentPreRequest): Promise<BindCutpaymentPreResponse> {
|
|
8308
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8309
|
+
let headers : {[key: string ]: string} = { };
|
|
8310
|
+
return await this.bindCutpaymentPreEx(request, headers, runtime);
|
|
8311
|
+
}
|
|
8312
|
+
|
|
8313
|
+
/**
|
|
8314
|
+
* Description: 银行卡代扣预绑定
|
|
8315
|
+
* Summary: 银行卡代扣预绑定
|
|
8316
|
+
*/
|
|
8317
|
+
async bindCutpaymentPreEx(request: BindCutpaymentPreRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BindCutpaymentPreResponse> {
|
|
8318
|
+
Util.validateModel(request);
|
|
8319
|
+
return $tea.cast<BindCutpaymentPreResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.pre.bind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BindCutpaymentPreResponse({}));
|
|
8320
|
+
}
|
|
8321
|
+
|
|
8322
|
+
/**
|
|
8323
|
+
* Description: 银行卡代扣绑卡签约
|
|
8324
|
+
* Summary: 银行卡代扣绑卡签约
|
|
8325
|
+
*/
|
|
8326
|
+
async bindCutpaymentSign(request: BindCutpaymentSignRequest): Promise<BindCutpaymentSignResponse> {
|
|
8327
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8328
|
+
let headers : {[key: string ]: string} = { };
|
|
8329
|
+
return await this.bindCutpaymentSignEx(request, headers, runtime);
|
|
8330
|
+
}
|
|
8331
|
+
|
|
8332
|
+
/**
|
|
8333
|
+
* Description: 银行卡代扣绑卡签约
|
|
8334
|
+
* Summary: 银行卡代扣绑卡签约
|
|
8335
|
+
*/
|
|
8336
|
+
async bindCutpaymentSignEx(request: BindCutpaymentSignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BindCutpaymentSignResponse> {
|
|
8337
|
+
Util.validateModel(request);
|
|
8338
|
+
return $tea.cast<BindCutpaymentSignResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.sign.bind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BindCutpaymentSignResponse({}));
|
|
8339
|
+
}
|
|
8340
|
+
|
|
8341
|
+
/**
|
|
8342
|
+
* Description: 银行卡代扣解绑
|
|
8343
|
+
* Summary: 银行卡代扣解绑
|
|
8344
|
+
*/
|
|
8345
|
+
async unbindCutpaymentSign(request: UnbindCutpaymentSignRequest): Promise<UnbindCutpaymentSignResponse> {
|
|
8346
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8347
|
+
let headers : {[key: string ]: string} = { };
|
|
8348
|
+
return await this.unbindCutpaymentSignEx(request, headers, runtime);
|
|
8349
|
+
}
|
|
8350
|
+
|
|
8351
|
+
/**
|
|
8352
|
+
* Description: 银行卡代扣解绑
|
|
8353
|
+
* Summary: 银行卡代扣解绑
|
|
8354
|
+
*/
|
|
8355
|
+
async unbindCutpaymentSignEx(request: UnbindCutpaymentSignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UnbindCutpaymentSignResponse> {
|
|
8356
|
+
Util.validateModel(request);
|
|
8357
|
+
return $tea.cast<UnbindCutpaymentSignResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.sign.unbind", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UnbindCutpaymentSignResponse({}));
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8360
|
+
/**
|
|
8361
|
+
* Description: 银行卡代扣绑定结果查询
|
|
8362
|
+
* Summary: 银行卡代扣绑定结果查询
|
|
8363
|
+
*/
|
|
8364
|
+
async queryCutpaymentBind(request: QueryCutpaymentBindRequest): Promise<QueryCutpaymentBindResponse> {
|
|
8365
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8366
|
+
let headers : {[key: string ]: string} = { };
|
|
8367
|
+
return await this.queryCutpaymentBindEx(request, headers, runtime);
|
|
8368
|
+
}
|
|
8369
|
+
|
|
8370
|
+
/**
|
|
8371
|
+
* Description: 银行卡代扣绑定结果查询
|
|
8372
|
+
* Summary: 银行卡代扣绑定结果查询
|
|
8373
|
+
*/
|
|
8374
|
+
async queryCutpaymentBindEx(request: QueryCutpaymentBindRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCutpaymentBindResponse> {
|
|
8375
|
+
Util.validateModel(request);
|
|
8376
|
+
return $tea.cast<QueryCutpaymentBindResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.bind.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentBindResponse({}));
|
|
8377
|
+
}
|
|
8378
|
+
|
|
8379
|
+
/**
|
|
8380
|
+
* Description: 银行卡代扣支付分账扣款
|
|
8381
|
+
* Summary: 银行卡代扣支付分账扣款
|
|
8382
|
+
*/
|
|
8383
|
+
async applyCutpaymentPayment(request: ApplyCutpaymentPaymentRequest): Promise<ApplyCutpaymentPaymentResponse> {
|
|
8384
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8385
|
+
let headers : {[key: string ]: string} = { };
|
|
8386
|
+
return await this.applyCutpaymentPaymentEx(request, headers, runtime);
|
|
8387
|
+
}
|
|
8388
|
+
|
|
8389
|
+
/**
|
|
8390
|
+
* Description: 银行卡代扣支付分账扣款
|
|
8391
|
+
* Summary: 银行卡代扣支付分账扣款
|
|
8392
|
+
*/
|
|
8393
|
+
async applyCutpaymentPaymentEx(request: ApplyCutpaymentPaymentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyCutpaymentPaymentResponse> {
|
|
8394
|
+
Util.validateModel(request);
|
|
8395
|
+
return $tea.cast<ApplyCutpaymentPaymentResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.payment.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyCutpaymentPaymentResponse({}));
|
|
8396
|
+
}
|
|
8397
|
+
|
|
8398
|
+
/**
|
|
8399
|
+
* Description: 银行卡代扣支付分账查询
|
|
8400
|
+
* Summary: 银行卡代扣支付分账查询
|
|
8401
|
+
*/
|
|
8402
|
+
async queryCutpaymentPayment(request: QueryCutpaymentPaymentRequest): Promise<QueryCutpaymentPaymentResponse> {
|
|
8403
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8404
|
+
let headers : {[key: string ]: string} = { };
|
|
8405
|
+
return await this.queryCutpaymentPaymentEx(request, headers, runtime);
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8408
|
+
/**
|
|
8409
|
+
* Description: 银行卡代扣支付分账查询
|
|
8410
|
+
* Summary: 银行卡代扣支付分账查询
|
|
8411
|
+
*/
|
|
8412
|
+
async queryCutpaymentPaymentEx(request: QueryCutpaymentPaymentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCutpaymentPaymentResponse> {
|
|
8413
|
+
Util.validateModel(request);
|
|
8414
|
+
return $tea.cast<QueryCutpaymentPaymentResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.payment.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentPaymentResponse({}));
|
|
8415
|
+
}
|
|
8416
|
+
|
|
8417
|
+
/**
|
|
8418
|
+
* Description: 银行卡代扣退款申请
|
|
8419
|
+
* Summary: 银行卡代扣退款申请
|
|
8420
|
+
*/
|
|
8421
|
+
async applyCutpaymentRefund(request: ApplyCutpaymentRefundRequest): Promise<ApplyCutpaymentRefundResponse> {
|
|
8422
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8423
|
+
let headers : {[key: string ]: string} = { };
|
|
8424
|
+
return await this.applyCutpaymentRefundEx(request, headers, runtime);
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
/**
|
|
8428
|
+
* Description: 银行卡代扣退款申请
|
|
8429
|
+
* Summary: 银行卡代扣退款申请
|
|
8430
|
+
*/
|
|
8431
|
+
async applyCutpaymentRefundEx(request: ApplyCutpaymentRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyCutpaymentRefundResponse> {
|
|
8432
|
+
Util.validateModel(request);
|
|
8433
|
+
return $tea.cast<ApplyCutpaymentRefundResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.refund.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyCutpaymentRefundResponse({}));
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
/**
|
|
8437
|
+
* Description: 银行卡代扣退款查询
|
|
8438
|
+
* Summary: 银行卡代扣退款查询
|
|
8439
|
+
*/
|
|
8440
|
+
async queryCutpaymentRefund(request: QueryCutpaymentRefundRequest): Promise<QueryCutpaymentRefundResponse> {
|
|
8441
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8442
|
+
let headers : {[key: string ]: string} = { };
|
|
8443
|
+
return await this.queryCutpaymentRefundEx(request, headers, runtime);
|
|
8444
|
+
}
|
|
8445
|
+
|
|
8446
|
+
/**
|
|
8447
|
+
* Description: 银行卡代扣退款查询
|
|
8448
|
+
* Summary: 银行卡代扣退款查询
|
|
8449
|
+
*/
|
|
8450
|
+
async queryCutpaymentRefundEx(request: QueryCutpaymentRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCutpaymentRefundResponse> {
|
|
8451
|
+
Util.validateModel(request);
|
|
8452
|
+
return $tea.cast<QueryCutpaymentRefundResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentRefundResponse({}));
|
|
8453
|
+
}
|
|
8454
|
+
|
|
8455
|
+
/**
|
|
8456
|
+
* Description: 银行卡代扣对账
|
|
8457
|
+
* Summary: 银行卡代扣对账
|
|
8458
|
+
*/
|
|
8459
|
+
async queryCutpaymentStatement(request: QueryCutpaymentStatementRequest): Promise<QueryCutpaymentStatementResponse> {
|
|
8460
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8461
|
+
let headers : {[key: string ]: string} = { };
|
|
8462
|
+
return await this.queryCutpaymentStatementEx(request, headers, runtime);
|
|
8463
|
+
}
|
|
8464
|
+
|
|
8465
|
+
/**
|
|
8466
|
+
* Description: 银行卡代扣对账
|
|
8467
|
+
* Summary: 银行卡代扣对账
|
|
8468
|
+
*/
|
|
8469
|
+
async queryCutpaymentStatementEx(request: QueryCutpaymentStatementRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCutpaymentStatementResponse> {
|
|
8470
|
+
Util.validateModel(request);
|
|
8471
|
+
return $tea.cast<QueryCutpaymentStatementResponse>(await this.doRequest("1.0", "di.realperson.cutpayment.statement.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCutpaymentStatementResponse({}));
|
|
8472
|
+
}
|
|
8473
|
+
|
|
8474
|
+
/**
|
|
8475
|
+
* Description: 人像、证件号、姓名比对接口
|
|
8476
|
+
* Summary: 人像、证件号、姓名比对
|
|
8477
|
+
*/
|
|
8478
|
+
async execFaceThreemeta(request: ExecFaceThreemetaRequest): Promise<ExecFaceThreemetaResponse> {
|
|
8479
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8480
|
+
let headers : {[key: string ]: string} = { };
|
|
8481
|
+
return await this.execFaceThreemetaEx(request, headers, runtime);
|
|
8482
|
+
}
|
|
8483
|
+
|
|
8484
|
+
/**
|
|
8485
|
+
* Description: 人像、证件号、姓名比对接口
|
|
8486
|
+
* Summary: 人像、证件号、姓名比对
|
|
8487
|
+
*/
|
|
8488
|
+
async execFaceThreemetaEx(request: ExecFaceThreemetaRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ExecFaceThreemetaResponse> {
|
|
8489
|
+
Util.validateModel(request);
|
|
8490
|
+
return $tea.cast<ExecFaceThreemetaResponse>(await this.doRequest("1.0", "di.realperson.face.threemeta.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecFaceThreemetaResponse({}));
|
|
8491
|
+
}
|
|
8492
|
+
|
|
7318
8493
|
/**
|
|
7319
8494
|
* Description: 创建HTTP PUT提交的文件上传
|
|
7320
8495
|
* Summary: 文件上传创建
|