@openloaf-saas/sdk 0.1.22 → 0.1.23
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 +302 -11
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,18 @@ declare class SaaSContract {
|
|
|
174
174
|
creditsPerCall: number;
|
|
175
175
|
billingType: string;
|
|
176
176
|
minMembershipLevel: string;
|
|
177
|
+
maxBatchSize: number;
|
|
178
|
+
resourceConstraints: {
|
|
179
|
+
maxFileSize: number;
|
|
180
|
+
maxFiles: number;
|
|
181
|
+
acceptedFormats: string[];
|
|
182
|
+
requiresUpload: boolean;
|
|
183
|
+
maxResolution?: number | undefined;
|
|
184
|
+
precheck?: {
|
|
185
|
+
type: string;
|
|
186
|
+
description: string;
|
|
187
|
+
} | undefined;
|
|
188
|
+
} | null;
|
|
177
189
|
}[];
|
|
178
190
|
}[];
|
|
179
191
|
updatedAt?: string | undefined;
|
|
@@ -191,6 +203,18 @@ declare class SaaSContract {
|
|
|
191
203
|
creditsPerCall: number;
|
|
192
204
|
billingType: string;
|
|
193
205
|
minMembershipLevel: string;
|
|
206
|
+
maxBatchSize: number;
|
|
207
|
+
resourceConstraints: {
|
|
208
|
+
maxFileSize: number;
|
|
209
|
+
maxFiles: number;
|
|
210
|
+
acceptedFormats: string[];
|
|
211
|
+
requiresUpload: boolean;
|
|
212
|
+
maxResolution?: number | undefined;
|
|
213
|
+
precheck?: {
|
|
214
|
+
type: string;
|
|
215
|
+
description: string;
|
|
216
|
+
} | undefined;
|
|
217
|
+
} | null;
|
|
194
218
|
}[];
|
|
195
219
|
}[];
|
|
196
220
|
updatedAt?: string | undefined;
|
|
@@ -208,6 +232,18 @@ declare class SaaSContract {
|
|
|
208
232
|
creditsPerCall: number;
|
|
209
233
|
billingType: string;
|
|
210
234
|
minMembershipLevel: string;
|
|
235
|
+
maxBatchSize: number;
|
|
236
|
+
resourceConstraints: {
|
|
237
|
+
maxFileSize: number;
|
|
238
|
+
maxFiles: number;
|
|
239
|
+
acceptedFormats: string[];
|
|
240
|
+
requiresUpload: boolean;
|
|
241
|
+
maxResolution?: number | undefined;
|
|
242
|
+
precheck?: {
|
|
243
|
+
type: string;
|
|
244
|
+
description: string;
|
|
245
|
+
} | undefined;
|
|
246
|
+
} | null;
|
|
211
247
|
}[];
|
|
212
248
|
}[];
|
|
213
249
|
updatedAt?: string | undefined;
|
|
@@ -216,9 +252,10 @@ declare class SaaSContract {
|
|
|
216
252
|
readonly v3Generate: Endpoint<{
|
|
217
253
|
feature: string;
|
|
218
254
|
variant: string;
|
|
255
|
+
ticketId?: string | undefined;
|
|
219
256
|
inputs?: Record<string, unknown> | undefined;
|
|
220
257
|
params?: Record<string, unknown> | undefined;
|
|
221
|
-
count?:
|
|
258
|
+
count?: number | undefined;
|
|
222
259
|
seed?: number | undefined;
|
|
223
260
|
}, {
|
|
224
261
|
success: true;
|
|
@@ -279,6 +316,29 @@ declare class SaaSContract {
|
|
|
279
316
|
factors: Record<string, number>;
|
|
280
317
|
};
|
|
281
318
|
}>;
|
|
319
|
+
readonly v3Queue: Endpoint<{
|
|
320
|
+
feature: string;
|
|
321
|
+
variant: string;
|
|
322
|
+
count?: number | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
success: true;
|
|
325
|
+
data: {
|
|
326
|
+
ticketId: string;
|
|
327
|
+
position: number;
|
|
328
|
+
status: "failed" | "waiting" | "can_upload" | "ready" | "submitted" | "completed" | "expired";
|
|
329
|
+
};
|
|
330
|
+
}>;
|
|
331
|
+
readonly v3QueueCancel: (ticketId: string) => Endpoint<void, {
|
|
332
|
+
success: true;
|
|
333
|
+
message?: string | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
readonly v3Upload: Endpoint<void, {
|
|
336
|
+
success: true;
|
|
337
|
+
data: {
|
|
338
|
+
resourceId: string;
|
|
339
|
+
precheck: "passed" | "skipped";
|
|
340
|
+
};
|
|
341
|
+
}>;
|
|
282
342
|
};
|
|
283
343
|
/** AI tools endpoints. */
|
|
284
344
|
readonly aiTools: {
|
|
@@ -552,13 +612,14 @@ declare class SaaSContract {
|
|
|
552
612
|
user: {
|
|
553
613
|
id: string;
|
|
554
614
|
provider: string;
|
|
555
|
-
membershipLevel: "free" | "lite" | "pro" | "premium"
|
|
615
|
+
membershipLevel: "free" | "lite" | "pro" | "premium";
|
|
556
616
|
creditsBalance: number;
|
|
557
617
|
createdAt: string;
|
|
558
618
|
updatedAt: string;
|
|
559
619
|
email?: string | undefined;
|
|
560
620
|
name?: string | undefined;
|
|
561
621
|
avatarUrl?: string | undefined;
|
|
622
|
+
isInternal?: boolean | undefined;
|
|
562
623
|
};
|
|
563
624
|
}>;
|
|
564
625
|
};
|
|
@@ -780,6 +841,18 @@ declare const aiEndpoints: {
|
|
|
780
841
|
creditsPerCall: number;
|
|
781
842
|
billingType: string;
|
|
782
843
|
minMembershipLevel: string;
|
|
844
|
+
maxBatchSize: number;
|
|
845
|
+
resourceConstraints: {
|
|
846
|
+
maxFileSize: number;
|
|
847
|
+
maxFiles: number;
|
|
848
|
+
acceptedFormats: string[];
|
|
849
|
+
requiresUpload: boolean;
|
|
850
|
+
maxResolution?: number | undefined;
|
|
851
|
+
precheck?: {
|
|
852
|
+
type: string;
|
|
853
|
+
description: string;
|
|
854
|
+
} | undefined;
|
|
855
|
+
} | null;
|
|
783
856
|
}[];
|
|
784
857
|
}[];
|
|
785
858
|
updatedAt?: string | undefined;
|
|
@@ -798,6 +871,18 @@ declare const aiEndpoints: {
|
|
|
798
871
|
creditsPerCall: number;
|
|
799
872
|
billingType: string;
|
|
800
873
|
minMembershipLevel: string;
|
|
874
|
+
maxBatchSize: number;
|
|
875
|
+
resourceConstraints: {
|
|
876
|
+
maxFileSize: number;
|
|
877
|
+
maxFiles: number;
|
|
878
|
+
acceptedFormats: string[];
|
|
879
|
+
requiresUpload: boolean;
|
|
880
|
+
maxResolution?: number | undefined;
|
|
881
|
+
precheck?: {
|
|
882
|
+
type: string;
|
|
883
|
+
description: string;
|
|
884
|
+
} | undefined;
|
|
885
|
+
} | null;
|
|
801
886
|
}[];
|
|
802
887
|
}[];
|
|
803
888
|
updatedAt?: string | undefined;
|
|
@@ -816,6 +901,18 @@ declare const aiEndpoints: {
|
|
|
816
901
|
creditsPerCall: number;
|
|
817
902
|
billingType: string;
|
|
818
903
|
minMembershipLevel: string;
|
|
904
|
+
maxBatchSize: number;
|
|
905
|
+
resourceConstraints: {
|
|
906
|
+
maxFileSize: number;
|
|
907
|
+
maxFiles: number;
|
|
908
|
+
acceptedFormats: string[];
|
|
909
|
+
requiresUpload: boolean;
|
|
910
|
+
maxResolution?: number | undefined;
|
|
911
|
+
precheck?: {
|
|
912
|
+
type: string;
|
|
913
|
+
description: string;
|
|
914
|
+
} | undefined;
|
|
915
|
+
} | null;
|
|
819
916
|
}[];
|
|
820
917
|
}[];
|
|
821
918
|
updatedAt?: string | undefined;
|
|
@@ -825,9 +922,10 @@ declare const aiEndpoints: {
|
|
|
825
922
|
readonly v3Generate: Endpoint<{
|
|
826
923
|
feature: string;
|
|
827
924
|
variant: string;
|
|
925
|
+
ticketId?: string | undefined;
|
|
828
926
|
inputs?: Record<string, unknown> | undefined;
|
|
829
927
|
params?: Record<string, unknown> | undefined;
|
|
830
|
-
count?:
|
|
928
|
+
count?: number | undefined;
|
|
831
929
|
seed?: number | undefined;
|
|
832
930
|
}, {
|
|
833
931
|
success: true;
|
|
@@ -892,6 +990,32 @@ declare const aiEndpoints: {
|
|
|
892
990
|
factors: Record<string, number>;
|
|
893
991
|
};
|
|
894
992
|
}>;
|
|
993
|
+
/** Queue a media generation ticket. */
|
|
994
|
+
readonly v3Queue: Endpoint<{
|
|
995
|
+
feature: string;
|
|
996
|
+
variant: string;
|
|
997
|
+
count?: number | undefined;
|
|
998
|
+
}, {
|
|
999
|
+
success: true;
|
|
1000
|
+
data: {
|
|
1001
|
+
ticketId: string;
|
|
1002
|
+
position: number;
|
|
1003
|
+
status: "failed" | "waiting" | "can_upload" | "ready" | "submitted" | "completed" | "expired";
|
|
1004
|
+
};
|
|
1005
|
+
}>;
|
|
1006
|
+
/** Cancel a queue ticket. */
|
|
1007
|
+
readonly v3QueueCancel: (ticketId: string) => Endpoint<void, {
|
|
1008
|
+
success: true;
|
|
1009
|
+
message?: string | undefined;
|
|
1010
|
+
}>;
|
|
1011
|
+
/** Upload resource for a queued ticket (multipart, not JSON endpoint). */
|
|
1012
|
+
readonly v3Upload: Endpoint<void, {
|
|
1013
|
+
success: true;
|
|
1014
|
+
data: {
|
|
1015
|
+
resourceId: string;
|
|
1016
|
+
precheck: "passed" | "skipped";
|
|
1017
|
+
};
|
|
1018
|
+
}>;
|
|
895
1019
|
};
|
|
896
1020
|
|
|
897
1021
|
/** Optional client metadata shared by OpenAI-compatible chat requests. */
|
|
@@ -1628,6 +1752,18 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
1628
1752
|
creditsPerCall: z.ZodNumber;
|
|
1629
1753
|
billingType: z.ZodString;
|
|
1630
1754
|
minMembershipLevel: z.ZodString;
|
|
1755
|
+
maxBatchSize: z.ZodNumber;
|
|
1756
|
+
resourceConstraints: z.ZodNullable<z.ZodObject<{
|
|
1757
|
+
maxFileSize: z.ZodNumber;
|
|
1758
|
+
maxFiles: z.ZodNumber;
|
|
1759
|
+
acceptedFormats: z.ZodArray<z.ZodString>;
|
|
1760
|
+
maxResolution: z.ZodOptional<z.ZodNumber>;
|
|
1761
|
+
requiresUpload: z.ZodBoolean;
|
|
1762
|
+
precheck: z.ZodOptional<z.ZodObject<{
|
|
1763
|
+
type: z.ZodString;
|
|
1764
|
+
description: z.ZodString;
|
|
1765
|
+
}, z.core.$strip>>;
|
|
1766
|
+
}, z.core.$strip>>;
|
|
1631
1767
|
}, z.core.$strip>;
|
|
1632
1768
|
/** Feature entry within a capabilities response. */
|
|
1633
1769
|
declare const v3FeatureSchema: z.ZodObject<{
|
|
@@ -1638,6 +1774,18 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
1638
1774
|
creditsPerCall: z.ZodNumber;
|
|
1639
1775
|
billingType: z.ZodString;
|
|
1640
1776
|
minMembershipLevel: z.ZodString;
|
|
1777
|
+
maxBatchSize: z.ZodNumber;
|
|
1778
|
+
resourceConstraints: z.ZodNullable<z.ZodObject<{
|
|
1779
|
+
maxFileSize: z.ZodNumber;
|
|
1780
|
+
maxFiles: z.ZodNumber;
|
|
1781
|
+
acceptedFormats: z.ZodArray<z.ZodString>;
|
|
1782
|
+
maxResolution: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
+
requiresUpload: z.ZodBoolean;
|
|
1784
|
+
precheck: z.ZodOptional<z.ZodObject<{
|
|
1785
|
+
type: z.ZodString;
|
|
1786
|
+
description: z.ZodString;
|
|
1787
|
+
}, z.core.$strip>>;
|
|
1788
|
+
}, z.core.$strip>>;
|
|
1641
1789
|
}, z.core.$strip>>;
|
|
1642
1790
|
}, z.core.$strip>;
|
|
1643
1791
|
/** Capabilities data payload for a single media category. */
|
|
@@ -1651,6 +1799,18 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
1651
1799
|
creditsPerCall: z.ZodNumber;
|
|
1652
1800
|
billingType: z.ZodString;
|
|
1653
1801
|
minMembershipLevel: z.ZodString;
|
|
1802
|
+
maxBatchSize: z.ZodNumber;
|
|
1803
|
+
resourceConstraints: z.ZodNullable<z.ZodObject<{
|
|
1804
|
+
maxFileSize: z.ZodNumber;
|
|
1805
|
+
maxFiles: z.ZodNumber;
|
|
1806
|
+
acceptedFormats: z.ZodArray<z.ZodString>;
|
|
1807
|
+
maxResolution: z.ZodOptional<z.ZodNumber>;
|
|
1808
|
+
requiresUpload: z.ZodBoolean;
|
|
1809
|
+
precheck: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
type: z.ZodString;
|
|
1811
|
+
description: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>>;
|
|
1813
|
+
}, z.core.$strip>>;
|
|
1654
1814
|
}, z.core.$strip>>;
|
|
1655
1815
|
}, z.core.$strip>>;
|
|
1656
1816
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1668,6 +1828,18 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
1668
1828
|
creditsPerCall: z.ZodNumber;
|
|
1669
1829
|
billingType: z.ZodString;
|
|
1670
1830
|
minMembershipLevel: z.ZodString;
|
|
1831
|
+
maxBatchSize: z.ZodNumber;
|
|
1832
|
+
resourceConstraints: z.ZodNullable<z.ZodObject<{
|
|
1833
|
+
maxFileSize: z.ZodNumber;
|
|
1834
|
+
maxFiles: z.ZodNumber;
|
|
1835
|
+
acceptedFormats: z.ZodArray<z.ZodString>;
|
|
1836
|
+
maxResolution: z.ZodOptional<z.ZodNumber>;
|
|
1837
|
+
requiresUpload: z.ZodBoolean;
|
|
1838
|
+
precheck: z.ZodOptional<z.ZodObject<{
|
|
1839
|
+
type: z.ZodString;
|
|
1840
|
+
description: z.ZodString;
|
|
1841
|
+
}, z.core.$strip>>;
|
|
1842
|
+
}, z.core.$strip>>;
|
|
1671
1843
|
}, z.core.$strip>>;
|
|
1672
1844
|
}, z.core.$strip>>;
|
|
1673
1845
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1677,9 +1849,10 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
1677
1849
|
declare const v3GenerateRequestSchema: z.ZodObject<{
|
|
1678
1850
|
feature: z.ZodString;
|
|
1679
1851
|
variant: z.ZodString;
|
|
1852
|
+
ticketId: z.ZodOptional<z.ZodString>;
|
|
1680
1853
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1681
1854
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1682
|
-
count: z.ZodOptional<z.
|
|
1855
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1683
1856
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1684
1857
|
}, z.core.$strip>;
|
|
1685
1858
|
/** Individual task item within a v3 response. */
|
|
@@ -1791,6 +1964,54 @@ declare const v3EstimatePriceResponseSchema: z.ZodObject<{
|
|
|
1791
1964
|
factors: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
1792
1965
|
}, z.core.$strip>;
|
|
1793
1966
|
}, z.core.$strip>;
|
|
1967
|
+
/** v3 queue request body. */
|
|
1968
|
+
declare const v3QueueRequestSchema: z.ZodObject<{
|
|
1969
|
+
feature: z.ZodString;
|
|
1970
|
+
variant: z.ZodString;
|
|
1971
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1972
|
+
}, z.core.$strip>;
|
|
1973
|
+
/** Queue ticket status. */
|
|
1974
|
+
declare const v3QueueTicketSchema: z.ZodObject<{
|
|
1975
|
+
ticketId: z.ZodString;
|
|
1976
|
+
position: z.ZodNumber;
|
|
1977
|
+
status: z.ZodEnum<{
|
|
1978
|
+
failed: "failed";
|
|
1979
|
+
waiting: "waiting";
|
|
1980
|
+
can_upload: "can_upload";
|
|
1981
|
+
ready: "ready";
|
|
1982
|
+
submitted: "submitted";
|
|
1983
|
+
completed: "completed";
|
|
1984
|
+
expired: "expired";
|
|
1985
|
+
}>;
|
|
1986
|
+
}, z.core.$strip>;
|
|
1987
|
+
/** Successful queue response. */
|
|
1988
|
+
declare const v3QueueResponseSchema: z.ZodObject<{
|
|
1989
|
+
success: z.ZodLiteral<true>;
|
|
1990
|
+
data: z.ZodObject<{
|
|
1991
|
+
ticketId: z.ZodString;
|
|
1992
|
+
position: z.ZodNumber;
|
|
1993
|
+
status: z.ZodEnum<{
|
|
1994
|
+
failed: "failed";
|
|
1995
|
+
waiting: "waiting";
|
|
1996
|
+
can_upload: "can_upload";
|
|
1997
|
+
ready: "ready";
|
|
1998
|
+
submitted: "submitted";
|
|
1999
|
+
completed: "completed";
|
|
2000
|
+
expired: "expired";
|
|
2001
|
+
}>;
|
|
2002
|
+
}, z.core.$strip>;
|
|
2003
|
+
}, z.core.$strip>;
|
|
2004
|
+
/** Upload response data. */
|
|
2005
|
+
declare const v3UploadResponseSchema: z.ZodObject<{
|
|
2006
|
+
success: z.ZodLiteral<true>;
|
|
2007
|
+
data: z.ZodObject<{
|
|
2008
|
+
resourceId: z.ZodString;
|
|
2009
|
+
precheck: z.ZodEnum<{
|
|
2010
|
+
passed: "passed";
|
|
2011
|
+
skipped: "skipped";
|
|
2012
|
+
}>;
|
|
2013
|
+
}, z.core.$strip>;
|
|
2014
|
+
}, z.core.$strip>;
|
|
1794
2015
|
/** Variant within a v3 feature. */
|
|
1795
2016
|
type V3Variant = z.infer<typeof v3VariantSchema>;
|
|
1796
2017
|
/** Feature entry within a capabilities response. */
|
|
@@ -1817,6 +2038,14 @@ type V3EstimatePriceRequest = z.infer<typeof v3EstimatePriceRequestSchema>;
|
|
|
1817
2038
|
type V3CreditEstimate = z.infer<typeof v3CreditEstimateSchema>;
|
|
1818
2039
|
/** Successful estimate price response. */
|
|
1819
2040
|
type V3EstimatePriceResponse = z.infer<typeof v3EstimatePriceResponseSchema>;
|
|
2041
|
+
/** Queue request. */
|
|
2042
|
+
type V3QueueRequest = z.infer<typeof v3QueueRequestSchema>;
|
|
2043
|
+
/** Queue ticket. */
|
|
2044
|
+
type V3QueueTicket = z.infer<typeof v3QueueTicketSchema>;
|
|
2045
|
+
/** Queue response. */
|
|
2046
|
+
type V3QueueResponse = z.infer<typeof v3QueueResponseSchema>;
|
|
2047
|
+
/** Upload response. */
|
|
2048
|
+
type V3UploadResponse = z.infer<typeof v3UploadResponseSchema>;
|
|
1820
2049
|
|
|
1821
2050
|
type AiSdkHost = SdkHost<{
|
|
1822
2051
|
ai: typeof aiEndpoints;
|
|
@@ -1972,6 +2201,18 @@ declare class AiClient {
|
|
|
1972
2201
|
creditsPerCall: number;
|
|
1973
2202
|
billingType: string;
|
|
1974
2203
|
minMembershipLevel: string;
|
|
2204
|
+
maxBatchSize: number;
|
|
2205
|
+
resourceConstraints: {
|
|
2206
|
+
maxFileSize: number;
|
|
2207
|
+
maxFiles: number;
|
|
2208
|
+
acceptedFormats: string[];
|
|
2209
|
+
requiresUpload: boolean;
|
|
2210
|
+
maxResolution?: number | undefined;
|
|
2211
|
+
precheck?: {
|
|
2212
|
+
type: string;
|
|
2213
|
+
description: string;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
} | null;
|
|
1975
2216
|
}[];
|
|
1976
2217
|
}[];
|
|
1977
2218
|
updatedAt?: string | undefined;
|
|
@@ -1990,6 +2231,18 @@ declare class AiClient {
|
|
|
1990
2231
|
creditsPerCall: number;
|
|
1991
2232
|
billingType: string;
|
|
1992
2233
|
minMembershipLevel: string;
|
|
2234
|
+
maxBatchSize: number;
|
|
2235
|
+
resourceConstraints: {
|
|
2236
|
+
maxFileSize: number;
|
|
2237
|
+
maxFiles: number;
|
|
2238
|
+
acceptedFormats: string[];
|
|
2239
|
+
requiresUpload: boolean;
|
|
2240
|
+
maxResolution?: number | undefined;
|
|
2241
|
+
precheck?: {
|
|
2242
|
+
type: string;
|
|
2243
|
+
description: string;
|
|
2244
|
+
} | undefined;
|
|
2245
|
+
} | null;
|
|
1993
2246
|
}[];
|
|
1994
2247
|
}[];
|
|
1995
2248
|
updatedAt?: string | undefined;
|
|
@@ -2008,6 +2261,18 @@ declare class AiClient {
|
|
|
2008
2261
|
creditsPerCall: number;
|
|
2009
2262
|
billingType: string;
|
|
2010
2263
|
minMembershipLevel: string;
|
|
2264
|
+
maxBatchSize: number;
|
|
2265
|
+
resourceConstraints: {
|
|
2266
|
+
maxFileSize: number;
|
|
2267
|
+
maxFiles: number;
|
|
2268
|
+
acceptedFormats: string[];
|
|
2269
|
+
requiresUpload: boolean;
|
|
2270
|
+
maxResolution?: number | undefined;
|
|
2271
|
+
precheck?: {
|
|
2272
|
+
type: string;
|
|
2273
|
+
description: string;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
} | null;
|
|
2011
2276
|
}[];
|
|
2012
2277
|
}[];
|
|
2013
2278
|
updatedAt?: string | undefined;
|
|
@@ -2065,6 +2330,23 @@ declare class AiClient {
|
|
|
2065
2330
|
}>;
|
|
2066
2331
|
/** Estimate credits for a v3 generate request. */
|
|
2067
2332
|
v3EstimatePrice(req: V3EstimatePriceRequest): Promise<V3EstimatePriceResponse>;
|
|
2333
|
+
/** Queue a media generation ticket. */
|
|
2334
|
+
v3Queue(payload: V3QueueRequest): Promise<V3QueueResponse>;
|
|
2335
|
+
/** Cancel a queue ticket. */
|
|
2336
|
+
v3QueueCancel(ticketId: string): Promise<{
|
|
2337
|
+
success: true;
|
|
2338
|
+
message?: string | undefined;
|
|
2339
|
+
}>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Upload resource for a queued ticket.
|
|
2342
|
+
* 关键逻辑:文件上传使用 multipart/form-data,不走 JSON Endpoint 系统。
|
|
2343
|
+
*/
|
|
2344
|
+
v3Upload(ticketId: string, variant: string, file: File | Blob, filename?: string): Promise<V3UploadResponse>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Connect to queue SSE events.
|
|
2347
|
+
* 返回 EventSource 实例,调用方自行处理事件和关闭。
|
|
2348
|
+
*/
|
|
2349
|
+
v3QueueEvents(ticketId: string): EventSource;
|
|
2068
2350
|
}
|
|
2069
2351
|
|
|
2070
2352
|
declare const AI_MODEL_TAGS: readonly ["image_generation", "image_multi_input", "image_input", "image_multi_generation", "image_edit", "video_generation", "audio_tts", "media:imageGenerate", "media:poster", "media:imageEdit", "media:upscale", "media:outpaint", "media:matting", "media:videoGenerate", "media:videoEdit", "media:digitalHuman", "media:motionTransfer", "media:tts", "media:music", "media:sfx", "chat", "reasoning", "tool_call", "image_analysis", "video_analysis", "audio_analysis", "code"];
|
|
@@ -2561,10 +2843,14 @@ type index$7_V3EstimatePriceRequest = V3EstimatePriceRequest;
|
|
|
2561
2843
|
type index$7_V3EstimatePriceResponse = V3EstimatePriceResponse;
|
|
2562
2844
|
type index$7_V3Feature = V3Feature;
|
|
2563
2845
|
type index$7_V3GenerateRequest = V3GenerateRequest;
|
|
2846
|
+
type index$7_V3QueueRequest = V3QueueRequest;
|
|
2847
|
+
type index$7_V3QueueResponse = V3QueueResponse;
|
|
2848
|
+
type index$7_V3QueueTicket = V3QueueTicket;
|
|
2564
2849
|
type index$7_V3TaskCreated = V3TaskCreated;
|
|
2565
2850
|
type index$7_V3TaskGroupResponse = V3TaskGroupResponse;
|
|
2566
2851
|
type index$7_V3TaskItem = V3TaskItem;
|
|
2567
2852
|
type index$7_V3TaskResponse = V3TaskResponse;
|
|
2853
|
+
type index$7_V3UploadResponse = V3UploadResponse;
|
|
2568
2854
|
type index$7_V3Variant = V3Variant;
|
|
2569
2855
|
declare const index$7_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
2570
2856
|
declare const index$7_aiChatModelSchema: typeof aiChatModelSchema;
|
|
@@ -2601,13 +2887,17 @@ declare const index$7_v3EstimatePriceRequestSchema: typeof v3EstimatePriceReques
|
|
|
2601
2887
|
declare const index$7_v3EstimatePriceResponseSchema: typeof v3EstimatePriceResponseSchema;
|
|
2602
2888
|
declare const index$7_v3FeatureSchema: typeof v3FeatureSchema;
|
|
2603
2889
|
declare const index$7_v3GenerateRequestSchema: typeof v3GenerateRequestSchema;
|
|
2890
|
+
declare const index$7_v3QueueRequestSchema: typeof v3QueueRequestSchema;
|
|
2891
|
+
declare const index$7_v3QueueResponseSchema: typeof v3QueueResponseSchema;
|
|
2892
|
+
declare const index$7_v3QueueTicketSchema: typeof v3QueueTicketSchema;
|
|
2604
2893
|
declare const index$7_v3TaskCreatedSchema: typeof v3TaskCreatedSchema;
|
|
2605
2894
|
declare const index$7_v3TaskGroupResponseSchema: typeof v3TaskGroupResponseSchema;
|
|
2606
2895
|
declare const index$7_v3TaskItemSchema: typeof v3TaskItemSchema;
|
|
2607
2896
|
declare const index$7_v3TaskResponseSchema: typeof v3TaskResponseSchema;
|
|
2897
|
+
declare const index$7_v3UploadResponseSchema: typeof v3UploadResponseSchema;
|
|
2608
2898
|
declare const index$7_v3VariantSchema: typeof v3VariantSchema;
|
|
2609
2899
|
declare namespace index$7 {
|
|
2610
|
-
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_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_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 };
|
|
2900
|
+
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_V3QueueRequest as V3QueueRequest, type index$7_V3QueueResponse as V3QueueResponse, type index$7_V3QueueTicket as V3QueueTicket, 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_V3UploadResponse as V3UploadResponse, type index$7_V3Variant as V3Variant, 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_v3QueueRequestSchema as v3QueueRequestSchema, index$7_v3QueueResponseSchema as v3QueueResponseSchema, index$7_v3QueueTicketSchema as v3QueueTicketSchema, index$7_v3TaskCreatedSchema as v3TaskCreatedSchema, index$7_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$7_v3TaskItemSchema as v3TaskItemSchema, index$7_v3TaskResponseSchema as v3TaskResponseSchema, index$7_v3UploadResponseSchema as v3UploadResponseSchema, index$7_v3VariantSchema as v3VariantSchema };
|
|
2611
2901
|
}
|
|
2612
2902
|
|
|
2613
2903
|
declare const aiToolsEndpoints: {
|
|
@@ -4161,13 +4451,14 @@ declare const userEndpoints: {
|
|
|
4161
4451
|
user: {
|
|
4162
4452
|
id: string;
|
|
4163
4453
|
provider: string;
|
|
4164
|
-
membershipLevel: "free" | "lite" | "pro" | "premium"
|
|
4454
|
+
membershipLevel: "free" | "lite" | "pro" | "premium";
|
|
4165
4455
|
creditsBalance: number;
|
|
4166
4456
|
createdAt: string;
|
|
4167
4457
|
updatedAt: string;
|
|
4168
4458
|
email?: string | undefined;
|
|
4169
4459
|
name?: string | undefined;
|
|
4170
4460
|
avatarUrl?: string | undefined;
|
|
4461
|
+
isInternal?: boolean | undefined;
|
|
4171
4462
|
};
|
|
4172
4463
|
}>;
|
|
4173
4464
|
};
|
|
@@ -4185,13 +4476,14 @@ declare class UserClient {
|
|
|
4185
4476
|
user: {
|
|
4186
4477
|
id: string;
|
|
4187
4478
|
provider: string;
|
|
4188
|
-
membershipLevel: "free" | "lite" | "pro" | "premium"
|
|
4479
|
+
membershipLevel: "free" | "lite" | "pro" | "premium";
|
|
4189
4480
|
creditsBalance: number;
|
|
4190
4481
|
createdAt: string;
|
|
4191
4482
|
updatedAt: string;
|
|
4192
4483
|
email?: string | undefined;
|
|
4193
4484
|
name?: string | undefined;
|
|
4194
4485
|
avatarUrl?: string | undefined;
|
|
4486
|
+
isInternal?: boolean | undefined;
|
|
4195
4487
|
};
|
|
4196
4488
|
}>;
|
|
4197
4489
|
}
|
|
@@ -4202,7 +4494,6 @@ declare const userMembershipLevelSchema: z.ZodEnum<{
|
|
|
4202
4494
|
lite: "lite";
|
|
4203
4495
|
pro: "pro";
|
|
4204
4496
|
premium: "premium";
|
|
4205
|
-
infinity: "infinity";
|
|
4206
4497
|
}>;
|
|
4207
4498
|
/** Current user payload schema. */
|
|
4208
4499
|
declare const userSelfSchema: z.ZodObject<{
|
|
@@ -4216,8 +4507,8 @@ declare const userSelfSchema: z.ZodObject<{
|
|
|
4216
4507
|
lite: "lite";
|
|
4217
4508
|
pro: "pro";
|
|
4218
4509
|
premium: "premium";
|
|
4219
|
-
infinity: "infinity";
|
|
4220
4510
|
}>;
|
|
4511
|
+
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
4221
4512
|
creditsBalance: z.ZodNumber;
|
|
4222
4513
|
createdAt: z.ZodString;
|
|
4223
4514
|
updatedAt: z.ZodString;
|
|
@@ -4237,8 +4528,8 @@ declare const userSelfResponseSchema: z.ZodObject<{
|
|
|
4237
4528
|
lite: "lite";
|
|
4238
4529
|
pro: "pro";
|
|
4239
4530
|
premium: "premium";
|
|
4240
|
-
infinity: "infinity";
|
|
4241
4531
|
}>;
|
|
4532
|
+
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
4242
4533
|
creditsBalance: z.ZodNumber;
|
|
4243
4534
|
createdAt: z.ZodString;
|
|
4244
4535
|
updatedAt: z.ZodString;
|
|
@@ -4333,4 +4624,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
4333
4624
|
transformer: false;
|
|
4334
4625
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
4335
4626
|
|
|
4336
|
-
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 V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3Variant, 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 };
|
|
4627
|
+
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 V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3UploadResponse, type V3Variant, 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, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|