@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/dist/client.d.ts +266 -0
- package/dist/client.js +1015 -462
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +712 -38
package/dist/client.d.ts
CHANGED
|
@@ -414,6 +414,50 @@ export declare class CreateTagResponse extends $tea.Model {
|
|
|
414
414
|
[key: string]: any;
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
|
+
export declare class CreateUserSuppressionRequest extends $tea.Model {
|
|
418
|
+
address?: string;
|
|
419
|
+
ownerId?: number;
|
|
420
|
+
resourceOwnerAccount?: string;
|
|
421
|
+
resourceOwnerId?: number;
|
|
422
|
+
static names(): {
|
|
423
|
+
[key: string]: string;
|
|
424
|
+
};
|
|
425
|
+
static types(): {
|
|
426
|
+
[key: string]: any;
|
|
427
|
+
};
|
|
428
|
+
constructor(map?: {
|
|
429
|
+
[key: string]: any;
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
export declare class CreateUserSuppressionResponseBody extends $tea.Model {
|
|
433
|
+
requestId?: string;
|
|
434
|
+
suppressionId?: string;
|
|
435
|
+
static names(): {
|
|
436
|
+
[key: string]: string;
|
|
437
|
+
};
|
|
438
|
+
static types(): {
|
|
439
|
+
[key: string]: any;
|
|
440
|
+
};
|
|
441
|
+
constructor(map?: {
|
|
442
|
+
[key: string]: any;
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
export declare class CreateUserSuppressionResponse extends $tea.Model {
|
|
446
|
+
headers?: {
|
|
447
|
+
[key: string]: string;
|
|
448
|
+
};
|
|
449
|
+
statusCode?: number;
|
|
450
|
+
body?: CreateUserSuppressionResponseBody;
|
|
451
|
+
static names(): {
|
|
452
|
+
[key: string]: string;
|
|
453
|
+
};
|
|
454
|
+
static types(): {
|
|
455
|
+
[key: string]: any;
|
|
456
|
+
};
|
|
457
|
+
constructor(map?: {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
});
|
|
460
|
+
}
|
|
417
461
|
export declare class DeleteDomainRequest extends $tea.Model {
|
|
418
462
|
domainId?: number;
|
|
419
463
|
ownerId?: number;
|
|
@@ -936,6 +980,49 @@ export declare class GetIpfilterListResponse extends $tea.Model {
|
|
|
936
980
|
[key: string]: any;
|
|
937
981
|
});
|
|
938
982
|
}
|
|
983
|
+
export declare class GetSuppressionListLevelRequest extends $tea.Model {
|
|
984
|
+
ownerId?: number;
|
|
985
|
+
resourceOwnerAccount?: string;
|
|
986
|
+
resourceOwnerId?: number;
|
|
987
|
+
static names(): {
|
|
988
|
+
[key: string]: string;
|
|
989
|
+
};
|
|
990
|
+
static types(): {
|
|
991
|
+
[key: string]: any;
|
|
992
|
+
};
|
|
993
|
+
constructor(map?: {
|
|
994
|
+
[key: string]: any;
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
export declare class GetSuppressionListLevelResponseBody extends $tea.Model {
|
|
998
|
+
requestId?: string;
|
|
999
|
+
suppressionListLevel?: string;
|
|
1000
|
+
static names(): {
|
|
1001
|
+
[key: string]: string;
|
|
1002
|
+
};
|
|
1003
|
+
static types(): {
|
|
1004
|
+
[key: string]: any;
|
|
1005
|
+
};
|
|
1006
|
+
constructor(map?: {
|
|
1007
|
+
[key: string]: any;
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
export declare class GetSuppressionListLevelResponse extends $tea.Model {
|
|
1011
|
+
headers?: {
|
|
1012
|
+
[key: string]: string;
|
|
1013
|
+
};
|
|
1014
|
+
statusCode?: number;
|
|
1015
|
+
body?: GetSuppressionListLevelResponseBody;
|
|
1016
|
+
static names(): {
|
|
1017
|
+
[key: string]: string;
|
|
1018
|
+
};
|
|
1019
|
+
static types(): {
|
|
1020
|
+
[key: string]: any;
|
|
1021
|
+
};
|
|
1022
|
+
constructor(map?: {
|
|
1023
|
+
[key: string]: any;
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
939
1026
|
export declare class GetTrackListRequest extends $tea.Model {
|
|
940
1027
|
endTime?: string;
|
|
941
1028
|
offset?: string;
|
|
@@ -1050,6 +1137,59 @@ export declare class GetTrackListByMailFromAndTagNameResponse extends $tea.Model
|
|
|
1050
1137
|
[key: string]: any;
|
|
1051
1138
|
});
|
|
1052
1139
|
}
|
|
1140
|
+
export declare class ListUserSuppressionRequest extends $tea.Model {
|
|
1141
|
+
address?: string;
|
|
1142
|
+
endBounceTime?: number;
|
|
1143
|
+
endCreateTime?: number;
|
|
1144
|
+
ownerId?: number;
|
|
1145
|
+
pageNo?: number;
|
|
1146
|
+
pageSize?: number;
|
|
1147
|
+
resourceOwnerAccount?: string;
|
|
1148
|
+
resourceOwnerId?: number;
|
|
1149
|
+
startBounceTime?: number;
|
|
1150
|
+
startCreateTime?: number;
|
|
1151
|
+
static names(): {
|
|
1152
|
+
[key: string]: string;
|
|
1153
|
+
};
|
|
1154
|
+
static types(): {
|
|
1155
|
+
[key: string]: any;
|
|
1156
|
+
};
|
|
1157
|
+
constructor(map?: {
|
|
1158
|
+
[key: string]: any;
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
export declare class ListUserSuppressionResponseBody extends $tea.Model {
|
|
1162
|
+
data?: ListUserSuppressionResponseBodyData;
|
|
1163
|
+
pageNumber?: number;
|
|
1164
|
+
pageSize?: number;
|
|
1165
|
+
requestId?: string;
|
|
1166
|
+
totalCount?: number;
|
|
1167
|
+
static names(): {
|
|
1168
|
+
[key: string]: string;
|
|
1169
|
+
};
|
|
1170
|
+
static types(): {
|
|
1171
|
+
[key: string]: any;
|
|
1172
|
+
};
|
|
1173
|
+
constructor(map?: {
|
|
1174
|
+
[key: string]: any;
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
export declare class ListUserSuppressionResponse extends $tea.Model {
|
|
1178
|
+
headers?: {
|
|
1179
|
+
[key: string]: string;
|
|
1180
|
+
};
|
|
1181
|
+
statusCode?: number;
|
|
1182
|
+
body?: ListUserSuppressionResponseBody;
|
|
1183
|
+
static names(): {
|
|
1184
|
+
[key: string]: string;
|
|
1185
|
+
};
|
|
1186
|
+
static types(): {
|
|
1187
|
+
[key: string]: any;
|
|
1188
|
+
};
|
|
1189
|
+
constructor(map?: {
|
|
1190
|
+
[key: string]: any;
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1053
1193
|
export declare class ModifyMailAddressRequest extends $tea.Model {
|
|
1054
1194
|
mailAddressId?: number;
|
|
1055
1195
|
ownerId?: number;
|
|
@@ -1536,6 +1676,49 @@ export declare class QueryTaskByParamResponse extends $tea.Model {
|
|
|
1536
1676
|
[key: string]: any;
|
|
1537
1677
|
});
|
|
1538
1678
|
}
|
|
1679
|
+
export declare class RemoveUserSuppressionRequest extends $tea.Model {
|
|
1680
|
+
ownerId?: number;
|
|
1681
|
+
resourceOwnerAccount?: string;
|
|
1682
|
+
resourceOwnerId?: number;
|
|
1683
|
+
suppressionIds?: string;
|
|
1684
|
+
static names(): {
|
|
1685
|
+
[key: string]: string;
|
|
1686
|
+
};
|
|
1687
|
+
static types(): {
|
|
1688
|
+
[key: string]: any;
|
|
1689
|
+
};
|
|
1690
|
+
constructor(map?: {
|
|
1691
|
+
[key: string]: any;
|
|
1692
|
+
});
|
|
1693
|
+
}
|
|
1694
|
+
export declare class RemoveUserSuppressionResponseBody extends $tea.Model {
|
|
1695
|
+
requestId?: string;
|
|
1696
|
+
static names(): {
|
|
1697
|
+
[key: string]: string;
|
|
1698
|
+
};
|
|
1699
|
+
static types(): {
|
|
1700
|
+
[key: string]: any;
|
|
1701
|
+
};
|
|
1702
|
+
constructor(map?: {
|
|
1703
|
+
[key: string]: any;
|
|
1704
|
+
});
|
|
1705
|
+
}
|
|
1706
|
+
export declare class RemoveUserSuppressionResponse extends $tea.Model {
|
|
1707
|
+
headers?: {
|
|
1708
|
+
[key: string]: string;
|
|
1709
|
+
};
|
|
1710
|
+
statusCode?: number;
|
|
1711
|
+
body?: RemoveUserSuppressionResponseBody;
|
|
1712
|
+
static names(): {
|
|
1713
|
+
[key: string]: string;
|
|
1714
|
+
};
|
|
1715
|
+
static types(): {
|
|
1716
|
+
[key: string]: any;
|
|
1717
|
+
};
|
|
1718
|
+
constructor(map?: {
|
|
1719
|
+
[key: string]: any;
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1539
1722
|
export declare class SaveReceiverDetailRequest extends $tea.Model {
|
|
1540
1723
|
detail?: string;
|
|
1541
1724
|
ownerId?: number;
|
|
@@ -1733,6 +1916,50 @@ export declare class SenderStatisticsDetailByParamResponse extends $tea.Model {
|
|
|
1733
1916
|
[key: string]: any;
|
|
1734
1917
|
});
|
|
1735
1918
|
}
|
|
1919
|
+
export declare class SetSuppressionListLevelRequest extends $tea.Model {
|
|
1920
|
+
ownerId?: number;
|
|
1921
|
+
resourceOwnerAccount?: string;
|
|
1922
|
+
resourceOwnerId?: number;
|
|
1923
|
+
suppressionListLevel?: string;
|
|
1924
|
+
static names(): {
|
|
1925
|
+
[key: string]: string;
|
|
1926
|
+
};
|
|
1927
|
+
static types(): {
|
|
1928
|
+
[key: string]: any;
|
|
1929
|
+
};
|
|
1930
|
+
constructor(map?: {
|
|
1931
|
+
[key: string]: any;
|
|
1932
|
+
});
|
|
1933
|
+
}
|
|
1934
|
+
export declare class SetSuppressionListLevelResponseBody extends $tea.Model {
|
|
1935
|
+
requestId?: string;
|
|
1936
|
+
suppressionListLevel?: string;
|
|
1937
|
+
static names(): {
|
|
1938
|
+
[key: string]: string;
|
|
1939
|
+
};
|
|
1940
|
+
static types(): {
|
|
1941
|
+
[key: string]: any;
|
|
1942
|
+
};
|
|
1943
|
+
constructor(map?: {
|
|
1944
|
+
[key: string]: any;
|
|
1945
|
+
});
|
|
1946
|
+
}
|
|
1947
|
+
export declare class SetSuppressionListLevelResponse extends $tea.Model {
|
|
1948
|
+
headers?: {
|
|
1949
|
+
[key: string]: string;
|
|
1950
|
+
};
|
|
1951
|
+
statusCode?: number;
|
|
1952
|
+
body?: SetSuppressionListLevelResponseBody;
|
|
1953
|
+
static names(): {
|
|
1954
|
+
[key: string]: string;
|
|
1955
|
+
};
|
|
1956
|
+
static types(): {
|
|
1957
|
+
[key: string]: any;
|
|
1958
|
+
};
|
|
1959
|
+
constructor(map?: {
|
|
1960
|
+
[key: string]: any;
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1736
1963
|
export declare class SingleSendMailRequest extends $tea.Model {
|
|
1737
1964
|
accountName?: string;
|
|
1738
1965
|
addressType?: number;
|
|
@@ -1925,6 +2152,34 @@ export declare class GetTrackListByMailFromAndTagNameResponseBodyTrackList exten
|
|
|
1925
2152
|
[key: string]: any;
|
|
1926
2153
|
});
|
|
1927
2154
|
}
|
|
2155
|
+
export declare class ListUserSuppressionResponseBodyDataUserSuppressions extends $tea.Model {
|
|
2156
|
+
address?: string;
|
|
2157
|
+
createTime?: number;
|
|
2158
|
+
lastBounceTime?: number;
|
|
2159
|
+
suppressionId?: number;
|
|
2160
|
+
type?: string;
|
|
2161
|
+
static names(): {
|
|
2162
|
+
[key: string]: string;
|
|
2163
|
+
};
|
|
2164
|
+
static types(): {
|
|
2165
|
+
[key: string]: any;
|
|
2166
|
+
};
|
|
2167
|
+
constructor(map?: {
|
|
2168
|
+
[key: string]: any;
|
|
2169
|
+
});
|
|
2170
|
+
}
|
|
2171
|
+
export declare class ListUserSuppressionResponseBodyData extends $tea.Model {
|
|
2172
|
+
userSuppressions?: ListUserSuppressionResponseBodyDataUserSuppressions[];
|
|
2173
|
+
static names(): {
|
|
2174
|
+
[key: string]: string;
|
|
2175
|
+
};
|
|
2176
|
+
static types(): {
|
|
2177
|
+
[key: string]: any;
|
|
2178
|
+
};
|
|
2179
|
+
constructor(map?: {
|
|
2180
|
+
[key: string]: any;
|
|
2181
|
+
});
|
|
2182
|
+
}
|
|
1928
2183
|
export declare class QueryDomainByParamResponseBodyDataDomain extends $tea.Model {
|
|
1929
2184
|
cnameAuthStatus?: string;
|
|
1930
2185
|
confirmStatus?: string;
|
|
@@ -2192,6 +2447,7 @@ export declare class SenderStatisticsByTagNameAndBatchIDResponseBodyData extends
|
|
|
2192
2447
|
}
|
|
2193
2448
|
export declare class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $tea.Model {
|
|
2194
2449
|
accountName?: string;
|
|
2450
|
+
errorClassification?: string;
|
|
2195
2451
|
lastUpdateTime?: string;
|
|
2196
2452
|
message?: string;
|
|
2197
2453
|
status?: number;
|
|
@@ -2243,6 +2499,8 @@ export default class Client extends OpenApi {
|
|
|
2243
2499
|
createReceiver(request: CreateReceiverRequest): Promise<CreateReceiverResponse>;
|
|
2244
2500
|
createTagWithOptions(request: CreateTagRequest, runtime: $Util.RuntimeOptions): Promise<CreateTagResponse>;
|
|
2245
2501
|
createTag(request: CreateTagRequest): Promise<CreateTagResponse>;
|
|
2502
|
+
createUserSuppressionWithOptions(request: CreateUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserSuppressionResponse>;
|
|
2503
|
+
createUserSuppression(request: CreateUserSuppressionRequest): Promise<CreateUserSuppressionResponse>;
|
|
2246
2504
|
deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse>;
|
|
2247
2505
|
deleteDomain(request: DeleteDomainRequest): Promise<DeleteDomainResponse>;
|
|
2248
2506
|
deleteInvalidAddressWithOptions(request: DeleteInvalidAddressRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInvalidAddressResponse>;
|
|
@@ -2265,10 +2523,14 @@ export default class Client extends OpenApi {
|
|
|
2265
2523
|
getIpProtection(request: GetIpProtectionRequest): Promise<GetIpProtectionResponse>;
|
|
2266
2524
|
getIpfilterListWithOptions(request: GetIpfilterListRequest, runtime: $Util.RuntimeOptions): Promise<GetIpfilterListResponse>;
|
|
2267
2525
|
getIpfilterList(request: GetIpfilterListRequest): Promise<GetIpfilterListResponse>;
|
|
2526
|
+
getSuppressionListLevelWithOptions(request: GetSuppressionListLevelRequest, runtime: $Util.RuntimeOptions): Promise<GetSuppressionListLevelResponse>;
|
|
2527
|
+
getSuppressionListLevel(request: GetSuppressionListLevelRequest): Promise<GetSuppressionListLevelResponse>;
|
|
2268
2528
|
getTrackListWithOptions(request: GetTrackListRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListResponse>;
|
|
2269
2529
|
getTrackList(request: GetTrackListRequest): Promise<GetTrackListResponse>;
|
|
2270
2530
|
getTrackListByMailFromAndTagNameWithOptions(request: GetTrackListByMailFromAndTagNameRequest, runtime: $Util.RuntimeOptions): Promise<GetTrackListByMailFromAndTagNameResponse>;
|
|
2271
2531
|
getTrackListByMailFromAndTagName(request: GetTrackListByMailFromAndTagNameRequest): Promise<GetTrackListByMailFromAndTagNameResponse>;
|
|
2532
|
+
listUserSuppressionWithOptions(request: ListUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<ListUserSuppressionResponse>;
|
|
2533
|
+
listUserSuppression(request: ListUserSuppressionRequest): Promise<ListUserSuppressionResponse>;
|
|
2272
2534
|
modifyMailAddressWithOptions(request: ModifyMailAddressRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMailAddressResponse>;
|
|
2273
2535
|
modifyMailAddress(request: ModifyMailAddressRequest): Promise<ModifyMailAddressResponse>;
|
|
2274
2536
|
modifyPWByDomainWithOptions(request: ModifyPWByDomainRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPWByDomainResponse>;
|
|
@@ -2289,6 +2551,8 @@ export default class Client extends OpenApi {
|
|
|
2289
2551
|
queryTagByParam(request: QueryTagByParamRequest): Promise<QueryTagByParamResponse>;
|
|
2290
2552
|
queryTaskByParamWithOptions(request: QueryTaskByParamRequest, runtime: $Util.RuntimeOptions): Promise<QueryTaskByParamResponse>;
|
|
2291
2553
|
queryTaskByParam(request: QueryTaskByParamRequest): Promise<QueryTaskByParamResponse>;
|
|
2554
|
+
removeUserSuppressionWithOptions(request: RemoveUserSuppressionRequest, runtime: $Util.RuntimeOptions): Promise<RemoveUserSuppressionResponse>;
|
|
2555
|
+
removeUserSuppression(request: RemoveUserSuppressionRequest): Promise<RemoveUserSuppressionResponse>;
|
|
2292
2556
|
saveReceiverDetailWithOptions(request: SaveReceiverDetailRequest, runtime: $Util.RuntimeOptions): Promise<SaveReceiverDetailResponse>;
|
|
2293
2557
|
saveReceiverDetail(request: SaveReceiverDetailRequest): Promise<SaveReceiverDetailResponse>;
|
|
2294
2558
|
sendTestByTemplateWithOptions(request: SendTestByTemplateRequest, runtime: $Util.RuntimeOptions): Promise<SendTestByTemplateResponse>;
|
|
@@ -2297,6 +2561,8 @@ export default class Client extends OpenApi {
|
|
|
2297
2561
|
senderStatisticsByTagNameAndBatchID(request: SenderStatisticsByTagNameAndBatchIDRequest): Promise<SenderStatisticsByTagNameAndBatchIDResponse>;
|
|
2298
2562
|
senderStatisticsDetailByParamWithOptions(request: SenderStatisticsDetailByParamRequest, runtime: $Util.RuntimeOptions): Promise<SenderStatisticsDetailByParamResponse>;
|
|
2299
2563
|
senderStatisticsDetailByParam(request: SenderStatisticsDetailByParamRequest): Promise<SenderStatisticsDetailByParamResponse>;
|
|
2564
|
+
setSuppressionListLevelWithOptions(request: SetSuppressionListLevelRequest, runtime: $Util.RuntimeOptions): Promise<SetSuppressionListLevelResponse>;
|
|
2565
|
+
setSuppressionListLevel(request: SetSuppressionListLevelRequest): Promise<SetSuppressionListLevelResponse>;
|
|
2300
2566
|
singleSendMailWithOptions(request: SingleSendMailRequest, runtime: $Util.RuntimeOptions): Promise<SingleSendMailResponse>;
|
|
2301
2567
|
singleSendMail(request: SingleSendMailRequest): Promise<SingleSendMailResponse>;
|
|
2302
2568
|
updateIpProtectionWithOptions(request: UpdateIpProtectionRequest, runtime: $Util.RuntimeOptions): Promise<UpdateIpProtectionResponse>;
|