@alicloud/dm20151123 1.4.0 → 1.5.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 +15 -0
- package/dist/client.js +57 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescAccountSummaryResponseBody.d.ts +5 -0
- package/dist/models/DescAccountSummaryResponseBody.js +2 -0
- package/dist/models/DescAccountSummaryResponseBody.js.map +1 -1
- package/dist/models/ListBlockSendingRequest.d.ts +51 -0
- package/dist/models/ListBlockSendingRequest.js +70 -0
- package/dist/models/ListBlockSendingRequest.js.map +1 -0
- package/dist/models/ListBlockSendingResponse.d.ts +19 -0
- package/dist/models/ListBlockSendingResponse.js +69 -0
- package/dist/models/ListBlockSendingResponse.js.map +1 -0
- package/dist/models/ListBlockSendingResponseBody.d.ts +66 -0
- package/dist/models/ListBlockSendingResponseBody.js +94 -0
- package/dist/models/ListBlockSendingResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +13 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +66 -0
- package/src/models/DescAccountSummaryResponseBody.ts +7 -0
- package/src/models/ListBlockSendingRequest.ts +76 -0
- package/src/models/ListBlockSendingResponse.ts +40 -0
- package/src/models/ListBlockSendingResponseBody.ts +106 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListBlockSendingResponseBody } from "./ListBlockSendingResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListBlockSendingResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListBlockSendingResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListBlockSendingResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListBlockSendingResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxx@rcpt.com
|
|
9
|
+
*/
|
|
10
|
+
blockEmail?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1723259364
|
|
14
|
+
*/
|
|
15
|
+
blockTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1
|
|
19
|
+
*/
|
|
20
|
+
reason?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1723249364
|
|
24
|
+
*/
|
|
25
|
+
sendTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* xxxx@sender.com
|
|
29
|
+
*/
|
|
30
|
+
senderEmail?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
blockEmail: 'BlockEmail',
|
|
34
|
+
blockTime: 'BlockTime',
|
|
35
|
+
reason: 'Reason',
|
|
36
|
+
sendTime: 'SendTime',
|
|
37
|
+
senderEmail: 'SenderEmail',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
blockEmail: 'string',
|
|
44
|
+
blockTime: 'number',
|
|
45
|
+
reason: 'number',
|
|
46
|
+
sendTime: 'number',
|
|
47
|
+
senderEmail: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class ListBlockSendingResponseBody extends $dara.Model {
|
|
61
|
+
data?: ListBlockSendingResponseBodyData[];
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 50
|
|
65
|
+
*/
|
|
66
|
+
maxResults?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* xxxxyyyy
|
|
70
|
+
*/
|
|
71
|
+
nextToken?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
75
|
+
*/
|
|
76
|
+
requestId?: string;
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
data: 'Data',
|
|
80
|
+
maxResults: 'MaxResults',
|
|
81
|
+
nextToken: 'NextToken',
|
|
82
|
+
requestId: 'RequestId',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
data: { 'type': 'array', 'itemType': ListBlockSendingResponseBodyData },
|
|
89
|
+
maxResults: 'number',
|
|
90
|
+
nextToken: 'string',
|
|
91
|
+
requestId: 'string',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(Array.isArray(this.data)) {
|
|
97
|
+
$dara.Model.validateArray(this.data);
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { GetTrackListResponseBodyData } from './GetTrackListResponseBody';
|
|
|
10
10
|
export { GetTrackListByMailFromAndTagNameResponseBodyTrackListStat } from './GetTrackListByMailFromAndTagNameResponseBody';
|
|
11
11
|
export { GetTrackListByMailFromAndTagNameResponseBodyTrackList } from './GetTrackListByMailFromAndTagNameResponseBody';
|
|
12
12
|
export { GetUserResponseBodyData } from './GetUserResponseBody';
|
|
13
|
+
export { ListBlockSendingResponseBodyData } from './ListBlockSendingResponseBody';
|
|
13
14
|
export { ListUserSuppressionResponseBodyDataUserSuppressions } from './ListUserSuppressionResponseBody';
|
|
14
15
|
export { ListUserSuppressionResponseBodyData } from './ListUserSuppressionResponseBody';
|
|
15
16
|
export { QueryDomainByParamResponseBodyDataDomain } from './QueryDomainByParamResponseBody';
|
|
@@ -135,6 +136,9 @@ export { GetTrackListByMailFromAndTagNameResponseBody } from './GetTrackListByMa
|
|
|
135
136
|
export { GetTrackListByMailFromAndTagNameResponse } from './GetTrackListByMailFromAndTagNameResponse';
|
|
136
137
|
export { GetUserResponseBody } from './GetUserResponseBody';
|
|
137
138
|
export { GetUserResponse } from './GetUserResponse';
|
|
139
|
+
export { ListBlockSendingRequest } from './ListBlockSendingRequest';
|
|
140
|
+
export { ListBlockSendingResponseBody } from './ListBlockSendingResponseBody';
|
|
141
|
+
export { ListBlockSendingResponse } from './ListBlockSendingResponse';
|
|
138
142
|
export { ListUserSuppressionRequest } from './ListUserSuppressionRequest';
|
|
139
143
|
export { ListUserSuppressionResponseBody } from './ListUserSuppressionResponseBody';
|
|
140
144
|
export { ListUserSuppressionResponse } from './ListUserSuppressionResponse';
|