tencentcloud-sdk-nodejs-tokenhub 4.1.270 → 4.1.282
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
|
@@ -130,7 +130,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
130
130
|
*/
|
|
131
131
|
CreateApiKey(req: CreateApiKeyRequest, cb?: (error: string, rep: CreateApiKeyResponse) => void): Promise<CreateApiKeyResponse>;
|
|
132
132
|
/**
|
|
133
|
-
* 创建术语库。(单个用户默认最多可以创建50
|
|
133
|
+
* 创建术语库。(单个用户默认最多可以创建50个术语库)
|
|
134
134
|
|
|
135
135
|
在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
|
|
136
136
|
*/
|
|
@@ -190,7 +190,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
190
190
|
return this.request("CreateApiKey", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* 创建术语库。(单个用户默认最多可以创建50
|
|
193
|
+
* 创建术语库。(单个用户默认最多可以创建50个术语库)
|
|
194
194
|
|
|
195
195
|
在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
|
|
196
196
|
*/
|
|
@@ -1715,59 +1715,63 @@ export interface ModifyApiKeyInfoRequest {
|
|
|
1715
1715
|
*/
|
|
1716
1716
|
export interface TokenPlanListItem {
|
|
1717
1717
|
/**
|
|
1718
|
-
*
|
|
1718
|
+
* <p>套餐 ID。</p>
|
|
1719
1719
|
*/
|
|
1720
1720
|
TeamId?: string;
|
|
1721
1721
|
/**
|
|
1722
|
-
*
|
|
1722
|
+
* <p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)</p>
|
|
1723
1723
|
*/
|
|
1724
1724
|
ProductType?: string;
|
|
1725
1725
|
/**
|
|
1726
|
-
*
|
|
1726
|
+
* <p>套餐名称。最大 128 字符。</p>
|
|
1727
1727
|
*/
|
|
1728
1728
|
Name?: string;
|
|
1729
1729
|
/**
|
|
1730
|
-
*
|
|
1730
|
+
* <p>账号 APP ID。</p>
|
|
1731
1731
|
*/
|
|
1732
1732
|
AppId?: string;
|
|
1733
1733
|
/**
|
|
1734
|
-
*
|
|
1734
|
+
* <p>主账号 UIN。</p>
|
|
1735
1735
|
*/
|
|
1736
1736
|
Uin?: string;
|
|
1737
1737
|
/**
|
|
1738
|
-
*
|
|
1738
|
+
* <p>套餐状态。取值:enable(启用)、disable(停用)。</p>
|
|
1739
1739
|
*/
|
|
1740
1740
|
Status?: string;
|
|
1741
1741
|
/**
|
|
1742
|
-
*
|
|
1742
|
+
* <p>套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)</p>
|
|
1743
1743
|
*/
|
|
1744
1744
|
StopReason?: string;
|
|
1745
1745
|
/**
|
|
1746
|
-
*
|
|
1746
|
+
* <p>可创建 API Key 上限。</p>
|
|
1747
1747
|
*/
|
|
1748
1748
|
ApiKeyMax?: number;
|
|
1749
1749
|
/**
|
|
1750
|
-
*
|
|
1750
|
+
* <p>当前已创建的 APIKey 数量</p>
|
|
1751
|
+
*/
|
|
1752
|
+
ApiKeyCount?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* <p>云计费预付费资源包 ID。</p>
|
|
1751
1755
|
*/
|
|
1752
1756
|
PrepayResourceID?: string;
|
|
1753
1757
|
/**
|
|
1754
|
-
*
|
|
1758
|
+
* <p>创建人。若为子账号创建的套餐,则该值为子账号UIN。</p>
|
|
1755
1759
|
*/
|
|
1756
1760
|
Creator?: string;
|
|
1757
1761
|
/**
|
|
1758
|
-
*
|
|
1762
|
+
* <p>创建时间。</p>
|
|
1759
1763
|
*/
|
|
1760
1764
|
CreatedAt?: string;
|
|
1761
1765
|
/**
|
|
1762
|
-
*
|
|
1766
|
+
* <p>更新时间。</p>
|
|
1763
1767
|
*/
|
|
1764
1768
|
UpdatedAt?: string;
|
|
1765
1769
|
/**
|
|
1766
|
-
*
|
|
1770
|
+
* <p>套餐包基本信息。</p>
|
|
1767
1771
|
*/
|
|
1768
1772
|
PackageInfo?: TokenPlanPackageInfo;
|
|
1769
1773
|
/**
|
|
1770
|
-
*
|
|
1774
|
+
* <p>是否开启自动续费。取值:0(未开启),1(开启)</p>
|
|
1771
1775
|
*/
|
|
1772
1776
|
AutoRenewFlag?: number;
|
|
1773
1777
|
}
|