tencentcloud-sdk-nodejs-intl-en 3.0.1438 → 3.0.1440
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/ga2/index.js +3 -0
- package/tencentcloud/ga2/v20250115/ga2_client.js +628 -0
- package/tencentcloud/ga2/v20250115/index.js +4 -0
- package/tencentcloud/ga2/v20250115/models.js +6153 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/mps/v20190612/models.js +1897 -1342
- package/tencentcloud/mps/v20190612/mps_client.js +54 -12
- package/tencentcloud/ocr/v20181119/models.js +456 -192
- package/tencentcloud/ocr/v20181119/ocr_client.js +19 -2
- package/tencentcloud/rce/v20260130/models.js +4094 -190
- package/tencentcloud/rce/v20260130/rce_client.js +80 -8
- package/tencentcloud/tcsas/v20250106/models.js +1848 -392
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +83 -20
|
@@ -17,24 +17,66 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Task event details
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
|
-
class
|
|
23
|
+
class TaskEvent extends AbstractModel {
|
|
24
24
|
constructor(){
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* <p>The ID of the
|
|
28
|
+
* <p>The ID of the promotion</p>
|
|
29
29
|
* @type {string || null}
|
|
30
30
|
*/
|
|
31
|
-
this.
|
|
31
|
+
this.PromotionId = null;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* <p>The
|
|
34
|
+
* <p>The name of the promotion</p>
|
|
35
35
|
* @type {string || null}
|
|
36
36
|
*/
|
|
37
|
-
this.
|
|
37
|
+
this.PromotionName = null;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* <p>The description of the promotion</p>
|
|
41
|
+
* @type {string || null}
|
|
42
|
+
*/
|
|
43
|
+
this.Description = null;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* <p>The ID of the inviter</p>
|
|
47
|
+
* @type {string || null}
|
|
48
|
+
*/
|
|
49
|
+
this.InviterUserId = null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* <p>The ID of the task</p>
|
|
53
|
+
* @type {string || null}
|
|
54
|
+
*/
|
|
55
|
+
this.TaskId = null;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* <p>The name of the task</p>
|
|
59
|
+
* @type {string || null}
|
|
60
|
+
*/
|
|
61
|
+
this.TaskName = null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* <p>Task type, such as daily check-in, ad viewing, or step accumulation</p>
|
|
65
|
+
* @type {string || null}
|
|
66
|
+
*/
|
|
67
|
+
this.TaskType = null;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* <p>Task completed duration</p><p>Measurement unit: ms</p>
|
|
71
|
+
* @type {number || null}
|
|
72
|
+
*/
|
|
73
|
+
this.TaskCostTime = null;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
77
|
+
* @type {Array.<Cust> || null}
|
|
78
|
+
*/
|
|
79
|
+
this.Cust = null;
|
|
38
80
|
|
|
39
81
|
}
|
|
40
82
|
|
|
@@ -45,8 +87,217 @@ class RiskLabel extends AbstractModel {
|
|
|
45
87
|
if (!params) {
|
|
46
88
|
return;
|
|
47
89
|
}
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
90
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
91
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
92
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
93
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
94
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
95
|
+
this.TaskName = 'TaskName' in params ? params.TaskName : null;
|
|
96
|
+
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
97
|
+
this.TaskCostTime = 'TaskCostTime' in params ? params.TaskCostTime : null;
|
|
98
|
+
|
|
99
|
+
if (params.Cust) {
|
|
100
|
+
this.Cust = new Array();
|
|
101
|
+
for (let z in params.Cust) {
|
|
102
|
+
let obj = new Cust();
|
|
103
|
+
obj.deserialize(params.Cust[z]);
|
|
104
|
+
this.Cust.push(obj);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The details of the digital order
|
|
113
|
+
* @class
|
|
114
|
+
*/
|
|
115
|
+
class DigitalOrder extends AbstractModel {
|
|
116
|
+
constructor(){
|
|
117
|
+
super();
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* <p>The name of the asset</p>
|
|
121
|
+
* @type {string || null}
|
|
122
|
+
*/
|
|
123
|
+
this.DigitalAsset = null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* <p>The type of the asset</p><p>Enumeration value:</p><ul><li>coin</li><li>commodity</li><li>crypto</li><li>fiat</li><li>token</li><li>stock</li><li>bond</li></ul>
|
|
127
|
+
* @type {string || null}
|
|
128
|
+
*/
|
|
129
|
+
this.AssetType = null;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* <p>The type of trade being made</p><p>Enumeration value:</p><ul><li>limit: Limit order</li><li>market: Market order</li><li>stop_limit: Stop-limit order</li><li>stop_loss: Stop-loss order</li><li>take_profit: Take-profit order</li><li>take_profit_limit: Take-profit limit order</li></ul>
|
|
133
|
+
* @type {string || null}
|
|
134
|
+
*/
|
|
135
|
+
this.OrderType = null;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* <p>The quantity of the digital asset</p>
|
|
139
|
+
* @type {number || null}
|
|
140
|
+
*/
|
|
141
|
+
this.Volume = null;
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @private
|
|
147
|
+
*/
|
|
148
|
+
deserialize(params) {
|
|
149
|
+
if (!params) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
this.DigitalAsset = 'DigitalAsset' in params ? params.DigitalAsset : null;
|
|
153
|
+
this.AssetType = 'AssetType' in params ? params.AssetType : null;
|
|
154
|
+
this.OrderType = 'OrderType' in params ? params.OrderType : null;
|
|
155
|
+
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Bill information
|
|
162
|
+
* @class
|
|
163
|
+
*/
|
|
164
|
+
class Billing extends AbstractModel {
|
|
165
|
+
constructor(){
|
|
166
|
+
super();
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* <p>The billing address associated with this user</p>
|
|
170
|
+
* @type {Address || null}
|
|
171
|
+
*/
|
|
172
|
+
this.Address = null;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* <p>The phone number associated with the bill</p><p>Parameter format: Complies with the E.164 standard, using the format with "+", region code, and number</p>
|
|
176
|
+
* @type {string || null}
|
|
177
|
+
*/
|
|
178
|
+
this.Phone = null;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* <p>The email associated with the bill</p>
|
|
182
|
+
* @type {string || null}
|
|
183
|
+
*/
|
|
184
|
+
this.Email = null;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* <p>The name of the receiver associated with the bill</p>
|
|
188
|
+
* @type {string || null}
|
|
189
|
+
*/
|
|
190
|
+
this.Recipient = null;
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @private
|
|
196
|
+
*/
|
|
197
|
+
deserialize(params) {
|
|
198
|
+
if (!params) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
if (params.Address) {
|
|
203
|
+
let obj = new Address();
|
|
204
|
+
obj.deserialize(params.Address)
|
|
205
|
+
this.Address = obj;
|
|
206
|
+
}
|
|
207
|
+
this.Phone = 'Phone' in params ? params.Phone : null;
|
|
208
|
+
this.Email = 'Email' in params ? params.Email : null;
|
|
209
|
+
this.Recipient = 'Recipient' in params ? params.Recipient : null;
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Decision information
|
|
216
|
+
* @class
|
|
217
|
+
*/
|
|
218
|
+
class Decision extends AbstractModel {
|
|
219
|
+
constructor(){
|
|
220
|
+
super();
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* <p>Decision result</p><ul><li>pass: Pass</li><li>review: Review</li><li>reject: Reject</li></ul>
|
|
224
|
+
* @type {string || null}
|
|
225
|
+
*/
|
|
226
|
+
this.DecisionResult = null;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* <p>Decision action when a strategy is matched. Configurable in the console.</p>
|
|
230
|
+
* @type {string || null}
|
|
231
|
+
*/
|
|
232
|
+
this.Disposition = null;
|
|
233
|
+
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @private
|
|
238
|
+
*/
|
|
239
|
+
deserialize(params) {
|
|
240
|
+
if (!params) {
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
this.DecisionResult = 'DecisionResult' in params ? params.DecisionResult : null;
|
|
244
|
+
this.Disposition = 'Disposition' in params ? params.Disposition : null;
|
|
245
|
+
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Personal information
|
|
251
|
+
* @class
|
|
252
|
+
*/
|
|
253
|
+
class Person extends AbstractModel {
|
|
254
|
+
constructor(){
|
|
255
|
+
super();
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* <p>The full name of the user if provided</p>
|
|
259
|
+
* @type {string || null}
|
|
260
|
+
*/
|
|
261
|
+
this.Name = null;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* <p>The gender of the user if provided</p>
|
|
265
|
+
* @type {string || null}
|
|
266
|
+
*/
|
|
267
|
+
this.Gender = null;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* <p>The birthday of the user if provided</p><p>Parameter format: YYYY-MM-DD.</p>
|
|
271
|
+
* @type {string || null}
|
|
272
|
+
*/
|
|
273
|
+
this.Birthday = null;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* <p>The degree of the user if provided</p>
|
|
277
|
+
* @type {string || null}
|
|
278
|
+
*/
|
|
279
|
+
this.Degree = null;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* <p>The occupation of the user if provided</p>
|
|
283
|
+
* @type {string || null}
|
|
284
|
+
*/
|
|
285
|
+
this.Occupation = null;
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @private
|
|
291
|
+
*/
|
|
292
|
+
deserialize(params) {
|
|
293
|
+
if (!params) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
297
|
+
this.Gender = 'Gender' in params ? params.Gender : null;
|
|
298
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
299
|
+
this.Degree = 'Degree' in params ? params.Degree : null;
|
|
300
|
+
this.Occupation = 'Occupation' in params ? params.Occupation : null;
|
|
50
301
|
|
|
51
302
|
}
|
|
52
303
|
}
|
|
@@ -97,24 +348,36 @@ class Environment extends AbstractModel {
|
|
|
97
348
|
}
|
|
98
349
|
|
|
99
350
|
/**
|
|
100
|
-
* The
|
|
351
|
+
* The details of the digital wallet
|
|
101
352
|
* @class
|
|
102
353
|
*/
|
|
103
|
-
class
|
|
354
|
+
class Wallet extends AbstractModel {
|
|
104
355
|
constructor(){
|
|
105
356
|
super();
|
|
106
357
|
|
|
107
358
|
/**
|
|
108
|
-
* <p>
|
|
109
|
-
* @type {
|
|
359
|
+
* <p>Wallet type</p><p>Enumeration value:</p><ul><li>crypto: Crypto currency</li><li>digital: Digital currency</li><li>fiat: Fiat currency</li></ul>
|
|
360
|
+
* @type {string || null}
|
|
110
361
|
*/
|
|
111
|
-
this.
|
|
362
|
+
this.WalletType = null;
|
|
112
363
|
|
|
113
364
|
/**
|
|
114
|
-
* <p>The
|
|
115
|
-
* @type {
|
|
365
|
+
* <p>The address of the wallet.Usually it is the ID of the wallet.</p>
|
|
366
|
+
* @type {string || null}
|
|
116
367
|
*/
|
|
117
|
-
this.
|
|
368
|
+
this.WalletAddress = null;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* <p>The full name of the person who holds the wallet</p>
|
|
372
|
+
* @type {string || null}
|
|
373
|
+
*/
|
|
374
|
+
this.WalletHolderName = null;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* <p>The provider of the wallet, such as wechat, alipay, paypal</p>
|
|
378
|
+
* @type {string || null}
|
|
379
|
+
*/
|
|
380
|
+
this.WalletProvider = null;
|
|
118
381
|
|
|
119
382
|
}
|
|
120
383
|
|
|
@@ -125,77 +388,2994 @@ class AssessEnvironmentRiskRsp extends AbstractModel {
|
|
|
125
388
|
if (!params) {
|
|
126
389
|
return;
|
|
127
390
|
}
|
|
391
|
+
this.WalletType = 'WalletType' in params ? params.WalletType : null;
|
|
392
|
+
this.WalletAddress = 'WalletAddress' in params ? params.WalletAddress : null;
|
|
393
|
+
this.WalletHolderName = 'WalletHolderName' in params ? params.WalletHolderName : null;
|
|
394
|
+
this.WalletProvider = 'WalletProvider' in params ? params.WalletProvider : null;
|
|
128
395
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Risk score
|
|
401
|
+
* @class
|
|
402
|
+
*/
|
|
403
|
+
class Score extends AbstractModel {
|
|
404
|
+
constructor(){
|
|
405
|
+
super();
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* <p>Risk score. Range: 1–1000. The higher the score indicates the higher risk</p>
|
|
409
|
+
* @type {number || null}
|
|
410
|
+
*/
|
|
411
|
+
this.RiskScore = null;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* <p>Risk label</p>
|
|
415
|
+
* @type {Array.<RiskLabel> || null}
|
|
416
|
+
*/
|
|
417
|
+
this.RiskLabels = null;
|
|
418
|
+
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @private
|
|
423
|
+
*/
|
|
424
|
+
deserialize(params) {
|
|
425
|
+
if (!params) {
|
|
426
|
+
return;
|
|
133
427
|
}
|
|
428
|
+
this.RiskScore = 'RiskScore' in params ? params.RiskScore : null;
|
|
134
429
|
|
|
135
|
-
if (params.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
430
|
+
if (params.RiskLabels) {
|
|
431
|
+
this.RiskLabels = new Array();
|
|
432
|
+
for (let z in params.RiskLabels) {
|
|
433
|
+
let obj = new RiskLabel();
|
|
434
|
+
obj.deserialize(params.RiskLabels[z]);
|
|
435
|
+
this.RiskLabels.push(obj);
|
|
436
|
+
}
|
|
139
437
|
}
|
|
140
438
|
|
|
141
439
|
}
|
|
142
440
|
}
|
|
143
441
|
|
|
144
442
|
/**
|
|
145
|
-
*
|
|
443
|
+
* ClaimRedPacket event details
|
|
146
444
|
* @class
|
|
147
445
|
*/
|
|
148
|
-
class
|
|
446
|
+
class ClaimRedPacketEvent extends AbstractModel {
|
|
149
447
|
constructor(){
|
|
150
448
|
super();
|
|
151
449
|
|
|
152
450
|
/**
|
|
153
|
-
* <p>The
|
|
451
|
+
* <p>The ID of the promotion</p>
|
|
154
452
|
* @type {string || null}
|
|
155
453
|
*/
|
|
156
|
-
this.
|
|
454
|
+
this.PromotionId = null;
|
|
157
455
|
|
|
158
456
|
/**
|
|
159
|
-
* <p>The
|
|
457
|
+
* <p>The Name of the promotion</p>
|
|
160
458
|
* @type {string || null}
|
|
161
459
|
*/
|
|
162
|
-
this.
|
|
460
|
+
this.PromotionName = null;
|
|
163
461
|
|
|
164
462
|
/**
|
|
165
|
-
* <p>The
|
|
463
|
+
* <p>The description of the promotion</p>
|
|
166
464
|
* @type {string || null}
|
|
167
465
|
*/
|
|
168
|
-
this.
|
|
466
|
+
this.Description = null;
|
|
169
467
|
|
|
170
468
|
/**
|
|
171
|
-
* <p>The
|
|
469
|
+
* <p>The ID of the inviter</p>
|
|
172
470
|
* @type {string || null}
|
|
173
471
|
*/
|
|
174
|
-
this.
|
|
472
|
+
this.InviterUserId = null;
|
|
175
473
|
|
|
176
474
|
/**
|
|
177
|
-
* <p>The
|
|
475
|
+
* <p>The ID of the red packet</p>
|
|
178
476
|
* @type {string || null}
|
|
179
477
|
*/
|
|
180
|
-
this.
|
|
478
|
+
this.RedPacketId = null;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* <p>The type of red packet, for example, random amount, passcode, standard</p>
|
|
482
|
+
* @type {string || null}
|
|
483
|
+
*/
|
|
484
|
+
this.RedPacketType = null;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* <p>The amount in the red packet</p>
|
|
488
|
+
* @type {Amount || null}
|
|
489
|
+
*/
|
|
490
|
+
this.RedPacketAmount = null;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
494
|
+
* @type {Array.<Cust> || null}
|
|
495
|
+
*/
|
|
496
|
+
this.Cust = null;
|
|
497
|
+
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @private
|
|
502
|
+
*/
|
|
503
|
+
deserialize(params) {
|
|
504
|
+
if (!params) {
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
508
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
509
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
510
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
511
|
+
this.RedPacketId = 'RedPacketId' in params ? params.RedPacketId : null;
|
|
512
|
+
this.RedPacketType = 'RedPacketType' in params ? params.RedPacketType : null;
|
|
513
|
+
|
|
514
|
+
if (params.RedPacketAmount) {
|
|
515
|
+
let obj = new Amount();
|
|
516
|
+
obj.deserialize(params.RedPacketAmount)
|
|
517
|
+
this.RedPacketAmount = obj;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
if (params.Cust) {
|
|
521
|
+
this.Cust = new Array();
|
|
522
|
+
for (let z in params.Cust) {
|
|
523
|
+
let obj = new Cust();
|
|
524
|
+
obj.deserialize(params.Cust[z]);
|
|
525
|
+
this.Cust.push(obj);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The details of the promotion code
|
|
534
|
+
* @class
|
|
535
|
+
*/
|
|
536
|
+
class PromotionCode extends AbstractModel {
|
|
537
|
+
constructor(){
|
|
538
|
+
super();
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* <p>The ID of the promotion code</p>
|
|
542
|
+
* @type {string || null}
|
|
543
|
+
*/
|
|
544
|
+
this.Id = null;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* <p>The type of the promotion code, for example: qrcode, barcode, miniprogram code</p>
|
|
548
|
+
* @type {string || null}
|
|
549
|
+
*/
|
|
550
|
+
this.Type = null;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* <p>The url or hyperlink to the image</p>
|
|
554
|
+
* @type {string || null}
|
|
555
|
+
*/
|
|
556
|
+
this.ImageLink = null;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* <p>The address where the promotion code worked</p>
|
|
560
|
+
* @type {Address || null}
|
|
561
|
+
*/
|
|
562
|
+
this.Address = null;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* <p>The item(s) associated with the promotion code</p>
|
|
566
|
+
* @type {Array.<Item> || null}
|
|
567
|
+
*/
|
|
568
|
+
this.Items = null;
|
|
569
|
+
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @private
|
|
574
|
+
*/
|
|
575
|
+
deserialize(params) {
|
|
576
|
+
if (!params) {
|
|
577
|
+
return;
|
|
578
|
+
}
|
|
579
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
580
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
581
|
+
this.ImageLink = 'ImageLink' in params ? params.ImageLink : null;
|
|
582
|
+
|
|
583
|
+
if (params.Address) {
|
|
584
|
+
let obj = new Address();
|
|
585
|
+
obj.deserialize(params.Address)
|
|
586
|
+
this.Address = obj;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
if (params.Items) {
|
|
590
|
+
this.Items = new Array();
|
|
591
|
+
for (let z in params.Items) {
|
|
592
|
+
let obj = new Item();
|
|
593
|
+
obj.deserialize(params.Items[z]);
|
|
594
|
+
this.Items.push(obj);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* ChargeBack event details
|
|
603
|
+
* @class
|
|
604
|
+
*/
|
|
605
|
+
class ChargeBackEvent extends AbstractModel {
|
|
606
|
+
constructor(){
|
|
607
|
+
super();
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* <p>The ID of the transaction</p>
|
|
611
|
+
* @type {string || null}
|
|
612
|
+
*/
|
|
613
|
+
this.TransactionId = null;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* <p>The ID(s) of the order associated with the transaction</p>
|
|
617
|
+
* @type {Array.<string> || null}
|
|
618
|
+
*/
|
|
619
|
+
this.OrderId = null;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* <p>The code of the chargeback defined by the card organization, for example: 10.1, 13.1, 4870, 4871</p>
|
|
623
|
+
* @type {string || null}
|
|
624
|
+
*/
|
|
625
|
+
this.ChargeBackCode = null;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* <p>The reason of the chargeback defined by the card organization, for example: non-receipt of goods, fraud</p>
|
|
629
|
+
* @type {string || null}
|
|
630
|
+
*/
|
|
631
|
+
this.ChargeBackReason = null;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* <p>The process of the chargeback defined by the card organization</p><p>Enumeration values:</p><ul><li>need_response: Merchant needs to respond</li><li>information_supplied: Merchant has provided information</li><li>chargeback_reversed: Chargeback has been canceled</li><li>chargeback_sustained: Chargeback has been established</li></ul>
|
|
635
|
+
* @type {string || null}
|
|
636
|
+
*/
|
|
637
|
+
this.ChargeBackProcess = null;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* <p>The amount of the chargeback</p>
|
|
641
|
+
* @type {Amount || null}
|
|
642
|
+
*/
|
|
643
|
+
this.ChargeBackAmount = null;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
647
|
+
* @type {Array.<Cust> || null}
|
|
648
|
+
*/
|
|
649
|
+
this.Cust = null;
|
|
650
|
+
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @private
|
|
655
|
+
*/
|
|
656
|
+
deserialize(params) {
|
|
657
|
+
if (!params) {
|
|
658
|
+
return;
|
|
659
|
+
}
|
|
660
|
+
this.TransactionId = 'TransactionId' in params ? params.TransactionId : null;
|
|
661
|
+
this.OrderId = 'OrderId' in params ? params.OrderId : null;
|
|
662
|
+
this.ChargeBackCode = 'ChargeBackCode' in params ? params.ChargeBackCode : null;
|
|
663
|
+
this.ChargeBackReason = 'ChargeBackReason' in params ? params.ChargeBackReason : null;
|
|
664
|
+
this.ChargeBackProcess = 'ChargeBackProcess' in params ? params.ChargeBackProcess : null;
|
|
665
|
+
|
|
666
|
+
if (params.ChargeBackAmount) {
|
|
667
|
+
let obj = new Amount();
|
|
668
|
+
obj.deserialize(params.ChargeBackAmount)
|
|
669
|
+
this.ChargeBackAmount = obj;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (params.Cust) {
|
|
673
|
+
this.Cust = new Array();
|
|
674
|
+
for (let z in params.Cust) {
|
|
675
|
+
let obj = new Cust();
|
|
676
|
+
obj.deserialize(params.Cust[z]);
|
|
677
|
+
this.Cust.push(obj);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* ReportEvent request structure.
|
|
686
|
+
* @class
|
|
687
|
+
*/
|
|
688
|
+
class ReportEventRequest extends AbstractModel {
|
|
689
|
+
constructor(){
|
|
690
|
+
super();
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* <p>Event code. Used to specify the scenario node for business access.</p><p> Standard events under the account protection product include:</p><ul><li> login: Log in<p></p></li> <li>register: Register </li><li>sms: SMS </li><li>logout: Log out </li><li>modify_account: Modify account </li><li>modify_password: Modify password </li><li>security_verification: Security verification</li></ul><p>Standard events under the payment protection product include:</p><ul><li>create_order: Create an order</li><li>transaction: Transaction</li><li>charge_back: Chargeback</li></ul><p>Standard events under the promotion protection product include:</p><ul><li>add_promotion: Participate in promotions </li><li>redeem: Redeem a prize </li><li>withdraw: Withdraw</li><li>cust_event: Custom event, cust_xxx </li><li>scan_code: Scan a code </li><li>lucky_draw: Lucky draw </li><li>task: Complete a task </li><li>invitation: Invitation </li><li>claim_red_packet: Receive a red packet </li><li>browse: Browse</li></ul><p>Custom events can be evaluated for risk based on an agreement with RCE</p>
|
|
694
|
+
* @type {string || null}
|
|
695
|
+
*/
|
|
696
|
+
this.EventCode = null;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* <p>The time when the event occurred</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with the ISO 8601 standard</p>
|
|
700
|
+
* @type {string || null}
|
|
701
|
+
*/
|
|
702
|
+
this.EventTime = null;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* <p>The user's current session ID used to associate with the actions before and after logging in. If UserId is not passed, SessionId is required. If missing, an empty string can be filled.</p>
|
|
706
|
+
* @type {string || null}
|
|
707
|
+
*/
|
|
708
|
+
this.SessionId = null;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* <p>The token provided by the SDK integrated in your web site or application</p>
|
|
712
|
+
* @type {string || null}
|
|
713
|
+
*/
|
|
714
|
+
this.DeviceToken = null;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* <p>User client IP address (IPv4 or IPv6)</p>
|
|
718
|
+
* @type {string || null}
|
|
719
|
+
*/
|
|
720
|
+
this.UserIp = null;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* <p>Event details, import corresponding event information based on the event code you input</p>
|
|
724
|
+
* @type {EventDetail || null}
|
|
725
|
+
*/
|
|
726
|
+
this.EventDetail = null;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* <p>The user's account ID in your system</p>
|
|
730
|
+
* @type {string || null}
|
|
731
|
+
*/
|
|
732
|
+
this.UserId = null;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* <p>Email of the user</p>
|
|
736
|
+
* @type {string || null}
|
|
737
|
+
*/
|
|
738
|
+
this.UserEmail = null;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* <p>Phone number of the user</p><p>Parameter format: Complies with the E.164 standard format, which includes "+", region code, and number</p>
|
|
742
|
+
* @type {string || null}
|
|
743
|
+
*/
|
|
744
|
+
this.UserPhone = null;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* <p>The details of the browser. If you've already integrated our device SDK, this field is not required</p>
|
|
748
|
+
* @type {Browser || null}
|
|
749
|
+
*/
|
|
750
|
+
this.Browser = null;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* <p>The details of the app, os and device.If you've already integrated our device SDK, this field is not required</p>
|
|
754
|
+
* @type {App || null}
|
|
755
|
+
*/
|
|
756
|
+
this.App = null;
|
|
757
|
+
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* @private
|
|
762
|
+
*/
|
|
763
|
+
deserialize(params) {
|
|
764
|
+
if (!params) {
|
|
765
|
+
return;
|
|
766
|
+
}
|
|
767
|
+
this.EventCode = 'EventCode' in params ? params.EventCode : null;
|
|
768
|
+
this.EventTime = 'EventTime' in params ? params.EventTime : null;
|
|
769
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
770
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
771
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
772
|
+
|
|
773
|
+
if (params.EventDetail) {
|
|
774
|
+
let obj = new EventDetail();
|
|
775
|
+
obj.deserialize(params.EventDetail)
|
|
776
|
+
this.EventDetail = obj;
|
|
777
|
+
}
|
|
778
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
779
|
+
this.UserEmail = 'UserEmail' in params ? params.UserEmail : null;
|
|
780
|
+
this.UserPhone = 'UserPhone' in params ? params.UserPhone : null;
|
|
781
|
+
|
|
782
|
+
if (params.Browser) {
|
|
783
|
+
let obj = new Browser();
|
|
784
|
+
obj.deserialize(params.Browser)
|
|
785
|
+
this.Browser = obj;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
if (params.App) {
|
|
789
|
+
let obj = new App();
|
|
790
|
+
obj.deserialize(params.App)
|
|
791
|
+
this.App = obj;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Withdraw event details
|
|
799
|
+
* @class
|
|
800
|
+
*/
|
|
801
|
+
class WithdrawEvent extends AbstractModel {
|
|
802
|
+
constructor(){
|
|
803
|
+
super();
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* <p>The amount of the withdraw</p>
|
|
807
|
+
* @type {Amount || null}
|
|
808
|
+
*/
|
|
809
|
+
this.Amount = null;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* <p>The method of the withdraw</p><p>Enumeration value:</p><ul><li>card: bank card</li><li>wallet: digital wallet</li></ul>
|
|
813
|
+
* @type {string || null}
|
|
814
|
+
*/
|
|
815
|
+
this.Method = null;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* <p>The detail information of the card withdrawn to.Required while the withdraw method is card</p>
|
|
819
|
+
* @type {Card || null}
|
|
820
|
+
*/
|
|
821
|
+
this.Card = null;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* <p>The detail information of the wallet withdrawn to.Required while the withdraw method is wallet</p>
|
|
825
|
+
* @type {Wallet || null}
|
|
826
|
+
*/
|
|
827
|
+
this.Wallet = null;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* <p>Withdraw result</p>
|
|
831
|
+
* @type {Result || null}
|
|
832
|
+
*/
|
|
833
|
+
this.Result = null;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
837
|
+
* @type {Array.<Cust> || null}
|
|
838
|
+
*/
|
|
839
|
+
this.Cust = null;
|
|
840
|
+
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* @private
|
|
845
|
+
*/
|
|
846
|
+
deserialize(params) {
|
|
847
|
+
if (!params) {
|
|
848
|
+
return;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
if (params.Amount) {
|
|
852
|
+
let obj = new Amount();
|
|
853
|
+
obj.deserialize(params.Amount)
|
|
854
|
+
this.Amount = obj;
|
|
855
|
+
}
|
|
856
|
+
this.Method = 'Method' in params ? params.Method : null;
|
|
857
|
+
|
|
858
|
+
if (params.Card) {
|
|
859
|
+
let obj = new Card();
|
|
860
|
+
obj.deserialize(params.Card)
|
|
861
|
+
this.Card = obj;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
if (params.Wallet) {
|
|
865
|
+
let obj = new Wallet();
|
|
866
|
+
obj.deserialize(params.Wallet)
|
|
867
|
+
this.Wallet = obj;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
if (params.Result) {
|
|
871
|
+
let obj = new Result();
|
|
872
|
+
obj.deserialize(params.Result)
|
|
873
|
+
this.Result = obj;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
if (params.Cust) {
|
|
877
|
+
this.Cust = new Array();
|
|
878
|
+
for (let z in params.Cust) {
|
|
879
|
+
let obj = new Cust();
|
|
880
|
+
obj.deserialize(params.Cust[z]);
|
|
881
|
+
this.Cust.push(obj);
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* The details of the merchant
|
|
890
|
+
* @class
|
|
891
|
+
*/
|
|
892
|
+
class Merchant extends AbstractModel {
|
|
893
|
+
constructor(){
|
|
894
|
+
super();
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* <p>The ID of the merchant</p>
|
|
898
|
+
* @type {string || null}
|
|
899
|
+
*/
|
|
900
|
+
this.MerchantId = null;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* <p>The name of the merchant</p>
|
|
904
|
+
* @type {string || null}
|
|
905
|
+
*/
|
|
906
|
+
this.Name = null;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* <p>Merchant registration time</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with ISO 8601</p>
|
|
910
|
+
* @type {string || null}
|
|
911
|
+
*/
|
|
912
|
+
this.RegisterTime = null;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* <p>Merchant category code</p><p>Parameter format: 4-digit No. compliant with ISO 18245</p>
|
|
916
|
+
* @type {string || null}
|
|
917
|
+
*/
|
|
918
|
+
this.Category = null;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* <p>The phone number of the merchant</p><p>parameter format: format with "+", region code, and number that complies with the E.164 standard</p>
|
|
922
|
+
* @type {string || null}
|
|
923
|
+
*/
|
|
924
|
+
this.Phone = null;
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* <p>The email of the merchant</p>
|
|
928
|
+
* @type {string || null}
|
|
929
|
+
*/
|
|
930
|
+
this.Email = null;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* <p>The url of the merchant shop on the website</p>
|
|
934
|
+
* @type {string || null}
|
|
935
|
+
*/
|
|
936
|
+
this.URL = null;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* <p>The address of the merchant</p>
|
|
940
|
+
* @type {Address || null}
|
|
941
|
+
*/
|
|
942
|
+
this.Address = null;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* <p>The level of the merchant</p>
|
|
946
|
+
* @type {string || null}
|
|
947
|
+
*/
|
|
948
|
+
this.Level = null;
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* <p>The type of the merchant</p><p>Enumeration value:</p><ul><li>person: Person</li><li>company: Company</li></ul>
|
|
952
|
+
* @type {string || null}
|
|
953
|
+
*/
|
|
954
|
+
this.BusinessType = null;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* <p>The volume of goods on sale of the merchant</p>
|
|
958
|
+
* @type {number || null}
|
|
959
|
+
*/
|
|
960
|
+
this.GoodsQuantity = null;
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* <p>The historical sales volume of the merchant</p>
|
|
964
|
+
* @type {number || null}
|
|
965
|
+
*/
|
|
966
|
+
this.HistoricSalesQuantity = null;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* <p>The historical sales amount of the merchant</p>
|
|
970
|
+
* @type {Amount || null}
|
|
971
|
+
*/
|
|
972
|
+
this.HistoricSalesAmount = null;
|
|
973
|
+
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* @private
|
|
978
|
+
*/
|
|
979
|
+
deserialize(params) {
|
|
980
|
+
if (!params) {
|
|
981
|
+
return;
|
|
982
|
+
}
|
|
983
|
+
this.MerchantId = 'MerchantId' in params ? params.MerchantId : null;
|
|
984
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
985
|
+
this.RegisterTime = 'RegisterTime' in params ? params.RegisterTime : null;
|
|
986
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
987
|
+
this.Phone = 'Phone' in params ? params.Phone : null;
|
|
988
|
+
this.Email = 'Email' in params ? params.Email : null;
|
|
989
|
+
this.URL = 'URL' in params ? params.URL : null;
|
|
990
|
+
|
|
991
|
+
if (params.Address) {
|
|
992
|
+
let obj = new Address();
|
|
993
|
+
obj.deserialize(params.Address)
|
|
994
|
+
this.Address = obj;
|
|
995
|
+
}
|
|
996
|
+
this.Level = 'Level' in params ? params.Level : null;
|
|
997
|
+
this.BusinessType = 'BusinessType' in params ? params.BusinessType : null;
|
|
998
|
+
this.GoodsQuantity = 'GoodsQuantity' in params ? params.GoodsQuantity : null;
|
|
999
|
+
this.HistoricSalesQuantity = 'HistoricSalesQuantity' in params ? params.HistoricSalesQuantity : null;
|
|
1000
|
+
|
|
1001
|
+
if (params.HistoricSalesAmount) {
|
|
1002
|
+
let obj = new Amount();
|
|
1003
|
+
obj.deserialize(params.HistoricSalesAmount)
|
|
1004
|
+
this.HistoricSalesAmount = obj;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Delivery information
|
|
1012
|
+
* @class
|
|
1013
|
+
*/
|
|
1014
|
+
class Delivery extends AbstractModel {
|
|
1015
|
+
constructor(){
|
|
1016
|
+
super();
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* <p>The method of the delivery</p><ul><li>physical</li><li>electronic</li></ul>
|
|
1020
|
+
* @type {string || null}
|
|
1021
|
+
*/
|
|
1022
|
+
this.DeliveryMethod = null;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* <p>The fee of the delivery</p>
|
|
1026
|
+
* @type {Amount || null}
|
|
1027
|
+
*/
|
|
1028
|
+
this.DeliveryAmount = null;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>The address of the delivery</p>
|
|
1032
|
+
* @type {Address || null}
|
|
1033
|
+
*/
|
|
1034
|
+
this.DeliveryAddress = null;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* <p>Phone number of the consignee</p><p>parameter format: format with "+", region code, and number that complies with the E.164 standard</p>
|
|
1038
|
+
* @type {string || null}
|
|
1039
|
+
*/
|
|
1040
|
+
this.ConsigneePhone = null;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* <p>Email of the consignee</p>
|
|
1044
|
+
* @type {string || null}
|
|
1045
|
+
*/
|
|
1046
|
+
this.ConsigneeEmail = null;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>Full name of the consignee</p>
|
|
1050
|
+
* @type {string || null}
|
|
1051
|
+
*/
|
|
1052
|
+
this.ConsigneeName = null;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* <p> Whether is the delivery expedited</p>
|
|
1056
|
+
* @type {boolean || null}
|
|
1057
|
+
*/
|
|
1058
|
+
this.Expedited = null;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>The carrier of the delivery, usually a logistics company</p>
|
|
1062
|
+
* @type {string || null}
|
|
1063
|
+
*/
|
|
1064
|
+
this.DeliveryCarrier = null;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* <p>The number(s) used to track the delivery</p>
|
|
1068
|
+
* @type {string || null}
|
|
1069
|
+
*/
|
|
1070
|
+
this.DeliveryTracking = null;
|
|
1071
|
+
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* @private
|
|
1076
|
+
*/
|
|
1077
|
+
deserialize(params) {
|
|
1078
|
+
if (!params) {
|
|
1079
|
+
return;
|
|
1080
|
+
}
|
|
1081
|
+
this.DeliveryMethod = 'DeliveryMethod' in params ? params.DeliveryMethod : null;
|
|
1082
|
+
|
|
1083
|
+
if (params.DeliveryAmount) {
|
|
1084
|
+
let obj = new Amount();
|
|
1085
|
+
obj.deserialize(params.DeliveryAmount)
|
|
1086
|
+
this.DeliveryAmount = obj;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
if (params.DeliveryAddress) {
|
|
1090
|
+
let obj = new Address();
|
|
1091
|
+
obj.deserialize(params.DeliveryAddress)
|
|
1092
|
+
this.DeliveryAddress = obj;
|
|
1093
|
+
}
|
|
1094
|
+
this.ConsigneePhone = 'ConsigneePhone' in params ? params.ConsigneePhone : null;
|
|
1095
|
+
this.ConsigneeEmail = 'ConsigneeEmail' in params ? params.ConsigneeEmail : null;
|
|
1096
|
+
this.ConsigneeName = 'ConsigneeName' in params ? params.ConsigneeName : null;
|
|
1097
|
+
this.Expedited = 'Expedited' in params ? params.Expedited : null;
|
|
1098
|
+
this.DeliveryCarrier = 'DeliveryCarrier' in params ? params.DeliveryCarrier : null;
|
|
1099
|
+
this.DeliveryTracking = 'DeliveryTracking' in params ? params.DeliveryTracking : null;
|
|
1100
|
+
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Customization parameters agreed with RCE, object array in K:V format
|
|
1106
|
+
* @class
|
|
1107
|
+
*/
|
|
1108
|
+
class Cust extends AbstractModel {
|
|
1109
|
+
constructor(){
|
|
1110
|
+
super();
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>Key</p>
|
|
1114
|
+
* @type {string || null}
|
|
1115
|
+
*/
|
|
1116
|
+
this.Key = null;
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>Value</p>
|
|
1120
|
+
* @type {string || null}
|
|
1121
|
+
*/
|
|
1122
|
+
this.Value = null;
|
|
1123
|
+
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @private
|
|
1128
|
+
*/
|
|
1129
|
+
deserialize(params) {
|
|
1130
|
+
if (!params) {
|
|
1131
|
+
return;
|
|
1132
|
+
}
|
|
1133
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1134
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1135
|
+
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* The results of AssessEnvironmentRisk
|
|
1141
|
+
* @class
|
|
1142
|
+
*/
|
|
1143
|
+
class AssessEnvironmentRiskRsp extends AbstractModel {
|
|
1144
|
+
constructor(){
|
|
1145
|
+
super();
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* <p>The risk score information of the IP environment</p>
|
|
1149
|
+
* @type {DataScore || null}
|
|
1150
|
+
*/
|
|
1151
|
+
this.Score = null;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* <p>The basic information of the IP environment</p>
|
|
1155
|
+
* @type {Environment || null}
|
|
1156
|
+
*/
|
|
1157
|
+
this.Environment = null;
|
|
1158
|
+
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* @private
|
|
1163
|
+
*/
|
|
1164
|
+
deserialize(params) {
|
|
1165
|
+
if (!params) {
|
|
1166
|
+
return;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
if (params.Score) {
|
|
1170
|
+
let obj = new DataScore();
|
|
1171
|
+
obj.deserialize(params.Score)
|
|
1172
|
+
this.Score = obj;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
if (params.Environment) {
|
|
1176
|
+
let obj = new Environment();
|
|
1177
|
+
obj.deserialize(params.Environment)
|
|
1178
|
+
this.Environment = obj;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* AssessEnvironmentRisk response structure.
|
|
1186
|
+
* @class
|
|
1187
|
+
*/
|
|
1188
|
+
class AssessEnvironmentRiskResponse extends AbstractModel {
|
|
1189
|
+
constructor(){
|
|
1190
|
+
super();
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>The results of AssessEnvironmentRisk</p>
|
|
1194
|
+
* @type {AssessEnvironmentRiskRsp || null}
|
|
1195
|
+
*/
|
|
1196
|
+
this.Data = null;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1200
|
+
* @type {string || null}
|
|
1201
|
+
*/
|
|
1202
|
+
this.RequestId = null;
|
|
1203
|
+
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @private
|
|
1208
|
+
*/
|
|
1209
|
+
deserialize(params) {
|
|
1210
|
+
if (!params) {
|
|
1211
|
+
return;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
if (params.Data) {
|
|
1215
|
+
let obj = new AssessEnvironmentRiskRsp();
|
|
1216
|
+
obj.deserialize(params.Data)
|
|
1217
|
+
this.Data = obj;
|
|
1218
|
+
}
|
|
1219
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1220
|
+
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Payment method
|
|
1226
|
+
* @class
|
|
1227
|
+
*/
|
|
1228
|
+
class PaymentMethod extends AbstractModel {
|
|
1229
|
+
constructor(){
|
|
1230
|
+
super();
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>Payment method</p><p>Enumeration value:</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</li><li>electronic_fund_transfer</li><li>financing</li><li>invoice</li><li>prepaid_card</li><li>sepa_credit</li></ul>
|
|
1234
|
+
* @type {string || null}
|
|
1235
|
+
*/
|
|
1236
|
+
this.PaymentType = null;
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>The channel of the payment</p>
|
|
1240
|
+
* @type {string || null}
|
|
1241
|
+
*/
|
|
1242
|
+
this.PaymentChannel = null;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>The details of the card.Required while PaymentMethod is "credit_card","debit_card"</p>
|
|
1246
|
+
* @type {Card || null}
|
|
1247
|
+
*/
|
|
1248
|
+
this.Card = null;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>SEPA direct debit mandate</p><p>Enumeration value:</p><ul><li>true: Yes</li><li>false: No</li></ul>
|
|
1252
|
+
* @type {boolean || null}
|
|
1253
|
+
*/
|
|
1254
|
+
this.SEPADirectDebitMandate = null;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The details of the digital wallet when involved digital trade</p>
|
|
1258
|
+
* @type {Wallet || null}
|
|
1259
|
+
*/
|
|
1260
|
+
this.DigitalWallet = null;
|
|
1261
|
+
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
deserialize(params) {
|
|
1268
|
+
if (!params) {
|
|
1269
|
+
return;
|
|
1270
|
+
}
|
|
1271
|
+
this.PaymentType = 'PaymentType' in params ? params.PaymentType : null;
|
|
1272
|
+
this.PaymentChannel = 'PaymentChannel' in params ? params.PaymentChannel : null;
|
|
1273
|
+
|
|
1274
|
+
if (params.Card) {
|
|
1275
|
+
let obj = new Card();
|
|
1276
|
+
obj.deserialize(params.Card)
|
|
1277
|
+
this.Card = obj;
|
|
1278
|
+
}
|
|
1279
|
+
this.SEPADirectDebitMandate = 'SEPADirectDebitMandate' in params ? params.SEPADirectDebitMandate : null;
|
|
1280
|
+
|
|
1281
|
+
if (params.DigitalWallet) {
|
|
1282
|
+
let obj = new Wallet();
|
|
1283
|
+
obj.deserialize(params.DigitalWallet)
|
|
1284
|
+
this.DigitalWallet = obj;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* LuckyDraw event details
|
|
1292
|
+
* @class
|
|
1293
|
+
*/
|
|
1294
|
+
class LuckyDrawEvent extends AbstractModel {
|
|
1295
|
+
constructor(){
|
|
1296
|
+
super();
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>The ID of the promotion</p>
|
|
1300
|
+
* @type {string || null}
|
|
1301
|
+
*/
|
|
1302
|
+
this.PromotionId = null;
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The name of the promotion</p>
|
|
1306
|
+
* @type {string || null}
|
|
1307
|
+
*/
|
|
1308
|
+
this.PromotionName = null;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>The description of the promotion</p>
|
|
1312
|
+
* @type {string || null}
|
|
1313
|
+
*/
|
|
1314
|
+
this.Description = null;
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* <p>The ID of the inviter</p>
|
|
1318
|
+
* @type {string || null}
|
|
1319
|
+
*/
|
|
1320
|
+
this.InviterUserId = null;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* <p>Number of lucky draw</p><p>Unit: count</p>
|
|
1324
|
+
* @type {number || null}
|
|
1325
|
+
*/
|
|
1326
|
+
this.LuckyDrawCount = null;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* <p>Type of lucky draw</p>
|
|
1330
|
+
* @type {string || null}
|
|
1331
|
+
*/
|
|
1332
|
+
this.LuckyDrawType = null;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1336
|
+
* @type {Array.<Cust> || null}
|
|
1337
|
+
*/
|
|
1338
|
+
this.Cust = null;
|
|
1339
|
+
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* @private
|
|
1344
|
+
*/
|
|
1345
|
+
deserialize(params) {
|
|
1346
|
+
if (!params) {
|
|
1347
|
+
return;
|
|
1348
|
+
}
|
|
1349
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
1350
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
1351
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1352
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
1353
|
+
this.LuckyDrawCount = 'LuckyDrawCount' in params ? params.LuckyDrawCount : null;
|
|
1354
|
+
this.LuckyDrawType = 'LuckyDrawType' in params ? params.LuckyDrawType : null;
|
|
1355
|
+
|
|
1356
|
+
if (params.Cust) {
|
|
1357
|
+
this.Cust = new Array();
|
|
1358
|
+
for (let z in params.Cust) {
|
|
1359
|
+
let obj = new Cust();
|
|
1360
|
+
obj.deserialize(params.Cust[z]);
|
|
1361
|
+
this.Cust.push(obj);
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* AssessDeviceRiskPremiumPro request structure.
|
|
1370
|
+
* @class
|
|
1371
|
+
*/
|
|
1372
|
+
class AssessDeviceRiskPremiumProRequest extends AbstractModel {
|
|
1373
|
+
constructor(){
|
|
1374
|
+
super();
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>Device fingerprint token, obtained after integration of the device fingerprint SDK into your website or application</p>
|
|
1378
|
+
* @type {string || null}
|
|
1379
|
+
*/
|
|
1380
|
+
this.DeviceToken = null;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* <p>User client IP address (IPv4 or IPv6)</p>
|
|
1384
|
+
* @type {string || null}
|
|
1385
|
+
*/
|
|
1386
|
+
this.UserIp = null;
|
|
1387
|
+
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* @private
|
|
1392
|
+
*/
|
|
1393
|
+
deserialize(params) {
|
|
1394
|
+
if (!params) {
|
|
1395
|
+
return;
|
|
1396
|
+
}
|
|
1397
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
1398
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
1399
|
+
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* The details of the order
|
|
1405
|
+
* @class
|
|
1406
|
+
*/
|
|
1407
|
+
class Order extends AbstractModel {
|
|
1408
|
+
constructor(){
|
|
1409
|
+
super();
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>The ID of the order</p>
|
|
1413
|
+
* @type {string || null}
|
|
1414
|
+
*/
|
|
1415
|
+
this.OrderId = null;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The amount of the order</p>
|
|
1419
|
+
* @type {Amount || null}
|
|
1420
|
+
*/
|
|
1421
|
+
this.Amount = null;
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* <p>The detail information of the items in the order</p>
|
|
1425
|
+
* @type {Array.<Item> || null}
|
|
1426
|
+
*/
|
|
1427
|
+
this.Items = null;
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>The detail information of the delivery associated with the order</p>
|
|
1431
|
+
* @type {Delivery || null}
|
|
1432
|
+
*/
|
|
1433
|
+
this.Delivery = null;
|
|
1434
|
+
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* @private
|
|
1439
|
+
*/
|
|
1440
|
+
deserialize(params) {
|
|
1441
|
+
if (!params) {
|
|
1442
|
+
return;
|
|
1443
|
+
}
|
|
1444
|
+
this.OrderId = 'OrderId' in params ? params.OrderId : null;
|
|
1445
|
+
|
|
1446
|
+
if (params.Amount) {
|
|
1447
|
+
let obj = new Amount();
|
|
1448
|
+
obj.deserialize(params.Amount)
|
|
1449
|
+
this.Amount = obj;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
if (params.Items) {
|
|
1453
|
+
this.Items = new Array();
|
|
1454
|
+
for (let z in params.Items) {
|
|
1455
|
+
let obj = new Item();
|
|
1456
|
+
obj.deserialize(params.Items[z]);
|
|
1457
|
+
this.Items.push(obj);
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
if (params.Delivery) {
|
|
1462
|
+
let obj = new Delivery();
|
|
1463
|
+
obj.deserialize(params.Delivery)
|
|
1464
|
+
this.Delivery = obj;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* AssessDeviceRiskPro response structure.
|
|
1472
|
+
* @class
|
|
1473
|
+
*/
|
|
1474
|
+
class AssessDeviceRiskProResponse extends AbstractModel {
|
|
1475
|
+
constructor(){
|
|
1476
|
+
super();
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* <p>The results of AssessDeviceRiskPro</p>
|
|
1480
|
+
* @type {AssessDeviceRiskRsp || null}
|
|
1481
|
+
*/
|
|
1482
|
+
this.Data = null;
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1486
|
+
* @type {string || null}
|
|
1487
|
+
*/
|
|
1488
|
+
this.RequestId = null;
|
|
1489
|
+
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @private
|
|
1494
|
+
*/
|
|
1495
|
+
deserialize(params) {
|
|
1496
|
+
if (!params) {
|
|
1497
|
+
return;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
if (params.Data) {
|
|
1501
|
+
let obj = new AssessDeviceRiskRsp();
|
|
1502
|
+
obj.deserialize(params.Data)
|
|
1503
|
+
this.Data = obj;
|
|
1504
|
+
}
|
|
1505
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1506
|
+
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* The detail information of the user
|
|
1512
|
+
* @class
|
|
1513
|
+
*/
|
|
1514
|
+
class User extends AbstractModel {
|
|
1515
|
+
constructor(){
|
|
1516
|
+
super();
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* <p>The level of the user in your system</p>
|
|
1520
|
+
* @type {string || null}
|
|
1521
|
+
*/
|
|
1522
|
+
this.UserLevel = null;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* <p>The point of the user in your system</p>
|
|
1526
|
+
* @type {CreditPoint || null}
|
|
1527
|
+
*/
|
|
1528
|
+
this.UserPoint = null;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>The type of the user in your system</p>
|
|
1532
|
+
* @type {string || null}
|
|
1533
|
+
*/
|
|
1534
|
+
this.UserType = null;
|
|
1535
|
+
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @private
|
|
1540
|
+
*/
|
|
1541
|
+
deserialize(params) {
|
|
1542
|
+
if (!params) {
|
|
1543
|
+
return;
|
|
1544
|
+
}
|
|
1545
|
+
this.UserLevel = 'UserLevel' in params ? params.UserLevel : null;
|
|
1546
|
+
|
|
1547
|
+
if (params.UserPoint) {
|
|
1548
|
+
let obj = new CreditPoint();
|
|
1549
|
+
obj.deserialize(params.UserPoint)
|
|
1550
|
+
this.UserPoint = obj;
|
|
1551
|
+
}
|
|
1552
|
+
this.UserType = 'UserType' in params ? params.UserType : null;
|
|
1553
|
+
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* Address
|
|
1559
|
+
* @class
|
|
1560
|
+
*/
|
|
1561
|
+
class Address extends AbstractModel {
|
|
1562
|
+
constructor(){
|
|
1563
|
+
super();
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>Country</p><p>Parameter format: Compliant with the ISO 3166 standard</p>
|
|
1567
|
+
* @type {string || null}
|
|
1568
|
+
*/
|
|
1569
|
+
this.Country = null;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* <p>Province</p>
|
|
1573
|
+
* @type {string || null}
|
|
1574
|
+
*/
|
|
1575
|
+
this.Region = null;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* <p>City</p>
|
|
1579
|
+
* @type {string || null}
|
|
1580
|
+
*/
|
|
1581
|
+
this.City = null;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* <p>Region</p>
|
|
1585
|
+
* @type {string || null}
|
|
1586
|
+
*/
|
|
1587
|
+
this.District = null;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* <p>Detailed address</p>
|
|
1591
|
+
* @type {string || null}
|
|
1592
|
+
*/
|
|
1593
|
+
this.Detail = null;
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* <p>Postal code</p>
|
|
1597
|
+
* @type {string || null}
|
|
1598
|
+
*/
|
|
1599
|
+
this.ZipCode = null;
|
|
1600
|
+
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* @private
|
|
1605
|
+
*/
|
|
1606
|
+
deserialize(params) {
|
|
1607
|
+
if (!params) {
|
|
1608
|
+
return;
|
|
1609
|
+
}
|
|
1610
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
1611
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
1612
|
+
this.City = 'City' in params ? params.City : null;
|
|
1613
|
+
this.District = 'District' in params ? params.District : null;
|
|
1614
|
+
this.Detail = 'Detail' in params ? params.Detail : null;
|
|
1615
|
+
this.ZipCode = 'ZipCode' in params ? params.ZipCode : null;
|
|
1616
|
+
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* The basic infomation of the device
|
|
1622
|
+
* @class
|
|
1623
|
+
*/
|
|
1624
|
+
class Device extends AbstractModel {
|
|
1625
|
+
constructor(){
|
|
1626
|
+
super();
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* <p>The unique id of device returned by RCE</p>
|
|
1630
|
+
* @type {string || null}
|
|
1631
|
+
*/
|
|
1632
|
+
this.DeviceId = null;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* <p>The version of the application</p>
|
|
1636
|
+
* @type {string || null}
|
|
1637
|
+
*/
|
|
1638
|
+
this.AppVersion = null;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* <p>Device brand</p>
|
|
1642
|
+
* @type {string || null}
|
|
1643
|
+
*/
|
|
1644
|
+
this.Brand = null;
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>Client IP address</p>
|
|
1648
|
+
* @type {string || null}
|
|
1649
|
+
*/
|
|
1650
|
+
this.ClientIp = null;
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* <p>Device model</p>
|
|
1654
|
+
* @type {string || null}
|
|
1655
|
+
*/
|
|
1656
|
+
this.Model = null;
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* <p>Network type of the device</p>
|
|
1660
|
+
* @type {string || null}
|
|
1661
|
+
*/
|
|
1662
|
+
this.NetworkType = null;
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* <p>The package name of the application</p>
|
|
1666
|
+
* @type {string || null}
|
|
1667
|
+
*/
|
|
1668
|
+
this.PackageName = null;
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>Device platform</p><p>Enumeration value:</p><ul><li>2: Android</li><li>3: IOS</li><li>4: H5</li><li>5: WeChat Mini Program</li></ul>
|
|
1672
|
+
* @type {string || null}
|
|
1673
|
+
*/
|
|
1674
|
+
this.Platform = null;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>Device system version</p>
|
|
1678
|
+
* @type {string || null}
|
|
1679
|
+
*/
|
|
1680
|
+
this.SystemVersion = null;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* <p>The build version of SDK</p>
|
|
1684
|
+
* @type {string || null}
|
|
1685
|
+
*/
|
|
1686
|
+
this.SdkBuildVersion = null;
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* <p>Signature verification token. Please contact us to enable signature verification</p>
|
|
1690
|
+
* @type {string || null}
|
|
1691
|
+
*/
|
|
1692
|
+
this.SignToken = null;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* <p>Token generation timestamp, in milliseconds</p>
|
|
1696
|
+
* @type {string || null}
|
|
1697
|
+
*/
|
|
1698
|
+
this.TokenTime = null;
|
|
1699
|
+
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* @private
|
|
1704
|
+
*/
|
|
1705
|
+
deserialize(params) {
|
|
1706
|
+
if (!params) {
|
|
1707
|
+
return;
|
|
1708
|
+
}
|
|
1709
|
+
this.DeviceId = 'DeviceId' in params ? params.DeviceId : null;
|
|
1710
|
+
this.AppVersion = 'AppVersion' in params ? params.AppVersion : null;
|
|
1711
|
+
this.Brand = 'Brand' in params ? params.Brand : null;
|
|
1712
|
+
this.ClientIp = 'ClientIp' in params ? params.ClientIp : null;
|
|
1713
|
+
this.Model = 'Model' in params ? params.Model : null;
|
|
1714
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
1715
|
+
this.PackageName = 'PackageName' in params ? params.PackageName : null;
|
|
1716
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
1717
|
+
this.SystemVersion = 'SystemVersion' in params ? params.SystemVersion : null;
|
|
1718
|
+
this.SdkBuildVersion = 'SdkBuildVersion' in params ? params.SdkBuildVersion : null;
|
|
1719
|
+
this.SignToken = 'SignToken' in params ? params.SignToken : null;
|
|
1720
|
+
this.TokenTime = 'TokenTime' in params ? params.TokenTime : null;
|
|
1721
|
+
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* CreateOrder event details
|
|
1727
|
+
* @class
|
|
1728
|
+
*/
|
|
1729
|
+
class CreateOrderEvent extends AbstractModel {
|
|
1730
|
+
constructor(){
|
|
1731
|
+
super();
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* <p>The ID of the order</p>
|
|
1735
|
+
* @type {string || null}
|
|
1736
|
+
*/
|
|
1737
|
+
this.OrderId = null;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* <p>The amount of the order</p>
|
|
1741
|
+
* @type {Amount || null}
|
|
1742
|
+
*/
|
|
1743
|
+
this.Amount = null;
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The detail information of the merchant associated with the order</p>
|
|
1747
|
+
* @type {Merchant || null}
|
|
1748
|
+
*/
|
|
1749
|
+
this.Merchant = null;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* <p>The detail information of the bill associated with the order</p>
|
|
1753
|
+
* @type {Billing || null}
|
|
1754
|
+
*/
|
|
1755
|
+
this.Billing = null;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* <p>The detail information of the items in the order</p>
|
|
1759
|
+
* @type {Array.<Item> || null}
|
|
1760
|
+
*/
|
|
1761
|
+
this.Items = null;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* <p>The detail information of the delivery associated with the order</p>
|
|
1765
|
+
* @type {Delivery || null}
|
|
1766
|
+
*/
|
|
1767
|
+
this.Delivery = null;
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* <p>The promotion(s) associated with the order</p>
|
|
1771
|
+
* @type {Array.<Promotion> || null}
|
|
1772
|
+
*/
|
|
1773
|
+
this.Promotions = null;
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
1777
|
+
* @type {Array.<Cust> || null}
|
|
1778
|
+
*/
|
|
1779
|
+
this.Cust = null;
|
|
1780
|
+
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* @private
|
|
1785
|
+
*/
|
|
1786
|
+
deserialize(params) {
|
|
1787
|
+
if (!params) {
|
|
1788
|
+
return;
|
|
1789
|
+
}
|
|
1790
|
+
this.OrderId = 'OrderId' in params ? params.OrderId : null;
|
|
1791
|
+
|
|
1792
|
+
if (params.Amount) {
|
|
1793
|
+
let obj = new Amount();
|
|
1794
|
+
obj.deserialize(params.Amount)
|
|
1795
|
+
this.Amount = obj;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
if (params.Merchant) {
|
|
1799
|
+
let obj = new Merchant();
|
|
1800
|
+
obj.deserialize(params.Merchant)
|
|
1801
|
+
this.Merchant = obj;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
if (params.Billing) {
|
|
1805
|
+
let obj = new Billing();
|
|
1806
|
+
obj.deserialize(params.Billing)
|
|
1807
|
+
this.Billing = obj;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
if (params.Items) {
|
|
1811
|
+
this.Items = new Array();
|
|
1812
|
+
for (let z in params.Items) {
|
|
1813
|
+
let obj = new Item();
|
|
1814
|
+
obj.deserialize(params.Items[z]);
|
|
1815
|
+
this.Items.push(obj);
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
if (params.Delivery) {
|
|
1820
|
+
let obj = new Delivery();
|
|
1821
|
+
obj.deserialize(params.Delivery)
|
|
1822
|
+
this.Delivery = obj;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
if (params.Promotions) {
|
|
1826
|
+
this.Promotions = new Array();
|
|
1827
|
+
for (let z in params.Promotions) {
|
|
1828
|
+
let obj = new Promotion();
|
|
1829
|
+
obj.deserialize(params.Promotions[z]);
|
|
1830
|
+
this.Promotions.push(obj);
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
if (params.Cust) {
|
|
1835
|
+
this.Cust = new Array();
|
|
1836
|
+
for (let z in params.Cust) {
|
|
1837
|
+
let obj = new Cust();
|
|
1838
|
+
obj.deserialize(params.Cust[z]);
|
|
1839
|
+
this.Cust.push(obj);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* The details of the card
|
|
1848
|
+
* @class
|
|
1849
|
+
*/
|
|
1850
|
+
class Card extends AbstractModel {
|
|
1851
|
+
constructor(){
|
|
1852
|
+
super();
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* <p>Bank identification number.The first six or eight digits of the card number</p><p>Parameter format: Compliant with the ISO 13616-1 standard</p>
|
|
1856
|
+
* @type {string || null}
|
|
1857
|
+
*/
|
|
1858
|
+
this.CardBin = null;
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* <p>The last four digits of the card number</p><p>Parameter format: Compliant with ISO 13616-1 standard</p>
|
|
1862
|
+
* @type {string || null}
|
|
1863
|
+
*/
|
|
1864
|
+
this.LastFourDigits = null;
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* <p>The country where the card issued</p>
|
|
1868
|
+
* @type {string || null}
|
|
1869
|
+
*/
|
|
1870
|
+
this.Country = null;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* <p>The bank that issued card</p>
|
|
1874
|
+
* @type {string || null}
|
|
1875
|
+
*/
|
|
1876
|
+
this.Bank = null;
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* <p>the type of the card</p><p>Enumeration value:</p><ul><li>credit: Credit card</li><li>debit: Debit card</li><li>charge: Charge card</li></ul>
|
|
1880
|
+
* @type {string || null}
|
|
1881
|
+
*/
|
|
1882
|
+
this.Type = null;
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* <p>The brand of the card</p>
|
|
1886
|
+
* @type {string || null}
|
|
1887
|
+
*/
|
|
1888
|
+
this.Brand = null;
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* <p>The level of the card that the bank defined</p>
|
|
1892
|
+
* @type {string || null}
|
|
1893
|
+
*/
|
|
1894
|
+
this.Level = null;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* <p>The full name of the person who hold the card</p>
|
|
1898
|
+
* @type {string || null}
|
|
1899
|
+
*/
|
|
1900
|
+
this.HolderName = null;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* <p>The expiration date of the card</p><p>Parameter format: YYYY-MM-DD.</p>
|
|
1904
|
+
* @type {string || null}
|
|
1905
|
+
*/
|
|
1906
|
+
this.ExpireTime = null;
|
|
1907
|
+
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* @private
|
|
1912
|
+
*/
|
|
1913
|
+
deserialize(params) {
|
|
1914
|
+
if (!params) {
|
|
1915
|
+
return;
|
|
1916
|
+
}
|
|
1917
|
+
this.CardBin = 'CardBin' in params ? params.CardBin : null;
|
|
1918
|
+
this.LastFourDigits = 'LastFourDigits' in params ? params.LastFourDigits : null;
|
|
1919
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
1920
|
+
this.Bank = 'Bank' in params ? params.Bank : null;
|
|
1921
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1922
|
+
this.Brand = 'Brand' in params ? params.Brand : null;
|
|
1923
|
+
this.Level = 'Level' in params ? params.Level : null;
|
|
1924
|
+
this.HolderName = 'HolderName' in params ? params.HolderName : null;
|
|
1925
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
1926
|
+
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* Event result
|
|
1932
|
+
* @class
|
|
1933
|
+
*/
|
|
1934
|
+
class Result extends AbstractModel {
|
|
1935
|
+
constructor(){
|
|
1936
|
+
super();
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>Actual completion status</p><p>Enumeration values:</p><ul><li>success: Success,</li><li>failure: Failure.</li></ul>
|
|
1940
|
+
* @type {string || null}
|
|
1941
|
+
*/
|
|
1942
|
+
this.Status = null;
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* <p>Failure reason</p>
|
|
1946
|
+
* @type {string || null}
|
|
1947
|
+
*/
|
|
1948
|
+
this.FailureReason = null;
|
|
1949
|
+
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* @private
|
|
1954
|
+
*/
|
|
1955
|
+
deserialize(params) {
|
|
1956
|
+
if (!params) {
|
|
1957
|
+
return;
|
|
1958
|
+
}
|
|
1959
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1960
|
+
this.FailureReason = 'FailureReason' in params ? params.FailureReason : null;
|
|
1961
|
+
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* ReportEvent response structure.
|
|
1967
|
+
* @class
|
|
1968
|
+
*/
|
|
1969
|
+
class ReportEventResponse extends AbstractModel {
|
|
1970
|
+
constructor(){
|
|
1971
|
+
super();
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1975
|
+
* @type {string || null}
|
|
1976
|
+
*/
|
|
1977
|
+
this.RequestId = null;
|
|
1978
|
+
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* @private
|
|
1983
|
+
*/
|
|
1984
|
+
deserialize(params) {
|
|
1985
|
+
if (!params) {
|
|
1986
|
+
return;
|
|
1987
|
+
}
|
|
1988
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1989
|
+
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* Risk label
|
|
1995
|
+
* @class
|
|
1996
|
+
*/
|
|
1997
|
+
class RiskLabel extends AbstractModel {
|
|
1998
|
+
constructor(){
|
|
1999
|
+
super();
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* <p>The ID of the label</p>
|
|
2003
|
+
* @type {string || null}
|
|
2004
|
+
*/
|
|
2005
|
+
this.Id = null;
|
|
2006
|
+
|
|
2007
|
+
/**
|
|
2008
|
+
* <p>The reason of the label</p>
|
|
2009
|
+
* @type {string || null}
|
|
2010
|
+
*/
|
|
2011
|
+
this.Reason = null;
|
|
2012
|
+
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* @private
|
|
2017
|
+
*/
|
|
2018
|
+
deserialize(params) {
|
|
2019
|
+
if (!params) {
|
|
2020
|
+
return;
|
|
2021
|
+
}
|
|
2022
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2023
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
2024
|
+
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* Custom event
|
|
2030
|
+
* @class
|
|
2031
|
+
*/
|
|
2032
|
+
class CustEvent extends AbstractModel {
|
|
2033
|
+
constructor(){
|
|
2034
|
+
super();
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
2038
|
+
* @type {Array.<Cust> || null}
|
|
2039
|
+
*/
|
|
2040
|
+
this.Cust = null;
|
|
2041
|
+
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* @private
|
|
2046
|
+
*/
|
|
2047
|
+
deserialize(params) {
|
|
2048
|
+
if (!params) {
|
|
2049
|
+
return;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
if (params.Cust) {
|
|
2053
|
+
this.Cust = new Array();
|
|
2054
|
+
for (let z in params.Cust) {
|
|
2055
|
+
let obj = new Cust();
|
|
2056
|
+
obj.deserialize(params.Cust[z]);
|
|
2057
|
+
this.Cust.push(obj);
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* The geographical location of the IP address
|
|
2066
|
+
* @class
|
|
2067
|
+
*/
|
|
2068
|
+
class IPLocation extends AbstractModel {
|
|
2069
|
+
constructor(){
|
|
2070
|
+
super();
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* <p>The country of the IP address</p>
|
|
2074
|
+
* @type {string || null}
|
|
2075
|
+
*/
|
|
2076
|
+
this.Country = null;
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* <p>The region of the IP address</p>
|
|
2080
|
+
* @type {string || null}
|
|
2081
|
+
*/
|
|
2082
|
+
this.Region = null;
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>The city of the IP address</p>
|
|
2086
|
+
* @type {string || null}
|
|
2087
|
+
*/
|
|
2088
|
+
this.City = null;
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* <p>The district of the IP address</p>
|
|
2092
|
+
* @type {string || null}
|
|
2093
|
+
*/
|
|
2094
|
+
this.District = null;
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* <p>The longitude of the IP address</p>
|
|
2098
|
+
* @type {string || null}
|
|
2099
|
+
*/
|
|
2100
|
+
this.Longitude = null;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* <p>The latitude of the IP address</p>
|
|
2104
|
+
* @type {string || null}
|
|
2105
|
+
*/
|
|
2106
|
+
this.Latitude = null;
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* <p>The timezone of the IP address</p>
|
|
2110
|
+
* @type {string || null}
|
|
2111
|
+
*/
|
|
2112
|
+
this.Timezone = null;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* <p>The zip code of the IP address</p>
|
|
2116
|
+
* @type {string || null}
|
|
2117
|
+
*/
|
|
2118
|
+
this.ZipCode = null;
|
|
2119
|
+
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* @private
|
|
2124
|
+
*/
|
|
2125
|
+
deserialize(params) {
|
|
2126
|
+
if (!params) {
|
|
2127
|
+
return;
|
|
2128
|
+
}
|
|
2129
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
2130
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
2131
|
+
this.City = 'City' in params ? params.City : null;
|
|
2132
|
+
this.District = 'District' in params ? params.District : null;
|
|
2133
|
+
this.Longitude = 'Longitude' in params ? params.Longitude : null;
|
|
2134
|
+
this.Latitude = 'Latitude' in params ? params.Latitude : null;
|
|
2135
|
+
this.Timezone = 'Timezone' in params ? params.Timezone : null;
|
|
2136
|
+
this.ZipCode = 'ZipCode' in params ? params.ZipCode : null;
|
|
2137
|
+
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Risk score information
|
|
2143
|
+
* @class
|
|
2144
|
+
*/
|
|
2145
|
+
class DataScore extends AbstractModel {
|
|
2146
|
+
constructor(){
|
|
2147
|
+
super();
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* <p>Risk level</p>
|
|
2151
|
+
* @type {number || null}
|
|
2152
|
+
*/
|
|
2153
|
+
this.RiskLevel = null;
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* <p>Risk label</p>
|
|
2157
|
+
* @type {Array.<RiskLabel> || null}
|
|
2158
|
+
*/
|
|
2159
|
+
this.RiskLabels = null;
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* <p>Comprehensive risk score.</p><p>Value ranges from 1 to 1000.</p><p>The larger the value, the larger the risk.</p>
|
|
2163
|
+
* @type {number || null}
|
|
2164
|
+
*/
|
|
2165
|
+
this.RiskScore = null;
|
|
2166
|
+
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @private
|
|
2171
|
+
*/
|
|
2172
|
+
deserialize(params) {
|
|
2173
|
+
if (!params) {
|
|
2174
|
+
return;
|
|
2175
|
+
}
|
|
2176
|
+
this.RiskLevel = 'RiskLevel' in params ? params.RiskLevel : null;
|
|
2177
|
+
|
|
2178
|
+
if (params.RiskLabels) {
|
|
2179
|
+
this.RiskLabels = new Array();
|
|
2180
|
+
for (let z in params.RiskLabels) {
|
|
2181
|
+
let obj = new RiskLabel();
|
|
2182
|
+
obj.deserialize(params.RiskLabels[z]);
|
|
2183
|
+
this.RiskLabels.push(obj);
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
this.RiskScore = 'RiskScore' in params ? params.RiskScore : null;
|
|
2187
|
+
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Browse event details
|
|
2193
|
+
* @class
|
|
2194
|
+
*/
|
|
2195
|
+
class BrowseEvent extends AbstractModel {
|
|
2196
|
+
constructor(){
|
|
2197
|
+
super();
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* <p>Current page type such as home page, search page</p>
|
|
2201
|
+
* @type {string || null}
|
|
2202
|
+
*/
|
|
2203
|
+
this.PageType = null;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* <p>Currently page URL</p>
|
|
2207
|
+
* @type {string || null}
|
|
2208
|
+
*/
|
|
2209
|
+
this.PageUrl = null;
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* <p>Browsing duration</p><p>Measurement unit: ms</p>
|
|
2213
|
+
* @type {number || null}
|
|
2214
|
+
*/
|
|
2215
|
+
this.Duration = null;
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>The type of the content in current page such as ad, video, article</p>
|
|
2219
|
+
* @type {string || null}
|
|
2220
|
+
*/
|
|
2221
|
+
this.ContentType = null;
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* <p>The ID of the content in current page</p>
|
|
2225
|
+
* @type {string || null}
|
|
2226
|
+
*/
|
|
2227
|
+
this.ContentId = null;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* <p>Previous page type such as home page, search page</p>
|
|
2231
|
+
* @type {string || null}
|
|
2232
|
+
*/
|
|
2233
|
+
this.ReferPageType = null;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* <p>Previous page URL</p>
|
|
2237
|
+
* @type {string || null}
|
|
2238
|
+
*/
|
|
2239
|
+
this.ReferPageUrl = null;
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* <p>The ID of the user as guest</p>
|
|
2243
|
+
* @type {string || null}
|
|
2244
|
+
*/
|
|
2245
|
+
this.GuestId = null;
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
2249
|
+
* @type {Array.<Cust> || null}
|
|
2250
|
+
*/
|
|
2251
|
+
this.Cust = null;
|
|
2252
|
+
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* @private
|
|
2257
|
+
*/
|
|
2258
|
+
deserialize(params) {
|
|
2259
|
+
if (!params) {
|
|
2260
|
+
return;
|
|
2261
|
+
}
|
|
2262
|
+
this.PageType = 'PageType' in params ? params.PageType : null;
|
|
2263
|
+
this.PageUrl = 'PageUrl' in params ? params.PageUrl : null;
|
|
2264
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
2265
|
+
this.ContentType = 'ContentType' in params ? params.ContentType : null;
|
|
2266
|
+
this.ContentId = 'ContentId' in params ? params.ContentId : null;
|
|
2267
|
+
this.ReferPageType = 'ReferPageType' in params ? params.ReferPageType : null;
|
|
2268
|
+
this.ReferPageUrl = 'ReferPageUrl' in params ? params.ReferPageUrl : null;
|
|
2269
|
+
this.GuestId = 'GuestId' in params ? params.GuestId : null;
|
|
2270
|
+
|
|
2271
|
+
if (params.Cust) {
|
|
2272
|
+
this.Cust = new Array();
|
|
2273
|
+
for (let z in params.Cust) {
|
|
2274
|
+
let obj = new Cust();
|
|
2275
|
+
obj.deserialize(params.Cust[z]);
|
|
2276
|
+
this.Cust.push(obj);
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* AssessDeviceRiskPremiumPro response structure.
|
|
2285
|
+
* @class
|
|
2286
|
+
*/
|
|
2287
|
+
class AssessDeviceRiskPremiumProResponse extends AbstractModel {
|
|
2288
|
+
constructor(){
|
|
2289
|
+
super();
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* <p>The results of AssessDeviceRiskPremiumPro</p>
|
|
2293
|
+
* @type {AssessDeviceRiskPremiumRsp || null}
|
|
2294
|
+
*/
|
|
2295
|
+
this.Data = null;
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2299
|
+
* @type {string || null}
|
|
2300
|
+
*/
|
|
2301
|
+
this.RequestId = null;
|
|
2302
|
+
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* @private
|
|
2307
|
+
*/
|
|
2308
|
+
deserialize(params) {
|
|
2309
|
+
if (!params) {
|
|
2310
|
+
return;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
if (params.Data) {
|
|
2314
|
+
let obj = new AssessDeviceRiskPremiumRsp();
|
|
2315
|
+
obj.deserialize(params.Data)
|
|
2316
|
+
this.Data = obj;
|
|
2317
|
+
}
|
|
2318
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2319
|
+
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* AssessDeviceRiskPro request structure.
|
|
2325
|
+
* @class
|
|
2326
|
+
*/
|
|
2327
|
+
class AssessDeviceRiskProRequest extends AbstractModel {
|
|
2328
|
+
constructor(){
|
|
2329
|
+
super();
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* <p>Device fingerprint token, obtained after integration of the device fingerprint SDK into your website or application</p>
|
|
2333
|
+
* @type {string || null}
|
|
2334
|
+
*/
|
|
2335
|
+
this.DeviceToken = null;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* <p>User client IP address (IPv4 or IPv6)</p>
|
|
2339
|
+
* @type {string || null}
|
|
2340
|
+
*/
|
|
2341
|
+
this.UserIp = null;
|
|
2342
|
+
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* @private
|
|
2347
|
+
*/
|
|
2348
|
+
deserialize(params) {
|
|
2349
|
+
if (!params) {
|
|
2350
|
+
return;
|
|
2351
|
+
}
|
|
2352
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
2353
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
2354
|
+
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* The details of the point
|
|
2360
|
+
* @class
|
|
2361
|
+
*/
|
|
2362
|
+
class CreditPoint extends AbstractModel {
|
|
2363
|
+
constructor(){
|
|
2364
|
+
super();
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* <p>The value of the point</p>
|
|
2368
|
+
* @type {number || null}
|
|
2369
|
+
*/
|
|
2370
|
+
this.Point = null;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* <p>The type of the point</p>
|
|
2374
|
+
* @type {string || null}
|
|
2375
|
+
*/
|
|
2376
|
+
this.PointType = null;
|
|
2377
|
+
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* @private
|
|
2382
|
+
*/
|
|
2383
|
+
deserialize(params) {
|
|
2384
|
+
if (!params) {
|
|
2385
|
+
return;
|
|
2386
|
+
}
|
|
2387
|
+
this.Point = 'Point' in params ? params.Point : null;
|
|
2388
|
+
this.PointType = 'PointType' in params ? params.PointType : null;
|
|
2389
|
+
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* The details of the item
|
|
2395
|
+
* @class
|
|
2396
|
+
*/
|
|
2397
|
+
class Item extends AbstractModel {
|
|
2398
|
+
constructor(){
|
|
2399
|
+
super();
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* <p>The unique ID of the item</p>
|
|
2403
|
+
* @type {string || null}
|
|
2404
|
+
*/
|
|
2405
|
+
this.ItemId = null;
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* <p>The name of the item</p>
|
|
2409
|
+
* @type {string || null}
|
|
2410
|
+
*/
|
|
2411
|
+
this.ItemName = null;
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* <p>The category of the item</p>
|
|
2415
|
+
* @type {string || null}
|
|
2416
|
+
*/
|
|
2417
|
+
this.Category = null;
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* <p>The price of the item</p>
|
|
2421
|
+
* @type {Amount || null}
|
|
2422
|
+
*/
|
|
2423
|
+
this.Price = null;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* <p>If the item has a UPC (Universal Product Code), please provide it here.</p>
|
|
2427
|
+
* @type {string || null}
|
|
2428
|
+
*/
|
|
2429
|
+
this.UPC = null;
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* <p>If the item has an EAN (European Article Number), please provide it here.</p>
|
|
2433
|
+
* @type {string || null}
|
|
2434
|
+
*/
|
|
2435
|
+
this.EAN = null;
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* <p>If the item has an SKU (Stock Keeping Unit), please provide it here.</p>
|
|
2439
|
+
* @type {string || null}
|
|
2440
|
+
*/
|
|
2441
|
+
this.SKU = null;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* <p>If the item has an ISBN (International Standard Book Number), please provide it here.</p>
|
|
2445
|
+
* @type {string || null}
|
|
2446
|
+
*/
|
|
2447
|
+
this.ISBN = null;
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* <p>The brand of the item</p>
|
|
2451
|
+
* @type {string || null}
|
|
2452
|
+
*/
|
|
2453
|
+
this.Brand = null;
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* <p>The quantity of the item</p>
|
|
2457
|
+
* @type {number || null}
|
|
2458
|
+
*/
|
|
2459
|
+
this.Quantity = null;
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* <p>The manufacture of the item</p>
|
|
2463
|
+
* @type {string || null}
|
|
2464
|
+
*/
|
|
2465
|
+
this.Manufacturer = null;
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* <p>The tags of the item in your system</p>
|
|
2469
|
+
* @type {string || null}
|
|
2470
|
+
*/
|
|
2471
|
+
this.Tags = null;
|
|
2472
|
+
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* @private
|
|
2477
|
+
*/
|
|
2478
|
+
deserialize(params) {
|
|
2479
|
+
if (!params) {
|
|
2480
|
+
return;
|
|
2481
|
+
}
|
|
2482
|
+
this.ItemId = 'ItemId' in params ? params.ItemId : null;
|
|
2483
|
+
this.ItemName = 'ItemName' in params ? params.ItemName : null;
|
|
2484
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
2485
|
+
|
|
2486
|
+
if (params.Price) {
|
|
2487
|
+
let obj = new Amount();
|
|
2488
|
+
obj.deserialize(params.Price)
|
|
2489
|
+
this.Price = obj;
|
|
2490
|
+
}
|
|
2491
|
+
this.UPC = 'UPC' in params ? params.UPC : null;
|
|
2492
|
+
this.EAN = 'EAN' in params ? params.EAN : null;
|
|
2493
|
+
this.SKU = 'SKU' in params ? params.SKU : null;
|
|
2494
|
+
this.ISBN = 'ISBN' in params ? params.ISBN : null;
|
|
2495
|
+
this.Brand = 'Brand' in params ? params.Brand : null;
|
|
2496
|
+
this.Quantity = 'Quantity' in params ? params.Quantity : null;
|
|
2497
|
+
this.Manufacturer = 'Manufacturer' in params ? params.Manufacturer : null;
|
|
2498
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
2499
|
+
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* Amount
|
|
2505
|
+
* @class
|
|
2506
|
+
*/
|
|
2507
|
+
class Amount extends AbstractModel {
|
|
2508
|
+
constructor(){
|
|
2509
|
+
super();
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* <p>Currency code</p><p>Parameter format: Compliant with the ISO 4217 standard</p>
|
|
2513
|
+
* @type {string || null}
|
|
2514
|
+
*/
|
|
2515
|
+
this.Currency = null;
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* <p>Original amount in currency</p>
|
|
2519
|
+
* @type {number || null}
|
|
2520
|
+
*/
|
|
2521
|
+
this.OriginalAmount = null;
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>Current exchange rate of base currency converted to USD</p>
|
|
2525
|
+
* @type {number || null}
|
|
2526
|
+
*/
|
|
2527
|
+
this.ExchangeRateUSD = null;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* <p>Current exchange rate of base currency converted to CNY</p>
|
|
2531
|
+
* @type {number || null}
|
|
2532
|
+
*/
|
|
2533
|
+
this.ExchangeRateCNY = null;
|
|
2534
|
+
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* @private
|
|
2539
|
+
*/
|
|
2540
|
+
deserialize(params) {
|
|
2541
|
+
if (!params) {
|
|
2542
|
+
return;
|
|
2543
|
+
}
|
|
2544
|
+
this.Currency = 'Currency' in params ? params.Currency : null;
|
|
2545
|
+
this.OriginalAmount = 'OriginalAmount' in params ? params.OriginalAmount : null;
|
|
2546
|
+
this.ExchangeRateUSD = 'ExchangeRateUSD' in params ? params.ExchangeRateUSD : null;
|
|
2547
|
+
this.ExchangeRateCNY = 'ExchangeRateCNY' in params ? params.ExchangeRateCNY : null;
|
|
2548
|
+
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* SMS event details
|
|
2554
|
+
* @class
|
|
2555
|
+
*/
|
|
2556
|
+
class SMSEvent extends AbstractModel {
|
|
2557
|
+
constructor(){
|
|
2558
|
+
super();
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* <p>The detail information of the user</p>
|
|
2562
|
+
* @type {User || null}
|
|
2563
|
+
*/
|
|
2564
|
+
this.UserInfo = null;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* <p>The unique ID of the sms</p>
|
|
2568
|
+
* @type {string || null}
|
|
2569
|
+
*/
|
|
2570
|
+
this.SMSId = null;
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* <p>The time that the user received the sms</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with ISO 8601 standard</p>
|
|
2574
|
+
* @type {string || null}
|
|
2575
|
+
*/
|
|
2576
|
+
this.ReceivedTime = null;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* <p>The action of the user after receiving the sms</p><ul><li>no_action: No action from the user</li><li>safe: User confirmation of the correct person's action</li><li>compromised: Feedback from real users indicates third-party action</li></ul>
|
|
2580
|
+
* @type {string || null}
|
|
2581
|
+
*/
|
|
2582
|
+
this.Action = null;
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* <p>The result of the sms</p>
|
|
2586
|
+
* @type {Result || null}
|
|
2587
|
+
*/
|
|
2588
|
+
this.SMSResult = null;
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
2592
|
+
* @type {Array.<Cust> || null}
|
|
2593
|
+
*/
|
|
2594
|
+
this.Cust = null;
|
|
2595
|
+
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* @private
|
|
2600
|
+
*/
|
|
2601
|
+
deserialize(params) {
|
|
2602
|
+
if (!params) {
|
|
2603
|
+
return;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
if (params.UserInfo) {
|
|
2607
|
+
let obj = new User();
|
|
2608
|
+
obj.deserialize(params.UserInfo)
|
|
2609
|
+
this.UserInfo = obj;
|
|
2610
|
+
}
|
|
2611
|
+
this.SMSId = 'SMSId' in params ? params.SMSId : null;
|
|
2612
|
+
this.ReceivedTime = 'ReceivedTime' in params ? params.ReceivedTime : null;
|
|
2613
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
2614
|
+
|
|
2615
|
+
if (params.SMSResult) {
|
|
2616
|
+
let obj = new Result();
|
|
2617
|
+
obj.deserialize(params.SMSResult)
|
|
2618
|
+
this.SMSResult = obj;
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
if (params.Cust) {
|
|
2622
|
+
this.Cust = new Array();
|
|
2623
|
+
for (let z in params.Cust) {
|
|
2624
|
+
let obj = new Cust();
|
|
2625
|
+
obj.deserialize(params.Cust[z]);
|
|
2626
|
+
this.Cust.push(obj);
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* AssessRisk response structure.
|
|
2635
|
+
* @class
|
|
2636
|
+
*/
|
|
2637
|
+
class AssessRiskResponse extends AbstractModel {
|
|
2638
|
+
constructor(){
|
|
2639
|
+
super();
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* <p>The results of AssessRisk</p>
|
|
2643
|
+
* @type {AssessRiskRsp || null}
|
|
2644
|
+
*/
|
|
2645
|
+
this.Data = null;
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2649
|
+
* @type {string || null}
|
|
2650
|
+
*/
|
|
2651
|
+
this.RequestId = null;
|
|
2652
|
+
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* @private
|
|
2657
|
+
*/
|
|
2658
|
+
deserialize(params) {
|
|
2659
|
+
if (!params) {
|
|
2660
|
+
return;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
if (params.Data) {
|
|
2664
|
+
let obj = new AssessRiskRsp();
|
|
2665
|
+
obj.deserialize(params.Data)
|
|
2666
|
+
this.Data = obj;
|
|
2667
|
+
}
|
|
2668
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2669
|
+
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* AssessEnvironmentRisk request structure.
|
|
2675
|
+
* @class
|
|
2676
|
+
*/
|
|
2677
|
+
class AssessEnvironmentRiskRequest extends AbstractModel {
|
|
2678
|
+
constructor(){
|
|
2679
|
+
super();
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* <p>User client IP address(IPv4 or IPv6)</p>
|
|
2683
|
+
* @type {string || null}
|
|
2684
|
+
*/
|
|
2685
|
+
this.UserIp = null;
|
|
2686
|
+
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* @private
|
|
2691
|
+
*/
|
|
2692
|
+
deserialize(params) {
|
|
2693
|
+
if (!params) {
|
|
2694
|
+
return;
|
|
2695
|
+
}
|
|
2696
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
2697
|
+
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* AddPromotion event details
|
|
2703
|
+
* @class
|
|
2704
|
+
*/
|
|
2705
|
+
class AddPromotionEvent extends AbstractModel {
|
|
2706
|
+
constructor(){
|
|
2707
|
+
super();
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* <p>The ID of the promotion</p>
|
|
2711
|
+
* @type {string || null}
|
|
2712
|
+
*/
|
|
2713
|
+
this.PromotionId = null;
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* <p>The name of the promotion</p>
|
|
2717
|
+
* @type {string || null}
|
|
2718
|
+
*/
|
|
2719
|
+
this.PromotionName = null;
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* <p>The description of the promotion</p>
|
|
2723
|
+
* @type {string || null}
|
|
2724
|
+
*/
|
|
2725
|
+
this.Description = null;
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* <p>The ID of the inviter</p>
|
|
2729
|
+
* @type {string || null}
|
|
2730
|
+
*/
|
|
2731
|
+
this.InviterUserId = null;
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* <p>The coupon associated with the promotion</p>
|
|
2735
|
+
* @type {Coupon || null}
|
|
2736
|
+
*/
|
|
2737
|
+
this.Coupon = null;
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* <p>The point associated with the promotion</p>
|
|
2741
|
+
* @type {CreditPoint || null}
|
|
2742
|
+
*/
|
|
2743
|
+
this.Point = null;
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* <p>The result of participating the promotion</p>
|
|
2747
|
+
* @type {Result || null}
|
|
2748
|
+
*/
|
|
2749
|
+
this.Result = null;
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131***85678"}]</p>
|
|
2753
|
+
* @type {Array.<Cust> || null}
|
|
2754
|
+
*/
|
|
2755
|
+
this.Cust = null;
|
|
2756
|
+
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* @private
|
|
2761
|
+
*/
|
|
2762
|
+
deserialize(params) {
|
|
2763
|
+
if (!params) {
|
|
2764
|
+
return;
|
|
2765
|
+
}
|
|
2766
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
2767
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
2768
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2769
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
2770
|
+
|
|
2771
|
+
if (params.Coupon) {
|
|
2772
|
+
let obj = new Coupon();
|
|
2773
|
+
obj.deserialize(params.Coupon)
|
|
2774
|
+
this.Coupon = obj;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
if (params.Point) {
|
|
2778
|
+
let obj = new CreditPoint();
|
|
2779
|
+
obj.deserialize(params.Point)
|
|
2780
|
+
this.Point = obj;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
if (params.Result) {
|
|
2784
|
+
let obj = new Result();
|
|
2785
|
+
obj.deserialize(params.Result)
|
|
2786
|
+
this.Result = obj;
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
if (params.Cust) {
|
|
2790
|
+
this.Cust = new Array();
|
|
2791
|
+
for (let z in params.Cust) {
|
|
2792
|
+
let obj = new Cust();
|
|
2793
|
+
obj.deserialize(params.Cust[z]);
|
|
2794
|
+
this.Cust.push(obj);
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* The details of the promotion
|
|
2803
|
+
* @class
|
|
2804
|
+
*/
|
|
2805
|
+
class Promotion extends AbstractModel {
|
|
2806
|
+
constructor(){
|
|
2807
|
+
super();
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* <p>The ID of the promotion</p>
|
|
2811
|
+
* @type {string || null}
|
|
2812
|
+
*/
|
|
2813
|
+
this.PromotionId = null;
|
|
2814
|
+
|
|
2815
|
+
/**
|
|
2816
|
+
* <p>The name of the promotion</p>
|
|
2817
|
+
* @type {string || null}
|
|
2818
|
+
*/
|
|
2819
|
+
this.PromotionName = null;
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* <p>The description of the promotion</p>
|
|
2823
|
+
* @type {string || null}
|
|
2824
|
+
*/
|
|
2825
|
+
this.Description = null;
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* <p>The ID of the inviter</p>
|
|
2829
|
+
* @type {string || null}
|
|
2830
|
+
*/
|
|
2831
|
+
this.InviterUserId = null;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* <p>The coupon(s) associated with the promotion</p>
|
|
2835
|
+
* @type {Coupon || null}
|
|
2836
|
+
*/
|
|
2837
|
+
this.Coupon = null;
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* <p>The point(s) associated with the promotion</p>
|
|
2841
|
+
* @type {CreditPoint || null}
|
|
2842
|
+
*/
|
|
2843
|
+
this.CreditPoint = null;
|
|
2844
|
+
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
/**
|
|
2848
|
+
* @private
|
|
2849
|
+
*/
|
|
2850
|
+
deserialize(params) {
|
|
2851
|
+
if (!params) {
|
|
2852
|
+
return;
|
|
2853
|
+
}
|
|
2854
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
2855
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
2856
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2857
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
2858
|
+
|
|
2859
|
+
if (params.Coupon) {
|
|
2860
|
+
let obj = new Coupon();
|
|
2861
|
+
obj.deserialize(params.Coupon)
|
|
2862
|
+
this.Coupon = obj;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
if (params.CreditPoint) {
|
|
2866
|
+
let obj = new CreditPoint();
|
|
2867
|
+
obj.deserialize(params.CreditPoint)
|
|
2868
|
+
this.CreditPoint = obj;
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* ModifyAccount event details
|
|
2876
|
+
* @class
|
|
2877
|
+
*/
|
|
2878
|
+
class ModifyAccountEvent extends AbstractModel {
|
|
2879
|
+
constructor(){
|
|
2880
|
+
super();
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* <p>The detail information of the user</p>
|
|
2884
|
+
* @type {User || null}
|
|
2885
|
+
*/
|
|
2886
|
+
this.UserInfo = null;
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* <p>The personal information of the account when registered</p>
|
|
2890
|
+
* @type {Person || null}
|
|
2891
|
+
*/
|
|
2892
|
+
this.Person = null;
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* <p>The billing address the user provided when registered</p>
|
|
2896
|
+
* @type {Address || null}
|
|
2897
|
+
*/
|
|
2898
|
+
this.BillingAddress = null;
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* <p>The delivery address the user provided when registered</p>
|
|
2902
|
+
* @type {Address || null}
|
|
2903
|
+
*/
|
|
2904
|
+
this.DeliveryAddress = null;
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
2908
|
+
* @type {Array.<Cust> || null}
|
|
2909
|
+
*/
|
|
2910
|
+
this.Cust = null;
|
|
2911
|
+
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* @private
|
|
2916
|
+
*/
|
|
2917
|
+
deserialize(params) {
|
|
2918
|
+
if (!params) {
|
|
2919
|
+
return;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
if (params.UserInfo) {
|
|
2923
|
+
let obj = new User();
|
|
2924
|
+
obj.deserialize(params.UserInfo)
|
|
2925
|
+
this.UserInfo = obj;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
if (params.Person) {
|
|
2929
|
+
let obj = new Person();
|
|
2930
|
+
obj.deserialize(params.Person)
|
|
2931
|
+
this.Person = obj;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
if (params.BillingAddress) {
|
|
2935
|
+
let obj = new Address();
|
|
2936
|
+
obj.deserialize(params.BillingAddress)
|
|
2937
|
+
this.BillingAddress = obj;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
if (params.DeliveryAddress) {
|
|
2941
|
+
let obj = new Address();
|
|
2942
|
+
obj.deserialize(params.DeliveryAddress)
|
|
2943
|
+
this.DeliveryAddress = obj;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
if (params.Cust) {
|
|
2947
|
+
this.Cust = new Array();
|
|
2948
|
+
for (let z in params.Cust) {
|
|
2949
|
+
let obj = new Cust();
|
|
2950
|
+
obj.deserialize(params.Cust[z]);
|
|
2951
|
+
this.Cust.push(obj);
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* Inviter information
|
|
2960
|
+
* @class
|
|
2961
|
+
*/
|
|
2962
|
+
class Inviter extends AbstractModel {
|
|
2963
|
+
constructor(){
|
|
2964
|
+
super();
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* <p>The ID of the inviter</p>
|
|
2968
|
+
* @type {string || null}
|
|
2969
|
+
*/
|
|
2970
|
+
this.InviterUserId = null;
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* <p>The phone number of the inviter</p><p>Parameter format: Complies with the E.164 standard format, which includes "+", region code, and number.</p>
|
|
2974
|
+
* @type {string || null}
|
|
2975
|
+
*/
|
|
2976
|
+
this.InviterPhone = null;
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* <p>The code that the inviter sent to the user</p>
|
|
2980
|
+
* @type {string || null}
|
|
2981
|
+
*/
|
|
2982
|
+
this.InviteCode = null;
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* <p>The channel that inviter used to invite the user</p>
|
|
2986
|
+
* @type {string || null}
|
|
2987
|
+
*/
|
|
2988
|
+
this.InviteChannel = null;
|
|
2989
|
+
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* @private
|
|
2994
|
+
*/
|
|
2995
|
+
deserialize(params) {
|
|
2996
|
+
if (!params) {
|
|
2997
|
+
return;
|
|
2998
|
+
}
|
|
2999
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
3000
|
+
this.InviterPhone = 'InviterPhone' in params ? params.InviterPhone : null;
|
|
3001
|
+
this.InviteCode = 'InviteCode' in params ? params.InviteCode : null;
|
|
3002
|
+
this.InviteChannel = 'InviteChannel' in params ? params.InviteChannel : null;
|
|
3003
|
+
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* Logout event details
|
|
3009
|
+
* @class
|
|
3010
|
+
*/
|
|
3011
|
+
class LogoutEvent extends AbstractModel {
|
|
3012
|
+
constructor(){
|
|
3013
|
+
super();
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* <p>The detail information of the user</p>
|
|
3017
|
+
* @type {User || null}
|
|
3018
|
+
*/
|
|
3019
|
+
this.UserInfo = null;
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* <p>The user name entered when the user logged in</p>
|
|
3023
|
+
* @type {string || null}
|
|
3024
|
+
*/
|
|
3025
|
+
this.UserLoginName = null;
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
3029
|
+
* @type {Array.<Cust> || null}
|
|
3030
|
+
*/
|
|
3031
|
+
this.Cust = null;
|
|
3032
|
+
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* @private
|
|
3037
|
+
*/
|
|
3038
|
+
deserialize(params) {
|
|
3039
|
+
if (!params) {
|
|
3040
|
+
return;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
if (params.UserInfo) {
|
|
3044
|
+
let obj = new User();
|
|
3045
|
+
obj.deserialize(params.UserInfo)
|
|
3046
|
+
this.UserInfo = obj;
|
|
3047
|
+
}
|
|
3048
|
+
this.UserLoginName = 'UserLoginName' in params ? params.UserLoginName : null;
|
|
3049
|
+
|
|
3050
|
+
if (params.Cust) {
|
|
3051
|
+
this.Cust = new Array();
|
|
3052
|
+
for (let z in params.Cust) {
|
|
3053
|
+
let obj = new Cust();
|
|
3054
|
+
obj.deserialize(params.Cust[z]);
|
|
3055
|
+
this.Cust.push(obj);
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Browser information
|
|
3064
|
+
* @class
|
|
3065
|
+
*/
|
|
3066
|
+
class Browser extends AbstractModel {
|
|
3067
|
+
constructor(){
|
|
3068
|
+
super();
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* <p>The user agent of the browser that interacts with the website</p>
|
|
3072
|
+
* @type {string || null}
|
|
3073
|
+
*/
|
|
3074
|
+
this.UserAgent = null;
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* <p>The language(s) that the client prefers</p><p>Parameter format: Complies with the ISO 3166 standard</p>
|
|
3078
|
+
* @type {string || null}
|
|
3079
|
+
*/
|
|
3080
|
+
this.AcceptLanguage = null;
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* <p>The language(s) intended for the audience</p><p>Parameter format: Compliant with ISO 3166 standard</p>
|
|
3084
|
+
* @type {string || null}
|
|
3085
|
+
*/
|
|
3086
|
+
this.ContentLanguage = null;
|
|
3087
|
+
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* @private
|
|
3092
|
+
*/
|
|
3093
|
+
deserialize(params) {
|
|
3094
|
+
if (!params) {
|
|
3095
|
+
return;
|
|
3096
|
+
}
|
|
3097
|
+
this.UserAgent = 'UserAgent' in params ? params.UserAgent : null;
|
|
3098
|
+
this.AcceptLanguage = 'AcceptLanguage' in params ? params.AcceptLanguage : null;
|
|
3099
|
+
this.ContentLanguage = 'ContentLanguage' in params ? params.ContentLanguage : null;
|
|
3100
|
+
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Payment result
|
|
3106
|
+
* @class
|
|
3107
|
+
*/
|
|
3108
|
+
class PaymentResult extends AbstractModel {
|
|
3109
|
+
constructor(){
|
|
3110
|
+
super();
|
|
3111
|
+
|
|
3112
|
+
/**
|
|
3113
|
+
* <p>The status of the payment</p><p>Enumeration values: </p><ul><li>success: Success, </li><li>failure: Failure.</li></ul>
|
|
3114
|
+
* @type {string || null}
|
|
3115
|
+
*/
|
|
3116
|
+
this.Status = null;
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* <p>The reason why the payment has been declined. e.g.card_declined</p>
|
|
3120
|
+
* @type {string || null}
|
|
3121
|
+
*/
|
|
3122
|
+
this.FailureReason = null;
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* <p>Whether the 3DS has been used in the payment, enumeration value:</p><ul><li>Yes: true</li><li>No: false</li></ul>
|
|
3126
|
+
* @type {boolean || null}
|
|
3127
|
+
*/
|
|
3128
|
+
this.ThreeDomainSecure = null;
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* <p>The ECI code returned when 3DS used</p>
|
|
3132
|
+
* @type {string || null}
|
|
3133
|
+
*/
|
|
3134
|
+
this.ECICode = null;
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* <p>Response code from the AVS used for address verification</p>
|
|
3138
|
+
* @type {string || null}
|
|
3139
|
+
*/
|
|
3140
|
+
this.AVSCode = null;
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* <p>Response code from the CVC used for payment authenticity</p>
|
|
3144
|
+
* @type {string || null}
|
|
3145
|
+
*/
|
|
3146
|
+
this.CVCCode = null;
|
|
3147
|
+
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* @private
|
|
3152
|
+
*/
|
|
3153
|
+
deserialize(params) {
|
|
3154
|
+
if (!params) {
|
|
3155
|
+
return;
|
|
3156
|
+
}
|
|
3157
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
3158
|
+
this.FailureReason = 'FailureReason' in params ? params.FailureReason : null;
|
|
3159
|
+
this.ThreeDomainSecure = 'ThreeDomainSecure' in params ? params.ThreeDomainSecure : null;
|
|
3160
|
+
this.ECICode = 'ECICode' in params ? params.ECICode : null;
|
|
3161
|
+
this.AVSCode = 'AVSCode' in params ? params.AVSCode : null;
|
|
3162
|
+
this.CVCCode = 'CVCCode' in params ? params.CVCCode : null;
|
|
3163
|
+
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Transaction event details
|
|
3169
|
+
* @class
|
|
3170
|
+
*/
|
|
3171
|
+
class TransactionEvent extends AbstractModel {
|
|
3172
|
+
constructor(){
|
|
3173
|
+
super();
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* <p>The unique ID of the transaction</p>
|
|
3177
|
+
* @type {string || null}
|
|
3178
|
+
*/
|
|
3179
|
+
this.TransactionId = null;
|
|
3180
|
+
|
|
3181
|
+
/**
|
|
3182
|
+
* <p>The ID(s) of the order associated with the transaction</p>
|
|
3183
|
+
* @type {Array.<string> || null}
|
|
3184
|
+
*/
|
|
3185
|
+
this.OrderId = null;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* <p>The amount of the transaction</p>
|
|
3189
|
+
* @type {Amount || null}
|
|
3190
|
+
*/
|
|
3191
|
+
this.PaymentAmount = null;
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* <p>The detail information of the payment method associated with the transaction</p>
|
|
3195
|
+
* @type {PaymentMethod || null}
|
|
3196
|
+
*/
|
|
3197
|
+
this.PaymentMethod = null;
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* <p>Transaction type</p><p>Enumeration value:</p><ul><li>sale: One-time authorization and deduction (most common)</li><li>authorize: Authorization only (frozen amount)</li><li>capture: Execute deduction (after authorization)</li><li>void: Cancel pending authorization or deduction</li><li>refund: Refund (part or all)</li><li>deposit: Deposit to account</li><li>withdrawal: Withdrawal from account</li><li>transfer: Fund transfer between accounts</li><li>buy: Purchase asset (for example, crypto currency)</li><li>sell: Sell asset</li><li>send: Send fund/asset (for example, cross-wallet transfer)</li><li>receive: Receive fund/asset</li></ul><p>Default value: sale</p>
|
|
3201
|
+
* @type {string || null}
|
|
3202
|
+
*/
|
|
3203
|
+
this.TransactionType = null;
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* <p>Bill information</p>
|
|
3207
|
+
* @type {Billing || null}
|
|
3208
|
+
*/
|
|
3209
|
+
this.Billing = null;
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* <p>Delivery information</p>
|
|
3213
|
+
* @type {Delivery || null}
|
|
3214
|
+
*/
|
|
3215
|
+
this.Delivery = null;
|
|
3216
|
+
|
|
3217
|
+
/**
|
|
3218
|
+
* <p>Merchant information</p>
|
|
3219
|
+
* @type {Merchant || null}
|
|
3220
|
+
*/
|
|
3221
|
+
this.Merchant = null;
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* <p>Payment result</p>
|
|
3225
|
+
* @type {PaymentResult || null}
|
|
3226
|
+
*/
|
|
3227
|
+
this.PaymentResult = null;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* <p>The ID of the recipent in transfer transaction</p>
|
|
3231
|
+
* @type {string || null}
|
|
3232
|
+
*/
|
|
3233
|
+
this.TransferRecipientUserId = null;
|
|
3234
|
+
|
|
3235
|
+
/**
|
|
3236
|
+
* <p>The address of the sender in transfer transaction</p>
|
|
3237
|
+
* @type {Address || null}
|
|
3238
|
+
*/
|
|
3239
|
+
this.TransferSentAddress = null;
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* <p>Physical address of the recipient, applicable to the transfer transaction type.</p>
|
|
3243
|
+
* @type {Address || null}
|
|
3244
|
+
*/
|
|
3245
|
+
this.TransferReceivedAddress = null;
|
|
3246
|
+
|
|
3247
|
+
/**
|
|
3248
|
+
* <p>The digital order(s) associated with the transaction</p>
|
|
3249
|
+
* @type {Array.<DigitalOrder> || null}
|
|
3250
|
+
*/
|
|
3251
|
+
this.DigitalOrders = null;
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* <p>Wallet to receive crypto currency</p>
|
|
3255
|
+
* @type {Wallet || null}
|
|
3256
|
+
*/
|
|
3257
|
+
this.ReceiverWallet = null;
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
3261
|
+
* @type {Array.<Cust> || null}
|
|
3262
|
+
*/
|
|
3263
|
+
this.Cust = null;
|
|
3264
|
+
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
/**
|
|
3268
|
+
* @private
|
|
3269
|
+
*/
|
|
3270
|
+
deserialize(params) {
|
|
3271
|
+
if (!params) {
|
|
3272
|
+
return;
|
|
3273
|
+
}
|
|
3274
|
+
this.TransactionId = 'TransactionId' in params ? params.TransactionId : null;
|
|
3275
|
+
this.OrderId = 'OrderId' in params ? params.OrderId : null;
|
|
3276
|
+
|
|
3277
|
+
if (params.PaymentAmount) {
|
|
3278
|
+
let obj = new Amount();
|
|
3279
|
+
obj.deserialize(params.PaymentAmount)
|
|
3280
|
+
this.PaymentAmount = obj;
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
if (params.PaymentMethod) {
|
|
3284
|
+
let obj = new PaymentMethod();
|
|
3285
|
+
obj.deserialize(params.PaymentMethod)
|
|
3286
|
+
this.PaymentMethod = obj;
|
|
3287
|
+
}
|
|
3288
|
+
this.TransactionType = 'TransactionType' in params ? params.TransactionType : null;
|
|
3289
|
+
|
|
3290
|
+
if (params.Billing) {
|
|
3291
|
+
let obj = new Billing();
|
|
3292
|
+
obj.deserialize(params.Billing)
|
|
3293
|
+
this.Billing = obj;
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
if (params.Delivery) {
|
|
3297
|
+
let obj = new Delivery();
|
|
3298
|
+
obj.deserialize(params.Delivery)
|
|
3299
|
+
this.Delivery = obj;
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
if (params.Merchant) {
|
|
3303
|
+
let obj = new Merchant();
|
|
3304
|
+
obj.deserialize(params.Merchant)
|
|
3305
|
+
this.Merchant = obj;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
if (params.PaymentResult) {
|
|
3309
|
+
let obj = new PaymentResult();
|
|
3310
|
+
obj.deserialize(params.PaymentResult)
|
|
3311
|
+
this.PaymentResult = obj;
|
|
3312
|
+
}
|
|
3313
|
+
this.TransferRecipientUserId = 'TransferRecipientUserId' in params ? params.TransferRecipientUserId : null;
|
|
3314
|
+
|
|
3315
|
+
if (params.TransferSentAddress) {
|
|
3316
|
+
let obj = new Address();
|
|
3317
|
+
obj.deserialize(params.TransferSentAddress)
|
|
3318
|
+
this.TransferSentAddress = obj;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
if (params.TransferReceivedAddress) {
|
|
3322
|
+
let obj = new Address();
|
|
3323
|
+
obj.deserialize(params.TransferReceivedAddress)
|
|
3324
|
+
this.TransferReceivedAddress = obj;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
if (params.DigitalOrders) {
|
|
3328
|
+
this.DigitalOrders = new Array();
|
|
3329
|
+
for (let z in params.DigitalOrders) {
|
|
3330
|
+
let obj = new DigitalOrder();
|
|
3331
|
+
obj.deserialize(params.DigitalOrders[z]);
|
|
3332
|
+
this.DigitalOrders.push(obj);
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
|
|
3336
|
+
if (params.ReceiverWallet) {
|
|
3337
|
+
let obj = new Wallet();
|
|
3338
|
+
obj.deserialize(params.ReceiverWallet)
|
|
3339
|
+
this.ReceiverWallet = obj;
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3342
|
+
if (params.Cust) {
|
|
3343
|
+
this.Cust = new Array();
|
|
3344
|
+
for (let z in params.Cust) {
|
|
3345
|
+
let obj = new Cust();
|
|
3346
|
+
obj.deserialize(params.Cust[z]);
|
|
3347
|
+
this.Cust.push(obj);
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* The results of AssessRisk
|
|
3356
|
+
* @class
|
|
3357
|
+
*/
|
|
3358
|
+
class AssessRiskRsp extends AbstractModel {
|
|
3359
|
+
constructor(){
|
|
3360
|
+
super();
|
|
181
3361
|
|
|
182
3362
|
/**
|
|
183
|
-
* <p>
|
|
184
|
-
* @type {
|
|
3363
|
+
* <p>Decision information</p>
|
|
3364
|
+
* @type {Decision || null}
|
|
185
3365
|
*/
|
|
186
|
-
this.
|
|
3366
|
+
this.Decision = null;
|
|
187
3367
|
|
|
188
3368
|
/**
|
|
189
|
-
* <p>
|
|
190
|
-
* @type {
|
|
3369
|
+
* <p>Risk score, a scoring result calculated based on the product services you have enabled</p>
|
|
3370
|
+
* @type {Score || null}
|
|
191
3371
|
*/
|
|
192
|
-
this.
|
|
3372
|
+
this.Score = null;
|
|
193
3373
|
|
|
194
3374
|
/**
|
|
195
|
-
* <p>
|
|
196
|
-
* @type {
|
|
3375
|
+
* <p>Extended information</p>
|
|
3376
|
+
* @type {Array.<Cust> || null}
|
|
197
3377
|
*/
|
|
198
|
-
this.
|
|
3378
|
+
this.ExtraInfo = null;
|
|
199
3379
|
|
|
200
3380
|
}
|
|
201
3381
|
|
|
@@ -206,43 +3386,50 @@ class IPLocation extends AbstractModel {
|
|
|
206
3386
|
if (!params) {
|
|
207
3387
|
return;
|
|
208
3388
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
3389
|
+
|
|
3390
|
+
if (params.Decision) {
|
|
3391
|
+
let obj = new Decision();
|
|
3392
|
+
obj.deserialize(params.Decision)
|
|
3393
|
+
this.Decision = obj;
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
if (params.Score) {
|
|
3397
|
+
let obj = new Score();
|
|
3398
|
+
obj.deserialize(params.Score)
|
|
3399
|
+
this.Score = obj;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
if (params.ExtraInfo) {
|
|
3403
|
+
this.ExtraInfo = new Array();
|
|
3404
|
+
for (let z in params.ExtraInfo) {
|
|
3405
|
+
let obj = new Cust();
|
|
3406
|
+
obj.deserialize(params.ExtraInfo[z]);
|
|
3407
|
+
this.ExtraInfo.push(obj);
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
217
3410
|
|
|
218
3411
|
}
|
|
219
3412
|
}
|
|
220
3413
|
|
|
221
3414
|
/**
|
|
222
|
-
*
|
|
3415
|
+
* ModifyPassword event details
|
|
223
3416
|
* @class
|
|
224
3417
|
*/
|
|
225
|
-
class
|
|
3418
|
+
class ModifyPasswordEvent extends AbstractModel {
|
|
226
3419
|
constructor(){
|
|
227
3420
|
super();
|
|
228
3421
|
|
|
229
3422
|
/**
|
|
230
|
-
* <p>
|
|
231
|
-
* @type {
|
|
232
|
-
*/
|
|
233
|
-
this.RiskLevel = null;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* <p>Risk label</p>
|
|
237
|
-
* @type {Array.<RiskLabel> || null}
|
|
3423
|
+
* <p>The reason why the password was updated</p><p>Enumeration value:</p><ul><li>user_modify: User self-initiated modification</li><li>forgot_password: Forget password</li><li>forced_reset: System forcing reset</li></ul>
|
|
3424
|
+
* @type {string || null}
|
|
238
3425
|
*/
|
|
239
|
-
this.
|
|
3426
|
+
this.Reason = null;
|
|
240
3427
|
|
|
241
3428
|
/**
|
|
242
|
-
* <p>
|
|
243
|
-
* @type {
|
|
3429
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
3430
|
+
* @type {Array.<Cust> || null}
|
|
244
3431
|
*/
|
|
245
|
-
this.
|
|
3432
|
+
this.Cust = null;
|
|
246
3433
|
|
|
247
3434
|
}
|
|
248
3435
|
|
|
@@ -253,17 +3440,16 @@ class DataScore extends AbstractModel {
|
|
|
253
3440
|
if (!params) {
|
|
254
3441
|
return;
|
|
255
3442
|
}
|
|
256
|
-
this.
|
|
3443
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
257
3444
|
|
|
258
|
-
if (params.
|
|
259
|
-
this.
|
|
260
|
-
for (let z in params.
|
|
261
|
-
let obj = new
|
|
262
|
-
obj.deserialize(params.
|
|
263
|
-
this.
|
|
3445
|
+
if (params.Cust) {
|
|
3446
|
+
this.Cust = new Array();
|
|
3447
|
+
for (let z in params.Cust) {
|
|
3448
|
+
let obj = new Cust();
|
|
3449
|
+
obj.deserialize(params.Cust[z]);
|
|
3450
|
+
this.Cust.push(obj);
|
|
264
3451
|
}
|
|
265
3452
|
}
|
|
266
|
-
this.RiskScore = 'RiskScore' in params ? params.RiskScore : null;
|
|
267
3453
|
|
|
268
3454
|
}
|
|
269
3455
|
}
|
|
@@ -326,24 +3512,54 @@ class AssessDeviceRiskRsp extends AbstractModel {
|
|
|
326
3512
|
}
|
|
327
3513
|
|
|
328
3514
|
/**
|
|
329
|
-
*
|
|
3515
|
+
* The details of the coupon
|
|
330
3516
|
* @class
|
|
331
3517
|
*/
|
|
332
|
-
class
|
|
3518
|
+
class Coupon extends AbstractModel {
|
|
333
3519
|
constructor(){
|
|
334
3520
|
super();
|
|
335
3521
|
|
|
336
3522
|
/**
|
|
337
|
-
* <p>The
|
|
338
|
-
* @type {
|
|
3523
|
+
* <p>The unique ID of each coupon</p>
|
|
3524
|
+
* @type {string || null}
|
|
339
3525
|
*/
|
|
340
|
-
this.
|
|
3526
|
+
this.CouponId = null;
|
|
341
3527
|
|
|
342
3528
|
/**
|
|
343
|
-
* The
|
|
3529
|
+
* <p>The name of the coupon</p>
|
|
344
3530
|
* @type {string || null}
|
|
345
3531
|
*/
|
|
346
|
-
this.
|
|
3532
|
+
this.CouponName = null;
|
|
3533
|
+
|
|
3534
|
+
/**
|
|
3535
|
+
* <p>The start time of the coupon</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with ISO 8601.</p>
|
|
3536
|
+
* @type {string || null}
|
|
3537
|
+
*/
|
|
3538
|
+
this.StartTime = null;
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
* <p>The expiration time of the coupon</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with ISO 8601 standard</p>
|
|
3542
|
+
* @type {string || null}
|
|
3543
|
+
*/
|
|
3544
|
+
this.ExpireTime = null;
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* <p>The percentage rate of the coupon. If discount off is 10%,please send 0.1</p>
|
|
3548
|
+
* @type {number || null}
|
|
3549
|
+
*/
|
|
3550
|
+
this.PercentageRate = null;
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* <p>The discount amount of the coupon</p>
|
|
3554
|
+
* @type {Amount || null}
|
|
3555
|
+
*/
|
|
3556
|
+
this.DiscountAmount = null;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* <p>The threshold amount of the coupon</p>
|
|
3560
|
+
* @type {number || null}
|
|
3561
|
+
*/
|
|
3562
|
+
this.Threshold = null;
|
|
347
3563
|
|
|
348
3564
|
}
|
|
349
3565
|
|
|
@@ -354,36 +3570,71 @@ class AssessEnvironmentRiskResponse extends AbstractModel {
|
|
|
354
3570
|
if (!params) {
|
|
355
3571
|
return;
|
|
356
3572
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
3573
|
+
this.CouponId = 'CouponId' in params ? params.CouponId : null;
|
|
3574
|
+
this.CouponName = 'CouponName' in params ? params.CouponName : null;
|
|
3575
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
3576
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
3577
|
+
this.PercentageRate = 'PercentageRate' in params ? params.PercentageRate : null;
|
|
3578
|
+
|
|
3579
|
+
if (params.DiscountAmount) {
|
|
3580
|
+
let obj = new Amount();
|
|
3581
|
+
obj.deserialize(params.DiscountAmount)
|
|
3582
|
+
this.DiscountAmount = obj;
|
|
362
3583
|
}
|
|
363
|
-
this.
|
|
3584
|
+
this.Threshold = 'Threshold' in params ? params.Threshold : null;
|
|
364
3585
|
|
|
365
3586
|
}
|
|
366
3587
|
}
|
|
367
3588
|
|
|
368
3589
|
/**
|
|
369
|
-
*
|
|
3590
|
+
* Register event details
|
|
370
3591
|
* @class
|
|
371
3592
|
*/
|
|
372
|
-
class
|
|
3593
|
+
class RegisterEvent extends AbstractModel {
|
|
373
3594
|
constructor(){
|
|
374
3595
|
super();
|
|
375
3596
|
|
|
376
3597
|
/**
|
|
377
|
-
* <p>The
|
|
378
|
-
* @type {
|
|
3598
|
+
* <p>The result of the register</p>
|
|
3599
|
+
* @type {Result || null}
|
|
379
3600
|
*/
|
|
380
|
-
this.
|
|
3601
|
+
this.RegisterResult = null;
|
|
381
3602
|
|
|
382
3603
|
/**
|
|
383
|
-
* The
|
|
384
|
-
* @type {
|
|
3604
|
+
* <p>The detail information of the user</p>
|
|
3605
|
+
* @type {User || null}
|
|
385
3606
|
*/
|
|
386
|
-
this.
|
|
3607
|
+
this.UserInfo = null;
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* <p>The personal information of the account when registered</p>
|
|
3611
|
+
* @type {Person || null}
|
|
3612
|
+
*/
|
|
3613
|
+
this.Person = null;
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* <p>The billing address the user provided when registered</p>
|
|
3617
|
+
* @type {Address || null}
|
|
3618
|
+
*/
|
|
3619
|
+
this.BillingAddress = null;
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* <p>The delivery address the user provided when registered</p>
|
|
3623
|
+
* @type {Address || null}
|
|
3624
|
+
*/
|
|
3625
|
+
this.DeliveryAddress = null;
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* <p>The detail information of the inviter who invited the user to your business</p>
|
|
3629
|
+
* @type {Inviter || null}
|
|
3630
|
+
*/
|
|
3631
|
+
this.Inviter = null;
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
3635
|
+
* @type {Array.<Cust> || null}
|
|
3636
|
+
*/
|
|
3637
|
+
this.Cust = null;
|
|
387
3638
|
|
|
388
3639
|
}
|
|
389
3640
|
|
|
@@ -395,35 +3646,109 @@ class AssessDeviceRiskPremiumProResponse extends AbstractModel {
|
|
|
395
3646
|
return;
|
|
396
3647
|
}
|
|
397
3648
|
|
|
398
|
-
if (params.
|
|
399
|
-
let obj = new
|
|
400
|
-
obj.deserialize(params.
|
|
401
|
-
this.
|
|
3649
|
+
if (params.RegisterResult) {
|
|
3650
|
+
let obj = new Result();
|
|
3651
|
+
obj.deserialize(params.RegisterResult)
|
|
3652
|
+
this.RegisterResult = obj;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
if (params.UserInfo) {
|
|
3656
|
+
let obj = new User();
|
|
3657
|
+
obj.deserialize(params.UserInfo)
|
|
3658
|
+
this.UserInfo = obj;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
if (params.Person) {
|
|
3662
|
+
let obj = new Person();
|
|
3663
|
+
obj.deserialize(params.Person)
|
|
3664
|
+
this.Person = obj;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
if (params.BillingAddress) {
|
|
3668
|
+
let obj = new Address();
|
|
3669
|
+
obj.deserialize(params.BillingAddress)
|
|
3670
|
+
this.BillingAddress = obj;
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
if (params.DeliveryAddress) {
|
|
3674
|
+
let obj = new Address();
|
|
3675
|
+
obj.deserialize(params.DeliveryAddress)
|
|
3676
|
+
this.DeliveryAddress = obj;
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
if (params.Inviter) {
|
|
3680
|
+
let obj = new Inviter();
|
|
3681
|
+
obj.deserialize(params.Inviter)
|
|
3682
|
+
this.Inviter = obj;
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
if (params.Cust) {
|
|
3686
|
+
this.Cust = new Array();
|
|
3687
|
+
for (let z in params.Cust) {
|
|
3688
|
+
let obj = new Cust();
|
|
3689
|
+
obj.deserialize(params.Cust[z]);
|
|
3690
|
+
this.Cust.push(obj);
|
|
3691
|
+
}
|
|
402
3692
|
}
|
|
403
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
404
3693
|
|
|
405
3694
|
}
|
|
406
3695
|
}
|
|
407
3696
|
|
|
408
3697
|
/**
|
|
409
|
-
*
|
|
3698
|
+
* The details of the app, os and device
|
|
410
3699
|
* @class
|
|
411
3700
|
*/
|
|
412
|
-
class
|
|
3701
|
+
class App extends AbstractModel {
|
|
413
3702
|
constructor(){
|
|
414
3703
|
super();
|
|
415
3704
|
|
|
416
3705
|
/**
|
|
417
|
-
* <p>
|
|
3706
|
+
* <p>The operating system your application is running on</p>
|
|
418
3707
|
* @type {string || null}
|
|
419
3708
|
*/
|
|
420
|
-
this.
|
|
3709
|
+
this.OS = null;
|
|
421
3710
|
|
|
422
3711
|
/**
|
|
423
|
-
* <p>
|
|
3712
|
+
* <p>The operating system version your application is running on</p>
|
|
424
3713
|
* @type {string || null}
|
|
425
3714
|
*/
|
|
426
|
-
this.
|
|
3715
|
+
this.OSVersion = null;
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* <p>The manufacturer of the device your application is running on</p>
|
|
3719
|
+
* @type {string || null}
|
|
3720
|
+
*/
|
|
3721
|
+
this.DeviceManufacturer = null;
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* <p>The model of the device your application is running on</p>
|
|
3725
|
+
* @type {string || null}
|
|
3726
|
+
*/
|
|
3727
|
+
this.DeviceModel = null;
|
|
3728
|
+
|
|
3729
|
+
/**
|
|
3730
|
+
* <p>The ID of the device your application is running on</p>
|
|
3731
|
+
* @type {string || null}
|
|
3732
|
+
*/
|
|
3733
|
+
this.DeviceId = null;
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* <p>The name of your application</p>
|
|
3737
|
+
* @type {string || null}
|
|
3738
|
+
*/
|
|
3739
|
+
this.AppName = null;
|
|
3740
|
+
|
|
3741
|
+
/**
|
|
3742
|
+
* <p>The version of your application</p>
|
|
3743
|
+
* @type {string || null}
|
|
3744
|
+
*/
|
|
3745
|
+
this.AppVersion = null;
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* <p>The language of your application</p>
|
|
3749
|
+
* @type {string || null}
|
|
3750
|
+
*/
|
|
3751
|
+
this.ClientLanguage = null;
|
|
427
3752
|
|
|
428
3753
|
}
|
|
429
3754
|
|
|
@@ -434,31 +3759,49 @@ class AssessDeviceRiskProRequest extends AbstractModel {
|
|
|
434
3759
|
if (!params) {
|
|
435
3760
|
return;
|
|
436
3761
|
}
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
3762
|
+
this.OS = 'OS' in params ? params.OS : null;
|
|
3763
|
+
this.OSVersion = 'OSVersion' in params ? params.OSVersion : null;
|
|
3764
|
+
this.DeviceManufacturer = 'DeviceManufacturer' in params ? params.DeviceManufacturer : null;
|
|
3765
|
+
this.DeviceModel = 'DeviceModel' in params ? params.DeviceModel : null;
|
|
3766
|
+
this.DeviceId = 'DeviceId' in params ? params.DeviceId : null;
|
|
3767
|
+
this.AppName = 'AppName' in params ? params.AppName : null;
|
|
3768
|
+
this.AppVersion = 'AppVersion' in params ? params.AppVersion : null;
|
|
3769
|
+
this.ClientLanguage = 'ClientLanguage' in params ? params.ClientLanguage : null;
|
|
439
3770
|
|
|
440
3771
|
}
|
|
441
3772
|
}
|
|
442
3773
|
|
|
443
3774
|
/**
|
|
444
|
-
*
|
|
3775
|
+
* Login event detail
|
|
445
3776
|
* @class
|
|
446
3777
|
*/
|
|
447
|
-
class
|
|
3778
|
+
class LoginEvent extends AbstractModel {
|
|
448
3779
|
constructor(){
|
|
449
3780
|
super();
|
|
450
3781
|
|
|
451
3782
|
/**
|
|
452
|
-
* <p>
|
|
453
|
-
* @type {
|
|
3783
|
+
* <p>Basic user information</p>
|
|
3784
|
+
* @type {User || null}
|
|
454
3785
|
*/
|
|
455
|
-
this.
|
|
3786
|
+
this.UserInfo = null;
|
|
456
3787
|
|
|
457
3788
|
/**
|
|
458
|
-
* <p>
|
|
3789
|
+
* <p>The user name entered when the user logged in</p>
|
|
459
3790
|
* @type {string || null}
|
|
460
3791
|
*/
|
|
461
|
-
this.
|
|
3792
|
+
this.UserLoginName = null;
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* <p>Login result</p>
|
|
3796
|
+
* @type {Result || null}
|
|
3797
|
+
*/
|
|
3798
|
+
this.LoginResult = null;
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
3802
|
+
* @type {Array.<Cust> || null}
|
|
3803
|
+
*/
|
|
3804
|
+
this.Cust = null;
|
|
462
3805
|
|
|
463
3806
|
}
|
|
464
3807
|
|
|
@@ -469,31 +3812,159 @@ class AssessDeviceRiskPremiumProRequest extends AbstractModel {
|
|
|
469
3812
|
if (!params) {
|
|
470
3813
|
return;
|
|
471
3814
|
}
|
|
472
|
-
|
|
473
|
-
|
|
3815
|
+
|
|
3816
|
+
if (params.UserInfo) {
|
|
3817
|
+
let obj = new User();
|
|
3818
|
+
obj.deserialize(params.UserInfo)
|
|
3819
|
+
this.UserInfo = obj;
|
|
3820
|
+
}
|
|
3821
|
+
this.UserLoginName = 'UserLoginName' in params ? params.UserLoginName : null;
|
|
3822
|
+
|
|
3823
|
+
if (params.LoginResult) {
|
|
3824
|
+
let obj = new Result();
|
|
3825
|
+
obj.deserialize(params.LoginResult)
|
|
3826
|
+
this.LoginResult = obj;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
if (params.Cust) {
|
|
3830
|
+
this.Cust = new Array();
|
|
3831
|
+
for (let z in params.Cust) {
|
|
3832
|
+
let obj = new Cust();
|
|
3833
|
+
obj.deserialize(params.Cust[z]);
|
|
3834
|
+
this.Cust.push(obj);
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
474
3837
|
|
|
475
3838
|
}
|
|
476
3839
|
}
|
|
477
3840
|
|
|
478
3841
|
/**
|
|
479
|
-
*
|
|
3842
|
+
* Event details
|
|
480
3843
|
* @class
|
|
481
3844
|
*/
|
|
482
|
-
class
|
|
3845
|
+
class EventDetail extends AbstractModel {
|
|
483
3846
|
constructor(){
|
|
484
3847
|
super();
|
|
485
3848
|
|
|
486
3849
|
/**
|
|
487
|
-
* <p>
|
|
488
|
-
* @type {
|
|
3850
|
+
* <p>Login</p>
|
|
3851
|
+
* @type {LoginEvent || null}
|
|
489
3852
|
*/
|
|
490
|
-
this.
|
|
3853
|
+
this.Login = null;
|
|
491
3854
|
|
|
492
3855
|
/**
|
|
493
|
-
*
|
|
494
|
-
* @type {
|
|
3856
|
+
* <p>Registration</p>
|
|
3857
|
+
* @type {RegisterEvent || null}
|
|
3858
|
+
*/
|
|
3859
|
+
this.Register = null;
|
|
3860
|
+
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>Create an order</p>
|
|
3863
|
+
* @type {CreateOrderEvent || null}
|
|
3864
|
+
*/
|
|
3865
|
+
this.CreateOrder = null;
|
|
3866
|
+
|
|
3867
|
+
/**
|
|
3868
|
+
* <p>Transaction</p>
|
|
3869
|
+
* @type {TransactionEvent || null}
|
|
3870
|
+
*/
|
|
3871
|
+
this.Transaction = null;
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* <p>SMS</p>
|
|
3875
|
+
* @type {SMSEvent || null}
|
|
3876
|
+
*/
|
|
3877
|
+
this.Sms = null;
|
|
3878
|
+
|
|
3879
|
+
/**
|
|
3880
|
+
* <p>Chargeback</p>
|
|
3881
|
+
* @type {ChargeBackEvent || null}
|
|
3882
|
+
*/
|
|
3883
|
+
this.ChargeBack = null;
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* <p>Logout</p>
|
|
3887
|
+
* @type {LogoutEvent || null}
|
|
3888
|
+
*/
|
|
3889
|
+
this.Logout = null;
|
|
3890
|
+
|
|
3891
|
+
/**
|
|
3892
|
+
* <p>Modify account</p>
|
|
3893
|
+
* @type {ModifyAccountEvent || null}
|
|
3894
|
+
*/
|
|
3895
|
+
this.ModifyAccount = null;
|
|
3896
|
+
|
|
3897
|
+
/**
|
|
3898
|
+
* <p>Modify password</p>
|
|
3899
|
+
* @type {ModifyPasswordEvent || null}
|
|
3900
|
+
*/
|
|
3901
|
+
this.ModifyPassword = null;
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* <p>Security verification</p>
|
|
3905
|
+
* @type {SecurityVerificationEvent || null}
|
|
3906
|
+
*/
|
|
3907
|
+
this.SecurityVerification = null;
|
|
3908
|
+
|
|
3909
|
+
/**
|
|
3910
|
+
* <p>Participate in promotion activities</p>
|
|
3911
|
+
* @type {AddPromotionEvent || null}
|
|
3912
|
+
*/
|
|
3913
|
+
this.AddPromotion = null;
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* <p>Redeem a prize</p>
|
|
3917
|
+
* @type {RedeemEvent || null}
|
|
3918
|
+
*/
|
|
3919
|
+
this.Redeem = null;
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* <p>Withdrawal</p>
|
|
3923
|
+
* @type {WithdrawEvent || null}
|
|
3924
|
+
*/
|
|
3925
|
+
this.Withdraw = null;
|
|
3926
|
+
|
|
3927
|
+
/**
|
|
3928
|
+
* <p>Custom event</p>
|
|
3929
|
+
* @type {CustEvent || null}
|
|
3930
|
+
*/
|
|
3931
|
+
this.CustEvent = null;
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* <p>Scan the QR code</p>
|
|
3935
|
+
* @type {ScanCodeEvent || null}
|
|
3936
|
+
*/
|
|
3937
|
+
this.ScanCode = null;
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* <p>Lucky draw</p>
|
|
3941
|
+
* @type {LuckyDrawEvent || null}
|
|
3942
|
+
*/
|
|
3943
|
+
this.LuckyDraw = null;
|
|
3944
|
+
|
|
3945
|
+
/**
|
|
3946
|
+
* <p>Perform a task</p>
|
|
3947
|
+
* @type {TaskEvent || null}
|
|
3948
|
+
*/
|
|
3949
|
+
this.Task = null;
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* <p>Invitation</p>
|
|
3953
|
+
* @type {InvitationEvent || null}
|
|
3954
|
+
*/
|
|
3955
|
+
this.Invitation = null;
|
|
3956
|
+
|
|
3957
|
+
/**
|
|
3958
|
+
* <p>Receive a red packet</p>
|
|
3959
|
+
* @type {ClaimRedPacketEvent || null}
|
|
3960
|
+
*/
|
|
3961
|
+
this.ClaimRedPacket = null;
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* <p>Browse</p>
|
|
3965
|
+
* @type {BrowseEvent || null}
|
|
495
3966
|
*/
|
|
496
|
-
this.
|
|
3967
|
+
this.Browse = null;
|
|
497
3968
|
|
|
498
3969
|
}
|
|
499
3970
|
|
|
@@ -505,12 +3976,125 @@ class AssessDeviceRiskProResponse extends AbstractModel {
|
|
|
505
3976
|
return;
|
|
506
3977
|
}
|
|
507
3978
|
|
|
508
|
-
if (params.
|
|
509
|
-
let obj = new
|
|
510
|
-
obj.deserialize(params.
|
|
511
|
-
this.
|
|
3979
|
+
if (params.Login) {
|
|
3980
|
+
let obj = new LoginEvent();
|
|
3981
|
+
obj.deserialize(params.Login)
|
|
3982
|
+
this.Login = obj;
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
if (params.Register) {
|
|
3986
|
+
let obj = new RegisterEvent();
|
|
3987
|
+
obj.deserialize(params.Register)
|
|
3988
|
+
this.Register = obj;
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
if (params.CreateOrder) {
|
|
3992
|
+
let obj = new CreateOrderEvent();
|
|
3993
|
+
obj.deserialize(params.CreateOrder)
|
|
3994
|
+
this.CreateOrder = obj;
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
if (params.Transaction) {
|
|
3998
|
+
let obj = new TransactionEvent();
|
|
3999
|
+
obj.deserialize(params.Transaction)
|
|
4000
|
+
this.Transaction = obj;
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
if (params.Sms) {
|
|
4004
|
+
let obj = new SMSEvent();
|
|
4005
|
+
obj.deserialize(params.Sms)
|
|
4006
|
+
this.Sms = obj;
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
if (params.ChargeBack) {
|
|
4010
|
+
let obj = new ChargeBackEvent();
|
|
4011
|
+
obj.deserialize(params.ChargeBack)
|
|
4012
|
+
this.ChargeBack = obj;
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
if (params.Logout) {
|
|
4016
|
+
let obj = new LogoutEvent();
|
|
4017
|
+
obj.deserialize(params.Logout)
|
|
4018
|
+
this.Logout = obj;
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
if (params.ModifyAccount) {
|
|
4022
|
+
let obj = new ModifyAccountEvent();
|
|
4023
|
+
obj.deserialize(params.ModifyAccount)
|
|
4024
|
+
this.ModifyAccount = obj;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
if (params.ModifyPassword) {
|
|
4028
|
+
let obj = new ModifyPasswordEvent();
|
|
4029
|
+
obj.deserialize(params.ModifyPassword)
|
|
4030
|
+
this.ModifyPassword = obj;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
if (params.SecurityVerification) {
|
|
4034
|
+
let obj = new SecurityVerificationEvent();
|
|
4035
|
+
obj.deserialize(params.SecurityVerification)
|
|
4036
|
+
this.SecurityVerification = obj;
|
|
4037
|
+
}
|
|
4038
|
+
|
|
4039
|
+
if (params.AddPromotion) {
|
|
4040
|
+
let obj = new AddPromotionEvent();
|
|
4041
|
+
obj.deserialize(params.AddPromotion)
|
|
4042
|
+
this.AddPromotion = obj;
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
if (params.Redeem) {
|
|
4046
|
+
let obj = new RedeemEvent();
|
|
4047
|
+
obj.deserialize(params.Redeem)
|
|
4048
|
+
this.Redeem = obj;
|
|
4049
|
+
}
|
|
4050
|
+
|
|
4051
|
+
if (params.Withdraw) {
|
|
4052
|
+
let obj = new WithdrawEvent();
|
|
4053
|
+
obj.deserialize(params.Withdraw)
|
|
4054
|
+
this.Withdraw = obj;
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
if (params.CustEvent) {
|
|
4058
|
+
let obj = new CustEvent();
|
|
4059
|
+
obj.deserialize(params.CustEvent)
|
|
4060
|
+
this.CustEvent = obj;
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
if (params.ScanCode) {
|
|
4064
|
+
let obj = new ScanCodeEvent();
|
|
4065
|
+
obj.deserialize(params.ScanCode)
|
|
4066
|
+
this.ScanCode = obj;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
if (params.LuckyDraw) {
|
|
4070
|
+
let obj = new LuckyDrawEvent();
|
|
4071
|
+
obj.deserialize(params.LuckyDraw)
|
|
4072
|
+
this.LuckyDraw = obj;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
if (params.Task) {
|
|
4076
|
+
let obj = new TaskEvent();
|
|
4077
|
+
obj.deserialize(params.Task)
|
|
4078
|
+
this.Task = obj;
|
|
4079
|
+
}
|
|
4080
|
+
|
|
4081
|
+
if (params.Invitation) {
|
|
4082
|
+
let obj = new InvitationEvent();
|
|
4083
|
+
obj.deserialize(params.Invitation)
|
|
4084
|
+
this.Invitation = obj;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
if (params.ClaimRedPacket) {
|
|
4088
|
+
let obj = new ClaimRedPacketEvent();
|
|
4089
|
+
obj.deserialize(params.ClaimRedPacket)
|
|
4090
|
+
this.ClaimRedPacket = obj;
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
if (params.Browse) {
|
|
4094
|
+
let obj = new BrowseEvent();
|
|
4095
|
+
obj.deserialize(params.Browse)
|
|
4096
|
+
this.Browse = obj;
|
|
512
4097
|
}
|
|
513
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
514
4098
|
|
|
515
4099
|
}
|
|
516
4100
|
}
|
|
@@ -655,6 +4239,75 @@ class IPNetwork extends AbstractModel {
|
|
|
655
4239
|
}
|
|
656
4240
|
}
|
|
657
4241
|
|
|
4242
|
+
/**
|
|
4243
|
+
* SecurityVerification event details
|
|
4244
|
+
* @class
|
|
4245
|
+
*/
|
|
4246
|
+
class SecurityVerificationEvent extends AbstractModel {
|
|
4247
|
+
constructor(){
|
|
4248
|
+
super();
|
|
4249
|
+
|
|
4250
|
+
/**
|
|
4251
|
+
* <p>The event type being verified</p><p>Enumeration values:</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>
|
|
4252
|
+
* @type {string || null}
|
|
4253
|
+
*/
|
|
4254
|
+
this.VerificationEvent = null;
|
|
4255
|
+
|
|
4256
|
+
/**
|
|
4257
|
+
* <p>The type of security verification: sms, phone call, email, captcha, shared knowledge, human face, fingerprint, etc</p>
|
|
4258
|
+
* @type {string || null}
|
|
4259
|
+
*/
|
|
4260
|
+
this.VerificationType = null;
|
|
4261
|
+
|
|
4262
|
+
/**
|
|
4263
|
+
* <p>The content of the security verifcation.This value should be passed when the verification type is set to sms, phone_call, email captcha or shared_knowledge</p>
|
|
4264
|
+
* @type {string || null}
|
|
4265
|
+
*/
|
|
4266
|
+
this.VerificationContent = null;
|
|
4267
|
+
|
|
4268
|
+
/**
|
|
4269
|
+
* <p>The result of security verification</p>
|
|
4270
|
+
* @type {Result || null}
|
|
4271
|
+
*/
|
|
4272
|
+
this.VerificationResult = null;
|
|
4273
|
+
|
|
4274
|
+
/**
|
|
4275
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
4276
|
+
* @type {Array.<Cust> || null}
|
|
4277
|
+
*/
|
|
4278
|
+
this.Cust = null;
|
|
4279
|
+
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* @private
|
|
4284
|
+
*/
|
|
4285
|
+
deserialize(params) {
|
|
4286
|
+
if (!params) {
|
|
4287
|
+
return;
|
|
4288
|
+
}
|
|
4289
|
+
this.VerificationEvent = 'VerificationEvent' in params ? params.VerificationEvent : null;
|
|
4290
|
+
this.VerificationType = 'VerificationType' in params ? params.VerificationType : null;
|
|
4291
|
+
this.VerificationContent = 'VerificationContent' in params ? params.VerificationContent : null;
|
|
4292
|
+
|
|
4293
|
+
if (params.VerificationResult) {
|
|
4294
|
+
let obj = new Result();
|
|
4295
|
+
obj.deserialize(params.VerificationResult)
|
|
4296
|
+
this.VerificationResult = obj;
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
if (params.Cust) {
|
|
4300
|
+
this.Cust = new Array();
|
|
4301
|
+
for (let z in params.Cust) {
|
|
4302
|
+
let obj = new Cust();
|
|
4303
|
+
obj.deserialize(params.Cust[z]);
|
|
4304
|
+
this.Cust.push(obj);
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
}
|
|
4309
|
+
}
|
|
4310
|
+
|
|
658
4311
|
/**
|
|
659
4312
|
* The results of AssessDeviceRiskPremiumPro
|
|
660
4313
|
* @class
|
|
@@ -725,18 +4378,54 @@ class AssessDeviceRiskPremiumRsp extends AbstractModel {
|
|
|
725
4378
|
}
|
|
726
4379
|
|
|
727
4380
|
/**
|
|
728
|
-
*
|
|
4381
|
+
* Redeem event details
|
|
729
4382
|
* @class
|
|
730
4383
|
*/
|
|
731
|
-
class
|
|
4384
|
+
class RedeemEvent extends AbstractModel {
|
|
732
4385
|
constructor(){
|
|
733
4386
|
super();
|
|
734
4387
|
|
|
735
4388
|
/**
|
|
736
|
-
* <p>
|
|
4389
|
+
* <p>The ID of the promotion</p>
|
|
737
4390
|
* @type {string || null}
|
|
738
4391
|
*/
|
|
739
|
-
this.
|
|
4392
|
+
this.PromotionId = null;
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* <p>The name of the promotion</p>
|
|
4396
|
+
* @type {string || null}
|
|
4397
|
+
*/
|
|
4398
|
+
this.PromotionName = null;
|
|
4399
|
+
|
|
4400
|
+
/**
|
|
4401
|
+
* <p>The description of the promotion</p>
|
|
4402
|
+
* @type {string || null}
|
|
4403
|
+
*/
|
|
4404
|
+
this.Description = null;
|
|
4405
|
+
|
|
4406
|
+
/**
|
|
4407
|
+
* <p>The ID of the inviter</p>
|
|
4408
|
+
* @type {string || null}
|
|
4409
|
+
*/
|
|
4410
|
+
this.InviterUserId = null;
|
|
4411
|
+
|
|
4412
|
+
/**
|
|
4413
|
+
* <p>Order information associated with the redemption</p>
|
|
4414
|
+
* @type {Order || null}
|
|
4415
|
+
*/
|
|
4416
|
+
this.Order = null;
|
|
4417
|
+
|
|
4418
|
+
/**
|
|
4419
|
+
* <p>The result of redemption</p>
|
|
4420
|
+
* @type {Result || null}
|
|
4421
|
+
*/
|
|
4422
|
+
this.Result = null;
|
|
4423
|
+
|
|
4424
|
+
/**
|
|
4425
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
4426
|
+
* @type {Array.<Cust> || null}
|
|
4427
|
+
*/
|
|
4428
|
+
this.Cust = null;
|
|
740
4429
|
|
|
741
4430
|
}
|
|
742
4431
|
|
|
@@ -747,90 +4436,200 @@ class AssessEnvironmentRiskRequest extends AbstractModel {
|
|
|
747
4436
|
if (!params) {
|
|
748
4437
|
return;
|
|
749
4438
|
}
|
|
750
|
-
this.
|
|
4439
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
4440
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
4441
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
4442
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
4443
|
+
|
|
4444
|
+
if (params.Order) {
|
|
4445
|
+
let obj = new Order();
|
|
4446
|
+
obj.deserialize(params.Order)
|
|
4447
|
+
this.Order = obj;
|
|
4448
|
+
}
|
|
4449
|
+
|
|
4450
|
+
if (params.Result) {
|
|
4451
|
+
let obj = new Result();
|
|
4452
|
+
obj.deserialize(params.Result)
|
|
4453
|
+
this.Result = obj;
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
if (params.Cust) {
|
|
4457
|
+
this.Cust = new Array();
|
|
4458
|
+
for (let z in params.Cust) {
|
|
4459
|
+
let obj = new Cust();
|
|
4460
|
+
obj.deserialize(params.Cust[z]);
|
|
4461
|
+
this.Cust.push(obj);
|
|
4462
|
+
}
|
|
4463
|
+
}
|
|
751
4464
|
|
|
752
4465
|
}
|
|
753
4466
|
}
|
|
754
4467
|
|
|
755
4468
|
/**
|
|
756
|
-
*
|
|
4469
|
+
* Invitation event details
|
|
757
4470
|
* @class
|
|
758
4471
|
*/
|
|
759
|
-
class
|
|
4472
|
+
class InvitationEvent extends AbstractModel {
|
|
760
4473
|
constructor(){
|
|
761
4474
|
super();
|
|
762
4475
|
|
|
763
4476
|
/**
|
|
764
|
-
* <p>The
|
|
4477
|
+
* <p>The ID of the invitee</p>
|
|
765
4478
|
* @type {string || null}
|
|
766
4479
|
*/
|
|
767
|
-
this.
|
|
4480
|
+
this.InviteeUserId = null;
|
|
768
4481
|
|
|
769
4482
|
/**
|
|
770
|
-
* <p>The
|
|
4483
|
+
* <p>The ID of the promotion</p>
|
|
771
4484
|
* @type {string || null}
|
|
772
4485
|
*/
|
|
773
|
-
this.
|
|
4486
|
+
this.PromotionId = null;
|
|
774
4487
|
|
|
775
4488
|
/**
|
|
776
|
-
* <p>
|
|
4489
|
+
* <p>The name of the promotion</p>
|
|
777
4490
|
* @type {string || null}
|
|
778
4491
|
*/
|
|
779
|
-
this.
|
|
4492
|
+
this.PromotionName = null;
|
|
780
4493
|
|
|
781
4494
|
/**
|
|
782
|
-
* <p>
|
|
4495
|
+
* <p>The description of the promotion</p>
|
|
783
4496
|
* @type {string || null}
|
|
784
4497
|
*/
|
|
785
|
-
this.
|
|
4498
|
+
this.Description = null;
|
|
786
4499
|
|
|
787
4500
|
/**
|
|
788
|
-
* <p>
|
|
4501
|
+
* <p>The phone number of the invitee</p><p>Parameter format: Complies with the E.164 standard format, which includes "+", region code, and number.</p>
|
|
789
4502
|
* @type {string || null}
|
|
790
4503
|
*/
|
|
791
|
-
this.
|
|
4504
|
+
this.InviteePhone = null;
|
|
792
4505
|
|
|
793
4506
|
/**
|
|
794
|
-
* <p>
|
|
4507
|
+
* <p>The code that the inviter sent to the user</p>
|
|
795
4508
|
* @type {string || null}
|
|
796
4509
|
*/
|
|
797
|
-
this.
|
|
4510
|
+
this.InvitationCode = null;
|
|
798
4511
|
|
|
799
4512
|
/**
|
|
800
|
-
* <p>The
|
|
4513
|
+
* <p>The url that the inviter sent to the user</p>
|
|
801
4514
|
* @type {string || null}
|
|
802
4515
|
*/
|
|
803
|
-
this.
|
|
4516
|
+
this.InvitationUrl = null;
|
|
804
4517
|
|
|
805
4518
|
/**
|
|
806
|
-
* <p>
|
|
4519
|
+
* <p>The channel that inviter used to invite the user </p>
|
|
807
4520
|
* @type {string || null}
|
|
808
4521
|
*/
|
|
809
|
-
this.
|
|
4522
|
+
this.InvitationChannel = null;
|
|
810
4523
|
|
|
811
4524
|
/**
|
|
812
|
-
* <p>
|
|
4525
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
4526
|
+
* @type {Array.<Cust> || null}
|
|
4527
|
+
*/
|
|
4528
|
+
this.Cust = null;
|
|
4529
|
+
|
|
4530
|
+
}
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
* @private
|
|
4534
|
+
*/
|
|
4535
|
+
deserialize(params) {
|
|
4536
|
+
if (!params) {
|
|
4537
|
+
return;
|
|
4538
|
+
}
|
|
4539
|
+
this.InviteeUserId = 'InviteeUserId' in params ? params.InviteeUserId : null;
|
|
4540
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
4541
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
4542
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
4543
|
+
this.InviteePhone = 'InviteePhone' in params ? params.InviteePhone : null;
|
|
4544
|
+
this.InvitationCode = 'InvitationCode' in params ? params.InvitationCode : null;
|
|
4545
|
+
this.InvitationUrl = 'InvitationUrl' in params ? params.InvitationUrl : null;
|
|
4546
|
+
this.InvitationChannel = 'InvitationChannel' in params ? params.InvitationChannel : null;
|
|
4547
|
+
|
|
4548
|
+
if (params.Cust) {
|
|
4549
|
+
this.Cust = new Array();
|
|
4550
|
+
for (let z in params.Cust) {
|
|
4551
|
+
let obj = new Cust();
|
|
4552
|
+
obj.deserialize(params.Cust[z]);
|
|
4553
|
+
this.Cust.push(obj);
|
|
4554
|
+
}
|
|
4555
|
+
}
|
|
4556
|
+
|
|
4557
|
+
}
|
|
4558
|
+
}
|
|
4559
|
+
|
|
4560
|
+
/**
|
|
4561
|
+
* AssessRisk request structure.
|
|
4562
|
+
* @class
|
|
4563
|
+
*/
|
|
4564
|
+
class AssessRiskRequest extends AbstractModel {
|
|
4565
|
+
constructor(){
|
|
4566
|
+
super();
|
|
4567
|
+
|
|
4568
|
+
/**
|
|
4569
|
+
* <p>Event code. Used to specify the scenario node for business access.</p><p>Standard events under the account protection product include:</p><ul><li> login: Log in<p></p></li> <li>register: Register </li><li>sms: SMS </li><li>logout: Log out </li><li>modify_account: Modify account </li><li>modify_password: Modify password </li><li>security_verification: Security verification</li></ul><p>Standard events under the payment protection product include:</p><ul><li>create_order: Create an order </li><li>transaction: Transaction</li><li>charge_back: Chargeback</li></ul><p>Standard events under the promotion protection product include:</p><ul><li>add_promotion: Participate in promotions</li><li>redeem: Redeem a prize </li><li>withdraw: Withdraw</li><li>cust_event: Custom event, cust_xxx </li><li>scan_code: Scan a code </li><li>lucky_draw: Lucky draw </li><li>task: Complete a task </li><li>invitation: Invitation </li><li>claim_red_packet: Receive a red packet </li><li>browse: Browse</li></ul><p>Custom events can be evaluated for risk based on an agreement with RCE</p>
|
|
813
4570
|
* @type {string || null}
|
|
814
4571
|
*/
|
|
815
|
-
this.
|
|
4572
|
+
this.EventCode = null;
|
|
816
4573
|
|
|
817
4574
|
/**
|
|
818
|
-
* <p>The
|
|
4575
|
+
* <p>The time when the event occurred</p><p>Parameter format: Millisecond-level time with UTC time zone compliant with the ISO 8601 standard</p>
|
|
819
4576
|
* @type {string || null}
|
|
820
4577
|
*/
|
|
821
|
-
this.
|
|
4578
|
+
this.EventTime = null;
|
|
822
4579
|
|
|
823
4580
|
/**
|
|
824
|
-
* <p>
|
|
4581
|
+
* <p>The user's current session ID used to associate with the actions before and after logging in. If UserId is not passed, SessionId is required. If missing, an empty string can be filled.</p>
|
|
825
4582
|
* @type {string || null}
|
|
826
4583
|
*/
|
|
827
|
-
this.
|
|
4584
|
+
this.SessionId = null;
|
|
828
4585
|
|
|
829
4586
|
/**
|
|
830
|
-
* <p>
|
|
4587
|
+
* <p>Device fingerprint token, obtained after integration of the device fingerprint SDK into your website or application</p>
|
|
831
4588
|
* @type {string || null}
|
|
832
4589
|
*/
|
|
833
|
-
this.
|
|
4590
|
+
this.DeviceToken = null;
|
|
4591
|
+
|
|
4592
|
+
/**
|
|
4593
|
+
* <p>Client IP address (IPv4 or IPv6)</p>
|
|
4594
|
+
* @type {string || null}
|
|
4595
|
+
*/
|
|
4596
|
+
this.UserIp = null;
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* <p>Event details. The event information is imported based on the event code you input.</p>
|
|
4600
|
+
* @type {EventDetail || null}
|
|
4601
|
+
*/
|
|
4602
|
+
this.EventDetail = null;
|
|
4603
|
+
|
|
4604
|
+
/**
|
|
4605
|
+
* <p>The user's account ID in your system</p>
|
|
4606
|
+
* @type {string || null}
|
|
4607
|
+
*/
|
|
4608
|
+
this.UserId = null;
|
|
4609
|
+
|
|
4610
|
+
/**
|
|
4611
|
+
* <p>Email of the user</p>
|
|
4612
|
+
* @type {string || null}
|
|
4613
|
+
*/
|
|
4614
|
+
this.UserEmail = null;
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* <p>Phone number of the user.</p><p>Parameter format: Complies with the E.164 standard format, which includes "+", region code, and number</p>
|
|
4618
|
+
* @type {string || null}
|
|
4619
|
+
*/
|
|
4620
|
+
this.UserPhone = null;
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* <p>The details of the browser. If you've already integrated our device SDK, this field is not required</p>
|
|
4624
|
+
* @type {Browser || null}
|
|
4625
|
+
*/
|
|
4626
|
+
this.Browser = null;
|
|
4627
|
+
|
|
4628
|
+
/**
|
|
4629
|
+
* <p>The details of the app, os and device.If you've already integrated our device SDK, this field is not required</p>
|
|
4630
|
+
* @type {App || null}
|
|
4631
|
+
*/
|
|
4632
|
+
this.App = null;
|
|
834
4633
|
|
|
835
4634
|
}
|
|
836
4635
|
|
|
@@ -841,41 +4640,79 @@ class Device extends AbstractModel {
|
|
|
841
4640
|
if (!params) {
|
|
842
4641
|
return;
|
|
843
4642
|
}
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
846
|
-
this.
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
this.
|
|
4643
|
+
this.EventCode = 'EventCode' in params ? params.EventCode : null;
|
|
4644
|
+
this.EventTime = 'EventTime' in params ? params.EventTime : null;
|
|
4645
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
4646
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
4647
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
4648
|
+
|
|
4649
|
+
if (params.EventDetail) {
|
|
4650
|
+
let obj = new EventDetail();
|
|
4651
|
+
obj.deserialize(params.EventDetail)
|
|
4652
|
+
this.EventDetail = obj;
|
|
4653
|
+
}
|
|
4654
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
4655
|
+
this.UserEmail = 'UserEmail' in params ? params.UserEmail : null;
|
|
4656
|
+
this.UserPhone = 'UserPhone' in params ? params.UserPhone : null;
|
|
4657
|
+
|
|
4658
|
+
if (params.Browser) {
|
|
4659
|
+
let obj = new Browser();
|
|
4660
|
+
obj.deserialize(params.Browser)
|
|
4661
|
+
this.Browser = obj;
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
if (params.App) {
|
|
4665
|
+
let obj = new App();
|
|
4666
|
+
obj.deserialize(params.App)
|
|
4667
|
+
this.App = obj;
|
|
4668
|
+
}
|
|
856
4669
|
|
|
857
4670
|
}
|
|
858
4671
|
}
|
|
859
4672
|
|
|
860
4673
|
/**
|
|
861
|
-
*
|
|
4674
|
+
* ScanCode event details
|
|
862
4675
|
* @class
|
|
863
4676
|
*/
|
|
864
|
-
class
|
|
4677
|
+
class ScanCodeEvent extends AbstractModel {
|
|
865
4678
|
constructor(){
|
|
866
4679
|
super();
|
|
867
4680
|
|
|
868
4681
|
/**
|
|
869
|
-
* <p>
|
|
4682
|
+
* <p>Promotion code information</p>
|
|
4683
|
+
* @type {PromotionCode || null}
|
|
4684
|
+
*/
|
|
4685
|
+
this.PromotionCode = null;
|
|
4686
|
+
|
|
4687
|
+
/**
|
|
4688
|
+
* <p>The ID of the promotion</p>
|
|
870
4689
|
* @type {string || null}
|
|
871
4690
|
*/
|
|
872
|
-
this.
|
|
4691
|
+
this.PromotionId = null;
|
|
873
4692
|
|
|
874
4693
|
/**
|
|
875
|
-
* <p>
|
|
4694
|
+
* <p>The name of the promotion</p>
|
|
876
4695
|
* @type {string || null}
|
|
877
4696
|
*/
|
|
878
|
-
this.
|
|
4697
|
+
this.PromotionName = null;
|
|
4698
|
+
|
|
4699
|
+
/**
|
|
4700
|
+
* <p>The description of the promotion</p>
|
|
4701
|
+
* @type {string || null}
|
|
4702
|
+
*/
|
|
4703
|
+
this.Description = null;
|
|
4704
|
+
|
|
4705
|
+
/**
|
|
4706
|
+
* <p>The ID of the inviter</p>
|
|
4707
|
+
* @type {string || null}
|
|
4708
|
+
*/
|
|
4709
|
+
this.InviterUserId = null;
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* <p>The custom parameters agreed with RCE. An array of objects in K:V format. e.g.[{"Key": "ApproverName", "Value": "bob"},{"Key":"ApproverPhone","Value": "+86131****5678"}]</p>
|
|
4713
|
+
* @type {Array.<Cust> || null}
|
|
4714
|
+
*/
|
|
4715
|
+
this.Cust = null;
|
|
879
4716
|
|
|
880
4717
|
}
|
|
881
4718
|
|
|
@@ -886,28 +4723,95 @@ class Decision extends AbstractModel {
|
|
|
886
4723
|
if (!params) {
|
|
887
4724
|
return;
|
|
888
4725
|
}
|
|
889
|
-
|
|
890
|
-
|
|
4726
|
+
|
|
4727
|
+
if (params.PromotionCode) {
|
|
4728
|
+
let obj = new PromotionCode();
|
|
4729
|
+
obj.deserialize(params.PromotionCode)
|
|
4730
|
+
this.PromotionCode = obj;
|
|
4731
|
+
}
|
|
4732
|
+
this.PromotionId = 'PromotionId' in params ? params.PromotionId : null;
|
|
4733
|
+
this.PromotionName = 'PromotionName' in params ? params.PromotionName : null;
|
|
4734
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
4735
|
+
this.InviterUserId = 'InviterUserId' in params ? params.InviterUserId : null;
|
|
4736
|
+
|
|
4737
|
+
if (params.Cust) {
|
|
4738
|
+
this.Cust = new Array();
|
|
4739
|
+
for (let z in params.Cust) {
|
|
4740
|
+
let obj = new Cust();
|
|
4741
|
+
obj.deserialize(params.Cust[z]);
|
|
4742
|
+
this.Cust.push(obj);
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
891
4745
|
|
|
892
4746
|
}
|
|
893
4747
|
}
|
|
894
4748
|
|
|
895
4749
|
module.exports = {
|
|
896
|
-
|
|
4750
|
+
TaskEvent: TaskEvent,
|
|
4751
|
+
DigitalOrder: DigitalOrder,
|
|
4752
|
+
Billing: Billing,
|
|
4753
|
+
Decision: Decision,
|
|
4754
|
+
Person: Person,
|
|
897
4755
|
Environment: Environment,
|
|
4756
|
+
Wallet: Wallet,
|
|
4757
|
+
Score: Score,
|
|
4758
|
+
ClaimRedPacketEvent: ClaimRedPacketEvent,
|
|
4759
|
+
PromotionCode: PromotionCode,
|
|
4760
|
+
ChargeBackEvent: ChargeBackEvent,
|
|
4761
|
+
ReportEventRequest: ReportEventRequest,
|
|
4762
|
+
WithdrawEvent: WithdrawEvent,
|
|
4763
|
+
Merchant: Merchant,
|
|
4764
|
+
Delivery: Delivery,
|
|
4765
|
+
Cust: Cust,
|
|
898
4766
|
AssessEnvironmentRiskRsp: AssessEnvironmentRiskRsp,
|
|
4767
|
+
AssessEnvironmentRiskResponse: AssessEnvironmentRiskResponse,
|
|
4768
|
+
PaymentMethod: PaymentMethod,
|
|
4769
|
+
LuckyDrawEvent: LuckyDrawEvent,
|
|
4770
|
+
AssessDeviceRiskPremiumProRequest: AssessDeviceRiskPremiumProRequest,
|
|
4771
|
+
Order: Order,
|
|
4772
|
+
AssessDeviceRiskProResponse: AssessDeviceRiskProResponse,
|
|
4773
|
+
User: User,
|
|
4774
|
+
Address: Address,
|
|
4775
|
+
Device: Device,
|
|
4776
|
+
CreateOrderEvent: CreateOrderEvent,
|
|
4777
|
+
Card: Card,
|
|
4778
|
+
Result: Result,
|
|
4779
|
+
ReportEventResponse: ReportEventResponse,
|
|
4780
|
+
RiskLabel: RiskLabel,
|
|
4781
|
+
CustEvent: CustEvent,
|
|
899
4782
|
IPLocation: IPLocation,
|
|
900
4783
|
DataScore: DataScore,
|
|
901
|
-
|
|
902
|
-
AssessEnvironmentRiskResponse: AssessEnvironmentRiskResponse,
|
|
4784
|
+
BrowseEvent: BrowseEvent,
|
|
903
4785
|
AssessDeviceRiskPremiumProResponse: AssessDeviceRiskPremiumProResponse,
|
|
904
4786
|
AssessDeviceRiskProRequest: AssessDeviceRiskProRequest,
|
|
905
|
-
|
|
906
|
-
|
|
4787
|
+
CreditPoint: CreditPoint,
|
|
4788
|
+
Item: Item,
|
|
4789
|
+
Amount: Amount,
|
|
4790
|
+
SMSEvent: SMSEvent,
|
|
4791
|
+
AssessRiskResponse: AssessRiskResponse,
|
|
4792
|
+
AssessEnvironmentRiskRequest: AssessEnvironmentRiskRequest,
|
|
4793
|
+
AddPromotionEvent: AddPromotionEvent,
|
|
4794
|
+
Promotion: Promotion,
|
|
4795
|
+
ModifyAccountEvent: ModifyAccountEvent,
|
|
4796
|
+
Inviter: Inviter,
|
|
4797
|
+
LogoutEvent: LogoutEvent,
|
|
4798
|
+
Browser: Browser,
|
|
4799
|
+
PaymentResult: PaymentResult,
|
|
4800
|
+
TransactionEvent: TransactionEvent,
|
|
4801
|
+
AssessRiskRsp: AssessRiskRsp,
|
|
4802
|
+
ModifyPasswordEvent: ModifyPasswordEvent,
|
|
4803
|
+
AssessDeviceRiskRsp: AssessDeviceRiskRsp,
|
|
4804
|
+
Coupon: Coupon,
|
|
4805
|
+
RegisterEvent: RegisterEvent,
|
|
4806
|
+
App: App,
|
|
4807
|
+
LoginEvent: LoginEvent,
|
|
4808
|
+
EventDetail: EventDetail,
|
|
907
4809
|
IPNetwork: IPNetwork,
|
|
4810
|
+
SecurityVerificationEvent: SecurityVerificationEvent,
|
|
908
4811
|
AssessDeviceRiskPremiumRsp: AssessDeviceRiskPremiumRsp,
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
4812
|
+
RedeemEvent: RedeemEvent,
|
|
4813
|
+
InvitationEvent: InvitationEvent,
|
|
4814
|
+
AssessRiskRequest: AssessRiskRequest,
|
|
4815
|
+
ScanCodeEvent: ScanCodeEvent,
|
|
912
4816
|
|
|
913
4817
|
}
|