@alicloud/dm20151123 1.0.11 → 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
@@ -725,6 +725,81 @@ export class CreateTagResponse extends $tea.Model {
725
725
  }
726
726
  }
727
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
+
728
803
  export class DeleteDomainRequest extends $tea.Model {
729
804
  domainId?: number;
730
805
  ownerId?: number;
@@ -1664,6 +1739,78 @@ export class GetIpfilterListResponse extends $tea.Model {
1664
1739
  }
1665
1740
  }
1666
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
+
1667
1814
  export class GetTrackListRequest extends $tea.Model {
1668
1815
  endTime?: string;
1669
1816
  offset?: string;
@@ -1892,6 +2039,108 @@ export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
1892
2039
  }
1893
2040
  }
1894
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
+
1895
2144
  export class ModifyMailAddressRequest extends $tea.Model {
1896
2145
  mailAddressId?: number;
1897
2146
  ownerId?: number;
@@ -2780,6 +3029,78 @@ export class QueryTaskByParamResponse extends $tea.Model {
2780
3029
  }
2781
3030
  }
2782
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
+
2783
3104
  export class SaveReceiverDetailRequest extends $tea.Model {
2784
3105
  detail?: string;
2785
3106
  ownerId?: number;
@@ -3019,10 +3340,109 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBody extends $tea.Model
3019
3340
  }
3020
3341
  }
3021
3342
 
3022
- export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
3343
+ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
3344
+ headers?: { [key: string]: string };
3345
+ statusCode?: number;
3346
+ body?: SenderStatisticsByTagNameAndBatchIDResponseBody;
3347
+ static names(): { [key: string]: string } {
3348
+ return {
3349
+ headers: 'headers',
3350
+ statusCode: 'statusCode',
3351
+ body: 'body',
3352
+ };
3353
+ }
3354
+
3355
+ static types(): { [key: string]: any } {
3356
+ return {
3357
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3358
+ statusCode: 'number',
3359
+ body: SenderStatisticsByTagNameAndBatchIDResponseBody,
3360
+ };
3361
+ }
3362
+
3363
+ constructor(map?: { [key: string]: any }) {
3364
+ super(map);
3365
+ }
3366
+ }
3367
+
3368
+ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
3369
+ accountName?: string;
3370
+ endTime?: string;
3371
+ length?: number;
3372
+ nextStart?: string;
3373
+ ownerId?: number;
3374
+ resourceOwnerAccount?: string;
3375
+ resourceOwnerId?: number;
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 {
3023
3443
  headers?: { [key: string]: string };
3024
3444
  statusCode?: number;
3025
- body?: SenderStatisticsByTagNameAndBatchIDResponseBody;
3445
+ body?: SenderStatisticsDetailByParamResponseBody;
3026
3446
  static names(): { [key: string]: string } {
3027
3447
  return {
3028
3448
  headers: 'headers',
@@ -3035,7 +3455,7 @@ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
3035
3455
  return {
3036
3456
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3037
3457
  statusCode: 'number',
3038
- body: SenderStatisticsByTagNameAndBatchIDResponseBody,
3458
+ body: SenderStatisticsDetailByParamResponseBody,
3039
3459
  };
3040
3460
  }
3041
3461
 
@@ -3044,47 +3464,26 @@ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
3044
3464
  }
3045
3465
  }
3046
3466
 
3047
- export class SenderStatisticsDetailByParamRequest extends $tea.Model {
3048
- accountName?: string;
3049
- endTime?: string;
3050
- length?: number;
3051
- nextStart?: string;
3467
+ export class SetSuppressionListLevelRequest extends $tea.Model {
3052
3468
  ownerId?: number;
3053
3469
  resourceOwnerAccount?: string;
3054
3470
  resourceOwnerId?: number;
3055
- startTime?: string;
3056
- status?: number;
3057
- tagName?: string;
3058
- toAddress?: string;
3471
+ suppressionListLevel?: string;
3059
3472
  static names(): { [key: string]: string } {
3060
3473
  return {
3061
- accountName: 'AccountName',
3062
- endTime: 'EndTime',
3063
- length: 'Length',
3064
- nextStart: 'NextStart',
3065
3474
  ownerId: 'OwnerId',
3066
3475
  resourceOwnerAccount: 'ResourceOwnerAccount',
3067
3476
  resourceOwnerId: 'ResourceOwnerId',
3068
- startTime: 'StartTime',
3069
- status: 'Status',
3070
- tagName: 'TagName',
3071
- toAddress: 'ToAddress',
3477
+ suppressionListLevel: 'SuppressionListLevel',
3072
3478
  };
3073
3479
  }
3074
3480
 
3075
3481
  static types(): { [key: string]: any } {
3076
3482
  return {
3077
- accountName: 'string',
3078
- endTime: 'string',
3079
- length: 'number',
3080
- nextStart: 'string',
3081
3483
  ownerId: 'number',
3082
3484
  resourceOwnerAccount: 'string',
3083
3485
  resourceOwnerId: 'number',
3084
- startTime: 'string',
3085
- status: 'number',
3086
- tagName: 'string',
3087
- toAddress: 'string',
3486
+ suppressionListLevel: 'string',
3088
3487
  };
3089
3488
  }
3090
3489
 
@@ -3093,23 +3492,20 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
3093
3492
  }
3094
3493
  }
3095
3494
 
