tencentcloud-sdk-nodejs 4.1.288 → 4.1.290
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/es/common/sdk_version.js +1 -1
- package/es/services/cdb/v20170320/cdb_client.js +6 -0
- package/es/services/cds/v20180420/cds_client.js +18 -3
- package/es/services/config/v20220802/config_client.js +6 -0
- package/es/services/csip/v20221121/csip_client.js +127 -28
- package/es/services/postgres/v20170312/postgres_client.js +3 -0
- package/es/services/rce/v20260130/rce_client.js +6 -0
- package/es/services/tcbr/v20220217/tcbr_client.js +30 -27
- package/es/services/tcr/v20190924/tcr_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +4 -4
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +130 -3
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +1 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +257 -145
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +11 -7
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +66 -139
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +9 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +12 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +99 -30
- package/tencentcloud/services/cds/v20180420/cds_client.d.ts +25 -5
- package/tencentcloud/services/cds/v20180420/cds_client.js +36 -6
- package/tencentcloud/services/cds/v20180420/cds_models.d.ts +768 -69
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +31 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
- package/tencentcloud/services/config/v20220802/config_client.d.ts +9 -1
- package/tencentcloud/services/config/v20220802/config_client.js +12 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +89 -33
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +161 -29
- package/tencentcloud/services/csip/v20221121/csip_client.js +240 -42
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +3900 -878
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +65 -12
- package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -5
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +0 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +0 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -1
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +20 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +22 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +18 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +19 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +60 -38
- package/tencentcloud/services/rce/v20260130/rce_client.d.ts +9 -1
- package/tencentcloud/services/rce/v20260130/rce_client.js +12 -0
- package/tencentcloud/services/rce/v20260130/rce_models.d.ts +1673 -112
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +37 -33
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +54 -48
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +56 -13
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +5 -1
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +6 -0
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +81 -26
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +54 -12
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +34 -10
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +18 -36
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -10
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +4 -4
|
@@ -1,15 +1,124 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* 做任务事件详情
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface TaskEvent {
|
|
5
5
|
/**
|
|
6
|
-
* <p
|
|
6
|
+
* <p>营销活动ID</p>
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
PromotionId?: string;
|
|
9
9
|
/**
|
|
10
|
-
* <p
|
|
10
|
+
* <p>营销活动名称</p>
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
PromotionName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>营销活动描述</p>
|
|
15
|
+
*/
|
|
16
|
+
Description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>邀请人ID</p>
|
|
19
|
+
*/
|
|
20
|
+
InviterUserId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* <p>任务ID</p>
|
|
23
|
+
*/
|
|
24
|
+
TaskId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>任务名称</p>
|
|
27
|
+
*/
|
|
28
|
+
TaskName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>任务类型,如签到打卡、观看广告、累计步数等</p>
|
|
31
|
+
*/
|
|
32
|
+
TaskType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* <p>任务完成耗时</p><p>单位:毫秒</p>
|
|
35
|
+
*/
|
|
36
|
+
TaskCostTime?: number;
|
|
37
|
+
/**
|
|
38
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
39
|
+
*/
|
|
40
|
+
Cust?: Array<Cust>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 数字订单
|
|
44
|
+
*/
|
|
45
|
+
export interface DigitalOrder {
|
|
46
|
+
/**
|
|
47
|
+
* <p>数字资产</p>
|
|
48
|
+
*/
|
|
49
|
+
DigitalAsset?: string;
|
|
50
|
+
/**
|
|
51
|
+
* <p>数字资产类型</p><p>枚举值:</p><ul><li>coin: 代币</li><li>commodity: 大宗商品</li><li>crypto: 加密货币</li><li>fiat: 法币</li><li>token: 通证</li><li>stock: 股票</li><li>bond: 债券</li></ul>
|
|
52
|
+
*/
|
|
53
|
+
AssetType?: string;
|
|
54
|
+
/**
|
|
55
|
+
* <p>订单类型</p><p>枚举值:</p><ul><li>limit: 限价单</li><li>market: 市价单</li><li>stop_limit: 止损限价单</li><li>stop_loss: 止损单</li><li>take_profit: 止盈单</li><li>take_profit_limit: 止盈限价单</li></ul>
|
|
56
|
+
*/
|
|
57
|
+
OrderType?: string;
|
|
58
|
+
/**
|
|
59
|
+
* <p>数字资产的数量</p>
|
|
60
|
+
*/
|
|
61
|
+
Volume?: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 账单信息
|
|
65
|
+
*/
|
|
66
|
+
export interface Billing {
|
|
67
|
+
/**
|
|
68
|
+
* <p>账单地址</p>
|
|
69
|
+
*/
|
|
70
|
+
Address?: Address;
|
|
71
|
+
/**
|
|
72
|
+
* <p>账单联系电话</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
73
|
+
*/
|
|
74
|
+
Phone?: string;
|
|
75
|
+
/**
|
|
76
|
+
* <p>账单邮箱</p>
|
|
77
|
+
*/
|
|
78
|
+
Email?: string;
|
|
79
|
+
/**
|
|
80
|
+
* <p>账单接收人姓名</p>
|
|
81
|
+
*/
|
|
82
|
+
Recipient?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 决策信息
|
|
86
|
+
*/
|
|
87
|
+
export interface Decision {
|
|
88
|
+
/**
|
|
89
|
+
* <p>决策结果</p><ul><li>pass:通过</li><li>review:复审</li><li>reject:拒绝</li></ul>
|
|
90
|
+
*/
|
|
91
|
+
DecisionResult?: string;
|
|
92
|
+
/**
|
|
93
|
+
* <p>命中策略后的决策动作,可在控制台配置</p>
|
|
94
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
|
+
*/
|
|
96
|
+
Disposition?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* 个人信息
|
|
100
|
+
*/
|
|
101
|
+
export interface Person {
|
|
102
|
+
/**
|
|
103
|
+
* <p>姓名全称</p>
|
|
104
|
+
*/
|
|
105
|
+
Name?: string;
|
|
106
|
+
/**
|
|
107
|
+
* <p>性别</p>
|
|
108
|
+
*/
|
|
109
|
+
Gender?: string;
|
|
110
|
+
/**
|
|
111
|
+
* <p>出生日期</p><p>参数格式:YYYY-MM-DD</p>
|
|
112
|
+
*/
|
|
113
|
+
Birthday?: string;
|
|
114
|
+
/**
|
|
115
|
+
* <p>学历</p>
|
|
116
|
+
*/
|
|
117
|
+
Degree?: string;
|
|
118
|
+
/**
|
|
119
|
+
* <p>职业</p>
|
|
120
|
+
*/
|
|
121
|
+
Occupation?: string;
|
|
13
122
|
}
|
|
14
123
|
/**
|
|
15
124
|
* 环境基础信息
|
|
@@ -22,75 +131,1262 @@ export interface Environment {
|
|
|
22
131
|
/**
|
|
23
132
|
* <p>IP基础网络信息</p>
|
|
24
133
|
*/
|
|
25
|
-
Network?: IPNetwork;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
export interface
|
|
134
|
+
Network?: IPNetwork;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 数字钱包
|
|
138
|
+
*/
|
|
139
|
+
export interface Wallet {
|
|
140
|
+
/**
|
|
141
|
+
* <p>钱包类型</p><p>枚举值:</p><ul><li>crypto: 加密货币</li><li>digital: 数字货币</li><li>fiat: 法币</li></ul>
|
|
142
|
+
*/
|
|
143
|
+
WalletType: string;
|
|
144
|
+
/**
|
|
145
|
+
* <p>钱包地址,通常为钱包的唯一标识</p>
|
|
146
|
+
*/
|
|
147
|
+
WalletAddress: string;
|
|
148
|
+
/**
|
|
149
|
+
* <p>钱包归属人姓名</p>
|
|
150
|
+
*/
|
|
151
|
+
WalletHolderName?: string;
|
|
152
|
+
/**
|
|
153
|
+
* <p>钱包供应商,wechat、alipay、paypal等</p>
|
|
154
|
+
*/
|
|
155
|
+
WalletProvider?: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 风险分
|
|
159
|
+
*/
|
|
160
|
+
export interface Score {
|
|
161
|
+
/**
|
|
162
|
+
* <p>风险分值,范围[1, 1000],分值越大,风险越高</p>
|
|
163
|
+
*/
|
|
164
|
+
RiskScore?: number;
|
|
165
|
+
/**
|
|
166
|
+
* <p>风险标签</p>
|
|
167
|
+
*/
|
|
168
|
+
RiskLabels?: Array<RiskLabel>;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* 领红包事件详情
|
|
172
|
+
*/
|
|
173
|
+
export interface ClaimRedPacketEvent {
|
|
174
|
+
/**
|
|
175
|
+
* <p>营销活动ID</p>
|
|
176
|
+
*/
|
|
177
|
+
PromotionId?: string;
|
|
178
|
+
/**
|
|
179
|
+
* <p>营销活动名称</p>
|
|
180
|
+
*/
|
|
181
|
+
PromotionName?: string;
|
|
182
|
+
/**
|
|
183
|
+
* <p>营销活动描述</p>
|
|
184
|
+
*/
|
|
185
|
+
Description?: string;
|
|
186
|
+
/**
|
|
187
|
+
* <p>邀请人ID</p>
|
|
188
|
+
*/
|
|
189
|
+
InviterUserId?: string;
|
|
190
|
+
/**
|
|
191
|
+
* <p>红包ID</p>
|
|
192
|
+
*/
|
|
193
|
+
RedPacketId?: string;
|
|
194
|
+
/**
|
|
195
|
+
* <p>红包类型,如手气红包、口令红包、均分红包等</p>
|
|
196
|
+
*/
|
|
197
|
+
RedPacketType?: string;
|
|
198
|
+
/**
|
|
199
|
+
* <p>红包金额</p>
|
|
200
|
+
*/
|
|
201
|
+
RedPacketAmount?: Amount;
|
|
202
|
+
/**
|
|
203
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
204
|
+
*/
|
|
205
|
+
Cust?: Array<Cust>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* 营销活动码
|
|
209
|
+
*/
|
|
210
|
+
export interface PromotionCode {
|
|
211
|
+
/**
|
|
212
|
+
* <p>活动码ID</p>
|
|
213
|
+
*/
|
|
214
|
+
Id: string;
|
|
215
|
+
/**
|
|
216
|
+
* <p>活动码类型,例如:qrcode-二维码、barcode-条形码、miniprogram_code-小程序码</p>
|
|
217
|
+
*/
|
|
218
|
+
Type?: string;
|
|
219
|
+
/**
|
|
220
|
+
* <p>活动码图片URL或链接</p>
|
|
221
|
+
*/
|
|
222
|
+
ImageLink?: string;
|
|
223
|
+
/**
|
|
224
|
+
* <p>营销活动码使用地址</p>
|
|
225
|
+
*/
|
|
226
|
+
Address?: Address;
|
|
227
|
+
/**
|
|
228
|
+
* <p>营销活动码关联的商品</p>
|
|
229
|
+
*/
|
|
230
|
+
Items?: Array<Item>;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* 拒付事件详情
|
|
234
|
+
*/
|
|
235
|
+
export interface ChargeBackEvent {
|
|
236
|
+
/**
|
|
237
|
+
* <p>交易ID</p>
|
|
238
|
+
*/
|
|
239
|
+
TransactionId: string;
|
|
240
|
+
/**
|
|
241
|
+
* <p>订单 ID,当一笔交易关联多个订单(合并支付)时请输入所有订单ID</p>
|
|
242
|
+
*/
|
|
243
|
+
OrderId: Array<string>;
|
|
244
|
+
/**
|
|
245
|
+
* <p>拒付理由码,参考各卡组织定义的拒付码,例如:10.1、13.1、 4870、4871等</p>
|
|
246
|
+
*/
|
|
247
|
+
ChargeBackCode: string;
|
|
248
|
+
/**
|
|
249
|
+
* <p>拒付原因,参考各卡组织定义的拒付原因,例如:未收到商品、欺诈等</p>
|
|
250
|
+
*/
|
|
251
|
+
ChargeBackReason: string;
|
|
252
|
+
/**
|
|
253
|
+
* <p>拒付申诉阶段</p><p>枚举值:</p><ul><li>need_response: 需要商家回应</li><li>information_supplied: 商家已提供信息</li><li>chargeback_reversed: 拒付已撤销</li><li>chargeback_sustained: 拒付已成立</li></ul>
|
|
254
|
+
*/
|
|
255
|
+
ChargeBackProcess?: string;
|
|
256
|
+
/**
|
|
257
|
+
* <p>拒付金额</p>
|
|
258
|
+
*/
|
|
259
|
+
ChargeBackAmount?: Amount;
|
|
260
|
+
/**
|
|
261
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
262
|
+
*/
|
|
263
|
+
Cust?: Array<Cust>;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* ReportEvent请求参数结构体
|
|
267
|
+
*/
|
|
268
|
+
export interface ReportEventRequest {
|
|
269
|
+
/**
|
|
270
|
+
* <p>事件码,标准事件包含:</p><p>枚举值:</p><ul><li>login: 登录</li><li>register: 注册</li><li>create_order: 创建订单</li><li>transaction: 交易支付</li><li>charge_back: 拒付</li><li>sms: 短信</li><li>logout: 登出</li><li>modify_account: 修改账号</li><li>modify_password: 修改密码</li><li>security_verification: 安全验证</li><li>add_promotion: 参加营销活动</li><li>redeem: 兑奖</li><li>withdraw: 提现</li><li>cust_event: 自定义事件,cust_xxx</li><li>scan_code: 扫码</li><li>lucky_draw: 抽奖</li><li>task: 做任务</li><li>invitation: 邀请</li><li>claim_red_packet: 领红包</li><li>browse: 浏览</li></ul><p>自定义事件可与RCE约定后进行风险评估</p>
|
|
271
|
+
*/
|
|
272
|
+
EventCode: string;
|
|
273
|
+
/**
|
|
274
|
+
* <p>事件的发生时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
275
|
+
*/
|
|
276
|
+
EventTime: string;
|
|
277
|
+
/**
|
|
278
|
+
* <p>用户当前会话 ID, 用于关联用户登录前后的动作,如果没有传UserId,则SessionId必传,如缺失则可填充空字符串</p>
|
|
279
|
+
*/
|
|
280
|
+
SessionId: string;
|
|
281
|
+
/**
|
|
282
|
+
* <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
|
|
283
|
+
*/
|
|
284
|
+
DeviceToken: string;
|
|
285
|
+
/**
|
|
286
|
+
* <p>客户端 IP 地址(IPv4或IPv6)</p>
|
|
287
|
+
*/
|
|
288
|
+
UserIp: string;
|
|
289
|
+
/**
|
|
290
|
+
* <p>事件详情,根据您输入的事件码传入对应的事件信息</p>
|
|
291
|
+
*/
|
|
292
|
+
EventDetail: EventDetail;
|
|
293
|
+
/**
|
|
294
|
+
* <p>用户在您系统中的唯一ID</p>
|
|
295
|
+
*/
|
|
296
|
+
UserId?: string;
|
|
297
|
+
/**
|
|
298
|
+
* <p>用户邮箱</p>
|
|
299
|
+
*/
|
|
300
|
+
UserEmail?: string;
|
|
301
|
+
/**
|
|
302
|
+
* <p>用户提供的联系方式</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
303
|
+
*/
|
|
304
|
+
UserPhone?: string;
|
|
305
|
+
/**
|
|
306
|
+
* <p>web浏览器相关信息,若您已集成我们的设备指纹SDK,则无需传入此字段</p>
|
|
307
|
+
*/
|
|
308
|
+
Browser?: Browser;
|
|
309
|
+
/**
|
|
310
|
+
* <p>应用程序、操作系统和移动设备详细信息,若您已集成我们的设备指纹SDK,则无需传入此字段</p>
|
|
311
|
+
*/
|
|
312
|
+
App?: App;
|
|
313
|
+
/**
|
|
314
|
+
* <p>数据授权信息,国内地域必填</p>
|
|
315
|
+
*/
|
|
316
|
+
DataAuthorization?: DataAuthorization;
|
|
317
|
+
/**
|
|
318
|
+
* <p>手机号码加密方式,国内地域必填</p><p>枚举值:</p><ul><li>md5: md5加密</li><li>plain: 明文</li></ul>
|
|
319
|
+
*/
|
|
320
|
+
UserPhoneEncrypt?: string;
|
|
321
|
+
/**
|
|
322
|
+
* <p>微信开放账号</p>
|
|
323
|
+
*/
|
|
324
|
+
WeChatOpenId?: string;
|
|
325
|
+
/**
|
|
326
|
+
* <p>QQ开放账号</p>
|
|
327
|
+
*/
|
|
328
|
+
QQOpenId?: string;
|
|
329
|
+
/**
|
|
330
|
+
* <p>QQ应用ID,当传入QQ开放账号时,该字段必填,QQ分配给网站或应用的AppId,用来唯一标识网站或应用</p>
|
|
331
|
+
*/
|
|
332
|
+
QQAppId?: string;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* 提现事件详情
|
|
336
|
+
*/
|
|
337
|
+
export interface WithdrawEvent {
|
|
338
|
+
/**
|
|
339
|
+
* <p>提现金额</p>
|
|
340
|
+
*/
|
|
341
|
+
Amount: Amount;
|
|
342
|
+
/**
|
|
343
|
+
* <p>提现方式</p><p>枚举值:</p><ul><li>card: 银行卡</li><li>wallet: 电子钱包</li></ul>
|
|
344
|
+
*/
|
|
345
|
+
Method: string;
|
|
346
|
+
/**
|
|
347
|
+
* <p>提现银行卡,当提现方式是card时必填</p>
|
|
348
|
+
*/
|
|
349
|
+
Card?: Card;
|
|
350
|
+
/**
|
|
351
|
+
* <p>提现数字钱包,当提现方式是wallet时必填</p>
|
|
352
|
+
*/
|
|
353
|
+
Wallet?: Wallet;
|
|
354
|
+
/**
|
|
355
|
+
* <p>提现结果</p>
|
|
356
|
+
*/
|
|
357
|
+
Result?: Result;
|
|
358
|
+
/**
|
|
359
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
360
|
+
*/
|
|
361
|
+
Cust?: Array<Cust>;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* 商家信息
|
|
365
|
+
*/
|
|
366
|
+
export interface Merchant {
|
|
367
|
+
/**
|
|
368
|
+
* <p>商家ID</p>
|
|
369
|
+
*/
|
|
370
|
+
MerchantId: string;
|
|
371
|
+
/**
|
|
372
|
+
* <p>商家名称</p>
|
|
373
|
+
*/
|
|
374
|
+
Name?: string;
|
|
375
|
+
/**
|
|
376
|
+
* <p>商家的注册时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
377
|
+
*/
|
|
378
|
+
RegisterTime?: string;
|
|
379
|
+
/**
|
|
380
|
+
* <p>商家类别代码</p><p>参数格式:符合ISO 18245标准的4位编号</p>
|
|
381
|
+
*/
|
|
382
|
+
Category?: string;
|
|
383
|
+
/**
|
|
384
|
+
* <p>商家电话</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
385
|
+
*/
|
|
386
|
+
Phone?: string;
|
|
387
|
+
/**
|
|
388
|
+
* <p>商家邮件</p>
|
|
389
|
+
*/
|
|
390
|
+
Email?: string;
|
|
391
|
+
/**
|
|
392
|
+
* <p>商家店铺网址</p>
|
|
393
|
+
*/
|
|
394
|
+
URL?: string;
|
|
395
|
+
/**
|
|
396
|
+
* <p>商家地址</p>
|
|
397
|
+
*/
|
|
398
|
+
Address?: Address;
|
|
399
|
+
/**
|
|
400
|
+
* <p>商家等级</p>
|
|
401
|
+
*/
|
|
402
|
+
Level?: string;
|
|
403
|
+
/**
|
|
404
|
+
* <p>经营类型</p><p>枚举值:</p><ul><li>person: 个人</li><li>company: 企业</li></ul>
|
|
405
|
+
*/
|
|
406
|
+
BusinessType?: string;
|
|
407
|
+
/**
|
|
408
|
+
* <p>商家在售商品数量</p>
|
|
409
|
+
*/
|
|
410
|
+
GoodsQuantity?: number;
|
|
411
|
+
/**
|
|
412
|
+
* <p>商家历史销售数量</p>
|
|
413
|
+
*/
|
|
414
|
+
HistoricSalesQuantity?: number;
|
|
415
|
+
/**
|
|
416
|
+
* <p>商家历史销售总额</p>
|
|
417
|
+
*/
|
|
418
|
+
HistoricSalesAmount?: Amount;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* 物流信息
|
|
422
|
+
*/
|
|
423
|
+
export interface Delivery {
|
|
424
|
+
/**
|
|
425
|
+
* <p>物流方式</p><ul><li>physical:物理投送</li><li>electonic:电子投送</li></ul>
|
|
426
|
+
*/
|
|
427
|
+
DeliveryMethod?: string;
|
|
428
|
+
/**
|
|
429
|
+
* <p>物流费用</p>
|
|
430
|
+
*/
|
|
431
|
+
DeliveryAmount?: Amount;
|
|
432
|
+
/**
|
|
433
|
+
* <p>收货地址</p>
|
|
434
|
+
*/
|
|
435
|
+
DeliveryAddress?: Address;
|
|
436
|
+
/**
|
|
437
|
+
* <p>收货人电话</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
438
|
+
*/
|
|
439
|
+
ConsigneePhone?: string;
|
|
440
|
+
/**
|
|
441
|
+
* <p>收货人邮箱</p>
|
|
442
|
+
*/
|
|
443
|
+
ConsigneeEmail?: string;
|
|
444
|
+
/**
|
|
445
|
+
* <p>收货人姓名</p>
|
|
446
|
+
*/
|
|
447
|
+
ConsigneeName?: string;
|
|
448
|
+
/**
|
|
449
|
+
* <p>是否加急</p>
|
|
450
|
+
*/
|
|
451
|
+
Expedited?: boolean;
|
|
452
|
+
/**
|
|
453
|
+
* <p>物流厂商,一般是物流的公司</p>
|
|
454
|
+
*/
|
|
455
|
+
DeliveryCarrier?: string;
|
|
456
|
+
/**
|
|
457
|
+
* <p>物流追踪单号</p>
|
|
458
|
+
*/
|
|
459
|
+
DeliveryTracking?: string;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* 与RCE约定的定制化参数,K:V 格式的对象数组
|
|
463
|
+
*/
|
|
464
|
+
export interface Cust {
|
|
465
|
+
/**
|
|
466
|
+
* <p>标识符</p>
|
|
467
|
+
*/
|
|
468
|
+
Key?: string;
|
|
469
|
+
/**
|
|
470
|
+
* <p>数据</p>
|
|
471
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
472
|
+
*/
|
|
473
|
+
Value?: string;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* 环境风险评估返回结果
|
|
477
|
+
*/
|
|
478
|
+
export interface AssessEnvironmentRiskRsp {
|
|
479
|
+
/**
|
|
480
|
+
* <p>IP环境风险分信息</p>
|
|
481
|
+
*/
|
|
482
|
+
Score?: DataScore;
|
|
483
|
+
/**
|
|
484
|
+
* <p>IP环境基础信息</p>
|
|
485
|
+
*/
|
|
486
|
+
Environment?: Environment;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* AssessEnvironmentRisk返回参数结构体
|
|
490
|
+
*/
|
|
491
|
+
export interface AssessEnvironmentRiskResponse {
|
|
492
|
+
/**
|
|
493
|
+
* <p>环境风险评估返回结果</p>
|
|
494
|
+
*/
|
|
495
|
+
Data?: AssessEnvironmentRiskRsp;
|
|
496
|
+
/**
|
|
497
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
498
|
+
*/
|
|
499
|
+
RequestId?: string;
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* 支付方式,支持多种支付方式
|
|
503
|
+
*/
|
|
504
|
+
export interface PaymentMethod {
|
|
505
|
+
/**
|
|
506
|
+
* <p>支付方式</p><p>枚举值:</p><ul><li>cash: 现金</li><li>check: 支票</li><li>credit_card: 信用卡</li><li>debit_card: 借记卡</li><li>crypto_currency: 加密货币</li><li>digital_wallet: 数字钱包</li><li>gift_card: 礼品卡</li><li>points: 积分</li><li>in_app_purchase: APP内购买</li><li>electronic_fund_transfer: 电子资金转账</li><li>financing: 融资</li><li>invoice: 发票</li><li>prepaid_card: 预付卡</li><li>sepa_credit: SEPA信用转账</li></ul>
|
|
507
|
+
*/
|
|
508
|
+
PaymentType: string;
|
|
509
|
+
/**
|
|
510
|
+
* <p>支付渠道</p>
|
|
511
|
+
*/
|
|
512
|
+
PaymentChannel?: string;
|
|
513
|
+
/**
|
|
514
|
+
* <p>银行卡信息,当用支付方式是credit_card、debit_card时必填</p>
|
|
515
|
+
*/
|
|
516
|
+
Card?: Card;
|
|
517
|
+
/**
|
|
518
|
+
* <p>SEPA直接借记授权</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
519
|
+
*/
|
|
520
|
+
SEPADirectDebitMandate?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* <p>数字钱包</p>
|
|
523
|
+
*/
|
|
524
|
+
DigitalWallet?: Wallet;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* 抽奖事件详情
|
|
528
|
+
*/
|
|
529
|
+
export interface LuckyDrawEvent {
|
|
530
|
+
/**
|
|
531
|
+
* <p>营销活动ID</p>
|
|
532
|
+
*/
|
|
533
|
+
PromotionId?: string;
|
|
534
|
+
/**
|
|
535
|
+
* <p>营销活动名称</p>
|
|
536
|
+
*/
|
|
537
|
+
PromotionName?: string;
|
|
538
|
+
/**
|
|
539
|
+
* <p>营销活动描述</p>
|
|
540
|
+
*/
|
|
541
|
+
Description?: string;
|
|
542
|
+
/**
|
|
543
|
+
* <p>邀请人ID</p>
|
|
544
|
+
*/
|
|
545
|
+
InviterUserId?: string;
|
|
546
|
+
/**
|
|
547
|
+
* <p>抽奖次数</p><p>单位:次数</p>
|
|
548
|
+
*/
|
|
549
|
+
LuckyDrawCount?: number;
|
|
550
|
+
/**
|
|
551
|
+
* <p>抽奖类型</p>
|
|
552
|
+
*/
|
|
553
|
+
LuckyDrawType?: string;
|
|
554
|
+
/**
|
|
555
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
556
|
+
*/
|
|
557
|
+
Cust?: Array<Cust>;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* AssessDeviceRiskPremiumPro请求参数结构体
|
|
561
|
+
*/
|
|
562
|
+
export interface AssessDeviceRiskPremiumProRequest {
|
|
563
|
+
/**
|
|
564
|
+
* <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
|
|
565
|
+
*/
|
|
566
|
+
DeviceToken: string;
|
|
567
|
+
/**
|
|
568
|
+
* <p>客户端 IP 地址(IPv4或IPv6)</p>
|
|
569
|
+
*/
|
|
570
|
+
UserIp?: string;
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* 订单信息
|
|
574
|
+
*/
|
|
575
|
+
export interface Order {
|
|
576
|
+
/**
|
|
577
|
+
* <p>订单ID</p>
|
|
578
|
+
*/
|
|
579
|
+
OrderId: string;
|
|
580
|
+
/**
|
|
581
|
+
* <p>订单金额</p>
|
|
582
|
+
*/
|
|
583
|
+
Amount: Amount;
|
|
584
|
+
/**
|
|
585
|
+
* <p>商品信息</p>
|
|
586
|
+
*/
|
|
587
|
+
Items?: Array<Item>;
|
|
588
|
+
/**
|
|
589
|
+
* <p>物流信息</p>
|
|
590
|
+
*/
|
|
591
|
+
Delivery?: Delivery;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* AssessDeviceRiskPro返回参数结构体
|
|
595
|
+
*/
|
|
596
|
+
export interface AssessDeviceRiskProResponse {
|
|
597
|
+
/**
|
|
598
|
+
* <p>设备风险评估基础版返回结果</p>
|
|
599
|
+
*/
|
|
600
|
+
Data?: AssessDeviceRiskRsp;
|
|
601
|
+
/**
|
|
602
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
603
|
+
*/
|
|
604
|
+
RequestId?: string;
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* 账号信息
|
|
608
|
+
*/
|
|
609
|
+
export interface User {
|
|
610
|
+
/**
|
|
611
|
+
* <p>用户等级</p>
|
|
612
|
+
*/
|
|
613
|
+
UserLevel?: string;
|
|
614
|
+
/**
|
|
615
|
+
* <p>用户积分</p>
|
|
616
|
+
*/
|
|
617
|
+
UserPoint?: CreditPoint;
|
|
618
|
+
/**
|
|
619
|
+
* <p>用户类型</p>
|
|
620
|
+
*/
|
|
621
|
+
UserType?: string;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* 地址
|
|
625
|
+
*/
|
|
626
|
+
export interface Address {
|
|
627
|
+
/**
|
|
628
|
+
* <p>国家</p><p>参数格式:符合ISO 3166标准</p>
|
|
629
|
+
*/
|
|
630
|
+
Country?: string;
|
|
631
|
+
/**
|
|
632
|
+
* <p>省份</p>
|
|
633
|
+
*/
|
|
634
|
+
Region?: string;
|
|
635
|
+
/**
|
|
636
|
+
* <p>城市</p>
|
|
637
|
+
*/
|
|
638
|
+
City?: string;
|
|
639
|
+
/**
|
|
640
|
+
* <p>地区</p>
|
|
641
|
+
*/
|
|
642
|
+
District?: string;
|
|
643
|
+
/**
|
|
644
|
+
* <p>详细地址</p>
|
|
645
|
+
*/
|
|
646
|
+
Detail?: string;
|
|
647
|
+
/**
|
|
648
|
+
* <p>邮政编码</p>
|
|
649
|
+
*/
|
|
650
|
+
ZipCode?: string;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* 设备基础信息
|
|
654
|
+
*/
|
|
655
|
+
export interface Device {
|
|
656
|
+
/**
|
|
657
|
+
* <p>设备ID</p>
|
|
658
|
+
*/
|
|
659
|
+
DeviceId?: string;
|
|
660
|
+
/**
|
|
661
|
+
* <p>App版本信息</p>
|
|
662
|
+
*/
|
|
663
|
+
AppVersion?: string;
|
|
664
|
+
/**
|
|
665
|
+
* <p>品牌</p>
|
|
666
|
+
*/
|
|
667
|
+
Brand?: string;
|
|
668
|
+
/**
|
|
669
|
+
* <p>客户端IP</p>
|
|
670
|
+
*/
|
|
671
|
+
ClientIp?: string;
|
|
672
|
+
/**
|
|
673
|
+
* <p>机型</p>
|
|
674
|
+
*/
|
|
675
|
+
Model?: string;
|
|
676
|
+
/**
|
|
677
|
+
* <p>网络类型</p>
|
|
678
|
+
*/
|
|
679
|
+
NetworkType?: string;
|
|
680
|
+
/**
|
|
681
|
+
* <p>应用包名</p>
|
|
682
|
+
*/
|
|
683
|
+
PackageName?: string;
|
|
684
|
+
/**
|
|
685
|
+
* <p>平台</p><p>枚举值:</p><ul><li>2: Android</li><li>3: IOS</li><li>4: H5</li><li>5: 微信小程序</li></ul>
|
|
686
|
+
*/
|
|
687
|
+
Platform?: string;
|
|
688
|
+
/**
|
|
689
|
+
* <p>系统版本</p>
|
|
690
|
+
*/
|
|
691
|
+
SystemVersion?: string;
|
|
692
|
+
/**
|
|
693
|
+
* <p>SDK版本</p>
|
|
694
|
+
*/
|
|
695
|
+
SdkBuildVersion?: string;
|
|
696
|
+
/**
|
|
697
|
+
* <p>验签token,验签功能启用请联系我们。</p>
|
|
698
|
+
*/
|
|
699
|
+
SignToken?: string;
|
|
700
|
+
/**
|
|
701
|
+
* <p>token生成时间戳,毫秒级。</p>
|
|
702
|
+
*/
|
|
703
|
+
TokenTime?: string;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* 数据授权信息
|
|
707
|
+
*/
|
|
708
|
+
export interface DataAuthorization {
|
|
709
|
+
/**
|
|
710
|
+
* <p>数据委托方,客户主体名称</p>
|
|
711
|
+
*/
|
|
712
|
+
DataProviderName?: string;
|
|
713
|
+
/**
|
|
714
|
+
* <p>数据受托方,腾讯云主体名称,固定填:腾讯云计算(北京)有限责任公司</p>
|
|
715
|
+
*/
|
|
716
|
+
DataRecipientName?: string;
|
|
717
|
+
/**
|
|
718
|
+
* <p>客户请求RCE所提供的用户数据类型,支持多选</p><p>枚举值:</p><ul><li>1: 手机号</li><li>2: 微信开放账号</li><li>3: QQ开放账号</li><li>4: IP地址</li><li>5: URL网址</li><li>999: 其他</li></ul>
|
|
719
|
+
*/
|
|
720
|
+
UserDataType?: Array<number | bigint>;
|
|
721
|
+
/**
|
|
722
|
+
* <p>客户是否已按合规指南要求获取用户授权,同意客户委托腾讯云处理入参信息</p><p>枚举值:</p><ul><li>true: 已授权</li><li>false: 未授权</li></ul>
|
|
723
|
+
*/
|
|
724
|
+
IsAuthorized?: boolean;
|
|
725
|
+
/**
|
|
726
|
+
* <p>客户是否已按合规指南要求获取用户授权,同意腾讯云结合客户提供的信息,对已合法收集的用户数据进行必要处理得出服务结果,并返回给客户</p><p>枚举值:</p><ul><li>true: 已授权</li><li>false: 未授权</li></ul>
|
|
727
|
+
*/
|
|
728
|
+
IsOrderHanding?: boolean;
|
|
729
|
+
/**
|
|
730
|
+
* <p>客户获得的用户授权期限Unix时间戳(单位秒),不填默认无固定期限</p>
|
|
731
|
+
*/
|
|
732
|
+
AuthorizationDeadline?: number;
|
|
733
|
+
/**
|
|
734
|
+
* <p>客户获得用户授权所依赖的协议地址</p>
|
|
735
|
+
*/
|
|
736
|
+
PrivacyPolicyLink?: string;
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* 创建订单事件详情
|
|
740
|
+
*/
|
|
741
|
+
export interface CreateOrderEvent {
|
|
742
|
+
/**
|
|
743
|
+
* <p>订单ID</p>
|
|
744
|
+
*/
|
|
745
|
+
OrderId: string;
|
|
746
|
+
/**
|
|
747
|
+
* <p>订单金额</p>
|
|
748
|
+
*/
|
|
749
|
+
Amount: Amount;
|
|
750
|
+
/**
|
|
751
|
+
* <p>商家信息</p>
|
|
752
|
+
*/
|
|
753
|
+
Merchant: Merchant;
|
|
754
|
+
/**
|
|
755
|
+
* <p>账单信息</p>
|
|
756
|
+
*/
|
|
757
|
+
Billing?: Billing;
|
|
758
|
+
/**
|
|
759
|
+
* <p>商品信息</p>
|
|
760
|
+
*/
|
|
761
|
+
Items?: Array<Item>;
|
|
762
|
+
/**
|
|
763
|
+
* <p>物流信息</p>
|
|
764
|
+
*/
|
|
765
|
+
Delivery?: Delivery;
|
|
766
|
+
/**
|
|
767
|
+
* <p>营销活动信息</p>
|
|
768
|
+
*/
|
|
769
|
+
Promotions?: Array<Promotion>;
|
|
770
|
+
/**
|
|
771
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
772
|
+
*/
|
|
773
|
+
Cust?: Array<Cust>;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* 银行卡
|
|
777
|
+
*/
|
|
778
|
+
export interface Card {
|
|
779
|
+
/**
|
|
780
|
+
* <p>发卡行识别码卡号前6位</p><p>参数格式:符合ISO 13616-1标准</p>
|
|
781
|
+
*/
|
|
782
|
+
CardBin: string;
|
|
783
|
+
/**
|
|
784
|
+
* <p>发卡行识别码卡号后4位</p><p>参数格式:符合ISO 13616-1标准</p>
|
|
785
|
+
*/
|
|
786
|
+
LastFourDigits: string;
|
|
787
|
+
/**
|
|
788
|
+
* <p>发行国家</p>
|
|
789
|
+
*/
|
|
790
|
+
Country?: string;
|
|
791
|
+
/**
|
|
792
|
+
* <p>发行银行</p>
|
|
793
|
+
*/
|
|
794
|
+
Bank?: string;
|
|
795
|
+
/**
|
|
796
|
+
* <p>支付卡类型</p><p>枚举值:</p><ul><li>credit: 信用卡</li><li>debit: 借记卡</li><li>charge: 签账卡</li></ul>
|
|
797
|
+
*/
|
|
798
|
+
Type?: string;
|
|
799
|
+
/**
|
|
800
|
+
* <p>支付卡品牌</p>
|
|
801
|
+
*/
|
|
802
|
+
Brand?: string;
|
|
803
|
+
/**
|
|
804
|
+
* <p>支付卡等级</p>
|
|
805
|
+
*/
|
|
806
|
+
Level?: string;
|
|
807
|
+
/**
|
|
808
|
+
* <p>持有者姓名</p>
|
|
809
|
+
*/
|
|
810
|
+
HolderName?: string;
|
|
811
|
+
/**
|
|
812
|
+
* <p>过期日期</p><p>参数格式:YYYY-MM-DD</p>
|
|
813
|
+
*/
|
|
814
|
+
ExpireTime?: string;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* 事件结果
|
|
818
|
+
*/
|
|
819
|
+
export interface Result {
|
|
820
|
+
/**
|
|
821
|
+
* <p>实际是否完成状态</p><p>枚举值:</p><ul><li>success: 成功</li><li>failure: 失败</li></ul>
|
|
822
|
+
*/
|
|
823
|
+
Status: string;
|
|
824
|
+
/**
|
|
825
|
+
* <p>失败原因</p>
|
|
826
|
+
*/
|
|
827
|
+
FailureReason?: string;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* ReportEvent返回参数结构体
|
|
831
|
+
*/
|
|
832
|
+
export interface ReportEventResponse {
|
|
833
|
+
/**
|
|
834
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
835
|
+
*/
|
|
836
|
+
RequestId?: string;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* 风险标签
|
|
840
|
+
*/
|
|
841
|
+
export interface RiskLabel {
|
|
842
|
+
/**
|
|
843
|
+
* <p>风险ID</p>
|
|
844
|
+
*/
|
|
845
|
+
Id?: string;
|
|
846
|
+
/**
|
|
847
|
+
* <p>风险描述</p>
|
|
848
|
+
*/
|
|
849
|
+
Reason?: string;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* 自定义事件
|
|
853
|
+
*/
|
|
854
|
+
export interface CustEvent {
|
|
855
|
+
/**
|
|
856
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
857
|
+
*/
|
|
858
|
+
Cust?: Array<Cust>;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* IP地理位置信息
|
|
862
|
+
*/
|
|
863
|
+
export interface IPLocation {
|
|
864
|
+
/**
|
|
865
|
+
* <p>IP地址所属国家</p>
|
|
866
|
+
*/
|
|
867
|
+
Country?: string;
|
|
868
|
+
/**
|
|
869
|
+
* <p>IP地址所属省份</p>
|
|
870
|
+
*/
|
|
871
|
+
Region?: string;
|
|
872
|
+
/**
|
|
873
|
+
* <p>IP地址所属城市</p>
|
|
874
|
+
*/
|
|
875
|
+
City?: string;
|
|
876
|
+
/**
|
|
877
|
+
* <p>IP地址所属地区</p>
|
|
878
|
+
*/
|
|
879
|
+
District?: string;
|
|
880
|
+
/**
|
|
881
|
+
* <p>IP地址的经度</p>
|
|
882
|
+
*/
|
|
883
|
+
Longitude?: string;
|
|
884
|
+
/**
|
|
885
|
+
* <p>IP地址的纬度</p>
|
|
886
|
+
*/
|
|
887
|
+
Latitude?: string;
|
|
888
|
+
/**
|
|
889
|
+
* <p>IP地址所属时区</p>
|
|
890
|
+
*/
|
|
891
|
+
Timezone?: string;
|
|
892
|
+
/**
|
|
893
|
+
* <p>IP地址的邮政编码</p>
|
|
894
|
+
*/
|
|
895
|
+
ZipCode?: string;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* 风险分信息
|
|
899
|
+
*/
|
|
900
|
+
export interface DataScore {
|
|
901
|
+
/**
|
|
902
|
+
* <p>风险等级</p>
|
|
903
|
+
*/
|
|
904
|
+
RiskLevel?: number;
|
|
905
|
+
/**
|
|
906
|
+
* <p>风险标签</p>
|
|
907
|
+
*/
|
|
908
|
+
RiskLabels?: Array<RiskLabel>;
|
|
909
|
+
/**
|
|
910
|
+
* <p>综合风险分数。</p><p>取值范围:[1, 1000]</p><p>数值越大,风险越大。</p>
|
|
911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
912
|
+
*/
|
|
913
|
+
RiskScore?: number;
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
* 浏览事件详情
|
|
917
|
+
*/
|
|
918
|
+
export interface BrowseEvent {
|
|
919
|
+
/**
|
|
920
|
+
* <p>当前浏览网页的类型,例如主页、搜索页等</p>
|
|
921
|
+
*/
|
|
922
|
+
PageType?: string;
|
|
923
|
+
/**
|
|
924
|
+
* <p>当前浏览的网页URL</p>
|
|
925
|
+
*/
|
|
926
|
+
PageUrl?: string;
|
|
927
|
+
/**
|
|
928
|
+
* <p>浏览耗时</p><p>单位:毫秒</p>
|
|
929
|
+
*/
|
|
930
|
+
Duration?: number;
|
|
931
|
+
/**
|
|
932
|
+
* <p>网页内容类型,例如广告、视频、文章等</p>
|
|
933
|
+
*/
|
|
934
|
+
ContentType?: string;
|
|
935
|
+
/**
|
|
936
|
+
* <p>网页内容ID</p>
|
|
937
|
+
*/
|
|
938
|
+
ContentId?: string;
|
|
939
|
+
/**
|
|
940
|
+
* <p>上一个网页的类型,例如主页、搜索页等</p>
|
|
941
|
+
*/
|
|
942
|
+
ReferPageType?: string;
|
|
943
|
+
/**
|
|
944
|
+
* <p>上一个网页URL</p>
|
|
945
|
+
*/
|
|
946
|
+
ReferPageUrl?: string;
|
|
947
|
+
/**
|
|
948
|
+
* <p>游客账号ID</p>
|
|
949
|
+
*/
|
|
950
|
+
GuestId?: string;
|
|
951
|
+
/**
|
|
952
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
953
|
+
*/
|
|
954
|
+
Cust?: Array<Cust>;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* AssessDeviceRiskPremiumPro返回参数结构体
|
|
958
|
+
*/
|
|
959
|
+
export interface AssessDeviceRiskPremiumProResponse {
|
|
960
|
+
/**
|
|
961
|
+
* <p>设备风险评估高级版返回结果</p>
|
|
962
|
+
*/
|
|
963
|
+
Data?: AssessDeviceRiskPremiumRsp;
|
|
964
|
+
/**
|
|
965
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
966
|
+
*/
|
|
967
|
+
RequestId?: string;
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* AssessDeviceRiskPro请求参数结构体
|
|
971
|
+
*/
|
|
972
|
+
export interface AssessDeviceRiskProRequest {
|
|
973
|
+
/**
|
|
974
|
+
* <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
|
|
975
|
+
*/
|
|
976
|
+
DeviceToken: string;
|
|
977
|
+
/**
|
|
978
|
+
* <p>客户端 IP 地址(IPv4或IPv6)</p>
|
|
979
|
+
*/
|
|
980
|
+
UserIp?: string;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* 账号积分
|
|
984
|
+
*/
|
|
985
|
+
export interface CreditPoint {
|
|
986
|
+
/**
|
|
987
|
+
* <p>积分分值</p>
|
|
988
|
+
*/
|
|
989
|
+
Point: number;
|
|
990
|
+
/**
|
|
991
|
+
* <p>积分类型</p>
|
|
992
|
+
*/
|
|
993
|
+
PointType: string;
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* 商品信息
|
|
997
|
+
*/
|
|
998
|
+
export interface Item {
|
|
999
|
+
/**
|
|
1000
|
+
* <p>商品ID</p>
|
|
1001
|
+
*/
|
|
1002
|
+
ItemId: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>商品名称</p>
|
|
1005
|
+
*/
|
|
1006
|
+
ItemName?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>商品类别</p>
|
|
1009
|
+
*/
|
|
1010
|
+
Category?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>商品单价</p>
|
|
1013
|
+
*/
|
|
1014
|
+
Price?: Amount;
|
|
1015
|
+
/**
|
|
1016
|
+
* <p>如果商品有UPC码(Universal Product Code),请提供</p>
|
|
1017
|
+
*/
|
|
1018
|
+
UPC?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>如果商品有EAN码(European Article Number),请提供</p>
|
|
1021
|
+
*/
|
|
1022
|
+
EAN?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>如果商品有SKU码(Stock Keeping Unit),请提供</p>
|
|
1025
|
+
*/
|
|
1026
|
+
SKU?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>如果商品有ISBN码(International Standard Book Number ),请提供</p>
|
|
1029
|
+
*/
|
|
1030
|
+
ISBN?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>商品品牌</p>
|
|
1033
|
+
*/
|
|
1034
|
+
Brand?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>商品数量</p>
|
|
1037
|
+
*/
|
|
1038
|
+
Quantity?: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>生产厂商</p>
|
|
1041
|
+
*/
|
|
1042
|
+
Manufacturer?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>商品标签</p>
|
|
1045
|
+
*/
|
|
1046
|
+
Tags?: string;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* 金额
|
|
1050
|
+
*/
|
|
1051
|
+
export interface Amount {
|
|
1052
|
+
/**
|
|
1053
|
+
* <p>原始货币类型</p><p>参数格式:符合ISO 4217标准</p>
|
|
1054
|
+
*/
|
|
1055
|
+
Currency: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>原始金额</p>
|
|
1058
|
+
*/
|
|
1059
|
+
OriginalAmount: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>当前币种对美金的汇率</p>
|
|
1062
|
+
*/
|
|
1063
|
+
ExchangeRateUSD?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>当前币种对人民币的汇率</p>
|
|
1066
|
+
*/
|
|
1067
|
+
ExchangeRateCNY?: number;
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* 短信事件详情
|
|
1071
|
+
*/
|
|
1072
|
+
export interface SMSEvent {
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>用户基础信息</p>
|
|
1075
|
+
*/
|
|
1076
|
+
UserInfo?: User;
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>本次短信发送标识 ID</p>
|
|
1079
|
+
*/
|
|
1080
|
+
SMSId?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* <p>用户实际完成验证码时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
1083
|
+
*/
|
|
1084
|
+
ReceivedTime?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>记录用户收到短信的动作</p><ul><li>no_action:用户无动作</li><li>safe:用户确认本人操作</li><li>compromised:用户反馈为第三方操作</li></ul>
|
|
1087
|
+
*/
|
|
1088
|
+
Action?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>短信回执结果</p>
|
|
1091
|
+
*/
|
|
1092
|
+
SMSResult?: Result;
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1095
|
+
*/
|
|
1096
|
+
Cust?: Array<Cust>;
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* AssessRisk返回参数结构体
|
|
1100
|
+
*/
|
|
1101
|
+
export interface AssessRiskResponse {
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>事件风险评估结果</p>
|
|
1104
|
+
*/
|
|
1105
|
+
Data?: AssessRiskRsp;
|
|
1106
|
+
/**
|
|
1107
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1108
|
+
*/
|
|
1109
|
+
RequestId?: string;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* AssessEnvironmentRisk请求参数结构体
|
|
1113
|
+
*/
|
|
1114
|
+
export interface AssessEnvironmentRiskRequest {
|
|
1115
|
+
/**
|
|
1116
|
+
* <p>客户端 IP 地址(IPv4或IPv6)</p>
|
|
1117
|
+
*/
|
|
1118
|
+
UserIp: string;
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* 参加营销活动事件详情
|
|
1122
|
+
*/
|
|
1123
|
+
export interface AddPromotionEvent {
|
|
1124
|
+
/**
|
|
1125
|
+
* <p>营销活动ID</p>
|
|
1126
|
+
*/
|
|
1127
|
+
PromotionId: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>营销活动名称</p>
|
|
1130
|
+
*/
|
|
1131
|
+
PromotionName?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>营销活动描述</p>
|
|
1134
|
+
*/
|
|
1135
|
+
Description?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>邀请人ID</p>
|
|
1138
|
+
*/
|
|
1139
|
+
InviterUserId?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>营销活动关联的优惠券</p>
|
|
1142
|
+
*/
|
|
1143
|
+
Coupon?: Coupon;
|
|
1144
|
+
/**
|
|
1145
|
+
* <p>营销活动关联的积分活动</p>
|
|
1146
|
+
*/
|
|
1147
|
+
Point?: CreditPoint;
|
|
1148
|
+
/**
|
|
1149
|
+
* <p>参加营销活动结果</p>
|
|
1150
|
+
*/
|
|
1151
|
+
Result?: Result;
|
|
1152
|
+
/**
|
|
1153
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1154
|
+
*/
|
|
1155
|
+
Cust?: Array<Cust>;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* 营销活动
|
|
1159
|
+
*/
|
|
1160
|
+
export interface Promotion {
|
|
1161
|
+
/**
|
|
1162
|
+
* <p>营销活动ID</p>
|
|
1163
|
+
*/
|
|
1164
|
+
PromotionId: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>营销活动名称</p>
|
|
1167
|
+
*/
|
|
1168
|
+
PromotionName?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* <p>营销活动描述</p>
|
|
1171
|
+
*/
|
|
1172
|
+
Description?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* <p>邀请人ID</p>
|
|
1175
|
+
*/
|
|
1176
|
+
InviterUserId?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* <p>优惠券</p>
|
|
1179
|
+
*/
|
|
1180
|
+
Coupon?: Coupon;
|
|
1181
|
+
/**
|
|
1182
|
+
* <p>积分</p>
|
|
1183
|
+
*/
|
|
1184
|
+
CreditPoint?: CreditPoint;
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* 修改账号事件详情
|
|
1188
|
+
*/
|
|
1189
|
+
export interface ModifyAccountEvent {
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>用户基础信息</p>
|
|
1192
|
+
*/
|
|
1193
|
+
UserInfo?: User;
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>用户填写的个人信息</p>
|
|
1196
|
+
*/
|
|
1197
|
+
Person?: Person;
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>用户填写的账单地址</p>
|
|
1200
|
+
*/
|
|
1201
|
+
BillingAddress?: Address;
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>用户填写的收货地址</p>
|
|
1204
|
+
*/
|
|
1205
|
+
DeliveryAddress?: Address;
|
|
1206
|
+
/**
|
|
1207
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1208
|
+
*/
|
|
1209
|
+
Cust?: Array<Cust>;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* 邀请人信息
|
|
1213
|
+
*/
|
|
1214
|
+
export interface Inviter {
|
|
1215
|
+
/**
|
|
1216
|
+
* <p>邀请人ID</p>
|
|
1217
|
+
*/
|
|
1218
|
+
InviterUserId: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* <p>邀请人电话号码</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
1221
|
+
*/
|
|
1222
|
+
InviterPhone?: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* <p>邀请码</p>
|
|
1225
|
+
*/
|
|
1226
|
+
InviteCode?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>邀请渠道</p>
|
|
1229
|
+
*/
|
|
1230
|
+
InviteChannel?: string;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* 登出事件详情
|
|
1234
|
+
*/
|
|
1235
|
+
export interface LogoutEvent {
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>用户基础信息</p>
|
|
1238
|
+
*/
|
|
1239
|
+
UserInfo?: User;
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>用户登录时输入的用户名</p>
|
|
1242
|
+
*/
|
|
1243
|
+
UserLoginName?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1246
|
+
*/
|
|
1247
|
+
Cust?: Array<Cust>;
|
|
1248
|
+
}
|
|
1249
|
+
/**
|
|
1250
|
+
* 浏览器信息
|
|
1251
|
+
*/
|
|
1252
|
+
export interface Browser {
|
|
1253
|
+
/**
|
|
1254
|
+
* <p>与网站交互的浏览器的用户代理</p>
|
|
1255
|
+
*/
|
|
1256
|
+
UserAgent?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* <p>浏览器支持的用户请求语言</p><p>参数格式:符合ISO 3166标准</p>
|
|
1259
|
+
*/
|
|
1260
|
+
AcceptLanguage?: string;
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>浏览器当前网站内容的语言</p><p>参数格式:符合ISO 3166标准</p>
|
|
1263
|
+
*/
|
|
1264
|
+
ContentLanguage?: string;
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* 支付结果
|
|
1268
|
+
*/
|
|
1269
|
+
export interface PaymentResult {
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>支付状态</p><p>枚举值:</p><ul><li>success: 成功</li><li>failure: 失败</li></ul>
|
|
1272
|
+
*/
|
|
1273
|
+
Status: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* <p>支付失败原因</p>
|
|
1276
|
+
*/
|
|
1277
|
+
FailureReason?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* <p>是否使用3DS,枚举值:</p><ul><li>是:true</li><li>否:false</li></ul>
|
|
1280
|
+
*/
|
|
1281
|
+
ThreeDomainSecure?: boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>ECI返回码</p>
|
|
1284
|
+
*/
|
|
1285
|
+
ECICode?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>AVS响应结果(地址验证)</p>
|
|
1288
|
+
*/
|
|
1289
|
+
AVSCode?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* <p>CVC验证结果(交易真实性验证)</p>
|
|
1292
|
+
*/
|
|
1293
|
+
CVCCode?: string;
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* 交易事件详情
|
|
1297
|
+
*/
|
|
1298
|
+
export interface TransactionEvent {
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>交易唯一标识</p>
|
|
1301
|
+
*/
|
|
1302
|
+
TransactionId: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>您系统中的订单 ID,当一笔交易关联多个订单(合并支付)时请输入所有订单ID</p>
|
|
1305
|
+
*/
|
|
1306
|
+
OrderId: Array<string>;
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>交易金额</p>
|
|
1309
|
+
*/
|
|
1310
|
+
PaymentAmount: Amount;
|
|
1311
|
+
/**
|
|
1312
|
+
* <p>支付方式,支持多种支付方式</p>
|
|
1313
|
+
*/
|
|
1314
|
+
PaymentMethod: PaymentMethod;
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>交易类型</p><p>枚举值:</p><ul><li>sale: 一次性完成授权与扣款(最常见)</li><li>authorize: 仅授权(冻结金额)</li><li>capture: 执行扣款(在授权后)</li><li>void: 取消待处理的授权或扣款</li><li>refund: 退款(部分或全部)</li><li>deposit: 向账户存款</li><li>withdrawal: 从账户提现</li><li>transfer: 账户间转账</li><li>buy: 购买资产(如加密货币)</li><li>sell: 出售资产</li><li>send: 发送资金/资产(如跨钱包转账)</li><li>receive: 接收资金/资产</li></ul><p>默认值:sale</p>
|
|
1317
|
+
*/
|
|
1318
|
+
TransactionType?: string;
|
|
31
1319
|
/**
|
|
32
|
-
* <p
|
|
1320
|
+
* <p>账单信息</p>
|
|
33
1321
|
*/
|
|
34
|
-
|
|
1322
|
+
Billing?: Billing;
|
|
35
1323
|
/**
|
|
36
|
-
* <p
|
|
1324
|
+
* <p>物流信息</p>
|
|
37
1325
|
*/
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* IP地理位置信息
|
|
42
|
-
*/
|
|
43
|
-
export interface IPLocation {
|
|
1326
|
+
Delivery?: Delivery;
|
|
44
1327
|
/**
|
|
45
|
-
* <p
|
|
1328
|
+
* <p>商家信息</p>
|
|
46
1329
|
*/
|
|
47
|
-
|
|
1330
|
+
Merchant?: Merchant;
|
|
48
1331
|
/**
|
|
49
|
-
* <p
|
|
1332
|
+
* <p>支付结果</p>
|
|
50
1333
|
*/
|
|
51
|
-
|
|
1334
|
+
PaymentResult?: PaymentResult;
|
|
52
1335
|
/**
|
|
53
|
-
* <p
|
|
1336
|
+
* <p>接收方的用户ID,适用于 transfer 交易类型</p>
|
|
54
1337
|
*/
|
|
55
|
-
|
|
1338
|
+
TransferRecipientUserId?: string;
|
|
56
1339
|
/**
|
|
57
|
-
* <p
|
|
1340
|
+
* <p>发送方的物理地址,适用于 transfer 交易类型</p>
|
|
58
1341
|
*/
|
|
59
|
-
|
|
1342
|
+
TransferSentAddress?: Address;
|
|
60
1343
|
/**
|
|
61
|
-
* <p
|
|
1344
|
+
* <p>接收方的物理地址,适用于 transfer 交易类型</p>
|
|
62
1345
|
*/
|
|
63
|
-
|
|
1346
|
+
TransferReceivedAddress?: Address;
|
|
64
1347
|
/**
|
|
65
|
-
* <p
|
|
1348
|
+
* <p>数字订单列表</p>
|
|
66
1349
|
*/
|
|
67
|
-
|
|
1350
|
+
DigitalOrders?: Array<DigitalOrder>;
|
|
68
1351
|
/**
|
|
69
|
-
* <p
|
|
1352
|
+
* <p>接收加密货币的钱包</p>
|
|
70
1353
|
*/
|
|
71
|
-
|
|
1354
|
+
ReceiverWallet?: Wallet;
|
|
72
1355
|
/**
|
|
73
|
-
* <p
|
|
1356
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
74
1357
|
*/
|
|
75
|
-
|
|
1358
|
+
Cust?: Array<Cust>;
|
|
76
1359
|
}
|
|
77
1360
|
/**
|
|
78
|
-
*
|
|
1361
|
+
* 事件风险评估返回结果
|
|
79
1362
|
*/
|
|
80
|
-
export interface
|
|
1363
|
+
export interface AssessRiskRsp {
|
|
81
1364
|
/**
|
|
82
|
-
* <p
|
|
1365
|
+
* <p>决策信息</p>
|
|
83
1366
|
*/
|
|
84
|
-
|
|
1367
|
+
Decision?: Decision;
|
|
85
1368
|
/**
|
|
86
|
-
* <p
|
|
1369
|
+
* <p>风险分,根据您开启的产品服务计算的评分结果</p>
|
|
87
1370
|
*/
|
|
88
|
-
|
|
1371
|
+
Score?: Score;
|
|
89
1372
|
/**
|
|
90
|
-
* <p
|
|
1373
|
+
* <p>扩展信息</p>
|
|
91
1374
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
1375
|
*/
|
|
93
|
-
|
|
1376
|
+
ExtraInfo?: Array<Cust>;
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* 修改密码事件详情
|
|
1380
|
+
*/
|
|
1381
|
+
export interface ModifyPasswordEvent {
|
|
1382
|
+
/**
|
|
1383
|
+
* <p>修改原因</p><p>枚举值:</p><ul><li>user_modify: 用户主动修改</li><li>forgot_password: 忘记密码</li><li>forced_reset: 系统强制重置</li></ul>
|
|
1384
|
+
*/
|
|
1385
|
+
Reason?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1388
|
+
*/
|
|
1389
|
+
Cust?: Array<Cust>;
|
|
94
1390
|
}
|
|
95
1391
|
/**
|
|
96
1392
|
* 设备风险评估基础版返回结果
|
|
@@ -111,69 +1407,213 @@ export interface AssessDeviceRiskRsp {
|
|
|
111
1407
|
Environment?: Environment;
|
|
112
1408
|
}
|
|
113
1409
|
/**
|
|
114
|
-
*
|
|
1410
|
+
* 优惠券
|
|
115
1411
|
*/
|
|
116
|
-
export interface
|
|
1412
|
+
export interface Coupon {
|
|
117
1413
|
/**
|
|
118
|
-
* <p
|
|
1414
|
+
* <p>优惠券ID</p>
|
|
119
1415
|
*/
|
|
120
|
-
|
|
1416
|
+
CouponId?: string;
|
|
121
1417
|
/**
|
|
122
|
-
*
|
|
1418
|
+
* <p>优惠券名称</p>
|
|
123
1419
|
*/
|
|
124
|
-
|
|
1420
|
+
CouponName?: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* <p>优惠券开始时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
1423
|
+
*/
|
|
1424
|
+
StartTime?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* <p>优惠券过期时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
1427
|
+
*/
|
|
1428
|
+
ExpireTime?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>折扣百分比,如果折扣为 10%,则发送“0.1”</p>
|
|
1431
|
+
*/
|
|
1432
|
+
PercentageRate?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* <p>折扣金额</p>
|
|
1435
|
+
*/
|
|
1436
|
+
DiscountAmount?: Amount;
|
|
1437
|
+
/**
|
|
1438
|
+
* <p>优惠券门槛</p>
|
|
1439
|
+
*/
|
|
1440
|
+
Threshold?: number;
|
|
125
1441
|
}
|
|
126
1442
|
/**
|
|
127
|
-
*
|
|
1443
|
+
* 注册事件详情
|
|
128
1444
|
*/
|
|
129
|
-
export interface
|
|
1445
|
+
export interface RegisterEvent {
|
|
130
1446
|
/**
|
|
131
|
-
* <p
|
|
1447
|
+
* <p>注册结果</p>
|
|
132
1448
|
*/
|
|
133
|
-
|
|
1449
|
+
RegisterResult?: Result;
|
|
134
1450
|
/**
|
|
135
|
-
*
|
|
1451
|
+
* <p>用户基础信息</p>
|
|
136
1452
|
*/
|
|
137
|
-
|
|
1453
|
+
UserInfo?: User;
|
|
1454
|
+
/**
|
|
1455
|
+
* <p>用户注册时填写的个人信息</p>
|
|
1456
|
+
*/
|
|
1457
|
+
Person?: Person;
|
|
1458
|
+
/**
|
|
1459
|
+
* <p>用户注册时填写的账单地址</p>
|
|
1460
|
+
*/
|
|
1461
|
+
BillingAddress?: Address;
|
|
1462
|
+
/**
|
|
1463
|
+
* <p>用户注册时填写的收货地址</p>
|
|
1464
|
+
*/
|
|
1465
|
+
DeliveryAddress?: Address;
|
|
1466
|
+
/**
|
|
1467
|
+
* <p>邀请人信息</p>
|
|
1468
|
+
*/
|
|
1469
|
+
Inviter?: Inviter;
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1472
|
+
*/
|
|
1473
|
+
Cust?: Array<Cust>;
|
|
138
1474
|
}
|
|
139
1475
|
/**
|
|
140
|
-
*
|
|
1476
|
+
* 应用程序信息
|
|
141
1477
|
*/
|
|
142
|
-
export interface
|
|
1478
|
+
export interface App {
|
|
143
1479
|
/**
|
|
144
|
-
* <p
|
|
1480
|
+
* <p>应用程序运行的移动设备的操作系统类型</p>
|
|
145
1481
|
*/
|
|
146
|
-
|
|
1482
|
+
OS?: string;
|
|
147
1483
|
/**
|
|
148
|
-
* <p
|
|
1484
|
+
* <p>应用程序运行的移动设备的操作系统版本</p>
|
|
149
1485
|
*/
|
|
150
|
-
|
|
1486
|
+
OSVersion?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>应用程序运行的移动设备的生产厂商</p>
|
|
1489
|
+
*/
|
|
1490
|
+
DeviceManufacturer?: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* <p>应用程序运行的移动设备的型号</p>
|
|
1493
|
+
*/
|
|
1494
|
+
DeviceModel?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* <p>应用程序运行的移动设备的唯一ID,对于iOS为IFV标识,对于Android为Android ID</p>
|
|
1497
|
+
*/
|
|
1498
|
+
DeviceId?: string;
|
|
1499
|
+
/**
|
|
1500
|
+
* <p>应用程序名称</p>
|
|
1501
|
+
*/
|
|
1502
|
+
AppName?: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* <p>应用程序版本</p>
|
|
1505
|
+
*/
|
|
1506
|
+
AppVersion?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* <p>应用程序提供的语言</p>
|
|
1509
|
+
*/
|
|
1510
|
+
ClientLanguage?: string;
|
|
151
1511
|
}
|
|
152
1512
|
/**
|
|
153
|
-
*
|
|
1513
|
+
* 登录事件详情
|
|
154
1514
|
*/
|
|
155
|
-
export interface
|
|
1515
|
+
export interface LoginEvent {
|
|
156
1516
|
/**
|
|
157
|
-
* <p
|
|
1517
|
+
* <p>用户基础信息</p>
|
|
158
1518
|
*/
|
|
159
|
-
|
|
1519
|
+
UserInfo?: User;
|
|
160
1520
|
/**
|
|
161
|
-
* <p
|
|
1521
|
+
* <p>用户登录时输入的用户名</p>
|
|
162
1522
|
*/
|
|
163
|
-
|
|
1523
|
+
UserLoginName?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* <p>登录结果</p>
|
|
1526
|
+
*/
|
|
1527
|
+
LoginResult?: Result;
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1530
|
+
*/
|
|
1531
|
+
Cust?: Array<Cust>;
|
|
164
1532
|
}
|
|
165
1533
|
/**
|
|
166
|
-
*
|
|
1534
|
+
* 事件详情
|
|
167
1535
|
*/
|
|
168
|
-
export interface
|
|
1536
|
+
export interface EventDetail {
|
|
169
1537
|
/**
|
|
170
|
-
* <p
|
|
1538
|
+
* <p>登录</p>
|
|
171
1539
|
*/
|
|
172
|
-
|
|
1540
|
+
Login?: LoginEvent;
|
|
173
1541
|
/**
|
|
174
|
-
*
|
|
1542
|
+
* <p>注册(变更用户信息)</p>
|
|
175
1543
|
*/
|
|
176
|
-
|
|
1544
|
+
Register?: RegisterEvent;
|
|
1545
|
+
/**
|
|
1546
|
+
* <p>创建订单</p>
|
|
1547
|
+
*/
|
|
1548
|
+
CreateOrder?: CreateOrderEvent;
|
|
1549
|
+
/**
|
|
1550
|
+
* <p>交易支付</p>
|
|
1551
|
+
*/
|
|
1552
|
+
Transaction?: TransactionEvent;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>短信</p>
|
|
1555
|
+
*/
|
|
1556
|
+
Sms?: SMSEvent;
|
|
1557
|
+
/**
|
|
1558
|
+
* <p>拒付</p>
|
|
1559
|
+
*/
|
|
1560
|
+
ChargeBack?: ChargeBackEvent;
|
|
1561
|
+
/**
|
|
1562
|
+
* <p>登出</p>
|
|
1563
|
+
*/
|
|
1564
|
+
Logout?: LogoutEvent;
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>修改账号</p>
|
|
1567
|
+
*/
|
|
1568
|
+
ModifyAccount?: ModifyAccountEvent;
|
|
1569
|
+
/**
|
|
1570
|
+
* <p>修改密码</p>
|
|
1571
|
+
*/
|
|
1572
|
+
ModifyPassword?: ModifyPasswordEvent;
|
|
1573
|
+
/**
|
|
1574
|
+
* <p>安全验证</p>
|
|
1575
|
+
*/
|
|
1576
|
+
SecurityVerification?: SecurityVerificationEvent;
|
|
1577
|
+
/**
|
|
1578
|
+
* <p>参加营销活动</p>
|
|
1579
|
+
*/
|
|
1580
|
+
AddPromotion?: AddPromotionEvent;
|
|
1581
|
+
/**
|
|
1582
|
+
* <p>兑奖</p>
|
|
1583
|
+
*/
|
|
1584
|
+
Redeem?: RedeemEvent;
|
|
1585
|
+
/**
|
|
1586
|
+
* <p>提现</p>
|
|
1587
|
+
*/
|
|
1588
|
+
Withdraw?: WithdrawEvent;
|
|
1589
|
+
/**
|
|
1590
|
+
* <p>自定义事件</p>
|
|
1591
|
+
*/
|
|
1592
|
+
CustEvent?: CustEvent;
|
|
1593
|
+
/**
|
|
1594
|
+
* <p>扫码</p>
|
|
1595
|
+
*/
|
|
1596
|
+
ScanCode?: ScanCodeEvent;
|
|
1597
|
+
/**
|
|
1598
|
+
* <p>抽奖</p>
|
|
1599
|
+
*/
|
|
1600
|
+
LuckyDraw?: LuckyDrawEvent;
|
|
1601
|
+
/**
|
|
1602
|
+
* <p>做任务</p>
|
|
1603
|
+
*/
|
|
1604
|
+
Task?: TaskEvent;
|
|
1605
|
+
/**
|
|
1606
|
+
* <p>邀请</p>
|
|
1607
|
+
*/
|
|
1608
|
+
Invitation?: InvitationEvent;
|
|
1609
|
+
/**
|
|
1610
|
+
* <p>领红包</p>
|
|
1611
|
+
*/
|
|
1612
|
+
ClaimRedPacket?: ClaimRedPacketEvent;
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>浏览</p>
|
|
1615
|
+
*/
|
|
1616
|
+
Browse?: BrowseEvent;
|
|
177
1617
|
}
|
|
178
1618
|
/**
|
|
179
1619
|
* IP基础网络信息
|
|
@@ -248,6 +1688,31 @@ export interface IPNetwork {
|
|
|
248
1688
|
*/
|
|
249
1689
|
IsMXServer?: boolean;
|
|
250
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* 安全验证事件详情
|
|
1693
|
+
*/
|
|
1694
|
+
export interface SecurityVerificationEvent {
|
|
1695
|
+
/**
|
|
1696
|
+
* <p>安全验证所处的事件类型</p><p>枚举值:</p><ul><li>register: 注册</li><li>login: 登录</li><li>modify_account: 修改账号</li><li>modify_password: 修改密码</li><li>create_order: 创建订单</li><li>transaction: 交易支付</li><li>modify_order: 修改订单</li><li>withdraw: 提现</li><li>add_promotion: 参加营销活动</li><li>redeem: 兑奖</li></ul>
|
|
1697
|
+
*/
|
|
1698
|
+
VerificationEvent: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>安全验证类型,sms-短信、phone_call-电话、email-邮件、captcha-验证码、shared_knowledge-共享知识、face-人脸、fingerprint-指纹等</p>
|
|
1701
|
+
*/
|
|
1702
|
+
VerificationType: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* <p>安全验证的内容,例如:用于验证的电话号码、邮件、验证码或者问题,当安全验证类型是sms、phone_call、email、captcha、shared_knowledge时输入</p>
|
|
1705
|
+
*/
|
|
1706
|
+
VerificationContent?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>安全验证结果</p>
|
|
1709
|
+
*/
|
|
1710
|
+
VerificationResult?: Result;
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1713
|
+
*/
|
|
1714
|
+
Cust?: Array<Cust>;
|
|
1715
|
+
}
|
|
251
1716
|
/**
|
|
252
1717
|
* 设备风险评估高级版返回结果
|
|
253
1718
|
*/
|
|
@@ -271,78 +1736,174 @@ export interface AssessDeviceRiskPremiumRsp {
|
|
|
271
1736
|
Environment?: Environment;
|
|
272
1737
|
}
|
|
273
1738
|
/**
|
|
274
|
-
*
|
|
1739
|
+
* 兑奖事件详情
|
|
275
1740
|
*/
|
|
276
|
-
export interface
|
|
1741
|
+
export interface RedeemEvent {
|
|
277
1742
|
/**
|
|
278
|
-
* <p
|
|
1743
|
+
* <p>营销活动ID</p>
|
|
279
1744
|
*/
|
|
280
|
-
|
|
1745
|
+
PromotionId: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* <p>营销活动名称</p>
|
|
1748
|
+
*/
|
|
1749
|
+
PromotionName?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>营销活动描述</p>
|
|
1752
|
+
*/
|
|
1753
|
+
Description?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* <p>邀请人ID</p>
|
|
1756
|
+
*/
|
|
1757
|
+
InviterUserId?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* <p>兑奖关联的订单信息</p>
|
|
1760
|
+
*/
|
|
1761
|
+
Order?: Order;
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>兑奖结果</p>
|
|
1764
|
+
*/
|
|
1765
|
+
Result?: Result;
|
|
1766
|
+
/**
|
|
1767
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1768
|
+
*/
|
|
1769
|
+
Cust?: Array<Cust>;
|
|
281
1770
|
}
|
|
282
1771
|
/**
|
|
283
|
-
*
|
|
1772
|
+
* 邀请事件详情
|
|
284
1773
|
*/
|
|
285
|
-
export interface
|
|
1774
|
+
export interface InvitationEvent {
|
|
286
1775
|
/**
|
|
287
|
-
* <p
|
|
1776
|
+
* <p>受邀请人ID</p>
|
|
288
1777
|
*/
|
|
289
|
-
|
|
1778
|
+
InviteeUserId: string;
|
|
290
1779
|
/**
|
|
291
|
-
* <p
|
|
1780
|
+
* <p>营销活动ID</p>
|
|
292
1781
|
*/
|
|
293
|
-
|
|
1782
|
+
PromotionId?: string;
|
|
294
1783
|
/**
|
|
295
|
-
* <p
|
|
1784
|
+
* <p>营销活动名称</p>
|
|
296
1785
|
*/
|
|
297
|
-
|
|
1786
|
+
PromotionName?: string;
|
|
298
1787
|
/**
|
|
299
|
-
* <p
|
|
1788
|
+
* <p>营销活动描述</p>
|
|
300
1789
|
*/
|
|
301
|
-
|
|
1790
|
+
Description?: string;
|
|
302
1791
|
/**
|
|
303
|
-
* <p
|
|
1792
|
+
* <p>受邀请人电话号码</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
304
1793
|
*/
|
|
305
|
-
|
|
1794
|
+
InviteePhone?: string;
|
|
306
1795
|
/**
|
|
307
|
-
* <p
|
|
1796
|
+
* <p>邀请码</p>
|
|
308
1797
|
*/
|
|
309
|
-
|
|
1798
|
+
InvitationCode?: string;
|
|
310
1799
|
/**
|
|
311
|
-
* <p
|
|
1800
|
+
* <p>邀请链接</p>
|
|
312
1801
|
*/
|
|
313
|
-
|
|
1802
|
+
InvitationUrl?: string;
|
|
314
1803
|
/**
|
|
315
|
-
* <p
|
|
1804
|
+
* <p>邀请渠道,如微信、抖音、小红书等</p>
|
|
316
1805
|
*/
|
|
317
|
-
|
|
1806
|
+
InvitationChannel?: string;
|
|
318
1807
|
/**
|
|
319
|
-
* <p
|
|
1808
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组,示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
320
1809
|
*/
|
|
321
|
-
|
|
1810
|
+
Cust?: Array<Cust>;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* AssessRisk请求参数结构体
|
|
1814
|
+
*/
|
|
1815
|
+
export interface AssessRiskRequest {
|
|
322
1816
|
/**
|
|
323
|
-
* <p>
|
|
1817
|
+
* <p>事件码,标准事件包含:</p><p>枚举值:</p><ul><li>login: 登录</li><li>register: 注册</li><li>create_order: 创建订单</li><li>transaction: 交易支付</li><li>charge_back: 拒付</li><li>sms: 短信</li><li>logout: 登出</li><li>modify_account: 修改账号</li><li>modify_password: 修改密码</li><li>security_verification: 安全验证</li><li>add_promotion: 参加营销活动</li><li>redeem: 兑奖</li><li>withdraw: 提现</li><li>cust_event: 自定义事件,cust_xxx</li><li>scan_code: 扫码</li><li>lucky_draw: 抽奖</li><li>task: 做任务</li><li>invitation: 邀请</li><li>claim_red_packet: 领红包</li><li>browse: 浏览</li></ul><p>自定义事件可与RCE约定后进行风险评估</p>
|
|
324
1818
|
*/
|
|
325
|
-
|
|
1819
|
+
EventCode: string;
|
|
326
1820
|
/**
|
|
327
|
-
* <p
|
|
1821
|
+
* <p>事件的发生时间</p><p>参数格式:符合ISO 8601标准的带UTC时区的毫秒级时间</p>
|
|
328
1822
|
*/
|
|
329
|
-
|
|
1823
|
+
EventTime: string;
|
|
330
1824
|
/**
|
|
331
|
-
* <p
|
|
1825
|
+
* <p>用户当前会话 ID, 用于关联用户登录前后的动作,如果没有传UserId,则SessionId必传,如缺失则可填充空字符串</p>
|
|
332
1826
|
*/
|
|
333
|
-
|
|
1827
|
+
SessionId: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
|
|
1830
|
+
*/
|
|
1831
|
+
DeviceToken: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* <p>客户端 IP 地址(IPv4或IPv6)</p>
|
|
1834
|
+
*/
|
|
1835
|
+
UserIp: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* <p>事件详情,根据您输入的事件码传入对应的事件信息</p>
|
|
1838
|
+
*/
|
|
1839
|
+
EventDetail: EventDetail;
|
|
1840
|
+
/**
|
|
1841
|
+
* <p>用户在您系统中的唯一ID</p>
|
|
1842
|
+
*/
|
|
1843
|
+
UserId?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* <p>用户邮箱</p>
|
|
1846
|
+
*/
|
|
1847
|
+
UserEmail?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* <p>用户提供的联系方式</p><p>参数格式:符合E.164标准的带“+”、地区编码和号码的格式</p>
|
|
1850
|
+
*/
|
|
1851
|
+
UserPhone?: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* <p>web浏览器相关信息,若您已集成我们的设备指纹SDK,则无需传入此字段</p>
|
|
1854
|
+
*/
|
|
1855
|
+
Browser?: Browser;
|
|
1856
|
+
/**
|
|
1857
|
+
* <p>应用程序、操作系统和移动设备详细信息,若您已集成我们的设备指纹SDK,则无需传入此字段</p>
|
|
1858
|
+
*/
|
|
1859
|
+
App?: App;
|
|
1860
|
+
/**
|
|
1861
|
+
* <p>数据授权信息,国内地域必填</p>
|
|
1862
|
+
*/
|
|
1863
|
+
DataAuthorization?: DataAuthorization;
|
|
1864
|
+
/**
|
|
1865
|
+
* <p>手机号码加密方式,国内地域必填</p><p>枚举值:</p><ul><li>md5: md5加密</li><li>plain: 明文</li></ul>
|
|
1866
|
+
*/
|
|
1867
|
+
UserPhoneEncrypt?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* <p>微信开放账号</p>
|
|
1870
|
+
*/
|
|
1871
|
+
WeChatOpenId?: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* <p>QQ开放账号</p>
|
|
1874
|
+
*/
|
|
1875
|
+
QQOpenId?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* <p>QQ应用ID,当传入QQ开放账号时,该字段必填,QQ分配给网站或应用的AppId,用来唯一标识网站或应用</p>
|
|
1878
|
+
*/
|
|
1879
|
+
QQAppId?: string;
|
|
334
1880
|
}
|
|
335
1881
|
/**
|
|
336
|
-
*
|
|
1882
|
+
* 扫码事件详情
|
|
337
1883
|
*/
|
|
338
|
-
export interface
|
|
1884
|
+
export interface ScanCodeEvent {
|
|
339
1885
|
/**
|
|
340
|
-
* <p
|
|
1886
|
+
* <p>营销活动码</p>
|
|
341
1887
|
*/
|
|
342
|
-
|
|
1888
|
+
PromotionCode: PromotionCode;
|
|
343
1889
|
/**
|
|
344
|
-
* <p
|
|
345
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1890
|
+
* <p>营销活动ID</p>
|
|
346
1891
|
*/
|
|
347
|
-
|
|
1892
|
+
PromotionId?: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* <p>营销活动名称</p>
|
|
1895
|
+
*/
|
|
1896
|
+
PromotionName?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* <p>营销活动描述</p>
|
|
1899
|
+
*/
|
|
1900
|
+
Description?: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>邀请人ID</p>
|
|
1903
|
+
*/
|
|
1904
|
+
InviterUserId?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* <p>与RCE约定的定制化信息,为K:V 格式的对象数组, 示例:[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1907
|
+
*/
|
|
1908
|
+
Cust?: Array<Cust>;
|
|
348
1909
|
}
|