@alicloud/dm20151123 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +399 -11
- package/dist/client.js +39 -15
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +411 -11
package/src/client.ts
CHANGED
|
@@ -196,6 +196,7 @@ export class BatchSendMailRequest extends $tea.Model {
|
|
|
196
196
|
* 0
|
|
197
197
|
*/
|
|
198
198
|
clickTrace?: string;
|
|
199
|
+
headers?: string;
|
|
199
200
|
ownerId?: number;
|
|
200
201
|
/**
|
|
201
202
|
* @remarks
|
|
@@ -229,6 +230,7 @@ export class BatchSendMailRequest extends $tea.Model {
|
|
|
229
230
|
accountName: 'AccountName',
|
|
230
231
|
addressType: 'AddressType',
|
|
231
232
|
clickTrace: 'ClickTrace',
|
|
233
|
+
headers: 'Headers',
|
|
232
234
|
ownerId: 'OwnerId',
|
|
233
235
|
receiversName: 'ReceiversName',
|
|
234
236
|
replyAddress: 'ReplyAddress',
|
|
@@ -247,6 +249,7 @@ export class BatchSendMailRequest extends $tea.Model {
|
|
|
247
249
|
accountName: 'string',
|
|
248
250
|
addressType: 'number',
|
|
249
251
|
clickTrace: 'string',
|
|
252
|
+
headers: 'string',
|
|
250
253
|
ownerId: 'number',
|
|
251
254
|
receiversName: 'string',
|
|
252
255
|
replyAddress: 'string',
|
|
@@ -908,6 +911,13 @@ export class CreateTagResponse extends $tea.Model {
|
|
|
908
911
|
}
|
|
909
912
|
|
|
910
913
|
export class CreateUserSuppressionRequest extends $tea.Model {
|
|
914
|
+
/**
|
|
915
|
+
* @remarks
|
|
916
|
+
* Email address or domain name
|
|
917
|
+
*
|
|
918
|
+
* @example
|
|
919
|
+
* test@example.net
|
|
920
|
+
*/
|
|
911
921
|
address?: string;
|
|
912
922
|
ownerId?: number;
|
|
913
923
|
resourceOwnerAccount?: string;
|
|
@@ -936,7 +946,21 @@ export class CreateUserSuppressionRequest extends $tea.Model {
|
|
|
936
946
|
}
|
|
937
947
|
|
|
938
948
|
export class CreateUserSuppressionResponseBody extends $tea.Model {
|
|
949
|
+
/**
|
|
950
|
+
* @remarks
|
|
951
|
+
* Request ID
|
|
952
|
+
*
|
|
953
|
+
* @example
|
|
954
|
+
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
955
|
+
*/
|
|
939
956
|
requestId?: string;
|
|
957
|
+
/**
|
|
958
|
+
* @remarks
|
|
959
|
+
* Invalid address number
|
|
960
|
+
*
|
|
961
|
+
* @example
|
|
962
|
+
* 59511
|
|
963
|
+
*/
|
|
940
964
|
suppressionId?: string;
|
|
941
965
|
static names(): { [key: string]: string } {
|
|
942
966
|
return {
|
|
@@ -1600,83 +1624,149 @@ export class DescAccountSummaryRequest extends $tea.Model {
|
|
|
1600
1624
|
|
|
1601
1625
|
export class DescAccountSummaryResponseBody extends $tea.Model {
|
|
1602
1626
|
/**
|
|
1627
|
+
* @remarks
|
|
1628
|
+
* Daily quota
|
|
1629
|
+
*
|
|
1603
1630
|
* @example
|
|
1604
1631
|
* 2000
|
|
1605
1632
|
*/
|
|
1606
1633
|
dailyQuota?: number;
|
|
1634
|
+
/**
|
|
1635
|
+
* @remarks
|
|
1636
|
+
* remaining amount of daily free quota
|
|
1637
|
+
*
|
|
1638
|
+
* @example
|
|
1639
|
+
* 100
|
|
1640
|
+
*/
|
|
1607
1641
|
dailyRemainFreeQuota?: number;
|
|
1608
1642
|
/**
|
|
1643
|
+
* @remarks
|
|
1644
|
+
* Dayu status (deprecated, retained for compatibility reasons.)
|
|
1645
|
+
*
|
|
1609
1646
|
* @example
|
|
1610
1647
|
* 0
|
|
1611
1648
|
*/
|
|
1612
1649
|
dayuStatus?: number;
|
|
1613
1650
|
/**
|
|
1651
|
+
* @remarks
|
|
1652
|
+
* Number of domains
|
|
1653
|
+
*
|
|
1614
1654
|
* @example
|
|
1615
1655
|
* 1
|
|
1616
1656
|
*/
|
|
1617
1657
|
domains?: number;
|
|
1618
1658
|
/**
|
|
1659
|
+
* @remarks
|
|
1660
|
+
* Effective time
|
|
1661
|
+
*
|
|
1619
1662
|
* @example
|
|
1620
1663
|
* 0
|
|
1621
1664
|
*/
|
|
1622
1665
|
enableTimes?: number;
|
|
1623
1666
|
/**
|
|
1667
|
+
* @remarks
|
|
1668
|
+
* Number of sending addresses
|
|
1669
|
+
*
|
|
1624
1670
|
* @example
|
|
1625
1671
|
* 0
|
|
1626
1672
|
*/
|
|
1627
1673
|
mailAddresses?: number;
|
|
1628
1674
|
/**
|
|
1675
|
+
* @remarks
|
|
1676
|
+
* Maximum level
|
|
1677
|
+
*
|
|
1629
1678
|
* @example
|
|
1630
1679
|
* 10
|
|
1631
1680
|
*/
|
|
1632
1681
|
maxQuotaLevel?: number;
|
|
1633
1682
|
/**
|
|
1683
|
+
* @remarks
|
|
1684
|
+
* Monthly quota
|
|
1685
|
+
*
|
|
1634
1686
|
* @example
|
|
1635
1687
|
* 60000
|
|
1636
1688
|
*/
|
|
1637
1689
|
monthQuota?: number;
|
|
1638
1690
|
/**
|
|
1691
|
+
* @remarks
|
|
1692
|
+
* Credit level
|
|
1693
|
+
*
|
|
1639
1694
|
* @example
|
|
1640
1695
|
* 2
|
|
1641
1696
|
*/
|
|
1642
1697
|
quotaLevel?: number;
|
|
1643
1698
|
/**
|
|
1699
|
+
* @remarks
|
|
1700
|
+
* Number of recipients
|
|
1701
|
+
*
|
|
1644
1702
|
* @example
|
|
1645
1703
|
* 0
|
|
1646
1704
|
*/
|
|
1647
1705
|
receivers?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* @remarks
|
|
1708
|
+
* Remaining amount of total free quota
|
|
1709
|
+
*
|
|
1710
|
+
* @example
|
|
1711
|
+
* 1910
|
|
1712
|
+
*/
|
|
1648
1713
|
remainFreeQuota?: number;
|
|
1649
1714
|
/**
|
|
1715
|
+
* @remarks
|
|
1716
|
+
* Request ID
|
|
1717
|
+
*
|
|
1650
1718
|
* @example
|
|
1651
1719
|
* 82B295BB-7E69-491F-9896-ECEAFF09E1A4
|
|
1652
1720
|
*/
|
|
1653
1721
|
requestId?: string;
|
|
1654
1722
|
/**
|
|
1723
|
+
* @remarks
|
|
1724
|
+
* Deprecated, retained for compatibility reasons.
|
|
1725
|
+
*
|
|
1655
1726
|
* @example
|
|
1656
1727
|
* 0
|
|
1657
1728
|
*/
|
|
1658
1729
|
smsRecord?: number;
|
|
1659
1730
|
/**
|
|
1731
|
+
* @remarks
|
|
1732
|
+
* Deprecated, retained for compatibility reasons.
|
|
1733
|
+
*
|
|
1660
1734
|
* @example
|
|
1661
1735
|
* 0
|
|
1662
1736
|
*/
|
|
1663
1737
|
smsSign?: number;
|
|
1664
1738
|
/**
|
|
1739
|
+
* @remarks
|
|
1740
|
+
* Deprecated, retained for compatibility reasons.
|
|
1741
|
+
*
|
|
1665
1742
|
* @example
|
|
1666
1743
|
* 0
|
|
1667
1744
|
*/
|
|
1668
1745
|
smsTemplates?: number;
|
|
1669
1746
|
/**
|
|
1747
|
+
* @remarks
|
|
1748
|
+
* Number of tags
|
|
1749
|
+
*
|
|
1670
1750
|
* @example
|
|
1671
1751
|
* 0
|
|
1672
1752
|
*/
|
|
1673
1753
|
tags?: number;
|
|
1674
1754
|
/**
|
|
1755
|
+
* @remarks
|
|
1756
|
+
* Number of templates
|
|
1757
|
+
*
|
|
1675
1758
|
* @example
|
|
1676
1759
|
* 1
|
|
1677
1760
|
*/
|
|
1678
1761
|
templates?: number;
|
|
1679
1762
|
/**
|
|
1763
|
+
* @remarks
|
|
1764
|
+
* User status:
|
|
1765
|
+
* 1 Frozen
|
|
1766
|
+
* 2 In arrears
|
|
1767
|
+
* 4 Restricted from sending
|
|
1768
|
+
* 8 Logically deleted
|
|
1769
|
+
*
|
|
1680
1770
|
* @example
|
|
1681
1771
|
* 0
|
|
1682
1772
|
*/
|
|
@@ -1760,6 +1850,8 @@ export class DescAccountSummaryResponse extends $tea.Model {
|
|
|
1760
1850
|
export class DescDomainRequest extends $tea.Model {
|
|
1761
1851
|
/**
|
|
1762
1852
|
* @remarks
|
|
1853
|
+
* The ID of the domain name.
|
|
1854
|
+
*
|
|
1763
1855
|
* This parameter is required.
|
|
1764
1856
|
*
|
|
1765
1857
|
* @example
|
|
@@ -1767,6 +1859,13 @@ export class DescDomainRequest extends $tea.Model {
|
|
|
1767
1859
|
*/
|
|
1768
1860
|
domainId?: number;
|
|
1769
1861
|
ownerId?: number;
|
|
1862
|
+
/**
|
|
1863
|
+
* @remarks
|
|
1864
|
+
* Determine whether to perform real-time DNS resolution
|
|
1865
|
+
*
|
|
1866
|
+
* @example
|
|
1867
|
+
* true
|
|
1868
|
+
*/
|
|
1770
1869
|
requireRealTimeDnsRecords?: boolean;
|
|
1771
1870
|
resourceOwnerAccount?: string;
|
|
1772
1871
|
resourceOwnerId?: number;
|
|
@@ -1797,110 +1896,243 @@ export class DescDomainRequest extends $tea.Model {
|
|
|
1797
1896
|
|
|
1798
1897
|
export class DescDomainResponseBody extends $tea.Model {
|
|
1799
1898
|
/**
|
|
1899
|
+
* @remarks
|
|
1900
|
+
* Track verification
|
|
1901
|
+
*
|
|
1800
1902
|
* @example
|
|
1801
1903
|
* 1
|
|
1802
1904
|
*/
|
|
1803
1905
|
cnameAuthStatus?: string;
|
|
1804
1906
|
/**
|
|
1907
|
+
* @remarks
|
|
1908
|
+
* CName verification flag, success: 0, failure: 1.
|
|
1909
|
+
*
|
|
1805
1910
|
* @example
|
|
1806
1911
|
* 0
|
|
1807
1912
|
*/
|
|
1808
1913
|
cnameConfirmStatus?: string;
|
|
1809
1914
|
/**
|
|
1915
|
+
* @remarks
|
|
1916
|
+
* CNAME records
|
|
1917
|
+
*
|
|
1810
1918
|
* @example
|
|
1811
1919
|
* dmtrace
|
|
1812
1920
|
*/
|
|
1813
1921
|
cnameRecord?: string;
|
|
1814
1922
|
/**
|
|
1923
|
+
* @remarks
|
|
1924
|
+
* Creation time
|
|
1925
|
+
*
|
|
1815
1926
|
* @example
|
|
1816
1927
|
* 2019-09-29T12:49Z
|
|
1817
1928
|
*/
|
|
1818
1929
|
createTime?: string;
|
|
1819
1930
|
/**
|
|
1931
|
+
* @remarks
|
|
1932
|
+
* Default domain name
|
|
1933
|
+
*
|
|
1820
1934
|
* @example
|
|
1821
1935
|
* 0
|
|
1822
1936
|
*/
|
|
1823
1937
|
defaultDomain?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* @remarks
|
|
1940
|
+
* DKIM validation flag, success: 0, failure: 1.
|
|
1941
|
+
*
|
|
1942
|
+
* @example
|
|
1943
|
+
* 0
|
|
1944
|
+
*/
|
|
1824
1945
|
dkimAuthStatus?: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* @remarks
|
|
1948
|
+
* DKIM public key
|
|
1949
|
+
*
|
|
1950
|
+
* @example
|
|
1951
|
+
* v=DKIM1; k=rsa; p=MIGfMA0GCSqGSI...
|
|
1952
|
+
*/
|
|
1825
1953
|
dkimPublicKey?: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* @remarks
|
|
1956
|
+
* DKIM HostRecord
|
|
1957
|
+
*
|
|
1958
|
+
* @example
|
|
1959
|
+
* aliyun-cn-hangzhou._domainkey.hangzhou26
|
|
1960
|
+
*/
|
|
1826
1961
|
dkimRR?: string;
|
|
1962
|
+
/**
|
|
1963
|
+
* @remarks
|
|
1964
|
+
* DMARC validation flag, success: 0, failure: 1.
|
|
1965
|
+
*
|
|
1966
|
+
* @example
|
|
1967
|
+
* 1
|
|
1968
|
+
*/
|
|
1827
1969
|
dmarcAuthStatus?: number;
|
|
1970
|
+
/**
|
|
1971
|
+
* @remarks
|
|
1972
|
+
* DMARC host record
|
|
1973
|
+
*
|
|
1974
|
+
* @example
|
|
1975
|
+
* _dmarc.xxx
|
|
1976
|
+
*/
|
|
1828
1977
|
dmarcHostRecord?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* @remarks
|
|
1980
|
+
* DMARC record
|
|
1981
|
+
*
|
|
1982
|
+
* @example
|
|
1983
|
+
* v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com
|
|
1984
|
+
*/
|
|
1829
1985
|
dmarcRecord?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* @remarks
|
|
1988
|
+
* dmarc record value resolved through public DNS
|
|
1989
|
+
*
|
|
1990
|
+
* @example
|
|
1991
|
+
* v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com
|
|
1992
|
+
*/
|
|
1830
1993
|
dnsDmarc?: string;
|
|
1831
1994
|
/**
|
|
1995
|
+
* @remarks
|
|
1996
|
+
* MX record value resolved through public DNS
|
|
1997
|
+
*
|
|
1832
1998
|
* @example
|
|
1833
1999
|
* abc-com.xxxx.com
|
|
1834
2000
|
*/
|
|
1835
2001
|
dnsMx?: string;
|
|
1836
2002
|
/**
|
|
2003
|
+
* @remarks
|
|
2004
|
+
* SPF record value resolved through public DNS
|
|
2005
|
+
*
|
|
1837
2006
|
* @example
|
|
1838
2007
|
* v=xxxx
|
|
1839
2008
|
*/
|
|
1840
2009
|
dnsSpf?: string;
|
|
1841
2010
|
/**
|
|
2011
|
+
* @remarks
|
|
2012
|
+
* TXT record value resolved through public DNS.
|
|
2013
|
+
*
|
|
1842
2014
|
* @example
|
|
1843
2015
|
* 121309ohdsa
|
|
1844
2016
|
*/
|
|
1845
2017
|
dnsTxt?: string;
|
|
1846
2018
|
/**
|
|
2019
|
+
* @remarks
|
|
2020
|
+
* The ID of the domain name.
|
|
2021
|
+
*
|
|
1847
2022
|
* @example
|
|
1848
2023
|
* 158910
|
|
1849
2024
|
*/
|
|
1850
2025
|
domainId?: string;
|
|
1851
2026
|
/**
|
|
2027
|
+
* @remarks
|
|
2028
|
+
* domain
|
|
2029
|
+
*
|
|
1852
2030
|
* @example
|
|
1853
|
-
*
|
|
2031
|
+
* example.net
|
|
1854
2032
|
*/
|
|
1855
2033
|
domainName?: string;
|
|
1856
2034
|
/**
|
|
2035
|
+
* @remarks
|
|
2036
|
+
* The status of the domain name. Indicates whether the domain name is verified and available. Valid values:
|
|
2037
|
+
*
|
|
2038
|
+
* 0: indicates that the domain name is verified and available.
|
|
2039
|
+
*
|
|
2040
|
+
* 1: indicates that the domain name fails to be verified and is unavailable.
|
|
2041
|
+
*
|
|
2042
|
+
* 2: indicates that the domain name is available, but not filed or configured with a CNAME record.
|
|
2043
|
+
*
|
|
2044
|
+
* 3: indicates that the domain name is available but not filed.
|
|
2045
|
+
*
|
|
2046
|
+
* 4: indicates that the domain name is available but not configured with a CNAME record.
|
|
2047
|
+
*
|
|
1857
2048
|
* @example
|
|
1858
2049
|
* 1
|
|
1859
2050
|
*/
|
|
1860
2051
|
domainStatus?: string;
|
|
1861
2052
|
/**
|
|
2053
|
+
* @remarks
|
|
2054
|
+
* TXT records provided by the Direct Mail console.
|
|
2055
|
+
*
|
|
1862
2056
|
* @example
|
|
1863
2057
|
* 0c40d5f125af4e42892a
|
|
1864
2058
|
*/
|
|
1865
2059
|
domainType?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* @remarks
|
|
2062
|
+
* host record
|
|
2063
|
+
*
|
|
2064
|
+
* @example
|
|
2065
|
+
* xxx
|
|
2066
|
+
*/
|
|
1866
2067
|
hostRecord?: string;
|
|
1867
2068
|
/**
|
|
2069
|
+
* @remarks
|
|
2070
|
+
* Filing status. 1 indicates that it has been filed, and 0 indicates that it has not been filed.
|
|
2071
|
+
*
|
|
1868
2072
|
* @example
|
|
1869
2073
|
* 1
|
|
1870
2074
|
*/
|
|
1871
2075
|
icpStatus?: string;
|
|
1872
2076
|
/**
|
|
2077
|
+
* @remarks
|
|
2078
|
+
* MX validation flag, success: 0, failure: 1.
|
|
2079
|
+
*
|
|
1873
2080
|
* @example
|
|
1874
2081
|
* 1
|
|
1875
2082
|
*/
|
|
1876
2083
|
mxAuthStatus?: string;
|
|
1877
2084
|
/**
|
|
2085
|
+
* @remarks
|
|
2086
|
+
* MX record
|
|
2087
|
+
*
|
|
1878
2088
|
* @example
|
|
1879
2089
|
* mx01.dm.aliyun.com
|
|
1880
2090
|
*/
|
|
1881
2091
|
mxRecord?: string;
|
|
1882
2092
|
/**
|
|
2093
|
+
* @remarks
|
|
2094
|
+
* The ID of the request.
|
|
2095
|
+
*
|
|
1883
2096
|
* @example
|
|
1884
2097
|
* 51B74264-46B4-43C8-A9A0-6B8E8BC04F34
|
|
1885
2098
|
*/
|
|
1886
2099
|
requestId?: string;
|
|
1887
2100
|
/**
|
|
2101
|
+
* @remarks
|
|
2102
|
+
* SPF validation flag, success: 0, failure: 1.
|
|
2103
|
+
*
|
|
1888
2104
|
* @example
|
|
1889
2105
|
* 1
|
|
1890
2106
|
*/
|
|
1891
2107
|
spfAuthStatus?: string;
|
|
1892
2108
|
/**
|
|
2109
|
+
* @remarks
|
|
2110
|
+
* Spf record
|
|
2111
|
+
*
|
|
1893
2112
|
* @example
|
|
1894
2113
|
* include:spf1.dm.aliyun.com
|
|
1895
2114
|
*/
|
|
1896
2115
|
spfRecord?: string;
|
|
2116
|
+
/**
|
|
2117
|
+
* @remarks
|
|
2118
|
+
* SpfRecord
|
|
2119
|
+
*
|
|
2120
|
+
* @example
|
|
2121
|
+
* v=spf1 include:spf1.dm.aliyun.com -all
|
|
2122
|
+
*/
|
|
1897
2123
|
spfRecordV2?: string;
|
|
1898
2124
|
/**
|
|
2125
|
+
* @remarks
|
|
2126
|
+
* The primary domain name.
|
|
2127
|
+
*
|
|
1899
2128
|
* @example
|
|
1900
|
-
*
|
|
2129
|
+
* example.net
|
|
1901
2130
|
*/
|
|
1902
2131
|
tlDomainName?: string;
|
|
1903
2132
|
/**
|
|
2133
|
+
* @remarks
|
|
2134
|
+
* The CNAME verification record provided by the Direct Mail console.
|
|
2135
|
+
*
|
|
1904
2136
|
* @example
|
|
1905
2137
|
* tracedm.aliyuncs.com
|
|
1906
2138
|
*/
|
|
@@ -2571,8 +2803,15 @@ export class GetTrackListByMailFromAndTagNameResponse extends $tea.Model {
|
|
|
2571
2803
|
}
|
|
2572
2804
|
|
|
2573
2805
|
export class GetUserResponseBody extends $tea.Model {
|
|
2806
|
+
/**
|
|
2807
|
+
* @remarks
|
|
2808
|
+
* Returned Content
|
|
2809
|
+
*/
|
|
2574
2810
|
data?: GetUserResponseBodyData;
|
|
2575
2811
|
/**
|
|
2812
|
+
* @remarks
|
|
2813
|
+
* Request ID
|
|
2814
|
+
*
|
|
2576
2815
|
* @example
|
|
2577
2816
|
* 10A1AD70-E48E-476D-98D9-39BD92193837
|
|
2578
2817
|
*/
|
|
@@ -2623,27 +2862,42 @@ export class GetUserResponse extends $tea.Model {
|
|
|
2623
2862
|
|
|
2624
2863
|
export class ListUserSuppressionRequest extends $tea.Model {
|
|
2625
2864
|
/**
|
|
2865
|
+
* @remarks
|
|
2866
|
+
* Email address or domain name
|
|
2867
|
+
*
|
|
2626
2868
|
* @example
|
|
2627
2869
|
* test@example.net
|
|
2628
2870
|
*/
|
|
2629
2871
|
address?: string;
|
|
2630
2872
|
/**
|
|
2873
|
+
* @remarks
|
|
2874
|
+
* End time of the last bounce hit, timestamp, accurate to the second. The span between start and end times cannot exceed 7 days.
|
|
2875
|
+
*
|
|
2631
2876
|
* @example
|
|
2632
2877
|
* 1715669077
|
|
2633
2878
|
*/
|
|
2634
2879
|
endBounceTime?: number;
|
|
2635
2880
|
/**
|
|
2881
|
+
* @remarks
|
|
2882
|
+
* End creation time, timestamp, accurate to the second. The span between start and end times cannot exceed 7 days.
|
|
2883
|
+
*
|
|
2636
2884
|
* @example
|
|
2637
2885
|
* 1715669077
|
|
2638
2886
|
*/
|
|
2639
2887
|
endCreateTime?: number;
|
|
2640
2888
|
ownerId?: number;
|
|
2641
2889
|
/**
|
|
2890
|
+
* @remarks
|
|
2891
|
+
* Current page number
|
|
2892
|
+
*
|
|
2642
2893
|
* @example
|
|
2643
2894
|
* 1
|
|
2644
2895
|
*/
|
|
2645
2896
|
pageNo?: number;
|
|
2646
2897
|
/**
|
|
2898
|
+
* @remarks
|
|
2899
|
+
* Page size
|
|
2900
|
+
*
|
|
2647
2901
|
* @example
|
|
2648
2902
|
* 10
|
|
2649
2903
|
*/
|
|
@@ -2651,11 +2905,17 @@ export class ListUserSuppressionRequest extends $tea.Model {
|
|
|
2651
2905
|
resourceOwnerAccount?: string;
|
|
2652
2906
|
resourceOwnerId?: number;
|
|
2653
2907
|
/**
|
|
2908
|
+
* @remarks
|
|
2909
|
+
* Start time of the last bounce hit, timestamp, accurate to the second.
|
|
2910
|
+
*
|
|
2654
2911
|
* @example
|
|
2655
2912
|
* 1715668852
|
|
2656
2913
|
*/
|
|
2657
2914
|
startBounceTime?: number;
|
|
2658
2915
|
/**
|
|
2916
|
+
* @remarks
|
|
2917
|
+
* Start creation time, timestamp, accurate to the second.
|
|
2918
|
+
*
|
|
2659
2919
|
* @example
|
|
2660
2920
|
* 1715668852
|
|
2661
2921
|
*/
|
|
@@ -2696,23 +2956,39 @@ export class ListUserSuppressionRequest extends $tea.Model {
|
|
|
2696
2956
|
}
|
|
2697
2957
|
|
|
2698
2958
|
export class ListUserSuppressionResponseBody extends $tea.Model {
|
|
2959
|
+
/**
|
|
2960
|
+
* @remarks
|
|
2961
|
+
* Returned results.
|
|
2962
|
+
*/
|
|
2699
2963
|
data?: ListUserSuppressionResponseBodyData;
|
|
2700
2964
|
/**
|
|
2965
|
+
* @remarks
|
|
2966
|
+
* Page number
|
|
2967
|
+
*
|
|
2701
2968
|
* @example
|
|
2702
2969
|
* 1
|
|
2703
2970
|
*/
|
|
2704
2971
|
pageNumber?: number;
|
|
2705
2972
|
/**
|
|
2973
|
+
* @remarks
|
|
2974
|
+
* Page size
|
|
2975
|
+
*
|
|
2706
2976
|
* @example
|
|
2707
2977
|
* 10
|
|
2708
2978
|
*/
|
|
2709
2979
|
pageSize?: number;
|
|
2710
2980
|
/**
|
|
2981
|
+
* @remarks
|
|
2982
|
+
* Request ID
|
|
2983
|
+
*
|
|
2711
2984
|
* @example
|
|
2712
2985
|
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
2713
2986
|
*/
|
|
2714
2987
|
requestId?: string;
|
|
2715
2988
|
/**
|
|
2989
|
+
* @remarks
|
|
2990
|
+
* Total count
|
|
2991
|
+
*
|
|
2716
2992
|
* @example
|
|
2717
2993
|
* 2
|
|
2718
2994
|
*/
|
|
@@ -3948,6 +4224,10 @@ export class RemoveUserSuppressionRequest extends $tea.Model {
|
|
|
3948
4224
|
ownerId?: number;
|
|
3949
4225
|
resourceOwnerAccount?: string;
|
|
3950
4226
|
resourceOwnerId?: number;
|
|
4227
|
+
/**
|
|
4228
|
+
* @example
|
|
4229
|
+
* 59511
|
|
4230
|
+
*/
|
|
3951
4231
|
suppressionIds?: string;
|
|
3952
4232
|
static names(): { [key: string]: string } {
|
|
3953
4233
|
return {
|
|
@@ -3973,6 +4253,10 @@ export class RemoveUserSuppressionRequest extends $tea.Model {
|
|
|
3973
4253
|
}
|
|
3974
4254
|
|
|
3975
4255
|
export class RemoveUserSuppressionResponseBody extends $tea.Model {
|
|
4256
|
+
/**
|
|
4257
|
+
* @example
|
|
4258
|
+
* 1A846D66-5EC7-551B-9687-5BF1963DCFC1
|
|
4259
|
+
*/
|
|
3976
4260
|
requestId?: string;
|
|
3977
4261
|
static names(): { [key: string]: string } {
|
|
3978
4262
|
return {
|
|
@@ -4365,21 +4649,33 @@ export class SenderStatisticsByTagNameAndBatchIDResponse extends $tea.Model {
|
|
|
4365
4649
|
|
|
4366
4650
|
export class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
4367
4651
|
/**
|
|
4652
|
+
* @remarks
|
|
4653
|
+
* Sending address. Not filled in represents all addresses.
|
|
4654
|
+
*
|
|
4368
4655
|
* @example
|
|
4369
4656
|
* s***@example.net
|
|
4370
4657
|
*/
|
|
4371
4658
|
accountName?: string;
|
|
4372
4659
|
/**
|
|
4660
|
+
* @remarks
|
|
4661
|
+
* The end time. The difference between the start time and the end time cannot exceed 30 days. Format: yyyy-MM-dd.
|
|
4662
|
+
*
|
|
4373
4663
|
* @example
|
|
4374
4664
|
* 2021-04-29 00:00
|
|
4375
4665
|
*/
|
|
4376
4666
|
endTime?: string;
|
|
4377
4667
|
/**
|
|
4668
|
+
* @remarks
|
|
4669
|
+
* The number of entries to return in the request. Valid values: 1 to 100.
|
|
4670
|
+
*
|
|
4378
4671
|
* @example
|
|
4379
4672
|
* 5
|
|
4380
4673
|
*/
|
|
4381
4674
|
length?: number;
|
|
4382
4675
|
/**
|
|
4676
|
+
* @remarks
|
|
4677
|
+
* The start position of the next page. The offset for the request. If you want to obtain more records, specify the return value of the NextStart parameter for this parameter.
|
|
4678
|
+
*
|
|
4383
4679
|
* @example
|
|
4384
4680
|
* 90f0243616#203#a***@example.net-1658817837#a***@example.net.247475288187
|
|
4385
4681
|
*/
|
|
@@ -4388,21 +4684,33 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
|
4388
4684
|
resourceOwnerAccount?: string;
|
|
4389
4685
|
resourceOwnerId?: number;
|
|
4390
4686
|
/**
|
|
4687
|
+
* @remarks
|
|
4688
|
+
* The start time. The start time can be up to 30 days earlier than the current time. Format: yyyy-MM-dd.
|
|
4689
|
+
*
|
|
4391
4690
|
* @example
|
|
4392
4691
|
* 2021-04-28 00:00
|
|
4393
4692
|
*/
|
|
4394
4693
|
startTime?: string;
|
|
4395
4694
|
/**
|
|
4695
|
+
* @remarks
|
|
4696
|
+
* The delivery status. If you leave this parameter empty, all states are included. Valid values: 0: successful, 2 invalid email address, 3: spam, and 4: failed.
|
|
4697
|
+
*
|
|
4396
4698
|
* @example
|
|
4397
4699
|
* 0
|
|
4398
4700
|
*/
|
|
4399
4701
|
status?: number;
|
|
4400
4702
|
/**
|
|
4703
|
+
* @remarks
|
|
4704
|
+
* The email tag. If you leave this parameter empty, all email tags are included.
|
|
4705
|
+
*
|
|
4401
4706
|
* @example
|
|
4402
4707
|
* EmailQuestionnaireHelioscam
|
|
4403
4708
|
*/
|
|
4404
4709
|
tagName?: string;
|
|
4405
4710
|
/**
|
|
4711
|
+
* @remarks
|
|
4712
|
+
* The recipient address. If you leave this parameter empty, all recipient addresses are included.
|
|
4713
|
+
*
|
|
4406
4714
|
* @example
|
|
4407
4715
|
* b***@example.net
|
|
4408
4716
|
*/
|
|
@@ -4446,15 +4754,25 @@ export class SenderStatisticsDetailByParamRequest extends $tea.Model {
|
|
|
4446
4754
|
|
|
4447
4755
|
export class SenderStatisticsDetailByParamResponseBody extends $tea.Model {
|
|
4448
4756
|
/**
|
|
4757
|
+
* @remarks
|
|
4758
|
+
* The start position of the next page. The return value of the NextStart parameter indicates the start position of the next page. If you want to obtain more records, specify the return value in the next request.
|
|
4759
|
+
*
|
|
4449
4760
|
* @example
|
|
4450
4761
|
* 90f0243616#203#a***@example.net-1658817689#a***@example.net.247141122178
|
|
4451
4762
|
*/
|
|
4452
4763
|
nextStart?: string;
|
|
4453
4764
|
/**
|
|
4765
|
+
* @remarks
|
|
4766
|
+
* The ID of the request.
|
|
4767
|
+
*
|
|
4454
4768
|
* @example
|
|
4455
4769
|
* B5AB8EBB-EE64-4BB2-B085-B92CC5DEDC41
|
|
4456
4770
|
*/
|
|
4457
4771
|
requestId?: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* @remarks
|
|
4774
|
+
* The response parameters.
|
|
4775
|
+
*/
|
|
4458
4776
|
data?: SenderStatisticsDetailByParamResponseBodyData;
|
|
4459
4777
|
static names(): { [key: string]: string } {
|
|
4460
4778
|
return {
|
|
@@ -4600,6 +4918,7 @@ export class SingleSendMailRequest extends $tea.Model {
|
|
|
4600
4918
|
*/
|
|
4601
4919
|
clickTrace?: string;
|
|
4602
4920
|
fromAlias?: string;
|
|
4921
|
+
headers?: string;
|
|
4603
4922
|
/**
|
|
4604
4923
|
* @example
|
|
4605
4924
|
* body
|
|
@@ -4656,6 +4975,7 @@ export class SingleSendMailRequest extends $tea.Model {
|
|
|
4656
4975
|
addressType: 'AddressType',
|
|
4657
4976
|
clickTrace: 'ClickTrace',
|
|
4658
4977
|
fromAlias: 'FromAlias',
|
|
4978
|
+
headers: 'Headers',
|
|
4659
4979
|
htmlBody: 'HtmlBody',
|
|
4660
4980
|
ownerId: 'OwnerId',
|
|
4661
4981
|
replyAddress: 'ReplyAddress',
|
|
@@ -4678,6 +4998,7 @@ export class SingleSendMailRequest extends $tea.Model {
|
|
|
4678
4998
|
addressType: 'number',
|
|
4679
4999
|
clickTrace: 'string',
|
|
4680
5000
|
fromAlias: 'string',
|
|
5001
|
+
headers: 'string',
|
|
4681
5002
|
htmlBody: 'string',
|
|
4682
5003
|
ownerId: 'number',
|
|
4683
5004
|
replyAddress: 'string',
|
|
@@ -4835,6 +5156,10 @@ export class UpdateIpProtectionResponse extends $tea.Model {
|
|
|
4835
5156
|
}
|
|
4836
5157
|
|
|
4837
5158
|
export class UpdateUserRequest extends $tea.Model {
|
|
5159
|
+
/**
|
|
5160
|
+
* @remarks
|
|
5161
|
+
* User Information
|
|
5162
|
+
*/
|
|
4838
5163
|
user?: UpdateUserRequestUser;
|
|
4839
5164
|
static names(): { [key: string]: string } {
|
|
4840
5165
|
return {
|
|
@@ -4854,6 +5179,10 @@ export class UpdateUserRequest extends $tea.Model {
|
|
|
4854
5179
|
}
|
|
4855
5180
|
|
|
4856
5181
|
export class UpdateUserShrinkRequest extends $tea.Model {
|
|
5182
|
+
/**
|
|
5183
|
+
* @remarks
|
|
5184
|
+
* User Information
|
|
5185
|
+
*/
|
|
4857
5186
|
userShrink?: string;
|
|
4858
5187
|
static names(): { [key: string]: string } {
|
|
4859
5188
|
return {
|
|
@@ -5187,6 +5516,9 @@ export class GetTrackListByMailFromAndTagNameResponseBodyTrackList extends $tea.
|
|
|
5187
5516
|
|
|
5188
5517
|
export class GetUserResponseBodyData extends $tea.Model {
|
|
5189
5518
|
/**
|
|
5519
|
+
* @remarks
|
|
5520
|
+
* Whether EventBridge is enabled
|
|
5521
|
+
*
|
|
5190
5522
|
* @example
|
|
5191
5523
|
* true
|
|
5192
5524
|
*/
|
|
@@ -5210,29 +5542,45 @@ export class GetUserResponseBodyData extends $tea.Model {
|
|
|
5210
5542
|
|
|
5211
5543
|
export class ListUserSuppressionResponseBodyDataUserSuppressions extends $tea.Model {
|
|
5212
5544
|
/**
|
|
5545
|
+
* @remarks
|
|
5546
|
+
* Email address or domain name
|
|
5547
|
+
*
|
|
5213
5548
|
* @example
|
|
5214
5549
|
* test@example.net
|
|
5215
5550
|
*/
|
|
5216
5551
|
address?: string;
|
|
5217
5552
|
/**
|
|
5553
|
+
* @remarks
|
|
5554
|
+
* Creation time, timestamp, accurate to the second.
|
|
5555
|
+
*
|
|
5218
5556
|
* @example
|
|
5219
5557
|
* 1715667435
|
|
5220
5558
|
*/
|
|
5221
5559
|
createTime?: number;
|
|
5222
5560
|
/**
|
|
5561
|
+
* @remarks
|
|
5562
|
+
* Last bounce hit time, timestamp, accurate to the second.
|
|
5563
|
+
*
|
|
5223
5564
|
* @example
|
|
5224
5565
|
* 1715667451
|
|
5225
5566
|
*/
|
|
5226
5567
|
lastBounceTime?: number;
|
|
5227
5568
|
/**
|
|
5569
|
+
* @remarks
|
|
5570
|
+
* Invalid address ID
|
|
5571
|
+
*
|
|
5228
5572
|
* @example
|
|
5229
5573
|
* 59511
|
|
5230
5574
|
*/
|
|
5231
5575
|
suppressionId?: number;
|
|
5232
5576
|
/**
|
|
5233
|
-
* @
|
|
5577
|
+
* @remarks
|
|
5578
|
+
* Source of entry, invalid address type
|
|
5234
5579
|
* - system
|
|
5235
5580
|
* - user
|
|
5581
|
+
*
|
|
5582
|
+
* @example
|
|
5583
|
+
* user
|
|
5236
5584
|
*/
|
|
5237
5585
|
type?: string;
|
|
5238
5586
|
static names(): { [key: string]: string } {
|
|
@@ -5982,33 +6330,70 @@ export class SenderStatisticsByTagNameAndBatchIDResponseBodyData extends $tea.Mo
|
|
|
5982
6330
|
|
|
5983
6331
|
export class SenderStatisticsDetailByParamResponseBodyDataMailDetail extends $tea.Model {
|
|
5984
6332
|
/**
|
|
6333
|
+
* @remarks
|
|
6334
|
+
* The sender address.
|
|
6335
|
+
*
|
|
5985
6336
|
* @example
|
|
5986
6337
|
* s***@example.net
|
|
5987
6338
|
*/
|
|
5988
6339
|
accountName?: string;
|
|
6340
|
+
/**
|
|
6341
|
+
* @remarks
|
|
6342
|
+
* Detailed classification of error causes:
|
|
6343
|
+
*
|
|
6344
|
+
* - SendOk
|
|
6345
|
+
* - SmtpNxBox
|
|
6346
|
+
*
|
|
6347
|
+
* etc.
|
|
6348
|
+
*
|
|
6349
|
+
* @example
|
|
6350
|
+
* SendOk
|
|
6351
|
+
*/
|
|
5989
6352
|
errorClassification?: string;
|
|
5990
6353
|
/**
|
|
6354
|
+
* @remarks
|
|
6355
|
+
* The most recent update time.
|
|
6356
|
+
*
|
|
5991
6357
|
* @example
|
|
5992
6358
|
* 2021-04-28T17:11Z
|
|
5993
6359
|
*/
|
|
5994
6360
|
lastUpdateTime?: string;
|
|
5995
6361
|
/**
|
|
6362
|
+
* @remarks
|
|
6363
|
+
* The details of the email.
|
|
6364
|
+
*
|
|
5996
6365
|
* @example
|
|
5997
6366
|
* 250 Send Mail OK
|
|
5998
6367
|
*/
|
|
5999
6368
|
message?: string;
|
|
6000
6369
|
/**
|
|
6370
|
+
* @remarks
|
|
6371
|
+
* The delivery status. Valid values: 0: successful, 2 invalid email address, 3: spam, and 4: failed.
|
|
6372
|
+
*
|
|
6001
6373
|
* @example
|
|
6002
6374
|
* 0
|
|
6003
6375
|
*/
|
|
6004
6376
|
status?: number;
|
|
6377
|
+
/**
|
|
6378
|
+
* @remarks
|
|
6379
|
+
* the subject of email.
|
|
6380
|
+
*
|
|
6381
|
+
* @example
|
|
6382
|
+
* test subject
|
|
6383
|
+
*/
|
|
6005
6384
|
subject?: string;
|
|
6006
6385
|
/**
|
|
6386
|
+
* @remarks
|
|
6387
|
+
* The recipient address.
|
|
6388
|
+
*
|
|
6007
6389
|
* @example
|
|
6008
6390
|
* b***@example.net
|
|
6009
6391
|
*/
|
|
6010
6392
|
toAddress?: string;
|
|
6011
6393
|
/**
|
|
6394
|
+
* @remarks
|
|
6395
|
+
* The most recent update time (timestamp format)
|
|
6396
|
+
*
|
|
6012
6397
|
* @example
|
|
6013
6398
|
* 1619601108
|
|
6014
6399
|
*/
|
|
@@ -6065,6 +6450,9 @@ export class SenderStatisticsDetailByParamResponseBodyData extends $tea.Model {
|
|
|
6065
6450
|
|
|
6066
6451
|
export class UpdateUserRequestUser extends $tea.Model {
|
|
6067
6452
|
/**
|
|
6453
|
+
* @remarks
|
|
6454
|
+
* Whether EventBridge is enabled
|
|
6455
|
+
*
|
|
6068
6456
|
* @example
|
|
6069
6457
|
* true
|
|
6070
6458
|
*/
|
|
@@ -6239,6 +6627,10 @@ export default class Client extends OpenApi {
|
|
|
6239
6627
|
query["ClickTrace"] = request.clickTrace;
|
|
6240
6628
|
}
|
|
6241
6629
|
|
|
6630
|
+
if (!Util.isUnset(request.headers)) {
|
|
6631
|
+
query["Headers"] = request.headers;
|
|
6632
|
+
}
|
|
6633
|
+
|
|
6242
6634
|
if (!Util.isUnset(request.ownerId)) {
|
|
6243
6635
|
query["OwnerId"] = request.ownerId;
|
|
6244
6636
|
}
|
|
@@ -6656,7 +7048,7 @@ export default class Client extends OpenApi {
|
|
|
6656
7048
|
}
|
|
6657
7049
|
|
|
6658
7050
|
/**
|
|
6659
|
-
*
|
|
7051
|
+
* Create User\\"s Invalid Address
|
|
6660
7052
|
*
|
|
6661
7053
|
* @param request - CreateUserSuppressionRequest
|
|
6662
7054
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6699,7 +7091,7 @@ export default class Client extends OpenApi {
|
|
|
6699
7091
|
}
|
|
6700
7092
|
|
|
6701
7093
|
/**
|
|
6702
|
-
*
|
|
7094
|
+
* Create User\\"s Invalid Address
|
|
6703
7095
|
*
|
|
6704
7096
|
* @param request - CreateUserSuppressionRequest
|
|
6705
7097
|
* @returns CreateUserSuppressionResponse
|
|
@@ -7096,6 +7488,8 @@ export default class Client extends OpenApi {
|
|
|
7096
7488
|
}
|
|
7097
7489
|
|
|
7098
7490
|
/**
|
|
7491
|
+
* Retrieve account information.
|
|
7492
|
+
*
|
|
7099
7493
|
* @param request - DescAccountSummaryRequest
|
|
7100
7494
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7101
7495
|
* @returns DescAccountSummaryResponse
|
|
@@ -7133,6 +7527,8 @@ export default class Client extends OpenApi {
|
|
|
7133
7527
|
}
|
|
7134
7528
|
|
|
7135
7529
|
/**
|
|
7530
|
+
* Retrieve account information.
|
|
7531
|
+
*
|
|
7136
7532
|
* @param request - DescAccountSummaryRequest
|
|
7137
7533
|
* @returns DescAccountSummaryResponse
|
|
7138
7534
|
*/
|
|
@@ -7530,7 +7926,7 @@ export default class Client extends OpenApi {
|
|
|
7530
7926
|
}
|
|
7531
7927
|
|
|
7532
7928
|
/**
|
|
7533
|
-
*
|
|
7929
|
+
* Get Account Details
|
|
7534
7930
|
*
|
|
7535
7931
|
* @param request - GetUserRequest
|
|
7536
7932
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7553,7 +7949,7 @@ export default class Client extends OpenApi {
|
|
|
7553
7949
|
}
|
|
7554
7950
|
|
|
7555
7951
|
/**
|
|
7556
|
-
*
|
|
7952
|
+
* Get Account Details
|
|
7557
7953
|
* @returns GetUserResponse
|
|
7558
7954
|
*/
|
|
7559
7955
|
async getUser(): Promise<GetUserResponse> {
|
|
@@ -7562,7 +7958,7 @@ export default class Client extends OpenApi {
|
|
|
7562
7958
|
}
|
|
7563
7959
|
|
|
7564
7960
|
/**
|
|
7565
|
-
*
|
|
7961
|
+
* List User Invalid Addresses.
|
|
7566
7962
|
*
|
|
7567
7963
|
* @param request - ListUserSuppressionRequest
|
|
7568
7964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7629,7 +8025,7 @@ export default class Client extends OpenApi {
|
|
|
7629
8025
|
}
|
|
7630
8026
|
|
|
7631
8027
|
/**
|
|
7632
|
-
*
|
|
8028
|
+
* List User Invalid Addresses.
|
|
7633
8029
|
*
|
|
7634
8030
|
* @param request - ListUserSuppressionRequest
|
|
7635
8031
|
* @returns ListUserSuppressionResponse
|
|
@@ -8693,6 +9089,10 @@ export default class Client extends OpenApi {
|
|
|
8693
9089
|
query["FromAlias"] = request.fromAlias;
|
|
8694
9090
|
}
|
|
8695
9091
|
|
|
9092
|
+
if (!Util.isUnset(request.headers)) {
|
|
9093
|
+
query["Headers"] = request.headers;
|
|
9094
|
+
}
|
|
9095
|
+
|
|
8696
9096
|
if (!Util.isUnset(request.htmlBody)) {
|
|
8697
9097
|
query["HtmlBody"] = request.htmlBody;
|
|
8698
9098
|
}
|
|
@@ -8828,7 +9228,7 @@ export default class Client extends OpenApi {
|
|
|
8828
9228
|
}
|
|
8829
9229
|
|
|
8830
9230
|
/**
|
|
8831
|
-
*
|
|
9231
|
+
* Update account information
|
|
8832
9232
|
*
|
|
8833
9233
|
* @param tmpReq - UpdateUserRequest
|
|
8834
9234
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8865,7 +9265,7 @@ export default class Client extends OpenApi {
|
|
|
8865
9265
|
}
|
|
8866
9266
|
|
|
8867
9267
|
/**
|
|
8868
|
-
*
|
|
9268
|
+
* Update account information
|
|
8869
9269
|
*
|
|
8870
9270
|
* @param request - UpdateUserRequest
|
|
8871
9271
|
* @returns UpdateUserResponse
|