@antchain/riskplus 1.15.6 → 1.16.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.15.6",
3
+ "version": "1.16.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5860,8 +5860,8 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
5860
5860
  borrowerEmpInfo?: JobInfo;
5861
5861
  // 产品编号
5862
5862
  prodNo: string;
5863
- // 风险数据对象
5864
- riskData?: RiskData;
5863
+ // 风险数据对象json字符串
5864
+ riskData: string;
5865
5865
  // 借款用途
5866
5866
  loanReason?: string;
5867
5867
  // 资料文件
@@ -5913,7 +5913,7 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
5913
5913
  borrowerLiveInfo: LiveInfo,
5914
5914
  borrowerEmpInfo: JobInfo,
5915
5915
  prodNo: 'string',
5916
- riskData: RiskData,
5916
+ riskData: 'string',
5917
5917
  loanReason: 'string',
5918
5918
  materials: { 'type': 'array', 'itemType': Material },
5919
5919
  trafficPlatform: 'string',
@@ -13831,6 +13831,77 @@ export class BatchqueryUmktRtMixedmarketingResponse extends $tea.Model {
13831
13831
  }
13832
13832
  }
13833
13833
 
13834
+ export class ApplyUmktPhonenumberstatusforsmsRequest extends $tea.Model {
13835
+ // OAuth模式下的授权token
13836
+ authToken?: string;
13837
+ productInstanceId?: string;
13838
+ // 12345
13839
+ customerKey: string;
13840
+ // 用户模版类型
13841
+ paramTemplate: string;
13842
+ static names(): { [key: string]: string } {
13843
+ return {
13844
+ authToken: 'auth_token',
13845
+ productInstanceId: 'product_instance_id',
13846
+ customerKey: 'customer_key',
13847
+ paramTemplate: 'param_template',
13848
+ };
13849
+ }
13850
+
13851
+ static types(): { [key: string]: any } {
13852
+ return {
13853
+ authToken: 'string',
13854
+ productInstanceId: 'string',
13855
+ customerKey: 'string',
13856
+ paramTemplate: 'string',
13857
+ };
13858
+ }
13859
+
13860
+ constructor(map?: { [key: string]: any }) {
13861
+ super(map);
13862
+ }
13863
+ }
13864
+
13865
+ export class ApplyUmktPhonenumberstatusforsmsResponse extends $tea.Model {
13866
+ // 请求唯一ID,用于链路跟踪和问题排查
13867
+ reqMsgId?: string;
13868
+ // 结果码,一般OK表示调用成功
13869
+ resultCode?: string;
13870
+ // 异常信息的文本描述
13871
+ resultMsg?: string;
13872
+ // 12345
13873
+ customerKey?: string;
13874
+ // 用户凭证状态
13875
+ status?: string;
13876
+ // 号码当前归属的基础运营商
13877
+ carrier?: string;
13878
+ static names(): { [key: string]: string } {
13879
+ return {
13880
+ reqMsgId: 'req_msg_id',
13881
+ resultCode: 'result_code',
13882
+ resultMsg: 'result_msg',
13883
+ customerKey: 'customer_key',
13884
+ status: 'status',
13885
+ carrier: 'carrier',
13886
+ };
13887
+ }
13888
+
13889
+ static types(): { [key: string]: any } {
13890
+ return {
13891
+ reqMsgId: 'string',
13892
+ resultCode: 'string',
13893
+ resultMsg: 'string',
13894
+ customerKey: 'string',
13895
+ status: 'string',
13896
+ carrier: 'string',
13897
+ };
13898
+ }
13899
+
13900
+ constructor(map?: { [key: string]: any }) {
13901
+ super(map);
13902
+ }
13903
+ }
13904
+
13834
13905
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
13835
13906
  // OAuth模式下的授权token
13836
13907
  authToken?: string;
@@ -14032,7 +14103,7 @@ export default class Client {
14032
14103
  req_msg_id: AntchainUtil.getNonce(),
14033
14104
  access_key: this._accessKeyId,
14034
14105
  base_sdk_version: "TeaSDK-2.0",
14035
- sdk_version: "1.15.6",
14106
+ sdk_version: "1.16.0",
14036
14107
  };
14037
14108
  if (!Util.empty(this._securityToken)) {
14038
14109
  request_.query["security_token"] = this._securityToken;
@@ -16594,6 +16665,25 @@ export default class Client {
16594
16665
  return $tea.cast<BatchqueryUmktRtMixedmarketingResponse>(await this.doRequest("1.0", "riskplus.umkt.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtMixedmarketingResponse({}));
16595
16666
  }
16596
16667
 
16668
+ /**
16669
+ * Description: 调用营销盾空号检测
16670
+ * Summary: 调用营销盾空号检测
16671
+ */
16672
+ async applyUmktPhonenumberstatusforsms(request: ApplyUmktPhonenumberstatusforsmsRequest): Promise<ApplyUmktPhonenumberstatusforsmsResponse> {
16673
+ let runtime = new $Util.RuntimeOptions({ });
16674
+ let headers : {[key: string ]: string} = { };
16675
+ return await this.applyUmktPhonenumberstatusforsmsEx(request, headers, runtime);
16676
+ }
16677
+
16678
+ /**
16679
+ * Description: 调用营销盾空号检测
16680
+ * Summary: 调用营销盾空号检测
16681
+ */
16682
+ async applyUmktPhonenumberstatusforsmsEx(request: ApplyUmktPhonenumberstatusforsmsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktPhonenumberstatusforsmsResponse> {
16683
+ Util.validateModel(request);
16684
+ return $tea.cast<ApplyUmktPhonenumberstatusforsmsResponse>(await this.doRequest("1.0", "riskplus.umkt.phonenumberstatusforsms.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktPhonenumberstatusforsmsResponse({}));
16685
+ }
16686
+
16597
16687
  /**
16598
16688
  * Description: 创建HTTP PUT提交的文件上传
16599
16689
  * Summary: 文件上传创建