tencentcloud-sdk-nodejs 4.1.261 → 4.1.262
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/es/common/sdk_version.js +1 -1
- package/es/services/adp/v20260520/adp_client.js +63 -12
- package/es/services/cfw/v20190904/cfw_client.js +12 -0
- package/es/services/ess/v20201111/ess_client.js +6 -0
- package/es/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/es/services/tke/v20180525/tke_client.js +5 -2
- package/es/services/vclm/v20240523/vclm_client.js +8 -41
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +81 -13
- package/tencentcloud/services/adp/v20260520/adp_client.js +120 -18
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +781 -179
- package/tencentcloud/services/as/v20180419/as_models.d.ts +5 -7
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +19 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +25 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +597 -303
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +41 -25
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +70 -54
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +27 -11
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +1 -1
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +136 -61
- package/tencentcloud/services/es/v20180416/es_models.d.ts +18 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +26 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +29 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +139 -82
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +26 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +29 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +126 -162
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +14 -23
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +35 -17
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +4 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +12 -26
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +5 -11
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +20 -21
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +59 -33
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +4 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +38 -22
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +6 -2
- package/tencentcloud/services/rce/v20250425/rce_models.d.ts +131 -13
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +14 -11
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +8 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +62 -67
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +20 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +9 -23
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +7 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +9 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +42 -13
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +354 -134
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +9 -53
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +12 -78
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1169 -1666
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +121 -18
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +10 -18
|
@@ -15,40 +15,6 @@ export interface DescribeTokenPlanListResponse {
|
|
|
15
15
|
*/
|
|
16
16
|
RequestId?: string;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* 绑定资源项
|
|
20
|
-
*/
|
|
21
|
-
export interface BindingItem {
|
|
22
|
-
/**
|
|
23
|
-
* 资源 ID(模型 ID 或服务 ID)。
|
|
24
|
-
*/
|
|
25
|
-
ResourceId: string;
|
|
26
|
-
/**
|
|
27
|
-
* 资源类型。取值:endpoint(服务)、model(模型)。
|
|
28
|
-
*/
|
|
29
|
-
ResourceType: string;
|
|
30
|
-
/**
|
|
31
|
-
* 资源状态
|
|
32
|
-
*/
|
|
33
|
-
Status?: string;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* DescribeTokenPlanApiKeySecret返回参数结构体
|
|
37
|
-
*/
|
|
38
|
-
export interface DescribeTokenPlanApiKeySecretResponse {
|
|
39
|
-
/**
|
|
40
|
-
* APIKey ID。
|
|
41
|
-
*/
|
|
42
|
-
ApiKeyId?: string;
|
|
43
|
-
/**
|
|
44
|
-
* APIKey 密钥值(明文)。请妥善保管。
|
|
45
|
-
*/
|
|
46
|
-
ApiKey?: string;
|
|
47
|
-
/**
|
|
48
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
49
|
-
*/
|
|
50
|
-
RequestId?: string;
|
|
51
|
-
}
|
|
52
18
|
/**
|
|
53
19
|
* Token Plan API Key 列表项
|
|
54
20
|
*/
|
|
@@ -122,6 +88,69 @@ export interface TokenPlanApiKeyListItem {
|
|
|
122
88
|
*/
|
|
123
89
|
ProductType?: string;
|
|
124
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* 绑定资源项
|
|
93
|
+
*/
|
|
94
|
+
export interface BindingItem {
|
|
95
|
+
/**
|
|
96
|
+
* 资源 ID(模型 ID 或服务 ID)。
|
|
97
|
+
*/
|
|
98
|
+
ResourceId: string;
|
|
99
|
+
/**
|
|
100
|
+
* 资源类型。取值:endpoint(服务)、model(模型)。
|
|
101
|
+
*/
|
|
102
|
+
ResourceType: string;
|
|
103
|
+
/**
|
|
104
|
+
* 资源状态
|
|
105
|
+
*/
|
|
106
|
+
Status?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* DescribeTokenPlanApiKeySecret返回参数结构体
|
|
110
|
+
*/
|
|
111
|
+
export interface DescribeTokenPlanApiKeySecretResponse {
|
|
112
|
+
/**
|
|
113
|
+
* APIKey ID。
|
|
114
|
+
*/
|
|
115
|
+
ApiKeyId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* APIKey 密钥值(明文)。请妥善保管。
|
|
118
|
+
*/
|
|
119
|
+
ApiKey?: string;
|
|
120
|
+
/**
|
|
121
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
122
|
+
*/
|
|
123
|
+
RequestId?: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* 模型计费信息
|
|
127
|
+
*/
|
|
128
|
+
export interface ModelChargingInfo {
|
|
129
|
+
/**
|
|
130
|
+
* 计费类型。取值:Uniform(统一计费)、Tiered(阶梯计费)。
|
|
131
|
+
*/
|
|
132
|
+
Type?: string;
|
|
133
|
+
/**
|
|
134
|
+
* 计费名称,阶梯计费时表示区间标识,统一计费为空。
|
|
135
|
+
*/
|
|
136
|
+
Name?: string;
|
|
137
|
+
/**
|
|
138
|
+
* 计费场景,用于区分同一产品不同功能的计费。
|
|
139
|
+
*/
|
|
140
|
+
Scenario?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 计费条目列表,顺序即前端展示顺序。
|
|
143
|
+
*/
|
|
144
|
+
ChargingItems?: Array<ModelChargingItem>;
|
|
145
|
+
/**
|
|
146
|
+
* 计费单位。取值:TOKEN(词元)、COUNT(次)、CREDIT(积分)、PICTURE(张)。
|
|
147
|
+
*/
|
|
148
|
+
ChargeUnit?: string;
|
|
149
|
+
/**
|
|
150
|
+
* 计费参考链接。
|
|
151
|
+
*/
|
|
152
|
+
Reference?: string;
|
|
153
|
+
}
|
|
125
154
|
/**
|
|
126
155
|
* 批量创建成功项
|
|
127
156
|
*/
|
|
@@ -365,77 +394,13 @@ export interface UsageRankItem {
|
|
|
365
394
|
Series?: UsageSeries;
|
|
366
395
|
}
|
|
367
396
|
/**
|
|
368
|
-
*
|
|
397
|
+
* 模型图标信息
|
|
369
398
|
*/
|
|
370
|
-
export interface
|
|
371
|
-
/**
|
|
372
|
-
* API Key ID。
|
|
373
|
-
*/
|
|
374
|
-
ApiKeyId?: string;
|
|
375
|
-
/**
|
|
376
|
-
* API Key 密钥值(脱敏)。
|
|
377
|
-
*/
|
|
378
|
-
ApiKey?: string;
|
|
379
|
-
/**
|
|
380
|
-
* API Key 名称。
|
|
381
|
-
*/
|
|
382
|
-
Name?: string;
|
|
399
|
+
export interface ModelImage {
|
|
383
400
|
/**
|
|
384
|
-
*
|
|
401
|
+
* 图标 URL。
|
|
385
402
|
*/
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* 账号APP ID。
|
|
389
|
-
*/
|
|
390
|
-
AppId?: string;
|
|
391
|
-
/**
|
|
392
|
-
* 主账号 UIN。
|
|
393
|
-
*/
|
|
394
|
-
Uin?: string;
|
|
395
|
-
/**
|
|
396
|
-
* API Key 可用模型列表(JSON 数组字符串)。
|
|
397
|
-
*/
|
|
398
|
-
AllowedModels?: string;
|
|
399
|
-
/**
|
|
400
|
-
* API Key 是否可用。取值:enable(启用)、disable(停用)。
|
|
401
|
-
*/
|
|
402
|
-
Status?: string;
|
|
403
|
-
/**
|
|
404
|
-
* API Key 停用原因。取值:NORMAL(正常,默认值),QUOTA_EXHAUSTED(API Key额度包耗尽),ABNORMAL(异常,需人工介入)
|
|
405
|
-
*/
|
|
406
|
-
StopReason?: string;
|
|
407
|
-
/**
|
|
408
|
-
* 用户侧开关。取值:enable(启用)、disable(停用)。
|
|
409
|
-
*/
|
|
410
|
-
UseStatus?: string;
|
|
411
|
-
/**
|
|
412
|
-
* 密钥版本号。
|
|
413
|
-
*/
|
|
414
|
-
KeyVersion?: number;
|
|
415
|
-
/**
|
|
416
|
-
* 最近一次重置时间。(ISO 8601)
|
|
417
|
-
*/
|
|
418
|
-
LastRotatedAt?: string;
|
|
419
|
-
/**
|
|
420
|
-
* 创建人,如果是子账号创建,则该值为子账号UIN。
|
|
421
|
-
*/
|
|
422
|
-
Creator?: string;
|
|
423
|
-
/**
|
|
424
|
-
* 创建时间。
|
|
425
|
-
*/
|
|
426
|
-
CreatedAt?: string;
|
|
427
|
-
/**
|
|
428
|
-
* 更新时间。
|
|
429
|
-
*/
|
|
430
|
-
UpdatedAt?: string;
|
|
431
|
-
/**
|
|
432
|
-
* TPM 限制(Tokens Per Minute)。
|
|
433
|
-
*/
|
|
434
|
-
TPM?: number;
|
|
435
|
-
/**
|
|
436
|
-
* 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
|
|
437
|
-
*/
|
|
438
|
-
ProductType?: string;
|
|
403
|
+
Url?: string;
|
|
439
404
|
}
|
|
440
405
|
/**
|
|
441
406
|
* DescribeModelList请求参数结构体
|
|
@@ -467,33 +432,21 @@ export interface DescribeApiKeyListRequest {
|
|
|
467
432
|
Sorts?: Array<RequestSort>;
|
|
468
433
|
}
|
|
469
434
|
/**
|
|
470
|
-
*
|
|
435
|
+
* 修改术语条目项
|
|
471
436
|
*/
|
|
472
|
-
export interface
|
|
473
|
-
/**
|
|
474
|
-
* <p>[tokens 族]总 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[12,null,15]"</code>。</p>
|
|
475
|
-
*/
|
|
476
|
-
TotalToken?: string;
|
|
477
|
-
/**
|
|
478
|
-
* <p>[tokens 族]输入 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[7,null,9]"</code>。</p>
|
|
479
|
-
*/
|
|
480
|
-
InputTotalToken?: string;
|
|
481
|
-
/**
|
|
482
|
-
* <p>[tokens 族]输出 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[5,null,6]"</code>。</p>
|
|
483
|
-
*/
|
|
484
|
-
OutputTotalToken?: string;
|
|
437
|
+
export interface ModifyGlossaryEntryInput {
|
|
485
438
|
/**
|
|
486
|
-
*
|
|
439
|
+
* 术语条目 ID。可通过 DescribeGlossaryEntries 接口获取。
|
|
487
440
|
*/
|
|
488
|
-
|
|
441
|
+
EntryId: string;
|
|
489
442
|
/**
|
|
490
|
-
*
|
|
443
|
+
* 源语言术语。最大 1000 字符。不传则保持不变。
|
|
491
444
|
*/
|
|
492
|
-
|
|
445
|
+
SourceTerm?: string;
|
|
493
446
|
/**
|
|
494
|
-
*
|
|
447
|
+
* 目标语言术语。最大 1000 字符。不传则保持不变。
|
|
495
448
|
*/
|
|
496
|
-
|
|
449
|
+
TargetTerm?: string;
|
|
497
450
|
}
|
|
498
451
|
/**
|
|
499
452
|
* CreateGlossary请求参数结构体
|
|
@@ -567,6 +520,79 @@ export interface DescribeGlossaryEntriesRequest {
|
|
|
567
520
|
*/
|
|
568
521
|
PageSize?: number;
|
|
569
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Token Plan API Key 详情
|
|
525
|
+
*/
|
|
526
|
+
export interface TokenPlanApiKeyInfo {
|
|
527
|
+
/**
|
|
528
|
+
* API Key ID。
|
|
529
|
+
*/
|
|
530
|
+
ApiKeyId?: string;
|
|
531
|
+
/**
|
|
532
|
+
* API Key 密钥值(脱敏)。
|
|
533
|
+
*/
|
|
534
|
+
ApiKey?: string;
|
|
535
|
+
/**
|
|
536
|
+
* API Key 名称。
|
|
537
|
+
*/
|
|
538
|
+
Name?: string;
|
|
539
|
+
/**
|
|
540
|
+
* 所属套餐 ID。
|
|
541
|
+
*/
|
|
542
|
+
TeamId?: string;
|
|
543
|
+
/**
|
|
544
|
+
* 账号APP ID。
|
|
545
|
+
*/
|
|
546
|
+
AppId?: string;
|
|
547
|
+
/**
|
|
548
|
+
* 主账号 UIN。
|
|
549
|
+
*/
|
|
550
|
+
Uin?: string;
|
|
551
|
+
/**
|
|
552
|
+
* API Key 可用模型列表(JSON 数组字符串)。
|
|
553
|
+
*/
|
|
554
|
+
AllowedModels?: string;
|
|
555
|
+
/**
|
|
556
|
+
* API Key 是否可用。取值:enable(启用)、disable(停用)。
|
|
557
|
+
*/
|
|
558
|
+
Status?: string;
|
|
559
|
+
/**
|
|
560
|
+
* API Key 停用原因。取值:NORMAL(正常,默认值),QUOTA_EXHAUSTED(API Key额度包耗尽),ABNORMAL(异常,需人工介入)
|
|
561
|
+
*/
|
|
562
|
+
StopReason?: string;
|
|
563
|
+
/**
|
|
564
|
+
* 用户侧开关。取值:enable(启用)、disable(停用)。
|
|
565
|
+
*/
|
|
566
|
+
UseStatus?: string;
|
|
567
|
+
/**
|
|
568
|
+
* 密钥版本号。
|
|
569
|
+
*/
|
|
570
|
+
KeyVersion?: number;
|
|
571
|
+
/**
|
|
572
|
+
* 最近一次重置时间。(ISO 8601)
|
|
573
|
+
*/
|
|
574
|
+
LastRotatedAt?: string;
|
|
575
|
+
/**
|
|
576
|
+
* 创建人,如果是子账号创建,则该值为子账号UIN。
|
|
577
|
+
*/
|
|
578
|
+
Creator?: string;
|
|
579
|
+
/**
|
|
580
|
+
* 创建时间。
|
|
581
|
+
*/
|
|
582
|
+
CreatedAt?: string;
|
|
583
|
+
/**
|
|
584
|
+
* 更新时间。
|
|
585
|
+
*/
|
|
586
|
+
UpdatedAt?: string;
|
|
587
|
+
/**
|
|
588
|
+
* TPM 限制(Tokens Per Minute)。
|
|
589
|
+
*/
|
|
590
|
+
TPM?: number;
|
|
591
|
+
/**
|
|
592
|
+
* 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
|
|
593
|
+
*/
|
|
594
|
+
ProductType?: string;
|
|
595
|
+
}
|
|
570
596
|
/**
|
|
571
597
|
* DeleteGlossaryEntries请求参数结构体
|
|
572
598
|
*/
|
|
@@ -637,21 +663,13 @@ export interface DescribeApiKeyRequest {
|
|
|
637
663
|
ApiKey?: string;
|
|
638
664
|
}
|
|
639
665
|
/**
|
|
640
|
-
*
|
|
666
|
+
* 模型访问信息
|
|
641
667
|
*/
|
|
642
|
-
export interface
|
|
668
|
+
export interface ModelAccessInfo {
|
|
643
669
|
/**
|
|
644
|
-
*
|
|
645
|
-
*/
|
|
646
|
-
EntryId: string;
|
|
647
|
-
/**
|
|
648
|
-
* 源语言术语。最大 1000 字符。不传则保持不变。
|
|
649
|
-
*/
|
|
650
|
-
SourceTerm?: string;
|
|
651
|
-
/**
|
|
652
|
-
* 目标语言术语。最大 1000 字符。不传则保持不变。
|
|
670
|
+
* 各站点的地域可用性列表。为空时表示未配置地域信息,模型不可用。
|
|
653
671
|
*/
|
|
654
|
-
|
|
672
|
+
ModelSiteRegions?: Array<ModelSiteRegion>;
|
|
655
673
|
}
|
|
656
674
|
/**
|
|
657
675
|
* ModifyTokenPlanApiKey请求参数结构体
|
|
@@ -710,6 +728,14 @@ export interface TokenSummaryBillingItem {
|
|
|
710
728
|
* DescribeModelList返回参数结构体
|
|
711
729
|
*/
|
|
712
730
|
export interface DescribeModelListResponse {
|
|
731
|
+
/**
|
|
732
|
+
* <p>模型列表。</p>
|
|
733
|
+
*/
|
|
734
|
+
ModelSet?: Array<Model>;
|
|
735
|
+
/**
|
|
736
|
+
* <p>符合条件的模型总数。</p>
|
|
737
|
+
*/
|
|
738
|
+
TotalCount?: number;
|
|
713
739
|
/**
|
|
714
740
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
715
741
|
*/
|
|
@@ -753,6 +779,27 @@ export interface RequestSort {
|
|
|
753
779
|
*/
|
|
754
780
|
Order: string;
|
|
755
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* 计费条目
|
|
784
|
+
*/
|
|
785
|
+
export interface ModelChargingItem {
|
|
786
|
+
/**
|
|
787
|
+
* 价格维度标识。取值:Input(输入)、Output(输出)、Cache(缓存命中)、Thinking(思考)、BatchInput(批量输入)、BatchOutput(批量输出)、BatchCache(批量缓存命中)、ImageInput(输入图片)、ImageOutput(输出图片)、Search(搜索调用)。
|
|
788
|
+
*/
|
|
789
|
+
PriceName?: string;
|
|
790
|
+
/**
|
|
791
|
+
* 价格维度展示名,后端直接提供当前语言文本(如 输入、Input),前端无需翻译。
|
|
792
|
+
*/
|
|
793
|
+
DisplayName?: string;
|
|
794
|
+
/**
|
|
795
|
+
* 价格数值。
|
|
796
|
+
*/
|
|
797
|
+
Price?: string;
|
|
798
|
+
/**
|
|
799
|
+
* 价格单位,后端直接提供当前语言文本(如 元/百万tokens、元/张、积分/次)。
|
|
800
|
+
*/
|
|
801
|
+
PriceUnit?: string;
|
|
802
|
+
}
|
|
756
803
|
/**
|
|
757
804
|
* Token Plan 套餐列表项
|
|
758
805
|
*/
|
|
@@ -916,6 +963,19 @@ export interface DeleteTokenPlanApiKeyResponse {
|
|
|
916
963
|
*/
|
|
917
964
|
RequestId?: string;
|
|
918
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* 模型上线的站点、地域信息
|
|
968
|
+
*/
|
|
969
|
+
export interface ModelSiteRegion {
|
|
970
|
+
/**
|
|
971
|
+
* 站点标识。取值:domestic(国内站)、international(国际站)。
|
|
972
|
+
*/
|
|
973
|
+
Site?: string;
|
|
974
|
+
/**
|
|
975
|
+
* 该站点下可用的地域列表,遵循腾讯云标准地域编码(如 ap-guangzhou、ap-beijing、ap-singapore、na-siliconvalley 等)。为空数组时表示该站点无可用地域。
|
|
976
|
+
*/
|
|
977
|
+
Regions?: Array<string>;
|
|
978
|
+
}
|
|
919
979
|
/**
|
|
920
980
|
* DescribeTokenPlanApiKeyUsageDetail请求参数结构体
|
|
921
981
|
*/
|
|
@@ -1029,6 +1089,35 @@ export interface CreateGlossaryEntriesRequest {
|
|
|
1029
1089
|
*/
|
|
1030
1090
|
Entries: Array<GlossaryEntryInput>;
|
|
1031
1091
|
}
|
|
1092
|
+
/**
|
|
1093
|
+
* 用量时间周期内的时序点列表(按 metric key 索引)。为 JSON 数组的字符串形式,数组长度与响应 Timestamps 一致,无数据点处为 null。具体包含哪些 key 由响应 MetricKeys 决定。
|
|
1094
|
+
*/
|
|
1095
|
+
export interface UsageSeries {
|
|
1096
|
+
/**
|
|
1097
|
+
* <p>[tokens 族]总 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[12,null,15]"</code>。</p>
|
|
1098
|
+
*/
|
|
1099
|
+
TotalToken?: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>[tokens 族]输入 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[7,null,9]"</code>。</p>
|
|
1102
|
+
*/
|
|
1103
|
+
InputTotalToken?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>[tokens 族]输出 token 数用量时间周期内的 JSON 字符串形式,如 <code>"[5,null,6]"</code>。</p>
|
|
1106
|
+
*/
|
|
1107
|
+
OutputTotalToken?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>[tokens 族]读缓存 token 数用量时间周期内的 JSON 字符串形式,如<code>"[5,null,6]"</code>。</p>
|
|
1110
|
+
*/
|
|
1111
|
+
CacheTotalToken?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>[search 族] 搜索请求数用量时间周期内的 JSON 字符串形式,如<code>"[5,null,6]"</code>。</p>
|
|
1114
|
+
*/
|
|
1115
|
+
SearchRequestCount?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>[search 族] 搜索引擎调用次数用量时间周期内的 JSON 字符串形式,如<code>"[5,null,6]"</code>。</p>
|
|
1118
|
+
*/
|
|
1119
|
+
SearchCount?: string;
|
|
1120
|
+
}
|
|
1032
1121
|
/**
|
|
1033
1122
|
* API 密钥详情
|
|
1034
1123
|
*/
|
|
@@ -1131,6 +1220,83 @@ export interface DescribeGlossariesResponse {
|
|
|
1131
1220
|
*/
|
|
1132
1221
|
RequestId?: string;
|
|
1133
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* 模型信息
|
|
1225
|
+
*/
|
|
1226
|
+
export interface Model {
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>模型名称</p>
|
|
1229
|
+
*/
|
|
1230
|
+
ModelName?: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* <p>模型 ID。</p>
|
|
1233
|
+
*/
|
|
1234
|
+
ModelId?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>模型显示名称。</p>
|
|
1237
|
+
*/
|
|
1238
|
+
DisplayName?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* <p>模型描述。</p>
|
|
1241
|
+
*/
|
|
1242
|
+
Description?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* <p>模型概要。</p>
|
|
1245
|
+
*/
|
|
1246
|
+
Summary?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* <p>模型类型。取值:Text(文本)、Vision(视觉)、Multimodal(多模态)、Speech(语音)、Embedding(向量)。</p><p>枚举值:</p><ul><li>Text: 语言模型</li><li>Vision: 视觉模型</li><li>Multimodal: 多模态模型</li></ul>
|
|
1249
|
+
*/
|
|
1250
|
+
ModelType?: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>模型品牌。</p>
|
|
1253
|
+
*/
|
|
1254
|
+
Brand?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p>模型图标。</p>
|
|
1257
|
+
*/
|
|
1258
|
+
ModelImage?: ModelImage;
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>模型供应商。</p>
|
|
1261
|
+
*/
|
|
1262
|
+
Provider?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* <p>模型状态。取值:online(上线)、offline(下线)。</p><p>枚举值:</p><ul><li>online : 上线</li><li>pre-offline: 预下线</li></ul>
|
|
1265
|
+
*/
|
|
1266
|
+
Status?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* <p>标签列表。</p>
|
|
1269
|
+
*/
|
|
1270
|
+
Tags?: Array<string>;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>计费信息列表。</p>
|
|
1273
|
+
*/
|
|
1274
|
+
ModelChargingInfo?: Array<ModelChargingInfo>;
|
|
1275
|
+
/**
|
|
1276
|
+
* <p>模型规格。</p>
|
|
1277
|
+
*/
|
|
1278
|
+
ModelSpec?: ModelSpec;
|
|
1279
|
+
/**
|
|
1280
|
+
* <p>发布时间。</p>
|
|
1281
|
+
*/
|
|
1282
|
+
ReleaseAt?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>推荐顺序,值越小排序越靠前。</p>
|
|
1285
|
+
*/
|
|
1286
|
+
RecommendWeight?: number;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>模型访问信息。包含模型在各站点和地域的可用性配置。为空时表示未配置地域信息,模型不可用。</p>
|
|
1289
|
+
*/
|
|
1290
|
+
ModelAccessInfo?: ModelAccessInfo;
|
|
1291
|
+
/**
|
|
1292
|
+
* <p>体验包信息。</p>
|
|
1293
|
+
*/
|
|
1294
|
+
FreeTrialInfo?: ModelFreeTrialInfo;
|
|
1295
|
+
/**
|
|
1296
|
+
* <p>模型下线时间,Status=pre-offline 时,会配置模型下线时间</p>
|
|
1297
|
+
*/
|
|
1298
|
+
OfflineAt?: string;
|
|
1299
|
+
}
|
|
1134
1300
|
/**
|
|
1135
1301
|
* 批量创建失败项
|
|
1136
1302
|
*/
|
|
@@ -1251,6 +1417,39 @@ export interface CreateTokenPlanTeamOrderAndBuyResponse {
|
|
|
1251
1417
|
*/
|
|
1252
1418
|
RequestId?: string;
|
|
1253
1419
|
}
|
|
1420
|
+
/**
|
|
1421
|
+
* 模型规格信息
|
|
1422
|
+
*/
|
|
1423
|
+
export interface ModelSpec {
|
|
1424
|
+
/**
|
|
1425
|
+
* 每分钟处理 Token 数(Tokens Per Minute)。
|
|
1426
|
+
*/
|
|
1427
|
+
TPM?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* 每分钟请求数(Queries Per Minute)。
|
|
1430
|
+
*/
|
|
1431
|
+
QPM?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* 最大输入 Token 长度。
|
|
1434
|
+
*/
|
|
1435
|
+
MaxInputToken?: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* 最大输出 Token 长度。
|
|
1438
|
+
*/
|
|
1439
|
+
MaxOutputToken?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* 上下文窗口长度。
|
|
1442
|
+
*/
|
|
1443
|
+
ContextLength?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* 并发数。
|
|
1446
|
+
*/
|
|
1447
|
+
Concurrency?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* 输入要求描述。
|
|
1450
|
+
*/
|
|
1451
|
+
InputDescription?: string;
|
|
1452
|
+
}
|
|
1254
1453
|
/**
|
|
1255
1454
|
* 过滤条件
|
|
1256
1455
|
*/
|
|
@@ -1549,6 +1748,27 @@ export interface DeleteTokenPlanApiKeyRequest {
|
|
|
1549
1748
|
*/
|
|
1550
1749
|
ApiKeyId: string;
|
|
1551
1750
|
}
|
|
1751
|
+
/**
|
|
1752
|
+
* 模型体验包信息
|
|
1753
|
+
*/
|
|
1754
|
+
export interface ModelFreeTrialInfo {
|
|
1755
|
+
/**
|
|
1756
|
+
* 推荐顺序,值越小排序越靠前。为空表示使用模型默认权重。
|
|
1757
|
+
*/
|
|
1758
|
+
RecommendWeight?: number;
|
|
1759
|
+
/**
|
|
1760
|
+
* 体验包容量大小。
|
|
1761
|
+
*/
|
|
1762
|
+
CapacitySize?: number;
|
|
1763
|
+
/**
|
|
1764
|
+
* 容量单位。取值:token。
|
|
1765
|
+
*/
|
|
1766
|
+
Unit?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* 有效期天数(如90天)。为空表示不限期。
|
|
1769
|
+
*/
|
|
1770
|
+
ValidityDays?: number;
|
|
1771
|
+
}
|
|
1552
1772
|
/**
|
|
1553
1773
|
* DescribeApiKey返回参数结构体
|
|
1554
1774
|
*/
|
|
@@ -1557,7 +1557,7 @@ export interface DescribeAsyncTextToSpeechResponse {
|
|
|
1557
1557
|
*/
|
|
1558
1558
|
export interface TranslationParam {
|
|
1559
1559
|
/**
|
|
1560
|
-
* <p>翻译的目标语言,示例值["en", "ja"]。目标语种列表[中文 "zh",英语 "en",越南语 "vi",日语 "ja",韩语 "ko",印度尼西亚语 "id",泰语 "th",葡萄牙语 "pt",阿拉伯语 "ar",西班牙语 "es",法语 "fr",马来语 "ms",德语 "de",意大利语 "it",俄语 "ru"]。</p>
|
|
1560
|
+
* <p>翻译的目标语言,示例值["en", "ja"]。目标语种列表[中文 "zh",英语 "en",粤语"yue",越南语 "vi",日语 "ja",韩语 "ko",印度尼西亚语 "id",泰语 "th",葡萄牙语 "pt",阿拉伯语 "ar",西班牙语 "es",法语 "fr",马来语 "ms",德语 "de",意大利语 "it",俄语 "ru"]。</p>
|
|
1561
1561
|
*/
|
|
1562
1562
|
TargetLang?: Array<string>;
|
|
1563
1563
|
/**
|
|
@@ -3264,7 +3264,7 @@ export interface AsrParam {
|
|
|
3264
3264
|
*/
|
|
3265
3265
|
AlternativeLanguage?: Array<string>;
|
|
3266
3266
|
/**
|
|
3267
|
-
* <p>vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0,
|
|
3267
|
+
* <p>vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 1],默认为0。推荐设置为1,有较好的远场人声抑制能力。</p>
|
|
3268
3268
|
*/
|
|
3269
3269
|
VadLevel?: number;
|
|
3270
3270
|
/**
|