@antchain/riskplus 1.23.7 → 1.23.9

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.23.7",
3
+ "version": "1.23.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -326,6 +326,39 @@ export class RtopTypeDistribution extends $tea.Model {
326
326
  }
327
327
  }
328
328
 
329
+ // 营销盾离线圈客任务详细信息
330
+ export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
331
+ // 任务id
332
+ taskId: number;
333
+ // 圈客计划id
334
+ decisionPlanId: number;
335
+ // 圈客结果状态
336
+ decisionResultStatus: string;
337
+ // 圈客结果状态描述
338
+ statusRemark: string;
339
+ static names(): { [key: string]: string } {
340
+ return {
341
+ taskId: 'task_id',
342
+ decisionPlanId: 'decision_plan_id',
343
+ decisionResultStatus: 'decision_result_status',
344
+ statusRemark: 'status_remark',
345
+ };
346
+ }
347
+
348
+ static types(): { [key: string]: any } {
349
+ return {
350
+ taskId: 'number',
351
+ decisionPlanId: 'number',
352
+ decisionResultStatus: 'string',
353
+ statusRemark: 'string',
354
+ };
355
+ }
356
+
357
+ constructor(map?: { [key: string]: any }) {
358
+ super(map);
359
+ }
360
+ }
361
+
329
362
  // 营销盾触达媒介参数信息
330
363
  export class ActionParamInfo extends $tea.Model {
331
364
  // 触达媒介类型
@@ -2415,39 +2448,6 @@ export class CompanyInfo extends $tea.Model {
2415
2448
  }
2416
2449
  }
2417
2450
 
2418
- // 营销盾离线圈客任务详细信息
2419
- export class UmktOfflineDecisionTaskDetailInfo extends $tea.Model {
2420
- // 任务id
2421
- taskId: number;
2422
- // 圈客计划id
2423
- decisionPlanId: number;
2424
- // 圈客结果状态
2425
- decisionResultStatus: string;
2426
- // 圈客结果状态描述
2427
- statusRemark: string;
2428
- static names(): { [key: string]: string } {
2429
- return {
2430
- taskId: 'task_id',
2431
- decisionPlanId: 'decision_plan_id',
2432
- decisionResultStatus: 'decision_result_status',
2433
- statusRemark: 'status_remark',
2434
- };
2435
- }
2436
-
2437
- static types(): { [key: string]: any } {
2438
- return {
2439
- taskId: 'number',
2440
- decisionPlanId: 'number',
2441
- decisionResultStatus: 'string',
2442
- statusRemark: 'string',
2443
- };
2444
- }
2445
-
2446
- constructor(map?: { [key: string]: any }) {
2447
- super(map);
2448
- }
2449
- }
2450
-
2451
2451
  // 营销盾事件信息同步详情
2452
2452
  export class EventResultSyncDetail extends $tea.Model {
2453
2453
  // 事件唯一id(单个租户全局唯一)
@@ -3757,6 +3757,31 @@ export class CustomerBankCardInfo extends $tea.Model {
3757
3757
  }
3758
3758
  }
3759
3759
 
3760
+ // 营销盾离线圈客执行批次信息
3761
+ export class UmktOfflineDecisionTaskExecBatchInfo extends $tea.Model {
3762
+ // 执行批次
3763
+ execBatch: string;
3764
+ // 批次下任务列表
3765
+ offlineDecisionTaskDetailInfoList: UmktOfflineDecisionTaskDetailInfo[];
3766
+ static names(): { [key: string]: string } {
3767
+ return {
3768
+ execBatch: 'exec_batch',
3769
+ offlineDecisionTaskDetailInfoList: 'offline_decision_task_detail_info_list',
3770
+ };
3771
+ }
3772
+
3773
+ static types(): { [key: string]: any } {
3774
+ return {
3775
+ execBatch: 'string',
3776
+ offlineDecisionTaskDetailInfoList: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
3777
+ };
3778
+ }
3779
+
3780
+ constructor(map?: { [key: string]: any }) {
3781
+ super(map);
3782
+ }
3783
+ }
3784
+
3760
3785
  // 供应商
3761
3786
  export class Supplier extends $tea.Model {
3762
3787
  // 供应商id
@@ -16113,6 +16138,69 @@ export class PushRpaasReportAnswerResponse extends $tea.Model {
16113
16138
  }
16114
16139
  }
16115
16140
 
