@antchain/riskplus 1.16.33 → 1.16.36

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.33",
3
+ "version": "1.16.36",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "latest",
23
23
  "@antchain/alipay-util": "^1.0.4",
24
- "@alicloud/tea-util": "^1.4.5",
24
+ "@alicloud/tea-util": "^1.4.7",
25
25
  "@alicloud/rpc-util": "^0.1.0"
26
26
  },
27
27
  "files": [
package/src/client.ts CHANGED
@@ -1186,6 +1186,35 @@ export class RtopCompanyRiskFactor extends $tea.Model {
1186
1186
  }
1187
1187
  }
1188
1188
 
1189
+ // 用户凭证信息
1190
+ export class CustomerDetail extends $tea.Model {
1191
+ // 用户标识
1192
+ customerKey: string;
1193
+ // 渠道参数
1194
+ channelParams: string;
1195
+ // 用户透传字段
1196
+ extInfo: string;
1197
+ static names(): { [key: string]: string } {
1198
+ return {
1199
+ customerKey: 'customer_key',
1200
+ channelParams: 'channel_params',
1201
+ extInfo: 'ext_info',
1202
+ };
1203
+ }
1204
+
1205
+ static types(): { [key: string]: any } {
1206
+ return {
1207
+ customerKey: 'string',
1208
+ channelParams: 'string',
1209
+ extInfo: 'string',
1210
+ };
1211
+ }
1212
+
1213
+ constructor(map?: { [key: string]: any }) {
1214
+ super(map);
1215
+ }
1216
+ }
1217
+
1189
1218
  // 用户绑定银行卡列表
1190
1219
  export class CustomerBankCardInfo extends $tea.Model {
1191
1220
  // 银行名称
@@ -9574,6 +9603,8 @@ export class QueryRbbGeneralRequest extends $tea.Model {
9574
9603
  queryname: string;
9575
9604
  // 查询参数JSON字符串
9576
9605
  queryparas?: string;
9606
+ // 虚拟云租户code
9607
+ virtualCloudTenantCode?: string;
9577
9608
  static names(): { [key: string]: string } {
9578
9609
  return {
9579
9610
  authToken: 'auth_token',
@@ -9581,6 +9612,7 @@ export class QueryRbbGeneralRequest extends $tea.Model {
9581
9612
  extension: 'extension',
9582
9613
  queryname: 'queryname',
9583
9614
  queryparas: 'queryparas',
9615
+ virtualCloudTenantCode: 'virtual_cloud_tenant_code',
9584
9616
  };
9585
9617
  }
9586
9618
 
@@ -9591,6 +9623,7 @@ export class QueryRbbGeneralRequest extends $tea.Model {
9591
9623
  extension: 'string',
9592
9624
  queryname: 'string',
9593
9625
  queryparas: 'string',
9626
+ virtualCloudTenantCode: 'string',
9594
9627
  };
9595
9628
  }
9596
9629
 
@@ -15092,6 +15125,81 @@ export class ApplyUmktRealtimemarketingResponse extends $tea.Model {
15092
15125
  }
15093
15126
  }
15094
15127
 
15128
+ export class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
15129
+ // OAuth模式下的授权token
15130
+ authToken?: string;
15131
+ productInstanceId?: string;
15132
+ // 场景策略id
15133
+ sceneStrategyId: number;
15134
+ // 外部流水号
15135
+ outSerialNo: string;
15136
+ // 用户标识类型
15137
+ paramType: string;
15138
+ // 批量透传字段
15139
+ outInfo: string;
15140
+ // 用户凭证列表
15141
+ customerDetails: CustomerDetail[];
15142
+ static names(): { [key: string]: string } {
15143
+ return {
15144
+ authToken: 'auth_token',
15145
+ productInstanceId: 'product_instance_id',
15146
+ sceneStrategyId: 'scene_strategy_id',
15147
+ outSerialNo: 'out_serial_no',
15148
+ paramType: 'param_type',
15149
+ outInfo: 'out_info',
15150
+ customerDetails: 'customer_details',
15151
+ };
15152
+ }
15153
+
15154
+ static types(): { [key: string]: any } {
15155
+ return {
15156
+ authToken: 'string',
15157
+ productInstanceId: 'string',
15158
+ sceneStrategyId: 'number',
15159
+ outSerialNo: 'string',
15160
+ paramType: 'string',
15161
+ outInfo: 'string',
15162
+ customerDetails: { 'type': 'array', 'itemType': CustomerDetail },
15163
+ };
15164
+ }
15165
+
15166
+ constructor(map?: { [key: string]: any }) {
15167
+ super(map);
15168
+ }
15169
+ }
15170
+
15171
+ export class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
15172
+ // 请求唯一ID,用于链路跟踪和问题排查
15173
+ reqMsgId?: string;
15174
+ // 结果码,一般OK表示调用成功
15175
+ resultCode?: string;
15176
+ // 异常信息的文本描述
15177
+ resultMsg?: string;
15178
+ // 批次流水号
15179
+ bizId?: string;
15180
+ static names(): { [key: string]: string } {
15181
+ return {
15182
+ reqMsgId: 'req_msg_id',
15183
+ resultCode: 'result_code',
15184
+ resultMsg: 'result_msg',
15185
+ bizId: 'biz_id',
15186
+ };
15187
+ }
15188
+
15189
+ static types(): { [key: string]: any } {
15190
+ return {
15191
+ reqMsgId: 'string',
15192
+ resultCode: 'string',
15193
+ resultMsg: 'string',
15194
+ bizId: 'string',
15195
+ };
15196
+ }
15197
+
15198
+ constructor(map?: { [key: string]: any }) {
15199
+ super(map);
15200
+ }
15201
+ }
15202
+
15095
15203
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
15096
15204
  // OAuth模式下的授权token
15097
15205
  authToken?: string;
@@ -15293,7 +15401,7 @@ export default class Client {
15293
15401
  req_msg_id: AntchainUtil.getNonce(),
15294
15402
  access_key: this._accessKeyId,
15295
15403
  base_sdk_version: "TeaSDK-2.0",
15296
- sdk_version: "1.16.33",
15404
+ sdk_version: "1.16.36",
15297
15405
  _prod_code: "RISKPLUS",
15298
15406
  _prod_channel: "undefined",
15299
15407
  };
@@ -18127,6 +18235,25 @@ export default class Client {
18127
18235
  return $tea.cast<ApplyUmktRealtimemarketingResponse>(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
18128
18236
  }
18129
18237
 
18238
+ /**
18239
+ * Description: 批量实时策略触达
18240
+ * Summary: 批量实时策略触达
18241
+ */
18242
+ async applyUmktRtBatchmarketing(request: ApplyUmktRtBatchmarketingRequest): Promise<ApplyUmktRtBatchmarketingResponse> {
18243
+ let runtime = new $Util.RuntimeOptions({ });
18244
+ let headers : {[key: string ]: string} = { };
18245
+ return await this.applyUmktRtBatchmarketingEx(request, headers, runtime);
18246
+ }
18247
+
18248
+ /**
18249
+ * Description: 批量实时策略触达
18250
+ * Summary: 批量实时策略触达
18251
+ */
18252
+ async applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRtBatchmarketingResponse> {
18253
+ Util.validateModel(request);
18254
+ return $tea.cast<ApplyUmktRtBatchmarketingResponse>(await this.doRequest("1.0", "riskplus.umkt.rt.batchmarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRtBatchmarketingResponse({}));
18255
+ }
18256
+
18130
18257
  /**
18131
18258
  * Description: 创建HTTP PUT提交的文件上传
18132
18259
  * Summary: 文件上传创建