@huyooo/ui 0.13.8 → 0.13.9

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.
Files changed (37) hide show
  1. package/dist/{AuthkitAppSetting-u2kUUH6q.js → AuthkitAppSetting-Xe-QQSQ4.js} +403 -406
  2. package/dist/{AuthkitGithubBinding-B-YSWc50.js → AuthkitGithubBinding-CK6ijijV.js} +329 -330
  3. package/dist/{Contact-CIMfdt_b.js → Contact-mb7deQOs.js} +1 -1
  4. package/dist/CustomTable-BT-cnhLR.js +280 -0
  5. package/dist/{MessageHandle-D2dcvWVr.js → MessageHandle-CVueKPFG.js} +1 -1
  6. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CSAIRPOj.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DL4qP8DA.js} +1 -1
  7. package/dist/{PaySubscriptions-BaUlQE-p.js → PaySubscriptions-BkZaeTgv.js} +2 -2
  8. package/dist/{PricingPlans-B0nt843Q.js → PricingPlans-B-GWpft_.js} +1 -1
  9. package/dist/{ReferrerReferees-B50_V69q.js → ReferrerReferees-DFCwvXJ6.js} +2 -2
  10. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BHXLN2Tu.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Iwq1MOFa.js} +5 -5
  11. package/dist/WidthContainer-jOX17pDu.js +691 -0
  12. package/dist/authkit.js +6 -6
  13. package/dist/common.js +2 -2
  14. package/dist/composables/Authkit/resolveRoutePermission.d.ts +4 -0
  15. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +1 -1
  16. package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +1 -1
  17. package/dist/composables.js +6 -6
  18. package/dist/main.js +19 -19
  19. package/dist/message.js +2 -2
  20. package/dist/pay.js +2 -2
  21. package/dist/privateCom.js +1 -1
  22. package/dist/referrer.js +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/types/api/ai.generated.d.ts +378 -247
  25. package/dist/types/api/billing.generated.d.ts +1105 -374
  26. package/dist/{useAuthkitAppsAuthPageInfo-CjPdpZ64.js → useAuthkitAppsAuthPageInfo-nCjfAjiw.js} +17 -7
  27. package/dist/useAuthkitCreateAndUpdate-u-ceTc-m.js +25 -0
  28. package/dist/useAuthkitUsersProfile-BC5EsA2f.js +40 -0
  29. package/dist/{useDownloads-CxoyuqyY.js → useDownloads-BC0QyEFr.js} +9 -9
  30. package/dist/{useLegalLinks-DHqsVvIK.js → useLegalLinks-DeXLE-yv.js} +1 -1
  31. package/dist/{useSEO-DypqLVfr.js → useSEO-BWAREYk4.js} +238 -227
  32. package/dist/user.js +1 -1
  33. package/package.json +2 -1
  34. package/dist/CustomTable-BBcd4nNL.js +0 -278
  35. package/dist/WidthContainer-BQIboxrg.js +0 -695
  36. package/dist/useAuthkitCreateAndUpdate-CsYn-oYu.js +0 -25
  37. package/dist/useAuthkitUsersProfile-CIFqG3gd.js +0 -36
@@ -849,19 +849,15 @@ export type Api = {
849
849
  audio: {
850
850
  url: string;
851
851
  format: "wav" | "mp3";
852
- codec?: "raw";
853
- rate?: number;
854
- bits?: number;
855
- channel?: number;
856
852
  };
857
853
  request: {
858
- enableItn?: boolean;
859
- enablePunc?: boolean;
860
- enableDdc?: boolean;
861
- enableSpeakerInfo?: boolean;
862
- enableChannelSplit?: boolean;
863
- showUtterances?: boolean;
864
- vadSegment?: boolean;
854
+ enableItn: boolean;
855
+ enablePunc: boolean;
856
+ enableDdc: boolean;
857
+ enableSpeakerInfo: boolean;
858
+ enableChannelSplit: boolean;
859
+ showUtterances: boolean;
860
+ vadSegment: boolean;
865
861
  context?: unknown;
866
862
  };
867
863
  };
@@ -926,7 +922,7 @@ export type Api = {
926
922
  voiceKind: "official" | "clone" | "design";
927
923
  voiceType: string;
928
924
  text: string;
929
- encoding?: "wav" | "pcm";
925
+ encoding?: "wav";
930
926
  synthesisMode?: "unidirectional" | "longText";
931
927
  };
932
928
  return: any;
@@ -957,9 +953,11 @@ export type Api = {
957
953
  current: number;
958
954
  pageSize: number;
959
955
  where: {
956
+ id?: string;
960
957
  voiceKind?: "official" | "clone" | "design";
961
958
  voiceType?: string;
962
959
  text?: string;
960
+ status?: "running" | "success" | "failure";
963
961
  };
964
962
  };
965
963
  return: any;
@@ -974,6 +972,14 @@ export type Api = {
974
972
  return: any;
975
973
  };
976
974
  };
975
+ options: {
976
+ status: {
977
+ /** 获取 TTS 任务状态下拉选项 */
978
+ post: {
979
+ return: any;
980
+ };
981
+ };
982
+ };
977
983
  };
