@openloaf-saas/sdk 0.1.20 → 0.1.21
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/index.d.ts +1113 -510
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ declare class SaaSContract {
|
|
|
170
170
|
id: string;
|
|
171
171
|
variants: {
|
|
172
172
|
id: string;
|
|
173
|
-
|
|
173
|
+
featureTabName: string;
|
|
174
174
|
creditsPerCall: number;
|
|
175
175
|
billingType: string;
|
|
176
176
|
minMembershipLevel: string;
|
|
@@ -187,7 +187,7 @@ declare class SaaSContract {
|
|
|
187
187
|
id: string;
|
|
188
188
|
variants: {
|
|
189
189
|
id: string;
|
|
190
|
-
|
|
190
|
+
featureTabName: string;
|
|
191
191
|
creditsPerCall: number;
|
|
192
192
|
billingType: string;
|
|
193
193
|
minMembershipLevel: string;
|
|
@@ -204,7 +204,7 @@ declare class SaaSContract {
|
|
|
204
204
|
id: string;
|
|
205
205
|
variants: {
|
|
206
206
|
id: string;
|
|
207
|
-
|
|
207
|
+
featureTabName: string;
|
|
208
208
|
creditsPerCall: number;
|
|
209
209
|
billingType: string;
|
|
210
210
|
minMembershipLevel: string;
|
|
@@ -421,6 +421,47 @@ declare class SaaSContract {
|
|
|
421
421
|
};
|
|
422
422
|
}>;
|
|
423
423
|
};
|
|
424
|
+
/** Payment endpoints. */
|
|
425
|
+
readonly payment: {
|
|
426
|
+
readonly subscribe: Endpoint<{
|
|
427
|
+
planCode: string;
|
|
428
|
+
period: "monthly" | "yearly";
|
|
429
|
+
}, {
|
|
430
|
+
success: true;
|
|
431
|
+
data: {
|
|
432
|
+
orderId: string;
|
|
433
|
+
providerData?: Record<string, unknown> | undefined;
|
|
434
|
+
};
|
|
435
|
+
}>;
|
|
436
|
+
readonly recharge: Endpoint<{
|
|
437
|
+
amount: number;
|
|
438
|
+
}, {
|
|
439
|
+
success: true;
|
|
440
|
+
data: {
|
|
441
|
+
orderId: string;
|
|
442
|
+
providerData?: Record<string, unknown> | undefined;
|
|
443
|
+
};
|
|
444
|
+
}>;
|
|
445
|
+
readonly upgrade: Endpoint<{
|
|
446
|
+
newPlanCode: string;
|
|
447
|
+
}, {
|
|
448
|
+
success: true;
|
|
449
|
+
data: {
|
|
450
|
+
orderId: string;
|
|
451
|
+
providerData?: Record<string, unknown> | undefined;
|
|
452
|
+
upgradePayable?: number | undefined;
|
|
453
|
+
};
|
|
454
|
+
}>;
|
|
455
|
+
readonly refund: Endpoint<{
|
|
456
|
+
orderId: string;
|
|
457
|
+
reason?: string | undefined;
|
|
458
|
+
}, {
|
|
459
|
+
success: true;
|
|
460
|
+
data: {
|
|
461
|
+
refundAmount: number;
|
|
462
|
+
};
|
|
463
|
+
}>;
|
|
464
|
+
};
|
|
424
465
|
/** Skill market endpoints. */
|
|
425
466
|
readonly skills: {
|
|
426
467
|
readonly list: Endpoint<{
|
|
@@ -511,7 +552,7 @@ declare class SaaSContract {
|
|
|
511
552
|
user: {
|
|
512
553
|
id: string;
|
|
513
554
|
provider: string;
|
|
514
|
-
membershipLevel: "
|
|
555
|
+
membershipLevel: "free" | "lite" | "pro" | "premium" | "infinity";
|
|
515
556
|
creditsBalance: number;
|
|
516
557
|
createdAt: string;
|
|
517
558
|
updatedAt: string;
|
|
@@ -735,7 +776,7 @@ declare const aiEndpoints: {
|
|
|
735
776
|
id: string;
|
|
736
777
|
variants: {
|
|
737
778
|
id: string;
|
|
738
|
-
|
|
779
|
+
featureTabName: string;
|
|
739
780
|
creditsPerCall: number;
|
|
740
781
|
billingType: string;
|
|
741
782
|
minMembershipLevel: string;
|
|
@@ -753,7 +794,7 @@ declare const aiEndpoints: {
|
|
|
753
794
|
id: string;
|
|
754
795
|
variants: {
|
|
755
796
|
id: string;
|
|
756
|
-
|
|
797
|
+
featureTabName: string;
|
|
757
798
|
creditsPerCall: number;
|
|
758
799
|
billingType: string;
|
|
759
800
|
minMembershipLevel: string;
|
|
@@ -771,7 +812,7 @@ declare const aiEndpoints: {
|
|
|
771
812
|
id: string;
|
|
772
813
|
variants: {
|
|
773
814
|
id: string;
|
|
774
|
-
|
|
815
|
+
featureTabName: string;
|
|
775
816
|
creditsPerCall: number;
|
|
776
817
|
billingType: string;
|
|
777
818
|
minMembershipLevel: string;
|
|
@@ -1583,7 +1624,7 @@ type AiFileUploadResponse = {
|
|
|
1583
1624
|
/** Variant within a v3 feature (maps to a model/quality combination). */
|
|
1584
1625
|
declare const v3VariantSchema: z.ZodObject<{
|
|
1585
1626
|
id: z.ZodString;
|
|
1586
|
-
|
|
1627
|
+
featureTabName: z.ZodString;
|
|
1587
1628
|
creditsPerCall: z.ZodNumber;
|
|
1588
1629
|
billingType: z.ZodString;
|
|
1589
1630
|
minMembershipLevel: z.ZodString;
|
|
@@ -1593,7 +1634,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
1593
1634
|
id: z.ZodString;
|
|
1594
1635
|
variants: z.ZodArray<z.ZodObject<{
|
|
1595
1636
|
id: z.ZodString;
|
|
1596
|
-
|
|
1637
|
+
featureTabName: z.ZodString;
|
|
1597
1638
|
creditsPerCall: z.ZodNumber;
|
|
1598
1639
|
billingType: z.ZodString;
|
|
1599
1640
|
minMembershipLevel: z.ZodString;
|
|
@@ -1606,7 +1647,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
1606
1647
|
id: z.ZodString;
|
|
1607
1648
|
variants: z.ZodArray<z.ZodObject<{
|
|
1608
1649
|
id: z.ZodString;
|
|
1609
|
-
|
|
1650
|
+
featureTabName: z.ZodString;
|
|
1610
1651
|
creditsPerCall: z.ZodNumber;
|
|
1611
1652
|
billingType: z.ZodString;
|
|
1612
1653
|
minMembershipLevel: z.ZodString;
|
|
@@ -1623,7 +1664,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
1623
1664
|
id: z.ZodString;
|
|
1624
1665
|
variants: z.ZodArray<z.ZodObject<{
|
|
1625
1666
|
id: z.ZodString;
|
|
1626
|
-
|
|
1667
|
+
featureTabName: z.ZodString;
|
|
1627
1668
|
creditsPerCall: z.ZodNumber;
|
|
1628
1669
|
billingType: z.ZodString;
|
|
1629
1670
|
minMembershipLevel: z.ZodString;
|
|
@@ -1927,7 +1968,7 @@ declare class AiClient {
|
|
|
1927
1968
|
id: string;
|
|
1928
1969
|
variants: {
|
|
1929
1970
|
id: string;
|
|
1930
|
-
|
|
1971
|
+
featureTabName: string;
|
|
1931
1972
|
creditsPerCall: number;
|
|
1932
1973
|
billingType: string;
|
|
1933
1974
|
minMembershipLevel: string;
|
|
@@ -1945,7 +1986,7 @@ declare class AiClient {
|
|
|
1945
1986
|
id: string;
|
|
1946
1987
|
variants: {
|
|
1947
1988
|
id: string;
|
|
1948
|
-
|
|
1989
|
+
featureTabName: string;
|
|
1949
1990
|
creditsPerCall: number;
|
|
1950
1991
|
billingType: string;
|
|
1951
1992
|
minMembershipLevel: string;
|
|
@@ -1963,7 +2004,7 @@ declare class AiClient {
|
|
|
1963
2004
|
id: string;
|
|
1964
2005
|
variants: {
|
|
1965
2006
|
id: string;
|
|
1966
|
-
|
|
2007
|
+
featureTabName: string;
|
|
1967
2008
|
creditsPerCall: number;
|
|
1968
2009
|
billingType: string;
|
|
1969
2010
|
minMembershipLevel: string;
|
|
@@ -2033,326 +2074,6 @@ declare const AI_MODEL_CAPABILITY_INPUT_KEYS: readonly ["maxImages", "supportsMa
|
|
|
2033
2074
|
type AiModelCapabilityInputKey = (typeof AI_MODEL_CAPABILITY_INPUT_KEYS)[number];
|
|
2034
2075
|
declare const AI_MODEL_CAPABILITY_OUTPUT_KEYS: readonly ["supportsMulti", "supportsAudio"];
|
|
2035
2076
|
type AiModelCapabilityOutputKey = (typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS)[number];
|
|
2036
|
-
/**
|
|
2037
|
-
* All known media preference IDs used by v3 variant system.
|
|
2038
|
-
* 偏好按用户使用场景划分,不反映底层模型技术细节:
|
|
2039
|
-
* - economy: 成本最低、速度快、质量可接受(批量处理、快速预览)
|
|
2040
|
-
* - standard: 均衡推荐(日常使用)
|
|
2041
|
-
* - hd: 高分辨率/高质量(正式输出、印刷、4x放大)
|
|
2042
|
-
* - creative: 创意模式(图文混排、风格化等特殊能力)
|
|
2043
|
-
*/
|
|
2044
|
-
declare const MEDIA_PREFERENCES: {
|
|
2045
|
-
readonly economy: {
|
|
2046
|
-
readonly id: "economy";
|
|
2047
|
-
readonly label: {
|
|
2048
|
-
readonly zh: "经济";
|
|
2049
|
-
readonly "zh-TW": "經濟";
|
|
2050
|
-
readonly en: "Economy";
|
|
2051
|
-
readonly ja: "エコノミー";
|
|
2052
|
-
};
|
|
2053
|
-
};
|
|
2054
|
-
readonly standard: {
|
|
2055
|
-
readonly id: "standard";
|
|
2056
|
-
readonly label: {
|
|
2057
|
-
readonly zh: "标准";
|
|
2058
|
-
readonly "zh-TW": "標準";
|
|
2059
|
-
readonly en: "Standard";
|
|
2060
|
-
readonly ja: "スタンダード";
|
|
2061
|
-
};
|
|
2062
|
-
};
|
|
2063
|
-
readonly hd: {
|
|
2064
|
-
readonly id: "hd";
|
|
2065
|
-
readonly label: {
|
|
2066
|
-
readonly zh: "高清";
|
|
2067
|
-
readonly "zh-TW": "高清";
|
|
2068
|
-
readonly en: "HD";
|
|
2069
|
-
readonly ja: "高画質";
|
|
2070
|
-
};
|
|
2071
|
-
};
|
|
2072
|
-
readonly creative: {
|
|
2073
|
-
readonly id: "creative";
|
|
2074
|
-
readonly label: {
|
|
2075
|
-
readonly zh: "创意";
|
|
2076
|
-
readonly "zh-TW": "創意";
|
|
2077
|
-
readonly en: "Creative";
|
|
2078
|
-
readonly ja: "クリエイティブ";
|
|
2079
|
-
};
|
|
2080
|
-
};
|
|
2081
|
-
readonly draft: {
|
|
2082
|
-
readonly id: "draft";
|
|
2083
|
-
readonly label: {
|
|
2084
|
-
readonly zh: "草稿";
|
|
2085
|
-
readonly "zh-TW": "草稿";
|
|
2086
|
-
readonly en: "Draft";
|
|
2087
|
-
readonly ja: "ドラフト";
|
|
2088
|
-
};
|
|
2089
|
-
};
|
|
2090
|
-
readonly basic: {
|
|
2091
|
-
readonly id: "basic";
|
|
2092
|
-
readonly label: {
|
|
2093
|
-
readonly zh: "基础";
|
|
2094
|
-
readonly "zh-TW": "基礎";
|
|
2095
|
-
readonly en: "Basic";
|
|
2096
|
-
readonly ja: "ベーシック";
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
2099
|
-
readonly balanced: {
|
|
2100
|
-
readonly id: "balanced";
|
|
2101
|
-
readonly label: {
|
|
2102
|
-
readonly zh: "均衡";
|
|
2103
|
-
readonly "zh-TW": "均衡";
|
|
2104
|
-
readonly en: "Balanced";
|
|
2105
|
-
readonly ja: "バランス";
|
|
2106
|
-
};
|
|
2107
|
-
};
|
|
2108
|
-
readonly premium: {
|
|
2109
|
-
readonly id: "premium";
|
|
2110
|
-
readonly label: {
|
|
2111
|
-
readonly zh: "旗舰";
|
|
2112
|
-
readonly "zh-TW": "旗艦";
|
|
2113
|
-
readonly en: "Premium";
|
|
2114
|
-
readonly ja: "プレミアム";
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
readonly ultra: {
|
|
2118
|
-
readonly id: "ultra";
|
|
2119
|
-
readonly label: {
|
|
2120
|
-
readonly zh: "极致";
|
|
2121
|
-
readonly "zh-TW": "極致";
|
|
2122
|
-
readonly en: "Ultra";
|
|
2123
|
-
readonly ja: "ウルトラ";
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
|
-
readonly turbo: {
|
|
2127
|
-
readonly id: "turbo";
|
|
2128
|
-
readonly label: {
|
|
2129
|
-
readonly zh: "极速";
|
|
2130
|
-
readonly "zh-TW": "極速";
|
|
2131
|
-
readonly en: "Turbo";
|
|
2132
|
-
readonly ja: "ターボ";
|
|
2133
|
-
};
|
|
2134
|
-
};
|
|
2135
|
-
readonly fast: {
|
|
2136
|
-
readonly id: "fast";
|
|
2137
|
-
readonly label: {
|
|
2138
|
-
readonly zh: "快速";
|
|
2139
|
-
readonly "zh-TW": "快速";
|
|
2140
|
-
readonly en: "Fast";
|
|
2141
|
-
readonly ja: "高速";
|
|
2142
|
-
};
|
|
2143
|
-
};
|
|
2144
|
-
readonly lite: {
|
|
2145
|
-
readonly id: "lite";
|
|
2146
|
-
readonly label: {
|
|
2147
|
-
readonly zh: "轻量";
|
|
2148
|
-
readonly "zh-TW": "輕量";
|
|
2149
|
-
readonly en: "Lite";
|
|
2150
|
-
readonly ja: "ライト";
|
|
2151
|
-
};
|
|
2152
|
-
};
|
|
2153
|
-
readonly pro: {
|
|
2154
|
-
readonly id: "pro";
|
|
2155
|
-
readonly label: {
|
|
2156
|
-
readonly zh: "专业";
|
|
2157
|
-
readonly "zh-TW": "專業";
|
|
2158
|
-
readonly en: "Pro";
|
|
2159
|
-
readonly ja: "プロ";
|
|
2160
|
-
};
|
|
2161
|
-
};
|
|
2162
|
-
readonly studio: {
|
|
2163
|
-
readonly id: "studio";
|
|
2164
|
-
readonly label: {
|
|
2165
|
-
readonly zh: "工作室";
|
|
2166
|
-
readonly "zh-TW": "工作室";
|
|
2167
|
-
readonly en: "Studio";
|
|
2168
|
-
readonly ja: "スタジオ";
|
|
2169
|
-
};
|
|
2170
|
-
};
|
|
2171
|
-
readonly cinematic: {
|
|
2172
|
-
readonly id: "cinematic";
|
|
2173
|
-
readonly label: {
|
|
2174
|
-
readonly zh: "影视";
|
|
2175
|
-
readonly "zh-TW": "影視";
|
|
2176
|
-
readonly en: "Cinematic";
|
|
2177
|
-
readonly ja: "シネマ";
|
|
2178
|
-
};
|
|
2179
|
-
};
|
|
2180
|
-
readonly realistic: {
|
|
2181
|
-
readonly id: "realistic";
|
|
2182
|
-
readonly label: {
|
|
2183
|
-
readonly zh: "写实";
|
|
2184
|
-
readonly "zh-TW": "寫實";
|
|
2185
|
-
readonly en: "Realistic";
|
|
2186
|
-
readonly ja: "リアリスティック";
|
|
2187
|
-
};
|
|
2188
|
-
};
|
|
2189
|
-
readonly anime: {
|
|
2190
|
-
readonly id: "anime";
|
|
2191
|
-
readonly label: {
|
|
2192
|
-
readonly zh: "动漫";
|
|
2193
|
-
readonly "zh-TW": "動漫";
|
|
2194
|
-
readonly en: "Anime";
|
|
2195
|
-
readonly ja: "アニメ";
|
|
2196
|
-
};
|
|
2197
|
-
};
|
|
2198
|
-
readonly artistic: {
|
|
2199
|
-
readonly id: "artistic";
|
|
2200
|
-
readonly label: {
|
|
2201
|
-
readonly zh: "艺术";
|
|
2202
|
-
readonly "zh-TW": "藝術";
|
|
2203
|
-
readonly en: "Artistic";
|
|
2204
|
-
readonly ja: "アーティスティック";
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
readonly vivid: {
|
|
2208
|
-
readonly id: "vivid";
|
|
2209
|
-
readonly label: {
|
|
2210
|
-
readonly zh: "鲜明";
|
|
2211
|
-
readonly "zh-TW": "鮮明";
|
|
2212
|
-
readonly en: "Vivid";
|
|
2213
|
-
readonly ja: "ビビッド";
|
|
2214
|
-
};
|
|
2215
|
-
};
|
|
2216
|
-
readonly natural: {
|
|
2217
|
-
readonly id: "natural";
|
|
2218
|
-
readonly label: {
|
|
2219
|
-
readonly zh: "自然";
|
|
2220
|
-
readonly "zh-TW": "自然";
|
|
2221
|
-
readonly en: "Natural";
|
|
2222
|
-
readonly ja: "ナチュラル";
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
readonly precise: {
|
|
2226
|
-
readonly id: "precise";
|
|
2227
|
-
readonly label: {
|
|
2228
|
-
readonly zh: "精准";
|
|
2229
|
-
readonly "zh-TW": "精準";
|
|
2230
|
-
readonly en: "Precise";
|
|
2231
|
-
readonly ja: "プレシス";
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
2234
|
-
readonly expressive: {
|
|
2235
|
-
readonly id: "expressive";
|
|
2236
|
-
readonly label: {
|
|
2237
|
-
readonly zh: "表现力";
|
|
2238
|
-
readonly "zh-TW": "表現力";
|
|
2239
|
-
readonly en: "Expressive";
|
|
2240
|
-
readonly ja: "エクスプレッシブ";
|
|
2241
|
-
};
|
|
2242
|
-
};
|
|
2243
|
-
readonly classic: {
|
|
2244
|
-
readonly id: "classic";
|
|
2245
|
-
readonly label: {
|
|
2246
|
-
readonly zh: "经典";
|
|
2247
|
-
readonly "zh-TW": "經典";
|
|
2248
|
-
readonly en: "Classic";
|
|
2249
|
-
readonly ja: "クラシック";
|
|
2250
|
-
};
|
|
2251
|
-
};
|
|
2252
|
-
readonly max: {
|
|
2253
|
-
readonly id: "max";
|
|
2254
|
-
readonly label: {
|
|
2255
|
-
readonly zh: "极限";
|
|
2256
|
-
readonly "zh-TW": "極限";
|
|
2257
|
-
readonly en: "Max";
|
|
2258
|
-
readonly ja: "マックス";
|
|
2259
|
-
};
|
|
2260
|
-
};
|
|
2261
|
-
readonly smooth: {
|
|
2262
|
-
readonly id: "smooth";
|
|
2263
|
-
readonly label: {
|
|
2264
|
-
readonly zh: "丝滑";
|
|
2265
|
-
readonly "zh-TW": "絲滑";
|
|
2266
|
-
readonly en: "Smooth";
|
|
2267
|
-
readonly ja: "スムーズ";
|
|
2268
|
-
};
|
|
2269
|
-
};
|
|
2270
|
-
readonly sharp: {
|
|
2271
|
-
readonly id: "sharp";
|
|
2272
|
-
readonly label: {
|
|
2273
|
-
readonly zh: "锐利";
|
|
2274
|
-
readonly "zh-TW": "銳利";
|
|
2275
|
-
readonly en: "Sharp";
|
|
2276
|
-
readonly ja: "シャープ";
|
|
2277
|
-
};
|
|
2278
|
-
};
|
|
2279
|
-
readonly warm: {
|
|
2280
|
-
readonly id: "warm";
|
|
2281
|
-
readonly label: {
|
|
2282
|
-
readonly zh: "暖调";
|
|
2283
|
-
readonly "zh-TW": "暖調";
|
|
2284
|
-
readonly en: "Warm";
|
|
2285
|
-
readonly ja: "ウォーム";
|
|
2286
|
-
};
|
|
2287
|
-
};
|
|
2288
|
-
readonly cool: {
|
|
2289
|
-
readonly id: "cool";
|
|
2290
|
-
readonly label: {
|
|
2291
|
-
readonly zh: "冷调";
|
|
2292
|
-
readonly "zh-TW": "冷調";
|
|
2293
|
-
readonly en: "Cool";
|
|
2294
|
-
readonly ja: "クール";
|
|
2295
|
-
};
|
|
2296
|
-
};
|
|
2297
|
-
readonly minimal: {
|
|
2298
|
-
readonly id: "minimal";
|
|
2299
|
-
readonly label: {
|
|
2300
|
-
readonly zh: "极简";
|
|
2301
|
-
readonly "zh-TW": "極簡";
|
|
2302
|
-
readonly en: "Minimal";
|
|
2303
|
-
readonly ja: "ミニマル";
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
readonly detail: {
|
|
2307
|
-
readonly id: "detail";
|
|
2308
|
-
readonly label: {
|
|
2309
|
-
readonly zh: "细节";
|
|
2310
|
-
readonly "zh-TW": "細節";
|
|
2311
|
-
readonly en: "Detail";
|
|
2312
|
-
readonly ja: "ディテール";
|
|
2313
|
-
};
|
|
2314
|
-
};
|
|
2315
|
-
readonly sketch: {
|
|
2316
|
-
readonly id: "sketch";
|
|
2317
|
-
readonly label: {
|
|
2318
|
-
readonly zh: "素描";
|
|
2319
|
-
readonly "zh-TW": "素描";
|
|
2320
|
-
readonly en: "Sketch";
|
|
2321
|
-
readonly ja: "スケッチ";
|
|
2322
|
-
};
|
|
2323
|
-
};
|
|
2324
|
-
readonly retro: {
|
|
2325
|
-
readonly id: "retro";
|
|
2326
|
-
readonly label: {
|
|
2327
|
-
readonly zh: "复古";
|
|
2328
|
-
readonly "zh-TW": "復古";
|
|
2329
|
-
readonly en: "Retro";
|
|
2330
|
-
readonly ja: "レトロ";
|
|
2331
|
-
};
|
|
2332
|
-
};
|
|
2333
|
-
readonly futuristic: {
|
|
2334
|
-
readonly id: "futuristic";
|
|
2335
|
-
readonly label: {
|
|
2336
|
-
readonly zh: "未来";
|
|
2337
|
-
readonly "zh-TW": "未來";
|
|
2338
|
-
readonly en: "Futuristic";
|
|
2339
|
-
readonly ja: "フューチャリスティック";
|
|
2340
|
-
};
|
|
2341
|
-
};
|
|
2342
|
-
readonly soft: {
|
|
2343
|
-
readonly id: "soft";
|
|
2344
|
-
readonly label: {
|
|
2345
|
-
readonly zh: "柔和";
|
|
2346
|
-
readonly "zh-TW": "柔和";
|
|
2347
|
-
readonly en: "Soft";
|
|
2348
|
-
readonly ja: "ソフト";
|
|
2349
|
-
};
|
|
2350
|
-
};
|
|
2351
|
-
};
|
|
2352
|
-
/** Supported locale keys for preference labels. */
|
|
2353
|
-
type MediaPreferenceLocale = keyof (typeof MEDIA_PREFERENCES)["economy"]["label"];
|
|
2354
|
-
/** Media preference identifier type. */
|
|
2355
|
-
type MediaPreferenceId = keyof typeof MEDIA_PREFERENCES;
|
|
2356
2077
|
/**
|
|
2357
2078
|
* All known media feature IDs used by v3 capabilities system.
|
|
2358
2079
|
* Client 使用此字典翻译 feature ID 为用户可读名称。
|
|
@@ -2667,93 +2388,680 @@ declare const MEDIA_FEATURES: {
|
|
|
2667
2388
|
};
|
|
2668
2389
|
/** Media feature identifier type. */
|
|
2669
2390
|
type MediaFeatureId = keyof typeof MEDIA_FEATURES;
|
|
2391
|
+
/**
|
|
2392
|
+
* Common model provider definitions.
|
|
2393
|
+
* Client 使用此字典翻译 provider ID 为用户可读名称。
|
|
2394
|
+
*/
|
|
2395
|
+
declare const MODEL_PROVIDERS: {
|
|
2396
|
+
readonly openai: {
|
|
2397
|
+
readonly id: "openai";
|
|
2398
|
+
readonly label: {
|
|
2399
|
+
readonly zh: "OpenAI";
|
|
2400
|
+
readonly "zh-TW": "OpenAI";
|
|
2401
|
+
readonly en: "OpenAI";
|
|
2402
|
+
readonly ja: "OpenAI";
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
readonly anthropic: {
|
|
2406
|
+
readonly id: "anthropic";
|
|
2407
|
+
readonly label: {
|
|
2408
|
+
readonly zh: "Anthropic";
|
|
2409
|
+
readonly "zh-TW": "Anthropic";
|
|
2410
|
+
readonly en: "Anthropic";
|
|
2411
|
+
readonly ja: "Anthropic";
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
readonly google: {
|
|
2415
|
+
readonly id: "google";
|
|
2416
|
+
readonly label: {
|
|
2417
|
+
readonly zh: "Google";
|
|
2418
|
+
readonly "zh-TW": "Google";
|
|
2419
|
+
readonly en: "Google";
|
|
2420
|
+
readonly ja: "Google";
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
readonly deepseek: {
|
|
2424
|
+
readonly id: "deepseek";
|
|
2425
|
+
readonly label: {
|
|
2426
|
+
readonly zh: "DeepSeek";
|
|
2427
|
+
readonly "zh-TW": "DeepSeek";
|
|
2428
|
+
readonly en: "DeepSeek";
|
|
2429
|
+
readonly ja: "DeepSeek";
|
|
2430
|
+
};
|
|
2431
|
+
};
|
|
2432
|
+
readonly qwen: {
|
|
2433
|
+
readonly id: "qwen";
|
|
2434
|
+
readonly label: {
|
|
2435
|
+
readonly zh: "通义千问";
|
|
2436
|
+
readonly "zh-TW": "通義千問";
|
|
2437
|
+
readonly en: "Qwen";
|
|
2438
|
+
readonly ja: "通義千問";
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
readonly kling: {
|
|
2442
|
+
readonly id: "kling";
|
|
2443
|
+
readonly label: {
|
|
2444
|
+
readonly zh: "可灵";
|
|
2445
|
+
readonly "zh-TW": "可靈";
|
|
2446
|
+
readonly en: "Kling";
|
|
2447
|
+
readonly ja: "可灵";
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
readonly jimeng: {
|
|
2451
|
+
readonly id: "jimeng";
|
|
2452
|
+
readonly label: {
|
|
2453
|
+
readonly zh: "即梦";
|
|
2454
|
+
readonly "zh-TW": "即夢";
|
|
2455
|
+
readonly en: "Jimeng";
|
|
2456
|
+
readonly ja: "即梦";
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2459
|
+
readonly doubao: {
|
|
2460
|
+
readonly id: "doubao";
|
|
2461
|
+
readonly label: {
|
|
2462
|
+
readonly zh: "豆包";
|
|
2463
|
+
readonly "zh-TW": "豆包";
|
|
2464
|
+
readonly en: "Doubao";
|
|
2465
|
+
readonly ja: "豆包";
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
readonly minimax: {
|
|
2469
|
+
readonly id: "minimax";
|
|
2470
|
+
readonly label: {
|
|
2471
|
+
readonly zh: "MiniMax";
|
|
2472
|
+
readonly "zh-TW": "MiniMax";
|
|
2473
|
+
readonly en: "MiniMax";
|
|
2474
|
+
readonly ja: "MiniMax";
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
readonly zhipu: {
|
|
2478
|
+
readonly id: "zhipu";
|
|
2479
|
+
readonly label: {
|
|
2480
|
+
readonly zh: "智谱";
|
|
2481
|
+
readonly "zh-TW": "智譜";
|
|
2482
|
+
readonly en: "Zhipu";
|
|
2483
|
+
readonly ja: "智譜";
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
readonly moonshot: {
|
|
2487
|
+
readonly id: "moonshot";
|
|
2488
|
+
readonly label: {
|
|
2489
|
+
readonly zh: "月之暗面";
|
|
2490
|
+
readonly "zh-TW": "月之暗面";
|
|
2491
|
+
readonly en: "Moonshot";
|
|
2492
|
+
readonly ja: "Moonshot";
|
|
2493
|
+
};
|
|
2494
|
+
};
|
|
2495
|
+
readonly baichuan: {
|
|
2496
|
+
readonly id: "baichuan";
|
|
2497
|
+
readonly label: {
|
|
2498
|
+
readonly zh: "百川";
|
|
2499
|
+
readonly "zh-TW": "百川";
|
|
2500
|
+
readonly en: "Baichuan";
|
|
2501
|
+
readonly ja: "百川";
|
|
2502
|
+
};
|
|
2503
|
+
};
|
|
2504
|
+
readonly xai: {
|
|
2505
|
+
readonly id: "xai";
|
|
2506
|
+
readonly label: {
|
|
2507
|
+
readonly zh: "xAI";
|
|
2508
|
+
readonly "zh-TW": "xAI";
|
|
2509
|
+
readonly en: "xAI";
|
|
2510
|
+
readonly ja: "xAI";
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
readonly siliconflow: {
|
|
2514
|
+
readonly id: "siliconflow";
|
|
2515
|
+
readonly label: {
|
|
2516
|
+
readonly zh: "硅基流动";
|
|
2517
|
+
readonly "zh-TW": "矽基流動";
|
|
2518
|
+
readonly en: "SiliconFlow";
|
|
2519
|
+
readonly ja: "SiliconFlow";
|
|
2520
|
+
};
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
/** Model provider identifier type. */
|
|
2524
|
+
type ModelProviderId = keyof typeof MODEL_PROVIDERS;
|
|
2670
2525
|
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2526
|
+
/**
|
|
2527
|
+
* Per-handler input schemas for v3 media API.
|
|
2528
|
+
* Key = handlerKey, value = Zod schema for { inputs, params }.
|
|
2529
|
+
* SDK consumers can use these for type-safe parameter construction.
|
|
2530
|
+
*/
|
|
2531
|
+
declare const V3_HANDLER_SCHEMAS: {
|
|
2532
|
+
/** Qwen Wan2.6 text-to-image. */
|
|
2533
|
+
readonly "qwen-wan26-t2i": z.ZodObject<{
|
|
2534
|
+
inputs: z.ZodObject<{
|
|
2535
|
+
prompt: z.ZodString;
|
|
2536
|
+
}, z.core.$strip>;
|
|
2537
|
+
params: z.ZodObject<{
|
|
2538
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2539
|
+
"1:1": "1:1";
|
|
2540
|
+
"16:9": "16:9";
|
|
2541
|
+
"9:16": "9:16";
|
|
2542
|
+
"4:3": "4:3";
|
|
2543
|
+
}>>;
|
|
2544
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2545
|
+
standard: "standard";
|
|
2546
|
+
hd: "hd";
|
|
2547
|
+
}>>;
|
|
2548
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
2550
|
+
watermark: z.ZodOptional<z.ZodBoolean>;
|
|
2551
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2552
|
+
}, z.core.$strip>;
|
|
2553
|
+
}, z.core.$strip>;
|
|
2554
|
+
/** Qwen z-image-turbo lightweight text-to-image. */
|
|
2555
|
+
readonly "qwen-z-image-turbo": z.ZodObject<{
|
|
2556
|
+
inputs: z.ZodObject<{
|
|
2557
|
+
prompt: z.ZodString;
|
|
2558
|
+
}, z.core.$strip>;
|
|
2559
|
+
params: z.ZodObject<{
|
|
2560
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2561
|
+
"1:1": "1:1";
|
|
2562
|
+
"16:9": "16:9";
|
|
2563
|
+
"9:16": "9:16";
|
|
2564
|
+
"4:3": "4:3";
|
|
2565
|
+
}>>;
|
|
2566
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2567
|
+
standard: "standard";
|
|
2568
|
+
hd: "hd";
|
|
2569
|
+
}>>;
|
|
2570
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
2571
|
+
}, z.core.$strip>;
|
|
2572
|
+
}, z.core.$strip>;
|
|
2573
|
+
/** Qwen basic text-to-image. */
|
|
2574
|
+
readonly "qwen-image": z.ZodObject<{
|
|
2575
|
+
inputs: z.ZodObject<{
|
|
2576
|
+
prompt: z.ZodString;
|
|
2577
|
+
}, z.core.$strip>;
|
|
2578
|
+
params: z.ZodObject<{
|
|
2579
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2580
|
+
"1:1": "1:1";
|
|
2581
|
+
"16:9": "16:9";
|
|
2582
|
+
"9:16": "9:16";
|
|
2583
|
+
"4:3": "4:3";
|
|
2584
|
+
}>>;
|
|
2585
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2586
|
+
standard: "standard";
|
|
2587
|
+
hd: "hd";
|
|
2588
|
+
}>>;
|
|
2589
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
2590
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
2591
|
+
watermark: z.ZodOptional<z.ZodBoolean>;
|
|
2592
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2593
|
+
}, z.core.$strip>;
|
|
2594
|
+
}, z.core.$strip>;
|
|
2595
|
+
/** Qwen Plus text-to-image (HD). */
|
|
2596
|
+
readonly "qwen-image-plus": z.ZodObject<{
|
|
2597
|
+
inputs: z.ZodObject<{
|
|
2598
|
+
prompt: z.ZodString;
|
|
2599
|
+
}, z.core.$strip>;
|
|
2600
|
+
params: z.ZodObject<{
|
|
2601
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2602
|
+
"1:1": "1:1";
|
|
2603
|
+
"16:9": "16:9";
|
|
2604
|
+
"9:16": "9:16";
|
|
2605
|
+
"4:3": "4:3";
|
|
2606
|
+
}>>;
|
|
2607
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2608
|
+
standard: "standard";
|
|
2609
|
+
hd: "hd";
|
|
2610
|
+
}>>;
|
|
2611
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
2612
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
2613
|
+
watermark: z.ZodOptional<z.ZodBoolean>;
|
|
2614
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2615
|
+
}, z.core.$strip>;
|
|
2616
|
+
}, z.core.$strip>;
|
|
2617
|
+
/** Volcengine Jimeng T2I v4.0. */
|
|
2618
|
+
readonly "volc-jimeng-t2i-v40": z.ZodObject<{
|
|
2619
|
+
inputs: z.ZodObject<{
|
|
2620
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2621
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2623
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
}, z.core.$strip>>>;
|
|
2625
|
+
}, z.core.$strip>;
|
|
2626
|
+
params: z.ZodObject<{
|
|
2627
|
+
prompt: z.ZodString;
|
|
2628
|
+
style: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2630
|
+
"1:1": "1:1";
|
|
2631
|
+
"16:9": "16:9";
|
|
2632
|
+
"9:16": "9:16";
|
|
2633
|
+
"4:3": "4:3";
|
|
2634
|
+
}>>;
|
|
2635
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2636
|
+
standard: "standard";
|
|
2637
|
+
hd: "hd";
|
|
2638
|
+
}>>;
|
|
2639
|
+
}, z.core.$strip>;
|
|
2640
|
+
}, z.core.$strip>;
|
|
2641
|
+
/** Volcengine Jimeng T2I v3.1. */
|
|
2642
|
+
readonly "volc-jimeng-t2i-v31": z.ZodObject<{
|
|
2643
|
+
inputs: z.ZodObject<{
|
|
2644
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2645
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2647
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
}, z.core.$strip>>>;
|
|
2649
|
+
}, z.core.$strip>;
|
|
2650
|
+
params: z.ZodObject<{
|
|
2651
|
+
prompt: z.ZodString;
|
|
2652
|
+
style: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2654
|
+
"1:1": "1:1";
|
|
2655
|
+
"16:9": "16:9";
|
|
2656
|
+
"9:16": "9:16";
|
|
2657
|
+
"4:3": "4:3";
|
|
2658
|
+
}>>;
|
|
2659
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2660
|
+
standard: "standard";
|
|
2661
|
+
hd: "hd";
|
|
2662
|
+
}>>;
|
|
2663
|
+
}, z.core.$strip>;
|
|
2664
|
+
}, z.core.$strip>;
|
|
2665
|
+
/** Qwen image edit plus. */
|
|
2666
|
+
readonly "qwen-image-edit-plus": z.ZodObject<{
|
|
2667
|
+
inputs: z.ZodObject<{
|
|
2668
|
+
prompt: z.ZodString;
|
|
2669
|
+
image: z.ZodObject<{
|
|
2670
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2673
|
+
}, z.core.$strip>;
|
|
2674
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2675
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2677
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
}, z.core.$strip>>>;
|
|
2679
|
+
mask: z.ZodOptional<z.ZodObject<{
|
|
2680
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2681
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2682
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2683
|
+
}, z.core.$strip>>;
|
|
2684
|
+
}, z.core.$strip>;
|
|
2685
|
+
params: z.ZodObject<{
|
|
2686
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
2687
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2688
|
+
}, z.core.$strip>;
|
|
2689
|
+
}, z.core.$strip>;
|
|
2690
|
+
/** Qwen Wan2.6 interleaved image edit. */
|
|
2691
|
+
readonly "qwen-wan26-image": z.ZodObject<{
|
|
2692
|
+
inputs: z.ZodObject<{
|
|
2693
|
+
prompt: z.ZodString;
|
|
2694
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
2695
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2696
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2698
|
+
}, z.core.$strip>>;
|
|
2699
|
+
}, z.core.$strip>;
|
|
2700
|
+
params: z.ZodObject<{
|
|
2701
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
2703
|
+
watermark: z.ZodOptional<z.ZodBoolean>;
|
|
2704
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2705
|
+
}, z.core.$strip>;
|
|
2706
|
+
}, z.core.$strip>;
|
|
2707
|
+
/** Volcengine Jimeng inpaint. */
|
|
2708
|
+
readonly "volc-jimeng-inpaint": z.ZodObject<{
|
|
2709
|
+
inputs: z.ZodObject<{
|
|
2710
|
+
image: z.ZodObject<{
|
|
2711
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2712
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2713
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2714
|
+
}, z.core.$strip>;
|
|
2715
|
+
mask: z.ZodObject<{
|
|
2716
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2718
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2719
|
+
}, z.core.$strip>;
|
|
2720
|
+
}, z.core.$strip>;
|
|
2721
|
+
params: z.ZodObject<{
|
|
2722
|
+
prompt: z.ZodString;
|
|
2723
|
+
}, z.core.$strip>;
|
|
2724
|
+
}, z.core.$strip>;
|
|
2725
|
+
/** Volcengine material extraction / style transfer. */
|
|
2726
|
+
readonly "volc-material-extraction": z.ZodObject<{
|
|
2727
|
+
inputs: z.ZodObject<{
|
|
2728
|
+
image: z.ZodObject<{
|
|
2729
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
}, z.core.$strip>;
|
|
2733
|
+
}, z.core.$strip>;
|
|
2734
|
+
params: z.ZodObject<{
|
|
2735
|
+
prompt: z.ZodString;
|
|
2736
|
+
aspectRatio: z.ZodDefault<z.ZodEnum<{
|
|
2737
|
+
"1:1": "1:1";
|
|
2738
|
+
"16:9": "16:9";
|
|
2739
|
+
"9:16": "9:16";
|
|
2740
|
+
"4:3": "4:3";
|
|
2741
|
+
}>>;
|
|
2742
|
+
quality: z.ZodDefault<z.ZodEnum<{
|
|
2743
|
+
standard: "standard";
|
|
2744
|
+
hd: "hd";
|
|
2745
|
+
}>>;
|
|
2746
|
+
}, z.core.$strip>;
|
|
2747
|
+
}, z.core.$strip>;
|
|
2748
|
+
/** Volcengine material extract. */
|
|
2749
|
+
readonly "volc-material-extract": z.ZodObject<{
|
|
2750
|
+
inputs: z.ZodObject<{
|
|
2751
|
+
image: z.ZodObject<{
|
|
2752
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
}, z.core.$strip>;
|
|
2756
|
+
}, z.core.$strip>;
|
|
2757
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
2758
|
+
}, z.core.$strip>;
|
|
2759
|
+
/** Qwen wanx2.1 super-resolution. */
|
|
2760
|
+
readonly "qwen-wanx21-upscale": z.ZodObject<{
|
|
2761
|
+
inputs: z.ZodObject<{
|
|
2762
|
+
image: z.ZodObject<{
|
|
2763
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2764
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
}, z.core.$strip>;
|
|
2767
|
+
}, z.core.$strip>;
|
|
2768
|
+
params: z.ZodObject<{
|
|
2769
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
2770
|
+
}, z.core.$strip>;
|
|
2771
|
+
}, z.core.$strip>;
|
|
2772
|
+
/** Volcengine smart super resolution. */
|
|
2773
|
+
readonly "volc-image-upscale": z.ZodObject<{
|
|
2774
|
+
inputs: z.ZodObject<{
|
|
2775
|
+
image: z.ZodObject<{
|
|
2776
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2779
|
+
}, z.core.$strip>;
|
|
2780
|
+
}, z.core.$strip>;
|
|
2781
|
+
params: z.ZodObject<{
|
|
2782
|
+
scale: z.ZodDefault<z.ZodEnum<{
|
|
2783
|
+
"4K": "4K";
|
|
2784
|
+
"8K": "8K";
|
|
2785
|
+
}>>;
|
|
2786
|
+
}, z.core.$strip>;
|
|
2787
|
+
}, z.core.$strip>;
|
|
2788
|
+
/** Qwen image out-painting. */
|
|
2789
|
+
readonly "qwen-wanx21-outpaint": z.ZodObject<{
|
|
2790
|
+
inputs: z.ZodObject<{
|
|
2791
|
+
image: z.ZodObject<{
|
|
2792
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2794
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
}, z.core.$strip>;
|
|
2796
|
+
}, z.core.$strip>;
|
|
2797
|
+
params: z.ZodObject<{
|
|
2798
|
+
xScale: z.ZodDefault<z.ZodNumber>;
|
|
2799
|
+
yScale: z.ZodDefault<z.ZodNumber>;
|
|
2800
|
+
}, z.core.$strip>;
|
|
2801
|
+
}, z.core.$strip>;
|
|
2802
|
+
/** Qwen Wan2.6 i2v flash (fast video). */
|
|
2803
|
+
readonly "qwen-wan26-i2v-flash": z.ZodObject<{
|
|
2804
|
+
inputs: z.ZodObject<{
|
|
2805
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
startImage: z.ZodObject<{
|
|
2807
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2808
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2809
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2810
|
+
}, z.core.$strip>;
|
|
2811
|
+
}, z.core.$strip>;
|
|
2812
|
+
params: z.ZodObject<{
|
|
2813
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2814
|
+
withAudio: z.ZodOptional<z.ZodBoolean>;
|
|
2815
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2816
|
+
"720p": "720p";
|
|
2817
|
+
"1080p": "1080p";
|
|
2818
|
+
}>>;
|
|
2819
|
+
}, z.core.$strip>;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
/** Qwen Wan2.6 i2v (high-quality video). */
|
|
2822
|
+
readonly "qwen-wan26-i2v": z.ZodObject<{
|
|
2823
|
+
inputs: z.ZodObject<{
|
|
2824
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2825
|
+
startImage: z.ZodObject<{
|
|
2826
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2827
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2829
|
+
}, z.core.$strip>;
|
|
2830
|
+
}, z.core.$strip>;
|
|
2831
|
+
params: z.ZodObject<{
|
|
2832
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2833
|
+
withAudio: z.ZodOptional<z.ZodBoolean>;
|
|
2834
|
+
resolution: z.ZodOptional<z.ZodEnum<{
|
|
2835
|
+
"720p": "720p";
|
|
2836
|
+
"1080p": "1080p";
|
|
2837
|
+
}>>;
|
|
2838
|
+
}, z.core.$strip>;
|
|
2839
|
+
}, z.core.$strip>;
|
|
2840
|
+
/** Volcengine Jimeng video generation 3.0. */
|
|
2841
|
+
readonly "volc-jimeng-t2v": z.ZodObject<{
|
|
2842
|
+
inputs: z.ZodObject<{
|
|
2843
|
+
startImage: z.ZodOptional<z.ZodObject<{
|
|
2844
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2845
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2846
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
}, z.core.$strip>>;
|
|
2848
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2849
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2850
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2851
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
}, z.core.$strip>>>;
|
|
2853
|
+
}, z.core.$strip>;
|
|
2854
|
+
params: z.ZodObject<{
|
|
2855
|
+
prompt: z.ZodString;
|
|
2856
|
+
style: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
2859
|
+
}, z.core.$strip>;
|
|
2860
|
+
}, z.core.$strip>;
|
|
2861
|
+
/** Qwen Wan2.2 digital human. */
|
|
2862
|
+
readonly "qwen-wan22-s2v": z.ZodObject<{
|
|
2863
|
+
inputs: z.ZodObject<{
|
|
2864
|
+
image: z.ZodObject<{
|
|
2865
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
}, z.core.$strip>;
|
|
2869
|
+
audio: z.ZodObject<{
|
|
2870
|
+
url: z.ZodString;
|
|
2871
|
+
}, z.core.$strip>;
|
|
2872
|
+
}, z.core.$strip>;
|
|
2873
|
+
params: z.ZodObject<{
|
|
2874
|
+
resolution: z.ZodDefault<z.ZodEnum<{
|
|
2875
|
+
"480P": "480P";
|
|
2876
|
+
"720P": "720P";
|
|
2877
|
+
}>>;
|
|
2878
|
+
}, z.core.$strip>;
|
|
2879
|
+
}, z.core.$strip>;
|
|
2880
|
+
/** Qwen Wan2.2 animate-mix video face swap. */
|
|
2881
|
+
readonly "qwen-wan22-animate-mix": z.ZodObject<{
|
|
2882
|
+
inputs: z.ZodObject<{
|
|
2883
|
+
image: z.ZodObject<{
|
|
2884
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2885
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2887
|
+
}, z.core.$strip>;
|
|
2888
|
+
video: z.ZodObject<{
|
|
2889
|
+
url: z.ZodString;
|
|
2890
|
+
}, z.core.$strip>;
|
|
2891
|
+
}, z.core.$strip>;
|
|
2892
|
+
params: z.ZodObject<{
|
|
2893
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2894
|
+
"wan-std": "wan-std";
|
|
2895
|
+
"wan-pro": "wan-pro";
|
|
2896
|
+
}>>;
|
|
2897
|
+
}, z.core.$strip>;
|
|
2898
|
+
}, z.core.$strip>;
|
|
2899
|
+
/** Volcengine video translate. */
|
|
2900
|
+
readonly "volc-video-translate": z.ZodObject<{
|
|
2901
|
+
inputs: z.ZodObject<{
|
|
2902
|
+
video: z.ZodObject<{
|
|
2903
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2904
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2906
|
+
}, z.core.$strip>;
|
|
2907
|
+
}, z.core.$strip>;
|
|
2908
|
+
params: z.ZodObject<{
|
|
2909
|
+
sourceLanguage: z.ZodDefault<z.ZodString>;
|
|
2910
|
+
targetLanguage: z.ZodDefault<z.ZodString>;
|
|
2911
|
+
}, z.core.$strip>;
|
|
2912
|
+
}, z.core.$strip>;
|
|
2913
|
+
/** Qwen CosyVoice v3 TTS. */
|
|
2914
|
+
readonly "qwen-cosyvoice-v3": z.ZodObject<{
|
|
2915
|
+
inputs: z.ZodObject<{
|
|
2916
|
+
text: z.ZodString;
|
|
2917
|
+
}, z.core.$strip>;
|
|
2918
|
+
params: z.ZodObject<{
|
|
2919
|
+
voice: z.ZodDefault<z.ZodString>;
|
|
2920
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
2921
|
+
mp3: "mp3";
|
|
2922
|
+
wav: "wav";
|
|
2923
|
+
pcm: "pcm";
|
|
2924
|
+
}>>;
|
|
2925
|
+
sampleRate: z.ZodOptional<z.ZodNumber>;
|
|
2926
|
+
speechRate: z.ZodOptional<z.ZodNumber>;
|
|
2927
|
+
}, z.core.$strip>;
|
|
2928
|
+
}, z.core.$strip>;
|
|
2929
|
+
/** Qwen3 TTS. */
|
|
2930
|
+
readonly "qwen-tts": z.ZodObject<{
|
|
2931
|
+
inputs: z.ZodObject<{
|
|
2932
|
+
text: z.ZodString;
|
|
2933
|
+
}, z.core.$strip>;
|
|
2934
|
+
params: z.ZodObject<{
|
|
2935
|
+
voice: z.ZodDefault<z.ZodString>;
|
|
2936
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
languageType: z.ZodOptional<z.ZodString>;
|
|
2938
|
+
}, z.core.$strip>;
|
|
2939
|
+
}, z.core.$strip>;
|
|
2940
|
+
/** Qwen3 ASR. */
|
|
2941
|
+
readonly "qwen-asr": z.ZodObject<{
|
|
2942
|
+
inputs: z.ZodObject<{
|
|
2943
|
+
audio: z.ZodUnion<readonly [z.ZodObject<{
|
|
2944
|
+
url: z.ZodString;
|
|
2945
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2946
|
+
base64: z.ZodString;
|
|
2947
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2948
|
+
}, z.core.$strip>]>;
|
|
2949
|
+
}, z.core.$strip>;
|
|
2950
|
+
params: z.ZodObject<{
|
|
2951
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
2952
|
+
}, z.core.$strip>;
|
|
2953
|
+
}, z.core.$strip>;
|
|
2954
|
+
/** Qwen VideoRetalk lip sync. */
|
|
2955
|
+
readonly "qwen-videoretalk": z.ZodObject<{
|
|
2956
|
+
inputs: z.ZodObject<{
|
|
2957
|
+
video: z.ZodObject<{
|
|
2958
|
+
url: z.ZodString;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
audio: z.ZodObject<{
|
|
2961
|
+
url: z.ZodString;
|
|
2962
|
+
}, z.core.$strip>;
|
|
2963
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
2964
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
}, z.core.$strip>>;
|
|
2968
|
+
}, z.core.$strip>;
|
|
2969
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
2970
|
+
}, z.core.$strip>;
|
|
2971
|
+
};
|
|
2972
|
+
/** Handler key type. */
|
|
2973
|
+
type V3HandlerKey = keyof typeof V3_HANDLER_SCHEMAS;
|
|
2974
|
+
/** Infer input type for a specific handler. */
|
|
2975
|
+
type V3HandlerInput<K extends V3HandlerKey> = z.infer<(typeof V3_HANDLER_SCHEMAS)[K]>;
|
|
2976
|
+
|
|
2977
|
+
declare const index$7_AI_MODEL_CAPABILITY_INPUT_KEYS: typeof AI_MODEL_CAPABILITY_INPUT_KEYS;
|
|
2978
|
+
declare const index$7_AI_MODEL_CAPABILITY_OUTPUT_KEYS: typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS;
|
|
2979
|
+
declare const index$7_AI_MODEL_TAGS: typeof AI_MODEL_TAGS;
|
|
2980
|
+
declare const index$7_AI_MODEL_TAG_LABELS: typeof AI_MODEL_TAG_LABELS;
|
|
2981
|
+
type index$7_AiChatCompletionsRequest = AiChatCompletionsRequest;
|
|
2982
|
+
type index$7_AiChatModel = AiChatModel;
|
|
2983
|
+
type index$7_AiChatModelsResponse = AiChatModelsResponse;
|
|
2984
|
+
type index$7_AiChatSessionMetadata = AiChatSessionMetadata;
|
|
2985
|
+
type index$7_AiClient = AiClient;
|
|
2986
|
+
declare const index$7_AiClient: typeof AiClient;
|
|
2987
|
+
type index$7_AiClientMetadata = AiClientMetadata;
|
|
2988
|
+
type index$7_AiFileUploadOptions = AiFileUploadOptions;
|
|
2989
|
+
type index$7_AiFileUploadResponse = AiFileUploadResponse;
|
|
2990
|
+
type index$7_AiModel = AiModel;
|
|
2991
|
+
type index$7_AiModelCapabilities = AiModelCapabilities;
|
|
2992
|
+
type index$7_AiModelCapabilitiesInput = AiModelCapabilitiesInput;
|
|
2993
|
+
type index$7_AiModelCapabilitiesOutput = AiModelCapabilitiesOutput;
|
|
2994
|
+
type index$7_AiModelCapabilityInputKey = AiModelCapabilityInputKey;
|
|
2995
|
+
type index$7_AiModelCapabilityOutputKey = AiModelCapabilityOutputKey;
|
|
2996
|
+
type index$7_AiModelTag = AiModelTag;
|
|
2997
|
+
type index$7_AiModelsUpdatedAtData = AiModelsUpdatedAtData;
|
|
2998
|
+
type index$7_AiModelsUpdatedAtResponse = AiModelsUpdatedAtResponse;
|
|
2999
|
+
type index$7_AiProviderTemplate = AiProviderTemplate;
|
|
3000
|
+
type index$7_AiProviderTemplateModel = AiProviderTemplateModel;
|
|
3001
|
+
type index$7_AiProviderTemplatesResponse = AiProviderTemplatesResponse;
|
|
3002
|
+
type index$7_AiResponsesRequest = AiResponsesRequest;
|
|
3003
|
+
declare const index$7_MEDIA_FEATURES: typeof MEDIA_FEATURES;
|
|
3004
|
+
declare const index$7_MODEL_PROVIDERS: typeof MODEL_PROVIDERS;
|
|
3005
|
+
type index$7_MediaFeatureId = MediaFeatureId;
|
|
3006
|
+
type index$7_ModelProviderId = ModelProviderId;
|
|
3007
|
+
type index$7_V3BasicSuccess = V3BasicSuccess;
|
|
3008
|
+
type index$7_V3CapabilitiesData = V3CapabilitiesData;
|
|
3009
|
+
type index$7_V3CapabilitiesResponse = V3CapabilitiesResponse;
|
|
3010
|
+
type index$7_V3CreditEstimate = V3CreditEstimate;
|
|
3011
|
+
type index$7_V3EstimatePriceRequest = V3EstimatePriceRequest;
|
|
3012
|
+
type index$7_V3EstimatePriceResponse = V3EstimatePriceResponse;
|
|
3013
|
+
type index$7_V3Feature = V3Feature;
|
|
3014
|
+
type index$7_V3GenerateRequest = V3GenerateRequest;
|
|
3015
|
+
type index$7_V3HandlerInput<K extends V3HandlerKey> = V3HandlerInput<K>;
|
|
3016
|
+
type index$7_V3HandlerKey = V3HandlerKey;
|
|
3017
|
+
type index$7_V3TaskCreated = V3TaskCreated;
|
|
3018
|
+
type index$7_V3TaskGroupResponse = V3TaskGroupResponse;
|
|
3019
|
+
type index$7_V3TaskItem = V3TaskItem;
|
|
3020
|
+
type index$7_V3TaskResponse = V3TaskResponse;
|
|
3021
|
+
type index$7_V3Variant = V3Variant;
|
|
3022
|
+
declare const index$7_V3_HANDLER_SCHEMAS: typeof V3_HANDLER_SCHEMAS;
|
|
3023
|
+
declare const index$7_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
3024
|
+
declare const index$7_aiChatModelSchema: typeof aiChatModelSchema;
|
|
3025
|
+
declare const index$7_aiChatModelsPayloadSchema: typeof aiChatModelsPayloadSchema;
|
|
3026
|
+
declare const index$7_aiChatModelsResponseSchema: typeof aiChatModelsResponseSchema;
|
|
3027
|
+
declare const index$7_aiChatModelsSuccessSchema: typeof aiChatModelsSuccessSchema;
|
|
3028
|
+
declare const index$7_aiChatSessionMetadataSchema: typeof aiChatSessionMetadataSchema;
|
|
3029
|
+
declare const index$7_aiClientMetadataSchema: typeof aiClientMetadataSchema;
|
|
3030
|
+
declare const index$7_aiEndpoints: typeof aiEndpoints;
|
|
3031
|
+
declare const index$7_aiErrorResponseSchema: typeof aiErrorResponseSchema;
|
|
3032
|
+
declare const index$7_aiModelCapabilitiesInputSchema: typeof aiModelCapabilitiesInputSchema;
|
|
3033
|
+
declare const index$7_aiModelCapabilitiesOutputSchema: typeof aiModelCapabilitiesOutputSchema;
|
|
3034
|
+
declare const index$7_aiModelCapabilitiesSchema: typeof aiModelCapabilitiesSchema;
|
|
3035
|
+
declare const index$7_aiModelCapabilityCommonSchema: typeof aiModelCapabilityCommonSchema;
|
|
3036
|
+
declare const index$7_aiModelParameterFieldSchema: typeof aiModelParameterFieldSchema;
|
|
3037
|
+
declare const index$7_aiModelParamsSchema: typeof aiModelParamsSchema;
|
|
3038
|
+
declare const index$7_aiModelSchema: typeof aiModelSchema;
|
|
3039
|
+
declare const index$7_aiModelsRequestSchema: typeof aiModelsRequestSchema;
|
|
3040
|
+
declare const index$7_aiModelsUpdatedAtDataSchema: typeof aiModelsUpdatedAtDataSchema;
|
|
3041
|
+
declare const index$7_aiModelsUpdatedAtResponseSchema: typeof aiModelsUpdatedAtResponseSchema;
|
|
3042
|
+
declare const index$7_aiModelsUpdatedAtSuccessSchema: typeof aiModelsUpdatedAtSuccessSchema;
|
|
3043
|
+
declare const index$7_aiProviderTemplateModelSchema: typeof aiProviderTemplateModelSchema;
|
|
3044
|
+
declare const index$7_aiProviderTemplateSchema: typeof aiProviderTemplateSchema;
|
|
3045
|
+
declare const index$7_aiProviderTemplatesPayloadSchema: typeof aiProviderTemplatesPayloadSchema;
|
|
3046
|
+
declare const index$7_aiProviderTemplatesRequestSchema: typeof aiProviderTemplatesRequestSchema;
|
|
3047
|
+
declare const index$7_aiProviderTemplatesResponseSchema: typeof aiProviderTemplatesResponseSchema;
|
|
3048
|
+
declare const index$7_aiProviderTemplatesSuccessSchema: typeof aiProviderTemplatesSuccessSchema;
|
|
3049
|
+
declare const index$7_aiResponsesRequestSchema: typeof aiResponsesRequestSchema;
|
|
3050
|
+
declare const index$7_v3BasicSuccessSchema: typeof v3BasicSuccessSchema;
|
|
3051
|
+
declare const index$7_v3CapabilitiesDataSchema: typeof v3CapabilitiesDataSchema;
|
|
3052
|
+
declare const index$7_v3CapabilitiesResponseSchema: typeof v3CapabilitiesResponseSchema;
|
|
3053
|
+
declare const index$7_v3CreditEstimateSchema: typeof v3CreditEstimateSchema;
|
|
3054
|
+
declare const index$7_v3EstimatePriceRequestSchema: typeof v3EstimatePriceRequestSchema;
|
|
3055
|
+
declare const index$7_v3EstimatePriceResponseSchema: typeof v3EstimatePriceResponseSchema;
|
|
3056
|
+
declare const index$7_v3FeatureSchema: typeof v3FeatureSchema;
|
|
3057
|
+
declare const index$7_v3GenerateRequestSchema: typeof v3GenerateRequestSchema;
|
|
3058
|
+
declare const index$7_v3TaskCreatedSchema: typeof v3TaskCreatedSchema;
|
|
3059
|
+
declare const index$7_v3TaskGroupResponseSchema: typeof v3TaskGroupResponseSchema;
|
|
3060
|
+
declare const index$7_v3TaskItemSchema: typeof v3TaskItemSchema;
|
|
3061
|
+
declare const index$7_v3TaskResponseSchema: typeof v3TaskResponseSchema;
|
|
3062
|
+
declare const index$7_v3VariantSchema: typeof v3VariantSchema;
|
|
3063
|
+
declare namespace index$7 {
|
|
3064
|
+
export { index$7_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$7_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$7_AI_MODEL_TAGS as AI_MODEL_TAGS, index$7_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$7_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$7_AiChatModel as AiChatModel, type index$7_AiChatModelsResponse as AiChatModelsResponse, type index$7_AiChatSessionMetadata as AiChatSessionMetadata, index$7_AiClient as AiClient, type index$7_AiClientMetadata as AiClientMetadata, type index$7_AiFileUploadOptions as AiFileUploadOptions, type index$7_AiFileUploadResponse as AiFileUploadResponse, type index$7_AiModel as AiModel, type index$7_AiModelCapabilities as AiModelCapabilities, type index$7_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$7_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$7_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$7_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$7_AiModelTag as AiModelTag, type index$7_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$7_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$7_AiProviderTemplate as AiProviderTemplate, type index$7_AiProviderTemplateModel as AiProviderTemplateModel, type index$7_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$7_AiResponsesRequest as AiResponsesRequest, index$7_MEDIA_FEATURES as MEDIA_FEATURES, index$7_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$7_MediaFeatureId as MediaFeatureId, type index$7_ModelProviderId as ModelProviderId, type index$7_V3BasicSuccess as V3BasicSuccess, type index$7_V3CapabilitiesData as V3CapabilitiesData, type index$7_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$7_V3CreditEstimate as V3CreditEstimate, type index$7_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$7_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$7_V3Feature as V3Feature, type index$7_V3GenerateRequest as V3GenerateRequest, type index$7_V3HandlerInput as V3HandlerInput, type index$7_V3HandlerKey as V3HandlerKey, type index$7_V3TaskCreated as V3TaskCreated, type index$7_V3TaskGroupResponse as V3TaskGroupResponse, type index$7_V3TaskItem as V3TaskItem, type index$7_V3TaskResponse as V3TaskResponse, type index$7_V3Variant as V3Variant, index$7_V3_HANDLER_SCHEMAS as V3_HANDLER_SCHEMAS, index$7_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$7_aiChatModelSchema as aiChatModelSchema, index$7_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$7_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$7_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$7_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$7_aiClientMetadataSchema as aiClientMetadataSchema, index$7_aiEndpoints as aiEndpoints, index$7_aiErrorResponseSchema as aiErrorResponseSchema, index$7_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$7_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$7_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$7_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$7_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$7_aiModelParamsSchema as aiModelParamsSchema, index$7_aiModelSchema as aiModelSchema, index$7_aiModelsRequestSchema as aiModelsRequestSchema, index$7_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$7_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$7_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$7_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$7_aiProviderTemplateSchema as aiProviderTemplateSchema, index$7_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$7_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$7_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$7_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$7_aiResponsesRequestSchema as aiResponsesRequestSchema, index$7_v3BasicSuccessSchema as v3BasicSuccessSchema, index$7_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$7_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$7_v3CreditEstimateSchema as v3CreditEstimateSchema, index$7_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$7_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$7_v3FeatureSchema as v3FeatureSchema, index$7_v3GenerateRequestSchema as v3GenerateRequestSchema, index$7_v3TaskCreatedSchema as v3TaskCreatedSchema, index$7_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$7_v3TaskItemSchema as v3TaskItemSchema, index$7_v3TaskResponseSchema as v3TaskResponseSchema, index$7_v3VariantSchema as v3VariantSchema };
|
|
2757
3065
|
}
|
|
2758
3066
|
|
|
2759
3067
|
declare const aiToolsEndpoints: {
|
|
@@ -2913,23 +3221,23 @@ declare class AiToolsClient {
|
|
|
2913
3221
|
}>;
|
|
2914
3222
|
}
|
|
2915
3223
|
|
|
2916
|
-
type index$
|
|
2917
|
-
declare const index$
|
|
2918
|
-
type index$
|
|
2919
|
-
type index$
|
|
2920
|
-
type index$
|
|
2921
|
-
type index$
|
|
2922
|
-
type index$
|
|
2923
|
-
type index$
|
|
2924
|
-
declare const index$
|
|
2925
|
-
declare const index$
|
|
2926
|
-
declare const index$
|
|
2927
|
-
declare const index$
|
|
2928
|
-
declare const index$
|
|
2929
|
-
declare const index$
|
|
2930
|
-
declare const index$
|
|
2931
|
-
declare namespace index$
|
|
2932
|
-
export { index$
|
|
3224
|
+
type index$6_AiToolsClient = AiToolsClient;
|
|
3225
|
+
declare const index$6_AiToolsClient: typeof AiToolsClient;
|
|
3226
|
+
type index$6_AnalyzeSkillsRequest = AnalyzeSkillsRequest;
|
|
3227
|
+
type index$6_AnalyzeSkillsResponse = AnalyzeSkillsResponse;
|
|
3228
|
+
type index$6_RecommendActionsRequest = RecommendActionsRequest;
|
|
3229
|
+
type index$6_RecommendActionsResponse = RecommendActionsResponse;
|
|
3230
|
+
type index$6_SummarizeRequest = SummarizeRequest;
|
|
3231
|
+
type index$6_SummarizeResponse = SummarizeResponse;
|
|
3232
|
+
declare const index$6_aiToolsEndpoints: typeof aiToolsEndpoints;
|
|
3233
|
+
declare const index$6_analyzeSkillsRequestSchema: typeof analyzeSkillsRequestSchema;
|
|
3234
|
+
declare const index$6_analyzeSkillsResponseSchema: typeof analyzeSkillsResponseSchema;
|
|
3235
|
+
declare const index$6_recommendActionsRequestSchema: typeof recommendActionsRequestSchema;
|
|
3236
|
+
declare const index$6_recommendActionsResponseSchema: typeof recommendActionsResponseSchema;
|
|
3237
|
+
declare const index$6_summarizeRequestSchema: typeof summarizeRequestSchema;
|
|
3238
|
+
declare const index$6_summarizeResponseSchema: typeof summarizeResponseSchema;
|
|
3239
|
+
declare namespace index$6 {
|
|
3240
|
+
export { index$6_AiToolsClient as AiToolsClient, type index$6_AnalyzeSkillsRequest as AnalyzeSkillsRequest, type index$6_AnalyzeSkillsResponse as AnalyzeSkillsResponse, type index$6_RecommendActionsRequest as RecommendActionsRequest, type index$6_RecommendActionsResponse as RecommendActionsResponse, type index$6_SummarizeRequest as SummarizeRequest, type index$6_SummarizeResponse as SummarizeResponse, index$6_aiToolsEndpoints as aiToolsEndpoints, index$6_analyzeSkillsRequestSchema as analyzeSkillsRequestSchema, index$6_analyzeSkillsResponseSchema as analyzeSkillsResponseSchema, index$6_recommendActionsRequestSchema as recommendActionsRequestSchema, index$6_recommendActionsResponseSchema as recommendActionsResponseSchema, index$6_summarizeRequestSchema as summarizeRequestSchema, index$6_summarizeResponseSchema as summarizeResponseSchema };
|
|
2933
3241
|
}
|
|
2934
3242
|
|
|
2935
3243
|
declare const authEndpoints: {
|
|
@@ -3058,28 +3366,28 @@ type AuthExchangeResponse = z.infer<typeof authExchangeResponseSchema>;
|
|
|
3058
3366
|
type AuthLogoutRequest = z.infer<typeof authLogoutRequestSchema>;
|
|
3059
3367
|
type AuthLogoutResponse = z.infer<typeof authLogoutResponseSchema>;
|
|
3060
3368
|
|
|
3061
|
-
type index$
|
|
3062
|
-
declare const index$
|
|
3063
|
-
type index$
|
|
3064
|
-
type index$
|
|
3065
|
-
type index$
|
|
3066
|
-
type index$
|
|
3067
|
-
type index$
|
|
3068
|
-
type index$
|
|
3069
|
-
type index$
|
|
3070
|
-
type index$
|
|
3071
|
-
declare const index$
|
|
3072
|
-
declare const index$
|
|
3073
|
-
declare const index$
|
|
3074
|
-
declare const index$
|
|
3075
|
-
declare const index$
|
|
3076
|
-
declare const index$
|
|
3077
|
-
declare const index$
|
|
3078
|
-
declare const index$
|
|
3079
|
-
declare const index$
|
|
3080
|
-
declare const index$
|
|
3081
|
-
declare namespace index$
|
|
3082
|
-
export { index$
|
|
3369
|
+
type index$5_AuthClient = AuthClient;
|
|
3370
|
+
declare const index$5_AuthClient: typeof AuthClient;
|
|
3371
|
+
type index$5_AuthExchangeRequest = AuthExchangeRequest;
|
|
3372
|
+
type index$5_AuthExchangeResponse = AuthExchangeResponse;
|
|
3373
|
+
type index$5_AuthLogoutRequest = AuthLogoutRequest;
|
|
3374
|
+
type index$5_AuthLogoutResponse = AuthLogoutResponse;
|
|
3375
|
+
type index$5_AuthRefreshError = AuthRefreshError;
|
|
3376
|
+
type index$5_AuthRefreshRequest = AuthRefreshRequest;
|
|
3377
|
+
type index$5_AuthRefreshResponse = AuthRefreshResponse;
|
|
3378
|
+
type index$5_AuthRefreshSuccess = AuthRefreshSuccess;
|
|
3379
|
+
declare const index$5_authEndpoints: typeof authEndpoints;
|
|
3380
|
+
declare const index$5_authExchangeRequestSchema: typeof authExchangeRequestSchema;
|
|
3381
|
+
declare const index$5_authExchangeResponseSchema: typeof authExchangeResponseSchema;
|
|
3382
|
+
declare const index$5_authLogoutRequestSchema: typeof authLogoutRequestSchema;
|
|
3383
|
+
declare const index$5_authLogoutResponseSchema: typeof authLogoutResponseSchema;
|
|
3384
|
+
declare const index$5_authRefreshErrorSchema: typeof authRefreshErrorSchema;
|
|
3385
|
+
declare const index$5_authRefreshRequestSchema: typeof authRefreshRequestSchema;
|
|
3386
|
+
declare const index$5_authRefreshResponseSchema: typeof authRefreshResponseSchema;
|
|
3387
|
+
declare const index$5_authRefreshSuccessSchema: typeof authRefreshSuccessSchema;
|
|
3388
|
+
declare const index$5_authRefreshUserSchema: typeof authRefreshUserSchema;
|
|
3389
|
+
declare namespace index$5 {
|
|
3390
|
+
export { index$5_AuthClient as AuthClient, type index$5_AuthExchangeRequest as AuthExchangeRequest, type index$5_AuthExchangeResponse as AuthExchangeResponse, type index$5_AuthLogoutRequest as AuthLogoutRequest, type index$5_AuthLogoutResponse as AuthLogoutResponse, type index$5_AuthRefreshError as AuthRefreshError, type index$5_AuthRefreshRequest as AuthRefreshRequest, type index$5_AuthRefreshResponse as AuthRefreshResponse, type index$5_AuthRefreshSuccess as AuthRefreshSuccess, index$5_authEndpoints as authEndpoints, index$5_authExchangeRequestSchema as authExchangeRequestSchema, index$5_authExchangeResponseSchema as authExchangeResponseSchema, index$5_authLogoutRequestSchema as authLogoutRequestSchema, index$5_authLogoutResponseSchema as authLogoutResponseSchema, index$5_authRefreshErrorSchema as authRefreshErrorSchema, index$5_authRefreshRequestSchema as authRefreshRequestSchema, index$5_authRefreshResponseSchema as authRefreshResponseSchema, index$5_authRefreshSuccessSchema as authRefreshSuccessSchema, index$5_authRefreshUserSchema as authRefreshUserSchema };
|
|
3083
3391
|
}
|
|
3084
3392
|
|
|
3085
3393
|
declare const auxiliaryEndpoints: {
|
|
@@ -3202,18 +3510,18 @@ declare class AuxiliaryClient {
|
|
|
3202
3510
|
}>;
|
|
3203
3511
|
}
|
|
3204
3512
|
|
|
3205
|
-
type index$
|
|
3206
|
-
declare const index$
|
|
3207
|
-
type index$
|
|
3208
|
-
type index$
|
|
3209
|
-
type index$
|
|
3210
|
-
type index$
|
|
3211
|
-
declare const index$
|
|
3212
|
-
declare const index$
|
|
3213
|
-
declare const index$
|
|
3214
|
-
declare const index$
|
|
3215
|
-
declare namespace index$
|
|
3216
|
-
export { index$
|
|
3513
|
+
type index$4_AuxiliaryClient = AuxiliaryClient;
|
|
3514
|
+
declare const index$4_AuxiliaryClient: typeof AuxiliaryClient;
|
|
3515
|
+
type index$4_AuxiliaryInferRequest = AuxiliaryInferRequest;
|
|
3516
|
+
type index$4_AuxiliaryInferResponse = AuxiliaryInferResponse;
|
|
3517
|
+
type index$4_AuxiliaryQuota = AuxiliaryQuota;
|
|
3518
|
+
type index$4_AuxiliaryQuotaResponse = AuxiliaryQuotaResponse;
|
|
3519
|
+
declare const index$4_auxiliaryEndpoints: typeof auxiliaryEndpoints;
|
|
3520
|
+
declare const index$4_auxiliaryInferRequestSchema: typeof auxiliaryInferRequestSchema;
|
|
3521
|
+
declare const index$4_auxiliaryInferResponseSchema: typeof auxiliaryInferResponseSchema;
|
|
3522
|
+
declare const index$4_auxiliaryQuotaResponseSchema: typeof auxiliaryQuotaResponseSchema;
|
|
3523
|
+
declare namespace index$4 {
|
|
3524
|
+
export { index$4_AuxiliaryClient as AuxiliaryClient, type index$4_AuxiliaryInferRequest as AuxiliaryInferRequest, type index$4_AuxiliaryInferResponse as AuxiliaryInferResponse, type index$4_AuxiliaryQuota as AuxiliaryQuota, type index$4_AuxiliaryQuotaResponse as AuxiliaryQuotaResponse, index$4_auxiliaryEndpoints as auxiliaryEndpoints, index$4_auxiliaryInferRequestSchema as auxiliaryInferRequestSchema, index$4_auxiliaryInferResponseSchema as auxiliaryInferResponseSchema, index$4_auxiliaryQuotaResponseSchema as auxiliaryQuotaResponseSchema };
|
|
3217
3525
|
}
|
|
3218
3526
|
|
|
3219
3527
|
/** Feedback API endpoints. */
|
|
@@ -3560,37 +3868,330 @@ declare class FeedbackClient {
|
|
|
3560
3868
|
detail(feedbackId: string): Promise<FeedbackDetailResponse>;
|
|
3561
3869
|
}
|
|
3562
3870
|
|
|
3563
|
-
type index$
|
|
3564
|
-
type index$
|
|
3565
|
-
declare const index$
|
|
3566
|
-
type index$
|
|
3567
|
-
type index$
|
|
3568
|
-
type index$
|
|
3569
|
-
type index$
|
|
3570
|
-
type index$
|
|
3571
|
-
type index$
|
|
3572
|
-
type index$
|
|
3573
|
-
type index$
|
|
3574
|
-
type index$
|
|
3575
|
-
type index$
|
|
3576
|
-
type index$
|
|
3577
|
-
type index$
|
|
3578
|
-
declare const index$
|
|
3579
|
-
declare const index$
|
|
3580
|
-
declare const index$
|
|
3581
|
-
declare const index$
|
|
3582
|
-
declare const index$
|
|
3583
|
-
declare const index$
|
|
3584
|
-
declare const index$
|
|
3585
|
-
declare const index$
|
|
3586
|
-
declare const index$
|
|
3587
|
-
declare const index$
|
|
3588
|
-
declare const index$
|
|
3589
|
-
declare const index$
|
|
3590
|
-
declare const index$
|
|
3591
|
-
declare const index$
|
|
3871
|
+
type index$3_FeedbackAttachmentResponse = FeedbackAttachmentResponse;
|
|
3872
|
+
type index$3_FeedbackClient = FeedbackClient;
|
|
3873
|
+
declare const index$3_FeedbackClient: typeof FeedbackClient;
|
|
3874
|
+
type index$3_FeedbackDetailPayload = FeedbackDetailPayload;
|
|
3875
|
+
type index$3_FeedbackDetailRequest = FeedbackDetailRequest;
|
|
3876
|
+
type index$3_FeedbackDetailResponse = FeedbackDetailResponse;
|
|
3877
|
+
type index$3_FeedbackListPayload = FeedbackListPayload;
|
|
3878
|
+
type index$3_FeedbackListRequest = FeedbackListRequest;
|
|
3879
|
+
type index$3_FeedbackListResponse = FeedbackListResponse;
|
|
3880
|
+
type index$3_FeedbackSaasStatus = FeedbackSaasStatus;
|
|
3881
|
+
type index$3_FeedbackSource = FeedbackSource;
|
|
3882
|
+
type index$3_FeedbackSubmitError = FeedbackSubmitError;
|
|
3883
|
+
type index$3_FeedbackSubmitRequest = FeedbackSubmitRequest;
|
|
3884
|
+
type index$3_FeedbackSubmitResponse = FeedbackSubmitResponse;
|
|
3885
|
+
type index$3_FeedbackType = FeedbackType;
|
|
3886
|
+
declare const index$3_feedbackDetailPayloadSchema: typeof feedbackDetailPayloadSchema;
|
|
3887
|
+
declare const index$3_feedbackDetailRequestSchema: typeof feedbackDetailRequestSchema;
|
|
3888
|
+
declare const index$3_feedbackDetailResponseSchema: typeof feedbackDetailResponseSchema;
|
|
3889
|
+
declare const index$3_feedbackEndpoints: typeof feedbackEndpoints;
|
|
3890
|
+
declare const index$3_feedbackItemSchema: typeof feedbackItemSchema;
|
|
3891
|
+
declare const index$3_feedbackListPayloadSchema: typeof feedbackListPayloadSchema;
|
|
3892
|
+
declare const index$3_feedbackListRequestSchema: typeof feedbackListRequestSchema;
|
|
3893
|
+
declare const index$3_feedbackListResponseSchema: typeof feedbackListResponseSchema;
|
|
3894
|
+
declare const index$3_feedbackSaasStatusSchema: typeof feedbackSaasStatusSchema;
|
|
3895
|
+
declare const index$3_feedbackSourceSchema: typeof feedbackSourceSchema;
|
|
3896
|
+
declare const index$3_feedbackSubmitErrorSchema: typeof feedbackSubmitErrorSchema;
|
|
3897
|
+
declare const index$3_feedbackSubmitRequestSchema: typeof feedbackSubmitRequestSchema;
|
|
3898
|
+
declare const index$3_feedbackSubmitResponseSchema: typeof feedbackSubmitResponseSchema;
|
|
3899
|
+
declare const index$3_feedbackTypeSchema: typeof feedbackTypeSchema;
|
|
3900
|
+
declare namespace index$3 {
|
|
3901
|
+
export { type index$3_FeedbackAttachmentResponse as FeedbackAttachmentResponse, index$3_FeedbackClient as FeedbackClient, type index$3_FeedbackDetailPayload as FeedbackDetailPayload, type index$3_FeedbackDetailRequest as FeedbackDetailRequest, type index$3_FeedbackDetailResponse as FeedbackDetailResponse, type index$3_FeedbackListPayload as FeedbackListPayload, type index$3_FeedbackListRequest as FeedbackListRequest, type index$3_FeedbackListResponse as FeedbackListResponse, type index$3_FeedbackSaasStatus as FeedbackSaasStatus, type index$3_FeedbackSource as FeedbackSource, type index$3_FeedbackSubmitError as FeedbackSubmitError, type index$3_FeedbackSubmitRequest as FeedbackSubmitRequest, type index$3_FeedbackSubmitResponse as FeedbackSubmitResponse, type index$3_FeedbackType as FeedbackType, index$3_feedbackDetailPayloadSchema as feedbackDetailPayloadSchema, index$3_feedbackDetailRequestSchema as feedbackDetailRequestSchema, index$3_feedbackDetailResponseSchema as feedbackDetailResponseSchema, index$3_feedbackEndpoints as feedbackEndpoints, index$3_feedbackItemSchema as feedbackItemSchema, index$3_feedbackListPayloadSchema as feedbackListPayloadSchema, index$3_feedbackListRequestSchema as feedbackListRequestSchema, index$3_feedbackListResponseSchema as feedbackListResponseSchema, index$3_feedbackSaasStatusSchema as feedbackSaasStatusSchema, index$3_feedbackSourceSchema as feedbackSourceSchema, index$3_feedbackSubmitErrorSchema as feedbackSubmitErrorSchema, index$3_feedbackSubmitRequestSchema as feedbackSubmitRequestSchema, index$3_feedbackSubmitResponseSchema as feedbackSubmitResponseSchema, index$3_feedbackTypeSchema as feedbackTypeSchema };
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
/** Payment API endpoints. */
|
|
3905
|
+
declare const paymentEndpoints: {
|
|
3906
|
+
/** Create a subscription order. */
|
|
3907
|
+
readonly subscribe: Endpoint<{
|
|
3908
|
+
planCode: string;
|
|
3909
|
+
period: "monthly" | "yearly";
|
|
3910
|
+
}, {
|
|
3911
|
+
success: true;
|
|
3912
|
+
data: {
|
|
3913
|
+
orderId: string;
|
|
3914
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3915
|
+
};
|
|
3916
|
+
}>;
|
|
3917
|
+
/** Create a recharge (top-up) order. */
|
|
3918
|
+
readonly recharge: Endpoint<{
|
|
3919
|
+
amount: number;
|
|
3920
|
+
}, {
|
|
3921
|
+
success: true;
|
|
3922
|
+
data: {
|
|
3923
|
+
orderId: string;
|
|
3924
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3925
|
+
};
|
|
3926
|
+
}>;
|
|
3927
|
+
/** Create a plan upgrade order. */
|
|
3928
|
+
readonly upgrade: Endpoint<{
|
|
3929
|
+
newPlanCode: string;
|
|
3930
|
+
}, {
|
|
3931
|
+
success: true;
|
|
3932
|
+
data: {
|
|
3933
|
+
orderId: string;
|
|
3934
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3935
|
+
upgradePayable?: number | undefined;
|
|
3936
|
+
};
|
|
3937
|
+
}>;
|
|
3938
|
+
/** Request a refund for a payment order. */
|
|
3939
|
+
readonly refund: Endpoint<{
|
|
3940
|
+
orderId: string;
|
|
3941
|
+
reason?: string | undefined;
|
|
3942
|
+
}, {
|
|
3943
|
+
success: true;
|
|
3944
|
+
data: {
|
|
3945
|
+
refundAmount: number;
|
|
3946
|
+
};
|
|
3947
|
+
}>;
|
|
3948
|
+
};
|
|
3949
|
+
|
|
3950
|
+
type PaymentSdkHost = SdkHost<{
|
|
3951
|
+
payment: typeof paymentEndpoints;
|
|
3952
|
+
}>;
|
|
3953
|
+
declare class PaymentClient {
|
|
3954
|
+
/** SDK host used for payment requests. */
|
|
3955
|
+
private readonly sdk;
|
|
3956
|
+
/** Create payment client. */
|
|
3957
|
+
constructor(sdk: PaymentSdkHost);
|
|
3958
|
+
/** Create a subscription order. */
|
|
3959
|
+
subscribe(params: {
|
|
3960
|
+
planCode: string;
|
|
3961
|
+
period: "monthly" | "yearly";
|
|
3962
|
+
}): Promise<{
|
|
3963
|
+
success: true;
|
|
3964
|
+
data: {
|
|
3965
|
+
orderId: string;
|
|
3966
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3967
|
+
};
|
|
3968
|
+
}>;
|
|
3969
|
+
/** Create a recharge (top-up) order. */
|
|
3970
|
+
recharge(params: {
|
|
3971
|
+
amount: number;
|
|
3972
|
+
}): Promise<{
|
|
3973
|
+
success: true;
|
|
3974
|
+
data: {
|
|
3975
|
+
orderId: string;
|
|
3976
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3977
|
+
};
|
|
3978
|
+
}>;
|
|
3979
|
+
/** Create a plan upgrade order. */
|
|
3980
|
+
upgrade(params: {
|
|
3981
|
+
newPlanCode: string;
|
|
3982
|
+
}): Promise<{
|
|
3983
|
+
success: true;
|
|
3984
|
+
data: {
|
|
3985
|
+
orderId: string;
|
|
3986
|
+
providerData?: Record<string, unknown> | undefined;
|
|
3987
|
+
upgradePayable?: number | undefined;
|
|
3988
|
+
};
|
|
3989
|
+
}>;
|
|
3990
|
+
/** Query payment order status by ID. */
|
|
3991
|
+
getOrderStatus(orderId: string): Promise<{
|
|
3992
|
+
success: true;
|
|
3993
|
+
data: {
|
|
3994
|
+
[x: string]: unknown;
|
|
3995
|
+
id: string;
|
|
3996
|
+
type: "subscription" | "recharge" | "upgrade";
|
|
3997
|
+
status: "failed" | "pending" | "paid" | "refunded" | "closed";
|
|
3998
|
+
amount: number;
|
|
3999
|
+
paidAt?: string | null | undefined;
|
|
4000
|
+
providerData?: Record<string, unknown> | undefined;
|
|
4001
|
+
};
|
|
4002
|
+
}>;
|
|
4003
|
+
/** Request a refund for a payment order. */
|
|
4004
|
+
refund(params: {
|
|
4005
|
+
orderId: string;
|
|
4006
|
+
reason?: string;
|
|
4007
|
+
}): Promise<{
|
|
4008
|
+
success: true;
|
|
4009
|
+
data: {
|
|
4010
|
+
refundAmount: number;
|
|
4011
|
+
};
|
|
4012
|
+
}>;
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
/** Event types emitted by embed pages via postMessage. */
|
|
4016
|
+
type EmbedEventMap = {
|
|
4017
|
+
"openloaf:ready": undefined;
|
|
4018
|
+
"openloaf:payment.success": {
|
|
4019
|
+
orderId: string;
|
|
4020
|
+
};
|
|
4021
|
+
"openloaf:payment.cancel": undefined;
|
|
4022
|
+
"openloaf:close": undefined;
|
|
4023
|
+
};
|
|
4024
|
+
/** Options for creating an embed instance. */
|
|
4025
|
+
type CreateEmbedOptions = {
|
|
4026
|
+
/** CSS selector or HTMLElement for the iframe container. */
|
|
4027
|
+
container: string | HTMLElement;
|
|
4028
|
+
/** Base URL of the OpenLoaf web app (e.g. "https://app.openloaf.com"). */
|
|
4029
|
+
baseUrl: string;
|
|
4030
|
+
/** Access token for authentication. */
|
|
4031
|
+
token: string;
|
|
4032
|
+
/** Embed page type. */
|
|
4033
|
+
type: "pricing" | "recharge";
|
|
4034
|
+
/** Callback when payment succeeds. */
|
|
4035
|
+
onSuccess?: (data: {
|
|
4036
|
+
orderId: string;
|
|
4037
|
+
}) => void;
|
|
4038
|
+
/** Callback when user cancels. */
|
|
4039
|
+
onCancel?: () => void;
|
|
4040
|
+
/** Callback when user requests close. */
|
|
4041
|
+
onClose?: () => void;
|
|
4042
|
+
/** Callback when embed is ready. */
|
|
4043
|
+
onReady?: () => void;
|
|
4044
|
+
/** Custom iframe styles. */
|
|
4045
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
4046
|
+
};
|
|
4047
|
+
/** Embed instance returned by create functions. */
|
|
4048
|
+
type EmbedInstance = {
|
|
4049
|
+
/** The iframe element. */
|
|
4050
|
+
iframe: HTMLIFrameElement;
|
|
4051
|
+
/** Update the access token (e.g. after refresh). */
|
|
4052
|
+
updateToken: (token: string) => void;
|
|
4053
|
+
/** Destroy the embed and clean up listeners. */
|
|
4054
|
+
destroy: () => void;
|
|
4055
|
+
};
|
|
4056
|
+
/**
|
|
4057
|
+
* Create an embedded iframe for OpenLoaf payment pages.
|
|
4058
|
+
* Handles iframe creation, postMessage authentication, and event forwarding.
|
|
4059
|
+
*/
|
|
4060
|
+
declare function createEmbed(options: CreateEmbedOptions): EmbedInstance;
|
|
4061
|
+
/** Create an embedded pricing page. */
|
|
4062
|
+
declare function createPricingEmbed(options: Omit<CreateEmbedOptions, "type">): EmbedInstance;
|
|
4063
|
+
/** Create an embedded recharge page. */
|
|
4064
|
+
declare function createRechargeEmbed(options: Omit<CreateEmbedOptions, "type">): EmbedInstance;
|
|
4065
|
+
|
|
4066
|
+
/** Request schema for creating a subscription order. */
|
|
4067
|
+
declare const subscribeRequestSchema: z.ZodObject<{
|
|
4068
|
+
planCode: z.ZodString;
|
|
4069
|
+
period: z.ZodEnum<{
|
|
4070
|
+
monthly: "monthly";
|
|
4071
|
+
yearly: "yearly";
|
|
4072
|
+
}>;
|
|
4073
|
+
}, z.core.$strip>;
|
|
4074
|
+
/** Response schema for creating a subscription order. */
|
|
4075
|
+
declare const subscribeResponseSchema: z.ZodObject<{
|
|
4076
|
+
success: z.ZodLiteral<true>;
|
|
4077
|
+
data: z.ZodObject<{
|
|
4078
|
+
orderId: z.ZodString;
|
|
4079
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4080
|
+
}, z.core.$strip>;
|
|
4081
|
+
}, z.core.$strip>;
|
|
4082
|
+
/** Request schema for creating a recharge (top-up) order. */
|
|
4083
|
+
declare const rechargeRequestSchema: z.ZodObject<{
|
|
4084
|
+
amount: z.ZodNumber;
|
|
4085
|
+
}, z.core.$strip>;
|
|
4086
|
+
/** Response schema for creating a recharge order. */
|
|
4087
|
+
declare const rechargeResponseSchema: z.ZodObject<{
|
|
4088
|
+
success: z.ZodLiteral<true>;
|
|
4089
|
+
data: z.ZodObject<{
|
|
4090
|
+
orderId: z.ZodString;
|
|
4091
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4092
|
+
}, z.core.$strip>;
|
|
4093
|
+
}, z.core.$strip>;
|
|
4094
|
+
/** Request schema for creating a plan upgrade order. */
|
|
4095
|
+
declare const upgradeRequestSchema: z.ZodObject<{
|
|
4096
|
+
newPlanCode: z.ZodString;
|
|
4097
|
+
}, z.core.$strip>;
|
|
4098
|
+
/** Response schema for creating a plan upgrade order. */
|
|
4099
|
+
declare const upgradeResponseSchema: z.ZodObject<{
|
|
4100
|
+
success: z.ZodLiteral<true>;
|
|
4101
|
+
data: z.ZodObject<{
|
|
4102
|
+
orderId: z.ZodString;
|
|
4103
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4104
|
+
upgradePayable: z.ZodOptional<z.ZodNumber>;
|
|
4105
|
+
}, z.core.$strip>;
|
|
4106
|
+
}, z.core.$strip>;
|
|
4107
|
+
/** Request schema for querying order status (orderId is a path param). */
|
|
4108
|
+
declare const orderStatusRequestSchema: z.ZodVoid;
|
|
4109
|
+
/** Response schema for querying order status. */
|
|
4110
|
+
declare const orderStatusResponseSchema: z.ZodObject<{
|
|
4111
|
+
success: z.ZodLiteral<true>;
|
|
4112
|
+
data: z.ZodObject<{
|
|
4113
|
+
id: z.ZodString;
|
|
4114
|
+
type: z.ZodEnum<{
|
|
4115
|
+
subscription: "subscription";
|
|
4116
|
+
recharge: "recharge";
|
|
4117
|
+
upgrade: "upgrade";
|
|
4118
|
+
}>;
|
|
4119
|
+
status: z.ZodEnum<{
|
|
4120
|
+
failed: "failed";
|
|
4121
|
+
pending: "pending";
|
|
4122
|
+
paid: "paid";
|
|
4123
|
+
refunded: "refunded";
|
|
4124
|
+
closed: "closed";
|
|
4125
|
+
}>;
|
|
4126
|
+
amount: z.ZodNumber;
|
|
4127
|
+
paidAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4128
|
+
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4129
|
+
}, z.core.$loose>;
|
|
4130
|
+
}, z.core.$strip>;
|
|
4131
|
+
/** Request schema for requesting a refund. */
|
|
4132
|
+
declare const refundRequestSchema: z.ZodObject<{
|
|
4133
|
+
orderId: z.ZodString;
|
|
4134
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4135
|
+
}, z.core.$strip>;
|
|
4136
|
+
/** Response schema for requesting a refund. */
|
|
4137
|
+
declare const refundResponseSchema: z.ZodObject<{
|
|
4138
|
+
success: z.ZodLiteral<true>;
|
|
4139
|
+
data: z.ZodObject<{
|
|
4140
|
+
refundAmount: z.ZodNumber;
|
|
4141
|
+
}, z.core.$strip>;
|
|
4142
|
+
}, z.core.$strip>;
|
|
4143
|
+
/** Request type for creating a subscription order. */
|
|
4144
|
+
type SubscribeRequest = z.infer<typeof subscribeRequestSchema>;
|
|
4145
|
+
/** Response type for creating a subscription order. */
|
|
4146
|
+
type SubscribeResponse = z.infer<typeof subscribeResponseSchema>;
|
|
4147
|
+
/** Request type for creating a recharge order. */
|
|
4148
|
+
type RechargeRequest = z.infer<typeof rechargeRequestSchema>;
|
|
4149
|
+
/** Response type for creating a recharge order. */
|
|
4150
|
+
type RechargeResponse = z.infer<typeof rechargeResponseSchema>;
|
|
4151
|
+
/** Request type for creating a plan upgrade order. */
|
|
4152
|
+
type UpgradeRequest = z.infer<typeof upgradeRequestSchema>;
|
|
4153
|
+
/** Response type for creating a plan upgrade order. */
|
|
4154
|
+
type UpgradeResponse = z.infer<typeof upgradeResponseSchema>;
|
|
4155
|
+
/** Request type for querying order status. */
|
|
4156
|
+
type OrderStatusRequest = z.infer<typeof orderStatusRequestSchema>;
|
|
4157
|
+
/** Response type for querying order status. */
|
|
4158
|
+
type OrderStatusResponse = z.infer<typeof orderStatusResponseSchema>;
|
|
4159
|
+
/** Request type for requesting a refund. */
|
|
4160
|
+
type RefundRequest = z.infer<typeof refundRequestSchema>;
|
|
4161
|
+
/** Response type for requesting a refund. */
|
|
4162
|
+
type RefundResponse = z.infer<typeof refundResponseSchema>;
|
|
4163
|
+
|
|
4164
|
+
type index$2_CreateEmbedOptions = CreateEmbedOptions;
|
|
4165
|
+
type index$2_EmbedEventMap = EmbedEventMap;
|
|
4166
|
+
type index$2_EmbedInstance = EmbedInstance;
|
|
4167
|
+
type index$2_OrderStatusRequest = OrderStatusRequest;
|
|
4168
|
+
type index$2_OrderStatusResponse = OrderStatusResponse;
|
|
4169
|
+
type index$2_PaymentClient = PaymentClient;
|
|
4170
|
+
declare const index$2_PaymentClient: typeof PaymentClient;
|
|
4171
|
+
type index$2_RechargeRequest = RechargeRequest;
|
|
4172
|
+
type index$2_RechargeResponse = RechargeResponse;
|
|
4173
|
+
type index$2_RefundRequest = RefundRequest;
|
|
4174
|
+
type index$2_RefundResponse = RefundResponse;
|
|
4175
|
+
type index$2_SubscribeRequest = SubscribeRequest;
|
|
4176
|
+
type index$2_SubscribeResponse = SubscribeResponse;
|
|
4177
|
+
type index$2_UpgradeRequest = UpgradeRequest;
|
|
4178
|
+
type index$2_UpgradeResponse = UpgradeResponse;
|
|
4179
|
+
declare const index$2_createEmbed: typeof createEmbed;
|
|
4180
|
+
declare const index$2_createPricingEmbed: typeof createPricingEmbed;
|
|
4181
|
+
declare const index$2_createRechargeEmbed: typeof createRechargeEmbed;
|
|
4182
|
+
declare const index$2_orderStatusRequestSchema: typeof orderStatusRequestSchema;
|
|
4183
|
+
declare const index$2_orderStatusResponseSchema: typeof orderStatusResponseSchema;
|
|
4184
|
+
declare const index$2_paymentEndpoints: typeof paymentEndpoints;
|
|
4185
|
+
declare const index$2_rechargeRequestSchema: typeof rechargeRequestSchema;
|
|
4186
|
+
declare const index$2_rechargeResponseSchema: typeof rechargeResponseSchema;
|
|
4187
|
+
declare const index$2_refundRequestSchema: typeof refundRequestSchema;
|
|
4188
|
+
declare const index$2_refundResponseSchema: typeof refundResponseSchema;
|
|
4189
|
+
declare const index$2_subscribeRequestSchema: typeof subscribeRequestSchema;
|
|
4190
|
+
declare const index$2_subscribeResponseSchema: typeof subscribeResponseSchema;
|
|
4191
|
+
declare const index$2_upgradeRequestSchema: typeof upgradeRequestSchema;
|
|
4192
|
+
declare const index$2_upgradeResponseSchema: typeof upgradeResponseSchema;
|
|
3592
4193
|
declare namespace index$2 {
|
|
3593
|
-
export { type index$
|
|
4194
|
+
export { type index$2_CreateEmbedOptions as CreateEmbedOptions, type index$2_EmbedEventMap as EmbedEventMap, type index$2_EmbedInstance as EmbedInstance, type index$2_OrderStatusRequest as OrderStatusRequest, type index$2_OrderStatusResponse as OrderStatusResponse, index$2_PaymentClient as PaymentClient, type index$2_RechargeRequest as RechargeRequest, type index$2_RechargeResponse as RechargeResponse, type index$2_RefundRequest as RefundRequest, type index$2_RefundResponse as RefundResponse, type index$2_SubscribeRequest as SubscribeRequest, type index$2_SubscribeResponse as SubscribeResponse, type index$2_UpgradeRequest as UpgradeRequest, type index$2_UpgradeResponse as UpgradeResponse, index$2_createEmbed as createEmbed, index$2_createPricingEmbed as createPricingEmbed, index$2_createRechargeEmbed as createRechargeEmbed, index$2_orderStatusRequestSchema as orderStatusRequestSchema, index$2_orderStatusResponseSchema as orderStatusResponseSchema, index$2_paymentEndpoints as paymentEndpoints, index$2_rechargeRequestSchema as rechargeRequestSchema, index$2_rechargeResponseSchema as rechargeResponseSchema, index$2_refundRequestSchema as refundRequestSchema, index$2_refundResponseSchema as refundResponseSchema, index$2_subscribeRequestSchema as subscribeRequestSchema, index$2_subscribeResponseSchema as subscribeResponseSchema, index$2_upgradeRequestSchema as upgradeRequestSchema, index$2_upgradeResponseSchema as upgradeResponseSchema };
|
|
3594
4195
|
}
|
|
3595
4196
|
|
|
3596
4197
|
/** Skill market API endpoints. */
|
|
@@ -4014,7 +4615,7 @@ declare const userEndpoints: {
|
|
|
4014
4615
|
user: {
|
|
4015
4616
|
id: string;
|
|
4016
4617
|
provider: string;
|
|
4017
|
-
membershipLevel: "
|
|
4618
|
+
membershipLevel: "free" | "lite" | "pro" | "premium" | "infinity";
|
|
4018
4619
|
creditsBalance: number;
|
|
4019
4620
|
createdAt: string;
|
|
4020
4621
|
updatedAt: string;
|
|
@@ -4038,7 +4639,7 @@ declare class UserClient {
|
|
|
4038
4639
|
user: {
|
|
4039
4640
|
id: string;
|
|
4040
4641
|
provider: string;
|
|
4041
|
-
membershipLevel: "
|
|
4642
|
+
membershipLevel: "free" | "lite" | "pro" | "premium" | "infinity";
|
|
4042
4643
|
creditsBalance: number;
|
|
4043
4644
|
createdAt: string;
|
|
4044
4645
|
updatedAt: string;
|
|
@@ -4051,10 +4652,10 @@ declare class UserClient {
|
|
|
4051
4652
|
|
|
4052
4653
|
/** Membership level enum schema. */
|
|
4053
4654
|
declare const userMembershipLevelSchema: z.ZodEnum<{
|
|
4054
|
-
|
|
4655
|
+
free: "free";
|
|
4055
4656
|
lite: "lite";
|
|
4056
4657
|
pro: "pro";
|
|
4057
|
-
|
|
4658
|
+
premium: "premium";
|
|
4058
4659
|
infinity: "infinity";
|
|
4059
4660
|
}>;
|
|
4060
4661
|
/** Current user payload schema. */
|
|
@@ -4065,10 +4666,10 @@ declare const userSelfSchema: z.ZodObject<{
|
|
|
4065
4666
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4066
4667
|
provider: z.ZodString;
|
|
4067
4668
|
membershipLevel: z.ZodEnum<{
|
|
4068
|
-
|
|
4669
|
+
free: "free";
|
|
4069
4670
|
lite: "lite";
|
|
4070
4671
|
pro: "pro";
|
|
4071
|
-
|
|
4672
|
+
premium: "premium";
|
|
4072
4673
|
infinity: "infinity";
|
|
4073
4674
|
}>;
|
|
4074
4675
|
creditsBalance: z.ZodNumber;
|
|
@@ -4086,10 +4687,10 @@ declare const userSelfResponseSchema: z.ZodObject<{
|
|
|
4086
4687
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4087
4688
|
provider: z.ZodString;
|
|
4088
4689
|
membershipLevel: z.ZodEnum<{
|
|
4089
|
-
|
|
4690
|
+
free: "free";
|
|
4090
4691
|
lite: "lite";
|
|
4091
4692
|
pro: "pro";
|
|
4092
|
-
|
|
4693
|
+
premium: "premium";
|
|
4093
4694
|
infinity: "infinity";
|
|
4094
4695
|
}>;
|
|
4095
4696
|
creditsBalance: z.ZodNumber;
|
|
@@ -4135,6 +4736,8 @@ declare class SaaSClient extends BaseSaaSClient<SaaSContract> {
|
|
|
4135
4736
|
readonly auxiliary: AuxiliaryClient;
|
|
4136
4737
|
/** Feedback-related APIs. */
|
|
4137
4738
|
readonly feedback: FeedbackClient;
|
|
4739
|
+
/** Payment-related APIs. */
|
|
4740
|
+
readonly payment: PaymentClient;
|
|
4138
4741
|
/** Skill market APIs. */
|
|
4139
4742
|
readonly skills: SkillsClient;
|
|
4140
4743
|
/** User-related APIs. */
|
|
@@ -4184,4 +4787,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
4184
4787
|
transformer: false;
|
|
4185
4788
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
4186
4789
|
|
|
4187
|
-
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES,
|
|
4790
|
+
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3HandlerInput, type V3HandlerKey, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3Variant, V3_HANDLER_SCHEMAS, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$7 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$6 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$5 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$4 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$3 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paymentEndpoints, index$2 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3VariantSchema };
|