@antchain/riskplus 1.23.6 → 1.23.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 +87 -0
- package/dist/client.js +132 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +183 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -405,6 +405,40 @@ export class DecisionFlow extends $tea.Model {
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
+
// 用户混合营销决策结果
|
|
409
|
+
export class RpspInfoModel extends $tea.Model {
|
|
410
|
+
// 流量分层计划code
|
|
411
|
+
planCode: string;
|
|
412
|
+
// 场景策略Id
|
|
413
|
+
sceneStrategyId: number;
|
|
414
|
+
// 客群分层结果
|
|
415
|
+
rpspResult: string;
|
|
416
|
+
//
|
|
417
|
+
// json 结构的营销额外输出信息
|
|
418
|
+
rpspOutPutInfo: string;
|
|
419
|
+
static names(): { [key: string]: string } {
|
|
420
|
+
return {
|
|
421
|
+
planCode: 'plan_code',
|
|
422
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
423
|
+
rpspResult: 'rpsp_result',
|
|
424
|
+
rpspOutPutInfo: 'rpsp_out_put_info',
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
static types(): { [key: string]: any } {
|
|
429
|
+
return {
|
|
430
|
+
planCode: 'string',
|
|
431
|
+
sceneStrategyId: 'number',
|
|
432
|
+
rpspResult: 'string',
|
|
433
|
+
rpspOutPutInfo: 'string',
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
constructor(map?: { [key: string]: any }) {
|
|
438
|
+
super(map);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
408
442
|
// 优惠券信息
|
|
409
443
|
export class CouponInfo extends $tea.Model {
|
|
410
444
|
// 优惠券Id
|
|
@@ -1661,6 +1695,31 @@ export class RtopRiskStormCompanyAnnualReport extends $tea.Model {
|
|
|
1661
1695
|
}
|
|
1662
1696
|
}
|
|
1663
1697
|
|
|
1698
|
+
// 查询结果
|
|
1699
|
+
export class CustomerRpspInfosModel extends $tea.Model {
|
|
1700
|
+
// 归属用户的混合分层决策结果
|
|
1701
|
+
rpspResults: RpspInfoModel[];
|
|
1702
|
+
// 用户凭证
|
|
1703
|
+
customerKey: string;
|
|
1704
|
+
static names(): { [key: string]: string } {
|
|
1705
|
+
return {
|
|
1706
|
+
rpspResults: 'rpsp_results',
|
|
1707
|
+
customerKey: 'customer_key',
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
static types(): { [key: string]: any } {
|
|
1712
|
+
return {
|
|
1713
|
+
rpspResults: { 'type': 'array', 'itemType': RpspInfoModel },
|
|
1714
|
+
customerKey: 'string',
|
|
1715
|
+
};
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
constructor(map?: { [key: string]: any }) {
|
|
1719
|
+
super(map);
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1664
1723
|
// 信护盾产品查询信息
|
|
1665
1724
|
export class QueryInfo extends $tea.Model {
|
|
1666
1725
|
// key
|
|
@@ -2073,6 +2132,31 @@ export class RtopAgeDistribution extends $tea.Model {
|
|
|
2073
2132
|
}
|
|
2074
2133
|
}
|
|
2075
2134
|
|
|
2135
|
+
// 客群详细信息
|
|
2136
|
+
export class CustomerInfo extends $tea.Model {
|
|
2137
|
+
// 查询的用户凭证列表
|
|
2138
|
+
customerKey: string;
|
|
2139
|
+
// 客户属性的额外信息
|
|
2140
|
+
properties?: string;
|
|
2141
|
+
static names(): { [key: string]: string } {
|
|
2142
|
+
return {
|
|
2143
|
+
customerKey: 'customer_key',
|
|
2144
|
+
properties: 'properties',
|
|
2145
|
+
};
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
static types(): { [key: string]: any } {
|
|
2149
|
+
return {
|
|
2150
|
+
customerKey: 'string',
|
|
2151
|
+
properties: 'string',
|
|
2152
|
+
};
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
constructor(map?: { [key: string]: any }) {
|
|
2156
|
+
super(map);
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2076
2160
|
// 企业信息
|
|
2077
2161
|
export class CompanyInfo extends $tea.Model {
|
|
2078
2162
|
// 活跃地json
|
|
@@ -13689,6 +13773,85 @@ export class PushQmpBackflowJsondataResponse extends $tea.Model {
|
|
|
13689
13773
|
}
|
|
13690
13774
|
}
|
|
13691
13775
|
|
|
13776
|
+
export class BatchqueryQmpRtMixedmarketingRequest extends $tea.Model {
|
|
13777
|
+
// OAuth模式下的授权token
|
|
13778
|
+
authToken?: string;
|
|
13779
|
+
productInstanceId?: string;
|
|
13780
|
+
// 圈客计划code列表
|
|
13781
|
+
planCodes: string[];
|
|
13782
|
+
// 计划集合code,对标圈客计划code列表,一般不可变
|
|
13783
|
+
planSetCode?: string;
|
|
13784
|
+
// 查询协议模版
|
|
13785
|
+
queryTemplate: string;
|
|
13786
|
+
// 客群凭证和其他信息
|
|
13787
|
+
customerDetails: CustomerInfo[];
|
|
13788
|
+
// 客群共用参数
|
|
13789
|
+
publicProperties?: string;
|
|
13790
|
+
// 外部业务流水号
|
|
13791
|
+
bizSerialNo: string;
|
|
13792
|
+
static names(): { [key: string]: string } {
|
|
13793
|
+
return {
|
|
13794
|
+
authToken: 'auth_token',
|
|
13795
|
+
productInstanceId: 'product_instance_id',
|
|
13796
|
+
planCodes: 'plan_codes',
|
|
13797
|
+
planSetCode: 'plan_set_code',
|
|
13798
|
+
queryTemplate: 'query_template',
|
|
13799
|
+
customerDetails: 'customer_details',
|
|
13800
|
+
publicProperties: 'public_properties',
|
|
13801
|
+
bizSerialNo: 'biz_serial_no',
|
|
13802
|
+
};
|
|
13803
|
+
}
|
|
13804
|
+
|
|
13805
|
+
static types(): { [key: string]: any } {
|
|
13806
|
+
return {
|
|
13807
|
+
authToken: 'string',
|
|
13808
|
+
productInstanceId: 'string',
|
|
13809
|
+
planCodes: { 'type': 'array', 'itemType': 'string' },
|
|
13810
|
+
planSetCode: 'string',
|
|
13811
|
+
queryTemplate: 'string',
|
|
13812
|
+
customerDetails: { 'type': 'array', 'itemType': CustomerInfo },
|
|
13813
|
+
publicProperties: 'string',
|
|
13814
|
+
bizSerialNo: 'string',
|
|
13815
|
+
};
|
|
13816
|
+
}
|
|
13817
|
+
|
|
13818
|
+
constructor(map?: { [key: string]: any }) {
|
|
13819
|
+
super(map);
|
|
13820
|
+
}
|
|
13821
|
+
}
|
|
13822
|
+
|
|
13823
|
+
export class BatchqueryQmpRtMixedmarketingResponse extends $tea.Model {
|
|
13824
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13825
|
+
reqMsgId?: string;
|
|
13826
|
+
// 结果码,一般OK表示调用成功
|
|
13827
|
+
resultCode?: string;
|
|
13828
|
+
// 异常信息的文本描述
|
|
13829
|
+
resultMsg?: string;
|
|
13830
|
+
// 查询结果
|
|
13831
|
+
queryResults?: CustomerRpspInfosModel[];
|
|
13832
|
+
static names(): { [key: string]: string } {
|
|
13833
|
+
return {
|
|
13834
|
+
reqMsgId: 'req_msg_id',
|
|
13835
|
+
resultCode: 'result_code',
|
|
13836
|
+
resultMsg: 'result_msg',
|
|
13837
|
+
queryResults: 'query_results',
|
|
13838
|
+
};
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13841
|
+
static types(): { [key: string]: any } {
|
|
13842
|
+
return {
|
|
13843
|
+
reqMsgId: 'string',
|
|
13844
|
+
resultCode: 'string',
|
|
13845
|
+
resultMsg: 'string',
|
|
13846
|
+
queryResults: { 'type': 'array', 'itemType': CustomerRpspInfosModel },
|
|
13847
|
+
};
|
|
13848
|
+
}
|
|
13849
|
+
|
|
13850
|
+
constructor(map?: { [key: string]: any }) {
|
|
13851
|
+
super(map);
|
|
13852
|
+
}
|
|
13853
|
+
}
|
|
13854
|
+
|
|
13692
13855
|
export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
|
|
13693
13856
|
// OAuth模式下的授权token
|
|
13694
13857
|
authToken?: string;
|
|
@@ -22263,7 +22426,7 @@ export default class Client {
|
|
|
22263
22426
|
req_msg_id: AntchainUtil.getNonce(),
|
|
22264
22427
|
access_key: this._accessKeyId,
|
|
22265
22428
|
base_sdk_version: "TeaSDK-2.0",
|
|
22266
|
-
sdk_version: "1.23.
|
|
22429
|
+
sdk_version: "1.23.7",
|
|
22267
22430
|
_prod_code: "RISKPLUS",
|
|
22268
22431
|
_prod_channel: "undefined",
|
|
22269
22432
|
};
|
|
@@ -24372,6 +24535,25 @@ export default class Client {
|
|
|
24372
24535
|
return $tea.cast<PushQmpBackflowJsondataResponse>(await this.doRequest("1.0", "riskplus.qmp.backflow.jsondata.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushQmpBackflowJsondataResponse({}));
|
|
24373
24536
|
}
|
|
24374
24537
|
|
|
24538
|
+
/**
|
|
24539
|
+
* Description: 智选平台混合策略批量分层服务
|
|
24540
|
+
* Summary: 智选平台-混合策略批量分层服务
|
|
24541
|
+
*/
|
|
24542
|
+
async batchqueryQmpRtMixedmarketing(request: BatchqueryQmpRtMixedmarketingRequest): Promise<BatchqueryQmpRtMixedmarketingResponse> {
|
|
24543
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
24544
|
+
let headers : {[key: string ]: string} = { };
|
|
24545
|
+
return await this.batchqueryQmpRtMixedmarketingEx(request, headers, runtime);
|
|
24546
|
+
}
|
|
24547
|
+
|
|
24548
|
+
/**
|
|
24549
|
+
* Description: 智选平台混合策略批量分层服务
|
|
24550
|
+
* Summary: 智选平台-混合策略批量分层服务
|
|
24551
|
+
*/
|
|
24552
|
+
async batchqueryQmpRtMixedmarketingEx(request: BatchqueryQmpRtMixedmarketingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryQmpRtMixedmarketingResponse> {
|
|
24553
|
+
Util.validateModel(request);
|
|
24554
|
+
return $tea.cast<BatchqueryQmpRtMixedmarketingResponse>(await this.doRequest("1.0", "riskplus.qmp.rt.mixedmarketing.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryQmpRtMixedmarketingResponse({}));
|
|
24555
|
+
}
|
|
24556
|
+
|
|
24375
24557
|
/**
|
|
24376
24558
|
* Description: 企管盾票税交接授权信息表的同步
|
|
24377
24559
|
* Summary: 企管盾票税交接授权信息表的同步
|