978
984
  si: {
979
985
  create: {
@@ -1016,6 +1022,7 @@ export type Api = {
1016
1022
  current: number;
1017
1023
  pageSize: number;
1018
1024
  where: {
1025
+ id?: string;
1019
1026
  speakerID?: string;
1020
1027
  language?: string;
1021
1028
  status?: string;
@@ -1088,30 +1095,16 @@ export type Api = {
1088
1095
  };
1089
1096
  copyVoice: {
1090
1097
  create: {
1091
- /** 创建新的声音复刻任务(调用火山引擎下单) */
1098
+ /** 选择已购买音色槽位创建声音复刻资产 */
1092
1099
  post: {
1093
1100
  body: {
1094
1101
  name: string;
1095
1102
  tags: string[];
1096
- times: number;
1103
+ voiceSlotId: string;
1097
1104
  description?: string;
1098
1105
  };
1099
1106
  return: any;
1100
1107
  };
1101
- speakerID: {
1102
- /** 通过已有的 speakerID 创建声音复刻记录 */
1103
- post: {
1104
- body: {
1105
- name: string;
1106
- tags: string[];
1107
- times: number;
1108
- description?: string;
1109
- speakerID: string;
1110
- orderID: string;
1111
- };
1112
- return: any;
1113
- };
1114
- };
1115
1108
  };
1116
1109
  update: {
1117
1110
  /** 更新声音复刻信息 */
@@ -1132,6 +1125,7 @@ export type Api = {
1132
1125
  current: number;
1133
1126
  pageSize: number;
1134
1127
  where: {
1128
+ id?: string;
1135
1129
  name?: string;
1136
1130
  speakerID?: string;
1137
1131
  status?: string;
@@ -1161,39 +1155,99 @@ export type Api = {
1161
1155
  };
1162
1156
  };
1163
1157
  };
1164
- trains: {
1165
- /** 上传音频文件进行声音复刻训练 */
1158
+ status: {
1159
+ /** 查询声音复刻的训练状态 */
1166
1160
  post: {
1167
1161
  body: {
1168
1162
  id: string;
1169
- audios: {
1170
- audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
1171
- audioBytes: string;
1172
- text?: string;
1173
- }[];
1174
- language: number;
1175
1163
  };
1176
1164
  return: any;
1177
1165
  };
1178
1166
  };
1179
- status: {
1180
- /** 查询声音复刻的训练状态 */
1167
+ };
1168
+ voiceSlots: {
1169
+ create: {
1170
+ /** 统一购买音色槽位,后续可绑定到声音复刻或音色设计 */
1171
+ post: {
1172
+ body: {
1173
+ name: string;
1174
+ tags: string[];
1175
+ times: number;
1176
+ quantity?: number;
1177
+ description?: string;
1178
+ };
1179
+ return: any;
1180
+ };
1181
+ };
1182
+ renew: {
1183
+ /** 统一续费音色槽位 */
1184
+ post: {
1185
+ body: {
1186
+ id: string;
1187
+ times: number;
1188
+ };
1189
+ return: any;
1190
+ };
1191
+ };
1192
+ refresh: {
1193
+ /** 从火山控制台同步槽位状态 */
1194
+ post: {
1195
+ body: {
1196
+ id: string;
1197
+ };
1198
+ return: any;
1199
+ };
1200
+ };
1201
+ find: {
1202
+ /** 分页查询统一音色槽位 */
1203
+ post: {
1204
+ body: {
1205
+ current: number;
1206
+ pageSize: number;
1207
+ where: {
1208
+ id?: string;
1209
+ name?: string;
1210
+ speakerID?: string;
1211
+ status?: string;
1212
+ usageType?: string;
1213
+ };
1214
+ };
1215
+ return: any;
1216
+ };
1217
+ };
1218
+ findOne: {
1219
+ /** 根据 ID 查询音色槽位详情 */
1181
1220
  post: {
1182
1221
  body: {
1183
- speakerID: string;
1222
+ id: string;
1184
1223
  };
1185
1224
  return: any;
1186
1225
  };
1187
1226
  };
1227
+ options: {
1228
+ /** 获取未绑定且已交付的音色槽位选项 */
1229
+ post: {
1230
+ body: {
1231
+ usageType?: "copyVoice" | "voiceDesign";
1232
+ };
1233
+ return: any;
1234
+ };
1235
+ status: {
1236
+ /** 获取音色槽位状态下拉选项 */
1237
+ post: {
1238
+ return: any;
1239
+ };
1240
+ };
1241
+ };
1188
1242
  };
1189
1243
  voiceDesign: {
1190
1244
  create: {
1191
- /** 下单购买音色槽位,用于后续音色设计 */
1245
+ /** 选择已购买音色槽位创建音色设计资产 */
1192
1246
  post: {
1193
1247
  body: {
1194
1248
  name: string;
1195
1249
  tags: string[];
1196
- times: number;
1250
+ voiceSlotId: string;
1197
1251
  description?: string;
1198
1252
  };
1199
1253
  return: any;
@@ -1234,6 +1288,7 @@ export type Api = {
1234
1288
  current: number;
1235
1289
  pageSize: number;
1236
1290
  where: {
1291
+ id?: string;
1237
1292
  name?: string;
1238
1293
  speakerID?: string;
1239
1294
  status?: string;
@@ -1365,11 +1420,16 @@ export type Api = {
1365
1420
  post: {
1366
1421
  body: {
1367
1422
  copyVoiceId: string;
1368
- audios: {
1423
+ audio: {
1369
1424
  audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
1370
1425
  audioBytes: string;
1371
1426
  text?: string;
1372
- }[];
1427
+ extraParams?: {
1428
+ demoText?: string;
1429
+ enableAudioDenoise?: boolean;
1430
+ disableVolumeNormalization?: boolean;
1431
+ };
1432
+ };
1373
1433
  language: number;
1374
1434
  };
1375
1435
  return: any;
@@ -1414,78 +1474,6 @@ export type Api = {
1414
1474
  };
1415
1475
  };
1416
1476
  };
1417
- copyVoiceRenew: {
1418
- create: {
1419
- /** 创建声音复刻续期申请(调用火山引擎续费 API) */
1420
- post: {
1421
- body: {
1422
- copyVoiceId: string;
1423
- times: number;
1424
- };
1425
- return: any;
1426
- };
1427
- };
1428
- find: {
1429
- /** 分页查询声音复刻续期列表 */
1430
- post: {
1431
- body: {
1432
- current: number;
1433
- pageSize: number;
1434
- where: {
1435
- speakerID?: string;
1436
- copyVoiceId?: string;
1437
- status?: string;
1438
- };
1439
- };
1440
- return: any;
1441
- };
1442
- };
1443
- findOne: {
1444
- /** 根据 ID 查询声音复刻续期详情 */
1445
- post: {
1446
- body: {
1447
- id: string;
1448
- };
1449
- return: any;
1450
- };
1451
- };
1452
- };
1453
- voiceDesignRenew: {
1454
- create: {
1455
- /** 创建音色设计续期申请(调用火山引擎续费 API) */
1456
- post: {
1457
- body: {
1458
- voiceDesignId: string;
1459
- times: number;
1460
- };
1461
- return: any;
1462
- };
1463
- };
1464
- find: {
1465
- /** 分页查询音色设计续期列表 */
1466
- post: {
1467
- body: {
1468
- current: number;
1469
- pageSize: number;
1470
- where: {
1471
- speakerID?: string;
1472
- voiceDesignId?: string;
1473
- status?: string;
1474
- };
1475
- };
1476
- return: any;
1477
- };
1478
- };
1479
- findOne: {
1480
- /** 根据 ID 查询音色设计续期详情 */
1481
- post: {
1482
- body: {
1483
- id: string;
1484
- };
1485
- return: any;
1486
- };
1487
- };
1488
- };
1489
1477
  imageGeneration: {
1490
1478
  create: {
1491
1479
  /** 创建新的图片生成任务(火山方舟,后台异步处理) */
@@ -1522,7 +1510,9 @@ export type Api = {
1522
1510
  current: number;
1523
1511
  pageSize: number;
1524
1512
  where: {
1513
+ id?: string;
1525
1514
  prompt?: string;
1515
+ status?: string;
1526
1516
  };
1527
1517
  };
1528
1518
  return: any;
@@ -1595,6 +1585,7 @@ export type Api = {
1595
1585
  current: number;
1596
1586
  pageSize: number;
1597
1587
  where: {
1588
+ id?: string;
1598
1589
  prompt?: string;
1599
1590
  status?: string;
1600
1591
  };
@@ -1698,6 +1689,7 @@ export type Api = {
1698
1689
  current: number;
1699
1690
  pageSize: number;
1700
1691
  where: {
1692
+ id?: string;
1701
1693
  prompt?: string;
1702
1694
  status?: string;
1703
1695
  };
@@ -1771,6 +1763,7 @@ export type Api = {
1771
1763
  current: number;
1772
1764
  pageSize: number;
1773
1765
  where: {
1766
+ id?: string;
1774
1767
  prompt?: string;
1775
1768
  status?: string;
1776
1769
  supplierId?: string;
@@ -1841,6 +1834,7 @@ export type Api = {
1841
1834
  pageSize: number;
1842
1835
  current: number;
1843
1836
  where?: {
1837
+ id?: string;
1844
1838
  prompt?: string;
1845
1839
  status?: string;
1846
1840
  };
@@ -1919,7 +1913,7 @@ export type Api = {
1919
1913
  return: any;
1920
1914
  };
1921
1915
  };
1922
- list: {
1916
+ find: {
1923
1917
  /** 查询用户的 AI 使用记录 */
1924
1918
  post: {
1925
1919
  body: {
@@ -1928,10 +1922,10 @@ export type Api = {
1928
1922
  supplierId?: string;
1929
1923
  profileId?: string;
1930
1924
  protocolId?: string;
1931
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
1925
+ billingRouteKey?: string;
1932
1926
  id?: string;
1933
1927
  requestId?: string;
1934
- referenceId?: string;
1928
+ resourceId?: string;
1935
1929
  startTime?: string;
1936
1930
  endTime?: string;
1937
1931
  page?: number;
@@ -1942,11 +1936,11 @@ export type Api = {
1942
1936
  };
1943
1937
  };
1944
1938
  trace: {
1945
- reference: {
1946
- /** 按 referenceId 查询用量与积分流水 */
1939
+ resource: {
1940
+ /** 按 resourceId 查询用量与积分流水 */
1947
1941
  post: {
1948
1942
  body: {
1949
- referenceId: string;
1943
+ resourceId: string;
1950
1944
  serviceKey?: string;
1951
1945
  };
1952
1946
  return: any;
@@ -1956,10 +1950,26 @@ export type Api = {
1956
1950
  };
1957
1951
  modelCatalog: {
1958
1952
  suppliers: {
1959
- list: {
1953
+ find: {
1960
1954
  post: {
1961
1955
  body: {
1962
- enabledOnly?: boolean;
1956
+ page?: number;
1957
+ pageSize?: number;
1958
+ keyword?: string;
1959
+ enabled?: boolean;
1960
+ supplierKind?: "agent_vendor" | "agent_proxy";
1961
+ agentVendorOnly?: boolean;
1962
+ platformUpstream?: "direct" | "proxy_railway";
1963
+ downstreamAccessMode?: "official" | "self_key";
1964
+ };
1965
+ return: any;
1966
+ };
1967
+ };
1968
+ options: {
1969
+ /** 筛选项、表单 Select 用供应商下拉 */
1970
+ post: {
1971
+ body: {
1972
+ enabled?: boolean;
1963
1973
  supplierKind?: "agent_vendor" | "agent_proxy";
1964
1974
  agentVendorOnly?: boolean;
1965
1975
  };
@@ -1989,6 +1999,67 @@ export type Api = {
1989
1999
  };
1990
2000
  };
1991
2001
  };
2002
+ productLines: {
2003
+ find: {
2004
+ post: {
2005
+ body: {
2006
+ page?: number;
2007
+ pageSize?: number;
2008
+ supplierId?: string;
2009
+ keyword?: string;
2010
+ enabled?: boolean;
2011
+ withStats?: boolean;
2012
+ };
2013
+ return: any;
2014
+ };
2015
+ };
2016
+ findOne: {
2017
+ post: {
2018
+ body: {
2019
+ productLineId: string;
2020
+ };
2021
+ return: any;
2022
+ };
2023
+ };
2024
+ options: {
2025
+ /** 筛选项、表单 Select 用产品线下拉 */
2026
+ post: {
2027
+ body: {
2028
+ supplierId?: string;
2029
+ enabled?: boolean;
2030
+ };
2031
+ return: any;
2032
+ };
2033
+ };
2034
+ create: {
2035
+ post: {
2036
+ body: {
2037
+ supplierId: string;
2038
+ productLineKey: string;
2039
+ label: string;
2040
+ };
2041
+ return: any;
2042
+ };
2043
+ };
2044
+ update: {
2045
+ post: {
2046
+ body: {
2047
+ productLineId: string;
2048
+ label?: string;
2049
+ enabled?: boolean;
2050
+ };
2051
+ return: any;
2052
+ };
2053
+ };
2054
+ delete: {
2055
+ post: {
2056
+ body: {
2057
+ productLineId: string;
2058
+ };
2059
+ return: any;
2060
+ };
2061
+ };
2062
+ };
1992
2063
  protocols: {
1993
2064
  find: {
1994
2065
  post: {
@@ -2116,7 +2187,6 @@ export type Api = {
2116
2187
  tags?: string[];
2117
2188
  description?: string;
2118
2189
  capabilities: {
2119
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
2120
2190
  inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
2121
2191
  outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
2122
2192
  rateLimits?: {
@@ -2196,7 +2266,6 @@ export type Api = {
2196
2266
  tags?: string[];
2197
2267
  description?: string;
2198
2268
  capabilities?: {
2199
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
2200
2269
  inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
2201
2270
  outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
2202
2271
  rateLimits?: {
@@ -2295,6 +2364,8 @@ export type Api = {
2295
2364
  supplierId?: string;
2296
2365
  profileId?: string;
2297
2366
  protocolId?: string;
2367
+ productLineId?: string;
2368
+ billingRouteKey?: string;
2298
2369
  tag?: string;
2299
2370
  enabled?: boolean;
2300
2371
  };
@@ -2314,7 +2385,8 @@ export type Api = {
2314
2385
  supplierKind?: "agent_vendor" | "agent_proxy";
2315
2386
  protocolId?: string;
2316
2387
  tag?: string;
2317
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
2388
+ productLineId?: string;
2389
+ billingRouteKey?: string;
2318
2390
  keyword?: string;
2319
2391
  enabled?: boolean;
2320
2392
  platformAvailable?: boolean;
@@ -2336,6 +2408,7 @@ export type Api = {
2336
2408
  body: {
2337
2409
  profileId: string;
2338
2410
  supplierId: string;
2411
+ productLineId: string;
2339
2412
  protocolId: string;
2340
2413
  providerModelId: string;
2341
2414
  name?: string;
@@ -2353,6 +2426,7 @@ export type Api = {
2353
2426
  modelId: string;
2354
2427
  supplierId?: string;
2355
2428
  profileId?: string;
2429
+ productLineId?: string;
2356
2430
  protocolId?: string;
2357
2431
  providerModelId?: string;
2358
2432
  name?: string;
@@ -2425,11 +2499,11 @@ export type Api = {
2425
2499
  };
2426
2500
  billingCatalog: {
2427
2501
  suppliers: {
2428
- list: {
2429
- /** 获取 AI 模型供应商列表 */
2502
+ options: {
2503
+ /** 筛选项、表单 Select 用供应商下拉 */
2430
2504
  post: {
2431
2505
  body: {
2432
- enabledOnly?: boolean;
2506
+ enabled?: boolean;
2433
2507
  supplierKind?: "agent_vendor" | "agent_proxy";
2434
2508
  agentVendorOnly?: boolean;
2435
2509
  };
@@ -2455,7 +2529,7 @@ export type Api = {
2455
2529
  };
2456
2530
  };
2457
2531
  billingEntries: {
2458
- list: {
2532
+ find: {
2459
2533
  /** 按 supplier+profile 聚合的价表列表 */
2460
2534
  post: {
2461
2535
  body: {
@@ -2481,7 +2555,7 @@ export type Api = {
2481
2555
  return: any;
2482
2556
  };
2483
2557
  };
2484
- get: {
2558
+ findOne: {
2485
2559
  post: {
2486
2560
  body: {
2487
2561
  supplierId: string;
@@ -2508,8 +2582,8 @@ export type Api = {
2508
2582
  };
2509
2583
  };
2510
2584
  builtinServices: {
2511
- list: {
2512
- /** 只读内置 serviceKey 与 chargeMethodKey catalog */
2585
+ options: {
2586
+ /** 只读内置服务与价目表 catalog */
2513
2587
  post: {
2514
2588
  body: {
2515
2589
  group?: "ai" | "storage" | "platform";
@@ -2519,7 +2593,7 @@ export type Api = {
2519
2593
  };
2520
2594
  };
2521
2595
  exchangeRate: {
2522
- get: {
2596
+ findOne: {
2523
2597
  post: {
2524
2598
  return: any;
2525
2599
  };
@@ -2563,6 +2637,7 @@ export type Api = {
2563
2637
  current: number;
2564
2638
  pageSize: number;
2565
2639
  where: {
2640
+ id?: string;
2566
2641
  input?: string;
2567
2642
  supplierId?: string;
2568
2643
  model?: string;
@@ -3250,19 +3325,15 @@ export interface ApiClient {
3250
3325
  audio: {
3251
3326
  url: string;
3252
3327
  format: "wav" | "mp3";
3253
- codec?: "raw";
3254
- rate?: number;
3255
- bits?: number;
3256
- channel?: number;
3257
3328
  };
3258
3329
  request: {
3259
- enableItn?: boolean;
3260
- enablePunc?: boolean;
3261
- enableDdc?: boolean;
3262
- enableSpeakerInfo?: boolean;
3263
- enableChannelSplit?: boolean;
3264
- showUtterances?: boolean;
3265
- vadSegment?: boolean;
3330
+ enableItn: boolean;
3331
+ enablePunc: boolean;
3332
+ enableDdc: boolean;
3333
+ enableSpeakerInfo: boolean;
3334
+ enableChannelSplit: boolean;
3335
+ showUtterances: boolean;
3336
+ vadSegment: boolean;
3266
3337
  context?: unknown;
3267
3338
  };
3268
3339
  }, config?: RequestConfig) => RequestBuilder<any>;
@@ -3310,7 +3381,7 @@ export interface ApiClient {
3310
3381
  voiceKind: "official" | "clone" | "design";
3311
3382
  voiceType: string;
3312
3383
  text: string;
3313
- encoding?: "wav" | "pcm";
3384
+ encoding?: "wav";
3314
3385
  synthesisMode?: "unidirectional" | "longText";
3315
3386
  }, config?: RequestConfig) => RequestBuilder<any>;
3316
3387
  };
@@ -3332,9 +3403,11 @@ export interface ApiClient {
3332
3403
  current: number;
3333
3404
  pageSize: number;
3334
3405
  where: {
3406
+ id?: string;
3335
3407
  voiceKind?: "official" | "clone" | "design";
3336
3408
  voiceType?: string;
3337
3409
  text?: string;
3410
+ status?: "running" | "success" | "failure";
3338
3411
  };
3339
3412
  }, config?: RequestConfig) => RequestBuilder<any>;
3340
3413
  };
@@ -3344,6 +3417,12 @@ export interface ApiClient {
3344
3417
  id: string;
3345
3418
  }, config?: RequestConfig) => RequestBuilder<any>;
3346
3419
  };
3420
+ options: {
3421
+ status: {
3422
+ /** 获取 TTS 任务状态下拉选项 */
3423
+ post: (config?: RequestConfig) => RequestBuilder<any>;
3424
+ };
3425
+ };
3347
3426
  };
3348
3427
  si: {
3349
3428
  create: {
@@ -3376,6 +3455,7 @@ export interface ApiClient {
3376
3455
  current: number;
3377
3456
  pageSize: number;
3378
3457
  where: {
3458
+ id?: string;
3379
3459
  speakerID?: string;
3380
3460
  language?: string;
3381
3461
  status?: string;
@@ -3431,24 +3511,13 @@ export interface ApiClient {
3431
3511
  };
3432
3512
  copyVoice: {
3433
3513
  create: {
3434
- /** 创建新的声音复刻任务(调用火山引擎下单) */
3514
+ /** 选择已购买音色槽位创建声音复刻资产 */
3435
3515
  post: (body: {
3436
3516
  name: string;
3437
3517
  tags: string[];
3438
- times: number;
3518
+ voiceSlotId: string;
3439
3519
  description?: string;
3440
3520
  }, config?: RequestConfig) => RequestBuilder<any>;
3441
- speakerID: {
3442
- /** 通过已有的 speakerID 创建声音复刻记录 */
3443
- post: (body: {
3444
- name: string;
3445
- tags: string[];
3446
- times: number;
3447
- description?: string;
3448
- speakerID: string;
3449
- orderID: string;
3450
- }, config?: RequestConfig) => RequestBuilder<any>;
3451
- };
3452
3521
  };
3453
3522
  update: {
3454
3523
  /** 更新声音复刻信息 */
@@ -3465,6 +3534,7 @@ export interface ApiClient {
3465
3534
  current: number;
3466
3535
  pageSize: number;
3467
3536
  where: {
3537
+ id?: string;
3468
3538
  name?: string;
3469
3539
  speakerID?: string;
3470
3540
  status?: string;
@@ -3485,32 +3555,75 @@ export interface ApiClient {
3485
3555
  post: (config?: RequestConfig) => RequestBuilder<any>;
3486
3556
  };
3487
3557
  };
3488
- trains: {
3489
- /** 上传音频文件进行声音复刻训练 */
3558
+ status: {
3559
+ /** 查询声音复刻的训练状态 */
3490
3560
  post: (body: {
3491
3561
  id: string;
3492
- audios: {
3493
- audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
3494
- audioBytes: string;
3495
- text?: string;
3496
- }[];
3497
- language: number;
3498
3562
  }, config?: RequestConfig) => RequestBuilder<any>;
3499
3563
  };
3500
- status: {
3501
- /** 查询声音复刻的训练状态 */
3564
+ };
3565
+ voiceSlots: {
3566
+ create: {
3567
+ /** 统一购买音色槽位,后续可绑定到声音复刻或音色设计 */
3568
+ post: (body: {
3569
+ name: string;
3570
+ tags: string[];
3571
+ times: number;
3572
+ quantity?: number;
3573
+ description?: string;
3574
+ }, config?: RequestConfig) => RequestBuilder<any>;
3575
+ };
3576
+ renew: {
3577
+ /** 统一续费音色槽位 */
3502
3578
  post: (body: {
3503
- speakerID: string;
3579
+ id: string;
3580
+ times: number;
3581
+ }, config?: RequestConfig) => RequestBuilder<any>;
3582
+ };
3583
+ refresh: {
3584
+ /** 从火山控制台同步槽位状态 */
3585
+ post: (body: {
3586
+ id: string;
3504
3587
  }, config?: RequestConfig) => RequestBuilder<any>;
3505
3588
  };
3589
+ find: {
3590
+ /** 分页查询统一音色槽位 */
3591
+ post: (body: {
3592
+ current: number;
3593
+ pageSize: number;
3594
+ where: {
3595
+ id?: string;
3596
+ name?: string;
3597
+ speakerID?: string;
3598
+ status?: string;
3599
+ usageType?: string;
3600
+ };
3601
+ }, config?: RequestConfig) => RequestBuilder<any>;
3602
+ };
3603
+ findOne: {
3604
+ /** 根据 ID 查询音色槽位详情 */
3605
+ post: (body: {
3606
+ id: string;
3607
+ }, config?: RequestConfig) => RequestBuilder<any>;
3608
+ };
3609
+ options: {
3610
+ /** 获取未绑定且已交付的音色槽位选项 */
3611
+ post: (body: {
3612
+ usageType?: "copyVoice" | "voiceDesign";
3613
+ }, config?: RequestConfig) => RequestBuilder<any>;
3614
+ status: {
3615
+ /** 获取音色槽位状态下拉选项 */
3616
+ post: (config?: RequestConfig) => RequestBuilder<any>;
3617
+ };
3618
+ };
3506
3619
  };
3507
3620
  voiceDesign: {
3508
3621
  create: {
3509
- /** 下单购买音色槽位,用于后续音色设计 */
3622
+ /** 选择已购买音色槽位创建音色设计资产 */
3510
3623
  post: (body: {
3511
3624
  name: string;
3512
3625
  tags: string[];
3513
- times: number;
3626
+ voiceSlotId: string;
3514
3627
  description?: string;
3515
3628
  }, config?: RequestConfig) => RequestBuilder<any>;
3516
3629
  };
@@ -3542,6 +3655,7 @@ export interface ApiClient {
3542
3655
  current: number;
3543
3656
  pageSize: number;
3544
3657
  where: {
3658
+ id?: string;
3545
3659
  name?: string;
3546
3660
  speakerID?: string;
3547
3661
  status?: string;
@@ -3640,11 +3754,16 @@ export interface ApiClient {
3640
3754
  /** 创建新的声音复刻训练任务 */
3641
3755
  post: (body: {
3642
3756
  copyVoiceId: string;
3643
- audios: {
3757
+ audio: {
3644
3758
  audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
3645
3759
  audioBytes: string;
3646
3760
  text?: string;
3647
- }[];
3761
+ extraParams?: {
3762
+ demoText?: string;
3763
+ enableAudioDenoise?: boolean;
3764
+ disableVolumeNormalization?: boolean;
3765
+ };
3766
+ };
3648
3767
  language: number;
3649
3768
  }, config?: RequestConfig) => RequestBuilder<any>;
3650
3769
  };
@@ -3677,60 +3796,6 @@ export interface ApiClient {
3677
3796
  };
3678
3797
  };
3679
3798
  };
3680
- copyVoiceRenew: {
3681
- create: {
3682
- /** 创建声音复刻续期申请(调用火山引擎续费 API) */
3683
- post: (body: {
3684
- copyVoiceId: string;
3685
- times: number;
3686
- }, config?: RequestConfig) => RequestBuilder<any>;
3687
- };
3688
- find: {
3689
- /** 分页查询声音复刻续期列表 */
3690
- post: (body: {
3691
- current: number;
3692
- pageSize: number;
3693
- where: {
3694
- speakerID?: string;
3695
- copyVoiceId?: string;
3696
- status?: string;
3697
- };
3698
- }, config?: RequestConfig) => RequestBuilder<any>;
3699
- };
3700
- findOne: {
3701
- /** 根据 ID 查询声音复刻续期详情 */
3702
- post: (body: {
3703
- id: string;
3704
- }, config?: RequestConfig) => RequestBuilder<any>;
3705
- };
3706
- };
3707
- voiceDesignRenew: {
3708
- create: {
3709
- /** 创建音色设计续期申请(调用火山引擎续费 API) */
3710
- post: (body: {
3711
- voiceDesignId: string;
3712
- times: number;
3713
- }, config?: RequestConfig) => RequestBuilder<any>;
3714
- };
3715
- find: {
3716
- /** 分页查询音色设计续期列表 */
3717
- post: (body: {
3718
- current: number;
3719
- pageSize: number;
3720
- where: {
3721
- speakerID?: string;
3722
- voiceDesignId?: string;
3723
- status?: string;
3724
- };
3725
- }, config?: RequestConfig) => RequestBuilder<any>;
3726
- };
3727
- findOne: {
3728
- /** 根据 ID 查询音色设计续期详情 */
3729
- post: (body: {
3730
- id: string;
3731
- }, config?: RequestConfig) => RequestBuilder<any>;
3732
- };
3733
- };
3734
3799
  imageGeneration: {
3735
3800
  create: {
3736
3801
  /** 创建新的图片生成任务(火山方舟,后台异步处理) */
@@ -3760,7 +3825,9 @@ export interface ApiClient {
3760
3825
  current: number;
3761
3826
  pageSize: number;
3762
3827
  where: {
3828
+ id?: string;
3763
3829
  prompt?: string;
3830
+ status?: string;
3764
3831
  };
3765
3832
  }, config?: RequestConfig) => RequestBuilder<any>;
3766
3833
  };
@@ -3814,6 +3881,7 @@ export interface ApiClient {
3814
3881
  current: number;
3815
3882
  pageSize: number;
3816
3883
  where: {
3884
+ id?: string;
3817
3885
  prompt?: string;
3818
3886
  status?: string;
3819
3887
  };
@@ -3887,6 +3955,7 @@ export interface ApiClient {
3887
3955
  current: number;
3888
3956
  pageSize: number;
3889
3957
  where: {
3958
+ id?: string;
3890
3959
  prompt?: string;
3891
3960
  status?: string;
3892
3961
  };
@@ -3940,6 +4009,7 @@ export interface ApiClient {
3940
4009
  current: number;
3941
4010
  pageSize: number;
3942
4011
  where: {
4012
+ id?: string;
3943
4013
  prompt?: string;
3944
4014
  status?: string;
3945
4015
  supplierId?: string;
@@ -3993,6 +4063,7 @@ export interface ApiClient {
3993
4063
  pageSize: number;
3994
4064
  current: number;
3995
4065
  where?: {
4066
+ id?: string;
3996
4067
  prompt?: string;
3997
4068
  status?: string;
3998
4069
  };
@@ -4049,7 +4120,7 @@ export interface ApiClient {
4049
4120
  endTime?: string;
4050
4121
  }, config?: RequestConfig) => RequestBuilder<any>;
4051
4122
  };
4052
- list: {
4123
+ find: {
4053
4124
  /** 查询用户的 AI 使用记录 */
4054
4125
  post: (body: {
4055
4126
  userId?: string;
@@ -4057,10 +4128,10 @@ export interface ApiClient {
4057
4128
  supplierId?: string;
4058
4129
  profileId?: string;
4059
4130
  protocolId?: string;
4060
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
4131
+ billingRouteKey?: string;
4061
4132
  id?: string;
4062
4133
  requestId?: string;
4063
- referenceId?: string;
4134
+ resourceId?: string;
4064
4135
  startTime?: string;
4065
4136
  endTime?: string;
4066
4137
  page?: number;
@@ -4069,10 +4140,10 @@ export interface ApiClient {
4069
4140
  };
4070
4141
  };
4071
4142
  trace: {
4072
- reference: {
4073
- /** 按 referenceId 查询用量与积分流水 */
4143
+ resource: {
4144
+ /** 按 resourceId 查询用量与积分流水 */
4074
4145
  post: (body: {
4075
- referenceId: string;
4146
+ resourceId: string;
4076
4147
  serviceKey?: string;
4077
4148
  }, config?: RequestConfig) => RequestBuilder<any>;
4078
4149
  };
@@ -4080,9 +4151,22 @@ export interface ApiClient {
4080
4151
  };
4081
4152
  modelCatalog: {
4082
4153
  suppliers: {
4083
- list: {
4154
+ find: {
4084
4155
  post: (body: {
4085
- enabledOnly?: boolean;
4156
+ page?: number;
4157
+ pageSize?: number;
4158
+ keyword?: string;
4159
+ enabled?: boolean;
4160
+ supplierKind?: "agent_vendor" | "agent_proxy";
4161
+ agentVendorOnly?: boolean;
4162
+ platformUpstream?: "direct" | "proxy_railway";
4163
+ downstreamAccessMode?: "official" | "self_key";
4164
+ }, config?: RequestConfig) => RequestBuilder<any>;
4165
+ };
4166
+ options: {
4167
+ /** 筛选项、表单 Select 用供应商下拉 */
4168
+ post: (body: {
4169
+ enabled?: boolean;
4086
4170
  supplierKind?: "agent_vendor" | "agent_proxy";
4087
4171
  agentVendorOnly?: boolean;
4088
4172
  }, config?: RequestConfig) => RequestBuilder<any>;
@@ -4104,6 +4188,49 @@ export interface ApiClient {
4104
4188
  }, config?: RequestConfig) => RequestBuilder<any>;
4105
4189
  };
4106
4190
  };
4191
+ productLines: {
4192
+ find: {
4193
+ post: (body: {
4194
+ page?: number;
4195
+ pageSize?: number;
4196
+ supplierId?: string;
4197
+ keyword?: string;
4198
+ enabled?: boolean;
4199
+ withStats?: boolean;
4200
+ }, config?: RequestConfig) => RequestBuilder<any>;
4201
+ };
4202
+ findOne: {
4203
+ post: (body: {
4204
+ productLineId: string;
4205
+ }, config?: RequestConfig) => RequestBuilder<any>;
4206
+ };
4207
+ options: {
4208
+ /** 筛选项、表单 Select 用产品线下拉 */
4209
+ post: (body: {
4210
+ supplierId?: string;
4211
+ enabled?: boolean;
4212
+ }, config?: RequestConfig) => RequestBuilder<any>;
4213
+ };
4214
+ create: {
4215
+ post: (body: {
4216
+ supplierId: string;
4217
+ productLineKey: string;
4218
+ label: string;
4219
+ }, config?: RequestConfig) => RequestBuilder<any>;
4220
+ };
4221
+ update: {
4222
+ post: (body: {
4223
+ productLineId: string;
4224
+ label?: string;
4225
+ enabled?: boolean;
4226
+ }, config?: RequestConfig) => RequestBuilder<any>;
4227
+ };
4228
+ delete: {
4229
+ post: (body: {
4230
+ productLineId: string;
4231
+ }, config?: RequestConfig) => RequestBuilder<any>;
4232
+ };
4233
+ };
4107
4234
  protocols: {
4108
4235
  find: {
4109
4236
  post: (body: {
@@ -4201,7 +4328,6 @@ export interface ApiClient {
4201
4328
  tags?: string[];
4202
4329
  description?: string;
4203
4330
  capabilities: {
4204
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
4205
4331
  inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
4206
4332
  outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
4207
4333
  rateLimits?: {
@@ -4278,7 +4404,6 @@ export interface ApiClient {
4278
4404
  tags?: string[];
4279
4405
  description?: string;
4280
4406
  capabilities?: {
4281
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
4282
4407
  inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
4283
4408
  outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
4284
4409
  rateLimits?: {
@@ -4367,6 +4492,8 @@ export interface ApiClient {
4367
4492
  supplierId?: string;
4368
4493
  profileId?: string;
4369
4494
  protocolId?: string;
4495
+ productLineId?: string;
4496
+ billingRouteKey?: string;
4370
4497
  tag?: string;
4371
4498
  enabled?: boolean;
4372
4499
  }, config?: RequestConfig) => RequestBuilder<any>;
@@ -4383,7 +4510,8 @@ export interface ApiClient {
4383
4510
  supplierKind?: "agent_vendor" | "agent_proxy";
4384
4511
  protocolId?: string;
4385
4512
  tag?: string;
4386
- productLine?: "text" | "multimodal" | "image_gen" | "video_gen" | "mesh_3d" | "embedding" | "speech_tts" | "speech_voice_clone" | "speech_voice_design" | "speech_asr_file" | "speech_asr_stream" | "speech_si" | "speech_realtime_duplex";
4513
+ productLineId?: string;
4514
+ billingRouteKey?: string;
4387
4515
  keyword?: string;
4388
4516
  enabled?: boolean;
4389
4517
  platformAvailable?: boolean;
@@ -4399,6 +4527,7 @@ export interface ApiClient {
4399
4527
  post: (body: {
4400
4528
  profileId: string;
4401
4529
  supplierId: string;
4530
+ productLineId: string;
4402
4531
  protocolId: string;
4403
4532
  providerModelId: string;
4404
4533
  name?: string;
@@ -4413,6 +4542,7 @@ export interface ApiClient {
4413
4542
  modelId: string;
4414
4543
  supplierId?: string;
4415
4544
  profileId?: string;
4545
+ productLineId?: string;
4416
4546
  protocolId?: string;
4417
4547
  providerModelId?: string;
4418
4548
  name?: string;
@@ -4465,10 +4595,10 @@ export interface ApiClient {
4465
4595
  };
4466
4596
  billingCatalog: {
4467
4597
  suppliers: {
4468
- list: {
4469
- /** 获取 AI 模型供应商列表 */
4598
+ options: {
4599
+ /** 筛选项、表单 Select 用供应商下拉 */
4470
4600
  post: (body: {
4471
- enabledOnly?: boolean;
4601
+ enabled?: boolean;
4472
4602
  supplierKind?: "agent_vendor" | "agent_proxy";
4473
4603
  agentVendorOnly?: boolean;
4474
4604
  }, config?: RequestConfig) => RequestBuilder<any>;
@@ -4489,7 +4619,7 @@ export interface ApiClient {
4489
4619
  };
4490
4620
  };
4491
4621
  billingEntries: {
4492
- list: {
4622
+ find: {
4493
4623
  /** 按 supplier+profile 聚合的价表列表 */
4494
4624
  post: (body: {
4495
4625
  page?: number;
@@ -4509,7 +4639,7 @@ export interface ApiClient {
4509
4639
  keyword?: string;
4510
4640
  }, config?: RequestConfig) => RequestBuilder<any>;
4511
4641
  };
4512
- get: {
4642
+ findOne: {
4513
4643
  post: (body: {
4514
4644
  supplierId: string;
4515
4645
  profileId: string;
@@ -4528,15 +4658,15 @@ export interface ApiClient {
4528
4658
  };
4529
4659
  };
4530
4660
  builtinServices: {
4531
- list: {
4532
- /** 只读内置 serviceKey 与 chargeMethodKey catalog */
4661
+ options: {
4662
+ /** 只读内置服务与价目表 catalog */
4533
4663
  post: (body: {
4534
4664
  group?: "ai" | "storage" | "platform";
4535
4665
  }, config?: RequestConfig) => RequestBuilder<any>;
4536
4666
  };
4537
4667
  };
4538
4668
  exchangeRate: {
4539
- get: {
4669
+ findOne: {
4540
4670
  post: (config?: RequestConfig) => RequestBuilder<any>;
4541
4671
  };
4542
4672
  update: {
@@ -4568,6 +4698,7 @@ export interface ApiClient {
4568
4698
  current: number;
4569
4699
  pageSize: number;
4570
4700
  where: {
4701
+ id?: string;
4571
4702
  input?: string;
4572
4703
  supplierId?: string;
4573
4704
  model?: string;