tencentcloud-sdk-nodejs-ses 4.1.45 → 4.1.47

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.
@@ -33,6 +33,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
33
33
  async ListBlackEmailAddress(req, cb) {
34
34
  return this.request("ListBlackEmailAddress", req, cb);
35
35
  }
36
+ async ListAddressUnsubscribeConfig(req, cb) {
37
+ return this.request("ListAddressUnsubscribeConfig", req, cb);
38
+ }
36
39
  async UpdateEmailTemplate(req, cb) {
37
40
  return this.request("UpdateEmailTemplate", req, cb);
38
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ses",
3
- "version": "4.1.45",
3
+ "version": "4.1.47",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { BatchSendEmailRequest, GetEmailTemplateRequest, ListSendTasksResponse, CreateReceiverResponse, CreateCustomBlacklistRequest, ListEmailAddressResponse, ListEmailAddressRequest, UpdateCustomBlackListResponse, UpdateEmailSmtpPassWordResponse, ListReceiversRequest, GetEmailIdentityResponse, ListBlackEmailAddressRequest, ListSendTasksRequest, GetSendEmailStatusResponse, DeleteBlackListRequest, BatchSendEmailResponse, DeleteEmailIdentityRequest, UpdateEmailIdentityRequest, GetEmailIdentityRequest, DeleteEmailIdentityResponse, GetStatisticsReportRequest, CreateCustomBlacklistResponse, CreateReceiverRequest, ListReceiverDetailsResponse, DeleteEmailTemplateResponse, UpdateCustomBlackListRequest, CreateEmailIdentityRequest, ListCustomBlacklistRequest, UpdateEmailSmtpPassWordRequest, UpdateEmailIdentityResponse, CreateEmailTemplateRequest, DeleteBlackListResponse, DeleteCustomBlackListRequest, UpdateEmailTemplateRequest, ListCustomBlacklistResponse, ListEmailTemplatesRequest, CreateReceiverDetailWithDataResponse, CreateReceiverDetailResponse, DeleteReceiverResponse, ListEmailTemplatesResponse, SendEmailResponse, SendEmailRequest, ListBlackEmailAddressResponse, GetSendEmailStatusRequest, DeleteReceiverRequest, ListEmailIdentitiesResponse, DeleteEmailTemplateRequest, GetStatisticsReportResponse, DeleteEmailAddressRequest, DeleteEmailAddressResponse, CreateEmailIdentityResponse, ListReceiverDetailsRequest, CreateEmailAddressRequest, DeleteCustomBlackListResponse, CreateReceiverDetailRequest, CreateEmailTemplateResponse, ListReceiversResponse, CreateEmailAddressResponse, UpdateEmailTemplateResponse, CreateReceiverDetailWithDataRequest, GetEmailTemplateResponse, ListEmailIdentitiesRequest } from "./ses_models";
2
+ import { BatchSendEmailRequest, GetEmailTemplateRequest, ListSendTasksResponse, CreateReceiverResponse, CreateCustomBlacklistRequest, ListEmailAddressResponse, ListEmailAddressRequest, UpdateCustomBlackListResponse, UpdateEmailSmtpPassWordResponse, ListReceiversRequest, GetEmailIdentityResponse, ListBlackEmailAddressRequest, ListSendTasksRequest, ListAddressUnsubscribeConfigResponse, GetSendEmailStatusResponse, DeleteBlackListRequest, BatchSendEmailResponse, DeleteEmailIdentityRequest, ListAddressUnsubscribeConfigRequest, UpdateEmailIdentityRequest, GetEmailIdentityRequest, DeleteEmailIdentityResponse, GetStatisticsReportRequest, CreateCustomBlacklistResponse, CreateReceiverRequest, ListReceiverDetailsResponse, DeleteEmailTemplateResponse, UpdateCustomBlackListRequest, CreateEmailIdentityRequest, ListCustomBlacklistRequest, UpdateEmailSmtpPassWordRequest, UpdateEmailIdentityResponse, CreateEmailTemplateRequest, DeleteBlackListResponse, DeleteCustomBlackListRequest, UpdateEmailTemplateRequest, ListCustomBlacklistResponse, ListEmailTemplatesRequest, CreateReceiverDetailWithDataResponse, CreateReceiverDetailResponse, DeleteReceiverResponse, ListEmailTemplatesResponse, SendEmailResponse, SendEmailRequest, ListBlackEmailAddressResponse, GetSendEmailStatusRequest, DeleteReceiverRequest, ListEmailIdentitiesResponse, DeleteEmailTemplateRequest, GetStatisticsReportResponse, DeleteEmailAddressRequest, DeleteEmailAddressResponse, CreateEmailIdentityResponse, ListReceiverDetailsRequest, CreateEmailAddressRequest, DeleteCustomBlackListResponse, CreateReceiverDetailRequest, CreateEmailTemplateResponse, ListReceiversResponse, CreateEmailAddressResponse, UpdateEmailTemplateResponse, CreateReceiverDetailWithDataRequest, GetEmailTemplateResponse, ListEmailIdentitiesRequest } from "./ses_models";
3
3
  /**
4
4
  * ses client
5
5
  * @class
@@ -46,6 +46,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
46
46
  * 腾讯云发送的邮件一旦被收件方判断为硬退(Hard Bounce),腾讯云会拉黑该地址,并不允许所有用户向该地址发送邮件。成为邮箱黑名单。如果业务方确认是误判,可以从黑名单中删除。
47
47
  */
48
48
  ListBlackEmailAddress(req: ListBlackEmailAddressRequest, cb?: (error: string, rep: ListBlackEmailAddressResponse) => void): Promise<ListBlackEmailAddressResponse>;
49
+ /**
50
+ * 获取地址级退订配置列表
51
+ */
52
+ ListAddressUnsubscribeConfig(req: ListAddressUnsubscribeConfigRequest, cb?: (error: string, rep: ListAddressUnsubscribeConfigResponse) => void): Promise<ListAddressUnsubscribeConfigResponse>;
49
53
  /**
50
54
  * 更新邮件模板,更新后需再次审核
51
55
  */
@@ -88,6 +88,12 @@ class Client extends TencentCloudCommon.AbstractClient {
88
88
  async ListBlackEmailAddress(req, cb) {
89
89
  return this.request("ListBlackEmailAddress", req, cb);
90
90
  }
91
+ /**
92
+ * 获取地址级退订配置列表
93
+ */
94
+ async ListAddressUnsubscribeConfig(req, cb) {
95
+ return this.request("ListAddressUnsubscribeConfig", req, cb);
96
+ }
91
97
  /**
92
98
  * 更新邮件模板,更新后需再次审核
93
99
  */
@@ -269,6 +269,23 @@ export interface ListSendTasksRequest {
269
269
  */
270
270
  TaskType?: number;
271
271
  }
272
+ /**
273
+ * ListAddressUnsubscribeConfig返回参数结构体
274
+ */
275
+ export interface ListAddressUnsubscribeConfigResponse {
276
+ /**
277
+ * 地址级退订配置
278
+ */
279
+ AddressUnsubscribeConfigList?: Array<AddressUnsubscribeConfigData>;
280
+ /**
281
+ * 总数
282
+ */
283
+ Total?: number;
284
+ /**
285
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
286
+ */
287
+ RequestId?: string;
288
+ }
272
289
  /**
273
290
  * GetSendEmailStatus返回参数结构体
274
291
  */
@@ -389,43 +406,17 @@ export interface DeleteEmailIdentityRequest {
389
406
  EmailIdentity: string;
390
407
  }
391
408
  /**
392
- * 统计数据的结构体
409
+ * ListAddressUnsubscribeConfig请求参数结构体
393
410
  */
394
- export interface Volume {
395
- /**
396
- * 日期
397
- 注意:此字段可能返回 null,表示取不到有效值。
398
- */
399
- SendDate?: string;
400
- /**
401
- * 邮件请求数量
402
- */
403
- RequestCount?: number;
404
- /**
405
- * 腾讯云通过数量
406
- */
407
- AcceptedCount?: number;
408
- /**
409
- * 送达数量
410
- */
411
- DeliveredCount?: number;
412
- /**
413
- * 打开邮件的用户数量,根据收件人去重
414
- */
415
- OpenedCount?: number;
416
- /**
417
- * 点击了邮件中的链接数量用户数量
418
- */
419
- ClickedCount?: number;
411
+ export interface ListAddressUnsubscribeConfigRequest {
420
412
  /**
421
- * 退信数量
413
+ * 偏移量
422
414
  */
423
- BounceCount?: number;
415
+ Offset?: number;
424
416
  /**
425
- * 取消订阅的用户数量
426
- 注意:此字段可能返回 null,表示取不到有效值。
417
+ * 拉取最大条数,不超过100
427
418
  */
428
- UnsubscribeCount?: number;
419
+ Limit?: string;
429
420
  }
430
421
  /**
431
422
  * UpdateEmailIdentity请求参数结构体
@@ -641,6 +632,23 @@ export interface UpdateCustomBlackListRequest {
641
632
  */
642
633
  ExpireDate?: string;
643
634
  }
635
+ /**
636
+ * 地址级退订配置
637
+ */
638
+ export interface AddressUnsubscribeConfigData {
639
+ /**
640
+ * 发信地址
641
+ */
642
+ Address?: string;
643
+ /**
644
+ * 退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语
645
+ */
646
+ UnsubscribeConfig?: string;
647
+ /**
648
+ * 0:关闭,1:开启
649
+ */
650
+ Status?: number;
651
+ }
644
652
  /**
645
653
  * CreateEmailIdentity请求参数结构体
646
654
  */
@@ -1131,6 +1139,45 @@ export interface Simple {
1131
1139
  */
1132
1140
  Text?: string;
1133
1141
  }
1142
+ /**
1143
+ * 统计数据的结构体
1144
+ */
1145
+ export interface Volume {
1146
+ /**
1147
+ * 日期
1148
+ 注意:此字段可能返回 null,表示取不到有效值。
1149
+ */
1150
+ SendDate?: string;
1151
+ /**
1152
+ * 邮件请求数量
1153
+ */
1154
+ RequestCount?: number;
1155
+ /**
1156
+ * 腾讯云通过数量
1157
+ */
1158
+ AcceptedCount?: number;
1159
+ /**
1160
+ * 送达数量
1161
+ */
1162
+ DeliveredCount?: number;
1163
+ /**
1164
+ * 打开邮件的用户数量,根据收件人去重
1165
+ */
1166
+ OpenedCount?: number;
1167
+ /**
1168
+ * 点击了邮件中的链接数量用户数量
1169
+ */
1170
+ ClickedCount?: number;
1171
+ /**
1172
+ * 退信数量
1173
+ */
1174
+ BounceCount?: number;
1175
+ /**
1176
+ * 取消订阅的用户数量
1177
+ 注意:此字段可能返回 null,表示取不到有效值。
1178
+ */
1179
+ UnsubscribeCount?: number;
1180
+ }
1134
1181
  /**
1135
1182
  * DeleteReceiver请求参数结构体
1136
1183
  */