@antchain/riskplus 1.16.41 → 1.16.43

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.16.41",
3
+ "version": "1.16.43",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -15425,6 +15425,184 @@ export class CallbackUmktRobotcallResponse extends $tea.Model {
15425
15425
  }
15426
15426
  }
15427
15427
 
15428
+ export class CallbackUmktSmsUpRequest extends $tea.Model {
15429
+ // OAuth模式下的授权token
15430
+ authToken?: string;
15431
+ productInstanceId?: string;
15432
+ // 回执类型
15433
+ type: string;
15434
+ // 手机号码
15435
+ phoneNumber: string;
15436
+ // 发送时间
15437
+ sendTime: string;
15438
+ // 发送内容
15439
+ content: string;
15440
+ // 签名信息
15441
+ signName: string;
15442
+ // 签名对应的客户ak
15443
+ appKey: string;
15444
+ // 上行短信扩展号码
15445
+ destCode: string;
15446
+ // 学历噩耗
15447
+ sequenceId: number;
15448
+ static names(): { [key: string]: string } {
15449
+ return {
15450
+ authToken: 'auth_token',
15451
+ productInstanceId: 'product_instance_id',
15452
+ type: 'type',
15453
+ phoneNumber: 'phone_number',
15454
+ sendTime: 'send_time',
15455
+ content: 'content',
15456
+ signName: 'sign_name',
15457
+ appKey: 'app_key',
15458
+ destCode: 'dest_code',
15459
+ sequenceId: 'sequence_id',
15460
+ };
15461
+ }
15462
+
15463
+ static types(): { [key: string]: any } {
15464
+ return {
15465
+ authToken: 'string',
15466
+ productInstanceId: 'string',
15467
+ type: 'string',
15468
+ phoneNumber: 'string',
15469
+ sendTime: 'string',
15470
+ content: 'string',
15471
+ signName: 'string',
15472
+ appKey: 'string',
15473
+ destCode: 'string',
15474
+ sequenceId: 'number',
15475
+ };
15476
+ }
15477
+
15478
+ constructor(map?: { [key: string]: any }) {
15479
+ super(map);
15480
+ }
15481
+ }
15482
+
15483
+ export class CallbackUmktSmsUpResponse extends $tea.Model {
15484
+ // 请求唯一ID,用于链路跟踪和问题排查
15485
+ reqMsgId?: string;
15486
+ // 结果码,一般OK表示调用成功
15487
+ resultCode?: string;
15488
+ // 异常信息的文本描述
15489
+ resultMsg?: string;
15490
+ static names(): { [key: string]: string } {
15491
+ return {
15492
+ reqMsgId: 'req_msg_id',
15493
+ resultCode: 'result_code',
15494
+ resultMsg: 'result_msg',
15495
+ };
15496
+ }
15497
+
15498
+ static types(): { [key: string]: any } {
15499
+ return {
15500
+ reqMsgId: 'string',
15501
+ resultCode: 'string',
15502
+ resultMsg: 'string',
15503
+ };
15504
+ }
15505
+
15506
+ constructor(map?: { [key: string]: any }) {
15507
+ super(map);
15508
+ }
15509
+ }
15510
+
15511
+ export class CallbackUmktSmsReportRequest extends $tea.Model {
15512
+ // OAuth模式下的授权token
15513
+ authToken?: string;
15514
+ productInstanceId?: string;
15515
+ // 短信回执类型
15516
+ type: string;
15517
+ // 手机号码
15518
+ phoneNumber: string;
15519
+ // 发送时间
15520
+ sendTime: string;
15521
+ // 状态报告时间
15522
+ reportTime: string;
15523
+ // 是否接收成功。取值:true:接收成功false:接收失败
15524
+ success: boolean;
15525
+ // 状态报告编码
15526
+ errCode: string;
15527
+ // 状态报告说明
15528
+ errMsg: string;
15529
+ // 短信长度
15530
+ smsSize: string;
15531
+ // 发送回执ID,即发送流水号
15532
+ bizId: string;
15533
+ // 业务扩展字段,回执时透传,JSON格式
15534
+ bizProperties: string;
15535
+ // 发送卡片短信时,文本短信状态报告中才会有该字段,且取值为CARD_SMS,发送纯文本短信时,状态报告中没有该字段
15536
+ smsType?: string;
15537
+ static names(): { [key: string]: string } {
15538
+ return {
15539
+ authToken: 'auth_token',
15540
+ productInstanceId: 'product_instance_id',
15541
+ type: 'type',
15542
+ phoneNumber: 'phone_number',
15543
+ sendTime: 'send_time',
15544
+ reportTime: 'report_time',
15545
+ success: 'success',
15546
+ errCode: 'err_code',
15547
+ errMsg: 'err_msg',
15548
+ smsSize: 'sms_size',
15549
+ bizId: 'biz_id',
15550
+ bizProperties: 'biz_properties',
15551
+ smsType: 'sms_type',
15552
+ };
15553
+ }
15554
+
15555
+ static types(): { [key: string]: any } {
15556
+ return {
15557
+ authToken: 'string',
15558
+ productInstanceId: 'string',
15559
+ type: 'string',
15560
+ phoneNumber: 'string',
15561
+ sendTime: 'string',
15562
+ reportTime: 'string',
15563
+ success: 'boolean',
15564
+ errCode: 'string',
15565
+ errMsg: 'string',
15566
+ smsSize: 'string',
15567
+ bizId: 'string',
15568
+ bizProperties: 'string',
15569
+ smsType: 'string',
15570
+ };
15571
+ }
15572
+
15573
+ constructor(map?: { [key: string]: any }) {
15574
+ super(map);
15575
+ }
15576
+ }
15577
+
15578
+ export class CallbackUmktSmsReportResponse extends $tea.Model {
15579
+ // 请求唯一ID,用于链路跟踪和问题排查
15580
+ reqMsgId?: string;
15581
+ // 结果码,一般OK表示调用成功
15582
+ resultCode?: string;
15583
+ // 异常信息的文本描述
15584
+ resultMsg?: string;
15585
+ static names(): { [key: string]: string } {
15586
+ return {
15587
+ reqMsgId: 'req_msg_id',
15588
+ resultCode: 'result_code',
15589
+ resultMsg: 'result_msg',
15590
+ };
15591
+ }
15592
+
15593
+ static types(): { [key: string]: any } {
15594
+ return {
15595
+ reqMsgId: 'string',
15596
+ resultCode: 'string',
15597
+ resultMsg: 'string',
15598
+ };
15599
+ }
15600
+
15601
+ constructor(map?: { [key: string]: any }) {
15602
+ super(map);
15603
+ }
15604
+ }
15605
+
15428
15606
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15429
15607
  // OAuth模式下的授权token