3096
- export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
3097
- nextStart?: string;
3495
+ export class SetSuppressionListLevelResponseBody extends $tea.Model {
3098
3496
  requestId?: string;
3099
- data?: SenderStatisticsDetailByParamResponseBodyData;
3497
+ suppressionListLevel?: string;
3100
3498
  static names(): { [key: string]: string } {
3101
3499
  return {
3102
- nextStart: 'NextStart',
3103
3500
  requestId: 'RequestId',
3104
- data: 'data',
3501
+ suppressionListLevel: 'SuppressionListLevel',
3105
3502
  };
3106
3503
  }
3107
3504
 
3108
3505
  static types(): { [key: string]: any } {
3109
3506
  return {
3110
- nextStart: 'string',
3111
3507
  requestId: 'string',
3112
- data: SenderStatisticsDetailByParamResponseBodyData,
3508
+ suppressionListLevel: 'string',
3113
3509
  };
3114
3510
  }
3115
3511
 
@@ -3118,10 +3514,10 @@ export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
3118
3514
  }
3119
3515
  }
3120
3516
 
3121
- export class SenderStatisticsDetailByParamResponse extends $tea.Model {
3517
+ export class SetSuppressionListLevelResponse extends $tea.Model {
3122
3518
  headers?: { [key: string]: string };
3123
3519
  statusCode?: number;
3124
- body?: SenderStatisticsDetailByParamResponseBody;
3520
+ body?: SetSuppressionListLevelResponseBody;
3125
3521
  static names(): { [key: string]: string } {
3126
3522
  return {
3127
3523
  headers: 'headers',
@@ -3134,7 +3530,7 @@ export class SenderStatisticsDetailByParamResponse extends $tea.Model {
3134
3530
  return {
3135
3531
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3136
3532
  statusCode: 'number',
3137
- body: SenderStatisticsDetailByParamResponseBody,
3533
+ body: SetSuppressionListLevelResponseBody,
3138
3534
  };
3139
3535
  }
3140
3536
 
@@ -3503,6 +3899,56 @@ export class GetTrackListByMailFromAndTagNameResponseBodyTrackList extends $tea.
3503
3899
  }
3504
3900
  }
3505
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
+
3506
3952
  export class QueryDomainByParamResponseBodyDataDomain extends $tea.Model {
3507
3953
  cnameAuthStatus?: string;
3508
3954
  confirmStatus?: string;
@@ -3994,6 +4440,7 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBodyData extends $tea.Mo
3994
4440
 
3995
4441
  export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $tea.Model {
3996
4442
  accountName?: string;
4443
+ errorClassification?: string;
3997
4444
  lastUpdateTime?: string;
3998
4445
  message?: string;
3999
4446
  status?: number;
@@ -4003,6 +4450,7 @@ export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $te
4003
4450
  static names(): { [key: string]: string } {
4004
4451
  return {
4005
4452
  accountName: 'AccountName',
4453
+ errorClassification: 'ErrorClassification',
4006
4454
  lastUpdateTime: 'LastUpdateTime',
4007
4455
  message: 'Message',
4008
4456
  status: 'Status',
@@ -4015,6 +4463,7 @@ export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $te
4015
4463
  static types(): { [key: string]: any } {
4016
4464
  return {
4017
4465
  accountName: 'string',
4466
+ errorClassification: 'string',
4018
4467
  lastUpdateTime: 'string',
4019
4468
  message: 'string',
4020
4469
  status: 'number',
@@ -4504,6 +4953,47 @@ export default class Client extends OpenApi {
4504
4953
  return await this.createTagWithOptions(request, runtime);
4505
4954
  }
4506
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
+
4507
4997
  async deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse> {
4508
4998
  Util.validateModel(request);
4509
4999
  let query = { };
@@ -4955,6 +5445,43 @@ export default class Client extends OpenApi {
4955
5445
  return await this.getIpfilterListWithOptions(request, runtime);
4956
5446
  }
4957
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
+
4958
5485
  async getTrackListWithOptions(request: GetTrackListRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListResponse> {
4959
5486
  Util.validateModel(request);
4960
5487
  let query = { };
@@ -5101,6 +5628,71 @@ export default class Client extends OpenApi {
5101
5628
  return await this.getTrackListByMailFromAndTagNameWithOptions(request, runtime);
5102
5629
  }
5103
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
+
5104
5696
  async modifyMailAddressWithOptions(request: ModifyMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMailAddressResponse> {
5105
5697
  Util.validateModel(request);
5106
5698
  let query = { };
@@ -5615,6 +6207,47 @@ export default class Client extends OpenApi {
5615
6207
  return await this.queryTaskByParamWithOptions(request, runtime);
5616
6208
  }
5617
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
+
5618
6251
  async saveReceiverDetailWithOptions(request: SaveReceiverDetailRequest, runtime: $Util.RuntimeOptions): Promise<SaveReceiverDetailResponse> {
5619
6252
  Util.validateModel(request);
5620
6253
  let query = { };
@@ -5851,6 +6484,47 @@ export default class Client extends OpenApi {
5851
6484
  return await this.senderStatisticsDetailByParamWithOptions(request, runtime);
5852
6485
  }
5853
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
+
5854
6528
  async singleSendMailWithOptions(request: SingleSendMailRequest, runtime: $Util.RuntimeOptions): Promise<SingleSendMailResponse> {
5855
6529
  Util.validateModel(request);
5856
6530
  let query = { };