@alicloud/dm20151123 1.0.10 → 1.1.0

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/src/client.ts CHANGED
@@ -59,9 +59,9 @@ export class AddIpfilterResponseBody extends $tea.Model {
59
59
  }
60
60
 
61
61
  export class AddIpfilterResponse extends $tea.Model {
62
- headers: { [key: string]: string };
63
- statusCode: number;
64
- body: AddIpfilterResponseBody;
62
+ headers?: { [key: string]: string };
63
+ statusCode?: number;
64
+ body?: AddIpfilterResponseBody;
65
65
  static names(): { [key: string]: string } {
66
66
  return {
67
67
  headers: 'headers',
@@ -131,9 +131,9 @@ export class ApproveReplyMailAddressResponseBody extends $tea.Model {
131
131
  }
132
132
 
133
133
  export class ApproveReplyMailAddressResponse extends $tea.Model {
134
- headers: { [key: string]: string };
135
- statusCode: number;
136
- body: ApproveReplyMailAddressResponseBody;
134
+ headers?: { [key: string]: string };
135
+ statusCode?: number;
136
+ body?: ApproveReplyMailAddressResponseBody;
137
137
  static names(): { [key: string]: string } {
138
138
  return {
139
139
  headers: 'headers',
@@ -167,6 +167,8 @@ export class BatchSendMailRequest extends $tea.Model {
167
167
  resourceOwnerId?: number;
168
168
  tagName?: string;
169
169
  templateName?: string;
170
+ unSubscribeFilterLevel?: string;
171
+ unSubscribeLinkType?: string;
170
172
  static names(): { [key: string]: string } {
171
173
  return {
172
174
  accountName: 'AccountName',
@@ -180,6 +182,8 @@ export class BatchSendMailRequest extends $tea.Model {
180
182
  resourceOwnerId: 'ResourceOwnerId',
181
183
  tagName: 'TagName',
182
184
  templateName: 'TemplateName',
185
+ unSubscribeFilterLevel: 'UnSubscribeFilterLevel',
186
+ unSubscribeLinkType: 'UnSubscribeLinkType',
183
187
  };
184
188
  }
185
189
 
@@ -196,6 +200,8 @@ export class BatchSendMailRequest extends $tea.Model {
196
200
  resourceOwnerId: 'number',
197
201
  tagName: 'string',
198
202
  templateName: 'string',
203
+ unSubscribeFilterLevel: 'string',
204
+ unSubscribeLinkType: 'string',
199
205
  };
200
206
  }
201
207
 
@@ -227,9 +233,9 @@ export class BatchSendMailResponseBody extends $tea.Model {
227
233
  }
228
234
 
229
235
  export class BatchSendMailResponse extends $tea.Model {
230
- headers: { [key: string]: string };
231
- statusCode: number;
232
- body: BatchSendMailResponseBody;
236
+ headers?: { [key: string]: string };
237
+ statusCode?: number;
238
+ body?: BatchSendMailResponseBody;
233
239
  static names(): { [key: string]: string } {
234
240
  return {
235
241
  headers: 'headers',
@@ -302,9 +308,9 @@ export class CheckDomainResponseBody extends $tea.Model {
302
308
  }
303
309
 
304
310
  export class CheckDomainResponse extends $tea.Model {
305
- headers: { [key: string]: string };
306
- statusCode: number;
307
- body: CheckDomainResponseBody;
311
+ headers?: { [key: string]: string };
312
+ statusCode?: number;
313
+ body?: CheckDomainResponseBody;
308
314
  static names(): { [key: string]: string } {
309
315
  return {
310
316
  headers: 'headers',
@@ -380,9 +386,9 @@ export class CheckReplyToMailAddressResponseBody extends $tea.Model {
380
386
  }
381
387
 
382
388
  export class CheckReplyToMailAddressResponse extends $tea.Model {
383
- headers: { [key: string]: string };
384
- statusCode: number;
385
- body: CheckReplyToMailAddressResponseBody;
389
+ headers?: { [key: string]: string };
390
+ statusCode?: number;
391
+ body?: CheckReplyToMailAddressResponseBody;
386
392
  static names(): { [key: string]: string } {
387
393
  return {
388
394
  headers: 'headers',
@@ -455,9 +461,9 @@ export class CreateDomainResponseBody extends $tea.Model {
455
461
  }
456
462
 
457
463
  export class CreateDomainResponse extends $tea.Model {
458
- headers: { [key: string]: string };
459
- statusCode: number;
460
- body: CreateDomainResponseBody;
464
+ headers?: { [key: string]: string };
465
+ statusCode?: number;
466
+ body?: CreateDomainResponseBody;
461
467
  static names(): { [key: string]: string } {
462
468
  return {
463
469
  headers: 'headers',
@@ -536,9 +542,9 @@ export class CreateMailAddressResponseBody extends $tea.Model {
536
542
  }
537
543
 
538
544
  export class CreateMailAddressResponse extends $tea.Model {
539
- headers: { [key: string]: string };
540
- statusCode: number;
541
- body: CreateMailAddressResponseBody;
545
+ headers?: { [key: string]: string };
546
+ statusCode?: number;
547
+ body?: CreateMailAddressResponseBody;
542
548
  static names(): { [key: string]: string } {
543
549
  return {
544
550
  headers: 'headers',
@@ -617,9 +623,9 @@ export class CreateReceiverResponseBody extends $tea.Model {
617
623
  }
618
624
 
619
625
  export class CreateReceiverResponse extends $tea.Model {
620
- headers: { [key: string]: string };
621
- statusCode: number;
622
- body: CreateReceiverResponseBody;
626
+ headers?: { [key: string]: string };
627
+ statusCode?: number;
628
+ body?: CreateReceiverResponseBody;
623
629
  static names(): { [key: string]: string } {
624
630
  return {
625
631
  headers: 'headers',
@@ -695,9 +701,9 @@ export class CreateTagResponseBody extends $tea.Model {
695
701
  }
696
702
 
697
703
  export class CreateTagResponse extends $tea.Model {
698
- headers: { [key: string]: string };
699
- statusCode: number;
700
- body: CreateTagResponseBody;
704
+ headers?: { [key: string]: string };
705
+ statusCode?: number;
706
+ body?: CreateTagResponseBody;
701
707
  static names(): { [key: string]: string } {
702
708
  return {
703
709
  headers: 'headers',
@@ -719,6 +725,81 @@ export class CreateTagResponse extends $tea.Model {
719
725
  }
720
726
  }
721
727
 
728
+ export class CreateUserSuppressionRequest extends $tea.Model {
729
+ address?: string;
730
+ ownerId?: number;
731
+ resourceOwnerAccount?: string;
732
+ resourceOwnerId?: number;
733
+ static names(): { [key: string]: string } {
734
+ return {
735
+ address: 'Address',
736
+ ownerId: 'OwnerId',
737
+ resourceOwnerAccount: 'ResourceOwnerAccount',
738
+ resourceOwnerId: 'ResourceOwnerId',
739
+ };
740
+ }
741
+
742
+ static types(): { [key: string]: any } {
743
+ return {
744
+ address: 'string',
745
+ ownerId: 'number',
746
+ resourceOwnerAccount: 'string',
747
+ resourceOwnerId: 'number',
748
+ };
749
+ }
750
+
751
+ constructor(map?: { [key: string]: any }) {
752
+ super(map);
753
+ }
754
+ }
755
+
756
+ export class CreateUserSuppressionResponseBody extends $tea.Model {
757
+ requestId?: string;
758
+ suppressionId?: string;
759
+ static names(): { [key: string]: string } {
760
+ return {
761
+ requestId: 'RequestId',
762
+ suppressionId: 'SuppressionId',
763
+ };
764
+ }
765
+
766
+ static types(): { [key: string]: any } {
767
+ return {
768
+ requestId: 'string',
769
+ suppressionId: 'string',
770
+ };
771
+ }
772
+
773
+ constructor(map?: { [key: string]: any }) {
774
+ super(map);
775
+ }
776
+ }
777
+
778
+ export class CreateUserSuppressionResponse extends $tea.Model {
779
+ headers?: { [key: string]: string };
780
+ statusCode?: number;
781
+ body?: CreateUserSuppressionResponseBody;
782
+ static names(): { [key: string]: string } {
783
+ return {
784
+ headers: 'headers',
785
+ statusCode: 'statusCode',
786
+ body: 'body',
787
+ };
788
+ }
789
+
790
+ static types(): { [key: string]: any } {
791
+ return {
792
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
793
+ statusCode: 'number',
794
+ body: CreateUserSuppressionResponseBody,
795
+ };
796
+ }
797
+
798
+ constructor(map?: { [key: string]: any }) {
799
+ super(map);
800
+ }
801
+ }
802
+
722
803
  export class DeleteDomainRequest extends $tea.Model {
723
804
  domainId?: number;
724
805
  ownerId?: number;
@@ -767,9 +848,9 @@ export class DeleteDomainResponseBody extends $tea.Model {
767
848
  }
768
849
 
769
850
  export class DeleteDomainResponse extends $tea.Model {
770
- headers: { [key: string]: string };
771
- statusCode: number;
772
- body: DeleteDomainResponseBody;
851
+ headers?: { [key: string]: string };
852
+ statusCode?: number;
853
+ body?: DeleteDomainResponseBody;
773
854
  static names(): { [key: string]: string } {
774
855
  return {
775
856
  headers: 'headers',
@@ -839,9 +920,9 @@ export class DeleteInvalidAddressResponseBody extends $tea.Model {
839
920
  }
840
921
 
841
922
  export class DeleteInvalidAddressResponse extends $tea.Model {
842
- headers: { [key: string]: string };
843
- statusCode: number;
844
- body: DeleteInvalidAddressResponseBody;
923
+ headers?: { [key: string]: string };
924
+ statusCode?: number;
925
+ body?: DeleteInvalidAddressResponseBody;
845
926
  static names(): { [key: string]: string } {
846
927
  return {
847
928
  headers: 'headers',
@@ -914,9 +995,9 @@ export class DeleteIpfilterByEdmIdResponseBody extends $tea.Model {
914
995
  }
915
996
 
916
997
  export class DeleteIpfilterByEdmIdResponse extends $tea.Model {
917
- headers: { [key: string]: string };
918
- statusCode: number;
919
- body: DeleteIpfilterByEdmIdResponseBody;
998
+ headers?: { [key: string]: string };
999
+ statusCode?: number;
1000
+ body?: DeleteIpfilterByEdmIdResponseBody;
920
1001
  static names(): { [key: string]: string } {
921
1002
  return {
922
1003
  headers: 'headers',
@@ -986,9 +1067,9 @@ export class DeleteMailAddressResponseBody extends $tea.Model {
986
1067
  }
987
1068
 
988
1069
  export class DeleteMailAddressResponse extends $tea.Model {
989
- headers: { [key: string]: string };
990
- statusCode: number;
991
- body: DeleteMailAddressResponseBody;
1070
+ headers?: { [key: string]: string };
1071
+ statusCode?: number;
1072
+ body?: DeleteMailAddressResponseBody;
992
1073
  static names(): { [key: string]: string } {
993
1074
  return {
994
1075
  headers: 'headers',
@@ -1058,9 +1139,9 @@ export class DeleteReceiverResponseBody extends $tea.Model {
1058
1139
  }
1059
1140
 
1060
1141
  export class DeleteReceiverResponse extends $tea.Model {
1061
- headers: { [key: string]: string };
1062
- statusCode: number;
1063
- body: DeleteReceiverResponseBody;
1142
+ headers?: { [key: string]: string };
1143
+ statusCode?: number;
1144
+ body?: DeleteReceiverResponseBody;
1064
1145
  static names(): { [key: string]: string } {
1065
1146
  return {
1066
1147
  headers: 'headers',
@@ -1133,9 +1214,9 @@ export class DeleteReceiverDetailResponseBody extends $tea.Model {
1133
1214
  }
1134
1215
 
1135
1216
  export class DeleteReceiverDetailResponse extends $tea.Model {
1136
- headers: { [key: string]: string };
1137
- statusCode: number;
1138
- body: DeleteReceiverDetailResponseBody;
1217
+ headers?: { [key: string]: string };
1218
+ statusCode?: number;
1219
+ body?: DeleteReceiverDetailResponseBody;
1139
1220
  static names(): { [key: string]: string } {
1140
1221
  return {
1141
1222
  headers: 'headers',
@@ -1205,9 +1286,9 @@ export class DeleteTagResponseBody extends $tea.Model {
1205
1286
  }
1206
1287
 
1207
1288
  export class DeleteTagResponse extends $tea.Model {
1208
- headers: { [key: string]: string };
1209
- statusCode: number;
1210
- body: DeleteTagResponseBody;
1289
+ headers?: { [key: string]: string };
1290
+ statusCode?: number;
1291
+ body?: DeleteTagResponseBody;
1211
1292
  static names(): { [key: string]: string } {
1212
1293
  return {
1213
1294
  headers: 'headers',
@@ -1322,9 +1403,9 @@ export class DescAccountSummaryResponseBody extends $tea.Model {
1322
1403
  }
1323
1404
 
1324
1405
  export class DescAccountSummaryResponse extends $tea.Model {
1325
- headers: { [key: string]: string };
1326
- statusCode: number;
1327
- body: DescAccountSummaryResponseBody;
1406
+ headers?: { [key: string]: string };
1407
+ statusCode?: number;
1408
+ body?: DescAccountSummaryResponseBody;
1328
1409
  static names(): { [key: string]: string } {
1329
1410
  return {
1330
1411
  headers: 'headers',
@@ -1481,9 +1562,9 @@ export class DescDomainResponseBody extends $tea.Model {
1481
1562
  }
1482
1563
 
1483
1564
  export class DescDomainResponse extends $tea.Model {
1484
- headers: { [key: string]: string };
1485
- statusCode: number;
1486
- body: DescDomainResponseBody;
1565
+ headers?: { [key: string]: string };
1566
+ statusCode?: number;
1567
+ body?: DescDomainResponseBody;
1487
1568
  static names(): { [key: string]: string } {
1488
1569
  return {
1489
1570
  headers: 'headers',
@@ -1553,9 +1634,9 @@ export class GetIpProtectionResponseBody extends $tea.Model {
1553
1634
  }
1554
1635
 
1555
1636
  export class GetIpProtectionResponse extends $tea.Model {
1556
- headers: { [key: string]: string };
1557
- statusCode: number;
1558
- body: GetIpProtectionResponseBody;
1637
+ headers?: { [key: string]: string };
1638
+ statusCode?: number;
1639
+ body?: GetIpProtectionResponseBody;
1559
1640
  static names(): { [key: string]: string } {
1560
1641
  return {
1561
1642
  headers: 'headers',
@@ -1634,9 +1715,9 @@ export class GetIpfilterListResponseBody extends $tea.Model {
1634
1715
  }
1635
1716
 
1636
1717
  export class GetIpfilterListResponse extends $tea.Model {
1637
- headers: { [key: string]: string };
1638
- statusCode: number;
1639
- body: GetIpfilterListResponseBody;
1718
+ headers?: { [key: string]: string };
1719
+ statusCode?: number;
1720
+ body?: GetIpfilterListResponseBody;
1640
1721
  static names(): { [key: string]: string } {
1641
1722
  return {
1642
1723
  headers: 'headers',
@@ -1658,6 +1739,78 @@ export class GetIpfilterListResponse extends $tea.Model {
1658
1739
  }
1659
1740
  }
1660
1741
 
1742
+ export class GetSuppressionListLevelRequest extends $tea.Model {
1743
+ ownerId?: number;
1744
+ resourceOwnerAccount?: string;
1745
+ resourceOwnerId?: number;
1746
+ static names(): { [key: string]: string } {
1747
+ return {
1748
+ ownerId: 'OwnerId',
1749
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1750
+ resourceOwnerId: 'ResourceOwnerId',
1751
+ };
1752
+ }
1753
+
1754
+ static types(): { [key: string]: any } {
1755
+ return {
1756
+ ownerId: 'number',
1757
+ resourceOwnerAccount: 'string',
1758
+ resourceOwnerId: 'number',
1759
+ };
1760
+ }
1761
+
1762
+ constructor(map?: { [key: string]: any }) {
1763
+ super(map);
1764
+ }
1765
+ }
1766
+
1767
+ export class GetSuppressionListLevelResponseBody extends $tea.Model {
1768
+ requestId?: string;
1769
+ suppressionListLevel?: string;
1770
+ static names(): { [key: string]: string } {
1771
+ return {
1772
+ requestId: 'RequestId',
1773
+ suppressionListLevel: 'SuppressionListLevel',
1774
+ };
1775
+ }
1776
+
1777
+ static types(): { [key: string]: any } {
1778
+ return {
1779
+ requestId: 'string',
1780
+ suppressionListLevel: 'string',
1781
+ };
1782
+ }
1783
+
1784
+ constructor(map?: { [key: string]: any }) {
1785
+ super(map);
1786
+ }
1787
+ }
1788
+
1789
+ export class GetSuppressionListLevelResponse extends $tea.Model {
1790
+ headers?: { [key: string]: string };
1791
+ statusCode?: number;
1792
+ body?: GetSuppressionListLevelResponseBody;
1793
+ static names(): { [key: string]: string } {
1794
+ return {
1795
+ headers: 'headers',
1796
+ statusCode: 'statusCode',
1797
+ body: 'body',
1798
+ };
1799
+ }
1800
+
1801
+ static types(): { [key: string]: any } {
1802
+ return {
1803
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1804
+ statusCode: 'number',
1805
+ body: GetSuppressionListLevelResponseBody,
1806
+ };
1807
+ }
1808
+
1809
+ constructor(map?: { [key: string]: any }) {
1810
+ super(map);
1811
+ }
1812
+ }
1813
+
1661
1814
  export class GetTrackListRequest extends $tea.Model {
1662
1815
  endTime?: string;
1663
1816
  offset?: string;
@@ -1745,9 +1898,9 @@ export class GetTrackListResponseBody extends $tea.Model {
1745
1898
  }
1746
1899
 
1747
1900
  export class GetTrackListResponse extends $tea.Model {
1748
- headers: { [key: string]: string };
1749
- statusCode: number;
1750
- body: GetTrackListResponseBody;
1901
+ headers?: { [key: string]: string };
1902
+ statusCode?: number;
1903
+ body?: GetTrackListResponseBody;
1751
1904
  static names(): { [key: string]: string } {
1752
1905
  return {
1753
1906
  headers: 'headers',
@@ -1862,9 +2015,9 @@ export class GetTrackListByMailFromAndTagNameResponseBody extends $tea.Model {
1862
2015
  }
1863
2016
 
1864
2017
  export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
1865
- headers: { [key: string]: string };
1866
- statusCode: number;
1867
- body: GetTrackListByMailFromAndTagNameResponseBody;
2018
+ headers?: { [key: string]: string };
2019
+ statusCode?: number;
2020
+ body?: GetTrackListByMailFromAndTagNameResponseBody;
1868
2021
  static names(): { [key: string]: string } {
1869
2022
  return {
1870
2023
  headers: 'headers',
@@ -1886,6 +2039,108 @@ export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
1886
2039
  }
1887
2040
  }
1888
2041
 
2042
+ export class ListUserSuppressionRequest extends $tea.Model {
2043
+ address?: string;
2044
+ endBounceTime?: number;
2045
+ endCreateTime?: number;
2046
+ ownerId?: number;
2047
+ pageNo?: number;
2048
+ pageSize?: number;
2049
+ resourceOwnerAccount?: string;
2050
+ resourceOwnerId?: number;
2051
+ startBounceTime?: number;
2052
+ startCreateTime?: number;
2053
+ static names(): { [key: string]: string } {
2054
+ return {
2055
+ address: 'Address',
2056
+ endBounceTime: 'EndBounceTime',
2057
+ endCreateTime: 'EndCreateTime',
2058
+ ownerId: 'OwnerId',
2059
+ pageNo: 'PageNo',
2060
+ pageSize: 'PageSize',
2061
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2062
+ resourceOwnerId: 'ResourceOwnerId',
2063
+ startBounceTime: 'StartBounceTime',
2064
+ startCreateTime: 'StartCreateTime',
2065
+ };
2066
+ }
2067
+
2068
+ static types(): { [key: string]: any } {
2069
+ return {
2070
+ address: 'string',
2071
+ endBounceTime: 'number',
2072
+ endCreateTime: 'number',
2073
+ ownerId: 'number',
2074
+ pageNo: 'number',
2075
+ pageSize: 'number',
2076
+ resourceOwnerAccount: 'string',
2077
+ resourceOwnerId: 'number',
2078
+ startBounceTime: 'number',
2079
+ startCreateTime: 'number',
2080
+ };
2081
+ }
2082
+
2083
+ constructor(map?: { [key: string]: any }) {
2084
+ super(map);
2085
+ }
2086
+ }
2087
+
2088
+ export class ListUserSuppressionResponseBody extends $tea.Model {
2089
+ data?: ListUserSuppressionResponseBodyData;
2090
+ pageNumber?: number;
2091
+ pageSize?: number;
2092
+ requestId?: string;
2093
+ totalCount?: number;
2094
+ static names(): { [key: string]: string } {
2095
+ return {
2096
+ data: 'Data',
2097
+ pageNumber: 'PageNumber',
2098
+ pageSize: 'PageSize',
2099
+ requestId: 'RequestId',
2100
+ totalCount: 'TotalCount',
2101
+ };
2102
+ }
2103
+
2104
+ static types(): { [key: string]: any } {
2105
+ return {
2106
+ data: ListUserSuppressionResponseBodyData,
2107
+ pageNumber: 'number',
2108
+ pageSize: 'number',
2109
+ requestId: 'string',
2110
+ totalCount: 'number',
2111
+ };
2112
+ }
2113
+
2114
+ constructor(map?: { [key: string]: any }) {
2115
+ super(map);
2116
+ }
2117
+ }
2118
+
2119
+ export class ListUserSuppressionResponse extends $tea.Model {
2120
+ headers?: { [key: string]: string };
2121
+ statusCode?: number;
2122
+ body?: ListUserSuppressionResponseBody;
2123
+ static names(): { [key: string]: string } {
2124
+ return {
2125
+ headers: 'headers',
2126
+ statusCode: 'statusCode',
2127
+ body: 'body',
2128
+ };
2129
+ }
2130
+
2131
+ static types(): { [key: string]: any } {
2132
+ return {
2133
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2134
+ statusCode: 'number',
2135
+ body: ListUserSuppressionResponseBody,
2136
+ };
2137
+ }
2138
+
2139
+ constructor(map?: { [key: string]: any }) {
2140
+ super(map);
2141
+ }
2142
+ }
2143
+
1889
2144
  export class ModifyMailAddressRequest extends $tea.Model {
1890
2145
  mailAddressId?: number;
1891
2146
  ownerId?: number;
@@ -1940,9 +2195,9 @@ export class ModifyMailAddressResponseBody extends $tea.Model {
1940
2195
  }
1941
2196
 
1942
2197
  export class ModifyMailAddressResponse extends $tea.Model {
1943
- headers: { [key: string]: string };
1944
- statusCode: number;
1945
- body: ModifyMailAddressResponseBody;
2198
+ headers?: { [key: string]: string };
2199
+ statusCode?: number;
2200
+ body?: ModifyMailAddressResponseBody;
1946
2201
  static names(): { [key: string]: string } {
1947
2202
  return {
1948
2203
  headers: 'headers',
@@ -2024,9 +2279,9 @@ export class ModifyPWByDomainResponseBody extends $tea.Model {
2024
2279
  }
2025
2280
 
2026
2281
  export class ModifyPWByDomainResponse extends $tea.Model {
2027
- headers: { [key: string]: string };
2028
- statusCode: number;
2029
- body: ModifyPWByDomainResponseBody;
2282
+ headers?: { [key: string]: string };
2283
+ statusCode?: number;
2284
+ body?: ModifyPWByDomainResponseBody;
2030
2285
  static names(): { [key: string]: string } {
2031
2286
  return {
2032
2287
  headers: 'headers',
@@ -2102,9 +2357,9 @@ export class ModifyTagResponseBody extends $tea.Model {
2102
2357
  }
2103
2358
 
2104
2359
  export class ModifyTagResponse extends $tea.Model {
2105
- headers: { [key: string]: string };
2106
- statusCode: number;
2107
- body: ModifyTagResponseBody;
2360
+ headers?: { [key: string]: string };
2361
+ statusCode?: number;
2362
+ body?: ModifyTagResponseBody;
2108
2363
  static names(): { [key: string]: string } {
2109
2364
  return {
2110
2365
  headers: 'headers',
@@ -2195,9 +2450,9 @@ export class QueryDomainByParamResponseBody extends $tea.Model {
2195
2450
  }
2196
2451
 
2197
2452
  export class QueryDomainByParamResponse extends $tea.Model {
2198
- headers: { [key: string]: string };
2199
- statusCode: number;
2200
- body: QueryDomainByParamResponseBody;
2453
+ headers?: { [key: string]: string };
2454
+ statusCode?: number;
2455
+ body?: QueryDomainByParamResponseBody;
2201
2456
  static names(): { [key: string]: string } {
2202
2457
  return {
2203
2458
  headers: 'headers',
@@ -2288,9 +2543,9 @@ export class QueryInvalidAddressResponseBody extends $tea.Model {
2288
2543
  }
2289
2544
 
2290
2545
  export class QueryInvalidAddressResponse extends $tea.Model {
2291
- headers: { [key: string]: string };
2292
- statusCode: number;
2293
- body: QueryInvalidAddressResponseBody;
2546
+ headers?: { [key: string]: string };
2547
+ statusCode?: number;
2548
+ body?: QueryInvalidAddressResponseBody;
2294
2549
  static names(): { [key: string]: string } {
2295
2550
  return {
2296
2551
  headers: 'headers',
@@ -2381,9 +2636,9 @@ export class QueryMailAddressByParamResponseBody extends $tea.Model {
2381
2636
  }
2382
2637
 
2383
2638
  export class QueryMailAddressByParamResponse extends $tea.Model {
2384
- headers: { [key: string]: string };
2385
- statusCode: number;
2386
- body: QueryMailAddressByParamResponseBody;
2639
+ headers?: { [key: string]: string };
2640
+ statusCode?: number;
2641
+ body?: QueryMailAddressByParamResponseBody;
2387
2642
  static names(): { [key: string]: string } {
2388
2643
  return {
2389
2644
  headers: 'headers',
@@ -2474,9 +2729,9 @@ export class QueryReceiverByParamResponseBody extends $tea.Model {
2474
2729
  }
2475
2730
 
2476
2731
  export class QueryReceiverByParamResponse extends $tea.Model {
2477
- headers: { [key: string]: string };
2478
- statusCode: number;
2479
- body: QueryReceiverByParamResponseBody;
2732
+ headers?: { [key: string]: string };
2733
+ statusCode?: number;
2734
+ body?: QueryReceiverByParamResponseBody;
2480
2735
  static names(): { [key: string]: string } {
2481
2736
  return {
2482
2737
  headers: 'headers',
@@ -2567,9 +2822,9 @@ export class QueryReceiverDetailResponseBody extends $tea.Model {
2567
2822
  }
2568
2823
 
2569
2824
  export class QueryReceiverDetailResponse extends $tea.Model {
2570
- headers: { [key: string]: string };
2571
- statusCode: number;
2572
- body: QueryReceiverDetailResponseBody;
2825
+ headers?: { [key: string]: string };
2826
+ statusCode?: number;
2827
+ body?: QueryReceiverDetailResponseBody;
2573
2828
  static names(): { [key: string]: string } {
2574
2829
  return {
2575
2830
  headers: 'headers',
@@ -2657,9 +2912,9 @@ export class QueryTagByParamResponseBody extends $tea.Model {
2657
2912
  }
2658
2913
 
2659
2914
  export class QueryTagByParamResponse extends $tea.Model {
2660
- headers: { [key: string]: string };
2661
- statusCode: number;
2662
- body: QueryTagByParamResponseBody;
2915
+ headers?: { [key: string]: string };
2916
+ statusCode?: number;
2917
+ body?: QueryTagByParamResponseBody;
2663
2918
  static names(): { [key: string]: string } {
2664
2919
  return {
2665
2920
  headers: 'headers',
@@ -2750,9 +3005,9 @@ export class QueryTaskByParamResponseBody extends $tea.Model {
2750
3005
  }
2751
3006
 
2752
3007
  export class QueryTaskByParamResponse extends $tea.Model {
2753
- headers: { [key: string]: string };
2754
- statusCode: number;
2755
- body: QueryTaskByParamResponseBody;
3008
+ headers?: { [key: string]: string };
3009
+ statusCode?: number;
3010
+ body?: QueryTaskByParamResponseBody;
2756
3011
  static names(): { [key: string]: string } {
2757
3012
  return {
2758
3013
  headers: 'headers',
@@ -2774,6 +3029,78 @@ export class QueryTaskByParamResponse extends $tea.Model {
2774
3029
  }
2775
3030
  }
2776
3031
 
3032
+ export class RemoveUserSuppressionRequest extends $tea.Model {
3033
+ ownerId?: number;
3034
+ resourceOwnerAccount?: string;
3035
+ resourceOwnerId?: number;
3036
+ suppressionIds?: string;
3037
+ static names(): { [key: string]: string } {
3038
+ return {
3039
+ ownerId: 'OwnerId',
3040
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3041
+ resourceOwnerId: 'ResourceOwnerId',
3042
+ suppressionIds: 'SuppressionIds',
3043
+ };
3044
+ }
3045
+
3046
+ static types(): { [key: string]: any } {
3047
+ return {
3048
+ ownerId: 'number',
3049
+ resourceOwnerAccount: 'string',
3050
+ resourceOwnerId: 'number',
3051
+ suppressionIds: 'string',
3052
+ };
3053
+ }
3054
+
3055
+ constructor(map?: { [key: string]: any }) {
3056
+ super(map);
3057
+ }
3058
+ }
3059
+
3060
+ export class RemoveUserSuppressionResponseBody extends $tea.Model {
3061
+ requestId?: string;
3062
+ static names(): { [key: string]: string } {
3063
+ return {
3064
+ requestId: 'RequestId',
3065
+ };
3066
+ }
3067
+
3068
+ static types(): { [key: string]: any } {
3069
+ return {
3070
+ requestId: 'string',
3071
+ };
3072
+ }
3073
+
3074
+ constructor(map?: { [key: string]: any }) {
3075
+ super(map);
3076
+ }
3077
+ }
3078
+
3079
+ export class RemoveUserSuppressionResponse extends $tea.Model {
3080
+ headers?: { [key: string]: string };
3081
+ statusCode?: number;
3082
+ body?: RemoveUserSuppressionResponseBody;
3083
+ static names(): { [key: string]: string } {
3084
+ return {
3085
+ headers: 'headers',
3086
+ statusCode: 'statusCode',
3087
+ body: 'body',
3088
+ };
3089
+ }
3090
+
3091
+ static types(): { [key: string]: any } {
3092
+ return {
3093
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3094
+ statusCode: 'number',
3095
+ body: RemoveUserSuppressionResponseBody,
3096
+ };
3097
+ }
3098
+
3099
+ constructor(map?: { [key: string]: any }) {
3100
+ super(map);
3101
+ }
3102
+ }
3103
+
2777
3104
  export class SaveReceiverDetailRequest extends $tea.Model {
2778
3105
  detail?: string;
2779
3106
  ownerId?: number;
@@ -2834,9 +3161,9 @@ export class SaveReceiverDetailResponseBody extends $tea.Model {
2834
3161
  }
2835
3162
 
2836
3163
  export class SaveReceiverDetailResponse extends $tea.Model {
2837
- headers: { [key: string]: string };
2838
- statusCode: number;
2839
- body: SaveReceiverDetailResponseBody;
3164
+ headers?: { [key: string]: string };
3165
+ statusCode?: number;
3166
+ body?: SaveReceiverDetailResponseBody;
2840
3167
  static names(): { [key: string]: string } {
2841
3168
  return {
2842
3169
  headers: 'headers',
@@ -2927,9 +3254,9 @@ export class SendTestByTemplateResponseBody extends $tea.Model {
2927
3254
  }
2928
3255
 
2929
3256
  export class SendTestByTemplateResponse extends $tea.Model {
2930
- headers: { [key: string]: string };
2931
- statusCode: number;
2932
- body: SendTestByTemplateResponseBody;
3257
+ headers?: { [key: string]: string };
3258
+ statusCode?: number;
3259
+ body?: SendTestByTemplateResponseBody;
2933
3260
  static names(): { [key: string]: string } {
2934
3261
  return {
2935
3262
  headers: 'headers',
@@ -3014,9 +3341,9 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBody extends $tea.Model
3014
3341
  }
3015
3342
 
3016
3343
  export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
3017
- headers: { [key: string]: string };
3018
- statusCode: number;
3019
- body: SenderStatisticsByTagNameAndBatchIDResponseBody;
3344
+ headers?: { [key: string]: string };
3345
+ statusCode?: number;
3346
+ body?: SenderStatisticsByTagNameAndBatchIDResponseBody;
3020
3347
  static names(): { [key: string]: string } {
3021
3348
  return {
3022
3349
  headers: 'headers',
@@ -3046,39 +3373,117 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
3046
3373
  ownerId?: number;
3047
3374
  resourceOwnerAccount?: string;
3048
3375
  resourceOwnerId?: number;
3049
- startTime?: string;
3050
- status?: number;
3051
- tagName?: string;
3052
- toAddress?: string;
3376
+ startTime?: string;
3377
+ status?: number;
3378
+ tagName?: string;
3379
+ toAddress?: string;
3380
+ static names(): { [key: string]: string } {
3381
+ return {
3382
+ accountName: 'AccountName',
3383
+ endTime: 'EndTime',
3384
+ length: 'Length',
3385
+ nextStart: 'NextStart',
3386
+ ownerId: 'OwnerId',
3387
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3388
+ resourceOwnerId: 'ResourceOwnerId',
3389
+ startTime: 'StartTime',
3390
+ status: 'Status',
3391
+ tagName: 'TagName',
3392
+ toAddress: 'ToAddress',
3393
+ };
3394
+ }
3395
+
3396
+ static types(): { [key: string]: any } {
3397
+ return {
3398
+ accountName: 'string',
3399
+ endTime: 'string',
3400
+ length: 'number',
3401
+ nextStart: 'string',
3402
+ ownerId: 'number',
3403
+ resourceOwnerAccount: 'string',
3404
+ resourceOwnerId: 'number',
3405
+ startTime: 'string',
3406
+ status: 'number',
3407
+ tagName: 'string',
3408
+ toAddress: 'string',
3409
+ };
3410
+ }
3411
+
3412
+ constructor(map?: { [key: string]: any }) {
3413
+ super(map);
3414
+ }
3415
+ }
3416
+
3417
+ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
3418
+ nextStart?: string;
3419
+ requestId?: string;
3420
+ data?: SenderStatisticsDetailByParamResponseBodyData;
3421
+ static names(): { [key: string]: string } {
3422
+ return {
3423
+ nextStart: 'NextStart',
3424
+ requestId: 'RequestId',
3425
+ data: 'data',
3426
+ };
3427
+ }
3428
+
3429
+ static types(): { [key: string]: any } {
3430
+ return {
3431
+ nextStart: 'string',
3432
+ requestId: 'string',
3433
+ data: SenderStatisticsDetailByParamResponseBodyData,
3434
+ };
3435
+ }
3436
+
3437
+ constructor(map?: { [key: string]: any }) {
3438
+ super(map);
3439
+ }
3440
+ }
3441
+
3442
+ export class SenderStatisticsDetailByParamResponse extends $tea.Model {
3443
+ headers?: { [key: string]: string };
3444
+ statusCode?: number;
3445
+ body?: SenderStatisticsDetailByParamResponseBody;
3446
+ static names(): { [key: string]: string } {
3447
+ return {
3448
+ headers: 'headers',
3449
+ statusCode: 'statusCode',
3450
+ body: 'body',
3451
+ };
3452
+ }
3453
+
3454
+ static types(): { [key: string]: any } {
3455
+ return {
3456
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3457
+ statusCode: 'number',
3458
+ body: SenderStatisticsDetailByParamResponseBody,
3459
+ };
3460
+ }
3461
+
3462
+ constructor(map?: { [key: string]: any }) {
3463
+ super(map);
3464
+ }
3465
+ }
3466
+
3467
+ export class SetSuppressionListLevelRequest extends $tea.Model {
3468
+ ownerId?: number;
3469
+ resourceOwnerAccount?: string;
3470
+ resourceOwnerId?: number;
3471
+ suppressionListLevel?: string;
3053
3472
  static names(): { [key: string]: string } {
3054
3473
  return {
3055
- accountName: 'AccountName',
3056
- endTime: 'EndTime',
3057
- length: 'Length',
3058
- nextStart: 'NextStart',
3059
3474
  ownerId: 'OwnerId',
3060
3475
  resourceOwnerAccount: 'ResourceOwnerAccount',
3061
3476
  resourceOwnerId: 'ResourceOwnerId',
3062
- startTime: 'StartTime',
3063
- status: 'Status',
3064
- tagName: 'TagName',
3065
- toAddress: 'ToAddress',
3477
+ suppressionListLevel: 'SuppressionListLevel',
3066
3478
  };
3067
3479
  }
3068
3480
 
3069
3481
  static types(): { [key: string]: any } {
3070
3482
  return {
3071
- accountName: 'string',
3072
- endTime: 'string',
3073
- length: 'number',
3074
- nextStart: 'string',
3075
3483
  ownerId: 'number',
3076
3484
  resourceOwnerAccount: 'string',
3077
3485
  resourceOwnerId: 'number',
3078
- startTime: 'string',
3079
- status: 'number',
3080
- tagName: 'string',
3081
- toAddress: 'string',
3486
+ suppressionListLevel: 'string',
3082
3487
  };
3083
3488
  }
3084
3489
 
@@ -3087,23 +3492,20 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
3087
3492
  }
3088
3493
  }
3089
3494
 
3090
- export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
3091
- nextStart?: string;
3495
+ export class SetSuppressionListLevelResponseBody extends $tea.Model {
3092
3496
  requestId?: string;
3093
- data?: SenderStatisticsDetailByParamResponseBodyData;
3497
+ suppressionListLevel?: string;
3094
3498
  static names(): { [key: string]: string } {
3095
3499
  return {
3096
- nextStart: 'NextStart',
3097
3500
  requestId: 'RequestId',
3098
- data: 'data',
3501
+ suppressionListLevel: 'SuppressionListLevel',
3099
3502
  };
3100
3503
  }
3101
3504
 
3102
3505
  static types(): { [key: string]: any } {
3103
3506
  return {
3104
- nextStart: 'string',
3105
3507
  requestId: 'string',
3106
- data: SenderStatisticsDetailByParamResponseBodyData,
3508
+ suppressionListLevel: 'string',
3107
3509
  };
3108
3510
  }
3109
3511
 
@@ -3112,10 +3514,10 @@ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
3112
3514
  }
3113
3515
  }
3114
3516
 
3115
- export class SenderStatisticsDetailByParamResponse extends $tea.Model {
3116
- headers: { [key: string]: string };
3117
- statusCode: number;
3118
- body: SenderStatisticsDetailByParamResponseBody;
3517
+ export class SetSuppressionListLevelResponse extends $tea.Model {
3518
+ headers?: { [key: string]: string };
3519
+ statusCode?: number;
3520
+ body?: SetSuppressionListLevelResponseBody;
3119
3521
  static names(): { [key: string]: string } {
3120
3522
  return {
3121
3523
  headers: 'headers',
@@ -3128,7 +3530,7 @@ export class SenderStatisticsDetailByParamResponse extends $tea.Model {
3128
3530
  return {
3129
3531
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3130
3532
  statusCode: 'number',
3131
- body: SenderStatisticsDetailByParamResponseBody,
3533
+ body: SetSuppressionListLevelResponseBody,
3132
3534
  };
3133
3535
  }
3134
3536
 
@@ -3153,6 +3555,8 @@ export class SingleSendMailRequest extends $tea.Model {
3153
3555
  tagName?: string;
3154
3556
  textBody?: string;
3155
3557
  toAddress?: string;
3558
+ unSubscribeFilterLevel?: string;
3559
+ unSubscribeLinkType?: string;
3156
3560
  static names(): { [key: string]: string } {
3157
3561
  return {
3158
3562
  accountName: 'AccountName',
@@ -3170,6 +3574,8 @@ export class SingleSendMailRequest extends $tea.Model {
3170
3574
  tagName: 'TagName',
3171
3575
  textBody: 'TextBody',
3172
3576
  toAddress: 'ToAddress',
3577
+ unSubscribeFilterLevel: 'UnSubscribeFilterLevel',
3578
+ unSubscribeLinkType: 'UnSubscribeLinkType',
3173
3579
  };
3174
3580
  }
3175
3581
 
@@ -3190,6 +3596,8 @@ export class SingleSendMailRequest extends $tea.Model {
3190
3596
  tagName: 'string',
3191
3597
  textBody: 'string',
3192
3598
  toAddress: 'string',
3599
+ unSubscribeFilterLevel: 'string',
3600
+ unSubscribeLinkType: 'string',
3193
3601
  };
3194
3602
  }
3195
3603
 
@@ -3221,9 +3629,9 @@ export class SingleSendMailResponseBody extends $tea.Model {
3221
3629
  }
3222
3630
 
3223
3631
  export class SingleSendMailResponse extends $tea.Model {
3224
- headers: { [key: string]: string };
3225
- statusCode: number;
3226
- body: SingleSendMailResponseBody;
3632
+ headers?: { [key: string]: string };
3633
+ statusCode?: number;
3634
+ body?: SingleSendMailResponseBody;
3227
3635
  static names(): { [key: string]: string } {
3228
3636
  return {
3229
3637
  headers: 'headers',
@@ -3293,9 +3701,9 @@ export class UpdateIpProtectionResponseBody extends $tea.Model {
3293
3701
  }
3294
3702
 
3295
3703
  export class UpdateIpProtectionResponse extends $tea.Model {
3296
- headers: { [key: string]: string };
3297
- statusCode: number;
3298
- body: UpdateIpProtectionResponseBody;
3704
+ headers?: { [key: string]: string };
3705
+ statusCode?: number;
3706
+ body?: UpdateIpProtectionResponseBody;
3299
3707
  static names(): { [key: string]: string } {
3300
3708
  return {
3301
3709
  headers: 'headers',
@@ -3491,6 +3899,56 @@ export class GetTrackListByMailFromAndTagNameResponseBodyTrackList extends $tea.
3491
3899
  }
3492
3900
  }
3493
3901
 
3902
+ export class ListUserSuppressionResponseBodyDataUserSuppressions extends $tea.Model {
3903
+ address?: string;
3904
+ createTime?: number;
3905
+ lastBounceTime?: number;
3906
+ suppressionId?: number;
3907
+ type?: string;
3908
+ static names(): { [key: string]: string } {
3909
+ return {
3910
+ address: 'Address',
3911
+ createTime: 'CreateTime',
3912
+ lastBounceTime: 'LastBounceTime',
3913
+ suppressionId: 'SuppressionId',
3914
+ type: 'Type',
3915
+ };
3916
+ }
3917
+
3918
+ static types(): { [key: string]: any } {
3919
+ return {
3920
+ address: 'string',
3921
+ createTime: 'number',
3922
+ lastBounceTime: 'number',
3923
+ suppressionId: 'number',
3924
+ type: 'string',
3925
+ };
3926
+ }
3927
+
3928
+ constructor(map?: { [key: string]: any }) {
3929
+ super(map);
3930
+ }
3931
+ }
3932
+
3933
+ export class ListUserSuppressionResponseBodyData extends $tea.Model {
3934
+ userSuppressions?: ListUserSuppressionResponseBodyDataUserSuppressions[];
3935
+ static names(): { [key: string]: string } {
3936
+ return {
3937
+ userSuppressions: 'UserSuppressions',
3938
+ };
3939
+ }
3940
+
3941
+ static types(): { [key: string]: any } {
3942
+ return {
3943
+ userSuppressions: { 'type': 'array', 'itemType': ListUserSuppressionResponseBodyDataUserSuppressions },
3944
+ };
3945
+ }
3946
+
3947
+ constructor(map?: { [key: string]: any }) {
3948
+ super(map);
3949
+ }
3950
+ }
3951
+
3494
3952
  export class QueryDomainByParamResponseBodyDataDomain extends $tea.Model {
3495
3953
  cnameAuthStatus?: string;
3496
3954
  confirmStatus?: string;
@@ -3982,17 +4440,21 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBodyData extends $tea.Mo
3982
4440
 
3983
4441
  export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $tea.Model {
3984
4442
  accountName?: string;
4443
+ errorClassification?: string;
3985
4444
  lastUpdateTime?: string;
3986
4445
  message?: string;
3987
4446
  status?: number;
4447
+ subject?: string;
3988
4448
  toAddress?: string;
3989
4449
  utcLastUpdateTime?: string;
3990
4450
  static names(): { [key: string]: string } {
3991
4451
  return {
3992
4452
  accountName: 'AccountName',
4453
+ errorClassification: 'ErrorClassification',
3993
4454
  lastUpdateTime: 'LastUpdateTime',
3994
4455
  message: 'Message',
3995
4456
  status: 'Status',
4457
+ subject: 'Subject',
3996
4458
  toAddress: 'ToAddress',
3997
4459
  utcLastUpdateTime: 'UtcLastUpdateTime',
3998
4460
  };
@@ -4001,9 +4463,11 @@ export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $te
4001
4463
  static types(): { [key: string]: any } {
4002
4464
  return {
4003
4465
  accountName: 'string',
4466
+ errorClassification: 'string',
4004
4467
  lastUpdateTime: 'string',
4005
4468
  message: 'string',
4006
4469
  status: 'number',
4470
+ subject: 'string',
4007
4471
  toAddress: 'string',
4008
4472
  utcLastUpdateTime: 'string',
4009
4473
  };
@@ -4185,6 +4649,14 @@ export default class Client extends OpenApi {
4185
4649
  query["TemplateName"] = request.templateName;
4186
4650
  }
4187
4651
 
4652
+ if (!Util.isUnset(request.unSubscribeFilterLevel)) {
4653
+ query["UnSubscribeFilterLevel"] = request.unSubscribeFilterLevel;
4654
+ }
4655
+
4656
+ if (!Util.isUnset(request.unSubscribeLinkType)) {
4657
+ query["UnSubscribeLinkType"] = request.unSubscribeLinkType;
4658
+ }
4659
+
4188
4660
  let req = new $OpenApi.OpenApiRequest({
4189
4661
  query: OpenApiUtil.query(query),
4190
4662
  });
@@ -4481,6 +4953,47 @@ export default class Client extends OpenApi {
4481
4953
  return await this.createTagWithOptions(request, runtime);
4482
4954
  }
4483
4955
 
4956
+ async createUserSuppressionWithOptions(request: CreateUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserSuppressionResponse> {
4957
+ Util.validateModel(request);
4958
+ let query = { };
4959
+ if (!Util.isUnset(request.address)) {
4960
+ query["Address"] = request.address;
4961
+ }
4962
+
4963
+ if (!Util.isUnset(request.ownerId)) {
4964
+ query["OwnerId"] = request.ownerId;
4965
+ }
4966
+
4967
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
4968
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4969
+ }
4970
+
4971
+ if (!Util.isUnset(request.resourceOwnerId)) {
4972
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4973
+ }
4974
+
4975
+ let req = new $OpenApi.OpenApiRequest({
4976
+ query: OpenApiUtil.query(query),
4977
+ });
4978
+ let params = new $OpenApi.Params({
4979
+ action: "CreateUserSuppression",
4980
+ version: "2015-11-23",
4981
+ protocol: "HTTPS",
4982
+ pathname: "/",
4983
+ method: "POST",
4984
+ authType: "AK",
4985
+ style: "RPC",
4986
+ reqBodyType: "formData",
4987
+ bodyType: "json",
4988
+ });
4989
+ return $tea.cast<CreateUserSuppressionResponse>(await this.callApi(params, req, runtime), new CreateUserSuppressionResponse({}));
4990
+ }
4991
+
4992
+ async createUserSuppression(request: CreateUserSuppressionRequest): Promise<CreateUserSuppressionResponse> {
4993
+ let runtime = new $Util.RuntimeOptions({ });
4994
+ return await this.createUserSuppressionWithOptions(request, runtime);
4995
+ }
4996
+
4484
4997
  async deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse> {
4485
4998
  Util.validateModel(request);
4486
4999
  let query = { };
@@ -4932,6 +5445,43 @@ export default class Client extends OpenApi {
4932
5445
  return await this.getIpfilterListWithOptions(request, runtime);
4933
5446
  }
4934
5447
 
5448
+ async getSuppressionListLevelWithOptions(request: GetSuppressionListLevelRequest, runtime: $Util.RuntimeOptions): Promise<GetSuppressionListLevelResponse> {
5449
+ Util.validateModel(request);
5450
+ let query = { };
5451
+ if (!Util.isUnset(request.ownerId)) {
5452
+ query["OwnerId"] = request.ownerId;
5453
+ }
5454
+
5455
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
5456
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
5457
+ }
5458
+
5459
+ if (!Util.isUnset(request.resourceOwnerId)) {
5460
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5461
+ }
5462
+
5463
+ let req = new $OpenApi.OpenApiRequest({
5464
+ query: OpenApiUtil.query(query),
5465
+ });
5466
+ let params = new $OpenApi.Params({
5467
+ action: "GetSuppressionListLevel",
5468
+ version: "2015-11-23",
5469
+ protocol: "HTTPS",
5470
+ pathname: "/",
5471
+ method: "POST",
5472
+ authType: "AK",
5473
+ style: "RPC",
5474
+ reqBodyType: "formData",
5475
+ bodyType: "json",
5476
+ });
5477
+ return $tea.cast<GetSuppressionListLevelResponse>(await this.callApi(params, req, runtime), new GetSuppressionListLevelResponse({}));
5478
+ }
5479
+
5480
+ async getSuppressionListLevel(request: GetSuppressionListLevelRequest): Promise<GetSuppressionListLevelResponse> {
5481
+ let runtime = new $Util.RuntimeOptions({ });
5482
+ return await this.getSuppressionListLevelWithOptions(request, runtime);
5483
+ }
5484
+
4935
5485
  async getTrackListWithOptions(request: GetTrackListRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListResponse> {
4936
5486
  Util.validateModel(request);
4937
5487
  let query = { };
@@ -5078,6 +5628,71 @@ export default class Client extends OpenApi {
5078
5628
  return await this.getTrackListByMailFromAndTagNameWithOptions(request, runtime);
5079
5629
  }
5080
5630
 
5631
+ async listUserSuppressionWithOptions(request: ListUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<ListUserSuppressionResponse> {
5632
+ Util.validateModel(request);
5633
+ let query = { };
5634
+ if (!Util.isUnset(request.address)) {
5635
+ query["Address"] = request.address;
5636
+ }
5637
+
5638
+ if (!Util.isUnset(request.endBounceTime)) {
5639
+ query["EndBounceTime"] = request.endBounceTime;
5640
+ }
5641
+
5642
+ if (!Util.isUnset(request.endCreateTime)) {
5643
+ query["EndCreateTime"] = request.endCreateTime;
5644
+ }
5645
+
5646
+ if (!Util.isUnset(request.ownerId)) {
5647
+ query["OwnerId"] = request.ownerId;
5648
+ }
5649
+
5650
+ if (!Util.isUnset(request.pageNo)) {
5651
+ query["PageNo"] = request.pageNo;
5652
+ }
5653
+
5654
+ if (!Util.isUnset(request.pageSize)) {
5655
+ query["PageSize"] = request.pageSize;
5656
+ }
5657
+
5658
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
5659
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
5660
+ }
5661
+
5662
+ if (!Util.isUnset(request.resourceOwnerId)) {
5663
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5664
+ }
5665
+
5666
+ if (!Util.isUnset(request.startBounceTime)) {
5667
+ query["StartBounceTime"] = request.startBounceTime;
5668
+ }
5669
+
5670
+ if (!Util.isUnset(request.startCreateTime)) {
5671
+ query["StartCreateTime"] = request.startCreateTime;
5672
+ }
5673
+
5674
+ let req = new $OpenApi.OpenApiRequest({
5675
+ query: OpenApiUtil.query(query),
5676
+ });
5677
+ let params = new $OpenApi.Params({
5678
+ action: "ListUserSuppression",
5679
+ version: "2015-11-23",
5680
+ protocol: "HTTPS",
5681
+ pathname: "/",
5682
+ method: "POST",
5683
+ authType: "AK",
5684
+ style: "RPC",
5685
+ reqBodyType: "formData",
5686
+ bodyType: "json",
5687
+ });
5688
+ return $tea.cast<ListUserSuppressionResponse>(await this.callApi(params, req, runtime), new ListUserSuppressionResponse({}));
5689
+ }
5690
+
5691
+ async listUserSuppression(request: ListUserSuppressionRequest): Promise<ListUserSuppressionResponse> {
5692
+ let runtime = new $Util.RuntimeOptions({ });
5693
+ return await this.listUserSuppressionWithOptions(request, runtime);
5694
+ }
5695
+
5081
5696
  async modifyMailAddressWithOptions(request: ModifyMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMailAddressResponse> {
5082
5697
  Util.validateModel(request);
5083
5698
  let query = { };
@@ -5592,6 +6207,47 @@ export default class Client extends OpenApi {
5592
6207
  return await this.queryTaskByParamWithOptions(request, runtime);
5593
6208
  }
5594
6209
 
6210
+ async removeUserSuppressionWithOptions(request: RemoveUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<RemoveUserSuppressionResponse> {
6211
+ Util.validateModel(request);
6212
+ let query = { };
6213
+ if (!Util.isUnset(request.ownerId)) {
6214
+ query["OwnerId"] = request.ownerId;
6215
+ }
6216
+
6217
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6218
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6219
+ }
6220
+
6221
+ if (!Util.isUnset(request.resourceOwnerId)) {
6222
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6223
+ }
6224
+
6225
+ if (!Util.isUnset(request.suppressionIds)) {
6226
+ query["SuppressionIds"] = request.suppressionIds;
6227
+ }
6228
+
6229
+ let req = new $OpenApi.OpenApiRequest({
6230
+ query: OpenApiUtil.query(query),
6231
+ });
6232
+ let params = new $OpenApi.Params({
6233
+ action: "RemoveUserSuppression",
6234
+ version: "2015-11-23",
6235
+ protocol: "HTTPS",
6236
+ pathname: "/",
6237
+ method: "POST",
6238
+ authType: "AK",
6239
+ style: "RPC",
6240
+ reqBodyType: "formData",
6241
+ bodyType: "json",
6242
+ });
6243
+ return $tea.cast<RemoveUserSuppressionResponse>(await this.callApi(params, req, runtime), new RemoveUserSuppressionResponse({}));
6244
+ }
6245
+
6246
+ async removeUserSuppression(request: RemoveUserSuppressionRequest): Promise<RemoveUserSuppressionResponse> {
6247
+ let runtime = new $Util.RuntimeOptions({ });
6248
+ return await this.removeUserSuppressionWithOptions(request, runtime);
6249
+ }
6250
+
5595
6251
  async saveReceiverDetailWithOptions(request: SaveReceiverDetailRequest, runtime: $Util.RuntimeOptions): Promise<SaveReceiverDetailResponse> {
5596
6252
  Util.validateModel(request);
5597
6253
  let query = { };
@@ -5828,6 +6484,47 @@ export default class Client extends OpenApi {
5828
6484
  return await this.senderStatisticsDetailByParamWithOptions(request, runtime);
5829
6485
  }
5830
6486
 
6487
+ async setSuppressionListLevelWithOptions(request: SetSuppressionListLevelRequest, runtime: $Util.RuntimeOptions): Promise<SetSuppressionListLevelResponse> {
6488
+ Util.validateModel(request);
6489
+ let query = { };
6490
+ if (!Util.isUnset(request.ownerId)) {
6491
+ query["OwnerId"] = request.ownerId;
6492
+ }
6493
+
6494
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
6495
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6496
+ }
6497
+
6498
+ if (!Util.isUnset(request.resourceOwnerId)) {
6499
+ query["ResourceOwnerId"] = request.resourceOwnerId;
6500
+ }
6501
+
6502
+ if (!Util.isUnset(request.suppressionListLevel)) {
6503
+ query["SuppressionListLevel"] = request.suppressionListLevel;
6504
+ }
6505
+
6506
+ let req = new $OpenApi.OpenApiRequest({
6507
+ query: OpenApiUtil.query(query),
6508
+ });
6509
+ let params = new $OpenApi.Params({
6510
+ action: "SetSuppressionListLevel",
6511
+ version: "2015-11-23",
6512
+ protocol: "HTTPS",
6513
+ pathname: "/",
6514
+ method: "POST",
6515
+ authType: "AK",
6516
+ style: "RPC",
6517
+ reqBodyType: "formData",
6518
+ bodyType: "json",
6519
+ });
6520
+ return $tea.cast<SetSuppressionListLevelResponse>(await this.callApi(params, req, runtime), new SetSuppressionListLevelResponse({}));
6521
+ }
6522
+
6523
+ async setSuppressionListLevel(request: SetSuppressionListLevelRequest): Promise<SetSuppressionListLevelResponse> {
6524
+ let runtime = new $Util.RuntimeOptions({ });
6525
+ return await this.setSuppressionListLevelWithOptions(request, runtime);
6526
+ }
6527
+
5831
6528
  async singleSendMailWithOptions(request: SingleSendMailRequest, runtime: $Util.RuntimeOptions): Promise<SingleSendMailResponse> {
5832
6529
  Util.validateModel(request);
5833
6530
  let query = { };
@@ -5891,6 +6588,14 @@ export default class Client extends OpenApi {
5891
6588
  query["ToAddress"] = request.toAddress;
5892
6589
  }
5893
6590
 
6591
+ if (!Util.isUnset(request.unSubscribeFilterLevel)) {
6592
+ query["UnSubscribeFilterLevel"] = request.unSubscribeFilterLevel;
6593
+ }
6594
+
6595
+ if (!Util.isUnset(request.unSubscribeLinkType)) {
6596
+ query["UnSubscribeLinkType"] = request.unSubscribeLinkType;
6597
+ }
6598
+
5894
6599
  let req = new $OpenApi.OpenApiRequest({
5895
6600
  query: OpenApiUtil.query(query),
5896
6601
  });