@alicloud/dm20151123 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +399 -11
- package/dist/client.js +39 -15
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +411 -11
package/dist/client.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ export declare class BatchSendMailRequest extends $tea.Model {
|
|
|
132
132
|
* 0
|
|
133
133
|
*/
|
|
134
134
|
clickTrace?: string;
|
|
135
|
+
headers?: string;
|
|
135
136
|
ownerId?: number;
|
|
136
137
|
/**
|
|
137
138
|
* @remarks
|
|
@@ -597,6 +598,13 @@ export declare class CreateTagResponse extends $tea.Model {
|
|
|
597
598
|
});
|
|
598
599
|
}
|
|
599
600
|
export declare class CreateUserSuppressionRequest extends $tea.Model {
|
|
601
|
+
/**
|
|
602
|
+
* @remarks
|
|
603
|
+
* Email address or domain name
|
|
604
|
+
*
|
|
605
|
+
* @example
|
|
606
|
+
* test@example.net
|
|
607
|
+
*/
|
|
600
608
|
address?: string;
|
|
601
609
|
ownerId?: number;
|
|
602
610
|
resourceOwnerAccount?: string;
|
|
@@ -612,7 +620,21 @@ export declare class CreateUserSuppressionRequest extends $tea.Model {
|
|
|
612
620
|
});
|
|
613
621
|
}
|
|
614
622
|
export declare class CreateUserSuppressionResponseBody extends $tea.Model {
|
|
623
|
+
/**
|
|
624
|
+
* @remarks
|
|
625
|
+
* Request ID
|
|
626
|
+
*
|
|
627
|
+
* @example
|
|
628
|
+
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
629
|
+
*/
|
|
615
630
|
requestId?: string;
|
|
631
|
+
/**
|
|
632
|
+
* @remarks
|
|
633
|
+
* Invalid address number
|
|
634
|
+
*
|
|
635
|
+
* @example
|
|
636
|
+
* 59511
|
|
637
|
+
*/
|
|
616
638
|
suppressionId?: string;
|
|
617
639
|
static names(): {
|
|
618
640
|
[key: string]: string;
|
|
@@ -1040,83 +1062,149 @@ export declare class DescAccountSummaryRequest extends $tea.Model {
|
|
|
1040
1062
|
}
|
|
1041
1063
|
export declare class DescAccountSummaryResponseBody extends $tea.Model {
|
|
1042
1064
|
/**
|
|
1065
|
+
* @remarks
|
|
1066
|
+
* Daily quota
|
|
1067
|
+
*
|
|
1043
1068
|
* @example
|
|
1044
1069
|
* 2000
|
|
1045
1070
|
*/
|
|
1046
1071
|
dailyQuota?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* @remarks
|
|
1074
|
+
* remaining amount of daily free quota
|
|
1075
|
+
*
|
|
1076
|
+
* @example
|
|
1077
|
+
* 100
|
|
1078
|
+
*/
|
|
1047
1079
|
dailyRemainFreeQuota?: number;
|
|
1048
1080
|
/**
|
|
1081
|
+
* @remarks
|
|
1082
|
+
* Dayu status (deprecated, retained for compatibility reasons.)
|
|
1083
|
+
*
|
|
1049
1084
|
* @example
|
|
1050
1085
|
* 0
|
|
1051
1086
|
*/
|
|
1052
1087
|
dayuStatus?: number;
|
|
1053
1088
|
/**
|
|
1089
|
+
* @remarks
|
|
1090
|
+
* Number of domains
|
|
1091
|
+
*
|
|
1054
1092
|
* @example
|
|
1055
1093
|
* 1
|
|
1056
1094
|
*/
|
|
1057
1095
|
domains?: number;
|
|
1058
1096
|
/**
|
|
1097
|
+
* @remarks
|
|
1098
|
+
* Effective time
|
|
1099
|
+
*
|
|
1059
1100
|
* @example
|
|
1060
1101
|
* 0
|
|
1061
1102
|
*/
|
|
1062
1103
|
enableTimes?: number;
|
|
1063
1104
|
/**
|
|
1105
|
+
* @remarks
|
|
1106
|
+
* Number of sending addresses
|
|
1107
|
+
*
|
|
1064
1108
|
* @example
|
|
1065
1109
|
* 0
|
|
1066
1110
|
*/
|
|
1067
1111
|
mailAddresses?: number;
|
|
1068
1112
|
/**
|
|
1113
|
+
* @remarks
|
|
1114
|
+
* Maximum level
|
|
1115
|
+
*
|
|
1069
1116
|
* @example
|
|
1070
1117
|
* 10
|
|
1071
1118
|
*/
|
|
1072
1119
|
maxQuotaLevel?: number;
|
|
1073
1120
|
/**
|
|
1121
|
+
* @remarks
|
|
1122
|
+
* Monthly quota
|
|
1123
|
+
*
|
|
1074
1124
|
* @example
|
|
1075
1125
|
* 60000
|
|
1076
1126
|
*/
|
|
1077
1127
|
monthQuota?: number;
|
|
1078
1128
|
/**
|
|
1129
|
+
* @remarks
|
|
1130
|
+
* Credit level
|
|
1131
|
+
*
|
|
1079
1132
|
* @example
|
|
1080
1133
|
* 2
|
|
1081
1134
|
*/
|
|
1082
1135
|
quotaLevel?: number;
|
|
1083
1136
|
/**
|
|
1137
|
+
* @remarks
|
|
1138
|
+
* Number of recipients
|
|
1139
|
+
*
|
|
1084
1140
|
* @example
|
|
1085
1141
|
* 0
|
|
1086
1142
|
*/
|
|
1087
1143
|
receivers?: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* @remarks
|
|
1146
|
+
* Remaining amount of total free quota
|
|
1147
|
+
*
|
|
1148
|
+
* @example
|
|
1149
|
+
* 1910
|
|
1150
|
+
*/
|
|
1088
1151
|
remainFreeQuota?: number;
|
|
1089
1152
|
/**
|
|
1153
|
+
* @remarks
|
|
1154
|
+
* Request ID
|
|
1155
|
+
*
|
|
1090
1156
|
* @example
|
|
1091
1157
|
* 82B295BB-7E69-491F-9896-ECEAFF09E1A4
|
|
1092
1158
|
*/
|
|
1093
1159
|
requestId?: string;
|
|
1094
1160
|
/**
|
|
1161
|
+
* @remarks
|
|
1162
|
+
* Deprecated, retained for compatibility reasons.
|
|
1163
|
+
*
|
|
1095
1164
|
* @example
|
|
1096
1165
|
* 0
|
|
1097
1166
|
*/
|
|
1098
1167
|
smsRecord?: number;
|
|
1099
1168
|
/**
|
|
1169
|
+
* @remarks
|
|
1170
|
+
* Deprecated, retained for compatibility reasons.
|
|
1171
|
+
*
|
|
1100
1172
|
* @example
|
|
1101
1173
|
* 0
|
|
1102
1174
|
*/
|
|
1103
1175
|
smsSign?: number;
|
|
1104
1176
|
/**
|
|
1177
|
+
* @remarks
|
|
1178
|
+
* Deprecated, retained for compatibility reasons.
|
|
1179
|
+
*
|
|
1105
1180
|
* @example
|
|
1106
1181
|
* 0
|
|
1107
1182
|
*/
|
|
1108
1183
|
smsTemplates?: number;
|
|
1109
1184
|
/**
|
|
1185
|
+
* @remarks
|
|
1186
|
+
* Number of tags
|
|
1187
|
+
*
|
|
1110
1188
|
* @example
|
|
1111
1189
|
* 0
|
|
1112
1190
|
*/
|
|
1113
1191
|
tags?: number;
|
|
1114
1192
|
/**
|
|
1193
|
+
* @remarks
|
|
1194
|
+
* Number of templates
|
|
1195
|
+
*
|
|
1115
1196
|
* @example
|
|
1116
1197
|
* 1
|
|
1117
1198
|
*/
|
|
1118
1199
|
templates?: number;
|
|
1119
1200
|
/**
|
|
1201
|
+
* @remarks
|
|
1202
|
+
* User status:
|
|
1203
|
+
* 1 Frozen
|
|
1204
|
+
* 2 In arrears
|
|
1205
|
+
* 4 Restricted from sending
|
|
1206
|
+
* 8 Logically deleted
|
|
1207
|
+
*
|
|
1120
1208
|
* @example
|
|
1121
1209
|
* 0
|
|
1122
1210
|
*/
|
|
@@ -1150,6 +1238,8 @@ export declare class DescAccountSummaryResponse extends $tea.Model {
|
|
|
1150
1238
|
export declare class DescDomainRequest extends $tea.Model {
|
|
1151
1239
|
/**
|
|
1152
1240
|
* @remarks
|
|
1241
|
+
* The ID of the domain name.
|
|
1242
|
+
*
|
|
1153
1243
|
* This parameter is required.
|
|
1154
1244
|
*
|
|
1155
1245
|
* @example
|
|
@@ -1157,6 +1247,13 @@ export declare class DescDomainRequest extends $tea.Model {
|
|
|
1157
1247
|
*/
|
|
1158
1248
|
domainId?: number;
|
|
1159
1249
|
ownerId?: number;
|
|
1250
|
+
/**
|
|
1251
|
+
* @remarks
|
|
1252
|
+
* Determine whether to perform real-time DNS resolution
|
|
1253
|
+
*
|
|
1254
|
+
* @example
|
|
1255
|
+
* true
|
|
1256
|
+
*/
|
|
1160
1257
|
requireRealTimeDnsRecords?: boolean;
|
|
1161
1258
|
resourceOwnerAccount?: string;
|
|
1162
1259
|
resourceOwnerId?: number;
|
|
@@ -1172,110 +1269,243 @@ export declare class DescDomainRequest extends $tea.Model {
|
|
|
1172
1269
|
}
|
|
1173
1270
|
export declare class DescDomainResponseBody extends $tea.Model {
|
|
1174
1271
|
/**
|
|
1272
|
+
* @remarks
|
|
1273
|
+
* Track verification
|
|
1274
|
+
*
|
|
1175
1275
|
* @example
|
|
1176
1276
|
* 1
|
|
1177
1277
|
*/
|
|
1178
1278
|
cnameAuthStatus?: string;
|
|
1179
1279
|
/**
|
|
1280
|
+
* @remarks
|
|
1281
|
+
* CName verification flag, success: 0, failure: 1.
|
|
1282
|
+
*
|
|
1180
1283
|
* @example
|
|
1181
1284
|
* 0
|
|
1182
1285
|
*/
|
|
1183
1286
|
cnameConfirmStatus?: string;
|
|
1184
1287
|
/**
|
|
1288
|
+
* @remarks
|
|
1289
|
+
* CNAME records
|
|
1290
|
+
*
|
|
1185
1291
|
* @example
|
|
1186
1292
|
* dmtrace
|
|
1187
1293
|
*/
|
|
1188
1294
|
cnameRecord?: string;
|
|
1189
1295
|
/**
|
|
1296
|
+
* @remarks
|
|
1297
|
+
* Creation time
|
|
1298
|
+
*
|
|
1190
1299
|
* @example
|
|
1191
1300
|
* 2019-09-29T12:49Z
|
|
1192
1301
|
*/
|
|
1193
1302
|
createTime?: string;
|
|
1194
1303
|
/**
|
|
1304
|
+
* @remarks
|
|
1305
|
+
* Default domain name
|
|
1306
|
+
*
|
|
1195
1307
|
* @example
|
|
1196
1308
|
* 0
|
|
1197
1309
|
*/
|
|
1198
1310
|
defaultDomain?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* @remarks
|
|
1313
|
+
* DKIM validation flag, success: 0, failure: 1.
|
|
1314
|
+
*
|
|
1315
|
+
* @example
|
|
1316
|
+
* 0
|
|
1317
|
+
*/
|
|
1199
1318
|
dkimAuthStatus?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* @remarks
|
|
1321
|
+
* DKIM public key
|
|
1322
|
+
*
|
|
1323
|
+
* @example
|
|
1324
|
+
* v=DKIM1; k=rsa; p=MIGfMA0GCSqGSI...
|
|
1325
|
+
*/
|
|
1200
1326
|
dkimPublicKey?: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* @remarks
|
|
1329
|
+
* DKIM HostRecord
|
|
1330
|
+
*
|
|
1331
|
+
* @example
|
|
1332
|
+
* aliyun-cn-hangzhou._domainkey.hangzhou26
|
|
1333
|
+
*/
|
|
1201
1334
|
dkimRR?: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* @remarks
|
|
1337
|
+
* DMARC validation flag, success: 0, failure: 1.
|
|
1338
|
+
*
|
|
1339
|
+
* @example
|
|
1340
|
+
* 1
|
|
1341
|
+
*/
|
|
1202
1342
|
dmarcAuthStatus?: number;
|
|
1343
|
+
/**
|
|
1344
|
+
* @remarks
|
|
1345
|
+
* DMARC host record
|
|
1346
|
+
*
|
|
1347
|
+
* @example
|
|
1348
|
+
* _dmarc.xxx
|
|
1349
|
+
*/
|
|
1203
1350
|
dmarcHostRecord?: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* @remarks
|
|
1353
|
+
* DMARC record
|
|
1354
|
+
*
|
|
1355
|
+
* @example
|
|
1356
|
+
* v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com
|
|
1357
|
+
*/
|
|
1204
1358
|
dmarcRecord?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* @remarks
|
|
1361
|
+
* dmarc record value resolved through public DNS
|
|
1362
|
+
*
|
|
1363
|
+
* @example
|
|
1364
|
+
* v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com
|
|
1365
|
+
*/
|
|
1205
1366
|
dnsDmarc?: string;
|
|
1206
1367
|
/**
|
|
1368
|
+
* @remarks
|
|
1369
|
+
* MX record value resolved through public DNS
|
|
1370
|
+
*
|
|
1207
1371
|
* @example
|
|
1208
1372
|
* abc-com.xxxx.com
|
|
1209
1373
|
*/
|
|
1210
1374
|
dnsMx?: string;
|
|
1211
1375
|
/**
|
|
1376
|
+
* @remarks
|
|
1377
|
+
* SPF record value resolved through public DNS
|
|
1378
|
+
*
|
|
1212
1379
|
* @example
|
|
1213
1380
|
* v=xxxx
|
|
1214
1381
|
*/
|
|
1215
1382
|
dnsSpf?: string;
|
|
1216
1383
|
/**
|
|
1384
|
+
* @remarks
|
|
1385
|
+
* TXT record value resolved through public DNS.
|
|
1386
|
+
*
|
|
1217
1387
|
* @example
|
|
1218
1388
|
* 121309ohdsa
|
|
1219
1389
|
*/
|
|
1220
1390
|
dnsTxt?: string;
|
|
1221
1391
|
/**
|
|
1392
|
+
* @remarks
|
|
1393
|
+
* The ID of the domain name.
|
|
1394
|
+
*
|
|
1222
1395
|
* @example
|
|
1223
1396
|
* 158910
|
|
1224
1397
|
*/
|
|
1225
1398
|
domainId?: string;
|
|
1226
1399
|
/**
|
|
1400
|
+
* @remarks
|
|
1401
|
+
* domain
|
|
1402
|
+
*
|
|
1227
1403
|
* @example
|
|
1228
|
-
*
|
|
1404
|
+
* example.net
|
|
1229
1405
|
*/
|
|
1230
1406
|
domainName?: string;
|
|
1231
1407
|
/**
|
|
1408
|
+
* @remarks
|
|
1409
|
+
* The status of the domain name. Indicates whether the domain name is verified and available. Valid values:
|
|
1410
|
+
*
|
|
1411
|
+
* 0: indicates that the domain name is verified and available.
|
|
1412
|
+
*
|
|
1413
|
+
* 1: indicates that the domain name fails to be verified and is unavailable.
|
|
1414
|
+
*
|
|
1415
|
+
* 2: indicates that the domain name is available, but not filed or configured with a CNAME record.
|
|
1416
|
+
*
|
|
1417
|
+
* 3: indicates that the domain name is available but not filed.
|
|
1418
|
+
*
|
|
1419
|
+
* 4: indicates that the domain name is available but not configured with a CNAME record.
|
|
1420
|
+
*
|
|
1232
1421
|
* @example
|
|
1233
1422
|
* 1
|
|
1234
1423
|
*/
|
|
1235
1424
|
domainStatus?: string;
|
|
1236
1425
|
/**
|
|
1426
|
+
* @remarks
|
|
1427
|
+
* TXT records provided by the Direct Mail console.
|
|
1428
|
+
*
|
|
1237
1429
|
* @example
|
|
1238
1430
|
* 0c40d5f125af4e42892a
|
|
1239
1431
|
*/
|
|
1240
1432
|
domainType?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* @remarks
|
|
1435
|
+
* host record
|
|
1436
|
+
*
|
|
1437
|
+
* @example
|
|
1438
|
+
* xxx
|
|
1439
|
+
*/
|
|
1241
1440
|
hostRecord?: string;
|
|
1242
1441
|
/**
|
|
1442
|
+
* @remarks
|
|
1443
|
+
* Filing status. 1 indicates that it has been filed, and 0 indicates that it has not been filed.
|
|
1444
|
+
*
|
|
1243
1445
|
* @example
|
|
1244
1446
|
* 1
|
|
1245
1447
|
*/
|
|
1246
1448
|
icpStatus?: string;
|
|
1247
1449
|
/**
|
|
1450
|
+
* @remarks
|
|
1451
|
+
* MX validation flag, success: 0, failure: 1.
|
|
1452
|
+
*
|
|
1248
1453
|
* @example
|
|
1249
1454
|
* 1
|
|
1250
1455
|
*/
|
|
1251
1456
|
mxAuthStatus?: string;
|
|
1252
1457
|
/**
|
|
1458
|
+
* @remarks
|
|
1459
|
+
* MX record
|
|
1460
|
+
*
|
|
1253
1461
|
* @example
|
|
1254
1462
|
* mx01.dm.aliyun.com
|
|
1255
1463
|
*/
|
|
1256
1464
|
mxRecord?: string;
|
|
1257
1465
|
/**
|
|
1466
|
+
* @remarks
|
|
1467
|
+
* The ID of the request.
|
|
1468
|
+
*
|
|
1258
1469
|
* @example
|
|
1259
1470
|
* 51B74264-46B4-43C8-A9A0-6B8E8BC04F34
|
|
1260
1471
|
*/
|
|
1261
1472
|
requestId?: string;
|
|
1262
1473
|
/**
|
|
1474
|
+
* @remarks
|
|
1475
|
+
* SPF validation flag, success: 0, failure: 1.
|
|
1476
|
+
*
|
|
1263
1477
|
* @example
|
|
1264
1478
|
* 1
|
|
1265
1479
|
*/
|
|
1266
1480
|
spfAuthStatus?: string;
|
|
1267
1481
|
/**
|
|
1482
|
+
* @remarks
|
|
1483
|
+
* Spf record
|
|
1484
|
+
*
|
|
1268
1485
|
* @example
|
|
1269
1486
|
* include:spf1.dm.aliyun.com
|
|
1270
1487
|
*/
|
|
1271
1488
|
spfRecord?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* @remarks
|
|
1491
|
+
* SpfRecord
|
|
1492
|
+
*
|
|
1493
|
+
* @example
|
|
1494
|
+
* v=spf1 include:spf1.dm.aliyun.com -all
|
|
1495
|
+
*/
|
|
1272
1496
|
spfRecordV2?: string;
|
|
1273
1497
|
/**
|
|
1498
|
+
* @remarks
|
|
1499
|
+
* The primary domain name.
|
|
1500
|
+
*
|
|
1274
1501
|
* @example
|
|
1275
|
-
*
|
|
1502
|
+
* example.net
|
|
1276
1503
|
*/
|
|
1277
1504
|
tlDomainName?: string;
|
|
1278
1505
|
/**
|
|
1506
|
+
* @remarks
|
|
1507
|
+
* The CNAME verification record provided by the Direct Mail console.
|
|
1508
|
+
*
|
|
1279
1509
|
* @example
|
|
1280
1510
|
* tracedm.aliyuncs.com
|
|
1281
1511
|
*/
|
|
@@ -1663,8 +1893,15 @@ export declare class GetTrackListByMailFromAndTagNameResponse extends $tea.Model
|
|
|
1663
1893
|
});
|
|
1664
1894
|
}
|
|
1665
1895
|
export declare class GetUserResponseBody extends $tea.Model {
|
|
1896
|
+
/**
|
|
1897
|
+
* @remarks
|
|
1898
|
+
* Returned Content
|
|
1899
|
+
*/
|
|
1666
1900
|
data?: GetUserResponseBodyData;
|
|
1667
1901
|
/**
|
|
1902
|
+
* @remarks
|
|
1903
|
+
* Request ID
|
|
1904
|
+
*
|
|
1668
1905
|
* @example
|
|
1669
1906
|
* 10A1AD70-E48E-476D-98D9-39BD92193837
|
|
1670
1907
|
*/
|
|
@@ -1697,27 +1934,42 @@ export declare class GetUserResponse extends $tea.Model {
|
|
|
1697
1934
|
}
|
|
1698
1935
|
export declare class ListUserSuppressionRequest extends $tea.Model {
|
|
1699
1936
|
/**
|
|
1937
|
+
* @remarks
|
|
1938
|
+
* Email address or domain name
|
|
1939
|
+
*
|
|
1700
1940
|
* @example
|
|
1701
1941
|
* test@example.net
|
|
1702
1942
|
*/
|
|
1703
1943
|
address?: string;
|
|
1704
1944
|
/**
|
|
1945
|
+
* @remarks
|
|
1946
|
+
* End time of the last bounce hit, timestamp, accurate to the second. The span between start and end times cannot exceed 7 days.
|
|
1947
|
+
*
|
|
1705
1948
|
* @example
|
|
1706
1949
|
* 1715669077
|
|
1707
1950
|
*/
|
|
1708
1951
|
endBounceTime?: number;
|
|
1709
1952
|
/**
|
|
1953
|
+
* @remarks
|
|
1954
|
+
* End creation time, timestamp, accurate to the second. The span between start and end times cannot exceed 7 days.
|
|
1955
|
+
*
|
|
1710
1956
|
* @example
|
|
1711
1957
|
* 1715669077
|
|
1712
1958
|
*/
|
|
1713
1959
|
endCreateTime?: number;
|
|
1714
1960
|
ownerId?: number;
|
|
1715
1961
|
/**
|
|
1962
|
+
* @remarks
|
|
1963
|
+
* Current page number
|
|
1964
|
+
*
|
|
1716
1965
|
* @example
|
|
1717
1966
|
* 1
|
|
1718
1967
|
*/
|
|
1719
1968
|
pageNo?: number;
|
|
1720
1969
|
/**
|
|
1970
|
+
* @remarks
|
|
1971
|
+
* Page size
|
|
1972
|
+
*
|
|
1721
1973
|
* @example
|
|
1722
1974
|
* 10
|
|
1723
1975
|
*/
|
|
@@ -1725,11 +1977,17 @@ export declare class ListUserSuppressionRequest extends $tea.Model {
|
|
|
1725
1977
|
resourceOwnerAccount?: string;
|
|
1726
1978
|
resourceOwnerId?: number;
|
|
1727
1979
|
/**
|
|
1980
|
+
* @remarks
|
|
1981
|
+
* Start time of the last bounce hit, timestamp, accurate to the second.
|
|
1982
|
+
*
|
|
1728
1983
|
* @example
|
|
1729
1984
|
* 1715668852
|
|
1730
1985
|
*/
|
|
1731
1986
|
startBounceTime?: number;
|
|
1732
1987
|
/**
|
|
1988
|
+
* @remarks
|
|
1989
|
+
* Start creation time, timestamp, accurate to the second.
|
|
1990
|
+
*
|
|
1733
1991
|
* @example
|
|
1734
1992
|
* 1715668852
|
|
1735
1993
|
*/
|
|
@@ -1745,23 +2003,39 @@ export declare class ListUserSuppressionRequest extends $tea.Model {
|
|
|
1745
2003
|
});
|
|
1746
2004
|
}
|
|
1747
2005
|
export declare class ListUserSuppressionResponseBody extends $tea.Model {
|
|
2006
|
+
/**
|
|
2007
|
+
* @remarks
|
|
2008
|
+
* Returned results.
|
|
2009
|
+
*/
|
|
1748
2010
|
data?: ListUserSuppressionResponseBodyData;
|
|
1749
2011
|
/**
|
|
2012
|
+
* @remarks
|
|
2013
|
+
* Page number
|
|
2014
|
+
*
|
|
1750
2015
|
* @example
|
|
1751
2016
|
* 1
|
|
1752
2017
|
*/
|
|
1753
2018
|
pageNumber?: number;
|
|
1754
2019
|
/**
|
|
2020
|
+
* @remarks
|
|
2021
|
+
* Page size
|
|
2022
|
+
*
|
|
1755
2023
|
* @example
|
|
1756
2024
|
* 10
|
|
1757
2025
|
*/
|
|
1758
2026
|
pageSize?: number;
|
|
1759
2027
|
/**
|
|
2028
|
+
* @remarks
|
|
2029
|
+
* Request ID
|
|
2030
|
+
*
|
|
1760
2031
|
* @example
|
|
1761
2032
|
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
1762
2033
|
*/
|
|
1763
2034
|
requestId?: string;
|
|
1764
2035
|
/**
|
|
2036
|
+
* @remarks
|
|
2037
|
+
* Total count
|
|
2038
|
+
*
|
|
1765
2039
|
* @example
|
|
1766
2040
|
* 2
|
|
1767
2041
|
*/
|
|
@@ -2571,6 +2845,10 @@ export declare class RemoveUserSuppressionRequest extends $tea.Model {
|
|
|
2571
2845
|
ownerId?: number;
|
|
2572
2846
|
resourceOwnerAccount?: string;
|
|
2573
2847
|
resourceOwnerId?: number;
|
|
2848
|
+
/**
|
|
2849
|
+
* @example
|
|
2850
|
+
* 59511
|
|
2851
|
+
*/
|
|
2574
2852
|
suppressionIds?: string;
|
|
2575
2853
|
static names(): {
|
|
2576
2854
|
[key: string]: string;
|
|
@@ -2583,6 +2861,10 @@ export declare class RemoveUserSuppressionRequest extends $tea.Model {
|
|
|
2583
2861
|
});
|
|
2584
2862
|
}
|
|
2585
2863
|
export declare class RemoveUserSuppressionResponseBody extends $tea.Model {
|
|
2864
|
+
/**
|
|
2865
|
+
* @example
|
|
2866
|
+
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
2867
|
+
*/
|
|
2586
2868
|
requestId?: string;
|
|
2587
2869
|
static names(): {
|
|
2588
2870
|
[key: string]: string;
|
|
@@ -2840,21 +3122,33 @@ export declare class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Mo
|
|
|
2840
3122
|
}
|
|
2841
3123
|
export declare class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
2842
3124
|
/**
|
|
3125
|
+
* @remarks
|
|
3126
|
+
* Sending address. Not filled in represents all addresses.
|
|
3127
|
+
*
|
|
2843
3128
|
* @example
|
|
2844
3129
|
* s***@example.net
|
|
2845
3130
|
*/
|
|
2846
3131
|
accountName?: string;
|
|
2847
3132
|
/**
|
|
3133
|
+
* @remarks
|
|
3134
|
+
* The end time. The difference between the start time and the end time cannot exceed 30 days. Format: yyyy-MM-dd.
|
|
3135
|
+
*
|
|
2848
3136
|
* @example
|
|
2849
3137
|
* 2021-04-29 00:00
|
|
2850
3138
|
*/
|
|
2851
3139
|
endTime?: string;
|
|
2852
3140
|
/**
|
|
3141
|
+
* @remarks
|
|
3142
|
+
* The number of entries to return in the request. Valid values: 1 to 100.
|
|
3143
|
+
*
|
|
2853
3144
|
* @example
|
|
2854
3145
|
* 5
|
|
2855
3146
|
*/
|
|
2856
3147
|
length?: number;
|
|
2857
3148
|
/**
|
|
3149
|
+
* @remarks
|
|
3150
|
+
* The start position of the next page. The offset for the request. If you want to obtain more records, specify the return value of the NextStart parameter for this parameter.
|
|
3151
|
+
*
|
|
2858
3152
|
* @example
|
|
2859
3153
|
* 90f0243616#203#a***@example.net-1658817837#a***@example.net.247475288187
|
|
2860
3154
|
*/
|
|
@@ -2863,21 +3157,33 @@ export declare class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
|
2863
3157
|
resourceOwnerAccount?: string;
|
|
2864
3158
|
resourceOwnerId?: number;
|
|
2865
3159
|
/**
|
|
3160
|
+
* @remarks
|
|
3161
|
+
* The start time. The start time can be up to 30 days earlier than the current time. Format: yyyy-MM-dd.
|
|
3162
|
+
*
|
|
2866
3163
|
* @example
|
|
2867
3164
|
* 2021-04-28 00:00
|
|
2868
3165
|
*/
|
|
2869
3166
|
startTime?: string;
|
|
2870
3167
|
/**
|
|
3168
|
+
* @remarks
|
|
3169
|
+
* The delivery status. If you leave this parameter empty, all states are included. Valid values: 0: successful, 2 invalid email address, 3: spam, and 4: failed.
|
|
3170
|
+
*
|
|
2871
3171
|
* @example
|
|
2872
3172
|
* 0
|
|
2873
3173
|
*/
|
|
2874
3174
|
status?: number;
|
|
2875
3175
|
/**
|
|
3176
|
+
* @remarks
|
|
3177
|
+
* The email tag. If you leave this parameter empty, all email tags are included.
|
|
3178
|
+
*
|
|
2876
3179
|
* @example
|
|
2877
3180
|
* EmailQuestionnaireHelioscam
|
|
2878
3181
|
*/
|
|
2879
3182
|
tagName?: string;
|
|
2880
3183
|
/**
|
|
3184
|
+
* @remarks
|
|
3185
|
+
* The recipient address. If you leave this parameter empty, all recipient addresses are included.
|
|
3186
|
+
*
|
|
2881
3187
|
* @example
|
|
2882
3188
|
* b***@example.net
|
|
2883
3189
|
*/
|
|
@@ -2894,15 +3200,25 @@ export declare class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
|
2894
3200
|
}
|
|
2895
3201
|
export declare class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
2896
3202
|
/**
|
|
3203
|
+
* @remarks
|
|
3204
|
+
* The start position of the next page. The return value of the NextStart parameter indicates the start position of the next page. If you want to obtain more records, specify the return value in the next request.
|
|
3205
|
+
*
|
|
2897
3206
|
* @example
|
|
2898
3207
|
* 90f0243616#203#a***@example.net-1658817689#a***@example.net.247141122178
|
|
2899
3208
|
*/
|
|
2900
3209
|
nextStart?: string;
|
|
2901
3210
|
/**
|
|
3211
|
+
* @remarks
|
|
3212
|
+
* The ID of the request.
|
|
3213
|
+
*
|
|
2902
3214
|
* @example
|
|
2903
3215
|
* B5AB8EBB-EE64-4BB2-B085-B92CC5DEDC41
|
|
2904
3216
|
*/
|
|
2905
3217
|
requestId?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* @remarks
|
|
3220
|
+
* The response parameters.
|
|
3221
|
+
*/
|
|
2906
3222
|
data?: SenderStatisticsDetailByParamResponseBodyData;
|
|
2907
3223
|
static names(): {
|
|
2908
3224
|
[key: string]: string;
|
|
@@ -2997,6 +3313,7 @@ export declare class SingleSendMailRequest extends $tea.Model {
|
|
|
2997
3313
|
*/
|
|
2998
3314
|
clickTrace?: string;
|
|
2999
3315
|
fromAlias?: string;
|
|
3316
|
+
headers?: string;
|
|
3000
3317
|
/**
|
|
3001
3318
|
* @example
|
|
3002
3319
|
* body
|
|
@@ -3146,6 +3463,10 @@ export declare class UpdateIpProtectionResponse extends $tea.Model {
|
|
|
3146
3463
|
});
|
|
3147
3464
|
}
|
|
3148
3465
|
export declare class UpdateUserRequest extends $tea.Model {
|
|
3466
|
+
/**
|
|
3467
|
+
* @remarks
|
|
3468
|
+
* User Information
|
|
3469
|
+
*/
|
|
3149
3470
|
user?: UpdateUserRequestUser;
|
|
3150
3471
|
static names(): {
|
|
3151
3472
|
[key: string]: string;
|
|
@@ -3158,6 +3479,10 @@ export declare class UpdateUserRequest extends $tea.Model {
|
|
|
3158
3479
|
});
|
|
3159
3480
|
}
|
|
3160
3481
|
export declare class UpdateUserShrinkRequest extends $tea.Model {
|
|
3482
|
+
/**
|
|
3483
|
+
* @remarks
|
|
3484
|
+
* User Information
|
|
3485
|
+
*/
|
|
3161
3486
|
userShrink?: string;
|
|
3162
3487
|
static names(): {
|
|
3163
3488
|
[key: string]: string;
|
|
@@ -3386,6 +3711,9 @@ export declare class GetTrackListByMailFromAndTagNameResponseBodyTrackList exten
|
|
|
3386
3711
|
}
|
|
3387
3712
|
export declare class GetUserResponseBodyData extends $tea.Model {
|
|
3388
3713
|
/**
|
|
3714
|
+
* @remarks
|
|
3715
|
+
* Whether EventBridge is enabled
|
|
3716
|
+
*
|
|
3389
3717
|
* @example
|
|
3390
3718
|
* true
|
|
3391
3719
|
*/
|
|
@@ -3402,29 +3730,45 @@ export declare class GetUserResponseBodyData extends $tea.Model {
|
|
|
3402
3730
|
}
|
|
3403
3731
|
export declare class ListUserSuppressionResponseBodyDataUserSuppressions extends $tea.Model {
|
|
3404
3732
|
/**
|
|
3733
|
+
* @remarks
|
|
3734
|
+
* Email address or domain name
|
|
3735
|
+
*
|
|
3405
3736
|
* @example
|
|
3406
3737
|
* test@example.net
|
|
3407
3738
|
*/
|
|
3408
3739
|
address?: string;
|
|
3409
3740
|
/**
|
|
3741
|
+
* @remarks
|
|
3742
|
+
* Creation time, timestamp, accurate to the second.
|
|
3743
|
+
*
|
|
3410
3744
|
* @example
|
|
3411
3745
|
* 1715667435
|
|
3412
3746
|
*/
|
|
3413
3747
|
createTime?: number;
|
|
3414
3748
|
/**
|
|
3749
|
+
* @remarks
|
|
3750
|
+
* Last bounce hit time, timestamp, accurate to the second.
|
|
3751
|
+
*
|
|
3415
3752
|
* @example
|
|
3416
3753
|
* 1715667451
|
|
3417
3754
|
*/
|
|
3418
3755
|
lastBounceTime?: number;
|
|
3419
3756
|
/**
|
|
3757
|
+
* @remarks
|
|
3758
|
+
* Invalid address ID
|
|
3759
|
+
*
|
|
3420
3760
|
* @example
|
|
3421
3761
|
* 59511
|
|
3422
3762
|
*/
|
|
3423
3763
|
suppressionId?: number;
|
|
3424
3764
|
/**
|
|
3425
|
-
* @
|
|
3765
|
+
* @remarks
|
|
3766
|
+
* Source of entry, invalid address type
|
|
3426
3767
|
* - system
|
|
3427
3768
|
* - user
|
|
3769
|
+
*
|
|
3770
|
+
* @example
|
|
3771
|
+
* user
|
|
3428
3772
|
*/
|
|
3429
3773
|
type?: string;
|
|
3430
3774
|
static names(): {
|
|
@@ -3928,33 +4272,70 @@ export declare class SenderStatisticsByTagNameAndBatchIDResponseBodyData extends
|
|
|
3928
4272
|
}
|
|
3929
4273
|
export declare class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $tea.Model {
|
|
3930
4274
|
/**
|
|
4275
|
+
* @remarks
|
|
4276
|
+
* The sender address.
|
|
4277
|
+
*
|
|
3931
4278
|
* @example
|
|
3932
4279
|
* s***@example.net
|
|
3933
4280
|
*/
|
|
3934
4281
|
accountName?: string;
|
|
4282
|
+
/**
|
|
4283
|
+
* @remarks
|
|
4284
|
+
* Detailed classification of error causes:
|
|
4285
|
+
*
|
|
4286
|
+
* - SendOk
|
|
4287
|
+
* - SmtpNxBox
|
|
4288
|
+
*
|
|
4289
|
+
* etc.
|
|
4290
|
+
*
|
|
4291
|
+
* @example
|
|
4292
|
+
* SendOk
|
|
4293
|
+
*/
|
|
3935
4294
|
errorClassification?: string;
|
|
3936
4295
|
/**
|
|
4296
|
+
* @remarks
|
|
4297
|
+
* The most recent update time.
|
|
4298
|
+
*
|
|
3937
4299
|
* @example
|
|
3938
4300
|
* 2021-04-28T17:11Z
|
|
3939
4301
|
*/
|
|
3940
4302
|
lastUpdateTime?: string;
|
|
3941
4303
|
/**
|
|
4304
|
+
* @remarks
|
|
4305
|
+
* The details of the email.
|
|
4306
|
+
*
|
|
3942
4307
|
* @example
|
|
3943
4308
|
* 250 Send Mail OK
|
|
3944
4309
|
*/
|
|
3945
4310
|
message?: string;
|
|
3946
4311
|
/**
|
|
4312
|
+
* @remarks
|
|
4313
|
+
* The delivery status. Valid values: 0: successful, 2 invalid email address, 3: spam, and 4: failed.
|
|
4314
|
+
*
|
|
3947
4315
|
* @example
|
|
3948
4316
|
* 0
|
|
3949
4317
|
*/
|
|
3950
4318
|
status?: number;
|
|
4319
|
+
/**
|
|
4320
|
+
* @remarks
|
|
4321
|
+
* the subject of email.
|
|
4322
|
+
*
|
|
4323
|
+
* @example
|
|
4324
|
+
* test subject
|
|
4325
|
+
*/
|
|
3951
4326
|
subject?: string;
|
|
3952
4327
|
/**
|
|
4328
|
+
* @remarks
|
|
4329
|
+
* The recipient address.
|
|
4330
|
+
*
|
|
3953
4331
|
* @example
|
|
3954
4332
|
* b***@example.net
|
|
3955
4333
|
*/
|
|
3956
4334
|
toAddress?: string;
|
|
3957
4335
|
/**
|
|
4336
|
+
* @remarks
|
|
4337
|
+
* The most recent update time (timestamp format)
|
|
4338
|
+
*
|
|
3958
4339
|
* @example
|
|
3959
4340
|
* 1619601108
|
|
3960
4341
|
*/
|
|
@@ -3983,6 +4364,9 @@ export declare class SenderStatisticsDetailByParamResponseBodyData extends $tea.
|
|
|
3983
4364
|
}
|
|
3984
4365
|
export declare class UpdateUserRequestUser extends $tea.Model {
|
|
3985
4366
|
/**
|
|
4367
|
+
* @remarks
|
|
4368
|
+
* Whether EventBridge is enabled
|
|
4369
|
+
*
|
|
3986
4370
|
* @example
|
|
3987
4371
|
* true
|
|
3988
4372
|
*/
|
|
@@ -4134,7 +4518,7 @@ export default class Client extends OpenApi {
|
|
|
4134
4518
|
*/
|
|
4135
4519
|
createTag(request: CreateTagRequest): Promise<CreateTagResponse>;
|
|
4136
4520
|
/**
|
|
4137
|
-
*
|
|
4521
|
+
* Create User\\"s Invalid Address
|
|
4138
4522
|
*
|
|
4139
4523
|
* @param request - CreateUserSuppressionRequest
|
|
4140
4524
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4142,7 +4526,7 @@ export default class Client extends OpenApi {
|
|
|
4142
4526
|
*/
|
|
4143
4527
|
createUserSuppressionWithOptions(request: CreateUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserSuppressionResponse>;
|
|
4144
4528
|
/**
|
|
4145
|
-
*
|
|
4529
|
+
* Create User\\"s Invalid Address
|
|
4146
4530
|
*
|
|
4147
4531
|
* @param request - CreateUserSuppressionRequest
|
|
4148
4532
|
* @returns CreateUserSuppressionResponse
|
|
@@ -4254,12 +4638,16 @@ export default class Client extends OpenApi {
|
|
|
4254
4638
|
*/
|
|
4255
4639
|
deleteTag(request: DeleteTagRequest): Promise<DeleteTagResponse>;
|
|
4256
4640
|
/**
|
|
4641
|
+
* Retrieve account information.
|
|
4642
|
+
*
|
|
4257
4643
|
* @param request - DescAccountSummaryRequest
|
|
4258
4644
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4259
4645
|
* @returns DescAccountSummaryResponse
|
|
4260
4646
|
*/
|
|
4261
4647
|
descAccountSummaryWithOptions(request: DescAccountSummaryRequest, runtime: $Util.RuntimeOptions): Promise<DescAccountSummaryResponse>;
|
|
4262
4648
|
/**
|
|
4649
|
+
* Retrieve account information.
|
|
4650
|
+
*
|
|
4263
4651
|
* @param request - DescAccountSummaryRequest
|
|
4264
4652
|
* @returns DescAccountSummaryResponse
|
|
4265
4653
|
*/
|
|
@@ -4355,7 +4743,7 @@ export default class Client extends OpenApi {
|
|
|
4355
4743
|
*/
|
|
4356
4744
|
getTrackListByMailFromAndTagName(request: GetTrackListByMailFromAndTagNameRequest): Promise<GetTrackListByMailFromAndTagNameResponse>;
|
|
4357
4745
|
/**
|
|
4358
|
-
*
|
|
4746
|
+
* Get Account Details
|
|
4359
4747
|
*
|
|
4360
4748
|
* @param request - GetUserRequest
|
|
4361
4749
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4363,12 +4751,12 @@ export default class Client extends OpenApi {
|
|
|
4363
4751
|
*/
|
|
4364
4752
|
getUserWithOptions(runtime: $Util.RuntimeOptions): Promise<GetUserResponse>;
|
|
4365
4753
|
/**
|
|
4366
|
-
*
|
|
4754
|
+
* Get Account Details
|
|
4367
4755
|
* @returns GetUserResponse
|
|
4368
4756
|
*/
|
|
4369
4757
|
getUser(): Promise<GetUserResponse>;
|
|
4370
4758
|
/**
|
|
4371
|
-
*
|
|
4759
|
+
* List User Invalid Addresses.
|
|
4372
4760
|
*
|
|
4373
4761
|
* @param request - ListUserSuppressionRequest
|
|
4374
4762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4376,7 +4764,7 @@ export default class Client extends OpenApi {
|
|
|
4376
4764
|
*/
|
|
4377
4765
|
listUserSuppressionWithOptions(request: ListUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<ListUserSuppressionResponse>;
|
|
4378
4766
|
/**
|
|
4379
|
-
*
|
|
4767
|
+
* List User Invalid Addresses.
|
|
4380
4768
|
*
|
|
4381
4769
|
* @param request - ListUserSuppressionRequest
|
|
4382
4770
|
* @returns ListUserSuppressionResponse
|
|
@@ -4641,7 +5029,7 @@ export default class Client extends OpenApi {
|
|
|
4641
5029
|
*/
|
|
4642
5030
|
updateIpProtection(request: UpdateIpProtectionRequest): Promise<UpdateIpProtectionResponse>;
|
|
4643
5031
|
/**
|
|
4644
|
-
*
|
|
5032
|
+
* Update account information
|
|
4645
5033
|
*
|
|
4646
5034
|
* @param tmpReq - UpdateUserRequest
|
|
4647
5035
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4649,7 +5037,7 @@ export default class Client extends OpenApi {
|
|
|
4649
5037
|
*/
|
|
4650
5038
|
updateUserWithOptions(tmpReq: UpdateUserRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserResponse>;
|
|
4651
5039
|
/**
|
|
4652
|
-
*
|
|
5040
|
+
* Update account information
|
|
4653
5041
|
*
|
|
4654
5042
|
* @param request - UpdateUserRequest
|
|
4655
5043
|
* @returns UpdateUserResponse
|