16141
+ export class QueryRpaasOpenServiceRequest extends $tea.Model {
16142
+ // OAuth模式下的授权token
16143
+ authToken?: string;
16144
+ productInstanceId?: string;
16145
+ // 开放服务ID
16146
+ serviceId: string;
16147
+ // { "companyId": "2088" }
16148
+ params?: string;
16149
+ static names(): { [key: string]: string } {
16150
+ return {
16151
+ authToken: 'auth_token',
16152
+ productInstanceId: 'product_instance_id',
16153
+ serviceId: 'service_id',
16154
+ params: 'params',
16155
+ };
16156
+ }
16157
+
16158
+ static types(): { [key: string]: any } {
16159
+ return {
16160
+ authToken: 'string',
16161
+ productInstanceId: 'string',
16162
+ serviceId: 'string',
16163
+ params: 'string',
16164
+ };
16165
+ }
16166
+
16167
+ constructor(map?: { [key: string]: any }) {
16168
+ super(map);
16169
+ }
16170
+ }
16171
+
16172
+ export class QueryRpaasOpenServiceResponse extends $tea.Model {
16173
+ // 请求唯一ID,用于链路跟踪和问题排查
16174
+ reqMsgId?: string;
16175
+ // 结果码,一般OK表示调用成功
16176
+ resultCode?: string;
16177
+ // 异常信息的文本描述
16178
+ resultMsg?: string;
16179
+ // 调用结果
16180
+ body?: string;
16181
+ static names(): { [key: string]: string } {
16182
+ return {
16183
+ reqMsgId: 'req_msg_id',
16184
+ resultCode: 'result_code',
16185
+ resultMsg: 'result_msg',
16186
+ body: 'body',
16187
+ };
16188
+ }
16189
+
16190
+ static types(): { [key: string]: any } {
16191
+ return {
16192
+ reqMsgId: 'string',
16193
+ resultCode: 'string',
16194
+ resultMsg: 'string',
16195
+ body: 'string',
16196
+ };
16197
+ }
16198
+
16199
+ constructor(map?: { [key: string]: any }) {
16200
+ super(map);
16201
+ }
16202
+ }
16203
+
16116
16204
  export class QueryRpgwSignUrlRequest extends $tea.Model {
16117
16205
  // OAuth模式下的授权token
16118
16206
  authToken?: string;
@@ -21990,7 +22078,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
21990
22078
  // 已完成的计划策略集合
21991
22079
  decisionPlanIdList?: number[];
21992
22080
  // 批次维度圈客任务结果
21993
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22081
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
21994
22082
  static names(): { [key: string]: string } {
21995
22083
  return {
21996
22084
  reqMsgId: 'req_msg_id',
@@ -22007,7 +22095,7 @@ export class QueryUmktOfflinedecisionResultResponse extends $tea.Model {
22007
22095
  resultCode: 'string',
22008
22096
  resultMsg: 'string',
22009
22097
  decisionPlanIdList: { 'type': 'array', 'itemType': 'number' },
22010
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22098
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
22011
22099
  };
22012
22100
  }
22013
22101
 
@@ -22132,7 +22220,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
22132
22220
  // 离线圈客计划详细
22133
22221
  planDetailList?: OfflineDecisionPlanDetail[];
22134
22222
  // 执行批次维度任务详情信息
22135
- taskExecBatchInfo?: UmktOfflineDecisionTaskDetailInfo[];
22223
+ taskExecBatchInfo?: UmktOfflineDecisionTaskExecBatchInfo[];
22136
22224
  static names(): { [key: string]: string } {
22137
22225
  return {
22138
22226
  reqMsgId: 'req_msg_id',
@@ -22151,7 +22239,7 @@ export class QueryUmktOfflinedecisionPlandetailsResponse extends $tea.Model {
22151
22239
  resultMsg: 'string',
22152
22240
  offlineDecisionPlanCount: 'number',
22153
22241
  planDetailList: { 'type': 'array', 'itemType': OfflineDecisionPlanDetail },
22154
- taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskDetailInfo },
22242
+ taskExecBatchInfo: { 'type': 'array', 'itemType': UmktOfflineDecisionTaskExecBatchInfo },
22155
22243
  };
22156
22244
  }
22157
22245
 
@@ -22426,7 +22514,7 @@ export default class Client {
22426
22514
  req_msg_id: AntchainUtil.getNonce(),
22427
22515
  access_key: this._accessKeyId,
22428
22516
  base_sdk_version: "TeaSDK-2.0",
22429
- sdk_version: "1.23.7",
22517
+ sdk_version: "1.23.9",
22430
22518
  _prod_code: "RISKPLUS",
22431
22519
  _prod_channel: "undefined",
22432
22520
  };
@@ -25228,6 +25316,25 @@ export default class Client {
25228
25316
  return $tea.cast<PushRpaasReportAnswerResponse>(await this.doRequest("1.0", "riskplus.rpaas.report.answer.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushRpaasReportAnswerResponse({}));
25229
25317
  }
25230
25318
 
25319
+ /**
25320
+ * Description: 企管盾云开放平台服务调用
25321
+ * Summary: 企管盾云开放平台服务调用
25322
+ */
25323
+ async queryRpaasOpenService(request: QueryRpaasOpenServiceRequest): Promise<QueryRpaasOpenServiceResponse> {
25324
+ let runtime = new $Util.RuntimeOptions({ });
25325
+ let headers : {[key: string ]: string} = { };
25326
+ return await this.queryRpaasOpenServiceEx(request, headers, runtime);
25327
+ }
25328
+
25329
+ /**
25330
+ * Description: 企管盾云开放平台服务调用
25331
+ * Summary: 企管盾云开放平台服务调用
25332
+ */
25333
+ async queryRpaasOpenServiceEx(request: QueryRpaasOpenServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRpaasOpenServiceResponse> {
25334
+ Util.validateModel(request);
25335
+ return $tea.cast<QueryRpaasOpenServiceResponse>(await this.doRequest("1.0", "riskplus.rpaas.open.service.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRpaasOpenServiceResponse({}));
25336
+ }
25337
+
25231
25338
  /**
25232
25339
  * Description: 获取签约接口
25233
25340
  * Summary: 获取签约接口