15430
15608
  authToken?: string;
@@ -15626,7 +15804,7 @@ export default class Client {
15626
15804
  req_msg_id: AntchainUtil.getNonce(),
15627
15805
  access_key: this._accessKeyId,
15628
15806
  base_sdk_version: "TeaSDK-2.0",
15629
- sdk_version: "1.16.41",
15807
+ sdk_version: "1.16.43",
15630
15808
  _prod_code: "RISKPLUS",
15631
15809
  _prod_channel: "undefined",
15632
15810
  };
@@ -18498,6 +18676,44 @@ export default class Client {
18498
18676
  return $tea.cast<CallbackUmktRobotcallResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktRobotcallResponse({}));
18499
18677
  }
18500
18678
 
18679
+ /**
18680
+ * Description: 营销盾上行短信回调接口
18681
+ * Summary: 营销盾上行短信回调
18682
+ */
18683
+ async callbackUmktSmsUp(request: CallbackUmktSmsUpRequest): Promise<CallbackUmktSmsUpResponse> {
18684
+ let runtime = new $Util.RuntimeOptions({ });
18685
+ let headers : {[key: string ]: string} = { };
18686
+ return await this.callbackUmktSmsUpEx(request, headers, runtime);
18687
+ }
18688
+
18689
+ /**
18690
+ * Description: 营销盾上行短信回调接口
18691
+ * Summary: 营销盾上行短信回调
18692
+ */
18693
+ async callbackUmktSmsUpEx(request: CallbackUmktSmsUpRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackUmktSmsUpResponse> {
18694
+ Util.validateModel(request);
18695
+ return $tea.cast<CallbackUmktSmsUpResponse>(await this.doRequest("1.0", "riskplus.umkt.sms.up.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsUpResponse({}));
18696
+ }
18697
+
18698
+ /**
18699
+ * Description: 营销盾短信状态回调接口
18700
+ * Summary: 营销盾短信状态回调
18701
+ */
18702
+ async callbackUmktSmsReport(request: CallbackUmktSmsReportRequest): Promise<CallbackUmktSmsReportResponse> {
18703
+ let runtime = new $Util.RuntimeOptions({ });
18704
+ let headers : {[key: string ]: string} = { };
18705
+ return await this.callbackUmktSmsReportEx(request, headers, runtime);
18706
+ }
18707
+
18708
+ /**
18709
+ * Description: 营销盾短信状态回调接口
18710
+ * Summary: 营销盾短信状态回调
18711
+ */
18712
+ async callbackUmktSmsReportEx(request: CallbackUmktSmsReportRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackUmktSmsReportResponse> {
18713
+ Util.validateModel(request);
18714
+ return $tea.cast<CallbackUmktSmsReportResponse>(await this.doRequest("1.0", "riskplus.umkt.sms.report.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktSmsReportResponse({}));
18715
+ }
18716
+
18501
18717
  /**
18502
18718
  * Description: 创建HTTP PUT提交的文件上传
18503
18719
  * Summary: 文件上传创建