@antchain/riskplus 1.15.7 → 1.16.1
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 +45 -1
- package/dist/client.js +66 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -4
package/dist/client.d.ts
CHANGED
|
@@ -3257,7 +3257,7 @@ export declare class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
3257
3257
|
orderNo: string;
|
|
3258
3258
|
repayType: string;
|
|
3259
3259
|
loanWay: string;
|
|
3260
|
-
repayDate
|
|
3260
|
+
repayDate?: string;
|
|
3261
3261
|
static names(): {
|
|
3262
3262
|
[key: string]: string;
|
|
3263
3263
|
};
|
|
@@ -5860,6 +5860,38 @@ export declare class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
|
|
|
5860
5860
|
[key: string]: any;
|
|
5861
5861
|
});
|
|
5862
5862
|
}
|
|
5863
|
+
export declare class ApplyUmktPhonenumberstatusforsmsRequest extends $tea.Model {
|
|
5864
|
+
authToken?: string;
|
|
5865
|
+
productInstanceId?: string;
|
|
5866
|
+
customerKey: string;
|
|
5867
|
+
paramTemplate: string;
|
|
5868
|
+
static names(): {
|
|
5869
|
+
[key: string]: string;
|
|
5870
|
+
};
|
|
5871
|
+
static types(): {
|
|
5872
|
+
[key: string]: any;
|
|
5873
|
+
};
|
|
5874
|
+
constructor(map?: {
|
|
5875
|
+
[key: string]: any;
|
|
5876
|
+
});
|
|
5877
|
+
}
|
|
5878
|
+
export declare class ApplyUmktPhonenumberstatusforsmsResponse extends $tea.Model {
|
|
5879
|
+
reqMsgId?: string;
|
|
5880
|
+
resultCode?: string;
|
|
5881
|
+
resultMsg?: string;
|
|
5882
|
+
customerKey?: string;
|
|
5883
|
+
status?: string;
|
|
5884
|
+
carrier?: string;
|
|
5885
|
+
static names(): {
|
|
5886
|
+
[key: string]: string;
|
|
5887
|
+
};
|
|
5888
|
+
static types(): {
|
|
5889
|
+
[key: string]: any;
|
|
5890
|
+
};
|
|
5891
|
+
constructor(map?: {
|
|
5892
|
+
[key: string]: any;
|
|
5893
|
+
});
|
|
5894
|
+
}
|
|
5863
5895
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
5864
5896
|
authToken?: string;
|
|
5865
5897
|
apiCode: string;
|
|
@@ -7488,6 +7520,18 @@ export default class Client {
|
|
|
7488
7520
|
batchqueryUmktRtMixedmarketingEx(request: BatchqueryUmktRtMixedmarketingRequest, headers: {
|
|
7489
7521
|
[key: string]: string;
|
|
7490
7522
|
}, runtime: $Util.RuntimeOptions): Promise<BatchqueryUmktRtMixedmarketingResponse>;
|
|
7523
|
+
/**
|
|
7524
|
+
* Description: 调用营销盾空号检测
|
|
7525
|
+
* Summary: 调用营销盾空号检测
|
|
7526
|
+
*/
|
|
7527
|
+
applyUmktPhonenumberstatusforsms(request: ApplyUmktPhonenumberstatusforsmsRequest): Promise<ApplyUmktPhonenumberstatusforsmsResponse>;
|
|
7528
|
+
/**
|
|
7529
|
+
* Description: 调用营销盾空号检测
|
|
7530
|
+
* Summary: 调用营销盾空号检测
|
|
7531
|
+
*/
|
|
7532
|
+
applyUmktPhonenumberstatusforsmsEx(request: ApplyUmktPhonenumberstatusforsmsRequest, headers: {
|
|
7533
|
+
[key: string]: string;
|
|
7534
|
+
}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktPhonenumberstatusforsmsResponse>;
|
|
7491
7535
|
/**
|
|
7492
7536
|
* Description: 创建HTTP PUT提交的文件上传
|
|
7493
7537
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -9078,6 +9078,54 @@ class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
|
|
|
9078
9078
|
}
|
|
9079
9079
|
}
|
|
9080
9080
|
exports.BatchqueryUmktRtMixedmarketingResponse = BatchqueryUmktRtMixedmarketingResponse;
|
|
9081
|
+
class ApplyUmktPhonenumberstatusforsmsRequest extends $tea.Model {
|
|
9082
|
+
constructor(map) {
|
|
9083
|
+
super(map);
|
|
9084
|
+
}
|
|
9085
|
+
static names() {
|
|
9086
|
+
return {
|
|
9087
|
+
authToken: 'auth_token',
|
|
9088
|
+
productInstanceId: 'product_instance_id',
|
|
9089
|
+
customerKey: 'customer_key',
|
|
9090
|
+
paramTemplate: 'param_template',
|
|
9091
|
+
};
|
|
9092
|
+
}
|
|
9093
|
+
static types() {
|
|
9094
|
+
return {
|
|
9095
|
+
authToken: 'string',
|
|
9096
|
+
productInstanceId: 'string',
|
|
9097
|
+
customerKey: 'string',
|
|
9098
|
+
paramTemplate: 'string',
|
|
9099
|
+
};
|
|
9100
|
+
}
|
|
9101
|
+
}
|
|
9102
|
+
exports.ApplyUmktPhonenumberstatusforsmsRequest = ApplyUmktPhonenumberstatusforsmsRequest;
|
|
9103
|
+
class ApplyUmktPhonenumberstatusforsmsResponse extends $tea.Model {
|
|
9104
|
+
constructor(map) {
|
|
9105
|
+
super(map);
|
|
9106
|
+
}
|
|
9107
|
+
static names() {
|
|
9108
|
+
return {
|
|
9109
|
+
reqMsgId: 'req_msg_id',
|
|
9110
|
+
resultCode: 'result_code',
|
|
9111
|
+
resultMsg: 'result_msg',
|
|
9112
|
+
customerKey: 'customer_key',
|
|
9113
|
+
status: 'status',
|
|
9114
|
+
carrier: 'carrier',
|
|
9115
|
+
};
|
|
9116
|
+
}
|
|
9117
|
+
static types() {
|
|
9118
|
+
return {
|
|
9119
|
+
reqMsgId: 'string',
|
|
9120
|
+
resultCode: 'string',
|
|
9121
|
+
resultMsg: 'string',
|
|
9122
|
+
customerKey: 'string',
|
|
9123
|
+
status: 'string',
|
|
9124
|
+
carrier: 'string',
|
|
9125
|
+
};
|
|
9126
|
+
}
|
|
9127
|
+
}
|
|
9128
|
+
exports.ApplyUmktPhonenumberstatusforsmsResponse = ApplyUmktPhonenumberstatusforsmsResponse;
|
|
9081
9129
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9082
9130
|
constructor(map) {
|
|
9083
9131
|
super(map);
|
|
@@ -9222,9 +9270,7 @@ class Client {
|
|
|
9222
9270
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9223
9271
|
access_key: this._accessKeyId,
|
|
9224
9272
|
base_sdk_version: "TeaSDK-2.0",
|
|
9225
|
-
sdk_version: "1.
|
|
9226
|
-
_prod_code: "RISKPLUS",
|
|
9227
|
-
_prod_channel: "undefined",
|
|
9273
|
+
sdk_version: "1.16.1",
|
|
9228
9274
|
};
|
|
9229
9275
|
if (!tea_util_1.default.empty(this._securityToken)) {
|
|
9230
9276
|
request_.query["security_token"] = this._securityToken;
|
|
@@ -11511,6 +11557,23 @@ class Client {
|
|
|
11511
11557
|
tea_util_1.default.validateModel(request);
|
|
11512
11558
|
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtMixedmarketingResponse({}));
|
|
11513
11559
|
}
|
|
11560
|
+
/**
|
|
11561
|
+
* Description: 调用营销盾空号检测
|
|
11562
|
+
* Summary: 调用营销盾空号检测
|
|
11563
|
+
*/
|
|
11564
|
+
async applyUmktPhonenumberstatusforsms(request) {
|
|
11565
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11566
|
+
let headers = {};
|
|
11567
|
+
return await this.applyUmktPhonenumberstatusforsmsEx(request, headers, runtime);
|
|
11568
|
+
}
|
|
11569
|
+
/**
|
|
11570
|
+
* Description: 调用营销盾空号检测
|
|
11571
|
+
* Summary: 调用营销盾空号检测
|
|
11572
|
+
*/
|
|
11573
|
+
async applyUmktPhonenumberstatusforsmsEx(request, headers, runtime) {
|
|
11574
|
+
tea_util_1.default.validateModel(request);
|
|
11575
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.phonenumberstatusforsms.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktPhonenumberstatusforsmsResponse({}));
|
|
11576
|
+
}
|
|
11514
11577
|
/**
|
|
11515
11578
|
* Description: 创建HTTP PUT提交的文件上传
|
|
11516
11579
|
* Summary: 文件上传创建
|