@antchain/riskplus 1.13.5 → 1.13.7

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 CHANGED
@@ -452,7 +452,6 @@ export declare class UpdateCustomerRelationResponseData extends $tea.Model {
452
452
  });
453
453
  }
454
454
  export declare class BackflowEventRecord extends $tea.Model {
455
- groupCode: string;
456
455
  properties: BackflowEventRecordProperty[];
457
456
  static names(): {
458
457
  [key: string]: string;
@@ -5686,6 +5685,76 @@ export declare class QueryUmktCardsmsSupportResponse extends $tea.Model {
5686
5685
  [key: string]: any;
5687
5686
  });
5688
5687
  }
5688
+ export declare class SendUmktTextsmsBatchRequest extends $tea.Model {
5689
+ authToken?: string;
5690
+ productInstanceId?: string;
5691
+ cpassAk?: string;
5692
+ industryTag: string;
5693
+ phoneNumberJson: string;
5694
+ signNameJson: string;
5695
+ templateCode: string;
5696
+ templateParamJson: string;
5697
+ smsUpExtendCodeJson?: string;
5698
+ outId?: string;
5699
+ static names(): {
5700
+ [key: string]: string;
5701
+ };
5702
+ static types(): {
5703
+ [key: string]: any;
5704
+ };
5705
+ constructor(map?: {
5706
+ [key: string]: any;
5707
+ });
5708
+ }
5709
+ export declare class SendUmktTextsmsBatchResponse extends $tea.Model {
5710
+ reqMsgId?: string;
5711
+ resultCode?: string;
5712
+ resultMsg?: string;
5713
+ bizId?: string;
5714
+ static names(): {
5715
+ [key: string]: string;
5716
+ };
5717
+ static types(): {
5718
+ [key: string]: any;
5719
+ };
5720
+ constructor(map?: {
5721
+ [key: string]: any;
5722
+ });
5723
+ }
5724
+ export declare class SendUmktDigitalsmsBatchRequest extends $tea.Model {
5725
+ authToken?: string;
5726
+ productInstanceId?: string;
5727
+ cpassAk?: string;
5728
+ industryTag: string;
5729
+ phoneNumbers: string;
5730
+ templateCode: string;
5731
+ templateParam: string;
5732
+ outId?: string;
5733
+ static names(): {
5734
+ [key: string]: string;
5735
+ };
5736
+ static types(): {
5737
+ [key: string]: any;
5738
+ };
5739
+ constructor(map?: {
5740
+ [key: string]: any;
5741
+ });
5742
+ }
5743
+ export declare class SendUmktDigitalsmsBatchResponse extends $tea.Model {
5744
+ reqMsgId?: string;
5745
+ resultCode?: string;
5746
+ resultMsg?: string;
5747
+ bizId?: string;
5748
+ static names(): {
5749
+ [key: string]: string;
5750
+ };
5751
+ static types(): {
5752
+ [key: string]: any;
5753
+ };
5754
+ constructor(map?: {
5755
+ [key: string]: any;
5756
+ });
5757
+ }
5689
5758
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
5690
5759
  authToken?: string;
5691
5760
  apiCode: string;
