@alicloud/dm20151123 1.0.1 → 1.0.4

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.js CHANGED
@@ -19,6 +19,64 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
19
19
  const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
20
20
  const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
21
21
  const $tea = __importStar(require("@alicloud/tea-typescript"));
22
+ class AddIpfilterRequest extends $tea.Model {
23
+ constructor(map) {
24
+ super(map);
25
+ }
26
+ static names() {
27
+ return {
28
+ ipAddress: 'IpAddress',
29
+ ownerId: 'OwnerId',
30
+ resourceOwnerAccount: 'ResourceOwnerAccount',
31
+ resourceOwnerId: 'ResourceOwnerId',
32
+ };
33
+ }
34
+ static types() {
35
+ return {
36
+ ipAddress: 'string',
37
+ ownerId: 'number',
38
+ resourceOwnerAccount: 'string',
39
+ resourceOwnerId: 'number',
40
+ };
41
+ }
42
+ }
43
+ exports.AddIpfilterRequest = AddIpfilterRequest;
44
+ class AddIpfilterResponseBody extends $tea.Model {
45
+ constructor(map) {
46
+ super(map);
47
+ }
48
+ static names() {
49
+ return {
50
+ requestId: 'RequestId',
51
+ };
52
+ }
53
+ static types() {
54
+ return {
55
+ requestId: 'string',
56
+ };
57
+ }
58
+ }
59
+ exports.AddIpfilterResponseBody = AddIpfilterResponseBody;
60
+ class AddIpfilterResponse extends $tea.Model {
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ static names() {
65
+ return {
66
+ headers: 'headers',
67
+ statusCode: 'statusCode',
68
+ body: 'body',
69
+ };
70
+ }
71
+ static types() {
72
+ return {
73
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
74
+ statusCode: 'number',
75
+ body: AddIpfilterResponseBody,
76
+ };
77
+ }
78
+ }
79
+ exports.AddIpfilterResponse = AddIpfilterResponse;
22
80
  class ApproveReplyMailAddressRequest extends $tea.Model {
23
81
  constructor(map) {
24
82
  super(map);
@@ -64,12 +122,14 @@ class ApproveReplyMailAddressResponse extends $tea.Model {
64
122
  static names() {
65
123
  return {
66
124
  headers: 'headers',
125
+ statusCode: 'statusCode',
67
126
  body: 'body',
68
127
  };
69
128
  }
70
129
  static types() {
71
130
  return {
72
131
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
132
+ statusCode: 'number',
73
133
  body: ApproveReplyMailAddressResponseBody,
74
134
  };
75
135
  }
@@ -136,12 +196,14 @@ class BatchSendMailResponse extends $tea.Model {
136
196
  static names() {
137
197
  return {
138
198
  headers: 'headers',
199
+ statusCode: 'statusCode',
139
200
  body: 'body',
140
201
  };
141
202
  }
142
203
  static types() {
143
204
  return {
144
205
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
206
+ statusCode: 'number',
145
207
  body: BatchSendMailResponseBody,
146
208
  };
147
209
  }
@@ -194,12 +256,14 @@ class CheckDomainResponse extends $tea.Model {
194
256
  static names() {
195
257
  return {
196
258
  headers: 'headers',
259
+ statusCode: 'statusCode',
197
260
  body: 'body',
198
261
  };
199
262
  }
200
263
  static types() {
201
264
  return {
202
265
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
266
+ statusCode: 'number',
203
267
  body: CheckDomainResponseBody,
204
268
  };
205
269
  }
@@ -254,12 +318,14 @@ class CheckReplyToMailAddressResponse extends $tea.Model {
254
318
  static names() {
255
319
  return {
256
320
  headers: 'headers',
321
+ statusCode: 'statusCode',
257
322
  body: 'body',
258
323
  };
259
324
  }
260
325
  static types() {
261
326
  return {
262
327
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
328
+ statusCode: 'number',
263
329
  body: CheckReplyToMailAddressResponseBody,
264
330
  };
265
331
  }
@@ -312,12 +378,14 @@ class CreateDomainResponse extends $tea.Model {
312
378
  static names() {
313
379
  return {
314
380
  headers: 'headers',
381
+ statusCode: 'statusCode',
315
382
  body: 'body',
316
383
  };
317
384
  }
318
385
  static types() {
319
386
  return {
320
387
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
388
+ statusCode: 'number',
321
389
  body: CreateDomainResponseBody,
322
390
  };
323
391
  }
@@ -374,12 +442,14 @@ class CreateMailAddressResponse extends $tea.Model {
374
442
  static names() {
375
443
  return {
376
444
  headers: 'headers',
445
+ statusCode: 'statusCode',
377
446
  body: 'body',
378
447
  };
379
448
  }
380
449
  static types() {
381
450
  return {
382
451
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
452
+ statusCode: 'number',
383
453
  body: CreateMailAddressResponseBody,
384
454
  };
385
455
  }
@@ -436,12 +506,14 @@ class CreateReceiverResponse extends $tea.Model {
436
506
  static names() {
437
507
  return {
438
508
  headers: 'headers',
509
+ statusCode: 'statusCode',
439
510
  body: 'body',
440
511
  };
441
512
  }
442
513
  static types() {
443
514
  return {
444
515
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
516
+ statusCode: 'number',
445
517
  body: CreateReceiverResponseBody,
446
518
  };
447
519
  }
@@ -494,12 +566,14 @@ class CreateTagResponse extends $tea.Model {
494
566
  static names() {
495
567
  return {
496
568
  headers: 'headers',
569
+ statusCode: 'statusCode',
497
570
  body: 'body',
498
571
  };
499
572
  }
500
573
  static types() {
501
574
  return {
502
575
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
576
+ statusCode: 'number',
503
577
  body: CreateTagResponseBody,
504
578
  };
505
579
  }
@@ -550,17 +624,79 @@ class DeleteDomainResponse extends $tea.Model {
550
624
  static names() {
551
625
  return {
552
626
  headers: 'headers',
627
+ statusCode: 'statusCode',
553
628
  body: 'body',
554
629
  };
555
630
  }
556
631
  static types() {
557
632
  return {
558
633
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
634
+ statusCode: 'number',
559
635
  body: DeleteDomainResponseBody,
560
636
  };
561
637
  }
562
638
  }
563
639
  exports.DeleteDomainResponse = DeleteDomainResponse;
640
+ class DeleteIpfilterByEdmIdRequest extends $tea.Model {
641
+ constructor(map) {
642
+ super(map);
643
+ }
644
+ static names() {
645
+ return {
646
+ fromType: 'FromType',
647
+ id: 'Id',
648
+ ownerId: 'OwnerId',
649
+ resourceOwnerAccount: 'ResourceOwnerAccount',
650
+ resourceOwnerId: 'ResourceOwnerId',
651
+ };
652
+ }
653
+ static types() {
654
+ return {
655
+ fromType: 'number',
656
+ id: 'string',
657
+ ownerId: 'number',
658
+ resourceOwnerAccount: 'string',
659
+ resourceOwnerId: 'number',
660
+ };
661
+ }
662
+ }
663
+ exports.DeleteIpfilterByEdmIdRequest = DeleteIpfilterByEdmIdRequest;
664
+ class DeleteIpfilterByEdmIdResponseBody extends $tea.Model {
665
+ constructor(map) {
666
+ super(map);
667
+ }
668
+ static names() {
669
+ return {
670
+ requestId: 'RequestId',
671
+ };
672
+ }
673
+ static types() {
674
+ return {
675
+ requestId: 'string',
676
+ };
677
+ }
678
+ }
679
+ exports.DeleteIpfilterByEdmIdResponseBody = DeleteIpfilterByEdmIdResponseBody;
680
+ class DeleteIpfilterByEdmIdResponse extends $tea.Model {
681
+ constructor(map) {
682
+ super(map);
683
+ }
684
+ static names() {
685
+ return {
686
+ headers: 'headers',
687
+ statusCode: 'statusCode',
688
+ body: 'body',
689
+ };
690
+ }
691
+ static types() {
692
+ return {
693
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
694
+ statusCode: 'number',
695
+ body: DeleteIpfilterByEdmIdResponseBody,
696
+ };
697
+ }
698
+ }
699
+ exports.DeleteIpfilterByEdmIdResponse = DeleteIpfilterByEdmIdResponse;
564
700
  class DeleteMailAddressRequest extends $tea.Model {
565
701
  constructor(map) {
566
702
  super(map);
@@ -606,12 +742,14 @@ class DeleteMailAddressResponse extends $tea.Model {
606
742
  static names() {
607
743
  return {
608
744
  headers: 'headers',
745
+ statusCode: 'statusCode',
609
746
  body: 'body',
610
747
  };
611
748
  }
612
749
  static types() {
613
750
  return {
614
751
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
752
+ statusCode: 'number',
615
753
  body: DeleteMailAddressResponseBody,
616
754
  };
617
755
  }
@@ -662,12 +800,14 @@ class DeleteReceiverResponse extends $tea.Model {
662
800
  static names() {
663
801
  return {
664
802
  headers: 'headers',
803
+ statusCode: 'statusCode',
665
804
  body: 'body',
666
805
  };
667
806
  }
668
807
  static types() {
669
808
  return {
670
809
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
810
+ statusCode: 'number',
671
811
  body: DeleteReceiverResponseBody,
672
812
  };
673
813
  }
@@ -720,12 +860,14 @@ class DeleteReceiverDetailResponse extends $tea.Model {
720
860
  static names() {
721
861
  return {
722
862
  headers: 'headers',
863
+ statusCode: 'statusCode',
723
864
  body: 'body',
724
865
  };
725
866
  }
726
867
  static types() {
727
868
  return {
728
869
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
870
+ statusCode: 'number',
729
871
  body: DeleteReceiverDetailResponseBody,
730
872
  };
731
873
  }
@@ -776,12 +918,14 @@ class DeleteTagResponse extends $tea.Model {
776
918
  static names() {
777
919
  return {
778
920
  headers: 'headers',
921
+ statusCode: 'statusCode',
779
922
  body: 'body',
780
923
  };
781
924
  }
782
925
  static types() {
783
926
  return {
784
927
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
928
+ statusCode: 'number',
785
929
  body: DeleteTagResponseBody,
786
930
  };
787
931
  }
@@ -860,12 +1004,14 @@ class DescAccountSummaryResponse extends $tea.Model {
860
1004
  static names() {
861
1005
  return {
862
1006
  headers: 'headers',
1007
+ statusCode: 'statusCode',
863
1008
  body: 'body',
864
1009
  };
865
1010
  }
866
1011
  static types() {
867
1012
  return {
868
1013
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1014
+ statusCode: 'number',
869
1015
  body: DescAccountSummaryResponseBody,
870
1016
  };
871
1017
  }
@@ -954,91 +1100,141 @@ class DescDomainResponse extends $tea.Model {
954
1100
  static names() {
955
1101
  return {
956
1102
  headers: 'headers',
1103
+ statusCode: 'statusCode',
957
1104
  body: 'body',
958
1105
  };
959
1106
  }
960
1107
  static types() {
961
1108
  return {
962
1109
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1110
+ statusCode: 'number',
963
1111
  body: DescDomainResponseBody,
964
1112
  };
965
1113
  }
966
1114
  }
967
1115
  exports.DescDomainResponse = DescDomainResponse;
968
- class GetRegionListRequest extends $tea.Model {
1116
+ class GetIpProtectionRequest extends $tea.Model {
969
1117
  constructor(map) {
970
1118
  super(map);
971
1119
  }
972
1120
  static names() {
973
1121
  return {
974
- offset: 'Offset',
975
- offsetCreateTime: 'OffsetCreateTime',
976
- offsetCreateTimeDesc: 'OffsetCreateTimeDesc',
977
1122
  ownerId: 'OwnerId',
978
- pageNumber: 'PageNumber',
979
- pageSize: 'PageSize',
980
1123
  resourceOwnerAccount: 'ResourceOwnerAccount',
981
1124
  resourceOwnerId: 'ResourceOwnerId',
982
- total: 'Total',
983
1125
  };
984
1126
  }
985
1127
  static types() {
986
1128
  return {
987
- offset: 'string',
988
- offsetCreateTime: 'string',
989
- offsetCreateTimeDesc: 'string',
990
1129
  ownerId: 'number',
991
- pageNumber: 'string',
992
- pageSize: 'string',
993
1130
  resourceOwnerAccount: 'string',
994
1131
  resourceOwnerId: 'number',
995
- total: 'string',
996
1132
  };
997
1133
  }
998
1134
  }
999
- exports.GetRegionListRequest = GetRegionListRequest;
1000
- class GetRegionListResponseBody extends $tea.Model {
1135
+ exports.GetIpProtectionRequest = GetIpProtectionRequest;
1136
+ class GetIpProtectionResponseBody extends $tea.Model {
1001
1137
  constructor(map) {
1002
1138
  super(map);
1003
1139
  }
1004
1140
  static names() {
1005
1141
  return {
1006
- pageNo: 'PageNo',
1142
+ ipProtection: 'IpProtection',
1143
+ requestId: 'RequestId',
1144
+ };
1145
+ }
1146
+ static types() {
1147
+ return {
1148
+ ipProtection: 'string',
1149
+ requestId: 'string',
1150
+ };
1151
+ }
1152
+ }
1153
+ exports.GetIpProtectionResponseBody = GetIpProtectionResponseBody;
1154
+ class GetIpProtectionResponse extends $tea.Model {
1155
+ constructor(map) {
1156
+ super(map);
1157
+ }
1158
+ static names() {
1159
+ return {
1160
+ headers: 'headers',
1161
+ statusCode: 'statusCode',
1162
+ body: 'body',
1163
+ };
1164
+ }
1165
+ static types() {
1166
+ return {
1167
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1168
+ statusCode: 'number',
1169
+ body: GetIpProtectionResponseBody,
1170
+ };
1171
+ }
1172
+ }
1173
+ exports.GetIpProtectionResponse = GetIpProtectionResponse;
1174
+ class GetIpfilterListRequest extends $tea.Model {
1175
+ constructor(map) {
1176
+ super(map);
1177
+ }
1178
+ static names() {
1179
+ return {
1180
+ ownerId: 'OwnerId',
1181
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1182
+ resourceOwnerId: 'ResourceOwnerId',
1183
+ };
1184
+ }
1185
+ static types() {
1186
+ return {
1187
+ ownerId: 'number',
1188
+ resourceOwnerAccount: 'string',
1189
+ resourceOwnerId: 'number',
1190
+ };
1191
+ }
1192
+ }
1193
+ exports.GetIpfilterListRequest = GetIpfilterListRequest;
1194
+ class GetIpfilterListResponseBody extends $tea.Model {
1195
+ constructor(map) {
1196
+ super(map);
1197
+ }
1198
+ static names() {
1199
+ return {
1200
+ pageNumber: 'PageNumber',
1007
1201
  pageSize: 'PageSize',
1008
1202
  requestId: 'RequestId',
1009
- total: 'Total',
1203
+ totalCount: 'TotalCount',
1010
1204
  data: 'data',
1011
1205
  };
1012
1206
  }
1013
1207
  static types() {
1014
1208
  return {
1015
- pageNo: 'number',
1209
+ pageNumber: 'number',
1016
1210
  pageSize: 'number',
1017
1211
  requestId: 'string',
1018
- total: 'number',
1019
- data: GetRegionListResponseBodyData,
1212
+ totalCount: 'number',
1213
+ data: GetIpfilterListResponseBodyData,
1020
1214
  };
1021
1215
  }
1022
1216
  }
1023
- exports.GetRegionListResponseBody = GetRegionListResponseBody;
1024
- class GetRegionListResponse extends $tea.Model {
1217
+ exports.GetIpfilterListResponseBody = GetIpfilterListResponseBody;
1218
+ class GetIpfilterListResponse extends $tea.Model {
1025
1219
  constructor(map) {
1026
1220
  super(map);
1027
1221
  }
1028
1222
  static names() {
1029
1223
  return {
1030
1224
  headers: 'headers',
1225
+ statusCode: 'statusCode',
1031
1226
  body: 'body',
1032
1227
  };
1033
1228
  }
1034
1229
  static types() {
1035
1230
  return {
1036
1231
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1037
- body: GetRegionListResponseBody,
1232
+ statusCode: 'number',
1233
+ body: GetIpfilterListResponseBody,
1038
1234
  };
1039
1235
  }
1040
1236
  }
1041
- exports.GetRegionListResponse = GetRegionListResponse;
1237
+ exports.GetIpfilterListResponse = GetIpfilterListResponse;
1042
1238
  class GetTrackListRequest extends $tea.Model {
1043
1239
  constructor(map) {
1044
1240
  super(map);
@@ -1110,12 +1306,14 @@ class GetTrackListResponse extends $tea.Model {
1110
1306
  static names() {
1111
1307
  return {
1112
1308
  headers: 'headers',
1309
+ statusCode: 'statusCode',
1113
1310
  body: 'body',
1114
1311
  };
1115
1312
  }
1116
1313
  static types() {
1117
1314
  return {
1118
1315
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1316
+ statusCode: 'number',
1119
1317
  body: GetTrackListResponseBody,
1120
1318
  };
1121
1319
  }
@@ -1196,12 +1394,14 @@ class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
1196
1394
  static names() {
1197
1395
  return {
1198
1396
  headers: 'headers',
1397
+ statusCode: 'statusCode',
1199
1398
  body: 'body',
1200
1399
  };
1201
1400
  }
1202
1401
  static types() {
1203
1402
  return {
1204
1403
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1404
+ statusCode: 'number',
1205
1405
  body: GetTrackListByMailFromAndTagNameResponseBody,
1206
1406
  };
1207
1407
  }
@@ -1256,12 +1456,14 @@ class ModifyMailAddressResponse extends $tea.Model {
1256
1456
  static names() {
1257
1457
  return {
1258
1458
  headers: 'headers',
1459
+ statusCode: 'statusCode',
1259
1460
  body: 'body',
1260
1461
  };
1261
1462
  }
1262
1463
  static types() {
1263
1464
  return {
1264
1465
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1466
+ statusCode: 'number',
1265
1467
  body: ModifyMailAddressResponseBody,
1266
1468
  };
1267
1469
  }
@@ -1316,12 +1518,14 @@ class ModifyPWByDomainResponse extends $tea.Model {
1316
1518
  static names() {
1317
1519
  return {
1318
1520
  headers: 'headers',
1521
+ statusCode: 'statusCode',
1319
1522
  body: 'body',
1320
1523
  };
1321
1524
  }
1322
1525
  static types() {
1323
1526
  return {
1324
1527
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1528
+ statusCode: 'number',
1325
1529
  body: ModifyPWByDomainResponseBody,
1326
1530
  };
1327
1531
  }
@@ -1374,12 +1578,14 @@ class ModifyTagResponse extends $tea.Model {
1374
1578
  static names() {
1375
1579
  return {
1376
1580
  headers: 'headers',
1581
+ statusCode: 'statusCode',
1377
1582
  body: 'body',
1378
1583
  };
1379
1584
  }
1380
1585
  static types() {
1381
1586
  return {
1382
1587
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1588
+ statusCode: 'number',
1383
1589
  body: ModifyTagResponseBody,
1384
1590
  };
1385
1591
  }
@@ -1444,12 +1650,14 @@ class QueryDomainByParamResponse extends $tea.Model {
1444
1650
  static names() {
1445
1651
  return {
1446
1652
  headers: 'headers',
1653
+ statusCode: 'statusCode',
1447
1654
  body: 'body',
1448
1655
  };
1449
1656
  }
1450
1657
  static types() {
1451
1658
  return {
1452
1659
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1660
+ statusCode: 'number',
1453
1661
  body: QueryDomainByParamResponseBody,
1454
1662
  };
1455
1663
  }
@@ -1514,12 +1722,14 @@ class QueryInvalidAddressResponse extends $tea.Model {
1514
1722
  static names() {
1515
1723
  return {
1516
1724
  headers: 'headers',
1725
+ statusCode: 'statusCode',
1517
1726
  body: 'body',
1518
1727
  };
1519
1728
  }
1520
1729
  static types() {
1521
1730
  return {
1522
1731
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1732
+ statusCode: 'number',
1523
1733
  body: QueryInvalidAddressResponseBody,
1524
1734
  };
1525
1735
  }
@@ -1584,12 +1794,14 @@ class QueryMailAddressByParamResponse extends $tea.Model {
1584
1794
  static names() {
1585
1795
  return {
1586
1796
  headers: 'headers',
1797
+ statusCode: 'statusCode',
1587
1798
  body: 'body',
1588
1799
  };
1589
1800
  }
1590
1801
  static types() {
1591
1802
  return {
1592
1803
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1804
+ statusCode: 'number',
1593
1805
  body: QueryMailAddressByParamResponseBody,
1594
1806
  };
1595
1807
  }
@@ -1654,12 +1866,14 @@ class QueryReceiverByParamResponse extends $tea.Model {
1654
1866
  static names() {
1655
1867
  return {
1656
1868
  headers: 'headers',
1869
+ statusCode: 'statusCode',
1657
1870
  body: 'body',
1658
1871
  };
1659
1872
  }
1660
1873
  static types() {
1661
1874
  return {
1662
1875
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1876
+ statusCode: 'number',
1663
1877
  body: QueryReceiverByParamResponseBody,
1664
1878
  };
1665
1879
  }
@@ -1724,12 +1938,14 @@ class QueryReceiverDetailResponse extends $tea.Model {
1724
1938
  static names() {
1725
1939
  return {
1726
1940
  headers: 'headers',
1941
+ statusCode: 'statusCode',
1727
1942
  body: 'body',
1728
1943
  };
1729
1944
  }
1730
1945
  static types() {
1731
1946
  return {
1732
1947
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1948
+ statusCode: 'number',
1733
1949
  body: QueryReceiverDetailResponseBody,
1734
1950
  };
1735
1951
  }
@@ -1792,12 +2008,14 @@ class QueryTagByParamResponse extends $tea.Model {
1792
2008
  static names() {
1793
2009
  return {
1794
2010
  headers: 'headers',
2011
+ statusCode: 'statusCode',
1795
2012
  body: 'body',
1796
2013
  };
1797
2014
  }
1798
2015
  static types() {
1799
2016
  return {
1800
2017
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2018
+ statusCode: 'number',
1801
2019
  body: QueryTagByParamResponseBody,
1802
2020
  };
1803
2021
  }
@@ -1862,12 +2080,14 @@ class QueryTaskByParamResponse extends $tea.Model {
1862
2080
  static names() {
1863
2081
  return {
1864
2082
  headers: 'headers',
2083
+ statusCode: 'statusCode',
1865
2084
  body: 'body',
1866
2085
  };
1867
2086
  }
1868
2087
  static types() {
1869
2088
  return {
1870
2089
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2090
+ statusCode: 'number',
1871
2091
  body: QueryTaskByParamResponseBody,
1872
2092
  };
1873
2093
  }
@@ -1926,12 +2146,14 @@ class SaveReceiverDetailResponse extends $tea.Model {
1926
2146
  static names() {
1927
2147
  return {
1928
2148
  headers: 'headers',
2149
+ statusCode: 'statusCode',
1929
2150
  body: 'body',
1930
2151
  };
1931
2152
  }
1932
2153
  static types() {
1933
2154
  return {
1934
2155
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2156
+ statusCode: 'number',
1935
2157
  body: SaveReceiverDetailResponseBody,
1936
2158
  };
1937
2159
  }
@@ -1996,12 +2218,14 @@ class SendTestByTemplateResponse extends $tea.Model {
1996
2218
  static names() {
1997
2219
  return {
1998
2220
  headers: 'headers',
2221
+ statusCode: 'statusCode',
1999
2222
  body: 'body',
2000
2223
  };
2001
2224
  }
2002
2225
  static types() {
2003
2226
  return {
2004
2227
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2228
+ statusCode: 'number',
2005
2229
  body: SendTestByTemplateResponseBody,
2006
2230
  };
2007
2231
  }
@@ -2062,12 +2286,14 @@ class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
2062
2286
  static names() {
2063
2287
  return {
2064
2288
  headers: 'headers',
2289
+ statusCode: 'statusCode',
2065
2290
  body: 'body',
2066
2291
  };
2067
2292
  }
2068
2293
  static types() {
2069
2294
  return {
2070
2295
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2296
+ statusCode: 'number',
2071
2297
  body: SenderStatisticsByTagNameAndBatchIDResponseBody,
2072
2298
  };
2073
2299
  }
@@ -2122,7 +2348,7 @@ class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
2122
2348
  }
2123
2349
  static types() {
2124
2350
  return {
2125
- nextStart: 'number',
2351
+ nextStart: 'string',
2126
2352
  requestId: 'string',
2127
2353
  data: SenderStatisticsDetailByParamResponseBodyData,
2128
2354
  };
@@ -2136,12 +2362,14 @@ class SenderStatisticsDetailByParamResponse extends $tea.Model {
2136
2362
  static names() {
2137
2363
  return {
2138
2364
  headers: 'headers',
2365
+ statusCode: 'statusCode',
2139
2366
  body: 'body',
2140
2367
  };
2141
2368
  }
2142
2369
  static types() {
2143
2370
  return {
2144
2371
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2372
+ statusCode: 'number',
2145
2373
  body: SenderStatisticsDetailByParamResponseBody,
2146
2374
  };
2147
2375
  }
@@ -2216,17 +2444,77 @@ class SingleSendMailResponse extends $tea.Model {
2216
2444
  static names() {
2217
2445
  return {
2218
2446
  headers: 'headers',
2447
+ statusCode: 'statusCode',
2219
2448
  body: 'body',
2220
2449
  };
2221
2450
  }
2222
2451
  static types() {
2223
2452
  return {
2224
2453
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2454
+ statusCode: 'number',
2225
2455
  body: SingleSendMailResponseBody,
2226
2456
  };
2227
2457
  }
2228
2458
  }
2229
2459
  exports.SingleSendMailResponse = SingleSendMailResponse;
2460
+ class UpdateIpProtectionRequest extends $tea.Model {
2461
+ constructor(map) {
2462
+ super(map);
2463
+ }
2464
+ static names() {
2465
+ return {
2466
+ ipProtection: 'IpProtection',
2467
+ ownerId: 'OwnerId',
2468
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2469
+ resourceOwnerId: 'ResourceOwnerId',
2470
+ };
2471
+ }
2472
+ static types() {
2473
+ return {
2474
+ ipProtection: 'string',
2475
+ ownerId: 'number',
2476
+ resourceOwnerAccount: 'string',
2477
+ resourceOwnerId: 'number',
2478
+ };
2479
+ }
2480
+ }
2481
+ exports.UpdateIpProtectionRequest = UpdateIpProtectionRequest;
2482
+ class UpdateIpProtectionResponseBody extends $tea.Model {
2483
+ constructor(map) {
2484
+ super(map);
2485
+ }
2486
+ static names() {
2487
+ return {
2488
+ requestId: 'RequestId',
2489
+ };
2490
+ }
2491
+ static types() {
2492
+ return {
2493
+ requestId: 'string',
2494
+ };
2495
+ }
2496
+ }
2497
+ exports.UpdateIpProtectionResponseBody = UpdateIpProtectionResponseBody;
2498
+ class UpdateIpProtectionResponse extends $tea.Model {
2499
+ constructor(map) {
2500
+ super(map);
2501
+ }
2502
+ static names() {
2503
+ return {
2504
+ headers: 'headers',
2505
+ statusCode: 'statusCode',
2506
+ body: 'body',
2507
+ };
2508
+ }
2509
+ static types() {
2510
+ return {
2511
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2512
+ statusCode: 'number',
2513
+ body: UpdateIpProtectionResponseBody,
2514
+ };
2515
+ }
2516
+ }
2517
+ exports.UpdateIpProtectionResponse = UpdateIpProtectionResponse;
2230
2518
  class UpdateMailAddressMsgCallBackUrlRequest extends $tea.Model {
2231
2519
  constructor(map) {
2232
2520
  super(map);
@@ -2274,51 +2562,55 @@ class UpdateMailAddressMsgCallBackUrlResponse extends $tea.Model {
2274
2562
  static names() {
2275
2563
  return {
2276
2564
  headers: 'headers',
2565
+ statusCode: 'statusCode',
2277
2566
  body: 'body',
2278
2567
  };
2279
2568
  }
2280
2569
  static types() {
2281
2570
  return {
2282
2571
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2572
+ statusCode: 'number',
2283
2573
  body: UpdateMailAddressMsgCallBackUrlResponseBody,
2284
2574
  };
2285
2575
  }
2286
2576
  }
2287
2577
  exports.UpdateMailAddressMsgCallBackUrlResponse = UpdateMailAddressMsgCallBackUrlResponse;
2288
- class GetRegionListResponseBodyDataRegionList extends $tea.Model {
2578
+ class GetIpfilterListResponseBodyDataIpfilters extends $tea.Model {
2289
2579
  constructor(map) {
2290
2580
  super(map);
2291
2581
  }
2292
2582
  static names() {
2293
2583
  return {
2294
- region: 'Region',
2295
- regionDesc: 'RegionDesc',
2584
+ createTime: 'CreateTime',
2585
+ id: 'Id',
2586
+ ipAddress: 'IpAddress',
2296
2587
  };
2297
2588
  }
2298
2589
  static types() {
2299
2590
  return {
2300
- region: 'string',
2301
- regionDesc: 'string',
2591
+ createTime: 'string',
2592
+ id: 'string',
2593
+ ipAddress: 'string',
2302
2594
  };
2303
2595
  }
2304
2596
  }
2305
- exports.GetRegionListResponseBodyDataRegionList = GetRegionListResponseBodyDataRegionList;
2306
- class GetRegionListResponseBodyData extends $tea.Model {
2597
+ exports.GetIpfilterListResponseBodyDataIpfilters = GetIpfilterListResponseBodyDataIpfilters;
2598
+ class GetIpfilterListResponseBodyData extends $tea.Model {
2307
2599
  constructor(map) {
2308
2600
  super(map);
2309
2601
  }
2310
2602
  static names() {
2311
2603
  return {
2312
- regionList: 'regionList',
2604
+ ipfilters: 'ipfilters',
2313
2605
  };
2314
2606
  }
2315
2607
  static types() {
2316
2608
  return {
2317
- regionList: { 'type': 'array', 'itemType': GetRegionListResponseBodyDataRegionList },
2609
+ ipfilters: { 'type': 'array', 'itemType': GetIpfilterListResponseBodyDataIpfilters },
2318
2610
  };
2319
2611
  }
2320
2612
  }
2321
- exports.GetRegionListResponseBodyData = GetRegionListResponseBodyData;
2613
+ exports.GetIpfilterListResponseBodyData = GetIpfilterListResponseBodyData;
2322
2614
  class GetTrackListResponseBodyDataStat extends $tea.Model {
2323
2615
  constructor(map) {
2324
2616
  super(map);
@@ -2861,6 +3153,41 @@ class Client extends openapi_client_1.default {
2861
3153
  }
2862
3154
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
2863
3155
  }
3156
+ async addIpfilterWithOptions(request, runtime) {
3157
+ tea_util_1.default.validateModel(request);
3158
+ let query = {};
3159
+ if (!tea_util_1.default.isUnset(request.ipAddress)) {
3160
+ query["IpAddress"] = request.ipAddress;
3161
+ }
3162
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
3163
+ query["OwnerId"] = request.ownerId;
3164
+ }
3165
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
3166
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3167
+ }
3168
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
3169
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3170
+ }
3171
+ let req = new $OpenApi.OpenApiRequest({
3172
+ query: openapi_util_1.default.query(query),
3173
+ });
3174
+ let params = new $OpenApi.Params({
3175
+ action: "AddIpfilter",
3176
+ version: "2015-11-23",
3177
+ protocol: "HTTPS",
3178
+ pathname: "/",
3179
+ method: "POST",
3180
+ authType: "AK",
3181
+ style: "RPC",
3182
+ reqBodyType: "formData",
3183
+ bodyType: "json",
3184
+ });
3185
+ return $tea.cast(await this.callApi(params, req, runtime), new AddIpfilterResponse({}));
3186
+ }
3187
+ async addIpfilter(request) {
3188
+ let runtime = new $Util.RuntimeOptions({});
3189
+ return await this.addIpfilterWithOptions(request, runtime);
3190
+ }
2864
3191
  async approveReplyMailAddressWithOptions(request, runtime) {
2865
3192
  tea_util_1.default.validateModel(request);
2866
3193
  let query = {};
@@ -3215,6 +3542,44 @@ class Client extends openapi_client_1.default {
3215
3542
  let runtime = new $Util.RuntimeOptions({});
3216
3543
  return await this.deleteDomainWithOptions(request, runtime);
3217
3544
  }
3545
+ async deleteIpfilterByEdmIdWithOptions(request, runtime) {
3546
+ tea_util_1.default.validateModel(request);
3547
+ let query = {};
3548
+ if (!tea_util_1.default.isUnset(request.fromType)) {
3549
+ query["FromType"] = request.fromType;
3550
+ }
3551
+ if (!tea_util_1.default.isUnset(request.id)) {
3552
+ query["Id"] = request.id;
3553
+ }
3554
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
3555
+ query["OwnerId"] = request.ownerId;
3556
+ }
3557
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
3558
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3559
+ }
3560
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
3561
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3562
+ }
3563
+ let req = new $OpenApi.OpenApiRequest({
3564
+ query: openapi_util_1.default.query(query),
3565
+ });
3566
+ let params = new $OpenApi.Params({
3567
+ action: "DeleteIpfilterByEdmId",
3568
+ version: "2015-11-23",
3569
+ protocol: "HTTPS",
3570
+ pathname: "/",
3571
+ method: "POST",
3572
+ authType: "AK",
3573
+ style: "RPC",
3574
+ reqBodyType: "formData",
3575
+ bodyType: "json",
3576
+ });
3577
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpfilterByEdmIdResponse({}));
3578
+ }
3579
+ async deleteIpfilterByEdmId(request) {
3580
+ let runtime = new $Util.RuntimeOptions({});
3581
+ return await this.deleteIpfilterByEdmIdWithOptions(request, runtime);
3582
+ }
3218
3583
  async deleteMailAddressWithOptions(request, runtime) {
3219
3584
  tea_util_1.default.validateModel(request);
3220
3585
  let query = {};
@@ -3425,41 +3790,55 @@ class Client extends openapi_client_1.default {
3425
3790
  let runtime = new $Util.RuntimeOptions({});
3426
3791
  return await this.descDomainWithOptions(request, runtime);
3427
3792
  }
3428
- async getRegionListWithOptions(request, runtime) {
3793
+ async getIpProtectionWithOptions(request, runtime) {
3429
3794
  tea_util_1.default.validateModel(request);
3430
3795
  let query = {};
3431
- if (!tea_util_1.default.isUnset(request.offset)) {
3432
- query["Offset"] = request.offset;
3796
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
3797
+ query["OwnerId"] = request.ownerId;
3433
3798
  }
3434
- if (!tea_util_1.default.isUnset(request.offsetCreateTime)) {
3435
- query["OffsetCreateTime"] = request.offsetCreateTime;
3799
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
3800
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3436
3801
  }
3437
- if (!tea_util_1.default.isUnset(request.offsetCreateTimeDesc)) {
3438
- query["OffsetCreateTimeDesc"] = request.offsetCreateTimeDesc;
3802
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
3803
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3439
3804
  }
3805
+ let req = new $OpenApi.OpenApiRequest({
3806
+ query: openapi_util_1.default.query(query),
3807
+ });
3808
+ let params = new $OpenApi.Params({
3809
+ action: "GetIpProtection",
3810
+ version: "2015-11-23",
3811
+ protocol: "HTTPS",
3812
+ pathname: "/",
3813
+ method: "POST",
3814
+ authType: "AK",
3815
+ style: "RPC",
3816
+ reqBodyType: "formData",
3817
+ bodyType: "json",
3818
+ });
3819
+ return $tea.cast(await this.callApi(params, req, runtime), new GetIpProtectionResponse({}));
3820
+ }
3821
+ async getIpProtection(request) {
3822
+ let runtime = new $Util.RuntimeOptions({});
3823
+ return await this.getIpProtectionWithOptions(request, runtime);
3824
+ }
3825
+ async getIpfilterListWithOptions(request, runtime) {
3826
+ tea_util_1.default.validateModel(request);
3827
+ let query = {};
3440
3828
  if (!tea_util_1.default.isUnset(request.ownerId)) {
3441
3829
  query["OwnerId"] = request.ownerId;
3442
3830
  }
3443
- if (!tea_util_1.default.isUnset(request.pageNumber)) {
3444
- query["PageNumber"] = request.pageNumber;
3445
- }
3446
- if (!tea_util_1.default.isUnset(request.pageSize)) {
3447
- query["PageSize"] = request.pageSize;
3448
- }
3449
3831
  if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
3450
3832
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3451
3833
  }
3452
3834
  if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
3453
3835
  query["ResourceOwnerId"] = request.resourceOwnerId;
3454
3836
  }
3455
- if (!tea_util_1.default.isUnset(request.total)) {
3456
- query["Total"] = request.total;
3457
- }
3458
3837
  let req = new $OpenApi.OpenApiRequest({
3459
3838
  query: openapi_util_1.default.query(query),
3460
3839
  });
3461
3840
  let params = new $OpenApi.Params({
3462
- action: "GetRegionList",
3841
+ action: "GetIpfilterList",
3463
3842
  version: "2015-11-23",
3464
3843
  protocol: "HTTPS",
3465
3844
  pathname: "/",
@@ -3469,11 +3848,11 @@ class Client extends openapi_client_1.default {
3469
3848
  reqBodyType: "formData",
3470
3849
  bodyType: "json",
3471
3850
  });
3472
- return $tea.cast(await this.callApi(params, req, runtime), new GetRegionListResponse({}));
3851
+ return $tea.cast(await this.callApi(params, req, runtime), new GetIpfilterListResponse({}));
3473
3852
  }
3474
- async getRegionList(request) {
3853
+ async getIpfilterList(request) {
3475
3854
  let runtime = new $Util.RuntimeOptions({});
3476
- return await this.getRegionListWithOptions(request, runtime);
3855
+ return await this.getIpfilterListWithOptions(request, runtime);
3477
3856
  }
3478
3857
  async getTrackListWithOptions(request, runtime) {
3479
3858
  tea_util_1.default.validateModel(request);
@@ -4274,6 +4653,41 @@ class Client extends openapi_client_1.default {
4274
4653
  let runtime = new $Util.RuntimeOptions({});
4275
4654
  return await this.singleSendMailWithOptions(request, runtime);
4276
4655
  }
4656
+ async updateIpProtectionWithOptions(request, runtime) {
4657
+ tea_util_1.default.validateModel(request);
4658
+ let query = {};
4659
+ if (!tea_util_1.default.isUnset(request.ipProtection)) {
4660
+ query["IpProtection"] = request.ipProtection;
4661
+ }
4662
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
4663
+ query["OwnerId"] = request.ownerId;
4664
+ }
4665
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
4666
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4667
+ }
4668
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
4669
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4670
+ }
4671
+ let req = new $OpenApi.OpenApiRequest({
4672
+ query: openapi_util_1.default.query(query),
4673
+ });
4674
+ let params = new $OpenApi.Params({
4675
+ action: "UpdateIpProtection",
4676
+ version: "2015-11-23",
4677
+ protocol: "HTTPS",
4678
+ pathname: "/",
4679
+ method: "POST",
4680
+ authType: "AK",
4681
+ style: "RPC",
4682
+ reqBodyType: "formData",
4683
+ bodyType: "json",
4684
+ });
4685
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateIpProtectionResponse({}));
4686
+ }
4687
+ async updateIpProtection(request) {
4688
+ let runtime = new $Util.RuntimeOptions({});
4689
+ return await this.updateIpProtectionWithOptions(request, runtime);
4690
+ }
4277
4691
  async updateMailAddressMsgCallBackUrlWithOptions(request, runtime) {
4278
4692
  tea_util_1.default.validateModel(request);
4279
4693
  let query = {};