@huyooo/ui 0.17.0 → 0.17.2
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/dist/composables/useSEO.d.ts +1 -1
- package/dist/composables.js +1 -1
- package/dist/main.js +2 -2
- package/dist/types/api/ai.generated.d.ts +754 -84
- package/dist/types/api/ones.generated.d.ts +4 -0
- package/dist/useSEO-BSMQdBR9.js +158 -0
- package/package.json +1 -1
- package/dist/useSEO-C6DLicfe.js +0 -153
|
@@ -45,6 +45,7 @@ export type Api = {
|
|
|
45
45
|
};
|
|
46
46
|
}[];
|
|
47
47
|
skillContents?: string[];
|
|
48
|
+
subjectUserId?: string;
|
|
48
49
|
options?: {
|
|
49
50
|
mode?: "agent" | "ask";
|
|
50
51
|
model?: string;
|
|
@@ -54,7 +55,7 @@ export type Api = {
|
|
|
54
55
|
autoRunConfig?: {
|
|
55
56
|
mode?: "off" | "run-everything" | "approve-all";
|
|
56
57
|
};
|
|
57
|
-
history?: {
|
|
58
|
+
history?: ({
|
|
58
59
|
role: "user" | "assistant" | "system" | "tool";
|
|
59
60
|
content: string;
|
|
60
61
|
tool_call_id?: string;
|
|
@@ -66,7 +67,7 @@ export type Api = {
|
|
|
66
67
|
arguments: string;
|
|
67
68
|
};
|
|
68
69
|
}[];
|
|
69
|
-
}[];
|
|
70
|
+
})[];
|
|
70
71
|
serviceTier?: string;
|
|
71
72
|
billingPlan?: "online_standard" | "online_low_latency" | "batch";
|
|
72
73
|
};
|
|
@@ -81,12 +82,13 @@ export type Api = {
|
|
|
81
82
|
model: string;
|
|
82
83
|
max_tokens?: number;
|
|
83
84
|
temperature?: number;
|
|
84
|
-
messages: {
|
|
85
|
+
messages: ({
|
|
85
86
|
role: "user" | "assistant" | "system";
|
|
86
87
|
content: string | unknown[];
|
|
87
|
-
}[];
|
|
88
|
+
})[];
|
|
88
89
|
service_tier?: string;
|
|
89
90
|
billing_plan?: "online_standard" | "online_low_latency" | "batch";
|
|
91
|
+
subjectUserId?: string;
|
|
90
92
|
};
|
|
91
93
|
return: any;
|
|
92
94
|
};
|
|
@@ -436,6 +438,7 @@ export type Api = {
|
|
|
436
438
|
temperature?: number;
|
|
437
439
|
service_tier?: string;
|
|
438
440
|
billing_plan?: "online_standard" | "online_low_latency" | "batch";
|
|
441
|
+
subjectUserId?: string;
|
|
439
442
|
};
|
|
440
443
|
return: any;
|
|
441
444
|
};
|
|
@@ -860,6 +863,7 @@ export type Api = {
|
|
|
860
863
|
vadSegment: boolean;
|
|
861
864
|
context?: unknown;
|
|
862
865
|
};
|
|
866
|
+
subjectUserId?: string;
|
|
863
867
|
};
|
|
864
868
|
return: any;
|
|
865
869
|
};
|
|
@@ -924,6 +928,7 @@ export type Api = {
|
|
|
924
928
|
text: string;
|
|
925
929
|
encoding?: "wav";
|
|
926
930
|
synthesisMode?: "unidirectional" | "longText";
|
|
931
|
+
subjectUserId?: string;
|
|
927
932
|
};
|
|
928
933
|
return: any;
|
|
929
934
|
};
|
|
@@ -986,13 +991,25 @@ export type Api = {
|
|
|
986
991
|
/** 创建新的语音转语音任务(ASR → 翻译 → TTS) */
|
|
987
992
|
post: {
|
|
988
993
|
body: {
|
|
989
|
-
audios: {
|
|
994
|
+
audios: ({
|
|
990
995
|
audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
|
|
991
|
-
|
|
996
|
+
audioUrl: string;
|
|
992
997
|
text?: string;
|
|
993
|
-
}[];
|
|
994
|
-
|
|
995
|
-
|
|
998
|
+
})[];
|
|
999
|
+
voiceKind: "official" | "clone" | "design";
|
|
1000
|
+
voiceType: string;
|
|
1001
|
+
targetLanguage: string;
|
|
1002
|
+
subjectUserId?: string;
|
|
1003
|
+
};
|
|
1004
|
+
return: any;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
voiceTarget: {
|
|
1008
|
+
/** 根据所选音色返回支持的目标语言列表与默认值 */
|
|
1009
|
+
post: {
|
|
1010
|
+
body: {
|
|
1011
|
+
voiceKind: "official" | "clone" | "design";
|
|
1012
|
+
voiceType: string;
|
|
996
1013
|
};
|
|
997
1014
|
return: any;
|
|
998
1015
|
};
|
|
@@ -1024,7 +1041,8 @@ export type Api = {
|
|
|
1024
1041
|
where: {
|
|
1025
1042
|
id?: string;
|
|
1026
1043
|
speakerID?: string;
|
|
1027
|
-
|
|
1044
|
+
detectedSourceLanguage?: string;
|
|
1045
|
+
targetLanguage?: string;
|
|
1028
1046
|
status?: string;
|
|
1029
1047
|
};
|
|
1030
1048
|
};
|
|
@@ -1049,6 +1067,7 @@ export type Api = {
|
|
|
1049
1067
|
body: {
|
|
1050
1068
|
language?: string;
|
|
1051
1069
|
modelType?: 0 | 1;
|
|
1070
|
+
subjectUserId?: string;
|
|
1052
1071
|
};
|
|
1053
1072
|
return: any;
|
|
1054
1073
|
};
|
|
@@ -1102,6 +1121,7 @@ export type Api = {
|
|
|
1102
1121
|
tags: string[];
|
|
1103
1122
|
voiceSlotId: string;
|
|
1104
1123
|
description?: string;
|
|
1124
|
+
subjectUserId?: string;
|
|
1105
1125
|
};
|
|
1106
1126
|
return: any;
|
|
1107
1127
|
};
|
|
@@ -1175,6 +1195,7 @@ export type Api = {
|
|
|
1175
1195
|
times: number;
|
|
1176
1196
|
quantity?: number;
|
|
1177
1197
|
description?: string;
|
|
1198
|
+
subjectUserId?: string;
|
|
1178
1199
|
};
|
|
1179
1200
|
return: any;
|
|
1180
1201
|
};
|
|
@@ -1249,6 +1270,7 @@ export type Api = {
|
|
|
1249
1270
|
tags: string[];
|
|
1250
1271
|
voiceSlotId: string;
|
|
1251
1272
|
description?: string;
|
|
1273
|
+
subjectUserId?: string;
|
|
1252
1274
|
};
|
|
1253
1275
|
return: any;
|
|
1254
1276
|
};
|
|
@@ -1403,6 +1425,7 @@ export type Api = {
|
|
|
1403
1425
|
voiceKind?: "official" | "clone" | "design";
|
|
1404
1426
|
category?: string;
|
|
1405
1427
|
resourceId?: string;
|
|
1428
|
+
language?: string;
|
|
1406
1429
|
};
|
|
1407
1430
|
return: any;
|
|
1408
1431
|
};
|
|
@@ -1422,7 +1445,7 @@ export type Api = {
|
|
|
1422
1445
|
copyVoiceId: string;
|
|
1423
1446
|
audio: {
|
|
1424
1447
|
audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
|
|
1425
|
-
|
|
1448
|
+
audioUrl: string;
|
|
1426
1449
|
text?: string;
|
|
1427
1450
|
extraParams?: {
|
|
1428
1451
|
demoText?: string;
|
|
@@ -1490,6 +1513,7 @@ export type Api = {
|
|
|
1490
1513
|
referenceImageUrls?: string[];
|
|
1491
1514
|
sequentialImageGeneration?: "disabled" | "auto";
|
|
1492
1515
|
maxImages?: number;
|
|
1516
|
+
subjectUserId?: string;
|
|
1493
1517
|
};
|
|
1494
1518
|
return: any;
|
|
1495
1519
|
};
|
|
@@ -1556,6 +1580,7 @@ export type Api = {
|
|
|
1556
1580
|
personGeneration?: string;
|
|
1557
1581
|
numberOfVideos?: number;
|
|
1558
1582
|
seed?: number;
|
|
1583
|
+
subjectUserId?: string;
|
|
1559
1584
|
};
|
|
1560
1585
|
return: any;
|
|
1561
1586
|
};
|
|
@@ -1651,6 +1676,7 @@ export type Api = {
|
|
|
1651
1676
|
generate_audio?: boolean;
|
|
1652
1677
|
seed?: number;
|
|
1653
1678
|
service_tier?: string;
|
|
1679
|
+
subjectUserId?: string;
|
|
1654
1680
|
};
|
|
1655
1681
|
return: any;
|
|
1656
1682
|
};
|
|
@@ -1725,6 +1751,7 @@ export type Api = {
|
|
|
1725
1751
|
subdivision_level?: string;
|
|
1726
1752
|
file_format?: string;
|
|
1727
1753
|
seed?: number;
|
|
1754
|
+
subjectUserId?: string;
|
|
1728
1755
|
};
|
|
1729
1756
|
return: any;
|
|
1730
1757
|
};
|
|
@@ -1803,8 +1830,9 @@ export type Api = {
|
|
|
1803
1830
|
numberOfImages?: number;
|
|
1804
1831
|
personGeneration?: string;
|
|
1805
1832
|
resolution?: string;
|
|
1806
|
-
|
|
1833
|
+
referenceImageKey?: string;
|
|
1807
1834
|
referenceImageMimeType?: string;
|
|
1835
|
+
subjectUserId?: string;
|
|
1808
1836
|
};
|
|
1809
1837
|
return: any;
|
|
1810
1838
|
};
|
|
@@ -1882,7 +1910,9 @@ export type Api = {
|
|
|
1882
1910
|
balance: {
|
|
1883
1911
|
/** 查询用户积分余额 */
|
|
1884
1912
|
post: {
|
|
1885
|
-
body:
|
|
1913
|
+
body: {
|
|
1914
|
+
subjectUserId?: string;
|
|
1915
|
+
};
|
|
1886
1916
|
return: any;
|
|
1887
1917
|
};
|
|
1888
1918
|
};
|
|
@@ -1961,6 +1991,7 @@ export type Api = {
|
|
|
1961
1991
|
agentVendorOnly?: boolean;
|
|
1962
1992
|
platformUpstream?: "direct" | "proxy_railway";
|
|
1963
1993
|
downstreamAccessMode?: "official" | "self_key";
|
|
1994
|
+
accessScope?: "private" | "all_apps";
|
|
1964
1995
|
};
|
|
1965
1996
|
return: any;
|
|
1966
1997
|
};
|
|
@@ -1972,6 +2003,7 @@ export type Api = {
|
|
|
1972
2003
|
enabled?: boolean;
|
|
1973
2004
|
supplierKind?: "agent_vendor" | "agent_proxy";
|
|
1974
2005
|
agentVendorOnly?: boolean;
|
|
2006
|
+
accessScope?: "private" | "all_apps";
|
|
1975
2007
|
};
|
|
1976
2008
|
return: any;
|
|
1977
2009
|
};
|
|
@@ -1985,7 +2017,8 @@ export type Api = {
|
|
|
1985
2017
|
enabled?: boolean;
|
|
1986
2018
|
description?: string;
|
|
1987
2019
|
platformUpstream: "direct" | "proxy_railway";
|
|
1988
|
-
downstreamAccessModes: "official" | "self_key"[];
|
|
2020
|
+
downstreamAccessModes: ("official" | "self_key")[];
|
|
2021
|
+
accessScope?: "private" | "all_apps";
|
|
1989
2022
|
};
|
|
1990
2023
|
return: any;
|
|
1991
2024
|
};
|
|
@@ -2008,6 +2041,7 @@ export type Api = {
|
|
|
2008
2041
|
supplierId?: string;
|
|
2009
2042
|
keyword?: string;
|
|
2010
2043
|
enabled?: boolean;
|
|
2044
|
+
accessScope?: "private" | "all_apps";
|
|
2011
2045
|
withStats?: boolean;
|
|
2012
2046
|
};
|
|
2013
2047
|
return: any;
|
|
@@ -2027,6 +2061,7 @@ export type Api = {
|
|
|
2027
2061
|
body: {
|
|
2028
2062
|
supplierId?: string;
|
|
2029
2063
|
enabled?: boolean;
|
|
2064
|
+
accessScope?: "private" | "all_apps";
|
|
2030
2065
|
};
|
|
2031
2066
|
return: any;
|
|
2032
2067
|
};
|
|
@@ -2037,6 +2072,12 @@ export type Api = {
|
|
|
2037
2072
|
supplierId: string;
|
|
2038
2073
|
productLineKey: string;
|
|
2039
2074
|
label: string;
|
|
2075
|
+
artifactStorage?: {
|
|
2076
|
+
type: "none" | "object_storage";
|
|
2077
|
+
required: boolean;
|
|
2078
|
+
targetId?: string;
|
|
2079
|
+
};
|
|
2080
|
+
accessScope?: "private" | "all_apps";
|
|
2040
2081
|
};
|
|
2041
2082
|
return: any;
|
|
2042
2083
|
};
|
|
@@ -2047,6 +2088,12 @@ export type Api = {
|
|
|
2047
2088
|
productLineId: string;
|
|
2048
2089
|
label?: string;
|
|
2049
2090
|
enabled?: boolean;
|
|
2091
|
+
artifactStorage?: {
|
|
2092
|
+
type: "none" | "object_storage";
|
|
2093
|
+
required: boolean;
|
|
2094
|
+
targetId?: string;
|
|
2095
|
+
};
|
|
2096
|
+
accessScope?: "private" | "all_apps";
|
|
2050
2097
|
};
|
|
2051
2098
|
return: any;
|
|
2052
2099
|
};
|
|
@@ -2071,6 +2118,7 @@ export type Api = {
|
|
|
2071
2118
|
enabled?: boolean;
|
|
2072
2119
|
chatRuntimeEnabled?: boolean;
|
|
2073
2120
|
method?: "POST" | "GET";
|
|
2121
|
+
accessScope?: "private" | "all_apps";
|
|
2074
2122
|
};
|
|
2075
2123
|
return: any;
|
|
2076
2124
|
};
|
|
@@ -2097,6 +2145,7 @@ export type Api = {
|
|
|
2097
2145
|
docUrl?: string;
|
|
2098
2146
|
description?: string;
|
|
2099
2147
|
enabled?: boolean;
|
|
2148
|
+
accessScope?: "private" | "all_apps";
|
|
2100
2149
|
};
|
|
2101
2150
|
return: any;
|
|
2102
2151
|
};
|
|
@@ -2114,6 +2163,7 @@ export type Api = {
|
|
|
2114
2163
|
docUrl?: string;
|
|
2115
2164
|
description?: string;
|
|
2116
2165
|
enabled?: boolean;
|
|
2166
|
+
accessScope?: "private" | "all_apps";
|
|
2117
2167
|
};
|
|
2118
2168
|
return: any;
|
|
2119
2169
|
};
|
|
@@ -2156,6 +2206,7 @@ export type Api = {
|
|
|
2156
2206
|
status?: "active" | "deprecated";
|
|
2157
2207
|
inputType?: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
2158
2208
|
outputType?: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
2209
|
+
accessScope?: "private" | "all_apps";
|
|
2159
2210
|
};
|
|
2160
2211
|
return: any;
|
|
2161
2212
|
};
|
|
@@ -2187,7 +2238,7 @@ export type Api = {
|
|
|
2187
2238
|
tags?: string[];
|
|
2188
2239
|
description?: string;
|
|
2189
2240
|
capabilities: {
|
|
2190
|
-
inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
|
|
2241
|
+
inputTypes: ("text" | "image" | "audio" | "video" | "embedding" | "mesh_3d")[];
|
|
2191
2242
|
outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
2192
2243
|
rateLimits?: {
|
|
2193
2244
|
tpmPerMinute?: number;
|
|
@@ -2252,6 +2303,7 @@ export type Api = {
|
|
|
2252
2303
|
mcp?: boolean;
|
|
2253
2304
|
};
|
|
2254
2305
|
status?: "active" | "deprecated";
|
|
2306
|
+
accessScope?: "private" | "all_apps";
|
|
2255
2307
|
};
|
|
2256
2308
|
return: any;
|
|
2257
2309
|
};
|
|
@@ -2266,7 +2318,7 @@ export type Api = {
|
|
|
2266
2318
|
tags?: string[];
|
|
2267
2319
|
description?: string;
|
|
2268
2320
|
capabilities?: {
|
|
2269
|
-
inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
|
|
2321
|
+
inputTypes: ("text" | "image" | "audio" | "video" | "embedding" | "mesh_3d")[];
|
|
2270
2322
|
outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
2271
2323
|
rateLimits?: {
|
|
2272
2324
|
tpmPerMinute?: number;
|
|
@@ -2331,6 +2383,7 @@ export type Api = {
|
|
|
2331
2383
|
mcp?: boolean;
|
|
2332
2384
|
};
|
|
2333
2385
|
status?: "active" | "deprecated";
|
|
2386
|
+
accessScope?: "private" | "all_apps";
|
|
2334
2387
|
};
|
|
2335
2388
|
return: any;
|
|
2336
2389
|
};
|
|
@@ -2390,6 +2443,7 @@ export type Api = {
|
|
|
2390
2443
|
keyword?: string;
|
|
2391
2444
|
enabled?: boolean;
|
|
2392
2445
|
platformAvailable?: boolean;
|
|
2446
|
+
accessScope?: "private" | "all_apps";
|
|
2393
2447
|
};
|
|
2394
2448
|
return: any;
|
|
2395
2449
|
};
|
|
@@ -2416,6 +2470,7 @@ export type Api = {
|
|
|
2416
2470
|
status?: "active" | "deprecated";
|
|
2417
2471
|
enabled?: boolean;
|
|
2418
2472
|
description?: string;
|
|
2473
|
+
accessScope?: "private" | "all_apps";
|
|
2419
2474
|
};
|
|
2420
2475
|
return: any;
|
|
2421
2476
|
};
|
|
@@ -2434,6 +2489,7 @@ export type Api = {
|
|
|
2434
2489
|
status?: "active" | "deprecated";
|
|
2435
2490
|
enabled?: boolean;
|
|
2436
2491
|
description?: string;
|
|
2492
|
+
accessScope?: "private" | "all_apps";
|
|
2437
2493
|
};
|
|
2438
2494
|
return: any;
|
|
2439
2495
|
};
|
|
@@ -2566,6 +2622,12 @@ export type Api = {
|
|
|
2566
2622
|
};
|
|
2567
2623
|
statuses: {
|
|
2568
2624
|
post: {
|
|
2625
|
+
body: {
|
|
2626
|
+
identities?: {
|
|
2627
|
+
supplierId: string;
|
|
2628
|
+
profileId: string;
|
|
2629
|
+
}[];
|
|
2630
|
+
};
|
|
2569
2631
|
return: any;
|
|
2570
2632
|
};
|
|
2571
2633
|
};
|
|
@@ -2617,6 +2679,7 @@ export type Api = {
|
|
|
2617
2679
|
input: string;
|
|
2618
2680
|
dimensions?: number;
|
|
2619
2681
|
instructions?: string;
|
|
2682
|
+
subjectUserId?: string;
|
|
2620
2683
|
};
|
|
2621
2684
|
return: any;
|
|
2622
2685
|
};
|
|
@@ -2665,6 +2728,292 @@ export type Api = {
|
|
|
2665
2728
|
};
|
|
2666
2729
|
};
|
|
2667
2730
|
};
|
|
2731
|
+
internal: {
|
|
2732
|
+
queue: {
|
|
2733
|
+
ai: {
|
|
2734
|
+
'image-sync': {
|
|
2735
|
+
/** 补偿 Seedream/Gemini 图片任务 processing 超时恢复和扣费失败记录 */
|
|
2736
|
+
post: {
|
|
2737
|
+
body: {
|
|
2738
|
+
appId: string;
|
|
2739
|
+
queueKey: string;
|
|
2740
|
+
queueDefinitionId: string;
|
|
2741
|
+
taskRunId: string;
|
|
2742
|
+
queueServiceKey: string;
|
|
2743
|
+
context: {
|
|
2744
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2745
|
+
actor: {
|
|
2746
|
+
type: "user" | "service" | "system" | "queue";
|
|
2747
|
+
id?: string;
|
|
2748
|
+
};
|
|
2749
|
+
businessContext: {
|
|
2750
|
+
resourceType?: string;
|
|
2751
|
+
resourceId?: string;
|
|
2752
|
+
operation?: string;
|
|
2753
|
+
};
|
|
2754
|
+
traceContext: {
|
|
2755
|
+
requestId?: string;
|
|
2756
|
+
traceId?: string;
|
|
2757
|
+
parentTaskRunId?: string;
|
|
2758
|
+
};
|
|
2759
|
+
};
|
|
2760
|
+
} & {
|
|
2761
|
+
payload: {
|
|
2762
|
+
scheduledAt?: string;
|
|
2763
|
+
source?: string;
|
|
2764
|
+
schedulerJobId?: string;
|
|
2765
|
+
};
|
|
2766
|
+
};
|
|
2767
|
+
return: any;
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2770
|
+
'image-seedream-process': {
|
|
2771
|
+
/** 处理单个 Seedream 图片生成任务 */
|
|
2772
|
+
post: {
|
|
2773
|
+
body: {
|
|
2774
|
+
appId: string;
|
|
2775
|
+
queueKey: string;
|
|
2776
|
+
queueDefinitionId: string;
|
|
2777
|
+
taskRunId: string;
|
|
2778
|
+
queueServiceKey: string;
|
|
2779
|
+
context: {
|
|
2780
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2781
|
+
actor: {
|
|
2782
|
+
type: "user" | "service" | "system" | "queue";
|
|
2783
|
+
id?: string;
|
|
2784
|
+
};
|
|
2785
|
+
businessContext: {
|
|
2786
|
+
resourceType?: string;
|
|
2787
|
+
resourceId?: string;
|
|
2788
|
+
operation?: string;
|
|
2789
|
+
};
|
|
2790
|
+
traceContext: {
|
|
2791
|
+
requestId?: string;
|
|
2792
|
+
traceId?: string;
|
|
2793
|
+
parentTaskRunId?: string;
|
|
2794
|
+
};
|
|
2795
|
+
};
|
|
2796
|
+
} & {
|
|
2797
|
+
payload: {
|
|
2798
|
+
taskId: string;
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2801
|
+
return: any;
|
|
2802
|
+
};
|
|
2803
|
+
};
|
|
2804
|
+
'image-gemini-process': {
|
|
2805
|
+
/** 处理单个 Gemini 图片生成任务 */
|
|
2806
|
+
post: {
|
|
2807
|
+
body: {
|
|
2808
|
+
appId: string;
|
|
2809
|
+
queueKey: string;
|
|
2810
|
+
queueDefinitionId: string;
|
|
2811
|
+
taskRunId: string;
|
|
2812
|
+
queueServiceKey: string;
|
|
2813
|
+
context: {
|
|
2814
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2815
|
+
actor: {
|
|
2816
|
+
type: "user" | "service" | "system" | "queue";
|
|
2817
|
+
id?: string;
|
|
2818
|
+
};
|
|
2819
|
+
businessContext: {
|
|
2820
|
+
resourceType?: string;
|
|
2821
|
+
resourceId?: string;
|
|
2822
|
+
operation?: string;
|
|
2823
|
+
};
|
|
2824
|
+
traceContext: {
|
|
2825
|
+
requestId?: string;
|
|
2826
|
+
traceId?: string;
|
|
2827
|
+
parentTaskRunId?: string;
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
} & {
|
|
2831
|
+
payload: {
|
|
2832
|
+
taskId: string;
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
return: any;
|
|
2836
|
+
};
|
|
2837
|
+
};
|
|
2838
|
+
'video-sync': {
|
|
2839
|
+
/** 补偿 Veo/Seedance 等视频任务 processing 超时恢复和扣费失败记录 */
|
|
2840
|
+
post: {
|
|
2841
|
+
body: {
|
|
2842
|
+
appId: string;
|
|
2843
|
+
queueKey: string;
|
|
2844
|
+
queueDefinitionId: string;
|
|
2845
|
+
taskRunId: string;
|
|
2846
|
+
queueServiceKey: string;
|
|
2847
|
+
context: {
|
|
2848
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2849
|
+
actor: {
|
|
2850
|
+
type: "user" | "service" | "system" | "queue";
|
|
2851
|
+
id?: string;
|
|
2852
|
+
};
|
|
2853
|
+
businessContext: {
|
|
2854
|
+
resourceType?: string;
|
|
2855
|
+
resourceId?: string;
|
|
2856
|
+
operation?: string;
|
|
2857
|
+
};
|
|
2858
|
+
traceContext: {
|
|
2859
|
+
requestId?: string;
|
|
2860
|
+
traceId?: string;
|
|
2861
|
+
parentTaskRunId?: string;
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
} & {
|
|
2865
|
+
payload: {
|
|
2866
|
+
scheduledAt?: string;
|
|
2867
|
+
source?: string;
|
|
2868
|
+
schedulerJobId?: string;
|
|
2869
|
+
};
|
|
2870
|
+
};
|
|
2871
|
+
return: any;
|
|
2872
|
+
};
|
|
2873
|
+
};
|
|
2874
|
+
'video-veo-process': {
|
|
2875
|
+
/** 处理单个 Veo 视频生成任务 */
|
|
2876
|
+
post: {
|
|
2877
|
+
body: {
|
|
2878
|
+
appId: string;
|
|
2879
|
+
queueKey: string;
|
|
2880
|
+
queueDefinitionId: string;
|
|
2881
|
+
taskRunId: string;
|
|
2882
|
+
queueServiceKey: string;
|
|
2883
|
+
context: {
|
|
2884
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2885
|
+
actor: {
|
|
2886
|
+
type: "user" | "service" | "system" | "queue";
|
|
2887
|
+
id?: string;
|
|
2888
|
+
};
|
|
2889
|
+
businessContext: {
|
|
2890
|
+
resourceType?: string;
|
|
2891
|
+
resourceId?: string;
|
|
2892
|
+
operation?: string;
|
|
2893
|
+
};
|
|
2894
|
+
traceContext: {
|
|
2895
|
+
requestId?: string;
|
|
2896
|
+
traceId?: string;
|
|
2897
|
+
parentTaskRunId?: string;
|
|
2898
|
+
};
|
|
2899
|
+
};
|
|
2900
|
+
} & {
|
|
2901
|
+
payload: {
|
|
2902
|
+
taskId: string;
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2905
|
+
return: any;
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
'speech-sync': {
|
|
2909
|
+
/** 同步 TTS、ASR、声音克隆和槽位交付任务状态 */
|
|
2910
|
+
post: {
|
|
2911
|
+
body: {
|
|
2912
|
+
appId: string;
|
|
2913
|
+
queueKey: string;
|
|
2914
|
+
queueDefinitionId: string;
|
|
2915
|
+
taskRunId: string;
|
|
2916
|
+
queueServiceKey: string;
|
|
2917
|
+
context: {
|
|
2918
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2919
|
+
actor: {
|
|
2920
|
+
type: "user" | "service" | "system" | "queue";
|
|
2921
|
+
id?: string;
|
|
2922
|
+
};
|
|
2923
|
+
businessContext: {
|
|
2924
|
+
resourceType?: string;
|
|
2925
|
+
resourceId?: string;
|
|
2926
|
+
operation?: string;
|
|
2927
|
+
};
|
|
2928
|
+
traceContext: {
|
|
2929
|
+
requestId?: string;
|
|
2930
|
+
traceId?: string;
|
|
2931
|
+
parentTaskRunId?: string;
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
} & {
|
|
2935
|
+
payload: {
|
|
2936
|
+
scheduledAt?: string;
|
|
2937
|
+
source?: string;
|
|
2938
|
+
schedulerJobId?: string;
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
return: any;
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
'speech-si-process': {
|
|
2945
|
+
/** 处理单个语音转语音任务 */
|
|
2946
|
+
post: {
|
|
2947
|
+
body: {
|
|
2948
|
+
appId: string;
|
|
2949
|
+
queueKey: string;
|
|
2950
|
+
queueDefinitionId: string;
|
|
2951
|
+
taskRunId: string;
|
|
2952
|
+
queueServiceKey: string;
|
|
2953
|
+
context: {
|
|
2954
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2955
|
+
actor: {
|
|
2956
|
+
type: "user" | "service" | "system" | "queue";
|
|
2957
|
+
id?: string;
|
|
2958
|
+
};
|
|
2959
|
+
businessContext: {
|
|
2960
|
+
resourceType?: string;
|
|
2961
|
+
resourceId?: string;
|
|
2962
|
+
operation?: string;
|
|
2963
|
+
};
|
|
2964
|
+
traceContext: {
|
|
2965
|
+
requestId?: string;
|
|
2966
|
+
traceId?: string;
|
|
2967
|
+
parentTaskRunId?: string;
|
|
2968
|
+
};
|
|
2969
|
+
};
|
|
2970
|
+
} & {
|
|
2971
|
+
payload: {
|
|
2972
|
+
taskId: string;
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
return: any;
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
'billing-retry': {
|
|
2979
|
+
/** 补偿 AI 任务产物已就绪但扣费失败的记录 */
|
|
2980
|
+
post: {
|
|
2981
|
+
body: {
|
|
2982
|
+
appId: string;
|
|
2983
|
+
queueKey: string;
|
|
2984
|
+
queueDefinitionId: string;
|
|
2985
|
+
taskRunId: string;
|
|
2986
|
+
queueServiceKey: string;
|
|
2987
|
+
context: {
|
|
2988
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
2989
|
+
actor: {
|
|
2990
|
+
type: "user" | "service" | "system" | "queue";
|
|
2991
|
+
id?: string;
|
|
2992
|
+
};
|
|
2993
|
+
businessContext: {
|
|
2994
|
+
resourceType?: string;
|
|
2995
|
+
resourceId?: string;
|
|
2996
|
+
operation?: string;
|
|
2997
|
+
};
|
|
2998
|
+
traceContext: {
|
|
2999
|
+
requestId?: string;
|
|
3000
|
+
traceId?: string;
|
|
3001
|
+
parentTaskRunId?: string;
|
|
3002
|
+
};
|
|
3003
|
+
};
|
|
3004
|
+
} & {
|
|
3005
|
+
payload: {
|
|
3006
|
+
scheduledAt?: string;
|
|
3007
|
+
source?: string;
|
|
3008
|
+
schedulerJobId?: string;
|
|
3009
|
+
};
|
|
3010
|
+
};
|
|
3011
|
+
return: any;
|
|
3012
|
+
};
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
2668
3017
|
webhooks: {
|
|
2669
3018
|
events: {
|
|
2670
3019
|
/** 获取所有可用的 Webhook 事件类型 */
|
|
@@ -2705,7 +3054,7 @@ export interface ApiClient {
|
|
|
2705
3054
|
};
|
|
2706
3055
|
stream: {
|
|
2707
3056
|
/** 发起流式 AI 对话请求(SSE),含计费 */
|
|
2708
|
-
post: (body
|
|
3057
|
+
post: (body?: {
|
|
2709
3058
|
message?: string;
|
|
2710
3059
|
images?: string[];
|
|
2711
3060
|
sessionId?: string;
|
|
@@ -2728,6 +3077,7 @@ export interface ApiClient {
|
|
|
2728
3077
|
};
|
|
2729
3078
|
}[];
|
|
2730
3079
|
skillContents?: string[];
|
|
3080
|
+
subjectUserId?: string;
|
|
2731
3081
|
options?: {
|
|
2732
3082
|
mode?: "agent" | "ask";
|
|
2733
3083
|
model?: string;
|
|
@@ -2737,7 +3087,7 @@ export interface ApiClient {
|
|
|
2737
3087
|
autoRunConfig?: {
|
|
2738
3088
|
mode?: "off" | "run-everything" | "approve-all";
|
|
2739
3089
|
};
|
|
2740
|
-
history?: {
|
|
3090
|
+
history?: ({
|
|
2741
3091
|
role: "user" | "assistant" | "system" | "tool";
|
|
2742
3092
|
content: string;
|
|
2743
3093
|
tool_call_id?: string;
|
|
@@ -2749,7 +3099,7 @@ export interface ApiClient {
|
|
|
2749
3099
|
arguments: string;
|
|
2750
3100
|
};
|
|
2751
3101
|
}[];
|
|
2752
|
-
}[];
|
|
3102
|
+
})[];
|
|
2753
3103
|
serviceTier?: string;
|
|
2754
3104
|
billingPlan?: "online_standard" | "online_low_latency" | "batch";
|
|
2755
3105
|
};
|
|
@@ -2761,12 +3111,13 @@ export interface ApiClient {
|
|
|
2761
3111
|
model: string;
|
|
2762
3112
|
max_tokens?: number;
|
|
2763
3113
|
temperature?: number;
|
|
2764
|
-
messages: {
|
|
3114
|
+
messages: ({
|
|
2765
3115
|
role: "user" | "assistant" | "system";
|
|
2766
3116
|
content: string | unknown[];
|
|
2767
|
-
}[];
|
|
3117
|
+
})[];
|
|
2768
3118
|
service_tier?: string;
|
|
2769
3119
|
billing_plan?: "online_standard" | "online_low_latency" | "batch";
|
|
3120
|
+
subjectUserId?: string;
|
|
2770
3121
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2771
3122
|
};
|
|
2772
3123
|
cancel: {
|
|
@@ -2777,7 +3128,7 @@ export interface ApiClient {
|
|
|
2777
3128
|
/** 获取当前用户的所有会话 */
|
|
2778
3129
|
get: (config?: RequestConfig) => RequestBuilder<any>;
|
|
2779
3130
|
/** 创建新的聊天会话 */
|
|
2780
|
-
post: (body
|
|
3131
|
+
post: (body?: {
|
|
2781
3132
|
title?: string;
|
|
2782
3133
|
model?: string;
|
|
2783
3134
|
mode?: "agent" | "ask";
|
|
@@ -2786,7 +3137,7 @@ export interface ApiClient {
|
|
|
2786
3137
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2787
3138
|
':id': {
|
|
2788
3139
|
/** 更新会话信息 */
|
|
2789
|
-
put: (body
|
|
3140
|
+
put: (body?: {
|
|
2790
3141
|
title?: string;
|
|
2791
3142
|
model?: string;
|
|
2792
3143
|
mode?: "agent" | "ask";
|
|
@@ -2824,7 +3175,7 @@ export interface ApiClient {
|
|
|
2824
3175
|
messages: {
|
|
2825
3176
|
':id': {
|
|
2826
3177
|
/** 更新消息内容(支持 usage、duration、operationIds),含归属验证 */
|
|
2827
|
-
put: (body
|
|
3178
|
+
put: (body?: {
|
|
2828
3179
|
content?: string;
|
|
2829
3180
|
steps?: string;
|
|
2830
3181
|
operationIds?: string;
|
|
@@ -2939,7 +3290,7 @@ export interface ApiClient {
|
|
|
2939
3290
|
};
|
|
2940
3291
|
options: {
|
|
2941
3292
|
/** 获取模型下拉选项 */
|
|
2942
|
-
post: (body
|
|
3293
|
+
post: (body?: {
|
|
2943
3294
|
providers?: string[];
|
|
2944
3295
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2945
3296
|
};
|
|
@@ -3026,6 +3377,7 @@ export interface ApiClient {
|
|
|
3026
3377
|
temperature?: number;
|
|
3027
3378
|
service_tier?: string;
|
|
3028
3379
|
billing_plan?: "online_standard" | "online_low_latency" | "batch";
|
|
3380
|
+
subjectUserId?: string;
|
|
3029
3381
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3030
3382
|
models: {
|
|
3031
3383
|
/** 获取指定提示词可用的模型列表 */
|
|
@@ -3041,7 +3393,7 @@ export interface ApiClient {
|
|
|
3041
3393
|
chat: {
|
|
3042
3394
|
completions: {
|
|
3043
3395
|
/** 原样代理 DashScope compatible-mode /chat/completions,并统一加登录态、额度和计费 */
|
|
3044
|
-
post: (body
|
|
3396
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3045
3397
|
};
|
|
3046
3398
|
};
|
|
3047
3399
|
};
|
|
@@ -3053,13 +3405,13 @@ export interface ApiClient {
|
|
|
3053
3405
|
'text-generation': {
|
|
3054
3406
|
generation: {
|
|
3055
3407
|
/** 原样代理 DashScope 原生 text-generation,并统一加登录态、额度和计费 */
|
|
3056
|
-
post: (body
|
|
3408
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3057
3409
|
};
|
|
3058
3410
|
};
|
|
3059
3411
|
'multimodal-generation': {
|
|
3060
3412
|
generation: {
|
|
3061
3413
|
/** 原样代理 DashScope 原生 multimodal-generation,并统一加登录态、额度和计费 */
|
|
3062
|
-
post: (body
|
|
3414
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3063
3415
|
};
|
|
3064
3416
|
};
|
|
3065
3417
|
};
|
|
@@ -3072,7 +3424,7 @@ export interface ApiClient {
|
|
|
3072
3424
|
chat: {
|
|
3073
3425
|
completions: {
|
|
3074
3426
|
/** 原样代理 DeepSeek /chat/completions,并统一加登录态、额度和计费 */
|
|
3075
|
-
post: (body
|
|
3427
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3076
3428
|
};
|
|
3077
3429
|
};
|
|
3078
3430
|
};
|
|
@@ -3082,7 +3434,7 @@ export interface ApiClient {
|
|
|
3082
3434
|
chat: {
|
|
3083
3435
|
completions: {
|
|
3084
3436
|
/** 原样代理 OpenRouter /chat/completions,并统一加登录态、额度和计费 */
|
|
3085
|
-
post: (body
|
|
3437
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3086
3438
|
};
|
|
3087
3439
|
};
|
|
3088
3440
|
};
|
|
@@ -3091,18 +3443,18 @@ export interface ApiClient {
|
|
|
3091
3443
|
v1: {
|
|
3092
3444
|
responses: {
|
|
3093
3445
|
/** 原样代理 OpenAI /responses,并统一加登录态、额度和计费 */
|
|
3094
|
-
post: (body
|
|
3446
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3095
3447
|
};
|
|
3096
3448
|
chat: {
|
|
3097
3449
|
completions: {
|
|
3098
3450
|
/** 原样代理 OpenAI /chat/completions,并统一加登录态、额度和计费 */
|
|
3099
|
-
post: (body
|
|
3451
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3100
3452
|
};
|
|
3101
3453
|
};
|
|
3102
3454
|
images: {
|
|
3103
3455
|
generations: {
|
|
3104
3456
|
/** 原样代理 OpenAI /images/generations(DALL·E 按张 · GPT Image 按 token) */
|
|
3105
|
-
post: (body
|
|
3457
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3106
3458
|
};
|
|
3107
3459
|
edits: {
|
|
3108
3460
|
/** 原样代理 OpenAI /images/edits(GPT Image 按 token · multipart) */
|
|
@@ -3115,7 +3467,7 @@ export interface ApiClient {
|
|
|
3115
3467
|
v1: {
|
|
3116
3468
|
messages: {
|
|
3117
3469
|
/** 原样代理 Anthropic /messages,并统一加登录态、额度和计费 */
|
|
3118
|
-
post: (body
|
|
3470
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3119
3471
|
};
|
|
3120
3472
|
};
|
|
3121
3473
|
};
|
|
@@ -3124,7 +3476,7 @@ export interface ApiClient {
|
|
|
3124
3476
|
models: {
|
|
3125
3477
|
':id': {
|
|
3126
3478
|
/** 原样代理 Gemini /models/{model}:generateContent 等接口,并统一加登录态、额度和计费 */
|
|
3127
|
-
post: (body
|
|
3479
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3128
3480
|
};
|
|
3129
3481
|
};
|
|
3130
3482
|
};
|
|
@@ -3134,7 +3486,7 @@ export interface ApiClient {
|
|
|
3134
3486
|
chat: {
|
|
3135
3487
|
completions: {
|
|
3136
3488
|
/** 原样代理 GLM /chat/completions,并统一加登录态、额度和计费 */
|
|
3137
|
-
post: (body
|
|
3489
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3138
3490
|
};
|
|
3139
3491
|
};
|
|
3140
3492
|
};
|
|
@@ -3143,24 +3495,24 @@ export interface ApiClient {
|
|
|
3143
3495
|
v1: {
|
|
3144
3496
|
responses: {
|
|
3145
3497
|
/** 通过 LLM Proxy 原样代理 Grok /responses,并统一加登录态、额度和计费 */
|
|
3146
|
-
post: (body
|
|
3498
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3147
3499
|
};
|
|
3148
3500
|
chat: {
|
|
3149
3501
|
completions: {
|
|
3150
3502
|
/** 通过 LLM Proxy 原样代理 Grok /chat/completions,并统一加登录态、额度和计费 */
|
|
3151
|
-
post: (body
|
|
3503
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3152
3504
|
};
|
|
3153
3505
|
};
|
|
3154
3506
|
images: {
|
|
3155
3507
|
generations: {
|
|
3156
3508
|
/** 通过 LLM Proxy 原样代理 Grok /images/generations,并按张计费 */
|
|
3157
|
-
post: (body
|
|
3509
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3158
3510
|
};
|
|
3159
3511
|
};
|
|
3160
3512
|
videos: {
|
|
3161
3513
|
generations: {
|
|
3162
3514
|
/** 通过 LLM Proxy 代理 Grok /videos/generations,提交任务不扣费 */
|
|
3163
|
-
post: (body
|
|
3515
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3164
3516
|
};
|
|
3165
3517
|
':id': {
|
|
3166
3518
|
/** 通过 LLM Proxy 转发 Grok /videos/{request_id},视频生成成功后按秒扣费 */
|
|
@@ -3174,7 +3526,7 @@ export interface ApiClient {
|
|
|
3174
3526
|
chat: {
|
|
3175
3527
|
completions: {
|
|
3176
3528
|
/** 原样代理 Moonshot /chat/completions,并统一加登录态、额度和计费 */
|
|
3177
|
-
post: (body
|
|
3529
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3178
3530
|
};
|
|
3179
3531
|
};
|
|
3180
3532
|
};
|
|
@@ -3184,7 +3536,7 @@ export interface ApiClient {
|
|
|
3184
3536
|
v1: {
|
|
3185
3537
|
messages: {
|
|
3186
3538
|
/** 原样代理 MiniMax Anthropic /messages,并统一加登录态、额度和计费 */
|
|
3187
|
-
post: (body
|
|
3539
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3188
3540
|
};
|
|
3189
3541
|
};
|
|
3190
3542
|
};
|
|
@@ -3195,12 +3547,12 @@ export interface ApiClient {
|
|
|
3195
3547
|
v3: {
|
|
3196
3548
|
responses: {
|
|
3197
3549
|
/** 原样代理火山方舟原厂 /api/v3/responses,并统一加登录态、额度和计费 */
|
|
3198
|
-
post: (body
|
|
3550
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3199
3551
|
};
|
|
3200
3552
|
chat: {
|
|
3201
3553
|
completions: {
|
|
3202
3554
|
/** 原样代理火山方舟原厂 /api/v3/chat/completions,并统一加登录态、额度和计费 */
|
|
3203
|
-
post: (body
|
|
3555
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3204
3556
|
};
|
|
3205
3557
|
};
|
|
3206
3558
|
};
|
|
@@ -3209,14 +3561,14 @@ export interface ApiClient {
|
|
|
3209
3561
|
chat: {
|
|
3210
3562
|
completions: {
|
|
3211
3563
|
/** 平台暂未开放 Agent Plan 官方线路 */
|
|
3212
|
-
post: (body
|
|
3564
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3213
3565
|
};
|
|
3214
3566
|
};
|
|
3215
3567
|
};
|
|
3216
3568
|
v1: {
|
|
3217
3569
|
messages: {
|
|
3218
3570
|
/** 平台暂未开放 Agent Plan 官方线路 */
|
|
3219
|
-
post: (body
|
|
3571
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3220
3572
|
};
|
|
3221
3573
|
};
|
|
3222
3574
|
};
|
|
@@ -3225,14 +3577,14 @@ export interface ApiClient {
|
|
|
3225
3577
|
chat: {
|
|
3226
3578
|
completions: {
|
|
3227
3579
|
/** 平台暂未开放 Coding Plan 官方线路 */
|
|
3228
|
-
post: (body
|
|
3580
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3229
3581
|
};
|
|
3230
3582
|
};
|
|
3231
3583
|
};
|
|
3232
3584
|
v1: {
|
|
3233
3585
|
messages: {
|
|
3234
3586
|
/** 平台暂未开放 Coding Plan 官方线路 */
|
|
3235
|
-
post: (body
|
|
3587
|
+
post: (body?: Record<string, unknown>, config?: RequestConfig) => RequestBuilder<any>;
|
|
3236
3588
|
};
|
|
3237
3589
|
};
|
|
3238
3590
|
};
|
|
@@ -3336,6 +3688,7 @@ export interface ApiClient {
|
|
|
3336
3688
|
vadSegment: boolean;
|
|
3337
3689
|
context?: unknown;
|
|
3338
3690
|
};
|
|
3691
|
+
subjectUserId?: string;
|
|
3339
3692
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3340
3693
|
};
|
|
3341
3694
|
delete: {
|
|
@@ -3383,6 +3736,7 @@ export interface ApiClient {
|
|
|
3383
3736
|
text: string;
|
|
3384
3737
|
encoding?: "wav";
|
|
3385
3738
|
synthesisMode?: "unidirectional" | "longText";
|
|
3739
|
+
subjectUserId?: string;
|
|
3386
3740
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3387
3741
|
};
|
|
3388
3742
|
status: {
|
|
@@ -3428,13 +3782,22 @@ export interface ApiClient {
|
|
|
3428
3782
|
create: {
|
|
3429
3783
|
/** 创建新的语音转语音任务(ASR → 翻译 → TTS) */
|
|
3430
3784
|
post: (body: {
|
|
3431
|
-
audios: {
|
|
3785
|
+
audios: ({
|
|
3432
3786
|
audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
|
|
3433
|
-
|
|
3787
|
+
audioUrl: string;
|
|
3434
3788
|
text?: string;
|
|
3435
|
-
}[];
|
|
3436
|
-
|
|
3437
|
-
|
|
3789
|
+
})[];
|
|
3790
|
+
voiceKind: "official" | "clone" | "design";
|
|
3791
|
+
voiceType: string;
|
|
3792
|
+
targetLanguage: string;
|
|
3793
|
+
subjectUserId?: string;
|
|
3794
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3795
|
+
};
|
|
3796
|
+
voiceTarget: {
|
|
3797
|
+
/** 根据所选音色返回支持的目标语言列表与默认值 */
|
|
3798
|
+
post: (body: {
|
|
3799
|
+
voiceKind: "official" | "clone" | "design";
|
|
3800
|
+
voiceType: string;
|
|
3438
3801
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3439
3802
|
};
|
|
3440
3803
|
status: {
|
|
@@ -3457,7 +3820,8 @@ export interface ApiClient {
|
|
|
3457
3820
|
where: {
|
|
3458
3821
|
id?: string;
|
|
3459
3822
|
speakerID?: string;
|
|
3460
|
-
|
|
3823
|
+
detectedSourceLanguage?: string;
|
|
3824
|
+
targetLanguage?: string;
|
|
3461
3825
|
status?: string;
|
|
3462
3826
|
};
|
|
3463
3827
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -3473,9 +3837,10 @@ export interface ApiClient {
|
|
|
3473
3837
|
session: {
|
|
3474
3838
|
create: {
|
|
3475
3839
|
/** 创建实时语音交互会话(complete 时扣费) */
|
|
3476
|
-
post: (body
|
|
3840
|
+
post: (body?: {
|
|
3477
3841
|
language?: string;
|
|
3478
3842
|
modelType?: 0 | 1;
|
|
3843
|
+
subjectUserId?: string;
|
|
3479
3844
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3480
3845
|
};
|
|
3481
3846
|
complete: {
|
|
@@ -3517,6 +3882,7 @@ export interface ApiClient {
|
|
|
3517
3882
|
tags: string[];
|
|
3518
3883
|
voiceSlotId: string;
|
|
3519
3884
|
description?: string;
|
|
3885
|
+
subjectUserId?: string;
|
|
3520
3886
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3521
3887
|
};
|
|
3522
3888
|
update: {
|
|
@@ -3571,6 +3937,7 @@ export interface ApiClient {
|
|
|
3571
3937
|
times: number;
|
|
3572
3938
|
quantity?: number;
|
|
3573
3939
|
description?: string;
|
|
3940
|
+
subjectUserId?: string;
|
|
3574
3941
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3575
3942
|
};
|
|
3576
3943
|
renew: {
|
|
@@ -3608,7 +3975,7 @@ export interface ApiClient {
|
|
|
3608
3975
|
};
|
|
3609
3976
|
options: {
|
|
3610
3977
|
/** 获取未绑定且已交付的音色槽位选项 */
|
|
3611
|
-
post: (body
|
|
3978
|
+
post: (body?: {
|
|
3612
3979
|
usageType?: "copyVoice" | "voiceDesign";
|
|
3613
3980
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3614
3981
|
status: {
|
|
@@ -3625,6 +3992,7 @@ export interface ApiClient {
|
|
|
3625
3992
|
tags: string[];
|
|
3626
3993
|
voiceSlotId: string;
|
|
3627
3994
|
description?: string;
|
|
3995
|
+
subjectUserId?: string;
|
|
3628
3996
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3629
3997
|
};
|
|
3630
3998
|
design: {
|
|
@@ -3738,10 +4106,11 @@ export interface ApiClient {
|
|
|
3738
4106
|
};
|
|
3739
4107
|
options: {
|
|
3740
4108
|
/** 获取音色下拉选项 */
|
|
3741
|
-
post: (body
|
|
4109
|
+
post: (body?: {
|
|
3742
4110
|
voiceKind?: "official" | "clone" | "design";
|
|
3743
4111
|
category?: string;
|
|
3744
4112
|
resourceId?: string;
|
|
4113
|
+
language?: string;
|
|
3745
4114
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3746
4115
|
categories: {
|
|
3747
4116
|
/** 聚合 ListSpeakers 返回的分类列表 */
|
|
@@ -3756,7 +4125,7 @@ export interface ApiClient {
|
|
|
3756
4125
|
copyVoiceId: string;
|
|
3757
4126
|
audio: {
|
|
3758
4127
|
audioFormat: "wav" | "mp3" | "ogg" | "m4a" | "aac" | "pcm";
|
|
3759
|
-
|
|
4128
|
+
audioUrl: string;
|
|
3760
4129
|
text?: string;
|
|
3761
4130
|
extraParams?: {
|
|
3762
4131
|
demoText?: string;
|
|
@@ -3811,6 +4180,7 @@ export interface ApiClient {
|
|
|
3811
4180
|
referenceImageUrls?: string[];
|
|
3812
4181
|
sequentialImageGeneration?: "disabled" | "auto";
|
|
3813
4182
|
maxImages?: number;
|
|
4183
|
+
subjectUserId?: string;
|
|
3814
4184
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3815
4185
|
};
|
|
3816
4186
|
delete: {
|
|
@@ -3861,6 +4231,7 @@ export interface ApiClient {
|
|
|
3861
4231
|
personGeneration?: string;
|
|
3862
4232
|
numberOfVideos?: number;
|
|
3863
4233
|
seed?: number;
|
|
4234
|
+
subjectUserId?: string;
|
|
3864
4235
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3865
4236
|
};
|
|
3866
4237
|
status: {
|
|
@@ -3929,6 +4300,7 @@ export interface ApiClient {
|
|
|
3929
4300
|
generate_audio?: boolean;
|
|
3930
4301
|
seed?: number;
|
|
3931
4302
|
service_tier?: string;
|
|
4303
|
+
subjectUserId?: string;
|
|
3932
4304
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3933
4305
|
};
|
|
3934
4306
|
status: {
|
|
@@ -3983,6 +4355,7 @@ export interface ApiClient {
|
|
|
3983
4355
|
subdivision_level?: string;
|
|
3984
4356
|
file_format?: string;
|
|
3985
4357
|
seed?: number;
|
|
4358
|
+
subjectUserId?: string;
|
|
3986
4359
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3987
4360
|
};
|
|
3988
4361
|
status: {
|
|
@@ -4041,8 +4414,9 @@ export interface ApiClient {
|
|
|
4041
4414
|
numberOfImages?: number;
|
|
4042
4415
|
personGeneration?: string;
|
|
4043
4416
|
resolution?: string;
|
|
4044
|
-
|
|
4417
|
+
referenceImageKey?: string;
|
|
4045
4418
|
referenceImageMimeType?: string;
|
|
4419
|
+
subjectUserId?: string;
|
|
4046
4420
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4047
4421
|
};
|
|
4048
4422
|
status: {
|
|
@@ -4097,7 +4471,9 @@ export interface ApiClient {
|
|
|
4097
4471
|
billing: {
|
|
4098
4472
|
balance: {
|
|
4099
4473
|
/** 查询用户积分余额 */
|
|
4100
|
-
post: (body
|
|
4474
|
+
post: (body?: {
|
|
4475
|
+
subjectUserId?: string;
|
|
4476
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4101
4477
|
};
|
|
4102
4478
|
estimate: {
|
|
4103
4479
|
/** 根据 token 数量预估费用 */
|
|
@@ -4110,7 +4486,7 @@ export interface ApiClient {
|
|
|
4110
4486
|
usage: {
|
|
4111
4487
|
stats: {
|
|
4112
4488
|
/** 统计用户的 AI 使用情况 */
|
|
4113
|
-
post: (body
|
|
4489
|
+
post: (body?: {
|
|
4114
4490
|
userId?: string;
|
|
4115
4491
|
model?: string;
|
|
4116
4492
|
supplierId?: string;
|
|
@@ -4122,7 +4498,7 @@ export interface ApiClient {
|
|
|
4122
4498
|
};
|
|
4123
4499
|
find: {
|
|
4124
4500
|
/** 查询用户的 AI 使用记录 */
|
|
4125
|
-
post: (body
|
|
4501
|
+
post: (body?: {
|
|
4126
4502
|
userId?: string;
|
|
4127
4503
|
model?: string;
|
|
4128
4504
|
supplierId?: string;
|
|
@@ -4152,7 +4528,7 @@ export interface ApiClient {
|
|
|
4152
4528
|
modelCatalog: {
|
|
4153
4529
|
suppliers: {
|
|
4154
4530
|
find: {
|
|
4155
|
-
post: (body
|
|
4531
|
+
post: (body?: {
|
|
4156
4532
|
page?: number;
|
|
4157
4533
|
pageSize?: number;
|
|
4158
4534
|
keyword?: string;
|
|
@@ -4161,14 +4537,16 @@ export interface ApiClient {
|
|
|
4161
4537
|
agentVendorOnly?: boolean;
|
|
4162
4538
|
platformUpstream?: "direct" | "proxy_railway";
|
|
4163
4539
|
downstreamAccessMode?: "official" | "self_key";
|
|
4540
|
+
accessScope?: "private" | "all_apps";
|
|
4164
4541
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4165
4542
|
};
|
|
4166
4543
|
options: {
|
|
4167
4544
|
/** 筛选项、表单 Select 用供应商下拉 */
|
|
4168
|
-
post: (body
|
|
4545
|
+
post: (body?: {
|
|
4169
4546
|
enabled?: boolean;
|
|
4170
4547
|
supplierKind?: "agent_vendor" | "agent_proxy";
|
|
4171
4548
|
agentVendorOnly?: boolean;
|
|
4549
|
+
accessScope?: "private" | "all_apps";
|
|
4172
4550
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4173
4551
|
};
|
|
4174
4552
|
upsert: {
|
|
@@ -4179,7 +4557,8 @@ export interface ApiClient {
|
|
|
4179
4557
|
enabled?: boolean;
|
|
4180
4558
|
description?: string;
|
|
4181
4559
|
platformUpstream: "direct" | "proxy_railway";
|
|
4182
|
-
downstreamAccessModes: "official" | "self_key"[];
|
|
4560
|
+
downstreamAccessModes: ("official" | "self_key")[];
|
|
4561
|
+
accessScope?: "private" | "all_apps";
|
|
4183
4562
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4184
4563
|
};
|
|
4185
4564
|
delete: {
|
|
@@ -4190,12 +4569,13 @@ export interface ApiClient {
|
|
|
4190
4569
|
};
|
|
4191
4570
|
productLines: {
|
|
4192
4571
|
find: {
|
|
4193
|
-
post: (body
|
|
4572
|
+
post: (body?: {
|
|
4194
4573
|
page?: number;
|
|
4195
4574
|
pageSize?: number;
|
|
4196
4575
|
supplierId?: string;
|
|
4197
4576
|
keyword?: string;
|
|
4198
4577
|
enabled?: boolean;
|
|
4578
|
+
accessScope?: "private" | "all_apps";
|
|
4199
4579
|
withStats?: boolean;
|
|
4200
4580
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4201
4581
|
};
|
|
@@ -4206,9 +4586,10 @@ export interface ApiClient {
|
|
|
4206
4586
|
};
|
|
4207
4587
|
options: {
|
|
4208
4588
|
/** 筛选项、表单 Select 用产品线下拉 */
|
|
4209
|
-
post: (body
|
|
4589
|
+
post: (body?: {
|
|
4210
4590
|
supplierId?: string;
|
|
4211
4591
|
enabled?: boolean;
|
|
4592
|
+
accessScope?: "private" | "all_apps";
|
|
4212
4593
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4213
4594
|
};
|
|
4214
4595
|
create: {
|
|
@@ -4216,6 +4597,12 @@ export interface ApiClient {
|
|
|
4216
4597
|
supplierId: string;
|
|
4217
4598
|
productLineKey: string;
|
|
4218
4599
|
label: string;
|
|
4600
|
+
artifactStorage?: {
|
|
4601
|
+
type: "none" | "object_storage";
|
|
4602
|
+
required: boolean;
|
|
4603
|
+
targetId?: string;
|
|
4604
|
+
};
|
|
4605
|
+
accessScope?: "private" | "all_apps";
|
|
4219
4606
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4220
4607
|
};
|
|
4221
4608
|
update: {
|
|
@@ -4223,6 +4610,12 @@ export interface ApiClient {
|
|
|
4223
4610
|
productLineId: string;
|
|
4224
4611
|
label?: string;
|
|
4225
4612
|
enabled?: boolean;
|
|
4613
|
+
artifactStorage?: {
|
|
4614
|
+
type: "none" | "object_storage";
|
|
4615
|
+
required: boolean;
|
|
4616
|
+
targetId?: string;
|
|
4617
|
+
};
|
|
4618
|
+
accessScope?: "private" | "all_apps";
|
|
4226
4619
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4227
4620
|
};
|
|
4228
4621
|
delete: {
|
|
@@ -4233,7 +4626,7 @@ export interface ApiClient {
|
|
|
4233
4626
|
};
|
|
4234
4627
|
protocols: {
|
|
4235
4628
|
find: {
|
|
4236
|
-
post: (body
|
|
4629
|
+
post: (body?: {
|
|
4237
4630
|
page?: number;
|
|
4238
4631
|
pageSize?: number;
|
|
4239
4632
|
supplierId?: string;
|
|
@@ -4241,6 +4634,7 @@ export interface ApiClient {
|
|
|
4241
4634
|
enabled?: boolean;
|
|
4242
4635
|
chatRuntimeEnabled?: boolean;
|
|
4243
4636
|
method?: "POST" | "GET";
|
|
4637
|
+
accessScope?: "private" | "all_apps";
|
|
4244
4638
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4245
4639
|
};
|
|
4246
4640
|
listBySupplier: {
|
|
@@ -4261,6 +4655,7 @@ export interface ApiClient {
|
|
|
4261
4655
|
docUrl?: string;
|
|
4262
4656
|
description?: string;
|
|
4263
4657
|
enabled?: boolean;
|
|
4658
|
+
accessScope?: "private" | "all_apps";
|
|
4264
4659
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4265
4660
|
};
|
|
4266
4661
|
update: {
|
|
@@ -4275,6 +4670,7 @@ export interface ApiClient {
|
|
|
4275
4670
|
docUrl?: string;
|
|
4276
4671
|
description?: string;
|
|
4277
4672
|
enabled?: boolean;
|
|
4673
|
+
accessScope?: "private" | "all_apps";
|
|
4278
4674
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4279
4675
|
};
|
|
4280
4676
|
delete: {
|
|
@@ -4296,7 +4692,7 @@ export interface ApiClient {
|
|
|
4296
4692
|
};
|
|
4297
4693
|
profiles: {
|
|
4298
4694
|
find: {
|
|
4299
|
-
post: (body
|
|
4695
|
+
post: (body?: {
|
|
4300
4696
|
page?: number;
|
|
4301
4697
|
pageSize?: number;
|
|
4302
4698
|
referenceVendor?: string;
|
|
@@ -4306,16 +4702,17 @@ export interface ApiClient {
|
|
|
4306
4702
|
status?: "active" | "deprecated";
|
|
4307
4703
|
inputType?: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
4308
4704
|
outputType?: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
4705
|
+
accessScope?: "private" | "all_apps";
|
|
4309
4706
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4310
4707
|
};
|
|
4311
4708
|
listBrief: {
|
|
4312
|
-
post: (body
|
|
4709
|
+
post: (body?: {
|
|
4313
4710
|
enabledOnly?: boolean;
|
|
4314
4711
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4315
4712
|
};
|
|
4316
4713
|
referenceVendorOptions: {
|
|
4317
4714
|
/** 模型信息筛选用原厂供应商全量(key/label) */
|
|
4318
|
-
post: (body
|
|
4715
|
+
post: (body?: {
|
|
4319
4716
|
enabledOnly?: boolean;
|
|
4320
4717
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4321
4718
|
};
|
|
@@ -4328,7 +4725,7 @@ export interface ApiClient {
|
|
|
4328
4725
|
tags?: string[];
|
|
4329
4726
|
description?: string;
|
|
4330
4727
|
capabilities: {
|
|
4331
|
-
inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
|
|
4728
|
+
inputTypes: ("text" | "image" | "audio" | "video" | "embedding" | "mesh_3d")[];
|
|
4332
4729
|
outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
4333
4730
|
rateLimits?: {
|
|
4334
4731
|
tpmPerMinute?: number;
|
|
@@ -4393,6 +4790,7 @@ export interface ApiClient {
|
|
|
4393
4790
|
mcp?: boolean;
|
|
4394
4791
|
};
|
|
4395
4792
|
status?: "active" | "deprecated";
|
|
4793
|
+
accessScope?: "private" | "all_apps";
|
|
4396
4794
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4397
4795
|
};
|
|
4398
4796
|
update: {
|
|
@@ -4404,7 +4802,7 @@ export interface ApiClient {
|
|
|
4404
4802
|
tags?: string[];
|
|
4405
4803
|
description?: string;
|
|
4406
4804
|
capabilities?: {
|
|
4407
|
-
inputTypes: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d"[];
|
|
4805
|
+
inputTypes: ("text" | "image" | "audio" | "video" | "embedding" | "mesh_3d")[];
|
|
4408
4806
|
outputType: "text" | "image" | "audio" | "video" | "embedding" | "mesh_3d";
|
|
4409
4807
|
rateLimits?: {
|
|
4410
4808
|
tpmPerMinute?: number;
|
|
@@ -4469,6 +4867,7 @@ export interface ApiClient {
|
|
|
4469
4867
|
mcp?: boolean;
|
|
4470
4868
|
};
|
|
4471
4869
|
status?: "active" | "deprecated";
|
|
4870
|
+
accessScope?: "private" | "all_apps";
|
|
4472
4871
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4473
4872
|
};
|
|
4474
4873
|
delete: {
|
|
@@ -4488,7 +4887,7 @@ export interface ApiClient {
|
|
|
4488
4887
|
};
|
|
4489
4888
|
modelOptions: {
|
|
4490
4889
|
/** 管理后台筛选用计费标识全量(key/label/value,支持联动筛选) */
|
|
4491
|
-
post: (body
|
|
4890
|
+
post: (body?: {
|
|
4492
4891
|
supplierId?: string;
|
|
4493
4892
|
profileId?: string;
|
|
4494
4893
|
protocolId?: string;
|
|
@@ -4501,7 +4900,7 @@ export interface ApiClient {
|
|
|
4501
4900
|
};
|
|
4502
4901
|
models: {
|
|
4503
4902
|
find: {
|
|
4504
|
-
post: (body
|
|
4903
|
+
post: (body?: {
|
|
4505
4904
|
page?: number;
|
|
4506
4905
|
pageSize?: number;
|
|
4507
4906
|
profileId?: string;
|
|
@@ -4515,10 +4914,11 @@ export interface ApiClient {
|
|
|
4515
4914
|
keyword?: string;
|
|
4516
4915
|
enabled?: boolean;
|
|
4517
4916
|
platformAvailable?: boolean;
|
|
4917
|
+
accessScope?: "private" | "all_apps";
|
|
4518
4918
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4519
4919
|
};
|
|
4520
4920
|
unconfigured: {
|
|
4521
|
-
post: (body
|
|
4921
|
+
post: (body?: {
|
|
4522
4922
|
supplierId?: string;
|
|
4523
4923
|
supplierKind?: "agent_vendor" | "agent_proxy";
|
|
4524
4924
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -4535,6 +4935,7 @@ export interface ApiClient {
|
|
|
4535
4935
|
status?: "active" | "deprecated";
|
|
4536
4936
|
enabled?: boolean;
|
|
4537
4937
|
description?: string;
|
|
4938
|
+
accessScope?: "private" | "all_apps";
|
|
4538
4939
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4539
4940
|
};
|
|
4540
4941
|
update: {
|
|
@@ -4550,6 +4951,7 @@ export interface ApiClient {
|
|
|
4550
4951
|
status?: "active" | "deprecated";
|
|
4551
4952
|
enabled?: boolean;
|
|
4552
4953
|
description?: string;
|
|
4954
|
+
accessScope?: "private" | "all_apps";
|
|
4553
4955
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4554
4956
|
};
|
|
4555
4957
|
delete: {
|
|
@@ -4565,7 +4967,7 @@ export interface ApiClient {
|
|
|
4565
4967
|
};
|
|
4566
4968
|
modelOptions: {
|
|
4567
4969
|
/** 获取下游应用可用的对话模型目录项(已启用 text_generation) */
|
|
4568
|
-
post: (body
|
|
4970
|
+
post: (body?: {
|
|
4569
4971
|
supplierIds?: string[];
|
|
4570
4972
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4571
4973
|
};
|
|
@@ -4587,7 +4989,7 @@ export interface ApiClient {
|
|
|
4587
4989
|
};
|
|
4588
4990
|
modelOptions: {
|
|
4589
4991
|
/** Prompt 模块:从平台 Runtime 目录筛选文本模型(offering modelId + providerModelId) */
|
|
4590
|
-
post: (body
|
|
4992
|
+
post: (body?: {
|
|
4591
4993
|
supplierIds?: string[];
|
|
4592
4994
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4593
4995
|
};
|
|
@@ -4597,7 +4999,7 @@ export interface ApiClient {
|
|
|
4597
4999
|
suppliers: {
|
|
4598
5000
|
options: {
|
|
4599
5001
|
/** 筛选项、表单 Select 用供应商下拉 */
|
|
4600
|
-
post: (body
|
|
5002
|
+
post: (body?: {
|
|
4601
5003
|
enabled?: boolean;
|
|
4602
5004
|
supplierKind?: "agent_vendor" | "agent_proxy";
|
|
4603
5005
|
agentVendorOnly?: boolean;
|
|
@@ -4606,7 +5008,7 @@ export interface ApiClient {
|
|
|
4606
5008
|
};
|
|
4607
5009
|
models: {
|
|
4608
5010
|
find: {
|
|
4609
|
-
post: (body
|
|
5011
|
+
post: (body?: {
|
|
4610
5012
|
page?: number;
|
|
4611
5013
|
pageSize?: number;
|
|
4612
5014
|
supplierId?: string;
|
|
@@ -4621,7 +5023,7 @@ export interface ApiClient {
|
|
|
4621
5023
|
billingEntries: {
|
|
4622
5024
|
find: {
|
|
4623
5025
|
/** 按 supplier+profile 聚合的价表列表 */
|
|
4624
|
-
post: (body
|
|
5026
|
+
post: (body?: {
|
|
4625
5027
|
page?: number;
|
|
4626
5028
|
pageSize?: number;
|
|
4627
5029
|
supplierId?: string;
|
|
@@ -4633,7 +5035,7 @@ export interface ApiClient {
|
|
|
4633
5035
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4634
5036
|
};
|
|
4635
5037
|
unconfigured: {
|
|
4636
|
-
post: (body
|
|
5038
|
+
post: (body?: {
|
|
4637
5039
|
supplierId?: string;
|
|
4638
5040
|
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";
|
|
4639
5041
|
keyword?: string;
|
|
@@ -4646,7 +5048,12 @@ export interface ApiClient {
|
|
|
4646
5048
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4647
5049
|
};
|
|
4648
5050
|
statuses: {
|
|
4649
|
-
post: (
|
|
5051
|
+
post: (body?: {
|
|
5052
|
+
identities?: {
|
|
5053
|
+
supplierId: string;
|
|
5054
|
+
profileId: string;
|
|
5055
|
+
}[];
|
|
5056
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4650
5057
|
};
|
|
4651
5058
|
};
|
|
4652
5059
|
modelPricing: {
|
|
@@ -4660,7 +5067,7 @@ export interface ApiClient {
|
|
|
4660
5067
|
builtinServices: {
|
|
4661
5068
|
options: {
|
|
4662
5069
|
/** 只读内置服务与价目表 catalog */
|
|
4663
|
-
post: (body
|
|
5070
|
+
post: (body?: {
|
|
4664
5071
|
group?: "ai" | "storage" | "platform";
|
|
4665
5072
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4666
5073
|
};
|
|
@@ -4684,6 +5091,7 @@ export interface ApiClient {
|
|
|
4684
5091
|
input: string;
|
|
4685
5092
|
dimensions?: number;
|
|
4686
5093
|
instructions?: string;
|
|
5094
|
+
subjectUserId?: string;
|
|
4687
5095
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4688
5096
|
};
|
|
4689
5097
|
delete: {
|
|
@@ -4719,6 +5127,268 @@ export interface ApiClient {
|
|
|
4719
5127
|
};
|
|
4720
5128
|
};
|
|
4721
5129
|
};
|
|
5130
|
+
internal: {
|
|
5131
|
+
queue: {
|
|
5132
|
+
ai: {
|
|
5133
|
+
'image-sync': {
|
|
5134
|
+
/** 补偿 Seedream/Gemini 图片任务 processing 超时恢复和扣费失败记录 */
|
|
5135
|
+
post: (body?: {
|
|
5136
|
+
appId: string;
|
|
5137
|
+
queueKey: string;
|
|
5138
|
+
queueDefinitionId: string;
|
|
5139
|
+
taskRunId: string;
|
|
5140
|
+
queueServiceKey: string;
|
|
5141
|
+
context: {
|
|
5142
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5143
|
+
actor: {
|
|
5144
|
+
type: "user" | "service" | "system" | "queue";
|
|
5145
|
+
id?: string;
|
|
5146
|
+
};
|
|
5147
|
+
businessContext: {
|
|
5148
|
+
resourceType?: string;
|
|
5149
|
+
resourceId?: string;
|
|
5150
|
+
operation?: string;
|
|
5151
|
+
};
|
|
5152
|
+
traceContext: {
|
|
5153
|
+
requestId?: string;
|
|
5154
|
+
traceId?: string;
|
|
5155
|
+
parentTaskRunId?: string;
|
|
5156
|
+
};
|
|
5157
|
+
};
|
|
5158
|
+
} & {
|
|
5159
|
+
payload: {
|
|
5160
|
+
scheduledAt?: string;
|
|
5161
|
+
source?: string;
|
|
5162
|
+
schedulerJobId?: string;
|
|
5163
|
+
};
|
|
5164
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5165
|
+
};
|
|
5166
|
+
'image-seedream-process': {
|
|
5167
|
+
/** 处理单个 Seedream 图片生成任务 */
|
|
5168
|
+
post: (body?: {
|
|
5169
|
+
appId: string;
|
|
5170
|
+
queueKey: string;
|
|
5171
|
+
queueDefinitionId: string;
|
|
5172
|
+
taskRunId: string;
|
|
5173
|
+
queueServiceKey: string;
|
|
5174
|
+
context: {
|
|
5175
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5176
|
+
actor: {
|
|
5177
|
+
type: "user" | "service" | "system" | "queue";
|
|
5178
|
+
id?: string;
|
|
5179
|
+
};
|
|
5180
|
+
businessContext: {
|
|
5181
|
+
resourceType?: string;
|
|
5182
|
+
resourceId?: string;
|
|
5183
|
+
operation?: string;
|
|
5184
|
+
};
|
|
5185
|
+
traceContext: {
|
|
5186
|
+
requestId?: string;
|
|
5187
|
+
traceId?: string;
|
|
5188
|
+
parentTaskRunId?: string;
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
5191
|
+
} & {
|
|
5192
|
+
payload: {
|
|
5193
|
+
taskId: string;
|
|
5194
|
+
};
|
|
5195
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5196
|
+
};
|
|
5197
|
+
'image-gemini-process': {
|
|
5198
|
+
/** 处理单个 Gemini 图片生成任务 */
|
|
5199
|
+
post: (body?: {
|
|
5200
|
+
appId: string;
|
|
5201
|
+
queueKey: string;
|
|
5202
|
+
queueDefinitionId: string;
|
|
5203
|
+
taskRunId: string;
|
|
5204
|
+
queueServiceKey: string;
|
|
5205
|
+
context: {
|
|
5206
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5207
|
+
actor: {
|
|
5208
|
+
type: "user" | "service" | "system" | "queue";
|
|
5209
|
+
id?: string;
|
|
5210
|
+
};
|
|
5211
|
+
businessContext: {
|
|
5212
|
+
resourceType?: string;
|
|
5213
|
+
resourceId?: string;
|
|
5214
|
+
operation?: string;
|
|
5215
|
+
};
|
|
5216
|
+
traceContext: {
|
|
5217
|
+
requestId?: string;
|
|
5218
|
+
traceId?: string;
|
|
5219
|
+
parentTaskRunId?: string;
|
|
5220
|
+
};
|
|
5221
|
+
};
|
|
5222
|
+
} & {
|
|
5223
|
+
payload: {
|
|
5224
|
+
taskId: string;
|
|
5225
|
+
};
|
|
5226
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5227
|
+
};
|
|
5228
|
+
'video-sync': {
|
|
5229
|
+
/** 补偿 Veo/Seedance 等视频任务 processing 超时恢复和扣费失败记录 */
|
|
5230
|
+
post: (body?: {
|
|
5231
|
+
appId: string;
|
|
5232
|
+
queueKey: string;
|
|
5233
|
+
queueDefinitionId: string;
|
|
5234
|
+
taskRunId: string;
|
|
5235
|
+
queueServiceKey: string;
|
|
5236
|
+
context: {
|
|
5237
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5238
|
+
actor: {
|
|
5239
|
+
type: "user" | "service" | "system" | "queue";
|
|
5240
|
+
id?: string;
|
|
5241
|
+
};
|
|
5242
|
+
businessContext: {
|
|
5243
|
+
resourceType?: string;
|
|
5244
|
+
resourceId?: string;
|
|
5245
|
+
operation?: string;
|
|
5246
|
+
};
|
|
5247
|
+
traceContext: {
|
|
5248
|
+
requestId?: string;
|
|
5249
|
+
traceId?: string;
|
|
5250
|
+
parentTaskRunId?: string;
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
} & {
|
|
5254
|
+
payload: {
|
|
5255
|
+
scheduledAt?: string;
|
|
5256
|
+
source?: string;
|
|
5257
|
+
schedulerJobId?: string;
|
|
5258
|
+
};
|
|
5259
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5260
|
+
};
|
|
5261
|
+
'video-veo-process': {
|
|
5262
|
+
/** 处理单个 Veo 视频生成任务 */
|
|
5263
|
+
post: (body?: {
|
|
5264
|
+
appId: string;
|
|
5265
|
+
queueKey: string;
|
|
5266
|
+
queueDefinitionId: string;
|
|
5267
|
+
taskRunId: string;
|
|
5268
|
+
queueServiceKey: string;
|
|
5269
|
+
context: {
|
|
5270
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5271
|
+
actor: {
|
|
5272
|
+
type: "user" | "service" | "system" | "queue";
|
|
5273
|
+
id?: string;
|
|
5274
|
+
};
|
|
5275
|
+
businessContext: {
|
|
5276
|
+
resourceType?: string;
|
|
5277
|
+
resourceId?: string;
|
|
5278
|
+
operation?: string;
|
|
5279
|
+
};
|
|
5280
|
+
traceContext: {
|
|
5281
|
+
requestId?: string;
|
|
5282
|
+
traceId?: string;
|
|
5283
|
+
parentTaskRunId?: string;
|
|
5284
|
+
};
|
|
5285
|
+
};
|
|
5286
|
+
} & {
|
|
5287
|
+
payload: {
|
|
5288
|
+
taskId: string;
|
|
5289
|
+
};
|
|
5290
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5291
|
+
};
|
|
5292
|
+
'speech-sync': {
|
|
5293
|
+
/** 同步 TTS、ASR、声音克隆和槽位交付任务状态 */
|
|
5294
|
+
post: (body?: {
|
|
5295
|
+
appId: string;
|
|
5296
|
+
queueKey: string;
|
|
5297
|
+
queueDefinitionId: string;
|
|
5298
|
+
taskRunId: string;
|
|
5299
|
+
queueServiceKey: string;
|
|
5300
|
+
context: {
|
|
5301
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5302
|
+
actor: {
|
|
5303
|
+
type: "user" | "service" | "system" | "queue";
|
|
5304
|
+
id?: string;
|
|
5305
|
+
};
|
|
5306
|
+
businessContext: {
|
|
5307
|
+
resourceType?: string;
|
|
5308
|
+
resourceId?: string;
|
|
5309
|
+
operation?: string;
|
|
5310
|
+
};
|
|
5311
|
+
traceContext: {
|
|
5312
|
+
requestId?: string;
|
|
5313
|
+
traceId?: string;
|
|
5314
|
+
parentTaskRunId?: string;
|
|
5315
|
+
};
|
|
5316
|
+
};
|
|
5317
|
+
} & {
|
|
5318
|
+
payload: {
|
|
5319
|
+
scheduledAt?: string;
|
|
5320
|
+
source?: string;
|
|
5321
|
+
schedulerJobId?: string;
|
|
5322
|
+
};
|
|
5323
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5324
|
+
};
|
|
5325
|
+
'speech-si-process': {
|
|
5326
|
+
/** 处理单个语音转语音任务 */
|
|
5327
|
+
post: (body?: {
|
|
5328
|
+
appId: string;
|
|
5329
|
+
queueKey: string;
|
|
5330
|
+
queueDefinitionId: string;
|
|
5331
|
+
taskRunId: string;
|
|
5332
|
+
queueServiceKey: string;
|
|
5333
|
+
context: {
|
|
5334
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5335
|
+
actor: {
|
|
5336
|
+
type: "user" | "service" | "system" | "queue";
|
|
5337
|
+
id?: string;
|
|
5338
|
+
};
|
|
5339
|
+
businessContext: {
|
|
5340
|
+
resourceType?: string;
|
|
5341
|
+
resourceId?: string;
|
|
5342
|
+
operation?: string;
|
|
5343
|
+
};
|
|
5344
|
+
traceContext: {
|
|
5345
|
+
requestId?: string;
|
|
5346
|
+
traceId?: string;
|
|
5347
|
+
parentTaskRunId?: string;
|
|
5348
|
+
};
|
|
5349
|
+
};
|
|
5350
|
+
} & {
|
|
5351
|
+
payload: {
|
|
5352
|
+
taskId: string;
|
|
5353
|
+
};
|
|
5354
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5355
|
+
};
|
|
5356
|
+
'billing-retry': {
|
|
5357
|
+
/** 补偿 AI 任务产物已就绪但扣费失败的记录 */
|
|
5358
|
+
post: (body?: {
|
|
5359
|
+
appId: string;
|
|
5360
|
+
queueKey: string;
|
|
5361
|
+
queueDefinitionId: string;
|
|
5362
|
+
taskRunId: string;
|
|
5363
|
+
queueServiceKey: string;
|
|
5364
|
+
context: {
|
|
5365
|
+
triggerSource: "manual" | "internal" | "scheduler" | "planner" | "retry";
|
|
5366
|
+
actor: {
|
|
5367
|
+
type: "user" | "service" | "system" | "queue";
|
|
5368
|
+
id?: string;
|
|
5369
|
+
};
|
|
5370
|
+
businessContext: {
|
|
5371
|
+
resourceType?: string;
|
|
5372
|
+
resourceId?: string;
|
|
5373
|
+
operation?: string;
|
|
5374
|
+
};
|
|
5375
|
+
traceContext: {
|
|
5376
|
+
requestId?: string;
|
|
5377
|
+
traceId?: string;
|
|
5378
|
+
parentTaskRunId?: string;
|
|
5379
|
+
};
|
|
5380
|
+
};
|
|
5381
|
+
} & {
|
|
5382
|
+
payload: {
|
|
5383
|
+
scheduledAt?: string;
|
|
5384
|
+
source?: string;
|
|
5385
|
+
schedulerJobId?: string;
|
|
5386
|
+
};
|
|
5387
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
5388
|
+
};
|
|
5389
|
+
};
|
|
5390
|
+
};
|
|
5391
|
+
};
|
|
4722
5392
|
webhooks: {
|
|
4723
5393
|
events: {
|
|
4724
5394
|
/** 获取所有可用的 Webhook 事件类型 */
|