tencentcloud-sdk-nodejs-tokenhub 4.1.268 → 4.1.271

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tokenhub",
3
- "version": "4.1.268",
3
+ "version": "4.1.271",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -19,7 +19,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
19
19
  */
20
20
  RenewTokenPlanTeamOrder(req: RenewTokenPlanTeamOrderRequest, cb?: (error: string, rep: RenewTokenPlanTeamOrderResponse) => void): Promise<RenewTokenPlanTeamOrderResponse>;
21
21
  /**
22
- * 购买套餐。
22
+ * 购买套餐(重新开通过期的套餐续费也通过该接口实现,需要额外传已过期套餐teamId。注:续费成功后套餐包总周期数(TotalCycles)会包含历史周期数,实际套餐包生效周期以生效时间(StartTime)和到期时间(ExpireTime)为准)。
23
23
 
24
24
  发起 TokenPlan 套餐下单并完成支付,成功后返回大订单 ID 及关联的子订单、资源信息。
25
25
  */
@@ -58,6 +58,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
58
58
  * 批量创建术语条目。
59
59
 
60
60
  在指定术语库下批量创建术语条目。单次最多创建 100 条。
61
+ 单个术语库默认最多总共可以创建10000个术语对
61
62
  */
62
63
  CreateGlossaryEntries(req: CreateGlossaryEntriesRequest, cb?: (error: string, rep: CreateGlossaryEntriesResponse) => void): Promise<CreateGlossaryEntriesResponse>;
63
64
  /**
@@ -129,7 +130,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
129
130
  */
130
131
  CreateApiKey(req: CreateApiKeyRequest, cb?: (error: string, rep: CreateApiKeyResponse) => void): Promise<CreateApiKeyResponse>;
131
132
  /**
132
- * 创建术语库。
133
+ * 创建术语库。(单个用户默认最多可以创建50个术语库,支持加白)
133
134
 
134
135
  在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
135
136
  */
@@ -45,7 +45,7 @@ class Client extends TencentCloudCommon.AbstractClient {
45
45
  return this.request("RenewTokenPlanTeamOrder", req, cb);
46
46
  }
47
47
  /**
48
- * 购买套餐。
48
+ * 购买套餐(重新开通过期的套餐续费也通过该接口实现,需要额外传已过期套餐teamId。注:续费成功后套餐包总周期数(TotalCycles)会包含历史周期数,实际套餐包生效周期以生效时间(StartTime)和到期时间(ExpireTime)为准)。
49
49
 
50
50
  发起 TokenPlan 套餐下单并完成支付,成功后返回大订单 ID 及关联的子订单、资源信息。
51
51
  */
@@ -96,6 +96,7 @@ class Client extends TencentCloudCommon.AbstractClient {
96
96
  * 批量创建术语条目。
97
97
 
98
98
  在指定术语库下批量创建术语条目。单次最多创建 100 条。
99
+ 单个术语库默认最多总共可以创建10000个术语对
99
100
  */
100
101
  async CreateGlossaryEntries(req, cb) {
101
102
  return this.request("CreateGlossaryEntries", req, cb);
@@ -189,7 +190,7 @@ class Client extends TencentCloudCommon.AbstractClient {
189
190
  return this.request("CreateApiKey", req, cb);
190
191
  }
191
192
  /**
192
- * 创建术语库。
193
+ * 创建术语库。(单个用户默认最多可以创建50个术语库,支持加白)
193
194
 
194
195
  在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
195
196
  */
@@ -317,25 +317,29 @@ export interface DeleteEndpointResponse {
317
317
  */
318
318
  export interface CreateTokenPlanTeamOrderAndBuyRequest {
319
319
  /**
320
- * 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。
320
+ * <p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。</p>
321
321
  */
322
322
  ProductType: string;
323
323
  /**
324
- * 套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符
324
+ * <p>套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符</p>
325
325
  */
326
326
  TeamName: string;
327
327
  /**
328
- * 购买时长。单位:月。必须大于 0
328
+ * <p>购买时长。单位:月。必须大于 0,支持1个月~12个月。</p>
329
329
  */
330
330
  TimeSpan: number;
331
331
  /**
332
- * 购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens
332
+ * <p>购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens。</p>
333
333
  */
334
334
  CreditOrToken: number;
335
335
  /**
336
- * 是否开启自动续费。默认不开启。
336
+ * <p>是否开启自动续费。默认不开启。</p>
337
337
  */
338
338
  EnableAutoRenew?: boolean;
339
+ /**
340
+ * <p>已有套餐 ID(非空时走过期续费,空时走新购)</p>
341
+ */
342
+ TeamId?: string;
339
343
  }
340
344
  /**
341
345
  * CreateEndpoint请求参数结构体
@@ -2365,7 +2369,7 @@ export interface ModifyApiKeyStatusResponse {
2365
2369
  */
2366
2370
  export interface CreateTokenPlanTeamOrderAndBuyResponse {
2367
2371
  /**
2368
- * 腾讯云订单 ID。用于关联一次购买操作下的所有子订单。
2372
+ * <p>腾讯云订单 ID。用于关联一次购买操作下的所有子订单。</p>
2369
2373
  */
2370
2374
  BigOrderId?: string;
2371
2375
  /**