@@ -7290,6 +7359,30 @@ export default class Client {
7290
7359
  queryUmktCardsmsSupportEx(request: QueryUmktCardsmsSupportRequest, headers: {
7291
7360
  [key: string]: string;
7292
7361
  }, runtime: $Util.RuntimeOptions): Promise<QueryUmktCardsmsSupportResponse>;
7362
+ /**
7363
+ * Description: 文本短信批量发送接口
7364
+ * Summary: 文本短信批量发送接口
7365
+ */
7366
+ sendUmktTextsmsBatch(request: SendUmktTextsmsBatchRequest): Promise<SendUmktTextsmsBatchResponse>;
7367
+ /**
7368
+ * Description: 文本短信批量发送接口
7369
+ * Summary: 文本短信批量发送接口
7370
+ */
7371
+ sendUmktTextsmsBatchEx(request: SendUmktTextsmsBatchRequest, headers: {
7372
+ [key: string]: string;
7373
+ }, runtime: $Util.RuntimeOptions): Promise<SendUmktTextsmsBatchResponse>;
7374
+ /**
7375
+ * Description: 数字短信批量发送接口(单模板)
7376
+ * Summary: 数字短信批量发送接口(单模板)
7377
+ */
7378
+ sendUmktDigitalsmsBatch(request: SendUmktDigitalsmsBatchRequest): Promise<SendUmktDigitalsmsBatchResponse>;
7379
+ /**
7380
+ * Description: 数字短信批量发送接口(单模板)
7381
+ * Summary: 数字短信批量发送接口(单模板)
7382
+ */
7383
+ sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {
7384
+ [key: string]: string;
7385
+ }, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse>;
7293
7386
  /**
7294
7387
  * Description: 创建HTTP PUT提交的文件上传
7295
7388
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -741,13 +741,11 @@ class BackflowEventRecord extends $tea.Model {
741
741
  }
742
742
  static names() {
743
743
  return {
744
- groupCode: 'group_code',
745
744
  properties: 'properties',
746
745
  };
747
746
  }
748
747
  static types() {
749
748
  return {
750
- groupCode: 'string',
751
749
  properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
752
750
  };
753
751
  }
@@ -8797,6 +8795,114 @@ class QueryUmktCardsmsSupportResponse extends $tea.Model {
8797
8795
  }
8798
8796
  }
8799
8797
  exports.QueryUmktCardsmsSupportResponse = QueryUmktCardsmsSupportResponse;
8798
+ class SendUmktTextsmsBatchRequest extends $tea.Model {
8799
+ constructor(map) {
8800
+ super(map);
8801
+ }
8802
+ static names() {
8803
+ return {
8804
+ authToken: 'auth_token',
8805
+ productInstanceId: 'product_instance_id',
8806
+ cpassAk: 'cpass_ak',
8807
+ industryTag: 'industry_tag',
8808
+ phoneNumberJson: 'phone_number_json',
8809
+ signNameJson: 'sign_name_json',
8810
+ templateCode: 'template_code',
8811
+ templateParamJson: 'template_param_json',
8812
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
8813
+ outId: 'out_id',
8814
+ };
8815
+ }
8816
+ static types() {
8817
+ return {
8818
+ authToken: 'string',
8819
+ productInstanceId: 'string',
8820
+ cpassAk: 'string',
8821
+ industryTag: 'string',
8822
+ phoneNumberJson: 'string',
8823
+ signNameJson: 'string',
8824
+ templateCode: 'string',
8825
+ templateParamJson: 'string',
8826
+ smsUpExtendCodeJson: 'string',
8827
+ outId: 'string',
8828
+ };
8829
+ }
8830
+ }
8831
+ exports.SendUmktTextsmsBatchRequest = SendUmktTextsmsBatchRequest;
8832
+ class SendUmktTextsmsBatchResponse extends $tea.Model {
8833
+ constructor(map) {
8834
+ super(map);
8835
+ }
8836
+ static names() {
8837
+ return {
8838
+ reqMsgId: 'req_msg_id',
8839
+ resultCode: 'result_code',
8840
+ resultMsg: 'result_msg',
8841
+ bizId: 'biz_id',
8842
+ };
8843
+ }
8844
+ static types() {
8845
+ return {
8846
+ reqMsgId: 'string',
8847
+ resultCode: 'string',
8848
+ resultMsg: 'string',
8849
+ bizId: 'string',
8850
+ };
8851
+ }
8852
+ }
8853
+ exports.SendUmktTextsmsBatchResponse = SendUmktTextsmsBatchResponse;
8854
+ class SendUmktDigitalsmsBatchRequest extends $tea.Model {
8855
+ constructor(map) {
8856
+ super(map);
8857
+ }
8858
+ static names() {
8859
+ return {
8860
+ authToken: 'auth_token',
8861
+ productInstanceId: 'product_instance_id',
8862
+ cpassAk: 'cpass_ak',
8863
+ industryTag: 'industry_tag',
8864
+ phoneNumbers: 'phone_numbers',
8865
+ templateCode: 'template_code',
8866
+ templateParam: 'template_param',
8867
+ outId: 'out_id',
8868
+ };
8869
+ }
8870
+ static types() {
8871
+ return {
8872
+ authToken: 'string',
8873
+ productInstanceId: 'string',
8874
+ cpassAk: 'string',
8875
+ industryTag: 'string',
8876
+ phoneNumbers: 'string',
8877
+ templateCode: 'string',
8878
+ templateParam: 'string',
8879
+ outId: 'string',
8880
+ };
8881
+ }
8882
+ }
8883
+ exports.SendUmktDigitalsmsBatchRequest = SendUmktDigitalsmsBatchRequest;
8884
+ class SendUmktDigitalsmsBatchResponse extends $tea.Model {
8885
+ constructor(map) {
8886
+ super(map);
8887
+ }
8888
+ static names() {
8889
+ return {
8890
+ reqMsgId: 'req_msg_id',
8891
+ resultCode: 'result_code',
8892
+ resultMsg: 'result_msg',
8893
+ bizId: 'biz_id',
8894
+ };
8895
+ }
8896
+ static types() {
8897
+ return {
8898
+ reqMsgId: 'string',
8899
+ resultCode: 'string',
8900
+ resultMsg: 'string',
8901
+ bizId: 'string',
8902
+ };
8903
+ }
8904
+ }
8905
+ exports.SendUmktDigitalsmsBatchResponse = SendUmktDigitalsmsBatchResponse;
8800
8906
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
8801
8907
  constructor(map) {
8802
8908
  super(map);
@@ -8941,7 +9047,7 @@ class Client {
8941
9047
  req_msg_id: alipay_util_1.default.getNonce(),
8942
9048
  access_key: this._accessKeyId,
8943
9049
  base_sdk_version: "TeaSDK-2.0",
8944
- sdk_version: "1.13.5",
9050
+ sdk_version: "1.13.7",
8945
9051
  };
8946
9052
  if (!tea_util_1.default.empty(this._securityToken)) {
8947
9053
  request_.query["security_token"] = this._securityToken;
@@ -11194,6 +11300,40 @@ class Client {
11194
11300
  tea_util_1.default.validateModel(request);
11195
11301
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.cardsms.support.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCardsmsSupportResponse({}));
11196
11302
  }
11303
+ /**
11304
+ * Description: 文本短信批量发送接口
11305
+ * Summary: 文本短信批量发送接口
11306
+ */
11307
+ async sendUmktTextsmsBatch(request) {
11308
+ let runtime = new $Util.RuntimeOptions({});
11309
+ let headers = {};
11310
+ return await this.sendUmktTextsmsBatchEx(request, headers, runtime);
11311
+ }
11312
+ /**
11313
+ * Description: 文本短信批量发送接口
11314
+ * Summary: 文本短信批量发送接口
11315
+ */
11316
+ async sendUmktTextsmsBatchEx(request, headers, runtime) {
11317
+ tea_util_1.default.validateModel(request);
11318
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.textsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktTextsmsBatchResponse({}));
11319
+ }
11320
+ /**
11321
+ * Description: 数字短信批量发送接口(单模板)
11322
+ * Summary: 数字短信批量发送接口(单模板)
11323
+ */
11324
+ async sendUmktDigitalsmsBatch(request) {
11325
+ let runtime = new $Util.RuntimeOptions({});
11326
+ let headers = {};
11327
+ return await this.sendUmktDigitalsmsBatchEx(request, headers, runtime);
11328
+ }
11329
+ /**
11330
+ * Description: 数字短信批量发送接口(单模板)
11331
+ * Summary: 数字短信批量发送接口(单模板)
11332
+ */
11333
+ async sendUmktDigitalsmsBatchEx(request, headers, runtime) {
11334
+ tea_util_1.default.validateModel(request);
11335
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
11336
+ }
11197
11337
  /**
11198
11338
  * Description: 创建HTTP PUT提交的文件上传
11199
11339
  * Summary: 文件上传创建