@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/dist/client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -162,6 +172,7 @@ class BatchSendMailRequest extends $tea.Model {
|
|
|
162
172
|
accountName: 'AccountName',
|
|
163
173
|
addressType: 'AddressType',
|
|
164
174
|
clickTrace: 'ClickTrace',
|
|
175
|
+
headers: 'Headers',
|
|
165
176
|
ownerId: 'OwnerId',
|
|
166
177
|
receiversName: 'ReceiversName',
|
|
167
178
|
replyAddress: 'ReplyAddress',
|
|
@@ -179,6 +190,7 @@ class BatchSendMailRequest extends $tea.Model {
|
|
|
179
190
|
accountName: 'string',
|
|
180
191
|
addressType: 'number',
|
|
181
192
|
clickTrace: 'string',
|
|
193
|
+
headers: 'string',
|
|
182
194
|
ownerId: 'number',
|
|
183
195
|
receiversName: 'string',
|
|
184
196
|
replyAddress: 'string',
|
|
@@ -2853,6 +2865,7 @@ class SingleSendMailRequest extends $tea.Model {
|
|
|
2853
2865
|
addressType: 'AddressType',
|
|
2854
2866
|
clickTrace: 'ClickTrace',
|
|
2855
2867
|
fromAlias: 'FromAlias',
|
|
2868
|
+
headers: 'Headers',
|
|
2856
2869
|
htmlBody: 'HtmlBody',
|
|
2857
2870
|
ownerId: 'OwnerId',
|
|
2858
2871
|
replyAddress: 'ReplyAddress',
|
|
@@ -2874,6 +2887,7 @@ class SingleSendMailRequest extends $tea.Model {
|
|
|
2874
2887
|
addressType: 'number',
|
|
2875
2888
|
clickTrace: 'string',
|
|
2876
2889
|
fromAlias: 'string',
|
|
2890
|
+
headers: 'string',
|
|
2877
2891
|
htmlBody: 'string',
|
|
2878
2892
|
ownerId: 'number',
|
|
2879
2893
|
replyAddress: 'string',
|
|
@@ -3829,6 +3843,9 @@ class Client extends openapi_client_1.default {
|
|
|
3829
3843
|
if (!tea_util_1.default.isUnset(request.clickTrace)) {
|
|
3830
3844
|
query["ClickTrace"] = request.clickTrace;
|
|
3831
3845
|
}
|
|
3846
|
+
if (!tea_util_1.default.isUnset(request.headers)) {
|
|
3847
|
+
query["Headers"] = request.headers;
|
|
3848
|
+
}
|
|
3832
3849
|
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3833
3850
|
query["OwnerId"] = request.ownerId;
|
|
3834
3851
|
}
|
|
@@ -4191,7 +4208,7 @@ class Client extends openapi_client_1.default {
|
|
|
4191
4208
|
return await this.createTagWithOptions(request, runtime);
|
|
4192
4209
|
}
|
|
4193
4210
|
/**
|
|
4194
|
-
*
|
|
4211
|
+
* Create User\\"s Invalid Address
|
|
4195
4212
|
*
|
|
4196
4213
|
* @param request - CreateUserSuppressionRequest
|
|
4197
4214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4229,7 +4246,7 @@ class Client extends openapi_client_1.default {
|
|
|
4229
4246
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateUserSuppressionResponse({}));
|
|
4230
4247
|
}
|
|
4231
4248
|
/**
|
|
4232
|
-
*
|
|
4249
|
+
* Create User\\"s Invalid Address
|
|
4233
4250
|
*
|
|
4234
4251
|
* @param request - CreateUserSuppressionRequest
|
|
4235
4252
|
* @returns CreateUserSuppressionResponse
|
|
@@ -4581,6 +4598,8 @@ class Client extends openapi_client_1.default {
|
|
|
4581
4598
|
return await this.deleteTagWithOptions(request, runtime);
|
|
4582
4599
|
}
|
|
4583
4600
|
/**
|
|
4601
|
+
* Retrieve account information.
|
|
4602
|
+
*
|
|
4584
4603
|
* @param request - DescAccountSummaryRequest
|
|
4585
4604
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4586
4605
|
* @returns DescAccountSummaryResponse
|
|
@@ -4614,6 +4633,8 @@ class Client extends openapi_client_1.default {
|
|
|
4614
4633
|
return $tea.cast(await this.callApi(params, req, runtime), new DescAccountSummaryResponse({}));
|
|
4615
4634
|
}
|
|
4616
4635
|
/**
|
|
4636
|
+
* Retrieve account information.
|
|
4637
|
+
*
|
|
4617
4638
|
* @param request - DescAccountSummaryRequest
|
|
4618
4639
|
* @returns DescAccountSummaryResponse
|
|
4619
4640
|
*/
|
|
@@ -4958,7 +4979,7 @@ class Client extends openapi_client_1.default {
|
|
|
4958
4979
|
return await this.getTrackListByMailFromAndTagNameWithOptions(request, runtime);
|
|
4959
4980
|
}
|
|
4960
4981
|
/**
|
|
4961
|
-
*
|
|
4982
|
+
* Get Account Details
|
|
4962
4983
|
*
|
|
4963
4984
|
* @param request - GetUserRequest
|
|
4964
4985
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4980,7 +5001,7 @@ class Client extends openapi_client_1.default {
|
|
|
4980
5001
|
return $tea.cast(await this.callApi(params, req, runtime), new GetUserResponse({}));
|
|
4981
5002
|
}
|
|
4982
5003
|
/**
|
|
4983
|
-
*
|
|
5004
|
+
* Get Account Details
|
|
4984
5005
|
* @returns GetUserResponse
|
|
4985
5006
|
*/
|
|
4986
5007
|
async getUser() {
|
|
@@ -4988,7 +5009,7 @@ class Client extends openapi_client_1.default {
|
|
|
4988
5009
|
return await this.getUserWithOptions(runtime);
|
|
4989
5010
|
}
|
|
4990
5011
|
/**
|
|
4991
|
-
*
|
|
5012
|
+
* List User Invalid Addresses.
|
|
4992
5013
|
*
|
|
4993
5014
|
* @param request - ListUserSuppressionRequest
|
|
4994
5015
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5044,7 +5065,7 @@ class Client extends openapi_client_1.default {
|
|
|
5044
5065
|
return $tea.cast(await this.callApi(params, req, runtime), new ListUserSuppressionResponse({}));
|
|
5045
5066
|
}
|
|
5046
5067
|
/**
|
|
5047
|
-
*
|
|
5068
|
+
* List User Invalid Addresses.
|
|
5048
5069
|
*
|
|
5049
5070
|
* @param request - ListUserSuppressionRequest
|
|
5050
5071
|
* @returns ListUserSuppressionResponse
|
|
@@ -5963,6 +5984,9 @@ class Client extends openapi_client_1.default {
|
|
|
5963
5984
|
if (!tea_util_1.default.isUnset(request.fromAlias)) {
|
|
5964
5985
|
query["FromAlias"] = request.fromAlias;
|
|
5965
5986
|
}
|
|
5987
|
+
if (!tea_util_1.default.isUnset(request.headers)) {
|
|
5988
|
+
query["Headers"] = request.headers;
|
|
5989
|
+
}
|
|
5966
5990
|
if (!tea_util_1.default.isUnset(request.htmlBody)) {
|
|
5967
5991
|
query["HtmlBody"] = request.htmlBody;
|
|
5968
5992
|
}
|
|
@@ -6077,7 +6101,7 @@ class Client extends openapi_client_1.default {
|
|
|
6077
6101
|
return await this.updateIpProtectionWithOptions(request, runtime);
|
|
6078
6102
|
}
|
|
6079
6103
|
/**
|
|
6080
|
-
*
|
|
6104
|
+
* Update account information
|
|
6081
6105
|
*
|
|
6082
6106
|
* @param tmpReq - UpdateUserRequest
|
|
6083
6107
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6111,7 +6135,7 @@ class Client extends openapi_client_1.default {
|
|
|
6111
6135
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserResponse({}));
|
|
6112
6136
|
}
|
|
6113
6137
|
/**
|
|
6114
|
-
*
|
|
6138
|
+
* Update account information
|
|
6115
6139
|
*
|
|
6116
6140
|
* @param request - UpdateUserRequest
|
|
6117
6141
|
* @returns UpdateUserResponse
|